id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2406.01775v1
http://arxiv.org/pdf/2406.01775v1
OLoRA: Orthonormal Low-Rank Adaptation of Large Language Models
2024-06-03T20:37:27
2024-06-03T20:37:27
Kerim Büyükakyüz
cs.CL
cs.CL
The advent of large language models (LLMs) has revolutionized natural language processing, enabling unprecedented capabilities in understanding and generating human-like text. However, the computational cost and convergence times associated with fine-tuning these models remain significant challenges. Low-Rank Adaptation (LoRA) has emerged as a promising method to mitigate these issues by introducing efficient fine-tuning techniques with a reduced number of trainable parameters. In this paper, we present OLoRA, an enhancement to the LoRA method that leverages orthonormal matrix initialization through QR decomposition. OLoRA significantly accelerates the convergence of LLM training while preserving the efficiency benefits of LoRA, such as the number of trainable parameters and GPU memory footprint. Our empirical evaluations demonstrate that OLoRA not only converges faster but also exhibits improved performance compared to standard LoRA across a variety of language modeling tasks. This advancement opens new avenues for more efficient and accessible fine-tuning of LLMs, potentially enabling broader adoption and innovation in natural language applications.
[ -0.24845212697982788, -0.9593750834465027, 0.4744207262992859, -0.14774177968502045, -0.18797747790813446, 0.07560756802558899, -0.49277740716934204, -0.29362931847572327, -0.16227327287197113, 0.4768065810203552, -0.31919732689857483, -0.6447721719741821, -0.4447527527809143, -0.08768114447593689, -0.14361070096492767, 0.9422580599784851, 0.2169472724199295, -0.16563400626182556, 0.11658794432878494, -0.35616129636764526, -0.2846413850784302, -0.14750604331493378, -0.885935366153717, -0.03249610960483551, 0.659311830997467, 0.7215467691421509, 0.6697904467582703, 0.8376757502555847, 0.31892216205596924, 0.3282650411128998, -0.11253677308559418, 0.20849119126796722, -1.0062683820724487, 0.385966956615448, 0.09228537976741791, -0.60489821434021, -0.8574069738388062, -0.36851072311401367, 1.1157938241958618, 0.8165194988250732, -0.2731422483921051, 0.5155714154243469, 0.20218008756637573, 0.8336228728294373, -1.185874342918396, -0.022370582446455956, -0.5689281821250916, -0.13960249722003937, -0.2653779089450836, -0.22922177612781525, -0.2502375841140747, -0.4617233872413635, -0.1349092274904251, -0.7184452414512634, -0.22202199697494507, 0.2804582715034485, 0.3207094073295593, 0.539016842842102, 0.0279205534607172, 0.026910487562417984, -0.8866804242134094, 0.7793439030647278, -0.6801102161407471, 0.5068566799163818, 0.1889200061559677, 0.4224165976047516, -0.24977579712867737, -0.3704758584499359, -0.5491246581077576, -0.09421411901712418, 0.3627004325389862, -0.054139621555805206, -0.4740428626537323, -0.1307755410671234, 0.20325572788715363, 0.5159720182418823, -0.48154860734939575, 0.5395050644874573, -0.33593517541885376, 0.41405269503593445, 0.20810116827487946, 0.22724488377571106, 0.15898215770721436, 0.021770548075437546, -0.08198520541191101, -0.38206717371940613, -0.6289476752281189, 0.12063208967447281, 0.21948961913585663, 0.6689330339431763, -0.1921139508485794, 0.44059309363365173, -0.27789387106895447, 0.5369859337806702, 0.07387187331914902, -0.5802012085914612, 0.07087541371583939, -0.024449683725833893, -0.4321475327014923, 0.25427260994911194, 0.5910376310348511, -0.012790394015610218, -0.03284697234630585, -0.09217575192451477, -0.12712904810905457, 0.06305304914712906, 0.0007955258479341865, -1.0235302448272705, -0.16582784056663513, 0.007056556176394224, -0.47875985503196716, -0.12836214900016785, -0.19844716787338257, -0.9582843780517578, -0.6443649530410767, -0.15682663023471832, 0.6289198398590088, -0.42855721712112427, -0.03081491030752659, 0.43643879890441895, 0.23423190414905548, 0.2634311020374298, 0.5251713991165161, -0.9113817811012268, 0.5524711608886719, 0.6185141205787659, 0.6024466156959534, -0.3269925117492676, -0.13840855658054352, -1.2079886198043823, -0.08993574231863022, -0.45930925011634827, 0.6870392560958862, -0.38949063420295715, -0.20627419650554657, 0.03623088821768761, -0.337569922208786, -0.1159268468618393, -0.6072094440460205, 0.5760211944580078, -0.745373547077179, 0.15053002536296844, 0.0014356353785842657, 0.09575092792510986, 0.1332465559244156, 0.022228270769119263, -0.6002541184425354, 1.2928723096847534, 0.3111223876476288, -0.5502968430519104, 0.25147387385368347, -0.9677649140357971, -0.4019906520843506, -0.1030585989356041, 0.17763368785381317, -0.5278472304344177, 0.27848705649375916, 0.35633930563926697, 0.19807402789592743, -0.5955875515937805, -0.5783957839012146, -0.44484373927116394, -0.4173720180988312, 0.1569468080997467, 0.08438340574502945, 0.7426958084106445, 0.16635510325431824, -0.09521719813346863, 0.2404676228761673, -1.2437024116516113, -0.03498294949531555, 0.27951720356941223, -0.40067481994628906, -0.6818764209747314, -0.18041346967220306, 0.014142635278403759, -0.2292211800813675, 0.21850982308387756, -0.41031670570373535, 0.25939589738845825, -0.5311960577964783, 0.5997560620307922, 0.6601060628890991, -0.25745806097984314, 0.8741250038146973, -0.18266595900058746, 0.600166380405426, -0.2067163586616516, 0.008651459589600563, 0.01711379736661911, -0.22778967022895813, -1.0827722549438477, -0.7047123908996582, 0.43815770745277405, 0.41605958342552185, -0.6436986327171326, 0.42996343970298767, -0.52060866355896, -0.4336264431476593, -0.9197267293930054, 0.31944626569747925, 0.31887686252593994, 0.4493105113506317, 0.4477526843547821, -0.08247902244329453, -0.5072473883628845, -0.6229479908943176, 0.06913495808839798, -0.3369155526161194, -0.10884121060371399, -0.06520155817270279, 0.2680075168609619, -0.14288051426410675, 0.9905597567558289, -0.6241469383239746, -0.6043153405189514, -0.26960548758506775, 0.1963851898908615, 0.34507524967193604, 0.34103140234947205, 0.6132819652557373, -0.2349640130996704, -0.5174931287765503, 0.02581844851374626, -0.41682571172714233, -0.17308101058006287, 0.33866697549819946, -0.3723181188106537, 0.45912453532218933, 0.7022728323936462, -0.24347056448459625, 0.38975250720977783, 0.6826386451721191, -0.1339036524295807, 0.045654743909835815, -0.41994941234588623, 0.015657706186175346, -1.027270793914795, 0.11612710356712341, -0.33028578758239746, -0.3168025016784668, -0.5671490430831909, 0.011863553896546364, -0.051572076976299286, -0.09574486315250397, -0.1329696625471115, 0.5659751296043396, -0.34000036120414734, -0.12393977493047714, -0.29189780354499817, 0.2050219476222992, -0.10059934854507446, 0.3889286518096924, -0.11005918681621552, 0.9195236563682556, 0.4730737507343292, -0.6543415188789368, -0.17430303990840912, 0.4476967751979828, -0.42908182740211487, 0.7983689308166504, -0.4754352867603302, 0.2775794565677643, -0.29928621649742126, -0.20110513269901276, -0.8908073902130127, 0.013690602034330368, 0.3418903052806854, -0.27145397663116455, 0.11317816376686096, -0.09750795364379883, -0.6170938611030579, 0.18558408319950104, -0.5954495668411255, 0.5799535512924194, 0.91501784324646, -0.8256124258041382, 0.8255858421325684, 0.308183878660202, -0.2976216673851013, -0.1504656970500946, -0.3198080062866211, -0.24593424797058105, -0.4764620363712311, -0.332042396068573, 0.3671518862247467, -0.2472483217716217, -0.38913655281066895, -0.11859478056430817, 0.31373512744903564, 0.29355812072753906, 0.2709720730781555, 0.25270432233810425, 0.10603567957878113, -0.7662380337715149, 0.15914446115493774, -0.014683147892355919, -0.11791688203811646, -0.23983198404312134, -0.14595283567905426, 0.46196961402893066, -0.15556441247463226, -0.051088474690914154, -0.23207290470600128, 0.16499744355678558, 0.6710609793663025, -0.26637816429138184, 0.8876575827598572, 0.6810745000839233, -0.32086753845214844, -0.6180554628372192, -0.3133612871170044, -0.07739605754613876, -0.44707849621772766, 0.5950824618339539, -0.35793283581733704, -0.9775013327598572, 0.4175649881362915, 0.09898214787244797, -0.08881362527608871, 0.4070936441421509, 0.7243048548698425, 0.12283983081579208, 0.8756641745567322, 1.0352082252502441, -0.39280256628990173, 0.6590740084648132, 0.10228097438812256, 0.3031599819660187, -0.900640606880188, 0.17461247742176056, -0.8597883582115173, -0.2662554979324341, -0.6698837876319885, -0.5309235453605652, 0.8275186419487, 0.23925165832042694, -0.4773542284965515, 0.11004061251878738, -0.11697617918252945, 0.16615448892116547, 0.6427294611930847, 0.03620719537138939, 0.7914553880691528, 0.15419453382492065, 0.4142262041568756, 0.15157105028629303, -0.8679012060165405, -0.22368216514587402, 1.0332213640213013, 0.4943293333053589, 0.874547004699707, 0.5078995227813721, 0.5847445726394653, 0.32389914989471436, 0.27589017152786255, -0.8623141646385193, 0.39416635036468506, -0.2526714503765106, -0.08752552419900894, -0.7750349044799805, -0.35343557596206665, -1.135326623916626, 0.20155832171440125, -0.5599708557128906, -0.8646844029426575, 0.3135910928249359, 0.09850530326366425, -0.977069079875946, 0.08728741854429245, -0.3999708592891693, 0.5086814761161804, 0.030500730499625206, -0.43578118085861206, -0.24968552589416504, -0.16918104887008667, 0.2712354362010956, -0.35411757230758667, 0.27521762251853943, -0.06568306684494019, -0.19792824983596802, 0.9247428178787231, -0.3474697470664978, 0.7391914129257202, 0.04026588425040245, -0.4458017349243164, -0.13844764232635498, -0.1253998726606369, 0.4423189163208008, 0.2035931795835495, -0.11931116133928299, -0.1262894719839096, -0.060210760682821274, -0.32862722873687744, -0.5638558864593506, 0.7291737794876099, -0.9868088364601135, -0.29246199131011963, -0.2951575815677643, -0.6043260097503662, -0.49271371960639954, 0.24211539328098297, -0.06853164732456207, 0.18871107697486877, -0.4339781403541565, 0.06972545385360718, 0.8152558207511902, -0.35220274329185486, 0.2440701723098755, 0.5787804126739502, -0.5965403914451599, -0.54799485206604, 0.7571746706962585, -0.0898611843585968, 0.19915731251239777, 0.40564781427383423, 0.17595848441123962, 0.010511312633752823, -0.7621398568153381, -0.3877434730529785, 0.3444693386554718, -0.6756081581115723, -0.3302510380744934, -0.41210541129112244, -0.09836741536855698, -0.36178404092788696, 0.01492738164961338, -0.44269609451293945, -0.37111759185791016, -0.39501330256462097, 0.3315325379371643, 0.6821427345275879, 0.602729082107544, 0.0640246570110321, 0.5602326989173889, -0.5518583655357361, 0.6499565839767456, 0.6769868731498718, 0.37777259945869446, 0.027415968477725983, -0.9478736519813538, -0.3987448811531067, -0.24357828497886658, 0.047406405210494995, -0.3223109543323517, 0.24462611973285675, 0.5468235611915588, 0.26731574535369873, 0.41406145691871643, 0.38374537229537964, 0.7725965976715088, -0.5769420862197876, 0.2364661991596222, -0.033793676644563675, -0.8827182054519653, 0.2122587412595749, -0.5208539962768555, 0.5411694645881653, 0.6814159154891968, 0.04929228127002716, -0.0872039645910263, -0.06278425455093384, -0.03660556301474571, -0.7401458024978638, 0.7322508692741394, 0.09594465792179108, -0.043542373925447464, 0.20217406749725342, 0.13737492263317108, 0.1689721792936325, -0.018565848469734192, -0.3930422067642212, -0.016567477956414223, 0.10680756717920303, -0.048522528260946274, -0.24391235411167145, -0.5073044300079346, -0.05428748205304146, -0.1398518830537796, 0.7495664954185486, -0.3482367694377899, 0.22381986677646637, -0.1546219140291214, -0.402517169713974, -0.44532808661460876, 0.537358283996582, 0.6221091747283936, 0.45439326763153076, -0.5307993292808533, 0.11992862075567245, 0.3973453938961029, -0.2927173376083374, -0.17520242929458618, 0.1974957287311554, -0.1362181007862091, -0.354465514421463, 0.30591580271720886, 0.9595293402671814, 0.5136010050773621, -0.6694192290306091, 0.07020317763090134, -0.014695974066853523, 0.035446275025606155, -0.27148520946502686, 0.1904946118593216, -0.02641761675477028, 0.6389175653457642, 0.46339598298072815, -0.1967764049768448, 0.0800013616681099, -0.734050989151001, -0.33989691734313965, 0.26705098152160645, -0.20246167480945587, -0.3264850378036499, 0.5972863435745239, -0.07247861474752426, -0.26395779848098755, 0.4441644549369812, 0.0009090041858144104, -0.2035534530878067, 0.07012473046779633, 0.5617133378982544, 0.7175135016441345, -0.24466858804225922, -0.1645258218050003, 0.3281421363353729, 0.08964711427688599, -0.03434905782341957, 0.31110361218452454, 0.13255509734153748, -0.7008382081985474, -0.34546032547950745, -1.0044448375701904, -0.2685554623603821, 0.15051902830600739, -0.913490355014801, 0.3204435706138611, -0.6158788800239563, -0.21006843447685242, 0.07673831284046173, -0.2597028911113739, -0.47420573234558105, -0.21896080672740936, 0.4213627278804779, 0.8077138066291809, -0.7214546203613281, 1.0464707612991333, 0.5925701856613159, -0.18071258068084717, -0.2045915126800537, -0.050928931683301926, -0.291046142578125, -0.8446241617202759, 0.68989497423172, -0.25872600078582764, -0.5445971488952637, 0.3121702969074249, -0.210168719291687, -0.9290106892585754, 1.058919906616211, 0.620161235332489, -0.38412150740623474, 0.028411054983735085, 0.2668639123439789, 0.6160056591033936, -0.4455820918083191, -0.008022960275411606, 0.8515493273735046, 0.39828261733055115, -0.20915871858596802, -1.0008858442306519, 0.005300124641507864, -0.11082755774259567, 0.3614051043987274, 0.3322521448135376, -0.4091968536376953, 1.0575711727142334, -0.18691441416740417, -0.07842740416526794, 0.6865128874778748, 0.9225083589553833, 0.28119486570358276, -0.07829641550779343, 0.6636515855789185, 0.5091325044631958, 0.8242209553718567, 0.18949532508850098, 0.749504804611206, -0.1207609549164772, 0.05295860022306442, 1.01007878780365, -0.4417266845703125, 1.406815767288208, 0.4740508794784546, -0.19731998443603516, 0.5637844204902649, 0.10645902156829834, 0.3545299172401428, 0.6312144994735718, 0.08179780095815659, -0.008536369539797306, -0.42486658692359924, -0.18910717964172363, -0.4602310359477997, 0.6365525126457214, 0.3628515303134918, -0.17061465978622437, -0.3243028521537781, 0.21903996169567108, 0.11435110121965408, 0.29296085238456726, -0.7336806058883667, 0.7553155422210693, -0.0016649675089865923, -0.3846299648284912, 1.0345877408981323, 0.12824510037899017, 0.5134110450744629, -0.36156925559043884, -0.048075251281261444, -0.17375923693180084, 0.4355064630508423, 0.011636645533144474, -0.06884592771530151, -0.1713199019432068, -0.10003405809402466, -0.4048401415348053, -0.08604622632265091, 0.47741931676864624, -0.4446024000644684, -0.4267738163471222, 0.3933861553668976, 0.5267650485038757, -0.317210853099823, -0.14675994217395782, -0.26308298110961914, 0.28660812973976135, -0.504683256149292, -0.12182868272066116, 0.731897234916687, 0.38876402378082275, -0.21894341707229614, 0.47982779145240784, 0.6401132345199585, -0.06210379675030708, -0.04972507059574127, -0.12374653667211533, 1.117780089378357, -0.4900984764099121, -0.4564438462257385, -0.6589492559432983, 0.2946186065673828, 0.24815918505191803, -0.20871993899345398, 0.6363149881362915, 0.3970983028411865, 0.44280800223350525, -0.18709775805473328, 0.6910760402679443, 0.16782423853874207, 0.8585857152938843, -0.9661927819252014, 0.8890418410301208, -0.6158682703971863, 0.3240554630756378, -0.14586329460144043, -1.09097158908844, -0.37774771451950073, 0.6445610523223877, -0.46837085485458374, 0.005093620624393225, 0.6828057169914246, 0.7132688164710999, -0.15499374270439148, -0.38646531105041504, 0.5079504251480103, 0.4945681095123291, -0.21549491584300995, 0.5268062353134155, 0.7648378610610962, -0.42496931552886963, 0.41046929359436035, 0.09600764513015747, -0.33830398321151733, -0.648814857006073, -0.9190247058868408, -1.1232277154922485, -0.33550333976745605, -0.36850520968437195, -0.39656031131744385, 0.45194491744041443, 0.9978877902030945, 0.6435537934303284, -0.8954451680183411, -0.3219524621963501, 0.3492434024810791, -0.0005510856281034648, -0.11169138550758362, -0.11678806692361832, 0.5785129070281982, -0.33622920513153076, -0.9148519039154053, 0.5843396186828613, 0.4519706666469574, -0.3706294894218445, -0.3335739076137543, -0.26442471146583557, 0.13507604598999023, 0.07519878447055817, 0.7388023734092712, 0.5696147680282593, -0.3812941610813141, -0.1712782382965088, 0.026252560317516327, -0.1929945945739746, 0.463985413312912, 0.4691762924194336, -0.9787468314170837, 0.19833803176879883, 0.552009642124176, 0.6475052237510681, 0.30063629150390625, -0.03956430032849312, 0.4769558310508728, -0.3286086618900299, 0.23575882613658905, 0.016884835436940193, 0.26080894470214844, 0.16842862963676453, -0.07027475535869598, 0.3364141285419464, -0.28155696392059326, -0.27860644459724426, -1.1184381246566772, 0.05481957271695137, -1.2400752305984497, -0.07308853417634964, 1.1540576219558716, 0.15662413835525513, -0.5266667604446411, -0.04032285138964653, -0.26585853099823, 0.12810038030147552, -0.5936875939369202, 0.9505314230918884, -0.015028081834316254, 0.24018900096416473, -0.37057411670684814, -0.6324026584625244, 0.5433076620101929, 0.4409880042076111, -0.9951310753822327, -0.027511147782206535, 0.22451822459697723, -0.015688035637140274, 0.16085508465766907, 0.5939598679542542, 0.05322028696537018, 0.32513588666915894, -0.3588421940803528, 0.19276699423789978, -0.12748070061206818, -0.16368786990642548, -0.6276238560676575, 0.3890525996685028, 0.8875573873519897, -0.17158366739749908 ]
http://arxiv.org/abs/2406.01771v1
http://arxiv.org/pdf/2406.01771v1
LLMs Beyond English: Scaling the Multilingual Capability of LLMs with Cross-Lingual Feedback
2024-06-03T20:25:12
2024-06-03T20:25:12
Wen Lai, Mohsen Mesgar, Alexander Fraser
cs.CL
cs.CL
To democratize large language models (LLMs) to most natural languages, it is imperative to make these models capable of understanding and generating texts in many languages, in particular low-resource ones. While recent multilingual LLMs demonstrate remarkable performance in such capabilities, these LLMs still support a limited number of human languages due to the lack of training data for low-resource languages. Moreover, these LLMs are not yet aligned with human preference for downstream tasks, which is crucial for the success of LLMs in English. In this paper, we introduce xLLaMA-100 and xBLOOM-100 (collectively xLLMs-100), which scale the multilingual capabilities of LLaMA and BLOOM to 100 languages. To do so, we construct two datasets: a multilingual instruction dataset including 100 languages, which represents the largest language coverage to date, and a cross-lingual human feedback dataset encompassing 30 languages. We perform multilingual instruction tuning on the constructed instruction data and further align the LLMs with human feedback using the DPO algorithm on our cross-lingual human feedback dataset. We evaluate the multilingual understanding and generating capabilities of xLLMs-100 on five multilingual benchmarks. Experimental results show that xLLMs-100 consistently outperforms its peers across the benchmarks by considerable margins, defining a new state-of-the-art multilingual LLM that supports 100 languages.
[ -0.3949485421180725, -0.28334417939186096, 0.4360315799713135, 0.4097083508968353, 0.12118265777826309, 0.5304527282714844, -0.5900323390960693, -0.5580804347991943, 0.247135192155838, 0.3107597231864929, -0.6136361360549927, -0.422922819852829, -0.4898117184638977, 0.32426121830940247, -0.052057668566703796, 0.8313478231430054, -0.19301825761795044, 0.48161187767982483, -0.14788012206554413, -0.2978329658508301, -0.5397828817367554, -0.5386406779289246, -0.64577317237854, -0.401195764541626, 0.7814778685569763, 0.5348522663116455, 0.47476324439048767, 0.5224094986915588, 0.24821507930755615, 0.3459875285625458, -0.0070662773214280605, 0.5244956612586975, -0.5695667266845703, -0.06421437859535217, -0.09005989134311676, -0.792079746723175, -0.7503951787948608, -0.3592926561832428, 0.9205327033996582, 0.8054415583610535, 0.024884486570954323, 0.13584013283252716, 0.17386998236179352, 0.6100311875343323, -0.34417110681533813, 0.15361270308494568, -0.5246968269348145, 0.11000458896160126, -0.24921247363090515, -0.16664190590381622, -0.5783092975616455, 0.09243611246347427, -0.2951405346393585, -0.6205052733421326, -0.3544178009033203, 0.37433210015296936, 0.4515981078147888, -0.15189144015312195, -0.5020804405212402, -0.40525755286216736, -0.6697880625724792, 1.2835047245025635, -0.576496422290802, 0.7673898339271545, 0.37810268998146057, 0.07020007073879242, 0.19366730749607086, -0.3542242646217346, -0.21710185706615448, -0.3211687505245209, -0.13538967072963715, -0.0435439795255661, -0.17702077329158783, -0.3335815370082855, -0.048395708203315735, 0.2218168079853058, -0.48980623483657837, 0.5082114338874817, -0.19303420186042786, -0.103358194231987, 0.7059385776519775, 0.33580854535102844, 0.31690549850463867, 0.03635009005665779, -0.2926401197910309, -0.011240954510867596, -1.0836825370788574, 0.15977677702903748, 0.1822417825460434, 0.42942187190055847, -0.18423326313495636, 0.4068947434425354, 0.038184624165296555, 0.46214327216148376, -0.2766505479812622, -0.46652427315711975, 0.24618209898471832, -0.4882678687572479, -0.0783328264951706, 0.005042893812060356, 0.658312201499939, 0.20455975830554962, 0.05857209861278534, -0.25593096017837524, -0.3363913893699646, -0.24421849846839905, -0.06179184094071388, -0.5932049751281738, 0.32464268803596497, 0.2246505618095398, -0.22201578319072723, 0.06976843625307083, -0.1801949441432953, -0.6192082166671753, -0.2635229825973511, -0.48425808548927307, 0.3476848006248474, -0.32115301489830017, -0.3561173677444458, 0.05574868991971016, 0.32893043756484985, 0.25416243076324463, 0.3118233382701874, -0.9937692284584045, 0.2699390649795532, 0.6916323304176331, 0.9301811456680298, -0.22633986175060272, -0.6756401062011719, -0.35133954882621765, 0.306459903717041, -0.6875253319740295, 0.7040774822235107, -0.4655572772026062, -0.4233602285385132, 0.0011475953506305814, 0.29979193210601807, 0.09694120287895203, -0.4516963064670563, 0.21530340611934662, -0.5314509272575378, 0.32155734300613403, -0.45535507798194885, -0.5846987962722778, -0.19269688427448273, 0.4875551462173462, -0.47618749737739563, 0.8998732566833496, -0.04503346607089043, -0.4657231569290161, 0.3061172664165497, -0.5136414170265198, -0.45833709836006165, 0.1967000961303711, -0.10042963922023773, -0.13004378974437714, 0.10798267275094986, 0.23447059094905853, 0.3013856112957001, -0.29577186703681946, -0.02887098677456379, -0.20875339210033417, -0.3952491879463196, -0.0786910131573677, -0.593275249004364, 0.7791450619697571, -0.04036875441670418, -0.4953113794326782, 0.2263508141040802, -0.577167809009552, 0.33692142367362976, 0.1139376312494278, -0.4226089417934418, -0.27441534399986267, -0.09829849749803543, -0.02600177749991417, 0.12434042990207672, 0.3537895083427429, -0.6098067760467529, 0.1987401843070984, -0.24385666847229004, 0.3836710453033447, 0.7421262860298157, -0.5681784152984619, 0.4577769637107849, -0.34902867674827576, 0.8495538830757141, -0.36068037152290344, -0.0021869090851396322, -0.6450859904289246, -0.41826722025871277, -0.7894738912582397, -0.4149566888809204, 0.08492688089609146, 0.7661048173904419, -0.6104475259780884, 0.23734338581562042, -0.4881857633590698, -0.416822224855423, -0.6535494923591614, 0.697544276714325, 0.44325241446495056, 0.1048046126961708, 0.25821995735168457, 0.0067320349626243114, -0.6214208602905273, -0.5804049372673035, 0.09449990093708038, -0.1118064597249031, -0.15151308476924896, 0.3987237513065338, 0.13617606461048126, -0.4320146441459656, 0.47630807757377625, -0.19259801506996155, -0.5131891965866089, -0.4687988758087158, -0.2224363535642624, 0.09648091346025467, 0.04124566912651062, 0.4184887111186981, -0.5141683220863342, -0.577591061592102, 0.4579905569553375, -0.6147274374961853, -0.14766883850097656, -0.052106186747550964, -0.06773211807012558, 0.6763681173324585, 0.4943028390407562, -0.29167720675468445, -0.08829322457313538, 1.0243241786956787, -0.1477680206298828, 0.3673538267612457, -0.4497167766094208, 0.18134158849716187, -1.1819968223571777, -0.15767012536525726, -0.28344491124153137, -0.4205344319343567, -0.46614816784858704, 0.06911872327327728, 0.2659515142440796, 0.07023216784000397, -0.6052122116088867, 0.7412592768669128, -0.7754862904548645, -0.1929541975259781, -0.35611769556999207, 0.34188780188560486, 0.31016024947166443, 0.3312239646911621, 0.19902648031711578, 0.6714597344398499, 0.557243287563324, -0.327152281999588, 0.5756421089172363, 0.10765287280082703, -0.23569706082344055, 0.4494333267211914, -0.5339613556861877, -0.03864907845854759, -0.02847309410572052, 0.3092871308326721, -0.8861469626426697, -0.034373149275779724, -0.19288432598114014, -0.1544826775789261, 0.48441705107688904, 0.11910269409418106, -0.4419083893299103, -0.26507171988487244, -0.6230944395065308, 0.3161105811595917, 0.3892069160938263, -0.5502492785453796, 0.6201068758964539, 0.44099244475364685, -0.3544867932796478, -0.6355634927749634, -0.879756510257721, 0.3591478168964386, -0.11666269600391388, -0.5761914849281311, 0.26383647322654724, -0.12884876132011414, -0.4033524692058563, -0.186366006731987, 0.30264487862586975, 0.2005642056465149, -0.2956036627292633, 0.22560743987560272, 0.34080031514167786, -0.34080156683921814, 0.3390336334705353, 0.1694464087486267, 0.00444745272397995, 0.015480663627386093, -0.2598707973957062, 0.6867413520812988, -0.20991864800453186, -0.5624843239784241, -0.18478111922740936, 0.5089784264564514, 0.5249795913696289, -0.22091540694236755, 0.6992535591125488, 0.4947070777416229, -0.1540548950433731, -0.29549023509025574, -0.2969494163990021, -0.10718590021133423, -0.4427075982093811, 0.6254501342773438, -0.39981168508529663, -0.8234806060791016, 0.41580525040626526, 0.028216185048222542, 0.4984525144100189, 0.17764444649219513, 0.8919366002082825, -0.007265624590218067, 1.1402382850646973, 0.8235803842544556, -0.27892768383026123, 0.3324182331562042, -0.24311907589435577, 0.08950232714414597, -0.6813182234764099, -0.32258108258247375, -0.29726123809814453, -0.25075045228004456, -0.7134991884231567, -0.5443021655082703, 0.27519315481185913, -0.14003175497055054, 0.04791980981826782, 0.25245457887649536, 0.04758324846625328, 0.4977569580078125, 0.5235630869865417, -0.1843864917755127, 0.4143175482749939, 0.13084553182125092, -0.09454561024904251, -0.1588277518749237, -0.8592705130577087, -0.646305501461029, 1.071054458618164, 0.39774858951568604, 0.8818888664245605, 0.1389515995979309, 0.6397923231124878, 0.029407218098640442, 0.5198687314987183, -0.7478175759315491, 0.4153778553009033, -0.44475236535072327, -0.4904896020889282, -0.45787370204925537, -0.45585474371910095, -0.9231679439544678, 0.32618948817253113, 0.029888112097978592, -0.29427680373191833, -0.23404425382614136, -0.039505485445261, -0.29448240995407104, 0.5930100083351135, -0.7329888939857483, 0.4537684917449951, -0.6949192881584167, -0.5046637654304504, -0.4026835560798645, -0.33070671558380127, 0.172699972987175, -0.3616896867752075, 0.6896811723709106, -0.12831570208072662, -0.5616106986999512, 0.4835279583930969, -0.04376157373189926, 0.9702073931694031, 0.1624140739440918, -0.8797865509986877, -0.06683249026536942, -0.0273866206407547, 0.2444104552268982, 0.2265130877494812, -0.06507154554128647, 0.5085925459861755, -0.034936852753162384, -0.5216324925422668, -0.3367564082145691, 0.9992796182632446, -0.8960897326469421, -0.608307957649231, -0.1264144480228424, -0.9762527346611023, -0.40420398116111755, 0.21542784571647644, 0.13268792629241943, 0.4752408564090729, 0.03273089975118637, 0.10213617235422134, 0.5170497298240662, -0.3890593349933624, 0.5660578012466431, 0.788547933101654, -0.6372575163841248, -0.5076985359191895, 1.0556570291519165, 0.3980497717857361, 0.30370795726776123, 0.7410507798194885, 0.04661516845226288, -0.44116663932800293, -0.24080069363117218, -0.8493510484695435, 0.4062427878379822, -0.6120514869689941, -0.23314093053340912, -0.38834571838378906, 0.010628389194607735, -0.4159533381462097, -0.18675316870212555, -0.32857173681259155, -0.23220592737197876, -0.20100939273834229, 0.02286517061293125, 0.015114386565983295, 1.0940523147583008, -0.19289106130599976, -0.004282260779291391, -1.044419527053833, 0.12113972008228302, 0.3582213521003723, 0.27242526412010193, 0.06985282152891159, -0.7825756669044495, -0.5227593183517456, 0.2845747470855713, -0.26486364006996155, -0.6294888854026794, 0.4168870449066162, 0.385196328163147, 0.44472911953926086, 0.35378971695899963, -0.2490951418876648, 0.7462315559387207, -0.8399107456207275, 0.701149582862854, 0.037870101630687714, -1.0601632595062256, 0.3246992230415344, -0.1066114604473114, 0.4259283244609833, 0.058506473898887634, 0.7108351588249207, -0.7205851078033447, -0.5050137042999268, -0.053021062165498734, -0.8688825368881226, 0.7563170194625854, -0.23710374534130096, 0.5828543901443481, 0.19965805113315582, 0.05552349239587784, 0.34410834312438965, 0.044633086770772934, -0.8030227422714233, -0.20244313776493073, 0.029818780720233917, -0.039620719850063324, -0.25487184524536133, -0.24469788372516632, -0.18414077162742615, -0.0723506361246109, 0.7290103435516357, -0.31634974479675293, -0.1385587453842163, -0.15546177327632904, -0.11271543055772781, -0.24305883049964905, 0.3348103165626526, 0.7453130483627319, 0.9381574392318726, 0.0378531888127327, 0.1496487259864807, 0.5440425872802734, -0.34548646211624146, 0.4645977318286896, -0.14517895877361298, -0.027654515579342842, -0.0697406455874443, 0.9682541489601135, 0.8038774728775024, 0.27845942974090576, -0.8962498307228088, 0.10496886074542999, -0.07460413128137589, 0.04747448489069939, -0.14987130463123322, -0.03620871156454086, 0.32910430431365967, 0.16682033240795135, 0.43266597390174866, -0.4136779308319092, -0.2873525321483612, -0.5431326031684875, 0.1800629198551178, 0.5626890659332275, -0.3139714002609253, -0.5301612019538879, 0.40302973985671997, 0.2793194651603699, -0.24143579602241516, 0.2912274897098541, -0.14825581014156342, -0.3735071122646332, 0.3918890058994293, 0.562214195728302, 0.5117733478546143, -0.3241685628890991, 0.25779736042022705, 0.2864677309989929, 0.5123422741889954, 0.08977201581001282, 0.32297375798225403, -0.04979284107685089, -0.6718671321868896, -0.872623085975647, -0.4908272624015808, -0.611714243888855, 0.024213772267103195, -0.6457576751708984, 0.4175429940223694, -0.19562742114067078, -0.13002139329910278, -0.2635536193847656, 0.33482030034065247, -0.24327616393566132, 0.0650099664926529, 0.48989924788475037, 0.935695230960846, -0.8005545735359192, 0.975986123085022, 0.909488320350647, -0.05439187213778496, -0.7928213477134705, -0.18900147080421448, 0.011323511600494385, -1.1004297733306885, 0.7560508251190186, 0.23161660134792328, -0.1945931315422058, -0.03913835808634758, -0.06206627935171127, -0.8507786393165588, 1.1768327951431274, 0.7344509363174438, -1.0513020753860474, -0.06017781049013138, 0.5273138880729675, 0.6407700181007385, -0.4051014184951782, 0.36221444606781006, 0.3690018057823181, 0.42345893383026123, -0.13418316841125488, -1.00453519821167, -0.23421718180179596, 0.037567175924777985, 0.08105207234621048, 0.22116073966026306, -0.8712254762649536, 0.6879833936691284, -0.41072699427604675, -0.1031641960144043, -0.017248906195163727, 0.603256106376648, 0.4663101136684418, 0.1921698898077011, 0.4901910722255707, 0.4791930317878723, 0.7049363851547241, 0.00702269934117794, 1.1480584144592285, -0.5472916960716248, 0.22602863609790802, 0.992207407951355, -0.5707249641418457, 1.052319884300232, 0.5410811305046082, -0.416910856962204, 0.4805855453014374, 0.5350806713104248, 0.35023704171180725, 0.122073233127594, 0.04098401218652725, -0.3044208586215973, -0.176680326461792, -0.41913142800331116, -0.29145196080207825, 0.4668445587158203, 0.26111212372779846, -0.1311013102531433, -0.1611367166042328, 0.25546973943710327, 0.31972557306289673, -0.03832434490323067, -0.5526363253593445, 0.7180253863334656, 0.15599650144577026, -0.5103211402893066, 0.699962317943573, 0.03806808590888977, 0.9275974035263062, -0.9484757781028748, 0.03792988881468773, -0.6606826782226562, 0.22917227447032928, -0.27613043785095215, -0.90385901927948, 0.19740258157253265, 0.1316535472869873, -0.220261812210083, -0.5680393576622009, 0.18997065722942352, -0.7637378573417664, -0.8896017670631409, 0.8063238859176636, 0.5889675617218018, -0.10428332537412643, 0.2707540690898895, -0.4692244231700897, 0.4115141034126282, 0.15584470331668854, -0.3225472569465637, 0.4670286774635315, 0.535740852355957, -0.19960136711597443, 0.8164664506912231, 0.5005930662155151, 0.586922287940979, 0.23376472294330597, 0.16995100677013397, 0.6243098378181458, -0.4450114965438843, -0.22367490828037262, -0.8458777070045471, 0.13101401925086975, 0.25214865803718567, -0.20347623527050018, 1.1596838235855103, 0.40244272351264954, 1.131596326828003, 0.10257133841514587, 0.5497263669967651, 0.06129550561308861, 0.44759729504585266, -0.4487326145172119, 0.5249487161636353, -0.9221426844596863, 0.3818817138671875, 0.1423366516828537, -0.8162632584571838, -0.22742785513401031, 0.10616833716630936, -0.15064334869384766, 0.1453910768032074, 0.443899542093277, 0.8597252368927002, 0.13951212167739868, -0.26684096455574036, 0.7010390758514404, 0.09547103941440582, 0.3885340690612793, 0.6644447445869446, 0.6885842084884644, -0.17841216921806335, 0.7251551151275635, -0.3087746202945709, -0.27289047837257385, 0.08485031127929688, -0.7499048113822937, -0.7516322731971741, -0.3978818356990814, -0.05943939462304115, 0.08276427537202835, -0.3112110495567322, 0.7885593175888062, 0.9832490086555481, -0.9640241861343384, -0.6451081037521362, 0.27163583040237427, 0.2336840182542801, -0.13240884244441986, -0.19460661709308624, 0.22798460721969604, -0.6799278259277344, -1.2137551307678223, 0.6180236339569092, 0.6001923680305481, -0.04553000256419182, -0.8715681433677673, -0.40526285767555237, 0.015229570679366589, 0.22785207629203796, 0.8343858122825623, 0.09989067912101746, -0.7128420472145081, 0.1906701922416687, 0.3678494691848755, -0.14975868165493011, -0.032794039696455, 0.7395163178443909, -0.6042270064353943, 0.24125805497169495, 0.4226245582103729, 0.6840347051620483, -0.009969053789973259, -0.5274293422698975, 0.6865410208702087, -0.8971190452575684, 0.29522088170051575, -0.08685196191072464, 0.4667912423610687, 0.6313865184783936, -0.21985824406147003, 0.37819284200668335, -0.14419281482696533, -0.45662015676498413, -0.9437513947486877, 0.12523750960826874, -0.3787247836589813, -0.27615973353385925, 1.2434955835342407, -0.4143035411834717, -0.23959383368492126, 0.10844559222459793, -0.3103553056716919, -0.1568610966205597, -0.20641833543777466, 0.6222336888313293, 0.7537975907325745, -0.09449777752161026, -0.3038104474544525, -0.3871820569038391, 0.10547970235347748, 0.7025465965270996, -1.0429972410202026, 0.14501020312309265, 0.236413836479187, 0.13583074510097504, 0.37396126985549927, 0.4622817039489746, -0.04943818971514702, 0.1320732682943344, -0.190887451171875, 0.02087268978357315, 0.020675180479884148, -0.36899521946907043, -0.5185003280639648, 0.0574512779712677, 0.19723404943943024, 0.027474135160446167 ]
http://arxiv.org/abs/2406.06575v1
http://arxiv.org/pdf/2406.06575v1
Ask-EDA: A Design Assistant Empowered by LLM, Hybrid RAG and Abbreviation De-hallucination
2024-06-03T19:40:28
2024-06-03T19:40:28
Luyao Shi, Michael Kazda, Bradley Sears, Nick Shropshire, Ruchir Puri
cs.CL
cs.CL, cs.AI
Electronic design engineers are challenged to find relevant information efficiently for a myriad of tasks within design construction, verification and technology development. Large language models (LLM) have the potential to help improve productivity by serving as conversational agents that effectively function as subject-matter experts. In this paper we demonstrate Ask-EDA, a chat agent designed to serve as a 24x7 expert available to provide guidance to design engineers. Ask-EDA leverages LLM, hybrid retrieval augmented generation (RAG) and abbreviation de-hallucination (ADH) techniques to deliver more relevant and accurate responses. We curated three evaluation datasets, namely q2a-100, cmds-100 and abbr-100. Each dataset is tailored to assess a distinct aspect: general design question answering, design command handling and abbreviation resolution. We demonstrated that hybrid RAG offers over a 40% improvement in Recall on the q2a-100 dataset and over a 60% improvement on the cmds-100 dataset compared to not using RAG, while ADH yields over a 70% enhancement in Recall on the abbr-100 dataset. The evaluation results show that Ask-EDA can effectively respond to design-related inquiries.
[ -0.8195236921310425, -1.3885695934295654, 0.681053638458252, 0.16619867086410522, -0.2984844744205475, 0.5241509675979614, 0.02507833018898964, -0.6515046954154968, 0.7308685779571533, 0.2797224223613739, -0.4529292583465576, -0.21162760257720947, -0.04396964609622955, 0.04783929884433746, -0.09309235215187073, 0.39863070845603943, -0.38930001854896545, -0.08205556124448776, -0.048317693173885345, 0.08549299836158752, -0.8946117162704468, -0.3048214912414551, -0.8708537817001343, 0.1337919533252716, 0.4757568836212158, 0.3214503824710846, 0.5211309194564819, 0.047502435743808746, 0.4654884338378906, 0.35459375381469727, -0.25031590461730957, 0.7929644584655762, -0.201834037899971, 0.3896079957485199, 0.07076568901538849, -0.3917929232120514, -1.0202161073684692, -0.20343026518821716, -0.10498908162117004, 0.544743537902832, -0.18023008108139038, 0.3589370548725128, -0.053141798824071884, 0.7469735741615295, -0.504526674747467, 0.14799487590789795, -0.5474923253059387, -0.145638108253479, 0.1049649640917778, -0.5652815699577332, -0.5905379056930542, -0.24244403839111328, -0.10876685380935669, -0.9216330051422119, -0.2572684586048126, 0.0672539621591568, 0.7007099986076355, 0.49673736095428467, -0.2670052945613861, -0.5902897715568542, -1.080431580543518, 0.4462697505950928, -0.36076125502586365, 0.8228235840797424, 0.3722775876522064, 0.3015291392803192, -0.1772899329662323, -0.33609721064567566, -0.5875859260559082, -0.13967277109622955, -0.045510027557611465, 0.3411024808883667, -0.11395630240440369, 0.31584158539772034, 0.1078927144408226, 0.32912808656692505, -0.7353768944740295, 0.1068539023399353, -0.381803423166275, -0.08145254850387573, 0.8000235557556152, 0.051232676953077316, 0.4226059019565582, 0.01645750366151333, -0.066194087266922, 0.02333124540746212, -0.5449411869049072, -0.31802627444267273, 0.35949981212615967, -0.00866592675447464, 0.04406709223985672, 0.30308204889297485, -0.049053341150283813, 0.6930912137031555, 0.23575741052627563, 0.292690634727478, 0.16261717677116394, -0.18316145241260529, -0.013302793726325035, -0.4065740704536438, 0.4534268081188202, 0.2850596308708191, 0.10221362113952637, -0.20604975521564484, -0.361541748046875, -0.09047064185142517, 0.45078763365745544, -0.5447623133659363, -0.27286985516548157, 0.5746156573295593, -0.43864551186561584, -0.01401439681649208, -0.020961854606866837, -1.073662519454956, -0.44524726271629333, -0.7573803663253784, 0.4528368413448334, 0.1979483962059021, -0.45344653725624084, 0.15760579705238342, -0.3125165104866028, 0.3340890109539032, 0.46109601855278015, -0.5558820962905884, 0.21694302558898926, 0.5386456251144409, 0.4508860111236572, -0.15269231796264648, 0.270327627658844, -0.4004511833190918, -0.06993893533945084, -0.6925463676452637, 0.9592243432998657, -0.5143532156944275, -0.805037796497345, -0.2118103802204132, -0.29493945837020874, -0.08819489926099777, -0.8474727869033813, 0.4569016695022583, -0.9509212374687195, 0.24840354919433594, -0.040913790464401245, -0.16329988837242126, -0.029255056753754616, 0.19330276548862457, -0.6420666575431824, 0.9036189913749695, 0.010059265419840813, -0.5137667655944824, 0.16875378787517548, -0.7885246276855469, -0.20755639672279358, 0.3509537875652313, -0.6005958318710327, -0.2353755682706833, 0.09191065281629562, 0.36582204699516296, 0.2591220438480377, -0.17279134690761566, 0.19101861119270325, -0.2946338355541229, -0.279437780380249, 0.11333920806646347, -0.3074563145637512, 0.37916120886802673, 0.4142618179321289, -0.2364281713962555, 0.1250440627336502, -0.8459505438804626, 0.2346513718366623, 0.14807680249214172, -0.445640504360199, -0.5580841302871704, -0.20443712174892426, 0.1136590838432312, 0.07260944694280624, 0.2599296569824219, -0.6457915306091309, -0.009893171489238739, -0.30553680658340454, -0.06357141584157944, 0.9937343597412109, 0.04265804961323738, 0.3462221622467041, -0.6346622705459595, 0.7708536386489868, -0.4046032428741455, 0.03085564449429512, 0.1402221918106079, -0.5879387855529785, -0.8730051517486572, -0.30047091841697693, 0.026468105614185333, 0.709102988243103, -1.1160087585449219, 0.5239744186401367, -0.05544742941856384, -0.4804285764694214, -0.5229843258857727, 0.08023020625114441, 0.1301305592060089, 0.19447529315948486, 0.24869750440120697, 0.014425446279346943, -0.823667049407959, -0.9212774634361267, -0.10697536170482635, -0.3803097605705261, -0.4456976652145386, 0.8145233392715454, 0.10545158386230469, -0.32755693793296814, 0.8149406313896179, -0.6263023018836975, 0.04276068136096001, -0.29327383637428284, 0.20033301413059235, 0.05250554904341698, 0.09073144197463989, 0.4953211545944214, -0.9180161356925964, -0.7693626880645752, 0.13502046465873718, -0.7041193246841431, -0.24920403957366943, -0.34627315402030945, -0.3162870705127716, 0.18549971282482147, 0.21173636615276337, -0.8396279215812683, 0.18142488598823547, 0.3245878517627716, -0.23160682618618011, 0.23272931575775146, -0.17354753613471985, 0.3548302948474884, -1.3854988813400269, 0.10737273097038269, -0.32710862159729004, 0.05922736972570419, -0.6682106256484985, 0.17971855401992798, 0.07153777033090591, -0.3869149684906006, -0.3110073506832123, 0.8161129951477051, -0.5534467101097107, 0.09956056624650955, -0.44599080085754395, 0.34734591841697693, 0.12813526391983032, 0.4975486695766449, -0.10617689043283463, 1.1861544847488403, 0.21655842661857605, -0.7807475924491882, 0.23901903629302979, 0.5063371658325195, 0.003037247573956847, 0.621523380279541, -0.9362915754318237, 0.8188825249671936, -0.38158681988716125, 0.17360346019268036, -0.8778771162033081, -0.10995423048734665, -0.06455906480550766, -0.29015281796455383, 0.3552134037017822, 0.4916062653064728, -0.4923363924026489, -0.7149624824523926, -0.4349759519100189, 0.2848864793777466, 0.5032188296318054, -0.8302918076515198, 0.899933397769928, 0.8562838435173035, -0.4119274318218231, -0.1890183985233307, -0.21292196214199066, -0.06979193538427353, -0.10766024142503738, -0.9977002739906311, 0.46505290269851685, -0.5643666386604309, -0.6470003128051758, -0.444064199924469, -0.17835475504398346, -0.323093980550766, 0.3362608850002289, 0.13986703753471375, 0.6063616275787354, -0.023924333974719048, 0.3806218206882477, 0.060359567403793335, 0.15347132086753845, 0.24740199744701385, 0.3073006868362427, 0.6252583265304565, 0.07139500975608826, -0.3621082305908203, -0.5438084602355957, 0.6659061312675476, 0.6036803126335144, -0.14353884756565094, 0.20896536111831665, 0.10259854048490524, -0.3876025378704071, -0.5736674666404724, -0.7176096439361572, -0.37454020977020264, -0.5918319821357727, 0.4242542088031769, -0.7879524230957031, -0.5416156649589539, 0.5803536176681519, -0.020068975165486336, 0.6120099425315857, 0.39806419610977173, 0.4964275360107422, -0.20871703326702118, 1.03534996509552, 0.6562857627868652, 0.15226417779922485, 0.4903016984462738, -0.2525659203529358, 0.3431795835494995, -0.8146264553070068, -0.18770694732666016, -0.378867506980896, -0.27024027705192566, -0.269486665725708, -0.3982001841068268, 0.4512381851673126, -0.399277001619339, 0.09894227236509323, 0.43155327439308167, -0.597427248954773, 0.3281399607658386, 0.19580377638339996, 0.42102310061454773, 0.20047517120838165, -0.2610778510570526, 0.32198646664619446, 0.2645995020866394, -0.5179392099380493, -0.6628625988960266, 0.8990179300308228, 0.5582248568534851, 1.2430334091186523, 0.04261281341314316, 0.6396080851554871, 0.23700456321239471, 0.06730208545923233, -0.8649486899375916, 0.6562448143959045, 0.22566130757331848, -0.6097215414047241, -0.18604937195777893, -0.33354490995407104, -0.6970849633216858, 0.11535020917654037, 0.1603195071220398, -0.35986196994781494, 0.4601826071739197, 0.189851775765419, -0.5129430294036865, 0.2897961139678955, -0.7667975425720215, 0.33219990134239197, -0.3905895948410034, -0.0574985146522522, -0.42550525069236755, -0.09769207239151001, 0.11862865835428238, -0.32207927107810974, 0.4252183735370636, 0.15545043349266052, -0.1687171757221222, 0.8400223851203918, -0.07116498798131943, 0.6714602708816528, 0.11811596900224686, -0.3352130949497223, 0.5129339694976807, 0.2519488036632538, 0.7478194236755371, -0.10653701424598694, -0.1404579132795334, -0.42331838607788086, -0.059981051832437515, -0.007926170714199543, -0.726317822933197, 0.653012216091156, -0.8009622097015381, -0.8528022766113281, 0.18850745260715485, -0.5346325635910034, -0.43165600299835205, -0.20975565910339355, 0.023085789754986763, 0.5321869850158691, -0.3118446171283722, 0.24372148513793945, 0.8045080900192261, -0.40271857380867004, 0.2485862374305725, 0.5508797764778137, -0.1366344690322876, -0.19584804773330688, 0.8296334147453308, 0.11661885678768158, 0.1673625111579895, 0.5980696678161621, 0.04398532584309578, -0.22078736126422882, -0.19770768284797668, -0.9232959151268005, 0.20286023616790771, -0.7110726237297058, -0.15434566140174866, -1.1266371011734009, -0.31158751249313354, -0.2176535576581955, -0.31099528074264526, -0.4217805564403534, -0.5940970778465271, -0.35116034746170044, -0.3134605884552002, 0.42927247285842896, 0.8865585327148438, 0.29074880480766296, -0.20498026907444, -0.7391519546508789, 0.4444233775138855, 0.5965911149978638, 0.35620129108428955, -0.1196703240275383, -0.5897690057754517, 0.09026756882667542, -0.007412184029817581, -0.5624217987060547, -0.9965914487838745, 0.18783147633075714, 0.10827163606882095, 0.8725610971450806, -0.006670523434877396, 0.28658851981163025, 0.2281407117843628, -0.3493076264858246, 0.5821662545204163, -0.27936774492263794, -0.44747039675712585, 0.5236126184463501, -0.3642180860042572, 0.037698112428188324, 0.26302370429039, 0.3741471767425537, -0.3625519871711731, -0.4032633900642395, -0.6419663429260254, -0.6593680381774902, 0.3073282241821289, 0.09846898913383484, 0.3059670031070709, 0.007326056715101004, 0.04025372862815857, 0.1739676147699356, 0.03833523765206337, -0.10934845358133316, -0.37341493368148804, 0.18685367703437805, -0.15778686106204987, 0.5973110198974609, -0.3821020722389221, -0.25818920135498047, 0.024526463821530342, 0.6452435255050659, -0.10507041215896606, 0.523025393486023, 0.05807443708181381, 0.135442852973938, -0.12140822410583496, 0.5764597654342651, 0.5706202387809753, 1.072826862335205, -0.05424685403704643, -0.0673915445804596, 0.5126292705535889, -0.3894178867340088, -0.01979253813624382, 0.13050630688667297, -0.012748392298817635, 0.3698105812072754, -0.11311960965394974, 0.5210185647010803, -0.20816825330257416, -0.6914389133453369, 0.10687630623579025, -0.2568606734275818, -0.2749214172363281, -0.2733466625213623, -0.10228227078914642, 0.08313000947237015, -0.029347941279411316, 0.41334855556488037, -0.4934915006160736, 0.30600640177726746, -0.5118340253829956, 0.43669161200523376, 0.5556002259254456, -0.11501268297433853, -0.3221937417984009, 0.8146277070045471, 0.7896304130554199, -0.6845633387565613, 0.36761710047721863, -0.0789719745516777, -0.4318654537200928, 0.9865070581436157, 0.3287583887577057, 1.152024745941162, -0.07092409580945969, 0.39637047052383423, 0.2636279761791229, 0.12972630560398102, 0.5407108068466187, 0.7890363335609436, 0.007883048616349697, -0.3697788119316101, -0.18262772262096405, -0.38579636812210083, -0.7880488038063049, 0.1664838343858719, -0.37198248505592346, 0.3815908133983612, -0.4759681224822998, -0.10020969063043594, 0.022225618362426758, -0.18426118791103363, -0.683038592338562, 0.0008901138789951801, -0.12272565811872482, 0.7487549781799316, -0.505832850933075, 0.20453812181949615, 0.8756334781646729, -0.256542831659317, -0.86993008852005, -0.32746291160583496, -0.08404763042926788, -0.5339035987854004, 0.6215388178825378, -0.06671369820833206, -0.005124326329678297, -0.13988728821277618, -0.09659019857645035, -0.6298142671585083, 1.115901231765747, -0.04577850177884102, -0.6061198711395264, -0.10175739973783493, -0.12347305566072464, 0.610361635684967, -0.16565659642219543, 0.7481070160865784, 0.3495357036590576, 0.277606725692749, 0.10197246819734573, -1.387812614440918, -0.001544024096801877, -0.5551323890686035, -0.22936618328094482, 0.347311407327652, -0.7726390957832336, 0.6760796308517456, -0.08312784135341644, -0.35814279317855835, -0.14674799144268036, 0.5272670388221741, 0.32918938994407654, 0.24370591342449188, 0.5973657369613647, 0.057953719049692154, 0.8799159526824951, 0.15917514264583588, 0.6769518256187439, -0.6305953860282898, -0.03408795967698097, 0.938700258731842, 0.02636905014514923, 0.7903746962547302, 0.45457199215888977, -0.1109866350889206, 0.37580323219299316, 0.7190297842025757, 0.5254966020584106, 0.18127965927124023, 0.08016830682754517, -0.39537161588668823, -0.15678319334983826, -0.17709685862064362, -0.4410479962825775, 0.18720680475234985, 0.46736830472946167, -0.2079213261604309, -0.11049669981002808, 0.18194784224033356, -0.17093531787395477, 0.19290989637374878, -0.09576314687728882, 1.0103867053985596, 0.19310534000396729, -0.4913909137248993, 0.6011870503425598, -0.2651309669017792, 0.5596458911895752, -0.27727946639060974, -0.34794431924819946, -0.44347068667411804, 0.25946399569511414, 0.01627419702708721, -0.6306501030921936, 0.4695199429988861, -0.18032772839069366, -0.09918424487113953, -0.2446773201227188, 0.5540104508399963, -0.16205449402332306, -0.33904871344566345, 0.2095504105091095, 0.736636757850647, 0.19561904668807983, -0.09099636971950531, -0.5720543265342712, 0.18567416071891785, -0.19703102111816406, -0.21401436626911163, -0.003352057421579957, 0.23146021366119385, -0.06735809892416, 0.7977936267852783, 0.3073630928993225, 0.04124210402369499, -0.033792994916439056, 0.02052883803844452, 1.276641845703125, -0.1929498016834259, -0.4319765567779541, -0.28617364168167114, 0.4144035279750824, -0.16431768238544464, -0.23472513258457184, 0.623110294342041, 0.5873730778694153, 0.7486861944198608, -0.20780695974826813, 0.8550515174865723, -0.060365382581949234, 0.8112949132919312, -0.3988378047943115, 0.5646008253097534, -0.5597293972969055, 0.46432948112487793, -0.1403665691614151, -0.9158015251159668, 0.19708958268165588, 0.397919237613678, -0.202499657869339, 0.06419432908296585, 0.666222095489502, 1.1424198150634766, -0.15214647352695465, 0.2696627378463745, 0.28864169120788574, -0.15628467500209808, 0.8870263695716858, 0.4378410875797272, 0.9087578654289246, -0.3565411865711212, 0.5853524804115295, -0.3305184543132782, -0.4238194525241852, -0.0357416570186615, -0.22391684353351593, -1.141303539276123, -0.5110264420509338, -0.15211470425128937, 0.051401421427726746, 0.04911527410149574, 1.186482548713684, 0.5453776121139526, -0.6820308566093445, -0.15080280601978302, 0.064874067902565, 0.014121460728347301, 0.09175248444080353, -0.20640051364898682, 0.4255315661430359, -0.2892405390739441, -0.914211630821228, 0.6618735790252686, 0.03899119421839714, 0.10963254421949387, -0.4500557780265808, 0.1485081911087036, 0.041839271783828735, 0.431812047958374, 0.608493983745575, 0.22515219449996948, -0.5728859305381775, -0.28215330839157104, 0.5361390709877014, -0.21227280795574188, -0.06955353915691376, 0.5151336193084717, -0.5273613929748535, 0.8581362366676331, 0.9071428179740906, 1.1978299617767334, -0.034599851816892624, 0.23687177896499634, 0.8492175340652466, -0.47283801436424255, 0.04692772403359413, 0.26616501808166504, 0.10466007888317108, 0.18097513914108276, -0.7366725206375122, 0.46215224266052246, -0.06025433540344238, -0.807950496673584, -0.5401849150657654, 0.0902649536728859, -0.7474030256271362, -0.1858171820640564, 1.2283413410186768, 0.2557961344718933, -0.03723999485373497, -0.38387539982795715, -0.8143596649169922, -0.05096691474318504, -0.45592111349105835, 1.090540885925293, 0.47556477785110474, -0.2621961832046509, -0.17950716614723206, -0.8166094422340393, 0.4472842514514923, 0.4350843131542206, -1.2513172626495361, 0.0007864240324124694, 0.49974703788757324, -0.18499082326889038, 0.2928840219974518, 0.8222118020057678, 0.25040218234062195, 0.4794694781303406, -0.021824050694704056, -0.07378211617469788, -0.1138940304517746, -0.5313677191734314, 0.24534568190574646, -0.1548500955104828, 0.204248309135437, -0.6497923731803894 ]
http://arxiv.org/abs/2406.01749v1
http://arxiv.org/pdf/2406.01749v1
Towards Harnessing Large Language Models for Comprehension of Conversational Grounding
2024-06-03T19:34:39
2024-06-03T19:34:39
Kristiina Jokinen, Phillip Schneider, Taiga Mori
cs.CL
cs.CL
Conversational grounding is a collaborative mechanism for establishing mutual knowledge among participants engaged in a dialogue. This experimental study analyzes information-seeking conversations to investigate the capabilities of large language models in classifying dialogue turns related to explicit or implicit grounding and predicting grounded knowledge elements. Our experimental results reveal challenges encountered by large language models in the two tasks and discuss ongoing research efforts to enhance large language model-based conversational grounding comprehension through pipeline architectures and knowledge bases. These initiatives aim to develop more effective dialogue systems that are better equipped to handle the intricacies of grounded knowledge in conversations.
[ -0.4501054584980011, -0.994411289691925, 0.8775365948677063, 0.1489456444978714, -0.17312386631965637, 0.09544175863265991, -0.2395380735397339, -0.2389640510082245, -0.16042834520339966, 0.6140365600585938, -0.3707250654697418, -0.387077659368515, -0.6218799948692322, -0.49898630380630493, -0.47498536109924316, 0.8507739305496216, 0.16219697892665863, 0.222962886095047, -0.37313327193260193, -0.246717169880867, -0.8663473129272461, -0.8172286152839661, -0.4981231689453125, -0.4805426597595215, 0.3040066361427307, 0.45534560084342957, 0.9138296842575073, 0.040781233459711075, 0.180489182472229, 0.27404457330703735, -0.3822866976261139, -0.20917175710201263, -0.8047112822532654, 0.3107199966907501, -0.3229324519634247, -0.738321840763092, 0.07096337527036667, 0.126384899020195, 0.6059809327125549, 1.3168931007385254, -0.11687782406806946, -0.21789531409740448, -0.026649359613656998, 0.6627132892608643, -0.5104565620422363, 0.37708109617233276, -0.7267696857452393, 0.1442701518535614, 0.415137380361557, -0.3467721939086914, -0.609544575214386, -0.11753307282924652, 0.5066917538642883, -0.33921876549720764, 0.15407629311084747, 0.20228126645088196, 0.6418752074241638, 0.04667431488633156, -0.46454375982284546, -0.418037086725235, -0.7125824093818665, 0.5577127933502197, -0.6278440356254578, 0.7036454677581787, 0.5313783288002014, 0.13525229692459106, -0.07508870214223862, -0.49497416615486145, -0.5565118789672852, -0.5311451554298401, -0.19191543757915497, 0.10651098191738129, 0.12781618535518646, 0.4053502380847931, 0.523883044719696, 0.6454059481620789, -0.09486633539199829, -0.2086092084646225, -0.3572765290737152, 0.1685217171907425, 0.10094621777534485, 0.03653395548462868, 0.3731158375740051, -0.027007510885596275, 0.10313716530799866, 0.10383442044258118, -0.6012718081474304, 0.11595688760280609, 0.19107091426849365, 0.06663339585065842, -0.18613757193088531, 0.6940104961395264, -0.5174492001533508, 0.7121362686157227, 0.20291510224342346, -0.005591972731053829, -0.0014754720032215118, -0.18068398535251617, -0.3870788514614105, 0.039006590843200684, 0.26911911368370056, 0.6140127778053284, 0.31494373083114624, -0.3200194239616394, -0.0020362460054457188, -0.013648292049765587, 0.1343785971403122, -0.6970246434211731, -0.1682034581899643, 0.19157208502292633, -0.4871200919151306, -0.4351607859134674, 0.14830094575881958, -0.4463137090206146, -0.5095601677894592, -0.7413853406906128, 0.12135259062051773, -0.3995583951473236, -0.5668756365776062, 0.20733581483364105, -0.5218111276626587, 0.4287027418613434, 0.3902750611305237, -0.8410837054252625, 0.306141197681427, 0.8586292266845703, 0.8650708198547363, 0.24094951152801514, -0.16773152351379395, -0.48828718066215515, 0.16758142411708832, -0.4491625428199768, 0.3597722053527832, -0.47624504566192627, -0.40702781081199646, 0.0805705264210701, 0.07375723123550415, -0.027202369645237923, -0.31017422676086426, 0.4712224006652832, -0.7740017175674438, 0.4052020013332367, -0.42766568064689636, -0.34911373257637024, -0.36644628643989563, 0.6322215795516968, -0.27759721875190735, 0.6571089625358582, 0.013672702014446259, -1.0137439966201782, 0.23926453292369843, -0.37248703837394714, -0.1517460197210312, 0.07936786860227585, -0.2171143740415573, 0.2374064326286316, 0.23529505729675293, 0.014634155668318272, 0.6315789222717285, -0.5434853434562683, 0.8633632063865662, -0.3017495572566986, -0.2198621779680252, 0.40076133608818054, -0.3801249861717224, 0.52750563621521, 0.054719191044569016, -0.45844078063964844, 0.0032056774944067, -0.7070208787918091, 0.09437327086925507, 0.020736772567033768, -0.1746719926595688, -0.4890613257884979, 0.22702214121818542, -0.28271207213401794, 0.260193794965744, -0.05378572270274162, -0.13516469299793243, 0.005636014975607395, -0.6906712651252747, 0.4995458722114563, 0.37889012694358826, 0.16296891868114471, 0.6608979105949402, -0.2562410831451416, 0.11133905500173569, 0.06755167990922928, -0.33676043152809143, -0.6746870875358582, -0.4482195973396301, -1.2781263589859009, 0.3051789700984955, 0.022757526487112045, 0.4762401282787323, -0.5721574425697327, 0.49601131677627563, -0.3353295922279358, -0.34359821677207947, -0.1167655661702156, -0.16876661777496338, 0.4342595338821411, 0.526384174823761, 0.14012105762958527, -0.05459490790963173, -0.4006098210811615, -0.8041817545890808, 0.1379868984222412, -0.38025400042533875, -0.07882744818925858, 0.49003732204437256, 0.2012801170349121, -0.281046986579895, 1.068225383758545, -0.36930835247039795, 0.08081725984811783, -0.18789581954479218, 0.55064457654953, 0.28505420684814453, 0.4702157974243164, 0.5666313171386719, -0.9202183485031128, -0.3583747148513794, 0.21920664608478546, -1.0928157567977905, -0.06749977171421051, 0.19611819088459015, -0.16300879418849945, -0.170330211520195, 0.8466567993164062, -0.859156608581543, 0.3508913815021515, 0.612586259841919, -0.28847795724868774, 0.5158905386924744, 0.10160420835018158, 0.394062340259552, -0.8262677788734436, 0.07275709509849548, -0.33458274602890015, -0.0638430118560791, -0.7946919798851013, 0.254759281873703, -0.27335745096206665, -0.4049379229545593, -0.1966439038515091, 0.2706609070301056, -0.5657283663749695, -0.07013731449842453, -0.2264108508825302, 0.13942629098892212, 0.054287392646074295, 0.39678481221199036, 0.40649640560150146, 0.7877880930900574, 0.7934849858283997, -0.7585840821266174, 0.291949987411499, 0.3083489239215851, -0.36586523056030273, 0.7348154783248901, -0.7687904238700867, 0.42637792229652405, -0.3534195125102997, 0.41403165459632874, -1.1854257583618164, -0.41088855266571045, -0.0699833333492279, -0.4381149709224701, -0.07413484901189804, -0.5752951502799988, -0.24169421195983887, -0.2101583331823349, 0.2805153727531433, 0.3226696252822876, 0.5182219743728638, -0.5088774561882019, 0.608505368232727, 0.42701250314712524, -0.38899099826812744, -0.32970261573791504, -0.2878876030445099, 0.1903170943260193, -0.3753920793533325, -1.0204154253005981, -0.14063580334186554, -0.035785675048828125, -0.8355927467346191, -0.41140496730804443, 0.05103427544236183, -0.14734318852424622, 0.11862759292125702, 0.5644206404685974, -0.16566616296768188, -0.47103944420814514, 0.31272539496421814, -0.11841894686222076, -0.22938871383666992, 0.46268051862716675, -0.42839109897613525, 0.884486734867096, -0.09313447773456573, -0.5451192855834961, -0.2599743902683258, 0.584559440612793, 1.0070172548294067, -0.04630023613572121, 1.0513105392456055, 0.14445242285728455, -0.29143598675727844, 0.05132461339235306, -1.0162320137023926, -0.17788735032081604, -0.45707273483276367, 0.12738031148910522, -0.6477968096733093, -1.088865876197815, 0.5499718189239502, -0.338765412569046, -0.08282971382141113, 0.18153411149978638, 0.407950222492218, -0.04403704032301903, 1.2850817441940308, 0.5381770730018616, -0.2690061032772064, 0.3036503791809082, -0.15962816774845123, 0.3731327950954437, -0.5569931268692017, -0.2538938820362091, -0.6549633145332336, 0.18201954662799835, 0.16538883745670319, -0.49419209361076355, 0.22407962381839752, 0.4225788116455078, -0.08853873610496521, -0.2792162001132965, -0.1810024231672287, 0.47641682624816895, 0.5593785643577576, 0.08231104165315628, 0.3245372474193573, 0.05508022382855415, -0.2623106837272644, -0.11906936019659042, -0.3513175845146179, -0.41315171122550964, 0.6029180884361267, 0.5288487672805786, 0.6082700490951538, -0.10328146070241928, -0.11854980140924454, 0.031969036906957626, -0.019149327650666237, -1.0202527046203613, 0.4383362829685211, 0.5564077496528625, -0.46292707324028015, -0.2649328112602234, -0.24932220578193665, -0.6213822364807129, 0.2737516462802887, -0.11990531533956528, -0.8336542844772339, -0.0924435630440712, -0.04708072543144226, 0.0738937184214592, 0.15424394607543945, -0.6970478892326355, 0.64756178855896, -0.2063729166984558, -0.2348790317773819, -0.5164783596992493, -0.7657398581504822, 0.3572901487350464, 0.09461849927902222, 0.493737131357193, 0.04792649671435356, 0.7591301798820496, 0.6172651648521423, -0.2941226065158844, 0.7307961583137512, -0.40972909331321716, -0.339776873588562, 0.33792275190353394, 0.20688943564891815, 0.549131453037262, 0.13924185931682587, -0.14537586271762848, 0.18316635489463806, -0.24811656773090363, -0.2848169505596161, -0.7739427089691162, 0.5786385536193848, -0.7940118312835693, -0.9465358257293701, -0.15280689299106598, -0.38652095198631287, -0.49568507075309753, 0.2516028881072998, 0.13036836683750153, 0.3113101124763489, -0.49568381905555725, 0.6998591423034668, 0.9977019429206848, -0.11531510949134827, -0.06576276570558548, 0.605452835559845, -0.3571670949459076, -0.11881941556930542, 0.46195751428604126, -0.15947583317756653, 0.5550116896629333, 0.42272770404815674, 0.1226905956864357, -0.01252292562276125, -0.8303086161613464, -0.13465483486652374, 0.050126440823078156, -0.9264618158340454, 0.17297977209091187, -1.2376492023468018, -0.4357421398162842, -0.5221421718597412, -0.3122027814388275, -0.1931760013103485, -0.1628376692533493, -0.24306757748126984, -0.6204100847244263, 0.17848974466323853, 0.7944583892822266, 0.3013800382614136, 0.5889701247215271, -0.8888967037200928, 0.2354608029127121, 0.48954886198043823, 0.19913004338741302, -0.012534729205071926, -0.5577583312988281, -0.06643126904964447, 0.4641461670398712, -0.008662904612720013, -0.8853162527084351, 0.13977991044521332, -0.2712151110172272, 0.5534164905548096, 0.5368351936340332, 0.019983578473329544, 0.8192636966705322, -0.48448026180267334, 0.9168447852134705, 0.344396710395813, -1.169432520866394, 0.6812167763710022, -0.762711226940155, 0.13164851069450378, 0.5966877937316895, 0.3030009865760803, -0.912828803062439, -0.34477221965789795, -0.6055672764778137, -0.78354811668396, 0.741328775882721, 0.28994888067245483, 0.34396809339523315, 0.04502495005726814, 0.17574596405029297, -0.1397947072982788, 0.40789276361465454, -0.7029225826263428, 0.0523759126663208, 0.054395608603954315, 0.23785312473773956, -0.1561759114265442, -0.6137100458145142, -0.4949195683002472, -0.19246098399162292, 0.5171099305152893, -0.17135468125343323, 0.25755977630615234, 0.04689640551805496, -0.3021339178085327, -0.3092910945415497, 0.31609252095222473, 0.2941107153892517, 0.7486291527748108, -0.17386411130428314, 0.2625233232975006, 0.30472493171691895, -0.09480661153793335, 0.14171616733074188, -0.2812567353248596, 0.04177828133106232, -0.15438303351402283, 0.2154148370027542, 1.1775133609771729, 0.46905064582824707, -0.6897148489952087, 0.5497215390205383, -0.049277521669864655, -0.3208145201206207, -0.5476043224334717, 0.07487563788890839, 0.21406936645507812, 0.07966524362564087, 0.442371666431427, -0.10482734441757202, 0.1732097566127777, -0.8238500356674194, 0.24505464732646942, 0.4685176908969879, -0.5631487965583801, -0.18361233174800873, 0.2201947420835495, 0.3379483222961426, -0.3154153823852539, 0.8278358578681946, 0.10964702814817429, -0.7755377888679504, 0.4531838595867157, 0.5373230576515198, 0.5045533776283264, -0.026306258514523506, 0.20474794507026672, 0.24731573462486267, 0.012341911904513836, -0.27761948108673096, -0.3387485444545746, -0.23128832876682281, -1.0163891315460205, -0.32766056060791016, -0.3535827696323395, -0.6065201163291931, 0.2729495167732239, -0.5472577214241028, 0.4654695391654968, -0.538312554359436, 0.22407732903957367, -0.16637085378170013, -0.34799790382385254, -0.48690181970596313, 0.34945017099380493, 0.26194605231285095, 0.7000042796134949, -0.9770119786262512, 0.4752837121486664, 0.661908745765686, -0.18964263796806335, -1.0001416206359863, 0.005933294538408518, -0.16962087154388428, -0.611107349395752, 0.93299800157547, 0.4538535475730896, -0.21473468840122223, 0.03698605298995972, -0.8595384955406189, -0.9992653131484985, 0.828771710395813, 0.11437927931547165, -0.28930145502090454, -0.3546355664730072, 0.04340182617306709, 0.5213998556137085, -0.43818387389183044, 0.5662516355514526, 0.601877748966217, 0.4108743369579315, 0.4899156391620636, -1.1027835607528687, -0.03544896841049194, -0.4501221179962158, -0.2553298771381378, 0.0383569672703743, -0.7220423221588135, 0.8502852320671082, 0.2381431609392166, -0.20570619404315948, 0.10930781066417694, 0.5209109783172607, 0.2847823202610016, 0.5023863315582275, 0.7359986305236816, 0.6170546412467957, 0.7052087783813477, -0.20816609263420105, 0.7011550068855286, -0.37544819712638855, 0.20896369218826294, 0.9571386575698853, -0.43046805262565613, 0.3854978680610657, 0.2714492082595825, -0.017645370215177536, 0.5571905970573425, 0.2568574845790863, 0.46272245049476624, 0.28461283445358276, 0.15493527054786682, -0.3379432260990143, -0.34604182839393616, -0.21080297231674194, -0.6363587975502014, 0.40377694368362427, 0.8539246916770935, -0.34076088666915894, 0.07684595137834549, 0.14156745374202728, -0.0759657770395279, 0.028265951201319695, -0.1293850988149643, 1.1626614332199097, 0.022513164207339287, -1.0776493549346924, 0.5513059496879578, -0.011672110296785831, 0.30235546827316284, -0.3897233307361603, -0.1629185527563095, -0.011351590044796467, -0.1262943595647812, -0.07545583695173264, -0.6722344160079956, 0.1422191709280014, -0.2333945631980896, -0.28010377287864685, -0.3171493113040924, 0.922281801700592, -0.2518250048160553, 0.058608729392290115, 0.4836520850658417, 0.520553469657898, 0.1604854315519333, -0.3986022472381592, -0.44467708468437195, 0.0892850011587143, 0.05171363428235054, -0.176848903298378, 0.22960583865642548, 0.8906256556510925, 0.07500605285167694, 0.7357989549636841, 0.8718336224555969, -0.30499741435050964, 0.05616249889135361, 0.19027714431285858, 1.1363236904144287, -0.7751460075378418, -0.7654399871826172, -0.4466501772403717, 0.7613227367401123, -0.2877994477748871, 0.19525718688964844, 0.6116872429847717, 0.36018288135528564, 0.4258524477481842, -0.12247622013092041, 1.0140646696090698, -0.18634966015815735, 0.5878319144248962, -0.7687187194824219, 0.4977457523345947, -0.037212226539850235, 0.10593226552009583, -0.35459956526756287, -1.1021428108215332, 0.05793991684913635, 0.8743597865104675, -0.4717685580253601, -0.18443170189857483, 0.8555901646614075, 0.45712798833847046, -0.19271965324878693, 0.3391677737236023, 0.523534893989563, 0.429404079914093, 0.39485472440719604, 0.24451343715190887, 1.5099360942840576, -0.0366298109292984, 0.10252997279167175, 0.02259957231581211, -0.3884875774383545, -0.180539071559906, -0.6646791696548462, -1.3892936706542969, -0.5992920994758606, 0.0411042757332325, -0.5030325055122375, 0.18256087601184845, 0.8109212517738342, 1.008406639099121, -0.7788179516792297, -0.1785297989845276, -0.7076860070228577, 0.04230372980237007, 0.42031919956207275, -0.3335452377796173, -0.3036095201969147, -0.4930132329463959, -0.6985687017440796, 0.5874024033546448, 0.17867723107337952, -0.020671319216489792, -0.21964554488658905, -0.09403587132692337, -0.06429925560951233, -0.08602596819400787, 0.679000973701477, 0.1474040001630783, -0.604984700679779, -0.4851822853088379, -0.09992019087076187, 0.17005766928195953, -0.0073036374524235725, 1.2743369340896606, -0.7618492245674133, 0.3331655263900757, 0.44155871868133545, 0.6518138647079468, 0.45409393310546875, 0.2888590693473816, 0.9806384444236755, -0.7528897523880005, 0.7498724460601807, 0.1263851374387741, 0.35595086216926575, 0.3812318444252014, -0.5047123432159424, 0.4575589597225189, 0.29358819127082825, -0.6425822973251343, -0.7471091151237488, 0.21833907067775726, -0.940226137638092, -0.07462255656719208, 1.4230183362960815, -0.2641269266605377, 0.3662038743495941, -0.38893166184425354, -0.7275135517120361, 0.1566101312637329, -0.23679687082767487, 0.5743277072906494, 1.178261160850525, 0.5792133808135986, -0.4832155108451843, -0.4795774817466736, 0.21474583446979523, 0.5450902581214905, -0.6896615624427795, 0.22828322649002075, 0.8146432042121887, 0.10522378981113434, 0.5522263646125793, 0.7909256815910339, 0.18793830275535583, -0.026976585388183594, -0.03886682167649269, -0.2851713299751282, 0.40889787673950195, -0.5107904076576233, -0.11802595853805542, 0.44291776418685913, 0.3244197368621826, 0.48253944516181946 ]
http://arxiv.org/abs/2406.06574v1
http://arxiv.org/pdf/2406.06574v1
Towards Transparency: Exploring LLM Trainings Datasets through Visual Topic Modeling and Semantic Frame
2024-06-03T18:44:13
2024-06-03T18:44:13
Charles de Dampierre, Andrei Mogoutov, Nicolas Baumard
cs.CL
cs.CL, cs.AI
LLMs are now responsible for making many decisions on behalf of humans: from answering questions to classifying things, they have become an important part of everyday life. While computation and model architecture have been rapidly expanding in recent years, the efforts towards curating training datasets are still in their beginnings. This underappreciation of training datasets has led LLMs to create biased and low-quality content. In order to solve that issue, we present Bunka, a software that leverages AI and Cognitive Science to improve the refinement of textual datasets. We show how Topic Modeling coupled with 2-dimensional Cartography can increase the transparency of datasets. We then show how the same Topic Modeling techniques can be applied to Preferences datasets to accelerate the fine-tuning process and increase the capacities of the model on different benchmarks. Lastly, we show how using Frame Analysis can give insights into existing biases in the training corpus. Overall, we argue that we need better tools to explore and increase the quality and transparency of LLMs training datasets.
[ -0.5249330401420593, -0.7408440709114075, 0.6856407523155212, -0.14892682433128357, -0.15103666484355927, 0.05797630548477173, -0.19329197704792023, -0.2457488477230072, 0.23511691391468048, 0.8660669922828674, -0.6120549440383911, -0.935518205165863, -0.8144351243972778, -0.5105031728744507, -0.31856876611709595, 0.9127793312072754, -0.27218976616859436, 0.5176640152931213, -0.5030255317687988, -0.08693299442529678, -0.918092668056488, -0.33274373412132263, -0.466100811958313, -0.44106826186180115, 0.28352686762809753, 0.7211549878120422, 0.7291476130485535, 0.6089249849319458, 0.40568777918815613, 0.21736662089824677, -0.0719367265701294, -0.03303445875644684, -0.9116765856742859, 0.28856998682022095, -0.2712464928627014, -0.9351714253425598, -0.301144003868103, 0.22174334526062012, 0.5773955583572388, 0.6184412837028503, 0.15668219327926636, 0.2291206270456314, -0.00648642098531127, 1.01859712600708, -0.5931184887886047, 0.3508664667606354, -0.6384714841842651, 0.21342970430850983, -0.19323979318141937, -0.2247832715511322, -0.21166302263736725, -0.2574072480201721, 0.24743589758872986, -0.7521538138389587, 0.4820212125778198, 0.10587302595376968, 0.9500666260719299, 0.7660676836967468, -0.2696534991264343, -0.4207302927970886, -0.6040923595428467, 0.8614493012428284, -0.2221914529800415, 0.47455960512161255, 0.5903574228286743, 0.17602671682834625, -0.16209636628627777, -0.6444143056869507, -0.32309776544570923, 0.04332645609974861, -0.04836517944931984, 0.032137077301740646, -0.007238241843879223, -0.085872583091259, 0.20343536138534546, 0.3530731797218323, -0.48355919122695923, 0.03718689829111099, -0.4413522779941559, -0.305492639541626, 0.680392861366272, 0.34441983699798584, 0.37456345558166504, -0.234121173620224, -0.22910815477371216, -0.2060297578573227, -0.8198843002319336, 0.034557074308395386, 0.49814146757125854, -0.01738811656832695, -0.08365634828805923, 0.7012138962745667, -0.3637494742870331, 0.5115296244621277, -0.22304436564445496, 0.04228803142905235, 0.03997021168470383, -0.01842590607702732, -0.13738282024860382, 0.13069996237754822, 0.35523512959480286, 0.5424570441246033, 0.09443751722574234, -0.11512970924377441, -0.01811804808676243, 0.38505399227142334, 0.48550936579704285, -0.8065561652183533, -0.24493299424648285, 0.4105255603790283, -0.4584267735481262, -0.22343139350414276, 0.011052561923861504, -0.6815175414085388, -0.43394291400909424, -0.8524655699729919, 0.03378568962216377, -0.31704652309417725, 0.02194041572511196, 0.4404316842556, 0.045066941529512405, 0.4195614457130432, 0.7346665859222412, -0.9361793994903564, 0.11806513369083405, 1.1427534818649292, 0.6784552335739136, -0.46168527007102966, -0.03686046227812767, -0.21188734471797943, -0.0003233252791687846, -0.5479828119277954, 0.8893709778785706, -0.53716641664505, -0.4003114700317383, -0.1483941525220871, 0.005396849475800991, 0.4196167290210724, -0.4199070632457733, 0.5667791366577148, -0.652256190776825, 0.30275410413742065, -0.4159385561943054, -0.6582632064819336, -0.24533472955226898, 0.487109512090683, -0.6793562769889832, 1.0596827268600464, -0.1492154598236084, -0.6651655435562134, 0.5553799271583557, -0.6656345725059509, 0.10504338145256042, -0.16210927069187164, -0.5721114873886108, -0.6112604141235352, 0.05150379240512848, 0.45320746302604675, 0.5679937601089478, -0.16721723973751068, 0.7131182551383972, -0.20162801444530487, -0.41338226199150085, 0.14407892525196075, -0.44096019864082336, 0.6606249213218689, 0.17363989353179932, -0.03676064312458038, 0.37744641304016113, -0.26352113485336304, -0.11573827266693115, -0.18681545555591583, -0.1468685120344162, -0.21408456563949585, -0.04889284446835518, -0.04505498334765434, 0.03693567216396332, 0.2518637478351593, -0.21907375752925873, 0.32545843720436096, -0.2423517256975174, 0.34454357624053955, 0.9409078359603882, -0.15079371631145477, 0.7085679173469543, -0.3309585154056549, 0.35588061809539795, 0.1012481078505516, 0.26941490173339844, -0.21531370282173157, -0.7884333729743958, -0.9588363766670227, -0.2224060446023941, 0.48597922921180725, 0.2675570845603943, -0.6352375149726868, 0.23135343194007874, -0.35769739747047424, -0.22556589543819427, -0.7330190539360046, 0.05745752900838852, 0.15942838788032532, 0.41134050488471985, 0.1309775412082672, -0.670505940914154, -0.20237649977207184, -0.8668419122695923, 0.00833346787840128, 0.0548255629837513, -0.12152312695980072, 0.44401416182518005, 0.5194505453109741, -0.19179382920265198, 1.2937387228012085, -0.7518745064735413, -0.4290398061275482, 0.11395327746868134, 0.22214418649673462, 0.0030166124925017357, 0.48003512620925903, 0.3129846453666687, -0.9250098466873169, -0.2844850718975067, -0.3156016170978546, -0.9844571948051453, 0.12238910049200058, 0.07443379610776901, -0.5547155141830444, 0.07440666854381561, 0.49133601784706116, -0.2806117534637451, 0.6204595565795898, 0.29592618346214294, -0.46025270223617554, 0.1625460386276245, -0.09229045361280441, 0.0792989656329155, -0.9112579822540283, -0.30311867594718933, -0.13531328737735748, -0.2961275279521942, -0.4148437976837158, -0.0810975432395935, -0.07953114807605743, -0.3102046549320221, -0.5515928864479065, 0.67458575963974, -0.4557015597820282, -0.5155080556869507, -0.5203397870063782, 0.17920131981372833, 0.09305687993764877, 0.4995775818824768, 0.24079720675945282, 0.8373257517814636, 0.8966026306152344, -0.24085484445095062, 0.17933201789855957, 0.6837443709373474, -0.4472688138484955, 0.5030186772346497, -0.3364424705505371, 0.1436738818883896, -0.45394328236579895, 0.254523366689682, -0.8018187880516052, -0.4309007227420807, 0.37443986535072327, -0.28736409544944763, 0.42886170744895935, -0.2526390254497528, -0.3603127896785736, 0.12416329979896545, -0.5814885497093201, 0.1626274585723877, 0.3791945278644562, -0.622559666633606, 0.39803922176361084, 0.7594875693321228, -0.051041245460510254, -0.7804437875747681, -0.7036156058311462, 0.2123624086380005, -0.18851740658283234, -0.7402138113975525, 0.5826370120048523, -0.1547323763370514, -0.22904321551322937, 0.10588159412145615, -0.16727370023727417, 0.0032002925872802734, 0.06764858216047287, 0.648555338382721, 0.3903166353702545, -0.1685931384563446, 0.12452022731304169, 0.04037892818450928, -0.36224424839019775, 0.05063088238239288, -0.2541647255420685, 0.5238423943519592, -0.4253860414028168, -0.6132267713546753, -0.5929469466209412, 0.09708190709352493, 0.1018514335155487, 0.015212283469736576, 0.5642412900924683, 0.6077830195426941, -0.2886727750301361, -0.2233428657054901, -0.5670801401138306, -0.405986487865448, -0.46619516611099243, 0.2093670517206192, -0.10996389389038086, -1.0407589673995972, 0.3441028594970703, -0.28567948937416077, -0.18463757634162903, 0.10165750235319138, 0.798812985420227, -0.05078164488077164, 0.4582182765007019, 0.9856759905815125, -0.02916571870446205, 0.6904308795928955, -0.6332377791404724, -0.08931893110275269, -0.7953369617462158, -0.5687439441680908, -0.269562691450119, -0.42151620984077454, -0.8529071807861328, -0.6454983353614807, 0.3419564366340637, 0.1568700075149536, -0.11930530518293381, -0.20660437643527985, -0.6873266696929932, 0.9071849584579468, 0.6954621076583862, 0.48309648036956787, 0.37768885493278503, 0.15586082637310028, 0.31453967094421387, -0.18638642132282257, -0.6526648998260498, -1.0464569330215454, 1.4894819259643555, 0.5288500785827637, 0.8941752314567566, -0.33222925662994385, 0.570046067237854, 0.4547162353992462, 0.6468173861503601, -0.8576443791389465, 0.5642728805541992, -0.1172441840171814, -0.5962415337562561, -0.45658037066459656, -0.10787024348974228, -0.7719658613204956, 0.16907741129398346, -0.3293110132217407, -0.4124002456665039, 0.39522236585617065, -0.09724462032318115, 0.05547839403152466, 0.3366676867008209, -0.5107447504997253, 0.6895244121551514, -0.2511198818683624, -0.8118708729743958, -0.06339054554700851, -0.5651190280914307, 0.471086710691452, -0.04966876283288002, -0.1704901158809662, -0.5445945858955383, -0.08576936274766922, 0.7641562819480896, -0.1304434984922409, 0.9042274951934814, 0.04599505290389061, -0.15963056683540344, 0.2020116150379181, -0.10773421823978424, 0.2594873309135437, 0.465661883354187, -0.22060659527778625, 0.7225216627120972, -0.3878025412559509, -0.547078549861908, -0.6300859451293945, 0.7515817880630493, -0.9742832183837891, -0.6889917850494385, -0.32427021861076355, -0.6184108257293701, -0.27171745896339417, -0.05863554775714874, 0.12898357212543488, 0.10554780811071396, -0.24596285820007324, 0.11820251494646072, 0.9032496809959412, -0.2063816338777542, 0.04526131972670555, 0.43364980816841125, -0.07996141910552979, -0.1397681087255478, 0.758751630783081, 0.03658412769436836, -0.2194264978170395, 0.294101744890213, -0.05719389021396637, -0.2468748539686203, -0.7518958449363708, -0.3444966971874237, -0.02280263602733612, -0.9263717532157898, -0.1862397938966751, -0.38470184803009033, -0.20246320962905884, -0.08490780740976334, -0.3409976065158844, -0.3874768912792206, -0.5139848589897156, -0.5934547781944275, -0.13643556833267212, 0.31777679920196533, 0.9084672331809998, 0.07350262254476547, 0.4773721694946289, -0.216651052236557, 0.5518165230751038, 0.2898174822330475, 0.587385892868042, -0.317856103181839, -0.25764504075050354, -0.07206572592258453, 0.01864997297525406, -0.6112991571426392, -0.570466160774231, 0.4549831449985504, -0.4156242609024048, 0.5662990212440491, 0.2626708149909973, -0.05851832032203674, 0.2695298194885254, -0.4078262746334076, 0.9243515729904175, -0.0025537642650306225, -0.8805569410324097, 0.7254124879837036, -0.2171764075756073, -0.3352571725845337, 0.6089393496513367, 0.5596259236335754, -0.17517727613449097, -0.3761550188064575, -0.5127052664756775, -0.8228105306625366, 0.9036582112312317, 0.3780830204486847, 0.2028978317975998, 0.5240049958229065, 0.6315186023712158, 0.2543116509914398, 0.3265882134437561, -0.5830045342445374, -0.3349139094352722, -0.5620996952056885, -0.2239914834499359, 0.02449727989733219, -0.3700805902481079, -0.3006848096847534, -0.14723852276802063, 0.7371267676353455, -0.1233675479888916, 0.1545773148536682, 0.0024802256375551224, -0.032132722437381744, 0.09616100043058395, 0.2540864944458008, 0.3750496804714203, 0.6909887790679932, -0.33060410618782043, 0.04210665076971054, 0.10047490894794464, -0.5164940357208252, 0.16997389495372772, -0.26170411705970764, -0.4565524458885193, -0.10594265162944794, 0.2128811627626419, 1.071397066116333, 0.07132130116224289, -0.46232956647872925, 0.47026652097702026, -0.15100517868995667, -0.15213210880756378, -0.01625381037592888, 0.3866477608680725, 0.039067111909389496, 0.2890244424343109, 0.02934858947992325, -0.13999177515506744, 0.10304713249206543, -0.4881976842880249, 0.2221347689628601, 0.5522149205207825, -0.5553479194641113, 0.14570476114749908, 0.6506892442703247, 0.054598357528448105, -0.13680827617645264, 0.7306593060493469, 0.20649278163909912, -0.2758863568305969, 0.663025438785553, -0.08056505769491196, 0.7442068457603455, 0.10882457345724106, 0.39693334698677063, 0.12985242903232574, 0.344117671251297, -0.2709932029247284, 0.124118871986866, -0.1676187962293625, -0.8321619033813477, -0.20521004498004913, -0.6328043341636658, -0.8653186559677124, 0.2669743001461029, -0.6700624823570251, 0.5041658878326416, -0.1580079197883606, -0.19052347540855408, -0.11386099457740784, 0.19194245338439941, -0.6031866073608398, 0.2375982254743576, 0.18319597840309143, 0.6440874338150024, -0.6817697882652283, 0.7934788465499878, 0.36759084463119507, -0.3681606650352478, -0.2841711938381195, 0.047017112374305725, -0.15320906043052673, -0.8526564836502075, 0.802623450756073, 0.11716540157794952, 0.051068443804979324, -0.4205287992954254, -0.9819927215576172, -0.748889148235321, 1.3065520524978638, 0.73384028673172, -0.5174670815467834, 0.036280930042266846, 0.5829402804374695, 0.5272384285926819, -0.5329146385192871, 0.1436663120985031, 0.4559710919857025, 0.46621939539909363, 0.03998379409313202, -0.22338786721229553, -0.17656300961971283, -0.0025444908533245325, 0.14696583151817322, -0.18665166199207306, -0.6268664002418518, 0.8639324903488159, -0.01962864026427269, -0.0926472619175911, -0.3275049328804016, 0.6699855923652649, 0.3030587136745453, 0.6390570998191833, 0.10699404031038284, 0.41346120834350586, 0.9505496025085449, -0.36820709705352783, 0.8512982130050659, -0.39680221676826477, 0.4267769753932953, 1.2458747625350952, -0.30712348222732544, 0.6624433398246765, 0.4583820104598999, 0.13720834255218506, 0.3571130037307739, 0.8971782326698303, -0.17064540088176727, 0.5564259886741638, 0.3349815607070923, -0.07131495326757431, -0.2884712815284729, -0.26082277297973633, -0.27204734086990356, 0.34852832555770874, 0.592476487159729, -0.14056581258773804, -0.33557671308517456, 0.17390884459018707, -0.2511191666126251, 0.11248011142015457, -0.39382830262184143, 0.7246963977813721, 0.006677433382719755, -0.35954511165618896, 0.4031313359737396, 0.03313080966472626, 0.7174262404441833, -0.4303366243839264, -0.07791254669427872, -0.5117442011833191, -0.3159947395324707, -0.1861668825149536, -1.139506220817566, 0.4769781827926636, 0.000998193514533341, -0.35950860381126404, -0.593912661075592, 0.8686261177062988, -0.32746556401252747, -0.31703588366508484, 0.11174717545509338, 0.5958164930343628, 0.2816719710826874, -0.08943270146846771, -0.8186997771263123, 0.3480580747127533, -0.16923314332962036, -0.2507387697696686, 0.23370075225830078, 0.3656778931617737, -0.3395007848739624, 0.8944184184074402, 0.710651695728302, 0.024898329749703407, -0.11379994451999664, -0.1507561355829239, 0.9818678498268127, -0.6206722855567932, -0.4904837906360626, -0.59083491563797, 0.22724267840385437, -0.0465095154941082, -0.07046257704496384, 0.5555066466331482, 0.7981154322624207, 0.9957860708236694, -0.005308204796165228, 0.6031402945518494, 0.6217546463012695, 0.1425171047449112, -1.0603660345077515, 0.9486234784126282, -0.46363890171051025, 0.6596838235855103, 0.1617298573255539, -0.7331938743591309, -0.14779214560985565, 0.4754229784011841, -0.6149103045463562, -0.19484522938728333, 0.4456965923309326, 0.9655589461326599, -0.23061169683933258, 0.3005119562149048, 0.31161805987358093, 0.1285513937473297, 0.3023262917995453, 0.3310985267162323, 1.0990256071090698, -0.37066352367401123, 0.07957350462675095, -0.20989945530891418, -0.048996731638908386, -0.14370153844356537, -0.8726245164871216, -1.0458159446716309, -0.5923933982849121, -0.3363354206085205, -0.14926230907440186, 0.22007349133491516, 0.4777437448501587, 1.0471978187561035, -0.722650945186615, -0.17871256172657013, -0.24123582243919373, 0.5604323744773865, 0.4805555045604706, -0.2285364866256714, 0.6890292167663574, -0.3280443549156189, -0.803142249584198, 0.16983145475387573, 0.25844430923461914, 0.19176237285137177, -0.6412481665611267, -0.031963832676410675, 0.32088392972946167, 0.15595467388629913, 0.39375996589660645, -0.1558142900466919, -0.7604576945304871, 0.071698397397995, -0.2755805253982544, -0.190390944480896, 0.4139556586742401, 1.0281946659088135, -0.927528977394104, 0.4387960731983185, 0.4083770513534546, 0.6441686153411865, 1.0588465929031372, -0.14473271369934082, 0.3281182050704956, -0.6575019955635071, 0.2725716829299927, 0.039252739399671555, 0.151153564453125, 0.5674597024917603, -0.5100030303001404, 0.7913162112236023, 0.02316090278327465, -0.46366754174232483, -0.7830695509910583, 0.14420510828495026, -0.9857207536697388, -0.551040768623352, 0.9208884835243225, 0.04002971574664116, -0.4244430363178253, -0.2713129222393036, -0.4603134095668793, 0.2151624858379364, -0.45378348231315613, 1.052110195159912, 0.8539909720420837, -0.3538152277469635, 0.2808983027935028, -0.9700289964675903, 0.686795711517334, 0.32476529479026794, -1.2641273736953735, 0.0670887753367424, 0.5258515477180481, 0.4427559971809387, 0.06123175844550133, 0.7158406376838684, -0.08915172517299652, -0.13664104044437408, -0.14177492260932922, 0.007852987386286259, -0.20990614593029022, -0.5697408318519592, -0.4443729817867279, 0.17255593836307526, -0.22847111523151398, -0.12323661148548126 ]
http://arxiv.org/abs/2406.01721v1
http://arxiv.org/pdf/2406.01721v1
Rotation and Permutation for Advanced Outlier Management and Efficient Quantization of LLMs
2024-06-03T18:27:44
2024-06-03T18:27:44
Haokun Lin, Haobo Xu, Yichen Wu, Jingzhi Cui, Yingtao Zhang, Linzhan Mou, Linqi Song, Zhenan Sun, Ying Wei
cs.CL
cs.CL
Quantizing large language models (LLMs) presents significant challenges, primarily due to outlier activations that compromise the efficiency of low-bit representation. Traditional approaches mainly focus on solving Normal Outliers-activations with consistently high magnitudes across all tokens. However, these techniques falter when dealing with Massive Outliers, which are significantly higher in value and often cause substantial performance losses during low-bit quantization. In this study, we propose DuQuant, an innovative quantization strategy employing rotation and permutation transformations to more effectively eliminate both types of outliers. Initially, DuQuant constructs rotation matrices informed by specific outlier dimensions, redistributing these outliers across adjacent channels within different rotation blocks. Subsequently, a zigzag permutation is applied to ensure a balanced distribution of outliers among blocks, minimizing block-wise variance. An additional rotation further enhances the smoothness of the activation landscape, thereby improving model performance. DuQuant streamlines the quantization process and demonstrates superior outlier management, achieving top-tier results in multiple tasks with various LLM architectures even under 4-bit weight-activation quantization. Our code is available at https://github.com/Hsu1023/DuQuant.
[ -0.076960988342762, -0.8828269243240356, 0.5642374753952026, 0.38120150566101074, -0.6608851552009583, 0.3268483281135559, -0.12791390717029572, 0.20134735107421875, 0.30220264196395874, 0.7168251276016235, -0.29661449790000916, -0.6898074746131897, -0.44708383083343506, -0.31194794178009033, -0.7201206684112549, 0.8263905644416809, 0.08343532681465149, 0.2981925904750824, -0.13370643556118011, -0.2610566318035126, -0.34046122431755066, -0.7612000107765198, -0.599735677242279, -0.40492570400238037, 0.15290836989879608, 0.5715348124504089, 1.0500184297561646, 0.4586530029773712, 0.7759550213813782, 0.3415096402168274, -0.05308238044381142, 0.2248689830303192, -0.5975376963615417, 0.2474927306175232, 0.1680022031068802, -0.40950116515159607, -0.46273109316825867, -0.26530659198760986, 0.7093416452407837, 0.6966692209243774, -0.5079915523529053, 0.05784952640533447, -0.015583057887852192, 1.0876725912094116, -0.5436520576477051, -0.16985340416431427, -0.5985587239265442, 0.11284413188695908, -0.646818995475769, -0.23982353508472443, 0.052740637212991714, -0.5664716958999634, -0.42715826630592346, -0.5157468914985657, -0.17194989323616028, -0.1713002324104309, 0.4706466495990753, 0.33668649196624756, -0.15707464516162872, -0.06473240256309509, -0.6554423570632935, 0.8081487417221069, -0.6567693948745728, 0.3783115744590759, 0.03433554619550705, 0.30903133749961853, -0.5512962937355042, -0.5366404056549072, -0.6049423217773438, 0.08310575038194656, 0.2873041331768036, 0.056684959679841995, -0.3011818826198578, -0.2160768210887909, 0.14779089391231537, 0.6607147455215454, -0.7669509053230286, 0.20705252885818481, 0.14667682349681854, 0.004642418585717678, 0.6407742500305176, 0.2643406093120575, 0.10537270456552505, 0.15682406723499298, -0.33697307109832764, -0.23826643824577332, -0.9128756523132324, 0.002656883094459772, 0.9703262448310852, -0.11472975462675095, -0.1341821551322937, 0.8150296211242676, -0.20826825499534607, 0.47634992003440857, 0.25516051054000854, -0.012030241079628468, 0.2761414051055908, -0.3326607048511505, -0.19009797275066376, -0.01775471121072769, 0.752510666847229, -0.07256150245666504, 0.2530882656574249, 0.07634136825799942, -0.4062577188014984, -0.30813342332839966, 0.02837679721415043, -0.7654770016670227, -0.5100439190864563, 0.346982479095459, -0.22986911237239838, -0.4396955966949463, 0.055829644203186035, -0.6710634827613831, -0.598118007183075, -0.1412612646818161, 0.7324305176734924, -0.7004860043525696, -0.2278033345937729, 0.33761465549468994, 0.051588382571935654, -0.17710280418395996, 0.2980400025844574, -0.7301744818687439, -0.16876044869422913, 0.7237403988838196, 0.643646240234375, -0.36818790435791016, 0.012482588179409504, -0.45035678148269653, 0.058747299015522, -0.32703304290771484, 0.520057737827301, -0.4550527036190033, -0.30764085054397583, -0.10540585964918137, -0.5675785541534424, 0.23938699066638947, -0.7073102593421936, 0.23455068469047546, -1.017402172088623, -0.14107458293437958, -0.08588848263025284, -0.3270643651485443, -0.2254818230867386, 0.19505806267261505, -0.7066764831542969, 0.9870269298553467, 0.3253365755081177, -0.5728205442428589, -0.08505849540233612, -0.585245668888092, -0.2651332914829254, 0.37389034032821655, -0.16492074728012085, -0.6332489252090454, 0.43321317434310913, 0.21873292326927185, 0.061526693403720856, -0.44523724913597107, 0.2575422525405884, -0.038884054869413376, -0.537317156791687, 0.800742506980896, -0.7270023822784424, 1.0352166891098022, 0.08383839577436447, -0.10499550402164459, 0.23141153156757355, -0.8509798645973206, 0.2940976321697235, 0.1810746043920517, -0.5195099115371704, -0.3164161741733551, -0.3909786641597748, -0.11525317281484604, -0.1521950215101242, 0.42023932933807373, -0.31924816966056824, 0.20353466272354126, -0.32420089840888977, 0.31902381777763367, 0.6319276094436646, 0.10309914499521255, 0.45668864250183105, -0.3296301066875458, 0.6240904331207275, 0.46031293272972107, 0.2318335771560669, -0.10259935259819031, -0.32404544949531555, -0.878477156162262, -0.6995603442192078, 0.3455894887447357, 0.590989887714386, -0.9894523620605469, 0.7039150595664978, -0.43728435039520264, -0.4066811203956604, -0.45031872391700745, 0.43261003494262695, 0.2477700561285019, 0.17500664293766022, 0.33561745285987854, -0.3707866966724396, -0.3939632475376129, -0.6380024552345276, -0.394924521446228, 0.01829623058438301, 0.05117844417691231, -0.5611951947212219, 0.3148091733455658, -0.6002024412155151, 1.0169754028320312, -0.32932648062705994, -0.4703780710697174, -0.1664828062057495, 0.32228562235832214, 0.3699524998664856, 0.5130496025085449, 0.1774914264678955, -0.7826120257377625, -0.7383771538734436, 0.025755606591701508, -0.58631432056427, -0.27194786071777344, -0.03917756304144859, -0.13887141644954681, 0.31634923815727234, 0.5901816487312317, -0.46469810605049133, 0.5399056673049927, 0.8968315124511719, 0.07361454516649246, 0.3563024699687958, -0.007379699498414993, -0.07114562392234802, -0.6809989213943481, -0.22520758211612701, -0.4719093441963196, -0.31127920746803284, -0.7113037109375, -0.08958572894334793, 0.06511739641427994, 0.11064903438091278, -0.3130791187286377, 0.08694525808095932, -0.27225562930107117, 0.0001930055150296539, -0.186361163854599, -0.09399276971817017, -0.06012121960520744, 0.3835922181606293, -0.40091997385025024, 0.6665738821029663, 0.4016289710998535, -0.246339350938797, 0.5730433464050293, 0.04508597031235695, -0.49795377254486084, 0.6083805561065674, -0.27120742201805115, 0.16408416628837585, -0.2204943299293518, -0.07747264206409454, -1.0099824666976929, 0.12974409759044647, 0.29796209931373596, -0.35236820578575134, 0.13029895722866058, -0.20117107033729553, -0.7987660765647888, 0.006130767520517111, -0.6998111605644226, 0.8476189970970154, 0.4873233139514923, -0.616592288017273, 0.5276160836219788, 0.3640281558036804, -0.12595362961292267, -0.3668425381183624, -0.589203417301178, -0.11470509320497513, -0.5668261051177979, -0.8009623885154724, 0.3680458962917328, -0.11760344356298447, -0.3492981195449829, -0.13834436237812042, -0.14891839027404785, 0.12621989846229553, -0.018248802050948143, 0.15681034326553345, -0.13774897158145905, -0.08467355370521545, 0.09024134278297424, 0.001918918453156948, -0.41284671425819397, -0.12692780792713165, -0.31598392128944397, 0.96645587682724, -0.2656278610229492, -0.6524323225021362, -0.23246881365776062, 0.3512813448905945, 0.7174776196479797, -0.18276074528694153, 0.48476549983024597, 0.6598679423332214, -0.20619045197963715, -0.040581196546554565, -0.6701622009277344, 0.04180585965514183, -0.5742930173873901, 0.5476133823394775, -0.37163418531417847, -0.7651777267456055, 0.5046175718307495, -0.07302276045084, -0.07362771779298782, -0.032322630286216736, 0.7182170748710632, -0.19107873737812042, 1.0452858209609985, 0.5010205507278442, 0.0959170013666153, 0.7900373339653015, -0.5300647020339966, 0.4962034821510315, -0.9836417436599731, 0.09280209988355637, -0.02122120000422001, -0.24067828059196472, -0.7049329280853271, -0.845680832862854, 0.999557614326477, 0.47286614775657654, -0.4170707166194916, 0.08474551141262054, -0.22394323348999023, 0.40799009799957275, 0.6304576396942139, -0.06739791482686996, 0.796316385269165, 0.6912975311279297, -0.12156383693218231, -0.1389804482460022, -0.5711985230445862, -0.3776334822177887, 1.0966637134552002, 0.19309073686599731, 0.9282369017601013, 0.5254054665565491, 0.8469072580337524, 0.07041207700967789, 0.3566647171974182, -0.5822182893753052, 0.6297590732574463, -0.4116154611110687, -0.12991976737976074, -0.9567282795906067, -0.5246388912200928, -1.0015981197357178, 0.5746585130691528, -0.18118494749069214, -0.44938379526138306, 0.13092650473117828, 0.08800780028104782, -0.5094843506813049, 0.3718327283859253, -0.4048706293106079, 0.5159518718719482, -0.5251004695892334, -0.059122875332832336, -0.3716437518596649, -0.16675031185150146, 0.32032686471939087, -0.4942513704299927, 0.27866029739379883, -0.11875948309898376, 0.009521027095615864, 0.4720383286476135, -0.7782652974128723, 0.5155816078186035, 0.11261061578989029, -0.26621997356414795, 0.3346293270587921, 0.37207844853401184, 0.834930419921875, 0.2644340395927429, -0.08130522072315216, 0.5223182439804077, -0.2447579801082611, -0.3162924647331238, -0.5427771210670471, 0.6876679062843323, -0.8068922162055969, -0.6581790447235107, -0.45574453473091125, -0.5815355181694031, -0.29868969321250916, 0.07842106372117996, 0.3858514428138733, 0.045591454952955246, 0.10289186239242554, 0.2485046088695526, 0.40338197350502014, -0.1723109632730484, 0.5144241452217102, 0.6658358573913574, -0.15643179416656494, -0.6413047313690186, 1.0485637187957764, 0.13049498200416565, 0.32171645760536194, 0.4398491382598877, 0.30367785692214966, -0.0755111575126648, -0.8483055830001831, -0.19526606798171997, 0.2972506880760193, -0.7775271534919739, -0.5705010294914246, -0.43786314129829407, -0.31907081604003906, -0.3132474422454834, -0.09111138433218002, -0.5031859278678894, -0.4056023359298706, -0.17305582761764526, 0.26256781816482544, 0.484854131937027, 0.18604646623134613, -0.26138365268707275, 0.763792872428894, -0.7153849005699158, 0.3491816222667694, 0.6609953045845032, 0.19454410672187805, -0.12533557415008545, -0.7831882238388062, -0.3767246603965759, 0.1316649317741394, -0.5626546740531921, -0.7334429621696472, 0.6553195118904114, -0.1549370139837265, 0.1801597774028778, 0.2761495113372803, -0.18892483413219452, 1.0189722776412964, -0.1847921907901764, 0.4217801094055176, 0.4474725127220154, -1.133886456489563, 0.01689033769071102, -0.25400105118751526, 0.27257928252220154, 0.4172840118408203, 0.12016168236732483, -0.6375621557235718, -0.3824506998062134, -0.46577683091163635, -1.2019007205963135, 0.4627561569213867, 0.290300577878952, 0.044821374118328094, 0.24237406253814697, 0.1257120668888092, 0.041597455739974976, 0.5900967121124268, -0.7397804260253906, -0.3329907953739166, -0.19289611279964447, -0.25906136631965637, 0.1443057805299759, -0.40332940220832825, -0.06877673417329788, -0.10886837542057037, 0.6744043231010437, -0.13379323482513428, 0.0979105532169342, -0.27539825439453125, -0.49393031001091003, -0.4920065104961395, 0.22648955881595612, 0.4021179974079132, 0.6125021576881409, 0.004325487185269594, 0.11393685638904572, 0.21230292320251465, -0.5756815075874329, 0.1628977656364441, 0.05588412657380104, -0.3358147144317627, -0.14282065629959106, 0.1422225534915924, 0.4265204071998596, 0.05109595134854317, -0.5339288711547852, 0.5394994020462036, 0.16009032726287842, 0.21631301939487457, -0.7292599678039551, -0.22046399116516113, 0.03819020465016365, 0.5786893367767334, 0.5045108199119568, -0.32050490379333496, 0.003009702078998089, -0.4587908983230591, -0.28586456179618835, 0.6856686472892761, -0.04961470514535904, -0.28294453024864197, 0.26419761776924133, 0.05488612502813339, -0.2857138514518738, 0.7906407713890076, -0.27268821001052856, -0.4451286792755127, 0.38917189836502075, 0.38269951939582825, 0.8757290244102478, -0.0992310419678688, 0.2693093717098236, -0.08254019916057587, 0.16629046201705933, -0.08592917770147324, 0.4397350549697876, 0.30735889077186584, -1.138690710067749, -0.3553195893764496, -0.5554602146148682, -0.2715241014957428, 0.42219221591949463, -0.3861348032951355, 0.30720919370651245, -0.3715396225452423, -0.09814570844173431, -0.1327393800020218, -0.11202362179756165, -0.4706183075904846, -0.18340978026390076, 0.09112139791250229, 0.3337433338165283, -0.5770772695541382, 1.0591524839401245, 0.7952005863189697, -0.23867857456207275, -0.28554633259773254, -0.11579465866088867, -0.08478759974241257, -1.0299814939498901, 0.6298717260360718, -0.20257075130939484, -0.03268624469637871, 0.2201455533504486, -0.3410676121711731, -1.2034398317337036, 1.1914880275726318, 0.4899963140487671, -0.928285539150238, 0.34968146681785583, 0.6237683296203613, 0.44749170541763306, -0.1148856058716774, 0.05696697533130646, 0.7984167337417603, 0.5621029138565063, 0.18055804073810577, -0.4617231786251068, 0.01279165968298912, 0.26768916845321655, 0.24496042728424072, 0.5913292765617371, -0.6394487619400024, 0.991941511631012, -0.1135420873761177, -0.23307764530181885, 0.23235447704792023, 0.5577110648155212, 0.5629379749298096, -0.03672119230031967, 0.6174623370170593, 0.7597041726112366, 0.8753502368927002, -0.2211156040430069, 0.5354858636856079, -0.20353515446186066, 0.2825578451156616, 0.9548419713973999, -0.21279816329479218, 0.46374693512916565, 0.7625928521156311, -0.2762201130390167, 0.5003483295440674, 0.047673214226961136, 0.13293702900409698, 0.5013869404792786, 0.6242069602012634, -0.3932259976863861, -0.523357629776001, 0.46635597944259644, -0.2840994894504547, 0.39066600799560547, 0.5280434489250183, 0.1181328147649765, -0.24580663442611694, -0.0004946536500938237, 0.11166568845510483, 0.0227822158485651, -0.20933552086353302, 0.48075518012046814, 0.08602552115917206, -0.3491063117980957, 0.5303303003311157, 0.2606218457221985, 0.7700701355934143, -0.4377230107784271, -0.05887339636683464, -0.5618165731430054, 0.3774130940437317, -0.18231618404388428, -0.6511403918266296, 0.15616656839847565, -0.31555265188217163, -0.09568049013614655, -0.37484419345855713, 0.22254163026809692, -0.658394455909729, -0.6427581310272217, 0.020886076614260674, 0.4318912923336029, 0.047698285430669785, -0.4548642933368683, -0.5581430196762085, 0.26216307282447815, 0.04507433623075485, -0.2013670653104782, 0.5104888677597046, 0.7852824926376343, -0.6397868990898132, 0.6915320754051208, 0.9162804484367371, 0.15291112661361694, 0.1364433765411377, 0.12622378766536713, 0.8435813188552856, -0.8682520389556885, -0.4304064214229584, -0.9678493142127991, 0.5328419208526611, 0.12214931845664978, -0.30324897170066833, 0.8152422904968262, 0.5749020576477051, 0.6291263699531555, -0.03152358904480934, 0.4630497395992279, 0.3989276885986328, 0.23987312614917755, -0.5242982506752014, 0.3871206045150757, -0.24787835776805878, 0.7505942583084106, 0.12535463273525238, -0.870451033115387, -0.49991321563720703, 0.6246562600135803, -0.08407066017389297, -0.12762415409088135, 0.5881102681159973, 1.0245109796524048, 0.29881396889686584, -0.16357652842998505, 0.6168504357337952, 0.26511430740356445, 0.48417550325393677, 0.4200591742992401, 1.096178412437439, -0.48875194787979126, 0.7889462113380432, -0.2994990944862366, -0.18940165638923645, -0.6237684488296509, -0.953219473361969, -0.7208950519561768, -0.3126470744609833, -0.6583126783370972, -0.24566811323165894, 0.11671795696020126, 0.8566922545433044, 0.4242495596408844, -0.8732300996780396, -0.3442974388599396, -0.19052280485630035, 0.5208947658538818, -0.3139401972293854, -0.26085278391838074, 0.3477696478366852, -0.30650487542152405, -0.6700869202613831, 0.2905818819999695, 0.5238997340202332, 0.373697429895401, -0.39734745025634766, 0.03491543233394623, 0.23066438734531403, 0.08415741473436356, 0.6313440203666687, 0.07481561601161957, -0.49365150928497314, -0.12040339410305023, -0.2564148008823395, -0.03748811408877373, 0.05898335576057434, 0.9561026692390442, -0.778074324131012, 0.26300469040870667, 0.5827901363372803, 0.2454788237810135, 0.6521351933479309, 0.12520216405391693, 0.3486655056476593, -0.8418092131614685, 0.1576007604598999, 0.22332648932933807, 0.08890674263238907, 0.4735889136791229, -0.2856164872646332, 0.5496851205825806, 0.22177015244960785, -0.3920126259326935, -0.9928679466247559, 0.22680474817752838, -0.7997125387191772, -0.025079570710659027, 1.3607993125915527, 0.1719198226928711, 0.0718488097190857, -0.17784558236598969, 0.04759979248046875, -0.00845074001699686, -0.32428795099258423, 0.7792673707008362, 0.4750335216522217, -0.09652967005968094, 0.02983582392334938, -0.17313115298748016, 0.36995360255241394, 0.642737865447998, -0.4303196370601654, -0.03485728055238724, 0.23379671573638916, 0.3024557828903198, 0.25350359082221985, 0.47686871886253357, -0.5629391074180603, 0.16728512942790985, -0.4447519779205322, 0.21004198491573334, -0.12792247533798218, -0.035585928708314896, -0.7358558177947998, 0.019872959703207016, 0.07306841015815735, -0.19530029594898224 ]
http://arxiv.org/abs/2406.06573v1
http://arxiv.org/pdf/2406.06573v1
MedFuzz: Exploring the Robustness of Large Language Models in Medical Question Answering
2024-06-03T18:15:56
2024-06-03T18:15:56
Robert Osazuwa Ness, Katie Matton, Hayden Helm, Sheng Zhang, Junaid Bajwa, Carey E. Priebe, Eric Horvitz
cs.CL
cs.CL, cs.LG, I.2.7
Large language models (LLM) have achieved impressive performance on medical question-answering benchmarks. However, high benchmark accuracy does not imply that the performance generalizes to real-world clinical settings. Medical question-answering benchmarks rely on assumptions consistent with quantifying LLM performance but that may not hold in the open world of the clinic. Yet LLMs learn broad knowledge that can help the LLM generalize to practical conditions regardless of unrealistic assumptions in celebrated benchmarks. We seek to quantify how well LLM medical question-answering benchmark performance generalizes when benchmark assumptions are violated. Specifically, we present an adversarial method that we call MedFuzz (for medical fuzzing). MedFuzz attempts to modify benchmark questions in ways aimed at confounding the LLM. We demonstrate the approach by targeting strong assumptions about patient characteristics presented in the MedQA benchmark. Successful "attacks" modify a benchmark item in ways that would be unlikely to fool a medical expert but nonetheless "trick" the LLM into changing from a correct to an incorrect answer. Further, we present a permutation test technique that can ensure a successful attack is statistically significant. We show how to use performance on a "MedFuzzed" benchmark, as well as individual successful attacks. The methods show promise at providing insights into the ability of an LLM to operate robustly in more realistic settings.
[ -0.23038697242736816, -1.4531993865966797, 0.7420835494995117, -0.20866531133651733, 0.07936080545186996, 0.12476449459791183, -0.19185307621955872, -0.12056396901607513, -0.11204042285680771, 0.669509768486023, -0.7208184599876404, -0.3063991665840149, -0.6233705282211304, 0.10777512937784195, -0.4033660888671875, 1.00026535987854, 0.021294547244906425, 0.511802077293396, -0.33669883012771606, -0.23823285102844238, -0.1770874708890915, -0.8255226016044617, -0.5828616619110107, -0.33552831411361694, 0.5313670635223389, 0.2493622601032257, 1.1253079175949097, 0.5183267593383789, 0.8085082173347473, 0.25818896293640137, 0.08440129458904266, 0.11536131054162979, -0.629898190498352, 0.21471966803073883, 0.03223478049039841, -0.8771510720252991, -0.22347724437713623, -0.14658713340759277, 0.512712299823761, 0.9398301243782043, -0.4379544258117676, -0.01859515719115734, -0.5091743469238281, 0.4204626679420471, -0.38880065083503723, -0.28268343210220337, -0.8164126873016357, -0.014431864954531193, -0.2299538403749466, -0.053486358374357224, -0.4912686049938202, -0.39970505237579346, -0.2912561595439911, -0.4331798553466797, 0.268423467874527, 0.14838719367980957, 0.8013403415679932, 0.6576185822486877, -0.25155848264694214, -0.11535108089447021, -0.6538761854171753, 0.4800381362438202, -0.8621038794517517, 0.2383854240179062, 0.6118622422218323, 0.6400074362754822, -0.6081646680831909, -0.8162263035774231, -0.39198336005210876, -0.12296567857265472, 0.0596066489815712, -0.17250488698482513, -0.23082320392131805, 0.18535637855529785, 0.5465277433395386, 0.434638649225235, -0.6423153281211853, 0.02682926133275032, -0.2583310902118683, -0.18602770566940308, 0.6073828339576721, 0.4412185549736023, 0.430664598941803, 0.31625616550445557, -0.37785905599594116, 0.0036356602795422077, -0.7627255916595459, 0.1707604080438614, -0.023190731182694435, -0.18013998866081238, 0.13207940757274628, 0.4906790256500244, -0.005125340539962053, 0.6288818717002869, 0.07444745302200317, -0.24671073257923126, 0.09318353235721588, -0.06328307092189789, -0.41456687450408936, -0.30911996960639954, 0.8217682242393494, 0.23052063584327698, 0.44313886761665344, -0.4976218640804291, -0.0406002514064312, -0.03136351332068443, 0.5453091859817505, -0.7323647141456604, -0.38843998312950134, 0.5053669810295105, -0.28272634744644165, -0.5576338171958923, -0.030285337939858437, -0.7855353355407715, -0.6495733261108398, 0.43223604559898376, 0.4098702073097229, -0.4763547480106354, -0.04744700714945793, 0.14295397698879242, 0.05781690403819084, 0.0694785863161087, 0.20763392746448517, -0.7068964838981628, 0.49375417828559875, 0.8245046734809875, 0.390332967042923, 0.07700800895690918, -0.2792471945285797, -0.7632158994674683, 0.04994381591677666, -0.43441084027290344, 0.8091667294502258, -0.5453692078590393, -0.5076674818992615, -0.18101194500923157, -0.0607115812599659, -0.21209938824176788, -0.8224101662635803, 0.4002896249294281, -0.46126702427864075, 0.0751316100358963, -0.3879457414150238, -0.6652956008911133, -0.0662098303437233, 0.35011982917785645, -0.526770830154419, 0.6816637516021729, 0.2934997081756592, -0.918431282043457, 0.08547716587781906, -0.49716803431510925, -0.48458197712898254, -0.15748754143714905, -0.39355432987213135, -0.4821956753730774, 0.31205105781555176, 0.4129253327846527, 0.2982560098171234, -0.4601966142654419, 0.3155444860458374, -0.6391311287879944, -0.427080899477005, 0.9543507099151611, -0.7320776581764221, 0.7271809577941895, 0.22603267431259155, -0.059310272336006165, -0.09946668893098831, -0.4385291337966919, 0.2316732406616211, 0.4142003059387207, -0.19177699089050293, -0.009687590412795544, -0.006883847527205944, -0.20058567821979523, 0.0725061371922493, -0.08375368267297745, -0.3914279341697693, 0.30282339453697205, -0.7738106846809387, 0.4418925642967224, 0.503729522228241, 0.2954424321651459, -0.12544409930706024, -0.6802911758422852, 0.8405424356460571, -0.22759364545345306, 0.4009641408920288, -0.07204411923885345, -0.5453381538391113, -0.351743221282959, -0.33813780546188354, 0.44992563128471375, 0.6689372062683105, -0.8405122756958008, -0.2505635917186737, 0.04629242792725563, -0.5013341903686523, -0.7886782884597778, 0.26261812448501587, 0.35755735635757446, 0.858879566192627, 0.3521477282047272, -0.053899019956588745, -0.08029401302337646, -0.9620047211647034, -0.5978897213935852, -0.4485814869403839, -0.14920738339424133, 0.4845239818096161, 0.4083816707134247, -0.24112655222415924, 0.34392064809799194, -0.8630571365356445, 0.07390721142292023, -0.02995769865810871, 0.07317112386226654, 0.42632734775543213, 0.2720786929130554, 0.6947224140167236, -0.9974693655967712, -0.1087082251906395, -0.3268711268901825, -0.39620888233184814, -0.20747500658035278, -0.014798115007579327, 0.09673845767974854, -0.06860583275556564, 0.5643399357795715, -0.6270741820335388, 0.2636822760105133, 0.4960241913795471, -0.4253862798213959, 0.7681458592414856, -0.22738997638225555, 0.4985955059528351, -0.8804340958595276, 0.18085335195064545, -0.3232579529285431, -0.21808524429798126, -0.8626718521118164, 0.4608002305030823, 0.04371621832251549, 0.0437447763979435, -0.4084557890892029, 0.3098165690898895, 0.01608210988342762, 0.31000977754592896, -0.11006505787372589, -0.4108014702796936, -0.06695292890071869, 0.23011694848537445, -0.619181215763092, 0.9423532485961914, 0.3998855948448181, -0.20326535403728485, 0.4544120132923126, 0.11183662712574005, -0.23184418678283691, 0.6684529185295105, -0.6916218400001526, 0.1949855089187622, 0.0042607709765434265, 0.11419786512851715, -1.2709627151489258, -0.5670632719993591, -0.01824621669948101, -0.7081493735313416, 0.41952070593833923, -0.03891158849000931, -0.7942519783973694, -0.5114572644233704, -0.14243344962596893, 0.3830718398094177, 0.5966836214065552, -0.1905152052640915, 0.44146817922592163, 0.45719626545906067, -0.24971482157707214, -0.6225612759590149, -0.90782231092453, -0.009524843655526638, -0.34493744373321533, -0.5521544814109802, -0.03593192994594574, -0.3299061954021454, -0.46234139800071716, -0.2695409059524536, -0.16664396226406097, -0.5327251553535461, 0.5888515114784241, 0.2612830400466919, 0.21568870544433594, -0.35843977332115173, 0.16647207736968994, -0.1588222086429596, 0.08592487871646881, 0.482210636138916, 0.22368717193603516, 0.501826822757721, -0.0859825536608696, -0.713897705078125, 0.02006950043141842, 0.43970099091529846, 0.8589645028114319, -0.1911872774362564, 0.67117840051651, 0.5298004746437073, -0.6445927023887634, -0.08611483126878738, -0.8223437666893005, -0.31349611282348633, -0.4685601592063904, 0.4826830327510834, -0.2444620430469513, -0.815888524055481, 0.4983774721622467, -0.14501464366912842, 0.17812278866767883, 0.31802430748939514, 0.747973620891571, -0.4376661479473114, 1.2811721563339233, 0.3279656767845154, -0.06620264053344727, -0.2853119969367981, 0.1292591542005539, 0.011230521835386753, -0.3296828269958496, -0.17021209001541138, -0.6428627371788025, -0.3132844567298889, -0.27228620648384094, -0.607266366481781, 0.5582297444343567, -0.021102072671055794, -0.17793072760105133, -0.23236289620399475, -0.15950612723827362, 0.45317214727401733, 0.21566352248191833, 0.24548758566379547, 0.12951374053955078, -0.15799859166145325, -0.38838011026382446, -0.07828094065189362, -0.9173842072486877, -0.07491550594568253, 1.2080641984939575, 0.48906052112579346, 1.1173402070999146, 0.17552776634693146, 0.4628937542438507, 0.11108007282018661, 0.5419536828994751, -0.5073791742324829, 0.3082992434501648, -0.2861259877681732, -0.8643401861190796, -0.0563054196536541, -0.6245670914649963, -0.8306053280830383, 0.09977755695581436, -0.44029510021209717, -0.6593946218490601, -0.3081412613391876, 0.2273072749376297, -0.520027756690979, 0.5042557120323181, -0.6995363831520081, 0.8341564536094666, -0.38035592436790466, -0.13026200234889984, -0.010508749634027481, -0.7333850860595703, 0.30497297644615173, -0.21371078491210938, 0.481922447681427, 0.03189267963171005, -0.21640686690807343, 0.4137696623802185, -0.47317826747894287, 0.6503808498382568, -0.00591894518584013, 0.006825410295277834, -0.17212773859500885, 0.17547884583473206, 0.1874486654996872, 0.15620574355125427, -0.21450844407081604, -0.019280891865491867, 0.2966485619544983, -0.6661314964294434, -0.847905158996582, 0.7669533491134644, -0.5704206228256226, -0.9619204998016357, -0.19596415758132935, -0.8042119145393372, -0.8255645632743835, 0.17023175954818726, 0.3387777805328369, 0.4574737548828125, -0.3302183747291565, 0.33131322264671326, 0.9464046955108643, -0.23339660465717316, -0.1772967427968979, 0.4916642904281616, -0.21476112306118011, -0.3926090598106384, 0.4496663510799408, 0.052935197949409485, 0.4310929775238037, 0.41293999552726746, 0.284770667552948, -0.271927148103714, -0.7746689915657043, -0.5417413711547852, 0.3509989380836487, -0.710873544216156, -0.2522018551826477, -0.6001525521278381, -0.3213411569595337, -0.3176206052303314, -0.263918936252594, -0.13009808957576752, -0.23582813143730164, 0.03569026663899422, 0.12108533829450607, 0.2813835144042969, 0.64737468957901, 0.4686734974384308, 0.004977825563400984, -0.7078519463539124, 0.3861203193664551, 0.27007052302360535, 0.337006539106369, -0.28246092796325684, -0.4231429100036621, 0.04179682955145836, 0.135593444108963, -0.12055785953998566, -1.221293330192566, 0.02894093096256256, 0.10350356996059418, 0.7976547479629517, 0.45361989736557007, 0.20451867580413818, 0.6055047512054443, -0.5874095559120178, 0.6375470161437988, 0.07533349841833115, -0.3628052771091461, 0.4898544251918793, -0.3832191228866577, 0.3970576524734497, 0.7660657167434692, 0.4061442017555237, -0.25241968035697937, -0.7800536751747131, -0.9333427548408508, -0.4378204345703125, 0.16166965663433075, 0.07441120594739914, -0.03330733999609947, 0.09484163671731949, 0.6496062874794006, 0.0038299316074699163, 0.32923057675361633, -0.30741193890571594, -0.44590044021606445, 0.2024904489517212, -0.49385011196136475, -0.2402038872241974, -0.12877099215984344, -0.6143786907196045, -0.19092899560928345, 0.4068850874900818, -0.1431608647108078, 0.1487606316804886, 0.29533252120018005, 0.03283393010497093, -0.22606083750724792, 0.35417991876602173, 0.5198128819465637, 0.7485711574554443, -0.11908096820116043, 0.22526779770851135, 0.60252845287323, -0.6447276473045349, 0.19534258544445038, 0.3423285484313965, 0.009912912733852863, -0.1455734670162201, 0.45394930243492126, 0.18812870979309082, 0.35842007398605347, -1.074201226234436, 0.6284591555595398, -0.3161742687225342, -0.27739307284355164, 0.07690262049436569, 0.3789936900138855, 0.18656259775161743, 0.24016907811164856, 0.2508607804775238, 0.08695795387029648, 0.1921587884426117, -0.49672043323516846, 0.4347382187843323, 0.6998639106750488, -0.45099562406539917, -0.006263928487896919, 0.9500269889831543, -0.17118403315544128, -0.3669672906398773, 0.4560248553752899, 0.41852349042892456, -0.6051666140556335, 0.8433992266654968, 0.5946457386016846, 0.46307745575904846, -0.408890038728714, 0.021220024675130844, 0.10018522292375565, 0.4903794825077057, 0.14130976796150208, 0.2675177752971649, 0.36662280559539795, -0.3577403426170349, -0.3280907869338989, -0.21215298771858215, -0.5711207985877991, 0.39786863327026367, -0.5764509439468384, -0.01299205794930458, -0.7751988172531128, -0.2707383632659912, 0.2539443373680115, 0.07684306800365448, -0.5205374360084534, 0.455310195684433, 0.09684944152832031, 1.186444640159607, -0.6265467405319214, 0.8222300410270691, 0.8665730357170105, -0.08795129507780075, -0.8991259336471558, 0.20324233174324036, 0.26152482628822327, -1.0130572319030762, -0.015748878940939903, -0.08000822365283966, 0.07348586618900299, -0.30474743247032166, -0.7303430438041687, -0.5650047063827515, 0.8563418984413147, 0.5342856049537659, -0.21574676036834717, 0.05059331655502319, 0.1678258776664734, 0.6445671916007996, -0.2801363170146942, 0.06213223561644554, 0.48434868454933167, 0.22392651438713074, 0.09629976004362106, -0.812581479549408, 0.24189552664756775, -0.2728443443775177, -0.45653581619262695, 0.26866409182548523, -0.590450644493103, 0.7999748587608337, -0.7667120695114136, 0.06369835883378983, 0.2679235637187958, 0.11910692602396011, 0.238016277551651, 0.35849547386169434, 0.4877060055732727, 0.504389226436615, 0.9589215517044067, -0.3109807074069977, 1.3254426717758179, -0.1867135465145111, 0.2576281726360321, 0.8662757873535156, -0.07261519879102707, 0.9017109870910645, 0.5587992072105408, -0.39735957980155945, 0.2154964804649353, 0.4192405641078949, -0.18631908297538757, 0.33719682693481445, 0.3429403305053711, -0.14686226844787598, -0.42782989144325256, 0.2515951693058014, -0.5766607522964478, 0.27290621399879456, 0.5423168540000916, -0.3549758195877075, -0.1621961146593094, -0.1350226104259491, 0.535943865776062, 0.14894600212574005, -0.15673962235450745, 0.7096186876296997, 0.05461746081709862, -0.733605682849884, 0.8272967338562012, -0.013249027542769909, 0.2819364070892334, -0.7720836400985718, 0.01031024195253849, -0.22295546531677246, 0.28185001015663147, -0.17981654405593872, -0.7045883536338806, 0.18085230886936188, 0.10177253186702728, -0.2132628709077835, 0.25392696261405945, 0.7724300026893616, -0.3273864686489105, -0.6631264090538025, -0.08418592065572739, 0.4497857689857483, 0.1358407437801361, 0.11041450500488281, -0.9960557222366333, -0.03809657692909241, 0.06259901076555252, -0.06369218230247498, 0.3701097369194031, 0.307166188955307, 0.2609885334968567, 1.0486857891082764, 0.7108638882637024, 0.35195624828338623, -0.2014310657978058, -0.011089598760008812, 0.9113444685935974, -0.4015962779521942, -0.42833471298217773, -0.9835209250450134, 0.15790072083473206, 0.003313590306788683, -0.235895037651062, 0.6089471578598022, 0.31934016942977905, 0.5115824937820435, 0.08730122447013855, 0.5856789350509644, 0.34480705857276917, 0.5596846342086792, -0.5529050827026367, 1.1371376514434814, -0.72464919090271, 0.25907662510871887, -0.21119961142539978, -0.1821189671754837, -0.43404677510261536, 0.30799445509910583, -0.335661917924881, 0.03967646136879921, 0.6398980617523193, 0.7514671683311462, 0.09250857681035995, 0.15811629593372345, 0.5342452526092529, 0.7616241574287415, 0.2670339047908783, 0.94587641954422, 0.7163017392158508, -0.3795454800128937, 0.5999890565872192, -0.24652314186096191, -0.36503341794013977, -0.20254339277744293, -0.5335632562637329, -1.046020269393921, -0.17062723636627197, -0.30785638093948364, -0.6318646669387817, 0.2381860315799713, 0.6817293763160706, 0.637369692325592, -0.8827128410339355, 0.17912963032722473, 0.45490485429763794, 0.08514229208230972, -0.33809810876846313, -0.16342554986476898, 0.17836067080497742, -0.18387062847614288, -0.20831046998500824, 0.3758842945098877, 0.1601443737745285, -0.07993767410516739, -0.266781210899353, 0.19189508259296417, -0.17365530133247375, 0.3902011811733246, 0.019808832556009293, 0.2783092260360718, -0.7505859136581421, -0.0849350318312645, 0.19286595284938812, -0.20140738785266876, 0.12181684374809265, 0.7649339437484741, -0.4972012937068939, 0.49364301562309265, 0.12595084309577942, 1.1116101741790771, 0.027253303676843643, 0.19493922591209412, 0.698226809501648, -0.43734413385391235, -0.13746817409992218, 0.30476075410842896, 0.3645096719264984, 0.297730416059494, -0.5656998753547668, 0.3690492808818817, 0.16085276007652283, -0.6506505012512207, -1.007365107536316, 0.17433777451515198, -0.6472484469413757, -0.6011921763420105, 0.9996290802955627, -0.30345115065574646, -0.2581828236579895, -0.25454431772232056, -0.17791469395160675, -0.22332653403282166, 0.08060470968484879, 0.79433673620224, 0.9379063844680786, -0.23335079848766327, 0.01796938292682171, -0.9074264168739319, 0.6114030480384827, 0.5523821711540222, -0.907849133014679, -0.07371486723423004, 0.3503340482711792, 0.7780806422233582, -0.09519902616739273, 0.6874194741249084, -0.40481626987457275, 0.7478243708610535, -0.008926382288336754, -0.6600959897041321, -0.22079521417617798, -0.002849332056939602, -0.23713654279708862, 0.5029699206352234, 0.2441222071647644, 0.0923617035150528 ]
http://arxiv.org/abs/2406.01592v1
http://arxiv.org/pdf/2406.01592v1
Text-guided Controllable Mesh Refinement for Interactive 3D Modeling
2024-06-03T17:59:43
2024-06-03T17:59:43
Yun-Chun Chen, Selena Ling, Zhiqin Chen, Vladimir G. Kim, Matheus Gadelha, Alec Jacobson
cs.CV
cs.CV, cs.AI, cs.CL, cs.GR, cs.LG
We propose a novel technique for adding geometric details to an input coarse 3D mesh guided by a text prompt. Our method is composed of three stages. First, we generate a single-view RGB image conditioned on the input coarse geometry and the input text prompt. This single-view image generation step allows the user to pre-visualize the result and offers stronger conditioning for subsequent multi-view generation. Second, we use our novel multi-view normal generation architecture to jointly generate six different views of the normal images. The joint view generation reduces inconsistencies and leads to sharper details. Third, we optimize our mesh with respect to all views and generate a fine, detailed geometry as output. The resulting method produces an output within seconds and offers explicit user control over the coarse structure, pose, and desired details of the resulting 3D mesh. Project page: https://text-mesh-refinement.github.io.
[ -0.46309924125671387, -1.1330772638320923, 0.7553613185882568, 0.2409694939851761, -0.11614717543125153, -0.21847407519817352, -0.028951482847332954, -0.3482016921043396, -0.006397612858563662, 0.5423973202705383, -0.7730408310890198, -0.8028325438499451, -0.13261494040489197, 0.2612355351448059, -0.12939873337745667, 0.826995313167572, -0.2385408878326416, -0.11631668359041214, -0.4984923005104065, 0.21267028152942657, -0.1081204041838646, -0.32633495330810547, -0.6915496587753296, -0.2387516051530838, 0.7729363441467285, 0.48281440138816833, 0.733844518661499, 1.1016746759414673, 0.36931127309799194, 0.36914944648742676, -0.1858094185590744, 0.4149775505065918, -0.7113320231437683, -0.10255417227745056, -0.028925560414791107, -0.2160055786371231, -0.4157591760158539, -0.0504344180226326, 0.6245166659355164, 0.8249388337135315, -0.08310013264417648, -0.04469677060842514, 0.44634705781936646, 0.7545727491378784, -0.40052178502082825, 0.14348672330379486, -0.08416208624839783, 0.01932305283844471, -0.22430485486984253, -0.17644019424915314, -0.24690520763397217, -0.6651883721351624, 0.1906706839799881, -1.1199793815612793, 0.663171112537384, 0.13316529989242554, 0.8706300854682922, 0.3008759915828705, -0.29864129424095154, 0.05788760259747505, -0.7579461932182312, 0.7369118928909302, -0.7276835441589355, 0.30320870876312256, 0.1383068561553955, 0.4495397210121155, -0.27937614917755127, -1.0094245672225952, -0.25260213017463684, -0.17755818367004395, -0.4577491879463196, 0.06862078607082367, 0.08678123354911804, 0.5016785264015198, 0.3485548794269562, 0.458249568939209, -0.5456505417823792, -0.12047675251960754, -0.6447451114654541, -0.345492422580719, 0.670108437538147, 0.13794158399105072, 0.26219722628593445, -0.01738296076655388, -0.529342770576477, -0.10134030133485794, -0.5050562620162964, 0.25655773282051086, 0.5631265640258789, 0.3619585931301117, -0.4516591727733612, 0.6428677439689636, -0.4648490846157074, 1.1472208499908447, 0.010494047775864601, -0.04935992509126663, 0.13629330694675446, -0.23236678540706635, -0.178602397441864, -0.1814720630645752, 0.9603914022445679, 0.5031223893165588, 0.0800098404288292, 0.19127753376960754, -0.11631928384304047, -0.38327354192733765, 0.6378622651100159, -0.8712050318717957, -0.4407707750797272, 0.19348865747451782, -0.5509626865386963, -0.5190961360931396, 0.20839673280715942, -1.0561715364456177, -0.7007216811180115, -0.5526946783065796, 0.3735634386539459, -0.22830995917320251, 0.05030060186982155, 0.4107982814311981, -0.06679750978946686, -0.19206325709819794, 0.8719527721405029, -0.515910804271698, 0.2216431051492691, 0.24969536066055298, 0.7336217164993286, -0.08625617623329163, -0.08282233774662018, -0.27224329113960266, 0.24902741611003876, -0.2848140299320221, 1.022118330001831, -0.46966880559921265, -0.5287337303161621, -0.09603255242109299, -0.20511913299560547, 0.14238668978214264, -0.2818004786968231, 0.44134214520454407, 0.06102708354592323, 0.45136210322380066, -0.000923996907658875, -0.17712529003620148, -0.7217312455177307, 0.47548189759254456, -0.907873272895813, 0.9518857598304749, 0.22811320424079895, -0.8907013535499573, -0.018215404823422432, -0.48848533630371094, -0.054406069219112396, -0.033106230199337006, -0.5914947390556335, -0.48203495144844055, 0.1049266904592514, 0.3349139988422394, 0.48235976696014404, -0.14341141283512115, -0.03761700168251991, -0.48684102296829224, -0.23683758080005646, -0.09177934378385544, -0.1674388200044632, 0.06808476895093918, 0.1352417916059494, -0.03302283585071564, 0.4351487159729004, -1.129690170288086, 0.2683352828025818, -0.08060593903064728, -0.4191462993621826, 0.14533868432044983, -0.032874464988708496, 0.07661352306604385, 0.0026725430507212877, 0.32176390290260315, -0.750640332698822, 0.19339321553707123, -0.44359055161476135, -0.08721106499433517, 0.4414924383163452, 0.23947888612747192, 0.43383949995040894, -0.4611188471317291, 0.46025463938713074, -0.14483100175857544, 0.2252817302942276, -0.3752982020378113, -0.5270357131958008, -0.696320652961731, -0.2672577500343323, 0.1093449741601944, 0.3156096935272217, -0.9125855565071106, -0.19296202063560486, 0.2614680826663971, -0.5486460328102112, 0.04793399199843407, 0.004933972842991352, 0.5079373121261597, 0.7224978804588318, 0.39778026938438416, -0.036490023136138916, -0.2338876873254776, -1.1849733591079712, -0.3262808620929718, 0.09837442636489868, -0.44519785046577454, 0.2718513011932373, -0.10383925586938858, 0.13495449721813202, 0.8618254065513611, -0.8481957316398621, -0.22664588689804077, -0.1913301795721054, 0.44712767004966736, 0.06030721962451935, 0.7804147005081177, 0.6540160775184631, -0.8027490973472595, -0.3067377209663391, 0.3080906569957733, -0.5504462718963623, -0.2676633596420288, -0.2925766408443451, -0.27799952030181885, -0.14528541266918182, 0.8029521107673645, -0.16402262449264526, 0.8531429767608643, 0.498607337474823, -0.5463377833366394, 0.4562063217163086, -0.46076977252960205, 0.33135268092155457, -0.9699466228485107, -0.02918599173426628, 0.33946287631988525, -0.29001903533935547, -0.7759891748428345, 0.07742207497358322, 0.11401614546775818, -0.21084237098693848, -0.6571812033653259, 0.623203694820404, -0.4718950688838959, 0.4341619610786438, -0.3765549659729004, 0.0137636112049222, 0.3711882531642914, 0.8675976395606995, 0.0481453612446785, 0.43615975975990295, 0.29889973998069763, -1.0041803121566772, 0.4338986575603485, -0.0026561457198113203, -0.22225424647331238, 0.5052464008331299, -0.9630032181739807, 0.17591167986392975, -0.19050337374210358, 0.2400525063276291, -1.090636134147644, -0.5195097327232361, 0.27260908484458923, -0.3352692127227783, 0.1573103815317154, 0.13048698008060455, -0.29117369651794434, -0.23842577636241913, -0.2738831639289856, 0.6466187834739685, -0.11059467494487762, -0.358123779296875, 1.0338597297668457, 0.007068740203976631, -0.536502480506897, 0.28505897521972656, -0.538666844367981, -0.3855131268501282, 0.13722124695777893, -0.6811366677284241, 0.5553305149078369, -0.32800784707069397, -0.14230413734912872, -0.16158166527748108, -0.06669037789106369, -0.3198414444923401, -0.22068005800247192, 0.3703869879245758, 0.114744171500206, 0.06479250639677048, -0.04645916074514389, 0.5290446281433105, -0.19952046871185303, -0.18103674054145813, 0.023806046694517136, 0.2664433717727661, 0.025194227695465088, -0.3521481156349182, -1.0006563663482666, 0.6468843817710876, 0.31810179352760315, -0.07542356103658676, 0.15797749161720276, 0.4983692467212677, -0.7059388160705566, -0.08767007291316986, -0.3627416789531708, -0.10988585650920868, -0.5217012763023376, 0.24457696080207825, -0.5945317149162292, -0.7378289699554443, 0.36609262228012085, -0.23400701582431793, 0.5388117432594299, 0.5852498412132263, 0.3577079474925995, -0.11078043282032013, 1.5109621286392212, 1.1401735544204712, 0.7711779475212097, 0.36994460225105286, -0.13357168436050415, -0.0053865015506744385, -0.7097116708755493, -0.7069602012634277, -0.9225026369094849, -0.5871101021766663, -0.29147762060165405, -0.4768821597099304, 0.3904620409011841, 0.29817456007003784, -0.22655165195465088, 0.007588586769998074, -0.6756452918052673, 0.41950440406799316, 0.49760183691978455, 0.4752334952354431, 0.19250880181789398, -0.0856010690331459, -0.5560815930366516, -0.17075645923614502, -0.6196439266204834, -0.6368381381034851, 0.487222820520401, 0.25675418972969055, 0.9772673845291138, -0.1604306399822235, 0.5271667242050171, -0.024863893166184425, 0.16259434819221497, -0.6039298176765442, 0.370097279548645, 0.11035939306020737, -0.20579196512699127, -0.06937479972839355, -0.5105514526367188, -0.740798830986023, 0.04934943839907646, -0.5952326059341431, -0.7040203213691711, 0.15762607753276825, 0.5295822024345398, -0.878700315952301, 0.3131484389305115, -0.8946271538734436, 0.6385422945022583, 0.09293565899133682, -0.45916879177093506, 0.21403926610946655, -0.3288878798484802, 0.3037758469581604, 0.03405967727303505, 0.31037527322769165, -0.13940809667110443, -0.161722332239151, 0.4628409445285797, -0.6189889907836914, 0.8437585234642029, -0.14980997145175934, -0.353447824716568, 0.07034178823232651, 0.3149237036705017, 0.30454006791114807, 0.3033543825149536, -0.18410181999206543, -0.05264442786574364, -0.10640577971935272, -0.28438636660575867, -0.7181182503700256, 0.5919617414474487, -0.4486343264579773, -0.4402388036251068, -0.06317830085754395, -0.7253122329711914, -0.24946294724941254, 0.492825984954834, 0.4191487729549408, 0.7774865031242371, -0.15660183131694794, 0.2797931432723999, 0.7296789288520813, -0.4611334502696991, 0.18978852033615112, 0.06356621533632278, -0.5280277132987976, -0.5584461092948914, 0.5758847594261169, -0.4069903492927551, 0.20120833814144135, 0.5021355748176575, 0.29609569907188416, -0.23866388201713562, -0.6077370643615723, -0.5318989157676697, 0.27510571479797363, -0.2864399552345276, -0.3578851819038391, -0.49397552013397217, -0.2691786587238312, -0.460034042596817, -0.5890386700630188, -0.47517234086990356, -0.5245876908302307, -0.5780966281890869, 0.014987626112997532, 0.4373820126056671, 1.3280082941055298, 0.1281394362449646, 0.6205788254737854, -0.9483305215835571, 0.7976820468902588, 0.3561767041683197, 0.8684058785438538, -0.3194930851459503, -0.15481063723564148, -0.13490216434001923, 0.28482335805892944, -0.3429658114910126, -0.46555832028388977, 0.1235734149813652, 0.04796392843127251, 0.5578382611274719, 0.42707568407058716, 0.06883309781551361, 0.7769768238067627, -0.5646622776985168, 0.8909164667129517, 0.36217015981674194, -0.5078389644622803, 0.724973201751709, -0.5479874014854431, 0.9174124002456665, 0.5362916588783264, 0.23149190843105316, -0.22198793292045593, -0.5834981203079224, -0.5116382837295532, -0.7059245705604553, 0.7790781855583191, 0.21066981554031372, -0.01410418190062046, 0.3830014765262604, 0.7705253958702087, 0.3533374071121216, -0.1286131739616394, -0.451590895652771, -0.297485888004303, -0.1802094727754593, -0.24673017859458923, 0.2030152827501297, -0.3277417719364166, -0.23930998146533966, -0.22330820560455322, 0.4550155699253082, -0.14270837604999542, 0.12894019484519958, 0.4049307703971863, 0.3446559011936188, 0.02910519950091839, -0.2538059949874878, 0.8521625399589539, 0.6642215847969055, -0.050342708826065063, -0.01325269602239132, -0.20974598824977875, -0.6398797035217285, -0.291231632232666, 0.24936048686504364, -0.19329863786697388, 0.16990283131599426, -0.06202384829521179, 0.8141897916793823, 0.19765789806842804, -0.03452172875404358, 0.22208625078201294, -0.5282407402992249, -0.9097253084182739, 0.18660055100917816, 0.08912651985883713, -0.2838348150253296, 0.25642290711402893, 0.17696122825145721, 0.26682889461517334, 0.3868328928947449, 0.212215855717659, 0.3221094310283661, -0.040797553956508636, -0.5193870663642883, -0.18492449820041656, 0.8974311947822571, 0.4795611500740051, -0.2232574075460434, 0.3042513430118561, 0.012176979333162308, -0.23434723913669586, 0.4698423147201538, 0.47149768471717834, 0.7778584361076355, -0.21793058514595032, 0.18035119771957397, 0.8986489176750183, 0.0426788330078125, 0.10072476416826248, 0.4042860269546509, -0.10572873055934906, -0.2591138184070587, -0.33277156949043274, -0.6338896155357361, -0.507031261920929, -0.09218062460422516, -0.7253670692443848, 0.6230586171150208, -0.7243912816047668, -0.020352678373456, -0.188136488199234, -0.061115533113479614, -0.47046715021133423, 0.4997088313102722, 0.2320639193058014, 0.983500063419342, -0.2971547245979309, 0.3793315291404724, 0.7420653104782104, 0.1185998022556305, -0.8288416266441345, -0.0603296160697937, 0.33408406376838684, -0.28732767701148987, -0.10664643347263336, 0.3354884386062622, -0.4958001971244812, 0.2708680331707001, -0.6617772579193115, -0.8383256793022156, 0.9857780337333679, 0.17110265791416168, -0.43645137548446655, -0.1483238786458969, 0.031257856637239456, 0.19626590609550476, -0.1697118729352951, -0.028697971254587173, 0.1733158379793167, 0.5543971657752991, 0.49277377128601074, -0.7137948870658875, -0.009642697870731354, -0.5618243217468262, 0.5354900360107422, 0.22628197073936462, -0.28349751234054565, 0.6874865889549255, -0.203054741024971, -0.42273035645484924, 0.39336898922920227, 1.0545614957809448, 0.3790637254714966, 0.04947565495967865, 0.5755902528762817, 0.5546024441719055, 0.660400390625, -0.2922728359699249, 1.1884171962738037, 0.015254161320626736, 0.1467123180627823, 1.0744136571884155, 0.2736954391002655, 0.2564297616481781, 0.2796757221221924, 0.30720874667167664, 0.47936415672302246, 0.7097833752632141, 0.23828481137752533, 0.35218676924705505, 0.29239413142204285, -0.050474997609853745, -0.054797276854515076, 0.041209954768419266, -0.3834245800971985, 0.26372361183166504, 0.393380343914032, 0.007091186940670013, -0.663811445236206, 0.1029135137796402, 0.11192147433757782, 0.5236482620239258, -0.5649015307426453, 0.755203366279602, -0.2261858433485031, -0.23550787568092346, 0.36243724822998047, 0.15364965796470642, 0.6190712451934814, -0.7542740702629089, -0.39682185649871826, -0.09552804380655289, 0.0280062984675169, -0.37635400891304016, -0.8328037261962891, 0.392689973115921, 0.07917986065149307, -0.10098161548376083, -0.5044681429862976, 0.42022284865379333, -0.5840655565261841, -0.7568433284759521, -0.22045880556106567, 0.19319671392440796, 0.0640798881649971, -0.2775709927082062, -0.5558573603630066, 0.17592865228652954, 0.3410242199897766, -0.43528854846954346, -0.1904778927564621, 0.7178179621696472, -0.07308869808912277, 0.41963082551956177, 0.6178221702575684, -0.07108934968709946, 0.18175572156906128, 0.2331215888261795, 1.0339823961257935, -0.662726640701294, -0.4825170636177063, -0.4914206564426422, 0.8827049732208252, -0.13432642817497253, -0.40001875162124634, 0.7020865082740784, 0.7144758701324463, 1.0096355676651, -0.012949836440384388, 0.5547587275505066, 0.04160284623503685, 0.698549747467041, -0.7173543572425842, 0.9749389290809631, -0.6655027270317078, -0.15151318907737732, -0.16368137300014496, -0.8413366079330444, -0.9840318560600281, 0.5599771738052368, 0.10819222778081894, 0.21321339905261993, 0.8446951508522034, 0.8013750910758972, 0.018674112856388092, -0.09291458129882812, 0.16405119001865387, -0.10902862250804901, 0.5634943842887878, 0.11013834178447723, 0.4982539713382721, -0.18869651854038239, 0.6366904973983765, -0.7548186182975769, -0.4541296362876892, 0.10000834614038467, -1.1191903352737427, -0.6917575001716614, -0.41536733508110046, -0.5135552883148193, -0.032472655177116394, -0.6393643021583557, 0.44195738434791565, 0.7281879186630249, -0.448636919260025, -0.14962024986743927, -0.21062389016151428, 0.10804785043001175, -0.055966079235076904, -0.2681690454483032, 0.049218904227018356, -0.3177301585674286, -0.9922888278961182, 0.2172940969467163, 0.24680590629577637, 0.4122295081615448, -0.029027843847870827, 0.1585952341556549, -0.1379772424697876, -0.04373243823647499, 0.4772323966026306, 0.21923591196537018, -0.3512662351131439, -0.12459296733140945, -0.13924965262413025, -0.32001760601997375, 0.07045838236808777, 1.0416326522827148, -0.7400273084640503, 0.8202630281448364, 0.631420910358429, 0.37861168384552, 0.33501163125038147, 0.2437317818403244, 1.0726661682128906, -0.8979703187942505, 0.25909075140953064, 0.15337054431438446, 0.1529524028301239, 0.19406306743621826, -0.6001793146133423, 0.16885297000408173, -0.22240537405014038, -0.326898992061615, -0.3108869194984436, 0.28892454504966736, -1.1211251020431519, -0.22672967612743378, 0.851976752281189, 0.03471995145082474, -0.39653268456459045, -0.04488024115562439, -0.8490091562271118, 0.23886889219284058, -0.2227598875761032, 0.5938157439231873, 0.4982934296131134, -0.38611581921577454, -0.19308075308799744, -0.44418102502822876, 0.7336665391921997, -0.16418491303920746, -1.0275020599365234, -0.08075834810733795, 0.8896996974945068, -0.244437575340271, 0.12070534378290176, 0.36969882249832153, -0.5503537654876709, 0.36736300587654114, -0.24178174138069153, 0.38084980845451355, -0.4145204722881317, -0.5688461065292358, -0.4246571958065033, 0.12407651543617249, -0.22166867554187775, -0.24106979370117188 ]
http://arxiv.org/abs/2406.01574v4
http://arxiv.org/pdf/2406.01574v4
MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark
2024-06-03T17:53:00
2024-06-23T15:57:16
Yubo Wang, Xueguang Ma, Ge Zhang, Yuansheng Ni, Abhranil Chandra, Shiguang Guo, Weiming Ren, Aaran Arulraj, Xuan He, Ziyan Jiang, Tianle Li, Max Ku, Kai Wang, Alex Zhuang, Rongqi Fan, Xiang Yue, Wenhu Chen
cs.CL
cs.CL
In the age of large-scale language models, benchmarks like the Massive Multitask Language Understanding (MMLU) have been pivotal in pushing the boundaries of what AI can achieve in language comprehension and reasoning across diverse domains. However, as models continue to improve, their performance on these benchmarks has begun to plateau, making it increasingly difficult to discern differences in model capabilities. This paper introduces MMLU-Pro, an enhanced dataset designed to extend the mostly knowledge-driven MMLU benchmark by integrating more challenging, reasoning-focused questions and expanding the choice set from four to ten options. Additionally, MMLU-Pro eliminates the trivial and noisy questions in MMLU. Our experimental results show that MMLU-Pro not only raises the challenge, causing a significant drop in accuracy by 16% to 33% compared to MMLU but also demonstrates greater stability under varying prompts. With 24 different prompt styles tested, the sensitivity of model scores to prompt variations decreased from 4-5% in MMLU to just 2% in MMLU-Pro. Additionally, we found that models utilizing Chain of Thought (CoT) reasoning achieved better performance on MMLU-Pro compared to direct answering, which is in stark contrast to the findings on the original MMLU, indicating that MMLU-Pro includes more complex reasoning questions. Our assessments confirm that MMLU-Pro is a more discriminative benchmark to better track progress in the field.
[ -0.6042041182518005, -0.8607961535453796, 0.6169643998146057, -0.0743865966796875, 0.08019860833883286, 0.33351489901542664, -0.23783904314041138, -0.5053912997245789, -0.4997851550579071, 0.23736681044101715, -0.8180170655250549, -0.14766527712345123, -0.6675618290901184, 0.4252638816833496, 0.12298564612865448, 0.9143621921539307, -0.005721591878682375, 0.051892396062612534, -0.388586163520813, -0.5527942776679993, -0.5814263820648193, -0.5963281393051147, -0.6108839511871338, -0.4162655174732208, 0.4607306718826294, 0.2698648273944855, 0.700009822845459, 0.3099652826786041, 0.39408329129219055, 0.2436896115541458, -0.018533702939748764, 0.4563138782978058, -0.16281147301197052, 0.02933536283671856, 0.036796506494283676, -0.6116229891777039, -0.6317287087440491, 0.11912927776575089, 0.48101431131362915, 0.7728086113929749, 0.15151351690292358, 0.38433802127838135, 0.15257062017917633, 0.7309494614601135, -0.8710113763809204, 0.276024729013443, -0.5587665438652039, -0.19831405580043793, -0.17230577766895294, 0.12561865150928497, -0.5793357491493225, 0.12044475972652435, 0.0029241202864795923, -0.845827043056488, 0.08038777112960815, -0.02189301885664463, 0.6915656328201294, 0.3728010654449463, -0.44321781396865845, -0.02843107469379902, -0.4936123788356781, 0.7596977949142456, -0.5142102837562561, 0.7613089084625244, 0.41269153356552124, 0.7023146152496338, -0.06906680762767792, -0.39690297842025757, -0.5941564440727234, -0.4885055124759674, 0.13799834251403809, 0.20723126828670502, -0.17966966331005096, -0.12923218309879303, 0.3860200345516205, 0.008505510166287422, -0.696951687335968, -0.030896242707967758, -0.10598011314868927, -0.22785213589668274, 0.4410967528820038, 0.26483726501464844, -0.09981843084096909, 0.15051262080669403, -0.12559844553470612, -0.1846214234828949, -0.7034748792648315, 0.4315447509288788, 0.3414213955402374, 0.036314092576503754, 0.1907208412885666, 0.49151867628097534, -0.3611825108528137, 0.9185281991958618, -0.1345127671957016, -0.29990875720977783, 0.41872894763946533, -0.3920195400714874, -0.23648260533809662, -0.4081641435623169, 0.6142607927322388, 0.3315487802028656, 0.32489514350891113, 0.08103901892900467, -0.002934391377493739, 0.1270156055688858, 0.13949277997016907, -0.5381597876548767, -0.2707541882991791, 0.4373857080936432, -0.30175209045410156, 0.05106864497065544, -0.16474869847297668, -0.5038440227508545, -0.44567370414733887, -0.40688398480415344, 0.11547073721885681, -0.47990795969963074, -0.3689771294593811, 0.172037735581398, -0.053149204701185226, 0.08911366015672684, 0.5785549879074097, -0.6149495840072632, 0.21729682385921478, 1.0036957263946533, 0.6125422716140747, 0.012921108864247799, -0.43009093403816223, -0.7500399947166443, -0.0971352830529213, -0.3092113733291626, 0.9258003234863281, -0.7822790145874023, -0.10970937460660934, -0.32223138213157654, -0.065066397190094, -0.4162589907646179, -0.7843242287635803, 0.7048804759979248, -0.3104616105556488, 0.12395896762609482, -0.5786063075065613, -0.44450610876083374, -0.17008467018604279, 0.6331709623336792, -0.7343266010284424, 0.988361656665802, 0.0804356262087822, -0.7015963792800903, 0.42544102668762207, -0.7339661717414856, -0.008784031495451927, 0.10646442323923111, -0.3393770456314087, -0.08186906576156616, 0.012442052364349365, 0.4909965693950653, 0.29675617814064026, -0.5049262046813965, 0.5173394083976746, -0.50114905834198, -0.16344840824604034, 0.35751956701278687, -0.4482802748680115, 0.720894455909729, 0.3688730299472809, -0.14442092180252075, 0.3170628845691681, -0.685988187789917, -0.12988919019699097, 0.044744644314050674, -0.2868219316005707, -0.3149585425853729, -0.023158598691225052, -0.20593462884426117, 0.3770888149738312, 0.12097913771867752, -0.526755154132843, 0.048308275640010834, 0.014720507897436619, 0.2178322821855545, 0.7071593999862671, -0.558174729347229, 0.23768216371536255, -0.47161442041397095, 0.5645941495895386, 0.049428075551986694, 0.34050410985946655, -0.03040432557463646, -0.7942246198654175, -0.5924527645111084, -0.30416256189346313, 0.22179783880710602, 0.6276038289070129, -0.6883631348609924, 0.316627562046051, -0.18537962436676025, -0.41622260212898254, -1.1392232179641724, 0.052686795592308044, 0.34690526127815247, 0.7733407020568848, 0.5130254626274109, 0.03240935131907463, -0.3603426218032837, -0.7004961371421814, -0.32747799158096313, -0.326920747756958, -0.1203392744064331, 0.580568790435791, 0.4660360515117645, -0.13219928741455078, 0.5961740612983704, -0.46435704827308655, -0.11890818923711777, -0.47380006313323975, 0.214638814330101, 0.4012709856033325, 0.33124181628227234, 0.3197367489337921, -0.7281271815299988, -0.43511494994163513, 0.005806627683341503, -0.6468561887741089, -0.11653025448322296, -0.2741582989692688, -0.032600000500679016, -0.1333473175764084, 0.30168646574020386, -0.7723302245140076, -0.17383474111557007, 0.5648643374443054, -0.4493853747844696, 1.3525010347366333, -0.2744385898113251, 0.23119917511940002, -0.7616369724273682, 0.38483482599258423, -0.04911021888256073, -0.16581475734710693, -0.7395294308662415, 0.4502602219581604, 0.3231711685657501, -0.1058388501405716, -0.2949088215827942, 0.46560177206993103, -0.32441017031669617, -0.09663916379213333, -0.25491389632225037, 0.2711277902126312, 0.23824477195739746, 0.3470461964607239, -0.09866387397050858, 1.057281494140625, 0.6676286458969116, -0.6179512143135071, 0.21776096522808075, 0.20651006698608398, -0.49628978967666626, 0.6241000294685364, -0.604930579662323, 0.14773905277252197, -0.21944782137870789, 0.389409601688385, -0.7573769092559814, 0.1408650130033493, 0.020883683115243912, -0.4264245331287384, -0.03491281718015671, 0.16581226885318756, -0.44369664788246155, -0.47104552388191223, -0.3189502954483032, 0.3285938799381256, 0.16252170503139496, -0.4547388255596161, 0.529842734336853, 0.130340114235878, 0.01170878391712904, -1.029611349105835, -0.3629269003868103, 0.022510197013616562, -0.1969255954027176, -0.4914272129535675, 0.2563824951648712, -0.45633751153945923, -0.4775872528553009, -0.17664651572704315, -0.15091577172279358, -0.0423395112156868, 0.3752071261405945, -0.12037836015224457, 0.24031130969524384, -0.35207778215408325, 0.16314072906970978, -0.045292071998119354, -0.3266907036304474, 0.12052550911903381, -0.053135067224502563, 0.6451651453971863, -0.21579855680465698, -0.283903032541275, -0.3924657702445984, 0.43381592631340027, 0.7402775883674622, -0.5754516124725342, 0.7538210153579712, 0.7801032066345215, -0.24176247417926788, -0.0018833575304597616, -0.5117177963256836, -0.05889301374554634, -0.43305620551109314, 0.3183217942714691, -1.056450605392456, -0.9538280963897705, 0.5653665065765381, -0.2735397517681122, 0.42147743701934814, 0.5397166609764099, 0.3997437059879303, -0.20129041373729706, 1.2235137224197388, 0.3873623311519623, -0.142921581864357, 0.07850204408168793, -0.10410597920417786, -0.03012566640973091, -1.1958367824554443, -0.285188227891922, -0.5960366725921631, -0.16507895290851593, -0.19468609988689423, -0.5477635264396667, 0.09811913967132568, 0.3185422718524933, -0.12648150324821472, 0.3250305652618408, -0.21065294742584229, 0.28577709197998047, 0.4408986270427704, 0.13973306119441986, 0.3798825740814209, -0.6949502229690552, -0.3502390384674072, 0.06070441007614136, -0.5144441723823547, -0.456651508808136, 1.0230498313903809, 0.3261229991912842, 0.41825562715530396, 0.217230424284935, 0.20049883425235748, 0.10919944941997528, 0.23913997411727905, -0.5371044874191284, 0.48935526609420776, -0.2588135302066803, -0.6907560229301453, -0.09376377612352371, -0.40287718176841736, -0.8528692722320557, 0.6199873685836792, -0.18842962384223938, -0.7193016409873962, 0.06502722203731537, 0.11813534051179886, -0.5938891768455505, 0.08252374827861786, -0.7289554476737976, 1.005663514137268, -0.13648734986782074, -0.07379898428916931, -0.18870382010936737, -0.37909042835235596, 0.3420889675617218, -0.118806853890419, 0.46682223677635193, -0.5355864763259888, -0.09800510108470917, 0.5866592526435852, -0.18980422616004944, 0.5436413288116455, -0.21228885650634766, -0.019702352583408356, 0.19267785549163818, -0.04357944056391716, 0.4707162082195282, 0.10687607526779175, -0.2627708315849304, -0.2694820165634155, -0.003246504347771406, -0.40022942423820496, -0.6541065573692322, 0.5884938836097717, -0.6827979683876038, -0.7720164060592651, -0.015395687893033028, -0.9553085565567017, -0.36121630668640137, -0.03193400427699089, -0.0051832846365869045, 0.5750753879547119, 0.02497481182217598, 0.1762092411518097, 0.4703110158443451, -0.2573007345199585, 0.3001162111759186, 0.5492180585861206, -0.09094088524580002, -0.2017465978860855, 0.6939632892608643, 0.08104004710912704, 0.23212996125221252, 0.41000622510910034, 0.4791104197502136, -0.6480525135993958, -0.5498062968254089, -0.6773270964622498, 0.004610161762684584, -0.7175511717796326, -0.07557396590709686, -1.0560879707336426, 0.25307390093803406, -0.5113883018493652, 0.16589879989624023, -0.3110925257205963, -0.27667272090911865, -0.18214601278305054, -0.13355647027492523, 0.1449050009250641, 0.4106036126613617, 0.17221666872501373, 0.15119828283786774, -0.7144313454627991, 0.3810397684574127, 0.24349287152290344, 0.2362300306558609, -0.07887189090251923, -0.4458976984024048, -0.024752561002969742, -0.16162589192390442, -0.2276761382818222, -0.9916186928749084, 0.18033695220947266, 0.3693167269229889, 0.9152413606643677, 0.33250534534454346, 0.2449093461036682, 0.9412499070167542, -0.46509045362472534, 0.7032938599586487, 0.0516890324652195, -0.8588826656341553, 0.4442509710788727, -0.2588731050491333, 0.773044228553772, 0.8523918986320496, 0.4601162374019623, -0.38142967224121094, -0.6111676692962646, -0.5144162774085999, -0.33382225036621094, 0.3851487934589386, 0.06338236480951309, -0.20677955448627472, 0.16771015524864197, 0.18490073084831238, 0.4856277108192444, 0.029555723071098328, -0.6078542470932007, -0.32264798879623413, 0.04131553694605827, -0.18569611012935638, -0.3650314509868622, -0.07609659433364868, 0.0010092305019497871, -0.4739625155925751, 0.3335122764110565, -0.427315354347229, 0.24821072816848755, 0.04588911682367325, -0.3615979850292206, 0.2991446852684021, 0.43451160192489624, 0.5516943335533142, 0.8008890748023987, -0.19033759832382202, 0.4347704350948334, 0.34257620573043823, -0.47414451837539673, 0.01620572805404663, 0.26448220014572144, 0.1005125343799591, -0.1229144036769867, 0.4803933799266815, 0.8068476915359497, -0.10537432134151459, -0.9402981400489807, 0.21704748272895813, -0.09201129525899887, -0.42406344413757324, 0.1675407588481903, 0.0975632593035698, 0.08947780728340149, 0.39070966839790344, 0.46958327293395996, 0.15182150900363922, 0.28613370656967163, -0.586990475654602, 0.3513181507587433, 0.35656240582466125, -0.28642943501472473, -0.30370816588401794, 0.79015052318573, 0.10587133467197418, -0.2501949667930603, 0.4058071970939636, -0.27162715792655945, -0.446270614862442, 0.6095463037490845, 0.5464699864387512, 0.5309866070747375, -0.21433855593204498, 0.31021949648857117, 0.46609821915626526, 0.3204170763492584, -0.016648845747113228, 0.5334357023239136, -0.26901674270629883, -0.8042993545532227, -0.7506104707717896, -0.29862573742866516, -0.5315941572189331, 0.5030354857444763, -0.5416921973228455, -0.0803464949131012, -0.33119723200798035, -0.3167448937892914, 0.14915306866168976, 0.30141589045524597, -0.6819104552268982, 0.27534982562065125, 0.024966005235910416, 1.0274863243103027, -0.8719431161880493, 1.1607463359832764, 0.6971863508224487, -0.08644662797451019, -0.5239940285682678, -0.20167972147464752, 0.11233316361904144, -0.49192681908607483, 0.2869567275047302, 0.7686294913291931, 0.02974851056933403, -0.0879768505692482, -0.1114516332745552, -0.5305288434028625, 0.918724775314331, 0.49898090958595276, -0.6990386247634888, 0.3617565333843231, 0.08393500745296478, 0.4338693916797638, -0.4439324140548706, 0.5567344427108765, 0.9881680607795715, 0.48180368542671204, -0.30441078543663025, -0.9972809553146362, 0.09993819147348404, -0.4008166790008545, -0.6789156794548035, 0.13396446406841278, -0.44351816177368164, 0.9881734251976013, -0.37146103382110596, -0.04100961238145828, -0.13933849334716797, 0.536702036857605, 0.6714816093444824, 0.49965712428092957, 0.7188088893890381, 0.37020447850227356, 1.0193151235580444, -0.16391418874263763, 0.9068912863731384, -0.0998438224196434, 0.1718425303697586, 1.3856886625289917, -0.32208865880966187, 0.9442141652107239, 0.34595438838005066, -0.28564196825027466, 0.4174979031085968, 0.6602272391319275, 0.04381079971790314, 0.3624744415283203, 0.06264763325452805, -0.3753635883331299, -0.530623197555542, -0.2558222711086273, -0.36561334133148193, 0.3955641984939575, 0.2603265941143036, 0.07555977255105972, -0.14939334988594055, 0.2886013090610504, -0.041917648166418076, 0.14623022079467773, -0.06576482951641083, 0.6669855117797852, -0.10673077404499054, -0.7678168416023254, 0.5569414496421814, -0.22408920526504517, 0.7435703873634338, -0.4374334514141083, 0.1349831372499466, -0.20434248447418213, 0.2769724726676941, 0.10147875547409058, -0.8992643356323242, 0.34558364748954773, 0.1349593549966812, -0.037598371505737305, -0.1502782702445984, 0.6215770840644836, -0.278188019990921, -0.35173937678337097, 0.4493650496006012, 0.8758062720298767, 0.17681172490119934, -0.36809638142585754, -1.1863399744033813, 0.15018944442272186, -0.1898782104253769, -0.13321055471897125, 0.27509865164756775, 0.23265543580055237, 0.023550599813461304, 0.9558170437812805, 0.7033135294914246, -0.3092270493507385, 0.10418204218149185, 0.4872920513153076, 0.7960213422775269, -0.2541845142841339, -0.4107937216758728, -0.8466196656227112, 0.4828127920627594, -0.2684613764286041, -0.48569199442863464, 0.6191929578781128, 0.5269554853439331, 0.7831160426139832, -0.07478658854961395, 0.6464401483535767, -0.01735985092818737, 0.3272870182991028, -0.28843432664871216, 0.6326888799667358, -0.6540521383285522, 0.05875222012400627, -0.17998084425926208, -0.6518412232398987, -0.27568739652633667, 0.4666009247303009, -0.21562451124191284, -0.17868497967720032, 0.7801560163497925, 0.5971273183822632, 0.02638867311179638, 0.03442887216806412, 0.5720754265785217, -0.19855691492557526, 0.5679264664649963, 0.7801032066345215, 0.8802098631858826, -0.38925960659980774, 0.6492695212364197, -0.3056604564189911, -0.3122166097164154, 0.0825871080160141, -0.6476375460624695, -0.9041916131973267, -0.6758125424385071, -0.3699977397918701, 0.06464722007513046, 0.025791235268115997, 0.7157996296882629, 0.8264672160148621, -0.9217604398727417, -0.13959762454032898, -0.07816816866397858, 0.010511030443012714, -0.821537435054779, -0.168554425239563, 0.34585753083229065, -0.49510911107063293, -0.6312240362167358, 0.7090418338775635, 0.09527307003736496, -0.3434954583644867, 0.011915474198758602, -0.2608656585216522, -0.39832380414009094, 0.003352266736328602, 0.7660357356071472, 0.07706744223833084, -0.8195775151252747, -0.2664613425731659, 0.29296445846557617, 0.14798687398433685, 0.05915874242782593, 0.7488881349563599, -0.745625913143158, 0.6043462753295898, 0.4993024170398712, 0.8320392966270447, 0.216744527220726, -0.04892346262931824, 0.6968931555747986, -0.6584560871124268, 0.04750169813632965, 0.05088916793465614, 0.5034881830215454, 0.20208671689033508, -0.3263219892978668, 0.4328669309616089, 0.15568694472312927, -0.38700956106185913, -0.7746283411979675, 0.2801811993122101, -0.8165428042411804, -0.584600567817688, 0.9347149133682251, -0.3455585241317749, 0.022398753091692924, -0.5505183935165405, -0.2701299488544464, 0.25838959217071533, -0.27731937170028687, 0.4782885015010834, 0.7872576117515564, -0.26652294397354126, -0.7292695641517639, -0.9265095591545105, 0.4793294668197632, 0.6982988715171814, -1.0888824462890625, 0.43191641569137573, 0.3604784905910492, -0.01507127471268177, 0.10782143473625183, 0.7301487326622009, 0.0324726365506649, 0.47681403160095215, 0.12359294295310974, -0.4174794852733612, -0.3648439347743988, -0.668773353099823, -0.14427828788757324, 0.4049665033817291, 0.15233518183231354, -0.34350860118865967 ]
http://arxiv.org/abs/2406.01566v1
http://arxiv.org/pdf/2406.01566v1
Helix: Distributed Serving of Large Language Models via Max-Flow on Heterogeneous GPUs
2024-06-03T17:47:53
2024-06-03T17:47:53
Yixuan Mei, Yonghao Zhuang, Xupeng Miao, Juncheng Yang, Zhihao Jia, Rashmi Vinayak
cs.DC
cs.DC, cs.CL, cs.LG
This paper introduces Helix, a distributed system for high-throughput, low-latency large language model (LLM) serving on heterogeneous GPU clusters. A key idea behind Helix is to formulate inference computation of LLMs over heterogeneous GPUs and network connections as a max-flow problem for a directed, weighted graph, whose nodes represent GPU instances and edges capture both GPU and network heterogeneity through their capacities. Helix then uses a mixed integer linear programming (MILP) algorithm to discover highly optimized strategies to serve LLMs. This approach allows Helix to jointly optimize model placement and request scheduling, two highly entangled tasks in heterogeneous LLM serving. Our evaluation on several heterogeneous cluster settings ranging from 24 to 42 GPU nodes shows that Helix improves serving throughput by up to 2.7$\times$ and reduces prompting and decoding latency by up to 2.8$\times$ and 1.3$\times$, respectively, compared to best existing approaches.
[ -0.569219708442688, -1.4968750476837158, 0.673940122127533, 0.564337968826294, 0.0961819514632225, 0.10263143479824066, -0.24300406873226166, -0.3606344163417816, 0.4288181662559509, 0.6394402980804443, -0.5960605144500732, -0.4162345230579376, -0.3545026481151581, 0.14948713779449463, -0.15343943238258362, 0.5932517051696777, 0.12277084589004517, 0.015197869390249252, -0.5099754333496094, -0.05362783372402191, -0.32748326659202576, -0.23621682822704315, -0.6333009600639343, -0.46147000789642334, 0.5893622040748596, 0.5556687712669373, 0.9517280459403992, 1.1519463062286377, 0.8581572771072388, 0.31559616327285767, -0.16960245370864868, -0.048401277512311935, -0.6422997713088989, 0.49504223465919495, 0.1067056804895401, -0.30261197686195374, -0.669016420841217, 0.04473916068673134, 0.8993415236473083, 1.2091903686523438, -0.40313562750816345, 0.38299551606178284, 0.0006988568929955363, 0.5613517165184021, -0.7951635718345642, 0.07108817994594574, -0.3142079710960388, 0.3170437812805176, -0.6701115369796753, -0.08309482783079147, -0.5007893443107605, -0.33811503648757935, 0.014401973225176334, -0.8895290493965149, -0.15251891314983368, 0.18585221469402313, 0.4971861243247986, 0.42208752036094666, -0.15304479002952576, 0.15077543258666992, -0.9224335551261902, 0.7058331966400146, -0.7119812369346619, 0.4526708126068115, 0.11856634169816971, 0.5796011686325073, -0.2718314230442047, -0.8678534626960754, -0.5726733803749084, 0.09381559491157532, 0.43197157979011536, 0.11035800725221634, -0.15449532866477966, 0.048494454473257065, 0.4514842927455902, 0.5832223296165466, -0.7443327903747559, 0.32125598192214966, -0.10910699516534805, 0.22601160407066345, 0.4179544746875763, 0.28489434719085693, 0.33249902725219727, 0.38893362879753113, -0.14211143553256989, 0.03906935825943947, -0.9228066802024841, 0.05121109262108803, 0.4386212229728699, 0.4704304337501526, -0.1944901943206787, 0.8576887845993042, -0.4189077615737915, 0.7638058662414551, 0.2361784726381302, 0.11441890150308609, 0.10513380914926529, 0.10806349664926529, -0.5901563167572021, 0.07881639897823334, 0.3942531645298004, 0.0001729630312183872, -0.2245226502418518, 0.009664826095104218, 0.032120976597070694, 0.07703093439340591, 0.2303229570388794, -0.7443798184394836, -0.06727954745292664, 0.19088086485862732, -0.4640566110610962, -0.1804538518190384, -0.25340282917022705, -0.7567669153213501, -0.38632869720458984, -0.01392355840653181, -0.015260422602295876, 0.18727649748325348, -0.4091901481151581, 0.17836473882198334, 0.020253444090485573, 0.06987813115119934, 0.33372265100479126, -0.9784675240516663, 0.5181794166564941, 0.9730573892593384, 1.1197750568389893, -0.43775850534439087, -0.3042697012424469, -0.9956408143043518, 0.5096144676208496, -0.20394064486026764, 0.7212429046630859, -0.8129397034645081, -0.24545130133628845, 0.15165185928344727, 0.0017836653860285878, -0.16518154740333557, -0.5150356888771057, 0.4430343508720398, -0.5725777745246887, -0.07561038434505463, -0.14364750683307648, -0.8339625597000122, -0.21217074990272522, -0.012273777276277542, -0.8933801054954529, 0.778297483921051, -0.05792665109038353, -0.8188425302505493, 0.13052748143672943, -0.6677263379096985, -0.5626694560050964, 0.7461214661598206, -0.16311369836330414, -0.2646300792694092, 0.04552902281284332, 0.18211795389652252, 0.6901131868362427, -0.51209557056427, 0.05869544669985771, -1.034080982208252, -0.40495041012763977, -0.37366750836372375, -0.17157240211963654, 0.8757231831550598, 0.39520367980003357, -0.11368569731712341, 0.3111792206764221, -0.3333345651626587, 0.024722816422581673, 0.09098352491855621, -0.647578239440918, -0.22306984663009644, 0.1580904722213745, 0.1589815765619278, -0.21222703158855438, 0.07999933511018753, -0.7926613092422485, 0.7835986018180847, -0.2548125982284546, 0.6078745722770691, 0.8018057346343994, -0.48664361238479614, 0.6127912402153015, -0.2513924837112427, 0.6521904468536377, -0.41553449630737305, 0.40847474336624146, 0.12440264970064163, -0.8525837659835815, -0.5284510850906372, -0.32643619179725647, -0.4304702877998352, 0.5880445837974548, -0.6464124917984009, -0.005855295807123184, -0.26428836584091187, -0.5160269737243652, -0.5619957447052002, 0.16878895461559296, 0.0435357503592968, 0.4435288906097412, 0.19322799146175385, 0.003864148398861289, -0.38509443402290344, -0.8836131691932678, 0.16687241196632385, -0.07189901918172836, 0.35023704171180725, 0.6441975235939026, 0.21100890636444092, -0.7319959402084351, 0.6403312683105469, -0.6942247152328491, -0.06321829557418823, -0.5067444443702698, -0.02609284035861492, 0.8145975470542908, 0.5368767380714417, 0.3470464050769806, -0.5984157919883728, -0.6592278480529785, 0.2404014617204666, -0.8768093585968018, -0.12728238105773926, 0.17390109598636627, -0.1614750772714615, 0.13473862409591675, 0.49578070640563965, -0.5319236516952515, 0.004242101684212685, 1.144797921180725, -0.24075615406036377, 0.8343790173530579, -0.3991372585296631, -0.0883498266339302, -0.9824163913726807, -0.2115928828716278, 0.049399349838495255, -0.270835280418396, -0.5023987889289856, 0.31325188279151917, -0.2500624656677246, -0.26692596077919006, -0.2275668829679489, 0.3288804292678833, -0.32405033707618713, -0.20166923105716705, -0.32072731852531433, -0.5002220273017883, -0.28617456555366516, 0.25032877922058105, 0.03525185212492943, 0.9753561615943909, 1.068605899810791, -0.6050098538398743, 0.7984514832496643, 0.11039099842309952, -0.05654093250632286, 0.8052738904953003, -0.8347815275192261, 0.1455909013748169, 0.27611860632896423, 0.4765447676181793, -0.6270653009414673, -0.3833024501800537, -0.0261966772377491, -0.09217074513435364, -0.10113994032144547, -0.31617552042007446, -0.3197052478790283, -0.5774049758911133, -0.1032840758562088, 0.6862987875938416, 0.24431629478931427, -0.7991451621055603, 0.7405768632888794, 0.7194777727127075, -0.14753952622413635, -0.523553192615509, -0.5324696898460388, 0.10870400816202164, -0.2929953634738922, -1.1516211032867432, 0.1519532948732376, -0.29295918345451355, -0.1929963082075119, -0.07464414834976196, 0.18206726014614105, -0.4082779586315155, 0.21661965548992157, 0.7604110240936279, 0.170084610581398, -0.6003390550613403, -0.24671576917171478, 0.0881902426481247, -0.10815519839525223, -0.11462832242250443, -0.6208820343017578, 0.967170000076294, -0.587674081325531, -0.6602150201797485, -0.6806994676589966, 0.6197167038917542, 0.5544618964195251, 0.040617216378450394, 0.7501792311668396, 0.7481739521026611, -0.25074175000190735, -0.33943942189216614, -0.46148741245269775, -0.10879835486412048, -0.5285065174102783, 0.20386278629302979, -0.6243582963943481, -1.2340232133865356, 0.6086159348487854, -0.11877051740884781, 0.08825471252202988, 0.4326038360595703, 0.8110736012458801, -0.39615505933761597, 1.129036784172058, 0.9826753735542297, -0.4621717631816864, 0.39658060669898987, -0.25389793515205383, 0.19254320859909058, -0.7364688515663147, 0.16749350726604462, -0.37785792350769043, -0.22220158576965332, -0.7351325750350952, -0.5481024384498596, 0.48398417234420776, 0.12179527431726456, -0.43013572692871094, 0.25719234347343445, -0.4593333601951599, 0.3595213294029236, 0.7115162014961243, -0.26373282074928284, 0.382519006729126, 0.018948324024677277, -0.4044342041015625, 0.3786241114139557, -0.9250904321670532, -0.32655659317970276, 0.8294956684112549, 0.45920366048812866, 0.9735893607139587, 0.14201359450817108, 0.4289180338382721, 0.4480646848678589, 0.15093962848186493, -0.5343961119651794, 0.5291750431060791, 0.10680419206619263, -0.41633373498916626, -0.45742711424827576, -0.6216260194778442, -0.7129411101341248, 0.1737200915813446, -0.2598583698272705, -0.7300258874893188, -0.17740878462791443, 0.028838548809289932, -0.388145387172699, 0.720227837562561, -0.4036053717136383, 0.5287226438522339, 0.33584049344062805, -0.4358949661254883, -0.4281129539012909, -0.2074202299118042, 0.30227476358413696, 0.2349155843257904, -0.09717102348804474, -0.07850499451160431, 0.5489986538887024, 0.5782768130302429, -0.39420461654663086, 0.35619062185287476, -0.1880520135164261, -0.0040006390772759914, -0.10559926182031631, 0.24045273661613464, 0.6973994970321655, 0.4830074906349182, -0.007287447340786457, 0.2597125470638275, -0.1078905463218689, -0.33266139030456543, -0.3888578414916992, 1.0028389692306519, -0.7703244090080261, -0.6856558322906494, -0.46827512979507446, -0.8450777530670166, -0.021996160969138145, 0.1884266436100006, -0.07790634036064148, 0.2155405580997467, 0.012824220582842827, 0.3371053636074066, 0.7034953832626343, -0.45225292444229126, 0.5010557174682617, 0.35797548294067383, -0.25493547320365906, -0.10730302333831787, 0.7545133829116821, -0.19036053121089935, 0.1959875375032425, 0.06818543374538422, 0.11391069740056992, 0.0615093931555748, -0.7579060792922974, -0.7079715728759766, 0.3915051519870758, -0.38287919759750366, 0.06466731429100037, -0.7309119701385498, -0.20798926055431366, -0.5302027463912964, -0.49476465582847595, -0.8428810238838196, -0.24401968717575073, -0.21999534964561462, 0.0881912112236023, 0.29294463992118835, 0.8166367411613464, -0.18580622971057892, 0.6385995745658875, -0.4908701777458191, 0.18351218104362488, 0.2331009954214096, 0.6165785789489746, -0.05170106515288353, -0.23758114874362946, -0.39079558849334717, -0.10291508585214615, 0.05200396850705147, -0.42934587597846985, 0.30801862478256226, 0.10083538293838501, 0.5967623591423035, 0.7698850035667419, -0.23926421999931335, 0.7968330979347229, -0.6161536574363708, 0.4899410009384155, 0.14468546211719513, -0.8119092583656311, 0.18026958405971527, -0.6259844303131104, 0.40932753682136536, 0.2601621747016907, 0.40494388341903687, -1.0413715839385986, -0.5688116550445557, -0.1959272176027298, -0.8044639825820923, 0.6231802105903625, 0.10999992489814758, -0.02514270506799221, 0.14122359454631805, 0.28383809328079224, -0.040414486080408096, -0.07595191150903702, -0.5562843084335327, -0.34606367349624634, 0.14327462017536163, 0.14333027601242065, 0.05203183367848396, -0.12468788027763367, -0.137062668800354, -0.4612375497817993, 0.7511586546897888, -0.24504049122333527, 0.47951456904411316, -0.1748482584953308, -0.11747314780950546, -0.29240986704826355, -0.08426199853420258, 0.5021251440048218, 0.7695605158805847, -0.43815237283706665, 0.22616076469421387, -0.08707679063081741, -0.751704216003418, -0.18255361914634705, 0.12274335324764252, -0.3280316889286041, -0.3522374629974365, 0.33241745829582214, 0.7755439281463623, -0.5876405239105225, -0.43052414059638977, 0.15408524870872498, -0.2318490594625473, -0.009474046528339386, 0.029788756743073463, 0.190839022397995, 0.37036415934562683, 0.7924181818962097, 0.365927129983902, -0.308164119720459, 0.024646740406751633, -0.19489923119544983, 0.14039282500743866, 0.625115156173706, -0.2696201205253601, -0.24336856603622437, 0.8622547388076782, 0.12968504428863525, -0.14476388692855835, 0.8957049250602722, 0.07513926178216934, -0.19515462219715118, 0.3880898356437683, 0.8184075355529785, 0.7652665972709656, -0.127084419131279, 0.35284262895584106, 0.1604679524898529, 0.0072722528129816055, -0.18063673377037048, 0.20125016570091248, -0.03933939337730408, -0.7706145644187927, -0.5531395077705383, -0.8024991750717163, -0.48561835289001465, -0.18110306560993195, -0.5945850610733032, -0.17938388884067535, -0.5045448541641235, -0.21688471734523773, 0.1494794636964798, 0.13807864487171173, -0.4924142062664032, -0.3125162124633789, 0.4459253251552582, 0.7874630093574524, -0.959080159664154, 1.0232723951339722, 0.7194145321846008, -0.14865191280841827, -0.7144123911857605, -0.6215053200721741, 0.06526260823011398, -0.6508170962333679, 0.7853389382362366, -0.08266464620828629, -0.3578201234340668, 0.10183288156986237, -0.4784593880176544, -0.963123619556427, 0.9372765421867371, 0.36232492327690125, -0.5706335306167603, 0.06849014014005661, 0.4398582875728607, 0.1720230132341385, -0.5013852715492249, 0.41168269515037537, 0.12352219969034195, 0.6150644421577454, 0.2360527515411377, -1.0468395948410034, -0.14259818196296692, -0.4306187629699707, -0.0004192658234387636, -0.03292156010866165, -0.3044864237308502, 1.2775418758392334, -0.0649162083864212, -0.17726905643939972, -0.26940295100212097, 0.8722436428070068, 0.3833881616592407, 0.22107727825641632, 0.42983248829841614, 0.8742555379867554, 1.0326344966888428, 0.007482901681214571, 1.182235598564148, -0.1581297069787979, 0.5161721110343933, 1.0017098188400269, -0.6118894219398499, 0.6619066596031189, 0.6980358362197876, -0.010715226642787457, 0.1443966031074524, 0.7594581246376038, 0.0928247720003128, 0.43039581179618835, 0.28823551535606384, -0.30924537777900696, -0.19871750473976135, -0.14081445336341858, -0.3743899464607239, 0.16418199241161346, 0.11113877594470978, 0.18056991696357727, -0.34598666429519653, 0.3175036311149597, -0.02242671139538288, -0.30057060718536377, -0.4165797531604767, 0.5163158178329468, -0.024064840748906136, -0.26274263858795166, 0.645316481590271, 0.20227493345737457, 0.8006386756896973, -0.1385643631219864, -0.016015803441405296, -0.3775571882724762, 0.3215161859989166, -0.30411794781684875, -0.6725490689277649, 0.19066627323627472, -0.07174587994813919, -0.40374791622161865, -0.515477180480957, 0.35013559460639954, -0.14845868945121765, -0.48946264386177063, 0.4254889190196991, 0.624763548374176, 0.10775468498468399, -0.24358804523944855, -0.6104360222816467, 0.23331888020038605, -0.33805927634239197, -0.5174473524093628, 0.12842957675457, 0.12082797288894653, -0.11640915274620056, 1.1147037744522095, 0.8705976009368896, 0.3602418899536133, 0.5141300559043884, 0.17030417919158936, 0.9163024425506592, -0.3762458562850952, -0.525243878364563, -0.8385060429573059, -0.17271190881729126, 0.14342713356018066, -0.11312413960695267, 0.9575169086456299, 0.7714666128158569, 0.9132723808288574, 0.13460633158683777, 0.5175769329071045, -0.06338395923376083, 0.10472283512353897, -0.28357386589050293, 0.9360601305961609, -0.4917444586753845, 0.14991448819637299, -0.10775883495807648, -1.2075427770614624, -0.42673441767692566, 0.7218904495239258, -0.2539445459842682, -0.47630736231803894, 0.5179157853126526, 0.7200498580932617, -0.4622214436531067, 0.2776780128479004, 0.1699155569076538, 0.13412770628929138, 0.6453579664230347, 0.6410022974014282, 0.7196388244628906, 0.16333067417144775, -0.19782468676567078, -0.0894225537776947, -0.1087695062160492, -0.4918190836906433, -0.6220803260803223, -0.549888551235199, -0.5994856357574463, -0.20655018091201782, -0.2035372108221054, 0.1183486133813858, 0.9458562731742859, 0.8663415908813477, -0.5996527075767517, -0.9348622560501099, -0.14899492263793945, 0.23145821690559387, -0.497886598110199, -0.16419851779937744, 0.31840258836746216, -0.2817663252353668, -0.7289624214172363, 0.5841866135597229, 0.635464072227478, -0.4464586079120636, -0.38238614797592163, -0.3218669593334198, -0.5096473097801208, -0.03392709419131279, 0.4614374041557312, 0.18695548176765442, -0.31806957721710205, -0.07490473240613937, 0.030544521287083626, -0.3269152045249939, 0.24962562322616577, 0.8905184268951416, -0.394744336605072, 0.3161650598049164, 0.6096779108047485, 1.0110409259796143, 0.847537636756897, -0.1314001977443695, 0.649351179599762, -0.24563300609588623, 0.22911502420902252, 0.3949020206928253, 0.29806432127952576, -0.16457565128803253, -0.3844030499458313, 0.21723176538944244, 0.3513869345188141, -0.6303845643997192, -0.9309254288673401, 0.31163474917411804, -1.3168035745620728, -0.30295154452323914, 1.0780797004699707, -0.14657697081565857, -0.47157022356987, -0.0275057815015316, 0.5029403567314148, 0.3960804343223572, -0.34241238236427307, 0.4833790361881256, 0.5182170867919922, -0.22419919073581696, -0.054539360105991364, -1.0602456331253052, 0.28766176104545593, 0.3113557994365692, -0.8694720268249512, 0.12578140199184418, 0.48270049691200256, 0.038292016834020615, -0.172520250082016, 0.5464662909507751, 0.36094149947166443, -0.028702622279524803, -0.25402411818504333, 0.07306593656539917, -0.31673142313957214, -0.5247256755828857, -0.11862973123788834, 0.34114333987236023, -0.32160359621047974, 0.08875814080238342 ]
http://arxiv.org/abs/2406.01563v1
http://arxiv.org/pdf/2406.01563v1
LoFiT: Localized Fine-tuning on LLM Representations
2024-06-03T17:45:41
2024-06-03T17:45:41
Fangcong Yin, Xi Ye, Greg Durrett
cs.CL
cs.CL
Recent work in interpretability shows that large language models (LLMs) can be adapted for new tasks in a learning-free way: it is possible to intervene on LLM representations to elicit desired behaviors for alignment. For instance, adding certain bias vectors to the outputs of certain attention heads is reported to boost the truthfulness of models. In this work, we show that localized fine-tuning serves as an effective alternative to such representation intervention methods. We introduce a framework called Localized Fine-Tuning on LLM Representations (LoFiT), which identifies a subset of attention heads that are most important for learning a specific task, then trains offset vectors to add to the model's hidden representations at those selected heads. LoFiT localizes to a sparse set of heads (3%) and learns the offset vectors from limited training data, comparable to the settings used for representation intervention. For truthfulness and reasoning tasks, we find that LoFiT's intervention vectors are more effective for LLM adaptation than vectors from representation intervention methods such as Inference-time Intervention. We also find that the localization step is important: selecting a task-specific set of attention heads can lead to higher performance than intervening on heads selected for a different task. Finally, for the tasks we study, LoFiT achieves comparable performance to other parameter-efficient fine-tuning methods such as LoRA, despite modifying 20x-200x fewer parameters than these methods.
[ -0.3356938362121582, -0.8475971817970276, 0.5971761345863342, 0.006729476153850555, -0.259676456451416, -0.14329655468463898, -0.6795943379402161, -0.3392804265022278, 0.14420217275619507, 0.5696735978126526, -0.4666971266269684, -0.5280167460441589, -0.6241680979728699, -0.05730966478586197, -0.052688952535390854, 0.882989227771759, -0.28363147377967834, 0.0005597975105047226, -0.19888383150100708, -0.36261898279190063, -0.7084671854972839, -0.26173678040504456, -0.7818618416786194, -0.4163435995578766, 0.7957687973976135, 0.531963586807251, 0.5824370980262756, 1.0612844228744507, 0.6977499723434448, 0.3094964325428009, -0.06406878679990768, 0.46446698904037476, -0.7828482389450073, 0.015518199652433395, -0.5151660442352295, -0.7822355031967163, -0.42538243532180786, -0.06525812298059464, 0.7462605237960815, 0.768872857093811, 0.13707782328128815, 0.12577424943447113, 0.2014797031879425, 0.7433915734291077, -0.8141281604766846, 0.2122943103313446, -0.8149439692497253, 0.03236836567521095, -0.13483253121376038, -0.27870187163352966, -0.18302181363105774, -0.3151828646659851, -0.027575017884373665, -0.6256669163703918, 0.30936765670776367, -0.29463866353034973, 0.7443618774414062, 0.8882015943527222, -0.3892996907234192, 0.025087008252739906, -0.705346405506134, 0.952540397644043, -0.7153696417808533, 0.35103273391723633, 0.42270031571388245, 0.09790006279945374, -0.22810140252113342, -0.36116892099380493, -0.12724155187606812, 0.0565158911049366, -0.16700299084186554, 0.05724417790770531, -0.13172835111618042, 0.1725713610649109, 0.41448792815208435, 0.34033912420272827, -0.14842863380908966, 0.18674424290657043, 0.027152689173817635, -0.19533893465995789, 0.4604504108428955, -0.026790671050548553, -0.17967310547828674, 0.06436196714639664, -0.138706237077713, 0.23000216484069824, -0.8828473687171936, 0.0807715579867363, 0.17022691667079926, 0.5995991230010986, -0.05086822435259819, 0.4785636365413666, -0.4461634159088135, 0.9584627151489258, 0.5302562117576599, -0.2867453098297119, 0.0831272080540657, -0.1621425449848175, -0.20909710228443146, -0.01149003580212593, 0.3275703191757202, 0.10723230987787247, 0.3006610572338104, -0.09289436787366867, -0.45524856448173523, -0.06536521017551422, 0.28453513979911804, -0.68822181224823, 0.03937758505344391, -0.08837350457906723, -0.279550701379776, -0.2881557047367096, -0.1948525756597519, -0.10178515315055847, -0.38918912410736084, -0.7803176641464233, 0.5069365501403809, -0.30207154154777527, 0.06893275678157806, 0.247904971241951, 0.35958996415138245, 0.3943875730037689, 0.3766302168369293, -0.8482097387313843, 0.010407174937427044, 0.7227029800415039, 0.7524534463882446, -0.5233374834060669, -0.1422150731086731, -1.0442761182785034, 0.16254925727844238, -0.26454928517341614, 0.9732558727264404, -0.6654650568962097, -0.0030647614039480686, 0.02389511466026306, 0.1769048571586609, -0.22833143174648285, -0.689095675945282, 0.5491462349891663, -0.35781583189964294, -0.22158972918987274, -0.6501121520996094, -0.5422292947769165, -0.08527884632349014, 0.19785435497760773, -0.5558866262435913, 0.9473050832748413, 0.1400832086801529, -0.7390796542167664, 0.1990908831357956, -0.6774663925170898, -0.6391476392745972, -0.30055105686187744, -0.21120955049991608, -0.2639853358268738, 0.4355185031890869, 0.5654575824737549, 0.6924907565116882, 0.13577373325824738, -0.006135016214102507, -0.19266515970230103, -0.6771636009216309, -0.0873650535941124, -0.354611337184906, 0.3214985132217407, 0.0856495201587677, -0.33093899488449097, 0.16159681975841522, -0.6858172416687012, -0.09112390130758286, -0.00035521475365385413, -0.4400457441806793, -0.37380871176719666, 0.01257091574370861, -0.3946300745010376, -0.2639966905117035, 0.4876381456851959, -0.346052885055542, 0.34618905186653137, -0.6863153576850891, 0.3227604329586029, 0.782042384147644, 0.1253064125776291, 0.6605423092842102, -0.18925662338733673, 0.44623687863349915, 0.06873336434364319, -0.1400781273841858, -0.13677319884300232, -0.2784932553768158, -0.9629966616630554, -0.402894526720047, 0.40210145711898804, 0.4041562080383301, -0.8114685416221619, 0.3273712396621704, -0.3061913847923279, -0.2287159562110901, -0.459158331155777, 0.3333033323287964, 0.41192662715911865, 0.5874457955360413, 0.11145847290754318, -0.1435040831565857, -0.30688437819480896, -0.9416316747665405, -0.5012712478637695, 0.38276296854019165, 0.19034424424171448, 0.1685255914926529, 0.3715500235557556, -0.19373561441898346, 1.0473116636276245, -0.5953457355499268, -0.4239071011543274, -0.04261653870344162, 0.20971332490444183, 0.33389848470687866, 0.46705910563468933, 0.5686221718788147, -0.7129636406898499, -0.5975903272628784, 0.3249254822731018, -0.5465514659881592, -0.11402863264083862, -0.1686534732580185, -0.1377798616886139, 0.12784959375858307, 0.6053743362426758, -0.4431726336479187, 0.3299625515937805, 0.3551998436450958, -0.2543697655200958, 0.1352262794971466, -0.30210208892822266, -0.02975478209555149, -0.8719519972801208, 0.0027192640118300915, -0.17002765834331512, -0.6645132303237915, -0.544928789138794, 0.26751378178596497, 0.19692641496658325, 0.10914678871631622, -0.37425997853279114, 0.5707243084907532, -0.4257197082042694, -0.0785500705242157, -0.39684510231018066, 0.4121236503124237, -0.0922478437423706, 0.8201302886009216, 0.13211116194725037, 0.8797996044158936, 0.3992390036582947, -0.4406477212905884, 0.1297455132007599, 0.22870449721813202, -0.3785998523235321, 0.7182555198669434, -0.543079674243927, 0.3447447717189789, -0.25049716234207153, -0.13392598927021027, -0.689486563205719, -0.2604736387729645, -0.04078291356563568, -0.2508014440536499, 0.369315505027771, -0.25774824619293213, -0.37494537234306335, 0.17141181230545044, -0.18022094666957855, 0.2410798966884613, 0.18590021133422852, -0.6205394864082336, 0.724570631980896, 0.21221186220645905, 0.02580358274281025, -0.6268258094787598, -0.5037282109260559, -0.4699897766113281, -0.2771386206150055, -0.3730338215827942, 0.2814445495605469, -0.08446763455867767, -0.004722132347524166, -0.08183281123638153, -0.35449936985969543, 0.11201228201389313, 0.2158048301935196, 0.21751125156879425, -0.2098468691110611, -0.35932570695877075, 0.16237416863441467, 0.23792043328285217, -0.24728457629680634, -0.3188305199146271, -0.23261025547981262, 0.2793063521385193, -0.17820578813552856, -0.47015181183815, -0.1629060059785843, 0.2455933392047882, 0.35897356271743774, -0.626417338848114, 0.5747144818305969, 1.0200002193450928, -0.5160580277442932, -0.09333395957946777, -0.6227934956550598, -0.15231658518314362, -0.5173852443695068, 0.5474284887313843, -0.40066489577293396, -1.1871737241744995, 0.5015044808387756, -0.28146520256996155, 0.16230158507823944, 0.08915440738201141, 0.648698627948761, -0.14610952138900757, 1.144283413887024, 0.861622154712677, -0.2592064440250397, 0.7491036653518677, -0.22397556900978088, 0.21812453866004944, -0.8408576846122742, 0.28117895126342773, -0.32369574904441833, -0.6550531983375549, -0.5262159109115601, -0.6944010257720947, 0.3868245780467987, 0.43311408162117004, -0.27026739716529846, 0.27776747941970825, -0.436603307723999, 0.9116213917732239, 0.38688981533050537, 0.12885965406894684, 0.3693016469478607, 0.268531858921051, -0.0007473459700122476, -0.2402423471212387, -0.6644265055656433, -0.2349240928888321, 0.803393542766571, 0.3164502680301666, 0.6306673884391785, -0.12737971544265747, 0.8025591969490051, 0.09300458431243896, 0.3233654499053955, -0.9381372928619385, 0.38373419642448425, -0.3526538908481598, -0.15302138030529022, -0.28638020157814026, -0.3512832820415497, -0.9482609033584595, 0.18026579916477203, -0.21641500294208527, -0.8644653558731079, 0.34804731607437134, 0.3924940824508667, -0.567970335483551, 0.3349180519580841, -0.7703145742416382, 0.7935754060745239, -0.006825069431215525, -0.3289080560207367, -0.3066260516643524, -0.22553949058055878, -0.011260433122515678, -0.2902676463127136, 0.11467382311820984, -0.27858254313468933, -0.10095439851284027, 0.5178452730178833, 0.06745351105928421, 1.0666255950927734, -0.28334206342697144, -0.5130008459091187, -0.060349542647600174, 0.12191828340291977, 1.062678575515747, 0.2219136357307434, -0.06082196906208992, 0.05391398444771767, -0.07098706066608429, -0.42980241775512695, -0.9261727929115295, 1.0808138847351074, -0.7364109754562378, -0.7167443633079529, -0.041247107088565826, -0.9449909925460815, -0.5929652452468872, 0.49017587304115295, 0.20504868030548096, 0.36475369334220886, -0.04281550645828247, 0.2991091310977936, 1.0749480724334717, -0.054107416421175, 0.07668843865394592, 0.5163441300392151, -0.16491125524044037, -0.30388060212135315, 1.1515973806381226, 0.10417083650827408, 0.2556431293487549, 0.7350950837135315, 0.09354828298091888, 0.11993272602558136, -0.6140801906585693, 0.09222646057605743, 0.4517395794391632, -0.8593529462814331, -0.3769392967224121, -0.22224698960781097, -0.05174164101481438, -0.16124451160430908, -0.3111765682697296, -0.6157948970794678, -0.4541826844215393, -0.3740553855895996, 0.025801721960306168, 0.3621932864189148, 0.6717692613601685, -0.2360563427209854, 0.47081172466278076, -0.40662872791290283, 0.498709499835968, 0.3057255148887634, 0.5787209868431091, -0.30329927802085876, -0.6044221520423889, -0.6675139665603638, 0.042677801102399826, -0.1813850849866867, -0.40900325775146484, 0.057802729308605194, 0.16229571402072906, 0.36687910556793213, 0.5375913381576538, -0.04864310473203659, 0.9185234308242798, -0.5278423428535461, 0.39613863825798035, -0.18291763961315155, -0.8744149208068848, 0.6024191975593567, -0.5955400466918945, 0.654554009437561, 0.46600601077079773, 0.21528975665569305, -0.3766237795352936, -0.39169567823410034, -0.16944575309753418, -0.6016665697097778, 0.641545295715332, 0.11409787088632584, 0.1970871239900589, 0.1622813642024994, 0.8385455012321472, -0.08269002288579941, 0.02954702638089657, -0.49342554807662964, -0.2654425799846649, 0.13909666240215302, -0.2790283262729645, -0.14757227897644043, -0.2796531021595001, -0.26109418272972107, -0.5085888504981995, 0.5222705006599426, -0.6484726667404175, 0.617099404335022, 0.2530713677406311, -0.14141327142715454, -0.3608630895614624, -0.03505096212029457, 0.5967590808868408, 0.5430015325546265, -0.15254268050193787, 0.10911033302545547, 0.4217835068702698, -0.3102983236312866, -0.22854335606098175, -0.0018073308747261763, -0.2801083028316498, -0.11241477727890015, 0.6278788447380066, 0.9639865756034851, 0.5119937062263489, -0.44411882758140564, 0.39966756105422974, 0.08776004612445831, -0.09431926161050797, -0.06653165817260742, 0.4059321880340576, 0.1856505572795868, 0.591943085193634, -0.09104857593774796, 0.17246417701244354, -0.15644747018814087, -0.14874525368213654, -0.06543389707803726, 0.6299020051956177, -0.6282034516334534, -0.22580446302890778, 0.5004886984825134, 0.09719143807888031, -0.18479564785957336, 0.2589971721172333, -0.05312199518084526, -0.2512812912464142, 0.31099334359169006, 0.4202108383178711, 0.7194005846977234, -0.1121010035276413, 0.01713377796113491, 0.3681756556034088, 0.23617976903915405, 0.059860266745090485, 0.3115101456642151, -0.18052247166633606, -0.9420015811920166, -0.7819762825965881, -0.5604130029678345, -0.18619650602340698, 0.2039056420326233, -0.7671234607696533, 0.1904173046350479, -0.36706581711769104, -0.14425702393054962, -0.1108480840921402, 0.01368276309221983, -0.715405285358429, -0.006942932493984699, 0.17302270233631134, 0.9052677750587463, -0.5648102760314941, 0.9792933464050293, 0.7883925437927246, -0.054163865745067596, -0.6883451342582703, 0.13969852030277252, -0.2494136095046997, -0.8288698792457581, 0.43350234627723694, -0.013594001531600952, -0.18835081160068512, 0.11901502311229706, -0.7631714344024658, -1.2850607633590698, 1.039548635482788, 1.041603922843933, -0.7114232778549194, -0.09399387985467911, 0.17446790635585785, 0.4140944182872772, -0.2890751361846924, -0.19935853779315948, 0.8584773540496826, 0.40907660126686096, -0.21568097174167633, -0.887364387512207, -0.049087610095739365, 0.07325970381498337, 0.17081955075263977, 0.183897465467453, -0.750981867313385, 0.5237554907798767, -0.23744738101959229, -0.0763443261384964, 0.03467749431729317, 0.8206507563591003, -0.0077280825935304165, -0.21467959880828857, 0.42871880531311035, 0.3671236038208008, 0.9742806553840637, -0.2326330691576004, 0.9312053322792053, -0.23559391498565674, 0.42891600728034973, 1.4065297842025757, -0.04152827337384224, 0.8485146164894104, 0.6950539350509644, 0.147004172205925, 0.20054104924201965, 0.4713633358478546, 0.12430749833583832, 0.6750928163528442, -0.19624002277851105, -0.07324196398258209, -0.6309952735900879, -0.13293753564357758, -0.04683176055550575, 0.393309623003006, 0.32279273867607117, -0.0716010257601738, -0.2932839095592499, 0.2477516382932663, -0.09869974851608276, 0.22501035034656525, -0.49333810806274414, 0.6725925207138062, 0.11825621128082275, -0.5538952350616455, 0.8463739156723022, 0.09103726595640182, 0.5372381806373596, -0.6088979244232178, -0.18000884354114532, -0.43982329964637756, 0.5185479521751404, -0.2574212849140167, -0.5629410743713379, 0.33261367678642273, -0.11927812546491623, -0.3529708683490753, -0.2872750163078308, 0.7235690355300903, -0.4538045823574066, -0.36040279269218445, 0.13393722474575043, 0.29773685336112976, -0.18301409482955933, -0.29992416501045227, -0.6013911962509155, 0.09057226777076721, 0.32262122631073, -0.488882839679718, 0.40372946858406067, 0.5421311259269714, -0.2161649465560913, 0.676567554473877, 0.5092616081237793, 0.27795302867889404, -0.1660710573196411, -0.003210825612768531, 0.7846745252609253, -0.6003952622413635, -0.26731401681900024, -0.5472486615180969, 0.2708483338356018, 0.17850516736507416, -0.11553743481636047, 0.5560780167579651, 0.29404568672180176, 0.9857913255691528, -0.10348460078239441, 0.5858258605003357, 0.1773301213979721, 0.5067468285560608, -0.7567487359046936, 0.5664814114570618, -0.603943943977356, 0.15607567131519318, -0.020008310675621033, -0.9326846599578857, -0.48627907037734985, 0.8580435514450073, -0.6308172345161438, -0.1742510050535202, 0.5781134366989136, 0.9728578329086304, -0.34592509269714355, -0.220873162150383, 0.545880913734436, 0.46031031012535095, 0.14892685413360596, 0.44088849425315857, 0.4949212670326233, -0.26747098565101624, 0.23229143023490906, -0.3105810880661011, -0.08044598251581192, 0.02279284968972206, -0.9277434945106506, -1.0720208883285522, -0.4184935986995697, -0.36233168840408325, 0.03295179456472397, -0.004678850527852774, 1.0059199333190918, 0.6915993094444275, -0.9214977622032166, 0.019462184980511665, 0.167942613363266, 0.27265191078186035, -0.40317845344543457, -0.15020884573459625, 0.5586954951286316, -0.6356823444366455, -0.8686439990997314, 0.43685007095336914, 0.28405216336250305, -0.26691892743110657, -0.12097637355327606, -0.15471023321151733, 0.00029993485077284276, 0.08013854175806046, 0.6475380063056946, 0.1290530413389206, -0.7584981918334961, -0.5397422313690186, -0.10487278550863266, 0.046730272471904755, 0.34179821610450745, 0.9624364376068115, -0.7916322350502014, 0.3655671179294586, 0.2617238461971283, 0.7822183966636658, 0.5610833764076233, -0.14519573748111725, 0.6264523863792419, -1.0940855741500854, 0.28115615248680115, 0.010513575747609138, 0.538636326789856, 0.35128316283226013, -0.566763699054718, 0.5544431805610657, 0.00047892623115330935, -0.45694729685783386, -0.7633936405181885, 0.38733506202697754, -0.8785537481307983, -0.0015181031776592135, 1.2028683423995972, -0.2050771862268448, -0.24172578752040863, 0.10977713018655777, -0.4164767265319824, 0.31201374530792236, -0.18915539979934692, 0.5703303813934326, 0.5326568484306335, -0.17885687947273254, -0.08634206652641296, -0.5927943587303162, 0.6322290897369385, 0.5246963500976562, -0.5772806406021118, 0.3167933523654938, 0.14257177710533142, 0.4142262041568756, 0.13365384936332703, 0.47844043374061584, 0.04280029237270355, 0.19126498699188232, -0.6553232669830322, -0.23008139431476593, -0.04713602364063263, -0.15176478028297424, -0.5904784202575684, -0.21648217737674713, 0.319728821516037, 0.10171819478273392 ]
http://arxiv.org/abs/2406.01561v2
http://arxiv.org/pdf/2406.01561v2
Long and Short Guidance in Score identity Distillation for One-Step Text-to-Image Generation
2024-06-03T17:44:11
2024-06-22T04:48:56
Mingyuan Zhou, Zhendong Wang, Huangjie Zheng, Hai Huang
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG, stat.ML
Diffusion-based text-to-image generation models trained on extensive text-image pairs have shown the capacity to generate photorealistic images consistent with textual descriptions. However, a significant limitation of these models is their slow sample generation, which requires iterative refinement through the same network. In this paper, we enhance Score identity Distillation (SiD) by developing long and short classifier-free guidance (LSG) to efficiently distill pretrained Stable Diffusion models without using real training data. SiD aims to optimize a model-based explicit score matching loss, utilizing a score-identity-based approximation alongside the proposed LSG for practical computation. By training exclusively with fake images synthesized with its one-step generator, SiD equipped with LSG rapidly improves FID and CLIP scores, achieving state-of-the-art FID performance while maintaining a competitive CLIP score. Specifically, its data-free distillation of Stable Diffusion 1.5 achieves a record low FID of 8.15 on the COCO-2014 validation set, with a CLIP score of 0.304 at an LSG scale of 1.5, and a FID of 9.56 with a CLIP score of 0.313 at an LSG scale of 2. Our SiD-LSG code and distilled one-step text-to-image generators are available at https://github.com/mingyuanzhou/SiD-LSG
[ -0.36497363448143005, -0.6749271154403687, 0.7534784078598022, 0.358293741941452, -0.863629162311554, 0.13482066988945007, -0.1313239336013794, -0.09275761991739273, 0.13777759671211243, 0.19589240849018097, -0.49303629994392395, -0.6351918578147888, -0.7258121967315674, -0.08111334592103958, -0.29910174012184143, 1.324417233467102, 0.005975441541522741, -0.005465237889438868, -0.37516090273857117, -0.15268534421920776, -0.27411502599716187, -0.0008500706171616912, -0.9329220652580261, -0.17189045250415802, 0.7663133144378662, 0.15778250992298126, 0.4702853560447693, 0.48812755942344666, 0.4162724018096924, 0.1684160679578781, -0.3102567493915558, 0.2204558551311493, -0.722620964050293, 0.24774384498596191, -0.37994489073753357, -0.026494184508919716, -0.3927137851715088, 0.194998636841774, 0.6432756185531616, 0.29037943482398987, 0.016017325222492218, 0.31889447569847107, 0.32974186539649963, 0.9884397983551025, -0.6505234837532043, 0.19899782538414001, -0.5166010856628418, -0.1660281866788864, -0.375597208738327, -0.045494917780160904, -0.44451120495796204, -0.5505709648132324, 0.07792153209447861, -0.6369573473930359, 0.518051266670227, 0.07155188918113708, 0.8440757393836975, 0.3693578839302063, -0.3870270550251007, -0.38041481375694275, -0.6346005201339722, 0.6312281489372253, -0.4300857484340668, -0.16051991283893585, 0.15275363624095917, 0.545822262763977, -0.064629465341568, -0.8338299989700317, -0.47201141715049744, 0.04957341402769089, -0.03823241963982582, 0.22634536027908325, -0.010484226047992706, 0.1574195772409439, 0.1063026487827301, 0.41566988825798035, -0.22735987603664398, -0.038363464176654816, -0.6631602048873901, -0.07321307808160782, 0.906970202922821, -0.2011573314666748, -0.3731636703014374, 0.10030437260866165, -0.53785640001297, -0.10648460686206818, -0.49703797698020935, -0.09072750061750412, 0.4714394807815552, 0.1961032599210739, -0.03439093753695488, 0.09679047018289566, 0.11777101457118988, 0.5364548563957214, 0.5864176750183105, -0.35207095742225647, 0.25910571217536926, -0.18754340708255768, -0.07541390508413315, 0.27004021406173706, 1.0142831802368164, 0.5390543937683105, 0.3550264835357666, 0.21897576749324799, -0.23772844672203064, -0.018753277137875557, 0.04933056980371475, -1.201673984527588, -0.2916536331176758, -0.15542829036712646, -0.578687846660614, -0.7040156722068787, 0.028240609914064407, -0.8872770667076111, -0.22884376347064972, 0.04997343569993973, 0.4960535168647766, -0.3819694519042969, -0.18008244037628174, -0.19036832451820374, -0.420002281665802, 0.06456150114536285, 0.5763265490531921, -0.4606216549873352, 0.09912294149398804, 0.23451390862464905, 1.1922132968902588, -0.6085748076438904, -0.014885741285979748, -0.654996931552887, -0.03004305437207222, -0.5268563628196716, 0.6013794541358948, -0.1862902194261551, -0.8498610854148865, -0.3711912930011749, 0.019083164632320404, 0.3118768632411957, -0.5595280528068542, 0.5891055464744568, -0.3519335389137268, 0.1537436544895172, -0.10226381570100784, -0.5639194846153259, 0.025153299793601036, 0.02856159210205078, -0.6544910073280334, 1.0028835535049438, 0.18512596189975739, -0.6458642482757568, 0.4240091145038605, -0.7016265988349915, -0.5501377582550049, 0.1211010068655014, -0.13675306737422943, -0.6257871389389038, 0.2108909785747528, 0.16911455988883972, 0.5117239952087402, -0.3017790615558624, 0.27860885858535767, -0.32118868827819824, -0.5141983032226562, -0.4011300206184387, -0.7637758851051331, 0.6960213780403137, 0.2909272313117981, -0.21931105852127075, -0.17639726400375366, -0.8689665198326111, -0.026944216340780258, 0.2610524892807007, -0.3169720768928528, -0.3856760561466217, -0.12414669245481491, -0.012091624550521374, 0.11261370033025742, 0.06984669715166092, -0.549975574016571, 0.2509305775165558, 0.24480555951595306, 0.1636226773262024, 1.139113426208496, 0.3899650573730469, 0.5013996958732605, -0.3336417078971863, 0.6165140867233276, 0.3429723381996155, 0.11595357209444046, -0.6743005514144897, -0.7888731956481934, -0.37810423970222473, -0.6451433300971985, 0.4503341615200043, 0.20858606696128845, -0.8762547373771667, 0.3061448633670807, -0.3807615637779236, -0.684391975402832, -0.718822717666626, 0.1881166249513626, 0.43033185601234436, 0.879096508026123, 0.48473799228668213, -0.531186580657959, 0.0897093266248703, -0.6680846810340881, 0.05457659810781479, -0.04410010576248169, -0.05600455030798912, 0.16361699998378754, 0.5080255270004272, 0.0697360709309578, 1.0126285552978516, -0.8552266359329224, -0.7151395678520203, 0.1734001636505127, 0.19670990109443665, 0.20167331397533417, 0.545531153678894, 0.8737406730651855, -0.8027254939079285, -0.8330166339874268, -0.20562218129634857, -0.39429062604904175, -0.00933821965008974, -0.1937071681022644, -0.2298586070537567, 0.050798408687114716, 0.3943467140197754, -0.28939512372016907, 0.6947104334831238, 0.5743458271026611, -0.3103684186935425, 0.5022916197776794, -0.43939486145973206, 0.28924524784088135, -1.0841840505599976, 0.08122546225786209, 0.4004260301589966, -0.509946346282959, -0.29870304465293884, -0.03264036774635315, 0.08203639090061188, -0.11465070396661758, -0.8620628714561462, 0.7338481545448303, -0.4262627959251404, 0.4923902153968811, -0.16675570607185364, -0.004151890520006418, 0.40170717239379883, 0.5667185187339783, 0.02771919220685959, 0.6155986785888672, 0.8209386467933655, -0.7485995888710022, 0.3343100845813751, -0.05361912027001381, -0.6874608993530273, 0.8842989802360535, -0.6903762221336365, 0.27214255928993225, -0.5778086185455322, 0.4688384532928467, -1.0625908374786377, 0.05821036547422409, 0.29190224409103394, -0.1898675560951233, 0.4324468970298767, -0.4211520850658417, -0.2055094838142395, -0.2879544198513031, -0.3624374270439148, 0.8068323135375977, 1.118898630142212, -0.8357223272323608, 0.41559168696403503, -0.19260863959789276, 0.07542642205953598, -0.21520663797855377, -0.700581967830658, -0.3069884777069092, -0.31818535923957825, -0.424576997756958, 0.8123993873596191, -0.3291616141796112, 0.019927820190787315, -0.044477857649326324, -0.10689764469861984, -0.151716411113739, -0.21131102740764618, 0.2817158102989197, 0.33370068669319153, -0.0461009256541729, 0.1690545231103897, 0.4639225900173187, -0.11246516555547714, -0.09339478611946106, -0.062212008982896805, 0.04133348539471626, 0.38883113861083984, -0.23934534192085266, -0.6008533835411072, 0.41830435395240784, 0.7375233173370361, -0.050960056483745575, 0.7032307386398315, 0.442929744720459, -0.00479337340220809, -0.4387989938259125, -0.13656257092952728, 0.14527563750743866, -0.5548853278160095, 0.04533732309937477, -0.37757641077041626, -0.4886947572231293, 0.3885442018508911, -0.42778125405311584, 0.14002187550067902, 0.5926698446273804, 0.18609263002872467, -0.3764099180698395, 0.7822192907333374, 0.2970726490020752, 0.025905083864927292, 0.5230597853660583, -0.1931649148464203, -0.01223174948245287, -0.6626467108726501, -0.15150506794452667, -0.2325286865234375, -0.45876410603523254, -0.25463250279426575, -0.7549422383308411, 0.6093470454216003, 0.13914459943771362, 0.01398445013910532, -0.14534467458724976, -0.8820557594299316, 0.8547499179840088, 0.3711223602294922, 0.20067457854747772, 0.20744115114212036, -0.02338649518787861, -0.15251611173152924, -0.04757073521614075, -0.3247949481010437, -0.1942436844110489, 1.1360386610031128, 0.27535971999168396, 1.036710500717163, -0.16645997762680054, 1.1060487031936646, 0.7460148930549622, 0.26159706711769104, -0.7953270077705383, 0.4893046021461487, -0.2989139258861542, -0.33902493119239807, 0.022919688373804092, -0.4024598300457001, -0.4741887152194977, 0.016526801511645317, -0.1708879917860031, -0.0027942718006670475, 0.05136731266975403, 0.5359998941421509, -0.279254674911499, 0.07120536267757416, -0.7643104195594788, 0.7239675521850586, -0.4548872709274292, -0.4828779995441437, -0.07187043130397797, -0.46879926323890686, 0.5033240914344788, -0.41101452708244324, 0.09383990615606308, -0.14392885565757751, 0.2389652580022812, 0.65313720703125, -0.4784232974052429, 0.5454050898551941, -0.6752827167510986, -0.3454975485801697, 0.5979646444320679, -0.11329680681228638, 0.640446126461029, -0.04636860638856888, -0.3093171715736389, 0.34075990319252014, -0.005988565273582935, -0.4067852199077606, -0.7448524832725525, 0.7712356448173523, -0.22259561717510223, -0.6081570982933044, -0.2990206480026245, 0.1592949479818344, 0.35615265369415283, 0.2535732388496399, 0.6626275777816772, 0.07008571922779083, -0.3929537236690521, 0.06912919133901596, 0.8478567004203796, 0.0489167757332325, 0.5337010025978088, -0.11662285029888153, -0.2803824245929718, -0.48876920342445374, 0.8429372310638428, -0.02804386056959629, 0.5685965418815613, 0.019780796021223068, 0.22726275026798248, -0.37573111057281494, -0.42660441994667053, -0.5974385142326355, 0.07057873159646988, -0.7493337392807007, -0.35441845655441284, 0.12355952709913254, -0.21383176743984222, -0.3990460932254791, -0.18355543911457062, -0.522412121295929, -0.30774033069610596, -0.6982886791229248, 0.05307263880968094, 0.36673247814178467, 0.5010725855827332, 0.17334318161010742, 0.5150797963142395, -0.6455190181732178, 0.6211531758308411, 0.2026628851890564, 0.5446731448173523, -0.008543954230844975, -0.5117092728614807, -0.2246338129043579, 0.13970717787742615, -0.4408950209617615, -0.8745110630989075, 0.006947415880858898, 0.7482287287712097, 0.32810673117637634, 0.864305853843689, 0.3775944709777832, 1.0205390453338623, -0.7748250365257263, 0.9234669804573059, 0.5173909664154053, -0.904859185218811, 0.8050947785377502, -0.04949368163943291, 0.4046687185764313, 0.6374408006668091, 0.4923017621040344, -0.22733615338802338, -0.20338879525661469, -0.35858461260795593, -0.7191434502601624, 0.5113905072212219, 0.212945818901062, 0.14636088907718658, -0.16904887557029724, 0.6178066730499268, 0.293660044670105, -0.020117126405239105, -0.566070020198822, -0.4910448491573334, -0.38690483570098877, -0.32553502917289734, -0.05033165216445923, -0.012163102626800537, -0.07744795829057693, -0.3837142586708069, 0.8629320859909058, -0.28585362434387207, -0.15533187985420227, 0.2871963679790497, 0.08318690210580826, 0.10459712147712708, -0.14145256578922272, 0.3999749422073364, 0.17564813792705536, -0.09915003180503845, -0.11052335798740387, -0.2790086269378662, -0.4452398419380188, 0.42804664373397827, -0.2895822525024414, -0.35807934403419495, 0.3487852215766907, -0.04801349714398384, 0.9025088548660278, -0.1542390137910843, -0.3948903977870941, 0.7323023676872253, -0.10496880114078522, -0.6229915022850037, -0.21510879695415497, 0.315034955739975, -0.16219817101955414, 0.13431237637996674, 0.5413538813591003, 0.3145770728588104, -0.10550104081630707, -0.31756487488746643, 0.07216724753379822, 0.4054557681083679, -0.31426510214805603, -0.13679741322994232, 0.8825822472572327, 0.3734265863895416, -0.28725868463516235, 0.6383360028266907, -0.5969662070274353, 0.07791069895029068, 0.4289380609989166, 0.41389819979667664, 0.992514967918396, -0.2552012503147125, 0.39054128527641296, 0.5558180212974548, -0.16254682838916779, -0.4862702488899231, -0.21149377524852753, -0.4570764899253845, -0.3278801441192627, 0.010774283669888973, -0.7285371422767639, -0.08472929894924164, -0.11480367183685303, -0.8497928380966187, 0.616912841796875, -0.7838204503059387, -0.3288143575191498, 0.0988641232252121, -0.34761670231819153, -0.4810352921485901, 0.3147794306278229, 0.18371574580669403, 0.8581438660621643, -0.7548441886901855, 1.0719921588897705, 0.24626030027866364, -0.3211939334869385, -0.3749659061431885, 0.08498254418373108, -0.07714660465717316, -0.336759090423584, 0.33985424041748047, 0.27170273661613464, -0.2640390694141388, 0.11358654499053955, -0.6174572110176086, -0.4976748824119568, 1.481109857559204, 0.468303382396698, -0.7691900134086609, -0.4431970417499542, -0.22089630365371704, 0.48538485169410706, -0.5238871574401855, 0.016524221748113632, 0.4308909475803375, 0.3035315275192261, 0.7580928802490234, -0.6049271821975708, 0.06430014222860336, -0.21162308752536774, 0.1653706133365631, 0.23903429508209229, -0.784278154373169, 0.6970424056053162, -0.37348267436027527, -0.46398240327835083, 0.17154641449451447, 0.5659167170524597, 0.33438435196876526, 0.4817662239074707, 0.5646399855613708, 0.5681030750274658, 0.7184925675392151, 0.00007317693962249905, 0.5595547556877136, -0.1568221151828766, 0.4272556006908417, 1.249770164489746, -0.23620203137397766, 0.5201313495635986, 0.7443665862083435, 0.005092928186058998, 0.6476143598556519, 0.5921363234519958, -0.18209308385849, 1.085355520248413, 0.16717803478240967, -0.44817474484443665, -0.02539248764514923, 0.2920010983943939, -0.2779378592967987, 0.2291317880153656, 0.18015451729297638, -0.8514905571937561, -0.346343994140625, 0.09622521698474884, -0.14863723516464233, -0.01792965456843376, -0.37365880608558655, 0.6422597765922546, -0.034777820110321045, -0.7195634841918945, 0.6031804084777832, -0.03382454439997673, 1.029667854309082, -0.6855525374412537, -0.3093886375427246, -0.22906818985939026, 0.1316678524017334, -0.09833195060491562, -0.6934150457382202, 0.22372578084468842, 0.11731079965829849, -0.2503358721733093, -0.6720229387283325, 0.5018689632415771, -0.48779603838920593, -0.6777581572532654, 0.19123820960521698, 0.0014615477994084358, 0.28409674763679504, -0.10290448367595673, -0.5342779159545898, -0.17682966589927673, 0.10208024829626083, -0.2769682705402374, 0.3132920563220978, 0.30199968814849854, -0.1240115612745285, 0.2943710684776306, 0.5909458994865417, 0.2456575185060501, 0.025460263714194298, -0.08167419582605362, 0.759253978729248, -0.434565007686615, -0.44736769795417786, -0.9942722916603088, 0.5673404932022095, -0.055742114782333374, -0.42308375239372253, 0.3405210077762604, 0.5671353340148926, 0.7626704573631287, -0.2735440135002136, 0.6727211475372314, -0.1342332363128662, 0.22401198744773865, -0.5200931429862976, 1.157301664352417, -0.6569738388061523, 0.039849910885095596, -0.305131196975708, -1.078680396080017, -0.032446473836898804, 0.5415442585945129, 0.15155644714832306, -0.00015009458002168685, 0.5078240633010864, 0.7073602080345154, -0.2512468099594116, -0.5014590620994568, 0.3192066550254822, -0.2366628795862198, 0.6159177422523499, 0.38730621337890625, 0.3262140154838562, -0.5889654755592346, 0.5114505290985107, -0.30461573600769043, -0.2047550082206726, 0.10947616398334503, -1.3066825866699219, -0.7786024808883667, -0.6437333822250366, -0.6518896222114563, -0.3340345323085785, -0.08726122230291367, 0.5795828104019165, 0.7962961792945862, -0.34397193789482117, 0.22555072605609894, -0.1364900916814804, 0.14205433428287506, -0.21961554884910583, -0.29713189601898193, 0.278208464384079, -0.05443159118294716, -0.9455296397209167, 0.3083268404006958, 0.2608083188533783, 0.40436121821403503, -0.33973756432533264, -0.34755784273147583, 0.012558911927044392, 0.14134733378887177, 0.3922889828681946, 0.17888982594013214, -0.5006968379020691, -0.05187836289405823, -0.449709951877594, 0.08673369884490967, 0.2381124198436737, 0.6971272230148315, -0.9901515245437622, 0.4704422056674957, 0.1913261115550995, 0.1631890833377838, 0.745078444480896, 0.2998318672180176, 0.266044557094574, -1.2249078750610352, 0.2930542528629303, 0.18349355459213257, 0.12334712594747543, 0.24300241470336914, -0.324792742729187, 0.2247459888458252, 0.36896631121635437, -0.40704146027565, -0.7136169075965881, 0.20199652016162872, -0.9774044752120972, -0.1907917708158493, 0.9986467957496643, -0.5819234251976013, -0.46873441338539124, 0.4401066303253174, -0.3622486889362335, 0.21150949597358704, -0.5696771740913391, 0.8425012826919556, 0.5611242651939392, 0.03988727554678917, -0.16349299252033234, 0.2446763515472412, 0.7197823524475098, -0.05186781659722328, -0.6021398305892944, -0.18704360723495483, 0.7023934721946716, 0.47616681456565857, 0.23368163406848907, 0.9406301379203796, -0.07069183886051178, 0.3451552391052246, 0.005693075712770224, -0.22872090339660645, -0.2515003979206085, -0.535641610622406, -0.3174876570701599, 0.15980485081672668, -0.10365990549325943, -0.6307633519172668 ]
http://arxiv.org/abs/2406.01549v1
http://arxiv.org/pdf/2406.01549v1
An Information Bottleneck Perspective for Effective Noise Filtering on Retrieval-Augmented Generation
2024-06-03T17:31:06
2024-06-03T17:31:06
Kun Zhu, Xiaocheng Feng, Xiyuan Du, Yuxuan Gu, Weijiang Yu, Haotian Wang, Qianglong Chen, Zheng Chu, Jingchang Chen, Bing Qin
cs.CL
cs.CL, cs.AI
Retrieval-augmented generation integrates the capabilities of large language models with relevant information retrieved from an extensive corpus, yet encounters challenges when confronted with real-world noisy data. One recent solution is to train a filter module to find relevant content but only achieve suboptimal noise compression. In this paper, we propose to introduce the information bottleneck theory into retrieval-augmented generation. Our approach involves the filtration of noise by simultaneously maximizing the mutual information between compression and ground output, while minimizing the mutual information between compression and retrieved passage. In addition, we derive the formula of information bottleneck to facilitate its application in novel comprehensive evaluations, the selection of supervised fine-tuning data, and the construction of reinforcement learning rewards. Experimental results demonstrate that our approach achieves significant improvements across various question answering datasets, not only in terms of the correctness of answer generation but also in the conciseness with $2.5\%$ compression rate.
[ -1.086677074432373, -0.9425985217094421, 0.19573991000652313, -0.06353652477264404, -0.1490429937839508, -0.11524450778961182, -0.2732302248477936, -0.4065609276294708, -0.05130447447299957, 0.6196749210357666, -0.6282036304473877, -0.04864789918065071, -0.36857497692108154, -0.0010605438146740198, -0.31185322999954224, 0.8303530216217041, 0.3529921770095825, -0.2860032021999359, -0.3846132159233093, 0.178758442401886, -0.7012273073196411, -0.4603877067565918, -0.5694582462310791, -0.2359035611152649, 0.2651941180229187, 0.41443440318107605, 0.47533029317855835, 0.6216686367988586, 0.3260277807712555, 0.20759490132331848, -0.3578864336013794, 0.5150304436683655, -0.7348300814628601, 0.42968565225601196, -0.16239377856254578, -0.33937737345695496, 0.3084679841995239, -0.3223770558834076, 0.3935967683792114, 0.7726330757141113, -0.2614157199859619, 0.15403896570205688, 0.20405597984790802, 0.807339072227478, -0.8612071871757507, -0.0771453008055687, -0.806815505027771, 0.11546650528907776, -0.14402751624584198, -0.5380863547325134, -0.15009024739265442, -0.2837134897708893, -0.07111281901597977, -0.9098642468452454, 0.35991501808166504, 0.5571021437644958, 0.923424482345581, 0.5792898535728455, 0.1373860090970993, -0.4360063970088959, -0.6081017255783081, 0.7014145851135254, -0.1726464480161667, 0.32552146911621094, 0.5434432029724121, -0.04635932296514511, -0.21475368738174438, -0.1990189254283905, -0.5114522576332092, 0.12390264123678207, 0.16699182987213135, 0.02632947266101837, -0.18940627574920654, 0.1049189642071724, 0.47762611508369446, 0.6292740702629089, -0.42423370480537415, -0.20779237151145935, -0.7550061941146851, -0.2246287316083908, 0.4195168614387512, -0.2051703929901123, -0.09045255184173584, -0.10871242731809616, -0.26665741205215454, 0.14411979913711548, -0.6722103357315063, -0.09041255712509155, 0.5839351415634155, 0.46052053570747375, 0.4687087833881378, 0.2688336670398712, -0.5626712441444397, 0.867974042892456, 0.21675743162631989, 0.23087655007839203, 0.19328024983406067, -0.6452940702438354, 0.15006275475025177, 0.028500404208898544, 0.4100631773471832, 0.11530577391386032, 0.2672589421272278, -0.12701702117919922, -0.1157253310084343, -0.29045140743255615, 0.4898223578929901, -0.9976688027381897, -0.27459388971328735, 0.1977093517780304, -0.28330695629119873, -0.3778238594532013, 0.0872093141078949, -0.9286977052688599, -0.30695897340774536, -0.2055763453245163, 0.607247531414032, -0.15084615349769592, -0.5752772092819214, 0.16181902587413788, -0.14686612784862518, -0.3679044544696808, -0.16609865427017212, -0.6263421177864075, 0.3017420768737793, 0.45032554864883423, 0.7825948596000671, 0.06046248972415924, 0.23570026457309723, -0.9955170154571533, -0.10992114990949631, -0.25123268365859985, 0.8620985746383667, -0.3785187304019928, -0.32963359355926514, 0.11312966048717499, -0.5208393931388855, 0.3028245270252228, -1.0562559366226196, 0.39311444759368896, -0.7940108776092529, -0.003920943010598421, -0.3723987936973572, -0.3738725781440735, 0.22257299721240997, 0.09781821817159653, -0.7385715246200562, 1.220227599143982, 0.2315366268157959, -0.6961319446563721, 0.3102230429649353, -0.4989766776561737, -0.4126523435115814, 0.0015223745722323656, 0.10298896580934525, -0.4024277329444885, 0.025328464806079865, 0.2710924446582794, -0.0713125616312027, -0.5353982448577881, 0.14127376675605774, -0.09829390794038773, -0.6613417863845825, 0.0620940625667572, -0.10932942479848862, 0.4845966696739197, 0.750096321105957, 0.10608336329460144, -0.45555543899536133, -0.7721067667007446, 0.14646543562412262, -0.2865948975086212, -0.5047324299812317, -0.3895709216594696, -0.18905502557754517, -0.3840716779232025, 0.026605673134326935, 0.19340690970420837, -0.502623438835144, 0.19720470905303955, -0.18033216893672943, 0.16681867837905884, 0.6318044066429138, 0.5728687644004822, 0.16897593438625336, -0.41285398602485657, 0.3909166753292084, 0.03882551193237305, 0.20152240991592407, -0.0005912031629122794, -0.08464100956916809, -0.5465942621231079, 0.0011614636750891805, 0.32068344950675964, 0.5102903246879578, -1.1318212747573853, 0.10479853302240372, -0.03737662360072136, -0.04644851014018059, -0.6076330542564392, 0.5479421615600586, 0.5377538204193115, 0.786658525466919, 0.5000755190849304, -0.49280276894569397, -0.6807704567909241, -0.5272034406661987, -0.4819497764110565, -0.4776521623134613, 0.05426279082894325, 0.46722427010536194, -0.0479440875351429, 0.2114780843257904, 0.6642132997512817, -0.5270518064498901, -0.057993244379758835, 0.029964150860905647, 0.5707617998123169, 0.36660951375961304, 0.4854048192501068, 0.0011495574144646525, -1.1882421970367432, -0.15329515933990479, -0.4472668170928955, -0.35054826736450195, -0.7539034485816956, 0.04190603643655777, -0.36891236901283264, -0.34819480776786804, 0.5248080492019653, -0.5507107973098755, 0.3039207458496094, -0.05946888402104378, -0.0018383028218522668, 0.5542879104614258, -0.190652996301651, 0.17457574605941772, -0.48588234186172485, -0.07505026459693909, -0.14532139897346497, 0.01038079708814621, -0.6559348702430725, 0.025214908644557, -0.47302407026290894, 0.08972691744565964, -0.02149326354265213, 0.18503208458423615, -0.4451596140861511, 0.03711105138063431, -0.5653334259986877, 0.42206865549087524, 0.07402065396308899, 0.5294015407562256, -0.21889211237430573, 0.8932608962059021, 0.131344273686409, -1.1165533065795898, 0.25393450260162354, 0.24110202491283417, -0.4760783612728119, 0.7535112500190735, -0.3416191637516022, -0.009187160059809685, -0.4994063973426819, -0.2278100699186325, -0.7868236899375916, -0.08311578631401062, -0.08683432638645172, -0.5648520588874817, 0.34894925355911255, -0.16467337310314178, -0.4809451997280121, -0.31385764479637146, -0.20076899230480194, 0.3989916443824768, 0.5189302563667297, -0.6164771318435669, -0.06980527192354202, 0.477451890707016, -0.04080900177359581, -0.9198799729347229, -0.48680517077445984, -0.27405959367752075, -0.10812980681657791, -0.3591376841068268, 0.2506234347820282, -0.3102031350135803, -0.11928180605173111, 0.28867360949516296, -0.3976779580116272, -0.5050874352455139, 0.04671163856983185, 0.09348922222852707, 0.0676058977842331, -0.005866270046681166, 0.8030160665512085, -0.11873950809240341, 0.1785859763622284, -0.1671234369277954, -0.3252658545970917, 0.4450577199459076, 0.08511737734079361, 0.10101031512022018, 0.0958518385887146, 0.35072609782218933, 0.08294320851564407, -0.01983913779258728, 0.5267544984817505, 0.8078612089157104, -0.17736487090587616, -0.2243930697441101, -0.698646068572998, -0.16031834483146667, -0.4405718445777893, 0.5583682060241699, -0.6020180583000183, -1.0034581422805786, 0.18572171032428741, -0.30379778146743774, -0.1577484905719757, 0.31326940655708313, 0.18998447060585022, -0.041825927793979645, 0.8595288991928101, 0.43291541934013367, 0.0020600054413080215, 0.7645834684371948, -0.2552732229232788, 0.15492689609527588, -0.9977511763572693, -0.05561809614300728, -0.4977581799030304, -0.03938702493906021, -0.5038566589355469, -0.20514075458049774, 0.5009780526161194, 0.8745232224464417, -0.7824857234954834, 0.1433074027299881, -0.7809593677520752, 0.37578028440475464, 0.8908299803733826, 0.2817881405353546, 0.377987265586853, 0.3667231798171997, 0.061525944620370865, 0.11796688288450241, -1.1008265018463135, 0.11610840260982513, 0.8950971961021423, -0.15243251621723175, 0.5658615827560425, 0.0802515521645546, 0.4388848841190338, 0.25569453835487366, -0.11755846440792084, -0.22566816210746765, 0.30459460616111755, -0.07899433374404907, -0.6651068925857544, -0.4742480218410492, -0.8207138776779175, -0.9079524874687195, 0.17855194211006165, -0.4790087640285492, -0.6082579493522644, 0.4416143298149109, 0.32420939207077026, -0.31204739212989807, 0.25581035017967224, -0.39249271154403687, 0.6011597514152527, 0.0621146559715271, -0.8026448488235474, -0.354608416557312, -0.4101073741912842, 0.30019211769104004, -0.08051963150501251, 0.592582106590271, 0.10722168534994125, 0.05458781495690346, 0.5520434975624084, -0.539678156375885, 0.22144587337970734, -0.4824186861515045, 0.39057743549346924, 0.9263618588447571, -0.05775659903883934, 0.5212606191635132, -0.033499497920274734, -0.08428625762462616, -0.08741103112697601, -0.027050286531448364, -0.38312792778015137, -0.7713699340820312, 0.6040576696395874, -0.5598844885826111, -0.5648700594902039, -0.017316514626145363, -0.6466144919395447, -0.25818249583244324, 0.07261264324188232, 0.4172825813293457, 0.22724130749702454, 0.34766918420791626, 0.15425324440002441, 1.0741668939590454, -0.26710161566734314, -0.03829243406653404, 0.501279890537262, -0.05735047534108162, -0.3918997645378113, 1.2533032894134521, 0.29309937357902527, 0.20272904634475708, 0.48915690183639526, 0.14334437251091003, -0.1966349184513092, -0.5972520709037781, -0.245622456073761, 0.015315791592001915, -0.4878123700618744, -0.48829910159111023, -0.3737289607524872, -0.2724817097187042, -0.11812955141067505, 0.5435559749603271, -0.3595665693283081, -0.33759382367134094, -0.1611650586128235, 0.08177994191646576, 0.3743055462837219, 0.5550532937049866, -0.5872764587402344, 0.3792473375797272, -0.4028233289718628, 0.4744875431060791, 0.40989771485328674, 0.3445480763912201, -0.15469658374786377, -0.4270288944244385, -0.5092644095420837, 0.048743825405836105, -0.42772263288497925, -0.5367518663406372, 0.03284052014350891, 0.38342198729515076, 0.33746007084846497, 0.0774882510304451, 0.5093648433685303, 1.034430980682373, -0.2057829201221466, 0.7534672617912292, 0.03505329787731171, -0.6684892773628235, 0.4590344727039337, 0.28847041726112366, 0.3055233955383301, 0.7438350915908813, 0.06456024944782257, -0.28018590807914734, -0.3091634213924408, -0.5271481275558472, -1.0729053020477295, 0.40203967690467834, 0.22053192555904388, -0.17188318073749542, -0.0906679704785347, 0.7581871747970581, -0.1025184690952301, 0.7904322147369385, -0.429205060005188, -0.1262100636959076, 0.009078577160835266, -0.21058987081050873, 0.5216914415359497, -0.4256090223789215, 0.1352819800376892, 0.1235838234424591, 0.9325999021530151, 0.21489499509334564, 0.4281444847583771, 0.4844872057437897, -0.18294665217399597, -0.4262274205684662, 0.2857188582420349, 0.2402832955121994, 0.293441504240036, -0.33904653787612915, 0.2509981095790863, 0.1328539103269577, -0.5215742588043213, 0.03923789784312248, -0.041756559163331985, -0.4001976251602173, 0.08488286286592484, 0.1626170128583908, 0.9198099374771118, -0.13583774864673615, -0.7786094546318054, 0.5264863967895508, 0.1800379902124405, -0.005969025660306215, -0.20702917873859406, 0.30914226174354553, -0.4690344035625458, 0.3372766673564911, 0.6189743876457214, 0.11813841015100479, 0.41412481665611267, -0.4396277070045471, 0.4504433274269104, 0.5653494000434875, -0.48243069648742676, 0.0748826265335083, 0.6561402082443237, -0.11753404140472412, -0.0527506098151207, 0.5962923169136047, -0.33258056640625, -0.46069616079330444, 0.3834804594516754, 0.2132435142993927, 0.4265674352645874, -0.15578214824199677, 0.00830696802586317, 0.7274619936943054, 0.2527145445346832, -0.1922842413187027, 0.4541701078414917, -0.6234950423240662, -0.4757246673107147, -0.7714777588844299, -0.6977736353874207, -0.13056674599647522, 0.28603556752204895, -0.7659552097320557, 0.05654777213931084, -0.06093938276171684, -0.12874820828437805, -0.2804061472415924, 0.2675979733467102, -0.542695939540863, 0.34340354800224304, -0.24433831870555878, 0.6830926537513733, -0.37088432908058167, 0.38816073536872864, 0.24157392978668213, -0.6298096776008606, -0.5445783734321594, -0.031001955270767212, -0.4843665361404419, -0.6622150540351868, 0.857738733291626, -0.056849267333745956, -0.14061328768730164, -0.11426299810409546, -0.6700366139411926, -0.8965155482292175, 0.7526956796646118, 0.3461432456970215, -0.5514319539070129, 0.03361859545111656, -0.03203829750418663, 0.42499208450317383, -0.3439135253429413, 0.2545273005962372, 0.39024817943573, 0.44815534353256226, 0.3583762049674988, -0.6472904086112976, -0.0829639881849289, -0.4718404710292816, -0.06382998079061508, 0.30247461795806885, -0.6157687902450562, 0.7839928269386292, -0.05304679647088051, -0.37917593121528625, 0.17750491201877594, 0.3425939679145813, 0.12068843841552734, 0.4165911376476288, 0.798254668712616, 0.5517863035202026, 0.8620615601539612, -0.042190950363874435, 0.8651746511459351, -0.5885374546051025, 0.2920101583003998, 1.1191771030426025, 0.38349950313568115, 0.7397156357765198, 0.5555092692375183, -0.13515043258666992, 0.37526482343673706, 0.6504291296005249, 0.17102447152137756, 0.8119696378707886, 0.6426425576210022, -0.44647353887557983, -0.1980445832014084, -0.6688339710235596, -0.3937651216983795, -0.17774350941181183, 0.3078002631664276, -0.2316581755876541, 0.0458952970802784, 0.09191049635410309, -0.2229800969362259, 0.1123635545372963, -0.45650458335876465, 0.8715925216674805, -0.16195273399353027, -0.7352107763290405, 0.9118694067001343, -0.45786839723587036, 0.439106285572052, -0.18203794956207275, -0.23233434557914734, -0.12920457124710083, -0.163454070687294, -0.2268780916929245, -0.5844084620475769, 0.362356573343277, -0.047877661883831024, -0.42407917976379395, 0.015862686559557915, 0.7826842665672302, -0.8256754875183105, -0.03995756432414055, -0.08588562160730362, 0.3249936103820801, 0.5070669651031494, -0.4689178764820099, -0.35473257303237915, 0.17998114228248596, 0.008328130468726158, -0.1525338739156723, 0.07815583050251007, 0.5052796006202698, 0.24271367490291595, 0.5472023487091064, 0.5906277298927307, 0.681418776512146, 0.07999946177005768, -0.15330609679222107, 0.8829928040504456, -0.40477439761161804, -0.4286210536956787, -0.37885600328445435, 0.22929787635803223, -0.39640387892723083, -0.19513007998466492, 0.19212433695793152, 0.647161066532135, 0.9794131517410278, 0.17420312762260437, 0.8990731239318848, -0.11758106201887131, 0.9216914176940918, -0.45370933413505554, 0.22266243398189545, -0.5167407989501953, 0.7031529545783997, -0.1332266479730606, -0.9335944056510925, -0.006902822759002447, 0.5627684593200684, -0.08116868883371353, -0.07968691736459732, 0.3553716242313385, 0.9321309924125671, 0.1013718694448471, -0.08037730306386948, 0.16794484853744507, 0.2993548512458801, -0.06885459274053574, 0.7759034037590027, 0.6414437294006348, -0.5852968692779541, 1.1321393251419067, -0.4360542893409729, -0.10208423435688019, -0.2467465102672577, -0.46393081545829773, -0.5480727553367615, -0.6473981142044067, -0.4245753884315491, -0.4666019380092621, 0.28327375650405884, 0.49792614579200745, 0.7660000920295715, -0.5009881854057312, -0.16095617413520813, -0.6118913292884827, 0.3898741602897644, -0.35506194829940796, -0.2768324613571167, 0.10949442535638809, -0.7396042943000793, -0.5634974837303162, 0.13320526480674744, 0.12297765165567398, -0.2857726514339447, -0.22652389109134674, -0.0627177283167839, -0.15542881190776825, 0.20757374167442322, 0.3163951337337494, 0.5847691297531128, -0.2569594383239746, -0.4024868607521057, -0.2608218193054199, 0.29249048233032227, 0.151178777217865, 0.8328339457511902, -0.9938875436782837, 0.9983780384063721, 0.31278130412101746, 0.7887441515922546, 1.0190244913101196, 0.37682589888572693, 0.18392732739448547, -1.0255467891693115, 0.2684774696826935, 0.07853741943836212, -0.2319195717573166, 0.33148276805877686, -0.6239281892776489, 0.6698746085166931, 0.30220746994018555, -0.6652252674102783, -1.0806210041046143, 0.37740010023117065, -0.3745304048061371, -0.36715763807296753, 0.882850706577301, 0.009242676198482513, -0.14552584290504456, -0.26586130261421204, -0.20018482208251953, 0.4687809944152832, -0.35075435042381287, 0.8920369148254395, 0.8822037577629089, -0.3047555387020111, -0.3592958152294159, -0.9088132381439209, 0.6204574108123779, 0.39586812257766724, -0.3164491355419159, -0.05340477079153061, 0.5302066802978516, -0.10752573609352112, 0.46358588337898254, 0.3802219331264496, 0.14407095313072205, 0.20579683780670166, 0.20590201020240784, 0.026477167382836342, -0.3755493760108948, -0.19473238289356232, 0.02828800678253174, 0.5745232105255127, -0.0005798868369311094, -0.2336214780807495 ]
http://arxiv.org/abs/2406.01538v2
http://arxiv.org/pdf/2406.01538v2
What Are Large Language Models Mapping to in the Brain? A Case Against Over-Reliance on Brain Scores
2024-06-03T17:13:27
2024-06-20T20:35:36
Ebrahim Feghhi, Nima Hadidi, Bryan Song, Idan A. Blank, Jonathan C. Kao
cs.CL
cs.CL, cs.AI
Given the remarkable capabilities of large language models (LLMs), there has been a growing interest in evaluating their similarity to the human brain. One approach towards quantifying this similarity is by measuring how well a model predicts neural signals, also called "brain score". Internal representations from LLMs achieve state-of-the-art brain scores, leading to speculation that they share computational principles with human language processing. This inference is only valid if the subset of neural activity predicted by LLMs reflects core elements of language processing. Here, we question this assumption by analyzing three neural datasets used in an impactful study on LLM-to-brain mappings, with a particular focus on an fMRI dataset where participants read short passages. We first find that when using shuffled train-test splits, as done in previous studies with these datasets, a trivial feature that encodes temporal autocorrelation not only outperforms LLMs but also accounts for the majority of neural variance that LLMs explain. We therefore use contiguous splits moving forward. Second, we explain the surprisingly high brain scores of untrained LLMs by showing they do not account for additional neural variance beyond two simple features: sentence length and sentence position. This undermines evidence used to claim that the transformer architecture biases computations to be more brain-like. Third, we find that brain scores of trained LLMs on this dataset can largely be explained by sentence length, position, and pronoun-dereferenced static word embeddings; a small, additional amount is explained by sense-specific embeddings and contextual representations of sentence structure. We conclude that over-reliance on brain scores can lead to over-interpretations of similarity between LLMs and brains, and emphasize the importance of deconstructing what LLMs are mapping to in neural signals.
[ -0.3508641719818115, -0.613651692867279, 0.8568872213363647, 0.3213391602039337, -0.15324093401432037, -0.03255033120512962, -0.42090746760368347, -0.5661019086837769, 0.13266366720199585, 0.34722355008125305, -0.14618338644504547, -0.3025805652141571, -0.6081907153129578, -0.17456136643886566, -0.5645288825035095, 0.702055811882019, 0.12310214340686798, 0.12888820469379425, -0.7586000561714172, -0.20507554709911346, -0.44154441356658936, -0.7430108785629272, -0.35371437668800354, -0.8878386616706848, 0.7657039761543274, -0.08053012192249298, 0.8355782628059387, 0.8723587393760681, 0.38171982765197754, 0.19920416176319122, -0.21178825199604034, -0.24589212238788605, -0.3534330427646637, 0.008034605532884598, -0.05417314171791077, -0.8989860415458679, -0.2708708941936493, -0.013584395870566368, 0.5722590088844299, 0.9460521340370178, -0.033356815576553345, 0.09330566972494125, 0.06803704053163528, 0.5727747082710266, -0.463055819272995, 0.11964571475982666, -0.4265819191932678, -0.00827358290553093, -0.40625911951065063, -0.3013622462749481, -0.3544597029685974, -0.24851173162460327, 0.05223414674401283, 0.029932938516139984, 0.09035387635231018, 0.2567107677459717, 0.6640953421592712, 0.3246501088142395, -0.6378889083862305, -0.2074875682592392, -0.42744332551956177, 0.8136901259422302, -0.5504255294799805, 0.2517225742340088, 0.37677934765815735, 0.04394664987921715, -0.18307222425937653, -0.2624715268611908, -0.6924372315406799, -0.34797781705856323, -0.343187540769577, 0.027891358360648155, -0.23721837997436523, 0.06293337047100067, 0.3886362314224243, 0.24271260201931, -0.5772590637207031, 0.4556088149547577, -0.3418014645576477, -0.04674892500042915, 0.5615987181663513, 0.40620630979537964, 0.29840144515037537, -0.0719563439488411, -0.26635536551475525, -0.17785291373729706, -0.8232165575027466, 0.04768623411655426, 0.35182633996009827, 0.10655707865953445, -0.0011381367221474648, 0.6595439910888672, 0.3174729645252228, 0.7031225562095642, -0.06190093606710434, 0.12561041116714478, 0.3886929452419281, 0.15184937417507172, -0.12161748111248016, 0.14150142669677734, 0.8765658140182495, 0.402275413274765, 0.7336474657058716, -0.4942578375339508, -0.1842687875032425, 0.20029714703559875, 0.3055994510650635, -0.603922426700592, 0.01724519394338131, 0.12288541346788406, -0.5149267911911011, 0.08257580548524857, -0.13885805010795593, -0.6161405444145203, -0.43939676880836487, -0.42172083258628845, 0.18459300696849823, -0.32973742485046387, -0.053360093384981155, 0.18699729442596436, 0.03485614061355591, 0.3485619127750397, 0.010776064358651638, -0.9517937898635864, 0.44644105434417725, 0.8001490831375122, 0.7892751097679138, -0.4682086408138275, -0.6089053153991699, 0.02144637331366539, -0.12326618283987045, -0.5121564865112305, 0.8582322001457214, -0.46278271079063416, -0.2587268352508545, -0.09390764683485031, -0.17216913402080536, -0.17206524312496185, -0.6519659161567688, 0.17825517058372498, -0.6617671251296997, 0.24434532225131989, -0.43903154134750366, -0.6606767177581787, -0.2192174196243286, 0.09573157131671906, -0.5720950961112976, 0.7898869514465332, -0.16006100177764893, -0.5678398013114929, 0.2534998059272766, -0.47135263681411743, -0.7363428473472595, -0.29048407077789307, -0.35516223311424255, 0.05159059166908264, 0.5731362104415894, -0.07279413193464279, 0.4266796112060547, -0.5613217353820801, 0.2771444320678711, -0.4492936134338379, -0.5835532546043396, 0.7542513608932495, -0.5080275535583496, 0.7122446894645691, -0.0468033067882061, -0.2594911754131317, -0.12589335441589355, -0.40346166491508484, 0.18453001976013184, 0.0037328284233808517, -0.3722703754901886, -0.4168161451816559, 0.2244911640882492, 0.04256119951605797, 0.40301698446273804, 0.13209865987300873, -0.6242291927337646, 0.1358109712600708, -0.48724812269210815, 0.6745529770851135, 0.4864058196544647, -0.1843942552804947, 0.4822019040584564, -0.4568313658237457, 0.21321721374988556, 0.12513789534568787, -0.22835837304592133, -0.20409248769283295, -0.3423234522342682, -0.6567388772964478, -0.17745335400104523, 0.38287052512168884, 0.4002625644207001, 0.1032874658703804, 0.544708788394928, -0.636432945728302, -0.27102604508399963, -0.7236658930778503, -0.19872282445430756, 0.07952510565519333, 0.19087935984134674, 0.533973217010498, -0.22589635848999023, -0.23046264052391052, -1.1037447452545166, -0.37889406085014343, -0.022391656413674355, -0.3261977732181549, 0.10787548124790192, 0.5856782793998718, -0.21033470332622528, 1.014837622642517, -0.48986321687698364, -0.42262354493141174, 0.006981866434216499, 0.030733374878764153, 0.2664826512336731, 0.33046838641166687, 0.46205276250839233, -0.42735105752944946, -0.0051501779817044735, -0.19981995224952698, -0.7766611576080322, -0.010740901343524456, -0.21253393590450287, 0.16392016410827637, 0.06804057955741882, 0.6178019046783447, -0.8582443594932556, 0.21807189285755157, 0.5124308466911316, -0.37186768651008606, 0.03948250412940979, -0.28002434968948364, 0.03622495383024216, -0.7574324607849121, 0.0614200234413147, -0.09647944569587708, -0.01292020920664072, -0.16499635577201843, -0.08656764775514603, 0.018356528133153915, 0.31048473715782166, -0.008047566749155521, 0.47329917550086975, -0.5548940896987915, -0.3662012219429016, -0.5133655071258545, 0.20165173709392548, 0.1307346075773239, 0.5694825053215027, -0.1869102269411087, 0.4370492994785309, 0.48933547735214233, -0.21602153778076172, 0.16124886274337769, -0.033645592629909515, -0.5521437525749207, 0.3417309820652008, -0.7611520290374756, 0.28705504536628723, -0.2989553213119507, 0.2601087689399719, -1.09340238571167, 0.08605657517910004, -0.3259245753288269, -0.4112132787704468, 0.3462999165058136, 0.27853497862815857, -0.647638738155365, -0.10107025504112244, 0.06817873567342758, 0.47134339809417725, 0.6991920471191406, -0.3233124911785126, 0.7570239305496216, 0.4844781160354614, 0.23064947128295898, -0.4591118097305298, -1.2834346294403076, 0.14542311429977417, -0.18266144394874573, -0.48036500811576843, 0.49988609552383423, 0.1020527333021164, -0.35325926542282104, 0.06268741190433502, -0.015363677404820919, 0.033304162323474884, -0.0597761869430542, 0.5892019867897034, 0.0879344716668129, -0.3921336531639099, 0.21835842728614807, -0.24849742650985718, 0.1291636824607849, 0.601082444190979, 0.01132754422724247, 0.5455458760261536, -0.023351915180683136, -0.44685623049736023, -0.017908692359924316, 0.3739734888076782, 0.9756236672401428, 0.009466337040066719, 0.7200609445571899, 0.2154616415500641, -0.4933881163597107, -0.10031458735466003, -0.563579797744751, -0.24839220941066742, -0.3785244822502136, 0.4807845652103424, -0.35550427436828613, -0.916941225528717, 0.575084924697876, -0.011508896946907043, -0.17844010889530182, 0.4746178090572357, 0.6772769093513489, -0.3960120975971222, 0.8911912441253662, 0.40951061248779297, -0.39986059069633484, 0.2216395139694214, -0.11069754511117935, 0.17431522905826569, -1.0581616163253784, -0.2839890718460083, -0.42104122042655945, -0.7195005416870117, -0.5198580026626587, -0.40761592984199524, -0.08351866155862808, -0.21999739110469818, -0.1380242109298706, -0.027843862771987915, -0.18087080121040344, 0.777347981929779, 0.2827039062976837, -0.0035789143294095993, 0.022058596834540367, -0.16349399089813232, -0.3511493504047394, -0.1734653264284134, -0.6150215268135071, -0.22204715013504028, 1.0940930843353271, 0.4313744604587555, 0.775799036026001, -0.27703750133514404, 0.31513938307762146, 0.27757248282432556, 0.320724219083786, -0.9724401235580444, 0.6206513047218323, -0.26349151134490967, -0.6743600368499756, -0.04654466733336449, -0.29249176383018494, -0.9620768427848816, 0.3547310531139374, -0.15750926733016968, -0.6616232395172119, 0.2665550708770752, -0.1469353586435318, -0.4415067732334137, 0.021108750253915787, -0.6155969500541687, 0.7341733574867249, -0.5079437494277954, -0.276492714881897, -0.4705542325973511, -0.5352057218551636, 0.3556157350540161, -0.12791560590267181, 0.1604156494140625, -0.04647775739431381, -0.05269801989197731, 0.6857169270515442, 0.020367251709103584, 0.9353051781654358, 0.17598223686218262, -0.1091672033071518, 0.06500386446714401, -0.014810721389949322, -0.030170295387506485, -0.05834527313709259, -0.10037612915039062, 0.5631362795829773, -0.05125803127884865, -0.3238013684749603, -0.7450045347213745, 1.076138973236084, -0.9552123546600342, -0.5202621817588806, -0.6883132457733154, -0.7479721903800964, -0.10814882814884186, 0.11897541582584381, 0.3255009949207306, 0.3828030824661255, -0.153291717171669, 0.31989091634750366, 0.6049810647964478, -0.003963198978453875, 0.4586977958679199, 0.3567560017108917, -0.21707381308078766, -0.2421826720237732, 0.54170161485672, 0.33293813467025757, 0.15798594057559967, 0.5643042325973511, 0.04663626849651337, -0.4428417384624481, -0.6336050629615784, -0.013726619072258472, 0.36541077494621277, -0.79344642162323, 0.13225135207176208, -0.416260302066803, -0.11827627569437027, -0.14271564781665802, -0.047516532242298126, -0.30154430866241455, -0.06284497678279877, -0.2557964026927948, -0.07415162026882172, 0.05404292419552803, 0.7404794096946716, 0.18921798467636108, 0.33963876962661743, -0.5373923182487488, 0.2017117142677307, 0.22365383803844452, 0.32762420177459717, 0.23805157840251923, -0.6543442606925964, -0.38142213225364685, 0.10481611639261246, -0.10268346965312958, -0.8114017248153687, 0.2209540605545044, 0.17182011902332306, 0.5768377780914307, 0.25123831629753113, -0.3004237413406372, 0.7397780418395996, -0.6866889595985413, 0.6715484261512756, 0.013081762008368969, -0.8770666718482971, 0.02067665569484234, -0.11645598709583282, 0.7985700368881226, 0.41875356435775757, 0.4570423364639282, -0.6271740794181824, -0.32368168234825134, -0.40513017773628235, -0.6774077415466309, 0.3730319142341614, -0.1060020700097084, 0.2722531259059906, -0.21589866280555725, 0.5143112540245056, -0.08011151105165482, 0.003495511133223772, -0.6629077792167664, -0.2799227833747864, 0.04134964942932129, -0.28688496351242065, -0.36120954155921936, -0.22000059485435486, -0.11838104575872421, -0.16099846363067627, 0.03873314708471298, -0.10415588319301605, 0.5403228998184204, 0.10320718586444855, -0.20276379585266113, -0.19818219542503357, 0.12547917664051056, 0.602369487285614, 0.6422112584114075, -0.04809301346540451, 0.2724044620990753, 0.3510212302207947, -0.445116251707077, -0.014953293837606907, -0.17024730145931244, 0.08602003008127213, -0.08233374357223511, 0.6704789400100708, 0.7618311047554016, 0.22419928014278412, -0.5643875598907471, 0.5242925882339478, -0.0088263601064682, 0.02612704038619995, -0.45600783824920654, 0.023126620799303055, 0.45988261699676514, 0.4686058461666107, 0.39278241991996765, 0.36469030380249023, -0.11348633468151093, -0.5888291597366333, 0.09332673251628876, 0.44807061553001404, -0.43452826142311096, -0.5823696255683899, 0.41815152764320374, -0.13505461812019348, -0.44344547390937805, 0.8311904072761536, 0.3014604449272156, -0.4330742657184601, 0.5953744649887085, 0.5453810095787048, 0.8085573315620422, -0.02615370601415634, -0.35924237966537476, 0.12890467047691345, 0.5078095197677612, -0.4223203659057617, 0.14265193045139313, 0.18071386218070984, -0.8169405460357666, -0.6787059307098389, -0.5326306819915771, 0.02972949482500553, 0.2974514961242676, -0.636049211025238, 0.23042908310890198, -0.28420165181159973, -0.419071227312088, -0.004006536677479744, -0.2604677081108093, -0.6569874286651611, 0.414998322725296, 0.5659729242324829, 0.7827681303024292, -0.8490354418754578, 1.1107327938079834, 0.4651834964752197, -0.13218022882938385, -0.41732844710350037, 0.22131161391735077, -0.31060636043548584, -0.7308806777000427, 0.7649686932563782, 0.2793077826499939, 0.02274111844599247, -0.05546233803033829, -0.24602974951267242, -0.9720411896705627, 0.8685927987098694, 0.5212334990501404, -0.7428755760192871, -0.3590642511844635, 0.37649691104888916, 0.8949976563453674, -0.5693394541740417, 0.6031694412231445, 0.701218843460083, 0.2676852345466614, -0.2215682864189148, -0.6019815802574158, 0.2621275782585144, -0.018885072320699692, -0.01245556678622961, 0.43227899074554443, -0.5521886348724365, 0.820580244064331, -0.24576854705810547, -0.01680435799062252, -0.274746298789978, 0.6202714443206787, 0.013887811452150345, 0.037008993327617645, 0.36438027024269104, 0.5781128406524658, 0.5113452672958374, -0.13841216266155243, 1.0607457160949707, -0.28132200241088867, 0.22726444900035858, 1.108988881111145, -0.28981566429138184, 1.0163742303848267, 0.8031837344169617, -0.1564926952123642, 0.5493336319923401, 0.48235899209976196, -0.15499937534332275, 0.5388489365577698, 0.6126125454902649, 0.18495947122573853, -0.2889813780784607, 0.23841600120067596, -0.13239026069641113, 0.6724712252616882, 0.4512063264846802, -0.6755538582801819, -0.14736270904541016, 0.005432337522506714, -0.05466089025139809, 0.09765364974737167, -0.03956816345453262, 0.5058619379997253, 0.45983943343162537, -0.7336550951004028, 0.6412461400032043, -0.2586425542831421, 0.7057520747184753, -0.5896797180175781, 0.25580930709838867, -0.20802417397499084, 0.24138407409191132, -0.04367009550333023, -0.9623327851295471, 0.44780513644218445, -0.1708943396806717, -0.4390581548213959, -0.42917078733444214, 0.3802635967731476, -0.43080785870552063, -0.11973808705806732, 0.6718168258666992, 0.4965648651123047, 0.2643451988697052, -0.13440366089344025, -0.46155574917793274, 0.08306017518043518, -0.22925657033920288, -0.5367292165756226, 0.691095232963562, 0.4540075659751892, -0.02812858857214451, 0.5684066414833069, 0.41592147946357727, 0.2747747600078583, 0.031458619982004166, 0.07717828452587128, 0.6244328618049622, -1.0045461654663086, -0.25451207160949707, -1.2905157804489136, 0.23121103644371033, 0.08938781172037125, -0.6279382705688477, 0.5074188709259033, 0.5723501443862915, 0.6296519041061401, 0.008577745407819748, 0.5705558657646179, 0.1783023625612259, 0.17064984142780304, -0.4905915856361389, 0.8444709777832031, -0.4995492994785309, 0.21936611831188202, 0.23125764727592468, -1.0192142724990845, -0.3781874179840088, 0.4922937750816345, -0.6398744583129883, 0.018682071939110756, 0.9494525790214539, 0.549144983291626, 0.007238110527396202, 0.021331870928406715, 0.4733772575855255, 0.4338725209236145, 0.09442280977964401, 0.7864745855331421, 0.9717801809310913, -0.3876592516899109, 0.35434165596961975, 0.07809510827064514, 0.02212652936577797, -0.039485812187194824, -0.776148796081543, -1.016774296760559, -0.4780283272266388, -0.23832069337368011, -0.14492671191692352, -0.07767090201377869, 0.7177848815917969, 0.45398271083831787, -0.6404423713684082, -0.5108250379562378, 0.012727389112114906, -0.1294620931148529, -0.19404169917106628, -0.2153719663619995, 0.3053712844848633, -0.19024670124053955, -0.5476981997489929, 0.4122459888458252, 0.22380822896957397, -0.1774950921535492, -0.5342185497283936, 0.3031795024871826, -0.1701473444700241, 0.16200986504554749, 0.46846356987953186, -0.08929824829101562, -0.8520963191986084, -0.40466076135635376, 0.2921386957168579, -0.5342324376106262, 0.19135771691799164, 0.8280856013298035, -0.9875935316085815, 0.019564900547266006, 0.6775488257408142, 0.7306126952171326, 0.3749925196170807, -0.37400275468826294, 0.6926192045211792, -0.48347207903862, -0.14412790536880493, 0.3685857653617859, 0.5668331384658813, 0.43753331899642944, -0.41041481494903564, 0.2046218067407608, -0.023924773558974266, -0.6938584446907043, -0.7441736459732056, 0.12653237581253052, -0.9888865947723389, -0.33306705951690674, 1.1729601621627808, -0.03633049502968788, -0.5472365021705627, 0.03735509142279625, 0.06716398149728775, 0.11741805076599121, -0.1576252579689026, 1.1136149168014526, 0.9974767565727234, -0.16549251973628998, 0.043203823268413544, -0.5497828722000122, 0.2667950987815857, 0.5824079513549805, -0.46793195605278015, 0.06345909833908081, 0.3196755647659302, 0.44084084033966064, 0.43876421451568604, 0.32707273960113525, -0.049079976975917816, 0.018754655495285988, -0.1495300978422165, 0.054981768131256104, 0.13790254294872284, -0.11274983733892441, -0.5722392201423645, 0.3725969195365906, -0.15240539610385895, -0.20098876953125 ]
http://arxiv.org/abs/2406.06572v1
http://arxiv.org/pdf/2406.06572v1
Graph Neural Network Enhanced Retrieval for Question Answering of LLMs
2024-06-03T17:07:46
2024-06-03T17:07:46
Zijian Li, Qingyan Guo, Jiawei Shao, Lei Song, Jiang Bian, Jun Zhang, Rui Wang
cs.CL
cs.CL, cs.AI, cs.IR
Retrieval augmented generation has revolutionized large language model (LLM) outputs by providing factual supports. Nevertheless, it struggles to capture all the necessary knowledge for complex reasoning questions. Existing retrieval methods typically divide reference documents into passages, treating them in isolation. These passages, however, are often interrelated, such as passages that are contiguous or share the same keywords. Therefore, recognizing the relatedness is crucial for enhancing the retrieval process. In this paper, we propose a novel retrieval method, called GNN-Ret, which leverages graph neural networks (GNNs) to enhance retrieval by considering the relatedness between passages. Specifically, we first construct a graph of passages by connecting passages that are structure-related and keyword-related. A graph neural network (GNN) is then leveraged to exploit the relationships between passages and improve the retrieval of supporting passages. Furthermore, we extend our method to handle multi-hop reasoning questions using a recurrent graph neural network (RGNN), named RGNN-Ret. At each step, RGNN-Ret integrates the graphs of passages from previous steps, thereby enhancing the retrieval of supporting passages. Extensive experiments on benchmark datasets demonstrate that GNN-Ret achieves higher accuracy for question answering with a single query of LLMs than strong baselines that require multiple queries, and RGNN-Ret further improves accuracy and achieves state-of-the-art performance, with up to 10.4% accuracy improvement on the 2WikiMQA dataset.
[ -0.2451072335243225, -1.1217174530029297, 0.7291492223739624, -0.16266651451587677, -0.45393386483192444, 0.3236658573150635, 0.08486919105052948, -0.4177713096141815, 0.5189921855926514, 0.5436448454856873, -0.507108747959137, -0.429656058549881, -0.4896560609340668, 0.19350188970565796, -0.27157676219940186, 0.5800150036811829, -0.0007318074349313974, -0.0651068240404129, -0.36060988903045654, -0.2337401658296585, -0.36296892166137695, -0.48387694358825684, -0.7942900657653809, -0.6180207133293152, 0.9827066659927368, -0.07251383364200592, 0.6172692775726318, 0.5945443511009216, 0.5189198851585388, 0.32023900747299194, -0.4692559242248535, 0.4541670083999634, -0.3734980821609497, 0.36866652965545654, 0.023164939135313034, -0.3164787292480469, -0.2964213490486145, -0.25989699363708496, 0.6559746265411377, 0.7204298377037048, 0.08044347912073135, 0.08969855308532715, 0.10129718482494354, 0.5889997482299805, -0.31152215600013733, 0.2811572849750519, -0.7685533165931702, -0.02463267557322979, 0.04354304075241089, -0.36940798163414, -0.28667327761650085, -0.6786237359046936, 0.2005305290222168, -0.7264584302902222, 0.31228938698768616, 0.07726433873176575, 0.7154112458229065, 0.16656802594661713, -0.4172729253768921, -0.17594033479690552, -0.11507552117109299, 0.24026265740394592, -0.6356818675994873, 0.6263324618339539, 0.08476296812295914, 0.039159055799245834, -0.2973948121070862, -1.2621004581451416, -0.5149384140968323, -0.31405434012413025, -0.2789463698863983, 0.2548430860042572, 0.02190393954515457, 0.10539999604225159, 0.3021846115589142, 0.13136985898017883, -0.6250845193862915, -0.3966350853443146, -0.18510638177394867, -0.4610256850719452, 0.3182486891746521, 0.1304478496313095, 0.3535761833190918, -0.40750473737716675, -0.3363407254219055, -0.009529819712042809, -0.6774426102638245, -0.10244257748126984, 0.30190062522888184, 0.4752863347530365, 0.6243643164634705, 0.5125347971916199, -0.3084847629070282, 0.929926872253418, -0.15812332928180695, 0.10377481579780579, 0.4136539101600647, -0.682702362537384, 0.07544277608394623, -0.14122138917446136, 0.6025121212005615, 0.1610473394393921, 0.3711658716201782, -0.3832748234272003, 0.02624867483973503, -0.38622692227363586, 0.20815972983837128, -0.6654739379882812, -0.1628490537405014, -0.145868182182312, -0.3628545105457306, 0.05527881160378456, -0.12507373094558716, -0.5530311465263367, -0.20141716301441193, -0.4182630479335785, 0.16260568797588348, -0.4086054265499115, -0.22095844149589539, -0.1324601024389267, -0.15751132369041443, 0.27091914415359497, 0.38642486929893494, -0.4826253652572632, 0.11445438861846924, 0.7659915089607239, 0.9497523903846741, 0.0015833500074222684, -0.35812562704086304, -0.7020851969718933, 0.05650937929749489, -0.09489662200212479, 0.8054687976837158, -0.5900751352310181, -0.2582310438156128, -0.08387691527605057, -0.041741229593753815, -0.40166065096855164, -0.5600234866142273, 0.4671880602836609, -1.2035638093948364, -0.04462224245071411, -0.19593626260757446, -0.6676623225212097, -0.5262054800987244, 0.7643211483955383, -0.7890346646308899, 1.0156135559082031, -0.07861810177564621, -0.8383073806762695, -0.18255360424518585, -0.16775844991207123, -0.4510769248008728, 0.02463892288506031, -0.3387888967990875, -0.37071511149406433, -0.16261062026023865, 0.43117088079452515, 0.19622595608234406, -0.09367527812719345, 0.18855583667755127, -0.38038259744644165, -0.5426701307296753, 0.04547591507434845, -0.4300907850265503, 0.5546225905418396, -0.058920372277498245, 0.1970895677804947, 0.21345730125904083, -0.40036264061927795, 0.4428936839103699, 0.09024705737829208, -0.6591396927833557, -0.32801583409309387, -0.31674158573150635, -0.43040701746940613, 0.2462809979915619, 0.22053363919258118, -0.5876373052597046, 0.1883244812488556, -0.3636605441570282, 0.48506584763526917, 0.5358507633209229, 0.4330998957157135, 0.07367934286594391, -0.27147749066352844, 0.5295096635818481, -0.12676651775836945, -0.18804742395877838, -0.054378192871809006, -0.7920085191726685, -0.42454957962036133, 0.218966543674469, 0.28776299953460693, 0.8862901926040649, -0.8802014589309692, 0.18913604319095612, -0.45538875460624695, -0.17907549440860748, -0.5312514901161194, 0.28380507230758667, 0.39499956369400024, 0.9762430191040039, 0.5181252956390381, -0.035179443657398224, -0.42492759227752686, -0.716690182685852, -0.19770438969135284, -0.2236439436674118, 0.12737025320529938, 0.7779991030693054, 0.39415010809898376, 0.04401152953505516, 0.7856794595718384, -0.675918459892273, -0.01792985387146473, -0.16626091301441193, -0.06068764999508858, 0.38644886016845703, 0.12383998930454254, 0.10135722905397415, -0.990559995174408, -0.483845978975296, -0.009641257114708424, -0.7687358260154724, 0.14387694001197815, 0.15575626492500305, -0.2587513029575348, -0.23938758671283722, 0.9277101159095764, -0.6394047141075134, 0.3235286474227905, 0.050396278500556946, -0.2071729302406311, 0.4614400863647461, -0.29223179817199707, 0.05179215595126152, -1.1192353963851929, 0.2113187164068222, -0.31550833582878113, -0.34760165214538574, -0.35263463854789734, 0.11848409473896027, 0.09715049713850021, -0.08980444073677063, -0.2954081594944, 0.4178581237792969, -0.5019741654396057, -0.21614982187747955, -0.2534753084182739, 0.7442165613174438, 0.37996906042099, 0.4383154809474945, -0.03670846298336983, 0.9046182632446289, 0.1913517713546753, -0.3732532262802124, 0.898712694644928, 0.5363847613334656, -0.213217630982399, 0.11037725955247879, -0.7800235152244568, 0.5475870370864868, -0.381278932094574, 0.5224263072013855, -1.1223496198654175, 0.3438194692134857, 0.30975133180618286, -0.584365725517273, 0.32065901160240173, -0.34604206681251526, -0.55003821849823, -0.3870476186275482, 0.013078331016004086, 0.45347824692726135, -0.020056750625371933, -0.43284717202186584, 0.760112464427948, -0.13548608124256134, -0.35984745621681213, -0.8318188190460205, -0.4853588938713074, 0.08620843291282654, -0.01727331429719925, -0.86219322681427, 0.25013160705566406, 0.08432097733020782, 0.16200482845306396, 0.34447333216667175, -0.1421363800764084, 0.11209738254547119, 0.0964834913611412, -0.16102419793605804, 0.33989712595939636, -0.31700870394706726, 0.3892415165901184, -0.1959792822599411, -0.2828449606895447, 0.029727734625339508, -0.49309372901916504, 0.5588428974151611, -0.14404349029064178, -0.27965837717056274, -0.14039203524589539, 0.4505034387111664, 0.27688515186309814, -0.4590933620929718, 0.48594751954078674, 0.6023481488227844, -0.11737804859876633, 0.27005183696746826, -0.37525445222854614, -0.3207190930843353, -0.36536890268325806, 0.6140103340148926, -0.696065366268158, -1.0149122476577759, 0.7434759736061096, -0.24237622320652008, -0.3001813292503357, 0.15495933592319489, 0.17102022469043732, -0.06893453747034073, 0.6080731749534607, -0.03289245814085007, -0.15174227952957153, 0.5416126251220703, -0.3604368567466736, 0.17727601528167725, -1.373976230621338, -0.4277278184890747, -0.34092044830322266, -0.34657394886016846, -0.4017058312892914, -0.48082685470581055, 0.2571910321712494, 0.27698928117752075, -0.2725285291671753, 0.22119896113872528, -0.44509831070899963, 0.4217308461666107, 0.6909935474395752, 0.5314101576805115, 0.5449582934379578, 0.07513560354709625, -0.6524561047554016, 0.23402106761932373, -0.6966522336006165, -0.10764186084270477, 1.0005357265472412, 0.04242269694805145, 0.5905178785324097, 0.17356295883655548, 0.6076378226280212, 0.07773379981517792, 0.2649332582950592, -0.6122402548789978, 0.6909999251365662, -0.00138015765696764, -0.4856964647769928, -0.4671327471733093, -0.7024573087692261, -0.9277701377868652, 0.5708880424499512, 0.030865011736750603, -0.7675368785858154, -0.08722954988479614, -0.1349848210811615, -0.39614149928092957, 0.29246124625205994, -0.5100414752960205, 0.6964709758758545, -0.204965740442276, -0.3175778388977051, -0.018918732181191444, -0.8911793828010559, 0.07345671951770782, 0.21949371695518494, -0.39686447381973267, -0.03033282235264778, 0.016832241788506508, 0.6465815901756287, -0.3050917983055115, 0.4899533987045288, -0.01394028402864933, 0.21302615106105804, 0.5742359161376953, -0.13064587116241455, 0.7634592056274414, 0.08390233665704727, -0.32347896695137024, -0.07964738458395004, -0.15111574530601501, -0.1873634308576584, -1.1447157859802246, 0.8263503909111023, -0.5679254531860352, -0.8782531023025513, -0.17792074382305145, -0.6521862745285034, -0.33479365706443787, 0.4933435618877411, 0.14167864620685577, 0.5952700972557068, 0.13368815183639526, 0.28460973501205444, 0.6302236914634705, 0.023477859795093536, 0.19741417467594147, 0.11611047387123108, -0.3578920066356659, -0.8031848669052124, 0.745843231678009, 0.3523772656917572, 0.4129623472690582, 0.54823237657547, 0.18561337888240814, -0.8267414569854736, -0.6067957282066345, -0.49734583497047424, 0.4422968327999115, -0.9475099444389343, -0.34957027435302734, -0.7712792158126831, -0.46933767199516296, -0.5613461136817932, 0.2990836501121521, 0.17109858989715576, -0.38535910844802856, -0.17322096228599548, -0.41280877590179443, 0.5547828078269958, 0.41713741421699524, 0.23452043533325195, 0.03775247558951378, -0.7975488901138306, 0.3836100399494171, 0.40072566270828247, 0.386889785528183, 0.2338920682668686, -0.49473193287849426, 0.09297753125429153, -0.0009945076890289783, -0.2726447880268097, -0.8970320224761963, -0.03512199595570564, 0.07924714684486389, 0.751944899559021, -0.08268063515424728, -0.037932656705379486, 0.7667564153671265, -0.5004944205284119, 0.34843724966049194, -0.012842702679336071, -0.5309044122695923, 0.4561633765697479, -0.2577782869338989, 0.10931792855262756, 0.6441368460655212, 0.21785271167755127, -0.6605954170227051, 0.020246703177690506, -0.5860915184020996, -1.0505985021591187, 0.39407047629356384, 0.23031657934188843, 0.08944755047559738, -0.06252755224704742, 0.8643814325332642, -0.3874185383319855, 0.23188890516757965, -0.4585352838039398, -0.46563848853111267, -0.26007217168807983, -0.177760049700737, 0.16735512018203735, -0.09488297253847122, 0.0469215027987957, -0.26661571860313416, 0.6617895364761353, -0.4043179750442505, 0.33910003304481506, 0.5605274438858032, 0.025468911975622177, 0.2856934070587158, 0.198355570435524, 0.2882406413555145, 0.5909136533737183, -0.31083154678344727, 0.22947289049625397, 0.31224778294563293, -0.5606608986854553, 0.16225333511829376, 0.43414902687072754, -0.34263259172439575, 0.1333203762769699, 0.5002037882804871, 0.732737123966217, -0.1660207211971283, -0.22757479548454285, 0.32141178846359253, -0.08361636847257614, 0.015827136114239693, -0.13391220569610596, -0.1895451843738556, 0.5323997139930725, 0.35964035987854004, 0.25946786999702454, -0.19995370507240295, 0.0682641938328743, -0.3886922001838684, 0.6049485802650452, 0.539725124835968, -0.44227683544158936, 0.18900346755981445, 0.40864700078964233, 0.05944538861513138, -0.47132056951522827, 1.2658867835998535, -0.12265036255121231, -0.7704284191131592, 0.7996853590011597, 0.788114607334137, 0.7352755665779114, 0.11535502970218658, 0.14926712214946747, 0.4921492338180542, 0.10516567528247833, 0.25234249234199524, 0.4513692259788513, -0.034283991903066635, -0.9617660045623779, -0.5276809930801392, -0.37839630246162415, -0.19740383327007294, 0.0697677806019783, -0.49310100078582764, -0.17417921125888824, -0.32491469383239746, -0.20513524115085602, -0.24472786486148834, 0.15082025527954102, -0.4186909794807434, 0.14053073525428772, -0.0042065163142979145, 0.9637088775634766, -0.3968798518180847, 0.7233564257621765, 0.742779552936554, -0.5665512084960938, -1.1375372409820557, -0.00556689640507102, -0.2926272451877594, -0.8688713312149048, 0.667477548122406, 0.08662186563014984, -0.19142977893352509, 0.40091001987457275, -0.08980059623718262, -0.9656031131744385, 1.4145017862319946, 0.26256465911865234, -0.380827933549881, -0.29353684186935425, 0.018509702757000923, 0.4360746145248413, -0.39001765847206116, 0.4787265360355377, 0.4249415993690491, 0.37269678711891174, 0.4862203598022461, -0.473617821931839, 0.2574968636035919, -0.3191448450088501, 0.038053855299949646, 0.2959171235561371, -0.6016203761100769, 0.6413040161132812, -0.2889896631240845, 0.019884979352355003, 0.14520083367824554, 0.7400131225585938, 0.5010572671890259, 0.40302813053131104, 0.4678751826286316, 0.640903651714325, 1.111647367477417, -0.1404685378074646, 0.9953569769859314, -0.3273908495903015, 0.4387942850589752, 1.3152908086776733, -0.15122799575328827, 0.8861257433891296, 0.460833877325058, -0.04901266098022461, 0.5234501361846924, 0.6548428535461426, 0.23105499148368835, 0.36765849590301514, 0.49027061462402344, -0.39485296607017517, -0.4805639088153839, -0.2692370116710663, -0.4306173622608185, 0.08888697624206543, 0.20729267597198486, -0.473249226808548, -0.4745789170265198, -0.2207994908094406, -0.054021287709474564, 0.10424581170082092, -0.25796228647232056, 0.8719311952590942, 0.24872669577598572, -0.6703492403030396, 0.33361801505088806, -0.49335527420043945, 0.17026172578334808, -0.5931894779205322, -0.1795942336320877, -0.4254676401615143, 0.11218985170125961, -0.16924573481082916, -1.0417503118515015, 0.21100305020809174, -0.5068952441215515, -0.22063606977462769, 0.11602386832237244, 0.9549204707145691, -0.49541425704956055, -0.5901708006858826, 0.609447717666626, 0.8539411425590515, 0.04656483978033066, -0.20604006946086884, -0.8521664142608643, -0.263915091753006, 0.04687121883034706, -0.2553858160972595, 0.04521266743540764, 0.4684683382511139, 0.047414589673280716, 0.9220730662345886, 0.7064345479011536, 0.18235144019126892, 0.22092223167419434, 0.39681288599967957, 0.942559003829956, -0.7686336040496826, -0.4809572100639343, -0.6473426222801208, -0.010614784434437752, -0.07893127202987671, -0.1002587229013443, 0.6718112826347351, 0.6411081552505493, 0.6218468546867371, 0.22757995128631592, 0.6322437524795532, 0.2202955186367035, 0.6317656636238098, -0.5820878148078918, 0.5237678289413452, -0.42902570962905884, 0.20337709784507751, -0.2606143653392792, -0.9681283831596375, -0.4200320541858673, 0.5449250936508179, -0.34838899970054626, 0.1416943371295929, 0.616055965423584, 0.9781811237335205, -0.07006825506687164, 0.124733567237854, 0.21375195682048798, 0.028749218210577965, 0.375169962644577, 0.6586260199546814, 0.9807243943214417, -0.6328877210617065, 0.9643269777297974, -0.03149665147066116, 0.23430772125720978, -0.049419105052948, -0.7232719659805298, -0.570953905582428, -0.34324121475219727, -0.23509372770786285, -0.5845572352409363, 0.19354479014873505, 0.6716883778572083, 0.34677577018737793, -0.5331802368164062, 0.19526490569114685, -0.15295523405075073, 0.5844495892524719, -0.23566845059394836, -0.19984622299671173, 0.7898659110069275, -0.32023707032203674, -0.4196040630340576, 0.3901127874851227, 0.10509832948446274, -0.07530264556407928, -0.014215250499546528, -0.04055801406502724, -0.8089300990104675, -0.22536435723304749, 0.47968488931655884, 0.14397096633911133, -0.5678335428237915, -0.6460418105125427, 0.31242015957832336, -0.08191419392824173, 0.22913576662540436, 0.9386434555053711, -0.9916309118270874, 0.3838677406311035, 0.9126932621002197, 1.066236138343811, 0.5478214621543884, 0.4668272137641907, 0.1968059241771698, -0.7468461990356445, -0.21374723315238953, 0.3290780186653137, 0.48111915588378906, 0.36101847887039185, -0.4817386865615845, 0.6194982528686523, 0.552079975605011, -0.6118466258049011, -0.198106050491333, 0.38762524724006653, -0.9554582834243774, -0.11832708865404129, 1.1451634168624878, -0.49398162961006165, -0.10167818516492844, -0.4521726071834564, -0.24168506264686584, 0.4616568386554718, -0.3534095287322998, 0.2988852858543396, 0.6490642428398132, -0.42538028955459595, -0.31817442178726196, -0.46393153071403503, 0.009892161004245281, 0.25446197390556335, -0.5553311109542847, 0.05751277878880501, 0.42480146884918213, 0.4279218912124634, 0.34860268235206604, 0.6404708623886108, -0.05230151489377022, 0.16915354132652283, -0.12466824799776077, -0.4633268117904663, -0.493520587682724, -0.26803287863731384, -0.13986285030841827, 0.4231673777103424, -0.05844198167324066, -0.3117898106575012 ]
http://arxiv.org/abs/2406.01514v3
http://arxiv.org/pdf/2406.01514v3
Decoupled Alignment for Robust Plug-and-Play Adaptation
2024-06-03T16:46:18
2024-06-06T04:25:40
Haozheng Luo, Jiahao Yu, Wenxin Zhang, Jialong Li, Jerry Yao-Chieh Hu, Xinyu Xing, Han Liu
cs.CL
cs.CL, cs.AI, cs.CR
We introduce a low-resource safety enhancement method for aligning large language models (LLMs) without the need for supervised fine-tuning (SFT) or reinforcement learning from human feedback (RLHF). Our main idea is to exploit knowledge distillation to extract the alignment information from existing well-aligned LLMs and integrate it into unaligned LLMs in a plug-and-play fashion. Methodology, we employ delta debugging to identify the critical components of knowledge necessary for effective distillation. On the harmful question dataset, our method significantly enhances the average defense success rate by approximately 14.41%, reaching as high as 51.39%, in 17 unaligned pre-trained LLMs, without compromising performance.
[ -0.19672490656375885, -0.6283206939697266, 0.505950391292572, 0.01279283408075571, -0.31513097882270813, 0.5599842071533203, -0.3696482181549072, -0.40291109681129456, -0.16933071613311768, 0.36642733216285706, -0.6489182710647583, -0.459811806678772, -0.5088216662406921, -0.024138640612363815, -0.11751575767993927, 1.0733977556228638, 0.10670153796672821, -0.16735219955444336, -0.18566426634788513, -0.08684433251619339, -0.6708444356918335, -0.18322506546974182, -0.4639081656932831, -0.31933826208114624, 0.21451407670974731, 0.5057319402694702, 0.761857807636261, 0.8380618095397949, 0.700792133808136, 0.3079063892364502, -0.32039782404899597, 0.3104647994041443, -0.5324199795722961, 0.10987517237663269, -0.4309697449207306, -0.33556780219078064, -0.5822475552558899, -0.3191278576850891, 0.42188504338264465, 0.5965086221694946, -0.4802170395851135, -0.06012606993317604, 0.4661513864994049, 0.8057951331138611, -0.9735431671142578, 0.014190487563610077, -0.7667878866195679, -0.008401211351156235, 0.002878887578845024, -0.09466499090194702, -0.503509521484375, -0.5388429760932922, 0.1664527952671051, -0.7799248099327087, 0.028256595134735107, -0.11852295696735382, 0.5672210454940796, 0.6081398129463196, -0.5639370679855347, 0.04924968257546425, -0.8692905902862549, 0.897118091583252, -0.8806077241897583, 0.3175120949745178, 0.0024548720102757215, 0.3010668456554413, -0.5974648594856262, -0.4638717770576477, -0.4192104935646057, 0.19433586299419403, -0.18249934911727905, 0.201365128159523, -0.14536169171333313, 0.298074871301651, 0.3149576187133789, 0.3385920226573944, -0.5356770753860474, 0.4965274930000305, -0.22717532515525818, -0.3281523883342743, 0.8114880919456482, 0.10744608938694, 0.17061708867549896, 0.2504340708255768, -0.6077893972396851, -0.14997775852680206, -0.8614915013313293, 0.10381370037794113, 0.14925691485404968, 0.5125608444213867, -0.375081330537796, 0.35232439637184143, -0.07904848456382751, 0.88257896900177, 0.4732225239276886, -0.5212839245796204, 0.15883462131023407, -0.47915318608283997, -0.37157052755355835, 0.47937828302383423, 0.8639040589332581, 0.35572129487991333, 0.03671817108988762, -0.10926036536693573, -0.17933833599090576, -0.06812848150730133, 0.40200504660606384, -0.6282132267951965, -0.3950899541378021, 0.08016154170036316, -0.18522809445858002, -0.5123791694641113, -0.0059598879888653755, -1.0536199808120728, -0.7618759870529175, -0.3312644958496094, 0.3880663812160492, -0.3573969602584839, -0.3073786795139313, 0.16953341662883759, 0.013974619098007679, 0.3379741311073303, 0.17337064445018768, -1.117116093635559, 0.16074329614639282, 0.6659365296363831, 0.8034026026725769, -0.3537614345550537, -0.11774314194917679, -0.6720943450927734, 0.3786408305168152, -0.44301629066467285, 0.7221177816390991, -0.15750539302825928, -0.4708344042301178, 0.07457602769136429, 0.2384166717529297, 0.06700333207845688, -0.5069159269332886, 0.6302694082260132, -0.607191801071167, 0.17636753618717194, -0.3565272092819214, -0.5038098692893982, -0.11190551519393921, 0.27604418992996216, -0.700700581073761, 0.757880449295044, 0.04474063590168953, -0.9568621516227722, 0.5642603039741516, -0.6387637257575989, -0.5969853401184082, -0.12260033190250397, -0.15821082890033722, -0.5447575449943542, -0.014645189046859741, 0.4850761294364929, 0.13145075738430023, -0.05167953670024872, 0.20491182804107666, -0.5286986231803894, -0.3318062424659729, 0.10405200719833374, -0.41472917795181274, 0.9837785363197327, 0.2712661623954773, -0.37291964888572693, 0.11849339306354523, -0.894547164440155, -0.06273331493139267, -0.08337901532649994, -0.843341588973999, -0.28391021490097046, 0.12486668676137924, -0.3825066089630127, 0.13443101942539215, 0.3425392210483551, -0.352037250995636, 0.324114590883255, -0.48707205057144165, 0.23740534484386444, 0.8120335936546326, 0.05393155664205551, 0.7394669651985168, -0.25468727946281433, 0.6534436941146851, 0.14535771310329437, 0.1104801744222641, 0.09710536152124405, -0.08134817332029343, -0.6159748435020447, -0.6170597076416016, 0.5045648217201233, 0.7967889904975891, -0.741128146648407, 1.0072702169418335, -0.24899207055568695, -0.3153676986694336, -0.4518602192401886, 0.4154394567012787, 0.44593435525894165, 0.7788384556770325, 0.36031651496887207, -0.27709823846817017, -0.6726287007331848, -0.6853014826774597, -0.05273301899433136, -0.2159491777420044, -0.03176192566752434, -0.2533067464828491, -0.04232175648212433, -0.18871155381202698, 0.8835092186927795, -0.5103145241737366, -0.23715457320213318, -0.11759429425001144, 0.056128088384866714, 0.05556207150220871, 0.5446719527244568, 0.5003025531768799, -0.26224541664123535, -0.41788047552108765, 0.18258187174797058, -0.7363850474357605, -0.15237672626972198, -0.018484774976968765, -0.3279966115951538, 0.3416752517223358, 0.7411393523216248, -0.5507594347000122, 0.1621670126914978, 0.7579138278961182, -0.2841617465019226, 0.29986023902893066, -0.2342674434185028, 0.16854174435138702, -1.339855432510376, 0.06452696770429611, -0.16091476380825043, -0.35164105892181396, -0.637780487537384, -0.10541033744812012, 0.2561434805393219, 0.10528537631034851, -0.5702724456787109, 0.07019712775945663, -0.5627611875534058, 0.0633973553776741, -0.26036354899406433, 0.2365814447402954, 0.2859605550765991, 0.1787649691104889, -0.11053794622421265, 0.8500380516052246, 0.6027920246124268, -0.7196525931358337, 0.3239380419254303, 0.22654181718826294, -0.6682441234588623, 0.5728548169136047, -0.455441951751709, 0.09724180400371552, -0.06607219576835632, 0.04599643871188164, -0.9944168925285339, -0.26394301652908325, -0.006412798538804054, 0.19723263382911682, 0.7017422318458557, -0.2707679867744446, -0.1380387842655182, 0.09159918129444122, -0.26966410875320435, 0.4927678406238556, 0.6889632344245911, -0.819775402545929, 0.48764869570732117, 0.46570736169815063, -0.20115946233272552, -0.9444297552108765, -0.6386866569519043, -0.24790143966674805, -0.7862080931663513, -0.4118081033229828, 0.4005816876888275, 0.03135235235095024, -0.2655889093875885, -0.21925416588783264, -0.16597554087638855, -0.03248831629753113, 0.4445558786392212, 0.048602428287267685, 0.5215051174163818, -0.2899978756904602, 0.18481270968914032, 0.21103011071681976, 0.02764127030968666, -0.06552041321992874, -0.09239444881677628, 0.1856803447008133, 0.1488320231437683, -0.47945722937583923, -0.5096222162246704, 0.07780880481004715, 0.7015715837478638, -0.09344464540481567, 0.67739337682724, 0.4236021637916565, -0.09763584285974503, 0.007751459255814552, -0.3534493148326874, -0.15143944323062897, -0.5747392773628235, 0.3363915979862213, 0.03524279221892357, -0.9736778736114502, 0.5085286498069763, -0.3075762093067169, 0.2702253758907318, 0.18637439608573914, 0.39659979939460754, -0.2023351788520813, 0.9087311029434204, 0.9227580428123474, -0.32330766320228577, 0.4963405430316925, 0.24409852921962738, 0.44426676630973816, -0.5172435641288757, -0.2004033327102661, -0.38653430342674255, -0.5065165758132935, -0.6581414341926575, -0.1809452772140503, 0.21973663568496704, 0.6284158825874329, -0.3580322563648224, 0.44012486934661865, -0.6782213449478149, 0.6855615377426147, 0.2542988657951355, 0.06596262007951736, 0.45841073989868164, -0.05920196324586868, -0.021803805604577065, -0.16367602348327637, -0.6720480918884277, -0.2774529755115509, 1.099951982498169, 0.34304314851760864, 1.1150318384170532, 0.5536274313926697, 0.8711686730384827, 0.25195518136024475, -0.023908907547593117, -0.8904438018798828, 0.35448622703552246, -0.04954518750309944, -0.4302937686443329, -0.3357166349887848, -0.2725164592266083, -0.8842476606369019, 0.07551775872707367, -0.41916993260383606, -0.8040884733200073, 0.3265024423599243, 0.4113490879535675, -0.8820440769195557, 0.11542428284883499, -0.8062703013420105, 0.8077672719955444, -0.4325377941131592, -0.1798563003540039, -0.02970617450773716, -0.4951973855495453, 0.8283716440200806, -0.3580280840396881, 0.239817813038826, 0.07647785544395447, 0.10778596252202988, 0.6003157496452332, -0.3448306918144226, 0.7650474905967712, -0.12046186625957489, -0.501125693321228, 0.28579390048980713, 0.12702572345733643, 0.6404574513435364, -0.11085458844900131, 0.10533763468265533, -0.028165185824036598, 0.11722582578659058, -0.285573810338974, -0.7814680933952332, 0.7456989288330078, -0.6538073420524597, -0.7979724407196045, -0.406268835067749, -0.7269109487533569, -0.29741171002388, 0.22246530652046204, 0.14793865382671356, -0.02166038192808628, -0.39697787165641785, 0.18691378831863403, 1.0533208847045898, -0.15347836911678314, 0.7982115149497986, 0.6653499603271484, -0.12898306548595428, -0.569728434085846, 0.5891657471656799, -0.20944640040397644, 0.47561129927635193, 0.4128088653087616, 0.026676878333091736, -0.5910925269126892, -0.4968872666358948, -0.3136848509311676, -0.06455196440219879, -0.7191210389137268, -0.5723531246185303, -0.367061972618103, -0.21272334456443787, -0.4265178442001343, -0.16157656908035278, -0.5407330989837646, -0.49484509229660034, -0.3593142032623291, -0.3826958239078522, 0.4985552132129669, 0.6634064316749573, -0.3245895504951477, 0.3897840976715088, -0.9288433194160461, 0.015452449209988117, 0.45430248975753784, 0.25269603729248047, -0.40579524636268616, -0.7073246240615845, -0.39495405554771423, 0.014830813743174076, -0.6041474342346191, -0.7000215649604797, 0.040581829845905304, 0.21045687794685364, 0.5090060234069824, 0.7803339958190918, 0.4675159752368927, 1.0039474964141846, -0.48295387625694275, 0.6857139468193054, 0.3804280459880829, -0.8425977826118469, 0.4318629503250122, -0.12352854013442993, 0.34964117407798767, 0.7662760019302368, 0.22132118046283722, 0.15123064815998077, -0.07266318798065186, -0.230804443359375, -0.6552720665931702, 0.66728276014328, -0.20707814395427704, -0.1297636181116104, 0.21630606055259705, 0.11509954929351807, -0.0598013699054718, -0.1733877956867218, -0.5681547522544861, 0.13745568692684174, 0.1439496874809265, -0.4018765985965729, -0.09858859330415726, -0.21624255180358887, -0.6322188973426819, -0.3514283001422882, 0.7642236351966858, -0.19823868572711945, -0.0464923232793808, -0.17726373672485352, -0.15050144493579865, -0.15573948621749878, 0.44184786081314087, 0.8632361888885498, 0.5793198347091675, -0.28294637799263, 0.3323323130607605, 0.448489785194397, -0.4072451889514923, 0.5646893382072449, 0.08180415630340576, 0.044212937355041504, -0.1816880851984024, 0.33887946605682373, 0.4958707392215729, 0.254647821187973, -0.5244234204292297, 0.3276810348033905, -0.07023078948259354, -0.19698573648929596, 0.07840414345264435, 0.27939876914024353, 0.15789654850959778, 0.4823845326900482, -0.1583189219236374, -0.036823127418756485, -0.15804238617420197, -0.3177674114704132, 0.333972692489624, 0.6222381591796875, -0.5176215171813965, -0.18882858753204346, 0.4003249704837799, 0.3231014013290405, -0.1360340714454651, 0.360076367855072, -0.02812221460044384, -0.16337080299854279, 0.35827985405921936, 0.5591186285018921, 0.8905102014541626, -0.40077918767929077, -0.011703422293066978, 0.3376045823097229, 0.37752506136894226, -0.3098393678665161, 0.08245721459388733, 0.012430869974195957, -0.7261675596237183, -0.6479143500328064, -0.5325139760971069, -0.12041734904050827, 0.4375266432762146, -0.8254291415214539, 0.45952045917510986, -0.5157105326652527, -0.16725033521652222, -0.25704726576805115, -0.2898252308368683, -0.3892200291156769, -0.1283251941204071, -0.06725775450468063, 0.9242115020751953, -1.110190749168396, 0.9844929575920105, 0.5663848519325256, -0.1624605655670166, -0.8402520418167114, 0.299279123544693, 0.22707517445087433, -0.40392065048217773, 0.3424268960952759, -0.20515219867229462, -0.18963800370693207, -0.038358911871910095, -0.29698696732521057, -1.0011305809020996, 1.3767400979995728, 0.8692071437835693, -0.819507896900177, 0.06987925618886948, 0.15815556049346924, 0.44254881143569946, -0.2757995128631592, -0.12952005863189697, 1.053966760635376, 0.2117011547088623, -0.005857329349964857, -1.0713330507278442, 0.14367713034152985, 0.22779624164104462, 0.02940971963107586, 0.19704042375087738, -0.46362394094467163, 0.4385620653629303, -0.16512683033943176, -0.43804582953453064, -0.27669984102249146, 0.5134751200675964, 0.3951774537563324, -0.09366068989038467, 0.5175044536590576, 0.8733218908309937, 0.8076810836791992, -0.013608383946120739, 0.5180398225784302, -0.34451034665107727, 0.2886490225791931, 1.4395196437835693, -0.380657434463501, 0.6969078779220581, 0.6949453353881836, -0.17587226629257202, 0.5868004560470581, 0.5466095209121704, 0.39567288756370544, 1.132987380027771, 0.03219513222575188, -0.48505455255508423, -0.37762129306793213, 0.08968202024698257, -0.46564942598342896, 0.5064318776130676, 0.13512474298477173, -0.3382447063922882, -0.3832795023918152, -0.3493448793888092, 0.05167471989989281, 0.12439640611410141, -0.050985146313905716, 1.3185906410217285, 0.0429823212325573, -0.8099100589752197, 0.9667699337005615, -0.22879591584205627, 0.6813782453536987, -0.3708052337169647, -0.09356878697872162, -0.32006704807281494, 0.46928396821022034, -0.4485339820384979, -0.6481435894966125, 0.3911949098110199, -0.04299769178032875, -0.37955617904663086, 0.06692573428153992, 0.6411482691764832, -0.5979769825935364, -0.36336326599121094, 0.30508437752723694, 0.24527491629123688, -0.31825897097587585, 0.42501041293144226, -0.5718527436256409, 0.10950082540512085, 0.11455783993005753, -0.06263505667448044, 0.670030951499939, 0.5231032371520996, 0.08296788483858109, 0.4719981849193573, 0.4449877142906189, -0.10554305464029312, 0.10740360617637634, -0.20500344038009644, 1.0633561611175537, -0.34250155091285706, -0.3935382664203644, -1.1342960596084595, 0.887283205986023, -0.18109458684921265, 0.2058938592672348, 0.5704860687255859, 0.4502958357334137, 0.816631019115448, -0.10519696772098541, 0.9566136002540588, 0.05964699387550354, 0.3489062488079071, -0.749485194683075, 0.8298026323318481, -0.30275022983551025, 0.5575300455093384, -0.3530585467815399, -1.0032812356948853, -0.25873464345932007, 0.5763468742370605, 0.02470434457063675, -0.36186134815216064, 0.5281506180763245, 1.089188575744629, -0.4116063714027405, -0.30626818537712097, 0.4614373743534088, -0.14245359599590302, 0.47836169600486755, 0.6294179558753967, 0.7505138516426086, -0.3291356563568115, 0.5929027795791626, -0.2466195672750473, -0.4326052963733673, -0.07842637598514557, -1.3933826684951782, -1.0296586751937866, -0.16119356453418732, -0.6382014751434326, -0.4954517185688019, -0.014336837455630302, 0.7803197503089905, 0.5873587131500244, -1.148610234260559, -0.10077635943889618, -0.24666421115398407, 0.16896727681159973, -0.3396089971065521, -0.2174977958202362, 0.2667280435562134, -0.46701571345329285, -0.4498582184314728, 0.8289042115211487, 0.3036036193370819, 0.21978279948234558, -0.2023676037788391, -0.2917284369468689, -0.21239414811134338, 0.0452314093708992, 0.4245010018348694, 0.5381814241409302, -0.5970837473869324, -0.5055994987487793, -0.29434794187545776, -0.06875447928905487, 0.03556179255247116, 0.6152552962303162, -0.4618310034275055, 0.5361935496330261, 0.5467631816864014, 0.8706446290016174, -0.060314420610666275, 0.3153320252895355, 0.7769758105278015, -0.980925440788269, 0.4554583430290222, -0.06572165340185165, 0.45811113715171814, 0.29012805223464966, -0.4743722379207611, 0.28880512714385986, -0.013243461959064007, -0.7389601469039917, -0.9445213079452515, 0.4762725234031677, -0.9899317026138306, -0.0881766751408577, 1.087458610534668, -0.4938759207725525, -0.02001952938735485, -0.2703530788421631, -0.13653868436813354, 0.47202515602111816, -0.2888004183769226, 1.2058396339416504, 0.6060675978660583, -0.024690061807632446, -0.25779789686203003, 0.02050590142607689, 0.9328075647354126, 0.3044595718383789, -0.9858120083808899, 0.27363473176956177, 0.4882340729236603, 0.4264083504676819, 0.28820887207984924, 0.2560495138168335, -0.16426660120487213, 0.13819757103919983, -0.30061331391334534, 0.12271255254745483, 0.00838296115398407, -0.26468607783317566, -0.697324812412262, -0.15274333953857422, 0.43685877323150635, -0.5253249406814575 ]
http://arxiv.org/abs/2406.01512v1
http://arxiv.org/pdf/2406.01512v1
MAD: Multi-Alignment MEG-to-Text Decoding
2024-06-03T16:43:10
2024-06-03T16:43:10
Yiqian Yang, Hyejeong Jo, Yiqun Duan, Qiang Zhang, Jinni Zhou, Won Hee Lee, Renjing Xu, Hui Xiong
cs.CL
cs.CL
Deciphering language from brain activity is a crucial task in brain-computer interface (BCI) research. Non-invasive cerebral signaling techniques including electroencephalography (EEG) and magnetoencephalography (MEG) are becoming increasingly popular due to their safety and practicality, avoiding invasive electrode implantation. However, current works under-investigated three points: 1) a predominant focus on EEG with limited exploration of MEG, which provides superior signal quality; 2) poor performance on unseen text, indicating the need for models that can better generalize to diverse linguistic contexts; 3) insufficient integration of information from other modalities, which could potentially constrain our capacity to comprehensively understand the intricate dynamics of brain activity. This study presents a novel approach for translating MEG signals into text using a speech-decoding framework with multiple alignments. Our method is the first to introduce an end-to-end multi-alignment framework for totally unseen text generation directly from MEG signals. We achieve an impressive BLEU-1 score on the $\textit{GWilliams}$ dataset, significantly outperforming the baseline from 5.49 to 10.44 on the BLEU-1 metric. This improvement demonstrates the advancement of our model towards real-world applications and underscores its potential in advancing BCI research. Code is available at $\href{https://github.com/NeuSpeech/MAD-MEG2text}{https://github.com/NeuSpeech/MAD-MEG2text}$.
[ -0.16982683539390564, -0.9198206067085266, 0.7332685589790344, 0.4250114858150482, -0.32842254638671875, -0.06206064671278, -0.07963617146015167, -0.47109243273735046, 0.25586551427841187, 0.2190473973751068, -0.9086976051330566, -0.7893422842025757, -0.674579918384552, 0.16528074443340302, -0.36996567249298096, 0.8685562610626221, -0.0029556634835898876, 0.17327572405338287, -0.09497043490409851, -0.01203290093690157, -0.7783829569816589, -0.46217942237854004, -0.3223218023777008, -0.2736542522907257, 0.5885674357414246, 0.2201152890920639, 0.35155990719795227, 0.6103505492210388, 0.32114771008491516, 0.13075536489486694, -0.19820336997509003, 0.6053454875946045, -0.38145774602890015, 0.050672631710767746, 0.054936040192842484, -0.13905924558639526, -0.6071012616157532, -0.28355541825294495, 0.6536039113998413, 0.5890592336654663, -0.21478718519210815, 0.044807858765125275, 0.03861900418996811, 0.6804552674293518, -0.7879887223243713, 0.158957377076149, -0.5485839247703552, -0.26520466804504395, -0.06398174166679382, -0.09498614072799683, -0.8444639444351196, -0.05302093178033829, 0.028915537521243095, -0.5628848075866699, -0.17960509657859802, 0.22969163954257965, 1.0884321928024292, 0.038816023617982864, -0.5848385095596313, -0.038307271897792816, -0.46899351477622986, 0.7649247646331787, -0.6500874757766724, 0.507700502872467, 0.42991355061531067, -0.02898292802274227, -0.34760454297065735, -0.4094434082508087, -0.7130025029182434, 0.19830793142318726, -0.10849739611148834, 0.3515129089355469, -0.37110331654548645, 0.10684126615524292, -0.07905896008014679, 0.07386520504951477, -0.632916271686554, 0.09710908681154251, -0.022545570507645607, -0.25137439370155334, 0.44649162888526917, 0.20287898182868958, 0.5877773761749268, 0.04727942496538162, -0.12395358830690384, -0.24084989726543427, -0.3686973750591278, -0.346694678068161, 0.49810782074928284, 0.2610693573951721, -0.44430533051490784, 0.799164891242981, -0.01234561949968338, 0.8483479022979736, -0.005796336103230715, 0.09012288600206375, 0.3790683150291443, -0.285460501909256, -0.06831800192594528, 0.24083194136619568, 0.8877184987068176, 0.3770785927772522, 0.012483359314501286, -0.5114036798477173, 0.04354482889175415, 0.14555050432682037, 0.2266266793012619, -0.6678920388221741, -0.19947293400764465, 0.4043181538581848, -0.4944041073322296, 0.12521401047706604, -0.15154294669628143, -1.0011216402053833, -0.4718957841396332, -0.3466228246688843, 0.7093403935432434, -0.6781957745552063, -0.48291268944740295, 0.4906204342842102, -0.10584356635808945, 0.3099166750907898, 0.118599072098732, -0.9100766181945801, 0.13297514617443085, 0.554634153842926, 1.1585243940353394, -0.4061664044857025, -0.5059741735458374, -0.17755012214183807, 0.5574260950088501, -0.2688426673412323, 0.9302501678466797, -0.23370762169361115, -0.3187892436981201, -0.1541854739189148, -0.09005136042833328, -0.3589693605899811, -0.0061784908175468445, 0.49678725004196167, -0.4317624866962433, 0.35027140378952026, -0.13458001613616943, -0.42347490787506104, -0.3405066430568695, 0.14586985111236572, -0.598008930683136, 0.5110987424850464, -0.3589843809604645, -0.9646629691123962, -0.15342046320438385, -0.9190598726272583, -0.7115458846092224, -0.3712763786315918, 0.07109631597995758, -0.6004460453987122, 0.27182137966156006, 0.3189318776130676, 0.35072118043899536, -0.17737680673599243, 0.12124686688184738, -0.31965771317481995, -0.41310468316078186, 0.3319154679775238, -0.7571683526039124, 0.74737548828125, 0.04753967002034187, -0.17991198599338531, -0.08601294457912445, -0.936863124370575, 0.24137818813323975, 0.1745993196964264, -0.07794548571109772, -0.2694896459579468, 0.25072458386421204, -0.009570718742907047, 0.227006196975708, 0.4295973479747772, -0.7175681591033936, -0.09704030305147171, -0.40652504563331604, 0.34717127680778503, 0.4213517904281616, -0.04755645990371704, 0.1769973784685135, -0.1955924928188324, -0.06189638376235962, 0.21619512140750885, -0.1604333072900772, -0.4551611542701721, -0.5609668493270874, -0.5829817652702332, -0.6671909689903259, 0.30868905782699585, 0.797398567199707, -0.4091868996620178, 0.46680527925491333, -0.47506797313690186, -0.46783438324928284, -1.0188632011413574, -0.5211817026138306, 0.2716572880744934, 0.5063030123710632, 0.8672888875007629, -0.08267732709646225, -0.547527015209198, -0.976478636264801, -0.28844931721687317, -0.18013685941696167, 0.03784402459859848, 0.14804121851921082, 0.08808577805757523, -0.5905836224555969, 0.6601987481117249, -0.7015913128852844, -0.24136625230312347, -0.016751078888773918, 0.4723774790763855, 0.20651856064796448, 0.5102405548095703, -0.101284921169281, -0.380391001701355, -0.13724704086780548, 0.4141908884048462, -0.6340291500091553, -0.1664542853832245, -0.20133306086063385, -0.7070800065994263, 0.24107640981674194, 0.1832539588212967, -0.7333424687385559, 0.2734602391719818, 0.722439169883728, -0.46920493245124817, 0.46915000677108765, -0.32134634256362915, 0.39334335923194885, -1.0900654792785645, 0.3649088144302368, -0.03721591830253601, 0.051694564521312714, -0.864041805267334, -0.2618545591831207, 0.22775153815746307, 0.14580336213111877, -0.16988064348697662, 0.18333372473716736, -0.8090032935142517, 0.2407345473766327, -0.4655933380126953, 0.16235396265983582, 0.16570621728897095, 0.66916823387146, 0.12323370575904846, 0.6192907094955444, 0.6043409109115601, -0.6105671525001526, -0.24473127722740173, 0.45424866676330566, 0.04547518119215965, 0.5294867753982544, -0.358843594789505, 0.45067891478538513, -0.43182334303855896, -0.16084519028663635, -1.1939575672149658, -0.060507528483867645, 0.1160307303071022, -0.7977370023727417, 0.6260032057762146, -0.021922504529356956, -0.6193212270736694, 0.07685046643018723, -0.058863986283540726, 0.40895384550094604, 0.4348710775375366, -0.4100034534931183, 0.6105324625968933, 0.8003649115562439, 0.02059745043516159, -0.5807744860649109, -0.9719287753105164, 0.1372756063938141, -0.0020608571358025074, -0.5189658999443054, 0.25908902287483215, -0.04318700730800629, 0.20247484743595123, -0.29735714197158813, -0.34764328598976135, -0.24678801000118256, -0.1887269765138626, 0.08079098165035248, 0.43928325176239014, -0.09313144534826279, -0.14847125113010406, 0.6625226736068726, -0.07624253630638123, 0.21669043600559235, -0.2696777284145355, 0.5481017827987671, 0.23201966285705566, -0.33957934379577637, -0.5716953277587891, 0.742385745048523, 0.8351800441741943, -0.3654957711696625, 0.7652915120124817, 0.7031922936439514, -0.650874674320221, 0.19764988124370575, -0.32323065400123596, 0.02088353969156742, -0.4562208950519562, 0.6259709596633911, -0.34392330050468445, -0.6686499714851379, 0.21765898168087006, -0.29938623309135437, 0.1896233856678009, 0.15347619354724884, 0.6339783668518066, -0.10365338623523712, 1.71114981174469, 0.6968451142311096, 0.17359113693237305, 0.29267939925193787, 0.08022908866405487, 0.5061831474304199, -0.9573037624359131, -0.6567543745040894, -0.261694997549057, -0.33474022150039673, -0.25117287039756775, -0.03636864572763443, 0.20999707281589508, 0.03514808043837547, 0.06435654312372208, 0.39669716358184814, -0.7139602899551392, 0.44093549251556396, 0.03984121233224869, 0.33732831478118896, 0.2915523052215576, 0.2523719370365143, -0.25501781702041626, -0.23762497305870056, -0.48802515864372253, -0.473543643951416, 0.8984917998313904, 0.2637147307395935, 0.5744213461875916, 0.30468547344207764, 0.44140443205833435, 0.02032122202217579, 0.13150697946548462, -0.7364922761917114, 0.636003851890564, -0.057161845266819, -0.37754714488983154, 0.01636594906449318, -0.35900551080703735, -1.1574432849884033, 0.5392080545425415, -0.3818680942058563, -1.132083535194397, 0.12498413026332855, 0.09456104785203934, -0.11202745139598846, 0.23640041053295135, -1.1260817050933838, 0.8753529191017151, -0.009596938267350197, -0.418722927570343, -0.28724655508995056, -0.6705935001373291, 0.374826043844223, -0.08538065105676651, 0.2516235411167145, -0.20034369826316833, -0.16524627804756165, 0.7412517070770264, 0.12944722175598145, 0.5872176289558411, 0.04328089579939842, -0.3778451085090637, 0.1720792055130005, 0.263485848903656, 0.2974884808063507, 0.005817791912704706, 0.04913688823580742, 0.6376270651817322, 0.13406866788864136, -0.27043309807777405, -0.32281962037086487, 0.7988426089286804, -0.8256736993789673, -0.16177824139595032, -0.36090779304504395, -0.7985523343086243, -0.4179201126098633, 0.49557945132255554, 0.31230607628822327, 0.2701687514781952, -0.006451006978750229, -0.3972528874874115, 0.8158273696899414, 0.05542594939470291, 0.6217731237411499, 0.44012585282325745, -0.03388207405805588, -0.7441874146461487, 1.2407037019729614, -0.04147351160645485, 0.02161649987101555, 0.7084128856658936, -0.27021342515945435, -0.5049754977226257, -0.6417443156242371, -0.553054928779602, 0.6039907932281494, -0.39386194944381714, -0.23168252408504486, -1.069865345954895, 0.10660243034362793, -0.22596269845962524, 0.19616812467575073, -0.3731706142425537, -0.09493419528007507, -0.522555947303772, 0.02488442324101925, 0.11209458112716675, 0.3494895100593567, -0.012035952880978584, 0.6488712430000305, -0.9100928902626038, 0.49477720260620117, -0.07274558395147324, 0.3526720404624939, -0.0809176117181778, -0.26391685009002686, -0.4650605618953705, 0.3156442940235138, -0.3483078181743622, -1.4839023351669312, 0.615011990070343, -0.04566700756549835, 0.34159186482429504, 0.20837323367595673, -0.12912170588970184, 1.1357166767120361, -0.8507116436958313, 0.5600090622901917, 0.5081429481506348, -1.1448270082473755, 0.36029109358787537, -0.2680633068084717, 0.45557543635368347, 0.5232492685317993, 0.19844023883342743, -0.5786370038986206, -0.23358199000358582, -0.3448293209075928, -1.0435311794281006, 0.8310570120811462, 0.29140594601631165, 0.02322429232299328, -0.08609340339899063, 0.18145833909511566, 0.28443586826324463, 0.25816234946250916, -0.5657812356948853, -0.5044966340065002, -0.04737124219536781, -0.6582591533660889, 0.2378436028957367, -0.15919291973114014, -0.0678362175822258, -0.20796915888786316, 0.5646257996559143, -0.17098017036914825, 0.9411045908927917, 0.293380469083786, -0.29206621646881104, 0.0740676075220108, 0.2972995340824127, 0.6153252124786377, 0.31206071376800537, 0.0779060646891594, 0.20665882527828217, 0.34241780638694763, -0.8358421325683594, 0.1016305685043335, 0.1700599491596222, 0.10447974503040314, 0.24380287528038025, 0.00250835414044559, 0.8276955485343933, -0.23232437670230865, -0.6204017996788025, 0.4581228494644165, -0.20861250162124634, -0.09518681466579437, 0.06064371392130852, -0.3399237394332886, 0.031805265694856644, 0.013357256539165974, 0.14865230023860931, 0.17048263549804688, 0.31926730275154114, -0.008900563232600689, 0.15938600897789001, 0.4738587439060211, -0.3939207196235657, -0.6385768055915833, 0.6314386129379272, -0.09888988733291626, -0.1957239806652069, 0.49119657278060913, -0.14421507716178894, 0.02099844068288803, 0.10243017226457596, 1.0685253143310547, 0.9751256108283997, 0.011975702829658985, -0.00950845330953598, 0.3326355516910553, 0.3292475938796997, -0.28119784593582153, 0.6127203702926636, 0.11823946982622147, -0.5634827613830566, -0.7812209129333496, -0.3685215711593628, -0.3127974271774292, 0.12013198435306549, -0.6401659250259399, 0.5140650272369385, -0.23380431532859802, -0.316508024930954, -0.15145215392112732, -0.4175228476524353, -0.2179841697216034, 0.08520086854696274, 0.44513577222824097, 0.5582772493362427, -0.58245450258255, 0.7109654545783997, 0.8838198184967041, 0.16315366327762604, -0.4665237069129944, 0.2575031816959381, -0.1305059939622879, -0.6943445801734924, -0.21800324320793152, 0.49537256360054016, -0.47623732686042786, 0.5112243890762329, -0.55345219373703, -0.8602194786071777, 0.9532477855682373, 0.7129510045051575, -0.4628705084323883, -0.1580704152584076, -0.20140522718429565, 0.309526264667511, -0.09765846282243729, 0.4634201228618622, 0.5854790210723877, 0.605930745601654, -0.18732716143131256, -0.6516367793083191, -0.02679179050028324, -0.38365107774734497, -0.16676878929138184, 0.5560241937637329, -0.5082588791847229, 0.5136727690696716, -0.29274627566337585, -0.5957829356193542, -0.029945921152830124, 1.0549982786178589, 0.3679514229297638, 0.3438786268234253, 0.04685341194272041, 0.5446895956993103, 0.7781338691711426, -0.1822350174188614, 0.5686866641044617, -0.33151155710220337, 0.3491958677768707, 0.6599175333976746, 0.034945618361234665, 0.8120700716972351, 0.7453834414482117, 0.07823771238327026, 0.5763739943504333, 0.31754255294799805, 0.23530536890029907, 0.8159881234169006, 0.07901554554700851, -0.2518165111541748, -0.3199777901172638, 0.10558971762657166, -0.011909079737961292, 0.24444784224033356, 0.5069963932037354, 0.16318823397159576, -0.2056429237127304, -0.058115873485803604, 0.2791111469268799, 0.04620788246393204, -0.3088046908378601, 0.702498733997345, -0.07063982635736465, -0.5564090013504028, 0.47594138979911804, 0.1821349412202835, 0.8737998008728027, -0.7287807464599609, -0.25590649247169495, 0.2445109486579895, 0.052448008209466934, -0.16125136613845825, -0.6822757720947266, 0.3185935318470001, -0.06381242722272873, -0.25893449783325195, 0.03599795699119568, 0.5589250922203064, -0.655547022819519, -0.21534551680088043, 0.326463907957077, 0.6159560680389404, 0.1710883378982544, 0.02047804743051529, -0.5049691200256348, 0.08602829277515411, -0.0379134900867939, -0.030101027339696884, 0.2833692133426666, 0.5394543409347534, 0.09286615997552872, 0.45407551527023315, 0.6438158750534058, -0.03407950699329376, 0.21474675834178925, -0.18303662538528442, 0.4947408437728882, -0.7181253433227539, -0.6045831441879272, -1.3301547765731812, 0.726356565952301, -0.03201451525092125, -0.35455456376075745, 0.7407557964324951, 0.551298975944519, 0.5527597665786743, -0.03643769398331642, 0.518497109413147, 0.0831463560461998, 0.22779197990894318, -0.4892333149909973, 0.9046634435653687, -0.48565584421157837, -0.19909411668777466, -0.46360331773757935, -0.525026798248291, -0.5802038311958313, 0.5669843554496765, 0.12377311289310455, -0.2900831401348114, 0.9944705963134766, 0.7751261591911316, -0.0027413880452513695, 0.3597915768623352, 0.3851432502269745, 0.06901461631059647, 0.03848922997713089, 0.6856111884117126, 0.6397477984428406, -0.5662376284599304, 0.6569323539733887, 0.1580178290605545, -0.22264787554740906, 0.17320552468299866, -0.7789210081100464, -0.7448339462280273, -0.5282909870147705, -0.5455365777015686, -0.40437808632850647, 0.012809993699193, 0.6691491007804871, 0.5443286895751953, -0.6973544359207153, -0.31073370575904846, -0.21386975049972534, 0.18108350038528442, -0.5253072381019592, -0.12425515055656433, 0.3985293209552765, -0.20203560590744019, -0.8550093770027161, 0.5775536298751831, 0.4193228781223297, 0.2741779685020447, 0.23209361732006073, -0.06344210356473923, -0.38992631435394287, 0.280118852853775, 0.765354335308075, 0.17946240305900574, -0.2725553512573242, -0.09332782030105591, 0.31978338956832886, -0.21436376869678497, 0.10962586104869843, 0.5447058081626892, -0.5425020456314087, 0.2454664558172226, 0.5270777344703674, 0.8490472435951233, 0.32663482427597046, -0.18004828691482544, 0.43668651580810547, -0.6441260576248169, -0.1894790679216385, 0.03538224846124649, 0.30729714035987854, 0.21250343322753906, -0.46769118309020996, -0.03697080910205841, 0.13516168296337128, -0.5153967142105103, -0.9385970234870911, 0.1660863310098648, -1.5119982957839966, -0.19431409239768982, 1.3456603288650513, 0.2107037901878357, -0.5273505449295044, -0.1837252974510193, -0.6470184922218323, 0.5444455146789551, -0.4651883840560913, 0.7408363223075867, 0.8397116661071777, -0.4424118399620056, -0.12405946105718613, -0.2580944001674652, -0.0920160785317421, 0.6440044045448303, -0.7952646613121033, 0.2711579501628876, 0.6543679237365723, -0.0454031340777874, 0.3037644922733307, 0.44719892740249634, -0.4389607608318329, 0.223664790391922, -0.03182876855134964, 0.32408496737480164, -0.19122731685638428, -0.3261696994304657, -0.5661768913269043, 0.18622274696826935, -0.2600957453250885, -0.7911890149116516 ]
http://arxiv.org/abs/2406.06571v2
http://arxiv.org/pdf/2406.06571v2
SUBLLM: A Novel Efficient Architecture with Token Sequence Subsampling for LLM
2024-06-03T16:43:04
2024-06-17T09:23:13
Quandong Wang, Yuxuan Yuan, Xiaoyu Yang, Ruike Zhang, Kang Zhao, Wei Liu, Jian Luan, Daniel Povey, Bin Wang
cs.CL
cs.CL, cs.AI, I.2.7
While Large Language Models (LLMs) have achieved remarkable success in various fields, the efficiency of training and inference remains a major challenge. To address this issue, we propose SUBLLM, short for Subsampling-Upsampling-Bypass Large Language Model, an innovative architecture that extends the core decoder-only framework by incorporating subsampling, upsampling, and bypass modules. The subsampling modules are responsible for shortening the sequence, while the upsampling modules restore the sequence length, and the bypass modules enhance convergence. In comparison to LLaMA, the proposed SUBLLM exhibits significant enhancements in both training and inference speeds as well as memory usage, while maintaining competitive few-shot performance. During training, SUBLLM increases speeds by 26% and cuts memory by 10GB per GPU. In inference, it boosts speeds by up to 37% and reduces memory by 1GB per GPU. The training and inference speeds can be enhanced by 34% and 52% respectively when the context window is expanded to 8192. We shall release the source code of the proposed architecture in the published version.
[ -0.3824787139892578, -0.7971013784408569, 0.1427530199289322, 0.09159527719020844, -0.6631197929382324, 0.27644890546798706, -0.18781910836696625, -0.24405060708522797, 0.2536904215812683, 0.41922450065612793, -0.337846577167511, -0.5305683612823486, -0.5525052547454834, -0.09453049302101135, -0.5429593920707703, 0.5225103497505188, 0.5007485151290894, 0.06017870083451271, -0.26683855056762695, -0.04017854854464531, -0.36161452531814575, -0.6306016445159912, -0.7134880423545837, -0.5343010425567627, 0.22341200709342957, 0.2809777557849884, 0.5853756666183472, 0.8444744348526001, 0.2497183382511139, 0.31573572754859924, -0.3430536687374115, 0.1202155202627182, -0.5929182171821594, -0.27149441838264465, -0.06977387517690659, -0.4849246144294739, -0.7238747477531433, -0.3858279883861542, 0.9176627397537231, 0.6231807470321655, -0.1213328167796135, 0.15093527734279633, -0.06436959654092789, 0.7749111652374268, -0.5909402370452881, 0.05184892937541008, -0.8473396897315979, 0.03714155778288841, -0.3601486384868622, -0.2507208585739136, -0.5264585018157959, 0.13645829260349274, -0.2529414892196655, -0.31099167466163635, 0.1032218337059021, 0.19671925902366638, 0.42144227027893066, 0.3400895893573761, 0.023328982293605804, 0.18182283639907837, -0.24584996700286865, 0.7856230139732361, -0.9934273958206177, 0.49557748436927795, 0.07180598378181458, 0.11391256004571915, -0.15306356549263, -0.707929790019989, -0.4916081130504608, -0.0537017285823822, -0.04279767721891403, 0.02743264101445675, -0.3746357560157776, 0.23316538333892822, 0.16587969660758972, 0.4903082847595215, -0.6191442608833313, 0.3708392381668091, -0.336748331785202, -0.11524844169616699, 0.4953397512435913, 0.31351688504219055, 0.19955740869045258, 0.14116324484348297, -0.5644730925559998, 0.49119481444358826, -1.0713932514190674, -0.3562787175178528, 0.32469049096107483, 0.25661879777908325, -0.044687457382678986, 0.4352181851863861, -0.1391661912202835, 0.5875978469848633, -0.16090042889118195, -0.1508483588695526, 0.0642690509557724, -0.21201059222221375, -0.6586945652961731, 0.20169495046138763, 0.5284133553504944, 0.19555504620075226, -0.048162028193473816, -0.08195614814758301, -0.16095705330371857, -0.12099401652812958, 0.04447733238339424, -0.7751213312149048, -0.1795705258846283, 0.2948366701602936, -0.5254530906677246, 0.042620375752449036, -0.08405614644289017, -0.8434494733810425, -0.17927202582359314, -0.18063920736312866, 0.1638302356004715, -0.32997944951057434, -0.2552877962589264, 0.2842637598514557, 0.1179887130856514, 0.45443716645240784, 0.3092826008796692, -0.8430761098861694, 0.5684745907783508, 0.9534139037132263, 0.8911030292510986, -0.5153285264968872, -0.25998374819755554, -0.6452627778053284, 0.02857302315533161, -0.28235724568367004, 0.5823019742965698, -0.5977082252502441, -0.4913276433944702, -0.32694774866104126, -0.27428826689720154, 0.06778126209974289, -0.7357853055000305, 0.15003418922424316, -0.8036671876907349, -0.2884427011013031, 0.1909225732088089, -0.726104199886322, -0.20415620505809784, 0.1853840947151184, -0.7981226444244385, 1.065482258796692, -0.04447230324149132, -0.6834134459495544, 0.05986304208636284, -0.5409671068191528, -0.506830632686615, 0.42092233896255493, 0.02430468052625656, -0.24197892844676971, 0.2367449849843979, 0.2766340672969818, 0.211777463555336, -0.655872106552124, 0.1170245110988617, -0.023372774943709373, -0.8704491853713989, 0.03523487225174904, -0.3483613431453705, 0.5938543081283569, 0.37313899397850037, -0.19024881720542908, 0.23724211752414703, -0.5815854072570801, -0.11361366510391235, -0.1649697721004486, -0.7952188849449158, -0.3123621940612793, -0.3288514018058777, 0.040142759680747986, -0.15579889714717865, 0.37063756585121155, -0.49087101221084595, 0.2870159447193146, -0.3128204345703125, 0.4490620493888855, 0.7858132719993591, -0.40462160110473633, 0.4782738983631134, -0.16811220347881317, 0.6687583923339844, 0.1077488511800766, 0.07673351466655731, -0.49395686388015747, -0.41399750113487244, -0.8509081602096558, -0.823889970779419, 0.6032437682151794, 0.6398460865020752, -0.4681225121021271, 0.4183975160121918, -0.3474598526954651, -0.27475428581237793, -0.5742443799972534, 0.2855350971221924, 0.6188795566558838, 0.47081416845321655, 0.6665946245193481, -0.4194827675819397, -0.9984927177429199, -0.7717382907867432, -0.22911038994789124, -0.14514198899269104, 0.23677180707454681, 0.01322707999497652, 0.44631609320640564, -0.27224448323249817, 0.9154984951019287, -0.20906990766525269, -0.16699129343032837, -0.8971228003501892, -0.08960782736539841, 0.3705718517303467, 0.669219970703125, 0.2595396339893341, -0.5617620348930359, -0.1535210907459259, -0.29031577706336975, -0.36716148257255554, -0.34474316239356995, -0.03587627038359642, -0.04670174419879913, 0.3932037353515625, 0.7263966202735901, -0.8200198411941528, 0.432695597410202, 0.39551958441734314, 0.08848904818296432, 0.5412617921829224, -0.18169187009334564, -0.22069929540157318, -1.1766507625579834, -0.0074324216693639755, -0.46951645612716675, -0.33140861988067627, -0.38911035656929016, 0.24449610710144043, -0.05591626092791557, 0.09761342406272888, -0.7394576668739319, 0.6824387311935425, -0.6497650146484375, -0.3311653435230255, -0.47036755084991455, -0.2667408287525177, -0.16540732979774475, 0.4277040362358093, 0.0583314411342144, 0.8754077553749084, 0.5831735134124756, -0.5402408838272095, 0.33473634719848633, -0.08570963144302368, -0.3994966745376587, 0.18244342505931854, -0.5687420964241028, 0.21935825049877167, -0.1578744649887085, 0.33148089051246643, -0.8968269228935242, 0.0037722387351095676, -0.21527211368083954, -0.28975802659988403, 0.448659211397171, -0.11106538772583008, -0.2610839903354645, -0.14761868119239807, -0.44150859117507935, 0.5255489349365234, 0.8819304704666138, -0.6414942741394043, 0.8205680251121521, 0.5611881017684937, 0.0865863710641861, -0.8673399090766907, -0.9826871156692505, 0.3637367784976959, -0.3142547905445099, -0.1183396428823471, 0.28093835711479187, 0.03417549282312393, -0.09441350400447845, 0.12867113947868347, 0.029263313859701157, 0.2823614776134491, 0.04265405237674713, 0.1593688428401947, 0.2034708708524704, -0.3076098561286926, -0.04910995438694954, 0.19615969061851501, -0.33476537466049194, -0.3242350220680237, -0.48943719267845154, 0.8698046207427979, -0.1453428864479065, -0.33364659547805786, -0.4529363214969635, 0.5752176642417908, 0.5310262441635132, -0.15207016468048096, 0.5679294466972351, 0.33595865964889526, -0.4713369309902191, -0.3651810884475708, -0.5377005338668823, 0.037439897656440735, -0.4126986563205719, 0.7117104530334473, -0.49894464015960693, -1.1838834285736084, 0.44349682331085205, -0.3344232439994812, -0.03598787635564804, 0.12890389561653137, 0.8179147839546204, 0.31316274404525757, 0.6751254796981812, 0.5770193338394165, -0.4344891607761383, 0.3257352411746979, -0.2817126214504242, 0.13160695135593414, -0.92938631772995, -0.13886834681034088, -0.22549933195114136, -0.41286325454711914, 0.014343907125294209, -0.902895450592041, 0.04251730814576149, 0.4189505875110626, -0.1980241984128952, 0.40049904584884644, -0.07198292016983032, 0.7868053913116455, 0.6657798886299133, -0.08231202512979507, 0.6463187336921692, 0.00781478825956583, -0.39238283038139343, 0.13696372509002686, -0.9684035181999207, -0.4722893536090851, 0.9056884050369263, 0.3792577087879181, 1.3584824800491333, 0.06578125804662704, 0.6225566267967224, 0.5626997351646423, 0.5035898685455322, -0.9123515486717224, 0.9756378531455994, -0.1610376089811325, -0.4776596128940582, -0.11423911154270172, -0.3407410979270935, -0.606377363204956, 0.315416544675827, 0.028681019321084023, -0.5608725547790527, -0.12311233580112457, 0.2711855471134186, -0.25406956672668457, 0.5731220841407776, -0.47341182827949524, 0.5481406450271606, -0.007258896715939045, -0.16624219715595245, -0.27742984890937805, -0.6505207419395447, 0.6011571884155273, -0.150229811668396, 0.05897114425897598, -0.06241082027554512, -0.3650985658168793, 0.496002197265625, -0.5978512167930603, 0.9674467444419861, -0.038664475083351135, 0.08585723489522934, 0.3571844696998596, 0.06644893437623978, 0.2702585756778717, 0.08121537417173386, -0.22536657750606537, 0.3543757200241089, -0.32731935381889343, -0.5006476044654846, -0.45509088039398193, 0.6496456861495972, -0.4866815507411957, -0.6632646322250366, -0.23420119285583496, -0.7909114956855774, -0.11395493894815445, 0.21282903850078583, 0.19663676619529724, 0.5030202269554138, -0.1597142219543457, 0.3380122780799866, 0.5973159074783325, -0.2535489797592163, 0.5914714336395264, 0.5263171792030334, -0.2710922062397003, -0.45739245414733887, 0.5342596173286438, -0.07931695133447647, 0.3056056797504425, 0.8266075253486633, 0.06207254156470299, -0.7229198813438416, -1.0447607040405273, -0.6492763161659241, 0.18576249480247498, -0.7793574333190918, -0.3569365441799164, -0.5924103260040283, -0.22180263698101044, -0.5083296895027161, -0.0031220740638673306, -0.5069016218185425, -0.3341573178768158, -0.16088756918907166, -0.3950388729572296, 0.27061107754707336, 0.35484579205513, -0.1203819066286087, 0.3251534402370453, -0.8173143267631531, 0.08822815865278244, 0.33719387650489807, -0.0493064746260643, 0.24577797949314117, -0.7196807265281677, -0.2841469347476959, -0.40823251008987427, 0.11460328102111816, -0.38868191838264465, 0.3666207790374756, 0.45550352334976196, 0.5897076725959778, 0.31466299295425415, 0.041109271347522736, 1.0319749116897583, -0.5779316425323486, 0.7326353192329407, 0.13509519398212433, -1.0996143817901611, 0.11922847479581833, 0.11739728599786758, 0.5117785334587097, 0.4290615916252136, 0.15814243257045746, -0.36135005950927734, -0.2816769480705261, -0.13758836686611176, -0.8785443305969238, 0.5271010398864746, -0.08924960345029831, 0.37672001123428345, -0.2535696029663086, 0.39479517936706543, 0.1734246164560318, 0.18244414031505585, -0.39189833402633667, -0.26186057925224304, -0.06285103410482407, -0.35068634152412415, -0.009812046773731709, -0.42960986495018005, 0.0006112602422945201, -0.34484320878982544, 0.6410388350486755, -0.2827170193195343, 0.263312429189682, 0.18475812673568726, -0.424076110124588, 0.14704391360282898, 0.4593692719936371, 0.5515304207801819, 0.6378473043441772, 0.041083406656980515, 0.587520182132721, 0.6736117601394653, -0.6320483684539795, 0.09868317097425461, -0.10723650455474854, -0.2813996970653534, -0.09862478822469711, 0.5525362491607666, 0.8650668859481812, 0.22664198279380798, -1.0518580675125122, 0.26950210332870483, 0.0593930147588253, -0.033872805535793304, 0.010251602157950401, 0.10643446445465088, 0.3724048435688019, 0.44197607040405273, 0.6463221907615662, -0.34325477480888367, -0.02912338450551033, -0.5570351481437683, 0.39878180623054504, 0.47834882140159607, -0.2842269837856293, -0.23940874636173248, 0.8115032911300659, 0.09832143038511276, -0.27149301767349243, 0.4887010157108307, 0.05035797879099846, -0.5569714903831482, 0.5714607834815979, 0.8835383653640747, 0.7441794872283936, -0.06353941559791565, -0.23695072531700134, 0.178373783826828, 0.42941388487815857, -0.09083868563175201, 0.4370558261871338, -0.16774563491344452, -0.6557329893112183, -0.6948830485343933, -1.142380714416504, -0.3794676959514618, 0.380383163690567, -0.43965283036231995, 0.029389003291726112, -0.5218038558959961, 0.1283792108297348, -0.6698200702667236, -0.2687019407749176, -0.07678691297769547, 0.2616701126098633, 0.1786961555480957, 1.5234386920928955, -0.4163539707660675, 1.387266993522644, 0.6537602543830872, 0.0599181093275547, -0.6485611796379089, -0.2727200388908386, -0.025577370077371597, -0.9335395097732544, 0.5616943836212158, 0.21872931718826294, -0.4606083333492279, 0.3531426787376404, -0.24867206811904907, -0.47263386845588684, 1.1404246091842651, 0.5580811500549316, -0.6685231328010559, 0.08550170063972473, 0.25203898549079895, 0.4017246663570404, -0.7368829250335693, 0.042447809129953384, 0.8114778399467468, 0.21476998925209045, 0.24430684745311737, -0.6619481444358826, 0.29751232266426086, -0.3077104389667511, 0.36122554540634155, 0.20781025290489197, -0.7025889754295349, 0.8953202366828918, -0.3489806056022644, -0.09161221235990524, 0.6246848702430725, 0.8926314115524292, 0.3318476676940918, 0.023139871656894684, 0.47916921973228455, 1.0326991081237793, 0.4101529121398926, -0.041169870644807816, 0.7639272212982178, -0.33662867546081543, 0.4449801743030548, 1.1524802446365356, -0.21661391854286194, 0.8781274557113647, 0.6080679297447205, -0.09677357226610184, 0.2834094762802124, 0.6386687159538269, 0.396293967962265, 0.5573883652687073, 0.3556095063686371, -0.519008219242096, -0.5374523401260376, -0.0583101324737072, -0.46596822142601013, 0.4838922917842865, 0.4314926266670227, -0.37566888332366943, -0.326745867729187, -0.20376922190189362, 0.03777463361620903, -0.1977519392967224, -0.5821753144264221, 0.5805540680885315, 0.22106872498989105, -0.5073709487915039, 0.5660650730133057, 0.184956893324852, 0.944956362247467, -0.6693947315216064, 0.021216420456767082, -0.6378129720687866, 0.2843431234359741, -0.18116794526576996, -0.3500518202781677, 0.37491774559020996, 0.04259408265352249, 0.16033117473125458, -0.15377338230609894, 0.8017330765724182, -0.5391595959663391, -0.2814546525478363, 0.2968185842037201, 0.4869195222854614, 0.37437036633491516, 0.022728851065039635, -0.7357691526412964, 0.38493257761001587, -0.4553931951522827, -0.2830788493156433, 0.437700480222702, 0.0654204934835434, -0.04265729337930679, 0.5557540059089661, 0.8317316174507141, 0.03585834056138992, 0.4046674966812134, 0.25399255752563477, 1.0158348083496094, -0.8202674388885498, -0.4890735447406769, -1.230947494506836, 0.30075380206108093, 0.14738281071186066, -0.15899021923542023, 0.7595266699790955, 0.9661272764205933, 0.8317055702209473, -0.19715076684951782, 0.5907917022705078, 0.040756966918706894, 0.24241261184215546, -0.7591688632965088, 0.4647739827632904, -0.5637861490249634, 0.5124530792236328, -0.03154382482171059, -0.7404423952102661, -0.49250712990760803, 0.30612513422966003, -0.009966372512280941, -0.038455672562122345, 0.5736196041107178, 0.9579719305038452, -0.20320448279380798, -0.08670243620872498, 0.4860771596431732, 0.1984548717737198, 0.1445060819387436, 0.8067363500595093, 0.7749003767967224, -0.24544762074947357, 0.517009437084198, 0.013930389657616615, -0.3077217638492584, -0.4028540849685669, -0.9696512818336487, -1.0578060150146484, -0.045742906630039215, -0.029442235827445984, -0.06942971795797348, -0.020313026383519173, 0.8879797458648682, 0.937779426574707, -0.7338382601737976, -0.251990407705307, -0.30921006202697754, 0.22768916189670563, -0.21009886264801025, -0.17643645405769348, 0.3222810924053192, -0.17326346039772034, -1.0200674533843994, 0.6173164248466492, 0.8104979991912842, -0.13102644681930542, -0.4501911699771881, -0.2669129967689514, -0.3322725296020508, 0.2825085520744324, 0.7146927714347839, 0.3392503261566162, -0.755419909954071, -0.01502941269427538, -0.040622420608997345, -0.0021574851125478745, 0.12414627522230148, 1.0667749643325806, -0.8394442200660706, 0.19426049292087555, 0.7147485017776489, 1.098572850227356, 0.5117588043212891, 0.2170344889163971, 0.29681873321533203, -0.6012260913848877, 0.4116889238357544, 0.0992463231086731, 0.5719490051269531, 0.23999282717704773, -0.24231263995170593, 0.4288792312145233, 0.485859751701355, -0.11172129958868027, -0.93636155128479, 0.39882397651672363, -0.9267730116844177, -0.37635529041290283, 0.9143766164779663, -0.3339492380619049, -0.5605207085609436, -0.3144252598285675, -0.2818036377429962, 0.17658725380897522, -0.2906739115715027, 0.5463122725486755, 0.44726210832595825, -0.3770335912704468, -0.4702495336532593, -0.13854356110095978, 0.21284119784832, 0.530585765838623, -0.8568515777587891, 0.010318190790712833, 0.20128832757472992, 0.2348490059375763, -0.17072831094264984, 0.9806202054023743, -0.33714646100997925, 0.26989129185676575, 0.031818538904190063, -0.062072012573480606, -0.5128452777862549, -0.49555039405822754, -0.37800413370132446, 0.3294751048088074, -0.13877493143081665, -0.21337434649467468 ]
http://arxiv.org/abs/2406.01506v1
http://arxiv.org/pdf/2406.01506v1
The Geometry of Categorical and Hierarchical Concepts in Large Language Models
2024-06-03T16:34:01
2024-06-03T16:34:01
Kiho Park, Yo Joong Choe, Yibo Jiang, Victor Veitch
cs.CL
cs.CL, cs.AI, cs.LG, stat.ML
Understanding how semantic meaning is encoded in the representation spaces of large language models is a fundamental problem in interpretability. In this paper, we study the two foundational questions in this area. First, how are categorical concepts, such as {'mammal', 'bird', 'reptile', 'fish'}, represented? Second, how are hierarchical relations between concepts encoded? For example, how is the fact that 'dog' is a kind of 'mammal' encoded? We show how to extend the linear representation hypothesis to answer these questions. We find a remarkably simple structure: simple categorical concepts are represented as simplices, hierarchically related concepts are orthogonal in a sense we make precise, and (in consequence) complex concepts are represented as polytopes constructed from direct sums of simplices, reflecting the hierarchical structure. We validate these theoretical results on the Gemma large language model, estimating representations for 957 hierarchically related concepts using data from WordNet.
[ -0.29863572120666504, -0.7382484078407288, 0.6781229972839355, 0.20882844924926758, -0.09254137426614761, -0.07822183519601822, -0.17831085622310638, -0.6377533674240112, 0.2328425645828247, 0.3308705985546112, -0.4723030626773834, -0.3672252595424652, -0.6725126504898071, -0.010008038952946663, -0.32351845502853394, 0.6580584049224854, 0.07110833376646042, 0.029547305777668953, -0.24226294457912445, -0.391154408454895, -0.37035083770751953, -0.8815917372703552, -0.2225765734910965, -0.4337199330329895, 0.5629912614822388, -0.17359799146652222, 1.4246915578842163, 1.1353892087936401, 0.7164674997329712, 0.32069796323776245, -0.4430740475654602, 0.07814560830593109, -0.2948002219200134, -0.012279851362109184, -0.4075097143650055, -0.7934482097625732, -0.3006884753704071, 0.008419466204941273, 0.6690765619277954, 1.3885716199874878, -0.09878361970186234, 0.07587636262178421, 0.08784382045269012, 0.3781375288963318, -0.4779103100299835, 0.6322548985481262, -0.5539912581443787, 0.09302698075771332, -0.20352311432361603, -0.5141089558601379, -0.3873707056045532, -0.11671934276819229, 0.04925808683037758, -1.0307345390319824, -0.0524614155292511, 0.3280496597290039, 1.0201082229614258, 0.0952700600028038, -0.5250146985054016, -0.7331365346908569, -0.6016337275505066, 0.8452050089836121, -0.188786581158638, 0.46189630031585693, 0.45393532514572144, 0.11924365162849426, -0.47282424569129944, -0.6472314596176147, -0.44263607263565063, -0.38509872555732727, -0.37655869126319885, -0.11990359425544739, -0.3902510404586792, 0.09346248209476471, 0.3883262574672699, 0.6318196058273315, -0.5853633284568787, 0.12479995936155319, -0.1415061205625534, -0.13587209582328796, 0.5027326345443726, 0.22726856172084808, 0.6812769770622253, -0.3836667835712433, -0.4062615633010864, -0.1904812455177307, -0.695906937122345, 0.09732789546251297, 0.13007652759552002, 0.4164466857910156, -0.1303815394639969, 0.8892233371734619, 0.15123358368873596, 0.44810751080513, -0.15205621719360352, -0.1004098579287529, 0.1713009774684906, -0.29003074765205383, -0.16729363799095154, -0.20143283903598785, 0.4214061498641968, -0.057253945618867874, 0.4574402868747711, -0.16213837265968323, 0.019804803654551506, 0.21675217151641846, 0.16356413066387177, -0.3859725296497345, -0.17439332604408264, 0.23084577918052673, -0.56746906042099, -0.15815035998821259, 0.19669334590435028, -0.18702369928359985, -0.15682122111320496, -0.461053729057312, 0.4822879433631897, -0.3497268855571747, -0.43594494462013245, 0.700722873210907, -0.1066524013876915, 0.4728698432445526, 0.2699466645717621, -1.1003715991973877, 0.6077237725257874, 1.0806386470794678, 0.44095081090927124, 0.2632124722003937, -0.37508392333984375, -0.06275518238544464, 0.31049051880836487, -0.563618004322052, 0.5910835266113281, -0.8000326156616211, -0.05895258113741875, -0.018804259598255157, 0.13627587258815765, 0.032227467745542526, -0.41527611017227173, 0.12116845697164536, -0.405055433511734, 0.04333493113517761, -0.3572337031364441, -0.717545747756958, -0.27736830711364746, 0.2991192638874054, -0.7601417899131775, 0.6999079585075378, -0.19975954294204712, -0.9551715850830078, 0.18670454621315002, -0.33410367369651794, 0.05009407922625542, 0.00768576143309474, -0.5074993968009949, 0.24727031588554382, 0.2937997877597809, 0.06214739382266998, 0.46278974413871765, -0.47732865810394287, 0.21461935341358185, -0.38537973165512085, -0.0878387987613678, 0.33885324001312256, -0.02545582689344883, 0.6962592601776123, 0.047335781157016754, -0.02091795951128006, -0.2624587416648865, -0.5532186627388, 0.04180892929434776, 0.21896663308143616, -0.10391152650117874, -0.6915764212608337, 0.3549814224243164, -0.060805562883615494, -0.02150052785873413, 0.30327820777893066, -0.5406394600868225, 0.3964729607105255, -0.07289621978998184, 0.3142964839935303, 0.3637838065624237, -0.2276797741651535, 0.49802833795547485, -0.017839612439274788, 0.3702316880226135, 0.1032782793045044, -0.07299560308456421, 0.12341415882110596, -0.4922385811805725, -0.6212807297706604, -0.023958630859851837, 0.2985023558139801, 0.2919127941131592, -0.7472246289253235, 0.2975870668888092, -0.42084816098213196, -0.1312905251979828, -0.05140795558691025, -0.19448551535606384, 0.3011613190174103, -0.1276649683713913, 0.024303648620843887, -0.09583935886621475, -0.34606096148490906, -1.0377840995788574, 0.03074951469898224, -0.41003286838531494, -0.03917064890265465, 0.10024628043174744, 0.7773287296295166, -0.18088898062705994, 0.6725864410400391, -0.7720383405685425, -0.010866397060453892, -0.017290310934185982, 0.26374807953834534, 0.15731048583984375, 0.5161457657814026, 0.5907957553863525, -0.800172746181488, 0.19694826006889343, 0.226167231798172, -1.003436803817749, 0.333580881357193, -0.01610744185745716, -0.22567534446716309, -0.45598453283309937, 0.4725712239742279, -0.785719633102417, 0.45092687010765076, 0.38590899109840393, -0.4172283709049225, 0.41544482111930847, -0.21949325501918793, -0.2715808153152466, -0.8311225175857544, -0.07792287319898605, -0.3058589696884155, -0.051172081381082535, -0.6013638377189636, 0.4823739230632782, -0.09506965428590775, -0.11556588113307953, -0.08692625164985657, 0.34446465969085693, -0.3594566881656647, -0.4844694435596466, -0.09256414324045181, 0.041282352060079575, 0.13524794578552246, 0.4489213824272156, 0.5101015567779541, 0.41925880312919617, 0.7309242486953735, -0.5464741587638855, 0.09072832018136978, 0.3865034878253937, -0.18144360184669495, 0.4056081771850586, -0.7863090634346008, -0.22317861020565033, -0.5175356268882751, 0.4846937954425812, -0.9048476219177246, -0.1872633695602417, 0.005696876440197229, -0.47636961936950684, -0.03837859258055687, 0.06821238994598389, -0.7803032398223877, -0.1381606012582779, -0.04933730140328407, 0.7762936949729919, 0.3482602536678314, -0.43127167224884033, 0.24237070977687836, 0.5272011160850525, 0.013974273577332497, -0.5931441783905029, -0.731938898563385, -0.0029076437931507826, -0.11382471024990082, -0.614503026008606, 0.10604052990674973, 0.27985480427742004, -0.5434442758560181, 0.21509017050266266, -0.05361979082226753, -0.29962655901908875, -0.04377629980444908, 0.12689000368118286, 0.1357877105474472, -0.710437536239624, 0.6181614995002747, -0.3151347041130066, -0.060048677027225494, 0.25176170468330383, -0.4912979304790497, 0.5147671103477478, -0.13623307645320892, -0.27315399050712585, -0.29093313217163086, 0.4198256731033325, 0.8079490065574646, -0.09307684004306793, 0.7547353506088257, 0.3021920919418335, -0.7885197401046753, -0.17210786044597626, -0.017376964911818504, 0.12785913050174713, -0.3564687669277191, 0.3372606635093689, -0.6889576315879822, -0.7093725204467773, 0.685994029045105, -0.013059351593255997, -0.04280448704957962, 0.5817892551422119, 0.31717628240585327, -0.24120259284973145, 0.9355835914611816, 0.8203023672103882, 0.19968698918819427, -0.049303341656923294, -0.5083833336830139, 0.05568413808941841, -0.7635501027107239, -0.5990551114082336, -0.8164265155792236, 0.01532113179564476, -0.7544787526130676, -0.7515293955802917, 0.10621902346611023, 0.2877832055091858, -0.447103887796402, 0.3779815137386322, -0.15494240820407867, 0.384304016828537, 0.12759087979793549, -0.04649565741419792, 0.35431942343711853, 0.1343768686056137, -0.15982119739055634, -0.20556439459323883, -0.6350242495536804, -0.6049299240112305, 0.551472008228302, 0.860578715801239, 0.8996393084526062, 0.3242459297180176, 0.2093840092420578, -0.06900604814291, -0.18712040781974792, -1.1050562858581543, 0.22506079077720642, -0.3737562298774719, -0.8077498078346252, -0.23356083035469055, -0.2887095510959625, -1.0210657119750977, 0.6128929257392883, -0.05575079843401909, -0.9211577773094177, 0.6820118427276611, -0.1177850291132927, 0.003968663513660431, 0.5011432766914368, -0.23592224717140198, 0.5847136974334717, -0.03959101065993309, 0.10501717776060104, -0.31407469511032104, -0.36106187105178833, 0.46645936369895935, 0.011770054697990417, 0.3267226815223694, -0.0628807470202446, -0.2920849025249481, 0.6211090087890625, -0.7578040957450867, 0.7841220498085022, 0.19589325785636902, -0.3042498826980591, 0.2660827338695526, 0.3513462245464325, 0.19525146484375, -0.10765961557626724, 0.0009137353044934571, 0.1376633644104004, 0.4344598650932312, -0.7606266140937805, -0.8802687525749207, 0.06808294355869293, -0.95589679479599, -0.5353047847747803, -0.4650081992149353, -1.0024473667144775, -0.36228713393211365, -0.0918036550283432, 0.1597563624382019, 0.9650558829307556, 0.042068954557180405, 0.5992634296417236, 0.6087142825126648, -0.4998355805873871, -0.07497783750295639, -0.03476444259285927, -0.6803226470947266, 0.016191110014915466, 0.5477488040924072, 0.00400363327935338, 0.492116779088974, 0.7690043449401855, 0.20481930673122406, -0.5096703171730042, -0.3814665675163269, -0.18856973946094513, 0.38101431727409363, -0.8429177403450012, 0.17632223665714264, -0.41474649310112, -0.38661327958106995, 0.3327904939651489, 0.007334549445658922, -0.21252313256263733, -0.4273042678833008, 0.031132834032177925, -0.03436567261815071, 0.341520220041275, 1.3370206356048584, 0.06953674554824829, 0.3988502323627472, -0.4852178692817688, 0.4455346167087555, 0.331755667924881, 0.16307751834392548, 0.30127841234207153, -0.45473530888557434, 0.015792159363627434, 0.18730129301548004, 0.1626814901828766, -0.6608949303627014, 0.007120160385966301, 0.18056005239486694, 0.4389092028141022, 0.35273119807243347, -0.20310401916503906, 1.0287196636199951, -0.476183146238327, 0.5897369980812073, 0.3479093015193939, -0.9555678367614746, 0.23372748494148254, -0.5601514577865601, 0.048773977905511856, 0.07883944362401962, 0.5723124146461487, -0.5410345196723938, -0.4025469720363617, -0.5161066055297852, -0.36610791087150574, 0.4763495624065399, 0.5408435463905334, 0.4418218731880188, -0.08497738838195801, 0.28434085845947266, 0.16298027336597443, -0.023565417155623436, -0.8166334629058838, -0.3095548152923584, -0.23203539848327637, -0.09909097850322723, -0.22270295023918152, -0.38824915885925293, 0.10597975552082062, -0.30829861760139465, -0.08476037532091141, 0.14395742118358612, 0.42153218388557434, 0.03624993935227394, -0.20530173182487488, 0.08275599032640457, 0.19170841574668884, 0.4044445753097534, 0.9384627938270569, -0.20786310732364655, 0.47753313183784485, -0.21831397712230682, -0.5975766181945801, 0.19955453276634216, -0.378154456615448, 0.27329280972480774, 0.12930282950401306, 0.9692680239677429, 0.7006059885025024, 0.4467765986919403, -0.3242855370044708, 0.29737478494644165, 0.10810798406600952, -0.10057888180017471, -0.23852239549160004, -0.29514962434768677, 0.4389190673828125, 0.044993285089731216, 0.38975560665130615, -0.3305916488170624, 0.06633314490318298, -1.1439083814620972, 0.12262237071990967, 0.3050493001937866, -0.26389172673225403, -0.4262879192829132, 0.24319137632846832, -0.2764551043510437, 0.12666310369968414, 0.4470324218273163, 0.05539603903889656, -0.4900398552417755, 0.9195762872695923, 0.7544500231742859, 0.3332691788673401, 0.02122785896062851, 0.4582700729370117, 0.4315868616104126, 0.213918536901474, 0.12114153802394867, 0.2975243031978607, 0.041424576193094254, -0.8733388781547546, -0.31931740045547485, -0.9190398454666138, -0.22232839465141296, 0.12977805733680725, -1.0705589056015015, -0.14146941900253296, -0.3656858205795288, 0.21461571753025055, 0.7137974500656128, -0.20905251801013947, -0.37785327434539795, 0.21209979057312012, 0.4058751165866852, 1.0347638130187988, -0.8597110509872437, 0.8339511752128601, 0.8498401045799255, -0.5464670658111572, -1.2844215631484985, -0.020273689180612564, -0.11012984067201614, -1.0348283052444458, 1.2136013507843018, -0.06465626507997513, -0.19298122823238373, -0.22891555726528168, -0.5924374461174011, -1.1555367708206177, 0.8291904926300049, 0.20340180397033691, -0.44516775012016296, -0.09707381576299667, 0.6379401087760925, 0.7673280835151672, -0.5956676602363586, -0.0021279093343764544, 0.3779437839984894, 0.3305063545703888, 0.42596831917762756, -0.9202452301979065, -0.019534245133399963, -0.2272556573152542, 0.28526854515075684, 0.11736007779836655, -0.08636924624443054, 1.1781007051467896, 0.10337311774492264, -0.3344823122024536, 0.2505727708339691, 0.46449074149131775, 0.22448565065860748, -0.25122126936912537, 0.4498021900653839, 0.4180346429347992, 0.7743909358978271, -0.09939919412136078, 1.330004096031189, -0.05885031819343567, 0.6030466556549072, 0.591459333896637, 0.20074352622032166, 0.912019670009613, 0.31596624851226807, -0.35803624987602234, 0.6506953239440918, 0.7758356332778931, 0.24076446890830994, 0.2984932065010071, 0.5266096591949463, 0.09876848012208939, -0.4033893346786499, -0.4250224828720093, -0.4877176284790039, 0.6433677077293396, 0.9329201579093933, -0.2215125411748886, -0.4980626106262207, -0.026425249874591827, 0.051812898367643356, -0.02827438898384571, -0.6731606721878052, 0.6747539043426514, 0.359096497297287, -0.35525837540626526, 0.9100592136383057, -0.2124636322259903, 0.19123966991901398, -0.540044367313385, -0.08981314301490784, -0.03562468662858009, 0.20943212509155273, -0.3145180344581604, -1.119700312614441, 0.2160235494375229, -0.27061185240745544, -0.2909144163131714, 0.06279689073562622, 0.3688651919364929, -0.4941618740558624, -0.5682485103607178, 0.43980512022972107, 0.5324366688728333, 0.505038857460022, 0.21992897987365723, -0.6251993775367737, 0.28014054894447327, -0.2946965992450714, 0.20724840462207794, -0.08391658216714859, 0.7475319504737854, -0.3733912408351898, 0.6632702350616455, 0.4083182215690613, 0.2351914942264557, 0.1303601861000061, -0.01765511929988861, 0.670879602432251, -0.8149689435958862, -0.45774590969085693, -0.6357877254486084, 0.3474479615688324, 0.3465476632118225, -0.11976855993270874, 0.42306268215179443, 0.11565539240837097, 0.6008515954017639, -0.1733642965555191, 0.2814253270626068, -0.10110965371131897, -0.0651371031999588, -0.6099408864974976, 0.2936353385448456, -0.6241002082824707, 0.026840630918741226, -0.3171539902687073, -0.9684666991233826, -0.3855781555175781, 0.6525118350982666, -0.575366735458374, -0.3271518349647522, 1.1661429405212402, 0.46860137581825256, -0.4164254069328308, -0.022252829745411873, 0.43695902824401855, 0.2637401819229126, -0.03467989340424538, 0.5892033576965332, 1.35185968875885, -0.3608384132385254, 0.2827053964138031, -0.04779069125652313, 0.0315263532102108, 0.14751818776130676, -0.41485556960105896, -0.6718921661376953, -0.749531090259552, -0.09464751183986664, -0.16284780204296112, -0.007420049514621496, 0.733936607837677, 0.7398916482925415, -0.6915751695632935, -0.44218242168426514, 0.052152495831251144, 0.09188432991504669, 0.08543415367603302, -0.11204029619693756, 0.7657711505889893, -0.4095119535923004, -0.5641230344772339, -0.3997347950935364, 0.372884601354599, -0.038330890238285065, -0.36761149764060974, -0.08680984377861023, -0.024890566244721413, 0.1251412183046341, 0.8486045002937317, 0.18296298384666443, -1.0667532682418823, -0.6845858097076416, -0.08093912899494171, -0.34649741649627686, 0.11085555702447891, 0.7561354041099548, -0.4983210563659668, 0.1841493546962738, 0.38529402017593384, 0.5789481997489929, 0.16328319907188416, 0.21737398207187653, 0.5765858292579651, -0.45165103673934937, 0.5152309536933899, 0.03818054869771004, 0.5311606526374817, 0.11570395529270172, -0.2731323540210724, 0.3309597074985504, 0.07649170607328415, 0.02363475039601326, -0.5659744143486023, 0.631451427936554, -1.071846604347229, -0.5037826895713806, 0.9716342091560364, -0.28894954919815063, -0.4125522971153259, -0.24546034634113312, 0.0034825350157916546, -0.30774107575416565, 0.30227068066596985, 0.2255115658044815, 0.7435184121131897, -0.09475906193256378, -0.059593237936496735, -0.7207925915718079, 0.345123827457428, 0.23989780247211456, -0.6104133725166321, 0.01114930585026741, 0.4666609764099121, 0.26673460006713867, 0.6490968465805054, 0.20888710021972656, -0.4105658531188965, 0.28020110726356506, 0.25479570031166077, 0.12969091534614563, 0.31325018405914307, -0.27067849040031433, -0.248997762799263, 0.23096337914466858, 0.2534525990486145, -0.35883766412734985 ]
http://arxiv.org/abs/2406.01495v1
http://arxiv.org/pdf/2406.01495v1
Reflection-Reinforced Self-Training for Language Agents
2024-06-03T16:21:38
2024-06-03T16:21:38
Zi-Yi Dou, Cheng-Fu Yang, Xueqing Wu, Kai-Wei Chang, Nanyun Peng
cs.CL
cs.CL
Self-training can potentially improve the performance of language agents without relying on demonstrations from humans or stronger models. The general process involves generating samples from a model, evaluating their quality, and updating the model by training on high-quality samples. However, self-training can face limitations because achieving good performance requires a good amount of high-quality samples, yet relying solely on model sampling for obtaining such samples can be inefficient. In addition, these methods often disregard low-quality samples, failing to leverage them effectively. To address these limitations, we present Reflection-Reinforced Self-Training (Re-ReST), which leverages a reflection model to refine low-quality samples and subsequently uses these improved samples to augment self-training. The reflection model takes both the model output and feedback from an external environment (e.g., unit test results in code generation) as inputs and produces improved samples as outputs. By employing this technique, we effectively enhance the quality of inferior samples, and enrich the self-training dataset with higher-quality samples efficiently. We perform extensive experiments on open-source language agents across tasks, including multi-hop question answering, sequential decision-making, code generation, visual question answering, and text-to-image generation. Results demonstrate improvements over self-training baselines across settings. Moreover, ablation studies confirm the reflection model's efficiency in generating quality self-training samples and its compatibility with self-consistency decoding.
[ -0.34804344177246094, -0.3976275622844696, 0.23166531324386597, 0.25378233194351196, -0.1340135931968689, 0.3180236518383026, -0.2544092535972595, -0.45728567242622375, 0.4891142249107361, 0.8092913627624512, -0.3244451582431793, -0.1795581728219986, -0.37840551137924194, 0.3583914339542389, -0.4356236755847931, 0.937118411064148, -0.07407942414283752, 0.2307339757680893, -0.04838903248310089, -0.12138445675373077, -0.3618355393409729, -0.1958080232143402, -0.5152250528335571, -0.4143771231174469, 0.30811965465545654, 0.48095181584358215, 0.3502565026283264, 0.529895007610321, 0.23485732078552246, 0.3656790554523468, 0.8116471171379089, 0.29762670397758484, -0.5763004422187805, 0.4738157093524933, -0.3080868422985077, -0.14349722862243652, -0.29652291536331177, 0.2991056740283966, 0.8121955990791321, 0.3273315131664276, -0.32110995054244995, 0.25223809480667114, 0.3102049231529236, 0.5543608665466309, -0.6439224481582642, 0.05620795115828514, -0.40353861451148987, -0.1641654074192047, 0.28444454073905945, -0.49191707372665405, -0.562515139579773, -0.2610301375389099, -0.2781429588794708, -0.3226901888847351, 0.5610672235488892, -0.20840643346309662, 0.7907998561859131, 0.4633406102657318, -0.12321867048740387, -0.01203383132815361, -0.8176621198654175, 0.6763786673545837, -0.7586933970451355, 0.70454341173172, 0.38989248871803284, 0.3545498847961426, -0.25294098258018494, -0.5743603706359863, -0.34834593534469604, -0.37530753016471863, -0.06562650203704834, 0.21692483127117157, 0.3354814350605011, 0.13866810500621796, -0.1219969242811203, 0.3097694516181946, -0.3951245844364166, -0.2970086336135864, -0.18330077826976776, -0.1321922242641449, 0.5756045579910278, 0.07140529155731201, 0.33437201380729675, 0.16774730384349823, -0.2175905853509903, -0.6211193799972534, -0.6382755637168884, -0.0538058876991272, 0.2463175654411316, 0.7622700929641724, 0.32225683331489563, 0.24368426203727722, -0.3801030218601227, 0.5614932775497437, 0.08804278075695038, -0.25468161702156067, 0.3336430490016937, -0.3462597727775574, 0.026300935074687004, -0.12759271264076233, 0.6758579611778259, -0.008785370737314224, -0.00042751681758090854, -0.3231063485145569, -0.5872195363044739, -0.32300975918769836, 0.6146942973136902, -0.9248409867286682, -0.17375624179840088, 0.13872450590133667, -0.4622160494327545, -0.2325114607810974, 0.04881545156240463, -0.5979689359664917, -0.011237181723117828, -0.2664961814880371, 0.6097534894943237, -0.32240867614746094, -0.49659207463264465, 0.1707434356212616, -0.047948211431503296, 0.21750274300575256, 0.3818093538284302, -0.8944072127342224, 0.47321486473083496, 0.32235366106033325, 0.6559509038925171, 0.1103699803352356, -0.7627404928207397, -0.6194861531257629, 0.08444667607545853, -0.4091683626174927, 0.9770209789276123, -0.3490854501724243, -0.2708829343318939, 0.07749591767787933, 0.04719046130776405, 0.11228225380182266, -0.57527756690979, 0.03741874545812607, -0.2575286626815796, 0.15054607391357422, -0.27022960782051086, -0.28293702006340027, 0.09358157217502594, 0.4037109911441803, -0.6231469511985779, 1.2019966840744019, 0.5404224395751953, -0.31137946248054504, 0.3456181287765503, -0.168538436293602, -0.40839430689811707, 0.012469930574297905, -0.3821020722389221, -0.4407747685909271, 0.1509951800107956, 0.08846406638622284, 0.3198791444301605, -0.13953538239002228, -0.29052940011024475, -0.21796008944511414, -0.33428695797920227, 0.14247052371501923, -0.2611731290817261, 0.2610424757003784, 0.1994190514087677, -0.5223755836486816, -0.2880888283252716, -0.9102736711502075, 0.3000945448875427, 0.15564456582069397, -0.6090176701545715, -0.27918094396591187, -0.10302672535181046, -0.15494953095912933, 0.2737695276737213, 0.14669527113437653, -0.784476101398468, 0.28908953070640564, -0.603298008441925, -0.020245354622602463, 0.6466505527496338, -0.011976775713264942, 0.30750012397766113, -0.302205890417099, 0.5226702094078064, -0.3065279424190521, 0.11830133199691772, -0.13247783482074738, 0.12093240022659302, -0.8371767401695251, -0.2945314645767212, 0.17931154370307922, 0.27213138341903687, -1.0551754236221313, 0.13352569937705994, -0.16523639857769012, -0.3919258117675781, -1.008988857269287, 0.4832559823989868, 0.772952675819397, 0.5278757810592651, 0.6235818266868591, -0.7812671065330505, -0.612349271774292, -0.633487343788147, -0.3143499493598938, -0.15115900337696075, 0.23538747429847717, 0.03145578131079674, 0.5136563181877136, -0.04728717356920242, 1.186002492904663, -0.25356483459472656, -0.3044230341911316, -0.35564956068992615, 0.3190883994102478, -0.17277339100837708, 0.6557191014289856, 0.3242344558238983, -0.18239712715148926, -0.5409319996833801, -0.3612454831600189, -0.5563396215438843, -0.18295587599277496, -0.17403846979141235, -0.03212039917707443, 0.35087478160858154, 0.4192675054073334, -0.16734828054904938, 0.1286020576953888, 0.6651185750961304, -0.21912577748298645, 0.6513743996620178, -0.5040102005004883, 0.3283122777938843, -0.9112157225608826, -0.1503419131040573, -0.1998201459646225, -0.613360583782196, -0.7966745495796204, 0.059396326541900635, -0.0763871818780899, 0.16061687469482422, -0.24021980166435242, 0.7494376301765442, -0.7739750146865845, -0.2612479031085968, -0.9639500975608826, -0.04356895014643669, 0.19458512961864471, 0.4013063907623291, 0.22316987812519073, 1.066532015800476, 0.24993126094341278, -0.5385084748268127, 0.1643882840871811, 0.16093730926513672, -0.13887113332748413, 0.381962388753891, -0.5893701314926147, 0.4098464846611023, -0.1204124316573143, 0.22591452300548553, -1.136684775352478, 0.07040902227163315, 0.3358290493488312, -0.4847606122493744, 0.4234224259853363, -0.13529251515865326, -0.3341803550720215, -0.1828015297651291, -0.2873934805393219, 0.32692649960517883, 0.543648362159729, -0.9162626266479492, 0.7812385559082031, -0.01091016735881567, 0.2957628667354584, -0.9764471054077148, -0.8029129505157471, -0.025485165417194366, 0.3317231237888336, -0.42730584740638733, -0.0021577735897153616, 0.08309890329837799, 0.03390524163842201, 0.07413623481988907, 0.05375159531831741, 0.10875123739242554, 0.03259630501270294, 0.1169007420539856, -0.25910526514053345, -0.07287213951349258, 0.1962035447359085, -0.15718916058540344, -0.21455956995487213, -0.02590853162109852, -0.3687881827354431, 0.672335684299469, -0.33309370279312134, -0.5689100623130798, -0.2212984710931778, 0.1392417550086975, 0.07367607951164246, -0.41257935762405396, 0.7992421984672546, 0.4137059450149536, 0.0403018556535244, -0.6678716540336609, -0.8878943920135498, -0.66236412525177, -0.5361416935920715, 0.21012388169765472, -0.4852798581123352, -0.7691153287887573, 0.3550688326358795, 0.16472169756889343, 0.10589943081140518, -0.032692283391952515, 0.43086734414100647, -0.22012917697429657, 1.082087755203247, 0.5340024828910828, -0.030050357803702354, 0.7072703838348389, -0.3295450806617737, 0.05543961003422737, -0.7440081834793091, 0.05658690631389618, -0.3888018727302551, 0.0301702618598938, -0.43214550614356995, -0.38697105646133423, -0.0759628638625145, -0.3885461986064911, -0.2410273402929306, 0.4785388112068176, -0.764899492263794, 0.26076698303222656, 0.7863227128982544, 0.25795823335647583, 0.3856479823589325, -0.05815017968416214, 0.3399750888347626, 0.257842093706131, -0.4355860650539398, -0.5587217211723328, 1.0307567119598389, 0.3969354033470154, 1.2904173135757446, -0.14427241683006287, 1.184656023979187, 0.4307234287261963, 0.4580609202384949, -0.32343611121177673, 0.49470794200897217, 0.12456846237182617, -0.4748789072036743, -0.4857449531555176, -0.527886152267456, -1.0192962884902954, 0.4575989246368408, 0.09760415554046631, -0.010782487690448761, 0.2641964852809906, 0.6049515008926392, -0.14898495376110077, 0.1629789024591446, -0.5849546194076538, 0.7068184018135071, -0.3206294775009155, -0.4174939692020416, -0.23445653915405273, -0.33244338631629944, 0.1709814965724945, 0.32855767011642456, 0.037294697016477585, -0.08405567705631256, 0.17116977274417877, 0.3727337121963501, -0.5239419341087341, 1.0014979839324951, -0.4656029939651489, -0.33909502625465393, 0.6271513104438782, 0.3917047679424286, 0.47096675634384155, -0.17635463178157806, 0.26855185627937317, -0.1638326495885849, 0.09429074823856354, -0.5905418992042542, -0.9558214545249939, 0.21556921303272247, -0.9189078211784363, -0.6516200304031372, -0.27847397327423096, -0.22136230766773224, -0.2718525528907776, -0.0031118516344577074, 0.024536363780498505, 0.5540883541107178, -0.18539221584796906, -0.12147011607885361, 0.42906099557876587, -0.060126662254333496, 0.17118757963180542, 0.879235029220581, -0.18564963340759277, -0.664432942867279, 1.2889336347579956, 0.1017441675066948, 0.5860710144042969, 0.15826304256916046, 0.11919683963060379, -0.3768220841884613, -0.4514845907688141, -0.2594800293445587, 0.5118235349655151, -0.8073583841323853, -0.24946242570877075, -0.2980290949344635, -0.19706518948078156, -0.8251676559448242, 0.12277403473854065, -0.9346520900726318, -0.24668215215206146, -0.01588575541973114, 0.010624275542795658, 0.004060786683112383, 0.6773494482040405, -0.3299688398838043, 0.3182375133037567, -0.7218047380447388, 0.12389770150184631, 0.46908894181251526, 0.582266628742218, 0.006088929250836372, -0.6789360642433167, -0.624106228351593, 0.139475017786026, -0.16019964218139648, -0.7304052710533142, 0.4209612011909485, 0.3034696578979492, 0.5920343995094299, 0.2651757001876831, -0.01725621148943901, 0.46907150745391846, -0.5466396808624268, 0.554182767868042, -0.04208111763000488, -0.6843999028205872, 0.5958014726638794, -0.15479175746440887, 0.07075688242912292, 1.0063952207565308, -0.10302892327308655, -0.5072158575057983, -0.798160970211029, -0.45421743392944336, -0.4718829393386841, 0.57423996925354, -0.01471550390124321, 0.25493359565734863, -0.24903619289398193, 0.6432271003723145, 0.09750261902809143, 0.25292783975601196, -0.9132121205329895, -0.04836772009730339, -0.9382601976394653, -0.31427818536758423, -0.17871594429016113, -0.13450457155704498, -0.22586345672607422, -0.051860760897397995, 0.9206240773200989, -0.5054709911346436, 0.347552090883255, 0.6509801149368286, -0.3960733711719513, -0.15011577308177948, 0.165891632437706, 0.5542855858802795, 0.3481793701648712, -0.23875555396080017, 0.5124598145484924, 0.23015280067920685, -0.4401390850543976, 0.5480336546897888, -0.23142197728157043, -0.08168038725852966, -0.1230984702706337, 0.32195040583610535, 0.47214969992637634, -0.08075808733701706, -0.707318902015686, 0.5148362517356873, -0.0967339277267456, -0.12731920182704926, -0.4406708776950836, 0.2646788954734802, -0.46986448764801025, 0.322476863861084, 0.20631657540798187, -0.46919363737106323, 0.23432937264442444, -0.6788275837898254, 0.2937650978565216, 0.5580258965492249, -0.2344064563512802, -0.3697466552257538, 0.29695773124694824, 0.25606584548950195, -0.393381267786026, 0.6800438761711121, -0.3462579846382141, -0.4835362732410431, 0.29894036054611206, 0.8517572283744812, 0.9238682985305786, -0.6276606917381287, 0.4363585412502289, 0.5100924968719482, 0.3861953616142273, -0.4362257421016693, 0.4395418167114258, -0.18874511122703552, -0.9779217839241028, -0.5635256171226501, -0.45298266410827637, -0.5928393006324768, -0.08650430291891098, -0.532774031162262, -0.07205623388290405, -0.424028217792511, -0.0172775536775589, -0.9409610629081726, 0.07566650956869125, -0.3599732518196106, 0.43002191185951233, -0.04439307376742363, 0.758384644985199, -0.8570278286933899, 0.7953945398330688, 0.46134841442108154, -0.8891156315803528, -0.8860896825790405, -0.2356477528810501, -0.4761251211166382, -1.0274689197540283, 0.5705137848854065, 0.07836342602968216, -0.6454364657402039, 0.0671132504940033, -0.6931899785995483, -1.0973081588745117, 0.887070894241333, 0.5029999017715454, -0.14162470400333405, 0.04679189994931221, 0.3723858892917633, 0.8259872794151306, -0.4659516513347626, 0.5262120366096497, 0.5126699209213257, 0.22443872690200806, -0.09451494365930557, -0.5857723355293274, 0.31670165061950684, -0.22671179473400116, 0.058928605169057846, 0.03704269230365753, -0.9077215194702148, 0.6439614295959473, 0.10095495730638504, -0.24932226538658142, 0.06327691674232483, 0.9766872525215149, 0.1679450422525406, -0.04526853933930397, 0.6338018774986267, 0.4934641718864441, 0.31825879216194153, 0.033232636749744415, 0.9126722812652588, -0.6396987438201904, 0.3999897837638855, 1.5866203308105469, -0.23866665363311768, 0.771922767162323, 0.401413232088089, 0.21810588240623474, 0.7822544574737549, 0.3137716054916382, -0.1726442575454712, 0.553557813167572, -0.02905263565480709, -0.1622537523508072, -0.4722084403038025, -0.03982168808579445, -0.2963273525238037, 0.4759383797645569, -0.15215812623500824, -0.31137388944625854, -0.2461739331483841, 0.2725924551486969, -0.3927997648715973, 0.3818618953227997, 0.07783880829811096, 0.8014124631881714, -0.07790113985538483, -0.9094228148460388, 0.7140081524848938, -0.2483697235584259, 0.33457711338996887, -0.4167110323905945, -0.28946468234062195, -0.4829854667186737, 0.27698761224746704, -0.12767484784126282, -0.6370095610618591, 0.13250763714313507, -0.32122066617012024, 0.1189974844455719, -0.7025977373123169, 0.780683696269989, -0.611519992351532, -0.022539081051945686, 0.4977046847343445, 0.6096495389938354, 0.33445239067077637, -0.10443735122680664, -0.5053822994232178, -0.14476001262664795, -0.2885708212852478, -0.43928563594818115, 0.36435186862945557, 0.13559465110301971, 0.595394492149353, 0.8113979697227478, 0.3578362464904785, 0.22139403223991394, 0.08093741536140442, 0.41446956992149353, 0.7888259291648865, -0.5513750314712524, -0.18999707698822021, -0.6805363297462463, 0.3265010714530945, 0.0029316102154552937, -0.15228939056396484, 0.7842493057250977, 0.5372464656829834, 0.9312632083892822, -0.04369204863905907, 0.7278274893760681, 0.20501460134983063, 0.9092527031898499, -0.4044458568096161, 0.5191940069198608, -0.7147876620292664, -0.04684298112988472, -0.22686073184013367, -0.6737743020057678, 0.22642192244529724, 0.7682667374610901, -0.055617183446884155, 0.36669251322746277, 0.4155040979385376, 0.9602043032646179, 0.09491776674985886, -0.42087239027023315, 0.3988473117351532, 0.09704747051000595, 0.6681418418884277, 0.1871623694896698, 1.1268250942230225, -0.38505294919013977, 0.6422175168991089, -0.40005916357040405, 0.0007980638765729964, -0.14384832978248596, -0.4598776400089264, -0.9933359622955322, -0.8167209625244141, -0.13557741045951843, -0.7448863983154297, 0.10324566811323166, 1.163641095161438, 0.8302801251411438, -0.6129541993141174, -0.4329402446746826, -0.11727306991815567, -0.17124854028224945, -0.37806499004364014, -0.17693106830120087, 0.04442518949508667, -1.0673798322677612, -0.6000513434410095, 0.6405984163284302, 0.0029846499674022198, 0.277722030878067, -0.7532909512519836, -0.3036942780017853, 0.015052209608256817, 0.1908401995897293, 0.4238562285900116, 0.6987792253494263, -0.46302053332328796, -0.7030565738677979, 0.011472289450466633, -0.38780513405799866, 0.4218812882900238, 0.8147960901260376, -0.8367756605148315, 0.4614456295967102, 0.24734243750572205, 0.8163368701934814, 0.49972596764564514, 0.3776516020298004, 0.5611498355865479, -0.9054865837097168, -0.11105182021856308, 0.20398001372814178, 0.2800714075565338, 0.4261167049407959, -0.26566699147224426, 0.6234222650527954, 0.011170786805450916, -0.7194483876228333, -0.9188031554222107, 0.18048368394374847, -0.5697216391563416, -0.3104945421218872, 1.0620849132537842, -0.07585428655147552, -0.3878789246082306, -0.07986313104629517, -0.2265794277191162, 0.3432837426662445, -0.43398815393447876, 1.235106110572815, 0.4789382517337799, -0.3123227655887604, -0.47066912055015564, -0.18261094391345978, 0.6653446555137634, 0.5361747741699219, -0.9978840351104736, 0.16676326096057892, 0.31979718804359436, 0.6084650754928589, 0.19617041945457458, 1.1092203855514526, 0.20052194595336914, 0.29755058884620667, 0.12728148698806763, 0.7872734069824219, -0.1446199119091034, -0.584354817867279, -0.35541024804115295, 0.014843834564089775, 0.5105690360069275, -0.23848769068717957 ]
http://arxiv.org/abs/2406.01468v1
http://arxiv.org/pdf/2406.01468v1
Understanding Token Probability Encoding in Output Embeddings
2024-06-03T15:57:29
2024-06-03T15:57:29
Hakaze Cho, Yoshihiro Sakai, Kenshiro Tanaka, Mariko Kato, Naoya Inoue
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we investigate the output token probability information in the output embedding of language models. We provide an approximate common log-linear encoding of output token probabilities within the output embedding vectors and demonstrate that it is accurate and sparse when the output space is large and output logits are concentrated. Based on such findings, we edit the encoding in output embedding to modify the output probability distribution accurately. Moreover, the sparsity we find in output probability encoding suggests that a large number of dimensions in the output embedding do not contribute to causal language modeling. Therefore, we attempt to delete the output-unrelated dimensions and find more than 30% of the dimensions can be deleted without significant movement in output distribution and degeneration on sequence generation. Additionally, in training dynamics, we use such encoding as a probe and find that the output embeddings capture token frequency information in early steps, even before an obvious convergence starts.
[ -0.017705677077174187, -0.591968297958374, 0.3879307508468628, -0.11087032407522202, -0.4241618514060974, -0.3008785545825958, -0.33771684765815735, -0.11560153216123581, 0.43811944127082825, 0.15207019448280334, -0.312845379114151, -0.379476934671402, -0.895289421081543, -0.42020168900489807, -0.5740412473678589, 0.9760100245475769, 0.15998390316963196, 0.4252937138080597, -0.12967878580093384, -0.006025625392794609, -0.5480656027793884, -1.118452548980713, -0.8748296499252319, -0.043540891259908676, 0.3315214514732361, 0.016612233594059944, 0.4833075702190399, 0.9307613372802734, 0.3150041997432709, 0.21892693638801575, -0.07292726635932922, -0.33031386137008667, -0.8688566088676453, -0.1361726075410843, 0.08177565038204193, -0.4944804012775421, -0.240174800157547, -0.0462215319275856, 1.0677989721298218, 0.9440457224845886, -0.17587722837924957, 0.08122611790895462, 0.26970374584198, 0.23935334384441376, -0.6029719710350037, 0.41637057065963745, -0.7958760261535645, 0.31027668714523315, -0.18345865607261658, -0.43048951029777527, -0.8661682605743408, -0.07100320607423782, -0.5034089684486389, -0.2890409529209137, 0.28320205211639404, 0.11726363003253937, 0.4571727216243744, 0.1062551885843277, -0.5740854144096375, -0.30846500396728516, -1.0034350156784058, 0.7464451193809509, -0.5734664797782898, 0.5457378029823303, 0.48086386919021606, 0.04526383429765701, -0.27648672461509705, -0.6114190816879272, -0.5690484642982483, 0.1280072182416916, -0.0855150818824768, -0.1492154449224472, -0.22857007384300232, 0.33382466435432434, 0.1769137978553772, 0.29214200377464294, -0.46288001537323, 0.2202371060848236, -0.22141070663928986, -0.36345070600509644, 0.45740145444869995, 0.1776631623506546, 0.18013575673103333, -0.16201640665531158, -0.1759161353111267, -0.23610518872737885, -0.5806445479393005, -0.03904318809509277, 0.3842965066432953, 0.3349674940109253, -0.11620359122753143, 0.7744336128234863, 0.3733190894126892, 0.5043508410453796, -0.05482364073395729, -0.020138993859291077, 0.13481460511684418, -0.44107210636138916, -0.290030300617218, 0.08524664491415024, 0.6206467747688293, 0.15114319324493408, 0.19408108294010162, -0.21115994453430176, -0.21412165462970734, -0.21950218081474304, 0.25807633996009827, -0.4492497742176056, 0.045634008944034576, 0.2637038230895996, -0.5816823244094849, -0.16434751451015472, 0.3537842035293579, -0.3397022485733032, -0.13138224184513092, -0.10937336087226868, 0.4577484726905823, -0.5013259053230286, -0.18129511177539825, 0.2167280614376068, -0.33834898471832275, 0.02384960651397705, 0.025768298655748367, -1.147064208984375, 0.5009779334068298, 0.8925238847732544, 0.5453153252601624, 0.06695125997066498, -0.17872756719589233, -1.1048928499221802, 0.31363922357559204, -0.2927466332912445, 0.07335210591554642, -0.5259101390838623, -0.04769770801067352, 0.32094287872314453, 0.01530320756137371, -0.10430503636598587, -0.06556113064289093, 0.3136419355869293, -0.6141480803489685, -0.19374915957450867, -0.20897167921066284, -0.93607497215271, -0.015523755922913551, -0.3510688245296478, -0.7505140900611877, 0.6073054671287537, -0.16765624284744263, -0.9059948921203613, 0.6802616715431213, -0.15093691647052765, -0.2075042724609375, -0.15014693140983582, -0.16337627172470093, -0.12169013172388077, 0.6305092573165894, 0.012177140451967716, 0.44578057527542114, 0.3015860915184021, 0.40205323696136475, -0.23802590370178223, -0.680161714553833, 0.6321595907211304, -0.9733908772468567, 0.5864561796188354, 0.04035872220993042, -0.23921380937099457, -0.13774588704109192, -0.8285263180732727, -0.333524614572525, 0.0029165365267544985, -0.38869497179985046, -0.17408494651317596, 0.16809192299842834, 0.16076402366161346, 0.0033361646346747875, 0.1567111611366272, -0.668234646320343, 0.1518941968679428, -0.2971974313259125, 0.42094892263412476, 0.9214354157447815, 0.1256965696811676, 0.6022273898124695, 0.10263931006193161, 0.3885664939880371, 0.34336352348327637, 0.0541943795979023, -0.17794467508792877, -0.6379581093788147, -0.6015254259109497, -0.3648829162120819, 0.5709325671195984, 0.2106398493051529, -0.5043626427650452, 0.4458114206790924, -0.2699349820613861, -0.09109063446521759, -0.22227582335472107, -0.026025762781500816, 0.30333706736564636, 0.12118811160326004, -0.15488845109939575, -0.4645697772502899, -0.6965839266777039, -0.657113254070282, -0.2997928857803345, -0.4321271479129791, 0.1399020552635193, 0.03562289476394653, 0.45946067571640015, 0.23257577419281006, 0.8632220029830933, -0.5488582849502563, 0.05039467662572861, -0.2794334590435028, 0.15315313637256622, 0.45490285754203796, 0.8413568139076233, 0.5931684374809265, -0.41616591811180115, 0.0028177022468298674, -0.15127944946289062, -0.5690264701843262, 0.27357640862464905, -0.1957269310951233, -0.06536099314689636, 0.4248364269733429, 0.344716876745224, -0.7434110641479492, 0.8341703414916992, 0.5976638197898865, -0.6572969555854797, 0.3061583340167999, -0.545096755027771, 0.06137236952781677, -0.809646725654602, 0.054227884858846664, -0.3251529037952423, -0.3201189935207367, -0.7135282754898071, -0.058345358818769455, -0.024589886888861656, -0.25527966022491455, -0.3120036721229553, 0.3634325861930847, -0.2911633551120758, -0.363503098487854, 0.006435872055590153, 0.14821061491966248, -0.009322935715317726, 0.6369462609291077, -0.16297022998332977, 0.5510298013687134, 0.23950444161891937, -0.474161297082901, 0.12029006332159042, 0.17660214006900787, -0.3042565584182739, -0.1858958899974823, -0.46907246112823486, 0.03622223064303398, -0.3823911249637604, 0.30749592185020447, -1.2218093872070312, -0.09926975518465042, 0.15592637658119202, -0.5351048111915588, 0.7058370113372803, -0.1605793982744217, -0.8256365656852722, -0.2150096595287323, -0.2846224904060364, 0.5371610522270203, 0.7372502684593201, -0.4311898946762085, 0.22732436656951904, 0.532891571521759, 0.22917801141738892, -0.9734618663787842, -0.9970052242279053, -0.047651346772909164, -0.14027880132198334, -0.2416176199913025, 0.1185535192489624, 0.1250174641609192, 0.10559815168380737, 0.19873933494091034, 0.07998081296682358, 0.09162919968366623, 0.27024465799331665, 0.2547268271446228, -0.0731993243098259, -0.36146190762519836, 0.38766202330589294, 0.14898571372032166, -0.05189527943730354, 0.134531632065773, -0.646207332611084, 0.6971300840377808, 0.4315286874771118, -0.8923770189285278, -0.5423327684402466, 0.46357887983322144, 0.2919449508190155, 0.0581965371966362, 1.3865258693695068, 0.942242443561554, -0.6254686117172241, 0.03763234615325928, -0.2999194860458374, -0.25731727480888367, -0.42495226860046387, 0.6593672037124634, -0.3559229075908661, -0.8908007144927979, 0.94277423620224, 0.27616241574287415, -0.05401398986577988, 0.5952069759368896, 0.5182561874389648, 0.0009307239088229835, 1.2991770505905151, 0.6950108408927917, 0.11536229401826859, 0.45387840270996094, -0.2859551012516022, 0.6002025008201599, -0.5728118419647217, -0.47526460886001587, -0.529643714427948, -0.20096711814403534, -0.4608921706676483, -0.5807421207427979, 0.04640352725982666, 0.38041597604751587, -0.19888313114643097, 0.3396267294883728, -0.15473416447639465, 0.24679820239543915, 0.7918949127197266, -0.1486579179763794, -0.015405836515128613, 0.14243848621845245, -0.26105135679244995, -0.45982155203819275, -1.1137028932571411, -0.26841089129447937, 0.9993559122085571, 0.5916860699653625, 0.7096308469772339, 0.14417211711406708, 0.8340252637863159, 0.4045087695121765, -0.20225508511066437, -0.45911821722984314, 0.16882900893688202, -0.3609619140625, -0.27344152331352234, -0.4149380326271057, -0.39957916736602783, -0.9322266578674316, -0.1911674588918686, -0.316749632358551, -1.1016420125961304, 0.41367682814598083, 0.3271138668060303, 0.039673734456300735, 0.8028159737586975, -0.9134007692337036, 0.9190592765808105, 0.22725974023342133, -0.07988186180591583, -0.37889689207077026, -0.14316929876804352, 0.1481451839208603, -0.004159929696470499, 0.44857972860336304, 0.2683732509613037, 0.008218293078243732, 0.7934095859527588, -0.5282301306724548, 1.2631120681762695, -0.24660097062587738, -0.06369215995073318, 0.24907024204730988, 0.17372478544712067, 0.6392408013343811, 0.18183663487434387, -0.06271462887525558, 0.18769261240959167, -0.0761936604976654, -0.5047359466552734, -0.6930192708969116, 0.6338651180267334, -0.9339221715927124, -0.6389649510383606, -0.25917771458625793, -0.5008348226547241, 0.13010908663272858, -0.16894331574440002, 0.2754671275615692, 0.9739696383476257, -0.488524466753006, 0.1418416053056717, 0.32949498295783997, -0.6258656978607178, 0.5613874197006226, -0.19911858439445496, -0.2978672683238983, -0.4473269581794739, 1.1165717840194702, 0.33362433314323425, 0.13549964129924774, 0.6483287811279297, -0.17246322333812714, -0.4778806269168854, -0.3891398012638092, -0.32207754254341125, 0.24245679378509521, -1.2933285236358643, -0.12333022803068161, -0.7041403651237488, -0.39798906445503235, -0.5226824283599854, -0.12531161308288574, -0.10958985984325409, -0.9914535880088806, -0.2903420627117157, -0.3130664825439453, 0.3457971513271332, 1.1631884574890137, -0.35990598797798157, 0.27926984429359436, -0.8391366004943848, -0.30944252014160156, 0.27464351058006287, 0.41685107350349426, 0.40318992733955383, -0.6848140358924866, -0.7522774934768677, 0.0037671562749892473, -0.006499061826616526, -0.887357234954834, 0.36062169075012207, 0.33028146624565125, 0.7326112389564514, 0.7016907930374146, -0.11675694584846497, 0.3988993167877197, -0.6241648197174072, 1.1488885879516602, 0.33745911717414856, -1.3424030542373657, 0.36360403895378113, -0.011483128182590008, 0.061126090586185455, -0.08229032903909683, 0.12592020630836487, -0.45930206775665283, -0.5916590690612793, -0.8459802865982056, -0.5761146545410156, 0.8874750733375549, 0.2820185422897339, 0.5873157382011414, -0.5641757845878601, 0.22780154645442963, 0.3966461420059204, 0.19529587030410767, -0.556183397769928, -0.2902293801307678, -0.33582285046577454, -0.384883314371109, -0.37790894508361816, -0.8167845010757446, -0.0015092265093699098, -0.20197030901908875, 0.37075597047805786, 0.19254359602928162, 0.8368514776229858, -0.20818795263767242, -0.24949926137924194, -0.06337845325469971, -0.04590092971920967, 0.9663186073303223, 0.49365049600601196, -0.12544119358062744, 0.4900362193584442, 0.17922690510749817, -0.47555333375930786, 0.17973171174526215, -0.4764610230922699, 0.3218396008014679, 0.47417232394218445, 0.8449385762214661, 1.2018018960952759, 0.4540291428565979, -0.43710607290267944, 0.8424904346466064, -0.16593411564826965, -0.00757992547005415, -0.4070621728897095, -0.03345448523759842, 0.16647760570049286, -0.15515241026878357, 0.5361798405647278, 0.07400321215391159, 0.07151679694652557, -0.46159520745277405, 0.24984967708587646, 0.4538183808326721, -0.36662718653678894, -0.6788090467453003, 0.9447341561317444, 0.06495092809200287, -0.3504103124141693, 0.6109402775764465, -0.25751882791519165, -0.322182834148407, 0.687311589717865, 0.9166247248649597, 0.7752878665924072, 0.09718556702136993, 0.25966301560401917, 0.7061010599136353, 0.34348806738853455, 0.3143496811389923, 0.2059013396501541, 0.01276231836527586, -0.7202852368354797, -0.8329128623008728, -0.8121369481086731, 0.016296986490488052, 0.0625109076499939, -0.7250226736068726, 0.14772537350654602, -0.4446667432785034, -0.3222123980522156, -0.11643364280462265, -0.3517727553844452, -0.7750000953674316, -0.10096948593854904, 0.2758672833442688, 0.8926221132278442, -1.181045651435852, 0.7578943967819214, 0.36858925223350525, -0.3333800733089447, -0.7415745854377747, -0.1677503138780594, -0.17265574634075165, -0.9262825846672058, 1.009920597076416, 0.012430301867425442, 0.3513527810573578, -0.11855075508356094, -0.5369126796722412, -1.0622129440307617, 0.7889484167098999, 0.6797993779182434, -0.32225024700164795, 0.09398596733808517, 0.4146602153778076, 0.39485713839530945, -0.5505325794219971, 0.07710037380456924, 0.2766539752483368, 0.16100716590881348, -0.0908624604344368, -0.5801356434822083, 0.09260174632072449, -0.13032883405685425, 0.3772025406360626, 0.17096218466758728, -0.08097314834594727, 0.8081362247467041, -0.015019928105175495, -0.4043888449668884, -0.10979761928319931, 0.7022053599357605, 0.08690175414085388, -0.0986090749502182, 0.27551034092903137, 0.42209377884864807, 0.6606946587562561, -0.17084021866321564, 1.3084129095077515, -0.6294466257095337, 0.44499671459198, 0.7113314867019653, 0.15822404623031616, 0.86408531665802, 0.681843638420105, -0.19230179488658905, 0.3599792718887329, 0.5044336318969727, 0.19769544899463654, 0.5021419525146484, 0.2862066626548767, -0.11560940742492676, -0.13701246678829193, -0.18884481489658356, -0.20326630771160126, 0.43885645270347595, 0.34604230523109436, -0.5154095888137817, 0.09614965319633484, 0.16956038773059845, -0.24127203226089478, -0.005187290254980326, -0.11901436001062393, 0.6926937103271484, 0.11460219323635101, -0.29915186762809753, 0.6034518480300903, 0.0790339931845665, 0.3515361249446869, -0.38156604766845703, -0.16167911887168884, -0.19281639158725739, 0.14198489487171173, -0.06224540248513222, -0.889472246170044, 0.5214910507202148, -0.11397334933280945, -0.25063562393188477, -0.13223165273666382, 0.4782593548297882, -0.5042712688446045, -0.3764727711677551, 0.2423636019229889, 0.31357353925704956, 0.5036136507987976, 0.47442686557769775, -0.17841516435146332, 0.3373269736766815, -0.010816392488777637, -0.20383556187152863, 0.4110215902328491, 0.7683091759681702, 0.09612947702407837, 0.33453869819641113, 0.5555651783943176, 0.3568904399871826, 0.4049878418445587, 0.3304324448108673, 0.499504029750824, -0.5862429141998291, -0.5531485080718994, -0.8633574843406677, 0.6185891628265381, -0.043117597699165344, -0.283889502286911, 0.4876456558704376, 0.37855690717697144, 0.8949338793754578, -0.4185269773006439, 0.4245932698249817, 0.15546032786369324, -0.2975034713745117, -0.6794735789299011, 0.6188134551048279, -0.26519277691841125, 0.13815025985240936, -0.07422236353158951, -0.9424842596054077, -0.24246996641159058, 0.41597768664360046, 0.05955637991428375, 0.018281223252415657, 0.6866781115531921, 0.5067096948623657, -0.1455567479133606, -0.3118962049484253, 0.723313570022583, 0.29704549908638, 0.10979964584112167, 0.3915751874446869, 0.5095384120941162, -0.6264086961746216, 0.39378422498703003, -0.013338327407836914, -0.08497260510921478, -0.33694323897361755, -0.8764246106147766, -0.7819940447807312, -0.9265304207801819, -0.28409719467163086, -0.33657899498939514, -0.11856044083833694, 0.8041817545890808, 0.5179607272148132, -1.0110783576965332, -0.21617421507835388, -0.0940411388874054, 0.05049716681241989, -0.4703143537044525, -0.23223929107189178, 0.5789813995361328, -0.4326411485671997, -0.7007168531417847, -0.0030185531359165907, 0.26978930830955505, 0.05150110274553299, -0.26043012738227844, -0.20169146358966827, -0.07205988466739655, 0.20072945952415466, 0.43031299114227295, -0.08307169377803802, -0.7473978996276855, -0.8102647066116333, -0.11504881829023361, -0.11677676439285278, -0.05685869976878166, 0.7330026626586914, -0.5226757526397705, 0.3368043899536133, 0.7113827466964722, 0.763942539691925, 0.5787872076034546, -0.3974081575870514, 1.0582140684127808, -1.4529703855514526, 0.6252639889717102, -0.17542485892772675, 0.7210407853126526, 0.3526065945625305, -0.5624450445175171, 0.31942668557167053, 0.23400138318538666, -0.28011056780815125, -1.1083858013153076, 0.14758539199829102, -0.8435987830162048, -0.08739852905273438, 1.0321508646011353, -0.3252395689487457, -0.35638511180877686, 0.04913965240120888, 0.08630387485027313, 0.6538975834846497, -0.13599662482738495, 0.3876905143260956, 0.8108793497085571, 0.31901949644088745, -0.06995470076799393, -0.31260356307029724, 0.4074436128139496, 0.27207151055336, 0.19458171725273132, 0.0566183365881443, 0.11496458202600479, 0.05907807871699333, 0.15295088291168213, 0.6111419200897217, -0.06079767644405365, 0.2438204437494278, 0.5506373643875122, 0.26204919815063477, 0.0954832211136818, -0.045928992331027985, -0.7899186611175537, 0.2778875231742859, 0.360757052898407, -0.3442767262458801 ]
http://arxiv.org/abs/2406.06570v1
http://arxiv.org/pdf/2406.06570v1
Review of Computational Epigraphy
2024-06-03T15:55:24
2024-06-03T15:55:24
Vishal Kumar
cs.CL
cs.CL
Computational Epigraphy refers to the process of extracting text from stone inscription, transliteration, interpretation, and attribution with the aid of computational methods. Traditional epigraphy methods are time consuming, and tend to damage the stone inscriptions while extracting text. Additionally, interpretation and attribution are subjective and can vary between different epigraphers. However, using modern computation methods can not only be used to extract text, but also interpret and attribute the text in a robust way. We survey and document the existing computational methods that aid in the above-mentioned tasks in epigraphy.
[ -0.1325111985206604, -1.11807119846344, 0.6659888029098511, 0.20066186785697937, -0.2951166033744812, 0.4576430320739746, -0.08888543397188187, -0.9328722357749939, 0.4643714427947998, 0.5715911984443665, -0.5226590633392334, -0.10691038519144058, -0.5366078019142151, 0.3092404007911682, 0.07576029747724533, 0.7061905860900879, -0.49769675731658936, 0.03790886327624321, -0.30979740619659424, 0.40884119272232056, -0.045683883130550385, -0.5722737908363342, -0.5195164680480957, -0.27066901326179504, 0.384977787733078, 0.1879187971353531, 0.5069597959518433, 0.9660102128982544, 0.8283895254135132, 0.42967846989631653, -0.10011781007051468, 0.1718643605709076, -0.4343177378177643, 0.13597150146961212, 0.11879467219114304, -0.3844134509563446, 0.021580146625638008, 0.26203685998916626, 0.5500266551971436, 0.6425668001174927, -0.12744095921516418, 0.15800274908542633, -0.39473986625671387, 0.5987347960472107, -0.8789404034614563, 0.167714923620224, -0.19933806359767914, 0.14589576423168182, -0.5953795313835144, -0.8187409043312073, -0.49763354659080505, -0.7398848533630371, 0.4126354157924652, -1.0605946779251099, 0.32219308614730835, 0.04532105475664139, 0.7321250438690186, 0.2624894976615906, 0.22385607659816742, -0.7796621918678284, -1.218458890914917, 1.0248051881790161, -0.2939477860927582, -0.01226827409118414, 0.5741480588912964, 0.6187767386436462, 0.4308117926120758, -1.1474722623825073, -0.37378570437431335, -0.024465840309858322, -0.17877532541751862, 0.1506618708372116, 0.3888840079307556, 0.09128741919994354, 0.31125974655151367, 0.6622377038002014, 0.054185137152671814, -0.3686150014400482, -0.345276802778244, -0.6211202144622803, 0.5712581276893616, 0.2618134021759033, 0.8360459804534912, 0.16851618885993958, -0.26571106910705566, -0.18755224347114563, -0.8922701478004456, 0.028519071638584137, 0.5792049765586853, 0.4894436001777649, 0.02875460684299469, 0.28431177139282227, 0.0895497053861618, 0.8422670364379883, -0.0460992194712162, -0.3894229829311371, 0.10514790564775467, -0.23066936433315277, -0.3198752701282501, 0.39141449332237244, 0.46327513456344604, -0.17290721833705902, 0.19846530258655548, -0.3392164409160614, 0.19458481669425964, -0.12535038590431213, 0.3969789147377014, -0.8013839721679688, -0.2462618499994278, -0.04137961193919182, -0.6738474369049072, -0.6680047512054443, -0.07248485833406448, -0.8348836302757263, -0.5939638614654541, -0.25243231654167175, 0.030070839449763298, -0.07675163447856903, -0.34082499146461487, -0.2579463720321655, -0.6078804135322571, -0.021016698330640793, 0.7736303210258484, -0.9742802381515503, 0.3875854015350342, 0.6618034839630127, 0.9817303419113159, 0.10970108956098557, -0.1692861169576645, -0.016604823991656303, 0.11079925298690796, -0.08800657838582993, 1.1954026222229004, -0.773175060749054, -0.40301233530044556, -0.14301568269729614, -0.16759291291236877, -0.23158465325832367, -0.34566962718963623, 1.0401824712753296, -0.2855057716369629, -0.06431112438440323, -0.44456201791763306, -0.22172150015830994, -0.40770411491394043, 0.14435796439647675, -1.1330572366714478, 0.7170036435127258, 0.3227870464324951, -0.7907726764678955, -0.0787515714764595, -0.43933841586112976, -0.466695100069046, 0.3410356938838959, -0.47557345032691956, -0.30935904383659363, 0.16622580587863922, 0.09648599475622177, 0.16535106301307678, -0.7451026439666748, -0.40395161509513855, -0.11577856540679932, -0.5950558185577393, 0.2885882258415222, -0.12834320962429047, 0.989301860332489, 0.5133896470069885, -0.2970278263092041, -0.3222214877605438, -0.6026169657707214, 0.29848432540893555, 0.07138416916131973, -0.2934173345565796, -0.29209208488464355, 0.3683129847049713, 0.48312270641326904, 0.0819641724228859, 0.03512709215283394, -0.914964497089386, 0.0335986502468586, -0.7079153060913086, 0.4263671338558197, 0.6792212128639221, 0.15601247549057007, 0.33129507303237915, -0.5536055564880371, 0.45683348178863525, -0.6130774617195129, -0.3328438103199005, -0.2536545991897583, -0.547480583190918, -0.0703696608543396, -0.5147255659103394, 0.5168153643608093, 0.6142239570617676, -0.7906143665313721, -0.3360593914985657, -0.3483932912349701, -0.787907063961029, -0.4569573402404785, -0.28509047627449036, 0.6861155033111572, 0.20338505506515503, -0.14975140988826752, -0.37767425179481506, -0.5414853096008301, -0.5548056364059448, -0.5123814940452576, -0.24999995529651642, 0.25889599323272705, 0.41102835536003113, 0.042798012495040894, 0.3597940504550934, 0.6853649616241455, -0.665009081363678, -0.17911683022975922, 0.05411495268344879, 0.6961811780929565, -0.07714460045099258, 0.2636193633079529, 0.6263173222541809, -1.0693620443344116, -0.959735631942749, 0.332975298166275, -0.721399188041687, -0.19662655889987946, -0.5827057957649231, 0.012020221911370754, 0.031011756509542465, 0.43774881958961487, -0.12171930074691772, 0.6137887239456177, 0.07677019387483597, -0.018128955736756325, 0.5591747164726257, 0.11400055885314941, 0.6149260401725769, -0.4944959878921509, 0.1647387146949768, 0.13179904222488403, -0.04665294289588928, -0.9628996253013611, 0.6305890679359436, -0.07017715275287628, 0.16722802817821503, -0.4924949109554291, 0.1552547961473465, -0.8811125755310059, 0.2091653048992157, -0.4569992423057556, -0.12389727681875229, -0.22583620250225067, 0.4550284147262573, 0.381188303232193, 0.39414268732070923, 0.287386417388916, -0.23221367597579956, 0.5656518936157227, 0.15386320650577545, -0.11623010784387589, 0.4890965521335602, -0.24602682888507843, 0.5617827773094177, 0.01231938786804676, 0.10045302659273148, -1.09632408618927, -0.22666366398334503, 0.35530349612236023, -0.7432634830474854, 0.5665387511253357, -0.15311037003993988, -0.22748963534832, -0.12728069722652435, -0.7341005802154541, 0.6052568554878235, 0.11292680352926254, -0.1291356235742569, 1.0186634063720703, 0.42013415694236755, -0.6148093342781067, -0.5572556257247925, -0.6955413222312927, -0.011954555287957191, -0.09806988388299942, -0.5909017324447632, 0.6956350803375244, 0.07995864748954773, -0.6145009994506836, -0.24751625955104828, 0.2895442545413971, -0.34585708379745483, 0.08854353427886963, 0.5417749881744385, 0.2789422571659088, 0.1536652147769928, -0.3387546241283417, -0.24267049133777618, -0.2605714499950409, 0.06590249389410019, 0.17400924861431122, 0.45804858207702637, 0.34924665093421936, -0.2749083340167999, -0.8956765532493591, 0.41964635252952576, 0.4569011926651001, 0.306899756193161, 0.5760325789451599, 0.379228800535202, -0.726349413394928, 0.28225117921829224, -0.3440863788127899, 0.08412744104862213, -0.4701433777809143, -0.0732051432132721, -0.5597272515296936, -0.5914519429206848, 0.604203462600708, -0.5696282386779785, 0.05663478001952171, 0.7718889713287354, 0.7257995009422302, -0.20359370112419128, 0.7633074522018433, 0.6550169587135315, -0.09925319999456406, 0.3754018545150757, -0.03829916566610336, 0.2125576138496399, -0.6435176134109497, -0.27155545353889465, -1.0054895877838135, -0.3077452778816223, -0.6463024616241455, -0.02466888166964054, 0.007075224071741104, -0.10670308023691177, 0.0432586669921875, -0.01592831127345562, -0.7180299758911133, 0.41088417172431946, 0.23578345775604248, 0.13785113394260406, 0.015662267804145813, 0.6389888525009155, 0.028379835188388824, -0.262955904006958, 0.004571930970996618, -0.4961410462856293, 1.1617085933685303, 0.059340983629226685, 0.6396647691726685, -0.013532832264900208, 0.659599781036377, 0.5261104106903076, 0.46949252486228943, -0.6841603517532349, 0.0737006664276123, 0.23861470818519592, -0.6219851970672607, -0.3657432496547699, -0.3271349370479584, -0.5660314559936523, -0.04048647731542587, -0.36889830231666565, -1.1306431293487549, 0.06609811633825302, 0.09656935185194016, -0.5234645009040833, 0.4981204867362976, -0.38749006390571594, 0.3259204030036926, 0.016383549198508263, -0.5062763094902039, -0.1102137640118599, -0.7507269382476807, -0.18117812275886536, -0.2561010718345642, 0.40967854857444763, 0.38083088397979736, 0.29291969537734985, 0.721805989742279, -0.487881600856781, 0.8615016937255859, -0.24192610383033752, -0.14357218146324158, 0.9019138216972351, 0.24672117829322815, 0.7629693150520325, -0.6807643175125122, -0.2546868324279785, 0.03917677700519562, 0.291646808385849, -0.35068994760513306, -0.5268951058387756, 0.6523320078849792, -0.9332758784294128, -0.17679516971111298, -0.7513654828071594, -0.1393781453371048, 0.16309069097042084, -0.15786102414131165, 0.46381381154060364, 0.5274803042411804, -0.5281366109848022, -0.504367470741272, 0.2125145047903061, -0.08651458472013474, 0.4710554778575897, -0.2756660282611847, 0.1398867666721344, -0.6524145007133484, 1.3005365133285522, 0.023004285991191864, 0.287075936794281, 0.57563716173172, 0.1555962860584259, -0.19075508415699005, -1.013288140296936, -0.7285973429679871, 0.17701545357704163, -0.6850241422653198, 0.2000454068183899, -0.3171064257621765, -0.13956846296787262, -0.5005369186401367, -0.5721097588539124, 0.07035452127456665, -0.8864299058914185, -0.30185094475746155, 0.05315754935145378, 0.2240007072687149, 0.9347269535064697, 0.0930061787366867, 0.48691821098327637, -0.8482798337936401, 0.09418030083179474, -0.13125169277191162, -0.009497704915702343, 0.0764688029885292, 0.012666742317378521, -0.31494706869125366, 0.12651389837265015, -0.3703228831291199, -0.9071743488311768, 0.2212945520877838, 0.10447152704000473, 0.5306718349456787, 0.5097634196281433, -0.38558316230773926, 0.7164030075073242, -0.27469658851623535, 0.8632310032844543, 0.263412207365036, -0.6484898924827576, 0.15768256783485413, -0.5769893527030945, -0.002825983101502061, 0.7340725064277649, 0.5429337024688721, -0.7728438377380371, 0.10144956409931183, -0.4570911228656769, -0.7801392674446106, 0.9356486797332764, 0.4231529235839844, -0.15570512413978577, 0.22900842130184174, 0.779589831829071, 0.09783302992582321, 0.08346595615148544, -0.40190577507019043, -0.41715729236602783, 0.16296595335006714, -0.3395141065120697, 0.10058143734931946, -0.14604006707668304, -0.022709809243679047, -0.29515302181243896, 0.44989439845085144, 0.09733910113573074, 0.8715729117393494, 0.23531527817249298, -0.4248141646385193, -0.7131664156913757, -0.1798861175775528, 0.6532847881317139, 0.805668294429779, -0.13826428353786469, 0.14195388555526733, -0.0008239059243351221, -1.1826039552688599, -0.17920571565628052, 0.04977710545063019, -0.40879014134407043, -0.3319903314113617, 0.6845527291297913, 0.32765620946884155, -0.19638389348983765, -0.31506168842315674, 0.16992013156414032, 0.011241033673286438, -0.31427380442619324, -0.5848020911216736, -0.3629439175128937, -0.0822218582034111, -0.1469191610813141, 0.522572934627533, 0.2800580859184265, 0.4956671893596649, -0.769310474395752, -0.35897746682167053, 0.1809893548488617, -0.4300041198730469, -0.28797125816345215, 0.2616488039493561, 0.3474082946777344, -0.6412689685821533, 0.7916719913482666, -0.09284176677465439, -0.6977527737617493, 0.7430107593536377, 0.6531131863594055, 0.8136026859283447, -0.39905598759651184, 0.21277020871639252, 0.5238406658172607, 0.12279369682073593, 0.14400078356266022, 0.6039739847183228, -0.28953316807746887, -0.3149172067642212, -0.617908239364624, -0.7863647937774658, -0.6441938877105713, -0.5571176409721375, -0.3255912661552429, -0.027181027457118034, -0.6527045965194702, -0.02463448792695999, 0.4723639190196991, 0.06859812140464783, -0.1864241659641266, 0.29849204421043396, 0.4431201219558716, 0.3902730345726013, -0.7423756122589111, 0.1806344836950302, 0.7382301688194275, -0.20164720714092255, -0.6730847954750061, -0.3111077547073364, 0.7902689576148987, -0.483913779258728, 0.5475339889526367, 0.09392660111188889, -0.6743039488792419, 0.05541494861245155, -0.7034636735916138, -0.6909482479095459, 0.9928445219993591, -0.02939038909971714, -0.10836858302354813, -0.0011996917892247438, 0.38502421975135803, 0.6201210618019104, -0.15698643028736115, 0.8389582633972168, 0.4528696537017822, 0.5181100964546204, 0.477694571018219, -0.958576500415802, 0.20608627796173096, -0.7241834998130798, -0.1195325031876564, 0.5638526082038879, -0.361426442861557, 0.9022454023361206, 0.037680283188819885, -0.7919325232505798, 0.4205643832683563, 0.3446638286113739, -0.13295453786849976, 0.4073846936225891, 0.1782238781452179, 0.47997167706489563, 0.7850095629692078, -0.3579179644584656, 1.1902903318405151, -0.15305446088314056, 0.3343278765678406, 0.62205970287323, -0.14715903997421265, 0.6136212348937988, 0.3891153037548065, -0.43818432092666626, 0.923915445804596, 1.1020268201828003, 0.21928656101226807, 0.5744880437850952, 0.4358636438846588, -0.4623458683490753, -0.1608899086713791, -0.001250026747584343, -0.17965510487556458, 0.2436678260564804, 0.43104779720306396, -0.5776232481002808, -0.05122816190123558, -0.29906362295150757, 0.11524228006601334, 0.22793099284172058, -0.46092489361763, 0.8156347870826721, -0.10289956629276276, -0.6678604483604431, 0.2924230396747589, 0.23734474182128906, 0.45090967416763306, -0.3950478434562683, -0.565864622592926, 0.7251250147819519, 0.07225489616394043, -0.4292426109313965, -0.38391467928886414, 0.5054724216461182, -0.3201214671134949, 0.1833023875951767, -0.5386322140693665, 1.2621374130249023, 0.2590590715408325, -0.4170520305633545, -0.19631098210811615, 0.4842744469642639, 0.4208228886127472, -0.2728065550327301, -0.5307114720344543, -0.05660015344619751, 0.13320861756801605, -0.1383095234632492, -0.09967926889657974, 0.16497375071048737, -0.16787275671958923, 0.265452116727829, 0.7837468385696411, 0.21653026342391968, 0.0002665405336301774, 0.01977427862584591, 0.8148888945579529, -0.8453047275543213, -0.3738700747489929, -1.1754076480865479, 0.17666636407375336, -0.24726037681102753, -0.2221398949623108, 0.6348419189453125, 0.5943458676338196, 0.6046927571296692, -0.047460559755563736, 1.0583062171936035, -0.3956095278263092, 0.5311275124549866, -0.3906475901603699, 0.8912780284881592, -0.07192327827215195, -0.3108757436275482, -0.8067910075187683, -0.8124863505363464, -0.4023735821247101, 0.7711800932884216, -0.4100211262702942, -0.100194551050663, 0.9495466351509094, 0.4050637483596802, 0.19729304313659668, 0.9445316195487976, -0.22429558634757996, -0.30016762018203735, -0.13962532579898834, 0.29654479026794434, 1.003792405128479, -0.10246537625789642, 0.1611948162317276, -0.2880350649356842, -0.4317006468772888, -0.1400737464427948, -0.6502432823181152, -0.6108610033988953, -0.7207267880439758, -0.17150729894638062, -0.1504490077495575, -0.11360837519168854, 0.8642522096633911, 0.3205190896987915, -0.4907892048358917, -0.19817107915878296, 0.048635710030794144, -0.2688460052013397, -0.5863288640975952, -0.0881151333451271, 0.593101978302002, 0.14442883431911469, -0.8925003409385681, 0.0263200756162405, 0.31459757685661316, 0.014956100843846798, -0.13783450424671173, -0.02533710189163685, -0.2262216955423355, 0.005996359046548605, 0.25747987627983093, 0.49116432666778564, -0.3210306763648987, -0.01503809168934822, -0.17997673153877258, -0.0023275509011000395, 0.33679744601249695, 1.4435065984725952, -0.3708798885345459, 0.920724093914032, 0.9243152141571045, 0.4488208591938019, 0.9941753149032593, 0.08307832479476929, 0.43927648663520813, -0.22952859103679657, -0.09840338677167892, 0.1571141630411148, 0.11247801035642624, 0.31011688709259033, -0.8108528852462769, 0.5157543420791626, 0.5060490965843201, -0.3047201633453369, -0.5602038502693176, 0.20137280225753784, -0.9241505265235901, -0.2692921757698059, 0.6671305894851685, -0.3662000596523285, -0.598607063293457, -0.488044410943985, -0.3783171474933624, 0.6225311756134033, 0.2729754149913788, 0.7964382171630859, 1.1248117685317993, -0.2766436040401459, 0.011242923326790333, -0.24091216921806335, 0.6124471426010132, -0.23905329406261444, -1.0468729734420776, -0.0441751591861248, 0.5807477831840515, 0.1273069977760315, 0.7984147667884827, 0.952299952507019, -0.3970678746700287, 0.3089663088321686, 0.38777464628219604, 0.11780126392841339, -0.10369829833507538, -0.31529778242111206, -0.12795424461364746, 0.27297157049179077, 0.13538749516010284, 0.2342797964811325 ]
http://arxiv.org/abs/2406.01462v1
http://arxiv.org/pdf/2406.01462v1
Understanding Preference Fine-Tuning Through the Lens of Coverage
2024-06-03T15:51:04
2024-06-03T15:51:04
Yuda Song, Gokul Swamy, Aarti Singh, J. Andrew Bagnell, Wen Sun
cs.LG
cs.LG, cs.AI, cs.CL
Learning from human preference data has emerged as the dominant paradigm for fine-tuning large language models (LLMs). The two most common families of techniques -- online reinforcement learning (RL) such as Proximal Policy Optimization (PPO) and offline contrastive methods such as Direct Preference Optimization (DPO) -- were positioned as equivalent in prior work due to the fact that both have to start from the same offline preference dataset. To further expand our theoretical understanding of the similarities and differences between online and offline techniques for preference fine-tuning, we conduct a rigorous analysis through the lens of dataset coverage, a concept that captures how the training data covers the test distribution and is widely used in RL. We prove that a global coverage condition is both necessary and sufficient for offline contrastive methods to converge to the optimal policy, but a weaker partial coverage condition suffices for online RL methods. This separation provides one explanation of why online RL methods can perform better than offline methods, especially when the offline preference data is not diverse enough. Finally, motivated by our preceding theoretical observations, we derive a hybrid preference optimization (HyPO) algorithm that uses offline data for contrastive-based preference optimization and online data for KL regularization. Theoretically and empirically, we demonstrate that HyPO is more performant than its pure offline counterpart DPO, while still preserving its computation and memory efficiency.
[ -0.8011505007743835, -0.5270060300827026, 0.5074577331542969, -0.08436956256628036, -0.08736100047826767, 0.23889808356761932, -0.5108654499053955, -0.37484392523765564, 0.1869201809167862, 0.404958039522171, -0.5982105135917664, -0.17199590802192688, -0.2312304675579071, -0.0428188256919384, 0.3459322154521942, 1.056091070175171, -0.25576260685920715, -0.09681045264005661, -0.06644783914089203, -0.1771969348192215, -0.11353845149278641, -0.14887471497058868, -0.5552151203155518, -0.5402480959892273, 0.540194034576416, 0.7669905424118042, 0.882642388343811, 0.7278973460197449, 0.3240772783756256, 0.2693691551685333, -0.13815662264823914, 0.6185843348503113, -0.8950405120849609, -0.15215319395065308, -0.032849427312612534, -0.7061965465545654, 0.04719315096735954, 0.0260046124458313, 0.4593711495399475, 0.5967085957527161, -0.17451627552509308, -0.40713033080101013, 0.12255550175905228, 0.8400987982749939, -0.9334735870361328, -0.09142762422561646, -0.6219542622566223, 0.25673261284828186, 0.10409462451934814, -0.46957486867904663, -0.3166640102863312, -0.5473120808601379, 0.38883620500564575, -1.0412092208862305, 0.26298534870147705, 0.16734878718852997, 1.0568112134933472, 0.15725064277648926, -0.3874844014644623, -0.06834592670202255, -0.9533983469009399, 1.0033292770385742, -0.36137324571609497, 0.17092181742191315, 0.8988518118858337, 0.4743536412715912, -0.11385418474674225, -0.06798607110977173, -0.4034789502620697, -0.32143330574035645, -0.09278663247823715, 0.21602389216423035, 0.09454484283924103, 0.419834703207016, 0.046640362590551376, 0.7739053964614868, -0.0880436971783638, 0.3491327464580536, -0.24052143096923828, -0.23168013989925385, 0.6834291219711304, -0.04328017681837082, -0.018166877329349518, 0.1385709047317505, -0.31517109274864197, -0.17366129159927368, -0.7324612140655518, 0.3518334925174713, 0.44011640548706055, 0.026910725980997086, -0.2082749307155609, 0.369210809469223, -0.4707264006137848, 0.6749172806739807, 0.13513506948947906, -0.3051466941833496, 0.15762901306152344, -0.32323628664016724, -0.22758503258228302, 0.013365792110562325, 0.3496406674385071, 0.634183406829834, 0.5033252835273743, -0.2940213680267334, -0.09360568970441818, 0.019260279834270477, 0.15963613986968994, -0.530909538269043, -0.006342810112982988, 0.18261249363422394, -0.33809056878089905, -0.49470415711402893, 0.05455869436264038, -0.6371666789054871, -0.3729819655418396, -0.6543586850166321, 0.30107077956199646, -0.04162745550274849, -0.24927610158920288, 0.3065313696861267, -0.015361441299319267, 0.1808474361896515, 0.2686350345611572, -0.981167197227478, 0.3817983567714691, 0.5470495820045471, 0.7840832471847534, -0.36075693368911743, -0.2452227622270584, -0.45350706577301025, -0.080293208360672, -0.5692848563194275, 0.6172284483909607, -0.3496458828449249, -0.3325052261352539, 0.19138778746128082, -0.2106330245733261, -0.08403720706701279, -0.6011240482330322, 0.40300068259239197, -0.789950430393219, 0.17719292640686035, -0.33846649527549744, -0.680974543094635, -0.12028458714485168, 0.306894987821579, -0.6873302459716797, 0.9059744477272034, 0.1700497567653656, -0.7641882300376892, 0.7563241720199585, -0.46462929248809814, -0.1964779794216156, -0.3496752977371216, 0.012477220967411995, -0.7758665084838867, 0.04117128998041153, -0.03789765015244484, 0.3425420820713043, -0.15843863785266876, 0.05273713171482086, -0.6318866610527039, -0.5129092931747437, 0.25202319025993347, 0.1973579227924347, 0.3288612365722656, 0.16529783606529236, -0.5322036743164062, 0.471857488155365, -0.6364096403121948, 0.12481443583965302, 0.14210550487041473, -0.3735153377056122, -0.5934015512466431, 0.3112421929836273, -0.011508581228554249, 0.07765334099531174, -0.1507348120212555, -0.658370316028595, 0.11125772446393967, -0.6125080585479736, 0.6770691871643066, 0.7613758444786072, -0.07646096497774124, 0.7621473073959351, -0.565146803855896, 0.28316038846969604, -0.27236953377723694, 0.2854304909706116, -0.0012944157933816314, -0.10606775432825089, -0.872845470905304, -0.1946374624967575, 0.15392142534255981, 0.4189736545085907, -0.6325454711914062, 0.28337281942367554, -0.061333686113357544, -0.23998874425888062, -0.5292443633079529, 0.12010319530963898, 0.709882378578186, 0.32658571004867554, 0.5454267859458923, 0.014231177046895027, -0.3660844564437866, -1.1897852420806885, -0.16506341099739075, 0.23404857516288757, 0.20415252447128296, 0.8287659883499146, 0.09291493892669678, -0.15536704659461975, 1.1596183776855469, -0.8850497007369995, -0.371966153383255, -0.6083356142044067, -0.13686534762382507, -0.08262751996517181, 0.1716659814119339, 0.4117237627506256, -0.9363104104995728, -0.7718009352684021, 0.16951709985733032, -0.35314545035362244, 0.02279122918844223, -0.14173035323619843, -0.08192799240350723, 0.3489241600036621, 0.40688711404800415, -0.04295264184474945, 0.30180156230926514, 0.4869127869606018, -0.1560755968093872, 0.2796653211116791, -0.7106351852416992, 0.11427398771047592, -0.8355270624160767, -0.2939850091934204, 0.1555555909872055, -0.39472609758377075, -0.5844247341156006, 0.2163391411304474, 0.016403546556830406, 0.21380528807640076, -0.43653714656829834, 0.39904695749282837, -0.3213517367839813, -0.1897779256105423, -0.39053869247436523, -0.09706203639507294, 0.19760310649871826, 0.41902294754981995, 0.1561325043439865, 0.8035376667976379, 0.3824288547039032, -0.8724625706672668, 0.08909483999013901, 0.0605289451777935, -0.2649853825569153, 0.14453847706317902, -0.5261751413345337, -0.11202660948038101, -0.06264150142669678, 0.24549943208694458, -0.8874605894088745, -0.2290925234556198, 0.11447041481733322, 0.16627034544944763, 0.23880217969417572, -0.15007755160331726, -0.3310389220714569, 0.07021382451057434, -0.5098975300788879, 0.48782089352607727, 0.5710055828094482, -0.7586308717727661, 0.11068090796470642, 0.6421120762825012, 0.33074894547462463, -0.2766364812850952, -0.44734683632850647, -0.5066068172454834, -0.5158544778823853, -0.38348814845085144, 0.8390318155288696, 0.1281779706478119, -0.5042427182197571, -0.31284090876579285, 0.059193503111600876, -0.14382821321487427, 0.13099932670593262, 0.03436455875635147, 0.280947208404541, -0.05161099508404732, -0.04694371297955513, -0.024426305666565895, -0.3025917410850525, -0.25141197443008423, -0.08006329834461212, 0.5048490166664124, -0.06568054109811783, -0.17832288146018982, -0.2856491208076477, 0.21206195652484894, 0.06468675285577774, -0.08952441066503525, 0.4914320707321167, 0.17964951694011688, 0.06878914684057236, -0.38552287220954895, -0.4564932584762573, -0.37043845653533936, -0.47660568356513977, 0.09944748133420944, -0.31154197454452515, -0.7403640151023865, 0.43296724557876587, 0.03812534734606743, -0.062314920127391815, 0.24204440414905548, 0.40004050731658936, -0.16812756657600403, 0.8238728046417236, 0.7866975665092468, -0.16249601542949677, 0.6786681413650513, -0.3614257276058197, -0.26257064938545227, -0.5825551748275757, -0.15125799179077148, -0.25469231605529785, -0.4622713327407837, -0.9507086277008057, -0.22487232089042664, 0.23042647540569305, 0.2990945875644684, -0.15091384947299957, 0.1204540953040123, -0.36682042479515076, 0.7621681690216064, 0.7212792634963989, 0.5403817296028137, 0.40282464027404785, 0.18709640204906464, -0.23801451921463013, -0.19068995118141174, -0.5815945863723755, 0.030680585652589798, 1.1538277864456177, 0.32275381684303284, 0.7117704749107361, -0.14232759177684784, 0.6059393286705017, 0.2071828991174698, -0.04220698028802872, -0.9379576444625854, 0.15956725180149078, -0.02808937430381775, -0.4407784938812256, -0.34310945868492126, -0.5170428156852722, -1.0870373249053955, 0.36213549971580505, -0.25602951645851135, -0.3722662031650543, 0.28850483894348145, 0.7405999898910522, -0.43687304854393005, 0.3709695041179657, -0.7015920877456665, 0.5507007241249084, -0.27974456548690796, -0.6447683572769165, -0.6428312659263611, -0.6552338004112244, 0.1822744458913803, 0.11197683215141296, 0.07017234712839127, -0.05361131951212883, 0.01882731355726719, 0.5203786492347717, -0.25527581572532654, 0.6582702994346619, -0.08258664608001709, 0.19192913174629211, 0.005793641321361065, -0.0771799385547638, 0.34057050943374634, -0.0039186323992908, 0.20582325756549835, -0.09648087620735168, -0.026244666427373886, -0.516594409942627, -0.47325387597084045, 0.6668006181716919, -0.999900221824646, -0.23844793438911438, -0.43612173199653625, -0.47376447916030884, -0.6251368522644043, 0.11088208109140396, 0.2853791415691376, 0.31126919388771057, 0.0014038815861567855, 0.16477465629577637, 1.0241312980651855, -0.3760790228843689, 0.26428937911987305, 0.5830546617507935, -0.3248235583305359, -0.28130850195884705, 1.0885719060897827, 0.08807671070098877, 0.684329628944397, 0.583548903465271, 0.7669406533241272, -0.24962103366851807, -0.5641457438468933, -0.39278310537338257, 0.20297051966190338, -0.5394451022148132, 0.35955139994621277, -0.2193097025156021, 0.0651715099811554, 0.2319456934928894, -0.296314537525177, -0.2963258922100067, -0.07542360574007034, -0.15329134464263916, 0.020638801157474518, 0.42917242646217346, 0.5345189571380615, 0.03226308524608612, 0.3050406575202942, -0.2762088477611542, 0.43254515528678894, 0.16437603533267975, 0.5435271263122559, -0.2956387996673584, -0.31306228041648865, -0.2503073215484619, 0.08918885886669159, -0.3220333755016327, -0.6001465916633606, 0.2075674831867218, 0.326812207698822, 0.5448502898216248, 0.6720837950706482, 0.2486584484577179, 0.5972352623939514, -0.31073489785194397, 0.1121513769030571, -0.18532636761665344, -0.43299925327301025, 0.383991003036499, -0.4496290385723114, 0.019610095769166946, 1.0387276411056519, 0.5888600945472717, -0.41328564286231995, 0.06560813635587692, -0.5499295592308044, -0.834321141242981, 0.7227912545204163, 0.014437926933169365, -0.021196601912379265, 0.4533538818359375, 0.31764310598373413, 0.22742526233196259, 0.16707853972911835, -0.3577624261379242, -0.36341381072998047, -0.1408967524766922, 0.26243746280670166, -0.4178212881088257, -0.14948688447475433, -0.28904712200164795, -0.16454088687896729, 0.5339324474334717, -0.30486220121383667, 0.10235103219747543, 0.1911526471376419, 0.025115886703133583, 0.02662838250398636, 0.3508927822113037, 0.8270704746246338, 0.6108361482620239, -0.4969669282436371, -0.08178021758794785, 0.020576950162649155, -0.28541797399520874, 0.029789678752422333, -0.03710459917783737, -0.4965761601924896, -0.33675962686538696, 0.044138118624687195, 1.2804218530654907, 0.4979695975780487, -0.5254840850830078, 0.42529475688934326, 0.20573687553405762, -0.31106075644493103, -0.12227772176265717, 0.2728295922279358, -0.23987947404384613, -0.1832982450723648, 0.0943346694111824, 0.11852677166461945, 0.21536530554294586, -0.5376750230789185, 0.16260169446468353, 0.3939870595932007, -0.564592182636261, -0.06470464169979095, 0.19205069541931152, 0.12594446539878845, 0.04741065576672554, 0.27806606888771057, -0.18629533052444458, -0.6807774901390076, 0.6943713426589966, 0.4770522713661194, 0.44135382771492004, 0.2286902517080307, 0.5043525099754333, 0.10411868244409561, -0.014066058211028576, -0.2835381329059601, 0.2584933936595917, -0.22282588481903076, -0.9400084018707275, -0.33910688757896423, -0.39293715357780457, -0.7508260607719421, 0.18202181160449982, -0.8842294216156006, 0.13548530638217926, -0.49394428730010986, 0.21853655576705933, -0.14064082503318787, 0.11342890560626984, -0.5202353596687317, 0.38881176710128784, -0.14904993772506714, 0.8743585348129272, -0.8570516705513, 0.7814027070999146, 0.42006421089172363, -0.14512436091899872, -0.7952368855476379, 0.27692046761512756, -0.029773246496915817, -0.9624723196029663, 0.4644544720649719, 0.19482555985450745, -0.13788510859012604, 0.10584837198257446, 0.10959616303443909, -0.7078301310539246, 0.8118525743484497, 0.20753484964370728, -0.5408228039741516, 0.11791112273931503, 0.17588357627391815, 0.43586596846580505, -0.26146623492240906, 0.40478795766830444, 0.7035084366798401, 0.4378530979156494, 0.03364085778594017, -1.0122473239898682, -0.20285570621490479, 0.2650640606880188, -0.05409322679042816, 0.41342753171920776, -0.7692896127700806, 0.36667394638061523, -0.31417784094810486, 0.016289126127958298, -0.41722559928894043, 0.16805985569953918, 0.27693748474121094, 0.36841675639152527, 0.6162276268005371, 0.41346055269241333, 0.3625611364841461, -0.2371910959482193, 1.5511304140090942, -0.13216714560985565, 0.49334636330604553, 0.8885173797607422, -0.13510429859161377, 0.8758851289749146, 0.4921651780605316, -0.33508485555648804, 0.07743432372808456, 1.057619333267212, 0.1575920283794403, 1.0244436264038086, 0.3774588704109192, -0.029751624912023544, -0.4535762071609497, -0.23585574328899384, -0.4433908760547638, 0.32346922159194946, -0.05977042764425278, -0.30848559737205505, -0.3299367129802704, 0.11925164610147476, -0.025261539965867996, 0.2453605830669403, -0.6738357543945312, 1.0350053310394287, -0.16826286911964417, -0.9320846796035767, 0.7050608992576599, 0.10015875101089478, 0.7314508557319641, -0.69093257188797, 0.2916943430900574, -0.22461633384227753, 0.6040313243865967, -0.3312130272388458, -0.7844893336296082, 0.3044411838054657, -0.6050012707710266, -0.2903903126716614, -0.276846706867218, 0.5867098569869995, -0.20850734412670135, -0.10654870420694351, 0.4859173893928528, 0.14973084628582, -0.11603596061468124, -0.009688273072242737, -0.6791291236877441, -0.07791054993867874, 0.13353008031845093, -0.3850800395011902, 0.7243385910987854, -0.17115448415279388, -0.256888210773468, 0.6462974548339844, 0.7437534928321838, 0.4263814687728882, -0.016206759959459305, 0.06550749391317368, 0.8384822010993958, -0.2621096670627594, -0.9251429438591003, -0.8344552516937256, 0.21669816970825195, -0.23462635278701782, -0.6164052486419678, 0.7081789374351501, 0.6788696646690369, 1.1236778497695923, 0.06056825816631317, 0.7824373245239258, 0.2912437915802002, 0.5985509157180786, -0.7893478274345398, 0.5328071117401123, -0.7319621443748474, -0.03136196732521057, 0.012536098249256611, -0.7793589234352112, -0.27680885791778564, 0.7623302340507507, -0.7698594331741333, -0.0838177502155304, 0.4986540377140045, 0.758068859577179, -0.3594242334365845, -0.0162737425416708, 0.23317186534404755, -0.27167612314224243, 0.07187946140766144, 0.37836822867393494, 0.5696079134941101, 0.0007709136698395014, 0.41918230056762695, -0.5134922862052917, -0.5166006088256836, -0.44015786051750183, -0.8891534805297852, -0.9064474105834961, -0.40649616718292236, -0.021777743473649025, -0.5240767002105713, 0.13685990869998932, 1.0441994667053223, 0.9242146015167236, -0.8577304482460022, -0.14030830562114716, -0.44104161858558655, 0.011441687121987343, -0.22216816246509552, -0.2130509614944458, 0.3290422558784485, -0.38294273614883423, -0.5599609017372131, 0.37689390778541565, 0.09912349283695221, -0.061889175325632095, -0.4117429554462433, -0.5049167275428772, 0.06297917664051056, 0.10008416324853897, 0.39863207936286926, 0.5648530125617981, -0.7303239107131958, 0.07243607938289642, -0.03210025653243065, -0.13025496900081635, 0.41758012771606445, 1.1752434968948364, -0.6899645328521729, 0.6944928765296936, 0.7061517238616943, 0.9121032953262329, 0.760247528553009, 0.05480461195111275, 0.579947292804718, -0.32909417152404785, 0.03539888188242912, -0.024649936705827713, 0.18599224090576172, 0.20220482349395752, -0.30066293478012085, 0.2525392174720764, 0.21730442345142365, -0.6022409200668335, -0.7205299735069275, 0.5910120606422424, -0.7467275857925415, -0.27904409170150757, 1.4513019323349, -0.10567779093980789, 0.08330193907022476, -0.3701971173286438, -0.48545658588409424, -0.07702364772558212, -0.48756328225135803, 0.9798955917358398, 0.393888920545578, -0.33156025409698486, -0.177779421210289, -0.5947576761245728, 0.9830785393714905, 0.5574593544006348, -0.8970743417739868, -0.16812807321548462, 0.1401696801185608, 0.41400572657585144, 0.04148416966199875, 0.5839077830314636, 0.40055951476097107, 0.17900905013084412, -0.45072489976882935, -0.2666063904762268, -0.30245718359947205, -0.38910210132598877, -0.2635307312011719, 0.07192444056272507, 0.0932983011007309, -0.2824593782424927 ]
http://arxiv.org/abs/2406.06569v1
http://arxiv.org/pdf/2406.06569v1
Enhancing Clinical Documentation with Synthetic Data: Leveraging Generative Models for Improved Accuracy
2024-06-03T15:49:03
2024-06-03T15:49:03
Anjanava Biswas, Wrick Talukdar
cs.CL
cs.CL, cs.AI, cs.LG
Accurate and comprehensive clinical documentation is crucial for delivering high-quality healthcare, facilitating effective communication among providers, and ensuring compliance with regulatory requirements. However, manual transcription and data entry processes can be time-consuming, error-prone, and susceptible to inconsistencies, leading to incomplete or inaccurate medical records. This paper proposes a novel approach to augment clinical documentation by leveraging synthetic data generation techniques to generate realistic and diverse clinical transcripts. We present a methodology that combines state-of-the-art generative models, such as Generative Adversarial Networks (GANs) and Variational Autoencoders (VAEs), with real-world clinical transcript and other forms of clinical data to generate synthetic transcripts. These synthetic transcripts can then be used to supplement existing documentation workflows, providing additional training data for natural language processing models and enabling more accurate and efficient transcription processes. Through extensive experiments on a large dataset of anonymized clinical transcripts, we demonstrate the effectiveness of our approach in generating high-quality synthetic transcripts that closely resemble real-world data. Quantitative evaluation metrics, including perplexity scores and BLEU scores, as well as qualitative assessments by domain experts, validate the fidelity and utility of the generated synthetic transcripts. Our findings highlight synthetic data generation's potential to address clinical documentation challenges, improving patient care, reducing administrative burdens, and enhancing healthcare system efficiency.
[ -0.03920872136950493, -0.8226582407951355, 0.7479689717292786, 0.06987467408180237, -0.2824435532093048, 0.2586778700351715, -0.09720116853713989, -0.2542339265346527, 0.30105826258659363, 0.5227338671684265, -0.4949943423271179, -0.8323953151702881, -0.4447731673717499, 0.2387029379606247, -0.490125447511673, 0.9079214930534363, -0.06028509512543678, 0.4564533829689026, -0.389308363199234, -0.08778916299343109, -0.1826602816581726, -0.6672542691230774, -0.22638188302516937, -0.24874047935009003, 0.4948135316371918, 0.1063406690955162, 0.7962095737457275, 1.0523978471755981, 0.44269099831581116, 0.23468324542045593, 0.2248021513223648, 0.7283080816268921, -0.1178661361336708, 0.38767340779304504, 0.2349380999803543, -0.44386011362075806, -0.7618957161903381, -0.21163204312324524, 0.49246156215667725, 0.5308665037155151, -0.4297366142272949, 0.013056539930403233, -0.3184189796447754, 0.42807695269584656, -0.33059194684028625, 0.023597627878189087, -0.27781981229782104, 0.3252803087234497, -0.13182997703552246, -0.5618712306022644, -0.3101774752140045, -0.6352094411849976, 0.08518173545598984, -1.0019283294677734, 0.9663536548614502, -0.26375648379325867, 0.6855521202087402, -0.03931942582130432, -0.23822560906410217, -0.6379472017288208, -0.8183788061141968, 0.05364980548620224, -0.9245554208755493, 0.2663823962211609, 0.12875930964946747, 0.5170389413833618, -0.14223095774650574, -1.214911937713623, -0.5856581926345825, -0.5141997933387756, -0.4650767147541046, 0.5557289123535156, -0.008901966735720634, 0.20122991502285004, 0.4568343758583069, 0.8382049798965454, -0.7978090643882751, -0.05190117284655571, -0.5443778038024902, -0.21364180743694305, 0.5817252397537231, 0.5809827446937561, 0.5818605422973633, -0.16701480746269226, -0.16830657422542572, -0.4222937226295471, -0.6350767612457275, -0.3985723555088043, 0.23093388974666595, 0.05709582939743996, -0.11249062418937683, 0.6583194136619568, -0.1542118489742279, 0.6023238897323608, -0.07328900694847107, -0.15502502024173737, 0.23511071503162384, -0.4743344187736511, -0.30620911717414856, 0.04818836972117424, 0.797027587890625, 0.2511501610279083, -0.3709064722061157, -0.3345629870891571, 0.007395513821393251, 0.3642042875289917, 0.8054350018501282, -0.6040903925895691, -0.4234496057033539, 0.3419894278049469, -0.5871840119361877, -0.5534917116165161, 0.11365688592195511, -0.9040513634681702, -0.5081713795661926, -0.8845410943031311, 0.11604012548923492, -0.7146079540252686, 0.14167004823684692, -0.0010831290856003761, -0.280058890581131, -0.17448994517326355, 0.6134603023529053, -0.6591069102287292, 0.26206135749816895, 0.46170270442962646, 0.81104975938797, -0.021941062062978745, 0.10041137784719467, -0.5970516800880432, 0.3247567117214203, -0.4485199451446533, 0.4524684250354767, -0.16079571843147278, -0.6903103590011597, 0.1829296052455902, -0.02897045947611332, 0.14670899510383606, -0.6773200631141663, 0.6079959869384766, -0.16340970993041992, 0.26384106278419495, 0.1306110918521881, -0.47696593403816223, 0.12431751191616058, 0.29717135429382324, -0.7949744462966919, 0.6362200975418091, 0.4203917384147644, -0.26078951358795166, 0.17361634969711304, -0.6026160717010498, -0.548089861869812, 0.33245474100112915, -0.5354393720626831, -0.5560572743415833, 0.25023531913757324, 0.3944595456123352, 0.1438625603914261, -0.529208242893219, 0.4191080927848816, 0.10679156333208084, -0.13826264441013336, 0.31908249855041504, -0.6468215584754944, 0.6286541819572449, 0.2865932583808899, -0.007632886059582233, 0.029370922595262527, -1.0568652153015137, -0.0712016299366951, -0.07766404002904892, -0.22351984679698944, 0.048204150050878525, -0.5398340821266174, -0.02371523529291153, 0.16084086894989014, -0.11744444072246552, -0.5492772459983826, 0.47088712453842163, -0.49497735500335693, 0.223103329539299, 0.2187686562538147, 0.38177409768104553, 0.20643621683120728, -0.8290207386016846, 0.9745177030563354, 0.03475594520568848, 0.43474262952804565, -0.4257025420665741, -0.33791670203208923, -0.559516191482544, -0.22756357491016388, 0.49207213521003723, 0.4842543601989746, -0.7473424077033997, 0.2621285319328308, -0.6407290697097778, -0.6699511408805847, -0.889295220375061, -0.06450079381465912, 0.4413047134876251, 0.9105443954467773, 0.6052788496017456, -0.4062958359718323, -0.7479344606399536, -0.7423667907714844, 0.10874312371015549, -0.20161613821983337, -0.36287370324134827, 0.16506987810134888, 0.21342691779136658, -0.4538853168487549, 0.7079753279685974, -0.6105436086654663, -0.3448109030723572, -0.11111059039831161, 0.5262057781219482, 0.0947151929140091, 0.6145461797714233, 0.24285869300365448, -0.561406672000885, -0.25470805168151855, 0.007536849472671747, -0.9739491939544678, -0.02606729045510292, -0.6373676657676697, -0.10689159482717514, -0.034608449786901474, 0.37515854835510254, -0.7267688512802124, 0.5711511373519897, 0.10106685757637024, 0.07974740117788315, 0.604278564453125, -0.912371039390564, 0.2266734391450882, -0.9750570058822632, 0.30709680914878845, -0.2156486213207245, -0.19510789215564728, -0.7266132235527039, 0.058501310646533966, 0.34502506256103516, -0.2024492621421814, -0.21031306684017181, 0.2990567684173584, -0.446481317281723, 0.3973817825317383, 0.2470453530550003, -0.26171958446502686, 0.5404592752456665, 0.1263045370578766, -0.008789842948317528, 0.5601941347122192, 0.3412493169307709, -0.24499376118183136, 0.7317718267440796, 0.6908326148986816, -0.07979784160852432, 0.5440871715545654, -0.5526590943336487, 0.13965480029582977, -0.35067927837371826, 0.5444226264953613, -0.41991010308265686, -0.5417385697364807, 0.12863080203533173, -0.5362039804458618, 0.5463635921478271, -0.24478046596050262, -0.6855117082595825, -0.2787264287471771, -0.10751480609178543, 0.13144008815288544, 0.7833284139633179, -0.3503316640853882, 0.669160783290863, -0.03330381214618683, -0.10244341194629669, -0.12243346869945526, -0.8975117206573486, 0.5383023023605347, 0.14179082214832306, -0.558218240737915, 0.797002375125885, 0.12079057842493057, 0.0553707629442215, -0.10327369719743729, 0.11496313661336899, 0.0543811060488224, -0.2871745824813843, 0.2567347586154938, 0.5019258856773376, -0.46322381496429443, 0.1087474450469017, 0.25022637844085693, 0.05847438797354698, 0.09830843657255173, -0.34440842270851135, 0.2861725986003876, 0.2871609032154083, -0.5706057548522949, -0.5535587668418884, 0.5718066096305847, 0.8316410183906555, -0.14196841418743134, 0.5783290266990662, 0.6744004487991333, -0.5523566603660583, -0.27988070249557495, -0.5952901244163513, -0.122948557138443, -0.3912562429904938, 0.022429944947361946, -0.02588844671845436, -0.18222704529762268, 0.5144900679588318, -0.07150537520647049, -0.04330860823392868, 0.32091861963272095, 0.6165944933891296, -0.25126132369041443, 1.0617938041687012, -0.20523780584335327, 0.6411207914352417, 0.044249288737773895, -0.4418798089027405, 0.12867094576358795, -0.891852617263794, -0.4792729616165161, -0.13174082338809967, 0.17274489998817444, -0.5458932518959045, -0.7892555594444275, 0.7386942505836487, -0.061014752835035324, 0.35588207840919495, 0.24824237823486328, -0.5287671685218811, 0.009351328015327454, 0.4942812919616699, 0.5565701127052307, 0.4263029098510742, -0.04592868313193321, -0.2026388794183731, 0.05060069262981415, -0.8272240161895752, -0.6210251450538635, 1.2438594102859497, 0.3079410493373871, 0.5445324182510376, -0.04375956580042839, 0.6159861087799072, 0.5378701090812683, 0.5909953713417053, -0.2455662190914154, 0.08128545433282852, -0.4623234272003174, -0.18318437039852142, -0.050988685339689255, -0.17867781221866608, -0.7269874811172485, 0.02934849075973034, -0.3485524654388428, -0.047260113060474396, 0.28720924258232117, 0.5056028962135315, -0.629084050655365, -0.15755468606948853, -0.5574150681495667, 0.8534988760948181, -0.2456449270248413, -0.22978779673576355, 0.03692837432026863, -0.714695394039154, 0.28613728284835815, -0.027940137311816216, -0.014284598641097546, 0.34328991174697876, 0.15447069704532623, 0.2797045409679413, -0.9874981045722961, 0.7660524249076843, 0.046688731759786606, -0.22108198702335358, 0.11353602260351181, 0.034274619072675705, 0.7095902562141418, 0.46629437804222107, -0.08852620422840118, -0.01755569502711296, 0.0202022697776556, -0.24665023386478424, -1.1388208866119385, 0.5045046806335449, -0.38102853298187256, -0.36983752250671387, -0.20260606706142426, -0.4105831980705261, -0.3712158799171448, -0.08734160661697388, 0.5765148997306824, 0.9404251575469971, -0.43463194370269775, -0.08997365087270737, 0.4927501976490021, -0.4627975523471832, -0.2971724569797516, 0.4312436580657959, 0.4264860451221466, -0.6838061213493347, 0.8538480401039124, 0.06602664291858673, 0.33738815784454346, 0.269233375787735, 0.038314320147037506, -0.5684913992881775, -0.7920499444007874, -0.8803945183753967, 0.3126263916492462, -0.8596392273902893, -0.24390751123428345, -0.703423798084259, -0.4372953772544861, -0.8118446469306946, -0.30925247073173523, -0.04559199884533882, -0.5050397515296936, -0.5327879786491394, -0.19408178329467773, 0.13287565112113953, 0.4949935972690582, 0.034647922962903976, 0.18499287962913513, -1.205557107925415, 0.7145414352416992, 0.12143850326538086, 0.11760222166776657, -0.07276573032140732, -0.3130275011062622, -0.032411910593509674, 0.36493468284606934, -0.2699951231479645, -0.6657617092132568, 0.7542950510978699, 0.06599262356758118, 0.56779944896698, 0.20857326686382294, 0.0908278375864029, 0.9946385622024536, -0.49544063210487366, 0.7061119675636292, 0.2348986268043518, -0.6822549700737, 0.683944821357727, -0.6107452511787415, 0.14506536722183228, 0.5455726981163025, 0.04313431307673454, -0.5406914353370667, -0.5801551342010498, -0.9178900122642517, -0.7444945573806763, 0.5107287764549255, 0.48631197214126587, 0.1000932976603508, -0.04808419197797775, 0.5246756076812744, 0.300802618265152, 0.16122397780418396, -0.09643878042697906, -0.1754174381494522, -0.4015379548072815, -0.6604591012001038, 0.04511042311787605, -0.053966596722602844, -0.5411338210105896, -0.21603885293006897, 0.44334372878074646, -0.05839060992002487, 0.3427387773990631, 0.5616551637649536, -0.06742335855960846, 0.07109767198562622, 0.007641557138413191, 0.8023716807365417, 0.609366238117218, 0.0025593650061637163, 0.029435841366648674, 0.022623708471655846, -0.654609739780426, 0.09395800530910492, 0.19626712799072266, -0.19082781672477722, 0.400829017162323, 0.45529112219810486, 0.8693095445632935, -0.3274134695529938, -0.7936221957206726, 0.35064804553985596, -0.25068846344947815, -0.3482370376586914, -0.5039330720901489, 0.1370140016078949, -0.0050832056440413, -0.22022314369678497, -0.06928321719169617, 0.09119182825088501, 0.2302127480506897, -0.4360317587852478, 0.37277752161026, 0.09389285743236542, -0.1364220529794693, -0.14616383612155914, 0.5986996293067932, 0.05548669770359993, -0.3141176700592041, 0.7365991473197937, 0.11275514215230942, -0.07526413351297379, 0.7648287415504456, 0.730256974697113, 0.6653613448143005, -0.1645994633436203, 0.4224990904331207, 0.3888162672519684, -0.07194321602582932, -0.22392654418945312, 0.0893288180232048, -0.08396740257740021, -0.06369134783744812, -0.2501264214515686, -0.5551772117614746, -0.5832780003547668, 0.3697148263454437, -0.8467727899551392, 0.33033373951911926, -0.3640168607234955, 0.06491702049970627, 0.13193292915821075, -0.552050769329071, -0.523281455039978, 0.5633797645568848, 0.07250334322452545, 0.7164410352706909, -0.704494297504425, 0.6318324208259583, 0.4659682810306549, -0.6095141768455505, -0.643403947353363, -0.015505081973969936, -0.04995129629969597, -0.6319953203201294, 0.27970921993255615, -0.24565154314041138, 0.22806423902511597, -0.1462852507829666, 0.10156390815973282, -0.4455212950706482, 1.196252465248108, 0.2864653468132019, -0.5246077179908752, -0.3115549087524414, 0.6221681237220764, 1.208451747894287, -0.3565064072608948, 0.29431307315826416, 0.5103868246078491, 0.2045614868402481, 0.32749781012535095, -0.5485588908195496, 0.3931564688682556, -0.5825032591819763, 0.19962354004383087, -0.11245036125183105, -0.11221936345100403, 0.46512922644615173, 0.09034056216478348, -0.25534093379974365, 0.18562637269496918, 0.2415841817855835, 0.11974691599607468, 0.2314685434103012, 0.1376250833272934, 0.426497220993042, 0.8826801180839539, -0.040422361344099045, 1.1763124465942383, -0.22175855934619904, -0.21461009979248047, 1.03141188621521, -0.16429835557937622, 0.1382436901330948, 0.10591995716094971, -0.14570260047912598, 0.6054159998893738, 0.2545192241668701, -0.2389184981584549, 0.08599436283111572, 0.44147393107414246, -0.638310968875885, -0.17059992253780365, -0.13903671503067017, -0.3789951801300049, 0.23014014959335327, 0.5842761993408203, -0.9347397089004517, -0.08191395550966263, 0.08250022679567337, -0.29836854338645935, 0.11374277621507645, 0.18231092393398285, 1.0323081016540527, -0.0704401284456253, -0.9920974373817444, 0.7708649635314941, -0.061413489282131195, -0.09196619689464569, -0.6182626485824585, -0.4243011474609375, -0.233114555478096, -0.029185304418206215, -0.28743600845336914, -0.41116371750831604, 0.4392837882041931, 0.1474524885416031, -0.16105443239212036, -0.6188467144966125, 0.37459665536880493, -0.5416094064712524, -0.6761493682861328, -0.3640209436416626, 0.2606888711452484, -0.24824705719947815, 0.22988756000995636, -0.4012881815433502, -0.3454008996486664, -0.14026641845703125, 0.25571081042289734, 0.26137933135032654, 0.5447897911071777, -0.07938012480735779, 0.22031323611736298, 1.1101974248886108, 0.614690899848938, 0.004572740755975246, 0.4727845788002014, 0.7649998664855957, -0.2840862274169922, -0.6537569165229797, -0.6589829921722412, 0.5278971791267395, -0.4783496856689453, -0.37293675541877747, 0.37816110253334045, 0.7285066246986389, 0.40754374861717224, -0.3566855490207672, 1.0252071619033813, 0.2303244024515152, 0.6295470595359802, -0.6654857993125916, 0.7988046407699585, -0.27719753980636597, 0.22504626214504242, 0.0402604378759861, -0.14718815684318542, -0.5503131747245789, 0.19998988509178162, 0.11318325251340866, -0.4647175371646881, 0.5039981007575989, 0.9133264422416687, -0.2064548134803772, 0.08044791221618652, 0.15539142489433289, 0.05435551702976227, 0.6342450380325317, 0.330950528383255, 0.6751430630683899, -0.4929144084453583, 0.41439735889434814, -0.4266945719718933, -0.037481680512428284, -0.17158319056034088, -0.6891984343528748, -0.47973504662513733, -0.43053627014160156, -0.4437941610813141, -0.5454738736152649, 0.23688115179538727, 0.6979701519012451, 0.6365318298339844, -0.7061461210250854, 0.31907209753990173, -0.6542780995368958, -0.46235522627830505, -0.17795394361019135, -0.17049217224121094, 0.5884311199188232, -0.3258567452430725, -0.5688706636428833, 0.43474239110946655, 0.3258228302001953, 0.6780939698219299, -0.10549914091825485, -0.10170502960681915, 0.2924429774284363, -0.06289094686508179, 0.2826225459575653, 0.30536720156669617, -0.667294979095459, 0.41238483786582947, 0.0869741141796112, -0.3944433033466339, 0.2778833508491516, 0.9831224083900452, -0.7759169340133667, 0.8481561541557312, 0.5288020968437195, 0.5520864129066467, 0.6902967095375061, 0.47600993514060974, 1.0449775457382202, -0.7655704021453857, -0.243009552359581, 0.6726961135864258, 0.07094404846429825, 0.3545302450656891, -0.7051150798797607, 0.42191648483276367, 0.2964003384113312, -0.07081864774227142, -0.893744170665741, -0.0563478097319603, -0.8187151551246643, 0.006655162200331688, 0.9543659687042236, -0.30231064558029175, 0.06341931223869324, -0.3281994163990021, -0.29058244824409485, 0.5727369785308838, 0.13516314327716827, 1.0747506618499756, 0.29880616068840027, -0.46439144015312195, 0.2417834848165512, -0.403526246547699, 0.8490464687347412, 0.31113681197166443, -1.0863484144210815, 0.17776595056056976, 0.6632332801818848, -0.03008541651070118, 0.2067156583070755, 0.6427094340324402, -0.4796616733074188, 0.7267886400222778, 0.12182506173849106, -0.2953462302684784, -0.41456711292266846, -0.004791031125932932, -0.3386610448360443, 0.15242598950862885, -0.44662877917289734, -0.06311987340450287 ]
http://arxiv.org/abs/2406.01457v1
http://arxiv.org/pdf/2406.01457v1
Differentially Private Tabular Data Synthesis using Large Language Models
2024-06-03T15:43:57
2024-06-03T15:43:57
Toan V. Tran, Li Xiong
cs.LG
cs.LG, cs.CL, cs.CR
Synthetic tabular data generation with differential privacy is a crucial problem to enable data sharing with formal privacy. Despite a rich history of methodological research and development, developing differentially private tabular data generators that can provide realistic synthetic datasets remains challenging. This paper introduces DP-LLMTGen -- a novel framework for differentially private tabular data synthesis that leverages pretrained large language models (LLMs). DP-LLMTGen models sensitive datasets using a two-stage fine-tuning procedure with a novel loss function specifically designed for tabular data. Subsequently, it generates synthetic data through sampling the fine-tuned LLMs. Our empirical evaluation demonstrates that DP-LLMTGen outperforms a variety of existing mechanisms across multiple datasets and privacy settings. Additionally, we conduct an ablation study and several experimental analyses to deepen our understanding of LLMs in addressing this important problem. Finally, we highlight the controllable generation ability of DP-LLMTGen through a fairness-constrained generation setting.
[ -0.25262314081192017, -0.7635945081710815, 0.6378130912780762, 0.20000207424163818, -0.14313295483589172, 0.4104222059249878, -0.25298160314559937, -0.09914431720972061, -0.23738141357898712, 0.6504993438720703, -0.7693080902099609, -0.8367577791213989, -0.28867286443710327, 0.03945246711373329, -0.6138284802436829, 1.026562213897705, -0.1667199432849884, 0.03354364633560181, 0.16621866822242737, 0.2535875141620636, -0.09070815145969391, -0.6606482863426208, -0.01302606426179409, -0.027073107659816742, 0.5407053232192993, 0.4564443826675415, 0.5676174163818359, 0.977605402469635, 0.4139873683452606, 0.3232164680957794, 0.18105342984199524, 0.20876498520374298, -0.7590649127960205, 0.31811216473579407, 0.028701959177851677, -0.5049168467521667, -0.6348777413368225, -0.033539846539497375, 1.0555838346481323, 0.6945438981056213, -0.2974647581577301, 0.1925322562456131, 0.21255315840244293, 0.9133960604667664, -0.4111657738685608, 0.10290426760911942, -1.1656785011291504, 0.38606908917427063, -0.5320771336555481, -0.13861116766929626, -0.450975626707077, -0.815409243106842, -0.32850146293640137, -0.20855674147605896, 0.5403890013694763, 0.11275272071361542, 0.2685345709323883, 0.2546488642692566, -0.349697470664978, 0.14382921159267426, -0.862271785736084, 0.5792899131774902, -0.5788633227348328, 0.584455668926239, 0.2954308092594147, 0.32430824637413025, -0.5099791288375854, -0.7986115217208862, -0.7041924595832825, -0.4929736256599426, -0.088715560734272, -0.28254926204681396, -0.04266006499528885, 0.15131284296512604, 0.22392022609710693, 0.4804808795452118, -0.6584059000015259, 0.3887384831905365, -0.32417866587638855, -0.13939428329467773, 0.7249296307563782, 0.4431200623512268, -0.06445033848285675, 0.05840333178639412, -0.1419091820716858, 0.006763167213648558, -0.9852691888809204, -0.31356388330459595, 0.9535571932792664, 0.4497770071029663, -0.1972878873348236, 0.6062616109848022, -0.2787860035896301, 0.47677797079086304, 0.0362824872136116, 0.015900036320090294, 0.04391104727983475, -0.05722248926758766, -0.3262290060520172, 0.22412025928497314, 0.7358408570289612, 0.25161096453666687, 0.11962234973907471, -0.27832600474357605, -0.1527305543422699, 0.21648503839969635, -0.023227617144584656, -0.8093231916427612, -0.2732618451118469, 0.22211283445358276, -0.13825654983520508, -0.7756386399269104, -0.17315062880516052, -0.9895176887512207, -0.5785313844680786, -0.2453734278678894, 0.18138913810253143, 0.13339143991470337, -0.09942497313022614, 0.014556282199919224, 0.17110824584960938, -0.32691627740859985, 0.029966620728373528, -1.033104419708252, 0.6798545122146606, 0.5751522183418274, 0.5021978616714478, -0.4063294231891632, -0.18007168173789978, -0.6605895161628723, 0.507729709148407, -0.44536739587783813, 0.25967979431152344, -0.45307254791259766, -0.4897516369819641, 0.12366453558206558, -0.017226871103048325, 0.45311638712882996, -0.6340097188949585, 0.10073152929544449, -0.29781776666641235, 0.1581539660692215, -0.11046391725540161, -0.23362086713314056, 0.21314261853694916, 0.056128520518541336, -0.5938352942466736, 0.5307629108428955, 0.2244800627231598, -0.6462029218673706, 0.4807185232639313, -0.5222986340522766, -0.36913001537323, 0.054533351212739944, -0.6264128088951111, -0.813800036907196, 0.3210781514644623, -0.18692193925380707, 0.542807400226593, -0.19053710997104645, 0.5589221119880676, -0.4458146095275879, -0.10530433803796768, 0.613865077495575, -0.5264647603034973, 0.3290542662143707, 0.26235127449035645, -0.5541786551475525, -0.117316834628582, -0.9978983402252197, -0.025830792263150215, 0.14049793779850006, -0.314314067363739, 0.04911371320486069, -0.1025627925992012, -0.14600954949855804, 0.008610062301158905, 0.27519795298576355, -0.5096058249473572, 0.19153860211372375, -0.3354138731956482, 0.3736981451511383, 0.9857473969459534, -0.07506618648767471, 0.6051769256591797, -0.2859337627887726, 0.487815260887146, -0.01463730912655592, 0.16389191150665283, 0.4131391942501068, -0.051071491092443466, -0.1459289938211441, -0.3191092610359192, 0.5610361695289612, 0.28111037611961365, -0.25607097148895264, 0.41774454712867737, -0.1501745581626892, -0.27981239557266235, -0.16554206609725952, -0.012514756061136723, 0.32775643467903137, 0.6300540566444397, 0.04316524416208267, -0.08412887901067734, -0.4693250358104706, -1.1932188272476196, -0.03850235044956207, 0.23822161555290222, -0.008982888422906399, 0.4394777715206146, 0.15322642028331757, -0.0964510515332222, 0.5845958590507507, -0.6245381236076355, -0.49522730708122253, -0.2976864278316498, -0.07035022974014282, 0.07575003802776337, 0.6972586512565613, 0.38244497776031494, -0.5826513171195984, -0.6276854872703552, 0.001369639066979289, -0.388906866312027, -0.36645615100860596, -0.0524895079433918, -0.32253700494766235, 0.29172787070274353, 0.11634837836027145, -0.40314769744873047, 0.5260944366455078, 0.7273472547531128, -0.14891815185546875, 0.29686781764030457, -0.27728918194770813, 0.09733272343873978, -0.7507018446922302, 0.0031558480113744736, -0.30802595615386963, -0.4433344900608063, -0.7304650545120239, -0.0017310481052845716, 0.0928322896361351, -0.32941171526908875, -0.6924263834953308, 0.429334431886673, -0.4191981256008148, -0.2246331125497818, -0.19288106262683868, -0.07129604369401932, -0.032414939254522324, 0.49495604634284973, -0.09537124633789062, 0.5654619336128235, 0.39087778329849243, -0.6643049120903015, 0.14742493629455566, 0.4087132513523102, -0.10079455375671387, 0.09245993942022324, -0.4364585876464844, 0.07042751461267471, -0.095547616481781, 0.2807656228542328, -0.7336063385009766, -0.3902199864387512, 0.40417876839637756, -0.1708008199930191, 0.5705541372299194, -0.19129496812820435, -0.6156231164932251, -0.14522503316402435, -0.28636837005615234, 0.32172998785972595, 0.8367303609848022, -0.4544227123260498, 0.2592936158180237, 0.7338874340057373, -0.29353034496307373, -0.5506523847579956, -1.10685133934021, -0.008196830749511719, -0.46916601061820984, -0.4379275143146515, 0.7423732280731201, -0.03134562820196152, -0.40166735649108887, -0.174527108669281, -0.25712040066719055, -0.20731239020824432, -0.029695099219679832, 0.22123587131500244, -0.006739635486155748, 0.4668690264225006, -0.09982763975858688, 0.5274419188499451, -0.12303853034973145, 0.0617796890437603, -0.08226815611124039, 0.7330948114395142, 0.15033383667469025, -0.19363205134868622, -0.44747093319892883, 0.49641141295433044, 0.0742252916097641, -0.20064713060855865, 0.6915507316589355, 0.39178532361984253, -0.29393646121025085, -0.7822282314300537, -0.44659000635147095, -0.18600690364837646, -0.6135345697402954, 0.3335350751876831, -0.18871933221817017, -0.7082472443580627, 0.6584817171096802, -0.03452610597014427, 0.2490692138671875, -0.0710480734705925, 0.8007346391677856, 0.23341163992881775, 0.9474044442176819, 0.5624654293060303, 0.2528538107872009, 0.3737892210483551, -0.2449924349784851, 0.01571531593799591, -0.37373217940330505, -0.134746253490448, -0.5960655808448792, -0.6126075387001038, -1.1406176090240479, -0.11585388332605362, 0.5385432243347168, -0.43250811100006104, -0.26343992352485657, -0.0740048736333847, -0.677948534488678, 0.5250840783119202, 0.48931920528411865, 0.3280700147151947, 0.40337935090065, 0.21444296836853027, 0.005575912073254585, -0.15847332775592804, -0.3076377809047699, -0.4343041479587555, 1.1757224798202515, 0.269600510597229, 1.0579830408096313, 0.09856413304805756, 1.24839448928833, 0.24267995357513428, 0.19054514169692993, -0.08990196138620377, 0.7850322127342224, -0.6173157691955566, -0.6118913888931274, -0.3080858290195465, -0.8303283452987671, -0.8205184936523438, -0.021785322576761246, -0.11924217641353607, -0.6433658003807068, 0.06548432260751724, 0.4964061975479126, -0.09764004498720169, 0.18175052106380463, -0.6324899792671204, 0.7033087611198425, -0.155424103140831, -0.9460020065307617, -0.05414557084441185, -0.553169846534729, 0.5505394339561462, -0.4186409115791321, 0.16008363664150238, -0.2947239279747009, 0.22801357507705688, 0.4815686345100403, -0.355876624584198, 0.7583582401275635, -0.6345498561859131, -0.23713594675064087, 0.032427720725536346, 0.5799082517623901, 0.6657308340072632, 0.5246715545654297, -0.1099630743265152, 0.19442935287952423, -0.16431450843811035, 0.033475685864686966, -0.29728272557258606, 1.0747079849243164, -0.45173677802085876, -0.79813551902771, -0.12669984996318817, -0.6598008871078491, -0.34312695264816284, 0.3191167116165161, 0.15097616612911224, 0.4298956096172333, -0.04834451153874397, 0.33042752742767334, 0.5500702857971191, -0.5561872720718384, 0.229302778840065, 0.592866837978363, -0.23962098360061646, -0.25647398829460144, 0.8279964923858643, 0.26089808344841003, 0.04894273728132248, 0.46455612778663635, 0.36816340684890747, -0.6240142583847046, -0.9158731698989868, -0.3382115364074707, 0.13594184815883636, -0.21835578978061676, -0.2763447165489197, -0.5240004658699036, -0.2399732768535614, -0.3213551342487335, -0.03261249139904976, -0.5195174813270569, -0.6849035620689392, -0.1686193346977234, -0.40484651923179626, 0.3589473068714142, 0.3942556381225586, -0.5600853562355042, 0.10677818953990936, -0.7905556559562683, 0.7078302502632141, 0.1999717801809311, 0.726747989654541, -0.28889331221580505, -0.20186156034469604, 0.09338512271642685, 0.11065183579921722, -0.48708227276802063, -0.9680517315864563, 0.6941728591918945, 0.05679319426417351, 0.5231854319572449, -0.22652576863765717, 0.5277231335639954, 0.43213340640068054, -0.8921816945075989, 0.5959659814834595, -0.1703910380601883, -0.901497483253479, 0.26392027735710144, -0.6237161755561829, -0.12749533355236053, 0.6375962495803833, 0.1004415974020958, 0.06493344902992249, -0.7465367317199707, -0.4492892026901245, -0.9372725486755371, 0.6055004000663757, 0.3948501944541931, 0.23670315742492676, 0.39897507429122925, 0.3655141294002533, 0.7378891706466675, 0.6505584716796875, -1.0898557901382446, -0.27795907855033875, -0.004531301092356443, -0.400934100151062, 0.06501724570989609, -0.016402101144194603, -0.48406416177749634, 0.05661874637007713, 0.3973352611064911, 0.24736323952674866, 0.2161833941936493, 0.03042803704738617, 0.2105179876089096, -0.28796419501304626, 0.4426494240760803, 0.5479090809822083, 0.6255767941474915, -0.2730059027671814, 0.08625008910894394, -0.12520477175712585, -0.39731594920158386, 0.3998291492462158, 0.49204516410827637, -0.1944962590932846, -0.0943489596247673, -0.5082007050514221, 0.44362035393714905, -0.42319610714912415, -0.4016760289669037, 0.3267748951911926, -0.35095348954200745, -0.6075147390365601, -0.46160122752189636, 0.14308343827724457, -0.2169799953699112, 0.15161378681659698, 0.20015743374824524, -0.4152251183986664, 0.2132141888141632, -0.21355536580085754, 0.4199404716491699, 0.442888468503952, 0.1982850879430771, -0.25607991218566895, 1.0960928201675415, 0.08601163327693939, -0.18170613050460815, 0.32237112522125244, -0.1917056292295456, 0.0006734704948030412, 0.253406822681427, 0.34647977352142334, 0.9378610253334045, -0.19750404357910156, 0.39954885840415955, -0.22265195846557617, 0.12094169855117798, 0.1682860106229782, 0.4622034430503845, -0.14816948771476746, -0.3561992049217224, -0.10982568562030792, -0.8008294105529785, -0.4501630663871765, 0.5389899611473083, -0.5189763903617859, 0.07942651212215424, -0.6227971911430359, -0.09774882346391678, -0.18362100422382355, 0.053336139768362045, -0.7309684157371521, 0.10009513795375824, 0.07881762087345123, 0.28935134410858154, -0.6144042015075684, 0.7630670666694641, 0.04931974038481712, 0.1698899269104004, -0.6311644315719604, 0.06537973135709763, -0.0921861082315445, -0.7299372553825378, 0.6228159070014954, -0.052473604679107666, 0.19721223413944244, 0.07614126801490784, -0.3629392683506012, -0.48182806372642517, 0.8286899328231812, 0.6501438617706299, -1.1050143241882324, -0.04355922341346741, 0.8620269298553467, 0.6129713654518127, -0.0636722669005394, -0.64119553565979, 0.5210770964622498, 0.6019002199172974, -0.24669045209884644, -0.7790613174438477, 0.265855073928833, 0.2204454243183136, -0.15296390652656555, 0.2928127944469452, -0.5638044476509094, 0.8107646107673645, 0.16618628799915314, -0.12900786101818085, -0.0904337540268898, 0.35784584283828735, 0.4599565267562866, 0.41312748193740845, 0.21589922904968262, 0.298168420791626, 0.5136715173721313, -0.08629418909549713, 0.5977047681808472, -0.5184093117713928, -0.021407542750239372, 1.0394978523254395, -0.697886049747467, 0.31856614351272583, 0.4122922718524933, -0.08947435021400452, -0.03200746327638626, 0.2589331567287445, -0.006634420715272427, 0.9022004008293152, 0.7949557304382324, -0.39683523774147034, 0.1652117371559143, 0.01185576617717743, -0.6565602421760559, 0.3219335675239563, 0.2850249707698822, -0.6234766840934753, -0.10799936205148697, -0.16685904562473297, -0.03526347875595093, 0.3264799416065216, -0.13610899448394775, 0.6331679224967957, -0.007729746401309967, -0.2691560387611389, 0.6085227131843567, 0.12541131675243378, 0.26365625858306885, -0.5230919718742371, 0.10704948753118515, -0.41013583540916443, 0.34804606437683105, -0.2323145568370819, -0.5988754034042358, 0.45176681876182556, 0.2337169200181961, 0.09010668843984604, -0.5049346089363098, 0.33955806493759155, -0.6714162826538086, -0.39173224568367004, -0.18164868652820587, 0.5552623271942139, -0.015509292483329773, 0.23548638820648193, -0.46722596883773804, 0.27306464314460754, 0.19205226004123688, -0.4023342430591583, 0.7250816822052002, 0.5699560642242432, 0.1689463108778, 0.33609235286712646, 0.6222456097602844, 0.4102798402309418, 0.10157430917024612, 0.22183838486671448, 1.1613819599151611, -0.6169472336769104, -0.8144435882568359, -0.9285324215888977, 0.609958291053772, 0.17727799713611603, 0.11808160692453384, 0.6697754859924316, 0.5414823293685913, 0.7635334134101868, -0.23386703431606293, 1.0554900169372559, 0.130522683262825, 0.6713597178459167, -0.684683620929718, 0.9358508586883545, -0.5459561347961426, 0.41827794909477234, -0.2707849442958832, -0.9434314966201782, -0.4624602496623993, 0.35690972208976746, -0.17039477825164795, -0.09498750418424606, 0.37469035387039185, 1.0193533897399902, 0.03614906594157219, -0.27802979946136475, 0.42043963074684143, 0.46066954731941223, 0.693820595741272, 0.41357284784317017, 0.976784348487854, -0.11352569609880447, 0.5657615065574646, -0.5715860724449158, -0.2942448854446411, 0.2631802260875702, -1.0271166563034058, -0.8562304973602295, -0.5279038548469543, -0.1841886192560196, -0.15458090603351593, 0.20692121982574463, 0.7032688856124878, 0.5763625502586365, -0.3829330801963806, -0.17907749116420746, -0.640613853931427, -0.03471694886684418, 0.3457702100276947, -0.2369215190410614, 0.29851633310317993, 0.18012532591819763, -0.9099180698394775, 0.4368308186531067, 0.07107574492692947, 0.48157599568367004, -0.5251191854476929, 0.2646036446094513, 0.6125659942626953, -0.16009950637817383, 0.07039576023817062, 0.07950390130281448, -0.2383849024772644, -0.02587953209877014, -0.21028859913349152, 0.08542677760124207, 0.05766426771879196, 0.774355947971344, -0.5678015947341919, 0.10205613821744919, 0.4274086654186249, 0.3863053321838379, 0.6301746964454651, 0.15385623276233673, 0.7009788155555725, -1.2066924571990967, 0.520779550075531, 0.4719797968864441, 0.12821893393993378, 0.189968541264534, -0.7535544633865356, 0.17281930148601532, -0.060605794191360474, -0.9658146500587463, -1.4676588773727417, 0.4817740321159363, -0.8577595949172974, -0.09382864832878113, 1.0979729890823364, 0.0982259213924408, -0.2832016050815582, 0.16527171432971954, -0.10890895128250122, 0.2539694011211395, -0.7555500268936157, 1.2701091766357422, -0.002813120372593403, -0.2803678512573242, 0.08960392326116562, -0.315710186958313, 0.7772080302238464, -0.03878803178668022, -0.8273094892501831, 0.6531647443771362, 0.7959049940109253, 0.15659759938716888, -0.40807345509529114, 0.7378630042076111, -0.5166283845901489, -0.06527731567621231, 0.03874312713742256, -0.28565844893455505, -0.5555926561355591, -0.5334897637367249, -0.15512555837631226, 0.29694727063179016, -0.10081900656223297, -0.21268579363822937 ]
http://arxiv.org/abs/2406.01446v1
http://arxiv.org/pdf/2406.01446v1
Enabling ASR for Low-Resource Languages: A Comprehensive Dataset Creation Approach
2024-06-03T15:38:40
2024-06-03T15:38:40
Ara Yeroyan, Nikolay Karpov
cs.CL
cs.CL, cs.LG, eess.AS, eess.SP
In recent years, automatic speech recognition (ASR) systems have significantly improved, especially in languages with a vast amount of transcribed speech data. However, ASR systems tend to perform poorly for low-resource languages with fewer resources, such as minority and regional languages. This study introduces a novel pipeline designed to generate ASR training datasets from audiobooks, which typically feature a single transcript associated with hours-long audios. The common structure of these audiobooks poses a unique challenge due to the extensive length of audio segments, whereas optimal ASR training requires segments ranging from 4 to 15 seconds. To address this, we propose a method for effectively aligning audio with its corresponding text and segmenting it into lengths suitable for ASR training. Our approach simplifies data preparation for ASR systems in low-resource languages and demonstrates its application through a case study involving the Armenian language. Our method, which is "portable" to many low-resource languages, not only mitigates the issue of data scarcity but also enhances the performance of ASR models for underrepresented languages.
[ -0.2570134103298187, -0.09616091847419739, 0.035150252282619476, -0.10352988541126251, -0.43016019463539124, 0.15679165720939636, -0.500128448009491, -0.3171009123325348, 0.25433436036109924, 0.5120569467544556, -0.5098956823348999, -0.3238830864429474, -0.3916705846786499, 0.23134943842887878, -0.5295953154563904, 0.9342419505119324, 0.09366229921579361, 0.0003819455741904676, -0.014345178380608559, -0.62114417552948, -0.45160412788391113, -0.38224753737449646, -0.6793275475502014, -0.29528093338012695, 0.11780296266078949, 0.7598941326141357, 0.3777911961078644, 1.280640721321106, 0.5025058388710022, 0.2624864876270294, -0.10023808479309082, 0.0872204378247261, -0.003519980004057288, 0.24494588375091553, 0.17024832963943481, -0.015334971249103546, -0.21754015982151031, -0.48876115679740906, 0.9547693729400635, 0.8682920336723328, -0.4288119673728943, 0.5283056497573853, 0.2252787947654724, 0.8912544250488281, -0.5493723154067993, -0.2298622727394104, -0.4171459376811981, 0.13589179515838623, -0.7381065487861633, 0.011838396079838276, 0.05252475664019585, -0.0830112025141716, 0.1622384935617447, -0.6358415484428406, 0.49856480956077576, 0.0040838406421244144, 0.41747358441352844, 0.5366299152374268, -0.2219662070274353, -0.4874129891395569, -1.0449177026748657, 0.9149640202522278, -0.5867807269096375, 0.4636041522026062, 0.4820495843887329, 0.48777157068252563, 0.38370728492736816, -0.3088121712207794, -0.6386887431144714, 0.10494089871644974, -0.007577487267553806, -0.24927669763565063, -0.03204522281885147, -0.22457413375377655, 0.33618491888046265, 0.3766965866088867, -0.682634174823761, 0.028743872418999672, -0.535052478313446, -0.13705533742904663, 0.6411780714988708, 0.30909398198127747, 0.3179203271865845, -0.2691994607448578, 0.15125764906406403, -0.207142174243927, -0.4840344488620758, 0.26122280955314636, 0.4896411895751953, 0.8509601950645447, -0.10372717678546906, 0.7336097359657288, -0.21857184171676636, 0.724083662033081, -0.06299762427806854, -0.3569530248641968, 0.34295645356178284, -0.3555384576320648, 0.015752676874399185, 0.7409988045692444, 0.7792201638221741, -0.08580434322357178, -0.006697688717395067, 0.09490661323070526, -0.4510466754436493, 0.1530720442533493, 0.06414760649204254, -0.5639827251434326, -0.1279059797525406, 0.14627361297607422, -0.5257673859596252, 0.0054722679778933525, -0.31222373247146606, -0.610019326210022, -0.38281869888305664, -0.38116830587387085, 0.2331087589263916, -0.4623596966266632, -0.05210350081324577, 0.08927560597658157, -0.05263955146074295, 0.018416883423924446, -0.017909370362758636, -1.116135597229004, 0.7117230892181396, 0.28784090280532837, 0.9195621609687805, -0.08034639805555344, -0.049981094896793365, -0.8745735883712769, 0.40261754393577576, -0.13129980862140656, 0.8442245721817017, -0.5675941109657288, -0.42104822397232056, 0.103000707924366, -0.22935929894447327, 0.2902376055717468, -0.5715035200119019, 0.6641636490821838, -0.17240528762340546, -0.08726757764816284, -0.2010185569524765, -0.43036332726478577, 0.16068072617053986, 0.07219110429286957, -0.8261300921440125, 0.983962893486023, -0.22209253907203674, -0.6091613173484802, 0.2493482083082199, -0.6896358132362366, -0.716037392616272, 0.049495745450258255, -0.4232746660709381, -0.3625640869140625, -0.2093907743692398, 0.4426632523536682, 0.11424217373132706, -0.4444723427295685, -0.1399562805891037, 0.36965689063072205, -0.3674715757369995, 0.1133158877491951, -0.48608288168907166, 0.5859023928642273, 0.27580323815345764, -0.17228445410728455, -0.21140863001346588, -1.0308609008789062, 0.013257049024105072, -0.019446156919002533, -0.758095383644104, -0.44175493717193604, 0.2112646996974945, 0.4319400191307068, -0.25067779421806335, 0.18488499522209167, -0.8658942580223083, 0.029843632131814957, -0.4669361710548401, 0.25956809520721436, 0.4264433979988098, -0.17681358754634857, 0.5594676733016968, -0.249605193734169, 0.5159929394721985, -0.24780453741550446, -0.1408929079771042, -0.24587196111679077, 0.07428090274333954, -0.843501091003418, -0.3401009142398834, 0.47195425629615784, 0.6618286967277527, -0.6183179616928101, 0.5707567930221558, -0.35997530817985535, -0.29663461446762085, -0.777431309223175, 0.3849855661392212, 0.6464176774024963, 0.4351336658000946, 0.4390071928501129, -0.5033623576164246, -0.7075537443161011, -0.7471125721931458, -0.008942250162363052, 0.02772330678999424, -0.33914920687675476, 0.4089148938655853, -0.016922088339924812, -0.15099719166755676, 0.7938482761383057, -0.33846384286880493, -0.5744217038154602, -0.4439486265182495, -0.20839495956897736, 0.29713115096092224, 0.7118067145347595, 0.17164209485054016, -0.5054139494895935, -0.5043423175811768, 0.18247191607952118, -0.371111661195755, -0.10729983448982239, 0.13915838301181793, 0.09069431573152542, 0.18984998762607574, 0.5087354183197021, -0.10273473709821701, 0.05083056166768074, 0.4478457272052765, -0.20144367218017578, 0.21465687453746796, -0.08981268852949142, 0.03687320649623871, -0.9582370519638062, 0.22024789452552795, -0.09920191764831543, -0.09160809963941574, -0.6939370036125183, -0.8081486225128174, -0.3792889416217804, -0.3883521556854248, -0.18816792964935303, 0.6862659454345703, -0.4099360406398773, -0.23169797658920288, -0.20715099573135376, 0.04652019590139389, -0.155925914645195, 0.13855871558189392, 0.2866668701171875, 0.5410014986991882, 0.41774314641952515, -0.5403262972831726, 0.2820287048816681, 0.8526368141174316, -0.6038413047790527, 0.3149917423725128, -0.4967639744281769, 0.2013855278491974, -0.07484955340623856, 0.027840686962008476, -0.4464600682258606, -0.32952821254730225, 0.1616622507572174, -0.32965824007987976, 0.4983820915222168, -0.42869287729263306, -0.27174094319343567, -0.057764746248722076, 0.23851656913757324, 0.921242892742157, 0.5549907684326172, -0.4177175462245941, 0.6057262420654297, 0.7747530937194824, -0.671310544013977, -0.8136921525001526, -0.7028022408485413, -0.08456791937351227, -0.3893100619316101, -0.3828064203262329, 0.14812248945236206, 0.1751347929239273, -0.19484513998031616, -0.02901734597980976, -0.2624458372592926, -0.32963165640830994, -0.3167880177497864, 0.02948807366192341, -0.003035471076145768, -0.3513803780078888, 0.2786945104598999, -0.004517397843301296, -0.2847902178764343, -0.43746957182884216, -0.35508882999420166, 0.356123685836792, 0.031567350029945374, -0.4769640266895294, -0.5417782664299011, 0.671082079410553, 0.28969481587409973, -0.4650641083717346, 0.16657719016075134, 0.4211183488368988, -0.36867672204971313, -0.36052343249320984, -0.5104275345802307, -0.0011393539607524872, -0.4690910279750824, 0.15873956680297852, -0.04029203578829765, -0.7091633677482605, 0.41520071029663086, 0.2697419822216034, 0.0720631405711174, 0.1994788497686386, 0.3763628900051117, -0.03225266933441162, 0.6179641485214233, 0.6174416542053223, -0.2130822241306305, 0.8751013278961182, -0.22543543577194214, 0.021826349198818207, -0.7025083303451538, -0.24836231768131256, -0.7923389673233032, -0.3575815260410309, -0.3774092197418213, -0.424808531999588, 0.2913525700569153, -0.37240204215049744, -0.33963990211486816, 0.2338101714849472, -0.6074236631393433, 0.7859165072441101, 0.7214483022689819, -0.043948765844106674, 0.30644547939300537, 0.24387769401073456, 0.20834487676620483, -0.03328604996204376, -0.7767542600631714, -0.7934877276420593, 1.0191586017608643, 0.07280827313661575, 0.8133255243301392, 0.22065536677837372, 0.7729436159133911, 0.47985824942588806, -0.34183770418167114, -0.990853488445282, 0.22798720002174377, -0.6471489667892456, -0.48745742440223694, -0.8779241442680359, -0.32574930787086487, -0.8508243560791016, -0.17581437528133392, -0.12155554443597794, -0.44302934408187866, 0.3407152593135834, 0.37873518466949463, -0.7907009720802307, 0.041820038110017776, -0.4234793186187744, 0.683800995349884, -0.32219502329826355, -0.03685983642935753, -0.02433772198855877, -0.7198460102081299, -0.1689886897802353, -0.11957862973213196, 0.25087159872055054, -0.24363923072814941, 0.09138338267803192, 1.142379641532898, -0.5088006854057312, 0.6343883275985718, -0.28479042649269104, 0.4115859270095825, 0.5683736801147461, -0.009711754508316517, 0.23065833747386932, -0.15302738547325134, -0.12803317606449127, 0.08995002508163452, -0.04477614909410477, -0.5093759298324585, -0.312212735414505, 0.17680977284908295, -0.7340283393859863, 0.011824085377156734, -0.46474263072013855, -0.4903402030467987, -0.36276665329933167, 0.16853801906108856, 0.19753451645374298, 0.8621256947517395, -0.3802637457847595, 0.20708206295967102, 0.6854767799377441, -0.37216681241989136, 0.4968857169151306, 0.5357091426849365, 0.41961708664894104, -0.5444110035896301, 1.0693161487579346, 0.2337193787097931, -0.047798335552215576, 0.21962793171405792, 0.16952194273471832, -0.2378564029932022, -0.6953781247138977, -0.581508219242096, 0.0051146917976439, -0.44207853078842163, -0.27321118116378784, -0.4122381806373596, -0.2501618564128876, -0.21037378907203674, -0.32299524545669556, -0.6795545220375061, -0.6147754788398743, -0.11411445587873459, 0.12774819135665894, 0.4645717740058899, 0.6402993202209473, -0.3762030601501465, 0.43406468629837036, -1.114390254020691, 0.3078964650630951, 0.3116215467453003, 0.2770603597164154, -0.005654032342135906, -0.6343417763710022, -0.6623544692993164, -0.20114225149154663, -0.02762899175286293, -0.22958922386169434, 0.4794381856918335, 0.6228416562080383, 0.4307631850242615, 0.413936585187912, 0.1879207193851471, 0.6162089705467224, -1.0721055269241333, 0.6623009443283081, 0.25756174325942993, -0.9840112924575806, 0.7496329545974731, -0.4345044791698456, 0.2270272821187973, 0.8138101696968079, 0.08431557565927505, -0.7618176937103271, -0.2047797441482544, -0.3248516023159027, -1.035627007484436, 0.9849590063095093, 0.36830899119377136, 0.1674208641052246, 0.2516009509563446, -0.02797728218138218, 0.31636476516723633, 0.19534911215305328, -0.28510478138923645, -0.13276886940002441, -0.34719136357307434, -0.6284121870994568, -0.2436675727367401, -0.08433862775564194, -0.2719806432723999, -0.08346535265445709, 0.7520994544029236, -0.1308918595314026, 0.12130353599786758, 0.015131374821066856, -0.09812546521425247, -0.15697816014289856, 0.29801642894744873, 0.24376793205738068, 0.08739859610795975, -0.15331530570983887, 0.05528837442398071, 0.003550874534994364, -0.6613053679466248, 0.61008620262146, 0.426941841840744, 0.14316833019256592, 0.030057480558753014, 0.5122890472412109, 0.7519443035125732, -0.12318200618028641, -0.9523665904998779, 0.33951035141944885, -0.13076846301555634, 0.12695883214473724, -0.571099042892456, -0.01684682071208954, -0.1133960485458374, 0.43026480078697205, 0.36327052116394043, 0.04939188435673714, 0.23221217095851898, -0.18268869817256927, 0.28281766176223755, 0.08154866844415665, -0.2861842215061188, -0.07921769469976425, 0.3728778660297394, 0.41697511076927185, -0.5038420557975769, 0.8783783912658691, 0.05708039179444313, -0.1915605068206787, 0.5490835905075073, 0.33941930532455444, 0.7723947167396545, -0.3319926857948303, 0.053850773721933365, 0.43005409836769104, 0.17781195044517517, -0.20261986553668976, 0.13362720608711243, -0.38040024042129517, -0.8657148480415344, -0.30736398696899414, -1.0126551389694214, -0.4571390151977539, 0.13878943026065826, -0.9165398478507996, 0.24943807721138, -0.30692654848098755, -0.0367361418902874, 0.0324343703687191, 0.006005562376230955, -0.6319413185119629, 0.18086880445480347, 0.4039495587348938, 0.7557937502861023, -1.1527410745620728, 0.7216790318489075, 0.5789797306060791, -0.23570874333381653, -0.7538162469863892, 0.08476095646619797, 0.13878998160362244, -0.5207962989807129, 0.47900262475013733, 0.001874720212072134, -0.13289882242679596, -0.12530072033405304, -0.12189102172851562, -1.031673789024353, 0.8567141890525818, 0.482808917760849, -0.6971085667610168, 0.05874932184815407, 0.26307213306427, 0.4999343454837799, -0.38621118664741516, -0.4764062762260437, 0.6979089379310608, 0.12501321732997894, 0.26817694306373596, -0.9309055209159851, -0.1914469450712204, -0.4061053395271301, -0.0031898021697998047, 0.2437743842601776, -0.45201680064201355, 0.3136022090911865, 0.013866680674254894, -0.1975427269935608, 0.09986764937639236, 0.5570945739746094, 0.2590896487236023, 0.2458602786064148, 0.5177315473556519, 0.40421414375305176, 0.8795018792152405, 0.15861152112483978, 0.8390940427780151, -0.11828521639108658, -0.08434122800827026, 1.279701828956604, -0.2591190040111542, 0.8351050615310669, 0.2793198823928833, -0.015617633238434792, 0.158342644572258, 0.5530735850334167, -0.019867021590471268, 0.7395124435424805, 0.13206660747528076, -0.6834025979042053, -0.4021708071231842, -0.5043578743934631, -0.11213111877441406, 0.7174230217933655, 0.3107536733150482, -0.1599544733762741, 0.0069769336842000484, 0.15086813271045685, -0.32764315605163574, 0.13044524192810059, -0.40573516488075256, 0.9655320644378662, 0.09949822723865509, -0.0539344884455204, 0.36071646213531494, -0.32219868898391724, 0.4063979387283325, -0.6260908246040344, 0.045733723789453506, -0.14961278438568115, 0.13992875814437866, -0.12921744585037231, -0.4552232325077057, 0.45286864042282104, 0.6070882081985474, -0.6164340376853943, -0.19680358469486237, 0.4905529320240021, -0.6442273259162903, -0.7617023587226868, -0.03778751567006111, 0.48997315764427185, 0.230951726436615, 0.47406673431396484, -0.35215479135513306, 0.2085919976234436, -0.07472121715545654, -0.004486643709242344, 0.1416359394788742, 0.5473251938819885, 0.0493408665060997, 0.41353684663772583, 0.5209329128265381, 0.41789501905441284, -0.13831976056098938, 0.026098083704710007, 0.7294550538063049, -0.5142621994018555, -0.6275774836540222, -0.5695781111717224, 0.6285352110862732, 0.056637462228536606, -0.07581198960542679, 0.42710158228874207, 0.7625935077667236, 0.82846599817276, 0.0657864585518837, 1.162184238433838, -0.23439176380634308, 0.8799458146095276, -0.5481684803962708, 0.9067723155021667, -0.5658190846443176, 0.3168790936470032, -0.25281667709350586, -0.7675057649612427, -0.3357854187488556, 0.823047935962677, -0.08671804517507553, -0.2516799569129944, 0.369367778301239, 0.6055561304092407, -0.20263539254665375, -0.2361053228378296, 0.08213665336370468, -0.14714522659778595, 0.1471591740846634, 0.25814852118492126, 0.5961742401123047, -0.31132060289382935, 0.9735051393508911, -0.1634531170129776, -0.09069058299064636, 0.03138623386621475, -0.6539604663848877, -0.7179432511329651, -0.7212597727775574, -0.2129366099834442, -0.13945768773555756, 0.032524142414331436, 1.1924558877944946, 0.5934664607048035, -1.074878215789795, -0.6219561696052551, 0.20098945498466492, -0.15911097824573517, -0.14330770075321198, -0.06879572570323944, 0.5154560804367065, -0.08054451644420624, -0.6650775671005249, 0.6179982423782349, 0.01967957429587841, 0.21536797285079956, 0.1899929940700531, -0.3144715130329132, 0.09634298086166382, 0.000790622434578836, 0.21141231060028076, 0.685805082321167, -0.24713510274887085, -0.13530480861663818, -0.2768215239048004, 0.105994313955307, 0.2636328637599945, 0.9770714640617371, -0.6537819504737854, 0.5817293524742126, 0.21414722502231598, 0.8728384971618652, 0.5150167346000671, 0.047426220029592514, 0.7024969458580017, -1.118690013885498, 0.31119441986083984, 0.6242803335189819, 0.2495674192905426, 0.7744507193565369, -0.21959051489830017, 0.41655534505844116, -0.04919227585196495, -0.5160456299781799, -1.0378525257110596, 0.13921065628528595, -0.8667938709259033, 0.26591452956199646, 1.0983799695968628, 0.10080718249082565, -0.043527811765670776, -0.19868846237659454, -0.21023309230804443, 0.528386652469635, -0.6635973453521729, 0.6941306591033936, 0.4848525822162628, -0.2445778101682663, 0.13596908748149872, -0.40621286630630493, 0.787192165851593, -0.02869747206568718, -0.4860953986644745, 0.4375236928462982, 0.7105101346969604, 0.2307220846414566, 0.37309837341308594, 0.8112370371818542, 0.0870017558336258, 0.16245582699775696, 0.23944421112537384, 0.2594159245491028, -0.05426355451345444, -0.37154915928840637, -0.5788816809654236, -0.19303758442401886, 0.14181359112262726, -0.3480631411075592 ]
http://arxiv.org/abs/2406.01441v2
http://arxiv.org/pdf/2406.01441v2
LexMatcher: Dictionary-centric Data Collection for LLM-based Machine Translation
2024-06-03T15:30:36
2024-07-02T08:00:23
Yongjing Yin, Jiali Zeng, Yafu Li, Fandong Meng, Yue Zhang
cs.CL
cs.CL
The fine-tuning of open-source large language models (LLMs) for machine translation has recently received considerable attention, marking a shift towards data-centric research from traditional neural machine translation. However, the area of data collection for instruction fine-tuning in machine translation remains relatively underexplored. In this paper, we present LexMatcher, a simple yet effective method for data curation, the design of which is driven by the coverage of senses found in bilingual dictionaries. The construction process comprises data retrieval from an existing corpus and data augmentation that supplements the infrequent senses of polysemous words. Utilizing LLaMA2 as our base model, our approach outperforms the established baselines on the WMT2022 test sets and also exhibits remarkable performance in tasks related to word sense disambiguation and specialized terminology translation. These results underscore the effectiveness of LexMatcher in enhancing LLM-based machine translation. The code, data, and models are available at https://github.com/ARIES-LM/Lexmatcher-MT.git.
[ -0.5198221206665039, -0.4883195459842682, 0.6098409295082092, -0.06038709729909897, -0.372795432806015, 0.10646297037601471, -0.38804811239242554, -0.09493865072727203, 0.3114559054374695, 0.3743951916694641, -0.4734542965888977, -0.9054207801818848, -0.6925261616706848, 0.20012259483337402, -0.5304278135299683, 0.9487282633781433, -0.14283044636249542, -0.07678927481174469, -0.1517842710018158, -0.41050294041633606, -0.3202422559261322, -0.5442101955413818, -0.3427348732948303, -0.4207473397254944, 0.6065440773963928, 0.5973830819129944, 0.7418573498725891, 0.8502870798110962, 0.3452177345752716, 0.25055932998657227, -0.16459272801876068, 0.6392029523849487, -0.4023822247982025, 0.13195455074310303, -0.3004187047481537, -0.6926167011260986, -0.5107352137565613, -0.06047641858458519, 0.6011985540390015, 0.7616354823112488, -0.2099580019712448, 0.1877371072769165, 0.02659105695784092, 0.7211315631866455, -0.5450018048286438, 0.11910872161388397, -0.7703028917312622, 0.0001683256559772417, -0.6223396062850952, -0.1352173089981079, -0.42386874556541443, -0.07428962737321854, -0.7238125801086426, -0.6966730952262878, 0.19940555095672607, 0.03630814701318741, 0.4611354470252991, 0.5164457559585571, -0.37502026557922363, -0.3337700068950653, -0.4034717082977295, 0.7957944869995117, -0.7042077779769897, 0.5235242247581482, 0.5846747756004333, 0.20319485664367676, -0.10829532146453857, -0.6928710341453552, -0.6578933000564575, -0.0742245614528656, -0.006686767563223839, 0.2575185000896454, -0.26366275548934937, -0.20555329322814941, 0.31883004307746887, 0.4064622223377228, -0.40804049372673035, 0.32022106647491455, -0.03972044214606285, -0.04984952136874199, 0.4820901155471802, 0.37809035181999207, 0.1987285166978836, 0.04204385355114937, -0.20534327626228333, -0.15711264312267303, -0.6449484825134277, -0.008408086374402046, 0.2597437798976898, 0.296420156955719, -0.09812358766794205, 0.883884072303772, -0.27672839164733887, 0.7586791515350342, -0.02552185021340847, 0.17318831384181976, 0.36336225271224976, -0.5600799918174744, 0.07980570197105408, -0.0057420069351792336, 0.6338787078857422, 0.45722177624702454, 0.27966398000717163, -0.3291368782520294, -0.4918033480644226, 0.03803790360689163, 0.18236669898033142, -0.9669676423072815, -0.08556690812110901, 0.17287597060203552, -0.16160793602466583, -0.3368527293205261, 0.31830310821533203, -0.5510396957397461, -0.4402913749217987, -0.6595218181610107, 0.025914950296282768, -0.4748244881629944, -0.1970681995153427, 0.2746308445930481, -0.056710608303546906, 0.04847406595945358, 0.07469896227121353, -0.824406623840332, 0.4424000382423401, 0.9785099625587463, 0.8780820369720459, -0.40496838092803955, -0.20077182352542877, -1.126301884651184, -0.020207013934850693, -0.4794865846633911, 0.5244075059890747, -0.4619966149330139, -0.5318617224693298, 0.057637885212898254, 0.10053719580173492, 0.09010997414588928, -0.738520085811615, 0.48153507709503174, -0.46345800161361694, -0.23385024070739746, -0.22517941892147064, -0.8460317254066467, 0.08944743871688843, 0.12157025933265686, -0.6047829389572144, 1.065895676612854, 0.12940329313278198, -0.6861927509307861, 0.2821361720561981, -0.5299963355064392, -0.7019796371459961, 0.24234424531459808, -0.16721214354038239, -0.399453729391098, 0.5730281472206116, 0.26330360770225525, 0.3299429416656494, -0.20456957817077637, 0.3087226450443268, -0.20259490609169006, -0.4631691575050354, 0.3629615902900696, -0.1496862918138504, 0.6250686049461365, 0.2779991924762726, -0.17060650885105133, -0.06797970086336136, -0.8266143202781677, -0.10064584761857986, 0.1706351637840271, -0.3526709973812103, -0.5580808520317078, 0.10828081518411636, 0.12584754824638367, -0.11421415954828262, 0.5058337450027466, -0.6968595385551453, 0.29924577474594116, -0.37781763076782227, 0.2456919103860855, 0.4472155272960663, -0.4169912338256836, 0.5085684061050415, -0.3890582025051117, 0.48844805359840393, 0.16837459802627563, -0.04956073686480522, -0.18344193696975708, -0.3150745928287506, -0.9098261594772339, -0.21512898802757263, 0.262594610452652, 0.5040375590324402, -0.7164352536201477, 0.5600706338882446, -0.3487795889377594, -0.5381061434745789, -0.6718776226043701, 0.6156822443008423, 0.30133843421936035, 0.5854005813598633, 0.5658511519432068, -0.20991985499858856, -0.36259573698043823, -0.7318347692489624, -0.13902968168258667, 0.15123216807842255, -0.15825630724430084, 0.12288865447044373, 0.2346060425043106, -0.5666977167129517, 0.8975334763526917, -0.3985197842121124, -0.31427785754203796, -0.33171138167381287, 0.0747382715344429, 0.35731109976768494, 0.22800347208976746, 0.3624187111854553, -0.479836106300354, -0.3165859878063202, 0.06695649772882462, -0.6548024415969849, -0.5052536725997925, 0.16782386600971222, -0.11358289420604706, 0.18738983571529388, 0.6455901861190796, -0.48992863297462463, 0.18452639877796173, 0.5736242532730103, -0.18439114093780518, 0.394120454788208, -0.25585007667541504, -0.3522643446922302, -1.370769739151001, 0.3206799328327179, -0.22003555297851562, -0.3304555416107178, -0.6383479237556458, 0.13885292410850525, 0.5075334310531616, 0.21185332536697388, -0.3669688105583191, 0.5935698747634888, -0.27447184920310974, 0.021588420495390892, -0.4681709110736847, 0.24005457758903503, 0.07006549090147018, 0.12085053324699402, -0.09251049160957336, 1.0054810047149658, 0.3582274317741394, -0.47612228989601135, 0.39116474986076355, 0.3337130546569824, -0.4018237888813019, 0.7073076367378235, -0.5734104514122009, 0.3161413073539734, -0.07942286878824234, -0.16430962085723877, -0.6648571491241455, -0.06865556538105011, 0.05930979177355766, -0.36963948607444763, 0.33686742186546326, -0.17762422561645508, -0.9346044063568115, -0.10791359096765518, -0.1683010309934616, 0.1870720088481903, 0.4026024639606476, -0.8393674492835999, 0.21134063601493835, 0.4719257950782776, -0.13941101729869843, -0.1991943120956421, -0.7604523301124573, 0.25412288308143616, -0.1354421079158783, -0.2739178240299225, 0.35603466629981995, -0.15340957045555115, -0.4574572443962097, -0.2547418475151062, -0.226201593875885, 0.14728215336799622, 0.2736990451812744, 0.20020157098770142, 0.14555492997169495, 0.008339597843587399, 0.3650555908679962, 0.21474513411521912, -0.3081439435482025, -0.008831572718918324, -0.1309337019920349, 0.5667948126792908, -0.15611152350902557, -0.5211867094039917, -0.1538054645061493, 0.26615533232688904, 0.4912903904914856, -0.5088695287704468, 0.5354553461074829, 0.6623393893241882, -0.1364760845899582, -0.47908100485801697, -0.3873954117298126, -0.32182639837265015, -0.4520792067050934, 0.21245047450065613, -0.6006160974502563, -0.8278589248657227, 0.2652444541454315, -0.18455761671066284, 0.06119171157479286, 0.1313411444425583, 0.49358847737312317, -0.08778153359889984, 1.069480061531067, 0.4863477051258087, -0.4723442494869232, 0.28657999634742737, -0.20170146226882935, 0.06075229123234749, -0.817373514175415, 0.10446305572986603, -0.39596277475357056, -0.3687744736671448, -0.45004719495773315, -0.4434047341346741, 0.2646654546260834, 0.07861924171447754, 0.01978323794901371, 0.4628629684448242, -0.3475455343723297, 0.2783585488796234, 0.751213788986206, -0.09838608652353287, 0.6463350653648376, 0.05011938139796257, -0.34073567390441895, -0.13068392872810364, -0.48843860626220703, -0.5125802755355835, 1.1669433116912842, 0.1458059549331665, 0.6837275624275208, 0.06325141340494156, 0.8569446206092834, 0.052542638033628464, 0.22794529795646667, -1.0763976573944092, 0.5243340134620667, -0.3682976961135864, -0.10283050686120987, -0.025119654834270477, -0.46186065673828125, -0.7867186665534973, 0.0990411564707756, 0.10543248057365417, -0.1775277554988861, -0.06421312689781189, -0.0421440564095974, -0.00238632969558239, 0.2497914731502533, -0.240744948387146, 0.622912585735321, -0.4293479025363922, -0.35699716210365295, -0.1978132277727127, -0.3328665494918823, 0.177879199385643, -0.5558642745018005, 0.25924408435821533, -0.23525592684745789, -0.3334186375141144, 0.3753470778465271, -0.7379118204116821, 0.6737763285636902, -0.3542052209377289, -0.24049264192581177, -0.10234656184911728, 0.3310820460319519, 0.6235299110412598, 0.23366300761699677, -0.3212599754333496, 0.4187587797641754, -0.007196045946329832, -0.07795096188783646, -0.4685259759426117, 0.6183174252510071, -0.44845274090766907, -0.4088663160800934, -0.1540798842906952, -0.9474015235900879, -0.3292984366416931, 0.2686680853366852, 0.05550922453403473, 0.25795382261276245, -0.11746436357498169, 0.37815332412719727, 0.5500401258468628, -0.16577011346817017, 0.15143661201000214, 0.8938595652580261, -0.3415040373802185, -0.20680081844329834, 0.9519495368003845, -0.09845730662345886, 0.06078287214040756, 0.43122178316116333, 0.11193624883890152, -0.3291787803173065, -0.6600324511528015, -0.42376986145973206, 0.21614062786102295, -0.3212144672870636, -0.43295130133628845, -0.28879621624946594, -0.170009583234787, -0.08223973214626312, 0.06724973767995834, -0.4612817168235779, -0.23291417956352234, -0.2831113934516907, -0.07834606617689133, 0.6600103974342346, 0.4843890070915222, -0.16391901671886444, 0.4795054495334625, -0.6923720240592957, 0.41723355650901794, 0.07713481038808823, 0.3471693694591522, -0.6152057647705078, -0.6301631331443787, -0.38510245084762573, 0.28663507103919983, -0.08359241485595703, -0.4623469412326813, 0.5876780152320862, 0.12455316632986069, 0.33846715092658997, 0.40378743410110474, 0.1054365485906601, 0.6168862581253052, -0.549425482749939, 0.2522183954715729, -0.03441610559821129, -0.9399547576904297, 0.601262629032135, -0.19858583807945251, 0.3990270793437958, 0.7495107650756836, 0.023163968697190285, -0.7257071137428284, -0.6432168483734131, -0.1521621197462082, -0.6560424566268921, 0.6655476689338684, 0.07603964954614639, 0.19105032086372375, -0.12966866791248322, 0.14203955233097076, 0.152837872505188, 0.20015612244606018, -0.06209130585193634, -0.12722668051719666, -0.08371437340974808, -0.6069631576538086, -0.6102848052978516, -0.15366560220718384, -0.18520964682102203, -0.28870296478271484, 0.3497391939163208, -0.32976070046424866, -0.2538222372531891, -0.10346304625272751, -0.5195209383964539, 0.11576897650957108, 0.253546804189682, 0.4011722207069397, 0.3284744322299957, -0.19620968401432037, 0.420976847410202, 0.1226264238357544, -0.5478278398513794, -0.06682955473661423, 0.38346177339553833, -0.29507023096084595, 0.23183229565620422, -0.011004234664142132, 0.6138052344322205, 0.15341587364673615, -0.8154670000076294, 0.5563652515411377, 0.16524669528007507, -0.22562532126903534, -0.20462018251419067, 0.05627158656716347, 0.2590934932231903, 0.10065102577209473, 0.019499294459819794, -0.1765870898962021, 0.11147473007440567, -0.08516841381788254, 0.38035309314727783, 0.3887414038181305, -0.13447953760623932, -0.3706558048725128, 0.7812442779541016, -0.12718819081783295, -0.11231353133916855, 0.7083163857460022, -0.21345749497413635, -0.17064854502677917, 0.5164249539375305, 0.5600897073745728, 0.481262743473053, -0.05163026601076126, 0.042293284088373184, 0.25611168146133423, 0.2903740704059601, -0.019682396203279495, 0.36440402269363403, -0.3430933654308319, -0.8273223638534546, -0.16770800948143005, -0.8691778779029846, -0.4756263196468353, 0.03647990897297859, -0.7687487602233887, 0.26499053835868835, -0.2740982174873352, -0.12451779842376709, -0.2198830395936966, 0.05134155601263046, -0.6190671324729919, -0.24612723290920258, 0.2843148708343506, 1.2305123805999756, -0.6280006170272827, 1.2304189205169678, 0.6215802431106567, -0.4713377356529236, -0.5041484832763672, -0.2273445576429367, 0.17831698060035706, -1.1269326210021973, 0.5763342976570129, 0.2135067731142044, -0.09377554059028625, 0.30732262134552, -0.3502654433250427, -0.5810320377349854, 1.0024805068969727, 0.31920385360717773, -1.0269057750701904, 0.30268949270248413, 0.6993898749351501, 0.4812728464603424, -0.06910968571901321, -0.06801802664995193, 0.842735767364502, 0.6755236983299255, -0.07750116288661957, -0.6593348979949951, -0.10163435339927673, -0.4960761070251465, 0.10807912796735764, 0.2557706832885742, -0.2737804353237152, 0.5507699251174927, -0.020205996930599213, -0.14665587246418, 0.1370328813791275, 0.3527621924877167, 0.4742128551006317, 0.19852067530155182, 0.5775222182273865, 1.043058156967163, 0.8318848609924316, -0.06926272064447403, 0.9407435655593872, -0.6484877467155457, 0.08305909484624863, 1.3754150867462158, -0.32237496972084045, 0.89774090051651, 0.7645201086997986, -0.11963561177253723, 0.029437610879540443, 0.36078861355781555, -0.26576101779937744, 0.48099130392074585, 0.3250125050544739, -0.30425044894218445, -0.16465777158737183, -0.23168179392814636, -0.1433190554380417, 0.5302983522415161, 0.520854115486145, -0.2519649565219879, -0.29736295342445374, -0.014167161658406258, 0.1796671450138092, 0.20948126912117004, -0.10892167687416077, 0.8575423359870911, 0.24957023561000824, -0.507687509059906, 0.5628082156181335, 0.183071106672287, 0.6603183746337891, -0.3756023645401001, 0.10171102732419968, -0.7818722128868103, 0.4195680320262909, -0.08583170175552368, -0.851544201374054, 0.4195324778556824, 0.2374495565891266, -0.034675225615501404, -0.43007799983024597, 0.43119311332702637, -0.6323043704032898, -0.6029604077339172, 0.4123407304286957, 0.7403743267059326, 0.2297113537788391, -0.28067195415496826, -0.43932807445526123, 0.29249024391174316, -0.28240031003952026, -0.06402716040611267, 0.15879197418689728, 0.4522677958011627, 0.07194697111845016, 0.3347376883029938, 0.7480420470237732, 0.31451672315597534, 0.1928330957889557, 0.5677246451377869, 0.7723696231842041, -0.5275055170059204, -0.012980068102478981, -0.8151952624320984, 0.4415574073791504, 0.046687230467796326, -0.04086470976471901, 0.7414739727973938, 0.8987467885017395, 0.9759034514427185, 0.011523486115038395, 0.7480085492134094, 0.1543179452419281, 0.6537778377532959, -0.3738539516925812, 0.8371458053588867, -0.7502796053886414, 0.14571388065814972, 0.28798237442970276, -0.7528085708618164, -0.4117969572544098, 0.3223233222961426, -0.10223430395126343, -0.3805597722530365, 0.4273959994316101, 1.1767834424972534, -0.40494099259376526, -0.2280014306306839, 0.33199799060821533, 0.12659181654453278, 0.27205678820610046, 0.516274094581604, 0.6730213761329651, -0.2799413204193115, 0.38013190031051636, -0.3998972475528717, -0.2843247950077057, -0.40427684783935547, -0.5810855031013489, -0.7665903568267822, -0.5671305060386658, 0.10735499858856201, 0.09671101719141006, -0.055822037160396576, 0.6541900038719177, 0.4525199234485626, -0.7989721894264221, -0.3555147647857666, -0.4517556428909302, -0.08059775084257126, -0.11658062785863876, -0.10402233898639679, 0.05755169317126274, -0.9841546416282654, -1.0135009288787842, 0.7443728446960449, 0.15465623140335083, -0.14407707750797272, -0.010371006093919277, -0.1980462670326233, 0.3008268177509308, -0.1734485626220703, 0.688994824886322, 0.08724597096443176, -0.5652074217796326, 0.19642037153244019, 0.17534783482551575, -0.3636215925216675, 0.06983208656311035, 0.5444027781486511, -0.5638934373855591, 0.6927177906036377, 0.3062191307544708, 0.8924936652183533, 0.5510240793228149, -0.03615344688296318, 0.45272138714790344, -0.6304906010627747, 0.2266540229320526, -0.028844565153121948, 0.601231038570404, 0.34996673464775085, -0.0640551745891571, 0.561280369758606, 0.25884270668029785, -0.17047333717346191, -0.7334829568862915, 0.12287191301584244, -1.0814610719680786, -0.03698664531111717, 1.229780912399292, 0.1598229706287384, 0.009983095340430737, 0.14470013976097107, -0.2228669375181198, 0.34962937235832214, -0.2029300034046173, 0.6916809678077698, 0.5363250970840454, 0.3170377314090729, -0.08606497943401337, -0.7440255284309387, 0.15871229767799377, 0.6338798999786377, -0.8106947541236877, 0.20090167224407196, 0.5193572640419006, 0.2541157901287079, -0.13827723264694214, 0.34322917461395264, -0.20402789115905762, 0.0073429592885077, -0.2580523192882538, 0.2041938751935959, -0.5674737095832825, -0.3069891631603241, -0.37846940755844116, -0.11230040341615677, 0.15391139686107635, -0.3118252754211426 ]
http://arxiv.org/abs/2406.01436v1
http://arxiv.org/pdf/2406.01436v1
Editing the Mind of Giants: An In-Depth Exploration of Pitfalls of Knowledge Editing in Large Language Models
2024-06-03T15:28:21
2024-06-03T15:28:21
Cheng-Hsun Hsueh, Paul Kuo-Ming Huang, Tzu-Han Lin, Che-Wei Liao, Hung-Chieh Fang, Chao-Wei Huang, Yun-Nung Chen
cs.CL
cs.CL
Knowledge editing is a rising technique for efficiently updating factual knowledge in Large Language Models (LLMs) with minimal alteration of parameters. However, recent studies have identified concerning side effects, such as knowledge distortion and the deterioration of general abilities, that have emerged after editing. This survey presents a comprehensive study of these side effects, providing a unified view of the challenges associated with knowledge editing in LLMs. We discuss related works and summarize potential research directions to overcome these limitations. Our work highlights the limitations of current knowledge editing methods, emphasizing the need for deeper understanding of inner knowledge structures of LLMs and improved knowledge editing methods. To foster future research, we have released the complementary materials such as paper collection publicly at https://github.com/MiuLab/EditLLM-Survey
[ -0.5037224292755127, -0.9044716358184814, 0.5782307386398315, -0.30682069063186646, 0.08876684308052063, 0.25344765186309814, -0.48182228207588196, -0.6011348366737366, 0.27469247579574585, 0.8651049733161926, -0.2980101406574249, -0.3222750127315521, -0.8672835826873779, 0.06830156594514847, -0.37630710005760193, 1.2013682126998901, -0.15075528621673584, -0.022398095577955246, -0.2881280183792114, -0.291059285402298, -0.6039417386054993, -0.5967385172843933, -0.7896943688392639, -0.11445926874876022, 0.4466352164745331, 0.22148428857326508, 1.083269715309143, 0.35344940423965454, 0.5226296782493591, 0.30242016911506653, -0.8856111168861389, 0.30597206950187683, -0.6145678162574768, -0.03384184092283249, -0.5101367235183716, -0.4710071384906769, -0.7939433455467224, -0.0898510292172432, 0.9420015215873718, 0.7454168200492859, -0.08032379299402237, 0.09695249050855637, 0.01965518482029438, 0.9521153569221497, -0.5748425722122192, -0.05947829410433769, -0.6945822238922119, 0.029463114216923714, -0.44049128890037537, -0.010401088744401932, -0.08273938298225403, -0.33271023631095886, 0.3255249261856079, -0.5553789138793945, 0.08971492946147919, 0.143045574426651, 0.46451517939567566, 0.5213423371315002, -0.1786521077156067, -0.6454414129257202, -0.6061962842941284, 0.569584846496582, -0.6694671511650085, 0.33735939860343933, 0.1702846884727478, 0.07627040147781372, -0.22808794677257538, -0.49610280990600586, -0.8591467142105103, -0.007064399309456348, -0.03761084005236626, -0.10986669361591339, -0.3707621395587921, 0.2895929217338562, 0.6057553887367249, 0.589321494102478, -0.2511726915836334, 0.19030462205410004, -0.6088281869888306, -0.0757424533367157, 0.5264885425567627, 0.1879601627588272, 0.6809705495834351, -0.23070774972438812, 0.13966305553913116, -0.02253761887550354, -1.0923752784729004, -0.15682482719421387, 0.5831258296966553, -0.08860769867897034, 0.29513874650001526, 0.7967052459716797, -0.158738374710083, 0.9909446835517883, 0.08785166591405869, -0.08411353081464767, -0.17634110152721405, 0.06968338042497635, -0.440591424703598, -0.051998503506183624, 0.4874227046966553, 0.5748669505119324, -0.060976460576057434, -0.2897833287715912, -0.05353451892733574, -0.27040553092956543, 0.2024402767419815, -0.4283170998096466, -0.06639911979436874, 0.12790916860103607, -0.1314934343099594, -0.18945133686065674, -0.36901041865348816, -0.8372749090194702, -0.8866255283355713, -0.14078091084957123, 0.46528327465057373, -0.4564761519432068, -0.05127173289656639, 0.5651524066925049, -0.16015325486660004, -0.1215081512928009, 0.5478063821792603, -0.8342320919036865, 0.2598409056663513, 0.5262109637260437, 0.4670184552669525, 0.051700472831726074, -0.37174922227859497, -0.03336444869637489, 0.2552352249622345, -0.44738122820854187, 0.6515708565711975, -0.38834500312805176, -0.6721245646476746, -0.23022349178791046, -0.3830392360687256, 0.0912991464138031, -0.6535665392875671, 0.675255537033081, -0.9009392857551575, 0.26256048679351807, -0.7553088068962097, -0.7480632066726685, -0.39697492122650146, 0.28647685050964355, -0.7306432127952576, 0.3475141227245331, 0.11447037011384964, -0.9505231976509094, 0.05557936429977417, -0.6907234191894531, -0.22679200768470764, -0.16490162909030914, 0.0241731908172369, -0.020515749230980873, 0.36641958355903625, 0.35741886496543884, 0.3795274496078491, -0.23984010517597198, 0.20678561925888062, -0.0771283358335495, -0.011467832140624523, 0.40967169404029846, 0.001555352471768856, 0.8405987620353699, 0.14991728961467743, 0.1453230232000351, 0.1430576741695404, -0.35100993514060974, -0.22845475375652313, 0.005418968852609396, -0.21531891822814941, -0.5434805154800415, 0.017388084903359413, -0.44532185792922974, 0.14176329970359802, 0.3030858635902405, -0.41373005509376526, 0.7286487221717834, -0.11951851844787598, 0.3882399797439575, 0.7943280339241028, 0.31187453866004944, 0.5165002942085266, -0.4161756634712219, 0.5491876006126404, -0.029138930141925812, 0.3047133684158325, 0.19059152901172638, -0.3760649859905243, -0.71626216173172, 0.19412434101104736, 0.4482468068599701, 0.5499727725982666, -0.9581096172332764, 0.26811349391937256, -0.2917538285255432, -0.6301738023757935, -0.5427982807159424, 0.3689012825489044, 0.44107890129089355, 0.4805317223072052, 0.33479273319244385, -0.1491813361644745, -0.3343067765235901, -0.9951903223991394, -0.7756512761116028, -0.15690165758132935, 0.2262447029352188, 0.24735835194587708, 0.5522950887680054, -0.558090090751648, 0.8309326767921448, -0.8827783465385437, -0.40806150436401367, -0.23281501233577728, -0.18320555984973907, 0.053499866276979446, 0.5226985812187195, 0.48423925042152405, -0.5289067029953003, -0.15473851561546326, -0.008480069227516651, -0.5738953948020935, -0.027646740898489952, -0.048501431941986084, 0.07525739818811417, 0.13950291275978088, 0.47245168685913086, -1.010298728942871, 0.12940408289432526, 0.757876992225647, -0.22912292182445526, 0.89031982421875, -0.16375747323036194, 0.3870530128479004, -0.8777236342430115, -0.16397953033447266, -0.1225830689072609, 0.2232857346534729, -0.6113258600234985, 0.3694196939468384, 0.15132899582386017, 0.025887005031108856, -0.33933261036872864, 0.4786778688430786, -0.4997009336948395, 0.17633044719696045, -0.11837102472782135, 0.13401062786579132, -0.12786540389060974, 0.2022506445646286, -0.29911401867866516, 0.7910290956497192, 0.49694955348968506, -0.5569025278091431, 0.496389240026474, 0.46633243560791016, -0.6770397424697876, 0.46227407455444336, -0.4067491590976715, 0.35523295402526855, -0.39561519026756287, 0.14209076762199402, -0.6322904229164124, -0.3787904977798462, 0.37927404046058655, -0.31654876470565796, 0.5594696402549744, 0.049661893397569656, -0.6270661354064941, -0.3053610324859619, -0.28867006301879883, 0.3161349594593048, 0.2839086651802063, -0.37725651264190674, 0.45063576102256775, 0.7764569520950317, -0.42246535420417786, -0.670924723148346, -0.8233526349067688, 0.5892678499221802, -0.34984344244003296, -0.5913082957267761, 0.24033582210540771, -0.3248853385448456, -0.7301474809646606, 0.23654265701770782, 0.016014350578188896, 0.022072041407227516, -0.07831307500600815, -0.26474544405937195, 0.1575240045785904, 0.3231493830680847, 0.23469705879688263, 0.360567569732666, 0.2292022705078125, 0.05973561108112335, 0.01044140662997961, 0.02303421124815941, -0.05121169239282608, -0.14772304892539978, -0.25122538208961487, 0.2207505851984024, 0.6707199215888977, -0.23350036144256592, 0.49614062905311584, -0.052299026399850845, -0.5734008550643921, -0.168172687292099, -0.9629191756248474, 0.10519134998321533, -0.4169553518295288, 0.7061877250671387, -0.2220684289932251, -1.1818060874938965, 0.45218658447265625, -0.1246010959148407, -0.04075608775019646, 0.6931434273719788, 0.2391694337129593, 0.10009763389825821, 0.7471938729286194, 0.7740528583526611, -0.2862917184829712, 0.1929297298192978, -0.24059297144412994, 0.1829645037651062, -1.2830661535263062, 0.001824879669584334, -0.46948662400245667, -0.17688602209091187, -0.5338998436927795, -0.6383231282234192, 0.5625057816505432, 0.2962905466556549, 0.21463614702224731, 0.14669382572174072, -0.36753714084625244, 0.6483380198478699, 0.006416661199182272, 0.07220838218927383, 0.6124521493911743, -0.2563927173614502, 0.1271887868642807, -0.23720437288284302, -0.7440810203552246, -0.5189417004585266, 1.1015229225158691, 0.3014528155326843, 0.8697481751441956, 0.29144108295440674, 0.292400062084198, 0.30070143938064575, 0.34243243932724, -0.779052734375, 0.5833975076675415, -0.1307668536901474, -0.9785531759262085, -0.6145859360694885, -0.3283402621746063, -0.36507827043533325, 0.2038135826587677, -0.2860853374004364, -0.7242536544799805, 0.14760266244411469, 0.3160276710987091, -0.57029128074646, 0.9705374240875244, -0.5504261255264282, 0.6413209438323975, -0.27875760197639465, -0.22839553654193878, -0.5601681470870972, -0.4324549436569214, 0.6608410477638245, -0.3530779778957367, 0.3307478129863739, 0.4019128680229187, -0.050342291593551636, 0.922343909740448, -0.02725515328347683, 0.5909162759780884, -0.03986170142889023, -0.3284192383289337, 0.34172865748405457, 0.2826915681362152, 0.7767330408096313, 0.045012664049863815, -0.14874950051307678, 0.07798724621534348, -0.1651059091091156, -0.19467008113861084, -0.7301483154296875, 0.8111943602561951, -0.7057521343231201, -0.8831131458282471, -0.2767009735107422, -0.8671290278434753, -0.5890508890151978, 0.0513276644051075, 0.09404338151216507, 0.17924357950687408, -0.35684582591056824, -0.06437287479639053, 0.9422374963760376, -0.651862382888794, 0.11057330667972565, 0.2426433116197586, -0.6132100820541382, -0.6575202345848083, 0.7966699600219727, 0.6911311745643616, 0.3135184943675995, 0.034245334565639496, 0.0018184017390012741, -0.14734891057014465, -0.9965198636054993, -0.5599071979522705, 0.361355185508728, -0.8419420123100281, 0.2924623191356659, -0.7018131017684937, 0.10554077476263046, -0.4867003858089447, -0.18205809593200684, -0.2808783948421478, -0.41228583455085754, -0.19491395354270935, -0.13329394161701202, 0.22456017136573792, 1.2170746326446533, -0.06678369641304016, 0.48696544766426086, -0.6463414430618286, 0.25571009516716003, 0.5425905585289001, 0.4649558365345001, 0.07234548032283783, -0.4712839126586914, -0.504168689250946, -0.11967775225639343, -0.28642117977142334, -0.9200205206871033, 0.1947038769721985, -0.31973138451576233, 0.40362614393234253, 0.397030770778656, -0.17494076490402222, 0.9457825422286987, -0.37745335698127747, 0.7688330411911011, 0.16222891211509705, -1.1049669981002808, 0.29096975922584534, -0.41759800910949707, 0.3892568349838257, 0.4630236327648163, 0.39100441336631775, -1.0878692865371704, -0.2610624134540558, -0.6847439408302307, -0.5665169954299927, 0.36117783188819885, -0.12080039083957672, -0.009233947843313217, 0.17879892885684967, 0.6101691126823425, 0.17407284677028656, 0.4130247235298157, -0.3563910126686096, -0.14485424757003784, 0.2504000961780548, 0.5072948336601257, -0.23986583948135376, -0.6230922341346741, -0.1351926475763321, -0.47495582699775696, 0.9038036465644836, 0.19039945304393768, -0.14202755689620972, 0.388153076171875, -0.46411746740341187, -0.34862399101257324, 0.5846587419509888, 0.7454022169113159, 1.0631393194198608, -0.07089308649301529, -0.005656762979924679, 0.7384840846061707, -0.2943499684333801, -0.24011263251304626, -0.16701442003250122, -0.33693692088127136, -0.30342286825180054, 0.23918569087982178, 0.8571717143058777, 0.06263594329357147, -0.5932194590568542, 0.10678807646036148, 0.09270627051591873, -0.1508387178182602, -0.22203928232192993, -0.014949891716241837, 0.20139022171497345, 0.25316140055656433, 0.2932582497596741, 0.39186376333236694, 0.08356699347496033, -0.4828189015388489, -0.31385982036590576, 0.3805519640445709, -0.2801036536693573, -0.3049200177192688, 0.5375849008560181, -0.07029159367084503, -0.16319304704666138, 0.4758560061454773, -0.15808100998401642, -0.47002068161964417, 0.14431074261665344, 0.226982980966568, 0.7242239713668823, -0.21183092892169952, -0.035384777933359146, 0.03141383081674576, 0.7199928164482117, -0.05042746290564537, -0.051906514912843704, 0.31573793292045593, -0.8899862766265869, -0.7560009360313416, -0.3993491530418396, -0.8497503399848938, 0.4876045286655426, -0.42830079793930054, 0.0022159162908792496, -0.5714786052703857, -0.22217808663845062, -0.1572657972574234, -0.10614825785160065, -0.5452354550361633, 0.22200150787830353, 0.061366405338048935, 0.7972204089164734, -0.5647740364074707, 0.6788092851638794, 0.9782310724258423, -0.1834138184785843, -0.41514402627944946, 0.0014521785778924823, 0.21342429518699646, -0.35754457116127014, 0.18592169880867004, -0.2978665828704834, -0.017102031037211418, 0.12744951248168945, -0.7067663073539734, -0.7732937932014465, 0.7419959902763367, 0.41315898299217224, -0.6536647081375122, -0.2865855097770691, 0.18972328305244446, 0.4550642967224121, 0.04897840693593025, -0.20719051361083984, 0.8102471232414246, 0.7327960133552551, -0.2595217227935791, -0.9122925400733948, 0.026567457243800163, 0.1801646500825882, 0.06586334854364395, 0.13918320834636688, -0.7591283321380615, 0.8947094082832336, -0.3787524104118347, -0.01938731223344803, -0.049215223640203476, 0.545637845993042, -0.12693831324577332, -0.2404002696275711, 0.5526495575904846, 1.175302267074585, 0.8808174729347229, 0.18156610429286957, 0.9916521906852722, -0.2253720462322235, 0.41033706068992615, 0.9558324217796326, -0.16095466911792755, 0.3847765028476715, 0.6206892132759094, -0.257532000541687, 0.24149967730045319, 0.3865400552749634, 0.21948590874671936, 0.03552877902984619, 0.3310679793357849, -0.4566960036754608, -0.0629296600818634, 0.07361004501581192, -0.45927074551582336, 0.2700135409832001, 0.5250985026359558, -0.07711261510848999, -0.12622876465320587, 0.0340607725083828, 0.532128095626831, 0.08741426467895508, -0.5076572895050049, 0.4421767294406891, -0.011962011456489563, -0.6109421849250793, 0.1914289891719818, 0.021350566297769547, 0.7835274934768677, -0.5213530659675598, 0.052128251641988754, 0.12045116722583771, 0.06564631313085556, -0.3000004291534424, -1.0196908712387085, 0.603175699710846, -0.02632364071905613, -0.2360408455133438, -0.26780766248703003, 0.7923452258110046, -0.2752905488014221, -0.23337700963020325, 0.29800480604171753, 0.6723060607910156, 0.10655559599399567, -0.478943407535553, -0.5656508207321167, 0.3107301890850067, -0.03125052526593208, -0.44882628321647644, 0.33142608404159546, 0.39506104588508606, 0.004690895322710276, 0.7169702649116516, 0.48811832070350647, 0.591853678226471, -0.11062503606081009, -0.2763269245624542, 0.7823507785797119, -0.9597575664520264, -0.20975683629512787, -0.8861915469169617, 0.4694047272205353, -0.008963748812675476, -0.4967738687992096, 0.816169023513794, 0.390423446893692, 1.1049872636795044, -0.3816528618335724, 0.9925042986869812, -0.3089006543159485, 0.4993881583213806, -0.4596339762210846, 1.202094316482544, -0.38309556245803833, 0.2072724848985672, -0.6231817007064819, -0.7704274654388428, -0.4766901731491089, 0.03985673189163208, -0.6211802363395691, -0.2554663419723511, 0.8437444567680359, 0.81633061170578, 0.36320656538009644, 0.06915868818759918, 0.5087831616401672, 0.7756832838058472, 0.13747623562812805, 0.3598194420337677, 0.867418110370636, -0.24109412729740143, 0.3210577964782715, -0.4664931297302246, -0.15113131701946259, 0.08820592612028122, -0.7026380300521851, -0.8280267119407654, -0.49855169653892517, -0.2878880798816681, -0.17027324438095093, 0.3492174446582794, 0.718990683555603, 0.10523559898138046, -0.5496421456336975, -0.2638697922229767, 0.3659183084964752, 0.5426861643791199, -0.18301506340503693, -0.13226355612277985, 0.4734781086444855, -0.03902827203273773, -0.8585501313209534, 0.39739903807640076, 0.18129509687423706, -0.013277214020490646, -0.41698530316352844, 0.0737682357430458, -0.11599332094192505, -0.10107887536287308, 0.8158449530601501, 0.3447621166706085, -0.6362404823303223, -0.5183688998222351, -0.2814409136772156, 0.12687160074710846, -0.28410473465919495, 0.6445820927619934, -0.4873037338256836, 0.6822364330291748, 0.4937589764595032, 0.8226298689842224, 0.1112968847155571, -0.3117324709892273, 0.33710595965385437, -0.2066100388765335, -0.20689277350902557, 0.08645613491535187, 0.5023781657218933, 0.476019024848938, -0.4944305121898651, 0.28974562883377075, 0.2939728796482086, -0.7245157361030579, -0.7272629141807556, 0.12825287878513336, -1.0104877948760986, -0.22443969547748566, 1.0826789140701294, 0.22502733767032623, -0.22035269439220428, 0.05555462837219238, -0.572846531867981, 0.3210921585559845, -0.0038811496924608946, 1.0496591329574585, 1.2024660110473633, -0.130177304148674, 0.032053250819444656, -0.9132882356643677, 0.5897859334945679, 0.26574578881263733, -0.664207398891449, 0.25311464071273804, 0.8991933465003967, 0.33005908131599426, 0.11756400018930435, 0.44264093041419983, -0.3641768991947174, 0.17331035435199738, -0.32996055483818054, 0.42279672622680664, -0.1197516992688179, -0.211584210395813, -0.5679067373275757, 0.19283263385295868, 0.33097389340400696, 0.47174233198165894 ]
http://arxiv.org/abs/2406.01428v2
http://arxiv.org/pdf/2406.01428v2
Superhuman performance in urology board questions by an explainable large language model enabled for context integration of the European Association of Urology guidelines: the UroBot study
2024-06-03T15:26:06
2024-06-04T05:39:15
Martin J. Hetz, Nicolas Carl, Sarah Haggenmüller, Christoph Wies, Maurice Stephan Michel, Frederik Wessels, Titus J. Brinker
cs.CL
cs.CL, cs.CV
Large Language Models (LLMs) are revolutionizing medical Question-Answering (medQA) through extensive use of medical literature. However, their performance is often hampered by outdated training data and a lack of explainability, which limits clinical applicability. This study aimed to create and assess UroBot, a urology-specialized chatbot, by comparing it with state-of-the-art models and the performance of urologists on urological board questions, ensuring full clinician-verifiability. UroBot was developed using OpenAI's GPT-3.5, GPT-4, and GPT-4o models, employing retrieval-augmented generation (RAG) and the latest 2023 guidelines from the European Association of Urology (EAU). The evaluation included ten runs of 200 European Board of Urology (EBU) In-Service Assessment (ISA) questions, with performance assessed by the mean Rate of Correct Answers (RoCA). UroBot-4o achieved an average RoCA of 88.4%, surpassing GPT-4o by 10.8%, with a score of 77.6%. It was also clinician-verifiable and exhibited the highest run agreement as indicated by Fleiss' Kappa (k = 0.979). By comparison, the average performance of urologists on board questions, as reported in the literature, is 68.7%. UroBot's clinician-verifiable nature and superior accuracy compared to both existing models and urologists on board questions highlight its potential for clinical integration. The study also provides the necessary code and instructions for further development of UroBot.
[ -0.36365458369255066, -0.9707152247428894, 0.8588771224021912, -0.0020694341510534286, -0.46675705909729004, -0.05471934378147125, -0.03001571074128151, -0.589438796043396, 0.33905482292175293, 0.7257921695709229, -0.2699503004550934, -0.5075993537902832, -0.6665928959846497, 0.3873950242996216, -0.22520811855793, 1.0341627597808838, 0.07521186023950577, 0.2788260281085968, -0.3216809332370758, -0.24209614098072052, -0.8030728101730347, -0.5633161664009094, -0.1470087468624115, -0.3315610885620117, 0.11886492371559143, 0.16227303445339203, 0.8566069006919861, 0.29513227939605713, 1.0204434394836426, 0.3211923837661743, -0.1698409765958786, 0.15447689592838287, -0.4241240918636322, 0.22845472395420074, -0.21516640484333038, -0.5019014477729797, -0.7619565725326538, -0.23365671932697296, 0.46410295367240906, 0.758730411529541, -0.35769063234329224, -0.01974240317940712, -0.3746985197067261, 0.5041378736495972, -0.11662334203720093, -0.08779899030923843, -0.4068666398525238, -0.03625327721238136, 0.06996580958366394, -0.6145046949386597, -0.3604693114757538, -0.5408571362495422, 0.10690231621265411, -0.20270857214927673, -0.0110589899122715, 0.07228058576583862, 0.7334533929824829, 0.21612384915351868, -0.39179158210754395, -0.3613095283508301, -0.8573296070098877, 0.36378607153892517, -0.6704428195953369, 0.5697509050369263, 0.21688057482242584, 0.2908163070678711, -0.3088461756706238, -0.8713186383247375, -0.09589727222919464, -0.3832111060619354, -0.019452795386314392, 0.23158061504364014, -0.240758016705513, 0.2539770305156708, 0.14884325861930847, 0.2144232988357544, -0.6632834076881409, 0.10349858552217484, -0.30607345700263977, -0.022363705560564995, 0.5540555119514465, 0.2844502925872803, 0.21605047583580017, -0.17870214581489563, -0.33452704548835754, 0.15965557098388672, -0.5169843435287476, 0.10635565221309662, 0.18145200610160828, 0.0013960039941594005, 0.19517982006072998, 0.43314406275749207, -0.33521217107772827, 0.4171615242958069, -0.2409556657075882, -0.10950548201799393, -0.054049380123615265, -0.21391291916370392, -0.028952807188034058, -0.24242354929447174, 0.836810827255249, 0.40979325771331787, 0.32820895314216614, -0.30108335614204407, -0.031372182071208954, -0.22279253602027893, 0.4447397291660309, -1.0144932270050049, -0.3051131069660187, 0.4937148988246918, -0.4429455101490021, -0.22423668205738068, -0.052528031170368195, -0.6255600452423096, -0.20758730173110962, 0.029122207313776016, 0.4278852045536041, -0.4053555428981781, 0.018938390538096428, 0.06302471458911896, -0.05330254137516022, 0.32869717478752136, 0.681125283241272, -0.495868980884552, 0.5775057673454285, 0.3755214512348175, 0.6166298389434814, -0.11479921638965607, 0.014411150477826595, -0.29330021142959595, -0.052591659128665924, -0.4252396523952484, 1.0797698497772217, -0.6745443940162659, -0.37120524048805237, -0.14157959818840027, -0.21287263929843903, -0.09281015396118164, -0.5290425419807434, 0.3429000675678253, -0.3534175455570221, 0.10926967114210129, -0.016644256189465523, -0.6535378098487854, -0.10917387157678604, 0.21616807579994202, -0.4677029848098755, 0.8577980399131775, 0.048640355467796326, -0.40054938197135925, 0.2722490429878235, -0.7306504845619202, -0.3034577965736389, 0.3417350649833679, -0.2945740520954132, -0.04707742854952812, 0.10313986241817474, 0.32394638657569885, 0.4779190421104431, -0.5593573451042175, 0.484077125787735, -0.21683964133262634, -0.6145924925804138, 0.5134780406951904, -0.41812461614608765, 0.6544994711875916, -0.27083298563957214, -0.2656242847442627, -0.001349515514448285, -0.4744112491607666, 0.14834608137607574, -0.014305594377219677, -0.11919272691011429, 0.025312285870313644, -0.10545934736728668, -0.16453908383846283, 0.24300041794776917, 0.10238330811262131, -0.5689185261726379, 0.24901366233825684, -0.15823055803775787, 0.4881432354450226, 0.8075466752052307, 0.14920926094055176, -0.33820876479148865, -0.23316214978694916, 0.7111303806304932, -0.7236945033073425, 0.6056515574455261, 0.11915302276611328, -1.1284232139587402, -0.1579897254705429, -0.504262387752533, 0.39110931754112244, 0.48518845438957214, -0.15327957272529602, 0.4612993001937866, -0.3388619124889374, -0.7341911792755127, -0.35986536741256714, 0.3676134943962097, 0.3061634302139282, 0.45635056495666504, 0.29891034960746765, -0.4050863981246948, -0.09272115677595139, -0.943900465965271, 0.04844343289732933, -0.5525828003883362, -0.04783937707543373, 0.8425378799438477, 0.8214705586433411, -0.3955349624156952, 0.5880845189094543, -0.4078417122364044, -0.286612331867218, -0.3086186647415161, -0.02786741964519024, 0.3795349895954132, 0.28077638149261475, 0.334957480430603, -0.7806258797645569, -0.21662920713424683, 0.2134588211774826, -0.8801733255386353, -0.148521289229393, 0.25117018818855286, -0.39183032512664795, 0.04733530059456825, 0.46085885167121887, -0.6542579531669617, 0.6458503007888794, 0.5831984281539917, -0.40117931365966797, 0.7006775736808777, -0.5588300228118896, 0.2947537899017334, -0.6033955216407776, 0.48502346873283386, -0.5063033699989319, -0.38878047466278076, -0.5198946595191956, 0.25874093174934387, 0.014980243518948555, -0.16930609941482544, -0.30607444047927856, 0.6564465165138245, -0.01988881826400757, 0.026532456278800964, -0.13307102024555206, 0.42098021507263184, -0.26476195454597473, 0.5143359899520874, -0.11880761384963989, 0.3704271614551544, 0.29324960708618164, -0.5525659322738647, 0.5139302611351013, 0.5757275819778442, -0.056869808584451675, 0.6726264953613281, -0.8058380484580994, 0.2579338550567627, 0.3653489649295807, 0.4244746267795563, -1.389392614364624, -0.619873046875, 0.044136468321084976, -0.564244270324707, 0.039973821491003036, -0.32733574509620667, -0.45783087611198425, -0.7090184688568115, -0.22473138570785522, 0.4148278832435608, 0.7538931965827942, -0.3011707365512848, 0.8049197793006897, 0.23250529170036316, -0.46913912892341614, -0.5345619320869446, -0.22686466574668884, 0.11410638689994812, -0.06481591612100601, -0.5308873653411865, -0.04250558093190193, -0.37997063994407654, -0.026019146665930748, -0.06287377327680588, -0.3461076319217682, -0.1897507756948471, 0.20322388410568237, 0.370899498462677, 0.45248764753341675, -0.015455611050128937, 0.07970978319644928, 0.10629916936159134, 0.08961541950702667, 0.2197563648223877, 0.3277491331100464, 0.7563612461090088, -0.25785964727401733, -0.6605703830718994, -0.9215177893638611, 0.10238814353942871, 0.6412178874015808, -0.09864483773708344, 0.433339387178421, 0.36399978399276733, -0.36989280581474304, 0.2774958610534668, -0.7621951103210449, -0.3386501967906952, -0.37693673372268677, 0.4256174564361572, -0.32078295946121216, -0.7645382285118103, 0.6339707970619202, -0.0006433171802200377, 0.23583762347698212, 0.17124535143375397, 0.5676413774490356, -0.5074441432952881, 1.2161530256271362, 0.5117170810699463, 0.3657565414905548, 0.10656648129224777, 0.0439143031835556, 0.27230000495910645, -0.7695826888084412, -0.5121899843215942, -0.4908491373062134, -0.31355586647987366, -0.8237379789352417, -0.3124217689037323, 0.25486698746681213, 0.1223667711019516, 0.015956785529851913, 0.13397905230522156, -0.3407456576824188, 0.1250484138727188, 0.3790520429611206, 0.4041930139064789, 0.4607829451560974, -0.00764479860663414, -0.0833176001906395, 0.12601205706596375, -0.7444753050804138, -0.6633104681968689, 1.5697972774505615, 0.32011014223098755, 0.8895074129104614, 0.30751436948776245, 0.7542243003845215, 0.4840552806854248, 0.5189318060874939, -0.7436125874519348, 0.7534834742546082, 0.00852679368108511, -0.9113211035728455, -0.44203981757164, -0.3949875831604004, -1.0279297828674316, 0.3240945637226105, -0.08857864886522293, -1.0378055572509766, -0.11104738712310791, 0.032338276505470276, -0.28740501403808594, 0.18317663669586182, -0.37977299094200134, 0.6641992330551147, -0.3490850031375885, -0.20209206640720367, -0.15894542634487152, -0.6274220943450928, 0.19873663783073425, -0.19951198995113373, 0.12954799830913544, -0.2874114215373993, -0.29003626108169556, 0.8002662062644958, -0.37700706720352173, 0.6191214919090271, -0.049857690930366516, 0.08725028485059738, 0.015465528704226017, 0.135612353682518, 0.228488951921463, 0.5415095090866089, 0.16133174300193787, 0.29611462354660034, 0.13662093877792358, -0.5743911266326904, -0.6653689742088318, 0.5464034080505371, -0.7371050119400024, -0.8363326191902161, -0.17652375996112823, -0.5472456812858582, -0.3547142744064331, 0.08297671377658844, -0.06177496165037155, 0.7346852421760559, -0.33992597460746765, 0.4905755817890167, 0.6042030453681946, -0.2887762784957886, -0.14012190699577332, 0.39705970883369446, -0.34347599744796753, -0.514275074005127, 0.44993874430656433, -0.22789646685123444, 0.31086546182632446, 0.4175400733947754, 0.2533848285675049, -0.44591355323791504, -0.6176357269287109, -0.5035393834114075, 0.6081823110580444, -0.6250850558280945, -0.28565970063209534, -0.8149506449699402, -0.24115046858787537, -0.382826566696167, -0.20097124576568604, -0.1586737483739853, -0.0907755196094513, 0.44160497188568115, 0.045767735689878464, 0.3664102256298065, 0.8182674050331116, 0.1241326853632927, 0.19403541088104248, -0.48630866408348083, 0.26887011528015137, 0.2798577845096588, 0.4287950396537781, -0.5033780932426453, -0.853969931602478, 0.05610388517379761, -0.22869111597537994, -0.16707932949066162, -0.8265653252601624, 0.16623471677303314, 0.00040098687168210745, 0.7244022488594055, 0.6450066566467285, -0.08257891982793808, 0.693166196346283, -0.27902233600616455, 0.5194957852363586, 0.0411067008972168, -0.6523968577384949, 0.6841885447502136, -0.40545541048049927, 0.20641276240348816, 0.4160318076610565, 0.40878960490226746, -0.3940097987651825, -0.8141771554946899, -0.787788450717926, -0.8337108492851257, 0.7439871430397034, 0.6415786147117615, 0.2001672238111496, 0.03981676697731018, 0.39189404249191284, 0.3350266218185425, 0.22162699699401855, -0.5892637372016907, -0.051427606493234634, 0.27094319462776184, 0.05563683435320854, 0.2554210424423218, -0.34526190161705017, -0.39481887221336365, -0.09082473814487457, 0.5516498684883118, -0.13174447417259216, 0.683868944644928, 0.22845542430877686, -0.33664801716804504, 0.05758345499634743, 0.21710529923439026, 0.5537583827972412, 1.192420482635498, -0.7328305244445801, -0.26972848176956177, 0.18193946778774261, -0.6557920575141907, 0.018052514642477036, 0.27014198899269104, 0.15246520936489105, 0.11379148811101913, 0.7036926746368408, 0.39926376938819885, 0.27078336477279663, -1.125392198562622, 0.49520400166511536, -0.321853905916214, -0.449054479598999, 0.05746978148818016, 0.008704842999577522, -0.11638206988573074, 0.30665063858032227, 0.2559609115123749, -0.13076648116111755, 0.1885388046503067, -0.5089865326881409, 0.12804874777793884, 0.19652818143367767, -0.47355350852012634, -0.2049858719110489, 0.6509701609611511, 0.31004226207733154, -0.3051675856113434, 0.694843590259552, 0.2050851285457611, -0.3501720726490021, 0.7021397948265076, 0.5037139058113098, 0.3897166848182678, -0.33206290006637573, 0.2534560263156891, 0.45090219378471375, 0.32185354828834534, 0.08463701605796814, 0.4456109404563904, 0.01731315441429615, -0.39862072467803955, -0.27368515729904175, -0.4893537759780884, -0.8206996917724609, 0.22405220568180084, -0.9229938387870789, 0.00889884028583765, -0.7299150824546814, -0.3567606508731842, -0.10576830059289932, 0.08009862154722214, -0.8016190528869629, 0.28902754187583923, 0.053806986659765244, 0.9088002443313599, -0.7746275067329407, 0.2881344258785248, 1.0068082809448242, -0.4780901372432709, -0.474456787109375, -0.15810006856918335, -0.42169758677482605, -1.0012269020080566, 0.386311799287796, 0.30209967494010925, 0.03722817078232765, -0.2429588884115219, -0.42220059037208557, -0.7526457905769348, 1.0649884939193726, 0.3206203877925873, -0.3920225203037262, -0.05286403000354767, 0.004917440935969353, 0.6594911217689514, -0.1451539546251297, 0.7334690690040588, 0.5275466442108154, 0.29414016008377075, -0.18396495282649994, -1.13516104221344, 0.19159460067749023, -0.1712372601032257, -0.15900707244873047, 0.1709500402212143, -0.5721794366836548, 0.35410067439079285, -0.44713571667671204, 0.24296370148658752, 0.6742756366729736, 0.2179296314716339, 0.583311140537262, 0.09097703546285629, 0.2537812888622284, 0.33411121368408203, 0.8887660503387451, -0.2561386525630951, 1.1356390714645386, -0.38225340843200684, 0.16230931878089905, 0.8116758465766907, -0.20589716732501984, 0.8963954448699951, 0.42036643624305725, -0.26481229066848755, 0.7836371064186096, 0.30789706110954285, 0.026818564161658287, 0.09358349442481995, -0.14028355479240417, 0.1016421765089035, -0.5509370565414429, -0.008928939700126648, -0.5025269389152527, 0.7351547479629517, 0.24760735034942627, -0.32380566000938416, -0.035453591495752335, 0.1519484668970108, -0.12963402271270752, -0.16726884245872498, -0.1403743177652359, 0.6567133069038391, -0.05259455367922783, -0.5373221039772034, 0.4867989718914032, -0.37601718306541443, 0.14871607720851898, -0.8380024433135986, -0.16977471113204956, -0.6001814603805542, 0.3434496819972992, -0.014678412117064, -0.8174103498458862, -0.321927011013031, 0.20053645968437195, 0.31287604570388794, 0.0024459469132125378, 0.41033053398132324, 0.1328742951154709, -0.3297325372695923, 0.32350850105285645, 0.6227239966392517, 0.8820862174034119, 0.02807701751589775, -0.7427006363868713, -0.11477155238389969, -0.2360055148601532, -0.19310230016708374, 0.14131078124046326, 0.5298755764961243, -0.277818500995636, 1.1137295961380005, 0.6393557786941528, 0.10804241895675659, -0.15261247754096985, 0.25222593545913696, 0.7808821797370911, -0.7484341263771057, -0.34851503372192383, -0.6808879971504211, 0.14966002106666565, -0.12097345292568207, -0.4219667911529541, 0.5084415674209595, 0.4477561116218567, 0.518547534942627, 0.053155604749917984, 0.47673559188842773, -0.25538232922554016, 0.17215345799922943, -0.4098365008831024, 0.6634261012077332, -0.5919058322906494, -0.03859331086277962, -0.4225207567214966, -0.8874233961105347, -0.29629722237586975, 0.6077737212181091, -0.19648848474025726, 0.26727551221847534, 0.927331805229187, 0.6294965147972107, 0.18768858909606934, -0.00610737781971693, 0.662796139717102, 0.3482283055782318, 0.5104512572288513, 0.46149763464927673, 0.8098590970039368, -0.4349447786808014, 1.0464715957641602, -0.22093357145786285, -0.3910011351108551, -0.6210017204284668, -0.34547287225723267, -1.1450985670089722, -0.04110872000455856, -0.14563436806201935, -0.1966322660446167, 0.38770559430122375, 0.6903037428855896, 0.7010164856910706, -0.6983314752578735, -0.2769003212451935, 0.16161207854747772, -0.06595456600189209, -0.20628181099891663, -0.10223551094532013, 0.4570523202419281, -0.1525191068649292, -0.5769585371017456, 0.10374511033296585, 0.37139812111854553, -0.20709078013896942, -0.002843942027539015, -0.06735822558403015, -0.28554877638816833, 0.08071709424257278, 0.5277014970779419, 0.2341989278793335, -0.9601675868034363, -0.09152043610811234, 0.19046807289123535, -0.11952020972967148, 0.2315247356891632, 0.4851478636264801, -0.6584001183509827, 0.5270649790763855, 0.28621789813041687, 0.625022292137146, 0.1532517671585083, -0.006419667508453131, 0.5131245255470276, -0.021358154714107513, -0.16120795905590057, 0.34960100054740906, 0.464614599943161, 0.08181601017713547, -0.21035005152225494, 0.6436331272125244, 0.38532888889312744, -0.7681050896644592, -1.021162986755371, -0.08934237062931061, -1.002742886543274, -0.226265087723732, 1.0561105012893677, 0.02511421963572502, -0.13004304468631744, -0.24178749322891235, -0.3949648141860962, 0.03373507410287857, -0.5003429651260376, 0.7673411965370178, 0.5296734571456909, -0.682292640209198, 0.32961511611938477, -0.8321568369865417, 0.1072906106710434, 0.49621689319610596, -0.9858081340789795, -0.09119639545679092, 0.3699187934398651, 0.5271959900856018, 0.013659331947565079, 0.8584723472595215, -0.4109930396080017, 0.8044215440750122, -0.13790804147720337, 0.17107552289962769, -0.08363379538059235, -0.43674519658088684, -0.04946957528591156, 0.06301932781934738, 0.15637598931789398, 0.07509619742631912 ]
http://arxiv.org/abs/2406.01424v1
http://arxiv.org/pdf/2406.01424v1
Universal In-Context Approximation By Prompting Fully Recurrent Models
2024-06-03T15:25:13
2024-06-03T15:25:13
Aleksandar Petrov, Tom A. Lamb, Alasdair Paren, Philip H. S. Torr, Adel Bibi
cs.LG
cs.LG, cs.AI, cs.CL
Zero-shot and in-context learning enable solving tasks without model fine-tuning, making them essential for developing generative model solutions. Therefore, it is crucial to understand whether a pretrained model can be prompted to approximate any function, i.e., whether it is a universal in-context approximator. While it was recently shown that transformer models do possess this property, these results rely on their attention mechanism. Hence, these findings do not apply to fully recurrent architectures like RNNs, LSTMs, and the increasingly popular SSMs. We demonstrate that RNNs, LSTMs, GRUs, Linear RNNs, and linear gated architectures such as Mamba and Hawk/Griffin can also serve as universal in-context approximators. To streamline our argument, we introduce a programming language called LSRL that compiles to these fully recurrent architectures. LSRL may be of independent interest for further studies of fully recurrent models, such as constructing interpretability benchmarks. We also study the role of multiplicative gating and observe that architectures incorporating such gating (e.g., LSTMs, GRUs, Hawk/Griffin) can implement certain operations more stably, making them more viable candidates for practical in-context universal approximation.
[ -0.33872196078300476, -0.49062374234199524, 0.7838468551635742, 0.29181867837905884, 0.0083291782066226, -0.16181276738643646, -0.17292454838752747, -0.40125226974487305, -0.34356680512428284, 0.14401809871196747, -0.6933172345161438, -0.08282127231359482, -0.19445757567882538, -0.009148773737251759, -0.6459007263183594, 0.9896880984306335, 0.13526493310928345, 0.03475891798734665, -0.0451810322701931, -0.20201042294502258, -0.26981833577156067, -0.7191742062568665, -0.22176331281661987, -0.6125256419181824, 0.28417837619781494, 0.008262126706540585, 0.565399169921875, 0.1246623694896698, 0.35690057277679443, 0.21429108083248138, -0.2314222902059555, -0.2984003722667694, -0.19318567216396332, 0.15766385197639465, -0.12715016305446625, -0.26815924048423767, -0.13896992802619934, -0.24676267802715302, 0.7501482963562012, 0.8766186237335205, -0.10298703610897064, 0.27290764451026917, 0.3212122619152069, 0.6919755935668945, -0.6328415870666504, -0.004461774602532387, -0.5190538763999939, 0.5323778986930847, 0.3039475381374359, -0.2620881199836731, -0.6481671333312988, -0.17876696586608887, 0.3431174159049988, -0.49301666021347046, 0.38537654280662537, -0.3696281313896179, 0.6493709087371826, 0.36674994230270386, -0.3082394003868103, -0.17958387732505798, -1.0300637483596802, 0.9414507150650024, -0.6656361818313599, 0.42618268728256226, -0.30215227603912354, 0.26313066482543945, -0.3731362223625183, -0.9750416874885559, -0.2695668935775757, -0.5046074986457825, -0.12335146963596344, 0.20653630793094635, -0.4162675440311432, 0.45354294776916504, 0.6281927227973938, 0.35954126715660095, -0.12941959500312805, -0.18259398639202118, -0.1927305907011032, 0.17852815985679626, 0.044201336801052094, 0.23174677789211273, 0.16259287297725677, 0.0683753490447998, -0.6388798952102661, 0.13825291395187378, -0.7345452904701233, 0.24500134587287903, -0.38880932331085205, 0.21347397565841675, 0.00901242345571518, 0.290324866771698, 0.07882554829120636, 1.2186964750289917, 0.21303614974021912, 0.34511661529541016, -0.1112074926495552, -0.3270043730735779, -0.6742929220199585, -0.2906807065010071, 0.4541231393814087, 0.1244354248046875, 0.47444525361061096, -0.4718424379825592, -0.10038790851831436, 0.01753917708992958, 0.5920678973197937, -0.461396723985672, 0.22828790545463562, 0.10466498881578445, -0.196437269449234, -0.25536760687828064, 0.22847698628902435, -0.6062880158424377, -0.021776117384433746, -0.5844911932945251, 0.5569156408309937, -0.15516164898872375, 0.05920286476612091, 0.04638618975877762, 0.1669677197933197, 0.7052486538887024, 0.18397948145866394, -0.6149917840957642, 0.37046018242836, 0.6507071852684021, 0.8754227161407471, 0.11524549126625061, -0.5319246053695679, -0.4847566783428192, 0.23518596589565277, -0.42594102025032043, 0.6055371761322021, -0.579531729221344, -0.4219815731048584, -0.0030358328949660063, 0.031680528074502945, -0.112237349152565, -0.22380520403385162, 0.3580382764339447, -0.4382939636707306, 0.07478021085262299, -0.07624615728855133, -0.5836349129676819, -0.12041040509939194, -0.129816472530365, -0.5472961068153381, 0.7683519124984741, 0.31864482164382935, -0.5342901349067688, 0.16288383305072784, -1.1342699527740479, -0.4783823490142822, -0.11009291559457779, -0.12772470712661743, -0.08523207902908325, 0.5084372162818909, 0.1623551994562149, 0.6162688136100769, -0.18039359152317047, 0.2503912150859833, -0.33348599076271057, -0.6414405703544617, 0.27116018533706665, -0.6973326802253723, 0.6264556050300598, 0.3329373896121979, -0.40656787157058716, 0.45354554057121277, -0.19807960093021393, 0.2907881736755371, -0.057222649455070496, -0.0875120684504509, 0.010690782219171524, -0.20399585366249084, 0.03265073150396347, 0.12553024291992188, -0.08212529122829437, -0.32693666219711304, 0.1234356239438057, -0.37244734168052673, 0.7130875587463379, 0.6837893128395081, -0.021079933270812035, 0.7604987621307373, -0.30270323157310486, 0.6622287631034851, -0.32851120829582214, 0.30385398864746094, -0.5618969202041626, -0.44653478264808655, -0.6193424463272095, -0.303914874792099, 0.28642693161964417, 0.40014854073524475, -0.21457970142364502, 0.2887820601463318, -0.3281506896018982, -0.2169530689716339, -0.5102666616439819, -0.23120690882205963, 0.6346134543418884, 0.4810735881328583, 0.2894793748855591, -0.15070152282714844, -0.6936659216880798, -0.6581336855888367, -0.23987971246242523, 0.35622844099998474, -0.511188805103302, 0.07801266014575958, 0.18452653288841248, 0.0027396781370043755, 1.0183804035186768, -0.1933959722518921, -0.26885414123535156, -0.3043447434902191, -0.0791330486536026, 0.43532729148864746, 0.17064689099788666, 0.5005694627761841, -0.6527518630027771, -0.572145938873291, 0.005539124831557274, -0.893122673034668, 0.27259600162506104, -0.247845858335495, 0.1716913878917694, 0.17167030274868011, 0.5208994746208191, -0.642987072467804, 0.6737193465232849, 0.3245874047279358, 0.039533358067274094, 0.42347192764282227, -0.4026431739330292, -0.1701674461364746, -0.9130728244781494, 0.3365757167339325, 0.16130363941192627, -0.3906148672103882, -1.0928040742874146, 0.6372295022010803, 0.04961147531867027, -0.3437231183052063, -0.6109733581542969, 0.7411389350891113, -0.5831547379493713, -0.4882849156856537, -0.13388273119926453, 0.002645285567268729, -0.1206195205450058, 0.5729434490203857, 0.1835666000843048, 0.8746522665023804, 0.7169732451438904, -0.7485213875770569, -0.026785291731357574, 0.015346280299127102, -0.5190637707710266, 0.41075247526168823, -0.8644964694976807, -0.05530775710940361, -0.34580716490745544, 0.471578449010849, -0.7174676656723022, -0.2080882042646408, 0.08926086127758026, -0.3732099235057831, 0.3973661959171295, -0.21028122305870056, 0.09780268371105194, -0.40756702423095703, -0.2592478394508362, 0.3286432921886444, 0.5749218463897705, -0.7331294417381287, 0.6600349545478821, 0.06946493685245514, 0.35752245783805847, -0.8774239420890808, -0.668170154094696, -0.07427120208740234, -0.12446919083595276, -0.060954924672842026, 0.2746633291244507, -0.25086647272109985, -0.06548696011304855, -0.008965764194726944, -0.21091562509536743, -0.039677564054727554, 0.10232078284025192, 0.3497047424316406, 0.23729035258293152, -0.2676366865634918, -0.2005588263273239, -0.46552443504333496, -0.2575449049472809, -0.2162921279668808, -0.30769872665405273, 0.49022138118743896, -0.7297213673591614, -0.5965750217437744, -0.5318723917007446, 0.22655373811721802, 0.794988214969635, 0.22091680765151978, 0.22060437500476837, 0.3237186372280121, -0.21732640266418457, -0.02052619867026806, -0.39596661925315857, -0.07954824715852737, -0.48745056986808777, 0.374862402677536, -0.47043880820274353, -0.9298907518386841, 0.49526447057724, 0.14998885989189148, 0.20001386106014252, 0.21105237305164337, 0.5872913599014282, -0.224495530128479, 0.8563616871833801, 0.49668705463409424, -0.3207089602947235, 0.48672473430633545, -0.2984250783920288, 0.11958480626344681, -1.1635088920593262, 0.05088341236114502, -0.3068017363548279, -0.2971722185611725, -0.316305935382843, -0.2306927889585495, 0.29526594281196594, 0.13319510221481323, -0.524044394493103, 0.4317193925380707, -0.8200719356536865, 0.8015972971916199, 0.5941299796104431, -0.07032060623168945, 0.12624576687812805, 0.31193864345550537, -0.12681199610233307, -0.022571420297026634, -0.91973876953125, -0.09151975065469742, 0.9393770694732666, 0.2648790180683136, 0.7827324867248535, -0.16500894725322723, 0.3682028353214264, 0.34953197836875916, 0.7603714466094971, -0.8900643587112427, 0.2980881929397583, -0.021135836839675903, -0.49906614422798157, -0.42901551723480225, -0.16283364593982697, -1.1077734231948853, 0.30936744809150696, 0.30319657921791077, -0.8254655599594116, 0.13615138828754425, 0.1766315996646881, -0.6637696027755737, 0.4997711181640625, -0.5355364084243774, 0.7010628581047058, -0.03458504378795624, -0.0001421033957740292, 0.08071542531251907, -0.7191694974899292, 0.27237826585769653, 0.1813245266675949, 0.15433083474636078, 0.2916971743106842, 0.17284083366394043, 0.20874415338039398, -0.11790819466114044, 0.8799156546592712, -0.27013731002807617, 0.05905076116323471, 0.366097092628479, 0.19967730343341827, 0.3637933135032654, -0.22024989128112793, 0.026993008330464363, 0.17822681367397308, 0.06262154132127762, -0.45249471068382263, -0.9426600933074951, 0.7010137438774109, -0.5248608589172363, -0.7444533705711365, -0.45874446630477905, -0.5326708555221558, -0.209971085190773, -0.02918201871216297, 0.3713092803955078, 0.750924825668335, -0.1323980987071991, 0.4728875756263733, 0.4312985837459564, 0.2523391544818878, 0.7701146006584167, 0.37116044759750366, -0.31507477164268494, -0.23914141952991486, 0.5591937899589539, -0.2522781491279602, 0.43540018796920776, 0.4826805591583252, -0.0030088990461081266, -0.4346609115600586, -0.20249921083450317, -0.6371831893920898, -0.03810081258416176, -0.7308152914047241, -0.2696015238761902, -0.3200516402721405, -0.580867350101471, 0.1440911889076233, -0.6891422867774963, -0.09165183454751968, -0.389943927526474, -0.19727542996406555, -0.11769178509712219, 0.12572509050369263, 0.9159831404685974, -0.12422626465559006, 0.17485292255878448, -0.8266794681549072, 0.16621994972229004, 0.465251088142395, 0.39548447728157043, 0.6613945364952087, -0.8378212451934814, -0.09942629933357239, 0.21747983992099762, -0.2622050940990448, -0.521248996257782, 0.06644311547279358, 0.4950907826423645, 0.6574648022651672, 0.43797051906585693, -0.21979691088199615, 1.0229597091674805, -0.7093682885169983, 0.7842581272125244, 0.4144086241722107, -1.0493706464767456, 0.246169775724411, -0.1390845775604248, 0.5534223318099976, 0.451158732175827, 0.34562239050865173, -0.6379731893539429, -0.2110673040151596, -0.49643880128860474, -0.5512287020683289, 0.6904873847961426, 0.1719517856836319, 0.4782898724079132, 0.002629024675115943, 0.5028716921806335, -0.23800288140773773, 0.10330159962177277, -0.9885139465332031, -0.2664022147655487, -0.38027870655059814, -0.18179099261760712, 0.009853537194430828, -0.39433619379997253, -0.11751867830753326, -0.2565816342830658, 0.15592323243618011, -0.07584146410226822, 0.6294375061988831, 0.4500837028026581, -0.1743483692407608, -0.17415396869182587, 0.4817740321159363, 0.9257626533508301, 0.8737834095954895, -0.2057485729455948, 0.021262554451823235, 0.33953964710235596, -0.10356307029724121, 0.5416532754898071, -0.3399418592453003, -0.4603292644023895, 0.03628963604569435, 0.35337960720062256, 0.8254317045211792, 0.9397480487823486, -0.5601069927215576, 0.5639234781265259, 0.04183477535843849, -0.07877323031425476, -0.5127912163734436, 0.011360835283994675, -0.0708141103386879, 0.19793832302093506, 0.6020761728286743, 0.34149348735809326, -0.04491536319255829, -0.4271993041038513, 0.4185231029987335, 0.7308898568153381, -0.9519787430763245, -0.47612398862838745, 0.7474088072776794, -0.016521276906132698, -0.47625505924224854, 0.39498889446258545, 0.07417789101600647, -0.4751494824886322, 0.6572895050048828, 0.808141827583313, 1.0668576955795288, -0.34797707200050354, 0.06304164230823517, 0.4481659233570099, 0.11506294459104538, -0.28924983739852905, -0.027209321036934853, -0.461311936378479, -0.5967163443565369, -0.8345676064491272, -0.7059634327888489, -0.35639235377311707, 0.1753029227256775, -0.9957438707351685, -0.13028444349765778, -0.559928297996521, -0.06900662928819656, 0.03253215551376343, -0.4720921218395233, -0.7187529802322388, 0.0163175780326128, 0.06583905965089798, 0.8372492790222168, -0.34563302993774414, 0.9312335252761841, 0.6063351631164551, -0.38322171568870544, -0.514002799987793, 0.053304534405469894, -0.1982022225856781, -0.6439898610115051, 0.670360267162323, 0.15407687425613403, -0.3131250739097595, 0.18382112681865692, -0.47406524419784546, -0.8441793918609619, 0.8913110494613647, 0.3299454152584076, -0.5900991559028625, -0.30647027492523193, 0.08845687657594681, 0.5616239905357361, -0.4287659227848053, 0.32752975821495056, 0.3864024579524994, 0.47074228525161743, 0.3195067346096039, -0.9054035544395447, -0.037654198706150055, -0.06165751442313194, 0.20294199883937836, 0.16443949937820435, -0.3360055685043335, 0.6810229420661926, -0.5137026906013489, -0.3667180836200714, 0.35767823457717896, 0.6866037845611572, 0.20058321952819824, 0.13162708282470703, 0.31058743596076965, 0.5090524554252625, 0.29762184619903564, 0.08737600594758987, 1.2957701683044434, -0.5954921245574951, 0.6638376712799072, 1.2811765670776367, -0.29058441519737244, 0.6120796799659729, 0.42363840341567993, -0.5501688718795776, 0.2725079357624054, 0.23291072249412537, -0.10288075357675552, 0.529854416847229, 0.06002627685666084, -0.4312429130077362, -0.21092724800109863, 0.12270907312631607, -0.4517037272453308, 0.03339351713657379, 0.2945699095726013, -0.186325803399086, -0.516143262386322, -0.013270125724375248, -0.15880869328975677, -0.1692199558019638, -0.47590476274490356, 0.6421151757240295, 0.31240618228912354, -0.6608512997627258, 0.7770910263061523, -0.23033148050308228, 0.7584364414215088, -0.8160401582717896, 0.05393185839056969, -0.3466780185699463, 0.1019541397690773, -0.08310937881469727, -0.8703106641769409, 0.37350961565971375, -0.06645797938108444, -0.2633693516254425, -0.011292751878499985, 0.6625640392303467, -0.2864299714565277, -0.5210756659507751, 0.43468040227890015, 0.11570389568805695, 0.029206475242972374, -0.14745782315731049, -0.5065709352493286, -0.3281099498271942, 0.2061179131269455, -0.2763172388076782, 0.6197766065597534, 0.06672915816307068, 0.10957939922809601, 1.032241940498352, 0.588233232498169, -0.07793890684843063, 0.143325075507164, 0.11344972997903824, 0.6257648468017578, -0.8597011566162109, -0.19392135739326477, -0.8919522166252136, 0.4283022880554199, 0.16819728910923004, -0.009875558316707611, 0.6942721009254456, 0.17039959132671356, 0.9036925435066223, -0.45711106061935425, 0.7962744832038879, 0.050211187452077866, 0.15106436610221863, -0.3756798803806305, 0.587087869644165, -0.6449866890907288, -0.06922035664319992, -0.28307828307151794, -1.1591720581054688, -0.5739201307296753, 0.6050929427146912, -0.12218870222568512, 0.05277901515364647, 0.44262954592704773, 0.6188830733299255, -0.3764309585094452, 0.0818471685051918, 0.8157531023025513, 0.036690447479486465, 0.046365946531295776, 0.582537829875946, 0.8195911049842834, -0.33501923084259033, 0.4403839707374573, -0.12241007387638092, -0.05245712399482727, -0.13605694472789764, -0.8941234350204468, -0.6300786733627319, -0.5809540152549744, 0.1539572924375534, -0.3393520712852478, -0.09028742462396622, 0.9404228925704956, 0.7017207741737366, -1.0277915000915527, -0.2855505347251892, -0.2014552503824234, 0.05738439783453941, -0.2921719253063202, -0.21380934119224548, 0.40992820262908936, -0.6836217641830444, -0.508732259273529, 0.5692585706710815, 0.3623751997947693, 0.05077610909938812, -0.30177637934684753, -0.17140935361385345, 0.1441417932510376, 0.15151230990886688, 0.8822088837623596, 0.8383875489234924, -1.0631344318389893, -0.4119177460670471, 0.08343927562236786, 0.13689854741096497, 0.1931258738040924, 1.1943386793136597, -0.8199390769004822, 0.44732922315597534, -0.08943487703800201, 0.5886481404304504, 0.41339269280433655, 0.16716311872005463, 0.4976409375667572, -0.7417809963226318, 0.49346837401390076, 0.1107589527964592, 0.2317863553762436, 0.18155726790428162, -0.10402396321296692, 0.6495906114578247, -0.08607826381921768, -0.6401872634887695, -0.8504099249839783, 0.49533605575561523, -0.6923765540122986, -0.23131607472896576, 0.8847048878669739, -0.28421398997306824, -0.43199872970581055, -0.125980943441391, 0.10896684974431992, -0.04389111325144768, -0.1634458750486374, 0.7601555585861206, 0.420387864112854, -0.3025180995464325, -0.09810876101255417, -0.5329883098602295, 0.704282820224762, 0.4828842282295227, -0.27409952878952026, 0.20917271077632904, 0.2182164043188095, 0.4109269678592682, 0.11394089460372925, 0.6236906051635742, -0.056340016424655914, 0.4945918321609497, -0.38109394907951355, 0.2029772251844406, -0.10197190195322037, -0.43708786368370056, -0.7217287421226501, 0.17454726994037628, -0.11354439705610275, -0.0008050634642131627 ]
http://arxiv.org/abs/2406.01422v1
http://arxiv.org/pdf/2406.01422v1
How to Understand Whole Software Repository?
2024-06-03T15:20:06
2024-06-03T15:20:06
Yingwei Ma, Qingping Yang, Rongyu Cao, Binhua Li, Fei Huang, Yongbin Li
cs.SE
cs.SE, cs.CL
Recently, Large Language Model (LLM) based agents have advanced the significant development of Automatic Software Engineering (ASE). Although verified effectiveness, the designs of the existing methods mainly focus on the local information of codes, e.g., issues, classes, and functions, leading to limitations in capturing the global context and interdependencies within the software system. From the practical experiences of the human SE developers, we argue that an excellent understanding of the whole repository will be the critical path to ASE. However, understanding the whole repository raises various challenges, e.g., the extremely long code input, the noisy code information, the complex dependency relationships, etc. To this end, we develop a novel ASE method named RepoUnderstander by guiding agents to comprehensively understand the whole repositories. Specifically, we first condense the critical information of the whole repository into the repository knowledge graph in a top-to-down mode to decrease the complexity of repository. Subsequently, we empower the agents the ability of understanding whole repository by proposing a Monte Carlo tree search based repository exploration strategy. In addition, to better utilize the repository-level knowledge, we guide the agents to summarize, analyze, and plan. Then, they can manipulate the tools to dynamically acquire information and generate the patches to solve the real-world GitHub issues. Extensive experiments demonstrate the superiority and effectiveness of the proposed RepoUnderstander. It achieved 18.5\% relative improvement on the SWE-bench Lite benchmark compared to SWE-agent.
[ -0.6274212002754211, -0.23290036618709564, 0.5936761498451233, 0.05594862625002861, -0.26111292839050293, 0.30574458837509155, -0.17612674832344055, -0.27083852887153625, 0.16851401329040527, 0.6866328120231628, -0.780910313129425, -0.5558276176452637, -0.31892603635787964, 0.07076002657413483, -0.3743107318878174, 0.7251259684562683, -0.26633238792419434, -0.038763925433158875, 0.16714046895503998, -0.07365630567073822, -0.5681215524673462, 0.10211832821369171, -0.4635254144668579, -0.23580865561962128, 0.35084590315818787, 0.443942666053772, 0.27000948786735535, 0.46786952018737793, 0.3792668282985687, 0.41050636768341064, -0.003381409216672182, -0.36087384819984436, -0.4189850091934204, 0.3577035069465637, -0.32579609751701355, -0.5193911194801331, 0.04963814467191696, -0.32537123560905457, 0.2786061763763428, 0.11092092841863632, -0.049768395721912384, 0.26537179946899414, 0.05215516313910484, 0.8032622337341309, -0.7158905863761902, 0.4071439504623413, -0.3307306468486786, 0.06791258603334427, -0.1393769532442093, -0.4813251793384552, -0.5694566965103149, 0.007683641742914915, 0.1424153447151184, -0.8441840410232544, 0.016134649515151978, -0.10258520394563675, 0.8328297138214111, 0.4033251106739044, -0.4727473855018616, -0.32789912819862366, -0.7285783886909485, 0.5143159031867981, -0.6477686166763306, 0.2767360508441925, -0.0949040874838829, 0.7592533826828003, -0.3422311246395111, -0.49103492498397827, -0.3146575391292572, -0.43242987990379333, -0.0035381661728024483, 0.1760556846857071, 0.05511997267603874, 0.27439558506011963, 0.23442445695400238, 0.41607245802879333, -0.6093254685401917, -0.1250164657831192, -0.15510044991970062, -0.3402511179447174, 0.6438376307487488, -0.26365289092063904, 0.595808744430542, -0.17918485403060913, -0.41780200600624084, -0.400086909532547, -0.5495270490646362, -0.13082005083560944, -0.013015770353376865, 0.1776839941740036, 0.11614476144313812, 0.4465700387954712, 0.13927075266838074, 0.3151555061340332, -0.17972728610038757, 0.23450258374214172, 0.06885272264480591, -0.09897950291633606, -0.3610473573207855, -0.15245631337165833, 0.5201916694641113, -0.06674712896347046, 0.3887149393558502, -0.23284736275672913, -0.45944347977638245, 0.0373879075050354, 0.5494019389152527, -0.5243276953697205, -0.13549771904945374, 0.6181502938270569, -0.2747802734375, -0.31358179450035095, 0.29121527075767517, -0.5907347798347473, -0.6414980888366699, -0.45503148436546326, 0.5231043696403503, -0.6011929512023926, -0.4183492958545685, -0.3764626085758209, -0.2619215250015259, 0.3045210540294647, 0.44711124897003174, -0.18884819746017456, 0.24520540237426758, 0.8611791133880615, 0.7666215300559998, 0.2157164067029953, -0.533945620059967, -0.5385098457336426, 0.31151413917541504, -0.18682435154914856, 1.0872715711593628, -0.15246498584747314, -0.3054998517036438, -0.18452921509742737, 0.09868358075618744, 0.14524781703948975, -0.4079516530036926, -0.11914395540952682, -0.7629575133323669, -0.09550736844539642, -0.06088092178106308, -0.7094369530677795, -0.24863100051879883, 0.3642897605895996, -0.6967474222183228, 0.3280286490917206, 0.37251484394073486, -0.6143427491188049, 0.17496182024478912, -0.9580274224281311, -0.06775174289941788, 0.14246156811714172, -0.36475083231925964, -0.15073667466640472, 0.04277602210640907, 0.2146831452846527, -0.021244896575808525, -0.18214210867881775, 0.28913095593452454, 0.026898767799139023, -0.6712391376495361, 0.1729229986667633, -0.01851988211274147, 0.9016895294189453, 0.3256003260612488, -0.6005010604858398, 0.3755906820297241, -0.25530073046684265, -0.11869025230407715, -0.0548834428191185, 0.024821007624268532, -0.28145503997802734, -0.18322023749351501, 0.09810564666986465, -0.0923248901963234, 0.045358806848526, -0.4694010019302368, 0.43699732422828674, -0.46892011165618896, 0.43419238924980164, 0.9793756604194641, 0.2882396876811981, 0.8160200119018555, -0.15872520208358765, 0.8196888566017151, -0.03241245076060295, 0.3931552469730377, -0.34630143642425537, -0.0372878722846508, -0.31013330817222595, -0.3535114824771881, 0.5887578129768372, 0.7604868412017822, -0.8392332792282104, 0.23860998451709747, -0.20780561864376068, -0.26005494594573975, -0.6035786867141724, 0.20608645677566528, 0.48054039478302, -0.16832409799098969, 0.3151801824569702, -0.32895132899284363, -0.6389685869216919, -0.7676544189453125, -0.1751682460308075, -0.35338881611824036, -0.38790634274482727, 0.42046064138412476, 0.6740304827690125, -0.589178204536438, 1.0296038389205933, -0.5078677535057068, -0.39672061800956726, -0.15001089870929718, 0.07386975735425949, 0.020685510709881783, 0.2291603684425354, 0.19846530258655548, -0.8255786895751953, -0.33443111181259155, 0.18532948195934296, -0.9315349459648132, -0.15495796501636505, -0.3101606070995331, -0.2329191267490387, 0.19186510145664215, 0.5515398383140564, -0.6625924706459045, 0.3001656234264374, 0.22891944646835327, -0.35219311714172363, 0.3836180567741394, -0.185064435005188, 0.26055917143821716, -1.0456488132476807, 0.0523587241768837, 0.08736053109169006, -0.04355946183204651, -0.24624097347259521, 0.6688764095306396, 0.35477587580680847, -0.24932582676410675, -0.21251961588859558, 0.5300074219703674, -0.8907713294029236, -0.5662693381309509, -0.27944523096084595, 0.5308946967124939, -0.08715246617794037, 0.19304350018501282, -0.33487966656684875, 0.865513026714325, 0.3467320203781128, -0.3072390854358673, 0.5374111533164978, 0.051893118768930435, -0.1337580382823944, 0.3082945644855499, -0.5227690935134888, -0.18357719480991364, -0.12735387682914734, 0.5049874782562256, -1.0222305059432983, -0.012219123542308807, 0.05147659778594971, -0.6615227460861206, 0.6027013063430786, -0.602394700050354, -0.2805967628955841, -0.5043795704841614, -0.3537270724773407, -0.10554837435483932, 0.2885831296443939, -0.40932485461235046, 0.7736663222312927, 0.48749327659606934, -0.11187663674354553, -0.7224213480949402, -0.4824479818344116, 0.19611035287380219, -0.07004602998495102, -0.97052001953125, 0.1477304846048355, 0.20892667770385742, -0.6629992723464966, -0.1123034656047821, -0.44338008761405945, -0.1532313972711563, 0.20933769643306732, 0.25711220502853394, 0.1814533770084381, -0.5196265578269958, 0.337088018655777, -0.04383974149823189, -0.6300811767578125, 0.02707933820784092, -0.39041611552238464, 0.270190566778183, -0.12483503669500351, -0.5685610771179199, -0.3481457531452179, 0.08169884234666824, 0.748729944229126, -0.08262472599744797, 0.2630866765975952, 0.21920748054981232, -0.06196818873286247, -0.3299037218093872, -0.6018985509872437, -0.6563958525657654, -0.4848925471305847, 0.403160035610199, -0.5012537240982056, -0.6785730719566345, 0.8238098621368408, -0.2533973753452301, 0.30225715041160583, 0.2374958097934723, -0.04908762872219086, -0.12130451202392578, 0.547995388507843, 0.717393159866333, -0.3037349283695221, 0.5082906484603882, -0.6041345000267029, 0.13705849647521973, -0.6953907012939453, 0.10770260542631149, -0.5431501269340515, -0.21692590415477753, -0.41206392645835876, -0.4439701735973358, 0.17001770436763763, 0.19369220733642578, -0.5806379914283752, 0.6359785795211792, -0.8454053997993469, 0.6789559125900269, 0.22626061737537384, -0.059491660445928574, 0.4482690095901489, -0.1067023053765297, 0.0031928266398608685, 0.024391785264015198, -0.3086281418800354, -0.4988407492637634, 0.7557290196418762, 0.4671328365802765, 0.7123869061470032, 0.11549105495214462, 1.0681818723678589, 0.47577103972435, 0.4822463393211365, -0.6393757462501526, 0.4551953971385956, 0.24247276782989502, -0.5427167415618896, -0.7392265796661377, -0.48206111788749695, -0.8598088026046753, 0.5919487476348877, 0.30079472064971924, -0.48032182455062866, 0.1177457943558693, 0.011820575222373009, -0.13419444859027863, 0.17028801143169403, -0.9196092486381531, 0.9222413897514343, -0.1745515614748001, 0.027293236926198006, -0.07557033747434616, -0.7460035085678101, 0.046551283448934555, 0.10565970093011856, 0.580051064491272, 0.10185205936431885, -0.2620600759983063, 0.4419252276420593, -0.7007685303688049, 0.4234333336353302, -0.6546006202697754, -0.26792052388191223, 0.4220397472381592, 0.4276314377784729, 0.7929145097732544, 0.2460097074508667, 0.05778404325246811, -0.2121327966451645, -0.03193128481507301, -0.49821415543556213, -0.816326379776001, 0.6874781250953674, -1.0678424835205078, -0.5347765684127808, -0.4580034911632538, -0.42193782329559326, -0.05604610964655876, 0.016830680891871452, 0.12061280012130737, 0.21880213916301727, 0.00021496856061276048, -0.05182143673300743, 0.5356592535972595, -0.27699199318885803, 0.23917768895626068, 0.9942182302474976, -0.22882428765296936, -0.25040674209594727, 0.787353515625, 0.21482831239700317, -0.07634875923395157, 0.4719223082065582, -0.008802056312561035, -0.2175113409757614, -0.36827608942985535, -0.7490177154541016, 0.45486119389533997, -0.6174749732017517, -0.30316147208213806, -0.4803697168827057, -0.2657293379306793, -0.25035127997398376, -0.5590851902961731, -0.3750927448272705, 0.011355442926287651, -0.027413763105869293, -0.056307945400476456, 0.5900657176971436, 0.9051855802536011, 0.13615882396697998, 0.12894071638584137, -1.0130925178527832, 0.14564791321754456, 0.16098667681217194, 0.3447246551513672, 0.12930648028850555, -0.5693838000297546, -0.04776523634791374, 0.18683423101902008, -0.1606464385986328, -1.1086291074752808, 0.4002724587917328, -0.4215177893638611, 0.751801609992981, 0.23207400739192963, 0.31606146693229675, 0.6122865080833435, -0.0934719368815422, 0.4634506404399872, -0.25980767607688904, -1.0119277238845825, 0.8012169599533081, -0.4314306378364563, 0.20961403846740723, 0.7480578422546387, -0.02952285297214985, -0.5136619806289673, -0.693996250629425, -0.5536004304885864, -1.1530007123947144, 0.6350824236869812, 0.2811163067817688, -0.23605620861053467, 0.3893767297267914, 0.3439963161945343, -0.11349708586931229, 0.048869602382183075, -0.6979185342788696, 0.004391887225210667, -0.09934007376432419, -0.11934031546115875, 0.004101891536265612, 0.04339948296546936, -0.05305758863687515, 0.11725134402513504, 0.8610122799873352, -0.08940082788467407, 0.26138627529144287, 0.10863631963729858, -0.5450161099433899, -0.2738545536994934, 0.6658975481987, 0.48041269183158875, 0.696895182132721, -0.247894287109375, 0.034872740507125854, 0.10719196498394012, -0.45735490322113037, 0.3074950575828552, 0.00830275472253561, -0.024271149188280106, -0.13854579627513885, 0.3973495662212372, 0.39164936542510986, 0.311147004365921, -0.701777994632721, 0.681892991065979, 0.0553407222032547, 0.00015966553473845124, -0.661473274230957, 0.00319004338234663, 0.25760766863822937, 0.6272535920143127, 0.6489431858062744, -0.051729220896959305, 0.23306599259376526, -0.5962674617767334, 0.4176371693611145, 0.16825628280639648, -0.6423655152320862, 0.11021410673856735, 0.08080124855041504, 0.35573217272758484, -0.3871457576751709, 0.7745069265365601, -0.012533435598015785, -0.4219748377799988, 1.2483716011047363, 0.42128536105155945, 1.0842466354370117, -0.17719945311546326, 0.33982670307159424, 0.05408259853720665, 0.3890986740589142, -0.07233978062868118, 0.05238702520728111, -0.3690647780895233, -0.518941342830658, -0.8428536653518677, -0.32951274514198303, -0.47161778807640076, -0.24793533980846405, -0.6571159958839417, 0.13392210006713867, -0.07949430495500565, 0.2618042528629303, -0.10158690065145493, 0.3392045497894287, 0.01219003926962614, -0.19486317038536072, -0.15818218886852264, 1.192197322845459, -0.9134646654129028, 0.7512104511260986, 0.9203402996063232, -0.6658440232276917, -0.8278340101242065, 0.11995557695627213, 0.21198153495788574, -0.650808572769165, 0.4432362914085388, 0.09718583524227142, 0.019479207694530487, 0.055070389062166214, -0.5766016840934753, -0.7677052617073059, 1.345810055732727, 0.20581479370594025, -0.7561009526252747, 0.12554103136062622, -0.4207982122898102, 0.6932703852653503, -0.36147353053092957, 0.6897433400154114, 0.3753620982170105, 0.7749136090278625, 0.264500230550766, -0.7508673667907715, 0.026903478428721428, -0.6138193607330322, 0.33301255106925964, 0.5949018597602844, -0.295484721660614, 0.6122270822525024, -0.3408256769180298, -0.1711677610874176, -0.08822046965360641, 0.29723459482192993, 0.7015309929847717, 0.4359777271747589, 0.6741528511047363, 0.11488828808069229, 0.48713892698287964, 0.023815438151359558, 1.1339179277420044, -0.4154631793498993, 0.5480329394340515, 0.932718813419342, -0.3275166153907776, 0.6988680958747864, 0.46249547600746155, -0.28464028239250183, 0.4739779233932495, 0.6259815692901611, -0.08274707943201065, 0.2273702472448349, 0.46529972553253174, -0.13250750303268433, -0.10961678624153137, 0.3167453408241272, -0.5127318501472473, 0.02560691349208355, 0.20688463747501373, -0.3281475305557251, -0.2164812833070755, 0.3890313506126404, -0.23086121678352356, 0.04935218393802643, -0.2182069718837738, 1.056844711303711, 0.09632913768291473, -0.35617345571517944, 0.3273484706878662, -0.32039427757263184, 0.46523919701576233, -0.5025666952133179, 0.026269953697919846, -0.27343153953552246, 0.4438169002532959, -0.16684554517269135, -0.8983855247497559, 0.19090363383293152, -0.17816205322742462, -0.1755271703004837, -0.18864454329013824, 0.7511929273605347, 0.0025534904561936855, 0.15228162705898285, 0.7614284157752991, 0.29933735728263855, 0.22423583269119263, -0.47098788619041443, -0.6814814209938049, 0.08724763244390488, 0.22337843477725983, -0.47577235102653503, 0.44127312302589417, 0.7802345156669617, 0.03895385563373566, 0.9784581661224365, 0.33877700567245483, 0.006445370614528656, -0.4657663404941559, 0.08765025436878204, 0.9558002352714539, -0.7828522324562073, -0.5709058046340942, -0.726999044418335, 0.6134284734725952, -0.34489279985427856, 0.10526978969573975, 0.7435070872306824, 0.45237624645233154, 0.6167289614677429, -0.12349747121334076, 0.7389580011367798, 0.1279953569173813, 0.4736139476299286, -0.1187332272529602, 0.8695156574249268, -0.4930391311645508, 0.6901744604110718, -0.42815157771110535, -0.9590929746627808, -0.23833055794239044, 0.9855119585990906, -0.3145007789134979, -0.07052269577980042, 0.6128401756286621, 0.8564872741699219, 0.08431143313646317, 0.34552648663520813, 0.14528705179691315, 0.6283679604530334, 0.19997528195381165, 0.37383726239204407, 0.8909841179847717, -0.6067176461219788, 0.7276933193206787, -0.12792518734931946, -0.336247056722641, -0.262135773897171, -0.21546781063079834, -0.49091723561286926, -0.4463844299316406, -0.18824808299541473, -0.4805830717086792, 0.2339116632938385, 0.8676401972770691, 0.5449168682098389, -0.9758761525154114, -0.44328880310058594, -0.46029993891716003, 0.37213781476020813, -0.0848560705780983, -0.295238733291626, 0.13401374220848083, -0.3841601014137268, -0.0784521996974945, 0.2502939701080322, 0.62189120054245, -0.05039575695991516, -0.5429844856262207, -0.23895247280597687, -0.02017330564558506, -0.20246174931526184, 0.46013256907463074, 0.46762803196907043, -0.6007323265075684, -0.11446812003850937, 0.07324779778718948, -0.4726242125034332, -0.05348233878612518, 1.0455234050750732, -0.7325639724731445, 0.3317486047744751, 0.5689393877983093, 0.30456000566482544, 0.6825531125068665, -0.08533134311437607, 0.7687743306159973, -0.42278850078582764, 0.134333997964859, 0.3646239638328552, 0.33677688241004944, -0.053689926862716675, -0.47211217880249023, 0.8297856450080872, -0.10315969586372375, -0.8607859015464783, -0.8034704923629761, 0.1595027893781662, -0.8211605548858643, -0.7483267188072205, 0.9592339396476746, -0.22088773548603058, -0.4189676344394684, -0.6054210662841797, -0.5134046673774719, 0.3449041545391083, -0.5428377389907837, 0.8309689164161682, 0.22512854635715485, 0.1366061568260193, -0.5929693579673767, -0.5026252269744873, 0.099458247423172, -0.02326185069978237, -0.8687154054641724, 0.12168098241090775, 0.6109863519668579, 0.3726809322834015, 0.3727231025695801, 0.7856608629226685, -0.15248964726924896, 0.2705423831939697, 0.28986993432044983, 0.3759413957595825, -0.049132633954286575, -0.307614803314209, -0.11073634773492813, 0.2930733859539032, 0.16454638540744781, 0.06757761538028717 ]
http://arxiv.org/abs/2406.01392v2
http://arxiv.org/pdf/2406.01392v2
Sparsity-Accelerated Training for Large Language Models
2024-06-03T14:56:09
2024-06-06T16:38:34
Da Ma, Lu Chen, Pengyu Wang, Hongshen Xu, Hanqi Li, Liangtai Sun, Su Zhu, Shuai Fan, Kai Yu
cs.CL
cs.CL
Large language models (LLMs) have demonstrated proficiency across various natural language processing (NLP) tasks but often require additional training, such as continual pre-training and supervised fine-tuning. However, the costs associated with this, primarily due to their large parameter count, remain high. This paper proposes leveraging \emph{sparsity} in pre-trained LLMs to expedite this training process. By observing sparsity in activated neurons during forward iterations, we identify the potential for computational speed-ups by excluding inactive neurons. We address associated challenges by extending existing neuron importance evaluation metrics and introducing a ladder omission rate scheduler. Our experiments on Llama-2 demonstrate that Sparsity-Accelerated Training (SAT) achieves comparable or superior performance to standard training while significantly accelerating the process. Specifically, SAT achieves a $45\%$ throughput improvement in continual pre-training and saves $38\%$ training time in supervised fine-tuning in practice. It offers a simple, hardware-agnostic, and easily deployable framework for additional LLM training. Our code is available at https://github.com/OpenDFM/SAT.
[ -0.3581768870353699, -0.7360743880271912, 0.4356245696544647, 0.5566763877868652, -0.30655550956726074, -0.057627078145742416, -0.5390756130218506, -0.29900920391082764, 0.3442530035972595, 0.34002646803855896, -0.4429026246070862, -0.07291371375322342, -0.8883252739906311, -0.003551164409145713, -0.34281036257743835, 0.8933678269386292, 0.023345569148659706, 0.027034442871809006, -0.05893980339169502, -0.06456248462200165, -0.3343639373779297, -0.38094037771224976, -0.7858746647834778, -0.47233837842941284, 0.7328845262527466, 0.11659238487482071, 0.7937467098236084, 0.6607471108436584, 0.3455820679664612, 0.30238857865333557, -0.3164660632610321, 0.2642052471637726, -0.6458489298820496, 0.2078840583562851, 0.190388485789299, -0.11460630595684052, -0.6861110925674438, -0.0935804471373558, 0.9390439987182617, 0.7821491956710815, -0.32469189167022705, 0.14208808541297913, 0.11099708825349808, 0.6748781800270081, -0.6955623626708984, -0.0961303636431694, -0.8224438428878784, 0.045853231102228165, -0.07457424700260162, -0.5482082962989807, -0.33897313475608826, -0.24194583296775818, -0.08162462711334229, -0.7100922465324402, 0.1836174726486206, -0.12388662248849869, 0.8800464868545532, 0.5231891870498657, 0.09269143640995026, 0.08411204814910889, -0.4127134680747986, 0.44210177659988403, -0.60575270652771, 0.5175490975379944, 0.30672842264175415, -0.06150471791625023, -0.5002264976501465, -0.648321807384491, -0.33935675024986267, -0.4274863302707672, 0.05188274383544922, -0.13522771000862122, -0.10163414478302002, 0.1602945178747177, 0.5057452321052551, 0.23866349458694458, -0.6392024755477905, 0.42403534054756165, -0.13745717704296112, 0.10667282342910767, 0.37126997113227844, 0.12025117874145508, 0.17400139570236206, 0.47777003049850464, -0.19606463611125946, 0.0830310508608818, -0.8838664889335632, -0.07236503809690475, 0.2729952037334442, 0.3374076783657074, -0.08066593110561371, 0.58553147315979, -0.053755711764097214, 0.8306390643119812, -0.022761858999729156, 0.2750833332538605, 0.4253552556037903, -0.008507119491696358, -0.1366746723651886, -0.028337078168988228, 0.3621388077735901, -0.30151405930519104, 0.34799569845199585, -0.4770565629005432, -0.43783512711524963, -0.03017347678542137, 0.30075544118881226, -0.9362273216247559, -0.01202221680432558, 0.03796318173408508, -0.12796498835086823, 0.0580509752035141, -0.3846450448036194, -0.4926808774471283, -0.37903133034706116, -0.45683568716049194, 0.4442920684814453, -0.2730978727340698, -0.31187736988067627, 0.33599722385406494, -0.05740931257605553, 0.0407516285777092, 0.4517379701137543, -0.9603632688522339, 0.45019009709358215, 0.8880649209022522, 0.9518353343009949, -0.2621041536331177, -0.6958407759666443, -1.2196780443191528, 0.011458267457783222, -0.5030394196510315, 0.8419601321220398, -0.6146765351295471, 0.03814154490828514, -0.1753358095884323, -0.02991901896893978, -0.23642070591449738, -0.3855036795139313, 0.28710177540779114, -0.6880567669868469, -0.4886270761489868, -0.04683055728673935, -0.3118835389614105, 0.225478395819664, 0.2687942683696747, -0.5532785654067993, 1.3925807476043701, -0.0206490196287632, -0.4721132814884186, 0.3506353795528412, -0.5486501455307007, -0.7962775826454163, 0.10497325658798218, -0.027652842923998833, -0.3397321105003357, 0.42851629853248596, 0.2797568142414093, 0.6756324768066406, -0.17068104445934296, 0.5445635318756104, -0.23984645307064056, -0.8162522912025452, 0.28214702010154724, -0.2916656732559204, 0.3292299807071686, -0.06051010265946388, -0.3799719214439392, 0.050744783133268356, -0.8872799873352051, 0.03682278096675873, -0.04572736471891403, -0.6672521829605103, -0.2513126730918884, 0.005252665374428034, -0.07128208130598068, 0.09892512112855911, 0.085136279463768, -0.1594807505607605, 0.09262984991073608, -0.8826201558113098, 0.3087085783481598, 0.8970029354095459, -0.3278087079524994, 0.38353684544563293, 0.0739525780081749, 0.46642613410949707, -0.283311128616333, -0.04946769028902054, 0.03525654971599579, -0.3156062066555023, -1.0226387977600098, -0.42379647493362427, 0.24363477528095245, 0.12827453017234802, -0.507881224155426, 0.6265097260475159, -0.4591553807258606, -0.40100526809692383, -0.4028647541999817, 0.1972220242023468, 0.46653124690055847, 0.10053521394729614, 0.5317429304122925, -0.38011687994003296, -0.43095260858535767, -0.6157315373420715, -0.36125707626342773, 0.2584867775440216, 0.06032438576221466, 0.032551757991313934, 0.5031479597091675, -0.1364416778087616, 0.5568810105323792, -0.38855406641960144, -0.21166983246803284, -0.28746867179870605, 0.3274992108345032, 0.28447064757347107, 0.535153329372406, 0.24554091691970825, -0.45430058240890503, -0.1940045803785324, -0.04867991432547569, -0.3628920316696167, -0.09328612685203552, -0.11960411071777344, -0.04991971328854561, 0.21788077056407928, 0.47837701439857483, -0.9189507961273193, 0.36670759320259094, 0.47080495953559875, 0.039013881236314774, 0.3333251178264618, -0.4827168583869934, -0.027459317818284035, -0.6877270936965942, 0.19112713634967804, 0.053306665271520615, -0.0679020807147026, -0.6475397944450378, -0.16022194921970367, -0.11531245708465576, -0.2444448322057724, -0.19996900856494904, 0.6254904866218567, -0.8030567169189453, -0.6572845578193665, -0.3616074025630951, 0.3057699203491211, -0.23416590690612793, 0.6359316110610962, 0.23259226977825165, 0.9150412082672119, 0.5197079181671143, -0.729890763759613, -0.2232506424188614, 0.024026833474636078, -0.3481284976005554, -0.1060752123594284, -0.7938035726547241, 0.12426542490720749, -0.06363916397094727, 0.045760512351989746, -0.7842405438423157, -0.07515093684196472, -0.029353249818086624, -0.46549326181411743, 0.5027331709861755, -0.07112853974103928, -0.6517639756202698, -0.16031573712825775, -0.1697341650724411, 0.29201462864875793, 0.42117562890052795, -0.7246832847595215, 0.6381892561912537, 0.40782153606414795, -0.11592791229486465, -0.9589730501174927, -0.6364439725875854, 0.1198648139834404, 0.26783931255340576, -0.37593114376068115, 0.2954168915748596, 0.16339580714702606, 0.1483331322669983, -0.12210060656070709, -0.05776172876358032, 0.0823322981595993, 0.3962711691856384, 0.4017581343650818, -0.07121572643518448, -0.2090594619512558, 0.32516229152679443, 0.11222264170646667, -0.3725144565105438, -0.14355804026126862, -0.10106503963470459, 0.8081845045089722, -0.23827706277370453, -0.36304014921188354, -0.41089770197868347, 0.028237154707312584, 0.37300238013267517, -0.3073899745941162, 0.7529585361480713, 0.5687242746353149, -0.43689876794815063, -0.2913579046726227, -0.7590668797492981, -0.21128025650978088, -0.48803022503852844, 0.7592637538909912, -0.08310975134372711, -0.9731037616729736, 0.09780411422252655, -0.10488760471343994, 0.03773589804768562, 0.13743369281291962, 0.5755360126495361, 0.20118552446365356, 0.9459412097930908, 0.683556854724884, -0.2340800166130066, 0.48878318071365356, -0.08177877217531204, 0.30404987931251526, -0.650584876537323, -0.03739142417907715, -0.6185964345932007, -0.32561710476875305, -0.14383536577224731, -0.5685710310935974, 0.20432782173156738, -0.021673355251550674, -0.3247677981853485, 0.24598048627376556, -0.3494645655155182, 0.6810758113861084, 0.1715586930513382, 0.009725281968712807, 0.18541735410690308, 0.31140440702438354, 0.16725456714630127, -0.01304437406361103, -0.8970983624458313, -0.20248115062713623, 0.7966799139976501, 0.34863099455833435, 0.7350064516067505, -0.35631731152534485, 0.2743288278579712, 0.22579672932624817, 0.4307906925678253, -0.6428954005241394, 0.812457799911499, -0.1980411410331726, -0.21661145985126495, -0.23767206072807312, -0.5017447471618652, -0.9821969866752625, 0.30176135897636414, -0.38623055815696716, -0.5588132739067078, 0.0208300594240427, 0.4420596659183502, -0.3354431986808777, 0.2448514997959137, -0.49984505772590637, 0.6566699147224426, -0.4259016215801239, -0.4376813471317291, -0.7057218551635742, -0.5391930341720581, 0.12281692773103714, 0.07020552456378937, -0.08141543716192245, -0.22038207948207855, -0.17065487802028656, 0.6843529343605042, -0.15671691298484802, 0.8482688069343567, -0.2800239026546478, 0.24087795615196228, -0.11605829000473022, -0.05732408165931702, 0.6456295251846313, 0.07502651959657669, -0.041564300656318665, 0.2595122158527374, -0.6305052638053894, -0.2969244420528412, -0.4223874509334564, 0.940146803855896, -0.7227423191070557, -0.4772028923034668, -0.5615304708480835, -0.6747235059738159, -0.36833879351615906, 0.03890248015522957, -0.14002813398838043, 0.40151700377464294, -0.02709968015551567, 0.15143314003944397, 0.6808541417121887, -0.2844814360141754, 0.3410702645778656, 0.3735775649547577, 0.013229740783572197, -0.44688358902931213, 0.9829203486442566, 0.1849866807460785, 0.19529123604297638, 0.25099533796310425, -0.0936024934053421, -0.09919487684965134, -0.9061231017112732, -0.27793726325035095, 0.352868914604187, -0.47393038868904114, -0.2738132178783417, -0.8822230100631714, -0.3473547697067261, -0.3379155695438385, -0.3047490119934082, -0.5550268292427063, -0.547274649143219, -0.4847743809223175, -0.1361541897058487, 0.5147032737731934, 0.3789401948451996, -0.09208204597234726, 0.7552278637886047, -0.7255361676216125, 0.4092586934566498, 0.07936597615480423, 0.5614513754844666, 0.2157284915447235, -0.7404377460479736, -0.4200698137283325, -0.15286299586296082, -0.15530340373516083, -0.25851255655288696, 0.49955394864082336, 0.44769424200057983, 0.6564397811889648, 0.19532306492328644, -0.5025447010993958, 1.046426773071289, -0.5411354303359985, 0.5780807733535767, 0.3396562933921814, -0.8009974956512451, 0.34587201476097107, -0.0013494337908923626, 0.11188223958015442, 0.5615550875663757, 0.500914454460144, -0.22082699835300446, -0.11641865968704224, -0.2944626808166504, -1.0151065587997437, 0.7378666996955872, 0.1413428783416748, 0.1650494486093521, -0.10262441635131836, 0.5876858830451965, 0.12743467092514038, 0.2036406546831131, -0.7134832739830017, 0.03425883874297142, 0.13231346011161804, 0.10912659019231796, -0.3493911921977997, -0.3794872760772705, -0.01756536029279232, -0.37043699622154236, 0.9379976391792297, -0.13718007504940033, 0.10877346992492676, 0.015266232192516327, -0.3822895288467407, -0.08396174013614655, 0.22900328040122986, 0.45467594265937805, 0.5536486506462097, -0.13182029128074646, 0.05183594301342964, 0.36361998319625854, -0.5372695922851562, 0.1270005702972412, 0.3172607123851776, 0.022445008158683777, -0.09239976853132248, 0.12343849986791611, 0.9031276106834412, 0.5376225113868713, -0.729817271232605, 0.5615554451942444, -0.031370267271995544, -0.09339538961648941, -0.19214557111263275, 0.06078226864337921, 0.1362740844488144, 0.2673824429512024, 0.26230430603027344, 0.23904849588871002, -0.11210139840841293, -0.17366273701190948, 0.012579116970300674, 0.5056732892990112, -0.2610175907611847, -0.40112051367759705, 0.4222012162208557, 0.1579287052154541, -0.32111334800720215, 0.6304747462272644, -0.001997182844206691, -0.34197381138801575, 0.5250498652458191, 0.5869739651679993, 0.9198512434959412, -0.11723384261131287, -0.029141830280423164, 0.38109463453292847, 0.45571625232696533, -0.5630276203155518, 0.15879057347774506, -0.10289641469717026, -0.5822874307632446, -0.712703287601471, -0.8493524789810181, -0.15135276317596436, 0.19519053399562836, -0.385596364736557, 0.37905624508857727, -0.5417211651802063, -0.2630789875984192, -0.1962224245071411, -0.32367992401123047, -0.3926555812358856, 0.21117132902145386, 0.0827590674161911, 0.9922702312469482, -0.8073504567146301, 0.8215079307556152, 0.3510739803314209, -0.06155037879943848, -0.5269851088523865, -0.20084741711616516, -0.5734646916389465, -0.7982251048088074, 0.7385451197624207, 0.5112029910087585, -0.5173613429069519, 0.10573067516088486, -0.5526138544082642, -0.9079397320747375, 0.8048126697540283, 0.6701202988624573, -0.653045117855072, 0.027671566233038902, -0.02592840977013111, 0.7220174670219421, -0.2571429908275604, 0.13180996477603912, 0.6819115281105042, 0.2490469515323639, -0.1692546159029007, -0.5092021226882935, 0.03280249983072281, -0.3654078245162964, 0.1130126342177391, 0.367902547121048, -0.289491206407547, 0.6489188075065613, -0.3311118483543396, -0.1579275280237198, 0.2153632640838623, 0.7326237559318542, 0.45379534363746643, 0.20640559494495392, 0.5438193678855896, 0.7588741779327393, 0.6191666722297668, -0.10644077509641647, 0.8030853271484375, -0.29038292169570923, 0.05834444612264633, 1.1926931142807007, -0.3750614523887634, 1.0466035604476929, 0.8255822658538818, -0.0639856606721878, -0.017674146220088005, 0.5719867944717407, 0.0014348149998113513, 0.41600003838539124, 0.4342716932296753, -0.0857861191034317, -0.48179322481155396, -0.13451838493347168, -0.6079605221748352, 0.045809511095285416, 0.4494727849960327, -0.19108067452907562, -0.17210529744625092, -0.06510823220014572, -0.08448117971420288, 0.0886918306350708, -0.4484335780143738, 0.4758830666542053, 0.15626998245716095, -0.7859001159667969, 0.8317387700080872, -0.17700083553791046, 0.7864289879798889, -0.9645454287528992, -0.09975160658359528, -0.15901733934879303, 0.2696520984172821, -0.14722664654254913, -0.5350698232650757, 0.14687713980674744, 0.17180967330932617, 0.042757224291563034, -0.29448482394218445, 0.7093574404716492, -0.22350825369358063, -0.31798964738845825, 0.6049529314041138, 0.3097899854183197, 0.22263653576374054, -0.14719568192958832, -0.5661823153495789, 0.09537982195615768, -0.4685315191745758, -0.6462237238883972, 0.7410802245140076, 0.1325668841600418, 0.14185811579227448, 0.8022278547286987, 0.7668314576148987, 0.37513068318367004, 0.26462653279304504, 0.3166864216327667, 1.305436611175537, -0.35368600487709045, -0.24159328639507294, -0.7166587114334106, 0.26153942942619324, -0.04202058166265488, -0.45683613419532776, 0.45785510540008545, 0.6178168058395386, 0.6010869741439819, -0.06646586954593658, 0.3677685260772705, 0.08750706911087036, 0.3378888964653015, -0.6808476448059082, 0.7245218753814697, -0.7413094639778137, 0.3317733108997345, -0.07186451554298401, -0.8219932913780212, -0.5538265705108643, 0.5449204444885254, -0.33361008763313293, 0.07448038458824158, 0.46081671118736267, 1.0908533334732056, -0.11007314920425415, -0.03625647351145744, 0.21822676062583923, 0.24151958525180817, 0.0498204305768013, 0.4498871862888336, 1.0029116868972778, -0.2550046443939209, 0.46678510308265686, -0.1368364840745926, -0.10223110020160675, -0.0248408280313015, -0.9321156144142151, -0.9341519474983215, -0.30264100432395935, -0.30451154708862305, -0.3226032853126526, 0.4750567674636841, 1.0735938549041748, 0.6619822382926941, -0.5033453702926636, -0.24329590797424316, -0.3002456724643707, -0.1773790717124939, -0.34494030475616455, -0.1044648289680481, 0.37129703164100647, -0.7334652543067932, -0.3386602997779846, 0.7110430598258972, 0.5084219574928284, -0.01067331898957491, -0.023063886910676956, -0.16970843076705933, -0.44242724776268005, -0.1241568922996521, 0.531643807888031, 0.37827637791633606, -0.4359269440174103, 0.009060846641659737, -0.005978439003229141, 0.06087162345647812, 0.2082868367433548, 0.9703373908996582, -0.6675018668174744, 0.017723465338349342, 0.4753933846950531, 1.128072738647461, 0.7138081192970276, -0.06500805169343948, 0.4501906931400299, -0.828675389289856, 0.5195013284683228, 0.3372688293457031, 0.36293232440948486, 0.33883240818977356, -0.42465344071388245, 0.5035024285316467, 0.12459696829319, -0.6860731244087219, -1.1424983739852905, -0.11456266045570374, -1.047861933708191, -0.11436265707015991, 1.1855440139770508, -0.18376073241233826, -0.24717923998832703, -0.042641617357730865, 0.06777050346136093, 0.16251413524150848, -0.3752911686897278, 0.6644200086593628, 0.34199437499046326, 0.056618690490722656, 0.024744432419538498, -0.5549514293670654, 0.4154890179634094, 0.7598180770874023, -0.8944670557975769, 0.2996082305908203, 0.4363156259059906, 0.11821824312210083, -0.15225601196289062, 0.772322416305542, -0.036906205117702484, 0.3497181832790375, -0.09057196229696274, 0.26100850105285645, -0.21660038828849792, -0.6988330483436584, -0.6270118355751038, 0.13033166527748108, 0.19147054851055145, 0.09915981441736221 ]
http://arxiv.org/abs/2406.01382v1
http://arxiv.org/pdf/2406.01382v1
Do Large Language Models Perform the Way People Expect? Measuring the Human Generalization Function
2024-06-03T14:45:21
2024-06-03T14:45:21
Keyon Vafa, Ashesh Rambachan, Sendhil Mullainathan
cs.CL
cs.CL, cs.AI
What makes large language models (LLMs) impressive is also what makes them hard to evaluate: their diversity of uses. To evaluate these models, we must understand the purposes they will be used for. We consider a setting where these deployment decisions are made by people, and in particular, people's beliefs about where an LLM will perform well. We model such beliefs as the consequence of a human generalization function: having seen what an LLM gets right or wrong, people generalize to where else it might succeed. We collect a dataset of 19K examples of how humans make generalizations across 79 tasks from the MMLU and BIG-Bench benchmarks. We show that the human generalization function can be predicted using NLP methods: people have consistent structured ways to generalize. We then evaluate LLM alignment with the human generalization function. Our results show that -- especially for cases where the cost of mistakes is high -- more capable models (e.g. GPT-4) can do worse on the instances people choose to use them for, exactly because they are not aligned with the human generalization function.
[ -0.36574429273605347, -0.2843655049800873, 0.7974706888198853, 0.3487653136253357, -0.06513924151659012, -0.05924332141876221, -0.314387708902359, -0.6439455151557922, -0.09963597357273102, 0.3595777750015259, -0.31499218940734863, -0.4453916847705841, -0.6227437257766724, 0.0975542664527893, -0.46371036767959595, 0.8259750604629517, 0.14921459555625916, -0.05028722062706947, -0.2847652733325958, -0.007850335910916328, -0.5122348070144653, -0.677029550075531, -0.3543574810028076, -0.7424668669700623, 0.5495601892471313, 0.17710399627685547, 1.0705808401107788, 0.6546454429626465, 0.3983478546142578, 0.2343440055847168, -0.059057608246803284, -0.025578614324331284, -0.478686660528183, -0.18092574179172516, -0.26118600368499756, -0.48995184898376465, -0.427839457988739, 0.20323708653450012, 0.6873511075973511, 0.9902583360671997, -0.5197415947914124, 0.01872246526181698, 0.20949538052082062, 0.4516785740852356, -0.2449856400489807, -0.03809906914830208, -0.6008899211883545, -0.04729108512401581, 0.0015342773403972387, 0.25707048177719116, -0.26549193263053894, -0.3005748987197876, 0.3136623203754425, -0.304332971572876, 0.16521838307380676, 0.20952801406383514, 0.6952003836631775, 0.1011233776807785, -0.6271392703056335, -0.2479255646467209, -0.8678851127624512, 1.0629857778549194, -0.7520381808280945, 0.2142699807882309, 0.48231375217437744, 0.3813413083553314, -0.521862268447876, -0.276638388633728, -0.44740450382232666, -0.3629731833934784, -0.017826780676841736, -0.05419248715043068, -0.0019577029161155224, 0.1524370014667511, 0.3599205017089844, 0.3070071339607239, -0.6862847208976746, 0.4474203288555145, -0.3891502320766449, -0.03716593235731125, 0.728522777557373, 0.20000451803207397, 0.3037036061286926, 0.00623887125402689, -0.19423966109752655, -0.09820117056369781, -0.7473487854003906, -0.09883313626050949, 0.5863513946533203, 0.0903577134013176, -0.039190225303173065, 0.5389688014984131, -0.21777425706386566, 0.7530815005302429, -0.283211886882782, -0.028216011822223663, 0.2466995120048523, -0.2389756739139557, -0.3615623116493225, -0.2797599136829376, 0.6511350274085999, 0.5198816657066345, 0.7918170094490051, -0.26514437794685364, -0.4649585783481598, 0.14912594854831696, 0.40616780519485474, -0.46068355441093445, 0.12476714700460434, 0.14564207196235657, -0.3035155236721039, -0.24589556455612183, 0.10937707126140594, -0.558615505695343, -0.5032313466072083, -0.2968718409538269, 0.10117635875940323, -0.16392822563648224, -0.17509765923023224, 0.3413780927658081, 0.0069787208922207355, 0.39352619647979736, 0.43111661076545715, -1.1706098318099976, 0.5734124779701233, 0.921589732170105, 0.522626519203186, -0.31042614579200745, -0.676452100276947, -0.46145203709602356, 0.005701269954442978, -0.45335671305656433, 0.7093743681907654, -0.305847704410553, -0.3960610628128052, 0.07512306421995163, -0.34982627630233765, -0.09671183675527573, -0.9003971219062805, 0.7529087066650391, -0.30957865715026855, -0.06609421223402023, -0.49614131450653076, -0.5398548245429993, -0.1176801398396492, 0.19899272918701172, -0.381665974855423, 0.581422746181488, 0.03842166066169739, -0.36330869793891907, 0.5412325859069824, -0.3625829219818115, -0.3854179382324219, 0.06020151078701019, -0.36598512530326843, -0.304358571767807, 0.4287587106227875, 0.09142021089792252, 0.5170555114746094, -0.4495462477207184, 0.4371601641178131, -0.49012959003448486, -0.41306954622268677, 0.5473565459251404, -0.3276301920413971, 0.6009010076522827, 0.20442894101142883, -0.2859216630458832, -0.008380736224353313, -0.31358522176742554, 0.08627196401357651, 0.03272829204797745, -0.6971786022186279, -0.23378397524356842, 0.41950321197509766, -0.035238634794950485, 0.3259768784046173, 0.015260930173099041, -0.3776439130306244, 0.347105473279953, -0.4622054398059845, 0.2983561158180237, 0.8078320026397705, -0.2624903917312622, 0.4164808392524719, -0.43237459659576416, 0.5397207736968994, -0.15292246639728546, 0.2064809501171112, 0.25792863965034485, -0.7754914164543152, -0.43256038427352905, 0.03249159827828407, 0.28743264079093933, 0.2943727374076843, -0.06791379302740097, 0.40916889905929565, -0.38084688782691956, -0.42787298560142517, -0.3053661584854126, 0.46078529953956604, 0.3354356586933136, 0.37914687395095825, 0.058453578501939774, -0.1853281706571579, -0.4313049912452698, -1.1555547714233398, -0.4059632122516632, -0.3866826891899109, -0.33672231435775757, 0.18771302700042725, 0.5036851763725281, -0.5087904334068298, 0.9011211395263672, -0.335004061460495, 0.00572931207716465, -0.2774713933467865, 0.29880914092063904, 0.32870739698410034, 0.17980894446372986, 0.4059050381183624, -0.9114150404930115, -0.2239416241645813, 0.16838759183883667, -0.7359787225723267, -0.23145750164985657, 0.04401722177863121, 0.2163867950439453, 0.16942937672138214, 0.220168799161911, -0.5492187142372131, 0.11954136192798615, 0.8480755090713501, -0.28319263458251953, 0.6451154351234436, -0.3656691908836365, 0.015981238335371017, -0.8427979350090027, -0.009518027305603027, 0.3317544758319855, -0.3484360873699188, -0.5894737243652344, 0.03410151228308678, -0.039377860724925995, 0.07372807711362839, -0.1521090567111969, 0.35578325390815735, -0.3292742073535919, -0.5060074329376221, -0.1838749796152115, -0.02983601950109005, -0.2211158722639084, 0.17873051762580872, -0.09629134088754654, 0.5704294443130493, 0.3100985288619995, -0.4876396358013153, 0.2605603039264679, -0.05967293307185173, -0.6767261624336243, 0.3257640600204468, -0.8995413184165955, 0.08177311718463898, -0.070203997194767, 0.08997800946235657, -1.055485725402832, -0.47111448645591736, -0.20233288407325745, -0.19524510204792023, 0.03187796100974083, -0.07004167139530182, -0.6444113254547119, -0.527881383895874, 0.027897503226995468, 0.16902926564216614, 0.7050170302391052, -0.330729603767395, 0.49777281284332275, 0.4034844636917114, -0.06747990101575851, -0.5786289572715759, -0.8609840869903564, 0.16605426371097565, -0.42014777660369873, -0.6310254335403442, 0.12852533161640167, -0.06495533883571625, -0.5414703488349915, -0.24496781826019287, -0.06125209853053093, -0.04803382605314255, 0.31001320481300354, 0.4070045053958893, 0.3360764682292938, -0.139993354678154, 0.2534644305706024, -0.43354520201683044, 0.12365204840898514, 0.08174115419387817, -0.27251002192497253, 0.5560887455940247, -0.3516097664833069, -0.6848704814910889, -0.10166969150304794, 0.20390287041664124, 0.5252518057823181, 0.054007016122341156, 0.5350099802017212, 0.30947041511535645, -0.36126235127449036, -0.09887281060218811, -0.8511117100715637, 0.12764953076839447, -0.4410170614719391, 0.6059311032295227, -0.20933879911899567, -0.8304383158683777, 0.5485822558403015, 0.046504195779561996, 0.2991234064102173, 0.45842549204826355, 0.5722090601921082, -0.4004935920238495, 1.180167317390442, 0.6705635190010071, -0.09778343886137009, 0.12573431432247162, 0.06154877692461014, -0.02748691849410534, -0.5965303778648376, 0.09918173402547836, -0.47276005148887634, -0.48776721954345703, -0.6944257020950317, -0.25469040870666504, 0.2100135236978531, 0.3405922055244446, -0.09803471714258194, 0.14136400818824768, -0.2765290439128876, 0.5926051735877991, 0.40224531292915344, -0.3117503523826599, 0.34517285227775574, 0.07735404372215271, 0.04111742973327637, -0.00644032983109355, -0.36924269795417786, -0.7811247706413269, 1.1490139961242676, 0.4963712990283966, 0.9198782444000244, 0.18857236206531525, 0.7197631597518921, 0.29180896282196045, 0.6100467443466187, -0.7879992723464966, 0.3970194160938263, -0.26513829827308655, -0.5636074542999268, -0.39217889308929443, -0.5107408165931702, -1.0126309394836426, 0.32799234986305237, -0.10277478396892548, -0.8342689275741577, 0.095489501953125, 0.30497220158576965, -0.2630736529827118, 0.0955233946442604, -0.9423650503158569, 0.7698362469673157, -0.3990458846092224, 0.20744366943836212, -0.2667061388492584, -0.5065720081329346, 0.44197720289230347, -0.3010619580745697, 0.34306615591049194, -0.25954973697662354, -0.10602346807718277, 0.7889192700386047, -0.00868029985576868, 0.8251634240150452, -0.16876189410686493, -0.06365934759378433, 0.15571749210357666, -0.054736990481615067, 0.4555111229419708, -0.35733848810195923, -0.33281415700912476, 0.2633942663669586, -0.2452908158302307, -0.3554057478904724, -0.6761330962181091, 0.6118346452713013, -0.9104012250900269, -0.8014712333679199, -0.1963074803352356, -0.38623371720314026, -0.2663595974445343, 0.0007813054835423827, 0.3017641007900238, 0.18809714913368225, -0.4005841314792633, 0.10117606818675995, 0.5229493379592896, -0.17031821608543396, 0.25290825963020325, 0.2602090537548065, -0.538330078125, -0.17701579630374908, 0.7724789977073669, 0.32136544585227966, 0.5950801968574524, 0.21483469009399414, 0.4654647707939148, -0.29044386744499207, -0.7580468058586121, -0.3117082715034485, 0.3153926432132721, -0.7256141304969788, 0.20592258870601654, -0.5379405617713928, 0.14156904816627502, -0.40980786085128784, -0.17298412322998047, -0.17390219867229462, -0.16621823608875275, -0.058266110718250275, -0.08657778054475784, -0.2887047529220581, 1.1590659618377686, 0.15615881979465485, 0.31791043281555176, -0.6042860150337219, 0.1526941955089569, 0.6537163853645325, 0.28096795082092285, -0.10479505360126495, -0.5764098763465881, -0.2882266938686371, 0.06356817483901978, -0.4296718239784241, -0.4582452178001404, 0.2798979580402374, 0.1947941780090332, 0.7244673371315002, 0.27547430992126465, -0.29435569047927856, 0.4224318563938141, -0.5321292281150818, 0.49298325181007385, 0.1857144981622696, -0.7033618688583374, 0.12727949023246765, -0.41360601782798767, 0.3262137770652771, 0.28394925594329834, 0.30052873492240906, -1.0012446641921997, -0.3090817928314209, -0.4760579466819763, -0.4663836658000946, 0.4852997064590454, -0.027364367619156837, 0.2844184339046478, -0.047744445502758026, 0.4375336766242981, 0.02857111394405365, 0.12167971581220627, -0.7858574390411377, -0.07448294758796692, 0.08415362983942032, -0.1919521987438202, -0.4174134135246277, -0.36732327938079834, -0.0452338382601738, 0.13650482892990112, 0.2730521559715271, -0.2307358980178833, 0.20899203419685364, -0.13282553851604462, -0.033058471977710724, -0.3002845048904419, 0.5950508713722229, 0.8898438215255737, 0.9935279488563538, -0.1814315915107727, 0.08065462112426758, 0.18464717268943787, -0.09641347080469131, 0.26450467109680176, -0.018509522080421448, 0.10386724025011063, -0.23073981702327728, 0.4304431974887848, 0.5414911508560181, 0.28662189841270447, -0.7605221271514893, 0.6367916464805603, -0.05273092910647392, -0.23397187888622284, -0.27060046792030334, 0.17838270962238312, 0.5473102331161499, 0.18226048350334167, 0.5493534207344055, 0.017141971737146378, 0.07342932373285294, -0.674705445766449, -0.031331583857536316, 0.47309210896492004, -0.04632632061839104, -0.5038868188858032, 0.5342675447463989, 0.10582827776670456, -0.4751575291156769, 0.696948766708374, -0.16877181828022003, -0.536913275718689, 0.7064648270606995, 0.49434852600097656, 0.8543802499771118, -0.2398928850889206, 0.16983520984649658, 0.08889146894216537, 0.5372990369796753, -0.5713008046150208, 0.03128882497549057, 0.29937493801116943, -1.0109189748764038, -0.7566750049591064, -0.8545718789100647, -0.5639508962631226, 0.06773784756660461, -0.45861127972602844, 0.2629058361053467, -0.4015139043331146, -0.2080049365758896, 0.12698128819465637, -0.22066980600357056, -0.8168835043907166, 0.26040762662887573, 0.37472838163375854, 0.74016273021698, -0.9970003366470337, 0.7741597890853882, 0.6700152158737183, -0.09366548806428909, -0.7680566310882568, 0.09935460239648819, 0.023792123422026634, -1.026413083076477, 0.9103342890739441, 0.3035551607608795, 0.1424720585346222, -0.3505081236362457, -0.4316336214542389, -0.7304002046585083, 0.7640645503997803, 0.603445827960968, -0.8470925092697144, -0.32707592844963074, 0.3502562940120697, 0.7698934078216553, -0.5110327005386353, 0.015354911796748638, 0.4790475368499756, 0.423469603061676, -0.1653939187526703, -1.072110652923584, -0.12203916162252426, 0.17248447239398956, 0.25631436705589294, 0.14751426875591278, -0.4282253384590149, 0.8312758207321167, -0.4069884717464447, -0.19072602689266205, -0.1344822347164154, 0.3669607937335968, 0.14161734282970428, 0.10640760511159897, 0.6352875828742981, 0.5603461861610413, 0.8584092855453491, -0.07126123458147049, 1.5637155771255493, 0.3548029959201813, 0.3611023426055908, 1.1698124408721924, -0.42514511942863464, 0.8457764387130737, 0.3821735680103302, -0.5156036019325256, 0.27486851811408997, 0.4818287789821625, -0.051198139786720276, 0.231075718998909, 0.445393443107605, -0.06615693867206573, -0.4427366256713867, 0.12951622903347015, -0.005194215569645166, 0.482441782951355, 0.31604883074760437, -0.43561387062072754, -0.17091019451618195, -0.149174302816391, -0.43154701590538025, -0.05700557678937912, -0.2192181944847107, 0.8003327250480652, 0.26682692766189575, -0.943866491317749, 0.7273668646812439, 0.034721389412879944, 0.6964576840400696, -0.41538184881210327, 0.17168913781642914, 0.051748212426900864, 0.08075593411922455, -0.33454740047454834, -0.9946092367172241, 0.44225582480430603, -0.21091018617153168, -0.33263784646987915, -0.09165045619010925, 0.500480592250824, -0.3262431025505066, -0.3429109752178192, 0.397186279296875, 0.501733660697937, 0.36944088339805603, -0.1636224091053009, -0.5038203001022339, -0.00783286802470684, 0.10065565258264542, -0.3061983287334442, 0.603751540184021, 0.026067310944199562, -0.1347380429506302, 0.7832894921302795, 0.44282594323158264, 0.15382689237594604, 0.1977258324623108, 0.19932903349399567, 0.44753292202949524, -0.5629245042800903, -0.2244158387184143, -1.1030149459838867, 0.2994813323020935, -0.017997298389673233, -0.36829090118408203, 0.45671942830085754, 0.338674396276474, 0.7388336062431335, 0.12066880613565445, 0.769716739654541, 0.32530373334884644, 0.4380768835544586, -0.2891469895839691, 0.46309182047843933, -0.4749240279197693, 0.3008473515510559, -0.04799250140786171, -1.208469033241272, -0.3348730504512787, 0.4306500256061554, -0.5876609086990356, 0.2634512782096863, 0.3918799161911011, 0.6713237166404724, -0.06350061297416687, 0.0018192577408626676, 0.8788056969642639, 0.15709562599658966, 0.5232359170913696, 0.41327840089797974, 0.9442865252494812, -0.1457735151052475, 0.5498203635215759, -0.047486383467912674, -0.27711978554725647, -0.3212176263332367, -0.9204949140548706, -0.6142022609710693, -0.33364787697792053, -0.10906291753053665, -0.11513950675725937, -0.11038417369127274, 0.9227712750434875, 0.7209020853042603, -0.7372840642929077, -0.5431216359138489, -0.1567612737417221, 0.1410887986421585, -0.11600465327501297, -0.173063263297081, 0.013207335025072098, -0.31449902057647705, -0.7226128578186035, 0.2573387324810028, 0.30064666271209717, 0.10800499469041824, -0.3022356629371643, -0.27362942695617676, -0.03993488848209381, -0.13809269666671753, 0.38467398285865784, 0.34326958656311035, -0.9060853719711304, -0.443905234336853, -0.20697341859340668, -0.41823509335517883, 0.14991208910942078, 0.743660032749176, -0.4571502208709717, 0.2476317584514618, 0.21572469174861908, 0.7710242867469788, 0.28411203622817993, 0.006466969382017851, 0.860045850276947, -0.5936626195907593, -0.4474946856498718, 0.1369493305683136, 0.6461284756660461, 0.5375367403030396, -0.2758544385433197, 0.5318268537521362, 0.03982791304588318, -1.0424940586090088, -0.6643046140670776, 0.21108566224575043, -0.6722944378852844, -0.02977817878127098, 1.1955859661102295, -0.20081248879432678, -0.08531634509563446, -0.18888425827026367, 0.16070644557476044, -0.044082481414079666, -0.36416029930114746, 0.9394479393959045, 1.0258821249008179, -0.10513319820165634, 0.10865741968154907, -0.8038849830627441, 0.27290064096450806, 0.5383327603340149, -0.7407095432281494, 0.3396129012107849, 0.35059937834739685, 0.539271891117096, 0.290105938911438, 0.5130660533905029, 0.15531004965305328, 0.2888430058956146, -0.3511515259742737, 0.021672332659363747, 0.25995945930480957, 0.08278867602348328, -0.6569394469261169, -0.0047167628072202206, 0.4589167833328247, 0.26108524203300476 ]
http://arxiv.org/abs/2406.01375v1
http://arxiv.org/pdf/2406.01375v1
D-CPT Law: Domain-specific Continual Pre-Training Scaling Law for Large Language Models
2024-06-03T14:40:31
2024-06-03T14:40:31
Haoran Que, Jiaheng Liu, Ge Zhang, Chenchen Zhang, Xingwei Qu, Yinghao Ma, Feiyu Duan, Zhiqi Bai, Jiakai Wang, Yuanxing Zhang, Xu Tan, Jie Fu, Wenbo Su, Jiamang Wang, Lin Qu, Bo Zheng
cs.CL
cs.CL
Continual Pre-Training (CPT) on Large Language Models (LLMs) has been widely used to expand the model's fundamental understanding of specific downstream domains (e.g., math and code). For the CPT on domain-specific LLMs, one important question is how to choose the optimal mixture ratio between the general-corpus (e.g., Dolma, Slim-pajama) and the downstream domain-corpus. Existing methods usually adopt laborious human efforts by grid-searching on a set of mixture ratios, which require high GPU training consumption costs. Besides, we cannot guarantee the selected ratio is optimal for the specific domain. To address the limitations of existing methods, inspired by the Scaling Law for performance prediction, we propose to investigate the Scaling Law of the Domain-specific Continual Pre-Training (D-CPT Law) to decide the optimal mixture ratio with acceptable training costs for LLMs of different sizes. Specifically, by fitting the D-CPT Law, we can easily predict the general and downstream performance of arbitrary mixture ratios, model sizes, and dataset sizes using small-scale training costs on limited experiments. Moreover, we also extend our standard D-CPT Law on cross-domain settings and propose the Cross-Domain D-CPT Law to predict the D-CPT law of target domains, where very small training costs (about 1% of the normal training costs) are needed for the target domains. Comprehensive experimental results on six downstream domains demonstrate the effectiveness and generalizability of our proposed D-CPT Law and Cross-Domain D-CPT Law.
[ -0.5745298862457275, -0.7009101510047913, 0.6772364974021912, 0.3605353534221649, -0.3527393937110901, 0.0803370550274849, -0.43710559606552124, -0.17419932782649994, 0.05345863848924637, 0.5715047121047974, -0.6321093440055847, 0.10641273856163025, -0.7392627000808716, 0.006454900838434696, -0.29498764872550964, 0.8421171307563782, -0.19888466596603394, 0.24461500346660614, -0.26650112867355347, 0.24351589381694794, -0.40574750304222107, -0.8132651448249817, -0.4727422297000885, -0.14883685111999512, 0.5246544480323792, 0.10195635259151459, 0.45137059688568115, 0.7072014808654785, 0.5001974105834961, 0.1666564643383026, -0.02851170115172863, -0.2507142722606659, -0.7230571508407593, -0.03600265458226204, -0.1803092062473297, -0.3095315992832184, -0.48116207122802734, 0.04901115968823433, 0.8113831281661987, 0.7188673615455627, -0.19152753055095673, -0.1303802877664566, 0.3518590033054352, 0.6014377474784851, -0.6961516737937927, -0.029566295444965363, -0.7098920345306396, -0.09247589111328125, -0.33681875467300415, -0.29519885778427124, -0.35156822204589844, -0.2296333760023117, 0.10348491370677948, -0.6006650924682617, 0.23583462834358215, 0.2456749826669693, 0.502356767654419, 0.383920282125473, -0.3814775347709656, -0.06267488747835159, -0.6553341746330261, 1.082727313041687, -0.46856361627578735, 0.40476685762405396, 0.4324139952659607, 0.23995867371559143, -0.07359136641025543, -0.7879064679145813, -0.7202316522598267, -0.43938711285591125, -0.02247081696987152, -0.08787340670824051, -0.19962437450885773, 0.05144131928682327, 0.0802483782172203, 0.5126822590827942, -0.7682270407676697, 0.22569416463375092, -0.25484421849250793, 0.0336969792842865, 0.5286740660667419, 0.2800236940383911, 0.34864455461502075, 0.6114462018013, -0.4549926817417145, 0.010754432529211044, -0.8978034257888794, -0.32824069261550903, 0.24448460340499878, 0.2897428274154663, -0.23128962516784668, 0.20070534944534302, -0.011835015378892422, 0.644568145275116, 0.4885331988334656, -0.18631137907505035, 0.12694890797138214, -0.5201883316040039, -0.2031145989894867, 0.08628565073013306, 0.6103398203849792, 0.0331769734621048, 0.5519388318061829, -0.1560332328081131, -0.30814504623413086, -0.16959194839000702, 0.5047714710235596, -0.8878344893455505, -0.2672870457172394, -0.13295666873455048, -0.26282790303230286, -0.1907867044210434, -0.3091626465320587, -0.6375284790992737, -0.02192196622490883, -0.7020137310028076, 0.5547250509262085, -0.27695396542549133, -0.4930228888988495, 0.04107242822647095, 0.2766895592212677, 0.11443431675434113, 0.252407431602478, -1.0600184202194214, 0.5627012252807617, 0.5646482706069946, 0.6410140991210938, -0.411440372467041, -0.5253527164459229, -0.6238652467727661, -0.06796197593212128, -0.16979865729808807, 0.5677736401557922, -0.5466142892837524, -0.39359235763549805, -0.024043582379817963, -0.1981252133846283, -0.4636248052120209, -0.608870267868042, 0.29753896594047546, -0.7983585000038147, -0.20529156923294067, -0.1594260185956955, -0.7373244762420654, 0.13634558022022247, 0.18154722452163696, -0.6229872107505798, 0.6882016658782959, 0.3384372293949127, -0.836542546749115, 0.5984575152397156, -0.2967376112937927, -0.4685194492340088, 0.3461502194404602, -0.26669248938560486, -0.5992811918258667, 0.06904605776071548, 0.030324755236506462, 0.5433037281036377, -0.5063450932502747, 0.3562670052051544, -0.5131439566612244, -0.3993964195251465, 0.009727218188345432, -0.38417911529541016, 0.7039273977279663, 0.24402445554733276, -0.35940006375312805, -0.13240684568881989, -0.558993935585022, -0.06631603837013245, 0.2744131088256836, -0.3712187111377716, -0.30585408210754395, -0.06766318529844284, -0.147889643907547, 0.10916660726070404, 0.4412066340446472, -0.4181850850582123, 0.2744644284248352, 0.02582765370607376, 0.23668605089187622, 0.7512794733047485, 0.12090983986854553, 0.6221911907196045, -0.3789089024066925, 0.7529468536376953, 0.017144275829195976, 0.1865430623292923, 0.2789052426815033, -0.30096450448036194, -0.30122026801109314, -0.6662106513977051, 0.30465611815452576, 0.39043867588043213, -0.47003260254859924, 0.44983232021331787, -0.4164460599422455, -0.4110735356807709, 0.0032589721959084272, 0.18722636997699738, 0.31632763147354126, 0.3960728347301483, 0.48708269000053406, -0.4179665148258209, -0.66780024766922, -0.6031768321990967, -0.042376816272735596, -0.06542855501174927, 0.08762632310390472, 0.16954736411571503, 0.5690785646438599, -0.12452888488769531, 1.046297550201416, -0.5069226026535034, -0.0891648679971695, -0.44947436451911926, -0.1294441521167755, 0.2138412743806839, 0.4539235234260559, 0.846027135848999, -0.9370946288108826, -0.9489131569862366, -0.09206853806972504, -0.2575604319572449, -0.19575384259223938, 0.047264549881219864, 0.10919198393821716, -0.1798035055398941, 0.28069257736206055, -0.2990286350250244, 0.2910059988498688, 0.7237102389335632, -0.0259539857506752, 0.8899569511413574, -0.34184762835502625, 0.036760129034519196, -0.6618108153343201, -0.04557310789823532, 0.1979309767484665, -0.22636069357395172, -0.6890344023704529, -0.141431987285614, 0.22101333737373352, 0.19537004828453064, -0.43581315875053406, 0.5601818561553955, -0.18753069639205933, 0.13053669035434723, -0.39593204855918884, -0.16985788941383362, -0.2323545217514038, 0.6089697480201721, 0.23099038004875183, 1.0406732559204102, 0.6723352670669556, -0.9707124829292297, 0.16349080204963684, -0.054596785455942154, -0.21807438135147095, 0.5770699381828308, -0.45965924859046936, -0.05907364562153816, 0.22141867876052856, 0.5381600260734558, -0.7166457772254944, 0.04596664384007454, -0.13250313699245453, -0.20151670277118683, 0.4884878098964691, -0.3637753427028656, -0.595862627029419, -0.20297378301620483, -0.03566659241914749, 0.875541627407074, 0.8556278944015503, -0.7637308835983276, 0.489336758852005, 0.4117402732372284, -0.22071371972560883, -0.5116687417030334, -0.4030615985393524, -0.2185068130493164, -0.4065380394458771, -0.6654118299484253, 0.4862186014652252, -0.42299509048461914, -0.15638817846775055, -0.2327173948287964, -0.10511518269777298, -0.5496443510055542, -0.04832996800541878, 0.0023556353989988565, 0.17009063065052032, -0.3444863557815552, -0.33570802211761475, -0.07679929584264755, 0.1487259715795517, 0.13948626816272736, -0.637904167175293, 0.8389784693717957, 0.05293944850564003, -0.11664386093616486, -0.22461844980716705, 0.14244869351387024, 0.2966647148132324, -0.13055993616580963, 0.7257948517799377, 0.45551252365112305, -0.11013588309288025, -0.3181087374687195, -0.5541364550590515, -0.08293973654508591, -0.4391859769821167, 0.35524627566337585, -0.5321449637413025, -0.8846787810325623, 0.4314311146736145, -0.1627582460641861, -0.27571070194244385, 0.6780268549919128, 1.049095869064331, 0.08090751618146896, 0.7902851104736328, 0.6669014096260071, -0.20880843698978424, 0.5136711597442627, -0.17555777728557587, 0.08785019814968109, -0.7520869374275208, 0.13624237477779388, -0.461980938911438, -0.19791795313358307, -0.5364521741867065, -0.3834182322025299, 0.2523941397666931, 0.19206345081329346, -0.4890994727611542, 0.4989738166332245, -0.308358371257782, 0.6444551348686218, 0.37481436133384705, -0.1389990746974945, 0.24404270946979523, 0.12452448159456253, -0.32659679651260376, -0.05507909879088402, -0.6105038523674011, -0.03103603981435299, 1.183176040649414, 0.2762821614742279, 0.7504485249519348, -0.009356649592518806, 0.9562568068504333, 0.29659268260002136, 0.45721277594566345, -0.633485734462738, 0.4454289376735687, -0.400981605052948, -0.6058655977249146, -0.18128308653831482, -0.7905444502830505, -1.0369683504104614, 0.25149068236351013, 0.24770887196063995, -0.5378142595291138, 0.1684727966785431, 0.23152121901512146, -0.13775329291820526, 0.5918166041374207, -0.32288146018981934, 0.779303252696991, -0.255464106798172, -0.17562559247016907, -0.4552434980869293, -0.5985867977142334, 0.24530254304409027, -0.804265558719635, 0.12889795005321503, 0.04081983491778374, -0.06205432489514351, 0.6302443146705627, -0.6333231925964355, 0.9179792404174805, -0.18535469472408295, -0.25423043966293335, 0.49244725704193115, 0.14189031720161438, 0.49906760454177856, -0.07459505647420883, 0.32889124751091003, 0.3437183201313019, 0.011308255605399609, -0.4639872610569, -0.3555600345134735, 0.6888229846954346, -0.909222424030304, -0.3239094913005829, -0.3110293745994568, -0.2247963398694992, -0.34693947434425354, 0.1710710972547531, 0.4796105921268463, 0.1595095992088318, -0.24996426701545715, 0.18081557750701904, 0.769141435623169, 0.004161256831139326, 0.12015662342309952, 0.7072701454162598, 0.02505439706146717, -0.36974120140075684, 1.083132028579712, 0.06766413897275925, 0.3214462101459503, 0.5547784566879272, 0.4245615005493164, -0.36083558201789856, -0.8383828997612, -0.2506721019744873, 0.29343265295028687, -0.4622630476951599, -0.17324838042259216, -0.449092835187912, -0.36412814259529114, -0.3887932002544403, -0.2717756927013397, -0.44727352261543274, -0.30210068821907043, -0.23704315721988678, 0.3710624873638153, 0.16329175233840942, 0.42515063285827637, -0.11991799622774124, 0.4125380516052246, -0.8114100098609924, 0.08419999480247498, 0.3209100663661957, 0.49120819568634033, -0.06466019153594971, -1.003516435623169, -0.3198258876800537, -0.027406839653849602, -0.4633013904094696, -0.34854185581207275, 0.46024438738822937, 0.30259475111961365, 0.6084439754486084, 0.049221836030483246, 0.015167257748544216, 0.43762922286987305, -0.8130502700805664, 0.690680205821991, 0.5518968105316162, -0.6639387011528015, 0.3072737455368042, -0.35537824034690857, -0.09236369282007217, 0.34775564074516296, 0.47986799478530884, -0.29029080271720886, -0.27614107728004456, -0.6570205092430115, -0.8321272730827332, 0.5269679427146912, 0.2792302072048187, 0.18791553378105164, 0.016744492575526237, 0.4843739867210388, 0.24638645350933075, -0.004033730365335941, -0.6207686066627502, -0.005558532662689686, 0.020725686103105545, -0.23142358660697937, -0.05863600969314575, 0.014499225653707981, 0.07027539610862732, -0.22137880325317383, 0.5780372619628906, 0.01369442418217659, 0.12287697941064835, -0.09719232469797134, -0.16439670324325562, -0.09830978512763977, 0.07647582143545151, 0.6807401776313782, 0.7399060130119324, -0.27071449160575867, -0.16286154091358185, 0.2500268518924713, -1.0316036939620972, 0.4344886243343353, 0.0427657812833786, 0.134601891040802, -0.422983318567276, 0.15181027352809906, 0.7146185040473938, 0.02887735888361931, -0.7451309561729431, 0.6760658025741577, -0.28098928928375244, -0.6418527364730835, -0.5750860571861267, 0.17666320502758026, -0.22762227058410645, 0.19175168871879578, 0.3720219135284424, -0.07471664994955063, -0.17274627089500427, -0.10826553404331207, 0.4242743253707886, 0.1043398305773735, -0.18173442780971527, -0.36472922563552856, 0.7488872408866882, 0.0564575158059597, 0.11665483564138412, 0.6008273959159851, -0.2239912897348404, -0.41339197754859924, 0.6844749450683594, 0.49654725193977356, 0.9394567012786865, -0.36002248525619507, -0.22215567529201508, 0.3164573907852173, -0.041918497532606125, -0.3968515396118164, -0.08523672819137573, 0.02794739231467247, -0.697461724281311, -0.798937976360321, -0.8181741833686829, -0.4082441031932831, 0.18091890215873718, -0.5228937864303589, 0.17915858328342438, -0.5849276185035706, -0.09543391317129135, -0.2417156994342804, 0.2715708911418915, -0.8484837412834167, 0.5234407186508179, 0.21671734750270844, 0.662746250629425, -0.4692182242870331, 1.1302053928375244, 0.26219838857650757, -0.3053246736526489, -0.6746739745140076, 0.27988025546073914, 0.11915930360555649, -0.9246997237205505, 1.0075454711914062, -0.2408519685268402, -0.18276551365852356, -0.06502438336610794, -0.3862229585647583, -0.9116547703742981, 0.9927051067352295, 0.49311360716819763, -0.9736597537994385, 0.07830557972192764, 0.07706208527088165, 0.4054175615310669, -0.6930598020553589, -0.22913138568401337, 0.73543781042099, 0.2408696711063385, 0.19824784994125366, -1.2252470254898071, 0.05119055509567261, 0.09242797642946243, -0.03380930796265602, 0.36520442366600037, -0.5937564373016357, 1.1322591304779053, -0.0807528868317604, 0.06903818249702454, -0.12900948524475098, 0.5041124820709229, 0.4074719548225403, 0.17812779545783997, 0.8006748557090759, 0.6159618496894836, 0.45244601368904114, 0.1505778431892395, 1.2336429357528687, -0.5000022053718567, 0.5560902953147888, 1.0092476606369019, -0.42746633291244507, 0.8352912068367004, 0.27169522643089294, -0.562150239944458, 0.18699108064174652, 0.8101904392242432, -0.1039486825466156, 0.7222122550010681, 0.6569334268569946, -0.4529283046722412, -0.12454108893871307, 0.24176862835884094, -0.4206271767616272, 0.0893130674958229, 0.19407911598682404, -0.2917729318141937, 0.12280621379613876, -0.1707640439271927, 0.003912138286978006, -0.2227187603712082, -0.44736188650131226, 0.6959046125411987, 0.1149907335639, -0.554465651512146, 0.9890363216400146, -0.15227057039737701, 0.7654221653938293, -0.7013581395149231, 0.45306530594825745, -0.2111632376909256, 0.36653581261634827, 0.15255200862884521, -0.5704060196876526, 0.13556449115276337, -0.01830308884382248, -0.2136646807193756, -0.24645498394966125, 0.4194645583629608, -0.28863152861595154, -0.21852658689022064, 0.46411600708961487, 0.33226919174194336, 0.10076826065778732, -0.4186779856681824, -0.654277503490448, 0.03221340477466583, -0.06762804836034775, -0.3357311189174652, 1.0251858234405518, 0.28823229670524597, 0.10442043840885162, 0.41053253412246704, 0.4411724805831909, 0.3718307912349701, 0.16120906174182892, 0.19832414388656616, 1.034097671508789, -0.32931724190711975, -0.6439972519874573, -0.8218956589698792, 0.16763438284397125, 0.10256357491016388, -0.07347214967012405, 0.34406527876853943, 0.5595045685768127, 1.0012867450714111, 0.03499240800738335, 1.0193067789077759, 0.0023348836693912745, 0.34083980321884155, -0.5837110877037048, 0.46623632311820984, -0.7627450227737427, 0.17128433287143707, 0.03637344762682915, -1.357366919517517, -0.12762676179409027, 0.4885028004646301, -0.5041613578796387, 0.35589608550071716, 0.8171574473381042, 0.5309857130050659, -0.28200191259384155, -0.04387839883565903, 0.4122169613838196, 0.06490767002105713, 0.2400542050600052, 0.563481330871582, 0.5275181531906128, 0.09968972206115723, 0.700697124004364, -0.1870442032814026, -0.3395431935787201, -0.24542118608951569, -0.7238883972167969, -0.6294488906860352, -0.5522161722183228, -0.4847419559955597, -0.30756261944770813, -0.2373650223016739, 0.7357479333877563, 0.832643449306488, -0.5653228759765625, -0.3277745842933655, -0.17476630210876465, -0.4996418058872223, -0.44701090455055237, -0.14010532200336456, 0.34155961871147156, -0.6826828718185425, -0.5948220491409302, 0.3031235635280609, 0.21501024067401886, 0.18543003499507904, -0.2758159041404724, -0.3504812717437744, 0.05260339006781578, 0.34868115186691284, 0.39885473251342773, 0.32367604970932007, -0.4644947648048401, 0.04020044207572937, -0.42380964756011963, -0.2772573232650757, 0.22872914373874664, 1.4023396968841553, -0.4092272222042084, 0.18518272042274475, 0.371905654668808, 0.8222119808197021, 0.7519544959068298, -0.26793959736824036, 0.6133162975311279, -1.0336978435516357, 0.06413782387971878, 0.4379878342151642, 0.46479108929634094, -0.04509701207280159, -0.32790663838386536, 0.42697134613990784, 0.38190731406211853, -0.8552340865135193, -0.5321429967880249, 0.29821375012397766, -1.0390437841415405, -0.34216877818107605, 1.0711106061935425, -0.354135662317276, -0.1184890940785408, -0.08678741753101349, -0.09311331808567047, -0.005391342099756002, -0.21485456824302673, 0.474018394947052, 0.5934993028640747, -0.20954637229442596, -0.2086634784936905, -0.6135298609733582, 0.5404025316238403, 0.4239047169685364, -0.5464968681335449, 0.34981298446655273, 0.2331092804670334, 0.6004989147186279, -0.12152216583490372, 0.904193103313446, -0.041366539895534515, -0.05895213037729263, 0.10448191314935684, -0.29650330543518066, 0.4210374653339386, -0.20451755821704865, -0.23516567051410675, 0.06523772329092026, 0.054670192301273346, 0.1362859308719635 ]
http://arxiv.org/abs/2406.01372v2
http://arxiv.org/pdf/2406.01372v2
Linguistic Analysis, Description, and Typological Exploration with Categorial Grammar (TheBench Guide)
2024-06-03T14:39:06
2024-06-04T05:52:20
Cem Bozsahin
cs.CL
cs.CL
TheBench is a tool to study monadic structures in natural language. It is for writing monadic grammars to explore analyses, compare diverse languages through their categories, and to train models of grammar from form-meaning pairs where syntax is latent variable. Monadic structures are binary combinations of elements that employ semantics of composition only. TheBench is essentially old-school categorial grammar to syntacticize the idea, with the implication that although syntax is autonomous (recall \emph{colorless green ideas sleep furiously}), the treasure is in the baggage it carries at every step, viz. semantics, more narrowly, predicate-argument structures indicating choice of categorial reference and its consequent placeholders for decision in such structures. There is some new thought in old school. Unlike traditional categorial grammars, application is turned into composition in monadic analysis. Moreover, every correspondence requires specifying two command relations, one on syntactic command and the other on semantic command. A monadic grammar of TheBench contains only synthetic elements (called `objects' in category theory of mathematics) that are shaped by this analytic invariant, viz. composition. Both ingredients (command relations) of any analytic step must therefore be functions (`arrows' in category theory). TheBench is one implementation of the idea for iterative development of such functions along with grammar of synthetic elements.
[ -0.5881775617599487, -1.1727979183197021, 0.49406909942626953, 0.11554200202226639, -0.5422372817993164, 0.3805091381072998, -0.10268163681030273, -0.18250510096549988, 0.5827485918998718, 0.5374218225479126, -0.8342076539993286, -0.684357225894928, -0.009700753726065159, -0.0848550945520401, -0.39398193359375, 0.9997777342796326, -0.13465744256973267, -0.06063767895102501, -0.3115237355232239, 0.007826811634004116, -0.3029884397983551, -0.6772885918617249, -0.5891086459159851, -0.14231516420841217, 0.4021275043487549, 0.3530643880367279, 0.5806169509887695, 0.644351601600647, 0.6446016430854797, 0.4587736129760742, -0.12178054451942444, -0.4453979432582855, -0.31424781680107117, 0.22287282347679138, -0.6520085334777832, -0.8477257490158081, -0.26823461055755615, -0.1820099800825119, 0.5750078558921814, 1.0770992040634155, -0.4348814785480499, 0.27899253368377686, -0.1865391880273819, 0.6928372979164124, -0.46613839268684387, 0.5924999713897705, -0.27180176973342896, 0.2866107225418091, -0.7483402490615845, -0.3782700002193451, -0.30081096291542053, -0.3229939937591553, -0.09609473496675491, -0.4454278349876404, 0.2573113441467285, 0.42549097537994385, 0.5467109680175781, 0.19028569757938385, -0.278145968914032, -0.10728823393583298, -0.5570707321166992, 0.786740779876709, -0.40758562088012695, 0.05410461500287056, 0.3732846677303314, 0.7454200387001038, -0.34000763297080994, -0.6698467135429382, -0.35520389676094055, -0.12180909514427185, -0.2717081904411316, 0.15117716789245605, -0.060214363038539886, 0.4250738322734833, 0.06592313945293427, 0.9237518310546875, -0.808394193649292, -0.050449080765247345, -0.44882580637931824, -0.3355153501033783, 0.3710087835788727, 0.3328096270561218, 0.45553892850875854, -0.6936812996864319, -0.3275500535964966, -0.3454402685165405, -0.3501863479614258, 0.28575465083122253, 0.34994909167289734, 0.19363653659820557, -0.09106598049402237, 0.6821792125701904, -0.32343050837516785, 0.9244076609611511, 0.018502945080399513, -0.0377545990049839, 0.03349408134818077, -0.5741021633148193, -0.19062770903110504, 0.2734187841415405, 0.6458413600921631, 0.13117825984954834, 0.3616366982460022, -0.5087055563926697, 0.33654677867889404, 0.43705853819847107, 0.5313114523887634, -0.7065545916557312, -0.3860180974006653, 0.06204484403133392, -0.541447103023529, -0.5273470282554626, 0.14480699598789215, -0.879198431968689, -0.11449252814054489, -0.3093937039375305, -0.12422069162130356, -0.3514501750469208, -0.4106285274028778, 0.11617067456245422, -0.2527148723602295, 0.1973898559808731, -0.032787926495075226, -1.0076489448547363, 0.7421395778656006, 0.7968860268592834, 0.41454482078552246, 0.25861671566963196, -0.24940459430217743, -0.29573819041252136, 0.03865654021501541, -0.3103421926498413, 1.0256199836730957, -0.7245505452156067, -0.3920210003852844, -0.22446170449256897, 0.2063397467136383, -0.022877831012010574, -0.3041887581348419, 0.5678733587265015, -0.478428453207016, 0.26512643694877625, -0.06697069853544235, -0.6041276454925537, -0.8242141008377075, 0.2557336986064911, -0.847100555896759, 1.0794757604599, 0.4680640995502472, -0.4758567214012146, 0.3042879104614258, -0.7398133277893066, -0.3769945204257965, 0.17176207900047302, -0.3706165850162506, -0.1670141965150833, 0.27885177731513977, -0.31598910689353943, 0.03540800139307976, -0.5206286311149597, 0.40702199935913086, -0.48848557472229004, -0.036404307931661606, 0.3293386697769165, 0.29006248712539673, 1.0752583742141724, -0.0031015335116535425, -0.5218935012817383, 0.40604859590530396, -0.9671029448509216, 0.3313923478126526, -0.0010970854200422764, -0.17017243802547455, -0.2573132812976837, 0.42328885197639465, -0.08782661706209183, 0.22291722893714905, -0.10177897661924362, -0.4999876916408539, 0.13804876804351807, -0.7138875722885132, 0.4559673070907593, 0.7224560976028442, 0.18900366127490997, 0.723087728023529, -0.22591793537139893, 0.8385319113731384, -0.39448922872543335, 0.05726354196667671, 0.11809813231229782, -0.21249377727508545, -0.9516602754592896, -0.014595179818570614, 0.5604223608970642, 0.6059609055519104, -0.7252295017242432, 0.630064070224762, -0.06357461214065552, -0.532107412815094, -0.20612524449825287, 0.1963651180267334, 0.4099104702472687, 0.22275622189044952, 0.1678614318370819, -0.5046195983886719, -0.9629076719284058, -0.9770570993423462, -0.0854627937078476, -0.36361342668533325, 0.40681877732276917, -0.059730444103479385, 0.4320313632488251, 0.17676213383674622, 0.8964484333992004, -0.049087654799222946, -0.23223881423473358, -0.39798855781555176, 0.1451369822025299, 0.1749977171421051, 0.5012422800064087, 0.8268724083900452, -0.5077226758003235, -0.298199325799942, -0.10108844190835953, -0.7226827144622803, -0.11579224467277527, 0.18376898765563965, -0.7696284651756287, 0.18604153394699097, 0.5297116637229919, -0.25504034757614136, 0.29379403591156006, 0.32832568883895874, -0.4821316599845886, 0.4773477017879486, 0.21233434975147247, -0.3156289756298065, -1.1189079284667969, 0.03516855463385582, -0.6920403242111206, -0.17230547964572906, -0.34255748987197876, 0.48344549536705017, -0.2792031764984131, -0.13645994663238525, -0.236141175031662, 0.4349735975265503, -0.43358075618743896, -0.08881819993257523, -0.15795662999153137, 0.03342773765325546, -0.05351151525974274, 0.6261513233184814, -0.06438447535037994, 0.2725007236003876, 0.6856992244720459, -0.48884376883506775, 0.858805775642395, 0.24107655882835388, -0.3031386137008667, 0.726454496383667, -0.2801295518875122, -0.05530013516545296, 0.03869524225592613, 0.1173110231757164, -0.9553030729293823, -0.37292367219924927, 0.5822097063064575, -0.232933908700943, 0.21085220575332642, 0.27149319648742676, -0.7431758642196655, -0.4892701804637909, -0.49137237668037415, 0.5028719902038574, 0.3402647376060486, -0.18874388933181763, 0.9866759181022644, 0.2596507966518402, -0.2878396809101105, -0.44814109802246094, -0.674006462097168, 0.04843483120203018, -0.1721164584159851, -0.6856809258460999, 0.14157503843307495, -0.13466428220272064, -0.5736148953437805, 0.5418082475662231, -0.3451533019542694, 0.0019615953788161278, 0.39829620718955994, 0.32075580954551697, 0.2107660174369812, -0.512383759021759, 0.23510979115962982, -0.117965929210186, -0.20782364904880524, 0.2627750039100647, -0.04907215014100075, 0.7654638290405273, -0.36743980646133423, -0.1349082738161087, -0.3031981289386749, 0.4041460454463959, 0.2247961014509201, -0.3573698103427887, 0.6363607048988342, 0.1788204163312912, 0.06795407086610794, -0.5516514778137207, -0.42252033948898315, -0.11857306212186813, -0.4743969440460205, 0.1924954205751419, -0.5584216117858887, -0.6020187735557556, 0.5400920510292053, 0.16079281270503998, -0.0810600146651268, 0.6428811550140381, 0.5104193091392517, -0.14201372861862183, 0.41822823882102966, 0.7730545997619629, 0.06933338940143585, 0.5688387751579285, -0.02622123807668686, 0.27743685245513916, -0.5936571955680847, -0.14592574536800385, -0.5543850064277649, -0.5403898358345032, -0.7563737034797668, -0.3066987693309784, -0.0869627296924591, 0.04959052801132202, -0.24651646614074707, 0.4773145616054535, -0.3373997211456299, 0.41257378458976746, 0.7362275719642639, -0.06824512779712677, 0.16472923755645752, 0.22750020027160645, -0.4047614634037018, -0.0027122749015688896, -0.6591586470603943, -0.4967012405395508, 1.0448025465011597, -0.1360214799642563, 0.7346382141113281, 0.3624366521835327, 0.7589260935783386, -0.02832995355129242, 0.0030534835532307625, -1.0392088890075684, 1.0020720958709717, -0.17120790481567383, -1.023989200592041, 0.1217399314045906, -0.19651614129543304, -0.8088454604148865, 0.29911160469055176, -0.015932979062199593, -0.725210964679718, 0.3513492941856384, 0.004948434419929981, -0.2877161204814911, 0.2482747733592987, -0.5238304734230042, 1.2360461950302124, -0.4103196859359741, -0.48303818702697754, -0.36684438586235046, -0.7346058487892151, 0.34625282883644104, 0.07933641970157623, 0.24722935259342194, 0.08012304455041885, 0.22462345659732819, 0.6549113392829895, -0.42778289318084717, 0.9732382297515869, 0.12742207944393158, 0.11633844673633575, 0.48268330097198486, 0.6888943910598755, 0.060616906732320786, -0.34476083517074585, -0.15454494953155518, -0.27214646339416504, 0.3655754327774048, -0.3582632839679718, -0.6084438562393188, 0.2733052670955658, -0.2978307902812958, -0.6278964877128601, -0.6018918752670288, -0.4668917655944824, -0.09092158079147339, 0.3712093234062195, -0.11596959084272385, 0.6567462682723999, -0.5576348900794983, 0.564815878868103, 0.24585874378681183, -0.10615668445825577, 0.2578836977481842, 0.5217633843421936, -0.4899338185787201, -0.02228574827313423, 0.9067307710647583, -0.17780373990535736, 0.265145868062973, 0.5739219188690186, 0.127786323428154, -0.20019356906414032, -0.19494104385375977, -0.29406851530075073, 0.20151755213737488, -0.9436002373695374, 0.10286831110715866, -0.3127310574054718, -0.14048658311367035, 0.003885809099301696, -0.25858861207962036, -0.02948734164237976, -0.7474650144577026, 0.11925028264522552, -0.2931370437145233, 0.22584189474582672, 0.34541645646095276, -0.13081268966197968, 0.414419561624527, -0.5310673713684082, 0.28370434045791626, 0.019832082092761993, 0.40436220169067383, -0.2534499764442444, 0.15023022890090942, 0.09907397627830505, -0.2256915122270584, -0.20227716863155365, -0.8659323453903198, -0.13287697732448578, 0.21670982241630554, 0.7398603558540344, 0.6011133790016174, -0.04625212028622627, 0.5651427507400513, -0.40127062797546387, 0.5846189856529236, -0.0943073183298111, -0.9162057042121887, 0.5488240122795105, -0.3244786262512207, -0.04235446825623512, 0.6956099271774292, -0.16181673109531403, -0.49025464057922363, -0.704059362411499, -0.87819904088974, -0.6034773588180542, 1.0054295063018799, 0.13945674896240234, -0.20379315316677094, 0.19060339033603668, 0.08008518815040588, -0.0642278641462326, 0.5489271283149719, -0.8727129697799683, -0.19252140820026398, -0.2780231535434723, -0.43213027715682983, -0.2307080626487732, -0.25061240792274475, -0.3902909755706787, -0.3231290578842163, 0.45949190855026245, 0.22185666859149933, 0.16986052691936493, -0.33949005603790283, -0.31084179878234863, -0.2733636498451233, 0.5291718244552612, 0.23461385071277618, 0.7208382487297058, -0.3447924852371216, 0.49292370676994324, -0.5201498866081238, -0.10436493903398514, 0.00287255784496665, 0.3125656247138977, 0.12167031317949295, 0.010673006065189838, 0.36445751786231995, 0.9272688627243042, 0.7202059626579285, -0.764568030834198, 0.016761384904384613, 0.2934649586677551, -0.17958149313926697, -0.5147666335105896, 0.2987602651119232, 0.04150949418544769, 0.2593167722225189, -0.2860339879989624, -0.07601870596408844, 0.40689587593078613, -1.1634880304336548, 0.017297372221946716, 0.400272935628891, 0.09367775917053223, -0.36190083622932434, 0.3889080286026001, 0.023792527616024017, -0.2088157832622528, 0.43879225850105286, -0.326500803232193, -0.6979806423187256, 0.9012591242790222, 0.39973682165145874, 0.9008030891418457, -0.27479901909828186, 0.5401420593261719, 0.462355375289917, 0.4836490750312805, 0.24400876462459564, 0.3799283504486084, -0.579596996307373, -0.3905719518661499, -0.1926153153181076, -1.1132198572158813, -0.3339598774909973, -0.3700944185256958, -0.6641998291015625, 0.08762684464454651, -0.6612297892570496, 0.08226850628852844, 0.170863538980484, -0.2106381058692932, -0.27688661217689514, -0.05649809166789055, -0.002738694194704294, 0.6076317429542542, -0.5119540095329285, 0.43811339139938354, 0.864956259727478, -0.6419638991355896, -0.9889993071556091, -0.38695740699768066, 0.29286277294158936, -0.543485164642334, 0.7038530111312866, 0.026627738028764725, -0.14335766434669495, 0.059350524097681046, -0.34604474902153015, -0.9115254282951355, 0.6605193614959717, 0.1392689347267151, -0.2334897667169571, -0.2359168976545334, 0.25094032287597656, 0.7026463747024536, -0.17929702997207642, -0.1115688607096672, 0.704439103603363, 0.736694872379303, 0.07703232020139694, -0.8443398475646973, 0.15714670717716217, -0.5397182106971741, 0.022801760584115982, 0.577312707901001, -0.2719550132751465, 1.0901012420654297, 0.30366045236587524, -0.5678437948226929, 0.45750367641448975, 0.04089289531111717, -0.060787785798311234, -0.1450428068637848, 0.30217182636260986, 0.7420516014099121, 0.44504350423812866, -0.3464314341545105, 1.4412161111831665, -0.2154940664768219, 0.33991798758506775, 1.1149040460586548, 0.03408726677298546, 0.7104708552360535, 0.4679185450077057, -0.4044060707092285, 1.226793646812439, 0.9011024832725525, -0.2179858535528183, 0.48793965578079224, 0.47295621037483215, -0.08510050177574158, -0.30518221855163574, 0.04166242852807045, -0.3506124019622803, 0.5804739594459534, 0.43450090289115906, -0.30441221594810486, -0.8854556083679199, 0.0020885728299617767, -0.0934109315276146, 0.02419431135058403, -0.3845336139202118, 0.8906393647193909, -0.014037826098501682, -0.6588506698608398, 0.594563364982605, 0.03911895304918289, -0.043970562517642975, -0.7234749794006348, 0.0741146132349968, 0.08479564636945724, 0.4165540039539337, -0.24639055132865906, -0.504420816898346, 0.5131984353065491, -0.28315237164497375, -0.16869202256202698, -0.005708611570298672, 0.49914097785949707, -0.2689727544784546, -0.7000885009765625, 0.3072541058063507, 0.5691403150558472, 0.1740356683731079, 0.04638554900884628, -0.5741791725158691, -0.07931210845708847, -0.25295695662498474, -0.15719400346279144, -0.1329636424779892, 0.39476022124290466, -0.23080505430698395, 0.23254084587097168, 0.4208647310733795, -0.09508831053972244, 0.3069555461406708, -0.030743267387151718, 0.7413816452026367, -0.9119012355804443, -0.7222485542297363, -0.8297907710075378, 0.44636964797973633, 0.04576074704527855, 0.08840521425008774, 0.7808316946029663, 0.49764132499694824, 0.7379484176635742, -0.14991077780723572, 0.46234971284866333, -0.5522085428237915, 0.5699595808982849, -0.5943541526794434, 0.295890212059021, -0.6627990007400513, -0.2272343784570694, -0.27733394503593445, -1.2099024057388306, -0.314151793718338, 0.8577848076820374, -0.4976601004600525, -0.11409323662519455, 1.40276300907135, 0.6375870704650879, -0.10505889356136322, 0.15474402904510498, -0.14013543725013733, 0.3756721317768097, 0.07754731923341751, 0.5262896418571472, 0.9195372462272644, 0.0768599882721901, 0.3091006278991699, -0.49311286211013794, -0.22823575139045715, -0.30845704674720764, -0.5015839338302612, -1.1237218379974365, -0.4533970057964325, 0.07562479376792908, -0.2957501709461212, -0.06449863314628601, 0.6825236678123474, 0.32887622714042664, -0.8420615196228027, -0.6704540848731995, -0.6701388359069824, -0.08674059063196182, -0.2150985151529312, -0.34333211183547974, 0.4464856684207916, -0.6674889922142029, -0.7040838599205017, 0.328277587890625, 0.3291797637939453, -0.2301485389471054, -0.3875032961368561, 0.48467519879341125, -0.24251706898212433, -0.01956750825047493, 0.5831936001777649, 0.43173640966415405, -0.8324787616729736, 0.08028316497802734, -0.0391354039311409, 0.060760632157325745, 0.05663600564002991, 0.8114950656890869, -0.6047497987747192, 0.9336257576942444, 0.5233507752418518, 0.5998506546020508, 0.44388166069984436, -0.04915804788470268, 0.4963996112346649, -0.47447001934051514, 0.6245874166488647, 0.17921754717826843, 0.41140496730804443, 0.12089351564645767, 0.0932682678103447, 0.6485767364501953, 0.29639968276023865, -0.08169815689325333, -0.7274805903434753, 0.4469986855983734, -1.39277184009552, -0.45035508275032043, 0.8588739037513733, 0.4154885709285736, -0.6958293318748474, -0.11066480726003647, -0.5254725217819214, 0.1501353234052658, -0.10979995876550674, 0.6814329028129578, 1.2716280221939087, -0.0620342381298542, -0.12881091237068176, -0.7089690566062927, 0.4300942122936249, 0.676616907119751, -0.9936270713806152, -0.36079108715057373, 0.7335271835327148, 0.2316320836544037, 0.4921911060810089, 0.46793636679649353, -0.2551708519458771, 0.545662522315979, -0.014942360110580921, 0.296157568693161, 0.1349571943283081, -0.0792771503329277, -0.08402756601572037, 0.411916047334671, -0.020355379208922386, -0.20336389541625977 ]
http://arxiv.org/abs/2406.01364v1
http://arxiv.org/pdf/2406.01364v1
BELLS: A Framework Towards Future Proof Benchmarks for the Evaluation of LLM Safeguards
2024-06-03T14:32:30
2024-06-03T14:32:30
Diego Dorn, Alexandre Variengien, Charbel-Raphaël Segerie, Vincent Corruble
cs.CR
cs.CR, cs.AI, cs.CL
Input-output safeguards are used to detect anomalies in the traces produced by Large Language Models (LLMs) systems. These detectors are at the core of diverse safety-critical applications such as real-time monitoring, offline evaluation of traces, and content moderation. However, there is no widely recognized methodology to evaluate them. To fill this gap, we introduce the Benchmarks for the Evaluation of LLM Safeguards (BELLS), a structured collection of tests, organized into three categories: (1) established failure tests, based on already-existing benchmarks for well-defined failure modes, aiming to compare the performance of current input-output safeguards; (2) emerging failure tests, to measure generalization to never-seen-before failure modes and encourage the development of more general safeguards; (3) next-gen architecture tests, for more complex scaffolding (such as LLM-agents and multi-agent systems), aiming to foster the development of safeguards that could adapt to future applications for which no safeguard currently exists. Furthermore, we implement and share the first next-gen architecture test, using the MACHIAVELLI environment, along with an interactive visualization of the dataset.
[ -0.42367124557495117, -0.5756910443305969, 0.4744192957878113, 0.0578787699341774, 0.16275817155838013, 0.18734298646450043, 0.2496013045310974, -0.572728157043457, -0.27645623683929443, 0.25236615538597107, -0.6641504168510437, -0.6325159668922424, -0.4877541661262512, 0.28244253993034363, -0.5513831973075867, 0.6538480520248413, -0.1748235821723938, -0.015881748870015144, -0.19805581867694855, 0.061677031219005585, -0.7118801474571228, -0.595162570476532, -0.6428685784339905, -0.29804137349128723, 0.07207652181386948, 0.17908117175102234, 0.4000355005264282, 0.7395575642585754, 0.43385645747184753, 0.36263033747673035, -0.05947897583246231, -0.04179922118782997, -0.15366019308567047, 0.344167023897171, -0.06068715453147888, -0.6009500026702881, -0.5881101489067078, -0.10039782524108887, 0.5040955543518066, 0.2678259313106537, 0.2716350257396698, 0.1344708651304245, 0.29970985651016235, 0.3083838224411011, -0.7604033946990967, 0.497374564409256, -0.6647377610206604, 0.2990173101425171, -0.41555050015449524, -0.653882622718811, -0.3412627875804901, -0.6906421780586243, -0.23894380033016205, -0.2509019076824188, -0.1364208459854126, 0.1801689714193344, 0.8348079919815063, 0.1531422734260559, -0.4122398793697357, -0.19930045306682587, -0.11918054521083832, 1.0864474773406982, -0.6677255630493164, 0.6662381291389465, 0.4864409267902374, 0.6081446409225464, -0.4881853461265564, -0.5971434116363525, -0.11702107638120651, -0.23207002878189087, 0.17607653141021729, 0.1714349389076233, -0.1750495433807373, 0.06593706458806992, 0.17021562159061432, 0.08706506341695786, -0.5090804696083069, 0.043122146278619766, 0.023018529638648033, -0.6174469590187073, 0.42219147086143494, 0.41635093092918396, 0.30386707186698914, 0.05623197555541992, -0.5322318077087402, -0.32109740376472473, -1.053784728050232, 0.05793718621134758, 0.26671040058135986, 0.2779789865016937, -0.2411801964044571, 0.25305259227752686, -0.3076634705066681, 0.31509649753570557, -0.08809734135866165, -0.4715965688228607, 0.25091883540153503, -0.5282066464424133, -0.009841897524893284, 0.07302235066890717, 0.5206025838851929, 0.5868611931800842, 0.1729433834552765, -0.32025015354156494, -0.4713362753391266, 0.20130833983421326, 0.016461016610264778, -0.9346248507499695, -0.026380177587270737, 0.2332906723022461, -0.6303630471229553, -0.5575984120368958, -0.26866745948791504, -0.9298605918884277, -0.5018841028213501, -0.023588234558701515, 0.4284746050834656, -0.41831833124160767, -0.09303406625986099, 0.04690307006239891, -0.09047499299049377, 0.43825793266296387, -0.005922313779592514, -0.8104763031005859, 0.3025458753108978, 1.0316616296768188, 0.9269397258758545, -0.29778605699539185, -0.2744125425815582, -0.8025758862495422, 0.19287890195846558, -0.4463639557361603, 0.9149410128593445, -0.2651161849498749, -0.5383108258247375, 0.5434388518333435, 0.08116072416305542, -0.09037580341100693, -0.6655489802360535, 1.1124335527420044, -0.6929764151573181, -0.35150641202926636, -0.3815482556819916, -0.3834802806377411, -0.16797900199890137, 0.5683189630508423, -0.29154983162879944, 0.8731989860534668, 0.03759511560201645, -0.7663496732711792, 0.5323259234428406, -0.4809727966785431, -0.4812251031398773, -0.03604727238416672, -0.4759504497051239, -0.49307432770729065, -0.026924720034003258, 0.04518194496631622, 0.3841913938522339, -0.4273090660572052, 0.2839573919773102, -0.6062187552452087, -0.5167434811592102, 0.4353868365287781, -0.7790090441703796, 0.5874544382095337, 0.1779804229736328, -0.6422241926193237, 0.2215321809053421, -0.7307724356651306, 0.3915863335132599, -0.20287951827049255, -0.38786715269088745, 0.07385165244340897, 0.2352546900510788, 0.0031024732161313295, 0.006125345826148987, 0.34370067715644836, -0.4888543486595154, -0.3326653838157654, 0.009585617110133171, 0.5191492438316345, 0.9218956828117371, -0.027359729632735252, -0.022404542192816734, -0.7681670188903809, 0.6828881502151489, 0.059721384197473526, 0.5816808342933655, -0.5212312936782837, -0.24976803362369537, -0.7168515920639038, -0.28235960006713867, 0.12293226271867752, 0.4996350407600403, -0.4646497666835785, 0.7290838360786438, -0.2205493152141571, -0.24659015238285065, 0.05601983517408371, -0.17367297410964966, 0.6622795462608337, 0.43998637795448303, 0.026735834777355194, -0.4373888373374939, -0.7233619689941406, -0.9466819167137146, -0.13822320103645325, -0.5122442245483398, 0.11473455280065536, -0.16071099042892456, 0.46316471695899963, -0.37061211466789246, 0.957873523235321, 0.014553082175552845, -0.12918831408023834, 0.0014194379327818751, -0.021584179252386093, 0.08034456521272659, 0.3538653552532196, 0.5143948793411255, -0.33577874302864075, 0.12534672021865845, -0.030724385753273964, -0.9778235554695129, -0.37386733293533325, 0.3174624443054199, 0.01461922749876976, 0.18971870839595795, 0.6435683369636536, -0.2587004601955414, 0.37740638852119446, 0.7087563276290894, -0.14815208315849304, 1.0210238695144653, 0.20060989260673523, 0.46352994441986084, -0.798250138759613, -0.19569411873817444, -0.31622982025146484, -0.2790173292160034, -0.39659303426742554, 0.14146631956100464, 0.2714594602584839, -0.04977063834667206, -0.5467263460159302, 0.404473215341568, -0.27879586815834045, -0.46808943152427673, -0.13044406473636627, -0.05299600213766098, 0.009294492192566395, 0.11854429543018341, -0.3553113341331482, 1.0817142724990845, 0.689273476600647, -0.7079995274543762, 0.03714631870388985, 0.055182989686727524, -0.460807740688324, 0.803554356098175, -0.7189180254936218, 0.08938879519701004, 0.4418414533138275, 0.12605063617229462, -0.7219337821006775, -0.16683262586593628, 0.14403851330280304, -0.3244704604148865, 0.10655530542135239, -0.25678837299346924, -0.5141990780830383, -0.1868005245923996, -0.7271082401275635, 0.33957886695861816, 0.4373417794704437, -0.705507218837738, 0.5559507012367249, 0.42209139466285706, -0.07516782730817795, -0.7383182048797607, -0.807677686214447, 0.17209240794181824, -0.554803729057312, -0.7239110469818115, 0.2214267998933792, -0.26575806736946106, -0.40649327635765076, -0.015501445159316063, -0.24717634916305542, -0.07291019707918167, 0.5541043281555176, 0.5413609743118286, 0.14690056443214417, -0.24675258994102478, -0.05589577555656433, -0.002741309581324458, -0.3793693482875824, 0.30931350588798523, -0.295538067817688, 0.7329426407814026, -0.42211616039276123, -0.8587939143180847, -0.5789302587509155, 0.20423376560211182, 0.7234381437301636, -0.20205189287662506, 0.07955566048622131, 0.34054431319236755, -0.4184798002243042, -0.3459904193878174, -0.5342395901679993, -0.2545604705810547, -0.5893954038619995, 0.5015586018562317, -0.627117931842804, -0.7867298126220703, 0.7309579849243164, -0.2691119909286499, 0.30674147605895996, 0.11900001764297485, 0.4686873257160187, 0.2403889000415802, 0.7913272976875305, 0.48103097081184387, -0.12870337069034576, 0.3316512107849121, 0.10253604501485825, 0.3289995789527893, -0.73771071434021, -0.04854395240545273, -0.6844229698181152, 0.06734742224216461, -0.4408785104751587, -0.2516297996044159, 0.625504195690155, 0.2612312436103821, -0.30808791518211365, 0.4041345715522766, -0.25037023425102234, 0.2718961834907532, 0.49846354126930237, -0.30787181854248047, 0.521237313747406, -0.2514481842517853, -0.25272074341773987, 0.13295097649097443, -0.45127877593040466, -1.0081526041030884, 1.3381669521331787, 0.5833759307861328, 0.7586512565612793, 0.010859635658562183, 1.043500304222107, 0.4498721957206726, 0.39520713686943054, -0.6948642730712891, 0.8447643518447876, 0.34921571612358093, -0.6086801886558533, -0.12136641144752502, -0.3693661689758301, -0.9659574627876282, 0.09541501104831696, 0.0314219631254673, -0.853010892868042, 0.18547780811786652, 0.05848871171474457, -0.35887598991394043, 0.2840358018875122, -0.5354315638542175, 0.6071749925613403, -0.5072333812713623, -0.4892914593219757, -0.15560942888259888, -0.000023456548660760745, 0.5708739161491394, -0.14123499393463135, 0.4114910364151001, -0.26441702246665955, 0.01018586941063404, 0.6194612383842468, -0.17244869470596313, 0.7282012701034546, 0.009448892436921597, -0.2794678807258606, 0.31580081582069397, 0.234270378947258, 0.4147719144821167, 0.18561476469039917, -0.33978214859962463, 0.1232047900557518, 0.402852863073349, 0.03321271017193794, -0.32590898871421814, 0.7276474833488464, -0.49612805247306824, -0.5116470456123352, -0.5654649138450623, -0.5936940908432007, -0.4950951337814331, 0.23877660930156708, 0.058714281767606735, 0.8108177781105042, -0.2309488207101822, 0.17118752002716064, 0.6361052393913269, -0.19240552186965942, 0.73020339012146, 0.5750385522842407, -0.17800943553447723, -0.45106762647628784, 0.6825235486030579, -0.020898208022117615, 0.17463158071041107, 0.19232524931430817, 0.0565665140748024, -0.4709067940711975, -0.9907119274139404, -0.2674706280231476, -0.34627631306648254, -0.8081147074699402, -0.4861040413379669, -0.3372389078140259, -0.35404279828071594, -0.36823394894599915, -0.1628396362066269, -0.33361709117889404, -0.06790071725845337, 0.1978563666343689, -0.00023580847482662648, 0.2839886546134949, 0.5956715941429138, -0.20485252141952515, 0.0117613784968853, -0.8651977181434631, -0.03501836210489273, 0.22837796807289124, 0.4692264497280121, 0.039140671491622925, -0.33687376976013184, -0.13829058408737183, -0.3348938226699829, -0.6749328374862671, -0.7687143683433533, 0.1263142079114914, -0.17471790313720703, 0.8282703161239624, 0.5996483564376831, 0.2519092261791229, 0.4610954821109772, -0.502056360244751, 0.6711108088493347, 0.2196890115737915, -1.026309609413147, 0.3347037136554718, -0.47827982902526855, -0.16356033086776733, 0.6907548308372498, -0.18498240411281586, -0.3116901218891144, -0.12824077904224396, -0.2614195942878723, -0.7386866211891174, 0.25047165155410767, -0.09635885804891586, -0.16485969722270966, -0.06293045729398727, -0.03503264859318733, 0.10386721789836884, 0.05600385367870331, -0.5714409351348877, -0.006484732031822205, 0.19610363245010376, -0.18650959432125092, 0.21547122299671173, -0.28962698578834534, -0.5530318021774292, 0.40328752994537354, 0.7135316133499146, -0.14612330496311188, 0.2157030999660492, 0.03242650628089905, -0.0040654828771948814, 0.07554063200950623, 0.522716224193573, 0.30873343348503113, 0.6074329018592834, -0.2730588912963867, 0.27743491530418396, 0.38661274313926697, -0.2975389063358307, 0.463928759098053, 0.25286445021629333, -0.3859976828098297, -0.18547871708869934, 0.6170269250869751, 0.29317551851272583, 0.38656145334243774, -0.8083707094192505, 0.4643522799015045, -0.1210833489894867, -0.21242806315422058, -0.41593658924102783, 0.05598243325948715, -0.1516249030828476, 0.4968579411506653, 0.3870580494403839, -0.08899951726198196, 0.2900537848472595, -0.7706368565559387, 0.6767846941947937, 0.6016325354576111, -0.3713161051273346, -0.2785654366016388, 0.6148025989532471, 0.21666699647903442, -0.3327200412750244, -0.12438533455133438, -0.4412540793418884, -0.5606375932693481, 0.47500625252723694, 0.5636218786239624, 1.2739851474761963, 0.05896608904004097, 0.0905117392539978, 0.038393471390008926, 0.5290319919586182, -0.11464861035346985, 0.33126625418663025, -0.03614206612110138, -0.5227874517440796, -0.1900864988565445, -0.7116739153862, -0.6285302639007568, 0.22058281302452087, -0.4344070553779602, 0.23742172122001648, -0.5359609723091125, -0.39490264654159546, -0.6062394976615906, 0.156764954328537, -0.5192123651504517, 0.0344122014939785, -0.1282048374414444, 0.9563082456588745, -0.7953715324401855, 0.48320189118385315, 0.32093337178230286, -0.033747393637895584, -0.5592805743217468, 0.17596638202667236, 0.2855580449104309, -0.818759560585022, 0.5699803829193115, 0.3763810694217682, -0.4507128596305847, -0.5519840717315674, 0.023556800559163094, -0.883888304233551, 1.2147630453109741, 0.4742281138896942, -0.6185563206672668, 0.16392043232917786, 0.15667946636676788, 0.18789178133010864, -0.08360176533460617, 0.47339898347854614, 0.7935271859169006, 0.6382368206977844, -0.3592401444911957, -0.7942354083061218, 0.1405733823776245, -0.23066699504852295, -0.11417979001998901, -0.026881162077188492, -0.6182287931442261, 0.8732811808586121, 0.22173626720905304, -0.44016796350479126, 0.42787161469459534, 0.5169171690940857, 0.7591835260391235, 0.6449891328811646, 0.5281050205230713, 0.4863356649875641, 0.5723474025726318, -0.5385388731956482, 1.0412991046905518, -0.7292665839195251, -0.009229744784533978, 0.9823853969573975, -0.44754692912101746, 0.8042631149291992, 0.24339674413204193, -0.28996509313583374, 0.24086393415927887, 0.7471099495887756, 0.22651906311511993, 0.4782806932926178, 0.45472073554992676, -0.33627334237098694, 0.020535487681627274, -0.4231894612312317, -0.6933761239051819, 0.21930885314941406, 0.07068610936403275, -0.08108894526958466, -0.30834800004959106, -0.30946028232574463, 0.11662493646144867, 0.09753615409135818, -0.14738412201404572, 0.2577081024646759, 0.05868947505950928, -0.49885672330856323, 0.5999670028686523, -0.04634837061166763, 0.8418484330177307, -0.7154332399368286, 0.08819880336523056, -0.3411022424697876, 0.4558890163898468, -0.15723152458667755, -0.5623331665992737, 0.2247467190027237, 0.055824752897024155, 0.20003193616867065, -0.2685820162296295, 0.6874915361404419, 0.033693183213472366, -0.247691348195076, 0.5629366040229797, 0.40915438532829285, 0.02489469200372696, 0.311373770236969, -0.3972274661064148, 0.676831066608429, -0.38280197978019714, -0.02379305101931095, 0.4783669114112854, 0.3931695818901062, -0.22223982214927673, 0.8411552906036377, 0.5270627737045288, 0.07222044467926025, 0.3307410478591919, 0.24574822187423706, 0.7555215954780579, -0.3918681740760803, -0.44038674235343933, -0.7370777726173401, 0.1820647120475769, -0.008245806209743023, -0.29810091853141785, 0.9720010757446289, 0.709688127040863, 0.6959027051925659, 0.16313500702381134, 1.0102888345718384, 0.21275725960731506, 0.23649774491786957, -0.6639155149459839, 0.5433010458946228, -0.2794734537601471, 0.44483625888824463, -0.3762728273868561, -0.7675213813781738, -0.11435654014348984, 0.2621724605560303, -0.09913395345211029, 0.03223079442977905, 0.7041881084442139, 1.0766726732254028, 0.19815579056739807, 0.1913086175918579, 0.47016823291778564, -0.019598523154854774, 0.7461692094802856, 0.7774773836135864, 1.3524909019470215, -0.541313886642456, 0.690338134765625, -0.07678157836198807, -0.39470770955085754, 0.027094541117548943, -1.0939801931381226, -1.0025264024734497, -0.36607685685157776, -0.31489649415016174, -0.3305949866771698, 0.5908650159835815, 0.4670112729072571, 0.845228910446167, -0.9859061241149902, -0.37440991401672363, -0.30635571479797363, 0.006679211277514696, -0.3945179581642151, -0.1969650387763977, 0.345862478017807, -0.536573588848114, -0.6152793169021606, 0.7074783444404602, 0.5518190264701843, 0.0373692661523819, -0.40942806005477905, -0.08496619760990143, 0.43588000535964966, 0.11207006126642227, 0.46896904706954956, 0.19973741471767426, -0.5731804966926575, -0.5863161087036133, -0.22252391278743744, 0.1403816193342209, -0.14082352817058563, 0.5462774038314819, -0.4862527549266815, 0.10659245401620865, 0.5184629559516907, 0.8756853938102722, -0.025280509144067764, -0.21517552435398102, 0.6699981689453125, -0.22214318811893463, -0.020693879574537277, 0.07501636445522308, 0.6621512174606323, 0.2717125117778778, 0.04393478110432625, 0.5538651943206787, -0.002375599229708314, -0.5856629014015198, -1.0628703832626343, 0.521988034248352, -0.664121687412262, 0.22667428851127625, 0.8967463374137878, -0.36429131031036377, -0.02193775214254856, -0.38193219900131226, 0.16944605112075806, 0.13888037204742432, -0.2555689811706543, 1.001054048538208, 0.5613079071044922, 0.08710935711860657, 0.06659854203462601, -0.7508079409599304, 0.5850988030433655, 0.5070981383323669, -1.1419090032577515, 0.17612239718437195, 0.32489046454429626, 0.15967437624931335, 0.1745360940694809, 0.3782612085342407, -0.7619310021400452, 0.21641193330287933, 0.09838496148586273, -0.10196637362241745, -0.13394616544246674, -0.4335816204547882, -0.3676033616065979, 0.3318750858306885, 0.07256690412759781, -0.5381038188934326 ]
http://arxiv.org/abs/2406.01363v1
http://arxiv.org/pdf/2406.01363v1
Privacy in LLM-based Recommendation: Recent Advances and Future Directions
2024-06-03T14:31:47
2024-06-03T14:31:47
Sichun Luo, Wei Shao, Yuxuan Yao, Jian Xu, Mingyang Liu, Qintong Li, Bowei He, Maolin Wang, Guanzhi Deng, Hanxu Hou, Xinyi Zhang, Linqi Song
cs.CL
cs.CL, cs.IR
Nowadays, large language models (LLMs) have been integrated with conventional recommendation models to improve recommendation performance. However, while most of the existing works have focused on improving the model performance, the privacy issue has only received comparatively less attention. In this paper, we review recent advancements in privacy within LLM-based recommendation, categorizing them into privacy attacks and protection mechanisms. Additionally, we highlight several challenges and propose future directions for the community to address these critical problems.
[ -0.20069535076618195, -0.6981177926063538, 0.725165069103241, 0.007131866179406643, 0.039164017885923386, 0.14520947635173798, -0.03615923598408699, -1.1633720397949219, 0.20163188874721527, 1.0416535139083862, -0.6451674103736877, -0.7439473867416382, -0.7023864388465881, -0.25869113206863403, -0.39692217111587524, 0.9978083372116089, 0.24805617332458496, 0.024985402822494507, -0.2636137008666992, -0.053925562649965286, -0.4614545404911041, -1.1799787282943726, -0.3482415974140167, -0.20434872806072235, 0.715632438659668, 0.27657511830329895, 0.6594247221946716, 0.5738363265991211, 0.8591458201408386, 0.40957531332969666, -0.5824970602989197, 0.19669590890407562, -0.38707399368286133, 0.5845827460289001, -0.22314420342445374, -0.4922265112400055, -0.7390484809875488, -0.09697391837835312, 0.743098258972168, 0.6480410695075989, -0.15297329425811768, 0.1377442330121994, 0.027615917846560478, 0.8282447457313538, -0.8177927136421204, -0.0025196224451065063, -0.24470433592796326, 0.07596500217914581, -0.25486135482788086, 0.019518690183758736, -0.34605103731155396, -0.7558014988899231, 0.5716671347618103, -0.2049408257007599, -0.045043766498565674, 0.5846158266067505, 0.3309839069843292, -0.07666382938623428, -0.288887083530426, -0.39775004982948303, -0.9072481393814087, 0.8849315047264099, -0.5825093388557434, 0.71207195520401, 0.7231101989746094, 0.3181777000427246, -0.4532981216907501, -0.749207079410553, 0.32655301690101624, -0.4771888554096222, 0.06318699568510056, -0.4282776713371277, -0.44138196110725403, -0.010517613962292671, 0.22068646550178528, 0.6444721817970276, -0.2884500324726105, 0.4741462171077728, -0.17330697178840637, -0.2707216143608093, 0.8742896318435669, 0.19921517372131348, 0.010698716156184673, 0.20248591899871826, -0.33878156542778015, 0.22267980873584747, -0.814804196357727, 0.0425032414495945, 0.7159730792045593, -0.018180320039391518, -0.15415216982364655, 0.6794906258583069, -0.3535015881061554, 0.7262007594108582, 0.09663908183574677, -0.1275397539138794, -0.13521741330623627, -0.29091358184814453, -0.17782631516456604, 0.14612576365470886, 0.6081247329711914, 0.48433786630630493, 0.4450709819793701, -0.2140231430530548, 0.04376224800944328, -0.4335092008113861, 0.012081746943295002, -0.6091521382331848, -0.06974823027849197, 0.2906484603881836, -0.6420432329177856, -0.48996537923812866, 0.2548617422580719, -0.8223409652709961, -1.0372676849365234, 0.1089433953166008, -0.05622508004307747, 0.06579117476940155, -0.1540144979953766, 0.22238589823246002, 0.05186862125992775, -0.08252078294754028, 0.3693867027759552, -0.9987075924873352, 0.6009241938591003, 0.9719492197036743, 0.643803596496582, -0.25053197145462036, -0.1241379976272583, -0.3626859486103058, 0.45159679651260376, -0.09181802719831467, 0.7459800839424133, -0.6263166069984436, -0.7934244871139526, 0.3243786692619324, 0.26088395714759827, 0.2740091383457184, -0.6584293246269226, 0.041269440203905106, -0.556821882724762, 0.23449839651584625, -0.49705320596694946, -0.7302318811416626, -0.28363147377967834, 0.37180399894714355, -0.37765806913375854, 0.511332631111145, -0.16653557121753693, -0.7950599789619446, 0.10006792098283768, -0.7630131840705872, -0.2959096431732178, 0.036262281239032745, 0.24127504229545593, -0.3011018931865692, 0.010742700658738613, 0.13982249796390533, 0.5826531648635864, -0.08446097373962402, 0.199591264128685, -0.6798831224441528, -0.6060138940811157, 0.7318633198738098, -0.37305116653442383, 0.5554148554801941, 0.30608847737312317, -0.09760066121816635, 0.29193243384361267, -0.6783222556114197, -0.22152526676654816, -0.2515262961387634, -0.012069067917764187, -0.1567760854959488, 0.029886187985539436, -0.23377598822116852, -0.35349392890930176, 0.9287591576576233, -0.4620945155620575, -0.13232354819774628, -0.5340483784675598, 0.661217987537384, 1.0035688877105713, 0.28128141164779663, 0.9209151864051819, -0.31354576349258423, 0.5840797424316406, -0.1979895532131195, 0.5146879553794861, -0.07679589092731476, -0.7250968813896179, -0.2923688292503357, -0.014719958417117596, 0.38553687930107117, 0.44020769000053406, 0.1294163316488266, 0.45361360907554626, 0.24252867698669434, -0.34479737281799316, -0.1622462123632431, 0.051194366067647934, 0.20470060408115387, -0.2822752594947815, -0.13776811957359314, -0.3568282127380371, -0.39281368255615234, -0.8768108487129211, -0.5321751832962036, -0.16173675656318665, 0.377015620470047, 0.7062591314315796, -0.16797566413879395, -0.49598339200019836, 0.46623748540878296, -0.707507312297821, -0.3769027888774872, -0.14518144726753235, -0.5817119479179382, 0.051231708377599716, 0.5390649437904358, 0.2837061583995819, -0.6064165830612183, -0.381401389837265, 0.0027694276068359613, -0.4800185263156891, 0.05742841213941574, 0.5673883557319641, 0.040365416556596756, 0.0011667588260024786, 0.562559962272644, -0.30843228101730347, 0.2823273837566376, 0.708983302116394, -0.3945137858390808, 0.1220090389251709, -0.39816758036613464, -0.1979091465473175, -0.8379151225090027, -0.5397246479988098, 0.0475102923810482, -0.5663646459579468, -0.560391902923584, 0.10394217073917389, -0.19837243854999542, -0.25592663884162903, -0.6319220662117004, 0.7227760553359985, -0.38048312067985535, -0.18757441639900208, -0.5667515993118286, -0.0163789801299572, -0.28281983733177185, 0.10693598538637161, -0.3343532681465149, 0.4300535023212433, 0.8423945307731628, -0.5817665457725525, 0.6274974942207336, -0.005811696406453848, -0.18965236842632294, 0.446437805891037, -0.33327481150627136, 0.5679085850715637, 0.24188661575317383, 0.3018946945667267, -0.6915212273597717, -0.4376375079154968, 0.655504047870636, -0.17304515838623047, 0.33073562383651733, -0.18472982943058014, -0.5066273808479309, -0.10190580785274506, -0.7473947405815125, 0.49294334650039673, 0.39221757650375366, -0.5095027685165405, 0.5135492086410522, 0.5402371287345886, -0.2717652916908264, -0.8229992985725403, -0.6182786226272583, 0.2881365120410919, -0.2738037407398224, -0.5871127843856812, 0.24427072703838348, -0.26812082529067993, -0.7677112817764282, 0.001292056287638843, -0.02982105128467083, -0.12516073882579803, 0.3772261142730713, 0.6923539042472839, 0.12033641338348389, 0.1447286605834961, -0.3613767921924591, -0.2849702835083008, -0.2500081956386566, 0.16820493340492249, -0.4188212454319, 0.44728225469589233, -0.17293734848499298, -0.14729760587215424, -0.6175799369812012, 0.5035614967346191, 0.24841712415218353, -0.24284400045871735, 0.7651737928390503, 0.44852590560913086, -0.21248884499073029, -0.08121825009584427, -0.9519205093383789, -0.18772122263908386, -0.5690998435020447, 0.342134952545166, 0.22503487765789032, -1.5633341073989868, 0.2731306552886963, -0.15786387026309967, 0.06749933958053589, -0.14193184673786163, 0.6356809735298157, -0.20037654042243958, 0.7913002371788025, 1.2096192836761475, -0.2981815040111542, 0.890227198600769, 0.14104150235652924, 0.44495609402656555, -0.8167166113853455, -0.40612682700157166, -0.322848379611969, -0.17135179042816162, -1.3699537515640259, 0.09053907543420792, -0.018801197409629822, -0.2520838975906372, 0.03542047366499901, 0.2437659054994583, -0.43120262026786804, 0.5334212779998779, 0.6598859429359436, 0.21982312202453613, 0.592707633972168, -0.38170966506004333, 0.3916347920894623, 0.15891003608703613, -0.33971336483955383, -0.3843887150287628, 1.022327184677124, 0.6021737456321716, 0.966334342956543, 0.2954985797405243, 0.7855042219161987, 0.47689634561538696, 0.21325357258319855, -0.4987841546535492, 0.8460310101509094, -0.17105086147785187, -0.7499037384986877, -0.15102796256542206, -0.10417139530181885, -0.9108765721321106, 0.14448268711566925, -0.10399143397808075, -1.3067667484283447, 0.48027971386909485, -0.1468406617641449, -0.29765158891677856, 0.2893041968345642, -0.5209543108940125, 0.34819555282592773, -0.13897234201431274, -0.572166383266449, -0.13054488599300385, -0.5576853156089783, 0.47006744146347046, -0.2598803639411926, 0.3609251081943512, -0.222438246011734, 0.12396693229675293, 0.785545825958252, -0.262563556432724, 0.7895225286483765, -0.18041430413722992, -0.28957781195640564, -0.021571172401309013, 0.04245315119624138, 0.8651648759841919, 0.22133199870586395, -0.12323900312185287, 0.31289201974868774, 0.1732534021139145, 0.04108929634094238, -0.16590140759944916, 1.1893514394760132, -0.38418421149253845, -1.1209428310394287, -0.4489944875240326, -0.7636498808860779, -0.28940799832344055, 0.15224918723106384, 0.05220535025000572, 0.10706748068332672, -0.16277794539928436, 0.4776293933391571, 0.8784357905387878, -0.6366212964057922, 0.5727380514144897, 0.5820500254631042, -0.5437126755714417, -0.5742500424385071, 0.7014703154563904, 0.2098170816898346, -0.21782411634922028, 0.11549431830644608, 0.24696315824985504, -0.5430156588554382, -0.9501538872718811, 0.03543580695986748, 0.32478752732276917, -0.707420825958252, 0.061233945190906525, -0.7119606733322144, -0.17402251064777374, -0.4834372103214264, -0.11477266997098923, -0.1252259910106659, -0.25488919019699097, -0.11756690591573715, -0.2938857972621918, 0.5354567170143127, 1.0167365074157715, 0.033414117991924286, 0.46733203530311584, -0.6076624989509583, 0.14895883202552795, 0.0879555344581604, 0.7933750748634338, -0.05336063355207443, -0.28273671865463257, -0.44479626417160034, -0.5708518028259277, -0.1344883143901825, -0.4833754897117615, 0.13082046806812286, -0.3021450340747833, 0.3450070321559906, 0.5103172063827515, -0.08420252054929733, 0.21795222163200378, -0.4808565676212311, 1.016772985458374, -0.06698822230100632, -0.5112103223800659, 0.3631557524204254, -0.2772238552570343, -0.06807634979486465, 0.21750393509864807, -0.06539057940244675, -0.3191821873188019, -0.38265180587768555, -0.6188216805458069, -0.6325861811637878, 0.49433353543281555, -0.009384142234921455, 0.48145660758018494, 0.39838677644729614, 0.43231937289237976, 0.1328895539045334, 0.425342857837677, -0.675386369228363, -0.3710455894470215, 0.4825519919395447, 0.23549309372901917, -0.27713242173194885, -0.7172554135322571, -0.057408709079027176, -0.2285391390323639, 0.3758217692375183, 0.6403936743736267, 0.09970281273126602, -0.21602307260036469, 0.35039132833480835, -0.11233781278133392, 0.3912290930747986, 0.5339198708534241, 0.515139102935791, -0.3882735073566437, -0.2707156538963318, 0.07426922768354416, -0.33825746178627014, 0.280583918094635, 0.2885623872280121, -0.11329450458288193, -0.2627107501029968, 0.033337924629449844, 0.428220272064209, 0.32387059926986694, -0.30362844467163086, 0.5100582242012024, -0.06702238321304321, -0.3633301854133606, -0.6502323150634766, 0.31257933378219604, 0.1308918446302414, 0.5048702359199524, -0.14365795254707336, -0.07946070283651352, 0.3199900984764099, -0.5742238759994507, -0.08854351192712784, 0.6509348750114441, -0.5200384259223938, -0.010678937658667564, 0.6867436170578003, 0.07087542861700058, -0.6964311599731445, 0.08416193723678589, 0.6021731495857239, -0.2091435343027115, 0.11787795275449753, 0.4013194739818573, 1.1553599834442139, -0.3715202212333679, -0.20150558650493622, -0.47109025716781616, 0.10702642053365707, -0.34169718623161316, 0.21450908482074738, -0.4244840145111084, -0.5609360337257385, 0.06993556767702103, -0.49200597405433655, -1.067236304283142, -0.01984136924147606, -0.6402417421340942, -0.021842410787940025, -1.0552685260772705, -0.4827301502227783, -0.2839801609516144, 0.3004109859466553, -0.2910822331905365, -0.013666932471096516, 0.2930142283439636, 0.428677499294281, 0.017843274399638176, 0.9586265683174133, 0.6783972978591919, 0.18019041419029236, -0.1679299771785736, -0.0957731083035469, 0.0031469506211578846, -0.4779270589351654, 0.24715130031108856, 0.06552086770534515, -0.4966321587562561, -0.2541499733924866, -0.5446855425834656, -0.7461757063865662, 0.9471510052680969, 0.2757430076599121, -0.9928609132766724, 0.10477367788553238, 0.38450369238853455, 0.6595029830932617, -0.13822683691978455, -0.3376358449459076, 0.20410799980163574, 0.7052691578865051, -0.3649115562438965, -0.6048339009284973, -0.08916191011667252, 0.13548119366168976, 0.050739653408527374, 0.06373324990272522, -1.0177538394927979, 0.6525881886482239, 0.07953279465436935, 0.06731585413217545, 0.19341930747032166, 0.599044919013977, 0.2076524943113327, 0.7260879874229431, 0.14488279819488525, 0.17944467067718506, 1.0525630712509155, 0.22804786264896393, 1.301853895187378, -0.19086459279060364, 0.07068784534931183, 1.1272567510604858, -0.8012906312942505, 0.5652161240577698, 0.2138396054506302, -0.132784903049469, 0.5157708525657654, 0.8519169688224792, -0.3746027648448944, 0.7130084037780762, 0.31761837005615234, -0.40905946493148804, 0.04344275966286659, -0.39748451113700867, -0.6423290371894836, 0.10996878147125244, 0.1510162055492401, -0.7316077947616577, 0.12899693846702576, 0.009859523735940456, -0.02793245203793049, 0.06648087501525879, -0.3130172789096832, 0.9593620896339417, 0.439842164516449, -0.23823460936546326, -0.0701284259557724, 0.4037953317165375, 0.9273820519447327, -0.6849279403686523, 0.05013873428106308, -0.059228233993053436, 0.28229793906211853, -0.31248965859413147, -0.6659316420555115, 0.1114727035164833, 0.11949808150529861, -0.3774647116661072, -0.1276165097951889, 0.9631462693214417, -0.057766206562519073, -0.296477735042572, 0.6028833985328674, 0.38518115878105164, 0.1827177256345749, -0.15475407242774963, -0.5764827728271484, 0.08850979059934616, -0.18629159033298492, -0.1413397639989853, 0.7293326258659363, 0.13371601700782776, -0.13295361399650574, 0.9507368206977844, 0.8545461297035217, 0.18088261783123016, 0.19885173439979553, -0.000014725540495419409, 0.5988575220108032, -0.8933269381523132, -0.7071851491928101, -1.215060830116272, -0.27428171038627625, 0.04023227468132973, 0.0090710474178195, 1.080088496208191, 0.2107560634613037, 0.7788991928100586, 0.27250656485557556, 0.60493403673172, 0.6083129644393921, 0.5898397564888, -0.51157146692276, 0.8459981679916382, -0.15762686729431152, 0.9805927276611328, -0.13646844029426575, -1.128003716468811, -0.323681503534317, 0.054229166358709335, -0.5272741913795471, 0.19471809267997742, 0.5305089354515076, 0.8978999853134155, 0.35805532336235046, 0.1889881193637848, 0.40698036551475525, 0.10636001825332642, 0.36592456698417664, 0.2841421663761139, 1.1096864938735962, -0.07294965535402298, 0.1577746570110321, -0.40620774030685425, 0.18471361696720123, -0.33729174733161926, -0.7967808842658997, -0.9584094285964966, -0.09764157235622406, -0.2877565026283264, -0.2827344834804535, 0.4934830665588379, 0.7926067113876343, 0.6825109720230103, -0.9044182896614075, -0.3746185302734375, 0.16296006739139557, 0.3781488239765167, -0.06679414957761765, -0.13539615273475647, 0.2794409692287445, 0.4027450978755951, -0.6918050050735474, 0.7685346007347107, 0.5974165201187134, 0.12752439081668854, -0.5052841305732727, 0.16720183193683624, -0.00131329579744488, 0.08462841808795929, 0.4924998879432678, 0.07621379941701889, -0.7960759401321411, -0.13005883991718292, -0.2451125532388687, 0.07820045948028564, 0.00010444223880767822, 0.7544326782226562, -0.32521459460258484, 0.23431627452373505, 0.17222081124782562, 0.5610215663909912, 0.5084949135780334, 0.19910743832588196, 0.7306172251701355, -0.37394100427627563, 0.08723725378513336, 0.022872285917401314, 0.3602403998374939, 0.3621045649051666, -0.8362160921096802, 0.33477410674095154, -0.10886023938655853, -0.7425822019577026, -1.1392806768417358, 0.2829323410987854, -0.905986487865448, -0.3093355596065521, 1.1769939661026, -0.2077743262052536, -0.24537216126918793, -0.48254531621932983, -0.18448424339294434, -0.25302281975746155, -0.47877877950668335, 0.6263605356216431, 0.8014216423034668, -0.10498204082250595, -0.1842469871044159, -0.44227489829063416, 0.45814260840415955, 0.14996527135372162, -0.4591841697692871, 0.3156445324420929, 0.296994149684906, 0.38309839367866516, -0.30401524901390076, 0.5799001455307007, -0.53976970911026, 0.05284051224589348, -0.5919560194015503, -0.636651337146759, -0.34398213028907776, -0.4631233811378479, -0.5668386220932007, 0.41765573620796204, 0.4637983739376068, -0.19604317843914032 ]
http://arxiv.org/abs/2406.01359v2
http://arxiv.org/pdf/2406.01359v2
R2C2-Coder: Enhancing and Benchmarking Real-world Repository-level Code Completion Abilities of Code Large Language Models
2024-06-03T14:24:29
2024-06-04T03:13:43
Ken Deng, Jiaheng Liu, He Zhu, Congnan Liu, Jingxin Li, Jiakai Wang, Peng Zhao, Chenchen Zhang, Yanan Wu, Xueqiao Yin, Yuanxing Zhang, Wenbo Su, Bangyu Xiang, Tiezheng Ge, Bo Zheng
cs.CL
cs.CL, cs.SE
Code completion models have made significant progress in recent years. Recently, repository-level code completion has drawn more attention in modern software development, and several baseline methods and benchmarks have been proposed. However, existing repository-level code completion methods often fall short of fully using the extensive context of a project repository, such as the intricacies of relevant files and class hierarchies. Besides, the existing benchmarks usually focus on limited code completion scenarios, which cannot reflect the repository-level code completion abilities well of existing methods. To address these limitations, we propose the R2C2-Coder to enhance and benchmark the real-world repository-level code completion abilities of code Large Language Models, where the R2C2-Coder includes a code prompt construction method R2C2-Enhance and a well-designed benchmark R2C2-Bench. Specifically, first, in R2C2-Enhance, we first construct the candidate retrieval pool and then assemble the completion prompt by retrieving from the retrieval pool for each completion cursor position. Second, based on R2C2 -Enhance, we can construct a more challenging and diverse R2C2-Bench with training, validation and test splits, where a context perturbation strategy is proposed to simulate the real-world repository-level code completion well. Extensive results on multiple benchmarks demonstrate the effectiveness of our R2C2-Coder.
[ -0.4664231240749359, -0.5234338045120239, 0.2262284904718399, 0.1890273243188858, -0.21570149064064026, 0.4132685661315918, -0.4291520118713379, -0.7344959378242493, -0.19804927706718445, 0.4104312062263489, -0.3026776909828186, -0.28140050172805786, -0.4227738082408905, 0.1690184473991394, -0.1812528818845749, 0.6303468346595764, -0.09169309586286545, 0.09468475729227066, -0.28819188475608826, 0.00022199584054760635, -0.9776232242584229, -0.39848271012306213, -0.24011631309986115, -0.18597358465194702, 0.3828643560409546, 0.8745661377906799, 0.41577768325805664, 0.7298812866210938, 0.576104462146759, 0.1273244470357895, -0.07035112380981445, 0.17366592586040497, -0.3952762186527252, 0.4782705307006836, 0.04298153147101402, -0.4654000699520111, -0.3990148603916168, -0.0922040194272995, 0.48426756262779236, 0.2280993014574051, -0.04647553712129593, 0.2172141969203949, 0.19634495675563812, 0.675186038017273, -0.9489176273345947, 0.12202998250722885, -0.3290855288505554, 0.18526999652385712, 0.2074301838874817, -0.3006128966808319, -0.5101578235626221, -0.3735082745552063, 0.02911682240664959, -0.28433462977409363, 0.14083419740200043, -0.1206430196762085, 0.6163740158081055, 0.3223731815814972, -0.5047523379325867, -0.24317330121994019, -0.5612415075302124, 0.493034690618515, -0.4501982033252716, 0.335612416267395, 0.37040695548057556, 0.42318156361579895, 0.1302414834499359, -0.8258295655250549, -0.1425722986459732, -0.5805859565734863, -0.3552877902984619, 0.0913136750459671, 0.23601476848125458, -0.0567643903195858, 0.8435437679290771, 0.20268875360488892, -0.663223147392273, -0.030006427317857742, -0.2858799993991852, -0.13655804097652435, 0.2378808706998825, 0.028025440871715546, 0.24106131494045258, -0.20969630777835846, -0.4408784508705139, -0.29503312706947327, -0.6934424042701721, 0.2765333354473114, 0.16904868185520172, 0.1655491590499878, -0.056619204580783844, 0.5506258010864258, -0.3337644636631012, 0.6540412306785583, -0.3611629605293274, 0.21313436329364777, 0.2221832275390625, -0.4549406170845032, 0.2556267976760864, -0.2822059392929077, 0.14858217537403107, 0.3712614178657532, 0.2718971073627472, -0.08101043850183487, -0.3413997292518616, 0.007924763485789299, 0.32668691873550415, -1.1059045791625977, -0.3381275236606598, 0.47539809346199036, -0.4826701283454895, -0.01788146235048771, 0.14846527576446533, -0.793965756893158, -0.41894516348838806, -0.32823076844215393, -0.025473779067397118, -0.23893752694129944, -0.45095598697662354, -0.3140529990196228, -0.2929486036300659, 0.44048285484313965, 0.23666448891162872, -0.3936135470867157, 0.1905450075864792, 0.9609231948852539, 0.7503679394721985, -0.10988257080316544, -0.38182011246681213, -0.9800247550010681, 0.04004574939608574, -0.21777433156967163, 0.9554703235626221, -0.6604030728340149, -0.41023680567741394, 0.34052950143814087, -0.2887296676635742, 0.398124635219574, -0.8675746321678162, 0.3586917221546173, -0.5420976877212524, -0.0550663024187088, -0.2877958416938782, -0.5033298134803772, 0.14453057944774628, 0.4161936044692993, -0.48708823323249817, 1.3026005029678345, 0.40450960397720337, -0.6315595507621765, 0.31897810101509094, -0.31257742643356323, -0.387165367603302, 0.25669190287590027, -0.3487480580806732, -0.29353559017181396, 0.06745322048664093, -0.06066954880952835, 0.15539582073688507, -0.3571692407131195, 0.15012027323246002, -0.1272079050540924, -0.739352285861969, 0.14670272171497345, 0.07752934098243713, 0.4261144697666168, 0.21574155986309052, -0.427617609500885, -0.06261755526065826, -0.70368891954422, 0.35880371928215027, -0.2322489619255066, -0.49005329608917236, -0.09906311333179474, -0.13168738782405853, 0.49101367592811584, 0.35695648193359375, 0.3331288695335388, -0.11380457133054733, 0.4038078784942627, -0.20528781414031982, 0.3964460492134094, 0.1900021731853485, 0.05519117787480354, 0.6232014298439026, -0.1512901782989502, 0.7089657783508301, -0.22821807861328125, 0.10234527289867401, -0.2539547383785248, -0.1778642237186432, -0.5590483546257019, -0.45978328585624695, 0.5433961153030396, 1.0114485025405884, -0.6177451014518738, 0.5501996874809265, -0.15312308073043823, -0.49572229385375977, -0.05895078554749489, 0.1133582815527916, 0.9116079211235046, 0.31678739190101624, 0.540742814540863, -0.5466631650924683, -0.7026597261428833, -0.7400640845298767, -0.3236905634403229, -0.17710983753204346, -0.3169609308242798, 0.506790041923523, 0.47805777192115784, -0.13826222717761993, 1.0284533500671387, -0.6345216035842896, -0.2602114975452423, -0.1752292513847351, -0.13330090045928955, 0.06134665757417679, 0.8564735651016235, 0.2744995951652527, -0.8192189931869507, -0.3539305329322815, -0.21160848438739777, -0.7113861441612244, 0.01185785885900259, 0.027948278933763504, 0.13148607313632965, 0.09594666957855225, 0.7197661399841309, -0.3624647259712219, 0.38287320733070374, 0.34338802099227905, -0.35863834619522095, 0.6027235388755798, -0.4403906762599945, 0.3137301802635193, -0.8447526097297668, 0.27134212851524353, -0.26667165756225586, -0.12783470749855042, -0.4428798258304596, 0.5115759968757629, 0.6671236157417297, -0.2882949709892273, -0.3710106909275055, 0.6080422401428223, -0.8079771399497986, -0.4050183594226837, -0.3233417868614197, 0.20392850041389465, -0.06776414066553116, 0.38087892532348633, 0.057583265006542206, 1.0244795083999634, 0.42533326148986816, -0.3887389600276947, 0.2814476191997528, 0.19901178777217865, -0.5757614970207214, 0.411384254693985, -0.919647216796875, 0.2334442138671875, 0.01939886063337326, 0.5883122086524963, -1.1781526803970337, -0.25448358058929443, -0.05412483215332031, -0.5544164180755615, 0.5018892288208008, -0.7049140334129333, -0.5741757750511169, -0.3314412832260132, -0.1910334825515747, 0.6797736883163452, 0.8179632425308228, -0.6029978394508362, 0.5247800350189209, -0.029443850740790367, -0.17249226570129395, -0.662560760974884, -0.823007345199585, 0.42348140478134155, 0.026825034990906715, -0.45716771483421326, 0.2604143023490906, -0.13443385064601898, -0.1203952208161354, -0.42950576543807983, -0.1824922412633896, -0.10854522138834, 0.1523473709821701, 0.40855899453163147, 0.4486238360404968, -0.025127407163381577, -0.24339258670806885, -0.03915276378393173, -0.5130335688591003, 0.005434305872768164, -0.23711246252059937, 0.41946473717689514, 0.18895094096660614, -0.24896195530891418, -0.4353034794330597, 0.43491050601005554, 0.13355796039104462, -0.5660711526870728, 0.28061461448669434, 0.23166511952877045, -0.30822446942329407, -0.24840469658374786, -0.8177089095115662, -0.41220349073410034, -0.41357365250587463, 0.6004194021224976, -0.6152298450469971, -1.072561264038086, 0.5382915735244751, -0.21597176790237427, -0.012558202259242535, -0.23738515377044678, 0.2759222984313965, 0.2677030861377716, 0.8137894868850708, 0.33801019191741943, 0.2426816076040268, 0.7922593355178833, -0.5110464096069336, -0.05309459567070007, -1.026868462562561, -0.3078102469444275, -1.0062323808670044, -0.035654615610837936, -0.4655269980430603, -0.706864595413208, 0.11614498496055603, 0.5453347563743591, -0.3326480984687805, 0.9304227828979492, -0.6643493175506592, 0.7305594682693481, 0.41637885570526123, 0.333559513092041, 0.1267109215259552, 0.03313939645886421, 0.04808763414621353, 0.049211714416742325, -0.4602838456630707, -0.380470871925354, 0.7432155013084412, 0.38092684745788574, 0.3601459860801697, 0.2056480497121811, 0.6154534220695496, 0.41211387515068054, 0.130660742521286, -0.6264697909355164, 0.40058937668800354, 0.17846235632896423, -0.47312429547309875, 0.09705859422683716, -0.42835429310798645, -0.39072734117507935, 0.12956379354000092, -0.06136485934257507, -0.5228251814842224, 0.41208624839782715, 0.35082733631134033, -0.22476224601268768, -0.33703386783599854, -0.7007863521575928, 0.9131196737289429, 0.16124647855758667, -0.5103381872177124, -0.38082659244537354, -0.769512414932251, 0.118379607796669, 0.2553464472293854, 0.23621967434883118, 0.21281921863555908, -0.5827205181121826, 0.230059415102005, -0.3305133283138275, 0.44566595554351807, -0.6080943942070007, -0.2649533450603485, 0.26419082283973694, 0.3462851047515869, 1.0052071809768677, 0.6762622594833374, -0.16571573913097382, -0.12139683961868286, -0.2329976111650467, -0.6762651205062866, -0.6606088876724243, 0.6834411025047302, -0.6328049898147583, -0.3398197591304779, -0.10348784178495407, -0.29451993107795715, -0.36239713430404663, 0.020102212205529213, 0.17313654720783234, 0.9648093581199646, 0.09768737852573395, 0.18775075674057007, 0.6970544457435608, -0.20054589211940765, 0.390790194272995, 0.42165085673332214, 0.13194885849952698, -0.7214328646659851, 0.637613832950592, -0.1303519755601883, 0.39307767152786255, 0.540219783782959, -0.3011557161808014, -0.38488277792930603, -0.6973364353179932, -0.4503673315048218, -0.14498163759708405, -0.7390783429145813, -0.527474582195282, -0.8019368648529053, -0.10111164301633835, -0.4241659641265869, -0.34139126539230347, -0.2770923972129822, -0.3864884078502655, -0.04620908573269844, 0.12028581649065018, 0.26251450181007385, 0.36822348833084106, -0.0039122807793319225, -0.06516847759485245, -0.8769659996032715, 0.2516360580921173, 0.3243298828601837, 0.6291963458061218, 0.11432896554470062, -0.5855817794799805, -0.27694466710090637, -0.2085217833518982, 0.15637966990470886, -0.5052831768989563, -0.09182875603437424, -0.23409314453601837, 0.3987483084201813, -0.04673592373728752, 0.02324603870511055, 0.5786293148994446, -0.4704493284225464, 0.7342472076416016, 0.13040457665920258, -0.7240866422653198, 0.7993699312210083, -0.32151511311531067, 0.3607437312602997, 0.9103240966796875, -0.23637433350086212, -0.2934533357620239, -0.449888676404953, -0.3396289348602295, -1.0615812540054321, 0.5930689573287964, 0.24175414443016052, 0.052978698164224625, -0.0870615541934967, 0.6675699949264526, -0.16742831468582153, -0.15399670600891113, -0.4503653943538666, -0.22801072895526886, -0.23801952600479126, 0.3055157959461212, 0.0317123681306839, -0.6292599439620972, 0.10543660819530487, 0.12995289266109467, 0.5955826640129089, -0.17106157541275024, 0.17591595649719238, 0.32504552602767944, -0.3690209686756134, 0.05056421458721161, 0.4106996953487396, 0.692827045917511, 0.8000437021255493, -0.311707466840744, -0.05926050618290901, 0.2566336989402771, -0.39546868205070496, 0.0714106634259224, 0.1941356360912323, -0.06353888660669327, -0.2092932164669037, 0.50064617395401, 0.4434807300567627, 0.2538086473941803, -0.9487245678901672, 0.5832561254501343, -0.2621423900127411, 0.014559517614543438, -0.4564906656742096, 0.31299179792404175, 0.03669820353388786, 0.41031235456466675, 0.6011695861816406, 0.19028472900390625, 0.28282687067985535, -0.5157965421676636, 0.3250170946121216, 0.18853822350502014, -0.6472516059875488, 0.32531511783599854, 0.47942784428596497, 0.2521556615829468, -0.5434189438819885, 0.7440555691719055, -0.20471224188804626, -0.4939810335636139, 1.0690124034881592, 0.4891895353794098, 0.7622039914131165, 0.24080890417099, -0.2856138348579407, 0.9228127002716064, -0.05815527215600014, -0.3824447989463806, 0.5160568356513977, -0.36834320425987244, -0.14464104175567627, -0.6162170171737671, -0.2576823830604553, -0.3428365886211395, -0.5061688423156738, -0.9577293395996094, 0.45150208473205566, -0.3779290020465851, 0.05036593973636627, -0.47389596700668335, 0.46275126934051514, -0.3861635625362396, 0.11313745379447937, -0.07302465289831161, 1.527604103088379, -0.31947100162506104, 0.9495954513549805, 0.7659498453140259, -0.4068043828010559, -0.8041982650756836, 0.07447639107704163, -0.12966175377368927, -0.4652429521083832, 0.3941602110862732, 0.39655929803848267, 0.11499045789241791, 0.07538814097642899, -0.3488520383834839, -0.5359891057014465, 1.3408375978469849, -0.00782750453799963, -0.7363221049308777, 0.06768740713596344, -0.24239273369312286, 0.5003947019577026, -0.4792843461036682, 0.6206167936325073, 0.34729018807411194, 0.558182418346405, 0.2305043637752533, -0.7334967851638794, 0.2977089285850525, -0.3149455189704895, 0.6381027102470398, 0.23779229819774628, -0.48358240723609924, 0.3794114887714386, -0.4782819449901581, 0.007269273046404123, 0.7631640434265137, 0.7888168692588806, 0.6508452892303467, 0.029679985716938972, 0.48648762702941895, 0.21405406296253204, 0.2971494793891907, -0.08692701160907745, 0.9286242127418518, -0.6435071229934692, 0.5678994059562683, 1.2793078422546387, -0.37337568402290344, 1.0417876243591309, 0.23308144509792328, -0.08732083439826965, 0.5126964449882507, 0.4187292754650116, -0.27728694677352905, 0.3685551881790161, 0.4691930115222931, -0.17665638029575348, -0.2986319363117218, -0.33135080337524414, -0.7970966696739197, 0.17435820400714874, 0.0215804111212492, -0.0294919703155756, 0.15358814597129822, -0.17611703276634216, -0.14425835013389587, 0.3736373782157898, 0.021230654790997505, 0.8139827847480774, -0.11604012548923492, -1.0411213636398315, 0.5247721672058105, -0.1476428061723709, 0.7542099356651306, -0.43490439653396606, -0.21832045912742615, -0.5743416547775269, 0.33118778467178345, -0.2673243284225464, -0.6750806570053101, 0.14453716576099396, 0.03351762890815735, -0.3885832130908966, -0.26404646039009094, 0.6582234501838684, -0.4900586009025574, -0.03881968557834625, 0.5997031331062317, 0.3309420347213745, -0.1256583333015442, -0.0032692370004951954, -0.54911208152771, 0.12737658619880676, -0.14414583146572113, -0.11167801171541214, 0.44791972637176514, 0.15449798107147217, 0.27777916193008423, 0.3499956727027893, 0.3542693257331848, -0.034202657639980316, -0.5126341581344604, 0.3410714268684387, 0.7860473394393921, -0.8303172588348389, -0.2828719913959503, -0.4900774359703064, 0.5476825833320618, -0.2263171225786209, -0.26506832242012024, 0.38203176856040955, 1.118752360343933, 0.8236016035079956, -0.11178205907344818, 0.6133747696876526, -0.5102579593658447, 0.5979316830635071, -0.4003145098686218, 0.47263285517692566, -0.47156932950019836, 0.3895130157470703, -0.2170233428478241, -1.1923248767852783, -0.34318816661834717, 0.41273537278175354, 0.17230145633220673, 0.20165883004665375, 0.6983338594436646, 1.215783953666687, 0.09071892499923706, -0.16668154299259186, 0.17567598819732666, 0.052835121750831604, 0.2010984718799591, 0.6361347436904907, 1.0660152435302734, -0.6313204765319824, 0.8120895028114319, -0.17703300714492798, -0.5614842772483826, -0.14074310660362244, -0.8144758939743042, -0.8638554215431213, -0.3670758306980133, -0.4183565080165863, -0.8652166724205017, 0.20249846577644348, 1.0944474935531616, 0.8204300999641418, -0.8239731192588806, -0.2520575225353241, -0.12761060893535614, 0.02082023024559021, -0.35322245955467224, -0.20818449556827545, 0.10662595182657242, -0.6003570556640625, -0.45584195852279663, 0.3601245880126953, 0.3662665784358978, -0.12556396424770355, -0.06241113692522049, -0.24767452478408813, -0.08377125859260559, -0.5042610168457031, 0.42157161235809326, 0.34886762499809265, -0.49656733870506287, -0.23875568807125092, 0.07120498269796371, -0.39474135637283325, 0.10131089389324188, 1.2939913272857666, -0.9668545126914978, 0.061684947460889816, 0.6645849347114563, 0.5042492151260376, 0.1801512986421585, 0.05188440904021263, 0.439126580953598, -0.6525353789329529, 0.20315022766590118, 0.15902839601039886, 0.2263934165239334, 0.12075785547494888, -0.27614742517471313, 0.8392753601074219, 0.05520854890346527, -0.5697938799858093, -0.9231755137443542, 0.32820549607276917, -1.0128785371780396, -0.3779561221599579, 1.3416661024093628, -0.20892100036144257, 0.31529340147972107, -0.23711274564266205, -0.33376142382621765, 0.18688376247882843, -0.5056925415992737, 0.5798224806785583, 0.2525552809238434, 0.14101263880729675, -0.15684454143047333, -0.6467289924621582, 0.6033086180686951, 0.3024580776691437, -0.8674736022949219, 0.4435510039329529, 0.8077431321144104, 0.3091670870780945, 0.0023364939261227846, 0.5162088871002197, -0.21653036773204803, 0.7380405068397522, -0.04465364292263985, 0.07407725602388382, -0.09908660501241684, -0.4655431807041168, -0.3133699297904968, 0.39058253169059753, 0.38365837931632996, 0.3419177234172821 ]
http://arxiv.org/abs/2406.01333v1
http://arxiv.org/pdf/2406.01333v1
Probing Language Models for Pre-training Data Detection
2024-06-03T13:58:04
2024-06-03T13:58:04
Zhenhua Liu, Tong Zhu, Chuanyuan Tan, Haonan Lu, Bing Liu, Wenliang Chen
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have shown their impressive capabilities, while also raising concerns about the data contamination problems due to privacy issues and leakage of benchmark datasets in the pre-training phase. Therefore, it is vital to detect the contamination by checking whether an LLM has been pre-trained on the target texts. Recent studies focus on the generated texts and compute perplexities, which are superficial features and not reliable. In this study, we propose to utilize the probing technique for pre-training data detection by examining the model's internal activations. Our method is simple and effective and leads to more trustworthy pre-training data detection. Additionally, we propose ArxivMIA, a new challenging benchmark comprising arxiv abstracts from Computer Science and Mathematics categories. Our experiments demonstrate that our method outperforms all baselines, and achieves state-of-the-art performance on both WikiMIA and ArxivMIA, with additional experiments confirming its efficacy (Our code and dataset are available at https://github.com/zhliu0106/probing-lm-data).
[ -0.5150015950202942, -0.8271116018295288, 0.5664623379707336, -0.07864397764205933, -0.3829086720943451, -0.01784197799861431, -0.15505342185497284, -0.2647278308868408, -0.1669292449951172, 0.6076022982597351, -0.5432413816452026, -0.6521456837654114, -0.7256143093109131, 0.1675010770559311, -0.8596079349517822, 0.8056273460388184, -0.1856849044561386, -0.1815669983625412, -0.41306477785110474, -0.2271958589553833, 0.20423433184623718, -0.5982916951179504, -0.4459150731563568, -0.36325258016586304, 0.4780595004558563, 0.17454686760902405, 0.292172372341156, 0.53890460729599, 0.38436976075172424, 0.3436533510684967, -0.06146765127778053, 0.27198326587677, -0.5895243287086487, 0.14450141787528992, -0.010631170123815536, -0.653476893901825, -0.19931603968143463, 0.06877618283033371, 0.9667931795120239, 0.5374881625175476, 0.21258394420146942, 0.5076125860214233, 0.18792791664600372, 0.5867415070533752, -0.7990357875823975, -0.16192172467708588, -0.8130629658699036, -0.0863824412226677, -0.47593867778778076, -0.3934638500213623, -0.44236645102500916, -0.26620355248451233, 0.05758224427700043, -0.24645239114761353, 0.147355318069458, 0.06233179196715355, 1.0091941356658936, 0.2711816132068634, -0.5460081100463867, -0.19418294727802277, -0.5234298706054688, 0.6895095705986023, -0.6735270023345947, 0.6023193597793579, 0.4829346239566803, -0.08505652099847794, -0.31864219903945923, -0.7266110181808472, -0.7927355766296387, -0.4814213514328003, -0.2656567394733429, -0.35239338874816895, -0.5248910784721375, -0.325030654668808, 0.3524264097213745, 0.39730018377304077, -0.6870006918907166, 0.1149803102016449, 0.01399269513785839, -0.3258206248283386, 0.21875201165676117, -0.15433160960674286, 0.508918821811676, 0.02145039476454258, -0.3506704866886139, -0.2642589807510376, -1.012404203414917, -0.07174285501241684, 0.822811484336853, 0.17836178839206696, -0.12124308943748474, 0.5621414184570312, -0.1384875476360321, 0.6111158728599548, -0.335401326417923, 0.17117668688297272, 0.37745237350463867, -0.47735515236854553, -0.2919751703739166, -0.11574474722146988, 0.9905254244804382, -0.21386763453483582, 0.46648579835891724, -0.09696251899003983, -0.23089611530303955, -0.10520517826080322, -0.0035183525178581476, -1.0181697607040405, -0.2593754231929779, 0.3467528820037842, -0.2535172402858734, -0.5091481804847717, -0.31063130497932434, -0.45436394214630127, -0.366427481174469, -0.23708125948905945, 0.6102522611618042, -0.4286050498485565, -0.5386320352554321, 0.023723503574728966, 0.4957945942878723, 0.23532046377658844, 0.014886404387652874, -0.6711146831512451, 0.05826130136847496, 0.6880158185958862, 0.5743662714958191, -0.20830366015434265, -0.3549870550632477, -0.7218393683433533, -0.2048778235912323, -0.3298652768135071, 0.985951840877533, -0.5263966917991638, -0.2142835408449173, 0.147133469581604, -0.1268216371536255, 0.010982166975736618, -0.6720324158668518, 0.4406076967716217, -0.6807779669761658, 0.06899403780698776, -0.10527220368385315, -0.7014715671539307, 0.04118956997990608, 0.7724992632865906, -0.6717631816864014, 1.3910542726516724, 0.02280203439295292, -1.0460925102233887, 0.22405840456485748, -0.4447824954986572, -0.17780378460884094, 0.030952254310250282, -0.2744012176990509, -0.6845795512199402, -0.16169434785842896, 0.4347270429134369, 0.5366938710212708, -0.13598710298538208, 0.23926329612731934, -0.3487735986709595, -0.4122482240200043, 0.5923901796340942, -0.45831239223480225, 0.7457870244979858, 0.12373679876327515, -0.14570307731628418, 0.16365967690944672, -0.8522821664810181, 0.22921226918697357, 0.2521076798439026, -0.33036860823631287, -0.4957278072834015, -0.1647653430700302, -0.2720104455947876, -0.21547693014144897, 0.28530851006507874, -0.3562203347682953, 0.26102274656295776, -0.3370223641395569, 0.047250330448150635, 0.6571207642555237, -0.031868066638708115, 0.30154427886009216, -0.07555525749921799, 0.6097238063812256, 0.24653659760951996, 0.006473470013588667, -0.5417792201042175, -0.17679370939731598, -0.9097673296928406, -0.20846830308437347, 0.47411873936653137, 0.3352920711040497, -0.7842702865600586, 0.5716121196746826, -0.38732293248176575, -0.6024487018585205, -0.5283541083335876, 0.2216380089521408, 0.5552477240562439, 0.5311924815177917, 0.3166370093822479, -0.08772148936986923, -0.34908974170684814, -0.847719132900238, -0.6736723780632019, -0.13008487224578857, -0.031248925253748894, 0.37909600138664246, 0.7417118549346924, -0.4574151635169983, 0.7326262593269348, -0.17544932663440704, -0.09244255721569061, -0.005862594582140446, 0.4297666549682617, 0.19027908146381378, 0.4312059283256531, 0.43972212076187134, -0.7229637503623962, -0.505639910697937, -0.06680091470479965, -0.5661623477935791, -0.25089550018310547, 0.1690807044506073, -0.1025816798210144, -0.03959941491484642, 0.7455382347106934, -0.25254735350608826, 0.41696226596832275, 0.7302699089050293, -0.1114322766661644, 0.5073666572570801, -0.05218915268778801, 0.326548308134079, -0.9049423336982727, 0.3902612626552582, -0.07557369023561478, -0.2925342321395874, -0.7428449988365173, 0.03472123667597771, 0.3935438394546509, 0.023322314023971558, -0.5680372714996338, 0.5667067170143127, -0.6263641119003296, -0.10064329952001572, -0.3423581123352051, 0.053224824368953705, -0.09207779914140701, 0.15144440531730652, -0.0699789896607399, 0.9358486533164978, 0.6323062181472778, -0.5795401930809021, 0.05429365485906601, 0.007159413769841194, -0.8353732228279114, 0.16242744028568268, -0.5214239358901978, 0.48600834608078003, -0.08661535382270813, 0.05875479057431221, -1.1128746271133423, 0.03888345882296562, 0.3601655662059784, -0.6795764565467834, 0.19463804364204407, -0.4848773777484894, -0.9417927861213684, 0.10518837720155716, -0.11860881745815277, 0.710987389087677, 0.20816969871520996, -0.6832311749458313, 0.5823739171028137, 0.21860364079475403, 0.09750017523765564, -0.9254359006881714, -0.26169636845588684, -0.02147902175784111, -0.2984045743942261, -0.43054646253585815, 0.12942519783973694, -0.041231121867895126, -0.2584605813026428, -0.09675101935863495, -0.0647178590297699, 0.028129398822784424, 0.28489840030670166, 0.06984467804431915, 0.20621968805789948, -0.23818819224834442, -0.02315974049270153, 0.01587643474340439, -0.0351751372218132, 0.2629817724227905, 0.022051941603422165, 1.0094646215438843, -0.19192562997341156, -0.49329936504364014, -0.4963967204093933, 0.02726862207055092, 0.43329373002052307, -0.7036398649215698, 0.6663196086883545, 0.6536287665367126, -0.43803873658180237, -0.2767590582370758, -0.745901882648468, -0.23974084854125977, -0.5684978365898132, 0.4059273302555084, -0.3354348838329315, -0.6623275876045227, 0.484358012676239, -0.3796701729297638, -0.26213839650154114, 0.10604489594697952, 0.4388691782951355, 0.11231113225221634, 0.9164698123931885, 0.5914012789726257, -0.17091113328933716, 0.48235878348350525, -0.2815563976764679, 0.24571070075035095, -0.7210134267807007, -0.05534632131457329, -0.8048319816589355, -0.0521199069917202, -0.3042815625667572, -0.29681867361068726, 0.2734927833080292, 0.04613500460982323, -0.10105415433645248, 0.26280346512794495, -0.2429613620042801, 0.8455183506011963, 0.3745110034942627, -0.014117219485342503, 0.41548267006874084, 0.02400769293308258, -0.04124430939555168, 0.03728577494621277, -0.20000192523002625, -0.5664286613464355, 1.3335505723953247, 0.3648684620857239, 0.6398192048072815, -0.1190502941608429, 0.8895366191864014, -0.00012754861381836236, 0.5761496424674988, -0.5758393406867981, 0.5901641249656677, 0.025308528915047646, -0.6181545257568359, -0.22747737169265747, -0.6174052357673645, -1.0888804197311401, 0.23933401703834534, -0.3726460337638855, -0.7156739234924316, 0.1239170953631401, 0.18400727212429047, -0.07007117569446564, 0.3446853458881378, -0.51924729347229, 0.8031714558601379, -0.3944561183452606, -0.45184773206710815, 0.045133236795663834, -0.2627807855606079, 0.4723999500274658, -0.30123576521873474, 0.2604249119758606, -0.1546914279460907, 0.014510237611830235, 0.7801909446716309, -0.050227295607328415, 0.6337707042694092, 0.08895467221736908, -0.3936783969402313, 0.06768091022968292, 0.27614322304725647, 0.6631154417991638, 0.022403335198760033, 0.0808323472738266, 0.05893631651997566, 0.0640060156583786, -0.23983977735042572, -0.4523670971393585, 0.6963109374046326, -0.6322733759880066, -0.41002142429351807, -0.48797401785850525, -0.4048878252506256, -0.35910725593566895, 0.5984053611755371, 0.38245639204978943, 0.24645094573497772, -0.05531853437423706, 0.47016778588294983, 0.9636679887771606, -0.13955114781856537, 0.13955242931842804, 0.7303244471549988, -0.4218567907810211, 0.09902660548686981, 0.8179270029067993, -0.14888229966163635, 0.08735182881355286, 0.4612113833427429, 0.23774923384189606, -0.3152201771736145, -1.0758795738220215, -0.25040900707244873, 0.3075723648071289, -0.6166912913322449, -0.15424486994743347, -0.6957504153251648, -0.14941149950027466, -0.4676567018032074, 0.5016717314720154, -0.6188398599624634, 0.314289927482605, -0.4387217164039612, 0.11986956000328064, 0.21806380152702332, 0.46049803495407104, 0.3112174868583679, 0.3890380561351776, -0.8335428833961487, 0.17234645783901215, 0.12080444395542145, 0.21011130511760712, -0.06938726454973221, -0.542041540145874, -0.17619004845619202, 0.0067882901057600975, 0.026584725826978683, -0.7456725239753723, 0.4676966667175293, -0.025887154042720795, 0.6466746926307678, 0.7478081583976746, 0.009809713810682297, 0.4235696494579315, -0.4771239459514618, 0.38400647044181824, -0.19712337851524353, -0.9432647228240967, 0.6215211153030396, -0.4517613351345062, 0.10506406426429749, 0.6834846138954163, 0.746186375617981, -0.23418349027633667, -0.35380256175994873, -0.42891010642051697, -0.7443192005157471, 0.45250967144966125, 0.1754426807165146, 0.28339001536369324, 0.26343122124671936, 0.5971832275390625, -0.018902940675616264, 0.24718628823757172, -0.9643756747245789, -0.3863743841648102, 0.17790576815605164, 0.014070509001612663, -0.10373616963624954, -0.3897038996219635, -0.15325698256492615, -0.114238440990448, 0.4731162190437317, -0.009719341062009335, -0.03789588809013367, -0.06394261866807938, -0.3705434203147888, 0.16705702245235443, 0.22093814611434937, 0.4575221538543701, 0.6379671096801758, -0.23906554281711578, 0.4101160764694214, -0.0016831838293001056, -0.6957302093505859, 0.20460781455039978, 0.08534146845340729, 0.06130369007587433, -0.15181343257427216, 0.5878516435623169, 0.4384497106075287, 0.12012416869401932, -0.8186584115028381, 0.6983643174171448, -0.21903182566165924, -0.13001765310764313, -0.3893655836582184, 0.15833011269569397, 0.14303167164325714, 0.1347273290157318, 0.3303951025009155, -0.2782241106033325, 0.09045598655939102, -0.5875412821769714, 0.2738184630870819, 0.4233376979827881, -0.17563217878341675, -0.2949914038181305, 0.33783048391342163, -0.026788365095853806, -0.27220308780670166, 0.629451334476471, -0.23570014536380768, -0.7088677287101746, 0.4296453595161438, 0.440917044878006, 0.5516940355300903, -0.31358686089515686, -0.16633640229701996, 0.16251477599143982, 0.5248158574104309, 0.07672464102506638, 0.21959097683429718, -0.13428346812725067, -1.108689546585083, -0.35135751962661743, -0.4840984642505646, -0.35568109154701233, 0.7344938516616821, -0.7918004989624023, 0.3234489858150482, -0.07201715558767319, 0.0549127459526062, -0.02584206871688366, 0.058793481439352036, -0.6901365518569946, 0.2623746693134308, 0.15489462018013, 0.827122151851654, -0.9594472646713257, 1.1505346298217773, 0.4926767647266388, -0.07196707278490067, -0.49394360184669495, 0.22500663995742798, -0.18660570681095123, -1.0046802759170532, 0.7597001194953918, 0.3595990836620331, -0.36281025409698486, 0.17148452997207642, -0.6889708638191223, -0.8346939086914062, 0.7957277297973633, 0.556319534778595, -0.6091302633285522, 0.046557389199733734, 0.262735515832901, 0.3902963697910309, -0.19217181205749512, 0.24786122143268585, 0.6899070143699646, 0.5009573101997375, -0.33578699827194214, -0.5306693315505981, -0.06641394644975662, -0.5188234448432922, -0.4521578848361969, 0.2748695909976959, -0.2047058790922165, 0.974186360836029, 0.07502491772174835, -0.22863224148750305, 0.10917705297470093, 0.6772651076316833, 0.45325538516044617, 0.22815363109111786, 0.8658053278923035, 0.6097527742385864, 0.76384037733078, -0.11081472039222717, 0.8336157202720642, -0.4331941306591034, 0.3050779402256012, 1.0358248949050903, -0.3121192455291748, 0.9429131746292114, 0.577339231967926, -0.29102781414985657, 0.27889713644981384, 0.5831891894340515, -0.05703703314065933, 0.36786454916000366, 0.5592702031135559, -0.46706193685531616, -0.31639420986175537, 0.05226485803723335, -0.5527668595314026, 0.5152581334114075, 0.5142224431037903, -0.3420783579349518, -0.275604248046875, 0.0461045503616333, 0.29272395372390747, 0.10505186021327972, -0.0924566462635994, 0.5961802005767822, -0.15447084605693817, -0.6502596735954285, 0.648780882358551, -0.10616209357976913, 0.7221255898475647, -0.6602420210838318, 0.08490249514579773, -0.31197884678840637, 0.2989797294139862, -0.050841402262449265, -0.563376784324646, -0.03970078006386757, 0.10450134426355362, 0.25532516837120056, -0.13874894380569458, 0.8121681809425354, -0.4888681471347809, -0.4074327349662781, 0.39299827814102173, 0.5815855860710144, 0.276767760515213, -0.48311084508895874, -0.45643696188926697, 0.4256632626056671, -0.0341692715883255, -0.45399776101112366, 0.5532657504081726, 0.34277021884918213, 0.20648519694805145, 0.8028427362442017, 0.8086480498313904, 0.08307323604822159, 0.1029265895485878, -0.011931069195270538, 1.0506768226623535, -0.2020881474018097, -0.30352509021759033, -0.9387907385826111, 0.24546484649181366, 0.03288207948207855, -0.38346657156944275, 0.872592568397522, 0.8092039823532104, 0.9317575097084045, 0.19043993949890137, 0.6353859901428223, 0.5648157596588135, 0.5757856965065002, -0.5961626172065735, 1.1530377864837646, -0.6146440505981445, 0.3899301290512085, -0.11343161016702652, -0.8205148577690125, -0.30410557985305786, 0.46849390864372253, -0.36767473816871643, 0.02814449556171894, 0.6217340230941772, 1.0012167692184448, -0.35502541065216064, -0.09520188719034195, 0.12264038622379303, 0.20150785148143768, 0.4790433943271637, 0.2250155210494995, 1.120287537574768, -0.38390636444091797, 0.7725210785865784, -0.3691522181034088, -0.2573641538619995, -0.0883004441857338, -1.1837955713272095, -1.3147907257080078, -0.6056571006774902, -0.3778076469898224, -0.39426666498184204, -0.09391957521438599, 0.4663912057876587, 0.5625436305999756, -0.765034019947052, -0.11275803297758102, 0.012311842292547226, 0.03846020996570587, 0.17936751246452332, -0.13778004050254822, 0.6311100721359253, -0.2887174189090729, -0.8973476886749268, 0.6333379149436951, -0.16437409818172455, 0.16166876256465912, -0.4292590916156769, 0.3111233115196228, -0.23755668103694916, 0.08634482324123383, 0.34669530391693115, 0.23822303116321564, -0.31931212544441223, -0.16663871705532074, -0.003947526682168245, -0.015067121013998985, -0.09238379448652267, 0.980410635471344, -0.7194398641586304, 0.3680115044116974, 0.5951976180076599, 0.7335827946662903, 0.6052625775337219, -0.17223553359508514, 0.2229204922914505, -0.8033244609832764, 0.2023453712463379, 0.2543955147266388, 0.465878963470459, 0.27690309286117554, -0.2962532043457031, 0.24326424300670624, -0.09450995177030563, -0.5768762826919556, -1.5042356252670288, 0.1572868525981903, -0.6624296307563782, -0.08237417787313461, 1.062794804573059, -0.31701382994651794, -0.31735485792160034, 0.032612577080726624, 0.12014255672693253, 0.2566681504249573, 0.07770398259162903, 0.7064083218574524, 0.7193905115127563, 0.10196137428283691, -0.13595044612884521, -0.5694394111633301, 0.49594512581825256, 0.42076319456100464, -0.9998611807823181, 0.11457885801792145, 0.03156019747257233, 0.40432336926460266, 0.1212933212518692, 0.5160312056541443, -0.2630190849304199, 0.044288765639066696, -0.21379265189170837, -0.06400036811828613, -0.28413090109825134, -0.29619985818862915, -0.20633478462696075, 0.012908908538520336, -0.06864139437675476, -0.28976044058799744 ]
http://arxiv.org/abs/2406.06567v1
http://arxiv.org/pdf/2406.06567v1
DHA: Learning Decoupled-Head Attention from Transformer Checkpoints via Adaptive Heads Fusion
2024-06-03T13:28:43
2024-06-03T13:28:43
Yilong Chen, Linhao Zhang, Junyuan Shang, Zhenyu Zhang, Tingwen Liu, Shuohuan Wang, Yu Sun
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) with billions of parameters demonstrate impressive performance. However, the widely used Multi-Head Attention (MHA) in LLMs incurs substantial computational and memory costs during inference. While some efforts have optimized attention mechanisms by pruning heads or sharing parameters among heads, these methods often lead to performance degradation or necessitate substantial continued pre-training costs to restore performance. Based on the analysis of attention redundancy, we design a Decoupled-Head Attention (DHA) mechanism. DHA adaptively configures group sharing for key heads and value heads across various layers, achieving a better balance between performance and efficiency. Inspired by the observation of clustering similar heads, we propose to progressively transform the MHA checkpoint into the DHA model through linear fusion of similar head parameters step by step, retaining the parametric knowledge of the MHA checkpoint. We construct DHA models by transforming various scales of MHA checkpoints given target head budgets. Our experiments show that DHA remarkably requires a mere 0.25\% of the original model's pre-training budgets to achieve 97.6\% of performance while saving 75\% of KV cache. Compared to Group-Query Attention (GQA), DHA achieves a 5$\times$ training acceleration, a maximum of 13.93\% performance improvement under 0.01\% pre-training budget, and 4\% relative improvement under 0.05\% pre-training budget.
[ -0.4355655312538147, -0.4957423210144043, 0.5306504368782043, 0.012152494862675667, -0.4692271947860718, 0.05346280336380005, -0.10953684896230698, -0.36056044697761536, 0.43645262718200684, 0.5786782503128052, -0.8958402276039124, -0.158405140042305, -0.619651198387146, -0.03654590621590614, -0.1636822372674942, 0.8476275205612183, 0.16900046169757843, -0.28698673844337463, -0.008218116126954556, -0.4865906834602356, -0.8394573330879211, -0.22775742411613464, -0.8618613481521606, -0.17960481345653534, 0.8938331604003906, 0.1364509016275406, 0.4355192482471466, 0.8404614329338074, 0.5293203592300415, 0.3261342942714691, -0.1408465951681137, 0.1628056913614273, -0.8160032033920288, -0.0030401204712688923, -0.4440782070159912, -0.4338439404964447, -0.5557631254196167, -0.27032166719436646, 0.8340092301368713, 0.7130571007728577, -0.2815774083137512, 0.050632622092962265, 0.19468289613723755, 1.0397698879241943, -0.8924562335014343, 0.3532927632331848, -1.0276095867156982, -0.1579897403717041, -0.04650310054421425, 0.009925531223416328, -0.36473485827445984, -0.20948003232479095, 0.3757326900959015, -0.5000065565109253, 0.19024793803691864, -0.25002506375312805, 0.725709855556488, 0.6037946343421936, -0.13777686655521393, 0.3423689901828766, -0.5756316184997559, 1.0631043910980225, -0.3692465126514435, 0.4954279959201813, 0.09935654699802399, 0.3022550344467163, -0.021253552287817, -0.5671694874763489, -0.6417839527130127, 0.40176165103912354, 0.032991111278533936, 0.15501521527767181, -0.4782087206840515, 0.13512194156646729, 0.08620940893888474, 0.4678995609283447, -0.30198338627815247, -0.00247743958607316, -0.3909214437007904, -0.07510552555322647, 0.3461654782295227, 0.1342746615409851, 0.32231029868125916, 0.2212366759777069, -0.40508079528808594, -0.5061581134796143, -0.7479081749916077, -0.09657400846481323, -0.36040714383125305, 0.47200122475624084, -0.1768130511045456, 0.07174467295408249, -0.47068506479263306, 0.8245242238044739, 0.515800952911377, -0.2737811505794525, 0.32453733682632446, -0.3662714958190918, -0.48866337537765503, 0.02275388315320015, 0.4132487177848816, 0.22208040952682495, 0.12684357166290283, -0.3777380585670471, -0.1701134294271469, 0.31288382411003113, 0.6448709964752197, -0.6442965865135193, -0.21564613282680511, 0.29049667716026306, -0.2824442684650421, -0.04745011031627655, -0.32660478353500366, -0.8774256706237793, -0.012244919314980507, -0.4438256025314331, 0.5695352554321289, -0.13905088603496552, -0.31212812662124634, 0.07336326688528061, 0.0009837935212999582, 0.46414074301719666, 0.3083353638648987, -1.0123313665390015, -0.05691082403063774, 0.45525500178337097, 0.7557061314582825, -0.4586219787597656, -0.6434363722801208, -0.6077044606208801, 0.47743940353393555, -0.08800629526376724, 0.9455506205558777, -0.4278363585472107, -0.12084630876779556, -0.07385207712650299, 0.05685165524482727, -0.6280845403671265, -0.7619733214378357, 0.3117700219154358, -0.9969022870063782, 0.05381042882800102, -0.7130066752433777, -0.1235455647110939, -0.552335798740387, 0.32268381118774414, -0.8079955577850342, 0.4474236071109772, 0.3783048987388611, -0.8430259227752686, 0.38241255283355713, -0.6075572371482849, -0.332475483417511, 0.14223428070545197, -0.1251041293144226, -0.5403853058815002, -0.12317352741956711, 0.5242345929145813, 0.2371966689825058, -0.2759929895401001, 0.13688695430755615, -0.2936583161354065, -0.340913861989975, -0.13689622282981873, 0.029735198244452477, 0.8360301852226257, -0.032698437571525574, -0.4304673373699188, 0.49786487221717834, -0.5768153667449951, -0.19594158232212067, 0.02908606268465519, -0.4527662396430969, -0.0956847220659256, -0.15795950591564178, -0.24680279195308685, 0.2783260941505432, 0.07408220320940018, -0.12134744226932526, -0.13037146627902985, -0.5519763827323914, 0.3916574716567993, 0.803590714931488, 0.14906224608421326, 0.34292009472846985, -0.5408721566200256, 0.4388839304447174, 0.4198054373264313, -0.203311949968338, -0.3081232011318207, -0.17552079260349274, -1.0152124166488647, -0.5327472686767578, 0.08912889659404755, 0.2946290969848633, -0.6222990155220032, 0.6462696194648743, -0.44582679867744446, -0.24971401691436768, -0.6783273220062256, 0.17548982799053192, 0.5612139105796814, 0.6251541972160339, 0.4664566218852997, -0.4864397346973419, -0.4630201756954193, -1.0466607809066772, -0.3258618712425232, -0.1458621323108673, -0.20959162712097168, 0.14030779898166656, 0.13264520466327667, -0.5620205998420715, 0.8345971703529358, -0.47194769978523254, -0.6176621317863464, -0.36386263370513916, -0.043934423476457596, -0.005803377833217382, 0.4177219569683075, 0.338601678609848, -0.4761514365673065, -0.3471595346927643, 0.02688414789736271, -0.5726595520973206, 0.056322790682315826, -0.1677394062280655, -0.3880138099193573, 0.04382263869047165, 0.34103864431381226, -0.7861873507499695, 0.07978816330432892, 0.5836924910545349, -0.062205471098423004, 0.362403929233551, 0.045490946620702744, 0.1631413847208023, -1.1284364461898804, 0.1793420910835266, -0.09959465265274048, -0.2183196097612381, -0.6214956045150757, 0.4969475567340851, 0.07684749364852905, -0.15691064298152924, -0.5645797252655029, 0.3025793135166168, -0.5854209065437317, -0.08886396884918213, -0.6915690898895264, 0.2673889398574829, -0.07498253136873245, 1.215570092201233, -0.11636722087860107, 0.7484131455421448, 0.7131617665290833, -0.9387661218643188, 0.09952089190483093, 0.3690876364707947, -0.24764905869960785, 0.6535411477088928, -0.6251559853553772, 0.38288289308547974, -0.2795144021511078, 0.3773067593574524, -0.9949846863746643, -0.3669404685497284, 0.19713261723518372, -0.06516023725271225, 0.3547958433628082, 0.04086919128894806, -0.10826089978218079, -0.09523192793130875, -0.26424312591552734, 0.8757238388061523, 0.6003822684288025, -0.739128828048706, 0.848103404045105, 0.8927255272865295, -0.14520448446273804, -0.42249539494514465, -0.3935575783252716, 0.013913121074438095, -0.39186105132102966, -0.4386986494064331, 0.6118568778038025, 0.26677533984184265, -0.07977081835269928, -0.10374505072832108, -0.19538356363773346, -0.17120316624641418, -0.2247944325208664, -0.016901660710573196, 0.11421257257461548, -0.08943136036396027, 0.13894635438919067, 0.2645733952522278, -0.21215194463729858, 0.10856854915618896, -0.3753111958503723, 0.5146300196647644, 0.17054259777069092, -0.12253786623477936, -0.7007225155830383, 0.3690546154975891, 0.9700658917427063, -0.4548937976360321, 0.9307728409767151, 0.3548811972141266, -0.6339746713638306, -0.02824748493731022, -0.7326517701148987, -0.45136427879333496, -0.48864299058914185, 0.47758933901786804, -0.27429020404815674, -0.7913770079612732, 0.6227854490280151, 0.025967249646782875, 0.3071972131729126, 0.5711226463317871, 0.8711572289466858, 0.15531468391418457, 0.6499255299568176, 0.7639150023460388, -0.4165361821651459, 0.5616006851196289, 0.062162380665540695, 0.08197009563446045, -0.9292914867401123, -0.15991583466529846, -0.3000224828720093, -0.47306033968925476, -0.3086147904396057, -0.6345382332801819, 0.5619314908981323, -0.07275491207838058, -0.2101612091064453, 0.4635884463787079, -0.4384625256061554, 0.6314846873283386, 0.49323320388793945, 0.4268650412559509, 0.11101476103067398, 0.01573243737220764, 0.24839003384113312, 0.054839249700307846, -0.6574772596359253, 0.06413428485393524, 0.8831543326377869, 0.34633058309555054, 0.6162199378013611, -0.003260392928496003, 0.49544617533683777, 0.10455552488565445, 0.06887301057577133, -0.7189365029335022, 0.5688856840133667, 0.09156418591737747, -0.1957380175590515, -0.362665593624115, -0.40576785802841187, -0.9867165088653564, 0.6586967706680298, 0.15044954419136047, -0.633358895778656, 0.26997512578964233, 0.3175852596759796, -0.5521888136863708, 0.19271859526634216, -0.5607900023460388, 0.9178400635719299, 0.4296369254589081, -0.21585845947265625, -0.7735110521316528, -0.7005472183227539, 0.5611655712127686, -0.3570057153701782, -0.14938277006149292, -0.051161766052246094, 0.33287784457206726, 1.0252883434295654, 0.07524000108242035, 0.9454147815704346, -0.21654635667800903, -0.17052367329597473, 0.2713026702404022, -0.2091166377067566, 0.7775759100914001, -0.25751882791519165, 0.4609347879886627, 0.19511443376541138, -0.2359297275543213, -0.46595391631126404, -0.512226402759552, 0.7427964210510254, -0.6966823935508728, -0.7975497245788574, -0.09395116567611694, -0.9111964702606201, -0.3981475234031677, 0.39578548073768616, -0.15199023485183716, 0.17305445671081543, 0.08221431821584702, 0.13909226655960083, 0.9813144207000732, -0.07938248664140701, 0.34909185767173767, 0.41847363114356995, 0.10308458656072617, -0.5560911893844604, 0.7633625864982605, -0.14447569847106934, 0.5149024128913879, 0.6390335559844971, 0.0775788202881813, -0.3318614363670349, -0.4300650954246521, -0.3563424050807953, 0.44151026010513306, -0.7287051677703857, -0.2663455605506897, -1.1310304403305054, -0.1797589808702469, -0.44442883133888245, -0.013722803443670273, -0.4526001513004303, -0.18440093100070953, -0.1069512590765953, 0.03179017826914787, 0.10032008588314056, -0.002402692334726453, 0.11357379704713821, 0.5251386761665344, -0.8484084010124207, 0.6555669903755188, 0.7852954268455505, 0.0882626324892044, 0.3194297254085541, -0.7031221985816956, -0.30434709787368774, 0.09134076535701752, -0.4695791006088257, -0.776207685470581, 0.28831052780151367, 0.07060515880584717, 0.5123631358146667, 0.6196898221969604, 0.16432678699493408, 0.9766897559165955, -0.4950907528400421, 0.3257175087928772, 0.15721267461776733, -0.9327448606491089, 0.3605040907859802, -0.4064766466617584, 0.7568826079368591, 0.7443310022354126, 0.09399694204330444, -0.4250297546386719, -0.5124865174293518, -0.26459652185440063, -0.6679753661155701, 0.9585273265838623, 0.06263861805200577, -0.01820007711648941, 0.18272213637828827, 0.338188499212265, -0.1405797302722931, -0.018237564712762833, -0.6747846603393555, -0.07382392138242722, 0.22085654735565186, -0.08383230119943619, 0.05332596227526665, -0.3297373056411743, -0.3896869122982025, -0.2820380926132202, 0.5383533239364624, -0.24111340939998627, 0.28305602073669434, -0.06496381759643555, -0.18376217782497406, -0.23872770369052887, -0.020680924877524376, 0.6224733591079712, 1.0425610542297363, -0.15086732804775238, 0.08306749910116196, 0.4335821270942688, -0.38283592462539673, 0.11690709739923477, -0.15688994526863098, -0.029112599790096283, -0.38194119930267334, 0.26187849044799805, 0.9125833511352539, 0.48072904348373413, -0.7299829125404358, 0.19713380932807922, -0.002601091517135501, -0.08994074910879135, 0.19351685047149658, 0.1051221489906311, 0.293337881565094, 0.2719298005104065, 0.2461874932050705, 0.028412114828824997, -0.037225812673568726, -0.3984023332595825, 0.43854936957359314, 0.5600979328155518, -0.37410762906074524, -0.46837514638900757, 0.6754705309867859, 0.40896886587142944, -0.029449529945850372, 0.4868040382862091, 0.17099414765834808, -0.5801023840904236, 0.3909682333469391, 0.5012224912643433, 1.4137358665466309, -0.5605992674827576, -0.12894457578659058, 0.45336124300956726, 0.29148975014686584, 0.015975123271346092, -0.0782548263669014, -0.25130924582481384, -0.7359258532524109, -0.5113254189491272, -0.7161502838134766, -0.37948739528656006, 0.22799263894557953, -0.7703697681427002, 0.15512555837631226, -0.3426301181316376, 0.15837576985359192, -0.06160110980272293, -0.3449433743953705, -0.5526173114776611, 0.30585992336273193, -0.1068592295050621, 0.4453745484352112, -0.8094326257705688, 0.8995256423950195, 0.4706241190433502, -0.20941996574401855, -0.37585899233818054, 0.4292284846305847, -0.15918630361557007, -0.9828598499298096, 0.301205039024353, 0.4707805812358856, -0.3801458179950714, 0.10789843648672104, 0.08721406012773514, -0.9588730931282043, 1.003570795059204, 0.5967404842376709, -0.7356977462768555, -0.28965646028518677, -0.02906401827931404, 0.2429182529449463, -0.20992805063724518, -0.21346868574619293, 0.8113783001899719, 0.07490643113851547, 0.15653644502162933, -0.9024285078048706, 0.2538837790489197, 0.2938210666179657, 0.005009994376450777, 0.21827493607997894, -0.9348389506340027, 0.9339079260826111, -0.2677059471607208, -0.8482538461685181, -0.5560137629508972, 0.8291531205177307, 0.4650942087173462, -0.023377440869808197, 0.7658160328865051, 0.8344060182571411, 0.4830065071582794, 0.19061149656772614, 0.7624168395996094, -0.3925715684890747, 0.3184657096862793, 0.9767512083053589, -0.3250179588794708, 0.8125633597373962, 0.7428585886955261, -0.34348902106285095, 0.42973989248275757, 0.4678448438644409, 0.49918532371520996, 0.9656878113746643, -0.017564665526151657, -0.4310656785964966, -0.31995388865470886, 0.0792110338807106, -0.4168032109737396, 0.4091981053352356, 0.011315539479255676, -0.24168284237384796, -0.41827192902565, 0.04916955158114433, -0.2125866413116455, -0.15489669144153595, -0.3935413360595703, 1.1374789476394653, 0.05571707338094711, -1.0007268190383911, 0.8453968167304993, 0.006473267916589975, 0.3955209255218506, -0.5426363945007324, 0.11825893074274063, -0.4283466935157776, 0.6945379376411438, 0.14336100220680237, -0.14310410618782043, 0.605962872505188, -0.2775910198688507, -0.6470916271209717, 0.054910048842430115, 0.47137731313705444, -0.6718725562095642, -0.32739949226379395, 0.2819594442844391, 0.19922633469104767, -0.04849124699831009, -0.5252519845962524, -0.5670101046562195, 0.37511005997657776, 0.12154670804738998, 0.11907077580690384, 0.7196646332740784, 0.11459064483642578, 0.10335217416286469, 0.6441872119903564, 0.5397484302520752, -0.26813840866088867, 0.005943063646554947, -0.05130505561828613, 1.2149748802185059, -0.7707400321960449, -0.9069358110427856, -0.8794789910316467, 0.27839037775993347, 0.33415886759757996, 0.012565763667225838, 0.38494250178337097, 0.16165867447853088, 0.877894401550293, -0.1891138255596161, 0.5895547866821289, 0.4455069899559021, 0.5815352201461792, -0.6875801682472229, 0.9050363898277283, -0.42036494612693787, -0.050547290593385696, -0.19969318807125092, -1.1535990238189697, -0.10998617857694626, 0.4387553632259369, 0.2535189986228943, 0.09667035937309265, 0.7294354438781738, 0.721815824508667, -0.1536986529827118, -0.2394554316997528, 0.3332034647464752, -0.035683728754520416, 0.4932316541671753, 1.1397221088409424, 0.35093945264816284, -0.38969290256500244, 0.4584677219390869, -0.13005836308002472, -0.44183963537216187, -0.08419603109359741, -0.5635493397712708, -0.9789228439331055, -0.512807309627533, -0.6588954329490662, -0.1979004442691803, -0.028649598360061646, 0.5228142738342285, 0.7547690868377686, -0.9776265025138855, -0.0770675465464592, -0.20940515398979187, 0.05742271989583969, -0.5929269790649414, -0.23891665041446686, 0.6222057342529297, -0.6313546299934387, -0.9873552918434143, 0.5139286518096924, 0.5414629578590393, -0.1895299106836319, -0.48670321702957153, 0.17194022238254547, -0.071046382188797, 0.14374206960201263, 0.6466281414031982, 0.38235414028167725, -0.9771280288696289, -0.29038745164871216, -0.3775829076766968, -0.024099359288811684, 0.11937665939331055, 0.7738640904426575, -0.9245604276657104, 0.52996826171875, 0.40625637769699097, 1.3376879692077637, 0.36148861050605774, 0.18592843413352966, 0.6339343786239624, -0.6264550089836121, 0.2022489756345749, 0.010070583783090115, 0.28927505016326904, 0.1404009610414505, -0.3034822940826416, 0.047210972756147385, 0.3788738250732422, -0.6093842387199402, -0.9269279837608337, 0.15872570872306824, -1.2529667615890503, 0.0325799398124218, 0.9224509000778198, -0.19523225724697113, -0.38533082604408264, 0.0038609278853982687, -0.13548196852207184, 0.3599797189235687, -0.17728331685066223, 1.3077365159988403, 0.4571615159511566, 0.09809398651123047, -0.42476287484169006, 0.14585784077644348, 0.5116402506828308, 0.6829416155815125, -1.0411187410354614, 0.6049072742462158, 0.2781347632408142, 0.1442006230354309, 0.28645938634872437, 0.5815988779067993, -0.06887153536081314, 0.46779659390449524, 0.018714139237999916, -0.04154704138636589, 0.3181454837322235, -0.5870881676673889, -0.5574091672897339, 0.3127574324607849, -0.21847663819789886, -0.8219478726387024 ]
http://arxiv.org/abs/2406.01311v1
http://arxiv.org/pdf/2406.01311v1
FactGenius: Combining Zero-Shot Prompting and Fuzzy Relation Mining to Improve Fact Verification with Knowledge Graphs
2024-06-03T13:24:37
2024-06-03T13:24:37
Sushant Gautam
cs.CL
cs.CL
Fact-checking is a crucial natural language processing (NLP) task that verifies the truthfulness of claims by considering reliable evidence. Traditional methods are often limited by labour-intensive data curation and rule-based approaches. In this paper, we present FactGenius, a novel method that enhances fact-checking by combining zero-shot prompting of large language models (LLMs) with fuzzy text matching on knowledge graphs (KGs). Leveraging DBpedia, a structured linked data dataset derived from Wikipedia, FactGenius refines LLM-generated connections using similarity measures to ensure accuracy. The evaluation of FactGenius on the FactKG, a benchmark dataset for fact verification, demonstrates that it significantly outperforms existing baselines, particularly when fine-tuning RoBERTa as a classifier. The two-stage approach of filtering and validating connections proves crucial, achieving superior performance across various reasoning types and establishing FactGenius as a promising tool for robust fact-checking. The code and materials are available at https://github.com/SushantGautam/FactGenius.
[ -0.3486764132976532, -0.8268409371376038, 0.8663524985313416, -0.12659060955047607, -0.3397006094455719, -0.060122426599264145, -0.15928368270397186, -0.16798730194568634, 0.020468806847929955, 0.4756850004196167, -0.797368049621582, -0.879385232925415, -0.36645692586898804, 0.42223334312438965, -0.3275102376937866, 1.0597480535507202, 0.16780342161655426, -0.14352013170719147, -0.66999351978302, -0.26675865054130554, -0.2365970015525818, -0.10859271883964539, -0.3053273558616638, -0.7166212797164917, 0.5637759566307068, 0.6664857268333435, 0.7346122860908508, 0.6909729838371277, 0.19310902059078217, 0.2898666560649872, -0.019133174791932106, 0.7436197996139526, -0.5429670810699463, 0.3205617666244507, -0.04891661927103996, -0.5285366773605347, -0.16640625894069672, 0.009120434522628784, 0.4264894723892212, 0.21046294271945953, 0.11392202973365784, 0.3419926166534424, -0.28116917610168457, 0.5894415974617004, -0.47750383615493774, 0.4919174015522003, -0.6484163999557495, -0.24598939716815948, -0.19162674248218536, -0.2683119475841522, -0.4060730040073395, -0.7625659704208374, -0.26012590527534485, -0.569277822971344, 0.5512847900390625, 0.15617480874061584, 1.2010328769683838, 0.2788591682910919, -0.4572451412677765, -0.22569727897644043, -0.6620186567306519, 0.3441695272922516, -0.5112036466598511, 0.6844900846481323, 0.17590521275997162, 0.17613700032234192, -0.22189339995384216, -0.42772382497787476, -1.014233946800232, -0.19300439953804016, -0.4462341368198395, -0.09913907200098038, -0.047596145421266556, -0.04777270182967186, 0.5946972370147705, 0.10939077287912369, -0.7659652829170227, -0.2840272784233093, -0.3996227979660034, -0.22602693736553192, 0.6472904086112976, -0.19226381182670593, 0.2952285706996918, -0.5711145401000977, -0.3876263499259949, -0.09015659242868423, -1.0037263631820679, -0.2653590440750122, 0.37371355295181274, 0.38466981053352356, -0.17714914679527283, 0.6183424592018127, -0.6253442764282227, 1.0724291801452637, 0.10696697980165482, -0.3187142014503479, 0.2504769563674927, -0.4480880796909332, 0.03760140389204025, 0.3053034245967865, 0.7325519323348999, 0.4631165564060211, 0.3819606602191925, -0.4520006477832794, 0.2020198404788971, 0.11506808549165726, -0.15673686563968658, -0.8026427626609802, -0.29566311836242676, 0.4892100691795349, -0.055721547454595566, -0.3635271489620209, 0.1734512746334076, -0.7149730324745178, -0.640550971031189, -0.20057223737239838, 0.31646716594696045, -0.6888008713722229, -0.31243452429771423, -0.0471804179251194, -0.2806912958621979, 0.2858538031578064, 0.16700373589992523, -0.5756314992904663, -0.22840476036071777, 1.0686750411987305, 1.0233359336853027, 0.34483903646469116, -0.21609677374362946, -0.8366467356681824, 0.11214125156402588, -0.37836742401123047, 1.1498379707336426, -0.2671799063682556, 0.14970391988754272, 0.015481716953217983, -0.40478837490081787, -0.008312046527862549, -0.2884541153907776, 0.9073286652565002, -0.7904103398323059, 0.11854656785726547, -0.49663639068603516, -0.7335451245307922, -0.3755919933319092, 0.7375117540359497, -0.6287108063697815, 1.069746971130371, 0.119818314909935, -0.882193922996521, 0.48172757029533386, -0.5346827507019043, -0.5617753863334656, 0.2697131037712097, -0.2535511255264282, -0.3903283178806305, -0.31572696566581726, 0.11400218307971954, 0.5012254118919373, -0.28910180926322937, 0.4532106816768646, -0.48856666684150696, -0.16471274197101593, 0.1977650672197342, 0.06926864385604858, 0.7150506377220154, 0.12369291484355927, -0.052972108125686646, 0.21924777328968048, -1.1510300636291504, -0.017768211662769318, 0.10095987468957901, -0.12863481044769287, -0.34910088777542114, 0.06068585440516472, -0.3979763090610504, 0.3617335557937622, 0.09828690439462662, -0.9848828315734863, 0.05545853078365326, -0.27394962310791016, 0.22845163941383362, 0.20928584039211273, 0.2264752835035324, 0.03292093798518181, -0.37216219305992126, 0.01720861904323101, 0.041209276765584946, 0.2986423075199127, -0.06420695036649704, -0.4293847382068634, -0.9233857989311218, -0.1872699111700058, 0.5867066383361816, 0.715329647064209, -1.2964788675308228, 0.7406670451164246, -0.5142902135848999, -0.7984602451324463, -0.1877821683883667, 0.29605039954185486, 0.0026244674809277058, 0.9522740840911865, 0.2095385193824768, 0.11034221202135086, -0.4649670124053955, -0.3769861161708832, -0.07511734962463379, -0.5451956391334534, -0.07479684799909592, 0.156417578458786, 0.2924176752567291, 0.13245238363742828, 1.2419451475143433, -0.7426257133483887, -0.2907494008541107, -0.28641945123672485, 0.3509090542793274, 0.5604259371757507, -0.08776825666427612, 0.7708443999290466, -0.8577869534492493, -0.43631529808044434, -0.3290312588214874, -1.016301155090332, -0.1450875699520111, -0.21788589656352997, -0.035530366003513336, 0.08453740179538727, 0.3118000626564026, -0.8771827220916748, 0.013828697614371777, 0.46295276284217834, -0.5577685236930847, 0.38190776109695435, -0.003959945868700743, 0.44272539019584656, -0.6914905905723572, 0.25007668137550354, 0.1855589896440506, -0.4056113064289093, -0.7830345630645752, 0.07881063967943192, 0.049850694835186005, -0.06323854625225067, -0.39163294434547424, 0.05787898600101471, -0.2154666632413864, 0.3510437607765198, -0.0487075038254261, 0.4670375883579254, -0.09791494160890579, 0.40064847469329834, -0.09047741442918777, 0.6374654769897461, 0.6747260093688965, -0.6995726227760315, 0.8473208546638489, 0.5059800148010254, -0.17069587111473083, 0.7503204345703125, -0.40018996596336365, 0.0761655867099762, -0.22101977467536926, 0.17022158205509186, -1.2328404188156128, -0.17722566425800323, 0.4344423711299896, -0.5438078045845032, 0.061705999076366425, -0.46445611119270325, -0.7471907734870911, -0.1661459356546402, -0.6970472931861877, -0.13581836223602295, 0.2169957011938095, -0.6158737540245056, 0.803879976272583, -0.0018751837778836489, -0.03478593751788139, -0.4499180316925049, -0.21101561188697815, 0.32903429865837097, 0.1334739625453949, -0.8410621285438538, 0.11857584118843079, 0.03824037313461304, -0.1849343180656433, 0.12954625487327576, -0.1785161942243576, -0.15931102633476257, 0.07286257296800613, 0.29797741770744324, 0.6403452754020691, -0.08661071956157684, 0.36982807517051697, -0.17972376942634583, -0.21389879286289215, 0.14175203442573547, -0.058134350925683975, 0.38870301842689514, 0.2562180161476135, -0.23308537900447845, -0.14134640991687775, -0.1315346658229828, 0.5145213603973389, -0.10444148629903793, 0.8907206058502197, 0.664273202419281, -0.14131656289100647, -0.05350854992866516, -0.6775292158126831, -0.3217150568962097, -0.43066826462745667, -0.13090388476848602, -0.14808858931064606, -0.9034082889556885, 0.18276137113571167, -0.324409157037735, 0.04494601488113403, 0.5164515972137451, 0.09539896249771118, 0.2425825446844101, 0.48466458916664124, 0.460178405046463, -0.17373889684677124, 0.23670482635498047, -0.10718811303377151, 0.6692280769348145, -0.25567442178726196, -0.3009222149848938, -0.6578142046928406, 0.29029297828674316, -0.6419533491134644, -0.26183241605758667, 0.548620879650116, -0.2153594046831131, 0.06386198848485947, 0.25671541690826416, -0.1304987370967865, 0.5047475695610046, 0.4236956536769867, 0.22212737798690796, 0.5480698347091675, -0.033264897763729095, 0.14297832548618317, 0.2078864574432373, -0.901033341884613, -0.2745402455329895, 0.8478544354438782, -0.1729326844215393, 0.47015029191970825, 0.13955697417259216, 0.7363523244857788, 0.4609659016132355, 0.4149053990840912, -0.911975622177124, 0.6860581040382385, 0.041999589651823044, -0.6900234222412109, -0.42792412638664246, -0.7877673506736755, -0.3761676549911499, -0.01865231804549694, -0.8580282926559448, -0.3983604311943054, 0.019490107893943787, 0.23451830446720123, -0.438181072473526, 0.44895288348197937, -0.4444856345653534, 0.5228049755096436, -0.1532370001077652, -0.43891021609306335, -0.32121920585632324, -0.4608684182167053, 0.549688458442688, 0.08407160639762878, 0.27425092458724976, -0.2929534614086151, 0.3491964042186737, 0.34898900985717773, -0.35790395736694336, 0.630387544631958, -0.17571479082107544, -0.08083895593881607, 0.35658952593803406, 0.18445196747779846, 0.4898967742919922, 0.0972316637635231, -0.11567844450473785, 0.3857056200504303, 0.07105402648448944, 0.013427706435322762, -0.7997846007347107, 0.806794285774231, -0.40920117497444153, -0.6279448866844177, -0.7082717418670654, -0.3384198248386383, -0.3884875178337097, 0.35491743683815, -0.10011899471282959, 0.4050501585006714, -0.2231261283159256, 0.07131623476743698, 0.9181993007659912, 0.13727426528930664, 0.03871994465589523, 0.7783944010734558, 0.01553252525627613, -0.31853926181793213, 1.0020408630371094, 0.13869427144527435, -0.20571750402450562, 0.42934688925743103, 0.10291767865419388, -0.5088798403739929, -0.3118450939655304, -0.6267704367637634, 0.5886295437812805, -0.5838540196418762, -0.6016953587532043, -0.5650873780250549, -0.30245617032051086, -0.6479673385620117, 0.35114428400993347, -0.04058533161878586, -0.6318901181221008, 0.015258561819791794, -0.09199707955121994, 0.8900576829910278, 0.8184454441070557, -0.3107762336730957, -0.04975391924381256, -0.8231984972953796, 0.6222963929176331, 0.48952019214630127, 0.6453410983085632, -0.2916545569896698, 0.021163539960980415, 0.01622939296066761, -0.19598254561424255, -0.13301843404769897, -0.9621497988700867, -0.2309102565050125, 0.2909572124481201, 0.17430877685546875, 0.503010094165802, 0.5623357892036438, 0.20243464410305023, -0.4236909747123718, 0.6341567039489746, 0.10292501002550125, -0.7495663166046143, 0.4681952893733978, -0.2803594172000885, -0.10619591921567917, 0.5370228886604309, 0.4378804862499237, -0.682021975517273, -0.29866474866867065, -0.6531697511672974, -0.5564404129981995, 0.7817517518997192, 0.25219905376434326, -0.22696919739246368, 0.02449156902730465, 0.6841946840286255, -0.30664870142936707, 0.07276757061481476, -0.31614363193511963, -0.5483173727989197, -0.13624604046344757, -0.4380536377429962, 0.0020181990694254637, -0.5393731594085693, -0.47883856296539307, -0.09426216781139374, 1.047081470489502, -0.34408634901046753, -0.054972779005765915, 0.3644503951072693, -0.03597376495599747, -0.18545196950435638, 0.4880605638027191, 0.3922007381916046, 0.7546533346176147, -0.3466704189777374, 0.30934369564056396, 0.30571097135543823, -0.2592373490333557, 0.21418409049510956, 0.3255983293056488, -0.6764616966247559, 0.389489084482193, 0.37263381481170654, 0.4471648931503296, 0.037847962230443954, -0.3481872081756592, 0.5599518418312073, -0.1534646600484848, -0.22566041350364685, 0.2294442057609558, 0.4542694687843323, 0.12132341414690018, 0.11993655562400818, 0.23093385994434357, -0.08560850471258163, 0.1528187096118927, -0.3657362163066864, 0.34201228618621826, 0.25460997223854065, -0.10204420238733292, -0.12778373062610626, 0.34352362155914307, 0.30974000692367554, -0.014654415659606457, 0.6380760669708252, -0.3268545866012573, -0.6469950079917908, 0.2976088225841522, 0.20852841436862946, 0.4392796754837036, 0.07008697837591171, 0.7185619473457336, 0.6434153914451599, 0.2741173505783081, -0.02364303730428219, 0.24442632496356964, -0.4126899838447571, -0.7915000319480896, -0.564020037651062, -0.3453826308250427, -0.5995544791221619, 0.04768725112080574, -0.302419513463974, 0.4104202687740326, -0.4829924702644348, -0.10125038027763367, 0.22854720056056976, 0.14111214876174927, -0.45456576347351074, 0.21341663599014282, 0.06480441987514496, 1.2246590852737427, -1.2762720584869385, 0.6742881536483765, 0.5496561527252197, -0.37181398272514343, -0.7782084941864014, 0.046050332486629486, 0.22340402007102966, -0.4811241030693054, 0.36935195326805115, 0.06365040689706802, -0.421030193567276, -0.09610569477081299, -0.6640946269035339, -0.6540921330451965, 1.0358967781066895, 0.6709816455841064, -0.4838836193084717, 0.3290814459323883, 0.21487495303153992, 0.3777247369289398, 0.15975019335746765, 0.022525310516357422, 0.5686067938804626, 0.6669111251831055, 0.5792708396911621, -0.2874426245689392, 0.4088703393936157, 0.13200367987155914, -0.4654771089553833, 0.2345379889011383, -0.8171460032463074, 0.3949958384037018, -0.3357519805431366, -0.35179734230041504, -0.051918573677539825, 0.7818942070007324, 0.383617103099823, 0.453347772359848, 0.7845694422721863, 0.5392587184906006, 0.9029369354248047, -0.2990433871746063, 0.6936238408088684, -0.8151432871818542, 0.5739195346832275, 0.8809098601341248, -0.5134606957435608, 0.5368598103523254, 0.3119860589504242, -0.08325104415416718, 0.7868912220001221, 0.3229183256626129, -0.3787285387516022, 0.20300492644309998, -0.2861608862876892, -0.36745473742485046, -0.6637322902679443, -0.495709091424942, -0.10171230137348175, 0.41409656405448914, 0.0834893137216568, 0.12341400235891342, -0.6715620756149292, -0.5863693952560425, 0.4959920644760132, 0.11039432883262634, 0.07390708476305008, 0.7163523435592651, -0.3595108389854431, -0.879098653793335, 0.4700542986392975, 0.03042537160217762, 0.34922340512275696, -0.8918718695640564, -0.418003112077713, -0.10444798320531845, -0.03114955872297287, -0.4400022625923157, -0.9708496928215027, 0.11931992322206497, 0.33407455682754517, -0.14067400991916656, 0.17668263614177704, 1.080178141593933, -0.5491757988929749, -0.3670186400413513, 0.04331141337752342, 0.5419638156890869, -0.21289479732513428, -0.10567079484462738, -0.51771479845047, -0.07637263089418411, -0.15161164104938507, 0.19596152007579803, -0.20272992551326752, 0.4540819525718689, 0.16023877263069153, 0.6634629368782043, 0.6566928029060364, 0.20945395529270172, -0.4885411858558655, 0.1626906841993332, 0.9356994032859802, -0.3802313804626465, -0.3394136428833008, -1.014309048652649, -0.00730347353965044, -0.43679752945899963, 0.08874842524528503, 1.0298234224319458, 0.6338497996330261, 0.576959490776062, 0.08887603878974915, 0.6507440209388733, -0.4684789478778839, 0.3643825054168701, -0.5039687752723694, 0.8241159915924072, -0.0012179560726508498, -0.16810645163059235, 0.11129139363765717, -0.6325123310089111, -0.6420256495475769, 0.36051690578460693, -0.23619575798511505, -0.15602485835552216, 0.5535929203033447, 1.1803165674209595, -0.12252771109342575, 0.22126244008541107, 0.30375170707702637, 0.3785601854324341, 0.21751227974891663, 0.10262253135442734, 0.6084374189376831, -0.3038768172264099, 0.6369505524635315, -0.10221825540065765, -0.35395562648773193, -0.1244242861866951, -1.1105910539627075, -0.980053722858429, -0.4131809175014496, -0.7178971767425537, -0.5089078545570374, 0.1664605736732483, 0.8948453068733215, 0.8118011355400085, -0.8250888586044312, 0.06854795664548874, 0.13827688992023468, 0.8332013487815857, -0.11453168839216232, -0.22140979766845703, 0.2541186809539795, -0.4009553790092468, -0.050893384963274, 0.2924080789089203, 0.3566941022872925, -0.3400581479072571, -0.23446111381053925, 0.1294041872024536, -0.632882297039032, 0.23067590594291687, 0.5274093747138977, 0.2718701958656311, -0.15856364369392395, -0.4715292453765869, -0.26323339343070984, 0.1935422420501709, 0.19912421703338623, 0.9960270524024963, -0.8888901472091675, 0.3573792278766632, 0.8440132737159729, 0.1354520618915558, 0.3646989166736603, 0.04210887476801872, 0.20928865671157837, -0.9175792336463928, -0.12044684588909149, -0.4384098947048187, 0.32923275232315063, 0.8187216520309448, -0.7033024430274963, 0.6031860709190369, 0.5326906442642212, -0.19133342802524567, -0.6208155155181885, 0.35295069217681885, -0.8787590265274048, -0.06725208461284637, 1.0264019966125488, -0.19301912188529968, -0.438893586397171, -0.19723953306674957, -0.06979184597730637, 0.5120506286621094, -0.36291825771331787, 0.9727329611778259, 0.7293268442153931, -0.2752397656440735, -0.04165192320942879, -0.09483195841312408, 0.6863770484924316, -0.20010796189308167, -0.7466446161270142, 0.2545499801635742, 0.6018304228782654, 0.6836089491844177, 0.3814791738986969, 0.1932225078344345, 0.12860378623008728, 0.3465767204761505, -0.16282527148723602, -0.1988045573234558, -0.4876919686794281, -0.3687679171562195, -0.07092400640249252, 0.3471762239933014, 0.13456448912620544, 0.048988115042448044 ]
http://arxiv.org/abs/2406.01306v1
http://arxiv.org/pdf/2406.01306v1
Unsupervised Distractor Generation via Large Language Model Distilling and Counterfactual Contrastive Decoding
2024-06-03T13:20:05
2024-06-03T13:20:05
Fanyi Qu, Hao Sun, Yunfang Wu
cs.CL
cs.CL
Within the context of reading comprehension, the task of Distractor Generation (DG) aims to generate several incorrect options to confuse readers. Traditional supervised methods for DG rely heavily on expensive human-annotated distractor labels. In this paper, we propose an unsupervised DG framework, leveraging Large Language Models (LLMs) as cost-effective annotators to enhance the DG capability of smaller student models. Specially, to perform knowledge distilling, we propose a dual task training strategy that integrates pseudo distractors from LLMs and the original answer in-formation as the objective targets with a two-stage training process. Moreover, we devise a counterfactual contrastive decoding mechanism for increasing the distracting capability of the DG model. Experiments show that our unsupervised generation method with Bart-base greatly surpasses GPT-3.5-turbo performance with only 200 times fewer model parameters. Our proposed unsupervised DG method offers a cost-effective framework for practical reading comprehension applications, without the need of laborious distractor annotation and costly large-size models
[ -0.45412352681159973, -0.7330423593521118, 0.5510545969009399, -0.21601766347885132, -0.7524933218955994, 0.0007580340607091784, -0.12560948729515076, -0.4021921753883362, -0.25038477778434753, 0.5961592197418213, -0.5312609672546387, -0.17445677518844604, -0.5699067711830139, 0.04791197553277016, -0.2377406358718872, 0.8710354566574097, 0.1480054408311844, -0.0015310341259464622, -0.3100820481777191, 0.22332510352134705, -0.430122047662735, -0.5813887119293213, -0.6509148478507996, -0.5502215027809143, 0.4492994546890259, 0.412861704826355, 0.1979701668024063, 0.4533803462982178, 0.20724837481975555, 0.28772905468940735, -0.1825541853904724, 0.3211054503917694, -0.45003610849380493, 0.13513515889644623, -0.27165910601615906, -0.4259769916534424, 0.06366981565952301, -0.10910359025001526, 0.3817092776298523, 0.6287089586257935, -0.03388584032654762, -0.010339616797864437, 0.34673193097114563, 0.763177752494812, -0.6113380789756775, 0.3093460202217102, -0.658849835395813, -0.2454298436641693, -0.22506362199783325, 0.03139614313840866, -0.4605310559272766, 0.03936693072319031, 0.17046134173870087, -0.5823523998260498, 0.460791677236557, -0.013693205080926418, 0.5151224732398987, 0.8298352360725403, -0.48798543214797974, -0.3351798355579376, -0.5247529149055481, 0.8951446413993835, -0.6598924398422241, 0.11888523399829865, 0.5164154171943665, 0.05768957734107971, 0.0006975422147661448, -0.5977230072021484, -0.80821293592453, -0.11291342228651047, -0.37249162793159485, 0.3125081956386566, -0.2777263820171356, -0.1218450516462326, 0.30540478229522705, 0.24605700373649597, -0.47840386629104614, 0.08963565528392792, -0.22686105966567993, 0.09524909406900406, 0.567665159702301, -0.006664146203547716, -0.02916506491601467, -0.21747559309005737, -0.4252459704875946, -0.09921260923147202, -0.5684795379638672, -0.30632850527763367, 0.34794938564300537, 0.049907151609659195, 0.1825227290391922, 0.3740076422691345, -0.15230204164981842, 0.5167247653007507, 0.4656364321708679, -0.06857093423604965, 0.1040409728884697, -0.2532864212989807, -0.02016698755323887, 0.1317143589258194, 0.6902173161506653, 0.3357681930065155, 0.2824725806713104, -0.10529844462871552, -0.23009631037712097, 0.1729317456483841, 0.33028319478034973, -1.0436617136001587, -0.6143003702163696, 0.04364252835512161, -0.23112116754055023, -0.5055791735649109, -0.3537454307079315, -1.0022677183151245, -0.40356865525245667, -0.2608632445335388, 0.2564854025840759, -0.3989671468734741, -0.2504081130027771, 0.1296459585428238, -0.048529818654060364, -0.2929568886756897, 0.08803727477788925, -0.9396336078643799, -0.04644879326224327, 0.1273968666791916, 0.5645952224731445, -0.0789259672164917, -0.1522321254014969, -0.38979268074035645, 0.18866591155529022, -0.23675382137298584, 0.8205906748771667, -0.2101951539516449, -0.39208972454071045, -0.03127812221646309, -0.21885085105895996, -0.17564305663108826, -0.5768364071846008, 0.38123223185539246, -0.576198160648346, 0.2858298718929291, -0.3220069706439972, -0.571975827217102, -0.3928132951259613, 0.17867136001586914, -0.7057399153709412, 1.2192398309707642, 0.16180013120174408, -1.0514850616455078, 0.4059739410877228, -0.6406289339065552, -0.42283234000205994, 0.38856008648872375, 0.041649229824543, -0.44364073872566223, 0.13621266186237335, 0.5272547006607056, 0.3895430266857147, -0.3891684114933014, 0.5687968134880066, 0.08836681395769119, -0.26966747641563416, 0.28323793411254883, -0.5400633811950684, 0.5732064247131348, 0.20030485093593597, -0.44592908024787903, 0.09493132680654526, -0.8594735264778137, -0.361789733171463, 0.2938842177391052, -0.3598747253417969, -0.6733235716819763, 0.1261529177427292, 0.09573687613010406, 0.33454734086990356, 0.20303279161453247, -0.5967516899108887, -0.1351710706949234, -0.15010491013526917, 0.3499422073364258, 0.39746716618537903, 0.1647995412349701, 0.28903886675834656, -0.25931262969970703, 0.28126999735832214, 0.38076433539390564, -0.2598484754562378, -0.33605992794036865, -0.12734022736549377, -0.8270451426506042, -0.7122179269790649, 0.17559516429901123, 0.4572349488735199, -1.110396146774292, 0.5958879590034485, 0.01682979054749012, -0.3400633633136749, -0.3058759868144989, 0.2178533971309662, 0.6266483664512634, 0.8733478784561157, 0.6123151779174805, 0.22546841204166412, -0.36210015416145325, -0.6492604613304138, -0.00038595995283685625, -0.15070436894893646, -0.17777474224567413, 0.026015765964984894, 0.5359430909156799, -0.22566989064216614, 0.759400486946106, -0.7241296172142029, -0.39536556601524353, -0.4613165259361267, 0.37482357025146484, -0.18262232840061188, 0.42134103178977966, 0.4195195138454437, -0.9231366515159607, -0.6150721907615662, -0.30053260922431946, -0.6055151224136353, -0.40111979842185974, -0.20809637010097504, -0.026873694732785225, 0.35162222385406494, 0.9262644052505493, -0.2804672420024872, 0.3512003421783447, 0.22309178113937378, -0.22670885920524597, 0.49164068698883057, -0.3354690372943878, -0.12118928134441376, -1.2370485067367554, 0.21439126133918762, 0.13872185349464417, -0.14567941427230835, -0.6079908609390259, -0.03394633159041405, 0.13566438853740692, 0.11677175760269165, -0.33637306094169617, 0.5170074105262756, -0.5528914928436279, 0.596207320690155, -0.6583277583122253, 0.23802107572555542, 0.11153014749288559, 0.5116264820098877, 0.4214200973510742, 0.4749644696712494, 0.37766969203948975, -0.43470463156700134, 0.2492137849330902, 0.3543650507926941, -0.3956962525844574, 0.5815043449401855, -0.584114670753479, -0.07376795262098312, -0.3107122480869293, 0.3471531867980957, -1.2049195766448975, -0.11695633828639984, 0.18547388911247253, 0.04876608029007912, 0.4532853662967682, -0.2655860185623169, -0.542675256729126, -0.5433209538459778, -0.0650043785572052, 0.4701760709285736, 0.6923294067382812, -0.9885498285293579, 0.28743910789489746, 0.1808582842350006, -0.34363704919815063, -0.5379385948181152, -0.9554505348205566, -0.14413921535015106, -0.4897219240665436, -0.27673259377479553, 0.13980732858181, -0.1726461946964264, -0.22161056101322174, -0.09038929641246796, -0.13872510194778442, 0.013571256771683693, -0.050118785351514816, 0.2720257043838501, 0.4127644896507263, -0.02309795282781124, 0.22654330730438232, 0.3012097179889679, -0.28442129492759705, 0.07860424369573593, -0.28274738788604736, 0.36390674114227295, 0.40098583698272705, -0.3662266731262207, -0.002145987469702959, 0.45062124729156494, 0.3154049515724182, -0.3578478991985321, 0.6448546051979065, 0.5277459621429443, -0.10463663190603256, -0.4425083100795746, -0.6306613683700562, -0.299424409866333, -0.46400293707847595, 0.6710647344589233, -0.41156888008117676, -0.8882893323898315, 0.386091947555542, -0.2550975978374481, 0.09184981137514114, 0.22966019809246063, 0.4994313418865204, 0.12543469667434692, 0.8223801255226135, 0.4466390609741211, 0.11130846291780472, 0.5903928875923157, 0.06130323186516762, 0.25073954463005066, -0.5817608833312988, -0.28641223907470703, -0.19534964859485626, -0.24657604098320007, -0.14623118937015533, -0.5459302067756653, 0.09925138205289841, 0.5652449131011963, 0.10771248489618301, -0.02476515807211399, -0.6148456931114197, 0.7214425802230835, 0.8044060468673706, 0.019075213000178337, 0.3365577757358551, 0.06558376550674438, -0.32127317786216736, -0.019825004041194916, -0.5290905237197876, -0.5095490217208862, 1.1046686172485352, 0.07122790813446045, 0.6907093524932861, 0.016487088054418564, 0.7722592353820801, 0.09089859575033188, 0.26595115661621094, -0.6942835450172424, 0.538316011428833, -0.22728091478347778, -0.5924152731895447, -0.4410635828971863, -0.5366116762161255, -0.7351177930831909, 0.6876683235168457, -0.1232442781329155, -0.6217470169067383, 0.2806450426578522, 0.22603115439414978, -0.2829754948616028, 0.2888622581958771, -0.7084982991218567, 0.9461050629615784, -0.08374597132205963, -0.34843578934669495, -0.09470394253730774, -0.4911010265350342, 0.41604360938072205, -0.4744243323802948, -0.005255343858152628, 0.17437879741191864, 0.16632713377475739, 0.6451873779296875, -0.3155767321586609, 0.973232626914978, -0.23574070632457733, -0.15242570638656616, 0.5193607807159424, 0.12283433228731155, 0.4759127199649811, 0.07853493094444275, -0.01746245287358761, 0.11440963298082352, -0.13485701382160187, -0.35660073161125183, -0.20864425599575043, 0.6015648245811462, -0.5405582785606384, -0.5152831077575684, -0.466897577047348, -1.0147600173950195, -0.23225551843643188, 0.37095436453819275, 0.5062173008918762, 0.28662633895874023, -0.2633378803730011, -0.000499206013046205, 0.7347946166992188, 0.050608668476343155, 0.7951359748840332, 0.6735163331031799, 0.12580300867557526, -0.29321521520614624, 0.8390231728553772, -0.1309298574924469, 0.24206356704235077, 0.45458611845970154, 0.25116825103759766, -0.7034108638763428, -0.7673501372337341, -0.4304426610469818, 0.26219403743743896, -0.6055973172187805, -0.040218204259872437, -0.6023711562156677, -0.053386759012937546, -0.24762322008609772, -0.11221552640199661, -0.20918433368206024, -0.09013240784406662, -0.5368734002113342, -0.1681167185306549, 0.2062368541955948, 0.6838503479957581, -0.317026287317276, 0.5431097149848938, -0.559261679649353, 0.36814963817596436, 0.43762096762657166, -0.1460985392332077, -0.008217121474444866, -0.579190731048584, -0.4632842242717743, 0.0710848793387413, -0.43067049980163574, -0.643297553062439, 0.4921146035194397, -0.23828281462192535, 0.4479285180568695, 0.5311501026153564, 0.6374451518058777, 0.42817673087120056, -0.46164974570274353, 0.6035286784172058, 0.36166805028915405, -0.9174953103065491, 0.19739429652690887, -0.26686254143714905, 0.4607480764389038, 0.5211632251739502, 0.1943558156490326, -0.23694227635860443, -0.4240529239177704, -0.38585641980171204, -0.975872278213501, 1.0119620561599731, -0.12398352473974228, -0.19272956252098083, -0.20807521045207977, 0.1479337066411972, 0.17906595766544342, 0.06983352452516556, -0.8105171322822571, -0.04152126610279083, -0.3979078233242035, -0.3902948498725891, -0.3675018846988678, -0.6726735830307007, -0.15688583254814148, 0.18046727776527405, 0.6870178580284119, -0.2183924913406372, -0.3788197338581085, 0.11542614549398422, -0.39757052063941956, -0.14071130752563477, 0.392518013715744, 0.4886360764503479, 0.45316779613494873, -0.19149427115917206, 0.35142138600349426, 0.005016982089728117, -0.4971931576728821, 0.05415822193026543, 0.5133523344993591, -0.30391788482666016, -0.16885043680667877, 0.26095056533813477, 0.6986234784126282, 0.1147407740354538, -0.6574594974517822, 0.3117493689060211, 0.09177812188863754, -0.5072295665740967, -0.018906936049461365, -0.04250359535217285, 0.3573124408721924, 0.48035165667533875, 0.41374510526657104, -0.2383570373058319, -0.11526437103748322, -0.048984527587890625, 0.1798652708530426, 0.27453580498695374, -0.1850060522556305, -0.0794549509882927, 0.6363901495933533, 0.34453660249710083, 0.20153236389160156, 0.42349082231521606, -0.4711748957633972, -0.5195073485374451, 0.33768248558044434, 0.817261815071106, 0.6711214780807495, -0.2889021635055542, 0.21566660702228546, 0.3725557327270508, 0.23236368596553802, -0.33342817425727844, 0.012562154792249203, -0.2755165696144104, -0.5209240913391113, -0.3117973506450653, -0.616156280040741, -0.1811181753873825, 0.4337959289550781, -0.7060131430625916, -0.13452591001987457, -0.031166406348347664, 0.14793191850185394, 0.07742936909198761, 0.06579488515853882, -0.2832942605018616, 0.3405269980430603, 0.3406398892402649, 0.32417285442352295, -0.8446351289749146, 1.0098611116409302, 0.7545304894447327, -0.4984748959541321, -0.492766797542572, 0.3582778573036194, -0.07232815772294998, -0.4023057222366333, 0.7468920350074768, 0.08948297798633575, -0.15438656508922577, 0.04577605426311493, -0.12941506505012512, -0.5590410828590393, 0.8917995691299438, 0.24459601938724518, -1.0220037698745728, -0.1275884509086609, 0.2695854902267456, 0.4956350028514862, -0.1507721245288849, 0.2510009706020355, 0.5123007893562317, 0.28533512353897095, 0.45815107226371765, -0.5258210897445679, 0.3314114511013031, -0.00010373400436947122, -0.007496712729334831, 0.1885899007320404, -0.5060082077980042, 0.901777982711792, -0.32131579518318176, -0.2676737606525421, 0.02506246604025364, 0.36050382256507874, 0.313376784324646, 0.29642608761787415, 0.6368173956871033, 0.6223446726799011, 0.6804957389831543, 0.14814624190330505, 0.6423303484916687, -0.24484069645404816, 0.21403245627880096, 1.304050087928772, -0.3105821907520294, 0.6188036799430847, 0.6256706118583679, 0.1631758213043213, 0.2117370367050171, 0.3923722207546234, -0.08363527804613113, 0.7979446053504944, 0.3755113184452057, -0.3223341405391693, -0.5267946124076843, 0.0994243174791336, -0.09021008759737015, 0.27209049463272095, 0.18838931620121002, -0.4049445390701294, -0.3699118196964264, 0.11616230010986328, 0.023619605228304863, 0.27502599358558655, -0.17411881685256958, 0.8591379523277283, 0.10599852353334427, -0.8120502233505249, 0.7306286096572876, -0.09618067741394043, 0.7623090744018555, -0.5544479489326477, 0.14265096187591553, -0.2626896798610687, 0.6953880786895752, 0.08239942044019699, -0.5817237496376038, 0.14777107536792755, 0.16463567316532135, -0.3765453100204468, -0.20288780331611633, 0.6084384322166443, -0.8644905686378479, -0.48190590739250183, 0.4190548062324524, 0.5631208419799805, 0.039948638528585434, -0.42565709352493286, -0.4982021450996399, -0.30115681886672974, 0.17037691175937653, -0.44380342960357666, 0.4141564667224884, 0.6431539058685303, -0.08009131252765656, 0.3329574763774872, 0.6659374237060547, -0.1576567441225052, 0.013306575827300549, 0.25043243169784546, 0.8590440154075623, -0.4901789128780365, -0.6911953091621399, -0.8933114409446716, 0.5848827958106995, 0.0692199319601059, -0.17713488638401031, 0.774154782295227, 0.4079245626926422, 0.7766662240028381, -0.15039147436618805, 0.9013969302177429, 0.15273042023181915, 0.6932376027107239, -0.24769987165927887, 0.8599498867988586, -0.6634382009506226, 0.19286350905895233, -0.25799667835235596, -0.7729800343513489, -0.19210806488990784, 0.4700307548046112, -0.4495987296104431, -0.05436854064464569, 0.8841632008552551, 0.702721893787384, -0.1418943703174591, 0.0698910728096962, 0.5996896028518677, 0.028742589056491852, 0.32422158122062683, 0.6850605010986328, 0.9037194848060608, -0.07166145741939545, 0.790520429611206, -0.22119450569152832, -0.32079482078552246, -0.2666713297367096, -0.6967601180076599, -1.679192304611206, -0.5123527646064758, -0.54743891954422, -0.09416686743497849, -0.05560750886797905, 0.4128359258174896, 0.6135674715042114, -0.6727445125579834, 0.11468619108200073, -0.3304942548274994, -0.11386600881814957, -0.0843098908662796, -0.18306218087673187, 0.4866369664669037, -0.3208427429199219, -0.9551904797554016, 0.40653523802757263, -0.10590072721242905, 0.10806775093078613, -0.14354293048381805, 0.10358014702796936, -0.3196726143360138, 0.26153144240379333, 0.4771444797515869, 0.10319674015045166, -0.6730605363845825, -0.04369990900158882, -0.3755023777484894, -0.1173756942152977, -0.2740301191806793, 0.7311550378799438, -0.7260489463806152, 0.36868545413017273, 0.24437814950942993, 0.469583123922348, 0.8269720673561096, 0.2048308104276657, 0.11395581066608429, -0.8393751382827759, 0.3350684940814972, 0.07470215111970901, 0.2771994471549988, 0.401093453168869, -0.3864343762397766, 0.24569617211818695, 0.21267589926719666, -0.46675363183021545, -0.8551383018493652, 0.30527374148368835, -0.6243510842323303, -0.7453816533088684, 1.2232006788253784, -0.2941451966762543, 0.03932115063071251, -0.31186819076538086, -0.3495589792728424, 0.4427805542945862, -0.37059637904167175, 0.8371562361717224, 0.5299157500267029, -0.022189166396856308, -0.26509901881217957, -0.06314000487327576, 0.4949547052383423, 0.5672919154167175, -0.834212064743042, 0.43477171659469604, 0.760603129863739, 0.32385891675949097, 0.29827311635017395, 0.3786502778530121, 0.034075286239385605, 0.041669461876153946, 0.6020451784133911, 0.2733406722545624, -0.6713404655456543, -0.21335133910179138, -0.16815243661403656, 0.129805326461792, -0.3005351424217224, -0.4283468425273895 ]
http://arxiv.org/abs/2406.01304v3
http://arxiv.org/pdf/2406.01304v3
CodeR: Issue Resolving with Multi-Agent and Task Graphs
2024-06-03T13:13:35
2024-06-11T03:52:03
Dong Chen, Shaoxin Lin, Muhan Zeng, Daoguang Zan, Jian-Gang Wang, Anton Cheshkov, Jun Sun, Hao Yu, Guoliang Dong, Artem Aliev, Jie Wang, Xiao Cheng, Guangtai Liang, Yuchi Ma, Pan Bian, Tao Xie, Qianxiang Wang
cs.CL
cs.CL, cs.AI, cs.SE
GitHub issue resolving recently has attracted significant attention from academia and industry. SWE-bench is proposed to measure the performance in resolving issues. In this paper, we propose CodeR, which adopts a multi-agent framework and pre-defined task graphs to Repair & Resolve reported bugs and add new features within code Repository. On SWE-bench lite, CodeR is able to solve 28.33% of issues, when submitting only once for each issue. We examine the performance impact of each design of CodeR and offer insights to advance this research direction.
[ -0.48937907814979553, -0.45188066363334656, 0.26927369832992554, 0.2081674337387085, 0.10314277559518814, 0.5574882626533508, -0.06217295676469803, -0.7222796082496643, 0.41679880023002625, 0.2843782603740692, -0.3848140835762024, -0.09406306594610214, -0.5049502849578857, -0.010499665513634682, -0.31947511434555054, 0.9751631617546082, -0.15710331499576569, -0.11017633229494095, -0.1642123907804489, -0.462895005941391, -0.7575198411941528, -0.4938361942768097, -0.7050173282623291, -0.20093731582164764, 0.7073687314987183, 0.5500285029411316, 0.5975009799003601, 0.4207078814506531, 0.9175551533699036, 0.625917375087738, 0.4675590693950653, -0.3098979890346527, -0.4500064551830292, 0.41578203439712524, -0.1870003342628479, -0.5196205377578735, -0.5233679413795471, -0.509802520275116, -0.008389852941036224, 0.13538417220115662, 0.017734933644533157, 0.42034029960632324, -0.054236624389886856, 0.9977784156799316, -0.46425676345825195, 0.22246313095092773, -0.2099311649799347, -0.23165500164031982, -0.3811352550983429, 0.05325919762253761, -0.37277767062187195, -0.23607923090457916, -0.31006065011024475, -0.5172946453094482, 0.3675541281700134, -0.2920856177806854, 0.7394351959228516, 0.4101202189922333, -0.329860657453537, -0.19965794682502747, -0.6787973642349243, 0.23843908309936523, -0.3240581452846527, -0.14250019192695618, -0.19984836876392365, 0.7210930585861206, -0.15123552083969116, -0.8179115653038025, -0.07658182084560394, 0.2653738558292389, -0.16265316307544708, -0.10837607085704803, -0.4278545379638672, -0.2818911075592041, 0.15571361780166626, 0.2514243721961975, -0.7715696096420288, -0.10837168246507645, -0.296639621257782, -0.38619348406791687, 0.7186908721923828, 0.24425208568572998, 0.39344874024391174, 0.03851620480418205, -0.21299037337303162, -0.17678804695606232, -0.04912570118904114, 0.2850574553012848, -0.08365713059902191, -0.0226760096848011, 0.2086809277534485, 0.33045798540115356, 0.02135036326944828, 0.6140755414962769, 0.014651334844529629, -0.08017179369926453, 0.4826193153858185, -0.2195347100496292, 0.24785937368869781, -0.27752485871315, 0.4623720049858093, 0.24144230782985687, 0.15036740899085999, -0.3156736493110657, -0.5759923458099365, 0.3716460168361664, 0.6768636703491211, -0.7605303525924683, -0.2614774703979492, 0.5555773973464966, -0.32961001992225647, -0.1577562689781189, 0.12625731527805328, -0.6764155030250549, -0.717530369758606, -0.13223066926002502, 0.31911152601242065, -0.33305278420448303, -0.8149580955505371, -0.33187440037727356, -0.5779338479042053, -0.18710032105445862, 0.46435216069221497, 0.10812109708786011, 0.2181166708469391, 0.4846547544002533, 0.7222244739532471, 0.22753256559371948, -0.5873422622680664, -0.5499924421310425, 0.13857707381248474, -0.3970295786857605, 1.2563395500183105, -0.1921461671590805, -0.28658196330070496, -0.08065628260374069, 0.06867539137601852, -0.17982234060764313, -0.3220169246196747, 0.11167535185813904, -0.5204374194145203, -0.7143059372901917, -0.37933728098869324, -0.388920396566391, 0.1379031091928482, 0.5230992436408997, -1.0529818534851074, 0.760443389415741, 0.45173200964927673, -0.5394452214241028, 0.2713194787502289, -1.1001192331314087, -0.2562514543533325, 0.4473077952861786, -0.1232258751988411, -0.292041540145874, 0.0039333803579211235, -0.043249115347862244, 0.003456748090684414, -0.029542258009314537, 0.3228543698787689, 0.05620773509144783, -0.7483831644058228, 0.3281308114528656, 0.39991340041160583, 0.20487773418426514, 0.333442360162735, -0.6436142325401306, 0.644463837146759, -0.7868114113807678, 0.2778509855270386, 0.32470569014549255, -0.1109880656003952, -0.1397033929824829, 0.036424651741981506, 0.2980245053768158, 0.24668030440807343, 0.2952779531478882, -0.4728030860424042, 0.205107644200325, -0.032591186463832855, 0.5096839666366577, 0.7319616079330444, -0.19445428252220154, 0.23502753674983978, -0.8265445232391357, 0.8032011389732361, -0.03435460850596428, 0.09069637209177017, -0.07906320691108704, -0.16931481659412384, -0.5119967460632324, -0.3751589357852936, 0.31617507338523865, 0.44733527302742004, -0.7478022575378418, -0.22654888033866882, -0.36395180225372314, -0.6894960999488831, -0.28283455967903137, 0.042697176337242126, 0.7508640289306641, -0.03426206484436989, 0.3193780183792114, -0.36222150921821594, -0.5679140090942383, -0.651545524597168, -0.46177107095718384, -0.2154286652803421, 0.13241590559482574, 0.26172664761543274, 0.515175461769104, -0.3971351683139801, 1.080636978149414, -0.5759868025779724, -0.42582088708877563, -0.11281302571296692, 0.575851559638977, 0.05496516451239586, 0.3368651866912842, 0.7349591255187988, -0.832245409488678, -0.6017553806304932, -0.0425412654876709, -0.5532185435295105, -0.124290831387043, 0.3530270755290985, 0.030613262206315994, 0.5259101986885071, 0.3369426727294922, -0.41898584365844727, 0.46799013018608093, 0.47627389430999756, -0.2971198558807373, 0.5075434446334839, -0.14749762415885925, 0.6909463405609131, -0.95306396484375, 0.1147666946053505, 0.22794999182224274, -0.1500464677810669, -0.4070337414741516, 0.26499083638191223, 0.2797434628009796, -0.664503276348114, -0.27165690064430237, 0.39298713207244873, -0.6819552779197693, -0.18426014482975006, -0.382781058549881, 0.06910020858049393, 0.1721993088722229, 0.3993469476699829, -0.5037814974784851, 1.0517432689666748, 0.21724224090576172, -0.4290366768836975, 0.3534793555736542, 0.02589765377342701, -0.10404951125383377, 0.47870922088623047, -0.8010401129722595, 0.3994240462779999, -0.019622690975666046, 0.05595894530415535, -1.3216654062271118, -0.21158644556999207, -0.033559463918209076, -0.5824000239372253, 0.314125657081604, -0.37785521149635315, -0.5143213272094727, -0.8432000279426575, -0.394723117351532, 0.4103899896144867, 0.10836810618638992, -0.29400715231895447, 0.49056103825569153, 0.44004127383232117, -0.2615165114402771, -0.5614134073257446, -0.5412231087684631, 0.08812090754508972, 0.18704622983932495, -0.9575305581092834, 0.47273221611976624, -0.00880199670791626, -0.30803367495536804, 0.3578275442123413, -0.5320459604263306, -0.49478381872177124, -0.2385370135307312, 0.4375526010990143, -0.010696828365325928, -0.3729005753993988, 0.38824358582496643, -0.5381492972373962, -0.5294904708862305, 0.0850774273276329, 0.4806853234767914, 0.37876713275909424, -0.5072298645973206, -0.5182088017463684, 0.16120147705078125, 0.44907137751579285, 0.8914493322372437, -0.6471701860427856, 0.42702245712280273, 0.48005175590515137, -0.2129443734884262, 0.04607277363538742, -0.8765119910240173, 0.03314032778143883, -0.493828684091568, 0.4295739233493805, -0.851576030254364, -0.682304859161377, 0.8282995820045471, -0.4052344262599945, -0.11156995594501495, 0.29088249802589417, 0.1739954650402069, 0.05985190346837044, 0.8919641971588135, 0.6972890496253967, -0.3690338730812073, 0.549432098865509, -0.22106030583381653, 0.37485551834106445, -0.34506675601005554, -0.022622784599661827, -1.122746229171753, -0.27952268719673157, -0.36268869042396545, -0.31187745928764343, 0.36398616433143616, 0.22268694639205933, -0.3545905649662018, 0.8382876515388489, -1.0593653917312622, 0.4868815839290619, 0.1874682456254959, 0.14086510241031647, 0.1364872306585312, -0.5960161685943604, 0.17586253583431244, 0.04236283525824547, -0.5231238007545471, -0.4063663184642792, 0.5817837715148926, 0.02176348678767681, 0.6570143699645996, 0.39022740721702576, 0.706432044506073, 0.35901421308517456, 0.35610613226890564, -0.4036739468574524, 0.43746107816696167, 0.1948384791612625, -0.7342265248298645, -0.4280915856361389, -0.34203240275382996, -1.1617246866226196, 0.40778717398643494, 0.30123835802078247, -0.6456319689750671, 0.1866191029548645, -0.0012466220650821924, 0.23942530155181885, 0.07358831912279129, -0.9198212623596191, 1.4420580863952637, -0.25027552247047424, -0.1409538984298706, -0.49922215938568115, -0.43529340624809265, -0.011664225719869137, 0.09807034581899643, 0.5877835750579834, -0.2457728236913681, -0.023294586688280106, 0.6472700238227844, -0.7770442366600037, 0.6218003630638123, -0.5178744196891785, 0.11695805937051773, 0.21840326488018036, 0.10989892482757568, 0.7504532337188721, 0.12262268364429474, -0.19224753975868225, -0.1948593109846115, 0.2177688479423523, -0.48650768399238586, -0.4534982442855835, 0.6499881744384766, -0.6478358507156372, -0.47369101643562317, -0.6703282594680786, -0.626253604888916, -0.09438937902450562, 0.3567439615726471, 0.03960610553622246, 0.5672005414962769, -0.2836420238018036, -0.0626390278339386, 0.09420842677354813, 0.13699154555797577, 0.7460374236106873, 0.949959933757782, -0.22126002609729767, -0.396872878074646, 0.8730807900428772, 0.3710647225379944, -0.21323582530021667, 0.03630467504262924, -0.3229968845844269, 0.16536012291908264, -0.3089960515499115, -0.6000977158546448, -0.06784787774085999, -0.6253553628921509, -0.7877705693244934, -0.4119318425655365, -0.29337969422340393, -0.1414317488670349, -0.6071344017982483, -0.6133649349212646, -0.05365293100476265, 0.2594899833202362, 0.26336905360221863, 0.8234185576438904, 0.759173572063446, 0.22392000257968903, 0.1387072056531906, -1.0050641298294067, 0.43024617433547974, -0.015090669505298138, 0.5680542588233948, -0.261849045753479, 0.12712205946445465, -0.510181725025177, -0.04730068892240524, -0.3567694425582886, -0.8550271391868591, 0.19565033912658691, -0.24733322858810425, 0.6581924557685852, -0.007912139408290386, 0.3841666281223297, 0.8163681030273438, -0.19348149001598358, 0.5012175440788269, 0.2834918797016144, -1.123305320739746, 0.7730346918106079, -0.36321401596069336, 0.425486296415329, 0.8362948298454285, 0.0002362218510825187, -0.29950618743896484, -0.8105398416519165, -0.3539930582046509, -0.7619466781616211, 0.5835049748420715, 0.008344541303813457, -0.15879033505916595, -0.07544395327568054, 0.15108197927474976, -0.2662351131439209, 0.20498640835285187, -0.366265207529068, -0.37263092398643494, -0.2394896000623703, 0.209137424826622, -0.06852303445339203, -0.17214107513427734, -0.24284523725509644, -0.35757797956466675, 0.3391646444797516, -0.3764008581638336, 0.3424752652645111, 0.05475872755050659, -0.5673549175262451, -0.5635566711425781, 0.7241194248199463, 0.34351006150245667, 1.3666679859161377, -0.0909503772854805, -0.23314589262008667, -0.32350870966911316, -0.18157625198364258, 0.3643540143966675, 0.5120643377304077, 0.42352524399757385, 0.05452415719628334, 0.4217063784599304, 0.31436705589294434, 0.43297451734542847, -0.4684816896915436, 0.869786262512207, 0.10118118673563004, -0.3298225700855255, -0.1629045158624649, 0.15249137580394745, 0.18594497442245483, 0.47079676389694214, 0.6957948803901672, 0.5888655781745911, 0.16263580322265625, -0.40013211965560913, 0.37764760851860046, 0.06654110550880432, -0.48262202739715576, 0.07286304235458374, 0.5212356448173523, 0.44501474499702454, -0.5908036828041077, 0.41890349984169006, -0.2999769449234009, -0.6668151021003723, 1.3100013732910156, 0.5028949975967407, 0.5415948033332825, -0.132269948720932, 0.4730149209499359, 0.2094266265630722, 0.09923925995826721, 0.10878802835941315, 0.5199459195137024, 0.29658645391464233, -0.6195389628410339, -0.717719554901123, 0.09813495725393295, -0.5135630965232849, -0.4656505584716797, -0.9012872576713562, -0.006377856247127056, 0.03708663955330849, -0.5245808362960815, 0.13226842880249023, 0.3385353088378906, -0.38958272337913513, -0.09421070665121078, -0.6209622621536255, 0.8064625859260559, -0.46830981969833374, 0.8195682168006897, 1.1674096584320068, -0.8386654853820801, -0.7207211256027222, -0.23909905552864075, 0.13785861432552338, -0.401807576417923, 0.3691844344139099, 0.26892584562301636, -0.1108708307147026, -0.028024235740303993, -0.17897607386112213, -0.6381053924560547, 1.2159318923950195, 0.46539101004600525, -0.6263478994369507, 0.591992199420929, -0.1934012621641159, 0.6424622535705566, -0.05401729419827461, 0.3343298137187958, 0.28812581300735474, 0.7017502188682556, -0.21884943544864655, -1.1371649503707886, 0.08667828887701035, -0.9408870339393616, 0.221445232629776, 0.8285855054855347, -0.7660332322120667, 0.7934198975563049, -0.2446446269750595, 0.0661059096455574, -0.12182939797639847, 0.039617761969566345, 0.2988263964653015, 0.560904860496521, 0.6041206121444702, 0.38457030057907104, 0.6946760416030884, -0.14702390134334564, 0.8909215331077576, -0.6104575991630554, 0.33238717913627625, 0.8319984674453735, -0.35166803002357483, 0.41004395484924316, 0.34980103373527527, -0.3781418800354004, 0.6677467226982117, 0.3306751251220703, 0.07397330552339554, 0.29812169075012207, 0.39990949630737305, -0.00829452183097601, 0.1811051070690155, 0.003543462138622999, -0.881822407245636, 0.14177723228931427, -0.10411735624074936, 0.1763596087694168, -0.18610455095767975, 0.2977617383003235, -0.1479351818561554, 0.15240924060344696, -0.33114299178123474, 0.7908188700675964, -0.26837843656539917, -0.41796061396598816, 0.24862830340862274, -0.11311006546020508, 0.487835168838501, -0.5913392305374146, -0.12343914806842804, -0.17622792720794678, 0.4823966324329376, -0.29225075244903564, -0.5953359007835388, 0.50926274061203, -0.0636897012591362, -0.618358850479126, -0.207674041390419, 1.1043329238891602, 0.12256211787462234, -0.21998022496700287, 0.797943115234375, 0.697771430015564, -0.07315436005592346, -0.3707156777381897, -0.7957550883293152, 0.31563299894332886, -0.4274802505970001, -0.27789345383644104, 0.5542245507240295, 0.7667359709739685, 0.09737417846918106, 0.6986997127532959, 0.1622660905122757, -0.28328943252563477, -0.06062822788953781, 0.23222823441028595, 1.322790265083313, -0.7447177171707153, -0.17476783692836761, -0.3058776259422302, 0.9072238206863403, -0.3714764416217804, -0.2123449444770813, 0.5645942091941833, 0.7189601063728333, 0.4038238227367401, -0.24442777037620544, 0.6321153044700623, -0.5356143712997437, 0.5249277353286743, 0.20715005695819855, 0.5531059503555298, -0.4383017420768738, 0.08158278465270996, -0.742358386516571, -0.5860412120819092, -0.09582263976335526, 0.47506627440452576, -0.029085272923111916, -0.012698032893240452, 0.9761555194854736, 0.984800398349762, 0.32914745807647705, -0.017358655110001564, 0.09368906915187836, -0.009594831615686417, 0.22257409989833832, 0.5024583339691162, 0.6163796782493591, -0.6401792168617249, 1.0339528322219849, -0.3523440361022949, -0.25076374411582947, -0.24864117801189423, -0.43343979120254517, -0.5890382528305054, -0.4723321795463562, -0.4776347279548645, -0.43989935517311096, 0.12994277477264404, 0.3634869456291199, 0.6698587536811829, -0.7493680715560913, -0.22051607072353363, -0.1017165333032608, 0.3869990110397339, -0.8072949647903442, -0.2553379237651825, 0.14164860546588898, -0.9446431994438171, -0.08261284232139587, 0.393694669008255, 0.10703864693641663, -0.6213574409484863, 0.25266581773757935, -0.35682058334350586, 0.06307446956634521, -0.3712635636329651, 0.3591807186603546, 0.33946681022644043, -0.3634116053581238, -0.35890620946884155, -0.07217240333557129, -0.5688181519508362, 0.31184858083724976, 1.379041075706482, -0.44375893473625183, 0.26093730330467224, 0.3729037046432495, 0.6777154207229614, 0.9531674385070801, -0.05447603389620781, 0.5680407285690308, -0.6215333938598633, 0.07211298495531082, 0.10907701402902603, 0.39586955308914185, -0.3380131423473358, -0.5067851543426514, 1.0340487957000732, 0.0628725215792656, -0.9394396543502808, -0.693473219871521, -0.13244400918483734, -0.7262360453605652, -0.6230461597442627, 0.39165571331977844, -0.11621171236038208, 0.044909100979566574, -0.6087127327919006, -0.24502164125442505, 0.2206878364086151, -0.4795529842376709, 0.3550676107406616, 0.6727370619773865, -0.4166421592235565, -0.5583733916282654, -0.46618756651878357, -0.07244732975959778, 0.23996783792972565, -0.8578413724899292, -0.2701840102672577, 0.84592604637146, 0.30334994196891785, 0.4168849289417267, 1.2598686218261719, -0.12285879254341125, 0.566394031047821, 0.5203231573104858, 0.48820748925209045, -0.3273496627807617, -0.5101563930511475, 0.19142071902751923, 0.5835124254226685, 0.3981475234031677, -0.2645513415336609 ]
http://arxiv.org/abs/2406.01297v1
http://arxiv.org/pdf/2406.01297v1
When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMs
2024-06-03T13:05:46
2024-06-03T13:05:46
Ryo Kamoi, Yusen Zhang, Nan Zhang, Jiawei Han, Rui Zhang
cs.CL
cs.CL
Self-correction is an approach to improving responses from large language models (LLMs) by refining the responses using LLMs during inference. Prior work has proposed various self-correction frameworks using different sources of feedback, including self-evaluation and external feedback. However, there is still no consensus on the question of when LLMs can correct their own mistakes, as recent studies also report negative results. In this work, we critically survey broad papers and discuss the conditions required for successful self-correction. We first find that prior studies often do not define their research questions in detail and involve impractical frameworks or unfair evaluations that over-evaluate self-correction. To tackle these issues, we categorize research questions in self-correction research and provide a checklist for designing appropriate experiments. Our critical survey based on the newly categorized research questions shows that (1) no prior work demonstrates successful self-correction with feedback from prompted LLMs in general tasks, (2) self-correction works well in tasks that can use reliable external feedback, and (3) large-scale fine-tuning enables self-correction.
[ -0.12192351371049881, -0.7535319328308105, 0.6070325970649719, 0.153235524892807, 0.32304859161376953, 0.006864044349640608, -0.3838309347629547, -0.4457206130027771, 0.20698130130767822, 0.6056944131851196, -0.5669446587562561, -0.06324749439954758, -0.4284229576587677, 0.6177258491516113, -0.420369952917099, 1.0293021202087402, -0.24662218987941742, 0.38925400376319885, -0.1804036796092987, -0.17171575129032135, -0.6037178039550781, -0.6108618378639221, -0.5536450147628784, -0.1469709873199463, 0.7985787987709045, 0.8498422503471375, 0.2223288118839264, 0.43694984912872314, 0.5587102770805359, 0.3728775084018707, -0.03514759987592697, 0.32442212104797363, -0.6508801579475403, 0.0988248735666275, -0.5163577795028687, -0.747763454914093, -0.3757494390010834, 0.11975035071372986, 0.5307537913322449, 0.5632886290550232, -0.2386443167924881, 0.3339855372905731, 0.38165801763534546, 0.8867683410644531, -0.6450070738792419, -0.2128283977508545, -0.46658071875572205, 0.1465318351984024, -0.308569997549057, -0.07304362952709198, -0.4263623058795929, -0.22365917265415192, -0.24830922484397888, -0.18668793141841888, 0.5238869190216064, -0.07451549172401428, 0.2318471521139145, 0.4902588427066803, -0.37594687938690186, -0.3121565878391266, -1.1328094005584717, 0.6137390732765198, -1.0354243516921997, 0.15238314867019653, 0.4416629672050476, 0.1291768103837967, -0.3511890172958374, -0.5913541913032532, -0.4245492219924927, -0.0859711766242981, -0.09938593953847885, 0.0475902184844017, 0.03758252412080765, 0.013769351877272129, 0.5087400078773499, 0.36238911747932434, -0.1715659499168396, 0.313218891620636, -0.4929695725440979, -0.2157510668039322, 0.6258319616317749, 0.24466829001903534, -0.02682034857571125, -0.10329145193099976, -0.06745181232690811, 0.020324844866991043, -0.8606631755828857, -0.09880048781633377, 0.4125117063522339, 0.27084845304489136, 0.25467658042907715, 0.7248759865760803, -0.30678319931030273, 0.5421165227890015, 0.5352560877799988, -0.17506720125675201, -0.025714144110679626, -0.3471575677394867, -0.24049422144889832, -0.007903128862380981, 0.6135405898094177, 0.4697093963623047, 0.22398579120635986, -0.11292009800672531, -0.4435518682003021, -0.2582446038722992, 0.3179454505443573, -0.3810825049877167, -0.10566999018192291, 0.23460450768470764, -0.12312521785497665, -0.022223124280571938, -0.36881211400032043, -0.4198131263256073, -0.5687170624732971, -0.40892913937568665, 0.5459474325180054, 0.16259059309959412, -0.12224726378917694, 0.24885614216327667, 0.2989981472492218, -0.15198048949241638, 0.7714372277259827, -0.7041316032409668, 0.10198132693767548, 0.26364874839782715, 0.4691576361656189, 0.008249305188655853, -0.5099211931228638, -0.2560811936855316, 0.1792321652173996, -0.6208078265190125, 1.08298659324646, 0.06129329651594162, -0.37901821732521057, 0.14658862352371216, 0.06669589132070541, -0.13079650700092316, -0.5313126444816589, 0.5238827466964722, -0.38962316513061523, 0.32958102226257324, -0.8876577019691467, -0.7089310884475708, -0.01718996837735176, 0.366544246673584, -0.34358078241348267, 0.7218185663223267, -0.24389530718326569, -1.0164109468460083, 0.17513160407543182, -0.2279094010591507, -0.31571313738822937, -0.2761380672454834, -0.15354344248771667, -0.28527116775512695, 0.1717948615550995, 0.04057011008262634, 0.4065411686897278, -0.05511479452252388, 0.16698718070983887, -0.4464227855205536, -0.15832939743995667, 0.4617655873298645, -0.3131159543991089, 0.4092024862766266, 0.13874325156211853, -0.5512467622756958, 0.22207383811473846, -0.5761476159095764, 0.07767647504806519, 0.07767368853092194, -0.21454055607318878, -0.058148093521595, -0.0929645374417305, -0.3867058753967285, 0.21719440817832947, 0.2511657774448395, -0.6555137634277344, 0.5120236277580261, -0.24509377777576447, 0.5461863875389099, 0.9154993295669556, -0.23013661801815033, 0.4668227732181549, -0.4161914885044098, 0.39788320660591125, -0.22033396363258362, 0.1657174825668335, -0.12975092232227325, -0.1028374582529068, -1.1709989309310913, 0.32318150997161865, 0.4690331816673279, 0.4320993423461914, -0.38730135560035706, 0.1439897119998932, 0.20802800357341766, -0.595788836479187, -0.3861459791660309, 0.39526551961898804, 0.41428130865097046, 0.6932350397109985, 0.45879262685775757, -0.06998727470636368, -0.6188892126083374, -0.8083713054656982, -0.439922958612442, -0.3276742994785309, 0.4015580713748932, 0.09361211955547333, 0.48674991726875305, -0.3099527955055237, 0.9133989810943604, -0.36110642552375793, -0.5607146620750427, 0.033413343131542206, 0.31663647294044495, -0.17477403581142426, 0.44253090023994446, 0.2562207877635956, -0.016255425289273262, -0.13198745250701904, -0.5351163744926453, -0.613031804561615, -0.30925020575523376, -0.010642225854098797, 0.28766942024230957, 0.42820411920547485, 0.9363386631011963, -0.3033756911754608, 0.18218427896499634, 0.6331363320350647, -0.15103299915790558, 0.8035475015640259, -0.49267008900642395, 0.29618483781814575, -0.5367200374603271, -0.11728605628013611, -0.2846144735813141, -0.1941598355770111, -0.4248758852481842, -0.16014070808887482, 0.19728916883468628, 0.5777012705802917, -0.22292280197143555, 0.6484744548797607, -0.6419709920883179, 0.12634782493114471, -0.6535446047782898, -0.06206060200929642, -0.3354499638080597, 0.20078442990779877, -0.46536722779273987, 0.7742598652839661, 0.20756582915782928, -0.7417230606079102, 0.2150983065366745, 0.014696447178721428, -0.15483030676841736, 0.6168790459632874, -0.5815533399581909, 0.4311464726924896, -0.2994476854801178, 0.28877103328704834, -1.2803987264633179, -0.35555869340896606, 0.4774915277957916, -0.30171796679496765, 0.38142508268356323, -0.07745932787656784, -0.3714485764503479, -0.6242998838424683, -0.1086340919137001, 0.4624788463115692, 0.0901527851819992, -0.5574533343315125, 0.27144232392311096, 0.24074594676494598, -0.1728105992078781, -0.8466430902481079, -0.8318143486976624, 0.14308667182922363, 0.11750822514295578, -0.5132195949554443, -0.11573988199234009, -0.39839839935302734, -0.29610705375671387, -0.017663056030869484, -0.18012884259223938, 0.10862533748149872, -0.1627204716205597, 0.1271231770515442, -0.23384834825992584, -0.09003385901451111, 0.34090954065322876, -0.378522127866745, 0.015184231102466583, 0.10193891078233719, 0.18302476406097412, 0.2320317029953003, -0.1977226436138153, -0.7245422005653381, -0.1373147964477539, -0.11443916708230972, 0.23082152009010315, -0.08167435973882675, 0.20304737985134125, 0.22502772510051727, -0.17174285650253296, -0.2202634960412979, -1.3341634273529053, -0.35698649287223816, -0.4518204629421234, 0.11926814168691635, -0.19021496176719666, -1.2092010974884033, 0.5929473042488098, 0.23586809635162354, 0.10844297707080841, 0.7766926288604736, 0.6157423853874207, -0.5804203748703003, 0.8977999687194824, 0.577777087688446, 0.08059185743331909, 0.1491289585828781, -0.19224277138710022, 0.1905195564031601, -0.8068714737892151, -0.018411852419376373, -0.7204380035400391, -0.2926006615161896, -0.5922892689704895, -0.4249063730239868, 0.15143023431301117, -0.05897672474384308, -0.08130668103694916, 0.07534828037023544, -0.26672133803367615, 0.31223610043525696, 0.4979361593723297, 0.07221922278404236, 0.39252686500549316, -0.35518690943717957, 0.030017858371138573, -0.38123205304145813, -0.6831427812576294, -0.4011649191379547, 1.0405923128128052, 0.4612152576446533, 1.3327088356018066, -0.17958280444145203, 0.7611778378486633, 0.22385787963867188, 0.6229491829872131, -0.668734073638916, 0.3751160204410553, 0.20641201734542847, -0.8821720480918884, -0.564360499382019, -0.3157894015312195, -0.9443203210830688, 0.10378549247980118, 0.02344139665365219, -0.2860766053199768, 0.34651729464530945, 0.6379277110099792, -0.45963817834854126, 0.35092782974243164, -0.6057409644126892, 0.7634714841842651, -0.5551929473876953, -0.46072328090667725, -0.29862701892852783, -0.6455305218696594, 0.4846912920475006, -0.16724470257759094, 0.3960549533367157, -0.3483704626560211, 0.10534864664077759, 0.6789141893386841, -0.2508220970630646, 1.1364814043045044, -0.2156766802072525, -0.6175870895385742, 0.4462684690952301, 0.2879237234592438, 0.4521954655647278, -0.10782615840435028, 0.06629229336977005, -0.0334053672850132, 0.14883722364902496, -0.2225418984889984, -0.8284584879875183, 0.5760295987129211, -0.6096629500389099, -1.0353039503097534, -0.6654055118560791, -0.09118089824914932, -0.4344818890094757, 0.178462415933609, 0.3511926829814911, 0.20047543942928314, -0.14103282988071442, -0.004137573763728142, 0.4807652235031128, 0.17767992615699768, 0.3897947072982788, 1.055412769317627, -0.3618452250957489, -0.38282695412635803, 0.5335923433303833, 0.660534679889679, 0.13670742511749268, 0.00042257230961695313, 0.1667303889989853, -0.34898534417152405, -0.6957162618637085, -0.4316876530647278, 0.5676241517066956, -0.7871823906898499, -0.29110395908355713, -0.5013342499732971, -0.033976249396800995, -0.7131350636482239, 0.1667797714471817, -0.7861085534095764, -0.26811376214027405, -0.33075428009033203, 0.03130627050995827, -0.017755022272467613, 1.2340168952941895, -0.5327576398849487, 0.18533477187156677, -0.7851555347442627, 0.08430972695350647, 0.5126057863235474, 0.44251343607902527, -0.018528182059526443, -0.8063995838165283, -0.24940532445907593, 0.21489429473876953, -0.19404347240924835, -0.7704973816871643, 0.12189173698425293, -0.0819087103009224, 0.5573201775550842, 0.15539824962615967, 0.07974575459957123, 0.9326174259185791, -0.651665210723877, 0.6797453165054321, 0.040534693747758865, -0.7795836329460144, 0.6098250150680542, -0.21750369668006897, 0.2242446392774582, 0.5682628154754639, 0.13911809027194977, -0.8667740821838379, -0.45885294675827026, -0.6116496920585632, -0.5957252383232117, 0.4538184404373169, 0.002647937275469303, 0.06124977394938469, -0.011040177196264267, 0.7907229661941528, -0.13769996166229248, 0.029140179976820946, -0.718150794506073, -0.28733721375465393, 0.007643287535756826, 0.18020641803741455, -0.4610414505004883, -0.6165284514427185, -0.4948521554470062, -0.19657643139362335, 0.757585346698761, -0.4071079194545746, 0.04283544793725014, 0.7557991147041321, -0.26471197605133057, -0.591251015663147, 0.37459686398506165, 0.8084813952445984, 0.8404225707054138, -0.02038862556219101, 0.21264074742794037, 0.4446485936641693, 0.0619284063577652, 0.45545467734336853, -0.33744728565216064, -0.06639963388442993, -0.279913991689682, 0.24558775126934052, 0.2424219846725464, 0.19304674863815308, -0.417860209941864, 0.5534968972206116, -0.3659788966178894, -0.07459770143032074, -0.3988683223724365, 0.0637659952044487, 0.059901054948568344, 0.1930208057165146, 0.1922486126422882, 0.24498677253723145, 0.2435276210308075, -0.4298330545425415, 0.09010964632034302, 0.44358670711517334, -0.1999846249818802, -0.2814734876155853, 0.4891136884689331, 0.15286563336849213, -0.18926569819450378, 0.3669865131378174, -0.1160765141248703, -0.2640555799007416, 0.34709447622299194, 0.625198245048523, 0.7428423166275024, -0.6261494159698486, 0.17224165797233582, 0.5241299867630005, 0.503862202167511, -0.5489145517349243, 0.20558209717273712, 0.1663386970758438, -0.8555481433868408, -0.7449005246162415, -0.36983415484428406, -0.8111864924430847, 0.22202083468437195, -0.517885148525238, 0.12225580960512161, -0.5990496277809143, -0.35540419816970825, -0.2104378193616867, -0.30397459864616394, -0.4760795533657074, 0.5750991106033325, -0.011409447528421879, 0.7109273672103882, -0.6407827138900757, 0.475062757730484, 0.6367533802986145, -0.29908299446105957, -0.8841710090637207, -0.03288509324193001, 0.06640946120023727, -0.85952228307724, 0.5445759296417236, -0.0999804362654686, -0.3905099630355835, -0.21390050649642944, -0.8325891494750977, -1.179745078086853, 0.4105575680732727, 0.4996071755886078, -0.8226333856582642, 0.0025715178344398737, 0.06252121925354004, 0.7698761224746704, 0.1072499006986618, 0.30502328276634216, 0.3350033760070801, 0.4497647285461426, 0.0848580002784729, -1.0563160181045532, -0.0464676134288311, 0.09457438439130783, -0.07547836750745773, -0.05400193855166435, -0.9344775676727295, 0.7340908646583557, -0.5024499893188477, 0.018646106123924255, 0.17421911656856537, 0.7825964093208313, -0.13075120747089386, -0.03800978511571884, 0.5361384749412537, 0.6856062412261963, 0.7353670001029968, -0.04142400994896889, 0.7808408141136169, -0.28212934732437134, 0.5412189960479736, 1.3739889860153198, -0.24103663861751556, 0.7557603120803833, 0.36391401290893555, -0.24651403725147247, 0.22247986495494843, 0.7237931489944458, -0.04684764891862869, 0.15545640885829926, 0.3047170042991638, 0.08429333567619324, -0.3230215907096863, 0.18502509593963623, -0.4886839985847473, 0.3860766887664795, 0.206107497215271, -0.10877056419849396, -0.06931690126657486, -0.11115583032369614, 0.005280936602503061, 0.06181086227297783, -0.34725579619407654, 0.7332792282104492, 0.05445939302444458, -0.9381474256515503, 0.44943392276763916, 0.1440982222557068, 0.712152898311615, -0.3889206051826477, 0.17232875525951385, -0.5470055341720581, 0.36948874592781067, -0.5251113772392273, -0.840340256690979, 0.4356262683868408, -0.12302372604608536, -0.2611047029495239, -0.31452304124832153, 0.81682950258255, -0.3803395926952362, -0.30188530683517456, 0.23139937222003937, 0.6670190691947937, 0.08693435788154602, -0.13781701028347015, -0.5188515782356262, -0.05059008672833443, -0.07600869238376617, -0.1163702979683876, 0.08030629903078079, 0.4255613088607788, 0.33389219641685486, 0.8112711310386658, 0.28339314460754395, 0.25844791531562805, 0.2524167001247406, 0.20878663659095764, 0.3760805130004883, -0.8950493335723877, -0.01287717092782259, -0.6993816494941711, 0.41829755902290344, 0.2153899073600769, -0.47230660915374756, 1.1532224416732788, 0.39862048625946045, 1.1249936819076538, -0.2518749535083771, 0.7891530990600586, 0.21780692040920258, 0.945379376411438, -0.5818353891372681, 0.11671696603298187, -0.5604726672172546, 0.07840488106012344, -0.31282559037208557, -0.6695200204849243, -0.21926945447921753, 0.6643124222755432, -0.3996092677116394, 0.23517851531505585, 0.7579541802406311, 0.8530089259147644, 0.36889636516571045, -0.03599138557910919, 0.31159934401512146, 0.7573636174201965, 0.27090054750442505, 0.01401308923959732, 1.237381935119629, -0.430467426776886, 0.3960370719432831, -0.42299699783325195, -0.02987085096538067, -0.2781359553337097, -0.7798523902893066, -0.6333057284355164, -0.3451126515865326, -0.5439358949661255, -0.5548052787780762, 0.2602395713329315, 0.9046846032142639, 0.40584415197372437, -1.002094030380249, -0.41060298681259155, 0.10665658861398697, 0.20718814432621002, -0.007865739986300468, -0.1093030571937561, 0.01505274698138237, -0.8262302279472351, -0.7128381133079529, 0.4192714989185333, 0.19160392880439758, 0.21933849155902863, -0.4733366370201111, 0.06255269795656204, 0.10344245284795761, -0.07429888844490051, 0.445965051651001, 0.5897212624549866, -0.8282392621040344, -0.49226200580596924, 0.14793989062309265, -0.4649019241333008, 0.2943263351917267, 0.9979596734046936, -0.2922196388244629, 0.5795477628707886, 0.4028834402561188, 0.5153250098228455, 0.3151845932006836, -0.2138051837682724, 0.5524725317955017, -0.4081186056137085, -0.47178414463996887, 0.209553062915802, 0.5490102767944336, 0.5844411849975586, -0.42007189989089966, 0.5697309374809265, 0.3765774965286255, -1.1129690408706665, -0.6768040060997009, 0.06023821607232094, -0.6822540760040283, -0.05932076275348663, 1.282078742980957, -0.04339563846588135, -0.10555476695299149, 0.01333350408822298, -0.6419067978858948, 0.17835599184036255, 0.07276452332735062, 1.0226919651031494, 0.9136584401130676, -0.44553446769714355, -0.07258569449186325, -0.29400625824928284, 0.5475108623504639, 0.7831737399101257, -0.6181779503822327, 0.32697269320487976, 0.617289662361145, 0.6259670257568359, 0.20019832253456116, 0.946979820728302, 0.014488624408841133, 0.21253441274166107, -0.3244430124759674, 0.13535262644290924, 0.45071277022361755, -0.3724784553050995, -0.6491551399230957, -0.0010232549393549562, 0.5522315502166748, 0.2612946927547455 ]
http://arxiv.org/abs/2406.01288v1
http://arxiv.org/pdf/2406.01288v1
Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses
2024-06-03T12:59:17
2024-06-03T12:59:17
Xiaosen Zheng, Tianyu Pang, Chao Du, Qian Liu, Jing Jiang, Min Lin
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
Recently, Anil et al. (2024) show that many-shot (up to hundreds of) demonstrations can jailbreak state-of-the-art LLMs by exploiting their long-context capability. Nevertheless, is it possible to use few-shot demonstrations to efficiently jailbreak LLMs within limited context sizes? While the vanilla few-shot jailbreaking may be inefficient, we propose improved techniques such as injecting special system tokens like [/INST] and employing demo-level random search from a collected demo pool. These simple techniques result in surprisingly effective jailbreaking against aligned LLMs (even with advanced defenses). For examples, our method achieves >80% (mostly >95%) ASRs on Llama-2-7B and Llama-3-8B without multiple restarts, even if the models are enhanced by strong defenses such as perplexity detection and/or SmoothLLM, which is challenging for suffix-based jailbreaking. In addition, we conduct comprehensive and elaborate (e.g., making sure to use correct system prompts) evaluations against other aligned LLMs and advanced defenses, where our method consistently achieves nearly 100% ASRs. Our code is available at https://github.com/sail-sg/I-FSJ.
[ -0.30412837862968445, -0.6763026118278503, 0.572349488735199, 0.1462179571390152, -0.43056634068489075, 0.37584730982780457, -0.21422943472862244, -0.48507925868034363, 0.23175084590911865, 0.49786368012428284, -0.5170879364013672, -0.5282062292098999, -0.6208227276802063, 0.12295123934745789, -0.35448840260505676, 0.9215423464775085, -0.12017764896154404, -0.04155081510543823, 0.14808838069438934, -0.21052859723567963, -0.36237582564353943, -0.22590593993663788, -0.09855694323778152, -0.2389078289270401, 0.2639252841472626, 0.6729174256324768, 0.49102315306663513, 0.7566982507705688, 0.6813477277755737, 0.21198458969593048, -0.47217291593551636, 0.072493776679039, -0.5489851832389832, 0.026180321350693703, 0.08807611465454102, -0.42243921756744385, -0.3793933689594269, -0.09741876274347305, 0.4896489381790161, 0.16109515726566315, -0.21979357302188873, -0.02948746271431446, 0.049320533871650696, 0.6609110832214355, -0.8698658347129822, -0.39787814021110535, -0.948321521282196, -0.10987398773431778, -0.6520452499389648, 0.158246710896492, -0.46340346336364746, -0.007897662930190563, -0.3150469958782196, -0.6652191877365112, -0.37788593769073486, 0.17166653275489807, 0.9270721673965454, 0.23532366752624512, -0.38469046354293823, -0.020377932116389275, -0.43654870986938477, 0.7882592678070068, -0.8635541796684265, 0.17390111088752747, 0.35477539896965027, 0.6252317428588867, -0.5295540690422058, -0.6122541427612305, -0.41646769642829895, -0.37532398104667664, -0.022070128470659256, -0.16021375358104706, -0.43918755650520325, 0.19217410683631897, 0.4560813009738922, 0.023909181356430054, -0.30721187591552734, 0.4193137586116791, -0.38134530186653137, -0.16245664656162262, 0.5915406346321106, 0.14267660677433014, 0.23188751935958862, -0.4085521399974823, -0.7264163494110107, 0.08144674450159073, -1.3343693017959595, 0.16787885129451752, 0.527328372001648, 0.35209476947784424, -0.23085683584213257, 0.6926895380020142, -0.2841503322124481, 0.5710580945014954, 0.0716998502612114, -0.46166935563087463, -0.006075878161936998, -0.33867359161376953, -0.06720618158578873, -0.0730743259191513, 0.7811354398727417, 0.28756117820739746, 0.021633513271808624, -0.12477219849824905, -0.3541945517063141, -0.08572129160165787, 0.11984668672084808, -0.7954971194267273, -0.01550251618027687, 0.2501603364944458, -0.41254884004592896, -0.1855076551437378, 0.10178381949663162, -0.5855789184570312, -0.6158215403556824, 0.22023078799247742, 0.3502213954925537, -0.7745595574378967, 0.1184363141655922, 0.013096329756081104, -0.2920747995376587, 0.5099977850914001, 0.20268167555332184, -0.7689809799194336, 0.444070428609848, 0.9794440865516663, 0.960089921951294, -0.12475531548261642, -0.2281927466392517, -0.6695054173469543, 0.26187819242477417, -0.011912930756807327, 0.77316814661026, -0.46770167350769043, -0.39901769161224365, -0.2631252706050873, -0.43935471773147583, 0.2089119553565979, -0.5456165671348572, 0.28731751441955566, -0.5817782878875732, -0.4646052420139313, -0.035566531121730804, -0.7117635011672974, 0.2549121677875519, 0.4771166443824768, -0.5177308320999146, 0.6155293583869934, -0.24792520701885223, -0.6051364541053772, 0.21696731448173523, -0.4851500988006592, -0.5527095794677734, -0.16486287117004395, -0.20110003650188446, -0.498691201210022, 0.0500338189303875, 0.5053645372390747, 0.2692759931087494, 0.005607573315501213, 0.09120932966470718, -0.50691157579422, -0.7139015793800354, 0.15373922884464264, -0.21638788282871246, 0.8334546685218811, 0.4263235926628113, -0.41766300797462463, -0.0062424661591649055, -0.620431125164032, -0.16698132455348969, 0.206096351146698, -0.27749574184417725, -0.3869728744029999, -0.06599194556474686, -0.33721739053726196, -0.12056264281272888, 0.2450135350227356, -0.7302604913711548, 0.5808445811271667, -0.6262751817703247, 0.4047439396381378, 0.7967102527618408, -0.05742458254098892, 0.618942379951477, -0.22046953439712524, 0.7039788961410522, -0.0016023063799366355, 0.16025136411190033, -0.43121346831321716, -0.2694810628890991, -0.5168534517288208, -0.8384770750999451, 0.09508558362722397, 0.5235722661018372, -0.6931545734405518, 0.19115599989891052, -0.10984282195568085, -0.4906233847141266, -0.6212248802185059, 0.5565225481987, 0.7927300930023193, 0.24081194400787354, 0.45226815342903137, -0.23138010501861572, -0.7333011627197266, -0.7964291572570801, -0.7486666440963745, -0.203154519200325, 0.08714944869279861, 0.11130734533071518, 0.43391093611717224, -0.07725247740745544, 0.9619558453559875, -0.4354245066642761, -0.15229958295822144, -0.3458697199821472, -0.16567111015319824, 0.27565354108810425, 0.47790151834487915, 0.6187655925750732, -0.19640584290027618, -0.4231193959712982, -0.21204738318920135, -0.6167643666267395, -0.15426136553287506, -0.019790321588516235, 0.06033451110124588, 0.008108030073344707, 0.7446478009223938, -0.6564257740974426, 0.563240647315979, 0.3711683452129364, -0.3458210527896881, 0.626339852809906, 0.1673581749200821, -0.08078905194997787, -0.8716492652893066, -0.2688705027103424, -0.020621197298169136, -0.49166667461395264, -0.5710238218307495, 0.5454156398773193, 0.1785399615764618, 0.22471939027309418, -0.7116355895996094, 0.6491499543190002, -0.5941842198371887, 0.0670672357082367, -0.4974345862865448, 0.16303139925003052, -0.30811601877212524, 0.07147271186113358, -0.4989224374294281, 0.7071862816810608, 0.45802968740463257, -0.24360132217407227, 0.1944602131843567, 0.28579631447792053, -0.4590093493461609, 0.3698430359363556, -0.513418436050415, 0.3022572994232178, -0.19363687932491302, 0.5440995097160339, -1.040304183959961, -0.16659313440322876, 0.16348569095134735, -0.06525089591741562, 0.3405633866786957, -0.5541327595710754, -0.3632930517196655, -0.15790396928787231, -0.6743370294570923, 0.1976337879896164, 0.5756146907806396, -0.8942999243736267, 0.24654139578342438, 0.2804185450077057, 0.028949646279215813, -0.9031831622123718, -0.67242830991745, 0.3231094479560852, -0.5895106196403503, -0.7182369232177734, 0.4915199279785156, 0.11694321036338806, -0.5091686844825745, -0.3215498924255371, -0.2729235291481018, 0.073558509349823, 0.45179757475852966, 0.3313497304916382, 0.3590626120567322, -0.21505412459373474, -0.3072519302368164, 0.14270882308483124, -0.22977346181869507, -0.4029000401496887, -0.1594744324684143, 0.5014699101448059, -0.3840373456478119, -0.649583101272583, -0.633682370185852, 0.10418929904699326, 0.43588992953300476, -0.1256890892982483, 0.6004428267478943, 0.26850077509880066, -0.264139324426651, -0.031298935413360596, -0.6632581353187561, -0.37794730067253113, -0.5160319209098816, 0.12543994188308716, -0.5392224192619324, -1.2942001819610596, 0.47200876474380493, -0.22073715925216675, 0.2013140171766281, -0.029335912317037582, 0.24401618540287018, -0.17159950733184814, 0.8055826425552368, 0.665859043598175, -0.4986315369606018, 0.6350806951522827, -0.07380209863185883, 0.274036705493927, -0.7842773795127869, 0.0987587422132492, -0.39837023615837097, -0.562339186668396, -0.4961206614971161, -0.17846541106700897, 0.4042693078517914, 0.6136521100997925, -0.248304083943367, 0.6684098243713379, -0.10612982511520386, 0.9200229048728943, 0.2259150743484497, 0.2229405790567398, 0.5322837233543396, -0.0449846126139164, -0.24785974621772766, -0.009421960450708866, -0.630032479763031, -0.7534485459327698, 1.2554657459259033, 0.5276555418968201, 0.984663188457489, 0.3969012498855591, 1.2634260654449463, -0.10383304953575134, 0.46410319209098816, -0.733199954032898, 0.5570825338363647, -0.24282877147197723, -0.5998324155807495, -0.10922453552484512, -0.06287625432014465, -0.6292134523391724, 0.2757502794265747, -0.08718327432870865, -1.227717638015747, -0.10766132175922394, 0.3779270648956299, -0.7294976115226746, 0.3119492530822754, -0.6412219405174255, 0.7331083416938782, -0.116044782102108, -0.4155236780643463, -0.2744218409061432, -0.9304678440093994, 0.83748859167099, 0.11825507134199142, 0.1931174397468567, -0.31646499037742615, -0.09600000083446503, 0.5097379088401794, -0.9163885712623596, 1.048751711845398, -0.3598576784133911, 0.11171671748161316, 0.4117671251296997, 0.09825663268566132, 0.6984570026397705, 0.12402735650539398, -0.009326853789389133, -0.04575180262327194, -0.1753566414117813, -0.4282028079032898, -0.5706593990325928, 0.6519537568092346, -0.5952714085578918, -0.885422945022583, -0.04857921600341797, -0.40601950883865356, -0.05539761856198311, -0.05675153061747551, 0.3120826184749603, -0.04321220889687538, -0.2223745435476303, -0.08455915004014969, 0.2997678518295288, 0.0753098800778389, 0.6554619073867798, 0.35661065578460693, -0.23122431337833405, -0.3704566955566406, 0.5118250250816345, -0.12126579135656357, 0.31381502747535706, 0.0779777243733406, 0.22081075608730316, -0.028032289817929268, -0.8149319887161255, -0.48488104343414307, 0.11586317420005798, -0.4910210072994232, -0.7140161991119385, -0.3679730296134949, -0.12748563289642334, -0.28449708223342896, -0.4334068298339844, -0.5210192799568176, -0.8240433931350708, 0.011994668282568455, -0.20871442556381226, 0.6348434686660767, 0.5556607246398926, -0.19302183389663696, 0.9345611333847046, -0.7657482624053955, 0.4334011375904083, 0.14048880338668823, 0.1588650941848755, -0.14045390486717224, -0.746155321598053, 0.031452011317014694, -0.1264585703611374, -0.4813742935657501, -1.0084198713302612, 0.15440578758716583, 0.16840150952339172, 0.38696712255477905, 0.6525803804397583, 0.00731984619051218, 1.22795569896698, -0.7357245087623596, 0.7114935517311096, 0.31145182251930237, -1.123382568359375, 0.6713970899581909, -0.25193652510643005, 0.10633450001478195, 0.7158321142196655, -0.016989361494779587, -0.27627894282341003, -0.7858161330223083, -0.4339558482170105, -0.9727528095245361, 0.7339368462562561, 0.06386373192071915, 0.20944903790950775, 0.06038973480463028, 0.568545401096344, -0.006005395203828812, -0.03375852853059769, -0.8618348240852356, -0.19258178770542145, 0.05991552397608757, -0.18164128065109253, 0.2729398310184479, -0.25768807530403137, -0.3563374876976013, -0.3013158142566681, 0.6837723851203918, -0.061892230063676834, -0.15625672042369843, 0.013231771998107433, -0.3976849615573883, 0.13049349188804626, 0.5823848247528076, 0.5752041935920715, 0.28085291385650635, -0.03988169506192207, 0.32159605622291565, 0.38461798429489136, -0.347711443901062, 0.5089720487594604, 0.07480546832084656, -0.30976834893226624, -0.2484772801399231, 0.3037671148777008, 0.7702581882476807, 0.06442397832870483, -0.7949724197387695, 0.7769690155982971, 0.14071619510650635, 0.170502707362175, -0.1400218904018402, 0.28823789954185486, 0.01284602377563715, 0.5453649163246155, 0.24622167646884918, -0.14832793176174164, -0.1788557916879654, -0.397735059261322, 0.3843647241592407, 0.6159219145774841, -0.3598717749118805, -0.12969374656677246, 0.5673388242721558, 0.04866287112236023, -0.16691134870052338, 0.5092772245407104, -0.4145943820476532, -0.4637482762336731, 0.5049967765808105, 0.9717706441879272, 0.8005315065383911, -0.13687868416309357, -0.13827675580978394, 0.15990394353866577, 0.5562747716903687, -0.37607240676879883, 0.09230397641658783, -0.05896721035242081, -0.886269211769104, -0.4277452230453491, -0.3958173096179962, -0.284549355506897, -0.09985830634832382, -0.3571056127548218, 0.5458658933639526, -0.9206666946411133, -0.11714308708906174, -0.23501208424568176, -0.33446529507637024, -0.23998524248600006, -0.44804027676582336, 0.21340078115463257, 1.2514945268630981, -0.6975921988487244, 0.8401488065719604, 0.7162739634513855, -0.1208924874663353, -0.592987060546875, -0.017140302807092667, 0.6899844408035278, -0.8309320211410522, 0.45000171661376953, 0.3527008891105652, -0.29977473616600037, -0.13861379027366638, -1.1191707849502563, -0.7783396244049072, 1.1525993347167969, 0.5312275290489197, -0.8690185546875, 0.22632749378681183, -0.19435575604438782, 0.251076340675354, -0.3325679898262024, 0.0950489342212677, 1.042815089225769, 0.5120949745178223, -0.07669265568256378, -0.9235754609107971, 0.05799626186490059, -0.05284944549202919, -0.22539260983467102, 0.22138386964797974, -0.7411288022994995, 0.46923187375068665, -0.6698118448257446, -0.11112856864929199, 0.5611960291862488, 0.8510237336158752, 1.0013500452041626, 0.32608118653297424, 0.6321117877960205, 0.8448238372802734, 0.6642745137214661, -0.04289267212152481, 0.982056200504303, -0.17734543979167938, 0.08158977329730988, 1.2815971374511719, -0.4768722951412201, 1.0574547052383423, 1.063481092453003, -0.02444845624268055, 0.5142642855644226, 0.1248275488615036, 0.1607711762189865, 0.6346638798713684, 0.46240469813346863, -0.42291203141212463, -0.24761922657489777, 0.0387178473174572, 0.09240712225437164, 0.7521358132362366, 0.3182847201824188, 0.1131649762392044, -0.30904334783554077, 0.15394270420074463, 0.5296047925949097, 0.23620270192623138, -0.11079928278923035, 0.7998003363609314, 0.4109559953212738, -0.4736091196537018, 0.6069053411483765, 0.4317398965358734, 1.0353389978408813, -0.6071665287017822, 0.23095497488975525, -0.26507091522216797, 0.08994507789611816, -0.35076749324798584, -0.5412619113922119, 0.1988973170518875, 0.7678148150444031, 0.2871890366077423, -0.3022172152996063, 0.940670371055603, -0.1263439804315567, -0.056472573429346085, 0.23918698728084564, 0.48461440205574036, 0.10465704649686813, 0.08325185626745224, -0.3905256688594818, 0.09711877256631851, -0.051100559532642365, -0.23099759221076965, 0.4509787857532501, -0.06579618901014328, -0.09465855360031128, 0.6701406836509705, 0.4808431565761566, -0.10366661101579666, 0.27957579493522644, -0.046584565192461014, 1.1240836381912231, -0.8061573505401611, -0.3488168716430664, -1.3726686239242554, 0.6122376322746277, -0.10315942019224167, -0.15984807908535004, 0.81293123960495, 0.6116008758544922, 0.8034045696258545, 0.30074262619018555, 0.6762264966964722, -0.04723130539059639, 0.19392156600952148, -0.7366695404052734, 0.6897335052490234, -0.39630362391471863, 0.8310640454292297, -0.3384603261947632, -0.6061233282089233, -0.41992485523223877, 0.6656617522239685, -0.30959072709083557, -0.39139074087142944, 0.4836384654045105, 0.9291402101516724, -0.22825035452842712, -0.11076340079307556, 0.18316543102264404, 0.2649325430393219, 0.4022698700428009, 0.6805543303489685, 1.3234342336654663, -0.47577351331710815, 0.6590928435325623, -0.3396948277950287, -0.18789048492908478, -0.16044914722442627, -1.0721931457519531, -0.7936658263206482, 0.15724940598011017, -0.19204802811145782, -0.3458269238471985, 0.32746389508247375, 1.1647676229476929, 0.617876410484314, -0.7868267297744751, -0.373809814453125, 0.03859320282936096, 0.37368643283843994, -0.09183359146118164, -0.09495857357978821, -0.09284060448408127, -0.3768792450428009, -0.38474681973457336, 1.0557447671890259, 0.48842108249664307, 0.15722139179706573, 0.04559757933020592, -0.22043940424919128, -0.1489619016647339, -0.09841702878475189, 0.39936333894729614, 0.4873889088630676, -0.8604602217674255, -0.5550002455711365, -0.05093370005488396, -0.2865073084831238, 0.22632741928100586, 0.7070862650871277, -0.842915952205658, 0.17084869742393494, 0.3903212249279022, 0.7393398284912109, 0.52439284324646, 0.18587280809879303, 0.41206464171409607, -1.144352674484253, 0.5123818516731262, 0.06697080284357071, 0.6010258197784424, 0.23695823550224304, -0.04495251178741455, 0.3316265344619751, 0.06370337307453156, -0.17635151743888855, -0.8919495940208435, 0.5166541337966919, -0.811931848526001, -0.3429912328720093, 1.2062911987304688, -0.26909562945365906, -0.31238818168640137, 0.03411657363176346, -0.09670380502939224, -0.004662349354475737, -0.4551355540752411, 0.7174463868141174, 0.6283862590789795, -0.18514670431613922, 0.020253963768482208, -0.256285160779953, 0.39186424016952515, 0.6002150177955627, -0.8130386471748352, 0.01968914270401001, 0.4114304482936859, 0.3318382203578949, -0.08666249364614487, 0.5829417705535889, -0.37077340483665466, 0.19585466384887695, -0.2833940088748932, -0.13833977282047272, -0.05331087484955788, -0.45807209610939026, -0.7763368487358093, -0.023148491978645325, 0.3123116195201874, -0.1034231036901474 ]
http://arxiv.org/abs/2406.01283v1
http://arxiv.org/pdf/2406.01283v1
Focus on the Core: Efficient Attention via Pruned Token Compression for Document Classification
2024-06-03T12:51:52
2024-06-03T12:51:52
Jungmin Yun, Mihyeon Kim, Youngbin Kim
cs.CL
cs.CL, cs.AI
Transformer-based models have achieved dominant performance in numerous NLP tasks. Despite their remarkable successes, pre-trained transformers such as BERT suffer from a computationally expensive self-attention mechanism that interacts with all tokens, including the ones unfavorable to classification performance. To overcome these challenges, we propose integrating two strategies: token pruning and token combining. Token pruning eliminates less important tokens in the attention mechanism's key and value as they pass through the layers. Additionally, we adopt fuzzy logic to handle uncertainty and alleviate potential mispruning risks arising from an imbalanced distribution of each token's importance. Token combining, on the other hand, condenses input sequences into smaller sizes in order to further compress the model. By integrating these two approaches, we not only improve the model's performance but also reduce its computational demands. Experiments with various datasets demonstrate superior performance compared to baseline models, especially with the best improvement over the existing BERT model, achieving +5%p in accuracy and +5.6%p in F1 score. Additionally, memory cost is reduced to 0.61x, and a speedup of 1.64x is achieved.
[ -0.3626953959465027, -0.30568429827690125, 0.16850432753562927, 0.18262813985347748, -0.502260684967041, -0.058787036687135696, -0.4539373815059662, -0.42966803908348083, 0.015481626614928246, 0.4260045886039734, -0.4763847589492798, -0.09956294298171997, -0.8005942106246948, 0.027255158871412277, -0.6501875519752502, 1.0439883470535278, 0.3663381040096283, -0.15195392072200775, -0.2724577784538269, 0.042544588446617126, -0.435069739818573, -0.9377424716949463, -0.6520771384239197, -0.10959211736917496, 0.4879215955734253, 0.23002123832702637, 0.6494035124778748, 0.6587424278259277, 0.9567834734916687, 0.358405739068985, -0.23743049800395966, 0.15214519202709198, -0.3299770951271057, 0.004447590559720993, -0.19654695689678192, -0.6544247269630432, -0.3061806857585907, 0.03133811801671982, 0.45687252283096313, 0.48234209418296814, 0.06351451575756073, 0.15160204470157623, 0.1598271280527115, 0.5230481624603271, -0.5851518511772156, 0.19489002227783203, -0.6204853057861328, 0.23216578364372253, -0.0400020107626915, -0.046188849955797195, -0.6359280943870544, 0.05084718391299248, 0.06714785844087601, -0.3320005238056183, 0.7776260375976562, 0.09511793404817581, 1.0452550649642944, 0.6304380297660828, -0.08966720849275589, 0.07897776365280151, -0.7138426899909973, 0.8647043704986572, -0.6241551637649536, 0.4901977479457855, 0.07831642776727676, 0.033391810953617096, 0.21136213839054108, -1.1956499814987183, -0.6891524195671082, 0.21989330649375916, -0.37121737003326416, 0.18320435285568237, -0.338641494512558, 0.39036256074905396, 0.2051822990179062, 0.5549978017807007, -0.3117683231830597, 0.0813063532114029, -0.5144503116607666, -0.3248964250087738, 0.4072168171405792, -0.1582924723625183, 0.05278337746858597, -0.3238738179206848, -0.4448072612285614, -0.5271046161651611, -0.14955630898475647, -0.0431310273706913, 0.2328101098537445, 0.4198656976222992, 0.38652411103248596, 0.47670429944992065, 0.20954179763793945, 0.7675309777259827, 0.417035847902298, -0.1590106040239334, 0.26927870512008667, -0.4476009011268616, -0.36241427063941956, -0.056664880365133286, 0.6395096182823181, 0.3222477436065674, 0.010554306209087372, -0.466890811920166, -0.27369022369384766, 0.2135237157344818, 0.8470917344093323, -0.664835512638092, -0.24778926372528076, 0.3855656385421753, -0.7151175737380981, -0.4010228216648102, 0.0693875104188919, -0.6968140006065369, 0.07589180022478104, -0.5695751309394836, 0.4663701355457306, -0.45817455649375916, -0.146556556224823, 0.06553596258163452, -0.3485724627971649, 0.2618391513824463, 0.3913883566856384, -0.8992388844490051, 0.32130327820777893, 1.1048331260681152, 0.8619720339775085, -0.3277413845062256, -0.15423844754695892, -0.49595901370048523, 0.01877504587173462, 0.0007622718694619834, 0.75346839427948, -0.2840626835823059, -0.28691235184669495, -0.11349014937877655, -0.21717555820941925, -0.23301437497138977, -0.4231342375278473, 1.1967811584472656, -0.34677237272262573, 0.30165669322013855, 0.15115004777908325, -0.5312555432319641, -0.2261553704738617, 0.3079906105995178, -0.7023642659187317, 1.334538459777832, 0.31912529468536377, -1.1157406568527222, 0.3092982769012451, -0.6219332814216614, -0.6092520356178284, 0.06517615914344788, 0.1771056354045868, -0.5197436213493347, 0.324749618768692, 0.3887907862663269, 0.6728752851486206, -0.30954545736312866, 0.47275546193122864, 0.21795105934143066, -0.43108680844306946, -0.06292740255594254, -0.37639597058296204, 0.46758294105529785, 0.26893433928489685, -0.3415255546569824, 0.31313401460647583, -0.5813376307487488, -0.09722741693258286, 0.068782277405262, -0.3501726984977722, -0.05373791232705116, -0.11173222213983536, 0.408815860748291, 0.33461225032806396, 0.22980773448944092, -0.35127678513526917, 0.25974953174591064, -0.704767644405365, 0.6457273364067078, 0.7216733694076538, -0.1660488247871399, 0.719379723072052, -0.4606544077396393, 0.2579466700553894, 0.12668046355247498, 0.6277189254760742, -0.2954826056957245, -0.3289716839790344, -1.1884738206863403, -0.523610532283783, 0.7861033082008362, 0.24664324522018433, -0.43453308939933777, 0.8749361038208008, -0.5118403434753418, -0.677280068397522, -0.7985742688179016, -0.015299102291464806, 0.12432125955820084, 0.6425238251686096, 0.5047221779823303, -0.4455350339412689, -0.34439343214035034, -0.9997608065605164, -0.20433562994003296, -0.29367733001708984, -0.2728188633918762, 0.2558829188346863, 0.20538070797920227, -0.01806340552866459, 1.136440634727478, -0.4686010181903839, -0.6782801747322083, -0.43873146176338196, 0.32160326838493347, 0.4434407949447632, 0.7239843010902405, 0.48697376251220703, -1.0926275253295898, -0.3207254707813263, -0.25640109181404114, -0.105588398873806, 0.004021935164928436, -0.4258926510810852, -0.010066330432891846, 0.015367326326668262, 0.32298916578292847, -0.8846613764762878, 0.5569811463356018, 0.17326965928077698, -0.031387656927108765, 0.40596330165863037, -0.18969294428825378, -0.15268631279468536, -0.7230950593948364, 0.11726820468902588, -0.12430677562952042, -0.1527440845966339, -0.7583800554275513, 0.14651130139827728, 0.33260881900787354, -0.4027692675590515, -0.48711007833480835, 0.3442137837409973, -0.4084753692150116, 0.0239315927028656, -0.24902161955833435, -0.12620019912719727, 0.2379019409418106, 1.0102523565292358, 0.15181294083595276, 0.6782433986663818, 0.4183790683746338, -0.6184493899345398, 0.012265636585652828, 0.22973905503749847, -0.09079142659902573, 0.2570817768573761, -0.5910961627960205, 0.31265395879745483, -0.3114633560180664, 0.19678160548210144, -0.9413153529167175, 0.040826305747032166, 0.2590436041355133, -0.5960946679115295, 0.7879389524459839, 0.0701913982629776, -0.9215601682662964, -0.5383628010749817, -0.4303421974182129, 0.15107110142707825, 0.5295442342758179, -0.6391246318817139, 1.3218661546707153, 0.2114318311214447, -0.09415844082832336, -0.6242159605026245, -0.6735974550247192, 0.10656636953353882, -0.17416013777256012, -0.6212003231048584, 0.7995705604553223, 0.19919271767139435, 0.2563643157482147, 0.17406520247459412, -0.3322986960411072, 0.053647153079509735, 0.15794876217842102, 0.1569194793701172, 0.22799448668956757, 0.16144800186157227, 0.48260146379470825, -0.12955224514007568, -0.2039869874715805, -0.18127088248729706, -0.5868293046951294, 0.6524028778076172, 0.19836702942848206, -0.24361126124858856, -0.43084752559661865, 0.45356571674346924, 0.823848307132721, -0.5758246779441833, 0.7951680421829224, 0.8298008441925049, -0.2745863199234009, -0.1976948380470276, -0.8600577116012573, -0.34808582067489624, -0.47458815574645996, 0.19427713751792908, -0.15227943658828735, -0.7903626561164856, 0.35751062631607056, -0.09371784329414368, 0.3905012607574463, 0.6663830876350403, 0.36323145031929016, -0.08890212327241898, 0.8625859618186951, 0.8698759078979492, -0.3915218710899353, 0.7926015853881836, -0.32033881545066833, 0.608198344707489, -0.8573552370071411, -0.15827512741088867, -0.7837009429931641, -0.5933992266654968, -0.20557579398155212, -0.7680856585502625, 0.1934741735458374, 0.00380747951567173, 0.010394570417702198, 0.42688488960266113, -1.2758655548095703, 0.2454739809036255, 0.9149689078330994, 0.07671206444501877, -0.012429329566657543, -0.09171420335769653, 0.07002013176679611, -0.09255322813987732, -1.087943196296692, -0.10948482155799866, 1.1186609268188477, 0.47151899337768555, 0.499403178691864, -0.14422185719013214, 0.7245728969573975, 0.28028231859207153, 0.4845832586288452, -0.9900171756744385, 0.40862512588500977, -0.2042086124420166, -0.5242438316345215, -0.1484055072069168, -0.1909780204296112, -0.830392599105835, 0.4904588758945465, -0.22173014283180237, -0.5312310457229614, 0.2265215367078781, -0.030191652476787567, -0.3246140778064728, 0.12746742367744446, -1.032507061958313, 0.8194356560707092, -0.2825125455856323, -0.26000988483428955, -0.2556508481502533, -0.8256736397743225, 0.08892246335744858, -0.2133040875196457, 0.1069420650601387, 0.2087840884923935, -0.07942717522382736, 0.9577780961990356, -0.42611366510391235, 0.9646145105361938, -0.09472199529409409, 0.3513551354408264, 0.2997521758079529, -0.3235777020454407, 0.632000207901001, -0.46671509742736816, 0.154962420463562, 0.24591821432113647, -0.29057809710502625, -0.30191588401794434, -0.7157261967658997, 0.3381933271884918, -0.7852377891540527, -0.7744587659835815, -0.4336048364639282, -0.41617551445961, -0.09593113511800766, 0.2700445353984833, 0.15524069964885712, 0.2959197461605072, 0.28050339221954346, 0.33958786725997925, 0.5930843353271484, 0.11130394041538239, 0.587139904499054, 0.19396527111530304, 0.27152132987976074, -0.4847216308116913, 0.7361064553260803, 0.26638713479042053, -0.05770391598343849, 0.4736899733543396, 0.24531137943267822, -0.46497029066085815, -0.636654257774353, 0.1049080565571785, 0.3968399465084076, -0.9019438624382019, -0.6819337010383606, -1.060442328453064, -0.3482342064380646, -0.7080745100975037, -0.24977140128612518, -0.171245738863945, -0.5023841857910156, -0.5893530249595642, -0.1574019342660904, 0.10224251449108124, 0.13082100450992584, 0.09164901077747345, 0.6901781558990479, -1.094171166419983, 0.2103957235813141, 0.17395877838134766, 0.22350500524044037, 0.3796398937702179, -0.5527469515800476, -0.199660986661911, -0.6711456179618835, -0.3023379147052765, -0.7916127443313599, 0.5238826870918274, 0.30696770548820496, 0.6973673701286316, 0.4323810636997223, 0.36814117431640625, 0.655562698841095, -0.4258439540863037, 0.623234212398529, 0.34283971786499023, -1.0490063428878784, 0.461163729429245, 0.04145669937133789, 0.33238485455513, 0.7198119759559631, 0.1319589763879776, -0.4483867585659027, -0.47794225811958313, -1.1151702404022217, -1.1493785381317139, 1.0550951957702637, 0.3447556495666504, 0.09745460003614426, -0.09615768492221832, 0.37585723400115967, -0.1971447765827179, 0.3108328878879547, -0.6138520836830139, -0.0004322492750361562, -0.23425233364105225, -0.5841572880744934, 0.07472964376211166, -0.31191909313201904, -0.04844772070646286, -0.4796237051486969, 0.4269794523715973, -0.14015544950962067, 0.454774409532547, 0.528370201587677, -0.266437828540802, 0.20016051828861237, -0.08461400121450424, 0.17756927013397217, 0.13959857821464539, -0.0911395475268364, 0.18931788206100464, 0.011468448676168919, -0.5135998129844666, -0.17127659916877747, 0.017491383478045464, -0.07530365884304047, 0.21909001469612122, 0.47556424140930176, 0.6569747924804688, 0.5516567230224609, -0.5531542897224426, 0.6644517183303833, -0.2605534493923187, -0.23427927494049072, 0.03763926401734352, 0.11715417355298996, 0.05295826494693756, -0.023770824074745178, 0.48114728927612305, 0.439786821603775, 0.1859312802553177, -0.19123606383800507, 0.21525995433330536, 0.25038817524909973, -0.1692664921283722, -0.0626983493566513, 0.5338780283927917, 0.5008726716041565, -0.5126925706863403, 0.735505998134613, 0.24844861030578613, -1.0306472778320312, 0.6899337768554688, 0.3555450141429901, 0.9809103012084961, -0.0514214001595974, -0.1786971390247345, 0.439064085483551, 0.446781188249588, -0.11543387174606323, -0.24468348920345306, -0.7471999526023865, -0.5710657238960266, -0.4689502716064453, -0.8492898941040039, -0.37546467781066895, -0.1643332540988922, -0.5628666281700134, 0.3275447189807892, -0.5240923166275024, -0.4296255111694336, 0.2035990208387375, 0.058032918721437454, -0.8566951155662537, 0.3244277238845825, 0.018299682065844536, 1.2544203996658325, -0.6947388052940369, 0.7250121831893921, 0.37100446224212646, -0.29703953862190247, -0.8046228289604187, 0.05088755860924721, -0.5048266053199768, -0.38184115290641785, 0.6283220052719116, 0.5905078053474426, 0.17372876405715942, 0.210201233625412, -0.35139143466949463, -0.7773417830467224, 0.8123987913131714, 0.0686163529753685, -0.6776202917098999, -0.25781282782554626, -0.15392367541790009, 0.5473003387451172, -0.011042396537959576, 0.19401228427886963, 0.5758415460586548, 0.5555967092514038, 0.2198459953069687, -0.8202773332595825, -0.2664884030818939, -0.1870826631784439, -0.15677766501903534, 0.45676955580711365, -0.88883376121521, 0.6355271339416504, 0.11273814737796783, -0.5574778318405151, -0.3972477316856384, 0.7709894776344299, -0.3986043334007263, -0.043802812695503235, 0.7607398629188538, 0.815648078918457, 0.8056898713111877, -0.22956813871860504, 0.9993345737457275, -0.5710964202880859, 0.5381235480308533, 0.75115966796875, -0.12205871194601059, 0.7331687808036804, 0.6399881839752197, -0.3412696421146393, -0.07081790268421173, 0.6274833083152771, -0.2672085762023926, 0.5741670727729797, 0.013815206475555897, -0.13077929615974426, -0.18310271203517914, -0.17861071228981018, -0.025595273822546005, 0.38917526602745056, 0.2509320080280304, -0.3365526795387268, -0.12339609861373901, -0.042982276529073715, -0.1780654788017273, -0.010210463777184486, -0.3039212226867676, 0.9812745451927185, -0.14644750952720642, -0.944822371006012, 0.21953478455543518, 0.19007939100265503, 1.0510920286178589, -0.5571503043174744, 0.20491982996463776, -0.07867462933063507, 0.40696436166763306, -0.08439099043607712, -0.5136452317237854, 0.5282300114631653, -0.0018836489180102944, -0.3193572163581848, -0.5321884155273438, 1.088369369506836, -0.2877873182296753, -0.6201034188270569, 0.1665615439414978, 0.11505035310983658, -0.1173696368932724, -0.23568788170814514, -0.5919547080993652, 0.14146479964256287, -0.04909003525972366, -0.0704428032040596, 0.35195156931877136, 0.3927772641181946, 0.09696979820728302, 0.55631023645401, 0.955138623714447, -0.04697522893548012, -0.009614206850528717, -0.03429698944091797, 1.199508547782898, -0.5585448145866394, -0.7766376733779907, -0.7829259634017944, 0.4443843364715576, -0.3016014099121094, -0.17818471789360046, 0.42909276485443115, 0.42551761865615845, 0.6557921171188354, -0.16317297518253326, 0.4514208734035492, 0.05066828802227974, 0.3780446946620941, -0.23341675102710724, 0.6612200736999512, -0.43351781368255615, -0.17853662371635437, 0.03445632383227348, -0.8031431436538696, -0.5604557394981384, 0.6266650557518005, -0.07582853734493256, -0.2572152316570282, 0.7026114463806152, 0.4076354503631592, 0.03789806738495827, -0.1231105849146843, 0.19275328516960144, -0.20548106729984283, 0.40248018503189087, 0.4515824317932129, 0.46316108107566833, -0.3461531698703766, 0.6930549740791321, -0.4694405198097229, -0.12342341989278793, -0.38110771775245667, -0.7900373339653015, -0.9118205904960632, -0.4990096688270569, -0.3431825339794159, -0.013129020109772682, -0.3031994104385376, 0.6853678822517395, 0.8753902912139893, -0.6143566370010376, 0.4495293200016022, -0.05232834443449974, 0.0999385267496109, -0.35493797063827515, -0.29453685879707336, 0.7006345391273499, -0.7087005972862244, -0.9644237160682678, -0.09919928014278412, 0.4921542704105377, -0.002580824540928006, -0.18452952802181244, 0.3734418749809265, -0.14517748355865479, 0.13501019775867462, 0.37289485335350037, -0.08636454492807388, -0.7481166124343872, -0.11312441527843475, 0.06643010675907135, -0.10143911838531494, 0.23363091051578522, 1.046857237815857, -0.9335574507713318, 0.3697029948234558, 0.6290529370307922, 0.9992432594299316, 0.6824281215667725, 0.34980088472366333, 0.4770863950252533, -0.9181947112083435, 0.49588561058044434, 0.7642274498939514, 0.28684523701667786, 0.43975117802619934, -0.7075119018554688, 0.5294470191001892, 0.22369186580181122, -0.4228672385215759, -0.9798784255981445, -0.1963357925415039, -1.1379421949386597, -0.34934738278388977, 0.6497755646705627, -0.22594940662384033, -0.6094520688056946, 0.05411142855882645, -0.46324294805526733, 0.36300212144851685, -0.29348498582839966, 0.7642067670822144, 0.9720187187194824, 0.0768943801522255, -0.3618448078632355, -0.0692305713891983, 0.3801725208759308, 0.7047871947288513, -0.4264126121997833, 0.13968999683856964, 0.1813749521970749, -0.17372778058052063, 0.6061819195747375, 0.41855916380882263, -0.07267072796821594, 0.1962485909461975, 0.09960369020700455, 0.15110962092876434, -0.16590516269207, -0.5073027014732361, -0.43334120512008667, 0.590198278427124, -0.13517579436302185, -0.32907313108444214 ]
http://arxiv.org/abs/2406.01276v2
http://arxiv.org/pdf/2406.01276v2
EduNLP: Towards a Unified and Modularized Library for Educational Resources
2024-06-03T12:45:40
2024-06-04T11:44:59
Zhenya Huang, Yuting Ning, Longhu Qin, Shiwei Tong, Shangzi Xue, Tong Xiao, Xin Lin, Jiayu Liu, Qi Liu, Enhong Chen, Shijing Wang
cs.CL
cs.CL
Educational resource understanding is vital to online learning platforms, which have demonstrated growing applications recently. However, researchers and developers always struggle with using existing general natural language toolkits or domain-specific models. The issue raises a need to develop an effective and easy-to-use one that benefits AI education-related research and applications. To bridge this gap, we present a unified, modularized, and extensive library, EduNLP, focusing on educational resource understanding. In the library, we decouple the whole workflow to four key modules with consistent interfaces including data configuration, processing, model implementation, and model evaluation. We also provide a configurable pipeline to unify the data usage and model usage in standard ways, where users can customize their own needs. For the current version, we primarily provide 10 typical models from four categories, and 5 common downstream-evaluation tasks in the education domain on 8 subjects for users' usage. The project is released at: https://github.com/bigdata-ustc/EduNLP.
[ -0.46697044372558594, -0.6799201369285583, 0.2427748590707779, -0.21279563009738922, -0.1856488436460495, 0.16570815443992615, -0.4742982089519501, -0.23413801193237305, -0.10485987365245819, 0.34708815813064575, -0.548550009727478, -0.448113352060318, -0.22723166644573212, 0.06708788871765137, -0.2845061421394348, 0.9691148400306702, 0.09033741056919098, 0.17066740989685059, -0.4193264842033386, -0.10236556828022003, -0.3602321147918701, -0.17910422384738922, -0.6858640313148499, -0.5362840294837952, 0.7719852924346924, 0.5145694613456726, 0.3897998332977295, 0.6929659247398376, 0.6853323578834534, 0.1344994306564331, -0.33484187722206116, -0.0026115390937775373, -0.365171879529953, 0.0778542160987854, -0.6719158887863159, -0.09308409690856934, -0.782267153263092, -0.27988335490226746, 0.7101943492889404, 1.038455843925476, -0.5543249845504761, 0.4809629023075104, 0.5352804064750671, 0.8897610306739807, -0.6721030473709106, 0.19831496477127075, -0.0904192253947258, 0.2517005503177643, -0.07706000655889511, 0.17775730788707733, -0.2923632264137268, -0.025281859561800957, 0.48740869760513306, -0.8917647004127502, 0.09851918369531631, -0.24788308143615723, 0.3036160469055176, 0.4343821406364441, -0.34454765915870667, -0.29336312413215637, -0.7074028849601746, 0.7461897134780884, -0.5321078896522522, 0.6257619857788086, 0.4992798864841461, 0.4512910544872284, 0.06110803782939911, -1.2410316467285156, -0.5077323317527771, 0.38649046421051025, -0.13808344304561615, 0.3006347119808197, 0.015089510008692741, 0.39885151386260986, -0.07715337723493576, 0.6300681829452515, -0.6575500965118408, 0.3192098140716553, -0.7654215097427368, -0.010100744664669037, 0.4393514096736908, 0.14599885046482086, 0.26260805130004883, -0.22768612205982208, -0.4352527856826782, 0.1016763299703598, -0.49972984194755554, -0.015704084187746048, 0.4509727954864502, 0.5637691020965576, -0.04081789031624794, 0.40767326951026917, 0.10643164813518524, 0.996833324432373, -0.20043133199214935, 0.10656878352165222, 0.18914563953876495, -0.26257288455963135, -0.4904494285583496, -0.016689470037817955, 0.4800759553909302, 0.1301754117012024, -0.28866589069366455, -0.05825704336166382, -0.1783793419599533, -0.4170199930667877, 0.3425467312335968, -0.7406478524208069, -0.38436946272850037, 0.48319149017333984, -0.3827572166919708, 0.04231443628668785, 0.04853375256061554, -1.010084867477417, -0.14587268233299255, -0.8821647763252258, 0.19896864891052246, -0.3882811963558197, -0.4664453864097595, 0.2329859435558319, 0.04560432210564613, -0.04681922867894173, 0.38393670320510864, -0.7608245015144348, 0.3219631612300873, 0.9603638052940369, 0.8728591203689575, -0.24492135643959045, -0.21521936357021332, -0.36667537689208984, 0.05843332037329674, 0.17853961884975433, 0.4682375490665436, -0.7924093008041382, -0.14743679761886597, 0.2127658724784851, -0.2292824387550354, -0.15923099219799042, -0.319938063621521, 0.7834155559539795, -0.44261693954467773, 0.5758145451545715, -0.13822954893112183, -0.7997812628746033, -0.5665541887283325, 0.3574618101119995, -0.9332253336906433, 0.8432853817939758, 0.07395175844430923, -0.5474138855934143, 0.1272473931312561, -1.2247774600982666, -0.11187148839235306, 0.4550730586051941, -0.10473541915416718, -0.06361839920282364, -0.10317517071962357, 0.025347884744405746, 0.31946468353271484, -0.3229564428329468, 0.8709045648574829, 0.06859021633863449, -0.4013008773326874, -0.38614583015441895, -0.30186259746551514, 1.1876715421676636, 0.5823031663894653, -0.0029837661422789097, 0.12347380816936493, -0.7237913012504578, -0.07941953092813492, -0.18646636605262756, -0.7490736842155457, -0.38822367787361145, -0.006756873801350594, 0.37731170654296875, -0.1687203198671341, 0.37448135018348694, -0.37514543533325195, 0.35162803530693054, -0.09814663976430893, 0.4335719645023346, 0.7709047198295593, -0.4992319643497467, 0.5977264642715454, 0.14280064404010773, 0.3450104594230652, -0.19852878153324127, 0.4691527485847473, -0.11950438469648361, -0.38634929060935974, -0.6840433478355408, -0.42018696665763855, 0.29756686091423035, 0.020237959921360016, -0.6193497776985168, 0.5305127501487732, -0.07034321874380112, -0.2971516251564026, -0.6989601850509644, 0.23662614822387695, 0.2662730813026428, 0.584108293056488, 0.48427286744117737, -0.23966485261917114, -0.5652353763580322, -0.6688992381095886, 0.14121966063976288, -0.19268858432769775, -0.3083949089050293, 0.3803788125514984, 0.32211366295814514, -0.5214182734489441, 0.9667990207672119, -0.2397511750459671, -0.48395195603370667, -0.5169416666030884, 0.050924379378557205, 0.3425292670726776, 0.39321404695510864, 0.41337260603904724, -1.011572003364563, -0.21204230189323425, -0.021690165624022484, -0.5531463623046875, -0.02736380137503147, 0.0569906048476696, -0.3688824474811554, -0.22626423835754395, 0.06123223528265953, -0.27262598276138306, 0.06781294196844101, 0.3791595995426178, -0.5830942988395691, 0.17813339829444885, -0.10171027481555939, -0.1365751475095749, -1.1321213245391846, 0.3332260847091675, -0.09377601742744446, 0.02356439270079136, -0.6722317337989807, 0.5112538933753967, 0.048449523746967316, -0.22404196858406067, -0.38695546984672546, 0.4738513231277466, -0.1575527787208557, -0.004408655222505331, 0.04417102783918381, 0.4254702925682068, 0.35995420813560486, 0.392483651638031, 0.01667463406920433, 0.5561195611953735, 0.6501356363296509, -0.48099565505981445, 0.5857358574867249, 0.40262171626091003, -0.20176339149475098, 0.649078905582428, -0.7652220726013184, 0.13997234404087067, -0.17704160511493683, 0.06201973557472229, -0.4020713269710541, -0.42476311326026917, 0.3792644441127777, -0.016841435804963112, 0.4833776652812958, -0.40726566314697266, -0.4815535545349121, -0.2590201497077942, -0.2959720194339752, 0.30338048934936523, 0.34092170000076294, -1.0184088945388794, 0.9912324547767639, 0.5130635499954224, -0.11063817888498306, -0.8569996953010559, -0.4360341429710388, -0.07737644016742706, -0.04828648641705513, -0.333285391330719, 0.2296016812324524, -0.4790187478065491, -0.21683324873447418, 0.3176235258579254, 0.10132373869419098, -0.6260842084884644, 0.24552983045578003, 0.16852118074893951, 0.5455183386802673, -0.42649561166763306, 0.5781911015510559, 0.012869589030742645, 0.22600282728672028, 0.019121645018458366, -0.3311690092086792, 0.35559162497520447, -0.17643064260482788, -0.6574108600616455, -0.32069042325019836, 0.1522410809993744, 0.5160349011421204, -0.1997901052236557, 0.6869181990623474, 0.6157881021499634, -0.47111645340919495, -0.3619389533996582, -0.22015266120433807, -0.18349693715572357, -0.4775988757610321, 0.3738457262516022, 0.07288918644189835, -0.7495155930519104, 0.2980518043041229, 0.045594003051519394, 0.6697378158569336, 0.25922513008117676, 0.3810917139053345, -0.136295348405838, 0.32941389083862305, 0.7183796167373657, 0.16182944178581238, 0.27167803049087524, -0.41426581144332886, 0.31823068857192993, -1.1388373374938965, -0.691618800163269, -0.25378918647766113, -0.5343573093414307, 0.052950575947761536, -0.3001474142074585, -0.1431855857372284, 0.16494952142238617, -0.33148226141929626, 0.18885274231433868, -0.842772901058197, 0.7611106038093567, 0.5000225305557251, -0.16091060638427734, 0.5086359977722168, 0.13355308771133423, 0.14142203330993652, 0.12437613308429718, -0.7775605916976929, -0.684532880783081, 1.2747187614440918, 0.35981377959251404, 0.6114816069602966, 0.30273208022117615, 0.6735466122627258, 0.31630629301071167, 0.21258482336997986, -0.7934386730194092, 0.5687767267227173, -0.2268838733434677, -0.838379442691803, -0.2575523555278778, -0.32713782787323, -0.7496621608734131, 0.23971834778785706, -0.03877881169319153, -0.5572453737258911, 0.11491357535123825, 0.06776418536901474, -0.49797919392585754, 0.7204768657684326, -0.4224050045013428, 0.834893524646759, -0.1932201087474823, -0.5254127383232117, -0.3646412789821625, -0.2473946362733841, 0.20092163980007172, -0.32456862926483154, 0.24640679359436035, -0.11529309302568436, 0.06412835419178009, 1.0880783796310425, -0.054920539259910583, 0.7504388093948364, 0.10523881763219833, 0.18851998448371887, 0.6081203818321228, -0.3030696213245392, -0.04466733708977699, 0.020251929759979248, -0.3714582920074463, 0.21004442870616913, -0.21624329686164856, -0.2732274830341339, -0.4274270236492157, 0.9302469491958618, -0.8129399418830872, -0.4180416166782379, -0.29833492636680603, -0.6540349125862122, 0.2786947190761566, 0.09342337399721146, -0.07182106375694275, 0.7222343683242798, -0.21884416043758392, 0.32124313712120056, 0.7817813754081726, -0.2554710805416107, 0.38967642188072205, 0.6196726560592651, -0.2711789906024933, 0.01049895491451025, 0.8876643776893616, 0.21111373603343964, -0.02040080912411213, 0.1309320628643036, 0.23879852890968323, -0.3622429370880127, -0.36980316042900085, -0.3526323139667511, -0.14509181678295135, -0.9681263566017151, -0.1302400827407837, -0.4382702708244324, -0.2055201679468155, -0.2613796293735504, -0.26267799735069275, -0.4512849450111389, -0.6245865821838379, -0.6131481528282166, -0.43421033024787903, 0.3027016520500183, 1.1720530986785889, -0.4149657189846039, 0.06533587723970413, -0.801964282989502, 0.030746258795261383, 0.5662223696708679, 0.6803756356239319, 0.28724420070648193, -0.7176527976989746, -0.37494370341300964, 0.026605652645230293, -0.2972029447555542, -0.40132635831832886, 0.1002848818898201, 0.8139227628707886, 0.6653733849525452, 0.6805809736251831, 0.20985758304595947, 0.3270721435546875, -0.4364567995071411, 0.6687878370285034, 0.16990183293819427, -0.559650719165802, 0.6033386588096619, -0.1654662787914276, -0.2734302878379822, 0.5371957421302795, 0.46291685104370117, -0.3264763057231903, 0.06758172065019608, -0.5449414849281311, -1.2702031135559082, 0.6188214421272278, 0.12999428808689117, 0.2540687024593353, 0.4414019286632538, 0.21139134466648102, 0.4211027920246124, 0.14665383100509644, -0.5040987730026245, -0.5612739324569702, -0.31325629353523254, -0.4279758334159851, 0.23915311694145203, -0.3313966989517212, -0.4761466383934021, -0.4315685033798218, 0.6534116268157959, 0.2340618520975113, -0.2754848003387451, -0.21399489045143127, -0.1527562439441681, 0.02770770527422428, 0.6068167686462402, -0.10670313984155655, 1.0809063911437988, -0.5628656148910522, 0.10034511983394623, -0.22469507157802582, -0.7543871998786926, -0.097637839615345, 0.34714964032173157, -0.17309825122356415, 0.03339666128158569, 0.31712472438812256, 0.5172105431556702, 0.34328755736351013, -0.984281599521637, 0.22068968415260315, -0.22538894414901733, 0.17785342037677765, -0.327268123626709, 0.2743026614189148, 0.09147053211927414, 0.45549091696739197, 0.4013993442058563, -0.2883197069168091, 0.4303576350212097, -0.49031051993370056, 0.37105482816696167, -0.19608654081821442, -0.3634173572063446, -0.454085111618042, 0.5512204170227051, 0.7315296530723572, -0.36552074551582336, 1.050398826599121, -0.21528342366218567, -0.37249988317489624, 0.5788305997848511, 0.42728567123413086, 0.9682761430740356, -0.1553015261888504, 0.545237123966217, 0.7396158576011658, 0.09821969270706177, -0.06452872604131699, 0.29327723383903503, -0.16569221019744873, -0.4948783218860626, -0.25443145632743835, -0.7812789082527161, -0.6305980682373047, 0.18819017708301544, -1.1642906665802002, 0.17021797597408295, -0.5851345062255859, -0.03056810051202774, 0.013577837496995926, -0.34223315119743347, -0.8443776369094849, -0.012330147437751293, 0.2639608383178711, 0.8132931590080261, -0.8520379662513733, 0.7523463368415833, 1.176622986793518, -0.4848499000072479, -0.9446040987968445, -0.4754077196121216, -0.006242557428777218, -0.32523074746131897, 0.8029718995094299, 0.09061410278081894, 0.27790942788124084, 0.057639237493276596, -0.4041704833507538, -0.5858561992645264, 1.1686551570892334, 0.19625167548656464, -0.8816232085227966, 0.000856351456604898, -0.06147506460547447, 0.5014086961746216, -0.43512284755706787, 0.2520331144332886, 0.7011394500732422, 0.32716676592826843, 0.11911074072122574, -0.7149860858917236, -0.438629686832428, -0.267895370721817, -0.5008484125137329, -0.11176443845033646, -0.09960297495126724, 1.091863989830017, -0.27723267674446106, -0.34366554021835327, -0.5410162806510925, 0.43043622374534607, 0.12063470482826233, 0.4303002953529358, 0.11152159422636032, 0.8436198830604553, 0.9486654996871948, -0.1262662559747696, 0.6362588405609131, -0.2938055694103241, 0.7310641407966614, 1.5264259576797485, -0.018518589437007904, 0.9434624314308167, 0.32546764612197876, -0.33321699500083923, 0.3982333540916443, 0.7080742120742798, -0.06562983989715576, 0.44863200187683105, -0.20754949748516083, -0.4725726544857025, -0.2523447275161743, -0.4861583709716797, -0.33183416724205017, 0.17378830909729004, 0.4775272607803345, -0.21160145103931427, -0.4709404408931732, 0.03983208164572716, -0.36120474338531494, 0.11023040860891342, -0.6713358163833618, 0.4958692789077759, 0.08951766788959503, -0.11067119240760803, 0.17282621562480927, -0.2811257243156433, 0.5209369659423828, -0.424570769071579, -0.16440850496292114, -0.25453683733940125, 0.07496852427721024, -0.4395165741443634, -1.2379471063613892, 0.20753590762615204, 0.20706601440906525, -0.10468970239162445, 0.009374826215207577, 0.5656819939613342, -0.5981733202934265, -0.40983206033706665, 0.4352700114250183, 0.4460560083389282, 0.23142318427562714, 0.36467233300209045, -0.6706740260124207, 0.04140544310212135, 0.06883874535560608, -0.3440472185611725, 0.25737348198890686, 0.2956560254096985, 0.5939568877220154, 0.761228621006012, 0.693101704120636, 0.028826186433434486, -0.008272422477602959, 0.38042017817497253, 0.9342572093009949, -0.12320936471223831, -0.23624292016029358, -0.6419931054115295, 0.6983646750450134, -0.15774644911289215, -0.30569711327552795, 0.3772324323654175, 0.4765027165412903, 1.0209976434707642, 0.14827179908752441, 0.7807704210281372, -0.2343473583459854, 0.309815376996994, -0.219802126288414, 0.9190679788589478, -0.6734193563461304, 0.5282956957817078, 0.15532995760440826, -1.1299008131027222, -0.18497219681739807, 0.7459902763366699, 0.09912677854299545, -0.3505389094352722, 0.35406720638275146, 0.08092178404331207, -0.47442224621772766, 0.08365299552679062, 0.13324971497058868, -0.04924030974507332, 0.3641003668308258, 0.36010411381721497, 0.5363374352455139, -0.2561263144016266, 0.3456587493419647, -0.3572846055030823, -0.07606691122055054, -0.22624178230762482, -0.7587593197822571, -1.1475529670715332, -0.6732879877090454, -0.508312463760376, 0.13457931578159332, 0.11775008589029312, 1.3437153100967407, 0.40275683999061584, -0.755271315574646, -0.15117380023002625, 0.12450889497995377, 0.34683728218078613, 0.11388690024614334, -0.17218820750713348, 0.6133604049682617, -0.1310393065214157, -0.9518098831176758, 0.38802674412727356, 0.33726927638053894, -0.17468981444835663, -0.45944613218307495, -0.18081890046596527, -0.18827570974826813, -0.11590272933244705, 0.49446794390678406, 0.4054045081138611, -0.6045075058937073, 0.03903447464108467, -0.2750786244869232, -0.03544203191995621, -0.14868932962417603, 0.6874954104423523, -0.6015669107437134, 0.9799479842185974, 0.4957315921783447, 0.7965101003646851, -0.20126661658287048, -0.20765532553195953, 0.5360398888587952, -0.635418176651001, 0.25935012102127075, 0.4528149962425232, 0.6168650388717651, 0.5445773601531982, -0.3691040277481079, 0.8183779716491699, -0.140594482421875, -0.5380823612213135, -1.0071115493774414, 0.18884067237377167, -0.6883657574653625, -0.38450881838798523, 0.6741321682929993, -0.4706781804561615, 0.007083103526383638, -0.3089018166065216, 0.10506577044725418, 0.35398346185684204, -0.42798149585723877, 0.7844710946083069, 0.5245398879051208, 0.1332346498966217, 0.0034483978524804115, -0.701043963432312, 0.1368274986743927, -0.07241420447826385, -0.6297934055328369, 0.04529755562543869, 0.49098145961761475, 0.17502106726169586, 0.26053541898727417, 0.20583339035511017, 0.22275209426879883, 0.13817918300628662, -0.28511276841163635, 0.22167836129665375, -0.5365777015686035, -0.5575059056282043, -0.25819820165634155, -0.01644766330718994, -0.16107630729675293, -0.1701740026473999 ]
http://arxiv.org/abs/2406.01252v1
http://arxiv.org/pdf/2406.01252v1
Towards Scalable Automated Alignment of LLMs: A Survey
2024-06-03T12:10:26
2024-06-03T12:10:26
Boxi Cao, Keming Lu, Xinyu Lu, Jiawei Chen, Mengjie Ren, Hao Xiang, Peilin Liu, Yaojie Lu, Ben He, Xianpei Han, Le Sun, Hongyu Lin, Bowen Yu
cs.CL
cs.CL, cs.AI, stat.ML
Alignment is the most critical step in building large language models (LLMs) that meet human needs. With the rapid development of LLMs gradually surpassing human capabilities, traditional alignment methods based on human-annotation are increasingly unable to meet the scalability demands. Therefore, there is an urgent need to explore new sources of automated alignment signals and technical approaches. In this paper, we systematically review the recently emerging methods of automated alignment, attempting to explore how to achieve effective, scalable, automated alignment once the capabilities of LLMs exceed those of humans. Specifically, we categorize existing automated alignment methods into 4 major categories based on the sources of alignment signals and discuss the current status and potential development of each category. Additionally, we explore the underlying mechanisms that enable automated alignment and discuss the essential factors that make automated alignment technologies feasible and effective from the fundamental role of alignment.
[ -0.5329765677452087, -0.7000405192375183, 0.6275874376296997, 0.10901667922735214, 0.05184971168637276, 0.5972501635551453, -0.16615094244480133, -0.7445335388183594, 0.23983590304851532, 0.47883346676826477, -0.5013269782066345, -0.20168982446193695, -0.6060352325439453, 0.2681165933609009, -0.6636962890625, 0.6323928833007812, -0.36260271072387695, -0.1514245867729187, -0.23853963613510132, -0.3145885169506073, -0.5776938796043396, -0.4605100154876709, -0.5195682048797607, -0.175909623503685, 0.4334263205528259, 0.5633159875869751, 0.833153247833252, 1.3681658506393433, 0.8934981226921082, 0.3763437867164612, 0.11550626158714294, 0.16762389242649078, 0.031082650646567345, 0.23812320828437805, 0.16094395518302917, -0.38437420129776, -0.874657154083252, 0.015106817707419395, 1.0278960466384888, 0.8634729385375977, -0.04411889612674713, 0.3388160467147827, -0.019013935700058937, 0.5277140736579895, -0.388356477022171, -0.29195067286491394, -0.5782703161239624, -0.2067422717809677, -0.6096857190132141, -0.07328994572162628, -0.10936670750379562, -0.5340415239334106, 0.11705336719751358, -0.3606835603713989, -0.15197177231311798, 0.33059999346733093, 0.8632574677467346, 0.4938884973526001, -0.5981753468513489, -0.40646588802337646, -0.7847472429275513, 0.8179848790168762, -0.790200412273407, 0.46606582403182983, 0.11959351599216461, 0.5602006912231445, -0.05470569059252739, -0.4835343062877655, -0.4801274836063385, -0.2291449010372162, 0.0016988576389849186, -0.3789967894554138, 0.10051483660936356, -0.13741332292556763, 0.12710483372211456, 0.34817832708358765, -0.5221610069274902, 0.6667987704277039, 0.08010909706354141, -0.3524215519428253, 0.7516239881515503, 0.35893958806991577, 0.6034068465232849, 0.13118484616279602, -0.13583140075206757, 0.22560293972492218, -0.6726386547088623, -0.38920167088508606, 0.47404804825782776, 0.3710262179374695, 0.08512331545352936, 0.7903535962104797, -0.08148116618394852, 0.986615777015686, 0.3771823048591614, -0.24850398302078247, 0.12229255586862564, -0.7674064636230469, 0.12010736018419266, 0.17698360979557037, 0.8166853785514832, 0.14153851568698883, 0.1417665034532547, 0.0035177443642169237, -0.3072850704193115, -0.2381569743156433, 0.4035847783088684, -0.2524971067905426, 0.2897004187107086, 0.48857545852661133, -0.1763894259929657, -0.4946591854095459, -0.1509140431880951, -0.5130330920219421, -0.5124378800392151, -0.730811595916748, 0.26964321732521057, -0.18186300992965698, -0.17698925733566284, -0.13012751936912537, 0.25216129422187805, 0.5162588357925415, 0.4115000069141388, -1.3060156106948853, 0.20730774104595184, 0.7119773626327515, 0.868995726108551, -0.3710542917251587, -0.2759902775287628, -0.4527316689491272, 0.26995572447776794, -0.4790947735309601, 0.9446314573287964, -0.3062369227409363, 0.2254781275987625, 0.11008187383413315, 0.02880115993320942, 0.28739476203918457, -0.2816968858242035, 0.3862331509590149, -0.6628883481025696, 0.18688766658306122, -0.32641392946243286, -0.6266346573829651, -0.15924164652824402, 0.24040526151657104, -0.720812201499939, 0.8808004260063171, -0.043489232659339905, -0.6288808584213257, 0.3918444812297821, -0.5648394823074341, -0.46276864409446716, 0.11871051788330078, -0.09941349923610687, -0.5118598937988281, -0.09212005138397217, 0.35966023802757263, 0.48802700638771057, -0.41310757398605347, 0.27467215061187744, -0.31054937839508057, -0.15101762115955353, 0.35712334513664246, -0.2823337912559509, 0.8914774060249329, 0.20100608468055725, -0.5011598467826843, 0.3310942053794861, -0.841170072555542, -0.018666720017790794, -0.10763721913099289, -0.2547037899494171, -0.04062800109386444, 0.20776249468326569, -0.06014939025044441, 0.13425323367118835, 0.6581376791000366, -0.2589207887649536, 0.4614637792110443, -0.3752574026584625, 0.4750726521015167, 0.7788153886795044, -0.3289376497268677, 0.9653950929641724, -0.21894176304340363, 0.6284959316253662, -0.4275512993335724, 0.11093518882989883, -0.01940043456852436, -0.20485110580921173, -0.6299077868461609, -0.588212251663208, 0.4605124592781067, 0.6287758350372314, -0.13424639403820038, 0.9635934233665466, -0.3695431649684906, -0.702653169631958, -0.7208508253097534, 0.3209594488143921, 0.1633332073688507, 0.5332451462745667, 0.10833241045475006, -0.24992235004901886, -0.7955363392829895, -0.9667030572891235, -0.17258436977863312, 0.021814746782183647, 0.061117883771657944, -0.043931178748607635, 0.15604813396930695, -0.47052037715911865, 1.2094571590423584, -0.29954978823661804, -0.1929127275943756, -0.21296191215515137, 0.11423049122095108, 0.005665219854563475, 0.4175019860267639, 0.4689907729625702, -0.5376038551330566, -0.43960797786712646, 0.43037763237953186, -0.7248575091362, -0.5572975277900696, -0.07831227779388428, -0.027281254529953003, 0.3396766483783722, 0.806165337562561, -0.3355558216571808, -0.14299581944942474, 0.6370776295661926, -0.0629919245839119, 0.3673623204231262, 0.022991754114627838, 0.0843665823340416, -1.043016791343689, 0.050524722784757614, -0.06109050661325455, -0.45440301299095154, -0.6726275682449341, 0.009789462201297283, 0.2778454124927521, 0.22626300156116486, -0.1512313336133957, 0.4762844741344452, -0.8576103448867798, -0.48193997144699097, -0.32268449664115906, 0.2978461682796478, -0.414426326751709, -0.06840207427740097, -0.15770655870437622, 0.8227621912956238, 0.592136561870575, -0.34797200560569763, 0.6646198034286499, 0.15188053250312805, -0.09698935598134995, 0.6234388947486877, -0.475453644990921, -0.00016734447854105383, -0.1090581938624382, 0.2947029173374176, -1.1575771570205688, -0.4252924919128418, 0.30615586042404175, -0.3199497163295746, 0.5495208501815796, 0.06257574260234833, -0.5147131085395813, -0.27362626791000366, -0.061861082911491394, 0.4908570349216461, 0.4254806935787201, -0.3083430230617523, 0.785571813583374, 0.6695543527603149, -0.40555188059806824, -0.6144740581512451, -0.5841151475906372, 0.382620632648468, -0.5341516733169556, -0.6475920081138611, 0.1796586513519287, 0.10679738223552704, -0.4119563102722168, -0.3106566369533539, 0.02369069494307041, 0.06563477963209152, 0.1769023984670639, 0.09488649666309357, 0.44205236434936523, -0.19805893301963806, -0.0012368852039799094, -0.13681085407733917, -0.269473671913147, -0.24585691094398499, -0.6398323774337769, 0.46867284178733826, -0.220631942152977, -0.5205756425857544, -0.7371216416358948, 0.25334614515304565, 0.8032575845718384, -0.42299607396125793, 0.44496843218803406, 0.579300045967102, -0.38953524827957153, 0.15078644454479218, -0.9929664134979248, 0.1185818761587143, -0.46039870381355286, 0.3428308665752411, -0.029836473986506462, -1.0155868530273438, 0.49217861890792847, -0.18891838192939758, 0.3514042794704437, 0.48281365633010864, 0.8355605602264404, -0.24272103607654572, 1.2731200456619263, 0.7497504949569702, -0.17165184020996094, 0.4326924681663513, 0.2876487374305725, 0.28311097621917725, -0.7425764203071594, 0.06879087537527084, -0.7677794098854065, -0.33320745825767517, -0.6982651352882385, -0.32863906025886536, 0.0757080614566803, -0.07558546215295792, -0.15881459414958954, 0.7153179049491882, -0.6190619468688965, 0.27545979619026184, 0.247514545917511, -0.6054181456565857, 0.31620505452156067, -0.14261190593242645, 0.11709154397249222, 0.03088030405342579, -0.46149230003356934, -0.8118696212768555, 1.0397523641586304, 0.5466725826263428, 0.5611084699630737, 0.10249222815036774, 0.638975977897644, 0.10314913094043732, 0.4600212275981903, -0.893620491027832, 0.5012506246566772, 0.20300450921058655, -0.6564977765083313, -0.8330800533294678, -0.015847470611333847, -0.6990764141082764, 0.004252179991453886, -0.23066973686218262, -0.6732327938079834, 0.05983868986368179, 0.11156991869211197, -0.3020687401294708, 0.06640792638063431, -0.5122677087783813, 0.557269811630249, -0.7332608699798584, -0.045028235763311386, 0.14725351333618164, -0.8824202418327332, 0.25908300280570984, -0.5810627937316895, 0.4661629796028137, -0.21513034403324127, -0.4882711172103882, 0.6349627375602722, -0.41188719868659973, 0.664335310459137, 0.16391494870185852, -0.6779278516769409, 0.1862921565771103, -0.2684095799922943, 0.5747954845428467, -0.38635364174842834, 0.1161535233259201, 0.20406457781791687, -0.03424474224448204, -0.34860026836395264, -0.4260050058364868, 0.4376877248287201, -0.6448344588279724, -0.5358091592788696, -0.38704726099967957, -0.752752423286438, -0.381218820810318, 0.37471550703048706, 0.07801096141338348, 0.12619651854038239, -0.023405637592077255, -0.0394982285797596, 0.6996461749076843, 0.2357148975133896, 0.5284023880958557, 0.38830623030662537, -0.2906467914581299, -0.6472566723823547, 0.9604842066764832, 0.38026100397109985, 0.2705167829990387, 0.4554019570350647, -0.026200903579592705, -0.35505765676498413, -0.9337155818939209, -0.4180934727191925, 0.3766788840293884, -0.6101729869842529, -0.09300584346055984, -0.6088903546333313, -0.060155127197504044, -0.6214988231658936, -0.518162190914154, -0.4981773793697357, -0.6080024838447571, -0.3035508096218109, -0.031014245003461838, 0.1252983957529068, 0.7733219265937805, 0.020156439393758774, 0.32228440046310425, -0.9274315237998962, 0.13122718036174774, 0.4100152552127838, 0.26665112376213074, -0.16527159512043, -0.4283803105354309, -0.23327946662902832, -0.1499323844909668, -0.15205061435699463, -0.596467137336731, 0.14066462218761444, -0.0956297218799591, 0.5239737629890442, 0.5753459930419922, -0.3163106143474579, 0.83040851354599, -0.6318658590316772, 0.6423107385635376, 0.17938652634620667, -1.0071301460266113, 0.391717791557312, -0.5095879435539246, 0.12284287065267563, 0.47256121039390564, 0.5360174179077148, -0.548243522644043, -0.4223109185695648, -0.27033111453056335, -0.8805699348449707, 0.4240841865539551, -0.0033691462595015764, -0.17136670649051666, 0.22672754526138306, 0.3636844754219055, 0.14291799068450928, -0.07014737278223038, -0.5180761814117432, 0.04790090397000313, 0.33729276061058044, -0.58651202917099, -0.1825067698955536, -0.08971186727285385, -0.14813858270645142, -0.08770378679037094, 0.6129906177520752, -0.27544090151786804, -0.12966467440128326, -0.24525871872901917, -0.18575067818164825, -0.3172149956226349, 0.14594872295856476, 0.6737979650497437, 0.7473978996276855, -0.06452935189008713, -0.048223190009593964, 0.1589663326740265, -0.3060402274131775, 0.4910300672054291, -0.01612008735537529, -0.18331724405288696, -0.3352057933807373, 0.496102511882782, 0.41554874181747437, 0.08218418061733246, -0.6250715851783752, 0.40753230452537537, -0.008224544115364552, -0.2498697191476822, -0.5381779074668884, 0.0063598910346627235, 0.23859575390815735, 0.25635674595832825, 0.29339203238487244, -0.12825915217399597, -0.14640185236930847, -0.3469336926937103, 0.15690048038959503, 0.7971931099891663, -0.20510829985141754, -0.16855499148368835, 0.8072832822799683, 0.3034897446632385, -0.42911383509635925, 0.5599925518035889, 0.09742410480976105, -0.29214173555374146, 0.2991601526737213, 0.2651761770248413, 0.9804299473762512, -0.3185957372188568, -0.15130473673343658, 0.2515881061553955, 0.43280601501464844, -0.37860769033432007, -0.08999459445476532, -0.10959532111883163, -0.7213109731674194, -0.668085515499115, -0.6913425326347351, -0.5158708095550537, -0.5056661367416382, -0.5062806010246277, 0.46144774556159973, -0.22284290194511414, -0.1622035950422287, 0.1542593389749527, 0.014655082486569881, -0.23053193092346191, -0.011432514525949955, 0.30792859196662903, 0.7288132309913635, -0.8866094946861267, 0.6267960667610168, 0.7750528454780579, -0.24289989471435547, -0.7373499870300293, -0.02542870119214058, 0.4623011350631714, -0.893121600151062, 0.5988609790802002, -0.0886593759059906, -0.06386628746986389, 0.1798013597726822, -0.5878843069076538, -1.5602245330810547, 1.2104284763336182, 0.26585420966148376, -0.7144213914871216, -0.24779054522514343, 0.33550000190734863, 0.4927006661891937, -0.43619540333747864, 0.05028236657381058, 0.8381853103637695, 0.7253020405769348, 0.19809632003307343, -1.0545845031738281, 0.13138099014759064, 0.10993799567222595, 0.16161125898361206, 0.42752861976623535, -0.4891234338283539, 0.4388841390609741, 0.04226648062467575, -0.0929621011018753, 0.1829223483800888, 0.763448178768158, 0.03397635743021965, -0.127280130982399, 0.4545985162258148, 0.5920765399932861, 0.8555757999420166, -0.05118531361222267, 0.611607015132904, -0.2205357700586319, 0.05734087526798248, 0.8523132801055908, -0.5525270104408264, 0.6989746689796448, 0.5260853171348572, -0.27441415190696716, 0.21619893610477448, 0.6663716435432434, -0.11273083835840225, -0.01845598965883255, 0.14351147413253784, -0.0392630510032177, -0.3539116084575653, 0.032296523451805115, -0.024355508387088776, 0.5877062678337097, 0.2588871121406555, -0.02053273655474186, -0.012710371054708958, -0.06535714864730835, -0.10664096474647522, -0.03718750178813934, -0.2094797044992447, 1.0272948741912842, -0.3367127478122711, -0.7997534871101379, 0.5996712446212769, -0.1938420534133911, 0.7386387586593628, -0.484180212020874, 0.23492130637168884, 0.014506595209240913, -0.15042993426322937, -0.472042977809906, -0.619624137878418, 0.44856175780296326, -0.0015709615545347333, -0.049772877246141434, -0.4432563781738281, 0.6219045519828796, -0.3490174412727356, -0.3225833773612976, -0.03142547234892845, 0.5342608690261841, -0.0386354885995388, 0.2865862250328064, -0.47213855385780334, 0.19788821041584015, -0.08508935570716858, -0.11802095919847488, 0.4524957239627838, 0.37800028920173645, -0.2651883363723755, 0.8725559115409851, 0.510093629360199, 0.25284016132354736, 0.2362418919801712, -0.18561537563800812, 0.4560045599937439, -0.6981080174446106, -0.13973069190979004, -0.7893887162208557, 0.6669782400131226, -0.035467423498630524, 0.07642751187086105, 0.9497689008712769, 0.2408677637577057, 0.5583471059799194, 0.33511051535606384, 0.8176599144935608, -0.0863291546702385, 0.42107412219047546, -0.3293195366859436, 0.6586316227912903, -0.5430201888084412, 0.3049927055835724, -0.34308019280433655, -1.1435534954071045, -0.6676057577133179, 0.2932629883289337, -0.10363350808620453, -0.13090460002422333, 0.6256920695304871, 0.7790930867195129, 0.24815824627876282, -0.1142742708325386, 0.15041066706180573, 0.0689573884010315, 0.4241431653499603, -0.06046357378363609, 0.8576280474662781, -0.10442498326301575, 0.4945470988750458, 0.028877800330519676, -0.50508052110672, -0.25644490122795105, -1.1520074605941772, -0.48460784554481506, -0.7215948700904846, -0.5951967239379883, 0.05128270015120506, -0.21355563402175903, 0.9427155256271362, 0.5611764192581177, -0.7927975058555603, -0.38547709584236145, -0.273978054523468, 0.06987813115119934, -0.31919053196907043, -0.14873230457305908, 0.26120704412460327, -0.6949155330657959, -0.8563380241394043, 0.16487643122673035, 0.6829379200935364, 0.25193360447883606, -0.32237499952316284, 0.14054957032203674, -0.2584436237812042, 0.03365436568856239, 0.3524119257926941, 0.5667576193809509, -0.7996088266372681, -0.3747778832912445, 0.0014848284190520644, -0.38573431968688965, 0.03011018969118595, 0.661784827709198, -0.4493911862373352, 0.20371684432029724, 0.5072238445281982, 1.043169379234314, -0.2828172445297241, 0.11826526373624802, 0.8218644261360168, -0.4565224349498749, -0.21125131845474243, 0.23255054652690887, 0.36923590302467346, 0.3644489049911499, -0.2440814971923828, 0.41149452328681946, -0.06821536272764206, -0.9804633855819702, -0.8569940328598022, 0.25227782130241394, -0.9643819332122803, 0.0403345488011837, 1.017738938331604, 0.3376888334751129, -0.10178698599338531, -0.2065577358007431, -0.2848478853702545, 0.3379351496696472, 0.17450961470603943, 0.7254564762115479, 0.8273071050643921, -0.24961596727371216, -0.05861533060669899, -0.23723608255386353, 0.37798231840133667, 0.31420260667800903, -0.8488141894340515, 0.36915451288223267, 0.6654161214828491, 0.08532434701919556, 0.33834150433540344, 0.5687556862831116, -0.28952670097351074, 0.1137736365199089, -0.2985987365245819, 0.13136151432991028, 0.2919929325580597, -0.11864965409040451, -0.7018219232559204, 0.19606630504131317, 0.4797598719596863, 0.19005431234836578 ]
http://arxiv.org/abs/2406.01238v1
http://arxiv.org/pdf/2406.01238v1
EffiQA: Efficient Question-Answering with Strategic Multi-Model Collaboration on Knowledge Graphs
2024-06-03T11:56:07
2024-06-03T11:56:07
Zixuan Dong, Baoyun Peng, Yufei Wang, Jia Fu, Xiaodong Wang, Yongxue Shan, Xin Zhou
cs.CL
cs.CL
While large language models (LLMs) have shown remarkable capabilities in natural language processing, they struggle with complex, multi-step reasoning tasks involving knowledge graphs (KGs). Existing approaches that integrate LLMs and KGs either underutilize the reasoning abilities of LLMs or suffer from prohibitive computational costs due to tight coupling. To address these limitations, we propose a novel collaborative framework named EffiQA that can strike a balance between performance and efficiency via an iterative paradigm. EffiQA consists of three stages: global planning, efficient KG exploration, and self-reflection. Specifically, EffiQA leverages the commonsense capability of LLMs to explore potential reasoning pathways through global planning. Then, it offloads semantic pruning to a small plug-in model for efficient KG exploration. Finally, the exploration results are fed to LLMs for self-reflection to further improve the global planning and efficient KG exploration. Empirical evidence on multiple KBQA benchmarks shows EffiQA's effectiveness, achieving an optimal balance between reasoning accuracy and computational costs. We hope the proposed new framework will pave the way for efficient, knowledge-intensive querying by redefining the integration of LLMs and KGs, fostering future research on knowledge-based question answering.
[ -0.4816438555717468, -0.8285422325134277, 1.0009050369262695, 0.08551527559757233, 0.05958419293165207, 0.21765442192554474, -0.03264790028333664, -0.15716055035591125, 0.27881303429603577, 0.4761081635951996, -0.7234945297241211, -0.3467029929161072, -0.34810957312583923, 0.06936690211296082, -0.03390481323003769, 0.3679841160774231, -0.2881513237953186, -0.10742315649986267, -0.5964385867118835, -0.309621661901474, -0.16944719851016998, -0.2920475900173187, -0.46314021944999695, -0.3086121082305908, 0.6824097633361816, 0.7027501463890076, 0.8114295601844788, 0.24392157793045044, 0.18259303271770477, 0.3285207450389862, 0.048467203974723816, 0.6479235887527466, -0.5936390161514282, 0.45392388105392456, -0.1712564378976822, -0.07928208261728287, -0.2427247315645218, -0.2166571170091629, 0.47909384965896606, 0.844062328338623, -0.45781150460243225, 0.1963299959897995, 0.11039324104785919, 0.6289572715759277, -0.7198094129562378, 0.12373765558004379, -0.4873931109905243, -0.3796497583389282, 0.20261776447296143, 0.024873530492186546, -0.283630907535553, -0.3987094759941101, 0.25684821605682373, -1.013190507888794, -0.2503487467765808, 0.32746633887290955, 0.5624257922172546, 0.4496617913246155, -0.35792893171310425, -0.37262415885925293, -0.3884260654449463, 0.6386532187461853, -0.3531986176967621, 0.6321208477020264, 0.09015621989965439, 0.5009784698486328, -0.27053362131118774, -1.0540508031845093, -0.6860113739967346, 0.006520501803606749, -0.0184361282736063, 0.20732343196868896, -0.2792374789714813, 0.23084820806980133, -0.004328670911490917, 0.15009504556655884, -0.554390013217926, -0.25389567017555237, -0.3049722909927368, -0.29497215151786804, 0.5382681488990784, 0.13607004284858704, 0.1288304179906845, -0.06409161537885666, -0.4188927412033081, 0.13277655839920044, -0.5356273055076599, -0.009527547284960747, 0.10032488405704498, 0.13491906225681305, 0.42326119542121887, 0.5807638168334961, -0.7375036478042603, 0.8837376236915588, -0.3205339312553406, -0.047282636165618896, -0.12639851868152618, -0.6024526357650757, -0.3628440201282501, -0.28240641951560974, 0.6864038705825806, 0.2768876850605011, 0.05238144099712372, -0.4514063894748688, 0.10778826475143433, -0.21472881734371185, 0.20253273844718933, -0.6931854486465454, -0.46453946828842163, 0.37684401869773865, -0.018152298405766487, 0.07427484542131424, -0.41282615065574646, -0.6391175389289856, -0.17768126726150513, -0.1809600442647934, 0.8398874402046204, -0.2836519777774811, -0.2537464499473572, 0.27703574299812317, -0.20505763590335846, 0.019240912050008774, 0.4698048532009125, -0.349057137966156, 0.4488000273704529, 0.6096299290657043, 0.7073869705200195, 0.1921389400959015, -0.28905025124549866, -0.662807822227478, 0.4882274270057678, -0.14765144884586334, 0.7540723085403442, -0.3295578956604004, -0.13681919872760773, -0.2022465616464615, -0.28878310322761536, -0.22386135160923004, -0.2836970388889313, 0.7875495553016663, -0.8517705202102661, 0.23122438788414001, -0.6688949465751648, -0.7282176613807678, -0.5111452341079712, 0.5393853783607483, -0.8046348094940186, 1.0862250328063965, 0.15171897411346436, -0.7113936543464661, 0.2009279876947403, -0.8472815155982971, -0.15751740336418152, 0.23575715720653534, -0.07551579177379608, -0.06182818114757538, -0.3423389196395874, 0.4656997323036194, 0.31767725944519043, -0.7727619409561157, 0.47585242986679077, -0.37737125158309937, -0.2853061854839325, -0.10243594646453857, 0.07263179868459702, 0.9162689447402954, 0.38397854566574097, -0.049369413405656815, 0.11609090864658356, -0.5289644598960876, 0.6072275042533875, 0.12133932113647461, -0.31488028168678284, -0.3518438935279846, -0.09670652449131012, -0.4523109197616577, 0.16723603010177612, 0.28741124272346497, -0.5198470950126648, 0.11571454256772995, -0.2737687826156616, 0.4834277927875519, 0.46669915318489075, 0.06600992381572723, 0.5995700359344482, -0.5040067434310913, 0.4642629325389862, -0.45944562554359436, 0.29795601963996887, 0.04044567793607712, -0.5551022291183472, -0.8823157548904419, -0.3517916798591614, 0.0664929524064064, 0.4701887369155884, -1.1323832273483276, 0.012638763524591923, -0.23686659336090088, -0.6388012170791626, -0.5364081263542175, 0.21844078600406647, 0.2612066864967346, 0.6015856862068176, 0.5236817598342896, 0.034284841269254684, -0.26129645109176636, -0.8915529251098633, -0.4786411225795746, -0.37089428305625916, 0.12598571181297302, 0.4650597870349884, 0.3874472975730896, 0.18516381084918976, 0.9280286431312561, -0.6102087497711182, -0.11074570566415787, -0.35652077198028564, 0.11208536475896835, 0.22191044688224792, 0.11226384341716766, 0.08471041172742844, -0.9526898264884949, -0.5483402013778687, -0.45561960339546204, -0.5832531452178955, -0.153090700507164, 0.15879610180854797, -0.650335967540741, -0.24868686497211456, 0.44304710626602173, -0.5376489758491516, -0.04378754645586014, 0.4992206394672394, -0.26461338996887207, 0.2583045959472656, -0.09948485344648361, 0.23345845937728882, -0.906517744064331, -0.006523326504975557, -0.3038937449455261, -0.19613920152187347, -0.7975234985351562, 0.37948593497276306, 0.10023442655801773, 0.18391844630241394, -0.22326819598674774, 0.3864237666130066, -0.5791200995445251, -0.05586168169975281, 0.2186082899570465, 0.46386873722076416, 0.5071578621864319, 0.641520082950592, -0.17896172404289246, 0.6861555576324463, 0.2676919996738434, -0.6083117723464966, 0.39882782101631165, 0.4024035632610321, -0.27125856280326843, 0.5430838465690613, -0.5681451559066772, 0.34927573800086975, 0.051677536219358444, 0.239501491189003, -1.0705931186676025, -0.16855759918689728, 0.3089338541030884, -0.34112152457237244, -0.0646892562508583, 0.061152055859565735, -0.7045265436172485, -0.4515439569950104, -0.3074776232242584, 0.3442622423171997, 0.0554889515042305, -0.6913822293281555, 1.1352078914642334, 0.4742218554019928, -0.1774289309978485, -0.5870993137359619, -0.3991508483886719, 0.12562884390354156, -0.0703752189874649, -1.1084232330322266, 0.4075666666030884, -0.0966268852353096, -0.24534562230110168, 0.19377925992012024, 0.04401746764779091, -0.39537712931632996, 0.30900466442108154, -0.16382506489753723, 0.10065378248691559, 0.09622557461261749, 0.2524220049381256, 0.046187981963157654, 0.1803339570760727, 0.007233841810375452, -0.5527886152267456, 0.37430569529533386, -0.1476149559020996, -0.4079304337501526, -0.09834049642086029, 0.5150125622749329, 0.5123791098594666, -0.3028671145439148, 0.7401268482208252, 0.30288270115852356, -0.3491553068161011, -0.15556198358535767, -0.795374870300293, 0.10511419922113419, -0.496120423078537, 0.26544448733329773, -0.5211780667304993, -1.095321536064148, 0.3814428746700287, -0.417642205953598, 0.1584775298833847, 0.33944350481033325, 0.35110145807266235, -0.06188367307186127, 0.8275898098945618, 0.6383764147758484, 0.2189943939447403, -0.15096159279346466, -0.21068274974822998, 0.33892348408699036, -0.8459038138389587, -0.38202688097953796, -0.5530087947845459, -0.09058520197868347, -0.24514269828796387, -0.7541927695274353, 0.723875105381012, 0.2449968308210373, -0.48093873262405396, 0.13406585156917572, -0.4875294268131256, 0.49649327993392944, 0.6563535332679749, 0.04117114469408989, 0.5865514278411865, -0.2704479694366455, -0.5553659200668335, 0.0973735824227333, -1.2255498170852661, -0.26891928911209106, 0.9288648366928101, 0.0180817898362875, 0.511838436126709, 0.4391700029373169, 0.8565371036529541, -0.16599802672863007, 0.24968498945236206, -0.6484262943267822, 0.5911238193511963, 0.3464434742927551, -0.6498521566390991, -0.7203263640403748, -0.6183270215988159, -0.4190577268600464, 0.4604937434196472, -0.07024189829826355, -0.6423725485801697, -0.03356797993183136, 0.008992087095975876, -0.5155715346336365, 0.38478294014930725, -0.7104867100715637, 0.8196532726287842, -0.2953775227069855, -0.7709735035896301, -0.24961742758750916, -0.5497255921363831, 0.4059407711029053, -0.04864533990621567, 0.4135805666446686, 0.038653530180454254, -0.19025228917598724, 0.6523063778877258, -0.352966845035553, 0.3685075640678406, -0.31832772493362427, -0.053692739456892014, 0.5265461206436157, 0.251281201839447, 0.6183529496192932, -0.11105954647064209, -0.16754233837127686, -0.22840601205825806, 0.06826121360063553, -0.4274948537349701, -0.6949899196624756, 0.5764347314834595, -0.4158359169960022, -0.7142247557640076, -0.17258355021476746, -0.6790819764137268, -0.6129884719848633, 0.2776326537132263, -0.0812164843082428, 0.3329178988933563, -0.2913016378879547, 0.05841070041060448, 0.5006765723228455, -0.1611679345369339, 0.23506151139736176, 0.4606418311595917, -0.1874980926513672, -0.6072850227355957, 0.6805922985076904, 0.32834163308143616, 0.47870853543281555, 0.3244503438472748, 0.1853453367948532, -0.5551207065582275, -0.44954007863998413, -0.5981560945510864, 0.07047490775585175, -0.9328696727752686, -0.232260063290596, -0.9096325039863586, 0.06145663931965828, -0.23676972091197968, -0.13652008771896362, -0.2519542872905731, -0.6075100302696228, 0.22776803374290466, 0.11641623079776764, 0.2159680873155594, 0.7285283803939819, -0.1397067904472351, 0.057435326278209686, -0.7669395804405212, 0.1894703507423401, 0.5785451531410217, 0.24822790920734406, 0.17114228010177612, -0.1367458999156952, -0.1692698895931244, -0.115209199488163, -0.31918570399284363, -0.9727925062179565, 0.17303074896335602, 0.246488556265831, 0.9050244092941284, -0.051494672894477844, 0.4232657253742218, 0.7230265736579895, -0.24440063536167145, 0.6507630348205566, 0.151228129863739, -0.9367601871490479, 0.05916018411517143, -0.3048819601535797, 0.29385194182395935, 0.8737351894378662, 0.6119548678398132, -0.5449984669685364, -0.32618483901023865, -0.43825408816337585, -0.9375963807106018, 0.5115153789520264, 0.21295300126075745, -0.365087628364563, 0.12239837646484375, 0.31444114446640015, -0.10402384400367737, 0.3296184837818146, -0.4370511770248413, -0.20733150839805603, 0.013218218460679054, -0.16706112027168274, 0.190348818898201, -0.215251162648201, -0.46385374665260315, -0.47465211153030396, 0.6545673608779907, -0.4291903078556061, 0.2241164594888687, 0.4273306429386139, -0.22820690274238586, -0.01068558543920517, 0.23128682374954224, -0.02881685271859169, 0.6948280930519104, 0.16455282270908356, 0.20100246369838715, 0.46928897500038147, 0.08462554961442947, 0.07043967396020889, 0.12197765707969666, -0.106940358877182, -0.3225085735321045, 0.12815208733081818, 0.2588878273963928, 0.3257543742656708, -0.5560663342475891, 0.4661067724227905, -0.18003425002098083, -0.5329630970954895, -0.13990572094917297, 0.037914302200078964, 0.6583727598190308, 0.5657017827033997, 0.3128412067890167, -0.2123350352048874, 0.36893463134765625, -0.38126885890960693, 0.2036208063364029, 0.41884657740592957, -0.11679698526859283, 0.22122496366500854, 0.588836133480072, 0.3076810836791992, 0.006229281425476074, 0.6115501523017883, -0.4904361963272095, -1.0104713439941406, 0.4964708089828491, 0.03816894069314003, 0.5875800251960754, 0.008762171491980553, 0.4678266942501068, 0.5297065377235413, 0.32779303193092346, -0.13657698035240173, 0.5280259251594543, -0.43116238713264465, -0.8394495844841003, -0.7428188920021057, -0.4990081191062927, -0.7208588123321533, -0.3824709355831146, -0.45469990372657776, 0.028923021629452705, -0.15580642223358154, 0.18092495203018188, -0.14747542142868042, 0.18901021778583527, -0.6235629916191101, 0.024064118042588234, -0.05693749710917473, 1.0059071779251099, -0.4751206338405609, 0.5753874182701111, 0.5437761545181274, -0.31984925270080566, -1.2815221548080444, -0.07254187017679214, 0.05713973194360733, -0.7126835584640503, 0.5348907113075256, 0.24604444205760956, -0.518409013748169, 0.324774831533432, -0.5412203073501587, -1.0199823379516602, 1.4841417074203491, 0.2528706192970276, -0.48864156007766724, -0.09649374336004257, -0.03803730010986328, 0.1637648344039917, -0.31640663743019104, 0.2673097550868988, 0.5465097427368164, 0.7425926327705383, 0.6006214618682861, -0.9213119149208069, 0.1992255300283432, -0.05379800871014595, -0.559823751449585, 0.2657158076763153, -0.9353744387626648, 0.7505449652671814, -0.4262610375881195, -0.3453119695186615, 0.23193921148777008, 0.485635370016098, 0.2079903781414032, 0.38430556654930115, 0.6899717450141907, 0.8539544939994812, 1.2453166246414185, -0.03657901659607887, 0.7917107343673706, -0.36911770701408386, 0.3199610114097595, 1.1435350179672241, -0.4318367838859558, 0.6186447143554688, 0.33170390129089355, -0.18755917251110077, 0.48919594287872314, 0.47841089963912964, 0.32611531019210815, 0.5822817087173462, 0.23709461092948914, -0.38413771986961365, -0.6860246062278748, -0.2189953774213791, -0.023988869041204453, 0.38416242599487305, 0.23979924619197845, 0.08393671363592148, -0.44462475180625916, -0.3275603652000427, 0.09969807416200638, 0.1189906969666481, -0.2343163937330246, 0.7138579487800598, -0.042731646448373795, -1.0588189363479614, 0.3985608220100403, -0.11910523474216461, 0.31301695108413696, -0.430541455745697, 0.00551823154091835, 0.07557820528745651, -0.07716153562068939, 0.043507881462574005, -0.7351759672164917, 0.24311991035938263, -0.2797739505767822, 0.18748413026332855, -0.30250245332717896, 0.748211145401001, -0.4438575804233551, -0.29354432225227356, 0.6589168310165405, 1.1859123706817627, -0.17183524370193481, -0.25951841473579407, -0.6746896505355835, -0.2440723180770874, -0.040715426206588745, -0.2672613263130188, 0.027467016130685806, 0.581104040145874, 0.13072630763053894, 0.8661923408508301, 0.5289368629455566, -0.2176954597234726, -0.010355320759117603, 0.13698944449424744, 1.236999273300171, -0.3867647051811218, -0.5709630846977234, -0.5405926704406738, 0.3179624080657959, -0.3637964129447937, -0.011006942950189114, 0.6601483225822449, 0.5662839412689209, 0.6982829570770264, 0.5578466653823853, 0.7016445398330688, -0.1198764368891716, 0.5951166152954102, -0.45671993494033813, 0.5424138903617859, -0.6992148160934448, 0.15977917611598969, -0.21230003237724304, -0.772790253162384, -0.15853703022003174, 0.45757144689559937, -0.24588139355182648, -0.034656181931495667, 0.7612692713737488, 0.772093653678894, 0.25239884853363037, 0.36803704500198364, 0.2790915369987488, 0.1248050406575203, 0.3246138393878937, 0.8252139687538147, 0.9845820069313049, -0.14568835496902466, 0.8092218041419983, -0.3007262349128723, -0.23860661685466766, 0.18958641588687897, -0.824210524559021, -0.601151704788208, -0.5765057802200317, -0.049856215715408325, -0.19394804537296295, 0.12636031210422516, 0.9563828706741333, 0.49499472975730896, -0.31579703092575073, -0.051501527428627014, -0.18971946835517883, 0.20397335290908813, -0.06472483277320862, -0.17940209805965424, 0.26493707299232483, -0.24251510202884674, -0.5368778109550476, 0.4349730312824249, 0.2982257902622223, -0.4747907817363739, -0.5186548233032227, -0.24357318878173828, -0.5581579208374023, 0.20846079289913177, 0.395992636680603, 0.09983978420495987, -0.4650888741016388, -0.2269754856824875, 0.3987565040588379, 0.08872281014919281, -0.1584545075893402, 0.7546228170394897, -0.7356323599815369, 0.6658927202224731, 0.5534759163856506, 0.8788617849349976, 0.6028837561607361, -0.10095080733299255, 0.6348596811294556, -0.41232189536094666, -0.3288056254386902, 0.32973355054855347, 0.31249600648880005, 0.4430088400840759, -0.28368520736694336, 0.7165044546127319, 0.03857678174972534, -0.7112677693367004, -0.5676721334457397, 0.288519948720932, -0.6464768052101135, -0.39888104796409607, 1.1067512035369873, -0.22005848586559296, -0.19012200832366943, -0.45320793986320496, -0.10395373404026031, 0.2380361706018448, -0.2241171896457672, 0.4464495778083801, 0.8522800207138062, -0.4053538739681244, -0.045202139765024185, -0.6616487503051758, 0.3894190788269043, 0.5169969201087952, -0.6725736260414124, 0.042549312114715576, 0.6767069697380066, 0.14922243356704712, 0.2631787359714508, 0.9412554502487183, 0.20645517110824585, 0.20708590745925903, -0.011559019796550274, -0.25312286615371704, -0.3389958441257477, -0.540255069732666, 0.1906140148639679, 0.500679612159729, 0.1884886771440506, 0.096268430352211 ]
http://arxiv.org/abs/2406.01233v1
http://arxiv.org/pdf/2406.01233v1
Multi-word Term Embeddings Improve Lexical Product Retrieval
2024-06-03T11:52:52
2024-06-03T11:52:52
Viktor Shcherbakov, Fedor Krasnov
cs.IR
cs.IR, cs.CL
Product search is uniquely different from search for documents, Internet resources or vacancies, therefore it requires the development of specialized search systems. The present work describes the H1 embdedding model, designed for an offline term indexing of product descriptions at e-commerce platforms. The model is compared to other state-of-the-art (SoTA) embedding models within a framework of hybrid product search system that incorporates the advantages of lexical methods for product retrieval and semantic embedding-based methods. We propose an approach to building semantically rich term vocabularies for search indexes. Compared to other production semantic models, H1 paired with the proposed approach stands out due to its ability to process multi-word product terms as one token. As an example, for search queries "new balance shoes", "gloria jeans kids wear" brand entity will be represented as one token - "new balance", "gloria jeans". This results in an increased precision of the system without affecting the recall. The hybrid search system with proposed model scores mAP@12 = 56.1% and R@1k = 86.6% on the WANDS public dataset, beating other SoTA analogues.
[ -0.29499614238739014, -0.9145736694335938, 0.35170796513557434, 0.403097927570343, -0.34973591566085815, 0.47251683473587036, 0.0557936392724514, -0.5436364412307739, 0.9792934656143188, 0.35272181034088135, -0.3242379426956177, -0.6695420145988464, -0.3014545142650604, -0.0391630195081234, -0.4694952368736267, 0.6066156029701233, -0.23393294215202332, -0.12371914833784103, -0.012644758448004723, -0.3588787913322449, -0.2677594721317291, -0.675182044506073, 0.074783094227314, -0.04640788584947586, 0.31340304017066956, 0.1415579915046692, 0.9801976680755615, 0.4647986590862274, 0.5758229494094849, 0.23702023923397064, -0.040245771408081055, 0.333204448223114, -0.5097101926803589, 0.32728391885757446, -0.03475627303123474, -0.3371295928955078, -0.44754037261009216, -0.059958502650260925, 0.14810408651828766, 0.2931293547153473, -0.5263072848320007, 0.06793396919965744, 0.08609528839588165, 0.13391713798046112, -0.9961061477661133, -0.01338458713144064, -0.46668678522109985, 0.1414378434419632, -0.10597596317529678, -0.2795957922935486, -0.3308871388435364, -0.13995017111301422, 0.2968379855155945, -1.094752311706543, 0.05307859182357788, 0.3482320308685303, 1.094125747680664, -0.013112376444041729, 0.029753023758530617, -0.37313535809516907, -0.464076429605484, 0.6137274503707886, -0.7396863102912903, 0.5801858901977539, 0.23165400326251984, 0.04168584570288658, 0.04366224259138107, -0.5512914061546326, -0.5225502252578735, 0.09405499696731567, -0.10252222418785095, 0.23965507745742798, -0.024762101471424103, 0.12702612578868866, -0.14524292945861816, 0.30277520418167114, -0.2598377764225006, -0.1959383636713028, -0.09728388488292694, 0.047511596232652664, 0.2860982120037079, 0.0912347212433815, 0.1433800607919693, -0.33012691140174866, -0.7072178721427917, -0.00879914965480566, -0.6276307106018066, -0.37122416496276855, 0.14218099415302277, 0.49052542448043823, 0.15151718258857727, 0.9307444095611572, -0.21689388155937195, 0.5279210209846497, -0.07082260400056839, -0.2141132354736328, 0.30473780632019043, -0.7348273992538452, -0.01664946787059307, 0.18234477937221527, 0.0628533810377121, 0.3026488125324249, -0.5312166213989258, -0.37873101234436035, -0.5651286840438843, 0.12535648047924042, 0.1894884556531906, -0.6888265609741211, 0.11887200176715851, -0.15511129796504974, -0.6267865896224976, -0.1157887876033783, 0.7218477129936218, -0.7579788565635681, -0.2698805630207062, -0.2184436172246933, 1.1831859350204468, 0.08138418197631836, -0.03498854115605354, 0.5781315565109253, -0.6514463424682617, 0.30897265672683716, -0.2602846324443817, -0.3104131817817688, 0.5103611946105957, 0.7929092049598694, 0.9055187106132507, 0.006363934837281704, 0.1408144235610962, -0.25596097111701965, 0.33169931173324585, -0.24804452061653137, 0.6184529662132263, -0.7292237281799316, -0.4678836762905121, 0.2555670142173767, 0.0026664112228900194, 0.08703286200761795, -0.7495764493942261, 0.2200646698474884, -0.8281477689743042, -0.08134747296571732, -0.4855841100215912, -0.7309520244598389, -0.13106876611709595, 0.3971710205078125, -0.5144515037536621, 1.0503997802734375, -0.12664176523685455, -0.7686609029769897, 0.3982718586921692, -0.7730235457420349, -0.37734946608543396, 0.28864380717277527, -0.14812320470809937, -0.45227351784706116, 0.21041740477085114, 0.2189878672361374, 0.19778580963611603, -0.3807784914970398, -0.034831173717975616, -0.5707324147224426, -0.5449451208114624, -0.2835068106651306, 0.3215261399745941, 0.1650703400373459, 0.007882043719291687, -0.49554264545440674, -0.3329576253890991, -0.2631327509880066, -0.059212859719991684, 0.33634936809539795, -0.30366408824920654, -0.8313457369804382, -0.032534159719944, 0.4236798584461212, 0.26669755578041077, 0.5612465143203735, -1.0252355337142944, 0.21621260046958923, -0.5170341730117798, 0.34518682956695557, 0.37939053773880005, -0.04947958141565323, 0.09974586218595505, -0.25919318199157715, 0.5286811590194702, -0.0178336501121521, 0.40370383858680725, -0.38683000206947327, -0.7127412557601929, -0.8532614707946777, -0.24882107973098755, 0.49082449078559875, 0.5071854591369629, -0.824658989906311, 0.6814785599708557, -0.3485078811645508, -0.42902785539627075, -0.6454210877418518, -0.010486217215657234, 0.3216519057750702, -0.06447076052427292, 0.6223320364952087, -0.45876047015190125, -0.4291470944881439, -1.0246871709823608, -0.10791759938001633, 0.27613565325737, 0.04902488365769386, 0.5775985717773438, 0.486619770526886, -0.5053623914718628, 1.2337760925292969, -0.9244477152824402, -0.5591638684272766, -0.09700750559568405, 0.3149023950099945, 0.1629432737827301, 0.20732435584068298, 0.1423492431640625, -0.8945221304893494, -0.2924755811691284, -0.1484408676624298, -0.4671277403831482, 0.08873843401670456, 0.21294188499450684, -0.22292281687259674, 0.08079276978969574, 0.30782803893089294, -0.488869845867157, 0.781916618347168, 0.45375385880470276, -0.4025803208351135, 0.09362136572599411, -0.6178337335586548, -0.004980504512786865, -1.3248580694198608, 0.04288933053612709, 0.2736567258834839, -0.12600094079971313, -0.17813049256801605, 0.5385462045669556, 0.08708735555410385, -0.17583738267421722, -0.7024359107017517, 0.3067748248577118, -0.39939841628074646, -0.3410954177379608, -0.21405670046806335, 0.5138778686523438, 0.6038017272949219, 0.168758824467659, -0.13716769218444824, 0.7145830988883972, 0.08440633863210678, -0.7177438735961914, 0.3080371916294098, 0.6627883315086365, -0.37691596150398254, 0.3399032950401306, -0.8623853325843811, -0.09778345376253128, -0.14001508057117462, 0.35660794377326965, -0.5930771827697754, 0.3300342559814453, -0.2756224572658539, -0.08520574867725372, 0.2055726796388626, 0.29101550579071045, -1.101709246635437, -0.5604968667030334, -0.6839094161987305, 0.3516246974468231, 0.23801709711551666, -0.8581397533416748, 0.551862359046936, 0.9379509687423706, -0.02157621458172798, -0.15414740145206451, -0.8163645267486572, 0.23343868553638458, -0.12489796429872513, -0.7314687967300415, 1.1709774732589722, 0.13754327595233917, 0.15694989264011383, 0.22140751779079437, -0.14865842461585999, 0.0801645815372467, 0.12516522407531738, -0.18625526130199432, 0.4523865282535553, -0.26018914580345154, 0.605911910533905, 0.021412335336208344, -0.12395739555358887, -0.4380682408809662, -0.44761568307876587, 0.6426170468330383, 0.016251279041171074, -0.23390331864356995, -0.25691336393356323, 0.5131202936172485, 0.24395236372947693, -0.34590521454811096, 0.8599650263786316, 0.37766650319099426, -0.6956282258033752, 0.011619416996836662, -0.607361376285553, -0.4885564148426056, -0.5074887871742249, 0.2111882120370865, -0.3753814995288849, -0.8000143766403198, 0.4795551002025604, -0.008318229578435421, -0.250238299369812, 0.3984050750732422, 0.4629819095134735, -0.02633761242032051, 1.236701488494873, 0.8138860464096069, 0.2581061124801636, 0.2951802909374237, -0.35855746269226074, 0.8144678473472595, -0.8491261601448059, -0.4492783844470978, -0.41786378622055054, -0.48785200715065, -1.0252127647399902, -0.6906810402870178, 0.5717740654945374, 0.05117611587047577, -0.08752124756574631, 0.7882673740386963, -0.5174481272697449, 0.2671301066875458, 0.6522911190986633, 0.6254433393478394, 0.08352311700582504, 0.21393588185310364, -0.5267801880836487, -0.03343820199370384, -0.6883182525634766, -0.11774703115224838, 1.0497570037841797, 0.3481760621070862, 1.0687403678894043, 0.18339060246944427, 0.7664124369621277, 0.19750575721263885, -0.08658172935247421, -0.7668845057487488, 0.07800339162349701, -0.44885215163230896, -0.9735569953918457, -0.015006028115749359, -0.05024753510951996, -0.746379017829895, 0.24073223769664764, -0.454784095287323, -0.5820444226264954, 0.5104745030403137, -0.16993938386440277, -0.7922378182411194, 0.22409458458423615, -0.5330272912979126, 0.6934873461723328, -0.37959474325180054, -0.7223811149597168, -0.4815743863582611, -0.3424556851387024, -0.2900129556655884, -0.14712844789028168, 0.16043022274971008, 0.11632045358419418, -0.4596558213233948, 1.0044564008712769, -0.36131957173347473, 0.30293458700180054, -0.021399741992354393, 0.050628941506147385, 0.20808298885822296, -0.12856782972812653, 0.44180503487586975, -0.11321785300970078, 0.1495550572872162, -0.08349771052598953, 0.2634938657283783, -0.48769712448120117, -0.46074435114860535, 0.6568427085876465, -0.26264938712120056, -0.5831241011619568, -0.3052200973033905, 0.06532963365316391, -0.11269443482160568, 0.11500749737024307, 0.0705709159374237, 0.32882192730903625, -0.14722110331058502, 0.6837888956069946, 0.5403420329093933, -0.5962903499603271, 0.40752527117729187, 0.28848278522491455, -0.512604296207428, -0.2314186692237854, 1.0449891090393066, 0.41784071922302246, -0.12022271752357483, 0.5483882427215576, 0.5226369500160217, -0.643242597579956, 0.22704622149467468, -0.020135611295700073, 0.19191798567771912, -0.7434187531471252, -0.30502378940582275, -0.8152855634689331, 0.07987198978662491, -0.2802615165710449, -0.05912499129772186, -0.5382125973701477, -0.3310166597366333, -0.20157532393932343, -0.10547900944948196, 0.3496309816837311, 1.0286924839019775, 0.13817815482616425, 0.3639987111091614, -0.8952955603599548, 0.3914913833141327, 0.33096903562545776, 0.7381941080093384, 0.028096364811062813, -0.3092525601387024, -0.6396743059158325, 0.052955735474824905, -0.548915684223175, -0.8608187437057495, 0.45913222432136536, 0.32369279861450195, 0.5076528191566467, 0.4735701084136963, 0.08988809585571289, 0.780581533908844, -0.16615749895572662, 0.5575205087661743, 0.0813712403178215, -1.043426752090454, 0.2600349187850952, -0.27215775847435, 0.0575578399002552, 0.5470146536827087, 0.41736719012260437, -0.544320821762085, 0.1571805626153946, -0.5119674205780029, -1.1485201120376587, 0.5213457345962524, 0.19414596259593964, 0.3487332761287689, -0.22158220410346985, -0.009544660337269306, 0.29906049370765686, 0.5029735565185547, -0.2585861384868622, -0.21472680568695068, 0.0010074834572151303, -0.0919497162103653, 0.02295740880072117, -0.27461516857147217, 0.26552677154541016, -0.4730863869190216, 0.6630904674530029, -0.034588757902383804, 0.4036596119403839, 0.2040005773305893, -0.18267907202243805, 0.2959766983985901, -0.046106383204460144, 0.04727901890873909, 0.33617907762527466, -0.3160049319267273, -0.1328059285879135, -0.045693449676036835, -0.20227929949760437, -0.0370175838470459, 0.012894943356513977, -0.10928639769554138, 0.1886337250471115, -0.34036001563072205, 0.5241116285324097, 0.642775297164917, -0.6420374512672424, 0.6952509880065918, 0.13651226460933685, 0.17224857211112976, 0.06495644897222519, -0.7340885996818542, 0.1839936226606369, -0.0665355771780014, 0.364921897649765, -0.29518821835517883, 0.6636626720428467, -0.7041740417480469, 0.5791946053504944, 0.3636193573474884, -0.2441151887178421, -0.21674618124961853, 0.28343522548675537, 0.31366851925849915, -0.164712056517601, 0.5031421184539795, -0.3872397541999817, -0.8871471881866455, 0.5287760496139526, 0.7545581459999084, 0.8399084806442261, 0.08385324478149414, 0.24277137219905853, 0.1800500452518463, 0.349570095539093, -0.3322064280509949, 0.5939530730247498, -0.06363128870725632, -0.7056077718734741, 0.08314941823482513, -0.7663688659667969, -0.3892420530319214, -0.41298967599868774, -0.509595513343811, 0.6499549150466919, -0.22209680080413818, -0.6400882005691528, -0.13697940111160278, -0.1734430193901062, -0.9003031849861145, 0.0023118173703551292, 0.264636367559433, 0.7426875829696655, -0.7301625609397888, 0.3864710330963135, 0.4882008731365204, -0.5597578287124634, -0.36962294578552246, 0.03775027021765709, -0.32625100016593933, -0.6308066844940186, 0.4485194981098175, 0.6021264791488647, -0.038104962557554245, -0.06076262146234512, 0.1182432621717453, -1.2175155878067017, 1.131799578666687, -0.06151493266224861, -0.5525032877922058, -0.25115078687667847, 0.12387485057115555, 0.38726484775543213, -0.5049782991409302, 0.43809664249420166, 0.5421285629272461, 0.4742293059825897, -0.2989502549171448, -0.9104258418083191, -0.041739799082279205, -0.18856406211853027, 0.3267446458339691, 0.11531514674425125, -0.4349137246608734, 0.6633276343345642, 0.15999113023281097, -0.5831374526023865, 0.2028912603855133, 0.02755304053425789, 0.07971737533807755, 0.3999375104904175, 0.23313523828983307, 1.0839003324508667, 0.38775941729545593, -0.10596621036529541, 1.156008005142212, -0.6343551874160767, 0.7178501486778259, 0.9032446146011353, -0.38664510846138, 1.373370885848999, 0.5204460024833679, -0.11289238184690475, 0.4918695390224457, 0.5174605846405029, 0.024445418268442154, 0.6926101446151733, 0.41780009865760803, -0.0026966140139847994, -0.3626389503479004, -0.4448225200176239, -0.3968564569950104, 0.5506863594055176, 0.39286574721336365, -0.39220577478408813, -0.23980005085468292, -0.00022061214258428663, -0.340750515460968, -0.026439499109983444, 0.019320283085107803, 0.7240305542945862, 0.0903591588139534, -0.06620854884386063, 0.37478458881378174, 0.43556687235832214, 1.1862530708312988, -0.22654715180397034, 0.09165265411138535, 0.0071207573637366295, 0.19107678532600403, -0.17170368134975433, -0.29559576511383057, 0.18779680132865906, -0.37994644045829773, 0.19287438690662384, -0.025501839816570282, 0.378968209028244, -0.2680527865886688, -0.7132986783981323, 0.8208101987838745, 0.7377451062202454, -0.4299945831298828, -0.15762180089950562, -0.798276960849762, -0.16327139735221863, -0.5547130703926086, -0.4095315635204315, 0.037045929580926895, 0.013328623957931995, 0.0349225290119648, 0.3202090263366699, 0.4365254342556, -0.311024934053421, 0.39396485686302185, -0.12122518569231033, 0.8300945162773132, -0.734343409538269, -0.9098093509674072, -0.5331977009773254, 0.1414038985967636, -0.07826771587133408, -0.10437905788421631, 0.6137930154800415, 0.884633481502533, 0.7739449739456177, 0.12241372466087341, 0.6311243772506714, 0.10438647121191025, 0.2745774984359741, -0.1955125778913498, 0.6867142915725708, -0.9545297026634216, 0.010680646635591984, -0.20241273939609528, -1.2489597797393799, -0.27738818526268005, 0.5398565530776978, 0.14149069786071777, -0.016276545822620392, 0.7569324374198914, 1.1920851469039917, -0.15987887978553772, 0.15258826315402985, 0.3347202241420746, 0.07905934005975723, -0.00507619883865118, 0.013022039085626602, 0.4706035554409027, -0.7938185334205627, 0.06872821599245071, -0.22097809612751007, -0.22396275401115417, -0.5160156488418579, -0.6680073738098145, -0.1833319365978241, -0.42500895261764526, -0.20037944614887238, -0.2261505275964737, 0.21740685403347015, 1.2867653369903564, 0.871980607509613, -0.6683376431465149, -0.15330909192562103, 0.04656574875116348, -0.29183223843574524, 0.02706880494952202, -0.1961219608783722, 0.2534332275390625, -0.1971946358680725, -0.3365146517753601, 0.43437573313713074, 0.6519509553909302, -0.12071415781974792, -0.42042604088783264, -0.09261368215084076, -0.5101993680000305, 0.5194674134254456, 0.769603431224823, -0.2180829644203186, -0.7773486375808716, -0.04924736171960831, 0.610760509967804, 0.0750853568315506, 0.1824989914894104, 0.6700530648231506, -0.8138903975486755, 0.814020037651062, 0.722667932510376, 0.7910382151603699, 0.5871506333351135, 0.053803108632564545, 0.4782412350177765, -0.49725162982940674, 0.12637992203235626, 0.25514641404151917, 0.5175356268882751, 0.42017483711242676, -0.03545680642127991, 0.04490020498633385, 0.333639532327652, 0.014678229577839375, -0.36766019463539124, 0.013341965153813362, -0.5539438724517822, -0.2685733735561371, 1.0582072734832764, -0.12556186318397522, -0.2844914197921753, -0.08123628795146942, 0.022443387657403946, 0.2767176330089569, -0.48050349950790405, 0.9530879259109497, 0.5840734839439392, 0.43641483783721924, 0.49219173192977905, -0.19245418906211853, -0.1690809279680252, 0.37467408180236816, -0.41335949301719666, -0.5054005980491638, -0.12338405847549438, -0.11506175249814987, 0.43234023451805115, -0.04298163577914238, -0.2340051829814911, 0.16944019496440887, 0.0050761280581355095, 0.18656672537326813, 0.12474444508552551, -0.3181670308113098, -0.018155762925744057, 0.2432299703359604, -0.10611420124769211, -0.44219517707824707 ]
http://arxiv.org/abs/2406.01224v1
http://arxiv.org/pdf/2406.01224v1
Demonstration Augmentation for Zero-shot In-context Learning
2024-06-03T11:46:42
2024-06-03T11:46:42
Yi Su, Yunpeng Tai, Yixin Ji, Juntao Li, Bowen Yan, Min Zhang
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated an impressive capability known as In-context Learning (ICL), which enables them to acquire knowledge from textual demonstrations without the need for parameter updates. However, many studies have highlighted that the model's performance is sensitive to the choice of demonstrations, presenting a significant challenge for practical applications where we lack prior knowledge of user queries. Consequently, we need to construct an extensive demonstration pool and incorporate external databases to assist the model, leading to considerable time and financial costs. In light of this, some recent research has shifted focus towards zero-shot ICL, aiming to reduce the model's reliance on external information by leveraging their inherent generative capabilities. Despite the effectiveness of these approaches, the content generated by the model may be unreliable, and the generation process is time-consuming. To address these issues, we propose Demonstration Augmentation for In-context Learning (DAIL), which employs the model's previously predicted historical samples as demonstrations for subsequent ones. DAIL brings no additional inference cost and does not rely on the model's generative capabilities. Our experiments reveal that DAIL can significantly improve the model's performance over direct zero-shot inference and can even outperform few-shot ICL without any external information.
[ -0.16343584656715393, -0.9116953611373901, 0.6599087715148926, 0.14445683360099792, -0.35345184803009033, -0.10715856403112411, -0.2458081841468811, -0.4871041476726532, -0.09705974161624908, 0.4150277078151703, -0.4947090148925781, -0.46683838963508606, -0.23935098946094513, 0.01671154797077179, -0.524986743927002, 0.8001437187194824, 0.019728681072592735, -0.0797310546040535, -0.5882980823516846, -0.03685654699802399, -0.47610270977020264, -0.3464403748512268, -0.5821471214294434, -0.5251975059509277, 0.05525553226470947, 0.733648419380188, 0.15579402446746826, 0.44928863644599915, -0.1285601109266281, 0.19480784237384796, 0.12594284117221832, 0.31946155428886414, -0.4760383069515228, 0.2526478171348572, -0.09721561521291733, -0.4228832423686981, -0.1061977967619896, -0.14175410568714142, 0.8738837242126465, 0.912710964679718, 0.18662740290164948, 0.08356934785842896, 0.12531745433807373, 0.2954733073711395, -0.7989678382873535, 0.20949707925319672, -0.8906859755516052, 0.1762986183166504, -0.016366276890039444, -0.29250356554985046, -0.7651050090789795, -0.02412489801645279, 0.14350256323814392, -0.6071780323982239, 0.18672092258930206, -0.15243084728717804, 0.6675898432731628, 0.01584012061357498, -0.5258519649505615, 0.02589741349220276, -0.8113480806350708, 0.8163204193115234, -0.9285757541656494, 0.2538611888885498, 0.30717626214027405, 0.282946914434433, -0.1812518835067749, -0.7604936957359314, -0.7468490600585938, -0.7647218704223633, -0.05115757882595062, 0.2231973260641098, 0.10165485739707947, -0.11029546707868576, 0.5213225483894348, 0.29270103573799133, -0.25599128007888794, 0.4231322109699249, -0.12277991324663162, -0.12540186941623688, 0.4070761203765869, 0.20017509162425995, 0.07875630259513855, -0.1202315166592598, -0.786575198173523, -0.09191377460956573, -1.2566839456558228, 0.23836545646190643, 0.08552245795726776, 0.38839492201805115, -0.20176024734973907, 0.7121261358261108, -0.6575016379356384, 0.7736626863479614, 0.344184935092926, -0.04933818429708481, 0.19481678307056427, -0.16187897324562073, -0.5691978335380554, 0.21399438381195068, 0.617881715297699, 0.02832208387553692, -0.3705226182937622, -0.13556921482086182, -0.254952609539032, -0.16499602794647217, -0.09602091461420059, -1.173460602760315, 0.029688481241464615, 0.20784008502960205, 0.06405925005674362, -0.2331341952085495, -0.03602064773440361, -0.5854719281196594, -0.3468150794506073, -0.3315679132938385, 0.9255428314208984, -0.623327910900116, -0.02893463335931301, -0.0783763900399208, -0.08187012374401093, 0.264850378036499, 0.5878329277038574, -0.5899040699005127, 0.018750343471765518, 0.42820292711257935, 0.969767153263092, -0.028006762266159058, -0.24507099390029907, -0.9779564142227173, 0.40584737062454224, -0.5037335157394409, 0.7647795677185059, -0.3805027902126312, -0.47565746307373047, 0.18154177069664001, -0.09808532893657684, 0.03138066083192825, -0.5531392693519592, 0.32562026381492615, -0.493236780166626, 0.3824719190597534, -0.06845743209123611, -0.9665502905845642, -0.15109111368656158, 0.2946375012397766, -0.35838624835014343, 0.9228355288505554, 0.26199448108673096, -0.4691183567047119, 0.5507111549377441, -0.8041030764579773, -0.5653771162033081, 0.40461641550064087, -0.42095527052879333, -0.443978488445282, 0.08295585960149765, 0.42347273230552673, 0.6819449067115784, 0.07026530802249908, 0.1618843376636505, -0.39463862776756287, -0.6774832606315613, 0.2942834496498108, -0.5584347248077393, 0.755419909954071, -0.05586256831884384, -0.8535906076431274, 0.1040971651673317, -0.8427567481994629, -0.2703520953655243, 0.04578115791082382, -0.21505357325077057, -0.2831054925918579, -0.11763864755630493, -0.2833450734615326, 0.25935810804367065, 0.10664750635623932, -0.6765804290771484, 0.24630148708820343, -0.7233411073684692, -0.009190291166305542, 0.7487348914146423, 0.12596091628074646, 0.6173710823059082, -0.3395095765590668, 0.5051751732826233, 0.15178698301315308, 0.09299208223819733, -0.8118928074836731, -0.2894956171512604, -0.8907170295715332, -0.31676095724105835, 0.08244682848453522, 0.18398405611515045, -1.1128606796264648, 0.14129199087619781, -0.356797993183136, -0.1731874793767929, -0.22357507050037384, 0.1440240442752838, 0.4401243329048157, 1.0703306198120117, 0.37161192297935486, -0.16119666397571564, -0.3727419376373291, -0.6919969320297241, 0.29048457741737366, -0.23022623360157013, -0.20252549648284912, 0.4427633583545685, 0.3409687876701355, 0.08223523199558258, 0.9537011384963989, -0.3141164779663086, -0.27381882071495056, -0.3753541111946106, 0.15819424390792847, 0.09265775978565216, 0.23509828746318817, 0.45749008655548096, -0.5145811438560486, -0.5724161863327026, 0.22110560536384583, -0.873405396938324, -0.20450459420681, -0.2729966342449188, 0.10126209259033203, 0.4189075529575348, 0.5110063552856445, -0.341187059879303, 0.44586488604545593, 0.4477883279323578, -0.15886986255645752, 0.7308985590934753, -0.2546652853488922, 0.10984921455383301, -0.9387646913528442, -0.17140315473079681, -0.14248916506767273, -0.29381483793258667, -0.6848088502883911, 0.21709893643856049, 0.372484028339386, -0.2181665301322937, -0.7979339957237244, 0.8585019111633301, -0.3984469473361969, 0.03349156305193901, -0.3822367489337921, 0.2383548766374588, 0.21149203181266785, 0.3674280643463135, 0.20322120189666748, 1.063077688217163, 0.7058258056640625, -0.6583738923072815, 0.09499210864305496, 0.145289808511734, -0.5054063200950623, 0.5826611518859863, -0.3623754382133484, 0.00022069101396482438, -0.07079299539327621, 0.4267723560333252, -0.9509869813919067, -0.42740896344184875, 0.139667347073555, -0.23202387988567352, 0.48938536643981934, -0.23939262330532074, -0.3299805521965027, 0.08579081296920776, -0.4850338101387024, 0.12362244725227356, 0.5918881297111511, -0.9270363450050354, 0.3325272798538208, 0.028106000274419785, 0.10468543320894241, -0.6421036720275879, -0.7128897905349731, 0.2539346516132355, -0.24276946485042572, -0.3927253484725952, 0.4689365327358246, -0.12865060567855835, -0.12246130406856537, -0.24002310633659363, 0.17358525097370148, 0.04885273054242134, -0.03952892869710922, 0.44167622923851013, 0.3370096981525421, -0.43838047981262207, 0.41482511162757874, 0.08621044456958771, 0.1173807755112648, -0.2622395157814026, -0.4115857481956482, 0.4277472198009491, 0.13239821791648865, -0.7696011662483215, -0.6290422677993774, 0.3218885064125061, 0.5104126930236816, 0.008730513043701649, 0.7876196503639221, 0.39555469155311584, -0.25376951694488525, -0.5537176728248596, -0.6576247215270996, -0.22122077643871307, -0.4754861891269684, 0.24344149231910706, -0.17993015050888062, -0.9610346555709839, 0.19946198165416718, -0.18453137576580048, 0.024862701073288918, 0.1699153482913971, 0.44052013754844666, -0.11627301573753357, 0.7756016850471497, 0.48898112773895264, 0.10729235410690308, 0.7462067604064941, -0.47931912541389465, -0.04475728049874306, -0.9383939504623413, -0.23827718198299408, -0.09589432924985886, -0.04686511307954788, 0.060449760407209396, -0.5032547116279602, 0.5724807977676392, 0.10453849285840988, -0.2923419177532196, 0.1827184408903122, -0.03058011457324028, 0.41070273518562317, 0.4872503876686096, 0.3205500841140747, 0.4506587088108063, 0.22639471292495728, -0.19417554140090942, 0.06946149468421936, -0.6521360278129578, -0.41770756244659424, 1.144181251525879, 0.06069682538509369, 0.5968273282051086, 0.07969842851161957, 0.6170555949211121, 0.20302963256835938, 0.5566871762275696, -0.6871190071105957, 0.6896416544914246, -0.02646319568157196, -0.30716633796691895, -0.3893210291862488, -0.3784071207046509, -0.7102546095848083, 0.31971433758735657, -0.15879297256469727, -0.7103090286254883, 0.2282116860151291, 0.3465462625026703, -0.48208579421043396, 0.3267187178134918, -0.798213541507721, 0.6677162051200867, -0.18405203521251678, -0.6982620358467102, -0.013360808603465557, -0.31619998812675476, 0.640239953994751, -0.09120422601699829, -0.009601457975804806, 0.15318840742111206, -0.015976285561919212, 0.17781375348567963, -0.46005186438560486, 1.1593314409255981, -0.3675656020641327, -0.18259413540363312, 0.24549801647663116, 0.1895936131477356, 0.740698516368866, 0.04858116805553436, -0.23475472629070282, -0.18832266330718994, -0.49861830472946167, -0.2606036365032196, -0.7256604433059692, 0.9074122309684753, -0.3493831157684326, -0.6218855381011963, 0.053217239677906036, -0.5161601901054382, -0.3807782530784607, -0.09934502094984055, 0.1867242157459259, 0.9878405332565308, -0.047664839774370193, 0.4834432601928711, 0.6711123585700989, -0.3380844295024872, 0.6677120327949524, 0.5873148441314697, -0.393161416053772, -0.11633007973432541, 0.8389024138450623, 0.14551755785942078, 0.6774376034736633, 0.6064831614494324, 0.2859388291835785, -0.5996286869049072, -0.8160259127616882, -0.7632061839103699, -0.12159609794616699, -0.7254562973976135, -0.29964306950569153, -0.6304314732551575, -0.11880046874284744, -0.41451990604400635, -0.2840949296951294, -0.12722152471542358, -0.5646789073944092, -0.4368135929107666, -0.22965531051158905, 0.218264639377594, 0.44100579619407654, 0.14613062143325806, 0.5503365993499756, -0.42724376916885376, 0.15572713315486908, 0.5946475863456726, 0.17107398808002472, 0.13014835119247437, -0.8809401392936707, -0.33183398842811584, 0.11202315986156464, -0.4749140441417694, -0.7281599640846252, 0.34520381689071655, 0.5156425833702087, 0.4856995940208435, 0.8414078950881958, 0.22122696042060852, 1.0334633588790894, -0.49075400829315186, 1.0866632461547852, 0.0670837014913559, -0.9603077173233032, 0.5832522511482239, -0.3021809756755829, 0.2510404586791992, 0.3098847568035126, 0.2201974242925644, -0.17177966237068176, -0.4850645661354065, -0.6088118553161621, -0.8575680255889893, 0.7118113040924072, -0.018315820023417473, 0.3637259006500244, -0.03574170172214508, 0.22101303935050964, 0.28892970085144043, 0.06355749815702438, -0.9161890745162964, -0.0393868014216423, -0.154719278216362, 0.0836549922823906, 0.004175716545432806, -0.174652099609375, 0.03019888885319233, -0.2356773316860199, 0.8422950506210327, -0.39258548617362976, -0.06344754993915558, 0.22477281093597412, -0.40434667468070984, -0.11586666107177734, 0.2905617952346802, 0.7408514618873596, 0.7696729898452759, -0.17274434864521027, 0.15625639259815216, 0.5532780289649963, -0.00794427003711462, 0.19105085730552673, 0.1332884281873703, -0.5247282981872559, 0.10290703922510147, 0.48627734184265137, 1.0543599128723145, 0.5981715321540833, -0.9167965054512024, 0.9076833128929138, 0.24440142512321472, -0.061015382409095764, -0.46587252616882324, 0.03542625904083252, -0.17768196761608124, 0.38823074102401733, 0.4943762421607971, -0.34370243549346924, 0.06644169241189957, -0.6632750034332275, 0.3367466926574707, 0.640085756778717, -0.5967599153518677, -0.22398170828819275, 0.6050635576248169, -0.034171801060438156, -0.16603794693946838, 0.4295268952846527, -0.30593234300613403, -0.26325279474258423, 0.4720449447631836, 0.9920880794525146, 0.7253181338310242, -0.19157160818576813, 0.4804442822933197, 0.26204368472099304, -0.0763399749994278, 0.07316796481609344, -0.11294609308242798, -0.39004063606262207, -0.6349957585334778, -0.7092888951301575, -0.5343265533447266, -0.5709635615348816, 0.3574144244194031, -0.39935240149497986, 0.36585739254951477, -0.28215834498405457, 0.19336934387683868, -0.2604369819164276, -0.1525164395570755, -0.5487436056137085, 0.05475867912173271, 0.23562218248844147, 0.9433702826499939, -0.8677936792373657, 0.9073807001113892, 0.4689607322216034, -0.4737694263458252, -0.44523388147354126, 0.10032539069652557, -0.24689309298992157, -0.6740625500679016, 0.8599313497543335, 0.36062487959861755, -0.14302808046340942, 0.02071918174624443, -0.6379753351211548, -0.3471921384334564, 1.2556753158569336, 0.7271208167076111, -0.364394873380661, 0.15796585381031036, 0.08730395883321762, 0.376619428396225, -0.6028292775154114, 0.41214269399642944, -0.041351448744535446, 0.11167780309915543, 0.3448874056339264, -0.5806918740272522, -0.03519153594970703, 0.19296947121620178, -0.07626408338546753, -0.10622810572385788, -0.4347710609436035, 0.8094958066940308, -0.3002350330352783, -0.5268384218215942, 0.08612135797739029, 0.8196961879730225, 0.3260337710380554, 0.5076727271080017, 0.5294130444526672, 0.43706271052360535, 0.4346339702606201, 0.13974174857139587, 1.2959110736846924, 0.02624274417757988, 0.11487855762243271, 1.4069385528564453, -0.6599188446998596, 1.1278184652328491, 0.4951581358909607, -0.10974538326263428, 0.5912864208221436, 0.32375943660736084, 0.28691670298576355, 0.4732457399368286, -0.17249225080013275, -0.9026156663894653, -0.3458159267902374, -0.42709270119667053, -0.20104174315929413, 0.40342825651168823, 0.43249279260635376, -0.279005765914917, -0.4162665009498596, 0.21007105708122253, -0.19698213040828705, 0.1280871331691742, -0.24657878279685974, 0.8439252972602844, -0.10180607438087463, -0.49858346581459045, 0.5429841876029968, -0.26662492752075195, 0.611477255821228, -0.7832305431365967, -0.40897583961486816, -0.36209383606910706, 0.053313612937927246, 0.05113638937473297, -0.5736229419708252, 0.06574258953332901, -0.13795366883277893, 0.05136645585298538, -0.2907341420650482, 0.5872700810432434, -0.5973194241523743, -0.4383544921875, 0.23733961582183838, 0.4706142544746399, 0.02841043844819069, -0.10754811763763428, -0.18937909603118896, -0.28725510835647583, -0.17946943640708923, 0.027298148721456528, 0.6141332983970642, 0.4048346281051636, -0.08384031802415848, 0.6327271461486816, 0.8147168755531311, 0.045294713228940964, 0.1195157989859581, 0.1920367181301117, 0.9238702058792114, -0.25953587889671326, -0.29272493720054626, -0.9799793362617493, 0.5755929350852966, -0.31973809003829956, -0.05721369385719299, 0.8683658838272095, 0.6387418508529663, 1.1279274225234985, -0.25536370277404785, 0.771079957485199, 0.21188247203826904, 0.4273753762245178, -0.7165493369102478, 0.5255617499351501, -0.6327021718025208, 0.27562975883483887, -0.10122276842594147, -0.5163912773132324, -0.33900225162506104, 0.34226134419441223, -0.1465642750263214, -0.2819085121154785, 0.5577985644340515, 0.8636683225631714, -0.32452645897865295, -0.11546587944030762, 0.8320709466934204, 0.18247000873088837, 0.40984949469566345, 0.5055766701698303, 1.1445902585983276, -0.29852190613746643, 0.39671197533607483, -0.5837755799293518, -0.21634021401405334, -0.29422008991241455, -1.2384196519851685, -0.8911722898483276, -0.6094077229499817, -0.28023701906204224, 0.049504559487104416, 0.0446140356361866, 1.0875178575515747, 0.8921113014221191, -0.7474222183227539, -0.25241532921791077, 0.11832373589277267, -0.07350677251815796, -0.2765878438949585, -0.296210914850235, 0.4228942394256592, -0.5575352907180786, -0.8382810950279236, 0.9833554625511169, 0.5220990777015686, 0.12173360586166382, -0.36167651414871216, 0.12871906161308289, -0.14495880901813507, -0.02357788383960724, 1.0159919261932373, 0.39247700572013855, -0.7465121150016785, -0.4086296558380127, -0.23127807676792145, 0.29260513186454773, 0.18020780384540558, 0.7317202091217041, -1.2714570760726929, 0.6766985058784485, 0.24984556436538696, 0.8698420524597168, 0.628484308719635, 0.04734431579709053, 0.5222086310386658, -1.182983160018921, 0.3769974410533905, 0.06624934077262878, 0.48539993166923523, 0.5314041376113892, -0.39865973591804504, 0.18935813009738922, 0.11944101750850677, -0.32051804661750793, -0.8744585514068604, 0.27657005190849304, -0.7903074622154236, -0.11382291465997696, 1.128403663635254, -0.3425607979297638, -0.09153801202774048, -0.18336668610572815, -0.19220414757728577, 0.13387563824653625, -0.36216676235198975, 0.9225484132766724, 0.22956965863704681, -0.1862872987985611, -0.22282914817333221, -0.7115319967269897, 0.2239944189786911, 0.24897031486034393, -0.8736763596534729, 0.049824561923742294, 0.6702824831008911, 0.11330252140760422, -0.1185450553894043, 0.5523326396942139, -0.040270060300827026, 0.15132054686546326, -0.24579881131649017, -0.09113432466983795, -0.4077116549015045, -0.3209698498249054, -0.599058985710144, 0.4457944333553314, 0.07378167659044266, -0.22984227538108826 ]
http://arxiv.org/abs/2406.01213v1
http://arxiv.org/pdf/2406.01213v1
Improving Pseudo Labels with Global-Local Denoising Framework for Cross-lingual Named Entity Recognition
2024-06-03T11:29:19
2024-06-03T11:29:19
Zhuojun Ding, Wei Wei, Xiaoye Qu, Dangyang Chen
cs.CL
cs.CL, cs.AI
Cross-lingual named entity recognition (NER) aims to train an NER model for the target language leveraging only labeled source language data and unlabeled target language data. Prior approaches either perform label projection on translated source language data or employ a source model to assign pseudo labels for target language data and train a target model on these pseudo-labeled data to generalize to the target language. However, these automatic labeling procedures inevitably introduce noisy labels, thus leading to a performance drop. In this paper, we propose a Global-Local Denoising framework (GLoDe) for cross-lingual NER. Specifically, GLoDe introduces a progressive denoising strategy to rectify incorrect pseudo labels by leveraging both global and local distribution information in the semantic space. The refined pseudo-labeled target language data significantly improves the model's generalization ability. Moreover, previous methods only consider improving the model with language-agnostic features, however, we argue that target language-specific features are also important and should never be ignored. To this end, we employ a simple auxiliary task to achieve this goal. Experimental results on two benchmark datasets with six target languages demonstrate that our proposed GLoDe significantly outperforms current state-of-the-art methods.
[ -0.4730541706085205, -0.5358722805976868, 0.21835987269878387, -0.10545504093170166, -0.4622040390968323, -0.06819216907024384, -0.2246401309967041, -0.8935253024101257, 0.4860037863254547, 0.4780730605125427, -0.30687227845191956, -0.5744197964668274, -0.5416868329048157, 0.33083707094192505, -0.4123344123363495, 1.1766624450683594, -0.21245494484901428, 0.1286596804857254, -0.005399413872510195, -0.1583014875650406, -0.22442543506622314, -0.5540092587471008, -0.887944221496582, -0.1377798467874527, 0.4245815873146057, 0.20024551451206207, 0.553292989730835, 0.28778767585754395, 0.1706041693687439, 0.24505433440208435, -0.13003858923912048, 0.026582250371575356, -0.537222683429718, -0.23442202806472778, -0.2680422365665436, -0.28231996297836304, -0.5049195885658264, -0.43187031149864197, 1.1186883449554443, 0.790656566619873, 0.001883937162347138, -0.10138688236474991, -0.15625454485416412, 0.3543879985809326, -0.5704699158668518, 0.12713776528835297, -0.4943448305130005, 0.16949230432510376, -0.28396469354629517, 0.27440619468688965, -0.1975635588169098, -0.2776775360107422, 0.31778326630592346, -0.7241383790969849, 0.32649609446525574, 0.0382518470287323, 1.1813650131225586, -0.0847168117761612, -0.2548477053642273, -0.13629432022571564, -0.8945845365524292, 0.910570502281189, -0.6039674282073975, 0.8142945766448975, 0.37348195910453796, 0.09039454162120819, -0.05125763267278671, -0.7389922738075256, -0.2628094255924225, -0.1520383507013321, -0.1794767677783966, -0.03718531131744385, -0.4502834975719452, -0.0011268201051279902, 0.0633992925286293, 0.4141128957271576, -0.550506591796875, 0.12604764103889465, -0.3096414804458618, -0.5660256743431091, 0.30050528049468994, -0.384309321641922, 0.5399395823478699, 0.19234946370124817, -0.4834766685962677, 0.042433589696884155, -0.8289642333984375, -0.10377831012010574, 0.4387526214122772, 0.2575101852416992, 0.003489630063995719, 0.26708224415779114, -0.39229118824005127, 0.719078540802002, 0.2359510362148285, -0.101064033806324, 0.6141592264175415, -0.4941418766975403, -0.07890552282333374, 0.39944779872894287, 0.48298338055610657, 0.20953375101089478, 0.2996126711368561, -0.7843106389045715, -0.34641316533088684, 0.041928019374608994, 0.0029890842270106077, -0.7743998765945435, -0.39832603931427, -0.14905954897403717, -0.2020989954471588, 0.12162826955318451, -0.16178296506404877, -0.7352041602134705, 0.04394722729921341, -0.45622843503952026, 0.43988561630249023, -0.15410400927066803, -0.5043180584907532, -0.10154331475496292, 0.13426683843135834, 0.07183913141489029, 0.16168348491191864, -0.8254284858703613, 0.39661580324172974, 0.15752804279327393, 0.704698920249939, -0.22375252842903137, -0.12706606090068817, -0.7776222229003906, 0.42175811529159546, -0.42319294810295105, 0.8558297753334045, -0.5945947766304016, -0.4966176450252533, -0.3397079110145569, 0.3215954601764679, -0.15422286093235016, -0.8241673111915588, 0.17872978746891022, -0.5687345862388611, 0.3950507640838623, -0.24030910432338715, -0.4840446710586548, -0.26528438925743103, 0.210109680891037, -0.7580697536468506, 0.8825724720954895, 0.13420122861862183, -0.9081559181213379, 0.41251036524772644, -0.42347657680511475, -0.5347277522087097, -0.003650797065347433, 0.055322661995887756, -0.5094404220581055, 0.07141224294900894, 0.3797094523906708, 0.11992333829402924, -0.23575976490974426, 0.37944644689559937, -0.001970886252820492, -0.40807342529296875, -0.3666817545890808, -0.29509592056274414, 0.3875393569469452, -0.0476529635488987, -0.4616667330265045, 0.06369811296463013, -0.7522151470184326, 0.1670958697795868, 0.0037110706325620413, -0.15113697946071625, -0.7416590452194214, -0.23268760740756989, -0.15361562371253967, 0.005485807545483112, 0.17069435119628906, -0.4950045347213745, 0.15606388449668884, -0.6851859092712402, 0.11182906478643417, 0.28769397735595703, 0.10320167243480682, 0.923176646232605, -0.01733621582388878, 0.5150137543678284, 0.007918807677924633, 0.09463255852460861, 0.35676589608192444, -0.7136983871459961, -0.49578818678855896, -0.495368093252182, 0.7342337369918823, 0.6917770504951477, -0.9739630818367004, 0.12007108330726624, -0.37681126594543457, -0.41530925035476685, -0.5150662064552307, 0.5199143290519714, 0.5093150734901428, 0.8263676762580872, 0.766278862953186, -0.5490424036979675, -0.6429471373558044, -1.0898338556289673, 0.051569387316703796, -0.20089472830295563, -0.2189396321773529, 0.212296262383461, 0.22887732088565826, -0.7161093354225159, 1.0421935319900513, -0.11490003764629364, -0.5981274247169495, -0.25851762294769287, 0.4330354332923889, -0.13442717492580414, 0.232042595744133, 0.5289468169212341, -1.0293277502059937, -0.5626715421676636, 0.14597104489803314, -0.5405195355415344, -0.33520516753196716, 0.002121572382748127, -0.024061862379312515, 0.3470189571380615, 0.39462384581565857, -0.3213450014591217, 0.3548717200756073, 0.56015944480896, 0.02913970872759819, 0.5019150376319885, -0.3433503806591034, 0.026165256276726723, -0.7044433951377869, 0.07903629541397095, 0.03993549570441246, -0.0241880901157856, -0.9272047281265259, -0.379989355802536, 0.06986607611179352, 0.09420040249824524, -0.6850885152816772, 1.080609679222107, -0.9744904637336731, -0.11900172382593155, -0.2553580403327942, 0.146438330411911, 0.033447589725255966, 0.18439550697803497, 0.6631090641021729, 0.6423044204711914, 0.7045828700065613, -0.6493205428123474, 0.22687749564647675, -0.0575445182621479, -0.3977634608745575, 0.53969407081604, -0.5570926666259766, -0.054652661085128784, -0.2772601842880249, 0.23915913701057434, -0.7260633707046509, 0.18929614126682281, 0.6869778037071228, -0.12191241979598999, 0.5937787890434265, -0.3062294125556946, -0.23796314001083374, -0.14128729701042175, -0.032804619520902634, 0.5867180824279785, 0.2948801815509796, -0.4609846770763397, 0.6330408453941345, 0.5606987476348877, -0.21167562901973724, -0.48330211639404297, -0.7854388356208801, 0.24164322018623352, -0.20710740983486176, -0.5370067954063416, 0.8274040222167969, 0.013729536905884743, -0.06272507458925247, 0.29792067408561707, -0.2738063633441925, -0.23384502530097961, -0.32380256056785583, -0.19049639999866486, 0.22789980471134186, -0.21625284850597382, 0.15171633660793304, -0.02238588221371174, -0.33252424001693726, -0.10873208194971085, -0.2623078525066376, 0.18772689998149872, -0.12675075232982635, 0.07594692707061768, -0.08873603492975235, 0.3520348072052002, 0.051127851009368896, -0.22787323594093323, 0.48412951827049255, 0.9404693245887756, -0.4494462013244629, -0.2554703950881958, -0.37978124618530273, -0.23317034542560577, -0.4168528616428375, 0.477117121219635, -0.4910401701927185, -0.7149407267570496, 0.59028559923172, -0.24630670249462128, -0.30598294734954834, 0.26476043462753296, 0.2154606282711029, 0.21208716928958893, 0.6843907833099365, 0.8492140173912048, -0.35743358731269836, 0.4510587155818939, -0.37375959753990173, 0.6148040294647217, -0.8887751698493958, -0.09477193653583527, -0.348565012216568, -0.17103558778762817, -0.3688696622848511, -0.6043576598167419, 0.07891280204057693, 0.24083733558654785, 0.4433785378932953, 0.4824303686618805, -0.6072523593902588, 0.28473010659217834, 0.4789882004261017, -0.22251620888710022, 0.16670893132686615, 0.2661382555961609, -0.28968432545661926, -0.3067232370376587, -0.705277144908905, -0.1197986975312233, 0.6252958178520203, 0.07004953920841217, 0.5520040988922119, -0.11537546664476395, 0.9498717188835144, 0.27626901865005493, 0.3729476034641266, -0.45865398645401, 0.5761551260948181, -0.13735583424568176, -0.5869177579879761, -0.42979344725608826, -0.6896979212760925, -1.0470645427703857, 0.29192256927490234, 0.07799626141786575, -0.8732358813285828, 0.5459896326065063, 0.13052771985530853, 0.06631942838430405, 0.5510751605033875, -0.8169079422950745, 1.0811632871627808, -0.3159811496734619, -0.1503964215517044, 0.08635076880455017, -0.5011275410652161, 0.2571437358856201, -0.28275254368782043, 0.5397581458091736, 0.11067291349172592, -0.1446642130613327, 0.8341500759124756, -0.14309370517730713, 0.9169626235961914, -0.3554990887641907, -0.44575443863868713, 0.480842649936676, -0.09204215556383133, 0.7787013649940491, 0.005732515826821327, 0.06773468852043152, 0.6698311567306519, -0.24737967550754547, -0.09789470583200455, -0.4067728519439697, 0.8449183106422424, -0.49135106801986694, -0.33816102147102356, -0.30259257555007935, -0.2981528043746948, -0.1949124038219452, 0.30719712376594543, 0.5019726157188416, 0.47111472487449646, -0.24954356253147125, -0.13979098200798035, 0.6858331561088562, -0.25938862562179565, 0.2970668077468872, 0.4394317865371704, -0.25522011518478394, -0.6982802152633667, 1.370932698249817, 0.541271448135376, 0.32041066884994507, 0.5047710537910461, -0.1328841596841812, -0.7079287171363831, -0.4933677911758423, -0.6076099872589111, 0.35386404395103455, -0.8258702158927917, -0.002782330382615328, -0.5873416066169739, -0.15501560270786285, -0.3923589885234833, -0.17475001513957977, -0.3952544629573822, -0.17404906451702118, -0.23554235696792603, 0.1617332249879837, 0.08584729582071304, 0.40554502606391907, -0.3405493199825287, 0.11410487443208694, -0.7681901454925537, 0.891069769859314, 0.13220451772212982, 0.23384127020835876, -0.14724238216876984, -0.5352122783660889, -0.241516575217247, 0.2592061460018158, 0.4056498110294342, -0.8149937391281128, 0.4271254241466522, 0.41152361035346985, 0.904312789440155, 0.1696285754442215, 0.2686246335506439, 0.7253516912460327, -0.5041976571083069, 0.3552968502044678, 0.28432372212409973, -0.8040943741798401, 0.5651235580444336, 0.14517377316951752, 0.43948695063591003, 0.24295265972614288, 0.5402934551239014, -0.5965089201927185, -0.3948197066783905, -0.6106273531913757, -1.2612751722335815, 0.625220775604248, 0.09769472479820251, 0.006840013433247805, -0.1734945923089981, 0.03833186253905296, 0.1218838095664978, 0.23739196360111237, -0.883776068687439, -0.25346070528030396, -0.08830276131629944, 0.07596737891435623, -0.08078757673501968, -0.28373289108276367, 0.22578319907188416, -0.28987908363342285, 0.8721632361412048, -0.02042136713862419, 0.18187294900417328, 0.4073064625263214, -0.36250388622283936, -0.1737135946750641, 0.43175333738327026, 0.350716233253479, 0.29834383726119995, -0.1380031853914261, 0.04387230426073074, 0.3793269991874695, -0.5054803490638733, 0.26899757981300354, 0.23927433788776398, -0.8099825978279114, 0.459007203578949, 0.03337448090314865, 0.744949460029602, 0.5034810900688171, -0.3337855339050293, 0.11239223927259445, 0.09046434611082077, -0.017318472266197205, 0.025468414649367332, -0.07949959486722946, 0.07417920976877213, -0.12942659854888916, 0.2664225399494171, 0.041919928044080734, 0.3450785279273987, -0.3979801833629608, 0.37295281887054443, 0.369306355714798, -0.32298770546913147, -0.4267655909061432, 0.5196677446365356, -0.05312914028763771, -0.154193714261055, 0.43966925144195557, -0.42925411462783813, -0.5267651081085205, 0.5284300446510315, 0.6494950652122498, 0.8844824433326721, -0.33891743421554565, 0.488953173160553, 0.5389724373817444, 0.3825942575931549, -0.24240925908088684, 0.10056034475564957, -0.20966434478759766, -0.6861329078674316, -0.5787380933761597, -0.676179826259613, -0.5639877319335938, 0.08759301155805588, -0.339978963136673, 0.24602454900741577, -0.2797988951206207, -0.3479715585708618, -0.18409039080142975, -0.03407669439911842, -0.4245380163192749, 0.5571573376655579, 0.37283068895339966, 0.3495672047138214, -0.6581265330314636, 1.1250954866409302, 0.9639779925346375, -0.16332201659679413, -0.6189789175987244, -0.14777250587940216, -0.1655295491218567, -0.32606199383735657, 0.7608727216720581, 0.08113949745893478, -0.3574678897857666, 0.1964120715856552, 0.0880603939294815, -1.2034064531326294, 0.5728291869163513, 0.42398130893707275, -0.9062949419021606, -0.022514093667268753, 0.27450254559516907, 0.5353530049324036, -0.3236716389656067, 0.17243315279483795, 0.17457778751850128, 0.8238449692726135, 0.22387969493865967, -1.0116413831710815, -0.108441561460495, -0.20544284582138062, 0.08388872444629669, 0.41966569423675537, -0.21936792135238647, 0.481543630361557, -0.3331843316555023, -0.3859158158302307, -0.14755867421627045, 0.597506046295166, -0.03445633128285408, 0.2718595266342163, 0.6155910491943359, 0.6222959756851196, 0.823097825050354, -0.17053158581256866, 0.7459208965301514, -0.0897853672504425, 0.12502452731132507, 1.176379919052124, -0.46100157499313354, 0.5635026097297668, 0.4281746745109558, 0.10084632784128189, 0.38166382908821106, 0.5253797173500061, -0.293957382440567, 0.8706187605857849, 0.27756762504577637, -0.14191655814647675, -0.1598726511001587, -0.22825589776039124, -0.5917367339134216, 0.1459561288356781, 0.16336271166801453, -0.09073695540428162, -0.6102272272109985, 0.2575816810131073, 0.06856164336204529, -0.2557545304298401, -0.40497592091560364, 0.5693435072898865, 0.09398418664932251, -0.2727609872817993, 0.8295502662658691, 0.10578214377164841, 0.8281848430633545, -0.7199010848999023, 0.0351090133190155, -0.2588980197906494, 0.22639018297195435, -0.09756118804216385, -0.31800442934036255, 0.4473194479942322, -0.0727744847536087, -0.23810122907161713, -0.24908994138240814, 0.9432328939437866, -0.6676196455955505, -0.565095841884613, 0.9107118248939514, 0.25941240787506104, 0.30821749567985535, -0.04753585532307625, -0.6263277530670166, 0.0334191620349884, 0.0634647011756897, -0.24646928906440735, 0.591438353061676, 0.5215149521827698, -0.4605278968811035, 0.5273657441139221, 0.6085524559020996, 0.47237640619277954, 0.18247421085834503, 0.16159546375274658, 0.6100832223892212, -0.4477381110191345, -0.4257727861404419, -0.4163602292537689, 0.38317397236824036, 0.003345143748447299, -0.3356878459453583, 0.673788845539093, 0.5072131752967834, 1.3574965000152588, -0.0004564257396850735, 0.4941387176513672, -0.018405970185995102, 0.4311273694038391, -0.3872087597846985, 0.5620692372322083, -0.721671998500824, 0.3038250803947449, -0.3374655842781067, -1.296523928642273, -0.548957109451294, 0.5232507586479187, -0.6269636154174805, 0.10708259046077728, 0.35494372248649597, 0.845464825630188, -0.22913455963134766, -0.38112202286720276, 0.5360535979270935, 0.21483033895492554, 0.11709440499544144, 0.45503029227256775, 0.5553248524665833, -0.5180198550224304, 0.8252484202384949, -0.6173127889633179, 0.08022519946098328, 0.05930943787097931, -0.7212117314338684, -0.6992650032043457, -0.16948182880878448, -0.7359832525253296, 0.1261100023984909, 0.33366140723228455, 0.17871727049350739, 0.6394920945167542, -1.0933029651641846, 0.026182420551776886, -0.028893806040287018, 0.13266855478286743, -0.1942363828420639, -0.22070138156414032, 0.4356885850429535, -0.3075870871543884, -0.8356049656867981, 0.6402424573898315, 0.2703113257884979, 0.15023934841156006, 0.11069178581237793, -0.34957462549209595, -0.27611228823661804, -0.2798384428024292, 0.350800096988678, 0.5868149995803833, -0.6939545273780823, -0.26521432399749756, 0.011494903825223446, -0.08446189761161804, 0.044397253543138504, 0.31120556592941284, -0.9262956976890564, 0.5236346125602722, 0.25876134634017944, 0.44781622290611267, 0.3772678077220917, -0.16160352528095245, 0.49716001749038696, -0.7080456018447876, 0.17816992104053497, 0.20369204878807068, 0.42930763959884644, 0.4823417365550995, -0.25295770168304443, 0.5656704902648926, 0.48336467146873474, -0.21557605266571045, -0.786090075969696, -0.10957884788513184, -0.5552658438682556, -0.30007895827293396, 1.0366449356079102, -0.2323981523513794, -0.2556789517402649, -0.39239996671676636, -0.12405165284872055, 0.22421914339065552, -0.24187377095222473, 0.5572904348373413, 0.5483813881874084, 0.22837935388088226, -0.17645326256752014, -0.426868200302124, 0.3991435468196869, 0.39693522453308105, -0.4513067603111267, -0.08417144417762756, 0.6194420456886292, 0.46049201488494873, 0.27217280864715576, 0.790021538734436, -0.08882912993431091, 0.15925167500972748, -0.09801238030195236, 0.36261385679244995, 0.19199667870998383, -0.6661791801452637, -0.13808219134807587, 0.11141487210988998, -0.22013823688030243, -0.09436532855033875 ]
http://arxiv.org/abs/2406.01198v1
http://arxiv.org/pdf/2406.01198v1
Automatic Essay Multi-dimensional Scoring with Fine-tuning and Multiple Regression
2024-06-03T10:59:50
2024-06-03T10:59:50
Kun Sun, Rong Wang
cs.CL
cs.CL, cs.AI
Automated essay scoring (AES) involves predicting a score that reflects the writing quality of an essay. Most existing AES systems produce only a single overall score. However, users and L2 learners expect scores across different dimensions (e.g., vocabulary, grammar, coherence) for English essays in real-world applications. To address this need, we have developed two models that automatically score English essays across multiple dimensions by employing fine-tuning and other strategies on two large datasets. The results demonstrate that our systems achieve impressive performance in evaluation using three criteria: precision, F1 score, and Quadratic Weighted Kappa. Furthermore, our system outperforms existing methods in overall scoring.
[ -0.6231157183647156, -0.9936239123344421, 0.6824638843536377, 0.5267795324325562, 0.16735172271728516, 0.17864811420440674, 0.00981101393699646, -0.7777844667434692, 0.438106894493103, 0.2797214984893799, -0.3603705167770386, -0.535368025302887, -0.5046621561050415, 0.4094281494617462, -0.29645827412605286, 0.9968908429145813, -0.37559106945991516, 0.23381243646144867, -0.41767239570617676, -0.17048542201519012, -0.46345558762550354, -0.12243321537971497, -1.0497291088104248, -0.041777100414037704, 0.6485111117362976, 0.7501516342163086, 0.4693068861961365, 0.6535825729370117, 1.0593068599700928, 0.3252199590206146, 0.5793070793151855, 0.48621949553489685, -0.004622173961251974, 0.3202444314956665, 0.11428984254598618, -0.4300081431865692, -0.5450145602226257, 0.3478623330593109, 0.7200350165367126, 0.4589270353317261, 0.2737518548965454, 0.46711450815200806, 0.40032151341438293, 0.3764651417732239, -0.5888406038284302, 0.11576996743679047, -0.23989228904247284, 0.1121399775147438, 0.09281638264656067, -0.10196436941623688, -0.40939873456954956, -0.75098717212677, -0.025931330397725105, -0.7624066472053528, 0.054034385830163956, 0.16506294906139374, 0.6440324187278748, 0.11947021633386612, -0.5742120742797852, -0.3433154821395874, -0.7896239161491394, 0.9388172030448914, -0.16999393701553345, 0.21563471853733063, 0.265167236328125, 0.3220367729663849, 0.34110909700393677, -0.7077987790107727, -0.2616802155971527, -0.09033168852329254, -0.17040273547172546, 0.29979056119918823, 0.0625104010105133, 0.34143155813217163, 0.06358247250318527, 0.3228500783443451, -0.5828853249549866, 0.22636733949184418, -0.7214879393577576, -0.3059750199317932, 1.0696622133255005, 0.5614135265350342, -0.02156730182468891, -0.03779977187514305, -0.19497030973434448, -0.12582774460315704, -0.16460470855236053, 0.5470887422561646, 0.6164863109588623, 0.4432833194732666, -0.012933197431266308, 0.5235101580619812, 0.08852033317089081, 0.5550258755683899, 0.2593352198600769, -0.4409264922142029, 0.024995962157845497, -0.21283835172653198, -0.023681892082095146, -0.061902083456516266, 0.7199997901916504, 0.6278672814369202, 0.28642165660858154, 0.07075357437133789, -0.45902201533317566, 0.29328110814094543, 0.5973407626152039, -0.5271577835083008, -0.00278957886621356, 0.27045485377311707, -0.681463360786438, -0.45198580622673035, 0.17381855845451355, -1.035703420639038, -0.21711009740829468, -0.7705428600311279, 0.9262976050376892, -0.4127950966358185, 0.21370209753513336, 0.01787577010691166, -0.3196142315864563, 0.10968712717294693, 0.3216186761856079, -0.7585750222206116, 0.6599733829498291, 0.48444992303848267, 0.8690455555915833, -0.3967868983745575, -0.684233546257019, -0.4791412353515625, -0.2897065281867981, -0.6460202932357788, 1.0966600179672241, -0.9031352400779724, -0.28216540813446045, 0.1630297750234604, -0.25469470024108887, -0.16329553723335266, -0.1769842803478241, 0.71444171667099, -0.24839664995670319, 0.3080151081085205, -0.3988622725009918, -0.7892601490020752, -0.1713203340768814, 0.07123423367738724, -0.5504810214042664, 1.023972749710083, -0.009839422069489956, -0.3325127363204956, 0.4608227610588074, -0.6716713905334473, -0.5860598087310791, -0.16453951597213745, 0.019831374287605286, -0.46581390500068665, 0.40360212326049805, 0.21365986764431, 0.5256685018539429, -0.07099024951457977, -0.3147405683994293, -0.48173317313194275, -0.6303554177284241, -0.18865866959095, -0.5374799966812134, 0.30632495880126953, 0.1540660560131073, 0.0005185003974474967, -0.09030333161354065, -0.9890000820159912, 0.42914965748786926, -0.19287213683128357, -0.5502874851226807, -0.24139831960201263, -0.10127652436494827, 0.13250097632408142, 0.025351589545607567, 0.4610251188278198, -0.5045945048332214, 0.24385985732078552, -0.3754502236843109, 0.12462104111909866, 0.6080199480056763, 0.2597901523113251, 0.3791801631450653, -0.6595643758773804, 0.6523517370223999, -0.3989650011062622, 0.21851953864097595, -0.22109614312648773, -0.6804686784744263, -0.55232834815979, -0.43827587366104126, 0.15718236565589905, 0.7825499176979065, -0.038124509155750275, 0.5933859944343567, 0.1319284439086914, -0.5479986667633057, -0.7812314629554749, 0.14417551457881927, 0.2887808382511139, 0.09083901345729828, 0.5543869733810425, 0.0011001279344782233, -0.4385036826133728, -0.9203435182571411, -0.3859159052371979, -0.06665582954883575, 0.008946043439209461, 0.12443448603153229, 0.5668859481811523, 0.26315951347351074, 0.631725013256073, -0.6875894665718079, -0.7252034544944763, -0.05157560855150223, 0.5061451196670532, -0.37634629011154175, 0.42567119002342224, 0.7493172287940979, -0.33153682947158813, -0.8215093612670898, -0.2615228295326233, -0.566419243812561, -0.17915168404579163, -0.2408571094274521, 0.10009096562862396, 0.07099293172359467, 0.7075846195220947, -0.4399352967739105, 0.5347889065742493, 0.42899051308631897, -0.3270098567008972, 0.7368777990341187, -0.46679311990737915, 0.5924546122550964, -1.0150254964828491, -0.26384618878364563, 0.38397860527038574, -0.11993974447250366, -0.40077218413352966, 0.1374886929988861, -0.017716500908136368, 0.042126916348934174, 0.14780831336975098, 0.4782922565937042, -0.08528777956962585, -0.010993256233632565, -0.15603528916835785, 0.022652721032500267, 0.6742199659347534, 0.31011274456977844, -0.32106998562812805, 0.6998187899589539, 0.341348260641098, -0.33626827597618103, 0.4678630232810974, -0.024644896388053894, -0.2652801275253296, 1.012959599494934, -0.6768112778663635, 0.0698789432644844, -0.2002224326133728, 0.15044431388378143, -1.4641883373260498, -0.3778983950614929, -0.5116742849349976, -0.4695839285850525, 0.3128111958503723, 0.40830713510513306, -0.03680456429719925, -0.5130079388618469, -0.6687617897987366, 0.20770485699176788, 0.15498143434524536, -0.22069448232650757, 0.7036224007606506, 0.3349418044090271, -0.4663326144218445, -0.32726845145225525, -0.5359998345375061, 0.003780907951295376, -0.34873178601264954, -0.47728708386421204, 0.4580075740814209, -0.1664232313632965, -0.47060123085975647, 0.04890228435397148, 0.10181018710136414, -0.133697047829628, 0.015036210417747498, 0.24587178230285645, 0.12528930604457855, -0.3332518935203552, 0.2980087101459503, 0.4628117084503174, -0.06054549664258957, 0.17132540047168732, -0.4470785856246948, 0.09711916744709015, -0.07355885952711105, -0.5845826864242554, -0.7467092871665955, 0.9638711214065552, 1.0128060579299927, -0.3497675359249115, 0.7337311506271362, 0.6879329681396484, -0.8257949948310852, -0.2738504111766815, -0.7465043067932129, -0.18961118161678314, -0.40405285358428955, 0.30607104301452637, -0.6279919147491455, -0.7227368354797363, 0.6476457715034485, 0.31765952706336975, 0.3287765383720398, 0.8212922215461731, 0.3245854079723358, -0.38332313299179077, 1.6864423751831055, 0.7840257287025452, 0.011948580853641033, 0.044631242752075195, -0.13677501678466797, 0.45561331510543823, -0.43853262066841125, -0.2511659562587738, -0.9935175776481628, -0.55597323179245, -0.6498050093650818, 0.10444134473800659, 0.6835675835609436, 0.22359851002693176, -0.4367476999759674, -0.07757862657308578, -0.7071458101272583, 0.7348790764808655, 0.6663868427276611, -0.16499142348766327, 0.06438861042261124, 0.051168788224458694, -0.5461208820343018, -0.16600830852985382, -0.04496384039521217, -0.6979245543479919, 1.3155862092971802, 0.4741218388080597, 0.4470486640930176, -0.05508848652243614, 0.7465136051177979, 0.5017369389533997, 0.10165990889072418, -0.6042975187301636, 0.1856677085161209, -0.4890824258327484, -0.4955581724643707, -0.6054284572601318, -0.0057588908821344376, -0.5012036561965942, -0.08790697157382965, -0.4075542688369751, -0.7488834261894226, -0.07165411114692688, 0.00031588616548106074, -1.0493745803833008, 0.05685795098543167, -0.9185947775840759, 0.5678672790527344, -0.1386975198984146, -0.4665016829967499, -0.3345473110675812, -0.17999720573425293, 0.07457884401082993, -0.26296788454055786, 0.14936892688274384, 0.16720807552337646, 0.05350874736905098, 0.9298076033592224, -0.0578036904335022, 0.6763366460800171, -0.28444036841392517, 0.07597040385007858, 0.42332202196121216, 0.15737317502498627, 0.39173322916030884, 0.2789667546749115, -0.3204418420791626, 0.055399224162101746, 0.3909400701522827, -0.20859350264072418, -0.4408765137195587, 0.9492253661155701, -1.0198297500610352, -0.32690906524658203, -0.36270204186439514, -0.299672931432724, -0.2929062247276306, 0.18139135837554932, 0.30292990803718567, 0.4264032542705536, -0.25323212146759033, 0.04191645607352257, 0.492681086063385, -0.182426318526268, 0.38928738236427307, 0.3982482850551605, -0.14974242448806763, -0.5775347948074341, 0.848045289516449, 0.5071527361869812, -0.16862505674362183, 0.3896913528442383, 0.18225517868995667, -0.5104983448982239, -0.39776092767715454, -0.43636131286621094, 0.008020861074328423, -0.7496517300605774, -0.4250936210155487, -0.6786633133888245, -0.36341074109077454, -0.6992990970611572, -0.7574465274810791, -0.35364454984664917, -0.44378307461738586, -0.30090972781181335, -0.449211061000824, 0.19433251023292542, 1.2081862688064575, -0.34799909591674805, 0.05358501523733139, -0.9281582832336426, 0.5005923509597778, 0.41217339038848877, 0.7656942009925842, -0.31831592321395874, -0.5574299693107605, -0.2711760997772217, -0.11323658376932144, -0.5473667979240417, -0.6017785668373108, 0.08697239309549332, 0.35377317667007446, 0.48725247383117676, 0.6098251938819885, -0.3709704279899597, 0.7282242774963379, -0.543254017829895, 0.8886489272117615, -0.11400645226240158, -0.8526611328125, 0.49296140670776367, -0.13569766283035278, 0.19319462776184082, 0.9111279845237732, 0.46514278650283813, -0.19542637467384338, -0.4197179973125458, -0.16253362596035004, -0.5465202331542969, 0.6088510751724243, -0.2230396419763565, 0.16570694744586945, 0.16042397916316986, 0.7631295919418335, 0.3268585801124573, -0.13978274166584015, -0.46502310037612915, -0.09976612776517868, -0.07222598046064377, -0.821683943271637, -0.23945677280426025, -0.2988399863243103, 0.1345244199037552, -0.5536820888519287, 0.7005537748336792, -0.14641828835010529, 0.34809035062789917, 0.14954344928264618, 0.32822513580322266, -0.5444331765174866, -0.23819932341575623, 0.6669589877128601, 0.416766494512558, -0.1633601188659668, -0.08112409710884094, 0.3668826222419739, -0.6871042847633362, 0.3381332457065582, 0.15863534808158875, -0.08310651779174805, -0.2080696076154709, 0.6335569024085999, 0.5428966283798218, -0.25991159677505493, -0.10439720004796982, 0.49034926295280457, -0.35093292593955994, -0.5537364482879639, -0.5402911305427551, 0.2013443112373352, -0.12650075554847717, 0.05607593432068825, 0.3153687119483948, 0.4598747491836548, 0.2091354876756668, -0.1175520271062851, 0.28715550899505615, 0.36513254046440125, -0.4643841087818146, -0.22662825882434845, 0.6608825922012329, 0.25441041588783264, -0.5326839089393616, 0.46405112743377686, -0.3439372777938843, -0.19976262748241425, 0.6737181544303894, 0.3851759731769562, 0.9130507707595825, -0.6947755813598633, 0.2529091238975525, 0.6925126910209656, 0.569882869720459, -0.18330185115337372, 0.5869631171226501, 0.2871043384075165, -0.5265555381774902, -0.4148716628551483, -1.185652732849121, -0.2859622538089752, 0.29743656516075134, -0.6627274751663208, 0.6393688917160034, -0.4852603077888489, -0.05120878666639328, 0.3979303538799286, 0.46087244153022766, -0.8426146507263184, 0.6391384601593018, 0.1526082456111908, 0.9163990616798401, -1.2057394981384277, 0.35003897547721863, 0.9732229709625244, -0.28465667366981506, -0.8426488041877747, -0.14735060930252075, 0.1399775892496109, -0.47834572196006775, 0.24711672961711884, 0.4675845205783844, -0.37690767645835876, -0.019612373784184456, -0.0101759172976017, -1.0649141073226929, 0.7764111161231995, -0.05133475363254547, -0.38946664333343506, -0.06086989492177963, 0.5144910216331482, 0.8292213678359985, -0.7006438374519348, 0.46037229895591736, 0.7118469476699829, 0.7111254334449768, -0.5793017148971558, -0.8560264110565186, -0.4865953028202057, -0.16169117391109467, -0.39223647117614746, 0.03190796077251434, -0.6770753860473633, 0.773279070854187, -0.05683048069477081, 0.16367554664611816, -0.13151191174983978, 0.43473923206329346, -0.33083978295326233, 0.5154911279678345, 0.36629408597946167, 0.7674700617790222, 0.8800050616264343, -0.18910685181617737, 0.8426894545555115, -0.6327151656150818, 0.1252991110086441, 0.7158218026161194, -0.4365960955619812, 0.7804427742958069, 0.0363934300839901, -0.22863245010375977, 0.42823535203933716, 0.5691973567008972, 0.08702438324689865, 0.19919712841510773, -0.035867445170879364, -0.1396069973707199, -0.33593982458114624, 0.1099127009510994, 0.0641072541475296, 1.1803288459777832, 0.6147385835647583, -0.2452055960893631, 0.0704139694571495, 0.28700149059295654, -0.2429283857345581, 0.39131540060043335, -0.32974180579185486, 0.8592095375061035, -0.0786798819899559, -1.1747366189956665, 0.029775818809866905, 0.4664330780506134, 0.24196107685565948, -0.4935666024684906, -0.2635537087917328, -0.2836223840713501, 0.33673444390296936, -0.20967113971710205, -0.7205594182014465, 0.570123553276062, 0.020832566544413567, -0.31972572207450867, -0.21808212995529175, 0.7000415921211243, -0.16446229815483093, -1.1018903255462646, 0.3218713700771332, 0.4692133665084839, -0.18200619518756866, 0.22323797643184662, -0.49315908551216125, -0.10730551183223724, -0.2594121992588043, -0.4287150800228119, 0.16119341552257538, 0.39922258257865906, -0.033389944583177567, 0.3501235246658325, 0.3693588972091675, 0.08003339171409607, -0.1323121041059494, 0.025657782331109047, 0.19677749276161194, -0.4250183701515198, -0.5643835067749023, -0.7426126003265381, 0.3336400091648102, -0.13735084235668182, -0.6698225736618042, 0.7244170904159546, 0.8030201196670532, 0.6274454593658447, 0.25544291734695435, 1.129070520401001, 0.34226691722869873, 0.8245832920074463, -0.30690622329711914, 0.4306562840938568, -0.6405290961265564, 0.005529994145035744, -0.2463505119085312, -1.0426114797592163, -0.6346999406814575, 0.7872388958930969, -0.13655172288417816, 0.08173768222332001, 0.8767231702804565, 0.6472620368003845, -0.043177247047424316, 0.3089931011199951, 0.27219322323799133, -0.043327897787094116, 0.26350128650665283, 0.27899476885795593, 0.5455998778343201, -0.5513020157814026, 0.31417492032051086, -0.37814807891845703, -0.4216723144054413, -0.21871162950992584, -0.5929993391036987, -0.7162444591522217, -0.8010730743408203, -0.3112764060497284, -0.21546487510204315, -0.08998092263936996, 0.8919620513916016, 0.44103655219078064, -0.9160532355308533, 0.030548594892024994, 0.14909620583057404, -0.16885975003242493, -0.4352881610393524, -0.31864944100379944, 0.43281885981559753, -0.7265835404396057, -0.8135824799537659, 0.22049351036548615, 0.6592162251472473, -0.10411687940359116, -0.5719299912452698, 0.18109716475009918, 0.049507368355989456, 0.8299316167831421, 0.48930495977401733, -0.2769126296043396, -0.30650269985198975, -0.9328193664550781, 0.136735737323761, -0.35105860233306885, -0.15783429145812988, 0.6928740739822388, -0.45871713757514954, 0.13889746367931366, 0.5082308650016785, 0.34665560722351074, -0.08788195252418518, -0.058734044432640076, 0.40511566400527954, -0.6199671030044556, -0.22493648529052734, 0.24944305419921875, 0.38038527965545654, 0.12710487842559814, -0.6208291053771973, -0.09868364036083221, -0.06530553102493286, -0.9067938923835754, -0.6432697772979736, -0.11357509344816208, -0.402466356754303, -0.4120267331600189, 0.793080747127533, -0.14607468247413635, 0.3184007406234741, -0.2633967399597168, -0.15422193706035614, 0.12620100378990173, -0.048596955835819244, 1.2037361860275269, 1.004089593887329, -0.29537367820739746, 0.3636157512664795, -0.5271545648574829, 0.6631273627281189, 0.28636661171913147, -0.6771792769432068, -0.2408931851387024, 0.4976961314678192, 0.07004928588867188, 0.4501250684261322, 0.46072348952293396, 0.15534718334674835, 0.3180472254753113, 0.31738436222076416, -0.03908168897032738, 0.23257087171077728, -0.9249282479286194, -0.4272107481956482, 0.780972957611084, 0.06429119408130646, -0.047302618622779846 ]
http://arxiv.org/abs/2406.01197v2
http://arxiv.org/pdf/2406.01197v2
A Survey of Generative Information Retrieval
2024-06-03T10:59:33
2024-06-04T04:12:39
Tzu-Lin Kuo, Tzu-Wei Chiu, Tzung-Sheng Lin, Sheng-Yang Wu, Chao-Wei Huang, Yun-Nung Chen
cs.IR
cs.IR, cs.CL
Generative Retrieval (GR) is an emerging paradigm in information retrieval that leverages generative models to directly map queries to relevant document identifiers (DocIDs) without the need for traditional query processing or document reranking. This survey provides a comprehensive overview of GR, highlighting key developments, indexing and retrieval strategies, and challenges. We discuss various document identifier strategies, including numerical and string-based identifiers, and explore different document representation methods. Our primary contribution lies in outlining future research directions that could profoundly impact the field: improving the quality of query generation, exploring learnable document identifiers, enhancing scalability, and integrating GR with multi-task learning frameworks. By examining state-of-the-art GR techniques and their applications, this survey aims to provide a foundational understanding of GR and inspire further innovations in this transformative approach to information retrieval. We also make the complementary materials such as paper collection publicly available at https://github.com/MiuLab/GenIR-Survey/
[ -0.5281404852867126, -0.6325886249542236, 0.46936696767807007, -0.15266047418117523, -0.08783513307571411, 0.40426838397979736, 0.021800072863698006, -0.20031259953975677, 0.1665084809064865, 0.15036270022392273, -0.2720881700515747, -0.6431319713592529, -0.723214864730835, -0.1478496789932251, -0.5444969534873962, 0.9058088064193726, 0.30145758390426636, 0.0984184741973877, -0.5584304928779602, -0.2472984939813614, 0.06754659116268158, -0.6571925282478333, -0.47838935256004333, -0.12975233793258667, 0.5577746629714966, 0.04912204667925835, 0.23789294064044952, 0.2531290352344513, 0.8985329270362854, 0.19345127046108246, -0.23821227252483368, 0.17268496751785278, -0.6744081377983093, 0.35406818985939026, 0.04775629937648773, -0.49926313757896423, -0.05680737644433975, 0.03680117428302765, 0.7952041029930115, 0.6653009653091431, -0.3158290386199951, 0.19134308397769928, 0.07979917526245117, 0.7883948087692261, -0.838290274143219, 0.26004692912101746, -0.4803478419780731, 0.293306827545166, -0.730749249458313, -0.6330456137657166, -0.495706170797348, -0.7362521290779114, -0.12195400893688202, -0.6897598505020142, 0.9816321730613708, 0.052667826414108276, 0.5227306485176086, -0.0791635736823082, -0.4600580632686615, -0.4911212623119354, -0.7862827777862549, 0.3535645008087158, -0.11572540551424026, 0.499292254447937, 0.34023213386535645, 0.5519397854804993, -0.15447497367858887, -1.1134427785873413, -0.23749282956123352, 0.05844408646225929, -0.13974842429161072, 0.3673493564128876, 0.05006401240825653, 0.0015041710576042533, 0.30071312189102173, 0.89166259765625, -0.7438815832138062, -0.23994401097297668, -0.4008917212486267, 0.023325126618146896, 0.46272262930870056, 0.09984035789966583, 0.27132269740104675, 0.021478258073329926, -0.25513970851898193, -0.3587915003299713, -0.495062917470932, -0.28444868326187134, 0.4383353590965271, 0.148843914270401, 0.46102795004844666, 0.6458106637001038, -0.2962942123413086, 0.9809588193893433, -0.0209458339959383, 0.012400181964039803, 0.08520734310150146, -0.424570769071579, 0.008458476513624191, -0.3830539286136627, 0.7022149562835693, 0.2911929786205292, -0.4689629077911377, -0.41003134846687317, -0.38851457834243774, -0.1646493822336197, 0.2792209982872009, -0.5755223631858826, -0.1336146593093872, -0.28634917736053467, -0.5591558814048767, -0.12222766131162643, 0.652459979057312, -1.2548719644546509, -0.5323531627655029, -0.0032298159785568714, 0.21715599298477173, -0.47402626276016235, -0.2743827700614929, -0.15261825919151306, -0.6692889332771301, 0.502358615398407, 0.32925838232040405, -1.0832464694976807, 0.08447905629873276, 0.789339542388916, 0.8341338634490967, 0.09058079123497009, 0.10409943014383316, -0.20857320725917816, 0.1985103338956833, -0.2500303387641907, 0.8082271218299866, -0.7615325450897217, -1.1799849271774292, 0.1725560873746872, 0.05487741529941559, -0.25148385763168335, -0.7432084679603577, 0.6323974132537842, -0.8499041795730591, 0.25233063101768494, -0.34688282012939453, -0.5220716595649719, -0.19317786395549774, 0.37819045782089233, -0.8317128419876099, 1.0503151416778564, 0.4017043113708496, -0.6890947222709656, 0.40939638018608093, -0.5306060314178467, -0.2304232120513916, 0.622282862663269, -0.6386286020278931, -0.20306561887264252, 0.34008559584617615, -0.02199356071650982, 0.11726594716310501, -0.6472916007041931, 0.26352956891059875, 0.09400174766778946, -0.2626965045928955, -0.35533440113067627, -0.3040210008621216, 0.2694736123085022, 0.48562777042388916, 0.20248958468437195, -0.12342116236686707, -0.5938424468040466, 0.1723070740699768, 0.32926228642463684, -0.3958163559436798, -0.40132254362106323, 0.01689048856496811, 0.10926542431116104, -0.13802698254585266, 0.33216363191604614, -0.49835896492004395, 0.629073441028595, 0.3124856948852539, 0.2627497613430023, 0.3687843680381775, 0.11656993627548218, 0.47897157073020935, -0.4888139069080353, 0.8336603045463562, -0.35069915652275085, 0.13219989836215973, -0.2837716042995453, -0.5763751268386841, -0.4783729314804077, -0.09162351489067078, 0.4382493793964386, 0.2668699026107788, -0.8491780757904053, 0.032676685601472855, -0.5503426790237427, -0.7679446339607239, -0.49454614520072937, -0.08874624967575073, 0.4185332655906677, 0.3572269678115845, 0.24388866126537323, -0.19532431662082672, -0.2246074080467224, -0.4835974872112274, -0.08635930716991425, -0.5190880298614502, -0.18287748098373413, 0.4951377511024475, 0.21033456921577454, -0.1822870671749115, 0.7004685401916504, -0.7682142853736877, -0.3565175235271454, -0.09738101065158844, 0.7824264168739319, 0.06209249421954155, 0.3220430016517639, 0.6045094132423401, -1.3764183521270752, -0.2585379183292389, 0.17683707177639008, -0.9065150022506714, 0.19489574432373047, 0.17117929458618164, -0.10875974595546722, -0.10235694795846939, 0.6289384961128235, -0.5744835138320923, 0.2760528028011322, 0.1710340827703476, -0.16484633088111877, 0.2564070224761963, -0.21948367357254028, 0.5843460559844971, -0.724507749080658, 0.38554561138153076, -0.09218115359544754, 0.1826208531856537, -0.3141449987888336, 0.6379104852676392, 0.16460345685482025, -0.31405168771743774, 0.08189797401428223, 0.28163793683052063, -0.8531831502914429, -0.15603739023208618, 0.13818815350532532, -0.12644818425178528, 0.19777989387512207, -0.11990046501159668, -0.32324251532554626, 1.3066380023956299, 0.28187140822410583, -0.4708806574344635, 0.2985309660434723, 0.4730823338031769, -0.5041971206665039, 0.6118659377098083, -0.4614851176738739, 0.2847132384777069, -0.7910581827163696, 0.34355461597442627, -0.8857676982879639, -0.3389374017715454, 0.3420032560825348, -0.4600483179092407, 0.4673203229904175, -0.5987994074821472, -0.7117092609405518, -0.47017228603363037, -0.294746994972229, 0.5553156137466431, 0.466959685087204, -0.6115512847900391, 0.6940294504165649, 0.4065512418746948, -0.29333463311195374, -0.5116552114486694, -0.4167369604110718, 0.18581059575080872, -0.09966996312141418, -0.3939538896083832, 0.7877459526062012, -0.0655323937535286, -0.08974643051624298, 0.007129768840968609, -0.15395964682102203, 0.05770738422870636, -0.15098421275615692, -0.09658985584974289, 0.059336017817258835, 0.01483385544270277, 0.36848628520965576, -0.27165740728378296, 0.01667785830795765, -0.27934977412223816, -0.26968300342559814, 0.609818160533905, -0.04378463700413704, -0.5984057188034058, 0.2715199589729309, 0.7405899167060852, 0.6605638861656189, -0.4951690435409546, 0.3887988030910492, 0.6586160659790039, -0.22184453904628754, 0.21232789754867554, -0.6001356840133667, 0.1176098883152008, -0.39675411581993103, 0.09029074758291245, -0.6172118782997131, -0.9048605561256409, 0.5297091603279114, -0.22440636157989502, -0.19974707067012787, 0.585654079914093, 0.21107038855552673, -0.20954860746860504, 0.7386372685432434, 0.5471453666687012, -0.07347847521305084, 0.5462042689323425, -0.6145888566970825, 0.09316842257976532, -1.0078470706939697, -0.8449574112892151, -0.8072109222412109, 0.05280960351228714, -0.5446230173110962, -0.6019795536994934, 0.5332480669021606, 0.27159029245376587, 0.20246116816997528, 0.010651343502104282, -0.8064524531364441, 0.13194315135478973, 0.6154404282569885, -0.050662118941545486, 0.2891700267791748, -0.000588349939789623, -0.1566922813653946, 0.27302736043930054, -0.4584657549858093, -0.30133411288261414, 1.0516128540039062, -0.16602370142936707, 1.0562645196914673, 0.36248570680618286, 0.6419143080711365, 0.5744031071662903, 0.39559757709503174, -0.6759097576141357, 0.5212683081626892, -0.26292917132377625, -0.5637151002883911, -0.1497141718864441, -0.4628838896751404, -1.094202995300293, 0.4257470369338989, 0.02580047771334648, -0.4442500174045563, 0.35648414492607117, -0.22950851917266846, -0.1571933478116989, 0.25355106592178345, -0.6327186226844788, 0.6326959133148193, -0.18296895921230316, 0.04244263470172882, 0.046754587441682816, -0.6322941780090332, -0.005113526247441769, 0.12896780669689178, -0.17393165826797485, 0.03314094990491867, 0.08370816707611084, 0.6223520636558533, 0.036399636417627335, 0.2220514565706253, -0.23748937249183655, -0.013030964881181717, 0.37383562326431274, -0.2733832597732544, 0.4672994315624237, -0.042761314660310745, -0.39773598313331604, -0.011257564648985863, 0.08629287779331207, -0.3410099446773529, -0.8621096014976501, 0.6633188128471375, -0.4847381114959717, -0.792895495891571, -0.5971452593803406, -0.22369350492954254, -0.0059221968986094, 0.3105110228061676, 0.6333065032958984, 0.42044395208358765, -0.5202346444129944, 0.3113250732421875, 0.9003984332084656, 0.07515380531549454, 0.4457048773765564, 0.22396434843540192, -0.19156643748283386, -0.40160754323005676, 1.0904220342636108, 0.34580036997795105, -0.07834740728139877, 0.7429847717285156, -0.2554629147052765, -0.4655646085739136, -0.6210702061653137, -0.5503538846969604, 0.07818672806024551, -0.7288496494293213, -0.17626279592514038, -0.6715315580368042, -0.24058905243873596, -0.6730664968490601, 0.11816473305225372, 0.06888487190008163, -0.12549757957458496, -0.44703564047813416, -0.21014009416103363, 0.16293589770793915, 0.7000238299369812, 0.3288143277168274, 0.15756455063819885, -0.7958603501319885, 0.33539876341819763, 0.4927566945552826, 0.5367870330810547, -0.08203282207250595, -0.06442354619503021, 0.026080003008246422, -0.4121760129928589, -0.3617209494113922, -0.8001901507377625, 0.3480505049228668, 0.3727456033229828, 0.924353301525116, 0.5688470602035522, 0.21146228909492493, 0.5229704976081848, -0.3677559494972229, 0.6410998106002808, 0.03329500928521156, -0.26568469405174255, 0.7125998735427856, -0.6374375820159912, 0.13045193254947662, 0.9162181615829468, 0.721971869468689, -0.5402997732162476, 0.1881842464208603, -0.4408634901046753, -0.9395440220832825, 0.23418375849723816, 0.03318267688155174, 0.16808271408081055, -0.2624601125717163, 0.3578754961490631, 0.17696607112884521, 0.3076004981994629, -0.13432946801185608, -0.22374750673770905, -0.005793461576104164, -0.12155620008707047, 0.004207431338727474, -0.46100911498069763, -0.378681480884552, 0.0034302114509046078, 0.33311036229133606, -0.2315995842218399, 0.8461093902587891, 0.19780611991882324, -0.13784915208816528, 0.03536246716976166, 0.32811814546585083, 0.25839295983314514, 0.6619645953178406, -0.5824686884880066, 0.08386726677417755, -0.5499730706214905, -0.6312850713729858, 0.2607523798942566, 0.49117764830589294, -0.5073770880699158, 0.17131131887435913, -0.10378900170326233, 0.5736307501792908, -0.2675075829029083, -0.37867486476898193, 0.4892216920852661, -0.24401217699050903, -0.1326272040605545, -0.5386706590652466, -0.11939579993486404, -0.35713255405426025, -0.0051545691676437855, 0.9037454128265381, -0.24396349489688873, 0.4949891269207001, -0.47855880856513977, 0.04839061200618744, 0.7842304110527039, -0.39220502972602844, -0.16827505826950073, 0.7181185483932495, 0.12541824579238892, -0.2563934624195099, 0.8219332098960876, -0.35291922092437744, 0.09874486923217773, 0.4488248825073242, 0.5808615684509277, 0.8067659735679626, 0.02886652573943138, 0.4066460430622101, 0.1655343621969223, 0.1030336320400238, -0.21951298415660858, 0.298366904258728, -0.3723847568035126, -0.4541448652744293, 0.20871295034885406, -0.5818008184432983, -0.28401562571525574, -0.04387279227375984, -1.0474919080734253, -0.06375149637460709, -0.2857763171195984, -0.5652561783790588, 0.02676337957382202, -0.2508579194545746, -0.4613739550113678, 0.1552967131137848, -0.03420982509851456, 0.9580637216567993, -0.46475788950920105, 0.42541906237602234, 1.0670667886734009, -0.8325732350349426, 0.0747145488858223, 0.17716896533966064, -0.04108182713389397, -0.4786800444126129, 0.44692280888557434, 0.03841604292392731, -0.05994602292776108, 0.3898977041244507, -0.3322991132736206, -0.7483024597167969, 1.412675380706787, 0.09347876906394958, -0.1925409585237503, -0.1916683465242386, -0.006123689468950033, 0.481769859790802, -0.005486477632075548, 0.5024012327194214, 0.29480165243148804, 0.4012671411037445, 0.2714085280895233, -0.2878980338573456, -0.22421739995479584, -0.7310985922813416, 0.47793272137641907, 0.4915107786655426, -0.7571001052856445, 0.5218342542648315, -0.00033412600168958306, -0.8376566767692566, 0.4833059012889862, 0.5042358040809631, 0.09171120822429657, 0.6663472056388855, 0.18925097584724426, 0.9800077080726624, 0.8936497569084167, -0.5340783596038818, 1.4294596910476685, -0.3739790916442871, 0.3816002905368805, 0.5330991744995117, 0.0846676230430603, 0.5148656368255615, 0.4368588626384735, -0.3769370913505554, 0.21729114651679993, 0.6804521083831787, -0.19271783530712128, 0.7232162356376648, 0.2602306008338928, -0.9167559742927551, 0.05972546339035034, -0.46704959869384766, -0.7201661467552185, 0.05579996481537819, 0.6268852949142456, -0.40297484397888184, -0.3386419713497162, 0.10357675701379776, -0.303197979927063, 0.049001000821590424, -0.14295350015163422, 0.9445155262947083, -0.2196052521467209, -0.5362518429756165, 0.18714015185832977, 0.06977664679288864, 0.7272487878799438, -0.6638188362121582, -0.19032777845859528, -0.49595895409584045, -0.3874749541282654, -0.06828057020902634, -0.602742075920105, 0.030845116823911667, -0.43294358253479004, -0.482722669839859, -0.3138396739959717, 0.7178733348846436, -0.21731819212436676, -0.37230822443962097, 0.21381115913391113, 0.5521217584609985, 0.011438393965363503, 0.061020102351903915, -0.3930418789386749, -0.2143954485654831, -0.2561599314212799, 0.03415225073695183, 0.5826990008354187, 0.4215259850025177, -0.04635574668645859, 0.6696052551269531, 0.6089673638343811, -0.20834428071975708, 0.26192963123321533, 0.4562384784221649, 0.8798245191574097, -0.8539710640907288, -0.15310341119766235, -0.28635790944099426, 0.1318342238664627, -0.043686382472515106, -0.21953214704990387, 0.6592333912849426, 0.6660027503967285, 1.0537892580032349, -0.3053550124168396, 1.0493392944335938, -0.4099741280078888, 0.2266605645418167, -0.3413591682910919, 0.6232602000236511, -0.4012393057346344, 0.010600986890494823, -0.15044483542442322, -0.9100711345672607, -0.4813639521598816, 0.12313444912433624, -0.026238296180963516, -0.007580871693789959, 0.30808377265930176, 0.8582652807235718, 0.19293570518493652, -0.09800465404987335, 0.3138938248157501, -0.44529587030410767, 0.31282487511634827, -0.03457494452595711, 1.0976592302322388, -0.45096948742866516, 0.5728909373283386, 0.23864227533340454, -0.10191293060779572, -0.37543970346450806, -0.35743433237075806, -0.1320042461156845, -0.8410723209381104, -0.12890586256980896, -0.009997846558690071, 0.40066906809806824, 0.43058088421821594, 0.38237014412879944, -0.6237607002258301, 0.13054905831813812, -0.2679038643836975, 0.10203314572572708, -0.12026770412921906, -0.2430877685546875, 0.2546951174736023, -0.5506560206413269, -0.8696107268333435, 0.38144513964653015, 0.2359684556722641, 0.2905629277229309, 0.002633104333654046, 0.10933686792850494, -0.260127991437912, -0.5331792235374451, 0.5506172180175781, 0.7687355279922485, -0.5970645546913147, -0.06806738674640656, 0.05689973011612892, -0.36242759227752686, 0.13571731746196747, 1.0859822034835815, -0.5314497947692871, 0.7561579346656799, 0.878688395023346, 0.9274919033050537, 0.6512766480445862, 0.46236419677734375, 0.40554293990135193, -0.5961479544639587, -0.2655330300331116, 0.23544470965862274, 0.009808509610593319, 0.3255685269832611, -0.5926209092140198, 0.937199056148529, 0.524624764919281, -0.4267486333847046, -0.4829532206058502, 0.012254246510565281, -0.9550620317459106, 0.06330125033855438, 0.9509625434875488, -0.18823902308940887, 0.3293168842792511, -0.05794382467865944, 0.04453631862998009, 0.05045405030250549, -0.2526867091655731, 0.6996419429779053, 0.4551450312137604, -0.09537242352962494, -0.26121434569358826, -0.5245054960250854, 0.25446197390556335, 0.06435208022594452, -0.5881796479225159, -0.2922319769859314, 0.6604226231575012, -0.1326821744441986, 0.3560303747653961, 0.9024389386177063, -0.6768166422843933, -0.11675940454006195, 0.024474304169416428, 0.2413346916437149, 0.08578608930110931, -0.3913519084453583, -0.31728458404541016, 0.6330397129058838, 0.2165597826242447, -0.2601134479045868 ]
http://arxiv.org/abs/2406.01179v2
http://arxiv.org/pdf/2406.01179v2
Are AI-Generated Text Detectors Robust to Adversarial Perturbations?
2024-06-03T10:21:48
2024-06-26T12:43:56
Guanhua Huang, Yuchen Zhang, Zhe Li, Yongjian You, Mingze Wang, Zhouwang Yang
cs.CL
cs.CL, cs.AI
The widespread use of large language models (LLMs) has sparked concerns about the potential misuse of AI-generated text, as these models can produce content that closely resembles human-generated text. Current detectors for AI-generated text (AIGT) lack robustness against adversarial perturbations, with even minor changes in characters or words causing a reversal in distinguishing between human-created and AI-generated text. This paper investigates the robustness of existing AIGT detection methods and introduces a novel detector, the Siamese Calibrated Reconstruction Network (SCRN). The SCRN employs a reconstruction network to add and remove noise from text, extracting a semantic representation that is robust to local perturbations. We also propose a siamese calibration technique to train the model to make equally confidence predictions under different noise, which improves the model's robustness against adversarial perturbations. Experiments on four publicly available datasets show that the SCRN outperforms all baseline methods, achieving 6.5\%-18.25\% absolute accuracy improvement over the best baseline method under adversarial attacks. Moreover, it exhibits superior generalizability in cross-domain, cross-genre, and mixed-source scenarios. The code is available at \url{https://github.com/CarlanLark/Robust-AIGC-Detector}.
[ -0.26308563351631165, -0.7811005711555481, 0.2108808308839798, -0.3159710764884949, -0.26506397128105164, 0.03993649408221245, -0.3122359812259674, -0.16317807137966156, 0.014830328524112701, 0.6369419097900391, -0.23696301877498627, -0.5368823409080505, -0.6989010572433472, 0.2243233621120453, -0.7308794260025024, 1.0562589168548584, 0.19537411630153656, 0.08161845058202744, 0.0661904364824295, 0.010072458535432816, -0.1307889223098755, -0.6520784497261047, -0.6983229517936707, -0.15390214323997498, 0.4048161804676056, 0.10726333409547806, 0.6899769306182861, 0.6911761164665222, 0.7037355303764343, 0.3179194927215576, -0.17644943296909332, 0.264384925365448, -0.49657994508743286, 0.5110794901847839, 0.3075163662433624, -0.6086176037788391, -0.3135809004306793, -0.28459030389785767, 0.777469277381897, -0.07518243789672852, -0.07055719941854477, -0.27075842022895813, 0.16064801812171936, 0.44184741377830505, -0.6863194704055786, -0.03895803540945053, -1.193466067314148, -0.222225159406662, -0.2635544538497925, -0.28199177980422974, -0.4493970572948456, -0.007513666525483131, -0.15959744155406952, -0.41801565885543823, 0.26359593868255615, -0.26684650778770447, 0.9742794036865234, 0.6059874296188354, -0.4643070697784424, -0.4155503511428833, -0.6341363787651062, 0.550886332988739, -0.7351260781288147, 0.05625000596046448, 0.5625971555709839, 0.3504420518875122, -0.4165900647640228, -0.803770124912262, -0.572809636592865, -0.38270989060401917, -0.07241342961788177, 0.16266155242919922, -0.48601123690605164, 0.025415288284420967, 0.3585430383682251, 0.3574160039424896, -0.7484318614006042, 0.1963755339384079, 0.04847478121519089, -0.5766902565956116, 0.528500497341156, 0.12984390556812286, 0.4692702889442444, -0.13877207040786743, -0.3574760854244232, -0.41081294417381287, -0.9652164578437805, -0.23280149698257446, 0.8982491493225098, 0.21386079490184784, 0.09539955109357834, 0.4992657005786896, 0.12699656188488007, 0.3804677426815033, -0.02490225061774254, 0.05955597385764122, -0.2538723349571228, -0.3854238986968994, -0.12994591891765594, 0.22529229521751404, 1.0307523012161255, 0.15034662187099457, 0.5229128003120422, -0.07504985481500626, -0.2928923964500427, 0.40717044472694397, 0.38401371240615845, -0.7894434332847595, -0.6915111541748047, -0.3258630335330963, -0.12868517637252808, -0.7797374129295349, 0.06205864995718002, -0.4362677335739136, -0.6111593842506409, 0.08011356741189957, 0.22242842614650726, -0.39647871255874634, -0.09002538025379181, 0.01781778410077095, 0.16773143410682678, -0.010455881245434284, 0.2423851042985916, -0.5232956409454346, -0.13175779581069946, 0.47711363434791565, 0.6451824903488159, -0.06097739189863205, -0.16564325988292694, -0.6564276814460754, -0.061701782047748566, -0.23824557662010193, 0.8621616959571838, -0.1571451872587204, -0.4937717914581299, -0.08285601437091827, -0.12604080140590668, 0.09401588141918182, -0.3805924355983734, 0.681603193283081, -0.5706665515899658, 0.07417480647563934, -0.04622523486614227, -0.2800663709640503, 0.08632246404886246, 0.6434892416000366, -0.7154863476753235, 0.763417661190033, -0.27774733304977417, -1.3538984060287476, 0.1753142923116684, -0.12639518082141876, -0.5092373490333557, -0.11862368881702423, -0.39265865087509155, -0.8487493395805359, -0.12654392421245575, 0.604046642780304, 0.25391194224357605, 0.0050462596118450165, 0.19579702615737915, -0.35949015617370605, -0.539870023727417, 0.4267660081386566, -1.2282816171646118, 0.8065968751907349, 0.19411700963974, -0.30029746890068054, 0.0946202427148819, -0.904563844203949, -0.17076170444488525, 0.19324921071529388, -0.44445469975471497, -0.3731754720211029, 0.041386522352695465, -0.05114677548408508, -0.21473930776119232, 0.06127552688121796, -0.3909200429916382, 0.11869270354509354, -0.46289491653442383, 0.48370227217674255, 0.9215205311775208, 0.05196093022823334, 0.23772190511226654, -0.29466569423675537, 0.6077622771263123, 0.02420910634100437, -0.46896469593048096, -0.5358415246009827, -0.14623644948005676, -0.7693586349487305, -0.3474774658679962, 0.3308948278427124, 0.4814884662628174, -1.1972954273223877, 0.5515791773796082, -0.3525771200656891, -0.42809489369392395, -0.1936376690864563, -0.04485100507736206, 0.2889762818813324, 0.4165891408920288, 0.03828101605176926, -0.227120503783226, -0.5676801800727844, -0.6573051810264587, -0.49850350618362427, -0.5198361277580261, -0.2625995874404907, 0.2700810730457306, 0.5405014753341675, -0.17914892733097076, 0.5748664140701294, -0.18660274147987366, -0.14697355031967163, 0.018472814932465553, 0.233960822224617, -0.25303226709365845, 0.27707552909851074, 0.5462254285812378, -0.8177793025970459, -0.545086681842804, -0.1093929260969162, -0.7333903908729553, -0.10097379237413406, -0.1909913867712021, 0.08920881152153015, 0.1000666543841362, 0.5910382866859436, -0.27117857336997986, 0.7392635941505432, 0.6016262173652649, -0.22418498992919922, 0.772957980632782, -0.2206215262413025, 0.1207287460565567, -1.2394485473632812, 0.1622578352689743, 0.09141688793897629, -0.5723124146461487, -0.5830386877059937, 0.1202472597360611, -0.056595705449581146, -0.0018507539061829448, -0.1892486810684204, 0.27795153856277466, -0.1893126666545868, -0.003332685912027955, -0.5367467403411865, 0.1378173679113388, 0.05573143810033798, 0.13180331885814667, -0.15925364196300507, 1.3136852979660034, 0.3200511634349823, -0.4094529151916504, 0.3194811940193176, 0.16950136423110962, -0.4116307497024536, 0.6996567249298096, -0.6551187038421631, 0.2468593865633011, -0.12613548338413239, 0.572426438331604, -1.0242674350738525, -0.22640739381313324, 0.25603678822517395, -0.882827639579773, 0.40512359142303467, -0.01905611716210842, -0.5420462489128113, -0.07929076999425888, -0.28509587049484253, 0.2307966649532318, -0.03651856631040573, -0.6476945281028748, 0.5428601503372192, 0.19630487263202667, 0.03687280789017677, -0.5838918089866638, -1.0172008275985718, 0.5351120829582214, -0.28319409489631653, -0.5708123445510864, -0.010104682296514511, -0.054379381239414215, -0.2350781410932541, -0.09012845903635025, 0.10473321378231049, 0.05343436449766159, 0.3810187876224518, 0.1478937566280365, 0.28502941131591797, -0.3978997468948364, -0.06611365079879761, -0.2982293665409088, -0.21840961277484894, 0.08336642384529114, -0.11139211058616638, 0.5495057106018066, -0.11975250393152237, -0.45626100897789, -0.6517833471298218, 0.11306572705507278, 0.7724502086639404, -0.20154345035552979, 0.3521476089954376, 0.916591227054596, -0.5978127121925354, 0.01499003916978836, -0.3090876042842865, -0.39852437376976013, -0.5200783610343933, 0.6340993642807007, -0.3253210186958313, -0.6272310018539429, 0.5074225664138794, 0.31744319200515747, -0.2034962773323059, 0.455226331949234, 0.4687618911266327, -0.05928432568907738, 1.3932178020477295, 0.3599280118942261, -0.4670547544956207, 0.5877977013587952, -0.24561218917369843, 0.15961524844169617, -0.942528486251831, 0.2743004858493805, -0.746326744556427, -0.15945762395858765, -0.8035117387771606, 0.03321201354265213, 0.35569247603416443, -0.10030797123908997, -0.6441545486450195, 0.44742265343666077, -0.5932223200798035, 0.38724908232688904, 0.6300317645072937, 0.18059976398944855, 0.37284815311431885, 0.38280364871025085, -0.08321505784988403, -0.1630932092666626, -0.5980650186538696, -0.6791446805000305, 1.234117031097412, 0.2886498272418976, 1.0380100011825562, -0.13056492805480957, 0.5313060283660889, 0.36620035767555237, 0.25606101751327515, -0.5615208745002747, 0.5037986040115356, -0.5166152715682983, -0.33703139424324036, 0.05588795617222786, -0.6024062037467957, -0.871638834476471, 0.11326412856578827, -0.3643621504306793, -1.0071388483047485, -0.09983426332473755, 0.07774025201797485, -0.09913457930088043, 0.7864155173301697, -0.3347032070159912, 0.296177476644516, -0.23636683821678162, -0.16736912727355957, 0.064935103058815, -0.45031875371932983, 0.2589466869831085, 0.08386878669261932, -0.12537236511707306, 0.1328522264957428, 0.30836573243141174, 0.40804988145828247, -0.1986737996339798, 0.7649039626121521, 0.1405746340751648, -0.31172093749046326, 0.37295275926589966, 0.3749717175960541, 0.8794136643409729, 0.1440441608428955, -0.14718040823936462, 0.09578169882297516, -0.2289058119058609, -0.22162312269210815, -0.42783457040786743, 0.9137711524963379, -0.7353417277336121, -0.5779333114624023, -0.670615017414093, -0.6065844893455505, 0.06945193558931351, 0.3053913712501526, 0.7777838110923767, 0.44815024733543396, -0.1385548859834671, 0.3719053864479065, 0.510441243648529, -0.14012545347213745, 0.2756211757659912, 0.12196037918329239, 0.16620221734046936, -0.7341775298118591, 0.955011785030365, -0.1649700254201889, 0.3111339211463928, 0.15357670187950134, 0.013277271762490273, -0.1612057238817215, -0.466962069272995, -0.5865280628204346, -0.08681251108646393, -0.6436949372291565, -0.5382285118103027, -0.3993902802467346, -0.6128522753715515, -0.2677566111087799, -0.3160799741744995, -0.3027772605419159, -0.16798274219036102, -0.6386648416519165, 0.1506049782037735, -0.04196697846055031, 0.6831352710723877, 0.1109771877527237, 0.4583624303340912, -0.5545530915260315, 0.03894541785120964, 0.09988495707511902, 0.03758130967617035, -0.09493250399827957, -0.4409917891025543, 0.08837104588747025, 0.43289974331855774, -0.3037928342819214, -0.6106240749359131, 0.35366255044937134, 0.05236714705824852, 0.13725923001766205, 0.5059267282485962, 0.3236631751060486, 0.4012136161327362, -0.14368349313735962, 0.8478055000305176, 0.13212113082408905, -0.6150741577148438, 0.3567156493663788, -0.538727343082428, 0.5385095477104187, 0.5237220525741577, -0.11534872651100159, -0.28809061646461487, -0.6948575973510742, -0.5131442546844482, -0.6489976048469543, 0.4943588972091675, 0.3868873417377472, 0.1656375229358673, 0.23778733611106873, 0.5385040044784546, -0.3045194149017334, 0.09508295357227325, -0.7435658574104309, -0.17000757157802582, -0.27721652388572693, -0.39773863554000854, -0.12498245388269424, -0.11274704337120056, -0.054876357316970825, 0.35409530997276306, 0.6875637769699097, -0.3420320749282837, 0.3406849205493927, 0.19104014337062836, -0.036575112491846085, -0.1088181808590889, 0.00688239885494113, 0.5517202615737915, -0.018581172451376915, 0.053659290075302124, 0.4139101505279541, 0.024495398625731468, -0.8104913830757141, 0.08295276015996933, 0.3111262619495392, -0.5818102955818176, -0.2044696807861328, 0.5935673713684082, 0.829643189907074, -0.1724632978439331, -0.42839938402175903, 0.6243250370025635, -0.6480296850204468, -0.12631343305110931, -0.28819209337234497, 0.11865009367465973, -0.41004514694213867, 0.18971030414104462, 0.28742483258247375, 0.32655981183052063, 0.0634705126285553, -0.2050292044878006, 0.27394989132881165, 0.748319685459137, -0.45903128385543823, -0.3184409737586975, 0.9693116545677185, -0.12818127870559692, -0.34355294704437256, 0.6081447005271912, 0.0053728376515209675, -1.1057692766189575, 0.7426384687423706, 0.7332642674446106, 0.8721497058868408, 0.004414621740579605, 0.053801652044057846, 0.29992571473121643, 0.5099684596061707, 0.17593424022197723, -0.1013006642460823, -0.07034062594175339, -0.8544691801071167, -0.04622483626008034, -0.31559836864471436, -0.24718162417411804, 0.3035186529159546, -0.6283947229385376, 0.39616209268569946, -0.32337436079978943, -0.2160457819700241, -0.20026862621307373, 0.10228947550058365, -0.4449905753135681, 0.28421035408973694, 0.2614772617816925, 0.7051097750663757, -0.6058311462402344, 0.7371459007263184, 0.7642116546630859, -0.10311003029346466, -0.6191108226776123, 0.5279877781867981, 0.28630614280700684, -0.882691502571106, 0.13932496309280396, 0.23919892311096191, -0.33009418845176697, 0.051067717373371124, -0.6146297454833984, -0.6417673826217651, 1.0004169940948486, 0.5699695348739624, -0.32833370566368103, -0.05819934234023094, 0.13425575196743011, 0.6448112726211548, -0.011591823771595955, 0.2758423089981079, 0.3975856304168701, 0.30220869183540344, 0.14053773880004883, -0.6357521414756775, -0.009048400446772575, -0.14990103244781494, -0.011533746495842934, 0.13190516829490662, -0.5520354509353638, 0.5980453491210938, -0.01161206979304552, -0.4738008677959442, 0.6306706666946411, 0.5580049157142639, 0.14805921912193298, 0.16379870474338531, 0.6404672265052795, 0.4915322959423065, 0.6602016091346741, -0.34060001373291016, 0.994810938835144, -0.4225473701953888, 0.2886175811290741, 0.993185818195343, -0.014297435991466045, 0.6505107879638672, 0.26273858547210693, -0.0170853640884161, 0.31030482053756714, 0.44480225443840027, -0.030254190787672997, 0.3374316394329071, 0.18832559883594513, -0.34139159321784973, -0.2941853106021881, -0.08530854433774948, -0.34896403551101685, 0.8001424670219421, 0.39560115337371826, -0.32864663004875183, -0.23895575106143951, 0.02667415887117386, 0.1802365779876709, 0.3272037208080292, -0.10467185825109482, 0.752879798412323, -0.08830787241458893, -0.6517934203147888, 0.5615923404693604, -0.09859126061201096, 0.8245291709899902, -0.5879988670349121, 0.16734424233436584, -0.07245656847953796, 0.6171959638595581, -0.0179844219237566, -0.7183089256286621, 0.04800603911280632, 0.0676526352763176, 0.273529976606369, 0.15435805916786194, 1.262190580368042, -0.5170687437057495, -0.5129691362380981, -0.0016022762283682823, -0.06846883147954941, -0.11244789510965347, -0.04883996397256851, -0.40048813819885254, 0.2594161033630371, 0.13323143124580383, -0.22130565345287323, 0.34370696544647217, 0.17750100791454315, 0.17458368837833405, 0.6102034449577332, 0.699539840221405, 0.353262722492218, 0.0050907074473798275, -0.17524750530719757, 0.8745660185813904, -0.11170142143964767, -0.4168294668197632, -0.8162233233451843, 0.27922192215919495, -0.08212132006883621, -0.2505494952201843, 0.766154408454895, 0.38289114832878113, 0.8440812230110168, 0.5003804564476013, 0.9470580220222473, 0.32490074634552, 0.10006199032068253, -0.41880181431770325, 1.0628259181976318, -0.589610755443573, 0.5813454389572144, -0.23084063827991486, -0.6309027075767517, -0.7170097827911377, 0.809103786945343, -0.12775029242038727, 0.04568404331803322, 0.21613538265228271, 0.913536012172699, 0.02808142825961113, 0.15280404686927795, 0.29616594314575195, 0.2553892731666565, 0.8189026117324829, 0.32058796286582947, 0.7406154274940491, -0.7547364234924316, 0.8500850200653076, -0.19594570994377136, 0.03394996002316475, -0.18435925245285034, -0.9039417505264282, -0.872083842754364, -0.49962806701660156, -0.24718941748142242, -0.7894091010093689, 0.2772453725337982, 0.4173535108566284, 0.4367218613624573, -0.8227232098579407, 0.13582995533943176, -0.38381779193878174, 0.0228833369910717, 0.26837724447250366, -0.23059412837028503, 0.5683615207672119, -0.031351231038570404, -0.7709816098213196, 0.3185865879058838, 0.15675531327724457, 0.3536355197429657, -0.5565689206123352, -0.012778550386428833, -0.0955435037612915, 0.076282799243927, 0.088323675096035, 0.1891663819551468, -0.554072380065918, -0.49728891253471375, 0.04052865132689476, -0.48594680428504944, 0.03470891714096069, 0.7753356695175171, -0.6144124865531921, 0.7986316680908203, 0.40332549810409546, 0.8029289841651917, 0.39551910758018494, 0.059496745467185974, 0.5211042165756226, -0.7688899040222168, 0.12701845169067383, 0.1729321926832199, 0.5004591941833496, 0.5420909523963928, -0.6256989240646362, 0.2740905284881592, 0.12820664048194885, -0.7953000068664551, -1.0062172412872314, 0.344664603471756, -0.3451349437236786, -0.0037089535035192966, 1.2856245040893555, -0.3813622295856476, -0.11381594091653824, 0.2854194641113281, -0.36292633414268494, 0.3802000880241394, -0.24119068682193756, 0.8298174738883972, 0.7858895063400269, 0.3144380450248718, 0.11242450028657913, -0.1012578159570694, 0.18971428275108337, 0.2778370976448059, -0.5328298807144165, 0.023231737315654755, 0.38697996735572815, 0.15202248096466064, 0.056991416960954666, 0.3628286123275757, -0.0211270060390234, 0.2275671809911728, 0.21708494424819946, -0.4915115237236023, -0.12451735138893127, -0.38740044832229614, -0.5136748552322388, -0.03910359740257263, 0.09608177095651627, -0.22464996576309204 ]
http://arxiv.org/abs/2406.01171v2
http://arxiv.org/pdf/2406.01171v2
Two Tales of Persona in LLMs: A Survey of Role-Playing and Personalization
2024-06-03T10:08:23
2024-06-26T09:37:48
Yu-Min Tseng, Yu-Chao Huang, Teng-Yun Hsiao, Wei-Lin Chen, Chao-Wei Huang, Yu Meng, Yun-Nung Chen
cs.CL
cs.CL
The concept of persona, originally adopted in dialogue literature, has re-surged as a promising framework for tailoring large language models (LLMs) to specific context (e.g., personalized search, LLM-as-a-judge). However, the growing research on leveraging persona in LLMs is relatively disorganized and lacks a systematic taxonomy. To close the gap, we present a comprehensive survey to categorize the current state of the field. We identify two lines of research, namely (1) LLM Role-Playing, where personas are assigned to LLMs, and (2) LLM Personalization, where LLMs take care of user personas. Additionally, we introduce existing methods for LLM personality evaluation. To the best of our knowledge, we present the first survey for role-playing and personalization in LLMs under the unified view of persona. We continuously maintain a paper collection to foster future endeavors: https://github.com/MiuLab/PersonaLLM-Survey
[ -0.4330492913722992, -0.6378608345985413, 0.8073375225067139, 0.5044097304344177, -0.07469944655895233, 0.3953218162059784, -0.017504727467894554, -0.4074391722679138, 0.49997323751449585, 0.8519324064254761, -0.7320168614387512, -0.404164582490921, -0.4169251620769501, -0.08661843836307526, -0.12027008831501007, 0.7960203886032104, 0.4167303442955017, 0.35898807644844055, -0.5896731019020081, -0.15722185373306274, -0.654233455657959, -0.7584019899368286, -0.753756582736969, -0.40397197008132935, 0.9933494329452515, 0.24732846021652222, 0.08535736799240112, 0.18523631989955902, 0.42988327145576477, 0.3055926263332367, -0.0984053760766983, 0.007154063321650028, -0.45009908080101013, 0.5296633243560791, -0.22842839360237122, -0.5611512660980225, -0.5096646547317505, 0.24064047634601593, 0.5236332416534424, 0.6784913539886475, -0.03582419082522392, 0.3237539529800415, -0.006165831815451384, 0.5798903107643127, -0.45212000608444214, 0.11217635869979858, -0.21536597609519958, 0.0009675087640061975, -0.5620771050453186, -0.43308568000793457, -0.3396854102611542, -0.35836756229400635, 0.22959835827350616, -0.2992015480995178, -0.13014093041419983, 0.2020069658756256, 0.050379443913698196, -0.12686365842819214, -0.8045910000801086, -0.3469538390636444, -0.9557872414588928, 0.7278576493263245, -0.2653702199459076, -0.01588178053498268, 0.3137086033821106, 0.5870780944824219, 0.07273565977811813, -0.7042916417121887, -0.15127156674861908, -0.2295999825000763, -0.15333694219589233, 0.24047985672950745, -0.13390177488327026, -0.1775645911693573, -0.014807604253292084, 0.26368966698646545, -0.5831205248832703, 0.5392129421234131, -0.06498400866985321, -0.18215876817703247, 0.7657544612884521, 0.437752366065979, 0.3550456762313843, -0.039657045155763626, -0.5544002056121826, 0.14565891027450562, -0.8316636681556702, 0.38087648153305054, 0.5651593804359436, -0.007641484960913658, 0.16354303061962128, 0.5468223094940186, -0.034854188561439514, 0.4305872321128845, 0.06410638242959976, -0.3664959967136383, -0.24472995102405548, -0.03803841397166252, 0.06316277384757996, -0.021305343136191368, 0.857338011264801, 0.6069431900978088, 0.2038620561361313, -0.2379380762577057, -0.18309372663497925, -0.23645643889904022, 0.2550009787082672, -0.6228439807891846, 0.00043282221304252744, 0.1366550624370575, -0.5537699460983276, -0.4118293225765228, 0.07477490603923798, -0.9524818658828735, -1.0665358304977417, -0.16785848140716553, 0.12322729080915451, 0.056732017546892166, -0.15572446584701538, -0.22197766602039337, 0.17219048738479614, 0.2848348021507263, 0.3861596882343292, -0.9190208315849304, 0.49864938855171204, 0.9511098265647888, 0.6888965368270874, -0.41343820095062256, -0.26699650287628174, -0.5677163600921631, 0.03309664502739906, -0.19391827285289764, 1.0330277681350708, -0.5923075079917908, -0.6666651368141174, 0.33639729022979736, -0.2503794729709625, -0.01257536094635725, -0.5395181775093079, 0.47000595927238464, -0.5197601318359375, 0.443830281496048, -0.6271449327468872, -0.3899841606616974, 0.18914106488227844, 0.39397433400154114, -0.31885555386543274, 0.862665593624115, 0.08888814598321915, -0.6118308305740356, 0.30093106627464294, -0.6159084439277649, -0.22684580087661743, 0.23207353055477142, -0.38450124859809875, -0.0971168726682663, 0.20148499310016632, -0.01728685200214386, 0.6152836084365845, -0.646624743938446, 0.23231859505176544, -0.20904679596424103, -0.4934602379798889, 0.5404788255691528, 0.013269850984215736, 0.5780622959136963, 0.10571098327636719, 0.08106934279203415, 0.20074421167373657, -0.37125715613365173, -0.2492510974407196, 0.19315502047538757, -0.23688369989395142, -0.3660352826118469, 0.24652190506458282, 0.14842981100082397, 0.24151447415351868, 0.4665234386920929, -0.5174312591552734, 0.3637414872646332, -0.3171504735946655, 0.31231650710105896, 0.7261320352554321, 0.022911660373210907, 0.5438488721847534, -0.5184822678565979, 0.6814112067222595, -0.0721958726644516, -0.05078960955142975, -0.44106316566467285, -0.45545297861099243, -0.5211703777313232, -0.20857354998588562, 0.18553388118743896, 0.5992253422737122, -0.40368133783340454, 0.525258481502533, -0.07859336584806442, -0.5145564675331116, -0.2531822919845581, -0.10414595156908035, 0.4793813228607178, 0.36701446771621704, -0.03891468420624733, -0.5167287588119507, -0.5771698355674744, -1.0546971559524536, -0.5675533413887024, -0.5697166919708252, -0.2896886467933655, 0.6801387071609497, 0.11176806688308716, -0.3103310167789459, 0.9544801115989685, -0.5596123337745667, -0.6098345518112183, -0.32824140787124634, -0.055349428206682205, -0.1600770503282547, 0.21620626747608185, 0.6876867413520813, -0.5878652930259705, -0.6412632465362549, -0.21218422055244446, -0.5795367956161499, -0.3914426565170288, 0.04860078915953636, 0.06792158633470535, -0.08679480105638504, 0.36754143238067627, -0.5287132263183594, 0.1487765908241272, 0.35599803924560547, -0.49015605449676514, 0.49788928031921387, -0.09410319477319717, 0.21856778860092163, -1.0192862749099731, 0.23413285613059998, 0.08734694123268127, -0.3182010054588318, -0.7273774147033691, 0.10547909885644913, -0.3171592354774475, 0.1279871016740799, -0.1478414237499237, 0.9403275847434998, -0.37554940581321716, -0.3230464458465576, -0.2457359880208969, 0.3525036871433258, -0.1224873811006546, 0.40063154697418213, -0.1664060652256012, 0.6832244992256165, 0.6747646331787109, -0.47127121686935425, 0.4700413942337036, 0.4756157398223877, -0.33223193883895874, 0.8105388283729553, -0.5243181586265564, 0.3280614912509918, -0.17076672613620758, 0.49006253480911255, -1.0866707563400269, -0.4080820083618164, 0.3905125558376312, -0.14435866475105286, 0.19589358568191528, -0.36614394187927246, -0.63222736120224, -0.15044277906417847, -0.4325181245803833, 0.1802286058664322, 0.6838423013687134, -0.4727305769920349, 0.4219878315925598, 0.8388822078704834, -0.6376125812530518, -0.2961774170398712, -0.6706955432891846, 0.1932714432477951, -0.6240507364273071, -0.44821521639823914, 0.45659977197647095, -0.3905210793018341, -0.5893371105194092, -0.661013126373291, -0.19828103482723236, -0.13055989146232605, 0.13718727231025696, 0.10984973609447479, -0.05647194758057594, -0.0849190354347229, 0.003765576984733343, -0.09025954455137253, -0.09875671565532684, 0.21759375929832458, 0.12800276279449463, 0.8151645064353943, -0.1722629964351654, -0.4154518246650696, -0.20802482962608337, 0.38890254497528076, 0.5227513313293457, -0.3697337806224823, 0.40881025791168213, 0.44937294721603394, -0.024006864055991173, 0.10055854171514511, -0.873909056186676, -0.07258550077676773, -0.4185658395290375, 0.11880946159362793, -0.23753774166107178, -1.2245770692825317, 0.6990011930465698, -0.3817819058895111, 0.12743285298347473, 0.04812387377023697, 0.574175238609314, -0.5013932585716248, 0.8546328544616699, 0.757554292678833, 0.0467502661049366, 0.319941908121109, 0.19439001381397247, 0.2002578228712082, -0.9977642297744751, -0.6513518691062927, -0.33824050426483154, -0.5503224730491638, -0.5994953513145447, -0.2858465015888214, 0.25193825364112854, -0.18299391865730286, -0.04083145037293434, 0.1483060121536255, -0.2080707997083664, 0.2794593870639801, 0.307345986366272, -0.18311543762683868, 0.39641380310058594, -0.23746967315673828, 0.052326004952192307, -0.4502820074558258, -0.3415008783340454, -0.908757746219635, 0.8617411255836487, 0.5029399991035461, 0.5184947848320007, 0.5604730248451233, 0.8985143899917603, 0.2681211233139038, 0.4096114933490753, -0.8587865233421326, 0.8103446960449219, -0.06051725894212723, -0.4430391490459442, -0.251883327960968, -0.18721690773963928, -0.9880719780921936, 0.4830082654953003, 0.012358139269053936, -1.1595450639724731, -0.05556166172027588, 0.11022912710905075, -0.44073331356048584, 0.11474309861660004, -0.25899016857147217, 0.7912083864212036, -0.3965621590614319, -0.3361300528049469, -0.0919109508395195, -0.7425156235694885, 0.6604042053222656, -0.12685440480709076, 0.1235063374042511, -0.16639211773872375, -0.3400978446006775, 0.618558406829834, 0.055763863027095795, 0.8119766712188721, -0.33837634325027466, -0.27255454659461975, 0.14465972781181335, 0.3417433798313141, 0.24718014895915985, 0.47380098700523376, 0.04834084212779999, -0.24298560619354248, 0.31601765751838684, -0.13712729513645172, -0.5778363347053528, 0.9790219068527222, -0.42247647047042847, -0.8014800548553467, -0.7776077389717102, -0.17905089259147644, -0.6748514771461487, 0.05003466457128525, 0.09010503441095352, 0.1025170162320137, -0.9543861746788025, 0.23279863595962524, 0.9381686449050903, -0.349746435880661, 0.48226988315582275, 0.654894232749939, -0.6810049414634705, -0.10295242071151733, 0.7479212284088135, -0.20369595289230347, -0.30417707562446594, 0.5207108855247498, 0.22934576869010925, -0.30738377571105957, -0.41191884875297546, -0.09714972227811813, 0.26857224106788635, -0.28513145446777344, 0.09036768972873688, -0.7031394243240356, 0.029423609375953674, -0.397320955991745, 0.06947410851716995, -0.2354411780834198, -0.16430629789829254, -0.2910395860671997, 0.1717681586742401, -0.1267050951719284, 0.8992511630058289, 0.44581252336502075, 0.5583853125572205, -0.5026701092720032, 0.21959158778190613, 0.6395967602729797, 0.3910618722438812, -0.2857682704925537, -0.3306524455547333, 0.10158996284008026, -0.23732790350914001, -0.2774416506290436, -0.8370621800422668, 0.22288566827774048, -0.018022261559963226, 0.763041615486145, 0.5618059635162354, -0.1773913949728012, 0.4616602659225464, -0.606722891330719, 0.983688235282898, 0.23188389837741852, -0.515885591506958, 0.397257536649704, -0.5794910788536072, 0.14766515791416168, 0.6639485359191895, 0.28513583540916443, -1.083465576171875, -0.0016702305292710662, -0.47680017352104187, -0.5901349186897278, 0.8351821303367615, 0.004407488275319338, 0.4498412609100342, 0.12895828485488892, 0.33128228783607483, 0.14177335798740387, 0.4898037612438202, -0.5848416686058044, -0.3610057830810547, 0.28935524821281433, 0.11894397437572479, -0.3681993782520294, -0.6708942651748657, -0.27522870898246765, -0.09858447313308716, 0.2243501991033554, -0.13107305765151978, 0.48251277208328247, -0.10754693299531937, -0.1326574683189392, 0.00399044482037425, 0.38053664565086365, 0.44619351625442505, 0.7423936128616333, -0.09332402795553207, 0.11058475077152252, -0.16341190040111542, -0.261282742023468, 0.003904669778421521, -0.0898999348282814, -0.20142218470573425, -0.15774479508399963, 0.19579286873340607, 0.6380515694618225, 0.6606050729751587, -0.8313276767730713, 0.7421876788139343, -0.11397018283605576, -0.10847430676221848, -0.5963405966758728, 0.18727466464042664, 0.4122885763645172, 0.33569079637527466, 0.21456557512283325, -0.11318039894104004, 0.14017164707183838, -0.8247388601303101, -0.082607202231884, 0.48179206252098083, -0.2402288168668747, -0.485027015209198, 0.6412671804428101, 0.3309084177017212, -0.5881755948066711, 0.2199307680130005, -0.14076842367649078, -0.034013811498880386, 0.384941965341568, 0.3448323905467987, 0.979570746421814, -0.25537699460983276, 0.4271717667579651, -0.014441883191466331, -0.0023871739394962788, -0.10596577823162079, -0.09117226302623749, -0.05996698886156082, -0.5431108474731445, 0.0006264715339057148, -0.6468746066093445, -0.5145527124404907, 0.2987271547317505, -0.593987762928009, 0.15929771959781647, -0.5474557280540466, -0.07697242498397827, -0.1623341292142868, 0.38214364647865295, -0.46592649817466736, -0.13478603959083557, 0.2584243416786194, 0.6706152558326721, -0.5735885500907898, 0.6304786205291748, 1.052546501159668, -0.25038403272628784, 0.08182163536548615, 0.22443687915802002, 0.22211776673793793, -0.40869995951652527, 0.3869166672229767, 0.12864342331886292, 0.08292312920093536, -0.03458872064948082, -0.330539733171463, -0.5357348918914795, 1.4896955490112305, 0.24508827924728394, -0.5306559205055237, -0.1868855059146881, 0.20753300189971924, 0.828159511089325, -0.6770904660224915, 0.1571362316608429, 0.7716284990310669, 0.3978484272956848, 0.11543703079223633, -0.7251120805740356, -0.4335387349128723, -0.10683472454547882, 0.2549266815185547, -0.23403188586235046, -1.0980257987976074, 0.5897367000579834, 0.13884010910987854, 0.04133753478527069, 0.4760337769985199, 0.5692059993743896, 0.6012206673622131, 0.7228935360908508, 0.42135295271873474, 0.03876222297549248, 0.6910657286643982, -0.07901511341333389, 0.8216607570648193, -0.1830117404460907, 0.06381909549236298, 1.138978362083435, -0.7962899804115295, 0.5030044317245483, 0.4417724609375, -0.22887255251407623, 0.3912310004234314, 0.8591283559799194, 0.02024509757757187, 0.37187132239341736, 0.27939361333847046, -0.4378207325935364, -0.3182985484600067, 0.005347720347344875, 0.011973808519542217, 0.5958523154258728, 0.22969751060009003, -0.30272337794303894, -0.2045484483242035, -0.011555840261280537, 0.1820804923772812, 0.4777047038078308, -0.14560994505882263, 0.8946338295936584, 0.1838887631893158, -0.9126259088516235, -0.5606892704963684, 0.32881900668144226, 0.8178148865699768, -0.7993199825286865, 0.13550084829330444, -0.4760240316390991, -0.1893727034330368, 0.004670500755310059, -0.7514488697052002, -0.00906334724277258, 0.1851925551891327, -0.13261283934116364, -0.8601806163787842, 0.9687381386756897, -0.3055119812488556, -0.19697462022304535, 0.27574923634529114, 1.0281713008880615, 0.32705461978912354, -0.0016355648403987288, -0.49378928542137146, -0.11082286387681961, -0.2826473116874695, -0.32674744725227356, 0.9491564631462097, 0.1235823780298233, -0.13695989549160004, 0.781575083732605, 0.3254576027393341, -0.19346044957637787, -0.09934617578983307, 0.26088836789131165, 0.8179395198822021, -0.6004663705825806, -0.5136861205101013, -0.7945173382759094, 0.5883685350418091, -0.061128586530685425, -0.5931810736656189, 0.9623687267303467, 0.896940290927887, 0.5887112021446228, -0.2426566630601883, 0.7137569785118103, -0.13638539612293243, 0.7308857440948486, -0.21760676801204681, 0.7329889535903931, -0.3938083350658417, 0.4994764029979706, -0.3166390359401703, -0.9739610552787781, -0.08665673434734344, 0.3113945722579956, -0.15249145030975342, 0.2452242076396942, 0.3839876353740692, 0.6607303619384766, -0.0033411779440939426, -0.21334362030029297, 0.5277892351150513, 0.08287618309259415, 0.21286062896251678, 0.14836832880973816, 1.1201205253601074, -0.015063047409057617, 0.0760917216539383, -0.19914346933364868, -0.25183382630348206, -0.48671048879623413, -0.647234320640564, -1.1548378467559814, -0.7146033644676208, -0.3064029812812805, 0.12754090130329132, -0.21352995932102203, 0.7806029915809631, 0.4296424984931946, -0.4325845539569855, -0.5675621628761292, 0.179508239030838, 0.057211823761463165, 0.03267279639840126, -0.14829157292842865, -0.23562735319137573, -0.24419069290161133, -0.8448188304901123, 0.7307582497596741, 0.3095378875732422, -0.22818249464035034, -0.858924925327301, -0.06323743611574173, -0.12610286474227905, 0.2908577620983124, 0.9104213118553162, 0.38228121399879456, -0.8770349621772766, -0.04649209976196289, 0.3408467769622803, -0.25336894392967224, 0.05587371066212654, 1.319569706916809, -0.6782218217849731, 0.3338046371936798, 0.3849473297595978, 0.3210510015487671, 0.49391648173332214, 0.0378098264336586, 0.49287137389183044, -0.9187387824058533, -0.14879725873470306, 0.4621906876564026, 0.19641000032424927, 0.22934462130069733, -0.46697863936424255, 0.5062761306762695, 0.17372210323810577, -0.5697070956230164, -0.8808223009109497, 0.4782683253288269, -1.18377685546875, -0.12114596366882324, 1.1766319274902344, -0.11071766912937164, 0.17433878779411316, -0.0016759383725002408, -0.39406993985176086, -0.1624622642993927, -0.1529737412929535, 0.6350878477096558, 0.7921000719070435, -0.5225832462310791, -0.22873280942440033, -0.5101792216300964, 0.5088014006614685, 0.14987468719482422, -0.8235575556755066, -0.13238918781280518, 0.5376896858215332, 0.4450487792491913, 0.11089606583118439, 0.9748274087905884, -0.21636752784252167, -0.02300284244120121, -0.5226070880889893, -0.19024184346199036, -0.02105553448200226, -0.3817729949951172, -0.5526144504547119, 0.24058453738689423, 0.28907543420791626, 0.3217396140098572 ]
http://arxiv.org/abs/2406.01145v1
http://arxiv.org/pdf/2406.01145v1
Explore then Determine: A GNN-LLM Synergy Framework for Reasoning over Knowledge Graph
2024-06-03T09:38:28
2024-06-03T09:38:28
Guangyi Liu, Yongqi Zhang, Yong Li, Quanming Yao
cs.CL
cs.CL
The task of reasoning over Knowledge Graphs (KGs) poses a significant challenge for Large Language Models (LLMs) due to the complex structure and large amounts of irrelevant information. Existing LLM reasoning methods overlook the importance of compositional learning on KG to supply with precise knowledge. Besides, the fine-tuning and frequent interaction with LLMs incur substantial time and resource costs. This paper focuses on the Question Answering over Knowledge Graph (KGQA) task and proposes an Explore-then-Determine (EtD) framework that synergizes LLMs with graph neural networks (GNNs) for reasoning over KGs. The Explore stage employs a lightweight GNN to explore promising candidates and relevant fine-grained knowledge to the questions, while the Determine stage utilizes the explored information to construct a knowledge-enhanced multiple-choice prompt, guiding a frozen LLM to determine the final answer. Extensive experiments on three benchmark KGQA datasets demonstrate that EtD achieves state-of-the-art performance and generates faithful reasoning results.
[ -0.4891616106033325, -0.9601718187332153, 0.8655570149421692, -0.25933656096458435, 0.05802220478653908, 0.32990819215774536, -0.34894853830337524, -0.49527958035469055, 0.2044955939054489, 0.29101961851119995, -0.6067467331886292, -0.38966578245162964, -0.6096144318580627, -0.01258604135364294, 0.04345063865184784, 0.398330420255661, -0.39707887172698975, -0.08274506777524948, -0.5118270516395569, -0.10520882159471512, -0.3418217599391937, -0.1283138245344162, -1.0390232801437378, -0.5606346726417542, 0.6802703738212585, 0.4693984389305115, 0.7185699343681335, 0.22782373428344727, 0.08232951909303665, 0.4026249051094055, -0.3690793514251709, 0.6674941182136536, -0.39276641607284546, 0.3762596547603607, -0.2643282115459442, -0.5025507211685181, -0.15716829895973206, -0.23665975034236908, 0.36132553219795227, 0.8335526585578918, 0.21701695024967194, 0.2600458860397339, -0.05452483147382736, 0.40552112460136414, -0.464681476354599, 0.2749749422073364, -0.5886094570159912, -0.008467188104987144, 0.023412736132740974, -0.030968299135565758, -0.2701697051525116, -0.22491341829299927, 0.39396336674690247, -0.6367192268371582, -0.18714815378189087, 0.23859860002994537, 0.5379091501235962, -0.005081947892904282, -0.5762468576431274, -0.1444845348596573, -0.4357108771800995, 0.502464771270752, -0.41082844138145447, 0.6156669855117798, 0.2013978660106659, 0.4374532997608185, -0.24029916524887085, -1.152501106262207, -0.7173894643783569, -0.20284375548362732, -0.20882998406887054, 0.05162376910448074, -0.21154733002185822, 0.06415974348783493, 0.21464888751506805, 0.15341754257678986, -0.6836431622505188, 0.04217906668782234, -0.15363746881484985, -0.483243465423584, 0.5545474886894226, 0.20441514253616333, 0.38777559995651245, -0.22605296969413757, -0.2227327525615692, 0.033495549112558365, -0.5340089797973633, 0.26668235659599304, 0.17077332735061646, 0.22810520231723785, 0.187762051820755, 0.8997900485992432, -0.5214995741844177, 0.8502536416053772, -0.03564925491809845, 0.12200076878070831, -0.031916294246912, -0.3896801173686981, -0.2775639593601227, 0.08235947787761688, 0.7143769860267639, 0.39389851689338684, 0.1753556728363037, -0.4722108840942383, 0.047508034855127335, 0.05185014382004738, 0.0676896795630455, -0.6985394954681396, -0.2766161262989044, 0.40764376521110535, -0.31194785237312317, -0.047474414110183716, -0.3690136671066284, -0.47478407621383667, -0.4483035206794739, -0.3776879608631134, 0.681918740272522, -0.3595488369464874, -0.4188801944255829, 0.16363544762134552, -0.23111340403556824, -0.016251880675554276, 0.3515094220638275, -0.6047726273536682, 0.08460494130849838, 0.639632523059845, 0.5522280931472778, -0.060829516500234604, -0.11842215061187744, -0.39066383242607117, 0.024755876511335373, -0.35843542218208313, 0.5991308689117432, -0.6113119125366211, -0.3010740280151367, -0.2673729360103607, -0.10315578430891037, -0.2486822009086609, -0.40100520849227905, 0.49059543013572693, -1.0566898584365845, 0.34695762395858765, -0.49518877267837524, -0.6819260716438293, -0.5518106818199158, 0.8507140278816223, -0.5986505150794983, 1.0418559312820435, 0.4724399149417877, -1.0617620944976807, 0.26357540488243103, -0.5696069002151489, -0.45232105255126953, 0.1268511265516281, -0.370678186416626, -0.096821129322052, -0.4035624563694, 0.31157344579696655, 0.3052949905395508, -0.45908012986183167, 0.3933163285255432, -0.41549327969551086, -0.023961907252669334, 0.23333795368671417, -0.0016854068962857127, 0.7073192596435547, 0.19387918710708618, -0.2199021577835083, 0.348776251077652, -0.5534935593605042, 0.6713269352912903, 0.4174100458621979, -0.36810147762298584, -0.11854474246501923, -0.032087378203868866, -0.6664801836013794, 0.17199204862117767, 0.2325998693704605, -0.6020359396934509, 0.11955790966749191, -0.4135333299636841, 0.4867108464241028, 0.6653024554252625, -0.13693179190158844, 0.44635871052742004, -0.32246914505958557, 0.6914200782775879, -0.24586835503578186, -0.044940318912267685, 0.16991513967514038, -0.5848230719566345, -0.8668376803398132, 0.3719539940357208, 0.4278717339038849, 0.5681665539741516, -1.3095272779464722, 0.11583995074033737, -0.2781689465045929, -0.37220001220703125, -0.5653120875358582, 0.12532305717468262, 0.23954220116138458, 0.8493872880935669, 0.4118320643901825, 0.1162363663315773, -0.46928003430366516, -0.7338150143623352, -0.14144474267959595, -0.36837780475616455, 0.028715984895825386, 0.7180930376052856, 0.21208439767360687, -0.057465940713882446, 1.0614933967590332, -0.5421319007873535, 0.018276872113347054, -0.6512097120285034, -0.029677100479602814, 0.1369703710079193, 0.08234281092882156, 0.2773471176624298, -0.9443349242210388, -0.35311102867126465, 0.17741374671459198, -0.742976725101471, -0.017022650688886642, 0.2385641634464264, -0.4989057779312134, -0.2394368201494217, 0.6631808876991272, -0.74432373046875, 0.048370953649282455, 0.349118709564209, -0.4003986120223999, 0.4081380069255829, -0.050456851720809937, 0.05472829192876816, -0.9092811346054077, 0.07653118669986725, -0.3639117181301117, -0.16244558990001678, -0.3942427337169647, 0.12016709893941879, -0.020165065303444862, 0.055450189858675, -0.06625160574913025, 0.7100722789764404, -0.3374803960323334, -0.1357114315032959, -0.046815913170576096, 0.51127028465271, 0.3181823492050171, 0.40372371673583984, -0.02659890614449978, 0.6280043721199036, 0.5062386989593506, -0.43148162961006165, 0.5610536932945251, 0.23043128848075867, -0.2994278073310852, 0.1730637103319168, -0.48856639862060547, 0.2720009684562683, -0.14481908082962036, 0.21456529200077057, -1.1486341953277588, -0.019859815016388893, 0.30360740423202515, -0.4888363778591156, 0.3203580379486084, -0.08550510555505753, -0.6126607060432434, -0.7673503160476685, 0.05942269042134285, 0.48183968663215637, 0.24267737567424774, -0.639725387096405, 1.1395796537399292, 0.36447063088417053, -0.26694315671920776, -0.5763655304908752, -0.3553279936313629, -0.028754230588674545, -0.03840983286499977, -1.1212034225463867, 0.27085205912590027, -0.13309496641159058, -0.2862756848335266, 0.23638315498828888, -0.1459227204322815, 0.2733508050441742, 0.3153693675994873, -0.13766083121299744, 0.1409308761358261, -0.3050783574581146, 0.10395653545856476, 0.05570465698838234, -0.24137018620967865, 0.2982809841632843, -0.7291547060012817, 0.6972495913505554, -0.0270929504185915, -0.44353654980659485, 0.0915156900882721, 0.17323525249958038, 0.16905540227890015, -0.256658136844635, 0.3630628287792206, 0.5724791884422302, -0.2158752977848053, -0.4524105489253998, -0.3801114559173584, -0.20323370397090912, -0.4687686860561371, 0.32890668511390686, -0.5350000858306885, -1.2338932752609253, 0.5973027348518372, -0.48406609892845154, -0.3075866103172302, 0.47039374709129333, 0.37777161598205566, -0.0011858083307743073, 1.0497710704803467, 0.20168718695640564, 0.08429361134767532, -0.009234226308763027, -0.47830629348754883, 0.31660231947898865, -0.8437852263450623, -0.6586717963218689, -0.262508749961853, -0.6057928204536438, -0.35138383507728577, -0.5247792601585388, 0.6042519807815552, 0.26619547605514526, -0.08853064477443695, 0.04523111879825592, -0.28478553891181946, 0.5946419835090637, 0.5262086987495422, 0.2961827218532562, 0.1579454243183136, -0.39309510588645935, -0.7907102704048157, 0.319009929895401, -0.9506577849388123, 0.03289080411195755, 1.0781503915786743, -0.0630163922905922, 0.4318958520889282, 0.1904696524143219, 0.49004560708999634, -0.09689294546842575, 0.23944784700870514, -0.6809970736503601, 0.8361313343048096, 0.10618124902248383, -0.45847058296203613, -0.4502730667591095, -0.5942671895027161, -0.927314043045044, 0.48124492168426514, -0.09965679049491882, -0.8925556540489197, -0.16998691856861115, -0.12461677193641663, -0.37002357840538025, 0.504124104976654, -0.6694764494895935, 0.9558799862861633, -0.42348068952560425, -0.3612142503261566, -0.04468994587659836, -0.911907434463501, 0.4240443706512451, 0.14262773096561432, 0.05540802329778671, 0.06936368346214294, 0.19591982662677765, 0.5633200407028198, -0.3390773832798004, 0.5659497380256653, -0.09750574827194214, -0.005324046593159437, 0.6002481579780579, 0.38333654403686523, 0.6847867965698242, 0.015838202089071274, -0.13516424596309662, -0.36640286445617676, -0.30515241622924805, 0.026144960895180702, -0.9676907658576965, 0.6133727431297302, -0.6058000922203064, -0.7568086981773376, 0.06623200327157974, -0.7072388529777527, -0.49813440442085266, 0.4129472076892853, 0.06357961893081665, 0.4600584805011749, 0.07564356923103333, -0.05670410394668579, 0.6346697211265564, -0.05007757619023323, 0.33437782526016235, 0.42815539240837097, -0.6047879457473755, -0.4212820827960968, 0.7403901219367981, 0.23421989381313324, 0.48217397928237915, 0.442356139421463, 0.34785130620002747, -0.682519793510437, -0.45465347170829773, -0.7592937350273132, -0.14543649554252625, -0.9980370402336121, -0.19286523759365082, -0.9327927231788635, -0.3854987323284149, -0.16336719691753387, 0.04628559574484825, -0.07394857704639435, -0.4813240170478821, -0.10166902840137482, -0.34979817271232605, 0.3437687158584595, 0.3708522617816925, -0.018946463242173195, -0.00458224443718791, -0.5411537289619446, 0.42931342124938965, 0.5735787153244019, 0.1019873172044754, 0.22037772834300995, -0.22488392889499664, 0.08443973958492279, -0.0066324807703495026, -0.2127540558576584, -0.7040424942970276, -0.03242968022823334, -0.1144610196352005, 0.8282724022865295, 0.3760864734649658, 0.19165921211242676, 0.45108363032341003, -0.15681785345077515, 0.5578954815864563, 0.08606282621622086, -0.6869632005691528, 0.38377031683921814, -0.19039805233478546, 0.1669122576713562, 0.4887442886829376, 0.5403133630752563, -0.5255523324012756, -0.2296651303768158, -0.8727867007255554, -0.8478167057037354, 0.6296144127845764, 0.08889314532279968, -0.1893201470375061, -0.02226829342544079, 0.23804177343845367, -0.03427176550030708, 0.27408525347709656, -0.4552628993988037, -0.34070709347724915, 0.29890966415405273, 0.030450094491243362, 0.061618730425834656, -0.12814541161060333, -0.3206000328063965, -0.29886820912361145, 0.4503428339958191, -0.4688681960105896, 0.09039238095283508, 0.21034397184848785, 0.0548582561314106, -0.11322843283414841, 0.3683151304721832, 0.040932297706604004, 0.7682068943977356, 0.009823200292885303, 0.6056264638900757, 0.3474522531032562, 0.04902929812669754, 0.052940767258405685, 0.36987945437431335, -0.19497619569301605, -0.3294472098350525, 0.32496213912963867, 0.7676217555999756, 0.18118590116500854, -0.6166645884513855, 0.4702163636684418, 0.019837424159049988, -0.18685083091259003, 0.0972796082496643, 0.28621044754981995, 0.5505644679069519, 0.6864154934883118, 0.07451580464839935, 0.038496606051921844, 0.07408902794122696, -0.403469055891037, 0.2085132598876953, 0.6081084609031677, -0.24730540812015533, 0.023876359686255455, 0.709699273109436, -0.018796181306242943, -0.10482653230428696, 0.7663103342056274, -0.6982644200325012, -1.0822564363479614, 0.8859726190567017, 0.49062037467956543, 0.5624388456344604, 0.07000374048948288, 0.4530635476112366, 0.23304292559623718, 0.13072308897972107, 0.15280678868293762, 0.826079785823822, -0.1938798427581787, -1.2492625713348389, -0.7272204756736755, -0.30909547209739685, -0.17349164187908173, 0.09943350404500961, -0.37208279967308044, 0.10038505494594574, -0.248129740357399, -0.14519651234149933, -0.02578839845955372, 0.05770277604460716, -0.6249425411224365, 0.27769526839256287, 0.2582123577594757, 0.9265212416648865, -0.6050360202789307, 0.5597596764564514, 0.5084335207939148, -0.1969514936208725, -1.3015798330307007, -0.2785066068172455, -0.04604236036539078, -1.0676356554031372, 0.84475177526474, 0.19861763715744019, -0.07062361389398575, 0.3291161060333252, -0.5283781886100769, -0.8144141435623169, 1.3909815549850464, 0.3226340115070343, -0.2924599349498749, 0.08960914611816406, 0.044389255344867706, 0.2746415436267853, -0.2841409146785736, 0.617415726184845, 0.5762584805488586, 0.654483437538147, 0.6464961767196655, -0.776468813419342, 0.21408937871456146, -0.16473451256752014, -0.32929423451423645, 0.2776937484741211, -0.6993473172187805, 0.8114476203918457, -0.7372563481330872, -0.33196210861206055, -0.09094660729169846, 0.6396844387054443, 0.4765929877758026, 0.4192570447921753, 0.6724424362182617, 0.8659584522247314, 1.0235978364944458, -0.12584288418293, 1.0014392137527466, -0.15776093304157257, 0.1671844720840454, 1.082617998123169, -0.3710102140903473, 0.5608043670654297, 0.35105299949645996, -0.282071590423584, 0.3942076861858368, 0.9405421614646912, 0.2876681387424469, 0.3926697373390198, 0.5061815977096558, -0.2983083724975586, -0.6742163896560669, -0.3609098792076111, -0.4145747721195221, 0.327237606048584, 0.25809013843536377, -0.1722327023744583, -0.5505341291427612, -0.1644347906112671, 0.019220249727368355, -0.19541870057582855, -0.36956551671028137, 0.7444392442703247, 0.06699308007955551, -0.8585737347602844, 0.23241300880908966, 0.07943642884492874, 0.0554339699447155, -0.6163304448127747, 0.03580298274755478, -0.07279479503631592, -0.07792976498603821, -0.07877954095602036, -1.0720230340957642, -0.1355716586112976, -0.49500221014022827, -0.11881661415100098, -0.09691876173019409, 1.0483473539352417, -0.5342056751251221, -0.46258386969566345, 0.758082389831543, 0.9149179458618164, -0.19426535069942474, 0.007840976119041443, -0.6080909371376038, -0.2511167824268341, -0.003771236166357994, -0.3086102604866028, 0.3253488838672638, 0.7209902405738831, -0.061883777379989624, 0.9302281141281128, 0.6813595294952393, -0.05649866908788681, -0.03483763709664345, 0.30347132682800293, 1.3077538013458252, -0.19717255234718323, -0.6333391666412354, -0.6749660968780518, 0.5475692749023438, -0.052580825984478, -0.008175748400390148, 0.5311068892478943, 0.6079602837562561, 0.8514081835746765, 0.353109210729599, 0.9193090796470642, -0.36372944712638855, 0.36480069160461426, -0.9336525201797485, 0.3829496204853058, -0.5944289565086365, 0.12025253474712372, 0.022953176870942116, -0.6615308523178101, -0.14424867928028107, 0.3545342683792114, -0.4905685782432556, 0.24694326519966125, 0.7457701563835144, 0.6992645263671875, -0.08053917437791824, 0.4411267042160034, 0.02888965606689453, 0.21754160523414612, 0.22883309423923492, 0.7689613699913025, 1.195939302444458, -0.10790178924798965, 0.5919865965843201, -0.1885252296924591, 0.06314531713724136, 0.05335947126150131, -0.8405789732933044, -0.7485034465789795, -0.3478063642978668, -0.2163209468126297, -0.533160924911499, -0.31354767084121704, 0.80463707447052, 0.49207451939582825, -0.5698991417884827, 0.19424310326576233, -0.0869411826133728, 0.4919546842575073, -0.13232292234897614, -0.23810836672782898, 0.6143767237663269, -0.2961536645889282, -0.30894365906715393, 0.644453763961792, 0.03610628843307495, -0.15011420845985413, -0.1867171674966812, -0.19994135200977325, -0.2248462438583374, -0.31203773617744446, 0.4313000440597534, 0.12675794959068298, -0.5516616106033325, -0.46171802282333374, 0.2818419635295868, 0.15558871626853943, 0.01991228386759758, 0.9651665091514587, -0.852811336517334, 0.8637672662734985, 0.6938669085502625, 1.0376473665237427, 0.6208575963973999, -0.08537901937961578, 0.4781235158443451, -0.6871750354766846, -0.16555263102054596, 0.1661008894443512, 0.41377609968185425, 0.09091217070817947, -0.4123677909374237, 0.568709135055542, 0.20958757400512695, -0.4694865345954895, -0.3501476049423218, 0.2753969728946686, -1.0717730522155762, -0.36865127086639404, 1.1912388801574707, -0.19926586747169495, -0.06314712762832642, -0.10787376016378403, -0.2469012439250946, 0.22349847853183746, 0.01463182270526886, 0.36073896288871765, 0.7921266555786133, -0.35904937982559204, -0.19703054428100586, -0.4518964886665344, 0.2905050814151764, 0.2761863172054291, -0.7647468447685242, -0.18612846732139587, 0.3407903015613556, 0.1379421204328537, 0.26778092980384827, 0.6519486904144287, 0.13827255368232727, -0.041976217180490494, -0.028202444314956665, -0.34476640820503235, -0.367917001247406, -0.37894493341445923, 0.30341047048568726, 0.4604837894439697, 0.03272271156311035, -0.07838856428861618 ]
http://arxiv.org/abs/2406.01126v1
http://arxiv.org/pdf/2406.01126v1
TCMBench: A Comprehensive Benchmark for Evaluating Large Language Models in Traditional Chinese Medicine
2024-06-03T09:11:13
2024-06-03T09:11:13
Wenjing Yue, Xiaoling Wang, Wei Zhu, Ming Guan, Huanran Zheng, Pengfei Wang, Changzhi Sun, Xin Ma
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have performed remarkably well in various natural language processing tasks by benchmarking, including in the Western medical domain. However, the professional evaluation benchmarks for LLMs have yet to be covered in the traditional Chinese medicine(TCM) domain, which has a profound history and vast influence. To address this research gap, we introduce TCM-Bench, an comprehensive benchmark for evaluating LLM performance in TCM. It comprises the TCM-ED dataset, consisting of 5,473 questions sourced from the TCM Licensing Exam (TCMLE), including 1,300 questions with authoritative analysis. It covers the core components of TCMLE, including TCM basis and clinical practice. To evaluate LLMs beyond accuracy of question answering, we propose TCMScore, a metric tailored for evaluating the quality of answers generated by LLMs for TCM related questions. It comprehensively considers the consistency of TCM semantics and knowledge. After conducting comprehensive experimental analyses from diverse perspectives, we can obtain the following findings: (1) The unsatisfactory performance of LLMs on this benchmark underscores their significant room for improvement in TCM. (2) Introducing domain knowledge can enhance LLMs' performance. However, for in-domain models like ZhongJing-TCM, the quality of generated analysis text has decreased, and we hypothesize that their fine-tuning process affects the basic LLM capabilities. (3) Traditional metrics for text generation quality like Rouge and BertScore are susceptible to text length and surface semantic ambiguity, while domain-specific metrics such as TCMScore can further supplement and explain their evaluation results. These findings highlight the capabilities and limitations of LLMs in the TCM and aim to provide a more profound assistance to medical research.
[ 0.028104182332754135, -0.6287204027175903, 0.6916845440864563, -0.051094673573970795, -0.4252055585384369, 0.22574807703495026, -0.6134833693504333, -0.35570478439331055, -0.1775028556585312, 0.4288278818130493, -0.16491173207759857, -0.7504855394363403, -0.5324121713638306, 0.004861669614911079, -0.13339348137378693, 0.7007026076316833, -0.1653810292482376, 0.5124295353889465, -0.15888187289237976, 0.024522148072719574, -0.3742333650588989, -0.4728791415691376, -0.5209223031997681, -0.5363084673881531, 0.4160296320915222, 0.25753676891326904, 0.3566979169845581, 0.6544265151023865, 0.7311102747917175, 0.17959026992321014, -0.2930357754230499, 0.3741505444049835, -0.5561099052429199, 0.15606018900871277, -0.18100331723690033, -0.3502921760082245, -0.7239630222320557, 0.23382018506526947, 0.9484213590621948, 0.8686172366142273, -0.2322038859128952, 0.15417999029159546, 0.2562377452850342, 0.5516649484634399, -0.6548001170158386, -0.21984870731830597, -0.4716039299964905, 0.043242935091257095, -0.2978229224681854, -0.3401554524898529, -0.3347538113594055, -0.6271418333053589, 0.31129691004753113, -0.23483489453792572, 0.19174155592918396, 0.050733812153339386, 0.9273610711097717, -0.1327419877052307, -0.5434568524360657, -0.08784788846969604, -0.48847073316574097, 0.8747165203094482, -1.1821494102478027, 0.20284050703048706, 0.1471371203660965, 0.5112695097923279, -0.31764426827430725, -0.9518961310386658, -0.39234012365341187, -0.7349532842636108, 0.01581002026796341, 0.2432830035686493, 0.17368446290493011, 0.16600775718688965, 0.22424960136413574, 0.6748054027557373, -0.647406280040741, 0.1811520755290985, -0.24990205466747284, -0.10140229016542435, 0.44784507155418396, 0.5449159145355225, 0.30449023842811584, -0.22713401913642883, -0.4278005361557007, 0.016509100794792175, -0.720210611820221, 0.15828759968280792, -0.27670562267303467, 0.08308839052915573, 0.09410817176103592, 0.36412766575813293, -0.22819733619689941, 0.7275791168212891, -0.08442168682813644, -0.44121190905570984, 0.06284427642822266, -0.27465349435806274, -0.5036011338233948, 0.12412466108798981, 0.9249973893165588, 0.5458154678344727, -0.024417100474238396, -0.2762063145637512, -0.17247870564460754, -0.11996892839670181, 0.23426221311092377, -0.9022378921508789, -0.0328877717256546, 0.4505341947078705, -0.5634486675262451, -0.13922439515590668, 0.19247807562351227, -0.4128890931606293, -0.6038520932197571, -0.1595747321844101, 0.1494448482990265, -0.7086600065231323, -0.36143410205841064, 0.07844407111406326, -0.22971799969673157, 0.4148636758327484, 0.30066847801208496, -0.5220122337341309, 0.5677377581596375, 1.1115894317626953, 1.1159855127334595, -0.5431399941444397, -0.35752373933792114, -0.3844543397426605, 0.21884234249591827, -0.6586224436759949, 0.8652363419532776, -0.40053337812423706, -0.33908945322036743, -0.06820713728666306, 0.018800292164087296, -0.12857912480831146, -0.9432911276817322, 0.7753207683563232, -0.09625086933374405, 0.010796393267810345, -0.3749980330467224, -0.7750165462493896, -0.12876677513122559, 0.5823765993118286, -0.3544733226299286, 0.8853585124015808, 0.210581436753273, -0.6216844320297241, 0.33733972907066345, -0.24165041744709015, -0.2994301915168762, 0.16293206810951233, -0.06085792928934097, -0.2034541666507721, 0.24235188961029053, -0.07406413555145264, 0.4547833204269409, -1.0049890279769897, 0.6732524037361145, -0.2900817394256592, -0.528317391872406, 0.3651283085346222, -0.23956982791423798, 0.7293413281440735, 0.2078557014465332, -0.30596238374710083, 0.0789836049079895, -0.5660670399665833, 0.42423492670059204, -0.0009726581047289073, -0.1464107185602188, -0.38868919014930725, 0.09487602114677429, -0.01541738398373127, 0.27164149284362793, 0.12368781119585037, -0.5836251378059387, -0.021833045408129692, -0.3217785358428955, 0.6104652881622314, 0.6652004718780518, -0.0046440791338682175, -0.06212855875492096, -0.63372802734375, 0.282736212015152, 0.10076077282428741, -0.02135353535413742, -0.09992852807044983, -0.13272222876548767, -0.6433334350585938, -0.18431511521339417, 0.34730419516563416, 0.21322286128997803, -0.488986611366272, 0.41620227694511414, -0.3831668198108673, -1.0016263723373413, -0.46125179529190063, -0.023160547018051147, 0.43437013030052185, 0.842443585395813, 0.23112228512763977, -0.6164103746414185, -0.05271870642900467, -0.9006935954093933, -0.348673552274704, -0.11815916746854782, -0.1675327867269516, 0.33247241377830505, 0.30504125356674194, 0.06629332154989243, 0.6243835687637329, -0.407693088054657, -0.3322516083717346, -0.2760191559791565, 0.048082076013088226, 0.21760712563991547, 0.37312549352645874, 0.38491499423980713, -0.3114704489707947, -0.572149395942688, 0.21005268394947052, -0.594173014163971, -0.3456853926181793, 0.04215553030371666, -0.18618404865264893, 0.09317976981401443, 0.131139874458313, -0.39820802211761475, -0.09664805978536606, 0.5347946286201477, -0.05498989671468735, 0.8227851390838623, -0.2592868208885193, 0.44045618176460266, -0.9512673616409302, 0.40032872557640076, 0.13803313672542572, -0.11155201494693756, -0.7488507032394409, 0.17238545417785645, 0.4968439042568207, 0.1605175882577896, -0.4328785538673401, 0.5496342182159424, -0.48709389567375183, 0.12111669778823853, -0.2868901193141937, 0.5721656680107117, 0.0037759062834084034, 0.2846527099609375, 0.20762693881988525, 0.5635776519775391, 0.5245455503463745, -0.6168174147605896, 0.474772185087204, -0.20882731676101685, -0.6128612160682678, 0.8004485368728638, -0.8264234066009521, 0.07635748386383057, 0.2441549003124237, 0.20335941016674042, -0.9312804937362671, -0.07194752246141434, -0.09402567148208618, -0.37387505173683167, 0.34240177273750305, 0.25424209237098694, -0.5990375876426697, -0.4213792383670807, -0.5974187254905701, 0.16235867142677307, 0.42818683385849, -0.34456682205200195, 0.19264890253543854, 0.3073473572731018, 0.022878799587488174, -0.38465607166290283, -0.5325992703437805, 0.25902634859085083, -0.08297787606716156, -0.6121631860733032, 0.42355456948280334, -0.06216932088136673, -0.18400165438652039, -0.1459379941225052, -0.2549873888492584, -0.22214682400226593, 0.09479027986526489, -0.02960740402340889, 0.310455858707428, -0.6157416105270386, 0.17682482302188873, -0.037078846246004105, 0.03412225469946861, 0.19676323235034943, -0.13124336302280426, 0.5856087803840637, 0.006668824702501297, -0.19936583936214447, -0.4225486218929291, -0.01029758621007204, 0.44624415040016174, -0.2652130424976349, 0.4849380850791931, 0.24338778853416443, -0.40744900703430176, -0.34193214774131775, -0.665873646736145, -0.04236933961510658, -0.41431301832199097, 0.48649126291275024, -0.13014332950115204, -0.7936309576034546, 0.19900579750537872, -0.25189918279647827, 0.06692766398191452, 0.4760618209838867, 0.8429038524627686, 0.04097308591008186, 0.7247927188873291, 0.19999542832374573, 0.0018867586040869355, 0.09573013335466385, -0.09479667246341705, -0.05317455530166626, -1.109675645828247, -0.1811024397611618, -0.5553065538406372, -0.3312623202800751, -0.5613828301429749, -0.4220634996891022, 0.343879371881485, -0.11521951109170914, -0.368997722864151, 0.24027293920516968, -0.5461897253990173, 0.19479519128799438, 0.42194294929504395, 0.29051506519317627, 0.47120994329452515, -0.4077012240886688, -0.2772863209247589, -0.09841226786375046, -0.6828157901763916, -0.7252217531204224, 1.060524582862854, 0.2977788746356964, 0.6232431530952454, -0.06218744441866875, 0.38549673557281494, 0.10036264359951019, 0.5583227276802063, -0.8318375945091248, 0.6049201488494873, -0.2907569408416748, -0.5831639766693115, -0.015641426667571068, -0.639083743095398, -0.7099904417991638, 0.30700206756591797, -0.06816697120666504, -0.6210804581642151, -0.19901558756828308, -0.14954985678195953, -0.305531769990921, 0.46762117743492126, -0.6001699566841125, 0.8906359076499939, -0.49452680349349976, -0.41726115345954895, -0.2059621512889862, -0.4313086271286011, 0.7563683986663818, -0.2293274998664856, -0.1777963489294052, -0.3309905529022217, -0.2820400297641754, 0.7633123993873596, -0.41828256845474243, 0.5960098505020142, 0.0968613401055336, -0.06334152072668076, 0.10300274193286896, 0.11320997029542923, 0.12077303975820541, 0.01622115634381771, -0.3489864468574524, 0.21497629582881927, 0.45885688066482544, -0.4188370406627655, -0.43967634439468384, 0.897959291934967, -0.673912763595581, -0.7322492599487305, -0.6994810700416565, -0.34959498047828674, -0.45815253257751465, 0.2857857048511505, 0.15451672673225403, 0.48239579796791077, -0.5100401043891907, 0.2536405920982361, 0.43650880455970764, -0.4582652449607849, 0.1546855866909027, 0.7891731858253479, 0.16011998057365417, -0.43278905749320984, 0.5656855702400208, 0.2513967752456665, 0.45283541083335876, 0.38348305225372314, 0.4584285318851471, -0.1382158398628235, -0.7730981707572937, -0.18086998164653778, 0.34801727533340454, -0.509322464466095, -0.22775335609912872, -0.516353964805603, -0.637669563293457, -0.4183613359928131, 0.08334332704544067, -0.29649510979652405, -0.13507014513015747, 0.04024398326873779, 0.15423379838466644, -0.008780986070632935, 0.5760759115219116, 0.22509710490703583, 0.23684555292129517, -0.9001479148864746, 0.31431469321250916, 0.01800694689154625, 0.7269649505615234, 0.30841612815856934, -0.6672707200050354, -0.36122387647628784, 0.05022219568490982, -0.5648123621940613, -0.6752958297729492, 0.3257940709590912, 0.12057581543922424, 0.7898198366165161, 0.48601892590522766, 0.2414240837097168, 0.7258726954460144, -0.5607561469078064, 1.0593879222869873, 0.2088618278503418, -0.927881121635437, 0.4652699828147888, -0.15357135236263275, 0.3973349332809448, 0.43578386306762695, 0.23192356526851654, -1.0297261476516724, -0.6694085597991943, -0.41018566489219666, -0.574596107006073, 0.7953384518623352, -0.0036884043365716934, 0.024751834571361542, -0.010628287680447102, 0.30937856435775757, 0.21570441126823425, 0.16000038385391235, -0.3987864851951599, -0.2523636817932129, 0.14825893938541412, 0.04530434310436249, -0.1537788361310959, -0.41283875703811646, -0.027502184733748436, -0.22564274072647095, 0.5522119402885437, 0.03790292143821716, -0.022007308900356293, 0.3903515934944153, -0.03971372917294502, -0.2888500690460205, 0.36363160610198975, 0.5927432179450989, 1.0458003282546997, -0.43159642815589905, 0.2399097979068756, 0.1972103863954544, -0.6825554370880127, -0.038704678416252136, 0.0035087373107671738, 0.013825288973748684, 0.033470652997493744, 0.5567936301231384, 0.3879689872264862, 0.03535471856594086, -0.971301257610321, 0.36321306228637695, 0.052939318120479584, -0.13123655319213867, -0.08697343617677689, 0.20778267085552216, 0.09605854749679565, -0.02013419009745121, 0.44325757026672363, -0.4146413505077362, 0.14407846331596375, -0.5860174894332886, 0.18848033249378204, 0.41998401284217834, -0.6663323640823364, -0.17932286858558655, 0.604962170124054, 0.027758726850152016, -0.21336384117603302, 0.3811837434768677, 0.24446885287761688, -0.49900850653648376, 0.7390461564064026, 0.43650850653648376, 0.9132468700408936, -0.2491687834262848, 0.1393895447254181, 0.5294002890586853, 0.3343431055545807, -0.3010869324207306, -0.016645370051264763, 0.14359796047210693, -0.3757384717464447, -0.24837100505828857, -0.3057185411453247, -0.6356945037841797, 0.19096237421035767, -0.5101463198661804, 0.47118857502937317, -0.6113224029541016, -0.2806588411331177, -0.017912231385707855, 0.47896772623062134, -0.2830275297164917, 0.32103899121284485, 0.10257598757743835, 1.1604663133621216, -0.11356646567583084, 1.0144431591033936, 0.600317120552063, -0.09518878161907196, -0.6630793809890747, 0.1210721880197525, 0.05405464768409729, -0.6903828978538513, 0.4024810791015625, 0.16234512627124786, 0.05888056382536888, -0.3111417889595032, -0.5029737949371338, -0.4105047583580017, 1.4302747249603271, 0.2982027530670166, -0.5992613434791565, 0.051467277109622955, 0.3114813566207886, 0.8346775770187378, -0.28686293959617615, 0.6436555981636047, 0.8532127141952515, 0.30601614713668823, 0.08169841021299362, -1.211525797843933, 0.27871406078338623, -0.17442604899406433, 0.03580976650118828, 0.07427207380533218, -0.9134573936462402, 0.8849999904632568, -0.06772057712078094, -0.3585173189640045, 0.34525975584983826, 0.24134279787540436, 0.4901812970638275, 0.43904849886894226, 0.1244133710861206, 0.2673250436782837, 0.7564690709114075, -0.28269797563552856, 1.0470517873764038, -0.47951364517211914, 0.3607611656188965, 1.0034106969833374, -0.5063691139221191, 0.8478812575340271, 0.28276219964027405, -0.12125969678163528, 0.194419726729393, 0.8899098634719849, 0.003223822917789221, 0.2632955312728882, 0.3986801505088806, -0.059374332427978516, -0.3057694137096405, -0.31759512424468994, -0.587610125541687, 0.16229833662509918, 0.17876078188419342, -0.46241307258605957, -0.2486254870891571, -0.4426293969154358, 0.04152493551373482, 0.23148082196712494, -0.2845827043056488, 0.6903673410415649, 0.45867085456848145, -0.5591598153114319, 0.8159721493721008, 0.1540888398885727, 0.5341206789016724, -0.8803308010101318, 0.07016508281230927, -0.45976877212524414, 0.21391193568706512, -0.09881427884101868, -0.8411038517951965, -0.05391368269920349, 0.025319747626781464, 0.20533396303653717, 0.0452437698841095, 0.565432071685791, -0.2908357083797455, -0.48160022497177124, 0.2720932960510254, 0.6014615297317505, 0.06942005455493927, 0.047266747802495956, -0.4927199184894562, -0.17566578090190887, -0.32904770970344543, -0.2815406918525696, 0.3172011077404022, 0.7845406532287598, 0.018463896587491035, 0.7782922983169556, 0.39416587352752686, 0.578098714351654, -0.3382337987422943, -0.09249678254127502, 0.8936794996261597, -1.081675410270691, -0.2631046175956726, -0.9811621308326721, 0.1399805098772049, -0.2597673535346985, -0.47042158246040344, 0.727973461151123, 0.7304229140281677, 0.5838875770568848, 0.18961182236671448, 0.6661941409111023, 0.008234262466430664, 0.730171263217926, -0.4216909408569336, 1.0446029901504517, -0.7976768612861633, 0.33593541383743286, -0.4247993528842926, -0.8272437453269958, -0.2949259579181671, 0.013009980320930481, -0.43607771396636963, -0.0441872663795948, 0.9677978157997131, 0.5470632314682007, 0.043474916368722916, -0.08572986721992493, 0.5486546754837036, 0.3559550642967224, 0.3443357050418854, 0.9846978783607483, 0.9276328086853027, -0.29967939853668213, 0.4349002540111542, -0.38264575600624084, -0.22066952288150787, -0.03939184546470642, -0.8029895424842834, -1.0078215599060059, -0.41712480783462524, -0.15830668807029724, -0.27834832668304443, 0.11403831094503403, 1.0205391645431519, 0.5430999994277954, -0.8517003059387207, -0.6140835285186768, 0.44889768958091736, 0.12251676619052887, -0.5815293788909912, -0.220065638422966, 0.6564707159996033, -0.39031338691711426, -0.7098004817962646, -0.051671337336301804, 0.40299180150032043, -0.30279046297073364, -0.18066956102848053, -0.09632696211338043, 0.042702171951532364, 0.010677799582481384, 0.5747761726379395, -0.11574573814868927, -0.7371149659156799, -0.0888860672712326, 0.2763071358203888, -0.7077513933181763, 0.32994362711906433, 1.078750491142273, -0.553965151309967, 0.48153620958328247, 0.41349586844444275, 0.6044772267341614, 0.13674162328243256, -0.09119340777397156, 0.7632637619972229, -0.16674686968326569, -0.1862930953502655, 0.4011560082435608, 0.2549110949039459, 0.21317943930625916, -0.019057882949709892, 0.4933350682258606, 0.17885085940361023, -0.470531702041626, -0.9072420597076416, -0.30021926760673523, -1.1041698455810547, -0.4330146908760071, 1.198603868484497, -0.2020425647497177, -0.33608514070510864, -0.05091962218284607, -0.45268332958221436, 0.25471386313438416, -0.29524844884872437, 0.9965384006500244, 0.8305961489677429, 0.10371782630681992, -0.28244748711586, -0.7445208430290222, 0.43668994307518005, 0.3454590141773224, -0.8040387630462646, 0.24855852127075195, 0.4145801067352295, 0.28565967082977295, -0.20189660787582397, 0.744140088558197, -0.2542960047721863, 0.5037958025932312, -0.2589837610721588, -0.1043010875582695, -0.03322950005531311, 0.24366730451583862, -0.0944434404373169, 0.12672051787376404, 0.35315898060798645, 0.08843501657247543 ]
http://arxiv.org/abs/2406.01124v3
http://arxiv.org/pdf/2406.01124v3
Latent Logic Tree Extraction for Event Sequence Explanation from LLMs
2024-06-03T09:10:42
2024-06-28T07:54:19
Zitao Song, Chao Yang, Chaojie Wang, Bo An, Shuang Li
cs.LG
cs.LG, cs.CL
Modern high-stakes systems, such as healthcare or robotics, often generate vast streaming event sequences. Our goal is to design an efficient, plug-and-play tool to elicit logic tree-based explanations from Large Language Models (LLMs) to provide customized insights into each observed event sequence. Built on the temporal point process model for events, our method employs the likelihood function as a score to evaluate generated logic trees. We propose an amortized Expectation-Maximization (EM) learning framework and treat the logic tree as latent variables. In the E-step, we evaluate the posterior distribution over the latent logic trees using an LLM prior and the likelihood of the observed event sequences. LLM provides a high-quality prior for the latent logic trees, however, since the posterior is built over a discrete combinatorial space, we cannot get the closed-form solution. We propose to generate logic tree samples from the posterior using a learnable GFlowNet, which is a diversity-seeking generator for structured discrete variables. The M-step employs the generated logic rules to approximate marginalization over the posterior, facilitating the learning of model parameters and refining the tunable LLM prior parameters. In the online setting, our locally built, lightweight model will iteratively extract the most relevant rules from LLMs for each sequence using only a few iterations. Empirical demonstrations showcase the promising performance and adaptability of our framework.
[ 0.07255072146654129, -0.9222236275672913, 0.9218224287033081, -0.2547827661037445, -0.40682703256607056, 0.037023842334747314, 0.07434917241334915, -0.3299406170845032, 0.2288416624069214, 0.22888296842575073, -0.919765055179596, -0.5956565141677856, -0.551324725151062, -0.09654978662729263, -0.29676783084869385, 1.0280706882476807, 0.08201241493225098, -0.4561484158039093, 0.00016195095668081194, 0.20118053257465363, 0.20109054446220398, -0.4377700686454773, -0.8168291449546814, -0.2894045114517212, 0.5361286997795105, 0.19155479967594147, 0.340817928314209, 0.5698001980781555, 0.4060807228088379, 0.20227636396884918, -0.12163761258125305, 0.05700702592730522, -0.32233646512031555, 0.07029525935649872, -0.13789862394332886, -0.4507627785205841, -0.6823933720588684, -0.04271275922656059, 0.46873509883880615, 0.5875939726829529, -0.3601348102092743, 0.21123795211315155, -0.1675412356853485, 0.3648732602596283, -0.6824930906295776, 0.33092358708381653, -0.8810522556304932, 0.3945540189743042, -0.134221151471138, -0.6636430621147156, -0.4898667633533478, -0.18528896570205688, -0.08165457099676132, -0.6500083804130554, 0.20587341487407684, -0.013929587788879871, 0.7887389063835144, 0.16956105828285217, -0.42596232891082764, -0.005479777697473764, -0.7517531514167786, 0.8294830322265625, -0.6665374636650085, 0.11204309016466141, 0.005983226466923952, 0.48063623905181885, -0.17935174703598022, -0.7160027027130127, -0.34963005781173706, 0.14581552147865295, 0.21032457053661346, 0.3248295485973358, -0.30332207679748535, 0.2392258495092392, 0.3651203215122223, 0.262554407119751, -0.6413924098014832, 0.05750315263867378, -0.006749252788722515, -0.0513123981654644, 0.6777002811431885, 0.38528311252593994, 0.08404751867055893, -0.23248320817947388, -0.054359070956707, 0.11333022266626358, -0.7983474135398865, 0.19545066356658936, 0.42939990758895874, 0.16979126632213593, -0.004573183599859476, 0.5149121880531311, -0.18595534563064575, 0.6738089323043823, -0.051919542253017426, -0.3978849947452545, 0.18741004168987274, -0.3274896442890167, -0.4203561842441559, -0.15115049481391907, 0.5715124607086182, 0.22641633450984955, 0.2183346301317215, -0.06986457109451294, -0.3174772560596466, -0.23051945865154266, -0.10594061017036438, -0.9267078042030334, -0.021387040615081787, 0.363192081451416, -0.713428258895874, -0.35719192028045654, -0.028847305104136467, -0.6776971817016602, -0.1775258332490921, -0.31920450925827026, 0.18677844107151031, -0.2643517255783081, -0.2569166123867035, 0.004466621205210686, -0.12074824422597885, 0.3847450017929077, 0.6260905861854553, -0.6830118894577026, 0.26435038447380066, 0.7136133313179016, 0.7554295063018799, -0.200792133808136, 0.2627786695957184, -1.136178731918335, 0.19263440370559692, -0.11269588023424149, 0.5481829047203064, -0.6117492318153381, -0.046856995671987534, -0.03913266584277153, -0.019975630566477776, -0.12781156599521637, -0.4688670039176941, 0.5043947100639343, -0.7446190118789673, 0.16735917329788208, 0.3668312430381775, -0.7165540456771851, -0.08274856954813004, 0.09754647314548492, -0.29063111543655396, 0.5444313883781433, -0.05629078298807144, -0.8220470547676086, 0.5118119120597839, -0.5894421339035034, -0.4375280439853668, 0.19953499734401703, -0.6443164944648743, -0.45952650904655457, 0.28537288308143616, 0.4579503536224365, 0.6298099756240845, -0.20773157477378845, 0.38788750767707825, -0.4248414635658264, 0.016524769365787506, 0.011085756123065948, -0.5744943618774414, 0.9053016304969788, 0.27497559785842896, -0.261701762676239, 0.21831411123275757, -0.8707196712493896, -0.11176298558712006, 0.30156996846199036, -0.41267502307891846, 0.0723617821931839, 0.7588552236557007, -0.05824945494532585, 0.3709820806980133, -0.048802562057971954, -0.5867789387702942, -0.031491007655858994, -0.6401379108428955, 0.34257182478904724, 0.8410478830337524, 0.3343375027179718, 0.15047185122966766, -0.22082921862602234, 0.764517068862915, 0.17212466895580292, 0.24024567008018494, -0.4385058581829071, -0.6220744848251343, -0.21926386654376984, -0.3424507677555084, -0.12693935632705688, 0.7165359854698181, -0.6306575536727905, 0.5831419825553894, -0.2860390841960907, -0.026939859613776207, -0.14331912994384766, 0.08826958388090134, -0.05475860834121704, 0.5703915953636169, 0.09622878581285477, -0.10315506160259247, -0.4944436252117157, -0.6838260293006897, -0.053315483033657074, -0.3517426550388336, -0.27137812972068787, 0.3125465214252472, 0.5195307731628418, -0.005969256162643433, 1.144140601158142, -0.44600486755371094, -0.04146666079759598, -0.25625354051589966, 0.038767945021390915, 0.6425117254257202, 0.18321993947029114, 0.29101917147636414, -0.6049219369888306, 0.14340785145759583, 0.1312217116355896, -0.6413486003875732, -0.1468256711959839, -0.26843810081481934, 0.08426469564437866, 0.2665060758590698, 0.6090986728668213, -0.20636771619319916, 0.5427662134170532, 0.5520022511482239, -0.5028465986251831, 0.5269427299499512, -0.03545411303639412, 0.013340989127755165, -1.1579951047897339, -0.11288868635892868, -0.04402425140142441, -0.4190045893192291, -0.18533281981945038, -0.05926135927438736, -0.26176589727401733, 0.04234238713979721, -0.5623546838760376, 0.40017983317375183, -0.23677434027194977, -0.37378257513046265, -0.09453713148832321, 0.22650262713432312, 0.02980375662446022, 0.4174092710018158, 0.14771150052547455, 0.059600602835416794, 0.3135763108730316, -0.5588579773902893, 0.39559870958328247, -0.3106882572174072, -0.28968545794487, 0.39810845255851746, -0.515435516834259, -0.21724893152713776, -0.09589975327253342, 0.17106936872005463, -0.7054882645606995, -0.08198682218790054, 0.17296606302261353, -0.49044325947761536, 0.1328473687171936, -0.5626879334449768, -0.4529117941856384, -0.21710357069969177, -0.14300203323364258, 0.3275485038757324, 0.6302669048309326, -0.6648907661437988, 0.9082951545715332, 0.277211993932724, -0.28318142890930176, -0.24929006397724152, -0.4620545208454132, -0.21886320412158966, -0.2139848917722702, -0.848587155342102, 0.31334611773490906, 0.014948109164834023, -0.44012510776519775, 0.07652179151773453, -0.16881325840950012, 0.09791882336139679, 0.48898473381996155, 0.317103773355484, 0.2115040272474289, -0.4720411002635956, 0.16644084453582764, 0.2420511096715927, -0.09203954041004181, 0.3180849254131317, -0.7649133801460266, 0.1960957944393158, -0.04006316885352135, -0.8262684345245361, -0.32982325553894043, 0.4428035020828247, 0.35834014415740967, -0.11081715673208237, 0.6513596177101135, 0.5207018256187439, -0.7128255367279053, -0.21434006094932556, -0.21340805292129517, -0.2622119188308716, -0.3729829788208008, 0.4909224212169647, -0.36276566982269287, -1.0278770923614502, 0.5178695917129517, -0.17538057267665863, 0.3628671169281006, 0.7051199078559875, 0.6064771413803101, -0.12201549112796783, 1.1870568990707397, 0.32517683506011963, 0.22002406418323517, 0.6619012355804443, -0.02707715705037117, 0.07323520630598068, -0.5241022109985352, -0.1576659381389618, -0.3918904662132263, -0.12408710271120071, -0.3701971471309662, -0.5139063000679016, 0.3988751173019409, 0.1350962519645691, -0.23841680586338043, -0.32541272044181824, -0.10493237525224686, 0.417214572429657, 0.3736191689968109, -0.012113034725189209, 0.530363142490387, 0.2508910298347473, -0.27094271779060364, 0.02107958123087883, -0.8160573244094849, -0.49159225821495056, 0.8708975911140442, 0.4198743402957916, 0.666297435760498, 0.14226621389389038, 0.9418771266937256, 0.12296919524669647, 0.20478485524654388, -0.797764241695404, 0.3064134120941162, 0.023005615919828415, -0.44399815797805786, -0.2662227153778076, -0.6736066341400146, -1.0192586183547974, 0.30356815457344055, -0.2518932819366455, -1.2504950761795044, 0.03615415468811989, 0.09779467433691025, -0.46562403440475464, 0.5451101064682007, -0.4794909656047821, 0.7967510223388672, -0.2134256213903427, -0.3255942761898041, -0.2549358308315277, -0.49667367339134216, 0.46951767802238464, -0.07203692942857742, 0.5551643371582031, -0.2197389155626297, -0.010215932503342628, 0.8421176671981812, -0.5757256150245667, 0.8788918852806091, -0.21609638631343842, -0.04437261447310448, 0.365570068359375, 0.23102089762687683, 0.6393535733222961, 0.1985248476266861, 0.005019661039113998, -0.15106956660747528, -0.09071902185678482, -0.38102707266807556, -0.6133671998977661, 0.41013142466545105, -0.6812487244606018, -0.6034333109855652, -0.27263906598091125, -0.28890183568000793, -0.03806573525071144, -0.1975608766078949, -0.0018820364493876696, 0.5900253653526306, -0.12699510157108307, 0.11608576029539108, 0.5492587089538574, -0.4087187945842743, 0.7700464129447937, 0.3876481354236603, -0.3849360942840576, -0.2581123113632202, 0.7617310285568237, -0.13092683255672455, 0.2647741734981537, 0.7082623839378357, 0.34927356243133545, -0.09552692621946335, -0.6648826599121094, -0.4008956253528595, -0.06708414107561111, -0.6389132142066956, -0.029831763356924057, -0.8080773949623108, -0.27415838837623596, -0.2382471263408661, -0.23945988714694977, -0.23130249977111816, -0.6340795159339905, -0.29984745383262634, -0.33286505937576294, 0.39758917689323425, 0.5236803293228149, -0.14270105957984924, 0.33770328760147095, -0.9703935980796814, 0.197007417678833, 0.22683705389499664, 0.10313010215759277, -0.14152011275291443, -0.6916240453720093, -0.08295778930187225, -0.35803571343421936, -0.35130053758621216, -1.0405324697494507, 0.46908119320869446, 0.4200550615787506, 0.7905669212341309, 0.7191120386123657, -0.10676079243421555, 0.28881558775901794, -0.49171820282936096, 0.6459894776344299, 0.16095229983329773, -0.8444004654884338, 1.0709022283554077, -0.43286415934562683, 0.10938157886266708, 0.10236257314682007, 0.2506090998649597, -0.3729269802570343, -0.3709685504436493, -1.073284387588501, -1.173208475112915, 0.7920510768890381, 0.28224900364875793, -0.3822060227394104, 0.005686261225491762, 0.43139851093292236, -0.009703338146209717, 0.04112378507852554, -0.797720193862915, -0.20843149721622467, 0.20001445710659027, -0.4411267340183258, -0.06286682188510895, 0.013518773950636387, -0.09456970542669296, 0.010570317506790161, 0.5726210474967957, -0.303330659866333, 0.1733207255601883, 0.17729513347148895, -0.20646315813064575, -0.14791332185268402, 0.34078922867774963, 0.3428301513195038, 0.6572222709655762, -0.2372579574584961, 0.19269032776355743, -0.0006462406599894166, -0.11482900381088257, -0.04302703216671944, 0.25499236583709717, -0.18325476348400116, -0.08480752259492874, 0.6817731857299805, 0.649349570274353, -0.013499259948730469, -0.7229871153831482, 0.6129727959632874, -0.14695824682712555, -0.20851407945156097, -0.2715248465538025, 0.03693203255534172, 0.172713041305542, 0.48215848207473755, 0.47765734791755676, -0.2350470870733261, 0.20672161877155304, -0.42499667406082153, 0.5037299394607544, 0.3759738802909851, -0.18221721053123474, -0.282275915145874, 0.6455528736114502, 0.15435068309307098, -0.3115704655647278, 0.6139991879463196, -0.4677722156047821, -0.307466059923172, 0.8814980983734131, 0.44748353958129883, 0.8991369605064392, 0.16250362992286682, 0.2815793752670288, 0.3588617444038391, 0.4167633056640625, 0.46612873673439026, 0.3494061231613159, -0.13094329833984375, -0.6304384469985962, -1.0116631984710693, -0.9180880188941956, -0.32701846957206726, 0.03575075790286064, -0.43682345747947693, 0.10660234838724136, -0.27407246828079224, 0.12074697762727737, -0.05293311923742294, -0.12264606356620789, -0.7427070140838623, 0.1324036419391632, 0.3862171173095703, 0.6790770292282104, -1.1378923654556274, 0.6992959976196289, 0.550786554813385, -0.35154709219932556, -0.8490855097770691, -0.11857646703720093, 0.2710779905319214, -0.7846306562423706, 0.5570999383926392, -0.06636719405651093, 0.15892188251018524, -0.05085933580994606, -0.28136351704597473, -0.7960399389266968, 1.1409269571304321, 0.38912200927734375, -0.7119132280349731, -0.02718183398246765, -0.23142918944358826, 0.25411465764045715, -0.6633796691894531, 0.6308227181434631, 0.3815321624279022, 0.1354750394821167, 0.40002861618995667, -0.3759698271751404, 0.03637273237109184, -0.16959866881370544, -0.21604356169700623, 0.19931480288505554, 0.029029032215476036, 0.6752439737319946, -0.3763892948627472, -0.24029973149299622, -0.3483230173587799, 0.697152316570282, 0.6155179738998413, 0.4662436544895172, 0.5487656593322754, 0.41382208466529846, 0.9051517844200134, -0.042597655206918716, 1.158090591430664, -0.09403598308563232, 0.31639379262924194, 1.1492035388946533, -0.16637936234474182, 0.8335351943969727, 0.6237960457801819, -0.19927002489566803, 0.5880225300788879, 0.9160356521606445, 0.4260715842247009, 0.29838308691978455, 0.5253986120223999, -0.2888731360435486, -0.5267757773399353, 0.020318711176514626, -0.09788521379232407, 0.09643065929412842, 0.6652041077613831, -0.47287896275520325, -0.4723930060863495, -0.12016098201274872, -0.270362913608551, -0.36962732672691345, -0.48593008518218994, 0.6292320489883423, 0.15788447856903076, -0.4077202379703522, -0.08362212032079697, -0.005079361144453287, 0.4204564690589905, -0.43848296999931335, -0.14058040082454681, -0.06152505427598953, 0.16449065506458282, -0.3266668915748596, -0.5809894800186157, 0.47659751772880554, -0.012203391641378403, -0.15669631958007812, -0.2722182869911194, 0.5615434050559998, -0.17955893278121948, -0.63062584400177, 0.47823309898376465, 0.9247971177101135, 0.35908305644989014, -0.1190720647573471, -0.6380491256713867, -0.12580157816410065, -0.08246897906064987, -0.6125005483627319, 0.259843647480011, 0.6430888772010803, -0.11597021669149399, 0.4169081747531891, 0.5035395622253418, 0.1825828105211258, 0.14156682789325714, 0.32802578806877136, 0.4614398777484894, -0.5588861703872681, -0.4081282317638397, -1.0858025550842285, 0.5738579034805298, 0.014168843626976013, -0.038167133927345276, 0.1510108858346939, 0.4285377264022827, 0.843046247959137, 0.15759895741939545, 0.7260554432868958, -0.09203552454710007, 0.2046957015991211, -0.7347332239151001, 0.25203248858451843, -0.7802567481994629, 0.35261768102645874, -0.19642312824726105, -0.7144678831100464, -0.29611310362815857, 0.5533551573753357, -0.24815884232521057, 0.009238188154995441, 0.7881221175193787, 0.6597349643707275, -0.05855323001742363, 0.03674328327178955, 0.499498575925827, 0.10043330490589142, 0.5382733941078186, 0.9221910834312439, 0.890211820602417, -0.10126250982284546, 0.5725191235542297, 0.13152562081813812, -0.5050891637802124, -0.2621878683567047, -1.2549166679382324, -0.5624786019325256, -0.4451844096183777, -0.6669864058494568, -0.2673276960849762, 0.20044279098510742, 1.1993722915649414, 0.7588701844215393, -0.7790675759315491, -0.11170828342437744, -0.23808187246322632, 0.4678269922733307, -0.15312126278877258, -0.28841689229011536, 0.3159633278846741, -0.40639013051986694, -0.5007043480873108, 0.4909358322620392, 0.497987300157547, -0.11222768574953079, 0.1880452185869217, -0.015726381912827492, -0.22553376853466034, -0.012062443420290947, 0.6797558069229126, 0.09317565709352493, -0.6689518094062805, -0.3946582078933716, -0.12513141334056854, 0.14945772290229797, 0.10277347266674042, 0.7998994588851929, -0.7294979095458984, 0.20383107662200928, 0.539615273475647, 0.7839214205741882, 0.6599071621894836, -0.28424009680747986, 0.669754147529602, -0.8077976703643799, -0.20429742336273193, 0.27956515550613403, 0.765450656414032, -0.07539398223161697, -0.2619215250015259, 0.49723634123802185, 0.6225534677505493, -0.36329808831214905, -0.35458797216415405, 0.42850711941719055, -0.9905564188957214, -0.19489425420761108, 1.2011228799819946, -0.24385787546634674, -0.374474436044693, -0.08947915583848953, 0.1258394569158554, 0.31012213230133057, -0.2944582402706146, 0.304126501083374, 0.4831998646259308, -0.5149345397949219, -0.19780030846595764, -0.48192858695983887, 0.24502310156822205, 0.2280122935771942, -1.006964921951294, -0.22872985899448395, 0.605798065662384, 0.20007917284965515, -0.11098574846982956, 0.7466044425964355, -0.31318074464797974, 0.25077882409095764, -0.056357476860284805, 0.12782606482505798, 0.17870524525642395, -0.28643783926963806, -0.624635636806488, 0.4653591513633728, 0.06683550775051117, -0.07143045216798782 ]
http://arxiv.org/abs/2406.01096v1
http://arxiv.org/pdf/2406.01096v1
Synergizing Unsupervised and Supervised Learning: A Hybrid Approach for Accurate Natural Language Task Modeling
2024-06-03T08:31:35
2024-06-03T08:31:35
Wrick Talukdar, Anjanava Biswas
cs.CL
cs.CL, cs.LG
While supervised learning models have shown remarkable performance in various natural language processing (NLP) tasks, their success heavily relies on the availability of large-scale labeled datasets, which can be costly and time-consuming to obtain. Conversely, unsupervised learning techniques can leverage abundant unlabeled text data to learn rich representations, but they do not directly optimize for specific NLP tasks. This paper presents a novel hybrid approach that synergizes unsupervised and supervised learning to improve the accuracy of NLP task modeling. While supervised models excel at specific tasks, they rely on large labeled datasets. Unsupervised techniques can learn rich representations from abundant unlabeled text but don't directly optimize for tasks. Our methodology integrates an unsupervised module that learns representations from unlabeled corpora (e.g., language models, word embeddings) and a supervised module that leverages these representations to enhance task-specific models. We evaluate our approach on text classification and named entity recognition (NER), demonstrating consistent performance gains over supervised baselines. For text classification, contextual word embeddings from a language model pretrain a recurrent or transformer-based classifier. For NER, word embeddings initialize a BiLSTM sequence labeler. By synergizing techniques, our hybrid approach achieves SOTA results on benchmark datasets, paving the way for more data-efficient and robust NLP systems.
[ 0.055602848529815674, -0.7279033064842224, 0.2606242895126343, 0.03443809598684311, -0.23060578107833862, 0.4151375889778137, -0.6096804738044739, -0.3691273331642151, 0.18842713534832, 0.6057991981506348, -0.43010446429252625, -0.4776814579963684, -0.5418311953544617, 0.08332665264606476, -0.26981595158576965, 1.1234066486358643, -0.046669214963912964, 0.27171212434768677, -0.5855764150619507, -0.22182892262935638, -0.5869860649108887, -0.4897893965244293, -0.4329347014427185, -0.6754921674728394, 0.08629953861236572, 0.19995005428791046, 0.37491291761398315, 0.1925385594367981, 0.25827378034591675, 0.3262069523334503, 0.16801580786705017, 0.38293957710266113, -0.15432369709014893, 0.21781733632087708, -0.48143208026885986, -0.39443209767341614, -0.2168017476797104, -0.0803527981042862, 0.41913866996765137, 1.1206823587417603, -0.16069892048835754, 0.09203509241342545, 0.3207889795303345, 0.3962585926055908, -0.6287229657173157, 0.20609864592552185, -0.5887064337730408, -0.07615730911493301, -0.30689501762390137, -0.29148048162460327, -0.4068200886249542, 0.29127776622772217, 0.2319626808166504, -0.6897472143173218, 0.3012158274650574, 0.06032762676477432, 0.4309745132923126, 0.3312513828277588, -0.5132126808166504, -0.08691313117742538, -0.8270924091339111, 1.065982460975647, -0.5876526832580566, 0.5170716047286987, 0.17944996058940887, -0.024413425475358963, -0.2787340581417084, -0.6855859756469727, -0.5722814798355103, -0.07746372371912003, -0.23227941989898682, 0.29594886302948, -0.2692945897579193, 0.20566487312316895, 0.19341960549354553, 0.3559173047542572, -0.5277018547058105, 0.3639924228191376, -0.04717109724879265, -0.2284373790025711, 0.4770626723766327, 0.020995328202843666, 0.3773895800113678, -0.12439791858196259, -0.6661460399627686, -0.1554252803325653, -0.20483894646167755, 0.1849474459886551, 0.25174808502197266, 0.5547565221786499, 0.02814505808055401, 0.6724369525909424, -0.344855397939682, 0.8808717131614685, 0.04856633022427559, -0.1578376740217209, 0.2631226181983948, -0.3766618072986603, -0.29512226581573486, 0.020930102095007896, 0.8827752470970154, 0.1364196091890335, -0.03157535195350647, -0.6520399451255798, -0.40863776206970215, 0.4837057590484619, 0.34211960434913635, -0.3109016418457031, -0.2751277983188629, 0.14289098978042603, -0.26577261090278625, -0.07935750484466553, 0.20926645398139954, -0.7004963755607605, -0.21422839164733887, -0.5830199122428894, 0.5613934993743896, -0.2833350896835327, -0.17537467181682587, 0.2023160606622696, -0.047092512249946594, -0.35194188356399536, 0.011388794519007206, -0.8552252650260925, 0.6542069911956787, 0.6310933828353882, 0.5215103030204773, -0.45001542568206787, -0.1784750521183014, -0.6608797311782837, 0.26176854968070984, 0.04080840200185776, 0.6683733463287354, -0.5851507186889648, -0.04099405184388161, -0.06836719810962677, -0.09196195006370544, -0.3761632442474365, -0.6018738150596619, 0.4812663197517395, -0.5123211145401001, 0.33049240708351135, 0.18785184621810913, -0.764319658279419, -0.2652779519557953, 0.13233211636543274, -0.7725444436073303, 1.4473592042922974, 0.005660747643560171, -1.123267412185669, 0.32874736189842224, -0.7047948837280273, -0.6627159118652344, 0.15600942075252533, 0.004817459266632795, -0.3213615119457245, 0.1105632409453392, 0.29545068740844727, 0.7246236205101013, -0.22351418435573578, 0.7021844387054443, 0.07199224084615707, -0.1845080852508545, -0.056275028735399246, -0.0459749735891819, 0.626165509223938, -0.14646513760089874, -0.4048575460910797, 0.2789842188358307, -0.8340743780136108, -0.0746016874909401, 0.12277930974960327, -0.42357462644577026, -0.7298339009284973, -0.05364660918712616, 0.34916430711746216, 0.006512111984193325, 0.4484386742115021, -0.7807736992835999, 0.02171282283961773, -0.6107892990112305, 0.20034950971603394, 0.2510978877544403, -0.15269877016544342, 0.7431135773658752, -0.09056995064020157, 0.3461604714393616, -0.11560020595788956, -0.26573967933654785, -0.003017604583874345, -0.3788515627384186, -0.7818312048912048, -0.03968911990523338, 0.5139020681381226, 0.6736433506011963, -1.066794991493225, 0.8465909361839294, -0.17494481801986694, -0.44355353713035583, -0.4153389632701874, 0.24214181303977966, 0.4713951051235199, 0.4241975247859955, 0.6217621564865112, -0.372402161359787, -0.7711424231529236, -0.7473717927932739, -0.5378247499465942, 0.1879013329744339, -0.009842609986662865, -0.2799643576145172, 0.5309149622917175, -0.32537055015563965, 1.0184365510940552, -0.20367632806301117, -0.4716900587081909, -0.6707741022109985, 0.5374553799629211, 0.07924658060073853, 0.5346810817718506, -0.07751964032649994, -0.9816477298736572, -0.27653974294662476, -0.016724154353141785, -0.5411487817764282, -0.08410019427537918, -0.13740727305412292, 0.026727421209216118, 0.17056921124458313, 0.4082067608833313, -0.536784827709198, 0.23794716596603394, 0.6599476933479309, -0.11605139076709747, 0.43115946650505066, -0.3793710768222809, -0.25271475315093994, -1.2798104286193848, 0.15388205647468567, 0.28545114398002625, -0.31644415855407715, -0.8139867782592773, 0.03144499659538269, 0.08196532726287842, -0.05072649195790291, -0.13948188722133636, 0.41581180691719055, -0.6941947340965271, -0.041858527809381485, -0.40630292892456055, 0.005784479435533285, -0.05030432716012001, 0.5566114783287048, 0.3022398054599762, 0.4396808445453644, 0.6803550124168396, -0.4676167368888855, 0.5314908027648926, 0.13391649723052979, -0.2715238332748413, 0.33703210949897766, -0.45670342445373535, 0.014549147337675095, -0.05350238084793091, 0.37292367219924927, -0.5798691511154175, -0.14184412360191345, 0.07446527481079102, -0.087764210999012, 0.5571340322494507, 0.24798107147216797, -0.9558785557746887, -0.24602031707763672, 0.11379676312208176, 0.4054807424545288, 0.1920863389968872, -0.6355108618736267, 0.7905335426330566, 0.6561343669891357, 0.06851796805858612, -0.361483097076416, -0.60216224193573, 0.07562801241874695, 0.10471408814191818, -0.33541932702064514, 0.9687856435775757, 0.4031953811645508, 0.01998823881149292, 0.1354789435863495, -0.3446005880832672, 0.005123141221702099, -0.015050815418362617, 0.33430761098861694, 0.38749364018440247, 0.10029755532741547, 0.3288731873035431, 0.006827217526733875, -0.3532237410545349, -0.18161985278129578, -0.4900064468383789, 0.5678260922431946, 0.08596079051494598, -0.26074278354644775, -0.33980923891067505, 0.4130347967147827, 0.14430762827396393, -0.6090489029884338, 0.8200180530548096, 0.6452376842498779, -0.7363052368164062, -0.48191729187965393, -0.4803175628185272, -0.3707241714000702, -0.3901180922985077, 0.23992446064949036, -0.028876256197690964, -1.0425901412963867, 0.027198880910873413, -0.3070455491542816, 0.043074022978544235, 0.33149799704551697, 0.45022448897361755, -0.020574185997247696, 0.8732829689979553, 0.9573174715042114, -0.10002448409795761, 0.3514726161956787, -0.25614842772483826, 0.6004652380943298, -0.628662109375, -0.5047906041145325, -0.21305391192436218, -0.35658079385757446, -0.5106918215751648, -0.6553038358688354, 0.20141087472438812, 0.03792209178209305, 0.26077571511268616, 0.6784851551055908, -0.5060786604881287, 0.23750488460063934, 0.8237229585647583, 0.058682143688201904, 0.3906000256538391, -0.040798842906951904, -0.32038670778274536, 0.003691613208502531, -0.8457037806510925, -0.5105516314506531, 0.9538689851760864, 0.07460339367389679, 0.6114804148674011, -0.4067727327346802, 0.8291090130805969, 0.039490122348070145, -0.042777739465236664, -0.5395663976669312, 0.6507012844085693, -0.34882378578186035, -0.47622618079185486, -0.09364286065101624, -0.4611203670501709, -0.9714650511741638, 0.16565003991127014, -0.7303879857063293, -0.8988282084465027, -0.11532324552536011, 0.11435627937316895, -0.3248271644115448, 0.49313291907310486, -0.5688890814781189, 1.0677087306976318, -0.25940781831741333, -0.14216995239257812, -0.1849905401468277, -0.6581796407699585, 0.19059516489505768, -0.0911780446767807, 0.09850490093231201, 0.18266625702381134, -0.06896907836198807, 1.090349793434143, -0.21950148046016693, 0.9845556616783142, -0.007658874616026878, 0.1639205366373062, 0.09198377281427383, -0.09308149665594101, 0.617385745048523, -0.21006597578525543, 0.22801212966442108, 0.011137450113892555, -0.14902403950691223, -0.3745616674423218, -0.6482320427894592, 0.7322885990142822, -0.3287043869495392, -0.2768898010253906, -0.44310900568962097, -0.8226156234741211, -0.5145494341850281, 0.0577472560107708, 0.3904706537723541, 0.4908151626586914, -0.18574528396129608, -0.04890194535255432, 0.631169319152832, -0.1500071883201599, 0.36262282729148865, 0.326992928981781, 0.040033698081970215, -0.08879895508289337, 0.9727250933647156, -0.007170446682721376, 0.11696264892816544, 0.9238476157188416, -0.1523120403289795, -0.42267513275146484, -0.5485804677009583, -0.0762711614370346, 0.15460018813610077, -0.42490848898887634, -0.12936638295650482, -0.9663605093955994, -0.04070771858096123, -0.4282890558242798, 0.061543893069028854, -0.44684746861457825, -0.33100438117980957, -0.358818918466568, -0.08271519094705582, 0.2310427725315094, 0.5703213214874268, 0.17012712359428406, 0.2611345648765564, -0.6858547329902649, 0.41196581721305847, 0.1815415471792221, 0.16593220829963684, -0.1779351532459259, -0.171259805560112, -0.32030409574508667, -0.033874332904815674, -0.12922245264053345, -0.9848405718803406, 0.41725999116897583, 0.01270713284611702, 0.6549754738807678, 0.05831855535507202, 0.2678218185901642, 0.3691053092479706, -0.3376571238040924, 0.464529812335968, 0.39625436067581177, -0.908133327960968, 0.6362269520759583, -0.1956070065498352, 0.267042875289917, 0.5355435013771057, 0.31310564279556274, -0.3352409601211548, -0.43927279114723206, -0.7286252975463867, -0.907439649105072, 0.6820427179336548, 0.1352510154247284, -0.06347674131393433, 0.2182292342185974, -0.16481736302375793, 0.3041841685771942, 0.22899742424488068, -0.751151978969574, -0.236674964427948, 0.11824842542409897, -0.38405731320381165, -0.30329588055610657, 0.035731278359889984, 0.15292766690254211, -0.2178082913160324, 0.8315162062644958, -0.122267946600914, 0.043530043214559555, -0.06486988812685013, -0.33525368571281433, -0.0841800644993782, 0.39040708541870117, -0.08528627455234528, 0.32795020937919617, -0.02865944802761078, 0.27972137928009033, 0.17265841364860535, -0.16532401740550995, -0.03543046489357948, 0.5181344747543335, -0.11536914110183716, 0.2710516154766083, 0.3345804214477539, 0.7572935223579407, 0.6928548216819763, -0.8471022844314575, 0.5165877938270569, 0.20291879773139954, 0.1148129478096962, 0.06471405923366547, -0.06096741929650307, 0.2412959635257721, 0.31986698508262634, 0.3035278022289276, 0.32781779766082764, 0.22222694754600525, -0.4749641418457031, 0.2055080085992813, 0.4889577329158783, -0.29107189178466797, -0.34475943446159363, 0.67191481590271, 0.23106566071510315, -0.1968938410282135, 0.3139267861843109, -0.26941031217575073, -0.699576735496521, 0.264840304851532, 0.7287883758544922, 0.5997914671897888, -0.02398846298456192, 0.4502538740634918, 0.27130234241485596, 0.1264977604150772, -0.39392247796058655, 0.04920080304145813, -0.30302807688713074, -0.7802302241325378, -0.686069905757904, -0.7710096836090088, -0.3364057242870331, 0.14174799621105194, -0.8261491656303406, -0.0015026830369606614, -0.239283949136734, -0.1829429268836975, 0.22529201209545135, 0.10071874409914017, -0.6676412224769592, 0.39239901304244995, 0.12160003185272217, 0.7475804686546326, -1.0595823526382446, 0.848868191242218, 1.1820992231369019, -0.1265936642885208, -0.685188353061676, -0.003501220140606165, -0.13458795845508575, -0.402321457862854, 0.6390928626060486, 0.39506176114082336, 0.16036169230937958, 0.1331542581319809, -0.08391036838293076, -0.6574726104736328, 0.8809587359428406, 0.2981998920440674, -0.6448585987091064, -0.0935441181063652, 0.13062423467636108, 0.6405978202819824, -0.20248298346996307, -0.14841081202030182, 0.4923580288887024, 0.15521962940692902, -0.24368076026439667, -0.9518270492553711, 0.08053320646286011, -0.31476372480392456, 0.08403043448925018, 0.550499677658081, -0.06689510494470596, 0.40052464604377747, -0.12403113394975662, -0.48270878195762634, -0.06466010212898254, 0.8322787880897522, 0.20168441534042358, 0.4298464059829712, 0.6603726744651794, 0.9914443492889404, 0.685175895690918, -0.18990153074264526, 0.9171141386032104, -0.016158215701580048, 0.2626604735851288, 1.0793085098266602, -0.31772562861442566, 0.8920195698738098, 0.6576404571533203, -0.13685260713100433, 0.49471768736839294, 0.419749915599823, -0.031311266124248505, 0.6133062243461609, -0.07958980649709702, -0.41276460886001587, -0.4598110020160675, -0.42031770944595337, 0.07355895638465881, 0.5079023241996765, 0.09003488719463348, -0.21423093974590302, -0.45783811807632446, 0.44690921902656555, -0.22450707852840424, 0.547058641910553, -0.14016348123550415, 0.6500643491744995, 0.05489635840058327, -0.7939581871032715, 0.05976676940917969, 0.31943678855895996, 0.9830920100212097, -0.3844050467014313, 0.017121605575084686, 0.3098198473453522, 0.2131866216659546, -0.2265840619802475, -0.5141505002975464, 0.1962577849626541, 0.08636026829481125, -0.2016574889421463, -0.5421265363693237, 0.9772840738296509, -0.7551735639572144, -0.5427210927009583, 0.5785754919052124, 0.4998382329940796, -0.1774737685918808, -0.13823410868644714, -0.6829316020011902, -0.3471742272377014, -0.13053180277347565, -0.06152821332216263, 0.4721828103065491, 0.1362655758857727, -0.019157225266098976, 0.44011130928993225, 0.8238537907600403, 0.1114613264799118, 0.0026462103705853224, 0.11139204353094101, 0.8054335117340088, -0.48488762974739075, -0.5586514472961426, -0.6217860579490662, 0.5892906785011292, -0.1027769148349762, -0.15117666125297546, 0.746993899345398, 0.6117637753486633, 1.1368467807769775, -0.024903496727347374, 0.6964728236198425, 0.008394439704716206, 0.7311685085296631, -0.6423357129096985, 0.22314175963401794, -0.5490584969520569, 0.10345728695392609, -0.18653321266174316, -1.0442101955413818, -0.37589243054389954, 0.4113779366016388, -0.43905210494995117, -0.03492728993296623, 0.6440291404724121, 0.6692687273025513, -0.17423605918884277, 0.3247184753417969, 0.16149210929870605, -0.137885183095932, -0.2031632661819458, 0.5480825304985046, 0.6217178702354431, -0.2933726906776428, 0.20122843980789185, -0.7101063132286072, -0.2573382258415222, -0.03765098750591278, -0.7545538544654846, -1.0832077264785767, -0.712302029132843, -0.5394004583358765, -0.019114334136247635, 0.1298624724149704, 0.9074137806892395, 0.6492672562599182, -0.8855292201042175, -0.09727021306753159, -0.30668914318084717, -0.19231455028057098, -0.4595903754234314, -0.25573989748954773, 0.35535895824432373, -0.34765690565109253, -0.7545092701911926, 0.6133168935775757, 0.4025517404079437, -0.08327490836381912, -0.09317333251237869, 0.17469309270381927, -0.3874276280403137, -0.37402090430259705, 0.3249968886375427, 0.2342313677072525, -0.717361330986023, 0.30733615159988403, -0.088164322078228, -0.08877257257699966, -0.32809391617774963, 0.7916388511657715, -0.9880799651145935, 0.5409660935401917, 0.4512404203414917, 0.948716402053833, 0.39688780903816223, -0.07009711116552353, 0.6209681034088135, -0.9568581581115723, 0.09065018594264984, 0.41296279430389404, 0.47849905490875244, 0.5609626770019531, -0.27574652433395386, 0.3302416205406189, 0.36834731698036194, -0.31469789147377014, -0.8284296989440918, 0.0509861595928669, -1.1656458377838135, -0.29710012674331665, 0.9037507176399231, -0.01932743564248085, -0.053632702678442, -0.17646020650863647, -0.01903456449508667, 0.6536572575569153, -0.2032688558101654, 0.41460537910461426, 0.2913041114807129, -0.043636489659547806, 0.05391055345535278, -0.5038849115371704, 0.24185927212238312, 0.685834527015686, -0.8122463822364807, -0.07013079524040222, 0.15575870871543884, 0.04420991241931915, 0.36875119805336, 0.16887842118740082, 0.2411230057477951, 0.0034744313452392817, -0.20553696155548096, 0.21028198301792145, -0.07681967318058014, -0.30262792110443115, -0.11131632328033447, 0.08606275916099548, -0.5576883554458618, -0.31062671542167664 ]
http://arxiv.org/abs/2406.06566v1
http://arxiv.org/pdf/2406.06566v1
RAG Enabled Conversations about Household Electricity Monitoring
2024-06-03T07:44:32
2024-06-03T07:44:32
Carolina Fortuna, Vid Hanžel, Blaž Bertalanič
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we investigate the integration of Retrieval Augmented Generation (RAG) with large language models (LLMs) such as ChatGPT, Gemini, and Llama to enhance the accuracy and specificity of responses to complex questions about electricity datasets. Recognizing the limitations of LLMs in generating precise and contextually relevant answers due to their dependency on the patterns in training data rather than factual understanding, we propose a solution that leverages a specialized electricity knowledge graph. This approach facilitates the retrieval of accurate, real-time data which is then synthesized with the generative capabilities of LLMs. Our findings illustrate that the RAG approach not only reduces the incidence of incorrect information typically generated by LLMs but also significantly improves the quality of the output by grounding responses in verifiable data. This paper details our methodology, presents a comparative analysis of responses with and without RAG, and discusses the implications of our findings for future applications of AI in specialized sectors like energy data analysis.
[ -0.3679834306240082, -0.787397563457489, 0.4757232964038849, -0.07845770567655563, 0.06800469011068344, 0.5105754733085632, -0.09325893968343735, -0.511623740196228, 0.37003040313720703, 0.7467608451843262, 0.0006295570055954158, -0.2732904255390167, -0.3792225122451782, 0.032881319522857666, -0.4997618496417999, 0.8100183010101318, -0.03087615594267845, -0.25771185755729675, -0.19016408920288086, -0.02598470449447632, -0.2746310234069824, -0.4107787609100342, -0.5317969918251038, -0.8626387715339661, 0.5127690434455872, 0.46133485436439514, 0.4696401059627533, 0.13943864405155182, 0.5260545015335083, 0.3341537117958069, 0.09640301018953323, 0.7812439203262329, -0.5317809581756592, 0.27967923879623413, -0.10069027543067932, -0.577664315700531, -0.6521360278129578, 0.11295223981142044, 0.35005825757980347, 0.5731936097145081, -0.13228994607925415, 0.5526759624481201, 0.23350723087787628, 0.8099745512008667, -0.6730793118476868, 0.3817736506462097, -0.8985315561294556, -0.07321474701166153, 0.024962875992059708, -0.6382480263710022, -0.548728346824646, 0.08075787127017975, -0.1691282093524933, -0.34655866026878357, 0.38738295435905457, 0.382565438747406, 1.1715452671051025, 0.47625333070755005, -0.623012900352478, -0.3739035129547119, -1.1078712940216064, 0.7257816195487976, -0.4557263255119324, 0.2641153931617737, 0.5710187554359436, 0.44750791788101196, -0.0777047798037529, -0.9858115315437317, -0.47232264280319214, -0.38329488039016724, -0.5600353479385376, 0.3919498026371002, 0.03150850534439087, -0.04182242974638939, 0.36700063943862915, 0.2755323052406311, -0.08276718854904175, -0.12338051199913025, 0.002124297898262739, 0.04848705977201462, 0.9178320169448853, 0.5959619879722595, -0.1441735327243805, -0.5773874521255493, -0.10123787820339203, 0.24417050182819366, -0.66486656665802, -0.0667264312505722, 0.6527750492095947, 0.22619469463825226, -0.1788196712732315, 0.7044358253479004, 0.14902479946613312, 0.776011049747467, 0.13414648175239563, -0.09731592983007431, 0.11655093729496002, -0.08610191941261292, 0.021145325154066086, 0.025041991844773293, 0.530402421951294, 0.2631532847881317, 0.24314981698989868, -0.16390928626060486, -0.1770780235528946, -0.21778923273086548, 0.453657865524292, -0.575258731842041, -0.34019824862480164, 0.14487983286380768, -0.345068097114563, -0.39780393242836, -0.03147241845726967, -0.7699646353721619, -0.7460101842880249, -0.4911850094795227, 0.11212701350450516, 0.14812494814395905, -0.42898961901664734, -0.20583315193653107, -0.14052210748195648, 0.22173967957496643, 0.04011506587266922, -0.9378757476806641, 0.3680216372013092, 0.7852871417999268, 0.44240373373031616, 0.20287229120731354, 0.3594052195549011, -0.48097726702690125, 0.2440037727355957, -0.31700170040130615, 0.8538101315498352, -0.4389519691467285, -0.48802128434181213, -0.16454842686653137, -0.18545188009738922, -0.022936727851629257, -0.6281716227531433, 0.18566389381885529, -0.8477242588996887, -0.07201450318098068, 0.0270353052765131, -0.48992258310317993, 0.03589773550629616, 0.4581419825553894, -0.5000720024108887, 0.9355921149253845, 0.19243992865085602, -1.3218430280685425, 0.15984651446342468, -0.5264231562614441, -0.23061154782772064, -0.023265937343239784, -0.09070342034101486, -0.5710228681564331, -0.2293231338262558, 0.10309918969869614, 0.5515144467353821, -0.40686726570129395, 0.31801971793174744, -0.0007480406202375889, 0.06518591940402985, 0.3488309681415558, -0.5716000199317932, 0.38309091329574585, 0.46431970596313477, -0.041448064148426056, 0.074339859187603, -1.1746457815170288, -0.23194345831871033, 0.18622536957263947, -0.29523447155952454, -0.5555983781814575, 0.3293432593345642, -0.03918440267443657, -0.3360286355018616, 0.5013636946678162, -0.6626381874084473, -0.09826384484767914, -0.37813690304756165, 0.05616553872823715, 0.6357026100158691, 0.170603945851326, 0.210196852684021, -0.5204663276672363, 0.5955896377563477, -0.3633567988872528, -0.17254647612571716, -0.19530683755874634, -0.45121127367019653, -0.8817765116691589, -0.05911113694310188, 0.3181750774383545, 0.804662823677063, -0.8301995992660522, 0.417659729719162, -0.3526972830295563, -0.6392084360122681, -0.3549095094203949, 0.12355770915746689, 0.2044547200202942, 0.9932610392570496, 0.26788175106048584, 0.2714637517929077, -0.7694286108016968, -0.5546441078186035, -0.5598968267440796, 0.007963763549923897, -0.4120440185070038, 0.8646275997161865, 0.0695003941655159, -0.12074679136276245, 1.1667230129241943, -0.8158560395240784, 0.08319050073623657, -0.5215109586715698, 0.31502610445022583, 0.4353988766670227, 0.0851885974407196, 0.43476778268814087, -1.0334773063659668, -0.8839592933654785, 0.4634203016757965, -0.8349397778511047, -0.2496841996908188, -0.15053081512451172, 0.18270789086818695, -0.17818181216716766, 0.3777480721473694, -0.2975212633609772, 0.3117319941520691, 0.5714699625968933, -0.3051876723766327, 0.6763836145401001, -0.06143506243824959, 0.25001662969589233, -1.463127613067627, 0.2621394097805023, -0.02415148913860321, -0.5704503655433655, -0.766774594783783, -0.15814951062202454, -0.07248172163963318, -0.13373620808124542, -0.26539677381515503, 0.6571530699729919, -0.31895121932029724, -0.1451086401939392, -0.18492171168327332, -0.11544812470674515, 0.1096079871058464, 0.3091508746147156, -0.46892842650413513, 1.1829906702041626, 0.355422705411911, -0.6781488656997681, 0.5773302316665649, 0.3899998366832733, -0.23097729682922363, 0.37974873185157776, -0.5067182183265686, 0.3676591217517853, -0.21628332138061523, 0.016363579779863358, -0.9741576910018921, -0.5754432082176208, 0.027330195531249046, -0.5128778219223022, 0.7321977615356445, 0.03238137066364288, -0.4320700466632843, -0.2689917981624603, 0.051943130791187286, 0.03434158116579056, 0.7531636953353882, -0.7175616025924683, 1.0399037599563599, 0.7308796048164368, -0.13030581176280975, -0.5535427331924438, -0.27601608633995056, 0.28865933418273926, -0.3689419627189636, -0.45737960934638977, 0.11357925087213516, 0.3299362063407898, -0.7410987019538879, -0.10637414455413818, -0.07052657008171082, 0.05832786485552788, 0.14502128958702087, 0.1380382776260376, 0.17559847235679626, 0.13635164499282837, 0.270351380109787, -0.30827030539512634, -0.15771372616291046, 0.27946826815605164, 0.1920749545097351, 0.7082987427711487, 0.1656428426504135, -0.3728872239589691, -0.17337669432163239, 0.16998063027858734, 0.3338586390018463, -0.1873016357421875, 0.5255390405654907, 0.3287786543369293, -0.019838854670524597, -0.2797155976295471, -0.5410443544387817, 0.06979144364595413, -0.5920316576957703, -0.18082307279109955, -0.2712254226207733, -0.9528208374977112, 0.635727047920227, -0.5050014853477478, 0.40144267678260803, 0.28608760237693787, 0.34861937165260315, -0.4588487446308136, 1.1318607330322266, 0.4833794832229614, 0.0003565098450053483, 0.6281360983848572, -0.4288751482963562, 0.5077045559883118, -1.191793441772461, -0.3564622402191162, -0.7768729329109192, -0.2358229160308838, -0.7072705626487732, -0.2751181423664093, 0.7318233847618103, -0.2250799536705017, -0.21247772872447968, 0.11391080170869827, -0.4352068603038788, 0.017919989302754402, 0.017674950882792473, 0.31155651807785034, 0.27342531085014343, 0.04172283411026001, 0.43947920203208923, 0.009281935170292854, -0.6323036551475525, -0.5279621481895447, 1.1426819562911987, 0.19198209047317505, 1.043243408203125, -0.1485707014799118, 0.5760051608085632, 0.46851855516433716, 0.8633040189743042, -0.9109997153282166, 0.42762094736099243, -0.3021545708179474, -0.20663507282733917, -0.25402480363845825, -0.6565600037574768, -1.547546625137329, 0.19274644553661346, -0.07993301004171371, -0.41397106647491455, 0.03960870951414108, 0.28471606969833374, -0.05299863964319229, 0.46226900815963745, -0.5646125674247742, 0.18647736310958862, -0.13823935389518738, -0.11390259116888046, -0.3529897928237915, -0.17199599742889404, 0.47939249873161316, -0.09066290408372879, 0.46934422850608826, -0.19611704349517822, 0.15117120742797852, 0.5472990870475769, -0.6649942994117737, 0.7779970765113831, -0.0879015102982521, -0.24997244775295258, 0.8365749716758728, -0.28810420632362366, 0.6304873824119568, -0.05373406782746315, -0.2674174904823303, -0.017565937712788582, -0.4677152931690216, -0.379325270652771, -0.4805963635444641, 0.5923894643783569, -0.5596917867660522, -0.9363460540771484, -0.1934431940317154, -0.6205706000328064, -0.5993058681488037, -0.0657583624124527, 0.05772174149751663, 0.5037912726402283, 0.08584292232990265, 0.21709871292114258, 0.7547352910041809, -0.15688493847846985, 0.1789252609014511, 0.3249673545360565, -0.19997596740722656, -0.24628722667694092, 0.7808305025100708, 0.07553689181804657, 0.14744868874549866, 0.5247694849967957, 0.3288724720478058, -0.184335395693779, -0.12545236945152283, -0.222465381026268, 0.09361045807600021, -0.6602092385292053, -0.5370601415634155, -0.9781691431999207, -0.17610178887844086, -0.4954339861869812, -0.07127032428979874, -0.05804736912250519, -0.28153568506240845, -0.33949315547943115, -0.4125167727470398, 0.7837445139884949, 0.741644561290741, 0.06649542599916458, 0.20846696197986603, -1.1396970748901367, 0.9447156190872192, 0.7241201996803284, 0.2647012174129486, -0.008946343325078487, -0.2869884967803955, -0.2885911464691162, -0.0018207269022241235, -0.2331872582435608, -0.8564023971557617, 0.6029503345489502, 0.15004102885723114, 0.5101728439331055, 0.028326408937573433, 0.14856211841106415, 0.5734128355979919, -0.5409191846847534, 0.920172393321991, 0.23731720447540283, -0.679286003112793, 0.4287577271461487, -0.4575991630554199, 0.0664554163813591, 0.12290824949741364, 0.06757508218288422, -0.29910919070243835, -0.4632839560508728, -0.6411387324333191, -1.074217438697815, 0.23020300269126892, -0.09837830811738968, 0.46753737330436707, -0.09509243816137314, 0.2827480733394623, -0.18645086884498596, 0.24826347827911377, 0.09592270106077194, -0.37812528014183044, -0.12391028553247452, 0.04498288780450821, 0.18044079840183258, -0.29550525546073914, -0.31180253624916077, -0.20505066215991974, 0.5833430886268616, -0.10853999853134155, -0.01946018822491169, 0.0701015368103981, 0.22482727468013763, -0.29213565587997437, 0.29611262679100037, -0.12624113261699677, 0.7495763897895813, -0.023139169439673424, 0.07032939046621323, 0.4478299915790558, -0.5865069031715393, 0.1106032282114029, -0.20897209644317627, -0.18191435933113098, 0.37052854895591736, 0.24429188668727875, 0.5287001729011536, 0.15135203301906586, -0.5463156700134277, 0.05595359951257706, -0.07669932395219803, 0.051368795335292816, -0.5837547779083252, 0.2406449168920517, 0.08574826270341873, 0.02394276298582554, 0.44962278008461, 0.08680477738380432, 0.2241639792919159, -0.43484175205230713, 0.27502864599227905, 0.4127369225025177, -0.00883440487086773, -0.1186043918132782, 0.8976830840110779, 0.31569796800613403, -0.49776357412338257, 0.4448176920413971, 0.1811891347169876, -0.3318929672241211, 1.0128726959228516, 0.30800220370292664, 0.8651186227798462, -0.2523127496242523, 0.05898638442158699, 0.4403688609600067, -0.08676493167877197, 0.40051397681236267, 0.5027427077293396, -0.13708224892616272, -0.7538902759552002, -0.6520053148269653, -0.8043032884597778, -0.662557065486908, 0.00857495702803135, -0.8491178154945374, 0.13393732905387878, -0.4413488507270813, -0.18807217478752136, -0.03272358700633049, -0.017769837751984596, -0.9295441508293152, 0.15404190123081207, -0.09984187036752701, 0.9104763269424438, -0.7387123703956604, 0.6492016911506653, 0.7205443978309631, 0.028730077669024467, -1.2391705513000488, -0.05127100273966789, -0.6466314792633057, -0.767810583114624, 0.663379430770874, -0.16635575890541077, -0.34362268447875977, 0.27374276518821716, -0.7919438481330872, -0.9242749810218811, 1.1656516790390015, 0.07402689754962921, -0.5959962606430054, 0.6032456755638123, 0.07282204926013947, 0.7378031015396118, -0.04853126406669617, 0.07284973561763763, 0.7092876434326172, 0.7220503687858582, -0.0019196168286725879, -1.0293548107147217, -0.3526712954044342, -0.1957801729440689, -0.062179237604141235, 0.5416826605796814, -0.7844024896621704, 0.6287689208984375, 0.02398575469851494, -0.22336198389530182, -0.14597170054912567, 0.859173059463501, 0.18454863131046295, 0.7138015627861023, 0.51347416639328, 0.4497824013233185, 0.7937880754470825, 0.049452684819698334, 1.2423769235610962, -0.5868315696716309, 0.4929332137107849, 1.0051853656768799, -0.5260631442070007, 0.5818127393722534, 0.36596986651420593, -0.4587520360946655, 0.5431165099143982, 0.2672744691371918, 0.1548818051815033, 0.4033397436141968, 0.12526990473270416, -0.5723055005073547, -0.24160254001617432, -0.49440211057662964, -0.169502392411232, 0.40587037801742554, 0.8977988362312317, -0.02880934067070484, -0.3312881588935852, 0.08701904118061066, 0.02457856759428978, 0.5057796835899353, -0.4153847098350525, 1.010131597518921, 0.37544018030166626, -0.5553920269012451, 0.5654287338256836, -0.20051340758800507, 0.5809358358383179, -0.5999274253845215, -0.432670533657074, -0.1970950812101364, -0.10405655950307846, -0.5301061272621155, -0.7158554196357727, 0.6553570032119751, 0.4601192772388458, -0.057656481862068176, -0.48632559180259705, 0.9985941052436829, -0.10859349370002747, -0.3956746459007263, -0.05869036912918091, 0.33295804262161255, 0.1826281100511551, 0.2630974352359772, -0.32471829652786255, -0.336906373500824, -0.1353161484003067, -0.43011152744293213, 0.3074718117713928, 0.35700032114982605, -0.013950863853096962, 0.6675460934638977, 0.6787236332893372, 0.22536423802375793, 0.028894148766994476, 0.20776252448558807, 0.9790456295013428, -0.21084702014923096, -0.4121110737323761, -0.33919259905815125, 0.4876825213432312, -0.324351042509079, 0.028769895434379578, 0.8987914323806763, 0.31271880865097046, 0.5963565707206726, 0.05832989141345024, 1.1203871965408325, -0.1751335710287094, 0.9575034379959106, -0.38712844252586365, 0.5910437703132629, -0.3697530925273895, 0.4699110686779022, 0.22312228381633759, -0.760772705078125, -0.010889449156820774, 0.23587103188037872, -0.43431001901626587, -0.3440510332584381, 0.25153055787086487, 0.6207070350646973, -0.025201061740517616, -0.3267878293991089, 0.47296783328056335, 0.31124866008758545, 0.6629696488380432, -0.17746497690677643, 0.786863386631012, -0.15427042543888092, 0.3892797529697418, -0.26564282178878784, -0.10298021882772446, -0.21178008615970612, -0.6904709935188293, -0.7385576963424683, -0.16138021647930145, -0.12122427672147751, -0.3457045257091522, -0.17180047929286957, 0.8071799874305725, 0.27258461713790894, -1.054206132888794, -0.19073686003684998, -0.08277137577533722, 0.18583711981773376, -0.1492595225572586, -0.2980632483959198, 0.4613609313964844, -0.6582330465316772, -0.7094618678092957, 0.4235805869102478, 0.1271347999572754, -0.46068888902664185, -0.37372151017189026, 0.1027291938662529, 0.09824167937040329, 0.2469049096107483, 0.6137099862098694, 0.12870316207408905, -0.27447694540023804, -0.4892476201057434, -0.07707247138023376, -0.04834321513772011, 0.06749800592660904, 0.8877695798873901, -0.9157063961029053, 0.5184441804885864, 0.9356409311294556, 0.7196152210235596, 0.49461010098457336, 0.414119154214859, 0.3093004822731018, -0.9825131893157959, 0.22047540545463562, 0.49458053708076477, 0.5393741130828857, 0.5740101933479309, -0.9474548697471619, 0.4066764712333679, 0.02057698555290699, -0.8421554565429688, -0.5698148608207703, 0.49596482515335083, -0.5850972533226013, -0.12581034004688263, 1.1097722053527832, -0.3443128764629364, -0.16484124958515167, -0.5278200507164001, -0.3178599774837494, 0.3755493462085724, -0.13565213978290558, 1.1115455627441406, 0.45661821961402893, -0.44099923968315125, -0.11959607154130936, -0.7438387870788574, 0.21298350393772125, 0.1987442821264267, -0.9067721962928772, 0.1887449026107788, 0.43938425183296204, 0.12135795503854752, 0.3009064793586731, 0.557196319103241, 0.25723475217819214, -0.10040871798992157, 0.08177796006202698, -0.18636606633663177, -0.1597241908311844, -0.29305556416511536, 0.07198361307382584, 0.18251831829547882, 0.0587739497423172, -0.20109637081623077 ]
http://arxiv.org/abs/2406.01070v1
http://arxiv.org/pdf/2406.01070v1
Guiding ChatGPT to Generate Salient Domain Summaries
2024-06-03T07:42:45
2024-06-03T07:42:45
Jun Gao, Ziqiang Cao, Shaoyao Huang, Luozheng Qin, Chunhui Ai
cs.CL
cs.CL
ChatGPT is instruct-tuned to generate general and human-expected content to align with human preference through Reinforcement Learning from Human Feedback (RLHF), meanwhile resulting in generated responses not salient enough. Therefore, in this case, ChatGPT may fail to satisfy domain requirements in zero-shot settings, leading to poor ROUGE scores. Inspired by the In-Context Learning (ICL) and retelling ability of ChatGPT, this paper proposes PADS, a \textbf{P}ipeline for \textbf{A}ssisting ChatGPT in \textbf{D}omain \textbf{S}ummarization. PADS consists of a retriever to retrieve similar examples from corpora and a rank model to rerank the multiple candidate summaries generated by ChatGPT. Specifically, given an inference document, we first retrieve an in-context demonstration via the retriever. Then, we require ChatGPT to generate $k$ candidate summaries for the inference document at a time under the guidance of the retrieved demonstration. Finally, the rank model independently scores the $k$ candidate summaries according to their quality and selects the optimal one. We extensively explore dense and sparse retrieval methods to select effective demonstrations for reference and efficiently train the rank model to reflect the quality of candidate summaries for each given summarized document. Additionally, PADS contains merely 400M trainable parameters originating from the rank model and we merely collect 2.5k data to train it. We evaluate PADS on five datasets from different domains, and the result indicates that each module in PADS is committed to effectively guiding ChatGPT to generate salient summaries fitting different domain requirements. Specifically, in the popular summarization dataset Gigaword, PADS achieves over +8 gain on ROUGE-L, compared with the naive ChatGPT in the zero-shot setting. \footnote{Our code are available at \url{https://github.com/jungao1106/PADS}}
[ -0.35227859020233154, -0.631894052028656, 0.3582698404788971, 0.4106105864048004, -0.6140583753585815, 0.06189892441034317, -0.10023380070924759, -0.007379495073109865, 0.596493124961853, 0.46301504969596863, -0.33229392766952515, -0.5517029762268066, -0.686625599861145, -0.1322346031665802, -0.42281052470207214, 1.6604318618774414, 0.13480795919895172, -0.34955719113349915, -0.0313546396791935, -0.11773358285427094, -0.4640372693538666, -0.5838847160339355, -0.5366570353507996, -0.13891878724098206, 0.5028165578842163, 0.7850103378295898, 0.41277870535850525, 0.23503869771957397, 0.3919479250907898, 0.15178203582763672, 0.022585429251194, 0.3855285048484802, -0.860252857208252, 0.3890341818332672, 0.19176949560642242, -0.2011462301015854, -0.7268767952919006, 0.05318767949938774, 0.5546122789382935, 0.6254541277885437, 0.03285497799515724, -0.02629433013498783, 0.3099614381790161, 0.5171312093734741, -0.6594762206077576, 0.2806057929992676, -0.4667164385318756, 0.03752792626619339, -0.08084241300821304, -0.7066207528114319, -0.6955313086509705, -0.2922913730144501, 0.23546411097049713, -0.552640438079834, 0.5780059099197388, 0.09911923110485077, 1.006309151649475, 0.027950569987297058, -0.5059707164764404, -0.11789476871490479, -0.3585033416748047, 0.7158293724060059, -0.39776408672332764, 0.011886396445333958, 0.49229171872138977, 0.3072163462638855, -0.10086093842983246, -0.7714715600013733, -0.2780240476131439, -0.20928993821144104, -0.38190025091171265, 0.5810441970825195, 0.1456224024295807, 0.020931143313646317, 0.12474707514047623, 0.3622361421585083, -0.6597608923912048, -0.27176427841186523, -0.38175177574157715, -0.006666611880064011, 0.7451901435852051, 0.03476318344473839, 0.09502534568309784, -0.2780333161354065, -0.5617164373397827, -0.24762430787086487, -0.914406418800354, -0.07110217958688736, 0.1743023842573166, 0.3860010504722595, -0.2241629660129547, 0.41375091671943665, -0.3310306966304779, 0.4948672652244568, 0.38389822840690613, -0.24926923215389252, 0.10734030604362488, -0.0388176292181015, -0.1924285590648651, 0.05501771345734596, 0.502911388874054, 0.5659127235412598, 0.17969892919063568, -0.2086106687784195, -0.2364462912082672, -0.39954978227615356, 0.3615705370903015, -1.0713666677474976, -0.442341148853302, 0.2110031694173813, -0.38241785764694214, -0.24540770053863525, 0.10404353588819504, -1.0085207223892212, -0.23083966970443726, -0.4492930471897125, 0.44523581862449646, -0.5652506351470947, -0.17993776500225067, -0.011257169768214226, -0.342794269323349, 0.278307169675827, 0.5893844366073608, -1.0800507068634033, 0.22777898609638214, 0.5585750937461853, 0.9471895694732666, -0.30069205164909363, -0.3284047842025757, -0.6976785063743591, 0.11155156046152115, -0.2531213164329529, 1.1583588123321533, -0.4784751534461975, -0.7891466617584229, -0.00625720527023077, -0.1010199785232544, -0.3636924922466278, -0.24389676749706268, 0.465168297290802, -0.424419105052948, 0.36822497844696045, -0.36710840463638306, -0.6193479299545288, 0.02098129503428936, 0.03912048414349556, -0.3005881905555725, 0.8342042565345764, 0.18323498964309692, -0.6494047045707703, 0.6588512659072876, -0.71904057264328, -0.5278018712997437, -0.02257228083908558, -0.12885735929012299, -0.7175688147544861, -0.036499831825494766, 0.3385082185268402, 0.6407362222671509, 0.2652629315853119, 0.1440584659576416, -0.052784428000450134, -0.6318495273590088, 0.12096857279539108, -0.42865896224975586, 0.5466967821121216, -0.008196864277124405, -0.4341852068901062, 0.1561223268508911, -0.49141237139701843, -0.04535146802663803, -0.04758895933628082, -0.17505447566509247, -0.07862230390310287, -0.2163248211145401, 0.05660358443856239, -0.10557443648576736, -0.23672786355018616, -0.15172730386257172, 0.1622554510831833, 0.0426025390625, 0.12864746153354645, 0.6641446352005005, 0.54880291223526, 0.4714517593383789, -0.3627338707447052, 0.6169482469558716, -0.24281956255435944, 0.0720687285065651, -0.5794756412506104, -0.5930043458938599, -0.6586435437202454, -0.596622884273529, 0.4558897018432617, 0.29730188846588135, -0.4968886077404022, 0.2590196132659912, -0.43469181656837463, -0.350673645734787, -0.2717866897583008, -0.23805789649486542, 0.631933331489563, 0.5883796215057373, 0.43270671367645264, -0.4055490493774414, -0.12338203936815262, -0.8417578339576721, 0.0908404216170311, -0.07209554314613342, -0.1956593096256256, 0.46754834055900574, 0.4656849205493927, 0.2647881805896759, 0.9832582473754883, -0.700276792049408, -0.25444626808166504, -0.44352245330810547, 0.32105398178100586, -0.0840371698141098, 0.23845268785953522, 0.7180722951889038, -1.025952935218811, -0.7238731980323792, -0.21092979609966278, -0.5794669389724731, -0.20584119856357574, -0.10735675692558289, -0.37722858786582947, -0.051375869661569595, 0.43717676401138306, -0.7008183598518372, 0.42308494448661804, 0.11937160044908524, -0.3449523150920868, 0.6551984548568726, -0.1631775200366974, 0.39831072092056274, -1.1122195720672607, 0.2101932317018509, 0.009012127295136452, -0.306388258934021, -0.5689178109169006, -0.005863875616341829, 0.0709308385848999, -0.37317410111427307, -0.1427774280309677, 0.7718658447265625, -0.4533662796020508, -0.14786745607852936, -0.324001282453537, 0.6932991743087769, 0.2635139524936676, 0.9066042304039001, 0.1879906803369522, 0.8968558311462402, 0.22972258925437927, -0.6456602811813354, -0.11802958697080612, 0.45909640192985535, 0.11891468614339828, 0.7050536870956421, -0.6640719175338745, -0.1494280844926834, -0.1972464621067047, 0.5611173510551453, -1.0343375205993652, -0.4138534963130951, 0.22100427746772766, -0.6171503067016602, 0.6488974690437317, -0.4575609862804413, -0.0737539678812027, 0.13371221721172333, -0.6009036302566528, 0.08936045318841934, 0.6252809166908264, -0.5766528844833374, 0.22176037728786469, 0.5204331874847412, -0.5266773104667664, -0.8194778561592102, -0.3380240499973297, 0.039841216057538986, -0.38600975275039673, -0.2613113224506378, 0.5540795922279358, -0.005244932137429714, -0.02528197132050991, -0.165486142039299, -0.029347669333219528, 0.0643327459692955, -0.28915175795555115, 0.31354403495788574, 0.2567911744117737, -0.1954008787870407, 0.23243239521980286, 0.06727747619152069, -0.4171476364135742, -0.3519565761089325, -0.08570805937051773, 0.2823779582977295, -0.09935256838798523, -0.5300376415252686, 0.02137458324432373, 0.42359742522239685, 0.44488686323165894, -0.2612948417663574, 0.3521527945995331, 0.631011962890625, 0.14088860154151917, -0.48605674505233765, -0.3014916181564331, -0.420987069606781, -0.36604198813438416, 0.3188028633594513, -0.31028664112091064, -0.7434151768684387, 0.5148207545280457, -0.041086893528699875, 0.2497727870941162, 0.2947206497192383, 0.45985734462738037, -0.037312060594558716, 0.5771816968917847, 0.6856156587600708, -0.07527830451726913, 0.5804218649864197, -0.44469699263572693, 0.4082928001880646, -0.8271017670631409, -0.07631228119134903, -0.2780665159225464, -0.29326510429382324, -0.5109739303588867, -0.3634386360645294, 0.6524324417114258, 0.17216147482395172, -0.020927999168634415, 0.2352571189403534, -0.51118403673172, 0.6799132227897644, 0.6884827017784119, 0.2299368530511856, 0.12870948016643524, 0.19552262127399445, -0.028026659041643143, -0.008318045176565647, -0.6949703693389893, -0.5315505862236023, 1.1811429262161255, 0.1232219859957695, 0.5408905744552612, 0.16029894351959229, 0.7518537640571594, 0.5191984176635742, 0.47994473576545715, -0.586386501789093, 0.6071377396583557, -0.2124522626399994, -0.11228050291538239, -0.4416622817516327, -0.14958558976650238, -0.9453269839286804, 0.7302406430244446, 0.15265479683876038, -0.5973172187805176, 0.3436855375766754, 0.24208779633045197, -0.45268821716308594, -0.03896873816847801, -0.9502196907997131, 0.8313649296760559, 0.11323275417089462, -0.5217399001121521, -0.1130049005150795, -0.7247187495231628, 0.4686141312122345, 0.2761554718017578, -0.4197455942630768, -0.001261965837329626, 0.09708493202924728, 0.42519766092300415, -0.44120466709136963, 1.1356648206710815, -0.3597690761089325, 0.08938685059547424, 0.3415890336036682, -0.006318040192127228, 0.3623405694961548, 0.18926909565925598, 0.0318206250667572, -0.16695170104503632, -0.4447610378265381, -0.6435651183128357, -0.6096242070198059, 0.5416824221611023, -0.5603165030479431, -0.5368453860282898, -0.15689131617546082, -0.38090261816978455, -0.2823696434497833, -0.025871336460113525, 0.3410837650299072, 0.8324394226074219, -0.22056245803833008, 0.20638114213943481, 0.7918738722801208, -0.1519574373960495, 0.3819088041782379, 0.5649627447128296, -0.014303810894489288, -0.185792475938797, 1.1822874546051025, -0.08369644731283188, 0.30362668633461, 0.566265344619751, -0.14847181737422943, -0.3032160699367523, -0.5004544258117676, -0.6454505920410156, 0.09332792460918427, -0.7779079675674438, -0.4057186543941498, -0.7220005989074707, -0.5015972256660461, -0.1610582023859024, -0.3974120318889618, -0.03319164738059044, -0.7153819799423218, 0.0602743998169899, -0.26925572752952576, 0.4149557948112488, 0.5609260201454163, 0.002574406797066331, 0.5331466197967529, -0.4128953218460083, 0.35410723090171814, 0.3934363126754761, 0.1707029938697815, -0.1526334583759308, -0.7923945188522339, -0.21718144416809082, -0.1336444914340973, -0.6236724853515625, -0.7436745166778564, 0.4725988805294037, 0.20042990148067474, 0.6494284272193909, 0.5090942978858948, 0.14703476428985596, 0.689029335975647, -0.36766546964645386, 0.8566697835922241, -0.22777915000915527, -0.5745819211006165, 0.709425687789917, -0.5891256928443909, -0.02378012426197529, 0.49176421761512756, 0.3071163296699524, -0.5133534073829651, -0.6681231260299683, -0.9341561794281006, -0.9864453077316284, 0.7485225200653076, 0.3527146875858307, 0.1746964305639267, -0.13557884097099304, 0.34326812624931335, 0.2513695955276489, 0.32035884261131287, -0.5147968530654907, -0.18981657922267914, -0.37265297770500183, 0.012834953144192696, 0.03176143765449524, -0.4735630452632904, -0.007351407781243324, 0.37311816215515137, 0.818553626537323, -0.3244219124317169, 0.4377571642398834, 0.2841590940952301, -0.13427849113941193, 0.22946268320083618, 0.12244638800621033, 0.9090694785118103, 0.6244572401046753, -0.3790769577026367, 0.09011677652597427, -0.009855951182544231, -0.5480337738990784, -0.14542452991008759, 0.06334751099348068, -0.35442042350769043, 0.30814895033836365, 0.5343508720397949, 0.7665196061134338, 0.5874640345573425, -0.4871031939983368, 0.8438230156898499, 0.012169089168310165, -0.19734761118888855, -0.014736741781234741, 0.1272195279598236, -0.2656216621398926, -0.04432302713394165, 0.33433857560157776, 0.05076834186911583, 0.20178993046283722, -0.18943600356578827, 0.5094934701919556, 0.2474447786808014, -0.34282296895980835, -0.26167455315589905, 0.545898973941803, 0.3250148594379425, 0.020666291937232018, 0.4914182126522064, -0.44607412815093994, -0.5140219330787659, 0.5458133816719055, 0.4370114505290985, 0.8296379446983337, -0.2401280552148819, 0.5884436368942261, 0.45492449402809143, -0.10183870792388916, 0.004941124003380537, -0.2230570763349533, -0.41462770104408264, -0.39093735814094543, -0.21801269054412842, -0.4260627329349518, -0.7326536774635315, -0.02114756405353546, -0.4176163375377655, 0.3117544651031494, -0.18645122647285461, 0.049549203366041183, -0.17797252535820007, 0.002371113048866391, -0.15040843188762665, 0.09427513927221298, -0.22258177399635315, 0.5316848158836365, -0.8317387700080872, 0.42896315455436707, 0.23568332195281982, -0.7541736364364624, -0.5257066488265991, 0.3956717550754547, 0.028239212930202484, -0.9120668172836304, 0.6172552704811096, -0.11631817370653152, -0.10068660974502563, -0.27320218086242676, -0.27953994274139404, -0.506216287612915, 1.2723859548568726, 0.3196501135826111, -0.09177640825510025, 0.22523953020572662, -0.14337103068828583, 0.4270757734775543, -0.4219933748245239, 0.5604952573776245, 0.13677647709846497, 0.2684773802757263, 0.16982907056808472, -0.8539413213729858, -0.07162254303693771, -0.33897432684898376, -0.312225878238678, 0.031911756843328476, -1.0179674625396729, 0.8558037877082825, -0.3945938050746918, -0.2285110205411911, -0.11101751774549484, 0.3960567116737366, 0.6373972296714783, 0.42385226488113403, 0.057987090200185776, 0.2358734905719757, 0.674964964389801, -0.07318297773599625, 1.3705413341522217, -0.31972089409828186, 0.2062654346227646, 1.278947114944458, -0.07857757806777954, 0.8654235005378723, 0.2333286702632904, 0.0382598452270031, 0.3695988059043884, 0.6721209287643433, 0.10599962621927261, 0.7096193432807922, 0.07645364105701447, -0.45776715874671936, -0.024675512686371803, -0.07124631851911545, -0.39865538477897644, 0.32053717970848083, 0.37281593680381775, -0.33112218976020813, -0.4741782248020172, -0.23363693058490753, 0.18268948793411255, -0.034855615347623825, 0.0012876426335424185, 0.6972281336784363, 0.1460423618555069, -0.8014707565307617, 0.3565632700920105, -0.09825354069471359, 0.3412715196609497, -0.7347235083580017, -0.45636653900146484, -0.8181710839271545, 0.09961626678705215, -0.09893413633108139, -0.6788949966430664, -0.00917775183916092, -0.0851190909743309, -0.14864781498908997, -0.6054485440254211, 0.8132718801498413, -0.5934026837348938, -0.1904589831829071, -0.020040975883603096, 0.6632856130599976, 0.4303075075149536, -0.05826152116060257, -0.4653775691986084, -0.27960386872291565, 0.04055153951048851, -0.47523170709609985, 0.5882352590560913, 0.8509257435798645, -0.2520773410797119, 0.6684088706970215, 0.3937338888645172, 0.006208572071045637, -0.3042003810405731, 0.36426809430122375, 0.830751895904541, -0.30548304319381714, -0.791653037071228, -0.5823471546173096, 0.6003797650337219, -0.46174633502960205, -0.4023394286632538, 0.7904098629951477, 0.7282112836837769, 0.3727058172225952, -0.22435809671878815, 0.7747626900672913, -0.002875776495784521, 0.5807714462280273, -0.600959837436676, 0.777987539768219, -0.25186383724212646, 0.3400322496891022, -0.21650457382202148, -0.7802638411521912, -0.2286807894706726, 0.6880401372909546, -0.23101989924907684, 0.4154764711856842, 0.7216794490814209, 0.9222235083580017, -0.3033941984176636, 0.0014454207848757505, 0.3963693678379059, -0.01833135262131691, 0.3498203456401825, 0.39172181487083435, 0.50416499376297, -0.5004679560661316, 0.5855473279953003, -0.02247954159975052, -0.35725563764572144, -0.6697701215744019, -0.7909520864486694, -0.9611904621124268, -0.7375335693359375, -0.3696357011795044, -0.14372654259204865, 0.290162593126297, 0.5098015069961548, 1.0532654523849487, -0.7157776951789856, -0.006719079799950123, 0.19179706275463104, 0.14135845005512238, -0.17539820075035095, -0.3319050669670105, 0.9540045857429504, -0.7074651718139648, -0.6694963574409485, 0.25726792216300964, 0.5377913117408752, 0.09257037192583084, 0.03113408200442791, -0.1315998136997223, 0.24790121614933014, -0.2001854032278061, 0.8879026770591736, 0.32917359471321106, -0.4651307463645935, -0.3239469826221466, -0.031154245138168335, -0.10500852018594742, -0.041200194507837296, 1.1510621309280396, -0.7687863707542419, -0.015331803821027279, 0.09697122126817703, 0.5611311793327332, 0.6977531909942627, 0.26087555289268494, 0.6416900753974915, -1.2271037101745605, 0.04648125544190407, 0.17453211545944214, 0.43311458826065063, 0.2658149003982544, -0.30759671330451965, 0.6448001265525818, 0.11750521510839462, -0.6025673747062683, -0.5982734560966492, -0.04246080666780472, -1.114518404006958, -0.16587163507938385, 1.098777413368225, -0.319295197725296, 0.015078363940119743, -0.21905797719955444, -0.5003976225852966, -0.07555071264505386, -0.6490280628204346, 1.1851310729980469, 0.36359426379203796, -0.41248276829719543, -0.2626841068267822, -0.7368879914283752, 0.7244560718536377, 0.3882768750190735, -0.7015954256057739, 0.4632372558116913, 0.5008898377418518, 0.1409006267786026, 0.1421789675951004, 1.1890952587127686, -0.19224946200847626, 0.386388897895813, 0.3442125618457794, -0.11480235308408737, 0.01466093584895134, -0.35020485520362854, 0.10930752009153366, 0.33274218440055847, -0.05220046639442444, -0.3102918565273285 ]
http://arxiv.org/abs/2406.01052v1
http://arxiv.org/pdf/2406.01052v1
MACT: Model-Agnostic Cross-Lingual Training for Discourse Representation Structure Parsing
2024-06-03T07:02:57
2024-06-03T07:02:57
Jiangming Liu
cs.CL
cs.CL
Discourse Representation Structure (DRS) is an innovative semantic representation designed to capture the meaning of texts with arbitrary lengths across languages. The semantic representation parsing is essential for achieving natural language understanding through logical forms. Nevertheless, the performance of DRS parsing models remains constrained when trained exclusively on monolingual data. To tackle this issue, we introduce a cross-lingual training strategy. The proposed method is model-agnostic yet highly effective. It leverages cross-lingual training data and fully exploits the alignments between languages encoded in pre-trained language models. The experiments conducted on the standard benchmarks demonstrate that models trained using the cross-lingual training method exhibit significant improvements in DRS clause and graph parsing in English, German, Italian and Dutch. Comparing our final models to previous works, we achieve state-of-the-art results in the standard benchmarks. Furthermore, the detailed analysis provides deep insights into the performance of the parsers, offering inspiration for future research in DRS parsing. We keep updating new results on benchmarks to the appendix.
[ -0.22709211707115173, -0.6799317598342896, 0.4361695647239685, 0.10291815549135208, -0.4907744228839874, 0.2614078223705292, 0.15963485836982727, -0.3010129928588867, 0.4108424782752991, 0.4873528778553009, -0.5490092635154724, -0.4768437147140503, -0.744218647480011, 0.28842422366142273, -0.04797780513763428, 0.58449387550354, -0.19455160200595856, 0.5032315254211426, -0.04788075014948845, -0.4465526342391968, -0.22639192640781403, -0.5736793875694275, -0.6050699353218079, -0.16575169563293457, 0.44502270221710205, 0.14951223134994507, 0.5530596375465393, 0.6588214635848999, 0.27643725275993347, 0.25099772214889526, 0.0019363800529390574, 0.34059545397758484, -0.40104398131370544, 0.17039485275745392, -0.4364076554775238, -0.28696444630622864, -0.4500805735588074, -0.09134407341480255, 0.927578330039978, 1.0572504997253418, -0.21304844319820404, -0.08980070054531097, -0.08536899089813232, 0.5584325194358826, -0.37263405323028564, 0.18058009445667267, -0.801685094833374, 0.4149479269981384, -0.22713889181613922, -0.2962852120399475, -0.859723687171936, -0.02278234250843525, -0.0835813581943512, -0.6299403309822083, 0.015507282689213753, 0.15314407646656036, 1.0278681516647339, 0.10343053191900253, -0.7749015688896179, 0.049468617886304855, -0.23296315968036652, 0.6705119013786316, -0.6074438095092773, 0.8261005878448486, -0.02838614583015442, 0.4389302134513855, -0.11240079998970032, -0.8350409865379333, -0.2902892827987671, -0.28156962990760803, -0.2817791998386383, 0.10427829623222351, -0.06816805154085159, 0.16309039294719696, 0.3203706443309784, 0.2662016749382019, -0.6643530130386353, -0.027504313737154007, -0.01642930693924427, -0.20610305666923523, 0.37028056383132935, 0.13114698231220245, 0.3914589583873749, -0.461049884557724, -0.6766031980514526, -0.10188829153776169, -0.5834360122680664, 0.24652481079101562, 0.22479282319545746, 0.43305686116218567, -0.16947214305400848, 0.7039864659309387, 0.11423283070325851, 0.6891863346099854, -0.0017473772168159485, -0.06887336820363998, 0.21775484085083008, -0.17037203907966614, -0.2702828347682953, 0.12404531985521317, 0.940709114074707, -0.11810331791639328, 0.16372470557689667, -0.07451115548610687, -0.18710942566394806, 0.11452987790107727, 0.21145731210708618, -0.6700441837310791, -0.1658659428358078, -0.40426385402679443, -0.40844520926475525, -0.27347448468208313, 0.02428322657942772, -0.41415250301361084, -0.04835055395960808, -0.37860724329948425, -0.2668386399745941, -0.6415742635726929, -0.35050830245018005, 0.218702495098114, -0.02125733532011509, -0.029741983860731125, 0.05376145988702774, -1.0156184434890747, 0.7304490208625793, 0.5540055632591248, 0.7290570139884949, -0.05808591842651367, -0.23329581320285797, -0.7179320454597473, 0.5328635573387146, -0.56610506772995, 0.680831789970398, -0.7369862794876099, -0.29163864254951477, -0.18271873891353607, 0.0752563327550888, -0.424314022064209, -0.3351876437664032, 0.5694936513900757, -0.4171198308467865, 0.3161722421646118, -0.27648666501045227, -0.4959883391857147, -0.22719573974609375, 0.5724307894706726, -0.5922794342041016, 1.2030116319656372, 0.27143794298171997, -1.2116135358810425, 0.2573564648628235, -0.6352795362472534, -0.6009447574615479, -0.19168958067893982, -0.5803117156028748, -0.2887105941772461, 0.008443108759820461, 0.5267118811607361, 0.26608163118362427, -0.2592366635799408, 0.6925885677337646, -0.27806800603866577, 0.18892380595207214, -0.07509684562683105, -0.518141508102417, 0.963074266910553, 0.08299423009157181, -0.2838192284107208, 0.2663097679615021, -0.8099414706230164, 0.07106619328260422, 0.17447738349437714, -0.1025097519159317, -0.6546533703804016, -0.16625873744487762, -0.1136404350399971, 0.38251039385795593, -0.04516362026333809, -0.7950130701065063, 0.17063410580158234, -0.4607144594192505, 0.39233747124671936, 0.5696678161621094, -0.1548374593257904, 0.1523686796426773, 0.1092948168516159, 0.7259014248847961, 0.35615718364715576, -0.17423254251480103, -0.28915467858314514, -0.3366146981716156, -0.47411635518074036, -0.5540142059326172, 0.6444310545921326, 0.6138487458229065, -0.8934473395347595, 0.21212409436702728, -0.41175413131713867, -0.2648278474807739, -0.5719085931777954, -0.2899005115032196, 0.5464199185371399, 0.925447404384613, 0.4583546817302704, -0.6374377012252808, -0.7863543629646301, -1.1558020114898682, -0.43238839507102966, -0.21715453267097473, 0.2168656885623932, 0.1505742073059082, 0.3987759053707123, -0.21058228611946106, 1.0850698947906494, -0.3088694214820862, -0.034035731106996536, -0.44186148047447205, 0.2883744239807129, -0.2783210575580597, 0.2831641733646393, 0.7247419953346252, -0.7118194699287415, -0.6130266785621643, 0.22892822325229645, -0.679161012172699, -0.10201937705278397, 0.10897260159254074, -0.05430743843317032, 0.4252120554447174, 0.543962299823761, -0.4982055425643921, 0.4280845820903778, 0.5309274196624756, -0.2976464629173279, 0.4936557114124298, -0.28644049167633057, 0.08764147758483887, -1.13912832736969, 0.16834093630313873, -0.08723786473274231, -0.8003599643707275, -0.4329760670661926, -0.11135635524988174, 0.2570420801639557, -0.32487577199935913, -0.4263457655906677, 0.5265524387359619, -0.5842382907867432, -0.25224965810775757, 0.11699032038450241, 0.04114959388971329, 0.2249024659395218, 0.4009261727333069, 0.44213950634002686, 0.5943319797515869, 0.6338808536529541, -0.16592241823673248, -0.004692429210990667, 0.23853608965873718, -0.14452393352985382, 0.5396189093589783, -0.6627667546272278, 0.028197066858410835, -0.019162697717547417, 0.5597174763679504, -0.9815788269042969, 0.05482253059744835, 0.44967010617256165, -0.21812930703163147, 0.5218989253044128, -0.11457304656505585, -0.4040360748767853, -0.23491570353507996, -0.0864216759800911, 0.5652593970298767, -0.13352476060390472, -0.4211293160915375, 0.7804428935050964, 0.6843211054801941, -0.21959416568279266, -0.8942309021949768, -0.9302232265472412, 0.21944840252399445, -0.00005266765583655797, -0.865428626537323, 0.3820602595806122, 0.4068290591239929, -0.018291747197508812, -0.011800402775406837, -0.19878019392490387, -0.029603395611047745, -0.2290089875459671, -0.17245329916477203, 0.07776040583848953, -0.481863409280777, -0.1640564501285553, 0.39052021503448486, -0.3655624985694885, 0.06340634077787399, -0.39398136734962463, 0.551458477973938, -0.01735578291118145, -0.5147631168365479, -0.46849244832992554, 0.5905199646949768, 0.4889959394931793, -0.5061256885528564, 0.4642253518104553, 0.245086207985878, -0.19280263781547546, -0.28036263585090637, -0.2475455105304718, -0.025847995653748512, -0.40615302324295044, 0.35268864035606384, -0.84161376953125, -0.8002025485038757, 0.5246626138687134, -0.2113250344991684, 0.057135067880153656, 0.33006495237350464, 0.16993871331214905, 0.3368137776851654, 1.217147946357727, 0.7486615777015686, -0.17002712190151215, 0.13337089121341705, -0.007735321763902903, 0.38743963837623596, -0.5464361906051636, -0.09464587271213531, -0.3805074095726013, -0.1472913920879364, -0.41800862550735474, -0.5550056099891663, 0.1831471025943756, -0.35512492060661316, -0.2505563497543335, 0.2514600157737732, -0.4235820472240448, 0.16570940613746643, 0.19631275534629822, -0.2253112494945526, 0.30749350786209106, 0.12896767258644104, -0.8666766881942749, -0.3708385229110718, -0.971917450428009, -0.5061766505241394, 0.5838475823402405, 0.5793155431747437, 0.6550131440162659, -0.19490094482898712, 0.660188615322113, -0.01030673272907734, -0.07796366512775421, -0.6844901442527771, 0.7526711821556091, -0.34191349148750305, -0.36263400316238403, -0.14948049187660217, -0.7193939685821533, -0.8336101770401001, 0.7290351986885071, 0.2826586067676544, -0.4498162865638733, 0.3424690365791321, -0.18209870159626007, 0.09272889792919159, 0.6125189065933228, -0.515947699546814, 1.274606704711914, -0.37982672452926636, -0.006837495137006044, -0.1294868290424347, -1.0034435987472534, 0.3523244857788086, 0.331309050321579, 0.34552764892578125, 0.05205584689974785, -0.07677947729825974, 0.7740830183029175, -0.3901260495185852, 0.8754743337631226, -0.27135512232780457, -0.22158369421958923, 0.03987870365381241, 0.25586485862731934, 0.3651844263076782, 0.19192048907279968, 0.025976063683629036, 0.2925325930118561, 0.037611983716487885, -0.4500653147697449, -0.4886261522769928, 0.36422526836395264, -0.5950608849525452, -0.49115195870399475, -0.7560041546821594, -0.8457516431808472, -0.38836154341697693, 0.3579413592815399, 0.040866367518901825, 0.4456278383731842, -0.4945443868637085, -0.2298126071691513, 0.6017436981201172, 0.07008948922157288, 0.031218554824590683, 0.3539491593837738, -0.4028911888599396, -0.5210797190666199, 0.5078973174095154, 0.0951550155878067, 0.3780347406864166, 0.533336877822876, 0.006878656335175037, -0.22394366562366486, -0.3114326596260071, -0.7725445628166199, 0.47573813796043396, -0.806639552116394, -0.007740907836705446, -0.8881937861442566, -0.3163227438926697, -0.5524035096168518, -0.011891412548720837, -0.6114046573638916, -0.832900881767273, -0.024584472179412842, -0.32781559228897095, -0.13054406642913818, 0.6209051609039307, -0.027658242732286453, -0.0637570172548294, -0.6463952660560608, 0.5225956439971924, -0.015253842808306217, 0.17280656099319458, -0.19565261900424957, -0.5016995072364807, 0.027229420840740204, 0.23400618135929108, -0.37961456179618835, -0.8072894215583801, 0.40569713711738586, 0.0026779682375490665, 0.5681476593017578, 0.4411560297012329, -0.0676419734954834, 0.930442214012146, -0.851808488368988, 0.7246299982070923, 0.39949697256088257, -1.0101336240768433, 0.565531849861145, -0.334901362657547, 0.13719922304153442, 0.6939933896064758, 0.47603878378868103, -0.6409538984298706, -0.42233002185821533, -0.5958216190338135, -0.6904894113540649, 0.8959804773330688, -0.06410492956638336, 0.01303564291447401, -0.04846428334712982, 0.06951365619897842, 0.39261820912361145, 0.12552325427532196, -0.9799793362617493, -0.16914553940296173, -0.33396080136299133, -0.20953473448753357, 0.1794425994157791, -0.23948004841804504, -0.3172704577445984, -0.631249189376831, 0.8000526428222656, -0.272590696811676, -0.09384039044380188, 0.19704046845436096, -0.08456575125455856, -0.2577132284641266, 0.18061286211013794, 0.36824506521224976, 0.7301759719848633, 0.028587279841303825, 0.35952863097190857, 0.04392446205019951, -0.3827986419200897, 0.26657333970069885, 0.3716796338558197, -0.2014322727918625, 0.543091893196106, 0.18453073501586914, 0.9724493026733398, 0.4757957458496094, -0.49227529764175415, 0.32380130887031555, -0.2739449441432953, -0.3463740050792694, 0.02579260990023613, -0.37643954157829285, 0.06153402477502823, -0.046838246285915375, 0.04212268814444542, 0.15378621220588684, -0.047862909734249115, -0.6797426342964172, 0.2962823212146759, 0.6128130555152893, -0.49111488461494446, -0.3175923228263855, 0.6071779727935791, -0.07048536837100983, -0.028320036828517914, 0.18814586102962494, -0.13250353932380676, -0.7310788631439209, 0.26864093542099, 0.6803051829338074, 0.6279439926147461, -0.5023466348648071, 0.5691916346549988, 0.18163329362869263, 0.3320305645465851, 0.05251997336745262, 0.29727306962013245, -0.04236576333642006, -0.48404762148857117, -0.3195880651473999, -0.451344758272171, -0.49694785475730896, -0.2628259062767029, -0.5446655750274658, 0.5196959376335144, -0.2141866534948349, 0.07462941855192184, -0.05578911304473877, -0.14722739160060883, -0.1559472382068634, 0.25966352224349976, 0.12290190905332565, 1.0476406812667847, -0.7450268268585205, 1.0527433156967163, 0.8894454836845398, -0.1822025328874588, -1.0319958925247192, -0.21783654391765594, -0.04693344607949257, -0.7489821314811707, 0.6948108673095703, 0.1350822150707245, -0.22229164838790894, -0.20296213030815125, -0.10026924312114716, -0.7807092070579529, 0.8441598415374756, 0.883127748966217, -0.6007393002510071, -0.3246687650680542, 0.6766497492790222, 0.4195762872695923, -0.8241544365882874, 0.23783347010612488, 0.3692614436149597, 0.4045661687850952, 0.14044663310050964, -0.9203464984893799, 0.15368954837322235, -0.14614033699035645, 0.15548153221607208, 0.23948539793491364, -0.3242749273777008, 0.8404154181480408, 0.20610851049423218, -0.30208921432495117, -0.18717263638973236, 0.6855936050415039, 0.39685267210006714, 0.2958522140979767, 0.6477943658828735, 0.9910190105438232, 0.9377024173736572, 0.058016952127218246, 1.014042854309082, -0.32384055852890015, 0.22882793843746185, 1.1009509563446045, -0.5036516785621643, 0.5797507762908936, 0.555556058883667, 0.08386188000440598, 0.9107459187507629, 0.6902077198028564, 0.4191186726093292, 0.7114357352256775, 0.04915342479944229, 0.052045147866010666, -0.2039492130279541, -0.09692911058664322, -0.5733569860458374, 0.36817556619644165, 0.28361839056015015, -0.51192307472229, -0.6164455413818359, 0.17588739097118378, 0.17000338435173035, 0.1703486293554306, -0.1355888694524765, 0.618877649307251, 0.47919750213623047, -0.6461304426193237, 0.9506434202194214, 0.06125175952911377, 0.3184898793697357, -1.0025871992111206, 0.08819928020238876, 0.06051655113697052, 0.1309797465801239, -0.05800323188304901, -0.4876052737236023, 0.43646010756492615, -0.0423494428396225, 0.004222087096422911, -0.49261507391929626, 0.7774994373321533, -0.4116549789905548, -0.6104081273078918, 0.5841114521026611, 0.5299063324928284, 0.007574410177767277, 0.3809329867362976, -0.8923509120941162, -0.07605835050344467, 0.07429555058479309, -0.385098934173584, 0.3167743384838104, 0.9376682043075562, -0.21617303788661957, 0.45731598138809204, 0.41328558325767517, 0.15096746385097504, 0.05402405932545662, 0.33201509714126587, 1.1204489469528198, -0.6018780469894409, -0.8793751001358032, -0.6871415376663208, 0.6690984964370728, -0.26358288526535034, -0.275641530752182, 0.7135202288627625, 0.821752667427063, 0.9165315628051758, 0.2606176435947418, 0.7430704832077026, 0.015862390398979187, 0.6748539209365845, -0.376516729593277, 0.5293132662773132, -0.5600258708000183, 0.21261902153491974, -0.2318941205739975, -0.8206294178962708, -0.3282264173030853, 0.5950220823287964, -0.5741842985153198, -0.16716982424259186, 1.06352698802948, 0.6021965146064758, -0.6636933088302612, 0.3181610405445099, 0.2140376716852188, 0.14425309002399445, 0.3910059332847595, 0.2392105609178543, 0.6013959050178528, -0.2114991545677185, 0.326355516910553, -0.19663769006729126, -0.10517264157533646, 0.18723496794700623, -0.7590005993843079, -0.9345567226409912, -0.4491986036300659, -0.20175398886203766, -0.07563924044370651, 0.20367531478405, 0.48497211933135986, 0.6888415813446045, -0.6877711415290833, -0.37405532598495483, -0.2223152220249176, -0.1285405158996582, -0.2336684614419937, -0.19731903076171875, 0.4300311505794525, -0.6903471350669861, -0.34777021408081055, 0.6267703771591187, 0.4678635001182556, -0.20510707795619965, -0.29837730526924133, -0.1370925009250641, -0.6417890191078186, 0.23400558531284332, 0.5711286664009094, 0.1960287243127823, -0.7365880608558655, -0.23197603225708008, 0.03281078487634659, -0.28324568271636963, 0.5270114541053772, 1.0394576787948608, -0.7976163625717163, 0.4980086088180542, 0.37143075466156006, 0.7380073070526123, 0.6133797764778137, -0.020819636061787605, 0.6301397681236267, -0.8322693109512329, 0.4883875548839569, 0.49247244000434875, 0.711842954158783, 0.5773637890815735, -0.09585780650377274, 0.5778297185897827, 0.28706252574920654, -0.2940515875816345, -1.0749380588531494, 0.4195944368839264, -1.110023856163025, -0.43600746989250183, 0.7860238552093506, -0.4558391571044922, -0.3470333218574524, -0.19518490135669708, -0.39511385560035706, 0.3476957678794861, -0.21626904606819153, 0.4670269787311554, 0.6302340030670166, -0.05570032447576523, -0.1924472153186798, -0.4249719977378845, 0.20961332321166992, 0.8312512636184692, -0.6583203673362732, 0.28628280758857727, 0.2905658185482025, 0.1323523372411728, 0.1298830658197403, 0.776552140712738, -0.3704606592655182, 0.09099587053060532, -0.0013319972204044461, -0.20838074386119843, -0.06534390896558762, -0.33921611309051514, -0.1327025443315506, 0.25913700461387634, -0.2590927481651306, -0.011458564549684525 ]
http://arxiv.org/abs/2406.01045v1
http://arxiv.org/pdf/2406.01045v1
Decompose, Enrich, and Extract! Schema-aware Event Extraction using LLMs
2024-06-03T06:55:10
2024-06-03T06:55:10
Fatemeh Shiri, Van Nguyen, Farhad Moghimifar, John Yoo, Gholamreza Haffari, Yuan-Fang Li
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) demonstrate significant capabilities in processing natural language data, promising efficient knowledge extraction from diverse textual sources to enhance situational awareness and support decision-making. However, concerns arise due to their susceptibility to hallucination, resulting in contextually inaccurate content. This work focuses on harnessing LLMs for automated Event Extraction, introducing a new method to address hallucination by decomposing the task into Event Detection and Event Argument Extraction. Moreover, the proposed method integrates dynamic schema-aware augmented retrieval examples into prompts tailored for each specific inquiry, thereby extending and adapting advanced prompting techniques such as Retrieval-Augmented Generation. Evaluation findings on prominent event extraction benchmarks and results from a synthesized benchmark illustrate the method's superior performance compared to baseline approaches.
[ -0.21785299479961395, -1.119344711303711, 0.7944625020027161, 0.05785837396979332, -0.45064881443977356, -0.0659806877374649, -0.46874967217445374, -0.5471254587173462, 0.3409636616706848, 0.48775777220726013, -0.5206208825111389, -0.4869533181190491, -0.5170122981071472, 0.3749569356441498, -0.5703056454658508, 0.5387535691261292, -0.0653824508190155, -0.2804274559020996, -0.40227749943733215, 0.294158011674881, -0.36749595403671265, -0.561976432800293, -0.5896738171577454, -0.18796731531620026, 0.26389920711517334, 0.5669081211090088, 0.25944897532463074, 0.7338631749153137, 0.41115450859069824, 0.2303987741470337, -0.006002809386700392, 0.6313559412956238, -0.12221909314393997, 0.7918229103088379, -0.17885448038578033, 0.010477205738425255, -0.37040403485298157, -0.01184945646673441, 0.5246469974517822, 0.5129724144935608, -0.4375494718551636, 0.07695021480321884, -0.052966922521591187, 0.15366815030574799, -0.766446590423584, 0.4288382828235626, -1.064544677734375, 0.004058344755321741, -0.20417159795761108, -0.6382034420967102, -0.6304095983505249, -0.3092851936817169, 0.06139393895864487, -0.5962523221969604, 0.2510688602924347, 0.0028198338113725185, 0.7763931751251221, 0.34987083077430725, -0.15724191069602966, -0.687748908996582, -0.5445809364318848, 0.6990475058555603, -0.515130341053009, 0.5866482853889465, 0.45905154943466187, 0.18585462868213654, -0.28034380078315735, -0.9417622685432434, -0.670400857925415, -0.22554528713226318, -0.11113099008798599, -0.08785270899534225, -0.1139661893248558, -0.10832501947879791, 0.332798033952713, 0.22707638144493103, -0.4336027204990387, 0.11896076798439026, -0.1331794410943985, -0.08903618156909943, 0.73689866065979, 0.3900168836116791, 0.3643777370452881, -0.6968119144439697, -0.06302017718553543, 0.18557555973529816, -0.547270655632019, -0.44961774349212646, 0.05609503388404846, 0.39385488629341125, 0.2138529121875763, 0.6641446352005005, -0.23165318369865417, 0.495944082736969, 0.18854735791683197, -0.13306567072868347, 0.04807833209633827, -0.3550160825252533, -0.3789727985858917, 0.29515978693962097, 0.6670887470245361, 0.2655453681945801, 0.17979875206947327, -0.5506373643875122, -0.06686670333147049, 0.02063504047691822, 0.19087181985378265, -0.7858709692955017, -0.19013220071792603, 0.415863037109375, -0.4057064950466156, -0.3846355378627777, -0.09582732617855072, -1.1862050294876099, -0.7070900201797485, -0.45861339569091797, 0.12965886294841766, -0.363748162984848, -0.14950507879257202, 0.20152084529399872, -0.08732344955205917, 0.26848557591438293, 0.5243798494338989, -0.974402129650116, 0.2980351448059082, 0.6943469643592834, 0.5385969281196594, -0.82945716381073, 0.034563690423965454, -0.9871010780334473, 0.4183526635169983, -0.090935617685318, 0.9521182775497437, -0.7847656011581421, -0.29850512742996216, 0.03268251195549965, 0.2390710413455963, 0.12040863931179047, -0.8510924577713013, 0.6839718818664551, -0.476946085691452, 0.23634536564350128, -0.26383644342422485, -0.5042114853858948, 0.13017548620700836, 0.16547809541225433, -0.506655752658844, 1.3115395307540894, -0.1116422563791275, -0.4173983633518219, 0.3456726372241974, -0.6153402924537659, -0.5550583600997925, 0.30151233077049255, -0.402649849653244, -0.08257908374071121, 0.1281973123550415, 0.5249321460723877, 0.5363069176673889, -0.1755312830209732, 0.47750037908554077, -0.06098971888422966, -0.11306528747081757, 0.07435505092144012, -0.30255478620529175, 0.5042130947113037, 0.1940062791109085, -0.26906144618988037, 0.1616397351026535, -1.158974289894104, -0.4168074429035187, 0.335441529750824, -0.33821749687194824, -0.2797830402851105, 0.3306897282600403, -0.2141600102186203, 0.14471624791622162, 0.3020438253879547, -0.3433568477630615, 0.37715548276901245, -0.5076183676719666, 0.19417648017406464, 0.7922877669334412, 0.36278632283210754, 0.6516382694244385, 0.22348374128341675, 0.4187779724597931, -0.06547273695468903, -0.11860491335391998, -0.3124968111515045, -0.07945934683084488, -0.6183304190635681, -0.5152433514595032, -0.10525543987751007, 0.6818108558654785, -0.8123574256896973, 0.7382447719573975, -0.22249822318553925, -0.11497808247804642, -0.2506544291973114, 0.07525698840618134, -0.21028152108192444, 0.6163926124572754, 0.2970004975795746, 0.06421259045600891, -1.0746209621429443, -0.3911612629890442, -0.32535332441329956, -0.1385922133922577, -0.08025602996349335, 0.08603419363498688, 0.2764701545238495, -0.29590168595314026, 0.831594705581665, -0.5416139960289001, -0.21218611299991608, -0.4853092133998871, 0.0980132594704628, -0.003923074807971716, 0.10916788876056671, 0.08752883225679398, -0.34887856245040894, -0.10703166574239731, 0.22279997169971466, -1.1067849397659302, -0.4536275267601013, -0.30374908447265625, -0.12781141698360443, 0.4947739839553833, 0.8028450608253479, -0.8976355195045471, 0.549924910068512, -0.051802054047584534, -0.2554079294204712, 0.626509964466095, 0.1523669809103012, -0.08910756558179855, -1.0645153522491455, -0.18738345801830292, -0.37316346168518066, -0.16832642257213593, -0.5646352767944336, -0.05828770622611046, -0.09668922424316406, 0.0934695452451706, -0.2502268850803375, 0.5675470232963562, -0.6671919822692871, -0.32732507586479187, -0.37501609325408936, 0.6363047957420349, 0.1196780726313591, -0.0005243904888629913, 0.3328627347946167, 0.39904671907424927, 0.36649009585380554, -0.6733906269073486, 0.682217001914978, 0.49224311113357544, -0.46140968799591064, 0.2228918820619583, -0.2139282375574112, 0.04819837212562561, -0.19138136506080627, 0.047775741666555405, -0.5908941626548767, -0.5498631000518799, 0.4584675431251526, -0.19077490270137787, 0.204313725233078, 0.026767248287796974, -0.7339608073234558, 0.029148457571864128, -0.17543262243270874, -0.05308675020933151, 0.2619040310382843, -0.7251219153404236, 0.9743760228157043, 0.49574756622314453, -0.4594261348247528, -0.41942644119262695, -0.4742835462093353, 0.3218601644039154, -0.3228169083595276, -0.3565639555454254, 0.24546700716018677, 0.13484196364879608, -0.5500229001045227, -0.13129326701164246, -0.2660089433193207, 0.24815891683101654, 0.1600765585899353, 0.4019396901130676, 0.4139569103717804, -0.09620412439107895, 0.32437899708747864, 0.10263852775096893, -0.10775609314441681, 0.2632864713668823, 0.040669988840818405, 0.8048707842826843, 0.14892886579036713, -0.44751396775245667, -0.6837179064750671, 0.6721278429031372, 0.5343500375747681, -0.26029711961746216, 0.565792977809906, 0.4623112678527832, -0.8842113614082336, -0.1723412573337555, -0.8043557405471802, -0.6056039333343506, -0.4394761919975281, 0.323417067527771, -0.312195360660553, -0.6960737705230713, 0.6513047814369202, -0.16522827744483948, 0.0321771465241909, 0.28216564655303955, 0.5997197031974792, 0.04059449955821037, 0.9804177284240723, 0.10789696127176285, 0.21138951182365417, 0.5653017163276672, 0.1263585239648819, 0.2839811444282532, -0.7834748029708862, -0.44303515553474426, -0.5172854065895081, 0.10011851042509079, -0.009494275785982609, -0.3681604266166687, 0.009218486957252026, 0.13154295086860657, 0.014043894596397877, 0.13133184611797333, -0.40886959433555603, 0.45025816559791565, 0.1408722847700119, -0.1360379308462143, 0.6619657874107361, 0.26019152998924255, 0.30256056785583496, -0.28973639011383057, -0.43548858165740967, -0.7195491194725037, 0.6317980885505676, 0.08865364640951157, 0.5192874073982239, -0.07707589864730835, 0.9085620641708374, 0.30580562353134155, 0.2477831095457077, -0.8187533020973206, 0.7037258744239807, 0.3427073359489441, -0.3845587372779846, -0.5126385688781738, -0.26099011301994324, -0.9971851110458374, 0.2976324260234833, -0.34624096751213074, -1.1895806789398193, 0.3553871512413025, -0.30282026529312134, -0.2843918800354004, 0.08846715837717056, -0.3291204571723938, 0.5463573336601257, 0.03433256596326828, -0.106710284948349, 0.05827900767326355, -0.3331049382686615, 0.29149919748306274, -0.09046351909637451, 0.44547149538993835, -0.23017139732837677, -0.03566349297761917, 0.5962451696395874, -0.07697443664073944, 0.6117501854896545, 0.05795944482088089, -0.242860347032547, 0.31067460775375366, 0.45929211378097534, 1.066907286643982, 0.25371527671813965, -0.33317309617996216, -0.15827763080596924, -0.10171844065189362, 0.08032572269439697, -0.7934214472770691, 0.5598614811897278, -0.2573438882827759, -0.6627629399299622, -0.3009025752544403, -0.5915811657905579, -0.05879829451441765, -0.0684465616941452, 0.21797725558280945, 0.4968293309211731, -0.08982470631599426, -0.008647117763757706, 0.5732487440109253, -0.1392175853252411, 0.6181178689002991, 0.4962734282016754, -0.3541291058063507, -0.3779808282852173, 0.8531941175460815, 0.027546705678105354, -0.0452096089720726, 0.10193758457899094, 0.041779011487960815, -0.30599769949913025, -0.6233609914779663, -0.2851821184158325, 0.18561391532421112, -1.0031861066818237, -0.32597246766090393, -1.2037936449050903, -0.1464235484600067, -0.6774380803108215, -0.3132627010345459, -0.1739933043718338, -0.5073967576026917, -0.7802075743675232, -0.5770403742790222, 0.17725305259227753, 0.48924720287323, -0.2020866423845291, 0.13586971163749695, -0.8997859954833984, 0.4554772675037384, 0.12245406210422516, -0.0669054239988327, -0.06901969015598297, -0.414772629737854, 0.09790606051683426, -0.5610350966453552, -0.22750569880008698, -1.2468202114105225, 0.6821603178977966, 0.16782687604427338, 0.8243781924247742, 0.5224758982658386, 0.32917696237564087, 0.6790785789489746, -0.31802332401275635, 0.932281494140625, -0.10096709430217743, -1.0312726497650146, 0.9617989659309387, -0.14015012979507446, -0.16079926490783691, 0.43638408184051514, 0.17860621213912964, -0.4684368968009949, -0.38045310974121094, -0.6827800869941711, -0.9678164124488831, 0.7150681614875793, 0.06990518420934677, -0.21549482643604279, -0.5257257223129272, 0.6173778772354126, 0.3511113226413727, -0.06773832440376282, -0.6475445032119751, -0.023771198466420174, 0.2494868040084839, -0.24540935456752777, 0.1894722580909729, -0.45343443751335144, -0.03166254237294197, -0.31851086020469666, 0.41943326592445374, -0.020953958854079247, 0.0023867287673056126, 0.2448895275592804, -0.5586811900138855, -0.21215809881687164, 0.19723021984100342, 0.3837777376174927, 0.7461434602737427, -0.246564581990242, 0.4103652238845825, 0.6656923294067383, -0.40670499205589294, -0.1866561472415924, 0.1238589808344841, -0.050231412053108215, 0.16426005959510803, 0.5276272296905518, 0.4508328437805176, 0.14320313930511475, -0.905921459197998, 0.2562597393989563, -0.1779841184616089, -0.12161916494369507, -0.24567651748657227, -0.05054508522152901, -0.058936260640621185, 0.4763897657394409, 0.5715430378913879, -0.6361786723136902, 0.4471360146999359, -0.5812874436378479, 0.4875491261482239, 0.3974820673465729, -0.23622745275497437, -0.1909276396036148, 0.5146096348762512, 0.19123223423957825, -0.2887248396873474, 0.48894450068473816, -0.28977760672569275, -0.3447395861148834, 0.3971717357635498, 0.6379846334457397, 0.7879880666732788, -0.20584818720817566, 0.07641960680484772, 0.38246315717697144, 0.3111608922481537, 0.051746346056461334, 0.43309369683265686, -0.21750453114509583, -0.6257490515708923, -0.514018177986145, -0.7139174342155457, -0.3063005805015564, 0.2998179495334625, -0.801393449306488, 0.37580594420433044, -0.07191506028175354, 0.15948595106601715, -0.04005078971385956, -0.046080268919467926, -0.25112399458885193, -0.07738551497459412, 0.32817843556404114, 0.8116858601570129, -0.7119651436805725, 0.6126103401184082, 0.39663565158843994, -0.25967445969581604, -0.31761181354522705, -0.07584027945995331, -0.06352567672729492, -0.37673449516296387, 0.5984761714935303, 0.02518319897353649, 0.09340395033359528, -0.1309787482023239, -0.5062037706375122, -0.7358951568603516, 1.0061661005020142, 0.4215035140514374, -0.3218551278114319, -0.17030058801174164, 0.1868167221546173, 0.2360975593328476, -0.5636866688728333, 0.016838587820529938, 1.0137730836868286, 0.5238524675369263, 0.16974450647830963, -0.5262423753738403, 0.3568035662174225, 0.08685503154993057, -0.40944305062294006, 0.13141930103302002, 0.048194970935583115, 0.4968763291835785, -0.09337244927883148, -0.5574965476989746, -0.044653940945863724, 0.8388112187385559, 0.46716102957725525, 0.6229879260063171, 0.3398112654685974, 0.1382293403148651, 1.0946000814437866, -0.09048138558864594, 0.7156820297241211, -0.12139759957790375, 0.040615491569042206, 1.306849479675293, -0.5569745302200317, 0.791975736618042, 0.6495059728622437, 0.27046871185302734, 0.4511362910270691, 0.7705944180488586, 0.38885194063186646, 0.5239750742912292, 0.04788869619369507, -0.4697861075401306, -0.6077395081520081, -0.09791538864374161, -0.3745235204696655, 0.596486508846283, 0.8252784609794617, -0.2701443135738373, -0.3085402548313141, 0.07198639959096909, 0.0064091868698596954, -0.07868174463510513, -0.05183572322130203, 1.0729410648345947, 0.08536694198846817, -0.6309514045715332, 0.36507317423820496, -0.1932339370250702, 0.24097800254821777, -0.2148999124765396, -0.21775221824645996, -0.18285898864269257, -0.07314816862344742, -0.18608969449996948, -0.5230026245117188, 0.546981930732727, 0.01410805806517601, -0.11725563555955887, -0.1011820137500763, 1.0909992456436157, -0.4210347533226013, -0.2349933236837387, 0.29951319098472595, 0.5321842432022095, 0.31662681698799133, -0.2665672302246094, -0.14440901577472687, 0.5360518097877502, -0.15642593801021576, -0.4836865961551666, 0.2211124151945114, 0.6833349466323853, -0.11517433822154999, 0.5641893148422241, 0.686334490776062, 0.15942643582820892, 0.05478590726852417, 0.11774272471666336, 0.8395552635192871, -0.7951499223709106, -0.1165243536233902, -1.1258609294891357, 0.5032996535301208, -0.577394425868988, 0.01631033793091774, 0.615239679813385, 0.6072668433189392, 0.3207184970378876, 0.13632869720458984, 0.8331044912338257, 0.24489238858222961, 0.37531083822250366, -0.4306893050670624, 0.3700583577156067, -0.41259244084358215, 0.46390780806541443, -0.19112876057624817, -0.81777024269104, -0.40522125363349915, 0.6741834878921509, -0.18021830916404724, -0.5035446286201477, 0.5710518956184387, 0.7253457307815552, 0.14516839385032654, 0.32044658064842224, 0.1779717355966568, 0.020006202161312103, 0.4715409576892853, 0.12389889359474182, 1.095822811126709, -0.21281249821186066, 0.4335216283798218, 0.09431251883506775, -0.15821073949337006, -0.6211023330688477, -1.1266695261001587, -0.852502703666687, -0.7256475687026978, -0.47077125310897827, -0.388247549533844, 0.1716276854276657, 1.0262987613677979, 0.39516401290893555, -0.8791903257369995, 0.06736933439970016, 0.07836772501468658, 0.3637952506542206, 0.0677666887640953, -0.2703631818294525, 0.5218622088432312, -0.6863887906074524, -0.6426354646682739, 0.792769730091095, 0.47469159960746765, -0.06386251747608185, 0.07573151588439941, 0.09049436450004578, -0.13926802575588226, 0.31830111145973206, 0.9786989092826843, 0.08784158527851105, -0.817333996295929, -0.5528390407562256, 0.04296201840043068, -0.03546832501888275, -0.07998327165842056, 0.5604892373085022, -0.7398761510848999, 0.2161899358034134, 0.7122383117675781, 0.6362695693969727, 0.5994141101837158, -0.03122653253376484, 0.41376233100891113, -0.6874514222145081, 0.07974867522716522, 0.17115962505340576, 0.40456587076187134, 0.16696490347385406, -0.5699045062065125, 0.5503771305084229, 0.3529753088951111, -0.44674521684646606, -1.3688161373138428, 0.2439865618944168, -1.1549603939056396, -0.28190600872039795, 1.5449179410934448, 0.35881307721138, -0.086177296936512, -0.35116899013519287, -0.3181614875793457, 0.44627270102500916, -0.15676040947437286, 1.026350975036621, 0.7655084729194641, -0.2929253876209259, -0.3784724771976471, -0.46982038021087646, 0.6869568824768066, 0.10430628061294556, -1.1755986213684082, 0.6209126114845276, 0.5739325881004333, -0.05688982456922531, 0.11730393022298813, 0.36590656638145447, -0.2330332100391388, 0.12918218970298767, -0.1370435506105423, 0.25857579708099365, -0.0040505025535821915, -0.40184536576271057, -0.3262462019920349, 0.3571237325668335, -0.36595675349235535, -0.10981625318527222 ]
http://arxiv.org/abs/2406.01026v2
http://arxiv.org/pdf/2406.01026v2
Strengthened Symbol Binding Makes Large Language Models Reliable Multiple-Choice Selectors
2024-06-03T06:20:12
2024-06-06T06:32:45
Mengge Xue, Zhenyu Hu, Liqun Liu, Kuo Liao, Shuang Li, Honglin Han, Meng Zhao, Chengguo Yin
cs.CL
cs.CL
Multiple-Choice Questions (MCQs) constitute a critical area of research in the study of Large Language Models (LLMs). Previous works have investigated the selection bias problem in MCQs within few-shot scenarios, in which the LLM's performance may be influenced by the presentation of answer choices, leaving the selection bias during Supervised Fine-Tuning (SFT) unexplored. In this paper, we reveal that selection bias persists in the SFT phase , primarily due to the LLM's inadequate Multiple Choice Symbol Binding (MCSB) ability. This limitation implies that the model struggles to associate the answer options with their corresponding symbols (e.g., A/B/C/D) effectively. To enhance the model's MCSB capability, we first incorporate option contents into the loss function and subsequently adjust the weights of the option symbols and contents, guiding the model to understand the option content of the current symbol. Based on this, we introduce an efficient SFT algorithm for MCQs, termed Point-wise Intelligent Feedback (PIF). PIF constructs negative instances by randomly combining the incorrect option contents with all candidate symbols, and proposes a point-wise loss to provide feedback on these negative samples into LLMs. Our experimental results demonstrate that PIF significantly reduces the model's selection bias by improving its MCSB capability. Remarkably, PIF exhibits a substantial enhancement in the accuracy for MCQs.
[ -0.8083115816116333, -0.8527689576148987, 0.603460431098938, 0.014652624726295471, -0.19750788807868958, 0.013807718642055988, -0.32600489258766174, -0.33284205198287964, 0.04488498345017433, 0.6241828799247742, -0.7489087581634521, -0.25719204545021057, -0.608034074306488, 0.2633436918258667, -0.060074079781770706, 0.9403458833694458, 0.05591326579451561, 0.3916724920272827, 0.048642124980688095, -0.1588592678308487, -0.39661741256713867, -0.6490979790687561, -0.846135675907135, -0.24468643963336945, 0.43145427107810974, 0.339071124792099, 0.858156144618988, 0.3852243721485138, 0.71079421043396, 0.2133750468492508, -0.26767781376838684, 0.24614858627319336, -0.4229041337966919, -0.004008857998996973, -0.29387494921684265, -0.5602542757987976, -0.37014105916023254, 0.061155762523412704, 0.7205415368080139, 0.5149836540222168, 0.14403367042541504, 0.25759437680244446, -0.01859709434211254, 0.7000717520713806, -0.6925480961799622, 0.08603320270776749, -0.8115078806877136, -0.163646399974823, -0.15779563784599304, -0.23025286197662354, -0.7113470435142517, -0.30192360281944275, -0.2427709549665451, -0.3624778091907501, -0.10975108295679092, 0.14294449985027313, 0.7016106843948364, 0.5163601636886597, -0.5875895023345947, -0.10456861555576324, -0.6353921890258789, 0.8640124201774597, -0.6188775300979614, 0.5520989298820496, 0.5907151699066162, 0.24627640843391418, -0.3782578706741333, -0.04230175539851189, -0.3943498432636261, -0.37106800079345703, 0.1078767254948616, 0.005375013221055269, 0.14452798664569855, 0.3873085379600525, 0.3999311625957489, -0.1288084238767624, -0.04873960092663765, 0.10012978315353394, -0.4742690920829773, -0.3680911958217621, 0.5994370579719543, -0.11089492589235306, 0.17811955511569977, -0.09652484953403473, -0.08648029714822769, -0.08310101926326752, -0.8994225263595581, 0.1679578274488449, 0.3986266255378723, 0.4101620614528656, 0.40778040885925293, 0.8552103638648987, -0.20679914951324463, 1.0693821907043457, 0.4978374242782593, -0.2151903212070465, 0.013049310073256493, -0.14935940504074097, -0.05275746062397957, 0.08041680604219437, 0.6088523864746094, 0.43385109305381775, 0.480943500995636, 0.28514495491981506, -0.025005310773849487, -0.21412259340286255, 0.11814330518245697, -0.7947406768798828, -0.08861716836690903, 0.2531891465187073, -0.31304389238357544, -0.07138960808515549, 0.1934361755847931, -0.15151295065879822, -0.23318195343017578, -0.3466781973838806, 0.43319013714790344, -0.45067286491394043, -0.018963854759931564, -0.07101859152317047, -0.2007209062576294, -0.009019115008413792, 0.44011688232421875, -0.8609570860862732, -0.09307706356048584, 0.503097414970398, 0.476627379655838, -0.015898102894425392, -0.2543993890285492, -0.9095706939697266, 0.290322482585907, -0.44692304730415344, 0.8878360986709595, -0.9294981956481934, -0.19995269179344177, -0.4019142687320709, -0.2180558741092682, -0.07678350061178207, -0.5818949341773987, 0.2379591166973114, -0.5342217087745667, -0.01045155804604292, -0.6529337763786316, -0.26633182168006897, -0.13660980761051178, 0.3384001553058624, -0.7091490626335144, 0.989643931388855, -0.10191065073013306, -0.9085320234298706, 0.5284160375595093, -0.42239832878112793, -0.26361697912216187, -0.2969781458377838, -0.3566470742225647, -0.3249403238296509, 0.1369418054819107, 0.6249682307243347, 0.664829432964325, 0.0366823673248291, 0.0972924530506134, -0.8554440140724182, -0.5681312084197998, 0.44977042078971863, -0.3192850351333618, 0.670504093170166, 0.02611810714006424, -0.1789240539073944, 0.10172994434833527, -0.6043408513069153, 0.15439510345458984, -0.14330431818962097, -0.3839264512062073, -0.36543723940849304, -0.02593214064836502, -0.31420016288757324, 0.48637548089027405, -0.23490795493125916, -0.42642688751220703, 0.4063304662704468, -0.1892250031232834, 0.41602128744125366, 0.8183761835098267, 0.08369749039411545, 0.4206175208091736, -0.3508414924144745, 0.5773480534553528, -0.10310929268598557, 0.10470103472471237, 0.2209688276052475, -0.35727545619010925, -0.5906897187232971, -0.39036107063293457, 0.36958596110343933, 0.37899336218833923, -1.012689471244812, 0.21869486570358276, -0.02202918753027916, -0.2820742726325989, -0.74411940574646, 0.23639418184757233, 0.22942253947257996, 0.3145085871219635, 0.29348331689834595, -0.10898256301879883, -0.23998969793319702, -0.9696256518363953, -0.2058783769607544, -0.39646726846694946, 0.0529666393995285, 0.27824369072914124, 0.2628094255924225, -0.04863297939300537, 1.0407119989395142, -0.3156770169734955, -0.24256227910518646, -0.3838771879673004, -0.11375781893730164, 0.1062566339969635, 0.30724865198135376, 0.5913249850273132, -0.6176654100418091, -0.270163357257843, -0.25311988592147827, -0.04501844197511673, -0.23948261141777039, -0.30788034200668335, -0.43315592408180237, 0.008229763247072697, 0.4576054811477661, -0.569275438785553, 0.11337147653102875, 0.5073831081390381, -0.3778002858161926, 0.6990680694580078, 0.1340690553188324, 0.2953101098537445, -0.6434412598609924, 0.039348892867565155, -0.06582573056221008, -0.2165505737066269, -0.31066569685935974, 0.0030525277834385633, 0.35155990719795227, 0.24519535899162292, -0.7007189989089966, 0.7741443514823914, -0.3618795573711395, -0.029656706377863884, -0.2170858532190323, 0.17623569071292877, -0.10685023665428162, 0.5418415069580078, 0.10633725672960281, 0.7561943531036377, 0.2170918881893158, -0.7480820417404175, 0.05701146274805069, 0.29489192366600037, 0.03895366191864014, 0.7525524497032166, -0.3741166293621063, 0.019001182168722153, -0.1705264151096344, 0.5066120028495789, -0.8087261319160461, -0.0723542720079422, 0.28286221623420715, -0.3794530928134918, 0.3320455849170685, -0.19143682718276978, -0.5646648406982422, -0.3654276430606842, -0.3489741086959839, 0.3970790505409241, 0.05071680620312691, -0.4707818925380707, 0.36348792910575867, 0.2908998131752014, -0.247796431183815, -0.6042174100875854, -0.7607641220092773, -0.27598774433135986, 0.13023722171783447, -0.4280833601951599, -0.09590352326631546, -0.4406818151473999, -0.09608189761638641, -0.20635034143924713, -0.31803110241889954, 0.08470813184976578, 0.13989776372909546, 0.023278702050447464, 0.2929835915565491, 0.06073153764009476, 0.41984307765960693, 0.5155778527259827, -0.18865543603897095, -0.06736258417367935, -0.08261919021606445, 0.4887315332889557, -0.23280096054077148, -0.6564651727676392, -0.26172810792922974, 0.1741342544555664, 0.5205021500587463, -0.5056478381156921, 0.7033268809318542, 0.5432519316673279, -0.13699385523796082, -0.3811849057674408, -0.7169055342674255, -0.3532268702983856, -0.43046894669532776, 0.4998915195465088, -0.44971826672554016, -1.3384689092636108, 0.3942461907863617, 0.013921027071774006, -0.03019588440656662, 0.5911223888397217, 0.7138776779174805, -0.035272616893053055, 1.414636254310608, 0.3840519189834595, 0.056631360203027725, 0.5751404166221619, -0.0832810178399086, 0.12189535051584244, -1.0683703422546387, -0.030997851863503456, -0.526445746421814, -0.4364168345928192, -0.3678234815597534, -0.2810889482498169, 0.3734903335571289, 0.49763399362564087, -0.4465184509754181, 0.04265322908759117, -0.6324247717857361, 0.6164175271987915, 0.658970296382904, 0.2779217064380646, 0.2992341220378876, -0.2107783406972885, -0.49448055028915405, -0.0880618467926979, -0.8186565041542053, -0.43431195616722107, 0.9967076182365417, 0.3612441420555115, 0.7751567959785461, -0.052351802587509155, 0.6471513509750366, -0.1724013388156891, 0.48492157459259033, -0.6633457541465759, 0.629744827747345, -0.11636832356452942, -0.8019604086875916, -0.4949905276298523, -0.3766326904296875, -0.4859950840473175, 0.467887818813324, -0.29371336102485657, -0.6422957181930542, 0.03061472438275814, 0.39407244324684143, -0.7063940763473511, 0.2520560026168823, -0.6358820796012878, 0.5961346626281738, -0.41337069869041443, -0.19980348646640778, -0.1260695457458496, -0.42454323172569275, 0.4532963037490845, -0.05881759151816368, 0.2516017258167267, -0.12796886265277863, 0.10856358706951141, 0.631982147693634, -0.3446106016635895, 0.7620384097099304, 0.022951442748308182, -0.16820107400417328, 0.2674963176250458, 0.16231109201908112, 0.5767645835876465, 0.2757715880870819, -0.3667556941509247, -0.02986316755414009, 0.19012854993343353, -0.4031141400337219, -0.6419649720191956, 0.5227018594741821, -0.5913066267967224, -0.6364994049072266, -0.20370541512966156, -0.34588077664375305, -0.4971676766872406, 0.3108855187892914, 0.2602388560771942, 0.27861207723617554, 0.1619056612253189, 0.21319082379341125, 0.7425887584686279, -0.29534921050071716, 0.25545528531074524, 0.21264766156673431, -0.49631696939468384, -0.4845426380634308, 0.6147846579551697, 0.36356234550476074, 0.5517359375953674, 0.4590495526790619, 0.1653551310300827, -0.17182205617427826, -0.5800496935844421, -0.5303416848182678, 0.370283305644989, -0.7656608819961548, -0.3039466440677643, -0.551546037197113, -0.13050930202007294, -0.2079409658908844, -0.2566034197807312, -0.3727138936519623, -0.5659814476966858, -0.23227405548095703, -0.3061674237251282, 0.1973472535610199, 0.469814270734787, 0.1261584311723709, 0.2468712031841278, -0.7924557328224182, 0.4310918152332306, 0.2848176956176758, 0.6841523051261902, -0.054005932062864304, -0.237169086933136, -0.0836791843175888, 0.22343897819519043, -0.21023771166801453, -0.9099928140640259, -0.07517853379249573, 0.06942469626665115, 0.5859884023666382, 0.36901894211769104, 0.2983487844467163, 0.6780975461006165, -0.24416574835777283, 0.67084801197052, 0.05422654747962952, -0.9150595664978027, 0.6379157304763794, -0.3114702105522156, 0.7342033386230469, 0.7771594524383545, 0.08897275477647781, -0.4499698877334595, -0.8647110462188721, -0.38422879576683044, -0.5249118804931641, 0.780746340751648, 0.044285472482442856, -0.0883832573890686, -0.37249404191970825, 0.212829127907753, 0.0526859275996685, 0.2665099501609802, -0.713858962059021, -0.09811584651470184, 0.06227526068687439, -0.10572170466184616, 0.07825023680925369, -0.22366958856582642, 0.05525830760598183, -0.26381221413612366, 0.8908732533454895, -0.33537042140960693, 0.20587876439094543, 0.14730146527290344, -0.2517876923084259, -0.2775568962097168, 0.4771103262901306, 0.6600229144096375, 0.5234847664833069, -0.25097718834877014, 0.19974654912948608, 0.31971198320388794, -0.40052661299705505, 0.0063140615820884705, 0.005475927144289017, -0.3895191252231598, -0.03638102114200592, 0.24207822978496552, 0.7949528098106384, 0.17912742495536804, -0.5973937511444092, 0.3285822570323944, 0.03826422989368439, -0.09011401981115341, 0.11527643352746964, 0.3234105408191681, -0.03528779000043869, 0.3120158910751343, 0.35167196393013, 0.23500511050224304, -0.03781478479504585, -0.35756173729896545, 0.22175884246826172, 0.7811083197593689, -0.48863354325294495, 0.07909658551216125, 0.6086761355400085, 0.16582556068897247, -0.05734739080071449, 0.6337598562240601, -0.15372629463672638, -0.8492201566696167, 0.5270459055900574, 0.2698397636413574, 0.5819985866546631, -0.11567725241184235, 0.33218300342559814, 0.42220714688301086, 0.49071213603019714, -0.3430258631706238, 0.32487380504608154, 0.0017389082349836826, -0.5665428638458252, -0.597250759601593, -0.6237412691116333, -0.3604353666305542, -0.07946641743183136, -0.5089219212532043, 0.3193912208080292, -0.7004653811454773, -0.4525696337223053, -0.43212801218032837, 0.15135960280895233, -0.6891952753067017, 0.35101354122161865, 0.05697651579976082, 0.8230190873146057, -0.5094187259674072, 0.7424961924552917, 0.6455647349357605, -0.40182390809059143, -0.9895563721656799, -0.08296846598386765, 0.03220286965370178, -0.6891151666641235, 0.6305670738220215, 0.20439812541007996, -0.12291327118873596, 0.057906512171030045, -0.6622868776321411, -1.1345683336257935, 0.8840214610099792, 0.6672577857971191, -0.7813495993614197, 0.19682081043720245, 0.15466026961803436, 0.3885074853897095, -0.11604851484298706, 0.6784051656723022, 0.4687487781047821, 0.6779441833496094, 0.3366469442844391, -1.0614960193634033, 0.08250337094068527, -0.08308080583810806, -0.02349640242755413, 0.5243850946426392, -0.8807417154312134, 0.5415811538696289, -0.5336666703224182, 0.022801395505666733, -0.23476746678352356, 0.5597879886627197, 0.6039934754371643, -0.16787667572498322, 0.33152860403060913, 0.30942821502685547, 0.6882207989692688, -0.1857927441596985, 0.9849187135696411, -0.23808977007865906, 0.4121215343475342, 1.120463490486145, -0.07137982547283173, 1.093715786933899, 0.7052704095840454, -0.09798765182495117, 0.017965640872716904, 0.7733725309371948, -0.1580882966518402, 0.4389231503009796, 0.33568114042282104, 0.19916868209838867, -0.6674618124961853, -0.05039170756936073, -0.3691354990005493, 0.28020381927490234, 0.12218048423528671, -0.24976351857185364, -0.05538830906152725, 0.06347562372684479, -0.009485702961683273, -0.2342100590467453, -0.5160197615623474, 0.6127720475196838, 0.12294378131628036, -0.7708912491798401, 0.38209637999534607, 0.005057850386947393, 0.6934514045715332, -0.6178420782089233, 0.026282235980033875, -0.09626441448926926, 0.08071232587099075, -0.2616761028766632, -0.7154055833816528, 0.13355384767055511, -0.24676959216594696, -0.17191791534423828, -0.21973668038845062, 0.5687052011489868, -0.603803813457489, -0.7361384034156799, 0.11944185942411423, 0.23626630008220673, -0.29346078634262085, -0.25307953357696533, -0.6406930088996887, 0.2565142512321472, 0.02092946507036686, -0.4033811092376709, 0.35571804642677307, 0.2792530953884125, -0.2683185338973999, 0.9045730829238892, 0.6095057129859924, 0.2704981565475464, 0.04496603459119797, 0.02427794225513935, 0.6062705516815186, -0.5853667259216309, -0.5051087737083435, -0.828233003616333, 0.5062636733055115, 0.10089214891195297, -0.29634055495262146, 0.5271579027175903, 0.1919523924589157, 1.1804569959640503, -0.07223358005285263, 0.9425522089004517, 0.16702871024608612, 0.3647031784057617, -0.7230044603347778, 0.7728150486946106, -0.4307219982147217, 0.4830949008464813, -0.4430933892726898, -1.0797319412231445, -0.5945238471031189, 0.6513853073120117, -0.5359526872634888, 0.29912522435188293, 0.711445689201355, 0.6525261998176575, 0.027508292347192764, -0.29662537574768066, 0.29850777983665466, 0.08707699179649353, 0.2794119417667389, 0.5037031173706055, 0.6507511138916016, -0.19976066052913666, 0.6365856528282166, -0.2429046332836151, -0.1354462057352066, -0.3048255145549774, -0.8590406775474548, -1.109217643737793, -0.38809576630592346, -0.3603910505771637, -0.18175211548805237, -0.0392535999417305, 1.1785340309143066, 0.6751917004585266, -0.9793577194213867, 0.06417188793420792, 0.3501940965652466, 0.3872126340866089, -0.34542444348335266, -0.1665935516357422, 0.4360409080982208, -0.18250173330307007, -0.5407447218894958, -0.11598654836416245, 0.4547489285469055, -0.01540290005505085, -0.07933167368173599, -0.1680154800415039, -0.2698734402656555, 0.20409280061721802, 0.6450087428092957, 0.08073649555444717, -0.8622595071792603, -0.516096293926239, -0.011254645884037018, -0.14187563955783844, -0.0566081739962101, 0.662489652633667, -0.6289711594581604, 0.429862916469574, 0.34734830260276794, 0.8827310800552368, 0.1627856343984604, -0.024617435410618782, 0.6728935241699219, -0.5389742255210876, -0.1955314427614212, 0.2072778046131134, 0.3381039500236511, 0.1570187211036682, -0.338286429643631, 0.25426265597343445, -0.015137032605707645, -0.38627004623413086, -0.5833273530006409, 0.3722932040691376, -0.9412935376167297, -0.47388821840286255, 1.4341884851455688, 0.46463456749916077, 0.04605121165513992, 0.18375660479068756, -0.7348641753196716, 0.22494594752788544, -0.5007643103599548, 0.7732301950454712, 1.1491562128067017, -0.28393471240997314, -0.41908082365989685, -0.3910130560398102, 0.4820893704891205, 0.6209051609039307, -0.538502037525177, -0.08936664462089539, 0.6728878021240234, 0.17029821872711182, -0.14819006621837616, 0.6084561347961426, 0.049466367810964584, 0.41359561681747437, -0.4893929362297058, -0.15350797772407532, -0.35988694429397583, -0.2766466438770294, -0.32339584827423096, 0.25948479771614075, 0.4439360499382019, 0.11126240342855453 ]
http://arxiv.org/abs/2406.01021v1
http://arxiv.org/pdf/2406.01021v1
Combining Qualitative and Computational Approaches for Literary Analysis of Finnish Novels
2024-06-03T06:07:44
2024-06-03T06:07:44
Emily Ohman, Riikka Rossi
cs.CL
cs.CL
What can we learn from the classics of Finnish literature by using computational emotion analysis? This article tries to answer this question by examining how computational methods of sentiment analysis can be used in the study of literary works in conjunction with a qualitative or more 'traditional' approach to literature and affect. We present and develop a simple but robust computational approach of affect analysis that uses a carefully curated emotion lexicon adapted to Finnish turn-of-the-century literary texts combined with word embeddings to map out the semantic emotional spaces of seminal works of Finnish literature. We focus our qualitative analysis on selected case studies: four works by Juhani Aho, Minna Canth, Maria Jotuni, and F. E. Sillanp\"a\"a, but provide emotion arcs for a total of 975 Finnish novels. We argue that a computational analysis of a text's lexicon can be valuable in evaluating the large distribution of the emotional valence in a text and provide guidelines to help other researchers replicate our findings. We show that computational approaches have a place in traditional studies on affect in literature as a support tool for close-reading-based analyses, but also allowing for large-scale comparison between, for example, genres or national canons.
[ -0.32195791602134705, -0.5501931309700012, 0.46375057101249695, -0.03413879871368408, -0.3202950358390808, -0.1352614462375641, -0.12341634929180145, -0.5739299654960632, 0.6361040472984314, 0.32466426491737366, -0.5882079005241394, -0.3900592029094696, -0.3474143445491791, 0.4454718828201294, -0.1210947036743164, 0.8082372546195984, -0.14451727271080017, 0.05927795171737671, -0.6179536581039429, -0.24782505631446838, -0.10314217954874039, -0.6529017090797424, -0.008381498977541924, -0.23873578011989594, 0.8775808215141296, 0.033027783036231995, 0.7796727418899536, -0.34511232376098633, 0.667166531085968, 0.30195149779319763, -0.2746039628982544, -0.1619664579629898, -0.6075117588043213, 0.554492175579071, 0.004575536586344242, -0.5562474727630615, 0.06598731875419617, -0.2815861999988556, 0.6593685150146484, 0.19825772941112518, 0.32678619027137756, -0.07880637049674988, -0.10126440972089767, 1.2590663433074951, -0.9246104955673218, -0.050433773547410965, -0.0804005041718483, 0.5441635251045227, -0.2956421971321106, -0.1819266676902771, -0.4222383499145508, -0.6090746521949768, -0.07384616136550903, -0.502686619758606, -0.2940311133861542, -0.039149392396211624, 0.4554266035556793, 0.06533005088567734, -0.41789740324020386, -0.41644442081451416, -0.6522010564804077, 1.05348539352417, -0.5909641981124878, -0.21396417915821075, 0.018337754532694817, -0.04758326709270477, -0.05567400902509689, -0.24889177083969116, -0.6280208826065063, -0.2519153654575348, -0.14708392322063446, 0.2665824294090271, -0.14813268184661865, -0.005861673038452864, 0.2080640196800232, 0.5667699575424194, -0.6228494048118591, -0.23815014958381653, -0.43560636043548584, 0.20438449084758759, 0.8021151423454285, 0.3719121217727661, 0.5667583346366882, -0.42232587933540344, -0.2584330439567566, -0.1110839918255806, -0.5550408959388733, 0.15684489905834198, 0.5689877867698669, 0.08320119231939316, -0.11455673724412918, 0.6722805500030518, 0.08031362295150757, 0.3858630061149597, -0.37068790197372437, 0.12142644822597504, 0.30499574542045593, -0.1440640538930893, -0.06426770985126495, 0.13552026450634003, 1.1706286668777466, 0.35316982865333557, 0.3992166817188263, 0.25073978304862976, -0.16200919449329376, 0.37091222405433655, 0.5939303636550903, -0.5720120668411255, -0.05052177235484123, 0.5968043208122253, -0.617493212223053, -0.53499835729599, -0.36250218749046326, -1.1758991479873657, -0.7939531207084656, -0.30572518706321716, 0.5199790596961975, -0.3684459924697876, -0.5054786801338196, -0.025092897936701775, -0.43962767720222473, 0.32297319173812866, 0.16476599872112274, -0.780475378036499, 0.19645197689533234, 0.6633282899856567, 0.7678858041763306, -0.14823506772518158, -0.09556162357330322, 0.07460196316242218, -0.5003208518028259, -0.4189833700656891, 0.6736882328987122, -0.6152509450912476, -0.4355044364929199, 0.13673922419548035, -0.36952903866767883, -0.2907165586948395, 0.0033089446369558573, 0.7054631114006042, -0.3189055025577545, 0.2843828499317169, -0.22423921525478363, -0.4326036870479584, -0.12903302907943726, 0.3056934177875519, -1.0040488243103027, 1.2049239873886108, 0.13409017026424408, -1.2554582357406616, -0.48080500960350037, -0.5601000189781189, -0.3777909576892853, -0.1728937327861786, -0.04360378533601761, -0.22157344222068787, 0.7863129377365112, -0.16380922496318817, 0.3821578323841095, -0.4002878665924072, -0.07963455468416214, -0.45076674222946167, -0.4937475621700287, 0.5720871090888977, 0.2717098891735077, 0.9294779300689697, 0.4147648513317108, -0.27619287371635437, 0.052881307899951935, -0.2453402727842331, -0.12594401836395264, 0.09866444021463394, 0.4214532971382141, -0.8253511190414429, -0.005039770156145096, 0.4884151518344879, 0.024224255234003067, 0.28183016180992126, -0.6634269952774048, 0.19555625319480896, -0.4362822473049164, 0.1797802895307541, 0.2867831885814667, 0.02348800003528595, 0.47054973244667053, -0.3009023666381836, 0.9756228923797607, -0.20576508343219757, 0.16744175553321838, -0.253888338804245, -0.30822691321372986, -0.5260241627693176, -0.021242225542664528, 0.4764004945755005, 0.4741968810558319, -0.8574089407920837, 0.36208757758140564, 0.1139335185289383, -0.6785642504692078, -0.693305253982544, -0.4753631353378296, 0.16608649492263794, 0.19056639075279236, -0.28991732001304626, -0.23286297917366028, -0.29923683404922485, -0.4642871022224426, -0.5381222367286682, -0.29170355200767517, 0.29074203968048096, 0.14060044288635254, 0.4972464442253113, 0.015433835797011852, 0.810901403427124, -0.5783080458641052, -0.03832577168941498, 0.02717667818069458, 0.25239571928977966, 0.15554960072040558, 0.2956347167491913, 0.777198076248169, -1.0482573509216309, -0.4327874183654785, 0.2745562791824341, -1.069868803024292, -0.002509752754122019, -0.14522068202495575, -0.31450626254081726, 0.02038070559501648, 0.29273897409439087, -0.42295601963996887, 0.40379637479782104, 0.31126996874809265, -0.3583683371543884, 0.9195258617401123, 0.040138889104127884, 0.5416852831840515, -0.898058295249939, 0.29582101106643677, 0.00399356335401535, 0.28712305426597595, -0.7317508459091187, 0.48849600553512573, 0.08416479080915451, -0.36134734749794006, -0.6110134720802307, 0.7383995056152344, -0.1885490119457245, 0.1677028387784958, -0.02057660184800625, -0.15104661881923676, 0.23896260559558868, 0.388611376285553, 0.14899864792823792, 0.14559084177017212, 0.24298155307769775, -0.15619316697120667, 0.4386443495750427, 0.1114695817232132, -0.29085537791252136, 0.7498225569725037, -0.2820327579975128, 0.2433147430419922, -0.4010445773601532, -0.14750023186206818, -1.2967066764831543, -0.04766636714339256, 0.1704697608947754, -0.5342451333999634, 0.1780846267938614, -0.0561615452170372, -0.3467658758163452, -0.015309274196624756, -0.7200649976730347, 0.4122406840324402, 0.410187304019928, -0.042244426906108856, 0.9759258031845093, 0.32140544056892395, -0.7606688141822815, -0.3919980227947235, -0.42838814854621887, 0.20589621365070343, -0.5929862260818481, -0.5055209994316101, 0.041440799832344055, -0.3267330825328827, -0.8002814054489136, -0.030687347054481506, 0.4534641206264496, -0.3304860591888428, 0.15462785959243774, 0.46467190980911255, 0.2758174538612366, -0.04188477247953415, 0.18022622168064117, 0.41539737582206726, 0.009977694600820541, 0.12782342731952667, 0.09828457981348038, 0.01624700240790844, -0.220379039645195, 0.17310498654842377, -0.2797491252422333, 0.7939849495887756, 0.9742280840873718, -0.10506158322095871, 0.5747021436691284, 0.4838869571685791, -0.3696616590023041, 0.00825154222548008, -0.1786668300628662, 0.1823691874742508, -0.34077656269073486, -0.1085829883813858, -0.4703579843044281, -0.9441993236541748, 0.4031923711299896, 0.0022615822963416576, -0.11060838401317596, 0.8035427331924438, 0.6443197131156921, -0.5520949363708496, 0.30609050393104553, 0.6196044087409973, -0.4114156663417816, 0.6314693093299866, -0.1054556593298912, -0.012835727073252201, -0.6369293332099915, -0.04135146364569664, -0.9891847372055054, -0.5429367423057556, -0.4966591000556946, -0.06982415169477463, 0.5912094116210938, -0.07953879237174988, 0.03114059753715992, -0.267514705657959, -0.28266391158103943, 0.5492058396339417, 0.09688345342874527, -0.1281053125858307, 0.07208063453435898, 0.21322618424892426, -0.26568877696990967, -0.25462907552719116, -0.43979859352111816, -0.36839836835861206, 0.7979782819747925, 0.2688565254211426, 0.5222168564796448, 0.032174237072467804, 0.8605822920799255, 0.6923869848251343, 0.1028071716427803, -1.0853490829467773, 0.24013788998126984, -0.12091252952814102, -0.5625808238983154, -0.26263442635536194, -0.41791969537734985, -0.9123845100402832, 0.22615432739257812, -0.46921366453170776, -0.5206608176231384, 0.6369073390960693, -0.20146414637565613, -0.3850351870059967, 0.043282400816679, -0.4924863278865814, 0.9691460728645325, -0.1320696920156479, -0.40914207696914673, -0.3756283223628998, -0.6163825988769531, 0.3876844346523285, -0.05005105957388878, 0.5847498774528503, 0.1500449776649475, 0.22495876252651215, 0.7076053619384766, -0.29214614629745483, 0.8556637763977051, -0.04850116744637489, -0.1911260187625885, 0.4919659495353699, 0.5178791880607605, -0.000721992168109864, -0.44167229533195496, -0.676153838634491, 0.10214431583881378, 0.6451744437217712, -0.410023957490921, -0.6227785348892212, 0.8387932181358337, -0.7540789842605591, 0.256054550409317, -0.7427265048027039, -0.23579655587673187, -0.019725065678358078, 0.005803814623504877, 0.2957998216152191, 0.5089029669761658, -0.6165432333946228, -0.08023816347122192, 0.3447963297367096, -0.1685403436422348, 0.3871798515319824, 0.034720949828624725, -0.2195838838815689, -0.6371230483055115, 0.67080157995224, -0.08104104548692703, 0.08455841988325119, 0.5143530368804932, 0.5746628642082214, -0.33696889877319336, -0.26126158237457275, -0.30097708106040955, 0.22552792727947235, -0.4650501012802124, -0.009832588024437428, -0.3598085045814514, 0.16481490433216095, -0.1226494163274765, -0.4355359673500061, -0.12282058596611023, -0.4798305928707123, -0.29460838437080383, 0.1840084046125412, 0.6664357781410217, 0.9337540864944458, 0.2508929967880249, 0.2699337303638458, -0.8823288083076477, 0.17108482122421265, -0.06851767003536224, 0.2644819915294647, 0.13978557288646698, -0.21155425906181335, -0.41654539108276367, -0.3237987160682678, -0.13258127868175507, -1.1305603981018066, 0.7710884809494019, 0.14243368804454803, -0.3913610279560089, 0.24673321843147278, 0.5410383939743042, 0.1691950112581253, -0.20673049986362457, 0.9002973437309265, 0.385329931974411, -0.8829289674758911, 0.3921859860420227, -0.5832077264785767, 0.5085330009460449, 0.9234021902084351, 0.7768722176551819, -0.7646317481994629, -0.07614816725254059, -0.6490793824195862, -0.5775664448738098, 0.4518067538738251, 0.35585910081863403, 0.14192470908164978, 0.20269407331943512, 0.5170731544494629, 0.1764293611049652, 0.28872549533843994, -0.3381045162677765, -0.05322744697332382, 0.21682021021842957, -0.6878966689109802, -0.35219693183898926, -0.39329326152801514, 0.12291966378688812, 0.08758919686079025, 0.2645009756088257, -0.05975070968270302, 0.39472243189811707, 0.25531303882598877, -0.2463768571615219, -0.20408889651298523, 0.2872057557106018, 0.20324383676052094, 0.1974741816520691, -0.25774484872817993, 0.10419891029596329, -0.1576555073261261, -0.5062887668609619, 0.08607832342386246, -0.24979695677757263, -0.26887258887290955, 0.1667003631591797, 0.43016502261161804, 0.7594256401062012, 0.24209800362586975, -0.6132281422615051, 0.353331059217453, -0.0850749984383583, -0.015420842915773392, -0.5095592141151428, -0.22901321947574615, 0.008411397226154804, 0.26049646735191345, 0.1289590448141098, -0.14209648966789246, 0.5044234395027161, -0.6967674493789673, -0.15624579787254333, 0.12760843336582184, -0.6926546096801758, -0.33604252338409424, -0.06212747469544411, 0.31518375873565674, -0.27396008372306824, 0.39314085245132446, -0.06931312382221222, -0.6673226952552795, 0.8412935137748718, 0.09700614959001541, 1.202653169631958, -0.20172367990016937, 0.3470393121242523, 0.328373521566391, 0.16394518315792084, 0.01920332759618759, 0.5645391345024109, 0.11403141170740128, -0.50514817237854, -0.4581702649593353, -0.8658756613731384, -0.7111697196960449, -0.3024227023124695, -0.6164836883544922, 0.18735097348690033, -0.3885688781738281, -0.10310441255569458, -0.032414861023426056, 0.20365864038467407, -0.29529720544815063, 0.16573360562324524, 0.35826048254966736, 0.4171849489212036, -1.174575924873352, 0.3351890444755554, 0.891426146030426, -0.04179760441184044, -0.15776345133781433, -0.2947288453578949, 0.3356529772281647, 0.125277578830719, 0.1845857799053192, 0.03153933212161064, -0.2110338658094406, -0.15896053612232208, -0.4028078317642212, -0.4306198060512543, 0.5134807229042053, -0.005900582764297724, -0.5946005582809448, 0.3045762777328491, -0.11971194297075272, 0.9394317269325256, -0.3859160542488098, 0.6412973999977112, 0.4095309376716614, 0.42047205567359924, 0.0972047969698906, -0.582087516784668, -0.36802396178245544, -0.8023719191551208, -0.2045237272977829, 0.6456082463264465, -0.5654004812240601, 0.47765421867370605, 0.11271795630455017, -0.021884286776185036, 0.23977069556713104, 0.6393133401870728, -0.008303605020046234, 0.7106861472129822, 0.41479718685150146, 0.3471165597438812, 0.8254786133766174, 0.07045770436525345, 1.3780962228775024, 0.019950883463025093, 0.4486902058124542, 0.5110498070716858, -0.34119296073913574, 1.0542126893997192, 0.3635243773460388, -0.47492852807044983, 0.7127721309661865, 0.7236410975456238, 0.3917318284511566, 0.24785006046295166, 0.4225604236125946, -0.39189860224723816, 0.03716112673282623, -0.11729465425014496, -0.2399085909128189, 0.22417235374450684, 0.33164840936660767, -0.018657462671399117, 0.20844478905200958, 0.31430384516716003, -0.005098167806863785, 0.2127740979194641, -0.3998852074146271, 0.7679853439331055, 0.3825410306453705, -0.36405327916145325, 0.5097932815551758, -0.15424391627311707, 0.526846170425415, -0.6491884589195251, 0.0990586206316948, -0.23054778575897217, -0.019389836117625237, -0.324442595243454, -0.7556236982345581, 0.33331555128097534, 0.1726294606924057, -0.35820475220680237, -0.0493602491915226, 1.009325385093689, -0.30069079995155334, -0.8434170484542847, 0.15561836957931519, 0.17689667642116547, 0.48940223455429077, -0.3583691120147705, -0.4959774911403656, 0.4519346356391907, 0.025477314367890358, -0.2536547780036926, 0.3990609645843506, 0.6681689620018005, 0.08998896926641464, 0.145321786403656, 0.23025710880756378, 0.10543347150087357, -0.4006076753139496, -0.023993689566850662, 0.600517213344574, -1.0707683563232422, -0.5793041586875916, -0.8417108654975891, 0.8205108046531677, 0.21206966042518616, -0.5736585855484009, 0.36619922518730164, 0.255292683839798, -0.0007581649115309119, -0.34649980068206787, 0.8838406205177307, -0.11246267706155777, 0.22563807666301727, -0.498061865568161, 0.7407048344612122, -0.6049031019210815, -0.21814587712287903, -0.8078231811523438, -0.9646164178848267, -0.352994441986084, 0.6368589401245117, -0.34687602519989014, -0.4532422721385956, 0.8415666222572327, 0.4175661504268646, 0.1840025633573532, 0.4915599822998047, 0.1859320104122162, 0.26638126373291016, -0.28435781598091125, 0.4141356945037842, 1.2477738857269287, -0.34223705530166626, -0.3550201952457428, -0.07911759614944458, -0.4768555164337158, -0.2910419702529907, -1.0873181819915771, -0.6003575921058655, -0.6827744841575623, -0.37118300795555115, -0.31098759174346924, 0.08258569240570068, 0.6896930932998657, -0.2504298686981201, -0.6280686259269714, -0.5444285869598389, 0.5711008906364441, 0.3205748498439789, -0.10196233540773392, -0.17586511373519897, 0.45459556579589844, -0.3368387818336487, -0.6529942750930786, 0.12078037112951279, 0.3426459729671478, -0.33017364144325256, -0.3551325500011444, 0.08477721363306046, 0.03922925144433975, 0.20270796120166779, 0.745837390422821, 0.10487032681703568, -0.20461998879909515, 0.22471722960472107, -0.062367793172597885, -0.0003863963356707245, 0.07100685685873032, 1.1052659749984741, -0.72322016954422, 0.8753311038017273, 0.9409864544868469, 0.5251935124397278, 0.7419370412826538, -0.28462257981300354, 0.6333205103874207, -0.31355711817741394, -0.03069949336349964, 0.5297534465789795, 0.31261637806892395, 0.2470293790102005, -0.6813934445381165, 0.416008859872818, 0.13007798790931702, -0.3592376112937927, -0.6800361275672913, -0.016932083293795586, -1.0546971559524536, -0.48025766015052795, 1.0286848545074463, -0.1008259654045105, -0.6661548018455505, 0.1269574761390686, -0.4267594814300537, -0.18135033547878265, -0.19212032854557037, 0.6570800542831421, 0.9469689130783081, -0.048790641129016876, 0.025480909273028374, -0.3187541663646698, 0.3270421028137207, 0.5852906703948975, -0.8420770764350891, 0.11617245525121689, 0.7650406956672668, -0.2600504755973816, 0.35885265469551086, 0.4270360469818115, -0.4530024826526642, 0.016493888571858406, -0.026836518198251724, 0.5157061219215393, 0.38745346665382385, -0.4021186828613281, -1.0587633848190308, 0.41106587648391724, -0.06903920322656631, 0.41056445240974426 ]
http://arxiv.org/abs/2406.01014v1
http://arxiv.org/pdf/2406.01014v1
Mobile-Agent-v2: Mobile Device Operation Assistant with Effective Navigation via Multi-Agent Collaboration
2024-06-03T05:50:00
2024-06-03T05:50:00
Junyang Wang, Haiyang Xu, Haitao Jia, Xi Zhang, Ming Yan, Weizhou Shen, Ji Zhang, Fei Huang, Jitao Sang
cs.CL
cs.CL, cs.CV
Mobile device operation tasks are increasingly becoming a popular multi-modal AI application scenario. Current Multi-modal Large Language Models (MLLMs), constrained by their training data, lack the capability to function effectively as operation assistants. Instead, MLLM-based agents, which enhance capabilities through tool invocation, are gradually being applied to this scenario. However, the two major navigation challenges in mobile device operation tasks, task progress navigation and focus content navigation, are significantly complicated under the single-agent architecture of existing work. This is due to the overly long token sequences and the interleaved text-image data format, which limit performance. To address these navigation challenges effectively, we propose Mobile-Agent-v2, a multi-agent architecture for mobile device operation assistance. The architecture comprises three agents: planning agent, decision agent, and reflection agent. The planning agent generates task progress, making the navigation of history operations more efficient. To retain focus content, we design a memory unit that updates with task progress. Additionally, to correct erroneous operations, the reflection agent observes the outcomes of each operation and handles any mistakes accordingly. Experimental results indicate that Mobile-Agent-v2 achieves over a 30% improvement in task completion compared to the single-agent architecture of Mobile-Agent. The code is open-sourced at https://github.com/X-PLUG/MobileAgent.
[ -0.279367595911026, -0.45414382219314575, 0.6749289631843567, 0.36345699429512024, -0.5127971768379211, 0.10248814523220062, 0.019972627982497215, -0.40536805987358093, 0.32977378368377686, 0.5036119222640991, -0.4175553619861603, -0.3685626685619354, -0.41364163160324097, -0.29205432534217834, -0.07437730580568314, 0.7507652044296265, -0.09995568543672562, -0.06505364924669266, -0.4113749563694, -0.36990928649902344, -0.9831672310829163, -0.35272613167762756, -0.7380487322807312, -0.30008870363235474, 0.5143518447875977, 0.6426096558570862, 0.9443528652191162, 0.5965756177902222, 0.4982593059539795, 0.36197805404663086, 0.3196888864040375, 0.700960636138916, -0.2167339026927948, 0.39486128091812134, -0.11459086835384369, -0.22560524940490723, -0.8651672005653381, -0.34614700078964233, 0.3133966326713562, 0.014152580872178078, -0.14331483840942383, -0.20128239691257477, -0.04753617197275162, 0.6921002864837646, -0.46619242429733276, 0.20148234069347382, -0.4283028841018677, -0.22008484601974487, 0.04948846623301506, -0.10619687288999557, -0.3646456003189087, 0.013652498833835125, 0.06042936444282532, -0.6027946472167969, -0.24434621632099152, -0.3243425488471985, 0.4290129244327545, 0.7486679553985596, -0.7848313450813293, -0.33375364542007446, -0.8755102753639221, 0.4779581129550934, 0.014919073320925236, 0.5136576890945435, 0.5852156281471252, 0.16978801786899567, -0.1119488924741745, -0.7957971692085266, -0.5039175152778625, -0.1997401863336563, 0.004876600578427315, 0.11385289579629898, 0.04788899049162865, -0.0076905507594347, -0.2130012959241867, -0.29639533162117004, -0.5153663158416748, -0.05523515120148659, -0.27434322237968445, -0.1631353348493576, 0.5929946303367615, 0.10420696437358856, 0.10486949235200882, 0.3662475049495697, -0.7319169044494629, 0.17982102930545807, -0.6413500308990479, 0.08964411169290543, -0.17918460071086884, 0.0775832012295723, -0.1816631406545639, 0.507384181022644, -0.26287010312080383, 0.4296395778656006, -0.1815742701292038, -0.38700172305107117, 0.6602714657783508, -0.767246663570404, -0.17585070431232452, 0.019129257649183273, 0.6052267551422119, 0.5856407284736633, -0.279262512922287, -0.40953153371810913, -0.32535919547080994, -0.16013586521148682, 0.6311753988265991, -0.7932184338569641, 0.15854881703853607, 0.4063401520252228, -0.412477970123291, -0.042820610105991364, 0.030123213306069374, -0.31895318627357483, -0.6046520471572876, 0.02202293463051319, 0.4370712637901306, -0.23562386631965637, -0.40911561250686646, -0.014576896093785763, -0.039034489542245865, 0.28723716735839844, 0.5799182057380676, -0.35955649614334106, 0.2630167007446289, 0.6460322141647339, 1.0336275100708008, -0.22951410710811615, -0.4817562401294708, -0.9350252747535706, 0.38965320587158203, -0.07491248100996017, 0.6010632514953613, -0.4275754392147064, -0.7873128652572632, -0.07248649001121521, 0.10159964114427567, -0.17868773639202118, -0.407205730676651, 0.8309823274612427, -0.529267430305481, -0.18129640817642212, -0.23207102715969086, -0.13795243203639984, -0.5225332975387573, 0.289966344833374, -0.7093830704689026, 0.9718927145004272, 0.006989183370023966, 0.008372164331376553, 0.05737632140517235, -0.8907467722892761, -0.8395621180534363, -0.010902614332735538, -0.18672125041484833, -0.5541653633117676, -0.12037956714630127, -0.01367854792624712, 0.34376785159111023, -0.4240582585334778, -0.18074293434619904, -0.025057749822735786, -0.4817701280117035, -0.0925971269607544, -0.047737378627061844, 0.39769697189331055, 0.02728084847331047, -0.6934086084365845, 0.1342114359140396, -0.47895342111587524, -0.018290715292096138, -0.07652632147073746, -0.335122287273407, -0.3973269760608673, 0.3078169822692871, -0.04940085858106613, 0.3916690945625305, 0.5189096927642822, -0.3282720744609833, 0.6005114316940308, 0.20701225101947784, 0.18817348778247833, 0.25863176584243774, -0.13938423991203308, 0.733679473400116, -0.22123640775680542, 0.3220633864402771, 0.09936513751745224, 0.3322444260120392, -0.3572826087474823, -0.7782766222953796, -0.4017601013183594, -0.29927101731300354, 0.0003768442547880113, 0.8371879458427429, -1.077364206314087, -0.033754318952560425, -0.2806262671947479, -0.5739465951919556, -0.248367577791214, 0.33955514430999756, 0.6578919291496277, 0.45405495166778564, 0.33828654885292053, -0.3349185287952423, -0.29910019040107727, -0.5880406498908997, 0.1379128247499466, -0.2512706518173218, 0.1666441559791565, 0.5378156900405884, 0.209565207362175, -0.7032331824302673, 0.6917863488197327, -0.09762503951787949, -0.6887608766555786, 0.11926379054784775, 0.07934592664241791, -0.26265913248062134, 0.6556049585342407, 0.34670326113700867, -1.220112919807434, -0.433788001537323, 0.5069074034690857, -0.8182807564735413, 0.1666310727596283, -0.12356548756361008, -0.07167138159275055, 0.6047348976135254, 0.30865857005119324, -1.0757044553756714, 0.3058694303035736, 0.3590069115161896, -0.38931915163993835, 0.31424856185913086, -0.40637877583503723, 0.09016504138708115, -0.9499166011810303, 0.011004210449755192, -0.31717973947525024, -0.2805913984775543, -0.6995435953140259, 0.20862743258476257, 0.1529487818479538, 0.09228625893592834, -0.430090993642807, 0.4730592370033264, -0.612095832824707, -0.2013363093137741, -0.6159994006156921, 0.3390796184539795, -0.04799768328666687, 0.44090890884399414, 0.12668083608150482, 0.9855185747146606, 0.41025176644325256, -0.6015838980674744, 0.3835255801677704, 0.14900337159633636, 0.37329089641571045, 0.48852425813674927, -0.5022909641265869, 0.6217662692070007, -0.04508863389492035, 0.1320151686668396, -0.953271746635437, -0.09564629197120667, 0.36549752950668335, -0.36673980951309204, -0.02665567211806774, -0.2557169497013092, -0.35132524371147156, -0.022978609427809715, -0.36513009667396545, 0.4383503198623657, 0.4361518621444702, -0.38183048367500305, 1.2208189964294434, 0.4812506139278412, -0.07356920838356018, -0.7226738929748535, -0.33675330877304077, 0.17672330141067505, 0.03828451409935951, -0.817487359046936, 0.5177174210548401, 0.061421383172273636, -0.13231432437896729, 0.1410377323627472, -0.3290356695652008, -0.2801594138145447, -0.0730341449379921, 0.753122866153717, 0.33975929021835327, -0.11403239518404007, 0.33340004086494446, 0.22272416949272156, -0.11806672066450119, -0.10704056918621063, -0.1873481571674347, 0.5283433198928833, -0.11075776070356369, -0.12567639350891113, -0.3798867464065552, 0.36019086837768555, 0.9824000000953674, -0.6295676231384277, 0.472072035074234, 0.682115912437439, -0.29546287655830383, 0.21270635724067688, -0.4993375539779663, -0.015889238566160202, -0.48213231563568115, 0.4417947828769684, -0.8227997422218323, -0.36309194564819336, 0.3875977694988251, -0.20364788174629211, 0.23959922790527344, 0.01976088434457779, 0.7419301867485046, -0.1346108764410019, 1.0841753482818604, 0.4867098331451416, -0.012307364493608475, 0.4961814284324646, -0.25259047746658325, -0.09316948056221008, -0.7236958146095276, -0.7829142808914185, -0.31990766525268555, -0.05037407949566841, -0.3140850365161896, -0.9145186543464661, 0.5585902333259583, -0.10986126959323883, 0.0014114371733739972, 0.3487136662006378, -0.20872020721435547, 0.13867244124412537, 0.571090817451477, 0.3150329291820526, 0.2846756875514984, -0.04709285870194435, 0.28647923469543457, 0.4196101427078247, -0.5736297965049744, -0.5374215841293335, 1.0060011148452759, 0.3969942629337311, 0.6158963441848755, 0.3201638460159302, 0.6235406994819641, 0.4464011788368225, -0.058277677744627, -0.7950125336647034, 0.6242284774780273, 0.09929241985082626, -0.2959281802177429, -0.3975506126880646, 0.030557120218873024, -0.8297907710075378, 0.7236319184303284, 0.07428854703903198, -0.4575461745262146, 0.2785407602787018, 0.11851782351732254, -0.2552727460861206, -0.11214582622051239, -0.9401931762695312, 0.956843376159668, -0.2420274317264557, -0.7626902461051941, -0.5330783128738403, -0.75428307056427, 0.12040157616138458, -0.07175016403198242, 0.09568195790052414, 0.1772415190935135, -0.6779709458351135, 0.20882396399974823, -0.6025364995002747, 0.44771653413772583, -0.5254702568054199, -0.23458553850650787, 0.5120190382003784, -0.008493644185364246, 1.0506809949874878, 0.14646732807159424, -0.028208279982209206, -0.21684414148330688, -0.30302807688713074, -0.3431699573993683, -0.6594523787498474, 0.5506723523139954, -0.544032871723175, -0.25362059473991394, -0.13153211772441864, -0.4357776939868927, -0.08766677230596542, 0.33055874705314636, -0.13539966940879822, 0.570818305015564, -0.10912609100341797, 0.12971970438957214, 0.44099605083465576, 0.21672162413597107, 0.6132351160049438, 0.3835826814174652, -0.12986847758293152, -0.23935948312282562, 1.1662174463272095, 0.008090437389910221, 0.029717357829213142, 0.2912624776363373, -0.36572182178497314, -0.5951170921325684, -0.6564266681671143, -0.9431551098823547, -0.08392348885536194, -0.24683377146720886, -0.13320179283618927, -0.7090921401977539, 0.17858396470546722, -0.022275662049651146, 0.06332956254482269, -0.6097888946533203, -0.18654993176460266, -0.2188514918088913, 0.3297679126262665, -0.05779417231678963, 0.6227244138717651, 0.01485465932637453, 0.694196343421936, -0.7387059330940247, 0.4967341125011444, 0.4453018009662628, 0.1467958688735962, -0.15454871952533722, 0.01226920448243618, -0.44203200936317444, 0.14040228724479675, -0.3564198613166809, -0.8263325691223145, -0.2621680796146393, -0.0072424933314323425, 0.47042927145957947, 0.5432827472686768, -0.22307318449020386, 0.3957259953022003, -0.3497687578201294, 0.5942074656486511, 0.10836917161941528, -0.6578941941261292, 0.16956080496311188, -0.23752504587173462, 0.19422473013401031, 0.39542850852012634, -0.04895171895623207, -0.28654757142066956, -0.11386097222566605, -0.17052224278450012, -0.7206282615661621, 0.696651041507721, 0.2584078311920166, -0.06618815660476685, 0.3760589361190796, 0.14503242075443268, -0.07754139602184296, 0.4538542330265045, -0.23356901109218597, -0.40410029888153076, -0.2704971134662628, 0.07216443866491318, -0.017814483493566513, -0.29426640272140503, -0.04096509516239166, 0.05527648702263832, 0.6878296732902527, -0.11268241703510284, 0.4199584126472473, 0.3666418492794037, -0.5136770009994507, 0.16308903694152832, 0.05215882137417793, 1.2689505815505981, 0.4913106858730316, -0.004426830448210239, 0.1304984986782074, 0.02535182423889637, -0.8176056742668152, 0.3874761760234833, 0.40512946248054504, -0.07223596423864365, 0.14323405921459198, 0.01745576038956642, 0.6332623362541199, -0.268008291721344, -0.670978844165802, 0.5358262062072754, -0.08424131572246552, 0.03274315223097801, -0.27134305238723755, -0.03754639998078346, 0.10024251788854599, 0.7148986458778381, 0.5212308168411255, 0.30470970273017883, 0.40968799591064453, -0.699405312538147, 0.1127268522977829, 0.42085400223731995, -0.37412652373313904, -0.18722665309906006, 0.558610200881958, 0.5632674694061279, -0.7011157274246216, 0.23641729354858398, -0.6359434723854065, -0.5074886679649353, 0.8135077357292175, 0.3308119475841522, 0.7626835107803345, -0.4215202331542969, 0.44628772139549255, -0.07150642573833466, 0.4889009892940521, -0.08572681248188019, 0.5655247569084167, -0.14358706772327423, -0.4170694649219513, -0.39978063106536865, 0.07428373396396637, -0.20753492414951324, -0.206952303647995, -0.22518348693847656, 0.14456817507743835, -0.08509980142116547, -0.2210778146982193, -0.4032828211784363, -0.19510625302791595, -0.520571768283844, 0.26393160223960876, -0.06052767112851143, 0.6945217847824097, -0.06557255238294601, 1.0809742212295532, 1.094862699508667, -0.31602486968040466, -0.5782346725463867, -0.06130708009004593, -0.038531895726919174, -0.4701220989227295, 0.24964919686317444, 0.2143978625535965, -0.5503952503204346, -0.1329360008239746, 0.09288156032562256, -0.603908896446228, 1.2318947315216064, 0.031746163964271545, -0.6004241704940796, -0.09195873141288757, 0.03968515992164612, 0.29240110516548157, -0.4773440361022949, 0.28789618611335754, 0.3372063636779785, 0.6081697344779968, -0.008287169970571995, -1.0964460372924805, 0.21194888651371002, -0.24802806973457336, -0.17390595376491547, 0.3557536005973816, -0.8678373098373413, 0.6477929353713989, -0.6142010688781738, 0.16274797916412354, 0.259596586227417, 0.3976860046386719, 0.09019793570041656, 0.8235039114952087, 0.6706625819206238, 0.2853722870349884, 0.6726651787757874, 0.12736310064792633, 0.5780407190322876, -0.3337630033493042, 0.18074597418308258, 1.2235912084579468, -0.4356624484062195, 0.6286200284957886, 0.45831498503685, 0.2387046366930008, 0.40012893080711365, 0.2821393311023712, 0.3106330633163452, 0.7529714703559875, -0.448292076587677, -0.5840039849281311, 0.015758134424686432, -0.17717139422893524, -0.43302327394485474, 0.7411589622497559, 0.12194803357124329, -0.3160279393196106, -0.05328768491744995, 0.28111493587493896, 0.10888403654098511, -0.3173600733280182, -0.5165795683860779, 0.8325080275535583, -0.18510961532592773, -0.7429014444351196, 0.35542887449264526, 0.1985274851322174, 0.2666265070438385, -0.37970831990242004, -0.29868414998054504, -0.11763788014650345, 0.1547011137008667, -0.2219172716140747, -0.5230185389518738, 0.09700098633766174, -0.415788471698761, -0.2587893009185791, 0.18292856216430664, 1.0031771659851074, -0.4915368854999542, 0.1369299292564392, 0.21555101871490479, 0.8219025135040283, 0.09813374280929565, -0.4903446137905121, -0.45679813623428345, 0.4355138838291168, -0.1705164760351181, -0.01837850920855999, 0.0164474043995142, 0.05840364098548889, -0.20381924510002136, 0.7161321640014648, 0.35303938388824463, -0.3651164174079895, 0.1315295696258545, -0.19559843838214874, 0.8011642694473267, -0.40786436200141907, -0.4384375810623169, -0.7903962135314941, 0.7180211544036865, -0.3233274221420288, -0.16586752235889435, 0.4487259089946747, 0.9128952622413635, 0.4704671800136566, 0.05676494911313057, 0.8157534599304199, -0.3192998468875885, -0.09114780277013779, -0.28801366686820984, 0.5473111271858215, -0.8306360244750977, 0.04424480348825455, -0.027524344623088837, -0.843477725982666, 0.15786316990852356, 0.4702706038951874, 0.1037348061800003, 0.08679120987653732, 0.5757826566696167, 0.8292474150657654, -0.17262406647205353, -0.18427930772304535, 0.2712768018245697, -0.06951827555894852, 0.14997598528862, 0.5193579792976379, 0.6230579614639282, -0.6077765822410583, 0.7191590070724487, -0.185911625623703, -0.162217915058136, -0.4557667672634125, -0.37865445017814636, -0.7641434073448181, -0.7903363108634949, -0.03645063564181328, -0.41381385922431946, 0.32283198833465576, 0.8903788924217224, 0.9069749712944031, -0.022025054320693016, -0.2925122380256653, 0.06153702363371849, 0.38173624873161316, -0.33526819944381714, -0.07615935057401657, 0.17391782999038696, -0.09390141814947128, -0.7481849193572998, 0.699588418006897, 0.5095281004905701, -0.08363264799118042, -0.25183337926864624, -0.5767826437950134, 0.030988464131951332, -0.1388804018497467, 1.0309051275253296, 0.34374675154685974, -0.560665488243103, -0.09645874053239822, -0.058807067573070526, -0.27501386404037476, 0.13252045214176178, 0.749927818775177, -0.665691614151001, 0.5726878046989441, 0.13704733550548553, 0.7948167324066162, 0.5148015022277832, 0.09000536799430847, 0.32375895977020264, -0.44910845160484314, 0.33687400817871094, -0.10229845345020294, 0.10814695060253143, -0.03037678264081478, -0.3512762784957886, 0.7237277626991272, 0.10201709717512131, -0.46968382596969604, -0.8192340135574341, 0.21860657632350922, -1.2110081911087036, -0.05153457820415497, 1.1094944477081299, -0.0630178302526474, -0.08682148158550262, -0.36560168862342834, -0.8136239051818848, 0.14062488079071045, -0.8334130048751831, 0.5091403722763062, 0.2393326610326767, -0.2403932809829712, -0.3643800616264343, -0.5272314548492432, 0.2861490249633789, 0.3615645468235016, -0.9378105401992798, -0.3662106990814209, 0.40872153639793396, -0.03825388848781586, 0.2708323299884796, 0.9067806005477905, 0.19538073241710663, 0.8499139547348022, 0.09658538550138474, 0.13119487464427948, -0.4882882535457611, -0.6825087070465088, -0.08909671008586884, 0.3105411231517792, 0.09856816381216049, -0.842877984046936 ]
http://arxiv.org/abs/2406.06565v1
http://arxiv.org/pdf/2406.06565v1
MixEval: Deriving Wisdom of the Crowd from LLM Benchmark Mixtures
2024-06-03T05:47:05
2024-06-03T05:47:05
Jinjie Ni, Fuzhao Xue, Xiang Yue, Yuntian Deng, Mahir Shah, Kabir Jain, Graham Neubig, Yang You
cs.CL
cs.CL, cs.AI, cs.LG
Evaluating large language models (LLMs) is challenging. Traditional ground-truth-based benchmarks fail to capture the comprehensiveness and nuance of real-world queries, while LLM-as-judge benchmarks suffer from grading biases and limited query quantity. Both of them may also become contaminated over time. User-facing evaluation, such as Chatbot Arena, provides reliable signals but is costly and slow. In this work, we propose MixEval, a new paradigm for establishing efficient, gold-standard LLM evaluation by strategically mixing off-the-shelf benchmarks. It bridges (1) comprehensive and well-distributed real-world user queries and (2) efficient and fairly-graded ground-truth-based benchmarks, by matching queries mined from the web with similar queries from existing benchmarks. Based on MixEval, we further build MixEval-Hard, which offers more room for model improvement. Our benchmarks' advantages lie in (1) a 0.96 model ranking correlation with Chatbot Arena arising from the highly impartial query distribution and grading mechanism, (2) fast, cheap, and reproducible execution (6% of the time and cost of MMLU), and (3) dynamic evaluation enabled by the rapid and stable data update pipeline. We provide extensive meta-evaluation and analysis for our and existing LLM benchmarks to deepen the community's understanding of LLM evaluation and guide future research directions.
[ -0.29351386427879333, -0.604591429233551, 0.2774358093738556, 0.3532750904560089, -0.13922260701656342, 0.42390918731689453, -0.4877375066280365, -0.40321415662765503, 0.07012797892093658, 0.48545151948928833, -0.42899543046951294, -0.451052725315094, -0.46180686354637146, -0.21272805333137512, -0.4558131694793701, 0.6941739916801453, 0.24630089104175568, 0.10656355321407318, -0.3396615982055664, -0.4018109440803528, -0.22121480107307434, -0.6185723543167114, -0.1354368031024933, -0.3302678167819977, 0.2657232880592346, 0.3540613651275635, 0.8480026125907898, 0.40890392661094666, 0.4587123990058899, 0.3929273188114166, -0.14077940583229065, 0.49118947982788086, -0.8480560183525085, 0.1808859258890152, -0.041941456496715546, -0.26201683282852173, -0.3950307369232178, 0.2510796785354614, 0.49255818128585815, 0.8653258085250854, -0.6889387965202332, 0.10208286345005035, 0.1660587340593338, 0.7304019927978516, -0.9152857065200806, -0.12436188757419586, -1.0672798156738281, -0.2290084809064865, -0.24429449439048767, -0.2730277180671692, -0.44328370690345764, -0.49298739433288574, 0.10296444594860077, -0.39799895882606506, -0.12970519065856934, 0.13575203716754913, 0.5308285355567932, 0.14959858357906342, -0.1624118834733963, -0.31095200777053833, -0.5637892484664917, 0.8901278376579285, -0.6914335489273071, 0.586889386177063, 0.13068631291389465, 0.8747564554214478, -0.3107004165649414, -0.7421138882637024, -0.6156117916107178, -0.2418607771396637, 0.31558161973953247, 0.1556587815284729, -0.21318316459655762, -0.2955116629600525, -0.23305785655975342, 0.3996601402759552, -0.29542529582977295, -0.12632447481155396, -0.25688451528549194, -0.06260122358798981, 0.7896513342857361, 0.23485067486763, 0.10598087310791016, -0.08778035640716553, -0.4642651677131653, -0.125357985496521, -0.779047429561615, -0.32601398229599, 0.2152128666639328, 0.2499849796295166, -0.008111312985420227, 0.5076113343238831, -0.3252332806587219, 0.5804712772369385, -0.006154158618301153, -0.2555808424949646, 0.40733814239501953, -0.302528977394104, -0.2528596520423889, -0.16704413294792175, 0.9828580021858215, 0.6514269709587097, 0.23426702618598938, -0.3258054256439209, -0.24542784690856934, -0.026458123698830605, 0.051418423652648926, -0.774964451789856, -0.16069963574409485, 0.1698131561279297, -0.4151979982852936, -0.46726956963539124, -0.134758859872818, -0.7980798482894897, -0.7137325406074524, -0.28879064321517944, 0.3519546389579773, -0.3270323872566223, -0.32457131147384644, 0.056908704340457916, 0.02870502695441246, 0.28073444962501526, 0.683600127696991, -0.5959635972976685, 0.5741975903511047, 1.0239028930664062, 0.7827183604240417, -0.2836654484272003, -0.2246643602848053, -0.6831035614013672, -0.1269015520811081, -0.27002206444740295, 0.9386846423149109, -0.6999193429946899, -0.4380642771720886, 0.11834894120693207, -0.4285948872566223, -0.07524488866329193, -1.1065711975097656, 0.6269428133964539, -0.6692348718643188, 0.23431125283241272, -0.15828517079353333, -0.634405255317688, 0.05717378109693527, 0.3268555998802185, -0.44443005323410034, 1.2320035696029663, 0.07863008975982666, -0.5101853013038635, 0.5869982838630676, -0.3029007315635681, -0.2683548331260681, 0.3801172077655792, -0.16564905643463135, 0.18478260934352875, -0.00011621527664829046, 0.2923639118671417, 0.11778710782527924, -0.44000035524368286, 0.4827421307563782, -0.5865657329559326, -0.35204949975013733, 0.4208104610443115, -0.6233482360839844, 0.6886570453643799, 0.28576841950416565, -0.1940504014492035, 0.15620040893554688, -0.7233115434646606, 0.13794748485088348, -0.19471056759357452, -0.4320894777774811, -0.43448805809020996, 0.35801899433135986, 0.33857181668281555, 0.254876971244812, 0.10882379114627838, -0.2759832739830017, 0.06956018507480621, -0.309095561504364, 0.22242994606494904, 0.8682096600532532, -0.3122805953025818, 0.2570241093635559, -0.4045713543891907, 0.37857967615127563, -0.21549996733665466, 0.043087977916002274, -0.016516637057065964, -0.3755975067615509, -0.9028605222702026, -0.41196975111961365, 0.33087611198425293, 0.4769650995731354, -0.5637186765670776, 0.5697144269943237, -0.4361100196838379, -0.8095434308052063, -1.2529449462890625, 0.4047392010688782, 0.13651017844676971, 0.38721078634262085, 0.37128013372421265, -0.08030224591493607, -0.46116432547569275, -0.6383956074714661, -0.5169118642807007, -0.2947487235069275, -0.20661351084709167, 0.5590866804122925, 0.22494104504585266, -0.19202624261379242, 0.9058420062065125, -0.2840688228607178, -0.07221008837223053, -0.30844011902809143, 0.03151140362024307, 0.30120334029197693, 0.17649683356285095, 0.07917182147502899, -0.5726701021194458, -0.49842262268066406, 0.001100051449611783, -0.7586187124252319, -0.39317840337753296, 0.3189930319786072, -0.21393248438835144, -0.09882624447345734, 0.3733850419521332, -0.37082695960998535, 0.0025231181643903255, 0.6313127279281616, -0.23656806349754333, 0.40653958916664124, -0.017632577568292618, 0.3014669716358185, -0.888428807258606, -0.13301610946655273, -0.1346810907125473, -0.5732027292251587, -0.31884875893592834, 0.3419906198978424, 0.06056147813796997, 0.00353681156411767, -0.5332070589065552, 0.6490354537963867, -0.2734273374080658, -0.05381130054593086, -0.31933945417404175, 0.5950156450271606, -0.046605389565229416, 0.13420435786247253, -0.20203104615211487, 0.8633100390434265, 0.3704524040222168, -0.5188835263252258, 0.45352664589881897, -0.006397052202373743, -0.5767097473144531, 0.6993353962898254, -0.8197290301322937, 0.18256373703479767, 0.13303884863853455, 0.3811053931713104, -0.9573501348495483, -0.13661083579063416, 0.02087949402630329, -0.30847445130348206, -0.04485858231782913, -0.20606794953346252, -0.6095424294471741, -0.05119303613901138, -0.3942641615867615, 0.3114469647407532, 0.7053512930870056, -0.8386987447738647, 0.523326575756073, 0.7123522162437439, 0.07747970521450043, -0.5158339738845825, -0.5457502603530884, 0.22079797089099884, -0.15707352757453918, -1.1207752227783203, 0.32303088903427124, -0.2548939883708954, -0.7937103509902954, -0.2035869061946869, -0.03149431198835373, 0.13435901701450348, 0.06644351035356522, 0.07065852731466293, 0.18848328292369843, -0.2098429948091507, -0.030254146084189415, -0.3462107181549072, -0.09787935018539429, -0.20066654682159424, -0.07149888575077057, 0.6571751832962036, -0.4088349938392639, -0.6640307307243347, -0.13804319500923157, 0.011108708567917347, 0.6238590478897095, -0.16246306896209717, 0.5077043175697327, 0.2762485146522522, -0.1678192913532257, -0.31250008940696716, -1.0350273847579956, -0.04029170796275139, -0.5362536907196045, 0.25863662362098694, -0.1365337073802948, -0.8200303912162781, 0.4735819697380066, -0.21293647587299347, 0.28581494092941284, 0.3480711877346039, 0.8827274441719055, -0.002926559653133154, 0.7344814538955688, 0.19572007656097412, -0.14852194488048553, 0.19212426245212555, 0.20382484793663025, -0.21221034228801727, -0.6952089667320251, -0.23700985312461853, -0.4246782660484314, -0.32864636182785034, -0.5689017176628113, -0.8899813890457153, 0.3522608280181885, -0.0018765762215480208, 0.17033645510673523, -0.04757974296808243, -0.10274241119623184, 0.6405186653137207, 0.3110213875770569, 0.03897013142704964, 0.6321057677268982, -0.14507290720939636, -0.15703845024108887, -0.09594926983118057, -0.5002803802490234, -0.5934273600578308, 1.331571340560913, 0.2338607758283615, 0.8455354571342468, 0.28499799966812134, 0.7057178020477295, 0.5489009618759155, 0.6807815432548523, -0.737866997718811, 0.6315487623214722, 0.01937120221555233, -0.6954246759414673, 0.09976205974817276, -0.5933011770248413, -0.8247294425964355, 1.0291144847869873, -0.22124895453453064, -0.6391054391860962, -0.00186910480260849, -0.1650552600622177, -0.014220836572349072, 0.11159408092498779, -0.6716046929359436, 0.6856133341789246, -0.2247571051120758, -0.6589683294296265, -0.36073189973831177, -0.36939120292663574, 0.6071038246154785, 0.014486357569694519, 0.6046363115310669, -0.3174613118171692, -0.09839971363544464, 0.6905302405357361, -0.7414589524269104, 0.5204557180404663, -0.031913671642541885, -0.03187868371605873, 0.33198413252830505, -0.032430581748485565, 0.40466251969337463, 0.08555890619754791, -0.38037610054016113, 0.037914685904979706, -0.20372653007507324, -0.3660142719745636, -0.6000667810440063, 0.9235743284225464, -0.8839228749275208, -0.4637534022331238, -0.3517310917377472, -0.3985181152820587, -0.38543981313705444, -0.12137816101312637, -0.17394116520881653, 0.40932178497314453, -0.3905051052570343, 0.330984503030777, 0.5025568008422852, -0.076533243060112, 0.3307982385158539, 0.8434022068977356, -0.4846951365470886, -0.6130051016807556, 0.7286840677261353, -0.08286464214324951, 0.2999005615711212, 0.16976261138916016, 0.2672363817691803, -0.2982993423938751, -0.27746373414993286, -0.4273279309272766, 0.022661078721284866, -0.7488276958465576, -0.08359640836715698, -0.6023187637329102, -0.1002102717757225, -0.17446914315223694, -0.04010602831840515, -0.6541233062744141, -0.21859069168567657, 0.16707929968833923, 0.11176013946533203, 0.13190610706806183, 0.4395267069339752, 0.14069963991641998, 0.24861176311969757, -0.6953932046890259, 0.13007774949073792, 0.35587114095687866, 0.30494096875190735, 0.17554046213626862, -0.5748211741447449, 0.11099891364574432, -0.033826470375061035, -0.26315227150917053, -0.7568824291229248, 0.3034728169441223, 0.2154599130153656, 0.8413888216018677, 0.4115685820579529, 0.010864675045013428, 0.9956775903701782, -0.5213778614997864, 0.5108740329742432, 0.0858064740896225, -0.9198988080024719, 0.2940428555011749, -0.26513856649398804, 0.11516988277435303, 1.107029914855957, -0.026474501937627792, -0.7204111218452454, -0.36571526527404785, -0.6171613931655884, -0.9963175058364868, 0.5202910304069519, 0.2527151107788086, 0.19627442955970764, -0.13095197081565857, -0.10296492278575897, 0.20509588718414307, 0.33432313799858093, -0.7702943086624146, -0.1880589723587036, 0.08869637548923492, -0.196434885263443, 0.0731939747929573, -0.08853478729724884, -0.13025733828544617, -0.25354716181755066, 0.5772745609283447, -0.05005282908678055, -0.21207928657531738, -0.12159955501556396, -0.48532336950302124, -0.08626759052276611, 0.46365147829055786, 0.26307740807533264, 0.8552500009536743, -0.35049083828926086, 0.17041060328483582, 0.18969082832336426, -0.21805772185325623, -0.09906808286905289, 0.19190271198749542, -0.08583581447601318, 0.003957211039960384, 0.4592936038970947, 0.4326151907444, 0.4128761887550354, -1.1234365701675415, 0.772666335105896, -0.041947219520807266, -0.1313498169183731, -0.08413758128881454, 0.06984210014343262, 0.274972140789032, 0.2657412588596344, 0.6870683431625366, 0.06597503274679184, 0.20002909004688263, -0.6205743551254272, 0.3419604003429413, 0.5391244888305664, -0.37247520685195923, -0.15412399172782898, 0.43842682242393494, 0.4883398413658142, -0.20666058361530304, 0.5482767224311829, -0.16712963581085205, -0.44362083077430725, 0.10757068544626236, 0.3662269115447998, 0.809492290019989, -0.17462679743766785, 0.019773835316300392, -0.01581399142742157, 0.3311424255371094, -0.01894894242286682, 0.31656700372695923, -0.04706300050020218, -0.5962752103805542, -0.4353317618370056, -0.7899768948554993, -0.6572396755218506, 0.03433515504002571, -0.2841545045375824, 0.4098701477050781, -0.3931159973144531, 0.21254853904247284, -0.08511786162853241, -0.007691818289458752, -0.5930662155151367, -0.03116518259048462, 0.1616203635931015, 0.9623017311096191, -0.6324977278709412, 0.5778069496154785, 0.41614991426467896, -0.15746095776557922, -0.5612560510635376, -0.010368339717388153, 0.22383591532707214, -1.0944918394088745, 0.3955293595790863, 0.2083820402622223, -0.07212407886981964, -0.38222503662109375, -0.5425082445144653, -0.5556573867797852, 0.9980118870735168, 0.16761095821857452, -0.687660813331604, 0.3846397399902344, -0.030728980898857117, 0.6344876289367676, -0.5222564935684204, 0.7487642765045166, 0.4488036632537842, 0.4189237654209137, 0.5530440211296082, -0.8882354497909546, 0.026457959786057472, -0.4456823766231537, -0.35389894247055054, 0.11853571981191635, -0.7199031710624695, 0.5583720803260803, 0.06788424402475357, -0.09752671420574188, -0.2424742728471756, 0.8002821207046509, 0.6442636251449585, 0.4985946714878082, 0.5134361982345581, 0.5262047648429871, 0.9813011884689331, -0.04853874817490578, 0.9830639958381653, -0.4286578297615051, 0.16747181117534637, 1.1347031593322754, -0.6672872304916382, 1.3453209400177002, 0.4374304413795471, -0.5162537097930908, 0.6232012510299683, 0.4696447253227234, 0.07539912313222885, 0.5465829968452454, 0.3158072531223297, -0.3607032299041748, -0.4090014100074768, -0.0818265825510025, -0.5056563019752502, 0.39988812804222107, 0.2653357982635498, -0.14040197432041168, -0.4585294723510742, -0.45589780807495117, 0.0874386802315712, 0.17887216806411743, -0.06264010816812515, 0.7830587029457092, 0.12652239203453064, -0.7351187467575073, 0.7165094614028931, 0.08555634319782257, 0.9037200808525085, -0.5650140643119812, 0.17777691781520844, -0.37773966789245605, 0.34446442127227783, -0.1828146129846573, -0.5222290754318237, 0.07060955464839935, 0.11087379604578018, 0.27720361948013306, -0.11718809604644775, 0.7333811521530151, -0.46246790885925293, -0.559466540813446, 0.312836229801178, 0.8157020807266235, 0.2703563868999481, -0.11998137086629868, -0.6863698363304138, 0.2067999392747879, -0.26489871740341187, -0.0818929448723793, 0.3888609707355499, 0.5298587083816528, 0.03444842994213104, 0.846129298210144, 0.8768858909606934, 0.02287459746003151, 0.050718002021312714, 0.4163462519645691, 1.0763534307479858, -0.5362650752067566, -0.43346500396728516, -1.13617742061615, 0.4116625189781189, -0.27047494053840637, -0.2707193195819855, 0.7964336276054382, 0.7551173567771912, 0.46259063482284546, 0.44743743538856506, 0.7860087156295776, 0.17080536484718323, 0.39881834387779236, -0.290195494890213, 0.7717404365539551, -0.6896887421607971, 0.6374441385269165, -0.39918890595436096, -1.045652151107788, -0.0071497587487101555, 0.3529897928237915, -0.21467919647693634, 0.25525978207588196, 0.4271267354488373, 0.7099435329437256, -0.15890172123908997, 0.09369498491287231, 0.2260187566280365, -0.02967390976846218, 0.3644085228443146, 0.32754915952682495, 1.133022427558899, -0.25401419401168823, 0.7519874572753906, 0.06154794618487358, -0.5144699811935425, -0.5839134454727173, -0.8714224696159363, -0.850082278251648, -0.04256930574774742, -0.28768038749694824, -0.4473249316215515, 0.16131463646888733, 1.122406244277954, 0.8202186822891235, -0.6233725547790527, -0.5301049947738647, 0.1170431524515152, 0.21108844876289368, -0.1630995273590088, -0.24352025985717773, 0.13168461620807648, -0.3992992043495178, -0.5812244415283203, 0.729546070098877, 0.369426429271698, -0.3523626923561096, -0.4950128197669983, -0.294856458902359, -0.2153933346271515, 0.2836773991584778, 0.591575026512146, -0.16756153106689453, -0.8097418546676636, 0.08969505876302719, 0.011957898736000061, -0.31680774688720703, 0.18424780666828156, 0.5618586540222168, -0.8934230804443359, 0.5603988766670227, 0.5290650129318237, 0.6941401958465576, 0.466545045375824, 0.20798926055431366, 0.6556645631790161, -0.5827516317367554, -0.10011017322540283, 0.23429277539253235, 0.29837295413017273, 0.6846545934677124, 0.22217097878456116, 0.5865441560745239, 0.22108450531959534, -0.488838255405426, -0.727453351020813, -0.04850342869758606, -1.004852056503296, -0.11692486703395844, 1.367629885673523, 0.02353537641465664, -0.2541798949241638, -0.025922153145074844, -0.0551830418407917, -0.21041259169578552, -0.5973775386810303, 0.7811253666877747, 0.8042780756950378, 0.22336308658123016, -0.07606436312198639, -0.5394334197044373, 0.2645002007484436, 0.35393834114074707, -0.8893998265266418, 0.2511672377586365, 0.6014796495437622, 0.308271586894989, 0.01794401742517948, 0.7440049052238464, -0.3387601971626282, 0.008204838261008263, -0.015922490507364273, -0.14311137795448303, 0.1741257756948471, -0.015433778055012226, -0.019351830706000328, 0.32661327719688416, 0.21882864832878113, 0.15632949769496918 ]
http://arxiv.org/abs/2406.01013v2
http://arxiv.org/pdf/2406.01013v2
Scalable Ensembling For Mitigating Reward Overoptimisation
2024-06-03T05:46:53
2024-06-18T20:53:08
Ahmed M. Ahmed, Rafael Rafailov, Stepan Sharkov, Xuechen Li, Sanmi Koyejo
cs.LG
cs.LG, cs.CL
Reinforcement Learning from Human Feedback (RLHF) has enabled significant advancements within language modeling for powerful, instruction-following models. However, the alignment of these models remains a pressing challenge as the policy tends to overfit the learned ``proxy" reward model past an inflection point of utility as measured by a ``gold" reward model that is more performant -- a phenomenon known as overoptimisation. Prior work has mitigated this issue by computing a pessimistic statistic over an ensemble of reward models, which is common in Offline Reinforcement Learning but incredibly costly for language models with high memory requirements, making such approaches infeasible for sufficiently large models. To this end, we propose using a shared encoder but separate linear heads. We find this leads to similar performance as the full ensemble while allowing tremendous savings in memory and time required for training for models of similar size.
[ -0.45488548278808594, -0.46779918670654297, 0.27491143345832825, 0.13451306521892548, -0.05205697938799858, 0.27299565076828003, -0.3726345896720886, -0.5215165019035339, 0.427885502576828, 0.7372609972953796, -0.6653937697410583, 0.1751357913017273, -0.6393225193023682, -0.2399890422821045, 0.023035597056150436, 1.1798890829086304, -0.14416393637657166, -0.15516895055770874, -0.4880821108818054, -0.44443371891975403, -0.2619284391403198, -0.6807217597961426, -0.8508903980255127, -0.6376070976257324, 0.6079925894737244, 0.4405629634857178, 0.6902444958686829, 0.6842759847640991, 0.42674490809440613, 0.27913933992385864, 0.13917535543441772, 0.1910361498594284, -0.601477861404419, 0.20191830396652222, -0.2647707760334015, -0.398771196603775, -0.3692883253097534, -0.1322041153907776, 0.697303056716919, 0.6340565085411072, -0.5504202246665955, -0.12840116024017334, 0.1878114640712738, 0.9310028553009033, -1.1048153638839722, 0.12066768109798431, -0.22505350410938263, 0.21147708594799042, 0.000749786093365401, -0.3563207983970642, -0.40013647079467773, -0.5353268980979919, 0.2944411039352417, -0.5296053886413574, -0.20191164314746857, -0.03589585795998573, 0.7747786045074463, 0.5226219892501831, 0.022619623690843582, -0.25301679968833923, -0.7016292214393616, 1.0562174320220947, -0.6316075921058655, 0.37641841173171997, 0.4962734282016754, 0.27693724632263184, 0.1865418404340744, -0.4903624951839447, -0.3129481077194214, -0.1038583517074585, -0.00813094899058342, 0.2316901534795761, -0.042220499366521835, 0.15685498714447021, 0.06720970571041107, 0.17822369933128357, -0.5889402627944946, 0.14840345084667206, -0.28501465916633606, -0.023968489840626717, 0.6535130143165588, 0.08162675052881241, 0.1356130838394165, 0.37337416410446167, -0.4730885326862335, -0.47160080075263977, -0.6222587823867798, 0.18080918490886688, 0.5169048309326172, 0.351828008890152, 0.02544594556093216, 0.2740043103694916, -0.23192650079727173, 0.7124372124671936, 0.29397353529930115, 0.016445092856884003, 0.39902716875076294, 0.01487658265978098, -0.07958988845348358, 0.31626519560813904, 0.5065112709999084, 0.2053971290588379, 0.2768710255622864, -0.4206891655921936, -0.5047919154167175, 0.06735255569219589, 0.5101442933082581, -0.9568592309951782, -0.08135407418012619, 0.2799597978591919, -0.445095956325531, -0.3199908137321472, 0.0853118821978569, -0.779180109500885, -0.42471936345100403, -0.11522029340267181, 0.7194392085075378, -0.10785043239593506, -0.2946924865245819, 0.19042880833148956, -0.28397586941719055, 0.0422007255256176, 0.0053994967602193356, -1.2442582845687866, 0.572647213935852, 0.6632219552993774, 0.8636151552200317, -0.4485722482204437, -0.5966159105300903, -0.7573958039283752, 0.08088675886392593, -0.09700466692447662, 0.5934345722198486, -0.5953577756881714, -0.24085526168346405, 0.13573245704174042, -0.04272221028804779, -0.1841820627450943, -0.6812673211097717, 0.2476838082075119, -0.5644089579582214, 0.21774230897426605, -0.31578516960144043, -0.8194202780723572, -0.10168036818504333, 0.3710955083370209, -0.8393662571907043, 0.7397453784942627, 0.17699621617794037, -0.7649911046028137, 0.320527583360672, -0.6487973928451538, -0.37449711561203003, -0.0241585373878479, -0.18331123888492584, -0.6864128708839417, -0.16536562144756317, 0.24935249984264374, 0.19626958668231964, -0.04481373354792595, 0.12733781337738037, -0.35523128509521484, -0.5104047656059265, 0.25925037264823914, -0.35225430130958557, 0.44725358486175537, 0.1572694480419159, -0.4545101821422577, 0.3613189458847046, -0.5891379117965698, 0.08195091038942337, -0.011445717886090279, -0.5454513430595398, -0.3825213313102722, 0.1178533062338829, -0.00513328006491065, 0.16470779478549957, 0.4336182177066803, -0.6366797685623169, 0.15030236542224884, -0.5093154907226562, 0.655059278011322, 0.7279439568519592, -0.08737743645906448, 0.6877555847167969, -0.5840068459510803, 0.6863824129104614, -0.24189208447933197, 0.20121601223945618, 0.08648199588060379, -0.16219042241573334, -0.6997120976448059, -0.34547159075737, 0.16726677119731903, 0.4496450126171112, -0.6514802575111389, 0.3023262321949005, -0.05226468667387962, -0.22218649089336395, -0.555098831653595, -0.10193289071321487, 0.6746770143508911, 0.058654557913541794, 0.30811452865600586, -0.48515549302101135, -0.5638786554336548, -0.7900882959365845, -0.10128165781497955, 0.017328785732388496, -0.07920069247484207, 0.2688308656215668, 0.4454258680343628, -0.20692166686058044, 1.0484627485275269, -0.4557883143424988, -0.2755489945411682, -0.4471731185913086, 0.3326323628425598, -0.002121022902429104, 0.6708096861839294, 0.3575364351272583, -0.629729688167572, -0.37928712368011475, -0.02572215348482132, -0.4591740667819977, 0.048677943646907806, -0.1889696717262268, -0.17509149014949799, 0.42100444436073303, 0.5432990789413452, -0.5796322822570801, 0.1997080296278, 0.6091264486312866, -0.10655104368925095, 0.31062376499176025, -0.5869245529174805, 0.051661230623722076, -0.6337304711341858, -0.017938921228051186, -0.2714470624923706, -0.3483145236968994, -0.32060158252716064, 0.29561400413513184, 0.13145379722118378, 0.006724223960191011, -0.3234695494174957, 0.34845879673957825, -0.304334819316864, -0.22864355146884918, -0.49128976464271545, -0.12435454875230789, -0.054534535855054855, 0.9571573734283447, 0.43235594034194946, 0.6228112578392029, 0.3753344416618347, -0.5080842971801758, 0.4245569109916687, 0.015337173826992512, 0.020363612100481987, 0.6110111474990845, -0.8446285724639893, 0.03864935785531998, -0.22740665078163147, 0.4573934078216553, -0.5678970217704773, -0.3848370909690857, 0.31653597950935364, -0.41783449053764343, 0.43461906909942627, 0.025937145575881004, 0.013923363760113716, -0.1341603398323059, -0.5427595376968384, 0.712683916091919, 0.5682571530342102, -0.8175172209739685, 0.4999673068523407, 0.7440199255943298, -0.04975507780909538, -0.6642360091209412, -0.6352065205574036, -0.3004724979400635, -0.3811819553375244, -0.4203399419784546, 0.5190069079399109, 0.061685193330049515, -0.012722393497824669, 0.07785051316022873, -0.04028264060616493, -0.1520606279373169, -0.12889933586120605, 0.2420201301574707, 0.1733071208000183, -0.010867935605347157, 0.3191521465778351, -0.27906134724617004, -0.24834537506103516, 0.08487607538700104, -0.6075072288513184, 0.5788634419441223, -0.16181735694408417, -0.4169705808162689, -0.1051153764128685, 0.40021800994873047, 0.6559419631958008, -0.4609352946281433, 1.0621305704116821, 0.427757203578949, -0.5358949303627014, -0.23571652173995972, -0.3722814917564392, -0.4071715772151947, -0.46821320056915283, 0.523104190826416, 0.09940110892057419, -0.9728218913078308, 0.5330079197883606, 0.22017811238765717, 0.25775524973869324, 0.004707771819084883, 0.46589359641075134, 0.035126473754644394, 1.133737564086914, 0.5951974391937256, -0.1725558638572693, 0.6265473365783691, -0.11986237019300461, 0.030804114416241646, -0.5501951575279236, -0.24086856842041016, -0.3270394802093506, -0.29748713970184326, -0.48594388365745544, -0.4148446023464203, 0.24387772381305695, -0.07194285094738007, -0.4175872802734375, 0.2823672890663147, -0.4441862106323242, 0.617805540561676, 0.783991277217865, 0.33582666516304016, -0.07217737287282944, 0.044060513377189636, 0.11612208187580109, 0.01374119147658348, -0.9395014643669128, 0.05704807862639427, 0.9953709244728088, 0.39979088306427, 0.9626144766807556, -0.02129301056265831, 0.8954434394836426, 0.18577037751674652, -0.025344224646687508, -0.6049841046333313, 0.11709065735340118, -0.13365693390369415, -0.406924843788147, -0.7751711010932922, -0.6614304780960083, -1.003642201423645, 0.36565980315208435, -0.15031097829341888, -0.7998587489128113, 0.21696540713310242, 0.44067901372909546, -0.864481508731842, 0.3067486584186554, -0.4151686429977417, 1.0801841020584106, -0.22361929714679718, -0.5445809960365295, -0.5038907527923584, -0.6680369973182678, 0.184471994638443, 0.08133023232221603, 0.21015223860740662, 0.38045060634613037, 0.18244391679763794, 0.922899603843689, -0.6377147436141968, 0.8139881491661072, -0.12711942195892334, 0.08414607495069504, 0.12669123709201813, -0.17938755452632904, 0.8525999784469604, -0.18267707526683807, 0.3037334680557251, -0.25008901953697205, -0.1227881908416748, -0.5552629828453064, -0.7376541495323181, 0.6815068125724792, -0.9766399264335632, -0.24242156744003296, -0.4960886538028717, -0.7059040665626526, -0.32544299960136414, -0.21495656669139862, 0.26592397689819336, 0.5513463616371155, 0.04621779918670654, 0.18460536003112793, 1.0515257120132446, -0.39343661069869995, 0.4234673082828522, 0.2877848744392395, -0.167618989944458, -0.5691680908203125, 1.332574725151062, 0.13033758103847504, 0.6214392185211182, 0.471829891204834, 0.2797310948371887, -0.39698442816734314, -0.11556217074394226, -0.44872039556503296, 0.0937754213809967, -0.463848352432251, 0.0434037409722805, -0.4867245554924011, -0.3236401379108429, -0.11867121607065201, -0.4242418110370636, -0.787385880947113, -0.4924677610397339, 0.012960701249539852, 0.018191002309322357, 0.2804661691188812, 0.6981309652328491, -0.24900445342063904, 0.3668059706687927, -0.7849757075309753, -0.0704115703701973, 0.6397925019264221, 0.49318957328796387, 0.2802666425704956, -0.5387731194496155, -0.5754021406173706, 0.07714203000068665, -0.1557326763868332, -0.6429547071456909, 0.6347264051437378, 0.18630017340183258, 0.6812906861305237, 0.5719568133354187, 0.30058926343917847, 0.7680789232254028, -0.35454678535461426, 0.3125188648700714, 0.36612141132354736, -0.8084657788276672, 0.18059612810611725, -0.06855427473783493, 0.45825257897377014, 0.48105165362358093, 0.4393270015716553, -0.6748422980308533, -0.3365449905395508, -0.5483086109161377, -1.068999171257019, 1.0390268564224243, 0.08482138812541962, -0.2662845849990845, 0.1469915211200714, -0.058976735919713974, 0.10380355268716812, 0.2748202085494995, -0.6637426614761353, 0.12204702198505402, -0.27240461111068726, -0.13047777116298676, -0.14605504274368286, -0.21011438965797424, -0.1876610666513443, -0.050607405602931976, 0.812393844127655, -0.03537251427769661, 0.1611577272415161, -0.013437382876873016, -0.1805979460477829, -0.5154660940170288, 0.1867300271987915, 0.6400181651115417, 0.5153627395629883, -0.4564034044742584, 0.1418376863002777, 0.17044568061828613, -0.3031896650791168, 0.05402267724275589, -0.13710685074329376, -0.08758091926574707, -0.28558796644210815, 0.28799566626548767, 1.0186938047409058, 0.5358694195747375, -0.8528675436973572, 0.4763326346874237, 0.0821741446852684, -0.18254192173480988, -0.30968067049980164, -0.05102992802858353, 0.1618206948041916, 0.4083828628063202, 0.11755090206861496, 0.18780049681663513, -0.0670165866613388, -0.556443989276886, 0.41293221712112427, 0.41766679286956787, -0.6655528545379639, -0.06390498578548431, 0.4750274121761322, 0.3155086040496826, -0.4374363422393799, 0.5434632897377014, -0.28081268072128296, -0.7769665718078613, 0.6837846040725708, 0.4907868504524231, 0.7714836597442627, -0.17705442011356354, 0.2821197807788849, 0.40743789076805115, 0.1781146079301834, -0.5880270600318909, 0.010592405684292316, -0.3153257369995117, -0.8438940644264221, -0.40861931443214417, -0.5972824692726135, -0.5456968545913696, -0.14995208382606506, -0.9720661640167236, -0.28438714146614075, -0.4213961958885193, -0.021974865347146988, -0.23879091441631317, -0.26995527744293213, -0.27940380573272705, -0.06649267673492432, 0.2119738608598709, 0.35458123683929443, -0.8869732618331909, 0.8731175065040588, 0.5576239228248596, -0.5312883257865906, -0.6754142045974731, -0.03206416964530945, -0.15589120984077454, -0.7244172096252441, 0.6182433366775513, 0.24486097693443298, -0.20839878916740417, -0.14029796421527863, -0.3129960298538208, -0.9417848587036133, 0.8025428056716919, 0.32313022017478943, -0.7128258943557739, -0.08552952110767365, 0.042633093893527985, 0.30126428604125977, -0.3287809193134308, 0.43448248505592346, 0.7047827243804932, 0.28968340158462524, 0.15476462244987488, -1.0623174905776978, -0.06198237091302872, 0.09094328433275223, -0.08492580056190491, 0.41540253162384033, -0.5894716382026672, 1.0908292531967163, -0.04858674854040146, -0.15717445313930511, -0.21646365523338318, 0.5092917084693909, 0.565901517868042, 0.12171858549118042, 0.6694782376289368, 0.7237370610237122, 0.6319031715393066, 0.24006883800029755, 0.8980735540390015, -0.05501608923077583, 0.5172640085220337, 1.0744179487228394, -0.26822930574417114, 1.052531123161316, 0.6966508626937866, -0.3279183804988861, 0.33380475640296936, 0.5329123139381409, 0.510806143283844, 0.9047794342041016, 0.31224915385246277, -0.1826086789369583, -0.6003001928329468, 0.005175173748284578, -0.42285627126693726, 0.15448030829429626, 0.2069915235042572, -0.0886618047952652, -0.33748874068260193, 0.1797679364681244, -0.2883259952068329, 0.17151810228824615, -0.5605988502502441, 0.5969017744064331, -0.04100188612937927, -0.9749771356582642, 0.6313355565071106, -0.10994766652584076, 1.0107263326644897, -0.6129809617996216, -0.09934347122907639, -0.17025816440582275, 0.6151738166809082, -0.21420949697494507, -0.48514410853385925, 0.4095391631126404, -0.29821985960006714, -0.17113488912582397, -0.47163525223731995, 0.39991483092308044, -0.8374090790748596, -0.2730739414691925, 0.4128221273422241, 0.23293434083461761, 0.03684714809060097, -0.10725489258766174, -0.48398932814598083, 0.057027991861104965, -0.04615264758467674, -0.22305899858474731, 0.6740221381187439, 0.16837924718856812, -0.16751651465892792, 0.8406232595443726, 0.36625370383262634, 0.11199161410331726, 0.21004655957221985, 0.09842786937952042, 0.7005211114883423, -0.3982307016849518, -1.1445400714874268, -0.8870934247970581, 0.15741416811943054, -0.11343280225992203, -0.20933522284030914, 0.5394555330276489, 0.3018549978733063, 1.1213480234146118, -0.07400888949632645, 0.5823058485984802, 0.15461261570453644, 0.5096579194068909, -0.39995715022087097, 0.8582959175109863, -0.6358623504638672, 0.06812231987714767, -0.17626126110553741, -0.617067813873291, 0.006212157197296619, 0.9369223713874817, -0.009865688160061836, -0.13437071442604065, 0.5344799757003784, 0.7415638566017151, 0.054765354841947556, 0.06600973755121231, 0.4199746549129486, -0.18231071531772614, -0.03865955024957657, 0.9522449970245361, 0.9234326481819153, 0.013106039725244045, 0.5240215063095093, -0.2612954080104828, -0.34092414379119873, -0.38284212350845337, -0.6267886757850647, -0.7876697778701782, -0.37743380665779114, -0.31966495513916016, -0.11896814405918121, 0.49881497025489807, 1.1610393524169922, 0.8661479353904724, -1.0846081972122192, -0.485554575920105, -0.3781347870826721, 0.023051466792821884, -0.6552472114562988, -0.20269064605236053, 0.24794481694698334, -0.45441293716430664, -0.6042787432670593, 0.14718936383724213, 0.34386956691741943, -0.24296818673610687, -0.6194477081298828, -0.732926070690155, -0.05442141741514206, 0.2231309860944748, 0.3295340836048126, 0.6540392637252808, -0.5055779218673706, -0.3835091292858124, -0.23596538603305817, -0.13854216039180756, -0.08134055137634277, 0.8546132445335388, -0.885912299156189, 0.35818812251091003, 0.6302249431610107, 1.1059932708740234, 0.6158370971679688, -0.03718509152531624, 0.8057665228843689, -0.8516116738319397, 0.2818402647972107, 0.3387323319911957, 0.44876548647880554, 0.15352500975131989, -0.29307740926742554, 0.30684414505958557, 0.14425767958164215, -0.8157472610473633, -0.8815121054649353, 0.348052978515625, -0.6892029643058777, -0.4115108549594879, 0.8921258449554443, -0.39293813705444336, -0.24754266440868378, 0.02983350120484829, -0.003598463488742709, 0.3168626129627228, -0.557705819606781, 0.9523835778236389, 0.6803284883499146, -0.14772318303585052, -0.2170410454273224, -0.3122153580188751, 0.5285414457321167, 0.7542499303817749, -0.6929041147232056, 0.07280413806438446, 0.24139699339866638, 0.04122442752122879, 0.12385633587837219, 0.5514643788337708, 0.12707310914993286, 0.5209032297134399, 0.15009047091007233, 0.36166563630104065, -0.1846301108598709, -0.4609728157520294, -0.49008694291114807, 0.36346468329429626, 0.050852030515670776, -0.6040247678756714 ]
http://arxiv.org/abs/2406.06564v1
http://arxiv.org/pdf/2406.06564v1
Revolutionizing Large Language Model Training through Dynamic Parameter Adjustment
2024-06-03T05:40:34
2024-06-03T05:40:34
Kaiye Zhou, Shucheng Wang
cs.LG
cs.LG, cs.AI, cs.CL
In the era of large language models, the demand for efficient use of computational resources has become critically important. Although parameter-efficient fine-tuning techniques have achieved results comparable to full fine-tuning, their application during the pre-training phase poses significant challenges. Specifically, employing parameter-efficient strategies at the onset of pre-training can severely compromise efficiency, especially in larger models. In this paper, building upon the fine-tuning method LoRA, we introduce a novel parameter-efficient training technique that frequently alters trainable part of parameters, facilitating effective pre-training. Our method not only achieves memory reductions and computational overhead comparable to current state-of-the-art parameter-efficient algorithms during the pre-training phase but also maintains accuracy levels comparable to those of full pre-training. We provide both theoretical analyses and empirical evidence to demonstrate the effectiveness of our approach.
[ -0.46147972345352173, -0.9374961256980896, 0.3738659918308258, -0.07494224607944489, -0.437500923871994, -0.006555458530783653, -0.587297260761261, -0.3101147711277008, 0.027804646641016006, 0.3964824378490448, -0.5386060476303101, -0.364554226398468, -0.6224492788314819, -0.3080171048641205, -0.26804763078689575, 0.7368393540382385, -0.1319514811038971, -0.08611681312322617, 0.3983668088912964, -0.33506935834884644, -0.2507982552051544, -0.4285738468170166, -0.9198127388954163, -0.20848728716373444, 1.1097999811172485, 0.33675095438957214, 0.6970338225364685, 0.7453518509864807, 0.3297809958457947, 0.36692044138908386, -0.07576067000627518, 0.35416504740715027, -0.8815633654594421, 0.20262321829795837, -0.11801175773143768, -0.4969847798347473, -0.5675443410873413, -0.17327310144901276, 1.1384248733520508, 0.8897300958633423, -0.328511506319046, 0.2891945242881775, 0.11616210639476776, 0.7978782653808594, -0.9646497964859009, 0.10918014496564865, -1.0838186740875244, -0.1676201969385147, -0.389988511800766, -0.553301990032196, -0.3319934010505676, -0.2047651708126068, -0.07678697258234024, -0.8512512445449829, -0.06465379148721695, -0.307902991771698, 1.0576094388961792, 0.5576804876327515, -0.08616254478693008, 0.10162904113531113, -0.9777641892433167, 0.7982093095779419, -0.8239042162895203, 0.6357021927833557, 0.24205435812473297, 0.3209550976753235, -0.26244381070137024, -0.6854879260063171, -0.3418915569782257, -0.0310357678681612, 0.2893688380718231, -0.39902958273887634, -0.031453486531972885, 0.15080195665359497, 0.5036409497261047, -0.02930319495499134, -0.08466112613677979, 0.5746254324913025, -0.19666297733783722, 0.04569269344210625, 0.35014209151268005, 0.15143734216690063, 0.09211128205060959, 0.533039391040802, 0.3293505311012268, -0.211270272731781, -0.763843297958374, 0.004456327296793461, 0.5916972756385803, 0.6711595058441162, 0.04559095948934555, 0.17140130698680878, -0.3829355537891388, 1.026748538017273, 0.2390843629837036, -0.27053096890449524, 0.09549573063850403, -0.012793387286365032, -0.2505928874015808, -0.09073386341333389, 0.4847201406955719, -0.1602819412946701, 0.332969605922699, 0.13112391531467438, -0.17667730152606964, -0.11788544803857803, 0.28608056902885437, -1.1711480617523193, -0.21591342985630035, -0.040112316608428955, -0.11836361140012741, -0.4073132574558258, -0.2406555563211441, -0.6514539122581482, -0.27350693941116333, -0.50046306848526, 0.5537720322608948, -0.33138009905815125, -0.042281292378902435, 0.36746567487716675, 0.45751142501831055, 0.1152743250131607, 0.594764232635498, -1.1040295362472534, 0.02736559323966503, 0.44570791721343994, 0.599777102470398, 0.14599576592445374, -0.5050895810127258, -1.137550711631775, 0.32635995745658875, -0.5131985545158386, 0.6285857558250427, -0.8045738935470581, -0.02560528554022312, -0.10434972494840622, -0.2514260411262512, -0.14577502012252808, -0.5283135175704956, 0.13426342606544495, -0.764531135559082, -0.11357147991657257, -0.2805776000022888, -0.16922011971473694, 0.014590469188988209, 0.19384612143039703, -0.6197640299797058, 0.9838029742240906, 0.0838298574090004, -0.6152713894844055, 0.38155344128608704, -0.6899728775024414, -0.4835837781429291, -0.3276274800300598, 0.019568869844079018, -0.5273051261901855, 0.22775797545909882, 0.3526800572872162, 0.4385261833667755, -0.19890166819095612, -0.02780184894800186, -0.2398676574230194, -0.5172079801559448, 0.13518118858337402, -0.33454248309135437, 0.4829210340976715, 0.16603419184684753, -0.1985263079404831, 0.22794729471206665, -1.0336946249008179, 0.23149079084396362, 0.0695403665304184, -0.6420863270759583, -0.38384249806404114, 0.04579580947756767, -0.392904132604599, -0.06421682983636856, 0.35962560772895813, -0.11708736419677734, 0.42022696137428284, -0.7637880444526672, 0.3886815309524536, 0.7638549208641052, -0.17253999412059784, 0.35349389910697937, 0.10653215646743774, 0.5351666808128357, -0.22738192975521088, 0.2551150918006897, -0.20656108856201172, 0.1627252995967865, -1.0239261388778687, -0.488456130027771, 0.6566599011421204, 0.2988133132457733, -0.5963595509529114, 0.47044482827186584, -0.09920027107000351, -0.6748461723327637, -0.42160800099372864, 0.3233116865158081, 0.2326989471912384, 0.288695752620697, 0.40511175990104675, -0.002466802252456546, -0.566129744052887, -0.5248083472251892, -0.46855083107948303, -0.05280853435397148, 0.2878837585449219, -0.03856358677148819, 0.18415586650371552, -0.08209285885095596, 0.5846219658851624, -0.6452520489692688, 0.036138761788606644, -0.16766200959682465, 0.29667389392852783, 0.263619989156723, 0.6106037497520447, 0.5594403743743896, -0.4876481294631958, -0.5931774973869324, 0.039866603910923004, -0.2901654839515686, -0.07602766901254654, -0.08066099882125854, -0.25811636447906494, 0.116876021027565, 0.8805265426635742, -0.3512824773788452, 0.2714204490184784, 0.6322375535964966, -0.1054408997297287, 0.47545352578163147, -0.6255983114242554, 0.14658059179782867, -0.8462531566619873, 0.16198627650737762, -0.3835422396659851, -0.20331917703151703, -0.6657138466835022, 0.31091272830963135, 0.01579423062503338, -0.04574021324515343, -0.5169496536254883, 0.5879283547401428, -0.6642820239067078, 0.24962672591209412, -0.4841252565383911, -0.1095246896147728, -0.14313286542892456, 0.42944085597991943, -0.3280172646045685, 0.7476618885993958, 0.7005914449691772, -0.7870059013366699, 0.2013707309961319, -0.014414503239095211, -0.594306230545044, 0.278385192155838, -0.5435083508491516, 0.3288515508174896, -0.19952605664730072, 0.19967840611934662, -0.6155856251716614, -0.16785800457000732, 0.0913938581943512, -0.039976902306079865, 0.3796323537826538, -0.14090202748775482, -0.6798518300056458, 0.005928940139710903, -0.15156565606594086, 0.5737088322639465, 0.4588261544704437, -0.6354378461837769, 0.8328907489776611, 0.14106157422065735, -0.06058495491743088, -0.585469126701355, -0.30131301283836365, -0.09299849718809128, -0.40235254168510437, -0.30839791893959045, 0.3079785704612732, -0.06926438957452774, -0.014432510361075401, -0.4299187660217285, -0.03532171621918678, -0.16667687892913818, 0.42434948682785034, -0.18422164022922516, -0.08528084307909012, -0.32148703932762146, 0.07309109717607498, 0.24863433837890625, -0.31050172448158264, -0.24897824227809906, -0.11528696864843369, 1.0840035676956177, 0.06946403533220291, -0.45229825377464294, -0.6831862330436707, 0.03393861651420593, 0.6372119784355164, -0.6664367318153381, 1.0475186109542847, 0.6240765452384949, -0.3179938495159149, -0.3843270540237427, -0.6083685755729675, -0.16716744005680084, -0.5558677315711975, 0.8457798957824707, -0.4621924161911011, -0.7406713366508484, 0.6112813353538513, -0.3157138526439667, 0.17552758753299713, 0.0935148298740387, 0.49852821230888367, 0.0700683668255806, 1.1955822706222534, 0.6579555869102478, -0.022830376401543617, 0.9385223984718323, -0.13904286921024323, 0.3253127634525299, -0.6231797337532043, 0.11437280476093292, -0.7904400825500488, -0.4291037619113922, -0.46755340695381165, -0.6047831177711487, 0.3710343837738037, 0.33960357308387756, -0.6273503303527832, 0.18108054995536804, -0.026469524949789047, 0.6844578981399536, 0.37123268842697144, 0.19569918513298035, 0.1933777928352356, 0.0012548381928354502, 0.21743358671665192, -0.006079365033656359, -0.7366853952407837, -0.2136775553226471, 0.8808128833770752, 0.28166162967681885, 0.8040593862533569, -0.009132759645581245, 0.5709145665168762, -0.16975019872188568, -0.07051876932382584, -0.6591160893440247, 0.7148098349571228, -0.42479798197746277, -0.24794965982437134, -0.696088969707489, -0.37220147252082825, -1.0255781412124634, 0.2188112586736679, -0.35413944721221924, -0.7640565633773804, 0.13252511620521545, 0.6540838479995728, -0.6815959215164185, 0.5993770956993103, -0.6032248735427856, 0.8129034638404846, -0.336300253868103, -0.4851614236831665, -0.618503987789154, -0.37329909205436707, -0.14115391671657562, -0.609230101108551, -0.03195439279079437, -0.3073166310787201, -0.19746483862400055, 0.673596978187561, -0.4884721338748932, 0.7790092825889587, -0.5716094970703125, -0.3499091863632202, -0.10119114816188812, 0.04665156453847885, 0.968095600605011, -0.08242418617010117, -0.4200817346572876, 0.01788948103785515, -0.03715571388602257, -0.6617969870567322, -0.9788052439689636, 0.5330625176429749, -0.6619528532028198, -0.5090546607971191, -0.10349402576684952, -0.6792008876800537, -0.677885115146637, 0.31443288922309875, -0.017119111493229866, 0.5053601264953613, -0.3209317624568939, 0.3503485321998596, 0.761637806892395, -0.5646940469741821, 0.21746838092803955, 0.5826160907745361, -0.2553507089614868, -0.12619154155254364, 0.8572470545768738, 0.17018891870975494, 0.527384340763092, 0.39772558212280273, 0.3604147136211395, -0.025153903290629387, -0.9690960049629211, -0.23188866674900055, 0.35059937834739685, -0.49931415915489197, -0.008397729136049747, -0.4604519009590149, -0.11317851394414902, -0.09837858378887177, -0.2878654897212982, -0.7521524429321289, -0.1396963894367218, -0.38185805082321167, 0.1839814931154251, 0.22165217995643616, 0.09559275954961777, 0.18173757195472717, 0.8281461000442505, -0.6436670422554016, 0.35492682456970215, 0.42339572310447693, 0.5775920152664185, -0.01461759302765131, -0.759503960609436, -0.5533945560455322, 0.08114024251699448, 0.11476559191942215, -0.31625089049339294, 0.1835249811410904, 0.5944252610206604, 0.4626729488372803, 0.5883368253707886, -0.11987103521823883, 1.1465038061141968, -0.6468395590782166, 0.5191080570220947, 0.09663088619709015, -0.9854379296302795, 0.6588956117630005, -0.6423832774162292, 0.5095037221908569, 0.8111909627914429, 0.11945603042840958, -0.11403274536132812, -0.13581500947475433, -0.33691665530204773, -0.8907822966575623, 0.6794278025627136, -0.12423762679100037, 0.5163488984107971, 0.5249102711677551, 0.6135200262069702, 0.11092788726091385, 0.09881202131509781, -0.2823367714881897, -0.08694171905517578, 0.06588403135538101, -0.16314895451068878, -0.2267455905675888, -0.31814831495285034, 0.011091568507254124, -0.6996711492538452, 0.8646736145019531, -0.3535533547401428, -0.13516224920749664, -0.619515597820282, -0.10322705656290054, -0.08869022876024246, 0.26840391755104065, 0.5924617052078247, 1.0745967626571655, -0.18504080176353455, -0.07288289815187454, 0.5804897546768188, -0.3200419545173645, 0.09225431084632874, 0.19338379800319672, -0.07391910254955292, -0.29124078154563904, 0.15300311148166656, 1.2324914932250977, 0.519737720489502, -0.7557254433631897, 0.10396896302700043, 0.05640455335378647, -0.1962529420852661, -0.19541774690151215, 0.5858517289161682, -0.0003655264445114881, 0.24472126364707947, 0.07580375671386719, -0.12510059773921967, -0.44212523102760315, -0.5515258312225342, -0.05816884711384773, 0.40189629793167114, -0.11394256353378296, -0.31849318742752075, 0.5348016619682312, 0.11988292634487152, -0.3270662724971771, 0.4814893901348114, 0.1992809772491455, -0.1876661628484726, 0.18953704833984375, 0.47185033559799194, 0.5816596150398254, -0.5839256048202515, 0.07147815078496933, 0.3894202411174774, 0.14107410609722137, -0.20437094569206238, 0.2621050179004669, 0.17638196051120758, -0.8340103626251221, -0.7141310572624207, -0.8608309030532837, -0.2408902794122696, 0.43142232298851013, -0.6693799495697021, 0.5236877202987671, -0.7384644150733948, -0.13183143734931946, 0.13322493433952332, -0.1472853422164917, -0.5607411861419678, 0.285867840051651, -0.03553915023803711, 0.8604592084884644, -0.5328207015991211, 1.2686954736709595, 0.7760681509971619, -0.06466928124427795, -0.9999463558197021, 0.14931733906269073, -0.3528810143470764, -0.8424263000488281, 0.5840193629264832, -0.16285556554794312, -0.44958654046058655, 0.252746045589447, -0.5512415766716003, -1.092935562133789, 0.66130530834198, 1.018969178199768, -0.7778300642967224, -0.20062658190727234, 0.2143075168132782, 0.6346431970596313, -0.03375310078263283, -0.07804308831691742, 0.7370306253433228, 0.6145976185798645, -0.010833820328116417, -0.850916862487793, -0.0890779197216034, -0.08772537857294083, 0.09404120594263077, 0.6132112145423889, -0.6485101580619812, 0.765120804309845, -0.04807749763131142, 0.021544188261032104, 0.06395455449819565, 0.8727282881736755, 0.11788547784090042, -0.2570357024669647, 1.0100523233413696, 0.38178810477256775, 1.001479983329773, 0.03036930225789547, 0.6059156656265259, -0.49710002541542053, 0.14007006585597992, 1.288598895072937, -0.29694080352783203, 1.003745675086975, 0.5498462915420532, -0.1730235069990158, 0.3952745795249939, 0.44798481464385986, 0.21217955648899078, 0.4196334183216095, 0.37045660614967346, -0.26384806632995605, -0.5474711060523987, 0.16037461161613464, -0.32255104184150696, 0.7558488845825195, 0.301224946975708, -0.053823214024305344, -0.20364956557750702, 0.1155935525894165, 0.2246858924627304, 0.09857161343097687, -0.3751908242702484, 0.6284176707267761, -0.18009993433952332, -0.5732203722000122, 1.1241952180862427, 0.15412653982639313, 0.570284903049469, -1.0770267248153687, 0.13610665500164032, -0.011887169443070889, 0.41542062163352966, -0.04139493405818939, -0.12906497716903687, 0.16102994978427887, 0.19702474772930145, -0.00717770354822278, -0.2045871913433075, 0.3536408543586731, -0.3808017373085022, -0.49615907669067383, 0.21811820566654205, 0.2939043939113617, -0.060842107981443405, -0.3569290339946747, -0.6868425607681274, 0.4042291045188904, -0.042666319757699966, -0.3500714898109436, 0.5106368660926819, 0.45959171652793884, 0.1754976212978363, 0.5006554126739502, 0.6901147961616516, 0.45829343795776367, 0.014741956256330013, 0.34112176299095154, 1.057283878326416, -0.6147136092185974, -0.6996637582778931, -0.7949109077453613, 0.4394257366657257, 0.09863763302564621, -0.3804977834224701, 0.4237779378890991, 0.38617798686027527, 0.8079459071159363, 0.1257152557373047, 0.5414454936981201, 0.12636376917362213, 0.5835949778556824, -0.8640096187591553, 0.8030287027359009, -0.8029358386993408, 0.4128676950931549, -0.4322558045387268, -1.0088649988174438, -0.3694894313812256, 0.617438793182373, -0.35706034302711487, 0.14501391351222992, 0.5989390015602112, 1.0270991325378418, -0.2595826983451843, -0.3233065903186798, 0.40026986598968506, 0.5050012469291687, 0.42674145102500916, 0.17613333463668823, 0.7167574167251587, -0.2487107515335083, 0.3401723802089691, -0.17574390769004822, -0.185639426112175, -0.20659087598323822, -1.0871704816818237, -0.8645362854003906, -0.5532197952270508, -0.40271613001823425, -0.253334105014801, 0.4557611048221588, 1.015481948852539, 0.9109662771224976, -0.8219882845878601, -0.16027376055717468, 0.17484749853610992, -0.39190584421157837, -0.20938773453235626, -0.05449702963232994, 0.5451886057853699, -0.5311430096626282, -0.8208324909210205, 0.5758484601974487, 0.08892197161912918, -0.1193629801273346, -0.37522026896476746, -0.02941671386361122, -0.24164016544818878, 0.30981212854385376, 0.7259606719017029, 0.4667232632637024, -0.4276907444000244, -0.4198828339576721, -0.4008098840713501, 0.18413177132606506, 0.26997676491737366, 0.8797869682312012, -0.5487381815910339, 0.2978074550628662, 0.37446191906929016, 0.8392923474311829, 0.6459880471229553, 0.09844771772623062, 0.6200748085975647, -0.6402249932289124, 0.5524653792381287, -0.06511253863573074, 0.13054239749908447, 0.2874840199947357, -0.16015625, 0.2595827579498291, -0.012483901344239712, -0.36910203099250793, -1.1150528192520142, 0.2342257797718048, -1.0064820051193237, -0.3301903009414673, 0.9906198978424072, 0.08787912130355835, -0.19742321968078613, 0.17962543666362762, -0.33579471707344055, 0.38635221123695374, -0.23418720066547394, 0.8391462564468384, 0.41390150785446167, -0.032605674117803574, -0.014635724946856499, -0.48336702585220337, 0.5044491291046143, 0.6222622394561768, -1.0845389366149902, 0.17486901581287384, 0.3233325183391571, 0.30220460891723633, -0.2898622751235962, 0.517121434211731, 0.07323042303323746, -0.004574430175125599, -0.3007892668247223, -0.09414463490247726, -0.195434108376503, -0.44538432359695435, -0.2837875783443451, 0.1265423446893692, 0.4986068606376648, -0.09252825379371643 ]
http://arxiv.org/abs/2406.01006v1
http://arxiv.org/pdf/2406.01006v1
SemCoder: Training Code Language Models with Comprehensive Semantics
2024-06-03T05:36:57
2024-06-03T05:36:57
Yangruibo Ding, Jinjun Peng, Marcus J. Min, Gail Kaiser, Junfeng Yang, Baishakhi Ray
cs.CL
cs.CL, cs.AI, cs.SE
Code Large Language Models (Code LLMs) have excelled at tasks like code completion but often miss deeper semantics such as execution effects and dynamic states. This paper aims to bridge the gap between Code LLMs' reliance on static text data and the need for thorough semantic understanding for complex tasks like debugging and program repair. We introduce a novel strategy to train Code LLMs with comprehensive semantics, encompassing high-level functional descriptions, local execution effects of individual statements, and overall input/output behavior, thereby linking static code text with dynamic execution states. We begin by collecting PyX, a clean code corpus of fully executable samples with functional descriptions and execution tracing. We propose training Code LLMs to write code and represent and reason about execution behaviors using natural language, mimicking human verbal debugging. This approach led to the development of SemCoder, a Code LLM with only 6.7B parameters, which shows competitive performance with GPT-3.5-turbo on code generation and execution reasoning tasks. SemCoder achieves 81.1% on HumanEval (GPT-3.5-turbo: 76.8%) and 54.5% on CRUXEval-I (GPT-3.5-turbo: 50.3%). We also study the effectiveness of SemCoder's monologue-style execution reasoning compared to concrete scratchpad reasoning, showing that our approach integrates semantics from multiple dimensions more smoothly. Finally, we demonstrate the potential of applying learned semantics to improve Code LLMs' debugging and self-refining capabilities.
[ -0.10974612832069397, -0.867883563041687, 0.7018090486526489, 0.06878818571567535, -0.2470635026693344, 0.2119661122560501, -0.44126763939857483, -0.3635331392288208, 0.22080986201763153, 0.7955896258354187, -0.49303385615348816, -0.8471390008926392, -0.5056445002555847, -0.08142522722482681, -0.28814050555229187, 0.9846982359886169, -0.28675878047943115, -0.21887029707431793, -0.162125363945961, 0.09465541690587997, -0.3874344527721405, -0.6414337754249573, -0.1838463991880417, -0.19497497379779816, 0.5172332525253296, 0.5700958371162415, 0.5111843347549438, 0.6497990489006042, 0.49256932735443115, 0.33309847116470337, 0.09859386086463928, 0.09474965184926987, -0.5682200193405151, 0.1590874344110489, -0.0033305883407592773, -0.3557549715042114, -0.47520679235458374, -0.3736952543258667, 0.05772547423839569, 0.6130568981170654, -0.15155231952667236, 0.17014849185943604, 0.017739102244377136, 0.3818345367908478, -0.6489554047584534, 0.08356338739395142, -0.7290900349617004, 0.24698811769485474, -0.15942662954330444, -0.4886189103126526, -0.2878306806087494, -0.25358638167381287, -0.2948478162288666, -0.3894270360469818, 0.013133552856743336, -0.38373202085494995, 0.626787543296814, 0.43464261293411255, -0.512670636177063, -0.5770127177238464, -0.3504524827003479, 0.6512410044670105, -0.9266642332077026, -0.21292196214199066, 0.28964921832084656, 0.14511562883853912, -0.05270018056035042, -0.7522459626197815, -0.3567731976509094, -0.42846348881721497, 0.017282454296946526, 0.022324392572045326, 0.33745861053466797, 0.15914925932884216, 0.5589622855186462, 0.36935487389564514, -0.3086346983909607, 0.0436943843960762, -0.4454280436038971, -0.1424584686756134, 0.5858988165855408, 0.40788859128952026, 0.5070602893829346, -0.05568742752075195, -0.6489715576171875, 0.3553139567375183, -0.5695826411247253, -0.23181186616420746, 0.3746137022972107, 0.0683681070804596, -0.1486923098564148, 0.4245358109474182, -0.10768574476242065, 0.5618019104003906, -0.4448332190513611, 0.054231058806180954, 0.29513564705848694, -0.05327104404568672, -0.30770939588546753, 0.310991495847702, 0.40709930658340454, 0.1314546763896942, 0.11023011803627014, -0.32305389642715454, -0.1796879768371582, 0.30755048990249634, 0.5764839053153992, -0.8390504717826843, -0.20157687366008759, 0.1522124856710434, -0.39666226506233215, -0.5654190182685852, -0.03677664324641228, -0.584514319896698, -0.4526048004627228, -0.7810256481170654, 0.504084587097168, -0.6171337366104126, -0.3122097849845886, 0.4038918912410736, 0.1479237824678421, 0.5503754615783691, 0.3275909423828125, -0.7736772894859314, 0.2808564603328705, 0.9895819425582886, 0.7173255681991577, -0.2375156730413437, -0.41356709599494934, -0.5062174797058105, 0.37625107169151306, -0.2564803957939148, 0.605776309967041, -0.7216333746910095, -0.26567399501800537, -0.007159102708101273, -0.014617236331105232, -0.13843773305416107, -0.5040385127067566, 0.4290824234485626, -0.27201274037361145, -0.32305049896240234, -0.015595614910125732, -0.6074076294898987, 0.006450268439948559, 0.2540251314640045, -0.2262004166841507, 0.9650823473930359, -0.0830623060464859, -1.0022751092910767, 0.13046972453594208, -0.6142401099205017, -0.7309099435806274, -0.1713344007730484, -0.2433677613735199, -0.18092671036720276, 0.4002380967140198, -0.07774647325277328, 0.5201177597045898, 0.06539791822433472, 0.33757877349853516, -0.501457929611206, -0.7644540071487427, 0.2601786255836487, -0.15004685521125793, 0.7459301352500916, 0.2846318185329437, -0.6885865330696106, 0.14824385941028595, -0.8280383348464966, 0.20625530183315277, 0.07197646051645279, -0.29282090067863464, -0.1960492879152298, 0.03932053595781326, -0.29816097021102905, 0.13954900205135345, 0.4272129535675049, -0.3074376583099365, 0.26473262906074524, -0.4129631519317627, 0.5072835087776184, 0.8099527955055237, -0.10137011855840683, 0.11019980162382126, -0.026982372626662254, 0.5411978960037231, 0.02132495306432247, 0.0920577347278595, -0.45309385657310486, 0.16645637154579163, -1.1070696115493774, -0.35507524013519287, -0.11136981099843979, 0.5948556065559387, -0.5996348857879639, 0.38142022490501404, 0.08927091211080551, -0.3302362859249115, -0.1151125580072403, 0.2990599572658539, 0.2855137288570404, 0.40742161870002747, 0.3056400716304779, -0.20888476073741913, -0.5969770550727844, -0.8915550708770752, -0.43772369623184204, 0.06879857182502747, 0.13375286757946014, 0.13250364363193512, 0.6376389265060425, -0.5755425691604614, 0.5139702558517456, -0.578646719455719, -0.017117733135819435, -0.40749040246009827, 0.19019751250743866, 0.4759788513183594, 0.4278118908405304, 0.036746855825185776, -0.3011128008365631, -0.16020119190216064, -0.18954919278621674, -0.6568595170974731, -0.23074333369731903, -0.16320501267910004, -0.3644702136516571, 0.2668740153312683, 0.6181700825691223, -0.21493256092071533, 0.3897355794906616, 0.5154716968536377, -0.3328038156032562, 0.3299553692340851, -0.5913234353065491, -0.01030912809073925, -1.0256212949752808, 0.16511234641075134, -0.5296698212623596, -0.1578938364982605, -0.4156738817691803, 0.27659618854522705, 0.061787303537130356, -0.338287889957428, -0.2849048376083374, 0.1295069456100464, -0.5306441187858582, -0.24016816914081573, -0.3390374779701233, -0.06584195792675018, -0.27836427092552185, 0.6113680005073547, 0.033682357519865036, 0.45010867714881897, 0.5259178280830383, -0.5732323527336121, 0.31553319096565247, -0.012987608090043068, -0.43823665380477905, 0.18483082950115204, -0.8259204030036926, 0.5226753354072571, -0.046192750334739685, -0.04684700444340706, -0.8859310150146484, -0.21112185716629028, -0.19250410795211792, -0.2761765420436859, 0.44006261229515076, -0.15112197399139404, -0.601356029510498, -0.12224867194890976, -0.29736924171447754, 0.09761643409729004, 0.4891173839569092, -0.530457079410553, 0.32253894209861755, 0.42795008420944214, -0.10245536267757416, -0.4032812714576721, -0.6217724680900574, 0.2779020667076111, -0.25268781185150146, -0.5478724241256714, 0.11415364593267441, 0.1333114057779312, -0.08264826238155365, -0.2401900589466095, -0.3331388235092163, -0.21108995378017426, 0.5239367485046387, 0.38254573941230774, 0.2802591919898987, -0.040454499423503876, 0.19953468441963196, 0.005799084901809692, -0.36132073402404785, 0.13013915717601776, -0.10174031555652618, 0.5732412934303284, -0.36788439750671387, -0.469406396150589, -0.18147946894168854, 0.11103478074073792, 0.34090420603752136, -0.36459535360336304, 0.4850221872329712, 0.6188845634460449, -0.06893328577280045, -0.2676204741001129, -0.35317978262901306, -0.1460527926683426, -0.45771485567092896, 0.38832786679267883, -0.3286551237106323, -1.0357577800750732, 0.26246732473373413, -0.34271350502967834, 0.012209014967083931, 0.21269014477729797, 0.7139400243759155, 0.019846508279442787, 0.9986349940299988, 0.5804976224899292, 0.09833864867687225, 0.21476325392723083, -0.40905916690826416, 0.3033891022205353, -0.6594228744506836, -0.17682063579559326, -0.47579044103622437, -0.3632303476333618, -0.44495129585266113, -0.7814825177192688, 0.16630561649799347, 0.28277647495269775, -0.491849809885025, 0.3727252781391144, -0.5247089266777039, 0.5959725379943848, 0.3035741448402405, 0.1456698626279831, 0.21928179264068604, 0.10142610222101212, -0.2970907986164093, -0.09390338510274887, -0.516284167766571, -0.6780064105987549, 0.7531948089599609, 0.5108059644699097, 1.1408259868621826, 0.0002520893176551908, 1.1694564819335938, 0.09598694741725922, 0.10022197663784027, -0.6090440154075623, 0.5807238221168518, -0.0318848118185997, -0.3525983691215515, 0.07074201107025146, -0.583570122718811, -0.5797474980354309, 0.12922999262809753, 0.20509515702724457, -0.5923422574996948, -0.3054462969303131, 0.21762721240520477, -0.08267561346292496, 0.1259227842092514, -0.6213351488113403, 1.1989542245864868, -0.6717303395271301, -0.5260087251663208, -0.5721077919006348, -0.6689971089363098, 0.38099879026412964, 0.1910717785358429, 0.2580845057964325, -0.37093299627304077, -0.40115052461624146, 0.28367993235588074, -0.6027753949165344, 1.130358338356018, -0.28784751892089844, -0.31182900071144104, 0.2312558889389038, 0.3711673617362976, 0.4932902753353119, 0.2668680250644684, 0.10049349814653397, 0.17247086763381958, 0.26036304235458374, -0.4876002371311188, -0.4084525406360626, 0.7720084190368652, -0.6239043474197388, -0.3388589322566986, -0.4244554936885834, -0.3936759829521179, -0.2841581106185913, 0.09490877389907837, 0.05168376490473747, 0.7869709730148315, 0.025929803028702736, 0.08475808054208755, 0.7962379455566406, -0.721020519733429, 0.15834295749664307, 0.5035826563835144, -0.10793029516935349, -0.2876722812652588, 0.7549129724502563, -0.36013394594192505, 0.08990102261304855, 0.31983646750450134, 0.008455655537545681, 0.003092491999268532, -0.33163192868232727, -0.1956196129322052, 0.2330237627029419, -0.7548421025276184, -0.30461716651916504, -0.7665655016899109, 0.003178612096235156, -0.07627405226230621, -0.37487003207206726, -0.23106519877910614, -0.43946966528892517, 0.00006160281918710098, 0.01793958805501461, 0.19776412844657898, 0.576601505279541, 0.12053581327199936, -0.04086862504482269, -0.8378991484642029, 0.2746365964412689, 0.12995198369026184, 0.4341137707233429, -0.08335158973932266, -0.4388100802898407, -0.22385892271995544, -0.09110534191131592, -0.25465768575668335, -0.7896425127983093, 0.21934270858764648, 0.07063009589910507, 0.5077551603317261, 0.023896586149930954, 0.12370937317609787, 0.8148643970489502, -0.5205510258674622, 0.5742892026901245, 0.1756083071231842, -1.1671404838562012, 0.893374502658844, -0.3088271915912628, 0.42237263917922974, 0.7054778337478638, 0.04879464581608772, -0.5188026428222656, -0.636772632598877, -0.6005280613899231, -0.9786564111709595, 0.6217111945152283, -0.06471004337072372, 0.6545800566673279, -0.4951481521129608, 0.3309352993965149, 0.04824268817901611, 0.210927352309227, -0.39224839210510254, 0.3102153241634369, -0.03437519818544388, -0.42538216710090637, 0.23307405412197113, -0.3833048343658447, -0.02639036439359188, -0.3721465468406677, 0.5463119745254517, -0.49195924401283264, 0.4926217794418335, 0.13767026364803314, -0.5816679000854492, 0.3549824059009552, 0.3221100866794586, 0.7786890864372253, 0.8915925621986389, 0.005563534330576658, 0.4893300235271454, 0.4432694613933563, -0.11423987150192261, -0.11899768561124802, -0.2930872440338135, 0.3332407772541046, -0.11795442551374435, 0.6232237219810486, 0.7066994905471802, 0.6020748019218445, -1.0062241554260254, 0.5496104955673218, 0.08472757041454315, -0.12696225941181183, -0.5139850378036499, 0.41263362765312195, 0.2879842519760132, 0.14936889708042145, -0.21755830943584442, -0.14100635051727295, 0.24771234393119812, -0.7963476777076721, 0.20737579464912415, 0.13282272219657898, -0.4807054400444031, -0.23458801209926605, 0.5013399124145508, 0.16903157532215118, 0.2431471049785614, 0.6047316789627075, -0.06016697362065315, -0.7999007105827332, 0.8837383985519409, 0.6223549842834473, 0.7635666728019714, 0.12114997208118439, 0.1598755270242691, 0.42871788144111633, 0.13853345811367035, 0.08752717077732086, 0.5884103775024414, -0.37418633699417114, -0.3734991252422333, -0.7091092467308044, -0.7952746152877808, -0.2809300422668457, -0.18379667401313782, -0.5030888319015503, 0.4641779065132141, -0.6545899510383606, 0.25470513105392456, -0.4482785165309906, 0.07794954627752304, -0.2823813855648041, -0.09638485312461853, 0.2268391102552414, 1.0818449258804321, -0.31251367926597595, 0.9529696702957153, 0.8068719506263733, -0.3346075117588043, -0.8835142254829407, -0.1354384571313858, -0.1625632345676422, -0.8638421893119812, 0.9483093023300171, 0.4435180425643921, -0.08290363848209381, -0.11906875669956207, -0.6315414905548096, -0.4960850775241852, 0.9679117798805237, 0.5292335748672485, -0.5458464622497559, 0.11325554549694061, 0.07123806327581406, 0.4908452332019806, -0.29541879892349243, 0.19530582427978516, 0.5272471308708191, 0.24028900265693665, 0.2513468563556671, -0.5877308249473572, 0.06957390159368515, -0.15098200738430023, 0.2681380808353424, 0.465302973985672, -0.4453187584877014, 0.5749800801277161, -0.5144299268722534, 0.016232619062066078, 0.13040626049041748, 0.31577757000923157, 0.21393251419067383, 0.2865011692047119, 0.32944586873054504, 0.65594482421875, 0.7116734385490417, 0.055665504187345505, 1.1535485982894897, -0.6444874405860901, 0.5838865041732788, 1.2306108474731445, -0.4348840117454529, 0.7584347724914551, 0.2784328758716583, 0.04158183932304382, 0.5803985595703125, 0.33183369040489197, 0.17986389994621277, 0.33296990394592285, 0.5630462169647217, -0.18395371735095978, -0.5185161828994751, 0.198341503739357, -0.3707587420940399, 0.5429743528366089, 0.19536776840686798, -0.42076051235198975, -0.24430020153522491, -0.15708264708518982, 0.4189109802246094, 0.10178879648447037, -0.14705470204353333, 0.7756454944610596, 0.19140374660491943, -0.3295838236808777, 0.6804720759391785, -0.011866812594234943, 0.5391296744346619, -0.6079781651496887, -0.05908004567027092, -0.34192270040512085, 0.578777015209198, -0.35572028160095215, -0.44865909218788147, 0.6588740348815918, 0.19660186767578125, 0.15703372657299042, -0.2801017463207245, 0.9580195546150208, -0.3722696900367737, -0.3840036392211914, 0.26113033294677734, -0.0051260958425700665, 0.21280115842819214, 0.10016116499900818, -0.5939019322395325, 0.2798997461795807, -0.13826484978199005, 0.02406241185963154, 0.24591641128063202, 0.5966064929962158, 0.2744302749633789, 0.3826259970664978, 0.412509560585022, 0.04154643416404724, -0.03287817910313606, 0.08761005103588104, 0.8691579699516296, -0.7856521606445312, -0.35845428705215454, -0.8869534730911255, 0.40602797269821167, -0.32465702295303345, -0.1502087265253067, 0.6040574312210083, 0.7092810869216919, 0.6445983648300171, -0.06836400926113129, 0.6805805563926697, -0.18931753933429718, 0.4430803656578064, -0.8227159380912781, 0.39871716499328613, -0.3414950966835022, 0.5037696361541748, -0.16839471459388733, -0.9091445207595825, -0.20550546050071716, 0.9824442267417908, -0.41082683205604553, -0.009978527203202248, 0.6795124411582947, 0.7332596778869629, -0.10474887490272522, -0.06270869076251984, 0.39513975381851196, 0.4116511940956116, 0.24958522617816925, 0.9357344508171082, 1.1229348182678223, -0.09477683901786804, 0.35288161039352417, -0.1269957274198532, -0.21315619349479675, -0.28280308842658997, -1.0306875705718994, -0.9925251007080078, -0.04785407707095146, -0.4042576253414154, -0.36126717925071716, 0.06584890186786652, 0.9930976629257202, 0.4377869963645935, -0.6460134983062744, -0.34537333250045776, -0.19218190014362335, -0.04740671068429947, 0.055872928351163864, -0.18135808408260345, 0.06191229820251465, -1.1049474477767944, -0.2032211869955063, 0.18642254173755646, 0.5753480195999146, -0.42117029428482056, -0.16122886538505554, -0.2657129168510437, 0.24121809005737305, -0.01829143986105919, 0.7052438259124756, -0.05815969035029411, -0.43384280800819397, -0.2933998107910156, -0.04711151123046875, -0.2972445785999298, -0.1884976327419281, 1.3353261947631836, -0.5928378105163574, 0.1888941079378128, 0.4831823706626892, 0.892238974571228, 0.5357152819633484, -0.35903382301330566, 0.50751793384552, -0.5003135204315186, 0.1524071842432022, 0.22488263249397278, 0.33892732858657837, 0.09014234691858292, -0.23510096967220306, 0.6409537196159363, 0.18419940769672394, -0.5840404033660889, -0.7344895601272583, 0.3091806173324585, -0.7321280241012573, -0.4844515323638916, 1.2318024635314941, -0.17626097798347473, -0.2667236626148224, 0.054513756185770035, -0.5019832253456116, 0.10021253675222397, 0.16665351390838623, 0.6923977732658386, 0.4115638732910156, -0.05870874226093292, -0.09826430678367615, -0.8767986297607422, 0.30987250804901123, 0.34524405002593994, -0.9942665100097656, 0.17520222067832947, 0.6426273584365845, 0.39143693447113037, -0.1655338704586029, 0.770110011100769, -0.3255203366279602, 0.17595155537128448, -0.1238630935549736, 0.11255446076393127, -0.3048468232154846, -0.21533142030239105, -0.4076386094093323, 0.030637750402092934, 0.2302941083908081, 0.12268537282943726 ]
http://arxiv.org/abs/2406.00999v1
http://arxiv.org/pdf/2406.00999v1
Seeing the Forest through the Trees: Data Leakage from Partial Transformer Gradients
2024-06-03T05:15:04
2024-06-03T05:15:04
Weijun Li, Qiongkai Xu, Mark Dras
cs.LG
cs.LG, cs.CL, cs.CR, I.2.7; I.2.11
Recent studies have shown that distributed machine learning is vulnerable to gradient inversion attacks, where private training data can be reconstructed by analyzing the gradients of the models shared in training. Previous attacks established that such reconstructions are possible using gradients from all parameters in the entire models. However, we hypothesize that most of the involved modules, or even their sub-modules, are at risk of training data leakage, and we validate such vulnerabilities in various intermediate layers of language models. Our extensive experiments reveal that gradients from a single Transformer layer, or even a single linear component with 0.54% parameters, are susceptible to training data leakage. Additionally, we show that applying differential privacy on gradients during training offers limited protection against the novel vulnerability of data disclosure.
[ -0.10038840770721436, -0.7562171816825867, 0.13002240657806396, -0.03922303020954132, 0.18509703874588013, 0.2749289870262146, 0.2678018808364868, -0.454895943403244, -0.2480170577764511, 0.7287157773971558, -0.7360159158706665, -0.2689492404460907, -0.8689188361167908, -0.3467099666595459, -0.838518500328064, 1.1999073028564453, 0.02826753631234169, 0.01752796396613121, -0.08617816120386124, -0.4896659553050995, -0.11786720156669617, -0.7460654377937317, -0.5680803656578064, -0.12876230478286743, 0.48709961771965027, -0.002369566820561886, 0.5983516573905945, 0.46451708674430847, 0.6156197190284729, 0.3438853919506073, 0.10734224319458008, -0.6894297003746033, -0.6055129170417786, 0.39076241850852966, -0.018176216632127762, -1.1218619346618652, -0.29871687293052673, -0.06306687742471695, 0.7928057909011841, 0.6754050254821777, -0.08480986952781677, 0.19603021442890167, 0.27923470735549927, 1.1819474697113037, -0.5766295194625854, -0.07696011662483215, -0.8438073992729187, 0.42799997329711914, -0.4000547230243683, 0.047309137880802155, -0.3432247042655945, -0.20893719792366028, 0.2612416446208954, -0.3803178668022156, 0.6071043014526367, -0.17425382137298584, 0.6929425597190857, 0.3788386881351471, -0.21517828106880188, -0.04629050940275192, -0.8902774453163147, 0.7745069861412048, -0.1358792930841446, 0.11253700405359268, 0.38659214973449707, 0.8545019626617432, 0.2441800832748413, -0.7363443970680237, -0.29582569003105164, -0.2055087834596634, -0.250737726688385, -0.003401817986741662, -0.6189470887184143, 0.13088180124759674, 0.5180479884147644, 0.6971097588539124, -0.4020787477493286, 0.09835978597402573, -0.20294612646102905, -0.08311884105205536, 0.5750253796577454, 0.11927635222673416, 0.3148884177207947, 0.07160279154777527, -0.4257352650165558, -0.4686795175075531, -0.7949686050415039, 0.19643177092075348, 0.9418873190879822, 0.021626286208629608, -0.24179528653621674, 0.32662534713745117, 0.16735170781612396, 0.5254174470901489, -0.3367235064506531, 0.2593335807323456, 0.012246960774064064, -0.25327885150909424, -0.6568444967269897, -0.34599927067756653, 0.5511308312416077, -0.10546199232339859, 0.18728338181972504, -0.26625683903694153, -0.3066219687461853, -0.16166183352470398, 0.13038724660873413, -0.5922209024429321, -0.4819750487804413, 0.23977313935756683, -0.3191168010234833, -0.5445712804794312, 0.2005210667848587, -0.9868453741073608, -0.6862923502922058, 0.04017443209886551, 0.2567942142486572, -0.0018602950731292367, -0.5181980729103088, 0.04842112213373184, -0.2740054428577423, 0.18855299055576324, 0.11331276595592499, -0.7294588088989258, 0.6754451990127563, 0.7233023047447205, 0.665143609046936, -0.005537673365324736, -0.41158753633499146, -0.29806026816368103, 0.17179326713085175, 0.028809798881411552, 0.20038513839244843, -0.4955452084541321, -0.39315053820610046, 0.1736784130334854, 0.2819803059101105, -0.22381547093391418, -0.4640512764453888, 0.25983119010925293, -0.4550083875656128, 0.2651267349720001, -0.06530516594648361, -0.16072572767734528, -0.051542818546295166, 0.1954212188720703, -0.8864253759384155, 1.0712335109710693, 0.29308757185935974, -1.2519651651382446, -0.09635983407497406, -0.52134770154953, -0.18187656998634338, -0.2559058666229248, -0.362395316362381, -0.7825028300285339, -0.013751653954386711, 0.24743697047233582, 0.4753584861755371, -0.061455149203538895, 0.10708494484424591, -0.17942865192890167, -0.1906389594078064, 0.4301539957523346, -0.7300808429718018, 1.3459563255310059, -0.11419288069009781, -0.6307085752487183, -0.14439573884010315, -0.7541671991348267, -0.1567770391702652, 0.12426827847957611, -0.13549773395061493, -0.2872830033302307, -0.3320482075214386, -0.27339866757392883, 0.057091955095529556, -0.10477171838283539, -0.615852952003479, 0.3211657702922821, -0.19008450210094452, 0.4141489267349243, 1.1104522943496704, 0.04898633807897568, 0.704632043838501, -0.24027642607688904, 0.9426789879798889, 0.39582520723342896, 0.4062133729457855, -0.2799869179725647, -0.33863162994384766, -0.8798707127571106, -0.4627036154270172, 0.3903602957725525, 0.43595656752586365, -0.5685265064239502, 0.3553306758403778, -0.1679694950580597, -0.7197793126106262, -0.6790181994438171, -0.24466122686862946, 0.36742281913757324, 0.4581434428691864, 0.20461656153202057, 0.06513434648513794, -0.37090152502059937, -0.9988128542900085, -0.4538877606391907, 0.01944422908127308, -0.2685088813304901, 0.6638764142990112, 0.6604401469230652, -0.19048438966274261, 0.9205942153930664, -0.7035994529724121, -0.26592302322387695, 0.009904158301651478, -0.11806385964155197, 0.015298896469175816, 0.8107591271400452, 0.6767107248306274, -0.479696661233902, -0.49100592732429504, -0.008226877078413963, -0.7105165123939514, 0.2763684093952179, -0.20138700306415558, -0.29447638988494873, -0.076461561024189, 0.2008165568113327, -0.4679355323314667, 0.6869272589683533, 0.8443581461906433, 0.024024205282330513, 0.17708249390125275, -0.2486046850681305, -0.38019734621047974, -1.0422695875167847, 0.16327117383480072, 0.014046875759959221, -0.37189653515815735, -0.6408872604370117, 0.10244371742010117, -0.08822140097618103, -0.31190094351768494, -0.1456456035375595, 0.083308644592762, -0.4519747495651245, -0.17497651278972626, 0.09450077265501022, -0.3704642057418823, 0.010809450410306454, 0.4170704185962677, -0.3929716646671295, 0.5043855905532837, 1.519484281539917, -0.3050239682197571, 0.3339236378669739, -0.07801742851734161, -0.24007675051689148, 0.2860202491283417, -0.5700578689575195, 0.5897909998893738, -0.4017328917980194, 0.5358253121376038, -0.7907624840736389, 0.0581728033721447, 0.3138284981250763, -0.322671115398407, 0.6288751363754272, -0.3892117738723755, -0.13207679986953735, 0.04009118676185608, -0.5820575952529907, 0.26911216974258423, 0.5445277094841003, -0.6187548041343689, 0.4206995368003845, 0.49167460203170776, 0.26201725006103516, -1.0658453702926636, -1.0380356311798096, 0.02170417085289955, -0.4130180776119232, -0.6347581744194031, 0.11894014477729797, 0.15613093972206116, -0.03565095737576485, -0.0682768002152443, -0.1640738695859909, -0.32492437958717346, 0.5675718784332275, 0.5331703424453735, -0.04067585989832878, -0.186904639005661, -0.5290011763572693, -0.07333125174045563, -0.10371016710996628, 0.29990336298942566, -0.32543447613716125, 0.35992640256881714, 0.04678820073604584, -0.6638689041137695, -0.6788448095321655, 0.5472663044929504, 0.41399481892585754, -0.13263572752475739, 0.9958202838897705, 0.15310783684253693, -0.5488370656967163, -0.535892128944397, -0.051269836723804474, -0.3874925971031189, -0.48457640409469604, 0.5656241774559021, -0.3376438021659851, -0.5767915844917297, 0.6245576739311218, -0.03764650225639343, -0.12742146849632263, 0.23524774610996246, 0.08897406607866287, -0.2492091953754425, 0.9203453063964844, 1.2130568027496338, -0.4272364377975464, 0.6202772855758667, -0.7368630170822144, 0.19384397566318512, -0.4762137830257416, -0.3729962706565857, -0.876865565776825, -0.5012869238853455, -0.9548325538635254, -0.15310372412204742, 0.12244486063718796, 0.26166388392448425, -0.19345174729824066, 0.2270016074180603, -0.49896663427352905, 0.8561347126960754, 0.5924071073532104, 0.18240967392921448, 0.1577632576227188, 0.28641608357429504, 0.12054380029439926, 0.15760189294815063, -0.5064330101013184, -0.43728235363960266, 1.0351521968841553, 0.8872855305671692, 0.8300483822822571, 0.0005577157135121524, 0.7898015379905701, 0.09432962536811829, 0.3239053785800934, -0.5002842545509338, 0.30722394585609436, 0.037866804748773575, -0.7794957756996155, -0.32446610927581787, -0.4358977973461151, -0.8894072771072388, 0.10857504606246948, 0.2744513154029846, -0.7574971318244934, 0.46958568692207336, -0.04512927308678627, -0.057343896478414536, 0.40679582953453064, -0.6098950505256653, 0.6289203763008118, 0.11027408391237259, -0.1079632043838501, 0.1453319936990738, -1.0396270751953125, 0.37565934658050537, -0.2670256495475769, 0.06804507225751877, 0.10939575731754303, 0.26732951402664185, 0.7856845259666443, -0.19248700141906738, 1.0795764923095703, -0.5198016166687012, 0.10573645681142807, 0.0310148186981678, 0.3317229449748993, 0.5433680415153503, 0.1505468487739563, 0.048751991242170334, 0.5554628372192383, -0.1673099845647812, -0.6682060956954956, -0.6793993711471558, 0.48551642894744873, -0.9968036413192749, -0.6664149761199951, -0.742801308631897, -0.2961488366127014, -0.177973210811615, -0.09849867224693298, 0.05532862991094589, 0.2570023536682129, -0.03993161395192146, 0.3947567343711853, 0.5991055369377136, -0.08140739053487778, 0.528478741645813, 0.38931381702423096, 0.05433925986289978, -0.2818990647792816, 0.9251444339752197, 0.09437288343906403, 0.3975622355937958, 0.33441048860549927, 0.32276904582977295, 0.07196399569511414, -0.770076334476471, -0.16378842294216156, 0.027593055739998817, -0.6808353662490845, -0.3179461359977722, -0.4761245846748352, -0.5633535981178284, -0.015383746474981308, 0.05681108310818672, -0.32935234904289246, -0.7466299533843994, -0.07837918400764465, -0.559548556804657, 0.19953718781471252, 0.9132158160209656, 0.026068517938256264, 0.5068731307983398, -0.8066518902778625, -0.17492137849330902, 0.14657709002494812, 0.2538277804851532, 0.0862010046839714, -0.32496699690818787, -0.15538904070854187, 0.18454036116600037, -0.5006018280982971, -0.7785488367080688, 0.2954108715057373, 0.07959955185651779, 0.6033912301063538, 0.3580917716026306, -0.15634344518184662, 0.3379712700843811, -0.5698770880699158, 0.9124067425727844, 0.1354934424161911, -0.8916172385215759, 0.48330825567245483, -0.18475517630577087, -0.2537133991718292, 0.5689888000488281, 0.5500196218490601, -0.23399920761585236, -0.7112852931022644, -0.8147419691085815, -0.6590175628662109, 1.1231595277786255, 0.5385874509811401, 0.4447516202926636, 0.752842128276825, 0.2051704227924347, 0.4022004008293152, 0.23512403666973114, -0.9364832639694214, -0.721295952796936, -0.4898836016654968, -0.10484840720891953, 0.07390785962343216, -0.13104575872421265, -0.5547831058502197, -0.3852382302284241, 0.1906198263168335, 0.09685245156288147, 0.059475962072610855, -0.009255851618945599, 0.033919695764780045, -0.07722841203212738, -0.032397348433732986, 0.17502450942993164, 0.49912118911743164, -0.030155569314956665, 0.43296143412590027, -0.22081515192985535, -0.706341564655304, 0.248497873544693, 0.04700404778122902, -0.2737165689468384, 0.008633104152977467, 0.5390627980232239, 0.7616026997566223, -0.2736954689025879, -0.017231646925210953, 0.7397575974464417, -0.2637987434864044, -0.14665842056274414, -0.044710032641887665, -0.011489677242934704, -0.1590193212032318, 0.054834652692079544, 0.20435689389705658, 0.5156249403953552, -0.1419685333967209, -0.4486236870288849, 0.19069218635559082, 0.43173521757125854, -0.4226221442222595, -0.7825927138328552, 0.4233194589614868, 0.10030515491962433, -0.20008422434329987, 0.6802761554718018, 0.6796144843101501, -0.5792579650878906, 0.623411238193512, 0.4137271046638489, 1.0262898206710815, -0.6178261041641235, 0.2211666703224182, 0.014660526998341084, 0.4771188497543335, 0.1411888599395752, -0.07828719913959503, -0.36675140261650085, -0.4571778178215027, 0.140841543674469, -0.4622651934623718, -0.18694506585597992, 0.056763384491205215, -0.8775585889816284, -0.051771827042102814, -0.3677057921886444, 0.06703135371208191, -0.10470961779356003, -0.2694893181324005, -0.5527491569519043, 0.10746533423662186, -0.08463083207607269, 0.7421301007270813, -1.049290418624878, 1.074459433555603, 0.3211664855480194, -0.3614814281463623, -0.4289197325706482, 0.4234451353549957, -0.4389703869819641, -0.9971720576286316, 0.80224609375, 0.1803218573331833, 0.09887810051441193, -0.04045917093753815, -0.49717187881469727, -0.5937679409980774, 1.1426924467086792, 1.019141435623169, -0.5132005214691162, -0.20609620213508606, 0.7894613742828369, 0.36151114106178284, 0.24163515865802765, 0.329080194234848, 0.6829798817634583, 0.19450609385967255, -0.07469425350427628, -0.5038062334060669, -0.10004475712776184, 0.2445591390132904, -0.16267313063144684, 0.04515848681330681, -0.5063819885253906, 0.9324809312820435, 0.26384034752845764, -0.41453811526298523, -0.43883180618286133, 0.25197654962539673, -0.19406944513320923, 0.16102305054664612, 0.4632226228713989, 0.5148912668228149, 1.033784031867981, 0.0019566440023481846, 1.2485297918319702, -0.13517126441001892, 0.379868745803833, 0.7842472791671753, -0.11227117478847504, 0.5395511388778687, 0.49811315536499023, -0.3865527808666229, 0.31314316391944885, 0.45767781138420105, 0.29211774468421936, 0.831748366355896, 0.5165783166885376, -0.5596538782119751, 0.41587385535240173, 0.11576870828866959, -0.4962655305862427, 0.06566782295703888, 0.04002353176474571, -0.48099640011787415, -0.1945890635251999, -0.050606876611709595, 0.2203582376241684, -0.19183453917503357, -0.16619884967803955, 0.7313629984855652, 0.2564482092857361, -0.23983356356620789, 0.4529753029346466, -0.06468591094017029, 0.2685481607913971, -0.6182817816734314, 0.10022436082363129, -0.5813585519790649, 0.40387311577796936, -0.5163368582725525, -0.657805860042572, 0.5564526319503784, 0.042568136006593704, 0.010376988910138607, -0.5137523412704468, 0.5087314248085022, -0.11286461353302002, -0.3269352614879608, 0.27588534355163574, 0.3334100842475891, -0.06918567419052124, -0.17319586873054504, -0.7482708692550659, 0.019586585462093353, 0.006254310254007578, -0.43711042404174805, 0.6336773633956909, 0.4121994972229004, 0.2321702390909195, 0.594545841217041, 0.43592676520347595, 0.11580083519220352, 0.6063069701194763, 0.1294223964214325, 1.197536826133728, -0.3454260528087616, -0.26204603910446167, -1.173323154449463, 0.6410019397735596, -0.2520703971385956, 0.042602259665727615, 1.156022071838379, 0.6245113015174866, 0.9159957766532898, 0.045719046145677567, 0.9178321957588196, 0.48340174555778503, 0.10454273223876953, -0.47686606645584106, 0.9955199956893921, -0.07269572466611862, 0.4135613441467285, 0.029357921332120895, -0.9302533268928528, -0.21687814593315125, 0.26630210876464844, -0.011217148043215275, -0.05289683863520622, 1.001876950263977, 0.8211716413497925, -0.24415361881256104, 0.27882298827171326, 0.23072700202465057, 0.3697532117366791, 0.6579923629760742, 0.44597989320755005, 1.0013549327850342, -0.4805446267127991, 0.28802040219306946, -0.6223679780960083, -0.3321579396724701, 0.361703485250473, -0.8481300473213196, -0.9361429810523987, -0.5527652502059937, -0.45203331112861633, -0.4403396546840668, 0.006880488712340593, -0.10670185834169388, 0.7916432023048401, -0.8041850328445435, -0.2686190903186798, -0.6917433142662048, 0.11531399935483932, -0.03085717186331749, -0.2544257342815399, 0.5535300970077515, 0.2862944006919861, -0.5677595138549805, 0.32906386256217957, -0.1040562242269516, 0.21434779465198517, -0.7988046407699585, 0.29094135761260986, 0.3827543556690216, -0.024641063064336777, -0.12200483679771423, 0.09435156732797623, -0.3747493624687195, -0.13386066257953644, -0.2738465964794159, -0.11549180001020432, 0.1527123600244522, 1.111880898475647, -0.801529586315155, 0.18296131491661072, 0.5862638354301453, 1.0794881582260132, 0.6631794571876526, -0.07825861126184464, 0.498638778924942, -1.3009403944015503, 0.32395559549331665, 0.519110381603241, 0.2274549901485443, 0.41904371976852417, -0.4867178201675415, 0.24097569286823273, 0.2980809509754181, -0.4854751229286194, -1.343051791191101, 0.2975802421569824, -0.6188874840736389, -0.028546232730150223, 0.7391871809959412, -0.5259190797805786, -0.60847008228302, 0.02817976288497448, -0.15417306125164032, 0.10244537144899368, -0.06408354640007019, 0.687677264213562, 0.6324307322502136, 0.07761391997337341, 0.07871662080287933, -0.8647091388702393, 0.6550973653793335, 0.17383593320846558, -0.801178514957428, 0.521278977394104, -0.08670856803655624, 0.3229878842830658, -0.11757180839776993, 0.44087180495262146, -0.1666169911623001, -0.34783053398132324, 0.11521223932504654, -0.48888179659843445, -0.06336910277605057, -0.4755062162876129, -1.028402328491211, 0.24980638921260834, -0.11854586005210876, -0.689568817615509 ]
http://arxiv.org/abs/2406.00984v1
http://arxiv.org/pdf/2406.00984v1
Predicting Drug-Gene Relations via Analogy Tasks with Word Embeddings
2024-06-03T04:36:38
2024-06-03T04:36:38
Hiroaki Yamagiwa, Ryoma Hashimoto, Kiwamu Arakane, Ken Murakami, Shou Soeda, Momose Oyama, Mariko Okada, Hidetoshi Shimodaira
cs.CL
cs.CL
Natural language processing (NLP) is utilized in a wide range of fields, where words in text are typically transformed into feature vectors called embeddings. BioConceptVec is a specific example of embeddings tailored for biology, trained on approximately 30 million PubMed abstracts using models such as skip-gram. Generally, word embeddings are known to solve analogy tasks through simple vector arithmetic. For instance, $\mathrm{\textit{king}} - \mathrm{\textit{man}} + \mathrm{\textit{woman}}$ predicts $\mathrm{\textit{queen}}$. In this study, we demonstrate that BioConceptVec embeddings, along with our own embeddings trained on PubMed abstracts, contain information about drug-gene relations and can predict target genes from a given drug through analogy computations. We also show that categorizing drugs and genes using biological pathways improves performance. Furthermore, we illustrate that vectors derived from known relations in the past can predict unknown future relations in datasets divided by year.
[ -0.23430070281028748, -0.6068660616874695, 0.915442168712616, -0.2384720742702484, -0.15241095423698425, 0.07987850904464722, 0.07613544166088104, -0.5838944911956787, 0.5842577219009399, 0.2685146629810333, -0.4797351658344269, -0.5207051038742065, -0.8576745986938477, 0.3198801577091217, -0.08387547731399536, 0.7308880090713501, 0.0565316304564476, 0.6910617351531982, -0.7599945664405823, -0.4082939624786377, -0.46525704860687256, -0.4989261329174042, -0.20200574398040771, -0.6102150678634644, 0.7497598528862, -0.08702704310417175, 0.6446782350540161, 0.9115142226219177, 0.5455239415168762, 0.3034278154373169, -0.08030065149068832, -0.12470225244760513, -0.21040202677249908, 0.11219418048858643, -0.489194393157959, -0.43804875016212463, -0.14296887814998627, 0.24815426766872406, 0.023090213537216187, 1.146410346031189, 0.07535798102617264, 0.002341213170439005, 0.24010838568210602, 0.44277480244636536, -0.7216513156890869, 0.34204527735710144, -0.48419126868247986, 0.3280867040157318, 0.24432271718978882, -0.4227522909641266, -0.04927579313516617, -0.3803100883960724, 0.36657199263572693, -0.6127868890762329, 0.0892222449183464, 0.12866072356700897, 0.8075347542762756, 0.08900239318609238, -0.2084416151046753, -0.5332950949668884, -0.6261568665504456, 0.5675047636032104, -0.425468385219574, 0.4586796462535858, 0.37032678723335266, 0.2418776899576187, -0.659773051738739, -0.681428849697113, -0.49000486731529236, -0.2920079529285431, -0.25274696946144104, 0.017710937187075615, 0.003261376405134797, 0.40341243147850037, 0.30905550718307495, 0.21265418827533722, -0.27647656202316284, -0.18736480176448822, -0.7749348878860474, -0.3340000510215759, -0.019115308299660683, 0.19202308356761932, 0.3730963468551636, -0.2125050574541092, -0.5945664048194885, -0.11053314059972763, -0.7112997770309448, 0.14254318177700043, -0.1411348283290863, 0.05461643636226654, 0.16822713613510132, 0.7643578052520752, 0.3371734321117401, 0.6981003880500793, -0.1376636028289795, 0.1523752063512802, 0.3373776078224182, -0.22563160955905914, -0.2907576560974121, 0.318452924489975, 0.6445462107658386, 0.3954613208770752, 0.1649058759212494, -0.3442172110080719, 0.17462007701396942, 0.49587562680244446, 0.3705228865146637, -0.853809654712677, -0.4129767119884491, 0.47007906436920166, -0.678471565246582, -0.34620803594589233, -0.10195926576852798, -0.8605655431747437, -0.4037477374076843, -0.3367556631565094, 0.910635769367218, -0.7342185378074646, 0.39447274804115295, 0.1815910041332245, -0.735956072807312, 0.4531186521053314, -0.159434974193573, -0.749563992023468, 0.49657049775123596, 0.7907375693321228, 1.0477789640426636, -0.23119458556175232, -0.2156318575143814, -0.8201005458831787, 0.28101640939712524, -0.23684629797935486, 0.9829424023628235, -0.8136292695999146, -0.524510383605957, -0.01848561316728592, 0.12308640778064728, 0.02617068588733673, -0.717099130153656, 0.3829646706581116, 0.009890393353998661, -0.08724379539489746, -0.4226164221763611, -1.019823431968689, -0.09498096257448196, 0.04420510306954384, -0.6571352481842041, 0.1559898853302002, -0.029398147016763687, -1.0483757257461548, 0.28551891446113586, -0.4045245051383972, -0.29343998432159424, -0.07742074877023697, -0.5635170936584473, -0.31969302892684937, -0.024203160777688026, 0.05707953870296478, 0.593320906162262, -0.0025379250291734934, -0.024485021829605103, -0.6645761132240295, -0.4068198502063751, 0.4455168843269348, 0.3338467478752136, 0.6152489185333252, 0.18068000674247742, -0.01735597848892212, -0.019279303029179573, -0.5824353098869324, -0.3511468172073364, -0.27312299609184265, -0.1246558427810669, -0.7797423601150513, -0.0692456066608429, -0.38543689250946045, 0.3404006063938141, -0.02923230268061161, -1.0542882680892944, 0.1368204653263092, -0.5940198302268982, 0.4655454456806183, 0.6978898048400879, 0.3959951400756836, 0.4840623438358307, -0.3339861333370209, 0.5556743144989014, 0.07674533128738403, -0.15354500710964203, -0.008127312175929546, -0.7841669321060181, -0.19028340280056, -0.16884690523147583, 0.6026504635810852, 0.5902882218360901, -0.7172583341598511, 0.3828541040420532, -0.4932549297809601, -0.24139584600925446, -0.3910600543022156, -0.02938830293715, 0.4110861122608185, 0.567004919052124, 0.7631738781929016, -0.3782746195793152, -0.5361019372940063, -1.0504792928695679, -0.6164977550506592, 0.08811888843774796, -0.37339523434638977, 0.3186352252960205, 0.598221480846405, -0.23630975186824799, 0.7819591164588928, -0.9233317971229553, -0.473743200302124, 0.01721937581896782, 0.22214604914188385, 0.17994524538516998, 0.40688446164131165, 0.3790261447429657, -0.49922341108322144, 0.08362474292516708, -0.35128337144851685, -0.5019684433937073, 0.2195405662059784, 0.020083045586943626, -0.4586203396320343, -0.5314551591873169, 0.7491360306739807, -0.303102970123291, 0.531539797782898, 0.6504250764846802, -0.5246224403381348, 0.10414306074380875, -0.49011844396591187, 0.16349615156650543, -1.1910984516143799, -0.08579075336456299, 0.30022144317626953, -0.16845999658107758, -0.6413010358810425, -0.262427419424057, -0.001907171099446714, -0.08813808858394623, -0.5065078139305115, 0.27209576964378357, -0.3524962365627289, -0.13482965528964996, 0.018923984840512276, -0.10919711738824844, 0.07163158804178238, 0.43175792694091797, 0.26703956723213196, 0.38513410091400146, 0.32547372579574585, -0.6773821115493774, 0.3478795289993286, 0.5070230960845947, -0.355090469121933, 0.2777808606624603, -0.7137961387634277, -0.18409417569637299, -0.02640286460518837, 0.2625519931316376, -0.7614052295684814, 0.05319282039999962, 0.3098713159561157, -0.6594091653823853, 0.28961479663848877, -0.03955397382378578, -0.09313096851110458, -0.21464745700359344, -0.6137702465057373, 0.18494334816932678, 0.6813960075378418, -0.4624756872653961, 0.737628698348999, 0.49546170234680176, 0.007178146857768297, -0.4721909761428833, -1.0495054721832275, -0.1417127400636673, 0.13973651826381683, -0.018620125949382782, 0.6468421816825867, 0.19900834560394287, 0.0010496218455955386, 0.3805220127105713, 0.0715593546628952, -0.0619463287293911, -0.3457001745700836, 0.5424609780311584, 0.5014812350273132, 0.2180308848619461, 0.3835740089416504, 0.24139820039272308, -0.038670677691698074, 0.4471313953399658, -0.198896586894989, 0.21842551231384277, 0.4796680808067322, -0.09777336567640305, 0.29308032989501953, 0.47388437390327454, 0.5086719393730164, -0.16989140212535858, 1.0615429878234863, 0.34585070610046387, -0.6805833578109741, 0.09195594489574432, 0.04161327704787254, -0.40331047773361206, -0.3925141990184784, 0.2837069630622864, -0.20646779239177704, -0.6299871206283569, 0.40938225388526917, -0.4013214111328125, -0.1943376511335373, 0.3720046579837799, 0.5413750410079956, -0.15985354781150818, 0.748927116394043, 0.5476436018943787, 0.18061578273773193, 0.003010083455592394, -0.2635563910007477, 0.2732155919075012, -1.0622868537902832, -0.5683367848396301, -0.4792710244655609, -0.4560060203075409, -0.8695885539054871, -0.8446277976036072, 0.5475230813026428, -0.18562382459640503, -0.18914687633514404, 0.6862926483154297, -0.4193545877933502, 0.19292593002319336, 0.4115849733352661, 0.4409068524837494, -0.04573231190443039, 0.10327652096748352, -0.7818726897239685, 0.05268069729208946, -0.753189206123352, -0.15403977036476135, 1.3187931776046753, 0.361640989780426, 0.5465217232704163, -0.27436530590057373, 0.8129012584686279, 0.05235988646745682, 0.3275317847728729, -0.8840109705924988, 0.383791446685791, -0.486633837223053, -0.43093782663345337, 0.09871076047420502, -0.267937034368515, -1.093449354171753, -0.0770164281129837, -0.9698700904846191, -0.6349512934684753, 0.9255581498146057, 0.12825055420398712, -0.5855265259742737, 0.4826611280441284, -0.5623149275779724, 0.8041223287582397, 0.11970142275094986, -0.2601695656776428, -0.3534645140171051, -0.6233023405075073, 0.10937561839818954, 0.1011258140206337, 0.32594773173332214, -0.11827143281698227, -0.2188185453414917, 0.8374164700508118, -0.5850318074226379, 0.44698044657707214, 0.008064118213951588, 0.37894245982170105, -0.07767662405967712, 0.1143343597650528, 0.15737178921699524, -0.26561468839645386, 0.07640675455331802, 0.2526564598083496, 0.35887816548347473, -0.38810816407203674, -0.5951684713363647, 1.070106863975525, -0.47605907917022705, -0.233171746134758, -0.6355038285255432, -0.1508510559797287, -0.3371945321559906, -0.3232700824737549, 0.4037000834941864, 0.576592206954956, -0.22957701981067657, 0.17050543427467346, 0.7437848448753357, -0.7912408709526062, 0.0912969559431076, 0.09618082642555237, -0.15803714096546173, -0.45649659633636475, 0.7201173901557922, 0.1344500333070755, 0.20560544729232788, 0.787914514541626, 0.4075268805027008, -0.34326618909835815, -0.2880323529243469, -0.08997495472431183, 0.08057735115289688, -0.5940426588058472, -0.43281254172325134, -1.0547579526901245, -0.02732163667678833, -0.48271065950393677, -0.20233584940433502, -0.06362050771713257, -0.3428008556365967, -0.06371735781431198, -0.2331046164035797, 0.6490275859832764, 0.6450281143188477, -0.19531026482582092, -0.4341857135295868, -0.9579556584358215, 0.8863159418106079, 0.4591207802295685, 0.5770049691200256, -0.2653994858264923, -0.24229566752910614, -0.21117368340492249, -0.0036805286072194576, -0.1499043107032776, -1.3531463146209717, 0.43601223826408386, 0.369880735874176, 0.6158597469329834, 0.12574639916419983, -0.18508511781692505, 0.3608187735080719, -0.8002892136573792, 0.6723832488059998, 0.18640348315238953, -0.6982359290122986, 0.5463433265686035, -0.1091993972659111, 0.15460774302482605, 0.4354347884654999, 0.7769176959991455, -0.4324858784675598, -0.2614571452140808, -0.4754646420478821, -0.7968657612800598, 0.05885198712348938, 0.36324912309646606, -0.11024662107229233, -0.2786017060279846, 0.4451783001422882, 0.10121852904558182, 0.13560350239276886, -0.2384510487318039, -0.590994656085968, -0.21285970509052277, -0.2924114763736725, -0.050319042056798935, -0.2423880696296692, 0.08843166381120682, -0.6393905282020569, 0.3065386116504669, 0.19492922723293304, 0.7079234719276428, 0.39399483799934387, 0.14862996339797974, 0.11090416461229324, 0.3232063353061676, 0.17465879023075104, 0.501450777053833, -0.5768093466758728, 0.18736803531646729, 0.10979462414979935, -0.7928651571273804, 0.11894703656435013, 0.36654824018478394, 0.16905054450035095, 0.06614270061254501, 0.5544792413711548, 0.3034021258354187, 0.31919705867767334, -0.7204951047897339, 0.5819666385650635, 0.0014356309548020363, -0.1780613362789154, -0.16662169992923737, -0.03116656467318535, 0.32066115736961365, 0.2232104390859604, 0.10404040664434433, 0.3354235589504242, 0.6702277064323425, -0.886672854423523, 0.3660336136817932, 0.41422343254089355, -0.630537748336792, 0.1309402883052826, 0.8284266591072083, 0.13227888941764832, -0.05279809236526489, 0.31091609597206116, 0.10573405027389526, -0.5711002349853516, 0.6196432709693909, 0.21538642048835754, 0.9656530618667603, -0.1928974688053131, 0.018322253599762917, 0.7396848201751709, -0.12775932252407074, 0.08202476054430008, 0.03340298309922218, 0.08024139702320099, -0.7182828187942505, -0.41703060269355774, -0.9877849817276001, -0.3500136733055115, -0.02663497067987919, -0.5703538656234741, 0.2878214418888092, -0.5112686157226562, -0.14154835045337677, 0.4712018072605133, -0.16989022493362427, -0.8179283738136292, 0.001145603135228157, 0.06019778549671173, 0.820940375328064, -1.241775631904602, 1.0307143926620483, 0.8970019817352295, -0.41921836137771606, -0.7994446158409119, -0.023742694407701492, -0.2158879190683365, -0.3482406735420227, 0.5656576156616211, 0.10238207131624222, -0.23792923986911774, -0.4701111316680908, -0.36892977356910706, -0.6019624471664429, 1.199735403060913, -0.0034099696204066277, -0.6086127758026123, 0.05818723514676094, 0.04703160375356674, 0.6662890911102295, -0.5603207945823669, -0.12102802097797394, 0.7500563859939575, 0.1261581927537918, 0.08637195825576782, -0.4768293797969818, 0.2401948869228363, -0.24909986555576324, 0.1822633594274521, 0.17297479510307312, 0.3626236319541931, 0.7800702452659607, -0.3378507196903229, -0.022321239113807678, 0.05530717596411705, 0.5258022546768188, 0.24226702749729156, 0.17883016169071198, 0.6014606356620789, 0.30595237016677856, 0.24800020456314087, -0.046189796179533005, 1.235512137413025, -0.2969101369380951, 0.037869419902563095, 1.0192128419876099, 0.0923139750957489, 1.0160810947418213, 0.8064655065536499, -0.4302014410495758, 0.9533812403678894, 0.5956830382347107, -0.1896965205669403, 0.7708060145378113, 0.4485905170440674, -0.11178360134363174, -0.1829497367143631, -0.10907262563705444, -0.17386819422245026, 0.262343168258667, 0.7662345767021179, -0.8625887632369995, 0.013437849469482899, 0.23354937136173248, -0.18218429386615753, 0.3912595808506012, -0.41088399291038513, 0.7554351091384888, 0.30655038356781006, -0.4769710898399353, 0.2252182811498642, -0.04194619879126549, 0.7662355899810791, -0.6569092273712158, -0.6727018356323242, 0.11212063580751419, 0.22979025542736053, -0.13675247132778168, -0.889491617679596, 0.19363732635974884, -0.44204849004745483, -0.005209648050367832, 0.28301751613616943, 0.797726035118103, -0.7088777422904968, -0.5919368267059326, 0.5231490135192871, 0.21598324179649353, 0.031972408294677734, 0.2083735466003418, -0.5644978880882263, -0.2533169686794281, -0.05763823911547661, 0.16053077578544617, 0.37836018204689026, 0.15439672768115997, 0.328132688999176, 0.7183186411857605, 0.6256223917007446, 0.6376664638519287, -0.20272958278656006, -0.4993053078651428, 0.8684786558151245, -0.631625771522522, -0.4300960302352905, -0.7344940304756165, -0.11968681216239929, 0.043032459914684296, 0.11977843940258026, 0.4290575683116913, 0.559965968132019, 0.43662717938423157, -0.42763638496398926, 0.5616955757141113, 0.2744399905204773, 0.7826086282730103, -0.579378604888916, 0.5379006266593933, -0.3079252541065216, 0.19228485226631165, -0.4122035801410675, -0.8873351216316223, -0.23731471598148346, 0.5321170687675476, -0.26191994547843933, -0.038285091519355774, 1.0406525135040283, 0.6443058848381042, 0.009957990609109402, -0.1893341988325119, 0.08166099339723587, 0.2711680233478546, 0.10086514800786972, 0.8192120790481567, 0.22115786373615265, -0.29932522773742676, 0.3443796932697296, -0.48949700593948364, -0.149888813495636, 0.13346196711063385, -0.9176989793777466, -0.9682461023330688, -0.6563905477523804, -0.20112694799900055, -0.7557544708251953, 0.2830283045768738, 1.4178096055984497, 0.24137485027313232, -0.8942079544067383, 0.1045803353190422, -0.09106346219778061, 0.0025986714754253626, -0.32277166843414307, -0.11660832911729813, 0.5958306193351746, 0.15967926383018494, -0.5059642195701599, 0.06706030666828156, 0.36819911003112793, 0.1760602444410324, -0.48777860403060913, 0.023882536217570305, -0.566820502281189, 0.29137298464775085, 0.4515986144542694, 0.23926062881946564, -0.460246741771698, -0.35035958886146545, -0.04059191793203354, -0.19146758317947388, 0.00029350523254834116, 1.100964903831482, -1.3964580297470093, 0.6754884123802185, 0.8074014782905579, 0.45135536789894104, 0.23279798030853271, -0.07095237821340561, 1.1772868633270264, -0.41458678245544434, 0.13601066172122955, 0.25451257824897766, 0.5571814775466919, 0.3106125593185425, -0.5121172070503235, 0.2863115966320038, 0.08861924707889557, -0.34280940890312195, -0.19383402168750763, 0.006077266298234463, -0.7750495076179504, -0.8305534720420837, 1.076250433921814, -0.1671467274427414, -0.5955787897109985, -0.35475990176200867, 0.001749761519022286, 0.43991583585739136, -0.2136225551366806, 0.551852822303772, 0.3678436577320099, -0.20458343625068665, 0.20771153271198273, -0.691332221031189, 0.8925626873970032, 0.16375136375427246, -0.5547322630882263, -0.17641374468803406, 0.3212832510471344, 0.3213796317577362, 0.19844546914100647, 0.2844659388065338, -0.29678329825401306, 0.09644974023103714, 0.026656612753868103, 0.018843062222003937, 0.04951098933815956, 0.13317914307117462, -0.26950499415397644, -0.0618300698697567, -0.11843056976795197, -0.6673648953437805 ]
http://arxiv.org/abs/2406.00983v1
http://arxiv.org/pdf/2406.00983v1
Take its Essence, Discard its Dross! Debiasing for Toxic Language Detection via Counterfactual Causal Effect
2024-06-03T04:34:30
2024-06-03T04:34:30
Junyu Lu, Bo Xu, Xiaokun Zhang, Kaiyuan Liu, Dongyu Zhang, Liang Yang, Hongfei Lin
cs.CL
cs.CL, cs.AI
Current methods of toxic language detection (TLD) typically rely on specific tokens to conduct decisions, which makes them suffer from lexical bias, leading to inferior performance and generalization. Lexical bias has both "useful" and "misleading" impacts on understanding toxicity. Unfortunately, instead of distinguishing between these impacts, current debiasing methods typically eliminate them indiscriminately, resulting in a degradation in the detection accuracy of the model. To this end, we propose a Counterfactual Causal Debiasing Framework (CCDF) to mitigate lexical bias in TLD. It preserves the "useful impact" of lexical bias and eliminates the "misleading impact". Specifically, we first represent the total effect of the original sentence and biased tokens on decisions from a causal view. We then conduct counterfactual inference to exclude the direct causal effect of lexical bias from the total effect. Empirical evaluations demonstrate that the debiased TLD model incorporating CCDF achieves state-of-the-art performance in both accuracy and fairness compared to competitive baselines applied on several vanilla models. The generalization capability of our model outperforms current debiased models for out-of-distribution data.
[ -0.028647873550653458, -1.1030397415161133, 0.6178379058837891, 0.1580362766981125, -0.4495261013507843, -0.19789832830429077, 0.10608837008476257, -0.2716951370239258, 0.0022880902979522943, 0.6146926283836365, -0.30965039134025574, -0.6551418304443359, -0.7289448976516724, -0.02197173982858658, -0.4898758828639984, 0.7558775544166565, 0.4032025635242462, -0.010925215668976307, 0.13015124201774597, -0.28380170464515686, -0.4835771322250366, -0.42135730385780334, -0.800098180770874, -0.5952035784721375, 0.6978418827056885, 0.5626274943351746, 1.0821106433868408, 0.38402941823005676, 0.16659429669380188, 0.23100487887859344, -0.14113375544548035, -0.1317247599363327, -0.683800458908081, -0.012661081738770008, -0.6832979917526245, -0.22567327320575714, -0.2085825502872467, 0.21383769810199738, 0.2361636459827423, 0.45676249265670776, -0.24531541764736176, -0.09336678683757782, -0.1866224706172943, 0.5037090182304382, -0.7848173379898071, 0.07511429488658905, -0.5658483505249023, 0.09591595083475113, -0.20788347721099854, -0.18036815524101257, -0.664418637752533, -0.17305009067058563, 0.11274990439414978, -0.531349778175354, -0.041332609951496124, -0.08116136491298676, 0.6068349480628967, 0.5326143503189087, -0.6637090444564819, -0.016843603923916817, -0.6771653890609741, 0.8879086375236511, -0.9250567555427551, 0.40580928325653076, 0.37825652956962585, 0.0009561841725371778, -0.14525175094604492, -0.5270429849624634, -0.7077617645263672, -0.23844721913337708, -0.157221719622612, 0.11917083710432053, -0.4288463890552521, 0.3168908953666687, 0.06772340089082718, 0.025332098826766014, -0.6981198787689209, 0.2591467797756195, -0.10753915458917618, -0.4063105583190918, 0.3616730570793152, 0.0706414207816124, 0.7131699323654175, -0.05416256561875343, -0.4496949315071106, -0.025872373953461647, -0.9020887613296509, -0.5424605011940002, 0.09114856272935867, 0.3132918179035187, -0.013406004756689072, 0.19702084362506866, -0.09886136651039124, 0.3487728238105774, 0.08114375919103622, 0.03849382326006889, 0.25254422426223755, -0.2477569580078125, -0.5314916968345642, 0.2517821192741394, 0.8321933150291443, 0.4100905954837799, 0.3049255907535553, -0.30339255928993225, 0.06686533987522125, 0.4436241686344147, 0.06038421392440796, -0.8528679013252258, -0.2937956154346466, 0.32910850644111633, -0.2964489758014679, -0.8007982969284058, -0.5078471899032593, -0.9723154902458191, -0.7002741694450378, -0.12636317312717438, 0.34335023164749146, -0.10604837536811829, -0.8136441707611084, 0.04174579679965973, -0.4123506546020508, -0.34139737486839294, -0.13281212747097015, -0.6001949906349182, 0.3242494761943817, 0.2948276698589325, 0.6002814769744873, -0.082124724984169, -0.06280043721199036, -0.7138288617134094, 0.24972261488437653, -0.4562505781650543, 0.7603241205215454, -0.916796088218689, -0.5369100570678711, -0.06672058254480362, -0.32403725385665894, 0.0060951015911996365, -0.6485280990600586, 0.6579465270042419, -0.6077884435653687, 0.11271831393241882, -0.5086255669593811, -0.09690673649311066, -0.2459467202425003, -0.0016119664069265127, -0.6492117643356323, 0.922160804271698, 0.2868482768535614, -1.1241536140441895, 0.6868897676467896, -0.23198063671588898, -0.3068042993545532, -0.14549395442008972, 0.07114122807979584, -0.41933587193489075, -0.07307587563991547, 0.022466439753770828, -0.19130800664424896, -0.3039822280406952, 0.776300311088562, -0.7239155173301697, -0.5215417146682739, -0.1398247480392456, -0.763126015663147, 1.1645300388336182, 0.5439213514328003, -0.7795194387435913, 0.10540659725666046, -0.5042917728424072, -0.2668026387691498, -0.10140661150217056, -0.12084276229143143, -0.7533804178237915, 0.08082273602485657, 0.20582346618175507, 0.6294312477111816, -0.3671106994152069, -0.7195590734481812, -0.5038764476776123, -0.5810593366622925, 0.20160815119743347, 0.6913607120513916, 0.1285000443458557, 0.4323999285697937, -0.2953321635723114, 0.35444068908691406, 0.529236376285553, 0.28008514642715454, 0.4467810392379761, -0.14784885942935944, -0.5577738285064697, -0.335997998714447, -0.05529436096549034, 0.44839563965797424, -0.8794900178909302, 0.28810808062553406, -0.07644023001194, -0.5427758097648621, -0.012097703292965889, -0.06972044706344604, 0.5390673875808716, 0.8487452268600464, 0.527195155620575, -0.1539115160703659, -0.41387829184532166, -0.7503994703292847, -0.2943260669708252, -0.5597529411315918, 0.35836198925971985, 0.06488684564828873, 0.305838018655777, -0.381274551153183, 1.1050161123275757, -0.5192094445228577, -0.45748278498649597, -0.15583112835884094, 0.25177720189094543, -0.02661849558353424, 0.27903807163238525, 0.9921957850456238, -0.7400027513504028, -0.332050621509552, -0.38819602131843567, -0.6676703095436096, -0.8808318376541138, -0.016568126156926155, -0.0781102254986763, 0.2654659152030945, 0.6136632561683655, -0.34521785378456116, 0.46896737813949585, 0.41533389687538147, -0.6982707977294922, 0.5245581269264221, -0.09867817908525467, 0.2221352458000183, -0.4527352452278137, 0.23296155035495758, -0.058635201305150986, -0.0480419397354126, -0.7670081853866577, 0.0640789270401001, -0.00373285636305809, 0.0693284198641777, -0.6309568881988525, 0.8709599375724792, 0.06628990918397903, 0.48544442653656006, -0.2639908790588379, 0.4405338168144226, 0.18745703995227814, 0.33591529726982117, 0.13602767884731293, 0.6220196485519409, 0.3006366491317749, -0.5733756422996521, 0.1797831952571869, 0.049206268042325974, 0.12098623812198639, 0.7006657719612122, -0.6124835014343262, -0.29120004177093506, -0.35178399085998535, 0.23809652030467987, -1.1591590642929077, 0.4206748902797699, 0.5717508792877197, -0.16318102180957794, 0.2100423127412796, 0.07409683614969254, -0.5996611714363098, -0.34720078110694885, -0.24928614497184753, 0.4856053292751312, 0.2584919333457947, -0.5383843183517456, 0.3204897344112396, 0.5084520578384399, 0.13437174260616302, -0.8554627895355225, -1.0240181684494019, 0.18792998790740967, -0.5014544129371643, -0.2143666297197342, 0.12958942353725433, -0.1149529442191124, -0.5921546816825867, 0.026831205934286118, -0.2971743643283844, -0.3198389410972595, 0.14619235694408417, -0.043343205004930496, 0.15581034123897552, 0.14000099897384644, 0.4866197407245636, 0.22003260254859924, -0.2638469636440277, 0.3225463926792145, -0.10744180530309677, 0.3963638246059418, 0.3613799512386322, -0.0623641312122345, -0.17522424459457397, 0.3190184533596039, 0.9006372094154358, -0.15703818202018738, 0.6623537540435791, 0.4369772970676422, -0.17813226580619812, -0.2970026135444641, -0.4529205858707428, -0.14767976105213165, -0.48696497082710266, 0.4628778398036957, 0.01936815306544304, -0.36051300168037415, 0.3940373659133911, 0.1428947001695633, -0.17280836403369904, 0.4959368109703064, 0.3346948027610779, 0.4386467933654785, 0.8621411919593811, 0.4213844835758209, -0.5195412635803223, 0.4700051248073578, 0.0006521617178805172, 0.3860194683074951, -0.30728840827941895, 0.10936608165502548, -0.45967358350753784, 0.15767253935337067, -0.4662736654281616, -0.29332131147384644, 0.21639111638069153, -0.12059053033590317, -0.765863299369812, 0.22540739178657532, -0.352926105260849, 0.4139878451824188, 0.16466699540615082, 0.431613951921463, 0.5396583676338196, -0.2395256608724594, -0.5202622413635254, -0.08776027709245682, -0.5328068733215332, -0.4055841863155365, 0.8030188083648682, 0.2834676504135132, 0.5972208380699158, 0.3244973421096802, 0.5211218595504761, 0.5336970686912537, 0.533113956451416, -0.393778532743454, 0.4535669684410095, -0.340750515460968, -0.995775043964386, -0.30855831503868103, -0.4987372159957886, -0.40856653451919556, 0.5724971294403076, 0.01705116592347622, -0.4535985589027405, 0.40511131286621094, 0.14538194239139557, -0.046608492732048035, 0.4471791386604309, -0.7334501147270203, 0.9875543117523193, 0.01699366420507431, -0.5930138230323792, -0.7202093005180359, -0.2878526747226715, 0.5634890794754028, -0.34660178422927856, 0.7021566033363342, -0.18569888174533844, 0.10574372857809067, 0.5946981310844421, -0.577312707901001, 1.229467511177063, -0.5858297944068909, -0.3077828884124756, 0.37060171365737915, 0.3195880949497223, 0.34946364164352417, 0.035033851861953735, -0.4878302216529846, 0.2607180178165436, 0.053755633533000946, -0.27929338812828064, -0.1350584477186203, 0.796002209186554, -0.5375931859016418, -0.638181746006012, -0.5565956234931946, -0.5176184177398682, -0.09970006346702576, 0.5666077733039856, 0.04463266581296921, 0.5244386792182922, -0.5952996015548706, -0.4391055405139923, 0.5779862999916077, -0.7183753252029419, 0.43645718693733215, 0.8131001591682434, -0.14504532516002655, -0.13462717831134796, 0.6786205768585205, -0.03989192843437195, 0.5007263422012329, 0.29839760065078735, 0.5827676057815552, -0.4635173976421356, -0.4490449130535126, -0.3324672281742096, 0.3210655748844147, -0.8822411298751831, -0.19046929478645325, -0.7332004904747009, 0.19964811205863953, -0.47882288694381714, 0.1917749047279358, -0.21324874460697174, -0.02503664791584015, -0.37521421909332275, -0.23453488945960999, 0.10565649718046188, 0.7137308120727539, -0.4387441873550415, 0.33537009358406067, -0.6343299746513367, 0.2807084619998932, 0.2988019287586212, 0.3332069516181946, 0.1864539533853531, -0.603033721446991, 0.20154345035552979, 0.4541659355163574, -0.35964083671569824, -0.8270474672317505, 0.5486306548118591, 0.11877328157424927, 0.6315683126449585, 0.6919196844100952, 0.6307510137557983, 0.6829819679260254, -0.3434946537017822, 0.5755374431610107, 0.213799849152565, -1.051082730293274, 0.2989914119243622, -0.455172061920166, 0.1483069509267807, 0.5675376653671265, 0.248654305934906, -0.7982496023178101, -0.9974149465560913, -0.4462025761604309, -0.681456983089447, 0.6818422675132751, 0.007342309225350618, 0.13644908368587494, -0.6299760341644287, -0.07623974978923798, -0.10679414123296738, 0.016163723543286324, -0.6677117347717285, -0.31123870611190796, -0.3324244022369385, -0.13664333522319794, -0.1122967004776001, -0.6526187658309937, 0.06726383417844772, -0.1273629069328308, 0.6420256495475769, 0.2608020007610321, -0.24794931709766388, 0.34675922989845276, -0.519860029220581, -0.4894339144229889, 0.36368003487586975, 0.5609453916549683, 0.6076605916023254, -0.2534063756465912, 0.4186541438102722, 0.17677462100982666, -0.5628964304924011, 0.13926148414611816, -0.20777073502540588, -0.2689022123813629, 0.10160009562969208, 0.36003419756889343, 0.19833634793758392, 0.48381277918815613, -0.721748411655426, 0.7401054501533508, 0.15131829679012299, 0.06976763904094696, -0.11404028534889221, -0.07660486549139023, 0.027672823518514633, 0.06371438503265381, 0.11328567564487457, 0.028551457449793816, 0.3882375657558441, -0.5374817252159119, 0.5777148008346558, 0.36042118072509766, -0.6793590784072876, -0.21007339656352997, 0.9506005048751831, 0.358346551656723, 0.4262392818927765, 0.5316056609153748, -0.08532894402742386, -0.7426270246505737, 0.6697972416877747, 0.6776198744773865, 0.8597381711006165, -0.37157532572746277, 0.5855494737625122, 0.5750765204429626, 0.19207286834716797, 0.12718604505062103, -0.004074639640748501, 0.20274288952350616, -0.7850309610366821, -0.20424598455429077, -0.5611721277236938, -0.03784075006842613, -0.02492435835301876, -0.2854955196380615, 0.21632376313209534, -0.3405282199382782, 0.07487177848815918, 0.06338527053594589, -0.17717625200748444, -0.24403414130210876, 0.34836530685424805, 0.1323949098587036, 0.8672468662261963, -1.360500454902649, 0.8471894860267639, 0.035302091389894485, -0.638190746307373, -0.4493986666202545, 0.030308369547128677, 0.5315556526184082, -0.7904295921325684, 1.1467317342758179, -0.04589323699474335, -0.445230096578598, -0.040245216339826584, -0.24085712432861328, -0.6525138020515442, 0.6969090700149536, 0.30584222078323364, -0.44273141026496887, 0.13721947371959686, 0.29458966851234436, 0.5760552287101746, 0.0026651376392692327, 0.6765327453613281, 0.7185059785842896, 0.6518025398254395, 0.29335424304008484, -0.9796132445335388, 0.3844562768936157, 0.01972370408475399, -0.12327323853969574, 0.09186267107725143, -0.4773252606391907, 0.541724681854248, -0.22257116436958313, -0.5653522610664368, -0.28439342975616455, 0.0611734502017498, -0.03894926235079765, 0.293082594871521, 0.7356100082397461, 0.6612743139266968, 0.4991580545902252, 0.10566604882478714, 0.7131774425506592, 0.07020345330238342, 0.3818776309490204, 1.0439735651016235, -0.4375096261501312, 0.47010692954063416, 0.48704996705055237, 0.04223117232322693, 0.575722873210907, 0.42889565229415894, 0.25950372219085693, 1.078313946723938, 0.33211076259613037, -0.3589041531085968, -0.263929545879364, -0.5331980586051941, -0.09377282112836838, 0.3852229714393616, 0.37708738446235657, -0.2687561810016632, -0.8954800367355347, 0.08406820893287659, 0.39118361473083496, 0.3642590343952179, -0.2679106593132019, 0.5157236456871033, 0.16124039888381958, -0.4760359823703766, 0.7377889156341553, -0.2636408507823944, 0.6679698824882507, -0.253024160861969, -0.10066341608762741, -0.24816109240055084, 0.44546204805374146, -0.1954428255558014, -0.4784994423389435, 0.7718470692634583, -0.3031061291694641, -0.045036088675260544, -0.15612998604774475, 0.668910026550293, -0.5590208172798157, -0.10092411935329437, 0.7735716700553894, 0.333761066198349, -0.1794501692056656, -0.16026049852371216, -0.6131507754325867, -0.004036935046315193, -0.12423503398895264, 0.040471576154232025, 0.02743760123848915, 0.3269729018211365, -0.13174915313720703, 0.5384055972099304, 0.38177618384361267, 0.1319533735513687, -0.4736897051334381, 0.4239727854728699, 1.0023658275604248, -0.5928396582603455, -0.46842068433761597, -1.0048787593841553, 0.30603402853012085, -0.014133719727396965, -0.054691653698682785, 0.41192227602005005, 0.19352276623249054, 0.6953166723251343, 0.12397533655166626, 0.6688918471336365, -0.04386875033378601, 0.4026578366756439, -0.09696553647518158, 1.1117011308670044, -0.4384400546550751, 0.3940499424934387, -0.6898846626281738, -0.47372937202453613, -0.6569848656654358, 0.3583812713623047, -0.51180499792099, -0.04262687638401985, 1.0654077529907227, 1.0161486864089966, 0.12958335876464844, -0.007618491072207689, 0.47481852769851685, 0.5491172671318054, 0.5956227779388428, 0.5406385064125061, 0.4802108407020569, -0.3101437985897064, 0.7291504144668579, -0.25500836968421936, -0.43501222133636475, -0.0609382688999176, -0.9773398637771606, -1.1232941150665283, -0.2567402422428131, -0.3779599368572235, -0.2686491012573242, 0.23813070356845856, 0.5600407719612122, 0.2769359350204468, -0.8985522985458374, 0.22773055732250214, -0.2211139053106308, 0.4833419620990753, -0.31742483377456665, -0.2942589521408081, 0.3610191345214844, -0.4621303379535675, -0.5764392614364624, 0.04907515272498131, 0.20121683180332184, -0.22370047867298126, -0.009072789922356606, 0.005418260116130114, -0.3627135753631592, 0.21359513700008392, 0.7139605283737183, 0.01728544943034649, -0.643052339553833, -0.7328454256057739, -0.1642829328775406, -0.444318950176239, -0.25851568579673767, 0.4731798470020294, -0.858832597732544, 0.5323664546012878, 0.6164879202842712, 0.09100142866373062, 0.10089951753616333, -0.26075857877731323, 0.5703677535057068, -0.43819522857666016, 0.3953803777694702, 0.15498751401901245, 0.12196499854326248, 0.04097096249461174, -0.4804208278656006, 0.5406887531280518, 0.44555559754371643, -0.29848209023475647, -0.7627699971199036, 0.3292432427406311, -0.720740795135498, -0.661037027835846, 1.3258862495422363, 0.023097746074199677, -0.04182295873761177, -0.6566089987754822, -0.2742669880390167, 0.5026812553405762, -0.43601998686790466, 0.8461573719978333, 0.5123322606086731, 0.31773069500923157, 0.03187539801001549, -0.26953911781311035, 0.5282430052757263, 0.3836021423339844, -0.41635680198669434, 0.5086447596549988, 0.7810496687889099, 0.6317417025566101, -0.1242137998342514, 0.8335055112838745, -0.4429047405719757, 0.3188878893852234, 0.1840197592973709, -0.24854324758052826, -0.06500069051980972, -0.05907519906759262, -0.10454846918582916, -0.1760813593864441, 0.0160868801176548, -0.0003330027684569359 ]
http://arxiv.org/abs/2406.00980v1
http://arxiv.org/pdf/2406.00980v1
Selectively Answering Visual Questions
2024-06-03T04:28:10
2024-06-03T04:28:10
Julian Martin Eisenschlos, Hernán Maina, Guido Ivetta, Luciana Benotti
cs.CL
cs.CL, cs.CV
Recently, large multi-modal models (LMMs) have emerged with the capacity to perform vision tasks such as captioning and visual question answering (VQA) with unprecedented accuracy. Applications such as helping the blind or visually impaired have a critical need for precise answers. It is specially important for models to be well calibrated and be able to quantify their uncertainty in order to selectively decide when to answer and when to abstain or ask for clarifications. We perform the first in-depth analysis of calibration methods and metrics for VQA with in-context learning LMMs. Studying VQA on two answerability benchmarks, we show that the likelihood score of visually grounded models is better calibrated than in their text-only counterparts for in-context learning, where sampling based methods are generally superior, but no clear winner arises. We propose Avg BLEU, a calibration score combining the benefits of both sampling and likelihood methods across modalities.
[ -0.47948363423347473, -0.903933048248291, 0.7023199796676636, 0.041887085884809494, -0.24921399354934692, -0.2366897463798523, 0.08366265147924423, -0.587424635887146, -0.3153506815433502, 0.35555288195610046, -0.471130907535553, -0.14730238914489746, -0.4557666778564453, -0.027752207592129707, 0.015899477526545525, 0.39167889952659607, -0.012786298990249634, 0.4597981870174408, -0.5728731751441956, -0.44218847155570984, -0.9152320623397827, -0.3096831738948822, -0.21798725426197052, -0.025745036080479622, 0.6321841478347778, 0.38130292296409607, 0.6061798930168152, 0.308513343334198, 0.5180118083953857, 0.2513824701309204, 0.025545688346028328, 0.31482216715812683, -0.45825621485710144, -0.058606959879398346, -0.30947768688201904, -0.7285420298576355, -0.07694201171398163, 0.1592850238084793, 0.5703331232070923, 0.7673696875572205, 0.14066645503044128, 0.5703044533729553, 0.03513398393988609, 0.6125510334968567, -0.9293540716171265, 0.0974699929356575, -0.5271717309951782, -0.1452631950378418, 0.22145622968673706, -0.4125972390174866, -0.452269047498703, -0.3687610626220703, 0.4425954222679138, -0.8320107460021973, 0.043938081711530685, 0.0759134590625763, 0.8861101269721985, 0.6710453629493713, -0.6689723134040833, 0.06385946273803711, -0.49697762727737427, 0.8759299516677856, -0.3459232449531555, 0.5658838152885437, 0.6742829084396362, 0.8355530500411987, 0.26582956314086914, -0.521909236907959, -0.13335543870925903, -0.07685598731040955, 0.05405065044760704, 0.4602587819099426, 0.03724454715847969, 0.15603035688400269, 0.358203649520874, 0.34657496213912964, -0.5981531739234924, -0.12598218023777008, -0.577781617641449, -0.27039381861686707, 0.4914235472679138, -0.026824893429875374, -0.08176050335168839, -0.2973976731300354, -0.5871891975402832, -0.2731579840183258, -0.43999743461608887, 0.5242618322372437, 0.03986695408821106, -0.1673051416873932, -0.10392269492149353, 0.7518916726112366, -0.3634186387062073, 1.1619815826416016, -0.012154617346823215, 0.03205333650112152, -0.08077690750360489, -0.5567790865898132, -0.563179612159729, -0.4393153786659241, 0.25319337844848633, 0.7577834725379944, 0.3256227672100067, 0.14130450785160065, -0.2266351580619812, -0.12334620952606201, 0.23237963020801544, -0.6955530047416687, -0.13219188153743744, 0.2965701222419739, -0.4059603810310364, -0.13147969543933868, 0.09062867611646652, -0.7298544049263, -0.36838972568511963, -0.5218778252601624, 0.8517861366271973, -0.14424672722816467, 0.07584969699382782, -0.09123394638299942, -0.35849690437316895, 0.514252245426178, 0.9938343167304993, -0.41003841161727905, -0.05963539332151413, 0.11165596544742584, 0.45340314507484436, 0.22096960246562958, 0.011526648886501789, -0.8883152604103088, 0.07134474068880081, -0.5681095719337463, 0.44364872574806213, -0.36314642429351807, -0.16237561404705048, -0.0682157352566719, 0.03158619627356529, -0.21051250398159027, -0.4325290024280548, 0.3669101893901825, -0.8226690292358398, 0.1543598622083664, -0.8601272106170654, -0.4520891606807709, -0.8350743651390076, 0.5182253122329712, -0.6918301582336426, 0.7463316321372986, 0.30927032232284546, -0.5253411531448364, 0.7555038928985596, 0.011043311096727848, 0.2188214212656021, 0.2739503085613251, -0.30275481939315796, 0.000555319944396615, 0.4042857587337494, 0.7251814603805542, 0.4623606503009796, -0.29425737261772156, 0.06878417730331421, -0.31049349904060364, -0.3608531951904297, 0.3712735176086426, -0.7483289837837219, 0.5686630010604858, 0.12124013900756836, -0.009277699515223503, 0.36865854263305664, -0.6688934564590454, 0.389019638299942, -0.227442666888237, -0.23087215423583984, -0.3475281298160553, 0.00832982175052166, 0.17418618500232697, 0.1968362182378769, 0.13307234644889832, -0.48211902379989624, -0.3336889445781708, -0.13725395500659943, 0.3855610191822052, 0.7485575675964355, 0.07673874497413635, 0.29249507188796997, -0.6209706664085388, 0.46237412095069885, -0.03402039781212807, 0.2082090824842453, -0.4293534457683563, -0.5117383599281311, -0.6023523807525635, -0.5632241368293762, 0.2278299629688263, 0.8024864196777344, -0.8659080266952515, 0.07781225442886353, -0.08072715997695923, -0.5142525434494019, -0.3692273199558258, 0.11202995479106903, 0.4708288908004761, 0.7135063409805298, 0.31490185856819153, -0.34353482723236084, -0.014837502501904964, -0.8714199662208557, -0.09254792332649231, -0.279105544090271, -0.013574007898569107, 0.7310389280319214, 0.4665004014968872, 0.2824253439903259, 0.7389857769012451, -0.31958919763565063, -0.11093531548976898, 0.06496734172105789, -0.22943076491355896, -0.01214038860052824, 0.11557479947805405, 0.6311772465705872, -1.2079415321350098, -0.31907495856285095, 0.13116362690925598, -1.0056629180908203, 0.06404998153448105, -0.05373377352952957, -0.07516802847385406, -0.00440192548558116, 0.4978054165840149, -0.31994518637657166, 0.7322040796279907, 0.3681134581565857, -0.0869344174861908, 0.4540883004665375, -0.10878697037696838, 0.44030341506004333, -0.6515018939971924, 0.16902121901512146, 0.370332270860672, -0.6976108551025391, -0.3559470772743225, 0.5581897497177124, 0.4251590371131897, 0.06106536090373993, -0.6485416889190674, 0.8008140325546265, -0.40456271171569824, 0.05733469873666763, 0.10213957726955414, 0.0464937686920166, 0.1535608470439911, 0.40804144740104675, 0.0853179544210434, 0.7532280087471008, 0.6218330264091492, -0.6480449438095093, 0.3934924006462097, 0.2340102642774582, -0.5075539350509644, 0.8829703330993652, -0.8934910297393799, -0.2556319832801819, -0.39428389072418213, -0.07686635851860046, -1.4017410278320312, -0.537519097328186, 0.09953850507736206, -0.4566555917263031, 0.09712868183851242, -0.3586813807487488, -0.12010076642036438, -0.29867395758628845, -0.041483908891677856, 0.8117913007736206, 0.164397194981575, -0.5799059271812439, 0.5783311128616333, 0.08086305856704712, 0.051375724375247955, -0.6374921202659607, -0.5972815752029419, -0.29097646474838257, -0.24783366918563843, -0.5623024106025696, -0.1287263184785843, -0.40943312644958496, -0.3346664011478424, -0.38247165083885193, -0.28670534491539, -0.12942564487457275, -0.16605351865291595, 0.30749988555908203, 0.33995959162712097, -0.1880912184715271, 0.1312006264925003, -0.16300387680530548, 0.025812402367591858, -0.06375456601381302, 0.07323237508535385, 0.16332653164863586, -0.168655663728714, -0.6596555113792419, -0.35979989171028137, 0.5297491550445557, 0.6782054901123047, -0.6832528114318848, 0.2493775486946106, 0.4236849248409271, -0.4932985305786133, 0.022375037893652916, -0.8387980461120605, -0.07243422418832779, -0.44296348094940186, 0.46684810519218445, -0.4993235766887665, -0.737618088722229, 0.5575777292251587, 0.28309640288352966, 0.08492916077375412, 0.05547912046313286, 0.5691162347793579, -0.13137193024158478, 0.9797728657722473, 0.7065906524658203, 0.2727905809879303, 0.5051100254058838, 0.012013118714094162, -0.060710400342941284, -0.5023203492164612, -0.25241613388061523, -0.21328310668468475, -0.2941078841686249, -0.3060655891895294, -0.573823869228363, 0.6402776837348938, 0.3286585509777069, -0.1681438535451889, -0.1256479024887085, -0.4612942337989807, 0.4666101932525635, 0.8665395379066467, 0.5467748045921326, 0.08077874779701233, -0.03150831162929535, -0.09188203513622284, -0.15694117546081543, -0.7082931399345398, -0.35548704862594604, 1.0532411336898804, 0.3132554888725281, 0.7413017749786377, 0.007760433945804834, 0.22664900124073029, -0.2344101518392563, 0.2961844801902771, -0.8509243726730347, 0.4011228680610657, 0.30110377073287964, -0.8432066440582275, -0.520931601524353, -0.3953743875026703, -0.2791970372200012, 0.5443763732910156, -0.14599016308784485, -0.8057833909988403, 0.4562556743621826, 0.20231851935386658, -0.45362529158592224, -0.009169158525764942, -0.781272292137146, 1.0074177980422974, -0.29176414012908936, -0.6472997665405273, 0.027593113481998444, -0.8143213987350464, 0.4923901855945587, -0.06905809044837952, 0.18624398112297058, -0.026463963091373444, -0.08337926119565964, 0.2432672381401062, -0.09873685985803604, 0.7598345279693604, -0.13581521809101105, 0.18080496788024902, 0.48489999771118164, 0.139778271317482, 0.09806413948535919, 0.4258955419063568, -0.052128080278635025, 0.026039021089673042, 0.5233535766601562, -0.5643935203552246, -0.5676316618919373, 0.34408828616142273, -0.48068180680274963, -0.5641623735427856, -0.4677315950393677, -0.6943131685256958, -0.24710510671138763, 0.09489955753087997, 0.4067273437976837, 0.5457924604415894, 0.0007945303223095834, 0.34780043363571167, 0.7172373533248901, -0.3190804123878479, 0.5490292310714722, 0.1714869886636734, -0.1611108034849167, -0.6890088319778442, 0.551230788230896, 0.04657691717147827, 0.5333617925643921, 0.5506720542907715, 0.037781279534101486, -0.3422411382198334, -0.2449628859758377, -0.9502787590026855, 0.16186192631721497, -0.9692245125770569, -0.1898900717496872, -0.1744299829006195, -0.1634025275707245, 0.1911344975233078, -0.2935854196548462, 0.017608139663934708, -0.22757555544376373, -0.30249834060668945, -0.287171334028244, 0.045094508677721024, 0.341776579618454, 0.09940280765295029, 0.1323910802602768, -0.6807805895805359, 0.4813306927680969, 0.7375725507736206, 0.15928125381469727, -0.22094842791557312, -0.41247954964637756, 0.05008333921432495, 0.3839981257915497, -0.20298521220684052, -1.1588163375854492, 0.16431140899658203, 0.27223119139671326, 0.7086816430091858, 0.2424943596124649, 0.017214253544807434, 1.0224536657333374, -0.34245139360427856, 0.7851839065551758, 0.21903488039970398, -0.5878742933273315, 0.6071467399597168, -0.20042304694652557, 0.3750627040863037, 0.8237630128860474, 0.44563910365104675, -0.1944112479686737, 0.00530399102717638, -0.06399498134851456, -0.6313632726669312, 0.30422109365463257, -0.030841538682579994, 0.23195672035217285, 0.27931076288223267, 0.35947883129119873, 0.032584499567747116, 0.3711739778518677, -0.7719053626060486, -0.12387733161449432, -0.32145118713378906, -0.08455881476402283, -0.3652801513671875, -0.12397485226392746, -0.4437434673309326, -0.6091356873512268, 0.3450752794742584, -0.35684362053871155, -0.010759727098047733, 0.4616919457912445, -0.48699742555618286, -0.4090462923049927, -0.07872290164232254, 0.50091552734375, 1.174247145652771, -0.2900795042514801, 0.05050766095519066, 0.19188548624515533, -0.31438300013542175, -0.030219467356801033, 0.11715765297412872, -0.3774448335170746, -0.20072442293167114, 0.2669233977794647, 0.7097505927085876, 0.0578836128115654, -0.9120088815689087, 0.8985780477523804, -0.13877232372760773, -0.22185958921909332, -0.16181573271751404, 0.08506465703248978, -0.34936192631721497, 0.37546074390411377, 0.4758257567882538, 0.136377215385437, 0.11988057941198349, -0.38723304867744446, 0.2611262798309326, 0.6904211640357971, -0.9280651807785034, 0.04202013462781906, 1.0610792636871338, -0.03067564219236374, 0.0345621332526207, 0.3141529858112335, 0.3108576834201813, -0.2340744435787201, 0.6611891984939575, 0.15940406918525696, 0.5070671439170837, -0.06861171126365662, 0.32471299171447754, 0.6259351372718811, 0.441649466753006, 0.13634131848812103, 0.627118706703186, -0.3086613118648529, -0.48588430881500244, -0.3988787829875946, -0.597154974937439, -0.4741908311843872, 0.06462938338518143, -0.7574821710586548, 0.2028510868549347, -0.3588598668575287, -0.17456427216529846, -0.07074744254350662, -0.14528876543045044, -0.8713030219078064, 0.7384621500968933, 0.06618916243314743, 0.9340351819992065, -0.8994726538658142, 0.26916566491127014, 0.8925895690917969, -0.7356478571891785, -0.8039451241493225, -0.31207263469696045, -0.06932909786701202, -0.5866559743881226, 0.3823971748352051, 0.3460251986980438, 0.11800975352525711, 0.09745556116104126, -0.7384647727012634, -0.8823022246360779, 1.09260094165802, 0.4152194857597351, -0.3373723328113556, 0.07122631371021271, 0.0076004378497600555, 0.24353548884391785, -0.013780987821519375, 0.6734666228294373, 0.1056276336312294, 0.49331551790237427, 0.28629449009895325, -0.9249570369720459, -0.17744727432727814, -0.21169829368591309, -0.09897914528846741, -0.22453823685646057, -0.5892987251281738, 0.5270592570304871, -0.21963979303836823, 0.0805772915482521, 0.34957388043403625, 0.655494213104248, 0.5050116777420044, 0.5521301031112671, 0.40043553709983826, 0.33475828170776367, 0.6764194965362549, -0.24112831056118011, 1.1164199113845825, -0.07708346843719482, -0.01927570067346096, 0.8052002787590027, 0.15804710984230042, 0.7776241302490234, 0.6717668175697327, 0.07128559052944183, -0.06583969295024872, 1.0126969814300537, 0.19719107449054718, 0.5258585214614868, 0.08296999335289001, -0.1819380819797516, -0.790446400642395, 0.17374452948570251, -0.32353436946868896, 0.438077837228775, 0.2847815454006195, -0.2558327615261078, -0.2082446962594986, 0.06028904393315315, -0.6361101269721985, 0.19333170354366302, -0.5733363032341003, 0.5072964429855347, 0.24121885001659393, -0.7905084490776062, 0.6157198548316956, -0.11838114261627197, 0.12030584365129471, -0.4791067838668823, -0.12332573533058167, -0.11460597813129425, 0.028805676847696304, -0.06301769614219666, -0.7082359790802002, -0.26288095116615295, -0.36317551136016846, -0.28406375646591187, 0.023454269394278526, 0.3750019073486328, -0.3120839595794678, -0.7388906478881836, -0.04208887740969658, 0.8116356134414673, -0.029133714735507965, -0.23778295516967773, -0.3652690052986145, -0.2792215049266815, -0.27188995480537415, -0.27324479818344116, -0.007083416450768709, 0.37213262915611267, -0.3573675751686096, 0.8423866629600525, 0.587455153465271, -0.24319812655448914, 0.5657520294189453, -0.035274259746074677, 0.5941724181175232, -0.32831189036369324, -0.6197825074195862, -0.47043487429618835, 0.9158462882041931, -0.008247468620538712, -0.5539358854293823, 0.7926726937294006, 0.507167637348175, 0.8206376433372498, -0.19449108839035034, 0.5051149129867554, 0.22487527132034302, 0.26188620924949646, -0.5931328535079956, 0.5125191807746887, -0.9795579314231873, -0.0314754955470562, -0.4599919617176056, -1.2077592611312866, -0.5298017263412476, 0.7802034616470337, -0.3608756959438324, 0.15266704559326172, 0.5230244994163513, 0.78633052110672, -0.2562769949436188, -0.08298508822917938, 0.686674952507019, -0.3018672466278076, 0.03880966082215309, 0.6631460189819336, 0.8777204155921936, -0.5652100443840027, 0.2867882251739502, -0.27201494574546814, -0.45299476385116577, -0.2415425181388855, -0.6934274435043335, -0.8582866787910461, -0.5720403790473938, -0.2571564316749573, -0.11051657050848007, -0.07674402743577957, 0.3887937664985657, 1.0923446416854858, -0.5905424356460571, -0.1278812736272812, 0.19911853969097137, 0.04056282341480255, -0.4117644131183624, -0.13043637573719025, 0.2441796064376831, -0.03151826560497284, -0.5818230509757996, 0.25041890144348145, 0.21929648518562317, -0.013292800635099411, -0.08703432232141495, 0.008291489444673061, -0.10431820899248123, 0.40372171998023987, 0.6282951235771179, 0.26188230514526367, -0.8576266765594482, -0.5550575256347656, 0.19588862359523773, -0.19125205278396606, 0.11976809054613113, 0.27064409852027893, -0.8649250268936157, 0.9459158778190613, 0.6883038878440857, 0.6202853322029114, 0.5618236064910889, 0.4710620939731598, 0.44005799293518066, -0.6040326952934265, 0.13382957875728607, 0.24704325199127197, 0.35976746678352356, 0.2998056411743164, -0.15708491206169128, 0.43006131052970886, 0.039560068398714066, -0.5576829314231873, -0.850443959236145, 0.42233026027679443, -1.3194652795791626, -0.20991705358028412, 1.0416696071624756, 0.0584365576505661, -0.2832123637199402, 0.02964370884001255, -0.5494530200958252, -0.022105049341917038, 0.15787486732006073, 0.2649823725223541, 0.7184323072433472, 0.2574786841869354, -0.6539260745048523, -1.01595139503479, 0.32320231199264526, 0.4026127755641937, -0.5914334654808044, -0.20412389934062958, 0.9738841652870178, 0.364996075630188, -0.17949838936328888, 0.5091801881790161, -0.10540669411420822, 0.8585506081581116, -0.16314667463302612, -0.2369096577167511, -0.21141156554222107, -0.5491641759872437, -0.40338578820228577, 0.4355524182319641, 0.04280544072389603, -0.2831084430217743 ]
http://arxiv.org/abs/2406.00976v1
http://arxiv.org/pdf/2406.00976v1
Generative Pre-trained Speech Language Model with Efficient Hierarchical Transformer
2024-06-03T04:16:30
2024-06-03T04:16:30
Yongxin Zhu, Dan Su, Liqiang He, Linli Xu, Dong Yu
cs.CL
cs.CL, cs.SD, eess.AS
While recent advancements in speech language models have achieved significant progress, they face remarkable challenges in modeling the long acoustic sequences of neural audio codecs. In this paper, we introduce \textbf{G}enerative \textbf{P}re-trained \textbf{S}peech \textbf{T}ransformer (GPST), a hierarchical transformer designed for efficient speech language modeling. GPST quantizes audio waveforms into two distinct types of discrete speech representations and integrates them within a hierarchical transformer architecture, allowing for a unified one-stage generation process and enhancing Hi-Res audio generation capabilities. By training on large corpora of speeches in an end-to-end unsupervised manner, GPST can generate syntactically consistent speech with diverse speaker identities. Given a brief 3-second prompt, GPST can produce natural and coherent personalized speech, demonstrating in-context learning abilities. Moreover, our approach can be easily extended to spoken cross-lingual speech generation by incorporating multi-lingual semantic tokens and universal acoustic tokens. Experimental results indicate that GPST significantly outperforms the existing speech language models in terms of word error rate, speech quality, and speaker similarity. See \url{https://youngsheen.github.io/GPST/demo} for demo samples.
[ -0.30034542083740234, -0.6268232464790344, 0.3385520875453949, 0.1465558558702469, -0.3580310344696045, 0.12189342826604843, -0.4230140745639801, -0.03170452639460564, 0.13206203281879425, 0.1935279369354248, -0.6258983016014099, -0.49115967750549316, -0.40756961703300476, -0.05723114684224129, -0.5127592086791992, 1.2381577491760254, 0.21545758843421936, 0.1097816526889801, 0.1994367092847824, 0.20771797001361847, -0.3126371204853058, -0.6042752265930176, -0.7432301044464111, -0.584863543510437, 0.289713978767395, 0.12094273418188095, 0.6295941472053528, 0.24616292119026184, 0.1679074913263321, 0.33107447624206543, -0.11134402453899384, -0.28185462951660156, -0.46200838685035706, 0.22237010300159454, -0.15683113038539886, 0.06187885254621506, -0.5116347670555115, -0.32618191838264465, 0.7954091429710388, 0.7856329679489136, -0.6228187680244446, 0.1654030829668045, 0.2745140790939331, 0.15734681487083435, -0.25318625569343567, 0.22198735177516937, -0.682705283164978, 0.10740786790847778, -0.32182466983795166, -0.3686346411705017, -0.4611307382583618, -0.21479420363903046, 0.39257991313934326, -0.5867782831192017, 0.5584369897842407, -0.2794664800167084, 0.6640644669532776, 0.33076176047325134, -0.119398333132267, -0.1016818955540657, -0.981981635093689, 0.6024085283279419, -0.577624499797821, 0.7885043621063232, 0.05238666012883186, 0.3906717300415039, -0.22371309995651245, -1.1661158800125122, -0.2580789029598236, -0.3602226674556732, -0.009665154851973057, 0.2531197667121887, -0.2845590114593506, 0.13496343791484833, 0.16121163964271545, 0.47304072976112366, -0.8687926530838013, -0.015858346596360207, -0.053746141493320465, -0.08171076327562332, 0.2171727567911148, -0.15371489524841309, 0.2123488336801529, -0.09729239344596863, -0.3917544186115265, -0.1347152441740036, -0.6957645416259766, -0.31315332651138306, 0.40627625584602356, 0.4440251290798187, -0.09863924980163574, 0.2829093635082245, -0.09639544039964676, 0.6506192088127136, 0.3392655551433563, -0.338272362947464, 0.3610270023345947, -0.14833153784275055, -0.20688126981258392, 0.28728044033050537, 0.8856682777404785, -0.4566662609577179, 0.415215402841568, -0.3356926143169403, -0.32879194617271423, -0.11585451662540436, 0.3354220390319824, -0.7652735114097595, -0.4084729552268982, -0.1460433006286621, -0.1526387482881546, -0.05973401665687561, -0.02408403716981411, -0.7330360412597656, 0.14527396857738495, -0.1713685542345047, 0.3636436462402344, -0.3023935854434967, -0.35425418615341187, 0.26617807149887085, 0.09546662122011185, 0.12281505018472672, -0.05006583780050278, -1.2110483646392822, 0.38666725158691406, 0.6736647486686707, 0.7291087508201599, -0.13466985523700714, -0.44144847989082336, -0.5437158346176147, 0.3385687470436096, -0.182859405875206, 0.6589336395263672, -0.3218685984611511, -0.5891129374504089, -0.019957546144723892, -0.2872260510921478, -0.29696863889694214, -0.5123894810676575, 0.6601375341415405, -0.39216628670692444, 0.5511429309844971, 0.23392143845558167, -0.31028661131858826, 0.09376832097768784, -0.0992053896188736, -0.44079846143722534, 1.0831329822540283, 0.1498671919107437, -0.8936058878898621, 0.45838627219200134, -0.6736592650413513, -0.5624122619628906, 0.4495576322078705, -0.3140542507171631, -0.6814853549003601, 0.111711286008358, 0.43206658959388733, 0.27564260363578796, -0.292845755815506, 0.7517886161804199, 0.16799774765968323, -0.3998606503009796, -0.20535120368003845, -0.7040013074874878, 0.4971045255661011, 0.10941298305988312, -0.6188205480575562, 0.4322032630443573, -0.7030187249183655, 0.08870288729667664, 0.28794151544570923, -0.5049291849136353, 0.04227164760231972, 0.009431442245841026, 0.3425235450267792, 0.030698170885443687, 0.04603957012295723, -0.4898979663848877, -0.075760118663311, -0.3049197494983673, 0.5148066282272339, 0.6768109798431396, -0.16935668885707855, 0.3529646396636963, -0.09173170477151871, 0.6816058158874512, -0.31838980317115784, 0.013496951200067997, -0.22359253466129303, -0.4855462312698364, -0.6109678745269775, -0.48639360070228577, 0.36649763584136963, 0.5343782305717468, -0.6175390481948853, 0.6674531102180481, -0.8370295763015747, -0.4296787977218628, -0.34625598788261414, -0.3173915147781372, 0.30155280232429504, 0.5749509930610657, 0.29390057921409607, -0.24043606221675873, -0.5678116083145142, -0.7525948882102966, -0.23324620723724365, -0.34458380937576294, -0.41700509190559387, 0.20138704776763916, 0.21234223246574402, -0.28774353861808777, 0.9974030256271362, -0.277626097202301, -0.006379466503858566, -0.4680691957473755, 0.2955370545387268, 0.1253228634595871, 0.46914851665496826, 0.34393203258514404, -0.75606369972229, -0.2480194866657257, 0.03015567734837532, -0.41566789150238037, -0.335027277469635, -0.1488795131444931, 0.10151536762714386, -0.057257845997810364, 0.3860226571559906, -0.7129416465759277, 0.1754346787929535, 0.6884581446647644, -0.045830465853214264, 0.6685962080955505, -0.12400632351636887, 0.04935938119888306, -1.2543848752975464, -0.02956748567521572, -0.26047834753990173, -0.34384316205978394, -0.757942795753479, -0.184501513838768, -0.26618003845214844, -0.6656268835067749, -0.4415847361087799, 0.180147185921669, -0.3012823462486267, -0.3603271245956421, -0.20258532464504242, 0.06670477986335754, -0.38623589277267456, 0.5107021927833557, 0.24934187531471252, 1.094068169593811, 0.6932942271232605, -0.3718224763870239, 0.3429918587207794, 0.21116313338279724, -0.39827799797058105, 0.4385017454624176, -0.8733640313148499, 0.40952354669570923, -0.028150063008069992, 0.45332664251327515, -0.7389636039733887, -0.23144106566905975, 0.13302432000637054, -0.35125863552093506, 0.39125290513038635, -0.2453484982252121, -0.4657208323478699, -0.3265495002269745, 0.24948197603225708, 0.6211725473403931, 0.5950404405593872, -0.958339512348175, 0.7296038866043091, 0.4245557188987732, -0.5667988657951355, -0.2785208225250244, -0.44984516501426697, 0.1808285266160965, -0.35901814699172974, -0.6962498426437378, 0.65120530128479, 0.12719322741031647, 0.2734505832195282, -0.06150462105870247, -0.0862654447555542, 0.052373118698596954, -0.3117843270301819, 0.1255716234445572, 0.019745437428355217, -0.3198809325695038, 0.23696322739124298, -0.153196781873703, -0.37534406781196594, -0.09388895332813263, -0.8060540556907654, 0.8608432412147522, -0.4303355813026428, -0.4618164300918579, -0.3587782680988312, 0.4161265790462494, 0.4357505142688751, -0.3085496127605438, 0.3205685317516327, 0.7352203726768494, -0.32777366042137146, -0.07048797607421875, -0.29083019495010376, -0.06238604709506035, -0.48421233892440796, 0.7451378703117371, -0.5707210898399353, -1.102218508720398, 0.3477810323238373, -0.11163240671157837, -0.13174806535243988, 0.23221352696418762, 0.5950777530670166, 0.27779287099838257, 0.9135401248931885, 0.5794526934623718, -0.21172790229320526, 0.7740894556045532, -0.0019037723541259766, 0.425670862197876, -0.4778999388217926, -0.16834425926208496, -0.4238837957382202, 0.21375003457069397, -0.836281418800354, -0.2520937919616699, 0.48097091913223267, -0.1732085794210434, -0.49569523334503174, 0.4125174582004547, -0.36951059103012085, 0.26701048016548157, 0.6026095151901245, -0.14170847833156586, 0.06511116772890091, 0.17399558424949646, -0.09919416159391403, -0.005791304167360067, -0.9935351014137268, -0.3654579818248749, 0.5938858985900879, 0.49161672592163086, 1.0262659788131714, -0.09479142725467682, 0.7744427919387817, -0.013851980678737164, 0.22257192432880402, -0.8205022811889648, 0.5013301372528076, -0.23145660758018494, -0.3111288249492645, -0.32565030455589294, -0.6033790707588196, -0.7033423781394958, 0.3574068248271942, 0.06841859966516495, -0.5563808083534241, -0.08421590924263, 0.2466064840555191, -0.2612745761871338, 0.39520201086997986, -0.5980095863342285, 0.8205138444900513, -0.26163846254348755, 0.029013140127062798, 0.005823757965117693, -0.4587436020374298, 0.06917040795087814, -0.1262781322002411, -0.16871711611747742, 0.2087070792913437, 0.3558465242385864, 0.9006553292274475, -0.2207668274641037, 0.702629029750824, -0.2974298894405365, -0.22649134695529938, 0.1562328040599823, -0.13359656929969788, 0.48925936222076416, -0.006074852775782347, 0.2501593232154846, 0.3098781108856201, -0.5356312394142151, -0.2102736383676529, -0.41666439175605774, 0.6294547915458679, -0.49685096740722656, -0.5907170176506042, -0.29901885986328125, -0.45993760228157043, -0.32198894023895264, 0.2676367461681366, 0.6722686886787415, 0.5357887148857117, -0.5073238611221313, 0.11751991510391235, 0.557000994682312, -0.18517860770225525, 0.37916913628578186, 0.030215775594115257, -0.04432259500026703, -0.6397493481636047, 0.698846161365509, -0.26201871037483215, 0.26298758387565613, 0.3698807954788208, 0.25202175974845886, -0.4028633236885071, -0.42973557114601135, -0.45983079075813293, 0.15923196077346802, -0.5397701263427734, -0.09859368950128555, -0.5113478302955627, -0.4001845419406891, -0.38091376423835754, 0.01577756553888321, -0.7466557025909424, -0.20015408098697662, -0.15780337154865265, -0.26524412631988525, -0.044186070561409, 0.7751263976097107, 0.026964999735355377, 0.7763444185256958, -0.5783325433731079, 0.5055481791496277, 0.6204484105110168, 0.35987213253974915, -0.3212012052536011, -0.6806841492652893, -0.25763776898384094, -0.10505592077970505, -0.20237348973751068, -0.6670048832893372, 0.47324857115745544, 0.4173189103603363, 0.6002510786056519, 0.2984638214111328, -0.44507676362991333, 0.7602153420448303, -0.9834505915641785, 0.7970486879348755, 0.20773951709270477, -1.073128342628479, 0.5353816747665405, -0.5535654425621033, 0.4858819246292114, 0.2544517517089844, 0.15987567603588104, -0.6466795802116394, -0.22501836717128754, -0.5384172797203064, -0.96305251121521, 0.49993234872817993, 0.2746965289115906, 0.11831795424222946, -0.025733299553394318, -0.030199812725186348, 0.05452164262533188, 0.1185445487499237, -0.8393018245697021, -0.12208709120750427, -0.5787783861160278, -0.14793400466442108, -0.31941893696784973, -0.24820227921009064, 0.013086387887597084, -0.15658584237098694, 0.7483007907867432, -0.07080983370542526, 0.44273489713668823, -0.002438486088067293, -0.0655871257185936, -0.03896598145365715, 0.626099169254303, 0.5988524556159973, 0.569807231426239, -0.23885473608970642, 0.21029578149318695, 0.09432348608970642, -0.5601828694343567, 0.24039049446582794, 0.4897565245628357, -0.09853093326091766, 0.2677646577358246, 0.3278666138648987, 1.118281364440918, 0.5277595520019531, -0.23188172280788422, 0.4176709055900574, -0.1216086819767952, -0.2536589503288269, -0.46683916449546814, -0.3292567729949951, 0.06799165904521942, -0.0015614144504070282, 0.3347192108631134, 0.004340951796621084, 0.07862026244401932, -0.13929353654384613, 0.4365898370742798, 0.3205978572368622, -0.3247360289096832, -0.39705702662467957, 0.8356371521949768, 0.2552807033061981, -0.45949190855026245, 0.730434238910675, -0.029978614300489426, -0.6873680353164673, -0.036586422473192215, 0.984041690826416, 1.373465895652771, -0.5479093790054321, 0.16179624199867249, 0.2160225361585617, 0.12981954216957092, -0.07748562097549438, -0.031721774488687515, -0.32974088191986084, -0.4963512122631073, -0.581591010093689, -0.6667822599411011, -0.20399485528469086, 0.28578317165374756, -0.5764872431755066, -0.006301493383944035, -0.11190687119960785, -0.24062742292881012, -0.20851875841617584, -0.47728246450424194, -0.4355711340904236, 0.14950236678123474, 0.28638750314712524, 0.6406193971633911, -0.9466120600700378, 0.8837257623672485, 0.4973906874656677, 0.08818432688713074, -0.6808376908302307, 0.46446454524993896, -0.3313363492488861, -0.5117114782333374, 0.6077515482902527, 0.026044068858027458, -0.6598053574562073, 0.16030433773994446, -0.220330610871315, -0.7558701038360596, 0.7817304134368896, 0.5842819809913635, -0.6085246205329895, -0.17189615964889526, 0.2873609960079193, 0.510963499546051, -0.45520398020744324, -0.008645491674542427, 0.6167042255401611, 0.09454785287380219, 0.09869667887687683, -1.1724117994308472, -0.2744079828262329, -0.18577614426612854, 0.26453089714050293, 0.26017871499061584, -0.08117296546697617, 0.8367589116096497, -0.16134771704673767, -0.43777045607566833, 0.08680476993322372, 0.7811604738235474, 0.3998711109161377, -0.10373242199420929, 0.7824996709823608, 0.6981831789016724, 0.6639381647109985, -0.2830655872821808, 0.8583796620368958, -0.18216991424560547, 0.5247955918312073, 1.2800837755203247, -0.02729269303381443, 0.6151068806648254, 0.2976785898208618, -0.0340094231069088, 0.47451117634773254, 0.5137627720832825, 0.3048873543739319, 0.8835588693618774, 0.28362688422203064, -0.6851768493652344, -0.30184945464134216, 0.08145273476839066, -0.625486433506012, 0.7065749168395996, 0.22668689489364624, -0.2117859572172165, -0.3538452088832855, 0.08054931461811066, -0.2289964109659195, -0.11994209885597229, -0.1478952318429947, 0.7123767137527466, 0.01655375398695469, -0.5209155678749084, 0.6598584055900574, -0.1376657634973526, 0.7835574150085449, -0.7765953540802002, 0.038744937628507614, -0.009211491793394089, 0.14253319799900055, -0.06553392112255096, -0.48900505900382996, 0.14075876772403717, 0.19588392972946167, -0.05548384413123131, -0.5610807538032532, 0.7328830361366272, -0.6929160356521606, -0.26298651099205017, 0.28823915123939514, 0.43989282846450806, 0.06751255691051483, -0.11051654070615768, -0.5411883592605591, -0.20783717930316925, -0.1535242348909378, -0.35452353954315186, -0.03298456594347954, 0.30433225631713867, 0.07306107878684998, 0.5227193236351013, 0.5745514035224915, 0.18922202289104462, 0.1800323724746704, 0.7105360627174377, 0.6938060522079468, -0.561636745929718, -0.8603927493095398, -0.6253823637962341, 0.3190743327140808, 0.2061959058046341, -0.19009727239608765, 0.47346922755241394, 0.7097364664077759, 1.0335311889648438, -0.373884379863739, 0.7917589545249939, 0.15715715289115906, 0.5260370969772339, -0.4216514229774475, 0.6128360629081726, -0.09202490746974945, 0.07565553486347198, -0.3286530673503876, -0.9269018769264221, -0.2491595447063446, 0.7072041034698486, -0.24975161254405975, 0.5763387680053711, 0.5623524188995361, 0.6658281087875366, -0.25044387578964233, 0.13684113323688507, 0.39167320728302, -0.1020362377166748, 0.47374966740608215, 0.5798621773719788, 1.0017616748809814, -0.3661317825317383, 0.5199218988418579, -0.19183194637298584, -0.25548285245895386, 0.04112207889556885, -0.6812631487846375, -0.6746383309364319, -0.6244508624076843, -0.14851082861423492, -0.03189614787697792, 0.3074749708175659, 0.6814969778060913, 0.99637371301651, -0.7459418773651123, -0.4262857437133789, -0.34086403250694275, -0.29656514525413513, -0.1264064759016037, -0.22273585200309753, 0.36789947748184204, -0.3033560812473297, -0.7772132754325867, 0.6964731812477112, 0.2387378066778183, 0.2651924192905426, -0.14027735590934753, -0.16807134449481964, 0.21930159628391266, -0.24861469864845276, 0.5174299478530884, 0.20875370502471924, -0.5812053084373474, -0.3543192148208618, -0.1908002644777298, 0.04445313662290573, 0.12980084121227264, 1.0731781721115112, -0.8557369709014893, 0.22877642512321472, 0.3112298250198364, 0.5850207209587097, 0.7682886123657227, 0.07095374166965485, 0.6717717051506042, -1.0248844623565674, 0.21779906749725342, 0.3781206011772156, 0.46230417490005493, 0.5701309442520142, -0.14730103313922882, 0.23544803261756897, 0.20201221108436584, -0.6881559491157532, -0.5517908334732056, 0.4168033301830292, -0.891917884349823, 0.10504984110593796, 0.9867886304855347, -0.11917957663536072, 0.08883969485759735, 0.07761476933956146, -0.07770456373691559, 0.5526125431060791, -0.2925058603286743, 0.5600268244743347, 0.2748282551765442, -0.15352153778076172, -0.06856502592563629, -0.3131190538406372, 0.5758658051490784, 0.42763155698776245, -0.7281561493873596, 0.15937434136867523, 0.37687256932258606, 0.3293650448322296, 0.17569640278816223, 0.7784689664840698, -0.1384192407131195, 0.24553608894348145, 0.12648098170757294, 0.1627209335565567, 0.0449134036898613, -0.609268307685852, -0.5229185223579407, 0.243385449051857, -0.08287332952022552, -0.4611230492591858 ]
http://arxiv.org/abs/2406.00975v2
http://arxiv.org/pdf/2406.00975v2
Luna: An Evaluation Foundation Model to Catch Language Model Hallucinations with High Accuracy and Low Cost
2024-06-03T04:14:21
2024-06-05T15:45:04
Masha Belyi, Robert Friel, Shuai Shao, Atindriyo Sanyal
cs.CL
cs.CL, cs.AI
Retriever Augmented Generation (RAG) systems have become pivotal in enhancing the capabilities of language models by incorporating external knowledge retrieval mechanisms. However, a significant challenge in deploying these systems in industry applications is the detection and mitigation of hallucinations: instances where the model generates information that is not grounded in the retrieved context. Addressing this issue is crucial for ensuring the reliability and accuracy of responses generated by large language models (LLMs) in diverse industry settings. Current hallucination detection techniques fail to deliver accuracy, low latency, and low cost simultaneously. We introduce Luna: a DeBERTA-large (440M) encoder, finetuned for hallucination detection in RAG settings. We demonstrate that Luna outperforms GPT-3.5 and commercial evaluation frameworks on the hallucination detection task, with 97% and 91% reduction in cost and latency, respectively. Luna is lightweight and generalizes across multiple industry verticals and out-of-domain data, making it an ideal candidate for industry LLM applications.
[ -0.3800124526023865, -0.8496994972229004, 0.7388561367988586, 0.4005105793476105, 0.0761796161532402, -0.022511446848511696, -0.06433696299791336, -0.672334611415863, 0.48170551657676697, 0.8080489635467529, -0.18025563657283783, -0.4444724917411804, -0.49736225605010986, 0.11224398016929626, -0.6596841812133789, 0.4547664523124695, 0.26475951075553894, -0.13079702854156494, 0.2194444239139557, 0.1594868302345276, -0.50765460729599, -0.44211310148239136, -0.7750411629676819, -0.46410802006721497, 0.14247143268585205, 0.12206047028303146, 0.744951069355011, 0.2736945152282715, 0.4037380516529083, 0.24489626288414001, -0.1292259395122528, 0.5405575633049011, -0.37391582131385803, 0.09248416870832443, 0.0005666327197104692, -0.22625818848609924, -0.45988965034484863, -0.2414323389530182, 0.309646874666214, 0.7372899651527405, -0.2779702842235565, -0.03455236181616783, -0.060128103941679, 0.8443229794502258, -0.8867305517196655, -0.10531026124954224, -0.869502067565918, 0.13369350135326385, -0.057844266295433044, -0.12508642673492432, -0.7735946178436279, -0.331991583108902, -0.235539048910141, -0.5511366128921509, 0.3118065595626831, 0.11529342085123062, 0.9629191756248474, 0.5561239123344421, -0.06119374558329582, -0.5221112370491028, -0.9507598280906677, 0.4946710169315338, -0.413627564907074, 0.8377089500427246, 0.5713750123977661, 0.36241865158081055, -0.4558492600917816, -0.6327378153800964, -0.5060166120529175, -0.4732281267642975, 0.02202724479138851, 0.06508474797010422, -0.150040864944458, -0.0030245031230151653, 0.24173501133918762, 0.405496209859848, -0.5427123308181763, 0.11090391129255295, -0.4078374207019806, -0.18368153274059296, 0.31851842999458313, 0.24295708537101746, -0.01844342239201069, -0.3601405918598175, -0.012459729798138142, 0.05423092842102051, -0.5458366274833679, -0.2994617521762848, 0.27305832505226135, 0.08145805448293686, 0.19717049598693848, 0.5755784511566162, -0.4066965878009796, 0.5942832827568054, 0.40352579951286316, 0.032933078706264496, 0.21227210760116577, 0.2347279191017151, -0.32856935262680054, 0.11235319823026657, 0.6047056317329407, 0.1999843418598175, -0.02561137266457081, -0.632891058921814, -0.4634183645248413, 0.35975930094718933, 0.48294728994369507, -0.6709024906158447, -0.23411016166210175, 0.2601413428783417, -0.39011216163635254, -0.28524839878082275, 0.004527196288108826, -1.0247976779937744, -0.9406061768531799, -0.14445531368255615, 0.6227393746376038, -0.22276930510997772, -0.36820587515830994, 0.6199443936347961, -0.09276226907968521, 0.411252498626709, 0.2149588018655777, -0.8880743980407715, 0.34660717844963074, 0.7966502904891968, 0.8504230976104736, -0.3055175244808197, -0.07929850369691849, -0.8679383397102356, 0.12748755514621735, -0.7622732520103455, 0.6193109750747681, -0.221261665225029, -0.29342129826545715, -0.16531294584274292, 0.08348429948091507, 0.03561156243085861, -1.013230562210083, 0.5341002941131592, -0.5288082957267761, -0.20249883830547333, 0.0935647040605545, -0.19582165777683258, -0.08524488657712936, 0.07447320967912674, -0.8375133872032166, 1.0370699167251587, 0.29991671442985535, -0.5906553268432617, 0.5422762036323547, -0.39587053656578064, -0.21187442541122437, 0.06710615009069443, -0.22236765921115875, -0.3359319269657135, 0.46196573972702026, 0.07405528426170349, 0.4375467300415039, -0.4419051706790924, 0.19987526535987854, -0.14509497582912445, -0.7992489337921143, 0.2386326789855957, -0.3934813141822815, 0.2883487045764923, 0.28853708505630493, -0.5621412396430969, -0.080931656062603, -1.0229308605194092, -0.3397800922393799, 0.14485327899456024, -0.05613040551543236, -0.5650588870048523, -0.24940025806427002, 0.041225433349609375, 0.01947721093893051, 0.00730799650773406, -0.4353162944316864, -0.2005745768547058, -0.5455452799797058, -0.07109243422746658, 0.4875318706035614, -0.12417203187942505, 0.30722758173942566, -0.12971441447734833, 0.4283190667629242, -0.23075805604457855, 0.1967725157737732, 0.24422389268875122, -0.30200135707855225, -1.082818627357483, -0.42858240008354187, -0.09986776113510132, 0.3739284574985504, -0.753579318523407, 0.5541396141052246, -0.0718168243765831, -0.6083431243896484, -0.7846720814704895, -0.027936914935708046, 0.2682637572288513, 0.528145432472229, 0.3416992425918579, 0.05872485786676407, -0.6667946577072144, -0.8743061423301697, -0.11839881539344788, 0.04556731507182121, -0.13895584642887115, 0.07809510827064514, 0.39629191160202026, -0.6771870851516724, 0.9924983978271484, -0.3975505530834198, -0.3435935080051422, -0.18209342658519745, 0.2797469198703766, 0.3954140543937683, 0.2383120059967041, 0.33773621916770935, -0.5965525507926941, -0.35640448331832886, 0.2674624025821686, -0.9800591468811035, -0.33304834365844727, 0.018329378217458725, 0.0651097372174263, 0.5657037496566772, 0.30712568759918213, -0.6814625859260559, 0.47841423749923706, 0.660984456539154, -0.27727431058883667, 0.6326618194580078, -0.18183086812496185, 0.35014718770980835, -0.9075982570648193, 0.11326194554567337, -0.2986319959163666, -0.024417676031589508, -0.5823323726654053, -0.14804935455322266, -0.02646607719361782, -0.10953313857316971, -0.26227620244026184, 0.6259983777999878, -0.3272819221019745, -0.2875642776489258, -0.5531397461891174, 0.15339459478855133, 0.196847602725029, 0.09830342233181, 0.31478530168533325, 0.982204020023346, 0.2447344809770584, -0.789910614490509, 0.331767201423645, 0.12891966104507446, -0.42214182019233704, 0.35344716906547546, -0.39492303133010864, 0.36532333493232727, -0.13814347982406616, -0.12414354085922241, -0.5040430426597595, -0.38833534717559814, 0.1964924931526184, -0.37844857573509216, 0.004447164013981819, 0.14289848506450653, -0.42260780930519104, -0.4203803539276123, -0.3613034784793854, -0.18196937441825867, 0.6273003816604614, -0.996140718460083, 0.7038686275482178, 0.43089812994003296, 0.3515433967113495, -0.7872191667556763, -0.7243675589561462, 0.06222081184387207, -0.43141043186187744, -0.5988332033157349, 0.062223710119724274, 0.1506289690732956, -0.3657051920890808, -0.12971319258213043, -0.41933903098106384, 0.012236563488841057, 0.19763261079788208, 0.21230845153331757, 0.03488567844033241, -0.21975570917129517, 0.11992696672677994, -0.06026534363627434, -0.36093369126319885, 0.03826669231057167, -0.0784657746553421, 0.8600877523422241, -0.10750981420278549, -0.32241663336753845, -0.2821081280708313, 0.07745714485645294, 0.7129510641098022, 0.15368790924549103, 0.8573790788650513, 0.4957597255706787, -0.8411059975624084, -0.526482105255127, -0.9759035706520081, -0.37342268228530884, -0.5188995003700256, 0.5641087889671326, -0.7566682696342468, -0.5667555332183838, 0.6359826922416687, -0.1615346074104309, -0.4439503848552704, 0.3569907248020172, 0.45414212346076965, 0.442551851272583, 0.853599488735199, 0.6417906880378723, 0.11686541885137558, 0.034087009727954865, -0.283101886510849, 0.48515817523002625, -0.9656388163566589, -0.22391211986541748, -0.6065455079078674, 0.2684791386127472, -0.18796879053115845, -0.41349390149116516, 0.18069110810756683, 0.47136184573173523, -0.05758066847920418, 0.4553670585155487, -0.8188608884811401, 0.5773648619651794, 0.1960485577583313, -0.04004524648189545, 0.7246573567390442, -0.04417452588677406, 0.20682533085346222, -0.13576996326446533, -0.3640466034412384, -0.803448498249054, 0.7828941345214844, 0.4237721264362335, 1.1377888917922974, -0.16031163930892944, 0.5746976733207703, 0.2809138894081116, 0.38579773902893066, -0.6946463584899902, 0.506666898727417, -0.26533812284469604, -0.43504542112350464, -0.2939869463443756, -0.43740397691726685, -0.7708231210708618, 0.36192551255226135, -0.1696450561285019, -0.9606640338897705, 0.43456506729125977, -0.06746840476989746, -0.4152824282646179, 0.1912606954574585, -0.5944570899009705, 0.6964870095252991, -0.1212325468659401, -0.4158582091331482, -0.15002335608005524, 0.20878423750400543, 0.5540592074394226, -0.7128775119781494, 0.11595311760902405, -0.13838349282741547, 0.21752507984638214, 0.6071878671646118, -0.14553532004356384, 0.46843695640563965, -0.12267093360424042, -0.2504151165485382, 0.09045425057411194, 0.2998795807361603, 0.6424595713615417, 0.10012395679950714, -0.3464670479297638, 0.05321890488266945, -0.2564219832420349, 0.3715113401412964, -0.5985553860664368, 0.7518631219863892, -0.4371297061443329, -0.4784563183784485, -0.34634822607040405, -0.4622924029827118, -0.2529563009738922, -0.19549641013145447, 0.5475985407829285, 0.08866582065820694, -0.1155659407377243, 0.30590176582336426, 0.6965859532356262, -0.4180730879306793, -0.016366589814424515, 0.5751095414161682, -0.5944889187812805, -0.49118220806121826, 0.9614816904067993, 0.055094193667173386, 0.05672050639986992, -0.049965254962444305, 0.05951489135622978, -0.290239155292511, -0.4150415360927582, -0.3297586739063263, 0.3625572621822357, -0.7857815623283386, -0.23431941866874695, -0.9708390831947327, -0.36460524797439575, -0.2788297235965729, -0.3561009168624878, -0.801562488079071, -0.2403676062822342, -0.07109826058149338, -0.047127414494752884, 0.57984858751297, 0.7551753520965576, -0.08131034672260284, 0.47472018003463745, -0.49973708391189575, 0.6570877432823181, 0.20962654054164886, 0.4080435335636139, 0.00480601005256176, -0.489352285861969, -0.4205772578716278, -0.19423146545886993, -0.11868523061275482, -0.8570412993431091, 0.6010093092918396, -0.18404744565486908, 0.42053595185279846, 0.3281782865524292, 0.13283833861351013, 0.7795838713645935, -0.26503583788871765, 0.49761897325515747, 0.06419191509485245, -1.0459810495376587, 0.4523993730545044, -0.02686532400548458, -0.16094402968883514, 0.4592823386192322, 0.15117226541042328, -0.5371026396751404, -0.6458984017372131, -0.17998257279396057, -0.8239484429359436, 0.7110434770584106, 0.06818508356809616, -0.12699951231479645, -0.12093198299407959, 0.4389888346195221, 0.36930134892463684, 0.06144233047962189, -0.6409481167793274, 0.252270370721817, 0.13884446024894714, -0.2865977883338928, 0.18185389041900635, -0.14883360266685486, 0.11217641830444336, 0.10395924001932144, 0.7593829035758972, 0.02834063023328781, 0.11286047101020813, 0.21584941446781158, -0.3484698235988617, -0.14527729153633118, 0.08306675404310226, 0.2466810792684555, 0.47125840187072754, -0.36107197403907776, -0.024983203038573265, 0.30734241008758545, -0.684583306312561, 0.11831982433795929, 0.025226179510354996, -0.3807514011859894, 0.18435516953468323, 0.002827355172485113, 0.8073042035102844, -0.0719309076666832, -0.6952789425849915, 0.26683178544044495, 0.05286290869116783, 0.027464499697089195, -0.5159953236579895, 0.043458614498376846, -0.164934441447258, 0.4465869665145874, 0.47291260957717896, -0.30541443824768066, 0.6612945795059204, -0.1544049233198166, 0.21694114804267883, 0.4381762742996216, -0.23332814872264862, -0.1231357604265213, 0.8583488464355469, 0.005763868801295757, -0.30643323063850403, 0.3685034513473511, -0.2995848059654236, -0.35205528140068054, 0.6632457971572876, 0.7303174734115601, 1.2928868532180786, -0.19475606083869934, 0.10458957403898239, 0.20880652964115143, 0.6253159046173096, -0.40755850076675415, 0.2269446849822998, 0.34230348467826843, -0.6927024126052856, -0.33673766255378723, -0.9676840901374817, -0.5760707259178162, 0.5633392930030823, -0.43483778834342957, 0.5436631441116333, -0.21005979180335999, -0.31698256731033325, -0.2806028425693512, -0.2517634928226471, -0.28846117854118347, -0.0038500865921378136, 0.1632784754037857, 0.681363582611084, -0.8394750952720642, 0.7173004150390625, 0.2007170170545578, -0.4897248148918152, -0.4898132383823395, 0.04456173628568649, -0.34991973638534546, -0.298326700925827, 0.8241429924964905, 0.5854065418243408, -0.7189127206802368, -0.14729586243629456, -0.04311944916844368, -0.5945378541946411, 0.9290465116500854, 0.525143027305603, -0.4803391098976135, 0.006046046502888203, 0.20381204783916473, 0.4410615563392639, -0.3311350345611572, 0.039616961032152176, 0.878639817237854, 0.4116569757461548, 0.0036143683828413486, -1.040425181388855, -0.006165445316582918, 0.01762852445244789, 0.004987651947885752, 0.217064768075943, -0.3630901575088501, 0.7291309237480164, 0.16341564059257507, -0.20356343686580658, 0.18095917999744415, 0.4485729932785034, 0.6888065934181213, 0.6294804215431213, 0.43124595284461975, 0.5044795870780945, 0.9241885542869568, -0.21378479897975922, 0.722231924533844, -0.29006558656692505, 0.23175019025802612, 0.8918337821960449, -0.576041042804718, 0.7240347266197205, 0.4614752531051636, 0.23453374207019806, 0.09179462492465973, 0.42366570234298706, 0.06716297566890717, 0.5897411108016968, 0.19507765769958496, -0.12141233682632446, -0.07770536094903946, -0.07627552002668381, -0.5104008316993713, 0.30681946873664856, 0.6410725116729736, -0.05388689786195755, 0.1370190978050232, 0.5074326992034912, -0.11615578830242157, 0.1740829050540924, -0.16789738833904266, 0.641981303691864, 0.08386209607124329, -0.4746007025241852, 0.9062618017196655, -0.09029829502105713, 0.9536387920379639, -0.4585183560848236, -0.18430191278457642, -0.44341209530830383, 0.6293981075286865, -0.29250356554985046, -0.20585153996944427, 0.7100595831871033, 0.13584831357002258, -0.11847778409719467, 0.2849922776222229, 0.7953240871429443, -0.2057783156633377, -0.22925736010074615, 0.8148311376571655, 0.22191213071346283, 0.3331388831138611, -0.2935512661933899, -0.07470136880874634, 0.5200501084327698, -0.47472020983695984, -0.28075122833251953, -0.11347271502017975, 0.5678142309188843, -0.15050694346427917, 0.6899062395095825, 0.40503430366516113, 0.10109223425388336, 0.25626569986343384, 0.07616624981164932, 0.687894344329834, -0.604472279548645, -0.28417330980300903, -0.5229006409645081, 0.2913393974304199, -0.1598229557275772, -0.01898602768778801, 0.7259625792503357, 0.7190543413162231, 0.46463561058044434, -0.4942840039730072, 0.38108086585998535, 0.15450724959373474, 0.577655017375946, -0.7679421305656433, 0.9275556802749634, -0.6681802868843079, 0.4322502017021179, -0.38524994254112244, -1.1079665422439575, -0.3312920331954956, 0.9541362524032593, -0.15583473443984985, -0.06494005024433136, 0.8208364248275757, 1.176863670349121, -0.03895922005176544, -0.02439199574291706, 0.575357973575592, 0.19157923758029938, 0.12116507440805435, 0.4087189733982086, 1.125651240348816, -0.4836914837360382, 0.3917011618614197, -0.25064733624458313, -0.26425105333328247, -0.32155466079711914, -0.5895094871520996, -0.8184357285499573, -0.5048880577087402, -0.2245054692029953, -0.6683276891708374, 0.2627546191215515, 0.8127038478851318, 0.6092124581336975, -0.7975524663925171, -0.3841441571712494, -0.13260458409786224, -0.06406094878911972, -0.21793219447135925, -0.24858136475086212, 0.4068026840686798, -0.46051454544067383, -0.8612473607063293, 0.7452727556228638, 0.4418630599975586, -0.13897959887981415, -0.39982908964157104, -0.4545651972293854, 0.2211364209651947, 0.22632701694965363, 0.595298707485199, 0.062393415719270706, -0.8835739493370056, -0.2398887276649475, 0.41062378883361816, -0.2574000060558319, -0.1802009642124176, 0.36439430713653564, -0.8110761642456055, 0.34040388464927673, 0.397053986787796, 0.8372015357017517, 0.5474783778190613, -0.36227941513061523, 0.3248945474624634, -0.3462291359901428, 0.47977498173713684, 0.1523609459400177, 0.26380422711372375, 0.36402350664138794, -0.6836282014846802, 1.0265247821807861, 0.19367662072181702, -0.5287190079689026, -1.1114705801010132, 0.017334511503577232, -0.726097583770752, -0.10604870319366455, 0.9600525498390198, 0.4139227569103241, -0.230178102850914, -0.31249502301216125, -0.2857174873352051, 0.051196515560150146, -0.1815309077501297, 1.2783485651016235, 0.6050195097923279, -0.02177416905760765, 0.020342467352747917, -0.7610158324241638, 0.5448224544525146, 0.18993833661079407, -0.8823394179344177, 0.2019585520029068, 0.5678189992904663, -0.16303803026676178, 0.5767332911491394, 0.6921756863594055, -0.18522143363952637, 0.379115492105484, 0.20454013347625732, 0.39855340123176575, 0.13823217153549194, -0.5797392725944519, -0.517398476600647, 0.08229558169841766, 0.27461621165275574, -0.23577335476875305 ]
http://arxiv.org/abs/2406.06563v1
http://arxiv.org/pdf/2406.06563v1
Skywork-MoE: A Deep Dive into Training Techniques for Mixture-of-Experts Language Models
2024-06-03T03:58:41
2024-06-03T03:58:41
Tianwen Wei, Bo Zhu, Liang Zhao, Cheng Cheng, Biye Li, Weiwei Lü, Peng Cheng, Jianhao Zhang, Xiaoyu Zhang, Liang Zeng, Xiaokun Wang, Yutuan Ma, Rui Hu, Shuicheng Yan, Han Fang, Yahui Zhou
cs.CL
cs.CL, cs.AI
In this technical report, we introduce the training methodologies implemented in the development of Skywork-MoE, a high-performance mixture-of-experts (MoE) large language model (LLM) with 146 billion parameters and 16 experts. It is initialized from the pre-existing dense checkpoints of our Skywork-13B model. We explore the comparative effectiveness of upcycling versus training from scratch initializations. Our findings suggest that the choice between these two approaches should consider both the performance of the existing dense checkpoints and the MoE training budget. We highlight two innovative techniques: gating logit normalization, which improves expert diversification, and adaptive auxiliary loss coefficients, allowing for layer-specific adjustment of auxiliary loss coefficients. Our experimental results validate the effectiveness of these methods. Leveraging these techniques and insights, we trained our upcycled Skywork-MoE on a condensed subset of our SkyPile corpus. The evaluation results demonstrate that our model delivers strong performance across a wide range of benchmarks.
[ -0.36223870515823364, -0.5152712464332581, 0.30155497789382935, -0.057752471417188644, -0.07813112437725067, 0.5092276930809021, -0.4276978075504303, -0.45504528284072876, 0.07956529408693314, 0.6792477965354919, -0.5532066822052002, -0.24777758121490479, -0.4990842044353485, -0.16053704917430878, -0.38671138882637024, 0.755994439125061, 0.17012716829776764, 0.269542396068573, -0.0018396337982267141, 0.014353382401168346, -0.810897707939148, -0.5618601441383362, -0.507177472114563, -0.27740055322647095, 0.25829941034317017, 0.6256170272827148, 0.49187543988227844, 0.7378650307655334, 0.22158655524253845, 0.29991599917411804, -0.16706956923007965, 0.1209808886051178, -0.6332635283470154, 0.006999767851084471, -0.0347408764064312, -0.5333669781684875, -0.3386733829975128, -0.021700771525502205, 0.5111692547798157, 0.9792287945747375, -0.49630841612815857, -0.1505201756954193, 0.038359127938747406, 0.6961914896965027, -0.7547003626823425, -0.08473607152700424, -1.0056151151657104, -0.10220693051815033, -0.4126964211463928, -0.09826462715864182, -0.3306989371776581, 0.2551564574241638, 0.05846427381038666, -0.6210060119628906, 0.16228535771369934, 0.1831449270248413, 0.45604395866394043, 0.27888408303260803, -0.4168919324874878, -0.2863296568393707, -0.6787799596786499, 1.155685305595398, -0.856711208820343, 0.5008488893508911, 0.28631117939949036, 0.37824147939682007, -0.05945896729826927, -0.3251115381717682, -0.309203565120697, -0.23354272544384003, 0.25082436203956604, 0.2010340690612793, 0.1637778878211975, 0.08809159696102142, -0.1539800763130188, 0.5260980725288391, -0.2789551317691803, 0.3828156292438507, -0.5349122881889343, -0.05433483049273491, 0.709553599357605, 0.3423028588294983, 0.17114005982875824, -0.1151663213968277, -0.34926626086235046, -0.06352192163467407, -0.6125977039337158, -0.0689898133277893, 0.4041108191013336, 0.20552760362625122, 0.07891285419464111, 0.4364910125732422, -0.6238616108894348, 0.7168815732002258, 0.111565500497818, -0.17879930138587952, 0.16052763164043427, -0.3148981034755707, -0.27709707617759705, 0.047645267099142075, 0.3756646513938904, 0.3919067084789276, 0.2407439798116684, -0.5188101530075073, -0.18951880931854248, -0.38009074330329895, 0.20824921131134033, -0.6388354897499084, -0.47703734040260315, -0.039710741490125656, -0.16529017686843872, -0.5168942809104919, -0.004503426607698202, -0.4707215428352356, -0.44939106702804565, -0.7722650766372681, 0.310996949672699, -0.6604871153831482, -0.5195647478103638, 0.45195508003234863, -0.1484076976776123, -0.07932350039482117, 0.5134437084197998, -0.9715287089347839, 0.16541658341884613, 0.7330487370491028, 0.38813862204551697, -0.1514083743095398, -0.37907689809799194, -0.33652761578559875, 0.44487524032592773, -0.3494865894317627, 0.6949288249015808, -0.6723838448524475, -0.30628740787506104, -0.18805988132953644, -0.47560399770736694, -0.3016650080680847, -0.6394011974334717, 0.2382914125919342, -0.39229217171669006, 0.32777389883995056, -0.2637471556663513, -0.6433753371238708, -0.5753183364868164, 0.2916654944419861, -0.3379390835762024, 1.4769996404647827, 0.14553380012512207, -0.7546064853668213, 0.5838596820831299, -0.6280598044395447, -0.03335817530751228, 0.27164581418037415, -0.1702156811952591, 0.12782342731952667, 0.2781650722026825, 0.3412920832633972, 0.7653253078460693, -0.2677142918109894, 0.3996181786060333, -0.30562958121299744, -0.2853853702545166, 0.15325292944908142, -0.37008368968963623, 0.9875368475914001, 0.23555466532707214, -0.25472456216812134, -0.13366536796092987, -0.9781543612480164, 0.06025415286421776, -0.19559837877750397, -0.6529536247253418, -0.6188499927520752, 0.14186060428619385, 0.15403644740581512, 0.07517792284488678, 0.15017586946487427, -0.4589572250843048, 0.28320446610450745, -0.5008944869041443, 0.34522774815559387, 0.6568500399589539, -0.11303474754095078, 0.4565233290195465, -0.2320614457130432, 0.1910434365272522, 0.11113158613443375, -0.06083887442946434, -0.278129905462265, -0.3451755940914154, -0.9026979207992554, -0.4562878906726837, 0.24671807885169983, 0.6457980275154114, -0.6389277577400208, 0.6055701971054077, -0.28467947244644165, -0.6779236197471619, -0.48009127378463745, 0.502345621585846, 0.4150158166885376, 0.35823243856430054, 0.3840680420398712, -0.3175819218158722, -0.564483642578125, -0.6751057505607605, -0.28767716884613037, -0.11425377428531647, 0.02707486040890217, 0.2396485060453415, 0.3995731770992279, -0.3568192422389984, 1.0450117588043213, -0.20582932233810425, 0.11833687871694565, -0.2134234607219696, 0.38029909133911133, -0.029478896409273148, 0.7139325141906738, 0.7384855151176453, -0.3651873469352722, -0.47851717472076416, 0.20989598333835602, -0.5590561628341675, 0.025029057636857033, 0.037456195801496506, -0.10140595585107803, 0.08106232434511185, 0.6352236866950989, -0.42974457144737244, 0.20141497254371643, 0.714870274066925, -0.12362343072891235, 0.4260917007923126, -0.25721174478530884, 0.1993073970079422, -1.3395788669586182, -0.032299887388944626, -0.40213504433631897, -0.13850584626197815, -0.7403110265731812, 0.25447362661361694, -0.02711980603635311, -0.11918943375349045, -0.5891059041023254, 0.45475903153419495, -0.7321793437004089, 0.10434234887361526, -0.361127108335495, -0.2955307066440582, -0.2719719707965851, 0.5524365305900574, 0.027243053540587425, 0.5803276300430298, 0.7238565683364868, -0.5801089406013489, 0.49891936779022217, -0.15664537250995636, -0.46088942885398865, 0.6162741184234619, -0.3822753429412842, 0.39443159103393555, 0.06957753002643585, 0.02934209629893303, -1.0034099817276, -0.48039159178733826, 0.15783283114433289, -0.3630908131599426, 0.4186682105064392, -0.1445375680923462, -0.507194995880127, -0.22160053253173828, -0.28699567914009094, 0.41579127311706543, 0.4753510355949402, -0.3095444440841675, 0.5852597951889038, 0.4410417973995209, -0.3035217523574829, -0.6407093405723572, -0.7426021099090576, 0.42328542470932007, -0.3451448976993561, -0.7488808035850525, 0.3789920508861542, -0.18585635721683502, -0.3203858733177185, -0.1417730450630188, 0.07443459331989288, -0.4569106698036194, 0.4933391809463501, 0.0736052468419075, -0.15973468124866486, -0.2270554155111313, -0.10188870131969452, 0.15702266991138458, -0.22920750081539154, -0.12988527119159698, -0.24182912707328796, 0.5037075877189636, -0.10369584709405899, -0.4448750913143158, -0.3086391091346741, 0.4322046637535095, 0.47103559970855713, -0.128024160861969, 0.725215494632721, 0.5128763318061829, -0.44144943356513977, -0.13476845622062683, -1.0304099321365356, -0.08312660455703735, -0.49779385328292847, 0.5128577351570129, -0.08074519038200378, -0.7845976948738098, 0.4907039701938629, -0.09059631824493408, 0.19257257878780365, 0.22144253551959991, 0.8024351000785828, -0.271064430475235, 0.8940865397453308, 0.9675790667533875, -0.28783294558525085, 0.4992716908454895, -0.22238148748874664, -0.16463567316532135, -0.6547975540161133, -0.2833738625049591, -0.459237277507782, -0.1390150636434555, -0.006319398060441017, -0.6269362568855286, 0.2847540080547333, 0.4858737587928772, -0.15029898285865784, 0.305033415555954, -0.28235670924186707, 0.6852801442146301, 0.6310392022132874, 0.20954976975917816, 0.3473500907421112, 0.0301077738404274, -0.20436573028564453, 0.11178253591060638, -1.0711266994476318, -0.28536665439605713, 1.2818753719329834, 0.30336716771125793, 0.6881405115127563, -0.20947705209255219, 0.715052604675293, -0.1406998187303543, 0.3661462068557739, -0.645412266254425, 0.5803049802780151, -0.07401691377162933, -1.1184217929840088, -0.4423438310623169, -0.2491026371717453, -0.6825186610221863, 0.29627853631973267, -0.32917243242263794, -0.5603488683700562, 0.07778222858905792, 0.19829995930194855, -0.31983721256256104, 0.3989489674568176, -0.5408117175102234, 0.6351808309555054, -0.4114742577075958, 0.1581193059682846, -0.5416654944419861, -0.562458336353302, 0.3812400996685028, -0.35348162055015564, 0.27666333317756653, -0.11222626268863678, -0.10757458209991455, 0.7840683460235596, -0.28577104210853577, 0.9848064184188843, -0.2438254952430725, 0.05544779822230339, 0.09530901908874512, 0.018746061250567436, 0.2497434765100479, -0.08977996557950974, -0.03635356202721596, 0.26789391040802, -0.2469279021024704, -0.6253839731216431, -0.32741579413414, 0.3620285391807556, -0.9144092798233032, -0.3185453712940216, 0.078086718916893, -0.8367041349411011, -0.3477315902709961, 0.29542645812034607, 0.27386653423309326, 0.5752322673797607, -0.07511680573225021, 0.9104323387145996, 0.5796251893043518, 0.011145206168293953, 0.4007214307785034, 0.6657217144966125, -0.017747383564710617, -0.6264796257019043, 0.6865365505218506, 0.273092120885849, 0.1240653544664383, 0.32585084438323975, 0.10627950727939606, 0.2644304037094116, -1.005030870437622, -0.5229600667953491, -0.08634107559919357, -0.7027438879013062, -0.03086416982114315, -0.5509437322616577, -0.021730128675699234, -0.21963001787662506, -0.3776073157787323, -0.8156607151031494, -0.3357841372489929, -0.10855402797460556, -0.07238560914993286, 0.2328619360923767, 0.6271765828132629, 0.05573589727282524, 0.5117619037628174, -0.7740500569343567, -0.15423958003520966, 0.323940247297287, 0.14482338726520538, -0.09589412808418274, -0.5684682726860046, -0.7544837594032288, 0.2859198749065399, -0.1815413534641266, -0.6598670482635498, 0.26627933979034424, 0.09194669872522354, 0.9606040120124817, 0.39972323179244995, -0.0729081854224205, 0.8219212889671326, -0.3627409338951111, 0.7318374514579773, 0.2538664638996124, -0.7902033925056458, 0.2738959491252899, -0.6984186172485352, -0.0020220852456986904, 0.9096769094467163, 0.3152466416358948, -0.37575864791870117, -0.657269299030304, -0.43983882665634155, -0.9853413701057434, 0.6559123396873474, 0.2185276448726654, 0.3204866945743561, 0.2970748543739319, 0.3023937940597534, 0.36868202686309814, 0.1831483542919159, -0.45081833004951477, 0.02127746492624283, -0.09405896812677383, -0.3306575417518616, -0.16665999591350555, -0.20703603327274323, -0.2647852599620819, -0.41971081495285034, 0.49701595306396484, -0.06311920285224915, -0.037853579968214035, -0.28931015729904175, -0.484154611825943, -0.0850161761045456, 0.06556107848882675, 0.3901950716972351, 0.8419992923736572, -0.2761654555797577, -0.1679527461528778, 0.49763867259025574, -0.46408727765083313, 0.009198665618896484, 0.010958408936858177, -0.04479115083813667, -0.1708034873008728, 0.45000994205474854, 0.8611441850662231, 0.7712920308113098, -0.6444193720817566, 0.36843955516815186, 0.3514953553676605, -0.46213802695274353, -0.19682322442531586, 0.38105344772338867, 0.22956489026546478, 0.08009044080972672, 0.5996967554092407, 0.2584981918334961, 0.08001141995191574, -0.4719381332397461, 0.017202103510499, 0.3568243086338043, -0.14679351449012756, -0.23636849224567413, 0.4823753237724304, 0.61800217628479, -0.07224133610725403, 0.5529796481132507, 0.15076960623264313, -0.40929707884788513, 0.5198511481285095, -0.02002660185098648, 0.8035828471183777, -0.33287420868873596, -0.1781272143125534, -0.10707079619169235, 0.3972409963607788, -0.1689210832118988, -0.0852392390370369, -0.07336629927158356, -0.7755370736122131, -0.6984520554542542, -0.29546883702278137, -0.6622129082679749, -0.018656698986887932, -0.7317651510238647, 0.36623328924179077, -0.27953341603279114, 0.17872987687587738, -0.11547727882862091, 0.05876601114869118, -0.7460530996322632, 0.3224025368690491, 0.33894407749176025, 1.0119379758834839, -0.9082517623901367, 0.8549761772155762, 0.9837242960929871, -0.13669921457767487, -0.869636595249176, -0.07606637477874756, 0.10103227943181992, -0.8878999352455139, 0.7470110654830933, 0.29798510670661926, 0.09242507815361023, 0.17424923181533813, -0.550952136516571, -0.896796703338623, 1.308493733406067, 0.38792964816093445, -0.4194805324077606, -0.10299954563379288, 0.05163903906941414, 0.24171511828899384, -0.35711434483528137, 0.4815560281276703, 0.4068894684314728, 0.3044712543487549, -0.053798042237758636, -1.064963936805725, -0.3009941875934601, -0.19807037711143494, 0.10799809545278549, -0.1707213670015335, -0.6227915287017822, 0.9083610773086548, 0.24037159979343414, -0.018109358847141266, 0.13548734784126282, 0.7313256859779358, 0.36096733808517456, 0.2702212631702423, 0.6806629300117493, 0.7513487339019775, 0.7978919744491577, 0.0964263528585434, 0.8224695920944214, -0.6409391760826111, 0.3237260580062866, 0.6435253024101257, -0.10028036683797836, 0.8219074010848999, 0.40047815442085266, -0.001798655022867024, 0.5363831520080566, 0.5634016394615173, 0.28178560733795166, 0.524573802947998, -0.013794125989079475, -0.10005244612693787, -0.47404593229293823, 0.3936609625816345, -0.5331588983535767, 0.39721107482910156, 0.26165804266929626, 0.07137581706047058, -0.34051382541656494, 0.18490658700466156, 0.15117450058460236, -0.09818863868713379, -0.4138074219226837, 0.8175082206726074, -0.12934157252311707, -0.6390733122825623, 0.6091277599334717, 0.22073878347873688, 0.953026294708252, -0.4023093283176422, 0.3532543480396271, -0.27270951867103577, 0.2031388282775879, -0.05828754976391792, -0.6035323739051819, 0.19609525799751282, 0.025222448632121086, -0.2602926194667816, -0.27116769552230835, 0.5892090201377869, -0.5097815990447998, -0.5736909508705139, 0.10798106342554092, 0.41425588726997375, 0.27267134189605713, -0.24452205002307892, -0.9123738408088684, -0.21388041973114014, -0.16939981281757355, -0.565696120262146, 0.4831622540950775, 0.6713996529579163, 0.10578653216362, 0.7671377658843994, 0.6329308748245239, -0.10148559510707855, 0.38747239112854004, -0.15146996080875397, 1.0951284170150757, -0.5953757762908936, -0.6093151569366455, -0.6123311519622803, 0.9213219285011292, -0.03620109334588051, -0.3817862570285797, 0.8093186020851135, 0.5403075218200684, 1.0605194568634033, -0.15427131950855255, 0.722678005695343, 0.15763695538043976, 0.685229480266571, -0.8136693239212036, 0.5109264850616455, -0.5117872357368469, 0.23601697385311127, -0.3335796892642975, -0.9272550344467163, -0.13854742050170898, 0.4740793704986572, -0.21468734741210938, 0.25546255707740784, 0.561358630657196, 0.8012147545814514, -0.22550874948501587, -0.18472634255886078, 0.27964603900909424, 0.04775940999388695, 0.2417767494916916, 0.6090278029441833, 0.9983224272727966, -0.11602605134248734, 0.6352455615997314, -0.47548356652259827, -0.3310319483280182, -0.6071654558181763, -1.13448965549469, -1.0132638216018677, -0.26499655842781067, -0.30498501658439636, 0.18132533133029938, -0.01931309886276722, 0.8649390339851379, 1.2734105587005615, -0.7266187071800232, -0.459945946931839, -0.30721819400787354, -0.3293883204460144, -0.14019151031970978, -0.1708424836397171, -0.14224860072135925, -0.46402421593666077, -0.572681725025177, 0.7272406816482544, 0.2448873370885849, -0.18855899572372437, -0.45747971534729004, -0.414474219083786, 0.07776311784982681, 0.06336052715778351, 0.343273401260376, 0.05088222026824951, -0.6717851758003235, -0.08745013922452927, 0.0025031445547938347, -0.02585875801742077, -0.20955973863601685, 0.7939332127571106, -0.5368209481239319, 0.45012277364730835, 0.6902145147323608, 0.8562021851539612, 0.35823214054107666, 0.06579170376062393, 0.7319874167442322, -0.7835283875465393, 0.33160850405693054, 0.1307641565799713, 0.30643242597579956, 0.3379940092563629, -0.18330131471157074, 0.48100903630256653, 0.5988731980323792, -0.5176464319229126, -1.0538597106933594, -0.08961864560842514, -0.9774120450019836, -0.47831642627716064, 1.055038571357727, 0.008791984058916569, 0.17780041694641113, -0.29469430446624756, -0.45782119035720825, -0.03766991198062897, -0.23701703548431396, 0.6828126907348633, 1.0312238931655884, 0.17968477308750153, -0.11393681168556213, -0.8004927635192871, 0.07728368788957596, 0.64021897315979, -0.633751630783081, 0.060882292687892914, 0.43728718161582947, 0.5792483687400818, 0.0562141090631485, 0.6109766960144043, 0.0983869880437851, 0.22217196226119995, 0.05778040736913681, 0.2543722689151764, -0.48976898193359375, -0.4503580927848816, -0.2204785943031311, -0.07351020723581314, 0.014678091742098331, 0.0843905583024025 ]
http://arxiv.org/abs/2406.00969v1
http://arxiv.org/pdf/2406.00969v1
Using RL to Identify Divisive Perspectives Improves LLMs Abilities to Identify Communities on Social Media
2024-06-03T03:45:31
2024-06-03T03:45:31
Nikhil Mehta, Dan Goldwasser
cs.CL
cs.CL
The large scale usage of social media, combined with its significant impact, has made it increasingly important to understand it. In particular, identifying user communities, can be helpful for many downstream tasks. However, particularly when models are trained on past data and tested on future, doing this is difficult. In this paper, we hypothesize to take advantage of Large Language Models (LLMs), to better identify user communities. Due to the fact that many LLMs, such as ChatGPT, are fixed and must be treated as black-boxes, we propose an approach to better prompt them, by training a smaller LLM to do this. We devise strategies to train this smaller model, showing how it can improve the larger LLMs ability to detect communities. Experimental results show improvements on Reddit and Twitter data, on the tasks of community detection, bot detection, and news media profiling.
[ -0.795721173286438, -0.7236526608467102, 0.7108650803565979, -0.10766381770372391, -0.5332342982292175, 0.6997717022895813, -0.4363281726837158, -0.2775990664958954, 0.4808955490589142, 0.25137272477149963, -0.7631319165229797, -0.3896635174751282, -0.7931066155433655, 0.1137482225894928, -0.4644841253757477, 0.7243245244026184, 0.17489446699619293, -0.1949264109134674, 0.0561458021402359, -0.23597152531147003, -0.25383758544921875, -0.5982636213302612, -0.6470499038696289, -0.2514794170856476, 1.0220085382461548, 0.4946109652519226, 0.4505254328250885, 0.439765602350235, 0.3576411008834839, 0.32304468750953674, -0.35346245765686035, 0.3341258466243744, -0.7657050490379333, -0.15562056005001068, -0.18238763511180878, -0.3180360198020935, 0.02827761135995388, 0.10908053815364838, 0.41898536682128906, 0.6295661926269531, -0.09461748600006104, 0.3292332887649536, 0.16230760514736176, 0.8359824419021606, -0.2814738154411316, -0.06311608105897903, -0.8287169337272644, 0.021639885380864143, -0.1394738405942917, -0.0726298838853836, -0.4970242381095886, -0.4245050549507141, -0.03004937805235386, -0.20101317763328552, 0.44285792112350464, 0.0056459964253008366, 0.49961525201797485, -0.03104112111032009, -0.34730264544487, -0.1916368007659912, -0.7345578074455261, 0.8220446705818176, -0.824317455291748, 0.3106920123100281, -0.00028075891896151006, 0.3796848952770233, -0.24343198537826538, -0.3025253117084503, -0.7588222622871399, 0.25942370295524597, -0.2446875125169754, -0.2268192619085312, -0.18825559318065643, -0.29223349690437317, 0.2353406399488449, 0.255614310503006, -0.4384010434150696, 0.22932450473308563, -0.6211202144622803, -0.24540551006793976, 0.5915488600730896, 0.10013148933649063, 0.13102053105831146, -0.34608739614486694, -0.31453752517700195, 0.2792559862136841, -0.74913489818573, -0.14165711402893066, 0.3433125913143158, 0.5376960635185242, -0.10600807517766953, 0.4353792071342468, -0.12396026402711868, 0.628734290599823, 0.16461825370788574, -0.4075024127960205, 0.280536413192749, -0.03658534586429596, -0.04215981066226959, -0.43774956464767456, 0.6102587580680847, 0.3937351107597351, 0.4220125079154968, 0.1970764398574829, -0.2732325494289398, -0.07969758659601212, 0.19691680371761322, -0.6720349788665771, -0.23371849954128265, 0.10320352762937546, -0.6338589191436768, -0.3319263756275177, 0.2646096646785736, -0.7370789647102356, -1.0357906818389893, -0.4424625337123871, -0.06680402904748917, -0.013118172064423561, -0.8637087345123291, -0.09111183881759644, -0.1898203343153, 0.19052128493785858, 0.7149339318275452, -0.7085270881652832, 0.05583171918988228, 0.931976318359375, 1.0623363256454468, -0.2169966995716095, -0.06133689731359482, -0.5062713027000427, -0.2213764786720276, -0.1795990765094757, 0.7526097893714905, -0.6167954206466675, -0.08027897775173187, 0.39629948139190674, -0.02914292737841606, 0.18197406828403473, -0.841481626033783, -0.1814330369234085, -0.9413275718688965, -0.05684594064950943, -0.5801823735237122, -0.25923505425453186, -0.11917470395565033, 0.39221909642219543, -0.6973938941955566, 0.7872992157936096, 0.04814434424042702, -0.7851477861404419, 0.3821696937084198, -0.3488696217536926, -0.40032124519348145, 0.18900184333324432, -0.2590258717536926, -0.36276760697364807, 0.3246791660785675, 0.3578599691390991, 0.6385051012039185, 0.24335458874702454, 0.11954411119222641, -0.7164580225944519, -0.028436731547117233, 0.4172092378139496, -0.3164308965206146, 0.6710647344589233, 0.24692043662071228, 0.05732668936252594, 0.01531306654214859, -0.3556012511253357, -0.4819158613681793, 0.08179456740617752, -0.5056759119033813, -0.5417194962501526, 0.23468860983848572, -0.06594697386026382, 0.3711298108100891, 0.0864146277308464, -0.5591283440589905, 0.13187889754772186, -0.27781766653060913, 0.7710462212562561, 0.9172022342681885, 0.1723761111497879, 0.33664336800575256, -0.04706425219774246, 0.4944237470626831, 0.3788221478462219, 0.15647059679031372, 0.13995957374572754, -0.5417734980583191, -0.8685302138328552, -0.3967755138874054, 0.1950564831495285, 0.17112036049365997, -1.0023467540740967, 0.40503591299057007, -0.10950187593698502, -0.4143069386482239, -0.2792552411556244, 0.5969354510307312, -0.07533000409603119, 0.28178513050079346, 0.05500734969973564, -0.3208487629890442, -0.5796688795089722, -0.7675528526306152, -0.07667183130979538, -0.2051575779914856, -0.03968027979135513, 0.280205100774765, 0.4197668135166168, -0.25983375310897827, 1.0907667875289917, -0.5355114936828613, -0.14773575961589813, -0.6602383852005005, -0.0010479624615982175, 0.2757062017917633, -0.2815355062484741, 0.1070304587483406, -1.1426974534988403, -0.8151614665985107, 0.020523792132735252, -0.6044299602508545, -0.03872543200850487, 0.05505561828613281, 0.09374982863664627, 0.028132300823926926, 0.5974661111831665, -0.3808947801589966, 0.3165041506290436, 0.5599210858345032, -0.11950451880693436, -0.03548411279916763, 0.1990107297897339, -0.009822589345276356, -1.0615365505218506, -0.44765299558639526, 0.4761326313018799, -0.6772058010101318, -0.691250205039978, -0.1164812371134758, 0.06546032428741455, -0.010905747301876545, -0.623647153377533, 0.3742128014564514, -0.6587027907371521, -0.12724176049232483, -0.4380455017089844, 0.5693590044975281, -0.2532467246055603, 0.4059077501296997, 0.21944016218185425, 0.5549536943435669, 0.22953569889068604, -0.240594744682312, 0.20410367846488953, -0.11351826786994934, -0.45772790908813477, 0.2085658311843872, -0.25305119156837463, 0.4109680950641632, -0.3769981563091278, 0.37787365913391113, -1.3991435766220093, -0.207545667886734, 0.08589091897010803, -0.4213002026081085, 0.11434510350227356, -0.4125104546546936, -0.6360664963722229, -0.6634095311164856, -0.43209749460220337, 0.4035613238811493, 0.5065478086471558, -0.8516009449958801, 0.646906316280365, 0.6805402636528015, -0.027114246040582657, -0.4491928815841675, -0.4516263008117676, -0.07159768044948578, -0.6361286044120789, -0.42449116706848145, -0.315356582403183, 0.13340890407562256, -0.4260720908641815, -0.08847899734973907, 0.18451015651226044, 0.017391523346304893, 0.12210994958877563, 0.18569259345531464, 0.21963855624198914, -0.10671641677618027, 0.14900396764278412, -0.23984836041927338, -0.08935336768627167, -0.2681589424610138, 0.0666583999991417, 0.8102225661277771, -0.034298691898584366, -0.393242746591568, -0.27278777956962585, 0.3656693398952484, 0.5667662024497986, -0.3559819757938385, 0.7406848669052124, 0.36991769075393677, -0.28288301825523376, -0.5342963933944702, -0.7589510083198547, -0.1956969052553177, -0.560894787311554, 0.411022424697876, 0.19752348959445953, -1.4274890422821045, 0.5334827303886414, -0.1242247074842453, 0.06290686130523682, 0.13193076848983765, 0.9311777949333191, -0.010069689713418484, 0.6965904235839844, 0.883108377456665, -0.6382123827934265, 0.647663950920105, 0.14884738624095917, 0.4541250169277191, -0.6140152215957642, 0.13869325816631317, -0.26956942677497864, -0.3760662078857422, -0.3938063383102417, -0.6199201345443726, 0.33221328258514404, -0.1430138647556305, 0.15372730791568756, 0.2984808683395386, -0.5790349245071411, 0.7274113893508911, 0.22578981518745422, 0.24959464371204376, 0.4259510338306427, 0.0542459599673748, 0.5087106227874756, -0.1565096527338028, -0.6721104383468628, -0.5954359173774719, 0.8439899682998657, 0.8412162661552429, 0.7855615615844727, 0.35639438033103943, 1.0095930099487305, 0.6041529774665833, 0.9030697345733643, -0.9279720783233643, 0.5266660451889038, -0.18137183785438538, -0.6904525756835938, -0.25838926434516907, -0.26212701201438904, -0.610398530960083, 0.2589337229728699, 0.03724991902709007, -0.667095422744751, 0.308745801448822, 0.07626169174909592, -0.6112169623374939, 0.31603696942329407, -0.8127878308296204, 0.3957584500312805, 0.173751562833786, -0.02564597688615322, -0.2941792905330658, -0.3010724186897278, 0.24710559844970703, -0.375510573387146, 0.7126230001449585, -0.08499346673488617, 0.039964158087968826, 0.6631354689598083, -0.3366203308105469, 1.5606863498687744, -0.3624842166900635, -0.07417769730091095, 0.4371357858181, -0.2519931495189667, 0.4607026278972626, 0.25425997376441956, 0.2020827978849411, 0.13130439817905426, -0.38156524300575256, -0.27187642455101013, -0.5290476679801941, 0.7392750382423401, -0.9098270535469055, -0.8913623094558716, -0.08996198326349258, -0.2851656973361969, -0.2317882627248764, -0.031326837837696075, -0.17619076371192932, 0.32654306292533875, -0.04447757825255394, 0.27997228503227234, 0.9119887948036194, -0.06760572642087936, 0.4949692487716675, 0.6168433427810669, -0.530310332775116, -0.21359023451805115, 0.5716006755828857, 0.12263929098844528, 0.4681105613708496, 0.160817489027977, 0.08398985117673874, -0.30603429675102234, -0.5316357612609863, -0.39079543948173523, 0.41868987679481506, -0.8356742858886719, -0.24781161546707153, -0.38966429233551025, -0.21008552610874176, -0.24728913605213165, -0.10272026807069778, -0.26025497913360596, -0.012323793955147266, -0.1646103411912918, -0.24029475450515747, 0.3863009512424469, 0.9874019026756287, -0.04521729424595833, 0.33306846022605896, -0.45183032751083374, 0.4247235655784607, 0.530315101146698, 0.1250676065683365, 0.3310909569263458, -0.663266122341156, -0.21871618926525116, -0.13463716208934784, -0.0026574088260531425, -0.9353476166725159, 0.18702897429466248, -0.0877782478928566, 0.43891507387161255, 0.39020201563835144, 0.03231833875179291, 0.5611609816551208, -0.6468133330345154, 0.45353445410728455, 0.04813739284873009, -0.47937071323394775, 0.4820675551891327, -0.20313386619091034, -0.032601241022348404, 0.7047059535980225, 0.5513017177581787, -0.6198362708091736, -0.6023768186569214, -0.30137765407562256, -0.5095028877258301, 0.4527326226234436, -0.06777974963188171, 0.6464651226997375, -0.16613583266735077, 0.4827859103679657, -0.011789720505475998, 0.20955774188041687, -1.1507648229599, -0.1768568456172943, 0.02595663070678711, -0.14066046476364136, -0.0718761458992958, -0.38449645042419434, -0.3225547969341278, -0.39773473143577576, 0.4286290407180786, -0.11395663022994995, -0.07024987787008286, 0.069814033806324, 0.06407234817743301, -0.3005763292312622, 0.14773344993591309, 0.2564118504524231, 0.918470561504364, -0.014101448468863964, 0.2568069100379944, 0.049834635108709335, -0.2857986390590668, 0.05517396703362465, -0.20161403715610504, -0.12891720235347748, 0.08958311378955841, 0.4507247805595398, 0.371537446975708, -0.3008592128753662, -0.5181947350502014, 0.7843968272209167, -0.051732975989580154, -0.23513363301753998, -0.37960225343704224, 0.062136631458997726, 0.4912736117839813, 0.6901834011077881, 0.49995023012161255, -0.13689292967319489, -0.17359302937984467, -0.8158201575279236, 0.24456429481506348, 0.5300224423408508, -0.5951060652732849, -0.08360137790441513, 0.13093268871307373, 0.3739384710788727, -0.5806536674499512, 0.39456993341445923, -0.155423104763031, -0.884454071521759, 0.5412790775299072, 0.2512916028499603, 0.7777108550071716, 0.044067103415727615, 0.3316628932952881, 0.2188558727502823, 0.4320301115512848, 0.026018846780061722, -0.2201789766550064, 0.020610099658370018, -1.0952423810958862, -0.46832093596458435, -0.7593874931335449, -0.18859460949897766, 0.2837783694267273, -0.5863186717033386, 0.4305657744407654, -0.7002983689308167, -0.03723666071891785, 0.39950403571128845, 0.0018734955228865147, -0.41290047764778137, -0.027890658006072044, 0.5459424257278442, 0.9549115300178528, -1.4711796045303345, 1.0854589939117432, 0.6246533393859863, -0.1549483835697174, -0.9674779772758484, 0.26039209961891174, 0.41439104080200195, -0.7883362174034119, 0.45463621616363525, 0.36779099702835083, -0.029669785872101784, -0.11749296635389328, -0.7072156071662903, -0.4109753668308258, 0.955454409122467, -0.1870812475681305, -1.0501437187194824, 0.35760298371315, 0.15975312888622284, 0.8476700186729431, -0.6125842332839966, -0.060553643852472305, 0.2845292091369629, 0.231121227145195, 0.1558661013841629, -0.607029914855957, 0.15016286075115204, -0.025606613606214523, 0.1017952710390091, 0.3017325699329376, -0.7634207606315613, 0.8284503817558289, -0.013580556027591228, -0.20781764388084412, -0.4566499590873718, 0.7983412742614746, 0.5266398787498474, 0.3748813569545746, 1.042396903038025, 0.12240396440029144, 0.6386566758155823, 0.2078343629837036, 0.5792086124420166, 0.1733449548482895, 0.7041745781898499, 0.7406806945800781, -0.377053827047348, 1.0845073461532593, 0.7032610774040222, -0.2579442262649536, 0.5206025242805481, 0.775267481803894, -0.10626117140054703, 0.7875164151191711, 0.27546319365501404, -0.4120408296585083, -0.5747074484825134, 0.1394936442375183, -0.19992806017398834, -0.03932235389947891, 0.36236920952796936, -0.426583468914032, -0.3714373707771301, 0.13776850700378418, 0.17471431195735931, 0.47138509154319763, -0.3330748379230499, 0.8917588591575623, 0.3092452883720398, -0.5087264180183411, 0.37876802682876587, -0.003666248405352235, 0.9169610738754272, -0.28831079602241516, 0.050307128578424454, -0.5532987117767334, 0.30133503675460815, -0.3450661897659302, -0.8006531000137329, 0.31169968843460083, 0.08759672194719315, -0.2918859124183655, -0.0187908373773098, 0.947146475315094, -0.31279948353767395, -0.7382625341415405, 0.5342178344726562, 0.7173669934272766, 0.009503141045570374, -0.12342226505279541, -0.5971066951751709, 0.17394250631332397, 0.4240923225879669, -0.29288190603256226, 0.43011680245399475, 0.7318692207336426, -0.22125780582427979, 0.5336380004882812, 0.5555875301361084, -0.026699146255850792, -0.1524306982755661, 0.2193303406238556, 1.4055286645889282, -0.6232471466064453, -0.1955133080482483, -1.2216986417770386, 0.3575059473514557, -0.27678990364074707, -0.08563033491373062, 0.7458980679512024, 0.4841688871383667, 0.9038244485855103, 0.12221183627843857, 1.031238079071045, -0.2600286602973938, 1.0995945930480957, -0.2261696606874466, 0.5517885684967041, -0.6425890922546387, 0.5780001282691956, -0.106425940990448, -0.6671802401542664, -0.1764647364616394, 0.4493788182735443, -0.5977027416229248, -0.05880714952945709, 0.30646803975105286, 1.1263686418533325, -0.3556022644042969, -0.0407402329146862, 0.25695571303367615, 0.15977133810520172, 0.5313882827758789, 0.454950213432312, 1.288090705871582, 0.12222486734390259, 0.47135600447654724, -0.31547635793685913, -0.511965274810791, -0.2877005636692047, -0.7022088170051575, -1.5827996730804443, -0.49420222640037537, -0.2825571298599243, -0.44144847989082336, -0.1402665376663208, 0.8102635145187378, 0.7312442660331726, -0.7132573127746582, -0.1206088662147522, 0.3099474608898163, 0.27996912598609924, 0.22068238258361816, -0.1671319603919983, -0.04288438335061073, -0.04388496279716492, -0.46011656522750854, 0.09600663930177689, 0.2941308915615082, -0.3601490557193756, -0.8820258975028992, -0.1168174296617508, -0.3351469933986664, 0.043821047991514206, 0.7698851823806763, 0.25554072856903076, -0.8835638165473938, -0.6987993717193604, -0.03524653986096382, -0.09426629543304443, 0.2641688287258148, 0.8615977168083191, -0.5282349586486816, 0.16561520099639893, 0.3339778780937195, 0.5138389468193054, 0.5367763638496399, 0.39825859665870667, 0.288492888212204, -0.8666481971740723, 0.30256253480911255, 0.03801025077700615, 0.2362174093723297, 0.5924335718154907, -0.3923506736755371, 0.3321722447872162, 0.28410330414772034, -0.4844147861003876, -0.6433696150779724, 0.22752423584461212, -1.026206135749817, -0.4888640344142914, 1.6418226957321167, -0.03454558551311493, -0.30056896805763245, -0.556562602519989, -0.2225630283355713, -0.13504105806350708, -0.461680144071579, 0.9400399327278137, 0.9871352910995483, 0.1646726131439209, -0.48231005668640137, -0.716336190700531, 0.30014654994010925, 0.028280315920710564, -0.6359165906906128, 0.23649056255817413, 0.4815819561481476, 0.49183520674705505, 0.2658505141735077, 0.9736078381538391, 0.029551321640610695, -0.11149834841489792, -0.5211426615715027, -0.29928967356681824, 0.17881806194782257, -0.27789485454559326, -0.29311904311180115, 0.25775882601737976, 0.276810884475708, -0.054383955895900726 ]
http://arxiv.org/abs/2406.06562v1
http://arxiv.org/pdf/2406.06562v1
Achieving Sparse Activation in Small Language Models
2024-06-03T03:21:49
2024-06-03T03:21:49
Jifeng Song, Kai Huang, Xiangyu Yin, Boyuan Yang, Wei Gao
cs.CL
cs.CL, cs.AI
Sparse activation, which selectively activates only an input-dependent set of neurons in inference, is a useful technique to reduce the computing cost of Large Language Models (LLMs) without retraining or adaptation efforts. However, whether it can be applied to the recently emerging Small Language Models (SLMs) remains questionable, because SLMs are generally less over-parameterized than LLMs. In this paper, we aim to achieve sparse activation in SLMs. We first show that the existing sparse activation schemes in LLMs that build on neurons' output magnitudes cannot be applied to SLMs, and activating neurons based on their attribution scores is a better alternative. Further, we demonstrated and quantified the large errors of existing attribution metrics when being used for sparse activation, due to the interdependency among attribution scores of neurons across different layers. Based on these observations, we proposed a new attribution metric that can provably correct such errors and achieve precise sparse activation. Experiments over multiple popular SLMs and datasets show that our approach can achieve 80% sparsification ratio with <5% model accuracy loss, comparable to the sparse activation achieved in LLMs. The source code is available at: https://github.com/pittisl/Sparse-Activation.
[ 0.0009681455558165908, -0.6677631139755249, 0.6155049204826355, 0.4204414188861847, -0.27659669518470764, -0.1092146709561348, -0.5867236256599426, -0.2979600727558136, 0.4229755401611328, -0.22757889330387115, -0.3947989344596863, -0.047750696539878845, -0.511117160320282, -0.10706755518913269, -0.2545067369937897, 0.5635377168655396, 0.06554380059242249, 0.06494306772947311, -0.20141297578811646, -0.2391802966594696, -0.2866419553756714, -0.16586387157440186, -0.8523902893066406, -0.43081411719322205, 0.8236714601516724, 0.2720722258090973, 0.41454261541366577, 0.4695846438407898, -0.04371444135904312, 0.33021336793899536, -0.22444182634353638, 0.2121986299753189, -0.6878225803375244, -0.35028547048568726, 0.16477200388908386, -0.2745702266693115, -0.41984981298446655, 0.03071216121315956, 1.0559582710266113, 1.1421295404434204, -0.18426667153835297, 0.24026936292648315, 0.6065969467163086, 0.20109783113002777, -0.7426053285598755, 0.1620187908411026, -1.0341156721115112, -0.2860303819179535, 0.16701103746891022, -0.15249839425086975, -0.6281026005744934, -0.24318508803844452, -0.3217483460903168, -0.373825341463089, 0.09751147031784058, -0.16038179397583008, 0.6459434032440186, 0.38340112566947937, 0.08441964536905289, -0.0855037048459053, -0.5300245881080627, 1.128261923789978, -0.5518631339073181, 0.26388317346572876, 0.46979451179504395, -0.25060132145881653, -0.04988453537225723, -0.5123597979545593, -0.202682763338089, -0.49634718894958496, -0.41519632935523987, -0.3161107301712036, -0.3024633824825287, 0.02815907448530197, 0.4246743619441986, -0.04001074656844139, -0.3533572554588318, 0.27855372428894043, -0.2270488291978836, 0.05467170849442482, 0.2810792028903961, 0.1095859482884407, 0.006905763875693083, -0.14142468571662903, -0.24505515396595, 0.29934555292129517, -0.8605185151100159, -0.02985941804945469, 0.2923906445503235, 0.6892919540405273, -0.1825806349515915, 0.498144268989563, 0.10392502695322037, 0.6092966198921204, 0.24883224070072174, 0.14398959279060364, 0.21687021851539612, -0.2907693088054657, -0.25045064091682434, 0.011002523824572563, 0.7842666506767273, -0.15546363592147827, -0.03281395882368088, -0.22012005746364594, -0.6603884696960449, -0.10234659165143967, 0.3300333619117737, -0.7265268564224243, 0.11847061663866043, 0.09412944316864014, -0.46317464113235474, -0.3287529945373535, -0.4082508087158203, -0.5812515616416931, -0.3232625424861908, -0.007420544978231192, 0.7469919323921204, -0.15372169017791748, -0.24885253608226776, 0.0513860285282135, 0.3307787775993347, 0.05221622437238693, 0.31446659564971924, -1.2472164630889893, 0.651151180267334, 0.327729195356369, 1.0731149911880493, -0.18216267228126526, -0.40307149291038513, -0.5901920199394226, -0.16087606549263, -0.48844724893569946, 0.7203999757766724, -0.23403605818748474, 0.10973860323429108, 0.02968708612024784, -0.016186390072107315, -0.3426538407802582, -0.578681468963623, 0.22296258807182312, -0.4933536648750305, -0.28841885924339294, -0.036352913826704025, -0.12468838691711426, 0.1585843712091446, 0.1021411120891571, -0.8188981413841248, 1.0314841270446777, 0.24163639545440674, -0.3565683662891388, 0.4150644838809967, -0.4170970618724823, -0.35675594210624695, 0.14447206258773804, -0.24193653464317322, -0.35139819979667664, 0.5654565691947937, -0.09192120283842087, 0.38126295804977417, -0.3146008551120758, 0.10089917480945587, -0.2957143485546112, -0.683116614818573, 0.3327447474002838, -0.42892345786094666, 0.8553193807601929, -0.08036529272794724, -0.25166764855384827, 0.17811302840709686, -0.6488129496574402, 0.21526655554771423, 0.27688443660736084, -0.36292850971221924, -0.4065859615802765, 0.13064876198768616, -0.07090132683515549, -0.1275351494550705, 0.12818382680416107, -0.3899781107902527, 0.03786095231771469, -0.6473423838615417, 0.4728662073612213, 0.59340500831604, 0.03771878033876419, 0.9389849901199341, -0.1863720864057541, 0.33909720182418823, -0.2988556921482086, -0.28860047459602356, 0.26595500111579895, -0.42492976784706116, -0.7553533315658569, -0.7145993113517761, 0.6153777837753296, 0.18796280026435852, -0.5836486220359802, 0.54062819480896, -0.5052356123924255, -0.33623987436294556, -0.49914929270744324, 0.37881162762641907, 0.237753763794899, 0.1170467734336853, 0.17620070278644562, -0.28036248683929443, -0.40078893303871155, -0.5326253771781921, -0.2019370198249817, -0.11860866099596024, -0.08367850631475449, 0.29862406849861145, 0.35175594687461853, 0.10353758931159973, 0.8407158255577087, -0.2700972855091095, -0.39637699723243713, -0.5034192204475403, 0.24889960885047913, 0.15782839059829712, 0.7705058455467224, 0.4075191915035248, -0.4120379686355591, -0.44586053490638733, -0.16463683545589447, -0.3105684518814087, -0.2287692278623581, -0.38349708914756775, 0.32945486903190613, -0.13665315508842468, 0.5302467942237854, -0.8068757653236389, 0.3688579499721527, 0.3845500648021698, 0.21854104101657867, 0.2669156491756439, -0.16715581715106964, -0.06833512336015701, -0.45079198479652405, 0.07282577455043793, 0.10714812576770782, -0.294310986995697, -0.8958779573440552, -0.16545124351978302, 0.14972130954265594, -0.24079878628253937, -0.5106325149536133, 0.8737536072731018, -0.5449392795562744, -0.300106018781662, -0.3711702227592468, 0.028064951300621033, -0.28395646810531616, 0.9552314877510071, -0.015874724835157394, 0.6975781321525574, 0.382005900144577, -0.2715875208377838, 0.20670412480831146, -0.08005882054567337, -0.6100447773933411, -0.16907958686351776, -0.8887078166007996, -0.19920893013477325, 0.007819438353180885, -0.06372030079364777, -1.21102774143219, -0.2779778838157654, 0.44064778089523315, -0.42651858925819397, 0.5218678712844849, -0.35287877917289734, -0.5868115425109863, 0.10625976324081421, -0.40731632709503174, 0.7835951447486877, 0.5935758948326111, -0.558987557888031, 0.6632686257362366, 0.26600930094718933, -0.09996756166219711, -0.36182212829589844, -0.8601638078689575, -0.16682720184326172, -0.2636658549308777, -0.38532063364982605, 0.1584617644548416, 0.10817384719848633, -0.19644495844841003, 0.049126625061035156, 0.010293732397258282, -0.036005157977342606, 0.2434665858745575, 0.14010661840438843, 0.06991998851299286, -0.42695891857147217, -0.08171192556619644, 0.07130905240774155, -0.3536166846752167, -0.1715368926525116, -0.1567487120628357, 0.6024300456047058, -0.03680408373475075, -0.6324838399887085, -0.4192372262477875, 0.3859586715698242, 0.3510192036628723, 0.09051232039928436, 0.8646752834320068, 0.31818652153015137, -0.8613580465316772, -0.4625539481639862, -0.36044320464134216, -0.4243505597114563, -0.4858664572238922, 0.5032193064689636, -0.3240552246570587, -0.7347598075866699, 0.487984299659729, -0.2285011261701584, -0.18371973931789398, 0.29553043842315674, 0.839005708694458, 0.17986609041690826, 1.1973365545272827, 0.5591105818748474, 0.0030653823632746935, 0.6695524454116821, -0.1840287446975708, 0.17273835837841034, -0.6997789740562439, 0.1296456754207611, -0.5021557211875916, -0.342949241399765, -0.10244723409414291, -0.5581567883491516, 0.3078056871891022, 0.07690275460481644, 0.08483977615833282, 0.347704142332077, -0.23481696844100952, 0.46104323863983154, 0.2453547567129135, 0.2539520859718323, -0.10194660723209381, 0.585668683052063, -0.003399861976504326, -0.22759976983070374, -1.0141246318817139, -0.2747620642185211, 0.5509656667709351, 0.5057611465454102, 1.1997261047363281, 0.014449488371610641, 0.5153297185897827, 0.31827616691589355, 0.3639155626296997, -1.0485024452209473, 0.5616920590400696, -0.11803461611270905, -0.3047797679901123, -0.5398412942886353, -0.40224596858024597, -0.9084334969520569, 0.21337008476257324, -0.2608160376548767, -0.9756709933280945, 0.5735030770301819, 0.13659493625164032, -0.7534511685371399, -0.06422971934080124, -1.0888700485229492, 1.1286276578903198, -0.04188183322548866, -0.7300137877464294, -0.2987518608570099, -0.1300697773694992, 0.32931414246559143, -0.3794229030609131, 0.08696155995130539, -0.0890224277973175, -0.41792285442352295, 0.5417213439941406, -0.383783757686615, 1.3995018005371094, -0.2364218384027481, -0.1445149928331375, 0.35374319553375244, 0.02133060060441494, 0.7228232026100159, -0.03168719634413719, -0.20500017702579498, 0.11241700500249863, -0.45660898089408875, -0.37817826867103577, -0.6699374914169312, 0.9545745849609375, -0.705040693283081, -0.3171580135822296, -0.2538473904132843, -0.6117494106292725, -0.2267514169216156, 0.11616433411836624, -0.06249312311410904, 0.44113242626190186, -0.046281564980745316, 0.02937442623078823, 0.629040539264679, 0.05055968090891838, 0.12160800397396088, 0.2952326238155365, 0.13066135346889496, -0.3299456238746643, 1.385006308555603, 0.03861750662326813, 0.5386999249458313, -0.0502200648188591, -0.014780737459659576, -0.17883162200450897, -0.7748022675514221, -0.49715742468833923, 0.40687429904937744, -0.7384579181671143, -0.25806593894958496, -0.5879683494567871, -0.3524118959903717, -0.23451189696788788, -0.22813478112220764, -0.40203535556793213, -0.43265941739082336, -0.659641444683075, 0.2025572508573532, -0.058479905128479004, 0.45608946681022644, -0.3114897310733795, 0.5915862917900085, -0.43904685974121094, 0.2589516341686249, 0.396287739276886, 0.25587233901023865, 0.232073575258255, -0.8332950472831726, -0.48813754320144653, 0.04579761251807213, 0.15506744384765625, -0.8235521912574768, 0.33834871649742126, 0.46684545278549194, 0.6068593263626099, 0.29460424184799194, -0.3219015300273895, 0.8517516851425171, -0.6099890470504761, 0.5726213455200195, 0.32365816831588745, -0.9266189932823181, 0.18515737354755402, -0.021931570023298264, 0.07713305950164795, 0.4560370445251465, 0.37957659363746643, -0.0762404203414917, -0.43941062688827515, -0.6502509713172913, -0.6859949827194214, 1.013601303100586, -0.10321217775344849, 0.4444243013858795, 0.08303330838680267, 0.44281530380249023, -0.13325616717338562, 0.015374078415334225, -1.1053824424743652, -0.08108281344175339, 0.1938161551952362, -0.3233993351459503, -0.1253318041563034, -0.6939402222633362, -0.1243513897061348, -0.22517076134681702, 0.697944164276123, -0.3796370029449463, 0.4085824191570282, -0.2724171280860901, -0.2566277086734772, -0.6262136697769165, 0.04212300479412079, 0.5218763947486877, 0.5060199499130249, -0.08469747006893158, 0.34504714608192444, 0.6485466361045837, -0.3314259946346283, 0.3227241635322571, 0.00470242602750659, -0.41493502259254456, 0.09201772511005402, 0.3639727234840393, 0.7342345118522644, 0.5384218096733093, -0.490989089012146, 0.801552414894104, -0.022184504196047783, -0.20924440026283264, -0.021984832361340523, 0.13569925725460052, -0.003232072340324521, 0.159131720662117, 0.23049107193946838, 0.24636486172676086, -0.23687370121479034, -0.2391481101512909, 0.1661624163389206, 0.7297552824020386, -0.6860737204551697, -0.24251095950603485, 0.5490649342536926, -0.03603183850646019, -0.048756103962659836, 0.2222532033920288, -0.3967241048812866, -0.30831894278526306, 0.33825546503067017, 0.7318291664123535, 0.86507648229599, -0.005141557659953833, -0.12154693156480789, 0.5875605344772339, 0.6500744223594666, -0.24423237144947052, 0.10037250071763992, -0.14508803188800812, -0.8352481126785278, -0.8141026496887207, -0.7627503275871277, 0.10452648252248764, 0.21655960381031036, -0.19482749700546265, 0.27608034014701843, -0.6004546880722046, -0.09525680541992188, 0.0023948056623339653, 0.0337420329451561, -0.09129103273153305, -0.016161927953362465, 0.1974390149116516, 0.8987244963645935, -1.2576719522476196, 0.9935281276702881, 0.5656149983406067, -0.39641350507736206, -0.6532392501831055, -0.09078695625066757, -0.0850151851773262, -0.8986281156539917, 0.8273764252662659, -0.10092999041080475, -0.24572694301605225, 0.31683775782585144, -0.762385368347168, -0.7852504253387451, 0.7914103865623474, 0.4654587507247925, -0.16986273229122162, -0.029487261548638344, 0.20761768519878387, 0.3879973292350769, -0.5156939625740051, 0.20217427611351013, 0.5011071562767029, 0.21154984831809998, 0.26694393157958984, -0.5776539444923401, 0.30043739080429077, -0.06674753129482269, 0.13430720567703247, 0.0852353498339653, -0.3098018169403076, 0.7664808034896851, -0.17407996952533722, -0.3394947946071625, 0.561719536781311, 0.9369387626647949, 0.22249822318553925, -0.23982584476470947, 0.8832875490188599, 0.36348241567611694, 0.5358132719993591, -0.08816631138324738, 0.6733095645904541, -0.21783366799354553, 0.39841169118881226, 0.9232416749000549, -0.18165987730026245, 0.782997190952301, 0.6608849763870239, -0.05157824978232384, 0.18702884018421173, 0.5478359460830688, -0.07927684485912323, 0.7192977666854858, 0.3554893434047699, -0.6982671022415161, -0.452671080827713, -0.32312390208244324, 0.1281716376543045, -0.04922667145729065, 0.8547166585922241, -0.2107098400592804, -0.24175046384334564, 0.057315725833177567, -0.28352299332618713, -0.09293927997350693, -0.378312885761261, 0.6342346668243408, 0.24013979732990265, -0.4242240786552429, 0.9019436240196228, 0.14227920770645142, 0.5403623580932617, -0.9556060433387756, 0.057907577604055405, -0.039224084466695786, 0.24540561437606812, -0.3172178268432617, -0.39974290132522583, 0.1932564228773117, 0.10869110375642776, -0.22977042198181152, -0.42987391352653503, 1.2336338758468628, -0.6545121669769287, -0.23816651105880737, 0.2528591454029083, 0.5455026626586914, 0.16541512310504913, -0.03722524642944336, -0.7274958491325378, 0.46314340829849243, -0.008131571114063263, -0.09720117598772049, 0.5078946352005005, 0.3764117956161499, 0.1355714201927185, 0.44992923736572266, 0.6348743438720703, 0.5038889646530151, 0.2624828815460205, 0.09133300930261612, 1.0855317115783691, -0.26144084334373474, -0.28282055258750916, -0.653118908405304, 0.5019330978393555, 0.06893593072891235, 0.15447057783603668, 0.6216828227043152, 0.40408721566200256, 0.40815800428390503, -0.04282182827591896, 0.5085877776145935, -0.24305294454097748, 0.41605615615844727, -0.43928155303001404, 0.7343780398368835, -0.953248918056488, 0.420075923204422, -0.0025615079794079065, -0.8279961347579956, -0.3925745189189911, 0.7671511173248291, -0.3540585935115814, 0.17015773057937622, 0.6065203547477722, 1.241126298904419, -0.3817698061466217, -0.3714911639690399, 0.5649164915084839, 0.306857168674469, -0.19745789468288422, 0.502138614654541, 1.090011715888977, -0.4211175739765167, 0.5246637463569641, -0.06769880652427673, -0.5167036056518555, -0.15643145143985748, -0.7126907110214233, -0.8361778259277344, -0.33965662121772766, -0.3767741024494171, -0.49810221791267395, -0.11992979049682617, 1.0687247514724731, 0.7325806021690369, -0.8154330253601074, -0.37191787362098694, 0.10006920993328094, 0.17416371405124664, -0.35515493154525757, -0.14897239208221436, 0.33029282093048096, -0.8094072341918945, -0.7806899547576904, 0.5596069693565369, 0.13670054078102112, -0.03371679410338402, -0.43492040038108826, -0.2325577437877655, -0.2651653289794922, -0.024090472608804703, 0.4689529538154602, 0.5485068559646606, -0.5279786586761475, -0.29645341634750366, -0.3518539369106293, -0.6036638021469116, -0.038842517882585526, 0.9417563080787659, -0.7665218114852905, -0.07979268580675125, 0.4863118529319763, 0.7609072327613831, 0.2537631094455719, -0.21663790941238403, 0.19543713331222534, -1.1141091585159302, 0.4936196208000183, 0.16489265859127045, 0.44434401392936707, 0.1799878478050232, -0.01001888420432806, 0.20776832103729248, 0.44293612241744995, -0.35299989581108093, -0.9927446246147156, -0.05512009561061859, -0.9938639998435974, -0.04341837763786316, 1.4287117719650269, 0.008010092191398144, -0.636972963809967, -0.18422122299671173, 0.048376455903053284, -0.10761717706918716, -0.1959841549396515, 0.418481707572937, 0.37790462374687195, 0.21478411555290222, -0.046392589807510376, -0.4719661474227905, 0.8144330382347107, 0.7492179274559021, -0.5051458477973938, 0.41126054525375366, 0.5409042835235596, 0.0911022499203682, 0.28843915462493896, 0.8894268274307251, 0.0667477399110794, 0.3903277814388275, 0.2530767619609833, -0.013194672763347626, 0.3796722888946533, -0.37377649545669556, -0.7105020880699158, 0.23201307654380798, 0.3927675485610962, -0.08747000247240067 ]
http://arxiv.org/abs/2406.00954v1
http://arxiv.org/pdf/2406.00954v1
Annotation Guidelines-Based Knowledge Augmentation: Towards Enhancing Large Language Models for Educational Text Classification
2024-06-03T03:09:01
2024-06-03T03:09:01
Shiqi Liu, Sannyuya Liu, Lele Sha, Zijie Zeng, Dragan Gasevic, Zhi Liu
cs.CL
cs.CL, cs.AI
Various machine learning approaches have gained significant popularity for the automated classification of educational text to identify indicators of learning engagement -- i.e. learning engagement classification (LEC). LEC can offer comprehensive insights into human learning processes, attracting significant interest from diverse research communities, including Natural Language Processing (NLP), Learning Analytics, and Educational Data Mining. Recently, Large Language Models (LLMs), such as ChatGPT, have demonstrated remarkable performance in various NLP tasks. However, their comprehensive evaluation and improvement approaches in LEC tasks have not been thoroughly investigated. In this study, we propose the Annotation Guidelines-based Knowledge Augmentation (AGKA) approach to improve LLMs. AGKA employs GPT 4.0 to retrieve label definition knowledge from annotation guidelines, and then applies the random under-sampler to select a few typical examples. Subsequently, we conduct a systematic evaluation benchmark of LEC, which includes six LEC datasets covering behavior classification (question and urgency level), emotion classification (binary and epistemic emotion), and cognition classification (opinion and cognitive presence). The study results demonstrate that AGKA can enhance non-fine-tuned LLMs, particularly GPT 4.0 and Llama 3 70B. GPT 4.0 with AGKA few-shot outperforms full-shot fine-tuned models such as BERT and RoBERTa on simple binary classification datasets. However, GPT 4.0 lags in multi-class tasks that require a deep understanding of complex semantic information. Notably, Llama 3 70B with AGKA is a promising combination based on open-source LLM, because its performance is on par with closed-source GPT 4.0 with AGKA. In addition, LLMs struggle to distinguish between labels with similar names in multi-class classification.
[ -0.5514881610870361, -0.9196258783340454, 0.48811423778533936, -0.28485092520713806, -0.18029315769672394, 0.15260906517505646, -0.4172084927558899, -0.696448802947998, -0.06753930449485779, 0.22900691628456116, -0.5681492686271667, -0.64280104637146, -0.6229920387268066, 0.15774129331111908, -0.0994991883635521, 1.0780272483825684, -0.2109970897436142, 0.016926269978284836, -0.31342318654060364, -0.20123542845249176, -0.5420900583267212, -0.6667817831039429, -0.676123857498169, -0.32544612884521484, 0.38390877842903137, 0.4480791389942169, 0.3784291744232178, 0.3792814314365387, 0.4760371148586273, 0.31223592162132263, -0.374988853931427, 0.46717244386672974, -0.10539718717336655, -0.016756128519773483, 0.003696174593642354, -0.22324588894844055, -0.5382227897644043, 0.11737744510173798, 0.45811840891838074, 0.4907795786857605, -0.10217557102441788, 0.08540859073400497, 0.26861223578453064, 0.7614008188247681, -0.7301110029220581, 0.5084932446479797, -0.33575892448425293, 0.1670016497373581, -0.06526561081409454, -0.25454115867614746, -0.3428534269332886, -0.3352534770965576, 0.2709559500217438, -0.9275540709495544, -0.02444544807076454, -0.2408984899520874, 0.7088586688041687, 0.41878533363342285, -0.1936347782611847, -0.5076295733451843, -0.37572842836380005, 0.8051510453224182, -0.7102500796318054, 0.43008023500442505, 0.6513624787330627, 0.22510719299316406, -0.08243294060230255, -0.42574307322502136, -0.6587474346160889, -0.1565832942724228, -0.1462922841310501, 0.35257449746131897, 0.06735697388648987, 0.3321581184864044, 0.35177361965179443, 0.4380302429199219, -0.18743474781513214, 0.11372217535972595, -0.27538812160491943, -0.23328523337841034, 0.5228111147880554, -0.011413783766329288, 0.200030118227005, -0.08231738954782486, -0.11974382400512695, -0.14096492528915405, -0.5027622580528259, 0.11510591208934784, 0.5932665467262268, 0.2353917360305786, 0.08037368953227997, 0.4957071542739868, -0.4029877483844757, 0.7753595113754272, 0.011619026772677898, -0.16449996829032898, 0.4837550222873688, -0.36418601870536804, -0.1546739935874939, 0.11212580651044846, 0.5835459232330322, 0.5337277054786682, 0.3246409296989441, 0.013718103989958763, 0.12454816699028015, 0.3465908169746399, 0.12422823905944824, -0.8873022198677063, -0.2799023389816284, -0.09218407422304153, -0.12278839200735092, -0.3213725686073303, -0.19364799559116364, -0.6199281215667725, -0.2336765080690384, -0.6160505414009094, 0.40888679027557373, -0.5265435576438904, -0.09381803870201111, -0.06157331541180611, 0.29530465602874756, 0.2102942317724228, 0.7096296548843384, -1.069860816001892, 0.09354670345783234, 0.7028316259384155, 0.7835519909858704, -0.21190963685512543, -0.09570329636335373, -0.38251495361328125, 0.028202570974826813, -0.2172834724187851, 0.7439771890640259, -0.8714514374732971, -0.2758680284023285, 0.197403222322464, 0.05493362247943878, 0.014664197340607643, -0.20325054228305817, 0.6328811049461365, -0.49774688482284546, 0.49173152446746826, -0.1790107786655426, -0.859586775302887, -0.6304851770401001, 0.6270618438720703, -0.47387218475341797, 0.9919152855873108, -0.007249252870678902, -0.6801989674568176, 0.5318635702133179, -1.1413668394088745, -0.3401544690132141, 0.15792316198349, -0.19948139786720276, -0.4453921616077423, -0.28075486421585083, 0.4420730471611023, 0.7028704881668091, -0.020747270435094833, 0.27243441343307495, -0.17914654314517975, -0.33887138962745667, 0.04413386434316635, -0.33388903737068176, 0.3655807077884674, 0.16843067109584808, -0.2927074134349823, 0.2980745732784271, -0.6457077264785767, -0.0006642198422923684, -0.3010558784008026, -0.49622607231140137, -0.3883073329925537, -0.09330333024263382, -0.3102291524410248, 0.12837925553321838, 0.16114914417266846, -0.28618165850639343, 0.3335154056549072, -0.2851560711860657, 0.2479848861694336, 0.8201557993888855, 0.1913021206855774, 0.48886123299598694, -0.13095898926258087, 0.33444610238075256, -0.06230134889483452, 0.35600051283836365, -0.3549247980117798, -0.5312204957008362, -0.8931712508201599, -0.2589395046234131, 0.4633479416370392, 0.394114226102829, -0.7349629402160645, 0.716948926448822, -0.11424592137336731, -0.36031168699264526, -0.73035728931427, 0.3459410071372986, 0.07655540108680725, 0.6268064975738525, 0.6418611407279968, -0.37078022956848145, -0.5080094337463379, -0.5621951818466187, 0.052835721522569656, -0.2713184654712677, 0.12338424474000931, 0.36174383759498596, 0.2806147038936615, -0.4395093619823456, 0.702812910079956, -0.20929452776908875, -0.5625193119049072, -0.08816841244697571, 0.16332396864891052, -0.006003699265420437, 0.20711876451969147, 0.25792571902275085, -0.650411069393158, -0.6569306254386902, 0.256448894739151, -0.8050694465637207, -0.1585294008255005, 0.07137343287467957, -0.06644019484519958, 0.48482590913772583, 0.3853151798248291, -0.2696326673030853, 0.5721939206123352, 0.2652783691883087, -0.30543407797813416, 0.4048939645290375, -0.016174552962183952, 0.41599637269973755, -0.9099372625350952, -0.12183618545532227, 0.21240295469760895, -0.15944845974445343, -0.626858115196228, -0.10458853840827942, 0.06531522423028946, 0.3434883952140808, -0.24744758009910583, 0.41673195362091064, -0.23328962922096252, 0.20778623223304749, -0.39773258566856384, 0.34277546405792236, -0.11347480863332748, 0.4592304229736328, 0.24245834350585938, 0.7248470783233643, 0.488035649061203, -0.7036274075508118, 0.2978437542915344, 0.4756084680557251, -0.28281038999557495, 0.650275707244873, -0.29523295164108276, 0.004305777605623007, -0.035832054913043976, 0.24201925098896027, -0.6946961879730225, -0.4246850609779358, 0.22775410115718842, -0.5911610126495361, 0.41201409697532654, -0.1444435566663742, -0.5726444721221924, -0.03551430255174637, -0.46407902240753174, 0.04527866467833519, 0.660219669342041, -0.7487214803695679, 0.7521325945854187, 0.255906879901886, -0.08501821756362915, -0.7500651478767395, -0.38317394256591797, -0.08594423532485962, -0.24130025506019592, -0.4350025951862335, 0.02341899834573269, -0.3038772940635681, 0.025454148650169373, -0.0845201313495636, -0.01765972375869751, 0.13964447379112244, 0.22685547173023224, 0.36617377400398254, 0.45635727047920227, 0.1314510554075241, 0.5190609693527222, 0.11460337042808533, -0.07439599186182022, -0.0516401082277298, 0.08131828159093857, 0.4113882780075073, -0.2782822549343109, -0.34310683608055115, -0.370671808719635, -0.025263013318181038, 0.26819565892219543, -0.09373892843723297, 0.625119686126709, 0.9066882133483887, -0.2214839905500412, 0.10002942383289337, -0.8035900592803955, -0.3180301785469055, -0.4314117133617401, 0.30184388160705566, -0.2025137096643448, -1.1323872804641724, 0.4040448069572449, -0.3660193681716919, 0.26741114258766174, 0.5985106825828552, 0.5717173218727112, -0.012419824488461018, 0.8095902800559998, 0.7259957194328308, -0.10912217199802399, 0.726460874080658, -0.3102564513683319, 0.07296786457300186, -1.1448402404785156, -0.3641117215156555, -0.19685569405555725, -0.11912645399570465, -0.4652632772922516, -0.30653178691864014, 0.1747782826423645, 0.2273952066898346, -0.07013995200395584, -0.07703113555908203, -0.7232383489608765, 0.520449697971344, 0.20961003005504608, -0.026502737775444984, 0.43850257992744446, 0.20888225734233856, -0.07926496863365173, -0.06641363352537155, -0.5769364237785339, -0.5176742672920227, 1.1069694757461548, 0.5555747747421265, 0.4133341312408447, 0.11377185583114624, 0.6469589471817017, 0.3316693902015686, 0.6542123556137085, -0.9213742017745972, 0.6578256487846375, -0.0209690872579813, -0.542966902256012, -0.2695208787918091, -0.4464578628540039, -0.7100378274917603, 0.0437730997800827, -0.475340336561203, -0.8184820413589478, -0.13343115150928497, 0.19328981637954712, -0.21861566603183746, 0.2689966857433319, -0.808536171913147, 0.6396186351776123, -0.12702009081840515, -0.4690021276473999, -0.12880530953407288, -0.53291916847229, 0.29453301429748535, -0.36573857069015503, 0.3571012020111084, -0.10378608107566833, -0.003835444338619709, 0.9261001348495483, -0.27013319730758667, 0.9473856091499329, -0.3155190646648407, -0.020036036148667336, 0.5055076479911804, -0.46773001551628113, 0.5900143384933472, -0.18568536639213562, -0.04787244647741318, 0.15816019475460052, -0.23016466200351715, -0.039396047592163086, -0.6073139309883118, 0.6800776720046997, -0.8567054867744446, -0.3239433169364929, -0.34556329250335693, -0.39086803793907166, -0.2885245084762573, -0.022509245201945305, 0.005823631305247545, -0.018524909391999245, 0.05702099949121475, 0.2822267711162567, 0.6344613432884216, -0.05825364962220192, 0.36806434392929077, 0.6578099727630615, -0.21432384848594666, -0.4493655264377594, 0.8438202142715454, 0.19747693836688995, 0.15497438609600067, 0.11564464867115021, 0.14009696245193481, -0.47727757692337036, -0.6397890448570251, -0.4265514016151428, -0.06480300426483154, -1.0058739185333252, -0.3701016306877136, -0.700581967830658, -0.2339857816696167, -0.40948686003685, -0.10970865190029144, 0.024946771562099457, -0.3397159278392792, -0.3025064170360565, -0.31560492515563965, 0.8565940856933594, 0.6213363409042358, -0.183524951338768, 0.6908577680587769, -0.5827825665473938, -0.009210624732077122, 0.35772573947906494, 0.5205144286155701, -0.031454551964998245, -0.6836292147636414, -0.250191867351532, -0.15698868036270142, -0.25288599729537964, -0.6840548515319824, 0.07612212002277374, 0.3416411578655243, 0.6297999620437622, 0.26670724153518677, -0.09742578864097595, 0.7147767543792725, -0.3672911822795868, 0.7447376251220703, 0.35754474997520447, -0.8235795497894287, 0.6303912997245789, -0.19292792677879333, 0.13738426566123962, 0.751721203327179, 0.3735455274581909, -0.3788086771965027, -0.17739595472812653, -0.7041476368904114, -1.0717782974243164, 0.6393244862556458, 0.21525567770004272, -0.021272141486406326, 0.1121845543384552, 0.5622245669364929, 0.1401882767677307, 0.2500789165496826, -0.8032705783843994, -0.18811343610286713, -0.1830342710018158, -0.5623582601547241, -0.005712135229259729, -0.25249627232551575, -0.013652920722961426, -0.37053152918815613, 1.0941177606582642, -0.32207193970680237, -0.20682449638843536, 0.12785694003105164, -0.16698621213436127, -0.17100542783737183, 0.4770931005477905, 0.3327083885669708, 0.2900230288505554, -0.1600818634033203, -0.09193380177021027, 0.6283814907073975, -0.6162431240081787, 0.08720577508211136, 0.3872075378894806, -0.3040696084499359, -0.21346575021743774, 0.3149592876434326, 0.8667758703231812, 0.09826259315013885, -0.371620774269104, 0.30411991477012634, -0.24206165969371796, -0.19665579497814178, -0.42527785897254944, 0.4042443037033081, -0.2056417316198349, 0.3219439387321472, 0.24235986173152924, -0.15953987836837769, 0.283385694026947, -0.4130871891975403, 0.1728513091802597, 0.3631782829761505, -0.3987651765346527, -0.12152796983718872, 0.19855017960071564, 0.3006437420845032, -0.03421849384903908, 0.23042282462120056, -0.30715760588645935, -0.6227883100509644, 0.14246436953544617, 0.18302394449710846, 0.6680498719215393, -0.5087401866912842, 0.17552626132965088, 0.6350151896476746, 0.3346216082572937, -0.1255357563495636, 0.0018151188269257545, -0.3965087831020355, -0.5328447222709656, -0.8731216192245483, -0.7453566193580627, -0.5736333727836609, 0.24215304851531982, -0.4103751480579376, 0.2669036388397217, -0.43122103810310364, -0.14175167679786682, 0.0790153369307518, 0.39327239990234375, -0.5655050873756409, 0.26225557923316956, 0.16920095682144165, 0.579868495464325, -0.8205028772354126, 0.7936715483665466, 1.0398948192596436, -0.3000100255012512, -0.9230881333351135, -0.2729587256908417, -0.17145724594593048, -0.366028368473053, 0.36170682311058044, 0.439634770154953, 0.11397439241409302, -0.07983231544494629, -0.5753382444381714, -0.4755115509033203, 1.108808159828186, -0.08830829709768295, -0.6426309943199158, 0.10900941491127014, 0.06493455916643143, 0.6653300523757935, -0.457113653421402, 0.4328114688396454, 0.5863953232765198, 0.7139924764633179, 0.3419501483440399, -0.7616651058197021, -0.2729111611843109, -0.3202340006828308, -0.34938013553619385, 0.1137356385588646, -0.5322175621986389, 0.3572559356689453, -0.07561244815587997, -0.01800641044974327, -0.19625166058540344, 0.5810072422027588, 0.424033522605896, 0.45628225803375244, 0.610383927822113, 0.692554771900177, 0.8460448980331421, -0.2889162302017212, 0.8167870044708252, -0.12553434073925018, 0.40444526076316833, 1.0326298475265503, -0.048309363424777985, 0.8404685258865356, 0.4219284951686859, -0.20560218393802643, 0.48799994587898254, 0.8347413539886475, -0.14257077872753143, 0.45950308442115784, -0.04817349463701248, -0.34039703011512756, -0.28778496384620667, -0.21790039539337158, -0.35064414143562317, 0.28768229484558105, 0.7003922462463379, -0.2361840456724167, -0.11048177629709244, 0.04210430011153221, 0.07451219856739044, -0.027903499081730843, -0.4999007284641266, 1.1698858737945557, -0.08453287929296494, -0.5429201722145081, 0.3395789861679077, -0.2634340226650238, 0.8626973032951355, -0.5978960394859314, -0.289061963558197, 0.05062422156333923, 0.10663177818059921, -0.5177497863769531, -0.8439074158668518, 0.07685735076665878, 0.2078193724155426, -0.06396457552909851, 0.30064287781715393, 1.0402228832244873, -0.6216985583305359, -0.49733588099479675, 0.31492915749549866, 0.17625610530376434, 0.17596815526485443, 0.12306120246648788, -0.6205933094024658, 0.23727339506149292, 0.1375323086977005, -0.33714011311531067, 0.3051998019218445, 0.3994741439819336, 0.04924502968788147, 0.5296776294708252, 0.807671308517456, -0.07442709803581238, -0.10298235714435577, 0.1323590874671936, 0.8719074726104736, -0.3450026214122772, -0.41167816519737244, -0.8311752080917358, 0.5825806260108948, -0.3081371784210205, 0.017911391332745552, 0.6243048310279846, 0.26973044872283936, 0.8499281406402588, 0.193030446767807, 0.938397228717804, 0.14244502782821655, 0.48500683903694153, -0.618297815322876, 0.5142080783843994, -0.4892445504665375, 0.392273873090744, -0.3263501226902008, -1.0572080612182617, -0.3826049864292145, 0.9796977043151855, -0.5572693347930908, 0.28740498423576355, 0.3775530159473419, 0.24258151650428772, 0.11945516616106033, 0.24085529148578644, 0.3334258794784546, -0.011078489944338799, 0.4960559904575348, 0.41177287697792053, 0.8872801065444946, -0.3871554434299469, 0.4746647775173187, -0.35298728942871094, -0.36131325364112854, -0.4165860116481781, -0.8392395973205566, -1.1219091415405273, -0.5407798290252686, -0.6013714671134949, -0.05975774675607681, 0.21188940107822418, 0.9016735553741455, 0.6026286482810974, -0.6612827777862549, 0.3313675820827484, -0.1726144403219223, 0.015715546905994415, 0.14584234356880188, -0.24221931397914886, 0.496918648481369, -0.5775160789489746, -0.675710141658783, 0.1346944272518158, 0.19126471877098083, 0.31737467646598816, -0.24706359207630157, -0.33463507890701294, -0.2731955647468567, -0.11193861067295074, 0.7703636884689331, 0.16184678673744202, -0.7555468082427979, -0.43485772609710693, -0.18517223000526428, 0.2943717837333679, 0.0018416070379316807, 0.2774084210395813, -0.8254102468490601, 0.6440035104751587, 0.15516245365142822, 0.7193024158477783, 0.4086042642593384, 0.0428076833486557, 0.07685268670320511, -0.9101366996765137, 0.060806918889284134, 0.19097775220870972, 0.35744449496269226, 0.5515499114990234, -0.3534680902957916, 0.9425964951515198, -0.050606757402420044, -0.74403977394104, -0.7076146006584167, -0.003414845559746027, -0.9980188012123108, 0.04938124492764473, 1.1807364225387573, -0.28660473227500916, -0.22867214679718018, -0.11814583837985992, -0.3297685384750366, 0.44364532828330994, -0.546327531337738, 0.9251459240913391, 0.9573877453804016, -0.10015125572681427, -0.25260838866233826, -0.9062821269035339, 0.6049450039863586, 0.3997364044189453, -1.1323262453079224, 0.20272575318813324, 0.5950221419334412, 0.10002926737070084, 0.512012779712677, 0.3012399971485138, -0.21447400748729706, 0.19900763034820557, -0.5653169751167297, 0.2537977993488312, -0.4015094041824341, -0.2478012889623642, -0.21624240279197693, -0.028887402266263962, 0.10441089421510696, -0.03381039947271347 ]
http://arxiv.org/abs/2406.00944v1
http://arxiv.org/pdf/2406.00944v1
Unveil the Duality of Retrieval-Augmented Generation: Theoretical Analysis and Practical Solution
2024-06-03T02:56:14
2024-06-03T02:56:14
Shicheng Xu, Liang Pang, Huawei Shen, Xueqi Cheng
cs.CL
cs.CL, cs.AI, cs.IR
Retrieval-augmented generation (RAG) utilizes retrieved texts to enhance large language models (LLMs). However, studies show that RAG is not consistently effective and can even mislead LLMs due to noisy or incorrect retrieved texts. This suggests that RAG possesses a duality including both benefit and detriment. Although many existing methods attempt to address this issue, they lack a theoretical explanation for the duality in RAG. The benefit and detriment within this duality remain a black box that cannot be quantified or compared in an explainable manner. This paper takes the first step in theoretically giving the essential explanation of benefit and detriment in RAG by: (1) decoupling and formalizing them from RAG prediction, (2) approximating the gap between their values by representation similarity and (3) establishing the trade-off mechanism between them, to make them explainable, quantifiable, and comparable. We demonstrate that the distribution difference between retrieved texts and LLMs' knowledge acts as double-edged sword, bringing both benefit and detriment. We also prove that the actual effect of RAG can be predicted at token level. Based on our theory, we propose a practical novel method, X-RAG, which achieves collaborative generation between pure LLM and RAG at token level to preserve benefit and avoid detriment. Experiments in real-world tasks based on LLMs including OPT, LLaMA-2, and Mistral show the effectiveness of our method and support our theoretical results.
[ -0.3637675940990448, -0.5425570011138916, 0.4111151099205017, -0.21864603459835052, -0.33813363313674927, 0.5948876738548279, -0.21248476207256317, -0.693287193775177, 0.38752275705337524, 0.645609974861145, -0.25734201073646545, 0.07396765798330307, -0.4598985016345978, -0.06437626481056213, -0.3783263564109802, 1.20158851146698, 0.03330861032009125, -0.17626157402992249, -0.2578480541706085, -0.03956810012459755, -0.41211849451065063, -0.5219228267669678, -0.7224615812301636, -0.3844369649887085, 0.705173134803772, 0.2985900342464447, 0.663314938545227, 0.40758728981018066, 0.4995891749858856, 0.2736179828643799, -0.20106784999370575, 0.33445069193840027, -0.7691600918769836, 0.45452195405960083, -0.20089782774448395, -0.7411851286888123, -0.060085590928792953, 0.06010405346751213, 0.8392590284347534, 0.5018901824951172, 0.13988454639911652, 0.2344229817390442, 0.19196875393390656, 0.8488799333572388, -0.7381877303123474, -0.2687390148639679, -0.936470091342926, 0.021625498309731483, -0.4242275357246399, -0.351484090089798, -0.3781312108039856, -0.07202892750501633, -0.1438748687505722, -0.3573407828807831, 0.3536739945411682, 0.2024812400341034, 0.8520708680152893, 0.26864516735076904, -0.6329134106636047, -0.44612258672714233, -1.0795551538467407, 0.9939389228820801, -0.21263787150382996, 0.22361531853675842, 0.16781260073184967, 0.396765798330307, -0.14072801172733307, -0.6350908279418945, -0.6647253036499023, -0.4820418953895569, -0.22809115052223206, 0.2533779740333557, 0.06806336343288422, -0.12281405180692673, 0.20236985385417938, 0.8922306299209595, -0.32504016160964966, 0.013940843753516674, -0.3592331111431122, 0.11049319058656693, 0.6993367671966553, 0.03671196475625038, 0.45166143774986267, -0.2842724621295929, -0.8375062942504883, -0.10684791207313538, -0.7659669518470764, -0.10918320715427399, 0.4857345223426819, 0.30892157554626465, -0.002841966226696968, 0.6531038880348206, 0.3583705425262451, 0.15405917167663574, 0.07106426358222961, -0.10339481383562088, 0.17673471570014954, -0.5649489164352417, 0.06431224197149277, -0.16925852000713348, 0.6482496857643127, -0.04076805338263512, -0.13842841982841492, -0.4467327296733856, -0.3893684446811676, 0.1657913625240326, 0.42367103695869446, -0.4913703203201294, 0.28910771012306213, 0.11059495061635971, -0.38122454285621643, -0.6372838616371155, -0.0229168813675642, -1.0095933675765991, -0.5053697824478149, -0.35021474957466125, 0.4986056387424469, -0.031157804653048515, -0.7704991698265076, -0.2478962540626526, -0.40402644872665405, 0.06011561304330826, -0.09520834684371948, -0.7495917081832886, 0.5005483627319336, 0.9266732335090637, 0.6079453825950623, -0.37596073746681213, 0.0636596828699112, -0.5036327838897705, 0.2447587251663208, -0.20025676488876343, 0.7622829079627991, -0.4368511140346527, -0.5161914229393005, -0.10196073353290558, -0.5363792777061462, 0.13943800330162048, -0.7002517580986023, 0.7337270975112915, -0.6733855605125427, 0.2821153402328491, -0.37742024660110474, -0.32013460993766785, -0.06394267827272415, -0.019246872514486313, -0.826809287071228, 1.162644624710083, 0.0641736388206482, -1.0129661560058594, 0.5717687606811523, -0.2807048261165619, -0.2746333181858063, 0.1250278353691101, -0.3529118597507477, -0.43066421151161194, 0.49394118785858154, -0.4222683608531952, 0.0381157286465168, -0.5721664428710938, 0.3567430377006531, -0.11354126036167145, -0.2982124090194702, 0.2997003197669983, -0.5134474635124207, 0.7903602123260498, 0.21595916152000427, -0.32022812962532043, -0.16704319417476654, -0.7407224774360657, -0.16275356709957123, 0.26446518301963806, -0.31560415029525757, -0.750640869140625, -0.10914270579814911, -0.32942816615104675, 0.19583821296691895, 0.26265329122543335, -0.5698177814483643, 0.08083602041006088, -0.5436394810676575, -0.37499096989631653, 0.8154076337814331, -0.07683902978897095, 0.6582468748092651, -0.5695496201515198, 0.6624937653541565, -0.16110336780548096, -0.20021359622478485, 0.17381492257118225, -0.21094872057437897, -0.6294538974761963, -0.4093496799468994, 0.36083492636680603, 0.42719364166259766, -0.884649932384491, -0.03480268642306328, -0.13663405179977417, -0.13320298492908478, -0.5637893676757812, 0.14559143781661987, 0.8243687748908997, 0.47673583030700684, 0.24476473033428192, -0.19491812586784363, -0.7831475138664246, -0.7614187598228455, -0.5556442737579346, -0.1104753240942955, 0.20454594492912292, 0.3748095631599426, 0.3629780113697052, -0.13646955788135529, 0.8113282322883606, -0.2837968170642853, -0.10096301883459091, -0.29046109318733215, 0.08308608084917068, 0.09295020252466202, 0.22996476292610168, 0.39619264006614685, -1.2551590204238892, -0.6119989156723022, 0.023494485765695572, -0.6211680173873901, -0.2915794551372528, -0.1956166923046112, -0.32195812463760376, 0.30062130093574524, 0.11762465536594391, -0.47578510642051697, 0.527277946472168, 0.6027069687843323, -0.2892405688762665, 0.9857140183448792, -0.21221484243869781, 0.06929057836532593, -1.1439554691314697, 0.058576107025146484, -0.24422720074653625, -0.2046782523393631, -0.6425663828849792, 0.3032015860080719, -0.23164166510105133, 0.14766018092632294, -0.04836638271808624, 0.8819645047187805, -0.5873458385467529, -0.268306165933609, -0.5432969927787781, 0.2152440994977951, 0.13970154523849487, 0.23167428374290466, -0.32263219356536865, 0.9429706335067749, 0.07695723325014114, -0.532776951789856, 0.09697852283716202, 0.08030292391777039, 0.09791521728038788, 0.40443387627601624, -0.48544418811798096, -0.005061666015535593, -0.22504621744155884, 0.048710983246564865, -0.9188127517700195, 0.06145593523979187, 0.09758530557155609, -0.5665627121925354, 0.8045060038566589, -0.06767686456441879, -0.4237288236618042, -0.35766977071762085, -0.4773798882961273, 0.4691881239414215, 0.6844877600669861, -0.8487335443496704, 0.41281118988990784, 0.6154245138168335, 0.033287763595581055, -0.8245262503623962, -0.4830205738544464, 0.19809004664421082, -0.4879316985607147, -0.6135352253913879, 0.5543578267097473, -0.1026611328125, -0.6763348579406738, 0.06809861212968826, -0.16164088249206543, 0.17446741461753845, -0.03659648448228836, 0.3114491403102875, 0.4701121151447296, 0.011415996588766575, 0.21774524450302124, 0.18677785992622375, -0.4602097272872925, -0.03688063472509384, -0.04883437976241112, 0.29522132873535156, 0.1394762247800827, -0.1877695620059967, 0.04892633482813835, 0.4927816092967987, 0.24449419975280762, -0.3542638123035431, 0.895907998085022, 0.6006453633308411, -0.05244917795062065, -0.368073433637619, -0.6963592767715454, -0.09257076680660248, -0.5030487775802612, 0.049023326486349106, -0.42936068773269653, -0.7828536033630371, 0.42422738671302795, -0.25408443808555603, 0.12374704331159592, 0.3955477178096771, 0.5593570470809937, 0.13138695061206818, 0.9356439709663391, 0.5394979119300842, 0.4706275463104248, 0.3883701264858246, -0.42986711859703064, 0.10366558283567429, -1.194985270500183, -0.301225483417511, -0.5696021318435669, -0.146550253033638, -0.6810398697853088, -0.3682192862033844, 0.40259093046188354, 0.40029263496398926, -0.07829251140356064, 0.04165620356798172, -0.5427584648132324, 0.355564683675766, 0.7529174089431763, -0.18810579180717468, 0.46256130933761597, 0.31503579020500183, -0.3905072808265686, -0.20941263437271118, -0.4311544597148895, -0.5797663331031799, 1.075529932975769, 0.05843455344438553, 0.5122639536857605, 0.36314478516578674, 1.1150552034378052, 0.16894462704658508, 0.16022120416164398, -0.5322287082672119, 0.5743183493614197, -0.38513579964637756, -0.7694807052612305, 0.06597590446472168, -0.731953501701355, -1.1950093507766724, 0.583553671836853, -0.4425468146800995, -0.5611914992332458, 0.04043717309832573, 0.1543872356414795, 0.13948360085487366, 0.49088576436042786, -0.7023745179176331, 0.40451955795288086, -0.3702217936515808, -0.8052678108215332, -0.3583018481731415, -0.546787440776825, 0.7024077773094177, -0.33790385723114014, 0.479971319437027, 0.13349497318267822, -0.26803141832351685, 0.732684314250946, -0.24026010930538177, 0.551642894744873, -0.16361957788467407, -0.20017120242118835, 0.30593612790107727, 0.25357669591903687, 0.37047597765922546, -0.060228146612644196, -0.17888890206813812, -0.12752464413642883, 0.0018188946414738894, -0.2905372679233551, -0.6286435723304749, 0.7850803732872009, -0.6831933856010437, -0.7633774876594543, -0.35367393493652344, -0.6754729747772217, -0.10635706782341003, 0.3925105631351471, 0.1602509319782257, 0.5043121576309204, -0.09731389582157135, -0.14846171438694, 0.5322173833847046, -0.39749979972839355, 0.2121252417564392, 0.39417359232902527, -0.5344517230987549, -0.4420434534549713, 1.049843192100525, 0.08349387347698212, 0.5105562806129456, 0.47880271077156067, 0.426896870136261, -0.31426334381103516, -0.35751938819885254, -0.20651836693286896, 0.6456177830696106, -0.39334696531295776, -0.025854140520095825, -0.4373382031917572, -0.045853812247514725, -0.15621526539325714, -0.09278933703899384, -0.264948308467865, -0.6255242228507996, -0.12924204766750336, -0.06121394783258438, 0.054308097809553146, 1.0236324071884155, -0.5577490329742432, -0.08181560784578323, -0.6784136891365051, 0.6264959573745728, 0.270794153213501, 0.1792512983083725, 0.17765875160694122, -0.5147734880447388, -0.2769045829772949, 0.29968851804733276, -0.249482661485672, -0.7668853402137756, 0.3938237726688385, -0.14245252311229706, 0.6605381369590759, 0.17066526412963867, 0.2539806663990021, 0.5819738507270813, -0.49980634450912476, 0.6240242123603821, 0.19951742887496948, -0.5864555239677429, 0.28345969319343567, -0.16447298228740692, -0.2023671716451645, 0.4358886778354645, 0.13029637932777405, -0.24603533744812012, -0.4838075637817383, -0.8166248202323914, -0.8845753073692322, 0.6103650331497192, 0.2350597232580185, 0.15092717111110687, -0.007721778936684132, 0.36721351742744446, 0.4404909014701843, 0.10987727344036102, -0.5619487166404724, -0.40461859107017517, 0.26670366525650024, 0.04910562187433243, 0.09247717261314392, -0.7298575043678284, -0.17275118827819824, 0.17176099121570587, 0.8099619746208191, 0.373623788356781, 0.3409390449523926, 0.010636229999363422, 0.05662280321121216, -0.3072887361049652, 0.28982803225517273, 0.3791730999946594, 0.46173256635665894, -0.07033848762512207, 0.45165354013442993, -0.024344278499484062, -0.4369049668312073, 0.2786201238632202, 0.032805126160383224, -0.2127830684185028, 0.062398511916399, 0.3388601243495941, 0.6358412504196167, 0.025253189727663994, -0.4165066182613373, 0.41792476177215576, -0.008720960468053818, 0.05211642384529114, -0.3993927836418152, -0.05064396932721138, -0.08533670753240585, 0.256720632314682, 0.5499025583267212, 0.12384457886219025, 0.09678849577903748, -0.47465696930885315, 0.2089596539735794, 0.8239178657531738, -0.03925495967268944, -0.39364883303642273, 0.6360605359077454, 0.1471453458070755, -0.45660024881362915, 0.07850595563650131, -0.5495980978012085, -0.5207603573799133, 0.5351594090461731, 0.7530956864356995, 0.8004501461982727, -0.07615207135677338, 0.24826356768608093, 0.2969169318675995, 0.008879092521965504, 0.09186842292547226, 0.036516882479190826, -0.1415737420320511, -0.7198743224143982, -0.5399488210678101, -0.7027657628059387, -0.2233857810497284, -0.18380476534366608, -0.9258837103843689, 0.03658505156636238, 0.054240334779024124, -0.21177178621292114, 0.018598923459649086, 0.4276466369628906, -0.361921489238739, -0.1468462347984314, 0.216358944773674, 0.49070900678634644, -0.49738961458206177, 0.5187222957611084, 0.39776358008384705, -0.6633538603782654, -0.7949572801589966, 0.11198493093252182, 0.10191909968852997, -0.9468854069709778, 0.8491150736808777, 0.015704426914453506, -0.3676375150680542, -0.15230096876621246, -0.22865402698516846, -0.8624622225761414, 1.0242012739181519, 0.35973772406578064, -0.34827616810798645, -0.20566456019878387, 0.08299818634986877, 0.5686723589897156, -0.09281238168478012, 0.14766673743724823, 0.2543044090270996, 0.31864938139915466, 0.39794912934303284, -0.9749928712844849, 0.12144201248884201, -0.053384553641080856, 0.15345923602581024, 0.6576746106147766, -0.5119142532348633, 0.7798847556114197, -0.3854482173919678, -0.6386116743087769, 0.11635413765907288, 0.3900029957294464, 0.42103976011276245, 0.4279026389122009, 0.4528905749320984, 0.5878261923789978, 0.6245536804199219, 0.2873576879501343, 1.3317475318908691, -0.1999361515045166, 0.37552592158317566, 0.9682949781417847, -0.28474023938179016, 0.6722806096076965, 0.5831467509269714, -0.36521708965301514, 0.6557917594909668, -0.118024080991745, 0.3932490944862366, 0.4350039064884186, 0.1582600325345993, -0.6388868093490601, 0.01497356966137886, -0.37969961762428284, -0.4270663559436798, 0.2691956162452698, 0.2915690541267395, -0.435880184173584, -0.2306279093027115, 0.07203155755996704, 0.18123148381710052, 0.25935256481170654, -0.21334050595760345, 0.8352360725402832, 0.3138487935066223, -0.743752658367157, 0.7837494611740112, -0.19990697503089905, 0.7297484278678894, -0.4662173092365265, -0.23062235116958618, -0.11039021611213684, 0.32448410987854004, -0.23713937401771545, -0.7694873809814453, 0.5657618641853333, 0.015241976827383041, -0.3080826997756958, -0.2391672283411026, 1.041056752204895, -0.4530978202819824, -0.3495672047138214, 0.5695981979370117, 0.6685776114463806, 0.07196003943681717, 0.29099956154823303, -0.6505131125450134, 0.10470758378505707, 0.14741741120815277, -0.10824155062437057, 0.5433990955352783, 0.4497535228729248, 0.09057477861642838, 0.45130324363708496, 0.7370173335075378, 0.4547540247440338, -0.06877700239419937, -0.09098321944475174, 0.8501495718955994, -0.496888667345047, -0.2686854898929596, -0.7633301615715027, 0.5592073202133179, -0.2089027762413025, 0.15174917876720428, 0.8709313273429871, 0.5965930819511414, 0.6474189162254333, 0.2554522156715393, 0.7262627482414246, -0.02380591444671154, 1.0097993612289429, -0.3488270938396454, 0.49940773844718933, -0.8360837697982788, 0.5605242848396301, -0.16220703721046448, -0.7038540244102478, -0.2329670637845993, 0.14158757030963898, -0.2986905872821808, 0.08191405981779099, 0.7664348483085632, 0.9617090821266174, 0.030562294647097588, -0.13726063072681427, 0.32482048869132996, 0.13041844964027405, 0.21494948863983154, 0.33815744519233704, 0.9851392507553101, -0.20574894547462463, 0.8139548897743225, -0.3149915337562561, -0.46420302987098694, 0.037501975893974304, -0.5327009558677673, -0.9162930250167847, -0.6443996429443359, -0.06746682524681091, -0.536806046962738, 0.119607113301754, 0.49070069193840027, 0.35432371497154236, -0.3288564383983612, -0.18861158192157745, -0.08052073419094086, 0.3050629496574402, 0.05726755037903786, -0.2659390866756439, 0.2713019847869873, -0.3920329809188843, -0.5580752491950989, 0.24444963037967682, 0.1200735941529274, -0.04675426334142685, -0.39292269945144653, -0.05480681359767914, -0.2015686333179474, 0.16439427435398102, 0.5537908673286438, 0.33032625913619995, -0.6311993598937988, -0.10685042291879654, -0.2598695158958435, -0.15669621527194977, -0.019148923456668854, 0.9265533089637756, -1.0034180879592896, 0.5230833292007446, 0.5673247575759888, 0.5591309666633606, 0.45778414607048035, 0.10346943885087967, 0.5659496784210205, -0.8128714561462402, 0.17407380044460297, 0.21102012693881989, 0.07811340689659119, 0.2883088290691376, -0.5436483025550842, 0.6128689050674438, 0.20757392048835754, -0.7872579097747803, -1.1021976470947266, 0.5914685130119324, -0.7475932836532593, -0.3101043105125427, 1.3515931367874146, 0.034706395119428635, -0.060460206121206284, -0.031022289767861366, -0.4399656355381012, 0.5032477974891663, -0.24631533026695251, 0.6918703317642212, 0.19647975265979767, 0.048175834119319916, 0.09814172238111496, -0.4900537431240082, 0.46521300077438354, 0.48390325903892517, -0.5792633295059204, 0.07621949166059494, 0.4047636389732361, -0.002989821834489703, 0.38159871101379395, 0.591050386428833, -0.14695300161838531, 0.04027988389134407, 0.31728458404541016, -0.07684028893709183, -0.24541425704956055, -0.054626330733299255, -0.34899765253067017, 0.08008983731269836, 0.14053718745708466, -0.15843747556209564 ]
http://arxiv.org/abs/2406.00083v2
http://arxiv.org/pdf/2406.00083v2
BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Models
2024-06-03T02:25:33
2024-06-06T13:38:42
Jiaqi Xue, Mengxin Zheng, Yebowen Hu, Fei Liu, Xun Chen, Qian Lou
cs.CR
cs.CR, cs.AI, cs.CL, cs.IR, cs.LG
Large Language Models (LLMs) are constrained by outdated information and a tendency to generate incorrect data, commonly referred to as "hallucinations." Retrieval-Augmented Generation (RAG) addresses these limitations by combining the strengths of retrieval-based methods and generative models. This approach involves retrieving relevant information from a large, up-to-date dataset and using it to enhance the generation process, leading to more accurate and contextually appropriate responses. Despite its benefits, RAG introduces a new attack surface for LLMs, particularly because RAG databases are often sourced from public data, such as the web. In this paper, we propose \TrojRAG{} to identify the vulnerabilities and attacks on retrieval parts (RAG database) and their indirect attacks on generative parts (LLMs). Specifically, we identify that poisoning several customized content passages could achieve a retrieval backdoor, where the retrieval works well for clean queries but always returns customized poisoned adversarial queries. Triggers and poisoned passages can be highly customized to implement various attacks. For example, a trigger could be a semantic group like "The Republican Party, Donald Trump, etc." Adversarial passages can be tailored to different contents, not only linked to the triggers but also used to indirectly attack generative LLMs without modifying them. These attacks can include denial-of-service attacks on RAG and semantic steering attacks on LLM generations conditioned by the triggers. Our experiments demonstrate that by just poisoning 10 adversarial passages can induce 98.2\% success rate to retrieve the adversarial passages. Then, these passages can increase the reject ratio of RAG-based GPT-4 from 0.01\% to 74.6\% or increase the rate of negative responses from 0.22\% to 72\% for targeted queries.
[ -0.4509170353412628, -1.1648945808410645, 0.35097402334213257, -0.13364975154399872, -0.15682023763656616, 0.019952941685914993, 0.054611820727586746, -0.43038052320480347, 0.14425787329673767, 0.9407597780227661, -0.3001363277435303, -0.4357166886329651, -0.5239779949188232, 0.001921161194331944, -0.7696279883384705, 1.305449366569519, 0.37652653455734253, -0.3263062536716461, 0.08013211935758591, 0.06262771785259247, -0.6194955110549927, -0.7716840505599976, -0.667228639125824, 0.01753731071949005, 0.6092059016227722, 0.11749178171157837, 0.6995638012886047, 0.2466568499803543, 0.7097092270851135, 0.2748188078403473, -0.11204412579536438, -0.11219648271799088, -0.8465469479560852, 0.7142493724822998, -0.45413631200790405, -0.6673920154571533, -0.3211389482021332, -0.24088087677955627, 0.42579516768455505, 0.05954122915863991, -0.28392401337623596, 0.11624781787395477, -0.003190483432263136, 0.7005351185798645, -0.9638945460319519, -0.4525337517261505, -1.327582836151123, 0.1145487055182457, -0.9033293128013611, -0.5881494283676147, -0.7093052864074707, -0.0784158781170845, -0.38379010558128357, -0.4673668444156647, 0.48947906494140625, 0.13617032766342163, 0.823778510093689, 0.45935654640197754, -0.2214769423007965, -0.4482521414756775, -0.7431530356407166, 0.6820632219314575, -0.46647828817367554, 0.2028823047876358, 0.5496244430541992, 0.553908109664917, -0.6950963139533997, -0.6877725124359131, -0.6871335506439209, -0.2524692416191101, -0.05133688822388649, 0.034864019602537155, -0.46966394782066345, -0.017213303595781326, 0.42638030648231506, 0.435369610786438, -0.9796964526176453, 0.10573343932628632, -0.45225682854652405, -0.16333141922950745, 0.6832449436187744, 0.3303612768650055, 0.5640179514884949, -0.6021026968955994, -0.5120249390602112, -0.050079625099897385, -1.1003857851028442, -0.6220803260803223, 0.619802713394165, 0.2919308543205261, 0.009857228957116604, 0.830758810043335, 0.0899714007973671, 0.8688851594924927, 0.12660151720046997, 0.006773747969418764, 0.02109004743397236, -0.24016524851322174, -0.24288205802440643, -0.0056261932477355, 0.7878713011741638, 0.0522584468126297, 0.046487826853990555, -0.31184902787208557, -0.2708547115325928, -0.07868523895740509, 0.8594276905059814, -0.7029429078102112, -0.16406114399433136, 0.302564799785614, -0.19500868022441864, -0.6588347554206848, -0.07507338374853134, -1.159642219543457, -0.7800426483154297, 0.3007863163948059, 0.5906020402908325, -0.3453895151615143, -0.026099175214767456, -0.07005731016397476, -0.25645312666893005, 0.38085436820983887, 0.015400501899421215, -0.6022167205810547, 0.10709433257579803, 0.9408036470413208, 0.7370266318321228, -0.21357133984565735, -0.11863836646080017, -1.0562338829040527, 0.33502864837646484, -0.2793785035610199, 0.8573722839355469, -0.4811285436153412, -0.570391833782196, 0.041446153074502945, -0.17748041450977325, 0.1233154907822609, -0.8128389716148376, 0.8622806072235107, -1.1562961339950562, 0.25124362111091614, -0.027265500277280807, -0.3831636905670166, 0.11688417196273804, 0.458965003490448, -0.8920574188232422, 0.7905179858207703, -0.05298438295722008, -1.2547913789749146, -0.12153500318527222, -0.29100751876831055, -0.4503903388977051, 0.06774744391441345, -0.005545171909034252, -0.4890897274017334, 0.18082252144813538, -0.04682677984237671, 0.3357820510864258, -0.3435435891151428, 0.021917102858424187, -0.34714120626449585, -0.33293983340263367, 0.4170520603656769, -0.4379911422729492, 0.8420565128326416, 0.4239049553871155, -0.07903851568698883, 0.0841187834739685, -0.7078577876091003, -0.005533160176128149, 0.2909432351589203, -0.2123744636774063, -0.6330217123031616, -0.042914606630802155, -0.13654734194278717, 0.02864982932806015, 0.04448449984192848, -0.19873736798763275, 0.18695469200611115, -0.654589056968689, -0.07409953325986862, 0.8295809626579285, 0.562813937664032, 0.23107096552848816, -0.3723619282245636, 0.8485401272773743, -0.019150789827108383, 0.13534966111183167, -0.021645596250891685, -0.4184139668941498, -0.5165509581565857, -0.11682289838790894, 0.14666976034641266, 0.6382428407669067, -1.224955439567566, 0.20634061098098755, -0.03655840829014778, -0.5989293456077576, -0.3226376175880432, 0.0921827033162117, 0.6500334143638611, 0.6795026659965515, 0.5129340887069702, -0.08709365129470825, -0.5220432877540588, -0.769895076751709, -0.49554598331451416, -0.11203441768884659, -0.09554469585418701, 0.22395414113998413, 0.5179934501647949, -0.3082186281681061, 0.5109819769859314, -0.7297305464744568, -0.3465370833873749, -0.07958657294511795, -0.031685858964920044, 0.25653278827667236, 0.189114511013031, 0.5661545991897583, -0.854779839515686, -0.3847983181476593, -0.19500291347503662, -0.6219544410705566, -0.2707894742488861, 0.07716786861419678, -0.35387495160102844, 0.27094924449920654, 0.39792656898498535, -0.814858078956604, 0.42322853207588196, 0.5530074834823608, -0.20430848002433777, 0.893334686756134, 0.03212301433086395, -0.016299717128276825, -1.2591924667358398, 0.17873923480510712, -0.17742788791656494, 0.0000164067078003427, -0.7807233929634094, 0.6362953782081604, -0.0777742862701416, -0.3046208322048187, -0.5185647010803223, 0.6830452084541321, -0.1527765989303589, -0.0628301277756691, -0.20054802298545837, 0.08884751051664352, 0.0010699257254600525, 0.12244629114866257, -0.5778162479400635, 0.879278838634491, 0.28397876024246216, -0.5607576370239258, 0.44390955567359924, 0.2602630853652954, -0.17835916578769684, 0.6472805142402649, -0.6946027874946594, 0.3355613350868225, -0.1610627919435501, 0.36763954162597656, -0.5931740999221802, -0.6917558908462524, 0.5215885043144226, -0.5517727732658386, 0.6602516770362854, -0.3790692687034607, -0.4444504678249359, -0.1660776138305664, -0.4740990996360779, 0.16728250682353973, 0.29269886016845703, -0.6215334534645081, 0.49234187602996826, 0.4717746376991272, -0.14085479080677032, -0.995453417301178, -0.5086082220077515, 0.3627343475818634, -0.5263128876686096, -0.65980064868927, 0.48952487111091614, 0.08532754331827164, -0.3977722227573395, 0.07953565567731857, 0.17024420201778412, -0.06747341901063919, 0.2635638415813446, 0.16162627935409546, 0.26749101281166077, 0.08901207149028778, 0.03758589178323746, -0.08653198927640915, -0.22031551599502563, -0.03918473795056343, 0.11824523657560349, 0.7131447792053223, 0.2021498680114746, -0.4876424968242645, -0.09190982580184937, 0.44427940249443054, 0.37226229906082153, -0.4833643138408661, 0.6830126643180847, 0.5876796841621399, -0.2948230504989624, -0.41277530789375305, -0.4751618802547455, -0.17736375331878662, -0.5057112574577332, 0.43384408950805664, -0.3716728985309601, -0.6292673349380493, 0.5259173512458801, 0.42941370606422424, -0.24297429621219635, 0.48850950598716736, 0.66740882396698, 0.05043952167034149, 0.7748444080352783, 0.13513579964637756, -0.1856800615787506, 0.22540995478630066, -0.3136601746082306, 0.09905809164047241, -1.0036357641220093, -0.15795551240444183, -0.7006505131721497, -0.12167713791131973, -0.8427371382713318, -0.5770034790039062, 0.5947100520133972, 0.21290689706802368, -0.2849196493625641, 0.20137625932693481, -0.4908493757247925, 0.5194513201713562, 0.45465078949928284, -0.042574990540742874, 0.291482150554657, 0.004180106800049543, -0.025301147252321243, 0.09393695741891861, -0.37197592854499817, -0.3632887303829193, 1.2626951932907104, 0.1020364835858345, 1.2336193323135376, 0.5226495265960693, 0.8639473915100098, 0.48106858134269714, 0.28411829471588135, -0.5610858201980591, 0.5330035090446472, -0.2603531777858734, -1.0541582107543945, -0.009327780455350876, -0.566719114780426, -1.2476407289505005, 0.22606812417507172, -0.1649012714624405, -0.6039610505104065, 0.0446055568754673, 0.05320905148983002, -0.1393655687570572, 0.30949968099594116, -0.6116883754730225, 0.6316269636154175, -0.12245547771453857, -0.4599476158618927, -0.15890251100063324, -0.4198816120624542, 0.7050822377204895, -0.4028501510620117, 0.058139022439718246, 0.2642399072647095, 0.15775150060653687, 0.49743062257766724, -0.3011086583137512, 0.7657284140586853, -0.23402483761310577, -0.1044183149933815, 0.3487964868545532, 0.4057120978832245, 0.8571456074714661, -0.11512482166290283, -0.14911644160747528, -0.01317087933421135, -0.2598784267902374, -0.3596966862678528, -0.7057405114173889, 0.9098110795021057, -0.4770536720752716, -0.9450426697731018, -0.5542801022529602, -0.1627272069454193, -0.14269323647022247, 0.12334031611680984, 0.5457181930541992, 0.22185783088207245, -0.1063539907336235, 0.07022842019796371, 0.6729682087898254, -0.5696736574172974, 0.17583505809307098, 0.5214086771011353, -0.2637254297733307, -0.40695810317993164, 1.193434715270996, 0.08704076707363129, 0.30230987071990967, 0.247289776802063, 0.052990544587373734, -0.10983831435441971, -0.7469286322593689, -0.38684144616127014, 0.2705939710140228, -0.5033887028694153, -0.6990509033203125, -0.5061835050582886, -0.34804365038871765, -0.11135938763618469, 0.1367410272359848, -0.15830691158771515, -0.2075420469045639, -0.302810400724411, -0.01676568202674389, 0.24977827072143555, 0.7288153767585754, 0.10426675528287888, 0.1879957616329193, -0.8938713073730469, 0.46398529410362244, 0.3323853015899658, 0.097089484333992, 0.09739281982183456, -0.6070556044578552, -0.039731964468955994, -0.13146039843559265, -0.7414786219596863, -1.350995659828186, 0.5088412165641785, 0.018233390524983406, 0.4275432527065277, 0.2962770462036133, 0.22678104043006897, 0.5305051803588867, -0.6355404257774353, 0.8157870769500732, -0.09112992882728577, -0.5947248339653015, 0.6344660520553589, -0.5503121614456177, -0.16494575142860413, 0.2603914737701416, 0.4935831129550934, -0.43467095494270325, -0.6211419701576233, -0.6265928745269775, -0.8402426242828369, 0.3763066828250885, 0.24004222452640533, 0.29802659153938293, -0.28595027327537537, 0.35421866178512573, 0.006037077866494656, -0.042954929172992706, -0.3671187162399292, -0.27508652210235596, -0.02972526289522648, 0.08667708933353424, 0.17607200145721436, -0.48351478576660156, -0.19750875234603882, 0.2112686187028885, 0.7263092398643494, 0.2343771904706955, 0.1930932104587555, 0.010412855073809624, -0.0317760594189167, -0.13915129005908966, 0.4903087317943573, 0.5551478862762451, 0.34556251764297485, -0.10089229792356491, 0.29231971502304077, 0.04662704095244408, -0.5610553026199341, 0.2158224880695343, 0.29468798637390137, -0.24180926382541656, -0.12309093773365021, 0.5660325884819031, 0.525849461555481, -0.10863536596298218, -0.6573850512504578, 0.44381311535835266, -0.09727785736322403, 0.4507894515991211, -0.518608570098877, 0.3388466536998749, -0.2255874127149582, 0.16210342943668365, 0.5948944091796875, -0.15072204172611237, 0.22588050365447998, -0.5332431197166443, 0.3569088876247406, 0.7167280912399292, -0.22706621885299683, -0.42003190517425537, 0.48175549507141113, 0.001631104969419539, -0.385773241519928, 0.5217921137809753, -0.3191903829574585, -0.7130345106124878, 0.294592022895813, 0.7795294523239136, 0.8611546158790588, -0.6225636005401611, 0.12744875252246857, 0.24844226241111755, 0.231805682182312, 0.33730679750442505, 0.050104156136512756, 0.37074482440948486, -0.6770984530448914, -0.40626490116119385, -0.8890751004219055, -0.20959626138210297, 0.47522395849227905, -0.6663991212844849, 0.16472619771957397, -0.16194285452365875, -0.24720245599746704, -0.010648274794220924, -0.16411468386650085, -0.28958192467689514, -0.031953636556863785, -0.11854352056980133, 0.519478440284729, -0.5804541707038879, 0.5579907894134521, 0.3892875611782074, -0.45914652943611145, -0.5610103011131287, 0.31584441661834717, 0.10492778569459915, -0.7254540324211121, 0.8319999575614929, -0.2534266412258148, 0.07272332906723022, -0.17344750463962555, -0.3814116418361664, -0.7058190703392029, 0.6668404340744019, 0.37516045570373535, -0.39261433482170105, -0.27384325861930847, 0.023224588483572006, 0.4902995824813843, 0.2428256720304489, -0.15175695717334747, 0.2992951273918152, 0.3813856840133667, 0.09460031241178513, -0.6405482292175293, 0.1682138592004776, -0.20011822879314423, -0.09080084413290024, 0.5638390779495239, -0.30090025067329407, 0.8266539573669434, -0.18764269351959229, -0.4504714012145996, 0.06842970103025436, 0.34809547662734985, 0.5058735013008118, 0.3384915292263031, 0.2677440643310547, 1.0267667770385742, 0.7186254262924194, 0.1187775507569313, 1.5247688293457031, -0.11846720427274704, 0.18456050753593445, 1.3447166681289673, -0.22970308363437653, 1.1131881475448608, 0.409741073846817, -0.12379258126020432, 0.3678863048553467, 0.14359158277511597, 0.030535608530044556, 0.6012064218521118, 0.385906457901001, -0.47940319776535034, 0.17601993680000305, -0.04021471366286278, -0.5812437534332275, 0.4598182737827301, 0.5924184322357178, -0.4613484740257263, -0.2799462378025055, 0.14282971620559692, 0.3304131329059601, -0.038750018924474716, -0.04157889261841774, 0.7994034886360168, 0.1259506493806839, -0.6357280015945435, 0.8577366471290588, 0.18186195194721222, 0.49902695417404175, -0.45150765776634216, -0.07435280829668045, -0.2648102939128876, 0.08914951235055923, -0.338580459356308, -0.7898582816123962, 0.6245428323745728, 0.37853723764419556, -0.10702914744615555, 0.32695385813713074, 1.0841704607009888, -0.12241826206445694, -0.24169662594795227, 0.21457014977931976, 0.2610030472278595, -0.005226416047662497, -0.3620283305644989, -0.49893373250961304, 0.40153008699417114, -0.012833469547331333, -0.40986207127571106, 0.5439063310623169, 0.3451554477214813, -0.11893925815820694, 0.6455796360969543, 0.7988041043281555, 0.34909382462501526, 0.20577654242515564, -0.018090270459651947, 1.0342810153961182, -0.6227409839630127, -0.06260904669761658, -0.9021976590156555, 0.30421677231788635, -0.20795440673828125, -0.0010601227404549718, 0.9826754927635193, 0.5631046295166016, 0.7940463423728943, 0.01768861897289753, 0.6517608165740967, -0.0224419217556715, 0.6319350600242615, -0.6535711884498596, 0.9926814436912537, -0.4749334156513214, 0.5672906637191772, -0.20431917905807495, -0.9532283544540405, -0.2476280778646469, 0.1957661658525467, -0.4842302203178406, 0.002362725790590048, 0.5024266242980957, 1.1320616006851196, 0.013312430121004581, -0.28340303897857666, 0.2105647772550583, 0.6619842052459717, 0.7157742977142334, 0.3184003531932831, 1.004282832145691, -0.315523236989975, 0.6336917877197266, -0.09699343889951706, 0.011592898517847061, -0.28924232721328735, -0.6174220442771912, -0.8315041065216064, -0.5176231861114502, 0.06427808105945587, -0.786328136920929, 0.4872801601886749, 0.2681913673877716, 0.26474979519844055, -0.54173344373703, 0.2541278004646301, -0.06080261990427971, 0.25282275676727295, 0.4336315095424652, -0.3627605438232422, 0.4064856171607971, -0.44562405347824097, -0.39861583709716797, 0.4201992154121399, 0.07103836536407471, -0.026806572452187538, -0.4835236370563507, 0.06483768671751022, -0.0458870604634285, 0.08284813910722733, 0.4661794602870941, 0.3770277798175812, -0.6350051164627075, -0.27562984824180603, -0.2321174293756485, -0.19464461505413055, -0.25535959005355835, 0.5416180491447449, -0.7222859263420105, 0.450091689825058, 0.5756732225418091, 0.6569682359695435, 0.5878565311431885, 0.17479372024536133, 0.34607893228530884, -0.9055193662643433, 0.13988633453845978, 0.5789389610290527, 0.11285313963890076, 0.37148022651672363, -0.5078566074371338, 0.44625192880630493, 0.11964552104473114, -0.657341480255127, -1.1924247741699219, 0.5240305662155151, -0.6996397972106934, -0.3230873942375183, 1.1623733043670654, -0.0005261353217065334, -0.4455447793006897, -0.10062146931886673, -0.11984747648239136, 0.016253821551799774, -0.09011244773864746, 1.003496527671814, 0.39430662989616394, 0.1467154622077942, 0.3295232355594635, -0.9131919741630554, 0.6213581562042236, 0.058709729462862015, -0.9865681529045105, -0.0011065430007874966, 0.5462350845336914, 0.1836758553981781, 0.3095504939556122, 0.4200595021247864, -0.350378155708313, 0.15232394635677338, -0.052875958383083344, -0.28095120191574097, 0.10538149625062943, -0.28366103768348694, -0.19830453395843506, 0.4472571015357971, -0.007637420669198036, 0.023247597739100456 ]
http://arxiv.org/abs/2406.00936v1
http://arxiv.org/pdf/2406.00936v1
A Survey of Useful LLM Evaluation
2024-06-03T02:20:03
2024-06-03T02:20:03
Ji-Lun Peng, Sijia Cheng, Egil Diau, Yung-Yu Shih, Po-Heng Chen, Yen-Ting Lin, Yun-Nung Chen
cs.CL
cs.CL
LLMs have gotten attention across various research domains due to their exceptional performance on a wide range of complex tasks. Therefore, refined methods to evaluate the capabilities of LLMs are needed to determine the tasks and responsibility they should undertake. Our study mainly discussed how LLMs, as useful tools, should be effectively assessed. We proposed the two-stage framework: from ``core ability'' to ``agent'', clearly explaining how LLMs can be applied based on their specific capabilities, along with the evaluation methods in each stage. Core ability refers to the capabilities that LLMs need in order to generate high-quality natural language texts. After confirming LLMs possess core ability, they can solve real-world and complex tasks as agent. In the "core ability" stage, we discussed the reasoning ability, societal impact, and domain knowledge of LLMs. In the ``agent'' stage, we demonstrated embodied action, planning, and tool learning of LLMs agent applications. Finally, we examined the challenges currently confronting the evaluation methods for LLMs, as well as the directions for future development.
[ -0.40522870421409607, -0.7123928070068359, 0.6024925708770752, 0.14054034650325775, -0.255033940076828, 0.37847715616226196, -0.29391467571258545, -0.5183118581771851, -0.1554240882396698, 0.46392324566841125, -0.44662073254585266, -0.5258488059043884, -0.6155651211738586, 0.43935883045196533, -0.5110576152801514, 0.8269441723823547, -0.04326002672314644, 0.23138141632080078, -0.497052937746048, 0.010821406729519367, -0.5640279054641724, -0.36259883642196655, -0.5925743579864502, -0.6895788908004761, 0.506151020526886, 0.49186739325523376, 0.5490248203277588, 0.1728486716747284, 0.6770227551460266, 0.382076621055603, -0.27793073654174805, 0.3343115746974945, -0.5844826698303223, 0.15501710772514343, -0.4379616975784302, -0.477186381816864, -0.8036136627197266, 0.27705511450767517, 0.6512818932533264, 0.6546700596809387, 0.20224668085575104, 0.3803117573261261, 0.45157942175865173, 0.5869027376174927, -0.37329915165901184, 0.11084911972284317, -0.3608824908733368, 0.020213961601257324, 0.0629906952381134, -0.3156542181968689, -0.27127790451049805, -0.4104509949684143, 0.24948741495609283, -0.4656394124031067, -0.05129219591617584, -0.024185072630643845, 0.47619593143463135, 0.05145992338657379, -0.4737825393676758, -0.6431083083152771, -0.7935500741004944, 0.8961055874824524, -0.5278885960578918, -0.04165899008512497, 0.24078364670276642, 0.6103514432907104, -0.28887853026390076, -0.7586130499839783, -0.34337735176086426, -0.4544035792350769, -0.025482259690761566, 0.18807773292064667, -0.020331477746367455, 0.053001005202531815, 0.022546937689185143, 0.43910911679267883, -0.23994004726409912, 0.3470557630062103, -0.20263361930847168, -0.4460132420063019, 0.7848465442657471, 0.5334228277206421, 0.3792167901992798, -0.25768807530403137, -0.45291686058044434, 0.040452465415000916, -0.5146265029907227, 0.11007699370384216, 0.3200192451477051, 0.18322478234767914, 0.11218906939029694, 0.7691131234169006, -0.10233676433563232, 0.45637139678001404, -0.19184260070323944, -0.5166159272193909, -0.0013913365546613932, -0.547640860080719, -0.15930363535881042, -0.4149850904941559, 0.49690285325050354, 0.5083305835723877, 0.20137155055999756, -0.42777809500694275, -0.476516991853714, -0.05715647712349892, 0.5388481020927429, -0.5589319467544556, 0.5998139381408691, 0.32746264338493347, -0.5285409092903137, -0.1533169448375702, -0.22969165444374084, -0.5689313411712646, -0.5042758584022522, -0.37031102180480957, 0.5839022397994995, -0.33410894870758057, -0.36856013536453247, 0.06239940971136093, -0.21929246187210083, 0.40679362416267395, 0.42623940110206604, -0.47419440746307373, 0.5289143323898315, 0.7874375581741333, 0.6311920881271362, -0.5243982672691345, -0.3423573076725006, -0.05318572372198105, -0.13042710721492767, -0.1279790997505188, 0.9761708378791809, -0.34970179200172424, -0.6128113269805908, 0.09825675934553146, -0.14181166887283325, -0.021729061380028725, -0.6735283136367798, 0.920904278755188, -0.4752371609210968, -0.1236158087849617, -0.3683610260486603, -0.5360418558120728, -0.2634945213794708, 0.6359611749649048, -0.6504199504852295, 1.0395230054855347, 0.3174588978290558, -0.49804922938346863, 0.3186459243297577, -0.7688551545143127, -0.45716744661331177, 0.25155001878738403, -0.03497340902686119, -0.2292071431875229, -0.09669163823127747, 0.03451485186815262, 0.7799798846244812, -0.580572247505188, 0.2297857105731964, 0.09500531852245331, -0.4563291668891907, 0.42142611742019653, -0.3781006336212158, 0.6000354290008545, 0.16974346339702606, -0.3270305097103119, 0.18550454080104828, -0.7718644738197327, 0.23004961013793945, 0.008915340527892113, -0.5304784774780273, -0.03681068867444992, 0.041336316615343094, -0.08123285323381424, -0.08365128189325333, 0.3899405598640442, -0.22685886919498444, 0.07891098409891129, -0.49873387813568115, 0.3897869884967804, 0.6305937767028809, 0.09562939405441284, 0.6130125522613525, -0.4654814302921295, 0.7819495797157288, -0.47675180435180664, 0.18462598323822021, 0.13613423705101013, -0.3461984097957611, -0.755911648273468, -0.22414691746234894, 0.06653190404176712, 0.49563249945640564, -0.6947931051254272, 0.5443816781044006, -0.077037014067173, -0.9295908808708191, -0.16603997349739075, 0.307417631149292, 0.5594779849052429, 0.22394147515296936, 0.1402525007724762, -0.37097132205963135, -0.4772602319717407, -0.9083815813064575, -0.377443790435791, -0.3572080135345459, 0.1434762179851532, 0.25233301520347595, 0.6947051286697388, -0.3716132938861847, 1.121288776397705, -0.0810379758477211, -0.16475719213485718, -0.7311965227127075, -0.0336901880800724, 0.05845819041132927, 0.13095858693122864, 0.3592227101325989, -0.4808591604232788, -0.013385524041950703, -0.089470773935318, -0.8066911697387695, -0.3335769474506378, 0.03499157354235649, -0.15780244767665863, -0.1691325604915619, 0.08529414236545563, -0.5801599621772766, 0.13356289267539978, 0.30539897084236145, -0.3552722632884979, 0.8189744353294373, -0.08407747000455856, 0.10668555647134781, -0.7674102783203125, 0.15223561227321625, -0.18906377255916595, -0.26743751764297485, -0.6509784460067749, 0.10362755507230759, -0.12979237735271454, 0.004748035222291946, -0.6097511649131775, 0.869585394859314, -0.7297017574310303, -0.4654463529586792, -0.46322256326675415, 0.5418493747711182, -0.02010837197303772, 0.04263541102409363, -0.3199140131473541, 0.8207003474235535, 0.4005197286605835, -0.9434781670570374, 0.5249258279800415, 0.029705317690968513, -0.4293856918811798, 0.7347835302352905, -0.5110836029052734, 0.17430540919303894, 0.008733431808650494, -0.08296079933643341, -0.8323540091514587, 0.14661617577075958, 0.17912337183952332, -0.4055258333683014, 0.08914922922849655, 0.2972823679447174, -0.4913603663444519, -0.3007931411266327, -0.41297489404678345, 0.10945703089237213, 0.1844843477010727, -0.12658128142356873, 0.9488318562507629, 0.4680798649787903, -0.010355993174016476, -0.5314115285873413, -0.4859488308429718, 0.22436100244522095, -0.22592642903327942, -0.5586221814155579, 0.13246965408325195, -0.06009555235505104, -0.48586952686309814, 0.09667398780584335, -0.18215526640415192, 0.05209185928106308, 0.38251301646232605, 0.4115622043609619, 0.052461039274930954, 0.03826957568526268, -0.00933117512613535, -0.05138730630278587, -0.39223596453666687, 0.22323471307754517, 0.3031689524650574, 0.33029550313949585, -0.30137959122657776, -0.5066033601760864, 0.06060854718089104, 0.12055294960737228, 0.3463608920574188, -0.0756499394774437, 0.17413772642612457, 0.6310375928878784, -0.4330728054046631, -0.31296736001968384, -0.6674361228942871, -0.13828183710575104, -0.41035106778144836, 0.4940004348754883, -0.2009306401014328, -1.0324121713638306, 0.42566120624542236, -0.3429860770702362, 0.3036690354347229, 0.5308841466903687, 0.9127576351165771, 0.06825222074985504, 0.43329837918281555, 0.5445371866226196, 0.07271979004144669, 0.080197773873806, -0.46933454275131226, 0.24960434436798096, -0.9782238006591797, -0.5089545249938965, -0.5448378920555115, -0.3303934931755066, -0.1030125766992569, -0.6677702069282532, 0.40510061383247375, 0.18439112603664398, 0.1502569168806076, 0.36679843068122864, -0.35442739725112915, 0.3240291476249695, 0.1996334195137024, 0.031755607575178146, 0.5399344563484192, -0.06931018084287643, -0.23327131569385529, 0.07829317450523376, -0.34792205691337585, -1.4353396892547607, 1.0891737937927246, 0.6461904048919678, 0.7895787358283997, -0.12646520137786865, 0.37646374106407166, 0.5951181650161743, 0.6043444871902466, -1.184612512588501, 1.0643389225006104, 0.2739419937133789, -0.6711298823356628, -0.5176941156387329, -0.09399691969156265, -1.063187599182129, 0.4746433198451996, -0.2423674613237381, -0.589678168296814, -0.34196001291275024, -0.22593113780021667, -0.15348729491233826, -0.035008758306503296, -0.6715629696846008, 0.5862158536911011, -0.5971936583518982, -0.12998104095458984, -0.49518707394599915, -0.29260870814323425, 0.1723032295703888, 0.12542183697223663, 0.1696309745311737, -0.47086554765701294, -0.43106508255004883, 0.8788649439811707, -0.018556559458374977, 1.006576657295227, -0.06424624472856522, -0.12164417654275894, 0.656705915927887, -0.02784193865954876, 0.1882636696100235, 0.2377975583076477, -0.40313634276390076, -0.04076199606060982, 0.023326361551880836, -0.1349954605102539, -0.7378911375999451, 0.4535195529460907, -0.7993007898330688, -0.788524329662323, -0.3801291584968567, -0.4417950510978699, -0.4554378390312195, 0.3346816301345825, -0.10650334507226944, 0.31445834040641785, -0.76798015832901, 0.0015010182978585362, 0.24383772909641266, 0.019586898386478424, 0.5232054591178894, 0.7808769345283508, -0.21725168824195862, -0.46806976199150085, 0.6692829132080078, 0.18337246775627136, 0.22378619015216827, 0.2202567458152771, 0.1360367238521576, -0.22044773399829865, -0.8144963979721069, -0.2549600899219513, 0.13964694738388062, -0.926121175289154, -0.23361562192440033, -0.5491452813148499, -0.20626144111156464, -0.06128155067563057, -0.17475733160972595, -0.1768438220024109, -0.3421315550804138, -0.4329770803451538, -0.3417968451976776, -0.06311164051294327, 0.9501677751541138, 0.1847512274980545, 0.14951226115226746, -0.7481873035430908, 0.19671793282032013, 0.40906137228012085, 0.11057902872562408, 0.09410662204027176, -0.2201492339372635, -0.4463786780834198, -0.25811848044395447, -0.5345462560653687, -0.752334475517273, 0.12539246678352356, 0.05886581912636757, 1.2340774536132812, 0.20580506324768066, 0.014894580468535423, 0.32947421073913574, -0.1467260718345642, 0.9320967197418213, -0.1487378031015396, -0.8944628834724426, 0.37355366349220276, 0.02329750545322895, 0.16421616077423096, 0.6114662885665894, 0.2904374301433563, -0.21200869977474213, -0.4962494671344757, -0.37103021144866943, -0.7292644381523132, 0.4990446865558624, 0.563859760761261, 0.2222287505865097, 0.14112523198127747, 0.5312103629112244, 0.2008783519268036, 0.30527132749557495, -0.5154003500938416, -0.13989529013633728, 0.13248996436595917, 0.1897093504667282, -0.003242786740884185, -0.5876011848449707, -0.18804404139518738, -0.01336382981389761, 0.5112662315368652, -0.12850432097911835, 0.2863486409187317, 0.356095552444458, -0.4248177111148834, 0.14800526201725006, 0.7603517174720764, 0.41117119789123535, 1.1572321653366089, -0.04818183556199074, 0.19775374233722687, 0.4475540518760681, -0.5886543989181519, 0.32753026485443115, -0.22308887541294098, -0.00866028480231762, -0.2883274257183075, 0.7073405385017395, 0.38910219073295593, 0.27285051345825195, -0.936418890953064, 0.42427295446395874, 0.0029513114131987095, -0.15492086112499237, -0.1339113712310791, 0.16249139606952667, 0.23525460064411163, 0.42287519574165344, 0.600938618183136, -0.26117777824401855, 0.27184948325157166, -0.6463475227355957, -0.005871432367712259, 0.47207942605018616, -0.3756921887397766, -0.24772417545318604, -0.050044674426317215, 0.5109627842903137, -0.46774759888648987, 0.10722372680902481, -0.34123361110687256, -0.6495728492736816, 0.7261779308319092, 0.5731569528579712, 0.9683582186698914, -0.10909169167280197, 0.2686612904071808, 0.07077453285455704, 0.7463617324829102, 0.033300869166851044, 0.3748345971107483, 0.06775686889886856, -0.8743785619735718, -0.3510047495365143, -0.5791155695915222, -0.6687860488891602, -0.12837770581245422, -0.41779467463493347, 0.23117125034332275, -0.3686617314815521, -0.6122444868087769, -0.44680729508399963, 0.5051252841949463, -0.7109972834587097, 0.26241251826286316, -0.317441463470459, 0.9727544784545898, -0.6088141202926636, 0.3430670201778412, 1.0321673154830933, -0.18893642723560333, -0.618026614189148, -0.3200148642063141, 0.027288397774100304, -0.8783339858055115, 0.6305937767028809, 0.22000272572040558, -0.4171685576438904, -0.24374334514141083, -0.3361130952835083, -0.5350285768508911, 1.5157649517059326, 0.36943745613098145, -0.33912965655326843, -0.07781441509723663, 0.22540736198425293, 0.779313325881958, -0.6216009855270386, 0.6672930717468262, 0.734003484249115, 0.629887044429779, -0.10019469261169434, -1.0213767290115356, 0.06460396200418472, -0.23603636026382446, 0.1510249823331833, -0.31894445419311523, -0.557437002658844, 0.3860396146774292, -0.13569049537181854, -0.4945431053638458, 0.037373483180999756, 0.6455396413803101, 0.25650307536125183, 0.49241212010383606, 0.5446190237998962, 0.23811133205890656, 0.6747514605522156, 0.0581410713493824, 0.9148023128509521, -0.2677120566368103, 0.3361397087574005, 0.6049594879150391, -0.2822049856185913, 0.6903290748596191, 0.2913799583911896, -0.21573278307914734, 0.19435013830661774, 0.4207662343978882, 0.13118422031402588, 0.12969925999641418, 0.4338757395744324, -0.14269880950450897, -0.3214983642101288, -0.3291468620300293, -0.12946923077106476, 0.4024334251880646, 0.4594457149505615, -0.1707778424024582, -0.44475653767585754, 0.07339838147163391, -0.0436185859143734, 0.3207581341266632, -0.3776164650917053, 0.7211369872093201, 0.2535097897052765, -0.5426969528198242, 0.22649694979190826, 0.1605205237865448, 0.563569962978363, -0.5367235541343689, -0.07566028088331223, -0.04477641358971596, -0.02705259993672371, -0.4219169318675995, -1.077602505683899, 0.3773132562637329, 0.19804199039936066, -0.05776924639940262, -0.30738985538482666, 1.2142175436019897, 0.10181599855422974, -0.40445712208747864, 0.5409915447235107, 0.941663920879364, 0.27959874272346497, 0.05522216483950615, -0.6136375069618225, 0.12384872138500214, -0.416648268699646, -0.5089084506034851, 0.21710379421710968, 0.35315021872520447, 0.040439359843730927, 0.9983197450637817, 0.37687957286834717, 0.22921070456504822, -0.19372163712978363, 0.23714768886566162, 0.9487131237983704, -0.7923330068588257, 0.020081952214241028, -0.8110700845718384, 0.5739796757698059, -0.06989055126905441, -0.31695854663848877, 0.9310378432273865, 0.6149430871009827, 0.6014317274093628, 0.19065873324871063, 0.7912264466285706, -0.10140746086835861, 0.5910735726356506, -0.5295619964599609, 0.48210588097572327, -0.3539595305919647, 0.5733920931816101, -0.21259689331054688, -1.067371129989624, -0.10801437497138977, 0.41755610704421997, -0.32199859619140625, 0.16890116035938263, 0.8879960179328918, 0.6356658339500427, 0.4539842903614044, -0.10802069306373596, 0.5067154169082642, -0.11616497486829758, 0.43863949179649353, 0.40663212537765503, 1.1242859363555908, -0.29130882024765015, 0.5566290616989136, -0.05176272243261337, -0.338249534368515, -0.15205880999565125, -0.9974518418312073, -1.29185950756073, -0.42833858728408813, -0.04615485295653343, -0.2400239109992981, 0.00839682575315237, 0.8849973082542419, 0.4392886459827423, -0.322224497795105, -0.5791255235671997, 0.40847790241241455, 0.44736745953559875, -0.3248375356197357, -0.1939389407634735, 0.10921486467123032, -0.4012390375137329, -0.639408528804779, 0.5313652157783508, 0.535354495048523, -0.08769851922988892, -0.7230662107467651, -0.3003844618797302, 0.0631205216050148, -0.07768873125314713, 1.0065127611160278, -0.0701342523097992, -0.8128029704093933, -0.19131654500961304, 0.11966194957494736, -0.3683478832244873, -0.18282179534435272, 1.1200952529907227, -0.581831157207489, 0.417576402425766, 0.5009468793869019, 0.7503892183303833, 0.0875784307718277, -0.05110813304781914, 0.6363210082054138, -0.23162201046943665, -0.2636123299598694, 0.5756340026855469, 0.2530684769153595, 0.30802351236343384, -0.29134684801101685, 0.7479391098022461, -0.0386522077023983, -0.7039830088615417, -0.6597847938537598, 0.04780644178390503, -1.1651675701141357, -0.06028659641742706, 1.382051706314087, -0.2363717406988144, 0.014903132803738117, -0.5211377739906311, -0.5311924815177917, 0.3042464256286621, -0.1988723874092102, 0.47885003685951233, 0.8298087120056152, -0.1918293982744217, -0.20407912135124207, -0.4938223659992218, 0.31730151176452637, 0.19170518219470978, -1.0140761137008667, -0.3327708840370178, 0.21280981600284576, 0.2415066957473755, 0.24926947057247162, 0.8564043045043945, -0.2807145118713379, 0.0007274480885826051, -0.27518895268440247, 0.006777297705411911, -0.1515866070985794, -0.19223938882350922, -0.28900203108787537, 0.27975037693977356, 0.7414030432701111, 0.22747904062271118 ]
http://arxiv.org/abs/2406.00922v2
http://arxiv.org/pdf/2406.00922v2
MEDIQ: Question-Asking LLMs for Adaptive and Reliable Clinical Reasoning
2024-06-03T01:32:52
2024-06-04T13:55:05
Shuyue Stella Li, Vidhisha Balachandran, Shangbin Feng, Jonathan Ilgen, Emma Pierson, Pang Wei Koh, Yulia Tsvetkov
cs.CL
cs.CL, cs.AI
In high-stakes domains like clinical reasoning, AI assistants powered by large language models (LLMs) are yet to be reliable and safe. We identify a key obstacle towards reliability: existing LLMs are trained to answer any question, even with incomplete context in the prompt or insufficient parametric knowledge. We propose to change this paradigm to develop more careful LLMs that ask follow-up questions to gather necessary and sufficient information and respond reliably. We introduce MEDIQ, a framework to simulate realistic clinical interactions, which incorporates a Patient System and an adaptive Expert System. The Patient may provide incomplete information in the beginning; the Expert refrains from making diagnostic decisions when unconfident, and instead elicits missing details from the Patient via follow-up questions. To evaluate MEDIQ, we convert MEDQA and CRAFT-MD -- medical benchmarks for diagnostic question answering -- into an interactive setup. We develop a reliable Patient system and prototype several Expert systems, first showing that directly prompting state-of-the-art LLMs to ask questions degrades the quality of clinical reasoning, indicating that adapting LLMs to interactive information-seeking settings is nontrivial. We then augment the Expert with a novel abstention module to better estimate model confidence and decide whether to ask more questions, thereby improving diagnostic accuracy by 20.3%; however, performance still lags compared to an (unrealistic in practice) upper bound when full information is given upfront. Further analyses reveal that interactive performance can be improved by filtering irrelevant contexts and reformatting conversations. Overall, our paper introduces a novel problem towards LLM reliability, a novel MEDIQ framework, and highlights important future directions to extend the information-seeking abilities of LLM assistants in critical domains.
[ -0.2215496003627777, -0.7423532605171204, 1.1255849599838257, 0.10307273268699646, 0.031092416495084763, 0.1728522926568985, 0.03314535692334175, -0.30349311232566833, 0.2066057175397873, 0.5240412354469299, -0.6159420609474182, -0.1809343844652176, -0.6672267317771912, 0.10296229273080826, -0.09511711448431015, 0.6958348751068115, -0.23035599291324615, 0.23660191893577576, -0.5400180816650391, -0.4537051320075989, -0.5815494656562805, -0.2853514850139618, -0.94511878490448, -0.1933298408985138, 0.569465160369873, 0.5115033388137817, 0.9828504323959351, 0.543032169342041, 0.5347988605499268, 0.2759864628314972, 0.20955811440944672, 0.5026965141296387, -0.31798669695854187, 0.4723125398159027, 0.08786346018314362, -0.6619566082954407, -0.6776573657989502, 0.002399895805865526, 0.3285585343837738, 0.9245432019233704, -0.29400062561035156, -0.19589509069919586, -0.340838223695755, 0.4502136707305908, -0.5468421578407288, -0.21199628710746765, -0.46824073791503906, -0.1451026201248169, 0.12641115486621857, -0.5580023527145386, -0.4522465467453003, -0.27716490626335144, 0.20437736809253693, -0.8252490758895874, -0.16820581257343292, 0.15887214243412018, 0.4908537268638611, 0.6061832904815674, -0.22706185281276703, -0.3035847544670105, -0.7858061790466309, 0.477639377117157, -0.6269460916519165, 0.36703094840049744, 0.8192986249923706, 0.3338158428668976, -0.30061352252960205, -0.7115090489387512, -0.3959880769252777, -0.4612555503845215, 0.01611226424574852, 0.42568233609199524, -0.058046068996191025, 0.04201482608914375, 0.12639835476875305, -0.029103469103574753, -0.48544466495513916, -0.03103514015674591, -0.31569069623947144, 0.046391576528549194, 0.6023976802825928, 0.5157606601715088, 0.38812047243118286, 0.3158430755138397, -0.32486486434936523, 0.22707703709602356, -0.8036551475524902, -0.03919583186507225, -0.23592239618301392, -0.35951510071754456, -0.015772920101881027, 0.4462861120700836, -0.041428692638874054, 0.5703333616256714, 0.19147783517837524, -0.2619263827800751, -0.04120051488280296, -0.15782436728477478, -0.003618912771344185, -0.21443268656730652, 0.4862593114376068, 0.4736982583999634, 0.3906889259815216, -0.11048635840415955, 0.06154227629303932, -0.31963464617729187, 0.5929521918296814, -0.2695977985858917, -0.2712683081626892, 0.8737683892250061, -0.37115588784217834, -0.11194388568401337, -0.22619353234767914, -0.3507589101791382, -0.5153836607933044, -0.31710419058799744, 0.37442874908447266, -0.6443228721618652, -0.15010245144367218, 0.23581463098526, 0.11702141910791397, 0.17640256881713867, 0.817190408706665, -0.40564361214637756, 0.27747979760169983, 0.4110390543937683, 0.48181408643722534, -0.29417020082473755, -0.35415756702423096, -0.6759862899780273, 0.34510278701782227, -0.48965540528297424, 0.8085702061653137, -0.43323981761932373, -0.3056398630142212, -0.21976622939109802, 0.12294454127550125, -0.2500562071800232, -0.7759836316108704, 0.2361569106578827, -0.35975807905197144, 0.240146666765213, -0.12118815630674362, -0.5633403658866882, 0.19667087495326996, 0.5595700144767761, -0.36102473735809326, 0.7686657905578613, 0.3203623592853546, -0.4883832037448883, 0.254309743642807, -0.5426506996154785, -0.27274221181869507, 0.3763293921947479, -0.3714183270931244, -0.19098395109176636, -0.12507350742816925, 0.3465016484260559, 0.32970303297042847, -0.45644429326057434, 0.3581516742706299, -0.3303777873516083, -0.4308793246746063, 0.6521106362342834, -0.4293738901615143, 0.5674801468849182, 0.1453186273574829, -0.04276059940457344, 0.11207449436187744, -0.8177505731582642, 0.06977756321430206, -0.03136906772851944, -0.2808763086795807, -0.21456831693649292, 0.1507338136434555, -0.4555458724498749, -0.05233033001422882, 0.029105376452207565, -0.4859636425971985, 0.005117551889270544, -0.17295534908771515, 0.16154025495052338, 0.6820126175880432, 0.22669878602027893, 0.03922652080655098, -0.9378161430358887, 0.8032402396202087, 0.052026327699422836, 0.39971494674682617, -0.18637777864933014, -0.5782366394996643, -0.8318185210227966, -0.2857319414615631, -0.02794083021581173, 0.8193992376327515, -0.9963892698287964, -0.04971485212445259, -0.06700726598501205, -0.3626146614551544, -0.8678217530250549, -0.05940248444676399, 0.2666698098182678, 0.8120262622833252, 0.5676503777503967, -0.0435030497610569, -0.37546631693840027, -0.6936926245689392, -0.012496093288064003, -0.5754367709159851, -0.3362119197845459, 0.578567624092102, 0.19952097535133362, -0.2797912657260895, 0.671280026435852, -0.40234264731407166, -0.08436357975006104, -0.3501378297805786, -0.04593094810843468, 0.09368289262056351, 0.3908996880054474, 0.2708956301212311, -0.7494044303894043, -0.16719062626361847, -0.0851263478398323, -0.9046828746795654, -0.19341234862804413, -0.335546612739563, -0.041439156979322433, -0.04715275019407272, 0.6453216671943665, -0.6790243983268738, 0.5536426305770874, 0.25499239563941956, -0.1705358624458313, 0.4523007869720459, -0.41425222158432007, 0.3088982403278351, -1.0189467668533325, 0.4250502288341522, -0.3900534212589264, -0.26390329003334045, -0.7896627187728882, 0.0795474722981453, -0.171556293964386, -0.01550403144210577, -0.3981699049472809, 0.7912099361419678, -0.23959019780158997, 0.3628782629966736, -0.23558400571346283, 0.07227591425180435, 0.06954038143157959, 0.3610459268093109, -0.07955408841371536, 0.7799399495124817, 0.22612422704696655, -0.6869435906410217, 0.5000909566879272, 0.2936832904815674, -0.16138042509555817, 1.111845850944519, -0.8178820610046387, 0.21540570259094238, -0.20171305537223816, 0.05285929515957832, -0.9378308057785034, -0.4233013093471527, 0.25387486815452576, -0.5989553928375244, 0.23789916932582855, -0.043615661561489105, -0.17231899499893188, -0.22743800282478333, -0.06290863454341888, 0.547583281993866, 0.4721556007862091, -0.15103285014629364, 0.6727072596549988, 0.23537993431091309, -0.6239790320396423, -0.5140498876571655, -0.507713258266449, 0.13643987476825714, 0.02357720211148262, -0.5321758389472961, -0.15506383776664734, -0.37096062302589417, -0.3648265302181244, -0.06647361069917679, 0.13757437467575073, -0.2259625345468521, 0.39432957768440247, 0.14720863103866577, 0.3580591082572937, -0.13015899062156677, 0.29397448897361755, 0.1410086750984192, -0.09991984814405441, 0.18454760313034058, 0.053413525223731995, 0.3039827048778534, 0.023213066160678864, -0.8366422057151794, -0.4562578797340393, 0.5910038948059082, 0.8724554777145386, -0.09453568607568741, 0.5387092232704163, 0.2645663022994995, -0.550264298915863, 0.16456522047519684, -0.7717581391334534, -0.20286597311496735, -0.39810630679130554, 0.40460655093193054, -0.42046040296554565, -0.7276304364204407, 0.4876919388771057, -0.09586045891046524, 0.06118202209472656, 0.1651126742362976, 0.6697344183921814, -0.5688705444335938, 1.341343641281128, 0.3327316343784332, 0.15069277584552765, -0.24435126781463623, 0.196241095662117, -0.12983475625514984, -0.7748112082481384, -0.43027544021606445, -0.26806512475013733, -0.1659938395023346, -0.07978971302509308, -0.4011809825897217, 0.8396046161651611, -0.1459999531507492, -0.27749040722846985, -0.2974666655063629, -0.2530660033226013, 0.06200389564037323, 0.4934665262699127, 0.37740206718444824, 0.33823397755622864, -0.3748912513256073, -0.2451498806476593, 0.02570115216076374, -0.8098992109298706, -0.38307204842567444, 0.9174038171768188, 0.5009136199951172, 0.9498021602630615, 0.1250905692577362, 0.22393196821212769, 0.1807604283094406, 0.4859909117221832, -0.6441775560379028, 0.3950607180595398, 0.3445604741573334, -0.5080852508544922, -0.25445249676704407, -0.20828872919082642, -0.8247354030609131, -0.10477625578641891, -0.14739571511745453, -0.4505026638507843, 0.31625452637672424, 0.17814061045646667, -0.6856557130813599, 0.2287604659795761, -0.29535627365112305, 0.508277952671051, -0.2629499137401581, -0.32242608070373535, 0.22264352440834045, -0.9774844646453857, 0.10888342559337616, -0.08897142857313156, 0.15853635966777802, -0.1257391721010208, -0.3504255414009094, 0.4412994086742401, -0.5730522871017456, 0.7259289026260376, 0.015889419242739677, 0.10772460699081421, 0.12415025383234024, 0.37739279866218567, 0.2978583872318268, 0.3160912096500397, -0.09177955240011215, -0.33273351192474365, 0.2849496901035309, -0.6474791765213013, -0.8450533151626587, 0.3740978538990021, -0.7141473293304443, -0.8832566142082214, -0.3617221415042877, -0.782734751701355, -0.6967473030090332, 0.05779511481523514, 0.08391236513853073, 0.422218918800354, -0.0300764050334692, 0.06157582998275757, 0.739439845085144, -0.20402483642101288, -0.24380290508270264, 0.6147278547286987, 0.15245972573757172, -0.4007539749145508, 0.5404537320137024, -0.1802201122045517, 0.4758492112159729, 0.2357434183359146, 0.004637479316443205, -0.03490320220589638, -0.8021838068962097, -0.6676645874977112, 0.38254880905151367, -0.6043452620506287, -0.25129544734954834, -0.7059951424598694, -0.4279767870903015, -0.17961373925209045, -0.27313750982284546, -0.3222365081310272, -0.24838563799858093, -0.42466190457344055, -0.0012008447665721178, 0.43722519278526306, 0.5805279016494751, 0.1156114712357521, 0.04435517266392708, -0.8154375553131104, 0.13970863819122314, 0.26597100496292114, 0.28189441561698914, -0.1653852015733719, -0.6458701491355896, -0.018373064696788788, 0.1327497661113739, -0.15361614525318146, -0.7521705031394958, 0.18831078708171844, 0.04387741535902023, 0.6374419927597046, 0.39022296667099, 0.3393479585647583, 0.610733151435852, -0.46207794547080994, 0.4750625193119049, -0.06370414793491364, -0.40638646483421326, 0.5930172204971313, -0.3153725862503052, 0.3476424515247345, 0.8435561656951904, 0.6725046038627625, -0.6367233991622925, -0.7372932434082031, -0.4801538288593292, -0.4732650816440582, 0.4911361634731293, -0.04729210585355759, -0.11759316921234131, -0.21019244194030762, 0.7381643056869507, 0.0014194202376529574, 0.03168828785419464, -0.21308916807174683, -0.12235993146896362, 0.21674352884292603, -0.5596931576728821, 0.16284744441509247, -0.23587751388549805, -0.477506160736084, -0.1881767064332962, 0.4077138602733612, -0.36850109696388245, 0.37141162157058716, 0.6897199153900146, 0.06744908541440964, -0.15147508680820465, 0.16809892654418945, 0.6765668392181396, 0.9760913848876953, -0.3086162507534027, 0.11764474958181381, 0.36897012591362, -0.6153303384780884, 0.29133370518684387, 0.08687862753868103, -0.06100970134139061, -0.2572903633117676, 0.4946483373641968, 0.5831266641616821, 0.007231622934341431, -1.0747787952423096, 0.5408709049224854, -0.2107609212398529, -0.3510262072086334, -0.44879940152168274, 0.06914158165454865, 0.07200606167316437, 0.19695165753364563, 0.26757124066352844, 0.22600224614143372, -0.029074564576148987, -0.5704582333564758, 0.4470372796058655, 0.1782815158367157, -0.7860293984413147, -0.11792036890983582, 0.829231321811676, 0.1022840365767479, -0.3799359202384949, 0.6432905197143555, 0.19876591861248016, -0.3509473204612732, 0.6368746757507324, 0.42048379778862, 0.3775406777858734, -0.3186081349849701, 0.17168453335762024, -0.10011731088161469, 0.3304859697818756, 0.008489951491355896, 0.6676833033561707, 0.2809693515300751, -0.6089429259300232, -0.4166065752506256, 0.11559216678142548, -1.0266790390014648, 0.19862298667430878, -0.5641416311264038, 0.0828307494521141, -0.7036702036857605, 0.00507495878264308, -0.475748747587204, -0.3028225004673004, -0.403415709733963, 0.4154636561870575, -0.19260510802268982, 1.066748857498169, -0.40644705295562744, 0.5603719353675842, 0.8089832067489624, -0.1786780208349228, -0.8506531715393066, -0.14016667008399963, -0.023069994524121284, -1.036665916442871, 0.08364542573690414, -0.19532014429569244, 0.04125221446156502, -0.24193421006202698, -0.611742377281189, -0.8413088917732239, 1.1504056453704834, 0.2867763042449951, -0.1113051027059555, 0.10318014770746231, 0.029850464314222336, 0.6381977200508118, -0.4611223340034485, 0.5473073720932007, 0.44363901019096375, 0.2846716642379761, 0.4618869125843048, -0.8948748111724854, 0.29580116271972656, -0.43064671754837036, -0.5023013353347778, -0.05057789012789726, -0.49681463837623596, 0.7255358099937439, -0.6108009815216064, 0.08542606234550476, 0.6371073722839355, 0.22652234137058258, 0.5481183528900146, 0.6353879570960999, 0.3822239935398102, 0.44420334696769714, 1.032263994216919, -0.014901570044457912, 1.2529710531234741, -0.298866868019104, -0.24687473475933075, 1.0647082328796387, -0.49151480197906494, 0.765568733215332, 0.4478319585323334, -0.12467039376497269, 0.30355727672576904, 0.5595818758010864, 0.20574738085269928, 0.15648917853832245, -0.042637988924980164, -0.35739749670028687, -0.3809583783149719, -0.18634241819381714, -0.40185031294822693, 0.34695613384246826, 0.4853473901748657, -0.15554580092430115, 0.2661828100681305, 0.09979918599128723, 0.08689383417367935, -0.008865214884281158, -0.06495189666748047, 0.7218952775001526, 0.0635170191526413, -0.8775946497917175, 0.6254553198814392, -0.19326628744602203, 0.03508087992668152, -0.5505588054656982, -0.04752052202820778, -0.5285980105400085, 0.2058417797088623, -0.008685986511409283, -0.6373192071914673, 0.05190190672874451, -0.34071147441864014, -0.08409130573272705, 0.14166519045829773, 0.6115267872810364, -0.35975372791290283, -0.5808019638061523, -0.04076183959841728, 0.8876044154167175, 0.30702996253967285, 0.2684650421142578, -0.714785635471344, -0.07890227437019348, -0.1869143545627594, -0.06245827302336693, 0.1845102459192276, 0.34783056378364563, -0.03703591972589493, 1.240541696548462, 0.5455152988433838, 0.4042116105556488, -0.1358434408903122, 0.06948588788509369, 0.8421679139137268, -0.4060463607311249, -0.11198799312114716, -0.44585859775543213, 0.40091270208358765, -0.0651472955942154, -0.395188570022583, 0.22909410297870636, 0.039729051291942596, 0.42339882254600525, 0.20368176698684692, 0.6626195907592773, 0.3286195397377014, 0.8979661464691162, -0.4821447730064392, 0.7835344076156616, -0.7728534936904907, 0.45274481177330017, -0.0024838235694915056, -0.40451082587242126, -0.5422614812850952, 0.4475161135196686, -0.12543970346450806, 0.19004987180233002, 0.6708371043205261, 0.6136034727096558, 0.03564268350601196, 0.01707594282925129, 0.529947817325592, 0.4342155158519745, 0.329309344291687, 0.7717124819755554, 1.025383710861206, -0.2999435365200043, 0.3803594708442688, -0.058810941874980927, -0.4844866096973419, -0.07771030068397522, -0.5073140263557434, -0.6694647669792175, -0.282592236995697, -0.3194897174835205, -0.29165345430374146, 0.28218525648117065, 0.9514331221580505, 0.7058225870132446, -0.6764912009239197, 0.0751267820596695, 0.1937108039855957, 0.12931226193904877, -0.058987103402614594, -0.15636149048805237, 0.35168448090553284, -0.2275424599647522, -0.47292688488960266, 0.5213474035263062, 0.573536217212677, 0.1116238608956337, -0.10698474198579788, -0.20863090455532074, -0.2439979612827301, 0.230460062623024, 0.2106436789035797, 0.5033470392227173, -0.5330981612205505, -0.40027302503585815, 0.3407382071018219, -0.1635802686214447, 0.184474915266037, 0.6317350268363953, -0.7083298563957214, 0.4607580006122589, 0.033184248954057693, 1.077538251876831, -0.05152876675128937, 0.21922224760055542, 0.7510938048362732, -0.3245564103126526, -0.16936807334423065, 0.6369757652282715, 0.3155195713043213, 0.1725606471300125, -0.4198155999183655, 0.3269548714160919, 0.21917352080345154, -0.7382304668426514, -0.6925800442695618, 0.18394267559051514, -0.8132179975509644, -0.15773969888687134, 1.0526317358016968, -0.39788180589675903, -0.02264532446861267, -0.7431614995002747, -0.4155259430408478, -0.287404865026474, -0.04637699946761131, 0.6341306567192078, 0.5547071099281311, -0.5833811163902283, -0.4509201943874359, -0.5361551642417908, 0.5120581984519958, 0.9072083234786987, -0.8536733388900757, -0.31664520502090454, 0.2779298424720764, 0.3727947473526001, 0.010983007028698921, 1.068501591682434, -0.218854159116745, 0.8294684290885925, -0.2850879430770874, -0.3701086640357971, -0.15096290409564972, -0.43741950392723083, -0.015110033564269543, 0.09389600902795792, 0.39801618456840515, -0.0431971400976181 ]
http://arxiv.org/abs/2406.01638v3
http://arxiv.org/pdf/2406.01638v3
TimeCMA: Towards LLM-Empowered Time Series Forecasting via Cross-Modality Alignment
2024-06-03T00:27:29
2024-06-14T01:39:29
Chenxi Liu, Qianxiong Xu, Hao Miao, Sun Yang, Lingzheng Zhang, Cheng Long, Ziyue Li, Rui Zhao
cs.LG
cs.LG, cs.AI, cs.CL
The widespread adoption of scalable mobile sensing has led to large amounts of time series data for real-world applications. A fundamental application is multivariate time series forecasting (MTSF), which aims to predict future time series values based on historical observations. Existing MTSF methods suffer from limited parameterization and small-scale training data. Recently, Large language models (LLMs) have been introduced in time series, which achieve promising forecasting performance but incur heavy computational costs. To solve these challenges, we propose TimeCMA, an LLM-empowered framework for time series forecasting with cross-modality alignment. We design a dual-modality encoding module with two branches, where the time series encoding branch extracts relatively low-quality yet pure embeddings of time series through an inverted Transformer. In addition, the LLM-empowered encoding branch wraps the same time series as prompts to obtain high-quality yet entangled prompt embeddings via a Pre-trained LLM. Then, we design a cross-modality alignment module to retrieve high-quality and pure time series embeddings from the prompt embeddings. Moreover, we develop a time series forecasting module to decode the aligned embeddings while capturing dependencies among multiple variables for forecasting. Notably, we tailor the prompt to encode sufficient temporal information into a last token and design the last token embedding storage to reduce computational costs. Extensive experiments on real data offer insight into the accuracy and efficiency of the proposed framework.
[ -0.0869341641664505, -0.3735176920890808, 0.46836233139038086, 0.31024929881095886, -0.5890763998031616, 0.3982967436313629, 0.016076676547527313, -0.3481256663799286, 0.48093080520629883, 0.11402030289173126, -0.7767625451087952, -0.1832726150751114, -0.4463246762752533, -0.18098485469818115, -0.00292652053758502, 0.4567079544067383, -0.22797293961048126, 0.41829875111579895, -0.027623720467090607, -0.04743816703557968, -0.6610524654388428, -0.44085055589675903, -0.05974782630801201, -0.028743157163262367, 0.5966374278068542, 0.24359609186649323, 0.8136054873466492, 0.6996583342552185, 0.0967181846499443, 0.19197794795036316, 0.4254421293735504, 0.6643495559692383, -0.17211318016052246, 0.21230578422546387, 0.198747456073761, -0.3705413043498993, -0.8346477746963501, 0.09194514155387878, 0.4867991507053375, 0.4696873128414154, -0.23748476803302765, 0.44377556443214417, 0.09404289722442627, 0.30545148253440857, -0.6042060852050781, 0.047579336911439896, -0.5356923341751099, 0.19064754247665405, -0.1886141002178192, -0.562843918800354, -0.2323857545852661, 0.08769677579402924, -0.20392781496047974, -0.5955860018730164, -0.17599238455295563, 0.44237232208251953, 0.590869665145874, 0.4970328211784363, -0.7115388512611389, 0.19061808288097382, -0.8130234479904175, 1.220564603805542, -0.6998791694641113, 0.6205583810806274, 0.19897477328777313, 0.6155452132225037, 0.05476517230272293, -0.25325924158096313, -0.40099599957466125, 0.4659323990345001, 0.1706504374742508, 0.33974140882492065, -0.15797050297260284, -0.43448442220687866, 0.01957833394408226, 0.1741916537284851, -0.466905415058136, 0.15760794281959534, -0.013989138416945934, -0.05700904503464699, 0.4675942361354828, 0.5838804244995117, -0.0072587113827466965, -0.049963243305683136, -0.6265795230865479, 0.24851661920547485, -0.5685861110687256, -0.05041452497243881, 0.45835161209106445, 0.5289738178253174, -0.4507570266723633, 0.699806809425354, 0.194590762257576, 0.35699111223220825, 0.10354743897914886, -0.32785508036613464, 0.22820945084095, -0.41446179151535034, -0.3630840480327606, 0.15308651328086853, 0.7081535458564758, 0.32868605852127075, -0.09678713977336884, -0.2804829180240631, -0.08722095936536789, -0.06788614392280579, 0.2044619619846344, -0.7358058094978333, 0.43713730573654175, 0.3475987911224365, -0.5795964002609253, -0.2625444233417511, -0.004884776659309864, -0.9199353456497192, -0.28763851523399353, -0.8418258428573608, 0.4154297709465027, -0.07788922637701035, -0.23208820819854736, -0.056596338748931885, 0.168148472905159, 0.20215757191181183, 0.28115078806877136, -1.0370620489120483, -0.03838669881224632, 0.7120789289474487, 0.7074512243270874, -0.20551761984825134, -0.3185238838195801, -0.5251929759979248, 0.4283832013607025, -0.12011829018592834, 0.41292470693588257, -0.6491827368736267, -0.4407097101211548, -0.2347867339849472, 0.0707063227891922, -0.05394440144300461, -0.008712700568139553, 0.08699075132608414, -0.6733609437942505, 0.2922878563404083, -0.0324428491294384, -0.15909339487552643, -0.23588967323303223, 0.27514711022377014, -0.5291426181793213, 1.0180484056472778, 0.06535258144140244, -0.5454643368721008, 0.485027015209198, -0.16635014116764069, -0.22771112620830536, -0.7032622694969177, -0.12327280640602112, -0.4513503313064575, -0.12689372897148132, 0.8405516743659973, 0.7961651086807251, -0.8504566550254822, 0.5519821643829346, -0.569398045539856, 0.07782946527004242, 0.2635144889354706, -1.0525439977645874, 0.45884379744529724, 0.36270466446876526, -0.3280346393585205, 0.2723561227321625, -0.7312504053115845, -0.09483691304922104, -0.12771956622600555, 0.12735003232955933, -0.20777690410614014, -0.02974807471036911, 0.16210509836673737, 0.2693040668964386, 0.3859908878803253, -0.5703629851341248, 0.4640657901763916, -0.0218680277466774, 0.38594433665275574, 0.8946190476417542, -0.19535695016384125, 0.5612713694572449, -0.4907872974872589, 0.9045785665512085, 0.3686235547065735, 0.5515814423561096, -0.20139677822589874, -0.24416287243366241, -0.1507028043270111, -0.5131043195724487, 0.15136271715164185, 0.668390691280365, -0.6335417628288269, 0.3684540092945099, -0.5765203237533569, -0.7511681318283081, -0.40584343671798706, 0.14930091798305511, 0.08142176270484924, 0.33692115545272827, 0.45313283801078796, 0.06641010195016861, -0.655093789100647, -0.5142756104469299, -0.1438731700181961, 0.25990086793899536, -0.06727335602045059, 0.2269938886165619, -0.035745516419410706, -0.3933869004249573, 0.9506480693817139, -0.2777382433414459, -0.14917531609535217, -0.13042818009853363, 0.01855776272714138, 0.3910284638404846, 0.30973029136657715, 0.5063757300376892, -0.7020764946937561, -0.06647397577762604, -0.11435820162296295, -0.6659045219421387, -0.05858619883656502, -0.1977524310350418, -0.1898922622203827, 0.09954364597797394, 0.24575400352478027, -0.35084450244903564, 0.30550098419189453, 1.012385368347168, -0.6161963939666748, 0.3433435559272766, 0.2055274099111557, 0.037314482033252716, -1.7534679174423218, 0.06417159736156464, -0.23959466814994812, -0.3136070668697357, -0.17417693138122559, -0.6213943958282471, 0.058109134435653687, -0.30012208223342896, -0.26377370953559875, 0.5709370374679565, -0.6202696561813354, -0.16215932369232178, 0.05738937109708786, -0.22657431662082672, 0.09781142324209213, 0.5462504029273987, -0.07834126800298691, 0.6426624059677124, 0.1998438835144043, -0.36442384123802185, 0.24358776211738586, -0.08068528026342392, -0.10059451311826706, 0.3045901656150818, -0.24490119516849518, -0.01985856331884861, 0.025084292516112328, 0.12395107001066208, -0.6616090536117554, 0.2006157487630844, 0.238067165017128, -0.11803459376096725, 0.5144986510276794, -0.1756683737039566, -0.13902267813682556, 0.062141407281160355, -0.3305254578590393, 0.927969753742218, 0.20524908602237701, -0.8283352255821228, 1.3073234558105469, 0.2761300504207611, -0.03250306472182274, -1.077848196029663, -0.6035813689231873, -0.09100118279457092, -0.2582884728908539, -0.4605292081832886, 0.4882510006427765, -0.07638587057590485, 0.020019952207803726, -0.12716995179653168, -0.10029153525829315, 0.3368414044380188, 0.05460965260863304, 0.5470115542411804, 0.7389345169067383, -0.26205721497535706, -0.058704547584056854, 0.15407459437847137, -0.2973425090312958, -0.17107635736465454, -0.4837222099304199, 0.6144248843193054, 0.15565243363380432, -0.6480881571769714, -0.3231538236141205, 0.30520808696746826, 0.7929226756095886, -0.11394177377223969, 0.4834738075733185, 0.7984780669212341, -0.3979099988937378, -0.040738243609666824, -0.48087942600250244, 0.19948315620422363, -0.45902618765830994, -0.006682504899799824, -0.26033276319503784, -0.7424631118774414, 0.46876758337020874, 0.11328651010990143, 0.19847215712070465, 0.26838448643684387, 0.5983836054801941, 0.27251362800598145, 1.2901941537857056, 0.3363567292690277, -0.38797488808631897, 0.6078343391418457, -0.15411315858364105, 0.21779051423072815, -0.8225972056388855, -0.43353158235549927, -0.14720378816127777, -0.5329725742340088, -0.3758004307746887, -0.7291579246520996, 0.3618731200695038, -0.15485751628875732, -0.43554913997650146, 0.18922202289104462, -0.27233442664146423, 0.008182808756828308, 0.3135596811771393, 0.019058965146541595, 0.31892767548561096, -0.002963957842439413, 0.06438679248094559, -0.29611292481422424, -0.6084926128387451, -0.3807937800884247, 1.3341524600982666, 0.5080483555793762, 1.2132906913757324, 0.05593278631567955, 0.25137802958488464, 0.2718096971511841, 0.3162015676498413, -0.9688603281974792, 0.27988362312316895, -0.06246097758412361, -0.24671633541584015, -0.047536760568618774, -0.45180845260620117, -0.7473641633987427, 0.23281072080135345, -0.30368152260780334, -0.29687243700027466, 0.6360574960708618, 0.07028345763683319, -0.20992352068424225, 0.6096221804618835, -0.37102726101875305, 0.7292221784591675, -0.7022589445114136, -0.3930428922176361, -0.2176850438117981, -0.5305200815200806, 0.24741080403327942, -0.08017276227474213, 0.1974221020936966, -0.339647114276886, -0.5752631425857544, 0.5826645493507385, -0.4106975495815277, 1.0258440971374512, -0.20475099980831146, -0.20709608495235443, -0.11581709235906601, 0.0970553532242775, 0.32060542702674866, 0.19177483022212982, -0.09620580822229385, 0.34809911251068115, 0.27220478653907776, -0.5381408929824829, -0.5213363170623779, 0.5359123945236206, -0.8955730199813843, -0.37829312682151794, -0.5430961847305298, -0.6502028107643127, -0.5239760875701904, 0.07741406559944153, 0.013767956756055355, 0.9154478311538696, -0.15282900631427765, -0.07371903210878372, 0.12743829190731049, 0.33497869968414307, 0.6927369832992554, 0.45832332968711853, -0.44418758153915405, -0.837573766708374, 0.9828748106956482, 0.07868240028619766, 0.14388200640678406, 0.7741329073905945, 0.18153800070285797, -0.34474486112594604, -0.3819572925567627, -0.6812517046928406, 0.08419070392847061, -0.4101581573486328, -0.47639238834381104, -0.4306660592556, 0.09447548538446426, -0.3762994706630707, -0.1523883044719696, -0.45656782388687134, -0.5951621532440186, -0.6557179689407349, 0.0537857748568058, 0.15952326357364655, 0.4796581268310547, 0.044195547699928284, 0.2671622931957245, -1.0555864572525024, 0.3344140946865082, 0.34406477212905884, 0.17719672620296478, 0.15196791291236877, -0.32687604427337646, -0.24190035462379456, 0.05329340323805809, -0.43124598264694214, -0.5003029108047485, 0.7848212718963623, -0.11437878757715225, 0.3006989359855652, 0.7000507116317749, -0.091148242354393, 0.9658641219139099, -0.34861546754837036, 0.9114609360694885, 0.2904360294342041, -0.9424031972885132, 0.053051091730594635, -0.2994426190853119, 0.20277675986289978, -0.017702270299196243, 0.3854510486125946, -0.5442006587982178, -0.0677221268415451, -0.21591372787952423, -0.6677051782608032, 0.5408372282981873, -0.4157070219516754, 0.04783294349908829, 0.15575599670410156, -0.1352095752954483, 0.6202684044837952, 0.3427242934703827, -0.34068283438682556, -0.2261555939912796, -0.7069810032844543, -0.5235046148300171, -0.35726943612098694, -0.36680173873901367, -0.3039138615131378, -0.14513225853443146, 0.68100506067276, -0.4195803999900818, 0.35086095333099365, 0.21263505518436432, 0.03528676927089691, -0.2960430681705475, 0.3029692471027374, 0.4830888509750366, 0.7823257446289062, -0.08242154121398926, -0.03754529356956482, 0.07553553581237793, -0.36147740483283997, 0.22046686708927155, 0.3789248466491699, 0.11667508631944656, -0.2544572651386261, 0.3379257917404175, 0.7235040664672852, 0.40626776218414307, -0.4899475574493408, 0.346593976020813, -0.1301702857017517, 0.28655850887298584, -0.44291481375694275, -0.4189440906047821, -0.03686872124671936, 0.5043636560440063, 0.5983127355575562, 0.1990947276353836, -0.3385668992996216, -0.42235416173934937, -0.3082446753978729, 0.5970158576965332, -0.23202911019325256, -0.5000889301300049, 0.9986887574195862, 0.20484960079193115, 0.11926709115505219, 0.25801122188568115, 0.39622893929481506, -0.38689205050468445, 0.4117312431335449, 0.5767250061035156, 0.9285798668861389, -0.317514032125473, -0.07723797857761383, -0.0363924466073513, 0.2427513301372528, 0.15669837594032288, 0.581534206867218, -0.12658439576625824, -0.6834694147109985, -0.46954330801963806, -0.6899005770683289, -0.5155015587806702, -0.18061554431915283, -0.5394431948661804, 0.3842092454433441, -0.5035008788108826, -0.29582032561302185, -0.28313174843788147, 0.03527701646089554, -0.5737636089324951, 0.18096795678138733, 0.15245328843593597, 1.0265439748764038, -0.7861896753311157, 0.723665714263916, 0.3974411189556122, 0.04834030568599701, -0.8251051902770996, -0.15793024003505707, 0.12593339383602142, -0.9859859347343445, 0.316609263420105, 0.2745177447795868, -0.2658786475658417, -0.17809554934501648, -0.27518776059150696, -1.0207877159118652, 1.6756821870803833, 0.2999422550201416, -0.6133469343185425, -0.09141281247138977, 0.20672054588794708, 0.04541163519024849, -0.7018851041793823, 0.14527837932109833, 0.026095375418663025, 0.46582287549972534, -0.05707043409347534, -0.6872891783714294, 0.32007649540901184, -0.2688206136226654, -0.08249271661043167, 0.521024227142334, -0.6909827589988708, 0.6445134878158569, -0.1024140790104866, -0.10463918745517731, 0.17929880321025848, 0.9569640159606934, -0.09106972068548203, 0.682611346244812, 0.4778938889503479, 0.3661332428455353, 0.5545970797538757, -0.11713702976703644, 0.7826388478279114, -0.37550628185272217, 0.024309881031513214, 0.8488688468933105, -0.29371997714042664, 0.6766458749771118, 0.7396864891052246, -0.17245200276374817, 0.5430190563201904, 0.679458737373352, 0.07747495174407959, 0.4358411133289337, -0.5962814092636108, -0.1715051680803299, -0.6077513694763184, -0.19170427322387695, -0.38581764698028564, 0.43441927433013916, 0.4252578616142273, -0.42398571968078613, 0.08470062166452408, 0.14153215289115906, 0.012961657717823982, -0.1938391625881195, -0.39735785126686096, 0.33487668633461, 0.22221478819847107, -0.5630125403404236, 0.29075831174850464, -0.17505745589733124, 0.7831246256828308, -0.8132016062736511, 0.19172820448875427, 0.1471952646970749, 0.06707464158535004, -0.263104647397995, -0.3728577196598053, 0.23408189415931702, -0.3030696213245392, -0.36136263608932495, -0.4071974456310272, 0.40225037932395935, -0.5814422369003296, -0.552009105682373, 0.37036368250846863, 0.6547036170959473, -0.43622884154319763, 0.3389330208301544, -0.43709126114845276, -0.0202694833278656, -0.2961066961288452, -0.4071940779685974, 0.25042131543159485, 0.19082851707935333, -0.0773065909743309, 0.7343812584877014, 0.855133056640625, 0.013628288172185421, 0.06146835908293724, 0.10877092182636261, 0.7901939153671265, -0.8826132416725159, -0.5067176222801208, -0.7645459771156311, 0.4605911076068878, 0.40938228368759155, -0.08317167311906815, 0.526340663433075, 0.5608786344528198, 0.21426168084144592, 0.023509688675403595, 0.5518249273300171, 0.20571114122867584, 0.5025859475135803, -0.8430051803588867, 0.21849900484085083, -0.7972032427787781, 0.4356549084186554, 0.1389806717634201, -0.9610977172851562, -0.24684475362300873, -0.3276870846748352, -0.42862412333488464, -0.010158639401197433, 0.31749895215034485, 0.6961561441421509, -0.4596691429615021, 0.30435433983802795, 0.2928674817085266, 0.001828906824812293, 0.18805049359798431, 0.4420119524002075, 0.8254958391189575, -0.16398590803146362, 0.6444649696350098, -0.3510698974132538, -0.1592179536819458, -0.22541357576847076, -1.2287462949752808, -0.8824823498725891, -0.44648709893226624, 0.24175067245960236, -0.2995808720588684, -0.14893068373203278, 1.4183497428894043, 0.4971476197242737, -0.6829301714897156, -0.273246705532074, 0.4514233469963074, 0.07296030968427658, -0.47183072566986084, -0.24356716871261597, 0.38307619094848633, 0.007670308463275433, -0.8248996138572693, 0.6531921625137329, 0.17221608757972717, 0.2896333932876587, -0.5189784169197083, -0.012238078750669956, 0.21000780165195465, -0.026442542672157288, 0.44575145840644836, 0.1683274209499359, -0.5810692310333252, -0.10660462081432343, 0.12215188890695572, 0.009296292439103127, 0.025661423802375793, 1.0279743671417236, -0.861151933670044, 0.3531268835067749, 0.47727352380752563, 0.73423832654953, 0.31298089027404785, 0.14486035704612732, 0.9264353513717651, -0.6909317970275879, 0.024366943165659904, 0.15911123156547546, 0.5911205410957336, 0.300403356552124, -0.5019286870956421, 0.23087520897388458, 0.22800269722938538, -0.505822479724884, -0.6874091625213623, 0.11273040622472763, -1.3228193521499634, 0.029630834236741066, 0.8186890482902527, 0.19526569545269012, -0.3101761043071747, -0.11998464167118073, -0.16958151757717133, 0.48994413018226624, -0.5422871112823486, 0.6085806488990784, 0.3463268280029297, 0.03144895285367966, -0.02901100553572178, -0.27425363659858704, 0.07471182197332382, 0.47018882632255554, -0.5123229622840881, 0.20862653851509094, 0.26308420300483704, 0.17837755382061005, -0.0024333384353667498, 0.00905788503587246, -0.25949788093566895, 0.16582906246185303, -0.25682178139686584, -0.23378495872020721, -0.631103515625, -0.33860087394714355, -0.37045586109161377, -0.03778466582298279, -0.2853041887283325, -0.28621888160705566 ]
http://arxiv.org/abs/2406.00899v1
http://arxiv.org/pdf/2406.00899v1
YODAS: Youtube-Oriented Dataset for Audio and Speech
2024-06-02T23:43:27
2024-06-02T23:43:27
Xinjian Li, Shinnosuke Takamichi, Takaaki Saeki, William Chen, Sayaka Shiota, Shinji Watanabe
cs.CL
cs.CL, cs.SD, eess.AS
In this study, we introduce YODAS (YouTube-Oriented Dataset for Audio and Speech), a large-scale, multilingual dataset comprising currently over 500k hours of speech data in more than 100 languages, sourced from both labeled and unlabeled YouTube speech datasets. The labeled subsets, including manual or automatic subtitles, facilitate supervised model training. Conversely, the unlabeled subsets are apt for self-supervised learning applications. YODAS is distinctive as the first publicly available dataset of its scale, and it is distributed under a Creative Commons license. We introduce the collection methodology utilized for YODAS, which contributes to the large-scale speech dataset construction. Subsequently, we provide a comprehensive analysis of speech, text contained within the dataset. Finally, we describe the speech recognition baselines over the top-15 languages.
[ -0.3122124969959259, -0.45546236634254456, 0.009447174146771431, 0.05699962377548218, -0.3098117709159851, 0.09611550718545914, -0.3080078065395355, -0.19076010584831238, 0.6890143752098083, 0.4374862611293793, -0.7643153071403503, -0.364994078874588, -0.5504163503646851, -0.07764660567045212, -0.7573139667510986, 1.127011775970459, 0.5550883412361145, 0.23931299149990082, 0.043402768671512604, -0.37793710827827454, -0.286159873008728, -0.0023334426805377007, -0.3292427957057953, 0.08697278052568436, 0.42203468084335327, 0.4770571291446686, 0.2761977016925812, 0.9767746925354004, 0.1089521199464798, 0.3695787191390991, 0.022343065589666367, 0.027378087863326073, -0.39766645431518555, 0.43686944246292114, -0.1265348196029663, -0.04296573996543884, -0.33762800693511963, -0.023160163313150406, 0.6420605182647705, 0.6186595559120178, -0.38417211174964905, 0.8501118421554565, -0.18071924149990082, 0.41048330068588257, -0.5892209410667419, 0.32147353887557983, -0.533810555934906, 0.04960242658853531, -0.5959712266921997, -0.11538887768983841, 0.07953183352947235, -0.2928316593170166, 0.356106162071228, -0.6872938275337219, 0.0628579705953598, -0.3566003143787384, 0.16028240323066711, 0.3542502224445343, -0.10006684809923172, -0.3156355023384094, -0.7293156385421753, 0.9053148031234741, -0.6178403496742249, 0.8110198974609375, 0.48774421215057373, 0.6363182663917542, 0.4876730144023895, -0.6051399111747742, -0.45716986060142517, 0.21171420812606812, 0.5992072820663452, -0.06450509279966354, -0.0591348335146904, -0.3158155381679535, 0.18774433434009552, 0.4227399230003357, -0.4656749963760376, 0.32630884647369385, -0.7974761128425598, -0.197714701294899, 0.7027930617332458, -0.01183842122554779, 0.25813400745391846, -0.37846213579177856, -0.12489932030439377, 0.06320152431726456, -0.5933904647827148, 0.2326270192861557, 0.5944200754165649, 0.647211492061615, -0.17810285091400146, 0.7275407314300537, -0.46026983857154846, 0.8048492670059204, -0.15299440920352936, -0.6901687383651733, 0.7566441297531128, -0.2728079557418823, -0.5602260231971741, 0.5176849961280823, 0.8846607208251953, 0.0414440743625164, 0.49352988600730896, -0.12456908077001572, 0.039502471685409546, -0.09043483436107635, 0.20667479932308197, -0.46571940183639526, -0.12657995522022247, 0.12196944653987885, -0.18901997804641724, -0.07205711305141449, 0.06817873567342758, -0.8419982194900513, -0.5094153881072998, -0.7342947125434875, 0.27505767345428467, -0.09673817455768585, -0.4439193308353424, 0.10143398493528366, 0.06045234203338623, 0.07117443531751633, 0.055267103016376495, -0.9519749879837036, 0.2549617886543274, 0.5492092370986938, 0.7418462634086609, 0.0714075043797493, -0.28208670020103455, -0.817264199256897, 0.18645204603672028, -0.42343705892562866, 0.4077982008457184, -0.32583364844322205, -0.13498201966285706, 0.02343415655195713, -0.07374195009469986, 0.3468310832977295, -0.39524045586586, 0.48668068647384644, -0.34517332911491394, 0.22340509295463562, -0.06376329809427261, -0.4233383238315582, -0.05969769507646561, -0.047534629702568054, -0.7631191611289978, 0.9927375912666321, -0.11460968106985092, -0.4836951792240143, 0.32074376940727234, -0.5638993382453918, -0.5041705369949341, 0.18488161265850067, -0.34838131070137024, -0.3330182433128357, -0.09634469449520111, 0.39571499824523926, 0.5594789981842041, -0.44938650727272034, 0.6507812738418579, -0.11006738990545273, 0.03070811741054058, 0.024203505367040634, -0.4257400929927826, 0.9825417995452881, 0.459399938583374, -0.3682546019554138, 0.038039255887269974, -1.1967246532440186, 0.02553459443151951, -0.04869323968887329, -0.05799634009599686, -0.3375299572944641, 0.15416699647903442, 0.18395812809467316, 0.051456794142723083, 0.07854420691728592, -1.025213599205017, -0.03090810216963291, -0.2059081792831421, 0.8446699976921082, 0.8248311281204224, -0.2816416323184967, 0.23223035037517548, 0.2417674958705902, 0.5987646579742432, -0.004215160850435495, 0.23308472335338593, -0.5117350816726685, -0.559883713722229, -0.28606024384498596, -0.26946255564689636, 0.26388606429100037, 0.26546359062194824, -0.5882965922355652, 0.2919518053531647, -0.6122945547103882, -0.502032458782196, -0.8948543071746826, 0.5669476389884949, 0.4739949405193329, 1.058171272277832, 0.4218883216381073, 0.07334426790475845, -0.714201807975769, -1.1246271133422852, 0.33724188804626465, -0.10505689680576324, -0.2008543163537979, 0.055135585367679596, 0.07709416002035141, -0.14201922714710236, 1.1266510486602783, -0.38513922691345215, -0.5054580569267273, -0.15691374242305756, 0.04179338738322258, 0.11291337013244629, 0.28449374437332153, 0.6361095309257507, -0.880519688129425, -0.32264235615730286, -0.09922154247760773, -0.5676575303077698, -0.11517917364835739, 0.2244148999452591, 0.295261025428772, -0.2234327793121338, 0.5604386329650879, 0.14613258838653564, 0.09887775778770447, 0.8568570613861084, 0.13291391730308533, 0.23812849819660187, 0.0152461351826787, -0.008598485961556435, -1.227554440498352, -0.20353515446186066, 0.2951098084449768, -0.27997153997421265, -0.5122954249382019, -0.7016469240188599, -0.022488653659820557, -0.21394230425357819, -0.7365778684616089, 0.21915744245052338, -0.20638583600521088, -0.52643221616745, -0.05306188762187958, 0.1557127833366394, -0.1776253581047058, 0.43115127086639404, 0.15865163505077362, 1.049778699874878, 1.036819338798523, -0.5568987727165222, 0.8835726380348206, 0.34665238857269287, -0.6955699920654297, 0.7341664433479309, -0.69590163230896, 0.08075329661369324, -0.21429398655891418, -0.22845037281513214, -0.8419674634933472, -0.4684429466724396, 0.09662371128797531, -0.5013423562049866, 0.10946840047836304, -0.12170160561800003, -0.2759934961795807, -0.19973383843898773, -0.3464932441711426, 0.3921595513820648, 0.20788933336734772, -0.7158366441726685, 0.2519090473651886, 1.237815022468567, -0.3654095232486725, -0.732610285282135, -0.7253085374832153, 0.003982278984040022, -0.3136357367038727, -0.27275070548057556, -0.03272213786840439, -0.057361144572496414, -0.02153036557137966, 0.1425672471523285, -0.17449955642223358, -0.24116092920303345, -0.359286367893219, 0.441275030374527, 0.09079418331384659, -0.44143980741500854, 0.23528684675693512, -0.1784011423587799, 0.005532962270081043, 0.05669271573424339, -0.4294593930244446, 0.33618900179862976, -0.11490729451179504, -0.2979976534843445, -0.6902405023574829, 0.35481134057044983, 0.5803751945495605, -0.31607791781425476, 0.32695692777633667, 0.42044878005981445, -0.41116464138031006, -0.27382269501686096, -0.5587167143821716, 0.46285590529441833, -0.48423027992248535, 0.5892202854156494, -0.15833145380020142, -0.5887228846549988, 0.38351044058799744, 0.30022120475769043, 0.034730568528175354, 0.5007842183113098, 0.4783543348312378, -0.37438419461250305, 0.74664306640625, 0.35511893033981323, -0.7008917331695557, 0.7468259930610657, -0.4036354422569275, -0.09662555158138275, -0.8342821598052979, -0.5333110094070435, -0.711648166179657, -0.39749014377593994, -0.4550153613090515, -0.11768154054880142, 0.21359410881996155, -0.5841216444969177, -0.4715954065322876, 0.6486417651176453, -0.3702903687953949, 0.6245985627174377, 0.7590097784996033, -0.22281035780906677, 0.19843819737434387, 0.028303753584623337, 0.37195920944213867, -0.2266155630350113, -0.5870682597160339, -0.1622721403837204, 1.2874841690063477, 0.31830281019210815, 0.9736919403076172, 0.14786288142204285, 0.2417653501033783, 0.47108691930770874, -0.14978954195976257, -0.8862099051475525, 0.4193575382232666, -0.16200439631938934, -0.7837216854095459, -0.6047676205635071, -0.5284169316291809, -0.9144794940948486, -0.2320614606142044, 0.06534837186336517, -0.7324721217155457, 0.09890963137149811, -0.13235877454280853, -0.29772526025772095, 0.33260664343833923, -0.8559128046035767, 0.46186593174934387, -0.40447041392326355, -0.005827315151691437, 0.06406349688768387, -0.7070217728614807, 0.22331660985946655, -0.1757267862558365, 0.3264278471469879, -0.04489417001605034, 0.10935447365045547, 1.3660517930984497, -0.040374480187892914, 0.7152490615844727, -0.17466650903224945, -0.06342393159866333, 0.48499828577041626, -0.34515637159347534, -0.1782774031162262, 0.24643757939338684, 0.232105553150177, 0.23723970353603363, 0.010067028924822807, -0.12049423903226852, -0.36780640482902527, 0.8303007483482361, -0.8738687038421631, -0.2100783735513687, -0.3565835952758789, -0.4036814272403717, -0.632559061050415, 0.318136066198349, 0.018375303596258163, 0.9065741896629333, -0.02378067746758461, 0.6575667262077332, 0.7661939263343811, -0.3400963544845581, 0.35816338658332825, 0.40524548292160034, -0.25216060876846313, -0.6120758056640625, 1.0797477960586548, 0.4415743350982666, 0.025958798825740814, -0.10846252739429474, 0.15116071701049805, -0.6856458783149719, -0.5842519998550415, -0.6090076565742493, 0.1439339518547058, -0.6830115914344788, -0.26226386427879333, -0.3508703112602234, -0.39052847027778625, -0.6914820671081543, 0.3037903904914856, -0.9230750799179077, -0.3537900447845459, -0.21372418105602264, -0.5040519833564758, 0.2759872376918793, 0.9870449900627136, 0.03132857754826546, 0.3145064413547516, -0.5241451263427734, 1.0276744365692139, 0.5292755365371704, 0.8406513929367065, -0.26461586356163025, -0.5738164782524109, -0.33200743794441223, 0.21753884851932526, 0.09303997457027435, -0.8520066142082214, 0.4265877902507782, 0.4380764961242676, 0.7638898491859436, 0.675682783126831, -0.2302071750164032, 0.8415314555168152, -0.4666173756122589, 0.7006335854530334, 0.36159369349479675, -0.91806560754776, 0.7671018838882446, -0.4472246766090393, 0.1945759803056717, 0.5072139501571655, 0.3832310438156128, -0.7138854265213013, -0.12902258336544037, -0.5993499755859375, -0.6143056154251099, 0.9915343523025513, 0.07624662667512894, 0.311169296503067, 0.15078561007976532, 0.030030179768800735, 0.2586365342140198, 0.2938403785228729, -0.3772916793823242, -0.4788073003292084, -0.5784551501274109, -0.29448720812797546, -0.46063363552093506, 0.01703326590359211, -0.1600043624639511, -0.45248034596443176, 0.7048270106315613, -0.10882288217544556, -0.04606795683503151, -0.042249538004398346, -0.2600286304950714, -0.11200670152902603, 0.1893264502286911, 0.3927691876888275, 0.594184398651123, -0.25083088874816895, -0.1510239690542221, -0.3087640404701233, -0.862729012966156, 0.09317152202129364, -0.011088017374277115, -0.17471429705619812, 0.005919072311371565, 0.21597430109977722, 0.9280867576599121, 0.2864713668823242, -1.0166805982589722, 0.2738970220088959, 0.10464200377464294, -0.047541819512844086, -0.38711467385292053, -0.057411570101976395, 0.28655314445495605, 0.2362198531627655, 0.5172956585884094, -0.2392968088388443, 0.2542797029018402, -0.5523806810379028, 0.15528301894664764, 0.22703319787979126, -0.3252095580101013, -0.4424392580986023, 0.8319008350372314, 0.25778645277023315, -0.4052555561065674, 0.65753573179245, 0.20331360399723053, -0.031718309968709946, 0.6097919940948486, 0.26735594868659973, 0.7427619695663452, -0.3195938169956207, 0.5026621222496033, 0.5788361430168152, 0.04341340810060501, -0.07285439223051071, 0.09128908067941666, -0.27054697275161743, -0.44943955540657043, -0.4928779900074005, -0.6125599145889282, -0.5756211876869202, 0.5888442397117615, -1.0493074655532837, 0.26915085315704346, -0.22557063400745392, -0.11961894482374191, 0.4540022611618042, -0.18349993228912354, -0.5099487900733948, 0.4259520173072815, 0.5027297735214233, 0.5650321841239929, -0.9816973209381104, 1.1271380186080933, 0.5576390624046326, -0.25333547592163086, -0.5442925095558167, -0.46533912420272827, 0.33761367201805115, -0.6423569321632385, 0.6014996767044067, -0.06677921861410141, -0.351675808429718, 0.0691094622015953, -0.506040096282959, -1.0710610151290894, 0.9264183640480042, 0.5539767742156982, -0.6762085556983948, 0.024413615465164185, 0.383075475692749, 0.6021480560302734, -0.24184320867061615, -0.20708459615707397, 0.5379399061203003, 0.13574373722076416, 0.1215873584151268, -1.0064846277236938, -0.9350085854530334, -0.3240037262439728, -0.40550753474235535, -0.02170654572546482, -0.35125187039375305, 0.7282631397247314, 0.11094861477613449, 0.07844964414834976, -0.2578916549682617, 0.8459111452102661, -0.08506202697753906, 0.2445267140865326, 0.5186267495155334, 0.4329197406768799, 0.6991417407989502, 0.05953576788306236, 0.608828604221344, 0.25192350149154663, 0.24146714806556702, 1.4659761190414429, -0.02683389000594616, 0.6590306162834167, 0.399118036031723, -0.1997668445110321, 0.0004545161500573158, 0.3439483642578125, 0.03857569396495819, 0.7447080016136169, -0.016160672530531883, 0.05173128470778465, -0.0022457081358879805, -0.2048521488904953, -0.5510727763175964, 0.892699122428894, 0.37385013699531555, -0.06367061287164688, -0.3718843460083008, 0.3866749703884125, -0.360139399766922, 0.03647540882229805, -0.6021276116371155, 0.7685680389404297, -0.2852534055709839, -0.3242906332015991, 0.05972317233681679, -0.38821640610694885, 0.6470621824264526, -0.7948390245437622, 0.2998790442943573, -0.060597117990255356, 0.05631125718355179, -0.1722421944141388, -1.037779450416565, 0.4196693003177643, 0.548949122428894, -0.022290781140327454, -0.4776872992515564, 0.34959620237350464, -0.43552571535110474, -0.5693593621253967, 0.14937780797481537, 0.3542763888835907, 0.07236038148403168, 0.23187635838985443, -0.494463175535202, 0.10252304375171661, -0.17250314354896545, -0.39811012148857117, 0.3300504684448242, 0.4121064841747284, -0.02065320685505867, 0.7761355638504028, 0.49197545647621155, 0.3437272310256958, 0.4953251779079437, 0.1882440596818924, 0.7954269647598267, -0.5195680856704712, -0.6619608998298645, -0.39336615800857544, 0.28407979011535645, 0.0736297219991684, -0.4998515844345093, 0.8974409699440002, 0.8144480586051941, 1.1475098133087158, -0.11661887913942337, 0.861223578453064, -0.13922759890556335, 0.8143051266670227, -0.3203231692314148, 0.4583263695240021, -0.5379365682601929, 0.04687274992465973, -0.371598482131958, -0.6808836460113525, -0.16027799248695374, 0.5157666802406311, -0.2210419923067093, -0.23552502691745758, 0.04988589510321617, 0.3657285273075104, -0.5015260577201843, 0.3094475269317627, 0.2192617505788803, -0.031882598996162415, 0.29800793528556824, 0.1857781708240509, 0.629489004611969, -0.31976622343063354, 0.557033360004425, -0.6768944263458252, 0.04587164521217346, 0.11252401024103165, -0.7185366153717041, -0.7162200808525085, -1.1558643579483032, -0.44982871413230896, 0.08457697927951813, -0.16238170862197876, 0.9182481169700623, 0.9886971116065979, -0.961462140083313, -0.37140506505966187, 0.2871292233467102, -0.24873168766498566, -0.2051694393157959, -0.10152863711118698, 0.29926714301109314, -0.004956102464348078, -1.157021164894104, 0.7304319739341736, 0.23718029260635376, -0.254839152097702, -0.5602501034736633, -0.16196981072425842, -0.2692137658596039, -0.10703133046627045, 0.3877129852771759, 0.6914244294166565, -0.44055843353271484, -0.014966183342039585, 0.11649118363857269, 0.07730111479759216, 0.4025782644748688, 0.7611451148986816, -0.923617422580719, 0.9191737771034241, 0.4413969814777374, 0.8259596228599548, 0.5726854801177979, 0.0784694254398346, 0.18136155605316162, -0.931397020816803, 0.4207969605922699, 0.33987554907798767, 0.3793618381023407, 0.38594794273376465, 0.1552577167749405, 0.43716758489608765, -0.013588746078312397, -0.2044868916273117, -0.9890331625938416, 0.008593883365392685, -1.3164445161819458, 0.15029700100421906, 1.0541343688964844, -0.04122689738869667, -0.1814480870962143, -0.18451406061649323, -0.15404653549194336, 0.40363404154777527, -0.36774954199790955, 0.6528131365776062, 0.6452690958976746, 0.18046776950359344, -0.13984842598438263, -1.0018348693847656, 0.32289254665374756, -0.020526280626654625, -0.6797304749488831, 0.038551975041627884, 0.7181152105331421, 0.4465983211994171, 0.24446243047714233, 0.5738335251808167, -0.11540532112121582, 0.16786891222000122, -0.3191017210483551, -0.24022190272808075, -0.6297655701637268, -0.6772438287734985, -0.4468870460987091, 0.2996080815792084, -0.551749587059021, -0.7272299528121948 ]
http://arxiv.org/abs/2406.00898v1
http://arxiv.org/pdf/2406.00898v1
Phonetic Error Analysis of Raw Waveform Acoustic Models with Parametric and Non-Parametric CNNs
2024-06-02T23:39:15
2024-06-02T23:39:15
Erfan Loweimi, Andrea Carmantini, Peter Bell, Steve Renals, Zoran Cvetkovic
cs.SD
cs.SD, cs.CL, eess.AS
In this paper, we analyse the error patterns of the raw waveform acoustic models in TIMIT's phone recognition task. Our analysis goes beyond the conventional phone error rate (PER) metric. We categorise the phones into three groups: {affricate, diphthong, fricative, nasal, plosive, semi-vowel, vowel, silence}, {consonant, vowel+, silence}, and {voiced, unvoiced, silence} and, compute the PER for each broad phonetic class in each category. We also construct a confusion matrix for each category using the substitution errors and compare the confusion patterns with those of the Filterbank and Wav2vec 2.0 systems. Our raw waveform acoustic models consists of parametric (Sinc2Net) or non-parametric CNNs and Bidirectional LSTMs, achieving down to 13.7%/15.2% PERs on TIMIT Dev/Test sets, outperforming reported PERs for raw waveform models in the literature. We also investigate the impact of transfer learning from WSJ on the phonetic error patterns and confusion matrices. It reduces the PER to 11.8%/13.7% on the Dev/Test sets.
[ 0.019559431821107864, -0.49316319823265076, 0.004290468990802765, 0.30706706643104553, -0.1895100623369217, -0.10432548820972443, -0.15606364607810974, -0.34536218643188477, -0.04137654975056648, 0.3409857451915741, -0.23509739339351654, -0.7245073318481445, -0.3189396262168884, 0.24490757286548615, -0.2934894561767578, 0.3971754014492035, 0.1012926772236824, 0.5301461815834045, 0.37081319093704224, -0.2923082113265991, -0.6611387729644775, -0.2854183316230774, -0.7260401844978333, 0.1286226063966751, 0.5462363958358765, 0.6475401520729065, 0.33353158831596375, 0.12185836583375931, 0.40748754143714905, 0.21691463887691498, -0.1682203859090805, 0.006884830072522163, 0.03436337783932686, -0.10701284557580948, 0.2637540400028229, -0.41717708110809326, -0.48438629508018494, 0.2307845801115036, 0.6582179665565491, 0.8136222958564758, -0.33095473051071167, 0.311617374420166, 0.18382614850997925, 0.42219799757003784, -0.0946945995092392, 0.21050678193569183, -0.6220676302909851, 0.45617637038230896, -0.3222486674785614, -0.3932059109210968, -0.44794192910194397, -0.2954447865486145, 0.3142760992050171, -0.5529181957244873, 0.38496917486190796, 0.13162103295326233, 0.653571367263794, 0.16105441749095917, -0.32575881481170654, -0.27252906560897827, -1.1063073873519897, 0.9554558992385864, -0.8715175986289978, 0.895616352558136, 0.4995722770690918, 0.2324880063533783, -0.3852003812789917, -0.6607796549797058, -0.5422470569610596, -0.3439634144306183, 0.2546611428260803, 0.3880370855331421, -0.2389535903930664, 0.34312447905540466, 0.2163696140050888, 0.32108941674232483, -0.5455511808395386, 0.23043286800384521, -0.6046279072761536, -0.4664328396320343, 0.46455323696136475, -0.15876729786396027, 0.32332420349121094, -0.10085247457027435, -0.4619475305080414, -0.19011513888835907, -0.4232368767261505, 0.37970027327537537, 0.5670467615127563, 0.6917508244514465, -0.424090176820755, 0.5041606426239014, 0.05687616392970085, 0.7147305011749268, -0.07773598283529282, -0.5925430059432983, 0.23130811750888824, -0.3335959315299988, -0.3772032558917999, 0.3728473484516144, 0.9312986135482788, 0.12361117452383041, 0.16636016964912415, -0.20655541121959686, -0.310371994972229, -0.4324411451816559, -0.05521143600344658, -0.46833691000938416, -0.25381436944007874, 0.09932928532361984, -0.8531447052955627, -0.13996732234954834, -0.053429581224918365, -0.5789754390716553, -0.279441237449646, -0.2862621247768402, 0.43118515610694885, -0.32748156785964966, -0.5598182082176208, 0.19619715213775635, -0.1694754809141159, 0.29285135865211487, 0.31071314215660095, -0.4881671369075775, 0.3568577766418457, -0.05131034180521965, 0.741087794303894, 0.26435378193855286, -0.27518466114997864, -0.2869392931461334, -0.23048901557922363, -0.40655359625816345, 0.7299531102180481, -0.2055036872625351, -0.7491559386253357, -0.1876484900712967, -0.3896026611328125, -0.3760034143924713, -0.7626131772994995, 0.8170595169067383, -0.31546518206596375, 0.3170557916164398, -0.28514233231544495, -0.3763619661331177, -0.43486714363098145, -0.1625346541404724, -0.8611853122711182, 1.0840667486190796, 0.17400209605693817, -0.6354753971099854, 0.13429628312587738, -0.7778108716011047, -0.6065118312835693, -0.21302379667758942, 0.1276317536830902, -0.3812393844127655, 0.22565484046936035, -0.08148445934057236, 0.3034948408603668, -0.5431739091873169, 0.05708249658346176, -0.24089379608631134, -0.7222108840942383, 0.36067843437194824, -0.6490612030029297, 1.147430181503296, 0.30820444226264954, -0.4202784597873688, -0.11668147891759872, -1.1325160264968872, 0.001506177824921906, -0.0018322288524359465, -0.5819072127342224, -0.17729318141937256, -0.12650485336780548, 0.17850470542907715, 0.1239907294511795, -0.24540206789970398, -0.5770062208175659, -0.13196058571338654, -0.011141055263578892, 0.4979526996612549, 0.4004038870334625, -0.04091472551226616, 0.25726568698883057, -0.15590454638004303, 0.3379517197608948, 0.41173428297042847, 0.38243982195854187, 0.32028359174728394, -0.609205961227417, -0.5541245341300964, -0.10111464560031891, 0.9117996096611023, 0.7707688808441162, -0.4005334675312042, 0.23959675431251526, -0.04376736283302307, -0.5217288136482239, -0.33772361278533936, 0.06933601945638657, 0.3898337781429291, 0.8515592813491821, 0.2567051351070404, -0.4491509199142456, -0.8293030858039856, -0.7354800701141357, -0.12221512198448181, -0.6546046733856201, 0.009794317185878754, 0.1974543333053589, -0.1363266408443451, 0.012863501906394958, 0.7720955014228821, 0.15409545600414276, -0.4459485411643982, -0.14338313043117523, 0.11491374671459198, 0.05029933899641037, 0.4589923918247223, 0.4189486503601074, -0.8634760975837708, -0.10515869408845901, -0.1077047809958458, -0.4817652702331543, -0.10453268140554428, 0.04923420771956444, 0.33381739258766174, 0.053165141493082047, 0.5265050530433655, -0.4423401951789856, 0.6151098608970642, 0.3672778010368347, -0.04046013206243515, 0.6697020530700684, 0.07834061235189438, 0.04059095308184624, -0.8709390759468079, -0.12287043035030365, 0.47202637791633606, 0.037364400923252106, -0.7560816407203674, -0.5738134980201721, 0.06401602178812027, -0.08845444768667221, -0.6250726580619812, 0.1954597532749176, -0.3352987766265869, -0.49880343675613403, 0.023230861872434616, -0.09698475897312164, -0.13482767343521118, 0.5728136301040649, -0.19177600741386414, 0.9700545072555542, 0.41788119077682495, -0.7120677828788757, 0.34080395102500916, 0.08832831680774689, -0.1257028579711914, 0.30959779024124146, -0.655027449131012, 0.2758815586566925, 0.18640053272247314, 0.4094512164592743, -1.395729899406433, 0.10157579183578491, 0.33774882555007935, -0.6707373857498169, 0.21688655018806458, -0.35280275344848633, -0.6716786623001099, -0.3133561611175537, -0.16109874844551086, 0.5419095158576965, 0.4820955991744995, -0.3751131296157837, 0.5978867411613464, 0.28832951188087463, 0.02261124551296234, -0.6456183195114136, -0.5251060128211975, -0.0592292845249176, -0.332580029964447, -0.48521924018859863, 0.19656546413898468, 0.1871849149465561, -0.24144406616687775, -0.16600097715854645, -0.4004027247428894, -0.38187769055366516, 0.06644804775714874, 0.3590959310531616, 0.21448111534118652, -0.5988614559173584, -0.05249541997909546, -0.18072058260440826, 0.05892157554626465, -0.10453472286462784, -0.5629557967185974, 0.4482831656932831, -0.10495474934577942, -0.07573115825653076, -0.9776806235313416, -0.10415256768465042, 0.64908367395401, -0.2665962874889374, 0.10551202297210693, 0.7743012309074402, -0.5363077521324158, 0.16287720203399658, -0.6415168046951294, 0.17910833656787872, -0.40513601899147034, 0.1758698672056198, -0.5818939208984375, -0.3202756941318512, 0.886112630367279, 0.08930756896734238, 0.05191490426659584, 0.4055083692073822, 0.115850530564785, -0.38021036982536316, 0.6740626692771912, 0.4541189968585968, 0.00559775996953249, 0.5986993908882141, -0.2713291645050049, 0.1490841805934906, -0.8628242611885071, -0.3225283622741699, -0.6053715944290161, -0.415933221578598, -0.6625779271125793, -0.12707211077213287, 0.19391465187072754, 0.28358471393585205, -0.12945978343486786, 0.533156156539917, -0.23565275967121124, 0.008526942692697048, 0.8798162341117859, 0.21306690573692322, 0.17237971723079681, 0.3378032445907593, -0.3394192159175873, -0.00984459463506937, -0.5994189381599426, -0.2947115898132324, 1.3344937562942505, 0.44928592443466187, 0.4723633825778961, 0.02844720147550106, 0.7486749291419983, 0.2594568431377411, -0.06195205822587013, -0.8759275674819946, 0.5889270901679993, -0.45965713262557983, -0.30509522557258606, -0.3886633515357971, -0.3870985805988312, -0.737437903881073, 0.06436971575021744, 0.15037430822849274, -0.4172402024269104, 0.5636839866638184, -0.06979913264513016, -0.5964787006378174, 0.6715290546417236, -0.9083861708641052, 0.38962364196777344, 0.07824347168207169, 0.19561997056007385, 0.13104665279388428, -0.5478214025497437, 0.41626158356666565, -0.03726722672581673, 0.005409623496234417, -0.1295986771583557, 0.2101740837097168, 1.175971269607544, -0.20235085487365723, 0.9436512589454651, -0.6435365676879883, -0.33709731698036194, 0.7008218765258789, -0.0027529222425073385, 0.2508358657360077, -0.15590664744377136, -0.3210301399230957, 0.469454288482666, 0.07721955329179764, -0.30780428647994995, -0.46283701062202454, 0.29042670130729675, -0.8913607001304626, -0.37969180941581726, -0.07004207372665405, -0.5612754821777344, -0.36246800422668457, 0.10946889966726303, 0.4493975341320038, 0.7484108805656433, -0.06090928614139557, -0.07835005223751068, 0.5849477648735046, -0.2205747812986374, 0.6046419143676758, 0.4325617253780365, 0.31600072979927063, -0.37904852628707886, 0.824347198009491, 0.4386497139930725, 0.00855388306081295, 0.13276898860931396, 0.37175288796424866, -0.6694259643554688, -1.075892448425293, -0.5157925486564636, 0.01589631289243698, -0.6540156602859497, -0.22688408195972443, -0.4625270366668701, -0.26311707496643066, -0.4231036305427551, 0.5743870139122009, -0.40468260645866394, -0.4950365424156189, -0.2813301384449005, 0.11435212939977646, 0.24850121140480042, 0.6436806917190552, -0.10739908367395401, 0.3905861973762512, -0.8603377938270569, 0.17371153831481934, 0.07699644565582275, 0.24481575191020966, -0.008663419634103775, -0.8348801732063293, -0.02561059594154358, 0.1707877516746521, -0.09575699269771576, -0.9262337684631348, -0.07227886468172073, 0.05721794441342354, 0.3591243624687195, 0.2915228307247162, 0.1463555544614792, 0.9713765978813171, -0.30434608459472656, 0.8596769571304321, 0.3314211964607239, -0.9157347679138184, 0.31000304222106934, -0.2950232923030853, -0.30274471640586853, 0.28436872363090515, -0.29638734459877014, -0.6099603176116943, -0.16132043302059174, -0.7447414994239807, -0.4316970407962799, 0.6636387705802917, 0.1565268188714981, 0.0658208429813385, 0.19071979820728302, 0.5177240371704102, -0.014115603640675545, -0.09649670124053955, -0.5422897338867188, -0.39267587661743164, -0.3816968500614166, -0.357759952545166, 0.18658296763896942, -0.2579439580440521, 0.029493365436792374, -0.4906121790409088, 0.4991203248500824, 0.1831180900335312, 0.5820707678794861, 0.4125814437866211, -0.1573513299226761, -0.1831641048192978, 0.17359641194343567, 1.09780752658844, 0.519668698310852, -0.35192379355430603, 0.2111465036869049, 0.44759681820869446, -0.854973554611206, 0.33719515800476074, 0.22629669308662415, 0.22824664413928986, 0.3614554703235626, 0.2750478982925415, 0.7106261849403381, 0.18439030647277832, -0.30599862337112427, 0.5180823802947998, -0.3679763972759247, -0.324588805437088, -0.5375164747238159, -0.16692574322223663, -0.10295920819044113, 0.2592400014400482, 0.5978196859359741, 0.4146066904067993, 0.24904368817806244, -0.11602862179279327, 0.06946391612291336, 0.2358955442905426, -0.44105660915374756, -0.5822754502296448, 0.6618657112121582, 0.23405548930168152, -0.45248690247535706, 0.7623760104179382, -0.23441173136234283, -0.3263211250305176, 0.8196572065353394, 0.5731040835380554, 1.0075138807296753, -0.6478272080421448, 0.03491125628352165, 0.30525678396224976, 0.25214678049087524, -0.2018200010061264, 0.25104135274887085, -0.07682062685489655, -0.726807713508606, -0.2875506579875946, -0.49459266662597656, -0.45479249954223633, 0.5819854140281677, -0.712658166885376, 0.3482724726200104, -0.737879753112793, -0.11705488711595535, 0.2206345647573471, 0.04842061921954155, -0.6828266382217407, 0.5161802172660828, -0.07672220468521118, 0.9585279226303101, -0.6172763705253601, 0.9689995646476746, 0.7477383017539978, -0.270196795463562, -1.360048532485962, 0.34079596400260925, -0.1487611085176468, -0.8043674230575562, 0.9974578022956848, -0.025223489850759506, -0.37234437465667725, 0.08969047665596008, -0.0365334190428257, -0.7292710542678833, 0.9813535213470459, 0.22421053051948547, -0.7149263024330139, -0.214042529463768, 0.22430793941020966, 0.36200132966041565, -0.00942640658468008, 0.27406519651412964, 0.6033381819725037, 0.5017695426940918, 0.00225316290743649, -1.2622040510177612, -0.22936537861824036, -0.12407448887825012, 0.08925584703683853, -0.0002068042813334614, -0.6061885356903076, 0.6243125796318054, -0.313901424407959, -0.3850705325603485, 0.09744055569171906, 0.5385394096374512, -0.011094446294009686, 0.36676424741744995, 0.92521733045578, 0.44179970026016235, 0.7503653168678284, -0.04255109652876854, 0.5856937170028687, -0.12959401309490204, 0.14069393277168274, 0.7098668813705444, -0.28463098406791687, 0.919403076171875, 0.349543958902359, -0.5153439044952393, 0.21500636637210846, 1.0592211484909058, -0.049511875957250595, 0.3016680181026459, 0.18380200862884521, -0.2434399127960205, 0.2915099263191223, 0.19719183444976807, -0.24637363851070404, 0.8898069858551025, 0.2673052251338959, -0.1462179720401764, -0.24851854145526886, 0.28408995270729065, -0.21534383296966553, -0.3549652099609375, -0.17658354341983795, 0.4986382722854614, 0.011786370538175106, -0.1887226402759552, 0.8476543426513672, 0.3228667080402374, 0.6450324058532715, -0.13533328473567963, 0.10144156217575073, -0.3636126220226288, -0.09159893542528152, -0.36258476972579956, -0.33249253034591675, 0.25137171149253845, -0.1332365870475769, -0.16450238227844238, 0.1508994698524475, 0.6605655550956726, -0.315929651260376, -0.23395495116710663, 0.1714247465133667, 0.32540175318717957, 0.3384157419204712, -0.006213379558175802, -0.752238392829895, 0.09236662089824677, 0.16867852210998535, -0.000352752220351249, -0.22587284445762634, 0.3029634952545166, -0.213397815823555, 0.23070065677165985, 0.7869064211845398, 0.07588476687669754, 0.4659319221973419, 0.36647871136665344, 0.1729445904493332, -0.7701245546340942, -0.3297957181930542, -0.6018654108047485, 0.27259477972984314, 0.27601727843284607, -0.3800369203090668, 0.5659497976303101, 0.727963387966156, 0.7779166102409363, -0.06225190311670303, 0.6328340172767639, 0.2450619786977768, 0.5446816682815552, -0.5943859219551086, 0.5244179964065552, -0.34035053849220276, 0.5165923833847046, -0.20493590831756592, -1.0213440656661987, -0.4094812870025635, 0.42215606570243835, -0.09699469804763794, 0.05531555786728859, 0.49609920382499695, 0.7140883207321167, -0.26020336151123047, 0.4659828841686249, 0.433828741312027, 0.11729998141527176, 0.10876696556806564, 0.2555699944496155, 0.9910538792610168, -0.8877188563346863, 0.8528523445129395, -0.3757580518722534, -0.07059172540903091, -0.15848039090633392, -0.16472312808036804, -0.643474280834198, -0.8165289759635925, -0.5227972865104675, -0.5675845146179199, -0.059644993394613266, 0.7685110569000244, 0.6924075484275818, -0.7617385983467102, -0.4519421458244324, -0.14370350539684296, 0.11572683602571487, -0.3898313045501709, -0.217367485165596, 0.6612950563430786, -0.34553635120391846, -0.8720837831497192, 0.5006956458091736, 0.07050201296806335, 0.6117433309555054, 0.07900592684745789, -0.05124330520629883, 0.2897069454193115, 0.05000712350010872, 0.4447147846221924, 0.44381222128868103, -0.8961646556854248, -0.26953816413879395, 0.20683763921260834, -0.12772256135940552, 0.38892966508865356, 0.9080651998519897, -0.4761076867580414, 0.2539323568344116, 0.250660240650177, 0.2726981043815613, -0.01429749932140112, -0.27428779006004333, 0.29989469051361084, -0.7910546064376831, 0.4376431703567505, 0.17470955848693848, 0.48146411776542664, 0.26772770285606384, -0.25722187757492065, 0.24238517880439758, 0.5435250997543335, -0.15882235765457153, -1.174246072769165, 0.15523572266101837, -1.2438738346099854, -0.0011330796405673027, 1.1420223712921143, -0.08389940857887268, -0.12906773388385773, -0.44326525926589966, -0.23560990393161774, 0.7541069984436035, -0.23575249314308167, 0.43230170011520386, 0.5203903317451477, -0.2197251319885254, -0.3241076171398163, -0.6621490120887756, 0.5609866976737976, 0.43197715282440186, -0.32333454489707947, -0.12638503313064575, 0.18877750635147095, 0.79068922996521, 0.26397860050201416, 0.5712274312973022, -0.4465778172016144, 0.3840923011302948, 0.11919219046831131, 0.2559015452861786, -0.12335709482431412, -0.30438587069511414, -0.32415246963500977, 0.011210598051548004, 0.12001828104257584, -0.9984174370765686 ]
http://arxiv.org/abs/2406.00894v1
http://arxiv.org/pdf/2406.00894v1
Pretrained Hybrids with MAD Skills
2024-06-02T23:24:30
2024-06-02T23:24:30
Nicholas Roberts, Samuel Guo, Zhiqi Gao, Satya Sai Srinath Namburi GNVV, Sonia Cromp, Chengjun Wu, Chengyu Duan, Frederic Sala
cs.LG
cs.LG, cs.AI, cs.CL
While Transformers underpin modern large language models (LMs), there is a growing list of alternative architectures with new capabilities, promises, and tradeoffs. This makes choosing the right LM architecture challenging. Recently-proposed $\textit{hybrid architectures}$ seek a best-of-all-worlds approach that reaps the benefits of all architectures. Hybrid design is difficult for two reasons: it requires manual expert-driven search, and new hybrids must be trained from scratch. We propose $\textbf{Manticore}$, a framework that addresses these challenges. Manticore $\textit{automates the design of hybrid architectures}$ while reusing pretrained models to create $\textit{pretrained}$ hybrids. Our approach augments ideas from differentiable Neural Architecture Search (NAS) by incorporating simple projectors that translate features between pretrained blocks from different architectures. We then fine-tune hybrids that combine pretrained models from different architecture families -- such as the GPT series and Mamba -- end-to-end. With Manticore, we enable LM selection without training multiple models, the construction of pretrained hybrids from existing pretrained models, and the ability to $\textit{program}$ pretrained hybrids to have certain capabilities. Manticore hybrids outperform existing manually-designed hybrids, achieve strong performance on Long Range Arena (LRA) tasks, and can improve on pretrained transformers and state space models.
[ -0.4445064067840576, -0.13531765341758728, 0.35828667879104614, 0.20307959616184235, -0.06791027635335922, 0.6869680285453796, -0.2050483077764511, -0.6121125221252441, 0.6557439565658569, 0.1333475112915039, -0.4487994611263275, -0.308917373418808, -0.4083482325077057, 0.1000547930598259, -0.33945775032043457, 0.7313447594642639, -0.30060628056526184, -0.03664442524313927, -0.009095973335206509, -0.08308933675289154, -0.3642074763774872, -0.4811326563358307, -0.3600553274154663, -0.3925454020500183, 0.5221049189567566, 0.1964249163866043, 0.7752153873443604, 0.39941152930259705, -0.015473401173949242, 0.3911416232585907, 0.00500813452526927, 0.519966185092926, -0.3100360631942749, -0.15088105201721191, -0.2197694331407547, -0.5196698904037476, -0.5794856548309326, -0.07311736792325974, 0.25070124864578247, 0.5193879008293152, -0.26186567544937134, -0.16805927455425262, -0.32357877492904663, 0.5933859348297119, -0.6544126868247986, -0.26868095993995667, -0.5897145867347717, 0.37092286348342896, -0.3701368570327759, -0.46072930097579956, -0.43125563859939575, -0.05520752817392349, 0.05636303499341011, -0.8257120251655579, 0.08440438657999039, 0.32345426082611084, 0.8899637460708618, 0.30551227927207947, -0.19428099691867828, 0.25594112277030945, -1.1090730428695679, 0.6363967061042786, -0.46690648794174194, 0.6842197775840759, 0.21468935906887054, 0.5245769023895264, -0.2239210158586502, -0.3392675220966339, -0.4908800721168518, -0.37606507539749146, 0.03396330401301384, 0.33482345938682556, -0.1616450697183609, 0.1515575349330902, -0.08975681662559509, 0.626408040523529, -0.5452551245689392, 0.35704877972602844, -0.5640748143196106, -0.5103126764297485, 0.5145019888877869, 0.015996726229786873, 0.3289860785007477, -0.06391492486000061, -0.3168905973434448, -0.3630357086658478, -0.5561575293540955, -0.3596748113632202, 0.565278172492981, -0.09010493755340576, 0.147997185587883, 0.5537694692611694, -0.24785520136356354, 0.6032832860946655, 0.11836347728967667, -0.058707285672426224, 0.2880921959877014, -0.08672857284545898, -0.16464966535568237, -0.025745704770088196, 0.8086053729057312, -0.27064016461372375, 0.3726591467857361, -0.6506346464157104, -0.49479979276657104, 0.1033763512969017, 0.4607675075531006, -0.485363632440567, -0.4572049379348755, 0.22776885330677032, -0.2634460926055908, -0.19490081071853638, -0.19444985687732697, -0.7009199857711792, -0.04211273789405823, -0.553726851940155, 0.6384071111679077, -0.6226048469543457, -0.7467378973960876, 0.43620243668556213, -0.23002082109451294, 0.07259184122085571, 0.16812989115715027, -0.9392136931419373, 0.33284252882003784, 0.40485236048698425, 0.9592640995979309, -0.25051403045654297, -0.6882094144821167, -0.34819087386131287, 0.09834037721157074, -0.45120036602020264, 0.9018464088439941, -0.5776583552360535, -0.40759703516960144, -0.2966780364513397, -0.42727571725845337, -0.373762309551239, -0.7611761689186096, 0.3950650691986084, -0.6778887510299683, 0.22360840439796448, 0.15693721175193787, -0.5045684576034546, 0.04017161577939987, 0.11643359065055847, -0.6265907287597656, 0.9079080820083618, 0.42645880579948425, -0.6963932514190674, 0.18205003440380096, -0.94801265001297, -0.7324590682983398, -0.043288376182317734, -0.4835086166858673, -0.3204606771469116, 0.33777469396591187, -0.06054490804672241, 0.27590784430503845, -0.262859582901001, 0.07416593283414841, 0.0033225768711417913, -0.22020402550697327, -0.16353821754455566, -0.11955652385950089, 0.5670974254608154, 0.3035297095775604, -0.3890224099159241, 0.5977575182914734, -0.7028743028640747, -0.11347213387489319, 0.25789299607276917, -0.4049285650253296, -0.3477054536342621, 0.1509709656238556, 0.01745498925447464, 0.18612052500247955, 0.2691165804862976, -0.33805710077285767, 0.038377486169338226, -0.4573139250278473, 0.4036698639392853, 0.7790406942367554, -0.5028305649757385, 0.6782538294792175, -0.3143038749694824, 0.8050938844680786, 0.12864293158054352, 0.21567079424858093, 0.3310762643814087, -0.24327398836612701, -0.9002093076705933, -0.36152422428131104, 0.09113115072250366, 0.5933023691177368, -0.9508609175682068, 0.5981537699699402, -0.034776218235492706, -0.8581061959266663, -0.6162393689155579, 0.24401329457759857, 0.36008894443511963, 0.035520829260349274, 0.536965012550354, -0.21131983399391174, -0.7208068370819092, -1.216490626335144, -0.1143200546503067, 0.2784363925457001, 0.18828009068965912, 0.11445311456918716, 0.5086764097213745, -0.3683765232563019, 0.8441480398178101, -0.611129641532898, -0.20599119365215302, -0.43371260166168213, 0.28536033630371094, 0.048229556530714035, 0.6611800789833069, 0.7243891358375549, -0.7101453542709351, -0.21473492681980133, 0.20385053753852844, -0.4987362027168274, 0.3034989535808563, -0.02690041996538639, -0.47275298833847046, -0.16367007791996002, 0.47787049412727356, -1.0097771883010864, -0.05168186500668526, 0.5464598536491394, 0.06824085861444473, 0.9478750228881836, -0.525080680847168, 0.04255593195557594, -1.5022556781768799, 0.13219554722309113, -0.17136646807193756, -0.01680842414498329, -0.6635376214981079, 0.20975911617279053, -0.0451781302690506, -0.13133400678634644, -0.5191515684127808, 0.47333672642707825, -0.6680195927619934, -0.2873658537864685, -0.2654949128627777, -0.19134394824504852, -0.11692206561565399, 0.4932330548763275, 0.2300795614719391, 0.9739891290664673, 0.6061072945594788, -0.6814831495285034, 0.27673089504241943, 0.19308534264564514, -0.3682032525539398, 0.4544316828250885, -0.6006115674972534, 0.1909381002187729, -0.08662574738264084, 0.26243889331817627, -0.5246408581733704, -0.47123733162879944, -0.061516813933849335, -0.29802027344703674, 0.34276923537254333, 0.20747891068458557, -0.6473938822746277, -0.6854649782180786, -0.09360823780298233, 0.5512930154800415, 0.36331361532211304, -0.45669668912887573, 0.9619844555854797, 0.3644716739654541, 0.4157966673374176, -0.30420470237731934, -0.21610622107982635, 0.012012926861643791, -0.05178774520754814, -0.4778050184249878, 0.33829981088638306, -0.1961817890405655, -0.12924472987651825, -0.2028682380914688, -0.05924556031823158, -0.10798833519220352, 0.3176780045032501, 0.01799989677965641, 0.3782171308994293, -0.3829761743545532, 0.0027059002313762903, 0.26518765091896057, -0.5044129490852356, -0.29695820808410645, -0.5979737639427185, 1.014786958694458, -0.11506665498018265, -0.46637871861457825, -0.4591117203235626, 0.4312366843223572, 0.8362255692481995, -0.8076003193855286, 0.5244870781898499, 0.6289536952972412, -0.45519569516181946, -0.2369115650653839, -0.42849141359329224, -0.2725108563899994, -0.5212311744689941, 0.6180055737495422, -0.5668255090713501, -0.8415892720222473, 0.1485169678926468, -0.15723809599876404, 0.32470807433128357, 0.4470084607601166, 0.6445749402046204, -0.10785112529993057, 0.8944918513298035, 0.6369026899337769, -0.31151843070983887, 0.4877777099609375, -0.3037291169166565, 0.22992673516273499, -0.6861392855644226, -0.18235035240650177, -0.3568401634693146, -0.7415055632591248, -0.3106054961681366, -0.5014546513557434, 0.26626095175743103, -0.11735571920871735, -0.08911807090044022, 0.7741807103157043, -0.5951228737831116, 0.8209295868873596, 0.7987757921218872, 0.09225676953792572, 0.27357321977615356, -0.09377341717481613, -0.20280788838863373, 0.028659449890255928, -0.9279060363769531, -0.21601161360740662, 0.9248287677764893, 0.17063592374324799, 0.6523638963699341, 0.04771099612116814, 0.8187066912651062, 0.05032055079936981, 0.3378675580024719, -0.7344031929969788, 0.5720058679580688, -0.237758070230484, -0.8444646596908569, 0.03953969106078148, -0.4543624520301819, -0.8270666003227234, 0.10456029325723648, -0.3719414472579956, -0.6639939546585083, 0.2268080860376358, 0.4671628475189209, -0.849297821521759, 0.8120557069778442, -0.7911494970321655, 0.6997563242912292, -0.6775779724121094, -0.27102065086364746, -0.4619975984096527, -0.40780138969421387, 0.35023969411849976, -0.010981796309351921, -0.10258238017559052, 0.20158091187477112, 0.1873498260974884, 0.661758542060852, -0.16402457654476166, 0.7228601574897766, 0.10579798370599747, -0.09384557604789734, 0.03966844081878662, 0.541934072971344, 0.31250548362731934, -0.5019542574882507, 0.12660066783428192, -0.03989405557513237, -0.17749682068824768, -0.47750115394592285, -0.2891151010990143, 0.7405586242675781, -1.2982999086380005, -0.600071370601654, -0.1976466327905655, -0.7890649437904358, -0.37432458996772766, 0.2033829540014267, 0.4872867166996002, 0.3809453547000885, -0.004391219932585955, 0.010780790820717812, 0.7123662829399109, -0.18547075986862183, 0.22340741753578186, 0.1452995091676712, -0.1080724224448204, -0.25562554597854614, 1.1630685329437256, -0.0727212205529213, 0.45795708894729614, 0.7050324082374573, 0.12021602690219879, -0.24790482223033905, -0.5534996390342712, -0.6350586414337158, 0.12456246465444565, -0.26909545063972473, -0.04031702131032944, -0.7538976669311523, -0.3957286775112152, -0.02223040536046028, -0.3766176700592041, -0.9547634720802307, -0.15450073778629303, -0.3522130846977234, -0.10634928941726685, 0.18845264613628387, 0.6458896994590759, -0.09593284130096436, 0.2909158766269684, -0.7314238548278809, 0.18953795731067657, 0.3936956822872162, 0.3857298195362091, 0.19897305965423584, -0.34088370203971863, -0.2931845486164093, -0.1290622502565384, -0.3360174596309662, -0.8005267977714539, 0.33451664447784424, 0.10195452719926834, 0.682653546333313, 0.43439576029777527, -0.13180141150951385, 0.7317278981208801, -0.5534549951553345, 0.1365891396999359, 0.37370315194129944, -0.6109663844108582, 0.39075717329978943, -0.47761300206184387, -0.07304716855287552, 0.7395815849304199, 0.6916059255599976, -0.229387104511261, -0.1308690756559372, -0.6016415953636169, -0.6564021706581116, 0.4036523103713989, 0.2309858202934265, -0.04781827703118324, 0.14001604914665222, 0.16838093101978302, 0.3496229350566864, 0.38115832209587097, -0.5503193736076355, -0.03491522744297981, -0.2869521975517273, -0.19727447628974915, -0.17942839860916138, 0.2475084811449051, -0.23102638125419617, -0.4838312864303589, 0.4682944715023041, -0.029746465384960175, 0.27694129943847656, 0.14163079857826233, -0.3040882349014282, -0.2351214587688446, 0.2240769863128662, 0.6928884983062744, 0.5257092118263245, -0.1122143417596817, 0.11601786315441132, 0.07868858426809311, -0.13545109331607819, 0.2192722111940384, -0.0413225032389164, -0.07614090293645859, -0.1042935773730278, 0.11409595608711243, 0.9566581845283508, 0.5106546878814697, -0.8767685294151306, 0.20811593532562256, 0.36575430631637573, -0.5238027572631836, -0.45717138051986694, 0.4163193106651306, 0.2892393469810486, 0.42173388600349426, 0.08785606920719147, 0.5212249755859375, -0.0990261510014534, -0.5539267063140869, 0.235905721783638, 0.3094348609447479, -0.1608172506093979, -0.7160497903823853, 0.8277650475502014, 0.4926484525203705, -0.6354514956474304, 0.4045654833316803, -0.46862438321113586, -0.794883668422699, 0.2754085659980774, 0.6586838364601135, 1.0002849102020264, -0.16609905660152435, 0.2664603888988495, 0.25630831718444824, 0.3708775043487549, -0.31729212403297424, 0.035763733088970184, -0.13832999765872955, -0.9213772416114807, -0.5019798874855042, -0.7851473689079285, -0.3179744482040405, 0.22562794387340546, -0.30153918266296387, 0.061667781323194504, -0.7073484063148499, 0.1258596032857895, -0.3192351758480072, -0.16549354791641235, -0.5851661562919617, -0.016440285369753838, 0.2131311148405075, 1.2090448141098022, -0.8900713920593262, 0.7771102786064148, 0.8425816297531128, -0.31615734100341797, -0.732764720916748, -0.21396423876285553, -0.02640525810420513, -0.8425192832946777, 0.48308372497558594, -0.026952778920531273, -0.22801262140274048, 0.3639061748981476, -0.20051968097686768, -0.5746894478797913, 1.224743366241455, 0.353177547454834, -0.9285396933555603, -0.4081047773361206, 0.025255413725972176, 0.4663907289505005, -0.25411731004714966, 0.24402397871017456, 0.6365490555763245, 0.3841601312160492, 0.14145727455615997, -1.062485933303833, -0.32690197229385376, -0.26935747265815735, -0.30313846468925476, 0.4566012918949127, -0.8336178660392761, 1.0517040491104126, -0.343029648065567, -0.06283296644687653, 0.25300833582878113, 0.7920857071876526, 0.28246039152145386, -0.09323366731405258, 0.7276032567024231, 0.8737562894821167, 0.6717007756233215, 0.05604025349020958, 1.095564365386963, -0.44866785407066345, 0.0029766925144940615, 1.1480964422225952, -0.234517902135849, 1.1398032903671265, 0.4107673466205597, -0.09205874055624008, 0.5165647268295288, 0.7838425636291504, 0.265016108751297, 0.3761950135231018, 0.13167215883731842, -0.2999522089958191, -0.7961283326148987, 0.19278958439826965, -0.39090219140052795, 0.5029050707817078, 0.12172305583953857, -0.0175758246332407, -0.314834326505661, -0.13753828406333923, -0.00939883477985859, 0.16254326701164246, -0.0937311053276062, 0.4100474715232849, 0.1275428980588913, -0.6366056799888611, 0.4577236473560333, -0.16583499312400818, 0.9888102412223816, -0.8671801686286926, 0.3883475959300995, -0.21921928226947784, 0.33687734603881836, -0.21054261922836304, -0.3891685903072357, 0.28828421235084534, -0.22478222846984863, -0.015987683087587357, -0.015087930485606194, 0.6234808564186096, -0.2204558551311493, -0.3705126941204071, 0.45788657665252686, 0.8594496250152588, -0.00609697587788105, -0.32023149728775024, -0.6328854560852051, -0.23190036416053772, -0.1453275829553604, 0.11247103661298752, 0.4507782459259033, 0.19449684023857117, -0.1158323809504509, 0.6403226256370544, 0.8448737859725952, 0.2638265788555145, 0.13407911360263824, 0.13301989436149597, 0.9108183979988098, -0.5938106179237366, -0.5130795240402222, -0.5775694251060486, 0.25539618730545044, -0.06441646814346313, -0.5768037438392639, 0.37210968136787415, 0.6759331822395325, 0.8648038506507874, -0.1870359480381012, 0.5552648305892944, -0.03174412623047829, 0.21366950869560242, -0.3500910997390747, 0.8515360355377197, -0.8962164521217346, -0.10251956433057785, -0.08719281852245331, -1.0222234725952148, -0.08795071393251419, 0.6247372031211853, -0.4346504509449005, -0.023866375908255577, 0.5730874538421631, 0.9255008101463318, -0.4727087616920471, -0.012633279897272587, 0.4247312545776367, 0.26958295702934265, 0.3432486951351166, 0.820460855960846, 1.0598902702331543, -0.08276846259832382, 0.4542839229106903, -0.17100055515766144, -0.30941227078437805, -0.34065377712249756, -0.5735320448875427, -0.9918898344039917, -0.5779359936714172, 0.07748835533857346, 0.0901428610086441, -0.01664873957633972, 1.2962888479232788, 1.0235121250152588, -0.7161890268325806, -0.4026676416397095, -0.20636163651943207, -0.2619515061378479, -0.028296547010540962, -0.1444929838180542, 0.18408800661563873, -0.1387302130460739, -0.6630715727806091, 0.7017744779586792, 0.4798549711704254, 0.2633586525917053, -0.6221212148666382, -0.3455456793308258, -0.29820993542671204, -0.0030846872832626104, 0.7134849429130554, 0.6022691130638123, -0.351273775100708, -0.2214272916316986, 0.3212265074253082, 0.06546231359243393, 0.17190249264240265, 0.9011714458465576, -0.6543694138526917, 0.2405509054660797, 0.43528518080711365, 0.9840356707572937, 0.19431781768798828, -0.3423076570034027, 0.7226638197898865, -0.5846697092056274, 0.40995392203330994, 0.35476061701774597, 0.6349393725395203, 0.25188425183296204, 0.05919492617249489, 0.15364478528499603, 0.3460746109485626, -0.21142002940177917, -0.422487735748291, 0.3905297517776489, -0.9009361267089844, -0.27131417393684387, 1.0135048627853394, 0.3952926993370056, -0.41647300124168396, -0.16250814497470856, -0.3918282091617584, 0.04504945129156113, -0.1979561597108841, 0.9653332233428955, 0.3369345963001251, -0.09866438060998917, 0.06397511065006256, -0.53237384557724, 0.3395850658416748, 0.7740716934204102, -0.9798240661621094, -0.21427282691001892, 0.23893827199935913, 0.16175730526447296, 0.6098840236663818, 0.5534160733222961, 0.05522618070244789, 0.3643784821033478, 0.01426509115844965, 0.28414005041122437, -0.21764898300170898, -0.728672981262207, 0.4345455467700958, 0.021516816690564156, 0.16574183106422424, -0.28583648800849915 ]
http://arxiv.org/abs/2406.00888v1
http://arxiv.org/pdf/2406.00888v1
Show, Don't Tell: Aligning Language Models with Demonstrated Feedback
2024-06-02T23:13:56
2024-06-02T23:13:56
Omar Shaikh, Michelle Lam, Joey Hejna, Yijia Shao, Michael Bernstein, Diyi Yang
cs.CL
cs.CL, cs.HC
Language models are aligned to emulate the collective voice of many, resulting in outputs that align with no one in particular. Steering LLMs away from generic output is possible through supervised finetuning or RLHF, but requires prohibitively large datasets for new ad-hoc tasks. We argue that it is instead possible to align an LLM to a specific setting by leveraging a very small number ($<10$) of demonstrations as feedback. Our method, Demonstration ITerated Task Optimization (DITTO), directly aligns language model outputs to a user's demonstrated behaviors. Derived using ideas from online imitation learning, DITTO cheaply generates online comparison data by treating users' demonstrations as preferred over output from the LLM and its intermediate checkpoints. We evaluate DITTO's ability to learn fine-grained style and task alignment across domains such as news articles, emails, and blog posts. Additionally, we conduct a user study soliciting a range of demonstrations from participants ($N=16$). Across our benchmarks and user study, we find that win-rates for DITTO outperform few-shot prompting, supervised fine-tuning, and other self-play methods by an average of 19% points. By using demonstrations as feedback directly, DITTO offers a novel method for effective customization of LLMs.
[ -0.136703759431839, -0.6989089846611023, 0.5419737100601196, 0.18633714318275452, -0.15281179547309875, 0.22776424884796143, -0.3805385231971741, -0.0031228007283061743, 0.23702594637870789, 0.19360215961933136, -0.8474470973014832, -0.5016700625419617, -0.5287708044052124, -0.14504478871822357, -0.576677143573761, 0.9237822890281677, -0.0350264310836792, 0.026851437985897064, -0.27296045422554016, 0.07149508595466614, -0.26620057225227356, -0.030421869829297066, -0.4568588435649872, -0.5330159068107605, 0.4487737715244293, 0.7547991871833801, 0.5022096633911133, 0.9049434065818787, 0.2586636543273926, 0.34128910303115845, 0.20150060951709747, 0.35654765367507935, -0.8206632137298584, 0.014652920886874199, -0.19569772481918335, -0.5709788799285889, -0.12293264269828796, 0.012269153259694576, 0.42209485173225403, 0.7999868392944336, -0.26828426122665405, 0.17454738914966583, 0.39465197920799255, 0.5803783535957336, -0.501552164554596, 0.06399289518594742, -0.6579447984695435, -0.1358070969581604, -0.19202876091003418, -0.08680263161659241, -0.6618348360061646, -0.43346428871154785, -0.17172065377235413, -0.6703459620475769, 0.1556439995765686, 0.033395543694496155, 0.7634499073028564, 0.4769553542137146, 0.005772577598690987, -0.2565179169178009, -0.9336985349655151, 1.0487273931503296, -0.8219588994979858, -0.06977764517068863, 0.23347286880016327, 0.4890762269496918, -0.18434202671051025, -0.5162784457206726, -0.7169806361198425, -0.39994776248931885, -0.1172407865524292, 0.18433386087417603, -0.4674251079559326, -0.24050575494766235, 0.16408993303775787, 0.1328381448984146, -0.48260512948036194, 0.5230370163917542, -0.198237806558609, -0.08822344988584518, 0.516670823097229, 0.1272791475057602, 0.2012435346841812, 0.2124946415424347, -0.45748886466026306, -0.3163897693157196, -0.873542308807373, 0.16129080951213837, 0.39494335651397705, 0.45034700632095337, -0.03861527517437935, 0.7591378688812256, -0.3774677515029907, 0.8188243508338928, 0.7372801303863525, -0.1460915356874466, 0.015612207353115082, -0.1874053180217743, -0.2410065233707428, -0.05531846359372139, 1.0894023180007935, 0.5305359959602356, 0.007624386809766293, -0.10209339112043381, -0.34975457191467285, 0.2963223457336426, 0.21256032586097717, -0.5420160293579102, 0.007409690413624048, 0.011429683305323124, -0.3788314461708069, -0.5258630514144897, -0.04871571436524391, -0.7970387935638428, -0.5990195274353027, -0.3579156994819641, 0.865827739238739, -0.12225138396024704, -0.17214606702327728, -0.04284020513296127, -0.011649643070995808, -0.06534368544816971, 0.3633789122104645, -1.0622755289077759, 0.6872526407241821, 0.8138741254806519, 0.633604109287262, -0.19353283941745758, -0.4044131636619568, -0.7367900013923645, 0.04838459566235542, -0.602313756942749, 0.5024875998497009, -0.5453898310661316, -0.19831499457359314, 0.03588179498910904, -0.142461359500885, -0.0376618392765522, -0.6937148571014404, 0.0626792386174202, -0.13244909048080444, 0.3675507605075836, -0.318042516708374, -0.6835095286369324, 0.19203336536884308, 0.10478103905916214, -0.4517073631286621, 0.6831911206245422, -0.03030247613787651, -0.5629612803459167, 0.2661181390285492, -0.49063608050346375, -0.2741892337799072, -0.16785301268100739, -0.3788169324398041, -0.30310511589050293, 0.15487171709537506, 0.39098790287971497, 0.4804454743862152, 0.012753111310303211, 0.1971224695444107, -0.48053881525993347, -0.6336802840232849, 0.32643160223960876, -0.2455609291791916, 0.3155456483364105, 0.247475266456604, -0.9411927461624146, 0.3004624843597412, -0.49091583490371704, -0.07147058099508286, 0.20884813368320465, 0.01842968352138996, -0.12325062602758408, 0.0407562330365181, -0.38570284843444824, 0.04121626541018486, 0.31765642762184143, -0.5360696911811829, 0.33234483003616333, -0.513694703578949, 0.3259318768978119, 0.744871199131012, -0.4031587243080139, 0.6412603259086609, -0.8886450529098511, 0.6720404028892517, -0.14657391607761383, 0.2074216604232788, 0.04384006932377815, -0.1485159993171692, -0.8026692867279053, -0.05065930262207985, 0.1534043252468109, 0.21695637702941895, -0.7130077481269836, 0.0892169177532196, -0.27164122462272644, -0.5294504165649414, -0.7993356585502625, 0.39058083295822144, 0.6879035234451294, 0.6841392517089844, 0.06323034316301346, 0.04166773334145546, -0.43519654870033264, -1.1592673063278198, -0.2614559829235077, -0.183629110455513, 0.036224886775016785, 0.025530919432640076, 0.09614630043506622, 0.22356562316417694, 0.6560810804367065, -0.3523941934108734, -0.2729565501213074, -0.5230271220207214, 0.12500891089439392, 0.21768596768379211, 0.3036784827709198, 0.43013831973075867, -0.449849933385849, -0.6821624636650085, 0.12849770486354828, -0.34848839044570923, -0.42842456698417664, -0.16190093755722046, 0.06149570643901825, 0.10040745884180069, 0.4190843999385834, -0.21484343707561493, 0.3310614824295044, 0.7843172550201416, -0.0072587281465530396, 0.175315260887146, -0.15064668655395508, 0.08623428642749786, -1.0153700113296509, -0.11734890937805176, 0.03089914284646511, -0.47393426299095154, -0.4707735478878021, -0.1977468878030777, -0.06213875114917755, 0.06674111634492874, -0.25623634457588196, 0.7597174644470215, -0.35547763109207153, -0.038814544677734375, -0.482040673494339, 0.3293779194355011, 0.06888977438211441, 0.6203736662864685, -0.012213247828185558, 0.7306376695632935, 0.4461118280887604, -0.4720780849456787, 0.0680089071393013, 0.1279495656490326, -0.4643281400203705, 0.42239150404930115, -0.6137418746948242, 0.3298300802707672, 0.10667498409748077, -0.06058388203382492, -1.1752926111221313, -0.15310786664485931, 0.36093270778656006, -0.3630513846874237, 0.371785968542099, -0.12817758321762085, -0.5017839074134827, -0.1482076793909073, -0.5133610367774963, -0.28168800473213196, 0.7714959383010864, -0.73857182264328, 0.18190430104732513, 0.210123211145401, 0.015420290641486645, -0.868527889251709, -0.5440518260002136, -0.2476619929075241, -0.39808160066604614, -0.2884766161441803, 0.3692638874053955, -0.1954963356256485, -0.4152369201183319, -0.07476627081632614, -0.2529445290565491, 0.007468252908438444, 0.23995177447795868, 0.4305839538574219, 0.05263463035225868, -0.12082894891500473, 0.11187191307544708, 0.1695019155740738, 0.15578795969486237, -0.3245437443256378, -0.006900925654917955, 0.4907883107662201, -0.09584129601716995, -0.7952080965042114, -0.8884484767913818, 0.2623147964477539, 0.4056603014469147, 0.17829780280590057, 0.6146383881568909, 0.4103523790836334, -0.14130482077598572, -0.5521230697631836, -0.48923295736312866, -0.3312873840332031, -0.5395945906639099, 0.25241491198539734, -0.14955419301986694, -0.8135582804679871, 0.19593888521194458, -0.23050613701343536, 0.3147197961807251, 0.09004415571689606, 0.6082010865211487, -0.30647188425064087, 1.2185686826705933, 0.7165307998657227, 0.03416109085083008, 0.6222246289253235, -0.08859964460134506, 0.0962015762925148, -0.4814714789390564, -0.14010009169578552, -0.4042878746986389, -0.7179767489433289, -0.4407670497894287, -0.29818254709243774, -0.003034878522157669, 0.3400043547153473, -0.05326466262340546, 0.4292912781238556, -0.4778861999511719, 0.5234079360961914, 0.6673985719680786, 0.2619655430316925, 0.29511624574661255, -0.05811643972992897, -0.004462399519979954, -0.2605012059211731, -0.7093847990036011, -0.8345236778259277, 1.0995429754257202, 0.21798384189605713, 1.1688430309295654, 0.20938228070735931, 1.0587666034698486, 0.18527045845985413, 0.4768062233924866, -0.8274365067481995, 0.5695549845695496, -0.39572203159332275, -0.05492773279547691, -0.40567001700401306, -0.2640749514102936, -0.8942611813545227, -0.09019096940755844, 0.16458694636821747, -0.7595731019973755, -0.049805764108896255, 0.6229998469352722, -0.28697288036346436, 0.16965751349925995, -0.907573401927948, 0.7548445463180542, -0.2843356430530548, -0.378461092710495, -0.20118345320224762, -0.3592570722103119, 0.19573751091957092, 0.009117862209677696, 0.35085931420326233, 0.007177269551903009, 0.07513663172721863, 0.7037026882171631, -0.6052699685096741, 1.3933484554290771, -0.22320711612701416, 0.0374254509806633, 0.11542826890945435, 0.37815865874290466, 0.6074652671813965, -0.2625771462917328, 0.07164198160171509, -0.3470190763473511, -0.1628197282552719, -0.1789802610874176, -0.8848336935043335, 1.0959904193878174, -0.6827903389930725, -0.9288756847381592, 0.1710515022277832, -0.3867233097553253, -0.29414838552474976, 0.09508946537971497, 0.23653718829154968, 0.46882423758506775, -0.18211115896701813, 0.041047558188438416, 0.39498111605644226, 0.0877731442451477, 0.5561044216156006, 0.46128636598587036, -0.3473252058029175, -0.18579290807247162, 1.1002516746520996, -0.19606511294841766, 0.6363440155982971, 0.630959689617157, 0.5703754425048828, -0.47414630651474, -0.5658480525016785, -0.4967888295650482, 0.2376493513584137, -0.7436692714691162, -0.029787007719278336, -0.29467710852622986, 0.31319156289100647, -0.43052956461906433, -0.1787341982126236, -0.4773924946784973, -0.6841118931770325, -0.3733433485031128, -0.0771648958325386, 0.11729037761688232, 1.1199899911880493, -0.18728365004062653, 0.7284550666809082, -0.34964069724082947, 0.02413625456392765, 0.4344421625137329, 0.08074866980314255, 0.023331990465521812, -0.5415566563606262, -0.00923692062497139, 0.17943748831748962, -0.6337293982505798, -0.8487023711204529, 0.32326722145080566, 0.3407032787799835, 0.7928017973899841, 0.6732736229896545, 0.25880706310272217, 0.924937903881073, -0.4881986081600189, 0.6901202201843262, 0.26817402243614197, -1.241393804550171, 0.6647365093231201, -0.13861532509326935, 0.08793347328901291, 0.488599956035614, 0.3911193311214447, -0.3661915957927704, -0.6967710256576538, -0.525950014591217, -0.4030691087245941, 0.7284799814224243, 0.040982652455568314, 0.3200918734073639, 0.06549127399921417, 0.11058025807142258, 0.38606613874435425, 0.304370641708374, -0.7678951621055603, -0.3898469805717468, -0.32125261425971985, -0.4761140048503876, -0.013527621515095234, -0.01644081622362137, -0.5824694037437439, 0.007747558411210775, 0.5266657471656799, -0.3127407729625702, 0.13331833481788635, -0.03233849257230759, -0.17009375989437103, -0.15399400889873505, 0.31627318263053894, 0.9898809790611267, 0.9690806865692139, 0.1614447981119156, 0.15014058351516724, -0.23170726001262665, 0.14914806187152863, 0.12486275285482407, -0.04918881133198738, 0.04589700698852539, 0.19325752556324005, 0.5117572546005249, 1.01377534866333, 0.25627365708351135, -0.5232973098754883, 0.7518549561500549, 0.022598572075366974, -0.36631524562835693, -0.05320529267191887, 0.1769006997346878, 0.17492255568504333, 0.4023730158805847, -0.001733702840283513, -0.2622920870780945, -0.09204310923814774, -0.40814313292503357, 0.2057676464319229, 0.5016469359397888, -0.5214412808418274, -0.48000767827033997, 0.7416569590568542, 0.06920913606882095, -0.533115804195404, 0.1974964141845703, -0.09942031651735306, -0.29391396045684814, 0.5864160656929016, 0.5906327366828918, 0.5948395133018494, -0.08994339406490326, 0.6075156927108765, 0.20731863379478455, 0.12050257623195648, -0.3333388864994049, 0.08661943674087524, -0.22945456206798553, -0.6693087220191956, -0.538211464881897, -0.29533398151397705, -0.5959540009498596, 0.26689136028289795, -0.8448123335838318, 0.3847139775753021, -0.605923056602478, 0.01768491417169571, 0.2732604742050171, -0.1466047763824463, -0.41901111602783203, -0.18056349456310272, 0.09847646206617355, 0.6305734515190125, -1.1094822883605957, 0.7672396302223206, 0.476121723651886, -0.2738672196865082, -0.92510986328125, 0.08283320814371109, 0.26434558629989624, -1.224868655204773, 0.7932148575782776, 0.16475623846054077, -0.09509650617837906, -0.042502183467149734, -0.7649605870246887, -0.5033905506134033, 0.8367617130279541, 0.5671682357788086, -0.9838534593582153, 0.15439839661121368, -0.017571426928043365, 0.5341044664382935, -0.5126015543937683, 0.16823512315750122, 0.033682458102703094, 0.3459751307964325, 0.3024637699127197, -1.0742743015289307, 0.05420670285820961, 0.07330700010061264, -0.1943727433681488, 0.06644393503665924, -0.6696242094039917, 0.4909362196922302, -0.4470924735069275, -0.34940123558044434, 0.14556337893009186, 0.35520139336586, 0.25149741768836975, 0.29499495029449463, 0.7301514744758606, 0.44622594118118286, 0.5971793532371521, -0.062031880021095276, 0.9717345237731934, 0.03830145671963692, 0.3168829083442688, 1.5038957595825195, -0.45448434352874756, 0.7562270164489746, 0.8709649443626404, -0.10882217437028885, 0.45685023069381714, 0.5833248496055603, 0.13151605427265167, 0.9171101450920105, 0.4551942050457001, -0.044793806970119476, -0.4286985397338867, -0.10391800105571747, -0.0034294291399419308, 0.30015209317207336, 0.15502941608428955, -0.18531738221645355, -0.3025796115398407, 0.008582365699112415, 0.08980876952409744, 0.6696686148643494, -0.025449877604842186, 0.9615570902824402, 0.005548983346670866, -0.7386888265609741, 0.5682412385940552, -0.3953731656074524, 0.6542155146598816, -0.5755943059921265, -0.26584592461586, -0.40929239988327026, 0.36591866612434387, -0.1164688840508461, -0.6010895371437073, 0.2743775248527527, -0.13819608092308044, -0.1475682258605957, -0.5574420094490051, 0.2031867653131485, -0.474890798330307, -0.32905808091163635, 0.30760622024536133, 0.4624757468700409, 0.12793558835983276, 0.31245294213294983, -0.5589845180511475, 0.03670763596892357, 0.24909456074237823, -0.11210207641124725, 0.5738450288772583, 0.17490573227405548, -0.10531213879585266, 0.8447810411453247, 0.5456139445304871, 0.13217689096927643, 0.04243312403559685, 0.30566170811653137, 0.8242985606193542, -0.31624290347099304, -0.0207666028290987, -1.0892772674560547, 0.36781883239746094, -0.16411782801151276, -0.1520729660987854, 0.7291519641876221, 0.37507110834121704, 1.1763232946395874, -0.19786646962165833, 0.6778982281684875, 0.10409675538539886, 0.8300575017929077, -0.44523191452026367, 0.4749744236469269, -0.7335665822029114, 0.5010024905204773, -0.18776549398899078, -0.5031015276908875, 0.03841683268547058, 0.4377921223640442, -0.09953741729259491, -0.0993185043334961, 0.6328622102737427, 0.9809997081756592, 0.01828799396753311, -0.43520137667655945, 0.5596370697021484, 0.15062391757965088, 0.30702829360961914, 0.42304712533950806, 1.1811476945877075, -0.0046920874156057835, 0.660365641117096, -0.7512760162353516, -0.32790669798851013, -0.18377454578876495, -0.9400236010551453, -0.9870238304138184, -0.45296207070350647, -0.5627382397651672, -0.25815242528915405, -0.10499017685651779, 0.7831718325614929, 0.8614774346351624, -0.761972188949585, -0.47739464044570923, 0.002948347246274352, 0.2708553671836853, -0.5702412724494934, -0.20200057327747345, 0.17908616364002228, -0.39050906896591187, -1.1012531518936157, 0.7080508470535278, 0.021535580977797508, 0.09110889583826065, -0.26636868715286255, -0.09934022277593613, 0.21349535882472992, -0.19170896708965302, 0.05164741352200508, 0.2637365460395813, -1.0517748594284058, -0.1433417946100235, 0.28213098645210266, -0.12872809171676636, 0.06466258317232132, 0.728812038898468, -0.6020129919052124, 0.49926239252090454, 0.23221637308597565, 0.6418057680130005, 0.3831799626350403, 0.053582292050123215, 0.824089765548706, -0.8719114065170288, -0.017001941800117493, 0.06981997191905975, 0.21016742289066315, 0.3115013539791107, -0.3321410119533539, 0.1882847547531128, -0.09723261743783951, -0.46683117747306824, -0.8542555570602417, 0.17783479392528534, -1.0157978534698486, -0.20371729135513306, 1.0634613037109375, -0.2963787615299225, -0.20920711755752563, 0.21076306700706482, -0.07866550236940384, 0.08643798530101776, -0.46874290704727173, 0.875260055065155, 0.545930027961731, -0.3114420175552368, -0.20258232951164246, -0.41039061546325684, 0.5203424692153931, 0.5935866832733154, -0.7225120663642883, 0.08338876813650131, 0.28432905673980713, 0.5615524053573608, -0.0062364498153328896, 0.5884636044502258, 0.024579722434282303, 0.05292107164859772, -0.30419695377349854, -0.05512944608926773, -0.2250474989414215, -0.12625275552272797, -0.6316773295402527, -0.12111116945743561, 0.477815181016922, -0.7016237378120422 ]
http://arxiv.org/abs/2406.00867v1
http://arxiv.org/pdf/2406.00867v1
Formality Style Transfer in Persian
2024-06-02T20:57:27
2024-06-02T20:57:27
Parastoo Falakaflaki, Mehrnoush Shamsfard
cs.CL
cs.CL, cs.AI
This study explores the formality style transfer in Persian, particularly relevant in the face of the increasing prevalence of informal language on digital platforms, which poses challenges for existing Natural Language Processing (NLP) tools. The aim is to transform informal text into formal while retaining the original meaning, addressing both lexical and syntactic differences. We introduce a novel model, Fa-BERT2BERT, based on the Fa-BERT architecture, incorporating consistency learning and gradient-based dynamic weighting. This approach improves the model's understanding of syntactic variations, balancing loss components effectively during training. Our evaluation of Fa-BERT2BERT against existing methods employs new metrics designed to accurately measure syntactic and stylistic changes. Results demonstrate our model's superior performance over traditional techniques across various metrics, including BLEU, BERT score, Rouge-l, and proposed metrics underscoring its ability to adeptly navigate the complexities of Persian language style transfer. This study significantly contributes to Persian language processing by enhancing the accuracy and functionality of NLP models and thereby supports the development of more efficient and reliable NLP applications, capable of handling language style transformation effectively, thereby streamlining content moderation, enhancing data mining results, and facilitating cross-cultural communication.
[ -0.13432031869888306, -1.051269292831421, 0.2746952772140503, 0.364658385515213, -0.16228404641151428, 0.31464487314224243, -0.7283840179443359, -0.6468526721000671, 0.18369315564632416, 0.19378532469272614, -0.5506783127784729, -0.3031529486179352, -0.4307125210762024, 0.10163213312625885, -0.6556247472763062, 1.0742055177688599, -0.3736267685890198, -0.020926883444190025, 0.4265986979007721, 0.11629629135131836, -0.013824714347720146, -0.39837872982025146, -0.8601617217063904, -0.02078632451593876, 0.03809158131480217, 0.4488575756549835, 1.0486960411071777, 0.23902341723442078, 0.5421255230903625, 0.2740974724292755, 0.182034432888031, 0.16603578627109528, -0.2675701379776001, 0.19796137511730194, -0.23545262217521667, -0.34224268794059753, -0.5178080201148987, -0.04825962707400322, 0.8279349207878113, 0.44011548161506653, -0.46506431698799133, 0.28545132279396057, -0.07481051981449127, 1.2746459245681763, -0.4060881733894348, 0.16815917193889618, -0.5659712553024292, 0.08891046792268753, -0.5691633820533752, -0.11316682398319244, -0.3191075623035431, -0.585347592830658, -0.04941357299685478, -0.46913862228393555, -0.11202400177717209, 0.007984733209013939, 1.3258213996887207, 0.03409198299050331, -0.2637440860271454, -0.10431387275457382, -1.3269535303115845, 0.551142692565918, -0.7529527544975281, 0.49132513999938965, 0.29465463757514954, 0.5762455463409424, -0.038550324738025665, -0.7244731187820435, -0.6430896520614624, -0.3894442021846771, -0.025363851338624954, -0.17541620135307312, -0.1790386587381363, -0.3304106295108795, 0.02738526463508606, 0.5036437511444092, -0.46511250734329224, -0.3711913824081421, -0.24868887662887573, 0.08633729815483093, 0.8033859133720398, -0.19561395049095154, 0.33348724246025085, 0.15455345809459686, -0.42357775568962097, -0.10888805240392685, -0.3164067566394806, 0.2904442548751831, 0.35353851318359375, 0.0795540139079094, -0.32196176052093506, 0.039821330457925797, -0.5078939199447632, 0.34885087609291077, 0.49930915236473083, -0.05885801091790199, 0.08030464500188828, -0.7203161120414734, 0.0788489505648613, -0.02715812437236309, 0.6430713534355164, 0.0731189101934433, 0.5201967358589172, -0.1871863305568695, -0.26440557837486267, -0.3871338963508606, 0.27567392587661743, -0.3924432396888733, -0.6252302527427673, -0.0432753823697567, -0.49341386556625366, -0.40184593200683594, 0.2824482321739197, -0.6481130123138428, -0.15582138299942017, -0.5709658265113831, 0.3433031141757965, -0.8250987529754639, -0.15382952988147736, 0.12466442584991455, 0.05721185356378555, 0.6166976094245911, 0.8889936804771423, -1.0001589059829712, 0.8857582807540894, 0.35697701573371887, 0.860154926776886, -0.005882330238819122, 0.5043561458587646, -0.10803575068712234, 0.07552620768547058, -0.7731900215148926, 0.39273878931999207, -0.35361599922180176, 0.06773075461387634, -0.09586024284362793, -0.1356734186410904, -0.06830407679080963, 0.06927412003278732, 0.7238022089004517, -0.3951190710067749, 0.32257142663002014, 0.09918223321437836, -0.14487075805664062, -0.20528185367584229, -0.0948505848646164, -0.4897772967815399, 1.4865723848342896, 0.2798188030719757, -0.6245656609535217, 0.17809130251407623, -0.5692717432975769, -0.574517548084259, 0.09712915122509003, 0.1703735888004303, -0.47313159704208374, 0.04659399017691612, -0.013944797217845917, 0.3190425634384155, -0.007960669696331024, 0.20256035029888153, 0.0018609793623909354, -0.3674011528491974, 0.4299227297306061, -0.005419834982603788, 0.49301037192344666, 0.3787548243999481, -0.6482091546058655, 0.11315948516130447, -0.9425891637802124, 0.13976916670799255, 0.1383940875530243, -0.11155814677476883, -0.45719507336616516, 0.14436151087284088, 0.45039260387420654, 0.607010006904602, 0.5829820036888123, -0.36783167719841003, 0.14124682545661926, -0.37972816824913025, 0.24415373802185059, 0.816099226474762, -0.195909783244133, 0.7942869663238525, -0.5806218981742859, 0.2966677248477936, -0.6582486629486084, 0.09378355741500854, 0.41751548647880554, -0.10407120734453201, -1.0023014545440674, -0.2017105221748352, 0.5295981764793396, 0.7004375457763672, -0.784919798374176, 0.5316749811172485, -0.29736509919166565, -0.7451505661010742, -0.23978778719902039, 0.094546377658844, 0.17808344960212708, 0.08813611418008804, 0.33435675501823425, -0.6254426836967468, -0.4715992510318756, -0.967510461807251, -0.3420771062374115, -0.12084107100963593, 0.18460533022880554, 0.33830785751342773, 0.3243631422519684, 0.05123121291399002, 0.643815279006958, 0.012054851278662682, -0.34490683674812317, -0.519762396812439, 0.4836893379688263, 0.33796727657318115, 0.8449971675872803, 0.6619546413421631, -0.5280418395996094, -0.82329261302948, 0.22853684425354004, -0.24231044948101044, -0.26027244329452515, -0.6651732921600342, -0.3820774555206299, 0.6609726548194885, 0.563348114490509, -0.12660878896713257, 0.4296668767929077, 0.6328140497207642, -0.27339330315589905, 0.8852096199989319, 0.05719728022813797, 0.50417560338974, -1.011997938156128, 0.4160977900028229, 0.10031609982252121, -0.4955517053604126, -0.9248092174530029, 0.3726167678833008, 0.03246258199214935, 0.14680340886116028, -0.3069474697113037, 0.7654634118080139, -0.3876911401748657, 0.21260331571102142, 0.008252466097474098, -0.30650103092193604, 0.07186339795589447, 0.5934706330299377, 0.2625785171985626, 0.8558507561683655, 0.3264535367488861, -0.45744583010673523, 0.248059943318367, 0.1854971945285797, -0.2460978776216507, 0.4503726363182068, -0.6090420484542847, 0.34482866525650024, 0.213766947388649, 0.5013896822929382, -1.2157973051071167, -0.13217882812023163, 0.5922231674194336, -0.4274497628211975, 0.737615168094635, -0.32400819659233093, -0.9440907835960388, 0.23412679135799408, -0.4668700397014618, 0.2108251005411148, 0.7734252214431763, 0.03443262353539467, 0.6295168399810791, -0.17973248660564423, -0.6404713988304138, -0.10621221363544464, -0.6445513963699341, 0.3006629943847656, -0.0740131363272667, -0.9457769393920898, 0.5947577357292175, 0.1768009513616562, -0.4301619529724121, -0.3066740036010742, -0.2620086073875427, -0.4397179186344147, 0.5567392110824585, -0.107251837849617, 0.33943048119544983, -0.2801706790924072, 0.024202648550271988, 0.23918773233890533, 0.3780812621116638, 0.09449748694896698, -0.09272809326648712, 0.6701244115829468, -0.2412765920162201, 0.07523790746927261, -0.8998088240623474, 0.2104695588350296, 0.2379017174243927, -0.2965601682662964, 1.0414632558822632, 1.0844814777374268, -0.15011177957057953, -0.2994194030761719, -0.47612619400024414, -0.24706943333148956, -0.4780449867248535, 0.014845163561403751, -0.29957643151283264, -0.4482257664203644, 0.3484500050544739, -0.19709733128547668, 0.2261718511581421, 0.5318710207939148, 0.43361589312553406, -0.2299635410308838, 0.6218911409378052, 0.707588791847229, 0.0342666320502758, 0.9302483201026917, 0.11729630827903748, 0.12710152566432953, -0.4725203812122345, -0.06723260134458542, -0.6307981610298157, -0.36864450573921204, -0.5353955626487732, -0.4198239743709564, 0.24633294343948364, 0.14219866693019867, -0.09509098529815674, 0.27736616134643555, -0.03979461267590523, 0.04637938365340233, 0.44013211131095886, 0.29146260023117065, 0.31097742915153503, 0.32115593552589417, 0.014068623073399067, -0.1541743129491806, -0.39327704906463623, -0.6527859568595886, 0.9214240312576294, 0.516061544418335, 0.8695999383926392, 0.784333348274231, 0.7155796885490417, 0.6863934397697449, -0.3202999234199524, -0.5261304974555969, 0.5021880865097046, -0.34050583839416504, -0.35437002778053284, -0.39614346623420715, -0.21317271888256073, -0.5159862041473389, -0.16475453972816467, -0.7825253009796143, -0.7489607930183411, 0.11784389615058899, 0.15474514663219452, -0.17535078525543213, 0.16663436591625214, -0.11952150613069534, 0.393198698759079, -0.1881333738565445, -0.7921650409698486, -0.36647140979766846, -0.9266522526741028, 0.5722209811210632, -0.18757988512516022, 0.48422396183013916, -0.20940770208835602, 0.02525421790778637, 0.6435654163360596, -0.3532625436782837, 0.6196882128715515, 0.3884887993335724, -0.31893351674079895, -0.05895110219717026, 0.8355090022087097, 0.5998374819755554, -0.007301495410501957, -0.024898692965507507, 0.3222176432609558, 0.02187630906701088, -0.35296717286109924, -0.6572506427764893, 0.36096295714378357, -0.774053156375885, -0.3816218376159668, -0.6921424865722656, -0.44273650646209717, -0.13890831172466278, -0.06146781146526337, -0.24588024616241455, 0.389070600271225, -0.4053162932395935, -0.06987213343381882, 0.6851077079772949, 0.0018667196854948997, 0.21759064495563507, 0.4454306960105896, -0.1446157991886139, 0.02811632677912712, 0.5685021281242371, -0.23970572650432587, 0.5004563927650452, 0.40731674432754517, 0.17793534696102142, -0.21940182149410248, -0.3570033013820648, -0.8055418729782104, 0.12500742077827454, -0.5235131978988647, 0.397050678730011, -0.3647066056728363, -0.5121601223945618, -0.6612969636917114, -0.4348509907722473, -0.35339123010635376, -1.1646804809570312, -0.1860034316778183, 0.4763737916946411, 0.5292842984199524, 0.4816904366016388, -0.1373966634273529, 0.07483876496553421, -0.8292505145072937, 0.2149522453546524, -0.03501634672284126, 0.1351822167634964, -0.22517293691635132, -1.0684759616851807, -0.2077597677707672, -0.08575566858053207, -0.09887770563364029, -0.8041164875030518, 0.41331854462623596, 0.8268393278121948, 0.14700670540332794, 0.23760102689266205, -0.003946686163544655, 0.41703224182128906, -0.7805880904197693, 0.7682983875274658, -0.07572124898433685, -1.241240382194519, 0.5944240689277649, -0.5849593877792358, 0.1965852528810501, 0.7369382381439209, 0.3908661901950836, -0.9364461302757263, -0.37878626585006714, -0.7520312666893005, -0.9247443079948425, 0.7663798332214355, 0.5723296999931335, 0.08775949478149414, 0.35170453786849976, 0.45134416222572327, 0.08321141451597214, 0.168693408370018, -0.7048271894454956, -0.3631178140640259, -0.09343934804201126, -0.20234356820583344, 0.16102191805839539, -0.03574143722653389, -0.22146634757518768, -0.28019803762435913, 0.7945970892906189, 0.10319572687149048, 0.3835609257221222, 0.16197353601455688, -0.1993987113237381, -0.15742915868759155, 0.752687394618988, 0.7999027371406555, 0.46389463543891907, -0.27862876653671265, -0.04689156264066696, -0.045298021286726, -0.2912881374359131, -0.020210865885019302, 0.30000168085098267, -0.09606724977493286, 0.22965086996555328, 0.16892772912979126, 0.34930750727653503, 0.29597654938697815, -0.3152061402797699, 0.4426466226577759, 0.006556042470037937, -0.18077094852924347, -0.6409772038459778, 0.20144516229629517, -0.4934910237789154, -0.040694110095500946, 0.28006041049957275, 0.45829612016677856, 0.5350120067596436, -0.8259292840957642, 0.31786394119262695, 0.33098214864730835, -0.21622571349143982, -0.3633632957935333, 0.5029392838478088, 0.29914188385009766, -0.009086696431040764, 0.20000547170639038, -0.2184404879808426, -0.5559922456741333, 0.24681991338729858, 0.3200681507587433, 0.6932961344718933, -0.2828398048877716, 0.4161331355571747, 0.4927425682544708, 0.19378364086151123, -0.2668631970882416, 0.375963032245636, -0.3826114535331726, -0.4826368987560272, -0.30383843183517456, -0.7937261462211609, -0.38155317306518555, -0.3691309988498688, -0.7249690294265747, 0.3536926805973053, -1.0006440877914429, 0.047509972006082535, -0.1970709264278412, 0.08813179284334183, -0.3564175069332123, -0.11233537644147873, 0.5111224055290222, 0.8959896564483643, -0.969852089881897, 0.8667753338813782, 0.7377195954322815, -0.23144985735416412, -0.920187771320343, 0.01034372579306364, 0.20828701555728912, -0.52790367603302, 0.8384162783622742, -0.2775762677192688, -0.3777051866054535, -0.024542706087231636, -0.6029264330863953, -1.3245538473129272, 0.7801252603530884, -0.16939124464988708, -0.6625397801399231, -0.09464570134878159, -0.056648846715688705, 0.6583635807037354, 0.08590831607580185, -0.01788986288011074, 0.5759193897247314, 0.4899900555610657, 0.10200929641723633, -1.3163104057312012, 0.3153466284275055, -0.3408512473106384, 0.014983774162828922, 0.4231205880641937, -0.5224524736404419, 0.9379151463508606, 0.09735056757926941, -0.6150718927383423, 0.6140167713165283, 0.6460146307945251, -0.13334469497203827, -0.04448222741484642, 0.1379699409008026, 0.24251888692378998, 0.49298450350761414, -0.20191176235675812, 0.9308243989944458, -0.5757377743721008, 0.04414357990026474, 0.9835785031318665, -0.18837057054042816, 0.9497486352920532, 0.2952299118041992, -0.3372194468975067, 1.3390089273452759, 0.28499117493629456, 0.0490749254822731, 0.367820143699646, 0.2779674828052521, -0.08274263143539429, -0.12645038962364197, -0.22711767256259918, -0.32768121361732483, 0.5596420764923096, 0.31466254591941833, -0.37325456738471985, -0.20200830698013306, -0.5860857963562012, 0.5932241082191467, 0.524337649345398, -0.286560982465744, 0.7712333798408508, -0.1696244180202484, -0.36235910654067993, 0.6095301508903503, 0.6031014919281006, 0.6235448718070984, -0.8498755693435669, -0.30922994017601013, -0.06343679875135422, -0.06014489009976387, -0.33583885431289673, -0.4368985593318939, 0.24763253331184387, -0.32065507769584656, 0.030371056869626045, -0.4350840747356415, 0.8458071351051331, -0.624840259552002, -0.7132670879364014, -0.32743051648139954, 0.6307114362716675, 0.08607932180166245, 0.2777678072452545, -0.9733894467353821, -0.17192597687244415, -0.16353031992912292, 0.15942871570587158, 0.2910260558128357, 0.5189658403396606, -0.3730160593986511, 0.4123554825782776, 0.9345952868461609, 0.2674826681613922, 0.0008151419460773468, 0.0037191163282841444, 0.639804482460022, -0.47283482551574707, -0.5263633728027344, -0.7100995182991028, 0.29550251364707947, -0.06586368381977081, -0.1400960087776184, 0.9441291689872742, 0.008004043251276016, 0.47131678462028503, -0.07398293167352676, 0.4207402765750885, -0.23530663549900055, 0.3154328167438507, -0.9448729157447815, 0.7966321110725403, -0.3334173858165741, 0.1461363136768341, -0.6486286520957947, -0.747908890247345, -0.11755331605672836, 1.0330619812011719, -0.16450269520282745, 0.07529456168413162, 0.6777986884117126, 0.4108903706073761, 0.20675891637802124, -0.12380924820899963, 0.03229300677776337, 0.09839393198490143, 0.021028609946370125, 0.44061481952667236, 0.6030381321907043, -0.4068889319896698, 0.019981857389211655, -0.4613077640533447, -0.39894548058509827, -0.32979267835617065, -0.8520157337188721, -0.668483555316925, -0.6444637179374695, -0.48124805092811584, -0.4906819462776184, 0.5090786814689636, 1.1933059692382812, 0.6748387813568115, -0.6697446703910828, -0.4305188059806824, 0.09985552728176117, -0.2679655849933624, -0.4685090184211731, -0.334623783826828, 0.31764546036720276, -0.4891201853752136, -0.5346659421920776, 0.1740562617778778, 0.19443435966968536, 0.08762472122907639, -0.11825849860906601, 0.23885376751422882, -0.6183982491493225, 0.3779420554637909, 0.42118847370147705, 0.37719765305519104, -0.6419625878334045, -0.3126694858074188, -0.10939782857894897, -0.3203750550746918, 0.06743195652961731, 0.6392568349838257, -0.6915978789329529, 0.14373601973056793, 0.31065496802330017, 0.3870445489883423, 0.17453633248806, 0.2586759924888611, 0.7520552277565002, -0.9911026358604431, -0.0017218758584931493, 0.09144642949104309, 0.23655816912651062, 0.2567121386528015, -0.4841972887516022, 0.5804133415222168, 0.17139600217342377, -0.36577850580215454, -0.29856249690055847, 0.26591336727142334, -1.1605942249298096, -0.378741592168808, 1.4414818286895752, -0.05522817745804787, -0.090257428586483, -0.34807491302490234, -0.3378731310367584, 0.11244216561317444, -0.8195538520812988, 0.89649498462677, 0.7615223526954651, -0.12632696330547333, -0.09288714826107025, -0.39273154735565186, 0.9145811200141907, 0.4915297329425812, -0.6440141797065735, -0.18475989997386932, 0.5942948460578918, 0.3858714997768402, 0.13267861306667328, 0.5727950930595398, -0.1780717968940735, 0.7324473857879639, -0.4412100911140442, 0.3152656555175781, 0.05963439866900444, -0.4075770080089569, -0.3495520353317261, -0.1895332634449005, 0.26810845732688904, 0.23203729093074799 ]
http://arxiv.org/abs/2406.00842v1
http://arxiv.org/pdf/2406.00842v1
The Power of Summary-Source Alignments
2024-06-02T19:35:19
2024-06-02T19:35:19
Ori Ernst, Ori Shapira, Aviv Slobodkin, Sharon Adar, Mohit Bansal, Jacob Goldberger, Ran Levy, Ido Dagan
cs.CL
cs.CL
Multi-document summarization (MDS) is a challenging task, often decomposed to subtasks of salience and redundancy detection, followed by text generation. In this context, alignment of corresponding sentences between a reference summary and its source documents has been leveraged to generate training data for some of the component tasks. Yet, this enabling alignment step has usually been applied heuristically on the sentence level on a limited number of subtasks. In this paper, we propose extending the summary-source alignment framework by (1) applying it at the more fine-grained proposition span level, (2) annotating alignment manually in a multi-document setup, and (3) revealing the great potential of summary-source alignments to yield several datasets for at least six different tasks. Specifically, for each of the tasks, we release a manually annotated test set that was derived automatically from the alignment annotation. We also release development and train sets in the same way, but from automatically derived alignments. Using the datasets, each task is demonstrated with baseline models and corresponding evaluation metrics to spur future research on this broad challenge.
[ -0.3559257686138153, -0.0752953439950943, 0.3687469959259033, -0.14918312430381775, -0.15744684636592865, 0.1068354994058609, -0.04271561652421951, -0.18952372670173645, 0.5343154072761536, 0.19844959676265717, -0.8097216486930847, -0.24941132962703705, -0.6733179688453674, 0.4703662395477295, -0.6158217191696167, 1.4241348505020142, -0.3117825984954834, -0.12808719277381897, -0.2085452526807785, -0.26577913761138916, -0.45837467908859253, -0.05020963028073311, -0.033277321606874466, -0.13402901589870453, 0.7273257970809937, 0.5185502767562866, 0.5107584595680237, 1.076382040977478, 0.8224013447761536, 0.22206436097621918, 0.23341484367847443, 0.567438006401062, -0.18708781898021698, 0.25409170985221863, -0.21537601947784424, -0.1669338494539261, -0.623096764087677, 0.15801949799060822, 0.6633828282356262, 0.7436323165893555, -0.1143106147646904, 0.33159932494163513, 0.3386964499950409, 0.7029100656509399, -0.6993616819381714, 0.04657094180583954, -0.24215812981128693, -0.16854390501976013, -0.18398088216781616, -0.017363646999001503, -0.0994296669960022, -0.27395105361938477, 0.23704108595848083, -0.7974748015403748, 0.37890762090682983, -0.11659684032201767, 1.0816776752471924, 0.5238316059112549, -0.578518807888031, -0.2426595389842987, -0.18463419377803802, 0.5738518238067627, -0.6600077748298645, -0.011104466393589973, 0.11424042284488678, 0.5029637813568115, 0.272212952375412, -0.34821805357933044, -0.5744684338569641, 0.3691338002681732, -0.4281612038612366, 0.28790366649627686, 0.1600351780653, -0.08343837410211563, 0.03587709367275238, 0.48674333095550537, -0.4306134283542633, 0.006904197856783867, -0.5950304269790649, -0.11304298788309097, 0.7334259748458862, 0.23905223608016968, 0.0843949243426323, -0.45289772748947144, -0.28518998622894287, -0.037816330790519714, -0.5398592948913574, -0.34628593921661377, 0.3446959853172302, 0.7167216539382935, -0.3488357365131378, 1.2574154138565063, -0.267203152179718, 0.7677689790725708, 0.16380265355110168, -0.3302112817764282, 0.4319785237312317, -1.1440043449401855, -0.1687828153371811, 0.15338821709156036, 0.7861282825469971, 0.5895407795906067, 0.1412593573331833, -0.006451399531215429, 0.04035869613289833, -0.05134768411517143, 0.5888760685920715, -0.45225656032562256, -0.03925393149256706, 0.38646405935287476, -0.25972431898117065, -0.35245591402053833, 0.20884962379932404, -0.4845142662525177, -0.5780376195907593, -0.7997574806213379, 0.0734596997499466, -0.5147992968559265, 0.029836531728506088, -0.22138240933418274, -0.47695043683052063, 0.24920956790447235, 0.35688790678977966, -1.0728200674057007, -0.06761098653078079, 0.6737465858459473, 0.9899969100952148, -0.18705394864082336, -0.6608226895332336, -0.4985033869743347, 0.5893592238426208, -0.4654299020767212, 0.9042741060256958, -0.22953252494335175, -0.09263135492801666, -0.10901196300983429, -0.1189940944314003, -0.20215219259262085, -0.10401909798383713, 0.42311209440231323, 0.14731405675411224, 0.6581642031669617, -0.5749130845069885, -0.4688945412635803, 0.19460327923297882, 0.38946446776390076, -0.5211019515991211, 0.949417233467102, 0.34227454662323, -0.9700344800949097, 0.42393526434898376, -0.6362081170082092, -0.8182775974273682, -0.475321888923645, -0.2319624274969101, -0.4531629681587219, 0.19394969940185547, 0.5150450468063354, 0.5840821862220764, -0.13514818251132965, 0.2849099934101105, -0.132954940199852, -0.20892587304115295, -0.15708105266094208, -0.05748956650495529, 0.5815679430961609, 0.17037242650985718, -0.258733868598938, 0.3328677713871002, -0.8568108081817627, -0.37191298604011536, -0.1993124783039093, -0.2495848536491394, -0.34772294759750366, -0.12607848644256592, -0.3301983177661896, 0.26450228691101074, 0.27315032482147217, -0.27412790060043335, 0.4114401936531067, -0.28586211800575256, -0.014149011112749577, 0.5435993075370789, 0.03737987205386162, 0.6555472612380981, -0.5055533051490784, 0.5490285158157349, -0.14259222149848938, -0.18200291693210602, -0.769025981426239, 0.04194793105125427, -0.47006335854530334, -0.6660464406013489, 0.42890310287475586, 0.4926319420337677, -0.6243221759796143, 0.7785656452178955, -0.5874109864234924, -0.5065995454788208, -0.7576125860214233, -0.006446679122745991, 0.550293505191803, 0.8626531958580017, 0.4976557493209839, -0.03280997276306152, -0.6595675945281982, -1.1924625635147095, -0.1220657005906105, 0.24287919700145721, -0.2637656033039093, -0.26396462321281433, 0.4126741886138916, 0.14253641664981842, 0.9791544079780579, -0.6708745956420898, -0.6084405183792114, -0.25073784589767456, 0.240264430642128, -0.01689857989549637, 0.5258329510688782, 0.609640896320343, -0.5292744040489197, -0.22833849489688873, -0.12043193727731705, -0.9289344549179077, -0.31821194291114807, -0.3557285666465759, -0.17032736539840698, -0.027342990040779114, 0.3772011995315552, -0.40485644340515137, -0.08991125226020813, 0.37907251715660095, -0.1629113107919693, 0.536676287651062, -0.2241140604019165, 0.3419222831726074, -1.8447341918945312, 0.19889017939567566, 0.21895146369934082, -0.13097605109214783, -0.25615188479423523, 0.07860338687896729, 0.2340407818555832, 0.052504125982522964, -0.10367738455533981, 0.12694691121578217, -0.7273182272911072, -0.26311740279197693, -0.1886056810617447, 0.4493669867515564, 0.14720885455608368, 0.27151212096214294, -0.07875064015388489, 0.8400580286979675, 0.2621285617351532, -0.3122232258319855, 0.2126733660697937, 0.48985105752944946, -0.06781236082315445, 1.06609308719635, -0.4086090624332428, -0.43757954239845276, -0.4119793474674225, 0.4057871997356415, -0.9466197490692139, -0.5588085651397705, 0.09712408483028412, -0.2837437391281128, 0.31519877910614014, 0.005182649474591017, -0.4299818277359009, 0.06748597323894501, -0.7104147672653198, -0.03061635047197342, -0.09409791976213455, -0.3308647572994232, 0.6747936606407166, 0.3490358591079712, -0.36574023962020874, -1.0655341148376465, -0.6261134147644043, 0.14446081221103668, -0.4003121554851532, -0.2728208303451538, 0.34569334983825684, 0.31229400634765625, -0.0883755087852478, -0.055236440151929855, -0.38377827405929565, 0.3142099976539612, 0.06051173061132431, 0.20471204817295074, 0.44787701964378357, -0.04692962393164635, -0.08777863532304764, 0.5049008727073669, -0.1554023176431656, -0.21993957459926605, -0.21040059626102448, 0.1514231115579605, 0.27587100863456726, -0.3172900676727295, -0.3049847185611725, 0.6680682897567749, 0.4540330767631531, -0.3760843873023987, 0.5597089529037476, 0.3941117823123932, -0.45782044529914856, 0.1901155710220337, -0.14518578350543976, 0.3102990984916687, -0.3269854485988617, 0.27303051948547363, -0.44053885340690613, -0.3809266686439514, 0.32969823479652405, 0.039141397923231125, 0.616825520992279, 0.8249499797821045, 0.39628615975379944, -0.5164312720298767, 0.6837611794471741, 0.5467270016670227, 0.03617064654827118, 0.4597223699092865, -0.3033045828342438, 0.12172245234251022, -1.1211581230163574, -0.2138994336128235, -0.7323794960975647, -0.4506606459617615, -0.1738743633031845, -0.2184573858976364, 0.28919702768325806, 0.22897207736968994, -0.10632709413766861, 0.8394520878791809, -0.5294302105903625, 0.6796848773956299, 0.42882660031318665, -0.07452426850795746, 0.3911237418651581, -0.098207987844944, -0.07863841950893402, -0.02531958930194378, -0.3684990406036377, -0.6458065509796143, 1.09239661693573, 0.07654155790805817, 0.45272573828697205, 0.2648850679397583, 0.9873186945915222, 0.24062612652778625, 0.3597165644168854, -0.5852435231208801, 0.19736891984939575, -0.11670558154582977, -0.42706215381622314, -0.38495853543281555, -0.16688668727874756, -0.6625633835792542, 0.3554171025753021, -0.36315402388572693, -0.5002046823501587, 0.21671995520591736, 0.10360946506261826, -0.6374863982200623, -0.26583048701286316, -0.9807637333869934, 0.818940281867981, -0.04204714670777321, -0.00029319809982553124, 0.023828359320759773, -0.9676311016082764, 0.5081750154495239, -0.22049924731254578, 0.18301795423030853, -0.13906611502170563, -0.1435035765171051, 0.6730629801750183, -0.5174801349639893, 0.803716242313385, 0.021310532465577126, -0.3699975311756134, -0.04728540778160095, -0.26526060700416565, 0.42344051599502563, -0.1582731008529663, 0.07212319225072861, -0.16935794055461884, 0.1660986989736557, -0.49068719148635864, -0.46391257643699646, 0.3502304255962372, -0.3416953384876251, -0.24574200809001923, -0.5922459363937378, -0.789385199546814, -0.2998235523700714, 0.4214906394481659, 0.22171713411808014, 0.35527467727661133, -0.06659114360809326, -0.1203790083527565, 0.24348096549510956, 0.21665118634700775, 0.5373581647872925, 0.14195439219474792, 0.06541317701339722, -0.6671469807624817, 0.869862973690033, 0.07879526913166046, 0.3092687427997589, 0.48121947050094604, -0.08997437357902527, -0.3236822187900543, -0.6783756017684937, -0.7246269583702087, 0.1332518607378006, -0.6308361291885376, -0.49660295248031616, -0.5146509408950806, 0.02360600046813488, -0.6479545831680298, -0.5894045829772949, -0.3076372444629669, -0.731532633304596, -0.22155576944351196, -0.42561376094818115, -0.04061255231499672, 0.6881431937217712, -0.17798559367656708, 0.3691294193267822, -0.8155163526535034, 0.6831174492835999, -0.08092014491558075, 0.054955314844846725, -0.3648759722709656, -0.2965608239173889, -0.4546396732330322, 0.15670429170131683, -0.29525384306907654, -0.8349272608757019, 0.04619084298610687, 0.061219457536935806, 0.4342730939388275, 0.4406849443912506, 0.11341177672147751, 0.9622223377227783, -0.47164687514305115, 0.7925915122032166, 0.42736509442329407, -0.8396400213241577, 0.5455593466758728, -0.5533454418182373, 0.2775660753250122, 0.8916083574295044, 0.33655598759651184, -0.25364649295806885, -0.493642121553421, -0.5086222887039185, -0.8717229962348938, 0.5602074265480042, 0.2406626045703888, -0.18093274533748627, 0.13024576008319855, 0.25895020365715027, 0.3118424415588379, 0.37221693992614746, -0.1929113119840622, -0.18445397913455963, -0.2374841421842575, -0.8964001536369324, -0.23610572516918182, 0.035997454077005386, -0.6052574515342712, -0.016110865399241447, 0.6909391283988953, -0.5642557740211487, -0.06976243108510971, 0.19912269711494446, -0.26836708188056946, 0.15276522934436798, 0.2998121380805969, 0.7541525959968567, 0.8539862036705017, -0.1251954436302185, 0.15572217106819153, -0.06284518539905548, -0.1972155123949051, 0.15757553279399872, 0.6206229329109192, -0.09880009293556213, -0.07065287977457047, 0.7877349853515625, 0.3659871220588684, 0.17649367451667786, -0.5149099230766296, 0.5541707873344421, 0.14760451018810272, -0.1146794930100441, -0.015360955148935318, -0.1076648011803627, 0.2010907232761383, 0.33238139748573303, 0.43225643038749695, 0.25993025302886963, 0.03935437276959419, -0.3517240285873413, 0.3539525866508484, 0.37103745341300964, -0.10886628180742264, -0.026122434064745903, 0.6941598653793335, 0.17313137650489807, 0.141593337059021, 0.2286088615655899, -0.16340476274490356, -0.23762214183807373, 0.37496113777160645, 0.16292527318000793, 0.6663084626197815, 0.07847116887569427, 0.13585874438285828, 0.27891144156455994, 0.2677235007286072, -0.2831580340862274, 0.08553895354270935, -0.17427976429462433, -0.4385908842086792, -0.6493947505950928, -0.43349382281303406, -0.3616999387741089, -0.517819881439209, -0.7350289225578308, 0.32500630617141724, 0.042825572192668915, 0.21754224598407745, 0.4282476007938385, -0.043945666402578354, -0.1972508579492569, 0.12057654559612274, -0.05038289725780487, 0.7242836356163025, -1.0108003616333008, 0.5927844643592834, 0.5236287713050842, -0.7225394248962402, -0.6442943811416626, 0.20299112796783447, 0.4127383530139923, -0.5527803301811218, 0.141464963555336, 0.05129300430417061, 0.006017249543219805, -0.25066033005714417, -0.11885906755924225, -0.9195845723152161, 1.347482681274414, 0.6040944457054138, -0.46346724033355713, -0.44868990778923035, -0.15874634683132172, 0.4800806939601898, -0.5392557978630066, -0.08022686839103699, 0.6650765538215637, 0.3765389025211334, 0.08397545665502548, -1.124116063117981, 0.11765187233686447, -0.20552514493465424, -0.2939917743206024, 0.3275093138217926, -0.39412721991539, 0.5789730548858643, -0.44412529468536377, -0.16855481266975403, 0.02307230792939663, 0.7204107046127319, 0.3815070390701294, -0.006752950605005026, 0.22069312632083893, 0.5492202043533325, 0.8221041560173035, -0.22472621500492096, 1.146990418434143, -0.04226236417889595, 0.19293174147605896, 1.7053017616271973, -0.20145127177238464, 0.5494967699050903, 0.5102860331535339, -0.13526517152786255, 0.2272741049528122, 0.6781026721000671, -0.07290540635585785, 0.5846618413925171, 0.07817539572715759, 0.07638589292764664, 0.25482237339019775, -0.15503117442131042, -0.4180663228034973, 0.28637808561325073, 0.0194077230989933, -0.5160301327705383, -0.5507626533508301, -0.1354304999113083, 0.1355423629283905, 0.13966582715511322, -0.08940280973911285, 0.9377637505531311, -0.19338339567184448, -0.8324095606803894, 0.16835246980190277, -0.05736839398741722, 0.5909931063652039, -0.6168940663337708, -0.0013532619923353195, -0.2129797786474228, 0.07930745929479599, -0.4018287658691406, -0.7860966920852661, 0.6708182096481323, 0.10813543200492859, -0.37456467747688293, -0.47792208194732666, 0.2963021397590637, -0.5289510488510132, -0.4892779290676117, -0.22886456549167633, 0.5171277523040771, -0.08565911650657654, 0.017745966091752052, -0.3109523355960846, -0.23196445405483246, -0.07901742309331894, -0.09281373769044876, 0.3677927851676941, 0.38454335927963257, -0.008151333779096603, 0.12310392409563065, 0.4584387540817261, 0.1389995813369751, -0.02315828576683998, 0.12249554693698883, 0.6985875964164734, -0.6174507141113281, -0.5578272938728333, -0.721240222454071, 0.6754858493804932, -0.5042538046836853, -0.44234588742256165, 0.7694893479347229, 0.9680520296096802, 0.8332467675209045, 0.20144139230251312, 1.0613924264907837, -0.2639143168926239, 0.5477873086929321, -0.5393789410591125, 0.42568060755729675, -0.4367537796497345, 0.22046802937984467, -0.4788634479045868, -0.7820369005203247, -0.3442842364311218, 0.44760197401046753, 0.05292540788650513, -0.33064505457878113, 1.0077887773513794, 0.3490188419818878, -0.1445077806711197, -0.07866482436656952, -0.3146370053291321, -0.29583024978637695, 0.3205312490463257, 0.28601232171058655, 0.37351343035697937, -0.4930724501609802, 0.49567559361457825, -0.2563246488571167, -0.14501650631427765, 0.2208002209663391, -1.0616865158081055, -0.731054425239563, -0.8822512030601501, -0.4903598427772522, -0.37217292189598083, -0.04403651878237724, 0.9868366718292236, 0.49059295654296875, -0.7813395261764526, 0.02540801279246807, 0.09922230988740921, 0.06073826923966408, -0.6239171624183655, -0.15272757411003113, 0.7098076343536377, -0.41292983293533325, -0.8154259324073792, 0.5433911085128784, 0.2812303900718689, 0.2884025573730469, -0.04644356667995453, 0.19049493968486786, -0.38391560316085815, -0.24436572194099426, 0.3954566717147827, 0.17283812165260315, -0.4629710018634796, -0.3228404223918915, -0.1806028187274933, -0.19356465339660645, -0.05276918783783913, 0.9855778813362122, -0.46781009435653687, 0.12168370187282562, 0.4989098310470581, 0.8434562683105469, 0.26443687081336975, 0.6123298406600952, 0.8593687415122986, -1.340433955192566, -0.20620782673358917, -0.12023424357175827, 0.6952482461929321, 0.40361419320106506, -0.26248008012771606, 0.7137784361839294, 0.01215475145727396, 0.03597649186849594, -0.881542444229126, 0.08065474778413773, -1.133148193359375, -0.33079206943511963, 0.8646320104598999, -0.06291116029024124, 0.14824995398521423, 0.04867880046367645, -0.3055340647697449, 0.5633925199508667, -0.24066214263439178, 0.8545187711715698, 0.8932977914810181, -0.32037943601608276, -0.08470377326011658, -0.2038770467042923, 0.4071112275123596, 0.23648037016391754, -1.2276301383972168, 0.4712519943714142, 0.8596708178520203, 0.1043618693947792, 0.6103710532188416, 0.48279374837875366, -0.1861785501241684, 0.11600048094987869, -0.11081802099943161, 0.03468719497323036, -0.38852807879447937, -0.4314901530742645, -0.4849171042442322, 0.41043323278427124, -0.43282854557037354, -0.5683758854866028 ]
http://arxiv.org/abs/2406.10238v1
http://arxiv.org/pdf/2406.10238v1
Early Detection of Misinformation for Infodemic Management: A Domain Adaptation Approach
2024-06-02T19:27:56
2024-06-02T19:27:56
Minjia Mao, Xiaohang Zhao, Xiao Fang
cs.CL
cs.CL, cs.LG, cs.SI
An infodemic refers to an enormous amount of true information and misinformation disseminated during a disease outbreak. Detecting misinformation at the early stage of an infodemic is key to manage it and reduce its harm to public health. An early stage infodemic is characterized by a large volume of unlabeled information concerning a disease. As a result, conventional misinformation detection methods are not suitable for this misinformation detection task because they rely on labeled information in the infodemic domain to train their models. To address the limitation of conventional methods, state-of-the-art methods learn their models using labeled information in other domains to detect misinformation in the infodemic domain. The efficacy of these methods depends on their ability to mitigate both covariate shift and concept shift between the infodemic domain and the domains from which they leverage labeled information. These methods focus on mitigating covariate shift but overlook concept shift, rendering them less effective for the task. In response, we theoretically show the necessity of tackling both covariate shift and concept shift as well as how to operationalize each of them. Built on the theoretical analysis, we develop a novel misinformation detection method that addresses both covariate shift and concept shift. Using two real-world datasets, we conduct extensive empirical evaluations to demonstrate the superior performance of our method over state-of-the-art misinformation detection methods as well as prevalent domain adaptation methods that can be tailored to solve the misinformation detection task.
[ -0.38567811250686646, -0.9636171460151672, 0.2533445656299591, 0.06441367417573929, -0.31885430216789246, -0.04240885004401207, 0.08947410434484482, -0.5722410082817078, -0.06347323954105377, 0.2135182023048401, -0.8110261559486389, -0.5017604231834412, -0.662133514881134, -0.04245081543922424, -0.3292423188686371, 1.1235712766647339, 0.10495705157518387, -0.2638629674911499, -0.2930811047554016, 0.24059824645519257, -0.5168560743331909, -0.4784352779388428, -0.6758918762207031, -0.3085475564002991, 0.2105444073677063, 0.7580873966217041, 0.448668897151947, 0.33702799677848816, 0.8148742914199829, -0.0387360081076622, 0.14510440826416016, 0.18172724545001984, -0.7933436632156372, 0.025284409523010254, -0.16859394311904907, -0.5083346366882324, -0.2735516428947449, 0.09956827014684677, 0.15816029906272888, 0.5926862359046936, -0.3145063519477844, 0.48852086067199707, -0.14131487905979156, 0.5620600581169128, -0.8059449791908264, 0.006009305827319622, -0.712395191192627, 0.1662520319223404, -0.47512057423591614, -0.6008045673370361, -0.6400188207626343, -0.14796598255634308, 0.19784554839134216, -1.0496352910995483, 0.14296652376651764, 0.11055298149585724, 0.7920004725456238, 0.14736740291118622, -0.2660694122314453, -0.23223894834518433, -1.1596200466156006, 0.45985671877861023, -0.40266379714012146, 0.2872079312801361, 0.27452802658081055, 0.3291049301624298, -0.21131539344787598, -0.46755218505859375, -0.5846240520477295, 0.2520556151866913, 0.316361665725708, 0.047912657260894775, -0.7663537263870239, -0.4727987051010132, 0.2991085648536682, -0.19463549554347992, -0.6198855638504028, 0.1824408918619156, -0.405329167842865, -0.32847732305526733, 0.3889322578907013, -0.06472049653530121, 0.21357956528663635, 0.14832265675067902, -1.0479555130004883, -0.2559144198894501, -0.8435218334197998, 0.03197735548019409, 0.18067049980163574, 0.2218024879693985, -0.2777993977069855, 0.12903791666030884, 0.03993343189358711, 0.6166365146636963, 0.6958329677581787, -0.4456787109375, 0.026640605181455612, -0.4881587028503418, -0.18763580918312073, 0.4399816393852234, 0.220237597823143, 0.4254348874092102, -0.012188558466732502, 0.10423602163791656, 0.028152626007795334, 0.020515309646725655, 0.4509822130203247, -0.7465946674346924, -0.44868582487106323, 0.0002598318096715957, -0.6324211359024048, -0.16693341732025146, -0.05587751045823097, -0.8627691268920898, -0.663981556892395, -0.16683754324913025, 0.5672131180763245, -0.5557860732078552, -0.48097485303878784, 0.04593547806143761, -0.1825919896364212, -0.0008790148422122002, 0.6280471682548523, -0.3976784348487854, 0.2941344678401947, 0.45791396498680115, 0.7545889019966125, -0.5290530920028687, 0.11672911792993546, -0.246520534157753, 0.3050031363964081, -0.36527717113494873, 1.0021148920059204, -0.3824895918369293, -0.10338778793811798, -0.22125208377838135, -0.09776554256677628, -0.5139395594596863, -0.7423455715179443, 0.4424109160900116, -0.7545965909957886, -0.05884372442960739, 0.021455887705087662, -0.5936757326126099, -0.36180001497268677, 0.1657252311706543, -0.7633832097053528, 0.6975958347320557, 0.2490915060043335, -1.0548231601715088, 0.5439022183418274, -0.6803840398788452, -0.29373928904533386, 0.058740757405757904, 0.29226094484329224, -0.6814433932304382, 0.06662900000810623, -0.027125578373670578, 0.3061501681804657, -0.26513370871543884, 0.07331263273954391, -0.3331599235534668, -0.0814918801188469, 0.33762380480766296, -0.26749345660209656, 0.5630455017089844, 0.34599390625953674, -0.07784223556518555, -0.20349526405334473, -0.7338069677352905, -0.0978139117360115, 0.10460903495550156, -0.049139413982629776, -0.8442880511283875, -0.0012239087373018265, -0.1584377884864807, 0.20412218570709229, -0.059688765555620193, -0.16816259920597076, 0.25063854455947876, 0.07278405129909515, -0.2859601378440857, 0.5754633545875549, 0.5009418725967407, 0.33164218068122864, -0.40550994873046875, 0.5401623845100403, 0.8481407165527344, 0.6016659736633301, 0.08539170026779175, -0.31079357862472534, -0.3677179515361786, -0.2737654149532318, 0.24898868799209595, 0.7801148295402527, -0.9588990211486816, 0.42105957865715027, -0.3110560476779938, -0.4388807415962219, -0.45373597741127014, -0.10300692170858383, -0.011428164318203926, 0.6911826729774475, 0.5552504062652588, -0.2148861289024353, -0.6505302786827087, -0.7411434650421143, -0.47398534417152405, -0.18547043204307556, 0.29042303562164307, -0.3013133406639099, 0.4738534092903137, -0.23153311014175415, 0.7186076641082764, -0.6420902609825134, -0.20881325006484985, -0.12059558182954788, 0.40311214327812195, 0.2561536431312561, 0.2772596776485443, 0.5626943707466125, -1.1523849964141846, -0.2785871624946594, -0.08136559277772903, -0.5545468330383301, 0.13861455023288727, -0.2457309365272522, -0.08396691083908081, -0.2453061193227768, 0.436514675617218, -0.24670721590518951, 0.5842589735984802, 0.33042412996292114, -0.4026532471179962, 0.4239928722381592, -0.1685609519481659, 0.10471394658088684, -1.0233958959579468, -0.05558557063341141, 0.17050954699516296, -0.12000080943107605, -1.1927335262298584, -0.32186824083328247, 0.2172829508781433, 0.19832409918308258, -0.25330641865730286, 0.21565259993076324, -0.3658183217048645, 0.23725520074367523, -0.23655660450458527, -0.1100764274597168, -0.025668280199170113, 0.10066436976194382, -0.15212678909301758, 0.5869746804237366, 0.43539053201675415, -1.2024379968643188, 0.1469101756811142, 0.21389999985694885, -0.5433744788169861, 0.9556862115859985, -0.009731357917189598, 0.023736242204904556, -0.1373349279165268, 0.23732012510299683, -0.9100825190544128, -0.014184597879648209, 0.7699472904205322, -0.38921263813972473, 0.3522413372993469, -0.1275729089975357, -0.23111222684383392, -0.3684101402759552, -0.1506800502538681, 0.4188826084136963, -0.011696887202560902, -0.693742036819458, 0.05358098819851875, 0.5755305886268616, -0.32981768250465393, -0.32328712940216064, -0.48497751355171204, 0.005442211404442787, -0.38136282563209534, -0.5223625898361206, 0.36997610330581665, -0.1503271758556366, -0.31777846813201904, 0.0777442678809166, -0.5144765973091125, -0.4602978527545929, 0.4234560430049896, -0.03656948357820511, 0.39642950892448425, -0.2969900667667389, 0.597196102142334, -0.011493858881294727, -0.21747028827667236, -0.17030709981918335, -0.45333898067474365, 0.22284212708473206, 0.4067540168762207, -0.34282374382019043, -0.6180658936500549, 0.33410340547561646, 0.3174475133419037, 0.10136885195970535, 0.902010977268219, 0.5160924196243286, -0.5802288055419922, -0.1659550964832306, -0.17935198545455933, -0.2988443076610565, -0.30015501379966736, 0.5046179294586182, -0.17015573382377625, -0.20218800008296967, 0.1170341819524765, -0.7657309174537659, -0.38596630096435547, 0.5568872094154358, 0.13439930975437164, -0.04540608078241348, 0.6792213916778564, 0.9695002436637878, 0.013496993109583855, 0.401504784822464, -0.1327543556690216, 0.5585307478904724, -0.6287367343902588, -0.2656029462814331, -0.46017566323280334, -0.16212862730026245, -0.4129634201526642, -0.6669114828109741, 0.6874243021011353, 0.32276785373687744, 0.13316987454891205, 0.03194452449679375, -0.2687436044216156, 0.06569398194551468, 0.09268030524253845, 0.32613807916641235, 0.41201719641685486, 0.17193713784217834, 0.19922220706939697, -0.03593546897172928, -1.001886248588562, -0.31557223200798035, 1.2227660417556763, 0.2714957892894745, 1.1373636722564697, 0.16289132833480835, 0.3187536895275116, 0.8605750799179077, 0.2471153885126114, -0.6608614325523376, 0.0812101885676384, -0.0032393671572208405, -0.43137457966804504, -0.31699126958847046, -0.2470952719449997, -0.9246651530265808, 0.06738350540399551, -0.45148128271102905, -0.5457954406738281, 0.7376844882965088, -0.001722010551020503, -0.43699318170547485, 0.2767835259437561, -0.674322783946991, 0.6496745944023132, -0.05236921086907387, -0.04099981114268303, -0.26457491517066956, -0.5412485599517822, 0.21794509887695312, -0.4970906376838684, 0.7240800857543945, -0.09239854663610458, -0.05950801074504852, 0.9242407083511353, 0.006246466189622879, 1.0028754472732544, -0.3056527078151703, -0.2970680594444275, 0.27462300658226013, -0.04111737012863159, 0.7061733603477478, -0.1077784076333046, -0.002824321622028947, 0.15297985076904297, -0.026634659618139267, -0.30248329043388367, -0.35901254415512085, 0.2563289999961853, -0.7511999011039734, -0.38346585631370544, -0.45546388626098633, -0.37441086769104004, -0.17750628292560577, 0.0650986060500145, 0.4564950168132782, 0.09260360896587372, -0.5590320825576782, -0.1355627477169037, 1.146958351135254, 0.05385999009013176, 0.15047936141490936, 0.6530076861381531, 0.02987568825483322, 0.060180120170116425, 0.7432447075843811, 0.1436382532119751, 0.3802555203437805, 0.5974718928337097, 0.25715717673301697, -0.00026024007820524275, -0.6439440250396729, -0.12172037363052368, -0.18789921700954437, -0.8470795750617981, -0.4273161292076111, -0.493269145488739, -0.16369614005088806, -0.3928224742412567, 0.45647263526916504, -0.05546221882104874, -0.3552602529525757, -0.39595675468444824, 0.02023291029036045, 0.44445037841796875, 0.7194573879241943, -0.29400140047073364, 0.4358859956264496, -0.6136199235916138, 0.6302530765533447, 0.14742620289325714, -0.031174086034297943, -0.24930532276630402, -0.573782205581665, -0.6171766519546509, 0.44697678089141846, -0.3744969069957733, -1.0219624042510986, 0.12937133014202118, 0.4466453194618225, 0.6577523946762085, 0.5721186399459839, 0.2741867005825043, 0.4796231687068939, -0.08608601987361908, 0.3612976372241974, 0.3131921589374542, -0.7357121109962463, 0.6246166825294495, 0.08633449673652649, 0.19099628925323486, 0.37351638078689575, 0.851169228553772, -0.7424339056015015, -0.004506711848080158, -0.5273317098617554, -0.6373134255409241, 0.9218966960906982, -0.07882224023342133, -0.45360830426216125, 0.23770634829998016, 0.24127615988254547, 0.5365663766860962, 0.2525104284286499, -0.27739769220352173, -0.31848788261413574, 0.0013388009974732995, 0.04204576835036278, 0.12819448113441467, -0.1125241219997406, -0.4576970338821411, -0.15387892723083496, 0.7235202789306641, -0.2695472240447998, 0.6134796738624573, 0.2757749557495117, -0.4999866783618927, -0.36816540360450745, 0.27940231561660767, 0.636149525642395, 0.8031994700431824, -0.062159840017557144, 0.3469845652580261, -0.19401060044765472, -0.808725893497467, 0.38589930534362793, 0.10419236868619919, -0.34850457310676575, 0.17495213449001312, 0.3471852242946625, 0.9831154942512512, 0.15989111363887787, -0.1365206241607666, 0.8315056562423706, 0.02396925538778305, 0.04178301990032196, -0.03896833583712578, 0.05618768557906151, -0.24409835040569305, 0.2960643768310547, 0.5790971517562866, 0.6216882467269897, 0.0760984793305397, -0.6274389624595642, 0.21024774014949799, 0.14581945538520813, -0.23967058956623077, -0.5664461851119995, 0.19520926475524902, -0.042329803109169006, -0.004548894241452217, 0.12400104850530624, 0.009690819308161736, -0.2450057417154312, 0.6862661838531494, 0.8968058824539185, 0.765564501285553, -0.7048389911651611, 0.5406709313392639, 0.1607571393251419, 0.36298638582229614, -0.04857119917869568, 0.08529123663902283, 0.11189202964305878, -0.8434707522392273, -0.0689336434006691, -0.0775994285941124, -0.1124139279127121, 0.33874624967575073, -0.9273988604545593, 0.15726156532764435, -0.21766698360443115, -0.41466209292411804, 0.29551106691360474, -0.3699262738227844, -0.8278402090072632, 0.2971731722354889, 0.2854806184768677, 0.97393798828125, -1.0650237798690796, 0.5211964249610901, 0.7032492160797119, 0.011476458981633186, -0.25769466161727905, 0.6755169034004211, 0.0291795264929533, -0.8117774724960327, 0.7001218199729919, -0.03147253021597862, -0.09139472246170044, -0.14677047729492188, -0.8084256649017334, -1.03609299659729, 0.9608351588249207, 0.3117068111896515, -0.6784946918487549, 0.16652202606201172, -0.045147329568862915, 0.3047661781311035, -0.6592155694961548, -0.009178089909255505, 0.44599834084510803, 0.6837384700775146, 0.04998033866286278, -0.7222034931182861, 0.015309284441173077, 0.1303463876247406, -0.0977407917380333, 0.08688192814588547, -0.31208303570747375, 0.9184079766273499, -0.48569104075431824, -0.45929762721061707, -0.4255169630050659, 0.4284326732158661, -0.15548297762870789, 0.6709185242652893, 0.7005085349082947, 0.34156283736228943, 1.3729327917099, 0.0028541390784084797, 0.8932579755783081, -0.18651126325130463, 0.3299190402030945, 1.0858268737792969, -0.20143328607082367, 0.5931719541549683, 0.4941369593143463, -0.11548753082752228, 0.5183554291725159, 0.8426342606544495, 0.18982674181461334, 0.9130377173423767, 0.23480281233787537, -0.2839747667312622, -0.4053773880004883, -0.13134987652301788, -0.7484707832336426, 0.3598429560661316, 0.7982429265975952, -0.07097970694303513, -0.37277549505233765, 0.4990784823894501, -0.06620273739099503, -0.24426785111427307, -0.45268356800079346, 0.9633132219314575, -0.21437184512615204, -0.3332265019416809, 0.884684145450592, 0.0022208490408957005, 0.310578852891922, -0.5740038752555847, -0.06628008931875229, 0.13211137056350708, 0.38246336579322815, -0.2001335769891739, -0.3275110721588135, 0.07935761660337448, -0.14123661816120148, -0.5251360535621643, 0.07626152783632278, 1.2030407190322876, -0.4236100912094116, -0.32546180486679077, 0.3023645877838135, 0.7626091241836548, -0.11319886893033981, -0.1095273345708847, -0.6106548309326172, 0.09480779618024826, -0.0723898783326149, -0.03520512580871582, 0.25199422240257263, 0.6496486067771912, -0.3508206307888031, 0.5573564767837524, 0.5215622186660767, 0.20807430148124695, 0.058952897787094116, -0.21189090609550476, 0.866428792476654, -0.45257827639579773, -0.639742374420166, -0.6300941705703735, 0.01099093072116375, -0.21324510872364044, 0.00044087867718189955, 0.6525934338569641, 0.5334292054176331, 0.7988413572311401, -0.32003381848335266, 1.241451382637024, 0.06749007850885391, 0.6777399182319641, -0.5430665016174316, 0.3869474530220032, -0.31806135177612305, 0.2766396999359131, -0.02379235439002514, -0.6096516251564026, -0.0765361487865448, 0.3137313425540924, -0.2623102068901062, -0.34518396854400635, 0.8109624981880188, 0.3647567629814148, -0.1783338189125061, 0.29966726899147034, 0.20643602311611176, 0.5488938093185425, 0.20103426277637482, 0.4811262786388397, 0.9124165177345276, -0.3961848318576813, 0.2876394987106323, -0.007297071628272533, -0.5239818096160889, -0.7733823657035828, -0.9033118486404419, -0.49132922291755676, -0.49138835072517395, -0.7336952090263367, -0.4394007921218872, 0.4889470040798187, 0.7475041151046753, 0.9264857172966003, -0.9206864237785339, 0.19008095562458038, 0.1608913242816925, 0.3500528335571289, -0.7349845767021179, -0.24900922179222107, 0.1675393134355545, -0.07597100734710693, -0.15044906735420227, 0.4407617747783661, 0.3582489788532257, 0.2287304848432541, 0.07527033984661102, 0.3417048752307892, -0.6710219979286194, 0.2908172607421875, 0.5668807625770569, 0.2884664237499237, -0.04302630200982094, -0.23824332654476166, -0.25733688473701477, -0.2087760865688324, 0.2484757900238037, 0.8043751120567322, -0.6737063527107239, 0.5816957950592041, 0.23294512927532196, 0.5792401432991028, 0.38544610142707825, -0.07096048444509506, 0.3266122043132782, -0.681101381778717, 0.053337737917900085, 0.08283165097236633, -0.3078596889972687, 0.35241979360580444, -0.7628302574157715, 0.2936824858188629, 0.5975305438041687, -0.07842390239238739, -0.5598428249359131, 0.17721864581108093, -0.7193379402160645, -0.3033590018749237, 0.9679805040359497, -0.04198973625898361, -0.4237469732761383, -0.5778141617774963, -0.0640106275677681, 0.3867476284503937, -0.37088197469711304, 1.0729721784591675, 0.6832774877548218, -0.2708323895931244, 0.41285669803619385, -0.44617441296577454, 0.63126140832901, -0.13560126721858978, -1.107686161994934, -0.06322410702705383, -0.025077560916543007, 0.5015169978141785, 0.2862493693828583, 0.5254518985748291, 0.09177426993846893, 0.5083551406860352, -0.049192287027835846, 0.09136654436588287, 0.14502793550491333, -0.5063878297805786, -0.3211851716041565, 0.01947200298309326, -0.22692017257213593, -0.5315130352973938 ]
http://arxiv.org/abs/2406.00839v1
http://arxiv.org/pdf/2406.00839v1
FOCUS: Forging Originality through Contrastive Use in Self-Plagiarism for Language Models
2024-06-02T19:17:00
2024-06-02T19:17:00
Kaixin Lan, Tao Fang, Derek F. Wong, Yabo Xu, Lidia S. Chao, Cecilia G. Zhao
cs.CL
cs.CL, cs.AI
Pre-trained Language Models (PLMs) have shown impressive results in various Natural Language Generation (NLG) tasks, such as powering chatbots and generating stories. However, an ethical concern arises due to their potential to produce verbatim copies of paragraphs from their training data. This is problematic as PLMs are trained on corpora constructed by human authors. As such, there is a pressing need for research to promote the generation of original content by these models. In this study, we introduce a unique "self-plagiarism" contrastive decoding strategy, aimed at boosting the originality of text produced by PLMs. Our method entails modifying prompts in LLMs to develop an amateur model and a professional model. Specifically, the amateur model is urged to plagiarize using three plagiarism templates we have designed, while the professional model maintains its standard language model status. This strategy employs prompts to stimulate the model's capacity to identify non-original candidate token combinations and subsequently impose penalties. The application of this strategy is integrated prior to the model's final layer, ensuring smooth integration with most existing PLMs (T5, GPT, LLaMA) without necessitating further adjustments. Implementing our strategy, we observe a significant decline in non-original sequences comprised of more than three words in the academic AASC dataset and the story-based ROCStories dataset.
[ -0.28054580092430115, -0.4754125475883484, 0.30022457242012024, 0.29456937313079834, -0.7641472816467285, -0.06296422332525253, 0.09790566563606262, -0.06753619760274887, 0.10525129735469818, 1.0294278860092163, -0.4266375005245209, -0.4525955617427826, -0.2495540827512741, 0.5936259627342224, -0.47874411940574646, 1.1062655448913574, 0.038188956677913666, 0.009982380084693432, -0.30047309398651123, -0.30460935831069946, -0.16715191304683685, -0.552121639251709, -0.5608729720115662, -0.10578533262014389, 0.3860105276107788, 0.24364586174488068, 0.4479686915874481, 0.955567479133606, 0.34023910760879517, 0.24648930132389069, -0.03919246420264244, 0.08116485178470612, -0.5874068737030029, 0.041943278163671494, -0.27641603350639343, -0.28933703899383545, -0.13759835064411163, 0.16587787866592407, 0.5706129670143127, 0.35198429226875305, 0.01661740057170391, -0.026191547513008118, 0.4377966821193695, 0.5462582111358643, -0.6124830842018127, -0.11856818944215775, -0.738188624382019, -0.0008575269021093845, -0.14680461585521698, -0.587936282157898, -0.4682551920413971, -0.2149764746427536, -0.11056667566299438, -0.47541990876197815, 0.5469275116920471, -0.13624107837677002, 0.5429883003234863, 0.07650228589773178, -0.0751725435256958, -0.6104263663291931, -0.34255191683769226, 0.7190455794334412, -1.0394353866577148, -0.09595226496458054, -0.013490079902112484, -0.23647983372211456, 0.03919510543346405, -0.8616729974746704, -0.853257417678833, -0.12849834561347961, -0.3094131052494049, 0.20661984384059906, -0.1788852959871292, -0.27889057993888855, -0.2040298879146576, 0.7123764753341675, -0.3453631103038788, 0.2683272063732147, -0.275942862033844, -0.07860321551561356, 0.5022839307785034, 0.2744196355342865, 0.18764671683311462, -0.4511256515979767, -0.6719680428504944, -0.08010701835155487, -0.8684388995170593, -0.12697263062000275, 0.7191353440284729, 0.4666955769062042, -0.1714356690645218, 0.38004186749458313, -0.09112667292356491, 0.30927374958992004, 0.05500061437487602, 0.14469584822654724, 0.3795849084854126, -0.5983125567436218, -0.07154883444309235, -0.09213606268167496, 1.0097099542617798, 0.44028574228286743, -0.019295597448945045, -0.0601741187274456, -0.3607017397880554, 0.059652481228113174, 0.17315058410167694, -0.6917830109596252, -0.5950626730918884, -0.140485480427742, -0.5956418514251709, -0.5693289041519165, -0.16493649780750275, -0.7583299279212952, -0.4287814795970917, -0.414832204580307, 0.5115408897399902, -0.3983358144760132, -0.22944767773151398, 0.1282864660024643, -0.02742670103907585, 0.20967519283294678, 0.010493072681128979, -0.7192660570144653, 0.318264901638031, 0.5043618083000183, 0.7835034132003784, -0.30978822708129883, -0.5018831491470337, -0.31541872024536133, 0.08993630111217499, -0.3883190453052521, 0.5810607075691223, -0.1609160155057907, -0.6921968460083008, -0.11799504607915878, -0.23182256519794464, 0.24835602939128876, -0.6783291101455688, 0.709023118019104, -0.4002552330493927, 0.45987391471862793, -0.18329478800296783, -0.6250210404396057, 0.07206933200359344, -0.051820237189531326, -0.6925593018531799, 0.7805051207542419, -0.27328863739967346, -1.0417776107788086, 0.024498339742422104, -0.530194878578186, -0.304008811712265, 0.22352683544158936, -0.39553847908973694, -0.5791592597961426, 0.19389411807060242, 0.34175169467926025, 0.2441462278366089, -0.14735041558742523, 0.006922566331923008, 0.0024288108106702566, -0.2887268662452698, 0.16155748069286346, -0.4144056439399719, 0.7688931822776794, 0.3561267852783203, -0.25147753953933716, -0.01470896415412426, -0.6904069185256958, -0.2890399098396301, 0.5608310699462891, -0.3331121504306793, -0.5609330534934998, -0.1698603332042694, -0.2738077640533447, 0.3373159170150757, 0.24627141654491425, -0.46009036898612976, -0.19643422961235046, -0.4673589766025543, 0.25694236159324646, 0.8445594310760498, 0.0539681613445282, 0.38077297806739807, -0.6790575981140137, 0.5950065851211548, 0.12966954708099365, -0.11290913820266724, -0.6008486747741699, -0.1071876659989357, -0.7587350606918335, -0.40443161129951477, 0.2027895301580429, 0.32476556301116943, -0.9132052063941956, 0.4834456741809845, -0.13530723750591278, -0.302161306142807, -1.1718955039978027, 0.38616111874580383, 0.5792480707168579, 0.8477468490600586, 0.5420344471931458, -0.2933351993560791, -0.5966216921806335, -1.0551027059555054, -0.5216740369796753, 0.14317233860492706, -0.17393858730793, 0.14719544351100922, 0.3969416320323944, 0.07283038645982742, 0.9899061918258667, -0.12807287275791168, -0.41098031401634216, -0.291113942861557, 0.4838172495365143, 0.09562835097312927, 0.8015175461769104, 0.49876973032951355, -0.6593117713928223, -0.481594055891037, -0.5468047857284546, -0.8275136947631836, -0.47960802912712097, -0.2775927782058716, -0.042087920010089874, 0.18385156989097595, 0.6233447790145874, -0.18478283286094666, 0.1872027963399887, 0.5547218918800354, -0.1529851257801056, 0.5837254524230957, -0.3458825945854187, 0.035566993057727814, -1.0157243013381958, 0.32326987385749817, -0.20995661616325378, -0.037726990878582, -0.4290353059768677, 0.3148447275161743, -0.14647945761680603, -0.09837272763252258, -0.4677703082561493, 0.7550849318504333, -0.5107839107513428, 0.1985550969839096, -0.5141758322715759, 0.22551275789737701, 0.04495060071349144, 0.25912851095199585, 0.07466910034418106, 0.7500617504119873, 0.3101640045642853, -0.5160729885101318, -0.17627304792404175, 0.509036660194397, -0.1985676884651184, 0.5775520205497742, -0.6470694541931152, 0.4985188841819763, -0.4107069671154022, 0.075429767370224, -0.8757226467132568, 0.3909325897693634, 0.32657021284103394, -0.31663212180137634, -0.00779560673981905, -0.10023682564496994, -0.46371591091156006, 0.015929222106933594, -0.5464081168174744, 0.3054409921169281, 0.7035203576087952, -0.777320146560669, 0.5837979316711426, 0.08575262129306793, -0.5305479168891907, -0.5299573540687561, -0.8030607104301453, 0.32943418622016907, -0.21535228192806244, -0.42268484830856323, 0.5194623470306396, -0.2750891149044037, -0.1504664421081543, 0.12708446383476257, -0.06453615427017212, 0.2970910966396332, 0.1995151937007904, -0.16429001092910767, 0.21071188151836395, -0.1522255539894104, -0.26332125067710876, 0.010392536409199238, -0.04421963915228844, 0.11041731387376785, 0.0244473684579134, 0.6016775965690613, -0.005437759682536125, -0.0477173812687397, -0.5227931141853333, 0.5753684043884277, 0.15958645939826965, -0.34727346897125244, 0.5639101266860962, 0.33296218514442444, 0.11858446896076202, -0.44866251945495605, -0.5324188470840454, -0.41615816950798035, -0.5198478698730469, 0.02403438463807106, -0.3680604100227356, -0.7107952237129211, 0.4347606897354126, 0.1914166510105133, 0.2413686215877533, 0.2614947259426117, 0.43420863151550293, -0.0867658406496048, 0.6285302042961121, 0.42764368653297424, 0.10364373028278351, 0.478787899017334, -0.0534515306353569, 0.11001832783222198, -0.6494392156600952, -0.08732926845550537, -0.39307114481925964, -0.15845952928066254, -0.5361243486404419, -0.3915097117424011, -0.016638148576021194, 0.2144976705312729, 0.07004491984844208, 0.011170838959515095, -0.49658915400505066, 0.5898126363754272, 0.7852476835250854, 0.2149009108543396, 0.5736215710639954, 0.11609333753585815, -0.32160601019859314, -0.22930429875850677, -0.7537671327590942, -0.7744602560997009, 0.9908085465431213, 0.15329334139823914, 0.7210784554481506, -0.11143698543310165, 1.317807674407959, 0.3463749587535858, 0.31257742643356323, -0.2639694809913635, 0.7107282876968384, -0.4914878308773041, -0.2434338927268982, 0.030120184645056725, -0.6213213801383972, -1.0531669855117798, 0.4090767204761505, -0.19231143593788147, -0.045262936502695084, 0.054433293640613556, 0.40424099564552307, -0.221973717212677, 0.15780052542686462, -0.4320579171180725, 0.8473260402679443, -0.11316639184951782, -0.5037621259689331, -0.15339575707912445, -0.6655362844467163, 0.3155386745929718, -0.05196065455675125, 0.2638820707798004, 0.08951632678508759, -0.13365812599658966, 0.665917694568634, -0.328133761882782, 0.9267503023147583, -0.000625558546744287, -0.004650280345231295, 0.2923021912574768, 0.4620087444782257, 0.3738844394683838, -0.18972136080265045, 0.0009536762372590601, 0.023769205436110497, -0.323845773935318, -0.531488835811615, -0.23515331745147705, 0.7378136515617371, -0.6791236400604248, -0.8258312344551086, -0.2744583189487457, -0.39646854996681213, 0.16768920421600342, 0.36894461512565613, 0.3747088611125946, 0.3050750195980072, -0.3071643114089966, 0.2924419641494751, 0.3422195315361023, -0.2009841799736023, 0.5471034646034241, 0.7026878595352173, 0.11316143721342087, -0.4817153811454773, 0.9251703023910522, -0.311506986618042, 0.27806606888771057, 0.13055776059627533, 0.5089436769485474, -0.3946918547153473, -0.867361843585968, -0.09312068670988083, 0.41291600465774536, -0.9712119102478027, -0.10038583725690842, -0.7099103927612305, -0.24183931946754456, -0.4709431231021881, -0.43208834528923035, -0.2581949830055237, 0.03325210511684418, -0.663739800453186, 0.006519588641822338, 0.10453756153583527, 0.6276779174804688, -0.27686744928359985, 0.2972833216190338, -0.8070031404495239, 0.34057852625846863, 0.25652509927749634, 0.04061334952712059, -0.03818710520863533, -0.7177966833114624, 0.12611916661262512, -0.06695591658353806, -0.2280680239200592, -0.7178207039833069, 0.662503719329834, 0.08889204263687134, 0.8662681579589844, 0.1008099690079689, 0.33652424812316895, 0.23891928791999817, -0.3166000545024872, 0.780442476272583, 0.20843996107578278, -1.1267483234405518, 0.2870747148990631, -0.3732789158821106, 0.26086217164993286, 0.7280842661857605, 0.3105347752571106, -0.2884868383407593, -0.5506787896156311, -0.8065237998962402, -0.8807287216186523, 0.5557882189750671, 0.410250186920166, 0.4698773920536041, -0.24594993889331818, 0.3135896325111389, 0.417694091796875, 0.4314591884613037, -1.1680864095687866, -0.09982813149690628, -0.44586601853370667, -0.5672944784164429, 0.0287640243768692, -0.37983715534210205, -0.14635546505451202, 0.25559309124946594, 0.5115656852722168, -0.18181166052818298, -0.11490895599126816, 0.30560770630836487, -0.22577057778835297, 0.39309409260749817, 0.2909342348575592, 0.2677224278450012, 0.25679975748062134, 0.04344891011714935, 0.47388002276420593, 0.006165390368551016, -0.04896748811006546, 0.009516560472548008, 0.010843399912118912, -0.3570273518562317, 0.1228671595454216, 0.18541443347930908, 0.47348684072494507, 0.2683044373989105, -0.5987780690193176, 0.5774062275886536, 0.14928358793258667, -0.04489521309733391, -0.08574571460485458, -0.18557311594486237, 0.08311253786087036, 0.009637259878218174, 0.08106782287359238, -0.026354024186730385, 0.13970652222633362, -0.4896203577518463, 0.25428077578544617, 0.2093232423067093, 0.3315007984638214, -0.30128905177116394, 0.65238356590271, 0.4528156816959381, -0.3659162223339081, 0.46678078174591064, -0.2834908366203308, -0.3337184488773346, 0.31703487038612366, 0.7442575693130493, 0.7172626256942749, -0.41556215286254883, 0.09873465448617935, 0.2906832993030548, 0.14086587727069855, -0.35870257019996643, 0.22178316116333008, -0.0044352468103170395, -0.7747008800506592, 0.028668902814388275, -0.4447581171989441, -0.28291377425193787, 0.31718364357948303, -0.646618127822876, 0.33961954712867737, -0.5702810287475586, 0.2931448221206665, -0.15440823137760162, -0.29146260023117065, -0.5857440829277039, 0.16412775218486786, 0.16709041595458984, 0.5373354554176331, -0.8676435947418213, 0.5933353900909424, 0.20753858983516693, -0.6367997527122498, -0.32654139399528503, 0.015100840479135513, -0.21206101775169373, -0.7764729857444763, 0.4604671597480774, 0.11484420299530029, -0.23138263821601868, 0.16832709312438965, -0.5781781673431396, -0.3768433928489685, 0.8490027189254761, 0.38055849075317383, -0.46331191062927246, -0.3028435707092285, 0.09343995898962021, 0.5908175110816956, -0.5479605197906494, -0.27680251002311707, 0.5517314076423645, -0.11206923425197601, 0.06089865416288376, -0.4549383521080017, 0.30105116963386536, -0.3573278784751892, -0.00010315526742488146, -0.25700733065605164, -0.46042636036872864, 1.136781096458435, -0.06470752507448196, -0.3521176278591156, 0.5088103413581848, 0.42183732986450195, 0.5112584233283997, 0.00967406015843153, 0.47603926062583923, 0.4882969856262207, 0.4459957182407379, 0.41799235343933105, 0.9771131873130798, -0.3495652675628662, 0.08745872229337692, 1.4890674352645874, -0.1284860372543335, 0.7940049767494202, 0.5154222249984741, 0.36031025648117065, 0.4876417815685272, 0.10774476081132889, -0.42766308784484863, 0.8241307139396667, 0.3202860355377197, -0.2868587374687195, -0.1718423068523407, -0.005352085921913385, -0.14140377938747406, 0.341395765542984, 0.10781199485063553, -0.864432156085968, -0.2504841983318329, -0.17698659002780914, 0.21674327552318573, 0.6587177515029907, -0.2250935137271881, 0.8393422365188599, 0.14962375164031982, -0.6054168343544006, 0.4686906337738037, -0.03246686980128288, 0.905709445476532, -0.512891411781311, 0.08594010770320892, -0.5068419575691223, 0.24740546941757202, 0.019205274060368538, -0.57982337474823, 0.20836575329303741, -0.013593664392828941, 0.09705885499715805, -0.476228803396225, 0.472533643245697, -0.599195659160614, -0.2999928593635559, 0.27610349655151367, 0.6189547777175903, 0.08636461198329926, 0.13375504314899445, -0.751569390296936, 0.022163020446896553, 0.05721139907836914, 0.07306104153394699, 0.292859822511673, 0.37768474221229553, 0.4140207767486572, 0.42393794655799866, 0.6093893051147461, 0.1391095519065857, -0.11927998065948486, -0.09014798700809479, 0.8452214002609253, -0.6576686501502991, -0.9619338512420654, -1.0009961128234863, 0.4994686245918274, -0.22189173102378845, -0.44455015659332275, 0.9718422293663025, 0.5822126269340515, 0.8400208353996277, -0.19943495094776154, 0.9527851939201355, 0.48600760102272034, 0.566489040851593, -0.6777489185333252, 0.5537362694740295, -0.5691605806350708, 0.5126737356185913, -0.341830849647522, -0.3505975008010864, -0.12620088458061218, 0.6432635188102722, -0.07198522984981537, -0.027982337400317192, 0.6173761487007141, 0.87940913438797, 0.10842034220695496, 0.06749322265386581, 0.1913404017686844, 0.0708397924900055, 0.38163068890571594, 0.22052299976348877, 0.8829185962677002, -0.18996961414813995, 0.7281951308250427, -0.26010850071907043, -0.06698974967002869, -0.18199248611927032, -1.070655107498169, -0.9984311461448669, -0.34450626373291016, -0.4991343319416046, -0.48017415404319763, 0.16316507756710052, 0.796463668346405, 0.28596067428588867, -0.6854726672172546, -0.1771264523267746, -0.23095771670341492, -0.2519418001174927, -0.0452292338013649, -0.20921801030635834, 0.3202591836452484, -0.4297037422657013, -0.5634920597076416, 0.5447283387184143, -0.0021522631868720055, 0.4799805283546448, -0.28590530157089233, 0.14492982625961304, -0.02334725856781006, 0.31252598762512207, 0.25713956356048584, 0.20411406457424164, -0.6432338953018188, 0.03787880763411522, -0.06808602064847946, -0.29835882782936096, 0.2664373517036438, 1.1224052906036377, -0.7239949107170105, 0.47848716378211975, 0.3935430943965912, 0.6671526432037354, 0.2822202146053314, 0.18948666751384735, 0.7198621034622192, -0.9697057008743286, 0.11689775437116623, 0.6274204254150391, 0.42784756422042847, 0.8305292725563049, -0.13866151869297028, 0.22147947549819946, 0.4103805124759674, -0.3507750630378723, -0.7262925505638123, 0.18051785230636597, -0.6534430384635925, -0.7179006338119507, 1.0843359231948853, -0.4315947890281677, 0.004242732655256987, -0.09162046015262604, -0.3628872036933899, 0.13947728276252747, -0.3130108416080475, 1.1974281072616577, 0.3103249669075012, 0.14084352552890778, -0.3810243308544159, 0.15131567418575287, 0.6401689648628235, 0.6157424449920654, -0.7403421401977539, 0.28411486744880676, 0.4095643162727356, 0.5824241042137146, 0.011941790580749512, 0.6736776828765869, -0.36108866333961487, 0.11561164259910583, 0.3539809584617615, 0.21049576997756958, -0.41088658571243286, 0.03040352649986744, -0.6794335246086121, 0.3212374448776245, 0.04195917025208473, -0.23354093730449677 ]
http://arxiv.org/abs/2406.00832v2
http://arxiv.org/pdf/2406.00832v2
BoNBoN Alignment for Large Language Models and the Sweetness of Best-of-n Sampling
2024-06-02T18:42:57
2024-06-05T05:23:40
Lin Gui, Cristina Gârbacea, Victor Veitch
cs.CL
cs.CL, cs.LG
This paper concerns the problem of aligning samples from large language models to human preferences using best-of-$n$ sampling, where we draw $n$ samples, rank them, and return the best one. We consider two fundamental problems. First: what is the relationship between best-of-$n$ and approaches to alignment that train LLMs to output samples with a high expected reward (e.g., RLHF or DPO)? To answer this, we embed both the best-of-$n$ distribution and the sampling distributions learned by alignment procedures in a common class of tiltings of the base LLM distribution. We then show that, within this class, best-of-$n$ is essentially optimal in terms of the trade-off between win-rate against the base model vs KL distance from the base model. That is, best-of-$n$ is the best choice of alignment distribution if the goal is to maximize win rate. However, best-of-$n$ requires drawing $n$ samples for each inference, a substantial cost. To avoid this, the second problem we consider is how to fine-tune a LLM to mimic the best-of-$n$ sampling distribution. We derive BoNBoN Alignment to achieve this by exploiting the special structure of the best-of-$n$ distribution. Experiments show that BoNBoN alignment yields substantial improvements in producing a model that is preferred to the base policy while minimally affecting off-target aspects.
[ -0.4324849545955658, -0.27578291296958923, 0.2882770597934723, 0.3551412522792816, -0.15848363935947418, 0.03598850220441818, -0.433199018239975, -0.44607090950012207, 0.3755052983760834, 0.475890189409256, -0.33388248085975647, -0.3954703211784363, -0.5299382209777832, -0.00295269931666553, -0.27545392513275146, 1.167757272720337, 0.08590341359376907, 0.07945464551448822, -0.1746898889541626, 0.07974863052368164, -0.1815476417541504, -0.3989122211933136, -0.4818534255027771, -0.3480958938598633, 0.606630802154541, 0.3107181787490845, 0.7055650949478149, 0.9716659784317017, 0.8015101552009583, 0.206363245844841, -0.07615499943494797, -0.028750304132699966, -0.9125217199325562, 0.0872163474559784, -0.11846502870321274, -0.6358110904693604, -0.589036226272583, -0.1796932965517044, 0.4882924258708954, 0.6696341633796692, -0.2027609646320343, -0.1709519326686859, 0.08576643466949463, 0.7216014266014099, -0.5549070239067078, -0.023943975567817688, -0.6437320113182068, -0.32680028676986694, -0.5795527100563049, -0.5928477644920349, -0.36858123540878296, -0.7079769372940063, 0.07722951471805573, -0.4081139862537384, 0.20326220989227295, 0.1456884741783142, 1.143399953842163, 0.2818547189235687, -0.4082096815109253, -0.19950224459171295, -0.5711281895637512, 1.0516618490219116, -0.738706111907959, 0.3246069848537445, 0.20206710696220398, 0.536933958530426, -0.6086995005607605, 0.08379485458135605, -0.45078620314598083, 0.1373567283153534, 0.3832313120365143, 0.13667187094688416, 0.15535256266593933, 0.05630682781338692, -0.08265448361635208, 0.5247199535369873, -0.5832552313804626, 0.6175144910812378, -0.23032350838184357, -0.20011213421821594, 0.9870075583457947, 0.08870317041873932, -0.0008061061962507665, 0.0029209484346210957, -0.7225010991096497, -0.2969519793987274, -0.9143706560134888, 0.16586904227733612, 0.8996149897575378, 0.45098525285720825, 0.03858571499586105, 0.5853146910667419, -0.11601676791906357, 1.0456641912460327, 0.3425033986568451, -0.5016149282455444, 0.05078183487057686, -0.3009023070335388, -0.16324999928474426, 0.2478805035352707, 0.8294769525527954, 0.7367259860038757, 0.39513617753982544, -0.020302316173911095, -0.43790555000305176, 0.0012786532752215862, -0.04346911609172821, -0.4955851137638092, -0.40739694237709045, 0.20302338898181915, -0.1773516833782196, -0.6515406966209412, -0.003538918448612094, -0.9607131481170654, -0.3711683452129364, -0.36681967973709106, 0.1912117898464203, -0.21899303793907166, -0.045053862035274506, 0.26775458455085754, -0.008358782157301903, 0.4889642000198364, 0.2968154549598694, -1.6127197742462158, 0.23555819690227509, 0.8170852065086365, 0.612808346748352, -0.34644049406051636, -0.055597878992557526, -0.5348853468894958, 0.21469712257385254, -0.4810815155506134, 0.9451035857200623, -0.47083762288093567, -0.17116956412792206, -0.11764031648635864, -0.3024453818798065, 0.05804099887609482, -0.5748889446258545, 0.5454559326171875, -0.5038838982582092, 0.08170214295387268, -0.5425404906272888, -0.8548960089683533, 0.08968266099691391, 0.2632844150066376, -0.6256819367408752, 0.8812558054924011, -0.07758578658103943, -0.7131586074829102, 0.4486699104309082, -0.4485434293746948, -0.23949965834617615, -0.22290340065956116, -0.32692667841911316, -0.16588285565376282, -0.023820193484425545, 0.3051941990852356, 0.39474573731422424, -0.21133825182914734, 0.20484061539173126, -0.5373808145523071, -0.3339882493019104, 0.31698548793792725, -0.37707871198654175, 1.207342267036438, 0.2599636912345886, -0.31550097465515137, 0.03587725758552551, -0.4244016706943512, -0.22711916267871857, 0.20828552544116974, -0.601970374584198, -0.14960694313049316, -0.06976323574781418, 0.045210547745227814, -0.20344635844230652, 0.3040885329246521, -0.5407423377037048, 0.7029717564582825, -0.7148624062538147, 0.36049309372901917, 1.1280204057693481, -0.08434225618839264, 0.6597963571548462, -0.4974484443664551, 0.5299342274665833, -0.12705887854099274, 0.21429090201854706, 0.31196609139442444, -0.39335137605667114, -0.2251652628183365, -0.3435305058956146, 0.8608434796333313, 0.4035663604736328, -0.12330740690231323, 0.7024520635604858, -0.40661731362342834, -0.32978299260139465, -0.5782176852226257, 0.2918466329574585, 0.16034287214279175, 0.4715088903903961, 0.12330174446105957, -0.3521628975868225, -0.3965918719768524, -1.0774896144866943, 0.07172861695289612, -0.0716172307729721, 0.34229427576065063, -0.08049292117357254, -0.06860829889774323, 0.15623308718204498, 1.0043143033981323, -0.4123518168926239, -0.2804003953933716, -0.17358148097991943, -0.10191978514194489, 0.11922932416200638, 0.5444898009300232, 0.899570882320404, -0.7314212918281555, -0.45309802889823914, 0.009392092004418373, -0.14346933364868164, -0.30064210295677185, -0.03896129131317139, -0.7433137893676758, 0.47739550471305847, 0.14169035851955414, -0.38442328572273254, 0.29870104789733887, 0.6760828495025635, 0.24314045906066895, 0.3834216892719269, 0.11248385906219482, 0.03272304683923721, -1.182769536972046, -0.08026891946792603, -0.04004829749464989, -0.3808116614818573, -0.49106135964393616, 0.01388603262603283, -0.0871933251619339, 0.44477149844169617, -0.12621423602104187, 0.45068806409835815, -0.45565065741539, -0.30203938484191895, -0.3253188133239746, 0.4714968204498291, 0.13247054815292358, 0.38597264885902405, -0.05356907844543457, 0.44560423493385315, 0.4591783881187439, -0.6789129376411438, 0.5228530168533325, 0.392734169960022, -0.423111230134964, 0.614485502243042, -0.3855048418045044, -0.015998803079128265, -0.20878860354423523, 0.4671994149684906, -1.4479806423187256, -0.2622429430484772, 0.24227017164230347, -0.4676477611064911, 0.6141000390052795, 0.02997831255197525, -0.3178679347038269, -0.06923157721757889, -0.29293951392173767, 0.469402015209198, 0.5658591389656067, -0.637931227684021, 0.05848017707467079, 0.5722787380218506, -0.10152389109134674, -1.2041380405426025, -0.7127913236618042, -0.1456485241651535, -0.39308860898017883, -0.3596109449863434, 0.48802101612091064, -0.01627880148589611, -0.12816809117794037, -0.20159024000167847, -0.2104712575674057, 0.3880839943885803, -0.039567865431308746, -0.09339489787817001, 0.3279566466808319, -0.18182231485843658, -0.0896298810839653, -0.1770278960466385, -0.22971361875534058, -0.38374635577201843, -0.3491787016391754, 0.7290474772453308, 0.06453162431716919, -0.5030947327613831, -0.34885475039482117, 0.1416209489107132, 0.3336227834224701, -0.27156391739845276, 0.4081614315509796, 0.27409130334854126, -0.33935630321502686, 0.10234438627958298, -0.5615445375442505, -0.04777469485998154, -0.39753857254981995, 0.1505638211965561, -0.3492904007434845, -0.4312659502029419, 0.37837687134742737, 0.19375433027744293, 0.6395017504692078, 0.3895221948623657, 0.8103234767913818, -0.3162735402584076, 1.1547640562057495, 0.6940680146217346, -0.4652640223503113, 0.5005378723144531, -0.20397186279296875, 0.4079165756702423, -0.7966575026512146, -0.07453111559152603, -0.5909216403961182, -0.9181795716285706, -0.452042818069458, -0.2292676568031311, 0.09343321621417999, 0.4646760821342468, 0.021721698343753815, 0.540945827960968, -0.5427036285400391, 0.47037070989608765, 0.6825475096702576, -0.09472821652889252, 0.21821355819702148, 0.10765983909368515, -0.1661192774772644, -0.11932232975959778, -0.7491835951805115, -0.6488481760025024, 1.1318033933639526, 0.14411163330078125, 0.9091350436210632, 0.47217050194740295, 1.2703851461410522, -0.331554651260376, 0.32645753026008606, -0.9049421548843384, 0.47590896487236023, 0.008738934062421322, -0.6165135502815247, -0.42710405588150024, -0.4301460385322571, -1.2206798791885376, -0.03322240337729454, -0.11231821030378342, -0.8665168285369873, 0.34256961941719055, 0.5311467051506042, -0.4058676064014435, 0.40505334734916687, -0.41332823038101196, 0.8853042125701904, -0.5906370878219604, -0.18194958567619324, 0.17588479816913605, -0.8152207136154175, 0.6810965538024902, 0.1939184069633484, 0.02534853108227253, -0.16807137429714203, -0.005239174701273441, 0.5264363884925842, -0.17028272151947021, 0.5246129035949707, -0.13540437817573547, -0.4120277762413025, 0.1349160224199295, 0.14757400751113892, 0.5195585489273071, -0.31111693382263184, -0.12967561185359955, -0.09188959747552872, 0.2585110366344452, -0.6579399108886719, -0.7143648266792297, 0.7482127547264099, -0.6917067170143127, -0.6588189005851746, -0.32806408405303955, -0.7449015974998474, -0.15618428587913513, 0.038459938019514084, 0.4770742654800415, 0.6894934773445129, -0.06352594494819641, 0.29630419611930847, 0.5439304709434509, -0.041405089199543, 0.22056972980499268, -0.16015581786632538, -0.6204089522361755, -0.2618550956249237, 1.0549520254135132, 0.016496071591973305, 0.7216820120811462, 0.8300600051879883, 0.32670608162879944, -0.8017536401748657, -0.6176022887229919, -0.6117696762084961, 0.29475167393684387, -0.7718145847320557, -0.18658241629600525, -0.4260014295578003, 0.11065723747015, -0.550735592842102, -0.2528742551803589, -0.29141682386398315, -0.49063026905059814, -0.2476235330104828, -0.031090134754776955, 0.26785582304000854, 0.4841122329235077, -0.20952832698822021, 0.0720117837190628, -0.4422816336154938, 0.04468517005443573, -0.022602921351790428, 0.1918320506811142, -0.051825616508722305, -0.5183512568473816, 0.2130110263824463, 0.07914314419031143, -0.40537312626838684, -0.9668394327163696, 0.09300681203603745, 0.007078306749463081, 0.6321500539779663, 0.7554402351379395, 0.17166762053966522, 0.874613881111145, -0.3248020112514496, 0.5859497785568237, 0.3142101466655731, -0.418561726808548, 0.09513560682535172, -0.3797617256641388, -0.0817534327507019, 0.8289459943771362, 0.5757327675819397, -0.4176480770111084, -0.40572816133499146, -0.576729416847229, -0.6921746730804443, 0.2904817759990692, 0.020159266889095306, -0.10918183624744415, -0.06012186408042908, 0.17608298361301422, 0.28039267659187317, 0.10164076834917068, -0.48400768637657166, -0.1641261875629425, -0.09481222927570343, -0.830193281173706, -0.22283922135829926, 0.13465456664562225, -0.4120461344718933, -0.009986366145312786, 0.7650334239006042, -0.24107709527015686, 0.33050259947776794, -0.14130395650863647, 0.003115515224635601, -0.2188979685306549, 0.07170797884464264, 0.8734703063964844, 0.8333582878112793, -0.3542134165763855, 0.2147866189479828, -0.24775443971157074, -0.04885530844330788, 0.17803284525871277, -0.16540905833244324, -0.16570258140563965, -0.27088841795921326, 0.040103260427713394, 0.8413493037223816, 0.3700752556324005, -0.5169225335121155, 0.48061010241508484, 0.28114157915115356, -0.3169836699962616, 0.10967512428760529, 0.22186321020126343, 0.47336962819099426, 0.2359115332365036, 0.056983832269907, 0.06369929015636444, -0.02962932363152504, -0.46430715918540955, 0.21193523705005646, 0.846764326095581, -0.11435577273368835, -0.08717997372150421, 0.702369749546051, -0.04655902832746506, -0.5097630620002747, 0.38199859857559204, -0.17736048996448517, -0.5608760714530945, 0.5335015058517456, 0.5749332904815674, 0.45462000370025635, -0.16143663227558136, 0.07439444959163666, 0.28609609603881836, 0.10220148414373398, -0.17251038551330566, 0.2160203903913498, 0.042834166437387466, -0.7201605439186096, -0.23676861822605133, -0.7527121901512146, -0.3850720524787903, -0.07710517197847366, -0.7486414909362793, 0.4371037483215332, -0.36931490898132324, -0.12283831834793091, 0.06477463245391846, -0.057667311280965805, -0.4553626775741577, -0.13759203255176544, 0.10128214210271835, 0.7215734720230103, -0.5693713426589966, 0.6663448214530945, 0.47622954845428467, -0.17303720116615295, -0.8556894659996033, 0.034813523292541504, 0.33295008540153503, -0.9544124603271484, 0.5874666571617126, -0.05857608839869499, -0.06622545421123505, 0.3010595142841339, -0.5583596229553223, -1.1004273891448975, 1.0008633136749268, 0.6002060174942017, -0.8071330785751343, 0.057284217327833176, -0.16700659692287445, 0.2800449728965759, -0.33184751868247986, 0.08806838095188141, 0.49206820130348206, 0.42608997225761414, 0.3239661157131195, -0.9075711369514465, -0.27836161851882935, 0.18896667659282684, -0.14000235497951508, 0.6371915936470032, -0.7626965641975403, 0.5495948195457458, -0.18340030312538147, -0.21188974380493164, 0.2106003761291504, 0.6265897154808044, 0.6095210909843445, -0.1596374660730362, 0.7345752120018005, 0.588220477104187, 0.9734339118003845, -0.17984773218631744, 1.038029432296753, -0.32287487387657166, 0.4346808195114136, 0.9673079252243042, -0.33384063839912415, 0.9655453562736511, 0.6356868147850037, -0.3433164358139038, 0.2613236606121063, 1.084764838218689, 0.13079769909381866, 0.5387448668479919, 0.3720305562019348, -0.009322226978838444, -0.1696358323097229, 0.1050393283367157, -0.3342917561531067, 0.41611814498901367, 0.014601354487240314, -0.01354652363806963, -0.3894461989402771, -0.35757237672805786, -0.26471245288848877, 0.12205252051353455, -0.031470924615859985, 0.6473098993301392, -0.06580460071563721, -0.7264365553855896, 0.8387792706489563, -0.04666587710380554, 0.7552220821380615, -0.36574167013168335, 0.2152780294418335, -0.23343335092067719, 0.19147343933582306, -0.2936883568763733, -0.8018773794174194, -0.01249403040856123, -0.1581336110830307, -0.024281524121761322, -0.04959668964147568, 0.27951064705848694, -0.77190101146698, -0.35273435711860657, 0.015355299226939678, -0.005550185218453407, 0.6403910517692566, 0.45029619336128235, -0.7303180694580078, 0.04957722872495651, 0.05676749721169472, -0.35409069061279297, 0.5808863639831543, 0.1732340306043625, -0.14013449847698212, 0.3624781668186188, 0.5836275219917297, 0.3212406039237976, 0.4072681665420532, 0.13393637537956238, 0.28884440660476685, -0.42169812321662903, -0.5840028524398804, -0.8701508641242981, 0.27346840500831604, 0.00239114323630929, -0.28433504700660706, 0.41850408911705017, 0.4748288691043854, 0.8483499884605408, 0.18416304886341095, 0.6555556654930115, 0.005522225983440876, 0.3179306387901306, -0.6466789245605469, 0.16874362528324127, -0.7086767554283142, -0.01199094858020544, -0.23271898925304413, -1.3178595304489136, -0.3078826069831848, 0.8215593695640564, -0.3652137517929077, -0.024564102292060852, 0.4344537854194641, 0.9254351854324341, -0.2008022665977478, 0.035758499056100845, 0.1312384009361267, -0.2114807367324829, 0.44930827617645264, 1.0187016725540161, 0.6891418695449829, -0.3362136781215668, 0.3933834135532379, -0.29613426327705383, -0.32944154739379883, -0.559568464756012, -1.0437685251235962, -0.563736617565155, -0.5076964497566223, -0.15243978798389435, -0.22677011787891388, -0.36874040961265564, 1.2581206560134888, 0.5921574831008911, -0.8489474058151245, -0.3511207103729248, 0.0248105488717556, -0.040854744613170624, -0.4596637487411499, -0.21874237060546875, 0.2948759198188782, -0.3661632537841797, -1.1598615646362305, 0.1850830316543579, 0.3072495758533478, 0.27431732416152954, -0.40061137080192566, -0.23258067667484283, -0.48794540762901306, -0.07492896914482117, 0.13444744050502777, 0.42175278067588806, -0.8777363896369934, -0.43587979674339294, 0.2097337245941162, -0.438776433467865, 0.3843226432800293, 0.6285529732704163, -0.1278199553489685, 0.5059745907783508, 0.5432218313217163, 1.1361830234527588, 0.293666273355484, 0.5929048657417297, 0.8279767632484436, -0.5958764553070068, -0.06927530467510223, 0.13850024342536926, 0.3227103352546692, 0.4190713167190552, -0.4597032964229584, 0.3436785638332367, 0.028720393776893616, -0.816673994064331, -1.109270691871643, 0.4689917266368866, -1.2503511905670166, 0.13645599782466888, 1.082789421081543, 0.18454492092132568, -0.41189801692962646, 0.0575668029487133, -0.3835323750972748, 0.37744593620300293, -0.13068784773349762, 0.7050012946128845, 1.0334311723709106, -0.45748773217201233, -0.05518684536218643, -0.5049051642417908, 0.4656660556793213, 0.7317941784858704, -0.42767906188964844, 0.08549647033214569, 0.259827584028244, 0.3426724970340729, 0.24758949875831604, 0.6529353857040405, -0.22633495926856995, -0.11316584795713425, -0.4754338562488556, 0.18884706497192383, 0.18315909802913666, -0.36653316020965576, -0.4287085235118866, -0.03354785963892937, 0.30383220314979553, -0.32149189710617065 ]
http://arxiv.org/abs/2406.16903v1
http://arxiv.org/pdf/2406.16903v1
Towards a copilot in BIM authoring tool using a large language model-based agent for intelligent human-machine interaction
2024-06-02T17:47:57
2024-06-02T17:47:57
Changyu Du, Stavros Nousias, André Borrmann
cs.HC
cs.HC, cs.AI, cs.CL, cs.LG
Facing increasingly complex BIM authoring software and the accompanying expensive learning costs, designers often seek to interact with the software in a more intelligent and lightweight manner. They aim to automate modeling workflows, avoiding obstacles and difficulties caused by software usage, thereby focusing on the design process itself. To address this issue, we proposed an LLM-based autonomous agent framework that can function as a copilot in the BIM authoring tool, answering software usage questions, understanding the user's design intentions from natural language, and autonomously executing modeling tasks by invoking the appropriate tools. In a case study based on the BIM authoring software Vectorworks, we implemented a software prototype to integrate the proposed framework seamlessly into the BIM authoring scenario. We evaluated the planning and reasoning capabilities of different LLMs within this framework when faced with complex instructions. Our work demonstrates the significant potential of LLM-based agents in design automation and intelligent interaction.
[ -0.4417949914932251, -0.7245967388153076, 0.8841925859451294, 0.20161955058574677, -0.4242348372936249, 0.4142081141471863, 0.18620438873767853, -0.6995129585266113, 0.26720190048217773, 0.48764094710350037, -0.6003692746162415, -0.4313317835330963, -0.024378396570682526, -0.008233383297920227, -0.10746908187866211, 0.33932602405548096, -0.2784980535507202, 0.15547898411750793, -0.4008852541446686, 0.3156607151031494, -0.4771919846534729, -0.608161985874176, -0.505653440952301, -0.5258278250694275, 0.7394527196884155, 0.3573719263076782, 0.7892451286315918, 0.42665261030197144, 0.3091371953487396, 0.35174858570098877, 0.2683413624763489, 0.38567033410072327, 0.10354392975568771, -0.032948337495326996, -0.5348687767982483, -0.5379047989845276, -1.039976716041565, 0.07702678442001343, 0.1970420628786087, 0.5438856482505798, 0.24128051102161407, 0.053267646580934525, 0.13332654535770416, 0.4562705159187317, -0.13349653780460358, 0.48787838220596313, -0.2085917890071869, -0.17278510332107544, 0.0203449334949255, -0.4128386080265045, -0.28271573781967163, 0.0390281081199646, -0.14315977692604065, -0.6093950271606445, -0.25277459621429443, 0.37962913513183594, 0.5730593800544739, 0.5577778220176697, -0.32294440269470215, -0.48319265246391296, -0.8052353858947754, 0.43788185715675354, -0.7759357690811157, 0.2918621003627777, 0.2364492267370224, 0.2603232264518738, -0.5408204793930054, -0.4303324520587921, -0.44457295536994934, -0.22725452482700348, -0.14099879562854767, 0.2045384645462036, 0.20821811258792877, 0.18753990530967712, 0.04301717132329941, 0.02522624470293522, -0.6368659734725952, 0.24441955983638763, -0.1846250295639038, -0.2681288719177246, 0.9413231611251831, 0.3406544625759125, 0.3928830325603485, -0.04311325401067734, -0.7167914509773254, 0.18401099741458893, -0.4840935170650482, 0.19172023236751556, 0.633898138999939, 0.28642162680625916, -0.22362825274467468, 0.631726086139679, -0.11409111320972443, 0.7117373943328857, -0.21695241332054138, 0.08571094274520874, 0.09439735114574432, -0.013122119009494781, -0.26792338490486145, -0.013685453683137894, 0.6835670471191406, 0.1295405775308609, 0.33242368698120117, -0.39939993619918823, -0.4872209131717682, -0.18910950422286987, 0.31630179286003113, -0.5461427569389343, -0.20614850521087646, 0.5251761674880981, -0.19881515204906464, -0.34080907702445984, 0.32060128450393677, -0.30438485741615295, -0.7198055386543274, -0.835406482219696, 0.4322865903377533, -0.1085214838385582, -0.33315709233283997, 0.17700903117656708, -0.11717280745506287, 0.5268918871879578, 0.4438392221927643, -0.19218289852142334, 0.05746692046523094, 0.6684594750404358, 0.5872237682342529, -0.1980120986700058, -0.417683869600296, -0.7821943163871765, 0.4360198974609375, -0.541044294834137, 1.091383934020996, -0.22499918937683105, -0.5962055325508118, -0.4369159936904907, 0.10962831228971481, 0.11849778890609741, -0.25630617141723633, 0.5095563530921936, -0.5360519886016846, -0.08016462624073029, 0.05978187918663025, -0.29778730869293213, -0.3703606426715851, 0.29552409052848816, -0.6322586536407471, 0.569123387336731, 0.16125960648059845, -0.49115484952926636, 0.06786326318979263, -0.7829612493515015, -0.511582612991333, 0.6302079558372498, -0.556414008140564, -0.32679879665374756, -0.1290634274482727, -0.16349869966506958, 0.4870980978012085, -0.36393025517463684, 0.5297240018844604, -0.4517468810081482, -0.3010540306568146, 0.25573721528053284, -0.22129976749420166, 1.0620723962783813, 0.16442829370498657, -0.42504966259002686, 0.4971838891506195, -0.6628416776657104, -0.03685852512717247, 0.17219963669776917, -0.5713567137718201, 0.035015564411878586, 0.16130778193473816, 0.11079538613557816, 0.29479601979255676, 0.5226383209228516, -0.5940403342247009, 0.35767388343811035, -0.4587082266807556, 0.029739798977971077, 0.8172167539596558, 0.013886119239032269, 0.6948097944259644, -0.7942768931388855, 0.6820780038833618, -0.478380024433136, 0.07365120947360992, 0.2531295120716095, -0.4266984462738037, -0.6240425705909729, -0.6411603093147278, 0.0033077618572860956, 0.6883605122566223, -0.7127623558044434, 0.5449870824813843, -0.08190492540597916, -0.6976380944252014, -0.28171637654304504, 0.48556503653526306, 0.17060892283916473, 0.28775838017463684, -0.1401067078113556, -0.07979492098093033, -0.46094685792922974, -0.8774986267089844, -0.009861246682703495, -0.3730526864528656, -0.3421417474746704, 0.33564165234565735, 0.40313324332237244, -0.4364439845085144, 1.252191424369812, -0.23565791547298431, -0.3499930500984192, -0.3915991485118866, 0.3120848834514618, 0.05370422452688217, 0.39771148562431335, 0.6973881125450134, -0.9250871539115906, -0.4485919177532196, 0.0006196661270223558, -0.715341329574585, -0.3921426236629486, -0.3929063379764557, -0.5184865593910217, 0.36687520146369934, 0.6217595934867859, -0.7190317511558533, 0.5395703315734863, 0.1442217379808426, -0.3246684670448303, 0.6949394345283508, -0.2340800017118454, -0.33648309111595154, -0.9846006035804749, 0.16730114817619324, -0.5996980667114258, -0.16919346153736115, -0.4562881886959076, -0.1402488648891449, -0.02528420276939869, -0.10347529500722885, -0.7169655561447144, 0.9733926653862, -0.7505835890769958, -0.19809333980083466, -0.6573574542999268, 0.16116733849048615, 0.37814825773239136, 0.8231990337371826, 0.3348401188850403, 0.5079931616783142, 0.44577017426490784, -0.5508758425712585, 0.6035555005073547, 0.1524672955274582, -0.2460038810968399, 0.5079778432846069, -0.6319101452827454, 0.33165237307548523, -0.001212672796100378, -0.015754198655486107, -0.732903242111206, -0.14026620984077454, 0.7111020088195801, -0.34053468704223633, 0.09520958364009857, -0.11405112594366074, -1.0272436141967773, -0.3231513202190399, -0.17140980064868927, -0.072061687707901, -0.005913513246923685, -0.4168330729007721, 1.4300309419631958, 0.25739389657974243, -0.5197064280509949, -0.012719763442873955, -0.5189509987831116, 0.12480811774730682, 0.07025463134050369, -0.827890157699585, 0.22377701103687286, -0.6387345790863037, -0.4812479317188263, -0.04280936345458031, 0.17349818348884583, 0.10928429663181305, 0.3759203851222992, 0.3889462649822235, 0.5886190533638, 0.1490326225757599, 0.20182622969150543, -0.08414672315120697, -0.2675575315952301, 0.3025531470775604, -0.06632409989833832, 0.48043736815452576, -0.32511618733406067, -0.5928318500518799, -0.3946644961833954, 0.470718115568161, 0.8862660527229309, -0.5510863661766052, 0.31228217482566833, 0.3065135180950165, -0.294222891330719, -0.32119467854499817, -0.23854461312294006, 0.06350885331630707, -0.5576739311218262, 0.20088867843151093, -0.6711717844009399, -0.1876947581768036, 0.5585647821426392, -0.2930491268634796, 0.5128175616264343, -0.08117220550775528, 0.8325238227844238, -0.431892991065979, 0.9132475852966309, 0.6710835695266724, -0.0318274199962616, 0.4566391110420227, -0.27375879883766174, 0.1806810349225998, -0.7345799803733826, -0.22404493391513824, -0.17795859277248383, -0.3947749435901642, -0.18891802430152893, -0.42838916182518005, 0.1391792595386505, -0.07132182270288467, -0.13505229353904724, 0.19045087695121765, -0.5154906511306763, 0.016437426209449768, 0.7060121893882751, -0.018990740180015564, 0.3689376711845398, -0.4478282332420349, -0.14369569718837738, 0.667482316493988, -0.8011979460716248, -0.8595423102378845, 0.6140847206115723, 0.07901972532272339, 0.9050991535186768, 0.2140895277261734, 0.5443528890609741, 0.2712295651435852, 0.4899342656135559, -0.9988548755645752, 0.6524096131324768, 0.6815729737281799, -0.7411195635795593, -0.4571969211101532, 0.12249583005905151, -0.8849682807922363, 0.1550913006067276, -0.3209039866924286, -0.42664313316345215, 0.3894699513912201, 0.08165957778692245, -0.2124473601579666, 0.48777446150779724, -0.7380833029747009, 0.6932138800621033, -1.007599115371704, -0.44752293825149536, 0.0696239098906517, -0.5671246647834778, -0.00037086009979248047, -0.15745215117931366, 0.5809022784233093, -0.3069438636302948, -0.2547955811023712, 0.2644999623298645, -0.36365529894828796, 0.8375458717346191, 0.011945603415369987, -0.359779953956604, 0.5983568429946899, 0.3402206003665924, 0.7146508097648621, -0.11555227637290955, -0.31211915612220764, -0.008602543734014034, -0.03553498908877373, -0.39894866943359375, -0.6025647521018982, 0.373281866312027, -0.6326476335525513, -0.8543673157691956, -0.3490734398365021, -0.8821407556533813, -0.18180370330810547, 0.26106366515159607, 0.02475780062377453, 0.31275418400764465, -0.3015875518321991, -0.007550278212875128, 0.10137512534856796, -0.1502869874238968, 0.49371203780174255, 0.7342554926872253, -0.25219595432281494, -0.08940385282039642, 0.961545467376709, 0.07556235045194626, 0.11915133148431778, 0.4479122459888458, 0.2209174782037735, 0.006277610547840595, -0.38300415873527527, -0.5991981029510498, 0.05233287811279297, -0.3442317545413971, -0.1070840135216713, -0.4207763075828552, -0.26078903675079346, -0.19826413691043854, -0.6894711852073669, -0.07228617370128632, -0.11652931571006775, -0.19161731004714966, -0.05933684483170509, 0.14997045695781708, 0.7534396052360535, 0.07096733897924423, 0.006152378860861063, -0.601999819278717, 0.26381510496139526, 0.35715073347091675, 0.3709413707256317, 0.0011822382220998406, 0.020640654489398003, -0.3298412561416626, -0.046998944133520126, -0.18491174280643463, -0.5956435203552246, 0.22294682264328003, -0.32579126954078674, 0.9122563600540161, 0.46499335765838623, 0.5100216269493103, -0.17268137633800507, -0.2365291565656662, 0.20733040571212769, -0.2548983097076416, -0.5117194056510925, 0.363969624042511, -0.573378324508667, 0.3479502499103546, 0.005899763200432062, 0.06821335852146149, -0.2110612839460373, -0.586184561252594, -0.5062362551689148, -0.7212545871734619, 0.5806739330291748, 0.09472782909870148, -0.24892032146453857, 0.37424954771995544, 0.1618669182062149, 0.04819905385375023, 0.19790518283843994, -0.6094352602958679, 0.09931551665067673, -0.06507882475852966, -0.2667083442211151, -0.04517567902803421, -0.11024253070354462, -0.20007175207138062, 0.011873731389641762, 0.8715859055519104, -0.24315015971660614, 0.1749556064605713, 0.13784612715244293, -0.2517988979816437, 0.028750786557793617, 0.31295886635780334, 0.44822603464126587, 0.6345758438110352, -0.16678528487682343, 0.127557173371315, -0.11250738799571991, -0.1524599939584732, 0.005834655370563269, 0.3442935049533844, -0.3766992688179016, -0.3120265603065491, 0.2444574534893036, 0.2721286118030548, 0.0008763980004005134, -1.0300016403198242, 0.33507078886032104, 0.12610770761966705, -0.2123718410730362, -0.5642014741897583, 0.15365800261497498, 0.5871902704238892, 0.6084046363830566, 0.2879627048969269, -0.11345693469047546, 0.06594482809305191, -0.432414174079895, -0.1024448424577713, 0.6101637482643127, -0.17246080935001373, -0.25938165187835693, 0.8222138285636902, 0.6934072971343994, -1.0380772352218628, 0.1431596279144287, -0.3143695592880249, -0.58350670337677, 0.8434486389160156, 0.006580422166734934, 0.9354296326637268, 0.13628822565078735, -0.04746989905834198, -0.2183542102575302, 0.43546438217163086, 0.6364219784736633, 0.5322697758674622, -0.2889874279499054, -0.624722421169281, -0.20475919544696808, -0.3574049174785614, -0.7688953876495361, -0.2224266231060028, 0.03579428791999817, 0.5424814224243164, -0.5447279214859009, 0.0032080758828669786, -0.13638600707054138, 0.27415502071380615, -0.6270838379859924, 0.007049626670777798, 0.22787927091121674, 0.7073255181312561, -0.2851346731185913, 0.7552022337913513, 1.143651008605957, -0.5444492101669312, -0.7126120924949646, -0.23982079327106476, 0.26517075300216675, -0.4141583740711212, 0.5127667784690857, -0.0148509806022048, -0.7695001363754272, 0.0973147600889206, -0.5235632061958313, -0.4657934010028839, 1.3392360210418701, 0.45795756578445435, -0.34194323420524597, -0.0006119858007878065, 0.3334295153617859, 0.346144437789917, -0.4730854332447052, -0.32858502864837646, -0.10180584341287613, 0.5673046112060547, 0.058750420808792114, -0.6292560696601868, -0.06365706771612167, -0.5132988095283508, -0.32901087403297424, -0.10288939625024796, -0.873885989189148, 0.6332321166992188, -0.13249389827251434, -0.20706184208393097, 0.37717828154563904, 0.5207291841506958, 0.2590656280517578, 0.37311679124832153, 0.6147476434707642, -0.09774916619062424, 0.6993156671524048, 0.39138534665107727, 0.8760489821434021, -0.5734291672706604, -0.2057761251926422, 1.2666492462158203, -0.2734615206718445, 0.48921120166778564, 0.3987022340297699, 0.18167972564697266, 0.5014558434486389, 0.5255394577980042, 0.06572099030017853, 0.018800241872668266, 0.1102190688252449, -0.3871975541114807, -0.3873075544834137, -0.09361467510461807, 0.18302595615386963, 0.391216903924942, 0.14029361307621002, 0.12688550353050232, -0.028469111770391464, 0.08912745118141174, -0.02101566642522812, 0.07460310310125351, -0.2108747959136963, 0.6498681902885437, 0.1289469599723816, -0.3840683400630951, 0.014087161980569363, 0.08959273993968964, 0.36312103271484375, -0.45831581950187683, 0.06830602884292603, 0.1089724749326706, 0.2519899308681488, -0.07952564209699631, -0.7472431659698486, 0.21902775764465332, -0.27650535106658936, -0.2561473250389099, -0.5468659996986389, 0.743686318397522, -0.2816125154495239, -0.5783653855323792, 0.4176214039325714, 0.8554129004478455, 0.22704392671585083, -0.24735993146896362, -0.6969799399375916, -0.03879762440919876, -0.4171813130378723, -0.23259487748146057, 0.11867400258779526, 0.6313591599464417, -0.19661042094230652, 1.0207594633102417, 0.6756993532180786, -0.10374455899000168, -0.22513340413570404, 0.12709705531597137, 0.7528226971626282, -0.3918858468532562, -0.5619878768920898, -0.4201941192150116, 0.5747461318969727, 0.042270477861166, 0.21975520253181458, 0.4620022475719452, 0.7579658627510071, 0.6701292395591736, 0.03862791880965233, 0.7876691818237305, -0.03685387596487999, 0.5741072297096252, -0.11745364964008331, 0.787521243095398, -0.6026617288589478, 0.4463190734386444, -0.27646467089653015, -0.7353557348251343, -0.062194328755140305, 0.3955390155315399, -0.33306100964546204, -0.12804405391216278, 0.12398721277713776, 1.016890525817871, 0.0076154014095664024, -0.20165888965129852, 0.49617496132850647, -0.01024912390857935, 0.6240701079368591, 0.4668143391609192, 0.6280295848846436, 0.19378414750099182, 0.8307417035102844, -0.2503814399242401, -0.32844287157058716, -0.40340372920036316, -0.8864738345146179, -1.1667101383209229, -0.5892663598060608, -0.07646089047193527, 0.16687452793121338, -0.19437508285045624, 1.144018292427063, 0.5705707669258118, -0.302483469247818, -0.4236791431903839, -0.016042916104197502, 0.36568522453308105, -0.24090690910816193, -0.22504018247127533, 0.3086211681365967, 0.045571427792310715, -0.9474456906318665, 0.3322625458240509, 0.5732609629631042, 0.2597072422504425, -0.6132983565330505, -0.5054125189781189, -0.4134235680103302, 0.48374149203300476, 0.5122959017753601, 0.36731696128845215, -0.5413959622383118, -0.1948489099740982, 0.20724798738956451, -0.32951855659484863, 0.10456515848636627, 0.7242079377174377, -0.7072533965110779, 0.588291347026825, 0.4515746235847473, 0.6660780310630798, 0.27085235714912415, 0.10088102519512177, 0.7587231993675232, -0.1712103635072708, 0.20806045830249786, 0.1698284149169922, 0.37523260712623596, 0.2992134690284729, -0.6058616042137146, 0.5586414933204651, 0.16110894083976746, -0.39947569370269775, -0.34145164489746094, 0.36434563994407654, -1.122338891029358, -0.47764700651168823, 0.864779531955719, 0.1725335568189621, -0.24687938392162323, -0.6944666504859924, -0.8378329873085022, 0.1591119021177292, -0.0942687913775444, 0.6112107634544373, 0.6236161589622498, -0.5966437458992004, -0.03518736734986305, -0.41355815529823303, 0.052346765995025635, 0.025400586426258087, -0.9572802186012268, 0.12105420976877213, 0.41918861865997314, 0.10482253134250641, 0.02835480123758316, 0.6608137488365173, 0.15171124041080475, 0.489427775144577, -0.06503403186798096, 0.5238423943519592, -0.6657490134239197, -0.24147260189056396, 0.34074512124061584, -0.03640071675181389, 0.34765270352363586, -0.15370790660381317 ]
http://arxiv.org/abs/2406.10237v1
http://arxiv.org/pdf/2406.10237v1
Towards commands recommender system in BIM authoring tool using transformers
2024-06-02T17:47:06
2024-06-02T17:47:06
Changyu Du, Zihan Deng, Stavros Nousias, André Borrmann
cs.IR
cs.IR, cs.CE, cs.CL, cs.HC, cs.LG
The complexity of BIM software presents significant barriers to the widespread adoption of BIM and model-based design within the Architecture, Engineering, and Construction (AEC) sector. End-users frequently express concerns regarding the additional effort required to create a sufficiently detailed BIM model when compared with conventional 2D drafting. This study explores the potential of sequential recommendation systems to accelerate the BIM modeling process. By treating BIM software commands as recommendable items, we introduce a novel end-to-end approach that predicts the next-best command based on user historical interactions. Our framework extensively preprocesses real-world, large-scale BIM log data, utilizes the transformer architectures from the latest large language models as the backbone network, and ultimately results in a prototype that provides real-time command suggestions within the BIM authoring tool Vectorworks. Subsequent experiments validated that our proposed model outperforms the previous study, demonstrating the immense potential of the recommendation system in enhancing design efficiency.
[ -0.7889751195907593, -0.4179079532623291, 0.6024186611175537, 0.4487422704696655, -0.27074387669563293, 0.25238820910453796, 0.21628722548484802, -0.3169765770435333, 0.17568270862102509, 0.47550880908966064, -0.4806535542011261, -0.5272631645202637, -0.35645124316215515, -0.027628149837255478, -0.34142985939979553, 0.7872493863105774, -0.20305436849594116, 0.014742434024810791, -0.22739212214946747, 0.03292768448591232, -0.8539669513702393, -0.29356294870376587, -0.6446318030357361, -0.38436445593833923, 0.9162967801094055, 0.552913248538971, 0.9417529702186584, 0.5275478959083557, 0.5741938352584839, 0.3764289617538452, 0.023583542555570602, 0.33003923296928406, -0.27217021584510803, 0.12695130705833435, -0.537852942943573, -0.3523770868778229, -0.6590079069137573, -0.22396327555179596, 0.219434916973114, 0.7148127555847168, 0.14573918282985687, 0.2303583323955536, -0.03099539689719677, 0.6073535084724426, -0.3144739270210266, 0.2308865636587143, -0.2687915861606598, -0.11393404752016068, -0.13203094899654388, -0.466361939907074, -0.5573384165763855, -0.12468697130680084, 0.5009234547615051, -0.42509472370147705, 0.17589806020259857, 0.8146179914474487, 0.5152409076690674, -0.08073241263628006, -0.2620714604854584, -0.2703763246536255, -0.9352610111236572, 0.33198726177215576, -0.6669448614120483, 0.7589680552482605, 0.26707494258880615, 0.3676309883594513, -0.22798389196395874, -0.8402244448661804, -0.16200360655784607, -0.3657802641391754, -0.08669589459896088, 0.17308475077152252, 0.011219934560358524, 0.13216693699359894, 0.24399414658546448, 0.12983380258083344, -0.7745780944824219, 0.30498549342155457, -0.6332573890686035, -0.16289500892162323, 0.3471955955028534, 0.4455066919326782, 0.14632798731327057, -0.03301992639899254, -0.7196829319000244, -0.06266944110393524, -0.649981677532196, 0.21914318203926086, 0.637601912021637, 0.12640422582626343, 0.01916383020579815, 0.5855549573898315, -0.24575239419937134, 0.5213180184364319, 0.07051974534988403, 0.5600592494010925, 0.16698729991912842, -0.2628319263458252, -0.12960179150104523, -0.02583376131951809, 0.6597534418106079, 0.5107502341270447, 0.22043441236019135, -0.5018036961555481, -0.2789764106273651, -0.07288580387830734, 0.7295327186584473, -0.7612144351005554, -0.5070960521697998, 0.005203528329730034, -0.5204557776451111, -0.21474164724349976, 0.4011538326740265, -0.4328252077102661, -0.5501387119293213, -0.4906086325645447, 0.09992380440235138, -0.16314327716827393, -0.10995081067085266, 0.09723933786153793, -0.4328864812850952, 0.20054584741592407, 0.3484654128551483, -0.5153911709785461, 0.10456215590238571, 0.43126216530799866, 0.8749801516532898, -0.11624813824892044, -0.19645404815673828, -0.3513525128364563, 0.21119938790798187, -0.7515701651573181, 1.0963784456253052, -0.5676451325416565, -1.1579161882400513, -0.26378297805786133, 0.19525183737277985, 0.5358337163925171, -0.4219754934310913, 0.6746714115142822, -0.8486219048500061, 0.18450306355953217, 0.0767543613910675, -0.2903289794921875, -0.24290725588798523, -0.09637241810560226, -0.5716831088066101, 0.9113072752952576, 0.36266428232192993, -0.5317105650901794, 0.41526275873184204, -0.43338751792907715, -0.5101414918899536, 0.31483766436576843, -0.1990196257829666, -0.5267313718795776, 0.16411559283733368, 0.056819844990968704, 0.5601772665977478, -0.5437850952148438, 0.4449569284915924, -0.5961963534355164, -0.2328667789697647, -0.38309547305107117, -0.13046686351299286, 0.3761429190635681, 0.18126031756401062, -0.33710092306137085, 0.6451843976974487, -0.5799010396003723, -0.1791309118270874, -0.05845152586698532, -0.18711715936660767, -0.16091415286064148, 0.23203814029693604, -0.06319963186979294, 0.21879366040229797, 0.24489347636699677, -0.23131291568279266, 0.27753180265426636, -0.6769127249717712, -0.17112991213798523, 1.090035080909729, 0.01610971800982952, 0.8613614439964294, -0.718614935874939, 0.5913095474243164, -0.2756783962249756, -0.13209478557109833, -0.39799293875694275, -0.4862632155418396, -0.7726119160652161, 0.031227732077240944, 0.16010122001171112, 0.7030870914459229, -0.5716288685798645, 0.6523533463478088, -0.4928293824195862, -0.9127277731895447, -0.11802688986063004, 0.128321573138237, 0.17801141738891602, 0.24459831416606903, 0.19218046963214874, -0.5116128921508789, -0.8519327640533447, -1.0217761993408203, -0.14569403231143951, -0.3746916949748993, -0.443212628364563, 0.44640374183654785, 0.1241382285952568, -0.34963858127593994, 0.7354671955108643, -0.48667827248573303, -0.17926685512065887, -0.1714949905872345, 0.22852560877799988, 0.44818660616874695, 0.1674729436635971, 0.5993359088897705, -0.5035245418548584, -0.5115025043487549, -0.12287391722202301, -0.4015589952468872, -0.1886196881532669, -0.47628748416900635, -0.5479209423065186, -0.27027031779289246, 0.6520516276359558, -0.37802955508232117, 0.4416491985321045, -0.0008523687720298767, -0.49231916666030884, 0.4851028025150299, -0.2865563929080963, -0.19012168049812317, -1.1141881942749023, -0.08759380877017975, -0.23220178484916687, -0.2217794507741928, -0.18044531345367432, -0.36968401074409485, 0.0007236999808810651, 0.18305808305740356, -0.059187985956668854, 0.6154614686965942, -0.6065414547920227, 0.13919086754322052, -0.29192718863487244, -0.00015926154446788132, 0.02329428307712078, 0.6861125826835632, 0.08633189648389816, 0.15069323778152466, 0.6387374997138977, -0.679511308670044, 0.5340641736984253, 0.3695305287837982, -0.6766648292541504, 0.2927938997745514, -0.7988852858543396, 0.22504332661628723, -0.22333666682243347, 0.19735610485076904, -1.1176637411117554, 0.36412185430526733, 0.2392677366733551, -0.26654860377311707, 0.27487388253211975, -0.23703476786613464, -0.4776705205440521, -0.5629199743270874, -0.3989919126033783, -0.08766438066959381, 0.3887866735458374, -0.5639929175376892, 0.9327326416969299, -0.02454226091504097, -0.5362277626991272, -0.19119274616241455, -0.2804366648197174, 0.11743799597024918, 0.1547676920890808, -0.7326855063438416, 0.6673339009284973, -0.45081788301467896, 0.08051985502243042, 0.01047772541642189, -0.20717886090278625, 0.4667387008666992, 0.013062667101621628, 0.8218508958816528, 0.7014891505241394, 0.07540836185216904, -0.10330341756343842, -0.17841988801956177, -0.2645152509212494, 0.2322394996881485, -0.3801977038383484, 0.42989861965179443, -0.11696954816579819, -0.41834431886672974, -0.036514896899461746, 0.25888189673423767, 0.8680792450904846, -0.35034942626953125, 0.5048810839653015, 0.5683837532997131, -0.1096818596124649, -0.3379281759262085, -0.5009550452232361, -0.10582471638917923, -0.4948132336139679, 0.45639973878860474, -0.49856483936309814, -0.3242570757865906, 0.4263364374637604, -0.6079133152961731, 0.6934574842453003, 0.28857019543647766, 0.8162240386009216, -0.26900506019592285, 1.1398921012878418, 0.6324909925460815, -0.3789657950401306, 0.8774319887161255, -0.6717327237129211, 0.4366276264190674, -0.7544251680374146, -0.2741895318031311, -0.2767007350921631, -0.6372455358505249, -0.4101177155971527, -0.15989142656326294, 0.41633039712905884, 0.12020329385995865, -0.1141274943947792, 0.5407626032829285, -0.4092656672000885, -0.004706260282546282, 0.6974568367004395, 0.03323525935411453, 0.05681052431464195, -0.06801050901412964, -0.4540214240550995, 0.51959228515625, -0.7832586765289307, -0.45601773262023926, 0.895008385181427, 0.21983398497104645, 0.6417526006698608, 0.02364208549261093, 0.38198256492614746, 0.5268994569778442, 0.4322841167449951, -0.9138512015342712, 0.4347054660320282, 0.27038320899009705, -0.48971250653266907, -0.3708765208721161, 0.0344824381172657, -0.9909476637840271, -0.05624977871775627, -0.27678197622299194, -0.11544059962034225, 0.3947880268096924, -0.04066205024719238, -0.44897156953811646, 0.49815770983695984, -0.5971798300743103, 0.5360717177391052, -0.300200492143631, -0.42008763551712036, -0.3075311481952667, -0.7506572008132935, -0.18011818826198578, -0.08975431323051453, 0.5076148509979248, -0.11297886818647385, 0.004215503577142954, 0.5900260806083679, -0.4124593734741211, 0.47901642322540283, -0.18665245175361633, 0.0456906296312809, 0.4047011137008667, 0.360712468624115, 0.9597659111022949, -0.0031036061700433493, -0.1747758984565735, 0.09843720495700836, -0.21309830248355865, 0.12833063304424286, -0.8010185360908508, 0.5763299465179443, -0.5346415042877197, -0.7533150911331177, 0.029741764068603516, -0.2764812707901001, -0.11441327631473541, 0.27233654260635376, 0.3434411287307739, 0.8407647013664246, -0.08274045586585999, 0.42114201188087463, 0.07211007177829742, -0.048970699310302734, 0.3944963216781616, 0.5737051367759705, -0.23828232288360596, -0.3801443874835968, 0.847048819065094, 0.09283493459224701, -0.23690825700759888, 0.5652149319648743, 0.14871273934841156, -0.2635214030742645, -0.736111044883728, -0.8215774297714233, -0.10923078656196594, -0.2803865969181061, -0.3541002571582794, -0.4723585546016693, 0.0006869799690321088, -0.29473766684532166, -0.6507310271263123, -0.10762891173362732, -0.3669854998588562, -0.1267421990633011, -0.2994726896286011, 0.09175924956798553, 0.893770158290863, 0.3159753978252411, 0.1528407335281372, -0.8540146946907043, 0.6171321868896484, -0.05004561319947243, 0.8746663331985474, 0.0933564230799675, -0.5216699242591858, -0.5537523627281189, -0.1729787141084671, -0.4569748342037201, -0.6627950072288513, 0.11800029873847961, -0.13964064419269562, 0.8714155554771423, 0.56480473279953, 0.15149956941604614, 0.10974454879760742, -0.8970777988433838, 0.44062188267707825, 0.04478396847844124, -0.11863207072019577, 0.34594205021858215, -0.34188881516456604, 0.4512971341609955, 0.11546426266431808, 0.5773990154266357, -0.380685031414032, -0.30462124943733215, -0.5859456062316895, -1.0714415311813354, 0.629795491695404, -0.08232199400663376, 0.008254683576524258, 0.15704336762428284, -0.05148589238524437, 0.08679619431495667, -0.0034225801937282085, 0.07779504358768463, -0.4086950421333313, -0.10330769419670105, -0.09376007318496704, 0.016429373994469643, -0.42494940757751465, 0.2714124619960785, -0.012809417210519314, 0.8787336945533752, 0.21313470602035522, 0.15823164582252502, 0.16009829938411713, 0.1248384341597557, -0.1919231414794922, 0.2664884328842163, 0.11411866545677185, 0.7699946761131287, -0.10113520920276642, -0.16564138233661652, 0.27369463443756104, -0.12243466079235077, -0.0798930674791336, 0.1258528083562851, -0.08041010797023773, 0.10118966549634933, 0.24379880726337433, 0.848257303237915, 0.4321363866329193, -0.3944753408432007, 0.30995726585388184, 0.171302929520607, -0.22293443977832794, -0.4597540497779846, -0.154694065451622, 0.2378080189228058, 0.47330164909362793, 0.12035784125328064, 0.4935338497161865, 0.3665992319583893, -0.20891554653644562, 0.07857032865285873, 0.47712403535842896, -0.2452365756034851, -0.3118816614151001, 0.655526340007782, 0.5124380588531494, -0.7208958268165588, 0.5837447047233582, 0.293550580739975, -0.5072676539421082, 0.40704238414764404, 0.061737269163131714, 1.0060175657272339, -0.11024188995361328, -0.1379232555627823, 0.2471071183681488, 0.2502501606941223, 0.0335792638361454, 0.060156259685754776, -0.45927631855010986, -0.6528987884521484, -0.02547430247068405, -0.5326873064041138, -0.4312458038330078, -0.36470386385917664, -0.3702232539653778, 0.9270130395889282, -0.7085918188095093, -0.4676078259944916, -0.016496965661644936, -0.16851499676704407, -0.9063279628753662, -0.011249951086938381, 0.17021314799785614, 0.9763768315315247, -0.012871094048023224, 0.3661947250366211, 0.8153758645057678, -0.1602039486169815, -0.6512055397033691, -0.6267380118370056, -0.035759761929512024, -0.4255061447620392, 0.38309821486473083, -0.14940385520458221, -0.6096686720848083, 0.10336094349622726, -0.14229056239128113, -0.48475420475006104, 1.0772812366485596, 0.06217481940984726, -0.6330606937408447, -0.5926983952522278, -0.12424895167350769, 0.4527759552001953, -0.12382212281227112, 0.464775413274765, -0.004296198021620512, 0.4571981728076935, 0.20677432417869568, -0.8490433692932129, -0.11524806171655655, -0.499210387468338, 0.07511412352323532, 0.4038078188896179, -0.5216250419616699, 0.19379834830760956, -0.4944946765899658, -0.38480299711227417, 0.19103653728961945, 0.8234490156173706, -0.004453249741345644, 0.3490997850894928, 0.8330268859863281, 0.15960779786109924, 0.2319323569536209, 0.27193084359169006, 1.0206069946289062, -0.6657426357269287, -0.24099047482013702, 1.2439438104629517, 0.09125448763370514, 0.7160376906394958, 0.07188607007265091, -0.30702096223831177, 0.9155394434928894, 0.6928924322128296, -0.3411673903465271, 0.4607238471508026, 0.08516880869865417, 0.12986721098423004, -0.14777816832065582, 0.009292202070355415, -0.33697906136512756, 0.1338770091533661, 0.13756555318832397, -0.5219566226005554, -0.10386533290147781, -0.18309634923934937, -0.21174035966396332, -0.2634100615978241, -0.15320461988449097, 0.815083384513855, 0.01299983263015747, -0.5039341449737549, 0.31919753551483154, 0.13262967765331268, 0.6179514527320862, -0.7031242251396179, -0.1197713315486908, 0.0252027940005064, 0.059647850692272186, -0.25824934244155884, -0.738968014717102, 0.1456765979528427, -0.3860767185688019, -0.5927000641822815, -0.6803870797157288, 0.6578416228294373, -0.393785297870636, -0.5365561842918396, 0.3425593674182892, 0.5899839997291565, -0.02643659897148609, -0.12190834432840347, -0.13446615636348724, -0.34027838706970215, -0.1391303688287735, -0.21369445323944092, -0.05774569883942604, 0.24169006943702698, -0.21609507501125336, 0.9394558668136597, 0.816422164440155, 0.2081516534090042, -0.07908596098423004, 0.22972853481769562, 0.8724213242530823, -0.4136030375957489, -0.6466279029846191, -0.648906946182251, 0.5412477254867554, 0.1614825278520584, 0.06109972670674324, 0.7679542899131775, 0.8396168351173401, 1.148011565208435, -0.16868557035923004, 0.6853246092796326, 0.20535336434841156, 0.5330471396446228, -0.014510877430438995, 0.445385605096817, -0.3167586922645569, 0.5621800422668457, -0.32428091764450073, -1.0873433351516724, 0.015476571395993233, -0.035370972007513046, -0.33507615327835083, 0.13799883425235748, 0.22233173251152039, 0.9570189118385315, -0.09875956177711487, 0.2665782570838928, 0.2950255274772644, -0.016071610152721405, 0.4846404492855072, 0.3201580047607422, 0.6217190027236938, -0.01942596770823002, 0.7977682948112488, -0.2705025374889374, -0.11379991471767426, -0.3158378005027771, -0.639087975025177, -0.9537591338157654, -0.7851735353469849, 0.10098876804113388, -0.023557186126708984, -0.3009759783744812, 1.0205655097961426, 0.7679884433746338, -0.7380816340446472, -0.22383655607700348, -0.07251939177513123, 0.1676073968410492, -0.19498592615127563, -0.23460732400417328, 0.5227819085121155, -0.021851910278201103, -0.5726468563079834, 0.5422470569610596, 0.46766629815101624, 0.08061420172452927, -0.36342090368270874, -0.158543661236763, -0.016819309443235397, 0.13232320547103882, 0.6805770993232727, -0.24620872735977173, -0.6222088932991028, -0.11779170483350754, 0.18298862874507904, 0.04620271548628807, -0.054289717227220535, 1.2079216241836548, -1.0351492166519165, 0.8534789085388184, 0.9565232396125793, 0.6093347072601318, 0.29628828167915344, 0.03323092684149742, 0.8781333565711975, -0.26468729972839355, -0.3476232886314392, -0.06255758553743362, 0.5689109563827515, 0.20123349130153656, -0.3544422686100006, 0.5045045614242554, 0.23855513334274292, -0.35889530181884766, -0.3474595248699188, -0.02052994817495346, -0.820444643497467, 0.03480031341314316, 0.663692831993103, 0.0525040440261364, 0.3068915903568268, -0.44549161195755005, -0.8114939332008362, 0.3330257534980774, -0.4820646047592163, 0.643448531627655, 0.5692729353904724, -0.23404771089553833, 0.05457546189427376, -0.26289960741996765, 0.08322354406118393, 0.2574011981487274, -0.30363979935646057, 0.03883272036910057, 0.5217083096504211, 0.011546004563570023, 0.06858553737401962, 0.28137683868408203, 0.08071093261241913, 0.14303308725357056, -0.1902133971452713, -0.03958875685930252, -0.6539269685745239, -0.6634268760681152, 0.32572975754737854, 0.11893323808908463, 0.05342990532517433, -0.011638020165264606 ]
http://arxiv.org/abs/2406.00799v3
http://arxiv.org/pdf/2406.00799v3
Are you still on track!? Catching LLM Task Drift with Activations
2024-06-02T16:53:21
2024-06-20T13:33:08
Sahar Abdelnabi, Aideen Fay, Giovanni Cherubin, Ahmed Salem, Mario Fritz, Andrew Paverd
cs.CR
cs.CR, cs.CL, cs.CY
Large Language Models (LLMs) are routinely used in retrieval-augmented applications to orchestrate tasks and process inputs from users and other sources. These inputs, even in a single LLM interaction, can come from a variety of sources, of varying trustworthiness and provenance. This opens the door to prompt injection attacks, where the LLM receives and acts upon instructions from supposedly data-only sources, thus deviating from the user's original instructions. We define this as task drift, and we propose to catch it by scanning and analyzing the LLM's activations. We compare the LLM's activations before and after processing the external input in order to detect whether this input caused instruction drift. We develop two probing methods and find that simply using a linear classifier can detect drift with near perfect ROC AUC on an out-of-distribution test set. We show that this approach generalizes surprisingly well to unseen task domains, such as prompt injections, jailbreaks, and malicious instructions, without being trained on any of these attacks. Our setup does not require any modification of the LLM (e.g., fine-tuning) or any text generation, thus maximizing deployability and cost efficiency and avoiding reliance on unreliable model output. To foster future research on activation-based task inspection, decoding, and interpretability, we will release our large-scale TaskTracker toolkit, comprising a dataset of over 500K instances, representations from 4 SoTA language models, and inspection tools.
[ 0.03879721835255623, -0.8974454402923584, 0.8421995043754578, -0.09371888637542725, -0.06302200257778168, 0.10019156336784363, -0.030527206137776375, -0.23840883374214172, -0.06685240566730499, 0.6796149015426636, -0.8596158623695374, -0.5244706869125366, -0.6226094365119934, -0.07205875217914581, -0.7043885588645935, 0.7577747106552124, -0.09650121629238129, -0.13927018642425537, -0.38838234543800354, -0.10591035336256027, -0.5301132798194885, -0.47047844529151917, -0.6223214268684387, -0.44162845611572266, 0.35366690158843994, 0.23789182305335999, 0.08802296966314316, 0.5202221274375916, 0.5519008636474609, 0.23662252724170685, -0.23473457992076874, 0.17357532680034637, -0.48071444034576416, 0.21420365571975708, -0.08845598250627518, -0.8991073966026306, -0.3322260081768036, -0.15231607854366302, 0.3611610531806946, 0.40160274505615234, -0.25194042921066284, 0.22717273235321045, 0.02407529205083847, 0.42680999636650085, -0.9546158909797668, -0.08083006739616394, -0.5835229754447937, -0.06267638504505157, -0.5901449918746948, -0.4123522937297821, -0.8065072894096375, 0.004074625205248594, -0.43596017360687256, -0.3633553981781006, 0.04687023535370827, -0.2162240445613861, 0.5166137218475342, 0.5713117718696594, -0.3860721290111542, -0.5613150596618652, -0.5736702084541321, 0.7162919640541077, -0.6763607859611511, 0.36787301301956177, 0.40426695346832275, -0.02486395090818405, -0.38781341910362244, -0.7004367113113403, -0.5175060629844666, -0.47864997386932373, 0.2182590663433075, 0.137956440448761, -0.07062724232673645, -0.06547573953866959, 0.4978117346763611, 0.025999899953603745, -0.41128793358802795, 0.32060742378234863, 0.045200955122709274, -0.22489401698112488, 0.3762946128845215, 0.3152346909046173, 0.44715574383735657, 0.2859523296356201, -0.6273396015167236, 0.22084803879261017, -1.063728928565979, 0.06885033845901489, 0.34299802780151367, 0.08142352104187012, -0.03227399289608002, 0.5515455007553101, -0.049246832728385925, 0.7569730281829834, 0.29018890857696533, 0.12997370958328247, 0.09053986519575119, -0.3237016201019287, -0.09471996873617172, 0.0057488130405545235, 0.640346348285675, -0.017668284475803375, -0.20732958614826202, -0.13435828685760498, -0.3912228047847748, 0.09957395493984222, 0.35810375213623047, -0.43276768922805786, 0.025003310292959213, 0.2783399224281311, -0.32666534185409546, -0.342928022146225, -0.2961778938770294, -0.313524067401886, -0.5645257234573364, 0.039285022765398026, 0.23566992580890656, -0.30799221992492676, -0.24792970716953278, -0.04879489168524742, -0.05348818004131317, 0.4373351037502289, 0.22010642290115356, -0.9547793865203857, 0.1734025925397873, 0.9389849901199341, 0.847659170627594, -0.5226306915283203, -0.15553531050682068, -0.8180975914001465, -0.15037085115909576, -0.28692781925201416, 0.8295444846153259, -0.5022463798522949, -0.2663611173629761, 0.2716522216796875, 0.020015841349959373, -0.18239456415176392, -0.7790863513946533, 0.3582725524902344, -1.0329132080078125, -0.14339768886566162, -0.17931629717350006, -0.6312153935432434, 0.19559094309806824, 0.33880332112312317, -0.5225694179534912, 1.3486899137496948, -0.046572234481573105, -0.5765626430511475, 0.2191982865333557, -0.7719271779060364, -0.36485692858695984, 0.21472245454788208, -0.16808998584747314, -0.0851987674832344, 0.21817952394485474, -0.07353821396827698, 0.32707956433296204, -0.01719595491886139, 0.06726489216089249, -0.16009047627449036, -0.3760559856891632, 0.36132121086120605, -0.22906003892421722, 0.9794029593467712, 0.1461048126220703, -0.5164284706115723, -0.0279917623847723, -0.5344201922416687, -0.1870047152042389, -0.0913250520825386, -0.5419837236404419, -0.2615414261817932, 0.18623092770576477, -0.23647820949554443, 0.10433374345302582, 0.46319037675857544, -0.6447455286979675, 0.3081665635108948, -0.11042196303606033, 0.24581830203533173, 0.7061917185783386, 0.2135365754365921, 0.27457574009895325, -0.12724870443344116, 0.7083894610404968, 0.2535344660282135, 0.03302187845110893, -0.395614355802536, -0.48367786407470703, -0.6123054623603821, -0.06589704006910324, 0.12658734619617462, 0.7734058499336243, -0.9858734607696533, 0.3708707392215729, -0.16905580461025238, -0.22203077375888824, -0.24706131219863892, 0.46672898530960083, 0.42505866289138794, 0.5870007276535034, 0.16056303679943085, -0.1477288007736206, -0.09837783128023148, -0.5526834726333618, -0.37577059864997864, -0.026791756972670555, -0.20334571599960327, -0.06609133630990982, 0.5352006554603577, -0.4500257968902588, 0.857576310634613, -0.3721567690372467, -0.2099345326423645, -0.3339979946613312, 0.2703678011894226, 0.1664579212665558, 0.44934356212615967, 0.2569386661052704, -0.4752081036567688, -0.16802668571472168, -0.08141512423753738, -0.8377745151519775, -0.32751044631004333, -0.31382662057876587, -0.1283516138792038, 0.12956054508686066, 0.9218154549598694, -0.627765417098999, 0.22092267870903015, 0.5083075165748596, -0.26881515979766846, 0.3248375952243805, -0.035971302539110184, -0.18600450456142426, -0.8893800377845764, 0.08235660195350647, -0.00672578951343894, -0.4078798294067383, -0.8048480153083801, 0.24956315755844116, 0.38551369309425354, 0.021450212225317955, -0.6876246929168701, 0.3271480202674866, -0.4253852665424347, 0.2516368329524994, -0.4101136028766632, 0.0062971580773591995, -0.2521526515483856, 0.37621450424194336, -0.06592585891485214, 0.798566460609436, 0.4992050528526306, -0.5559307932853699, 0.34250620007514954, 0.09255779534578323, -0.6179969310760498, 0.4319421648979187, -0.3461509346961975, 0.5408982038497925, -0.11612476408481598, 0.2769067585468292, -0.796670138835907, -0.09715340286493301, 0.3818525969982147, -0.24142329394817352, 0.5599119663238525, -0.23437412083148956, -0.37324845790863037, -0.027187487110495567, -0.2370615452528, 0.2986917793750763, 0.5905357003211975, -0.5382328033447266, 0.6484416127204895, 0.33253517746925354, 0.04110127314925194, -0.9065098166465759, -0.7705904245376587, 0.07546095550060272, -0.14367985725402832, -0.36716702580451965, 0.06591515988111496, -0.02093595452606678, -0.1930442601442337, -0.1313498318195343, -0.43240687251091003, 0.0050901989452540874, 0.4391351640224457, 0.398115336894989, 0.2133074253797531, -0.22639498114585876, -0.18112944066524506, -0.004327442962676287, -0.0893743708729744, 0.40304258465766907, -0.28887489438056946, 0.5231395363807678, 0.33380192518234253, -0.6801902055740356, -0.61906898021698, 0.08982948213815689, 0.6727669835090637, -0.07138588279485703, 0.40262770652770996, 0.3727632462978363, -0.18977536261081696, -0.3392743170261383, -0.559218168258667, -0.19250012934207916, -0.5308839082717896, 0.37136662006378174, -0.2792210876941681, -0.6944192051887512, 0.5781388282775879, -0.46151304244995117, 0.23598513007164001, 0.11834089457988739, 0.6676439046859741, -0.2697693109512329, 0.84860759973526, 0.7255595922470093, -0.10832946747541428, 0.7973411679267883, -0.275921106338501, 0.03205828741192818, -0.9065048694610596, -0.1710198074579239, -0.17548462748527527, -0.4169282615184784, -0.14385183155536652, -0.4907854497432709, 0.2765321731567383, -0.11155311018228531, 0.2259477823972702, 0.16545376181602478, -0.09672113507986069, 0.5222725868225098, 0.4379526674747467, 0.3574186861515045, 0.10234468430280685, -0.2976285219192505, 0.02308340184390545, 0.38608407974243164, -0.4888592064380646, -0.33911561965942383, 1.25242018699646, 0.39951321482658386, 0.9682320356369019, -0.21751894056797028, 0.9342705607414246, 0.6389636397361755, 0.5649272203445435, -0.6869575381278992, 0.7199852466583252, 0.0907016322016716, -0.5922223329544067, -0.045063577592372894, -0.3398474454879761, -0.8960785269737244, -0.05151161924004555, 0.17221711575984955, -0.7532210350036621, 0.2551285922527313, 0.3383353054523468, -0.29322806000709534, 0.15452006459236145, -0.5240880846977234, 0.9541700482368469, -0.35347485542297363, -0.2904723286628723, -0.06081189587712288, -0.4716593027114868, 0.5459656715393066, -0.14075011014938354, 0.24453721940517426, -0.2984653115272522, -0.321930855512619, 0.6718791127204895, -0.4019303023815155, 1.0190179347991943, -0.3694744408130646, -0.4463741183280945, 0.419347882270813, 0.1316162645816803, 0.7803483009338379, -0.1882910132408142, 0.052955955266952515, 0.07231597602367401, -0.26549866795539856, -0.31820446252822876, -0.678009033203125, 0.6822508573532104, -0.41796988248825073, -0.6085973978042603, -0.2872248589992523, -0.6553951501846313, -0.061328597366809845, 0.14216914772987366, 0.4567806124687195, 0.506131649017334, 0.05432595685124397, -0.172040194272995, 0.8547455668449402, 0.25759971141815186, 0.4218297302722931, 0.4746478199958801, 0.13053028285503387, 0.22023038566112518, 1.0157753229141235, -0.14630575478076935, 0.4854833781719208, 0.49145251512527466, -0.013891628012061119, -0.1890125870704651, -1.0420469045639038, -0.5760263204574585, -0.008986067958176136, -0.8086932301521301, -0.24465204775333405, -0.48879534006118774, 0.18656659126281738, -0.14580178260803223, 0.15106138586997986, -0.25411736965179443, -0.22575786709785461, -0.4376457631587982, 0.024572711437940598, 0.23067966103553772, 0.7817989587783813, 0.22822019457817078, 0.47300875186920166, -0.7385919094085693, 0.2187010794878006, 0.1870032548904419, 0.006340592633932829, -0.2655421793460846, -0.6501700282096863, -0.3214886486530304, 0.09329792112112045, -0.4235284626483917, -1.1076266765594482, 0.19488266110420227, 0.16175338625907898, 0.46335771679878235, 0.609205961227417, 0.09282352775335312, 0.320121705532074, -0.5498195290565491, 0.898087739944458, -0.04331669956445694, -1.0176416635513306, 0.4722544848918915, -0.28176724910736084, 0.532172679901123, 0.6022612452507019, 0.3947114050388336, -0.3560698330402374, -0.8515396118164062, -0.2776328921318054, -0.7067132592201233, 0.7966558933258057, -0.140211284160614, 0.1660299003124237, 0.04647482559084892, 0.5040287971496582, -0.11196179687976837, 0.11441518366336823, -0.6813085675239563, -0.28093940019607544, 0.2133096307516098, -0.36784228682518005, 0.16090643405914307, -0.28241753578186035, -0.11030448973178864, 0.2873571217060089, 0.4914605915546417, -0.11737755686044693, 0.15317398309707642, -0.10729839652776718, -0.4989662766456604, -0.0852968841791153, 0.2348165512084961, 0.5703291893005371, 0.6442686915397644, 0.022765619680285454, 0.34175002574920654, 0.4041244685649872, -0.8533135056495667, 0.2864817678928375, -0.17759865522384644, -0.4387555718421936, 0.04228462278842926, 0.527892529964447, 0.3459971845149994, 0.2736775875091553, -1.0130213499069214, 0.49482133984565735, 0.04757443815469742, 0.07770010083913803, -0.20519253611564636, 0.2743701934814453, 0.056038111448287964, 0.21999841928482056, 0.43294596672058105, 0.0993296280503273, 0.07594600319862366, -0.5787850022315979, 0.1585225611925125, 0.5734996795654297, -0.5019188523292542, -0.40244147181510925, 0.5010815262794495, 0.22935263812541962, -0.344100683927536, 0.684408962726593, -0.2894546687602997, -0.5855879187583923, 0.5656900405883789, 0.5146726369857788, 1.035115122795105, -0.38909095525741577, -0.11651161313056946, -0.13798393309116364, 0.4192267954349518, -0.13102300465106964, 0.42496228218078613, -0.30201777815818787, -0.6852850914001465, -0.5705784559249878, -0.4185050129890442, -0.4536677896976471, 0.12226781249046326, -0.7836674451828003, 0.1635468453168869, -0.2760043144226074, -0.19750957190990448, -0.1509760618209839, -0.501194417476654, -0.5074386596679688, -0.25563278794288635, 0.3595256507396698, 1.03729248046875, -1.0281391143798828, 0.8804264068603516, 0.7855645418167114, -0.01445698831230402, -0.15777556598186493, 0.2097012847661972, 0.19535768032073975, -1.0455187559127808, 0.9154069423675537, 0.22202298045158386, -0.2571026682853699, -0.06091909855604172, -0.5743269920349121, -0.8473129272460938, 0.9384394288063049, 0.2908909320831299, -0.550771951675415, -0.13207247853279114, 0.07458530366420746, 0.25464707612991333, -0.06530233472585678, 0.23303033411502838, 0.8600823879241943, 0.22134222090244293, -0.21779485046863556, -0.5671073794364929, 0.26588985323905945, -0.20595407485961914, -0.37289050221443176, 0.4823281168937683, -0.2707243859767914, 0.6353022456169128, -0.16562509536743164, -0.44860708713531494, 0.004581626504659653, 0.4733862578868866, 0.10408483445644379, 0.5150026679039001, 0.5041313171386719, 0.7448140382766724, 0.5886985063552856, -0.0660698413848877, 0.9613368511199951, -0.35611197352409363, 0.16695961356163025, 1.0245110988616943, -0.5642048120498657, 1.069783091545105, 0.4546370208263397, -0.025964561849832535, 0.6223379969596863, 0.46934211254119873, 0.12328487634658813, 0.6089454889297485, 0.16866496205329895, -0.5294181108474731, -0.35406768321990967, -0.08849231898784637, -0.06180001422762871, 0.2464357614517212, 0.6244585514068604, -0.1593436896800995, -0.28088653087615967, 0.31416183710098267, -0.0007931303698569536, -0.16181239485740662, -0.27489373087882996, 0.9124190211296082, 0.0877433642745018, -0.6552457213401794, 0.6981621384620667, -0.2079174965620041, 0.7550447583198547, -0.7267592549324036, 0.12603962421417236, -0.18087120354175568, 0.3226517140865326, -0.18390031158924103, -0.6310898661613464, 0.09556795656681061, 0.12805694341659546, -0.017374657094478607, -0.46589264273643494, 0.6185613870620728, -0.35191985964775085, -0.2322881817817688, 0.03408638760447502, 0.3802972435951233, 0.06514424085617065, -0.09300929307937622, -0.4911693036556244, 0.43945032358169556, -0.04671607166528702, -0.3781295120716095, 0.5500272512435913, 0.27541419863700867, 0.034521978348493576, 0.8603639006614685, 0.679199755191803, -0.05321260169148445, 0.37747421860694885, -0.22466658055782318, 0.8638439774513245, -0.46094048023223877, -0.30250805616378784, -1.004394292831421, 0.460027277469635, 0.21553587913513184, -0.26820024847984314, 0.8684216141700745, 0.5846530795097351, 0.6492491960525513, -0.06194636598229408, 0.70604407787323, 0.1281191110610962, 0.23552453517913818, -0.7571477293968201, 0.470375657081604, -0.4031393527984619, 0.4734337031841278, 0.14721518754959106, -0.5531697869300842, 0.006590805947780609, 0.15005570650100708, -0.3244933784008026, -0.23319615423679352, 0.694004237651825, 0.8256341218948364, -0.11042367666959763, -0.1452045440673828, 0.007264460902661085, 0.14824853837490082, 0.3238740861415863, 0.6260769367218018, 1.3620905876159668, -0.06364620476961136, 0.5523354411125183, 0.013436343520879745, -0.45421701669692993, -0.3156037926673889, -0.8168573975563049, -0.9923806190490723, -0.2583276033401489, -0.5321167707443237, -0.37266847491264343, 0.18987290561199188, 0.5757739543914795, 0.6022427678108215, -0.8347534537315369, -0.2967475354671478, -0.32953640818595886, 0.24973461031913757, -0.516482949256897, -0.16974703967571259, 0.14328670501708984, -0.7316970229148865, -0.625532865524292, 0.8761256337165833, 0.15958644449710846, -0.16816236078739166, -0.22125746309757233, 0.2345885932445526, -0.21752484142780304, -0.13146185874938965, 0.43858546018600464, 0.5021311044692993, -0.6164681315422058, -0.17928284406661987, 0.16332386434078217, 0.01849251799285412, -0.12541136145591736, 1.087221384048462, -0.6275314688682556, 0.4516453742980957, 0.5833176970481873, 0.8768218159675598, 0.41226276755332947, -0.020736850798130035, 0.45627835392951965, -0.8833925127983093, -0.01595485769212246, 0.4162900149822235, 0.2718927264213562, -0.03840342536568642, -0.48926401138305664, 0.1846407949924469, 0.07383942604064941, -0.6575084328651428, -1.1138789653778076, 0.422690749168396, -0.8656652569770813, -0.04177149385213852, 0.9826404452323914, -0.2566326856613159, -0.4266318082809448, -0.4154345393180847, 0.1573026180267334, -0.08537312597036362, -0.23660345375537872, 0.6098508238792419, 0.45045900344848633, -0.4158867299556732, -0.009815938770771027, -0.7017008662223816, 0.5642572045326233, 0.4581844210624695, -0.8742768168449402, 0.32880669832229614, 0.39540132880210876, 0.35620084404945374, 0.4269695580005646, 0.48356932401657104, 0.15156106650829315, 0.5213210582733154, -0.0678430050611496, -0.03268849849700928, -0.12769660353660583, -0.15129442512989044, -0.5510890483856201, 0.11717768013477325, 0.045601096004247665, -0.5970053672790527 ]
http://arxiv.org/abs/2406.00789v1
http://arxiv.org/pdf/2406.00789v1
Developing an efficient corpus using Ensemble Data cleaning approach
2024-06-02T16:03:31
2024-06-02T16:03:31
Md Taimur Ahad
cs.CL
cs.CL, cs.CV
Despite the observable benefit of Natural Language Processing (NLP) in processing a large amount of textual medical data within a limited time for information retrieval, a handful of research efforts have been devoted to uncovering novel data-cleaning methods. Data cleaning in NLP is at the centre point for extracting validated information. Another observed limitation in the NLP domain is having limited medical corpora that provide answers to a given medical question. Realising the limitations and challenges from two perspectives, this research aims to clean a medical dataset using ensemble techniques and to develop a corpus. The corpora expect that it will answer the question based on the semantic relationship of corpus sequences. However, the data cleaning method in this research suggests that the ensemble technique provides the highest accuracy (94%) compared to the single process, which includes vectorisation, exploratory data analysis, and feeding the vectorised data. The second aim of having an adequate corpus was realised by extracting answers from the dataset. This research is significant in machine learning, specifically data cleaning and the medical sector, but it also underscores the importance of NLP in the medical field, where accurate and timely information extraction can be a matter of life and death. It establishes text data processing using NLP as a powerful tool for extracting valuable information like image data.
[ -0.35575515031814575, -0.5415055155754089, 0.26399657130241394, 0.029055029153823853, -0.21423204243183136, 0.19049035012722015, -0.18882088363170624, -0.7513202428817749, 0.2897288501262665, 0.4744323790073395, -0.2608150541782379, -0.5087752342224121, -0.5143946409225464, 0.3247908055782318, -0.6363286972045898, 1.1213172674179077, 0.17148977518081665, 0.17844738066196442, -0.35968926548957825, -0.254179447889328, -0.3825751841068268, -0.43124884366989136, -0.9943755865097046, -0.0381179004907608, 0.3032730519771576, 0.3563618063926697, 0.6739445924758911, 1.0066490173339844, 0.8110206723213196, 0.2866095304489136, -0.10533846914768219, 0.39798974990844727, -0.4301314055919647, 0.5462682247161865, -0.18877671658992767, -0.2636449337005615, 0.06473236531019211, -0.2833751440048218, 0.563549280166626, 0.8939312100410461, -0.22348178923130035, 0.05478215962648392, 0.162906214594841, 0.7067080736160278, -0.5323256850242615, 0.042668502777814865, -0.7233037352561951, 0.17475610971450806, -0.28110456466674805, -0.4879033863544464, -0.2039572149515152, -0.1373223513364792, -0.07436087727546692, -0.7559844851493835, 0.22168762981891632, 0.007615106645971537, 0.8945001363754272, 0.5129184722900391, 0.04734319821000099, -0.4610931873321533, -0.7661099433898926, 0.8708884716033936, -0.5734025835990906, -0.010268878191709518, 0.507360577583313, 0.17277491092681885, -0.11656174063682556, -0.7317970991134644, -0.32045936584472656, 0.4216150939464569, -0.171553373336792, 0.22079157829284668, -0.20947369933128357, -0.2917633652687073, 0.029228854924440384, 0.4038415551185608, -0.603339672088623, 0.2483844757080078, -0.7623940110206604, -0.22622385621070862, 0.6517003774642944, 0.15395934879779816, 0.5049002170562744, -0.21870791912078857, -0.6638102531433105, -0.08448822796344757, -0.3431363105773926, -0.16051870584487915, 0.2365092933177948, 0.10738249868154526, 0.23891162872314453, 0.6222848892211914, -0.1327674388885498, 0.5539162755012512, -0.22695167362689972, -0.16173464059829712, 0.2892354428768158, -0.2777548134326935, -0.2536698579788208, 0.3307989537715912, 0.7616021037101746, 0.2854520380496979, 0.1403602808713913, -0.14774884283542633, -0.23538507521152496, 0.2920877933502197, 0.6083999872207642, -0.5472919344902039, -0.16025452315807343, 0.8279733061790466, -0.5661624670028687, -0.5679635405540466, -0.31323957443237305, -1.1163580417633057, -0.4500638544559479, -0.3924674987792969, 0.0739007294178009, -1.0054900646209717, -0.17330576479434967, 0.008475634269416332, -0.16587316989898682, 0.361516535282135, 0.5017070770263672, -1.0083088874816895, 0.5249961018562317, 1.0008240938186646, 0.6280604600906372, -0.37894201278686523, 0.3100627362728119, -0.4671289026737213, -0.011595379561185837, -0.4744565784931183, 0.8906278014183044, -0.5944467186927795, -0.4306658208370209, -0.0319315642118454, -0.37060022354125977, -0.24167273938655853, -0.8715088367462158, 0.9838868379592896, -0.3710109293460846, 0.31107228994369507, 0.18687884509563446, -0.991330623626709, -0.22813189029693604, 0.11011062562465668, -0.730109691619873, 0.9101820588111877, -0.08660461008548737, -0.8742935061454773, 0.4693318009376526, -0.5711763501167297, -0.41800761222839355, 0.47306713461875916, -0.3396283686161041, -0.35105255246162415, -0.06818542629480362, 0.3629826605319977, 0.5146051645278931, 0.03985291346907616, 0.19720013439655304, -0.25447583198547363, -0.2995503842830658, -0.13782109320163727, -0.2874150574207306, 0.8859823346138, 0.5550490021705627, -0.03547684848308563, -0.1995566487312317, -0.8232355713844299, 0.28124627470970154, -0.19569715857505798, -0.09114521741867065, -0.4791007339954376, 0.0033937215339392424, 0.12445048242807388, 0.08586519956588745, 0.08459176123142242, -0.4687931537628174, 0.23651809990406036, -0.44108930230140686, 0.2287706583738327, 0.5758313536643982, 0.173321932554245, 0.2860298752784729, -0.7195684909820557, 0.5082203149795532, -0.09717174619436264, -0.030577611178159714, -0.18745455145835876, -0.6746420860290527, -0.0532618947327137, -0.8041283488273621, 0.6541875004768372, 0.7985226511955261, -0.8934609293937683, 0.5677971839904785, -0.10430285334587097, -0.534546434879303, -0.9762816429138184, 0.11053188890218735, 0.28542831540107727, 0.7511789798736572, 0.4742012619972229, -0.22277529537677765, -0.7749407887458801, -0.8699343800544739, -0.08495685458183289, -0.10764673352241516, -0.055679820477962494, 0.03198223188519478, 0.48415571451187134, -0.13695837557315826, 0.7994300723075867, -0.42044597864151, -0.2986941635608673, -0.17511312663555145, 0.036394648253917694, 0.23971699178218842, 0.7421248555183411, 0.2743062674999237, -1.0199193954467773, -0.12966562807559967, 0.1455192267894745, -1.0420526266098022, -0.07734071463346481, -0.0019301720894873142, -0.2280522733926773, 0.2717336416244507, 0.35140010714530945, -0.44637957215309143, 0.5215675234794617, 0.38770943880081177, 0.007136608939617872, 0.3889620006084442, -0.3123399615287781, 0.3613449037075043, -1.1059255599975586, 0.48728474974632263, 0.05224879831075668, -0.3070155084133148, -0.7731648683547974, 0.08700262010097504, -0.14283137023448944, -0.03718971088528633, -0.3743327856063843, 0.4492033123970032, -0.1982087343931198, 0.14326518774032593, -0.24508841335773468, -0.06905198097229004, -0.018567340448498726, 0.2558978796005249, 0.27785396575927734, 0.30021825432777405, 0.4258195459842682, -0.6904863715171814, 0.042215898633003235, 0.4176221489906311, -0.23795752227306366, 0.5145699381828308, -0.5867862701416016, -0.16136491298675537, -0.042761143296957016, -0.051432058215141296, -0.8849695324897766, -0.364206999540329, 0.2520378530025482, -0.45265495777130127, 0.4314958155155182, 0.07932239025831223, -0.7451207041740417, -0.18599510192871094, -0.3250904083251953, 0.2531817853450775, 0.6020046472549438, -0.5452540516853333, 0.20858533680438995, 0.6215343475341797, -0.25340309739112854, -0.803528904914856, -0.4147070646286011, -0.06074274703860283, -0.45633620023727417, -0.8214808106422424, 0.4852818548679352, 0.29530972242355347, -0.5790039896965027, 0.06857866793870926, -0.1832423359155655, -0.35983383655548096, 0.20812804996967316, 0.05756284296512604, 0.5550761222839355, 0.019877320155501366, 0.6644383668899536, 0.1285979002714157, -0.1435120403766632, -0.12998522818088531, 0.005933863576501608, 0.5849294662475586, 0.16579894721508026, -0.23584559559822083, -0.4069608449935913, 0.4750760793685913, 0.24057026207447052, -0.20662984251976013, 0.5853958129882812, 0.6851379871368408, -0.8560388684272766, 0.04570326209068298, -0.45084089040756226, -0.020097127184271812, -0.3779606819152832, 0.18092063069343567, 0.010237361304461956, -0.4477742910385132, 0.6429702043533325, -0.013689502142369747, 0.28806453943252563, 0.7344882488250732, 0.4691828191280365, -0.4583298861980438, 0.7671493887901306, 0.2776026725769043, -0.09506236761808395, 0.07513728737831116, -0.21755926311016083, -0.02853570133447647, -0.6511564254760742, -0.11147867143154144, -0.6848471760749817, -0.2093903124332428, -0.6627552509307861, -0.1982163041830063, 0.3291972279548645, 0.03340921178460121, 0.20695078372955322, 0.23412001132965088, -0.8476421236991882, 0.16110482811927795, 0.6375547051429749, 0.24731412529945374, 0.3250226378440857, -0.07380051165819168, -0.106200210750103, 0.3068867325782776, -0.6644468903541565, -0.887603223323822, 1.3051191568374634, 0.18026554584503174, 0.38372182846069336, -0.21536897122859955, 0.997209906578064, 0.13918139040470123, -0.14103223383426666, -0.4351530969142914, 0.3470437526702881, -0.2715727388858795, -0.6148877143859863, -0.3737943768501282, -0.3336373269557953, -1.3951683044433594, 0.14203514158725739, -0.5352353453636169, -0.6398831009864807, 0.06702037900686264, -0.04684718698263168, -0.46052828431129456, 0.49133920669555664, -0.7241167426109314, 0.5526842474937439, 0.07203283160924911, -0.39368754625320435, -0.03707896173000336, -1.044995903968811, 0.35683953762054443, -0.364365816116333, 0.37458378076553345, 0.05076052248477936, -0.12165701389312744, 0.8583551049232483, -0.5548728108406067, 0.5563808083534241, -0.05730937048792839, -0.07543681561946869, 0.30563288927078247, -0.20045310258865356, 0.11686361581087112, 0.12943026423454285, -0.1201736330986023, 0.16398635506629944, 0.47209304571151733, -0.5636075735092163, -0.3947511315345764, 0.45033374428749084, -0.41026464104652405, -0.140926331281662, -0.4981156587600708, -0.545205295085907, -0.12254638969898224, -0.04338829591870308, 0.21594180166721344, 0.5979891419410706, -0.142937570810318, 0.14846573770046234, 0.7586593627929688, -0.4613180458545685, 0.5731078386306763, 0.03081103041768074, -0.1648784577846527, -0.2868824601173401, 0.6462807655334473, -0.08515632152557373, 0.12415647506713867, 0.6015744209289551, 0.03723643720149994, -0.2662750780582428, -0.4909727871417999, -0.5288438200950623, -0.07778280973434448, -0.42368069291114807, -0.21497246623039246, -0.6889923214912415, -0.04120548069477081, -0.5044965147972107, -0.019506363198161125, -0.09130814671516418, -0.6227201819419861, -0.39527037739753723, 0.14833998680114746, 0.512988269329071, 0.38167425990104675, -0.13676874339580536, -0.1020311787724495, -1.0069679021835327, 0.4802931547164917, -0.20443883538246155, 0.15598011016845703, -0.4172521233558655, 0.03813301399350166, -0.0011651137610897422, -0.05019701272249222, -0.0811978280544281, -0.7685028910636902, 0.7699577808380127, 0.06081349402666092, 0.5398397445678711, 0.42024627327919006, 0.048968639224767685, 0.5216384530067444, -0.3714829087257385, 0.6129939556121826, -0.05515121668577194, -0.4480595588684082, 0.5394927263259888, -0.35472166538238525, 0.14120477437973022, 0.9567229151725769, 0.3759077787399292, -0.564728856086731, -0.5876988172531128, -1.0612107515335083, -1.0876414775848389, 0.27158308029174805, 0.42269954085350037, -0.507258951663971, -0.0666593462228775, 0.35059598088264465, 0.47383546829223633, 0.3392784297466278, 0.1924149990081787, -0.2434033751487732, 0.29008927941322327, -0.64857017993927, 0.014913203194737434, 0.24792221188545227, -0.2559328079223633, -0.1261596530675888, 0.9522263407707214, 0.06690184026956558, 0.38428735733032227, 0.3821905851364136, -0.0005112931248731911, 0.16230133175849915, 0.3381238579750061, 0.4728352129459381, 0.35117554664611816, -0.005874236114323139, 0.010323168709874153, 0.07857757061719894, -0.7683326005935669, -0.02247663401067257, 0.16035984456539154, -0.030606405809521675, 0.07982610911130905, 0.5332525372505188, 0.14783872663974762, -0.051880843937397, -0.9734838008880615, 0.34152594208717346, -0.003542687278240919, -0.20701070129871368, -0.30283859372138977, 0.019913753494620323, 0.02922818623483181, -0.2085411548614502, 0.4433193802833557, 0.6248788237571716, 0.4376918375492096, -0.3159625828266144, 0.7584824562072754, 0.28660449385643005, -0.25633272528648376, 0.23046588897705078, 0.47400808334350586, -0.10010003298521042, -0.1599443107843399, 0.7617441415786743, -0.1475120484828949, -0.15012381970882416, 0.7961834669113159, 0.22614708542823792, 0.41802483797073364, -0.06461356580257416, 0.07002557814121246, 0.31905895471572876, -0.07988744229078293, -0.023461921140551567, 0.28874731063842773, 0.1571495532989502, -0.6097906827926636, -0.6379549503326416, -0.5865252614021301, -0.4375286400318146, 0.08321630209684372, -0.9468846917152405, 0.388796329498291, -0.14946717023849487, 0.12619665265083313, 0.3338896334171295, 0.175237774848938, -0.4768582880496979, 0.5710147619247437, -0.09072993695735931, 0.8264877200126648, -0.5159508585929871, 0.5678920745849609, 0.452354371547699, -0.1944306492805481, -0.8544199466705322, -0.38896065950393677, 0.011987064965069294, -1.0474636554718018, 0.319446325302124, 0.22505302727222443, 0.33524593710899353, -0.2942880392074585, -0.47954222559928894, -0.550881564617157, 0.7414983510971069, 0.048910241574048996, -0.5741732120513916, 0.009732594713568687, -0.2322475165128708, 0.8381111025810242, -0.08883216232061386, 0.13321971893310547, 0.430255264043808, 0.4583030045032501, 0.08505332469940186, -0.8352948427200317, -0.07134735584259033, -0.7894721031188965, -0.38202357292175293, 0.4078199565410614, -0.10528836399316788, 0.4414936304092407, -0.0964261144399643, -0.3014252781867981, 0.2882201373577118, 0.4880966246128082, 0.1959685981273651, 0.5126395225524902, 0.6519753336906433, 0.8267211318016052, 1.2415969371795654, -0.1386355459690094, 1.2628326416015625, -0.4976033866405487, 0.17706704139709473, 0.9235638380050659, -0.4375212490558624, 0.8143211603164673, 0.6491145491600037, -0.025346217676997185, 0.2453938126564026, 0.6257508397102356, -0.17268742620944977, 0.41184744238853455, 0.3306668698787689, -0.43811431527137756, 0.11956357955932617, 0.015925148501992226, -0.2962609827518463, 0.753462553024292, 0.350363165140152, -0.5859397053718567, -0.20598624646663666, 0.1680174618959427, -0.0015784979332238436, 0.2504480481147766, -0.4077224135398865, 1.1357039213180542, -0.2340298742055893, -0.8480815887451172, 0.2921682298183441, -0.2564319670200348, 0.5230739116668701, -0.3532865345478058, -0.26360583305358887, 0.41885966062545776, 0.14510026574134827, -0.47356775403022766, -0.7568413615226746, 0.7001551985740662, -0.031481366604566574, -0.0015591038390994072, -0.22167307138442993, 0.9580373764038086, -0.36754506826400757, -0.43763378262519836, -0.09162800759077072, 0.6741012334823608, 0.6089910268783569, 0.14305156469345093, -0.440927654504776, -0.2510857582092285, -0.05421258509159088, 0.013996000401675701, 0.33825504779815674, 0.3651488721370697, 0.1275697946548462, 0.5629643797874451, 0.6751988530158997, 0.36333349347114563, -0.11960506439208984, -0.1738038957118988, 0.49977394938468933, -0.44123515486717224, -0.28117606043815613, -0.8240199685096741, 0.334817111492157, -0.3555619716644287, -0.2700125575065613, 0.3191474676132202, 0.9529172778129578, 0.5877358317375183, 0.12634362280368805, 0.8673493266105652, -0.026080496609210968, 1.0413404703140259, -0.6036359071731567, 0.7193178534507751, -0.21506410837173462, 0.26916927099227905, -0.23543985188007355, -0.3008143901824951, -0.4098598062992096, 0.644275426864624, -0.014133777469396591, 0.009693227708339691, 0.773426353931427, 0.5486263036727905, 0.2901381552219391, 0.8080534338951111, 0.05448262393474579, -0.09029952436685562, 0.17632170021533966, 0.39706024527549744, 0.3807060122489929, -0.3311309814453125, 0.39470988512039185, -0.5132961273193359, -0.3498972952365875, 0.05885907635092735, -0.6722882390022278, -0.23316383361816406, -0.6136184930801392, -0.37593787908554077, -0.28654026985168457, 0.09669390320777893, 1.024851679801941, 0.4302474558353424, -0.7920923233032227, 0.1420373171567917, -0.08841871470212936, -0.12959200143814087, -0.8504943251609802, -0.29129305481910706, 0.6398407220840454, -0.7437522411346436, -0.8271026015281677, 0.26785507798194885, 0.20971736311912537, -0.23539556562900543, 0.14712683856487274, 0.45974835753440857, -0.42028889060020447, -0.2165193259716034, 0.30050384998321533, 0.23391780257225037, -0.08507645130157471, -0.22450408339500427, -0.050909098237752914, -0.32027769088745117, 0.3992326259613037, 0.5089986324310303, -0.7913718819618225, 0.40741822123527527, 0.32674136757850647, 0.814062774181366, 0.4104178547859192, 0.0711749717593193, 0.6596981883049011, -0.7200679183006287, -0.33902135491371155, 0.62442547082901, 0.4747169613838196, 0.29398709535598755, -0.6380917429924011, 0.9886293411254883, 0.022171050310134888, -0.675635039806366, -0.7993488311767578, -0.18087898194789886, -1.271622896194458, -0.4730473756790161, 1.1678485870361328, 0.11508865654468536, -0.3723456859588623, -0.39790546894073486, -0.5039686560630798, 0.5052515864372253, -0.3681083023548126, 0.7746953964233398, 0.49076664447784424, -0.39552491903305054, 0.4892396032810211, -0.5278542637825012, 0.4837709665298462, 0.4088161289691925, -1.1418870687484741, -0.3249616324901581, 0.11894092708826065, 0.12129222601652145, 0.3940615653991699, 0.6939982175827026, -0.4599245488643646, 0.20992954075336456, -0.07722973823547363, 0.09822908043861389, 0.29678601026535034, -0.08577846735715866, -0.3640560209751129, 0.7274805903434753, -0.6114163398742676, -0.47516125440597534 ]
http://arxiv.org/abs/2406.00787v1
http://arxiv.org/pdf/2406.00787v1
Applying Intrinsic Debiasing on Downstream Tasks: Challenges and Considerations for Machine Translation
2024-06-02T15:57:29
2024-06-02T15:57:29
Bar Iluz, Yanai Elazar, Asaf Yehudai, Gabriel Stanovsky
cs.CL
cs.CL
Most works on gender bias focus on intrinsic bias -- removing traces of information about a protected group from the model's internal representation. However, these works are often disconnected from the impact of such debiasing on downstream applications, which is the main motivation for debiasing in the first place. In this work, we systematically test how methods for intrinsic debiasing affect neural machine translation models, by measuring the extrinsic bias of such systems under different design choices. We highlight three challenges and mismatches between the debiasing techniques and their end-goal usage, including the choice of embeddings to debias, the mismatch between words and sub-word tokens debiasing, and the effect on different target languages. We find that these considerations have a significant impact on downstream performance and the success of debiasing.
[ -0.29462167620658875, -0.6654329895973206, 0.4454366862773895, 0.14567531645298004, -0.3329402506351471, -0.03931979462504387, -0.10884762555360794, -0.5131965279579163, -0.2525566518306732, 0.2712661921977997, -0.5626984238624573, -0.2148646116256714, -1.1111103296279907, 0.4130338430404663, -0.4954051673412323, 0.8724623322486877, -0.3922845125198364, 0.2737536132335663, 0.13902418315410614, -0.24191860854625702, -0.7293331027030945, -0.755440890789032, -0.4533264935016632, -0.4613918364048004, 0.4640901982784271, 0.21517066657543182, 0.7694478631019592, 0.434394508600235, 0.7199978828430176, 0.21350230276584625, -0.5055440664291382, -0.15916724503040314, -0.22586052119731903, 0.623744785785675, -0.2960444986820221, -0.6373197436332703, -0.02074577286839485, 0.2682730257511139, 0.44573211669921875, 0.7394389510154724, 0.3535802662372589, 0.3073955774307251, 0.32467585802078247, 0.7981006503105164, -0.725692093372345, -0.006980342790484428, -0.6519081592559814, 0.289703369140625, 0.0570199079811573, 0.2532060444355011, -0.22144635021686554, -0.2622753977775574, 0.42211785912513733, 0.008434832096099854, 0.12934623658657074, 0.12253687530755997, 0.7883634567260742, 0.7506799101829529, -0.5936883091926575, -0.3849247992038727, -0.7941312789916992, 0.8861576914787292, -0.7332921624183655, 0.15776313841342926, 0.5227965116500854, 0.006694272626191378, 0.17290903627872467, -0.1070064976811409, -0.23683327436447144, -0.20091195404529572, -0.1029018685221672, -0.03541180491447449, -0.43456006050109863, 0.012602376751601696, 0.41330814361572266, 0.3264510929584503, -0.148352712392807, 0.09542418271303177, -0.44105181097984314, 0.28488799929618835, 0.23487894237041473, -0.19375498592853546, 0.24528640508651733, -0.1550048440694809, -0.3533538579940796, -0.014776747673749924, -0.8959286212921143, 0.006026841700077057, 0.7175701260566711, 0.30801454186439514, -0.062352199107408524, 0.7185375094413757, -0.1470324844121933, 0.36251747608184814, 0.22016578912734985, 0.5311079025268555, 0.31891536712646484, -0.2115737944841385, -0.1984681338071823, 0.2153286188840866, 0.4136793315410614, 0.319499135017395, 0.10024494677782059, -0.23564808070659637, -0.40301215648651123, -0.04605315625667572, 0.3691967725753784, -0.4865249693393707, 0.33088579773902893, 0.3181959092617035, -0.5037094950675964, -0.4404517412185669, -0.24048852920532227, -0.33629217743873596, -0.30781617760658264, -0.7309049963951111, 0.43598100543022156, -0.351005882024765, -0.1047164797782898, -0.37146374583244324, -0.5743358135223389, 0.08137378096580505, 0.10806316882371902, -0.9709351658821106, 0.030894553288817406, 0.5861119627952576, 0.9133281111717224, -0.17441211640834808, -0.09092780947685242, -0.5794795751571655, 0.0027781554963439703, -0.36063119769096375, 0.40643689036369324, -0.5296007990837097, -0.31602486968040466, -0.2680360674858093, -0.3000917136669159, -0.16926415264606476, -0.7396538853645325, 0.6668552756309509, -0.18581730127334595, -0.289711058139801, -0.6991198658943176, -0.19770580530166626, -0.45037952065467834, 0.23828494548797607, -0.39536619186401367, 0.860339879989624, 0.21601587533950806, -0.5514544248580933, 0.6262126564979553, -0.33365294337272644, -0.46205762028694153, -0.5055713653564453, -0.13848130404949188, -0.12678690254688263, 0.8906059265136719, 0.1485791653394699, 0.19624800980091095, -0.40425631403923035, 0.4152200222015381, -0.2835613787174225, -0.32485440373420715, 0.2886250913143158, -0.47815918922424316, 0.6810025572776794, 0.17500503361225128, -1.063735842704773, 0.15827201306819916, -0.1703636199235916, -0.23493057489395142, -0.2776986062526703, 0.02857024036347866, -0.6487987637519836, 0.4163329303264618, -0.2569087743759155, 0.49672731757164, -0.2168361395597458, -0.48512884974479675, 0.19261066615581512, -0.18713746964931488, 0.5689805746078491, 1.0766220092773438, -0.2461891770362854, 0.6379099488258362, -0.0012667762348428369, 0.4124501943588257, 0.3235801160335541, 0.35930514335632324, 0.1991482377052307, -0.6346059441566467, -0.7810385823249817, -0.16866743564605713, 0.449114054441452, 0.4530183970928192, -0.6434975266456604, 0.36670565605163574, -0.1873898059129715, -0.252871572971344, -0.5953289866447449, 0.15927006304264069, 0.45360836386680603, 0.4370517432689667, 0.4031310975551605, -0.03109339438378811, -0.36146020889282227, -1.338649868965149, -0.46747633814811707, -0.057256534695625305, 0.08090361207723618, 0.007175015285611153, 0.8656335473060608, -0.457285612821579, 0.6958515644073486, -0.29572543501853943, -0.4295611083507538, -0.14272712171077728, 0.48917338252067566, 0.2568920850753784, 0.684514582157135, 0.590675950050354, -0.8156381249427795, -0.36787357926368713, -0.009810216724872589, -0.8100351691246033, -0.42457690834999084, -0.08976752310991287, -0.3505203425884247, 0.24024264514446259, 0.3396153450012207, -0.6322049498558044, 0.7364799380302429, 0.504423201084137, -0.26157745718955994, 0.39713871479034424, -0.03081418015062809, 0.19852103292942047, -0.4862264394760132, 0.1407366245985031, 0.01570245809853077, 0.0547989122569561, -0.44539666175842285, 0.3867748975753784, 0.032814960926771164, 0.2051403522491455, -0.5417253971099854, 0.158596009016037, -0.5297757983207703, -0.021279335021972656, -0.289171040058136, -0.028736623004078865, -0.04464426636695862, 0.3224514424800873, -0.05375253036618233, 0.5351988673210144, 0.302388459444046, -0.818530797958374, -0.05229844152927399, 0.2265397310256958, -0.0795898586511612, 0.4979405105113983, -0.8196534514427185, 0.17123033106327057, -0.30840829014778137, -0.04857272282242775, -0.7904014587402344, 0.3335376977920532, 0.5866246819496155, -0.5241739749908447, 0.4181247055530548, -0.3601681888103485, -0.32276538014411926, -0.15219949185848236, -0.34126392006874084, 0.3251176178455353, 0.48223742842674255, -0.21627461910247803, 0.49760618805885315, 0.20665545761585236, -0.10916942358016968, -0.654655396938324, -1.192635178565979, 0.21159547567367554, -0.34397992491722107, -0.36449334025382996, 0.5868037343025208, 0.23308421671390533, -0.5102816820144653, 0.09716378897428513, -0.3981514871120453, 0.15732277929782867, 0.31803980469703674, 0.2994815409183502, 0.10025027394294739, 0.18718291819095612, -0.09555863589048386, 0.6325092315673828, -0.21400922536849976, 0.13937817513942719, -0.47620365023612976, 0.33703625202178955, 0.10930255800485611, -0.48324933648109436, -0.2517503798007965, 0.7192404866218567, 0.5702956318855286, -0.043265510350465775, 0.7788791656494141, 0.40786924958229065, -0.5054075717926025, -0.12796296179294586, -0.40323638916015625, -0.16235338151454926, -0.40509286522865295, 0.24242143332958221, -0.34045085310935974, -0.6335236430168152, 0.5296626687049866, 0.3483189642429352, 0.09261122345924377, 0.5047657489776611, 0.5779513716697693, -0.12933441996574402, 1.2980884313583374, 0.2923595607280731, -0.2126600742340088, 0.2424623817205429, -0.20204631984233856, 0.4854808747768402, -1.303540587425232, -0.02463761903345585, -0.8953392505645752, -1.0303338766098022, -0.40889105200767517, -0.3047056794166565, 0.2994900643825531, 0.2988470494747162, -0.24258635938167572, 0.4574713408946991, -0.5159973502159119, 0.11769876629114151, 0.9209216237068176, -0.07344646006822586, 0.25428110361099243, 0.047254275530576706, -0.1988719254732132, -0.3161669671535492, -0.25869715213775635, -0.5890809893608093, 0.8807690739631653, 0.28291791677474976, 0.777608335018158, 0.35087671875953674, 0.3750615417957306, 0.46356630325317383, 0.4227586090564728, -0.8268049359321594, 0.21828292310237885, -0.29102206230163574, -0.9863213896751404, 0.08951699733734131, -0.5206816792488098, -0.5506259202957153, 0.561462938785553, 0.18645168840885162, -0.7238475680351257, 0.504543125629425, 0.17813877761363983, -0.12858492136001587, 0.2936326563358307, -0.7906613349914551, 0.5830352306365967, -0.41128191351890564, -0.3579815626144409, -0.08270957320928574, -0.614608883857727, 0.285299152135849, -0.0707663744688034, -0.053113311529159546, -0.14640797674655914, 0.024056099355220795, 0.48863956332206726, -0.06784874945878983, 0.9136946797370911, -0.2970469295978546, -0.2533347010612488, 0.25460514426231384, 0.27623996138572693, 0.3961600065231323, -0.04781690239906311, -0.2706277668476105, 0.5790996551513672, -0.11093657463788986, -0.06349918991327286, -0.3697762191295624, 0.608049213886261, -0.7095199227333069, -0.8567802309989929, -0.5754434466362, -0.48361051082611084, -0.09267420321702957, 0.15030847489833832, 0.4701429307460785, 0.1565784215927124, 0.21076779067516327, 0.3476927578449249, 0.40301182866096497, -0.3161557614803314, 0.41130951046943665, 0.32193896174430847, -0.056094471365213394, -0.22834163904190063, 0.589198648929596, 0.33067241311073303, 0.3761312961578369, 0.44611844420433044, 0.2729797959327698, -0.38121703267097473, -0.7336695194244385, -0.7173357009887695, -0.3124755024909973, -0.710738480091095, -0.08235921710729599, -0.6967359185218811, 0.20380257070064545, -0.5193678736686707, 0.17402392625808716, -0.31940460205078125, -0.4331341087818146, -0.3119736611843109, -0.15318424999713898, -0.21059028804302216, 0.6202763915061951, -0.09837117791175842, 0.18710780143737793, -0.9565737843513489, 0.35211992263793945, 0.02686951868236065, -0.09073933959007263, -0.1351531744003296, -0.6822627186775208, -0.1290794461965561, 0.4304393529891968, -0.5182533860206604, -1.1033023595809937, 0.42525896430015564, 0.004965754225850105, 0.718479573726654, 0.27696165442466736, 0.11170578002929688, 0.3526883125305176, -0.47104474902153015, 0.7841355204582214, -0.08088397234678268, -1.3640986680984497, 0.6068455576896667, -0.40679100155830383, 0.1626068353652954, 0.7690188884735107, 0.5290476679801941, -0.6725564002990723, -0.341382771730423, -0.10211780667304993, -1.152241826057434, 0.6202141642570496, 0.6673955321311951, 0.1725059151649475, -0.11625022441148758, 0.4134860038757324, 0.2721879780292511, 0.6187154650688171, -0.5181698203086853, -0.3198707401752472, 0.21580441296100616, -0.07754280418157578, 0.10916280001401901, -0.1270495504140854, 0.06356369704008102, -0.34037867188453674, 0.793444812297821, -0.12827327847480774, 0.31505537033081055, 0.407515287399292, -0.5482084155082703, -0.016803985461592674, 0.1884436160326004, 0.7038189768791199, 0.3047454059123993, -0.15974409878253937, 0.13560961186885834, 0.054147254675626755, -0.36022233963012695, 0.37610316276550293, -0.17976294457912445, -0.8492595553398132, 0.2088855355978012, 0.1269819289445877, 0.9098363518714905, -0.025273747742176056, -0.48952600359916687, 0.22634460031986237, 0.01539742574095726, -0.09811505675315857, -0.0005097053945064545, -0.2882336378097534, -0.21262532472610474, 0.07637093216180801, 0.5040141940116882, 0.5283975005149841, 0.2117590308189392, -0.47767987847328186, -0.2142629474401474, 0.40377774834632874, -0.8981590270996094, -0.5099492073059082, 0.6665506958961487, 0.24958962202072144, 0.08477094024419785, 0.6934942603111267, -0.21294772624969482, -0.9145798683166504, 0.658721387386322, 0.29326513409614563, 1.3978595733642578, -0.20743858814239502, 0.06209978461265564, 0.169297993183136, 0.9242444634437561, -0.008812430314719677, 0.069219671189785, -0.0009884076425805688, -0.4520179033279419, -0.5488356351852417, -0.24507366120815277, -0.42974862456321716, -0.279954195022583, -0.6435075402259827, 0.1705566793680191, -0.08356230705976486, -0.6024702787399292, -0.37041282653808594, -0.6808964610099792, -0.593112051486969, 0.08762510865926743, 0.3740694522857666, 0.6576747298240662, -0.6005408763885498, 0.32439011335372925, 0.6850216388702393, -0.5336086750030518, -0.26963695883750916, -0.038816750049591064, 0.22180615365505219, -0.424252986907959, 1.3471404314041138, 0.26469144225120544, -0.15862034261226654, -0.31401410698890686, -0.27257564663887024, -0.9709998965263367, 0.6720076203346252, 0.5433022379875183, -0.4330388605594635, -0.25991031527519226, 0.3341165781021118, 0.23545686900615692, -0.1556522101163864, 0.39197859168052673, 0.6496279239654541, 0.631074845790863, -0.5577529668807983, -0.727820098400116, 0.14904431998729706, -0.3636806011199951, 0.0011099850526079535, 0.22670722007751465, -0.49833378195762634, 1.0108206272125244, 0.08637934923171997, -0.14473192393779755, -0.33145785331726074, 0.18087440729141235, -0.13504712283611298, -0.005189700052142143, 0.5928299427032471, 0.5917730331420898, 0.40589895844459534, -0.33306750655174255, 1.1056329011917114, -0.14672918617725372, 0.14004850387573242, 1.1971372365951538, -0.5853963494300842, 0.5474711060523987, 0.864058256149292, -0.06308923661708832, 0.2530268132686615, 0.5764200091362, 0.2666999399662018, 0.5596876740455627, 0.41810548305511475, -0.034804172813892365, 0.15175367891788483, -0.2175045609474182, -0.5321333408355713, 0.3890354335308075, 0.32400596141815186, -0.7078790068626404, -0.1163613498210907, 0.07546587288379669, -0.094797283411026, -0.36628639698028564, -0.04864716902375221, 0.49369558691978455, 0.3451182544231415, -0.9568960070610046, 0.4439062774181366, 0.33000078797340393, 0.7635825276374817, -0.5245445966720581, 0.11813519150018692, -0.2788262665271759, 0.4029480218887329, -0.07702130824327469, -0.3908670246601105, 0.7761653065681458, 0.15424294769763947, -0.2809165418148041, -0.5824698805809021, 0.7048954367637634, -0.026839852333068848, -0.29445770382881165, 0.5555770397186279, 0.5610367655754089, -0.2946554124355316, -0.8309817314147949, -0.5889641046524048, 0.13704246282577515, 0.16501682996749878, -0.4883362352848053, 0.1949138641357422, 0.21390379965305328, 0.01788926310837269, 0.6296629905700684, 0.5960687398910522, 0.1373228132724762, 0.1971241980791092, 0.04324403777718544, 0.7252130508422852, -0.7216137051582336, -0.3587862551212311, -1.2549629211425781, 0.44804492592811584, -0.024067861959338188, -0.6174374222755432, 0.7816452383995056, 0.32257989048957825, 0.7292769551277161, -0.2266426682472229, 0.9227967262268066, -0.19623607397079468, 0.03406893089413643, -0.39169761538505554, 0.7448100447654724, -0.36717507243156433, 0.252802312374115, -0.4823208153247833, -1.17689847946167, -0.05193892493844032, 0.5665623545646667, -0.4038725793361664, 0.007818778045475483, 0.9759537577629089, 0.38339686393737793, 0.18863140046596527, 0.15433143079280853, 0.1258193701505661, -0.08601248264312744, 0.4152114689350128, 0.5378116369247437, 1.1169040203094482, -0.6242850422859192, 0.3662317991256714, -0.46979066729545593, -0.17696566879749298, 0.0307123064994812, -0.9749920964241028, -0.7439611554145813, -0.32120516896247864, -0.5038658976554871, -0.1713670939207077, 0.04478692635893822, 0.9168705940246582, 0.7135615348815918, -0.7291603684425354, 0.06777023524045944, -0.13113068044185638, 0.3219994604587555, -0.5267151594161987, -0.14992718398571014, 0.04785362258553505, -0.3552345037460327, -1.0010019540786743, 0.11914795637130737, 0.18980558216571808, -0.0482429675757885, -0.27991974353790283, 0.15959282219409943, -0.2676953375339508, -0.23735709488391876, 0.6257757544517517, -0.29181304574012756, -0.5205356478691101, -0.31397077441215515, 0.21370245516300201, -0.07502829283475876, -0.12407229095697403, 1.066762924194336, -0.5934895873069763, 0.19707275927066803, 0.800345242023468, 0.7714457511901855, 0.17861776053905487, -0.036084871739149094, 0.7753129005432129, -0.686438262462616, 0.10449739545583725, 0.2950012683868408, 0.3144342601299286, 0.23807145655155182, -0.48642516136169434, 0.6640353798866272, 0.27805039286613464, -0.30620864033699036, -0.8384260535240173, 0.2998121976852417, -0.4387322962284088, -0.2939054071903229, 1.2198420763015747, -0.11323726922273636, -0.22460085153579712, -0.23275260627269745, -0.33414924144744873, 0.29620543122291565, -0.3595406115055084, 0.5658373236656189, 0.9150717854499817, 0.1665176898241043, 0.2556127905845642, -0.6812922954559326, 0.08808388561010361, 0.8558809161186218, -0.39185425639152527, 0.05243075266480446, 0.32296493649482727, -0.1276690661907196, 0.11319821327924728, 0.16290749609470367, -0.23214399814605713, -0.09275948256254196, -0.17045819759368896, 0.024021731689572334, 0.10767299681901932, -0.06934231519699097, -0.4897542893886566, -0.23090963065624237, -0.10219871997833252, -0.2096603363752365 ]