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/2403.10779v1
http://arxiv.org/pdf/2403.10779v1
LLM-based Conversational AI Therapist for Daily Functioning Screening and Psychotherapeutic Intervention via Everyday Smart Devices
2024-03-16T02:48:50
2024-03-16T02:48:50
Jingping Nie, Hanya Shao, Yuang Fan, Qijia Shao, Haoxuan You, Matthias Preindl, Xiaofan Jiang
cs.CL
cs.CL
Despite the global mental health crisis, access to screenings, professionals, and treatments remains high. In collaboration with licensed psychotherapists, we propose a Conversational AI Therapist with psychotherapeutic Interventions (CaiTI), a platform that leverages large language models (LLM)s and smart devices to enable better mental health self-care. CaiTI can screen the day-to-day functioning using natural and psychotherapeutic conversations. CaiTI leverages reinforcement learning to provide personalized conversation flow. CaiTI can accurately understand and interpret user responses. When the user needs further attention during the conversation, CaiTI can provide conversational psychotherapeutic interventions, including cognitive behavioral therapy (CBT) and motivational interviewing (MI). Leveraging the datasets prepared by the licensed psychotherapists, we experiment and microbenchmark various LLMs' performance in tasks along CaiTI's conversation flow and discuss their strengths and weaknesses. With the psychotherapists, we implement CaiTI and conduct 14-day and 24-week studies. The study results, validated by therapists, demonstrate that CaiTI can converse with users naturally, accurately understand and interpret user responses, and provide psychotherapeutic interventions appropriately and effectively. We showcase the potential of CaiTI LLMs to assist the mental therapy diagnosis and treatment and improve day-to-day functioning screening and precautionary psychotherapeutic intervention systems.
[ -0.10335680097341537, -0.8221427798271179, 0.7130042910575867, 0.3455076515674591, -0.09311968833208084, 0.17611831426620483, 0.01259277667850256, -0.5542163848876953, 0.35588207840919495, 0.30548879504203796, -0.7710590362548828, -0.4966779351234436, -0.4944515526294708, -0.18141403794288635, -0.2139623612165451, 1.1160433292388916, 0.2405245006084442, 0.40541884303092957, 0.14235755801200867, 0.037680428475141525, -0.8278059363365173, -0.5256586670875549, -1.3067814111709595, -0.36508071422576904, 0.683037281036377, 0.3700583875179291, 0.7058056592941284, 0.07653090357780457, 0.32682350277900696, 0.2951488494873047, 0.23805730044841766, 0.24754789471626282, -0.14818476140499115, 0.32268908619880676, 0.06482179462909698, -0.4546900987625122, -0.6930529475212097, 0.05763090029358864, 0.15521757304668427, 0.3949778079986572, -0.4056597352027893, 0.11729780584573746, 0.17372557520866394, 0.21220527589321136, -0.39774033427238464, 0.028303848579525948, -0.2715590298175812, 0.18737977743148804, 0.16665984690189362, 0.009592578746378422, -0.10513874888420105, -0.43078702688217163, -0.15481381118297577, -0.18825003504753113, -0.031247127801179886, -0.2508479952812195, 0.4087246060371399, 0.46646884083747864, -0.608920693397522, -0.2624523937702179, -1.0979782342910767, 0.4915531575679779, -0.6344941854476929, 0.490924596786499, 0.5935677886009216, 0.37153494358062744, -0.2986718714237213, -0.4560600221157074, -0.3492836356163025, -0.6549695134162903, -0.06443057209253311, 0.12368462979793549, -0.20910191535949707, 0.29647010564804077, 0.4200957715511322, 0.14352597296237946, -0.5219783186912537, 0.0750146359205246, -0.12271653115749359, -0.47890233993530273, 0.6924821138381958, 0.615445613861084, 0.5450713634490967, 0.2306772768497467, -0.06737066805362701, 0.40100041031837463, -0.2577769458293915, 0.2605230510234833, -0.09543813765048981, -0.03321199119091034, -0.2273700088262558, 0.4508628845214844, -0.11725103855133057, 0.41657719016075134, 0.06264474242925644, -0.7359089255332947, -0.4375400245189667, -0.16388556361198425, -0.2661571204662323, 0.24328762292861938, 0.7773006558418274, 0.33673784136772156, -0.059723418205976486, -0.04718869552016258, 0.011331083253026009, -0.001306098303757608, 0.25274592638015747, -0.7947561740875244, -0.5043257474899292, 0.3725277781486511, -0.14904214441776276, -0.1173735111951828, -0.46505528688430786, -0.44970703125, -0.7255299091339111, -0.18380558490753174, 0.42066261172294617, -0.5550352334976196, -0.2553102374076843, 0.07527629286050797, 0.17250807583332062, -0.11501272022724152, 0.3589700162410736, -0.904449462890625, 0.5292116403579712, 0.5171400904655457, 1.0333802700042725, -0.13561014831066132, 0.12281240522861481, -0.4759758710861206, 0.3399905860424042, -0.10186908394098282, 0.7690384984016418, -0.19582165777683258, -0.5431212186813354, -0.14769381284713745, -0.20096950232982635, -0.6554955840110779, -0.24264703691005707, 0.43213003873825073, -0.22358569502830505, 0.2494656890630722, 0.055543143302202225, -0.20758572220802307, 0.286542147397995, 0.820563793182373, -0.32898828387260437, 0.5241296887397766, -0.010337764397263527, -0.8047267198562622, -0.015478936955332756, -1.2650115489959717, -0.4840967655181885, 0.17395839095115662, -0.08385175466537476, -0.04541878029704094, -0.2600365877151489, 0.3722337782382965, 0.3051471412181854, -0.15492023527622223, 0.460797518491745, -0.25867342948913574, -0.5610402822494507, 0.5248183608055115, -0.6915217041969299, 0.7078977823257446, 0.42886555194854736, -0.521054208278656, 0.37226197123527527, -0.5743532180786133, -0.00638514943420887, 0.07194572687149048, -0.19670157134532928, -0.11484794318675995, -0.11343598365783691, 0.15785594284534454, -0.029303736984729767, 0.21504151821136475, -0.7435992360115051, -0.06420338898897171, -0.3020334243774414, 0.6404096484184265, 0.5721858739852905, 0.22258403897285461, -0.3417430520057678, -0.4892546534538269, 0.8894965052604675, 0.06078255921602249, 0.2729993760585785, -0.23051436245441437, -0.39419156312942505, -0.6604114174842834, -0.9470770359039307, -0.0067299967631697655, 0.8753010034561157, -0.5236281156539917, 0.34626302123069763, -0.33918875455856323, -0.6088866591453552, -0.3807529807090759, -0.0846586525440216, 0.19898389279842377, 0.7731513381004333, -0.05474499240517616, -0.21538753807544708, -0.40450921654701233, -0.6038370132446289, -0.2894260287284851, -0.3029067814350128, 0.019847728312015533, 0.40995070338249207, 0.03867096081376076, -0.7146705389022827, 0.9507529139518738, -0.29058489203453064, -0.36497926712036133, -0.5770564079284668, 0.158045694231987, 0.12992343306541443, 0.3321370780467987, 0.015822548419237137, -0.4611164629459381, -0.5588843822479248, 0.063420869410038, -0.7424042820930481, -0.05031152442097664, -0.3816479444503784, 0.19721640646457672, 0.23551715910434723, 0.402706503868103, -0.6067813634872437, 0.4723682701587677, 0.2833000719547272, -0.44467148184776306, 0.23035480082035065, -0.24038700759410858, 0.24421797692775726, -0.9376089572906494, 0.19678686559200287, -0.012730368413031101, -0.5728696584701538, -0.6242318749427795, -0.42855408787727356, -0.44567275047302246, -0.5722021460533142, -0.407978355884552, 0.5760421752929688, 0.1329091191291809, 0.21938276290893555, -0.25538310408592224, -0.009431370534002781, -0.38397490978240967, 0.5271568894386292, -0.13385087251663208, 0.8512992858886719, 0.33848491311073303, -0.45036453008651733, 0.31098419427871704, 0.16650906205177307, -0.1312192976474762, 0.7624941468238831, -0.5750397443771362, 0.2844026982784271, 0.12904809415340424, 0.5021483898162842, -0.8697087168693542, -0.2850912809371948, 0.5408838987350464, -0.04127908870577812, -0.08308754116296768, 0.2422211766242981, -0.32082247734069824, -0.20712131261825562, -0.19082650542259216, 0.39609041810035706, 0.047832902520895004, -0.17413583397865295, 0.49684667587280273, 0.3472099006175995, -0.5712254643440247, -0.15398898720741272, -0.4149799048900604, 0.37533292174339294, -0.5582748055458069, -0.6871116757392883, 0.04269179701805115, -0.2329026460647583, -0.23915867507457733, -0.47043225169181824, -0.0347789004445076, 0.0820179283618927, 0.28820499777793884, 0.47446802258491516, 0.4434105455875397, 0.11883199959993362, 0.2552439570426941, -0.005054169800132513, -0.32353475689888, 0.2880518138408661, -0.1960926055908203, 0.6886479258537292, -0.4685514569282532, -0.8466197848320007, -0.9172264933586121, 0.3208756446838379, 0.4895525574684143, -0.03741909936070442, 0.3844831883907318, 1.1336472034454346, -0.3793931007385254, 0.41649898886680603, -0.7269994020462036, -0.33200815320014954, -0.45923513174057007, 0.16263137757778168, -0.5041826367378235, -1.0682400465011597, 0.5169408321380615, -0.014134043827652931, -0.06383112818002701, 0.02585900016129017, 0.8263763189315796, -0.3619098365306854, 1.6241997480392456, 0.4436652958393097, -0.39770594239234924, 0.8993774056434631, -0.19023148715496063, 0.6948760747909546, -0.6080594658851624, -0.2593621611595154, 0.036732159554958344, -0.3705236315727234, -0.7297528386116028, 0.0001142814799095504, 0.7577166557312012, -0.4027509093284607, -0.7697629332542419, -0.08125734329223633, -0.5605908036231995, -0.01917288824915886, 0.7138497233390808, 0.628325343132019, 0.4310520589351654, -0.2533666789531708, -0.16313624382019043, -0.5117721557617188, -0.5190483331680298, -0.4646558165550232, 0.9513144493103027, 0.4771086573600769, 0.9220317602157593, -0.013337234035134315, 0.8570722937583923, 0.5375937819480896, 0.6889201402664185, -0.9736906290054321, 0.6125152707099915, 0.4947786033153534, -0.6579253673553467, -0.0948222279548645, -0.19427454471588135, -1.059030532836914, -0.04638794809579849, 0.19181358814239502, -1.4905153512954712, 0.08911100029945374, 0.05713164061307907, -0.7499008178710938, 0.10870690643787384, -0.7172085642814636, 0.8991191983222961, -0.7204457521438599, -0.3546747863292694, -0.5374906659126282, -0.43524816632270813, 0.5228402614593506, -0.03492593765258789, 0.3242604732513428, -0.4366518259048462, 0.1674365997314453, 0.44208958745002747, -0.2274160534143448, 0.9642714858055115, -0.20994305610656738, -0.034967150539159775, 0.242700457572937, 0.23126167058944702, 0.19459488987922668, 0.5066718459129333, 0.17612574994564056, -0.23489581048488617, 0.6164596080780029, -0.21182985603809357, -0.7312718629837036, 0.6501752734184265, -0.8153368830680847, -0.8864200115203857, -0.4522135853767395, -0.6712199449539185, -0.581857442855835, 0.13600002229213715, -0.012903248891234398, 0.41289758682250977, -0.41123923659324646, -0.05768765136599541, 0.3567166030406952, 0.04986878111958504, 0.06268300116062164, 0.5512407422065735, -0.15296058356761932, -0.3713170886039734, 1.0263651609420776, -0.31077060103416443, -0.25386640429496765, -0.06473565101623535, 0.22689694166183472, -0.09378879517316818, -0.30525755882263184, 0.07070335745811462, 0.16386999189853668, -0.5193754434585571, -0.15778444707393646, -0.906330406665802, -0.4743964672088623, -0.6280322074890137, 0.06885456293821335, -0.03587488830089569, -0.2669897675514221, -0.01384491566568613, -0.011609584093093872, 0.21922896802425385, 0.44566893577575684, -0.2309139519929886, 0.5265785455703735, -0.7428027391433716, 0.38614335656166077, 0.46839237213134766, 0.12336428463459015, -0.06144437566399574, -0.20047278702259064, -0.5558968186378479, 0.3670138120651245, -0.8249351382255554, -0.8229113221168518, 0.5432040095329285, 0.30165380239486694, 0.4611443281173706, 0.5078683495521545, 0.011458157561719418, 0.8695323467254639, -0.0607430599629879, 0.7182048559188843, 0.2280258983373642, -0.6750741600990295, 0.8086983561515808, -0.4763636291027069, 0.19742611050605774, 0.6358174085617065, 0.30790412425994873, -0.9606842994689941, -0.487994909286499, -0.44266289472579956, -0.6878806948661804, 0.6635318398475647, -0.04188260808587074, 0.21315346658229828, 0.05961030349135399, 0.1398693174123764, -0.4192732572555542, 0.13859491050243378, -0.855854332447052, 0.08117588609457016, -0.16898927092552185, -0.6243498921394348, 0.10170933604240417, -0.10959033668041229, -0.7227004766464233, -0.3545060157775879, 0.7140145301818848, -0.3173278570175171, 0.8027931451797485, 0.4589961767196655, 0.04734557121992111, 0.16216087341308594, 0.2280530482530594, 0.3734634518623352, 0.17658080160617828, -0.239607036113739, -0.1925589144229889, 0.17991550266742706, -0.6422187089920044, 0.0787719264626503, 0.39936327934265137, 0.25387075543403625, -0.26488548517227173, 0.18937602639198303, 0.6635133028030396, 0.2745443880558014, -1.0956300497055054, 0.1844078004360199, -0.3812382221221924, 0.042981456965208054, -0.5232051610946655, 0.49276822805404663, 0.15610133111476898, 0.7410364151000977, 0.012001750990748405, -0.35007017850875854, 0.4713168740272522, -0.633459210395813, 0.04593462496995926, 0.6412383913993835, -0.8226993680000305, -0.16008418798446655, 0.7380737662315369, 0.0015384036814793944, -0.8926864266395569, 0.7033969759941101, 0.10136255621910095, -0.2688901424407959, 0.3869471549987793, 0.7111883759498596, 0.8683909177780151, -0.10013138502836227, 0.3681669235229492, -0.029671458527445793, -0.004828060511499643, 0.26075229048728943, 0.31471240520477295, -0.3597564101219177, -0.7068252563476562, 0.044801805168390274, -0.021999938413500786, -0.7909783124923706, 0.21942190825939178, -0.4966060221195221, 0.03955109417438507, -0.6358441114425659, -0.4465085566043854, -0.03579656407237053, 0.3145306408405304, -0.596823513507843, 0.1809413731098175, 0.4424428939819336, 0.6164764165878296, -0.5217361450195312, 0.9533951878547668, 0.8358736038208008, -0.2455432116985321, -0.7850838899612427, 0.1002582311630249, 0.24657182395458221, -0.7187251448631287, 0.24447304010391235, 0.2787344753742218, -0.3180749714374542, 0.16642984747886658, -0.5283599495887756, -0.8353481888771057, 1.441234827041626, 0.7397939562797546, -0.06836759299039841, -0.06039322540163994, 0.3752768933773041, 0.8709923624992371, -0.4698121249675751, 0.6560200452804565, 0.8567346930503845, 0.4911789894104004, 0.15988633036613464, -0.9787770509719849, -0.21242421865463257, -0.4564986526966095, -0.17325596511363983, -0.19111761450767517, -0.5873117446899414, 0.017209412530064583, -0.16268344223499298, -0.2780974805355072, 0.2878207266330719, 0.1707901656627655, 0.6114169359207153, 0.5894263386726379, 0.48809337615966797, 0.2425001859664917, 0.8812499642372131, 0.10189954936504364, 0.8357802629470825, -0.7685727477073669, 0.012416600249707699, 0.9696377515792847, -0.26012709736824036, 0.5067533850669861, 0.4012523889541626, -0.09053114056587219, 0.5821745991706848, 0.8798134922981262, 0.15672525763511658, 0.2268337607383728, -0.12564386427402496, -0.7969780564308167, -0.24119804799556732, -0.6103055477142334, 0.1086498498916626, 0.2914482653141022, 0.6306251287460327, -0.04735010862350464, -0.09799060970544815, 0.5439671874046326, 0.16239722073078156, -0.11525946110486984, 0.09006831794977188, 0.699324369430542, 0.34372586011886597, -0.5641710758209229, 0.5451253056526184, 0.12099213153123856, 0.41113048791885376, -0.5227028131484985, 0.3282134234905243, -0.3678148090839386, 0.4326168894767761, -0.1255515068769455, -0.16191451251506805, 0.31279709935188293, 0.06781767308712006, 0.43543362617492676, -0.5915353298187256, 0.9642014503479004, -0.26378703117370605, -0.7175191640853882, 0.08326275646686554, 0.592931866645813, 0.24551738798618317, -0.1736297607421875, -1.0106816291809082, -0.1902880072593689, -0.21514098346233368, -0.1755155473947525, 0.4964194893836975, 0.09957173466682434, -0.2627602219581604, 1.1707334518432617, 0.5900768637657166, 0.034046720713377, -0.32808825373649597, -0.025189055129885674, 0.8326979875564575, -0.7121347784996033, -0.6113265156745911, -0.7867546081542969, 0.381609171628952, 0.03162910044193268, -0.2203109860420227, 0.4976549744606018, 0.3548451364040375, 0.18614336848258972, 0.4219758212566376, 0.49178972840309143, 0.0014503777492791414, 0.4441549479961395, -0.09644662588834763, 0.5826494097709656, -0.4177497923374176, 0.2003745436668396, 0.23605488240718842, -0.4854881763458252, -0.27049484848976135, 0.7019399404525757, -0.5408043265342712, -0.06503678113222122, 0.493324875831604, 0.7657793164253235, 0.03461198881268501, 0.2597659230232239, 0.2755616307258606, 0.08371461927890778, 0.8482201099395752, 0.5459575057029724, 0.8975188732147217, -0.13215087354183197, 0.2934686541557312, -0.11491266638040543, -0.09852320700883865, -0.20068670809268951, -0.41397520899772644, -0.8245749473571777, -0.243617981672287, -0.16965602338314056, 0.03267436847090721, 0.5150998830795288, 1.2784184217453003, 0.635170042514801, -0.5798328518867493, -0.3508017361164093, -0.1528545618057251, 0.17062215507030487, -0.3008609712123871, -0.24452176690101624, 0.05996948480606079, -0.38714170455932617, -0.7585433125495911, 0.5409916043281555, 0.24894456565380096, -0.06103503704071045, -0.4438801109790802, -0.002920691156759858, 0.07956734299659729, 0.0260184146463871, 0.3898291289806366, 0.21935884654521942, -0.45817556977272034, -0.17591507732868195, 0.04190090298652649, -0.49970513582229614, 0.33925655484199524, 0.9430076479911804, -0.9035948514938354, 0.23678886890411377, 0.04248923808336258, 0.6753250956535339, 0.6241866946220398, 0.021766703575849533, 0.6654662489891052, -0.06127097085118294, 0.2935616672039032, 0.5267752408981323, 0.1277991086244583, 0.13034306466579437, -0.555427610874176, 0.41845500469207764, 0.09317239373922348, -0.5418206453323364, -0.7963164448738098, 0.24589021503925323, -0.7599568367004395, 0.13592755794525146, 0.8557540774345398, -0.42027121782302856, 0.025573842227458954, -0.5210571885108948, -0.6121198534965515, 0.25922513008117676, -0.44302475452423096, 1.1457581520080566, 0.38542473316192627, -0.6756125688552856, -0.24060861766338348, -0.5903245806694031, 0.3587757647037506, 0.5041106343269348, -0.7653093934059143, -0.45518729090690613, 0.29546406865119934, 0.3295643925666809, -0.018750613555312157, 1.135796070098877, 0.07039733231067657, 0.13388292491436005, -0.41457781195640564, -0.07173606753349304, -0.1408294290304184, -0.07499329000711441, -0.24099400639533997, -0.23134927451610565, 0.10691282153129578, -0.10439399629831314 ]
http://arxiv.org/abs/2403.10774v1
http://arxiv.org/pdf/2403.10774v1
Detecting Bias in Large Language Models: Fine-tuned KcBERT
2024-03-16T02:27:19
2024-03-16T02:27:19
J. K. Lee, T. M. Chung
cs.CL
cs.CL
The rapid advancement of large language models (LLMs) has enabled natural language processing capabilities similar to those of humans, and LLMs are being widely utilized across various societal domains such as education and healthcare. While the versatility of these models has increased, they have the potential to generate subjective and normative language, leading to discriminatory treatment or outcomes among social groups, especially due to online offensive language. In this paper, we define such harm as societal bias and assess ethnic, gender, and racial biases in a model fine-tuned with Korean comments using Bidirectional Encoder Representations from Transformers (KcBERT) and KOLD data through template-based Masked Language Modeling (MLM). To quantitatively evaluate biases, we employ LPBS and CBS metrics. Compared to KcBERT, the fine-tuned model shows a reduction in ethnic bias but demonstrates significant changes in gender and racial biases. Based on these results, we propose two methods to mitigate societal bias. Firstly, a data balancing approach during the pre-training phase adjusts the uniformity of data by aligning the distribution of the occurrences of specific words and converting surrounding harmful words into non-harmful words. Secondly, during the in-training phase, we apply Debiasing Regularization by adjusting dropout and regularization, confirming a decrease in training loss. Our contribution lies in demonstrating that societal bias exists in Korean language models due to language-dependent characteristics.
[ -0.389019638299942, -0.7692342400550842, 0.22520317137241364, 0.22203031182289124, -0.11019374430179596, 0.18078941106796265, -0.4672274887561798, -0.31227242946624756, 0.02638998255133629, 1.0139875411987305, -0.398013174533844, -0.5769059658050537, -0.6920472979545593, 0.044778190553188324, -0.02651129849255085, 1.0804522037506104, 0.003373723942786455, 0.6875159740447998, -0.1475270688533783, -0.15751148760318756, -0.4434821307659149, -0.7870186567306519, -0.3273850679397583, -0.5862558484077454, 0.360991895198822, 0.3073771595954895, 0.6366456151008606, 0.3842909038066864, 0.35261213779449463, 0.238423153758049, -0.21234558522701263, -0.024006104096770287, -0.8261517882347107, 0.12797458469867706, -0.11991768330335617, -0.411960631608963, -0.335554838180542, 0.01626312918961048, 0.4830097556114197, 0.8388368487358093, 0.30447694659233093, 0.5182594060897827, 0.2532985210418701, 0.7699211239814758, -0.8316594958305359, 0.01277758926153183, -0.680044949054718, 0.10564012825489044, -0.04677294194698334, 0.009717005304992199, -0.4433356523513794, -0.674704372882843, 0.029301224276423454, -0.13821905851364136, 0.18181933462619781, -0.2972090542316437, 0.6483909487724304, 0.462970495223999, -0.6775861978530884, -0.42254096269607544, -0.7630411982536316, 0.9264976382255554, -0.8028370141983032, 0.6434037685394287, 0.5553950667381287, 0.11761320382356644, -0.2029394656419754, -0.29688480496406555, -0.4337868094444275, -0.5162307620048523, -0.07830344885587692, 0.014088230207562447, 0.14734148979187012, 0.24183115363121033, 0.28003600239753723, -0.14773447811603546, -0.37262749671936035, 0.2977880537509918, -0.42606669664382935, -0.5153011083602905, 0.7940649390220642, 0.12520118057727814, 0.41987574100494385, -0.3190600275993347, -0.0833408311009407, 0.07521795481443405, -0.735840916633606, -0.06354068219661713, 0.8552552461624146, 0.380863755941391, -0.08492116630077362, 0.5815723538398743, -0.31000155210494995, 0.31440621614456177, 0.21527282893657684, -0.23849201202392578, 0.23996303975582123, -0.13733893632888794, -0.13539965450763702, 0.3969067335128784, 0.5677765011787415, 0.775317370891571, 0.7592703104019165, -0.1811402440071106, 0.13380099833011627, 0.566927433013916, 0.22008860111236572, -0.8664729595184326, -0.15067188441753387, -0.002195516601204872, -0.7113274335861206, -0.6106120944023132, -0.36106187105178833, -0.9080095887184143, -0.7411932349205017, -0.3931327760219574, 0.01711689680814743, 0.08604573458433151, -0.18515115976333618, 0.14655017852783203, 0.10928700119256973, -0.011214567348361015, -0.05858851969242096, -0.6726037859916687, 0.15306921303272247, 0.46602100133895874, 0.4895070195198059, -0.05755438283085823, 0.26561102271080017, -0.25845590233802795, 0.10800869017839432, -0.25069719552993774, 0.340874582529068, -0.7050994038581848, -0.17790599167346954, 0.17641417682170868, 0.07389519363641739, 0.23276537656784058, -0.6857686042785645, 0.9030000567436218, -0.4927186369895935, 0.0056862724013626575, -0.3428588807582855, -0.4078863561153412, -0.019160151481628418, 0.14161376655101776, -0.493032306432724, 0.8820154666900635, -0.019896250218153, -1.0038789510726929, 0.6170171499252319, -0.3960084319114685, -0.36459028720855713, -0.019745489582419395, -0.08547326922416687, -0.489180326461792, -0.11550091952085495, 0.18057581782341003, 0.4568788707256317, -0.08389085531234741, 0.49928292632102966, -0.6920773983001709, -0.21420808136463165, 0.14948832988739014, -0.3136841952800751, 0.8293125033378601, 0.18832169473171234, -0.4782090485095978, 0.12908954918384552, -0.6491541862487793, 0.05401432886719704, -0.012177318334579468, -0.3770657479763031, -0.6301285624504089, 0.017918236553668976, 0.2768840491771698, 0.4746752679347992, 0.0881783664226532, -0.5728839635848999, -0.16153891384601593, -0.3859791159629822, 0.24130244553089142, 0.9365876317024231, -0.2511932849884033, 0.6851718425750732, -0.014694453217089176, 0.4904952645301819, 0.07607780396938324, 0.17210426926612854, 0.26270902156829834, -0.15112824738025665, -0.6807986497879028, -0.24293117225170135, 0.3486345410346985, 0.4802722632884979, -0.7481923699378967, 0.5410547256469727, -0.2649529278278351, -0.41240963339805603, -0.6124427914619446, 0.1061176210641861, 0.3817182779312134, 0.4804302752017975, 0.0759861171245575, -0.2733937203884125, -0.8275552988052368, -1.1970100402832031, -0.5738570690155029, 0.0045775738544762135, -0.21278168261051178, 0.4640176296234131, 0.4078838527202606, -0.5012032985687256, 0.8329136371612549, -0.3737085163593292, -0.18508516252040863, -0.1343609243631363, -0.008561420254409313, -0.13295906782150269, 0.35007816553115845, 0.3874067962169647, -0.5540410876274109, -0.7249832153320312, -0.15964211523532867, -0.5910089612007141, -0.65432208776474, 0.054378073662519455, -0.05262120068073273, 0.2065119743347168, 0.6538811326026917, -0.35777392983436584, 0.4041111171245575, 0.5046274065971375, -0.37867072224617004, 0.6153979301452637, 0.23056179285049438, 0.17954868078231812, -0.7492916584014893, -0.10700751096010208, 0.18961796164512634, -0.24785633385181427, -0.8766524195671082, -0.05688862502574921, 0.08962421119213104, 0.24746708571910858, -0.27566105127334595, 0.46594810485839844, -0.22571931779384613, 0.2554933726787567, -0.4130876660346985, 0.1806337535381317, -0.25276613235473633, 0.27996477484703064, -0.0851365402340889, 0.4105679392814636, 0.21738013625144958, -0.6265010237693787, 0.05087330937385559, -0.043908365070819855, -0.34683990478515625, 0.4345566928386688, -0.5941573977470398, 0.31315913796424866, -0.599216639995575, 0.5255098342895508, -0.7267594337463379, -0.298322856426239, 0.4737536311149597, -0.474491685628891, 0.01128046028316021, -0.2945809066295624, -0.3319418728351593, -0.28023532032966614, -0.3009697198867798, 0.45958372950553894, 0.331716388463974, -0.3491685092449188, 0.24626564979553223, 0.7913503646850586, -0.2131938636302948, -0.6400795578956604, -0.45804688334465027, -0.012195941060781479, -0.4427194595336914, -0.583237886428833, 0.07110195606946945, -0.0032127578742802143, -0.3966779112815857, -0.3363860249519348, -0.021161120384931564, -0.019252192229032516, 0.11027450114488602, 0.1544908732175827, 0.3503625988960266, 0.0428839772939682, 0.15461169183254242, 0.13653601706027985, 0.11033035069704056, 0.2325875163078308, -0.18981142342090607, 0.8783624768257141, 0.09264500439167023, -0.05244945362210274, -0.033499184995889664, 0.08385731279850006, 0.5759060382843018, 0.059769902378320694, 0.7444157600402832, 0.5936360955238342, -0.5171808004379272, 0.08878255635499954, -0.6419395208358765, -0.41700291633605957, -0.46164068579673767, 0.843157172203064, 0.21960851550102234, -1.166475534439087, 0.4693954885005951, -0.10127535462379456, -0.15808804333209991, 0.0680612102150917, 0.909661591053009, 0.20419618487358093, 1.3677562475204468, 0.4146858751773834, -0.4204348623752594, 0.3084683418273926, 0.1789865642786026, 0.5552895069122314, -0.7387431859970093, -0.151141956448555, -0.6082847118377686, -0.2837930917739868, -0.9573188424110413, -0.2918236553668976, 0.26323267817497253, 0.1830170601606369, -0.5172706842422485, -0.012346907518804073, -0.367570161819458, 0.5727157592773438, 0.15623152256011963, 0.13839423656463623, 0.02345537208020687, -0.06983531266450882, -0.2456260770559311, -0.49282175302505493, -0.5350397825241089, -0.9398714303970337, 1.280224323272705, 0.6004810929298401, 0.8801729083061218, -0.1964726448059082, 0.28424984216690063, 0.4536070227622986, 0.5082425475120544, -0.5868149399757385, 0.46983984112739563, -0.19322092831134796, -0.8707531094551086, -0.16898375749588013, -0.5304760932922363, -0.7223622798919678, 0.23571765422821045, -0.25193682312965393, -0.9421788454055786, 0.11363722383975983, 0.36656486988067627, 0.014812690205872059, 0.20428740978240967, -0.6151108145713806, 0.5829973816871643, -0.14162500202655792, -0.4478524625301361, -0.15737763047218323, -0.575007438659668, 0.5779711008071899, -0.1348423957824707, 0.2392996847629547, -0.30820536613464355, 0.2452065795660019, 0.5757959485054016, -0.0327063612639904, 1.0477334260940552, -0.292866051197052, -0.23259340226650238, -0.07895052433013916, -0.06102101132273674, 0.5030611753463745, 0.00014422382810153067, -0.018376875668764114, 0.3892415761947632, -0.27368396520614624, -0.3723040223121643, -0.27023136615753174, 0.6653257608413696, -0.7696017622947693, -0.1923070102930069, -0.08002844452857971, -0.5490749478340149, -0.29074764251708984, 0.21717777848243713, 0.3123335540294647, 0.10837478190660477, -0.22267787158489227, 0.15194545686244965, 0.6437886953353882, -0.6282156109809875, -0.034169189631938934, 0.41760528087615967, -0.17061595618724823, -0.4336104989051819, 0.7109379768371582, 0.04898267239332199, 0.4575890302658081, -0.2141636461019516, 0.20470529794692993, -0.25197213888168335, -0.24073314666748047, -0.30404606461524963, 0.06564746052026749, -0.7925663590431213, -0.0760357528924942, -0.7266777753829956, -0.1666174829006195, -0.6797276735305786, -0.1335083246231079, -0.45334935188293457, -0.1546027511358261, -0.03404969722032547, 0.03760375455021858, -0.0892949178814888, 0.587593674659729, 0.21217888593673706, 0.47418713569641113, -0.5534408688545227, 0.2811611294746399, 0.01109353732317686, 0.49771979451179504, 0.17294616997241974, -0.5553010106086731, -0.2396697700023651, 0.3928500711917877, -0.3109927177429199, -0.7923917770385742, 0.40150967240333557, -0.10239161550998688, 0.436222642660141, 0.4532141089439392, 0.25864094495773315, 0.4005438983440399, -0.46765196323394775, 0.6359556317329407, 0.13908803462982178, -0.7757428288459778, 0.22150985896587372, -0.3608224391937256, 0.34411758184432983, 0.4892778992652893, 0.4842071533203125, -0.9642881751060486, -0.6789912581443787, -0.350710928440094, -0.8838344812393188, 0.6182442903518677, 0.15083998441696167, 0.29917284846305847, -0.17325671017169952, 0.19301959872245789, 0.061976250261068344, 0.32224172353744507, -0.9717188477516174, -0.4256279170513153, -0.19050849974155426, -0.3647156357765198, 0.14244161546230316, -0.3951650559902191, 0.04426617547869682, -0.3340012729167938, 0.8091381192207336, -0.13567784428596497, -0.025486893951892853, 0.04003000259399414, -0.4295427203178406, -0.20906750857830048, 0.4352870285511017, 0.6651479005813599, 0.44916030764579773, -0.06172262132167816, 0.13207434117794037, 0.26155519485473633, -0.8192217946052551, 0.18273423612117767, -0.21936315298080444, -0.6481325626373291, -0.0059172906912863255, 0.19287315011024475, 0.7821022272109985, 0.09923892468214035, -0.7173899412155151, 0.30919089913368225, 0.06328950822353363, -0.07756504416465759, -0.12892110645771027, -0.14179053902626038, 0.06167016178369522, 0.10502181947231293, 0.029647255316376686, 0.021812088787555695, 0.20044776797294617, -0.3142327070236206, 0.02747366391122341, 0.6277738213539124, -0.6313786506652832, -0.19578607380390167, 0.5262769460678101, 0.32805126905441284, -0.24747999012470245, 0.3597348630428314, -0.06278813630342484, -1.034936785697937, 0.5745980739593506, 0.5310207605361938, 0.8806597590446472, -0.2692379951477051, 0.3559677302837372, 0.4939008951187134, 0.5918505191802979, 0.031058084219694138, -0.04607587680220604, 0.290552020072937, -1.016528844833374, -0.3918783962726593, -0.6106805801391602, 0.026567816734313965, 0.4608803391456604, -0.7149884104728699, 0.27901405096054077, -0.5060072541236877, -0.30807408690452576, 0.0967547670006752, -0.10081067681312561, -0.6206391453742981, 0.03491082042455673, 0.34986045956611633, 0.4701966941356659, -1.1289043426513672, 0.5413772463798523, 0.5740748643875122, 0.033331651240587234, -0.40788114070892334, 0.2678506076335907, 0.08623185008764267, -0.6797915697097778, 0.95863276720047, 0.3188270330429077, -0.17047089338302612, -0.2885569632053375, -0.7337183356285095, -0.6898941993713379, 0.33735141158103943, 0.5848825573921204, -0.6276775002479553, 0.3722659647464752, 0.5935196280479431, 0.6433851718902588, -0.2800743877887726, 0.21270568668842316, 0.8512601852416992, 0.41826796531677246, -0.36005091667175293, -0.9458212852478027, 0.03883485496044159, 0.014882243238389492, 0.06569643318653107, 0.3587423264980316, -0.4905361235141754, 0.4856775104999542, 0.19406194984912872, -0.12887844443321228, -0.36983543634414673, 0.2652488946914673, 0.15161025524139404, 0.3749192953109741, 0.5835767388343811, 0.2650563418865204, 0.713208019733429, 0.07351648807525635, 0.6415738463401794, -0.28202059864997864, 0.3576732277870178, 1.094667673110962, -0.46457162499427795, 0.2013205736875534, 0.4040868878364563, -0.0781145840883255, 0.15408086776733398, 0.502859354019165, 0.16674697399139404, 0.569238543510437, 0.6226162910461426, -0.35571205615997314, -0.24600863456726074, -0.4491831660270691, -0.11888602375984192, 0.5104805827140808, 0.23204673826694489, -0.5292675495147705, -0.10596363246440887, 0.18576224148273468, 0.36541715264320374, 0.34894970059394836, -0.538140594959259, 0.5929343104362488, 0.026514749974012375, -0.5606472492218018, 0.46143123507499695, 0.22341252863407135, 1.0637305974960327, -0.3273409307003021, 0.10085352510213852, -0.12081366032361984, 0.29956820607185364, -0.23132506012916565, -0.30900758504867554, 0.15952524542808533, 0.10515403002500534, -0.34166619181632996, 0.03592822700738907, 1.1401798725128174, -0.6563835740089417, -0.7013764381408691, 0.40537354350090027, 0.09103469550609589, -0.09772041440010071, 0.03182404860854149, -0.5526348352432251, 0.11150471866130829, 0.12348132580518723, 0.10970157384872437, 0.4017188251018524, 0.05926242843270302, -0.45603153109550476, 0.7112166285514832, 0.5534690022468567, 0.2956930100917816, 0.22186194360256195, 0.44693973660469055, 0.7917028069496155, -0.35824161767959595, -0.4097174108028412, -1.0308382511138916, 0.15714986622333527, -0.3572196960449219, -0.08643633127212524, 0.7728012204170227, 0.3945483863353729, 1.036492109298706, -0.18549960851669312, 0.9339883923530579, 0.17017762362957, 0.4474307894706726, -0.322125107049942, 0.9657922983169556, -0.08452891558408737, 0.10190838575363159, -0.6409198641777039, -0.7594046592712402, -0.2212788611650467, 0.6890998482704163, -0.4518798291683197, 0.22214047610759735, 0.2781549096107483, 0.9755148887634277, 0.13665468990802765, -0.010839974507689476, 0.1923540234565735, 0.37093570828437805, 0.23526979982852936, 0.12866626679897308, 0.755073606967926, -0.17861975729465485, 0.3121941387653351, -0.15457166731357574, -0.24294741451740265, -0.19285744428634644, -0.8128093481063843, -1.209429144859314, -0.12977278232574463, -0.22699707746505737, -0.4941379427909851, 0.11646182835102081, 1.0944665670394897, 0.5836729407310486, -0.8963216543197632, -0.18095695972442627, 0.1355370283126831, 0.259368360042572, 0.23786605894565582, -0.2915146052837372, 0.17317408323287964, -0.206716850399971, -0.6383302211761475, -0.17380273342132568, 0.07232256233692169, -0.2640079855918884, -0.4723066985607147, -0.29562607407569885, 0.061396192759275436, 0.05507969856262207, 0.8266717791557312, -0.22474078834056854, -0.7310188412666321, -0.5498297214508057, -0.03083045221865177, -0.13218079507350922, -0.2282029688358307, 0.906121551990509, -0.5236259698867798, 0.5533468127250671, 0.38971957564353943, 0.4705706536769867, 0.08913995325565338, -0.12095435708761215, 0.6839891672134399, -0.6641620397567749, 0.21209920942783356, 0.44134679436683655, 0.1291263848543167, 0.3731749355792999, -0.6536287665367126, 0.28892943263053894, 0.03220178559422493, -0.7252201437950134, -0.9718474745750427, 0.3744526207447052, -0.42263680696487427, -0.2009238749742508, 1.2896593809127808, 0.19755995273590088, 0.01404582429677248, -0.5038929581642151, -0.3932882845401764, 0.5563308596611023, -0.2677033841609955, 1.1765762567520142, 0.843835175037384, 0.3684428036212921, 0.15651482343673706, -0.9415915608406067, 0.6747859120368958, 0.4365033209323883, -0.6036245822906494, 0.31203415989875793, 0.5661031603813171, 0.46596595644950867, -0.0988348200917244, 0.38578611612319946, -0.13754147291183472, 0.1374298334121704, -0.30689534544944763, 0.35043495893478394, 0.36730456352233887, -0.02666601911187172, -0.3268083333969116, -0.2067890167236328, -0.1700718104839325, 0.04019675776362419 ]
http://arxiv.org/abs/2403.10764v1
http://arxiv.org/pdf/2403.10764v1
ECRC: Emotion-Causality Recognition in Korean Conversation for GCN
2024-03-16T02:07:31
2024-03-16T02:07:31
J. K. Lee, T. M. Chung
cs.CL
cs.CL, cs.AI
In this multi-task learning study on simultaneous analysis of emotions and their underlying causes in conversational contexts, deep neural network methods were employed to effectively process and train large labeled datasets. However, these approaches are typically limited to conducting context analyses across the entire corpus because they rely on one of the two methods: word- or sentence-level embedding. The former struggles with polysemy and homonyms, whereas the latter causes information loss when processing long sentences. In this study, we overcome the limitations of previous embeddings by utilizing both word- and sentence-level embeddings. Furthermore, we propose the emotion-causality recognition in conversation (ECRC) model, which is based on a novel graph structure, thereby leveraging the strengths of both embedding methods. This model uniquely integrates the bidirectional long short-term memory (Bi-LSTM) and graph neural network (GCN) models for Korean conversation analysis. Compared with models that rely solely on one embedding method, the proposed model effectively structures abstract concepts, such as language features and relationships, thereby minimizing information loss. To assess model performance, we compared the multi-task learning results of three deep neural network models with varying graph structures. Additionally, we evaluated the proposed model using Korean and English datasets. The experimental results show that the proposed model performs better in emotion and causality multi-task learning (74.62% and 75.30%, respectively) when node and edge characteristics are incorporated into the graph structure. Similar results were recorded for the Korean ECC and Wellness datasets (74.62% and 73.44%, respectively) with 71.35% on the IEMOCAP English dataset.
[ -0.3210785984992981, -1.047091007232666, 0.5630536079406738, 0.2050398588180542, -0.30677613615989685, -0.06354638189077377, -0.4457791745662689, -0.4880196154117584, 0.34941211342811584, 0.23707428574562073, -0.517105758190155, -0.6914176344871521, -0.6462368965148926, 0.07697651535272598, 0.11789920181035995, 0.8753525018692017, -0.30158770084381104, 0.16145263612270355, -0.3363506495952606, -0.31515786051750183, -0.40394386649131775, -0.6972348093986511, -0.9225897789001465, -0.39383774995803833, 0.9905344247817993, 0.3471565246582031, 0.2032945454120636, 0.25306254625320435, 0.33158960938453674, 0.41977033019065857, -0.11251724511384964, 0.32405710220336914, -0.5706294775009155, 0.27478453516960144, 0.15662755072116852, -0.09016559273004532, -0.41518813371658325, -0.1920987069606781, 0.2532614469528198, 0.6433956027030945, -0.0037393849343061447, -0.0808011069893837, 0.1781506985425949, 0.7049388289451599, -0.5492666959762573, 0.771146833896637, -0.27733832597732544, 0.20029999315738678, 0.2100120633840561, -0.050598498433828354, -0.36730876564979553, -0.12150734663009644, 0.3048645257949829, -0.2313433736562729, -0.03662599250674248, 0.00152529776096344, 0.6604576110839844, 0.1683695912361145, -1.0365034341812134, -0.6196085214614868, -0.5509653091430664, 0.3180226981639862, -0.570353627204895, 0.41845977306365967, 0.15624909102916718, -0.013619165867567062, 0.08601099252700806, -0.5556107759475708, -0.5603442788124084, -0.2600644528865814, -0.34705424308776855, 0.5065516233444214, -0.43215295672416687, 0.4287310540676117, 0.17482636868953705, -0.03851088508963585, -0.6267645955085754, 0.21219204366207123, -0.24207085371017456, -0.17696957290172577, 0.34106460213661194, 0.4394558370113373, 0.3485249876976013, -0.5221856832504272, -0.24388191103935242, -0.15756317973136902, -0.39858636260032654, 0.14104293286800385, 0.42468228936195374, 0.4704812169075012, -0.24658547341823578, 0.33099237084388733, -0.1897711157798767, 0.16781213879585266, -0.03396886587142944, 0.07422798871994019, 0.27899837493896484, -0.1325330287218094, -0.22311069071292877, 0.28960850834846497, 0.8925392627716064, 0.38003209233283997, 0.015552839264273643, -0.20981010794639587, 0.44422847032546997, 0.4320489168167114, 0.017236068844795227, -0.9965476989746094, -0.23854295909404755, 0.41409286856651306, -0.5869081020355225, -0.04030885919928551, 0.10809863358736038, -0.7744038701057434, -0.3652307391166687, -0.5516818761825562, -0.2768609821796417, -0.15112359821796417, -0.28386637568473816, 0.049568746238946915, 0.22694368660449982, -0.21195846796035767, 0.1880379021167755, -0.3208887279033661, 0.33575835824012756, 0.5196136832237244, 0.7685266733169556, -0.14789865911006927, -0.1925758570432663, -0.242552250623703, -0.03260714188218117, 0.017800578847527504, 0.5088553428649902, -0.2959112823009491, -0.08740440011024475, 0.16591833531856537, 0.4820944368839264, -0.39981499314308167, -0.1774808019399643, 0.793205738067627, -0.4005216360092163, 0.16341660916805267, -0.2098369300365448, -0.6243115067481995, -0.5095431804656982, 0.28943100571632385, -0.786746621131897, 0.7622831463813782, -0.289512038230896, -0.9245960116386414, 0.017415590584278107, -0.41060635447502136, -0.6096316576004028, -0.28059476613998413, -0.116876982152462, -0.5769128203392029, 0.07082728296518326, 0.020528187975287437, 0.9035359025001526, -0.21215549111366272, 0.5860801935195923, -0.6384841203689575, 0.0510997399687767, 0.12533697485923767, -0.3511313199996948, 0.4544954299926758, 0.06406569480895996, -0.37180382013320923, 0.27351540327072144, -0.6349889636039734, 0.0017080038087442517, -0.08105507493019104, -0.059373486787080765, -0.5902233123779297, 0.019717298448085785, 0.011300556361675262, 0.9181769490242004, -0.08652663230895996, -0.6548221707344055, -0.28086352348327637, -0.10411711037158966, 0.45213937759399414, 0.5960020422935486, -0.05100899934768677, 0.27175256609916687, 0.1279037892818451, 0.3861581087112427, 0.44482892751693726, -0.2446274310350418, -0.16189557313919067, -0.22368301451206207, -0.7774741649627686, -0.13115984201431274, -0.08574967086315155, 0.7599229216575623, -0.6245585083961487, 0.5012272596359253, -0.1998973786830902, -0.41292592883110046, -0.2719012498855591, -0.09249076247215271, 0.6680771708488464, 0.7867028713226318, 0.23422476649284363, -0.2311597317457199, -0.6815450191497803, -0.765064537525177, -0.11106370389461517, -0.06795647740364075, 0.21823112666606903, 1.0679982900619507, 0.6009779572486877, -0.19107262790203094, 0.3979596197605133, -0.40138232707977295, -0.14327672123908997, -0.3133671283721924, 0.5379340052604675, 0.07484504580497742, 0.21285511553287506, 0.1616300642490387, -0.7139555811882019, -0.6387131810188293, 0.11444583535194397, -0.8256864547729492, -0.11224883049726486, -0.16897529363632202, -0.16459612548351288, 0.22341439127922058, 0.5992408990859985, -0.6717957258224487, 0.6290997862815857, 0.5912231206893921, -0.5423234701156616, 0.3010469377040863, -0.19010360538959503, 0.24379773437976837, -1.1335104703903198, 0.039653975516557693, 0.2564173638820648, -0.15372371673583984, -0.853492796421051, -0.4223083257675171, 0.1997876763343811, -0.14247432351112366, -0.48321962356567383, 0.46967798471450806, -0.47205254435539246, 0.15831536054611206, -0.3100946545600891, 0.5197826027870178, -0.05079197511076927, 0.9361878037452698, 0.10117451101541519, 0.1068914383649826, 0.3452845811843872, -0.6457923650741577, 0.5003871917724609, 0.33623331785202026, -0.2570064663887024, 0.8229214549064636, -0.6852941513061523, 0.3374863862991333, -0.40798136591911316, 0.4968416392803192, -1.1539015769958496, -0.14941591024398804, 0.4210349917411804, -0.18954575061798096, 0.41671767830848694, 0.024744996801018715, -0.221594899892807, -0.5666842460632324, -0.008384143002331257, 0.3666163980960846, 0.09062932431697845, -0.3605804145336151, 0.6670897006988525, 0.3416801393032074, -0.35364586114883423, -0.3484075367450714, -0.4972101151943207, -0.02318245731294155, -0.3450961709022522, -0.7503944039344788, 0.3899724781513214, 0.141062393784523, 0.13358107209205627, 0.06973119080066681, 0.002633314812555909, 0.19217991828918457, -0.14298489689826965, 0.6016629338264465, 0.2515397071838379, -0.07217204570770264, 0.3689725697040558, -0.018187373876571655, -0.1991139054298401, 0.25416240096092224, 0.024597791954874992, 0.6629753112792969, -0.26066476106643677, -0.23551076650619507, -0.5865775346755981, 0.5761004090309143, 0.486206978559494, -0.023834573104977608, 0.8105936646461487, 0.7845447063446045, -0.34409239888191223, 0.2390749454498291, -0.38639646768569946, -0.027220528572797775, -0.3720446527004242, 0.9758377075195312, -0.17559821903705597, -1.1167372465133667, 0.8625806570053101, -0.5002099275588989, -0.5761043429374695, 0.3681240677833557, 0.7165336012840271, -0.16612084209918976, 1.080000877380371, 0.40231549739837646, -0.45425570011138916, 0.4549707770347595, -0.08895719051361084, 0.5255727767944336, -1.134416103363037, -0.3799726366996765, -0.5084989070892334, -0.548255980014801, -0.6282177567481995, -0.25341084599494934, 0.3395889699459076, -0.00425066938623786, -0.6547235250473022, 0.1427554190158844, -0.17178396880626678, 0.17219692468643188, 0.1325943022966385, 0.5008772015571594, -0.04742494970560074, -0.1528061032295227, -0.05879366397857666, -0.07917433977127075, -0.6890007853507996, -0.25513914227485657, 0.7574654221534729, 0.3157867193222046, 0.523280680179596, -0.13929904997348785, 0.5258145332336426, -0.12311799079179764, 0.2855096757411957, -0.7562551498413086, 0.5166746377944946, -0.26798564195632935, -0.1787032037973404, -0.25382328033447266, -0.7938002347946167, -1.1027885675430298, 0.22519543766975403, -0.04660046473145485, -1.0952225923538208, 0.234927698969841, -0.023396676406264305, -0.049344178289175034, 0.2861999273300171, -0.5808442831039429, 1.1307867765426636, -0.3307521343231201, -0.26140090823173523, -0.25370436906814575, -0.7481470704078674, 0.30980363488197327, 0.3176824748516083, 0.1640189290046692, -0.20721030235290527, 0.3957085609436035, 0.7572874426841736, -0.22027753293514252, 1.075722336769104, -0.13823166489601135, 0.14799585938453674, 0.22742688655853271, -0.10623686760663986, 0.8860305547714233, 0.01180294994264841, 0.2483469843864441, 0.17757607996463776, -0.4754071533679962, -0.07044024020433426, -0.6677234768867493, 0.6552051305770874, -0.7648320198059082, -0.30116918683052063, -0.14566168189048767, -0.5798966884613037, -0.21719364821910858, 0.13823221623897552, 0.07499534636735916, 0.3768843114376068, -0.40321803092956543, 0.3016435205936432, 0.5003858804702759, -0.411565899848938, 0.3908553123474121, 0.26989153027534485, 0.07269265502691269, -0.6088311076164246, 0.7327812910079956, -0.10990922898054123, 0.23591570556163788, 0.17812789976596832, 0.2273891419172287, -0.11945763230323792, 0.14873963594436646, -0.05015520378947258, 0.250652015209198, -0.7604306936264038, -0.3167305886745453, -0.9216051697731018, -0.09917028993368149, -0.3104223906993866, 0.03823680430650711, -0.37780073285102844, -0.09747271984815598, -0.32316771149635315, -0.3112918436527252, 0.30561017990112305, 0.3987976908683777, 0.11742743104696274, 0.23113657534122467, -0.6079394817352295, 0.25598323345184326, 0.21886086463928223, 0.23351427912712097, 0.48679524660110474, -0.16067273914813995, -0.306608647108078, 0.26010072231292725, -0.39940422773361206, -1.0253580808639526, 0.5414753556251526, 0.18359380960464478, 0.27282842993736267, 0.5422910451889038, -0.007592902984470129, 0.7873668074607849, -0.5135679244995117, 0.47614961862564087, 0.5253757238388062, -0.9033894538879395, 0.22195766866207123, -0.18037866055965424, 0.1395483911037445, 0.32012173533439636, 0.5604942440986633, -1.0868110656738281, -0.2767452001571655, -0.6213164925575256, -1.12691068649292, 0.6510841846466064, 0.07260648906230927, 0.20822040736675262, -0.21496495604515076, 0.16086198389530182, -0.2261781096458435, 0.2549217641353607, -0.6050277948379517, -0.5260613560676575, -0.042043302208185196, -0.44654616713523865, -0.01730317249894142, -0.32443708181381226, -0.15842196345329285, -0.3164132535457611, 0.4208914637565613, -0.15429869294166565, 0.6354272961616516, 0.27878549695014954, -0.05807715654373169, -0.012743553146719933, 0.32033443450927734, 0.5454885959625244, 0.06450159102678299, -0.03761366754770279, 0.17128902673721313, 0.23690342903137207, -0.35545507073402405, 0.06702699512243271, 0.20065703988075256, 0.39567965269088745, -0.07481376081705093, 0.305702805519104, 1.3591196537017822, 0.5348103046417236, -0.3087807297706604, 0.4410852789878845, -0.0394805446267128, -0.11964693665504456, -0.0566830113530159, -0.5001320242881775, 0.4135732054710388, 0.5028557181358337, -0.08091405779123306, -0.24209429323673248, 0.13432708382606506, -0.6500896215438843, 0.1626434475183487, 0.2782919704914093, -0.5824083089828491, -0.3441469669342041, 0.5027483105659485, 0.1140698492527008, -0.048180531710386276, 0.756637454032898, -0.28150850534439087, -1.040574073791504, 0.9925609230995178, 0.6265921592712402, 1.0824955701828003, -0.23228996992111206, 0.515844464302063, 0.5152224898338318, -0.17556606233119965, -0.01960538700222969, 0.4417482614517212, 0.09396138787269592, -0.7907459139823914, -0.34059327840805054, -0.11535461246967316, -0.44108426570892334, -0.18283596634864807, -0.7646805644035339, 0.04131234064698219, 0.07092338055372238, -0.1849740445613861, -0.23456725478172302, -0.06072232499718666, -1.0585695505142212, 0.06490108370780945, 0.3362836241722107, 0.29071009159088135, -1.014050841331482, 0.6328438520431519, 0.42010846734046936, -0.2035594880580902, -1.0450736284255981, -0.4880451261997223, 0.017647942528128624, -0.47369784116744995, 0.8107268810272217, 0.34936952590942383, 0.03177589550614357, -0.31096315383911133, -0.26681262254714966, -0.7787801027297974, 1.401664137840271, 0.22697092592716217, -0.619144856929779, 0.06261447817087173, 0.15812121331691742, 0.6678872108459473, -0.6998853087425232, 0.4886627495288849, 0.24053603410720825, 0.34960970282554626, 0.003513675881549716, -0.8130049705505371, 0.25152793526649475, -0.3135475814342499, -0.174960196018219, 0.2782215178012848, -0.8223910927772522, 0.904834508895874, -0.011955853551626205, -0.3121146559715271, -0.31473085284233093, 0.573261022567749, 0.2853991687297821, 0.721887469291687, 0.39075398445129395, 0.6332505345344543, 1.0854672193527222, -0.12391157448291779, 0.9224159121513367, -0.4863532483577728, 0.5950879454612732, 1.2761619091033936, -0.425717294216156, 0.5681425333023071, 0.30570539832115173, -0.13046909868717194, 0.6749267578125, 0.5493912100791931, 0.32020819187164307, 0.5269182324409485, 0.329211950302124, -0.05995038524270058, -0.06554065644741058, -0.20622605085372925, -0.12513671815395355, 0.2504742741584778, 0.3966733515262604, -0.465960830450058, -0.14179156720638275, 0.2531224191188812, 0.49429208040237427, -0.4462655186653137, -0.40302449464797974, 0.722618579864502, 0.44135797023773193, -0.35242533683776855, 0.1225397139787674, -0.25487396121025085, 0.4962444305419922, -0.4610666036605835, 0.15014073252677917, -0.1684538871049881, 0.034099966287612915, -0.2794345021247864, -0.2352566123008728, 0.23942160606384277, -0.17697933316230774, 0.010081465356051922, -0.09301374107599258, 0.9329727292060852, -0.903833270072937, -0.41460540890693665, 0.5931985974311829, 0.5108956098556519, 0.01553120743483305, -0.1603061556816101, -0.6041970252990723, -0.03228643536567688, -0.3699282109737396, -0.4932272732257843, 0.3937135636806488, 0.8215214610099792, 0.04411677271127701, 0.459332138299942, 0.38601359724998474, 0.044597331434488297, -0.21494682133197784, 0.27560174465179443, 0.910987913608551, -0.7442419528961182, -0.6770099997520447, -0.8865752816200256, 0.6529488563537598, -0.31953662633895874, -0.287506103515625, 0.6216505169868469, 0.249435156583786, 0.6437552571296692, 0.04935796931385994, 0.5816224813461304, 0.006331451237201691, 0.13563145697116852, -0.49108442664146423, 0.542184591293335, -0.3290480971336365, -0.15006819367408752, -0.9279739260673523, -0.5710451006889343, -0.3025157153606415, 0.4750150442123413, -0.3883588910102844, 0.0414760522544384, 1.048326849937439, 0.5481233596801758, 0.0570773109793663, 0.3106699585914612, 0.20233695209026337, 0.2705268859863281, 0.28903928399086, 1.1137868165969849, 0.6976034045219421, -0.35409975051879883, 0.3271542191505432, -0.29215356707572937, 0.013361012563109398, -0.09188401699066162, -1.0181065797805786, -0.9654712677001953, -0.7035114765167236, -0.48172610998153687, -0.3890976309776306, -0.05247747525572777, 0.8609235286712646, 0.39049994945526123, -0.724441647529602, -0.10243253409862518, -0.0870346650481224, 0.21685634553432465, -0.15742774307727814, -0.20273873209953308, 0.933447003364563, -0.2185375839471817, -0.519436240196228, 0.024723855778574944, 0.30391356348991394, -0.20632466673851013, 0.11430565267801285, -0.268852174282074, -0.07906723022460938, -0.1375843584537506, 0.723013699054718, 0.21783852577209473, -0.5287753343582153, -0.5229673385620117, 0.04148799926042557, -0.1952730417251587, 0.06640159338712692, 1.1928094625473022, -0.4500943422317505, 0.41677021980285645, 0.32048365473747253, 0.7591871023178101, 0.484004408121109, -0.15828073024749756, 0.38050687313079834, -0.610867977142334, 0.20529238879680634, 0.09061191976070404, 0.6530340909957886, 0.18368929624557495, -0.5886304378509521, 0.34200766682624817, 0.12168358266353607, -0.7474203109741211, -0.5729090571403503, 0.24638602137565613, -1.1584022045135498, -0.17245176434516907, 1.1783493757247925, -0.4347953498363495, -0.1786877065896988, -0.1802091896533966, -0.340104877948761, 0.7862659096717834, -0.4035833179950714, 0.7681967616081238, 0.9081116318702698, -0.4780491292476654, -0.20086584985256195, -0.4990304112434387, 0.23378749191761017, 0.27233177423477173, -0.9339885115623474, 0.2827698588371277, 0.4540630578994751, -0.08009540289640427, 0.04885060712695122, 0.48646119236946106, 0.08396705240011215, 0.0877893790602684, -0.28367891907691956, 0.12960770726203918, -0.15893106162548065, -0.36827877163887024, -0.302446186542511, 0.17990264296531677, -0.7709140181541443, 0.014946512877941132 ]
http://arxiv.org/abs/2403.10758v1
http://arxiv.org/pdf/2403.10758v1
Rules still work for Open Information Extraction
2024-03-16T01:40:36
2024-03-16T01:40:36
Jialin Hua, Liangqing Luo, Weiying Ping, Yan Liao, Chunhai Tao, Xuewen Lub
cs.CL
cs.CL
Open information extraction (OIE) aims to extract surface relations and their corresponding arguments from natural language text, irrespective of domain. This paper presents an innovative OIE model, APRCOIE, tailored for Chinese text. Diverging from previous models, our model generates extraction patterns autonomously. The model defines a new pattern form for Chinese OIE and proposes an automated pattern generation methodology. In that way, the model can handle a wide array of complex and diverse Chinese grammatical phenomena. We design a preliminary filter based on tensor computing to conduct the extraction procedure efficiently. To train the model, we manually annotated a large-scale Chinese OIE dataset. In the comparative evaluation, we demonstrate that APRCOIE outperforms state-of-the-art Chinese OIE models and significantly expands the boundaries of achievable OIE performance. The code of APRCOIE and the annotated dataset are released on GitHub (https://github.com/jialin666/APRCOIE_v1)
[ -0.11155971884727478, -0.8451711535453796, 0.47617605328559875, 0.16592875123023987, -0.2596248984336853, -0.7781475782394409, -0.37561747431755066, -0.5851156115531921, -0.15067176520824432, 0.5559093356132507, -0.3786648213863373, -0.8489606976509094, -0.42210495471954346, 0.027965852990746498, -0.21573664247989655, 0.7430683970451355, -0.17074330151081085, 0.0038391088601201773, 0.17295856773853302, -0.04893893748521805, -0.21941536664962769, -0.16036343574523926, -0.8395001292228699, 0.21649666130542755, 0.20245537161827087, 0.2738119959831238, 0.5168559551239014, 1.3388617038726807, 0.44202059507369995, 0.24604415893554688, 0.12095798552036285, 0.5115489363670349, -0.2888523042201996, 0.10071417689323425, 0.21381807327270508, -0.6128110289573669, -0.46375134587287903, 0.3370625376701355, 0.47453659772872925, 0.2918473780155182, -0.18839791417121887, 0.02437610924243927, -0.09536293894052505, 0.26479053497314453, -0.7121173143386841, 0.528092086315155, -0.5780700445175171, -0.18184000253677368, -0.13394248485565186, -0.042522579431533813, -0.522761344909668, -0.32714325189590454, -0.17493946850299835, -1.0125421285629272, 0.07747866958379745, -0.0142343295738101, 1.1364426612854004, 0.014054273255169392, -0.11264818906784058, -0.5718969106674194, -0.39911243319511414, 0.6480236649513245, -0.9578883051872253, 0.4704221189022064, 0.03438323363661766, 0.21704618632793427, -0.3936787545681, -1.0933703184127808, -0.5974113345146179, -0.32196736335754395, -0.34818774461746216, 0.08609072118997574, 0.013553018681704998, -0.24474817514419556, -0.06773632764816284, 0.4263068437576294, -0.2904444634914398, 0.1323777735233307, -0.1967172622680664, 0.2462744414806366, 0.9536925554275513, -0.07157706469297409, 0.9262747764587402, -0.29798218607902527, -0.3762412369251251, 0.1002512201666832, -0.601527988910675, 0.3719187378883362, 0.35045692324638367, 0.6125670671463013, 0.08524884283542633, 0.5041257739067078, -0.13303875923156738, 0.6345208287239075, -0.08659125119447708, 0.029860109090805054, -0.1608431190252304, -0.10984624177217484, -0.48872071504592896, -0.04746196046471596, 1.2665880918502808, 0.04054216295480728, 0.28913334012031555, -0.46159401535987854, -0.3637022376060486, -0.45739132165908813, 0.043688274919986725, -0.8706738352775574, -0.480263888835907, 0.3048988878726959, -0.7813680768013, -0.291715532541275, 0.9320308566093445, -0.7269629836082458, -0.4107133448123932, -0.3109266459941864, 0.1304164081811905, -0.6215171813964844, -0.5281293392181396, -0.0521479956805706, -0.32526153326034546, 0.10277365893125534, 0.45790010690689087, -0.5992889404296875, 0.3909933567047119, 0.7879371643066406, 1.1129274368286133, -0.3267502784729004, 0.00802402663975954, -0.8323063850402832, 0.008988420478999615, -0.3295709192752838, 0.4928845763206482, -0.5137380361557007, 0.11107137054204941, -0.062186166644096375, 0.16477499902248383, -0.33379223942756653, -0.3567083179950714, 0.5486665368080139, -0.6155454516410828, 0.5412529110908508, 0.08381921052932739, -0.24355848133563995, -0.17759838700294495, -0.15392085909843445, -1.1269676685333252, 0.8384338617324829, -0.09503838419914246, -0.6571053862571716, 0.18282805383205414, -1.2109925746917725, -0.1520089954137802, 0.10644324123859406, -0.28182166814804077, -0.31187236309051514, -0.056477371603250504, 0.19788819551467896, 0.17574340105056763, -0.29834404587745667, 0.2748693823814392, -0.16083216667175293, -0.18741829693317413, -0.1686621606349945, -0.013000410981476307, 1.4148539304733276, 0.5426474213600159, -0.2529575526714325, 0.053487278521060944, -1.0559911727905273, 0.05052163079380989, 0.46263790130615234, -0.3019980192184448, -0.7623375654220581, 0.12154221534729004, 0.06157652661204338, 0.1652929186820984, 0.2316596806049347, -1.1160482168197632, 0.45433956384658813, -0.28959786891937256, 0.8199999332427979, 0.5205535292625427, 0.19555236399173737, 0.4333779215812683, 0.014227931387722492, 0.07371097803115845, 0.04083572328090668, 0.004972642287611961, -0.4908781945705414, -0.5410659909248352, -0.4035336375236511, -0.7621274590492249, 0.3867381513118744, 0.5428580641746521, -0.5639779567718506, 0.3553776144981384, -0.21254658699035645, -0.6005274057388306, -0.6496666073799133, 0.05393503978848457, 0.2277933806180954, 0.15929891169071198, 0.29157882928848267, -0.3059287369251251, -0.5627415180206299, -0.4923560321331024, -0.30466628074645996, -0.0728832259774208, -0.12168095260858536, 0.2624668478965759, 0.06350816786289215, 0.30615589022636414, 1.229851245880127, -0.582413911819458, -0.4846664369106293, -0.05723722651600838, 0.5118017196655273, 0.2955096364021301, 0.42156529426574707, 0.771756649017334, -1.1492952108383179, -0.37789350748062134, 0.44890570640563965, -1.0665053129196167, -0.33404818177223206, 0.09379677474498749, -0.42667657136917114, 0.18464386463165283, 0.6417236328125, -0.8081881999969482, 0.6530032157897949, 0.2316461205482483, -0.22934590280056, 0.15948888659477234, 0.10915031284093857, 0.19412775337696075, -0.8985676169395447, 0.34747177362442017, 0.3314129412174225, -0.03754096105694771, -0.730518639087677, 0.41704145073890686, 0.14230701327323914, -0.1377129852771759, -0.4556659758090973, 0.6856762766838074, -0.7324627637863159, 0.4234829843044281, -0.38026928901672363, 0.35149142146110535, 0.03947560489177704, 0.5907841920852661, 0.42775121331214905, 0.4144894480705261, 0.2953810691833496, -0.9819613099098206, 0.027863074094057083, 0.4351173937320709, -0.32132112979888916, -0.21984310448169708, -0.560549259185791, 0.2378259152173996, -0.2539204955101013, -0.16107231378555298, -1.1007241010665894, -0.0673050805926323, 0.4563661217689514, -0.5580171346664429, 0.2139531821012497, -0.2499716728925705, -0.2993800938129425, 0.20728559792041779, -0.23814699053764343, 0.14573831856250763, 0.37977170944213867, -0.728369414806366, 0.6939921975135803, 0.3871546983718872, -0.27357882261276245, -0.5841797590255737, -0.3682032525539398, -0.016033032909035683, 0.007275493815541267, -0.6270394325256348, 0.3399524390697479, 0.125178262591362, -0.5737539529800415, 0.22278694808483124, 0.01345087680965662, -0.5365092158317566, 0.23618368804454803, 0.14618857204914093, 0.31389525532722473, -0.6531360149383545, -0.10299346596002579, -0.2353786826133728, 0.42818403244018555, 0.08931715041399002, -0.3601829707622528, 0.4213811457157135, 0.38772425055503845, 0.03738369792699814, -0.38513559103012085, 0.23327063024044037, 0.3814801573753357, -0.6551242470741272, 0.626561164855957, 0.543790876865387, -0.5550631284713745, -0.39078110456466675, -0.05570429190993309, 0.0833434984087944, -0.41050729155540466, 0.3338584005832672, -0.533361554145813, -0.17048010230064392, 0.23009246587753296, 0.22394712269306183, 0.7908968329429626, 0.556212842464447, 0.09624836593866348, 0.38683831691741943, 0.9914151430130005, 0.8930945992469788, 0.07977386564016342, 0.7842437028884888, -0.06705371290445328, 0.29767629504203796, -0.43378809094429016, -0.1093161329627037, -0.6730963587760925, 0.3400430977344513, -0.7347797751426697, 0.2378709614276886, 0.06402304023504257, 0.34795865416526794, -0.011725681833922863, 0.5968239307403564, -0.42598187923431396, -0.0024310273583978415, 0.7288991212844849, 0.20595157146453857, 0.3859574496746063, -0.11886441707611084, 0.2208736538887024, 0.25634896755218506, -0.6902731657028198, -0.6786851286888123, 0.7041389346122742, 0.3341420292854309, 0.45745939016342163, 0.241952583193779, 0.6974998116493225, 0.270485520362854, 0.44349226355552673, -0.7016800045967102, 0.5669911503791809, -0.5223211050033569, -0.177066832780838, -0.6894183158874512, -0.3976476788520813, -1.0034993886947632, 0.23758143186569214, -0.07381457835435867, -0.6899217367172241, 0.22742168605327606, -0.1055290549993515, -0.07811978459358215, 0.43828749656677246, -0.6904534101486206, 0.8351194262504578, -0.06412934511899948, -0.5382658839225769, 0.4690040647983551, -0.43501830101013184, 0.5346503853797913, 0.06879889219999313, 0.3344264626502991, -0.04510215297341347, 0.008398876525461674, 0.7030830979347229, -0.43937456607818604, 0.6859961152076721, -0.49601230025291443, -0.33919310569763184, 0.6688284873962402, 0.054359070956707, 0.43120917677879333, -0.0544598214328289, -0.23330524563789368, 0.528795063495636, -0.06621279567480087, -0.17647844552993774, -0.6566109657287598, 0.45056775212287903, -0.779891848564148, -0.4632299542427063, -0.09648202359676361, -0.16574996709823608, 0.3437252938747406, 0.7446480393409729, 0.24073989689350128, 0.29451751708984375, -0.4563325345516205, -0.14251527190208435, 0.3784368932247162, -0.17295916378498077, 0.8622269630432129, 0.5916358828544617, 0.02149711176753044, -0.41838324069976807, 0.9164419174194336, 0.0870785042643547, -0.04386153817176819, 0.5803259015083313, 0.287249892950058, 0.07621166855096817, -0.571313738822937, -0.5346013307571411, 0.22211377322673798, -0.6327130794525146, -0.07892382144927979, -0.723149836063385, -0.5222412943840027, -0.8953936696052551, 0.4932457208633423, -0.17647193372249603, -0.39968141913414, -0.1778731793165207, 0.15897825360298157, 0.03307471051812172, 1.0488766431808472, 0.10893236100673676, 0.11986836791038513, -0.9025934934616089, 0.49858349561691284, -0.1487368494272232, 0.2919464707374573, -0.13867302238941193, -0.26785901188850403, -0.27528053522109985, 0.04927181079983711, -0.22011928260326385, -0.7124492526054382, 0.5562502145767212, 0.2492237538099289, 0.8040540218353271, 0.36633890867233276, 0.38071325421333313, 0.5243291258811951, -0.5438147783279419, 0.8159617781639099, -0.04518640413880348, -0.9638426899909973, 0.4601796567440033, -0.22219569981098175, -0.06094760075211525, 0.21784020960330963, 0.4412060081958771, -0.4321633279323578, -0.5797353386878967, -0.5115943551063538, -0.8505926728248596, 1.085044264793396, 0.18848802149295807, -0.3233034014701843, -0.17176149785518646, 0.546160101890564, 0.5023659467697144, 0.16559341549873352, -1.025085210800171, -0.09092831611633301, -0.3656771779060364, -0.5069227814674377, 0.2257463037967682, 0.0773513987660408, 0.2888745665550232, 0.4267532229423523, 0.810088038444519, -0.053604092448949814, 0.42938095331192017, 0.5201026201248169, -0.24519427120685577, -0.26004403829574585, 0.0025533156003803015, 0.32466524839401245, 0.3524293303489685, -0.27431827783584595, -0.266228049993515, -0.5665559768676758, -0.7330774068832397, -0.3565996587276459, 0.31881240010261536, -0.36971282958984375, 0.27060171961784363, 0.5441561341285706, 0.6452736854553223, -0.4723089933395386, -0.6337448358535767, 0.7789040207862854, -0.27443018555641174, -0.23364286124706268, -0.4715467691421509, 0.2891164720058441, -0.6183673143386841, -0.12797455489635468, 0.24576357007026672, -0.14438122510910034, 0.23716095089912415, -0.5804019570350647, 0.3486276865005493, 0.3179105520248413, -0.3347163498401642, -0.3290078043937683, 0.890536367893219, 0.05631699413061142, -0.3953075706958771, 0.6490833759307861, 0.02281906269490719, 0.017683474346995354, 0.7149662971496582, 0.28288397192955017, 0.8240854740142822, -0.25807294249534607, -0.09124167263507843, 0.6071751713752747, 0.39119765162467957, -0.036480966955423355, 0.10689684003591537, -0.1656273901462555, -0.657587468624115, -0.26076582074165344, -0.32447734475135803, -0.04436385631561279, 0.3155144155025482, -0.6795305013656616, 0.8848522901535034, -0.4660820960998535, 0.4272511601448059, 0.12453649938106537, -0.08037804812192917, -0.45804330706596375, 0.5321292281150818, 0.27651703357696533, 1.2188146114349365, -0.6839988231658936, 0.9247745871543884, 0.9119133353233337, -0.7551279664039612, -0.5670526027679443, 0.15215477347373962, -0.4213095009326935, -0.95920729637146, 0.6912375688552856, 0.5164690613746643, -0.03124735876917839, -0.06183754652738571, -0.8229880928993225, -0.7609730958938599, 1.192624807357788, 0.20765246450901031, -0.3271021544933319, -0.34415823221206665, -0.19158028066158295, 0.23740360140800476, -0.774965226650238, 0.5974115133285522, 0.2763751447200775, 0.5305203795433044, -0.16182179749011993, -0.6781026721000671, 0.23251467943191528, -0.8060282468795776, -0.4038178622722626, 0.2058088630437851, -0.7755613923072815, 1.1935654878616333, -0.11655209958553314, -0.7660225629806519, 0.5200904607772827, 0.7652543783187866, -0.1737743616104126, 0.49945637583732605, 0.742323637008667, 0.2182314246892929, 0.5880259275436401, 0.0654030591249466, 0.7293301224708557, -0.26766595244407654, -0.08048833906650543, 1.0500317811965942, -0.22256194055080414, 0.8326942920684814, -0.03413042426109314, 0.4274609386920929, 0.7387085556983948, 0.5175888538360596, -0.018157433718442917, 0.6168699860572815, -0.07368223369121552, 0.09315500408411026, 0.1285683810710907, -0.09666533023118973, 0.1280384510755539, 0.7289106845855713, 0.03010784275829792, -0.6641098856925964, -0.1299242079257965, -0.0692780613899231, 0.2886563837528229, 0.3315057158470154, -0.40701910853385925, 1.1349551677703857, -0.17885930836200714, -1.0805120468139648, 0.35962486267089844, 0.5427605509757996, 0.18207460641860962, -0.6783058047294617, -0.45835229754447937, 0.06455231457948685, 0.04124993085861206, -0.36042076349258423, -0.34545138478279114, -0.03668375685811043, -0.06517384946346283, 0.012780648656189442, 0.017120685428380966, 0.6133943200111389, -0.6425282955169678, 0.055909186601638794, 0.2503555119037628, 0.3761787712574005, 0.05743255093693733, -0.1528480350971222, -0.2590175271034241, -0.24345053732395172, 0.21093003451824188, -0.5039700865745544, -0.020554138347506523, 1.015386700630188, -0.35053202509880066, 0.09016675502061844, 0.6794389486312866, 0.15833882987499237, 0.11683445423841476, -0.20889759063720703, 0.8510899543762207, -0.7614207863807678, -0.6838305592536926, -0.9047304391860962, 0.5600922703742981, -0.4065008759498596, -0.3254168629646301, 0.6688112616539001, 0.5801236033439636, 0.5733366012573242, 0.08613777905702591, 1.2336270809173584, -0.3955451250076294, 0.3687545359134674, -0.8516809344291687, 0.6247514486312866, -0.5048559308052063, 0.025080282241106033, -0.07002036273479462, -0.6820215582847595, -0.20295193791389465, 0.2351112812757492, -0.1403225213289261, -0.20836295187473297, 0.8172780275344849, 0.49597781896591187, -0.18068861961364746, 0.5428929924964905, 0.07816282659769058, 0.2945462167263031, 0.6319319009780884, 0.27697232365608215, 0.5051356554031372, -0.5885319113731384, 0.6011964678764343, -0.17808209359645844, -0.6708342432975769, 0.30514225363731384, -1.0420124530792236, -0.8945808410644531, -0.4981195628643036, -0.25566017627716064, -0.09462106972932816, 0.03704454377293587, 0.8943884968757629, 0.771750807762146, -0.833438515663147, -0.2731221616268158, -0.5795274376869202, -0.07003434747457504, -0.3787437975406647, -0.3436068594455719, 0.4769129157066345, -0.5147936940193176, -1.1260355710983276, 0.4725150465965271, -0.05795855447649956, -0.06368634849786758, 0.11355762183666229, 0.18189255893230438, -0.369375079870224, 0.20157429575920105, 0.3536143898963928, 0.41182494163513184, -0.4702892005443573, -0.15336671471595764, 0.1002870500087738, -0.20348012447357178, 0.3502994775772095, 1.0843768119812012, -0.3167089819908142, 0.2935827076435089, 0.3800174593925476, 0.5876648426055908, 0.056035954505205154, 0.27497559785842896, 0.7810932993888855, -0.5534607768058777, 0.06875045597553253, -0.15424656867980957, 0.3682861328125, 0.01766423135995865, -0.740353524684906, 0.6037010550498962, 0.260727196931839, -0.20934632420539856, -0.7004665732383728, 0.11811815202236176, -0.7999716401100159, -0.6075371503829956, 1.2752724885940552, -0.6437765955924988, -0.7042551040649414, -0.09560741484165192, -0.41183602809906006, 0.48829537630081177, -0.5774661302566528, 0.7067933678627014, 0.7159626483917236, -0.10198914259672165, -0.1330145299434662, -0.4284897446632385, 0.26802366971969604, -0.13486143946647644, -0.7988740801811218, 0.2269628494977951, 0.3102845251560211, 0.07215828448534012, 0.23545579612255096, 0.5819008350372314, -0.2929004728794098, 0.32777702808380127, 0.014112093485891819, 0.39227521419525146, -0.7019917368888855, -0.37044501304626465, -0.03611588850617409, 0.6321948766708374, 0.06540993601083755, -0.618200421333313 ]
http://arxiv.org/abs/2403.10750v1
http://arxiv.org/pdf/2403.10750v1
Depression Detection on Social Media with Large Language Models
2024-03-16T01:01:16
2024-03-16T01:01:16
Xiaochong Lan, Yiming Cheng, Li Sheng, Chen Gao, Yong Li
cs.CL
cs.CL, cs.AI
Depression harms. However, due to a lack of mental health awareness and fear of stigma, many patients do not actively seek diagnosis and treatment, leading to detrimental outcomes. Depression detection aims to determine whether an individual suffers from depression by analyzing their history of posts on social media, which can significantly aid in early detection and intervention. It mainly faces two key challenges: 1) it requires professional medical knowledge, and 2) it necessitates both high accuracy and explainability. To address it, we propose a novel depression detection system called DORIS, combining medical knowledge and the recent advances in large language models (LLMs). Specifically, to tackle the first challenge, we proposed an LLM-based solution to first annotate whether high-risk texts meet medical diagnostic criteria. Further, we retrieve texts with high emotional intensity and summarize critical information from the historical mood records of users, so-called mood courses. To tackle the second challenge, we combine LLM and traditional classifiers to integrate medical knowledge-guided features, for which the model can also explain its prediction results, achieving both high accuracy and explainability. Extensive experimental results on benchmarking datasets show that, compared to the current best baseline, our approach improves by 0.036 in AUPRC, which can be considered significant, demonstrating the effectiveness of our approach and its high value as an NLP application.
[ -0.3505716025829315, -0.8472480773925781, 1.200814962387085, 0.2104697972536087, -0.4180302023887634, -0.1549212634563446, -0.33590325713157654, -0.5222757458686829, 0.4866656959056854, 0.3059144616127014, -0.6188405752182007, -1.0834124088287354, -1.0889273881912231, 0.19977989792823792, -0.36586445569992065, 0.8498581647872925, -0.21184727549552917, 0.11902865767478943, -0.012820441275835037, 0.13305073976516724, -0.3943498432636261, -0.3934650123119354, -1.140920877456665, -0.2096664309501648, 0.6731892228126526, 0.39266452193260193, 0.6045019626617432, 0.15877796709537506, 0.46056458353996277, 0.20186886191368103, -0.49676960706710815, 0.1420762836933136, -0.4671192765235901, 0.03029743954539299, -0.12919220328330994, -0.44611304998397827, -0.442853182554245, -0.46310606598854065, 0.3044711649417877, 0.443283349275589, -0.05451466143131256, -0.04778183996677399, 0.15185551345348358, 0.6015326976776123, -0.5614371299743652, 0.21824586391448975, -0.1850045621395111, 0.2857438325881958, -0.1252419650554657, 0.0023151696659624577, -0.09557053446769714, -0.4146319627761841, -0.008264891803264618, -0.3153137266635895, 0.10963424295186996, -0.4597773551940918, 0.6725499033927917, 0.33361390233039856, -0.5628790259361267, -0.44760408997535706, -0.708899736404419, 0.6744577288627625, -0.6629763245582581, 0.12490496039390564, 0.6294295191764832, 0.3567395806312561, -0.0589972622692585, -0.327924519777298, -0.3781813085079193, 0.17359374463558197, 0.06709560751914978, 0.17798356711864471, -0.3867185413837433, -0.13254910707473755, 0.18212340772151947, 0.48903679847717285, -0.5550353527069092, 0.31622543931007385, -0.16680482029914856, 0.020432397723197937, 0.6401292681694031, 0.20828106999397278, 0.374322772026062, -0.5642009973526001, -0.11646901071071625, 0.231977179646492, -0.0822385922074318, -0.07364750653505325, 0.024709263816475868, 0.12583643198013306, -0.34461426734924316, 0.5857177376747131, -0.05484842136502266, 0.4116828143596649, -0.07203853875398636, -0.13823091983795166, 0.006866110023111105, 0.2529906630516052, -0.10477631539106369, 0.23646670579910278, 0.8548508286476135, 0.4524272084236145, 0.18660910427570343, 0.18659301102161407, -0.21783584356307983, 0.47652551531791687, 0.11993782222270966, -0.5715383887290955, -0.33416587114334106, 0.5905900001525879, -0.6227085590362549, -0.3778513967990875, -0.49030259251594543, -0.731012225151062, -0.8859679102897644, -0.24698777496814728, 0.42786362767219543, -0.7374088168144226, -0.4595233201980591, 0.5664193034172058, 0.0013947454281151295, -0.10665464401245117, 0.47752493619918823, -0.7426618337631226, 0.131403848528862, 0.8004537224769592, 1.0872204303741455, -0.0009284719126299024, 0.3381562829017639, -0.2922112047672272, -0.08800677210092545, -0.3828611671924591, 0.9745218753814697, -0.05264974385499954, -0.32364416122436523, 0.21096670627593994, 0.16006864607334137, 0.2552450895309448, -0.418730229139328, 0.8401909470558167, -0.06730823963880539, 0.09552822262048721, -0.23879291117191315, -0.6264276504516602, -0.07357639819383621, 0.14163106679916382, -0.6378968954086304, 0.939813494682312, 0.2518104314804077, -1.0018380880355835, 0.12381564825773239, -0.3113170564174652, -0.5119722485542297, 0.1577746421098709, 0.07790601253509521, -0.4875948131084442, 0.1684086173772812, 0.3355501592159271, 0.9694362878799438, -0.4071718156337738, 0.48537686467170715, -0.6094599962234497, -0.27476122975349426, 0.2510783076286316, -0.10839433968067169, 0.6248816847801208, 0.09422330558300018, -0.12226195633411407, -0.06681377440690994, -0.843591034412384, -0.4014534652233124, 0.3401547074317932, -0.3639548420906067, -0.7579925060272217, 0.07127579301595688, 0.009588857181370258, 0.06520158797502518, 0.2522220313549042, -0.4185555577278137, -0.16493256390094757, -0.21771880984306335, 0.29606330394744873, 0.7996523380279541, 0.06941648572683334, 0.051037952303886414, -0.253050297498703, 0.6513333916664124, 0.08565741032361984, 0.40388262271881104, -0.007224849425256252, -0.6593858599662781, -0.3382173478603363, -0.573100745677948, 0.145127534866333, 0.7325995564460754, -0.34352046251296997, 0.8543791770935059, 0.027883172035217285, -0.5243653655052185, -0.5671595335006714, 0.0730922743678093, 0.2808458209037781, 0.40594401955604553, 0.5574677586555481, -0.31743714213371277, -0.4408408999443054, -0.6705357432365417, -0.24841590225696564, 0.007052460685372353, -0.16052573919296265, 0.4111473858356476, 0.1940566897392273, -0.5297898650169373, 0.44057565927505493, -0.8377556204795837, -0.4263317584991455, -0.41933783888816833, 0.1180146262049675, 0.4421766400337219, 0.07746119797229767, 0.2942085266113281, -0.6905301213264465, -0.459778755903244, 0.02427946962416172, -0.9601075649261475, -0.30574876070022583, 0.1073007732629776, -0.03447174280881882, -0.012030712328851223, 0.27454352378845215, -0.6309418082237244, 0.3255341947078705, 0.535901665687561, -0.44555142521858215, 0.37965768575668335, -0.05834748223423958, -0.08119198679924011, -1.31118905544281, -0.11012838035821915, 0.5429322719573975, -0.396930456161499, -0.3648921251296997, -0.6545396447181702, 0.10253606736660004, -0.32959654927253723, -0.10492146015167236, 0.3575091063976288, -0.10689444094896317, 0.1335509568452835, -0.2730679512023926, 0.2689703702926636, 0.02636120282113552, -0.02159082517027855, -0.22509926557540894, -0.08161769062280655, 0.7573392987251282, -0.5888358950614929, 0.28337591886520386, 0.3867214322090149, -0.4938332140445709, 0.8587729930877686, -0.361419677734375, -0.2669232487678528, -0.5129656195640564, 0.19225375354290009, -0.9709082841873169, -0.3285757899284363, 0.206480011343956, -0.45746859908103943, 0.18499894440174103, -0.16657021641731262, -0.3910929560661316, -0.45447099208831787, -0.11582927405834198, 0.09077734500169754, 0.451430082321167, -0.3707451820373535, 0.5429331064224243, 0.40871748328208923, -0.45842140913009644, -0.36504173278808594, -0.4453520178794861, 0.2426280528306961, -0.5105727314949036, -0.6062971949577332, 0.5618987083435059, 0.015042302198708057, -0.32852795720100403, 0.12869426608085632, -0.04218652844429016, -0.053526002913713455, 0.2830704152584076, 0.2760208547115326, 0.22184328734874725, -0.11512108147144318, 0.5687072277069092, 0.18785156309604645, -0.36183199286460876, 0.15447497367858887, 0.07622773200273514, 0.7201655507087708, 0.2615806758403778, 0.012165575288236141, -0.9159335494041443, 0.5207744240760803, 0.44982442259788513, 0.07511164993047714, 0.7629907131195068, 0.5682060718536377, -0.7104030847549438, -0.189297616481781, -0.5078060030937195, -0.08143937587738037, -0.4192679226398468, 0.21464803814888, -0.20280277729034424, -0.7645889520645142, 0.4802985191345215, -0.3730219304561615, -0.32026970386505127, 0.3578416109085083, 0.5148009657859802, -0.20427349209785461, 1.3371084928512573, 0.7655271887779236, -0.29315271973609924, 0.45459529757499695, -0.05426110699772835, 0.3443877398967743, -0.5637571811676025, 0.06888148188591003, -0.43559956550598145, -0.11823204904794693, -0.4089048504829407, -0.14394889771938324, 0.43616747856140137, 0.3355131149291992, -0.03378433361649513, 0.1332862824201584, -0.4673754572868347, 0.07832863926887512, 0.24424123764038086, 0.5742080807685852, 0.32676181197166443, -0.21684277057647705, 0.14375780522823334, -0.18184414505958557, -0.36159414052963257, -0.5351952910423279, 0.9118720889091492, 0.39924755692481995, 0.7558462619781494, 0.09992574155330658, 0.8994211554527283, 0.43115758895874023, 0.38557642698287964, -0.9229750037193298, 0.4004025161266327, -0.5377116203308105, -0.27375486493110657, -0.15697239339351654, -0.47609156370162964, -0.8447402119636536, -0.16911911964416504, -0.44195711612701416, -0.5597445368766785, 0.12713947892189026, 0.12566930055618286, -0.5026041269302368, 0.16982565820217133, -0.6314142942428589, 0.9018164277076721, -0.391925185918808, -0.0032132710330188274, -0.32501667737960815, -0.5382036566734314, 0.37180978059768677, -0.37621113657951355, 0.7030820846557617, -0.45616695284843445, 0.39779117703437805, 0.6046912670135498, -0.13730788230895996, 0.9393168687820435, -0.15454967319965363, -0.3549997806549072, -0.036476194858551025, 0.08032219111919403, 0.4068126082420349, 0.14949257671833038, -0.007605803199112415, 0.07996770739555359, 0.07706233859062195, -0.23540595173835754, -0.407460480928421, 0.6953114867210388, -0.6923679113388062, -0.42333003878593445, -0.21537043154239655, -0.39435875415802, -0.04794098436832428, 0.20374229550361633, 0.2001454085111618, 0.12186215817928314, -0.2795591354370117, -0.21306191384792328, 0.7355730533599854, -0.6190416812896729, 0.013131221756339073, 0.5707488656044006, -0.34397730231285095, -0.4993045926094055, 0.6084837317466736, 0.053123753517866135, -0.0210848618298769, 0.256413996219635, 0.5323741436004639, 0.006963067688047886, -0.3554711639881134, 0.08047133684158325, 0.6284094452857971, -0.9063295722007751, -0.15055780112743378, -0.8733000159263611, 0.137108713388443, -0.6008520126342773, -0.2711296081542969, -0.3844014108181, -0.2775545120239258, -0.6790297627449036, -0.32220757007598877, 0.5754119753837585, 0.8251056671142578, -0.34319329261779785, 0.17016461491584778, -0.869330883026123, 0.6717455983161926, 0.15352769196033478, 0.34847038984298706, -0.19374552369117737, -0.1474052220582962, -0.26068076491355896, -0.2668326497077942, -0.26440319418907166, -1.0956180095672607, 0.5258755683898926, -0.05044116824865341, 0.10032094269990921, 0.8814802169799805, 0.2691602110862732, 0.493746280670166, -0.3188001215457916, 0.4764711558818817, 0.41557392477989197, -0.9574792981147766, 0.9230061173439026, -0.19377802312374115, 0.06004961207509041, 0.2832980751991272, 0.98058021068573, -1.0153414011001587, -0.4313749670982361, -0.4929523169994354, -0.9329488277435303, 0.4798390865325928, -0.15733815729618073, 0.027001963928341866, -0.3468987047672272, 0.6671507358551025, 0.009421879425644875, -0.3441913425922394, -0.5779128074645996, -0.07030154019594193, 0.13996928930282593, -0.7034205794334412, -0.49021366238594055, -0.540700376033783, -0.15613962709903717, -0.12273074686527252, 0.6748747825622559, 0.012413124553859234, 0.2930585443973541, 0.38173556327819824, 0.04213079437613487, -0.43345990777015686, 0.22096939384937286, -0.0353965163230896, 0.47049835324287415, -0.2799471318721771, 0.3191378712654114, 0.08629593253135681, -0.1967846155166626, -0.05868258327245712, 0.3496416509151459, -0.03234774246811867, 0.20741163194179535, 0.3380986452102661, 0.6259893774986267, 0.4300960302352905, -0.6909441351890564, 0.5814446210861206, -0.18285973370075226, -0.19257549941539764, -0.6714205145835876, 0.012266851961612701, 0.47815385460853577, 0.6219440698623657, 0.14030718803405762, -0.38652947545051575, 0.18083927035331726, -0.3774142861366272, -0.021305380389094353, 0.5297152400016785, -0.5881704092025757, -0.4237082004547119, 0.42629244923591614, -0.18177002668380737, -0.5745810270309448, 0.12174227088689804, -0.016650553792715073, -0.4730607271194458, 0.5717534422874451, 0.47636356949806213, 0.7168025970458984, -0.5642109513282776, 0.5046903491020203, 0.24904276430606842, 0.0641360878944397, -0.4035915434360504, 0.7046300768852234, 0.20730581879615784, -0.8131225109100342, -0.25895389914512634, -0.7868093252182007, -0.39995077252388, 0.3184639811515808, -0.787625253200531, 0.7807597517967224, -0.4567684531211853, -0.4987456500530243, 0.41868335008621216, -0.1984776109457016, -0.4079502820968628, 0.31002703309059143, 0.5103865265846252, 0.7125149965286255, -1.0268136262893677, 0.44554445147514343, 0.6622636914253235, -0.0060522835701704025, -0.4030873477458954, 0.024804268032312393, 0.19788599014282227, -0.5113712549209595, 0.22781118750572205, 0.5937811136245728, 0.11666974425315857, 0.06822093576192856, -0.3991566300392151, -0.5886997580528259, 1.0543005466461182, 0.27209383249282837, -0.536882758140564, -0.008396623656153679, -0.12042944878339767, 0.5343241691589355, -0.15464800596237183, -0.15199774503707886, 0.35552915930747986, 0.4060528576374054, -0.15581075847148895, -0.7752112746238708, 0.11041340231895447, -0.06065129116177559, -0.08326484262943268, 0.41672298312187195, -0.24678482115268707, 0.7527438402175903, -0.15011285245418549, -0.5649921298027039, -0.22408291697502136, 0.18229758739471436, 0.13004453480243683, 0.49333447217941284, 0.5323948264122009, 0.9528117775917053, 1.0310858488082886, 0.18600279092788696, 1.181515097618103, -0.2980312705039978, 0.5512853860855103, 0.6212357878684998, -0.39841824769973755, 0.8138391971588135, 0.07179562002420425, -0.1976177841424942, 0.5603058338165283, 0.7460439801216125, 0.16391520202159882, 0.447141170501709, 0.10097005218267441, -0.763338565826416, -0.5304619073867798, -0.20411637425422668, -0.14490437507629395, 0.13323934376239777, 0.6308197379112244, -0.6807580590248108, -0.28231099247932434, 0.41200268268585205, 0.39161792397499084, 0.03482917323708534, -0.43531906604766846, 0.811714231967926, 0.4409216046333313, -0.30651095509529114, 0.6695859432220459, 0.22196635603904724, 0.6023008823394775, -0.415759414434433, 0.16270849108695984, -0.1233307272195816, 0.4855083227157593, -0.25707924365997314, -0.7528015971183777, 0.38115572929382324, 0.15941238403320312, -0.17581425607204437, -0.06507662683725357, 1.0332653522491455, -0.20319028198719025, -0.6021478772163391, 0.8051693439483643, 0.4977799355983734, 0.2523444592952728, -0.3243510127067566, -0.5493496060371399, -0.1141587570309639, -0.28380411863327026, -0.21369414031505585, 0.26724132895469666, 0.8334929943084717, 0.08885961025953293, 0.648864209651947, 0.5393068194389343, 0.1532263308763504, -0.4030974805355072, 0.12135358154773712, 0.8507559299468994, -0.8626764416694641, -0.5368558764457703, -1.0074903964996338, 0.30388015508651733, 0.032179027795791626, -0.17523197829723358, 0.4103739857673645, 0.19805382192134857, 0.33821016550064087, 0.09966626763343811, 0.8346821665763855, 0.1549859642982483, 0.886488676071167, -0.45909684896469116, 0.5296770334243774, -0.7018530964851379, 0.10662691295146942, -0.405606746673584, -0.48849570751190186, -0.5794489979743958, 0.6667632460594177, -0.4582635164260864, -0.33103692531585693, 0.7727176547050476, 0.5241079330444336, 0.023319954052567482, 0.11208148300647736, 0.18286338448524475, 0.5876365303993225, 0.24696891009807587, 0.7554208636283875, 0.8417054414749146, -0.0378328412771225, 0.2506694495677948, -0.28182363510131836, -0.5716978311538696, -0.34153875708580017, -0.6350686550140381, -0.9929957389831543, -0.45213332772254944, -0.42209309339523315, -0.5545504689216614, 0.04454908147454262, 0.6827364563941956, 0.14356617629528046, -0.5129031538963318, 0.1545661985874176, -0.016795188188552856, 0.21520398557186127, -0.23601002991199493, -0.25604885816574097, 0.5226353406906128, -0.12756659090518951, -0.3821794092655182, 0.26695212721824646, 0.33013567328453064, 0.023979267105460167, -0.26691335439682007, 0.1195112094283104, -0.10922413319349289, -0.051371168345212936, 0.8190852999687195, -0.09616811573505402, -0.382855087518692, -0.17517022788524628, -0.21793335676193237, -0.20780062675476074, 0.1387321650981903, 0.682340681552887, -0.5177750587463379, 0.08553784340620041, 0.2951204478740692, 0.32132038474082947, 0.528002142906189, -0.15475276112556458, 0.2419644445180893, -0.3010016083717346, -0.2660817503929138, 0.3211488127708435, 0.482806533575058, 0.5544790029525757, -0.9209720492362976, 0.2567780911922455, 0.2510477304458618, -0.49907687306404114, -0.67888343334198, 0.32217657566070557, -0.969666063785553, -0.7685689926147461, 1.0938208103179932, -0.2896708846092224, -0.2386629283428192, -0.4487670660018921, -0.278444766998291, 0.48469579219818115, -0.2762294411659241, 1.3723596334457397, 0.7444561719894409, -0.08596515655517578, -0.25312280654907227, -0.7718231081962585, 0.46498435735702515, 0.3757838010787964, -0.7665943503379822, 0.10816999524831772, 0.43194419145584106, 0.3403555154800415, 0.12211649119853973, 0.8621662259101868, -0.2213410586118698, 0.10463304817676544, -0.6110616326332092, 0.34127870202064514, 0.4231606423854828, 0.03945852071046829, -0.5070607662200928, 0.13798050582408905, -0.1261141002178192, 0.273126482963562 ]
http://arxiv.org/abs/2403.10707v1
http://arxiv.org/pdf/2403.10707v1
Uncovering Latent Themes of Messaging on Social Media by Integrating LLMs: A Case Study on Climate Campaigns
2024-03-15T21:54:00
2024-03-15T21:54:00
Tunazzina Islam, Dan Goldwasser
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG, cs.SI
This paper introduces a novel approach to uncovering and analyzing themes in social media messaging. Recognizing the limitations of traditional topic-level analysis, which tends to capture only the overarching patterns, this study emphasizes the need for a finer-grained, theme-focused exploration. Conventional methods of theme discovery, involving manual processes and a human-in-the-loop approach, are valuable but face challenges in scalability, consistency, and resource intensity in terms of time and cost. To address these challenges, we propose a machine-in-the-loop approach that leverages the advanced capabilities of Large Language Models (LLMs). This approach allows for a deeper investigation into the thematic aspects of social media discourse, enabling us to uncover a diverse array of themes, each with unique characteristics and relevance, thereby offering a comprehensive understanding of the nuances present within broader topics. Furthermore, this method efficiently maps the text and the newly discovered themes, enhancing our understanding of the thematic nuances in social media messaging. We employ climate campaigns as a case study and demonstrate that our methodology yields more accurate and interpretable results compared to traditional topic models. Our results not only demonstrate the effectiveness of our approach in uncovering latent themes but also illuminate how these themes are tailored for demographic targeting in social media contexts. Additionally, our work sheds light on the dynamic nature of social media, revealing the shifts in the thematic focus of messaging in response to real-world events.
[ -0.37190109491348267, -0.8705736994743347, 0.718529462814331, 0.13794571161270142, -0.8373187184333801, 0.8394799828529358, -0.30551475286483765, 0.03630237653851509, 0.6524046659469604, 0.5838383436203003, -0.9556700587272644, -0.7162066698074341, -0.7657044529914856, -0.3431491255760193, -0.4681725800037384, 0.9347342252731323, -0.05177838355302811, -0.27136147022247314, -0.09591815620660782, -0.00356496125459671, -0.35961225628852844, -0.4096657335758209, -0.25417202711105347, -0.3108116388320923, 0.8209764361381531, 0.6754902005195618, 0.1859767735004425, 0.40109017491340637, 0.8691263198852539, 0.11177985370159149, -0.39448148012161255, 0.20986723899841309, -1.1897566318511963, 0.1430273801088333, -0.4692856967449188, -0.2247011661529541, -0.09852837026119232, 0.2683790326118469, 0.6409178972244263, 0.28199559450149536, -0.006214882712811232, 0.39281195402145386, 0.2193208485841751, 0.5554715394973755, -0.6288180351257324, 0.20414084196090698, -1.2004722356796265, -0.18924537301063538, -0.21396134793758392, -0.7757803797721863, -0.008486159145832062, -0.1793229728937149, -0.038060262799263, -0.4090057611465454, 0.31354475021362305, -0.0020194612443447113, 0.7255706787109375, 0.02325504645705223, -0.6386545300483704, -0.7941756844520569, -0.9934194087982178, 0.8707354664802551, -0.4398200213909149, -0.2062739133834839, 0.17317819595336914, 0.3099392354488373, -0.025615360587835312, -0.47727179527282715, -0.4093055725097656, 0.2657455503940582, 0.2305096983909607, 0.2827611267566681, -0.23728623986244202, -0.4805396497249603, -0.21665963530540466, 0.2277888059616089, -0.46904605627059937, -0.028665101155638695, -0.3200536072254181, 0.00002725290323724039, 0.7724699974060059, 0.40230655670166016, 0.1926637887954712, -0.44254931807518005, -0.04934784397482872, 0.1512604057788849, -0.6760050654411316, -0.07286472618579865, 0.4125145673751831, 0.795691967010498, -0.6647418141365051, 0.6570029854774475, 0.149282768368721, 0.13166171312332153, -0.043243441730737686, -0.08454786241054535, -0.30164292454719543, -0.5902357697486877, 0.3150816261768341, 0.10620629042387009, 0.5481024980545044, 0.5966823697090149, 0.1014588251709938, 0.15332505106925964, -0.14174242317676544, 0.1769736260175705, 0.19943304359912872, -0.7563629746437073, 0.07920531928539276, 0.17647741734981537, -0.649223804473877, -0.3758818507194519, 0.16604089736938477, -0.8113059401512146, -0.6267564296722412, -0.4079187214374542, -0.27106672525405884, 0.004628389608114958, -0.29027730226516724, -0.24704496562480927, -0.12569960951805115, 0.17425042390823364, 0.3658282458782196, -0.4926910400390625, -0.27789121866226196, 1.1618247032165527, 1.05351722240448, -0.16286282241344452, 0.3139834403991699, -0.1542792022228241, 0.15610425174236298, -0.4984382390975952, 0.9373342990875244, -1.1006789207458496, -0.308170348405838, 0.26069557666778564, 0.05467627942562103, 0.11964574456214905, -0.1952349692583084, 0.17340053617954254, -0.7950379848480225, 0.0362635962665081, -0.5298764705657959, -0.6143504977226257, 0.17419546842575073, 0.02154284156858921, -0.3743366301059723, 0.9073427319526672, -0.12253864109516144, -0.8755448460578918, 0.2584765553474426, -0.6532807350158691, -0.0022104973904788494, -0.1197081208229065, -0.3050152361392975, -0.36766427755355835, 0.44715264439582825, 0.13324834406375885, 0.5908452272415161, -0.6086057424545288, 0.5970075726509094, -0.5722804069519043, -0.41674649715423584, 0.19286099076271057, -0.34763678908348083, 0.5503348708152771, 0.391757071018219, -0.27048739790916443, 0.38038891553878784, -0.4496508836746216, -0.631887674331665, 0.4395592510700226, 0.03788485750555992, -0.24473991990089417, 0.2206534445285797, 0.15182726085186005, 0.12529341876506805, 0.37111490964889526, -0.2911219894886017, 0.18734414875507355, 0.05719241499900818, 0.6714059114456177, 0.8890385627746582, 0.3839573562145233, 0.6818739771842957, -0.31039413809776306, 0.6889511346817017, 0.0023859459906816483, -0.1164504662156105, -0.5104884505271912, -0.5882521271705627, -0.5153496861457825, -0.02477949485182762, -0.3072848618030548, 0.4901376962661743, -0.790467381477356, 0.26073938608169556, -0.34024128317832947, -0.7365195155143738, -0.28715234994888306, 0.2491181343793869, 0.007361027877777815, 0.05995887890458107, -0.07026921957731247, 0.013664637692272663, -0.2124321162700653, -0.5181037187576294, -0.33066827058792114, -0.44916075468063354, 0.15195457637310028, 0.6347178220748901, 0.7506130337715149, -0.28581520915031433, 1.0407741069793701, -0.7946028709411621, 0.15467438101768494, -0.3456313908100128, 0.4296380877494812, 0.3393785357475281, 0.11002756655216217, 0.5841293334960938, -0.9616706967353821, -0.4930001199245453, -0.04180203378200531, -0.6781865954399109, -0.2568831741809845, -0.25754213333129883, -0.12706531584262848, -0.19436369836330414, 0.5804132223129272, -0.08407246321439743, 0.5040042400360107, 0.5451871752738953, -0.4430045485496521, 0.2751380205154419, 0.07200675457715988, 0.1882409304380417, -1.1927375793457031, -0.19415588676929474, 0.5497193932533264, 0.12873004376888275, -0.5090595483779907, -0.08783693611621857, -0.07719604671001434, -0.3684699237346649, -0.4672141373157501, 0.5118647813796997, -0.2553037703037262, 0.03326289728283882, -0.6236651539802551, 0.21842622756958008, 0.0971749797463417, 0.10398630797863007, -0.057395681738853455, 0.5575446486473083, 0.443706214427948, -0.21637339890003204, 0.5084874629974365, -0.14641976356506348, -0.17902269959449768, 0.6430038213729858, -0.4287928342819214, 0.6125401854515076, -0.7602086067199707, 0.4875454604625702, -1.3085802793502808, -0.22613438963890076, 0.32166415452957153, -0.36616653203964233, 0.06884723156690598, -0.3182523548603058, -0.7024762034416199, -0.41267260909080505, -0.21106326580047607, 0.10863420367240906, 0.2670707702636719, -0.23509158194065094, 0.3772350251674652, 0.62444669008255, -0.22120332717895508, 0.1072639748454094, -0.20230276882648468, 0.2591005265712738, -0.93772953748703, -0.43647998571395874, 0.4256298243999481, 0.07903813570737839, -0.5362318158149719, -0.18293625116348267, -0.2753007411956787, 0.054328132420778275, 0.24374264478683472, 0.08496378362178802, -0.15141500532627106, -0.25711339712142944, 0.06082713603973389, -0.18113850057125092, -0.07499642670154572, -0.05317186936736107, -0.3415892720222473, 0.8443709015846252, -0.09397102892398834, -0.29994717240333557, -0.5568547248840332, 0.7085420489311218, 0.5890077352523804, -0.13643929362297058, 0.8044921159744263, 0.722971498966217, -0.48711666464805603, 0.032537803053855896, -0.5275360345840454, -0.3641723394393921, -0.49798980355262756, -0.10781019181013107, 0.12496431916952133, -1.187892198562622, 0.7141843438148499, -0.3134360611438751, 0.00963687989860773, 0.28280431032180786, 0.47907301783561707, -0.5400630831718445, 0.5328570008277893, 0.9812108278274536, -0.2823629379272461, 0.8156517148017883, -0.4207448363304138, 0.32852187752723694, -0.4937796890735626, -0.3419572710990906, -0.5919301509857178, -0.14811469614505768, -0.5768606662750244, -0.7043278813362122, 0.12437347322702408, 0.04914979264140129, -0.28540369868278503, 0.1652679741382599, -0.4204387366771698, 0.17488951981067657, 0.2212584763765335, -0.020285412669181824, -0.0608140304684639, 0.2518756091594696, 0.22989366948604584, -0.34731218218803406, -0.46669942140579224, -1.0300941467285156, 0.7964720726013184, 0.2951503098011017, 0.8727094531059265, 0.014263702556490898, 0.7416897416114807, 0.5706260204315186, 0.6125577092170715, -0.5803161263465881, 0.592586100101471, -0.13589829206466675, -0.5094049572944641, -0.09139880537986755, -0.3320089876651764, -1.0981605052947998, 0.09302881360054016, -0.3214390277862549, -0.9915607571601868, 0.06635694950819016, -0.07436041533946991, -0.08931652456521988, 0.48760855197906494, -0.2661391496658325, 0.547029435634613, -0.34317049384117126, -0.37204915285110474, -0.42269328236579895, -0.5085721611976624, 0.09101703017950058, -0.5185558199882507, 0.6186096668243408, -0.7794008851051331, -0.1448720395565033, 0.6370016932487488, -0.17649145424365997, 1.2476534843444824, 0.1787755787372589, -0.5544164180755615, 0.4902949631214142, -0.5184922218322754, 0.5911380648612976, 0.0674639567732811, 0.08682654052972794, 0.006888579577207565, -0.49572518467903137, -0.5398680567741394, -0.4692445695400238, 0.8199241757392883, -0.6269641518592834, -0.7267810106277466, -0.1789664775133133, -0.4087974429130554, 0.02064017951488495, -0.04877794161438942, -0.14921797811985016, 0.3074759840965271, -0.43726691603660583, 0.25675448775291443, 0.5059706568717957, -0.40609899163246155, 0.41512802243232727, 0.5179526805877686, -0.23938891291618347, -0.42193520069122314, 1.1478034257888794, 0.18334190547466278, 0.07517547160387039, 0.47890910506248474, 0.4980389475822449, -0.17607012391090393, -0.43524497747421265, 0.06964299827814102, 0.3280028700828552, -0.7936533689498901, -0.07658474147319794, -0.7041393518447876, -0.013980267569422722, -0.4316136837005615, -0.44915321469306946, -0.24750451743602753, 0.18408146500587463, -0.8625150322914124, 0.11669839918613434, 0.5334767699241638, 0.8081501126289368, 0.13434980809688568, 1.0670058727264404, -0.660881757736206, 0.31028449535369873, 0.01001464668661356, -0.0041970303282141685, -0.1327667534351349, -0.4507731795310974, -0.2303905189037323, 0.2195570319890976, -0.569034218788147, -1.257689118385315, 0.45196831226348877, -0.07671109586954117, 0.46198102831840515, 0.6164105534553528, 0.04350971058011055, 0.6293483376502991, -0.2642850875854492, 0.8946502208709717, 0.17733849585056305, -0.907731831073761, 1.0195132493972778, -0.8931580781936646, 0.1984325647354126, 0.31406867504119873, 0.46639397740364075, -0.5810136198997498, -0.546194851398468, -0.8329441547393799, -1.1756067276000977, 0.4571984112262726, 0.5229301452636719, 0.5982492566108704, -0.07314231991767883, 0.5488057136535645, -0.2579417824745178, 0.4060063362121582, -0.29274696111679077, -0.3923528790473938, -0.07997306436300278, 0.018497632816433907, -0.4454236924648285, -0.34668073058128357, -0.03315732255578041, -0.14962506294250488, 0.4968075454235077, -0.2651917636394501, 0.07800409942865372, -0.24167348444461823, 0.12094729393720627, -0.15081237256526947, 0.16055390238761902, 0.6128109097480774, 0.8577472567558289, -0.3330342769622803, 0.0468202605843544, -0.04686472564935684, -0.2723027467727661, 0.10291717946529388, -0.2221543937921524, 0.017018338665366173, 0.2260928601026535, 0.5980637073516846, 0.7101518511772156, 0.21065498888492584, -0.2625362277030945, 0.23846855759620667, -0.08193494379520416, 0.13882805407047272, -0.13315710425376892, -0.2815778851509094, 0.6884956955909729, 0.38773226737976074, 0.9306173324584961, -0.3277440369129181, -0.15340706706047058, -0.979407787322998, 0.1878773421049118, 0.590860903263092, -0.6789353489875793, -0.44550371170043945, 0.6008976101875305, 0.2379520684480667, -0.44293469190597534, 0.17584948241710663, 0.08308939635753632, -0.4868134558200836, 1.1103605031967163, 0.5167859196662903, 0.8033732175827026, -0.10098091512918472, 0.5353593826293945, -0.0270039401948452, 0.5206781029701233, 0.305291086435318, 0.3340795040130615, 0.041723500937223434, -0.7831926941871643, -0.27413469552993774, -0.5188615322113037, -0.43774649500846863, 0.3284359574317932, -0.7059844732284546, 0.24072343111038208, -0.4433107078075409, -0.41768839955329895, 0.22468315064907074, 0.2762000560760498, -0.4990878105163574, 0.029922418296337128, 0.395803838968277, 0.6831055879592896, -1.2237184047698975, 0.4638925790786743, 0.922367513179779, 0.11499419063329697, -0.4143175482749939, 0.39695554971694946, 0.5105008482933044, -0.7966626882553101, 0.427287220954895, 0.19376763701438904, -0.19011691212654114, -0.0641857162117958, -0.944036066532135, -0.9599542021751404, 1.1576067209243774, 0.23239672183990479, -0.5373807549476624, 0.38584014773368835, 0.22325491905212402, 0.6303743720054626, -1.0013002157211304, 0.004131285473704338, 0.5518871545791626, 0.41283118724823, 0.3967956006526947, -0.4071207642555237, -0.07916589081287384, -0.255267858505249, 0.16440349817276, 0.02673494443297386, -0.873788595199585, 0.48298341035842896, 0.0036783339455723763, -0.446990966796875, -0.3539530038833618, 0.9268279075622559, 0.4840410351753235, 0.9391175508499146, 0.32749244570732117, -0.13319499790668488, 0.7969526648521423, -0.002851024502888322, 0.901969313621521, -0.4810471832752228, 0.705119252204895, 0.674342930316925, -0.32717397809028625, 0.49463826417922974, 0.6715826392173767, 0.032440125942230225, 0.24639970064163208, 0.924523651599884, 0.2857280671596527, 0.7182292342185974, 0.719831109046936, -0.2773040235042572, -0.3541223406791687, -0.635231614112854, -0.13062219321727753, 0.3992493152618408, 0.8461176156997681, -0.19512630999088287, -0.5065575242042542, 0.06868865340948105, 0.1283387690782547, 0.3303433954715729, -0.41830164194107056, 0.8084625005722046, 0.35313680768013, -0.2904423773288727, 0.22459916770458221, -0.11647640913724899, 0.7809553146362305, -0.2810239791870117, -0.1687965989112854, -0.31260165572166443, -0.0070509035140275955, 0.013940621167421341, -0.7532169818878174, 0.5643947720527649, 0.15615516901016235, -0.0035753461997956038, -0.5543603897094727, 0.9769654273986816, -0.30030396580696106, -0.6983991861343384, 0.275519460439682, 0.6522111892700195, 0.09450727701187134, -0.1616472601890564, -0.9768980145454407, 0.5021988153457642, -0.041840896010398865, -0.057539258152246475, -0.005733387544751167, 0.6552855968475342, -0.17603422701358795, 0.6475251317024231, 0.7016794085502625, -0.1295222043991089, -0.39643412828445435, 0.1475386619567871, 1.158177137374878, -0.8612196445465088, -0.48674362897872925, -1.1667708158493042, 0.3256193995475769, -0.2822275161743164, -0.1982460916042328, 0.7986037135124207, 0.5579670667648315, 0.3727577030658722, 0.32350364327430725, 0.9144109487533569, 0.34152647852897644, 0.2988506555557251, -0.3497112989425659, 0.6266458034515381, -0.7603342533111572, 0.7206660509109497, -0.5925838947296143, -0.8157914280891418, -0.06895964592695236, 0.4081668555736542, -0.5267600417137146, -0.1441188007593155, 0.3534863591194153, 0.6554362177848816, -0.05647091940045357, 0.287609726190567, -0.06641402095556259, -0.13626861572265625, 0.5975576639175415, 0.16728724539279938, 1.393815040588379, 0.3220628499984741, 0.30594098567962646, -0.10747943073511124, -0.2791747450828552, -0.4555636942386627, -1.0965632200241089, -1.1110976934432983, -0.7854657769203186, -0.5364698767662048, -0.5006483793258667, 0.2855280339717865, 0.858333170413971, 0.4038136601448059, -0.5829346776008606, -0.26634469628334045, 0.17045795917510986, 0.48342350125312805, 0.1974654346704483, -0.25892993807792664, 0.4294360280036926, -0.153733029961586, -0.5127068758010864, 0.16646508872509003, 0.5183437466621399, 0.06219176948070526, -0.4840942919254303, 0.3109382092952728, -0.12667860090732574, 0.5408706068992615, 0.5501684546470642, -0.13060030341148376, -0.6464405059814453, -0.2302963137626648, 0.1371682733297348, -0.15707628428936005, 0.09476029127836227, 1.4085054397583008, -0.32750266790390015, 0.015242558903992176, 0.450188010931015, 0.42897945642471313, 0.7639675736427307, 0.09303154796361923, 0.3683116137981415, -0.6343935132026672, -0.003234818112105131, 0.2641146183013916, 0.22519360482692719, 0.6385918259620667, -0.4957033395767212, 0.28976619243621826, 0.4510907530784607, -0.1396099328994751, -0.7773615121841431, 0.19782735407352448, -0.9085448980331421, -0.5526638031005859, 1.5206040143966675, 0.021477049216628075, -0.21065887808799744, -0.3801218867301941, -0.11672338843345642, 0.20158487558364868, -0.5313191413879395, 0.8434306979179382, 0.7731799483299255, 0.3057316243648529, -0.2637482285499573, -0.47911471128463745, -0.04727118834853172, -0.0017767782555893064, -0.7192829251289368, 0.014798689633607864, 0.37484800815582275, 0.26198312640190125, 0.2981874346733093, 0.8543938994407654, 0.165754035115242, -0.4189334809780121, -0.273502379655838, -0.4561540484428406, 0.6544559597969055, -0.3195739984512329, -0.15665984153747559, 0.18045388162136078, -0.5211042761802673, 0.22770678997039795 ]
http://arxiv.org/abs/2403.10704v1
http://arxiv.org/pdf/2403.10704v1
PERL: Parameter Efficient Reinforcement Learning from Human Feedback
2024-03-15T21:43:46
2024-03-15T21:43:46
Hakim Sidahmed, Samrat Phatale, Alex Hutcheson, Zhuonan Lin, Zhang Chen, Zac Yu, Jarvis Jin, Roman Komarytsia, Christiane Ahlheim, Yonghao Zhu, Simral Chaudhary, Bowen Li, Saravanan Ganesh, Bill Byrne, Jessica Hoffmann, Hassan Mansoor, Wei Li, Abhinav Rastogi, Lucas Dixon
cs.LG
cs.LG, cs.AI, cs.CL
Reinforcement Learning from Human Feedback (RLHF) has proven to be a strong method to align Pretrained Large Language Models (LLMs) with human preferences. But training models with RLHF is computationally expensive, and an overall complex process. In this work, we study RLHF where the underlying models are trained using the parameter efficient method of Low-Rank Adaptation (LoRA) introduced by Hu et al. [2021]. We investigate the setup of "Parameter Efficient Reinforcement Learning" (PERL), in which we perform reward model training and reinforcement learning using LoRA. We compare PERL to conventional fine-tuning (full-tuning) across various configurations for 7 benchmarks, including 2 novel datasets, of reward modeling and reinforcement learning. We find that PERL performs on par with the conventional RLHF setting, while training faster, and with less memory. This enables the high performance of RLHF, while reducing the computational burden that limits its adoption as an alignment technique for Large Language Models. We also release 2 novel thumbs up/down preference datasets: "Taskmaster Coffee", and "Taskmaster Ticketing" to promote research around RLHF.
[ -0.11059421300888062, -0.7100840210914612, 0.516733705997467, 0.14224928617477417, -0.07961773872375488, 0.028933413326740265, -0.4425458312034607, -0.20368540287017822, 0.006257941946387291, 0.6920443177223206, -0.6559373140335083, -0.5044257044792175, -0.44296184182167053, -0.15362723171710968, -0.051598358899354935, 0.9462811350822449, 0.02794748544692993, -0.0035562943667173386, 0.09045524150133133, -0.3805205225944519, -0.16198763251304626, -0.755865216255188, -0.8113332986831665, -0.6213281750679016, 1.145951509475708, 0.7334038019180298, 0.44244322180747986, 0.8560677170753479, 0.5400505661964417, 0.2120017111301422, 0.32572346925735474, 0.1911451667547226, -0.8378799557685852, 0.120235376060009, -0.15332606434822083, -0.2982715964317322, -0.3739658296108246, 0.01598791778087616, 0.6867891550064087, 0.535825788974762, -0.44640251994132996, 0.31490084528923035, -0.10550525784492493, 0.9377987384796143, -0.8519709706306458, 0.13613292574882507, -0.6268482804298401, 0.20258717238903046, -0.23766864836215973, -0.41652554273605347, -0.47114214301109314, -0.3216281235218048, -0.09083064645528793, -0.8606545925140381, -0.35517245531082153, 0.2113351970911026, 0.7754181027412415, 0.5980062484741211, -0.19634206593036652, 0.03853432089090347, -0.817908763885498, 0.8968227505683899, -0.8213095664978027, 0.3754088282585144, 0.4196570813655853, 0.32807862758636475, -0.23144488036632538, -0.4240018129348755, -0.38891294598579407, -0.3922562599182129, 0.12097520381212234, 0.061375316232442856, 0.18552231788635254, 0.18337382376194, 0.4392230808734894, 0.08735280483961105, -0.4549923539161682, 0.4964073896408081, 0.032701462507247925, 0.007261714898049831, 0.5384395122528076, 0.2560167610645294, -0.023678988218307495, -0.09244482219219208, -0.34815001487731934, -0.519147515296936, -0.8036587238311768, 0.27617591619491577, 0.55192631483078, 0.6118439435958862, -0.08786382526159286, 0.3334433436393738, -0.3519599139690399, 0.7051510810852051, 0.17313724756240845, -0.3022652566432953, 0.009189914911985397, 0.05262305587530136, -0.12827488780021667, -0.014038118533790112, 0.7576180696487427, 0.030745096504688263, 0.08883082121610641, -0.05229125916957855, -0.4128008484840393, 0.020272448658943176, 0.35148605704307556, -0.6516724824905396, -0.28265801072120667, 0.03711952641606331, -0.449419766664505, -0.30851030349731445, 0.0056586493737995625, -0.4861854016780853, -0.5235485434532166, -0.2900546193122864, 0.5866517424583435, -0.25169113278388977, -0.001606303034350276, 0.059711020439863205, 0.1345571130514145, 0.526340901851654, 0.5294758677482605, -1.1533130407333374, 0.4545096755027771, 0.7761306166648865, 0.3476712703704834, -0.476078599691391, -0.6352396607398987, -1.2594144344329834, 0.08541877567768097, -0.19741226732730865, 0.975520133972168, -0.5814639329910278, -0.15099966526031494, -0.08680539578199387, -0.12396469712257385, -0.1178143173456192, -0.800263524055481, 0.5071150064468384, -0.7010361552238464, -0.0493716225028038, -0.5064799189567566, -0.33194559812545776, 0.016722727566957474, 0.08296793699264526, -0.6634957790374756, 0.965184211730957, 0.2787284851074219, -0.6321117281913757, 0.3721294105052948, -0.9641572833061218, -0.4252924919128418, -0.12911957502365112, -0.0013933562440797687, -0.41937604546546936, -0.1023528128862381, 0.12983182072639465, 0.10731858015060425, -0.22797921299934387, -0.13182175159454346, -0.5077597498893738, -0.5942203402519226, 0.4077537953853607, -0.2742747962474823, 0.3003631830215454, 0.3769703507423401, -0.2660200297832489, 0.5988234281539917, -0.5543076395988464, -0.00243939645588398, 0.051438745111227036, -0.925157368183136, -0.1347350925207138, 0.1448032259941101, 0.1737992912530899, -0.0266469307243824, 0.31258538365364075, -0.3113473355770111, 0.35234931111335754, -0.2976232171058655, 0.47535842657089233, 0.9172199964523315, -0.12176889181137085, 0.3751126229763031, -0.14928916096687317, 0.5673414468765259, -0.11776269227266312, 0.3163376748561859, 0.3096539378166199, 0.16440828144550323, -0.7549349665641785, -0.11054053902626038, 0.622768223285675, 0.5697072744369507, -0.4407462477684021, 0.35548877716064453, 0.030125495046377182, -0.14173482358455658, -0.5808307528495789, 0.32710954546928406, 0.5631352663040161, 0.4560406804084778, 0.22348912060260773, -0.2172614336013794, -0.44110438227653503, -0.8572854399681091, -0.20821338891983032, -0.3367985486984253, 0.21557773649692535, 0.43379509449005127, 0.251025915145874, -0.04142434522509575, 0.65179842710495, -0.5475651025772095, -0.07582350075244904, -0.27818763256073, 0.1884259432554245, 0.10581939667463303, 0.3552981913089752, 0.1885075867176056, -0.5346886515617371, -0.4738861620426178, 0.006801072973757982, -0.511827826499939, -0.0173704382032156, 0.1771536022424698, -0.2722605764865875, 0.31261754035949707, 0.3082486391067505, -0.20764261484146118, 0.04445074871182442, 0.6102275252342224, -0.22728420794010162, 0.375886470079422, -0.5052415132522583, 0.1446220725774765, -0.49208706617355347, 0.16137419641017914, -0.1429683119058609, -0.49340564012527466, -0.3877648115158081, 0.09139584749937057, 0.03288916498422623, -0.18175382912158966, -0.44564536213874817, 0.5824097990989685, -0.1520431637763977, -0.2844043970108032, -0.3990634083747864, -0.014167851768434048, -0.4081164300441742, 0.9158022999763489, 0.06851900368928909, 0.8008595108985901, 0.2111244648694992, -0.6135182976722717, 0.3866150975227356, 0.1591685563325882, -0.13402871787548065, 0.44874459505081177, -0.48616477847099304, 0.34647732973098755, 0.2480444312095642, 0.17205294966697693, -0.6581131219863892, -0.36762166023254395, 0.4416661858558655, -0.1898038536310196, 0.03242143616080284, -0.06133356690406799, -0.41256362199783325, 0.035308174788951874, -0.40449947118759155, 0.29385995864868164, 0.6171878576278687, -0.7895705103874207, 0.29578524827957153, 0.47843658924102783, 0.041335612535476685, -0.6680880188941956, -0.2256164848804474, -0.19060705602169037, -0.39743107557296753, 0.024873873218894005, 0.18297410011291504, -0.11703462898731232, -0.14149953424930573, -0.12402069568634033, -0.0565783828496933, 0.15250281989574432, 0.2835075259208679, 0.13513615727424622, 0.05317694693803787, -0.10671042650938034, 0.15393240749835968, -0.1718854308128357, -0.38113272190093994, -0.1987292617559433, -0.40502986311912537, 0.5391301512718201, -0.2002873569726944, -0.48359251022338867, -0.45377662777900696, 0.15700063109397888, 0.401321142911911, -0.2758595049381256, 0.4708214998245239, 0.5823431015014648, -0.010426154360175133, -0.3901000916957855, -0.4146856367588043, -0.3330399692058563, -0.41090333461761475, 0.4558315873146057, -0.1735587865114212, -0.8716571927070618, 0.26997339725494385, -0.11020659655332565, 0.0764690712094307, 0.18863001465797424, 0.40644267201423645, -0.19491294026374817, 1.1153978109359741, 0.6732597351074219, -0.33993813395500183, 0.776499330997467, 0.04336951673030853, -0.02524196356534958, -0.6278248429298401, 0.16572712361812592, -0.48142558336257935, -0.5557112097740173, -0.5238999128341675, -0.29603856801986694, 0.4443352520465851, 0.19455501437187195, -0.6541025042533875, 0.12682150304317474, -0.25193989276885986, 0.41461271047592163, 0.7347922921180725, 0.18247775733470917, 0.445987343788147, 0.08522352576255798, 0.18015994131565094, 0.06816235184669495, -0.8740273714065552, -0.36494582891464233, 1.0712685585021973, 0.2649255394935608, 1.1133400201797485, 0.04939969629049301, 0.7908728718757629, 0.46995899081230164, 0.15744100511074066, -0.7341610193252563, 0.5227206349372864, -0.4361954629421234, 0.023099597543478012, -0.7830120921134949, -0.5013960003852844, -1.0352795124053955, 0.06310035288333893, -0.3310708999633789, -0.5965229868888855, -0.05403844639658928, 0.49833667278289795, -0.5907053351402283, 0.24189451336860657, -0.5556470155715942, 0.843518853187561, -0.5562447309494019, -0.3473549783229828, -0.5407456755638123, -0.6196107268333435, 0.2466486096382141, 0.07063183188438416, -0.01703655906021595, -0.11980003118515015, -0.14494702219963074, 1.0076274871826172, -0.48995813727378845, 0.6642203330993652, -0.45696821808815, -0.2417508363723755, -0.19967670738697052, -0.22115163505077362, 0.6952383518218994, 0.16442136466503143, -0.14712630212306976, -0.3286699056625366, 0.11576142907142639, -0.5677723288536072, -0.7757470011711121, 0.8143871426582336, -1.1515130996704102, -0.5212344527244568, -0.37264010310173035, -0.6225728392601013, -0.5218722820281982, -0.05412067472934723, -0.06015477702021599, 0.29281070828437805, -0.09785021841526031, -0.0815308690071106, 1.0091572999954224, -0.4137360751628876, 0.13065417110919952, 0.5487933158874512, -0.4577403962612152, -0.5029288530349731, 1.0701801776885986, -0.09217379987239838, 0.24915017187595367, 0.6785198450088501, 0.21271522343158722, -0.2430124580860138, -0.45237502455711365, -0.4797624945640564, 0.38402143120765686, -0.5526427626609802, -0.01317534875124693, -0.28832516074180603, -0.11899343132972717, -0.15282610058784485, 0.0298481248319149, -0.4791264235973358, -0.34449899196624756, -0.16923372447490692, 0.10664697736501694, 0.419822096824646, 0.8504835367202759, 0.019776970148086548, 0.2674759328365326, -0.5014901161193848, 0.3283252716064453, 0.5763283967971802, 0.5893252491950989, 0.11690270155668259, -0.4312105178833008, -0.41894394159317017, -0.16882602870464325, -0.05795195326209068, -0.5299126505851746, 0.09440859407186508, -0.0022091229911893606, 0.6030064821243286, 0.39565253257751465, 0.33246222138404846, 0.59479159116745, -0.21277950704097748, 0.5188788771629333, 0.12713582813739777, -0.7344817519187927, 0.3527117073535919, -0.4466397762298584, 0.3293388783931732, 0.7356316447257996, 0.09493996202945709, -0.5152931809425354, -0.0179474838078022, -0.39487192034721375, -0.7338132858276367, 0.9674304723739624, -0.4418944716453552, -0.1528179794549942, 0.35909026861190796, 0.49218136072158813, 0.26645785570144653, 0.07777605950832367, -0.6431168913841248, -0.13681946694850922, -0.12041633576154709, -0.13854831457138062, -0.30163124203681946, -0.10943389683961868, -0.23368510603904724, -0.30456340312957764, 0.7468730211257935, -0.36453527212142944, 0.267071932554245, -0.14717495441436768, -0.2766663730144501, -0.35024550557136536, 0.4279860258102417, 0.5835612416267395, 0.520764172077179, -0.36102572083473206, 0.13189160823822021, 0.37446123361587524, -0.05933096632361412, 0.28555217385292053, -0.07277213782072067, -0.048127930611371994, -0.6562989354133606, 0.27514731884002686, 1.1594343185424805, 0.5343245267868042, -0.8651538491249084, 0.18635140359401703, -0.14956408739089966, -0.36674007773399353, -0.16714870929718018, 0.4918608069419861, 0.2774476408958435, 0.3364884555339813, 0.18804965913295746, -0.353039026260376, -0.1955607682466507, -0.5523871183395386, -0.0601450577378273, 0.39613285660743713, -0.668161153793335, -0.1725853681564331, 0.43426570296287537, 0.18090906739234924, -0.4734130799770355, 0.6540252566337585, -0.14402763545513153, -0.33594101667404175, 0.18932214379310608, 0.41322365403175354, 0.6535748243331909, 0.10926618427038193, 0.3030620515346527, 0.21473439037799835, -0.2242177277803421, -0.2009800374507904, 0.2832658290863037, -0.27218911051750183, -0.4895467460155487, -0.43666988611221313, -0.8076282739639282, -0.7900563478469849, 0.24321486055850983, -0.5915339589118958, 0.012633738107979298, -0.6887233257293701, -0.06835628300905228, -0.17232424020767212, 0.3103291988372803, -0.26492905616760254, -0.19529302418231964, 0.11604314297437668, 0.7465437054634094, -0.7050194144248962, 1.1614573001861572, 0.9372992515563965, -0.4290010333061218, -1.0164061784744263, 0.19503918290138245, -0.2247765213251114, -0.5944734215736389, 0.8305703997612, -0.32860124111175537, -0.47474974393844604, 0.21928319334983826, -0.6206144690513611, -0.8558363318443298, 0.9739840626716614, 0.6335115432739258, -0.42729881405830383, -0.0011722469935193658, -0.07433909922838211, 0.4490220844745636, -0.34124326705932617, 0.02946191094815731, 0.6814740896224976, 0.7875277996063232, -0.11372189968824387, -0.7855497002601624, -0.019243458285927773, -0.08252563327550888, 0.03025483526289463, 0.20208598673343658, -0.803435206413269, 0.870981752872467, -0.12053085118532181, -0.003806800814345479, 0.1450342983007431, 0.6861180663108826, 0.46240270137786865, 0.025586294010281563, 0.7936212420463562, 0.5700979828834534, 0.8405912518501282, 0.140658438205719, 0.9375548362731934, -0.12772832810878754, 0.23471643030643463, 0.9517683982849121, -0.6525344848632812, 1.1800696849822998, 0.5198092460632324, -0.4183610677719116, 0.6426152586936951, 0.7240495681762695, 0.21810004115104675, 0.6013410091400146, 0.39319339394569397, -0.03743264451622963, -0.6445639729499817, 0.02276112698018551, -0.0854717269539833, 0.29072386026382446, -0.015591529197990894, 0.14686967432498932, -0.15671907365322113, -0.005153126548975706, -0.20013518631458282, 0.2307584136724472, -0.30397722125053406, 1.0411535501480103, -0.05346648767590523, -0.9779501557350159, 0.7600162029266357, 0.06530463695526123, 0.7858520150184631, -0.8708682656288147, -0.10410436987876892, -0.26572003960609436, 0.4629642069339752, -0.18168681859970093, -0.32375457882881165, -0.13610924780368805, -0.0482742041349411, -0.3186832368373871, -0.19093717634677887, 0.5624130964279175, -0.39205294847488403, -0.035340502858161926, 0.44736647605895996, 0.3971111476421356, 0.08216020464897156, 0.1816982924938202, -0.7741049528121948, 0.10156026482582092, -0.11584953963756561, -0.2723870277404785, 0.9905337691307068, -0.018739886581897736, -0.16080887615680695, 0.6479161381721497, 0.7254931330680847, 0.2862972021102905, -0.22827865183353424, 0.15386837720870972, 0.6745960116386414, -0.8517343401908875, -0.5462222695350647, -0.5356552004814148, -0.027357403188943863, 0.10513720661401749, -0.21202489733695984, 0.5423567295074463, 0.29955434799194336, 0.7248089909553528, -0.1417512595653534, 0.7363871335983276, 0.305828720331192, 0.6276254653930664, -0.7701393961906433, 0.5777887105941772, -0.6113549470901489, 0.4072258174419403, -0.10881523787975311, -0.7614961862564087, -0.16485092043876648, 0.465885728597641, -0.5048609972000122, 0.04180406033992767, 0.6704673767089844, 0.9206240177154541, -0.14968517422676086, -0.20907045900821686, 0.2996380627155304, 0.027550023049116135, 0.07904026657342911, 0.6765264868736267, 0.9568995237350464, 0.046598952263593674, 0.4497517943382263, -0.08640779554843903, -0.15801775455474854, -0.4968843162059784, -0.8304047584533691, -0.5201629996299744, -0.48587408661842346, -0.1945013850927353, -0.23862271010875702, 0.4605439007282257, 1.3569426536560059, 0.912253201007843, -0.9464451670646667, -0.7378408312797546, 0.13709387183189392, 0.26492220163345337, -0.6013637781143188, -0.14879952371120453, 0.5065621733665466, -0.5245035886764526, -0.5462468862533569, 0.444703072309494, 0.3931581676006317, -0.4360062777996063, -0.5058596730232239, -0.7496398091316223, -0.3030831217765808, 0.052374545484781265, 0.4506247639656067, 0.7412734031677246, -0.6988746523857117, -0.40869492292404175, -0.1316884160041809, -0.27752700448036194, 0.21433492004871368, 0.9988718032836914, -0.76774001121521, -0.07526566833257675, 0.46349698305130005, 0.7334538102149963, 0.6275264024734497, 0.26687121391296387, 0.5578770637512207, -0.39033713936805725, -0.1720954179763794, -0.05984732136130333, 0.007013283669948578, 0.2684325575828552, -0.22103720903396606, 0.3457253873348236, 0.07846391946077347, -0.7098343372344971, -0.8726538419723511, 0.3566298186779022, -1.094088077545166, -0.2806054949760437, 1.1268972158432007, -0.061822254210710526, -0.3847070634365082, 0.017444832250475883, -0.2606295049190521, 0.1656060367822647, -0.6563329100608826, 0.8190320730209351, 0.3083035945892334, -0.5363808274269104, -0.26207390427589417, -0.37880653142929077, 0.6865069270133972, 0.5677050948143005, -0.9739531874656677, 0.3948938846588135, 0.3176060914993286, 0.3222093880176544, -0.2926886975765228, 0.8094253540039062, 0.0874868631362915, 0.3753953278064728, -0.34092003107070923, 0.08470665663480759, -0.17320361733436584, -0.22538185119628906, -0.5745701789855957, 0.26067236065864563, 0.9373859763145447, 0.09085406363010406 ]
http://arxiv.org/abs/2403.10700v1
http://arxiv.org/pdf/2403.10700v1
Mind the Error! Detection and Localization of Instruction Errors in Vision-and-Language Navigation
2024-03-15T21:36:15
2024-03-15T21:36:15
Francesco Taioli, Stefano Rosa, Alberto Castellini, Lorenzo Natale, Alessio Del Bue, Alessandro Farinelli, Marco Cristani, Yiming Wang
cs.RO
cs.RO, cs.AI, cs.CL
Vision-and-Language Navigation in Continuous Environments (VLN-CE) is one of the most intuitive yet challenging embodied AI tasks. Agents are tasked to navigate towards a target goal by executing a set of low-level actions, following a series of natural language instructions. All VLN-CE methods in the literature assume that language instructions are exact. However, in practice, instructions given by humans can contain errors when describing a spatial environment due to inaccurate memory or confusion. Current VLN-CE benchmarks do not address this scenario, making the state-of-the-art methods in VLN-CE fragile in the presence of erroneous instructions from human users. For the first time, we propose a novel benchmark dataset that introduces various types of instruction errors considering potential human causes. This benchmark provides valuable insight into the robustness of VLN systems in continuous environments. We observe a noticeable performance drop (up to -25%) in Success Rate when evaluating the state-of-the-art VLN-CE methods on our benchmark. Moreover, we formally define the task of Instruction Error Detection and Localization, and establish an evaluation protocol on top of our benchmark dataset. We also propose an effective method, based on a cross-modal transformer architecture, that achieves the best performance in error detection and localization, compared to baselines. Surprisingly, our proposed method has revealed errors in the validation set of the two commonly used datasets for VLN-CE, i.e., R2R-CE and RxR-CE, demonstrating the utility of our technique in other tasks. Code and dataset will be made available upon acceptance at https://intelligolabs.github.io/R2RIE-CE
[ -0.13636814057826996, -0.7097619771957397, 0.681005597114563, 0.018132340162992477, 0.021872078999876976, -0.11586234718561172, -0.29353299736976624, -0.34746164083480835, -0.24381844699382782, 0.32322949171066284, -0.5734490156173706, -0.8234100937843323, -0.3629205822944641, -0.2643602192401886, -0.2644466161727905, 0.4532946050167084, -0.24835823476314545, 0.36172881722450256, -0.52250736951828, -0.48452118039131165, -0.8197951316833496, -0.38932669162750244, -0.3960656225681305, -0.07563997060060501, 0.339547723531723, 0.5579453706741333, 0.45804670453071594, 0.5902642607688904, 0.44330087304115295, 0.2571924328804016, 0.3028290271759033, 0.4763484001159668, -0.267348974943161, -0.11084036529064178, -0.15064409375190735, -0.5935238599777222, -0.28290924429893494, -0.6043609380722046, 0.5890581607818604, 0.534589946269989, -0.15823417901992798, -0.019872009754180908, 0.028089938685297966, 0.7831991910934448, -0.8952034115791321, 0.3201654553413391, -0.13743256032466888, 0.22346624732017517, -0.1757604479789734, -0.0041495724581182, -0.6940953135490417, -0.2986617386341095, 0.1152447983622551, -0.6996385455131531, 0.2717841863632202, 0.16195383667945862, 0.6584598422050476, 0.7288245558738708, -0.11808124929666519, -0.06820005923509598, -0.8972359895706177, 0.8108330368995667, -0.4154285788536072, 0.7012463212013245, 0.11516296863555908, 0.5193418264389038, -0.09595444053411484, -0.5163644552230835, -0.6799845099449158, -0.017152711749076843, -0.20810440182685852, 0.41329294443130493, -0.3402499258518219, -0.006929392460733652, 0.3095008432865143, -0.2296871691942215, -0.7497137188911438, 0.119686059653759, -0.21623273193836212, -0.1723705679178238, 0.1941017508506775, 0.16284118592739105, 0.46955135464668274, 0.10905378311872482, -0.31869786977767944, -0.6209831833839417, -0.6006849408149719, 0.16715821623802185, -0.15271171927452087, 0.0554087832570076, -0.449385404586792, 0.33054959774017334, -0.3494398891925812, 0.8591145873069763, -0.30054351687431335, 0.1094028502702713, 0.38512182235717773, -0.3317253589630127, -0.15463249385356903, 0.14659158885478973, 0.5240166783332825, 0.5101137757301331, 0.24694757163524628, -0.16293969750404358, -0.11855348944664001, 0.2552834153175354, 0.45662274956703186, -0.23612459003925323, -0.3178729712963104, 0.04763350635766983, -0.15062323212623596, 0.08894088864326477, 0.0802965760231018, -0.8062400221824646, -0.34743383526802063, -0.22123371064662933, 0.33347374200820923, -0.2286321222782135, -0.04913882538676262, 0.06168033182621002, 0.18297803401947021, 0.6209095120429993, 0.4392794966697693, -0.5473524928092957, 0.2918797731399536, 0.6087201833724976, 0.48465436697006226, -0.1746096909046173, -0.4173383116722107, -0.568985641002655, -0.09820112586021423, -0.3404363989830017, 0.8513277769088745, -0.3270508348941803, -0.5725491642951965, 0.013224154710769653, 0.11822155117988586, -0.2891804575920105, -0.6591932773590088, 0.6038389801979065, -0.24639904499053955, 0.052741821855306625, -0.5773681998252869, -0.22336146235466003, -0.25430402159690857, 0.24681365489959717, -0.6241804361343384, 0.9487325549125671, 0.12574402987957, -0.3930950462818146, 0.2832271158695221, -0.6932163834571838, -0.2853059768676758, 0.011526348069310188, -0.4527786374092102, -0.4977661967277527, 0.06444986164569855, 0.3308744430541992, -0.0104580232873559, -0.11152008175849915, -0.11545495688915253, 0.17951714992523193, -0.6518226265907288, 0.12012259662151337, -0.6288265585899353, 0.6735262274742126, -0.2993127703666687, -0.95731520652771, 0.07718144357204437, -0.7166702151298523, 0.21721939742565155, 0.1247325912117958, -0.15081632137298584, -0.34161677956581116, 0.4120090901851654, -0.1337319165468216, -0.04883332550525665, 0.26339641213417053, -0.5151358246803284, 0.06188356131315231, -0.17069011926651, -0.14597594738006592, 0.5438961386680603, -0.1717604249715805, 0.4417349696159363, -0.07543525099754333, 0.3495469391345978, 0.21736198663711548, 0.4803003966808319, -0.20395517349243164, -0.5765306949615479, -1.1121469736099243, 0.20594735443592072, -0.04323011636734009, 1.0405632257461548, -0.8572454452514648, 0.29538264870643616, -0.38138073682785034, -0.43750491738319397, -0.4194906949996948, -0.05574214830994606, 0.9375041127204895, 0.7282626032829285, 0.6553491950035095, -0.14843428134918213, -0.5475561618804932, -0.6384875774383545, -0.08439493179321289, -0.3005022704601288, 0.01097437646239996, 0.3631064295768738, 0.16206605732440948, -0.5065115690231323, 0.8581411242485046, -0.24626952409744263, -0.14901351928710938, 0.229572132229805, 0.026064790785312653, -0.14990301430225372, 0.61814284324646, 0.28011780977249146, -0.8980661630630493, -0.1886022388935089, 0.3252260386943817, -1.0471267700195312, 0.027508510276675224, -0.21310840547084808, -0.12549111247062683, 0.4148409068584442, 0.4973030090332031, -0.2319551408290863, 0.8387852311134338, 0.46281203627586365, -0.21412678062915802, 0.4123135209083557, -0.5277721285820007, 0.37861937284469604, -0.5848438143730164, -0.18002338707447052, 0.18489129841327667, -0.10365983098745346, -0.36851513385772705, 0.18177001178264618, 0.32808899879455566, 0.213189497590065, -0.5702340602874756, 0.28144189715385437, -0.4838366210460663, -0.22660015523433685, 0.05344247817993164, 0.23437844216823578, -0.005636682268232107, 0.7479875683784485, 0.11107176542282104, 0.7631255984306335, 0.5073257684707642, -0.4211554527282715, 0.5200789570808411, 0.13165690004825592, -0.14421795308589935, 0.7558197975158691, -0.5295159816741943, 0.25483816862106323, -0.22929580509662628, 0.150915265083313, -0.9083247780799866, -0.2156403809785843, 0.5367674231529236, -0.46033793687820435, 0.29649150371551514, -0.021033164113759995, -0.23770244419574738, -0.393046498298645, 0.06274088472127914, 0.4609009623527527, 0.6675605177879333, -0.704180121421814, 0.6712941527366638, 0.08733455836772919, 0.4815419316291809, -0.7612470984458923, -0.8397283554077148, -0.024438751861453056, 0.162836492061615, -0.522754430770874, 0.06213528662919998, -0.1403040736913681, -0.23189550638198853, 0.09638498723506927, -0.34940460324287415, -0.04283125326037407, -0.00907508097589016, 0.5883472561836243, 0.5297218561172485, -0.24178797006607056, -0.17202408611774445, -0.15679408609867096, -0.33914533257484436, 0.19994932413101196, -0.3100023865699768, 0.07610992342233658, -0.5538917183876038, -0.8507837653160095, -0.6259931325912476, 0.07575027644634247, 0.6413894295692444, -0.07518695294857025, 0.5308253169059753, 0.49801936745643616, -0.49134084582328796, -0.2573106586933136, -0.5887529850006104, -0.0026770257391035557, -0.4510210454463959, 0.4711167514324188, -0.09350240975618362, -0.3578634262084961, 0.35620492696762085, -0.06119043007493019, 0.06644194573163986, 0.0900278091430664, 0.17601996660232544, -0.3453483581542969, 0.8170043230056763, 0.6353209018707275, -0.037627242505550385, 0.23791749775409698, -0.27790307998657227, 0.30370092391967773, -0.7088718414306641, -0.4421141743659973, -0.6041923761367798, -0.42986926436424255, -0.41328752040863037, -0.7674899697303772, 0.6672194600105286, -0.19705457985401154, -0.14465558528900146, 0.3523428738117218, -0.6279950737953186, 0.5978350043296814, 0.632856547832489, 0.27754202485084534, -0.013378455303609371, -0.025957195088267326, -0.1614527553319931, -0.3296172320842743, -0.7998232245445251, -0.2858467698097229, 0.8998117446899414, 0.040506619960069656, 0.6196289658546448, -0.11385922133922577, 0.7232692837715149, 0.5060214996337891, 0.1839202493429184, -0.7178766131401062, 0.6359821557998657, -0.05417180061340332, -0.13955232501029968, -0.42746269702911377, -0.29570600390434265, -0.6905704736709595, 0.025042863562703133, 0.03859370946884155, -0.8369505405426025, 0.3889983594417572, 0.28854987025260925, -0.33038604259490967, 0.41525593400001526, -0.8144465684890747, 1.2506622076034546, -0.4337344169616699, -0.44822046160697937, -0.0796428695321083, -0.8479827642440796, 0.08192294090986252, 0.09192261099815369, 0.2613379955291748, 0.30362677574157715, -0.10370039194822311, 0.43962550163269043, -0.22287660837173462, 0.7294824123382568, -0.49501004815101624, 0.038150906562805176, 0.3203265070915222, -0.02340131253004074, 0.7652472853660583, -0.24597811698913574, 0.10480880737304688, 0.2896364629268646, -0.3595545291900635, -0.473578542470932, -0.6441072821617126, 0.6869266629219055, -0.7315838932991028, -0.29677289724349976, -0.3514830768108368, -0.10236182063817978, -0.1817615032196045, 0.0840998962521553, 0.39071911573410034, 0.6949515342712402, -0.17358742654323578, 0.20252907276153564, 1.0534870624542236, -0.3497687876224518, 0.3305759131908417, 0.5557270050048828, 0.21445946395397186, -0.04200160503387451, 1.2466845512390137, 0.043788760900497437, 0.04812886565923691, 0.5181000828742981, -0.1706463098526001, -0.09923623502254486, -0.6188791394233704, -0.7788833379745483, -0.06910829246044159, -0.8228354454040527, -0.03651963174343109, -0.36146411299705505, -0.13952115178108215, 0.04072412848472595, -0.3847508430480957, -0.7521229386329651, 0.2885855436325073, -0.19422167539596558, 0.11165652424097061, -0.18133893609046936, 0.5443980693817139, 0.02471022680401802, 0.25065383315086365, -0.9054152965545654, 0.10880003124475479, 0.2875818908214569, 0.09364808350801468, -0.15245135128498077, -0.10098260641098022, -0.4780106842517853, 0.26113900542259216, 0.045037370175123215, -0.6393620371818542, 0.0458223894238472, -0.15953297913074493, 0.6593320965766907, 0.0731457769870758, 0.06574206799268723, 0.5615537166595459, -0.43400126695632935, 0.8266836404800415, 0.02109047956764698, -0.8020139932632446, 0.736228883266449, -0.02195894718170166, 0.6044254302978516, 0.6253809332847595, 0.09526596963405609, -0.619447648525238, -0.25282302498817444, -0.39940202236175537, -0.9514172673225403, 0.6165848970413208, 0.049806006252765656, -0.24284812808036804, -0.03329070657491684, 0.15952302515506744, -0.3021444082260132, -0.2922230660915375, -0.5281686186790466, -0.4359511733055115, 0.05838661268353462, -0.2792375385761261, 0.23203521966934204, -0.040877919644117355, -0.10106318444013596, 0.003420168301090598, 0.6290091872215271, -0.25808000564575195, 0.3344103991985321, 0.518134593963623, -0.37286487221717834, -0.3826381266117096, 0.05521334335207939, 0.8496787548065186, 0.8862488865852356, -0.040758389979600906, -0.1664835512638092, 0.5179342031478882, -0.5503520369529724, 0.1259269416332245, -0.14024440944194794, -0.4004741609096527, 0.16727302968502045, 0.35668444633483887, 0.7104271054267883, 0.7047467827796936, -0.9260516166687012, 0.6282788515090942, -0.4009975790977478, 0.22467859089374542, -0.6372025012969971, 0.29316407442092896, -0.15994921326637268, 0.41985857486724854, 0.36162883043289185, 0.555027186870575, 0.08218665421009064, -0.15542198717594147, 0.25674957036972046, 0.05639847740530968, -0.6459962725639343, -0.23936957120895386, 0.7164978981018066, 0.26860511302948, -0.42502766847610474, 0.7542659640312195, -0.2469380795955658, -0.42503154277801514, 0.8322819471359253, 0.1188427209854126, 0.9812838435173035, -0.020398559048771858, 0.11763493716716766, 0.4676382839679718, 0.4545658528804779, -0.07019299268722534, 0.018101826310157776, -0.294295072555542, -0.8256776332855225, -0.2622315585613251, -0.30372893810272217, -0.6735392212867737, -0.41318652033805847, -0.826698362827301, 0.07607696205377579, -0.46052753925323486, 0.0915854200720787, -0.43188464641571045, -0.3727583587169647, -0.8628242015838623, 0.36902767419815063, 0.5613625049591064, 0.7242520451545715, -0.5978376269340515, 0.8215305209159851, 0.7745121717453003, 0.02124461904168129, -0.5915105938911438, 0.15040457248687744, 0.3305104374885559, -0.7886961102485657, 0.4706134796142578, 0.15339623391628265, -0.4558646082878113, -0.18972794711589813, -0.34585970640182495, -0.5895180702209473, 1.2954587936401367, -0.06025960296392441, -0.9576991200447083, -0.1180044561624527, 0.06079572066664696, 0.3844790458679199, -0.1563861072063446, 0.09810921549797058, 0.71430903673172, 0.6081559062004089, -0.11812172085046768, -0.7725329399108887, -0.08565826714038849, -0.16785594820976257, 0.05783507972955704, 0.1891559213399887, -0.7111437320709229, 0.38728880882263184, -0.33113861083984375, -0.24810561537742615, 0.06066848337650299, 0.6600589752197266, 0.13980254530906677, 0.5713878870010376, 0.5156804919242859, 0.7176138162612915, 0.8218022584915161, -0.5306310057640076, 1.0404404401779175, -0.17588818073272705, 0.1303136944770813, 1.2814725637435913, -0.16697296500205994, 0.8415911197662354, 0.2751617729663849, -0.13658572733402252, 0.5884729027748108, 0.2385062873363495, 0.09704635292291641, 0.3970283269882202, 0.025818927213549614, -0.39074286818504333, -0.10860981047153473, 0.26322582364082336, -0.34849125146865845, 0.3998638093471527, 0.45293909311294556, -0.060989152640104294, -0.22278617322444916, 0.1906535029411316, -0.042613185942173004, 0.25048285722732544, -0.21211031079292297, 0.6616256833076477, -0.3537841737270355, -0.7262880206108093, 0.5618352890014648, -0.15371590852737427, 0.6381968259811401, -0.49648964405059814, -0.2118399441242218, -0.42481958866119385, 0.3874857425689697, -0.0843179002404213, -0.570729672908783, 0.24292658269405365, 0.028395410627126694, -0.09647099673748016, -0.006698837503790855, 0.6494964957237244, -0.11605838686227798, -0.2704894542694092, 0.3624918460845947, 0.39039769768714905, 0.06838010996580124, 0.23422807455062866, -0.6106767058372498, 0.5356980562210083, 0.21466784179210663, -0.07413506507873535, 0.0862201377749443, 0.29703909158706665, -0.17518357932567596, 0.6898001432418823, 0.29971855878829956, -0.2238442599773407, 0.2673480808734894, -0.010957807302474976, 0.5910406112670898, -0.6331647634506226, -0.18173748254776, -0.5681701898574829, 0.8359503149986267, -0.13174134492874146, -0.3235093057155609, 0.7655452489852905, 0.4447343349456787, 1.2240523099899292, -0.11458486318588257, 0.6433178186416626, 0.04628124460577965, 0.081069715321064, -0.4230349063873291, 0.5025262236595154, -0.3933657109737396, 0.3671453595161438, -0.10531718283891678, -0.8595150113105774, -0.26625847816467285, 0.5174790620803833, -0.3577291965484619, -0.08145185559988022, 0.7286208271980286, 1.0621757507324219, -0.019435079768300056, -0.06066446751356125, 0.47328442335128784, 0.10566602647304535, 0.19264467060565948, 0.8841816782951355, 0.5402770042419434, -0.7168151140213013, 0.5371666550636292, -0.3560427129268646, -0.35481634736061096, -0.3280298113822937, -0.5314342975616455, -0.37376394867897034, -0.5139003992080688, -0.6678346991539001, -0.4436510503292084, 0.4912957549095154, 0.6446983218193054, 0.8043025135993958, -0.8715007305145264, -0.13696330785751343, -0.3640269935131073, 0.2821527123451233, -0.5106828212738037, -0.19869142770767212, 0.15177413821220398, -0.3593354821205139, -0.7473466992378235, 0.7518651485443115, 0.3906650245189667, -0.06045945733785629, -0.3712674677371979, -0.4566781222820282, 0.13864532113075256, -0.19090650975704193, 0.3435441553592682, 0.6762000918388367, -0.7673746347427368, -0.5504192113876343, -0.009643160738050938, -0.24083133041858673, 0.12564986944198608, 0.5684956908226013, -0.8782975673675537, 1.0163556337356567, 0.2707846760749817, 0.8545786142349243, 0.25131887197494507, -0.31199660897254944, 0.44325926899909973, -0.752862811088562, 0.1509004384279251, 0.11612500250339508, 0.45740175247192383, 0.41764456033706665, -0.3860306441783905, 0.6553232669830322, 0.44977378845214844, -0.5493206977844238, -0.6346635222434998, -0.04048366844654083, -1.224385380744934, 0.04396620765328407, 0.747186541557312, -0.2994063198566437, -0.9059944152832031, 0.008847328834235668, -0.3442980945110321, 0.20664791762828827, -0.08700362592935562, 0.6333580613136292, 0.5038098096847534, 0.02557806484401226, -0.20600298047065735, -0.7484765648841858, 0.31596437096595764, 0.43335166573524475, -0.817367434501648, 0.0027830693870782852, 0.8565458059310913, 0.09362933784723282, 0.3905116617679596, 0.18075956404209137, -0.06464418023824692, 0.9067859053611755, 0.2966412901878357, 0.19570882618427277, 0.0044403173960745335, -0.5205335021018982, -0.2329014390707016, -0.02592655085027218, -0.21979214251041412, -0.6956852078437805 ]
http://arxiv.org/abs/2403.10699v1
http://arxiv.org/pdf/2403.10699v1
A Multilingual Perspective on Probing Gender Bias
2024-03-15T21:35:21
2024-03-15T21:35:21
Karolina Stańczak
cs.CL
cs.CL
Gender bias represents a form of systematic negative treatment that targets individuals based on their gender. This discrimination can range from subtle sexist remarks and gendered stereotypes to outright hate speech. Prior research has revealed that ignoring online abuse not only affects the individuals targeted but also has broader societal implications. These consequences extend to the discouragement of women's engagement and visibility within public spheres, thereby reinforcing gender inequality. This thesis investigates the nuances of how gender bias is expressed through language and within language technologies. Significantly, this thesis expands research on gender bias to multilingual contexts, emphasising the importance of a multilingual and multicultural perspective in understanding societal biases. In this thesis, I adopt an interdisciplinary approach, bridging natural language processing with other disciplines such as political science and history, to probe gender bias in natural language and language models.
[ -0.5660539865493774, -0.937370240688324, 0.27468711137771606, 0.26881200075149536, 0.34185129404067993, 0.28198209404945374, -0.0825621709227562, -0.49738600850105286, 0.17274238169193268, 0.41513440012931824, -0.9203961491584778, -0.050041716545820236, -0.7521377205848694, 0.2676214575767517, -0.17276549339294434, 0.7005677223205566, 0.15898512303829193, 0.7251585125923157, -0.028407249599695206, -0.2890932559967041, -0.6874676942825317, -0.6462386846542358, -0.2744154632091522, -0.6241400241851807, 0.26542598009109497, 0.38582685589790344, 0.46611249446868896, 0.11047346144914627, 0.2361850142478943, 0.2847926914691925, -0.2630593776702881, -0.023446695879101753, -0.6935964226722717, 0.1982565075159073, -0.3821142911911011, -0.5770571231842041, -0.04333362355828285, 0.1609429568052292, 0.5775704383850098, 0.7431545853614807, 0.015906641259789467, 0.4486970603466034, 0.13582192361354828, 0.7718777656555176, -0.7101953625679016, 0.059046074748039246, -0.41570931673049927, 0.13169743120670319, -0.2769632935523987, -0.042893119156360626, -0.18300098180770874, -0.4173077940940857, 0.22421176731586456, -0.38622555136680603, 0.4375547468662262, -0.11557438969612122, 0.6020283699035645, -0.13112032413482666, -0.966765284538269, -0.28580281138420105, -0.6088948249816895, 1.0794845819473267, -0.3122067153453827, 0.6623087525367737, 0.5693114399909973, 0.2377806454896927, 0.1826970875263214, -0.10927244275808334, -0.37965819239616394, 0.022881314158439636, -0.15824739634990692, -0.1326805204153061, -0.17391173541545868, -0.308912992477417, 0.3143400251865387, 0.12613016366958618, -0.2050001472234726, -0.067957304418087, -0.42144322395324707, -0.29331082105636597, 0.3684527277946472, -0.056399617344141006, 0.654679000377655, -0.23264338076114655, -0.15659387409687042, 0.14438104629516602, -0.5518549680709839, -0.008761604316532612, 1.172908902168274, 0.5205919742584229, -0.16092956066131592, 0.4370749294757843, -0.013365690596401691, 0.4743647277355194, -0.08182846754789352, 0.0250313151627779, 0.17271877825260162, -0.40726178884506226, 0.09869332611560822, 0.26093077659606934, 0.2931429445743561, 0.4772062599658966, 0.3828828036785126, 0.166687473654747, 0.28792908787727356, 0.40259045362472534, 0.466289758682251, -0.4832542836666107, 0.4307776987552643, 0.029976511374115944, -0.5500438213348389, -0.23610295355319977, -0.12044765055179596, -1.370717167854309, -0.6653818488121033, -0.34535205364227295, 0.15303005278110504, -0.13293485343456268, -0.6476537585258484, 0.0427587628364563, -0.44347742199897766, 0.09622307866811752, 0.17371191084384918, -1.004906415939331, 0.2966918349266052, 0.5339052677154541, 0.6775758862495422, 0.18527495861053467, -0.2505355477333069, -0.2824896275997162, 0.0700262114405632, -0.1532997190952301, 0.5076157450675964, -0.5957581400871277, -0.24739697575569153, 0.30044519901275635, 0.024351276457309723, 0.04182756319642067, -0.3702157735824585, 0.5629146099090576, -0.27111318707466125, 0.4929886758327484, -0.5875144004821777, -0.1394033432006836, -0.274148553609848, 0.5133273601531982, -0.6483578085899353, 1.0186539888381958, -0.21406318247318268, -1.153139352798462, 0.564520537853241, -1.188104510307312, -0.37436676025390625, -0.3991851806640625, -0.17484791576862335, -0.2741183340549469, -0.07946235686540604, 0.3599202036857605, 0.024561138823628426, -0.340932160615921, 0.516755223274231, -0.25200575590133667, -0.002217539120465517, 0.05594959482550621, -0.42973586916923523, 1.0013890266418457, -0.0074899629689753056, -0.5013932585716248, 0.04649744927883148, -0.4934538006782532, -0.46493837237358093, 0.20632928609848022, -0.2308783233165741, -0.8350006937980652, 0.08102244883775711, 0.3074016869068146, 0.2271614968776703, 0.03240714222192764, -0.9244706034660339, -0.029188670217990875, -0.43542543053627014, 0.46412867307662964, 0.6245484948158264, -0.36722448468208313, 0.6895797848701477, -0.2297392040491104, 0.4279136657714844, -0.006544789299368858, 0.1991756558418274, -0.11970953643321991, -0.46528494358062744, -0.38209059834480286, 0.1631595641374588, 0.14368556439876556, 0.49807873368263245, -0.8863968253135681, -0.3217455744743347, -0.16947275400161743, -0.174708753824234, -0.8195377588272095, 0.09967133402824402, 0.3841930329799652, 0.3848556578159332, 0.2837456166744232, -0.07733135670423508, -0.719774603843689, -1.3183506727218628, -0.9825447797775269, -0.1599726676940918, 0.2347327023744583, 0.29146912693977356, 0.6602341532707214, -0.15943631529808044, 0.9946253299713135, -0.30918076634407043, -0.47112688422203064, -0.326742947101593, 0.5168350338935852, -0.08136558532714844, 0.3592379689216614, 0.575856626033783, -1.0013309717178345, -0.21254761517047882, -0.03326636552810669, -0.7077698111534119, -0.4384664297103882, 0.1530144065618515, -0.21718861162662506, 0.025242475792765617, 0.20996367931365967, -0.12888099253177643, 0.33121177554130554, 0.7178712487220764, -0.6839816570281982, 0.41581931710243225, 0.23313675820827484, 0.5232231020927429, -0.9159943461418152, -0.03626423701643944, 0.33729857206344604, -0.1844901442527771, -0.9815671443939209, 0.19425490498542786, -0.007888627238571644, 0.06074493005871773, -0.8122842907905579, 0.6625626683235168, -0.719139575958252, 0.07673681527376175, -0.11547838896512985, -0.2015935182571411, -0.0007385152857750654, -0.1551923155784607, 0.028842680156230927, 0.6885398030281067, 0.3135415315628052, -0.43290194869041443, -0.14348626136779785, 0.17778433859348297, -0.07884220033884048, 0.9368890523910522, -0.22453415393829346, 0.03176109865307808, -0.6508514285087585, 0.03631741926074028, -0.7945206165313721, -0.11487140506505966, 0.24248632788658142, -0.5914847254753113, 0.11094886809587479, -0.26286444067955017, -0.39635035395622253, -0.2752506732940674, -0.6334452629089355, 0.6343478560447693, -0.21555395424365997, -0.2762119472026825, 0.5540810227394104, 0.9308663606643677, -0.09805233031511307, -0.8424558639526367, -0.9959679245948792, 0.13260811567306519, -0.31889036297798157, -0.49179908633232117, 0.07364451140165329, 0.0047858706675469875, -0.8719884753227234, -0.5601232647895813, 0.2961445450782776, -0.25905534625053406, 0.0506233274936676, 0.12069743126630783, 0.06371556967496872, -0.0993613675236702, 0.04507633298635483, 0.23160406947135925, 0.1288977861404419, 0.17180541157722473, 0.05821571126580238, 0.8044757843017578, -0.0165963526815176, -0.3420245945453644, -0.15502388775348663, 1.0058462619781494, 0.5927438139915466, 0.0009050916414707899, 0.9186118841171265, 0.718210756778717, -0.6035610437393188, 0.25952738523483276, -0.8461592793464661, -0.38570907711982727, -0.37756696343421936, 0.061718668788671494, -0.207661971449852, -1.0417145490646362, 0.539075493812561, 0.20108991861343384, -0.017742665484547615, 0.292266309261322, 0.5308955907821655, 0.21879325807094574, 0.9231507182121277, 0.8303717374801636, -0.19119973480701447, 0.2422715723514557, 0.022269345819950104, 0.18760639429092407, -0.7571334838867188, -0.14197637140750885, -0.7813250422477722, -0.17312732338905334, -0.6430945992469788, -0.19390881061553955, 0.05951964110136032, -0.3363887369632721, -0.22426444292068481, -0.01770203933119774, -0.47748976945877075, 0.2611115574836731, 0.5518699288368225, -0.009444745257496834, 0.3187125027179718, 0.036863863468170166, -0.09785100072622299, -0.6638261079788208, -0.4533190131187439, -0.7259831428527832, 0.849745512008667, 0.5284405946731567, 0.5483279824256897, 0.4277605414390564, 0.09527193754911423, 0.4943244159221649, 0.3265518546104431, -0.3407583236694336, 0.08763889223337173, 0.2789865732192993, -1.4538131952285767, -0.18819358944892883, -0.31513863801956177, -1.0559920072555542, 0.6880431175231934, -0.05317585915327072, -0.9057011604309082, 0.44050925970077515, 0.056953057646751404, 0.17489315569400787, 0.5865570902824402, -0.6541891694068909, 0.701297402381897, -0.02326425164937973, -0.571405291557312, -0.225505068898201, -0.5835689306259155, 0.750905454158783, 0.12886230647563934, 0.9055585861206055, -0.27391335368156433, 0.16551116108894348, 0.5896371006965637, 0.02884230762720108, 1.105638861656189, -0.11669640988111496, -0.35970932245254517, -0.1954524666070938, 0.2507692575454712, -0.27404117584228516, 0.04743817076086998, -0.2196769267320633, 0.6834731698036194, -0.026951158419251442, -0.46277597546577454, 0.24176396429538727, 0.6518161296844482, -0.7383409142494202, -0.42034921050071716, -0.5937662124633789, -0.6482588052749634, -0.07484634965658188, 0.2970948815345764, 0.0290168896317482, 0.3656369745731354, -0.443591833114624, -0.318010538816452, 0.6353209614753723, -0.6771068572998047, 0.2949758768081665, 0.4522853493690491, -0.37054330110549927, 0.10693199187517166, 0.5894067287445068, 0.18654873967170715, 0.2137664556503296, 0.5295701026916504, 0.25978776812553406, -0.42944419384002686, 0.2633526027202606, -0.6491053104400635, 0.18192890286445618, -0.8086327910423279, 0.156350776553154, -0.7748594880104065, 0.1720058172941208, -0.6628294587135315, 0.0023855678737163544, -0.4413200318813324, -0.05449929088354111, -0.1988762617111206, -0.14889298379421234, 0.17969033122062683, 0.9220624566078186, -0.1295941174030304, 0.34127888083457947, -0.3949073851108551, 0.5779287815093994, 0.24947187304496765, 0.2083626687526703, 0.029796386137604713, -0.13951699435710907, 0.32299602031707764, 0.08030331879854202, -0.42998626828193665, -1.407826542854309, 0.5369424223899841, -0.058918118476867676, 0.5602918267250061, 0.0018318953225389123, -0.19645293056964874, 0.43212467432022095, -0.5368425250053406, 1.0687432289123535, 0.050555162131786346, -1.0545088052749634, 0.7730224132537842, -0.7245089411735535, 0.4788972735404968, 0.4282210171222687, 0.5676835775375366, -0.7878271341323853, -0.4805293381214142, -0.4263063073158264, -0.9539933800697327, 0.7777283191680908, 0.16567859053611755, 0.4278249144554138, 0.0013686117017641664, 0.0266718752682209, 0.4199536442756653, 0.5820824503898621, -1.0608490705490112, -0.6966074109077454, -0.13623419404029846, 0.20412252843379974, 0.15265779197216034, -0.48187726736068726, -0.23548351228237152, -0.20553936064243317, 0.5310552716255188, -0.13005726039409637, 0.3798956871032715, 0.17587341368198395, -0.45372164249420166, -0.16766966879367828, 0.5615373253822327, 0.7600083947181702, 0.9501261711120605, 0.10261772572994232, 0.12091704457998276, 0.25468581914901733, -0.5821346044540405, 0.2943681478500366, -0.14159482717514038, -0.3958061933517456, 0.34397193789482117, 0.26768600940704346, 0.5052213668823242, 0.2160356193780899, -0.3584131896495819, 0.4571111798286438, -0.2985101640224457, -0.15297847986221313, -0.2294413149356842, -0.7511627078056335, 0.1800561249256134, -0.05568673089146614, 0.6023763418197632, -0.04068822041153908, 0.35337650775909424, -0.9649322032928467, -0.11086049675941467, 0.4649919271469116, -0.46542099118232727, -0.12600386142730713, 0.8481497168540955, 0.07549772411584854, -0.24383404850959778, 0.15489064157009125, 0.002846039831638336, -0.7045449018478394, 0.45469191670417786, 0.5177175402641296, 0.5393767952919006, -0.35293376445770264, 0.405495822429657, 0.3970523476600647, 0.6680549383163452, 0.1253042072057724, 0.4154188632965088, 0.2711307108402252, -0.8595225811004639, -0.2561033070087433, -0.39409616589546204, -0.20940537750720978, -0.1672210693359375, -0.7873865365982056, 0.21621568500995636, -0.2185715287923813, -0.49029096961021423, -0.009772813878953457, -0.2420981526374817, -0.8155891299247742, -0.07697109878063202, 0.39523524045944214, 0.5795831084251404, -1.1159332990646362, 0.29689404368400574, 0.6616905331611633, -0.27354976534843445, -0.16112321615219116, -0.06941232830286026, 0.7131032347679138, -0.6316823363304138, 0.742913544178009, 0.3760285973548889, -0.27238574624061584, -0.3146468997001648, -0.18017342686653137, -0.7007120251655579, 0.4537116289138794, 0.6397898197174072, -0.2215755432844162, 0.22914808988571167, 0.43155941367149353, 0.37307924032211304, -0.15428735315799713, 0.6871105432510376, 0.6806625127792358, 0.8554313778877258, -0.8200026154518127, -1.1935179233551025, -0.12305304408073425, -0.1752648949623108, -0.0000466707642772235, 0.2597183883190155, -0.6066924929618835, 0.9558257460594177, 0.3110424280166626, -0.07328449934720993, -0.5451235771179199, 0.2846848964691162, 0.01832730881869793, 0.3264463245868683, 0.2604846954345703, 0.15615397691726685, 0.4591274559497833, -0.360117107629776, 1.186055302619934, 0.059837352484464645, 0.10111428052186966, 0.7522355914115906, -0.2782120406627655, 0.28236737847328186, 0.7326678037643433, -0.06846022605895996, 0.47687211632728577, 0.24327366054058075, 0.4131677746772766, 0.07702556997537613, 0.2586211562156677, -0.341000497341156, 0.1644107550382614, -0.7779116034507751, -0.3019140362739563, 0.4890799820423126, 0.326876163482666, -0.2219875305891037, -0.4206078350543976, 0.4022371470928192, 0.25921550393104553, 0.6415666341781616, -0.4746673107147217, 0.5754941701889038, 0.04647816717624664, -0.5490506291389465, -0.07297168672084808, 0.26291584968566895, 1.0815147161483765, -0.6100990176200867, -0.1117938756942749, -0.0010648795869201422, 0.0430537573993206, -0.19442187249660492, -0.6224945187568665, 0.39799007773399353, 0.01225330587476492, -0.41703540086746216, -0.5531526207923889, 0.9367661476135254, -0.32871073484420776, -0.5714178681373596, 0.6923825740814209, 0.8735823631286621, -0.11331269145011902, -0.09302373230457306, -0.7665014863014221, 0.3291763365268707, 0.05845516175031662, -0.05026698857545853, 0.4811769723892212, 0.02442641742527485, -0.17753179371356964, 0.8988953232765198, 0.5219398140907288, 0.16137102246284485, 0.2557664215564728, 0.5584019422531128, 0.3486846089363098, -0.5119036436080933, -0.48023056983947754, -1.07120943069458, 0.41866645216941833, -0.20468980073928833, -0.44315212965011597, 0.9235889315605164, 0.45042893290519714, 0.8484788537025452, 0.050710421055555344, 0.8256120085716248, 0.016993356868624687, 0.8036798238754272, -0.20303907990455627, 0.8172429800033569, -0.35500356554985046, -0.051917824894189835, -0.6115617156028748, -0.5759150385856628, -0.3075754642486572, 0.6582317352294922, -0.4531465172767639, 0.08390095829963684, 0.3409797251224518, 0.5814216136932373, -0.10082865506410599, 0.3415265679359436, 0.09932450205087662, 0.23996800184249878, 0.2893924415111542, -0.06508688628673553, 1.054423451423645, -0.39757010340690613, 0.15389233827590942, -0.12946420907974243, -0.025150692090392113, 0.11138706654310226, -0.8394969701766968, -0.9259765148162842, -0.45199522376060486, -0.16490381956100464, -0.11267488449811935, 0.12830956280231476, 0.8211861848831177, 0.5140748620033264, -0.5702829957008362, -0.5438528060913086, 0.32127150893211365, 0.41040802001953125, -0.041493356227874756, -0.3579869866371155, -0.13687245547771454, -0.09530549496412277, -0.9379613399505615, 0.13015791773796082, 0.05042635276913643, -0.39416542649269104, -0.7247797250747681, 0.24467499554157257, -0.8296147584915161, -0.09159433096647263, 0.7499399781227112, -0.1309456080198288, -0.7573285102844238, -0.20074649155139923, -0.12623484432697296, 0.16933727264404297, 0.18807312846183777, 1.0611763000488281, -0.4940667748451233, 0.5465414524078369, 0.4970308244228363, 0.4702196717262268, 0.28222230076789856, -0.1730824112892151, 0.9875600337982178, -0.7703052759170532, 0.2555358111858368, 0.27441665530204773, 0.36863264441490173, 0.8342175483703613, -0.4712892770767212, 0.22215919196605682, 0.2984054982662201, -0.22120966017246246, -0.8502234220504761, 0.4160100519657135, -0.2637731432914734, -0.6315469741821289, 0.9955347180366516, 0.3675917387008667, 0.11098354309797287, -0.6116670966148376, -0.5646073818206787, 0.43401286005973816, -0.4961327910423279, 0.735558807849884, 1.0667386054992676, 0.11684469133615494, -0.30488821864128113, -1.4116675853729248, 0.26590174436569214, 0.4863867163658142, -0.5270552039146423, 0.00962131004780531, 0.31238317489624023, 0.3378342092037201, 0.3107041120529175, 0.5824323296546936, -0.24053722620010376, -0.046004023402929306, -0.15669706463813782, 0.2671351134777069, 0.498382568359375, -0.006680804304778576, -0.5022647380828857, 0.2644234895706177, -0.2464989870786667, 0.24800868332386017 ]
http://arxiv.org/abs/2403.10692v1
http://arxiv.org/pdf/2403.10692v1
EXPLORER: Exploration-guided Reasoning for Textual Reinforcement Learning
2024-03-15T21:22:37
2024-03-15T21:22:37
Kinjal Basu, Keerthiram Murugesan, Subhajit Chaudhury, Murray Campbell, Kartik Talamadupula, Tim Klinger
cs.CL
cs.CL, cs.AI, cs.LO
Text-based games (TBGs) have emerged as an important collection of NLP tasks, requiring reinforcement learning (RL) agents to combine natural language understanding with reasoning. A key challenge for agents attempting to solve such tasks is to generalize across multiple games and demonstrate good performance on both seen and unseen objects. Purely deep-RL-based approaches may perform well on seen objects; however, they fail to showcase the same performance on unseen objects. Commonsense-infused deep-RL agents may work better on unseen data; unfortunately, their policies are often not interpretable or easily transferable. To tackle these issues, in this paper, we present EXPLORER which is an exploration-guided reasoning agent for textual reinforcement learning. EXPLORER is neurosymbolic in nature, as it relies on a neural module for exploration and a symbolic module for exploitation. It can also learn generalized symbolic policies and perform well over unseen data. Our experiments show that EXPLORER outperforms the baseline agents on Text-World cooking (TW-Cooking) and Text-World Commonsense (TWC) games.
[ -0.04212985187768936, -0.8634974360466003, 0.7999963164329529, 0.44274696707725525, 0.16149559617042542, 0.28522881865501404, -0.291986882686615, -0.21353694796562195, 0.31911033391952515, 0.5836945176124573, -0.8386706709861755, -0.8697500228881836, -0.5838033556938171, 0.30099910497665405, -0.020890481770038605, 0.8909040689468384, -0.11828894913196564, -0.7558823823928833, -0.12968875467777252, -0.11981098353862762, -0.6636829376220703, -0.03588254377245903, -0.8338561058044434, -0.5080918669700623, 0.5530747771263123, 0.45239657163619995, 0.9077986478805542, 0.46653270721435547, 0.15761473774909973, 0.38901805877685547, -0.07433250546455383, 0.9068962335586548, -0.36419111490249634, 0.5669683218002319, -0.6511042714118958, -0.42352595925331116, -0.14909560978412628, -0.17183265089988708, 0.27925845980644226, 0.14668570458889008, -0.10908010601997375, -0.3623385429382324, 0.004582141060382128, 0.4377081096172333, -0.4147203266620636, 0.431183397769928, -0.27893078327178955, 0.32884469628334045, 0.3572676181793213, -0.40488263964653015, -0.6496575474739075, -0.20877490937709808, 0.5379794239997864, -1.568078875541687, -0.09237539023160934, 0.14897170662879944, 0.8605559468269348, 0.46050727367401123, -0.7417994737625122, -0.5149281024932861, -0.5478475093841553, 1.0883702039718628, -0.18203788995742798, 0.08465718477964401, 0.4416341185569763, 0.35321173071861267, -0.35986289381980896, -0.9498263001441956, -0.38290899991989136, -0.2163137048482895, -0.32556915283203125, 0.32082507014274597, -0.38298824429512024, 0.11643124371767044, 0.016180112957954407, -0.2835576832294464, -0.8402098417282104, 0.16193626821041107, -0.19255481660366058, -0.1038350984454155, 0.6502256393432617, 0.41429704427719116, 0.2894773781299591, -0.043769825249910355, -0.5886538028717041, -0.37492406368255615, -0.48216134309768677, 0.1993948221206665, 0.1056264117360115, 0.27149105072021484, 0.143520787358284, 0.3384397029876709, -0.17231717705726624, 0.48639410734176636, -0.09337355941534042, 0.12040390074253082, 0.10406870394945145, 0.2822497487068176, -0.12413462996482849, -0.04521256685256958, 0.5272958278656006, 0.5070826411247253, 0.20605099201202393, -0.35028621554374695, -0.5498414039611816, -0.0004320175212342292, 0.39905184507369995, -0.5527843832969666, -0.22969965636730194, 0.22122372686862946, -0.2508648633956909, -0.2997377812862396, -0.25140583515167236, -0.6936008334159851, -0.44199299812316895, -0.11919932812452316, 0.877093493938446, -0.5824907422065735, -0.20200428366661072, 0.3310301601886749, -0.6066554188728333, 0.1577804833650589, 0.5268529653549194, -0.8630167841911316, 0.2895781099796295, 0.700965404510498, 0.7479342818260193, -0.18276208639144897, -0.5160982608795166, -0.9274353981018066, 0.2280684858560562, -0.2535310983657837, 0.9033474922180176, -0.8232815265655518, -0.7365755438804626, 0.17253237962722778, 0.1760515719652176, -0.2899203598499298, -0.29746392369270325, 0.5962572693824768, -0.6410759091377258, 0.49788862466812134, -0.22298529744148254, -0.44823798537254333, -0.5000814199447632, 0.7703249454498291, -0.6754217743873596, 0.985838770866394, -0.013211854733526707, -0.29675012826919556, 0.44017186760902405, -1.0578640699386597, -0.4253271222114563, 0.16948117315769196, -0.05910583585500717, 0.028652235865592957, -0.09952966868877411, 0.7758183479309082, 0.18198642134666443, 0.257267028093338, 0.15268056094646454, -0.0768900215625763, -0.7176666855812073, 0.10263258218765259, -0.3452923595905304, 0.36325791478157043, 0.10863553732633591, -0.4024289846420288, 0.2217997908592224, -0.2739504277706146, 0.286820650100708, 0.05616943538188934, -0.32163184881210327, -0.5482946038246155, 0.23368075489997864, 0.00021858126274310052, -0.03790976479649544, -0.004297482781112194, -0.36574894189834595, 0.5962378978729248, -0.39921489357948303, 0.34490305185317993, 0.8358892202377319, 0.20445549488067627, 0.5387508869171143, -0.2568972706794739, 0.8603764772415161, -0.20452609658241272, 0.06065531447529793, -0.25437554717063904, -0.48730799555778503, -0.3889058530330658, -0.19823694229125977, 0.13883501291275024, 0.6598110795021057, -1.3605177402496338, 0.10017115622758865, -0.2517387568950653, -0.23255428671836853, -0.22931891679763794, -0.4131356477737427, 0.3246138393878937, 0.24840055406093597, 0.6947892308235168, 0.17641068994998932, -0.1738184541463852, -0.7145688533782959, -0.6890223026275635, -0.143177330493927, -0.049136724323034286, 0.6848627328872681, 0.6021528840065002, -0.5679612755775452, 0.5936901569366455, -0.6527613401412964, -0.4013316035270691, -0.45957717299461365, 0.42753344774246216, 0.06438729912042618, 0.35419830679893494, 0.19077982008457184, -0.5196521878242493, -0.34907400608062744, 0.19593074917793274, -0.8541115522384644, 0.05079382285475731, -0.3396020233631134, -0.10094206780195236, 0.27699998021125793, 0.4383823573589325, -0.8486826419830322, 0.39861223101615906, 0.3289141356945038, -0.7559866309165955, 0.21573761105537415, -0.4995860159397125, 0.07067965716123581, -0.42855143547058105, -0.14618627727031708, 0.028723200783133507, -0.2596408426761627, -0.3693159818649292, 0.4502197206020355, -0.06684324890375137, -0.030979618430137634, -0.21224746108055115, 0.9256249666213989, -0.3026648163795471, 0.12071224302053452, -0.38882580399513245, 0.41198989748954773, 0.377708375453949, 0.6663467288017273, 0.5183050036430359, 0.8032228350639343, 0.6078293919563293, -0.6015757918357849, 0.15603384375572205, 0.407602459192276, 0.21993541717529297, 0.4313013255596161, -0.6843754053115845, 0.150548055768013, -0.24611076712608337, 0.3378041386604309, -0.5481382608413696, 0.2505565881729126, 0.08028419315814972, -0.4840037524700165, 0.268802672624588, 0.059155434370040894, -0.38882219791412354, -0.07314768433570862, -0.27808451652526855, 0.06914671510457993, 0.31599658727645874, -0.9002683162689209, 0.9858283400535583, 0.1028837040066719, 0.1816689670085907, -1.115830421447754, -0.5814217925071716, 0.19722652435302734, -0.34360599517822266, -0.3595743179321289, 0.1999015063047409, 0.13676534593105316, -0.13258278369903564, 0.27127617597579956, -0.30341610312461853, -0.006483869627118111, 0.11335626989603043, 0.2646842896938324, 0.019044972956180573, -0.17270560562610626, 0.4564897119998932, 0.39914512634277344, -0.2062269002199173, 0.3588513135910034, -0.6036275029182434, 0.08231210708618164, -0.43032267689704895, -0.026703940704464912, 0.1333225667476654, 0.3631180226802826, 0.05725438520312309, -0.18134194612503052, 0.3865981101989746, 0.36091259121894836, -0.07397831976413727, -0.8312934041023254, 0.03762629255652428, -0.26937294006347656, -0.5573591589927673, 0.47311460971832275, -0.37546902894973755, -0.7894852161407471, 0.28693482279777527, -0.2655247747898102, 0.2840752899646759, 0.4057804346084595, -0.13317349553108215, -0.13045917451381683, 0.8772420883178711, 0.5692378282546997, 0.30559808015823364, -0.12753424048423767, -0.5169011950492859, -0.3048997223377228, -0.5237514972686768, -0.5186141729354858, -0.2993932366371155, -0.5824331641197205, -0.744717001914978, -0.38755977153778076, 0.32462239265441895, -0.5553688406944275, -0.24393151700496674, 0.32524919509887695, -0.5850217342376709, 0.926298975944519, 0.6096450686454773, 0.18064182996749878, 0.41263657808303833, -0.1616826206445694, -0.4609352946281433, -0.10363991558551788, -0.586869478225708, -0.6036208271980286, 1.1429102420806885, 0.1461719572544098, 0.7280839085578918, 0.21994522213935852, 0.7841342091560364, 0.5985278487205505, 0.2354455292224884, -0.6386134028434753, 0.6256652474403381, 0.020344281569123268, -0.6099897027015686, -0.5673618316650391, -0.2821231186389923, -1.1345880031585693, 0.5627832412719727, -0.2516641616821289, -0.5766028761863708, 0.09604662656784058, -0.049444083124399185, -0.1910579949617386, 0.1968204379081726, -0.7896971702575684, 0.9296936988830566, -0.2724519968032837, -0.6287358999252319, -0.35835278034210205, -0.5904883146286011, 0.215162456035614, 0.38737887144088745, -0.09501764923334122, 0.575051486492157, -0.452959805727005, 0.4346682131290436, 0.04995177313685417, 0.4659055173397064, -0.4099222421646118, 0.15963342785835266, 0.05213070660829544, 0.4791586995124817, 0.7668759226799011, 0.28854605555534363, 0.28524041175842285, -0.2877124547958374, -0.09077246487140656, -0.3584508001804352, -0.8564508557319641, 0.8005226254463196, -0.7020472288131714, -0.7254518270492554, -0.8731256723403931, -0.6014910340309143, -0.33618834614753723, 0.1234767884016037, -0.14312338829040527, 0.23070387542247772, -0.27352234721183777, 0.08832364529371262, 1.0195729732513428, -0.66709965467453, 0.4507324695587158, 0.7141159176826477, -0.4696637690067291, -0.0532454214990139, 1.0286531448364258, -0.24138186872005463, -0.09054621309041977, 0.848177433013916, -0.003369245445355773, -0.6945825815200806, -0.4630570113658905, -0.3772580027580261, -0.0741843581199646, -0.6195225119590759, -0.01995242014527321, -0.7465267777442932, 0.017026595771312714, 0.4159890115261078, -0.25345468521118164, 0.0072961593978106976, -0.5029111504554749, -0.14446325600147247, -0.33667832612991333, 0.3743959665298462, 0.6574238538742065, -0.1682308167219162, 0.4074097275733948, -0.5562311410903931, 0.15819019079208374, 0.4998462200164795, 0.2709696590900421, -0.16723859310150146, -0.26948586106300354, -0.06850729882717133, -0.2786279320716858, -0.4296061396598816, -0.7750813364982605, 0.5898269414901733, 0.06130097806453705, 0.47863689064979553, 0.2925458550453186, 0.009657694026827812, 0.3327256441116333, -0.15177039802074432, 0.628692090511322, -0.42968782782554626, -0.643886923789978, 0.486298531293869, -0.5302006602287292, 0.3283776640892029, 0.4506034553050995, 0.2885703146457672, -0.5715360045433044, -0.5082486271858215, -0.7503569722175598, -0.7032996416091919, 0.774519681930542, 0.21568971872329712, -0.11248863488435745, -0.012408506125211716, -0.10160107910633087, 0.20985223352909088, 0.21223439276218414, -0.7395535111427307, -0.08365164697170258, -0.3678044080734253, 0.19690942764282227, -0.14159326255321503, 0.26665613055229187, -0.033158887177705765, 0.14430329203605652, 0.7373438477516174, -0.19630512595176697, 0.12906253337860107, 0.3689284324645996, -0.3606284260749817, 0.15727874636650085, 0.3596440553665161, 0.5554062724113464, 0.3350110352039337, -0.576820969581604, 0.0980551466345787, 0.01375905517488718, -0.5216763615608215, -0.04092768579721451, 0.4015616774559021, -0.15864652395248413, -0.017315559089183807, 0.4348217248916626, 0.5731391906738281, -0.025063637644052505, -1.105127215385437, 0.3735281229019165, -0.37599092721939087, -0.328453004360199, -0.18988382816314697, 0.2498762160539627, 0.040308501571416855, 0.5880376696586609, 0.37930285930633545, 0.10237237811088562, 0.26790112257003784, -0.41173380613327026, 0.10889279842376709, 0.3554714620113373, -0.32025182247161865, -0.03046233020722866, 0.6296864748001099, 0.37068137526512146, -0.3365567624568939, 0.7845590710639954, -0.5734630227088928, -0.5794002413749695, 0.7289073467254639, 0.38501062989234924, 0.9171863794326782, 0.24336157739162445, 0.6575164198875427, 0.18159030377864838, 0.8677173256874084, 0.13219262659549713, 0.34671470522880554, -0.19297559559345245, -0.4184116721153259, -0.5383744835853577, 0.14785245060920715, -0.5834704637527466, 0.1833469122648239, -0.19904056191444397, -0.12261176854372025, -0.3551253378391266, 0.09207066893577576, -0.3341033160686493, 0.22768534719944, -0.7618920207023621, 0.09239183366298676, -0.1820993423461914, 1.051040768623352, -0.713213324546814, 0.507542610168457, 0.8107892274856567, -0.31231924891471863, -0.8282791376113892, 0.02477770671248436, -0.08105238527059555, -0.8074742555618286, 0.6930693984031677, 0.33144503831863403, -0.06595809012651443, -0.2160233110189438, -0.4899442493915558, -0.4346984326839447, 1.2357977628707886, 0.08354822546243668, -0.14231809973716736, -0.09808732569217682, -0.11704450100660324, 0.7586466670036316, -0.3045255243778229, 0.7167867422103882, 0.25412988662719727, 0.8215329647064209, -0.06148482859134674, -0.5236679911613464, 0.08189025521278381, -0.23591357469558716, -0.37597090005874634, 0.19255724549293518, -0.532238781452179, 0.6176420450210571, -0.3352394998073578, -0.22360897064208984, -0.20639634132385254, 0.5365758538246155, 0.645049512386322, 0.8624547719955444, 0.4557131230831146, 0.6001591682434082, 0.6942866444587708, -0.1706307977437973, 0.9587069153785706, 0.3106580376625061, 0.07778532803058624, 0.8668400645256042, -0.38375023007392883, 0.44202733039855957, 0.26824328303337097, 0.22435709834098816, 0.8093528747558594, 0.40754008293151855, 0.1590033918619156, 0.7030850648880005, -0.01764877513051033, -0.12436789274215698, -0.21745385229587555, -0.12651042640209198, -0.17881333827972412, 0.44703951478004456, 0.6137518882751465, -0.26205912232398987, -0.5700881481170654, -0.09888004511594772, -0.11903485655784607, 0.6158905029296875, -0.26506784558296204, 0.5585498213768005, -0.14697787165641785, -0.9750048518180847, 0.3325240910053253, 0.16837158799171448, 0.6012499928474426, -0.670255184173584, -0.4764644503593445, -0.4888477921485901, 0.10853347927331924, -0.049026597291231155, -0.9853237867355347, 0.027178145945072174, -0.2032666802406311, 0.21569961309432983, -0.5110490918159485, 0.6916071176528931, -0.24443764984607697, 0.11070717126131058, 0.22339420020580292, 0.7377984523773193, 0.017585188150405884, -0.13275296986103058, -0.6285093426704407, -0.4229680895805359, -0.1372932344675064, -0.49939438700675964, 0.21919915080070496, 0.8178922533988953, -0.0014401638181880116, 0.9570642709732056, 0.34443506598472595, -0.12056390196084976, -0.26474955677986145, -0.5256701707839966, 0.7671090960502625, -0.9258144497871399, -0.8830893635749817, -0.41716262698173523, 0.3959408402442932, -0.22358953952789307, -0.37910905480384827, 0.6549566984176636, 0.6529501080513, 0.44358599185943604, -0.1674877107143402, 0.5924754738807678, 0.2745499312877655, 0.317396879196167, -0.5786325335502625, 0.40336868166923523, -0.5152745842933655, 0.3319091796875, 0.035665787756443024, -0.7143950462341309, -0.10387102514505386, 0.6236123442649841, -0.18468129634857178, -0.11190330982208252, 1.0066148042678833, 0.8588186502456665, -0.08235607296228409, 0.22830511629581451, 0.157448410987854, -0.014127246104180813, 0.43222108483314514, 1.0451865196228027, 1.1724251508712769, -0.15663385391235352, 0.5513824224472046, 0.2732296288013458, -0.02300194278359413, 0.05113610625267029, -0.935312807559967, -0.9739664793014526, -0.3150046765804291, -0.028285030275583267, -0.34482863545417786, 0.5374727249145508, 0.9722862243652344, 0.3452993929386139, -0.12093310803174973, -0.004682991188019514, -0.21739192306995392, 0.5758631825447083, -0.8206586837768555, -0.29442283511161804, 0.518278956413269, -0.162191703915596, -0.7862113118171692, 0.8338204026222229, 0.26906025409698486, -0.2943631410598755, -0.21591216325759888, -0.4020254909992218, -0.16423054039478302, 0.2339225709438324, 0.5092156529426575, 0.6336100101470947, -0.43344029784202576, -0.1702549010515213, 0.3405681848526001, 0.11555784940719604, -0.2892957627773285, 0.5843976140022278, -1.4325915575027466, 0.48960888385772705, 0.20745056867599487, 0.8564819693565369, 0.7005749344825745, -0.33942726254463196, 0.4559311866760254, -0.830092191696167, 0.0064152260310947895, 0.5184001922607422, -0.008683981373906136, 0.018050584942102432, -0.2488180547952652, 0.6669705510139465, -0.08371070772409439, -0.6793606877326965, -0.8279432654380798, 0.10961908847093582, -0.8985939025878906, -0.4162457287311554, 1.0988839864730835, -0.08096683025360107, -0.056342415511608124, 0.005467436276376247, -0.22272346913814545, -0.29064226150512695, -0.8872687816619873, 0.872856616973877, 0.5243249535560608, -0.07674574851989746, -0.017482692375779152, -0.6401785612106323, 0.5131941437721252, 0.4063932001590729, -0.8202208876609802, -0.08165665715932846, 0.525613009929657, -0.19236691296100616, 0.08959496766328812, 0.3459758460521698, 0.254483699798584, 0.3616052269935608, -0.03429724648594856, -0.30240145325660706, -0.5214194059371948, -0.5458201169967651, -0.2554395794868469, 0.2112853080034256, -0.0570635162293911, -0.2711644768714905 ]
http://arxiv.org/abs/2403.10691v1
http://arxiv.org/pdf/2403.10691v1
MYTE: Morphology-Driven Byte Encoding for Better and Fairer Multilingual Language Modeling
2024-03-15T21:21:11
2024-03-15T21:21:11
Tomasz Limisiewicz, Terra Blevins, Hila Gonen, Orevaoghene Ahia, Luke Zettlemoyer
cs.CL
cs.CL, cs.AI, cs.LG
A major consideration in multilingual language modeling is how to best represent languages with diverse vocabularies and scripts. Although contemporary text encoding methods cover most of the world's writing systems, they exhibit bias towards the high-resource languages of the Global West. As a result, texts of underrepresented languages tend to be segmented into long sequences of linguistically meaningless units. To address the disparities, we introduce a new paradigm that encodes the same information with segments of consistent size across diverse languages. Our encoding convention (MYTE) is based on morphemes, as their inventories are more balanced across languages than characters, which are used in previous methods. We show that MYTE produces shorter encodings for all 99 analyzed languages, with the most notable improvements for non-European languages and non-Latin scripts. This, in turn, improves multilingual LM performance and diminishes the perplexity gap throughout diverse languages.
[ -0.2890058159828186, -0.3376501500606537, 0.3608875870704651, 0.4325442612171173, 0.06497958302497864, 0.1586298793554306, -0.3566575348377228, -0.4556221663951874, 0.6079466342926025, 0.4135739803314209, -0.5436464548110962, -0.5835152268409729, -0.5345861315727234, 0.6004748940467834, -0.20773601531982422, 0.6884167194366455, 0.368242084980011, 0.33518123626708984, -0.0563138872385025, -0.25587713718414307, -0.14928506314754486, -0.8789892792701721, -0.1236097440123558, -0.26369568705558777, 0.7491166591644287, 0.3261624574661255, 1.0557955503463745, 0.9550563097000122, 0.4828246533870697, 0.30189281702041626, -0.11422400176525116, 0.20420654118061066, -0.18698108196258545, 0.2055508941411972, -0.14799173176288605, -0.6339448690414429, -0.39079394936561584, -0.4818350672721863, 0.8027235269546509, 0.7789919972419739, -0.18382030725479126, -0.08619993925094604, -0.15414273738861084, 0.6215284466743469, -0.872434139251709, -0.14042635262012482, -0.5570334196090698, 0.10389380902051926, -0.5223128199577332, -0.19048282504081726, -0.6181554198265076, 0.018129894509911537, -0.3082028329372406, -0.21945583820343018, 0.09090635925531387, -0.2340214103460312, 0.6420462727546692, -0.14753153920173645, -0.28333142399787903, -0.35122981667518616, -0.7677006721496582, 0.7093045115470886, -0.6405789256095886, 0.7719353437423706, 0.14064952731132507, 0.162839874625206, -0.016936777159571648, -0.46163415908813477, -0.48685213923454285, 0.03559025749564171, 0.10092803090810776, 0.0641934871673584, -0.14277921617031097, 0.14398500323295593, 0.07430096715688705, 0.15695835649967194, -0.7905837297439575, 0.4893855154514313, -0.41778564453125, -0.48960599303245544, 0.5565747618675232, 0.17731639742851257, 0.602325975894928, -0.2940365672111511, -0.31214427947998047, -0.1925484836101532, -0.8096352219581604, -0.26597851514816284, 0.7521339058876038, 0.48442304134368896, -0.20847803354263306, 0.5076319575309753, -0.126069113612175, 0.47221317887306213, -0.13015487790107727, -0.2779228687286377, 0.38428446650505066, -0.16861838102340698, 0.03223925828933716, 0.40566062927246094, 0.5956493616104126, 0.2854818105697632, 0.1080571636557579, -0.2090592384338379, -0.1823219209909439, -0.024534005671739578, 0.1828560084104538, -1.0789729356765747, 0.04287847504019737, 0.21129168570041656, -0.4657038748264313, 0.06892319768667221, -0.15103650093078613, -1.060326337814331, -0.29809194803237915, -0.2434978187084198, 0.11032011359930038, -0.5400605797767639, -0.5753198862075806, 0.395368754863739, -0.010561533272266388, 0.2794664800167084, 0.2768644690513611, -1.406554937362671, 0.24950233101844788, 0.6084744334220886, 0.9855083227157593, -0.007756518200039864, -0.39232826232910156, -0.31096088886260986, 0.1968885362148285, -0.24543780088424683, 0.6243554949760437, -0.8023505210876465, -0.3074812889099121, 0.2064845860004425, -0.12430863082408905, -0.03143123537302017, -0.4437243342399597, 0.28835469484329224, -0.5240398645401001, -0.05286386236548424, -0.14120428264141083, -0.45942291617393494, 0.009193136356770992, 0.21664239466190338, -0.8718011379241943, 0.6056123971939087, 0.05552339926362038, -0.6724761128425598, 0.25211238861083984, -0.675956130027771, -0.24554255604743958, 0.08129946142435074, -0.4116537272930145, 0.034216176718473434, 0.06397376209497452, 0.19245781004428864, 0.280009001493454, -0.09361260384321213, -0.08814074844121933, -0.08749312907457352, -0.1310838907957077, 0.06313405185937881, -0.5424668788909912, 0.5431389212608337, 0.4073832333087921, 0.09320509433746338, 0.19328996539115906, -0.7345444560050964, 0.1420910358428955, -0.015764519572257996, -0.4099539816379547, -0.3370296359062195, -0.16814200580120087, 0.30396348237991333, 0.19875963032245636, 0.20409855246543884, -0.7769375443458557, 0.32381653785705566, -0.5132506489753723, 0.498386949300766, 0.5330666899681091, -0.5219376683235168, 0.7672275304794312, -0.12371839582920074, 0.4169093668460846, 0.35138100385665894, -0.005024426616728306, -0.3349182605743408, -0.36800703406333923, -0.5447156429290771, -0.2555208206176758, 0.504128634929657, 0.43846359848976135, -0.709170937538147, 0.0649777427315712, -0.7325232625007629, -0.24874553084373474, -0.6744455695152283, 0.02898537367582321, 0.41129210591316223, 0.04367053508758545, 0.3905302882194519, -0.5302228927612305, -0.5264407992362976, -1.0228219032287598, 0.01752275787293911, 0.03635267913341522, 0.16186119616031647, -0.11156422644853592, 0.33584633469581604, -0.6565124988555908, 0.7925897836685181, -0.20638637244701385, 0.05285624787211418, -0.7082563638687134, -0.03403053805232048, 0.1320892870426178, 0.7041779160499573, 0.6824729442596436, -0.9258202314376831, -0.30198147892951965, 0.003588796127587557, -0.3439262807369232, 0.009991449303925037, -0.08629544824361801, -0.3031720519065857, 0.4109072685241699, 0.47258129715919495, -0.5030404329299927, 0.06132965534925461, 0.8576210737228394, -0.3565939664840698, 0.8730847239494324, -0.4701560139656067, 0.4085347056388855, -1.030000925064087, -0.2127268761396408, -0.1339215189218521, -0.14718376100063324, -0.8480026125907898, 0.23039396107196808, 0.5108535885810852, -0.17892825603485107, -0.5604491233825684, 0.5877209305763245, -0.5221314430236816, -0.0065648616291582584, -0.21580687165260315, 0.08736636489629745, 0.12230496853590012, 0.5212493538856506, 0.1234143078327179, 0.8728760480880737, 0.37854957580566406, -0.7982807755470276, 0.10530578345060349, 0.3513581454753876, -0.2554783523082733, 0.31175747513771057, -0.2249237447977066, 0.09977640956640244, -0.5123405456542969, -0.08032649010419846, -0.3835700750350952, -0.27394625544548035, 0.05332530289888382, -0.27664417028427124, 0.6822181940078735, -0.44437375664711, -0.493121474981308, 0.012202118523418903, -0.4003438949584961, 0.7943274974822998, 0.4721818268299103, -0.5692025423049927, 0.5393052697181702, 0.3205178678035736, -0.07125154137611389, -0.7015537619590759, -0.9114797711372375, 0.20829863846302032, -0.16562587022781372, -1.039501667022705, 0.6699012517929077, -0.2627396285533905, -0.20392882823944092, -0.17864032089710236, -0.20966528356075287, -0.32269129157066345, -0.2402881681919098, -0.015143933705985546, -0.0963781327009201, -0.6781228184700012, 0.4339069128036499, 0.15272828936576843, -0.23867103457450867, -0.4074920117855072, -0.42745068669319153, 1.042559027671814, -0.020375749096274376, -0.5866391062736511, -0.10655433684587479, 0.6621735692024231, 0.5684212446212769, -0.5579285621643066, 0.7912999987602234, 0.5068700909614563, -0.4719432294368744, -0.13564687967300415, -0.6245477199554443, -0.1525544673204422, -0.4789290130138397, 0.6323086619377136, -0.9272068738937378, -0.8915008902549744, 0.6301522850990295, 0.09983889013528824, 0.02144630067050457, 0.395407110452652, 0.6237451434135437, 0.157370463013649, 0.9740257263183594, 0.8847305774688721, -0.11218823492527008, 0.4363747537136078, -0.017941337078809738, 0.26129022240638733, -0.556835412979126, -0.11610031127929688, -0.6462205648422241, -0.26269200444221497, -0.6587005257606506, -0.6160973906517029, 0.03814870864152908, 0.0334005169570446, 0.16264571249485016, 0.38282719254493713, -0.2614229917526245, 0.6531645655632019, 0.43782687187194824, -0.10322073101997375, 0.21477267146110535, 0.12041139602661133, -0.1957446038722992, -0.4599955976009369, -0.8892356157302856, -0.8281061053276062, 0.8542085886001587, 0.22120891511440277, 0.9866457581520081, 0.20968855917453766, 0.9725815057754517, 0.26452475786209106, -0.16893400251865387, -0.5740163326263428, 0.26504650712013245, -0.48217272758483887, -0.4399140477180481, -0.1549939215183258, -0.3491441607475281, -1.0812729597091675, 0.6694042682647705, -0.10494137555360794, -0.6819164156913757, 0.2445167452096939, 0.16642342507839203, -0.2313007414340973, 0.5842182636260986, -0.7588306069374084, 0.9433354735374451, -0.21437425911426544, -0.2744784653186798, -0.4800933003425598, -0.43098849058151245, 0.10988229513168335, 0.16882291436195374, 0.36348211765289307, -0.4668213427066803, -0.05834626406431198, 0.6494113802909851, -0.4150773584842682, 0.6969627737998962, 0.19125616550445557, -0.15096105635166168, 0.24821621179580688, 0.3742799460887909, 0.047506723552942276, -0.04129718616604805, -0.29297977685928345, 0.36655575037002563, 0.36127200722694397, -0.6177687644958496, -0.4381594955921173, 0.6705639362335205, -0.5395858287811279, -0.5220616459846497, -0.2787232995033264, -0.48438504338264465, 0.05090377479791641, 0.16027937829494476, 0.41679295897483826, 0.7838364839553833, -0.164470374584198, 0.08669432252645493, 0.6689034104347229, -0.24696965515613556, 0.47285136580467224, 0.23491647839546204, -0.17424674332141876, -0.06702104210853577, 0.9027503728866577, 0.21639865636825562, 0.3177347779273987, 0.8281846046447754, 0.03703215345740318, -0.3264129161834717, -0.6262301802635193, -0.8088033199310303, 0.12460098415613174, -0.9985871911048889, -0.22537349164485931, -0.7191067337989807, -0.24089637398719788, -0.3773309588432312, -0.00830056332051754, -0.5916104912757874, -0.4489990174770355, 0.2409677356481552, 0.02392413094639778, 0.14086014032363892, 0.562954843044281, -0.03136686980724335, 0.46816617250442505, -1.1771926879882812, -0.026248561218380928, -0.17925691604614258, 0.3585606813430786, -0.09128701686859131, -0.25947025418281555, -0.4182681143283844, 0.21565404534339905, -0.12903112173080444, -0.9678423404693604, 0.45339521765708923, 0.34360745549201965, 0.6559274792671204, 0.2078307718038559, -0.3289116621017456, 0.6760509014129639, -0.6812201738357544, 0.5058504939079285, 0.3067465126514435, -0.9436219334602356, 0.27257299423217773, 0.07081255316734314, 0.42417535185813904, 0.14812639355659485, 0.3733402490615845, -1.1290359497070312, -0.5301170349121094, -0.4515032470226288, -0.8646801114082336, 0.6161302328109741, 0.26743534207344055, 0.5094531178474426, -0.14489898085594177, 0.1445356160402298, 0.4905559718608856, -0.0019064850639551878, -0.8452068567276001, -0.10425488650798798, -0.15057840943336487, -0.66469407081604, 0.1977345049381256, -0.609239935874939, 0.19342705607414246, 0.16504104435443878, 0.39575663208961487, -0.10779032111167908, 0.3615770936012268, 0.2629794776439667, -0.8035352826118469, 0.3353751003742218, 0.5076351165771484, 0.7712323665618896, 0.5445924997329712, 0.1977447271347046, 0.5237376689910889, 0.009006517939269543, -0.7982463836669922, 0.11900737136602402, -0.5307777523994446, -0.1316717267036438, 0.2425164431333542, 0.4778175950050354, 0.47463521361351013, 0.12722282111644745, -0.8439251780509949, 0.262597918510437, 0.04501514509320259, -0.0050851134583354, 0.14083270728588104, 0.07797716557979584, 0.11011742800474167, 0.24142570793628693, 0.011170808225870132, 0.19090484082698822, 0.23359251022338867, -0.28072312474250793, 0.1892486810684204, 0.1532527357339859, -0.18529993295669556, -0.6151357889175415, 0.36865198612213135, 0.3210567235946655, -0.09641772508621216, 0.6620321869850159, -0.25470131635665894, -0.40409499406814575, 0.678980827331543, 0.7009414434432983, 0.6707688570022583, -0.25029122829437256, -0.02216695062816143, 0.6221364140510559, 0.4693433344364166, -0.020299188792705536, 0.2853524684906006, 0.1571120321750641, -0.9625587463378906, -0.3524128198623657, -1.0347685813903809, -0.16949142515659332, -0.0015932341339066625, -0.2687736749649048, 0.2961083650588989, -0.4216534197330475, -0.08645180612802505, -0.02641945332288742, -0.434655100107193, -0.4079648554325104, 0.08966518938541412, 0.6338440775871277, 1.0294941663742065, -0.6756994724273682, 0.911885142326355, 0.4422537088394165, -0.550520122051239, -0.4168832004070282, -0.13333937525749207, -0.007439720444381237, -0.834419846534729, 0.41591310501098633, 0.40687263011932373, -0.2692156732082367, -0.28088852763175964, -0.20732104778289795, -1.0829071998596191, 0.625953197479248, 0.5587264895439148, -0.8123659491539001, 0.14257477223873138, 0.28268080949783325, 0.33445340394973755, -0.6484100818634033, 0.18783511221408844, 0.4294508099555969, 0.3123292624950409, -0.08448588103055954, -0.8279695510864258, -0.23510950803756714, -0.4164718687534332, 0.15397989749908447, 0.5626425743103027, -0.31912603974342346, 0.8249871134757996, -0.2907649278640747, -0.31049397587776184, 0.07920733839273453, 0.6302351951599121, -0.14206953346729279, -0.19884110987186432, 0.06656580418348312, 0.16325125098228455, 0.8676199316978455, -0.16963854432106018, 0.9935681223869324, -0.4730162024497986, -0.11822129786014557, 0.9893295168876648, -0.11072520911693573, 0.7560994625091553, 0.44204968214035034, -0.05213659629225731, 0.5506482720375061, 0.5830671787261963, 0.041972566395998, 0.37637755274772644, 0.1083759218454361, -0.22428372502326965, -0.27158409357070923, 0.09949810802936554, -0.4050023555755615, 0.4777800142765045, 0.4394975006580353, -0.004846054129302502, -0.5162694454193115, 0.14964458346366882, 0.07230375707149506, 0.35347050428390503, -0.5330585241317749, 0.4588610529899597, -0.09567964822053909, -0.13034018874168396, 0.5819320678710938, 0.572560727596283, 1.1117290258407593, -0.8203263282775879, 0.15631729364395142, -0.3519146740436554, 0.08703416585922241, -0.5337920784950256, -0.6603410243988037, 0.4027750492095947, 0.0063594612292945385, -0.5284891128540039, -0.30890002846717834, 0.6691684722900391, -0.8466227054595947, -0.36594855785369873, 0.3621235191822052, 0.5853711366653442, 0.3529353439807892, 0.015593115240335464, -0.35304033756256104, 0.08800733089447021, -0.04196247085928917, 0.10334337502717972, 0.30849745869636536, 0.4783135652542114, -0.46953627467155457, 0.8466407060623169, 0.42710208892822266, -0.019589444622397423, 0.7833189964294434, 0.5156804919242859, 0.48735594749450684, -0.8197795152664185, -0.7362992167472839, -1.2462462186813354, 0.5139644145965576, 0.045527972280979156, -0.21182771027088165, 0.570258378982544, 0.9650803208351135, 0.9280222654342651, -0.34570372104644775, 0.5907278656959534, -0.12202797830104828, 0.04504506662487984, -0.8078440427780151, 0.7556254267692566, -0.5321718454360962, -0.07053069770336151, 0.11218205094337463, -0.8620185256004333, -0.322918176651001, 0.4378519058227539, 0.02859635092318058, -0.01525211799889803, 0.6225671172142029, 0.8710733652114868, -0.38899800181388855, -0.05926055833697319, 0.5173303484916687, 0.03204764425754547, 0.2728431224822998, 0.4493536055088043, 0.6552013754844666, -0.18854406476020813, 0.6939159631729126, -0.22621524333953857, 0.0771685242652893, -0.28458285331726074, -0.6142035126686096, -0.5110185146331787, -0.5163652896881104, -0.3792480528354645, -0.15195083618164062, -0.0257734227925539, 1.2399786710739136, 0.7059735655784607, -0.8630647659301758, -0.5478886365890503, 0.298427551984787, 0.25571122765541077, 0.007867246866226196, -0.055098265409469604, 0.02120976336300373, -0.8354530334472656, -0.9591575860977173, 0.2164609283208847, 0.739989161491394, 0.3122829794883728, -0.03217844292521477, -0.40518808364868164, 0.01503465510904789, -0.0005642196047119796, 0.6644759178161621, 0.06359994411468506, -0.5675369501113892, -0.10032244026660919, 0.017924902960658073, -0.6202611923217773, 0.8225124478340149, 0.832249104976654, -0.31832456588745117, 0.431220144033432, 0.46077558398246765, 0.5121484994888306, 0.44361016154289246, -0.5365337133407593, 0.7222196459770203, -0.8742241859436035, 0.5316762328147888, 0.45263469219207764, 0.49284982681274414, 0.46102088689804077, -0.2139955759048462, 0.2978631556034088, -0.02915199100971222, 0.037198375910520554, -0.6506115198135376, 0.4768925905227661, -0.7940258979797363, -0.31751102209091187, 0.9527802467346191, 0.027304120361804962, -0.40993356704711914, 0.09175191074609756, -0.21828041970729828, 0.008978010155260563, -0.43595972657203674, 0.472677618265152, 0.8000898957252502, 0.04886142909526825, -0.03143449127674103, -0.39412203431129456, 0.5180584788322449, 0.3088131248950958, -0.5836849808692932, 0.10376644879579544, 0.4410192668437958, 0.2430010885000229, 0.3853778839111328, 0.6574922204017639, -0.3464623987674713, 0.2751920521259308, 0.2621709406375885, 0.4879733920097351, 0.2948974668979645, -0.543001115322113, -0.41734063625335693, 0.09751083701848984, 0.24508552253246307, -0.022546259686350822 ]
http://arxiv.org/abs/2403.10667v2
http://arxiv.org/pdf/2403.10667v2
Towards Unified Multi-Modal Personalization: Large Vision-Language Models for Generative Recommendation and Beyond
2024-03-15T20:21:31
2024-03-27T21:11:19
Tianxin Wei, Bowen Jin, Ruirui Li, Hansi Zeng, Zhengyang Wang, Jianhui Sun, Qingyu Yin, Hanqing Lu, Suhang Wang, Jingrui He, Xianfeng Tang
cs.IR
cs.IR, cs.AI, cs.CL, cs.MM
Developing a universal model that can effectively harness heterogeneous resources and respond to a wide range of personalized needs has been a longstanding community aspiration. Our daily choices, especially in domains like fashion and retail, are substantially shaped by multi-modal data, such as pictures and textual descriptions. These modalities not only offer intuitive guidance but also cater to personalized user preferences. However, the predominant personalization approaches mainly focus on the ID or text-based recommendation problem, failing to comprehend the information spanning various tasks or modalities. In this paper, our goal is to establish a Unified paradigm for Multi-modal Personalization systems (UniMP), which effectively leverages multi-modal data while eliminating the complexities associated with task- and modality-specific customization. We argue that the advancements in foundational generative modeling have provided the flexibility and effectiveness necessary to achieve the objective. In light of this, we develop a generic and extensible personalization generative framework, that can handle a wide range of personalized needs including item recommendation, product search, preference prediction, explanation generation, and further user-guided image generation. Our methodology enhances the capabilities of foundational language models for personalized tasks by seamlessly ingesting interleaved cross-modal user history information, ensuring a more precise and customized experience for users. To train and evaluate the proposed multi-modal personalized tasks, we also introduce a novel and comprehensive benchmark covering a variety of user requirements. Our experiments on the real-world benchmark showcase the model's potential, outperforming competitive methods specialized for each task.
[ -0.3616867661476135, -0.4891473352909088, 0.5244296789169312, 0.24916087090969086, -0.2843983769416809, -0.09454133361577988, -0.403703510761261, -0.4440809190273285, 0.0413762666285038, 0.323178231716156, -0.5799770355224609, -0.5980138778686523, -0.09424129128456116, -0.215142160654068, -0.11613047122955322, 0.861731231212616, 0.3108535706996918, 0.048171140253543854, -0.3543702960014343, -0.13528884947299957, -0.9724991321563721, -0.4919305741786957, -0.18943293392658234, -0.3414517939090729, 0.45663538575172424, 0.38701245188713074, 0.5514863133430481, 0.25764673948287964, 0.2952316701412201, 0.3326687812805176, 0.06944387406110764, 0.18896569311618805, -0.1796053797006607, 0.34619802236557007, -0.30243033170700073, -0.07439493387937546, -0.37815219163894653, -0.25104427337646484, 0.25033971667289734, 0.9042224287986755, -0.28678005933761597, 0.150146946310997, 0.2938210666179657, 0.5104843378067017, -0.7642550468444824, 0.0799017995595932, -0.4892658591270447, -0.034692008048295975, -0.17367632687091827, -0.2515624463558197, -0.3612796664237976, 0.32066333293914795, 0.18134507536888123, -0.8408029079437256, 0.3632402718067169, 0.09709677845239639, 0.41297245025634766, 0.02442804165184498, -0.781539797782898, 0.07498402148485184, -1.1159619092941284, 0.7314199805259705, -0.4537755250930786, 0.6990392208099365, 0.3241134583950043, 0.2970244288444519, 0.055319614708423615, -0.6992058753967285, -0.11390305310487747, -0.33760660886764526, 0.010302947834134102, 0.12653885781764984, -0.19670124351978302, -0.048765845596790314, -0.009716682136058807, 0.4595271944999695, -0.5631026029586792, -0.16851352155208588, -0.13811615109443665, 0.04211650416254997, 0.37324783205986023, 0.21525688469409943, 0.3178042471408844, -0.09346484392881393, -0.7766696214675903, 0.09317760169506073, -0.48754483461380005, 0.23296721279621124, 0.13785287737846375, 0.2880513668060303, -0.20423009991645813, 0.5680716037750244, -0.6175537109375, 0.806125283241272, 0.1605486422777176, -0.10157753527164459, 0.22843371331691742, -0.7397700548171997, -0.42532476782798767, -0.3302110433578491, 0.7448575496673584, 0.591863751411438, 0.1267041563987732, -0.49112600088119507, -0.11708555370569229, -0.18127082288265228, 0.32233312726020813, -0.6661056876182556, -0.0789012610912323, -0.05109189450740814, -0.6025007963180542, -0.13054560124874115, 0.19965137541294098, -0.7974709868431091, -0.3483278155326843, -0.6721681356430054, 0.23561979830265045, -0.4410177171230316, -0.10237223654985428, 0.2826641798019409, -0.04584440588951111, -0.4251351058483124, 0.5023259520530701, -0.9627097249031067, -0.039508964866399765, 0.24508675932884216, 0.5869693756103516, -0.16162128746509552, -0.26362961530685425, -0.1084095761179924, 0.5838401317596436, 0.08419695496559143, 0.9067727327346802, -0.9289453029632568, -0.5252147316932678, 0.0625748261809349, -0.08658917248249054, -0.041553109884262085, -0.35027462244033813, 0.42654332518577576, -0.4350241720676422, 0.2646123766899109, -0.5325819253921509, -0.28270700573921204, -0.46557530760765076, 0.21651116013526917, -0.3641969561576843, 0.5635467171669006, 0.1575397551059723, -0.4365631341934204, 0.5914168953895569, -0.8343889117240906, -0.5819579362869263, 0.3233574330806732, -0.244842991232872, 0.023227659985423088, 0.3800954520702362, 0.19716542959213257, 0.7480248808860779, -0.8202592134475708, 0.5105909705162048, -0.5328203439712524, -0.27063414454460144, -0.02324586734175682, -0.6335387825965881, 0.4604872167110443, 0.18293124437332153, -0.4587794542312622, 0.4961373507976532, -0.6871212720870972, -0.017325717955827713, 0.06368358433246613, -0.5069003701210022, -0.45405787229537964, -0.06306286156177521, 0.9365434050559998, 0.15708699822425842, 0.4029633104801178, -0.5679840445518494, 0.35435765981674194, -0.042778726667165756, 0.322374165058136, 0.9002489447593689, -0.2897634208202362, 0.503051221370697, -0.3087080717086792, 0.28373026847839355, -0.019548002630472183, 0.3042812645435333, -0.6195428967475891, -0.46452972292900085, -0.43527689576148987, -0.2753375768661499, 0.09058946371078491, 0.2510736882686615, -0.35947325825691223, 0.5448559522628784, -0.2639982998371124, -0.2252229005098343, 0.29043230414390564, 0.2936480939388275, 0.4640916585922241, 0.33256301283836365, 0.38841190934181213, -0.529504656791687, -0.433335542678833, -0.9369984865188599, -0.12794049084186554, 0.1054496243596077, -0.24047473073005676, 0.46616944670677185, 0.017099393531680107, -0.6692259311676025, 0.8874236941337585, -0.5605258941650391, -0.670001208782196, -0.22481709718704224, 0.09916803985834122, -0.05818526819348335, 0.473599910736084, 0.457218736410141, -1.0440443754196167, -0.2942345142364502, 0.21503214538097382, -0.7261874675750732, 0.02106895111501217, -0.27596235275268555, 0.129036083817482, -0.17723119258880615, 0.3076699376106262, -0.25551992654800415, 0.3137871026992798, 0.469703733921051, -0.6975679397583008, 0.3266283869743347, -0.5916767120361328, 0.40010249614715576, -1.4646873474121094, 0.24812516570091248, 0.40815773606300354, -0.1869041919708252, -0.5421155095100403, 0.08756834268569946, -0.0972973182797432, -0.16355323791503906, -0.1431495100259781, 0.5800078511238098, -0.4238733947277069, 0.07373438030481339, -0.19654017686843872, -0.41300883889198303, 0.1209716796875, 0.7085764408111572, -0.17620150744915009, 0.49228981137275696, 0.48636171221733093, -0.49491086602211, 0.4702754020690918, 0.21741755306720734, -0.30548542737960815, 1.0263102054595947, -0.7160876393318176, 0.006731996312737465, -0.09078548103570938, 0.23837639391422272, -1.0191713571548462, -0.306165874004364, 0.16873762011528015, 0.17867253720760345, 0.12000780552625656, -0.17094293236732483, -0.5521517395973206, -0.09737839549779892, -0.09541454911231995, 0.7043951153755188, 0.3487185537815094, -0.6874340176582336, 0.9193295240402222, 0.1609032154083252, 0.0623493567109108, -0.34614142775535583, -0.3259914517402649, 0.2210228145122528, -0.20088718831539154, -0.6643982529640198, 0.7646291255950928, -0.7505684494972229, 0.0697561651468277, -0.1791234165430069, -0.09331966936588287, -0.12857592105865479, 0.018899934366345406, 0.7216421365737915, 0.3779676556587219, -0.08373245596885681, 0.26324784755706787, -0.05981409549713135, -0.23097608983516693, -0.3969978988170624, -0.37860238552093506, 0.7308293581008911, -0.2947916090488434, -0.6388296484947205, -0.5065559148788452, 0.6668433547019958, 0.8140866756439209, -0.4037396013736725, 0.31163620948791504, 0.8602983355522156, -0.22122885286808014, 0.06668666005134583, -0.8432155847549438, -0.015917249023914337, -0.49784329533576965, 0.29167312383651733, -0.6276994943618774, -0.8112995028495789, 0.24524223804473877, -0.211334228515625, 0.08799596130847931, 0.15965470671653748, 0.7919155359268188, -0.09160451591014862, 1.286449670791626, 0.9737898111343384, -0.09742482006549835, 0.6366059184074402, -0.05423598363995552, 0.03662234917283058, -1.0377528667449951, -0.733371376991272, -0.1062222570180893, -0.4043455123901367, -0.04908769577741623, -0.23282498121261597, 0.5689036846160889, 0.08406607061624527, -0.19891765713691711, 0.24855171144008636, -0.7487106323242188, 0.33593669533729553, 0.8618583083152771, 0.22199808061122894, 0.5244644284248352, 0.17628584802150726, -0.1991051733493805, -0.008224277757108212, -0.5045515894889832, -0.23739466071128845, 1.2680439949035645, -0.10098101198673248, 1.0182890892028809, 0.0008242508629336953, 0.029772557318210602, 0.5302280187606812, 0.1179625391960144, -0.6298134326934814, 0.38673537969589233, -0.36949753761291504, -0.48752111196517944, 0.05602305755019188, 0.0007291849469766021, -0.9528555274009705, 0.42514297366142273, -0.39992794394493103, -0.8522859811782837, 0.5503749251365662, 0.4245666563510895, -0.47647127509117126, 0.32132309675216675, -0.5430476069450378, 0.9674457907676697, -0.40174946188926697, -0.26495179533958435, -0.3214390277862549, -0.5236218571662903, 0.25030776858329773, -0.1056746244430542, 0.10549473017454147, -0.29165711998939514, 0.008033022284507751, 0.4010598063468933, 0.2500405013561249, 0.9020974040031433, 0.13654933869838715, 0.12679210305213928, -0.2229914367198944, -0.011475693434476852, 0.05199296772480011, 0.23343384265899658, 0.2574402391910553, 0.2664144039154053, 0.06325826048851013, -0.14578860998153687, -0.36612239480018616, 0.8320286870002747, -0.4634873867034912, -0.38685426115989685, -0.19899792969226837, -0.7627966403961182, -0.2980082333087921, 0.33006176352500916, 0.40667274594306946, 0.8679745197296143, -0.5709543824195862, 0.6209582686424255, 0.5424471497535706, 0.006993429269641638, 0.4541555345058441, 0.5174952149391174, -0.037800487130880356, -0.3187539875507355, 0.8702834844589233, -0.2531226873397827, -0.17519237101078033, 0.5466885566711426, 0.28197553753852844, -0.2655763328075409, -0.362964004278183, -0.6831942200660706, -0.17221000790596008, -0.6495769619941711, -0.18076634407043457, -0.6008419990539551, 0.476654976606369, -0.4900079667568207, -0.391289085149765, -0.33933383226394653, 0.058268025517463684, -0.34159794449806213, 0.4445422887802124, -0.05603383481502533, 0.8263477683067322, 0.0323212593793869, 0.12781713902950287, -0.6439932584762573, 0.749824047088623, 0.5495190620422363, 0.5270604491233826, -0.1382928490638733, -0.29326164722442627, -0.11656329035758972, 0.1331099420785904, -0.33046895265579224, -0.7274893522262573, 0.11346165835857391, 0.15091559290885925, 0.603308379650116, 0.856447160243988, -0.08688177913427353, 0.5291271805763245, -0.5769944787025452, 0.44520530104637146, 0.6087232232093811, -0.7885592579841614, 0.35971686244010925, -0.5410172343254089, 0.5148662328720093, 0.535108208656311, 0.12298955023288727, -0.9023592472076416, 0.32058846950531006, -0.35367393493652344, -0.8820040822029114, 0.4620603024959564, -0.21620598435401917, 0.3857688307762146, 0.23050938546657562, 0.25332382321357727, 0.2712947428226471, 0.3781909942626953, -0.6182268261909485, -0.18348604440689087, -0.16655200719833374, -0.09903671592473984, -0.28229036927223206, -0.30670851469039917, -0.3252134323120117, -0.268551230430603, 0.24978777766227722, -0.43714991211891174, 0.09640531986951828, -0.1270485371351242, -0.020605076104402542, -0.16117675602436066, 0.49684983491897583, 0.5468530058860779, 0.8840098977088928, -0.1025531068444252, -0.1432989239692688, -0.21138469874858856, -0.1040349155664444, 0.09547563642263412, 0.24274782836437225, -0.29700568318367004, -0.22702045738697052, -0.1411934345960617, 0.6993095278739929, 0.4980788230895996, -0.795383632183075, 0.7192933559417725, -0.13801877200603485, 0.1056748703122139, -0.38208842277526855, -0.08242014795541763, -0.08910302072763443, 0.338282972574234, 0.3756047487258911, 0.6130480170249939, 0.40853551030158997, -0.7315120697021484, 0.025067036971449852, 0.7633082866668701, -0.4069831371307373, -0.6236705780029297, 0.9805908203125, 0.4126874804496765, -0.12283103168010712, 0.2716923952102661, 0.15483713150024414, -0.0393657423555851, 0.10741975158452988, 0.6489067673683167, 1.0275628566741943, -0.23072122037410736, 0.29919764399528503, 0.024915987625718117, 0.011585013940930367, -0.19066709280014038, -0.10436411201953888, -0.40696287155151367, -0.7038715481758118, -0.06359901279211044, -0.6720549464225769, -0.1427779346704483, 0.16007556021213531, -0.6837879419326782, 0.17217864096164703, -0.42926880717277527, -0.12451782822608948, 0.11209943890571594, -0.6013941168785095, -0.9490342736244202, 0.38673582673072815, 0.16749471426010132, 0.39899057149887085, -0.6964710354804993, 0.5627567768096924, 1.1354323625564575, -0.49701419472694397, -0.406879186630249, -0.061793483793735504, 0.1485321819782257, -0.5860122442245483, 0.4653048813343048, 0.15671329200267792, -0.20826900005340576, -0.31274858117103577, -0.11299439519643784, -0.6674968600273132, 1.134097933769226, 0.4065060019493103, -0.5479418635368347, -0.3550873398780823, -0.004712559282779694, 0.33148640394210815, -0.5432301759719849, 0.060772623866796494, 0.2622087597846985, 0.5099689364433289, 0.28530243039131165, -0.8062570095062256, 0.08507301658391953, -0.44428977370262146, 0.3703306019306183, 0.02384515106678009, -0.419820636510849, 0.8526965975761414, -0.23872201144695282, -0.12185925990343094, 0.18700148165225983, 0.37372463941574097, -0.1271274834871292, 0.40264084935188293, 0.6240755319595337, 0.6297808885574341, 0.2764692008495331, 0.10113131254911423, 1.1876364946365356, -0.41972577571868896, 0.07733020186424255, 1.120497703552246, -0.17087802290916443, 0.4925738275051117, 0.31574925780296326, 0.12250752747058868, 0.3834220767021179, 0.431169718503952, -0.14230071008205414, 0.5039020776748657, -0.29260513186454773, -0.3268454670906067, -0.5709186792373657, -0.3704441785812378, -0.4415626525878906, 0.5907297134399414, -0.10110574215650558, -0.30993685126304626, -0.2848583459854126, 0.446601539850235, -0.31280070543289185, 0.1143699660897255, -0.10176916420459747, 0.7324753403663635, -0.250274658203125, -0.45564472675323486, 0.40324270725250244, 0.2691152095794678, 1.0642162561416626, -0.639529824256897, 0.014200229197740555, 0.03821840137243271, 0.16638711094856262, -0.07443409413099289, -0.41748836636543274, -0.17136621475219727, -0.2749658524990082, -0.5708974599838257, -0.48384395241737366, 0.7944372296333313, -0.4268825948238373, -0.46679025888442993, 0.25692078471183777, 0.6080054044723511, -0.3778335154056549, -0.48550447821617126, -0.7352492809295654, -0.08203805983066559, -0.03225235641002655, -0.27926063537597656, 0.4777323305606842, 0.02901611663401127, 0.053846873342990875, 0.7190884947776794, 0.9476016759872437, -0.27218541502952576, -0.15149544179439545, 0.25094354152679443, 0.84294193983078, -0.4738258719444275, -0.5391000509262085, -0.5788403749465942, 0.5824673771858215, 0.15205536782741547, -0.6550384163856506, 0.6643230319023132, 0.5876709818840027, 0.9435938000679016, -0.26966825127601624, 0.7460708022117615, -0.16082046926021576, 0.0687326192855835, -0.21269366145133972, 0.38224825263023376, -1.0616881847381592, 0.3367014229297638, -0.20838753879070282, -1.159462332725525, -0.28633585572242737, 0.25961944460868835, 0.08571410179138184, 0.42660465836524963, 0.4908994138240814, 0.4593753218650818, -0.44648921489715576, -0.12895138561725616, 0.5666542649269104, -0.3091561496257782, 0.23506832122802734, 0.47996601462364197, 0.635063648223877, -0.09241121262311935, 0.47079506516456604, -0.34997040033340454, -0.18687036633491516, -0.3515574038028717, -0.6338369846343994, -0.7358769774436951, -1.0746275186538696, -0.09920753538608551, 0.034959979355335236, 0.06747111678123474, 1.158473014831543, 1.1198039054870605, -0.623712420463562, -0.3232227563858032, -0.037033095955848694, -0.2665124833583832, -0.27069562673568726, -0.16930173337459564, 0.08787029981613159, -0.15877710282802582, -0.8571180701255798, 0.6478679776191711, 0.7605604529380798, 0.0786464735865593, -0.3379289507865906, 0.11213503777980804, 0.13716842234134674, -0.11476808786392212, 0.7814309000968933, 0.2853497564792633, -0.928014874458313, -0.0843765065073967, -0.036382537335157394, 0.02353321760892868, 0.17951034009456635, 1.298512578010559, -0.6974173784255981, 0.7753381133079529, 0.36847713589668274, 0.470036119222641, 0.27598366141319275, -0.01659904420375824, 0.7216430306434631, -0.5986194610595703, 0.10120341181755066, 0.07791851460933685, 0.5073696374893188, 0.2910085618495941, -0.2803358733654022, 0.28991496562957764, 0.34152984619140625, -0.3750835061073303, -0.600208044052124, 0.5390847325325012, -1.310017466545105, -0.5006798505783081, 1.1032346487045288, -0.0224003829061985, 0.3099015951156616, -0.3314579725265503, -0.3586373031139374, -0.09378358721733093, -0.4873504340648651, 0.8652794361114502, 0.2516060173511505, -0.04975106939673424, 0.04900510981678963, -0.33134767413139343, 0.1887892186641693, 0.5086793899536133, -0.7935532331466675, 0.08203037828207016, 0.7587546110153198, 0.35752686858177185, 0.11531984061002731, 0.5873984098434448, 0.1720084547996521, 0.35764819383621216, -0.4690079092979431, 0.19407902657985687, -0.3698377311229706, -0.6452124714851379, -0.28106436133384705, 0.5782186388969421, -0.18809984624385834, -0.006500041112303734 ]
http://arxiv.org/abs/2403.15436v2
http://arxiv.org/pdf/2403.15436v2
Using Contextual Information for Sentence-level Morpheme Segmentation
2024-03-15T20:12:32
2024-05-14T17:22:05
Prabin Bhandari, Abhishek Paudel
cs.CL
cs.CL
Recent advancements in morpheme segmentation primarily emphasize word-level segmentation, often neglecting the contextual relevance within the sentence. In this study, we redefine the morpheme segmentation task as a sequence-to-sequence problem, treating the entire sentence as input rather than isolating individual words. Our findings reveal that the multilingual model consistently exhibits superior performance compared to monolingual counterparts. While our model did not surpass the performance of the current state-of-the-art, it demonstrated comparable efficacy with high-resource languages while revealing limitations in low-resource language scenarios.
[ -0.26077890396118164, -0.863697350025177, 0.46746084094047546, 0.28981906175613403, -0.4486231207847595, -0.2650611400604248, 0.03208027780056, -0.5481308102607727, -0.0026170960627496243, 0.3567461669445038, -0.7368807792663574, -0.5089483261108398, -0.7762745022773743, 0.43619537353515625, -0.39787447452545166, 0.6721527576446533, 0.32348141074180603, -0.07961498945951462, -0.34127625823020935, -0.26575037837028503, -0.7106187343597412, -0.7133527994155884, -0.49425873160362244, -0.1024966612458229, 0.6874593496322632, 0.36953815817832947, 0.6127747893333435, 0.8633043766021729, 0.5678881406784058, 0.27556708455085754, -0.39777955412864685, 0.09928299486637115, -0.17804720997810364, 0.6060924530029297, -0.2082299143075943, -0.47965964674949646, -0.019581565633416176, -0.24227099120616913, 0.7651881575584412, 1.004433512687683, 0.04096159338951111, -0.0984669104218483, -0.3273405432701111, 0.649618923664093, -0.6907492876052856, 0.0585259310901165, -0.6605183482170105, 0.2066241055727005, -0.48089519143104553, -0.2525547444820404, -0.6070709824562073, 0.09870105981826782, 0.5020798444747925, -0.35197776556015015, -0.0687374472618103, -0.08649386465549469, 0.764745831489563, 0.19511766731739044, -0.564324676990509, -0.2988784909248352, -0.4473254978656769, 0.5033855438232422, -0.5971761345863342, 0.40399354696273804, 0.08695217221975327, -0.16258974373340607, 0.12760990858078003, -0.5020912289619446, -0.11915244907140732, -0.07591612637042999, -0.14789189398288727, -0.16445431113243103, -0.06428854167461395, 0.03677371144294739, 0.4571349322795868, 0.21792645752429962, -0.4801805913448334, 0.05618976801633835, -0.6231608986854553, -0.16921517252922058, 0.32415109872817993, 0.08483796566724777, 0.7775615453720093, -0.6321776509284973, -0.3116806149482727, 0.04176343232393265, -0.5874033570289612, 0.15745362639427185, 0.03316657617688179, 0.5748960971832275, 0.08293367922306061, 0.8426707983016968, 0.09520263224840164, 0.9164348244667053, -0.035011760890483856, -0.4068344831466675, 0.4162346124649048, -0.3734915554523468, -0.19324684143066406, 0.18445247411727905, 0.4932927191257477, 0.17528539896011353, 0.25984302163124084, -0.13940143585205078, -0.12881429493427277, -0.1433226466178894, 0.19611160457134247, -0.7646977305412292, 0.1825922280550003, 0.06836596876382828, -0.20959950983524323, 0.20472152531147003, 0.14002108573913574, -0.9495636820793152, -0.06866993010044098, -0.049448177218437195, 0.30662649869918823, -0.6622346043586731, 0.11337369680404663, -0.049102749675512314, -0.2123134732246399, 0.05874346196651459, 0.08960817754268646, -1.126510739326477, -0.1328182965517044, 0.5758256912231445, 1.4190443754196167, -0.39074012637138367, -0.30949515104293823, -0.6555025577545166, 0.07377713918685913, -0.20146307349205017, 0.9057551622390747, -0.8589601516723633, -0.8181330561637878, 0.011670159175992012, 0.17086608707904816, -0.6963955760002136, -0.6254094839096069, 0.20036353170871735, -0.5012199282646179, 0.35717111825942993, 0.029096582904458046, -0.49748116731643677, -0.22809381783008575, 0.1952299326658249, -0.7202720046043396, 0.5160665512084961, 0.18494437634944916, -0.643435001373291, 0.25985637307167053, -1.0348199605941772, -1.0208972692489624, -0.029981449246406555, -0.045998673886060715, -0.015350164845585823, 0.23005859553813934, 0.41844192147254944, 0.20926831662654877, 0.0704372227191925, 0.08404647558927536, 0.03966895490884781, -0.20060479640960693, 0.06330074369907379, -0.5683955550193787, 0.5951383113861084, 0.1848093420267105, -0.12837782502174377, 0.22008082270622253, -0.6098697185516357, -0.09479987621307373, 0.0709538459777832, -0.4170549213886261, -0.5810746550559998, 0.03478750213980675, 0.07219470292329788, 0.30511367321014404, 0.14720670878887177, -0.4483623504638672, 0.2622837722301483, -0.8155409097671509, 0.76591557264328, 0.3324100077152252, -0.06387261301279068, 0.734271228313446, -0.04803144559264183, 0.7056689858436584, 0.13512323796749115, -0.17552390694618225, -0.84642493724823, -0.6239349246025085, -0.5955939292907715, -0.28868645429611206, 0.4066556394100189, 0.7403029799461365, -0.564946174621582, 0.14638647437095642, -0.2799866795539856, -0.016729963943362236, -0.32166242599487305, -0.276531457901001, 0.28212231397628784, 0.6328449249267578, 0.3972988724708557, -0.23989050090312958, -0.5341202616691589, -1.066525936126709, 0.01135010551661253, 0.05411476269364357, 0.23869411647319794, 0.23848369717597961, 0.42952582240104675, -0.36398231983184814, 0.9623233079910278, -0.5967310070991516, -0.026255326345562935, -0.5078995823860168, 0.3359204828739166, 0.08408753573894501, 0.5098316669464111, 0.5026301741600037, -1.0626331567764282, -0.33041301369667053, -0.07612113654613495, -0.4058621823787689, -0.10668680816888809, 0.04968511313199997, -0.18132653832435608, 0.1647406667470932, 0.6034519076347351, -0.5208724141120911, 0.39027777314186096, 0.6527939438819885, -0.47027134895324707, 0.2483067661523819, -0.2253134846687317, 0.19794274866580963, -1.2677967548370361, 0.23015935719013214, 0.013902410864830017, -0.13951681554317474, -0.9345413446426392, 0.08235927671194077, -0.0022901934571564198, -0.2522081732749939, -0.6755557656288147, 0.5786135196685791, -0.42238807678222656, -0.287477046251297, -0.13158276677131653, 0.14937089383602142, 0.009796054102480412, 0.29765093326568604, 0.15646377205848694, 1.0734785795211792, 0.36033105850219727, -0.5607002377510071, -0.018898647278547287, 0.44287869334220886, -0.5553733110427856, 0.4366592764854431, -0.594016432762146, -0.0405598022043705, -0.34592580795288086, -0.09443604946136475, -0.9923849701881409, -0.4121330976486206, 0.20315758883953094, -0.22104324400424957, 0.06283430755138397, -0.14935551583766937, -0.26304516196250916, -0.049104273319244385, 0.10165233165025711, 0.9490506052970886, 0.3548101484775543, -0.18968752026557922, 0.30529481172561646, 0.48784518241882324, -0.32396554946899414, -0.44441884756088257, -0.7361233830451965, 0.06402959674596786, -0.3995670676231384, -0.9846943616867065, 0.7420471906661987, 0.16695788502693176, -0.2387678623199463, -0.4222666621208191, -0.10894963145256042, -0.4472062289714813, 0.02649467997252941, 0.11458586156368256, 0.15739351511001587, -0.21849340200424194, 0.3550044000148773, -0.023293964564800262, -0.14401233196258545, -0.16830989718437195, -0.1114770844578743, 0.8569225668907166, 0.2592557966709137, -0.3789162337779999, -0.3866351842880249, 0.8085180521011353, 0.8142502307891846, -0.42395976185798645, 0.5491111874580383, 0.3304715156555176, -0.3914230465888977, 0.04634951427578926, -0.25429943203926086, 0.0364672988653183, -0.3890956938266754, 0.693152904510498, -0.37391719222068787, -0.9940763115882874, 0.23557698726654053, 0.12501566112041473, 0.08731289952993393, 0.5785346627235413, 0.24351024627685547, 0.01664191298186779, 1.1094012260437012, 0.5775734782218933, -0.011143174953758717, 0.8015556931495667, 0.14233453571796417, 0.28908267617225647, -1.0472283363342285, -0.3096551299095154, -0.4675893485546112, -0.2216765284538269, -0.34988492727279663, -0.4460514783859253, 0.505181610584259, 0.12534260749816895, 0.16943396627902985, 0.3497771918773651, -0.3722650706768036, 0.2537405788898468, 0.6346661448478699, 0.09568790346384048, 0.2204822301864624, 0.16926708817481995, -0.157536581158638, 0.0025484799407422543, -0.7044045925140381, -0.43069517612457275, 0.5334107279777527, 0.0893922820687294, 0.34782302379608154, -0.09117642045021057, 0.4570581316947937, 0.10835734754800797, -0.07398834079504013, -0.9869697690010071, 0.42061156034469604, -0.4364337921142578, -0.6282137632369995, -0.5159425735473633, -0.3534144163131714, -1.3510578870773315, 0.7773506045341492, 0.19254495203495026, -1.063741683959961, 0.15949413180351257, -0.03699508309364319, -0.6116480231285095, 0.055779047310352325, -0.6069542765617371, 1.1261826753616333, -0.164070725440979, 0.15132366120815277, -0.05108678713440895, -0.7009450793266296, 0.05103478953242302, -0.01945834420621395, 0.5041701197624207, -0.3617568612098694, 0.016738664358854294, 0.8730851411819458, -0.46530893445014954, 0.5443626642227173, 0.03560212627053261, -0.23513257503509521, 0.20272992551326752, -0.19553329050540924, 0.07155609130859375, -0.033117227256298065, -0.08003335446119308, 0.17689473927021027, 0.214482381939888, -0.2217559665441513, -0.484725683927536, 0.2961125373840332, -0.23194444179534912, -0.8023987412452698, -0.2164996713399887, -0.7210209369659424, -0.47011882066726685, 0.16592025756835938, 0.6345219612121582, 0.7317494750022888, -0.08897276967763901, 0.297194242477417, 0.5143547654151917, -0.21532022953033447, 0.7081612348556519, -0.03903617337346077, -0.17740999162197113, -0.2874554693698883, 0.39360275864601135, 0.1517760157585144, 0.4018382728099823, 0.7398973703384399, 0.1692245900630951, -0.32358938455581665, -0.43906739354133606, -0.5684452056884766, 0.12413450330495834, -0.728853702545166, 0.1696207970380783, -0.7553770542144775, -0.20413047075271606, -0.41164273023605347, -0.08281076699495316, -0.27798160910606384, -0.34659549593925476, -0.2615280747413635, 0.08346259593963623, -0.16431182622909546, 0.4568095803260803, 0.1265106499195099, 0.31596529483795166, -1.1663061380386353, 0.21934308111667633, 0.20177726447582245, -0.18746550381183624, -0.2154151052236557, -0.6754934787750244, -0.033764176070690155, 0.11280329525470734, -0.10108138620853424, -1.0998681783676147, 0.3880820572376251, 0.39344674348831177, 0.5354219675064087, 0.3777422308921814, -0.31625497341156006, 0.9768750667572021, -0.7307919859886169, 0.8852595090866089, 0.3186115324497223, -1.0345770120620728, 0.912899911403656, -0.14391641318798065, 1.065611720085144, 0.3604453504085541, 0.2174864113330841, -0.9813979864120483, -0.029388217255473137, -0.005761595908552408, -1.2437442541122437, 0.8095020055770874, 0.16154472529888153, 0.3863012194633484, -0.4501396119594574, 0.31754785776138306, 0.13036899268627167, 0.19700729846954346, -0.814449667930603, -0.0663522332906723, 0.11100310832262039, -0.18162685632705688, 0.0004183105193078518, -0.48549315333366394, 0.05258310213685036, -0.08737283945083618, 0.22163771092891693, 0.04940415173768997, 0.38501855731010437, 0.26420578360557556, -0.5378655791282654, 0.15552343428134918, 0.6124840974807739, 0.9259851574897766, 0.8855207562446594, 0.1724291294813156, 0.09041377156972885, 0.008116742596030235, -0.4040761888027191, 0.2742675840854645, -0.023777130991220474, -0.3904608488082886, 0.20898252725601196, 0.8795158863067627, 0.8317614793777466, 0.511213481426239, -0.848838746547699, 0.5440747141838074, 0.3971700370311737, -0.24477830529212952, 0.343174546957016, -0.012469571083784103, -0.006547218654304743, 0.3006170988082886, 0.26367202401161194, 0.14521650969982147, 0.09093015640974045, -0.690778911113739, 0.25361889600753784, 0.37787845730781555, -0.34467655420303345, -0.2640879154205322, 0.2964015305042267, 0.3126523196697235, -0.46361497044563293, 0.7807093858718872, 0.184406578540802, -0.8193361163139343, 0.8239843249320984, 0.7841015458106995, 0.6694689393043518, -0.40142765641212463, 0.23349100351333618, 0.42128846049308777, 0.013921466656029224, -0.23774653673171997, 0.26859229803085327, -0.09752905368804932, -0.7240005135536194, -0.46480926871299744, -0.5196528434753418, 0.04575300216674805, -0.10930892825126648, -0.595836877822876, -0.12637995183467865, -0.11611640453338623, -0.3234412968158722, -0.043408870697021484, -0.8903554081916809, -0.37282904982566833, 0.35491931438446045, 0.2768341898918152, 0.7635140419006348, -0.2681869566440582, 0.6909602880477905, 0.877647876739502, -0.21864692866802216, -0.35544678568840027, 0.1365399956703186, -0.1975277066230774, -0.8278127312660217, 0.8768554925918579, 0.7802048325538635, -0.23261301219463348, -0.20888996124267578, -0.08497413992881775, -1.1980743408203125, 0.8523157238960266, 0.3849542438983917, -0.7241451144218445, -0.6387200355529785, 0.13573431968688965, 0.29805925488471985, -0.6025007963180542, -0.14385835826396942, 0.2985798418521881, 0.4782528579235077, 0.35007745027542114, -0.982173502445221, -0.2475462704896927, -0.1892259567975998, 0.3443625569343567, 0.3432965874671936, -0.2440468966960907, 0.9122189283370972, -0.23455843329429626, -0.7343849539756775, 0.08137959241867065, 0.5942078232765198, -0.2082120180130005, 0.17535428702831268, 0.7414628863334656, 0.2962379455566406, 0.7268679738044739, -0.23500646650791168, 0.8091452717781067, -0.4552033841609955, 0.18445813655853271, 1.0536655187606812, -0.028467178344726562, 0.8845100998878479, 0.6358630657196045, 0.08280956745147705, 0.5156583189964294, 0.8110097050666809, 0.12670095264911652, 0.8491625785827637, 0.0855112299323082, -0.1779053956270218, -0.3043932020664215, -0.09088925272226334, -0.4029645323753357, 0.6829366087913513, 0.2664332389831543, -0.5224228501319885, -0.23628054559230804, 0.3809448182582855, -0.03263154253363609, -0.08518432825803757, -0.5004560947418213, 0.6794731020927429, -0.059140708297491074, -0.9261210560798645, 0.3103724420070648, 0.25491863489151, 0.8200814127922058, -0.6019114851951599, 0.11264746636152267, -0.060057904571294785, -0.2516862154006958, -0.21168425679206848, -0.43823307752609253, 0.6705271005630493, -0.11002916097640991, -0.18709340691566467, -0.08203411847352982, 0.4196836054325104, -0.5741897225379944, -0.37830886244773865, 0.17779961228370667, 0.6314778327941895, -0.11580779403448105, -0.144026979804039, -0.43363291025161743, -0.06450677663087845, -0.009027156978845596, -0.0425817146897316, 0.1876925230026245, 0.33766433596611023, 0.120002880692482, 0.6757915616035461, 0.24772286415100098, -0.20854483544826508, 0.09282343089580536, 0.15825702250003815, 0.3833836019039154, -0.7856073975563049, -0.7136583924293518, -1.190376877784729, 0.5701730847358704, -0.015536797232925892, -0.6441958546638489, 0.4847400188446045, 0.42546311020851135, 0.8402121067047119, -0.08964590728282928, 0.6875677108764648, -0.01681089587509632, 0.11952554434537888, -0.7191131114959717, 0.16109077632427216, -0.7136411666870117, 0.02095702663064003, -0.2704901695251465, -0.7876089811325073, -0.49299195408821106, 0.9287252426147461, -0.47016602754592896, 0.11017167568206787, 1.0279980897903442, 0.47924482822418213, 0.06126406416296959, -0.005894172005355358, 0.6166226267814636, -0.2822040915489197, 0.006542126648128033, 0.4932654798030853, 0.8446950912475586, -0.029666567221283913, 0.3543007969856262, -0.16482335329055786, -0.07707458734512329, -0.19286677241325378, -0.6260998249053955, -0.7805633544921875, -0.6818069815635681, -0.1403535157442093, 0.0976400375366211, 0.17990654706954956, 1.0879045724868774, 0.9445579648017883, -0.7284013628959656, -0.24760115146636963, -0.0006691404851153493, 0.1712919920682907, -0.161778062582016, -0.21279102563858032, 0.14105087518692017, -0.672187089920044, -0.939427375793457, 0.7076115012168884, 0.7831364274024963, -0.055010877549648285, -0.061071377247571945, 0.3188873827457428, -0.4448206126689911, 0.09330093860626221, 0.9719387888908386, -0.0027969020884484053, -0.8660457730293274, -0.21651816368103027, 0.018519073724746704, -0.23494404554367065, 0.6932514905929565, 1.089478611946106, -0.22661468386650085, 0.355928897857666, 0.40801382064819336, 0.6298778653144836, 0.2376881241798401, 0.31565937399864197, 0.7258153557777405, -0.5546908974647522, 0.029778311029076576, 0.14541487395763397, 0.6790275573730469, 0.3142324984073639, -0.36809611320495605, 0.38811472058296204, 0.3696652948856354, -0.18690960109233856, -0.4675081670284271, 0.5625556111335754, -0.7779510021209717, -0.6209556460380554, 1.3689637184143066, -0.23254969716072083, -0.1819288432598114, -0.08379042148590088, -0.4461311399936676, 0.06950488686561584, -0.30274122953414917, 0.5344343185424805, 0.955841064453125, -0.2063433825969696, -0.2687284052371979, -0.22022922337055206, 0.19010084867477417, 0.5079188346862793, -0.9271209836006165, -0.2250293642282486, 0.6733306050300598, 0.12671200931072235, 0.41978222131729126, 0.577562689781189, -0.18029935657978058, 0.1562066525220871, -0.09351081401109695, -0.4133419394493103, 0.05169623717665672, -0.4519987106323242, -0.339301735162735, 0.8949280381202698, -0.06235841289162636, -0.2436312586069107 ]
http://arxiv.org/abs/2403.10616v1
http://arxiv.org/pdf/2403.10616v1
DiPaCo: Distributed Path Composition
2024-03-15T18:26:51
2024-03-15T18:26:51
Arthur Douillard, Qixuan Feng, Andrei A. Rusu, Adhiguna Kuncoro, Yani Donchev, Rachita Chhaparia, Ionel Gog, Marc'Aurelio Ranzato, Jiajun Shen, Arthur Szlam
cs.LG
cs.LG, cs.CL
Progress in machine learning (ML) has been fueled by scaling neural network models. This scaling has been enabled by ever more heroic feats of engineering, necessary for accommodating ML approaches that require high bandwidth communication between devices working in parallel. In this work, we propose a co-designed modular architecture and training approach for ML models, dubbed DIstributed PAth COmposition (DiPaCo). During training, DiPaCo distributes computation by paths through a set of shared modules. Together with a Local-SGD inspired optimization (DiLoCo) that keeps modules in sync with drastically reduced communication, Our approach facilitates training across poorly connected and heterogeneous workers, with a design that ensures robustness to worker failures and preemptions. At inference time, only a single path needs to be executed for each input, without the need for any model compression. We consider this approach as a first prototype towards a new paradigm of large-scale learning, one that is less synchronous and more modular. Our experiments on the widely used C4 benchmark show that, for the same amount of training steps but less wall-clock time, DiPaCo exceeds the performance of a 1 billion-parameter dense transformer language model by choosing one of 256 possible paths, each with a size of 150 million parameters.
[ -0.2772691249847412, -0.6117948293685913, 0.08349853754043579, 0.5375650525093079, 0.03568962961435318, 0.04615316912531853, -0.2598625719547272, -0.5432482361793518, 0.29632338881492615, 0.2610354721546173, -0.8683511018753052, -0.29165545105934143, -0.3135126233100891, 0.20404011011123657, -0.17690934240818024, 0.891761064529419, -0.21574604511260986, 0.16694505512714386, -0.3402092754840851, -0.23221617937088013, -0.25226467847824097, -0.18015876412391663, -0.5731500387191772, -0.3730180263519287, 0.7961061596870422, 0.2248116284608841, 0.6540036201477051, 0.7405600547790527, 0.4881924092769623, 0.31527817249298096, -0.07839524745941162, 0.25849443674087524, -0.388307124376297, 0.18179425597190857, 0.1395372450351715, -0.70465087890625, -0.8748984336853027, -0.08910078555345535, 0.7894684672355652, 1.1507654190063477, -0.09524066746234894, -0.12002081423997879, -0.07129239290952682, 0.6598731279373169, -0.6815922260284424, -0.08493335545063019, -0.31683608889579773, 0.5764386057853699, 0.0878213495016098, 0.15929432213306427, -0.5497087240219116, -0.20045311748981476, 0.2997562885284424, -0.8236411213874817, 0.19188250601291656, -0.33404621481895447, 0.3209196627140045, 0.2794233560562134, -0.38334164023399353, -0.3159596920013428, -0.7087188959121704, 0.733526885509491, -0.3534156382083893, 0.09539079666137695, 0.015974322333931923, 0.5599490404129028, 0.06674391776323318, -0.8457937240600586, -0.1568429172039032, -0.054859112948179245, 0.12183617800474167, 0.2017902135848999, 0.2529729902744293, 0.12885470688343048, -0.0241237822920084, 0.3319472670555115, -0.41191717982292175, 0.3373193144798279, -0.37251490354537964, -0.2235574871301651, 0.5882953405380249, 0.5325033068656921, 0.2351752370595932, 0.3530066907405853, -0.4301922023296356, 0.13164584338665009, -0.6998706459999084, -0.10978680849075317, 0.4131559729576111, 0.4216320216655731, -0.21303482353687286, 0.08701563626527786, 0.004087464418262243, 0.6979583501815796, 0.1222185492515564, -0.11328988522291183, 0.10915235430002213, -0.15408171713352203, -0.134927898645401, 0.028218301013112068, 0.8167770504951477, -0.0833907276391983, -0.11678507179021835, -0.31580671668052673, -0.20511400699615479, -0.23997661471366882, 0.5139415860176086, -1.0035604238510132, -0.2687118947505951, 0.19667042791843414, -0.2183438390493393, -0.33655932545661926, -0.3152695894241333, -0.5556613802909851, -0.36292195320129395, -0.5204894542694092, 0.4581502377986908, -0.150682732462883, -0.2143206149339676, 0.03636746108531952, 0.09834149479866028, -0.12435277551412582, 0.5086660385131836, -1.2082022428512573, 0.46278494596481323, 0.9463708996772766, 1.260988712310791, -0.444765567779541, -0.7614347338676453, -0.24532872438430786, 0.10314120352268219, -0.45941242575645447, 0.43941760063171387, -0.45100003480911255, -0.48699018359184265, -0.064725860953331, -0.28025585412979126, -0.3352460265159607, -0.545315682888031, 0.24090564250946045, -0.5262372493743896, 0.2534421682357788, -0.05281874164938927, -0.6874299645423889, 0.008098481222987175, 0.36059799790382385, -0.6805438995361328, 0.5854917168617249, 0.1589641273021698, -1.141047716140747, 0.27225345373153687, -0.8050695061683655, -0.8237690925598145, 0.06912963092327118, -0.20041325688362122, -0.500056803226471, -0.2301201969385147, 0.054121844470500946, 0.46391087770462036, -0.1504727005958557, 0.31591272354125977, -0.24821333587169647, -0.7524768114089966, -0.17976395785808563, -0.46499666571617126, 1.2703989744186401, 0.03269762173295021, -0.496921569108963, 0.21204422414302826, -0.8462103009223938, -0.3063566982746124, -0.36725035309791565, -0.8554138541221619, -0.045149605721235275, -0.08061116188764572, -0.060486242175102234, 0.02201656810939312, 0.38767677545547485, -0.5638306140899658, 0.5396744608879089, -0.4671146273612976, 0.431532621383667, 1.1300042867660522, -0.27604082226753235, 0.7795470356941223, -0.3268706202507019, 0.5266759991645813, -0.042706262320280075, 0.6520617008209229, -0.014866800978779793, -0.287373811006546, -0.6194562315940857, -0.8553577065467834, -0.08604328334331512, 0.233955517411232, -0.2171163558959961, 0.5410879850387573, -0.4458932876586914, -0.7832819819450378, -0.3560005724430084, -0.10292594879865646, -0.1421634554862976, 0.39019662141799927, 0.3576374650001526, -0.22131973505020142, -0.6139394640922546, -0.6268855929374695, 0.24556337296962738, 0.13636741042137146, -0.21541574597358704, 0.6407443284988403, 0.22418175637722015, -0.7060391306877136, 0.8897900581359863, -0.5306630730628967, -0.034486979246139526, -0.1261698603630066, 0.10577604174613953, 0.4560835659503937, 0.44502681493759155, 0.3380168080329895, -0.5447750687599182, -0.8060657978057861, 0.16484951972961426, -0.6377593278884888, -0.008733914233744144, -0.13289134204387665, -0.21519862115383148, -0.17477785050868988, 0.2278309315443039, -0.6774940490722656, -0.2707350552082062, 0.6915680170059204, 0.08151806890964508, 0.8322213292121887, -0.4254578649997711, -0.07491302490234375, -1.3190271854400635, 0.05374537408351898, -0.32197806239128113, -0.12609614431858063, -0.4416905641555786, -0.17248748242855072, -0.2345992624759674, -0.1934170126914978, -0.392930805683136, 0.036502230912446976, -0.1923777312040329, -0.20515738427639008, -0.3185834586620331, -0.28050515055656433, 0.032843902707099915, 0.6520858407020569, -0.09405046701431274, 0.719843864440918, 1.2264008522033691, -0.7399224042892456, 0.6568447351455688, 0.2246086597442627, 0.03212279453873634, 0.7044625282287598, -0.8100100755691528, 0.18795496225357056, 0.06367135792970657, 0.6497024297714233, -0.36733347177505493, -0.17927968502044678, -0.13871707022190094, -0.10473155230283737, 0.234619602560997, -0.11326541751623154, -0.2499302625656128, -0.2318742722272873, -0.19116456806659698, 0.5321645140647888, 0.35757842659950256, -0.6842918395996094, 0.7512802481651306, 0.3513968288898468, 0.5069435238838196, -0.8039247989654541, -0.5427258014678955, -0.10389402508735657, -0.17605268955230713, -0.8103843927383423, 0.38645437359809875, -0.3569784462451935, 0.14742031693458557, -0.5483191013336182, -0.1529609113931656, -0.5194722414016724, 0.36567768454551697, 0.6539632081985474, 0.3191794455051422, -0.1836729645729065, -0.03885994106531143, 0.02947419509291649, 0.04116565361618996, 0.1645597219467163, -0.5219647884368896, 0.48621028661727905, 0.04961414635181427, -0.3920116722583771, -0.6613953709602356, 0.36847713589668274, 0.9073852896690369, 0.10930071771144867, 0.9337287545204163, 0.764225423336029, -0.07331003248691559, -0.7457911372184753, 0.36350685358047485, -0.2686574459075928, -0.6094500422477722, 0.1504785716533661, -0.3366353511810303, -1.0406135320663452, 0.42795562744140625, -0.3794598877429962, 0.2568071782588959, 0.12350065261125565, 0.6760661005973816, -0.18642421066761017, 0.5296787619590759, 0.6954388618469238, -0.2750988304615021, 0.5578719973564148, -0.6110783219337463, 0.17277954518795013, -0.5292431116104126, -0.2907174229621887, -0.2353033870458603, -0.5231109261512756, -0.7222135663032532, -0.5895317792892456, 0.48155710101127625, -0.16052410006523132, -0.512183666229248, 0.6196571588516235, -0.4654659330844879, 0.4418558180332184, 0.6696202754974365, 0.3471388816833496, -0.036452971398830414, -0.16423583030700684, -0.40867477655410767, 0.33041059970855713, -0.9147427082061768, -0.1075175404548645, 1.015994668006897, 0.4747828245162964, 0.7121452689170837, -0.234152689576149, 0.9074200391769409, 0.4020331799983978, 0.17821434140205383, -0.7337823510169983, 0.6331673264503479, -0.05861881375312805, -0.6277554631233215, -0.2132081240415573, -0.6148889660835266, -0.7851698994636536, 0.13771271705627441, 0.04741091653704643, -0.4484269618988037, 0.14858901500701904, 0.11215659976005554, -0.2519969940185547, 0.46064066886901855, -0.3792073726654053, 0.6584569215774536, 0.13592369854450226, -0.535283088684082, -0.43743327260017395, -0.7993282079696655, 0.1183740422129631, -0.04434705898165703, -0.14092206954956055, 0.17812511324882507, 0.11749891936779022, 0.6881988048553467, -0.43342170119285583, 0.897164523601532, -0.18321868777275085, -0.04748283699154854, 0.29826292395591736, 0.06777919083833694, 0.4483366310596466, 0.022860055789351463, -0.11731044948101044, 0.38062384724617004, -0.3360385596752167, -0.4723222255706787, -0.3248528838157654, 0.6817266345024109, -1.057863712310791, -0.044568344950675964, 0.09454592317342758, -0.7063778638839722, -0.2558678686618805, 0.011674805544316769, 0.17530560493469238, 0.6688739061355591, -0.2000025361776352, 0.1936570703983307, 0.5481271147727966, -0.1289118379354477, 0.6451454162597656, 0.29759734869003296, 0.3641187846660614, -0.5292515754699707, 0.6498677134513855, -0.20683515071868896, 0.2632831633090973, 0.7353456020355225, 0.16858582198619843, 0.13884006440639496, -0.3799424469470978, -0.26723310351371765, -0.07322042435407639, -0.6509932279586792, 0.07235409319400787, -0.6715630888938904, -0.2786349952220917, -0.09278149902820587, -0.5487268567085266, -0.9713841080665588, -0.17888900637626648, -0.5714935660362244, -0.04983655735850334, 0.08803509175777435, 0.7382407188415527, -0.3069866895675659, 0.38719701766967773, -0.6375438570976257, -0.1086534932255745, 0.4997991621494293, 0.3324028551578522, 0.17604859173297882, -0.24750235676765442, -0.7552696466445923, 0.016071364283561707, -0.2774856984615326, -0.3397044539451599, -0.015878979116678238, 0.16510765254497528, 0.2932397723197937, 0.6804801821708679, -0.15737174451351166, 0.4634053409099579, -0.8080083727836609, 0.664912223815918, 0.46075010299682617, -0.7507705092430115, 0.2438839077949524, -0.4646192789077759, 0.05876478925347328, 0.5111767053604126, 0.7369949817657471, -0.45627090334892273, -0.11716943234205246, -0.2397068738937378, -0.6197853088378906, 0.5767541527748108, -0.0032043915707618, 0.3214832842350006, 0.22366191446781158, 0.11877340823411942, 0.5120614767074585, 0.013964359648525715, -0.6114113926887512, -0.14044152200222015, 0.01466715894639492, -0.3223734200000763, 0.272414892911911, 0.1704477071762085, -0.28687697649002075, -0.5685374736785889, 0.5003864765167236, -0.15194755792617798, 0.28927814960479736, 0.07300378382205963, 0.023333728313446045, -0.009295918047428131, -0.18457730114459991, 0.38723260164260864, 0.8578912615776062, -0.07435494661331177, 0.1693512201309204, -0.13420918583869934, -0.699079692363739, 0.31327691674232483, -0.23130403459072113, -0.11208117753267288, -0.04122898355126381, 0.607250452041626, 0.9226863384246826, -0.019376903772354126, -0.4528418481349945, 0.5078742504119873, 0.002990255132317543, -0.34195849299430847, 0.16681455075740814, 0.3307037949562073, 0.1133558377623558, 0.4353148937225342, 0.16250361502170563, 0.420654296875, 0.09660845994949341, -0.2795051336288452, 0.40704503655433655, 0.1279880553483963, -0.35691213607788086, -0.7293335795402527, 0.45005977153778076, 0.45738092064857483, -0.24259907007217407, 0.5492621064186096, 0.2481747418642044, -0.6579656004905701, 0.5604255795478821, 0.3651076555252075, 0.8992342948913574, -0.20487567782402039, 0.4912737309932709, 0.37130308151245117, 0.20386795699596405, -0.10627167671918869, -0.27480828762054443, -0.571161687374115, -0.46308454871177673, -0.35145315527915955, -0.8358296155929565, -0.5534939169883728, -0.4113663136959076, -0.17439144849777222, 0.1433381587266922, -0.5414459109306335, 0.04271138459444046, -0.26601842045783997, 0.08268941938877106, -0.41082292795181274, 0.24819138646125793, 0.07055705040693283, 0.7633713483810425, -1.134002923965454, 0.7388874292373657, 0.5674216747283936, -0.10136491805315018, -0.8210058808326721, -0.008635607548058033, -0.5309918522834778, -0.4106813073158264, 0.6656726002693176, 0.3526575267314911, -0.024348469451069832, -0.12561430037021637, -0.3174276053905487, -0.4382612109184265, 1.1964361667633057, 0.45761069655418396, -0.5149078369140625, -0.029292475432157516, 0.3866172432899475, 0.6648502349853516, -0.3197517693042755, 0.2906387448310852, 0.17904649674892426, 0.0888797864317894, 0.280806303024292, -1.0044301748275757, -0.18379870057106018, 0.22001239657402039, -0.2642865478992462, -0.041654352098703384, -0.6449111700057983, 1.28978431224823, -0.05092565715312958, -0.027619071304798126, -0.3273774981498718, 0.30000174045562744, 0.015563671477138996, 0.20887941122055054, 0.3463430404663086, 0.63665771484375, 0.8153738379478455, 0.32662010192871094, 0.8871083855628967, -0.16361816227436066, 0.4633925259113312, 1.115765929222107, -0.14819449186325073, 0.5155361890792847, 0.30966246128082275, -0.47532275319099426, 0.6379045844078064, 0.7691102027893066, 0.3341394066810608, 0.8177570700645447, 0.32876211404800415, -0.7363260388374329, -0.06908110529184341, 0.16120152175426483, 0.023078083992004395, 0.4190096855163574, -0.20252400636672974, -0.2824977934360504, -0.11414389312267303, 0.17413389682769775, -0.27416345477104187, -0.17468909919261932, -0.4786488711833954, 0.6283185482025146, -0.06325999647378922, -0.45458006858825684, 0.6729279160499573, -0.25360631942749023, 0.6995982527732849, -0.4681265950202942, 0.3174658715724945, -0.660155713558197, 0.4097864627838135, -0.216912642121315, -0.289715975522995, 0.3977587819099426, -0.3137913942337036, -0.044738899916410446, -0.20620045065879822, 0.35157260298728943, -0.15863773226737976, -0.1508117914199829, 0.24998946487903595, 0.13985104858875275, -0.028552163392305374, 0.09629998356103897, -0.5763442516326904, 0.0400177426636219, -0.2997346520423889, -0.20778489112854004, 0.16469047963619232, 0.4942813515663147, 0.3039582073688507, 0.8405091166496277, 0.3735004663467407, 0.05631304532289505, 0.34873679280281067, 0.03672841563820839, 1.024232268333435, -0.21672934293746948, -0.6248898506164551, -0.8485613465309143, 0.41074439883232117, -0.07913336902856827, -0.04527417570352554, 0.5683392286300659, 0.5738138556480408, 0.5818161964416504, -0.11843621730804443, 0.4069560468196869, 0.028773976489901543, -0.19125494360923767, -0.06869316846132278, 0.6037402749061584, -0.4283333122730255, 0.15912120044231415, 0.08988073468208313, -0.9703494310379028, -0.15602584183216095, 0.5050925612449646, 0.05142848938703537, -0.025463368743658066, 0.6698004007339478, 0.7241743206977844, -0.3963938057422638, 0.024452347308397293, 0.20819243788719177, 0.07516083866357803, 0.3279039263725281, 0.780245304107666, 0.5741026997566223, -0.20503288507461548, 0.2755938470363617, -0.1520334631204605, -0.17549753189086914, -0.3408105969429016, -0.5746771693229675, -0.9931167960166931, -0.4819110929965973, -0.300192266702652, -0.025080816820263863, -0.03664283826947212, 0.6784862875938416, 1.1158283948898315, -0.5354195833206177, -0.4486348330974579, -0.8827211260795593, 0.04438963904976845, -0.2980170249938965, -0.16744033992290497, 0.2677038609981537, -0.26182180643081665, -0.7634153366088867, 0.5840701460838318, 0.5546064376831055, -0.15120115876197815, -0.6853944063186646, -0.34730663895606995, -0.030544351786375046, 0.13941869139671326, 0.38998469710350037, -0.17322547733783722, -0.05764494836330414, -0.030867096036672592, 0.00653385603800416, -0.396925151348114, 0.3331146240234375, 0.9250504970550537, -0.45199552178382874, 0.5987439751625061, 0.6384730935096741, 0.8577998280525208, 0.567150890827179, -0.27315109968185425, 0.7535991072654724, -1.0158573389053345, 0.30171582102775574, 0.49856290221214294, 0.2167883664369583, 0.3048928678035736, -0.2866077125072479, 0.22613421082496643, 0.4575337767601013, -0.7494654059410095, -0.5844747424125671, 0.23062089085578918, -0.9691426753997803, -0.4043313264846802, 0.7892863750457764, -0.5366644263267517, -0.4513467252254486, 0.21267151832580566, -0.005770614370703697, 0.37783434987068176, 0.08163926750421524, 0.9148411750793457, 0.25312376022338867, -0.09664363414049149, 0.29986000061035156, -0.12495628744363785, 0.266216903924942, 0.06493238359689713, -0.8445814847946167, 0.17204754054546356, 0.6506096124649048, 0.26353657245635986, 0.17204149067401886, 0.5913342833518982, 0.3079184889793396, 0.05878744274377823, 0.4016943573951721, -0.025678252801299095, -0.10154829174280167, -0.6925235390663147, -0.08960442990064621, 0.32495927810668945, -0.30670714378356934, -0.4957214891910553 ]
http://arxiv.org/abs/2403.10596v1
http://arxiv.org/pdf/2403.10596v1
Neural Erosion: Emulating Controlled Neurodegeneration and Aging in AI Systems
2024-03-15T18:00:00
2024-03-15T18:00:00
Antonios Alexos, Yu-Dai Tsai, Ian Domingo, Maryam Pishgar, Pierre Baldi
cs.CL
cs.CL, cs.AI, q-bio.NC
Creating controlled methods to simulate neurodegeneration in artificial intelligence (AI) is crucial for applications that emulate brain function decline and cognitive disorders. We use IQ tests performed by Large Language Models (LLMs) and, more specifically, the LLaMA 2 to introduce the concept of ``neural erosion." This deliberate erosion involves ablating synapses or neurons, or adding Gaussian noise during or after training, resulting in a controlled progressive decline in the LLMs' performance. We are able to describe the neurodegeneration in the IQ tests and show that the LLM first loses its mathematical abilities and then its linguistic abilities, while further losing its ability to understand the questions. To the best of our knowledge, this is the first work that models neurodegeneration with text data, compared to other works that operate in the computer vision domain. Finally, we draw similarities between our study and cognitive decline clinical studies involving test subjects. We find that with the application of neurodegenerative methods, LLMs lose abstract thinking abilities, followed by mathematical degradation, and ultimately, a loss in linguistic ability, responding to prompts incoherently. These findings are in accordance with human studies.
[ -0.30069974064826965, -1.333467960357666, 0.6297780871391296, 0.10996369272470474, 0.18735641241073608, 0.22398415207862854, -0.2764442563056946, -0.49276095628738403, 0.4049956500530243, 0.42323800921440125, -0.6021834015846252, -0.26662757992744446, -0.409934401512146, -0.1780124306678772, -0.53998863697052, 0.8290541172027588, -0.019001413136720657, 0.46278926730155945, -0.6543220281600952, 0.1406530737876892, -0.23689314723014832, -0.3613468408584595, -1.084366798400879, -0.9149871468544006, 0.3537404537200928, 0.12421483546495438, 0.6753398776054382, 0.4967373311519623, 0.534101665019989, 0.34590259194374084, -0.41012394428253174, -0.26059114933013916, -0.5167154669761658, 0.1271345019340515, -0.031402915716171265, -0.655252993106842, -0.5119733214378357, -0.21279457211494446, 0.47584524750709534, 0.8336689472198486, -0.2472658008337021, -0.13577544689178467, -0.012899046763777733, 0.5757269263267517, -0.5203418731689453, -0.09667225182056427, -0.4216974079608917, 0.2737545669078827, 0.0032472002785652876, -0.2543365955352783, -0.32764682173728943, -0.39015865325927734, 0.17613179981708527, -0.5075925588607788, -0.05366751551628113, -0.18229061365127563, 0.7085850834846497, 0.5439382791519165, -0.09984113276004791, -0.22255249321460724, -0.7540519833564758, 0.6869944930076599, -0.7534950375556946, -0.058246172964572906, 0.8582741022109985, 0.19187258183956146, -0.20534135401248932, -0.6544046401977539, -0.6803801655769348, -0.7377526164054871, 0.38525253534317017, 0.1495686024427414, -0.2019546777009964, 0.2878844738006592, 0.22865836322307587, 0.20009098947048187, -0.47365468740463257, 0.5476929545402527, -0.7625188231468201, -0.2940466105937958, 0.5971001386642456, 0.43973276019096375, 0.7702468037605286, 0.11381518840789795, -0.24262197315692902, 0.04863051325082779, -0.8319567441940308, -0.13685622811317444, 0.5267413854598999, -0.2660808265209198, -0.022390730679035187, 0.6657127737998962, -0.08761661499738693, 0.3112887144088745, -0.14792819321155548, 0.022729650139808655, 0.16461656987667084, -0.12208916991949081, -0.04141087457537651, 0.0666671171784401, 0.5419406294822693, 0.766026496887207, 0.505032479763031, -0.3934198021888733, -0.09616782516241074, 0.26231205463409424, 0.34437400102615356, -0.5008604526519775, -0.4519259035587311, 0.27383285760879517, -0.625569224357605, -0.25827154517173767, -0.7339470386505127, -0.7825390100479126, -0.6461610794067383, -0.2339015007019043, 0.574388325214386, -0.881949782371521, -0.16193078458309174, -0.019713955000042915, -0.530516505241394, 0.16953960061073303, 0.188522607088089, -0.8444363474845886, 0.5950208902359009, 0.45862820744514465, 0.6154427528381348, -0.2636783719062805, -0.4315204322338104, 0.07580707222223282, -0.270504355430603, -0.3729490339756012, 0.8446149826049805, -0.44325122237205505, -0.11994960159063339, -0.12472949922084808, -0.4069875180721283, 0.010249649174511433, -0.7285075783729553, 0.2687945067882538, -0.6137402057647705, 0.008354690857231617, 0.3399614095687866, -0.3513084650039673, -0.45045047998428345, 0.06676795333623886, -0.6140689849853516, 0.6519033908843994, 0.06812180578708649, -0.3368847370147705, 0.21448542177677155, -0.7551316618919373, -0.3753058612346649, -0.07421543449163437, -0.09632609784603119, -0.3058692514896393, 0.31058886647224426, -0.13891683518886566, 0.029071785509586334, -0.307117223739624, 0.14124730229377747, -0.6169589757919312, -0.2808228135108948, 0.08769766241312027, -0.44306668639183044, 0.980811595916748, -0.06280697882175446, -0.4984545409679413, -0.06706622987985611, -0.524465799331665, 0.2946191430091858, 0.2903933525085449, -0.25118035078048706, -0.5528662204742432, 0.677460789680481, -0.1805572509765625, -0.05954965204000473, 0.18238165974617004, -0.555145800113678, 0.1294579803943634, -0.6375502943992615, 0.7353025674819946, 0.7451564073562622, 0.20788589119911194, 0.4666229784488678, -0.5568851232528687, 0.538604736328125, 0.018408002331852913, 0.2546062469482422, 0.06679769605398178, -0.34726399183273315, -0.9799439907073975, 0.33394137024879456, 0.3247480094432831, 0.8097040057182312, -0.8208413124084473, 0.1417258381843567, -0.33098506927490234, -0.4465317130088806, -0.2353058159351349, -0.04615972191095352, 0.1846802681684494, 0.3300896883010864, 0.46964114904403687, -0.4143340587615967, -0.2275829315185547, -1.2199187278747559, 0.16099324822425842, -0.2619723975658417, -0.13255272805690765, -0.016053538769483566, 0.422286719083786, -0.27584901452064514, 0.4956202805042267, -0.23746976256370544, -0.10536296665668488, 0.1458648294210434, 0.23031456768512726, -0.487090140581131, 0.7280054688453674, 0.4029013216495514, -0.42163950204849243, 0.4043046236038208, -0.19624391198158264, -0.6389001607894897, 0.09451787918806076, -0.1852647215127945, -0.13000401854515076, 0.24216356873512268, 0.6290019750595093, -0.602343738079071, 0.7723528742790222, 0.5473591685295105, -0.35673198103904724, 0.5409662127494812, -0.2281271517276764, -0.07182679325342178, -0.4776594340801239, -0.07867128401994705, -0.06776731461286545, 0.2064439207315445, -0.5544660091400146, -0.22471965849399567, -0.2951164245605469, -0.0698481872677803, -0.1774754524230957, 0.24921920895576477, -0.18044555187225342, 0.1292019933462143, -0.41680970788002014, 0.15838122367858887, -0.03399044647812843, 0.28510424494743347, -0.33774298429489136, 0.5731748342514038, 0.6127225756645203, -0.780613899230957, 0.22290639579296112, 0.13511286675930023, -0.16549983620643616, 0.4223169982433319, -0.8576235175132751, 0.13677750527858734, -0.4075743556022644, -0.06362855434417725, -0.8595589399337769, 0.030869634822010994, 0.15914729237556458, -0.5788499116897583, 0.25194817781448364, 0.5135806202888489, -0.29512542486190796, -0.22845491766929626, -0.42966631054878235, 0.29621902108192444, 0.6765770316123962, -0.17004670202732086, 0.7771293520927429, 0.630132257938385, -0.504894495010376, -0.25305598974227905, -1.3073009252548218, 0.44044333696365356, -0.13344261050224304, -0.6100296974182129, 0.7440406084060669, -0.3146837651729584, -0.7188222408294678, 0.15772004425525665, 0.27189138531684875, -0.3288877010345459, 0.31649768352508545, 0.24808064103126526, -0.13474920392036438, -0.2531169056892395, 0.3487364947795868, 0.3427450656890869, 0.10009976476430893, 0.4316496253013611, 0.21725349128246307, 0.855934202671051, 0.28901609778404236, -0.27957892417907715, -0.8232656717300415, 0.5279298424720764, 0.8502407073974609, -0.14156442880630493, 0.40689292550086975, -0.08279344439506531, -0.538135826587677, -0.3887171745300293, -0.3733629286289215, -0.43226155638694763, -0.45194852352142334, 0.5139504671096802, -0.18901237845420837, -0.3994617462158203, 0.7091168165206909, -0.27969613671302795, -0.09705580025911331, 0.6890296936035156, 0.5509451031684875, -0.21573178470134735, 1.3550711870193481, 0.9498835206031799, -0.12277714163064957, 0.42397287487983704, -0.3950514793395996, -0.1920926868915558, -0.7664327621459961, -0.3230360150337219, -0.34410449862480164, -0.6457827687263489, -0.43412742018699646, -0.203205868601799, -0.0007602858240716159, -0.014113642275333405, -0.45543748140335083, -0.20517127215862274, -0.5251172780990601, 0.5223899483680725, 0.6879491806030273, 0.5908069610595703, 0.044609181582927704, 0.09009135514497757, -0.03142882511019707, -0.032468751072883606, -0.8018541932106018, -0.5465179681777954, 0.8858338594436646, 0.4706844687461853, 1.0129115581512451, -0.30831244587898254, 0.542372465133667, 0.5746265053749084, 0.5512528419494629, -0.8081619739532471, 0.4960699677467346, -0.06656514108181, -0.5110489130020142, -0.19004420936107635, -0.3842320144176483, -0.8542020320892334, -0.5997328758239746, -0.08240649849176407, -0.6977536082267761, 0.31884709000587463, 0.14459538459777832, -0.48636600375175476, 0.34310874342918396, -0.725295901298523, 0.4214265048503876, -0.5629013180732727, -0.17715588212013245, -0.6934354305267334, -0.6654072403907776, 0.5754989981651306, -0.013963592238724232, -0.17326414585113525, -0.034898582845926285, -0.2934225797653198, 0.8178476095199585, -0.3154878318309784, 1.0704374313354492, -0.292296826839447, 0.1328492909669876, 0.48825275897979736, 0.23881085216999054, -0.004352149553596973, -0.16172382235527039, -0.24384468793869019, 0.25450003147125244, -0.1438896507024765, -0.35280174016952515, -0.6193896532058716, 0.8843523263931274, -0.9264881610870361, -0.4675601124763489, -0.5408341288566589, -0.5768678188323975, 0.040116891264915466, 0.053149621933698654, 0.05058297887444496, 0.3365863859653473, -0.26071152091026306, -0.170749232172966, 0.5052958130836487, -0.4828376770019531, 0.577307939529419, 0.09295953810214996, -0.10671624541282654, -0.8372276425361633, 0.816993772983551, 0.2837302088737488, 0.4159511625766754, -0.2042391449213028, 0.0520295575261116, -0.003448633011430502, -0.9685137867927551, -0.2335750162601471, 0.13628749549388885, -0.6587804555892944, -0.19321981072425842, -0.15392522513866425, -0.156088724732399, -0.08803640305995941, -0.009870543144643307, 0.05877496674656868, -0.6546348929405212, -0.2764028310775757, -0.11048606038093567, 0.56716388463974, 0.968121349811554, -0.09326811134815216, 0.5219537019729614, -0.2610628306865692, 0.2988322377204895, 0.08228448033332825, 0.374836802482605, 0.022568918764591217, -0.2814693748950958, 0.07215648144483566, 0.34577611088752747, -0.4314832091331482, -0.9455118775367737, 0.31223776936531067, 0.5039108991622925, 0.5010722875595093, 0.4203551113605499, -0.1411397010087967, 0.5762100219726562, -0.5031697154045105, 0.8019640445709229, 0.10076474398374557, -0.7637853026390076, 0.4571266174316406, -0.13321685791015625, 0.3163231611251831, 0.8217337131500244, 0.4495929479598999, -0.425808310508728, -0.3566049635410309, -0.7283589839935303, -1.0700078010559082, 0.381100594997406, -0.17229802906513214, 0.3926856219768524, -0.15009620785713196, 0.6323657631874084, -0.13846425712108612, -0.2521895170211792, -0.5005369186401367, -0.24947255849838257, 0.09528917074203491, -0.1535746455192566, -0.07245093584060669, -0.3425319194793701, -0.26103436946868896, -0.2738226056098938, 0.5303158760070801, -0.02286837249994278, 0.5131758451461792, 0.483136922121048, -0.2312467396259308, -0.15591467916965485, -0.43524909019470215, 0.9511663317680359, 0.6565762162208557, 0.026980405673384666, 0.11102442443370819, 0.4290608763694763, -0.521814227104187, 0.15989819169044495, 0.022368473932147026, -0.6084536910057068, -0.2835228741168976, 0.24593877792358398, 0.5176308751106262, -0.0401325449347496, -0.9540770649909973, 0.16005194187164307, -0.14138613641262054, -0.308948278427124, -0.7101605534553528, 0.14533287286758423, 0.2139274626970291, 0.1799219846725464, 0.3553065061569214, 0.5254820585250854, 0.127751886844635, -0.5257766842842102, 0.6406769156455994, 0.30067479610443115, -0.5741633176803589, -0.19216345250606537, 0.7039336562156677, 0.09782176464796066, -0.6899381279945374, 1.1061538457870483, -0.01800346001982689, -0.5168245434761047, 1.1218788623809814, 0.5915371179580688, 0.8906438946723938, -0.1343097686767578, 0.035646554082632065, 0.04426279291510582, 0.5811519026756287, 0.11125830560922623, 0.4131987690925598, 0.10299906134605408, -0.5289289951324463, -0.8112680912017822, -0.4236016273498535, -0.3475744426250458, 0.11324838548898697, -0.5106102228164673, 0.03034551441669464, -0.9093717336654663, -0.4849097430706024, 0.1433795541524887, -0.3937981426715851, -0.3549852967262268, 0.1630965918302536, 0.5067288875579834, 1.1595181226730347, -0.723531186580658, 0.425994336605072, 0.5584917664527893, -0.5685123801231384, -0.12274659425020218, 0.13170459866523743, -0.0845549926161766, -0.7864468693733215, 0.9539850354194641, 0.10455349832773209, -0.12896376848220825, 0.15401072800159454, -0.7997203469276428, -0.7925509810447693, 0.9572671055793762, 0.49562862515449524, 0.039643384516239166, -0.017093125730752945, -0.07290297746658325, 0.6584874391555786, -0.11325383931398392, 0.4454255700111389, 0.6926845908164978, 0.5408279299736023, -0.418268084526062, -0.747441828250885, -0.13960763812065125, -0.3965705633163452, -0.052078407257795334, 0.08195021748542786, -0.8357511162757874, 0.6922674179077148, -0.46177148818969727, -0.25715816020965576, 0.3161923289299011, 0.762126624584198, 0.11404582113027573, 0.5105311274528503, 0.3614923655986786, 0.8854291439056396, 0.5622800588607788, -0.19452039897441864, 1.176810383796692, -0.43951544165611267, -0.14690425992012024, 0.6402723789215088, -0.03445035591721535, 0.9441328048706055, 0.4894677996635437, 0.11813138425350189, 0.6009706854820251, 0.5975423455238342, 0.07154127955436707, 0.4037204384803772, 0.8172820210456848, -0.3232710063457489, 0.17647942900657654, -0.24326738715171814, -0.05099128186702728, 0.6517398953437805, 0.5865526795387268, -0.4694168269634247, -0.22533158957958221, 0.33047962188720703, 0.1757434755563736, 0.2573772966861725, -0.36319980025291443, 0.6115685105323792, 0.09181143343448639, -0.5003133416175842, 0.7015954256057739, -0.05132361873984337, 0.7609090209007263, -0.576837420463562, -0.1564617156982422, -0.30102816224098206, 0.31604450941085815, 0.090410977602005, -0.5019996762275696, 0.5810924768447876, -0.3374456763267517, -0.24414503574371338, -0.1068815216422081, 0.5198154449462891, -0.31929072737693787, -0.4992516338825226, 0.6024765968322754, 0.4105003774166107, 0.3780306875705719, 0.10577176511287689, -0.848135232925415, 0.16124969720840454, -0.15116183459758759, -0.5042877793312073, 0.08630702644586563, 0.1285228431224823, -0.14937663078308105, 1.0802679061889648, 0.33889591693878174, 0.2312256097793579, 0.2638273239135742, 0.03205212950706482, 0.8901126384735107, -0.7688411474227905, 0.20741808414459229, -1.0316641330718994, 0.2524908483028412, -0.2085098922252655, -0.6117733716964722, 0.40745413303375244, 0.5517663955688477, 0.5050050020217896, 0.11483336240053177, 0.7017029523849487, -0.23312383890151978, -0.019858641549944878, -0.5313090085983276, 1.0938818454742432, -0.6474770903587341, -0.25968700647354126, 0.13409943878650665, -0.6237049698829651, -0.639303982257843, 0.42069244384765625, -0.40498992800712585, 0.3795943558216095, 0.7859268188476562, 0.9104036688804626, 0.34582340717315674, -0.31931430101394653, 0.18453280627727509, 0.4016394019126892, 0.1792842447757721, 0.6356481909751892, 1.044606328010559, -0.381390780210495, 0.4240974187850952, -0.5496878027915955, -0.3320148289203644, -0.007185155525803566, -0.5458952188491821, -0.5256972312927246, -0.2791019678115845, -0.5625159740447998, -0.3020629584789276, 0.39841577410697937, 0.4950476288795471, 0.44539588689804077, -0.5329084396362305, -0.11753188073635101, -0.19035841524600983, -0.01182748842984438, -0.3858218789100647, -0.23286616802215576, 0.4328908920288086, -0.32842710614204407, -0.7259925007820129, 0.4508819282054901, 0.274155855178833, 0.27488431334495544, -0.6023958325386047, 0.1723000854253769, -0.13445739448070526, -0.1457320749759674, 0.5146024823188782, 0.33416470885276794, -0.6429740190505981, -0.2673357129096985, 0.13379837572574615, -0.05216458812355995, -0.12672486901283264, 0.41064250469207764, -0.911594808101654, 0.3539479970932007, 0.8501425385475159, 0.678824782371521, 0.10458377003669739, 0.10968713462352753, 0.8221224546432495, 0.053322918713092804, -0.03366835042834282, 0.759274959564209, 0.07020926475524902, 0.28321412205696106, -0.372362345457077, 0.16768909990787506, 0.09269237518310547, -0.8440995812416077, -0.6492190957069397, 0.023159123957157135, -0.782444179058075, -0.20287220180034637, 0.7076074481010437, 0.29939326643943787, -0.7168355584144592, -0.05072656273841858, -0.2007264792919159, 0.19019143283367157, -0.16853010654449463, 1.061145305633545, 0.6605459451675415, -0.395203173160553, -0.27284005284309387, -0.9154456853866577, 0.46584299206733704, 0.8300784826278687, -0.8489370942115784, 0.11318916827440262, 0.6827482581138611, 0.10493282973766327, 0.3556951582431793, 0.40830832719802856, -0.21543243527412415, 0.42685961723327637, 0.36979833245277405, 0.6306852102279663, 0.09650114178657532, -0.26748743653297424, -0.7198275327682495, 0.1328260898590088, 0.2617819309234619, 0.029681431129574776 ]
http://arxiv.org/abs/2403.10517v1
http://arxiv.org/pdf/2403.10517v1
VideoAgent: Long-form Video Understanding with Large Language Model as Agent
2024-03-15T17:57:52
2024-03-15T17:57:52
Xiaohan Wang, Yuhui Zhang, Orr Zohar, Serena Yeung-Levy
cs.CV
cs.CV, cs.AI, cs.CL, cs.IR
Long-form video understanding represents a significant challenge within computer vision, demanding a model capable of reasoning over long multi-modal sequences. Motivated by the human cognitive process for long-form video understanding, we emphasize interactive reasoning and planning over the ability to process lengthy visual inputs. We introduce a novel agent-based system, VideoAgent, that employs a large language model as a central agent to iteratively identify and compile crucial information to answer a question, with vision-language foundation models serving as tools to translate and retrieve visual information. Evaluated on the challenging EgoSchema and NExT-QA benchmarks, VideoAgent achieves 54.1% and 71.3% zero-shot accuracy with only 8.4 and 8.2 frames used on average. These results demonstrate superior effectiveness and efficiency of our method over the current state-of-the-art methods, highlighting the potential of agent-based approaches in advancing long-form video understanding.
[ -0.3032226264476776, -0.9926442503929138, 0.8767768740653992, 0.09141508489847183, -0.25120455026626587, 0.12957698106765747, -0.4312361478805542, -0.4963914752006531, 0.10483972728252411, 0.5111293196678162, -0.5202732682228088, -0.38593780994415283, -0.6722428798675537, -0.19285589456558228, -0.44481566548347473, 0.40238863229751587, -0.3295396864414215, 0.05364103987812996, -0.12831425666809082, -0.2505284547805786, -0.5208203196525574, -0.27582651376724243, -0.7053149938583374, -0.3982555568218231, 0.2621973752975464, 0.4200923442840576, 1.0180648565292358, 0.5006759166717529, 0.5682334303855896, 0.4728441834449768, 0.24958087503910065, 0.11234108358621597, -0.25659653544425964, 0.10865617543458939, -0.33480557799339294, -0.33991339802742004, -0.47576671838760376, -0.36508649587631226, 0.680815577507019, 0.4188707172870636, -0.10012414306402206, 0.416887104511261, -0.5021805167198181, 0.5155792832374573, -0.8289242386817932, 0.46358925104141235, -0.3238903880119324, 0.09397580474615097, 0.121623694896698, -0.260128915309906, -0.48521581292152405, 0.12600404024124146, 0.2260395735502243, -0.6651219129562378, 0.16801846027374268, -0.5046465992927551, 0.565741240978241, 0.49125102162361145, -0.4402361512184143, 0.10559173673391342, -0.9970781803131104, 0.38670119643211365, -0.1510309875011444, 0.631174623966217, 0.5915293097496033, 0.9734337329864502, 0.01783796027302742, -0.5270178318023682, -0.7666670083999634, -0.30129319429397583, 0.47758182883262634, 0.06722923368215561, -0.2749664783477783, 0.3023684620857239, 0.20631574094295502, -0.12806937098503113, -0.8172004222869873, 0.05349494889378548, -0.23901115357875824, -0.1633567214012146, 0.6267929673194885, 0.0031638657674193382, 0.3192555904388428, -0.09449964761734009, -0.25513139367103577, -0.2040647715330124, 0.01733015477657318, 0.18419915437698364, -0.07567574828863144, -0.1881662756204605, 0.13516612350940704, 0.6306126713752747, -0.4148643910884857, 0.736613929271698, -0.16677241027355194, -0.19163331389427185, 0.08858555555343628, 0.1673922836780548, -0.6726048588752747, -0.013569566421210766, 0.485896497964859, 0.5494697690010071, 0.39552775025367737, -0.02430003508925438, -0.21488624811172485, 0.2941291928291321, 0.07936051487922668, -0.7960965037345886, -0.07846911251544952, 0.2363109588623047, -0.21023619174957275, 0.04915837571024895, 0.18084804713726044, -0.5607088208198547, -0.38965141773223877, -0.41812774538993835, 0.7706242203712463, -0.3665581941604614, -0.26147639751434326, 0.334819495677948, -0.17058494687080383, 0.7793190479278564, 0.9047779440879822, -0.37709829211235046, 0.2705170214176178, 0.4711920917034149, 0.6334322690963745, -0.08485545963048935, -0.6654939651489258, -0.9216554760932922, 0.31871265172958374, -0.5096089243888855, 0.8356436491012573, -0.3854856789112091, 0.09111838787794113, 0.08742422610521317, 0.28807333111763, 0.26330891251564026, -0.4081187844276428, -0.09326648712158203, -0.728410542011261, -0.10636863857507706, 0.11590036004781723, -0.2832469046115875, -0.37818166613578796, 0.525507926940918, -0.827763557434082, 0.6203742623329163, -0.08177268505096436, 0.12173417210578918, 0.41446322202682495, -0.4896327555179596, -0.08613882213830948, 0.3205586075782776, -0.3679055869579315, -0.10197865217924118, -0.17952634394168854, 0.19912289083003998, 0.36961156129837036, -0.3014765977859497, 0.45177939534187317, -0.13908080756664276, -0.24342015385627747, 0.372746080160141, -0.8017438054084778, 0.19300279021263123, 0.02537134476006031, -0.4626571834087372, 0.15492160618305206, -0.7236502170562744, -0.113310806453228, 0.08319684118032455, 0.15510116517543793, 0.1539192497730255, -0.10138074308633804, 0.015159793198108673, 0.2502656877040863, 0.21208502352237701, -0.38678935170173645, 0.2004159688949585, 0.10042601078748703, 0.3504328429698944, 0.8695397973060608, -0.262859582901001, 0.5020319819450378, 0.1123470887541771, 0.7721676230430603, -0.2500648498535156, 0.4473341405391693, -0.3298257291316986, -0.1807313710451126, -0.5329442024230957, -0.19595780968666077, -0.3485584855079651, 0.44399020075798035, -1.0536978244781494, -0.169433131814003, -0.3731517791748047, -0.32626041769981384, -0.051874011754989624, 0.25324034690856934, 0.2911036014556885, 0.16983215510845184, 0.32044708728790283, -0.36032727360725403, -0.14325886964797974, -0.7060254812240601, 0.2897603511810303, -0.44958698749542236, 0.08733316510915756, 0.1618121713399887, 0.6357465982437134, -0.277098685503006, 0.9161586165428162, -0.7581624388694763, -0.2852289378643036, -0.36117109656333923, 0.158767968416214, 0.13517537713050842, -0.02356133423745632, 0.5411268472671509, -1.0116426944732666, -0.33548879623413086, 0.23647864162921906, -1.009809136390686, 0.2413649708032608, -0.2546216547489166, -0.049742620438337326, 0.23877142369747162, 0.6720700263977051, -0.9012406468391418, 0.7184406518936157, 0.3441610634326935, -0.4085424542427063, 0.5024312734603882, -0.40019500255584717, 0.3639377951622009, -0.7754569053649902, -0.03263914957642555, -0.022693177685141563, -0.6222641468048096, -0.4561331272125244, 0.3453770875930786, -0.21149851381778717, -0.48362812399864197, -0.7105296850204468, 0.46207132935523987, -0.5224170088768005, -0.3276640772819519, -0.5872282385826111, 0.24243690073490143, 0.01658540405333042, 0.5739779472351074, 0.308406800031662, 0.6786344051361084, 0.6427014470100403, -0.3946618139743805, 1.1713838577270508, 0.1296526938676834, -0.26216694712638855, 0.7186465263366699, -0.5274384617805481, 0.0564836785197258, -0.6179701685905457, 0.3814811408519745, -0.6953434348106384, -0.7041568160057068, 0.09642374515533447, -0.5697828531265259, 0.10932408273220062, -0.3312305212020874, -0.2654576003551483, -0.417272686958313, 0.003115752013400197, 0.7531471848487854, 0.3482966125011444, -0.4930567443370819, 0.871997594833374, 0.167034313082695, -0.10734440386295319, -0.7587557435035706, -0.43037286400794983, 0.4700486958026886, 0.017859503626823425, -0.942057728767395, 0.024524016305804253, -0.08650446683168411, -0.39823511242866516, -0.05475722998380661, -0.12289606034755707, -0.5331225395202637, -0.2668429911136627, 0.1920536905527115, 0.09444238245487213, -0.1620018631219864, 0.45748457312583923, -0.524533212184906, -0.056272007524967194, 0.20616398751735687, -0.17912524938583374, 0.40129294991493225, -0.24726441502571106, -0.4993879199028015, -0.47130829095840454, 0.7634422183036804, 1.0204346179962158, -0.49327924847602844, 0.3547394573688507, 0.47776371240615845, -0.5022222995758057, -0.3264731764793396, -0.6619259119033813, -0.009242106229066849, -0.44291412830352783, 0.9028847813606262, -0.47465184330940247, -0.5264779925346375, 0.6606780886650085, 0.0774337649345398, -0.36938026547431946, 0.16784018278121948, 0.500390887260437, -0.030398467555642128, 1.071277141571045, 0.8451736569404602, 0.03898919001221657, 0.6807777881622314, -0.48849835991859436, -0.25041472911834717, 0.052538853138685226, -0.43436187505722046, -0.03136638551950455, 0.018827104941010475, -0.09664732217788696, -0.7892101407051086, 0.5151659250259399, -0.3080408573150635, -0.3165682256221771, 0.3165662884712219, -0.09783151000738144, 0.7620004415512085, 0.13523492217063904, 0.3884815275669098, 0.3691224753856659, -0.18417732417583466, 0.5289633870124817, 0.40085312724113464, -0.3269556760787964, -0.33898088335990906, 0.5770536661148071, 0.5201766490936279, 1.0298446416854858, 0.4825800657272339, 0.16280095279216766, 0.46352091431617737, -0.22700059413909912, -1.2026211023330688, 0.8128321766853333, 0.08253918588161469, -0.44466596841812134, -0.6081418991088867, 0.0033406217116862535, -0.826251745223999, 0.02895190753042698, 0.07330523431301117, -0.7601962089538574, 0.005591879598796368, 0.026019245386123657, -0.19392023980617523, 0.20807014405727386, -0.6411771774291992, 1.071000337600708, -0.3846602141857147, -0.5551134347915649, -0.5060268640518188, -0.8237007856369019, 0.03733493387699127, 0.06206423416733742, 0.09057191014289856, 0.06260742992162704, 0.10016090422868729, 0.32396581768989563, -0.7836993932723999, 0.6386627554893494, -0.21207654476165771, -0.06626518815755844, 0.6289582848548889, 0.11467913538217545, 0.46480923891067505, 0.09195548295974731, 0.3125930726528168, -0.35086920857429504, 0.011839466169476509, -0.5726532340049744, -1.1246120929718018, 0.14390943944454193, -0.8326582908630371, -0.6541077494621277, -0.5019711852073669, -0.3090018928050995, 0.14486268162727356, 0.1725306659936905, -0.06456515192985535, 0.49440813064575195, -0.21735960245132446, 0.18026305735111237, 0.6947887539863586, -0.22816017270088196, 0.5263287425041199, 0.5725014805793762, -0.38612663745880127, -0.358089417219162, 0.831039547920227, -0.01780635491013527, 0.471270352602005, 0.4375704228878021, -0.1211911290884018, -0.03160581365227699, -0.25420719385147095, -0.72673499584198, 0.03806685656309128, -0.9858207106590271, -0.17096473276615143, -0.2239280492067337, -0.27733156085014343, -0.19665274024009705, -0.18445684015750885, -0.5732163786888123, 0.053081728518009186, -0.08421113342046738, -0.18967662751674652, 0.3051014542579651, 0.5682891607284546, 0.17054374516010284, 0.3553299307823181, -0.74770188331604, 0.6146205067634583, 0.895159900188446, 0.4506932497024536, -0.28275570273399353, -0.4417887032032013, -0.37153542041778564, -0.20473194122314453, -0.140851691365242, -1.2180856466293335, 0.3390708863735199, 0.16221104562282562, 0.5937975645065308, 0.40954115986824036, -0.33819183707237244, 0.8321660161018372, -0.3844285011291504, 0.848044216632843, 0.14522328972816467, -0.9381669163703918, 0.6715237498283386, -0.32793962955474854, 0.5842313766479492, 0.4924905300140381, 0.10963957011699677, -0.5120802521705627, 0.003890457097440958, -0.35356077551841736, -0.5683873891830444, 0.4474268853664398, 0.12585529685020447, -0.041169315576553345, 0.21386989951133728, 0.2231636941432953, -0.09048354625701904, 0.0766289010643959, -0.6113721132278442, 0.30589520931243896, -0.32088589668273926, 0.15136253833770752, -0.31218421459198, 0.10676773637533188, 0.07404335588216782, -0.10889243334531784, 0.47517886757850647, -0.6231228709220886, 0.2319519966840744, 0.5103611350059509, -0.7739340662956238, -0.26105934381484985, 0.31444868445396423, 0.5980585813522339, 0.9808127284049988, -0.2995045781135559, 0.14835602045059204, 0.23916424810886383, -0.5961360335350037, 0.3619341552257538, 0.21110942959785461, 0.1604861468076706, 0.03607271611690521, 0.48230257630348206, 0.77000892162323, -0.20232336223125458, -1.012236475944519, 0.9713981747627258, 0.06385433673858643, -0.20391838252544403, -0.9192261695861816, -0.27919816970825195, -0.48074066638946533, 0.6851999759674072, 0.5470064282417297, -0.1632906198501587, 0.23582963645458221, -0.81402587890625, 0.2667442262172699, 0.42007744312286377, -0.5454833507537842, -0.36191004514694214, 0.3770604431629181, 0.07107488811016083, -0.28586429357528687, 0.553505003452301, -0.0855066105723381, -0.5018829703330994, 1.0691903829574585, 0.2417161762714386, 0.9218044877052307, -0.09946603327989578, 0.7528722286224365, -0.04797585681080818, 0.26264524459838867, -0.3187531530857086, 0.33990874886512756, -0.2679795026779175, -0.6443727016448975, -1.001661777496338, -0.22976139187812805, -0.5700268149375916, 0.13670267164707184, -0.5231014490127563, 0.3660126030445099, -0.16876071691513062, -0.14453920722007751, 0.09390964359045029, -0.24454639852046967, -0.7862333655357361, 0.31666162610054016, 0.43979865312576294, 0.9580124616622925, -0.8149558901786804, 0.7012468576431274, 0.8970189094543457, -0.7322062849998474, -0.83060622215271, -0.300611287355423, -0.12847985327243805, -0.7368806600570679, 0.7261878252029419, 0.28827494382858276, -0.47172653675079346, -0.3310650885105133, -0.813956618309021, -0.6633334159851074, 1.290146827697754, 0.7000724077224731, -0.2928221523761749, -0.31152090430259705, 0.1800418645143509, 0.5313637852668762, -0.09871946275234222, 0.5742615461349487, 0.3157920837402344, 0.3889315128326416, 0.45908012986183167, -1.0015798807144165, -0.22785168886184692, -0.32822349667549133, -0.33837297558784485, 0.26307904720306396, -0.7953459620475769, 0.46308550238609314, -0.26880866289138794, 0.12108684331178665, 0.011510035954415798, 0.6912370920181274, -0.11068576574325562, 0.6844692826271057, 0.5980851650238037, 0.25438064336776733, 0.3049887418746948, 0.4826473593711853, 0.6306905150413513, 0.09442684054374695, 0.2800064980983734, 1.0888718366622925, -0.08725462853908539, 0.677675187587738, 0.44499313831329346, 0.014487160369753838, 0.601556122303009, 0.3151158392429352, 0.08018721640110016, 0.05433512479066849, -0.05128934234380722, -0.5014605522155762, -0.8105406761169434, -0.14109787344932556, 0.005214477889239788, 1.128389835357666, 0.10226283222436905, -0.32434725761413574, -0.26199397444725037, 0.2822090983390808, -0.3374006450176239, 0.10918962955474854, -0.5409043431282043, 0.8088662028312683, -0.09353949874639511, -0.8353961706161499, 0.29635098576545715, -0.2580672800540924, 0.03975372761487961, -0.6584462523460388, -0.3218979835510254, 0.07353223860263824, 0.24797682464122772, -0.11827816069126129, -0.9482599496841431, -0.028862688690423965, 0.08178966492414474, -0.18326422572135925, -0.08870180696249008, 0.7370905876159668, -0.5121397972106934, -0.2931175231933594, 0.19673852622509003, 0.5171514749526978, 0.34900930523872375, -0.45909377932548523, -0.34956833720207214, 0.02091434970498085, -0.43349209427833557, -0.093131422996521, -0.02580028586089611, 0.4927560091018677, -0.42907240986824036, 0.8960265517234802, 0.18898668885231018, -0.12394735962152481, -0.31660112738609314, 0.16305963695049286, 0.7602764368057251, -0.7285788655281067, -0.4380224049091339, -0.9446218013763428, 0.46950381994247437, -0.10196608304977417, 0.015484435483813286, 0.2651507258415222, 0.4138600826263428, 0.7709375619888306, -0.10638473927974701, 0.5760070085525513, 0.23596008121967316, -0.3123106062412262, -0.530401885509491, 0.3724532723426819, -0.5501030087471008, -0.16722582280635834, -0.3755458891391754, -0.9009264707565308, -0.21379296481609344, 0.5184488892555237, -0.25897499918937683, -0.19434726238250732, 0.5749045014381409, 0.6510853171348572, -0.13137422502040863, -0.21534283459186554, 0.60960853099823, 0.17707355320453644, 0.5765647292137146, 0.8337201476097107, 0.8983330130577087, -0.2314191311597824, 0.8575207591056824, -0.03087354451417923, -0.4542624354362488, -0.1312292069196701, -0.7367650270462036, -0.8277270197868347, -0.5637995004653931, -0.15964016318321228, -0.10756412893533707, 0.28217893838882446, 1.1023868322372437, 0.7730560898780823, -0.1747763454914093, -0.35941725969314575, 0.036699917167425156, 0.027197111397981644, -0.16183948516845703, -0.18021591007709503, 0.30388790369033813, 0.16853922605514526, -0.5822173357009888, 0.3187253773212433, 0.4150449335575104, -0.014019571244716644, -0.6299973130226135, -0.20843270421028137, -0.058602120727300644, 0.03188565373420715, 1.0098936557769775, 0.5898230671882629, -0.6840975284576416, -0.6246773600578308, 0.34628140926361084, 0.05571945756673813, 0.11656638234853745, 0.6843414306640625, -0.9049281477928162, 0.9594501852989197, 0.5632503032684326, 0.6120872497558594, 0.8987718820571899, -0.01749158650636673, 0.6913549900054932, -0.24472498893737793, 0.2305070459842682, 0.16297979652881622, 0.2533397674560547, 0.2219902127981186, -0.296872615814209, 0.3095239996910095, 0.11876987665891647, -0.667079508304596, -0.5295410752296448, 0.5792666077613831, -1.3861536979675293, -0.3315436542034149, 1.2067060470581055, 0.024632811546325684, -0.573229968547821, 0.10644803196191788, -0.5430436134338379, 0.4597877264022827, -0.47948503494262695, 0.4645540714263916, 0.5140751004219055, -0.08256539702415466, -0.6154323220252991, -0.5511203408241272, 0.10854825377464294, 0.26460370421409607, -0.9068603515625, -0.14294081926345825, 0.7658258080482483, 0.14453744888305664, 0.08516416698694229, 0.7256302833557129, 0.17587606608867645, 0.8733935356140137, -0.14662101864814758, 0.16084115207195282, -0.014386150054633617, -0.7736124992370605, -0.3064916431903839, 0.309003084897995, 0.07589709758758545, -0.22697047889232635 ]
http://arxiv.org/abs/2403.10499v1
http://arxiv.org/pdf/2403.10499v1
Benchmarking Zero-Shot Robustness of Multimodal Foundation Models: A Pilot Study
2024-03-15T17:33:49
2024-03-15T17:33:49
Chenguang Wang, Ruoxi Jia, Xin Liu, Dawn Song
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Pre-training image representations from the raw text about images enables zero-shot vision transfer to downstream tasks. Through pre-training on millions of samples collected from the internet, multimodal foundation models, such as CLIP, produce state-of-the-art zero-shot results that often reach competitiveness with fully supervised methods without the need for task-specific training. Besides the encouraging performance on classification accuracy, it is reported that these models close the robustness gap by matching the performance of supervised models trained on ImageNet under natural distribution shift. Because robustness is critical to real-world applications, especially safety-critical ones, in this paper, we present a comprehensive evaluation based on a large-scale robustness benchmark covering 7 natural, 3 synthetic distribution shifts, and 11 adversarial attacks. We use CLIP as a pilot study. We show that CLIP leads to a significant robustness drop compared to supervised ImageNet models on our benchmark, especially under synthetic distribution shift and adversarial attacks. Furthermore, data overlap analysis suggests that the observed robustness under natural distribution shifts could be attributed, at least in part, to data overlap. In summary, our evaluation shows a comprehensive evaluation of robustness is necessary; and there is a significant need to improve the robustness of zero-shot multimodal models.
[ -0.511726438999176, -0.7073628306388855, 0.15192557871341705, 0.04658827185630798, -0.14996318519115448, -0.12781794369220734, 0.06785313785076141, -0.6002371311187744, -0.03874965384602547, 0.4164096415042877, -0.5615522265434265, -0.46284306049346924, -0.6935755014419556, 0.11129006743431091, -0.7962973713874817, 0.6770601272583008, -0.023504672572016716, -0.16717226803302765, -0.24970825016498566, -0.3644610643386841, -0.37667810916900635, -0.3790709674358368, -0.20854176580905914, 0.21566030383110046, 0.23399792611598969, -0.030410021543502808, 0.7324522137641907, 0.8139481544494629, 0.8575098514556885, 0.2604238986968994, 0.1698848307132721, -0.26346296072006226, -0.5352378487586975, 0.004870004951953888, -0.17552386224269867, -0.5200216174125671, -0.27597612142562866, -0.029588736593723297, 0.6765657067298889, 0.5301955342292786, 0.09153307974338531, 0.06957711279392242, -0.1415533572435379, 0.40710151195526123, -1.3708747625350952, -0.16621960699558258, -0.7438246607780457, 0.13398423790931702, -0.26116788387298584, -0.08072592318058014, -0.32456573843955994, -0.2333815097808838, 0.18653613328933716, -0.5900734663009644, 0.5225836634635925, -0.29468828439712524, 1.0364789962768555, 0.35542023181915283, -0.7009284496307373, 0.17118802666664124, -0.614452600479126, 0.6977646946907043, -0.4669658839702606, 0.4565201997756958, 0.13609452545642853, 0.619202196598053, 0.05503535643219948, -0.6635919809341431, -0.42354995012283325, -0.15799719095230103, 0.43166303634643555, 0.14451123774051666, -0.2599174380302429, -0.004189800936728716, 0.18734529614448547, 0.19860294461250305, -0.38718268275260925, -0.07443767786026001, -0.18674230575561523, -0.2982880175113678, 0.46953970193862915, 0.09843053668737411, 0.23581463098526, 0.08695292472839355, -0.7699110507965088, -0.8083920478820801, -0.7638498544692993, 0.26016926765441895, 0.2772402763366699, 0.12262526154518127, -0.15880267322063446, 0.44443386793136597, -0.3156745731830597, 0.7542064189910889, -0.02811812423169613, -0.3520503342151642, 0.1333286166191101, -0.6609571576118469, -0.23928771913051605, -0.2881971597671509, 0.7694420218467712, 0.7787884473800659, 0.2690007984638214, -0.2607123553752899, -0.06420983374118805, 0.5338118672370911, 0.4850841164588928, -0.9784569144248962, -0.20845526456832886, -0.03250710293650627, -0.34115564823150635, -0.6707870960235596, 0.19758974015712738, -0.8039353489875793, -0.06897604465484619, 0.08553710579872131, 0.5667616128921509, -0.29575008153915405, -0.2356567084789276, 0.24830681085586548, -0.15632155537605286, 0.15490692853927612, 0.26729655265808105, -0.6311145424842834, 0.1111743301153183, 0.39645683765411377, 1.1069676876068115, -0.33260878920555115, -0.31484562158584595, -0.365024596452713, 0.18487481772899628, -0.41504567861557007, 0.892716646194458, -0.15126293897628784, -0.2268117219209671, 0.21117530763149261, 0.18325072526931763, -0.32465508580207825, -0.38926172256469727, 0.46130281686782837, -0.24354536831378937, -0.24723580479621887, 0.02191448211669922, -0.26472193002700806, -0.14848822355270386, 0.8855776190757751, -0.7884507775306702, 0.643073320388794, -0.10577649623155594, -0.7141662240028381, 0.5501753687858582, -0.5116048455238342, -0.4249761402606964, -0.4193924367427826, 0.013506438583135605, -0.4783123731613159, -0.0000657099808449857, 0.3926664888858795, 0.42496171593666077, -0.049006760120391846, 0.025527866557240486, -1.008884072303772, -0.3178802728652954, 0.42764851450920105, -0.8002011179924011, 0.8426316380500793, -0.08898190408945084, -0.42924654483795166, 0.03620760887861252, -0.77107834815979, 0.12191520631313324, 0.10844321548938751, 0.19250105321407318, -0.15626497566699982, -0.30767977237701416, 0.20768879354000092, 0.3118506073951721, -0.27137526869773865, -0.5046449303627014, 0.14556796848773956, -0.1411498636007309, 0.36506906151771545, 0.6252734065055847, 0.07523557543754578, 0.46369612216949463, -0.43428927659988403, 0.5139742493629456, 0.054105911403894424, 0.5401904582977295, -0.528650164604187, -0.24655188620090485, -0.40210995078086853, -0.587120771408081, 0.42248186469078064, 0.5125543475151062, -0.7095425724983215, 0.023897208273410797, -0.3216812312602997, -0.44637617468833923, -0.12491604685783386, -0.07918015122413635, 0.277371883392334, 0.5850587487220764, 0.25346803665161133, -0.6429858803749084, -0.1298845410346985, -0.9303315281867981, 0.028833743184804916, 0.10296061635017395, 0.05966345593333244, 0.160014808177948, 0.6769309639930725, -0.18807904422283173, 0.9889533519744873, -0.5521130561828613, -0.16969546675682068, 0.1912345439195633, 0.13688978552818298, -0.17784638702869415, 0.4606494903564453, 1.0909180641174316, -0.951406717300415, -0.4111965596675873, -0.36211949586868286, -0.8217312097549438, 0.16959574818611145, -0.06506118178367615, -0.3269355595111847, -0.11909052729606628, 0.10472586750984192, -0.5976119637489319, 0.7917497158050537, 0.4974820911884308, -0.07100952416658401, 0.7035589218139648, 0.09475863724946976, 0.2006150484085083, -1.0259168148040771, 0.3152059316635132, 0.07089254260063171, -0.2935301959514618, -0.6434980630874634, 0.23393614590168, 0.17795538902282715, -0.35767853260040283, -0.7310972809791565, 0.2444024682044983, -0.2782224714756012, -0.1829679310321808, -0.06457425653934479, -0.1380707323551178, 0.25437331199645996, 0.2810021936893463, 0.08901814371347427, 0.6846694946289062, 0.792205274105072, -0.5477104187011719, 0.232438325881958, 0.32990583777427673, -0.33367669582366943, 0.957050621509552, -0.721977949142456, -0.09743203222751617, 0.06092245131731033, 0.36964932084083557, -0.7897642850875854, -0.30325549840927124, 0.15811629593372345, -0.18667684495449066, 0.3088902533054352, -0.28573036193847656, -0.2855064868927002, 0.014538119547069073, -0.6512576341629028, 0.4196107089519501, 0.14665204286575317, -0.3096717298030853, 0.13112486898899078, 0.19567494094371796, 0.23194707930088043, -0.8422994613647461, -0.7909495830535889, 0.18362241983413696, -0.08360724151134491, -0.789605975151062, 0.45013824105262756, -0.18063680827617645, 0.1434064656496048, 0.1267346441745758, -0.2603546380996704, -0.5095746517181396, 0.36090323328971863, 0.38230934739112854, 0.3866659998893738, -0.24824786186218262, -0.33270660042762756, -0.39704009890556335, -0.08007771521806717, -0.04526191204786301, 0.01142442598938942, 0.07095792889595032, -0.048719048500061035, -0.7073438167572021, -0.40158575773239136, 0.30501723289489746, 0.8272464871406555, -0.09176461398601532, 0.6897352337837219, 0.5009596347808838, -0.38748899102211, -0.0750802531838417, -0.4134651720523834, -0.2112819105386734, -0.4036175012588501, 0.23259618878364563, -0.17474502325057983, -0.6828346252441406, 0.3992353677749634, -0.054167747497558594, -0.025638028979301453, 0.3003164529800415, 0.2109835147857666, -0.08823241293430328, 0.9139425754547119, 0.6983901858329773, 0.14862442016601562, 0.6602951288223267, -0.41382598876953125, -0.03341072052717209, -0.5227047204971313, -0.009903422556817532, -0.29111799597740173, -0.22424361109733582, -0.3454590439796448, -0.3194791376590729, 0.40742436051368713, 0.24602940678596497, -0.07882249355316162, 0.5037285089492798, -0.26804319024086, 0.3424678444862366, 0.39044278860092163, 0.05886642262339592, 0.13564330339431763, 0.12850335240364075, -0.09172181040048599, 0.09004682302474976, -0.5389100909233093, -0.14071804285049438, 1.3332587480545044, 0.17152291536331177, 0.7141755223274231, 0.14041592180728912, 0.33833226561546326, 0.3314192593097687, 0.2061922401189804, -0.43505731225013733, 0.3503676652908325, -0.09019628167152405, -0.7912431955337524, -0.05161219462752342, -0.4033726751804352, -0.7584107518196106, 0.30639585852622986, -0.7312639951705933, -0.5465887784957886, 0.5138566493988037, 0.2655373811721802, -0.21116505563259125, 0.33747947216033936, -0.5609411597251892, 1.1416023969650269, -0.3533375561237335, -0.4705468714237213, 0.09160848706960678, -0.8016055822372437, 0.496805876493454, -0.05303586274385452, -0.013441607356071472, -0.29394274950027466, 0.11622127890586853, 0.18942424654960632, -0.28249937295913696, 0.8549439907073975, -0.02339036576449871, 0.28453290462493896, 0.1194879487156868, 0.1226077452301979, 0.27892521023750305, -0.13816457986831665, 0.271413654088974, 0.4779379069805145, 0.33777105808258057, -0.5388570427894592, -0.6736123561859131, 0.4141143560409546, -0.6340411305427551, -0.057485923171043396, -0.5058801174163818, -0.39214053750038147, -0.3275391757488251, 0.3305203318595886, 0.5658798813819885, 0.738321840763092, -0.37815359234809875, 0.7319403290748596, 0.5222383737564087, 0.14609681069850922, 0.6353444457054138, 0.27714553475379944, 0.07178489863872528, -0.627611517906189, 0.6616804003715515, 0.19574756920337677, 0.5185810327529907, 0.42427557706832886, -0.16083025932312012, -0.4425046443939209, -0.5935344099998474, -0.8388751149177551, -0.35616496205329895, -0.6959149837493896, -0.414143830537796, -0.34687137603759766, -0.16726231575012207, -0.578735888004303, -0.40331020951271057, -0.6296290159225464, -0.4062430262565613, -0.029852889478206635, -0.0067514353431761265, -0.11304398626089096, 0.5007228851318359, 0.007386247161775827, 0.2517344057559967, -0.832159161567688, 0.32389122247695923, 0.3809061646461487, 0.3956916034221649, -0.0734662115573883, -0.13781000673770905, -0.048432301729917526, 0.1665486991405487, -0.5405473709106445, -0.9125311374664307, 0.13013482093811035, 0.3171464204788208, 0.5250970125198364, 0.8356894254684448, 0.3474615514278412, 0.8063868284225464, -0.2624533176422119, 0.680402934551239, 0.5729663372039795, -0.8092339038848877, 0.2624785006046295, -0.3033679127693176, 0.25669124722480774, 0.7554653286933899, 0.2973451614379883, -0.06283656507730484, 0.08779545873403549, -0.4230690896511078, -0.7639710903167725, 0.46898311376571655, 0.4455409646034241, -0.04981124401092529, 0.055099792778491974, 0.011032450944185257, -0.0952007994055748, 0.21781544387340546, -0.7770551443099976, -0.11932333558797836, -0.7501652836799622, 0.04892837256193161, 0.11785178631544113, -0.0982639342546463, -0.3473958969116211, 0.04381942003965378, 0.253802090883255, -0.4007549285888672, 0.1635839343070984, 0.19775062799453735, -0.3639011085033417, 0.13837406039237976, 0.12933963537216187, 0.7594628930091858, 0.6064353585243225, -0.3574766218662262, 0.22551017999649048, 0.09693130850791931, -0.5701518654823303, 0.3857618570327759, 0.11610106378793716, -0.47248396277427673, -0.17313162982463837, 0.708450436592102, 0.8062723278999329, 0.5473940372467041, -0.6636534929275513, 1.1550806760787964, -0.16301573812961578, -0.28861793875694275, -0.057185277342796326, 0.004298992455005646, -0.3897493779659271, 0.03602936118841171, 0.30209678411483765, 0.6607939600944519, 0.2774692177772522, -0.42654117941856384, 0.39168781042099, 0.6705052852630615, -0.40232717990875244, -0.5303296446800232, 0.6191934943199158, 0.0599856972694397, 0.16316452622413635, 0.3216067850589752, 0.07715354114770889, -0.3804495632648468, 0.7127358913421631, 0.6952152252197266, 0.930781364440918, 0.03552555665373802, 0.3883976936340332, 0.16326755285263062, 0.4116672873497009, -0.37204086780548096, -0.28236815333366394, -0.3050011396408081, -0.7130998969078064, -0.3250886797904968, -0.3357691764831543, -0.5470874309539795, -0.16931921243667603, -0.9813751578330994, 0.12649841606616974, -0.5467773079872131, -0.40748393535614014, -0.08257140964269638, -0.5013920664787292, -0.7097032070159912, 0.28275683522224426, 0.04255540668964386, 0.9288208484649658, -0.9742927551269531, 0.5315898060798645, 0.6460345983505249, -0.23778308928012848, -0.39330312609672546, 0.02230348438024521, 0.04673837497830391, -0.5033910274505615, 0.26513445377349854, 0.552768349647522, -0.2678479254245758, -0.3886534869670868, -0.5695982575416565, -0.9413454532623291, 1.1686573028564453, 0.8738040924072266, -0.34246110916137695, 0.23301799595355988, 0.1700306087732315, 0.28930696845054626, -0.24240891635417938, 0.370099276304245, -0.05539131164550781, 0.027280541136860847, 0.5094466805458069, -0.7217714786529541, -0.14620965719223022, -0.2724152207374573, 0.09746367484331131, 0.18319834768772125, -0.5145862698554993, 0.9204682111740112, 0.02842116355895996, -0.40353208780288696, -0.07852910459041595, 0.1689370572566986, -0.10661578178405762, 0.5219407677650452, 0.6344583034515381, 0.8053634166717529, 0.2899978756904602, -0.05236256122589111, 1.145578145980835, -0.47719791531562805, 0.443729043006897, 0.8437964916229248, -0.4738418757915497, 1.0644901990890503, 0.22249191999435425, -0.031156983226537704, 0.1523103415966034, 0.3383806347846985, -0.12979204952716827, 0.8902585506439209, -0.3284578323364258, -0.16594931483268738, -0.38726866245269775, -0.14399918913841248, -0.36682406067848206, 0.5103676319122314, -0.12767402827739716, -0.15353569388389587, -0.47278138995170593, 0.12332071363925934, -0.1467546820640564, -0.27261650562286377, -0.09887833148241043, 0.48927122354507446, -0.13764670491218567, -0.46238818764686584, 0.5880767107009888, -0.11022290587425232, 0.6202941536903381, -0.7339699864387512, -0.03235860913991928, -0.12152307480573654, 0.42890849709510803, -0.15823905169963837, -0.6721569299697876, 0.3860892951488495, -0.018486956134438515, -0.18203125894069672, -0.1415783017873764, 0.8639228940010071, 0.05854833126068115, -0.4807828366756439, 0.21962803602218628, 0.05464405566453934, -0.11119040846824646, -0.2093808948993683, -0.5833157896995544, 0.14998668432235718, -0.2092476785182953, -0.038914550095796585, 0.6088817119598389, 0.061214227229356766, -0.19558905065059662, 0.6572523713111877, 1.0927740335464478, -0.06292340159416199, 0.39980727434158325, -0.3039723336696625, 0.8383037447929382, -0.5287411212921143, -0.4092189073562622, -0.89247727394104, 0.3651652932167053, -0.3610081672668457, -0.49343952536582947, 0.8076287508010864, 0.37294965982437134, 0.8220199942588806, -0.12702660262584686, 0.708121120929718, 0.008576123043894768, -0.09854421019554138, -0.45486852526664734, 0.5453084707260132, -0.39415955543518066, -0.241279736161232, -0.4168793559074402, -1.0289920568466187, -0.5260982513427734, 0.5859661102294922, -0.01987224817276001, -0.1863643229007721, 0.4507445693016052, 0.7339288592338562, -0.4340895414352417, -0.13405364751815796, 0.5078169703483582, -0.18785759806632996, 0.2972054183483124, 0.468119353055954, 0.610332190990448, -0.5577808022499084, 0.8207665085792542, -0.6743676066398621, -0.20061010122299194, -0.29313528537750244, -1.3350610733032227, -0.9398174285888672, -0.30047082901000977, -0.40141376852989197, -0.17685431241989136, 0.17733746767044067, 0.47961780428886414, 1.3821206092834473, -0.8797086477279663, 0.10460387915372849, 0.014247538521885872, -0.17407017946243286, -0.37147438526153564, -0.18774916231632233, 0.32424992322921753, 0.13325858116149902, -0.25664541125297546, 0.424429714679718, 0.5156347751617432, 0.31815120577812195, -0.31138578057289124, 0.24027840793132782, -0.12162908911705017, 0.10380648821592331, 0.462579607963562, 0.4676970839500427, -0.4150196313858032, -0.34468477964401245, 0.22890250384807587, -0.02364925481379032, 0.036138590425252914, 0.6484284996986389, -0.49313509464263916, 0.7571766376495361, 0.4335387945175171, 0.8509538769721985, 0.592810332775116, 0.21907848119735718, 0.41444095969200134, -0.7821604609489441, 0.38579344749450684, 0.014790256507694721, 0.3601001799106598, 0.47442567348480225, -0.011788214556872845, 0.5695268511772156, 0.4870832860469818, -0.3243115544319153, -1.1046029329299927, 0.2527965307235718, -1.0245165824890137, -0.10222604125738144, 0.7226513624191284, -0.5451061129570007, -0.3596227169036865, 0.07702513039112091, 0.12978918850421906, 0.021508488804101944, 0.0019893820863217115, 0.7038260102272034, 0.6491256356239319, 0.1257319152355194, -0.331987202167511, -0.5230100154876709, 0.11519625782966614, 0.27794015407562256, -0.6814645528793335, -0.3981577157974243, 0.45626300573349, 0.5402761101722717, 0.3186011016368866, 0.35139548778533936, -0.051740944385528564, 0.35664883255958557, 0.2792350947856903, -0.03869915008544922, -0.29739004373550415, -0.48802292346954346, -0.3899276554584503, 0.6335986256599426, -0.22360369563102722, -0.6146442890167236 ]
http://arxiv.org/abs/2403.10446v1
http://arxiv.org/pdf/2403.10446v1
Enhancing LLM Factual Accuracy with RAG to Counter Hallucinations: A Case Study on Domain-Specific Queries in Private Knowledge-Bases
2024-03-15T16:30:14
2024-03-15T16:30:14
Jiarui Li, Ye Yuan, Zehua Zhang
cs.CL
cs.CL, cs.LG
We proposed an end-to-end system design towards utilizing Retrieval Augmented Generation (RAG) to improve the factual accuracy of Large Language Models (LLMs) for domain-specific and time-sensitive queries related to private knowledge-bases. Our system integrates RAG pipeline with upstream datasets processing and downstream performance evaluation. Addressing the challenge of LLM hallucinations, we finetune models with a curated dataset which originates from CMU's extensive resources and annotated with the teacher model. Our experiments demonstrate the system's effectiveness in generating more accurate answers to domain-specific and time-sensitive inquiries. The results also revealed the limitations of fine-tuning LLMs with small-scale and skewed datasets. This research highlights the potential of RAG systems in augmenting LLMs with external datasets for improved performance in knowledge-intensive tasks. Our code and models are available on Github.
[ -0.22480474412441254, -0.7460338473320007, 0.6628468632698059, 0.028123188763856888, -0.021547509357333183, 0.3742550015449524, -0.3518480658531189, -0.5553516745567322, 0.3765340745449066, 0.7925758957862854, -0.3172041177749634, -0.5182590484619141, -0.5311909914016724, 0.08732686936855316, -0.548738956451416, 0.9483634829521179, 0.20658646523952484, 0.12049737572669983, -0.3015899062156677, -0.25533992052078247, -0.5010084509849548, -0.801685094833374, -0.5207759737968445, -0.1389942616224289, 0.4916776418685913, 0.31055933237075806, 0.6584336161613464, 0.44917914271354675, 0.5455799698829651, 0.20816576480865479, -0.05140794441103935, 0.7558934688568115, -0.8263059258460999, 0.42350834608078003, -0.5238218903541565, -0.4220067858695984, -0.42855966091156006, -0.334342360496521, 0.4346955418586731, 0.7833243608474731, -0.18107110261917114, 0.33753353357315063, 0.0642012506723404, 0.7059483528137207, -0.7862065434455872, 0.18130739033222198, -0.9456198215484619, 0.020513691008090973, -0.16289110481739044, -0.33639490604400635, -0.5833262205123901, -0.3558824062347412, 0.055157605558633804, -0.5916649699211121, 0.4049912095069885, 0.27957287430763245, 0.687892735004425, 0.632509708404541, -0.21271227300167084, -0.3911353349685669, -0.8821209669113159, 0.6085643172264099, -0.518649697303772, 0.5155929327011108, 0.3819306492805481, 0.3466354310512543, -0.22899967432022095, -0.8057935237884521, -0.44170403480529785, -0.2094060629606247, -0.35244402289390564, -0.04263550415635109, 0.081337109208107, -0.035433270037174225, 0.3328970968723297, 0.4390682876110077, -0.49295350909233093, -0.02932644635438919, -0.3448564410209656, -0.32866400480270386, 0.6145679950714111, 0.48688939213752747, -0.07294031232595444, -0.21529999375343323, -0.14833258092403412, 0.18324804306030273, -0.6041581034660339, -0.29874441027641296, 0.33608192205429077, 0.3907108008861542, 0.29861125349998474, 0.8844534158706665, -0.36904045939445496, 0.7641856670379639, 0.12182861566543579, -0.039578650146722794, -0.010259589180350304, 0.0622241385281086, -0.15053971111774445, 0.06393900513648987, 0.3037293553352356, 0.3331243097782135, 0.34675687551498413, -0.5252571105957031, -0.3713468015193939, 0.18136999011039734, 0.5408410429954529, -0.6105162501335144, -0.2532489597797394, 0.24593712389469147, -0.1228698194026947, -0.3942759335041046, -0.03053225576877594, -0.8116710782051086, -0.908989667892456, -0.66266930103302, 0.5817179679870605, -0.2803082764148712, -0.20540432631969452, 0.18261180818080902, 0.08017738908529282, 0.0017048860900104046, 0.26944416761398315, -0.4776875376701355, 0.6180301904678345, 0.8444401025772095, 0.641001284122467, -0.5251677632331848, -0.04393657669425011, -0.5701318383216858, 0.3960592746734619, -0.4033970534801483, 0.6492875218391418, -0.584302544593811, -0.39007437229156494, -0.09843583405017853, 0.013270493596792221, 0.017856618389487267, -0.9510977864265442, 0.6338937282562256, -0.9069176912307739, 0.19063788652420044, -0.19550083577632904, -0.6870209574699402, -0.04682031646370888, 0.3108898103237152, -0.487446129322052, 0.8896276950836182, 0.18785394728183746, -0.6963836550712585, 0.07851382344961166, -0.4479767978191376, -0.37981534004211426, 0.08887619525194168, -0.3889833986759186, -0.28871431946754456, 0.21533356606960297, 0.23929379880428314, 0.4402218759059906, -0.2814059555530548, 0.5362645387649536, -0.006956441327929497, -0.44606971740722656, 0.3202013075351715, -0.2931220829486847, 0.6163906455039978, 0.29224011301994324, -0.3555973768234253, -0.02542898617684841, -0.9659445285797119, 0.0422818660736084, 0.16046638786792755, -0.13540802896022797, -0.48971596360206604, -0.05471063777804375, -0.26100021600723267, -0.18726573884487152, 0.4067685902118683, -0.2004241794347763, 0.08894532173871994, -0.2444530874490738, -0.34229353070259094, 0.7914749979972839, 0.023416049778461456, 0.3915218412876129, -0.4543493986129761, 0.36117351055145264, 0.06900186836719513, 0.1278776079416275, 0.12052769213914871, -0.3995717763900757, -0.854814350605011, -0.2158759981393814, 0.31158462166786194, 0.5464024543762207, -0.8074407577514648, 0.24619963765144348, -0.31993192434310913, -0.2677106261253357, -0.4453233480453491, -0.08899391442537308, 0.3367505967617035, 0.7693020701408386, 0.46001818776130676, -0.2566527724266052, -0.7138271927833557, -0.632803738117218, -0.26151227951049805, 0.036623794585466385, -0.007158868480473757, 0.6686451435089111, 0.3885248601436615, -0.3304356634616852, 0.8518362045288086, -0.7118914723396301, -0.391839861869812, 0.18328560888767242, 0.027290863916277885, 0.21641920506954193, 0.18400204181671143, 0.2318039983510971, -0.7944226264953613, -0.3923468291759491, -0.015182005241513252, -0.8963298201560974, -0.25546056032180786, 0.15853136777877808, -0.17737559974193573, 0.612361490726471, 0.23672091960906982, -0.6047481298446655, 0.4132048785686493, 0.4474872350692749, -0.5001856088638306, 0.8414228558540344, 0.016740066930651665, 0.30107802152633667, -0.9703739285469055, 0.08599463105201721, -0.4384003281593323, -0.2529720664024353, -0.5305938124656677, 0.1852632462978363, -0.05144582688808441, -0.03692241013050079, -0.11812654882669449, 0.43456223607063293, -0.3567257523536682, -0.34723997116088867, -0.427772581577301, 0.19959712028503418, 0.18221791088581085, 0.405388206243515, -0.04398851841688156, 0.9020349383354187, 0.45402342081069946, -0.7226932644844055, 0.3267820179462433, 0.11377466470003128, -0.39321082830429077, 0.46256786584854126, -0.2254786342382431, 0.3213501274585724, 0.036128684878349304, -0.046611420810222626, -0.5007617473602295, -0.5338442325592041, 0.24919520318508148, -0.42675039172172546, 0.4270922839641571, -0.22435571253299713, -0.5074527859687805, -0.044208429753780365, -0.028298111632466316, 0.1643473505973816, 0.431762158870697, -0.7593693137168884, 0.6011915802955627, 0.6176237463951111, -0.010390473529696465, -0.8292505145072937, -0.4186441898345947, 0.19006562232971191, 0.004262085538357496, -0.5414372086524963, 0.4713882505893707, 0.01229188870638609, -0.5678024888038635, 0.12188395112752914, -0.21193121373653412, -0.13656851649284363, -0.08840559422969818, 0.1750219166278839, 0.3479172885417938, -0.24306295812129974, 0.0557844340801239, 0.018572159111499786, 0.17343676090240479, 0.3338085114955902, -0.42661163210868835, 0.6353880763053894, 0.006940873339772224, -0.380852073431015, -0.03146185353398323, 0.053523626178503036, 0.4608728289604187, -0.06598863750696182, 0.9828715324401855, 0.3687775731086731, -0.6038338541984558, -0.4660828709602356, -0.8410482406616211, -0.3811330199241638, -0.46376776695251465, -0.0350327305495739, -0.37136492133140564, -0.9974945187568665, 0.6097593307495117, -0.0341237373650074, -0.23456087708473206, 0.345919668674469, 0.5544308423995972, 0.09743324667215347, 0.7434238195419312, 0.5025560855865479, 0.010454796254634857, 0.0908893421292305, -0.33924466371536255, 0.1281222403049469, -0.7704833149909973, -0.36223042011260986, -0.3199196457862854, -0.10211902856826782, -0.6407973766326904, -0.6447010636329651, 0.35989463329315186, -0.1252530813217163, -0.13184213638305664, -0.13845497369766235, -0.7409873008728027, 0.4788636267185211, 0.2749423384666443, 0.17603352665901184, 0.6524959802627563, 0.15783219039440155, -0.07618648558855057, -0.13315652310848236, -0.5533753633499146, -0.5368746519088745, 1.1629979610443115, 0.07192297279834747, 0.8557050228118896, 0.08713598549365997, 0.49864462018013, 0.36632058024406433, 0.2899283170700073, -0.6657733917236328, 0.6313444972038269, -0.14052227139472961, -0.7545517086982727, -0.27516528964042664, -0.6587810516357422, -0.6151142120361328, 0.1410541981458664, -0.2217298299074173, -0.571704089641571, 0.33367466926574707, -0.027886439114809036, -0.2669614255428314, 0.4421541392803192, -0.5356619358062744, 0.37248852849006653, -0.15109851956367493, -0.6150720119476318, -0.18466152250766754, -0.4887484908103943, 0.5122185349464417, -0.37049102783203125, 0.07144581526517868, 0.09463769197463989, 0.018864555284380913, 0.5669770240783691, -0.33988216519355774, 0.8265198469161987, -0.2733166515827179, -0.1610087752342224, 0.3821958899497986, 0.3558448255062103, 0.7082890868186951, 0.13238626718521118, -0.26550576090812683, 0.23160608112812042, -0.10663556307554245, -0.06910181045532227, -0.7774229049682617, 0.8328152894973755, -0.6209618449211121, -0.8358780145645142, -0.43572935461997986, -0.8037087917327881, -0.41295596957206726, 0.0055287424474954605, 0.05741691589355469, 0.44145986437797546, 0.05064856633543968, 0.18793568015098572, 0.9674113988876343, -0.18387213349342346, -0.25636428594589233, 0.742011308670044, -0.5560588836669922, -0.24660469591617584, 0.9840407967567444, 0.4166034758090973, -0.03431399539113045, 0.31972405314445496, 0.06646613031625748, -0.22886046767234802, -0.7057044506072998, -0.20297871530056, 0.27052614092826843, -0.6753197908401489, -0.4166237413883209, -0.8443973064422607, -0.4688774049282074, -0.7147524356842041, 0.17963315546512604, -0.41429248452186584, -0.6546427607536316, -0.36157283186912537, -0.004895670339465141, 0.6712185740470886, 0.7738582491874695, -0.046210747212171555, 0.044030945748090744, -0.6291521191596985, 0.6433390378952026, 0.13748331367969513, 0.520515501499176, -0.20304620265960693, -0.9259701371192932, -0.3627467751502991, -0.09771297127008438, -0.2090158313512802, -0.545918881893158, 0.4350526034832001, -0.041191183030605316, 0.4337393641471863, 0.09896490722894669, 0.37390533089637756, 0.6813997030258179, -0.6046566367149353, 0.6535935997962952, -0.43894192576408386, -0.6589652299880981, 0.4040134847164154, -0.3541867434978485, -0.1413840353488922, 0.4054519832134247, 0.4315899610519409, -0.270699679851532, -0.559438943862915, -0.47101324796676636, -0.7708067297935486, 0.5393143892288208, 0.199608713388443, -0.05240602791309357, 0.18791396915912628, 0.6797546148300171, 0.286190003156662, 0.18916018307209015, -0.36240410804748535, -0.454878568649292, 0.04933865740895271, -0.28427329659461975, 0.11720225214958191, -0.3730190694332123, -0.39128366112709045, -0.24603711068630219, 0.7588971853256226, -0.15822835266590118, 0.19846923649311066, 0.21554988622665405, -0.14209647476673126, -0.24280747771263123, 0.11048075556755066, 0.4375625550746918, 0.9657855033874512, -0.24801138043403625, 0.05841134488582611, 0.48955100774765015, -0.5858249664306641, -0.10369361191987991, 0.1667177677154541, -0.06455586850643158, 0.08718928694725037, 0.010563374496996403, 0.4318596422672272, 0.021827522665262222, -0.6074394583702087, 0.28687208890914917, -0.1728953719139099, 0.02327127754688263, -0.5536743998527527, 0.1545201539993286, -0.05133814364671707, 0.5244133472442627, 0.4490381181240082, 0.03865571692585945, 0.35381364822387695, -0.18312285840511322, 0.1931217461824417, 0.3297078609466553, 0.028620397672057152, -0.09861443936824799, 0.7398744225502014, -0.1414840966463089, -0.3224860727787018, 0.5374687910079956, -0.11447572708129883, -0.37715548276901245, 0.3518000841140747, 0.510378360748291, 0.7502478957176208, -0.15218520164489746, 0.07508008182048798, 0.0969601571559906, 0.2977415919303894, -0.033397890627384186, 0.3277604579925537, -0.021681658923625946, -0.7496720552444458, -0.6484387516975403, -0.7037689089775085, -0.8084495067596436, 0.3048035204410553, -0.6935577988624573, 0.25746408104896545, -0.38760989904403687, -0.21771623194217682, -0.4440881311893463, 0.18200547993183136, -0.39269140362739563, 0.3471161723136902, 0.09132750332355499, 0.76435387134552, -0.28846126794815063, 0.7694756984710693, 0.48511138558387756, -0.10569798946380615, -0.676702618598938, 0.006510092876851559, -0.18154464662075043, -0.5474172830581665, 0.7065302133560181, -0.12966763973236084, -0.4459582567214966, -0.10063303261995316, -0.6155868172645569, -0.8142827749252319, 1.111512303352356, 0.47498223185539246, -0.6460314393043518, -0.030268803238868713, 0.34911835193634033, 0.7690765261650085, -0.3773077726364136, -0.31067201495170593, 0.6384724378585815, 0.21876206994056702, -0.03652771934866905, -0.7213259935379028, -0.02317890152335167, 0.05591781437397003, -0.3018346428871155, 0.037339553236961365, -0.469448059797287, 0.48703110218048096, -0.18846914172172546, -0.17972274124622345, -0.08716580271720886, 0.828540563583374, 0.5046898722648621, 0.7144551277160645, 0.37275606393814087, 0.6713874936103821, 1.0689218044281006, -0.06216985359787941, 1.0650475025177002, -0.5681806802749634, 0.18714605271816254, 1.4448137283325195, -0.42600491642951965, 0.6294334530830383, 0.4561581313610077, 0.056611526757478714, 0.26166653633117676, 0.33764466643333435, 0.13113875687122345, 0.4619024693965912, 0.12280303239822388, -0.42983368039131165, 0.01298548188060522, -0.3264370858669281, -0.3967633545398712, 0.17328299582004547, 0.6511105298995972, -0.26423516869544983, 0.182924285531044, -0.07762698829174042, -0.100099116563797, 0.23189999163150787, -0.20137551426887512, 0.713379442691803, 0.08291266858577728, -0.6142076253890991, 0.4700652062892914, -0.13623128831386566, 0.5982245206832886, -0.3076704144477844, -0.019861066713929176, -0.35283055901527405, 0.27093246579170227, -0.3396495282649994, -0.7080317139625549, 0.6459400653839111, 0.2465152144432068, -0.28330323100090027, -0.06128304451704025, 1.0470715761184692, -0.29825329780578613, -0.44807618856430054, 0.36966025829315186, 0.6603427529335022, 0.2894735634326935, -0.16005665063858032, -0.49278441071510315, 0.17791368067264557, -0.1917395442724228, -0.26940643787384033, 0.1372983157634735, 0.7703557014465332, -0.039330076426267624, 0.6038113236427307, 0.5455997586250305, 0.3031383156776428, 0.23612108826637268, 0.40409085154533386, 0.9554108381271362, -0.5520360469818115, -0.030459975823760033, -0.5706931948661804, 0.27521786093711853, -0.08478688448667526, 0.05605630949139595, 0.6978664398193359, 0.728623628616333, 1.0763633251190186, -0.12178657948970795, 0.6520630121231079, 0.023225227370858192, 1.0182546377182007, -0.5057146549224854, 0.9580724835395813, -0.5138064026832581, 0.5444915294647217, -0.03201177716255188, -0.825893759727478, -0.3150582015514374, 0.4067862033843994, -0.41871026158332825, -0.01680145598948002, 0.5896288156509399, 1.2399959564208984, 0.03143696114420891, 0.07365453243255615, 0.5907734036445618, 0.4257424473762512, 0.1538219302892685, -0.07849707454442978, 1.0974165201187134, -0.3735853433609009, 0.5045363306999207, -0.5752384066581726, 0.09558887034654617, -0.20055778324604034, -0.5696709156036377, -0.8206480741500854, -0.6120557188987732, -0.2526453137397766, -0.5381109714508057, 0.4307803511619568, 0.8290828466415405, 0.33243218064308167, -0.9494501948356628, -0.18296687304973602, 0.14958401024341583, 0.22148114442825317, 0.1917014867067337, -0.3326747417449951, 0.3922746181488037, -0.5910699367523193, -0.6415390372276306, 0.41880640387535095, 0.09897831827402115, -0.18165354430675507, -0.31556016206741333, -0.014591963961720467, -0.001610438572242856, 0.06970971077680588, 0.781392514705658, -0.15112881362438202, -0.5306392908096313, -0.3697117567062378, 0.30486294627189636, -0.2815011143684387, -0.08835895359516144, 0.8428137898445129, -0.9221184849739075, 0.30954936146736145, 0.24087703227996826, 0.858126699924469, 0.41441595554351807, 0.05298703908920288, 0.30602994561195374, -0.826375424861908, -0.1439618468284607, 0.42521336674690247, 0.23051217198371887, 0.47873881459236145, -0.8379033207893372, 0.8118348717689514, 0.3465660810470581, -0.8617702722549438, -1.0387964248657227, -0.0015302937244996428, -0.7660365700721741, -0.2634144723415375, 1.0981981754302979, 0.10951884090900421, -0.32681554555892944, -0.2964942753314972, -0.2959626019001007, 0.3931828439235687, -0.09923021495342255, 1.1522263288497925, 0.6171702146530151, -0.22660890221595764, 0.14819562435150146, -0.6722957491874695, 0.5574387907981873, 0.32886770367622375, -0.758598804473877, 0.21682174503803253, 0.6716738343238831, 0.22064651548862457, 0.2639215588569641, 0.4218810498714447, -0.23157180845737457, 0.07127977907657623, -0.17346909642219543, -0.0888044536113739, -0.042498186230659485, -0.5987288355827332, -0.24543744325637817, 0.23895308375358582, 0.029964692890644073, 0.03475283086299896 ]
http://arxiv.org/abs/2403.10444v1
http://arxiv.org/pdf/2403.10444v1
Optimal Block-Level Draft Verification for Accelerating Speculative Decoding
2024-03-15T16:28:22
2024-03-15T16:28:22
Ziteng Sun, Jae Hun Ro, Ahmad Beirami, Ananda Theertha Suresh
cs.LG
cs.LG, cs.CL, cs.DS, cs.IT, math.IT
Speculative decoding has shown to be an effective method for lossless acceleration of large language models (LLMs) during inference. In each iteration, the algorithm first uses a smaller model to draft a block of tokens. The tokens are then verified by the large model in parallel and only a subset of tokens will be kept to guarantee that the final output follows the distribution of the large model. In all of the prior speculative decoding works, the draft verification is performed token-by-token independently. In this work, we propose a better draft verification algorithm that provides additional wall-clock speedup without incurring additional computation cost and draft tokens. We first formulate the draft verification step as a block-level optimal transport problem. The block-level formulation allows us to consider a wider range of draft verification algorithms and obtain a higher number of accepted tokens in expectation in one draft block. We propose a verification algorithm that achieves the optimal accepted length for the block-level transport problem. We empirically evaluate our proposed block-level verification algorithm in a wide range of tasks and datasets, and observe consistent improvements in wall-clock speedup when compared to token-level verification algorithm. To the best of our knowledge, our work is the first to establish improvement over speculative decoding through a better draft verification algorithm.
[ -0.24940890073776245, -0.7575502991676331, 0.6293254494667053, 0.5735386610031128, -0.423522412776947, 0.4876648485660553, -0.1687914878129959, -0.7815576791763306, 0.12161111831665039, 0.34135523438453674, -0.5061055421829224, -0.3349914848804474, -0.6995652318000793, 0.15071168541908264, -0.6374644637107849, 0.34540513157844543, -0.3420737385749817, -0.29280373454093933, -0.046547502279281616, 0.41614869236946106, -0.23319368064403534, -0.32800769805908203, -0.7222189903259277, -0.24537909030914307, -0.08226101100444794, 0.2612295150756836, 0.23271849751472473, 1.061340093612671, 0.4661809206008911, 0.29967546463012695, -0.43896061182022095, 0.5889559388160706, -0.6004384160041809, 0.23833498358726501, 0.06981959193944931, -0.28035032749176025, -0.5302320122718811, -0.534532904624939, 0.8356252312660217, 0.3615509867668152, 0.011629377491772175, 0.19924166798591614, -0.527417004108429, 0.6091180443763733, -0.8560450673103333, -0.09990209341049194, -0.7678542137145996, -0.156851127743721, -0.4499095678329468, -0.8436833620071411, -0.7015535235404968, -0.4641803503036499, -0.2846969664096832, -0.5730891823768616, 0.23145174980163574, 0.6122759580612183, 0.760611355304718, -0.09754844009876251, -0.5973994135856628, 0.0331634059548378, -0.7420894503593445, 0.41934046149253845, -0.45851948857307434, 0.6010735630989075, 0.3790108561515808, 0.09837078303098679, -0.2919338047504425, -0.6922287940979004, -0.515398383140564, -0.15417975187301636, 0.09830890595912933, 0.015844574198126793, -0.19252006709575653, 0.20091713964939117, 0.46159061789512634, 0.4890178143978119, -0.7238712906837463, 0.31066229939460754, -0.46602022647857666, -0.8772186040878296, 0.6805016398429871, 0.4450346529483795, -0.00011768694821512327, 0.11934354901313782, -0.3901822865009308, 0.019389266148209572, -0.796227216720581, 0.28411605954170227, 0.4774675667285919, -0.023866519331932068, -0.1008124127984047, 0.3360772430896759, -0.7364334464073181, 0.6367671489715576, 0.1992587149143219, -0.07674015313386917, 0.27151983976364136, -0.5647144913673401, 0.11170679330825806, 0.03674325346946716, 0.5015428066253662, 0.3776535093784332, -0.09336873143911362, -0.26815709471702576, -0.45026886463165283, 0.08964740484952927, -0.08006876707077026, -1.0548912286758423, 0.09526296705007553, 0.397356241941452, -0.42486751079559326, -0.28675517439842224, -0.11028973013162613, -0.6198428273200989, -0.2858717739582062, 0.22330807149410248, 0.04182753711938858, -0.22694995999336243, -0.4857728183269501, 0.6615085005760193, -0.19923409819602966, 0.1912711262702942, 0.1608416736125946, -1.140644907951355, 0.4504135847091675, 0.8102878332138062, 0.8040077090263367, -0.26693785190582275, -0.1995229870080948, -0.6618661880493164, 0.0638996958732605, -0.7940459847450256, 1.1434998512268066, -0.37263134121894836, -0.3133781850337982, 0.06741934269666672, -0.2080860137939453, 0.14692440629005432, -0.18496446311473846, 0.8908795714378357, -0.748941957950592, -0.4206715226173401, -0.5039093494415283, -0.7347682118415833, 0.19748704135417938, 0.33462485671043396, -0.3794042468070984, 0.9732235670089722, -0.06019938737154007, -0.837275505065918, 0.3831956684589386, -0.5794092416763306, -0.6705642938613892, 0.08270371705293655, 0.1476214975118637, 0.042741525918245316, 0.29593372344970703, 0.5735683441162109, 0.4111531674861908, -0.3406171202659607, -0.07613091915845871, -0.15070120990276337, -0.7960052490234375, 0.0908237099647522, -0.40515002608299255, 0.6838023662567139, 0.3075854480266571, -0.18169225752353668, 0.18238860368728638, -0.7735285758972168, 0.21793465316295624, 0.10056047886610031, -0.3693590462207794, -0.10262978076934814, -0.13237929344177246, -0.1767720878124237, -0.19541464745998383, 0.22911255061626434, -0.8386487364768982, 0.21883010864257812, -0.4931042194366455, 0.33820125460624695, 1.09798264503479, 0.1564178764820099, 0.3870616555213928, -0.2619972229003906, 0.5030126571655273, -0.012231443077325821, 0.20296470820903778, -0.33785682916641235, -0.2881196439266205, -0.6273094415664673, -0.32086512446403503, 0.30272743105888367, 0.32412904500961304, -0.5950126647949219, 0.2598297595977783, -0.17576003074645996, -0.30296871066093445, -0.41501423716545105, -0.22725100815296173, 0.2655521631240845, 0.4067765772342682, 0.3532806634902954, 0.13857534527778625, -0.738783061504364, -0.6581528782844543, -0.21885833144187927, -0.48377296328544617, 0.4397242069244385, -0.07344245910644531, 0.19064152240753174, -0.01793038472533226, 0.25847920775413513, -0.4963354170322418, 0.44735029339790344, -0.19299215078353882, 0.07098327577114105, 0.13209015130996704, 0.6495071053504944, 0.3495723605155945, -0.2742704749107361, -0.3252975046634674, 0.26983994245529175, -0.35661250352859497, -0.29614412784576416, -0.26350000500679016, -0.43068769574165344, 0.20351682603359222, 0.7707017064094543, -0.6221684813499451, 0.32026413083076477, 0.5784627795219421, -0.612885594367981, 0.7593092322349548, -0.36667609214782715, 0.3667512536048889, -0.6348591446876526, 0.06716147065162659, -0.3522920608520508, -0.6183865666389465, -0.5467826128005981, 0.48047468066215515, 0.3199085295200348, 0.19622303545475006, -0.16293218731880188, 0.5296124815940857, -0.6047840118408203, 0.16450151801109314, -0.5229023098945618, 0.11223898828029633, 0.04758831113576889, 0.16271336376667023, -0.024130718782544136, 0.8597820997238159, 0.7815468907356262, -0.4155636429786682, 0.21877306699752808, -0.2461395561695099, -0.4742683470249176, 0.200019970536232, -0.459674209356308, 0.502144992351532, -0.289255827665329, 0.5552067160606384, -0.9537402987480164, 0.22802092134952545, 0.1394488364458084, -0.10641307383775711, 0.2031632512807846, -0.06633555889129639, -0.5134868025779724, -0.7235704660415649, -0.1597939133644104, 0.6747212409973145, 0.6975104808807373, -0.5778228640556335, 0.5447056889533997, 0.10461708158254623, 0.324476957321167, -0.9271848201751709, -0.526688814163208, 0.05591680482029915, 0.24540241062641144, -0.7400791645050049, 0.5042440891265869, -0.2593025267124176, -0.15185008943080902, -0.09653674066066742, -0.548697292804718, -0.0672714039683342, -0.014108406379818916, 0.14549317955970764, 0.2414889931678772, -0.14849814772605896, -0.3837323486804962, 0.5313125848770142, -0.34270069003105164, 0.1101822704076767, -0.8269407749176025, 0.5219898819923401, -0.10238789021968842, -0.330554723739624, -0.6478672623634338, 0.484103262424469, 0.6154093146324158, -0.07635515928268433, 0.4027444124221802, 0.8273521661758423, -0.3694518506526947, -0.47180336713790894, -0.9508330821990967, -0.0782654732465744, -0.5205124616622925, 0.33841729164123535, -0.7712087631225586, -1.0831371545791626, 0.8064270615577698, -0.09400138258934021, 0.13038863241672516, 0.4588456451892853, 0.5847256183624268, 0.2636033594608307, 0.7990506887435913, 0.7845540046691895, -0.05444205179810524, 0.2174995392560959, -0.20489095151424408, 0.09942500293254852, -0.7597379088401794, -0.45074790716171265, -0.7339354753494263, -0.28268173336982727, -0.17914004623889923, -0.6207178831100464, -0.05153689906001091, 0.048279065638780594, -0.02854185737669468, 0.26329755783081055, -0.3287661671638489, 0.8492721319198608, 0.09432888776063919, 0.20546340942382812, 0.5407420992851257, 0.0753290131688118, -0.5315898656845093, 0.37598034739494324, -0.7321820855140686, 0.02818525955080986, 0.9625552296638489, 0.4223821461200714, 0.6673468351364136, -0.19785532355308533, 0.7936885356903076, 0.39568808674812317, 0.09404335916042328, -0.5365535616874695, 0.7851765155792236, 0.013170885853469372, -0.7181199193000793, -0.2370000034570694, -0.7547270655632019, -0.552915632724762, 0.1584250032901764, -0.19309602677822113, -0.8958324193954468, 0.4235602021217346, 0.32503002882003784, -0.1840970814228058, 0.5081838965415955, -0.505426824092865, 0.4849752187728882, 0.18824979662895203, -0.2812938094139099, -0.5807176232337952, -0.17263761162757874, 0.6643821001052856, -0.02500111050903797, -0.022439531981945038, -0.24605686962604523, -0.10622871667146683, 0.5388167500495911, -0.5255295634269714, 0.24921734631061554, -0.197986900806427, -0.2830283045768738, 0.18583378195762634, 0.4098694324493408, 1.0684247016906738, 0.14459824562072754, -0.345477432012558, 0.0771552175283432, 0.0653781145811081, -0.570183515548706, -0.3771168887615204, 0.6568584442138672, -0.7097272276878357, -0.66382896900177, -0.1449376940727234, -0.5519956946372986, -0.14008361101150513, 0.346650093793869, 0.42438286542892456, 0.4469066560268402, 0.03688419237732887, -0.14930467307567596, 0.46530982851982117, 0.2068127542734146, 0.42787808179855347, 0.4254685342311859, -0.3058123290538788, -0.0693635642528534, 0.8004146218299866, -0.18446001410484314, 0.20170360803604126, 0.6715177893638611, 0.3597261905670166, -0.4507749378681183, -1.5159951448440552, -0.4308868646621704, 0.035466279834508896, -0.7750964164733887, -0.21337993443012238, -0.5531760454177856, -0.17666852474212646, -0.2705504298210144, -0.07267654687166214, -0.5309286713600159, -0.6165974736213684, 0.24267607927322388, -0.252947598695755, 0.3099631667137146, 0.5143749713897705, -0.32235202193260193, 0.027249572798609734, -0.5305472016334534, 0.442789226770401, 0.028632234781980515, 0.37072765827178955, 0.21380814909934998, -0.8692451119422913, -0.3288746774196625, -0.24110469222068787, 0.12431518733501434, -0.4695078134536743, -0.16682057082653046, -0.2853836715221405, 0.5698302984237671, 0.5972411036491394, 0.30661505460739136, 1.08576238155365, -0.421904593706131, 0.5356866717338562, 0.12103968113660812, -1.3236531019210815, 0.16426712274551392, -0.27729329466819763, 0.2758474051952362, 0.4041607677936554, -0.004322217311710119, -0.43620064854621887, -0.5595133900642395, -0.2559308409690857, -0.7965444326400757, 0.4500139057636261, 0.27579569816589355, 0.043652668595314026, -0.011131919920444489, 0.5529484152793884, 0.19784845411777496, -0.28473997116088867, -0.22882400453090668, -0.2150816023349762, -0.16501742601394653, 0.27797731757164, 0.34222304821014404, -0.468948632478714, 0.06022189185023308, -0.1355239748954773, 0.6731008887290955, 0.008780277334153652, 0.3448854982852936, 0.30386924743652344, 0.01492356788367033, -0.4925868809223175, 0.16890209913253784, 0.8569889068603516, 0.8599364757537842, -0.3771999478340149, 0.3041541278362274, 0.3040408492088318, -0.5490350127220154, 0.4228123426437378, -0.07937438040971756, -0.3027174472808838, -0.009026329033076763, 0.47846856713294983, 0.9639008045196533, -0.30633360147476196, -0.5345590114593506, 0.48822280764579773, -0.22620078921318054, -0.48883509635925293, 0.16084150969982147, -0.17022711038589478, -0.08165624737739563, 0.3282063603401184, 0.5413285493850708, 0.38210850954055786, 0.030296092852950096, 0.022385289892554283, 0.05557536706328392, 0.3655056357383728, 0.19956646859645844, -0.39887142181396484, 0.5451120734214783, 0.29941532015800476, -0.2665317952632904, 0.5126799941062927, -0.4300435185432434, -0.30416882038116455, 0.49669405817985535, 0.8284609913825989, 1.0264555215835571, 0.09812866896390915, 0.08485148102045059, 0.3831499218940735, 0.6865034699440002, -0.504766583442688, 0.5216841101646423, -0.12067078053951263, -0.8062918186187744, -0.754915714263916, -0.49418359994888306, -0.30444058775901794, -0.0645432323217392, -0.383142352104187, -0.008145108819007874, -0.7432478666305542, -0.26472723484039307, -0.4205533266067505, -0.05025222525000572, -0.7304750084877014, -0.15818805992603302, 0.3430444300174713, 1.4331179857254028, -0.5676317811012268, 0.7313594818115234, 0.1291452795267105, 0.3772871196269989, -0.8832105994224548, 0.10029372572898865, -0.2732745409011841, -0.9419287443161011, 0.5444278120994568, -0.01983853057026863, -0.4123953580856323, 0.10071264952421188, -0.10618007928133011, -0.8431808948516846, 0.9836236834526062, 0.4468010365962982, -0.7816619277000427, 0.06519237160682678, -0.27609798312187195, 0.33127307891845703, -0.3516328036785126, 0.4108753502368927, 0.30195412039756775, 0.48785528540611267, 0.18290166556835175, -0.7178782820701599, 0.6184518933296204, -0.23008255660533905, 0.08164208382368088, 0.18481196463108063, -0.569243311882019, 0.5434172749519348, -0.394592821598053, -0.40202200412750244, 0.39299532771110535, 0.9494126439094543, 0.18671782314777374, 0.08768899738788605, 0.6109576225280762, 0.3790121376514435, 1.13504958152771, 0.05889227241277695, 0.9766249656677246, -0.5920262336730957, 0.11214162409305573, 0.5289061069488525, -0.2755342721939087, 0.835358202457428, 0.4466426968574524, -0.11917039006948471, 0.6082748770713806, 0.6976128816604614, 0.2262125164270401, 0.29231953620910645, 0.47899264097213745, -0.24190421402454376, -0.3674922585487366, -0.2967902719974518, -0.5242153406143188, 0.14857785403728485, 0.04252117499709129, -0.06738670915365219, -0.030425237491726875, -0.30928149819374084, -0.05575093999505043, -0.1404651552438736, -0.43090882897377014, 0.36535826325416565, -0.2123846709728241, -0.5635694265365601, 1.047153353691101, 0.4029715359210968, 0.5865253806114197, -0.7198318243026733, 0.5034436583518982, -0.3754179775714874, 0.08208193629980087, -0.20622698962688446, -0.37289074063301086, 0.13264699280261993, -0.021441351622343063, -0.19170457124710083, -0.41355541348457336, 0.6605434417724609, -0.1688118577003479, -0.5982304811477661, 0.16965800523757935, 0.45083680748939514, 0.14152373373508453, 0.031956885010004044, -0.19160178303718567, 0.7990782260894775, -0.17289474606513977, -0.25489482283592224, 0.06796320527791977, 0.5599805116653442, -0.012054520659148693, 0.7192369103431702, 1.0492075681686401, 0.6013985872268677, 0.24703113734722137, 0.14348748326301575, 1.025669813156128, -0.642251193523407, -0.7905399799346924, -1.0443772077560425, 0.3542685806751251, -0.15221107006072998, -0.24836167693138123, 0.5234507918357849, 0.5298374891281128, 0.6323358416557312, 0.03817398473620415, 0.6678643226623535, 0.10721803456544876, -0.024965930730104446, -0.879289984703064, 0.3053909242153168, -0.22090372443199158, 0.4693964719772339, -0.17718659341335297, -0.821940004825592, -0.1602575033903122, 0.3278888165950775, -0.04670495539903641, -0.2368704080581665, 1.1965245008468628, 1.0277715921401978, 0.007344591431319714, 0.1550358384847641, 0.2003496289253235, 0.20375624299049377, 0.30402904748916626, 0.9059919714927673, 1.0382187366485596, -0.5311262011528015, 0.6282010674476624, -0.3443886339664459, -0.2535805404186249, 0.03649738058447838, -1.2236205339431763, -1.1130285263061523, -0.25719937682151794, -0.3246932327747345, -0.6114657521247864, 0.3011351227760315, 0.9705654978752136, 1.0211979150772095, -0.5047861933708191, -0.44509202241897583, -0.23764750361442566, 0.32194072008132935, -0.6691397428512573, -0.14734011888504028, 0.3468300402164459, -0.15237732231616974, -0.4447163939476013, 0.7903634905815125, 0.49260368943214417, 0.05758056417107582, -0.24861115217208862, -0.15290404856204987, 0.11897899210453033, 0.3464582860469818, 0.4862842857837677, 0.330727756023407, -0.5992062091827393, -0.13917598128318787, 0.12189356982707977, 0.0007417871966026723, -0.12863270938396454, 1.4677022695541382, -0.5748288631439209, 0.3115689158439636, 0.9472076296806335, 0.8873664140701294, 0.916654109954834, 0.09736428409814835, 0.5525374412536621, -0.43563419580459595, 0.4245869517326355, 0.05773520842194557, 0.27891120314598083, -0.1519891619682312, -0.6752055883407593, 0.04528482258319855, 0.5075079798698425, -0.29635003209114075, -1.062955617904663, 0.19475094974040985, -1.0627446174621582, -0.19698546826839447, 0.9909222722053528, -0.23757734894752502, -0.2883532643318176, -0.09959414601325989, 0.03926421329379082, -0.22324784100055695, -0.6794524192810059, 0.7410483360290527, 0.6046480536460876, -0.05061079561710358, -0.34729644656181335, -0.022947920486330986, 0.45470917224884033, 0.17483322322368622, -0.7000356316566467, 0.589852511882782, 0.128013476729393, 0.11336532235145569, -0.12787310779094696, 1.1095514297485352, -0.13941514492034912, 0.1814315915107727, 0.3496111333370209, -0.34900394082069397, -0.6493179798126221, -0.40998250246047974, -0.051589444279670715, 0.3099524974822998, 0.05302950739860535, -0.09287973493337631 ]
http://arxiv.org/abs/2403.10381v1
http://arxiv.org/pdf/2403.10381v1
Monotonic Representation of Numeric Properties in Language Models
2024-03-15T15:10:41
2024-03-15T15:10:41
Benjamin Heinzerling, Kentaro Inui
cs.CL
cs.CL
Language models (LMs) can express factual knowledge involving numeric properties such as Karl Popper was born in 1902. However, how this information is encoded in the model's internal representations is not understood well. Here, we introduce a simple method for finding and editing representations of numeric properties such as an entity's birth year. Empirically, we find low-dimensional subspaces that encode numeric properties monotonically, in an interpretable and editable fashion. When editing representations along directions in these subspaces, LM output changes accordingly. For example, by patching activations along a "birthyear" direction we can make the LM express an increasingly late birthyear: Karl Popper was born in 1929, Karl Popper was born in 1957, Karl Popper was born in 1968. Property-encoding directions exist across several numeric properties in all models under consideration, suggesting the possibility that monotonic representation of numeric properties consistently emerges during LM pretraining. Code: https://github.com/bheinzerling/numeric-property-repr
[ -0.5890244245529175, -0.39240872859954834, 0.3873203992843628, 0.37789690494537354, -0.04009567201137543, 0.0009283323888666928, -0.3667311370372772, -0.29361507296562195, 0.37562814354896545, 0.5258685946464539, -0.5293911099433899, -0.5177791118621826, -0.4811067581176758, -0.20875504612922668, 0.12806436419487, 1.059178352355957, 0.12728241086006165, -0.19696511328220367, -0.32430964708328247, -0.3359299898147583, -0.2167828381061554, -1.0218876600265503, -0.35299986600875854, -0.2523306608200073, 0.44998711347579956, 0.43438592553138733, 1.0202397108078003, 0.8883482217788696, 0.1556558609008789, 0.30891454219818115, -0.5027753710746765, -0.24997645616531372, -0.6418116688728333, 0.017146145924925804, 0.17275717854499817, -0.2110501229763031, -0.7335303425788879, 0.04203849285840988, 0.8931734561920166, 1.1956161260604858, 0.07281798869371414, 0.15518614649772644, -0.033992525190114975, 0.8242000341415405, -0.378097802400589, 0.174250990152359, -0.6170273423194885, 0.2523331344127655, -0.03647357597947121, -0.507546603679657, -0.6558220982551575, -0.5472341179847717, -0.004116502590477467, -0.44727709889411926, 0.3200843036174774, -0.4685378670692444, 0.7258273363113403, 0.19110755622386932, -0.42233020067214966, -0.26699674129486084, -0.86748868227005, 0.8777555227279663, -0.7773268222808838, 0.6141722202301025, 0.18237867951393127, 0.10314831137657166, -0.09839198738336563, -0.1677025854587555, -0.13065049052238464, -0.5300917029380798, -0.39481109380722046, -0.41797542572021484, -0.059379942715168, -0.11436986923217773, 0.4594959318637848, 0.39489614963531494, -0.5706565976142883, -0.0529308058321476, -0.6545855402946472, -0.27927592396736145, 0.7727534174919128, -0.006811799481511116, 0.09608428925275803, -0.31316831707954407, -0.5912636518478394, -0.16154290735721588, -0.6420603394508362, 0.05970369651913643, 0.27404212951660156, 0.6146728992462158, -0.25153663754463196, 0.6107826828956604, 0.019490569829940796, 0.7054427266120911, -0.022776978090405464, -0.36375170946121216, 0.4263288080692291, -0.36769115924835205, -0.02256886102259159, 0.29875701665878296, 0.4342272877693176, -0.06218794360756874, 0.5272318124771118, -0.03517177328467369, -0.25552499294281006, -0.1164044588804245, 0.18898208439350128, -0.870585560798645, -0.020077364519238472, 0.025228045880794525, -0.4528263211250305, -0.34377649426460266, 0.2658556401729584, -0.6145098805427551, -0.5301830768585205, -0.4041352868080139, 0.13720765709877014, -0.5358860492706299, -0.0009073037654161453, 0.3578421473503113, -0.06880433112382889, -0.02618836797773838, 0.22058184444904327, -0.8820850849151611, 0.3973301351070404, 0.4745124280452728, 0.5130353569984436, 0.36251726746559143, -0.25512102246284485, -0.2600523829460144, -0.31325042247772217, -0.4595840275287628, 0.3062191903591156, -0.5191251039505005, -0.3691696524620056, -0.15306882560253143, -0.3271805942058563, 0.3614654839038849, -0.7594937086105347, -0.061309799551963806, -0.8412874937057495, -0.11736675351858139, 0.22024066746234894, -0.467138409614563, 0.2670683264732361, -0.248139888048172, -0.7271423935890198, 0.7339603900909424, 0.3730529844760895, -0.6902147531509399, 0.611798107624054, -0.6711658835411072, -0.08911921083927155, -0.048237916082143784, -0.09814897179603577, -0.477914422750473, 0.39155179262161255, 0.14448212087154388, 0.16245445609092712, 0.3030473291873932, 0.09677459299564362, -0.32875770330429077, -0.0630892813205719, 0.425728976726532, -0.41125330328941345, 1.1162476539611816, 0.1594303697347641, 0.33943402767181396, 0.07885773479938507, -1.3060566186904907, 0.04323732107877731, 0.2781630754470825, -0.44713324308395386, -0.4148465394973755, -0.20556221902370453, -0.1972193568944931, 0.11353020370006561, 0.886154294013977, -0.32663068175315857, 0.6874546408653259, -0.1950680911540985, -0.0028062204364687204, 0.47299760580062866, 0.4587644338607788, 0.7511789202690125, -0.2737400233745575, 0.6792519688606262, 0.4506676495075226, 0.024380002170801163, -0.6290487051010132, -0.34907329082489014, -0.5870377421379089, -0.1481219232082367, 0.23420295119285583, 0.32377323508262634, -0.25326207280158997, 0.40872159600257874, -0.37810736894607544, -0.6095950603485107, -0.5595056414604187, 0.5148464441299438, 0.1664147824048996, 0.2936132252216339, 0.48274120688438416, -0.24891918897628784, -0.7275647521018982, -0.8938109278678894, -0.27884024381637573, -0.2631049156188965, 0.19955632090568542, 0.04341427609324455, 0.1332358717918396, -0.061678942292928696, 1.1171766519546509, -0.7595303058624268, 0.12387903034687042, -0.007240411825478077, 0.7779175639152527, 0.42922523617744446, 0.7890313863754272, 0.66008061170578, -0.47100114822387695, -0.21981360018253326, 0.042856357991695404, -0.5828338861465454, -0.182876318693161, -0.20646482706069946, 0.15489087998867035, 0.17174050211906433, 0.5214211344718933, -0.3361462950706482, 0.7263414859771729, 0.28689590096473694, -0.7297716736793518, 0.6156425476074219, -0.7257882356643677, -0.2519603967666626, -0.5496236085891724, -0.13305512070655823, 0.04399251192808151, -0.4835250675678253, -0.8597427010536194, -0.07149607688188553, 0.16640295088291168, -0.14501367509365082, -0.46089738607406616, 0.37725919485092163, -0.5596334934234619, -0.044255178421735764, -0.04388991370797157, -0.24875150620937347, -0.14447437226772308, 0.39559900760650635, 0.08527249842882156, 0.7622973322868347, 0.3604339063167572, -0.6257638931274414, -0.09947367012500763, 0.1428970992565155, -0.2896873354911804, 0.4722186326980591, -0.3762577474117279, 0.45109906792640686, -0.6404999494552612, -0.08110833913087845, -0.7504249811172485, 0.19291843473911285, -0.01731577329337597, -0.4807210862636566, 0.29692599177360535, -0.6106168031692505, -0.4038117527961731, -0.08574852347373962, -0.2156372368335724, 0.5629759430885315, 0.5715397596359253, -0.3587131202220917, 0.3815903961658478, 0.25170499086380005, -0.4111894369125366, -0.4560503661632538, -0.5519867539405823, -0.19760578870773315, -0.3363628685474396, -0.7276894450187683, 0.27356821298599243, -0.1984771341085434, -0.3296799957752228, 0.07188320904970169, -0.031634051352739334, -0.4673687517642975, 0.02185262180864811, 0.0022505302913486958, 0.47763222455978394, -0.6826855540275574, 0.013972669839859009, -0.09293363988399506, -0.43469637632369995, 0.06258204579353333, -0.24737973511219025, 0.5696070790290833, -0.2299201786518097, -0.2585766911506653, 0.03357745707035065, 0.06128017231822014, 0.8516862988471985, -0.24856822192668915, 0.9207414388656616, 0.1192055195569992, -0.49727556109428406, -0.4404650628566742, -0.21741564571857452, -0.2511499524116516, -0.42100411653518677, 0.15623947978019714, -0.3515664339065552, -0.7550173997879028, 0.8040199279785156, 0.13127675652503967, -0.24204620718955994, 0.36681392788887024, 0.4018644392490387, 0.18119879066944122, 0.9225078225135803, 0.5703564882278442, 0.09549824148416519, 0.4421710968017578, -0.3167475461959839, 0.2409178465604782, -0.6560646891593933, -0.16235916316509247, -0.41954293847084045, -0.31412336230278015, -0.7927436828613281, -0.5134641528129578, 0.5931843519210815, 0.257365345954895, -0.46357014775276184, 0.4304628074169159, -0.3527693748474121, 0.4583391547203064, 0.4172987639904022, 0.04319005832076073, 0.5518722534179688, -0.18337851762771606, 0.019341321662068367, -0.562785804271698, -0.7386890053749084, -0.6734208464622498, 0.9325075149536133, 0.5635365843772888, 0.9605733156204224, -0.017379097640514374, 0.875237762928009, 0.10910151898860931, 0.5316099524497986, -0.506870687007904, 0.5320996046066284, -0.10648293793201447, -0.7522180080413818, -0.37930718064308167, -0.6325652003288269, -0.7096043825149536, 0.055021271109580994, -0.23780076205730438, -0.8656246662139893, 0.7449104189872742, 0.4577781558036804, -0.43844476342201233, 0.2403980940580368, -0.510749876499176, 1.100957989692688, -0.4515136778354645, -0.36930879950523376, 0.007454036734998226, -0.5100565552711487, 0.26666659116744995, -0.07168405503034592, 0.3343171179294586, -0.07996669411659241, -0.040910203009843826, 0.39747220277786255, -0.7988643050193787, 0.8164574503898621, -0.5414546132087708, -0.14729022979736328, 0.1701519936323166, 0.568942666053772, 0.26524004340171814, 0.23967385292053223, -0.09847234189510345, -0.11133338510990143, 0.15878556668758392, -0.546428382396698, -0.7947214841842651, 0.7283151149749756, -0.7380861639976501, -0.3140152394771576, -0.5611839890480042, -0.6088773012161255, -0.12132390588521957, 0.24059249460697174, -0.06712882220745087, 0.6603309512138367, -0.30497679114341736, 0.13393570482730865, 0.41730359196662903, -0.2614000141620636, 0.1437649428844452, 0.4466032087802887, -0.8720512986183167, -0.20191936194896698, 0.9441382884979248, 0.5826653242111206, 0.2373991161584854, 0.2300700545310974, 0.28229275345802307, -0.19583512842655182, -0.11257262527942657, -0.30165788531303406, 0.3730710744857788, -0.9648572206497192, 0.01633799821138382, -0.309926301240921, -0.38010290265083313, -0.14778843522071838, -0.2583329677581787, -0.54572993516922, -0.729984700679779, -0.3079405426979065, -0.06620924174785614, 0.3030174672603607, 0.9708254337310791, -0.3822469711303711, 0.10678360611200333, -0.6949189901351929, 0.2986995279788971, 0.48250290751457214, 0.4716321527957916, 0.03208030387759209, -0.6696366667747498, -0.3724924325942993, 0.023489367216825485, -0.03568696603178978, -1.0873063802719116, 0.3724246621131897, 0.05795656889677048, 0.07910413295030594, 0.7010478377342224, -0.19663700461387634, 0.8449900150299072, -0.2479795664548874, 0.6876117587089539, -0.12552563846111298, -1.1284382343292236, 0.5119668841362, -0.21435832977294922, 0.6450685858726501, 0.6990686058998108, 0.34980565309524536, -0.4850512444972992, -0.12326526641845703, -0.8149281740188599, -0.7596439123153687, 0.6715990900993347, -0.11871162056922913, 0.4144572913646698, 0.21236057579517365, 0.23301276564598083, 0.3651898205280304, 0.2701372504234314, -0.8843668103218079, -0.5436066389083862, -0.24734769761562347, -0.007882388308644295, -0.008698866702616215, -0.4329988658428192, 0.1313888132572174, -0.6852147579193115, 0.5326024293899536, 0.07597582787275314, 0.23378679156303406, 0.1449146568775177, -0.17088302969932556, -0.09450963884592056, 0.5466957092285156, 0.8711501955986023, 1.0634499788284302, -0.6528018116950989, 0.5938528180122375, 0.2781509757041931, -0.03322664275765419, 0.4270993173122406, 0.08114810287952423, -0.2189638316631317, 0.25192055106163025, 0.6082813143730164, 0.8962408900260925, 0.7945501804351807, -0.38250860571861267, 0.4086218774318695, 0.3592688739299774, 0.12739111483097076, -0.5375362634658813, 0.06143000349402428, 0.0765131264925003, -0.258308082818985, 0.4408179819583893, 0.030959386378526688, -0.3111719489097595, -0.6580348610877991, 0.27710622549057007, 0.2199344038963318, -0.591290295124054, -0.5973652601242065, 0.5307921171188354, -0.5292325615882874, -0.29320603609085083, 0.44027259945869446, -0.4916335940361023, -0.32528814673423767, 0.4356956481933594, 0.6852548122406006, 0.6250779032707214, -0.336914598941803, 0.3343152403831482, 0.4913772642612457, 0.33639654517173767, 0.3463880121707916, 0.2793411612510681, 0.08241105079650879, -1.0348867177963257, -0.2975704073905945, -0.564801812171936, -0.1920483559370041, 0.2617971897125244, -0.6967737674713135, 0.48695462942123413, -0.5524867177009583, -0.34900951385498047, 0.2355082929134369, -0.42353445291519165, -0.9587656855583191, 0.1074301227927208, 0.5591232180595398, 1.1521084308624268, -0.8686116337776184, 0.5320683121681213, 0.9679937362670898, -0.5592633485794067, -0.524391770362854, -0.3590937852859497, 0.023211095482110977, -0.6747267246246338, 0.9335039854049683, -0.35374757647514343, -0.049032922834157944, 0.05190115049481392, -0.7088984251022339, -0.808278501033783, 0.6945032477378845, 0.4597955644130707, -0.37960246205329895, -0.11029345542192459, 0.5095112323760986, 0.8094791173934937, -0.5608837008476257, 0.06453453749418259, 0.5010537505149841, 0.7491068243980408, -0.014979925006628036, -0.6537278294563293, -0.25978854298591614, -0.24200473725795746, 0.15407933294773102, 0.11107804626226425, -0.21215102076530457, 1.0520031452178955, -0.3261163532733917, -0.29244205355644226, -0.2521519660949707, 0.6959658265113831, 0.3300796449184418, 0.30582723021507263, 0.41655176877975464, 0.7327763438224792, 0.7145114541053772, 0.04960571601986885, 1.0205265283584595, -0.8909956812858582, 0.5206927061080933, 0.796772301197052, 0.09406204521656036, 0.644207775592804, 0.5397179126739502, -0.2409113496541977, 0.6095525622367859, 0.09020213782787323, 0.2652159035205841, 0.3136684000492096, 0.4428279995918274, -0.28330737352371216, -0.03131737932562828, 0.18867923319339752, -0.278548926115036, 0.32762253284454346, 0.06203931197524071, -0.5043624639511108, -0.2498517632484436, -0.14608435332775116, 0.6763026714324951, 0.1497359722852707, -0.28688448667526245, 0.8486646413803101, 0.2137504667043686, -0.5274085402488708, 0.9035061597824097, -0.07184270024299622, 0.2923874855041504, -0.6487730741500854, -0.01614495925605297, -0.2455543875694275, 0.03979670628905296, -0.20966005325317383, -0.7879124879837036, 0.348947137594223, 0.056142594665288925, -0.42056939005851746, -0.514748752117157, 0.7624092698097229, -0.7662529349327087, -0.7771963477134705, 0.26333969831466675, 0.5924900770187378, -0.06391937285661697, 0.2218191772699356, -0.2987915873527527, 0.3372565805912018, -0.2319881021976471, -0.19818513095378876, -0.036828119307756424, 0.6760008335113525, 0.015150713734328747, 0.4556068181991577, 0.49179619550704956, 0.607781708240509, 0.33747562766075134, -0.058771684765815735, 0.8019841313362122, -0.9451798796653748, -0.5456893444061279, -0.8016300797462463, 0.7981989979743958, 0.06951258331537247, -0.4759540855884552, 0.48854872584342957, 0.6571203470230103, 0.819102942943573, -0.3910750150680542, 0.7894889712333679, 0.06772954761981964, 0.3454025983810425, -0.39946937561035156, 0.6354294419288635, -0.34020090103149414, 0.2301451712846756, 0.024468345567584038, -1.0828107595443726, -0.37693509459495544, 0.7314663529396057, -0.6169294118881226, 0.12322483956813812, 0.46345964074134827, 0.8538210988044739, -0.27485325932502747, -0.18946729600429535, 0.26656344532966614, 0.44980964064598083, -0.05908092111349106, 0.14909584820270538, 0.9249794483184814, -0.08637016266584396, -0.1866919845342636, -0.5998106002807617, -0.2967506945133209, -0.36014288663864136, -1.1396825313568115, -0.5476409196853638, -0.6676352024078369, -0.2844613194465637, -0.2187061309814453, -0.09020625054836273, 1.324324131011963, 0.7714892029762268, -0.9442405104637146, -0.4851877987384796, 0.2752033770084381, 0.18288744986057281, -0.16943423449993134, -0.26831796765327454, -0.008140940219163895, -0.2840944230556488, -0.3039093315601349, 0.47145646810531616, 0.35036131739616394, 0.24849890172481537, -0.6459217071533203, -0.18764349818229675, 0.0990895926952362, 0.2655051052570343, 0.3856965899467468, 0.4579735994338989, -0.29498371481895447, -0.42653700709342957, -0.13989730179309845, -0.2373250275850296, 0.7356635332107544, 1.1356351375579834, -0.8286026120185852, 0.695290207862854, 0.7027503848075867, 0.22152955830097198, 0.5761871337890625, 0.34240397810935974, 0.4219300150871277, -0.9413679242134094, 0.38618791103363037, 0.38224121928215027, 0.36716634035110474, 0.525111973285675, -0.2010919451713562, 0.0609046071767807, 0.20610520243644714, -0.306876003742218, -0.882804811000824, 0.14612700045108795, -1.0221798419952393, 0.01934196613729, 0.5784270763397217, 0.24606426060199738, -0.12195973843336105, 0.04116000235080719, -0.16611748933792114, -0.028488410636782646, -0.24390560388565063, 0.6921494007110596, 0.7004749774932861, -0.039293695241212845, -0.4127601683139801, -0.4420436918735504, 0.4612814486026764, 0.23678037524223328, -0.562298595905304, 0.1447913646697998, 0.27188825607299805, 0.10040987282991409, 0.5722879767417908, 0.6341084837913513, -0.4437771439552307, 0.09013678878545761, -0.0063584474846720695, 0.38294821977615356, -0.12484601140022278, -0.42384737730026245, -0.5318276286125183, 0.24304993450641632, 0.5128425359725952, 0.35146352648735046 ]
http://arxiv.org/abs/2403.10378v1
http://arxiv.org/pdf/2403.10378v1
EXAMS-V: A Multi-Discipline Multilingual Multimodal Exam Benchmark for Evaluating Vision Language Models
2024-03-15T15:08:39
2024-03-15T15:08:39
Rocktim Jyoti Das, Simeon Emilov Hristov, Haonan Li, Dimitar Iliyanov Dimitrov, Ivan Koychev, Preslav Nakov
cs.CL
cs.CL, cs.CV
We introduce EXAMS-V, a new challenging multi-discipline multimodal multilingual exam benchmark for evaluating vision language models. It consists of 20,932 multiple-choice questions across 20 school disciplines covering natural science, social science, and other miscellaneous studies, e.g., religion, fine arts, business, etc. EXAMS-V includes a variety of multimodal features such as text, images, tables, figures, diagrams, maps, scientific symbols, and equations. The questions come in 11 languages from 7 language families. Unlike existing benchmarks, EXAMS-V is uniquely curated by gathering school exam questions from various countries, with a variety of education systems. This distinctive approach calls for intricate reasoning across diverse languages and relies on region-specific knowledge. Solving the problems in the dataset requires advanced perception and joint reasoning over the text and the visual content of the image. Our evaluation results demonstrate that this is a challenging dataset, which is difficult even for advanced vision-text models such as GPT-4V and Gemini; this underscores the inherent complexity of the dataset and its significance as a future benchmark.
[ -0.37852826714515686, -0.5312995314598083, 0.5019657611846924, 0.2016306072473526, -0.2511521279811859, 0.030589986592531204, -0.08194119483232498, -0.5371283292770386, -0.12247958034276962, 0.5198784470558167, -0.5815127491950989, -0.41356074810028076, -0.22311976552009583, 0.2024654746055603, -0.30041247606277466, 0.5218392610549927, -0.2425735741853714, 0.41959312558174133, -0.677043080329895, -0.4529520273208618, -0.19307059049606323, -0.4041166305541992, -0.27827829122543335, 0.10974475741386414, 0.38962870836257935, 0.03284820169210434, 0.11922116577625275, 0.5466642379760742, 1.0403492450714111, 0.34375977516174316, 0.02279578521847725, 0.2728729248046875, -0.13811016082763672, 0.023512814193964005, -0.2436465471982956, -0.39807939529418945, -0.25477251410484314, -0.034690387547016144, 0.7224720120429993, 0.7384887933731079, 0.06425291299819946, 0.3853536546230316, -0.17844988405704498, 0.5451722741127014, -0.8341206908226013, 0.19005008041858673, -0.5008671283721924, -0.23676639795303345, -0.3326292634010315, -0.07495568692684174, -0.31529128551483154, -0.24952156841754913, 0.3159903287887573, -0.4539649486541748, -0.0660044327378273, -0.20014917850494385, 1.2797719240188599, 0.135268896818161, -0.9541429877281189, 0.06537393480539322, -0.31603509187698364, 0.8319393396377563, 0.12907683849334717, 0.8344867825508118, 0.02021906152367592, 0.5853886604309082, 0.41239240765571594, -0.7605589628219604, -0.44862499833106995, -0.051104553043842316, 0.4237860143184662, 0.5068099498748779, -0.013132793828845024, -0.0015315748751163483, -0.02261613868176937, 0.32116368412971497, -0.5981321334838867, -0.16144788265228271, -0.898914098739624, -0.2297716736793518, 0.5892425179481506, 0.4313889443874359, 0.18811744451522827, -0.12610800564289093, -0.6704198122024536, -0.5489559769630432, -0.5029944777488708, 0.25927698612213135, 0.43523460626602173, -0.07429772615432739, 0.057291191071271896, 0.4282854497432709, -0.511093258857727, 1.0077978372573853, -0.6311395168304443, 0.03834689036011696, 0.5769275426864624, -0.8390274047851562, -0.1365908533334732, -0.479160875082016, 0.7710138559341431, 0.8093313574790955, 0.2995171546936035, 0.30617475509643555, -0.04794435575604439, 0.4154241383075714, 0.20751126110553741, -0.6021397113800049, -0.2688787877559662, 0.09238902479410172, -0.12957096099853516, -0.12434898316860199, -0.14935632050037384, -1.0336964130401611, -0.24734996259212494, -0.4056605100631714, 0.6340608596801758, -0.40660789608955383, -0.16687791049480438, 0.3713378310203552, -0.33680394291877747, 0.713848352432251, 0.6973646283149719, -0.4947771430015564, 0.19020600616931915, 0.5716469287872314, 0.38827669620513916, -0.25265228748321533, -0.6786423921585083, -0.3495450019836426, -0.4267389178276062, -0.45021021366119385, 0.9450550675392151, -0.8524425625801086, -0.2617749869823456, -0.19302701950073242, -0.05163371190428734, -0.18300332129001617, -0.4047999978065491, 0.27161547541618347, -0.3039197623729706, 0.1337887942790985, -0.5014768242835999, -0.2874332070350647, -0.4405099153518677, 0.7592691779136658, -0.6146377921104431, 1.07514488697052, 0.1285368800163269, -0.3454766571521759, 0.5205292701721191, -0.19223181903362274, -0.038307469338178635, 0.3104996681213379, -0.6844468712806702, -0.22373168170452118, -0.06252309679985046, 0.2528039515018463, 0.21298424899578094, -0.6077059507369995, 0.10095228999853134, -0.2866244614124298, -0.21298928558826447, 0.0585295706987381, -0.5858584642410278, 0.8655520677566528, 0.10995859652757645, -0.08815693110227585, -0.0095448549836874, -0.9074885845184326, 0.5008160471916199, 0.09541090577840805, -0.18048809468746185, -0.5815450549125671, 0.016813170164823532, 0.17353655397891998, 0.27686017751693726, 0.41768813133239746, -0.5107589960098267, 0.38021472096443176, -0.049773018807172775, 0.18984556198120117, 0.6169650554656982, -0.01638198457658291, -0.03185826539993286, -0.04933277890086174, 0.6148800849914551, 0.33474352955818176, 0.5773220658302307, -0.3729763627052307, -0.8137183785438538, -0.7093967795372009, -0.10074956715106964, 0.23783643543720245, 0.7878665328025818, -1.0042294263839722, -0.4412984848022461, -0.3387046754360199, -0.9728952646255493, -0.6768116354942322, 0.09693306684494019, 0.8403306603431702, 0.36372673511505127, 0.19565629959106445, -0.5912929177284241, -0.2721412181854248, -1.0229061841964722, -0.3329065144062042, -0.3541112542152405, 0.49087297916412354, 0.41375258564949036, 1.0029301643371582, -0.08908872306346893, 0.44006791710853577, -0.5115618705749512, -0.1223241463303566, 0.03400126099586487, 0.020010896027088165, -0.12159962207078934, 0.15043306350708008, 0.6755110025405884, -1.166225552558899, -0.39411661028862, 0.11953098326921463, -0.6855424642562866, -0.05603468418121338, -0.013421539217233658, 0.011800003238022327, 0.006376086268573999, 0.44742730259895325, -0.054168716073036194, 0.17882034182548523, 0.7261912226676941, -0.4638195037841797, 0.7575022578239441, -0.28923457860946655, 0.5626033544540405, -0.8121917247772217, -0.1908886730670929, 0.24726168811321259, 0.16845466196537018, -0.36200398206710815, 0.5521897077560425, 0.4654310643672943, -0.02554599568247795, -0.8242117762565613, 0.6917892694473267, -0.5060492753982544, -0.07269367575645447, 0.39377811551094055, 0.10594012588262558, 0.19521978497505188, 0.34766313433647156, 0.05288280174136162, 0.8679985404014587, 0.8605554103851318, -0.4451887905597687, 0.6195904612541199, 0.19345355033874512, -0.6128402948379517, 1.0381325483322144, -0.4518168568611145, -0.1216360554099083, -0.12413372844457626, -0.17694804072380066, -0.8310739398002625, -0.04498251900076866, -0.12172827869653702, -0.33697274327278137, -0.19931918382644653, 0.1085025817155838, -0.22088970243930817, -0.4027608335018158, -0.2252793312072754, 0.6906684637069702, 0.2880604863166809, -0.5113545060157776, 0.5171458721160889, 0.2535695731639862, 0.21267540752887726, -0.8050096035003662, -0.5510433912277222, 0.04406644403934479, -0.03239619359374046, -0.7199993133544922, 0.11803802102804184, -0.3240900933742523, -0.48921358585357666, 0.0691143125295639, -0.07309433817863464, -0.4703039526939392, 0.06382721662521362, -0.0843261331319809, 0.3643741011619568, -0.42266663908958435, -0.10002131760120392, -0.22403879463672638, 0.03418440371751785, 0.07762297987937927, -0.056154247373342514, 0.24036096036434174, -0.6632979512214661, -0.5040658116340637, -0.14446845650672913, 0.38117504119873047, 0.9285136461257935, -0.7667679190635681, 0.05474293231964111, 0.3758537173271179, -0.42169085144996643, -0.13201867043972015, -0.5417143106460571, -0.009252557530999184, -0.47859105467796326, 0.7207313179969788, -0.7682307958602905, -0.5468826293945312, 0.4096589982509613, 0.012103159911930561, 0.026556378230452538, 0.33598804473876953, 0.5237061977386475, 0.1966148316860199, 0.9078678488731384, 0.3981861472129822, 0.23572133481502533, 0.2867923080921173, -0.18915440142154694, -0.0564572848379612, -0.5584350824356079, -0.37584787607192993, -0.4453986883163452, 0.05098266154527664, -0.5862097144126892, -0.6241035461425781, 0.4892004430294037, -0.2736241817474365, 0.07838920503854752, 0.2795371115207672, -0.5081802010536194, 0.651691198348999, 0.7199538350105286, 0.023017875850200653, 0.2719328999519348, -0.1586465835571289, -0.16807569563388824, -0.32814475893974304, -0.3016894459724426, -0.26176875829696655, 1.3403902053833008, -0.09481360018253326, 0.5435240268707275, 0.03538134694099426, 0.49906229972839355, -0.2458212524652481, 0.12165622413158417, -0.6974837183952332, 0.6888185143470764, -0.38847002387046814, -1.026065468788147, -0.02885124459862709, -0.32717764377593994, -0.7458463311195374, 0.8512415289878845, -0.14742082357406616, -0.7667827010154724, 0.21453483402729034, -0.03736009821295738, -0.23320907354354858, 0.24413061141967773, -0.8917214870452881, 1.1145442724227905, -0.4644748866558075, -0.5397830605506897, -0.016757672652602196, -0.6224163174629211, 0.536305844783783, -0.17601945996284485, 0.27543067932128906, 0.06733144074678421, -0.12427905946969986, 0.7665762901306152, -0.03963631018996239, 0.6045897006988525, 0.18560153245925903, 0.19548097252845764, 0.3433983325958252, -0.15172383189201355, 0.0020441077649593353, -0.06411465257406235, 0.0009911321103572845, 0.08393342792987823, 0.5404160022735596, -0.42066532373428345, -0.45102325081825256, 0.4530352056026459, -0.816490650177002, -0.4439498484134674, -0.7623094320297241, -0.28660568594932556, -0.2912429869174957, 0.31339114904403687, 0.15416055917739868, 0.8590055704116821, -0.1911192387342453, 0.25736501812934875, 0.620204746723175, -0.4178323745727539, 0.03272319585084915, 0.6265138983726501, -0.30408775806427, -0.5048105716705322, 1.3365498781204224, 0.3293300271034241, 0.4677859842777252, 0.37884199619293213, 0.0509016290307045, -0.27662110328674316, -0.46629902720451355, -0.6300431489944458, 0.28971952199935913, -1.1371140480041504, 0.07131040841341019, -0.578143835067749, -0.2568695545196533, -0.21301932632923126, -0.06926591694355011, -0.6868461966514587, 0.11021500825881958, 0.14851772785186768, 0.1422697752714157, 0.15720635652542114, 0.6083710789680481, 0.21086490154266357, 0.006279123015701771, -0.6695021390914917, 0.42064371705055237, 0.4707775115966797, 0.45640742778778076, -0.6496729850769043, -0.034060411155223846, 0.207154780626297, -0.24831722676753998, -0.4162667691707611, -0.9693136811256409, 0.11476694047451019, 0.27460888028144836, 0.4984852373600006, 0.3279522657394409, -0.2270837128162384, 0.8006321787834167, -0.5591239929199219, 0.9996258020401001, 0.13834244012832642, -0.8444751501083374, 0.31651538610458374, -0.34206801652908325, 0.31411394476890564, 0.8513060808181763, 0.28129181265830994, -0.481289267539978, -0.26301053166389465, -0.4641200602054596, -0.8398865461349487, 0.43320295214653015, -0.04500308260321617, 0.16714748740196228, 0.16250920295715332, 0.11141553521156311, 0.09655225276947021, 0.2944453954696655, -0.7258195877075195, -0.3554498255252838, -0.12999200820922852, -0.23773670196533203, -0.08682873100042343, -0.11567734181880951, -0.011741014197468758, -0.5576188564300537, 0.2665988504886627, -0.13929039239883423, 0.033574290573596954, 0.14293597638607025, 0.1306706964969635, 0.24266238510608673, 0.3204449415206909, 0.6957932710647583, 0.7120314836502075, -0.14417122304439545, 0.14846503734588623, 0.17752666771411896, -0.8444663286209106, 0.04262121021747589, 0.14099639654159546, -0.1465947926044464, -0.08179870247840881, 0.2838711440563202, 0.6594993472099304, 0.09647756814956665, -0.9934543371200562, 0.7596471905708313, -0.30481696128845215, -0.6697735786437988, -0.3721613585948944, -0.08346425741910934, -0.13979971408843994, 0.1994183510541916, 0.2607627511024475, 0.048312872648239136, 0.2397068738937378, -0.4712226688861847, 0.24574211239814758, 0.15081852674484253, -0.6922188997268677, -0.2639257609844208, 0.7153330445289612, 0.26118022203445435, 0.047067198902368546, 0.5418090224266052, -0.2813670337200165, -0.6448841094970703, 0.8544089794158936, 0.09742578864097595, 0.4153001308441162, -0.2017407864332199, 0.29678624868392944, 0.40642398595809937, 0.821411669254303, -0.09934978187084198, 1.1113150119781494, 0.15068697929382324, -0.6269012689590454, -0.2742545008659363, -0.4896737039089203, -0.8074060678482056, 0.2762044668197632, -0.6207804679870605, 0.41824907064437866, -0.1967010796070099, 0.09302055090665817, 0.10617797821760178, -0.05839787796139717, -0.8075255751609802, 0.7117249965667725, 0.16713681817054749, 0.9643359780311584, -1.000841736793518, 0.6336206197738647, 1.0779563188552856, -0.4364694356918335, -0.48208704590797424, -0.3953339755535126, 0.16950726509094238, -0.7838315367698669, 0.6973010301589966, 0.38522979617118835, -0.05945572257041931, -0.12259382754564285, -0.3733671307563782, -0.8283299207687378, 0.8438197374343872, 0.3484249711036682, -0.5336422324180603, 0.1954869031906128, 0.04349765181541443, 0.5942471027374268, -0.08460071682929993, 0.32618072628974915, 0.26525989174842834, 0.566724956035614, -0.31242623925209045, -0.90278160572052, -0.38371381163597107, -0.7690259218215942, -0.24823340773582458, 0.36117231845855713, -0.813187837600708, 1.190112829208374, -0.09446652978658676, -0.07459792494773865, -0.049772609025239944, 0.50079345703125, 0.40479740500450134, 0.4595722556114197, 0.5788125991821289, 0.4878186583518982, 0.4683602452278137, -0.4668678045272827, 1.1312906742095947, -0.3377809226512909, 0.2559466063976288, 0.7294977903366089, -0.41363486647605896, 0.8662989139556885, 0.8075846433639526, -0.12993621826171875, 0.19767756760120392, 0.7174685001373291, -0.2559382915496826, 0.4369293749332428, 0.1728600710630417, -0.019994832575321198, -0.7127949595451355, -0.13529659807682037, -0.500638484954834, 0.8438428640365601, 0.38845035433769226, 0.0635032057762146, -0.30188098549842834, 0.11675789952278137, -0.4298973083496094, 0.1776534616947174, -0.25970152020454407, 0.29196590185165405, -0.006912974640727043, -0.906673789024353, 0.29784154891967773, -0.15449801087379456, 0.3872889578342438, -0.6701486706733704, -0.03542318567633629, 0.0103902667760849, 0.3981969952583313, 0.2663590908050537, -0.8915920257568359, 0.11615460366010666, -0.1163649708032608, 0.33673733472824097, -0.3621864318847656, 0.28794845938682556, -0.37760409712791443, -0.7019122838973999, 0.4231233596801758, 0.7091436982154846, 0.34331944584846497, -0.009347313083708286, -0.7474414706230164, 0.15237021446228027, -0.1256258487701416, -0.39695218205451965, 0.06551224738359451, 0.43353527784347534, -0.26559770107269287, 0.7746566534042358, 0.3058720827102661, 0.04579641669988632, 0.23171120882034302, -0.014376995153725147, 0.6847850680351257, -0.5001745820045471, -0.4760800004005432, -0.6178603172302246, 0.5887207984924316, 0.010908009484410286, -1.0030300617218018, 0.7619926333427429, 0.6395580172538757, 1.287207007408142, -0.11621637642383575, 0.7864623069763184, 0.26269200444221497, 0.003550516441464424, -0.4481801390647888, 0.4643752872943878, -1.3600720167160034, -0.19400383532047272, -0.4799610376358032, -0.5260348320007324, -0.33085882663726807, 0.32441389560699463, -0.3800957202911377, 0.12181392312049866, 1.0197826623916626, 0.5430691242218018, 0.008105836808681488, -0.058805353939533234, 0.4619289040565491, -0.2687062621116638, 0.09989462792873383, 0.796113908290863, 0.8855254650115967, -0.7685550451278687, 0.8683222532272339, -0.4713341295719147, -0.1756156086921692, -0.006203836295753717, -0.5207009315490723, -0.881499171257019, -1.1997419595718384, -0.6233623027801514, -0.22292600572109222, 0.06966545432806015, 0.4732666313648224, 0.4204825758934021, -0.4921634793281555, -0.2067379206418991, 0.21971890330314636, -0.08652883768081665, -0.5707430243492126, -0.16485099494457245, 0.23697040975093842, 0.0695769190788269, -0.8363061547279358, 0.2797069847583771, 0.45291492342948914, -0.02341882698237896, -0.5179648995399475, 0.2151145339012146, -0.1475449800491333, 0.10605713725090027, 0.5039227604866028, 0.03536703810095787, -0.7040569186210632, -0.20919670164585114, 0.45364877581596375, -0.3618733286857605, 0.08509312570095062, 0.47764500975608826, -0.4768582582473755, 0.975453794002533, 0.7837284803390503, 0.6541978120803833, 0.3096596598625183, -0.41828176379203796, 0.357584685087204, -0.3046649694442749, -0.014739619567990303, 0.1309196949005127, 0.5847174525260925, 0.23628830909729004, 0.06163365766406059, 0.48795920610427856, 0.489551305770874, -0.24691589176654816, -1.060641884803772, 0.3664725720882416, -1.2207962274551392, -0.2768009305000305, 1.0871708393096924, -0.003375893458724022, -0.6584962606430054, -0.05935431271791458, -0.13350947201251984, -0.21332818269729614, 0.0819525346159935, 0.5382933616638184, 0.9210582375526428, 0.2541581392288208, -0.35046547651290894, -0.8835926055908203, 0.15738797187805176, 0.5972946286201477, -0.9343594312667847, -0.22417722642421722, 0.40809422731399536, 0.22029109299182892, 0.2098948359489441, 0.7751915454864502, -0.34352630376815796, 0.6680004596710205, 0.3024727702140808, 0.2740423381328583, 0.04743752256035805, -0.608947217464447, -0.3432050943374634, 0.3031892776489258, -0.29521051049232483, -0.287789523601532 ]
http://arxiv.org/abs/2403.10351v1
http://arxiv.org/pdf/2403.10351v1
TriSum: Learning Summarization Ability from Large Language Models with Structured Rationale
2024-03-15T14:36:38
2024-03-15T14:36:38
Pengcheng Jiang, Cao Xiao, Zifeng Wang, Parminder Bhatia, Jimeng Sun, Jiawei Han
cs.CL
cs.CL
The advent of large language models (LLMs) has significantly advanced natural language processing tasks like text summarization. However, their large size and computational demands, coupled with privacy concerns in data transmission, limit their use in resource-constrained and privacy-centric settings. To overcome this, we introduce TriSum, a framework for distilling LLMs' text summarization abilities into a compact, local model. Initially, LLMs extract a set of aspect-triple rationales and summaries, which are refined using a dual-scoring method for quality. Next, a smaller local model is trained with these tasks, employing a curriculum learning strategy that evolves from simple to complex tasks. Our method enhances local model performance on various benchmarks (CNN/DailyMail, XSum, and ClinicalTrial), outperforming baselines by 4.5%, 8.5%, and 7.4%, respectively. It also improves interpretability by providing insights into the summarization rationale.
[ 0.035693977028131485, -0.46184536814689636, 0.708592414855957, 0.13844549655914307, -0.4070362448692322, 0.22542625665664673, -0.3967263698577881, -0.14107635617256165, 0.07724972069263458, 0.7164406776428223, -0.04360174015164375, -0.8513450026512146, -0.5714569091796875, 0.06868275254964828, -0.3954000174999237, 1.3257721662521362, -0.13431252539157867, 0.06749477237462997, -0.3971167504787445, -0.018868541345000267, -0.2727836072444916, -0.5549654960632324, -0.43750497698783875, -0.11125286668539047, 0.42495378851890564, 0.8773878216743469, 0.485092431306839, 0.6551768183708191, 0.39974063634872437, 0.21592338383197784, -0.17496269941329956, 0.4976213276386261, -0.603823184967041, 0.1592443883419037, -0.13515546917915344, -0.61332768201828, -0.5573951005935669, 0.031295523047447205, 0.8687105178833008, 0.8822895288467407, -0.13285645842552185, 0.16909700632095337, 0.30127617716789246, 0.7723493576049805, -0.7631427049636841, 0.34541285037994385, -0.33887821435928345, -0.24091431498527527, -0.12236049771308899, -0.20301993191242218, -0.431605726480484, -0.8255565166473389, 0.22650058567523956, -0.4711560010910034, 0.37424132227897644, 0.026012547314167023, 0.6853529810905457, 0.2561100423336029, -0.6201438307762146, -0.2755732536315918, -0.6126219034194946, 0.9345777630805969, -0.7996394634246826, -0.10413384437561035, 0.5553942918777466, 0.3553644120693207, 0.10955540835857391, -0.7760600447654724, -0.209400936961174, -0.20140516757965088, -0.28689658641815186, -0.01247993391007185, 0.13376465439796448, 0.010965079069137573, 0.12660446763038635, 0.8722881078720093, -0.32464301586151123, -0.1190195232629776, -0.4111528694629669, 0.056408125907182693, 0.7079599499702454, 0.2338958978652954, 0.3723300099372864, -0.31311920285224915, -0.20486126840114594, 0.18452908098697662, -0.6028527021408081, 0.03878369927406311, 0.0968397855758667, 0.35854700207710266, -0.508307933807373, 0.6843761801719666, -0.2502847909927368, 0.5485807657241821, -0.1590198427438736, -0.4104759395122528, -0.01604665257036686, -0.4981621205806732, -0.23003138601779938, 0.1892155408859253, 0.7002590894699097, 0.38261678814888, 0.3501085042953491, -0.1610409915447235, 0.07018810510635376, -0.2825274169445038, 0.10209854692220688, -0.9432096481323242, -0.23299793899059296, 0.3832755386829376, -0.3910418152809143, -0.4085089862346649, -0.04888887703418732, -0.6589614748954773, -0.37784576416015625, -0.49794870615005493, 0.1767885535955429, -0.6154390573501587, 0.03326885402202606, 0.363427996635437, -0.07091324776411057, -0.03656163439154625, 0.3471373915672302, -1.0390822887420654, 0.5405762195587158, 0.6766616702079773, 1.237257719039917, -0.36512598395347595, -0.23710742592811584, -0.5768069624900818, 0.4216460883617401, -0.158486470580101, 0.7551836967468262, -0.30655035376548767, -0.37662243843078613, -0.15251046419143677, -0.35102567076683044, -0.06523461639881134, -0.4704967141151428, 0.3178461790084839, -0.286655992269516, 0.5655906200408936, -0.17768748104572296, -0.535818338394165, -0.4435221254825592, 0.0858016312122345, -0.7304410934448242, 0.8274310827255249, 0.15977749228477478, -0.8727766275405884, 0.2287248820066452, -0.6443734169006348, -0.7813436985015869, -0.1441543698310852, 0.13634607195854187, -0.422512024641037, 0.3608663082122803, 0.41857099533081055, 0.7914608120918274, -0.2965781092643738, 0.5542663931846619, -0.3120129704475403, -0.2608189284801483, -0.08540092408657074, -0.27243921160697937, 0.8564990758895874, 0.13436424732208252, 0.018371056765317917, 0.17440477013587952, -0.746781587600708, -0.18541319668293, 0.0813208669424057, -0.22053395211696625, -0.5740729570388794, -0.052826765924692154, -0.45216676592826843, -0.0742340162396431, 0.4140784442424774, -0.27399778366088867, 0.06695195287466049, -0.5935496687889099, 0.31258782744407654, 0.2633472979068756, 0.36652496457099915, 0.7685460448265076, -0.6181696653366089, 0.3115067183971405, -0.2026728093624115, -0.04972858354449272, -0.34445300698280334, -0.1828119158744812, -0.5461500287055969, -0.6729243993759155, 0.21575422585010529, 0.32296982407569885, -0.5321994423866272, 0.21452416479587555, -0.4438179135322571, -0.5527887344360352, -0.2769246995449066, 0.21489781141281128, 0.25325676798820496, 0.6388027667999268, 0.3552362620830536, 0.052913106977939606, -0.32412856817245483, -0.798136293888092, -0.31169214844703674, 0.032539546489715576, -0.31919240951538086, 0.028345778584480286, 0.4744464159011841, 0.25749123096466064, 1.0924575328826904, -0.6946200728416443, -0.5379958748817444, -0.7304929494857788, 0.42867982387542725, 0.25432538986206055, 0.12004482001066208, 0.4613470435142517, -0.9118625521659851, -0.4209967851638794, -0.26309511065483093, -0.9076048135757446, -0.3655697703361511, -0.05473118647933006, 0.14565743505954742, 0.16456277668476105, 0.3385176658630371, -0.19167567789554596, 0.3419766426086426, 0.5641562342643738, -0.0565003827214241, 0.5182958841323853, -0.44214755296707153, 0.03473615646362305, -1.6567047834396362, 0.03708016127347946, -0.021955236792564392, -0.4457249939441681, -0.48904022574424744, -0.12267842888832092, 0.13124632835388184, -0.003862777492031455, -0.4274616837501526, 0.4703858494758606, -0.494527667760849, -0.17074677348136902, -0.441938579082489, 0.3356490731239319, 0.31335845589637756, 0.4475553035736084, 0.2121766209602356, 0.8528489470481873, 0.2045086771249771, -0.8738577365875244, 0.06696062535047531, 0.14159512519836426, -0.47635218501091003, 0.43961021304130554, -0.7273575067520142, -0.38440078496932983, -0.10759644955396652, 0.24951811134815216, -0.8288216590881348, -0.649616539478302, -0.21070437133312225, -0.3198080062866211, 0.3277624547481537, 0.02198324166238308, -0.38545241951942444, 0.23588933050632477, -0.5707920789718628, 0.5326134562492371, 0.21871435642242432, -0.5444332361221313, 0.9502034783363342, 0.7807227373123169, -0.4936864674091339, -0.369251549243927, -0.5115765929222107, 0.09428782016038895, -0.16300447285175323, -0.5846192836761475, 0.5217059254646301, 0.048282984644174576, -0.4948216676712036, 0.00370262423530221, -0.021291473880410194, -0.12820559740066528, 0.3761032223701477, 0.16988322138786316, 0.30068108439445496, 0.00632002018392086, 0.04131549596786499, 0.09173176437616348, -0.21568846702575684, 0.016633523628115654, -0.15483184158802032, 0.44012215733528137, -0.2806502878665924, -0.08714611083269119, -0.2977055609226227, 0.4659469723701477, 0.5659253001213074, -0.3843716084957123, 0.7629322409629822, 0.20597557723522186, -0.5228902697563171, -0.30621352791786194, -0.2834889590740204, 0.008751323446631432, -0.3898550868034363, 0.3701506555080414, 0.004622208420187235, -1.0805509090423584, 0.3812007009983063, 0.04406272992491722, 0.4962465167045593, 0.4609318673610687, 0.7979359030723572, -0.06595253199338913, 0.9035782814025879, 0.6581215858459473, -0.008228696882724762, 0.48909908533096313, -0.23649029433727264, 0.25478672981262207, -0.782890260219574, -0.3722895681858063, -0.4283037483692169, -0.04149052873253822, -0.3535727560520172, -0.32055559754371643, 0.5220685005187988, -0.05938620865345001, -0.12947769463062286, 0.20277048647403717, -0.12360561639070511, 0.8098604083061218, 0.46797114610671997, 0.029313454404473305, 0.6698708534240723, -0.030150795355439186, -0.044642724096775055, 0.04565375670790672, -0.6020216345787048, -0.6844567656517029, 1.0306459665298462, 0.4440719783306122, 0.6879609823226929, 0.33051660656929016, 0.9285857081413269, 0.27862685918807983, 0.4817536175251007, -0.7383726835250854, 0.4741488993167877, -0.2919873595237732, -0.4269871115684509, -0.19390983879566193, -0.7719075083732605, -0.5112323760986328, 0.1828474998474121, -0.1400567889213562, -0.684846043586731, -0.11993419378995895, -0.00946530420333147, -0.6255442500114441, 0.3634500205516815, -0.8351094722747803, 0.5370875000953674, -0.3035510778427124, -0.44310322403907776, -0.2830340266227722, -0.5443152785301208, 0.7494457364082336, -0.23168526589870453, 0.4098816215991974, -0.22248852252960205, -0.16507446765899658, 0.7088354229927063, -0.3543078303337097, 1.064009189605713, 0.1698811948299408, -0.19194307923316956, 0.03382837399840355, 0.2898421287536621, 0.1474662572145462, 0.3090841770172119, 0.03582700341939926, 0.3408813178539276, 0.028760267421603203, -0.3280390799045563, -0.5636557340621948, 0.5871327519416809, -0.5354359745979309, -0.4666697084903717, -0.4979988634586334, -0.894399106502533, -0.32455945014953613, 0.4055729806423187, 0.26677268743515015, 0.5076174736022949, -0.20809206366539001, 0.3503028452396393, 0.6862179040908813, -0.08196333795785904, 0.46361976861953735, 0.5117228031158447, -0.2006058543920517, -0.7028527855873108, 0.8286284804344177, 0.057474132627248764, 0.48253220319747925, 0.6074535846710205, 0.38918712735176086, -0.26900193095207214, -0.5601227283477783, 0.08536644279956818, 0.4352743625640869, -0.6368352174758911, -0.206461563706398, -0.6952381134033203, -0.1740533709526062, -0.34906479716300964, -0.34152206778526306, -0.28726130723953247, -0.6610625982284546, -0.4185180366039276, -0.06458459049463272, 0.05401995778083801, 0.8791210055351257, 0.05849570780992508, 0.4986044764518738, -1.0024440288543701, 0.5995141863822937, 0.20804312825202942, 0.4728655219078064, -0.10438340157270432, -0.7914072871208191, -0.4016706347465515, 0.029962463304400444, -0.10145110636949539, -0.7456730604171753, 0.5539563298225403, 0.16676312685012817, 0.2764534652233124, 0.2666051983833313, 0.25374963879585266, 0.44662806391716003, -0.20658892393112183, 0.755764901638031, -0.02213785983622074, -1.0335431098937988, 0.43815818428993225, -0.325151652097702, 0.3134940564632416, 0.7501306533813477, 0.43929192423820496, -0.3227218985557556, -0.45448780059814453, -0.5466167330741882, -0.8361246585845947, 0.7620418071746826, 0.2057432383298874, -0.0426141619682312, 0.12852743268013, 0.2908063232898712, 0.06982280313968658, 0.20197919011116028, -0.606907844543457, 0.011346263810992241, 0.03872925043106079, -0.4561947286128998, -0.16799139976501465, -0.6283040642738342, -0.12398102879524231, -0.08225782960653305, 0.7825078368186951, -0.17677371203899384, -0.32837748527526855, 0.05564827471971512, -0.2986599802970886, 0.32375437021255493, 0.2629588842391968, 0.5901525020599365, 0.6504654288291931, -0.42298755049705505, 0.2745959162712097, 0.393218457698822, -0.49694377183914185, -0.14404690265655518, 0.03155585005879402, -0.1912100613117218, -0.02222357876598835, 0.611732006072998, 0.3454182744026184, 0.6799429059028625, -0.343941330909729, 0.6415808796882629, -0.39730918407440186, -0.16701841354370117, -0.15552827715873718, 0.13288076221942902, 0.059141822159290314, 0.0026252013631165028, 0.18900352716445923, -0.22998270392417908, 0.12864378094673157, -0.3266141414642334, 0.25190749764442444, 0.027508802711963654, -0.18034498393535614, -0.14263005554676056, 0.49146896600723267, 0.1410996913909912, 0.027381204068660736, 0.1895395964384079, 0.009962250478565693, -0.4405336081981659, 0.3374926745891571, 0.5838488936424255, 1.0606024265289307, -0.20423586666584015, 0.29346996545791626, 0.5051497220993042, 0.16944269835948944, -0.367391437292099, 0.1381480097770691, -0.23432657122612, -0.45845797657966614, -0.5387856364250183, -0.6857938766479492, -0.7731288075447083, -0.2073131799697876, -0.6292027235031128, 0.4514721632003784, -0.5158079266548157, 0.16970467567443848, -0.05084829777479172, 0.2146395593881607, -0.06527514010667801, 0.06761405616998672, 0.19328948855400085, 0.9155220985412598, -0.7905926704406738, 0.6398350596427917, 0.4079180359840393, -0.4543476700782776, -0.776658296585083, 0.026444431394338608, -0.05006458982825279, -0.6073489189147949, 0.15577304363250732, 0.23362816870212555, -0.2213563770055771, -0.08996779471635818, -0.48798826336860657, -0.8861564993858337, 1.1462230682373047, 0.5291460752487183, -0.2870871424674988, -0.2522379159927368, 0.10086502879858017, 0.3720824718475342, -0.671312153339386, 0.24780504405498505, 0.5604264140129089, 0.08284943550825119, 0.18655048310756683, -0.6406738758087158, -0.07437131553888321, -0.02614656463265419, -0.08233631402254105, 0.07714685052633286, -0.48674318194389343, 0.8079250454902649, -0.5801883935928345, -0.3659203350543976, -0.26440852880477905, 0.7982496619224548, 0.3594945967197418, 0.40028321743011475, 0.1611475646495819, 0.22344978153705597, 1.0507808923721313, -0.04423076659440994, 1.296923041343689, -0.3519379198551178, 0.31855782866477966, 1.5202126502990723, -0.327079713344574, 0.6868423223495483, 0.14623664319515228, 0.26231932640075684, 0.6158801317214966, 0.4178101122379303, 0.32577887177467346, 0.44117075204849243, -0.2323688119649887, -0.34096759557724, -0.41101816296577454, -0.3038800358772278, 0.05378377065062523, 0.493818074464798, 0.34608355164527893, -0.2902332842350006, -0.7402607798576355, -0.24294912815093994, 0.39513498544692993, 0.31936153769493103, -0.36780962347984314, 0.8829944133758545, 0.38520199060440063, -0.5343648791313171, 0.24184876680374146, 0.13985362648963928, 0.19048462808132172, -0.6912786364555359, -0.13462239503860474, -0.2446279674768448, 0.1894417703151703, -0.36356475949287415, -0.823564350605011, 0.43795323371887207, 0.2022545039653778, -0.3105279803276062, -0.1811293214559555, 0.5140140652656555, -0.5012515187263489, -0.4285767674446106, -0.04613438993692398, 0.31014811992645264, -0.046593260020017624, -0.09278912842273712, -0.051705360412597656, -0.3590622544288635, -0.02243243157863617, -0.08360970765352249, 0.20924870669841766, 0.5316752195358276, -0.25281500816345215, 0.7183144688606262, 0.8153956532478333, 0.36481228470802307, -0.5132381319999695, 0.20205403864383698, 0.7548297047615051, -0.6597105264663696, -0.7754287123680115, -1.1777408123016357, 0.384511798620224, -0.4367513060569763, -0.12322675436735153, 0.8805227279663086, 0.7714884877204895, 0.6656056642532349, 0.387696772813797, 0.7947580814361572, 0.2511274516582489, 0.7310836911201477, -0.6728585362434387, 0.6585898995399475, -0.5074111819267273, 0.5695099234580994, -0.029894165694713593, -0.7817667126655579, -0.6756317615509033, 0.30675143003463745, -0.7899188995361328, -0.03448769822716713, 0.8118808269500732, 0.4520644247531891, -0.06745525449514389, 0.32422104477882385, 0.2392835170030594, 0.15217846632003784, 0.42597219347953796, 0.5444090366363525, 0.5486408472061157, -0.020852908492088318, 0.4044586718082428, -0.36562609672546387, -0.5862187147140503, -0.24971707165241241, -1.196744680404663, -1.23380446434021, -0.4492082893848419, -0.15200400352478027, -0.20537018775939941, -0.3841305077075958, 0.9559532999992371, 0.4938659369945526, -0.8114065527915955, -0.26722511649131775, 0.1803591102361679, 0.433783620595932, 0.07141702622175217, -0.18965652585029602, 0.5628778338432312, -0.4692515730857849, -0.5626092553138733, 0.14465247094631195, 0.5387539863586426, -0.01543560903519392, -0.0760512501001358, 0.08308186382055283, -0.020277703180909157, 0.12089912593364716, 0.6358272433280945, 0.09091892093420029, -0.2721903324127197, -0.04398379847407341, -0.09608843177556992, -0.3355669379234314, -0.059810739010572433, 0.8823049664497375, -0.5463818311691284, 0.3237460255622864, 0.49142885208129883, 0.477262407541275, 0.3994865417480469, 0.28107932209968567, 0.8020671606063843, -0.7585569620132446, -0.2827676832675934, 0.36945876479148865, 0.5367856025695801, 0.4237578511238098, -0.35446980595588684, 0.3183823227882385, 0.01167610939592123, -0.4719456732273102, -0.7285121083259583, 0.06906656175851822, -0.9250659346580505, -0.2813577950000763, 1.310592770576477, -0.07710643112659454, -0.5407124757766724, -0.2519444227218628, -0.1971471905708313, 0.44767555594444275, -0.22587421536445618, 1.0255064964294434, 0.4432980418205261, 0.2558005750179291, 0.08127983659505844, -0.46665725111961365, 0.540690541267395, 0.24262645840644836, -0.9680633544921875, 0.4927101135253906, 0.5779112577438354, 0.39241456985473633, 0.09928437322378159, 0.6014957427978516, -0.4078938066959381, 0.2574561536312103, -0.5174949169158936, -0.011603825725615025, -0.436610609292984, -0.6421288251876831, -0.5506904721260071, 0.4796541929244995, -0.13960842788219452, -0.056682147085666656 ]
http://arxiv.org/abs/2403.14694v1
http://arxiv.org/pdf/2403.14694v1
Application of GPT Language Models for Innovation in Activities in University Teaching
2024-03-15T14:31:52
2024-03-15T14:31:52
Manuel de Buenaga, Francisco Javier Bueno
cs.CY
cs.CY, cs.AI, cs.CL
The GPT (Generative Pre-trained Transformer) language models are an artificial intelligence and natural language processing technology that enables automatic text generation. There is a growing interest in applying GPT language models to university teaching in various dimensions. From the perspective of innovation in student and teacher activities, they can provide support in understanding and generating content, problem-solving, as well as personalization and test correction, among others. From the dimension of internationalization, the misuse of these models represents a global problem that requires taking a series of common measures in universities from different geographical areas. In several countries, there has been a review of assessment tools to ensure that work is done by students and not by AI. To this end, we have conducted a detailed experiment in a representative subject of Computer Science such as Software Engineering, which has focused on evaluating the use of ChatGPT as an assistant in theory activities, exercises, and laboratory practices, assessing its potential use as a support tool for both students and teachers.
[ -0.3820299506187439, -1.1668378114700317, 0.4438916742801666, 0.102835513651371, -0.10184594243764877, 0.1169806644320488, -0.09627316147089005, -0.21039250493049622, -0.3941272795200348, 0.204803466796875, -0.21817751228809357, -0.06026094779372215, -0.28578945994377136, 0.114412322640419, -0.7849434614181519, 1.0803602933883667, -0.3834208846092224, 0.327813059091568, -0.12700720131397247, 0.2866818904876709, -0.6852448582649231, -0.6303070783615112, -0.8452489376068115, -0.47174742817878723, -0.06862343102693558, 0.2934834659099579, 0.7457335591316223, -0.2002103179693222, 0.677596390247345, 0.3700728416442871, 0.23992863297462463, -0.47076788544654846, -0.042502764612436295, -0.3004909157752991, -0.15339653193950653, -0.4699430763721466, -0.21844139695167542, 0.24367153644561768, 0.8144322633743286, 0.6702703833580017, -0.21968293190002441, 0.0019658657256513834, 0.396709680557251, 0.2339375764131546, 0.040988706052303314, 0.2871735394001007, -0.31816965341567993, 0.07944919914007187, 0.08424137532711029, 0.18846270442008972, -0.2647281885147095, -0.7177240252494812, 0.3429622948169708, -0.5500559210777283, 0.5602300763130188, -0.39046141505241394, 0.6787222623825073, -0.04359233006834984, -0.21947786211967468, -0.41179943084716797, -1.0845444202423096, 0.4885769188404083, -0.6226967573165894, 0.3135761320590973, -0.0002654049312695861, 0.5631502866744995, -0.3933764696121216, -0.8040139079093933, -0.8104040026664734, -0.4629477560520172, -0.16650529205799103, 0.3013167083263397, 0.012931980192661285, 0.11192644387483597, 0.09077589213848114, 0.6747929453849792, -0.7424892783164978, -0.0651121437549591, -0.5245127081871033, 0.006539161317050457, 0.5218653678894043, -0.0649881586432457, 0.8107874393463135, 0.08554570376873016, -0.17325575649738312, -0.2201903909444809, -0.657543420791626, 0.14334246516227722, 0.370286226272583, 0.09342770278453827, -0.04711182788014412, 0.43734583258628845, -0.06620225310325623, 0.4979732632637024, -0.5452934503555298, 0.2699045240879059, -0.1041412353515625, -0.23038554191589355, -0.4092421233654022, -0.27173054218292236, 0.7987881898880005, -0.27058151364326477, 0.38471555709838867, -0.31263700127601624, -0.052676983177661896, 0.3702956736087799, 0.2169484943151474, -0.7322185039520264, -0.6238024234771729, -0.14814110100269318, -0.016983797773718834, -0.36497101187705994, 0.05641385167837143, -0.5874016284942627, 0.011866672895848751, -0.35953274369239807, 0.5988487005233765, -0.3710642158985138, -0.6619951725006104, 0.0691368505358696, -0.0973835289478302, 0.2676248550415039, 0.36426079273223877, -0.9341859817504883, 0.5161159038543701, 0.5123382806777954, 0.760981559753418, -0.19799040257930756, -0.6051470041275024, 0.12989918887615204, -0.15442219376564026, -0.09606728702783585, 0.738901674747467, -0.624853789806366, -0.9421796202659607, -0.004735165275633335, 0.09557925909757614, -0.12768064439296722, -0.2590561509132385, 0.5197697281837463, -0.36434075236320496, 0.62660813331604, -0.07708924263715744, -0.49405187368392944, -0.21925631165504456, 0.10902608186006546, -0.4257296323776245, 1.3742166757583618, 0.45151016116142273, -0.43718793988227844, 0.3499374985694885, -1.3220616579055786, -0.24582697451114655, 0.5716315507888794, -0.5189505219459534, -0.5846306681632996, 0.0056373183615505695, 0.05711651220917702, 0.2690463066101074, -0.1863061785697937, 0.44878697395324707, 0.39079487323760986, -0.4698815643787384, 0.4447998106479645, -0.6741575598716736, 0.7474575638771057, 0.03462258726358414, -0.5492427349090576, 0.27806517481803894, -0.45343974232673645, 0.0477583222091198, 0.4324593245983124, -0.49339738488197327, -0.1884603500366211, -0.16242237389087677, 0.35068461298942566, 0.13655082881450653, -0.15819776058197021, -0.5567165613174438, 0.7337024211883545, -0.26273584365844727, 0.6469813585281372, 0.5847622156143188, 0.010298104025423527, 0.44745662808418274, -0.14178232848644257, 0.6823105812072754, -0.29205766320228577, 0.2024274319410324, -0.0951182022690773, -0.8933706879615784, -0.6442409157752991, -0.014354881830513477, 0.29999613761901855, 0.5840561985969543, -0.9822004437446594, -0.19368605315685272, -0.08745554089546204, -0.5149123668670654, -0.5440385937690735, 0.003044568933546543, 0.13202062249183655, 0.4336757957935333, 0.22655464708805084, -0.30239376425743103, -0.34216228127479553, -0.544834315776825, -0.33927249908447266, -0.18870794773101807, -0.23959292471408844, 0.022449692711234093, 0.5331671237945557, -0.22795894742012024, 1.1242765188217163, -0.3973277807235718, -0.06260965019464493, -0.46100494265556335, 0.42906901240348816, 0.03730045631527901, 0.6334648728370667, 0.41934630274772644, -1.101165533065796, -0.6592912077903748, 0.07552807033061981, -0.7366817593574524, -0.05946648493409157, -0.09096643328666687, -0.07507797330617905, 0.09866231679916382, 0.13369987905025482, -0.6544846296310425, 0.591506838798523, 0.4623998701572418, -0.3594537079334259, 0.7589606642723083, -0.3578034043312073, 0.5178192257881165, -0.9960584044456482, -0.1253391057252884, -0.11773484200239182, -0.011525535024702549, -0.8495874404907227, 0.1095302477478981, -0.018229614943265915, -0.606916606426239, -0.31960299611091614, 0.561951220035553, -0.3880085051059723, 0.07790447026491165, -0.5008673667907715, 0.18140225112438202, -0.3204863369464874, 0.16752156615257263, 0.08461732417345047, 1.3673698902130127, 0.62083500623703, -0.5942086577415466, 0.4217706024646759, 0.23620544373989105, -0.32692092657089233, 0.37887099385261536, -0.6154676675796509, 0.347453236579895, 0.22795337438583374, -0.01164188887923956, -0.9716863036155701, -0.20004917681217194, 0.05220001935958862, -0.5102449655532837, 0.09035326540470123, -0.2791227400302887, -0.5858812928199768, -0.7137650847434998, 0.09764374792575836, 0.3125467300415039, 0.7939000725746155, -0.4013129472732544, 0.42657020688056946, 0.23530444502830505, -0.3933517038822174, -0.19128648936748505, -0.5574842095375061, -0.016920730471611023, -0.1529817432165146, -0.6675161719322205, 0.2672474682331085, -0.1617465615272522, -0.08412639796733856, 0.06469447165727615, 0.20464111864566803, -0.23848971724510193, 0.3307673931121826, 0.16764849424362183, 0.4548516273498535, -0.342398464679718, 0.015453080646693707, -0.2922685742378235, -0.131264790892601, 0.13873019814491272, -0.28938668966293335, 0.5966779589653015, -0.4018409848213196, -0.617185652256012, -0.47026556730270386, 0.3592699468135834, 0.32266750931739807, -0.006045806221663952, 0.5019991397857666, 0.9044089317321777, -0.26822319626808167, -0.06586142629384995, -0.5842466354370117, -0.31635361909866333, -0.5687645673751831, 0.5412905216217041, -0.30475229024887085, -0.8675180673599243, 0.34045448899269104, -0.24737393856048584, 0.058792710304260254, 0.16273334622383118, 0.5076960325241089, 0.2063269168138504, 0.8919211030006409, 1.0131454467773438, -0.22294166684150696, 0.6882457137107849, -0.34245413541793823, 0.6040581464767456, -0.6564795970916748, 0.08661893010139465, -0.6056612133979797, 0.23150084912776947, -0.6974227428436279, -0.17141342163085938, 0.40330058336257935, 0.21673919260501862, -0.09623663127422333, 0.2713490426540375, -0.7770683765411377, 0.6417858600616455, 0.7238591909408569, -0.218195378780365, 0.1827651858329773, 0.07465312629938126, -0.06071239709854126, 0.08285298198461533, -0.6137163043022156, -0.8264943361282349, 1.112931251525879, 0.19517096877098083, 0.7083070278167725, 0.10692183673381805, 0.5400959849357605, 0.24085882306098938, 0.8507561683654785, -0.6490896344184875, 0.5698763728141785, 0.01701095700263977, -0.40898144245147705, -0.681397557258606, -0.3676128387451172, -0.8081154823303223, 0.2825498878955841, 0.10166123509407043, -0.7984931468963623, -0.4699455499649048, 0.1484578400850296, 0.025153279304504395, 0.4078543782234192, -1.1197370290756226, 1.1323039531707764, -0.14119000732898712, -0.049882952123880386, 0.022238951176404953, 0.04367195442318916, 0.01962541602551937, 0.028033994138240814, 0.266965389251709, 0.2819134294986725, 0.6673915982246399, 0.7730596661567688, -0.09307176619768143, 0.7509759068489075, -0.28914836049079895, -0.11956990510225296, 0.6546916961669922, 0.1985136866569519, 0.4983054995536804, 0.03582870215177536, 0.034345705062150955, -0.0604628287255764, -0.07599405944347382, -0.3182705044746399, -0.5587949752807617, 0.582181453704834, -0.9930184483528137, -0.9320810437202454, -0.27791932225227356, -0.6314541697502136, -0.12591037154197693, 0.22994926571846008, 0.1932719349861145, 0.13946130871772766, -0.506415605545044, -0.1333090215921402, 0.442428857088089, -0.07312333583831787, 0.5216787457466125, 0.5650845766067505, -0.36745554208755493, 0.0636366531252861, 1.023988962173462, 0.16666199266910553, 0.29071298241615295, 0.07598908245563507, 0.39399030804634094, -0.15746721625328064, -0.5484575033187866, -0.6267168521881104, -0.006031900644302368, -0.7057282328605652, 0.2010393589735031, -0.5914517641067505, -0.4997956156730652, -0.7229110598564148, -0.37880396842956543, -0.10546328872442245, -0.32073622941970825, 0.18818221986293793, -0.11354950815439224, 0.15490613877773285, 1.0518741607666016, 0.1675063818693161, 0.6627422571182251, -0.5618985295295715, 0.027148030698299408, 0.632430911064148, 0.2514359652996063, -0.2966059446334839, -0.22414302825927734, -0.12975311279296875, -0.022595014423131943, -0.790640652179718, -0.8281822204589844, 0.25872454047203064, 0.001640627975575626, 0.7892355918884277, -0.07923882454633713, -0.3574587106704712, 0.1982085406780243, -0.520046591758728, 1.0829721689224243, 0.015661651268601418, -1.0614726543426514, 0.686256468296051, -0.3790415823459625, 0.3266682028770447, 0.009968293830752373, 0.408945769071579, -0.8670860528945923, -0.6220424771308899, -0.7042331099510193, -0.6955727338790894, 0.4783366620540619, 0.5385372042655945, 0.44043776392936707, 0.38480085134506226, 0.38309159874916077, 0.17405802011489868, 0.18754492700099945, -1.1310912370681763, -0.1556878685951233, -0.3229829668998718, -0.23937395215034485, -0.007968627847731113, -0.14966394007205963, 0.021031968295574188, -0.15938225388526917, 0.9627155065536499, -0.06317929923534393, 0.41387927532196045, 0.09754042327404022, -0.15357302129268646, 0.13802550733089447, 0.8062771558761597, 0.3998822569847107, 0.8610088229179382, 0.20835590362548828, -0.1560378223657608, 0.2591792941093445, -1.0892657041549683, 0.2806163430213928, 0.23850370943546295, -0.24764171242713928, 0.009289012290537357, -0.18653331696987152, 0.3027799129486084, -0.07105051726102829, -0.2810550332069397, 0.437278151512146, -0.24644355475902557, 0.001075470121577382, -0.4616723358631134, 0.2814493775367737, -0.10177592933177948, -0.0009547556983307004, 0.4215249717235565, -0.1493755578994751, 0.2726563513278961, -0.6230019330978394, 0.14132504165172577, 0.37271589040756226, -0.27355122566223145, -0.47033458948135376, 0.5853636264801025, 0.18415310978889465, -0.5611299872398376, 0.744779109954834, -0.2029905915260315, -0.6792137026786804, 0.6047288775444031, 0.9278219938278198, 0.870292603969574, -0.6750379800796509, 0.5234561562538147, 0.09678414463996887, 0.375668466091156, -0.04052851349115372, 0.33292660117149353, 0.030570460483431816, -0.7043320536613464, -0.23416531085968018, -0.4150278568267822, -0.6043530106544495, 0.288552463054657, -0.302817165851593, 0.41345903277397156, 0.02657189965248108, -0.07943416386842728, 0.055959831923246384, -0.2218833565711975, -0.8800796270370483, 0.14409227669239044, -0.10552964359521866, 0.40237027406692505, -1.025190830230713, 1.1097915172576904, 1.1628408432006836, -0.5092868208885193, -0.8729473948478699, -0.17798376083374023, -0.09488428384065628, -0.6192135214805603, 0.642884373664856, 0.0029966062866151333, 0.13949166238307953, 0.1285695880651474, -0.3989560306072235, -0.5281459093093872, 0.9350631833076477, 0.14167673885822296, -0.27479085326194763, -0.20055900514125824, 0.7694390416145325, 0.5512686967849731, -0.21878646314144135, 0.47370126843452454, 0.47898605465888977, 0.19704775512218475, -0.08904368430376053, -1.161684274673462, -0.16049213707447052, -0.29566314816474915, 0.0773625522851944, 0.3685847818851471, -0.28600063920021057, 1.0718042850494385, 0.060866862535476685, -0.23606443405151367, -0.1344188153743744, 0.4592476487159729, -0.10053914040327072, 0.17057698965072632, 0.15795281529426575, 0.17558027803897858, 0.5533207058906555, -0.3686900734901428, 0.8870776891708374, -0.1788780838251114, 0.5281521081924438, 0.855701208114624, 0.02871822752058506, 0.43993180990219116, 0.3620055019855499, -0.517967939376831, 0.3753935992717743, 0.32702282071113586, -0.14539265632629395, 0.20519548654556274, 0.3413897454738617, -0.4828989505767822, 0.20832058787345886, 0.1846863031387329, -0.5069643259048462, 0.1904112845659256, 0.43066665530204773, -0.041032712906599045, -0.24187155067920685, 0.5018933415412903, 0.07928258180618286, -0.03949911892414093, -0.25363889336586, 0.7202650308609009, 0.033632997423410416, -0.5906278491020203, 0.1681814342737198, -0.05997557193040848, 0.4443269968032837, -0.516913890838623, -0.26457178592681885, -0.0708484947681427, 0.2243225872516632, -0.05255512893199921, -0.9077640771865845, 0.24937096238136292, 0.10294175893068314, 0.09339223057031631, -0.17670780420303345, 0.6940495371818542, -0.3383582830429077, -0.624077558517456, -0.10691124200820923, 0.4102035164833069, 0.30428260564804077, -0.10871198028326035, -0.5870314836502075, -0.22836682200431824, -0.1375369429588318, -0.12991869449615479, 0.23402951657772064, 0.5044593811035156, -0.23783227801322937, 0.6608598828315735, 0.4888942837715149, 0.10716745257377625, 0.22643497586250305, 0.37271353602409363, 0.9013365507125854, -0.40819916129112244, -0.6294791102409363, -0.701580822467804, 0.5722601413726807, 0.036924686282873154, -0.2033606320619583, 0.866012454032898, 0.5245534777641296, 1.1944820880889893, -0.14570973813533783, 1.2622125148773193, -0.11254595965147018, 0.14383423328399658, -0.4049969017505646, 0.6926718354225159, 0.055403660982847214, 0.1406090259552002, -0.5066841244697571, -0.9613584280014038, -0.01582225039601326, 0.6282588243484497, -0.6370339393615723, 0.15161563456058502, 0.6750986576080322, 0.4910721182823181, -0.10441210865974426, 0.4723743200302124, 0.49840328097343445, 0.015847735106945038, 0.8147496581077576, 0.30876797437667847, 0.9834237694740295, -0.5708686709403992, 0.4454265832901001, -0.31753191351890564, -0.45717230439186096, 0.09303641319274902, -0.43717920780181885, -1.0299594402313232, -0.735466718673706, -0.4683060944080353, -0.2113785743713379, 0.0909419134259224, 0.6735543012619019, 0.5199644565582275, -0.8455868363380432, -0.4347379803657532, -0.5004156231880188, -0.20557621121406555, -0.2299308031797409, -0.35616883635520935, 0.44477948546409607, -0.5015046000480652, -0.7178879976272583, 0.22642096877098083, -0.07227568328380585, 0.6327542066574097, -0.5435572266578674, 0.25306737422943115, 0.034885525703430176, -0.18168336153030396, 0.5581277012825012, 0.19452336430549622, -0.545595645904541, -0.33145761489868164, -0.0807618498802185, 0.11224842816591263, 0.07076616585254669, 1.0534437894821167, -0.7361229658126831, 0.35535553097724915, 0.2570040225982666, 0.6494442820549011, 0.3535933494567871, -0.1979599893093109, 0.7614555358886719, -0.5442115068435669, 0.4187113344669342, 0.18630358576774597, 0.28051823377609253, 0.45530015230178833, -0.5131539106369019, 0.6658293008804321, 0.28861066699028015, -0.9586055278778076, -0.6736094355583191, 0.10137224942445755, -0.4241364002227783, -0.07102056592702866, 0.865361213684082, -0.3536362648010254, 0.03628969565033913, -0.20231127738952637, -0.509354293346405, 0.36810269951820374, -0.21580740809440613, 1.1507399082183838, 0.9028013944625854, -0.25717824697494507, -0.10727480798959732, -1.1792476177215576, 0.7563621401786804, 0.2697194814682007, -1.011925220489502, -0.1774279922246933, -0.07628314942121506, 0.43902361392974854, 0.15602141618728638, 0.708246111869812, -0.09008565545082092, 0.29718902707099915, -0.0064041693694889545, 0.31455615162849426, 0.17972064018249512, -0.08874990791082382, -0.06539933383464813, 0.04690852388739586, 0.195611834526062, -0.13008463382720947 ]
http://arxiv.org/abs/2403.10338v1
http://arxiv.org/pdf/2403.10338v1
Investigating grammatical abstraction in language models using few-shot learning of novel noun gender
2024-03-15T14:25:59
2024-03-15T14:25:59
Priyanka Sukumaran, Conor Houghton, Nina Kazanina
cs.CL
cs.CL
Humans can learn a new word and infer its grammatical properties from very few examples. They have an abstract notion of linguistic properties like grammatical gender and agreement rules that can be applied to novel syntactic contexts and words. Drawing inspiration from psycholinguistics, we conduct a noun learning experiment to assess whether an LSTM and a decoder-only transformer can achieve human-like abstraction of grammatical gender in French. Language models were tasked with learning the gender of a novel noun embedding from a few examples in one grammatical agreement context and predicting agreement in another, unseen context. We find that both language models effectively generalise novel noun gender from one to two learning examples and apply the learnt gender across agreement contexts, albeit with a bias for the masculine gender category. Importantly, the few-shot updates were only applied to the embedding layers, demonstrating that models encode sufficient gender information within the word embedding space. While the generalisation behaviour of models suggests that they represent grammatical gender as an abstract category, like humans, further work is needed to explore the details of how exactly this is implemented. For a comparative perspective with human behaviour, we conducted an analogous one-shot novel noun gender learning experiment, which revealed that native French speakers, like language models, also exhibited a masculine gender bias and are not excellent one-shot learners either.
[ -0.1775011420249939, -0.8191942572593689, 0.6190385818481445, 0.19090470671653748, 0.13908196985721588, 0.00962995458394289, -0.1739867478609085, -0.4292225241661072, -0.04173034057021141, 0.19207699596881866, -0.6347296833992004, -0.41103827953338623, -0.5906244516372681, 0.44295576214790344, -0.40725070238113403, 0.5117827653884888, 0.23603391647338867, 0.04966072738170624, -0.33459433913230896, -0.024553418159484863, -0.34618791937828064, -0.5210038423538208, -0.558645486831665, -0.6101750731468201, 0.5984813570976257, 0.14540714025497437, 0.5236533284187317, 0.5366064310073853, 0.2966616451740265, 0.3663006126880646, -0.1686050444841385, 0.10423191636800766, -0.4760396480560303, -0.15519528090953827, -0.43412718176841736, -0.5727640390396118, -0.43723732233047485, 0.101737380027771, 0.669246256351471, 0.9929867386817932, 0.04874267056584358, -0.08879370987415314, 0.18930844962596893, 0.7734926342964172, -0.7789878845214844, 0.4889938235282898, -0.4661978483200073, 0.0687413290143013, 0.16285823285579681, 0.09855227917432785, -0.4607383608818054, -0.07262680679559708, 0.06573403626680374, -0.33948689699172974, 0.2943347096443176, -0.31196707487106323, 0.7669187188148499, -0.17851018905639648, -0.4809757173061371, -0.010789762251079082, -0.7887795567512512, 0.7182647585868835, -0.6357219219207764, 0.5924738645553589, 0.5966740846633911, 0.17128635942935944, -0.11876767873764038, -0.5217600464820862, -0.5378825068473816, -0.25485554337501526, -0.40693023800849915, -0.0557931512594223, -0.49944010376930237, 0.018351593986153603, 0.14373527467250824, -0.04315486177802086, -0.5529245138168335, 0.14480115473270416, -0.5149069428443909, 0.032954733818769455, 0.6452066898345947, -0.1654871255159378, 0.35023635625839233, -0.4303967356681824, -0.2677331268787384, 0.11868973076343536, -0.4819832742214203, 0.10627566277980804, 0.5751914978027344, 0.8763827681541443, -0.4590551555156708, 0.4474411606788635, -0.07531283795833588, 0.584958553314209, -0.049196526408195496, 0.0982888713479042, 0.4245787560939789, -0.203470841050148, -0.05378992110490799, -0.04349227249622345, 0.8302515745162964, 0.08754862844944, 0.384418249130249, -0.42458781599998474, -0.27236485481262207, 0.22178229689598083, 0.3097889721393585, -0.5242078900337219, -0.1598237007856369, 0.021310940384864807, -0.1747111976146698, -0.1441611498594284, 0.2237376570701599, -0.45582643151283264, -0.1967403143644333, -0.3102940022945404, 0.37268686294555664, -0.34162724018096924, -0.593770444393158, 0.1952255219221115, -0.20773263275623322, 0.414796382188797, 0.1451723426580429, -1.2043629884719849, 0.5371841788291931, 0.8577790260314941, 0.6680955290794373, -0.04669345170259476, -0.5674189329147339, -0.1978636384010315, -0.23079894483089447, -0.5169537663459778, 0.6239529252052307, -0.5083668231964111, -0.30538663268089294, 0.011090515181422234, 0.08157929033041, -0.3593561351299286, -0.34909310936927795, 0.06546682119369507, -0.10129623115062714, 0.22324202954769135, -0.07413439452648163, -0.5551588535308838, -0.2724733054637909, 0.26856759190559387, -0.680088222026825, 0.7488743662834167, 0.13156896829605103, -0.3788087069988251, 0.30351492762565613, -0.6328904032707214, -0.137276753783226, -0.13527414202690125, -0.6615695953369141, -0.19818928837776184, 0.30256566405296326, 0.015160767361521721, 0.5161617398262024, 0.032174255698919296, 0.06562449038028717, 0.09102880209684372, -0.14533278346061707, 0.4442656934261322, -0.15631093084812164, 0.6613483428955078, -0.2660689651966095, -0.0014841145602986217, -0.08256687223911285, -0.5543301701545715, -0.2164449691772461, 0.2918129563331604, -0.03197561949491501, -0.34434252977371216, -0.15411517024040222, 0.03450983017683029, 0.1697031855583191, -0.03273158147931099, -0.6542100310325623, 0.23648133873939514, -0.49797743558883667, 0.5037965178489685, 0.5370539426803589, 0.07465289533138275, 1.0074454545974731, -0.3000688850879669, 0.4455328583717346, -0.042662736028432846, -0.33931273221969604, -0.23377633094787598, -0.4265193045139313, -0.4140721559524536, -0.4213855564594269, 0.5234861373901367, 0.4315936863422394, -0.23990143835544586, 0.3333982229232788, -0.2614949643611908, -0.019678903743624687, -0.31901678442955017, 0.4742940366268158, 0.6196884512901306, 0.23044030368328094, 0.09397239983081818, -0.3031734228134155, -0.5184334516525269, -1.131760597229004, -0.5509365797042847, -0.4914137125015259, 0.046109121292829514, 0.08214496076107025, 0.7403600811958313, -0.209985613822937, 1.2595772743225098, -0.29897409677505493, -0.35179126262664795, -0.7453939318656921, 0.445851594209671, 0.010657123290002346, 0.4889686703681946, 0.8797479867935181, -0.6036701202392578, 0.27790433168411255, 0.025059301406145096, -0.9679043292999268, 0.129747673869133, -0.03785165399312973, -0.12934626638889313, 0.1971234530210495, 0.6710716485977173, -0.4356459081172943, 0.27660107612609863, 0.33909112215042114, -0.40909746289253235, 0.39741599559783936, -0.10324575006961823, -0.3147610127925873, -0.8598496317863464, -0.2772755026817322, 0.18047162890434265, -0.6168410778045654, -0.8953403830528259, 0.3892982602119446, 0.04366222769021988, 0.08045905828475952, -0.8846096992492676, 0.8063259720802307, -0.464832603931427, 0.01800430566072464, -0.26422426104545593, 0.09816303849220276, -0.2001013457775116, 0.6792935132980347, 0.35579565167427063, 0.3369207978248596, 0.3080745339393616, -0.6911634802818298, -0.3345949053764343, 0.09148704260587692, -0.20916274189949036, 0.174242302775383, -0.4395706057548523, 0.31891345977783203, -0.6372342109680176, -0.18558312952518463, -1.131156086921692, -0.2709060609340668, 0.28677690029144287, -0.46928152441978455, 0.3281661868095398, -0.2662881314754486, -0.24323289096355438, 0.14407067000865936, -0.06215427815914154, 0.598227322101593, 0.3911028504371643, -0.10896032303571701, 0.8640337586402893, 0.11309617012739182, -0.19021503627300262, -0.40635332465171814, -0.91472989320755, -0.12351560592651367, 0.11213484406471252, -0.18482398986816406, 0.06785441935062408, 0.24460354447364807, -0.4851030111312866, 0.00054056232329458, -0.014058136381208897, -0.24335148930549622, 0.18656225502490997, 0.3355165421962738, 0.04512619972229004, -0.2629290223121643, 0.3195682466030121, -0.06116103380918503, -0.02586817927658558, 0.07847945392131805, -0.020249921828508377, 0.5864547491073608, -0.45908308029174805, -0.23612892627716064, -0.48610082268714905, 0.36681538820266724, 0.41662153601646423, 0.055039770901203156, 0.6627598404884338, 0.31885045766830444, -0.7180050015449524, -0.29965609312057495, -0.16201989352703094, -0.45898059010505676, -0.39059463143348694, 0.5406765341758728, -0.613010585308075, -0.5448972582817078, 0.5365394949913025, -0.04822716861963272, 0.24076861143112183, 0.39249297976493835, 0.3161167800426483, -0.3890293538570404, 0.5419742465019226, 0.9149282574653625, 0.0016451281262561679, 0.4302237033843994, -0.7161490321159363, -0.11568859964609146, -0.4382029175758362, -0.13491404056549072, -0.49572575092315674, -0.6501848697662354, -0.6086939573287964, -0.3037610352039337, 0.018219541758298874, 0.19660696387290955, -0.3084031939506531, 0.4434177875518799, 0.19487594068050385, 0.7289242744445801, 0.28899866342544556, 0.44798415899276733, 0.3675486743450165, 0.208182230591774, -0.10986518859863281, -0.23010127246379852, -0.7098983526229858, -0.633765697479248, 0.8933255076408386, 0.3644022047519684, 0.5880140662193298, 0.3262734115123749, 0.8806196451187134, 0.2865332067012787, -0.03749985247850418, -0.972206175327301, 0.5175648927688599, -0.38155412673950195, -0.4422384202480316, -0.1780596524477005, -0.3114906847476959, -1.0636982917785645, 0.43116024136543274, -0.37850505113601685, -0.7168647646903992, 0.6304637789726257, 0.020051700994372368, -0.10531949251890182, 0.2690695524215698, -0.3916301429271698, 0.8913318514823914, -0.07304341346025467, -0.3710934519767761, 0.11291851103305817, -0.44265010952949524, 0.5079468488693237, 0.014857150614261627, 0.44360923767089844, -0.06578594446182251, -0.09632362425327301, 0.5737990736961365, -0.1395655870437622, 1.3436118364334106, 0.16083723306655884, -0.3949641287326813, -0.03918205946683884, 0.5068002343177795, 0.0383460558950901, -0.16853012144565582, -0.07515062391757965, 0.4214272201061249, -0.3460526466369629, -0.5915207862854004, -0.7117622494697571, 0.24240820109844208, -0.9799884557723999, -0.4709201157093048, -0.5054528117179871, -0.6035098433494568, -0.07374931126832962, 0.005704955197870731, 0.2808035612106323, 0.48182642459869385, -0.6057301759719849, -0.07954433560371399, 0.26030004024505615, 0.050515066832304, 0.5833609700202942, 0.4563434422016144, -0.5933317542076111, 0.2045365571975708, 0.7024466395378113, -0.19571582973003387, 0.6036220788955688, 0.5738762021064758, 0.3605935871601105, -0.12020506709814072, -0.193259596824646, -0.23073498904705048, 0.43253159523010254, -0.7180771231651306, 0.19193322956562042, -0.6722244620323181, -0.4502750337123871, -0.27802202105522156, -0.06929755210876465, -0.6292433142662048, -0.7262359261512756, -0.2521970570087433, -0.32277029752731323, 0.1843491643667221, 0.8212407231330872, 0.08234503120183945, 0.33956852555274963, -0.5990898609161377, 0.47229892015457153, 0.4792075753211975, -0.19343745708465576, -0.24929291009902954, -0.6810165643692017, 0.17529699206352234, 0.18772228062152863, -0.2199985831975937, -0.9965060353279114, 0.31421133875846863, 0.6519234776496887, 0.45465102791786194, 0.5717231035232544, -0.23917612433433533, 0.39701494574546814, -0.5468161702156067, 0.8620212078094482, 0.23237894475460052, -1.0100226402282715, 0.39020952582359314, -0.3927585184574127, 0.532872200012207, 0.4853716492652893, 0.25861167907714844, -0.5214290618896484, -0.4806053042411804, -0.3784191906452179, -0.6255403757095337, 0.569869339466095, 0.3919486701488495, 0.596822202205658, -0.032680608332157135, 0.6198990345001221, 0.41841110587120056, 0.16548073291778564, -0.9826723337173462, -0.35661932826042175, 0.1566644161939621, 0.05672823637723923, -0.2643456757068634, -0.09090695530176163, -0.013760058209300041, -0.3404850363731384, 0.3568088114261627, -0.20207996666431427, 0.5207763314247131, -0.01929750107228756, -0.517069399356842, 0.06477486342191696, 0.6180451512336731, 0.6666955351829529, 0.8911106586456299, -0.18481482565402985, 0.3408564627170563, -0.03092118911445141, -0.30922654271125793, 0.45705336332321167, -0.3326738178730011, -0.3168407380580902, 0.34023317694664, 0.8089498281478882, 0.7853776812553406, 0.49401313066482544, -0.37431588768959045, 0.5567108392715454, -0.11741040647029877, -0.6894895434379578, -0.17025645077228546, -0.023141734302043915, 0.20847362279891968, 0.23406119644641876, 0.2643146514892578, 0.2838679552078247, -0.041333701461553574, -0.911612331867218, 0.14723971486091614, 0.36783909797668457, -0.3299788236618042, -0.5387884378433228, 0.35825014114379883, -0.025620684027671814, -0.3895834982395172, 0.44508031010627747, -0.6279444098472595, -0.5234180688858032, 0.616805374622345, 0.5649644732475281, 1.2194126844406128, -0.3173775374889374, 0.4451495409011841, 0.418433278799057, 0.6874516606330872, -0.28139880299568176, 0.5061219334602356, 0.09270728379487991, -1.114200472831726, -0.16304850578308105, -0.5169618129730225, -0.22171759605407715, -0.025746947154402733, -0.6990850567817688, 0.3342554569244385, -0.4677119851112366, -0.07525411248207092, -0.028144771233201027, -0.5960816144943237, -0.9049811959266663, -0.28514382243156433, 0.2929912507534027, 0.6401109099388123, -1.3096493482589722, 0.4768848419189453, 0.8949447870254517, -0.4233655035495758, -0.5762035250663757, -0.14601126313209534, 0.15137702226638794, -0.4888836443424225, 1.0762813091278076, 0.17574454843997955, -0.394763708114624, -0.13078205287456512, -0.4349803030490875, -0.43360933661460876, 0.774328351020813, 0.6870183944702148, -0.7742276787757874, -0.32478049397468567, 0.4037984311580658, 0.452464759349823, -0.5046095252037048, 0.26644086837768555, 0.6353030204772949, 0.2559458911418915, -0.12348555028438568, -0.9355565309524536, -0.1926880180835724, -0.2545739412307739, 0.10324887931346893, 0.03231530636548996, -0.196353480219841, 1.1266928911209106, -0.31098636984825134, -0.3853996992111206, 0.0718199610710144, 0.8778986930847168, -0.03959290683269501, 0.20722772181034088, 0.493051141500473, 0.40712079405784607, 0.6876752972602844, -0.06205550953745842, 1.0428720712661743, 0.11296038329601288, 0.3053571879863739, 1.3486582040786743, -0.14071348309516907, 1.0134464502334595, 0.434992253780365, -0.26409587264060974, 0.8739863038063049, 0.24977128207683563, 0.49273377656936646, 0.3940264880657196, 0.16621819138526917, -0.3546436131000519, -0.46404150128364563, 0.12682700157165527, -0.184501051902771, 0.9435213208198547, 0.3939627408981323, -0.5349459648132324, -0.3946359157562256, 0.3576246201992035, -0.1403598040342331, 0.4023303985595703, -0.41188356280326843, 1.0358918905258179, 0.3336637616157532, -0.1545109748840332, 0.6824679374694824, 0.14926904439926147, 0.5245109796524048, -0.5089301466941833, -0.06646440923213959, -0.2728745639324188, 0.1883305311203003, -0.28247472643852234, -0.2453441470861435, -0.05069654434919357, -0.04156697914004326, -0.31702443957328796, -0.15803347527980804, 0.474336177110672, -0.6538823843002319, -0.9450345635414124, 0.29468101263046265, 0.9828473329544067, 0.30110734701156616, 0.02035895735025406, -0.51646488904953, -0.31640133261680603, -0.4939335882663727, 0.14715974032878876, 0.2691783607006073, 0.12186703830957413, -0.06310179084539413, 0.6457028388977051, 0.25637781620025635, 0.2425103336572647, 0.16545462608337402, 0.18585199117660522, 0.4611935317516327, -0.6749234795570374, -0.6024032235145569, -1.1273677349090576, 0.4287789762020111, 0.394178181886673, -0.06697721034288406, 0.6019943952560425, 0.4990628957748413, 0.9614102244377136, -0.27459606528282166, 0.7043701410293579, 0.2600102126598358, 0.02791198156774044, -0.6215144395828247, 0.551419198513031, -0.552734375, 0.20856043696403503, -0.3866386413574219, -0.950890064239502, -0.3848181664943695, 0.8078905344009399, -0.27017316222190857, 0.0479326955974102, 0.7758049964904785, 0.9184948205947876, -0.3501865267753601, 0.09456264227628708, 0.504202663898468, 0.2760835289955139, -0.08087819069623947, 0.3801444470882416, 0.9685190320014954, -0.5800734162330627, -0.06437288969755173, -0.29707685112953186, 0.020879874005913734, 0.18374134600162506, -0.9525030851364136, -0.9990596175193787, -0.5189416408538818, -0.5322833061218262, -0.056939419358968735, 0.2330319583415985, 1.3875818252563477, 0.6470967531204224, -0.6470139622688293, -0.5626716613769531, -0.24959537386894226, 0.10745404660701752, -0.5539432764053345, -0.20182205736637115, 0.1306685358285904, -0.49640482664108276, -0.9833405613899231, 0.4100765287876129, 0.003150521544739604, -0.10842833667993546, -0.30533313751220703, -0.079145148396492, -0.5101207494735718, -0.11716485023498535, 0.7148793935775757, 0.3949333131313324, -0.8775903582572937, -0.16165068745613098, -0.0784096047282219, -0.10393387079238892, 0.06181945651769638, 1.0328972339630127, -0.9184816479682922, 0.45758798718452454, 0.5910954475402832, 0.5914658904075623, 0.2123987376689911, -0.002532572951167822, 0.7333957552909851, -1.3018471002578735, 0.40037572383880615, 0.03493141382932663, 0.43559208512306213, 0.11402856558561325, -0.13033081591129303, 0.2765161693096161, 0.3305865228176117, 0.016863329336047173, -0.6871529221534729, 0.3654825687408447, -0.8435420393943787, -0.5932766795158386, 1.1543278694152832, -0.04463076591491699, -0.3190923035144806, -0.06885820627212524, -0.05780213326215744, 0.05705586075782776, -0.4588397741317749, 0.4307166039943695, 0.5790349245071411, -0.10848245769739151, -0.5509922504425049, -0.6127005815505981, 0.34451162815093994, 0.356785386800766, -0.6548093557357788, 0.04833249747753143, 0.3476611375808716, 0.33855539560317993, 0.24316735565662384, 0.4007069766521454, -0.04805237427353859, 0.5648558139801025, -0.2191586047410965, 0.12570717930793762, -0.05134446173906326, -0.4800741672515869, -0.8066479563713074, 0.14528240263462067, 0.04618208855390549, -0.34660452604293823 ]
http://arxiv.org/abs/2403.10326v1
http://arxiv.org/pdf/2403.10326v1
CDGP: Automatic Cloze Distractor Generation based on Pre-trained Language Model
2024-03-15T14:14:26
2024-03-15T14:14:26
Shang-Hsuan Chiang, Ssu-Cheng Wang, Yao-Chung Fan
cs.CL
cs.CL, cs.AI, cs.LG
Manually designing cloze test consumes enormous time and efforts. The major challenge lies in wrong option (distractor) selection. Having carefully-design distractors improves the effectiveness of learner ability assessment. As a result, the idea of automatically generating cloze distractor is motivated. In this paper, we investigate cloze distractor generation by exploring the employment of pre-trained language models (PLMs) as an alternative for candidate distractor generation. Experiments show that the PLM-enhanced model brings a substantial performance improvement. Our best performing model advances the state-of-the-art result from 14.94 to 34.17 (NDCG@10 score). Our code and dataset is available at https://github.com/AndyChiangSH/CDGP.
[ -0.6340392231941223, -0.9204578399658203, 0.3873256742954254, -0.017309576272964478, -0.4575630724430084, -0.2893552780151367, -0.5051270127296448, -0.2981892228126526, -0.37615904211997986, 0.601875364780426, -0.4197671115398407, -0.49499306082725525, -0.774892270565033, 0.11793800443410873, -0.30518752336502075, 0.9104711413383484, 0.09548026323318481, -0.15479916334152222, 0.012089080177247524, 0.28293928503990173, -0.6670107245445251, -0.3237931728363037, -0.8681728839874268, 0.008732710964977741, 0.05349297821521759, 0.3261834681034088, 0.5569799542427063, 0.44071099162101746, 0.26169195771217346, 0.34940728545188904, 0.11877758800983429, 0.21330411732196808, -0.33335942029953003, -0.10204818099737167, 0.10674576461315155, -0.1351214051246643, -0.435594767332077, 0.1850648820400238, 0.3173636496067047, 0.40977561473846436, -0.3453986346721649, 0.13867202401161194, 0.19117142260074615, 0.4947579503059387, -0.7116240859031677, 0.006613132078200579, -0.8410704135894775, -0.18075862526893616, -0.21835774183273315, 0.09108040481805801, -0.5543734431266785, -0.5167556405067444, 0.4217264950275421, -0.4942394495010376, 0.4093756675720215, -0.12604835629463196, 0.7346525192260742, 0.5385596752166748, -0.20988576114177704, -0.627589762210846, -0.3519337475299835, 0.7914568185806274, -0.8358736634254456, 0.29448387026786804, 0.27296575903892517, 0.25386008620262146, -0.1107855960726738, -0.7400779724121094, -0.575447142124176, -0.8048759698867798, -0.04121755436062813, 0.12530425190925598, 0.30316951870918274, 0.16358733177185059, 0.17979596555233002, 0.2987198233604431, -0.7747522592544556, 0.12132007628679276, -0.38574129343032837, -0.13601961731910706, 0.8516891598701477, -0.030662693083286285, 0.458028107881546, 0.0032426698599010706, -0.6247707605361938, 0.047646429389715195, -0.6209756135940552, -0.2193640172481537, 0.374047189950943, 0.0516994334757328, 0.11880412697792053, 0.26689472794532776, -0.10153788328170776, 1.3292288780212402, 0.3091243803501129, -0.08802559971809387, 0.15769022703170776, -0.3314596712589264, -0.08788086473941803, 0.15771333873271942, 0.7748432159423828, 0.012383329682052135, 0.39078953862190247, 0.10398732870817184, -0.05875429883599281, 0.14021998643875122, 0.3029516339302063, -0.8161919713020325, -0.6275619268417358, 0.22089049220085144, -0.11586450040340424, -0.3869410753250122, -0.03417208790779114, -0.8040745854377747, -0.1762910634279251, -0.3535396158695221, 0.21034400165081024, -0.6211308240890503, -0.16932694613933563, 0.28708121180534363, 0.12548580765724182, -0.017588157206773758, 0.15026527643203735, -0.4906155467033386, 0.12441868335008621, 0.1516091376543045, 0.5967329144477844, -0.463097482919693, -0.3201964497566223, -0.6104934811592102, -0.018293535336852074, -0.1335771530866623, 0.8260766863822937, -0.5123509764671326, -0.5336369872093201, -0.009463478811085224, -0.40126141905784607, -0.4022819697856903, -0.8056566119194031, 0.6335838437080383, -0.4422082304954529, 0.5082452297210693, 0.1007341518998146, -0.7554941773414612, -0.12719808518886566, 0.024448348209261894, -0.5156842470169067, 1.196183681488037, 0.14505133032798767, -0.5287474989891052, 0.6305280327796936, -0.9856892228126526, -0.2644122540950775, 0.39344272017478943, 0.16674759984016418, -0.7422538995742798, -0.2712012231349945, 0.3072267472743988, 0.1945231705904007, -0.05904726684093475, 0.49870485067367554, -0.1625862568616867, -0.24173837900161743, 0.3187238574028015, -0.018340881913900375, 0.8552870750427246, 0.30901920795440674, -0.5339213609695435, 0.2755683958530426, -0.9415992498397827, 0.4766557812690735, 0.07063138484954834, -0.47775739431381226, -0.1426619440317154, 0.10177218168973923, -0.029095856472849846, 0.6404159069061279, 0.3648133873939514, -0.36366182565689087, -0.21307890117168427, -0.17119668424129486, 0.1526983380317688, 0.6630007028579712, -0.2253057062625885, 0.46991750597953796, -0.1885545253753662, 0.566204845905304, -0.09740176051855087, 0.0767681822180748, 0.04738976061344147, -0.23517905175685883, -0.7646136283874512, -0.6559360027313232, 0.5075427293777466, 0.6144136786460876, -0.4575715661048889, 0.916435956954956, 0.00999708753079176, -0.45291945338249207, -0.44147780537605286, 0.6128926277160645, 0.40714094042778015, 0.3085702359676361, 0.2898794114589691, -0.47015801072120667, -0.5054466128349304, -0.4828352928161621, -0.1468702107667923, 0.05774880573153496, -0.10789570957422256, 0.25648000836372375, 0.293161004781723, -0.10403871536254883, 1.0932539701461792, -0.7438759207725525, -0.4030488431453705, -0.669471800327301, 0.09857167303562164, -0.22314892709255219, 0.4783317446708679, 0.6532036662101746, -0.7839492559432983, -0.8041499853134155, -0.382946640253067, -0.40800270438194275, -0.7364736795425415, -0.05700226500630379, -0.1144380122423172, 0.3533085882663727, 0.3340885043144226, -0.6736851334571838, 0.3244214355945587, 0.3868037462234497, -0.09885309636592865, 0.9285557270050049, -0.2087068110704422, -0.305087685585022, -0.7947803139686584, 0.23739047348499298, -0.10059362649917603, -0.1352420151233673, -0.7915701270103455, 0.0508151613175869, -0.054491475224494934, -0.38448217511177063, -0.6130459904670715, 0.6283518075942993, -0.6268071532249451, 0.3051166832447052, -0.72267085313797, 0.6255503296852112, -0.289416640996933, 0.30413326621055603, 0.46296176314353943, 0.7965319752693176, 0.6863998174667358, -0.9669017195701599, 0.08130286633968353, 0.23408786952495575, -0.35342076420783997, 0.24193832278251648, -0.5663906931877136, 0.2927558124065399, 0.07551576942205429, 0.06224191561341286, -0.8432040810585022, -0.10841146856546402, 0.27451589703559875, -0.15041185915470123, 0.32900339365005493, 0.06730064749717712, -0.34433069825172424, -0.6549283862113953, -0.09898886829614639, 0.19763775169849396, 0.7519406676292419, -0.6203871965408325, 0.2295481115579605, 0.3929136395454407, -0.38221806287765503, -0.39935848116874695, -0.15353137254714966, -0.14331413805484772, -0.4441864490509033, -0.6624555587768555, 0.11963704973459244, -0.5024829506874084, -0.07695762068033218, -0.4387235939502716, 0.08299171179533005, -0.2807054817676544, 0.15235359966754913, 0.06325790286064148, 0.21388307213783264, -0.06093772128224373, -0.03229793161153793, -0.39196592569351196, -0.09247935563325882, 0.028376499190926552, -0.21369123458862305, 0.8493989706039429, 0.045082926750183105, -0.11932829022407532, -0.30852171778678894, 0.023376023396849632, 0.07029920816421509, -0.64031583070755, 0.5642767548561096, 0.6622586846351624, 0.0187037605792284, -0.6929357647895813, -0.6699700355529785, -0.2132650464773178, -0.5383838415145874, 0.4939037561416626, -0.08775221556425095, -0.5970644354820251, 0.21808430552482605, -0.23867958784103394, -0.2671312987804413, -0.17587418854236603, 0.5752644538879395, 0.33414214849472046, 0.7667365670204163, 0.4343177080154419, 0.09753386676311493, 0.7538921236991882, -0.03262817859649658, 0.3937620520591736, -0.5296632647514343, 0.16431915760040283, -0.09180725365877151, 0.18860109150409698, -0.31753042340278625, -0.24831730127334595, 0.30720236897468567, 0.323998361825943, 0.09170792251825333, 0.35438159108161926, -0.6348573565483093, 0.3848987817764282, 0.5290668606758118, 0.08510015159845352, -0.07948969304561615, -0.31349706649780273, -0.14880245923995972, 0.1958879977464676, -0.6989683508872986, -0.7828266024589539, 1.0165075063705444, -0.04866268113255501, 0.4997786283493042, -0.19550500810146332, 0.7926904559135437, 0.16993950307369232, 0.430010050535202, -0.3624372184276581, 0.9622461795806885, -0.002469441154971719, -0.7571364045143127, -0.33496740460395813, -0.2521125078201294, -0.9055541157722473, 0.35354506969451904, -0.04276285320520401, -0.5981264114379883, -0.09281966090202332, 0.4735771417617798, -0.5450785160064697, -0.014498022384941578, -0.9175199866294861, 1.0589854717254639, -0.5456907749176025, -0.5197387337684631, -0.08046574145555496, -0.559112548828125, 0.5777305960655212, -0.2557528614997864, -0.072676882147789, -0.04057435318827629, 0.3327040672302246, 0.6159158945083618, -0.5421959757804871, 0.7936308979988098, -0.391805499792099, -0.08933541923761368, 1.038238763809204, 0.13112317025661469, 0.42856115102767944, -0.015525368973612785, -0.15322338044643402, 0.019010035321116447, -0.4891943037509918, -0.4259699285030365, -0.20052692294120789, 0.47956517338752747, -0.4864204227924347, -0.8399471640586853, -0.3567536175251007, -0.8420059680938721, 0.10433164238929749, 0.40961572527885437, 0.2635260820388794, 0.19794206321239471, -0.26915955543518066, -0.33471977710723877, 0.4815598726272583, -0.4107552468776703, 0.6495562791824341, 0.807701826095581, -0.012113676406443119, -0.29311540722846985, 0.8452571630477905, 0.10533754527568817, 0.49672847986221313, -0.05481022968888283, 0.047064900398254395, -0.3618827760219574, -0.7958221435546875, -0.32091230154037476, 0.2061445116996765, -0.4544168710708618, 0.024594025686383247, -0.3570520877838135, -0.30832523107528687, -0.40460970997810364, -0.3040692210197449, -0.1804744452238083, -0.07409324496984482, -0.3213129937648773, -0.1789921671152115, -0.07558295130729675, 0.6215717196464539, -0.05292798578739166, 0.636336088180542, -0.6569173336029053, 0.03150278702378273, 0.4069216251373291, 0.11203782260417938, -0.32346710562705994, -0.23712776601314545, -0.17597080767154694, -0.030128823593258858, -0.8697639107704163, -0.7938805818557739, 0.6079827547073364, 0.2542063891887665, 0.6327009201049805, 0.6028069853782654, 0.2004585713148117, 0.4789848029613495, -0.48945724964141846, 0.8424186706542969, -0.03848540410399437, -1.1310064792633057, 0.6698099970817566, -0.27924782037734985, 0.23161408305168152, 0.37017619609832764, 0.04884040355682373, 0.04674985632300377, -0.5428281426429749, -0.7919004559516907, -0.7239323258399963, 0.7400693297386169, 0.3283819556236267, -0.3921531140804291, -0.31843262910842896, 0.20011396706104279, 0.29652291536331177, 0.3344520330429077, -0.9479902982711792, -0.05914276838302612, -0.2131391167640686, -0.3004758656024933, -0.09837939590215683, -0.42186081409454346, 0.2597132921218872, 0.25463202595710754, 0.718836784362793, -0.02244064211845398, 0.07723429054021835, 0.14722581207752228, -0.5966230034828186, 0.12099462002515793, 0.5084074139595032, 0.8288019895553589, 0.848721981048584, -0.22820530831813812, 0.02340545877814293, 0.40260806679725647, -0.372628778219223, 0.02630191668868065, 0.42384135723114014, -0.23647631704807281, 0.0569026954472065, -0.0032887200359255075, 0.6651920080184937, -0.015698585659265518, -0.9728236794471741, 0.5243108868598938, 0.3367418646812439, 0.015938129276037216, -0.6955676674842834, 0.41250360012054443, -0.16366441547870636, -0.22892895340919495, 0.10059552639722824, -0.029700320214033127, 0.04107680544257164, -0.06955929100513458, 0.4380863606929779, 0.5237401127815247, -0.1508716344833374, -0.35031771659851074, 0.8082885146141052, 0.5138252377510071, -0.24081851541996002, 0.4247552752494812, -0.455747127532959, -0.7506662011146545, 0.7031318545341492, 0.7521224617958069, 0.5148971080780029, -0.684329628944397, 0.30787402391433716, 0.45920753479003906, 0.20307114720344543, 0.04228978976607323, 0.23973697423934937, -0.07473906874656677, -0.6202360987663269, -0.2783856689929962, -0.4013439416885376, 0.06813667714595795, 0.2941094636917114, -0.44351884722709656, 0.4837125539779663, -0.18463629484176636, -0.23258306086063385, -0.4516552984714508, 0.07322419434785843, -0.6834644079208374, 0.4896971881389618, 0.5395143032073975, 0.7215776443481445, -0.6946885585784912, 0.9893284440040588, 0.5996217131614685, -0.3789682388305664, -0.4223850667476654, 0.008237008936703205, -0.35077911615371704, -0.6232397556304932, 0.9506540894508362, 0.2599886655807495, 0.06783285737037659, 0.04311072453856468, -0.4038034677505493, -0.8110955953598022, 0.8918768167495728, 0.265179306268692, -0.5333658456802368, -0.039200309664011, 0.5947450399398804, 0.5115746259689331, -0.4058620035648346, 0.4717114567756653, 0.5356626510620117, 0.39896857738494873, -0.5213868021965027, -0.9767720699310303, 0.07604247331619263, 0.010684109292924404, 0.1671282947063446, 0.2842753529548645, -0.7547231316566467, 0.6757349371910095, -0.39248159527778625, -0.39559778571128845, 0.21228604018688202, 0.46312034130096436, 0.5299338102340698, 0.2666918933391571, 0.684411346912384, 0.7104979753494263, 0.6828201413154602, 0.0900677740573883, 1.0587818622589111, -0.6473764777183533, 0.29142019152641296, 1.2265901565551758, -0.6461519598960876, 0.6089026927947998, 0.24429826438426971, 0.06628373265266418, 0.4586818516254425, 0.5045062899589539, -0.027844222262501717, 0.6715551018714905, 0.5429851412773132, -0.3773110508918762, -0.5392603278160095, 0.17910021543502808, -0.11208569258451462, 0.3793655335903168, 0.2876775860786438, -0.4775404632091522, -0.2624519169330597, 0.13491086661815643, -0.022504733875393867, 0.15850646793842316, -0.16763822734355927, 0.6381765604019165, 0.10519729554653168, -0.8409729599952698, 0.6394209861755371, -0.27805963158607483, 0.5922091007232666, -0.7783415913581848, 0.1046004593372345, 0.14409595727920532, 0.4228230118751526, 0.04931075498461723, -0.37659409642219543, -0.04737845063209534, -0.1400139182806015, 0.06269550323486328, -0.051468390971422195, 0.9681560397148132, -0.8217414617538452, -0.3049546480178833, 0.3843698799610138, 0.4525339901447296, 0.05665731057524681, 0.11697445064783096, -0.8206453919410706, -0.26986101269721985, 0.04785837233066559, -0.17675000429153442, 0.28455764055252075, 0.1903887838125229, 0.11194451153278351, 0.8061456680297852, 0.611740231513977, 0.017418954521417618, 0.7428848147392273, -0.24318033456802368, 0.49430522322654724, -0.289127916097641, -0.6072105169296265, -0.7800984382629395, 0.5778082609176636, -0.15439319610595703, -0.447414368391037, 0.8131880760192871, 0.6321234107017517, 1.030235767364502, -0.5321376919746399, 1.0621949434280396, -0.22893159091472626, 0.5982263684272766, -0.5366693139076233, 0.6627726554870605, -0.04739367961883545, 0.19704985618591309, -0.12865731120109558, -0.7144775390625, -0.13515205681324005, 0.5994377136230469, -0.8275959491729736, 0.24836167693138123, 0.8507881164550781, 0.9102606773376465, -0.04988966882228851, -0.14874961972236633, 0.3174237608909607, 0.0037975504528731108, 0.22919951379299164, 0.7266748547554016, 0.9186882972717285, -0.24132271111011505, 0.7638775706291199, -0.26937735080718994, -0.03535046800971031, -0.11729971319437027, -0.7356909513473511, -1.288927435874939, -0.4387742280960083, -0.7089328169822693, -0.034681107848882675, 0.14246098697185516, 0.8984968066215515, 0.8235338926315308, -0.821440577507019, -0.2367265820503235, -0.33645251393318176, -0.11011328548192978, -0.23282267153263092, -0.2752663791179657, 0.4741073250770569, -0.7699505686759949, -0.8748630881309509, 0.28399938344955444, -0.3104887306690216, 0.05895482748746872, 0.16116368770599365, -0.22753050923347473, -0.28355056047439575, 0.004643421620130539, 0.4370565116405487, 0.04859399050474167, -0.664991557598114, -0.23614972829818726, -0.402866393327713, 0.003285001963376999, 0.12070035189390182, 0.8758286833763123, -0.7511336803436279, 0.3576098382472992, 0.2027146965265274, 0.3841560184955597, 0.1947706937789917, 0.29875749349594116, 0.6501177549362183, -0.7663541436195374, 0.19769610464572906, 0.07280725985765457, 0.4164341986179352, 0.32754045724868774, -0.34347429871559143, 0.29112762212753296, 0.08928177505731583, -0.7651711106300354, -0.7589450478553772, 0.28744956851005554, -0.7910605072975159, -0.29656437039375305, 1.2975128889083862, -0.2782638669013977, -0.10760742425918579, -0.17960448563098907, -0.6002532243728638, 0.30254682898521423, -0.29056409001350403, 1.1907161474227905, 0.6228367686271667, -0.08896246552467346, -0.23144617676734924, -0.4706982672214508, 0.7821680903434753, 0.6379712820053101, -0.9643911123275757, -0.012644026428461075, 0.4705282747745514, 0.6157700419425964, 0.28149911761283875, 0.5785358548164368, 0.10570340603590012, 0.39986899495124817, -0.19914016127586365, 0.45244309306144714, -0.2641589045524597, -0.11067799478769302, -0.0167846642434597, 0.3505713939666748, 0.09236785024404526, -0.3637489974498749 ]
http://arxiv.org/abs/2403.10301v2
http://arxiv.org/pdf/2403.10301v2
Uni-SMART: Universal Science Multimodal Analysis and Research Transformer
2024-03-15T13:43:47
2024-06-15T16:03:29
Hengxing Cai, Xiaochen Cai, Shuwen Yang, Jiankun Wang, Lin Yao, Zhifeng Gao, Junhan Chang, Sihang Li, Mingjun Xu, Changxin Wang, Hongshuai Wang, Yongge Li, Mujie Lin, Yaqi Li, Yuqi Yin, Linfeng Zhang, Guolin Ke
cs.CL
cs.CL, cs.CV
In scientific research and its application, scientific literature analysis is crucial as it allows researchers to build on the work of others. However, the fast growth of scientific knowledge has led to a massive increase in scholarly articles, making in-depth literature analysis increasingly challenging and time-consuming. The emergence of Large Language Models (LLMs) has offered a new way to address this challenge. Known for their strong abilities in summarizing texts, LLMs are seen as a potential tool to improve the analysis of scientific literature. However, existing LLMs have their own limits. Scientific literature often includes a wide range of multimodal elements, such as tables, charts, and molecule, which are hard for text-focused LLMs to understand and analyze. This issue points to the urgent need for new solutions that can fully understand and analyze multimodal content in scientific literature. To answer this demand, we present \textbf{Uni-SMART} (Universal Science Multimodal Analysis and Research Transformer), an innovative model designed for in-depth understanding of multimodal scientific literature. Through rigorous quantitative evaluation across several domains, Uni-SMART demonstrates superior performance over other text-focused LLMs. Furthermore, our exploration extends to practical applications, including patent infringement detection and nuanced analysis of charts. These applications not only highlight Uni-SMART's adaptability but also its potential to revolutionize how we interact with scientific literature.
[ -0.16993167996406555, -0.3853294551372528, 0.43764549493789673, 0.43242865800857544, -0.3134995102882385, 0.2808777391910553, -0.09907460957765579, -0.33734825253486633, 0.09412764012813568, 0.6158266067504883, -0.2562701404094696, -0.2697112560272217, -0.44106990098953247, 0.2609560191631317, -0.4908544421195984, 1.1583142280578613, 0.18155908584594727, 0.259834885597229, -0.5315178036689758, -0.261699914932251, -0.13353055715560913, -0.2931101322174072, 0.16434186697006226, -0.4385746121406555, 0.5887079834938049, 0.5024459958076477, 0.6246404647827148, 0.05878165364265442, 0.7806481122970581, 0.46834009885787964, 0.016007330268621445, 0.115328848361969, -0.30816650390625, 0.20561692118644714, -0.3962869942188263, -0.5345451831817627, -0.541304349899292, -0.15114612877368927, 0.8330344557762146, 0.804456353187561, 0.34836694598197937, 0.1887224167585373, -0.013867651112377644, 0.7343071103096008, -0.4078198969364166, 0.1879144161939621, -0.5041166543960571, 0.11610564589500427, -0.24503159523010254, -0.3842281401157379, -0.46670815348625183, -0.02419366128742695, 0.13074186444282532, -0.6541666388511658, 0.19615298509597778, 0.04957391694188118, 0.6523522734642029, 0.07310079783201218, -0.7634205222129822, 0.11187382787466049, -0.921798825263977, 0.9724950790405273, -0.611396849155426, 0.3954564332962036, -0.5300047993659973, 0.20918087661266327, -0.4208222031593323, -1.240005373954773, -0.8234978914260864, -0.2305108904838562, -0.09201614558696747, 0.25517597794532776, -0.30316123366355896, -0.08622327446937561, -0.1296420693397522, 0.1003551259636879, -0.7344908714294434, 0.10105318576097488, -0.4569784998893738, -0.19877532124519348, 0.5606561899185181, 0.3195265233516693, 0.5851818323135376, -0.5666810274124146, -0.5213577151298523, -0.05396650359034538, -0.29299506545066833, 0.022228995338082314, -0.07102268189191818, 0.029171137139201164, 0.22931122779846191, 0.6988627910614014, -0.01745523512363434, 0.33658021688461304, -0.42281386256217957, -0.22585925459861755, 0.05886523425579071, -0.5157545804977417, -0.05985176935791969, -0.06274301558732986, 1.1993930339813232, 0.3450016677379608, 0.28403007984161377, -0.08321253955364227, 0.01944270171225071, 0.0019065975211560726, 0.11529498547315598, -1.011130452156067, -0.23727728426456451, 0.25681957602500916, -0.5499986410140991, -0.13593648374080658, -0.04442017525434494, -1.1008418798446655, -0.600145697593689, -0.3823637366294861, 0.3610689640045166, -0.3517935276031494, -0.3976154923439026, 0.17993885278701782, -0.21605801582336426, -0.1385449767112732, 0.15116117894649506, -0.6088618040084839, 0.13111867010593414, 0.4616853892803192, 0.908401370048523, -0.2629244327545166, -0.25591376423835754, 0.022806737571954727, 0.3154688775539398, 0.06737153977155685, 1.2128218412399292, -0.6465272307395935, -0.6190241575241089, -0.46840035915374756, 0.11103439331054688, -0.2864583730697632, -0.05410429462790489, 0.6479743719100952, -0.5739176869392395, 0.15789048373699188, -0.013392460532486439, -0.3771005868911743, -0.3101380467414856, 0.02148016169667244, -0.7725553512573242, 0.6555267572402954, -0.004933438263833523, -0.9125213623046875, 0.13690826296806335, -1.1863540410995483, -0.19451767206192017, 0.3137443959712982, -0.23579025268554688, -0.39312541484832764, 0.18699216842651367, 0.13828632235527039, 0.5149611234664917, -0.47655174136161804, 0.5504777431488037, -0.3658248484134674, -0.2591996490955353, 0.8064270615577698, -0.5652144551277161, 0.7749258875846863, 0.4792744219303131, -0.05625347048044205, 0.5377287268638611, -0.8864384293556213, -0.02732383832335472, 0.1508425772190094, -0.18827442824840546, -0.5151703357696533, -0.13116802275180817, 0.7652329802513123, -0.07898756116628647, 0.26952433586120605, -0.8844122886657715, 0.37429022789001465, 0.01206147763878107, 0.5903044939041138, 0.4015255868434906, -0.39449256658554077, 0.5551467537879944, 0.03925897553563118, 0.492177814245224, -0.19604909420013428, 0.2591964304447174, -0.33636584877967834, -0.4108751714229584, -0.44328567385673523, -0.7350388765335083, 0.6605885624885559, 0.6110685467720032, -0.5315586924552917, 0.17403608560562134, -0.6590297222137451, -0.5277244448661804, -0.4506402611732483, 0.10540038347244263, 0.13771650195121765, 0.3899614214897156, 0.284159779548645, -0.26548293232917786, -0.5939846634864807, -0.6365430951118469, -0.35890302062034607, 0.1795547753572464, -0.1683860868215561, -0.08158191293478012, 0.7381749153137207, -0.6930399537086487, 1.179349660873413, -0.3803732991218567, -0.3366810381412506, -0.5536642074584961, 0.46814659237861633, 0.06845470517873764, 0.3778555691242218, 0.323281466960907, -1.1807423830032349, -0.3892083466053009, 0.1979396939277649, -0.9399778246879578, -0.07181859016418457, -0.06513483077287674, 0.024703938513994217, -0.10339720547199249, 0.5880274772644043, -0.7088902592658997, 0.28525587916374207, 0.3658961355686188, -0.6081513166427612, 0.5414100885391235, -0.3499203324317932, 0.15676288306713104, -1.0721267461776733, 0.421229749917984, 0.058994799852371216, 0.08892793208360672, -0.6053202748298645, 0.011593235656619072, 0.3635486364364624, -0.4218010902404785, -0.35429030656814575, 0.5690608024597168, -0.4334057569503784, 0.062831349670887, -0.38085681200027466, -0.017034148797392845, 0.41137686371803284, 0.0877213180065155, -0.1831308752298355, 0.4776909053325653, 0.19352267682552338, -0.2890970706939697, 0.3061876893043518, 0.1875634789466858, -0.3573663830757141, 0.395851731300354, -0.772446870803833, -0.1655176877975464, -0.27699199318885803, 0.34455373883247375, -1.1570258140563965, -0.3538528382778168, -0.2769705057144165, -0.273196280002594, 0.473243772983551, 0.19768904149532318, -0.6450543999671936, -0.43600165843963623, -0.4395608901977539, 0.5840821266174316, 0.11926104873418808, -0.423605740070343, 1.0752570629119873, 0.35760223865509033, -0.410434365272522, -0.4896021783351898, -0.41350874304771423, 0.2470676153898239, -0.18251773715019226, -0.8419236540794373, 0.5007286071777344, -0.33583781123161316, -0.42529091238975525, 0.15692134201526642, 0.07276450842618942, -0.1809658259153366, -0.07706571370363235, 0.200340136885643, 0.495833158493042, -0.039843928068876266, 0.09735269844532013, 0.10737890005111694, -0.39379942417144775, -0.057867784053087234, -0.15929365158081055, 0.2571117579936981, -0.3321717381477356, -0.1901635378599167, -0.5749307870864868, 0.5011130571365356, 1.2938613891601562, -0.3474460244178772, 0.35298940539360046, 0.7152858376502991, -0.00662846677005291, 0.19920910894870758, -0.4083688259124756, -0.062144935131073, -0.5120474100112915, 0.6195455193519592, -0.191157728433609, -0.8478726744651794, 0.4010164737701416, -0.37880727648735046, 0.020602185279130936, 0.47474610805511475, 0.32933494448661804, -0.19878050684928894, 1.1791478395462036, 1.001255750656128, -0.03900020942091942, 0.2857836186885834, -0.045149415731430054, 0.33049169182777405, -0.7767356634140015, -0.7230108380317688, -0.5982527136802673, -0.34439152479171753, -0.4427931010723114, -0.25352731347084045, 0.7750053405761719, -0.050161924213171005, -0.13756108283996582, -0.029581112787127495, -0.7192437648773193, 0.510487973690033, 0.3814331293106079, -0.24796177446842194, 0.7696506381034851, 0.19269435107707977, -0.25430354475975037, -0.2605791389942169, -0.6050288677215576, -0.5854014754295349, 1.241410255432129, 0.4600975215435028, 1.0564342737197876, 0.022805413231253624, 0.05904664099216461, 0.3040624260902405, 0.3724038898944855, -0.8082417845726013, 0.6079075336456299, -0.27092593908309937, -0.5357091426849365, -0.3818161189556122, -0.2885834574699402, -1.1392722129821777, 0.6265816688537598, -0.18807584047317505, -0.6022176146507263, 0.29411375522613525, -0.2047402411699295, -0.425462007522583, 0.4113725423812866, -0.7308673858642578, 0.8177862167358398, -0.5655723214149475, -0.13188615441322327, -0.11692781746387482, -0.6085560917854309, 0.40100881457328796, -0.17808547616004944, 0.42688560485839844, -0.07958520948886871, -0.059452448040246964, 0.8535796403884888, -0.012394048273563385, 0.7811304926872253, 0.1767481118440628, 0.03254205361008644, 0.22951053082942963, 0.2107265442609787, 0.045248229056596756, 0.23772978782653809, 0.06358349323272705, 0.12942473590373993, 0.2583767771720886, -0.3936246335506439, -0.6435742378234863, 0.8648602962493896, -0.6275100111961365, -0.28827837109565735, -0.6371842622756958, -1.2129422426223755, 0.0021850853227078915, 0.3179241418838501, 0.06461694836616516, 0.41910848021507263, -0.10497961938381195, 0.3455042243003845, 0.7694642543792725, -0.09450690448284149, 0.6056114435195923, 0.9362074732780457, -0.422717809677124, -0.27151283621788025, 1.1011252403259277, 0.0653180480003357, -0.2005566656589508, 0.4608266353607178, 0.4147985279560089, -0.4285793900489807, -0.5604615211486816, -0.3048590421676636, 0.28423911333084106, -0.524395227432251, -0.195917010307312, -0.990985631942749, 0.02497430332005024, -0.513677179813385, 0.0528952032327652, -0.34295353293418884, -0.5687446594238281, -0.3524915277957916, 0.07232192158699036, 0.6186051368713379, 0.7945826053619385, -0.17748768627643585, 0.07294093072414398, -1.0054394006729126, 0.33616751432418823, 0.41209885478019714, 0.231693834066391, -0.23580621182918549, -0.38288894295692444, 0.03192006051540375, -0.2955855429172516, -0.4936244785785675, -0.6771149039268494, 0.6079413890838623, 0.24509978294372559, 0.3240533471107483, 0.566030740737915, -0.07734528928995132, 0.4371306896209717, -0.4685746729373932, 0.566211998462677, 0.41754037141799927, -0.7596521377563477, 0.21818135678768158, -0.45490700006484985, 0.3937664031982422, 0.4459909200668335, 0.5817921161651611, -0.3855462074279785, -0.05043374001979828, -0.2788366675376892, -1.0759567022323608, 0.14120028913021088, -0.07333513349294662, 0.12878750264644623, 0.42480823397636414, 0.009821011684834957, 0.1572996973991394, 0.07185965031385422, -0.9849703907966614, 0.1090787723660469, -0.4822898805141449, -0.31714415550231934, -0.06654558330774307, -0.26805952191352844, -0.19394433498382568, -0.643051028251648, 0.33624911308288574, -0.4329918622970581, 0.3070710003376007, 0.167461559176445, -0.2597515881061554, -0.07137072831392288, 0.6542088985443115, 0.48111334443092346, 0.6253775954246521, -0.23279327154159546, 0.284640371799469, -0.18779289722442627, -0.6218525767326355, -0.26415809988975525, 0.4179081916809082, -0.12083398550748825, -0.011411168612539768, 0.33460333943367004, 0.2604743540287018, 0.5212389826774597, -1.0673714876174927, 0.28813132643699646, -0.13618218898773193, 0.038838908076286316, -0.1715053915977478, -0.16766181588172913, 0.17536205053329468, 0.4291587173938751, 0.656987726688385, 0.1933850795030594, 0.4184630215167999, -0.6131898760795593, 0.20203746855258942, 0.5979595184326172, -0.4551530182361603, -0.41386035084724426, 0.606063187122345, 0.2678050994873047, 0.015062294900417328, 0.40403488278388977, -0.08826348930597305, -0.5989195108413696, 0.555768609046936, 0.672687828540802, 0.5322428941726685, -0.0887136235833168, 0.47048506140708923, -0.18013878166675568, 0.16022680699825287, 0.25162437558174133, 0.48959535360336304, 0.26493293046951294, -0.5045911073684692, -0.5479090213775635, -0.653749942779541, -0.2968418300151825, 0.12413759529590607, -0.4545230269432068, -0.06891896575689316, -0.1603425145149231, -0.03841196000576019, 0.2452097088098526, -0.06260994076728821, -0.43795233964920044, -0.02073279768228531, -0.1368086040019989, 0.6758437752723694, -0.6503108143806458, 0.7216261029243469, 0.6939899921417236, -0.3232802748680115, -0.34824270009994507, -0.45774441957473755, 0.12197863310575485, -0.35531851649284363, 0.8212016224861145, 0.09819959849119186, -0.13723087310791016, -0.06600158661603928, -0.8048584461212158, -0.8167202472686768, 1.251391887664795, 0.28100505471229553, -0.63924241065979, 0.22009606659412384, 0.2728934586048126, 0.6945298910140991, -0.2957489788532257, 0.5683161020278931, 0.5018576979637146, 0.6730530858039856, -0.091938816010952, -0.8841174840927124, -0.0248692836612463, -0.5221397876739502, -0.13145790994167328, 0.25267499685287476, -0.6887450218200684, 0.9857805967330933, -0.3689287006855011, 0.010430953465402126, 0.1732141524553299, 0.9147685170173645, 0.12982715666294098, 0.6490641236305237, 0.18401837348937988, 0.340657502412796, 0.8009892702102661, 0.045799482613801956, 0.9019539952278137, -0.06861501932144165, 0.44261130690574646, 0.6860657930374146, -0.477577269077301, 0.5918848514556885, 0.5045477151870728, -0.006003126036375761, 0.8421118259429932, 0.11070221662521362, -0.267234742641449, 0.32314252853393555, 0.05774524062871933, -0.4568295478820801, -0.15023669600486755, -0.5724394917488098, -0.31570664048194885, 0.4879360795021057, 0.5593239068984985, -0.0850321352481842, -0.20980246365070343, 0.289838582277298, 0.13922210037708282, 0.24062581360340118, -0.3678082823753357, 0.33724722266197205, 0.12411057949066162, -0.2505270838737488, 0.13570402562618256, 0.0437532477080822, 0.8406230211257935, -0.821855902671814, 0.09824693948030472, -0.05359184741973877, 0.35910677909851074, -0.296955943107605, -0.6914559006690979, -0.01056390255689621, 0.02611200511455536, -0.24865642189979553, 0.012799820862710476, 0.8680005073547363, -0.20655207335948944, -0.8321084976196289, 0.4447466731071472, 0.4108167588710785, 0.09621066600084305, 0.04870090261101723, -0.6848219037055969, -0.04883642494678497, -0.09399198740720749, -0.3933681547641754, 0.5710683465003967, 0.6126484870910645, -0.2154455929994583, 0.9713010191917419, 0.8162738084793091, -0.25951409339904785, 0.01602059416472912, 0.174588143825531, 0.9100820422172546, -0.7706842422485352, -0.14675378799438477, -0.5704228281974792, 0.7939180135726929, -0.11171822249889374, -0.36380821466445923, 0.8357475399971008, 0.4894081652164459, 0.3308412432670593, -0.1607542484998703, 0.9101301431655884, 0.0774872750043869, 0.3080562353134155, -0.17537659406661987, 1.0647052526474, -0.5918222069740295, 0.0762864425778389, -0.3621377646923065, -0.6473160982131958, -0.7212550640106201, 0.27640366554260254, 0.08852539211511612, -0.2324032187461853, 0.8902894854545593, 0.647378146648407, -0.2068832963705063, 0.2730712294578552, 0.2103601098060608, 0.2708415985107422, 0.3884888291358948, 0.12971723079681396, 0.7288196682929993, -0.15236233174800873, 0.7625688314437866, -0.02821865864098072, -0.37617942690849304, -0.10347199440002441, -1.0005288124084473, -1.0538893938064575, -0.41285592317581177, -0.12968608736991882, -0.18122315406799316, -0.32605209946632385, 0.718066930770874, 0.4140804409980774, -0.9412829875946045, -0.32474949955940247, 0.06540972739458084, 0.016170630231499672, 0.002624664455652237, -0.2762123942375183, 0.5764631628990173, -0.1387176662683487, -0.6749223470687866, 0.6139369010925293, 0.49394211173057556, 0.028561795130372047, -0.5512253046035767, 0.13478659093379974, -0.26925116777420044, 0.2835291624069214, 0.8112194538116455, 0.5520943403244019, -0.4270155727863312, 0.24941854178905487, 0.14588412642478943, 0.0720263198018074, -0.1835484802722931, 1.2323508262634277, -0.6626530289649963, 0.7475214600563049, 0.6401423811912537, 0.4626663327217102, 0.3402630090713501, -0.33610644936561584, 0.4630686938762665, -0.2996288239955902, 0.1709909290075302, 0.32444658875465393, 0.5894957184791565, 0.3573458790779114, -0.2947908639907837, 0.35873672366142273, 0.3353731632232666, -0.7510247230529785, -0.8737963438034058, 0.04828619956970215, -1.294075846672058, -0.7426556348800659, 1.0206785202026367, 0.08501807600259781, -0.25707393884658813, -0.449398010969162, -0.2826557457447052, 0.277981162071228, -0.3580271005630493, 0.8541519045829773, 0.30958104133605957, -0.35999593138694763, 0.0728418305516243, -0.4851749539375305, -0.03341427817940712, 0.5795934796333313, -0.8650151491165161, -0.2238779515028, 0.18155477941036224, 0.28360387682914734, 0.628791093826294, 0.3556267321109772, -0.4157516360282898, 0.10459940135478973, -0.36351272463798523, 0.287834495306015, -0.21040421724319458, -0.6902092695236206, -0.2738994061946869, 0.47518765926361084, -0.2744397819042206, 0.16310200095176697 ]
http://arxiv.org/abs/2403.10293v1
http://arxiv.org/pdf/2403.10293v1
MaiBaam: A Multi-Dialectal Bavarian Universal Dependency Treebank
2024-03-15T13:33:10
2024-03-15T13:33:10
Verena Blaschke, Barbara Kovačić, Siyao Peng, Hinrich Schütze, Barbara Plank
cs.CL
cs.CL
Despite the success of the Universal Dependencies (UD) project exemplified by its impressive language breadth, there is still a lack in `within-language breadth': most treebanks focus on standard languages. Even for German, the language with the most annotations in UD, so far no treebank exists for one of its language varieties spoken by over 10M people: Bavarian. To contribute to closing this gap, we present the first multi-dialect Bavarian treebank (MaiBaam) manually annotated with part-of-speech and syntactic dependency information in UD, covering multiple text genres (wiki, fiction, grammar examples, social, non-fiction). We highlight the morphosyntactic differences between the closely-related Bavarian and German and showcase the rich variability of speakers' orthographies. Our corpus includes 15k tokens, covering dialects from all Bavarian-speaking areas spanning three countries. We provide baseline parsing and POS tagging results, which are lower than results obtained on German and vary substantially between different graph-based parsers. To support further research on Bavarian syntax, we make our dataset, language-specific guidelines and code publicly available.
[ -0.6321749687194824, -0.6178902387619019, 0.4087401032447815, 0.4917410910129547, -0.14696067571640015, 0.05168503522872925, 0.049969907850027084, -0.38244470953941345, 0.6659103631973267, 0.4951765239238739, -0.2729617655277252, -0.8387963771820068, -0.6915152668952942, 0.12909577786922455, -0.2155889868736267, 0.7428023815155029, 0.14042510092258453, 0.292451411485672, 0.07356910407543182, -0.6156058311462402, -0.17243646085262299, -0.9557854533195496, -0.2353898286819458, -0.03407377749681473, 0.788415253162384, 0.4342036545276642, 0.5212401747703552, 0.35448920726776123, 0.2857550382614136, 0.2903979420661926, -0.3919214904308319, -0.080896757543087, 0.09706799685955048, 0.053152285516262054, 0.07035937905311584, -0.3617216646671295, -0.5642465353012085, -0.4263285994529724, 0.7629424333572388, 0.8348984718322754, -0.2272258698940277, 0.14479736983776093, -0.019175736233592033, 0.7260295748710632, -0.6982637643814087, 0.644733726978302, -0.5057657361030579, -0.3562401235103607, -0.7860560417175293, 0.12127295136451721, -0.3385497033596039, 0.04686707258224487, -0.05414848029613495, -0.1548967957496643, 0.10300788283348083, -0.2778272032737732, 1.0033317804336548, 0.007454019505530596, -0.8705949783325195, 0.23788639903068542, -0.44381457567214966, 0.31508520245552063, -0.63409823179245, 0.4262138307094574, 0.6119816899299622, 0.37064024806022644, -0.215781107544899, -0.40507620573043823, -0.11072610318660736, -0.08387170732021332, -0.2380724996328354, 0.07844877243041992, -0.287433385848999, 0.1567370742559433, -0.13489489257335663, 0.1319383829832077, -0.2963951826095581, 0.08272329717874527, -0.2629531919956207, -0.3270840048789978, 0.25574737787246704, 0.034377507865428925, 0.22288770973682404, -0.41827893257141113, 0.18387962877750397, 0.09134375303983688, -0.703919529914856, 0.08308585733175278, 0.5196775197982788, 0.5290814638137817, -0.2741798460483551, 0.3869718015193939, -0.3994252681732178, 0.8006978034973145, -0.2674047648906708, -0.13781651854515076, 0.2282038778066635, 0.04773780331015587, -0.160936176776886, 0.12681351602077484, 0.7399205565452576, -0.02296019159257412, 0.11554181575775146, -0.09918402135372162, 0.050954919308423996, -0.14699190855026245, -0.009575949050486088, -0.9997318387031555, -0.5876224040985107, 0.006392475683242083, -0.18728317320346832, 0.011824391782283783, 0.4155891537666321, -0.7427322864532471, -0.42123138904571533, -0.21899917721748352, -0.10757426917552948, -0.49126872420310974, -0.4130457937717438, -0.24183881282806396, 0.06329303234815598, 0.009769816882908344, 0.18464522063732147, -1.0595800876617432, -0.021532727405428886, 0.4977908432483673, 0.896939754486084, 0.11742731183767319, -0.35870760679244995, -0.3645092844963074, 0.5063803195953369, -0.2707440257072449, 0.9849603176116943, -0.5272883176803589, -0.4508562684059143, 0.12048274278640747, 0.15032243728637695, 0.209822416305542, -0.6079124808311462, 0.5321425795555115, -0.38164088129997253, 0.0765332356095314, -0.09677239507436752, -0.31293678283691406, -0.7792128920555115, -0.03828056529164314, -0.950483500957489, 0.6612672805786133, 0.5433596968650818, -0.9033455848693848, 0.3361065089702606, -0.39936745166778564, -0.9381234049797058, 0.024021098390221596, -0.46409109234809875, -0.17519041895866394, 0.18377210199832916, 0.2883322238922119, 0.5054450035095215, -0.15292204916477203, 0.6027869582176208, -0.48148444294929504, -0.051745008677244186, -0.21969440579414368, -0.5452281832695007, 1.5507915019989014, -0.2877425253391266, -0.27972280979156494, 0.20416103303432465, -1.202139973640442, -0.3480322062969208, 0.21373781561851501, -0.34276923537254333, -0.2380954921245575, 0.06922043859958649, 0.3501504361629486, -0.09667898714542389, 0.07433956861495972, -0.5010620951652527, 0.09557272493839264, -0.3866908550262451, 0.37692520022392273, 0.783096969127655, -0.14140547811985016, 0.023481158539652824, -0.13017629086971283, 0.5282607078552246, 0.39131492376327515, -0.11150076240301132, -0.3715263903141022, -0.5096520185470581, -0.8043602705001831, -0.6943366527557373, 0.57979816198349, 0.6044527888298035, 0.006564713548868895, 0.7244325876235962, -0.0534558966755867, -0.6481630802154541, -0.5973201990127563, 0.0923866331577301, 0.02709999866783619, 0.2904404103755951, 0.31566986441612244, -0.49862000346183777, -0.6120257377624512, -1.2698733806610107, 0.4123045802116394, -0.4850171208381653, 0.027977094054222107, -0.03481702879071236, 0.11227486282587051, -0.3517276644706726, 1.1001331806182861, -0.2857213616371155, -0.7306947708129883, -0.31272146105766296, 0.05765681341290474, 0.026313941925764084, 0.22732491791248322, 1.0307782888412476, -0.5620500445365906, -0.5036987662315369, 0.05340394377708435, -0.3277779817581177, -0.324899822473526, 0.26435795426368713, -0.23344236612319946, 0.5382099151611328, 0.15955933928489685, -0.6769511699676514, 0.19470182061195374, 1.0124276876449585, -0.27481353282928467, 0.48638466000556946, -0.011205870658159256, 0.00820525549352169, -1.265453815460205, 0.09957721829414368, -0.21964174509048462, -0.2241770327091217, -0.41298767924308777, -0.32045137882232666, 0.034626737236976624, 0.27439847588539124, -0.3921501934528351, 0.534967303276062, -0.34354570508003235, 0.22696124017238617, 0.04614004120230675, 0.024550650268793106, 0.13887947797775269, 0.5925154685974121, -0.1925419569015503, 0.3886031210422516, 0.8533037900924683, -0.45923012495040894, 0.4701409935951233, 0.2872842252254486, -0.24051901698112488, 0.6600785851478577, -0.296516478061676, -0.3188178241252899, -0.23767006397247314, 0.35433655977249146, -0.9486066699028015, -0.5321250557899475, 0.36445480585098267, -0.3709012269973755, 0.6100254654884338, -0.46509233117103577, -0.7565367221832275, 0.2013116180896759, 0.009771456941962242, 0.19781017303466797, 0.21742726862430573, -0.3756803572177887, 0.8080538511276245, 0.7789019346237183, -0.3462696075439453, -0.25143885612487793, -0.5873600840568542, 0.21414917707443237, -0.38476327061653137, -0.6400882601737976, 0.05092247202992439, 0.26138490438461304, -0.42644497752189636, -0.020637309178709984, -0.12405824661254883, -0.29848530888557434, 0.44766727089881897, 0.47269314527511597, 0.2733256220817566, -0.2831902801990509, 0.14476001262664795, 0.25763002038002014, -0.3374919891357422, -0.02226368710398674, -0.28746354579925537, 0.5347258448600769, -0.29090189933776855, -0.6193618774414062, -0.445453941822052, 0.5869814157485962, 0.27962881326675415, -0.40063050389289856, 0.7105462551116943, 0.4553852081298828, -0.3367765545845032, 0.15275323390960693, -0.41593629121780396, 0.07646608352661133, -0.35248544812202454, 0.37493282556533813, -0.6768085956573486, -1.0387226343154907, 0.304411381483078, -0.029124325141310692, 0.3113967478275299, 0.7452938556671143, 0.7096554040908813, -0.1972961276769638, 1.0357706546783447, 0.8655708432197571, -0.6219439506530762, 0.489380419254303, 0.09321598708629608, -0.0778917595744133, -0.13240459561347961, 0.024202503263950348, -0.7403010725975037, -0.00937415286898613, -0.8532360792160034, 0.09677685052156448, 0.1065140813589096, 0.40366998314857483, -0.08126132190227509, 0.5414804816246033, -0.08744394779205322, 0.045302242040634155, 0.6427406668663025, -0.41504809260368347, 0.4063330292701721, 0.05213461443781853, -0.16488908231258392, 0.13227196037769318, -0.5576817393302917, -0.606987714767456, 0.8415083289146423, -0.08371365815401077, 0.28025075793266296, 0.3169911503791809, 0.8843227028846741, 0.24300968647003174, 0.5652281045913696, -0.6793337464332581, 0.30866023898124695, -0.10103830695152283, -0.8120870590209961, -0.0709766373038292, -0.46522057056427, -1.2312260866165161, 0.4988184869289398, 0.1651812344789505, -1.029441475868225, -0.19255149364471436, 0.16012179851531982, -0.1942637860774994, 0.28903040289878845, -0.7185646891593933, 1.0021103620529175, -0.18466173112392426, 0.39065495133399963, -0.12555888295173645, -0.8333947658538818, 0.23902378976345062, -0.20281532406806946, 0.37182557582855225, -0.6502828001976013, 0.20490211248397827, 0.660481870174408, -0.21502594649791718, 0.9728341698646545, 0.002293322002515197, -0.04273039102554321, 0.4189837574958801, 0.2759189307689667, -0.13315504789352417, 0.04683327302336693, 0.1800149828195572, 0.7368682026863098, 0.5671277046203613, -0.6573672294616699, -0.2649529278278351, 0.337191104888916, -0.5636464953422546, -0.7507014870643616, -0.4643714427947998, -0.4221762418746948, -0.6383308172225952, 0.4357004761695862, 0.012377254664897919, 0.520592987537384, -0.5659031867980957, 0.11855418235063553, 0.06883008778095245, 0.10598049312829971, 0.3241688311100006, 0.5319353938102722, -0.6642082333564758, -0.5643094778060913, 0.8995729684829712, 0.16724850237369537, -0.026457127183675766, 0.4550882875919342, 0.028210334479808807, -0.0017755950102582574, -0.24289675056934357, -1.0168836116790771, 0.40421971678733826, -0.6005711555480957, -0.14919248223304749, -0.7445587515830994, -0.15889954566955566, -0.5230403542518616, -0.024914607405662537, -0.08304302394390106, -0.6802036166191101, -0.13617751002311707, -0.3631651997566223, 0.36987245082855225, 0.791847825050354, -0.20326434075832367, 0.6021928191184998, -1.2649117708206177, 0.23602859675884247, -0.00760264415293932, 0.1341048628091812, -0.2502443194389343, -0.29412612318992615, -0.3630388379096985, -0.05389640852808952, -0.37032318115234375, -1.266344428062439, 0.04808344319462776, 0.10603807121515274, 0.5290647745132446, 0.8707219362258911, -0.10043870657682419, 0.4400685429573059, -0.36372828483581543, 0.5505093336105347, 0.2597281336784363, -0.7664190530776978, 0.26814866065979004, -0.2953735291957855, 0.3246377408504486, 0.6901530623435974, 0.24149587750434875, -0.6442437767982483, -0.8861290812492371, -0.8357160687446594, -1.0183018445968628, 0.8053203225135803, -0.056425079703330994, 0.1436770111322403, 0.019008763134479523, -0.3447752892971039, 0.24848580360412598, 0.28240159153938293, -0.3569839894771576, -0.46715307235717773, 0.03500812500715256, -0.2838182747364044, -0.1883695274591446, -0.2708466947078705, -0.27608954906463623, -0.459325909614563, 0.8512336015701294, -0.11690686643123627, -0.11064913123846054, -0.3020244836807251, -0.16233398020267487, 0.06077861040830612, 0.4028218984603882, 0.04810316488146782, 0.7626266479492188, -0.07694399356842041, 0.4966587424278259, -0.06524955481290817, -0.14961734414100647, 0.1922987550497055, 0.5269426107406616, -0.5771685242652893, 0.5318096280097961, 0.37883079051971436, 0.7005810737609863, -0.001122967922128737, -0.7358110547065735, 0.16255372762680054, 0.3641887605190277, 0.0530671626329422, -0.22768235206604004, -0.16286931931972504, 0.8884415030479431, 0.17213356494903564, -0.006761501077562571, -0.14627490937709808, 0.12135891616344452, -0.4551601707935333, 0.33312320709228516, 0.3697180151939392, -0.5058928728103638, -0.37358975410461426, 0.46827682852745056, -0.05923805385828018, -0.13720251619815826, 0.49568304419517517, -0.2472049593925476, -0.5276328921318054, 0.5856358408927917, 0.19824254512786865, 0.8704375624656677, -0.20718801021575928, 0.4212903380393982, 0.32209983468055725, 0.22317877411842346, 0.3948283791542053, 0.23857323825359344, -0.1885143369436264, -0.4404328167438507, -0.10933379083871841, -0.8953540921211243, -0.3295389413833618, -0.26865649223327637, -0.545000433921814, 0.3603369891643524, -0.2769523859024048, -0.35476163029670715, 0.19008003175258636, -0.3721664249897003, -0.23076772689819336, -0.14609122276306152, 0.027345500886440277, 0.6854750514030457, -0.6416197419166565, 1.175349235534668, 0.8008002042770386, -0.6313967704772949, -0.5288245677947998, 0.1779012680053711, 0.3617734909057617, -0.7451083064079285, 0.2743583023548126, 0.5473995804786682, -0.19537626206874847, 0.012791678309440613, -0.035831913352012634, -0.555268406867981, 0.7055779099464417, 0.6276350617408752, -0.3338722586631775, 0.16972187161445618, 0.3359469175338745, 0.4311272203922272, -0.10374991595745087, 0.14797016978263855, 0.8318796157836914, 0.773522675037384, -0.061377618461847305, -0.5702580213546753, -0.28313952684402466, -0.024629175662994385, -0.11537747830152512, 0.6905590295791626, -0.7897870540618896, 0.4490220248699188, -0.05148230865597725, -0.4591904580593109, 0.037567391991615295, 0.9109089970588684, -0.005640923045575619, -0.02333008125424385, 0.4933544397354126, 0.6560657024383545, 0.60605388879776, -0.08010276407003403, 0.5505971312522888, -0.6064285635948181, 0.165470153093338, 1.2982620000839233, -0.05709221959114075, 0.7960335612297058, 0.4540284276008606, -0.48881471157073975, 0.5729836225509644, 0.8973535299301147, 0.04516642168164253, 0.1833343207836151, 0.1543826013803482, -0.39326781034469604, -0.14019232988357544, -0.362701416015625, -0.24353443086147308, 0.5325202941894531, 0.057834357023239136, -0.12773609161376953, -0.6282234191894531, -0.36339542269706726, 0.6933106780052185, -0.2513258755207062, 0.14054599404335022, 0.6840207576751709, 0.21844545006752014, -0.32810938358306885, 0.2830962538719177, 0.3174920678138733, 0.32687926292419434, -0.8711990714073181, 0.10495137423276901, -0.41650789976119995, 0.00047669882769696414, -0.26732468605041504, -0.5593535304069519, 0.3608802258968353, -0.016797194257378578, 0.04159777611494064, 0.1337435096502304, 0.14266198873519897, -0.4792330861091614, -0.6294301152229309, 0.7121338248252869, 0.8480824828147888, 0.19084873795509338, -0.3871309459209442, -0.20728835463523865, -0.38362574577331543, -0.0649595558643341, -0.3882378935813904, 0.4765087366104126, 0.625743567943573, -0.13617612421512604, 0.23628458380699158, 0.30955496430397034, 0.03728732466697693, 0.1700913906097412, 0.3983043432235718, 0.600652813911438, -0.6429756879806519, -0.32462409138679504, -1.0140345096588135, 0.4027748107910156, 0.28075429797172546, -0.34221795201301575, 0.8042393922805786, 0.6466740369796753, 0.9619690179824829, 0.3272668719291687, 0.8934907913208008, -0.46139007806777954, 0.033250387758016586, -0.1358705461025238, 0.6375807523727417, -0.8809814453125, -0.38106775283813477, -0.09505490213632584, -1.124083161354065, -0.5990771055221558, 0.15040378272533417, 0.3290678858757019, -0.12517249584197998, 0.5503612160682678, 0.6928232908248901, 0.0051712882705032825, 0.08390069007873535, 0.4807024598121643, 0.20145602524280548, 0.21754373610019684, 0.30040159821510315, 0.5988426208496094, 0.36216190457344055, 0.7346997857093811, -0.5393694639205933, -0.3558042049407959, -0.22125552594661713, -0.5908169150352478, -0.7155906558036804, -0.7808043956756592, 0.016347290948033333, -0.3770401179790497, -0.2536415755748749, 0.7891743183135986, 0.5799347162246704, -1.2046483755111694, -0.41135406494140625, 0.1202288568019867, 0.14175860583782196, -0.25244590640068054, -0.21202974021434784, 0.5489901900291443, -0.31183603405952454, -0.7002880573272705, 0.27986082434654236, 0.6750851273536682, 0.12995439767837524, -0.4202713370323181, 0.11943795531988144, -0.20853476226329803, 0.004700105637311935, 0.5173545479774475, 0.1965470016002655, -0.7430509924888611, -0.135162815451622, -0.40383589267730713, -0.42180460691452026, 0.6542492508888245, 0.7476899027824402, -0.2659599483013153, 0.4547337293624878, 0.45914971828460693, 0.7502405047416687, 0.37393972277641296, -0.18681102991104126, 0.22424086928367615, -0.464812308549881, 0.35759466886520386, 0.07723569869995117, 0.7866247296333313, 0.3178054988384247, 0.12925569713115692, 0.4813788831233978, 0.5559097528457642, -0.167718768119812, -0.29417484998703003, 0.48904383182525635, -1.1354495286941528, -0.287494033575058, 1.0418493747711182, -0.4325190484523773, -0.008183161728084087, -0.3724263608455658, -0.6577556133270264, 0.4156496822834015, -0.4793076515197754, 0.7395268678665161, 1.089381456375122, -0.06197719648480415, 0.026118282228708267, -0.4649312496185303, 0.1391221135854721, 0.3930840492248535, -1.0498971939086914, 0.11025135964155197, 1.001520037651062, 0.028023511171340942, 0.16411660611629486, 0.8451001644134521, -0.06388337165117264, -0.1360073983669281, 0.2433716356754303, 0.17340826988220215, -0.015052379108965397, -0.631625771522522, -0.3090934455394745, 0.38965916633605957, 0.27419835329055786, -0.1340184211730957 ]
http://arxiv.org/abs/2403.10581v2
http://arxiv.org/pdf/2403.10581v2
Large Language Model-informed ECG Dual Attention Network for Heart Failure Risk Prediction
2024-03-15T13:25:09
2024-03-22T16:00:24
Chen Chen, Lei Li, Marcel Beetz, Abhirup Banerjee, Ramneek Gupta, Vicente Grau
q-bio.QM
q-bio.QM, cs.AI, cs.CL, cs.LG, eess.SP
Heart failure (HF) poses a significant public health challenge, with a rising global mortality rate. Early detection and prevention of HF could significantly reduce its impact. We introduce a novel methodology for predicting HF risk using 12-lead electrocardiograms (ECGs). We present a novel, lightweight dual-attention ECG network designed to capture complex ECG features essential for early HF risk prediction, despite the notable imbalance between low and high-risk groups. This network incorporates a cross-lead attention module and twelve lead-specific temporal attention modules, focusing on cross-lead interactions and each lead's local dynamics. To further alleviate model overfitting, we leverage a large language model (LLM) with a public ECG-Report dataset for pretraining on an ECG-report alignment task. The network is then fine-tuned for HF risk prediction using two specific cohorts from the UK Biobank study, focusing on patients with hypertension (UKB-HYP) and those who have had a myocardial infarction (UKB-MI).The results reveal that LLM-informed pre-training substantially enhances HF risk prediction in these cohorts. The dual-attention design not only improves interpretability but also predictive accuracy, outperforming existing competitive methods with C-index scores of 0.6349 for UKB-HYP and 0.5805 for UKB-MI. This demonstrates our method's potential in advancing HF risk assessment with clinical complex ECG data.
[ -0.35441306233406067, -0.6110833287239075, 0.6355636119842529, 0.1924348920583725, -0.19520717859268188, -0.10142683982849121, -0.29336637258529663, -0.583950936794281, 0.1658175140619278, 0.3664710223674774, -0.8257552981376648, -0.5711819529533386, -0.5751453638076782, -0.041389960795640945, 0.050528548657894135, 0.9015690684318542, -0.014278803020715714, 0.3909352421760559, -0.04537506774067879, 0.2748371660709381, -0.5019233226776123, -0.4328555166721344, -0.5655453205108643, -0.49383345246315, 0.826493501663208, 0.5191659927368164, 0.3676784932613373, 0.2927372455596924, 0.9607359766960144, 0.1461895853281021, 0.03766847029328346, -0.06724449247121811, -0.43608444929122925, -0.011459235101938248, 0.21983683109283447, -0.3211876451969147, -0.8874838352203369, -0.2924376130104065, 0.5171991586685181, 0.574402391910553, 0.0963878482580185, 0.453315794467926, 0.07091069221496582, 0.9342525005340576, -0.5277988910675049, 0.17050157487392426, -0.14759713411331177, 0.17257475852966309, -0.15567754209041595, -0.30391865968704224, -0.4176272749900818, 0.1283443570137024, 0.4871070086956024, -0.18643556535243988, 0.0726170465350151, 0.4796102046966553, 0.3674493730068207, 0.617184579372406, -0.48585283756256104, 0.06708625704050064, -0.6661515831947327, 0.5271333456039429, -0.31542181968688965, 0.4347701072692871, 0.44541028141975403, 0.40469515323638916, 0.03196641430258751, -0.2783506512641907, -0.11789581179618835, -0.05437195673584938, -0.16455906629562378, 0.3720296025276184, 0.07322822511196136, 0.316718190908432, 0.18452385067939758, 0.50882488489151, -0.7778797149658203, -0.02673271857202053, -0.3964572846889496, -0.15391463041305542, 0.6805151104927063, -0.08526697009801865, 0.12094536423683167, 0.10545767843723297, -0.6731830835342407, 0.11048944294452667, -0.7632399201393127, -0.23280386626720428, 0.32993581891059875, 0.35241788625717163, -0.5914155840873718, 0.41223976016044617, 0.036695659160614014, 0.38679563999176025, 0.22403356432914734, 0.21558429300785065, 0.39102259278297424, -0.24122515320777893, -0.31340351700782776, 0.6355014443397522, 0.7810636162757874, 0.2233809232711792, 0.47116175293922424, 0.019116343930363655, 0.07056262344121933, 0.11080024391412735, 0.27173087000846863, -0.6127026081085205, -0.31050360202789307, 0.47064208984375, -0.5687469244003296, -0.3689364790916443, 0.07340000569820404, -0.754112958908081, -0.36754724383354187, -0.05802648887038231, 0.35110411047935486, -0.1174156591296196, -0.36170294880867004, 0.18161197006702423, 0.1723148673772812, -0.17348390817642212, -0.10433302819728851, -0.5003592371940613, 0.17854218184947968, 0.40957316756248474, 0.7388486862182617, -0.08814343810081482, -0.26947811245918274, -0.6788684129714966, 0.014326771721243858, 0.02586742490530014, 0.7979201078414917, 0.06293342262506485, -0.1846081167459488, -0.08960748463869095, 0.11489879339933395, 0.01097231823951006, -0.18518073856830597, 0.6746774911880493, -0.3477647304534912, -0.14482472836971283, -0.02668914943933487, -0.3151510953903198, -0.08293024450540543, 0.14324861764907837, -1.0203893184661865, 0.7615338563919067, -0.11697026342153549, -0.9781635999679565, 0.16849201917648315, -0.3590812087059021, -0.991693377494812, 0.0743865966796875, -0.0504729263484478, -0.9050966501235962, -0.11064134538173676, 0.3013313412666321, 0.7157133221626282, -0.45545142889022827, 0.25057879090309143, -0.6747705936431885, -0.15764378011226654, 0.12054511159658432, -0.38061460852622986, 0.1675480455160141, -0.3724382221698761, -0.33943358063697815, 0.4599505066871643, -0.9314266443252563, 0.10771461576223373, 0.06134893745183945, -0.1462687849998474, -0.13799282908439636, -0.16885752975940704, 0.17773890495300293, 0.5556004643440247, -0.0031375582329928875, -0.5359634160995483, -0.3240622878074646, -0.4337778389453888, 0.2999916076660156, 0.5937032103538513, 0.18155412375926971, 0.07531231641769409, -0.46576279401779175, 0.5074480772018433, -0.09101554751396179, 0.2986278533935547, -0.041452668607234955, -0.3908607065677643, -0.3300410509109497, -0.14579777419567108, 0.004115148913115263, 0.6500350832939148, 0.11898472905158997, 0.9664210081100464, -0.14571543037891388, -0.543097972869873, -0.5222789645195007, -0.06951513141393661, 0.503778874874115, 0.5257349014282227, 0.6047899127006531, -0.15624050796031952, -0.5960392951965332, -0.8658877015113831, 0.13243676722049713, -0.2471432238817215, 0.17975449562072754, 0.34387946128845215, 0.19210544228553772, -0.3458998501300812, 0.11428339034318924, -0.6774775981903076, -0.4042589068412781, -0.5204658508300781, -0.052370309829711914, 0.32984283566474915, 0.35739412903785706, 0.06927010416984558, -0.7260447144508362, -0.5748533606529236, 0.06256551295518875, -0.4173784852027893, 0.10019975900650024, -0.11766710132360458, -0.5339934229850769, -0.31792229413986206, 0.2221883088350296, -0.3552125096321106, 0.4783838093280792, 0.7892401814460754, -0.5326790809631348, 0.5940797328948975, -0.3035076856613159, -0.06693008542060852, -0.8452386856079102, 0.2511904537677765, 0.30084672570228577, -0.09429018944501877, -0.4839629530906677, -0.4834671914577484, 0.2852073907852173, -0.14405614137649536, -0.07131170481443405, 0.6903193593025208, -0.541948676109314, 0.08032681047916412, -0.23298479616641998, -0.3666830062866211, -0.15262678265571594, 0.3988057076931, 0.1374005675315857, 0.030858641490340233, 0.7386985421180725, -0.45541712641716003, 0.25309932231903076, 0.39075392484664917, -0.36777645349502563, 0.46588847041130066, -0.8001582622528076, 0.07938411831855774, -0.13592375814914703, 0.3537519872188568, -1.0475401878356934, -0.297419935464859, 0.12352367490530014, -0.3810168504714966, 0.5964311957359314, -0.03902418911457062, -0.04683762788772583, -0.9201012849807739, -0.06730086356401443, 0.6825568079948425, 0.28958702087402344, -0.3658778667449951, 0.4367433786392212, 0.27797526121139526, -0.413414865732193, -0.41952741146087646, -0.9368818998336792, -0.352155864238739, -0.049536652863025665, -0.750209629535675, 0.19116075336933136, -0.3482820391654968, 0.17612282931804657, -0.1007097139954567, -0.32092615962028503, -0.035820603370666504, 0.1894368976354599, 0.9231432676315308, 0.44115087389945984, -0.017944734543561935, 0.6096974015235901, -0.1981298178434372, -0.2427583932876587, 0.192905992269516, -0.35707226395606995, 0.6213700175285339, -0.08884187042713165, -0.501112699508667, -0.9344013929367065, 0.5800456404685974, 0.7541601657867432, -0.6941016316413879, 0.5973875522613525, 0.6110560894012451, -0.6170061230659485, -0.26241299510002136, -0.45529377460479736, -0.3232646882534027, -0.3476269543170929, 0.5792354345321655, 0.035345934331417084, -0.4256608188152313, 0.222905695438385, 0.16862940788269043, -0.2446039617061615, 0.3421330749988556, 0.6848849654197693, -0.21988463401794434, 0.8716699481010437, 0.7347791194915771, -0.17668837308883667, 0.46262234449386597, -0.24992257356643677, 0.15203994512557983, -0.7715864181518555, -0.37349411845207214, -0.17984828352928162, -0.6909773349761963, -0.10792779922485352, -0.30455562472343445, 0.5461031198501587, -0.15729224681854248, -0.38139158487319946, -0.12807676196098328, -0.3344537317752838, 0.059082165360450745, 0.28346315026283264, 0.5883718729019165, 0.24606451392173767, -0.05954495817422867, 0.04360654205083847, 0.19852900505065918, -0.6028113961219788, -0.12872743606567383, 1.7867088317871094, 0.37506741285324097, 0.7231951951980591, -0.2706332802772522, 0.713211178779602, 0.2867226004600525, 0.6951627731323242, -0.960662305355072, -0.015195805579423904, 0.11124411225318909, -0.6561282277107239, -0.4102429151535034, -0.4771152436733246, -0.7651430368423462, -0.25300464034080505, -0.6341338753700256, -0.1553260236978531, -0.103349469602108, 0.619979739189148, -0.8806341886520386, -0.0282097477465868, -0.7606592774391174, 1.0115132331848145, -0.6634196639060974, -0.1960584819316864, -0.3151930272579193, -0.8460366725921631, 0.3924088478088379, -0.35702452063560486, 0.415289968252182, -0.2174624353647232, 0.2070445865392685, 0.4162260890007019, -0.20698095858097076, 0.8139976859092712, 0.16286389529705048, 0.0763225108385086, 0.1759345680475235, -0.47857147455215454, 0.5799317955970764, 0.3780907690525055, -0.11485763639211655, 0.0858493521809578, -0.3253839612007141, -0.4579143226146698, -0.2831107974052429, 0.6905887722969055, -0.7245354056358337, -0.16082324087619781, -0.31219276785850525, -0.3025344908237457, -0.3990660011768341, 0.4787677228450775, 0.4200640022754669, 0.5718383193016052, -0.3012876808643341, -0.058232054114341736, 0.5625404715538025, 0.2289944440126419, 0.13458193838596344, -0.08479800075292587, 0.4102908670902252, -0.6103648543357849, 0.4084857404232025, -0.11554478853940964, 0.42583203315734863, 0.5702380537986755, 0.3609723746776581, -0.1667218655347824, -0.4221610426902771, -0.1656978279352188, 0.46258866786956787, -0.39530059695243835, -0.24539978802204132, -0.6436383128166199, -0.1253802478313446, -0.31821033358573914, -0.0142725994810462, -0.35062044858932495, 0.19981738924980164, -0.0736759752035141, -0.42584073543548584, 0.13122878968715668, 0.42973992228507996, 0.10851263254880905, 0.34913909435272217, -0.8839139938354492, 0.33801016211509705, 0.2904488742351532, 0.5295013785362244, 0.1468120962381363, -0.16372619569301605, -0.39720556139945984, -0.21948084235191345, -0.07174722105264664, -1.2294081449508667, 0.1746523678302765, 0.18897594511508942, 0.6069353818893433, 0.4847162365913391, 0.15750877559185028, 0.3189704716205597, -0.6573686599731445, 0.09396237134933472, 0.6243908405303955, -0.6128674745559692, 0.6585729718208313, -0.16884462535381317, 0.17003394663333893, 0.5061126351356506, 0.3375491201877594, -0.5454597473144531, 0.03444509580731392, -0.7504355311393738, -0.9301600456237793, 0.5432133674621582, 0.08370901644229889, -0.5666011571884155, -0.0414494052529335, 0.21410812437534332, 0.055030178278684616, 0.18110263347625732, -0.6204997301101685, -0.5415160655975342, 0.11831040680408478, -0.6639611721038818, -0.4310746490955353, -0.2163492739200592, -0.31209784746170044, -0.04136338457465172, 0.7272857427597046, -0.1566126048564911, 0.24286524951457977, 0.4897014796733856, -0.09845361113548279, -0.6665430665016174, 0.2596248984336853, 0.16196301579475403, 0.29160353541374207, -0.3510586619377136, 0.18816044926643372, -0.07099013775587082, -0.5947694778442383, 0.25913265347480774, 0.3820604085922241, 0.09817437082529068, -0.4050609767436981, 0.6470854878425598, 0.8524529337882996, 0.3595156669616699, -0.8114539980888367, 0.5936421155929565, -0.15724457800388336, -0.07419668883085251, -0.38057172298431396, -0.20881833136081696, 0.32492291927337646, 0.21990428864955902, 0.10741952806711197, 0.31078678369522095, -0.1520383208990097, -0.3076323866844177, 0.43128785490989685, 0.12662941217422485, -0.6419743895530701, -0.4428839087486267, 0.6131018400192261, 0.4708382487297058, -0.14393171668052673, 0.0851420909166336, 0.0383024737238884, -0.37628328800201416, 0.959289014339447, 0.47004926204681396, 0.9706012606620789, -0.4105917513370514, 0.17809997498989105, 0.5862204432487488, 0.3944709300994873, -0.3762373924255371, 0.5250310301780701, 0.17576147615909576, -0.49466830492019653, -0.44755083322525024, -0.5311508178710938, -0.23914451897144318, 0.12511974573135376, -0.8341489434242249, 0.46668583154678345, -0.6217142343521118, -0.319754958152771, -0.10854583233594894, 0.20216841995716095, -1.1157656908035278, 0.5913276076316833, 0.850088894367218, 0.7017088532447815, -0.9145388603210449, 0.531611979007721, 1.0320826768875122, -0.015529111959040165, -0.8678277134895325, 0.32276031374931335, 0.17174199223518372, -0.5666593909263611, 0.25227704644203186, 0.6236637234687805, 0.10344959795475006, 0.08809911459684372, 0.12022728472948074, -1.1546235084533691, 1.1898908615112305, 0.054368384182453156, -1.009216070175171, -0.04802331328392029, -0.4304656982421875, 0.24752193689346313, -0.263847291469574, 0.14653708040714264, 0.334993839263916, 0.5100578665733337, -0.11738231033086777, -0.7901237607002258, 0.1346030831336975, -0.14476646482944489, -0.5195510983467102, 0.4230329990386963, -0.9334940910339355, 0.6376073956489563, -0.6916210651397705, -0.2484886795282364, -0.2639709413051605, 0.5257387161254883, 0.19565130770206451, 0.3718491494655609, 0.4516185224056244, 0.5809837579727173, 0.99582839012146, 0.07833027839660645, 0.8912058472633362, -0.378330796957016, 0.38219743967056274, 1.2154676914215088, -0.27570053935050964, 0.7824894189834595, 0.23935022950172424, -0.19664444029331207, 0.36606675386428833, 0.6306604146957397, 0.09690291434526443, 0.5752577185630798, 0.21745729446411133, -0.07964736968278885, -0.5203304290771484, 0.3609727621078491, -0.4654563069343567, 0.04663832485675812, 0.49674880504608154, -0.46217724680900574, 0.040122438222169876, 0.07969970256090164, -0.3117431104183197, -0.12670038640499115, -0.6018201112747192, 0.3837589919567108, 0.20376980304718018, -0.4877154231071472, 0.44238919019699097, -0.42561960220336914, 0.4736645519733429, -0.375691294670105, 0.3482895493507385, 0.05304901301860809, 0.43814656138420105, -0.25238126516342163, -0.39540737867355347, 0.0049738455563783646, -0.24330350756645203, -0.6368330717086792, -0.035603903234004974, 0.6278464198112488, -0.6782976984977722, -0.573107898235321, 0.6979178786277771, 0.4488180875778198, -0.28488531708717346, -0.5433065891265869, -0.47955241799354553, -0.04042155295610428, -0.164788156747818, -0.4210496246814728, 0.20179937779903412, 0.30759572982788086, 0.18016575276851654, 0.5486327409744263, 0.4696539640426636, 0.5193977952003479, -0.13945837318897247, 0.10276255756616592, 0.5374644994735718, -0.8708438277244568, -0.86366206407547, -0.7003316283226013, 0.5653120279312134, 0.03187323361635208, -0.3374292552471161, 0.06358840316534042, 0.21014942228794098, 0.5957940220832825, 0.1289970874786377, 1.166347861289978, 0.4476476311683655, 0.5182426571846008, -0.41633340716362, 0.7282204627990723, -0.5646318793296814, -0.10484246164560318, -0.07999714463949203, -0.6033182740211487, -0.5164470076560974, 0.26515305042266846, -0.6152644753456116, -0.2493492215871811, 0.9793251752853394, 0.3113414943218231, -0.07502777129411697, -0.055058833211660385, 0.24787072837352753, 0.2884182929992676, 0.2527889609336853, 1.0192595720291138, 0.40253904461860657, -0.18555331230163574, 0.6241035461425781, -0.31213027238845825, -0.4128306806087494, -0.6349416971206665, -0.6353877186775208, -1.0862492322921753, -0.12470898777246475, -0.4098837673664093, -0.1711038202047348, -0.03607022762298584, 1.0492007732391357, 0.7631149888038635, -0.7158042192459106, 0.16731974482536316, -0.1340489387512207, 0.121210016310215, -0.30339813232421875, -0.0039515807293355465, 0.6869838833808899, -0.08615636825561523, -0.22646212577819824, 0.3660159707069397, 0.5329394936561584, 0.2565779685974121, -0.19866417348384857, -0.006910549942404032, 0.002799208974465728, -0.2794550955295563, 0.16175737977027893, 0.1819113940000534, -0.4937146306037903, -0.10073743015527725, -0.1378515511751175, -0.31017786264419556, 0.06614632904529572, 0.6838492751121521, -0.44776856899261475, 0.2629449963569641, 0.3718448281288147, 0.732883870601654, 0.14672839641571045, 0.07042244076728821, 0.5505751371383667, -0.5473681092262268, 0.15290674567222595, 0.4710323214530945, 0.5673905611038208, 0.496398389339447, -0.959013819694519, 0.022526374086737633, 0.3923851251602173, -0.6697321534156799, -0.5311599969863892, 0.3442144989967346, -0.9702648520469666, 0.07973777502775192, 1.1357163190841675, -0.06849285960197449, -0.3671547472476959, -0.15323077142238617, -0.14297467470169067, 0.40076884627342224, -0.2910040616989136, 0.7280343770980835, 0.7180379033088684, -0.12797752022743225, 0.10968736559152603, -0.5149437785148621, 0.45638835430145264, 0.6632278561592102, -0.8596138954162598, 0.1861773133277893, 0.4184989333152771, 0.16902317106723785, 0.03951052576303482, 0.4664067327976227, 0.179849773645401, 0.5406778454780579, -0.38305389881134033, 0.35369765758514404, -0.237308070063591, -0.6609034538269043, -0.42536672949790955, 0.13902905583381653, -0.2208397388458252, -0.24083802103996277 ]
http://arxiv.org/abs/2403.10281v1
http://arxiv.org/pdf/2403.10281v1
Team Trifecta at Factify5WQA: Setting the Standard in Fact Verification with Fine-Tuning
2024-03-15T13:24:28
2024-03-15T13:24:28
Shang-Hsuan Chiang, Ming-Chih Lo, Lin-Wei Chao, Wen-Chih Peng
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we present Pre-CoFactv3, a comprehensive framework comprised of Question Answering and Text Classification components for fact verification. Leveraging In-Context Learning, Fine-tuned Large Language Models (LLMs), and the FakeNet model, we address the challenges of fact verification. Our experiments explore diverse approaches, comparing different Pre-trained LLMs, introducing FakeNet, and implementing various ensemble methods. Notably, our team, Trifecta, secured first place in the AAAI-24 Factify 3.0 Workshop, surpassing the baseline accuracy by 103% and maintaining a 70% lead over the second competitor. This success underscores the efficacy of our approach and its potential contributions to advancing fact verification research.
[ -0.5394811630249023, -0.8342239856719971, 0.7511215209960938, 0.15200035274028778, -0.22015626728534698, 0.26246950030326843, 0.14693951606750488, -0.40376609563827515, -0.10145411640405655, 0.5144429206848145, -0.4893190264701843, -0.5633834004402161, -0.36204811930656433, 0.17014393210411072, -0.4640469253063202, 1.0431833267211914, -0.15088477730751038, -0.3175557851791382, -0.43990689516067505, -0.34575799107551575, -0.42038917541503906, -0.5321895480155945, -0.41203129291534424, -0.5551646947860718, 0.39151909947395325, 0.9353643655776978, 0.7454373836517334, 0.5026016235351562, 0.32952162623405457, 0.22718125581741333, 0.3580418825149536, 0.6964403986930847, -0.6192842125892639, -0.2572189271450043, -0.11387749761343002, -0.8154582381248474, -0.487179696559906, 0.32050561904907227, 0.24923764169216156, 0.3475740849971771, -0.23000289499759674, 0.4083661437034607, -0.17764897644519806, 0.30405014753341675, -0.7086452841758728, 0.056968435645103455, -0.5231583714485168, -0.1019548699259758, -0.30739158391952515, -0.465177983045578, -0.48626402020454407, -0.6519502997398376, 0.04171406850218773, -0.8965350985527039, 0.5952395796775818, 0.6342291235923767, 1.2468862533569336, 0.5785126686096191, -0.5080085396766663, -0.1149468645453453, -0.7514281868934631, 0.635871946811676, -0.43246662616729736, 0.38894763588905334, 0.24378718435764313, 0.1555968075990677, -0.5037214756011963, -0.9031537771224976, -0.8661460876464844, 0.21272645890712738, -0.05551326647400856, 0.05610913038253784, -0.12515871226787567, -0.07169771939516068, 0.270639568567276, 0.4569832980632782, -0.44143596291542053, 0.05543294548988342, -0.17987793684005737, -0.5424212217330933, 0.653931736946106, -0.0643988847732544, 0.4911446273326874, 0.09233874827623367, -0.322885662317276, 0.07921131700277328, -0.884096086025238, 0.05521073564887047, -0.0684356614947319, 0.09201028943061829, -0.1487235277891159, 0.36933550238609314, -0.33283042907714844, 0.6430652141571045, 0.28837302327156067, 0.023542221635580063, 0.22975917160511017, -0.6060795783996582, -0.45257502794265747, 0.34448349475860596, 0.607243537902832, 0.21768838167190552, -0.07751458138227463, -0.16905830800533295, 0.28364965319633484, -0.09947086870670319, 0.1497238427400589, -0.7733511924743652, -0.3016766905784607, 0.5200579762458801, -0.2915123403072357, -0.2703796625137329, 0.03996524214744568, -0.5350275039672852, -0.4477061927318573, -0.27376997470855713, 0.9119458794593811, -0.1872377246618271, -0.07275641709566116, 0.3663367033004761, -0.12439291924238205, 0.20171545445919037, 0.6052747964859009, -0.5752937197685242, 0.2963133156299591, 1.0017831325531006, 0.6648605465888977, -0.04070078581571579, -0.42575520277023315, -0.8011992573738098, 0.0017745158402249217, -0.5174137353897095, 0.6628184914588928, -0.07401061058044434, 0.29620397090911865, -0.2572875916957855, -0.310727596282959, 0.33465269207954407, -0.3826659917831421, 0.7233324646949768, -0.9681647419929504, 0.4216560423374176, -0.4006636440753937, -0.6939055323600769, -0.32570210099220276, 0.5675239562988281, -0.7863063216209412, 0.8976570963859558, -0.2223353236913681, -0.9138151407241821, 0.6544739603996277, -0.6061378717422485, -0.4924243688583374, 0.10609288513660431, 0.10235840827226639, -0.657889187335968, -0.10438989847898483, 0.19875690340995789, 0.7269716262817383, -0.33940935134887695, 0.4039866328239441, -0.42277565598487854, -0.36981338262557983, 0.1785818338394165, -0.25245097279548645, 0.7873249650001526, 0.09266733378171921, -0.35552868247032166, 0.1051105484366417, -1.0501865148544312, -0.12068919092416763, -0.11846950650215149, -0.24651940166950226, -0.3295837342739105, -0.1894455850124359, -0.5746906995773315, 0.15989865362644196, 0.24440765380859375, -0.7916268706321716, 0.0785531997680664, -0.24075698852539062, 0.2880017161369324, 0.19672136008739471, 0.3162061870098114, 0.11112447082996368, -0.3604189455509186, -0.029731789603829384, 0.18193021416664124, 0.3830452859401703, 0.32535797357559204, -0.4566951096057892, -1.0376501083374023, -0.31118568778038025, 0.5239855647087097, 0.5093860030174255, -1.1268891096115112, 0.22564378380775452, -0.19533199071884155, -0.5581677556037903, -0.2748034596443176, -0.043409187346696854, 0.04788307845592499, 0.6815360188484192, 0.6322265267372131, 0.18517041206359863, -0.9431152939796448, -0.990106999874115, -0.33888736367225647, -0.21433477103710175, 0.1210172101855278, -0.19400615990161896, 0.6867557764053345, 0.11146863549947739, 1.1446948051452637, -0.395153671503067, -0.22047102451324463, -0.0829925537109375, 0.6205500364303589, 0.34002241492271423, 0.24523475766181946, 0.3627219498157501, -0.9698784351348877, -0.265179842710495, -0.22622403502464294, -0.6146863102912903, 0.022731725126504898, 0.240393728017807, 0.17587243020534515, 0.1779327094554901, 0.665931224822998, -0.35603639483451843, 0.41452497243881226, 0.617440402507782, -0.43822672963142395, 0.3724926710128784, -0.13313636183738708, 0.6345576643943787, -1.177299976348877, -0.013895074836909771, -0.255474716424942, -0.7524721026420593, -0.71755450963974, -0.07732797414064407, 0.0546141043305397, 0.31656894087791443, -0.6505193710327148, 0.28773120045661926, -0.27160608768463135, 0.19449786841869354, -0.13830135762691498, -0.02362024039030075, 0.0039452374912798405, 0.367204874753952, -0.046313393861055374, 1.0304744243621826, 0.24956323206424713, -0.9647680521011353, 0.32199403643608093, 0.20919376611709595, -0.5208330750465393, 0.36284106969833374, -0.5745241641998291, -0.12069611996412277, 0.3102754056453705, 0.5039762258529663, -0.7097676396369934, -0.5207312107086182, 0.06288580596446991, -0.36394304037094116, -0.23716291785240173, 0.02899261936545372, -0.9068626761436462, -0.35307902097702026, -0.07966233044862747, 0.44457879662513733, 0.3698866367340088, -0.7548531889915466, 0.7141977548599243, 0.40761783719062805, 0.3593848943710327, -0.6229941844940186, -0.4070972204208374, 0.10163041204214096, -0.1257537603378296, -0.5265060067176819, 0.40830591320991516, -0.04603607580065727, -0.1964000165462494, -0.3253478407859802, 0.029262349009513855, -0.3440404236316681, 0.5532835721969604, 0.1892574429512024, 0.20907624065876007, -0.1796295940876007, 0.05949795991182327, -0.33117377758026123, 0.17752838134765625, 0.0001721229637041688, -0.15594594180583954, 0.2867145240306854, -0.3173394799232483, -0.3397503197193146, -0.42806336283683777, -0.0850493386387825, 0.5104222297668457, -0.15976370871067047, 0.6567308902740479, 0.6382443904876709, -0.5242241024971008, -0.20187799632549286, -0.6865045428276062, -0.03682544827461243, -0.40995028614997864, -0.01554480567574501, -0.2351798415184021, -1.4214247465133667, 0.4801248610019684, -0.10876806080341339, 0.05512359365820885, 0.5838644504547119, 0.4664607346057892, -0.05653424561023712, 0.9872019290924072, 0.7422888278961182, 0.3181338608264923, 0.047120217233896255, 0.05789051949977875, 0.3279706835746765, -0.36366480588912964, -0.2729613184928894, -0.6136784553527832, 0.047423772513866425, -0.6769916415214539, -0.4899693727493286, 0.7124049067497253, -0.11303640156984329, -0.25983789563179016, 0.314588725566864, 0.12478163093328476, 0.535207986831665, 0.6289304494857788, 0.1314043402671814, 0.5189324021339417, -0.3709135949611664, -0.04932573810219765, 0.42058753967285156, -0.892179012298584, -0.4139714241027832, 0.9223052859306335, 0.3376803398132324, 0.15860654413700104, 0.3145214021205902, 0.710502564907074, 0.3302256464958191, 0.2937970757484436, -0.49302938580513, 0.47208505868911743, -0.06833365559577942, -0.929288923740387, -0.555306077003479, -0.3141629099845886, -0.5543109774589539, -0.0733521357178688, -0.3568325638771057, -0.5152944326400757, 0.24341337382793427, 0.33320873975753784, -1.0226263999938965, 0.18029527366161346, -0.580531656742096, 0.6231634616851807, 0.042813900858163834, -0.7068225741386414, -0.4036047160625458, -0.5518286824226379, 0.6482029557228088, -0.06392324715852737, 0.4547462463378906, -0.06189063563942909, 0.023260558024048805, 0.6043508052825928, -0.49056506156921387, 0.8123019933700562, 0.12633776664733887, -0.2594749331474304, 0.279185950756073, 0.09613029658794403, 0.4502972960472107, 0.4858527183532715, -0.03860245272517204, 0.19418831169605255, 0.11020256578922272, -0.45882487297058105, -0.7391209006309509, 0.46905824542045593, -0.9079391956329346, -0.6745356917381287, -0.5849809050559998, -0.27562424540519714, -0.5709793567657471, 0.5226883292198181, 0.25593969225883484, 0.6007469892501831, -0.6075842380523682, 0.3765673041343689, 1.26295006275177, 0.05773182958364487, 0.5260898470878601, 0.7836859822273254, -0.20452319085597992, -0.3506471812725067, 0.9171333312988281, -0.003004108788445592, -0.0788009911775589, 0.7593340277671814, 0.12508194148540497, -0.13686954975128174, -0.7813953161239624, -0.2662920355796814, 0.01527219358831644, -0.5271469950675964, -0.2748810350894928, -0.6637953519821167, -0.19046615064144135, -0.27590256929397583, 0.17102374136447906, -0.6640750169754028, -0.40680256485939026, -0.4421958029270172, 0.09887030720710754, 0.13041986525058746, 1.0149028301239014, -0.23316751420497894, 0.2433321475982666, -0.7538689970970154, 0.6768345236778259, 0.647545576095581, 0.5623733401298523, -0.5892693996429443, -0.4447561204433441, -0.3463952839374542, 0.025147950276732445, -0.11959931999444962, -0.4280220866203308, -0.11981166899204254, 0.13738228380680084, 0.3600468635559082, 0.17266397178173065, 0.22416415810585022, 0.46091505885124207, -0.34195104241371155, 1.083020806312561, 0.09369324892759323, -1.1055018901824951, 0.4658809006214142, -0.29976263642311096, 0.16199131309986115, 0.7838883399963379, 0.3862776756286621, -0.3358442783355713, -0.24141617119312286, -1.016744613647461, -0.3911404609680176, 0.6764399409294128, 0.44027045369148254, -0.3639622926712036, 0.3417196273803711, 0.4209754467010498, 0.25162220001220703, 0.29120588302612305, -0.3639760911464691, -0.35549792647361755, -0.39876627922058105, -0.3479965627193451, -0.3245844542980194, -0.3680287003517151, -0.3968132734298706, -0.1180301383137703, 1.0338482856750488, -0.34422633051872253, -0.18640199303627014, 0.3765616714954376, -0.2926104962825775, 0.148103728890419, 0.28266528248786926, 0.9557083249092102, 0.907744824886322, -0.32442113757133484, 0.410110205411911, 0.40460941195487976, -0.4282475411891937, 0.31481584906578064, 0.06830163300037384, -0.2373422086238861, -0.21234089136123657, 0.6658013463020325, 0.7819139361381531, 0.2521272599697113, 0.05141333118081093, 0.7663851976394653, -0.5808289647102356, -0.42544785141944885, -0.038083892315626144, 0.3398623466491699, -0.16676320135593414, -0.06310725957155228, 0.4032941460609436, 0.2871879041194916, 0.40472620725631714, -0.48207947611808777, 0.4656203091144562, 0.0843425840139389, -0.312467098236084, -0.4604531228542328, 0.2628338932991028, 0.47744622826576233, 0.1087067499756813, 0.2983803451061249, -0.23141884803771973, -0.7915905117988586, 0.5594307780265808, 0.17917366325855255, 0.6679564714431763, 0.05253487825393677, 0.4181530177593231, 0.42295730113983154, 0.3394259512424469, -0.3989890217781067, 0.3655725419521332, 0.02844798006117344, -1.053971290588379, -0.48163267970085144, -0.5546941757202148, -0.6988570690155029, 0.35055258870124817, -0.2958718538284302, 0.6471205949783325, -0.42320331931114197, 0.21193455159664154, 0.13543425500392914, 0.45394495129585266, -0.7762395143508911, 0.7448868751525879, 0.21390730142593384, 1.0036683082580566, -1.0303468704223633, 0.5862653255462646, 0.8600223660469055, -0.41330358386039734, -1.0215516090393066, 0.12520812451839447, 0.017087191343307495, -0.6676482558250427, 0.34735262393951416, 0.02948644571006298, -0.37401828169822693, 0.2537250220775604, -1.1452943086624146, -1.060673475265503, 0.9822113513946533, 0.3853813409805298, -0.31678837537765503, 0.21702326834201813, 0.06280754506587982, 0.5962556600570679, -0.349806010723114, 0.2857045829296112, 0.692363977432251, 0.5578489303588867, 0.34837108850479126, -0.9325335025787354, 0.11699960380792618, 0.030535804107785225, -0.4573138952255249, -0.23444266617298126, -1.0273146629333496, 0.5598729848861694, -0.27199599146842957, -0.3780507743358612, -0.21738919615745544, 1.214139461517334, 0.36783620715141296, 0.43794289231300354, 0.6720186471939087, 0.5958139896392822, 1.1185991764068604, -0.18534089624881744, 0.8319558501243591, -0.13389666378498077, 0.1261497586965561, 1.4231621026992798, -0.1696813404560089, 0.6329635977745056, 0.4336552321910858, 0.008247829973697662, 0.7859313488006592, 0.8788822889328003, 0.16503146290779114, 0.21391555666923523, -0.06919759511947632, 0.018995007500052452, -0.8979951739311218, -0.3130502998828888, -0.13435868918895721, 0.786437451839447, 0.17196157574653625, 0.29612311720848083, -0.17258107662200928, -0.11587236076593399, 0.24463941156864166, -0.08570226281881332, -0.43325716257095337, 0.8281687498092651, -0.15584422647953033, -1.0880913734436035, 0.4394802153110504, -0.2066318392753601, 0.38623055815696716, -0.26068541407585144, -0.2573763132095337, -0.021392226219177246, 0.24163831770420074, -0.3948063552379608, -0.9223719835281372, 0.06930583715438843, -0.30153051018714905, -0.34550219774246216, -0.027966851368546486, 0.648021399974823, -0.3473573327064514, -0.1907128244638443, -0.22710050642490387, 0.24799443781375885, -0.17753295600414276, -0.024949243292212486, -0.30732327699661255, 0.1264718472957611, -0.048887502402067184, 0.15479356050491333, -0.29945680499076843, 0.5594911575317383, -0.27589553594589233, 0.6921371221542358, 0.4737756550312042, -0.10685446113348007, -0.09093160182237625, 0.11923980712890625, 0.6258238554000854, -0.25106069445610046, -0.5521641969680786, -0.803234338760376, 0.32693710923194885, -0.27065250277519226, -0.2708578407764435, 0.9194309115409851, 0.7338426113128662, 0.8034388422966003, 0.08182327449321747, 0.7954636216163635, -0.08183134347200394, 0.6332575082778931, -0.5470133423805237, 0.6791784167289734, -0.5630850195884705, -0.06266223639249802, 0.03721977770328522, -0.4056791365146637, -0.532550036907196, -0.26965606212615967, -0.16513065993785858, -0.3389574885368347, 0.8868206143379211, 0.6907732486724854, -0.3238622546195984, 0.4964545965194702, 0.28558534383773804, 0.532583475112915, 0.3227713108062744, 0.20968124270439148, 0.8615987300872803, -0.7868412733078003, 0.39230117201805115, -0.2037227600812912, -0.3230765759944916, -0.4396703541278839, -1.2819114923477173, -0.949579119682312, -0.6556136012077332, -0.6637903451919556, -0.33169326186180115, -0.07900286465883255, 0.930584192276001, 0.7853633165359497, -1.1831296682357788, 0.05735551565885544, -0.28296712040901184, 0.49758708477020264, -0.07911428064107895, -0.1565498262643814, 0.2279200404882431, -0.2754456400871277, -0.2869349420070648, 0.2917552590370178, 0.20222431421279907, 0.08703434467315674, -0.1287892758846283, 0.2214002162218094, -0.6934733986854553, 0.4124942123889923, 0.5102720260620117, 0.2513357400894165, -0.5457826852798462, -0.7325139045715332, -0.21186380088329315, -0.09802620857954025, 0.07208790630102158, 0.8170128464698792, -0.6932039260864258, 0.21971462666988373, 0.7123809456825256, 0.4991002678871155, 0.2071935534477234, 0.23755760490894318, 0.8876919150352478, -0.7100659608840942, -0.3191986680030823, -0.07219555228948593, 0.14310793578624725, 0.5361457467079163, -0.5093613862991333, 0.4205630421638489, 0.26029279828071594, -0.6259076595306396, -0.7488822937011719, 0.17409668862819672, -0.808169424533844, -0.07104642689228058, 0.8935405611991882, 0.07570680230855942, -0.6245564222335815, -0.662749707698822, 0.14524778723716736, 0.6803053021430969, -0.11867319047451019, 0.8197197318077087, 0.8914471864700317, -0.13229387998580933, 0.04294626787304878, -0.15376372635364532, 1.1111881732940674, 0.33735793828964233, -0.974063515663147, -0.04060318320989609, 0.39061975479125977, 0.5329335331916809, 0.3728698492050171, 0.5418938398361206, 0.21181432902812958, 0.4982927143573761, -0.45270422101020813, 0.3287869989871979, -0.17290368676185608, -0.6049970388412476, -0.007670490071177483, 0.5514440536499023, 0.02816237322986126, -0.043109629303216934 ]
http://arxiv.org/abs/2403.10275v1
http://arxiv.org/pdf/2403.10275v1
A Question on the Explainability of Large Language Models and the Word-Level Univariate First-Order Plausibility Assumption
2024-03-15T13:15:23
2024-03-15T13:15:23
Jeremie Bogaert, Francois-Xavier Standaert
cs.CL
cs.CL, cs.AI
The explanations of large language models have recently been shown to be sensitive to the randomness used for their training, creating a need to characterize this sensitivity. In this paper, we propose a characterization that questions the possibility to provide simple and informative explanations for such models. To this end, we give statistical definitions for the explanations' signal, noise and signal-to-noise ratio. We highlight that, in a typical case study where word-level univariate explanations are analyzed with first-order statistical tools, the explanations of simple feature-based models carry more signal and less noise than those of transformer ones. We then discuss the possibility to improve these results with alternative definitions of signal and noise that would capture more complex explanations and analysis methods, while also questioning the tradeoff with their plausibility for readers.
[ -0.3614906370639801, -0.756730318069458, 0.7632742524147034, 0.1878466159105301, -0.18747501075267792, -0.6872443556785583, -0.470500111579895, -0.20858527719974518, -0.3996957242488861, 0.1822441965341568, -0.6881595253944397, -0.2171594649553299, -0.7115052342414856, 0.01979593001306057, -1.0050331354141235, 0.9830710291862488, 0.04642440378665924, -0.004444196820259094, 0.055334076285362244, -0.09060122817754745, -0.18745315074920654, -0.3589865267276764, -0.592407763004303, -0.3415818214416504, 0.8179430365562439, -0.01594952493906021, 1.0970114469528198, 0.6334359049797058, 0.4554476737976074, 0.2822374105453491, -0.07155594974756241, -0.5511643290519714, -0.36630022525787354, -0.08298248052597046, -0.2433006316423416, -0.7447724342346191, -0.23702740669250488, -0.25077927112579346, 0.5856937170028687, 1.4887572526931763, 0.09517823904752731, 0.3256003260612488, 0.14006175100803375, 0.544795036315918, -0.20259688794612885, 0.1646936684846878, -0.607618510723114, -0.13177523016929626, -0.09056022018194199, -0.3210962116718292, -0.5349940657615662, -0.09883815050125122, 0.19276033341884613, -0.7140867114067078, 0.762845516204834, 0.1465369313955307, 0.8667023777961731, 0.0796603187918663, -0.31568101048469543, -0.2690631151199341, -1.135749340057373, 0.9037954211235046, -0.5601613521575928, 0.3404960334300995, 0.19357305765151978, 0.4197460412979126, -0.13595175743103027, -0.6359280943870544, -0.6248716711997986, -0.15216508507728577, -0.2990589439868927, -0.09067324548959732, -0.5617969632148743, 0.09949320554733276, 0.5375458598136902, 0.5895757079124451, -0.4253692328929901, 0.28369179368019104, -0.3323858678340912, -0.25716301798820496, 0.6837080121040344, 0.02521728165447712, 0.26118770241737366, 0.3401574194431305, -0.13792236149311066, 0.06284651905298233, -0.4927627146244049, 0.2691202461719513, 0.5492090582847595, 0.29246053099632263, -0.2722908854484558, 0.38528895378112793, -0.03097318671643734, 0.6628431677818298, -0.1314917951822281, -0.05869090184569359, -0.14376725256443024, -0.19944898784160614, -0.1888936161994934, -0.07402294874191284, 0.5833105444908142, 0.16714902222156525, 0.32830584049224854, -0.30314522981643677, -0.22301270067691803, 0.019492439925670624, -0.03673043102025986, -0.7981147170066833, -0.31768500804901123, 0.29859787225723267, -0.9950277805328369, -0.4434937536716461, 0.07487349957227707, -0.8020339012145996, -0.3633325397968292, -0.27364078164100647, 0.5320597887039185, -0.16119995713233948, -0.6039111614227295, 0.24736939370632172, -0.19907575845718384, 0.22551430761814117, 0.3391861617565155, -1.0788683891296387, 0.29672205448150635, 0.6304182410240173, 0.522542417049408, -0.11780416965484619, -0.3017408847808838, -0.053169071674346924, -0.13392473757266998, -0.4073815643787384, 0.7716785073280334, -0.2899503707885742, -0.018033793196082115, -0.09571915119886398, 0.04138312116265297, -0.10721234232187271, -0.2005205601453781, 0.3207221031188965, -0.33084166049957275, 0.27204450964927673, -0.39941832423210144, -0.27245745062828064, -0.3157367408275604, -0.6431040167808533, -0.5565235018730164, 0.6408025622367859, 0.27906742691993713, -0.8930075764656067, 0.7114680409431458, -0.5737468600273132, -0.5916735529899597, -0.2773567736148834, 0.05634686350822449, -0.26348087191581726, 0.5967117547988892, 0.06510453671216965, 0.27105170488357544, -0.3860666751861572, 0.24210375547409058, -0.5245673656463623, -0.5138340592384338, 0.8932099342346191, -1.0454314947128296, 0.963661253452301, 0.5127436518669128, -0.12870749831199646, -0.10883855819702148, -1.1254397630691528, -0.13024194538593292, 0.22394263744354248, -0.3305976092815399, -0.26964476704597473, 0.2610410451889038, -0.20185081660747528, -0.016100231558084488, 0.08015628904104233, -0.31608062982559204, -0.19593475759029388, -0.3709878921508789, 0.4485451281070709, 0.6326192021369934, -0.23646681010723114, 0.48906266689300537, -0.37407949566841125, 0.4615090787410736, 0.32575127482414246, 0.41164037585258484, -0.026255512610077858, -0.45081594586372375, -0.7125131487846375, -0.6080507636070251, 0.15558280050754547, 0.09140964597463608, -0.2389834076166153, -0.052611108869314194, -0.3621409237384796, -0.1730998307466507, -0.5157362818717957, 0.09994543343782425, 0.1557088941335678, 0.3240461051464081, -0.0018674187595024705, -0.13204547762870789, -0.5345302224159241, -0.9049487113952637, -0.6070722937583923, -0.20945553481578827, -0.47113147377967834, -0.05356873199343681, 0.3094576597213745, 0.31122100353240967, 0.8960482478141785, -0.1281614899635315, 0.4879884421825409, -0.5860758423805237, 0.23675976693630219, 0.582431435585022, -0.10542597621679306, 0.5210585594177246, -0.7026622295379639, -0.0714942142367363, -0.21163310110569, -0.5704767107963562, -0.36718761920928955, -0.06138715147972107, 0.23602665960788727, -0.14255782961845398, 0.4910166561603546, -0.5219780206680298, 0.5371984839439392, 0.32499390840530396, -0.1723872274160385, 0.3604939877986908, -0.37891849875450134, -0.28603261709213257, -0.875161349773407, 0.022241249680519104, 0.1613457351922989, 0.12328308820724487, -1.0033130645751953, 0.035712163895368576, -0.6577602028846741, -0.18170373141765594, -0.1429472267627716, 0.3569255769252777, -0.43367454409599304, -0.37412166595458984, -0.25247839093208313, 0.16956035792827606, -0.07590141147375107, 0.17405547201633453, -0.16349487006664276, 0.5108650326728821, 0.7206020355224609, -0.8430212140083313, -0.11219316720962524, 0.04425786808133125, -0.4245510995388031, 0.4412195682525635, -0.9403500556945801, -0.39694151282310486, -0.6933355927467346, 0.006947312504053116, -1.4546947479248047, -0.40382739901542664, -0.16768886148929596, -0.5505086183547974, 0.007947038859128952, -0.2741128206253052, -0.42787766456604004, -0.5527073740959167, 0.029856758192181587, 0.24245871603488922, 0.6250450611114502, -0.6265595555305481, 0.21058405935764313, 0.02692735195159912, -0.0091857323423028, -0.19289439916610718, -0.7316758036613464, -0.41060900688171387, -0.5451769828796387, -0.7097933888435364, -0.2447311282157898, -0.1543942093849182, -0.6557390093803406, -0.2625587582588196, -0.09569773823022842, -0.3458510637283325, 0.6809725761413574, 0.5520192980766296, 0.2586575746536255, -0.6785573363304138, 0.27311959862709045, -0.24371559917926788, -0.2980259954929352, 0.41984638571739197, 0.03800852224230766, 0.32842934131622314, 0.11684456467628479, -0.404680997133255, -0.4663776159286499, 0.33998915553092957, 0.5230243802070618, 0.1895376294851303, 0.7690812945365906, 0.44699767231941223, -0.14627809822559357, -0.3573490381240845, -0.0652814731001854, -0.4411878287792206, -0.40482297539711, 0.32633936405181885, -0.6669859886169434, -0.6436017751693726, 0.6331450343132019, 0.1333581656217575, 0.05339495465159416, 0.8008779883384705, 0.7511542439460754, -0.10250762850046158, 1.503772258758545, 0.5215649604797363, 0.10917932540178299, 0.19885767996311188, 0.4138570725917816, 0.8325720429420471, -0.14466512203216553, 0.15094171464443207, -0.8361772894859314, -0.19994699954986572, -0.7759127020835876, 0.018140291795134544, -0.03195047751069069, 0.15698306262493134, -0.4702012836933136, -0.006816937122493982, -0.46319612860679626, 0.33148935437202454, 0.5324597954750061, -0.23391254246234894, 0.5149722099304199, 0.363623708486557, 0.34056413173675537, 0.19079875946044922, -0.8923894762992859, -0.499158650636673, 0.8667380213737488, 0.8069479465484619, 1.1555379629135132, 0.1129508838057518, 0.10603604465723038, -0.2168809175491333, 0.3029650151729584, -0.6000993847846985, 0.34380051493644714, -0.3517758548259735, -0.8852066397666931, -0.5893070697784424, -0.35150957107543945, -1.0886632204055786, 0.38108575344085693, -0.2969723641872406, -1.1004157066345215, 0.2118188738822937, 0.34695515036582947, -0.4442678391933441, 0.2436899095773697, -0.8748649954795837, 0.7226782441139221, -0.0961008369922638, 0.2214299887418747, 0.10703787952661514, -0.3615640103816986, 0.6677845120429993, -0.09553126245737076, 0.7785395979881287, -0.09819372743368149, 0.3267287313938141, 0.6833694577217102, -0.6132459044456482, 0.8996869921684265, -0.06598203629255295, -0.12813246250152588, 0.26071950793266296, 0.2173670083284378, 0.24425779283046722, -0.2495340257883072, -0.09674201160669327, 0.21579958498477936, 0.23928214609622955, -0.37451183795928955, -0.6703240275382996, 0.3959179222583771, -0.8926263451576233, -0.4784575402736664, 0.06379807740449905, -0.9156086444854736, 0.07984562963247299, -0.0037507638335227966, 0.5466864705085754, 0.43415650725364685, 0.12841875851154327, 0.29845884442329407, 0.8590537905693054, -0.48091837763786316, 0.4718974530696869, 0.5911120176315308, -0.3583887815475464, 0.2875981032848358, 0.9643701910972595, 0.22251777350902557, 0.2478545755147934, 0.2722265422344208, 0.5756687521934509, -0.1214672401547432, -0.8029094338417053, 0.03171614930033684, 0.01151443924754858, -0.7031078338623047, 0.6095570921897888, -0.45516109466552734, -0.07738027721643448, 0.03317784145474434, -0.08301899582147598, -0.03088701330125332, -0.5608712434768677, -0.16172711551189423, -0.15370015799999237, 0.3821113109588623, 0.7726948857307434, 0.1633729338645935, 0.7443272471427917, -0.12409988790750504, 0.5912919044494629, 0.3568768799304962, 0.49192360043525696, 0.23637837171554565, -1.0658087730407715, -0.00171571911778301, 0.11990214139223099, 0.17399001121520996, -0.8229277729988098, 0.13351242244243622, 0.14059342443943024, 0.5363391041755676, 0.47706735134124756, 0.03605184704065323, 0.3847846984863281, -0.09761685878038406, 0.7381808757781982, 0.26899009943008423, -0.960132360458374, 0.4042856693267822, -0.5114414095878601, 0.038281407207250595, 0.21765275299549103, 0.2181454449892044, 0.07484474778175354, -0.6404520869255066, -0.7745122313499451, -0.7913401126861572, 0.5659312605857849, 0.10982978343963623, 0.15112338960170746, 0.2847868800163269, 0.3763951063156128, 0.4262281358242035, 0.12470030039548874, -0.89446622133255, -0.2772766053676605, -0.2066468447446823, -0.30503758788108826, -0.1818125993013382, -0.41260209679603577, -0.2875958979129791, -0.012928485870361328, 0.46128979325294495, -0.08242576569318771, 0.4766169488430023, -0.08775424212217331, -0.2854384481906891, -0.2068660408258438, 0.6091449856758118, 0.6242021918296814, 1.0813541412353516, -0.03522730991244316, 0.5018621683120728, -0.0017634890973567963, -0.27211323380470276, 0.026038536801934242, 0.11558887362480164, -0.3704100549221039, 0.23188680410385132, 0.7022395133972168, 1.0382001399993896, 0.21632610261440277, -0.2051241546869278, 0.8242185711860657, -0.04780411347746849, -0.3823464810848236, -0.2410956621170044, -0.015930047258734703, -0.07225808501243591, 0.07806818932294846, 0.3546064794063568, -0.254362553358078, 0.024104559794068336, -0.6202021837234497, -0.05327873304486275, 0.4620647728443146, -0.342731237411499, -0.5311898589134216, 0.8497816920280457, -0.16396941244602203, -0.09461522847414017, 0.1905299574136734, -0.042172450572252274, -0.07795929163694382, 0.7866983413696289, 0.48442521691322327, 0.5688607692718506, 0.0827975794672966, 0.3484799563884735, 0.13828180730342865, 0.49399563670158386, -0.07240105420351028, 0.37315165996551514, 0.37001940608024597, -0.7249839901924133, -0.5738386511802673, -0.7059600353240967, -0.1706549972295761, 0.3364572525024414, -0.8584050536155701, 0.05683597922325134, -0.3037959635257721, 0.001258229254744947, 0.8780031800270081, -0.604131817817688, -0.7113296985626221, 0.19852113723754883, -0.02506452053785324, 0.7846984267234802, -1.2257755994796753, 0.4740782082080841, 0.28364482522010803, -0.4841472804546356, -1.0831228494644165, 0.05541554093360901, -0.1606249064207077, -1.1397547721862793, 0.6352793574333191, -0.01787232980132103, 0.2550283968448639, -0.30957624316215515, -0.5061787962913513, -0.7988080382347107, 0.804573118686676, 0.6708261370658875, -0.5383340716362, 0.12008204311132431, 0.3851870596408844, 0.7402796745300293, -0.14266109466552734, 0.48640045523643494, 0.6712488532066345, 0.6282854080200195, -0.061698053032159805, -0.5539259910583496, 0.18997807800769806, 0.2258673757314682, 0.2949940860271454, 0.12289777398109436, -0.3942977488040924, 0.90413498878479, -0.48940548300743103, -0.16955403983592987, -0.03124392218887806, 0.7322161793708801, -0.25081703066825867, 0.5600636601448059, 0.7445492148399353, 0.06260267645120621, 0.6032634377479553, -0.33777737617492676, 1.408909797668457, -0.4467215836048126, 0.4796501398086548, 0.8446279168128967, 0.17945335805416107, 0.46206000447273254, 0.6222865581512451, -0.5719408988952637, 0.3771771490573883, 0.6256199479103088, -0.0991600826382637, 0.2876138389110565, 0.5920925736427307, -0.12702499330043793, -0.2671121656894684, 0.12161105871200562, -0.0861082598567009, 0.3512498438358307, 0.0037536572199314833, -0.6317856907844543, -0.49446067214012146, 0.18937556445598602, -0.12439930438995361, -0.24872523546218872, -0.5270009636878967, 0.5804439187049866, 0.19970618188381195, -0.4498179852962494, 0.5240231156349182, -0.2948065400123596, 0.20046661794185638, -0.4555204212665558, 0.3911283314228058, -0.16606608033180237, 0.29442182183265686, -0.3881547451019287, -0.7347024083137512, 0.31487151980400085, -0.11261895298957825, -0.685060977935791, -0.09469940513372421, 0.49029457569122314, -0.35295453667640686, -0.6001260280609131, -0.04597710072994232, 0.38040223717689514, 0.4446686804294586, 0.0076335277408361435, -0.29215943813323975, 0.04177577421069145, -0.09229152649641037, -0.39295437932014465, 0.5001458525657654, 0.7193048596382141, -0.07922934740781784, 0.7451391816139221, 0.5401208996772766, 0.11464613676071167, 0.2666650116443634, 0.33214670419692993, 0.2614883780479431, -0.2566629946231842, -0.22526200115680695, -0.7274251580238342, 0.42380520701408386, 0.26931488513946533, -0.29189908504486084, 0.6176179647445679, 0.14868927001953125, 0.3631468713283539, -0.26323193311691284, 1.0549812316894531, 0.02566135860979557, 0.6566009521484375, -0.45910096168518066, 0.4838770627975464, -0.27816012501716614, 0.46152809262275696, 0.08338772505521774, -0.8590145111083984, -0.06469979137182236, 0.5208436250686646, -0.27047422528266907, 0.082285575568676, 0.7997081875801086, 0.8813214898109436, -0.19634032249450684, 0.2909586727619171, 0.5993525981903076, 0.8263503909111023, -0.08945539593696594, 0.21565081179141998, 0.6795101761817932, -0.22638241946697235, 0.8361842632293701, -0.22334341704845428, -0.2926079034805298, -0.1836174577474594, -0.9297600388526917, -0.769045352935791, -0.5345892906188965, -0.44966626167297363, -0.5150249600410461, -0.08321955054998398, 0.3259045481681824, 0.47375988960266113, -1.0300636291503906, -0.041392210870981216, -0.1737166792154312, 0.3004533350467682, -0.33860597014427185, -0.21701198816299438, 0.37076687812805176, -0.23305608332157135, -0.3753722906112671, 0.19993191957473755, -0.06340757012367249, 0.11829104274511337, -0.25279664993286133, 0.3201734721660614, 0.6102438569068909, 0.41016218066215515, 0.6599153876304626, 0.42305830121040344, -0.8369925618171692, -0.6106030941009521, -0.2928990423679352, 0.15561191737651825, -0.18469953536987305, 0.9526419639587402, -0.06674683094024658, 0.22638797760009766, 0.427608847618103, 0.14165537059307098, 0.14964604377746582, -0.11762889474630356, 0.7125003337860107, -0.48289087414741516, 0.2632897198200226, -0.5279902815818787, 0.4551374614238739, 0.10542023926973343, -0.35172244906425476, 0.17087233066558838, 0.10754475742578506, -0.34043821692466736, -0.8962385654449463, 0.3250434100627899, -1.0654654502868652, -0.3337405025959015, 1.3114542961120605, -0.18390530347824097, -0.18122261762619019, -0.3277861773967743, 0.1162395104765892, 0.16536656022071838, -0.017964433878660202, 0.8288953900337219, 0.9787842631340027, 0.02280394546687603, -0.27644264698028564, -1.1035879850387573, 0.4549419581890106, 0.3719221353530884, -0.5373259782791138, 0.3944202959537506, 0.2561057507991791, 0.6265473365783691, -0.05584259703755379, 0.2719539701938629, -0.1989731341600418, 0.2367832064628601, 0.1292029768228531, -0.21617983281612396, 0.17543518543243408, -0.024319631978869438, -0.7384660840034485, 0.3479880094528198, 0.5297108292579651, -0.12903784215450287 ]
http://arxiv.org/abs/2403.10258v2
http://arxiv.org/pdf/2403.10258v2
Is Translation All You Need? A Study on Solving Multilingual Tasks with Large Language Models
2024-03-15T12:47:39
2024-06-20T11:09:42
Chaoqun Liu, Wenxuan Zhang, Yiran Zhao, Anh Tuan Luu, Lidong Bing
cs.CL
cs.CL
Large language models (LLMs) have demonstrated multilingual capabilities; yet, they are mostly English-centric due to the imbalanced training corpora. Existing works leverage this phenomenon to improve their multilingual performances through translation, primarily on natural language processing (NLP) tasks. This work extends the evaluation from NLP tasks to real user queries and from English-centric LLMs to non-English-centric LLMs. While translation into English can help improve the performance of multilingual NLP tasks for English-centric LLMs, it may not be optimal for all scenarios. For culture-related tasks that need deep language understanding, prompting in the native language tends to be more promising as it better captures the nuances of culture and language. Our experiments reveal varied behaviors among different LLMs and tasks in the multilingual context. Therefore, we advocate for more comprehensive multilingual evaluation and more efforts toward developing multilingual LLMs beyond English-centric ones.
[ -0.2585448920726776, -0.6514381766319275, 0.5724900364875793, 0.4671390950679779, -0.23403333127498627, 0.22777988016605377, -0.6209086179733276, -0.7447907328605652, 0.2705581486225128, 0.4120657444000244, -0.5777493715286255, -0.27161452174186707, -0.7208975553512573, 0.4905819296836853, -0.31211715936660767, 0.9443643689155579, -0.07072638720273972, 0.48138412833213806, -0.5050631761550903, -0.22043220698833466, -0.730525016784668, -0.5669947862625122, -0.8618155717849731, -0.5218204855918884, 0.6412898302078247, 0.46428990364074707, 0.40057843923568726, 0.1965320110321045, 0.5021993517875671, 0.2680976986885071, -0.13710594177246094, 0.4261437952518463, -0.45798587799072266, 0.16621221601963043, -0.29956763982772827, -0.47182220220565796, -0.3298115134239197, -0.012025808915495872, 0.40857911109924316, 0.8928343057632446, 0.04029921069741249, 0.45542463660240173, 0.11196429282426834, 0.5390121340751648, -0.508207380771637, 0.053445637226104736, -0.39935562014579773, 0.20240004360675812, -0.011485928669571877, -0.27132919430732727, -0.4506939947605133, -0.007087341044098139, -0.12772133946418762, -0.6000757813453674, -0.030465219169855118, 0.22744035720825195, 0.3360697627067566, 0.13900284469127655, -0.867698073387146, -0.2781631648540497, -0.9123898148536682, 0.9737939238548279, -0.6166501641273499, 0.5915979743003845, 0.2459113746881485, 0.12636993825435638, -0.09197653830051422, -0.4177720844745636, -0.41964980959892273, -0.3063287138938904, -0.12344302237033844, 0.1324152797460556, -0.005444849841296673, -0.20484444499015808, 0.210337296128273, 0.3410181701183319, -0.7070271372795105, 0.3336241841316223, -0.4618733525276184, -0.2829544246196747, 0.6450644731521606, 0.1859678328037262, 0.5015115141868591, -0.018602073192596436, -0.22514386475086212, -0.08070049434900284, -0.5231329798698425, 0.06485485285520554, 0.15685364603996277, 0.3630279004573822, -0.28166434168815613, 0.6130245923995972, 0.0306794922798872, 0.6719946265220642, -0.2589019238948822, -0.39156749844551086, 0.22824342548847198, -0.6717870831489563, 0.03364028409123421, -0.22229690849781036, 0.5785805583000183, 0.5850582122802734, 0.5464726686477661, -0.4576357901096344, -0.20469681918621063, -0.18744321167469025, 0.24951691925525665, -0.5937843322753906, 0.4526532292366028, 0.3149257004261017, -0.3859516680240631, 0.01293246354907751, -0.3674643337726593, -0.582238495349884, -0.29206201434135437, -0.5505903959274292, 0.20266970992088318, -0.19981978833675385, -0.4267739951610565, 0.18597762286663055, 0.06409160792827606, 0.3223664164543152, 0.28646916151046753, -0.7891277074813843, -0.01502997986972332, 0.7356969714164734, 0.92584228515625, -0.4231317937374115, -0.5989832282066345, -0.49920734763145447, 0.00020115716324653476, -0.43245217204093933, 0.635102391242981, -0.26632776856422424, -0.3839660584926605, 0.2779986560344696, 0.17972160875797272, -0.27814120054244995, -0.5145982503890991, 0.8411659598350525, -0.4898567497730255, 0.19750608503818512, -0.40639954805374146, -0.2737460732460022, -0.21286185085773468, 0.5599740743637085, -0.6198164820671082, 0.7285324931144714, -0.2579772472381592, -0.4141175150871277, 0.2952873706817627, -0.6029592156410217, -0.8783649206161499, 0.09214029461145401, 0.18457183241844177, 0.07067446410655975, 0.26726579666137695, 0.37412217259407043, 0.4433736205101013, -0.38172563910484314, 0.2515128552913666, -0.19622376561164856, -0.3459802567958832, 0.19307585060596466, -0.24437202513217926, 0.5715290307998657, 0.3753272593021393, -0.08991794288158417, 0.1825464814901352, -0.3982656002044678, 0.15670283138751984, 0.047073714435100555, -0.6217761039733887, -0.2376161515712738, 0.012947923503816128, 0.42199134826660156, 0.464218407869339, 0.5770362615585327, -0.5345145463943481, 0.23378325998783112, -0.4279070794582367, 0.3164399564266205, 0.4964680075645447, -0.33718404173851013, 0.7498080134391785, -0.15112003684043884, 0.8112444281578064, -0.0679856613278389, 0.020546123385429382, 0.002074922900646925, -0.5826520323753357, -0.5143164992332458, -0.07510516792535782, 0.10054010897874832, 0.6758951544761658, -0.837566077709198, 0.1070597916841507, -0.35078758001327515, -0.41793695092201233, -0.5982812643051147, 0.4946059286594391, 0.3901340663433075, 0.23845896124839783, 0.48765066266059875, -0.09653735160827637, -0.5648549199104309, -0.9774003028869629, -0.22636663913726807, -0.013327746652066708, -0.13732993602752686, 0.009978332556784153, 0.4425595700740814, -0.32407018542289734, 0.41164499521255493, -0.2145635336637497, -0.6111087203025818, -0.7692789435386658, -0.020267818123102188, 0.30875164270401, 0.1930495649576187, 0.5023812651634216, -0.8372035026550293, -0.6711365580558777, 0.46271076798439026, -0.675281822681427, -0.18677639961242676, -0.010147379711270332, -0.14320075511932373, 0.2971833646297455, 0.5467357635498047, -0.6977925300598145, -0.14669157564640045, 0.8589735627174377, -0.14891669154167175, 0.3000377118587494, -0.41509220004081726, 0.2509668171405792, -1.2156124114990234, 0.2782230079174042, 0.11264420300722122, -0.4596242904663086, -0.6763156652450562, 0.5082663893699646, 0.29255858063697815, -0.215213343501091, -0.43610188364982605, 0.6925349831581116, -0.47050008177757263, -0.10000216960906982, -0.3427537977695465, 0.22048933804035187, 0.19266584515571594, 0.16047914326190948, 0.11400196701288223, 0.8756170272827148, 0.4495528042316437, -0.49705439805984497, 0.5178610682487488, 0.257271945476532, -0.3831382095813751, 0.697114884853363, -0.4410765767097473, 0.048225514590740204, -0.21280083060264587, 0.08775357156991959, -0.8835999369621277, -0.21680836379528046, -0.06600471585988998, -0.31452393531799316, 0.492434024810791, 0.048470985144376755, -0.5475576519966125, -0.3640435039997101, -0.07757604122161865, 0.2299833595752716, 0.23210401833057404, -0.5443929433822632, 0.49192166328430176, 0.057733096182346344, -0.2967608571052551, -0.6316214203834534, -0.6368284821510315, 0.38501936197280884, -0.12786929309368134, -0.6572538018226624, 0.21349398791790009, -0.34418442845344543, -0.30419406294822693, -0.2782542109489441, 0.060042139142751694, 0.007800351828336716, 0.2654059827327728, -0.058601077646017075, 0.19393764436244965, -0.22479881346225739, 0.10886331647634506, -0.16466505825519562, -0.023195017129182816, 0.12621380388736725, -0.27548208832740784, 0.3996966779232025, -0.013578607700765133, -0.3992120921611786, -0.12277228385210037, 0.8430432677268982, 0.8934412002563477, -0.5800313353538513, 0.6489472389221191, 0.7348641157150269, -0.1908690482378006, -0.06550716608762741, -0.7280186414718628, -0.18928496539592743, -0.3180868625640869, 0.653740406036377, -0.39769500494003296, -0.9111719131469727, 0.40903690457344055, 0.09817162901163101, 0.29606738686561584, 0.2824549376964569, 0.6109305620193481, -0.2632901668548584, 1.2345610857009888, 0.6680129766464233, -0.29253870248794556, 0.15307340025901794, 0.10187830775976181, 0.5531676411628723, -0.7038406133651733, -0.20596392452716827, -0.3724862039089203, -0.5968869924545288, -0.39163681864738464, -0.3521597683429718, 0.43565481901168823, 0.014925436116755009, 0.30755576491355896, 0.17344264686107635, -0.287651002407074, 0.3950861990451813, 0.16880738735198975, -0.13690806925296783, 0.4626576900482178, 0.06551721692085266, 0.17809464037418365, -0.3258621096611023, -0.5305666923522949, -0.4017937481403351, 0.9502878785133362, 0.19223706424236298, 0.5182530879974365, 0.36339548230171204, 0.35914865136146545, 0.08215244859457016, 0.38575461506843567, -1.0612062215805054, 0.33565884828567505, -0.3315911293029785, -0.7432082891464233, -0.24521800875663757, -0.41054239869117737, -1.1207810640335083, 0.6220781207084656, -0.32608264684677124, -0.3688252866268158, -0.23661160469055176, -0.10128359496593475, -0.011602209880948067, 0.17549528181552887, -0.6257761716842651, 0.89655601978302, -0.7047096490859985, -0.2735300660133362, -0.38528817892074585, -0.32212966680526733, 0.3411027491092682, -0.3754020035266876, 0.702555775642395, -0.07422380149364471, -0.024975135922431946, 0.296251505613327, 0.22107075154781342, 0.7030776143074036, -0.019681410863995552, -0.28246787190437317, -0.10569608211517334, 0.16009365022182465, 0.31885817646980286, -0.0244198776781559, -0.3051781952381134, 0.04869756102561951, 0.16391031444072723, -0.4233732521533966, -0.6274697184562683, 0.7700241208076477, -0.6690223813056946, -0.7159548997879028, -0.3117920458316803, -0.8288739919662476, -0.2631973326206207, 0.11421798169612885, 0.23780670762062073, -0.04562108591198921, -0.19380195438861847, 0.23067641258239746, 0.3778282105922699, 0.042987652122974396, 0.4291718006134033, 0.763094961643219, -0.28228050470352173, 0.05662890151143074, 0.699320912361145, 0.07853826135396957, 0.17556306719779968, 0.4816550314426422, 0.1416494995355606, -0.4346429407596588, -0.5932765603065491, -0.8050738573074341, 0.31852987408638, -0.7175208926200867, -0.0008850688464008272, -0.4656619429588318, 0.18973027169704437, -0.5541996359825134, -0.1409239023923874, -0.3360207974910736, -0.05142582207918167, -0.24477697908878326, -0.15863311290740967, 0.0618332140147686, 0.6371368765830994, -0.03566509112715721, 0.020458031445741653, -0.8775151371955872, 0.28294724225997925, 0.1513839066028595, 0.05536270514130592, 0.027528928592801094, -0.7113053202629089, -0.4928141236305237, 0.06662917137145996, -0.28158262372016907, -0.7049511075019836, 0.6011125445365906, 0.32676368951797485, 0.5891427993774414, 0.14110246300697327, -0.2161344289779663, 0.7084382772445679, -0.6386404037475586, 0.7712224721908569, 0.2015436738729477, -0.7540238499641418, 0.14561259746551514, -0.08219877630472183, 0.38848093152046204, 0.5535996556282043, 0.7020927667617798, -0.9873983263969421, -0.11985801160335541, 0.030850330367684364, -0.9747940301895142, 0.46645981073379517, -0.15580974519252777, 0.4970320165157318, 0.057060692459344864, 0.3950427174568176, -0.17383386194705963, 0.2968561351299286, -1.0561851263046265, 0.041957173496484756, 0.28062689304351807, 0.08871758729219437, -0.5184041857719421, -0.22938419878482819, -0.14281392097473145, -0.1546558439731598, 0.4954226613044739, -0.30666592717170715, -0.23350107669830322, 0.04182209447026253, -0.3623828887939453, -0.21270586550235748, 0.544439435005188, 0.5116553902626038, 0.8917578458786011, 0.046680036932229996, -0.0610407255589962, 0.4224112629890442, -0.19933101534843445, 0.17048229277133942, -0.16689427196979523, 0.1064358800649643, -0.05700046941637993, 0.5919412970542908, 0.5654646158218384, 0.2637600004673004, -0.7508621215820312, 0.7562273144721985, -0.07396816462278366, 0.06662320345640182, -0.38974547386169434, -0.1827765703201294, 0.3576628863811493, 0.17943179607391357, 0.37943682074546814, -0.2714790105819702, 0.009646721184253693, -0.5991337895393372, -0.27451032400131226, 0.60157710313797, -0.1719188690185547, -0.15175925195217133, 0.604545533657074, 0.32855865359306335, -0.2508406937122345, 0.6177663207054138, -0.08965817838907242, -0.2757575809955597, 0.4318322241306305, 0.7484672665596008, 0.6535825133323669, -0.27516037225723267, 0.09098323434591293, 0.4360301196575165, 0.46474334597587585, -0.18939730525016785, 0.1859733760356903, 0.01309943851083517, -0.6845111846923828, -1.266811490058899, -0.7813313603401184, -0.43492481112480164, 0.20099417865276337, -0.7778469920158386, 0.30561092495918274, 0.019595609977841377, -0.0019616533536463976, -0.196965292096138, -0.21488797664642334, -0.6624946594238281, 0.1373833864927292, 0.2498386949300766, 0.838814914226532, -0.9346194267272949, 0.7530792355537415, 1.0635095834732056, -0.1278453767299652, -0.47091326117515564, -0.39192995429039, -0.110719695687294, -0.5249459147453308, 0.8170503973960876, 0.02722925879061222, -0.05770143121480942, -0.11632748693227768, -0.3498644232749939, -0.6832981109619141, 0.7202373147010803, 0.49976521730422974, -0.6308181881904602, -0.1793091595172882, 0.315030574798584, 0.6656718254089355, -0.39938560128211975, 0.250130832195282, 0.4648706614971161, 0.6526563763618469, -0.19689133763313293, -1.1158360242843628, -0.27945417165756226, -0.216841921210289, 0.05386799946427345, 0.12146935611963272, -0.4004814326763153, 0.6549202799797058, -0.17452867329120636, 0.06514198333024979, -0.007145766634494066, 0.48086997866630554, 0.04865569993853569, 0.3003634810447693, 0.5185681581497192, 0.3598654568195343, 0.5858288407325745, 0.007028708700090647, 1.3151735067367554, -0.37415340542793274, -0.015854405239224434, 0.9683982133865356, -0.5049086213111877, 1.0254848003387451, 0.730158805847168, -0.067689910531044, -0.043890632688999176, 0.7838090062141418, 0.17484340071678162, 0.10543946921825409, 0.07180313020944595, -0.2696719169616699, -0.6493207812309265, -0.28435608744621277, -0.20687635242938995, 0.5158733129501343, 0.34076476097106934, -0.08416817337274551, -0.11454053968191147, 0.4145553708076477, 0.08816399425268173, 0.3802192509174347, -0.2876136600971222, 0.6520314812660217, 0.26638251543045044, -0.9258285760879517, 0.5248541831970215, 0.35314294695854187, 0.9170594811439514, -0.8320766687393188, 0.1801673024892807, -0.3660354018211365, -0.12283868342638016, -0.38262122869491577, -0.7798866033554077, 0.42513197660446167, -0.026952313259243965, -0.3831046521663666, -0.6265891194343567, 0.42591437697410583, -0.5368382930755615, -0.5611963868141174, 0.809057891368866, 0.894382655620575, 0.3630380630493164, -0.2851831018924713, -0.37283700704574585, -0.016705622896552086, 0.055699948221445084, -0.21866504848003387, 0.544815719127655, 0.2250055968761444, -0.10488690435886383, 0.6821121573448181, 0.9387167096138, 0.3561851680278778, 0.10627741366624832, 0.14768072962760925, 0.4386269748210907, -0.4282468259334564, -0.2269316166639328, -0.8138140439987183, 0.30966994166374207, 0.11629724502563477, -0.2429499328136444, 0.8363868594169617, 0.5522093176841736, 1.0520566701889038, -0.33886370062828064, 0.7227879166603088, 0.04097094014286995, 0.37540847063064575, -0.48310133814811707, 0.5452234745025635, -1.0284878015518188, -0.03773551806807518, 0.06841528415679932, -1.1728652715682983, -0.2477857619524002, 0.3828465938568115, -0.3635503649711609, -0.31088143587112427, 0.6473106741905212, 0.5436111688613892, -0.06733990460634232, -0.14172124862670898, 0.720169186592102, 0.013400939293205738, 0.3062043786048889, 0.5400547981262207, 0.8428919911384583, -0.036469876766204834, 0.7167479395866394, -0.09393808990716934, -0.03198147192597389, -0.11427879333496094, -0.8956508040428162, -0.6969040036201477, -0.5089779496192932, -0.16416259109973907, -0.14478635787963867, -0.13526244461536407, 1.0329079627990723, 0.6550947427749634, -0.695663332939148, -0.622995913028717, 0.43279585242271423, 0.1096574068069458, -0.2874390184879303, -0.13302530348300934, -0.15994799137115479, -0.6775306463241577, -1.196869134902954, 0.743679940700531, 0.16832974553108215, -0.15549276769161224, -0.44745445251464844, 0.010894973762333393, -0.23237086832523346, -0.23901347815990448, 0.9890031218528748, 0.25194618105888367, -0.6294554471969604, -0.11634501069784164, 0.10871279984712601, -0.19012418389320374, -0.027759985998272896, 0.8837569952011108, -0.1862209290266037, 0.5162001252174377, 0.5953534245491028, 0.785802960395813, 0.4588316082954407, -0.3658657371997833, 0.7215844392776489, -0.7396202087402344, 0.33882465958595276, 0.23782514035701752, 0.49945303797721863, 0.5321441292762756, -0.3909936547279358, 0.5055670142173767, -0.10382288694381714, -0.6705488562583923, -0.6442295908927917, 0.29443639516830444, -0.7290363311767578, -0.21439482271671295, 1.3185173273086548, -0.07854553312063217, -0.1037350445985794, -0.08752188831567764, -0.2400369644165039, 0.10803304612636566, -0.10089325904846191, 0.33374133706092834, 0.9503220915794373, -0.09475338459014893, -0.2209768295288086, -1.0195839405059814, 0.12872053682804108, 0.6939546465873718, -0.6224767565727234, -0.1192392036318779, 0.39250704646110535, 0.137937530875206, 0.3883219361305237, 0.46876469254493713, 0.030857015401124954, 0.07199404388666153, -0.7161846160888672, 0.28458142280578613, 0.11317681521177292, -0.25216832756996155, -0.46564817428588867, 0.11067268997430801, 0.574394166469574, 0.11519557982683182 ]
http://arxiv.org/abs/2403.10239v1
http://arxiv.org/pdf/2403.10239v1
A Big Data Approach to Understand Sub-national Determinants of FDI in Africa
2024-03-15T12:12:54
2024-03-15T12:12:54
A. Fronzetti Colladon, R. Vestrelli, S. Bait, M. M. Schiraldi
cs.CL
cs.CL, econ.EM, physics.soc-ph, I.2.7; J.4; H.4.0
Various macroeconomic and institutional factors hinder FDI inflows, including corruption, trade openness, access to finance, and political instability. Existing research mostly focuses on country-level data, with limited exploration of firm-level data, especially in developing countries. Recognizing this gap, recent calls for research emphasize the need for qualitative data analysis to delve into FDI determinants, particularly at the regional level. This paper proposes a novel methodology, based on text mining and social network analysis, to get information from more than 167,000 online news articles to quantify regional-level (sub-national) attributes affecting FDI ownership in African companies. Our analysis extends information on obstacles to industrial development as mapped by the World Bank Enterprise Surveys. Findings suggest that regional (sub-national) structural and institutional characteristics can play an important role in determining foreign ownership.
[ -0.7979391813278198, -1.0308563709259033, 0.6288794875144958, 0.23164062201976776, -0.21994000673294067, 0.24371249973773956, 0.06296810507774353, -0.6048071980476379, 0.47762688994407654, 0.3578561544418335, -0.7148318290710449, -0.4995856285095215, -0.7129452228546143, 0.13295653462409973, -0.25334432721138, 0.9051411151885986, -0.3100240230560303, -0.49347737431526184, -0.004415599163621664, -0.08183547854423523, -0.05013219267129898, -0.7147212624549866, -0.720091700553894, 0.06001374498009682, 0.5336548089981079, 0.2876298725605011, 0.5675270557403564, 0.11880631744861603, 0.5045487880706787, 0.2550760805606842, -0.2809876799583435, 0.3342537581920624, -0.20610660314559937, -0.39648953080177307, -0.38353240489959717, -0.2571108043193817, -0.1901669204235077, -0.21277712285518646, 0.42959311604499817, 0.704750657081604, 0.04353898763656616, 0.1614290028810501, 0.03371264040470123, 0.6412375569343567, -0.4724476635456085, 0.48601484298706055, -0.2542991638183594, 0.04751013219356537, -0.5334279537200928, -0.10727628320455551, 0.293057918548584, -0.6756623387336731, 0.5269896388053894, -0.23146437108516693, 0.49339985847473145, -0.20523665845394135, 0.9029433131217957, -0.0735490471124649, -0.6739612817764282, -0.4178544580936432, -0.8115501999855042, 0.6787571907043457, -0.41058358550071716, 0.2871851921081543, 0.6227152347564697, 0.2117491513490677, -0.256191611289978, -0.46424177289009094, -0.3439708650112152, 0.21480989456176758, -0.17626801133155823, -0.4028069078922272, -0.17055116593837738, -0.26829275488853455, 0.13886266946792603, 0.7738887071609497, -0.057672422379255295, 0.0017547991592437029, -0.39060550928115845, -0.20487186312675476, 0.7014501094818115, 0.021759696304798126, 0.6884551048278809, 0.045417189598083496, -0.3347311019897461, -0.05877635255455971, -0.7772635221481323, 0.12494433671236038, 0.6230230331420898, 0.4185720682144165, -0.2678442597389221, 0.3581479489803314, -0.34797143936157227, 0.3836647570133209, 0.08186012506484985, -0.0640217512845993, 0.39055171608924866, -0.930066704750061, 0.2119365930557251, 0.32319405674934387, 0.4732156991958618, -0.0041980925016105175, 0.18969625234603882, -0.15673939883708954, -0.11179320514202118, -0.26055803894996643, 0.011784798465669155, -0.7921276092529297, 0.16919277608394623, 0.3764995336532593, -0.6613875031471252, -0.24610763788223267, 0.4311113655567169, -1.0584230422973633, -0.4873758852481842, -0.08899830281734467, 0.29891836643218994, -0.12202654033899307, -0.5112830996513367, -0.34673094749450684, -0.24632807075977325, 0.4001944661140442, -0.0021358428057283163, -0.8847150802612305, -0.036719441413879395, 0.7105978727340698, 1.168805718421936, 0.26447147130966187, -0.013118005357682705, 0.17600783705711365, 0.016288110986351967, -0.4927378296852112, 0.5190251469612122, -0.3296234607696533, -0.43001922965049744, 0.2510308027267456, 0.1814197301864624, 0.03298661857843399, -0.7116696834564209, -0.0939323902130127, -0.3294733166694641, -0.4408121407032013, -0.8081877827644348, 0.0014609998324885964, -0.4032062590122223, 0.15574538707733154, -0.9503875970840454, 0.5225494503974915, 0.43495720624923706, -0.6527901887893677, 1.0120033025741577, -0.6389554738998413, -0.6242418885231018, -0.20923219621181488, -0.3956206738948822, -0.2966530919075012, 0.30047765374183655, 0.5225046277046204, 0.4387378394603729, -0.42511290311813354, 0.5386619567871094, -0.23606105148792267, 0.02376299723982811, 0.13924719393253326, -0.20944401621818542, 0.8858329653739929, -0.10368628799915314, -0.47382956743240356, -0.14809539914131165, -0.8231163620948792, -0.536195695400238, -0.07920464128255844, 0.335848867893219, -0.6997102499008179, 0.10111472010612488, -0.5024923086166382, 0.44233977794647217, 0.23625856637954712, -1.0246009826660156, 0.3084450662136078, -0.2895650565624237, 0.3720671534538269, 0.5046889185905457, 0.9022446870803833, 0.38213515281677246, -0.1792188435792923, 0.5126378536224365, 0.6893458366394043, 0.17328712344169617, 0.3837987184524536, -0.19301128387451172, -0.6901328563690186, -0.20529566705226898, 0.721963107585907, 0.22632718086242676, -0.9683102369308472, -0.16016662120819092, 0.004532671999186277, -0.5189926624298096, -0.6800247430801392, 0.186533123254776, -0.12899233400821686, 0.11803854256868362, -0.050224095582962036, -0.29557445645332336, -0.5156953930854797, -1.1653755903244019, 0.23139971494674683, 0.22056816518306732, 0.12100443989038467, 0.2126719355583191, 0.8784657120704651, -0.38084089756011963, 1.0221143960952759, -0.5090155005455017, -0.842538595199585, -0.35982316732406616, 0.142057403922081, 0.41537901759147644, 0.26676300168037415, 0.9110320210456848, -0.8423259258270264, -0.08656744658946991, 0.33350783586502075, -0.5973808765411377, 0.08260626345872879, -0.18831686675548553, -0.25533100962638855, 0.23705486953258514, 0.5543960332870483, -0.39986833930015564, 0.8576687574386597, 0.22346742451190948, -0.23136518895626068, 0.04973805323243141, -0.047921113669872284, -0.05038916692137718, -0.7852197885513306, 0.05881496146321297, 0.4458712339401245, 0.3156581521034241, -0.3088073432445526, -0.12464476376771927, -0.28698715567588806, -0.14403440058231354, -0.27988722920417786, 0.34715336561203003, -0.43059206008911133, -0.3310753107070923, 0.15592849254608154, 0.05548820644617081, -0.071627177298069, 0.14737559854984283, -0.039280232042074203, 0.7731564044952393, 0.23214289546012878, -0.5139511227607727, 0.12149880081415176, 0.419773131608963, -0.8581377863883972, 0.67149418592453, -0.45127004384994507, -0.3693453371524811, -0.11976649612188339, 0.391546368598938, -0.7469710111618042, -0.021496905013918877, -0.30976471304893494, -0.27432548999786377, 0.059396278113126755, -0.02946333959698677, -0.052734989672899246, 0.016439372673630714, -0.08949384093284607, 0.0788891538977623, -0.1356283277273178, -0.40350615978240967, 0.45998066663742065, 0.3979349434375763, -0.6743356585502625, -0.41769444942474365, -0.7327570915222168, -0.012432157061994076, -0.14798851311206818, -0.7655391097068787, 0.14830449223518372, 0.5092301964759827, -0.4904007315635681, 0.21926073729991913, -0.1965816169977188, -0.3422762453556061, 0.29494065046310425, 0.0873682051897049, -0.11375405639410019, -0.22428444027900696, -0.49400001764297485, 0.21427284181118011, -0.2756136655807495, 0.4265233874320984, 0.11420569568872452, 0.43609482049942017, 0.27149972319602966, 0.23607471585273743, -0.7579989433288574, 0.4716302454471588, 0.4423772096633911, -0.6928579211235046, 1.1504095792770386, 0.5093927383422852, -0.4141220152378082, -0.6116982698440552, -0.07745013386011124, 0.09731431305408478, -0.4551371932029724, 0.23446768522262573, -0.25348424911499023, -0.2336348295211792, 0.6779524087905884, -0.05331665277481079, 0.09599609673023224, 0.6021729111671448, 0.602264940738678, 0.2682276666164398, 0.7175708413124084, 0.9397352337837219, -0.29679548740386963, 0.2161695808172226, -1.007606029510498, 0.9619063138961792, -0.6408953666687012, -0.5082252025604248, -0.6188818216323853, -0.6805863380432129, -0.4398537576198578, 0.05161571502685547, 0.27282625436782837, -0.09364037215709686, 0.011713255196809769, -0.16524505615234375, 0.17779803276062012, 0.06303027272224426, 0.45644062757492065, 0.15374226868152618, 0.13828282058238983, -0.01946886070072651, -0.26112625002861023, 0.00437656557187438, -0.4244837760925293, -0.2585274279117584, 0.6614980101585388, 0.3289905786514282, 0.6586678624153137, 0.35822436213493347, 0.9418153166770935, 0.5088563561439514, 0.18429884314537048, -0.5968262553215027, 0.03867713361978531, -0.17937912046909332, -0.5725208520889282, -0.17189769446849823, -0.32860976457595825, -0.8201951384544373, -0.2448129653930664, -0.27349114418029785, -0.7305103540420532, 1.207722783088684, -0.05888481065630913, -0.4367086887359619, 0.4517947733402252, -0.34893056750297546, 0.7116631865501404, -0.08918687701225281, -0.011101598851382732, 0.28393101692199707, -0.03374447301030159, 0.5570615530014038, -0.40327826142311096, 0.43965408205986023, 0.20076118409633636, 0.1798696666955948, 0.6349465250968933, -0.8780210614204407, 0.6669715046882629, -0.48120981454849243, -0.18491952121257782, 0.5906347036361694, 0.06453920155763626, 0.15338371694087982, 0.022459624335169792, 0.005795144475996494, 0.6111524105072021, -0.16821765899658203, -0.3659929633140564, -0.45356613397598267, 0.8728745579719543, -0.9264445900917053, -0.10021264851093292, -0.46644681692123413, -0.5061842799186707, -0.35882171988487244, -0.15419022738933563, 0.41163498163223267, 0.7957201600074768, -0.2556011974811554, 0.7099676132202148, 0.3984709084033966, -0.12642702460289001, 0.714813768863678, -0.09385284781455994, 0.09965728223323822, -0.24546021223068237, 0.850045382976532, 0.9786514639854431, 0.21802851557731628, 0.13086217641830444, -0.0042278822511434555, -0.287005215883255, -0.6342486143112183, -0.2708546817302704, 0.1590631902217865, -0.18387959897518158, -0.04128381237387657, -0.40632638335227966, -0.09942159056663513, -0.22333522140979767, -0.33378201723098755, -0.010798274539411068, -0.06649219989776611, -0.19458405673503876, -0.5028278231620789, 0.2583064138889313, 0.6041347980499268, -0.21081393957138062, 0.5548839569091797, -0.36369308829307556, 0.5470466613769531, -0.01648440770804882, 0.2713361978530884, 0.545132577419281, 0.25201818346977234, -0.5151126384735107, 0.3753175139427185, -0.23817206919193268, -0.6464818120002747, 0.4594463109970093, -0.060552097856998444, 0.4171349108219147, 0.7924869656562805, 0.3744899332523346, 0.6868239045143127, -0.12224116176366806, 0.7632713913917542, -0.3766188323497772, -0.727195680141449, 0.37084582448005676, -0.29348570108413696, -0.23774655163288116, 0.6449485421180725, 0.8711910247802734, -0.11488080769777298, 0.058961961418390274, -0.914246141910553, -1.294954538345337, 0.497001975774765, 0.1775892823934555, -0.3911036550998688, 0.06627234071493149, 0.18989087641239166, -0.024327091872692108, 0.37480035424232483, -0.17059743404388428, -0.09973810613155365, 0.2002839893102646, -0.17992651462554932, -0.3039480745792389, -0.26971161365509033, 0.1526256650686264, 0.054070353507995605, 0.8348754048347473, 0.34918102622032166, -0.02231532335281372, 0.7153928279876709, -0.34103015065193176, -0.04276719689369202, -0.04960516095161438, 0.12826889753341675, 1.2109514474868774, -0.29491207003593445, -0.39436593651771545, -0.49798861145973206, -0.4324548542499542, 0.2447739839553833, 0.04169204831123352, -0.5949525237083435, 0.24558456242084503, 0.36499857902526855, 0.5817468762397766, -0.528376042842865, 0.07523593306541443, 0.47570762038230896, 0.09041231870651245, -0.7199551463127136, -0.2738822400569916, -0.42371469736099243, -0.1613614410161972, 0.39828014373779297, 0.4608614146709442, -0.6793714761734009, -0.01567894220352173, -0.9209963083267212, 0.21249672770500183, 0.3052271604537964, -0.6766154170036316, -0.17000947892665863, 0.5174118280410767, 0.41032761335372925, -0.171519473195076, 0.6233013272285461, 0.06316934525966644, -0.4152396619319916, 1.1434687376022339, 0.2879558801651001, 0.6145880222320557, 0.009965813718736172, 0.4742561876773834, 0.02611742727458477, 0.8613405823707581, 0.2345900535583496, 0.7515666484832764, 0.20272578299045563, -0.506959080696106, -0.34234148263931274, -0.5940184593200684, -0.35003745555877686, 0.4463047385215759, -0.6693854928016663, -0.05070153623819351, -0.653014600276947, -0.22847120463848114, 0.4048437774181366, 0.35567760467529297, -0.8273812532424927, 0.32819533348083496, -0.21001999080181122, 0.6843596696853638, -1.1741083860397339, 0.4011887311935425, 0.2579539120197296, -0.6683345437049866, -0.3958818018436432, -0.06243119761347771, 0.13741199672222137, -0.2226010262966156, 0.4851166307926178, 0.026765329763293266, 0.22520624101161957, -0.3547578454017639, -0.19941991567611694, -0.6956450343132019, 0.8054419159889221, -0.3100017011165619, -0.5517211556434631, 0.3496928811073303, 0.330512672662735, 0.16911429166793823, -0.3664453625679016, -0.2427726536989212, 1.0148974657058716, 0.5078561902046204, -0.47955751419067383, -0.3161788284778595, -0.11779090017080307, 0.08871082216501236, 0.09110960364341736, 0.9909837245941162, -0.8216037750244141, 0.772735059261322, -0.01309079397469759, 0.06785144656896591, -0.2975311577320099, 0.7326026558876038, -0.12845006585121155, 0.7368003129959106, 0.5902130007743835, 0.25301074981689453, 0.3913514316082001, -0.38957422971725464, 0.8737245202064514, -0.3636564612388611, 0.23602958023548126, 0.5370987057685852, -0.4322243332862854, 0.5004485845565796, 0.405012309551239, -0.18733613193035126, 0.6422191262245178, 0.5777011513710022, -0.05278460681438446, 0.44766250252723694, 0.14291642606258392, -0.041560616344213486, 0.3729782998561859, -0.35211342573165894, -0.14977890253067017, 0.6651785969734192, 0.6110545992851257, -0.476967453956604, -0.22784404456615448, -0.16897760331630707, 0.05098962038755417, -0.14159397780895233, -0.5469388365745544, 0.5737959146499634, 0.13437440991401672, -0.09583226591348648, -0.07119323313236237, -0.09535373002290726, 0.5075504183769226, -0.8030720353126526, -0.1659332662820816, -0.6753364205360413, 0.34288734197616577, -0.4780554473400116, -0.5994476675987244, 0.807365357875824, 0.13469575345516205, -0.2867864966392517, 0.07813844084739685, 0.5057521462440491, -0.23738843202590942, -0.5595443248748779, 0.1856178492307663, 0.6792197227478027, -0.03230948746204376, -0.10760278254747391, -0.09995195269584656, -0.08651754260063171, 0.26014161109924316, -0.07931983470916748, 0.4126162528991699, 0.9134592413902283, -0.5279558897018433, 0.22420325875282288, 0.6289730072021484, 0.11794563382863998, -0.3070596158504486, -0.06522279232740402, 0.45094171166419983, -0.9455394148826599, -0.5976197719573975, -0.741318941116333, 0.2064419686794281, -0.3131766617298126, -0.5760628581047058, 0.8111491799354553, 0.43850016593933105, 0.9330354928970337, 0.19969385862350464, 0.7965381145477295, -0.49974381923675537, 0.2998155951499939, -0.16804249584674835, 0.8617021441459656, -0.29269880056381226, -0.2885427176952362, -0.5517736077308655, -1.0771535634994507, 0.07691933959722519, 0.6387697458267212, -0.3938843905925751, -0.2049832046031952, 0.2889343202114105, 0.7802512645721436, -0.26060500741004944, 0.03406804800033569, -0.19208389520645142, 0.3792717158794403, 0.409487247467041, 0.08012204617261887, 0.5263802409172058, -0.15623949468135834, 0.25009265542030334, -0.9459185600280762, -0.20518818497657776, -0.1762658953666687, -0.9729188680648804, -0.5660097002983093, -0.4246729910373688, -0.40386202931404114, -0.32853177189826965, -0.27214154601097107, 0.41469621658325195, 0.31781864166259766, -0.7585338950157166, -0.2754669487476349, 0.407632440328598, 0.3460804522037506, -0.3991142511367798, -0.2801972031593323, 0.6799413561820984, 0.20801688730716705, -0.4270181953907013, -0.016575533896684647, 0.058991994708776474, -0.01780424825847149, -0.48164767026901245, 0.7204527854919434, -0.700224757194519, 0.29192981123924255, 0.716027021408081, 0.20261052250862122, -0.03149709850549698, 0.0699559673666954, -0.5162637829780579, 0.3682391047477722, -0.411053866147995, 0.8875278830528259, -0.45325055718421936, -0.018813930451869965, 0.41402846574783325, 0.7683058381080627, 0.29626166820526123, 0.2667054533958435, 0.6513734459877014, -0.7275127172470093, 0.49798521399497986, -0.17187663912773132, 0.1803387999534607, 0.11871486902236938, -0.49084168672561646, 0.5977253317832947, 0.039206624031066895, -0.5025851130485535, -0.5804047584533691, -0.2242165058851242, -0.6089903116226196, -0.053176332265138626, 0.8091230392456055, -0.014219453558325768, -0.5776028037071228, -0.3656880557537079, -0.2168755680322647, -0.1044178381562233, -0.5461616516113281, 0.5118870735168457, 0.8284123539924622, -0.02745712548494339, 0.19472326338291168, -0.6899080872535706, 0.38829317688941956, -0.4384884536266327, -0.48767581582069397, -0.07104486227035522, 0.6127786636352539, 0.19714367389678955, 0.08338639885187149, 0.41313669085502625, -0.09408770501613617, -0.1540875881910324, 0.04765235632658005, -0.1633557379245758, 0.08457562327384949, -0.6874260306358337, -0.12576158344745636, 0.3004583716392517, -0.24912285804748535, -0.4332417845726013 ]
http://arxiv.org/abs/2403.10237v1
http://arxiv.org/pdf/2403.10237v1
A comprehensive study on Frequent Pattern Mining and Clustering categories for topic detection in Persian text stream
2024-03-15T12:08:58
2024-03-15T12:08:58
Elnaz Zafarani-Moattar, Mohammad Reza Kangavari, Amir Masoud Rahmani
cs.CL
cs.CL
Topic detection is a complex process and depends on language because it somehow needs to analyze text. There have been few studies on topic detection in Persian, and the existing algorithms are not remarkable. Therefore, we aimed to study topic detection in Persian. The objectives of this study are: 1) to conduct an extensive study on the best algorithms for topic detection, 2) to identify necessary adaptations to make these algorithms suitable for the Persian language, and 3) to evaluate their performance on Persian social network texts. To achieve these objectives, we have formulated two research questions: First, considering the lack of research in Persian, what modifications should be made to existing frameworks, especially those developed in English, to make them compatible with Persian? Second, how do these algorithms perform, and which one is superior? There are various topic detection methods that can be categorized into different categories. Frequent pattern and clustering are selected for this research, and a hybrid of both is proposed as a new category. Then, ten methods from these three categories are selected. All of them are re-implemented from scratch, changed, and adapted with Persian. These ten methods encompass different types of topic detection methods and have shown good performance in English. The text of Persian social network posts is used as the dataset. Additionally, a new multiclass evaluation criterion, called FS, is used in this paper for the first time in the field of topic detection. Approximately 1.4 billion tokens are processed during experiments. The results indicate that if we are searching for keyword-topics that are easily understandable by humans, the hybrid category is better. However, if the aim is to cluster posts for further analysis, the frequent pattern category is more suitable.
[ -0.5499219298362732, -1.0328764915466309, 0.7343530058860779, 0.37286093831062317, -0.8192917704582214, 0.525505542755127, -0.41106078028678894, -0.18968817591667175, 0.817003071308136, 0.2993100583553314, -0.36090463399887085, -0.6472223997116089, -0.7369067668914795, 0.156956747174263, -0.7438294291496277, 0.8011140823364258, -0.0075567374005913734, -0.2056165337562561, 0.2386033833026886, 0.0021398942917585373, -0.6329872608184814, -0.5737100839614868, -0.8867905735969543, 0.18969663977622986, 0.43225160241127014, 0.7300139665603638, 0.21064093708992004, 0.37873661518096924, 0.5282783508300781, 0.3340839445590973, -0.41526201367378235, 0.2851598858833313, -0.4386180341243744, 0.22534018754959106, -0.3635580837726593, -0.25356826186180115, -0.11991080641746521, -0.26082950830459595, 0.9922114014625549, 0.5178231000900269, -0.2720218598842621, 0.0018579695606604218, 0.1393168568611145, 0.8639681935310364, -0.430012583732605, -0.28769996762275696, -0.5704942941665649, -0.09097655862569809, -0.865065336227417, -0.37530672550201416, -0.2846009433269501, -0.11202867329120636, -0.339028537273407, -0.28127533197402954, 0.2972377836704254, 0.29882144927978516, 0.6949180960655212, -0.1921359896659851, -0.6141549944877625, -0.18735092878341675, -0.7083005905151367, 1.0080152750015259, -0.176154226064682, 0.11735676974058151, 0.32494986057281494, 0.08887732774019241, -0.41634830832481384, -0.5699175596237183, -0.4751872420310974, 0.13258422911167145, -0.1421116292476654, -0.07071027159690857, -0.34143325686454773, -0.4524013102054596, 0.00807781983166933, 0.6531080007553101, -1.1203006505966187, -0.3899551033973694, -0.11251521855592728, -0.06821054965257645, 0.6506955027580261, 0.19357211887836456, 0.6053310632705688, -0.2034391611814499, -0.05443987995386124, 0.18237806856632233, -0.2884703278541565, 0.009520888328552246, 0.27436134219169617, 0.06862494349479675, -0.021868640556931496, 0.27995094656944275, -0.555077075958252, 0.6490467190742493, 0.1589210331439972, 0.08585076779127121, 0.12465538829565048, -0.6019337177276611, 0.4669954478740692, 0.19479088485240936, 0.516668975353241, 0.08372334390878677, 0.13926061987876892, -0.0019929311238229275, 0.0874687060713768, 0.14663326740264893, 0.23643971979618073, -0.5101741552352905, -0.03720303997397423, 0.14758579432964325, -1.0789769887924194, -0.34467068314552307, 0.29298731684684753, -0.5384348034858704, -0.31140434741973877, -0.041348110884428024, -0.004590329714119434, -0.3708559572696686, -0.6599776744842529, 0.24338605999946594, -0.20030945539474487, 0.13938936591148376, 0.2849026620388031, -0.6977503895759583, 0.6566718816757202, 1.0048185586929321, 1.157576560974121, -0.6971745491027832, -0.12262336909770966, -0.27249079942703247, -0.05760525166988373, -0.5502132177352905, 1.3258181810379028, -0.5395516157150269, -0.3742941617965698, -0.34110355377197266, 0.220563605427742, -0.1918996274471283, -0.10690097510814667, 0.7026025056838989, -0.44237470626831055, 0.11201854050159454, -0.06318630278110504, -0.5373950004577637, -0.28373491764068604, 0.06518957763910294, -0.5167349576950073, 0.9110122323036194, -0.4220185875892639, -0.9547000527381897, 0.26383939385414124, -0.6759852766990662, -0.531059741973877, 0.180561825633049, 0.017203286290168762, -0.32020843029022217, 0.041861966252326965, -0.11081630736589432, 0.5366466641426086, -0.3591102063655853, 0.6854734420776367, 0.10827270150184631, -0.6930431723594666, 0.45138081908226013, -0.1878342479467392, 0.2771713435649872, 0.5554686188697815, -0.3457011878490448, 0.49986016750335693, -0.5978028774261475, -0.03276119753718376, 0.08903396874666214, 0.21671542525291443, -0.7786821126937866, 0.6902551651000977, 0.30998286604881287, -0.011489758267998695, 0.16577692329883575, -0.4707941710948944, -0.23351988196372986, -0.35543596744537354, 0.2830992043018341, 0.71014004945755, 0.6727032661437988, 0.3254100978374481, -0.36887112259864807, 0.33401331305503845, -0.09594741463661194, -0.09067893028259277, -0.22281666100025177, -0.6695860028266907, -0.6023944020271301, -0.20276066660881042, 0.19075044989585876, 0.39665672183036804, -0.48023340106010437, 0.5835773348808289, 0.05836477875709534, -0.7801284790039062, 0.45694345235824585, -0.1304483860731125, 0.14694873988628387, -0.23892724514007568, 0.10169228166341782, -0.6394903659820557, -0.3806201219558716, -0.5724981427192688, -0.5558951497077942, 0.004452546127140522, 0.49013420939445496, 0.04189266264438629, 0.37838783860206604, 0.12219620496034622, 0.598860502243042, -0.7305778861045837, -0.16274894773960114, -0.5739203095436096, 0.24928155541419983, 0.4754171371459961, 0.5405306220054626, 0.5726082921028137, -1.1319942474365234, -1.0451418161392212, 0.11616946756839752, -0.4121815264225006, 0.13090166449546814, -0.10308077186346054, -0.42515015602111816, 0.1135510802268982, 0.7217502593994141, 0.015050245448946953, 0.4845691919326782, 0.2829726040363312, -0.8533069491386414, 0.17530129849910736, 0.3773345649242401, 0.2761414051055908, -1.2850133180618286, 0.07983994483947754, 0.30361253023147583, -0.23082906007766724, -0.9443382024765015, 0.040717724710702896, -0.23666900396347046, -0.29149332642555237, -0.1176653504371643, 0.6640180349349976, -0.2293371558189392, 0.27182286977767944, -0.6635287404060364, -0.33520251512527466, -0.3766668140888214, 0.21476833522319794, 0.42747196555137634, 0.7055017948150635, 0.7960794568061829, -0.5992782115936279, 0.29918667674064636, -0.041511695832014084, -0.3920246362686157, 0.4086286425590515, -0.55824875831604, -0.015859955921769142, -0.10755135864019394, 0.21226486563682556, -1.1764838695526123, -0.05138947069644928, 0.6049085259437561, -0.45468583703041077, 0.16911496222019196, 0.01944517344236374, -0.49650487303733826, -0.057683076709508896, -0.4575965702533722, 0.13634254038333893, 0.3619101643562317, -0.07001780718564987, 0.4348156154155731, 0.3806886374950409, -0.546690046787262, -0.23869511485099792, 0.05963212996721268, 0.207577645778656, -0.5194305181503296, -0.5497421026229858, 0.37376779317855835, 0.10340328514575958, -0.3903653919696808, 0.21739809215068817, -0.3362566828727722, -0.36218103766441345, 0.4074999690055847, 0.12302248179912567, -0.18354077637195587, -0.22875098884105682, 0.11324923485517502, 0.14580561220645905, -0.41158661246299744, -0.22131389379501343, -0.1635502427816391, 0.9712382555007935, -0.07778847217559814, -0.3261915147304535, -0.5331085920333862, 0.7724036574363708, 0.1617388129234314, -0.40571075677871704, 0.7427715063095093, 0.8707655668258667, -0.33224743604660034, -0.20781458914279938, -0.5333856344223022, -0.19146548211574554, -0.47109031677246094, 0.3012695908546448, -0.19375227391719818, -0.724941611289978, 0.31275027990341187, -0.1804887354373932, -0.2061036378145218, 0.5981526374816895, 0.43644005060195923, 0.04778292775154114, 0.8203163743019104, 0.7532115578651428, -0.30734655261039734, 0.6710054874420166, 0.042308662086725235, 0.3761918544769287, -0.34594181180000305, 0.21613161265850067, -0.7677338719367981, -0.28117337822914124, -0.8050987720489502, -0.36093637347221375, 0.18834827840328217, -0.17436788976192474, 0.1155245453119278, 0.026418769732117653, -0.49783286452293396, 0.5033695697784424, 0.5970062017440796, 0.10052584111690521, 0.4151063561439514, 0.4947488009929657, 0.5100714564323425, -0.06516119092702866, -0.47919124364852905, -0.5004397034645081, 0.9288946986198425, 0.06342729181051254, 0.4075802266597748, 0.18256747722625732, 0.9264817237854004, 0.7054833173751831, -0.047013845294713974, -0.5480108857154846, 0.7102336883544922, -0.5565510392189026, -0.4707576334476471, -0.39460378885269165, -0.1291731595993042, -1.0467530488967896, 0.2645609378814697, -0.15420161187648773, -0.5795518159866333, 0.3017621636390686, -0.2918533384799957, -0.0005528436740860343, 0.34131625294685364, -0.19882094860076904, 0.8842703104019165, -0.08050380647182465, -0.3511606752872467, -0.8874759078025818, -0.29163140058517456, 0.3919692039489746, -0.20460480451583862, 0.3692821264266968, -0.15504863858222961, 0.09628095477819443, 1.0165319442749023, -0.3395392596721649, 0.5690947771072388, 0.03724495694041252, 0.19486740231513977, 0.5238362550735474, -0.19824135303497314, 0.0900348424911499, 0.07995760440826416, 0.07532310485839844, 0.20277254283428192, 0.06250758469104767, -0.5589497089385986, -0.10271997004747391, 0.6110004782676697, -0.5555025935173035, -0.6996058821678162, -1.0737792253494263, 0.021076837554574013, -0.006459823809564114, 0.15852420032024384, 0.054943282157182693, 0.3054068088531494, -0.5424582362174988, 0.28406983613967896, 0.6692677736282349, -0.2978614270687103, 0.389248788356781, 0.5291874408721924, -0.2610599994659424, 0.10243941098451614, 1.4637855291366577, -0.3779353201389313, -0.266695111989975, 0.3042829632759094, 0.15483370423316956, 0.22513628005981445, -0.7227957248687744, -0.28896665573120117, 0.2738802433013916, -0.3218301832675934, 0.09324809163808823, -0.621043860912323, -0.3018612265586853, -0.11628447473049164, -0.05680403858423233, -0.11586738377809525, -0.26329895853996277, -0.359632670879364, 0.28834423422813416, 0.6411193609237671, 0.5629309415817261, -0.2155998796224594, 0.31989341974258423, -0.8411767482757568, 0.5904476046562195, 0.018874861299991608, 0.1850748509168625, 0.04769386351108551, -0.34701669216156006, -0.18363822996616364, -0.4478834569454193, -0.30425652861595154, -0.987726092338562, 0.349292129278183, 0.30360206961631775, 0.4758099317550659, 0.665696918964386, -0.11456013470888138, 0.46216100454330444, -0.5020795464515686, 0.6594028472900391, -0.10197918862104416, -0.9432582259178162, 0.7809479236602783, -0.4089791178703308, -0.2543256878852844, 0.42750805616378784, 0.4905429482460022, -1.2251496315002441, -0.3693702220916748, -0.491536021232605, -0.7388327121734619, 0.9737192392349243, 0.30701181292533875, 0.22252289950847626, -0.0970127061009407, 0.3776385486125946, -0.03625074774026871, 0.22323726117610931, -0.454163134098053, -0.6389868855476379, 0.049686871469020844, -0.024808324873447418, -0.26879990100860596, -0.534122884273529, 0.3144504427909851, -0.11875058710575104, 0.5666024088859558, 0.23788951337337494, 0.23028942942619324, -0.09066803753376007, 0.04438287019729614, -0.23878127336502075, 0.359152227640152, 0.41247692704200745, 0.6360516548156738, -0.09047312289476395, -0.12205413728952408, -0.24441787600517273, -0.7901410460472107, 0.1379518210887909, 0.09288384765386581, -0.1647249162197113, 0.45025116205215454, 0.20042848587036133, 0.36690670251846313, 0.035729143768548965, -0.5220593810081482, 0.3818192481994629, -0.2577822804450989, -0.008431881666183472, -0.5223107933998108, 0.34047478437423706, -0.09513449668884277, -0.07274791598320007, 0.619429349899292, -0.027846215292811394, 0.4806811511516571, -0.8624442219734192, 0.21029818058013916, 0.4259955883026123, -0.23158274590969086, -0.11316626518964767, 0.0015375163638964295, 0.1532236635684967, -0.042153336107730865, 0.03020291216671467, -0.7254646420478821, -0.8437120318412781, 0.8156254291534424, 0.33787035942077637, 0.6618367433547974, -0.34018346667289734, 0.5005574822425842, 0.464447021484375, 0.015526295639574528, -0.36825695633888245, 0.7698543071746826, -0.1082385927438736, -0.7036657929420471, -0.5067030191421509, -0.5807121992111206, -0.31706979870796204, -0.16935566067695618, -0.6013909578323364, 0.3372964859008789, -0.31499695777893066, 0.10597109794616699, 0.05958586558699608, 0.4096601605415344, 0.14738304913043976, -0.058763206005096436, 0.02964317612349987, 0.6356847286224365, -0.888319194316864, 0.6267667412757874, 1.112945795059204, 0.08229050040245056, -0.5537482500076294, 0.12570905685424805, 0.19680173695087433, -0.39106428623199463, 0.46101170778274536, -0.17291681468486786, 0.012627711519598961, 0.16447529196739197, -0.4217316210269928, -1.1792106628417969, 0.7858361601829529, -0.9511758685112, -0.44544145464897156, 0.36288005113601685, -0.1880454123020172, 0.3034679591655731, -0.0003572934365365654, -0.09859266132116318, 0.26147279143333435, 0.4716103672981262, -0.016036806628108025, -0.6518843173980713, 0.04760054126381874, -0.5163704752922058, -0.11616762727499008, 0.6486192941665649, -0.7723999619483948, 1.049879789352417, 0.5547928214073181, -0.3313261568546295, 0.4678896963596344, 0.5167325139045715, 0.2661026120185852, 0.8398721814155579, 0.5123369693756104, 0.22855019569396973, 0.474998414516449, -0.11326895654201508, 0.7756296396255493, -0.5135253071784973, 0.15821631252765656, 0.49183934926986694, -0.25123533606529236, 0.581678569316864, 0.20596230030059814, -0.2543509602546692, 0.7440272569656372, 0.807595431804657, -0.07672127336263657, 0.8036912083625793, 0.3059402108192444, -0.2536405324935913, -0.494293749332428, -0.4065450131893158, -0.5572183132171631, 0.39804306626319885, 0.7155424952507019, -0.1480102390050888, -0.13941821455955505, -0.04064277186989784, -0.003410767763853073, 0.346622109413147, -0.5866533517837524, 0.8409364223480225, 0.046587876975536346, -0.47960665822029114, 0.09823078662157059, 0.7238522171974182, 0.7334942817687988, -0.6541633605957031, -0.0742102712392807, -0.2859041094779968, -0.009991126134991646, -0.1372857540845871, -0.4399675726890564, 0.4674317538738251, 0.18412065505981445, -0.10591576993465424, -0.0981932133436203, 1.3479424715042114, 0.06277283281087875, -0.5746400356292725, -0.11516817659139633, 0.8811631202697754, 0.4216332733631134, -0.4872289001941681, -0.5343955755233765, 0.0990845337510109, 0.09119705855846405, -0.06293005496263504, 0.33821964263916016, 0.5228257775306702, -0.5121975541114807, 0.1322631686925888, 0.8550044894218445, 0.24693942070007324, -0.32827481627464294, -0.100837342441082, 0.8614943623542786, -0.9364097118377686, -0.8918540477752686, -0.8297868371009827, 0.06612908840179443, -0.3212532699108124, -0.22267316281795502, 0.96671462059021, 0.5569325089454651, 0.3992287814617157, 0.28717851638793945, 0.5846309065818787, -0.15402907133102417, 0.989395260810852, -0.5162678956985474, 0.6967357993125916, -0.7260503172874451, 0.14545246958732605, -0.5017597079277039, -0.9909802675247192, -0.15682561695575714, 0.9118751287460327, -0.26034724712371826, -0.24517379701137543, 1.005929946899414, 0.43389707803726196, -0.21376119554042816, 0.3759084939956665, -0.026129107922315598, -0.03999973088502884, -0.04356979578733444, 0.3057797849178314, 1.2926543951034546, -0.04045560583472252, 0.20312851667404175, -0.3586549460887909, -0.23369073867797852, -0.31567561626434326, -0.44038379192352295, -1.036136507987976, -0.6940363049507141, -0.3071320354938507, -0.03381870687007904, 0.3322242498397827, 0.7215039134025574, 0.47045958042144775, -0.9914226531982422, -0.449249804019928, -0.16841284930706024, 0.5317413806915283, -0.2817690968513489, -0.22948993742465973, 0.5527916550636292, -0.3065301477909088, -0.44728609919548035, 0.16320683062076569, 0.28119128942489624, -0.3323173522949219, 0.015138725750148296, 0.2396577000617981, -0.4909351170063019, -0.27192601561546326, 0.49314457178115845, 0.27840656042099, -0.3127339780330658, 0.15690939128398895, 0.3618409335613251, -0.016540130600333214, -0.10855188965797424, 1.2185477018356323, -0.40125715732574463, -0.11794926971197128, 0.4350416660308838, 0.17847703397274017, 0.591598391532898, 0.21270494163036346, 0.18282358348369598, -0.43027275800704956, 0.3065030872821808, 0.03699568659067154, 0.3260420560836792, -0.089269258081913, -0.33868908882141113, 0.5684766173362732, 0.4921095669269562, -0.3489953577518463, -0.7492120862007141, 0.19957032799720764, -0.7744180560112, -0.736535906791687, 1.1987134218215942, 0.17770028114318848, -0.034414976835250854, -0.7253922820091248, -0.44254839420318604, -0.025335462763905525, -0.5432021617889404, 0.6225599646568298, 0.8667310476303101, -0.15089690685272217, 0.035107336938381195, -0.39800000190734863, 0.31104573607444763, 0.5562613010406494, -0.6204217672348022, -0.446323037147522, 0.4186878800392151, 0.10433278232812881, 0.23217757046222687, 0.7839616537094116, 0.2618483901023865, 0.49390527606010437, -0.4403323531150818, -0.279630571603775, 0.5138278007507324, -0.33669188618659973, -0.40020471811294556, 0.040301233530044556, 0.22872832417488098, 0.010692696087062359 ]
http://arxiv.org/abs/2403.10228v1
http://arxiv.org/pdf/2403.10228v1
HawkEye: Training Video-Text LLMs for Grounding Text in Videos
2024-03-15T11:58:18
2024-03-15T11:58:18
Yueqian Wang, Xiaojun Meng, Jianxin Liang, Yuxuan Wang, Qun Liu, Dongyan Zhao
cs.CV
cs.CV, cs.AI, cs.CL
Video-text Large Language Models (video-text LLMs) have shown remarkable performance in answering questions and holding conversations on simple videos. However, they perform almost the same as random on grounding text queries in long and complicated videos, having little ability to understand and reason about temporal information, which is the most fundamental difference between videos and images. In this paper, we propose HawkEye, one of the first video-text LLMs that can perform temporal video grounding in a fully text-to-text manner. To collect training data that is applicable for temporal video grounding, we construct InternVid-G, a large-scale video-text corpus with segment-level captions and negative spans, with which we introduce two new time-aware training objectives to video-text LLMs. We also propose a coarse-grained method of representing segments in videos, which is more robust and easier for LLMs to learn and follow than other alternatives. Extensive experiments show that HawkEye is better at temporal video grounding and comparable on other video-text tasks with existing video-text LLMs, which verifies its superior video-text multi-modal understanding abilities.
[ -0.21716037392616272, -0.8465604186058044, 0.7940227389335632, 0.459808886051178, -0.6737517714500427, 0.24985620379447937, -0.07561977207660675, -0.23846837878227234, 0.217184379696846, 0.19173051416873932, -0.5539385080337524, -0.6293348073959351, -1.1346601247787476, 0.053255464881658554, -0.7753661870956421, 0.9548786282539368, -0.1722274124622345, 0.117667056620121, -0.18925528228282928, -0.4239974021911621, -0.3053835332393646, -0.5183964371681213, -0.6919152140617371, -0.48535871505737305, 0.2004522830247879, 0.27150750160217285, 0.5638899207115173, 0.7154996395111084, 0.5180830955505371, 0.17396923899650574, -0.0739300400018692, 0.20340977609157562, -0.36715641617774963, 0.04280320554971695, -0.1725326031446457, -0.24278441071510315, -0.2583395838737488, -0.018348678946495056, 0.822967529296875, 0.15905015170574188, 0.45219284296035767, 0.2541845440864563, -0.29514989256858826, 0.5698732137680054, -0.8612565398216248, -0.02012343518435955, -0.6815676093101501, 0.5272008180618286, 0.08164647221565247, -0.7264797687530518, -0.31468814611434937, 0.13754884898662567, -0.08221928030252457, -0.5750056505203247, 0.288521409034729, 0.1910957545042038, 1.097741723060608, 0.7486866116523743, -0.47392457723617554, 0.019752878695726395, -0.6232944130897522, 0.5569573640823364, -0.27487483620643616, 0.258192241191864, 0.47125405073165894, 0.31297412514686584, 0.18664765357971191, -0.6480833888053894, -0.5933668613433838, -0.3161211311817169, 0.24230779707431793, 0.30528825521469116, 0.2032126933336258, 0.24217289686203003, 0.33023226261138916, 0.6024633646011353, -0.32977956533432007, 0.20023909211158752, -0.03254977986216545, 0.12267082929611206, 0.2784824073314667, 0.19980807602405548, 0.4018607437610626, -0.279053270816803, -0.4149378538131714, 0.0563109889626503, -0.34257519245147705, 0.08294063806533813, -0.01832132786512375, -0.3990565538406372, -0.43914860486984253, 0.9880558848381042, -0.2069818079471588, 0.45724037289619446, 0.29504215717315674, -0.44087404012680054, -0.0239067655056715, 0.17163336277008057, -0.5065463781356812, 0.08777859807014465, 0.6718593239784241, 0.7294514179229736, 0.3122287392616272, -0.3988044559955597, 0.06299008429050446, 0.23296846449375153, 0.2941381633281708, -0.8535705804824829, 0.06809259951114655, 0.1835382878780365, -0.4320548176765442, -0.36118730902671814, 0.06777399778366089, -0.3740895092487335, -0.4039376974105835, -0.36919596791267395, 0.6462311744689941, -0.32481005787849426, 0.27879422903060913, -0.04441511631011963, -0.48576074838638306, 0.6583387851715088, 0.39226409792900085, -0.9246106743812561, 0.3419319987297058, 0.4082908630371094, 1.0754318237304688, -0.2557617127895355, -0.4160761833190918, -1.0455434322357178, 0.5046282410621643, -0.386670857667923, 0.6288568377494812, -0.5890299081802368, -0.11525248736143112, 0.011138051748275757, 0.2876327931880951, 0.28944382071495056, -0.2269376963376999, 0.22317585349082947, -0.4904330372810364, 0.03309480473399162, 0.25108078122138977, -0.3750324845314026, 0.03322196006774902, 0.6550484895706177, -0.3987267017364502, 0.9968875646591187, -0.27532002329826355, -0.7428786754608154, 0.4042217433452606, -0.2407619059085846, -0.4747650623321533, -0.19955289363861084, -0.5596674084663391, -0.455626517534256, 0.13958556950092316, 0.6619775295257568, 0.6314800381660461, -0.3511067032814026, 0.4889321029186249, 0.0077018532902002335, -0.5074553489685059, 0.1813259869813919, -0.6764248013496399, 0.07250931113958359, -0.13021531701087952, -0.5558878183364868, -0.17975598573684692, -0.7874114513397217, -0.07711321115493774, 0.09207557886838913, -0.12368401139974594, -0.11076116561889648, 0.16980181634426117, -0.062156762927770615, 0.00465385802090168, 0.012251438573002815, -0.32604116201400757, -0.014656776562333107, -0.2574807405471802, 0.4354264438152313, 0.7855871915817261, -0.0779649168252945, 0.6406280994415283, -0.2893696129322052, 0.4296177625656128, -0.23634688556194305, 0.17846079170703888, -0.5209905505180359, -0.41774967312812805, -0.8902838230133057, -0.10648320615291595, -0.5089242458343506, 0.7013530135154724, -0.5703436732292175, -0.028761647641658783, -0.1950429379940033, -0.17990775406360626, -0.0983721911907196, 0.0656963586807251, 0.5078493356704712, 0.5856621265411377, 0.5763659477233887, -0.15983256697654724, -0.46031227707862854, -0.6823145151138306, -0.0024443520233035088, -0.2545495331287384, -0.11201689392328262, 0.6115243434906006, 0.6189337372779846, -0.34393182396888733, 0.943257749080658, -0.611147403717041, -0.2695596516132355, 0.031553663313388824, 0.2163916677236557, 0.08992817252874374, 0.05824055150151253, 0.4271062910556793, -0.9922415614128113, -0.4368303716182709, -0.059915125370025635, -1.149842381477356, 0.024547290056943893, -0.23337194323539734, 0.26398414373397827, -0.0222453773021698, 0.7935234904289246, -0.5479791164398193, 0.48514482378959656, 0.7013156414031982, -0.08305341005325317, 0.5636816024780273, -0.33445751667022705, 0.4419846832752228, -1.1810708045959473, -0.09773154556751251, -0.0917479619383812, -0.40718382596969604, -0.38052815198898315, -0.12083274871110916, -0.24969692528247833, -0.5396969318389893, -0.76781165599823, 0.82349693775177, -0.31717827916145325, -0.3220539093017578, -0.4106045067310333, 0.16825124621391296, 0.006782056763768196, 0.40759631991386414, 0.2870873808860779, 1.1034215688705444, 0.6741229891777039, -0.8462696075439453, 0.4181181788444519, 0.4836598038673401, -0.16357576847076416, 0.5904020667076111, -0.7884493470191956, 0.1767769455909729, -0.6895413398742676, 0.2336893528699875, -0.8127157092094421, -0.5187308192253113, 0.045378781855106354, -0.7052070498466492, 0.12492717057466507, -0.5701624155044556, -0.13396811485290527, -0.008487365208566189, -0.25678181648254395, 0.4673978090286255, 0.5145152807235718, -0.8120424151420593, 0.5515552759170532, 0.471882700920105, -0.0067169442772865295, -0.883298933506012, -0.6660735011100769, 0.5441457629203796, -0.505652129650116, -0.6430288553237915, 0.9320554137229919, 0.12174142897129059, -0.23309427499771118, -0.19753509759902954, -0.47247594594955444, -0.4019731283187866, -0.11596311628818512, 0.5107756853103638, 0.02858656644821167, 0.1664632111787796, 0.2813786566257477, -0.15937697887420654, -0.4106272757053375, -0.006468408741056919, -0.34388840198516846, 0.36154142022132874, -0.16970044374465942, -0.0541025847196579, -0.25055596232414246, 0.46672433614730835, 0.5857263803482056, 0.1162458211183548, 0.5856695175170898, 0.7969037890434265, -0.47545748949050903, -0.0173675287514925, -0.5908036231994629, -0.17033055424690247, -0.45966166257858276, 0.31680139899253845, -0.12482782453298569, -1.0183900594711304, 0.03384435176849365, -0.1769947111606598, -0.00861671008169651, 0.18780024349689484, 0.244780033826828, -0.6449558734893799, 0.8853928446769714, 0.9397051334381104, -0.21305589377880096, 0.7329710721969604, -0.48948749899864197, -0.280132919549942, -0.6585658192634583, -0.28257471323013306, -0.2773345708847046, -0.18909865617752075, -0.15391387045383453, -0.5461050868034363, 0.42592698335647583, 0.16195037961006165, -0.5463302731513977, -0.027363386005163193, -0.17016969621181488, 0.810191810131073, 0.1024523451924324, 0.11610917747020721, 0.19382233917713165, 0.3411804437637329, 0.2265985757112503, -0.3072075843811035, -0.3250367045402527, -0.5801076292991638, 0.8108300566673279, 0.3895847201347351, 1.221014142036438, -0.10060331225395203, 0.3592360019683838, 0.5367520451545715, -0.2529306709766388, -0.7700042128562927, 0.6597411632537842, -0.7515602111816406, -0.1923137754201889, -0.1305074542760849, -0.10328970849514008, -0.4115016460418701, -0.17695552110671997, -0.3296703100204468, -0.7102836966514587, -0.5322754383087158, 0.28629156947135925, 0.1110118180513382, 0.31874188780784607, -0.273867130279541, 0.6374414563179016, -0.44688013195991516, -0.463070809841156, -0.2526249289512634, -0.886714518070221, 0.01648997701704502, 0.42505356669425964, 0.09335844963788986, -0.11992063373327255, -0.17643381655216217, 0.6802661418914795, -0.3583000898361206, 0.8531258702278137, -0.01965530961751938, 0.14694122970104218, 0.2605644464492798, -0.18001912534236908, 0.5364992618560791, 0.8096306920051575, 0.633781373500824, 0.04425027221441269, -0.6206924319267273, -0.17856767773628235, -0.6126455664634705, 0.3892430067062378, -1.0160341262817383, -0.6711382269859314, -0.6049367189407349, -0.22434064745903015, -0.09015101194381714, 0.0037685465067625046, 0.4715288579463959, 0.6104686260223389, -0.09819252043962479, 0.45887261629104614, 1.05614173412323, -0.2281920611858368, 0.6139659285545349, 0.31850260496139526, -0.14410825073719025, -0.7573926448822021, 0.7102805376052856, -0.42644041776657104, 0.10520824790000916, 1.0181020498275757, -0.002621093764901161, -0.20604954659938812, -0.4860592782497406, -0.44501733779907227, 0.14518272876739502, -0.762213945388794, -0.02501278929412365, -0.8681519031524658, -0.46956753730773926, -0.006233425810933113, -0.6897027492523193, -0.4104436933994293, -0.3011035621166229, -0.522764265537262, -0.30418992042541504, 0.5487248301506042, 0.14977923035621643, 0.27513232827186584, 0.6571930050849915, -0.8009644150733948, 1.044433832168579, 0.6993529796600342, 0.18066895008087158, -0.6870957612991333, -0.8020029067993164, -0.11512920260429382, -0.4157285988330841, -0.3147001564502716, -0.701443612575531, 0.15072903037071228, 0.595737636089325, 0.20608414709568024, 0.20694032311439514, -0.381475567817688, 0.9317982792854309, -0.7923761606216431, 1.0277619361877441, 0.3485492765903473, -0.9226354360580444, 0.7342337965965271, -0.2984657287597656, 0.43414658308029175, 0.3695890009403229, 0.3390577733516693, -0.6759600639343262, -0.4415438175201416, -0.30885687470436096, -0.9560536742210388, 0.502470076084137, 0.45041048526763916, 0.35815200209617615, -0.009637103416025639, 0.5723084211349487, -0.05488952249288559, 0.1749984472990036, -1.0178078413009644, -0.21333156526088715, -0.4138697385787964, 0.13161036372184753, -0.30298662185668945, -0.2584916651248932, -0.1600646823644638, -0.018536429852247238, 0.4306357204914093, -0.5540412664413452, 0.419353723526001, 0.4003680944442749, -0.6254739761352539, 0.21497637033462524, 0.39108404517173767, 0.4682798981666565, 0.3339741826057434, -0.38254863023757935, 0.3206116259098053, 0.5288740396499634, -0.8000974655151367, 0.8141791224479675, -0.28490254282951355, -0.2615595757961273, 0.16665205359458923, 0.45499828457832336, 0.9916922450065613, 0.3732658922672272, -0.7058074474334717, 0.5460211634635925, -0.022704223170876503, -0.18720948696136475, -0.7053499817848206, -0.06335907429456711, -0.49198389053344727, 0.24007850885391235, 0.5705853700637817, -0.1701725870370865, -0.10285122692584991, -0.5139452815055847, 0.22101914882659912, 0.2599644660949707, -0.4272145926952362, -0.14998219907283783, 0.9849228858947754, 0.17460843920707703, -0.33021435141563416, 0.4493319094181061, 0.014051182195544243, -0.32753434777259827, 0.816781222820282, 0.7434927821159363, 1.0882515907287598, 0.2929419279098511, 0.5108708143234253, 0.32704320549964905, 0.27887895703315735, -0.3166482746601105, 0.17636892199516296, -0.0269344262778759, -0.41746819019317627, -0.7163618206977844, -0.4589554965496063, -0.6347328424453735, 0.3207302689552307, -0.4780289828777313, 0.48053407669067383, -0.7320748567581177, -0.32081568241119385, -0.22482767701148987, -0.22176817059516907, -0.44694197177886963, 0.7423357367515564, 0.31570932269096375, 0.8866186141967773, -0.804004430770874, 0.4867236614227295, 1.041538953781128, -0.16478174924850464, -0.2336195707321167, 0.1007310077548027, -0.14336799085140228, -0.7680794596672058, 0.9173109531402588, 0.6780129671096802, -0.36865708231925964, 0.011509999632835388, -0.6250602602958679, -0.6370074152946472, 1.3460099697113037, 0.4052756428718567, -0.42959773540496826, -0.32637083530426025, 0.16306723654270172, 0.2772185206413269, -0.4142211079597473, 0.26143085956573486, 0.1740015149116516, 0.05393281206488609, 0.09982241690158844, -0.510845422744751, -0.5964469909667969, -0.18716874718666077, 0.023665696382522583, 0.24856488406658173, -0.7431010603904724, 0.7138403058052063, -0.14471320807933807, -0.2828340530395508, -0.09328895807266235, 0.7788884043693542, 0.20552147924900055, 0.7160117626190186, 0.3243565857410431, 0.7900691032409668, 0.3386259078979492, -0.07701602578163147, 0.8464292883872986, -0.15507571399211884, 0.13475301861763, 1.2765100002288818, 0.09338615834712982, 0.5320878028869629, 0.6504418253898621, 0.11279838532209396, 0.29426103830337524, 0.24627861380577087, 0.07614259421825409, 0.5088118314743042, -0.20127497613430023, -0.3625331223011017, -0.4027232527732849, -0.167643204331398, -0.22805891931056976, 0.4322609603404999, 0.12451312690973282, -0.2642943263053894, -0.2272620052099228, 0.2985904812812805, -0.09981722384691238, 0.2187906801700592, -0.6339613199234009, 0.8021993637084961, 0.27778342366218567, -0.3686307966709137, 0.3650244474411011, 0.057381484657526016, 0.6262068152427673, -0.7866175174713135, -0.022348547354340553, -0.2621994912624359, 0.11047607660293579, -0.17584551870822906, -0.9504841566085815, 0.20320715010166168, 0.6520709991455078, -0.5051019191741943, -0.17197875678539276, 0.6997439861297607, -0.2257373332977295, -0.12143908441066742, 0.28815117478370667, -0.10527172684669495, 0.1984834223985672, -0.06469999253749847, -0.48489248752593994, 0.10803528130054474, -0.4564046263694763, 0.20326751470565796, 0.2624538838863373, 0.09104744344949722, -0.1411789357662201, 0.8783532381057739, 0.2541307508945465, -0.18690156936645508, 0.00519714318215847, 0.2501223087310791, 0.7106973528862, -0.9247583150863647, -0.49688106775283813, -0.9969411492347717, 0.6041894555091858, -0.1016465350985527, -0.3894408941268921, 0.7065638303756714, 0.44184058904647827, 0.5592827796936035, -0.24151679873466492, 0.7946720719337463, -0.11692054569721222, -0.24089878797531128, -1.232155203819275, 0.21047836542129517, -0.5453885793685913, -0.10996972024440765, -0.26949208974838257, -1.141066074371338, -0.22557704150676727, 0.5705499649047852, 0.022674523293972015, -0.27011510729789734, 0.8958625793457031, 0.48108601570129395, 0.032190173864364624, -0.2665195167064667, 0.2050493359565735, 0.0937698557972908, 0.6383491158485413, 0.70947265625, 0.9926509261131287, -0.7708458304405212, 0.8168251514434814, 0.01337355189025402, -0.2956137955188751, -0.23697903752326965, -1.2237725257873535, -1.3864202499389648, -0.4033811092376709, -0.17795483767986298, -0.026900600641965866, 0.46448373794555664, 0.7507210969924927, 0.7947819232940674, -0.3308786451816559, -0.06920601427555084, -0.2570149302482605, -0.1571909636259079, 0.0648481696844101, -0.12546467781066895, 0.2386959046125412, -0.3001273274421692, -0.6731966733932495, 0.7561488151550293, 0.7497358918190002, 0.3132864832878113, 0.007792235352098942, -0.2875326871871948, -0.03858756273984909, -0.10567130893468857, 0.7611329555511475, 0.4894138276576996, -0.4893062114715576, -0.5558239221572876, 0.1995517462491989, -0.02792052924633026, 0.20778398215770721, 1.0085647106170654, -0.8053870797157288, 0.4047926366329193, 0.2788453996181488, 0.8205925822257996, 1.0603212118148804, 0.21060900390148163, 0.45834773778915405, -1.0510306358337402, 0.6413633227348328, 0.17201927304267883, 0.2095308005809784, 0.29125866293907166, -0.18702754378318787, 0.5703209638595581, 0.20586290955543518, -0.6603156328201294, -0.5178931951522827, 0.2217703014612198, -1.1189099550247192, 0.024134350940585136, 1.3630098104476929, 0.09292220324277878, -0.049593813717365265, 0.055290013551712036, -0.44533708691596985, 0.0858684778213501, -0.12342561036348343, 0.9402831792831421, 0.6612420082092285, 0.3323535621166229, -0.3747155964374542, -0.5620545744895935, 0.3230206370353699, 0.4122210144996643, -0.9297206997871399, -0.3138611316680908, 0.3088487982749939, 0.2204880565404892, -0.0662141665816307, 0.8302829265594482, -0.015916917473077774, 0.5569102168083191, -0.05159445106983185, -0.44816160202026367, -0.1829427033662796, -1.0490365028381348, -0.2873305380344391, 0.1845867782831192, -0.07399282604455948, -0.29038530588150024 ]
http://arxiv.org/abs/2403.10214v1
http://arxiv.org/pdf/2403.10214v1
Enhanced Coherence-Aware Network with Hierarchical Disentanglement for Aspect-Category Sentiment Analysis
2024-03-15T11:32:44
2024-03-15T11:32:44
Jin Cui, Fumiyo Fukumoto, Xinfeng Wang, Yoshimi Suzuki, Jiyi Li, Noriko Tomuro, Wanzeng Kong
cs.CL
cs.CL
Aspect-category-based sentiment analysis (ACSA), which aims to identify aspect categories and predict their sentiments has been intensively studied due to its wide range of NLP applications. Most approaches mainly utilize intrasentential features. However, a review often includes multiple different aspect categories, and some of them do not explicitly appear in the review. Even in a sentence, there is more than one aspect category with its sentiments, and they are entangled intra-sentence, which makes the model fail to discriminately preserve all sentiment characteristics. In this paper, we propose an enhanced coherence-aware network with hierarchical disentanglement (ECAN) for ACSA tasks. Specifically, we explore coherence modeling to capture the contexts across the whole review and to help the implicit aspect and sentiment identification. To address the issue of multiple aspect categories and sentiment entanglement, we propose a hierarchical disentanglement module to extract distinct categories and sentiment features. Extensive experimental and visualization results show that our ECAN effectively decouples multiple categories and sentiments entangled in the coherence representations and achieves state-of-the-art (SOTA) performance. Our codes and data are available online: \url{https://github.com/cuijin-23/ECAN}.
[ -0.7587606310844421, -0.9555009007453918, 0.233731210231781, 0.4350897967815399, -0.5241572856903076, 0.2563583254814148, 0.10028712451457977, -0.6062139868736267, 0.7451891303062439, 0.032917607575654984, -0.6687679886817932, -0.41329634189605713, -0.6468806862831116, 0.17377543449401855, -0.3995159864425659, 1.0881943702697754, -0.07925163954496384, -0.06401301175355911, -0.3097801208496094, -0.2761848568916321, -0.009485946036875248, -0.6777614951133728, -0.773327648639679, -0.4186406135559082, 0.3137997090816498, 0.23161587119102478, 0.4537801444530487, 0.017496246844530106, 0.8604357838630676, 0.26442185044288635, -0.5763698220252991, 0.3517861068248749, 0.03496968373656273, 0.16854746639728546, -0.12312478572130203, -0.2853957414627075, -1.1722685098648071, -0.3575194776058197, 0.4781184792518616, 0.6689378619194031, -0.209609717130661, 0.14197073876857758, 0.6202052235603333, 0.9835511445999146, -0.606938898563385, 0.3040773868560791, -0.3884129524230957, 0.38759511709213257, 0.05214442312717438, -0.10701343417167664, 0.0844494104385376, -0.03791189193725586, 0.30881738662719727, -0.6246435642242432, 0.0067101228050887585, 0.2535366714000702, 1.1496232748031616, 0.19848626852035522, -0.32712021470069885, -0.24935053288936615, -0.5157982707023621, 0.5501971244812012, -0.49575722217559814, 0.30101537704467773, 0.4010397791862488, 0.11295673996210098, 0.17956626415252686, -0.40344682335853577, -0.7433630228042603, -0.01952427066862583, -0.05763568729162216, 0.7987329363822937, -0.28677818179130554, 0.29957497119903564, -0.19283072650432587, 0.925973117351532, -0.29103660583496094, 0.02777223289012909, 0.3505423367023468, -0.1301671713590622, 0.46268823742866516, 0.3275805413722992, 0.17636598646640778, -0.5018165707588196, -0.3835793137550354, -0.07540101557970047, -0.4476398527622223, 0.18173956871032715, 0.44762367010116577, 0.07655049860477448, -0.3470590114593506, 0.40680602192878723, -0.4938662648200989, 0.19973677396774292, 0.6911624670028687, 0.1484249234199524, 0.41532132029533386, -0.38154447078704834, -0.37045276165008545, 0.3065605163574219, 0.88886559009552, 0.07309090346097946, -0.597391664981842, 0.08112812787294388, -0.12431827932596207, 0.06823089718818665, 0.03462604060769081, -0.6286091208457947, -0.2423407882452011, 0.604336142539978, -0.6612328886985779, -0.2891254425048828, -0.006170603912323713, -1.0115165710449219, -0.31443583965301514, -0.2090989351272583, 0.4651966392993927, -0.08182917535305023, -0.760975182056427, 0.18536320328712463, -0.0822734534740448, -0.1267794519662857, 0.2939987778663635, -0.8318597078323364, 0.45640745759010315, 0.8734990358352661, 0.9537268280982971, -0.12043100595474243, -0.19093234837055206, -0.07236548513174057, -0.22847284376621246, -0.24227173626422882, 0.6062225699424744, -0.4757794141769409, 0.06756386160850525, -0.32409608364105225, 0.12424876540899277, 0.15228153765201569, -0.4852290749549866, 0.18727952241897583, -0.7988966703414917, -0.17307864129543304, -0.06364433467388153, -0.4438943564891815, -0.42792659997940063, 0.9467451572418213, -1.0037294626235962, 0.6257134675979614, -0.27547940611839294, -0.8560749292373657, 0.22280222177505493, -0.6936721801757812, -0.3007638454437256, -0.20689629018306732, -0.1633928120136261, -0.9618880152702332, 0.13271261751651764, 0.35848885774612427, 0.44341495633125305, -0.07941395044326782, 0.4008415937423706, -0.5447154641151428, -0.04004427790641785, 0.11966945976018906, -0.5982909798622131, 0.7022565603256226, 0.08676206320524216, -0.4835989773273468, -0.01632627099752426, -0.683232307434082, -0.3007252514362335, -0.1776381880044937, -0.28438737988471985, -0.5447114109992981, -0.06069663166999817, -0.04807185381650925, 0.11545126885175705, 0.4935513138771057, -0.7608276009559631, -0.20252545177936554, -0.49290305376052856, 0.17702175676822662, 0.5441727638244629, 0.36128464341163635, 0.5369401574134827, 0.06385429203510284, 0.36127588152885437, 0.9194126725196838, 0.333372563123703, 0.12518663704395294, -0.27237334847450256, -0.9738813042640686, -0.2821333408355713, 0.002011507749557495, 0.30176183581352234, -0.774701714515686, 1.021929383277893, -0.11276540905237198, -0.13548900187015533, -0.6335365772247314, -0.06365296244621277, 0.2948881983757019, 0.26928186416625977, 0.46417081356048584, -0.6769962906837463, -0.5627519488334656, -0.7890341877937317, -0.10033107548952103, -0.2575748860836029, 0.2759125232696533, 0.08195699751377106, 0.5828115344047546, -0.17809158563613892, 0.7879694104194641, -0.2809284031391144, -0.6691768169403076, -0.1848573088645935, 0.11167573183774948, -0.02461428940296173, 0.46800684928894043, -0.053986262530088425, -0.9061540961265564, -0.27433761954307556, 0.24484948813915253, -0.8000113368034363, 0.33556994795799255, -0.21913966536521912, -0.39331957697868347, 0.05450065806508064, 0.22018778324127197, -0.2237558662891388, 0.3133818507194519, 0.7793116569519043, -0.3026813566684723, 0.16424719989299774, 0.03261667117476463, 0.21460950374603271, -1.6118624210357666, -0.06580133736133575, 0.3033790588378906, -0.22307774424552917, -0.347720742225647, 0.12744927406311035, -0.04749161750078201, 0.12096790224313736, -0.18144720792770386, -0.25798657536506653, -0.5110253095626831, 0.16314630210399628, -0.2729553282260895, 0.0008693408453837037, 0.5265412330627441, 0.8105134963989258, 0.2563815414905548, 0.07243460416793823, 0.7040289044380188, -0.3579801023006439, 0.31902626156806946, 0.26254427433013916, -0.17726418375968933, 0.6865522861480713, -0.5396369695663452, 0.11451208591461182, -0.2557424306869507, 0.31240314245224, -0.822498083114624, -0.09029372781515121, 0.2929253876209259, -0.22902648150920868, 0.26815882325172424, 0.12591931223869324, -0.3530450761318207, 0.03170984238386154, -0.3437593877315521, 0.30818235874176025, 0.09063544124364853, -0.781295120716095, 0.61527419090271, 0.6502386927604675, 0.02503718063235283, -0.5895087122917175, -0.8567192554473877, 0.22359463572502136, -0.2229638546705246, -0.22987501323223114, 0.4902212917804718, 0.09404230117797852, -0.05644969642162323, 0.2958351969718933, -0.1440115123987198, -0.21702323853969574, 0.054462775588035583, 0.2791674733161926, 0.2302360087633133, -0.12606799602508545, 0.029548319056630135, 0.794010579586029, 0.025446264073252678, 0.09455573558807373, 0.059764329344034195, 0.5211583971977234, -0.6720675826072693, -0.46927177906036377, -0.8293083906173706, 0.6753891706466675, 0.5282790064811707, -0.367832213640213, 0.8237722516059875, 0.5099842548370361, -0.5049889087677002, -0.12727048993110657, -0.10497520864009857, 0.02660856395959854, -0.45573076605796814, 0.8921505808830261, -0.43180713057518005, -1.1820087432861328, 0.5856007933616638, -0.15720950067043304, -0.1864248514175415, 0.440801739692688, 0.36101508140563965, -0.31541723012924194, 1.20462167263031, 0.6601591110229492, -0.26806995272636414, 0.5664383172988892, -0.6112371683120728, 0.46306294202804565, -1.427757740020752, -0.4445127546787262, -0.18139226734638214, -0.3379614055156708, -0.5404258966445923, -0.008724783547222614, 0.6082348823547363, 0.5046217441558838, -0.3259459137916565, 0.043889179825782776, -0.6260042786598206, 0.10824146121740341, 0.005128977820277214, 0.5361301898956299, 0.6686872243881226, 0.18506208062171936, 0.10315023362636566, 0.200197234749794, -0.6065496206283569, -0.31322181224823, 0.46846523880958557, 0.6243695616722107, 0.613779604434967, 0.25594499707221985, 0.8069491386413574, -0.027620986104011536, 0.041805922985076904, -0.9415766596794128, 0.6233460307121277, -0.37410473823547363, -0.483785480260849, -0.20351020991802216, -0.4826159179210663, -0.7478962540626526, 0.26065146923065186, -0.265095978975296, -0.33443397283554077, 0.7544090151786804, 0.09500827640295029, -0.3450726866722107, 0.34016042947769165, -0.16313423216342926, 0.399792343378067, 0.0812247022986412, -0.1801130771636963, -0.41148990392684937, -0.38482826948165894, 0.26731303334236145, 0.07822496443986893, -0.21948018670082092, 0.05083131417632103, -0.0623089000582695, 0.7127508521080017, -0.5324716567993164, 1.0238107442855835, 0.021072175353765488, 0.10803196579217911, 0.45360687375068665, -0.028691530227661133, 0.26902565360069275, 0.3485244810581207, 0.11556968092918396, 0.6186554431915283, -0.0834355428814888, -0.0047706058248877525, -0.5313814282417297, 0.696433424949646, -0.8497089147567749, -0.42300108075141907, -0.2954500615596771, -0.17894238233566284, -0.2429092675447464, -0.013160635717213154, 0.33294180035591125, 0.6716147065162659, -0.1650107055902481, 0.2149326503276825, 0.5611673593521118, 0.050760120153427124, 0.7937453389167786, 0.1824677735567093, -0.011064678430557251, -0.5301998257637024, 0.9022687673568726, 0.118507981300354, 0.16609631478786469, 0.5329285264015198, 0.23647890985012054, -0.21545003354549408, -0.4031951427459717, -0.5486125349998474, -0.2722739577293396, -0.4829445779323578, -0.36804065108299255, -0.7437928318977356, -0.43295472860336304, -0.08090199530124664, 0.22870022058486938, -0.5602411031723022, -0.24516937136650085, -0.24149863421916962, -0.13789081573486328, 0.5734535455703735, 0.5901788473129272, -0.025229500606656075, 0.040157660841941833, -0.7916781306266785, 0.3972133994102478, 0.3134364187717438, 0.46998274326324463, 0.6429505944252014, -0.1654617190361023, -0.4273797869682312, 0.04157460480928421, -0.4054524302482605, -0.7251195311546326, 0.267627090215683, 0.34025898575782776, 0.3234718441963196, 0.3845779299736023, 0.1341474950313568, 0.9061206579208374, -0.23061496019363403, 0.7892459630966187, 0.5472967028617859, -1.1152065992355347, 0.5138378739356995, -0.03351588547229767, 0.3294150233268738, 0.6544480323791504, 0.2979627549648285, -0.3949658274650574, -0.7892168164253235, -0.30345070362091064, -0.9736853837966919, 0.5343223214149475, 0.13082364201545715, 0.13005271553993225, -0.1766217201948166, 0.20974014699459076, 0.1777317225933075, 0.2371262162923813, -0.5841060280799866, -0.3244192600250244, -0.4316104054450989, -0.5695887207984924, 0.4318670928478241, -0.06229497119784355, -0.10126831382513046, -0.270168662071228, 0.5710591673851013, -0.12232654541730881, 0.2615388333797455, 0.7274823188781738, -0.007897032424807549, -0.11916109174489975, 0.3607819378376007, -0.1865442395210266, 0.14378085732460022, 0.009018465876579285, 0.22949285805225372, 0.07366225868463516, -0.932796835899353, 0.20782892405986786, -0.015543882735073566, -0.012026183307170868, -0.1906067579984665, 0.30007925629615784, 0.8491800427436829, -0.2658711373806, 0.05050856992602348, 0.5733044147491455, -0.18590427935123444, -0.014325233176350594, -0.21854819357395172, -0.2096261978149414, 0.12741321325302124, 0.44615110754966736, 0.18920819461345673, 0.47606390714645386, 0.5070545673370361, -0.673326849937439, 0.1381063312292099, 0.3880859613418579, -0.6906204223632812, -0.5040054321289062, 0.381997674703598, 0.3703930377960205, -0.005401293747127056, 0.3131764233112335, -0.37957102060317993, -0.5719504356384277, 0.70622318983078, 0.42687833309173584, 1.2623035907745361, -0.014540338888764381, 0.2802392244338989, 0.3924453854560852, 0.21050722897052765, -0.013333351351320744, 0.1964806318283081, -0.2843356132507324, -0.808729350566864, -0.3178185820579529, -0.813398003578186, -0.5296478271484375, -0.1168135404586792, -1.184859275817871, -0.3275601863861084, -0.5073398351669312, -0.1784130185842514, -0.349752813577652, 0.16657336056232452, -0.40472859144210815, 0.46224245429039, 0.1519438922405243, 0.42075735330581665, -0.9217923283576965, 0.5697851181030273, 0.7978702187538147, -0.4484826326370239, -0.8669262528419495, 0.4217696785926819, -0.17120668292045593, -0.1660270094871521, 0.15642298758029938, 0.08572790026664734, -0.46434369683265686, -0.23215802013874054, -0.1689319759607315, -0.6552554368972778, 1.282947063446045, -0.016314493492245674, -0.9008587002754211, 0.3242526352405548, 0.16878773272037506, 0.8249035477638245, -0.5834051370620728, 0.12005581706762314, 0.4087137281894684, -0.03955287113785744, -0.059072356671094894, -0.7545348405838013, 0.1451081782579422, -0.3524533808231354, 0.00009584915096638724, 0.0810587927699089, -0.997420608997345, 0.809476912021637, 0.33806705474853516, -0.21549734473228455, -0.2052099108695984, 0.9998114705085754, 0.3651375472545624, 0.5895153880119324, 0.771969735622406, 0.6362801790237427, 0.6767309308052063, 0.08563141524791718, 0.6381046772003174, -0.17277736961841583, 0.5193312168121338, 1.0754969120025635, -0.08562114089727402, 1.2414698600769043, 0.5029535889625549, 0.0723024532198906, 0.8829068541526794, 0.7610228657722473, 0.5136297345161438, 0.7533302903175354, -0.33912378549575806, -0.527259886264801, -0.2408449351787567, -0.16874779760837555, -0.311009019613266, 0.4742467701435089, 0.3800024390220642, -0.3189755380153656, -0.0304612684994936, 0.17086021602153778, -0.045591726899147034, -0.17193949222564697, -0.8437341451644897, 1.0444190502166748, 0.4019828736782074, -0.5004920363426208, 0.05863985791802406, -0.18285588920116425, 0.9002978205680847, -0.32487109303474426, -0.11599189788103104, -0.2001248002052307, 0.27606046199798584, -0.6340728402137756, -0.9530296921730042, 0.6459763646125793, -0.052692387253046036, -0.22003871202468872, 0.04155915603041649, 0.6082285046577454, -0.614682137966156, -0.5682249665260315, 0.4700155556201935, 0.3804450035095215, -0.23973825573921204, -0.09403479844331741, -0.7882587313652039, -0.044548243284225464, -0.35804057121276855, -0.5070549845695496, 0.4637417793273926, 0.420767605304718, 0.0343039333820343, 0.17130638659000397, 0.30905359983444214, 0.020930185914039612, -0.29424092173576355, 0.29500457644462585, 0.9290845394134521, -0.44240790605545044, -0.9287895560264587, -0.9979686737060547, 0.5051615834236145, -0.3526427447795868, -0.3923783004283905, 0.811672031879425, 0.3247677683830261, 0.70542311668396, 0.2592824101448059, 0.43284159898757935, -0.035158202052116394, 0.02306227944791317, -0.45557817816734314, 1.0248186588287354, -0.8356373906135559, 0.2848793566226959, -0.3594127893447876, -0.8811509013175964, -0.2967272400856018, 0.5038102269172668, 0.049678198993206024, -0.12657947838306427, 0.9180365800857544, 0.809369683265686, -0.08678480982780457, 0.3307136297225952, 0.11767323315143585, 0.139255553483963, 0.2046559602022171, 0.5457500219345093, 0.8449493050575256, -0.6074146628379822, 0.2920644283294678, -0.4174521863460541, -0.46233683824539185, 0.03819216415286064, -0.7913408279418945, -0.8430153131484985, -0.6810967326164246, -0.6248892545700073, -0.3977229595184326, -0.10450108349323273, 0.7311320900917053, 0.6832959055900574, -0.8219954967498779, 0.014639507979154587, -0.5691179633140564, 0.051057182252407074, -0.5189829468727112, -0.21575726568698883, 0.6602376699447632, -0.03076983615756035, -0.660831868648529, 0.06963895261287689, 0.7492261528968811, -0.245750293135643, -0.4581218659877777, 0.00206558033823967, 0.010484980419278145, 0.18102720379829407, 0.668030321598053, -0.23840254545211792, -0.5023985505104065, -0.3136863112449646, -0.1248028501868248, -0.07750872522592545, 0.21985381841659546, 0.35121816396713257, -0.37091195583343506, 0.6840853691101074, 0.5769090056419373, 0.5362958312034607, 0.33101019263267517, -0.06398703902959824, 0.16359096765518188, -0.6713784337043762, 0.04748373106122017, 0.2727701961994171, 0.45183858275413513, 0.2654998302459717, -0.6458941698074341, -0.0711221992969513, 0.06524819880723953, -0.405643492937088, -0.48480358719825745, 0.251952201128006, -1.2271584272384644, -0.03309868648648262, 0.8336782455444336, -0.33602070808410645, -0.6546200513839722, -0.24502235651016235, -0.01817992329597473, 0.28766733407974243, -0.3128979802131653, 0.8814270496368408, 0.49056538939476013, -0.29499053955078125, -0.16920921206474304, 0.15927137434482574, 0.3784821927547455, 0.6433261036872864, -1.0646203756332397, -0.29878100752830505, 0.2599479556083679, -0.07263574004173279, 0.335904061794281, 0.5869868397712708, -0.3461710512638092, 0.261027455329895, 0.2673380374908447, 0.025847766548395157, -0.18594831228256226, -0.5165907144546509, -0.8101656436920166, 0.45378926396369934, -0.08679655939340591, -0.6104281544685364 ]
http://arxiv.org/abs/2403.10205v1
http://arxiv.org/pdf/2403.10205v1
Read between the lines -- Functionality Extraction From READMEs
2024-03-15T11:11:57
2024-03-15T11:11:57
Prince Kumar, Srikanth Tamilselvam, Dinesh Garg
cs.CL
cs.CL, cs.AI
While text summarization is a well-known NLP task, in this paper, we introduce a novel and useful variant of it called functionality extraction from Git README files. Though this task is a text2text generation at an abstract level, it involves its own peculiarities and challenges making existing text2text generation systems not very useful. The motivation behind this task stems from a recent surge in research and development activities around the use of large language models for code-related tasks, such as code refactoring, code summarization, etc. We also release a human-annotated dataset called FuncRead, and develop a battery of models for the task. Our exhaustive experimentation shows that small size fine-tuned models beat any baseline models that can be designed using popular black-box or white-box large language models (LLMs) such as ChatGPT and Bard. Our best fine-tuned 7 Billion CodeLlama model exhibit 70% and 20% gain on the F1 score against ChatGPT and Bard respectively.
[ -0.26990440487861633, -0.599345862865448, 0.40742984414100647, -0.21288183331489563, -0.38296428322792053, 0.1456611156463623, -0.3366028964519501, -0.6921054720878601, 0.2276383638381958, 0.9421366453170776, -0.46217870712280273, -0.4648146629333496, -0.5487592816352844, -0.028610743582248688, -0.6118759512901306, 1.3255773782730103, 0.051950328052043915, -0.23621657490730286, 0.012945389375090599, 0.17501823604106903, -0.3694710433483124, -0.1887863129377365, -0.18627221882343292, -0.19355428218841553, 0.38063424825668335, 0.7089314460754395, 0.5918344259262085, 0.26785096526145935, 0.6916919350624084, 0.23225486278533936, -0.27631184458732605, 0.17516319453716278, -0.39826199412345886, 0.20889753103256226, 0.005343646742403507, -0.5729161500930786, -0.5310243964195251, -0.05613865703344345, 0.32130518555641174, 0.5968126058578491, 0.1113165020942688, 0.26059606671333313, 0.22703653573989868, 0.8391953706741333, -0.2658449411392212, 0.2884865999221802, -0.4664001762866974, -0.07858718931674957, -0.022458313032984734, -0.12364272028207779, -0.3056384325027466, -0.4721546471118927, 0.44279366731643677, -0.4649840295314789, 0.03836779296398163, -0.23731394112110138, 0.9153382182121277, 0.1833040416240692, -0.1618073433637619, -0.7333132028579712, -0.5145748257637024, 0.5428220629692078, -1.0188026428222656, -0.07994141429662704, 0.24786201119422913, 0.16808009147644043, -0.18192274868488312, -0.8873708844184875, -0.23447749018669128, -0.31764474511146545, -0.18700364232063293, -0.044179730117321014, -0.07467880100011826, -0.04801708459854126, 0.38776639103889465, 0.5145934224128723, -0.5445256233215332, -0.15250414609909058, -0.7181190848350525, 0.04061133414506912, 0.7022422552108765, -0.17394353449344635, 0.559246301651001, -0.4295545816421509, -0.27898505330085754, 0.2907918393611908, -0.743420422077179, 0.18974080681800842, 0.22172050178050995, 0.06764955073595047, -0.2558773159980774, 0.8417711853981018, -0.17890846729278564, 0.4864330589771271, -0.45434775948524475, -0.03054819628596306, 0.10089335590600967, -0.445331871509552, -0.15458384156227112, -0.3990998864173889, 0.654045820236206, 0.31309592723846436, 0.760473906993866, -0.34782716631889343, -0.41600915789604187, -0.19133010506629944, 0.6277345418930054, -0.9849237203598022, -0.5505595803260803, 0.21370373666286469, -0.6781091690063477, -0.4956843852996826, 0.30056267976760864, -0.7651420831680298, -0.3396964967250824, -0.44492968916893005, 0.13026441633701324, -0.6191317439079285, -0.3926597237586975, 0.014913578517735004, -0.3234870731830597, 0.29165932536125183, 0.23841330409049988, -0.9720468521118164, 0.018877197057008743, 0.9610562324523926, 1.1720887422561646, -0.0860072672367096, 0.14135318994522095, -0.42681801319122314, -0.3331453204154968, -0.21467867493629456, 0.8778414130210876, -0.2754634618759155, -0.38959288597106934, -0.10347957909107208, 0.03557568043470383, 0.2703322470188141, -0.48961544036865234, 0.17107504606246948, -0.4239664673805237, 0.045834992080926895, -0.13094504177570343, -0.5637718439102173, -0.41886818408966064, 0.13657714426517487, -0.6608524322509766, 0.8277913928031921, 0.38450759649276733, -0.7364500761032104, 0.2099418193101883, -0.9304028749465942, -0.5990386009216309, 0.17672927677631378, -0.14829093217849731, -0.3879460096359253, 0.4775029420852661, -0.18536724150180817, 0.40888717770576477, -0.16307252645492554, 0.35505211353302, -0.42127302289009094, -0.25609585642814636, 0.5716185569763184, -0.007880041375756264, 0.8173466324806213, 0.41688552498817444, -0.26574039459228516, 0.1692989319562912, -0.5984662175178528, 0.09677178412675858, -0.23920322954654694, -0.313457727432251, -0.3926754593849182, 0.28830060362815857, 0.08712020516395569, 0.33473142981529236, 0.25381991267204285, -0.36620888113975525, 0.24883103370666504, -0.6053953170776367, 0.6540146470069885, 0.29631876945495605, -0.13168635964393616, 0.3825876712799072, -0.4299706816673279, 0.9387375712394714, -0.2811982333660126, -0.26991593837738037, -0.6370132565498352, -0.6099030375480652, -0.3270930349826813, -0.46362271904945374, 0.44528260827064514, 0.6487957835197449, -0.9670836925506592, 0.5785550475120544, -0.17331548035144806, -0.7623847126960754, -0.22642309963703156, 0.19446878135204315, 0.36319467425346375, 0.4084705114364624, 0.11608481407165527, -0.311939001083374, -0.4324290156364441, -0.7270758152008057, -0.3104464113712311, -0.21335484087467194, -0.3725806474685669, -0.03308030590415001, 0.60765141248703, -0.2429938167333603, 1.1392349004745483, -0.835806667804718, -0.06560999155044556, -0.45607736706733704, 0.11829584836959839, 0.16134317219257355, 0.4137685298919678, 0.5841759443283081, -0.6336861252784729, -0.12084337323904037, 0.13075821101665497, -0.8223078846931458, -0.4625815451145172, 0.009557667188346386, 0.0024980793241411448, 0.020650094375014305, 0.8182574510574341, -0.41827788949012756, 0.2686755955219269, 0.72596275806427, -0.483547180891037, 0.514662504196167, -0.1476459801197052, 0.05667382478713989, -1.2899565696716309, 0.30194538831710815, 0.10589884966611862, -0.4914570152759552, -0.4144585132598877, 0.40647390484809875, 0.2007826715707779, -0.32758480310440063, -0.22372011840343475, 0.44238296151161194, -0.5391757488250732, -0.2887970209121704, -0.4351852834224701, 0.317226767539978, -0.00034383111051283777, 0.32095468044281006, -0.13780231773853302, 0.8088874220848083, 0.3125292956829071, -0.45122188329696655, 0.25586098432540894, 0.15715977549552917, -0.5463187098503113, 0.00472945487126708, -0.7923698425292969, -0.074162557721138, 0.09560109674930573, 0.06262790411710739, -1.225034475326538, -0.37643906474113464, 0.06927726417779922, -0.38234421610832214, 0.15303140878677368, -0.22519797086715698, -0.4480801224708557, 0.005991823971271515, -0.5819290280342102, 0.12648701667785645, 0.8331979513168335, -0.41198548674583435, 0.4142131805419922, 0.8116092085838318, -0.6481664776802063, -0.13170219957828522, -0.785622239112854, 0.05106943100690842, -0.3447284996509552, -0.6713829636573792, 0.05888641998171806, 0.0679812803864479, -0.2690032124519348, -0.21857956051826477, -0.12754260003566742, 0.002876752056181431, 0.4481598138809204, 0.44316864013671875, 0.2747390568256378, -0.3200252056121826, 0.2846265733242035, 0.193036749958992, -0.14738471806049347, 0.03778388723731041, -0.3590342402458191, 0.23854106664657593, -0.12738007307052612, 0.02519553154706955, -0.1700829118490219, 0.34984058141708374, 0.5160183310508728, -0.466081827878952, 0.2159440964460373, 0.45233651995658875, -0.2290453016757965, -0.2213854342699051, -0.15668943524360657, -0.09660765528678894, -0.44488269090652466, 0.5667418241500854, -0.2758813798427582, -1.115193486213684, 0.5947466492652893, -0.3159819543361664, 0.6487656831741333, 0.37973257899284363, 0.3144350051879883, -0.2888275384902954, 0.44381749629974365, 0.8665201663970947, 0.3002414107322693, 0.9067938923835754, -0.14846982061862946, 0.1709090769290924, -0.5504403114318848, -0.0015973543049767613, -0.8406112194061279, -0.22235646843910217, -0.7593289613723755, -0.31293097138404846, 0.22461168467998505, 0.4643407166004181, 0.39997175335884094, 0.6889784336090088, -0.4574200212955475, 0.42482802271842957, 0.2806853950023651, -0.06760237365961075, 0.34581518173217773, 0.04667950049042702, 0.17991410195827484, 0.00836882647126913, -0.42755600810050964, -1.016430139541626, 1.1505409479141235, 0.4830600321292877, 0.7628494501113892, 0.33391422033309937, 0.6750779747962952, 0.43667155504226685, 0.39660733938217163, -0.921379804611206, 0.6429076194763184, -0.5794247984886169, -0.3606548011302948, -0.23361100256443024, -0.36205241084098816, -0.929753839969635, 0.06892867386341095, -0.07078105211257935, -0.8578231930732727, -0.15633906424045563, 0.1278851181268692, -0.38902151584625244, 0.04861292615532875, -1.3054711818695068, 0.9124476909637451, 0.06616345047950745, 0.2180139422416687, -0.12066967040300369, -0.6336743831634521, 0.5785560011863708, -0.27532583475112915, 0.3586377501487732, -0.07122094929218292, -0.2875564992427826, 0.7227981090545654, -0.4714994430541992, 0.7663783431053162, 0.06868674606084824, -0.6647219061851501, 0.48477980494499207, 0.08468534052371979, 0.278422474861145, 0.34021297097206116, -0.07471910864114761, 0.3049432933330536, 0.2545167803764343, -0.2485640048980713, -0.48675015568733215, 0.4859200716018677, -0.3311058282852173, -0.21901585161685944, 0.04217270761728287, -0.5042307376861572, 0.17196124792099, 0.2929926812648773, 0.2184019833803177, 0.7418845891952515, -0.1574523001909256, 0.2728244960308075, 0.5032024383544922, -0.23307529091835022, 0.9552732110023499, 0.30213406682014465, -0.4917023181915283, -0.3688526451587677, 0.7670862674713135, 0.038222748786211014, 0.4444521367549896, 0.39999285340309143, -0.10386715829372406, -0.07000533491373062, -0.5235031247138977, -0.35557296872138977, 0.0753404051065445, -0.526652455329895, -0.08988472819328308, -0.6532499194145203, -0.2597506642341614, -0.3339116871356964, -0.2477295994758606, -0.21567684412002563, -0.7842909097671509, -0.34839245676994324, 0.04870237037539482, 0.3306836783885956, 0.9187794327735901, 0.2916751503944397, 0.5011942982673645, -1.169816017150879, 0.6269516348838806, -0.022420328110456467, 0.31628134846687317, -0.45522621273994446, -0.5253995060920715, -0.511318027973175, -0.08445834368467331, -0.4339120090007782, -1.0521628856658936, 0.40940427780151367, -0.10718818008899689, 0.11199669539928436, 0.24399827420711517, -0.040129177272319794, 0.24414393305778503, -0.21601346135139465, 0.7281979918479919, -0.0044199624098837376, -0.8827934265136719, 0.48833876848220825, -0.2305021584033966, 0.6076564788818359, 0.5161454677581787, -0.20109127461910248, -0.4858558177947998, -0.6659838557243347, -0.6848627328872681, -0.7982250452041626, 0.7753581404685974, 0.2699836492538452, 0.1334758698940277, 0.12157043069601059, 0.5434970259666443, 0.25495418906211853, 0.333321750164032, -0.673172652721405, 0.20653922855854034, 0.06706313043832779, -0.4044508934020996, -0.01412508636713028, -0.3702060878276825, 0.14510369300842285, 0.19042105972766876, 0.5969992280006409, -0.3087766766548157, 0.09242513030767441, 0.1545034945011139, -0.3173612952232361, 0.2085038423538208, 0.4824378490447998, 0.855518639087677, 0.846649706363678, -0.06216691806912422, 0.10258982330560684, -0.19094257056713104, -0.639929473400116, -0.2787170708179474, 0.3041743040084839, -0.3589424788951874, 0.18869468569755554, 0.677910327911377, 0.40663012862205505, 0.20590989291667938, -0.9549330472946167, 0.32846853137016296, -0.10470656305551529, -0.10702492296695709, -0.35175997018814087, 0.4702514708042145, 0.08752726763486862, 0.3742157816886902, 0.1291995644569397, 0.2547076642513275, 0.21118009090423584, -0.41034117341041565, 0.5140228867530823, 0.3994830548763275, -0.4905625283718109, -0.4442884027957916, 0.4200981557369232, 0.5547642111778259, -0.5857981443405151, 0.17890653014183044, -0.38937240839004517, -0.3129953145980835, 0.8701301217079163, 0.023946613073349, 1.0263603925704956, 0.17251697182655334, 0.20612676441669464, 0.28298965096473694, 0.4824700653553009, -0.1346776783466339, 0.3630125820636749, -0.11673571914434433, -0.3581972122192383, -0.5731500387191772, -0.44708237051963806, -0.11241123825311661, -0.012714103795588017, -0.4604000449180603, 0.6818520426750183, -0.2497294545173645, -0.07903291285037994, 0.28001663088798523, 0.020450405776500702, -0.04043038561940193, -0.04796318709850311, -0.058716218918561935, 0.87192302942276, -0.6213384866714478, 0.9334557056427002, 0.798873245716095, -0.4736670255661011, -0.6835348010063171, 0.12310177087783813, -0.0834813192486763, -0.33155733346939087, 0.07303564250469208, 0.33724701404571533, 0.09528118371963501, -0.05341876298189163, -0.5089632868766785, -0.5804989337921143, 0.9825347065925598, 0.393521785736084, -0.7516835927963257, -0.30689460039138794, -0.36348551511764526, 0.5627813339233398, -0.5533728003501892, 0.41728970408439636, 0.7066524624824524, 0.14832057058811188, -0.19589723646640778, -0.7929293513298035, 0.017441924661397934, -0.34629714488983154, -0.039877261966466904, 0.34871146082878113, -0.31211337447166443, 0.6263775825500488, -0.43064984679222107, -0.07311975955963135, 0.18580535054206848, 0.5610732436180115, 0.216318279504776, 0.1224387064576149, 0.47052136063575745, -0.010341217741370201, 0.44793590903282166, -0.07572188228368759, 1.0863665342330933, -0.17534476518630981, 0.4538947343826294, 1.2046432495117188, 0.004784864839166403, 0.6000245213508606, 0.5252498984336853, 0.06001283973455429, 0.4496880769729614, 0.41957882046699524, -0.019551139324903488, 0.33197054266929626, 0.19210700690746307, 0.07857567816972733, 0.073210209608078, 0.3705800473690033, -0.3280249834060669, 0.45767924189567566, 0.33890265226364136, -0.4342975318431854, -0.23886814713478088, -0.20883925259113312, 0.2960938513278961, 0.017022788524627686, 0.022697335109114647, 1.012668490409851, 0.34681472182273865, -1.066750168800354, 0.23637211322784424, 0.14880478382110596, 0.6919480562210083, -0.6023091673851013, -0.16598086059093475, -0.13824400305747986, 0.14839869737625122, -0.29666051268577576, -0.9157578349113464, 0.6068045496940613, 0.2834116518497467, -0.1887400597333908, -0.1897190660238266, 0.7583061456680298, -0.6520970463752747, -0.32581111788749695, 0.25960397720336914, 0.44171854853630066, 0.2630281448364258, -0.030462928116321564, -0.5879859328269958, -0.22847719490528107, 0.39673081040382385, -0.474422425031662, 0.1645614504814148, 0.6558905839920044, 0.06793341785669327, 0.4447806477546692, 0.5828237533569336, 0.17295429110527039, -0.06667681783437729, -0.1301424503326416, 0.7980841398239136, -0.8541252613067627, -0.743036687374115, -0.8743016123771667, 0.8853632211685181, -0.19535233080387115, -0.4042661786079407, 0.372763454914093, 0.511693000793457, 0.5375550389289856, -0.26455187797546387, 0.8221529126167297, -0.3556816279888153, 0.49465182423591614, -0.6959030628204346, 0.8164976239204407, -0.5242782235145569, 0.6164947152137756, -0.38463878631591797, -0.6931687593460083, -0.18960194289684296, 0.36118441820144653, -0.07327445596456528, 0.005901172291487455, 0.829269289970398, 0.8114081025123596, -0.033216338604688644, 0.2868388295173645, 0.2384399175643921, -0.0690465196967125, 0.6146861910820007, 0.4027923345565796, 0.701208233833313, -0.43885594606399536, 0.6689857244491577, 0.10427837073802948, -0.43732792139053345, -0.2642277181148529, -0.9382508397102356, -0.9655970931053162, -0.551314115524292, -0.47511738538742065, -0.350289523601532, -0.35032832622528076, 0.6552716493606567, 0.7079400420188904, -0.6998634338378906, -0.2583363652229309, -0.1823028326034546, 0.36542820930480957, -0.08075515180826187, -0.2562403976917267, -0.06067351996898651, -0.6108708381652832, -0.47357556223869324, 0.24744336307048798, 0.4448455274105072, 0.020217234268784523, -0.18445689976215363, 0.10064636170864105, -0.19818586111068726, 0.04076683893799782, 0.6210074424743652, 0.2702087163925171, -0.5706157684326172, -0.22154484689235687, -0.07845400273799896, -0.32360661029815674, -0.08809372782707214, 1.219264268875122, -0.48775503039360046, 0.3163098990917206, 0.7317282557487488, 0.6921199560165405, 0.28533700108528137, 0.08066387474536896, 0.7481386065483093, -0.7842860221862793, 0.14004193246364594, -0.1176535040140152, 0.3491448163986206, 0.0856604129076004, -0.2763918340206146, 0.7667855024337769, -0.03625137731432915, -0.49709752202033997, -0.7218031883239746, 0.296875536441803, -1.0981295108795166, -0.5457059144973755, 1.2466988563537598, -0.5097092986106873, -0.08596745133399963, -0.2781151831150055, -0.4100225269794464, 0.31343507766723633, -0.36165091395378113, 0.75898677110672, 0.8071388602256775, 0.15415239334106445, -0.14440348744392395, -0.8319933414459229, 0.5775874853134155, 0.31439337134361267, -1.3581513166427612, 0.21422606706619263, 0.5816614627838135, 0.3291662633419037, 0.26869234442710876, 0.6226717829704285, -0.33044520020484924, 0.35960695147514343, -0.25304171442985535, 0.3456273674964905, -0.027026649564504623, -0.21712739765644073, -0.46812233328819275, 0.4567161202430725, 0.07652968168258667, -0.21824268996715546 ]
http://arxiv.org/abs/2403.10185v2
http://arxiv.org/pdf/2403.10185v2
Can Factual Statements be Deceptive? The DeFaBel Corpus of Belief-based Deception
2024-03-15T10:46:00
2024-05-10T06:58:04
Aswathy Velutharambath, Amelie Wührl, Roman Klinger
cs.CL
cs.CL
If a person firmly believes in a non-factual statement, such as "The Earth is flat", and argues in its favor, there is no inherent intention to deceive. As the argumentation stems from genuine belief, it may be unlikely to exhibit the linguistic properties associated with deception or lying. This interplay of factuality, personal belief, and intent to deceive remains an understudied area. Disentangling the influence of these variables in argumentation is crucial to gain a better understanding of the linguistic properties attributed to each of them. To study the relation between deception and factuality, based on belief, we present the DeFaBel corpus, a crowd-sourced resource of belief-based deception. To create this corpus, we devise a study in which participants are instructed to write arguments supporting statements like "eating watermelon seeds can cause indigestion", regardless of its factual accuracy or their personal beliefs about the statement. In addition to the generation task, we ask them to disclose their belief about the statement. The collected instances are labelled as deceptive if the arguments are in contradiction to the participants' personal beliefs. Each instance in the corpus is thus annotated (or implicitly labelled) with personal beliefs of the author, factuality of the statement, and the intended deceptiveness. The DeFaBel corpus contains 1031 texts in German, out of which 643 are deceptive and 388 are non-deceptive. It is the first publicly available corpus for studying deception in German. In our analysis, we find that people are more confident in the persuasiveness of their arguments when the statement is aligned with their belief, but surprisingly less confident when they are generating arguments in favor of facts. The DeFaBel corpus can be obtained from https://www.ims.uni-stuttgart.de/data/defabel
[ -0.3097412884235382, -1.1404448747634888, 0.7745326161384583, 0.10380508750677109, -0.20785319805145264, 0.03266769275069237, -0.14327523112297058, -0.455188512802124, 0.3558504581451416, 0.35576730966567993, -0.46494096517562866, -0.6586527824401855, -0.7157774567604065, 0.5107102394104004, -0.5722723603248596, 1.050294280052185, -0.017521420493721962, 0.007130162324756384, -0.6072606444358826, -0.08576679974794388, -0.38204672932624817, -0.5359445214271545, -0.09364186972379684, -0.07945294678211212, 0.45777830481529236, 0.3607389032840729, 0.7332412004470825, 0.4330252707004547, 0.2920001149177551, 0.4005889892578125, 0.1278132051229477, 0.0047092130407691, -0.6155827045440674, 0.3523576855659485, -0.48448675870895386, -0.7488418221473694, 0.3798610270023346, 0.4019772410392761, 0.2567932903766632, 0.5967392921447754, -0.1575896143913269, 0.26986321806907654, -0.20803992450237274, 0.49097365140914917, -0.5201022624969482, 0.1234411895275116, -0.7086866497993469, -0.0086757717654109, -0.2632277011871338, -0.05043288320302963, -0.5690995454788208, -0.829545259475708, 0.07834074646234512, -0.4872056841850281, 0.5848766565322876, 0.05953924357891083, 1.1500898599624634, 0.5183568000793457, -0.3150431215763092, -0.6117426156997681, -0.6623471975326538, 0.5290133357048035, -0.6178594827651978, 0.22557996213436127, 0.50496506690979, 0.010464707389473915, -0.12590433657169342, -0.5678873062133789, -0.8417338132858276, -0.5537306666374207, -0.4077402353286743, 0.20844539999961853, -0.2580229341983795, 0.024243474006652832, 0.47250810265541077, 0.45595523715019226, -0.6049543023109436, -0.24909023940563202, -0.1736176609992981, -0.4340912103652954, 0.4314551055431366, -0.2512925863265991, 0.3035113215446472, -0.1477920114994049, -0.6190858483314514, -0.0870492085814476, -0.4368549585342407, -0.29959413409233093, 0.5677436590194702, 0.0003001255390699953, -0.14084386825561523, 0.6314639449119568, -0.19733119010925293, 0.5567642450332642, 0.5882862210273743, -0.369731068611145, 0.13871613144874573, -0.1356501579284668, -0.3858194649219513, 0.6554487943649292, 0.45037174224853516, 0.2540929913520813, 0.2900807559490204, -0.02706657536327839, -0.06994232535362244, 0.837765634059906, 0.30371972918510437, -0.7763248085975647, -0.3297225534915924, 0.3572428524494171, -0.36893430352211, -0.5947839021682739, 0.4515514671802521, -0.8699482083320618, -0.6375567317008972, -0.031167928129434586, 0.08294112235307693, -0.6575459241867065, -0.0859861671924591, 0.12209457159042358, -0.23872010409832, -0.13675659894943237, 0.1360178291797638, -0.8287270665168762, 0.23178857564926147, 0.4199483096599579, 0.36377590894699097, 0.16713328659534454, -0.11105934530496597, -0.32392966747283936, 0.1432369202375412, -0.644616425037384, 0.9517197012901306, -0.6635780334472656, -0.4423427879810333, 0.18094795942306519, 0.18706783652305603, -0.12887364625930786, -0.5905774235725403, 1.0501227378845215, -0.4744745194911957, 0.49673327803611755, -0.5206106305122375, -0.5794560313224792, -0.5532744526863098, 0.1459084153175354, -0.5892515182495117, 0.8543479442596436, -0.0447903648018837, -0.7201371788978577, 0.4138002395629883, -0.397850900888443, -0.685425877571106, -0.013257685117423534, -0.6003825068473816, -0.248672753572464, 0.32011789083480835, -0.1614140272140503, 0.05241664499044418, -0.25442269444465637, 0.4088343679904938, -0.029236631467938423, -0.035237982869148254, 0.9575050473213196, -0.8729875087738037, 0.6688212156295776, 0.11245810985565186, -0.7905077338218689, -0.2815791666507721, -0.51362544298172, -0.12350428104400635, 0.22425462305545807, -0.3463762700557709, -0.37453508377075195, 0.019074130803346634, -0.30097517371177673, -0.024378962814807892, 0.35099348425865173, -0.928552508354187, 0.14126816391944885, -0.5873504877090454, -0.11368326842784882, 0.5656242370605469, 0.12161698192358017, 0.008987692184746265, -0.3997543752193451, 0.23689022660255432, 0.169778510928154, 0.01762542501091957, -0.05294743552803993, -0.4429749846458435, -0.4941869378089905, -0.11099596321582794, 0.5599021315574646, 0.47228699922561646, -0.5438185930252075, 0.3752063810825348, -0.24120725691318512, -0.35654234886169434, -0.6898000836372375, -0.1203247532248497, 0.6332910656929016, 0.927047073841095, 0.31480178236961365, 0.2925524413585663, -0.3653850853443146, -1.1924887895584106, -0.087893046438694, -0.46540072560310364, -0.08808434754610062, -0.03416234254837036, 0.6572322845458984, 0.01587696373462677, 0.9927195310592651, -0.7608795762062073, -0.3327273428440094, 0.09657757729291916, 0.4165848195552826, 0.03421006351709366, 0.09306968748569489, 0.8298338055610657, -1.4169172048568726, -0.44532689452171326, -0.016261355951428413, -0.8864080309867859, -0.3284531533718109, -0.08633986860513687, 0.13722296059131622, 0.7336433529853821, -0.08421578258275986, -0.6499899625778198, 0.7070015072822571, 0.5874078869819641, -0.8336368203163147, 0.6176703572273254, -0.23020435869693756, 0.30861136317253113, -0.5824863910675049, -0.12473028153181076, -0.0070367916487157345, -0.028612250462174416, -0.5141388177871704, -0.19426225125789642, -0.06293923407793045, 0.40616896748542786, -0.40777355432510376, 0.19497138261795044, -0.22293204069137573, 0.3102017939090729, -0.29604682326316833, 0.07513156533241272, 0.4104943573474884, 0.2846428155899048, 0.07480394095182419, 0.5386740565299988, 0.46443477272987366, -0.5365917086601257, 0.45358532667160034, 0.41966256499290466, -0.3982028365135193, 0.758689820766449, -0.32833102345466614, -0.21017317473888397, -0.4458496868610382, 0.2326699197292328, -1.0865697860717773, -0.38854047656059265, 0.5862722992897034, -0.5843278765678406, 0.16481231153011322, 0.13856013119220734, -0.2919576168060303, -0.04355090484023094, -0.04486330598592758, -0.15221147239208221, 0.32883623242378235, -0.5314936637878418, 0.6098206043243408, 0.009810308925807476, 0.1782464236021042, -0.5157656073570251, -1.0701111555099487, 0.0519256591796875, -0.38798007369041443, -0.5909325480461121, 0.7327013611793518, -0.18140250444412231, -0.7419445514678955, 0.3156694173812866, -0.4860471189022064, 0.03470756486058235, -0.1207030713558197, 0.480088472366333, 0.27962934970855713, -0.02674572542309761, 0.17918461561203003, -0.09935782104730606, -0.11909954994916916, 0.18002988398075104, -0.12761540710926056, 0.3448111116886139, -0.16934865713119507, -0.457351952791214, -0.5456416010856628, 0.2913697063922882, 0.4300113916397095, 0.233010396361351, 0.8862488269805908, 0.2912862300872803, -0.24165041744709015, 0.04322134703397751, -0.7989346981048584, -0.22424378991127014, -0.44808873534202576, -0.2136521339416504, -0.4213393032550812, -0.4155679941177368, 0.20632408559322357, -0.15950147807598114, -0.1292644590139389, 0.5404815673828125, 0.519300639629364, -0.2987161874771118, 0.5480836629867554, 0.28007107973098755, 0.13088034093379974, -0.07457464188337326, -0.1548207402229309, 0.0791965052485466, -0.1223195493221283, -0.3891561031341553, -0.4799218475818634, -0.27746254205703735, -0.6686956882476807, -0.3433086574077606, 0.10714265704154968, -0.2183309644460678, 0.03535553440451622, -0.014692447148263454, -0.5931810736656189, 0.38418176770210266, 0.27030760049819946, -0.04660675302147865, 0.2901919186115265, 0.14813871681690216, -0.29031533002853394, -0.1037939265370369, -0.45650139451026917, -0.7950921058654785, 0.5199241638183594, 0.26648443937301636, 0.4740840494632721, 0.40216219425201416, 0.5677754282951355, 0.5687642693519592, 0.3418843448162079, -0.7160587906837463, 0.537537157535553, 0.0022084468510001898, -1.0586507320404053, -0.1629592776298523, -0.3698875606060028, -0.8690729737281799, 0.12081076949834824, -0.18961793184280396, -0.7058376669883728, 0.33689841628074646, 0.0036264897789806128, -0.31161782145500183, 0.14605629444122314, -0.794365406036377, 0.6915413737297058, -0.6397767663002014, -0.4788607060909271, -0.21442849934101105, -0.661770224571228, 0.26530128717422485, -0.1390867680311203, 0.280803918838501, -0.22484655678272247, 0.13654689490795135, 0.7390953302383423, -0.33351361751556396, 1.1467559337615967, -0.3720913231372833, -0.40214967727661133, 0.5856227278709412, 0.34596672654151917, 0.4554447531700134, 0.17641256749629974, -0.1671716868877411, 0.29592660069465637, 0.1636231392621994, -0.2777639329433441, -0.77898770570755, 0.6258736848831177, -0.5220060348510742, -0.9966609477996826, -0.5857483744621277, -0.1270231008529663, -0.1220787838101387, 0.13125838339328766, 0.2890772223472595, 0.5278155207633972, -0.5563470721244812, 0.1649949550628662, 0.9773561358451843, -0.2132088840007782, 0.0911664143204689, 0.5533002018928528, -0.21005268394947052, -0.2115037441253662, 0.8852349519729614, 0.03340078517794609, 0.31061163544654846, 0.6308809518814087, 0.5595104098320007, -0.6141061782836914, -0.33458393812179565, -0.03351598232984543, 0.2912178337574005, -0.6610330939292908, -0.1783396601676941, -0.19447365403175354, 0.21401560306549072, -0.5180650949478149, -0.10358186811208725, -0.13883614540100098, -0.34074485301971436, -0.015504729002714157, -0.50477534532547, 0.4358980655670166, 0.6129693388938904, -0.060068279504776, 0.14074359834194183, -0.45633694529533386, 0.6268122792243958, 0.16713964939117432, 0.09590840339660645, -0.5601423978805542, -0.3077623248100281, 0.06295573711395264, 0.5888053178787231, -0.30093324184417725, -1.1618156433105469, 0.25825127959251404, -0.2562404274940491, 0.40373364090919495, 0.9389352202415466, 0.43625810742378235, 0.42955464124679565, -0.16099713742733002, 0.8058446049690247, 0.3016902506351471, -0.7866182327270508, 0.32697078585624695, -0.09631316363811493, -0.0903235450387001, 0.6527231931686401, 0.6241706609725952, -0.5217975378036499, -0.4096011519432068, -0.9146031141281128, -0.3062233328819275, 0.35726606845855713, 0.29650041460990906, 0.03120790421962738, -0.13828733563423157, 0.020312432199716568, 0.5155752897262573, 0.37440869212150574, -0.6079217791557312, -0.653661847114563, -0.5099505186080933, -0.2898501753807068, 0.3822329342365265, -0.3725567162036896, -0.698505699634552, -0.1305922567844391, 0.5869194865226746, -0.21104615926742554, 0.31878548860549927, 0.518274188041687, 0.06845071166753769, -0.0970185250043869, 0.1792861819267273, 0.696675717830658, 0.6641473174095154, -0.10206552594900131, 0.625349223613739, 0.09734030812978745, -0.5012430548667908, 0.1325635015964508, 0.31190818548202515, -0.3773374557495117, 0.315327912569046, 0.35931193828582764, 0.7659605145454407, 0.2564813494682312, -0.6305554509162903, 0.4480319321155548, 0.10962022840976715, -0.4632289409637451, -0.5322908163070679, -0.10956526547670364, 0.09080567210912704, 0.03214980289340019, 0.4361361861228943, 0.05653951317071915, -0.17634885013103485, -0.6867888569831848, 0.008223818615078926, 0.3143564462661743, -0.09957814961671829, -0.42674657702445984, 0.6825655698776245, 0.042656250298023224, 0.06934854388237, 0.5769015550613403, -0.12260004132986069, -0.5208562016487122, 0.4568386673927307, 0.5654411315917969, 0.5659152269363403, -0.25113603472709656, 0.8499757647514343, 0.14950570464134216, 0.2632228434085846, 0.204509437084198, 0.1147696003317833, 0.11177213490009308, -0.935642659664154, -0.15609872341156006, -0.7010728120803833, -0.0926329642534256, 0.22459819912910461, -0.1531888246536255, -0.026063552126288414, -0.15291284024715424, -0.15518522262573242, 0.022132838144898415, -0.020419543609023094, -0.31126707792282104, 0.32150357961654663, 0.3177001178264618, 0.8707911968231201, -0.7039169073104858, 0.6315100193023682, 0.5712397694587708, -0.6846610307693481, -0.44829097390174866, 0.5116888880729675, 0.225230872631073, -0.5910928845405579, 0.6014592051506042, 0.048945505172014236, -0.22747400403022766, -0.22097840905189514, -0.6821357607841492, -0.8555921912193298, 0.7562010884284973, 0.5189166069030762, -0.2578474283218384, -0.051206570118665695, 0.6853393912315369, 0.5230294466018677, -0.3006010353565216, 0.0025786508340388536, 0.4774777293205261, 1.1401162147521973, 0.3946816623210907, -0.41424161195755005, 0.3407139778137207, 0.39858636260032654, -0.2708103358745575, -0.05786541476845741, -0.639471709728241, 0.5514622330665588, -0.18505701422691345, -0.7363874912261963, -0.13179022073745728, 0.8391450047492981, 0.11583831906318665, 0.47203296422958374, 0.47783201932907104, 0.43996140360832214, 1.091869831085205, -0.20234909653663635, 1.131709337234497, -0.34306174516677856, 0.0755329579114914, 0.7272905111312866, -0.3696883022785187, 0.3650512397289276, 0.501125156879425, -0.07535611093044281, 0.962092936038971, 0.4789980947971344, -0.21053682267665863, 0.5577006340026855, 0.10482089221477509, -0.3958840072154999, -0.08443943411111832, -0.31223979592323303, 0.00793488696217537, 0.5278009176254272, 0.6659709215164185, -0.29699060320854187, -0.188207745552063, -0.027476923540234566, 0.3436534106731415, 0.5289700031280518, 0.10285169631242752, 0.43692389130592346, 0.008371394127607346, -0.7005221247673035, 0.7028768062591553, 0.04007650911808014, 0.4072986841201782, -0.5322855710983276, -0.1193106546998024, -0.12773534655570984, -0.11071830987930298, -0.6082252264022827, -0.7698085904121399, 0.4520380198955536, -0.05856841057538986, -0.1261598765850067, -0.34687888622283936, 0.9261724352836609, -0.2886500656604767, -0.26365959644317627, -0.10829508304595947, 0.43089693784713745, 0.22234351933002472, 0.029353661462664604, -0.474185973405838, 0.06333388388156891, 0.2099584937095642, -0.2927185595035553, 0.18014676868915558, 0.5822561979293823, 0.125992089509964, 0.36004698276519775, 0.7293545007705688, -0.01691615767776966, -0.2164805382490158, -0.17123866081237793, 0.6444401741027832, -0.5117774605751038, -0.158227801322937, -0.9394853115081787, 0.36223259568214417, -0.21558503806591034, -0.061947017908096313, 0.9709164500236511, 0.6629482507705688, 0.7050526142120361, -0.15800318121910095, 1.016901969909668, -0.406002402305603, 0.4733998775482178, -0.48805710673332214, 0.4630693793296814, -0.09395232051610947, -0.1302582323551178, 0.13265585899353027, -0.7078967690467834, 0.08891615271568298, 0.6485682725906372, -0.7299763560295105, -0.11963377147912979, 0.966931939125061, 0.5659515857696533, 0.21026112139225006, 0.37550753355026245, 0.4493691921234131, 0.6755849123001099, 0.06064706668257713, 0.0357140451669693, 0.8441798090934753, -0.13651739060878754, 0.37756165862083435, -0.3556317985057831, -0.24084803462028503, -0.17211785912513733, -0.7082566022872925, -0.6013076901435852, -0.6085836291313171, -0.6850057244300842, -0.5011888742446899, -0.10343105345964432, 0.47780925035476685, 0.04892315715551376, -0.6429737210273743, 0.10972511768341064, -0.1631597876548767, 0.29331356287002563, -0.23752616345882416, -0.37398195266723633, 0.31423255801200867, 0.018289577215909958, -0.9995813369750977, 0.5356361269950867, 0.04649568349123001, 0.1896069198846817, -0.34581565856933594, 0.19378462433815002, -0.14513376355171204, 0.3885788917541504, 0.40692904591560364, 0.3995074927806854, -0.7557387948036194, -0.48791688680648804, -0.07649705559015274, -0.08870772272348404, 0.05034421756863594, 0.5768110156059265, -1.0182180404663086, 0.25022026896476746, 0.23317177593708038, 0.28456997871398926, 0.2913581430912018, 0.51497483253479, 0.2874417304992676, -0.8188888430595398, 0.08920872211456299, 0.23934254050254822, 0.21923382580280304, 0.35542258620262146, -0.5823694467544556, 0.3350714445114136, 0.6026052236557007, -0.3048584759235382, -0.7076337337493896, 0.2975102663040161, -0.884801983833313, -0.7257379293441772, 1.3694859743118286, 0.10131628066301346, -0.42931219935417175, -0.18539699912071228, -0.4050061106681824, 0.16540668904781342, -0.49140164256095886, 1.0528820753097534, 0.9823204278945923, -0.19453172385692596, 0.552414059638977, -0.613777220249176, 0.6752431988716125, 0.16757598519325256, -0.6076733469963074, 0.30401960015296936, 0.713083028793335, 0.2561121881008148, 0.7203381061553955, 0.25596073269844055, 0.028070781379938126, -0.09025561809539795, 0.36848360300064087, -0.16797630488872528, 0.07553889602422714, -0.17038372159004211, 0.1001683846116066, 0.39740562438964844, -0.17240199446678162, -0.2747749388217926 ]
http://arxiv.org/abs/2403.10144v2
http://arxiv.org/pdf/2403.10144v2
NLP Verification: Towards a General Methodology for Certifying Robustness
2024-03-15T09:43:52
2024-05-31T13:11:15
Marco Casadio, Tanvi Dinkar, Ekaterina Komendantskaya, Luca Arnaboldi, Matthew L. Daggitt, Omri Isac, Guy Katz, Verena Rieser, Oliver Lemon
cs.CL
cs.CL, cs.AI, cs.LG, cs.LO, cs.PL
Deep neural networks have exhibited substantial success in the field of Natural Language Processing and ensuring their safety and reliability is crucial: there are safety critical contexts where such models must be robust to variability or attack, and give guarantees over their output. Unlike Computer Vision, NLP lacks a unified verification methodology and, despite recent advancements in literature, they are often light on the pragmatical issues of NLP verification. In this paper, we attempt to distil and evaluate general components of an NLP verification pipeline, that emerges from the progress in the field to date. Our contributions are two-fold. Firstly, we give a general (i.e. algorithm-independent) characterisation of verifiable subspaces that result from embedding sentences into continuous spaces. We identify, and give an effective method to deal with, the technical challenge of semantic generalisability of verified subspaces; and propose it as a standard metric in the NLP verification pipelines (alongside with the standard metrics of model accuracy and model verifiability). Secondly, we propose a general methodology to analyse the effect of the embedding gap -- a problem that refers to the discrepancy between verification of geometric subspaces, and the semantic meaning of sentences which the geometric subspaces are supposed to represent. In extreme cases, poor choices in embedding of sentences may invalidate verification results. We propose a number of practical NLP methods that can help to quantify the effects of the embedding gap; and in particular we propose the metric of falsifiability of semantic subspaces as another fundamental metric to be reported as part of the NLP verification pipeline. We believe that together these general principles pave the way towards a more consolidated and effective development of this new domain.
[ -0.16976723074913025, -1.0107219219207764, 0.5670561194419861, 0.10805398970842361, -0.07382780313491821, 0.0527484267950058, -0.315278023481369, -0.3209257423877716, 0.0885796993970871, 0.37013205885887146, -0.1308026909828186, -0.7116526961326599, -0.7393484711647034, -0.009298257529735565, -0.6344688534736633, 0.6844024062156677, -0.248722642660141, -0.2750653326511383, -0.5499197840690613, -0.2497224509716034, -0.6685947775840759, -0.755833625793457, -0.2122335433959961, -0.095771424472332, 0.19414231181144714, -0.27807101607322693, 0.9154128432273865, 0.6592267155647278, 0.5872255563735962, 0.3498717248439789, -0.3549530804157257, 0.31825852394104004, 0.011661475524306297, 0.31763267517089844, -0.21202878654003143, -0.43296805024147034, -0.4383382797241211, -0.24057553708553314, 0.7153072357177734, 0.8117876648902893, -0.06733798235654831, -0.07564482092857361, 0.38197553157806396, 0.3970256745815277, -0.7018247842788696, -0.037114132195711136, -0.5904109477996826, 0.34374648332595825, -0.00504289148375392, -0.09758730977773666, -0.2717075049877167, -0.37693026661872864, 0.14557939767837524, -0.2532617151737213, 0.20900219678878784, -0.01786056160926819, 0.999987006187439, 0.45888540148735046, -0.46477317810058594, -0.5899601578712463, -0.9200388193130493, 0.7782886624336243, -0.6395388841629028, 0.5109841227531433, 0.478161484003067, 0.21518772840499878, -0.10555685311555862, -0.9256954789161682, -0.39267081022262573, -0.5293018221855164, -0.032845575362443924, -0.24085962772369385, -0.18740825355052948, 0.08230546116828918, 0.26399996876716614, 0.7016476392745972, -0.6010534763336182, 0.02883511781692505, 0.019466830417513847, -0.5830725431442261, 0.4761793315410614, 0.07382605969905853, 0.5792635679244995, 0.08061534911394119, -0.21784836053848267, 0.11104514449834824, -0.6029805541038513, 0.05268412083387375, 0.4420693814754486, 0.03364607319235802, -0.04486615210771561, 0.587756872177124, -0.23596052825450897, 0.6163642406463623, -0.43819746375083923, 0.0884724035859108, 0.1909431517124176, -0.6907088756561279, -0.1341089904308319, -0.5023249387741089, 0.6581082344055176, 0.27747842669487, 0.17507092654705048, -0.4498329758644104, -0.15263646841049194, 0.5880799889564514, 0.3472580909729004, -0.20466360449790955, -0.13852949440479279, 0.4603067636489868, -0.21739941835403442, -0.2699826955795288, -0.10143760591745377, -0.43939051032066345, -0.03153003007173538, -0.41361331939697266, 0.24981997907161713, -0.3288731873035431, -0.24304766952991486, 0.48100391030311584, 0.11289093643426895, 0.2506785988807678, 0.22693024575710297, -0.7709271311759949, 0.346993625164032, 1.1062703132629395, 0.7743369936943054, 0.028541995212435722, -0.3102912902832031, -0.339352548122406, -0.18675899505615234, -0.3388158679008484, 0.4739065170288086, -0.2770189046859741, -0.0030788807198405266, 0.477126806974411, -0.09700043499469757, 0.0838974192738533, -0.26625433564186096, 0.8691893219947815, -0.2427254319190979, 0.1986875981092453, -0.19017459452152252, -0.6997864246368408, -0.03790542483329773, 0.6380722522735596, -0.40063515305519104, 0.8395026922225952, -0.2435109168291092, -0.7760167717933655, 0.4852624535560608, -0.4272679090499878, -0.18477696180343628, -0.13935419917106628, -0.326859712600708, -0.3568228781223297, 0.04352908581495285, 0.20592287182807922, 0.4583040475845337, -0.10206704586744308, 0.4386311173439026, -0.42881280183792114, -0.1582598090171814, 0.41129836440086365, -0.5241260528564453, 0.9056648015975952, -0.04378997161984444, -0.23420292139053345, -0.05932832509279251, -0.8217830657958984, 0.2788674831390381, -0.14483970403671265, -0.2487618774175644, -0.15627190470695496, 0.1761312335729599, -0.09514933079481125, -0.04222015663981438, -0.041906580328941345, -0.531876802444458, 0.11140093952417374, -0.5873251557350159, 0.6165549159049988, 0.46792805194854736, 0.05698474869132042, 0.40840548276901245, 0.023533066734671593, 0.3289047181606293, -0.22254812717437744, 0.281745582818985, -0.0320243276655674, -0.7056826949119568, -0.8292415142059326, -0.03610120713710785, 0.6790573596954346, 0.5371556282043457, -0.44771528244018555, 0.8311712741851807, 0.05768556520342827, -0.08770692348480225, -0.22103948891162872, 0.2674427628517151, 0.3618738055229187, 0.33164432644844055, 0.27302631735801697, -0.5325303673744202, -0.5384884476661682, -0.7241504192352295, -0.2539271116256714, -0.32460957765579224, -0.3227614462375641, 0.056491680443286896, 0.656543493270874, -0.36992135643959045, 1.0281692743301392, -0.20833151042461395, -0.22859780490398407, 0.08212262392044067, -0.03129715099930763, 0.061442431062459946, 0.6650424003601074, 0.5981883406639099, -0.6963903903961182, -0.021770089864730835, -0.06209256872534752, -0.9901964068412781, 0.12935630977153778, -0.09178881347179413, 0.012388446368277073, -0.0423387847840786, 0.6473731994628906, -0.5838393568992615, 0.6989518404006958, 0.5470889806747437, -0.5413034558296204, 0.5232638120651245, -0.24321776628494263, -0.13995099067687988, -0.4725290536880493, 0.11853192746639252, -0.020535582676529884, -0.4226197898387909, -0.5538462996482849, 0.5825482606887817, -0.23681724071502686, 0.015199495479464531, -0.27805814146995544, 0.06631938368082047, -0.21610888838768005, 0.20128928124904633, -0.060641784220933914, 0.32523342967033386, 0.14906711876392365, 0.2809191942214966, -0.27200454473495483, 0.23842810094356537, 0.6207590103149414, -0.7300100326538086, 0.398373544216156, 0.17084696888923645, -0.2501693367958069, 0.49261754751205444, -0.9408019781112671, 0.34221750497817993, -0.06208822503685951, 0.18143434822559357, -1.0618524551391602, 0.03204923868179321, 0.40330687165260315, -0.5221317410469055, 0.13252827525138855, -0.1636129468679428, -0.5190650224685669, -0.24504630267620087, 0.04071631655097008, 0.2597794532775879, 0.4434489607810974, -0.26107674837112427, 0.5955466628074646, 0.21307598054409027, 0.11761438846588135, -0.7605307698249817, -0.8047444820404053, 0.2942129075527191, -0.08752623945474625, -0.7831517457962036, 0.22673848271369934, 0.17367126047611237, -0.4209328293800354, 0.012369568459689617, 0.012198141776025295, -0.34903091192245483, 0.5156654119491577, 0.30181190371513367, 0.12373725324869156, -0.2735868990421295, 0.033539146184921265, 0.02332378551363945, -0.41561970114707947, 0.2625388205051422, -0.36032798886299133, 0.15890319645404816, -0.5477014780044556, -0.7502397894859314, -0.37589746713638306, 0.47882604598999023, 0.31383588910102844, -0.17695528268814087, 0.3843822479248047, 0.743840754032135, -0.5359002351760864, -0.3305254876613617, -0.43061158061027527, -0.05814480036497116, -0.41397690773010254, 0.1945779174566269, -0.04414286091923714, -1.2000707387924194, 0.5598243474960327, -0.20474852621555328, 0.22271324694156647, 0.5707889199256897, 0.5157449245452881, 0.03293537348508835, 0.8532067537307739, 0.8536525368690491, 0.1219746321439743, -0.28282395005226135, -0.055770423263311386, 0.48794570565223694, -0.5844724774360657, -0.2366408109664917, -0.9338244795799255, -0.19727851450443268, -0.4272342324256897, -0.5994499325752258, -0.017718803137540817, 0.3043181598186493, -0.00697247963398695, 0.266022652387619, -0.5863009691238403, 0.541532039642334, 0.26374658942222595, -0.23136702179908752, 0.3773610293865204, -0.22399266064167023, -0.5929129719734192, -0.29868605732917786, -0.4646884799003601, -0.8420370817184448, 0.8259222507476807, 0.7891160845756531, 0.34494853019714355, 0.2232963740825653, 0.5620957016944885, 0.4015829563140869, -0.13151606917381287, -0.5297645926475525, 0.4612669348716736, -0.13222788274288177, -0.5313307642936707, -0.17500676214694977, -0.1670004278421402, -0.7332844138145447, 0.10044676810503006, -0.2888944447040558, -1.0639041662216187, 0.2080850601196289, 0.24930013716220856, -0.346590518951416, 0.24417458474636078, -0.48112115263938904, 0.7309785485267639, -0.1744430661201477, -0.21535839140415192, -0.06327705085277557, -0.6851213574409485, 0.3517647087574005, 0.2772567570209503, -0.009758291766047478, -0.21304816007614136, -0.034614045172929764, 0.32969897985458374, -0.45612242817878723, 1.0230112075805664, -0.17148837447166443, -0.19527782499790192, 0.1806643009185791, 0.046501852571964264, 0.29912641644477844, 0.26418593525886536, 0.30418622493743896, 0.36180442571640015, 0.04983281344175339, -0.23923836648464203, -0.5856831669807434, 0.40852153301239014, -0.5412814021110535, -0.3838147222995758, -0.271879643201828, -0.12667737901210785, -0.4566119909286499, 0.0839182436466217, 0.29587969183921814, 0.34638676047325134, -0.4326143264770508, 0.4885246455669403, 0.8740248680114746, -0.33256277441978455, 0.28969430923461914, -0.13824667036533356, -0.46823835372924805, -0.35814934968948364, 0.48516303300857544, -0.06787378340959549, 0.0496118888258934, 0.4038732945919037, 0.039753761142492294, -0.3582550287246704, -0.7987240552902222, -0.29516905546188354, -0.15085427463054657, -0.9353656768798828, -0.058727819472551346, -0.5405139923095703, -0.2459912896156311, -0.09511538594961166, -0.24275417625904083, -0.453065425157547, -0.5327484011650085, -0.1371210664510727, -0.04287368804216385, -0.03878461942076683, 0.7317763566970825, -0.10843490809202194, -0.10117542743682861, -0.5586932301521301, 0.27985242009162903, 0.4500645101070404, 0.5051339268684387, -0.1639329344034195, -0.3514726758003235, -0.08255353569984436, 0.022302845492959023, -0.158983513712883, -0.37602075934410095, 0.011975427158176899, 0.1789170503616333, 0.660700798034668, 0.2871817648410797, -0.13980647921562195, 0.2622455358505249, -0.46431854367256165, 1.1459380388259888, 0.2584839165210724, -1.2270112037658691, 0.6385830044746399, -0.28176864981651306, -0.16365419328212738, 0.5737740397453308, 0.10736288875341415, -0.5050830245018005, -0.6686161160469055, -0.6459696888923645, -0.9977825880050659, -0.3634633719921112, 0.39065638184547424, 0.3843820095062256, 0.044777464121580124, 0.482930988073349, -0.024578526616096497, 0.03851430118083954, -0.6135125160217285, -0.21058563888072968, -0.25607964396476746, 0.0891055166721344, 0.14233572781085968, -0.40641728043556213, -0.4426608681678772, 0.061131399124860764, 0.31769099831581116, -0.16451698541641235, 0.3888828754425049, 0.3682304620742798, -0.08040516078472137, 0.5052574276924133, 0.4107533097267151, 0.5642006993293762, 0.8393649458885193, -0.1792767196893692, 0.21204619109630585, 0.13542428612709045, -0.3373645842075348, 0.33522507548332214, -0.270525723695755, -0.3365127742290497, 0.45859476923942566, 0.5732175707817078, 0.5020558834075928, 0.1678190529346466, -0.15836447477340698, 0.7488630414009094, -0.32467174530029297, -0.4006398916244507, -0.3210168182849884, -0.03143324330449104, -0.17053763568401337, 0.04032033309340477, 0.14044132828712463, 0.35905274748802185, 0.13687030971050262, -0.27571457624435425, 0.43219056725502014, 0.3271852135658264, -0.38264113664627075, -0.26959651708602905, 0.6602523326873779, 0.16077733039855957, -0.3539688289165497, 0.6737186908721924, -0.1638370305299759, -0.37430915236473083, 0.5030475854873657, 0.2462088167667389, 1.171370267868042, 0.15053783357143402, 0.3110407590866089, 0.25649455189704895, 0.6624184250831604, -0.13070864975452423, 0.08823215216398239, -0.01054446306079626, -0.8721926808357239, -0.8478555083274841, -0.43447890877723694, -0.6864792704582214, -0.2341790646314621, -0.7625521421432495, -0.025154750794172287, -0.8368058800697327, -0.36122608184814453, -0.07448519766330719, -0.23483075201511383, -0.6218228340148926, 0.21085640788078308, 0.3913787007331848, 0.9055185914039612, -0.9722951054573059, 0.532675564289093, 0.46625232696533203, -0.18974363803863525, -0.695021390914917, 0.08979931473731995, 0.07046577334403992, -0.6125520467758179, 0.3349756896495819, 0.08409029990434647, -0.1304917186498642, -0.5422656536102295, -0.6953021287918091, -0.6564406156539917, 0.7799967527389526, 0.505467414855957, -0.48508158326148987, -0.03831452503800392, 0.2901804745197296, 0.7607617974281311, -0.20105403661727905, -0.15145210921764374, 0.37523752450942993, 0.26290732622146606, -0.2101905345916748, -0.7928569316864014, 0.1154196634888649, -0.3465091586112976, 0.38645800948143005, -0.14717119932174683, -0.10414093732833862, 0.5078612565994263, 0.053639139980077744, -0.23419727385044098, 0.2812032103538513, 0.7490361928939819, 0.09446865320205688, 0.15859554708003998, 0.4327894151210785, 0.8151575326919556, 1.0615427494049072, -0.4514257311820984, 1.099763035774231, -0.12241742759943008, 0.5952101945877075, 0.8449385762214661, -0.15283988416194916, 0.90032958984375, 0.44781532883644104, -0.36117082834243774, 0.5784514546394348, 0.061418257653713226, -0.08165737241506577, 0.2837221920490265, 0.3919488787651062, -0.07361117750406265, -0.2033592015504837, -0.2182098925113678, -0.5605420470237732, 0.4906434118747711, 0.3833625018596649, -0.3932579755783081, -0.11387557536363602, -0.13277848064899445, 0.017056429758667946, 0.19618412852287292, -0.06447606533765793, 0.4670896530151367, 0.14269830286502838, -0.5255551338195801, 0.41358473896980286, 0.11966106295585632, 0.7027028203010559, -0.7102615237236023, 0.020046263933181763, -0.009873906150460243, 0.38629576563835144, -0.26400119066238403, -0.776415228843689, 0.7990284562110901, -0.025796405971050262, 0.04257221892476082, -0.2969599962234497, 0.8660194277763367, -0.10393442958593369, -0.2634074091911316, 0.11800454556941986, 0.4253738522529602, -0.08618024736642838, 0.13772818446159363, -0.7459334135055542, 0.36821022629737854, 0.01872023567557335, 0.09822794049978256, 0.23897163569927216, 0.42450782656669617, 0.415838360786438, 0.5602673292160034, 0.653797447681427, 0.07627365738153458, 0.023331893607974052, 0.15738478302955627, 0.5989787578582764, -0.4092230200767517, -0.5174030661582947, -0.8267956376075745, 0.8374200463294983, -0.018052829429507256, -0.5629799962043762, 0.8369288444519043, 0.09294229000806808, 0.7831880450248718, 0.16408957540988922, 0.7432737350463867, -0.11380036175251007, 0.28182101249694824, -0.7940616607666016, 0.4144134521484375, -0.1251804232597351, 0.4323938488960266, -0.33987972140312195, -0.8580669164657593, -0.9314917325973511, 0.8713197112083435, -0.0610576830804348, -0.11303136497735977, 0.7514488101005554, 0.5916128158569336, 0.07253149896860123, 0.10788847506046295, 0.2783924341201782, -0.08396095037460327, 0.27242517471313477, 0.48026612401008606, 1.120323657989502, -0.5857424736022949, 0.3731842041015625, -0.37426385283470154, -0.030866973102092743, 0.07735338062047958, -1.2535896301269531, -0.6547279357910156, -0.5838679075241089, -0.7909722924232483, -0.6939616799354553, 0.09108388423919678, 0.39194920659065247, 0.565351128578186, -0.7713046073913574, 0.16844183206558228, -0.3989197015762329, 0.23089654743671417, -0.42172861099243164, -0.14605551958084106, 0.30686190724372864, -0.396207332611084, -0.32064858078956604, 0.27129656076431274, 0.5075840353965759, -0.037208572030067444, -0.6779541373252869, -0.01828554831445217, -0.03486701846122742, -0.09515649825334549, 0.47671136260032654, 0.4858948588371277, -0.8724842071533203, -0.5331963896751404, -0.16616734862327576, 0.04904257878661156, -0.032056692987680435, 0.8383975625038147, -0.39215120673179626, 0.309147447347641, 0.47293925285339355, 0.996296763420105, -0.03604288399219513, -0.32995957136154175, 0.7322909235954285, -1.0930792093276978, -0.001941038528457284, 0.5258076786994934, 0.6100940108299255, 0.3682602047920227, -0.24028627574443817, 0.7247756123542786, 0.14703600108623505, -0.8320802450180054, -0.9767274260520935, 0.3322378396987915, -0.8972780108451843, 0.08455751091241837, 1.003206491470337, -0.5983551144599915, -0.05686083808541298, -0.47887346148490906, 0.1367923766374588, -0.1584850698709488, 0.24271763861179352, 0.6447214484214783, 0.8864352107048035, 0.26515311002731323, 0.10788469016551971, -0.4408094882965088, 0.40990009903907776, 0.5265399217605591, -0.6315877437591553, 0.015568085946142673, 0.41574934124946594, 0.2278997004032135, 0.6373036503791809, 0.4161204695701599, -0.2636624872684479, 0.15381614863872528, 0.2566140294075012, -0.261394202709198, 0.11943692713975906, -0.35617902874946594, -0.534984290599823, 0.48188722133636475, 0.14317244291305542, -0.22601772844791412 ]
http://arxiv.org/abs/2403.10135v1
http://arxiv.org/pdf/2403.10135v1
The Whole is Better than the Sum: Using Aggregated Demonstrations in In-Context Learning for Sequential Recommendation
2024-03-15T09:28:19
2024-03-15T09:28:19
Lei Wang, Ee-Peng Lim
cs.IR
cs.IR, cs.AI, cs.CL
Large language models (LLMs) have shown excellent performance on various NLP tasks. To use LLMs as strong sequential recommenders, we explore the in-context learning approach to sequential recommendation. We investigate the effects of instruction format, task consistency, demonstration selection, and number of demonstrations. As increasing the number of demonstrations in ICL does not improve accuracy despite using a long prompt, we propose a novel method called LLMSRec-Syn that incorporates multiple demonstration users into one aggregated demonstration. Our experiments on three recommendation datasets show that LLMSRec-Syn outperforms state-of-the-art LLM-based sequential recommendation methods. In some cases, LLMSRec-Syn can perform on par with or even better than supervised learning methods. Our code is publicly available at https://github.com/demoleiwang/LLMSRec_Syn.
[ -0.26814717054367065, -0.5426972508430481, 0.6184092164039612, 0.592671811580658, -0.5578503608703613, -0.006725362502038479, -0.2747901678085327, -0.23954682052135468, 0.282894104719162, 0.2933559715747833, -0.47368064522743225, -0.5950466990470886, -0.5038814544677734, 0.11402104049921036, -0.7537803649902344, 1.1775915622711182, 0.016590578481554985, 0.13844236731529236, -0.6613592505455017, -0.28741326928138733, -0.6675109267234802, -0.23824411630630493, -0.7340423464775085, -0.6305365562438965, 0.6448266506195068, 0.6631460785865784, 0.30656343698501587, 0.22823110222816467, 0.15980832278728485, 0.36984938383102417, 0.11963305622339249, 0.45530712604522705, -0.5641281008720398, 0.30109667778015137, -0.18222296237945557, -0.15868760645389557, -0.18502581119537354, -0.16647963225841522, 0.7415661811828613, 0.7203021049499512, -0.35218775272369385, -0.1191108450293541, 0.2886579632759094, 0.6786314845085144, -0.5076925754547119, -0.3136141896247864, -0.33783164620399475, -0.06775199621915817, -0.055741626769304276, 0.014542671851813793, -0.8527469635009766, -0.3815799951553345, 0.42170795798301697, -0.37754321098327637, -0.2355075478553772, 0.35080552101135254, 0.26640260219573975, 0.026454174891114235, -0.6218488216400146, -0.1224713996052742, -0.7220301032066345, 0.931645393371582, -0.7479870319366455, 0.27763399481773376, 0.3019331693649292, 0.23185206949710846, -0.2205921858549118, -1.0400323867797852, -0.31547266244888306, -0.5062082409858704, -0.14953680336475372, 0.2143692523241043, -0.07340401411056519, -0.2197950780391693, 0.25507834553718567, 0.3690973222255707, -0.5316464900970459, 0.3297936022281647, -0.10538993030786514, -0.009418201632797718, 0.5212727189064026, 0.11662916839122772, 0.22663593292236328, 0.37322917580604553, -0.7606961131095886, -0.04649168625473976, -0.8831444978713989, 0.088448666036129, 0.0366329662501812, 0.1068662479519844, -0.19758836925029755, 0.6261304020881653, -0.20665983855724335, 0.7827640175819397, 0.2863392233848572, -0.2328495979309082, 0.1308826059103012, -0.40350133180618286, -0.2707139551639557, 0.03860625624656677, 0.7672937512397766, 0.3693097233772278, 0.22700734436511993, -0.2298857420682907, -0.18487565219402313, -0.14957746863365173, 0.15989065170288086, -0.7696124911308289, -0.04079759865999222, 0.019379643723368645, -0.4367726743221283, 0.05993599817156792, 0.4265589714050293, -0.2077462524175644, -0.4312673509120941, -0.4982732832431793, 0.5603271722793579, -0.35040566325187683, 0.3334532380104065, 0.08264712989330292, -0.06951305270195007, -0.2551467716693878, 0.5052411556243896, -0.8186529874801636, 0.7946877479553223, 0.6449630856513977, 0.98239666223526, -0.5832857489585876, -0.6241790652275085, -0.7911617755889893, 0.008128144778311253, -0.32766151428222656, 1.0426274538040161, -0.23850490152835846, -0.4740227460861206, -0.038988739252090454, 0.03752829134464264, 0.15633970499038696, -0.7009883522987366, 0.2782793939113617, -0.4301646649837494, 0.3822813630104065, -0.10710854828357697, -0.9272854328155518, -0.10327838361263275, -0.010064976289868355, -0.3406333029270172, 1.0257315635681152, 0.07090362906455994, -0.47857391834259033, 0.644444465637207, -0.4470571279525757, -0.7010162472724915, 0.1297282725572586, -0.057009659707546234, -0.12868094444274902, -0.1946808397769928, 0.3071141242980957, 0.7356554865837097, -0.03123757615685463, 0.504317581653595, -0.42532071471214294, -0.6955136656761169, 0.25924524664878845, -0.2097538709640503, 0.47085699439048767, -0.08308234810829163, -0.26210570335388184, 0.6569215059280396, -0.40631821751594543, -0.40763914585113525, -0.07212945818901062, -0.2169148325920105, -0.4643039405345917, 0.16516494750976562, -0.22160255908966064, 0.058317746967077255, 0.07612089067697525, -0.21928195655345917, 0.25313082337379456, -0.7160000205039978, 0.10389985889196396, 0.9792423844337463, 0.08936591446399689, 0.7701994180679321, -0.6731215119361877, 0.2538655996322632, -0.23519842326641083, -0.07368861138820648, -0.45790165662765503, -0.43138357996940613, -0.644805371761322, -0.24041341245174408, 0.15712857246398926, 0.24286262691020966, -0.6987436413764954, 0.5917938947677612, -0.027764810249209404, -0.22987248003482819, 0.1851734220981598, 0.21222132444381714, 0.3463686406612396, 0.40344783663749695, 0.27572906017303467, -0.4032643139362335, -0.6631220579147339, -0.823186993598938, -0.19954653084278107, -0.2762734591960907, -0.2795916795730591, 0.4197303056716919, 0.369240403175354, -0.09150605648756027, 0.648859977722168, -0.1882643699645996, -0.2192133665084839, -0.33504053950309753, -0.11640284210443497, 0.5248326063156128, 0.09185776114463806, 0.4054873585700989, -0.32279491424560547, -0.763867974281311, -0.3014543652534485, -0.4566674828529358, -0.07242762297391891, -0.25630566477775574, -0.06871580332517624, -0.0789652168750763, 0.3257100284099579, -0.1788296401500702, 0.1365102380514145, 0.47734689712524414, -0.3643851578235626, 0.3912438154220581, -0.3998059630393982, -0.04702632874250412, -1.012104868888855, -0.4331464469432831, 0.2698853313922882, -0.5058917999267578, -0.32994580268859863, -0.1512008011341095, -0.02395583875477314, 0.31563350558280945, -0.4871126711368561, 0.8155099153518677, -0.1169670894742012, -0.28305962681770325, -0.3594582676887512, 0.3135809898376465, -0.1505592316389084, 0.33041563630104065, -0.13013078272342682, 0.898180365562439, 0.6690586805343628, -0.7812168002128601, 0.2748471796512604, 0.22637732326984406, -0.9061338305473328, 0.29466381669044495, -0.740089476108551, 0.09685967117547989, 0.13732336461544037, 0.8301547169685364, -1.123011827468872, -0.06520485132932663, -0.017179299145936966, 0.11771723628044128, 0.042424656450748444, 0.037472061812877655, -0.4821440577507019, -0.08846446871757507, -0.40190523862838745, 0.14023958146572113, 0.5792785882949829, -0.9843553304672241, 0.38703498244285583, 0.16725988686084747, -0.16158892214298248, -0.6420207023620605, -0.3648402988910675, 0.07898953557014465, -0.2237272411584854, -0.4423842132091522, 0.7573003172874451, -0.3152364492416382, -0.36195871233940125, -0.39513805508613586, 0.019621754065155983, 0.47650814056396484, 0.08135741204023361, 0.5081518888473511, 0.23508493602275848, -0.0161854550242424, 0.31788119673728943, -0.10356657207012177, -0.0742848739027977, -0.1839146614074707, -0.573322594165802, 0.49949347972869873, -0.16385772824287415, -0.51519376039505, -0.38587063550949097, 0.4175347685813904, 0.37114188075065613, 0.23831366002559662, 0.4486692547798157, 0.4543142318725586, -0.11071117967367172, -0.517850935459137, -0.5077007412910461, -0.3428592085838318, -0.4865644872188568, 0.30562451481819153, 0.012570248916745186, -0.9304644465446472, 0.08803959935903549, -0.26316243410110474, 0.37420088052749634, 0.2998178005218506, 0.6672140955924988, -0.2885054349899292, 0.8462339639663696, 0.5047076940536499, -0.33225536346435547, 0.8060399293899536, -0.38318637013435364, -0.025428958237171173, -0.7436620593070984, -0.19309258460998535, -0.10719013959169388, -0.4456730782985687, 0.03872557729482651, -0.20089617371559143, 0.3101641535758972, 0.16462305188179016, -0.39987167716026306, 0.24997323751449585, -0.13580043613910675, 0.5832173824310303, 0.677501380443573, 0.3830835223197937, 0.28171858191490173, 0.10071975737810135, -0.343648225069046, 0.06402940303087234, -0.6685304045677185, -0.4843190014362335, 0.8226321339607239, 0.1054401770234108, 0.7519642114639282, 0.24682195484638214, 0.5883668065071106, 0.5139351487159729, 0.42967134714126587, -0.9820560812950134, 0.7506068348884583, -0.6342161893844604, 0.0423230305314064, -0.36324813961982727, -0.005237731151282787, -0.8495854735374451, 0.2920083701610565, -0.3068600594997406, -0.7457579374313354, 0.02515866607427597, 0.07263101637363434, -0.37100231647491455, 0.19107235968112946, -0.4720021188259125, 0.6170770525932312, -0.4121456742286682, -0.4729023575782776, -0.5334429740905762, -0.4853823781013489, 0.2342626005411148, 0.07111218571662903, 0.09739051759243011, 0.10546964406967163, -0.14253181219100952, 0.9175268411636353, -0.5966216921806335, 0.9310035705566406, -0.10978175699710846, -0.04874064773321152, 0.2525174915790558, -0.0579502172768116, 0.9182106256484985, 0.09573815017938614, -0.08450445532798767, -0.2414255142211914, -0.6001389026641846, -0.05213586241006851, -0.8241353034973145, 0.9460839629173279, -0.5467159152030945, -0.5962350964546204, -0.061873909085989, -0.23661376535892487, -0.2410626858472824, 0.034475360065698624, -0.06637933850288391, 0.8551169037818909, -0.165404811501503, 0.5264505743980408, 0.4659976661205292, -0.0976896733045578, 0.597136914730072, 0.45829182863235474, -0.3490106463432312, -0.6268848180770874, 0.728320300579071, -0.1789497286081314, 0.16677828133106232, 0.5263075828552246, 0.6408976912498474, -0.5251884460449219, -0.6966394782066345, -0.5694509148597717, 0.06303150951862335, -0.7928479909896851, 0.030065514147281647, -0.8840848803520203, 0.25736191868782043, -0.34247061610221863, -0.28403422236442566, 0.033024515956640244, -0.37232789397239685, -0.2839511036872864, -0.22929494082927704, 0.2959413528442383, 0.8621573448181152, 0.22458897531032562, 0.5156800150871277, -0.444856196641922, 0.40031513571739197, 0.7224758267402649, 0.3261202871799469, 0.20130515098571777, -0.8141716718673706, -0.3787343204021454, -0.22035810351371765, -0.20723102986812592, -0.4820000231266022, 0.28256744146347046, 0.3570702373981476, 0.6929730176925659, 0.8054980039596558, 0.14098480343818665, 0.7629009485244751, -0.7145746946334839, 1.0221902132034302, 0.29555872082710266, -0.6017169952392578, 0.2650803327560425, -0.18112795054912567, 0.4227098226547241, 0.4781782329082489, 0.49907171726226807, -0.47797954082489014, -0.32688263058662415, -0.5052636861801147, -1.0678844451904297, 0.6443842649459839, -0.1705435812473297, -0.01957089453935623, -0.044094476848840714, 0.021572822704911232, 0.31031888723373413, -0.10321328788995743, -0.49246305227279663, -0.3999617099761963, 0.1051853820681572, -0.03826494887471199, -0.36167314648628235, -0.5334495306015015, -0.17148318886756897, -0.12183678895235062, 0.8839356899261475, -0.10810470581054688, -0.08336241543292999, 0.10056133568286896, -0.13431806862354279, 0.06958276033401489, 0.21614128351211548, 0.8075778484344482, 0.7094212770462036, -0.03470057621598244, -0.002844045637175441, 0.495437890291214, -0.09556054323911667, 0.24945038557052612, -0.23136435449123383, 0.045809004455804825, 0.0383785218000412, 0.5581158995628357, 0.9747598171234131, 0.5870576500892639, -0.6643616557121277, 0.7343918681144714, -0.07973858714103699, -0.30729368329048157, -0.5199400782585144, -0.051479093730449677, 0.11941193044185638, 0.20613721013069153, 0.3275946378707886, 0.16802233457565308, 0.2605411410331726, -0.544884204864502, 0.521202027797699, 0.2506992518901825, -0.3524071276187897, 0.03727388009428978, 0.3017384111881256, 0.24825561046600342, -0.39163467288017273, 0.554980993270874, 0.2356853038072586, -0.35100677609443665, 0.5311421751976013, 0.8767865300178528, 0.8180323243141174, 0.15513041615486145, 0.21726049482822418, 0.32165661454200745, -0.1955578327178955, -0.7343471646308899, -0.23173227906227112, -0.5539699792861938, -0.6742658615112305, -0.6816933155059814, -0.21850767731666565, -0.6497138738632202, -0.41294461488723755, -0.4734235107898712, 0.4643697440624237, -0.38617005944252014, 0.007964914664626122, 0.008029080927371979, -0.06031535938382149, -0.26013830304145813, -0.05291379615664482, 0.11690595000982285, 0.7971353530883789, -0.7972406148910522, 0.8881837129592896, 0.7420377135276794, -0.004836376290768385, -0.5926746129989624, -0.15196074545383453, -0.0906103178858757, -0.5352941155433655, 0.6647745966911316, 0.19535163044929504, -0.328421413898468, -0.19426900148391724, -0.5838192105293274, -0.6134639382362366, 1.0866811275482178, 0.07857395708560944, -0.64224773645401, 0.3276878893375397, -0.6857132315635681, 0.4484500586986542, -0.6740601062774658, 0.6047419905662537, -0.10165048390626907, 0.3533026874065399, 0.2820291519165039, -0.7116696834564209, -0.006855971645563841, 0.07219092547893524, -0.09761194884777069, 0.0049997372552752495, -0.7956795692443848, 0.6176132559776306, -0.6094033122062683, -0.44201940298080444, 0.2835504114627838, 0.8538010716438293, 0.6886637210845947, 0.5080569982528687, 0.9105575680732727, 0.2524123191833496, 0.6252139210700989, 0.22836974263191223, 1.3631508350372314, 0.14971564710140228, -0.13567441701889038, 1.6678030490875244, -0.6096773743629456, 0.8356406688690186, 0.4850113093852997, -0.4928658902645111, 1.0766421556472778, 0.7756781578063965, 0.011247245594859123, 0.5625357627868652, 0.2240372747182846, -0.29216524958610535, -0.36991918087005615, -0.24544627964496613, -0.05756477639079094, -0.10984320938587189, 0.23522301018238068, -0.2512977421283722, -0.08091823011636734, 0.13412031531333923, -0.4915928542613983, 0.2498088777065277, -0.05151183903217316, 1.1789207458496094, 0.3161919414997101, -0.6998358368873596, 0.34060531854629517, -0.09715092182159424, 0.9569896459579468, -0.7484298348426819, -0.37408196926116943, -0.4070798456668854, 0.11232602596282959, -0.27188992500305176, -0.5904790163040161, -0.16618122160434723, -0.19681909680366516, -0.31842508912086487, -0.469448447227478, 0.5655168294906616, -0.45841294527053833, -0.33853864669799805, 0.33892738819122314, 0.24222268164157867, 0.3262638449668884, 0.2192886471748352, -0.3373351991176605, -0.6359490156173706, 0.02694805897772312, 0.04401315748691559, 0.5687271952629089, 0.06666820496320724, -0.3933267295360565, 1.0151249170303345, 0.655846118927002, -0.028851721435785294, -0.2919812500476837, 0.6712889671325684, 0.6919971704483032, -0.4250236451625824, -0.4413939416408539, -1.0561739206314087, 0.5353050231933594, -0.18108701705932617, -0.1852526068687439, 0.9851165413856506, 0.6066972613334656, 1.0974987745285034, -0.13198085129261017, 0.40867146849632263, 0.22587397694587708, 0.5005484223365784, -0.5745708346366882, 0.18367579579353333, -0.5686153769493103, 0.7069105505943298, -0.05194288119673729, -0.9084422588348389, -0.3390538692474365, 0.4855363965034485, 0.015005665831267834, 0.2178185135126114, 0.9641817212104797, 0.6172252893447876, 0.02234753966331482, 0.1505821794271469, 0.5096852779388428, 0.08415291458368301, 0.08488874137401581, 0.3131820857524872, 1.2643070220947266, -0.25892215967178345, 0.2403518259525299, -0.46097201108932495, -0.1723765879869461, -0.19994406402111053, -0.9196821451187134, -0.9702160358428955, -0.3952158987522125, -0.2813526690006256, -0.2236911803483963, 0.1026114672422409, 1.4291936159133911, 0.8542550206184387, -0.9246837496757507, -0.6872536540031433, 0.15387177467346191, 0.3587300479412079, -0.7650837302207947, -0.18847428262233734, 0.42697393894195557, -0.21442048251628876, -0.6810922622680664, 1.0102062225341797, 0.26968708634376526, 0.049002476036548615, -0.2912226617336273, -0.21938379108905792, -0.2107943892478943, -0.43463900685310364, 0.944216787815094, -0.23153023421764374, -0.8569547533988953, -0.007671352010220289, -0.0993887409567833, 0.12103908509016037, -0.16081075370311737, 1.23195481300354, -1.055445909500122, 0.22669076919555664, 0.5831936001777649, 0.4519932270050049, 0.6098920702934265, 0.18305854499340057, 0.7212552428245544, -0.6418858766555786, -0.034787844866514206, 0.10476625710725784, 0.6385658979415894, 0.09870989620685577, -0.25277402997016907, 0.5180600881576538, 0.030978215858340263, -0.6441273093223572, -0.4647281765937805, 0.0002494520740583539, -1.0973814725875854, -0.30031970143318176, 1.2633191347122192, -0.25487643480300903, 0.19236263632774353, -0.15777842700481415, -0.2586134076118469, -0.19346500933170319, -0.8695939183235168, 0.6923847794532776, 0.41315579414367676, -0.14931535720825195, -0.07345348596572876, -0.21016909182071686, -0.07906439900398254, 0.4442533850669861, -0.3930305540561676, 0.024904044345021248, 0.5528258681297302, 0.1783313900232315, -0.3832237124443054, 0.7261937260627747, 0.04227650538086891, -0.0038244666066020727, -0.39389702677726746, -0.21883566677570343, -0.1262030452489853, -0.620000958442688, -0.5310484766960144, 0.1624498814344406, 0.28746098279953003, 0.012135072611272335 ]
http://arxiv.org/abs/2403.10131v2
http://arxiv.org/pdf/2403.10131v2
RAFT: Adapting Language Model to Domain Specific RAG
2024-03-15T09:26:02
2024-06-05T17:27:51
Tianjun Zhang, Shishir G. Patil, Naman Jain, Sheng Shen, Matei Zaharia, Ion Stoica, Joseph E. Gonzalez
cs.CL
cs.CL, cs.AI
Pretraining Large Language Models (LLMs) on large corpora of textual data is now a standard paradigm. When using these LLMs for many downstream applications, it is common to additionally bake in new knowledge (e.g., time-critical news, or private domain knowledge) into the pretrained model either through RAG-based-prompting, or fine-tuning. However, the optimal methodology for the model to gain such new knowledge remains an open question. In this paper, we present Retrieval Augmented FineTuning (RAFT), a training recipe that improves the model's ability to answer questions in a "open-book" in-domain settings. In RAFT, given a question, and a set of retrieved documents, we train the model to ignore those documents that don't help in answering the question, which we call, distractor documents. RAFT accomplishes this by citing verbatim the right sequence from the relevant document that would help answer the question. This coupled with RAFT's chain-of-thought-style response helps improve the model's ability to reason. In domain-specific RAG, RAFT consistently improves the model's performance across PubMed, HotpotQA, and Gorilla datasets, presenting a post-training recipe to improve pre-trained LLMs to in-domain RAG. RAFT's code and demo are open-sourced at github.com/ShishirPatil/gorilla.
[ -0.38826197385787964, -0.7413439154624939, 0.253606915473938, 0.1472957283258438, -0.37593191862106323, 0.012312235310673714, -0.4457998275756836, -0.3200792372226715, 0.020423104986548424, 0.7755184769630432, -0.30576103925704956, -0.3331408202648163, -0.5480129718780518, -0.03172735124826431, -0.2592974901199341, 1.4135993719100952, -0.034929074347019196, -0.10689535737037659, -0.23411846160888672, -0.08596687763929367, -0.6689061522483826, -0.620119571685791, -0.7539455890655518, -0.1906876116991043, 0.6257400512695312, 0.3837965726852417, 0.3618690073490143, 0.4767633378505707, 0.40674838423728943, 0.20681238174438477, -0.17102129757404327, 0.34177181124687195, -0.7901890873908997, 0.2374226301908493, -0.5264505743980408, -0.4646663963794708, -0.4826149344444275, -0.05867846682667732, 0.4770427346229553, 0.5412401556968689, -0.03571689873933792, 0.3001020848751068, 0.2973824143409729, 0.745366096496582, -0.788563072681427, 0.02874448336660862, -0.8623637557029724, -0.29511216282844543, -0.30036240816116333, -0.35250458121299744, -0.5444579720497131, -0.14012527465820312, 0.3581078350543976, -0.870226263999939, 0.34621304273605347, 0.18471719324588776, 0.8341900706291199, 0.4616290032863617, -0.27443140745162964, -0.5396355986595154, -0.6702309846878052, 0.6837918162345886, -0.6260359287261963, 0.4822695851325989, 0.8094669580459595, 0.21228305995464325, -0.19823749363422394, -0.8117737770080566, -0.4664710760116577, -0.09267133474349976, -0.1756603866815567, 0.1529749035835266, 0.17820808291435242, -0.12783709168434143, 0.05439143255352974, 0.5104008316993713, -0.6183493733406067, -0.07054731994867325, -0.36318105459213257, -0.03508366644382477, 0.46733206510543823, -0.1854511797428131, 0.13894127309322357, -0.08719243854284286, -0.4296565353870392, -0.002639524172991514, -0.5369261503219604, 0.04593324661254883, 0.07955680042505264, 0.5179792046546936, -0.019200684502720833, 0.48874354362487793, -0.11318563669919968, 0.910113513469696, 0.22762012481689453, 0.009882406331598759, 0.2387211173772812, 0.17290665209293365, -0.27688583731651306, 0.04500343278050423, 0.041758209466934204, 0.23013010621070862, 0.3641003966331482, 0.008662828244268894, -0.4509790241718292, -0.44771885871887207, 0.5640463829040527, -0.721802830696106, -0.3199877142906189, 0.2987724542617798, -0.20527267456054688, -0.01028816681355238, -0.23807744681835175, -0.5148224234580994, -0.5961639285087585, -0.4418748617172241, 0.6819358468055725, -0.6205182671546936, -0.13901345431804657, 0.12352676689624786, -0.20324945449829102, 0.32648539543151855, 0.41974085569381714, -0.8915483951568604, 0.3739481568336487, 0.7453123927116394, 0.7552756667137146, -0.31820935010910034, -0.10911556333303452, -1.0702202320098877, 0.3311050236225128, -0.28577515482902527, 1.0229418277740479, -0.3754172623157501, -0.13485220074653625, 0.13424861431121826, 0.10643141716718674, -0.20704276859760284, -0.7125085592269897, 0.5721449851989746, -1.0176682472229004, 0.19127844274044037, -0.050211530178785324, -0.8479360938072205, -0.16476164758205414, 0.34472817182540894, -0.6034603714942932, 0.7621477246284485, 0.14528392255306244, -0.6640974879264832, 0.19672973453998566, -0.5534193515777588, -0.3489900231361389, 0.15614046156406403, 0.2741721570491791, -0.2744227647781372, 0.023212064057588577, 0.334221750497818, 0.4769176244735718, -0.2664717733860016, 0.15400034189224243, -0.08377435803413391, -0.3325948417186737, 0.04549012333154678, 0.02868024818599224, 0.5061721801757812, 0.3123679459095001, 0.12282872945070267, 0.19743232429027557, -0.7852272987365723, -0.05928921699523926, 0.19967138767242432, -0.6117416620254517, -0.8506791591644287, -0.1745983064174652, 0.061730965971946716, -0.1646004319190979, 0.07653999328613281, -0.240462988615036, 0.17029748857021332, -0.4945012629032135, 0.1280602663755417, 0.8123697638511658, 0.16647881269454956, 0.6059788465499878, -0.5686659216880798, 0.33571717143058777, -0.16353793442249298, -0.0752837210893631, -0.3063543736934662, -0.30371713638305664, -0.7738717198371887, -0.5239083766937256, 0.5200070142745972, 0.473447322845459, -0.8325096964836121, 0.09431497007608414, -0.10266711562871933, -0.4058374762535095, -0.6434879899024963, 0.13756471872329712, 0.390760213136673, 0.70639568567276, 0.5863646864891052, -0.3622818887233734, -0.4864249527454376, -0.3935897648334503, -0.5046325325965881, 0.2451733946800232, -0.24672141671180725, 0.3926334083080292, 0.28521600365638733, -0.2326516956090927, 0.6991090178489685, -0.6566285490989685, -0.5973825454711914, -0.20020057260990143, 0.08611265569925308, 0.10309471935033798, 0.5192564725875854, 0.35780924558639526, -1.0602480173110962, -0.6082620620727539, -0.025954945012927055, -0.40210625529289246, -0.2068900614976883, -0.03884372487664223, -0.2386409491300583, 0.4242474138736725, 0.5974822640419006, -0.42388007044792175, 0.27883827686309814, 0.46244657039642334, -0.23459219932556152, 0.5795533061027527, -0.30382323265075684, 0.0016753021627664566, -0.9908179044723511, 0.17729048430919647, -0.22457469999790192, -0.2199617326259613, -0.7434930205345154, 0.15324263274669647, 0.08522999286651611, -0.10627123713493347, -0.3308374881744385, 1.010434627532959, -0.4404360353946686, -0.028216414153575897, -0.40744099020957947, 0.38425928354263306, 0.04971527308225632, 0.5001654028892517, 0.12942343950271606, 0.8031564950942993, 0.37394869327545166, -0.8475228548049927, -0.028071202337741852, 0.5966656804084778, -0.3416632115840912, 0.43102481961250305, -0.5428174734115601, 0.4426168203353882, -0.26074957847595215, 0.10720442235469818, -0.942154586315155, -0.46169447898864746, -0.03660033643245697, -0.4268743097782135, 0.6308125257492065, -0.4227882921695709, -0.11557029187679291, -0.14557203650474548, -0.2438717633485794, 0.3394515812397003, 0.3687424957752228, -0.7634692788124084, 0.6543420553207397, 0.5101504325866699, -0.48255056142807007, -0.6407793760299683, -0.3587021231651306, -0.24428561329841614, -0.05871536210179329, -0.2713561952114105, 0.5540976524353027, -0.351063072681427, -0.08135727047920227, 0.035482101142406464, -0.2999630272388458, -0.3928990066051483, -0.04320744052529335, -0.0028754461091011763, 0.29195988178253174, -0.2881488502025604, 0.20211173593997955, -0.013194152154028416, -0.07381772249937057, -0.33272409439086914, -0.5488681793212891, 0.6069602370262146, -0.055940479040145874, -0.007503358181566, 0.1386207938194275, 0.11893504112958908, 0.19813479483127594, -0.5208814740180969, 0.774168074131012, 0.4895903766155243, -0.33056649565696716, -0.5207125544548035, -0.6299033164978027, 0.036714181303977966, -0.4848785996437073, 0.24019521474838257, -0.45427635312080383, -1.1760753393173218, 0.39716440439224243, -0.2918075919151306, -0.011492573656141758, 0.26227739453315735, 0.564532995223999, -0.07849807292222977, 0.36625242233276367, 0.9139984846115112, 0.13016033172607422, 0.5529271960258484, -0.16950316727161407, 0.058334238827228546, -1.0243726968765259, -0.0610014945268631, -0.3776135742664337, -0.09445439279079437, -0.26144787669181824, -0.5967546105384827, 0.2024359256029129, 0.37826529145240784, -0.3434329032897949, 0.2909505069255829, -0.4496360421180725, 0.5547487139701843, 0.5655567049980164, -0.04352397471666336, 0.2717360854148865, -0.05852646380662918, -0.2047216147184372, 0.11984837055206299, -0.7103872299194336, -0.472463458776474, 1.054548978805542, 0.09645581245422363, 0.6398403644561768, -0.05656088888645172, 0.6105572581291199, 0.20151835680007935, 0.5975997447967529, -0.7390671372413635, 0.3288564682006836, -0.2597534954547882, -0.7477513551712036, -0.2713389992713928, -0.45069265365600586, -0.9636732339859009, 0.18021181225776672, -0.13923567533493042, -0.4808919131755829, 0.10189979523420334, 0.16672024130821228, -0.35876142978668213, 0.1675361841917038, -0.7087300419807434, 0.8967615962028503, -0.07210882753133774, -0.2042754739522934, -0.06499780714511871, -0.5328778624534607, 0.3067721724510193, -0.6295610070228577, 0.3134963810443878, -0.027079256251454353, -0.09134320914745331, 0.7193796634674072, -0.23388727009296417, 0.6605138778686523, -0.21299651265144348, -0.07013696432113647, 0.33405864238739014, 0.16144010424613953, 0.3715738356113434, -0.22864162921905518, -0.2137605994939804, -0.0888969749212265, -0.024438465014100075, -0.37151193618774414, -0.6201211810112, 0.6190241575241089, -0.7244739532470703, -0.7430189847946167, -0.2669406831264496, -0.9088423252105713, -0.4322511851787567, 0.38950401544570923, 0.044154830276966095, 0.35556650161743164, -0.17366084456443787, 0.08520612120628357, 0.7770171761512756, -0.49678856134414673, 0.21596865355968475, 0.8238716125488281, -0.35627076029777527, -0.528198778629303, 0.8094863891601562, 0.2211599200963974, 0.32083860039711, 0.47300922870635986, 0.17961041629314423, -0.14309805631637573, -0.5246932506561279, -0.27038851380348206, 0.28017690777778625, -0.7170348763465881, -0.396904319524765, -0.5516524314880371, -0.38263437151908875, -0.4755053222179413, -0.23061764240264893, -0.22025087475776672, -0.5132331848144531, -0.2524054944515228, 0.019506923854351044, 0.5663172602653503, 0.7298227548599243, 0.052930209785699844, 0.33645933866500854, -0.8790918588638306, 0.4577564299106598, 0.3210751414299011, 0.5227878093719482, -0.0629149079322815, -1.0548168420791626, -0.44082576036453247, -0.19075076282024384, -0.1984296441078186, -0.45892372727394104, 0.3872655928134918, 0.44028380513191223, 0.4683811068534851, -0.01299759279936552, 0.29656273126602173, 0.6988219618797302, -0.9080013036727905, 0.4807737171649933, -0.2967020273208618, -0.7978256940841675, 0.5721074938774109, -0.46278291940689087, 0.22073973715305328, 0.37726232409477234, 0.7684241533279419, -0.4297536611557007, -0.4167143404483795, -0.3402990698814392, -0.9288533926010132, 0.6672508120536804, -0.034650035202503204, 0.22054283320903778, 0.06430231034755707, 0.7742818593978882, 0.17581816017627716, 0.1538010686635971, -0.47508975863456726, 0.009650597348809242, -0.12087807804346085, -0.19616460800170898, -0.2683001458644867, -0.31450968980789185, 0.0018849294865503907, -0.24008524417877197, 0.8844013214111328, -0.2829880714416504, 0.11407171189785004, 0.2745419442653656, -0.2745617628097534, -0.13108156621456146, 0.1082010269165039, 0.5693456530570984, 0.5267277956008911, -0.33051174879074097, 0.23075130581855774, 0.16602537035942078, -0.6253424286842346, -0.050093263387680054, 0.33006882667541504, -0.06521255522966385, -0.21012748777866364, 0.2867952883243561, 0.6097822785377502, 0.1528082937002182, -0.7246702313423157, 0.36504969000816345, 0.029858417809009552, 0.018258770927786827, -0.08872488141059875, 0.13590198755264282, 0.07415341585874557, 0.3764381408691406, 0.44722455739974976, 0.16863146424293518, -0.15538440644741058, -0.3640928864479065, 0.4269920587539673, 0.19498862326145172, -0.24880392849445343, -0.14494794607162476, 0.7536210417747498, -0.0037125912494957447, -0.43722623586654663, 0.3376023769378662, -0.10971131175756454, -0.5548428297042847, 0.1934504359960556, 0.8384928107261658, 0.7707685828208923, -0.41516703367233276, -0.042870618402957916, 0.21750298142433167, 0.13524073362350464, 0.06785890460014343, 0.16760991513729095, 0.10580874234437943, -0.7207298874855042, -0.5640001893043518, -0.8893959522247314, -0.46722254157066345, 0.21402542293071747, -0.6108591556549072, 0.32559293508529663, -0.43002668023109436, 0.036770790815353394, 0.06280197203159332, 0.03855873644351959, -0.48604005575180054, 0.29707884788513184, 0.08133524656295776, 1.1955777406692505, -0.3578975200653076, 1.0023592710494995, 0.7023011445999146, -0.5554751753807068, -0.7463967800140381, 0.35417476296424866, -0.1394643932580948, -0.7382808327674866, 0.6138615608215332, 0.04619158059358597, 0.06238749250769615, 0.1877603381872177, -0.537458062171936, -0.9775587320327759, 0.8469531536102295, 0.4030073583126068, -0.3377766013145447, 0.08751250058412552, -0.03416592627763748, 0.5231327414512634, -0.4633140563964844, -0.2293204814195633, 0.34118950366973877, 0.13069674372673035, 0.1072264164686203, -0.9582635760307312, -0.050165463238954544, -0.2311852127313614, 0.020745791494846344, 0.038828294724226, -0.47383883595466614, 0.8014954924583435, -0.21106936037540436, 0.06321510672569275, 0.07649638503789902, 0.7460907697677612, 0.3088283836841583, 0.4104127287864685, 0.5257800221443176, 0.5072109699249268, 1.0728154182434082, 0.21073408424854279, 1.1935652494430542, -0.1679488867521286, 0.28934162855148315, 1.4901729822158813, -0.4568662941455841, 1.1929049491882324, 0.2816289961338043, 0.30994993448257446, 0.49701574444770813, 0.5402276515960693, 0.2396954447031021, 0.880256175994873, 0.28888171911239624, -0.15897119045257568, -0.034083642065525055, -0.1529223769903183, -0.1433200091123581, 0.15992404520511627, 0.3962460160255432, -0.03358164429664612, -0.0772719457745552, 0.3802979290485382, -0.07370700687170029, 0.13285307586193085, -0.5652649998664856, 0.9131483435630798, 0.25201526284217834, -0.7664636969566345, 1.0776094198226929, 0.01762983947992325, 0.51728755235672, -0.6178947687149048, 0.08552691340446472, -0.29733791947364807, 0.4991385042667389, -0.10772325098514557, -0.624879002571106, 0.5037238001823425, 0.2853856384754181, -0.3910619914531708, -0.18150170147418976, 1.0926274061203003, -0.593873143196106, -0.08276861906051636, 0.2964017391204834, 0.4710070490837097, 0.142364040017128, -0.1998022347688675, -0.5175569653511047, 0.12197766453027725, -0.17466451227664948, -0.3684327304363251, 0.4489923119544983, 0.609305739402771, -0.12208296358585358, 0.6352468729019165, 0.6764577627182007, -0.09557544440031052, 0.026148516684770584, 0.1787574142217636, 1.0960663557052612, -0.42131108045578003, -0.3100984990596771, -0.4474516212940216, 0.4758909046649933, 0.09796350449323654, -0.19411157071590424, 0.8388311862945557, 0.6643340587615967, 1.0625051259994507, -0.3381674587726593, 0.5591728091239929, 0.1349724531173706, 0.8207984566688538, -0.44050440192222595, 0.8937559127807617, -0.6377730369567871, 0.18746601045131683, -0.30487269163131714, -0.8873713612556458, -0.4449135363101959, 0.6109863519668579, -0.5570247173309326, -0.10933343321084976, 0.5893402695655823, 0.7536280155181885, -0.17692126333713531, 0.04148773476481438, 0.25215959548950195, 0.36387792229652405, 0.15047882497310638, 0.25333067774772644, 0.8027022480964661, -0.33984270691871643, 0.4751944839954376, 0.0877051129937172, -0.37726348638534546, -0.11082274466753006, -0.8650996685028076, -0.9545873403549194, -0.7338970303535461, -0.2942742109298706, -0.2727662920951843, 0.22669818997383118, 0.9402388334274292, 0.6543627381324768, -0.8556203246116638, -0.17667776346206665, 0.15447436273097992, 0.0830124244093895, -0.0862962156534195, -0.1852724403142929, 0.4281518757343292, -0.8952294588088989, -0.5008019804954529, 0.39390796422958374, 0.15610484778881073, 0.07717155665159225, 0.3101014494895935, -0.0994633138179779, -0.49969005584716797, 0.4340457022190094, 0.7611757516860962, 0.14280842244625092, -0.33786916732788086, -0.3109979033470154, 0.0614360049366951, 0.039590686559677124, -0.013461299240589142, 0.7851877808570862, -0.8271817564964294, 0.33204925060272217, 0.20538638532161713, 1.0364127159118652, 0.801148533821106, -0.03231634944677353, 0.48735129833221436, -0.9908161163330078, 0.1952650249004364, 0.2513141632080078, 0.1580142229795456, 0.4630560874938965, -0.35783395171165466, 0.6522877812385559, 0.04860318452119827, -0.7788413763046265, -0.8316101431846619, -0.0453512966632843, -0.8260946869850159, -0.42749693989753723, 1.111762285232544, -0.3476373851299286, -0.389378160238266, -0.1708955615758896, -0.4590241014957428, 0.3266831338405609, 0.012457896023988724, 0.7209110260009766, 0.6327641606330872, 0.21057642996311188, 0.05892801284790039, -0.7739490270614624, 0.8152743577957153, 0.40476104617118835, -0.7400659918785095, 0.34309569001197815, 0.3140326738357544, 0.4174817204475403, 0.10387931019067764, 0.826451301574707, 0.04343022033572197, 0.11214318871498108, -0.3295409381389618, -0.08053161203861237, 0.019188961014151573, -0.4618034362792969, -0.36115530133247375, 0.03709307312965393, 0.16818532347679138, 0.042827341705560684 ]
http://arxiv.org/abs/2403.15434v1
http://arxiv.org/pdf/2403.15434v1
ChatPattern: Layout Pattern Customization via Natural Language
2024-03-15T09:15:22
2024-03-15T09:15:22
Zixiao Wang, Yunheng Shen, Xufeng Yao, Wenqian Zhao, Yang Bai, Farzan Farnia, Bei Yu
cs.CL
cs.CL, cs.AI
Existing works focus on fixed-size layout pattern generation, while the more practical free-size pattern generation receives limited attention. In this paper, we propose ChatPattern, a novel Large-Language-Model (LLM) powered framework for flexible pattern customization. ChatPattern utilizes a two-part system featuring an expert LLM agent and a highly controllable layout pattern generator. The LLM agent can interpret natural language requirements and operate design tools to meet specified needs, while the generator excels in conditional layout generation, pattern modification, and memory-friendly patterns extension. Experiments on challenging pattern generation setting shows the ability of ChatPattern to synthesize high-quality large-scale patterns.
[ -0.17084193229675293, -0.9015209078788757, 0.3544689118862152, 0.7503413558006287, -0.31486549973487854, 0.1404130607843399, -0.2575159966945648, -0.2750808894634247, 0.7081584334373474, 0.9171199202537537, -0.6367023587226868, -0.40551480650901794, -0.27098309993743896, -0.0770227238535881, -0.3009334206581116, 0.6694809794425964, 0.06232455372810364, -0.28284555673599243, 0.28812816739082336, 0.2972586452960968, -0.8216809630393982, -0.2530044913291931, -0.5681314468383789, -0.36253121495246887, 0.48718664050102234, 0.34511616826057434, 0.8424561619758606, 0.8172082304954529, 0.46313971281051636, 0.44041165709495544, -0.2687136232852936, 0.41822609305381775, -0.41415250301361084, 0.2765061557292938, 0.157751202583313, -0.4189613461494446, -0.8377783298492432, -0.21241609752178192, 0.3219528794288635, 0.4299458861351013, -0.33725085854530334, -0.14280322194099426, -0.016556447371840477, 0.5154203772544861, -0.48793476819992065, 0.25983619689941406, -0.6192101240158081, 0.1690998375415802, -0.15377332270145416, -0.13298234343528748, -0.6783389449119568, -0.5494658946990967, -0.33534494042396545, -0.7496166229248047, 0.262701153755188, 0.08831652998924255, 0.705219030380249, 0.4194034934043884, -0.3283894956111908, -0.39232876896858215, -0.8555452227592468, 0.6259238123893738, -0.7649688720703125, 0.3554154634475708, 0.1809641569852829, 0.6306663751602173, -0.6945179104804993, -1.0104717016220093, -0.3436654210090637, -0.2255886048078537, -0.29546961188316345, 0.001617581583559513, 0.15209265053272247, 0.04088996350765228, 0.16336292028427124, 0.4015975594520569, -0.7524661421775818, -0.21349799633026123, 0.03353715315461159, -0.12712733447551727, 0.8219908475875854, 0.4654518961906433, 0.6186551451683044, -0.2296781688928604, -0.09140614420175552, 0.2561960518360138, -0.6186709403991699, -0.1728828251361847, 0.3321225047111511, 0.5887230634689331, -0.20069900155067444, 0.41868510842323303, -0.26425668597221375, 0.8924601674079895, 0.22064630687236786, -0.24091830849647522, -0.12148774415254593, -0.033664967864751816, -0.5199660062789917, 0.3598274886608124, 0.7577911019325256, 0.1790609359741211, 0.1684984713792801, -0.21759343147277832, -0.23039433360099792, -0.3108484148979187, 0.23825404047966003, -0.9784124493598938, -0.6906420588493347, 0.19497235119342804, -0.47962453961372375, -0.33075517416000366, 0.12639892101287842, -0.6469348669052124, -0.6742372512817383, -0.36798790097236633, 0.05110101401805878, -0.4903107285499573, -0.4025505483150482, 0.589602530002594, -0.2668505907058716, 0.4767504930496216, 0.4029070734977722, -0.9533036947250366, 0.17221172153949738, 0.8966923356056213, 1.1225348711013794, -0.12998980283737183, -0.014684886671602726, -0.40293869376182556, 0.4133056104183197, -0.5462112426757812, 0.7332865595817566, -0.636276125907898, -0.635900616645813, 0.028770189732313156, -0.055618274956941605, -0.0027775929775089025, -0.3216186761856079, -0.09968919306993484, -0.6563242673873901, 0.4639666974544525, 0.2361036092042923, -0.5934311747550964, 0.28915202617645264, 0.186391681432724, -0.7399620413780212, 0.5249078273773193, -0.013503344729542732, -0.675616979598999, 0.2244057059288025, -0.7814288139343262, -0.794747531414032, 0.5161982178688049, -0.19037020206451416, -0.43999016284942627, -0.10478568077087402, -0.2434108406305313, 0.32042500376701355, 0.25396865606307983, 0.1599222719669342, -0.13985399901866913, -0.1638382375240326, 0.42034855484962463, -0.27951911091804504, 0.6414575576782227, 0.28798118233680725, -0.24188657104969025, 0.20941491425037384, -1.1238504648208618, 0.19532571732997894, 0.24971291422843933, -0.820952296257019, -0.0897560864686966, -0.083511121571064, 0.30501171946525574, 0.08267077803611755, 0.6549444198608398, -0.682016909122467, 0.421159029006958, -0.3309972584247589, 0.3735803961753845, 0.7746118307113647, -0.058829180896282196, 0.6817906498908997, -0.6128986477851868, 0.6384159326553345, -0.8778549432754517, 0.16291846334934235, -0.24062319099903107, -0.5827208161354065, -0.7795990705490112, -0.6934900283813477, 0.09804828464984894, 0.4663712978363037, -0.44069987535476685, 0.7635049819946289, -0.18846583366394043, -0.42656612396240234, 0.15855775773525238, 0.05679059773683548, 0.3465688228607178, 0.02369992621243, -0.06715010106563568, -0.2251969277858734, -0.8496931791305542, -0.8993247151374817, -0.3486384451389313, 0.23057225346565247, -0.47500285506248474, 0.16995660960674286, 0.044384539127349854, -0.12637017667293549, 0.9838896989822388, -0.6795514822006226, -0.4154894948005676, -0.6081103682518005, -0.1461620032787323, 0.34377554059028625, 0.5072591304779053, 0.431365042924881, -0.740961492061615, -0.7569412589073181, 0.22163665294647217, -0.20956535637378693, -0.30075785517692566, -0.3550455868244171, -0.5004408955574036, 0.181197851896286, 0.49361130595207214, -0.8852436542510986, 0.4365943968296051, 0.6804790496826172, -0.7120165228843689, 0.41082724928855896, -0.38732030987739563, -0.23482565581798553, -1.5914545059204102, -0.1979697197675705, -0.3465542793273926, -0.3560709059238434, -0.830600380897522, 0.03917073830962181, 0.08028259873390198, -0.14350515604019165, -0.3964889347553253, 0.7282337546348572, -0.4779679477214813, 0.13414828479290009, -0.6264049410820007, -0.24881906807422638, 0.3816753625869751, 0.3992413580417633, 0.0720323920249939, 0.49268466234207153, 0.03688386082649231, -0.46710026264190674, 0.4103472828865051, 0.3499569296836853, -0.4393392503261566, 0.18347394466400146, -0.7194896936416626, 0.15480893850326538, -0.10259488970041275, 0.5338939428329468, -1.0912679433822632, -0.9185190200805664, 0.01724269613623619, 0.08809606730937958, 0.24180461466312408, -0.29604798555374146, -0.5938887000083923, -0.055634066462516785, 0.008390038274228573, -0.09161892533302307, 0.56553053855896, -0.7031024694442749, 0.9646894335746765, 0.14891687035560608, -0.2127348929643631, 0.16640688478946686, -0.7775515913963318, 0.20467506349086761, -0.09532545506954193, -0.9990746974945068, 0.48846474289894104, -0.5034288167953491, -0.2590610682964325, -0.7613380551338196, 0.05894399434328079, -0.017064085230231285, 0.012713749893009663, 0.5790761113166809, 0.08178038895130157, -0.2356758564710617, 0.22061853110790253, -0.11256847530603409, 0.020988324657082558, -0.31216496229171753, -0.09922206401824951, 0.9841969609260559, -0.09005861729383469, -0.3229994773864746, -0.1761169135570526, 0.523834764957428, 0.5788620710372925, -0.40262019634246826, 0.45869579911231995, 0.10081615298986435, -0.17141056060791016, -0.5282532572746277, -0.40740668773651123, 0.10116332769393921, -0.6879139542579651, 0.33381080627441406, -0.4304462671279907, -0.8852479457855225, 0.3935985565185547, 0.04867761582136154, 0.39382031559944153, -0.2458115816116333, 0.6894755959510803, 0.17527595162391663, 1.1771323680877686, 0.849849283695221, 0.4330463409423828, 0.889995813369751, 0.030106903985142708, 0.3114732503890991, -0.34614646434783936, -0.24933120608329773, -0.24901652336120605, -0.5561996698379517, -0.7639444470405579, -0.4195522964000702, -0.009098903276026249, -0.3026293218135834, -0.6351311802864075, 0.4000430703163147, -0.6871416568756104, 0.9359700679779053, 0.37217390537261963, -0.004098961129784584, 0.33775433897972107, -0.13744507730007172, 0.17452476918697357, 0.24260887503623962, -0.46159473061561584, -0.7900210618972778, 0.44340193271636963, 0.26003050804138184, 1.001396656036377, 0.5182191133499146, 0.6583458185195923, 0.134329691529274, 0.318458616733551, -0.8991783857345581, 0.7505833506584167, -0.27384427189826965, -0.5156379342079163, -0.42289382219314575, -0.16498486697673798, -1.1908719539642334, 0.35827162861824036, 0.02959020435810089, -0.8100816011428833, -0.07443346083164215, 0.21188244223594666, -0.15546920895576477, 0.48511117696762085, -1.0600898265838623, 0.5974622964859009, -0.2442837655544281, -0.05227626860141754, 0.23484958708286285, -0.12416573613882065, 0.27788516879081726, 0.11896747350692749, 0.08306598663330078, -0.28819960355758667, -0.06606857478618622, 0.4369595944881439, -0.4968754053115845, 0.9521190524101257, 0.10981817543506622, -0.3788057565689087, 0.04005972668528557, 0.8363856673240662, 0.7830553650856018, 0.2680087983608246, -0.19826042652130127, -0.25928995013237, -0.36074042320251465, -0.4191797077655792, -0.5733275413513184, 0.670062780380249, -0.4473901391029358, -0.6572931408882141, 0.11700320988893509, -0.7182712554931641, -0.14515486359596252, 0.5338075160980225, 0.34607648849487305, 0.3036784827709198, -0.5871046781539917, 0.1293306052684784, 0.5458260774612427, -0.24067702889442444, 0.7628614902496338, 0.5522041320800781, -0.5822888016700745, -0.2439345121383667, 0.8694252371788025, -0.21254442632198334, 0.010242139920592308, 0.6506010890007019, 0.34657514095306396, 0.29417070746421814, -0.14650799334049225, -0.45217540860176086, -0.03491383418440819, -0.21815943717956543, -0.16836215555667877, -0.3881564736366272, -0.4035477936267853, -0.17619875073432922, -0.5833231806755066, -0.5963729619979858, -0.5793997645378113, -0.038494888693094254, -0.01846093125641346, 0.5534672141075134, 0.8811733722686768, 0.2669501006603241, 0.5736872553825378, -0.5263115763664246, 0.3052845597267151, 0.6495596170425415, 0.7067508101463318, -0.1652977615594864, -0.35342615842819214, -0.07430841773748398, -0.1016068160533905, -0.3370036482810974, -0.5960195660591125, 0.5714362859725952, 0.046654343605041504, 0.25250011682510376, 0.42930901050567627, -0.171251580119133, 0.21540158987045288, -0.8486841320991516, 0.7574417591094971, 0.477263480424881, -0.6396698951721191, 0.7010324001312256, -0.6486765146255493, 0.816006064414978, -0.20905932784080505, -0.2590373158454895, -0.7324458956718445, -0.640081524848938, -0.5751610398292542, -0.7880878448486328, 0.5955530405044556, 0.4124284088611603, 0.4827883243560791, 0.06231484189629555, 0.241022989153862, 0.24955587089061737, 0.003589172847568989, -0.4462791681289673, -0.00848140474408865, -0.6035669445991516, -0.10479112714529037, 0.12625660002231598, -0.036731526255607605, -0.20090438425540924, 0.18193753063678741, 0.450174480676651, -0.23704051971435547, 0.35685837268829346, -0.2183769941329956, 0.16038459539413452, -0.07618923485279083, 0.4571191072463989, 0.9264419674873352, 0.6492421627044678, -0.24660059809684753, -0.08287473022937775, -0.06713826209306717, -0.5995898246765137, 0.016826819628477097, 0.0307877566665411, -0.18963147699832916, 0.15613152086734772, 0.4526521563529968, 0.8885159492492676, -0.1497473120689392, -0.35621216893196106, 0.35028454661369324, -0.44540318846702576, -0.302141398191452, -0.5610653758049011, 0.519769012928009, 0.2625053822994232, 0.1705111414194107, 0.08671768009662628, -0.11072184890508652, -0.25604042410850525, 0.026072505861520767, 0.16853204369544983, 0.3603588044643402, -0.3025284707546234, -0.4184238314628601, 0.552436888217926, 0.14732956886291504, -0.9842604994773865, 0.20451661944389343, -0.039602261036634445, 0.0864068940281868, 0.7923213839530945, 0.7742865085601807, 0.9995065331459045, -0.23371589183807373, 0.39968669414520264, 0.14044424891471863, -0.051944535225629807, 0.15582497417926788, 0.24773363769054413, 0.03744028881192207, -0.6696303486824036, -0.4428965747356415, -0.7082934379577637, -0.3807602822780609, 0.37761253118515015, -0.20170079171657562, 0.2787514626979828, -1.003656268119812, 0.01544016133993864, -0.09760762751102448, -0.309498131275177, -0.4310953915119171, 0.03983521834015846, 0.053381625562906265, 1.1349115371704102, -0.26286160945892334, 0.7444883584976196, 0.9903153777122498, -0.04555635526776314, -0.8743177652359009, 0.014601710252463818, 0.06325379014015198, -0.662102222442627, 0.2745405435562134, 0.2398681342601776, 0.0004214136570226401, -0.3590543866157532, -0.6957213878631592, -0.8754094243049622, 1.11833918094635, 0.363226056098938, -0.637977123260498, -0.1855277419090271, 0.24966569244861603, 0.5787104964256287, -0.5775191783905029, 0.04234812781214714, 0.47500911355018616, 0.4947558343410492, 0.2590588927268982, -0.7663156986236572, 0.1772426813840866, -0.5223522186279297, 0.38194453716278076, 0.5538305044174194, -1.1666207313537598, 0.675656259059906, 0.22906288504600525, -0.09569592773914337, 0.42099541425704956, 0.40479886531829834, 0.4004824757575989, -0.16433337330818176, 0.3657952845096588, 0.12573635578155518, 0.8113779425621033, 0.14208732545375824, 0.920561671257019, -0.3831328749656677, -0.09260091185569763, 1.3525581359863281, -0.2832008898258209, 0.5524249076843262, 0.3681662082672119, 0.07895661145448685, 0.7701702117919922, 0.24696315824985504, 0.2170991450548172, 0.45552289485931396, 0.514534592628479, -0.3306390643119812, -0.5344420075416565, 0.14114999771118164, -0.11833375692367554, 0.5606064200401306, 0.4052371084690094, -0.2419005036354065, -0.2189856469631195, -0.14061059057712555, 0.03226255998015404, 0.1608993262052536, -0.1303934007883072, 0.8491728901863098, 0.11154167354106903, -0.4055923819541931, 0.4036741554737091, 0.23230652511119843, 0.6711922883987427, -0.7683214545249939, -0.1353372037410736, -0.6186221241950989, 0.3251584768295288, -0.24468320608139038, -0.6529353857040405, 0.17778421938419342, -0.12817692756652832, -0.15663932263851166, -0.5852696299552917, 0.903053879737854, -0.0768282413482666, -0.5122417211532593, 0.03578703850507736, 0.34195345640182495, -0.22049178183078766, 0.1797141283750534, -0.36304333806037903, -0.0007263114675879478, 0.09929027408361435, -0.5009073615074158, 0.3845783472061157, 0.659251868724823, 0.044099852442741394, 0.8704448342323303, 0.5848068594932556, 0.0871790200471878, 0.2609477639198303, 0.2450043112039566, 0.7530718445777893, -0.5467262864112854, -0.8442497849464417, -0.5972205400466919, 0.527195394039154, -0.24738849699497223, -0.2114047408103943, 0.5811200737953186, 0.5516510009765625, 0.45358410477638245, -0.2571897804737091, 0.770709753036499, -0.1915549337863922, 0.29702264070510864, -0.48571768403053284, 0.9411596059799194, -0.315304696559906, 0.2683408856391907, -0.1328246146440506, -0.7947725057601929, -0.592309832572937, 0.6011773943901062, -0.21139419078826904, -0.0008983578300103545, 0.20714202523231506, 1.22500479221344, -0.45198822021484375, 0.29006722569465637, 0.48910343647003174, 0.00539455795660615, 0.7829785943031311, 0.4489349126815796, 0.8159766793251038, 0.0031070064287632704, 0.8377937078475952, -0.20104476809501648, -0.34996497631073, -0.35899925231933594, -0.9017757177352905, -0.997277021408081, -0.517698347568512, -0.24784250557422638, -0.32636910676956177, -0.18921169638633728, 0.8069934248924255, 0.9148063659667969, -0.7435383796691895, -0.408888041973114, -0.5139796733856201, 0.2709794342517853, 0.2076994925737381, -0.34081631898880005, 0.21648579835891724, -0.14895017445087433, -0.5315515995025635, 0.4877154231071472, 0.4415481388568878, 0.32821932435035706, -0.047885503619909286, -0.3265737295150757, 0.26327967643737793, 0.43071505427360535, 0.706809937953949, 0.32733985781669617, -0.5493596792221069, -0.2757856249809265, 0.05056570842862129, -0.4528803825378418, 0.17434582114219666, 1.0240046977996826, -0.4052888751029968, 0.2671177089214325, 0.5980318784713745, 0.4108535945415497, 0.24554619193077087, -0.2540567219257355, 0.7463321089744568, -1.1285051107406616, 0.2986069321632385, -0.057991039007902145, 0.4892439544200897, 0.22060908377170563, -0.4322144687175751, 0.1588415652513504, -0.27480828762054443, -0.466376394033432, -0.2533220052719116, 0.794955849647522, -0.901313841342926, -0.5920835733413696, 1.4230197668075562, 0.22933971881866455, -0.35665032267570496, -0.058295197784900665, -0.649871826171875, 0.07929912209510803, -0.5069242715835571, 0.9463386535644531, 0.4306377172470093, -0.3895477056503296, -0.0905238687992096, -0.11816418170928955, 0.44925597310066223, 0.22188135981559753, -0.6780673861503601, 0.17918048799037933, 0.5591894388198853, 0.23404142260551453, 0.4412917494773865, 0.6316512227058411, 0.14382266998291016, 0.3994603753089905, -0.18860341608524323, 0.365867555141449, -0.2684796452522278, -0.008332408964633942, 0.15259794890880585, 0.14180903136730194, 0.1328568011522293, -0.04880259931087494 ]
http://arxiv.org/abs/2403.10088v1
http://arxiv.org/pdf/2403.10088v1
Intent-conditioned and Non-toxic Counterspeech Generation using Multi-Task Instruction Tuning with RLAIF
2024-03-15T08:03:49
2024-03-15T08:03:49
Amey Hengle, Aswini Kumar, Sahajpreet Singh, Anil Bandhakavi, Md Shad Akhtar, Tanmoy Chakroborty
cs.CL
cs.CL, cs.AI
Counterspeech, defined as a response to mitigate online hate speech, is increasingly used as a non-censorial solution. Addressing hate speech effectively involves dispelling the stereotypes, prejudices, and biases often subtly implied in brief, single-sentence statements or abuses. These implicit expressions challenge language models, especially in seq2seq tasks, as model performance typically excels with longer contexts. Our study introduces CoARL, a novel framework enhancing counterspeech generation by modeling the pragmatic implications underlying social biases in hateful statements. CoARL's first two phases involve sequential multi-instruction tuning, teaching the model to understand intents, reactions, and harms of offensive statements, and then learning task-specific low-rank adapter weights for generating intent-conditioned counterspeech. The final phase uses reinforcement learning to fine-tune outputs for effectiveness and non-toxicity. CoARL outperforms existing benchmarks in intent-conditioned counterspeech generation, showing an average improvement of 3 points in intent-conformity and 4 points in argument-quality metrics. Extensive human evaluation supports CoARL's efficacy in generating superior and more context-appropriate responses compared to existing systems, including prominent LLMs like ChatGPT.
[ -0.4247705042362213, -1.0772171020507812, 0.05332892760634422, 0.2670809328556061, -0.27212002873420715, -0.01192941889166832, -0.17563967406749725, -0.1638563722372055, -0.09440437704324722, 0.5259141325950623, -0.7708341479301453, -0.21928372979164124, -0.6044988632202148, -0.042432934045791626, -0.22220121324062347, 1.4849941730499268, 0.3164103031158447, 0.20182400941848755, -0.06376282125711441, -0.1723397970199585, -0.4693301022052765, -0.5653329491615295, -0.7444356083869934, -0.2670210301876068, 0.5326908826828003, 0.7408707737922668, 0.3783795237541199, 0.2431543469429016, 0.2529732584953308, 0.19887326657772064, 0.2807846665382385, 0.3475152850151062, -0.8653506636619568, 0.5031221508979797, -0.17376801371574402, 0.006333246361464262, -0.16632330417633057, 0.0022597527131438255, 0.29370465874671936, 0.09426870197057724, -0.3297921419143677, 0.28201019763946533, 0.08216218650341034, 0.48530277609825134, -0.8312565684318542, -0.2263728678226471, -0.776519775390625, -0.007562614977359772, -0.27875062823295593, -0.16824810206890106, -0.920240581035614, -0.12722885608673096, -0.24624982476234436, -0.6097941398620605, 0.3311888873577118, 0.14734017848968506, 0.2784629464149475, 0.4440864324569702, -0.5382821559906006, -0.394202321767807, -0.4558767080307007, 0.9967188239097595, -0.7173406481742859, 0.4949927031993866, 0.23208823800086975, 0.051427729427814484, -0.30119138956069946, -0.5492179989814758, -0.5009718537330627, -0.24216043949127197, -0.03958864510059357, 0.3004724383354187, 0.012999290600419044, 0.12988491356372833, 0.4568403363227844, -0.1955895572900772, -0.560289204120636, 0.0927729457616806, -0.303422212600708, -0.3099144697189331, 0.6529355049133301, 0.2592848241329193, -0.022120554000139236, -0.046932999044656754, -0.578340470790863, -0.00016221853729803115, -0.5166364908218384, 0.03752841427922249, 0.4233018755912781, 0.3618023097515106, -0.13543447852134705, 0.3094404339790344, -0.19998995959758759, 0.8062238693237305, 0.4669613838195801, -0.12287532538175583, -0.17597028613090515, 0.09196224808692932, -0.015316333621740341, 0.3144635260105133, 0.7109752297401428, 0.39218634366989136, 0.37717288732528687, 0.1533510386943817, 0.24530456960201263, 0.3818013668060303, 0.755256175994873, -1.016081690788269, -0.3520396947860718, 0.10345175862312317, -0.16651444137096405, -0.5565518140792847, -0.2928830087184906, -0.9899822473526001, -0.44811177253723145, -0.07640321552753448, 0.16114075481891632, -0.36802396178245544, -0.1143750250339508, -0.40721479058265686, -0.21748319268226624, -0.014625622890889645, 0.15326373279094696, -0.6099101901054382, 0.5390008687973022, 0.46152523159980774, 0.568795382976532, -0.5023413300514221, -0.19721774756908417, -1.0500777959823608, 0.17403854429721832, -0.4472685754299164, 0.7511608600616455, -0.6424684524536133, -0.5085840821266174, -0.06723390519618988, -0.36783912777900696, 0.07591501623392105, -0.4796935021877289, 0.6586078405380249, -0.639131486415863, 0.08632352948188782, -0.12594924867153168, -0.32886236906051636, 0.05490804463624954, 0.11901015788316727, -0.4820254147052765, 1.1169579029083252, 0.001162914908491075, -0.7907000780105591, 0.3188769519329071, -0.6799522638320923, -0.9421395659446716, 0.1626882702112198, -0.058712437748909, -0.6950435638427734, 0.10561788827180862, -0.039623089134693146, 0.10982156544923782, -0.16170565783977509, 0.17730920016765594, -0.17466381192207336, -0.14336061477661133, 0.3241969347000122, -0.35623255372047424, 0.5775226354598999, 0.34417280554771423, -0.6720629930496216, 0.40634623169898987, -0.38946935534477234, 0.20058470964431763, 0.08639774471521378, -0.09077731519937515, -0.2742164134979248, 0.08886027336120605, 0.06994327157735825, 0.3468555510044098, -0.08382774144411087, -0.6119534969329834, -0.43648386001586914, -0.1636056900024414, 0.18479450047016144, 0.9258163571357727, 0.15672160685062408, 0.14401358366012573, -0.3954535722732544, 0.4523448646068573, 0.09551341086626053, 0.3243613839149475, 0.15423035621643066, -0.5837473273277283, -0.6703115701675415, -0.09099689871072769, -0.35348886251449585, 0.48724520206451416, -0.7683159112930298, -0.2205697000026703, 0.2303859293460846, -0.4379032552242279, -0.22271370887756348, -0.062316007912158966, 0.9601634740829468, 0.9604837894439697, 0.5836844444274902, -0.36688709259033203, -0.7525482773780823, -0.7395258545875549, -0.5356774926185608, -0.011706361547112465, 0.4454565942287445, 0.4103388786315918, 0.28085240721702576, 0.35889336466789246, 0.76496422290802, -0.4795719385147095, -0.06106500327587128, -0.27108296751976013, 0.5438094139099121, -0.2792845368385315, 0.21445682644844055, 0.2265683114528656, -0.9083632826805115, -0.9320343732833862, -0.4205209016799927, -0.2752603590488434, -0.34360986948013306, -0.019408835098147392, -0.07723801583051682, 0.4603602886199951, 0.45548298954963684, -0.10013676434755325, 0.45690324902534485, 0.48709192872047424, -0.2569156289100647, 0.8567636013031006, 0.233049213886261, 0.4361734092235565, -0.7236095666885376, -0.11898496001958847, -0.28266364336013794, -0.17205804586410522, -0.985982358455658, 0.025567801669239998, -0.16119948029518127, -0.291890949010849, -0.8879489898681641, 0.5868160724639893, -0.021927490830421448, 0.2707171142101288, -0.39973604679107666, 0.004056878853589296, -0.13886547088623047, 0.5543822050094604, 0.24389328062534332, 0.9231584072113037, 0.027827076613903046, -0.8430804014205933, 0.0571136400103569, 0.2773233652114868, -0.1768975406885147, 0.9631243348121643, -0.4122488498687744, 0.38460099697113037, -0.044007912278175354, 0.44933637976646423, -0.7565832734107971, -0.07654324173927307, 0.28288981318473816, -0.466621458530426, -0.0052250768058001995, -0.07772671431303024, 0.10309302061796188, -0.2680078446865082, -0.18272851407527924, 0.557263970375061, 0.4060734212398529, -0.3814079165458679, 0.4880099892616272, 0.3911222815513611, -0.15037836134433746, -0.9451257586479187, -0.5880769491195679, -0.13692118227481842, -0.18820543587207794, -0.2261752188205719, 0.2468724101781845, -0.33064475655555725, -0.2562744915485382, -0.30729275941848755, -0.11682689934968948, 0.004316133446991444, -0.07215946167707443, 0.4033590853214264, -0.0632234662771225, 0.17393340170383453, 0.04799099266529083, 0.10021066665649414, 0.0024356755893677473, 0.18097692728042603, -0.13804392516613007, 0.5574926733970642, 0.16747437417507172, -0.20029523968696594, -0.047255512326955795, 0.5776671171188354, 0.28583481907844543, -0.1823957860469818, 0.6264097094535828, 0.7393144965171814, 0.09108015149831772, -0.6735857725143433, -0.440946102142334, -0.37943434715270996, -0.44557708501815796, 0.40628549456596375, -0.26568758487701416, -1.125762701034546, 0.09381332993507385, -0.0019273714860901237, 0.2949174642562866, 0.15282726287841797, 0.7323353886604309, 0.0659155622124672, 0.8967236876487732, 0.1414707750082016, 0.4446607828140259, 0.5063828825950623, 0.32213300466537476, 0.3092254400253296, -0.7330184578895569, -0.07013537734746933, -0.36694854497909546, -0.1715840995311737, -0.44623038172721863, -0.571984589099884, 0.45822158455848694, -0.2800584137439728, -0.6722113490104675, 0.059075020253658295, -0.5857880115509033, 0.35284629464149475, 0.4481721520423889, 0.19196513295173645, 0.024887943640351295, 0.04545922204852104, -0.28203198313713074, -0.3387071490287781, -0.7348052263259888, 0.0055329096503555775, 0.898658037185669, -0.0966244637966156, 0.620947539806366, 0.27380460500717163, 0.6029244065284729, 0.5862612724304199, 0.655692994594574, -0.6616382002830505, 0.6060687899589539, -0.3914187252521515, -0.874980092048645, -0.22093333303928375, -0.46749433875083923, -0.6135687828063965, 0.1787959337234497, -0.22907938063144684, -0.4799979329109192, -0.12935569882392883, 0.5593010783195496, -0.3726651072502136, 0.13496197760105133, -0.5896044969558716, 0.7736093401908875, -0.3728463649749756, -0.9376760721206665, -0.5690067410469055, -0.5764063000679016, 0.61042320728302, -0.045639462769031525, 0.5477986931800842, -0.04391975328326225, 0.13699954748153687, 0.8426646590232849, -0.1700146198272705, 0.9999423623085022, -0.4765501618385315, 0.010858401656150818, 0.40905269980430603, 0.32331764698028564, 0.6333410739898682, -0.2479148954153061, -0.2195405215024948, 0.030418403446674347, -0.317634642124176, -0.2175484001636505, -0.388379842042923, 0.6853015422821045, -0.4940092861652374, -0.5544350147247314, -0.28487932682037354, -0.734388530254364, -0.40849193930625916, 0.29954567551612854, 0.3271135985851288, 0.2945600748062134, -0.6001594662666321, -0.031385328620672226, 0.8554718494415283, -0.380248099565506, 0.0703284963965416, 0.7914252877235413, -0.04314624145627022, -0.44992291927337646, 1.046040654182434, -0.1449870765209198, 0.5469381809234619, 0.1961928755044937, 0.46197351813316345, -0.31837964057922363, -0.06341122835874557, -0.3154957890510559, -0.16995428502559662, -0.549814760684967, -0.38069334626197815, -0.7207643389701843, -0.11457256972789764, -0.6509666442871094, -0.2740617096424103, -0.33750876784324646, -0.3249939978122711, 0.01883981190621853, 0.08031615614891052, 0.46794506907463074, 0.8896855115890503, -0.4143093228340149, 0.5698612332344055, -0.2329321652650833, 0.8192206621170044, 0.3705187141895294, 0.26212114095687866, 0.07921098172664642, -0.7170882225036621, -0.14626245200634003, 0.09676019847393036, -0.339798241853714, -1.0667036771774292, 0.2880581319332123, 0.2661488950252533, 0.3819330930709839, 0.11370282620191574, 0.5263636112213135, 0.7972307801246643, -0.7535613179206848, 0.6780096888542175, 0.19077277183532715, -0.6444687247276306, 0.526843786239624, -0.21504735946655273, 0.22518391907215118, 0.42058831453323364, 0.3778914511203766, -0.7025761008262634, -0.47707027196884155, -0.6526263356208801, -0.8004209399223328, 0.7408338785171509, -0.09214552491903305, 0.06778435409069061, -0.42477038502693176, -0.041021909564733505, 0.038154974579811096, 0.2254059761762619, -0.539244532585144, -0.3749496340751648, -0.6724722981452942, -0.22053244709968567, 0.09056738764047623, -0.347282350063324, -0.3771011233329773, 0.0357360914349556, 0.9178755283355713, 0.000058935700508300215, 0.11390484869480133, -0.026692690327763557, -0.41531872749328613, -0.1687236726284027, 0.423082560300827, 0.9789495468139648, 0.17938105762004852, 0.12623029947280884, 0.28187963366508484, 0.3757671117782593, -0.5984101891517639, 0.105209119617939, -0.2392367422580719, -0.13484123349189758, -0.2554556727409363, 0.04130268841981888, 0.7847756743431091, 0.4322313964366913, -0.4471510648727417, 0.43199869990348816, -0.09800975769758224, -0.1507440060377121, -0.31582701206207275, 0.2591686248779297, -0.04588119685649872, -0.06491772085428238, 0.20046034455299377, -0.025168824940919876, 0.043392907828092575, -0.06874680519104004, 0.789723813533783, 0.5834737420082092, -0.4775257706642151, 0.13057227432727814, 0.6929405927658081, 0.2980242073535919, -0.39084330201148987, 0.537651538848877, -0.3187883198261261, -0.5854684114456177, 0.4715077877044678, 0.9621558785438538, 0.5815281271934509, -0.4846460819244385, 0.5201691389083862, 0.6345607042312622, 0.21419844031333923, 0.37844836711883545, 0.1979246586561203, -0.1786334216594696, -0.6588807702064514, -0.3505868911743164, -0.7138051986694336, -0.43031734228134155, 0.090538889169693, -0.5862619876861572, -0.012195419520139694, -0.7128694653511047, -0.12373226135969162, -0.2110222578048706, -0.21223360300064087, -0.41474393010139465, 0.17819197475910187, -0.04121459275484085, 0.542233407497406, -1.0138144493103027, 0.4842860698699951, 0.47418296337127686, -0.18708758056163788, -0.6658596396446228, -0.007268049754202366, 0.5006361603736877, -1.015352487564087, 0.7631143927574158, 0.013255155645310879, -0.6211971640586853, 0.32734039425849915, -0.6058549284934998, -0.45229092240333557, 0.46315979957580566, 0.00041198814869858325, -0.4848925471305847, 0.44814544916152954, 0.3462410271167755, 0.40808746218681335, -0.41897374391555786, 0.29445910453796387, 0.25391024351119995, 0.4183870255947113, 0.12964731454849243, -0.4607164263725281, 0.24592214822769165, -0.023572148755192757, -0.2337258905172348, 0.15423712134361267, -0.7923205494880676, 0.6742529273033142, -0.32173222303390503, -0.336503267288208, -0.24543367326259613, 0.5611898899078369, 0.4573914706707001, 0.05260999873280525, 0.5180515050888062, 0.6980336308479309, 0.35240137577056885, 0.17523108422756195, 0.7244635224342346, -0.2670655846595764, -0.08713450282812119, 1.5613206624984741, -0.3379334509372711, 0.7456522583961487, 0.36729657649993896, 0.09902580827474594, 0.7475915551185608, 0.07779346406459808, 0.30504274368286133, 0.4301634430885315, 0.34990930557250977, -0.6077335476875305, -0.32265523076057434, -0.6277002096176147, -0.07723292708396912, 0.39204666018486023, 0.6181992888450623, 0.09284203499555588, -0.2982102632522583, 0.11122213304042816, 0.10980132222175598, 0.3806156516075134, -0.15354765951633453, 0.8888992667198181, 0.04896491765975952, -0.9008322954177856, 0.5235105752944946, -0.09887966513633728, 0.7233386635780334, -0.6214569211006165, -0.19990427792072296, -0.06338972598314285, 0.18389758467674255, -0.26630163192749023, -0.6100510358810425, 0.3523401618003845, 0.18127381801605225, -0.1974971443414688, -0.34218648076057434, 0.8139815330505371, -0.345174103975296, -0.23180079460144043, 0.21131856739521027, 0.07279837131500244, 0.027121471241116524, 0.12150818109512329, -0.9270885586738586, 0.17270874977111816, 0.013795360922813416, -0.09275759011507034, 0.35622501373291016, 0.20567689836025238, -0.1980227679014206, 0.3900044560432434, 0.6932782530784607, -0.0035886254627257586, 0.21157503128051758, 0.3008835017681122, 0.5358759760856628, -0.3899456560611725, -0.3858756124973297, -0.5608482360839844, 0.6929156184196472, -0.1466951221227646, -0.333427757024765, 0.6191591620445251, 0.4838322699069977, 0.8087977766990662, -0.022767391055822372, 0.8126276135444641, -0.2875629961490631, 0.8352640867233276, -0.13497671484947205, 0.493750661611557, -0.28281262516975403, -0.39922142028808594, -0.24800129234790802, -0.36488938331604004, -0.10485734045505524, 0.5759890675544739, -0.3726290166378021, 0.06752609461545944, 0.7920475602149963, 1.003756046295166, 0.07743917405605316, -0.08456970006227493, 0.3412129878997803, 0.18047064542770386, 0.2920810580253601, 0.49035507440567017, 0.6833309531211853, -0.29355716705322266, 0.6450579762458801, -0.29260316491127014, -0.35609033703804016, -0.05253532901406288, -0.8405017852783203, -0.7142793536186218, -0.5015774965286255, -0.12671416997909546, -0.34222984313964844, 0.4506506025791168, 0.5555495619773865, 0.5917164087295532, -0.8972893357276917, -0.283032089471817, 0.00793804693967104, 0.14114704728126526, -0.40401580929756165, -0.3102450370788574, -0.08529044687747955, -0.6148164868354797, -0.4053622782230377, 0.47403737902641296, 0.06800346821546555, -0.524569571018219, 0.03933284431695938, -0.33237147331237793, -0.5088273882865906, 0.2693493664264679, 0.8616986870765686, 0.360403448343277, -0.6185557842254639, -0.3301837146282196, -0.05083319544792175, -0.07120107859373093, -0.11470125615596771, 1.076166033744812, -0.6595441102981567, 0.3473547399044037, 0.20673097670078278, 0.4030008912086487, 0.47975048422813416, 0.23245757818222046, 0.3927740156650543, -1.074639916419983, 0.22783097624778748, 0.36420291662216187, -0.24881871044635773, 0.12156170606613159, -0.37359166145324707, 0.18149717152118683, 0.08908569812774658, -0.5869535803794861, -0.6469632387161255, 0.8968319296836853, -0.7514928579330444, -0.47453707456588745, 1.1011115312576294, 0.12936364114284515, -0.0497363917529583, -0.4013611376285553, -0.19312728941440582, 0.6501878499984741, -0.6070214509963989, 0.7177819013595581, 0.4087071716785431, -0.5362855195999146, -0.3662498891353607, -0.4600093960762024, 0.7926580309867859, 0.6967065334320068, -0.750779390335083, 0.40884312987327576, 0.7615987062454224, 0.2586500346660614, -0.031497772783041, 0.6523684859275818, -0.05322184041142464, 0.5020579099655151, 0.07755780220031738, 0.09769578278064728, -0.22863620519638062, -0.3656390905380249, 0.21473009884357452, 0.1275809109210968, 0.018841754645109177, 0.15832823514938354 ]
http://arxiv.org/abs/2403.10081v2
http://arxiv.org/pdf/2403.10081v2
DRAGIN: Dynamic Retrieval Augmented Generation based on the Information Needs of Large Language Models
2024-03-15T07:45:37
2024-06-05T18:44:59
Weihang Su, Yichen Tang, Qingyao Ai, Zhijing Wu, Yiqun Liu
cs.CL
cs.CL, cs.IR
Dynamic retrieval augmented generation (RAG) paradigm actively decides when and what to retrieve during the text generation process of Large Language Models (LLMs). There are two key elements of this paradigm: identifying the optimal moment to activate the retrieval module (deciding when to retrieve) and crafting the appropriate query once retrieval is triggered (determining what to retrieve). However, current dynamic RAG methods fall short in both aspects. Firstly, the strategies for deciding when to retrieve often rely on static rules. Moreover, the strategies for deciding what to retrieve typically limit themselves to the LLM's most recent sentence or the last few tokens, while the LLM's real-time information needs may span across the entire context. To overcome these limitations, we introduce a new framework, DRAGIN, i.e., Dynamic Retrieval Augmented Generation based on the real-time Information Needs of LLMs. Our framework is specifically designed to make decisions on when and what to retrieve based on the LLM's real-time information needs during the text generation process. We evaluate DRAGIN along with existing methods comprehensively over 4 knowledge-intensive generation datasets. Experimental results show that DRAGIN achieves superior performance on all tasks, demonstrating the effectiveness of our method. We have open-sourced all the code, data, and models in GitHub: https://github.com/oneal2000/DRAGIN/tree/main
[ -0.2654978036880493, -0.8958879709243774, 0.5015637874603271, 0.20350119471549988, -0.22056496143341064, 0.4484238624572754, -0.1399935930967331, -0.68207186460495, 0.5754603147506714, 0.28676044940948486, -0.7297197580337524, -0.14375270903110504, -0.4242505729198456, -0.06262410432100296, -0.7379885911941528, 0.8385083675384521, 0.025780990719795227, -0.34945714473724365, -0.24797455966472626, 0.04733261093497276, -0.28270310163497925, -0.37428975105285645, -0.6398964524269104, -0.14877218008041382, 0.9670425057411194, 0.4169869124889374, 0.6162882447242737, 0.9719074368476868, 0.5778685212135315, 0.22354592382907867, -0.4034561216831207, 0.3052937984466553, -0.758274257183075, 0.6375218629837036, 0.04412277042865753, -0.25535571575164795, -0.25453755259513855, -0.1371411383152008, 0.6764940023422241, 0.3288443982601166, -0.1858474761247635, 0.4157896041870117, -0.15974105894565582, 0.6798245906829834, -1.0632660388946533, -0.2754007875919342, -0.688658595085144, 0.298787921667099, -0.5547734498977661, -0.45311325788497925, -0.13464295864105225, -0.42686980962753296, 0.1129656434059143, -0.5841801762580872, 0.12134071439504623, 0.03730352967977524, 0.929997444152832, 0.13254430890083313, -0.47465139627456665, -0.4961044192314148, -0.825600266456604, 0.6791186332702637, -0.4840486943721771, 0.45171621441841125, 0.29380595684051514, 0.22895798087120056, -0.17113851010799408, -0.9323763251304626, -0.5322508811950684, -0.48821669816970825, -0.0527397096157074, 0.1101289764046669, 0.21239617466926575, -0.27157822251319885, 0.3167334496974945, 0.304751992225647, -0.2602679431438446, 0.10634692013263702, -0.10666029155254364, 0.054725781083106995, 0.5059013366699219, 0.13685525953769684, 0.16731467843055725, -0.3888673484325409, -0.468759685754776, 0.00883319042623043, -0.7380183339118958, -0.09971467405557632, 0.5213741660118103, 0.358143150806427, -0.055611059069633484, 0.4384191334247589, -0.18221057951450348, 0.6271114349365234, 0.5715911984443665, -0.15820209681987762, 0.14559943974018097, -0.4338397681713104, 0.23451274633407593, 0.05216987431049347, 0.6910542845726013, -0.16017481684684753, -0.10841993242502213, -0.002120422199368477, -0.5323576927185059, -0.777428150177002, 0.5172463655471802, -0.9285510182380676, 0.11780863255262375, 0.15237708389759064, -0.43910592794418335, -0.8779768943786621, 0.04059326648712158, -0.8375773429870605, -0.6652383208274841, -0.4241686463356018, 0.3236386775970459, -0.24671585857868195, -0.4616541266441345, -0.37723734974861145, 0.20535849034786224, 0.09244122356176376, 0.23598122596740723, -0.6512090563774109, -0.02936001494526863, 0.6942468285560608, 0.9268986582756042, -0.5725836157798767, -0.0592205636203289, -1.0700488090515137, 0.14153257012367249, -0.32512104511260986, 0.8633533716201782, -0.7504377961158752, -0.2822776138782501, 0.22570207715034485, -0.30783721804618835, 0.10458123683929443, -0.5522730946540833, 0.5089823603630066, -0.8034058809280396, 0.15902182459831238, -0.27267685532569885, -0.4240249991416931, 0.10949154198169708, 0.10636832565069199, -0.7941204905509949, 1.2447052001953125, -0.05720624327659607, -0.8760117292404175, 0.2779613435268402, -0.507781982421875, -0.5287613272666931, 0.3917720317840576, -0.2848491072654724, -0.45584604144096375, 0.21086980402469635, -0.23905599117279053, 0.46131226420402527, -0.42708441615104675, 0.5099600553512573, -0.21751630306243896, -0.1562417447566986, 0.21411147713661194, -0.27048811316490173, 0.5246943235397339, 0.5185742974281311, -0.18165649473667145, 0.07944376021623611, -1.071171522140503, -0.014914003200829029, 0.14740662276744843, -0.6906964182853699, -0.4156828820705414, 0.3346305191516876, 0.06261846423149109, 0.15994511544704437, 0.40715891122817993, -0.39832183718681335, 0.12680374085903168, -0.3007310926914215, -0.07673816382884979, 0.6537066102027893, 0.03285226225852966, 0.5231214165687561, -0.14074508845806122, 0.6236845254898071, -0.1759682595729828, 0.11480049043893814, -0.08186537772417068, 0.013454548083245754, -0.6922321915626526, -0.07548348605632782, 0.492817223072052, 0.7110588550567627, -0.91059809923172, 0.3655250072479248, -0.1770765483379364, -0.47210070490837097, -0.15640032291412354, -0.0022757970727980137, 0.2300833761692047, 0.3900361657142639, 0.05175331234931946, -0.08716215193271637, -0.6296083927154541, -0.5852479934692383, -0.27727389335632324, -0.1828247308731079, 0.10327106714248657, 0.3817198574542999, 0.23996998369693756, -0.09745898842811584, 0.821317732334137, -0.5306862592697144, 0.07557816803455353, -0.465576171875, 0.29024791717529297, 0.16313426196575165, 0.25625813007354736, 0.6759822964668274, -1.0160093307495117, -0.4558548331260681, -0.030002355575561523, -0.5980655550956726, -0.4540897011756897, -0.34274330735206604, -0.44667306542396545, 0.06836849451065063, 0.36017489433288574, -0.6472689509391785, 0.5352553725242615, 0.524372398853302, -0.36729422211647034, 0.7904974222183228, -0.1349797397851944, 0.17949636280536652, -1.1993998289108276, 0.28659942746162415, -0.30120763182640076, -0.3685954809188843, -0.797871470451355, 0.15511472523212433, 0.05918149650096893, -0.08246900141239166, -0.4182876646518707, 0.8354554176330566, -0.5501232147216797, 0.15279620885849, -0.47552746534347534, 0.39933380484580994, -0.1309056431055069, 0.1437113881111145, -0.24909548461437225, 0.7371861934661865, 0.35166457295417786, -0.9012656807899475, 0.778878390789032, 0.004501031246036291, -0.44086676836013794, 0.38006293773651123, -0.3494821786880493, 0.003565469989553094, -0.2242421805858612, 0.0714481845498085, -0.4068089723587036, -0.29325011372566223, 0.17024213075637817, -0.30010899901390076, 0.4821258783340454, -0.14926497638225555, -0.4778152108192444, -0.3345855176448822, -0.23350167274475098, 0.33009231090545654, 0.2893994450569153, -0.6697719693183899, 0.9258451461791992, 0.5720968246459961, -0.2686014771461487, -0.8719704747200012, -0.3279575705528259, 0.09622130542993546, -0.10295942425727844, -0.21079637110233307, 0.2754344642162323, -0.20640850067138672, -0.332385778427124, -0.11112049967050552, -0.2078995257616043, -0.06106267496943474, 0.13283845782279968, 0.15028788149356842, 0.13072524964809418, 0.10028886049985886, 0.13170036673545837, 0.1007697731256485, -0.18243886530399323, -0.2785155773162842, -0.2880420982837677, 0.4433341920375824, 0.6390125155448914, -0.311180055141449, -0.23547935485839844, 0.2845308482646942, 0.5685341954231262, -0.4365922808647156, 0.7482814192771912, 0.7657018899917603, -0.12006580829620361, -0.2962183952331543, -0.753189206123352, -0.18884094059467316, -0.45640766620635986, 0.3843999207019806, -0.39811182022094727, -0.8518266081809998, 0.5256747603416443, -0.29416966438293457, 0.19160142540931702, 0.21008619666099548, 0.6792352795600891, -0.07124859094619751, 0.7592133283615112, 0.8018642067909241, -0.0662878230214119, 0.9589885473251343, -0.10136081278324127, 0.20699472725391388, -0.49324169754981995, -0.3339948058128357, -0.45898669958114624, -0.4761993885040283, -0.4669303894042969, -0.3477681577205658, 0.34688693284988403, 0.1743205040693283, 0.033806927502155304, 0.13751322031021118, -0.35578325390815735, 0.3212601840496063, 0.6035088896751404, -0.1702369600534439, 0.17009907960891724, 0.2529667317867279, -0.42380857467651367, 0.08639247715473175, -0.6389832496643066, -0.17721177637577057, 0.6884212493896484, 0.08526896685361862, 0.804060161113739, 0.1562119573354721, 0.43620797991752625, 0.3872005045413971, 0.030972132459282875, -0.7606112360954285, 0.8268189430236816, -0.18234199285507202, -0.576268196105957, -0.03570958971977234, -0.6897820830345154, -1.1803067922592163, 0.115238718688488, -0.6287747621536255, -0.36373013257980347, 0.23424707353115082, 0.22913476824760437, -0.30104365944862366, 0.49165797233581543, -0.2308063954114914, 0.40867170691490173, -0.45815229415893555, -0.6674051880836487, -0.40121227502822876, -0.6558712720870972, 0.17126470804214478, -0.43251314759254456, 0.022871455177664757, -0.19699278473854065, -0.28330743312835693, 0.6859117746353149, -0.4958445131778717, 0.5859424471855164, -0.15207596123218536, -0.30845603346824646, 0.48190683126449585, 0.38930270075798035, 0.8347933292388916, 0.007689330726861954, -0.3984060287475586, -0.2523808181285858, -0.13384507596492767, -0.032737284898757935, -0.651077151298523, 0.8900454640388489, -0.3479466438293457, -0.3775179088115692, -0.3811498284339905, -0.3747066855430603, 0.10844182223081589, 0.3705492317676544, 0.21647121012210846, 0.7356947660446167, -0.00030992794199846685, 0.11113032698631287, 0.7367333769798279, -0.3196532726287842, 0.42160889506340027, 0.839295506477356, -0.6453928351402283, -0.2730637490749359, 0.9502406716346741, 0.31092914938926697, 0.010287942364811897, 0.7202462553977966, 0.2943178713321686, -0.03542224317789078, -0.538572371006012, -0.39944177865982056, 0.39609894156455994, -0.3599400818347931, -0.3741169273853302, -0.6435624957084656, -0.32033950090408325, -0.2150195688009262, 0.13282731175422668, -0.44343101978302, -0.6699926853179932, -0.35794541239738464, -0.09278441220521927, 0.5502505898475647, 0.8489510416984558, -0.09155712276697159, 0.111557237803936, -1.0096380710601807, 0.39813703298568726, 0.1905159205198288, 0.46316808462142944, 0.1612657904624939, -0.5847864747047424, -0.5879093408584595, -0.21589235961437225, -0.34476566314697266, -0.7537868618965149, 0.34162256121635437, 0.0067785317078232765, 0.5114827752113342, 0.3353714644908905, 0.12014629691839218, 0.6192668080329895, -0.6984917521476746, 0.7360351085662842, -0.13052766025066376, -0.509104311466217, 0.7252190113067627, -0.33597299456596375, 0.32520920038223267, 0.3848986029624939, 0.4289456009864807, -0.6162431240081787, -0.44949662685394287, -0.5349292159080505, -1.153978943824768, 0.7702488899230957, 0.22474192082881927, 0.115788035094738, 0.10386830568313599, 0.8007949590682983, 0.17751838266849518, 0.32868194580078125, -0.3415372669696808, -0.3127110004425049, 0.33235710859298706, -0.2725417912006378, 0.408159077167511, -0.6283660531044006, 0.13725076615810394, 0.04798397794365883, 0.6669590473175049, 0.16025611758232117, 0.23330217599868774, -0.14181169867515564, -0.0388542115688324, -0.35263076424598694, 0.02717253379523754, 0.5400813817977905, 0.7898516058921814, -0.11497974395751953, 0.04557553678750992, 0.16644816100597382, -0.8284615874290466, 0.0037546914536505938, 0.1586337685585022, -0.6182282567024231, 0.1586000770330429, 0.3598731756210327, 0.8912526369094849, 0.06635648757219315, -0.8049680590629578, 0.44628793001174927, -0.09784239530563354, -0.0007115486660040915, -0.5060819983482361, 0.1750613898038864, -0.32883360981941223, 0.244781494140625, 0.5526224374771118, -0.06232483312487602, -0.03223614767193794, -0.18316149711608887, 0.30931031703948975, 0.3108519911766052, -0.21558688580989838, -0.4428141713142395, 0.6894432902336121, 0.2325483113527298, -0.35462456941604614, 0.40465840697288513, -0.160491481423378, -0.26240670680999756, 0.2997271418571472, 0.38805314898490906, 0.9160490036010742, -0.32008111476898193, 0.18778301775455475, 0.4786272346973419, -0.12474662810564041, -0.09654799103736877, 0.3351293206214905, -0.10607510060071945, -0.5259796380996704, -0.7584830522537231, -0.7909980416297913, -0.31172677874565125, 0.17660512030124664, -0.36279982328414917, 0.4915733337402344, -0.316181480884552, -0.3997713327407837, -0.498975545167923, 0.05644480511546135, -0.20507895946502686, 0.018117669969797134, 0.1426946222782135, 0.9575303196907043, -0.35555145144462585, 0.5519875884056091, 0.869651198387146, -0.2917962670326233, -0.7699716687202454, 0.16130511462688446, 0.2406526803970337, -0.4723874628543854, 0.8932743072509766, -0.2950364649295807, -0.35072061419487, -0.10960540920495987, -0.7046152949333191, -1.3207261562347412, 1.06719970703125, 0.2773856222629547, -0.5605919361114502, -0.1773817539215088, -0.14659403264522552, 0.41355204582214355, -0.2804069519042969, 0.24248188734054565, 0.21862876415252686, 0.4471821188926697, 0.5504149794578552, -0.811732292175293, -0.10830438882112503, -0.32400864362716675, 0.034399889409542084, 0.4413084387779236, -0.694948136806488, 0.6643437147140503, 0.0025660027749836445, -0.352836936712265, 0.11497092992067337, 0.835186779499054, 0.34609776735305786, 0.08420821279287338, 0.5287181735038757, 0.44191664457321167, 0.8554341793060303, 0.1184626966714859, 1.1556848287582397, -0.4650927186012268, 0.11761970818042755, 1.029605746269226, -0.19735205173492432, 0.8570951819419861, 0.1366729438304901, 0.08578784763813019, 0.3904139995574951, 0.3747306168079376, 0.24599121510982513, 0.4638694226741791, 0.1240772008895874, -0.4367722272872925, -0.1253121793270111, -0.3087958097457886, -0.12766829133033752, 0.35195308923721313, 0.189933642745018, -0.08176425844430923, 0.015460686758160591, 0.11564748734235764, 0.2430797964334488, 0.07969767600297928, -0.1541741043329239, 0.8325093388557434, -0.1835060715675354, -0.5090240836143494, 0.6348733901977539, -0.0836872011423111, 0.6346167325973511, -0.8148084878921509, 0.0066334945149719715, -0.3882051706314087, 0.03131081163883209, -0.18688824772834778, -0.7208691835403442, 0.07721906155347824, 0.312427818775177, -0.3398181200027466, -0.3490746021270752, 0.9985973834991455, -0.5974517464637756, -0.5058476328849792, 0.2849954664707184, 0.5628840327262878, 0.17002181708812714, 0.321659117937088, -0.7435117959976196, 0.30506113171577454, 0.013385103084146976, -0.5604114532470703, 0.41325274109840393, 0.7913593053817749, -0.00031687525915913284, 1.070533037185669, 0.4969344735145569, 0.6126180291175842, 0.10901355743408203, 0.30841317772865295, 0.8763297200202942, -0.5818026065826416, -0.2998572587966919, -0.5659106373786926, 0.3951791226863861, -0.10324470698833466, 0.10735434293746948, 0.6115099191665649, 0.7838956713676453, 0.4012075662612915, 0.037989482283592224, 0.6771856546401978, -0.37716925144195557, 1.0662298202514648, -0.5162435173988342, 0.855341374874115, -0.9419634938240051, 0.4185463488101959, -0.1071237251162529, -0.996163010597229, -0.3306570053100586, 0.4776226282119751, -0.10076278448104858, 0.11322463303804398, 0.6914924383163452, 0.7977011799812317, -0.0843174010515213, -0.23114325106143951, 0.1372530162334442, 0.3316817283630371, 0.39087581634521484, 0.04752487316727638, 0.9148195385932922, -0.09169042855501175, 0.7464814782142639, -0.08640053868293762, -0.19285397231578827, -0.31049567461013794, -1.0667301416397095, -0.5097289681434631, -0.6482890844345093, -0.24284727871418, -0.35691162943840027, 0.14231497049331665, 1.17259681224823, 0.567031979560852, -0.6462423205375671, -0.37855952978134155, 0.13090021908283234, 0.26432734727859497, -0.03563234582543373, -0.23476816713809967, 0.29690149426460266, -0.6197876930236816, -0.6009925007820129, 0.5124655961990356, 0.2527462840080261, 0.013234836049377918, -0.09998440742492676, 0.08513575047254562, -0.5424943566322327, 0.0945436879992485, 0.6893539428710938, 0.25774434208869934, -0.2794725000858307, -0.14742697775363922, -0.1454409807920456, -0.1670895367860794, -0.05992862954735756, 1.087954044342041, -0.9987958669662476, 0.34074389934539795, 0.8632230758666992, 0.7421529293060303, 0.42493030428886414, 0.15407246351242065, 0.459066241979599, -0.7948424220085144, 0.1451498419046402, 0.16535961627960205, -0.1630973517894745, 0.11711359769105911, -0.48882898688316345, 0.4764232933521271, 0.41975468397140503, -0.7214151620864868, -0.7500538229942322, 0.34533369541168213, -0.7220967411994934, -0.21731890738010406, 1.0912065505981445, 0.25041401386260986, -0.19186022877693176, 0.09916163235902786, -0.17788030207157135, 0.3292933404445648, -0.40176665782928467, 0.6451755166053772, 0.3697740435600281, -0.12226595729589462, -0.16191795468330383, -0.7449473142623901, 0.6145064830780029, 0.23029828071594238, -0.6018320322036743, 0.3224729895591736, 0.6154221296310425, 0.02666206657886505, 0.2217763066291809, 0.5794872641563416, 0.04101801663637161, -0.10042595118284225, -0.3244551420211792, 0.04758366569876671, 0.023362353444099426, -0.4401738941669464, -0.019458141177892685, 0.3014627695083618, 0.00031634519109502435, 0.266742467880249 ]
http://arxiv.org/abs/2403.10065v1
http://arxiv.org/pdf/2403.10065v1
Triple GNNs: Introducing Syntactic and Semantic Information for Conversational Aspect-Based Quadruple Sentiment Analysis
2024-03-15T07:15:48
2024-03-15T07:15:48
Binbin Li, Yuqing Li, Siyu Jia, Bingnan Ma, Yu Ding, Zisen Qi, Xingbang Tan, Menghan Guo, Shenghui Liu
cs.CL
cs.CL
Conversational Aspect-Based Sentiment Analysis (DiaASQ) aims to detect quadruples \{target, aspect, opinion, sentiment polarity\} from given dialogues. In DiaASQ, elements constituting these quadruples are not necessarily confined to individual sentences but may span across multiple utterances within a dialogue. This necessitates a dual focus on both the syntactic information of individual utterances and the semantic interaction among them. However, previous studies have primarily focused on coarse-grained relationships between utterances, thus overlooking the potential benefits of detailed intra-utterance syntactic information and the granularity of inter-utterance relationships. This paper introduces the Triple GNNs network to enhance DiaAsQ. It employs a Graph Convolutional Network (GCN) for modeling syntactic dependencies within utterances and a Dual Graph Attention Network (DualGATs) to construct interactions between utterances. Experiments on two standard datasets reveal that our model significantly outperforms state-of-the-art baselines. The code is available at \url{https://github.com/nlperi2b/Triple-GNNs-}.
[ -0.3007039725780487, -0.790865421295166, 0.4344325065612793, 0.3963331878185272, -0.33418598771095276, 0.35541337728500366, -0.008188345469534397, -0.5801506638526917, 0.48516663908958435, 0.654847264289856, -0.22886009514331818, -0.7375004887580872, -0.3829837143421173, 0.05765712261199951, -0.284572958946228, 1.2815155982971191, 0.3054908812046051, 0.1789879947900772, -0.2579440474510193, -0.2599198520183563, -0.08186791837215424, -0.7587146162986755, -0.8880676031112671, -0.16762283444404602, 0.6004231572151184, 0.4197879135608673, 0.7857438325881958, -0.030469505116343498, 0.5295617580413818, 0.32598748803138733, -0.28080227971076965, 0.32289552688598633, -0.21388907730579376, 0.2908005714416504, 0.24061772227287292, -0.41730278730392456, -0.5910258889198303, -0.16424785554409027, 0.723731279373169, 0.8097474575042725, -0.02500765025615692, -0.03199322149157524, 0.4055556058883667, 0.8079655170440674, -0.48435813188552856, 0.6278305649757385, -0.23714452981948853, 0.02745548076927662, -0.08376283198595047, 0.12316335737705231, -0.02529713697731495, -0.5600894689559937, 0.3806234896183014, -0.3599478006362915, 0.15643242001533508, -0.07559945434331894, 0.9238052368164062, 0.0011077848030254245, -0.5097414255142212, -0.18256710469722748, -0.7210711240768433, 0.5850189924240112, -0.7496647238731384, 0.1322910636663437, 0.29628539085388184, 0.1305387020111084, 0.06988019496202469, -0.7511698007583618, -0.706807017326355, -0.15424691140651703, -0.18018025159835815, 0.2339160293340683, -0.2879205644130707, 0.4190595746040344, -0.1607397198677063, 0.7517278790473938, -0.2639808654785156, -0.16566786170005798, -0.21850436925888062, -0.22294263541698456, 0.5056037306785583, 0.41146522760391235, 0.30977800488471985, -0.5790202021598816, -0.32113078236579895, 0.23472857475280762, -0.2605821490287781, 0.20857472717761993, 0.5527552962303162, 0.5115765929222107, -0.2814152240753174, 0.4299665689468384, -0.37981143593788147, 0.7247011661529541, 0.07596446573734283, 0.059575993567705154, 0.6212694644927979, -1.0757452249526978, -0.21942783892154694, -0.11586309969425201, 1.324837327003479, 0.5759648680686951, 0.24122735857963562, -0.031339410692453384, 0.18033835291862488, 0.10527873784303665, 0.26352590322494507, -0.5164496898651123, -0.5025018453598022, 0.2749767303466797, -0.2436964362859726, -0.609373927116394, -0.1255226731300354, -0.7830886840820312, -0.41278088092803955, -0.4591197371482849, 0.057008061558008194, -0.4513990581035614, -0.4049232602119446, 0.16118782758712769, -0.03176083043217659, 0.08790164440870285, 0.2832024097442627, -0.9573906064033508, 0.5280589461326599, 0.6192857623100281, 1.106164813041687, 0.1297156810760498, -0.15779812633991241, -0.358947217464447, 0.0915253758430481, -0.08550997078418732, 0.7701926827430725, -0.440817654132843, -0.23929300904273987, -0.15412083268165588, -0.21350091695785522, -0.1303371638059616, -0.3558149039745331, 0.5418678522109985, -0.47951140999794006, 0.2929389774799347, -0.15904060006141663, -0.07596774399280548, -0.6323503255844116, 0.44058704376220703, -0.9299026727676392, 1.1191526651382446, 0.07196073234081268, -1.0082708597183228, 0.1391214281320572, -0.6683715581893921, -0.517182469367981, 0.03855212777853012, -0.35543355345726013, -0.5361450910568237, -0.02937789261341095, 0.3150312900543213, 0.39783596992492676, -0.24625487625598907, 0.26975029706954956, -0.5342563390731812, -0.11760734766721725, 0.225929856300354, -0.24673452973365784, 0.7120943665504456, -0.23849476873874664, -0.1891026794910431, 0.22678889334201813, -0.6174471974372864, 0.10697265714406967, -0.11143285781145096, -0.3196086585521698, -0.33934277296066284, -0.12103907763957977, -0.28138336539268494, 0.33908751606941223, 0.06788499653339386, -0.6042961478233337, -0.013841051608324051, -0.6979100108146667, 0.577965497970581, 0.31202375888824463, 0.2893129289150238, 0.37303322553634644, -0.028299760073423386, 0.594202995300293, 0.3318882882595062, 0.33652469515800476, 0.26176854968070984, -0.598365306854248, -0.9497761130332947, -0.09279873222112656, 0.22642777860164642, 0.5804474949836731, -0.9893409013748169, 0.4857513904571533, -0.32706981897354126, 0.04027261212468147, -0.6024911403656006, 0.12881939113140106, 0.5380871891975403, 0.4419211745262146, 0.3203185498714447, -0.46881720423698425, -0.7012231349945068, -1.0943000316619873, 0.021313631907105446, -0.4864286482334137, 0.12346574664115906, 0.24483399093151093, 0.22725185751914978, 0.22648455202579498, 0.9804127812385559, -0.32149749994277954, -0.31070995330810547, -0.4547578692436218, 0.06728383153676987, 0.12668092548847198, -0.09709000587463379, 0.5874375104904175, -0.845241367816925, -0.5650097131729126, -0.07889647781848907, -0.7841659188270569, 0.07526861131191254, 0.3690751791000366, -0.19197231531143188, 0.07136324048042297, 0.39437049627304077, -0.5472339391708374, 0.4273971617221832, 0.7481876611709595, -0.18474526703357697, 0.6487510204315186, 0.27674996852874756, -0.0005030657630413771, -1.2252014875411987, -0.07158457487821579, 0.10685338824987411, -0.1835557222366333, -0.8641265034675598, -0.39205092191696167, -0.2446642965078354, 0.09325001388788223, -0.3479844927787781, 0.09542141854763031, -0.40553563833236694, -0.18540355563163757, -0.05360224470496178, 0.3108814060688019, 0.698550283908844, 0.6820725798606873, -0.2682519853115082, 0.8356077075004578, 0.6019424200057983, -0.5440308451652527, 0.7578831315040588, 0.38450899720191956, -0.22942988574504852, 0.7646960020065308, -0.8289883732795715, 0.19743536412715912, 0.008236516267061234, 0.5771943926811218, -0.9986158013343811, 0.06099053844809532, 0.7385376691818237, -0.4707344174385071, 0.0500061921775341, -0.2263285517692566, -0.408631294965744, -0.5813287496566772, -0.44704732298851013, 0.48840513825416565, -0.2833006680011749, -0.3407158851623535, 0.673949122428894, 0.5650029182434082, -0.44461649656295776, -0.5800072550773621, -0.7473253607749939, 0.5395946502685547, -0.24462741613388062, -0.8962814807891846, 0.13872799277305603, 0.0933828353881836, -0.32164984941482544, -0.0396401546895504, 0.13042795658111572, 0.10988830029964447, 0.006417915690690279, 0.20161955058574677, 0.2953093647956848, -0.2769075930118561, 0.21968527138233185, -0.3048804998397827, -0.22649474442005157, 0.24815988540649414, -0.5687816739082336, 0.5531896948814392, -0.7474240064620972, 0.029240665957331657, -0.7613269686698914, 0.5937283039093018, 0.5690020322799683, -0.38477835059165955, 0.49449285864830017, 0.5781720876693726, -0.03615355119109154, 0.14832033216953278, -0.3358117640018463, 0.2322797328233719, -0.4161757528781891, 0.4137509763240814, -0.4021800458431244, -0.8808822631835938, 0.49604660272598267, 0.32941344380378723, -0.38495802879333496, 0.2774322032928467, 0.5361477732658386, -0.09776968508958817, 1.1896060705184937, 0.45754125714302063, -0.29173171520233154, 0.4979482591152191, -0.5610074996948242, 0.5353508591651917, -1.3420666456222534, -0.3609631657600403, -0.41743189096450806, -0.23002608120441437, -0.40237873792648315, -0.27555400133132935, 0.554427981376648, 0.14163163304328918, -0.1283656656742096, -0.021663539111614227, -0.3964211642742157, 0.2627420127391815, 0.5198333263397217, 0.2135927528142929, 0.3766743540763855, -0.08490248024463654, -0.18162134289741516, 0.250423789024353, -0.4702371060848236, -0.4601213037967682, 0.8698358535766602, 0.3015585243701935, 0.40713030099868774, 0.4576219916343689, 0.5717174410820007, 0.14040197432041168, -0.20668333768844604, -1.100794792175293, 0.5733320713043213, -0.2391643524169922, -0.22387290000915527, -0.24839504063129425, -0.5385682582855225, -0.9708932638168335, 0.3745076060295105, 0.08934447169303894, -0.9298259615898132, 0.17809049785137177, -0.10553949326276779, -0.8923318982124329, 0.1346282809972763, -0.706498920917511, 0.6220278143882751, -0.09928525984287262, -0.1534896343946457, -0.030293451622128487, -0.8745001554489136, 0.3882378935813904, 0.31369253993034363, 0.1724250167608261, -0.2143869251012802, 0.14297699928283691, 0.7123718857765198, -0.3657561242580414, 1.0553584098815918, -0.11687058955430984, -0.03748606890439987, 0.3925834596157074, -0.07449518889188766, 0.1107444316148758, 0.3640391230583191, -0.11492197215557098, 0.4982359707355499, -0.09920500963926315, -0.24039004743099213, -0.789506196975708, 0.7527661323547363, -0.8675628900527954, -0.4945421516895294, -0.272661030292511, -0.4594120681285858, -0.5410475134849548, 0.050740450620651245, -0.12187346071004868, 0.7691589593887329, -0.2595599591732025, 0.013750321231782436, 0.30451202392578125, 0.2990610897541046, 0.5037457942962646, 0.1457747370004654, -0.27123627066612244, -0.7661426067352295, 0.6222085952758789, -0.16705061495304108, 0.4750625193119049, 0.22441378235816956, 0.30414584279060364, -0.27962931990623474, -0.5911790132522583, -0.5272285342216492, 0.21587862074375153, -0.5569154620170593, -0.3731447756290436, -0.9503782987594604, -0.40077340602874756, -0.5150858163833618, 0.32279065251350403, 0.00003198682315996848, -0.5550642609596252, -0.26205068826675415, -0.18847441673278809, 0.4802760183811188, 0.8494211435317993, -0.17468957602977753, 0.476595014333725, -0.9119271039962769, 0.4089653789997101, 0.4562789499759674, 0.37058067321777344, -0.006279445718973875, -0.16948674619197845, -0.4376384913921356, 0.29537612199783325, -0.27915436029434204, -0.828982949256897, 0.17935068905353546, 0.26349419355392456, 0.2901450991630554, 0.36149105429649353, -0.29607120156288147, 0.3393920361995697, -0.14047148823738098, 1.0949357748031616, 0.4430634379386902, -1.0532211065292358, 0.3922344446182251, -0.42258045077323914, 0.37852421402931213, 0.7596694827079773, 0.06506280601024628, -0.7869146466255188, -0.5179464221000671, -0.6039886474609375, -0.8260893821716309, 0.9669082760810852, 0.28130921721458435, 0.07178489863872528, -0.1868559569120407, 0.17175142467021942, -0.20015224814414978, 0.3762340247631073, -0.476360946893692, -0.20942558348178864, -0.29356053471565247, -0.3336910009384155, 0.020302439108490944, -0.34304341673851013, -0.27975553274154663, -0.30594122409820557, 0.651416540145874, -0.4068280756473541, 0.21630147099494934, 0.02399536781013012, 0.3023628890514374, 0.18295089900493622, 0.0534374825656414, 0.1728435456752777, 0.2065449357032776, -0.203294575214386, 0.251980721950531, -0.04732381924986839, -0.755372166633606, -0.0660087987780571, 0.1945967823266983, 0.016108835116028786, 0.026372890919446945, 0.23399576544761658, 1.071345567703247, 0.1548350602388382, 0.28235524892807007, 0.7078243494033813, -0.3879469931125641, -0.15383444726467133, -0.3052119016647339, -0.1461174637079239, 0.15634283423423767, 0.2657392621040344, -0.026308689266443253, 0.08865547925233841, 0.46219852566719055, -0.47102880477905273, 0.08923740684986115, 0.34963226318359375, -0.6166872382164001, -0.4629477560520172, 0.151298388838768, 0.6017699837684631, -0.13791759312152863, 0.7100673317909241, -0.30377066135406494, -0.8502440452575684, 0.6163188219070435, 0.17901456356048584, 1.0170761346817017, -0.22670423984527588, 0.7055754661560059, 0.20293143391609192, 0.007912575267255306, 0.31406185030937195, 0.4380571246147156, -0.17091086506843567, -0.9784132838249207, -0.45838838815689087, -0.6341796517372131, -0.4545658230781555, 0.03208158165216446, -0.8118335008621216, 0.19231025874614716, -0.4101414084434509, -0.44619739055633545, 0.4251196086406708, 0.11453660577535629, -0.6391861438751221, 0.19481857120990753, 0.3410581350326538, 0.19215844571590424, -0.6798332333564758, 0.6412195563316345, 0.6259768605232239, -0.7517707943916321, -0.7125556468963623, 0.10319463163614273, 0.1429625004529953, -0.8224872946739197, 0.4020315110683441, 0.2528455853462219, -0.5668119192123413, -0.019013574346899986, -0.3607030212879181, -1.0826046466827393, 0.900685727596283, -0.08463156968355179, -0.24856401979923248, -0.2941790819168091, 0.3979998826980591, 0.5763329267501831, -0.48387691378593445, 0.46651190519332886, 0.9598286151885986, 0.3013456165790558, 0.16049528121948242, -0.9954709410667419, -0.06953417509794235, -0.4186703860759735, 0.08615205436944962, 0.5475665330886841, -0.8451634645462036, 0.7493665218353271, -0.17987829446792603, -0.21552444994449615, -0.08700021356344223, 0.646606981754303, -0.08397824317216873, 0.19575440883636475, 0.7641069889068604, 0.6161580681800842, 0.7389078736305237, -0.1579008847475052, 0.9090413451194763, -0.2696216404438019, 0.3131018280982971, 1.2377532720565796, -0.29814013838768005, 0.5100314617156982, 0.33037322759628296, -0.3012048006057739, 1.062904715538025, 0.41322585940361023, 0.25435590744018555, 0.3822613060474396, 0.3279918432235718, -0.5071011781692505, -0.16199609637260437, -0.35279691219329834, -0.17696556448936462, 0.7521950602531433, 0.8107191324234009, -0.14554201066493988, -0.2547653913497925, 0.048444103449583054, 0.20548102259635925, -0.22968393564224243, -0.0831526666879654, 1.0569156408309937, 0.31667083501815796, -0.27700895071029663, 0.39871904253959656, -0.30850672721862793, 0.39395439624786377, -0.5218068361282349, 0.0679738000035286, -0.20785918831825256, 0.10674024373292923, -0.3854549825191498, -1.1672983169555664, 0.4196029305458069, -0.42329731583595276, -0.22932010889053345, 0.2366926521062851, 0.5854423642158508, -0.509444534778595, -0.43039804697036743, 0.5806683301925659, 0.47564697265625, -0.025068920105695724, -0.2063046246767044, -0.846666157245636, 0.013474049977958202, 0.007803865242749453, -0.1493322253227234, 0.05668068304657936, 0.623539388179779, -0.03265606611967087, 0.26751509308815, 0.48085105419158936, 0.08799510449171066, -0.40755289793014526, 0.8755943179130554, 1.016510248184204, -0.5460564494132996, -0.8009355664253235, -0.7202289700508118, 0.44000443816185, -0.5161311030387878, -0.32418373227119446, 0.774870753288269, 0.48191481828689575, 0.4160201847553253, 0.5706886053085327, 1.1042370796203613, 0.10607396066188812, 0.4644516408443451, -0.5938212275505066, 0.282677561044693, -0.26787257194519043, 0.10059211403131485, -0.2701539993286133, -0.7453032732009888, -0.6339404582977295, 0.1153658777475357, -0.5344018936157227, 0.016208024695515633, 0.8778512477874756, 0.7676460146903992, 0.009769891388714314, 0.6699698567390442, 0.08489804714918137, 0.26884031295776367, 0.3475089967250824, 0.5831002593040466, 1.1533068418502808, -0.30482643842697144, 0.6914241909980774, -0.3004061281681061, -0.3162677586078644, -0.1606617122888565, -0.6032640337944031, -0.8223766088485718, -0.5094723105430603, -0.29767248034477234, -0.708777666091919, 0.048989374190568924, 0.4730921983718872, 0.5221182703971863, -0.7091556191444397, -0.11834049224853516, -0.10537117719650269, 0.020153438672423363, -0.12075374275445938, -0.31862112879753113, 0.4957679808139801, -0.3392428159713745, -0.5415781736373901, 0.38980504870414734, 0.561570942401886, -0.004052590113133192, -0.47103577852249146, 0.2330949902534485, -0.3505631387233734, 0.1748950481414795, 0.6434165835380554, 0.003879860509186983, -0.6240891814231873, -0.49296095967292786, -0.18092773854732513, -0.1779874563217163, 0.3019784390926361, 0.7914994359016418, -0.7302016615867615, 0.5208712220191956, 0.3368856906890869, 0.25341707468032837, 0.3470148742198944, 0.09769436717033386, 0.5757253766059875, -0.8784480094909668, -0.044943299144506454, 0.47766637802124023, 0.2673712372779846, 0.6911261677742004, -0.5169771313667297, 0.27686941623687744, 0.21338865160942078, -0.6018823385238647, -0.24980047345161438, 0.4379757344722748, -1.0173548460006714, 0.09140688180923462, 1.4207334518432617, -0.0036611303221434355, -0.205664724111557, -0.5630607008934021, -0.276761531829834, 0.22615979611873627, -0.5436744689941406, 0.6155749559402466, 0.6483702659606934, -0.3688356578350067, 0.21968789398670197, -0.4981946051120758, 0.4836665987968445, 0.4388040602207184, -0.8528528213500977, 0.096481554210186, 0.6739343404769897, 0.0046827648766338825, 0.3535636067390442, 0.919013500213623, -0.10016872733831406, 0.01668609119951725, -0.08486531674861908, 0.21648746728897095, 0.07741286605596542, -0.5484515428543091, -0.45085039734840393, 0.12435796111822128, -0.2012723982334137, -0.6252714991569519 ]
http://arxiv.org/abs/2403.10059v2
http://arxiv.org/pdf/2403.10059v2
Repoformer: Selective Retrieval for Repository-Level Code Completion
2024-03-15T06:59:43
2024-06-04T10:04:33
Di Wu, Wasi Uddin Ahmad, Dejiao Zhang, Murali Krishna Ramanathan, Xiaofei Ma
cs.SE
cs.SE, cs.CL
Recent advances in retrieval-augmented generation (RAG) have initiated a new era in repository-level code completion. However, the invariable use of retrieval in existing methods exposes issues in both efficiency and robustness, with a large proportion of the retrieved contexts proving unhelpful or harmful to code language models (code LMs). In this paper, we propose a selective RAG framework to avoid retrieval when unnecessary. To power this framework, we design a self-supervised learning approach to enable a code LM to accurately self-evaluate whether retrieval can improve its output quality and robustly leverage the potentially noisy retrieved contexts. Using this LM as both the selective RAG policy and the generation model, our framework achieves state-of-the-art repository-level code completion performance on diverse benchmarks including RepoEval, CrossCodeEval, and CrossCodeLongEval, a new long-form code completion benchmark. Meanwhile, our analyses show that selectively retrieving brings as much as 70% inference speedup in the online serving setting without harming the performance. We further demonstrate that our framework is able to accommodate different generation models, retrievers, and programming languages. These advancements position our framework as an important step towards more accurate and efficient repository-level code completion.
[ -0.5898206233978271, -0.05038345977663994, 0.2166394591331482, 0.1644686758518219, -0.14724090695381165, 0.3197968900203705, -0.16370908915996552, -0.43963032960891724, 0.28536197543144226, 1.0251141786575317, -0.30651697516441345, -0.36313921213150024, -0.3260471522808075, 0.41702523827552795, -0.5145202279090881, 0.9177840948104858, 0.015992339700460434, -0.14193163812160492, -0.2941729724407196, -0.24694368243217468, -0.33308103680610657, -0.40504515171051025, -0.2687402665615082, -0.2921629250049591, 0.547393798828125, 0.47762930393218994, 0.23370125889778137, 0.8108410835266113, 0.6015297770500183, 0.2862192690372467, 0.16130563616752625, 0.06877512484788895, -0.7014514207839966, 0.6477975845336914, -0.36759820580482483, -0.39914318919181824, -0.1472763568162918, -0.057035502046346664, 0.3529262840747833, 0.20455946028232574, -0.3992973566055298, 0.3863670527935028, 0.10285041481256485, 1.114803433418274, -1.130964994430542, -0.2981066107749939, -0.5662743449211121, 0.13974109292030334, 0.024817895144224167, -0.1631753295660019, -0.7642269134521484, -0.17895585298538208, -0.023675622418522835, -0.4854063391685486, 0.3406357169151306, -0.024905692785978317, 0.7386941313743591, 0.562964916229248, -0.3036535978317261, -0.353259414434433, -0.5506983399391174, 0.7924973368644714, -0.29216378927230835, 0.533234179019928, 0.8181105852127075, 0.5578237771987915, -0.035644978284835815, -1.1222487688064575, 0.154453307390213, -0.38270723819732666, -0.3682391345500946, 0.21074017882347107, -0.027980690822005272, 0.02291104756295681, 0.27497416734695435, 0.5680087804794312, -0.5807012319564819, -0.19019083678722382, -0.41112443804740906, -0.21660089492797852, 0.42727887630462646, -0.27594247460365295, -0.14872699975967407, -0.4567930996417999, -0.6249520182609558, 0.015508417040109634, -0.4940198063850403, -0.22502125799655914, 0.29498863220214844, 0.11859481781721115, 0.1464870572090149, 0.3682151734828949, -0.27991199493408203, 0.819198727607727, 0.2838187515735626, 0.13469161093235016, 0.3334154784679413, -0.11773171275854111, -0.21074841916561127, -0.3504529893398285, 0.38892629742622375, -0.20784707367420197, 0.08481988310813904, -0.3600752055644989, -0.4963811933994293, -0.13737446069717407, 0.8856973648071289, -0.8432825803756714, -0.27269530296325684, 0.33824488520622253, -0.7032778263092041, -0.23466964066028595, 0.3287120461463928, -0.8987452387809753, -0.36128947138786316, -0.051276735961437225, 0.025224866345524788, -0.2617647051811218, -0.328092098236084, -0.35445335507392883, -0.18870621919631958, 0.11804512143135071, -0.0703921988606453, -0.5159127712249756, -0.028913114219903946, 0.687279999256134, 0.3950842022895813, -0.42777061462402344, -0.025522220879793167, -0.8898699879646301, 0.31710684299468994, -0.3913324475288391, 0.6361045837402344, -0.8417190909385681, -0.6147809624671936, -0.1041252464056015, -0.04739456623792648, 0.22330400347709656, -0.8812668323516846, 0.31593024730682373, -0.8817265629768372, 0.20435181260108948, 0.14609093964099884, -0.6210383176803589, -0.013569020666182041, 0.11751402914524078, -0.7920743823051453, 0.9006578326225281, 0.622957706451416, -0.6311467289924622, 0.4176405370235443, 0.057628434151411057, -0.3666461408138275, 0.12968376278877258, -0.4617897868156433, -0.5318149924278259, 0.16108576953411102, 0.032397132366895676, 0.22531865537166595, -0.016661185771226883, 0.42970308661460876, -0.11990705132484436, -0.5567741990089417, -0.04792333394289017, -0.07498206198215485, 0.421670138835907, 0.8950909972190857, -0.2764551341533661, -0.02725815214216709, -0.8625938296318054, 0.35443776845932007, -0.21972352266311646, -0.6779030561447144, -0.19782187044620514, -0.15374235808849335, -0.21290968358516693, 0.15332283079624176, 0.2906593978404999, -0.1412183791399002, 0.19233305752277374, -0.1964791864156723, 0.03652167320251465, 0.62328040599823, 0.06687802076339722, 0.8855017423629761, -0.3747870624065399, 1.0469812154769897, -0.36147844791412354, 0.2678840756416321, -0.32439956068992615, -0.09960679709911346, -0.642339825630188, -0.8280478119850159, 0.4529409110546112, 0.37333035469055176, -1.0312941074371338, 0.23403829336166382, 0.13731740415096283, -0.4953349232673645, -0.5659990310668945, 0.4455571472644806, 0.9798650741577148, 0.45218974351882935, 0.5393340587615967, -0.27769750356674194, -0.8763954639434814, -0.8767703771591187, -0.5259926319122314, -0.02688072808086872, -0.29863426089286804, 0.5249707698822021, 0.1531321257352829, -0.5488179326057434, 0.9573035836219788, -0.2791251242160797, -0.5164187550544739, -0.18642398715019226, -0.044765833765268326, 0.3985110819339752, 0.6641268134117126, 0.5737504959106445, -0.9823502898216248, -0.4999457597732544, -0.17852315306663513, -0.6056045293807983, -0.3927146792411804, -0.027792025357484818, -0.1314481645822525, 0.4116699993610382, 0.6327243447303772, -0.08471141755580902, 0.4008260667324066, 0.8411528468132019, -0.15516358613967896, 0.11440280079841614, -0.37636128067970276, 0.25622275471687317, -0.7980730533599854, 0.15269894897937775, -0.22866152226924896, -0.449194997549057, -0.30766764283180237, 0.6191744208335876, 0.47608721256256104, -0.0626457929611206, -0.3314913213253021, 0.5421853065490723, -0.7788154482841492, -0.1974511295557022, -0.4078894555568695, -0.15167152881622314, 0.2591090798377991, 0.3435966670513153, -0.14073938131332397, 0.9001684188842773, 0.24699236452579498, -0.6542202234268188, -0.11114710569381714, -0.15305636823177338, -0.0700475424528122, 0.27357161045074463, -0.4988411068916321, 0.07110743224620819, -0.22609880566596985, 0.2481539398431778, -0.7882729172706604, -0.3155156373977661, 0.3435400426387787, -0.46828728914260864, 0.7082438468933105, -0.7514292597770691, -0.008655896410346031, -0.3574790954589844, 0.072966068983078, 0.41495969891548157, 0.6826927065849304, -0.6519235968589783, 0.9215511679649353, 0.5133600831031799, 0.3737012445926666, -0.910043478012085, -0.7241930365562439, -0.20089830458164215, 0.024310950189828873, -0.08792697638273239, 0.3304084539413452, 0.11579587310552597, 0.06715839356184006, -0.24734002351760864, -0.5592384338378906, -0.26889604330062866, 0.08527005463838577, 0.27843111753463745, 0.10720290243625641, 0.09415800124406815, 0.10115072131156921, -0.06891702860593796, -0.518449068069458, -0.16245882213115692, -0.35146817564964294, 0.34511861205101013, 0.1525178998708725, -0.42867201566696167, 0.02624858170747757, 0.3680056035518646, 0.09548076242208481, -0.5041251182556152, 0.28598570823669434, 0.44373106956481934, -0.018746498972177505, -0.4589383602142334, -0.8074552416801453, -0.1862896829843521, -0.5199113488197327, 0.06940446048974991, -0.4235793650150299, -1.1987255811691284, 0.5076669454574585, 0.13025341928005219, -0.05848032981157303, 0.14667052030563354, 0.031951893121004105, 0.06580555438995361, 0.7579825520515442, 0.5296239256858826, 0.05260416865348816, 0.7692403197288513, -0.3374961316585541, -0.10218056291341782, -0.5955713391304016, -0.1691044270992279, -0.7815324068069458, -0.003847583197057247, -0.9026340246200562, -0.5181537866592407, -0.056150540709495544, 0.3236891031265259, -0.22773127257823944, 0.6509398818016052, -1.0448975563049316, 0.5372592806816101, 0.44800060987472534, 0.049213606864213943, 0.27016258239746094, 0.1980353593826294, -0.1271953284740448, 0.09833543747663498, -0.6787456274032593, -0.14890260994434357, 0.8635153770446777, 0.1627335101366043, 1.0167698860168457, 0.08809258788824081, 1.2628586292266846, 0.46760401129722595, 0.6784945726394653, -0.20818227529525757, 0.3262023329734802, -0.21245847642421722, -0.911961019039154, 0.06271931529045105, -0.9646431803703308, -1.028629183769226, 0.37973979115486145, 0.12381818145513535, -0.3954058587551117, 0.5001860857009888, 0.2995486259460449, -0.028176257386803627, -0.14147986471652985, -0.6761138439178467, 0.7442433834075928, -0.09352496266365051, -0.37763747572898865, -0.2825951874256134, -0.5109952092170715, 0.1649942845106125, -0.21733105182647705, 0.21090823411941528, -0.035477165132761, -0.37877941131591797, 0.18647626042366028, -0.16940052807331085, 0.4705491065979004, -0.2940180003643036, -0.07716141641139984, 0.4164331555366516, 0.608795166015625, 0.49940237402915955, 0.21315540373325348, -0.3515905439853668, 0.17657876014709473, -0.08848311007022858, -0.4325202703475952, -0.4852752089500427, 0.8105748891830444, -0.47769466042518616, -0.8311216831207275, -0.42472925782203674, -0.10048334300518036, 0.11400210112333298, 0.4570227861404419, 0.38354387879371643, 0.2828967273235321, 0.27426478266716003, 0.3522300720214844, 0.6182140111923218, -0.23072463274002075, 0.3366306722164154, 0.6318076848983765, -0.7040894031524658, -0.7333150506019592, 1.1186604499816895, 0.04733145609498024, 0.4003197252750397, 0.3629719018936157, -0.032606448978185654, -0.2822870910167694, -0.3751084804534912, -0.22619938850402832, 0.13664264976978302, -0.7971799969673157, -0.6700300574302673, -0.712909460067749, -0.17299750447273254, -0.3983142673969269, -0.23631404340267181, -0.46172383427619934, -0.27893969416618347, -0.33494219183921814, 0.100710429251194, 0.24018234014511108, 0.488780677318573, -0.01732231304049492, -0.03537461534142494, -1.050009846687317, 0.6707225441932678, 0.18458382785320282, 0.753541111946106, -0.1291390061378479, -0.5933438539505005, -0.172015979886055, -0.16741272807121277, -0.039011672139167786, -0.6684201955795288, 0.4490848183631897, 0.03623426705598831, 0.9694375395774841, 0.27593794465065, 0.43772006034851074, 0.5394533276557922, -0.221028670668602, 0.2316562533378601, -0.01505893561989069, -0.680960476398468, 0.666602611541748, -0.2268364131450653, 0.34744009375572205, 0.8673093318939209, 0.2815544009208679, -0.0666031762957573, -0.6373664736747742, -0.5412207245826721, -1.047633409500122, 0.5054356455802917, 0.2217768430709839, -0.04039856046438217, -0.3518344759941101, 0.5293592810630798, 0.10747350007295609, 0.3150714039802551, -0.5577015280723572, -0.31186342239379883, -0.31303584575653076, 0.1628512144088745, 0.28667038679122925, -0.40151405334472656, 0.1086563691496849, 0.022659920156002045, 0.4962364137172699, -0.2299518883228302, 0.10710558295249939, 0.42316940426826477, -0.26660123467445374, -0.16858422756195068, 0.16213294863700867, 0.17514681816101074, 0.9228332042694092, -0.21955914795398712, -0.15890908241271973, -0.08572424948215485, -0.31761878728866577, 0.10101096332073212, 0.07294657826423645, -0.25172799825668335, 0.10247458517551422, 0.134492889046669, 0.01266258955001831, 0.28069907426834106, -0.6659192442893982, 0.3735365569591522, -0.09433607012033463, 0.028913229703903198, -0.5270278453826904, 0.4013788104057312, -0.31687065958976746, 0.26608511805534363, 0.7598399519920349, 0.2966274917125702, 0.34717220067977905, -0.10287994146347046, 0.8287066221237183, 0.19951525330543518, -0.48519885540008545, 0.4700620472431183, 0.6776939630508423, 0.19798414409160614, -0.25567081570625305, 0.5858737230300903, -0.2238803654909134, -0.1539498269557953, 0.7125048637390137, 0.3534057140350342, 1.0492855310440063, -0.2921355962753296, 0.22242441773414612, 0.4587583839893341, -0.10346297919750214, -0.22533628344535828, 0.30845800042152405, -0.34360039234161377, -0.31567811965942383, -0.5643085241317749, -0.8018323183059692, -0.05299992114305496, -0.4523751437664032, -1.022829532623291, 0.005507167894393206, -0.4619852602481842, -0.3674280345439911, -0.6386823654174805, -0.040861405432224274, -0.33031171560287476, 0.02774522826075554, -0.1067357063293457, 1.1834938526153564, -0.0021298008505254984, 0.8619804978370667, 0.37476155161857605, -0.5679804086685181, -0.662326455116272, -0.049407850950956345, -0.23202407360076904, -0.5187152624130249, 0.5155122876167297, 0.2761823832988739, -0.18829816579818726, 0.05605565756559372, -0.24537065625190735, -1.1164661645889282, 0.9603946805000305, 0.38376033306121826, -0.6591841578483582, 0.10762236267328262, -0.34992581605911255, 0.6077843308448792, -0.5765599608421326, 0.3031844198703766, 0.3755894899368286, 0.41084176301956177, 0.19558484852313995, -0.5970996618270874, 0.0550726056098938, -0.14789395034313202, 0.3878171145915985, 0.31164222955703735, -0.5511044859886169, 0.5376812815666199, -0.2343997210264206, -0.32579630613327026, 0.33247432112693787, 0.8698626756668091, 0.6190984845161438, 0.16624461114406586, 0.4184034466743469, 0.28547775745391846, 0.478077232837677, 0.06506800651550293, 1.333788275718689, -0.5274752974510193, 0.5276519656181335, 1.132943868637085, -0.16409553587436676, 0.7809434533119202, 0.5722135305404663, 0.17768104374408722, 0.3732949197292328, 0.37917909026145935, -0.17388245463371277, 0.6757296919822693, 0.28311148285865784, 0.07648160308599472, -0.42148497700691223, -0.07937780022621155, -0.6768369674682617, 0.390390545129776, 0.10172034054994583, -0.6275721192359924, -0.19900977611541748, -0.09538300335407257, -0.39672476053237915, 0.42873701453208923, -0.20113374292850494, 0.7186593413352966, 0.2218165397644043, -0.9529796838760376, 0.7329167723655701, -0.28514519333839417, 0.6041039824485779, -0.5124378800392151, -0.25508546829223633, -0.5403770804405212, 0.41815975308418274, -0.4062161445617676, -0.5734907984733582, 0.3712923526763916, -0.12742382287979126, -0.2834881544113159, -0.5981431007385254, 0.7836170196533203, -0.3956384062767029, -0.18999402225017548, 0.888393759727478, 0.5207822918891907, -0.03784208372235298, 0.04439115151762962, -0.801045835018158, 0.17540784180164337, 0.15205560624599457, -0.49970683455467224, 0.5207701921463013, 0.33141422271728516, 0.19879558682441711, 0.8887353539466858, 0.5393988490104675, -0.12377828359603882, -0.06750363111495972, 0.24877800047397614, 1.0141676664352417, -0.5746932625770569, -0.3614366352558136, -0.4322948455810547, 0.3168792724609375, -0.058754194527864456, -0.08796180784702301, 0.7147848606109619, 0.6432742476463318, 1.3188257217407227, -0.1224970668554306, 0.4386695623397827, -0.1874774843454361, 0.7425594925880432, -0.31983211636543274, 0.8149042129516602, -0.6689745783805847, 0.5578691959381104, -0.12211504578590393, -0.9262142181396484, -0.17530415952205658, 0.7968756556510925, -0.12740126252174377, 0.4134502708911896, 0.3181940019130707, 0.9262863397598267, 0.1631220132112503, -0.2991989850997925, 0.5073000192642212, -0.13930664956569672, 0.11015427857637405, 0.13850317895412445, 0.897237241268158, -0.34656500816345215, 0.9100080132484436, -0.368923544883728, -0.044501759111881256, -0.25387537479400635, -0.717800498008728, -0.748160719871521, -0.26750215888023376, -0.00982959195971489, -0.5996410846710205, 0.1113816648721695, 0.7947148084640503, 0.6638152599334717, -0.9072933197021484, -0.16490744054317474, -0.021147165447473526, 0.3889271914958954, -0.2192593812942505, -0.25481918454170227, -0.09054174274206161, -0.7799241542816162, -0.46587079763412476, 0.3580743670463562, 0.26583215594291687, -0.26998621225357056, -0.1964864730834961, -0.32129719853401184, -0.14046134054660797, -0.4155990779399872, 0.2594105303287506, 0.40283071994781494, -0.7147318124771118, -0.11983015388250351, 0.27681511640548706, -0.6630749106407166, 0.23317033052444458, 1.0932013988494873, -1.1974772214889526, 0.4779038429260254, 0.7009801864624023, 0.7899235486984253, 0.4797164499759674, 0.1568143218755722, 0.5517855286598206, -0.7493458390235901, 0.0997496098279953, 0.5657217502593994, 0.3773883879184723, -0.011141481809318066, -0.5135170817375183, 0.864850640296936, -0.11647462844848633, -0.7515518665313721, -0.6884875297546387, 0.36037033796310425, -0.4512120187282562, -0.6521233916282654, 1.0294114351272583, -0.3835065960884094, -0.29436400532722473, -0.21704833209514618, 0.026052141562104225, 0.2124558836221695, -0.5882333517074585, 0.7741597890853882, 0.10188669711351395, -0.009871138259768486, -0.4231368899345398, -0.4403723180294037, 0.5768356323242188, 0.33890897035598755, -0.37354394793510437, -0.036730483174324036, 0.7879010438919067, 0.22343501448631287, 0.21379660069942474, 0.6437294483184814, -0.1951989084482193, 0.3956378996372223, -0.19347091019153595, 0.17112691700458527, -0.10226332396268845, -0.5885062217712402, -0.2932969927787781, 0.41228631138801575, -0.10377166420221329, 0.07013261318206787 ]
http://arxiv.org/abs/2403.12094v1
http://arxiv.org/pdf/2403.12094v1
Are LLMs Good Cryptic Crossword Solvers?
2024-03-15T06:57:08
2024-03-15T06:57:08
Abdelrahman "Boda" Sadallah, Daria Kotova, Ekaterina Kochmar
cs.AI
cs.AI, cs.CL, cs.LG
Cryptic crosswords are puzzles that rely not only on general knowledge but also on the solver's ability to manipulate language on different levels and deal with various types of wordplay. Previous research suggests that solving such puzzles is a challenge even for modern NLP models. However, the abilities of large language models (LLMs) have not yet been tested on this task. In this paper, we establish the benchmark results for three popular LLMs -- LLaMA2, Mistral, and ChatGPT -- showing that their performance on this task is still far from that of humans.
[ -0.21213743090629578, -0.2766050696372986, 0.6708393096923828, 0.28535428643226624, -0.48634055256843567, 0.42230746150016785, -0.22651027143001556, -0.9921199679374695, 0.10826046019792557, 0.36244747042655945, -0.6120595932006836, -0.5406299829483032, -1.0196774005889893, 0.5057801604270935, -0.7522788643836975, 0.7986756563186646, -0.2692234218120575, 0.003012311179190874, -0.028056152164936066, -0.18039962649345398, -0.2658481001853943, -0.6982513070106506, -0.7085464596748352, -0.3517566919326782, 0.8214728236198425, -0.0830710157752037, 0.8053710460662842, 0.6970123648643494, 0.698375940322876, 0.30673930048942566, -0.49615541100502014, 0.2659600079059601, -0.7197362780570984, 0.29419946670532227, -0.446499764919281, -1.0214192867279053, 0.23594410717487335, -0.04331379011273384, 0.30873045325279236, 0.5612981915473938, -0.16736336052417755, 0.00459646712988615, 0.05787551403045654, 0.39706143736839294, -0.36472299695014954, 0.007205980829894543, -0.8715934157371521, 0.09786753356456757, -0.5724635720252991, -0.03397012874484062, -0.008174008689820766, -0.39659953117370605, 0.238742396235466, -0.6323931217193604, 0.4311353862285614, 0.3135751485824585, 0.6253227591514587, 0.668755292892456, -0.33269211649894714, -0.8723334074020386, -0.8937351703643799, 0.77909255027771, -0.7726507782936096, 0.15830793976783752, 0.19321298599243164, 0.48249536752700806, -0.44005629420280457, -0.6951873302459717, -0.1096302792429924, -0.23889824748039246, -0.011034040711820126, -0.018636254593729973, -0.5020231008529663, 0.02428136207163334, 0.2699069678783417, 0.3952832818031311, -0.4357031583786011, 0.4742000997066498, -0.23833073675632477, -0.12930122017860413, 0.5231643915176392, 0.6690340042114258, 0.3486412465572357, 0.16042128205299377, -0.48475608229637146, 0.3670143187046051, -0.7949166893959045, -0.0777026042342186, 0.2320055216550827, -0.07140593230724335, 0.05121428146958351, 0.8091806173324585, -0.05451983958482742, 0.5744533538818359, -0.2771317660808563, -0.21934117376804352, -0.1355498880147934, -0.25431618094444275, 0.3730993866920471, -0.17702549695968628, 0.7086406350135803, 0.3338903784751892, 0.5979188680648804, -0.6616009473800659, -0.46836012601852417, 0.3210875391960144, -0.02092200145125389, -0.31167736649513245, -0.12802676856517792, 0.11020849645137787, -0.3663949966430664, -0.011561859399080276, -0.3543787896633148, -0.29925069212913513, -0.18431133031845093, 0.10126722604036331, 0.43518728017807007, -0.2085457295179367, 0.046939682215452194, 0.3410206139087677, -0.4810921847820282, 0.24134641885757446, 0.3648662567138672, -0.6890299320220947, 0.39536428451538086, 0.7378581166267395, 0.856042742729187, -0.645695686340332, -0.38364434242248535, -0.311105877161026, 0.11230366677045822, -0.372316837310791, 0.9173815250396729, -0.6216217875480652, -0.3652683198451996, -0.10986420512199402, -0.03464442864060402, 0.05990288779139519, -0.8541120290756226, 0.4370194971561432, -0.4672103524208069, -0.10109272599220276, -0.5431901216506958, -0.4747859537601471, 0.05389711260795593, 0.31819555163383484, -0.7501254081726074, 0.970809817314148, 0.041506458073854446, -0.8598771095275879, 0.047168001532554626, -0.05506888031959534, -0.2744157910346985, 0.11320440471172333, -0.16170190274715424, -0.017243938520550728, 0.29230639338493347, 0.14138130843639374, 0.3236841857433319, -0.7915300130844116, 0.06951271742582321, -0.016116483137011528, -0.6081523299217224, 0.5031044483184814, -0.1725456565618515, 0.3412722647190094, 0.07736561447381973, -0.45168960094451904, -0.33414167165756226, -0.6129319071769714, -0.08077872544527054, 0.12960417568683624, -0.39790084958076477, -0.22995226085186005, 0.08872292190790176, -0.16858293116092682, 0.3610042929649353, 0.27415233850479126, -0.60127192735672, 0.18456542491912842, -0.2637871205806732, 0.5265095233917236, 0.4392973482608795, -0.18100270628929138, -0.08387982845306396, -0.596860408782959, 0.8564220666885376, 0.007179408799856901, -0.2206907868385315, 0.23461420834064484, -0.9367815852165222, -0.7658557891845703, -0.24969366192817688, 0.3955109715461731, 0.7294856309890747, -0.9455100297927856, -0.01827317290008068, -0.015010417439043522, -0.7103656530380249, -0.5418055653572083, 0.39704403281211853, 0.6182088851928711, -0.07129199057817459, 0.23563936352729797, -0.07131724804639816, -0.39018160104751587, -0.9204232096672058, -0.8921750783920288, 0.07130476087331772, -0.2666228115558624, 0.23526473343372345, 0.4732198119163513, -0.2546732425689697, 0.6457626819610596, -0.2837091088294983, -0.3207310438156128, -0.25394564867019653, 0.32880812883377075, 0.1910599172115326, -0.02451377548277378, 0.3322809338569641, -0.4719812572002411, -0.2543431222438812, -0.07882923632860184, -0.6667639017105103, -0.39647573232650757, 0.26418402791023254, 0.44286516308784485, -0.06439720839262009, 0.5703109502792358, -0.7496946454048157, 0.2808726131916046, 0.8722763061523438, -0.06769496947526932, 0.5141416788101196, -0.15657106041908264, -0.37097856402397156, -0.8682730197906494, -0.05358537286520004, -0.0976366177201271, -0.25113341212272644, -0.7305078506469727, 0.16298767924308777, -0.03409751504659653, 0.21032515168190002, -0.5295582413673401, 0.48576852679252625, -0.8075488805770874, -0.12833328545093536, -0.26632624864578247, 0.308794766664505, -0.4483366012573242, 0.13262514770030975, 0.4188072979450226, 0.532496452331543, 0.46883177757263184, -0.4687976837158203, 0.5840555429458618, -0.0028459457680583, -0.6506657004356384, 0.06276553869247437, -0.9386860728263855, 0.2632213234901428, 0.004098949953913689, 0.23783209919929504, -1.28584885597229, 0.08207451552152634, -0.0006321492255665362, -0.16225731372833252, -0.07657893002033234, 0.1041460856795311, -0.7173609733581543, -0.537057101726532, -0.014590729027986526, 0.6702824234962463, 0.3563935458660126, -0.5681754350662231, 0.31608647108078003, 0.04267428442835808, -0.11457233875989914, -0.5572489500045776, -0.8591631650924683, 0.295674592256546, -0.20464573800563812, -0.3350192904472351, 0.44741711020469666, -0.03289582580327988, -0.27891039848327637, -0.0457112081348896, -0.10839326679706573, 0.18444080650806427, -0.07109412550926208, 0.19888579845428467, -0.06966017931699753, -0.2504766881465912, -0.011107174679636955, -0.4286898970603943, -0.26744258403778076, 0.15214316546916962, 0.30376681685447693, 0.699171245098114, -0.10333355516195297, -0.49154627323150635, -0.0399472713470459, 0.4048283100128174, 0.3437480926513672, -0.39749401807785034, 0.41461479663848877, 0.5158789753913879, -0.34040600061416626, -0.20773985981941223, -0.954430103302002, 0.03773773834109306, -0.4560511112213135, 0.3289428651332855, -0.476345419883728, -1.37360417842865, 1.0614876747131348, -0.23015829920768738, -0.09981872886419296, 0.3756309449672699, 0.7438764572143555, 0.27149173617362976, 0.948189914226532, 0.4148240089416504, -0.07413538545370102, -0.1706066131591797, 0.11540162563323975, 0.19914697110652924, -0.7688165307044983, -0.30890122056007385, -0.7180038094520569, -0.5617386102676392, -0.8504199981689453, -0.5988889336585999, 0.20984038710594177, 0.21903333067893982, 0.147555872797966, 0.4134696424007416, -0.5407276749610901, 0.592389702796936, 0.39732301235198975, -0.13287264108657837, 0.509273111820221, -0.27209901809692383, -0.01758839562535286, -0.17436090111732483, -0.7600166201591492, -0.23810966312885284, 1.1699236631393433, 0.41416701674461365, 1.2550880908966064, 0.16144831478595734, 0.7859740257263184, -0.34908780455589294, 0.2338731586933136, -0.6419825553894043, 0.5133852362632751, -0.20922064781188965, -0.8783087134361267, -0.17922255396842957, -0.5035965442657471, -1.0983964204788208, 0.16901040077209473, -0.17845356464385986, -0.8824452757835388, 0.06003587320446968, -0.42028018832206726, -0.31802889704704285, 0.4043240249156952, -0.18402527272701263, 0.2206754982471466, -0.4392988979816437, 0.06986954063177109, 0.0963146761059761, -0.6534222960472107, 0.5412058234214783, -0.13479068875312805, 0.07307333499193192, -0.279710978269577, -0.7590950727462769, 0.7540183663368225, 0.012219584546983242, 0.6389308571815491, 0.3341343104839325, -0.4424775242805481, 0.18848490715026855, 0.25014615058898926, 0.7354859709739685, 0.039987605065107346, 0.02615542896091938, 0.3162141442298889, 0.020945444703102112, -0.18184126913547516, -0.5644257664680481, 0.6265408396720886, -0.7535273432731628, -0.8645650148391724, -0.3458506464958191, -0.8097880482673645, -0.2238314151763916, 0.032225288450717926, 0.6486930251121521, 0.239887535572052, -0.07253710180521011, 0.13872508704662323, 0.7631752490997314, 0.0015093485126271844, 0.36262157559394836, 0.4790072441101074, -0.04647115245461464, -0.22347848117351532, 0.6816842555999756, 0.2664450705051422, 0.3635919690132141, 0.618276059627533, 0.18904301524162292, -0.2612285912036896, -0.8595889806747437, -0.17115718126296997, 0.3541383445262909, -0.6367015242576599, -0.13327760994434357, -0.7150481343269348, -0.5349622964859009, 0.10439379513263702, -0.021875182166695595, -0.22089049220085144, -0.5860176682472229, -0.15264159440994263, 0.32185935974121094, 0.24905472993850708, 1.0766316652297974, 0.07815297693014145, 0.2925705909729004, -0.6614591479301453, 0.6569819450378418, 0.6402231454849243, 0.3207380175590515, -0.22759614884853363, -0.3754109740257263, -0.01613258570432663, -0.2918500006198883, 0.04671100527048111, -0.8021705150604248, 0.16620847582817078, -0.017113028094172478, 0.8016031980514526, 0.38119807839393616, -0.1794690042734146, 0.3289470970630646, -0.411254346370697, 0.951949954032898, 0.09994824975728989, -0.638128936290741, 0.07836863398551941, -0.3403264582157135, 0.576370120048523, 0.3448008596897125, 0.7242497205734253, -0.6461668014526367, -0.8282425999641418, -0.3559548258781433, -0.5036854147911072, 0.4156467616558075, 0.39049965143203735, -0.05367356911301613, -0.12151797860860825, 0.614825963973999, 0.14886543154716492, 0.2535269558429718, -0.7704640030860901, -0.39493176341056824, 0.2553061842918396, -0.06286154687404633, -0.44811028242111206, -0.37548092007637024, -0.1903008371591568, 0.04531916230916977, 0.08396052569150925, 0.11321616172790527, 0.157634437084198, 0.0838095024228096, -0.008836260065436363, -0.23432160913944244, 0.24852614104747772, 0.7195537686347961, 0.6416917443275452, -0.20472905039787292, 0.1731637567281723, 0.45691102743148804, -0.5659604668617249, 0.30046963691711426, 0.12871073186397552, 0.11512552201747894, 0.23687976598739624, 0.6655480861663818, 0.325790673494339, 0.39862769842147827, -0.804719090461731, 0.43528684973716736, -0.23062646389007568, -0.4652882218360901, -0.01396836619824171, 0.1936594843864441, 0.5694012641906738, 0.4873938262462616, 0.43888047337532043, -0.2199658304452896, 0.19731354713439941, -0.6432641744613647, -0.29754573106765747, 0.8109415769577026, -0.21444231271743774, -0.13024845719337463, 0.8379811644554138, 0.11995074152946472, -0.5313008427619934, 0.41925516724586487, -0.11573095619678497, -0.9694175720214844, 0.6400337219238281, 0.8117032051086426, 0.7915868759155273, -0.4273119866847992, -0.19195067882537842, -0.00478588929399848, 0.7079790830612183, -0.29341936111450195, 0.36236482858657837, 0.07581304758787155, -0.7285254597663879, -0.4308871030807495, -0.30782434344291687, -0.5592745542526245, 0.24261601269245148, -0.46796274185180664, 0.0483349934220314, -0.39516937732696533, -0.1444273591041565, -0.06231774762272835, 0.11425644904375076, -0.9029791951179504, 0.08416670560836792, 0.32135435938835144, 1.1795655488967896, -0.4781970977783203, 0.6870971918106079, 0.613525927066803, 0.185939222574234, -0.5764017105102539, -0.16000039875507355, -0.007230235729366541, -0.8398721218109131, 0.8723801374435425, 0.17341487109661102, -0.1487390100955963, -0.13707979023456573, -0.42956313490867615, -1.0579032897949219, 1.0416532754898071, 0.2935456931591034, -1.0860530138015747, -0.6742965579032898, 0.7829963564872742, 0.7136216163635254, -0.44105929136276245, 0.4133235514163971, 0.6548526287078857, 0.47441938519477844, 0.04412776231765747, -1.1624902486801147, 0.09041175991296768, -0.0841134712100029, 0.22743725776672363, 0.15503953397274017, -0.8991439938545227, 1.1126923561096191, -0.1425183266401291, -0.18064112961292267, 0.4957839548587799, 0.4850434958934784, 0.44312962889671326, 0.1029280573129654, 0.48576870560646057, 0.8368907570838928, 0.4665110409259796, -0.24402837455272675, 0.8556263446807861, -0.38505470752716064, 0.1687779426574707, 0.9419956207275391, -0.283719003200531, 0.8311997652053833, 0.5238186120986938, -0.15309694409370422, 0.3619764745235443, 0.5966407656669617, 0.0589526928961277, 0.38656264543533325, 0.7634392976760864, -0.09537100791931152, -0.6341979503631592, 0.14473171532154083, -0.48266249895095825, 0.5273336172103882, 0.6075642108917236, -0.24186669290065765, -0.550458550453186, -0.3656995892524719, -0.29554054141044617, -0.10776456445455551, -0.39394429326057434, 0.6371458768844604, 0.5374211668968201, -0.5476487278938293, 0.6379398703575134, 0.01784033142030239, 1.0340709686279297, -0.6050710082054138, 0.08843568712472916, -0.18447686731815338, 0.12293334305286407, -0.043085817247629166, -0.9784809350967407, 0.0505143366754055, -0.017269782721996307, 0.16447776556015015, 0.3012729287147522, 0.9051847457885742, -0.5121679306030273, -0.42938101291656494, 0.5460570454597473, 0.6852515935897827, 0.2340911328792572, -0.1833115518093109, -0.5940079092979431, 0.10908249020576477, -0.3226545453071594, -0.14481744170188904, 0.13444077968597412, 0.5987497568130493, -0.08554933220148087, 1.1167904138565063, 0.3937847316265106, 0.20348219573497772, 0.3977714776992798, -0.1872703582048416, 0.9028606414794922, -0.9763182401657104, -0.14100301265716553, -0.7672552466392517, -0.007795026991516352, 0.2813371419906616, -0.6078667044639587, 0.9651845693588257, 0.6155372262001038, 0.6379527449607849, 0.059827279299497604, 0.5902711749076843, 0.39591914415359497, 0.7292742729187012, -0.5726402997970581, 0.5162935853004456, -0.3689177632331848, 0.16414570808410645, -0.18142539262771606, -1.2322880029678345, -0.32185447216033936, 0.08904165029525757, -0.2884094715118408, -0.032663460820913315, 0.6894568800926208, 0.8432484269142151, 0.018339689821004868, 0.22650213539600372, 0.3352619409561157, 0.11721250414848328, 0.17546261847019196, 1.2072168588638306, 1.5242149829864502, -0.3736530840396881, 0.7674267888069153, -0.14622825384140015, -0.028280846774578094, -0.15270349383354187, -0.8127416372299194, -1.4631394147872925, -0.33391764760017395, 0.08954121172428131, -0.02685559168457985, 0.3050365447998047, 0.5292357802391052, 0.2962055206298828, -0.4811801612377167, -0.19179517030715942, 0.05903251841664314, 0.11207645386457443, -0.11320385336875916, -0.0968494713306427, 0.11582857370376587, -0.20097783207893372, -0.5701203942298889, 0.2319951206445694, 0.16456462442874908, 0.06976014375686646, -0.4482509195804596, 0.040814358741045, -0.09036681056022644, 0.23671658337116241, 0.5008404850959778, 0.06625708192586899, -1.0173366069793701, -0.30583682656288147, 0.018994366750121117, -0.26006412506103516, -0.214944526553154, 0.8770405650138855, -0.7986962199211121, 0.10851067304611206, 0.5317895412445068, 0.675145149230957, 0.7148290276527405, -0.0543794110417366, 0.27784061431884766, -0.33649876713752747, -0.13152192533016205, 0.37096306681632996, 0.2521555721759796, 0.21599407494068146, -0.3003241717815399, 0.6183474659919739, 0.14000408351421356, -0.7008084058761597, -0.6543149948120117, 0.1427307277917862, -0.8405274152755737, -0.16615356504917145, 1.3604025840759277, 0.009995141066610813, -0.46180593967437744, -0.2545507550239563, -0.03191502392292023, -0.043426044285297394, -0.013151527382433414, 0.7456463575363159, 1.0093474388122559, -0.0947713851928711, -0.20716828107833862, -0.5744134187698364, 0.623593270778656, 0.5370029211044312, -0.5867152214050293, -0.20140290260314941, -0.25907236337661743, 0.5023306012153625, 0.29843437671661377, 0.41377347707748413, -0.015797240659594536, 0.3272261619567871, -0.1240801066160202, -0.23095153272151947, 0.19152621924877167, -0.2590676546096802, -0.16436058282852173, -0.16771240532398224, 0.17973843216896057, 0.14253169298171997 ]
http://arxiv.org/abs/2403.10056v1
http://arxiv.org/pdf/2403.10056v1
Don't Half-listen: Capturing Key-part Information in Continual Instruction Tuning
2024-03-15T06:54:20
2024-03-15T06:54:20
Yongquan He, Xuancheng Huang, Minghao Tang, Lingxun Meng, Xiang Li, Wei Lin, Wenyuan Zhang, Yifu Gao
cs.CL
cs.CL, cs.AI
Instruction tuning for large language models (LLMs) can drive them to produce results consistent with human goals in specific downstream tasks. However, the process of continual instruction tuning (CIT) for LLMs may bring about the catastrophic forgetting (CF) problem, where previously learned abilities are degraded. Recent methods try to alleviate the CF problem by modifying models or replaying data, which may only remember the surface-level pattern of instructions and get confused on held-out tasks. In this paper, we propose a novel continual instruction tuning method based on Key-part Information Gain (KPIG). Our method computes the information gain on masked parts to dynamically replay data and refine the training objective, which enables LLMs to capture task-aware information relevant to the correct response and alleviate overfitting to general descriptions in instructions. In addition, we propose two metrics, P-score and V-score, to measure the generalization and instruction-following abilities of LLMs. Experiments demonstrate our method achieves superior performance on both seen and held-out tasks.
[ -0.1601460725069046, -0.7773132920265198, 0.5171725749969482, 0.04835343733429909, -0.4353359639644623, 0.2918129563331604, -0.4577365517616272, 0.03969148173928261, 0.09723124653100967, 0.4501884877681732, -0.7224026322364807, -0.731478750705719, -0.6286152005195618, -0.5096203088760376, -0.058288827538490295, 0.6310985088348389, 0.23104549944400787, 0.0192242618650198, -0.20503740012645721, 0.13494932651519775, -0.6756808757781982, -0.3820282816886902, -0.9044933915138245, -0.2942739427089691, 0.43295952677726746, 0.8919421434402466, 0.247003436088562, 0.9334473609924316, 0.08550189435482025, 0.21489441394805908, 0.04914342612028122, 0.23095527291297913, -0.5415935516357422, 0.13238392770290375, -0.05512615665793419, -0.7784168124198914, -0.5998147130012512, 0.006116798613220453, 0.8260990381240845, 0.4467383027076721, -0.30654099583625793, 0.3554057478904724, 0.21526770293712616, 0.7885308265686035, -0.5989174246788025, 0.5026375651359558, -0.8512881398200989, -0.005990318953990936, -0.16323943436145782, -0.5042353868484497, -0.6364601254463196, -0.2823276221752167, -0.32140880823135376, -0.6254758834838867, 0.41314080357551575, 0.1353301852941513, 0.5456604361534119, 0.5179415941238403, -0.036053214222192764, -0.47131943702697754, -0.5678223371505737, 0.7592989802360535, -0.875192403793335, 0.38844484090805054, 0.7179192900657654, 0.06229915842413902, -0.36905962228775024, -0.21819226443767548, -0.5394323468208313, -0.2359510213136673, 0.14465485513210297, 0.2460099309682846, 0.23454323410987854, 0.2883630692958832, 0.07606005668640137, 0.27163708209991455, -0.3116267919540405, -0.07399190962314606, -0.26508086919784546, -0.35443177819252014, 0.38899722695350647, -0.08750031143426895, 0.1232612282037735, 0.38038086891174316, -0.2621198296546936, -0.20821496844291687, -0.9249473214149475, 0.0031170090660452843, 0.06803971529006958, 0.06488119065761566, 0.06725822389125824, 0.15730343759059906, -0.0009587652748450637, 0.6542089581489563, 0.448391318321228, -0.2794787287712097, 0.08359931409358978, -0.11042395979166031, -0.27244940400123596, 0.2808155119419098, 0.5357615947723389, 0.4799668490886688, 0.2004653960466385, -0.5945900082588196, -0.0022647820878773928, -0.062319524586200714, 0.3144226670265198, -0.4403071999549866, -0.396745502948761, -0.09672000259160995, -0.29167813062667847, 0.14332367479801178, -0.09453298151493073, -0.6595332622528076, 0.03993762657046318, -0.5423448085784912, 0.428855836391449, -0.568766713142395, -0.20090730488300323, 0.03821413591504097, 0.020511211827397346, 0.3512336015701294, -0.08670637011528015, -0.735847532749176, 0.10664591193199158, 0.8328806757926941, 0.7748947739601135, -0.06458166241645813, -0.31945329904556274, -0.7804180979728699, 0.19531980156898499, -0.48417457938194275, 0.47926291823387146, -0.598546028137207, -0.38115009665489197, 0.007839573547244072, 0.138654887676239, -0.4092639684677124, -0.7926660776138306, 0.53989577293396, -0.6285221576690674, -0.12163864821195602, -0.4638617932796478, -0.9076020121574402, -0.09755248576402664, 0.13174882531166077, -0.2029343992471695, 0.8701350688934326, -0.018005957826972008, -0.1808205246925354, 0.5269809365272522, -0.05155251920223236, -0.43589332699775696, 0.04594728723168373, -0.11965804547071457, -0.7991945147514343, 0.35044416785240173, 0.10174985975027084, 0.43908655643463135, 0.2127765715122223, 0.06446174532175064, -0.3253813087940216, -0.7081721425056458, -0.06391547620296478, -0.2655033767223358, 0.019588036462664604, -0.3267876207828522, -0.4092545509338379, -0.24918828904628754, -0.6599130034446716, 0.27345818281173706, -0.18077293038368225, -0.5142994523048401, -0.27211853861808777, 0.23899786174297333, -0.5442238450050354, 0.0023817787878215313, 0.3154487907886505, -0.7981864213943481, 0.27358290553092957, -0.08323196321725845, 0.37795862555503845, 0.6758635640144348, 0.25883421301841736, 0.29555365443229675, -0.6686937212944031, 0.5571610331535339, -0.02986234612762928, 0.12692971527576447, -0.5034549236297607, -0.18757487833499908, -1.2238434553146362, -0.10438124090433121, 0.1831999123096466, 0.5603582859039307, -0.7144702076911926, 0.42823901772499084, -0.15987130999565125, -0.33882537484169006, -0.6800253391265869, 0.20800445973873138, 0.6193875074386597, 0.3682153820991516, 0.2887301445007324, -0.08949481695890427, -0.42836281657218933, -0.6310756802558899, -0.2840293347835541, -0.12823832035064697, -0.23457105457782745, 0.37377697229385376, 0.13366074860095978, 0.32939913868904114, 0.3630330264568329, -0.2714514434337616, -0.422717422246933, 0.1721678227186203, 0.24035660922527313, 0.14677079021930695, 0.518004298210144, 0.09194887429475784, -0.33758974075317383, -0.66087806224823, -0.15949320793151855, -0.4339938759803772, -0.03864901512861252, -0.39024263620376587, -0.293396919965744, 0.08714086562395096, 0.8452915549278259, -0.48260220885276794, 0.11980824917554855, 0.3583294749259949, -0.2631114423274994, 0.30384886264801025, -0.3918476998806, 0.2717747390270233, -0.7364014387130737, -0.08470109105110168, -0.3247998356819153, -0.49886173009872437, -0.3226422369480133, -0.12615738809108734, 0.485865980386734, 0.1294555962085724, -0.15092560648918152, 0.16203179955482483, -0.6574541926383972, 0.34029915928840637, -0.6684669256210327, 0.1295366734266281, -0.2709186375141144, 0.8615776896476746, -0.14128144085407257, 0.8371834754943848, 0.5973799824714661, -0.7883714437484741, 0.2877234220504761, -0.17141307890415192, -0.23877455294132233, 0.5690483450889587, -0.40371081233024597, 0.5833179354667664, -0.29092004895210266, 0.05854598805308342, -0.8243281841278076, 0.026371875777840614, 0.2758542001247406, -0.5403323173522949, 0.8802337050437927, -0.2963457405567169, -0.4778536260128021, -0.13886454701423645, -0.05519776791334152, 0.0974353775382042, 0.7105340957641602, -0.3608873784542084, 0.46586674451828003, 0.31477877497673035, -0.3340439200401306, -0.11818186193704605, -0.3331008553504944, -0.15020953118801117, -0.1598045378923416, -0.10484624654054642, 0.5392962694168091, -0.08876185864210129, 0.5430099964141846, -0.16126170754432678, -0.75741046667099, 0.08705338090658188, -0.14018602669239044, 0.3094693124294281, 0.20229433476924896, -0.2356119453907013, 0.437630295753479, 0.24349865317344666, -0.12397779524326324, 0.19083468616008759, -0.4791763126850128, 0.5109692215919495, 0.19744111597537994, -0.3993266522884369, -0.585983395576477, 0.43150079250335693, 0.7406783103942871, 0.005622141528874636, 0.45399442315101624, 0.44288116693496704, -0.13587342202663422, -0.3499263823032379, -0.7409208416938782, -0.203421950340271, -0.4467960298061371, 0.536165177822113, -0.12559308111667633, -0.8435664176940918, 0.2397553026676178, -0.3342059552669525, 0.19142644107341766, 0.06881306320428848, 0.4165491461753845, -0.5614917278289795, 0.7867130637168884, 0.9987981915473938, -0.5196186900138855, 0.5635499358177185, -0.17158813774585724, 0.13495056331157684, -0.8668006658554077, -0.5374833941459656, -0.37750038504600525, -0.534286618232727, -0.18516339361667633, -0.4110238552093506, 0.5367907285690308, 0.53839111328125, -0.17744587361812592, 0.16528752446174622, -0.5195419192314148, 0.6028484106063843, 0.6815104484558105, 0.42036744952201843, 0.1960325539112091, -0.10189638286828995, 0.13857512176036835, -0.1156950518488884, -0.7998233437538147, -0.28688085079193115, 0.9223030805587769, 0.19781258702278137, 0.7832528948783875, -0.2784292697906494, 0.6270283460617065, 0.4045219123363495, 0.10405828058719635, -0.6314010620117188, 0.43964460492134094, -0.1735314428806305, -0.2933486998081207, -0.24694834649562836, -0.4452965557575226, -0.508338451385498, 0.0031740593258291483, 0.35644468665122986, -0.6847723126411438, -0.023332899436354637, 0.7470178604125977, -0.4039035737514496, 0.21482893824577332, -0.6403323411941528, 0.5201312899589539, -0.18447110056877136, -0.07294482737779617, -0.400058776140213, -0.33916810154914856, 0.09567014873027802, -0.023851407691836357, 0.030402187258005142, -0.17407765984535217, -0.11618517339229584, 0.767856776714325, -0.1451544612646103, 1.075353980064392, -0.3187231719493866, 0.12591563165187836, 0.1509980708360672, 0.001358097419142723, 0.5221980810165405, -0.012586896307766438, 0.1181282252073288, -0.08020102977752686, 0.09810111671686172, -0.7114077806472778, -0.7143839001655579, 0.6989372968673706, -0.6042289137840271, -0.5398144125938416, -0.1882314234972, -0.4224337935447693, -0.5610479116439819, 0.019358446821570396, 0.4268008768558502, 0.016640106216073036, 0.05701678246259689, 0.27323922514915466, 1.063119888305664, -0.04490172490477562, 0.3863815665245056, 0.7407698631286621, 0.26396444439888, -0.30962544679641724, 1.1528551578521729, 0.10029301792383194, 0.6172239780426025, 0.46217408776283264, 0.03930560126900673, -0.06088728457689285, -0.2352912276983261, -0.3734818398952484, 0.3271898329257965, -0.24183739721775055, -0.4670308530330658, -0.1919577568769455, -0.3197878301143646, -0.03976232185959816, -0.02913546934723854, -0.5585232973098755, 0.03275877982378006, -0.13398663699626923, 0.1611798256635666, 0.1020638570189476, 0.26843369007110596, 0.014692345634102821, 0.6421999335289001, -0.8278059959411621, 0.14247065782546997, 0.173891082406044, 0.45195600390434265, 0.18491078913211823, -0.7198024392127991, -0.4444478750228882, 0.31987160444259644, -0.5012139678001404, -0.7075082659721375, 0.07584097236394882, 0.6947442889213562, 0.6845215559005737, 0.1426982432603836, 0.03158209100365639, 0.8176523447036743, -0.43723630905151367, 0.5040608644485474, 0.05257832258939743, -0.8860937356948853, 0.5688683390617371, 0.019083330407738686, 0.8467822670936584, 0.5002414584159851, 0.2854384481906891, -0.6571438908576965, -0.562432587146759, -0.2881578505039215, -0.8446736335754395, 0.7204456329345703, -0.033446360379457474, 0.1525132805109024, -0.03607390075922012, 0.6742669939994812, -0.02263391762971878, 0.2992972433567047, -0.25075578689575195, -0.13707435131072998, -0.0403340682387352, -0.2280855029821396, 0.1172390729188919, -0.3539486527442932, 0.1216125637292862, -0.13661392033100128, 1.0129213333129883, -0.07544754445552826, 0.3726790249347687, 0.08337997645139694, -0.004127314314246178, -0.16261780261993408, 0.2825581729412079, 0.6239309310913086, 0.45780548453330994, -0.12502819299697876, -0.06208020821213722, 0.17785927653312683, -0.7202428579330444, 0.10687936842441559, -0.3172692060470581, -0.2518691420555115, 0.08539215475320816, 0.4717535078525543, 0.8047173619270325, 0.33464452624320984, -0.4451802372932434, 0.2736067771911621, 0.04208967089653015, -0.11016334593296051, -0.5180737376213074, 0.3197166323661804, 0.1475515216588974, 0.34981128573417664, 0.2852455675601959, -0.10304776579141617, -0.3666340410709381, -0.5978378653526306, 0.35192906856536865, 0.21591494977474213, -0.575706958770752, -0.33193454146385193, 0.3819943964481354, -0.11036510765552521, -0.5251217484474182, 0.8447476625442505, -0.23794402182102203, -0.6207268238067627, 0.5976372957229614, 0.5714006423950195, 0.6751193404197693, -0.4234200417995453, 0.20623214542865753, 0.4429446756839752, 0.21307113766670227, 0.04805396869778633, 0.4149104952812195, -0.6186517477035522, -0.33157041668891907, -0.6498432159423828, -0.5321686267852783, -0.1691390722990036, 0.4166041612625122, -0.9053645133972168, -0.1587538868188858, -0.5303312540054321, -0.088290274143219, -0.25780022144317627, -0.13304078578948975, -0.5048291683197021, 0.06557998806238174, 0.06746196746826172, 0.8762865662574768, -0.6170350909233093, 0.9686360955238342, 0.3096846342086792, -0.13067753612995148, -0.7149909734725952, 0.3360103368759155, -0.13339462876319885, -0.9371156692504883, 0.2789265811443329, -0.10801590234041214, -0.045217759907245636, -0.04773096367716789, -0.41095128655433655, -0.7784260511398315, 1.0768728256225586, 0.33751949667930603, -1.2533334493637085, -0.3373905420303345, 0.024635253474116325, 0.21918751299381256, -0.21637791395187378, -0.11190977692604065, 0.9202260971069336, 0.27738937735557556, 0.37776827812194824, -0.8935067653656006, -0.26009422540664673, 0.027868101373314857, -0.26070722937583923, 0.4803387522697449, -0.9286986589431763, 0.4046066403388977, 0.014360493049025536, -0.22373951971530914, 0.10963282734155655, 0.38735443353652954, 0.2028452754020691, 0.32191044092178345, 0.46105319261550903, 0.6263903379440308, 0.7382581830024719, -0.18725042045116425, 0.5644873380661011, -0.5096594095230103, 0.41212719678878784, 1.5143500566482544, 0.12991230189800262, 0.8520589470863342, 0.4211038649082184, -0.008103488013148308, 0.0011573564261198044, 0.4194720983505249, 0.10162874311208725, 0.8799595832824707, 0.21510827541351318, -0.43150031566619873, -0.582673966884613, 0.24964667856693268, -0.25097891688346863, 0.4089907705783844, 0.4854772984981537, -0.4572126865386963, -0.12982431054115295, 0.20182804763317108, 0.3261960744857788, 0.02771504782140255, -0.44705238938331604, 0.9388899803161621, 0.29967954754829407, -0.8065822720527649, 0.7250055074691772, -0.16387899219989777, 0.5006614327430725, -0.5462722182273865, -0.2184726446866989, -0.3768402636051178, 0.41376104950904846, 0.1922072321176529, -0.3242079019546509, 0.3465130031108856, -0.29378607869148254, -0.5328558683395386, -0.2428542822599411, 0.1257917284965515, -0.7991557121276855, -0.5104935169219971, 0.05235707014799118, -0.15473943948745728, 0.09007587283849716, -0.22782771289348602, -0.36761367321014404, 0.3137749135494232, 0.23358337581157684, 0.07106529176235199, 0.33874961733818054, 0.39469191431999207, 0.26824304461479187, 0.5874751806259155, 0.20831313729286194, 0.33653226494789124, 0.4450933635234833, -0.12978503108024597, 0.5898672938346863, -0.7283748984336853, -0.32945516705513, -0.7343398928642273, 0.30437391996383667, -0.19435115158557892, -0.31988251209259033, 0.4682472050189972, 0.6095331907272339, 1.0515440702438354, 0.01640411652624607, 0.7172127962112427, 0.1386624127626419, 0.8447446227073669, -0.7904878258705139, 0.7310657501220703, -0.36796581745147705, 0.21484310925006866, 0.11228936165571213, -0.7348217368125916, 0.09574335813522339, 0.4325864017009735, -0.05421862751245499, 0.028624434024095535, 0.4743899703025818, 0.8573163747787476, -0.24162013828754425, -0.0768415778875351, 0.616069495677948, 0.37828677892684937, 0.20146164298057556, 0.9950987100601196, 0.3823091685771942, -0.4477258026599884, 0.4843316078186035, -0.06104088947176933, -0.5451843738555908, -0.11199422180652618, -0.5794959664344788, -0.6988813877105713, -0.553801417350769, -0.5250752568244934, -0.026749685406684875, 0.3859718441963196, 0.35074570775032043, 1.0863109827041626, -0.7639890909194946, -0.0664559155702591, -0.1565287858247757, -0.07289107888936996, -0.40068861842155457, -0.16130027174949646, 0.45407214760780334, -0.7251920104026794, -0.4952465295791626, 0.671759843826294, 0.4321071207523346, -0.3455187678337097, -0.18474145233631134, -0.09411312639713287, 0.08806582540273666, 0.14884987473487854, 0.41188618540763855, 0.4423861801624298, -0.5929135084152222, -0.3359615206718445, 0.09656161814928055, 0.1672326922416687, 0.014093786478042603, 0.8625178933143616, -0.692291259765625, 0.6635569930076599, 0.053971417248249054, 0.6683734059333801, 0.721180260181427, -0.04540400207042694, 0.5469667315483093, -0.8640145659446716, -0.04005873203277588, 0.2924676835536957, 0.07641267031431198, 0.16952182352542877, -0.4016622304916382, -0.1738969087600708, 0.07823273539543152, -0.8663063645362854, -0.42923134565353394, 0.22102409601211548, -0.7034191489219666, -0.05545424669981003, 0.7004846930503845, -0.5512352585792542, -0.24038413166999817, 0.12121536582708359, -0.14396555721759796, 0.4298776686191559, -0.33375293016433716, 1.0893418788909912, 0.8174536824226379, -0.06627693772315979, -0.49634331464767456, -0.5930309891700745, 0.42032307386398315, 0.5329518914222717, -0.38795986771583557, -0.0018566653598099947, 0.30688023567199707, 0.5379277467727661, -0.0818079337477684, 0.6260824203491211, -0.10672498494386673, 0.4678676128387451, 0.025569692254066467, -0.07967919856309891, -0.17084845900535583, -0.44976356625556946, 0.0930175930261612, 0.09813110530376434, 0.19093117117881775, -1.0300860404968262 ]
http://arxiv.org/abs/2403.10576v2
http://arxiv.org/pdf/2403.10576v2
Ignore Me But Don't Replace Me: Utilizing Non-Linguistic Elements for Pretraining on the Cybersecurity Domain
2024-03-15T05:35:02
2024-04-02T08:46:42
Eugene Jang, Jian Cui, Dayeon Yim, Youngjin Jin, Jin-Woo Chung, Seungwon Shin, Yongjae Lee
cs.CR
cs.CR, cs.CL, cs.LG, I.2.7
Cybersecurity information is often technically complex and relayed through unstructured text, making automation of cyber threat intelligence highly challenging. For such text domains that involve high levels of expertise, pretraining on in-domain corpora has been a popular method for language models to obtain domain expertise. However, cybersecurity texts often contain non-linguistic elements (such as URLs and hash values) that could be unsuitable with the established pretraining methodologies. Previous work in other domains have removed or filtered such text as noise, but the effectiveness of these methods have not been investigated, especially in the cybersecurity domain. We propose different pretraining methodologies and evaluate their effectiveness through downstream tasks and probing tasks. Our proposed strategy (selective MLM and jointly training NLE token classification) outperforms the commonly taken approach of replacing non-linguistic elements (NLEs). We use our domain-customized methodology to train CyBERTuned, a cybersecurity domain language model that outperforms other cybersecurity PLMs on most tasks.
[ -0.5674047470092773, -0.8494619727134705, 0.18858614563941956, -0.0562264509499073, -0.2401798963546753, 0.7511378526687622, -0.08529461920261383, -0.591120719909668, 0.4892875850200653, 0.547993540763855, -0.7984134554862976, -0.4767526090145111, -0.618039608001709, 0.22581878304481506, -0.38291653990745544, 1.1799721717834473, 0.09121672809123993, -0.07982111722230911, -0.2813282310962677, 0.31052690744400024, -0.4863378405570984, -1.111103892326355, -0.4865451455116272, -0.3030221462249756, 0.3336227536201477, 0.19600312411785126, 0.2554337978363037, 0.09876073896884918, 0.6046430468559265, 0.3557318449020386, 0.11815200746059418, 0.14553873240947723, -0.47434553503990173, -0.26494625210762024, -0.49185433983802795, -0.2916911840438843, -0.4194651246070862, 0.1883867233991623, -0.18032270669937134, 0.7233357429504395, 0.12313202768564224, 0.14135746657848358, 0.11911685764789581, 0.24497155845165253, -0.7506263852119446, -0.2959427535533905, -0.992920458316803, -0.004714864771813154, -0.3194310665130615, -0.5892148613929749, -0.6653764247894287, 0.07839800417423248, 0.3675246238708496, -1.0429226160049438, 0.2498122751712799, 0.3126065135002136, 0.5222873091697693, 0.06277496367692947, 0.007507548667490482, 0.07981391996145248, -0.8459440469741821, 0.9017432928085327, -0.2868236303329468, 0.2653355598449707, 0.9075917601585388, -0.1258668452501297, -0.09175384044647217, -0.6928082704544067, -0.31336715817451477, -0.1127026155591011, -0.16726234555244446, 0.18016698956489563, -0.38103944063186646, 0.25519177317619324, 0.14245223999023438, -0.13386793434619904, -0.9170966148376465, 0.2672789394855499, -0.43499454855918884, -0.31007423996925354, 0.6088775396347046, -0.17774051427841187, 0.3915604054927826, 0.4050561189651489, -0.4953721761703491, -0.040844790637493134, -0.7008143663406372, -0.12101757526397705, 0.5360507369041443, 0.15360470116138458, 0.07266256213188171, 0.26334843039512634, -0.2148791402578354, 0.4884350299835205, 0.23118872940540314, -0.11144783347845078, 0.2668372094631195, -0.5108730792999268, -0.463338166475296, 0.06187332421541214, 0.5074634552001953, -0.16244283318519592, 0.30376118421554565, -0.6170476675033569, -0.02282789908349514, 0.14193806052207947, 1.0868556499481201, -0.41499510407447815, -0.46069493889808655, 0.30092382431030273, -0.5834082365036011, -0.538919985294342, 0.04734528064727783, -0.6907706260681152, -0.24439989030361176, -0.5130205750465393, 0.5652830600738525, -0.4485616385936737, -0.3746322989463806, -0.14313295483589172, -0.2390240579843521, 0.0375431627035141, 0.20446346700191498, -0.6871516108512878, 0.38173261284828186, 0.5553099513053894, 0.44385671615600586, -0.23090313374996185, -0.3670008182525635, -0.28367793560028076, -0.07753247022628784, -0.36342692375183105, 0.5892458558082581, -0.6606867909431458, -0.44226914644241333, -0.09906162321567535, -0.06659747660160065, -0.30298912525177, -0.6344256401062012, 0.049330562353134155, -0.8183985948562622, 0.034867189824581146, 0.06353318691253662, -0.24443873763084412, -0.003961730748414993, 0.30061620473861694, -0.3077954649925232, 0.720575749874115, 0.11691388487815857, -0.664720892906189, 0.24771727621555328, -0.5360497832298279, -0.47624704241752625, 0.48591962456703186, 0.004317969083786011, -0.4207720160484314, -0.20662781596183777, 0.06381931155920029, 0.15337395668029785, -0.09765071421861649, 0.15077237784862518, -0.496731162071228, -0.6031774878501892, 0.18008239567279816, -0.23840197920799255, 0.6936804056167603, 0.00046934900456108153, -0.85141521692276, 0.24049505591392517, -0.5372822284698486, 0.19446197152137756, 0.04065428301692009, 0.23891383409500122, -0.49989843368530273, -0.17617373168468475, 0.2617630362510681, 0.2426498979330063, 0.3375006914138794, -0.5204557776451111, -0.3806073069572449, -0.6344839334487915, 0.14216157793998718, 1.0394498109817505, 0.12207340449094772, 0.640498697757721, -0.5770495533943176, 0.7714160680770874, 0.3092295229434967, 0.28158310055732727, 0.18755756318569183, -0.1252772957086563, -0.623581051826477, -0.40626826882362366, 0.022830210626125336, 0.9824060201644897, -1.2877870798110962, 0.5827601552009583, -0.006602671463042498, -0.6618844866752625, -0.4472883939743042, 0.37725040316581726, 0.6274818181991577, 0.25926703214645386, 0.8800331354141235, -0.08779806643724442, -0.8633142709732056, -0.7408497333526611, -0.4857575297355652, -0.21576867997646332, -0.03596087172627449, -0.20076225697994232, 0.4801817238330841, -0.35574737191200256, 0.8652022480964661, -0.2172960638999939, -0.3433432877063751, -0.3346980810165405, 0.15747874975204468, -0.26569864153862, 0.6001874208450317, 0.4124912619590759, -0.7272700667381287, -0.3817790150642395, -0.09201321750879288, -0.7551323771476746, 0.07441464811563492, -0.1376478224992752, 0.024588357657194138, 0.07526273280382156, 0.9026333689689636, -0.30872422456741333, 0.7699872851371765, 0.20039725303649902, 0.010967724025249481, 0.5049410462379456, -0.11577171087265015, 0.0397658497095108, -1.0231857299804688, 0.32383444905281067, -0.10717857629060745, -0.35489314794540405, -0.9746671319007874, 0.14098502695560455, -0.25178003311157227, -0.4064989686012268, -0.5473319292068481, 0.6448380351066589, -0.31742623448371887, 0.30144163966178894, -0.31513074040412903, 0.11250156164169312, -0.09130894392728806, 0.6563290357589722, 0.11331983655691147, 0.8706774711608887, 0.5375964045524597, -0.7494825124740601, -0.016959182918071747, 0.40150442719459534, -0.11241188645362854, 0.9268634915351868, -0.7006228566169739, 0.2899378836154938, -0.11803136020898819, 0.047699425369501114, -0.46334922313690186, 0.10293169319629669, 0.36973822116851807, -0.3383764326572418, 0.3564640283584595, -0.03734392672777176, -0.336687833070755, -0.22316347062587738, -0.43406668305397034, 0.4672897160053253, 0.47426673769950867, -0.43214982748031616, 0.3660719394683838, 0.5585454702377319, -0.3363329768180847, -0.7033214569091797, -0.5221548080444336, 0.21881337463855743, -0.393748939037323, -0.1612534373998642, 0.5727874636650085, -0.25234031677246094, -0.23728837072849274, -0.32160821557044983, -0.21213987469673157, -0.4060834050178528, 0.5338690280914307, 0.283750057220459, 0.48640701174736023, -0.1699523627758026, -0.16269657015800476, -0.3227138817310333, -0.2413249909877777, 0.04614116996526718, -0.564850926399231, 0.3831152021884918, 0.15914767980575562, -0.553927481174469, -0.67582768201828, 0.39450061321258545, 0.27114811539649963, -0.38405677676200867, 0.7431313395500183, 0.7760427594184875, -0.28462281823158264, -0.18626925349235535, -0.5553226470947266, -0.67023766040802, -0.5533153414726257, 0.421489417552948, -0.12525077164173126, -0.9741247892379761, 0.0338873527944088, -0.15773044526576996, 0.13040012121200562, 0.10631527751684189, 0.23063941299915314, -0.4698645770549774, 0.43546199798583984, 0.68421471118927, -0.31215086579322815, 0.5550777316093445, -0.0067426105961203575, 0.678219735622406, -0.4233095049858093, -0.202254980802536, -0.39611315727233887, -0.18657608330249786, -0.5956950187683105, -0.08361253887414932, 0.3580000102519989, -0.17957332730293274, -0.14090397953987122, 0.6190013289451599, -0.29521650075912476, 0.24064208567142487, 0.5791416168212891, 0.3802763521671295, -0.16603794693946838, 0.28132638335227966, 0.2860810458660126, 0.025537140667438507, -0.7263715863227844, -0.33910712599754333, 1.1763362884521484, 0.11237085610628128, 0.6369404792785645, 0.011587835848331451, 0.8468583822250366, 0.5327432155609131, -0.04220203310251236, -0.29250842332839966, 0.6075897216796875, -0.2162150889635086, -0.4876284599304199, -0.17129766941070557, -0.44504404067993164, -1.157297134399414, 0.005076556466519833, -0.4115811288356781, -0.757944643497467, 0.011099325492978096, 0.13948549330234528, -0.30763188004493713, 0.448842316865921, -0.5187005400657654, 0.8327150940895081, 0.09092606604099274, -0.038259800523519516, -0.29759901762008667, -0.5988128185272217, -0.06515689939260483, -0.6349611878395081, 0.3315994143486023, 0.2485046684741974, 0.16342267394065857, 0.7527686953544617, -0.4662594497203827, 1.337965965270996, -0.0663922131061554, 0.38989511132240295, 0.4249778389930725, -0.07634054124355316, 0.43459296226501465, -0.1562465876340866, 0.26289933919906616, 0.605664074420929, -0.17161214351654053, -0.5910136103630066, -0.1664355844259262, 0.41859087347984314, -0.8590189814567566, -0.5709774494171143, -0.4827796518802643, -0.04472583159804344, -0.4063485562801361, 0.4141063690185547, 0.636946976184845, 0.34249645471572876, -0.4651779234409332, 0.22517825663089752, 0.9533994793891907, -0.04863731190562248, 0.5799406170845032, 0.35854753851890564, 0.5992961525917053, -0.29064497351646423, 1.1117397546768188, -0.003799638245254755, 0.3049650192260742, 0.6670550107955933, -0.33133697509765625, -0.16475370526313782, -0.6064826250076294, -0.14391160011291504, -0.20601995289325714, -0.42841359972953796, -0.30676108598709106, -0.9581470489501953, -0.6597650051116943, -0.5564455986022949, -0.4856579005718231, -0.16152574121952057, -0.0427735261619091, -0.5826413035392761, -0.20909737050533295, 0.3686451315879822, 0.5658996105194092, 0.2504935562610626, 0.7213602066040039, -0.7908238172531128, 0.32898661494255066, 0.15507981181144714, 0.08203456550836563, -0.18152594566345215, -0.609004020690918, -0.31852591037750244, -0.00993911363184452, -0.2889857888221741, -0.699833333492279, 0.2937001883983612, 0.016889633610844612, 0.7573570609092712, -0.10302417725324631, 0.30931785702705383, 0.7559108138084412, -0.37294983863830566, 0.6196072101593018, 0.216912642121315, -1.1319972276687622, 0.3498113751411438, -0.16398924589157104, 0.09524069726467133, 0.9545809626579285, 0.46039170026779175, -0.10994604974985123, -0.6944029927253723, -0.9901884198188782, -0.8579886555671692, 0.5997741222381592, 0.3605373799800873, 0.18492993712425232, 0.14645810425281525, 0.11788605898618698, -0.20864742994308472, 0.4354317784309387, -0.8164465427398682, -0.32721492648124695, -0.19375823438167572, -0.20734809339046478, 0.011994886212050915, -0.09486879408359528, 0.06897498667240143, 0.32356464862823486, 1.0328338146209717, 0.029157985001802444, 0.24859772622585297, 0.08269407600164413, -0.45384150743484497, 0.2824426293373108, 0.14036020636558533, 0.6080593466758728, 0.779316246509552, 0.1958012878894806, -0.0030593890696763992, 0.3145904541015625, -0.7640523910522461, 0.1751532405614853, -0.26211363077163696, -0.03902720659971237, 0.2008824199438095, 0.5672280788421631, 0.4027264714241028, 0.2280147522687912, -0.6391099691390991, 0.745572566986084, 0.1285020411014557, -0.364101767539978, -0.6414845585823059, 0.014691820368170738, -0.32703208923339844, -0.04540400207042694, 0.29638370871543884, 0.41588184237480164, -0.161594957113266, -0.27572542428970337, 0.531461775302887, 0.4711754620075226, -0.5131020545959473, -0.37500667572021484, 0.5258548259735107, 0.1790425181388855, -0.18407949805259705, 0.5433083176612854, -0.23320002853870392, -0.49113819003105164, 0.48674917221069336, 0.48190000653266907, 0.9442915916442871, -0.35376104712486267, 0.36098575592041016, 0.09820125997066498, 0.8148530125617981, 0.1984950304031372, 0.27381327748298645, 0.21576666831970215, -0.518589973449707, -0.350117564201355, -0.4305896461009979, -0.20692168176174164, 0.5268059372901917, -0.47045379877090454, 0.36367136240005493, -1.0675055980682373, -0.14947670698165894, 0.0676146149635315, -0.2931627035140991, -0.8898890614509583, 0.4800196886062622, -0.17187650501728058, 0.6666660904884338, -0.9399077296257019, 0.7142024636268616, 0.5902386903762817, -0.271493524312973, -0.4091632068157196, 0.07158804684877396, 0.00894777663052082, -0.6624634265899658, 0.5936835408210754, -0.08770299702882767, 0.01739910989999771, -0.059364255517721176, -0.3316921591758728, -0.5447458624839783, 0.6248165369033813, 0.03913475573062897, -0.19135503470897675, 0.13336628675460815, 0.2242421954870224, 0.3375411927700043, -0.15673182904720306, 0.14975421130657196, 0.14393550157546997, 0.409976601600647, -0.2842611074447632, -0.8376137614250183, -0.17309419810771942, -0.3905033767223358, -0.15095621347427368, 0.06452759355306625, -0.30037951469421387, 0.631690263748169, 0.17410646378993988, 0.05303464084863663, -0.16782987117767334, 0.4209795296192169, -0.009874061681330204, 0.4172404706478119, 0.47506141662597656, 0.31106123328208923, 0.7476062774658203, 0.2494465410709381, 0.4910371005535126, -0.1751708686351776, -0.17415927350521088, 1.1916627883911133, -0.37874606251716614, 0.6155011653900146, 0.4170665442943573, -0.04253975674510002, 0.4682563245296478, 0.6900333166122437, -0.08572135120630264, 0.5555555820465088, 0.07697603106498718, -0.42065927386283875, -0.2907349169254303, -0.128424271941185, -0.31677865982055664, 0.6021934151649475, 0.1768733412027359, -0.1728794127702713, -0.10975644737482071, 0.19281451404094696, 0.14136669039726257, 0.05967983976006508, -0.28191083669662476, 1.2148480415344238, 0.07178148627281189, -0.34918174147605896, 0.539304792881012, 0.332072913646698, 0.654108464717865, -0.8485982418060303, 0.3069828748703003, 0.021956687793135643, 0.014011157676577568, -0.23720362782478333, -0.03865291550755501, 0.7101654410362244, 0.11187469214200974, -0.2201661467552185, -0.5408685207366943, 0.752609372138977, -0.21642997860908508, -0.23276479542255402, 0.4075724482536316, 0.3978378176689148, 0.13510093092918396, -0.4908450245857239, -0.7310469150543213, -0.33119910955429077, 0.0447748638689518, 0.16344420611858368, 0.8619620203971863, 0.1306479126214981, -0.13329453766345978, 0.4658840596675873, 1.1877081394195557, -0.03439578786492348, -0.06419700384140015, -0.23018133640289307, 0.795750617980957, -0.34685957431793213, -0.7196475863456726, -1.0329571962356567, 0.26580867171287537, -0.3162309229373932, -0.274522989988327, 0.6862531304359436, 0.4158528745174408, 1.103804588317871, -0.3196674585342407, 0.9416435956954956, 0.34584569931030273, 0.3790878355503082, -0.3976977467536926, 0.7240166664123535, -0.34610748291015625, 0.27689144015312195, -0.3854004144668579, -0.7732674479484558, 0.0960240289568901, 0.3781856298446655, -0.0907326191663742, 0.20522646605968475, 0.7655820250511169, 0.7722689509391785, -0.15190629661083221, 0.05389859154820442, 0.6107833385467529, -0.04681026563048363, 0.17511023581027985, 0.23321561515331268, 0.5365769863128662, -0.3445518910884857, 0.42979520559310913, -0.06846388429403305, -0.36054015159606934, -0.24700100719928741, -0.5879959464073181, -1.3115251064300537, -0.28758272528648376, -0.501937747001648, -0.4196155071258545, 0.17126941680908203, 0.969155490398407, 1.0370972156524658, -0.9456884264945984, 0.008413341827690601, 0.09726155549287796, 0.050316449254751205, -0.22695817053318024, -0.18073727190494537, -0.14040234684944153, -0.5579476952552795, -0.22679004073143005, 0.9537935853004456, 0.32389700412750244, 0.2188951075077057, -0.06260640174150467, 0.3918047547340393, -0.23553386330604553, 0.26204758882522583, 0.5039179921150208, 0.34506940841674805, -0.41542869806289673, -0.18980132043361664, 0.3115323781967163, -0.14569982886314392, -0.30250462889671326, 0.8041858673095703, -0.7802133560180664, 0.16196973621845245, 0.2987828850746155, 1.0878965854644775, 0.046601444482803345, -0.04785803332924843, 0.5384899377822876, -1.1767210960388184, 0.5537646412849426, 0.2822721600532532, 0.09054388105869293, 0.10833482444286346, -0.6613226532936096, 0.3212551176548004, 0.5592990517616272, -0.20764708518981934, -0.5503945350646973, 0.17730866372585297, -0.548726499080658, -0.674677848815918, 0.7784134745597839, -0.36505916714668274, -0.11045298725366592, -0.9698906540870667, 0.17788881063461304, -0.10232751816511154, 0.07167639583349228, 0.7261320948600769, 0.39182841777801514, 0.40426430106163025, 0.18696731328964233, -0.42521968483924866, 0.5858498811721802, 0.6445603370666504, -1.0161808729171753, -0.164128378033638, -0.16055633127689362, 0.19665208458900452, 0.23714123666286469, 0.9059844613075256, 0.0841476321220398, 0.17341285943984985, -0.07459618896245956, 0.09265643358230591, -0.005299650132656097, -0.759427547454834, -0.15013080835342407, 0.003907215315848589, -0.24505044519901276, -0.216729536652565 ]
http://arxiv.org/abs/2403.10020v1
http://arxiv.org/pdf/2403.10020v1
Lost in Overlap: Exploring Watermark Collision in LLMs
2024-03-15T05:06:21
2024-03-15T05:06:21
Yiyang Luo, Ke Lin, Chao Gu
cs.CL
cs.CL, cs.MM
The proliferation of large language models (LLMs) in generating content raises concerns about text copyright. Watermarking methods, particularly logit-based approaches, embed imperceptible identifiers into text to address these challenges. However, the widespread use of watermarking across diverse LLMs has led to an inevitable issue known as watermark collision during common tasks like question answering and paraphrasing. This study focuses on dual watermark collisions, where two watermarks are present simultaneously in the same text. The research demonstrates that watermark collision poses a threat to detection performance for detectors of both upstream and downstream watermark algorithms.
[ -0.40935471653938293, -0.5942500233650208, 0.6889792084693909, 0.07752629369497299, -0.47086045145988464, 0.48179513216018677, 0.3587527871131897, -0.8594802618026733, -0.050859443843364716, 0.819982647895813, -0.5089632272720337, -0.0311487577855587, -0.8648614883422852, -0.20743325352668762, -0.5950106382369995, 0.6783915758132935, -0.36704036593437195, -0.14674188196659088, -0.7090007066726685, -0.4661865234375, -0.7031781673431396, -0.7541989684104919, -0.7603038549423218, -0.1177506074309349, 0.41271233558654785, 0.12740547955036163, 0.5938714146614075, 0.5010098218917847, 0.7567108273506165, 0.27817320823669434, -0.2567521333694458, 0.27152273058891296, -0.3537786602973938, 0.45052555203437805, -0.23989702761173248, -0.4007582366466522, 0.32660558819770813, -0.14814116060733795, 0.8475098609924316, 0.42346954345703125, 0.3514728546142578, -0.1244952455163002, 0.30177536606788635, 0.504587709903717, -0.7738935351371765, -0.17219196259975433, -0.6877974271774292, -0.05699900537729263, -0.4673141837120056, -0.29792851209640503, -0.13461551070213318, -0.07748059928417206, 0.031147073954343796, -0.29441624879837036, 0.045298583805561066, 0.07937587052583694, 0.9638635516166687, 0.5237110257148743, -0.4483432471752167, -0.5411278605461121, -0.7227717041969299, 0.8860693573951721, -0.6915682554244995, 0.01966148242354393, 0.122498519718647, 0.022422563284635544, -0.11589745432138443, -0.8331477642059326, -0.7342416644096375, 0.5157194137573242, -0.12293087691068649, 0.07206079363822937, -0.5095440149307251, -0.11241748929023743, 0.11668664216995239, 0.3658458888530731, -0.4493038058280945, 0.14410823583602905, 0.016095535829663277, -0.2020677626132965, 0.7012689113616943, 0.5415143966674805, 0.6064097881317139, 0.20851179957389832, -0.519351065158844, -0.009010466746985912, -0.7701888084411621, 0.09738001227378845, 0.7697678208351135, 0.12502869963645935, 0.12628111243247986, 0.3801506757736206, 0.30280688405036926, 0.7497382760047913, -0.45898768305778503, 0.04561206325888634, -0.16904397308826447, -0.4361754059791565, -0.007688989397138357, 0.10925192385911942, 0.9531285166740417, 0.3983277678489685, 0.14723116159439087, -0.08026600629091263, -0.12384716421365738, -0.17814993858337402, 0.022917404770851135, -0.470711886882782, 0.1149151399731636, 0.05491099879145622, -0.11867315322160721, -0.07473540306091309, 0.2693101167678833, -0.6702025532722473, -0.5900469422340393, -0.15772612392902374, 0.8859896659851074, -0.12447354197502136, -0.3545137941837311, 0.20522843301296234, -0.5897185206413269, 0.12977924942970276, 0.12617862224578857, -0.5769806504249573, 0.29248493909835815, 0.9060502648353577, 0.8501527309417725, -0.3625437617301941, -0.42740899324417114, -0.3394956588745117, 0.4454060196876526, -0.1474662721157074, 0.9630775451660156, -0.7280091047286987, -0.3123532831668854, -0.020774826407432556, 0.05651130527257919, -0.33467721939086914, -0.6881843209266663, 0.30829617381095886, -0.832040548324585, 0.5083417296409607, -0.37876763939857483, -0.9838318824768066, -0.37176722288131714, -0.02138824760913849, -1.0008742809295654, 1.265161395072937, -0.045534614473581314, -1.3365620374679565, 0.2761572301387787, -0.2462322860956192, -0.5217281579971313, 0.291582316160202, -0.2877630889415741, -0.5987637639045715, -0.10689462721347809, -0.3209163546562195, 0.3014838993549347, -0.2264658808708191, 0.07422211766242981, -0.026862632483243942, -0.7230604290962219, 0.3137214183807373, -0.4115626811981201, 0.5696011781692505, -0.4153584837913513, -0.4488983750343323, -0.16573360562324524, -0.5851377248764038, 0.011214741505682468, 0.2649625241756439, -0.4687185287475586, -0.9251858592033386, 0.015062258578836918, 0.20899784564971924, 0.10320653766393661, 0.562818169593811, -0.48619329929351807, -0.04953732341527939, 0.21467368304729462, 0.4638380706310272, 0.6124351024627686, 0.45603498816490173, 0.02245490625500679, -0.6390840411186218, 0.637749969959259, 0.17270438373088837, -0.15172739326953888, -0.08667910844087601, -0.8064236044883728, -0.5234977602958679, -0.11408083885908127, 0.42855823040008545, 0.6285263299942017, -0.7282686233520508, 0.18065676093101501, -0.2186146080493927, -0.30963602662086487, -0.5244880318641663, 0.2575303316116333, 0.4812535047531128, 0.11687206476926804, 0.3652339279651642, -0.41675248742103577, -0.6088764071464539, -0.9271343946456909, -0.8555682897567749, -0.06587778031826019, 0.12810344994068146, 0.45619869232177734, 0.44168904423713684, -0.11909303814172745, 0.9285020232200623, -0.41362789273262024, -0.15888531506061554, -0.20918764173984528, 0.217239648103714, -0.06894214451313019, 0.49772024154663086, 0.4119063913822174, -1.0595147609710693, -0.8296410441398621, -0.16833293437957764, -0.5845386981964111, -0.292147696018219, -0.20262479782104492, -0.030113304033875465, 0.21432295441627502, 0.7223013639450073, -0.3873617649078369, 0.5738722085952759, 0.7838742136955261, -0.3415733277797699, 0.36826184391975403, 0.026765160262584686, 0.30358704924583435, -0.8705116510391235, -0.017037011682987213, -0.3835545778274536, -0.13166110217571259, -0.6537010073661804, -0.02998669072985649, 0.11783479899168015, 0.30114272236824036, -0.36628320813179016, 0.4150090515613556, -0.5170618891716003, -0.08986448496580124, -0.6029868125915527, 0.026238802820444107, 0.24850770831108093, 0.14333543181419373, 0.035380177199840546, 1.0716142654418945, 0.597074568271637, -0.36631613969802856, 0.07625660300254822, -0.02107454091310501, -0.5009962916374207, 0.5818859934806824, -0.602480947971344, 0.3129784166812897, -0.3138919174671173, -0.11805032938718796, -1.4285132884979248, 0.07740915566682816, 0.3187413215637207, -0.08850507438182831, 0.4432387948036194, -0.29295170307159424, -0.7254924774169922, -0.054209623485803604, -0.40954849123954773, 0.8768625259399414, 0.346878319978714, -0.4749089479446411, 0.3749816417694092, 0.615430474281311, -0.18163557350635529, -0.6420117616653442, -1.0775902271270752, 0.3594904839992523, -0.5658630728721619, -0.6514066457748413, 0.5260167717933655, 0.0438755638897419, -0.126675546169281, 0.2346988022327423, -0.07264942675828934, -0.21307110786437988, -0.06006510183215141, 0.5439183712005615, -0.005757930222898722, -0.23708850145339966, 0.020836416631937027, 0.16503703594207764, 0.09469471126794815, -0.07189374417066574, -0.038066115230321884, 0.580675482749939, 0.11488544940948486, -0.5543923377990723, -0.5069249272346497, 0.7048436403274536, 0.706865668296814, -0.09764191508293152, 0.7967430949211121, 0.26866811513900757, -0.5034649968147278, 0.15666905045509338, -0.7591412663459778, 0.30237674713134766, -0.5150783658027649, 0.13321419060230255, -0.18520598113536835, -1.1359858512878418, 0.6552080512046814, 0.1181270107626915, 0.03468792513012886, 0.3540588617324829, 0.10827478766441345, -0.16578258574008942, 0.536429762840271, 0.6636728644371033, -0.14530624449253082, 0.5197561383247375, 0.010205447673797607, 0.34520891308784485, -0.914014995098114, -0.28807884454727173, -0.3999693989753723, -0.4830303490161896, -0.2644746005535126, -0.5591429471969604, 0.026198647916316986, 0.3292941153049469, 0.10138211399316788, 0.787233293056488, -0.3257448971271515, 0.7798699140548706, 0.5989382266998291, 0.06383977085351944, 0.5738332867622375, 0.025940842926502228, -0.1776183843612671, -0.36623790860176086, -0.7115229368209839, -0.6095512509346008, 0.8527304530143738, 0.10193348675966263, 0.442251592874527, 0.16652646660804749, 0.8699447512626648, 0.34554994106292725, -0.007515773177146912, -0.3152267038822174, 0.5457959771156311, 0.011319619603455067, -0.8061994910240173, -0.3121412992477417, -0.3011585474014282, -1.3298441171646118, 0.2805563807487488, 0.14133569598197937, -0.7070842981338501, 0.04028906673192978, -0.31893786787986755, -0.08085616677999496, 0.6534796953201294, -0.40831729769706726, 0.8715814352035522, -0.12888261675834656, -0.5829800963401794, -0.2417021542787552, -0.6228492856025696, 0.21294651925563812, -0.4460813105106354, 0.40008077025413513, -0.1456814706325531, -0.3875941336154938, 0.9620189666748047, -0.17239518463611603, 0.6167711615562439, 0.03128751367330551, -0.2555251717567444, 0.582536518573761, 0.18038883805274963, 0.19011634588241577, -0.13474386930465698, 0.19145335257053375, 0.24869412183761597, 0.06842692941427231, -0.3562880754470825, -0.31062081456184387, 0.7113797068595886, -0.2479809820652008, -0.7289247512817383, -0.5528813600540161, -0.6381902694702148, -0.11891012638807297, 0.14054353535175323, 0.3747018277645111, 0.25828713178634644, 0.01222632359713316, -0.11673586070537567, 0.708084225654602, -0.20621202886104584, 0.8067048788070679, 0.5211639404296875, 0.19420957565307617, -0.2700378894805908, 0.7412081956863403, 0.08329477161169052, 0.2784216105937958, 0.39907264709472656, -0.006463649682700634, -0.2699354588985443, -0.6451448798179626, -0.25095024704933167, 0.4118470549583435, -0.9270761013031006, -0.24169394373893738, -0.6300179362297058, -0.41176918148994446, 0.17947065830230713, 0.12771783769130707, -0.17800970375537872, -0.32580819725990295, -0.3917718529701233, 0.27217602729797363, 0.2914798855781555, 0.9856832027435303, -0.10461734980344772, 0.40158146619796753, -0.9747527837753296, -0.0235200934112072, 0.4314717948436737, 0.3719704747200012, 0.0674111619591713, -0.6912025809288025, -0.24685482680797577, -0.06583249568939209, -0.27929359674453735, -0.9304158687591553, -0.19123299419879913, 0.10968650877475739, 0.5686331987380981, 0.2897225618362427, -0.10693886876106262, 0.6489225625991821, -0.4907253384590149, 0.6811767220497131, 0.13782495260238647, -1.0623360872268677, 0.21611662209033966, -0.08525896817445755, 0.4111277461051941, 0.48500433564186096, 0.5809257626533508, -0.6683096289634705, -0.6977089643478394, -0.5387744903564453, -0.9836891293525696, 0.4621880352497101, 0.26326754689216614, 0.3322514295578003, 0.16565710306167603, 0.22015932202339172, 0.154078409075737, 0.25986045598983765, -0.7923287749290466, -0.1434316635131836, 0.5605129599571228, -0.15646691620349884, 0.3321167826652527, -0.48332497477531433, -0.16750755906105042, -0.10624539852142334, 0.5051507353782654, 0.2916317284107208, 0.07273679971694946, 0.12801259756088257, -0.063905730843544, -0.28909817337989807, -0.039941925555467606, 0.39686891436576843, 0.44997143745422363, 0.21027804911136627, 0.3577572703361511, -0.014703650958836079, -0.3804391324520111, 0.2032567709684372, -0.03973158448934555, -0.04326765611767769, 0.37393707036972046, 0.8381807804107666, 0.6236347556114197, 0.38857796788215637, -0.9769222140312195, 0.6101282238960266, -0.16268667578697205, -0.21693108975887299, -0.02238411270081997, -0.04199216887354851, 0.3881501257419586, 0.36404380202293396, 0.4644838869571686, -0.08493907749652863, -0.03479199483990669, -0.3860585391521454, 0.3418039083480835, 0.7110167741775513, -0.3292824923992157, 0.041624512523412704, 0.8454133868217468, -0.09447073191404343, -0.3175809383392334, 0.28106412291526794, 0.1792885810136795, -1.009688138961792, 0.7511059045791626, 0.1740071028470993, 0.8022229075431824, -0.15648135542869568, -0.3276548683643341, 0.15017199516296387, 0.3627288341522217, -0.17719119787216187, 0.3427118957042694, -0.058802757412195206, -0.7410047054290771, -0.27685806155204773, -0.3221161663532257, -0.4740077257156372, 0.23002506792545319, -0.7086108922958374, 0.2511320114135742, -0.15450382232666016, -0.13206744194030762, 0.1738685816526413, -0.29358887672424316, -0.33006399869918823, -0.11675781011581421, 0.3373698592185974, 0.5331535935401917, -0.7967918515205383, 0.5787280201911926, 0.7185786366462708, -0.04081426560878754, -0.2716173827648163, 0.3460099399089813, -0.12004266679286957, -0.652391254901886, 0.3216267228126526, 0.5120776295661926, -0.19326640665531158, -0.11263331025838852, -0.49184632301330566, -0.89670729637146, 0.9454805850982666, 0.17932476103305817, -0.5653373003005981, 0.08636125177145004, 0.6447776556015015, 0.4855208992958069, -0.06653201580047607, -0.2736356556415558, 0.7500324845314026, 0.386845201253891, -0.14037449657917023, -0.9646401405334473, 0.31597986817359924, -0.06128941476345062, -0.06362943351268768, 0.6819496154785156, -0.7981473803520203, 0.7481638789176941, 0.11532315611839294, -0.5715165734291077, 0.10724083334207535, 0.1260083019733429, 0.21231578290462494, 0.5151548385620117, 0.5104649066925049, 0.8587532043457031, 0.4278733730316162, -0.13826528191566467, 0.6422193050384521, -0.24772879481315613, 0.4164107143878937, 0.9787279963493347, -0.37860924005508423, 0.9507852792739868, 0.7934885621070862, -0.5066609978675842, 0.517883837223053, 0.5562929511070251, -0.07600812613964081, 0.5878477692604065, 0.22949016094207764, -0.7643343806266785, -0.18904562294483185, -0.08700674772262573, -0.4846448004245758, 0.1254492551088333, 0.4496634900569916, -0.10972162336111069, -0.19395016133785248, -0.10941121727228165, -0.038770753890275955, 0.20994974672794342, -0.007363086100667715, 0.7716237306594849, 0.06205814704298973, -0.6021215319633484, 0.27466320991516113, 0.0012760745594277978, 0.8987767100334167, -0.4699214696884155, 0.03724820166826248, -0.2336844801902771, -0.010122719220817089, -0.14559289813041687, -1.3098771572113037, 0.4623471200466156, -0.35565707087516785, -0.023120950907468796, -0.1498955637216568, 0.8211151361465454, -0.824317991733551, -0.06196700781583786, 0.7644738554954529, 0.4192194938659668, 0.17100299894809723, -0.2360592484474182, -0.7021989822387695, 0.31320956349372864, 0.011645840480923653, -0.18098773062229156, 0.32132482528686523, 0.46948471665382385, 0.06801963597536087, 0.7424051761627197, 0.37605521082878113, -0.3312760591506958, 0.5343321561813354, -0.17745180428028107, 0.7899959087371826, -0.6104916930198669, -0.3863620460033417, -1.1060731410980225, 0.3166964054107666, -0.10000406950712204, -0.0354459285736084, 0.8701863884925842, 0.851434051990509, 0.8489134311676025, -0.04835404083132744, 0.9797180891036987, -0.0019089941633865237, 0.38852253556251526, -0.4867035746574402, 0.5674848556518555, -0.8368054032325745, 0.2815335988998413, -0.4455031454563141, -0.7799891233444214, -0.3305591642856598, 0.021518593654036522, -0.03228403627872467, -0.17631599307060242, 0.8385204076766968, 0.6712923645973206, -0.10068880021572113, 0.0658152773976326, 0.32486799359321594, -0.4911377429962158, 0.029125336557626724, 1.0161055326461792, 1.2047288417816162, -0.8172860145568848, 0.8691125512123108, -0.2727227210998535, 0.1216849610209465, -0.05319223180413246, -0.8999406695365906, -0.930136501789093, -0.7417319416999817, -0.7509317398071289, -0.22754648327827454, 0.08205512911081314, 0.10350537300109863, 0.25684159994125366, -0.8654019832611084, -0.2858659029006958, -0.19466103613376617, 0.34746235609054565, 0.03794911503791809, -0.3197355270385742, 0.3084433674812317, 0.03182202950119972, -0.9175075888633728, 0.17497143149375916, 0.5127866268157959, 0.6851545572280884, 0.02777615375816822, 0.08037196099758148, -0.4782369136810303, 0.17622117698192596, 0.03333989903330803, 0.289785772562027, -0.5017004013061523, -0.06143688037991524, -0.5618709921836853, -0.2869206368923187, -0.011433578096330166, 1.092002034187317, -0.5486043691635132, 0.2113649696111679, 0.7089078426361084, 0.9941657185554504, 0.41951969265937805, 0.1452666074037552, 0.29666757583618164, -0.816946268081665, 0.3631591498851776, 0.25482550263404846, 0.3512217104434967, 0.5151895880699158, -0.4169863164424896, 0.3895549774169922, 0.648992657661438, -0.5124345421791077, -1.1213418245315552, 0.26770541071891785, -0.7193641662597656, -0.5677716135978699, 1.0400406122207642, -0.20605212450027466, 0.2677660882472992, -0.37876448035240173, -0.09552165120840073, 0.03182986006140709, 0.0529693067073822, 0.44652149081230164, 1.3706527948379517, -0.07786760479211807, -0.2899610698223114, -0.47996607422828674, 0.41476520895957947, 0.6668092608451843, -0.5353680849075317, 0.018685288727283478, 0.023850983008742332, 0.4266376197338104, 0.11878786236047745, 0.27546149492263794, -0.08348525315523148, 0.17402005195617676, 0.15511807799339294, -0.10920645296573639, 0.11845573782920837, -0.11904554069042206, -0.3368436396121979, 0.015220033936202526, 0.046937234699726105, -0.39235350489616394 ]
http://arxiv.org/abs/2403.10575v1
http://arxiv.org/pdf/2403.10575v1
Exploring Language Model's Code Generation Ability with Auxiliary Functions
2024-03-15T04:41:50
2024-03-15T04:41:50
Seonghyeon Lee, Sanghwan Jang, Seongbo Jang, Dongha Lee, Hwanjo Yu
cs.SE
cs.SE, cs.AI, cs.CL
Auxiliary function is a helpful component to improve language model's code generation ability. However, a systematic exploration of how they affect has yet to be done. In this work, we comprehensively evaluate the ability to utilize auxiliary functions encoded in recent code-pretrained language models. First, we construct a human-crafted evaluation set, called HumanExtension, which contains examples of two functions where one function assists the other. With HumanExtension, we design several experiments to examine their ability in a multifaceted way. Our evaluation processes enable a comprehensive understanding of including auxiliary functions in the prompt in terms of effectiveness and robustness. An additional implementation style analysis captures the models' various implementation patterns when they access the auxiliary function. Through this analysis, we discover the models' promising ability to utilize auxiliary functions including their self-improving behavior by implementing the two functions step-by-step. However, our analysis also reveals the model's underutilized behavior to call the auxiliary function, suggesting the future direction to enhance their implementation by eliciting the auxiliary function call ability encoded in the models. We release our code and dataset to facilitate this research direction.
[ -0.37910783290863037, -0.7159311175346375, 0.5162383317947388, 0.24958549439907074, -0.324285626411438, 0.0054854219779372215, -0.3226848244667053, -0.40094855427742004, -0.15064583718776703, 0.5029796361923218, -0.7940029501914978, -0.3928971290588379, -0.2661139965057373, 0.49368876218795776, -0.31600138545036316, 0.7531318664550781, 0.1211019977927208, 0.11234808713197708, -0.2504129707813263, -0.0726635679602623, -0.5744166970252991, -0.6257537007331848, -0.3716309368610382, -0.08169492334127426, 0.22867953777313232, 0.5425375699996948, 0.5719257593154907, 0.6186472773551941, 0.48599451780319214, 0.3499905467033386, 0.3920734226703644, 0.03409497067332268, -0.425295889377594, -0.10132525861263275, 0.10078445822000504, -0.32103297114372253, -0.49892497062683105, -0.3229690492153168, 0.8452335000038147, 0.3688991665840149, -0.053901541978120804, 0.15503868460655212, 0.027027053758502007, 0.28776657581329346, -0.42811912298202515, 0.16271358728408813, -0.48217636346817017, -0.12268707156181335, -0.12069889158010483, -0.31917524337768555, -0.4674700200557709, -0.43891441822052, -0.12675759196281433, -0.2495616376399994, -0.05673570930957794, -0.09723955392837524, 0.5300818085670471, 0.14488592743873596, -0.367288202047348, -0.35574209690093994, -0.6902446150779724, 0.8309352993965149, -1.0123099088668823, 0.3714589774608612, 0.5043277740478516, 0.07030999660491943, -0.16015806794166565, -0.778274416923523, -0.5894597768783569, -0.7011033892631531, 0.015570152550935745, -0.1430300772190094, -0.31003355979919434, 0.19073058664798737, 0.4164888560771942, 0.3430855870246887, -0.4580109119415283, 0.13321171700954437, -0.4218076765537262, -0.2583165168762207, 0.6799342036247253, 0.1769443303346634, 0.6679214835166931, -0.32121041417121887, -0.06774862855672836, -0.2944652736186981, -0.5075744390487671, 0.282581090927124, 0.46620458364486694, 0.2860907018184662, -0.2570502758026123, 0.3962500989437103, -0.28143322467803955, 0.4934079349040985, -0.24643783271312714, 0.282264769077301, 0.39539504051208496, -0.45356285572052, -0.1775733083486557, -0.3353544771671295, 0.6035469174385071, 0.2968262732028961, 0.3455333113670349, 0.07479650527238846, -0.4256558418273926, 0.01550534088164568, 0.47922828793525696, -0.7276772856712341, -0.1613001972436905, 0.21869806945323944, -0.730061948299408, -0.5419990420341492, -0.14672017097473145, -0.32980573177337646, 0.0013495967723429203, -0.32674896717071533, 0.1782878041267395, -0.39152708649635315, -0.4603498876094818, 0.04789762943983078, -0.06726356595754623, 0.22062791883945465, -0.01076430082321167, -0.9347715973854065, 0.3801516592502594, 0.5497297048568726, 0.687896192073822, -0.0008012915495783091, -0.1868475079536438, -0.7989324927330017, -0.2598627507686615, -0.08350679278373718, 0.7370408773422241, -0.7294919490814209, -0.7858211398124695, 0.22555981576442719, -0.05071604624390602, 0.01922687701880932, -0.24484609067440033, 0.7974225878715515, -0.4861314296722412, -0.17421604692935944, -0.3818584680557251, -0.4827072322368622, -0.07660400122404099, -0.09070415794849396, -0.6417078375816345, 0.7562533020973206, 0.2431829869747162, -0.7268704771995544, 0.15606896579265594, -0.8369355201721191, -0.4880361258983612, 0.2387872040271759, -0.35619494318962097, -0.45172441005706787, 0.4716299772262573, 0.22725391387939453, 0.4645892083644867, -0.15301355719566345, 0.16726833581924438, -0.369497150182724, -0.17394506931304932, 0.38724398612976074, -0.44659945368766785, 0.8229832053184509, 0.10636510699987411, -0.1029973179101944, 0.38483017683029175, -0.7970624566078186, 0.14610859751701355, 0.18154367804527283, -0.2203194499015808, -0.3329274356365204, -0.023563263937830925, 0.14313367009162903, 0.19026124477386475, 0.07344673573970795, -0.37069395184516907, 0.24207782745361328, -0.33821624517440796, 0.36692243814468384, 0.7267835736274719, 0.18724451959133148, 0.5323131680488586, -0.3989621102809906, 0.8367865085601807, -0.5158243775367737, 0.3074517846107483, -0.4627305865287781, -0.3968762457370758, -0.5504931807518005, -0.1348191648721695, 0.271393746137619, 0.3778876066207886, -0.6742365956306458, 0.4004347324371338, 0.17593985795974731, -0.3477422595024109, -0.3359113931655884, 0.03491928055882454, 0.5090964436531067, 0.6647834777832031, 0.33318889141082764, -0.39821764826774597, -0.5942023992538452, -0.9401885867118835, 0.10305499285459518, -0.24062183499336243, 0.1474091112613678, 0.2515585124492645, 0.4160013794898987, -0.5224523544311523, 0.8202077150344849, -0.2839800715446472, 0.399404913187027, -0.3344258666038513, 0.3426147401332855, 0.07291831821203232, 0.6798141002655029, 0.6093999147415161, -0.4568350315093994, -0.04788997024297714, -0.1402280628681183, -0.49433785676956177, -0.3200199604034424, -0.1549365222454071, -0.32529976963996887, 0.09030646830797195, 0.4088285267353058, -0.3441343605518341, 0.3342154920101166, 0.41378405690193176, -0.2157217413187027, 0.9954594373703003, -0.43579375743865967, 0.2096259742975235, -0.6563094854354858, 0.22727277874946594, -0.31932908296585083, -0.055935803800821304, -0.8427526950836182, 0.2373686581850052, 0.3331506848335266, -0.09393831342458725, -0.25542929768562317, 0.519048273563385, -0.5165311694145203, -0.04761747270822525, -0.40315666794776917, -0.3561336100101471, -0.2543298900127411, 0.4357749819755554, 0.3382267653942108, 0.5824469327926636, 0.6276372671127319, -0.689975917339325, 0.04404095560312271, 0.15280483663082123, -0.15606753528118134, -0.1758391261100769, -0.8062931895256042, 0.3939816653728485, -0.010165712796151638, -0.11224303394556046, -0.9484853744506836, -0.2174793779850006, 0.10983946919441223, -0.3414675295352936, 0.2295948565006256, -0.051328688859939575, -0.44620758295059204, -0.4864514470100403, -0.2733849585056305, 0.35070380568504333, 0.7497256994247437, -0.2974538207054138, 0.36516132950782776, 0.17955636978149414, -0.5079846978187561, -0.3461725115776062, -0.25474119186401367, -0.27421388030052185, -0.16651798784732819, -0.7512431144714355, 0.1297471523284912, -0.23487447202205658, -0.24176688492298126, -0.3005278706550598, 0.02088610641658306, 0.09432019293308258, 0.2263098508119583, 0.06339612603187561, 0.4606200158596039, -0.19765377044677734, 0.14979708194732666, 0.3252109885215759, -0.07330504059791565, 0.3096213638782501, -0.1030430793762207, 0.7153757810592651, -0.1660585105419159, -0.49753260612487793, -0.2761150300502777, 0.5226553082466125, 0.29750856757164, -0.6210349202156067, 0.15761041641235352, 0.5853047966957092, -0.30815064907073975, -0.24036486446857452, -0.5398769378662109, -0.4350851774215698, -0.5588110685348511, 0.4466632306575775, -0.41162237524986267, -0.7622086405754089, 0.5892979502677917, 0.16931039094924927, 0.2692177891731262, 0.1778145581483841, 0.5522623062133789, 0.13448290526866913, 1.2427728176116943, 0.8704702258110046, 0.18484950065612793, 0.6063606142997742, -0.20995914936065674, -0.09626653045415878, -0.759931206703186, -0.13561546802520752, -0.7489383816719055, 0.12200748920440674, -0.5495149493217468, -0.42469343543052673, 0.1545935720205307, 0.23842206597328186, 0.0346066877245903, 0.37455451488494873, -0.36497190594673157, 0.20110785961151123, 0.7114680409431458, 0.09699346870183945, 0.28867819905281067, -0.006788835860788822, -0.22060349583625793, -0.008674933575093746, -0.6597435474395752, -0.6604800224304199, 1.1537213325500488, 0.6354125142097473, 0.7236749529838562, -0.1272803246974945, 0.9576541185379028, 0.3730255663394928, 0.38734713196754456, -0.6301053166389465, 0.4102449417114258, 0.07343235611915588, -0.17086903750896454, -0.3289226293563843, -0.3540823757648468, -0.6917245388031006, 0.04112877696752548, -0.189235657453537, -0.6543024778366089, 0.29453524947166443, 0.48500382900238037, -0.6654156446456909, -0.38326141238212585, -0.9042559862136841, 0.8600402474403381, -0.517676591873169, -0.42522770166397095, -0.3618070185184479, -0.45390331745147705, 0.5003494024276733, 0.059458356350660324, 0.3304845988750458, 0.13185690343379974, 0.2822900116443634, 0.5594313144683838, -0.3726576268672943, 0.7701206207275391, -0.10761770606040955, -0.33463817834854126, 0.23265808820724487, 0.19873270392417908, 0.5147190690040588, 0.23327840864658356, -0.044755302369594574, 0.0226408913731575, -0.03934473544359207, -0.20732294023036957, -0.6447699069976807, 0.43814393877983093, -0.4982227385044098, -0.6497975587844849, 0.01824560947716236, -0.3970901072025299, -0.3303092420101166, 0.3053157329559326, 0.2887488305568695, 0.9401663541793823, -0.3297443985939026, -0.10018032044172287, 0.44411370158195496, -0.3235768675804138, 0.7348802089691162, 0.39665544033050537, -0.3440583050251007, -0.22132621705532074, 0.9365853071212769, -0.2542893886566162, 0.3328428566455841, 0.1703161597251892, 0.30189743638038635, -0.615923285484314, -0.550432026386261, -0.5673103928565979, 0.17663417756557465, -0.6243846416473389, -0.1380300670862198, -0.8560097813606262, 0.04038911685347557, -0.5647604465484619, -0.1774146854877472, -0.09896931052207947, -0.5039440989494324, -0.20284931361675262, -0.1292220801115036, 0.05568711832165718, 0.8644635677337646, -0.22324290871620178, 0.2667160928249359, -1.0890556573867798, 0.17409884929656982, 0.3452625274658203, 0.12514498829841614, 0.2467651516199112, -0.30604520440101624, -0.21064229309558868, 0.11048954725265503, -0.2858982980251312, -1.0828088521957397, 0.4472254514694214, 0.05966780707240105, 0.8268458843231201, 0.5013178586959839, 0.03263382613658905, 0.48010194301605225, -0.6256894469261169, 0.4802340567111969, 0.08622978627681732, -1.0973490476608276, 0.6037821173667908, -0.39683401584625244, 0.3782956302165985, 0.2993626892566681, -0.013809739612042904, -0.3234610855579376, -0.44555729627609253, -0.7289090156555176, -0.5588619709014893, 0.8079061508178711, 0.5923349857330322, 0.49120303988456726, -0.07380872219800949, 0.08204125612974167, 0.07342725247144699, 0.13025625050067902, -0.7174897193908691, 0.013130666688084602, -0.30234766006469727, 0.03374982252717018, 0.04789816588163376, -0.35484710335731506, 0.06647203862667084, -0.14745333790779114, 0.4041622281074524, -0.07111983746290207, 0.42639103531837463, 0.005921335890889168, -0.1706189215183258, -0.1532122641801834, 0.4302189350128174, 0.8392753601074219, 0.46593376994132996, -0.08326791971921921, -0.16628217697143555, 0.13194586336612701, -0.3412891924381256, -0.1034940555691719, 0.21765561401844025, 0.05738276243209839, -0.06901572644710541, 0.768275797367096, 0.7152581810951233, 0.1666160225868225, -0.8165640830993652, 0.45273664593696594, -0.2397112101316452, 0.17309533059597015, -0.2525584399700165, 0.3237879276275635, -0.09731950610876083, 0.02096824161708355, 0.27377453446388245, 0.01761416718363762, 0.6249905824661255, -0.5853427052497864, 0.5106785893440247, 0.5501587390899658, -0.2165835052728653, -0.5524276494979858, 0.427121102809906, 0.5328190922737122, -0.3884885907173157, 0.681016743183136, -0.29047054052352905, -0.6664489507675171, 0.853196382522583, 0.8043815493583679, 1.0195797681808472, -0.4087580740451813, 0.27332228422164917, 0.43565958738327026, 0.37240543961524963, 0.11981956660747528, 0.5067320466041565, -0.5409462451934814, -0.7666090726852417, -0.4903041124343872, -0.6855760216712952, -0.05906972289085388, -0.08078764379024506, -0.7525835633277893, 0.4125877022743225, -0.22979478538036346, -0.18372566998004913, -0.31733325123786926, -0.19770008325576782, -0.7391884922981262, 0.10993131995201111, 0.17758327722549438, 0.9937569499015808, -0.8176445960998535, 0.8251487612724304, 0.7188965678215027, -0.5350550413131714, -0.9329919815063477, 0.09661088138818741, -0.17546896636486053, -0.8322579264640808, 0.7273797988891602, 0.1988234668970108, -0.2310059368610382, 0.1906171590089798, -0.39867594838142395, -0.5908404588699341, 0.7991416454315186, 0.13469965755939484, -0.6132192611694336, -0.20410527288913727, -0.1011882945895195, 0.5260658264160156, -0.6067692637443542, 0.5956400632858276, 0.5921266078948975, 0.4263963997364044, -0.08805973827838898, -0.8818656802177429, 0.1352788358926773, -0.5942080020904541, 0.259930282831192, -0.10869144648313522, -0.22007369995117188, 0.663838267326355, -0.5580353736877441, -0.4245644211769104, 0.24206024408340454, 0.7825379371643066, 0.19520874321460724, -0.017425931990146637, 0.4331427812576294, 0.027244023978710175, 0.5969021320343018, 0.23712441325187683, 1.2953637838363647, -0.2958538234233856, 0.19396226108074188, 1.0965794324874878, -0.14554740488529205, 0.7571589946746826, 0.34654903411865234, 0.12818700075149536, 0.46358734369277954, 0.24154959619045258, 0.15674936771392822, 0.6116576194763184, 0.3130780756473541, -0.1895524114370346, -0.4251914620399475, -0.09460333734750748, -0.4439772367477417, 0.3770869970321655, 0.3009803593158722, -0.42180222272872925, -0.21894629299640656, 0.2366114854812622, -0.18559731543064117, 0.003185481997206807, -0.1428898721933365, 0.7386182546615601, 0.04793497174978256, -0.7478483319282532, 0.5584933161735535, 0.20434144139289856, 0.4250025451183319, -0.583470344543457, -0.4367920160293579, -0.3044295310974121, -0.17032060027122498, -0.08189810067415237, -0.463466078042984, 0.24422988295555115, 0.015561910346150398, 0.017466045916080475, -0.14853407442569733, 0.8920024037361145, -0.2634633481502533, -0.4343407154083252, 0.24116729199886322, 0.4285256564617157, -0.23770634829998016, 0.18171167373657227, -0.5168525576591492, 0.4030126929283142, 0.2743363082408905, -0.002447735983878374, -0.18069885671138763, 0.1208336129784584, -0.11834157258272171, 0.6794455051422119, 0.7397534251213074, 0.03584394231438637, 0.15950331091880798, 0.4112054407596588, 0.7810433506965637, -0.5182995796203613, -0.5999342203140259, -0.7916883826255798, 0.9305119514465332, -0.11941003054380417, -0.423072874546051, 0.7222987413406372, 0.1902853101491928, 0.814308762550354, -0.48080921173095703, 1.042896032333374, -0.1543172150850296, 0.2012668251991272, -0.7898932695388794, 0.554621696472168, -0.26848623156547546, 0.3968174457550049, -0.4966887831687927, -0.7275300621986389, -0.179064080119133, 0.685719907283783, -0.2697735130786896, 0.20852677524089813, 0.6039848327636719, 1.0141843557357788, -0.04385058209300041, 0.2986174523830414, 0.42931511998176575, 0.01003971416503191, 0.24602250754833221, 0.25202569365501404, 1.212990403175354, -0.15953198075294495, 0.17417922616004944, -0.6176404356956482, -0.5552824139595032, -0.20506726205348969, -0.7418351173400879, -1.1818053722381592, -0.7475519776344299, -0.21574892103672028, -0.10206735134124756, -0.0021499001886695623, 1.1356631517410278, 0.8347046375274658, -0.8033050894737244, -0.3407444655895233, -0.4117678701877594, -0.06603873521089554, -0.16537971794605255, -0.17278257012367249, 0.2532188296318054, -0.6205616593360901, -0.7771037220954895, 0.4591815769672394, 0.08900350332260132, 0.08906177431344986, -0.27650952339172363, -0.2531938850879669, 0.09254685044288635, 0.11646340042352676, 0.5955091118812561, 0.43284496665000916, -0.468464732170105, -0.1798594892024994, 0.33760350942611694, 0.13670848309993744, -0.24222588539123535, 1.262169361114502, -0.484133780002594, 0.5456965565681458, 0.5718780755996704, 0.5081532001495361, 0.0025732992216944695, 0.25804537534713745, 1.0677413940429688, -0.7822718620300293, -0.11816611886024475, 0.270442396402359, 0.4633047580718994, 0.24528229236602783, -0.5135155320167542, 0.18878678977489471, -0.1530679315328598, -0.48969343304634094, -0.922495424747467, 0.39483729004859924, -0.6862260103225708, 0.03739435225725174, 1.18363618850708, 0.03978058323264122, 0.020633665844798088, -0.16811764240264893, -0.44939836859703064, 0.29496216773986816, -0.6527926921844482, 0.6512469053268433, 0.5518632531166077, -0.42604297399520874, -0.2704777717590332, -0.2590632438659668, 0.7291721701622009, 0.3622228801250458, -0.8694704174995422, -0.00045939142000861466, 0.7041218280792236, 0.09693703055381775, 0.014570123516023159, 0.8333365321159363, -0.1616741120815277, 0.5842543244361877, -0.04531010240316391, 0.13050900399684906, -0.21298471093177795, -0.3280124068260193, -0.7081559896469116, -0.13105714321136475, 0.39050376415252686, -0.07274436950683594 ]
http://arxiv.org/abs/2403.13840v1
http://arxiv.org/pdf/2403.13840v1
Whose Side Are You On? Investigating the Political Stance of Large Language Models
2024-03-15T04:02:24
2024-03-15T04:02:24
Pagnarasmey Pit, Xingjun Ma, Mike Conway, Qingyu Chen, James Bailey, Henry Pit, Putrasmey Keo, Watey Diep, Yu-Gang Jiang
cs.CL
cs.CL, cs.AI, cs.SI
Large Language Models (LLMs) have gained significant popularity for their application in various everyday tasks such as text generation, summarization, and information retrieval. As the widespread adoption of LLMs continues to surge, it becomes increasingly crucial to ensure that these models yield responses that are politically impartial, with the aim of preventing information bubbles, upholding fairness in representation, and mitigating confirmation bias. In this paper, we propose a quantitative framework and pipeline designed to systematically investigate the political orientation of LLMs. Our investigation delves into the political alignment of LLMs across a spectrum of eight polarizing topics, spanning from abortion to LGBTQ issues. Across topics, the results indicate that LLMs exhibit a tendency to provide responses that closely align with liberal or left-leaning perspectives rather than conservative or right-leaning ones when user queries include details pertaining to occupation, race, or political affiliation. The findings presented in this study not only reaffirm earlier observations regarding the left-leaning characteristics of LLMs but also surface particular attributes, such as occupation, that are particularly susceptible to such inclinations even when directly steered towards conservatism. As a recommendation to avoid these models providing politicised responses, users should be mindful when crafting queries, and exercise caution in selecting neutral prompt language.
[ -0.4298926591873169, -0.6489593982696533, 0.6876574754714966, 0.1602972000837326, -0.4313638210296631, 0.22287963330745697, -0.4329504072666168, 0.1720326989889145, 0.46079543232917786, 0.943117618560791, -0.4472545087337494, -0.42424216866493225, -0.7896857261657715, -0.00005928788959863596, -0.33380529284477234, 0.9020448923110962, 0.5160090327262878, 0.2244507074356079, -0.2985689043998718, -0.26901936531066895, -0.20624905824661255, -0.8927127718925476, -0.6043058633804321, -0.5764360427856445, 0.6796541810035706, 0.45299187302589417, 1.0372300148010254, 0.6524118781089783, 0.21576091647148132, 0.24586868286132812, -0.07868679612874985, -0.5311523079872131, -0.6121691465377808, 0.3214259445667267, -0.3905659019947052, -0.6358478665351868, -0.21876391768455505, 0.3372328281402588, 0.4095623195171356, 0.5788909792900085, -0.16076236963272095, 0.28830793499946594, -0.05312265083193779, 0.8617547750473022, -0.6342567801475525, -0.17343737185001373, -0.9243243336677551, 0.1339017003774643, -0.43846914172172546, -0.1529616415500641, -0.4014575481414795, -0.39168334007263184, 0.07775605469942093, -0.09488600492477417, -0.04369549825787544, 0.010470191948115826, 0.49491968750953674, -0.01489698514342308, -0.8713467121124268, -0.366010844707489, -0.40757131576538086, 0.9853647351264954, -1.0447229146957397, 0.47659677267074585, 0.4277069568634033, 0.19200779497623444, -0.17616219818592072, -0.18853366374969482, -0.7607558965682983, 0.10499520599842072, -0.027003541588783264, 0.17939823865890503, 0.05080114305019379, 0.07564535737037659, 0.03544650599360466, 0.2167566567659378, -0.4958448112010956, 0.48424890637397766, 0.020824845880270004, -0.07976026087999344, 0.6758173704147339, 0.1957852840423584, 0.11414557695388794, -0.435170441865921, -0.4811892807483673, 0.3192640542984009, -1.0425596237182617, 0.2672218084335327, 1.0776560306549072, 0.48674458265304565, -0.22576108574867249, 1.137477993965149, 0.10798501968383789, 0.6075462698936462, 0.4623046815395355, 0.13318809866905212, -0.2333727926015854, -0.15037965774536133, -0.3338884115219116, 0.017906418070197105, 1.1079648733139038, 0.45588091015815735, 0.4167504906654358, 0.33361679315567017, -0.20240569114685059, -0.29214879870414734, 0.07915063947439194, -0.5981037616729736, 0.27913448214530945, 0.3689490854740143, -0.6959440112113953, -0.19612063467502594, -0.1446065604686737, -0.9080398082733154, -1.188245415687561, -0.4860951006412506, -0.2651924192905426, 0.06961715221405029, -0.5082994699478149, -0.04655102267861366, 0.1552598476409912, 0.2982785701751709, 0.06282906979322433, -0.9034993648529053, -0.07586167752742767, 1.2806298732757568, 0.6185764074325562, -0.12266187369823456, 0.24646225571632385, -0.7278614640235901, -0.12298960238695145, -0.38347846269607544, 0.48447445034980774, -0.9713024497032166, -0.4074864983558655, 0.353933185338974, 0.05567461624741554, 0.17658305168151855, -0.42852404713630676, 0.3612522482872009, -0.5766726136207581, 0.5650151968002319, -0.7118387222290039, -0.5996423363685608, -0.007613264489918947, 0.3811817169189453, -0.5443277359008789, 0.6976705193519592, -0.3198491036891937, -1.1368557214736938, 0.2563798129558563, -0.44213271141052246, -0.0027839643880724907, -0.04971490427851677, -0.9242020845413208, -0.21270990371704102, 0.19716423749923706, -0.22982284426689148, 0.64323490858078, -0.46647152304649353, 0.6647053956985474, -0.5540875792503357, -0.08681495487689972, 0.6211118698120117, -0.1384243220090866, 1.090251088142395, -0.013788891956210136, -0.35483142733573914, 0.4875526428222656, -0.4360485374927521, -0.4512031078338623, -0.06018567085266113, -0.1680140644311905, -0.4112905263900757, 0.35652482509613037, -0.19110703468322754, 0.4560879170894623, 0.3520064651966095, -0.6524965763092041, 0.11502917110919952, -0.4214656949043274, 0.40814271569252014, 1.162832260131836, -0.2652222514152527, 0.6990612149238586, -0.12818504869937897, 0.6886084675788879, -0.06803452223539352, 0.1144939437508583, 0.5519633889198303, -0.6176572442054749, -0.4303847849369049, -0.1749180257320404, 0.07409390062093735, 0.6188210248947144, -0.30450984835624695, 0.38409286737442017, -0.08843886852264404, -0.2645736634731293, -0.3499274253845215, 0.11971601843833923, 0.11085164546966553, 0.2546536922454834, -0.18649984896183014, 0.3142666816711426, -0.4207572340965271, -1.4236191511154175, -0.7872620820999146, -0.6105177998542786, -0.03381353244185448, 0.24059009552001953, 0.3654877841472626, -0.051524147391319275, 0.9839754104614258, -0.10308436304330826, 0.2091241180896759, -0.31007829308509827, 0.12524352967739105, 0.5970265865325928, -0.05214458703994751, 0.35216060280799866, -0.9951054453849792, -0.4917253851890564, 0.03698184713721275, -0.3516410291194916, -0.2767685353755951, 0.13757741451263428, -0.2165977507829666, 0.38777026534080505, 0.4083530008792877, -0.4928872883319855, 0.07392013072967529, 1.0755482912063599, -0.639065146446228, 0.28168758749961853, 0.3243171274662018, -0.07859551906585693, -1.150075912475586, 0.07218517363071442, 0.040184956043958664, -0.2736513614654541, -0.568074643611908, -0.12435472011566162, -0.17040002346038818, 0.191076397895813, -0.45379722118377686, 0.3960864543914795, -0.2772032618522644, -0.03532394394278526, -0.18234141170978546, 0.1721293032169342, -0.23973998427391052, -0.26002687215805054, 0.07381797581911087, 0.4548649787902832, 0.34848102927207947, -0.06247034668922424, 0.2732572555541992, 0.05971277877688408, -0.1619480848312378, 0.5506288409233093, -0.5108852982521057, 0.39240625500679016, -0.4627035856246948, 0.13718071579933167, -1.014158844947815, -0.32749316096305847, 0.3397507071495056, -0.11796507239341736, 0.22526678442955017, -0.37164831161499023, -0.31609609723091125, -0.22048518061637878, -0.42515090107917786, 0.1360512226819992, 0.34821271896362305, -0.1995953768491745, 0.8712946176528931, 0.7952210903167725, -0.2812202274799347, -1.0264395475387573, -0.6917771697044373, -0.10361601412296295, -0.5810105204582214, -0.4243721067905426, -0.03014906495809555, 0.14182154834270477, -0.8960720300674438, -0.15627212822437286, 0.0455562062561512, 0.15398278832435608, -0.1599196046590805, 0.31420817971229553, 0.11349908262491226, -0.20137576758861542, 0.15202182531356812, -0.15149261057376862, 0.26792165637016296, 0.13278037309646606, 0.2657800614833832, 0.74495929479599, -0.019542120397090912, -0.37117600440979004, -0.2339565008878708, 0.5240749716758728, 0.9635347723960876, -0.23042534291744232, 0.9684207439422607, 0.1617691069841385, -0.13463953137397766, 0.03526488319039345, -0.6591265201568604, -0.009314730763435364, -0.48690086603164673, 0.2720104455947876, 0.05330466851592064, -0.8988917469978333, 0.7386164665222168, 0.3295089304447174, 0.3007201850414276, 0.23140138387680054, 0.8906948566436768, 0.017731325700879097, 0.8202421069145203, 0.7344993948936462, -0.17642538249492645, 0.31757864356040955, 0.19847893714904785, 0.6787861585617065, -0.5181562304496765, -0.3440808951854706, -0.5889912247657776, -0.3458367884159088, -0.8841997385025024, -0.26961636543273926, 0.050441961735486984, -0.2449081689119339, -0.5651425123214722, -0.1442556381225586, -0.5606319904327393, 0.23300163447856903, 0.04666620492935181, -0.17587421834468842, 0.1123184859752655, -0.13488143682479858, 0.4717625081539154, -0.3010883033275604, -0.4070194363594055, -0.6677656173706055, 1.0264331102371216, 0.5272677540779114, 0.848209023475647, 0.19534717500209808, 0.48723357915878296, 0.22455091774463654, 0.4415833353996277, -0.7573207020759583, 0.7193372249603271, -0.24589233100414276, -0.7520206570625305, -0.32046976685523987, -0.38740092515945435, -0.5659350156784058, 0.3835987150669098, -0.1595660001039505, -0.5365532636642456, 0.27205899357795715, -0.0607842318713665, -0.10223225504159927, 0.6259957551956177, -0.10605748742818832, 0.7745265960693359, -0.5175016522407532, -0.27985143661499023, -0.0834871456027031, -0.7623950839042664, 0.2748783528804779, -0.0816350132226944, 0.4337075352668762, -0.5131705403327942, -0.5324278473854065, 0.6670167446136475, -0.18996649980545044, 0.9065386652946472, -0.2015342265367508, -0.45988965034484863, 0.10181377083063126, -0.07592365890741348, 0.45821526646614075, 0.07112231105566025, -0.6077459454536438, 0.1612263321876526, -0.13960975408554077, -0.2890033423900604, -0.1925170123577118, 1.0470426082611084, -0.7531476616859436, -1.0841370820999146, -0.6206719875335693, -0.6591885089874268, -0.045946937054395676, 0.07197216898202896, 0.39178261160850525, 0.12141737341880798, -0.14517183601856232, 0.3568305969238281, 0.5049930810928345, -0.2519068717956543, 0.33284956216812134, 0.4041074514389038, -0.715715765953064, -0.05993232876062393, 0.3828623592853546, 0.4437777101993561, 0.46045178174972534, 0.15802431106567383, 0.3762727379798889, -0.5417550802230835, -0.3476122319698334, -0.4504021108150482, 0.42249178886413574, -0.5719047784805298, -0.13365693390369415, -0.633630096912384, 0.020756781101226807, -0.2762588560581207, -0.148289754986763, -0.5681688785552979, -0.09915530681610107, -0.3720817565917969, 0.063003771007061, 0.2217375636100769, 0.8510702252388, 0.3121943771839142, 0.15034730732440948, -0.1184820830821991, 0.041418883949518204, 0.15821973979473114, 0.1205974593758583, -0.6078231930732727, -0.5907865762710571, 0.3255552649497986, 0.15969890356063843, -0.14564579725265503, -1.2118587493896484, 0.02269529365003109, -0.08184768259525299, 0.36051908135414124, 0.5206480622291565, 0.3399234116077423, 0.17748920619487762, -0.37836918234825134, 1.0383884906768799, 0.13917236030101776, -0.8304775357246399, 0.1838219165802002, -0.5503200888633728, -0.039961859583854675, 0.41601142287254333, 0.7041181921958923, -0.3850176930427551, -0.8177003264427185, -0.281342089176178, -0.5993615984916687, 0.25269752740859985, -0.06296051293611526, 0.5392544865608215, -0.017166979610919952, 0.3388808071613312, 0.28787410259246826, 0.5075981616973877, -0.6895115375518799, -0.2114027589559555, -0.1850244253873825, -0.26883500814437866, 0.17214761674404144, -0.28837940096855164, -0.41882485151290894, 0.06467696279287338, 0.5955379605293274, -0.22439895570278168, -0.13699917495250702, -0.015927284955978394, 0.611430823802948, -0.1493469476699829, 0.5873017311096191, 0.35897889733314514, 0.9261236190795898, -0.06735257059335709, 0.24298733472824097, -0.17391762137413025, -0.02919790707528591, 0.2285214513540268, -0.20106688141822815, -0.1355203092098236, 0.1338806003332138, 0.03903061896562576, 0.2662644684314728, -0.3217485547065735, -0.32041797041893005, 0.8342429399490356, 0.10759134590625763, 0.20612329244613647, -0.4164254665374756, -0.38338199257850647, 0.507671058177948, 0.3186582624912262, 0.31557294726371765, -0.4251430928707123, -0.10784817487001419, -1.007583737373352, -0.4248836934566498, 1.1596317291259766, -0.14111284911632538, -0.2771456241607666, 0.36080440878868103, 0.21329665184020996, -0.4385771155357361, 0.43647101521492004, 0.03385985270142555, -0.6316472291946411, 0.5119937658309937, 0.48617804050445557, 0.70600426197052, -0.26245784759521484, 0.3292037844657898, 0.03184598684310913, 0.29298967123031616, 0.2318570762872696, 0.3102525472640991, 0.5165521502494812, -0.661798357963562, -0.40373513102531433, -0.5626593828201294, -0.41022995114326477, 0.48486387729644775, -0.6997535824775696, 0.5207124352455139, -0.5171027779579163, -0.6547947525978088, -0.1710432916879654, -0.005675410386174917, -0.2128986418247223, -0.09158488363027573, 0.45479846000671387, 0.7147252559661865, -0.9516655206680298, 0.5962879657745361, 0.7338472008705139, 0.1733260154724121, -0.2337425798177719, 0.25880926847457886, 0.42517152428627014, -0.5293899178504944, 0.3231286406517029, 0.01785159669816494, -0.25399050116539, -0.5071308612823486, -0.6363841891288757, -0.5132303237915039, 0.6212462782859802, 0.7127134799957275, -0.8764827847480774, -0.24254049360752106, 0.3441535234451294, 0.2664971351623535, -0.5699086785316467, 0.15286560356616974, 0.21681344509124756, 0.5009793043136597, -0.43263837695121765, -0.6359257102012634, 0.2062886655330658, 0.14157190918922424, -0.02114473655819893, 0.40485450625419617, -1.0501494407653809, 1.0312378406524658, 0.2134086936712265, -0.24989773333072662, -0.09318673610687256, 0.5168789625167847, 0.12807758152484894, 0.2970336377620697, 0.6181873679161072, 0.06914698332548141, 0.724682092666626, 0.01681102067232132, 0.8847945332527161, -0.4449046552181244, 0.17899203300476074, 0.9266117811203003, -0.5531905293464661, 0.7324838042259216, 0.9512351155281067, 0.1443166434764862, 0.5008776783943176, 0.5680772066116333, 0.18399527668952942, 0.3510250747203827, 0.4167304039001465, -0.4419262409210205, -0.3944471776485443, -0.21310697495937347, -0.3181343078613281, 0.4306522011756897, 0.33913159370422363, -0.4764834940433502, -0.05094270035624504, -0.1400882750749588, 0.35338351130485535, 0.44513076543807983, -0.2522945702075958, 0.4416009485721588, 0.18438932299613953, -0.7312511801719666, 0.048530463129282, -0.09866836667060852, 0.6706738471984863, -0.5782442688941956, 0.19772641360759735, -0.1401834934949875, -0.050821494311094284, -0.49023333191871643, -1.3740228414535522, 0.29680612683296204, 0.12037324905395508, -0.3227218687534332, -0.1670854091644287, 0.40467527508735657, -0.40855684876441956, -0.3497907221317291, 0.47929397225379944, 0.577392578125, 0.017647933214902878, 0.050209980458021164, -0.7495076656341553, 0.5269401669502258, 0.11441894620656967, -0.4558369219303131, 0.388279527425766, 0.523422122001648, -0.026053860783576965, 0.4622085690498352, 0.5117449760437012, 0.10710073262453079, -0.13384832441806793, -0.10658614337444305, 0.844416618347168, -0.5257160067558289, -0.07378548383712769, -1.188820719718933, 0.4963291585445404, -0.13346600532531738, -0.47050797939300537, 0.8675239682197571, 0.7208155989646912, 0.5842395424842834, 0.2894345819950104, 0.7074864506721497, -0.08017151057720184, 0.3731359839439392, -0.41021499037742615, 0.8320777416229248, -0.45837724208831787, 0.2573949694633484, 0.10918878763914108, -0.7139574289321899, -0.0843253955245018, 0.41388577222824097, -0.7684143781661987, -0.08236534148454666, 0.11646066606044769, 0.8982234001159668, -0.1390618532896042, 0.12080007046461105, 0.18755745887756348, 0.3692723214626312, 0.34885290265083313, 0.1986311376094818, 1.244558334350586, 0.36092469096183777, 0.09912586957216263, -0.23418483138084412, -0.14267875254154205, -0.16561934351921082, -1.0563369989395142, -1.1879316568374634, -0.4484989047050476, -0.2646460235118866, -0.572460412979126, -0.12046723812818527, 1.083029866218567, 0.4540055990219116, -0.6040151119232178, -0.6000956892967224, 0.0657898336648941, 0.2180095911026001, 0.665341854095459, -0.2307884246110916, 0.052875492721796036, 0.06606531143188477, -0.7218981981277466, -0.06748349219560623, 0.25456252694129944, -0.4166233241558075, -0.6254071593284607, 0.11143361777067184, -0.4856622517108917, 0.5306704044342041, 0.4930068850517273, 0.18108591437339783, -1.2020232677459717, -0.4363488554954529, 0.11133124679327011, -0.3522302210330963, 0.05636324733495712, 0.8042560815811157, -0.27452483773231506, 0.3991760313510895, 0.6046565771102905, 0.4385537803173065, -0.11671434342861176, 0.23375225067138672, 0.69541996717453, -0.20044103264808655, 0.2264849841594696, 0.5617895126342773, 0.3057514429092407, 0.7108362317085266, -0.5037148594856262, 0.2843630909919739, -0.19113197922706604, -0.8945834040641785, -0.991393506526947, 0.4503481984138489, -0.7504917979240417, -0.02153831534087658, 1.4055616855621338, 0.0742410272359848, -0.23875996470451355, 0.051104284822940826, -0.18614141643047333, 0.10869604349136353, -0.39081037044525146, 0.31435880064964294, 0.6907276511192322, -0.2235260009765625, -0.037641752511262894, -0.7101296782493591, 0.32262682914733887, 0.47137320041656494, -0.3713628947734833, 0.2545338571071625, 0.33680233359336853, 0.47131651639938354, 0.08473134785890579, 0.6926414966583252, -0.16782936453819275, -0.29563653469085693, -0.6874674558639526, -0.2929583489894867, 0.5388964414596558, -0.019597286358475685, -0.5281729102134705, 0.19276437163352966, 0.09877172112464905, 0.006209849379956722 ]
http://arxiv.org/abs/2403.09997v1
http://arxiv.org/pdf/2403.09997v1
Identifying Health Risks from Family History: A Survey of Natural Language Processing Techniques
2024-03-15T03:43:07
2024-03-15T03:43:07
Xiang Dai, Sarvnaz Karimi, Nathan O'Callaghan
cs.CL
cs.CL
Electronic health records include information on patients' status and medical history, which could cover the history of diseases and disorders that could be hereditary. One important use of family history information is in precision health, where the goal is to keep the population healthy with preventative measures. Natural Language Processing (NLP) and machine learning techniques can assist with identifying information that could assist health professionals in identifying health risks before a condition is developed in their later years, saving lives and reducing healthcare costs. We survey the literature on the techniques from the NLP field that have been developed to utilise digital health records to identify risks of familial diseases. We highlight that rule-based methods are heavily investigated and are still actively used for family history extraction. Still, more recent efforts have been put into building neural models based on large-scale pre-trained language models. In addition to the areas where NLP has successfully been utilised, we also identify the areas where more research is needed to unlock the value of patients' records regarding data collection, task formulation and downstream applications.
[ -0.019639724865555763, -0.6757250428199768, 0.4991376996040344, -0.3726876676082611, 0.09740269184112549, -0.07458451390266418, 0.11369119584560394, -0.8865747451782227, 0.18131476640701294, 0.7278192043304443, -0.6668841242790222, -0.4924080967903137, -0.7832736968994141, -0.055307142436504364, -0.21847280859947205, 0.9193788766860962, -0.05057840049266815, 0.065523162484169, -0.03575942665338516, 0.1493760198354721, -0.10195193439722061, -0.9095266461372375, -0.864085853099823, -0.23128627240657806, 0.44204095005989075, 0.4390079379081726, 0.6517358422279358, 0.8181471824645996, 0.59056156873703, 0.07755478471517563, -0.2003028243780136, 0.07515289634466171, -0.13797731697559357, 0.37204664945602417, 0.10862463712692261, -0.3663123548030853, -0.4101804792881012, -0.09586258232593536, 0.2463151067495346, 0.9452322125434875, 0.08383474498987198, 0.4082784950733185, -0.1920347958803177, 1.0080113410949707, -0.5459102392196655, 0.11327391117811203, -0.2712952792644501, 0.700300931930542, -0.39577221870422363, -0.8299859762191772, -0.263069212436676, -0.5397328734397888, 0.4775265157222748, -0.22818537056446075, 0.3245887756347656, -0.0732896700501442, 1.0555908679962158, 0.37506207823753357, -0.46488243341445923, -0.5781394243240356, -1.157553791999817, 0.6197184920310974, -0.5757511854171753, 0.3895502984523773, 0.8462902307510376, 0.2434915155172348, -0.30582281947135925, -0.5698394775390625, 0.02511710487306118, -0.13121791183948517, -0.17504099011421204, -0.14859521389007568, -0.5090168118476868, 0.03193192183971405, 0.48993754386901855, 0.5918352007865906, -0.6507477760314941, 0.07684037834405899, -0.6115617752075195, -0.37235498428344727, 0.8117496371269226, 0.24089030921459198, 0.6640081405639648, -0.1892472803592682, -0.07361388206481934, 0.27591997385025024, -0.8120118379592896, 0.14505654573440552, 0.3068530559539795, 0.10086450725793839, -0.026425858959555626, 0.6747345924377441, -0.34071850776672363, 0.6450381875038147, 0.04042894393205643, -0.5043608546257019, 0.10174617916345596, -0.5366077423095703, 0.09125934541225433, 0.2149745225906372, 0.4781424105167389, 0.43506181240081787, 0.14837442338466644, -0.3952502906322479, 0.14732681214809418, -0.13338212668895721, 0.24700796604156494, -0.4970204830169678, -0.1563723385334015, 0.24301527440547943, -0.7310335040092468, -0.04205503314733505, -0.1917259693145752, -1.1737544536590576, -0.56913822889328, -0.2531810402870178, -0.120272696018219, -0.5891981720924377, -0.07741424441337585, 0.117617167532444, -0.2710895240306854, 0.3099270164966583, -0.0771123543381691, -0.9859405755996704, 0.6939151287078857, 0.8433612585067749, 0.7652789950370789, 0.017145996913313866, 0.2910838723182678, -0.48988309502601624, -0.013834393583238125, -0.11058666557073593, 0.44069477915763855, -0.14125511050224304, -0.41893231868743896, 0.21063940227031708, -0.16151462495326996, -0.08079131692647934, -0.7407121658325195, 0.6108846664428711, -0.22323492169380188, 0.14036598801612854, 0.0256663728505373, -0.5395888090133667, -0.11275668442249298, 0.0827312171459198, -0.9937795996665955, 0.6516843438148499, 0.1868550330400467, -0.854376494884491, 0.5270416736602783, -0.31616392731666565, -0.9743266701698303, 0.13986709713935852, 0.00015588998212479055, -0.8494469523429871, 0.02076776698231697, 0.14786384999752045, 0.6657824516296387, -0.27473142743110657, 0.21763338148593903, -0.05575433745980263, 0.0025552520528435707, -0.1232021301984787, -0.3298134505748749, 0.904977560043335, 0.3282261788845062, -0.40355926752090454, 0.03926043212413788, -0.7018133401870728, -0.2948734164237976, 0.1333262175321579, -0.2556504011154175, -0.42899489402770996, 0.30362623929977417, -0.14743320643901825, 0.43458884954452515, 0.010898876003921032, -0.23135922849178314, 0.055772460997104645, -0.45873498916625977, 0.3940694332122803, 0.05837664753198624, 0.5603336095809937, 0.2211708426475525, -0.7122055292129517, 0.6355151534080505, -0.23462672531604767, 0.5223333835601807, -0.0940188392996788, -1.017928957939148, -0.22115643322467804, 0.03384922817349434, 0.4520152807235718, 0.6497483253479004, -0.46687954664230347, 0.7861621379852295, -0.4270690679550171, -0.4184721112251282, -0.5377068519592285, 0.022044440731406212, 0.09215981513261795, 0.6678897142410278, 0.4109024703502655, -0.10046897828578949, -0.8070005774497986, -0.7300443649291992, -0.18665684759616852, -0.07108188420534134, 0.014764749445021152, 0.32303377985954285, 0.1762688159942627, -0.24678805470466614, 0.84324049949646, -0.7716559767723083, -0.20687104761600494, -0.20834161341190338, 0.2831391394138336, -0.24883008003234863, 0.41047194600105286, 0.5050642490386963, -1.0267090797424316, -0.30905571579933167, 0.22564156353473663, -0.6886017918586731, -0.015778347849845886, 0.07441417872905731, 0.07053232938051224, 0.3877429664134979, 0.2071446031332016, -0.36431965231895447, 0.7524530291557312, 0.637290894985199, -0.30006781220436096, 0.28818708658218384, -0.15972864627838135, 0.0057180155999958515, -0.8567208051681519, 0.12327062338590622, 0.2741888463497162, -0.21674305200576782, -1.0360842943191528, -0.03909381851553917, -0.1338871866464615, -0.07557835429906845, -0.20658844709396362, 0.4959525763988495, -0.32224810123443604, 0.19364546239376068, -0.006860906258225441, -0.5776494741439819, -0.1406293511390686, -0.09088956564664841, 0.12510830163955688, 0.13097938895225525, 0.30191394686698914, -0.5842620134353638, 0.22054587304592133, -0.142416313290596, -0.1031346395611763, 0.4853203296661377, -0.1539945900440216, 0.014179804362356663, 0.04542999714612961, -0.010280548594892025, -0.45079031586647034, -0.27205678820610046, 0.5075193047523499, -0.5835195183753967, 0.47882118821144104, -0.17457416653633118, -0.4827736020088196, -0.6108891367912292, -0.20008313655853271, -0.17891918122768402, 0.5152541399002075, -0.15164825320243835, 0.6327508091926575, 0.8661855459213257, -0.4705592095851898, -0.45476800203323364, -0.6270555853843689, 0.0707976445555687, -0.410830020904541, -0.6007805466651917, 0.4060615301132202, 0.18515028059482574, -0.30846020579338074, 0.22564521431922913, -0.354558527469635, -0.7485970258712769, 0.5813480019569397, 0.4674546718597412, 0.234609916806221, -0.1106342300772667, 0.2892312705516815, -0.001281634089536965, -0.2748085558414459, 0.21040396392345428, -0.04625679552555084, 0.5776534080505371, 0.202595517039299, 0.16216440498828888, -0.48449352383613586, 0.8062244057655334, 0.2795902192592621, -0.03447526693344116, 0.7650850415229797, 0.16427801549434662, -0.9744607210159302, 0.17343448102474213, -0.6201725006103516, -0.11962220072746277, -0.34608784317970276, -0.1419253796339035, 0.2647567391395569, -0.8315553665161133, 0.3536389470100403, -0.1248600035905838, -0.0104602612555027, 0.5829842686653137, 0.3218057155609131, -0.307508647441864, 0.6148386597633362, 0.5149005651473999, -0.23128730058670044, 0.1959093064069748, -0.09479513019323349, 0.2765801250934601, -0.28385084867477417, -0.015557197853922844, -0.737211287021637, 0.0212562158703804, -0.8102074861526489, -0.07429318875074387, 0.41902002692222595, -0.22570547461509705, 0.18713319301605225, 0.19721755385398865, -0.3567168712615967, -0.08326561003923416, 0.7047781348228455, 0.35396140813827515, 0.6120131611824036, -0.31472131609916687, 0.23878535628318787, 0.01154263038188219, -0.5129047632217407, -0.5471715927124023, 1.1281801462173462, 0.3942810595035553, 0.4313325583934784, -0.1352170705795288, 1.0087178945541382, 0.3133789300918579, 0.34953972697257996, -0.8182274699211121, 0.09964243322610855, -0.2864078879356384, -0.9061155319213867, -0.3254093527793884, -0.5887240767478943, -1.35419762134552, -0.5188814997673035, -0.51423180103302, -0.6470131278038025, -0.035193897783756256, 0.3338524103164673, -0.7805772423744202, 0.2344800978899002, -0.5849080085754395, 0.6370678544044495, -0.5178408026695251, -0.06601814925670624, 0.22933965921401978, -1.0060081481933594, 0.3740070164203644, -0.09595755487680435, 0.18695227801799774, -0.05465029925107956, 0.3291723430156708, 0.6881460547447205, -0.1585722714662552, 0.6648242473602295, 0.20306234061717987, 0.2589864432811737, 0.006729339715093374, -0.21622411906719208, 0.08757185190916061, -0.15504774451255798, -0.049745455384254456, 0.3829241096973419, 0.30589303374290466, -0.22647912800312042, -0.28611835837364197, 0.5951581597328186, -0.3796711266040802, -0.49100250005722046, -0.6039077639579773, -0.19812586903572083, -0.13440224528312683, 0.28886374831199646, 0.23655995726585388, 0.260833203792572, -0.12303875386714935, 0.179737851023674, 0.41268831491470337, -0.07932684570550919, 0.43907198309898376, 0.21209073066711426, 0.1428523063659668, -0.10907667875289917, 0.7475259304046631, 0.5262022018432617, 0.08138347417116165, 0.5500952005386353, 0.8059377074241638, 0.041142549365758896, -0.6758872270584106, -0.09947684407234192, 0.08955530822277069, -0.5456182360649109, 0.0348193384706974, -0.5221421122550964, -0.41373229026794434, -0.435075044631958, -0.02635289542376995, 0.036684874445199966, -0.20452511310577393, -0.40380388498306274, -0.34395402669906616, 0.4117060899734497, 0.653461217880249, -0.009877296164631844, -0.13905251026153564, -1.0614219903945923, 0.6224137544631958, 0.28857696056365967, 0.3770846724510193, -0.1289394646883011, 0.2953251302242279, -0.007958764210343361, -0.1566111296415329, -0.12158774584531784, -1.080788016319275, 0.7627341151237488, -0.018307192251086235, 0.7455127835273743, 0.3787870407104492, 0.23146149516105652, 0.4923298954963684, -0.7003557682037354, 0.6863129734992981, -0.05029425770044327, -0.7008202075958252, 0.6378187537193298, -0.15767337381839752, -0.17990462481975555, 0.8083789348602295, 1.1347644329071045, -0.9135996103286743, 0.30516019463539124, -0.9385406374931335, -0.9305407404899597, 0.19680753350257874, 0.04869893193244934, -0.3576546013355255, 0.044908035546541214, 0.459221214056015, 0.18276461958885193, 0.1315881758928299, -0.22996430099010468, -0.5155946016311646, 0.12663884460926056, -0.34091442823410034, 0.17551307380199432, -0.1383725106716156, -0.17875221371650696, -0.281202495098114, 0.3791668117046356, 0.008598214946687222, 0.10951821506023407, 0.4022384285926819, -0.013012486509978771, -0.286348432302475, 0.28444573283195496, 0.5748752355575562, 0.35286396741867065, -0.441816121339798, 0.2345009446144104, -0.25393280386924744, -0.6036434173583984, 0.010862679220736027, 0.3788970410823822, -0.39309772849082947, 0.04595756158232689, 0.48454147577285767, 0.49137720465660095, 0.45563995838165283, -0.6573757529258728, 0.5148912072181702, -0.06241060420870781, -0.21407043933868408, -0.6584481000900269, 0.045164190232753754, 0.12684404850006104, -0.301344633102417, 0.226883664727211, -0.011339991353452206, 0.4146715998649597, -0.6967101097106934, 0.6376696825027466, 0.3200714886188507, -0.4700082838535309, -0.22413432598114014, 0.43322619795799255, 0.15027084946632385, -0.6570706367492676, 0.4897313714027405, 0.22952553629875183, -0.11517758667469025, 0.5166950225830078, 0.22904597222805023, 0.6462917923927307, -0.3916302025318146, 0.007059368770569563, 0.1937844604253769, 0.30491819977760315, -0.03540818765759468, 0.2015955001115799, 0.18469958007335663, -0.4921269714832306, -0.436043918132782, -0.317659854888916, -0.5955519676208496, 0.3537319004535675, -0.8768506646156311, 0.19910918176174164, -0.3142240345478058, -0.29986244440078735, 0.4539671838283539, -0.01080492977052927, -0.7895544171333313, 0.2531576156616211, 0.587268590927124, 0.5847839117050171, -0.9368808269500732, 0.5443493723869324, 0.23183679580688477, -0.1630920022726059, -0.5781757235527039, 0.30953386425971985, 0.5237558484077454, -0.2778717279434204, 0.5184047818183899, 0.18438993394374847, 0.02118297666311264, -0.2563401162624359, -0.3073878288269043, -0.8127467036247253, 0.6737852692604065, 0.048150427639484406, -0.34898632764816284, -0.3642951250076294, 0.1463373601436615, 0.5994305610656738, -0.06822852790355682, -0.06514130532741547, 0.827037513256073, 0.4852866232395172, -0.16105970740318298, -0.9174339175224304, 0.003929189406335354, -0.16188810765743256, -0.32664772868156433, 0.38626986742019653, 0.07021745294332504, 0.46537962555885315, -0.11329077929258347, -0.5081116557121277, -0.13374872505664825, 0.13116958737373352, -0.059384241700172424, 0.6485685706138611, 0.2943270802497864, 0.3995596468448639, 0.9681851863861084, -0.2409023642539978, 1.6115933656692505, -0.1467348039150238, 0.1432369500398636, 0.899120032787323, -0.42283082008361816, 0.7100126147270203, 0.27302122116088867, -0.24792592227458954, 0.14842438697814941, 0.6065234541893005, 0.37135082483291626, 0.31322017312049866, 0.2914946973323822, -0.3094347417354584, 0.1403525173664093, 0.03796890005469322, -0.10057425498962402, 0.3068576455116272, 0.8625800013542175, -0.6930243372917175, -0.08560946583747864, -0.058195196092128754, 0.32752346992492676, 0.049381520599126816, -0.3120298981666565, 0.841995358467102, 0.05446023494005203, -0.6314698457717896, 0.2207065373659134, -0.16022342443466187, 0.753538191318512, -0.6265966892242432, -0.3751862049102783, 0.47299569845199585, -0.2689753472805023, -0.40554749965667725, -0.6112877726554871, 0.7872064709663391, -0.20135991275310516, -0.35000327229499817, -0.17704568803310394, 0.9430772066116333, -0.2211732268333435, -0.4088696539402008, 0.25691187381744385, 0.47069188952445984, -0.09084432572126389, 0.02419164404273033, -0.3799857199192047, -0.38721609115600586, -0.14850226044654846, -0.1331295371055603, 0.08797983080148697, 0.054983362555503845, -0.31077730655670166, 0.4518512189388275, 0.8406306505203247, 0.6419499516487122, 0.3512764275074005, -0.24533767998218536, 0.34313249588012695, -0.9106650948524475, -0.16404038667678833, -0.8668972253799438, 0.19386497139930725, -0.2837373912334442, -0.4623839557170868, 0.5851609110832214, 0.19366273283958435, 0.6008851528167725, -0.1046476662158966, 0.7635261416435242, 0.20189709961414337, 0.8678648471832275, -0.6011991500854492, 0.6643229722976685, -0.13480804860591888, -0.3337845802307129, -0.15733112394809723, -0.01974443532526493, -0.947514533996582, 0.5013276934623718, -0.4754256308078766, -0.40055233240127563, 0.7534926533699036, 0.27361035346984863, 0.5245172381401062, 0.22735083103179932, 0.143824964761734, -0.12445449829101562, 0.4103553891181946, 0.3954984247684479, 0.35488802194595337, -0.29193204641342163, 0.01821277290582657, -0.8370612263679504, -0.12432752549648285, -0.5874797701835632, -1.021048903465271, -0.36358314752578735, -0.5854766964912415, -0.4788035452365875, -0.1337069869041443, 0.246417835354805, 1.0404726266860962, 0.6837193369865417, -0.747337281703949, 0.2682415246963501, 0.08128727972507477, 0.17453865706920624, -0.8354973196983337, -0.23909203708171844, 0.42477092146873474, 0.2992885410785675, -0.38009998202323914, 0.4252396523952484, 0.32413747906684875, 0.015041280537843704, 0.14980080723762512, 0.3372129797935486, -0.28269368410110474, -0.38715216517448425, 0.41665467619895935, 0.8927136063575745, -0.6189193725585938, -0.2582773268222809, -0.0694236159324646, -0.20708289742469788, 0.27815890312194824, 0.7957645058631897, -0.3775472939014435, 0.4851207137107849, 0.6394707560539246, 0.7221813797950745, 0.22787313163280487, -0.024027206003665924, 0.5968254804611206, -0.5262248516082764, -0.29296937584877014, 0.6993759274482727, 0.565215528011322, 0.28515225648880005, -1.0323846340179443, 0.60897296667099, 0.15389735996723175, -0.381527304649353, -0.42224326729774475, -0.02765616588294506, -1.0378049612045288, -0.1384509801864624, 1.1510218381881714, 0.02555336058139801, -0.3731205463409424, -0.9062952995300293, -0.1778072714805603, 0.42271357774734497, -0.11680959910154343, 0.6244623064994812, 0.5603126883506775, -0.5933950543403625, -0.04291470721364021, -1.0850805044174194, 0.6200630068778992, -0.0817623883485794, -1.1333093643188477, -0.1199285164475441, 0.246913880109787, 0.22385770082473755, 0.42464369535446167, 0.6557400226593018, -0.3852626085281372, 0.41077303886413574, -0.3270823359489441, 0.1302793323993683, 0.14774306118488312, -0.36770808696746826, -0.42909714579582214, 0.36860156059265137, -0.04654155671596527, 0.05035141110420227 ]
http://arxiv.org/abs/2403.09974v1
http://arxiv.org/pdf/2403.09974v1
GET: Unlocking the Multi-modal Potential of CLIP for Generalized Category Discovery
2024-03-15T02:40:13
2024-03-15T02:40:13
Enguang Wang, Zhimao Peng, Zhengyuan Xie, Xialei Liu, Ming-Ming Cheng
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Given unlabelled datasets containing both old and new categories, generalized category discovery (GCD) aims to accurately discover new classes while correctly classifying old classes, leveraging the class concepts learned from labeled samples. Current GCD methods only use a single visual modality of information, resulting in poor classification of visually similar classes. Though certain classes are visually confused, their text information might be distinct, motivating us to introduce text information into the GCD task. However, the lack of class names for unlabelled data makes it impractical to utilize text information. To tackle this challenging problem, in this paper, we propose a Text Embedding Synthesizer (TES) to generate pseudo text embeddings for unlabelled samples. Specifically, our TES leverages the property that CLIP can generate aligned vision-language features, converting visual embeddings into tokens of the CLIP's text encoder to generate pseudo text embeddings. Besides, we employ a dual-branch framework, through the joint learning and instance consistency of different modality branches, visual and semantic information mutually enhance each other, promoting the interaction and fusion of visual and text embedding space. Our method unlocks the multi-modal potentials of CLIP and outperforms the baseline methods by a large margin on all GCD benchmarks, achieving new state-of-the-art. The code will be released at \url{https://github.com/enguangW/GET}.
[ -0.5321412086486816, -0.8069019913673401, 0.7609838247299194, -0.23121079802513123, -0.6972074508666992, 0.5620167851448059, -0.30828404426574707, -0.17990906536579132, 0.5834899544715881, -0.06371086090803146, -0.5491944551467896, -0.6564918756484985, -0.3601914942264557, 0.09832502156496048, -0.3315369784832001, 0.8803445100784302, -0.06587745994329453, -0.13090503215789795, -0.23063279688358307, -0.06195840612053871, -0.4790564179420471, -0.8298851251602173, 0.17377117276191711, 0.37577924132347107, 0.1638331413269043, 0.3109607994556427, 0.5716816782951355, 0.417005330324173, 0.04133155196905136, 0.2842094600200653, 0.09525701403617859, 0.3987227976322174, -0.24012798070907593, -0.03454926982522011, -0.11251690983772278, -0.21070197224617004, -0.23730890452861786, -0.03642701357603073, 0.6780214309692383, 0.04479824751615524, -0.12945474684238434, -0.08156964927911758, 0.15147367119789124, 0.006822382565587759, -0.83673095703125, 0.09435738623142242, -0.8510271310806274, 0.08248095214366913, -0.4226023256778717, -0.5391626954078674, -0.3128001391887665, -0.2085980474948883, 0.19965243339538574, -0.8985640406608582, 0.5686704516410828, -0.03048102557659149, 0.9278276562690735, -0.03771044686436653, -0.4821123778820038, -0.3493560254573822, -0.4609799385070801, 0.9796956181526184, 0.014401894062757492, 0.6324541568756104, 0.37147456407546997, 0.28913193941116333, 0.2375272661447525, -0.9302951693534851, -0.47393545508384705, 0.1261436492204666, 0.26517295837402344, 0.1408524215221405, -0.0702018067240715, 0.062944695353508, -0.0606398768723011, 0.6404728889465332, -0.3186658024787903, -0.508819580078125, -0.18639373779296875, -0.4455849528312683, 0.20763738453388214, 0.04143024981021881, 0.7831417322158813, -0.33491086959838867, -0.5620943307876587, -0.4795190989971161, -0.45896589756011963, 0.21353231370449066, 0.3389279842376709, 0.13491792976856232, -0.12660285830497742, 0.6659608483314514, 0.33466726541519165, 0.5602580904960632, 0.09314161539077759, -0.2911672592163086, 0.4893115758895874, -0.8476393818855286, -0.1868351697921753, -0.0010046085808426142, 0.816520094871521, 0.4490162134170532, -0.024725450202822685, -0.19245219230651855, -0.036560866981744766, 0.19565658271312714, 0.5126915574073792, -0.8200377225875854, -0.35078632831573486, -0.2421308159828186, -0.4061528146266937, -0.2510555684566498, 0.43798360228538513, -1.0971009731292725, 0.09121787548065186, -0.1728227138519287, 0.7340564727783203, -0.5993415117263794, -0.19328057765960693, 0.16340699791908264, -0.4702654778957367, -0.1990737020969391, 0.29530587792396545, -0.9052528142929077, -0.12620997428894043, 0.18916594982147217, 1.062058687210083, -0.17225044965744019, -0.1453159749507904, -0.3863639533519745, 0.45694541931152344, -0.17968536913394928, 0.6706535816192627, -1.0008186101913452, -0.6464336514472961, 0.21578852832317352, 0.18694327771663666, -0.1210746169090271, -0.32153043150901794, 0.5076839327812195, -0.2326725274324417, 0.21460655331611633, -0.3668224811553955, -0.3040042817592621, -0.2335387021303177, 0.1400233805179596, -0.6387285590171814, 0.9888518452644348, 0.049918320029973984, -0.7822569608688354, 0.5301007628440857, -0.2594398558139801, -0.1855379343032837, -0.13684941828250885, -0.5388580560684204, -0.6003820896148682, 0.276153028011322, 0.566372811794281, 0.2577100992202759, -0.3967210352420807, 0.5137661099433899, -0.3266196548938751, -0.24325202405452728, 0.26967525482177734, -0.4568014144897461, 0.2348015308380127, -0.10198953747749329, -0.1895321011543274, 0.29700204730033875, -0.5872675776481628, 0.3179317116737366, -0.10626465827226639, -0.0758109912276268, -0.6258352994918823, 0.14021745324134827, 0.14000189304351807, 0.14394323527812958, -0.14415307343006134, -0.605122983455658, 0.48620128631591797, -0.007448070216923952, 0.5569136142730713, 0.7586895227432251, 0.24503536522388458, 0.4014124274253845, -0.1465936154127121, 0.6808294653892517, -0.1402066946029663, 0.16990092396736145, -0.3398255705833435, -0.44276878237724304, -0.38462164998054504, -0.8309175968170166, 0.3726750612258911, 0.37772876024246216, -1.3149257898330688, 0.5036805272102356, -0.08803720027208328, -0.11408182978630066, -0.46627554297447205, 0.10674537718296051, 0.3163689076900482, 0.2249743491411209, 0.7090442180633545, -0.5691633820533752, -0.5404171347618103, -0.8863972425460815, 0.03693176060914993, 0.051163479685783386, -0.40611761808395386, 0.1913917362689972, 0.23454336822032928, -0.3441084921360016, 1.1065653562545776, -0.6954178810119629, -0.7518252730369568, -0.3842482566833496, 0.13600675761699677, -0.1895240843296051, 0.27755147218704224, 0.5699162483215332, -0.9057600498199463, -0.3519187271595001, -0.20451661944389343, -0.6595873832702637, -0.002004595473408699, -0.13331365585327148, -0.2435610592365265, -0.1904342919588089, 0.4646790623664856, -0.05142788216471672, 0.5798341035842896, 0.5053812861442566, -0.23880763351917267, 0.3310847878456116, -0.22971034049987793, 0.22749997675418854, -0.9977875351905823, -0.02322041243314743, -0.07711927592754364, -0.037363044917583466, -0.5041336417198181, -0.31445592641830444, 0.3611550033092499, -0.19133566319942474, -0.3848119378089905, 0.13821488618850708, -0.7985234260559082, 0.26600000262260437, 0.06523706018924713, -0.14035286009311676, 0.03862534463405609, 0.7329930663108826, 0.18286862969398499, 1.0457345247268677, 0.7569523453712463, -0.5455510020256042, 0.03534745052456856, 0.3567960262298584, -0.42349207401275635, 0.37722957134246826, -0.527812659740448, 0.13731326162815094, 0.012924173846840858, 0.22661744058132172, -0.7199556827545166, -0.3125658333301544, 0.34701693058013916, -0.1851319819688797, 0.4242918789386749, -0.23902736604213715, -0.42020779848098755, -0.3125309348106384, -0.8660157322883606, 0.8867644667625427, 0.24096551537513733, -0.6755263805389404, 0.6400969624519348, 0.786704421043396, 0.1472976803779602, -0.32991865277290344, -0.586646556854248, 0.020843958482146263, -0.007694837171584368, -0.4463035464286804, 0.7307397723197937, -0.21182510256767273, 0.5930469632148743, 0.04885689169168472, -0.1788434088230133, -0.12849467992782593, -0.3562808930873871, 0.18926657736301422, 0.4718776345252991, 0.07300775498151779, 0.3832387924194336, 0.47958865761756897, -0.09271713346242905, -0.22165493667125702, -0.25484880805015564, 0.6243645548820496, -0.12533441185951233, -0.5003343820571899, -0.2332686185836792, 0.43545863032341003, 0.43917974829673767, -0.42625436186790466, 0.3189379572868347, 0.5575006604194641, -0.2686854600906372, -0.3390562832355499, -0.2499668449163437, -0.04179208353161812, -0.5170480012893677, 0.47241395711898804, -0.414524108171463, -1.0105429887771606, 0.16398151218891144, -0.1257653832435608, -0.42600682377815247, 0.22511470317840576, 0.6010384559631348, 0.5714478492736816, 0.9409069418907166, 0.9437757134437561, 0.25091108679771423, 0.6289099454879761, -0.4345894753932953, 0.3343029320240021, -0.9313222765922546, -0.6045516729354858, -0.13832898437976837, -0.21228039264678955, -0.2740301787853241, -0.9627031087875366, 0.9261044859886169, 0.385665625333786, 0.4580548405647278, 0.22968998551368713, -1.0159786939620972, 0.6517007350921631, 0.594886064529419, 0.24643605947494507, 0.3152950704097748, 0.24123863875865936, -0.46187493205070496, -0.37659740447998047, -0.5001567006111145, -0.3067323863506317, 1.1776543855667114, 0.15739977359771729, 0.9577605724334717, 0.12184848636388779, 0.6939963102340698, 0.24772758781909943, 0.006708468776196241, -0.853455662727356, 0.4315575957298279, -0.09853366762399673, -0.3419434726238251, 0.007430610712617636, -0.20179471373558044, -0.5098845958709717, 0.3432822823524475, -0.4368247985839844, -0.7434791326522827, 0.530058741569519, 0.2361113578081131, 0.03731079399585724, 0.6046305298805237, -0.6808132529258728, 0.7724437117576599, -0.24556931853294373, -0.3098803460597992, -0.000656594755128026, -0.5339788198471069, 0.379972368478775, -0.19307078421115875, 0.012213609181344509, 0.13311214745044708, -0.18466293811798096, 0.5889331102371216, -0.3170361816883087, 0.8424281477928162, 0.026194246485829353, -0.0011671427637338638, 0.6264485120773315, -0.045659154653549194, 0.11891257017850876, 0.34268659353256226, 0.4381973147392273, 0.11027741432189941, -0.06687799841165543, 0.08460915833711624, -0.4496883451938629, 0.5293587446212769, -0.4893472492694855, -0.29046785831451416, -0.48420435190200806, -0.31086644530296326, -0.30622974038124084, 0.1648796945810318, 0.6709175705909729, 0.9306857585906982, -0.4292994439601898, 0.27069157361984253, 0.5165275931358337, -0.39701610803604126, 0.5516409873962402, 0.08299992233514786, -0.2611951231956482, -1.0052728652954102, 1.3911664485931396, -0.08961281925439835, 0.28046584129333496, 0.5661362409591675, 0.06886577606201172, -0.5233777165412903, -0.20519526302814484, -0.8979899287223816, 0.04013344272971153, -0.4338306486606598, -0.5691848397254944, -0.7377015352249146, -0.0034062680788338184, -0.15271052718162537, -0.3544447124004364, -0.2883911728858948, -0.25275084376335144, -0.322754442691803, -0.05476059392094612, 0.16003847122192383, 0.6139149069786072, -0.2397504299879074, -0.130039244890213, -0.9265740513801575, 0.7420417666435242, 0.6157181262969971, 0.31106454133987427, 0.08285947144031525, -0.07031606137752533, -0.15987655520439148, -0.02579820528626442, -0.6510328054428101, -1.1114894151687622, 0.4149249792098999, 0.43767037987709045, 0.4577862620353699, 0.5191478729248047, 0.188205748796463, 0.6059985756874084, -0.5956703424453735, 0.9052069187164307, 0.6879609823226929, -1.3893423080444336, 0.42955833673477173, -0.1298723667860031, 0.13430249691009521, 0.5022707581520081, 0.37103205919265747, -0.43675264716148376, -0.5105072855949402, -0.44538938999176025, -0.9405673146247864, 0.75856614112854, 0.16477487981319427, -0.05392889678478241, -0.27637311816215515, -0.342764675617218, 0.3181821405887604, 0.42482617497444153, -0.5421164631843567, -0.19254277646541595, -0.7065684795379639, -0.2301878184080124, 0.08373938500881195, -0.5298115611076355, -0.10341110825538635, -0.3760485351085663, 0.3051678538322449, -0.3792494535446167, 0.6031212210655212, 0.5908883213996887, -0.10994451493024826, -0.03750518336892128, 0.5294831395149231, 0.5738000273704529, 0.48958948254585266, -0.1938057690858841, 0.4554867744445801, -0.03165913745760918, -0.8526679873466492, 0.33056923747062683, -0.09117890894412994, -0.22974903881549835, 0.2929439842700958, 0.11352839320898056, 0.7820332050323486, 0.38018468022346497, -0.7037513852119446, 0.8662586808204651, -0.14310885965824127, -0.3355640769004822, 0.038780637085437775, -0.09175708889961243, -0.29802411794662476, -0.08554671704769135, 0.6079341173171997, 0.0217613335698843, 0.25174397230148315, -0.8026522397994995, 0.3691406846046448, 0.5271472930908203, -0.27593928575515747, -0.7023504972457886, 0.7434048056602478, 0.1470504254102707, -0.04067467525601387, 0.21844381093978882, -0.25842443108558655, -0.954495906829834, 0.17007611691951752, 0.6943193674087524, 1.1351888179779053, -0.09002626687288284, 0.592835545539856, 0.33324506878852844, 0.07556524127721786, -0.08451329171657562, 0.08254527300596237, -0.35046085715293884, -0.4514685273170471, -0.1912880688905716, -0.5597150921821594, -0.42628392577171326, -0.03843154013156891, -0.7102778553962708, 0.39028578996658325, -0.4054878056049347, -0.21892210841178894, -0.41314953565597534, -0.5622739791870117, -0.4179321527481079, -0.09224870800971985, -0.053725000470876694, 0.3841169774532318, -0.7623587250709534, 0.9905404448509216, 0.6945502758026123, -0.2605321705341339, -0.6276397705078125, 0.2421075701713562, 0.17272523045539856, -0.4807872176170349, 0.2503124475479126, 0.3458540737628937, -0.23920077085494995, -0.2866981029510498, -0.41444045305252075, -0.8161344528198242, 0.9465020298957825, 0.23125559091567993, -0.40772294998168945, -0.20569707453250885, -0.012117170728743076, 0.3750983774662018, -0.2702641189098358, 0.27791842818260193, 0.013832459226250648, 0.321211040019989, 0.21920959651470184, -0.8689454197883606, 0.05055000260472298, -0.3398153483867645, 0.11554671823978424, 0.534150242805481, -0.3524322509765625, 0.9624798893928528, -0.1940649151802063, -0.7286880016326904, 0.005725073162466288, 0.5312078595161438, 0.07270180433988571, 0.40578389167785645, 0.4287528991699219, 0.5289558172225952, 0.6671823263168335, -0.11069703102111816, 0.9402320981025696, -0.01114724949002266, 0.5442937612533569, 0.7552582025527954, 0.06197163462638855, 0.48907315731048584, 0.49072664976119995, -0.06058761104941368, 0.4861767292022705, 0.14839138090610504, -0.19553060829639435, 1.1434762477874756, 0.042494650930166245, -0.39461749792099, -0.45619142055511475, -0.19775424897670746, -0.6665871739387512, 0.23875750601291656, 0.33514198660850525, -0.39821481704711914, -0.24986372888088226, 0.28807252645492554, -0.2246752232313156, 0.004871513228863478, -0.17042121291160583, 0.5548562407493591, -0.11927490681409836, -0.320468544960022, 0.6588273644447327, 0.024832604452967644, 0.9095709919929504, -0.7684109210968018, -0.2962195575237274, 0.3384687304496765, 0.10238172113895416, 0.07855101674795151, -0.7856015563011169, 0.1456347554922104, -0.10394122451543808, -0.3282632529735565, -0.3260350823402405, 0.5933241248130798, -0.8290488719940186, -0.4178314805030823, 0.29867875576019287, 0.33935147523880005, -0.29113051295280457, 0.011315242387354374, -0.22599302232265472, 0.3984057307243347, 0.3202133774757385, 0.18449561297893524, 0.4253115653991699, 0.6386044025421143, -0.08091731369495392, 0.38542619347572327, 0.6468682885169983, -0.22394251823425293, 0.11782217025756836, -0.09173572808504105, 1.1328524351119995, -0.6844229102134705, -0.5879291892051697, -0.5720645785331726, 0.2702428102493286, 0.011972333304584026, -0.4957221448421478, 0.5780050754547119, 0.7170687913894653, 0.9008260369300842, -0.5240685343742371, 0.6413362622261047, -0.2422955185174942, 0.41419026255607605, -0.954969048500061, 0.41486361622810364, -0.7719566822052002, -0.03570694848895073, -0.6134955286979675, -0.8085270524024963, -0.2580671012401581, 0.44550666213035583, 0.12652358412742615, -0.22963547706604004, 1.088151216506958, 0.6522254347801208, -0.3713931441307068, 0.10762748122215271, 0.22480884194374084, -0.2607770562171936, 0.5238495469093323, 0.656834065914154, 0.7586054801940918, -0.2692997455596924, 0.8194000720977783, -0.3446865677833557, -0.1854078471660614, 0.014429192990064621, -0.7559426426887512, -1.075993299484253, -0.9238922595977783, -0.11246135085821152, 0.014699379913508892, -0.05090488865971565, 0.6786805391311646, 0.5324857831001282, -0.6459171175956726, 0.06013298034667969, -0.08575458079576492, 0.09864909201860428, 0.07635930180549622, -0.28715237975120544, 0.6681333780288696, -0.19309578835964203, -0.9142906665802002, 0.563107967376709, 0.46879416704177856, 0.14908596873283386, 0.1215595006942749, 0.07419052720069885, -0.10065560787916183, -0.24959653615951538, 0.5474310517311096, 0.3391304016113281, -0.677895724773407, -0.5269615650177002, 0.06108256056904793, 0.13637115061283112, 0.10543844103813171, 1.268657922744751, -0.9603634476661682, 0.6987884044647217, 0.42209431529045105, 0.6946613788604736, 0.3332802653312683, 0.16440753638744354, 0.6084908246994019, -0.9951981902122498, 0.23389144241809845, 0.08041112869977951, 0.3491879403591156, 0.10982279479503632, -0.053400132805109024, 0.35914310812950134, 0.5281151533126831, -0.3003619909286499, -0.8339456915855408, 0.2409919798374176, -1.332628846168518, -0.2963797450065613, 0.9181179404258728, 0.3369608223438263, -0.08149581402540207, -0.13520662486553192, -0.6246863007545471, 0.13687117397785187, -0.6560428142547607, 0.5692489147186279, 0.3635178804397583, 0.15827380120754242, 0.027951352298259735, -0.10631822794675827, 0.7292091250419617, 0.24118374288082123, -0.5837835669517517, -0.2185516357421875, 0.6588314175605774, 0.053380414843559265, 0.3214985132217407, 0.5207270383834839, -0.2556997239589691, 0.14214132726192474, -0.17480310797691345, 0.08025413006544113, -0.3338102102279663, -0.8052835464477539, 0.013627982698380947, 0.37734222412109375, -0.5412179827690125, -0.6059587597846985 ]
http://arxiv.org/abs/2403.09972v2
http://arxiv.org/pdf/2403.09972v2
Think Twice Before Trusting: Self-Detection for Large Language Models through Comprehensive Answer Reflection
2024-03-15T02:38:26
2024-06-04T05:42:12
Moxin Li, Wenjie Wang, Fuli Feng, Fengbin Zhu, Qifan Wang, Tat-Seng Chua
cs.CL
cs.CL
Self-detection for Large Language Model (LLM) seeks to evaluate the LLM output trustability by leveraging LLM's own capabilities, alleviating the output hallucination issue. However, existing self-detection approaches only retrospectively evaluate answers generated by LLM, typically leading to the over-trust in incorrectly generated answers. To tackle this limitation, we propose a novel self-detection paradigm that considers the comprehensive answer space beyond LLM-generated answers. It thoroughly compares the trustability of multiple candidate answers to mitigate the over-trust in LLM-generated incorrect answers. Building upon this paradigm, we introduce a two-step framework, which firstly instructs LLM to reflect and provide justifications for each candidate answer, and then aggregates the justifications for comprehensive target answer evaluation. This framework can be seamlessly integrated with existing approaches for superior self-detection. Extensive experiments on six datasets spanning three tasks demonstrate the effectiveness of the proposed framework.
[ -0.3769284188747406, -0.7034159302711487, 1.0741934776306152, 0.37950780987739563, -0.01934388093650341, 0.09591042250394821, 0.05401923507452011, -0.43405333161354065, 0.04351670667529106, 0.70643550157547, -0.50489342212677, -0.08159273862838745, -0.5464057326316833, 0.014690657146275043, -0.5468778610229492, 0.7850272059440613, -0.008354371413588524, -0.08044259250164032, -0.4553995430469513, -0.04978954792022705, -0.2931162118911743, -0.4151374399662018, -0.7211466431617737, -0.5238860249519348, 0.30727702379226685, 0.40059414505958557, 0.605004072189331, 0.461616575717926, 0.20244275033473969, 0.26045355200767517, 0.41010287404060364, 0.2922168970108032, -0.3230845034122467, 0.1257423609495163, -0.26032212376594543, -0.3580281436443329, -0.5041930675506592, 0.10232117772102356, 0.5351540446281433, 0.02827969379723072, -0.20105098187923431, 0.7232504487037659, 0.13511283695697784, 0.3723733425140381, -0.6778271198272705, -0.04248405992984772, -0.752918004989624, -0.06767579913139343, -0.06594009697437286, -0.34628868103027344, -0.6125202178955078, -0.3101454973220825, -0.1030336543917656, -0.30328038334846497, 0.17339089512825012, -0.06198696792125702, 0.150837704539299, 0.41729986667633057, -0.4077419638633728, -0.12134037911891937, -0.6135601997375488, 0.7041289210319519, -0.7114084959030151, 0.2492666393518448, 0.27326497435569763, 0.3563571274280548, 0.012391501106321812, -0.6008477807044983, -0.8226882815361023, -0.06468033790588379, -0.06407485157251358, 0.13953760266304016, -0.15850730240345, -0.23289501667022705, 0.07504402846097946, 0.03657228872179985, -0.8892083168029785, -0.10363826900720596, 0.19490967690944672, -0.48843613266944885, 0.6358069777488708, 0.08258634060621262, 0.022855598479509354, -0.004853272344917059, -0.5899049043655396, -0.16403762996196747, -0.5590515732765198, -0.24084070324897766, 0.21916446089744568, 0.11814114451408386, 0.3538581430912018, 0.3576034903526306, -0.2082056850194931, 0.39818477630615234, 0.2787033021450043, 0.00871719978749752, 0.11155831068754196, -0.37134280800819397, -0.30696743726730347, 0.1683979332447052, 1.0033247470855713, 0.16634219884872437, 0.4813987910747528, -0.08410140126943588, -0.31363046169281006, 0.14663231372833252, 0.5412850975990295, -0.741284966468811, -0.01219384279102087, 0.5387800931930542, -0.4194223880767822, -0.5547322630882263, -0.18925900757312775, -0.6120280623435974, -0.4452412724494934, -0.0019048732938244939, 0.7067215442657471, -0.1438978910446167, -0.5443664193153381, 0.3404349088668823, 0.31914886832237244, 0.36869123578071594, 0.29383784532546997, -0.40472477674484253, 0.3783045709133148, 0.8063902258872986, 0.7127880454063416, -0.2706727087497711, -0.5423734188079834, -0.7620449066162109, 0.10578992962837219, -0.4805334210395813, 0.8029597997665405, -0.28756144642829895, -0.3099009096622467, 0.08658337593078613, -0.25489071011543274, 0.2874382734298706, -0.4106846749782562, 0.49254411458969116, -0.7952774167060852, 0.28585755825042725, -0.3493971824645996, -0.4693097472190857, -0.026084305718541145, 0.5320408940315247, -0.42468032240867615, 1.2295844554901123, -0.046169791370630264, -0.9212798476219177, 0.37125828862190247, -0.35570839047431946, -0.3860732316970825, -0.04232582077383995, -0.25241732597351074, -0.3877205550670624, 0.04985450208187103, 0.3927267789840698, 0.531643271446228, 0.016069790348410606, 0.39051657915115356, -0.7101914882659912, -0.21416768431663513, 0.3483138978481293, -0.5646491646766663, 0.6458207368850708, 0.09117718786001205, -0.4334646463394165, 0.0007631350308656693, -0.49577659368515015, 0.5262817740440369, 0.25343891978263855, 0.01868714950978756, -0.20272302627563477, -0.3098248541355133, -0.08696572482585907, 0.4936513900756836, 0.5719214677810669, -0.7168930768966675, -0.08522909879684448, -0.3078438937664032, -0.01081110816448927, 1.0375078916549683, -0.2480698972940445, 0.12679339945316315, -0.3463364243507385, 0.642867386341095, 0.060029517859220505, 0.16617359220981598, -0.2061680555343628, -0.21681655943393707, -0.757545530796051, 0.20512843132019043, -0.2394842654466629, 0.5899575352668762, -0.6447357535362244, 0.5192803144454956, -0.26318538188934326, -0.3810373544692993, -0.6816966533660889, 0.3375003933906555, 0.7780436873435974, 0.5239837169647217, 0.6156374216079712, -0.3186475932598114, -0.45042240619659424, -1.0964592695236206, -0.659989595413208, -0.5109420418739319, 0.188717320561409, 0.2687155306339264, 0.5705496072769165, -0.020885851234197617, 0.9531115889549255, -0.7535951137542725, -0.2884712517261505, -0.005425275769084692, 0.09821519255638123, 0.08529701083898544, 0.27684473991394043, 0.32624155282974243, -0.5922958850860596, -0.6424642205238342, -0.3536176085472107, -0.8155959248542786, -0.006144755054265261, -0.20555222034454346, -0.06320441514253616, 0.23295524716377258, 0.5969187021255493, -0.46082714200019836, 0.23735260963439941, 0.5333766937255859, -0.37806209921836853, 0.5661349296569824, -0.23766137659549713, 0.053061194717884064, -1.1611921787261963, 0.03587513417005539, -0.21684245765209198, -0.7135002017021179, -0.4005430042743683, 0.1455073356628418, 0.2628656327724457, 0.46013158559799194, -0.04730530083179474, 0.7866387367248535, -0.3301711082458496, -0.2114076018333435, -0.5356816649436951, 0.08822933584451675, -0.041729625314474106, 0.1771082729101181, 0.07515991479158401, 1.055724859237671, 0.3656062185764313, -0.304033100605011, 0.21398885548114777, 0.13405348360538483, -0.26885169744491577, 0.6763709187507629, -0.7484416365623474, 0.7069519758224487, -0.054411761462688446, 0.4309796392917633, -1.2972440719604492, 0.0016790969530120492, 0.17506641149520874, -0.8570932745933533, 0.4347606301307678, -0.04437266290187836, -0.5461211800575256, -0.6693795919418335, -0.4506083130836487, 0.4760131239891052, 0.20349472761154175, -0.7967336773872375, 0.5579137206077576, 0.34685105085372925, -0.05414185672998428, -0.985883355140686, -0.8295508623123169, 0.1011195182800293, -0.09274216741323471, -0.7425370216369629, -0.05033743381500244, -0.42432892322540283, -0.16776429116725922, -0.17463088035583496, -0.37295788526535034, -0.15772034227848053, 0.2098028063774109, 0.08211647719144821, 0.15115241706371307, -0.12694495916366577, 0.15340128540992737, -0.11810291558504105, -0.241973876953125, 0.49175843596458435, -0.5711522698402405, 0.5583674311637878, -0.3381800353527069, -0.4548614025115967, -0.2579324543476105, 0.32786378264427185, 0.46447402238845825, -0.2839319109916687, 0.7018697261810303, 0.6992810368537903, -0.1792582869529724, -0.2806582450866699, -1.0942124128341675, -0.45284464955329895, -0.5300654172897339, 0.28522664308547974, -0.45618876814842224, -1.0805970430374146, 0.3647225797176361, 0.3747735023498535, 0.16898612678050995, 0.12527251243591309, 0.6678719520568848, -0.07085490971803665, 0.9074487090110779, 0.4726809561252594, -0.2343212366104126, -0.06475882977247238, 0.08613983541727066, 0.4391449987888336, -0.7720901966094971, -0.16414329409599304, -0.31514546275138855, 0.16502194106578827, -0.37801849842071533, -0.7806381583213806, 0.3449628949165344, -0.2923624813556671, -0.12223593890666962, 0.15683817863464355, -0.5016626715660095, 0.4714405834674835, 0.2833920121192932, 0.18377159535884857, 0.44565752148628235, -0.4119460880756378, 0.10153651982545853, 0.0775861069560051, -0.3374551236629486, -0.6103140115737915, 1.420028567314148, 0.380230188369751, 0.6619967222213745, 0.08575019240379333, 0.9609493017196655, 0.41154250502586365, 0.5123090147972107, -0.7185094952583313, 0.6087029576301575, 0.17472252249717712, -0.9486002922058105, -0.5708223581314087, -0.39972469210624695, -0.5365233421325684, 0.43707984685897827, 0.13959579169750214, -0.4490887224674225, -0.2324019819498062, 0.370575487613678, -0.5503694415092468, 0.18591180443763733, -0.436927855014801, 0.7099599242210388, -0.3239608705043793, -0.4375135600566864, -0.3173459768295288, -0.5741550326347351, 0.5757809281349182, -0.4106324017047882, 0.21370771527290344, 0.0698617473244667, -0.14306870102882385, 0.8327100872993469, 0.2018563449382782, 0.7514761686325073, -0.11241447925567627, -0.29399287700653076, 0.3690277338027954, 0.5417408347129822, 0.5863298773765564, 0.32855963706970215, 0.060502443462610245, 0.018031610175967216, 0.17310255765914917, -0.31282839179039, -0.7197349071502686, 0.8545887470245361, -0.41960567235946655, -0.8898148536682129, -0.579490602016449, -0.1873285472393036, -0.49738848209381104, 0.49462828040122986, 0.11372022330760956, 0.23233970999717712, -0.35090768337249756, 0.027008056640625, 0.8913729786872864, -0.015792053192853928, 0.3621075451374054, 0.7189045548439026, -0.4772055447101593, -0.39617645740509033, 0.47631919384002686, -0.11212961375713348, 0.21758446097373962, 0.07869278639554977, 0.317587286233902, -0.5976940393447876, -0.4031832218170166, -0.32666411995887756, 0.3215877115726471, -0.6028647422790527, -0.28893229365348816, -0.877095639705658, -0.1357990950345993, -0.6855283975601196, 0.21249976754188538, -0.7306719422340393, -0.16651785373687744, -0.010697992518544197, -0.2696741819381714, -0.11699164658784866, 0.7689464688301086, -0.25088897347450256, 0.06824187934398651, -0.6263021230697632, 0.41346779465675354, 0.7837934494018555, 0.32281363010406494, 0.23695947229862213, -0.6858312487602234, 0.010494250804185867, 0.02166401594877243, -0.28272780776023865, -0.7191941142082214, 0.05331749469041824, -0.03875067085027695, 0.547584056854248, 0.33363965153694153, 0.07813579589128494, 0.5007774829864502, -0.5363503098487854, 0.4866734445095062, 0.13942524790763855, -1.0195317268371582, 0.5720020532608032, -0.19243445992469788, 0.17788147926330566, 0.7043659687042236, 0.3549917936325073, -0.5106959342956543, -0.35967588424682617, -0.5982341170310974, -0.4860527515411377, 0.47501102089881897, 0.0617874339222908, 0.4227752685546875, -0.1328628659248352, 0.34410253167152405, 0.13252970576286316, 0.23686620593070984, -0.9626802802085876, -0.2642371952533722, -0.2168552428483963, 0.129013329744339, -0.268716037273407, -0.6639368534088135, -0.28867843747138977, 0.05837290734052658, 0.6182266473770142, -0.5435079336166382, 0.20506973564624786, 0.5998464226722717, -0.10512279719114304, -0.27690383791923523, 0.2783728539943695, 0.3143796920776367, 0.769828736782074, -0.06416874378919601, 0.22852455079555511, 0.24020498991012573, -0.17042413353919983, 0.1124979555606842, -0.24319669604301453, -0.10192997753620148, -0.24218405783176422, 0.7279573678970337, 0.24530361592769623, -0.001422271248884499, -0.27386656403541565, 0.7920868992805481, 0.008456310257315636, -0.03402053192257881, -0.7663155794143677, -0.05407479777932167, 0.20840075612068176, 0.15673933923244476, 0.2132406085729599, -0.11323269456624985, 0.37024983763694763, -0.6260618567466736, 0.6578049063682556, 0.6397315263748169, -0.3948184847831726, -0.3042429983615875, 0.5123871564865112, -0.0493222251534462, -0.15498575568199158, 0.43955251574516296, -0.15028031170368195, -0.8653689622879028, 0.4464370012283325, 0.6816750168800354, 1.0625245571136475, -0.6649845838546753, 0.4349328875541687, 0.47178271412849426, 0.3547063171863556, -0.20121914148330688, 0.4872346520423889, -0.1428777575492859, -1.1601744890213013, -0.5378831624984741, -0.47060132026672363, -0.0999859943985939, 0.18772989511489868, -0.9877682328224182, -0.1476956009864807, -0.470527708530426, -0.09969128668308258, -0.16230159997940063, 0.06432003527879715, -0.48473164439201355, 0.2982962429523468, 0.31398046016693115, 0.9694837331771851, -0.8929612040519714, 0.9215490221977234, 0.3876802921295166, -0.10503838956356049, -0.7189450860023499, 0.43255558609962463, 0.10345952957868576, -1.2306009531021118, 0.4982421398162842, 0.3721091151237488, -0.7420821189880371, -0.19888107478618622, -0.6368928551673889, -0.6309009790420532, 0.9816997647285461, 0.19004447758197784, -0.4735894203186035, 0.22260956466197968, 0.017767589539289474, 0.6231335997581482, -0.3538791239261627, 0.26348453760147095, 0.7468289136886597, 0.5525080561637878, 0.2312702089548111, -1.0640987157821655, 0.2689722776412964, 0.19931912422180176, -0.3194466233253479, 0.019829943776130676, -0.8629671931266785, 0.5418890118598938, -0.45055973529815674, -0.08552943170070648, 0.035329315811395645, 0.6413257122039795, 0.3987962603569031, 0.3359239995479584, 0.8351741433143616, 0.6012936234474182, 0.682152271270752, 0.33844712376594543, 0.9538683891296387, -0.12306381016969681, 0.4316791296005249, 1.7483340501785278, -0.44007089734077454, 0.9978023767471313, 0.4933149516582489, -0.27081742882728577, 0.33076998591423035, 0.3097105324268341, 0.18248602747917175, 0.3447892963886261, 0.07899926602840424, -0.08888734877109528, -0.9175941944122314, 0.05617668107151985, -0.4480268359184265, 0.7462314963340759, 0.043931808322668076, -0.2357630878686905, -0.10880813747644424, -0.4322719871997833, 0.28847068548202515, 0.38317784667015076, -0.053985994309186935, 0.6033689975738525, 0.28503721952438354, -0.819726824760437, 0.26471978425979614, -0.34782668948173523, 0.5863446593284607, -0.45475903153419495, 0.0441538468003273, -0.3325191140174866, 0.30500584840774536, -0.1541711986064911, -1.2940950393676758, 0.3066265285015106, -0.12653788924217224, -0.09779532253742218, -0.4638577699661255, 0.7364810705184937, -0.39941245317459106, -0.4518936574459076, 0.7963392734527588, 0.7270575761795044, -0.1385325789451599, -0.48266246914863586, -0.7899448275566101, -0.24248766899108887, 0.04736294597387314, -0.2825511395931244, 0.19563330709934235, 0.30247440934181213, 0.20517228543758392, 1.100892424583435, 0.5490552186965942, -0.02486346662044525, -0.09607958793640137, -0.10590822994709015, 0.7698666453361511, -0.3291821777820587, -0.5281909108161926, -0.933326005935669, 0.10333951562643051, -0.34422484040260315, -0.14101873338222504, 0.9599206447601318, 0.6362171173095703, 0.9532331228256226, 0.0712868794798851, 0.8226248621940613, 0.3168642818927765, 0.6852092742919922, -0.37030336260795593, 0.6569706797599792, -0.717644989490509, 0.1793392300605774, -0.44194531440734863, -0.904518723487854, -0.18760545551776886, 0.6023040413856506, -0.38039225339889526, 0.2007935494184494, 0.7817389965057373, 0.8159598708152771, -0.05278661474585533, -0.10522264242172241, 0.48710665106773376, 0.4306742250919342, 0.37472841143608093, 0.6299740076065063, 0.8535060882568359, -0.31220555305480957, 0.7559842467308044, -0.14387354254722595, -0.22025389969348907, 0.019584082067012787, -0.8939710259437561, -0.9506180286407471, -0.551957368850708, -0.21172456443309784, -0.7070583701133728, -0.22663040459156036, 0.5248041749000549, 0.8440797328948975, -1.0798001289367676, -0.1586666703224182, 0.23691003024578094, 0.08374575525522232, 0.056898847222328186, -0.18851010501384735, 0.251228004693985, -0.17804017663002014, -0.19165275990962982, 0.5277501344680786, 0.37386006116867065, -0.1939544975757599, -0.7073927521705627, -0.0021247861441224813, 0.0703556165099144, 0.2906481623649597, 0.42896348237991333, 0.05365235358476639, -0.7857385873794556, -0.564613938331604, 0.08071436733007431, -0.1007118672132492, 0.0518161915242672, 0.8826869130134583, -0.8542487621307373, 0.7007764577865601, 0.2689392566680908, 0.5918128490447998, 0.37659168243408203, -0.0044982354156672955, 0.6187447905540466, -0.41359803080558777, -0.2421819269657135, 0.3749280273914337, 0.17801694571971893, 0.31260624527931213, -0.7142198085784912, 0.5426979064941406, -0.109976626932621, -0.5853559374809265, -0.8407230377197266, 0.5570962429046631, -0.8677719235420227, -0.2571287751197815, 1.082140326499939, -0.36083415150642395, 0.09314556419849396, -0.24377226829528809, 0.02202608250081539, -0.08592284470796585, -0.2692042291164398, 1.0280019044876099, 0.8852015137672424, -0.04657747223973274, 0.03451484814286232, -0.25844740867614746, 0.43390634655952454, 0.569290280342102, -0.7471860647201538, 0.40146055817604065, 0.2512187063694, 0.6022005081176758, 0.31312695145606995, 0.9416384100914001, -0.18805311620235443, 0.341947078704834, -0.17320062220096588, -0.17436480522155762, -0.1808084398508072, -0.721683144569397, -0.38715168833732605, 0.1702902615070343, 0.32157155871391296, -0.047986216843128204 ]
http://arxiv.org/abs/2403.09963v2
http://arxiv.org/pdf/2403.09963v2
Take Care of Your Prompt Bias! Investigating and Mitigating Prompt Bias in Factual Knowledge Extraction
2024-03-15T02:04:35
2024-03-26T04:08:47
Ziyang Xu, Keqin Peng, Liang Ding, Dacheng Tao, Xiliang Lu
cs.CL
cs.CL, cs.AI, cs.IR
Recent research shows that pre-trained language models (PLMs) suffer from "prompt bias" in factual knowledge extraction, i.e., prompts tend to introduce biases toward specific labels. Prompt bias presents a significant challenge in assessing the factual knowledge within PLMs. Therefore, this paper aims to improve the reliability of existing benchmarks by thoroughly investigating and mitigating prompt bias. We show that: 1) all prompts in the experiments exhibit non-negligible bias, with gradient-based prompts like AutoPrompt and OptiPrompt displaying significantly higher levels of bias; 2) prompt bias can amplify benchmark accuracy unreasonably by overfitting the test datasets, especially on imbalanced datasets like LAMA. Based on these findings, we propose a representation-based approach to mitigate the prompt bias during inference time. Specifically, we first estimate the biased representation using prompt-only querying, and then remove it from the model's internal representations to generate the debiased representations, which are used to produce the final debiased outputs. Experiments across various prompts, PLMs, and benchmarks show that our approach can not only correct the overfitted performance caused by prompt bias, but also significantly improve the prompt retrieval capability (up to 10% absolute performance gain). These results indicate that our approach effectively alleviates prompt bias in knowledge evaluation, thereby enhancing the reliability of benchmark assessments. Hopefully, our plug-and-play approach can be a golden standard to strengthen PLMs toward reliable knowledge bases. Code and data are released in https://github.com/FelliYang/PromptBias.
[ -0.6075982451438904, -0.7434690594673157, 0.5878984332084656, 0.3722259998321533, -0.17159555852413177, -0.05147678405046463, -0.26734498143196106, -0.0533461831510067, -0.14053358137607574, 0.521344780921936, -0.5493493676185608, -0.40353938937187195, -0.5907106995582581, 0.02919762395322323, 0.11671051383018494, 0.8568903207778931, 0.144271582365036, 0.3220272362232208, -0.4185279607772827, -0.39584699273109436, -0.7535833120346069, -0.38924604654312134, -0.4624093770980835, -0.17491139471530914, 0.39583802223205566, 0.4133578836917877, 0.590816855430603, 0.4884224236011505, 0.17205072939395905, 0.153265118598938, -0.0768442153930664, 0.2035001963376999, -0.2917099893093109, 0.2386016994714737, -0.1497844159603119, -0.3996146023273468, -0.17041562497615814, 0.33585429191589355, 0.6187065839767456, 0.7557207942008972, -0.05936218798160553, 0.261905699968338, 0.14572328329086304, 0.5405994653701782, -0.8113590478897095, 0.251397043466568, -0.48111021518707275, 0.042430609464645386, -0.2711803615093231, -0.2654350697994232, -0.6684695482254028, -0.6481972932815552, 0.10872291773557663, -0.6934284567832947, 0.33713918924331665, 0.3845858871936798, 0.46566352248191833, 0.5921755433082581, -0.37370792031288147, -0.11367276310920715, -0.3778725564479828, 0.8191513419151306, -0.6674014925956726, 0.22720852494239807, 0.3405333161354065, 0.5058078765869141, -0.217875674366951, -0.45861169695854187, -0.4831107556819916, -0.3736622631549835, -0.15861202776432037, 0.0047806487418711185, -0.02295394241809845, -0.03361024707555771, 0.9813104271888733, 0.06171322986483574, -0.4996616244316101, 0.18536940217018127, 0.001402886351570487, -0.4732309579849243, 0.3524993360042572, 0.03159802779555321, 0.33986589312553406, -0.18727117776870728, -0.6239426136016846, -0.06910954415798187, -1.0489263534545898, 0.23798204958438873, 0.3534224033355713, 0.23228293657302856, 0.2797466218471527, 0.4676350951194763, -0.1721590906381607, 0.7052433490753174, 0.19157728552818298, 0.030133113265037537, 0.37792831659317017, -0.300300657749176, -0.07145791500806808, 0.31333157420158386, 0.7187556028366089, 0.35943013429641724, 0.255620539188385, -0.10178930312395096, -0.1771218180656433, 0.08185628801584244, 0.07101497054100037, -0.6877418756484985, -0.09602770954370499, 0.0787007063627243, -0.3708066940307617, -0.06717290729284286, -0.008218072354793549, -1.0179351568222046, -0.9075321555137634, -0.3518727123737335, 0.3107244372367859, -0.29321491718292236, -0.18448011577129364, -0.11248518526554108, -0.06339361518621445, -0.012174328789114952, 0.3120242655277252, -0.4996413290500641, 0.23351097106933594, 0.3778476119041443, 0.6354086995124817, -0.19067098200321198, -0.15766240656375885, -1.1108229160308838, -0.10920457541942596, -0.29333117604255676, 0.6509516835212708, -0.47970467805862427, -0.51133131980896, 0.013065910898149014, -0.06936047971248627, -0.026055168360471725, -0.7061655521392822, 0.8624151945114136, -0.464519202709198, 0.5310060977935791, -1.1712017059326172, -0.5817029476165771, 0.13753102719783783, 0.18673689663410187, -0.7716988921165466, 1.0505801439285278, -0.08476374298334122, -1.0431511402130127, 0.632779061794281, -0.5361564755439758, -0.3158029317855835, -0.15190955996513367, -0.26349419355392456, -0.2206578105688095, -0.2132931649684906, 0.7736170291900635, 0.09935339540243149, -0.5551388263702393, 0.6898804903030396, -0.2727755308151245, -0.36580243706703186, 0.26194754242897034, -0.5653107166290283, 1.003226637840271, 0.19281050562858582, -0.6053528189659119, 0.01374142151325941, -0.7968605756759644, -0.26201626658439636, -0.13247144222259521, -0.016948644071817398, -0.33535486459732056, -0.13040286302566528, -0.4180598855018616, 0.3522624671459198, 0.11758223921060562, -0.6263226270675659, 0.1983495056629181, -0.2493859976530075, -0.030692098662257195, 0.833172619342804, 0.1739715188741684, 0.6453785300254822, -0.31655076146125793, 0.5927053689956665, 0.29876819252967834, 0.22063148021697998, -0.38843873143196106, -0.35679593682289124, -0.6555535197257996, -0.36626896262168884, 0.3559923768043518, 0.4261220097541809, -0.9827631115913391, 0.45509955286979675, -0.03955364599823952, -0.3618861138820648, -0.6005006432533264, 0.02683231793344021, 0.4262305498123169, 1.3368312120437622, 0.5875868201255798, -0.2010895162820816, -0.46197569370269775, -0.662894070148468, -0.5433306694030762, -0.2434987872838974, -0.03640828654170036, 0.12472949177026749, 0.06525684148073196, -0.07856101542711258, 1.3447338342666626, -0.5332443118095398, -0.0235618706792593, -0.050208982080221176, 0.46374112367630005, 0.19528983533382416, 0.6662678718566895, 0.707202136516571, -0.6242014169692993, -0.22016340494155884, -0.6299950480461121, -0.5844279527664185, -0.7544440627098083, -0.24277806282043457, -0.23751600086688995, 0.09369510412216187, 0.3143163323402405, -0.9017446041107178, 0.2693479061126709, -0.26046550273895264, -0.3766788840293884, 0.7565091252326965, 0.18549351394176483, 0.05665522813796997, -0.5267449617385864, 0.3089691400527954, 0.2288738638162613, -0.1884773224592209, -0.2908329963684082, -0.37439095973968506, 0.12227091938257217, -0.007898444309830666, -0.190166637301445, 0.7996103763580322, -0.4249097406864166, -0.09107600152492523, -0.16915971040725708, 0.012354392558336258, 0.40339332818984985, 0.4327315092086792, -0.022339019924402237, 1.044522762298584, 0.6082454323768616, -0.6161256432533264, 0.20574946701526642, 0.28665730357170105, -0.37869811058044434, 0.54783695936203, -0.6154606342315674, -0.17221257090568542, -0.37957653403282166, 0.2771289050579071, -0.9594170451164246, 0.2942952513694763, 0.7771705389022827, -0.35884907841682434, 0.4523485600948334, -0.12521758675575256, -0.5129263997077942, -0.24892951548099518, -0.4078177213668823, 0.06430048495531082, 0.6828522682189941, -0.8222317695617676, 0.2863626182079315, 0.2798388600349426, -0.38004016876220703, -0.9337948560714722, -0.26452165842056274, -0.2840366065502167, -0.31174683570861816, -0.22039145231246948, 0.15677589178085327, -0.17697395384311676, -0.27877041697502136, -0.21852025389671326, -0.42635592818260193, 0.10523886233568192, 0.042309653013944626, 0.10486488789319992, 0.2639641761779785, -0.09667586535215378, 0.32566314935684204, 0.029190026223659515, -0.2762991189956665, 0.4608842730522156, -0.21623657643795013, 0.5102288126945496, 0.15531541407108307, -0.5481058359146118, -0.15374335646629333, -0.008142992854118347, 0.6186737418174744, -0.3461605906486511, 0.5193480253219604, 0.6734516024589539, -0.15096138417720795, -0.22502928972244263, -0.9437713623046875, -0.3573848307132721, -0.4533480405807495, -0.10637914389371872, -0.04360459744930267, -0.39261263608932495, 0.5324828028678894, -0.27131393551826477, 0.02925875596702099, 0.3644857704639435, 0.3797648549079895, 0.02886122465133667, 0.9997404217720032, 0.2601509988307953, -0.24023060500621796, 0.40516629815101624, 0.012816809117794037, -0.10523691028356552, -0.8229067325592041, -0.2642632722854614, -0.5734395384788513, -0.046646881848573685, -0.13711842894554138, -0.3602658808231354, 0.30276378989219666, -0.03921270743012428, -0.3820907771587372, -0.1530977338552475, -0.36536458134651184, 0.1675342321395874, 0.815093994140625, 0.09203047305345535, 0.07204356789588928, -0.16432063281536102, -0.3353448510169983, -0.3433087170124054, -0.6912874579429626, -0.47644948959350586, 0.9164175391197205, 0.22646166384220123, 0.6390613317489624, -0.3189525604248047, 0.38273856043815613, 0.5432689785957336, 0.1551145613193512, -0.3730248808860779, 0.506991982460022, 0.4008033573627472, -0.4970746636390686, -0.10077313333749771, -0.6379104256629944, -0.45937347412109375, 0.2693685293197632, 0.01848824881017208, -0.3999894857406616, 0.6163780093193054, 0.12800052762031555, -0.48216238617897034, 0.06548601388931274, -0.769858717918396, 0.8204189538955688, -0.22815243899822235, -0.6254204511642456, 0.23636266589164734, -0.7792356610298157, 0.41157716512680054, 0.09484192728996277, 0.2004135698080063, -0.18473747372627258, 0.12726432085037231, 0.7898658514022827, -0.5274356603622437, 0.9782252907752991, -0.7232392430305481, 0.027314715087413788, 0.43092644214630127, 0.04146615043282509, 0.570791482925415, 0.3885352313518524, -0.2855404019355774, -0.03301196172833443, -0.1871022880077362, -0.5068632960319519, -0.7364184856414795, 0.4944551885128021, -0.6577808260917664, -0.6795859932899475, -0.5801016688346863, -0.3934398293495178, -0.4535992443561554, 0.09489956498146057, 0.34402838349342346, 0.6360606551170349, -0.21883666515350342, -0.34854233264923096, 0.8761751055717468, -0.37812381982803345, 0.45099663734436035, 0.7282834053039551, -0.019935259595513344, -0.36794888973236084, 0.7283366918563843, 0.303771436214447, -0.08027787506580353, 0.018239924684166908, 0.17992107570171356, -0.5789365768432617, -0.2588508427143097, -0.5066134929656982, 0.041767120361328125, -0.9348074793815613, -0.3032594919204712, -0.6921764016151428, 0.10644995421171188, -0.48103490471839905, 0.2583250403404236, -0.1531272679567337, -0.48048651218414307, -0.4872904419898987, -0.26973164081573486, 0.19286136329174042, 0.3248268663883209, -0.0861484482884407, 0.49611911177635193, -0.6488949656486511, 0.3196466565132141, 0.1729164719581604, 0.03718492388725281, -0.05528903752565384, -0.44106653332710266, 0.09346920996904373, -0.09402331709861755, -0.08234632760286331, -0.8598961234092712, 0.30294620990753174, -0.12286707758903503, 0.9663931131362915, 0.5313473343849182, 0.42282021045684814, 0.4228072166442871, -0.4210108518600464, 0.8311417698860168, 0.1637592911720276, -0.9663318991661072, 0.5774043798446655, -0.06127641350030899, 0.2977011501789093, 0.7685914039611816, 0.42722320556640625, -0.23078981041908264, -0.0834866315126419, -0.6463056206703186, -0.5518532395362854, 0.6988818645477295, 0.0011276033474132419, -0.32341036200523376, -0.07537326961755753, 0.26656919717788696, 0.484048992395401, 0.6388275623321533, -0.43594852089881897, -0.2679390013217926, -0.35775521397590637, -0.08874957263469696, -0.08153461664915085, -0.6316191554069519, -0.1292106956243515, -0.27788209915161133, 0.6910768747329712, -0.10777445882558823, -0.11473063379526138, 0.2975673973560333, -0.414989709854126, -0.043738555163145065, 0.23436912894248962, 0.37533438205718994, 0.7967928647994995, -0.11983848363161087, 0.29842132329940796, 0.07730516791343689, -0.3909603953361511, 0.08597221225500107, 0.39705297350883484, -0.5307287573814392, 0.2920253574848175, 0.31229349970817566, 0.6832318305969238, 0.07115726172924042, -0.5947057008743286, 0.5603442192077637, -0.04330321028828621, 0.5798584818840027, 0.09148012101650238, -0.055004097521305084, -0.4159533679485321, -0.0014739036560058594, 0.38938426971435547, 0.40023720264434814, 0.2258995771408081, -0.11991944909095764, 0.31583482027053833, 0.3026132881641388, -0.2637781500816345, -0.37014687061309814, 0.5726497173309326, 0.3689050078392029, 0.26870378851890564, 0.5091465711593628, -0.3104562759399414, -0.6288709044456482, 0.6119941473007202, 0.4135599136352539, 0.5694138407707214, -0.24636319279670715, 0.46323755383491516, 0.5305793881416321, 0.4405997097492218, -0.25370192527770996, 0.3046167194843292, -0.23267044126987457, -0.6281495094299316, -0.3665112555027008, -0.35365813970565796, -0.31894177198410034, -0.1888028383255005, -0.6578356623649597, 0.29819509387016296, -0.43089067935943604, -0.33771491050720215, -0.36723124980926514, 0.3443533480167389, -0.7125443816184998, 0.18657317757606506, 0.09680982679128647, 1.0082361698150635, -0.950375497341156, 0.6611292362213135, 0.5450423955917358, -0.6373452544212341, -0.4072166681289673, -0.07023907452821732, -0.11180544644594193, -0.7118796706199646, 0.6144687533378601, 0.2933160662651062, 0.25524401664733887, -0.022774748504161835, -0.6303813457489014, -0.6438275575637817, 0.7740545868873596, 0.6995810866355896, -0.6557184457778931, 0.20848996937274933, 0.02503485232591629, 0.13829126954078674, -0.3026203215122223, 0.5193572640419006, 0.7556357979774475, 0.6817284822463989, 0.018892360851168633, -0.5986002683639526, 0.3481048047542572, -0.22627262771129608, -0.2488836795091629, -0.1593252271413803, -0.3479781150817871, 0.8636585474014282, -0.10795287042856216, -0.2135029286146164, -0.1958269625902176, 0.39517202973365784, 0.45273464918136597, 0.5756792426109314, 0.48034340143203735, 0.5647141337394714, 1.271552324295044, -0.11258810013532639, 0.8789293766021729, -0.2360403835773468, 0.0726781040430069, 1.21401846408844, -0.6581724882125854, 0.025356825441122055, 0.5923349857330322, 0.036072876304388046, 0.2982442080974579, 0.6203398108482361, -0.07690203934907913, 0.7593190670013428, 0.1580243557691574, -0.2759399712085724, -0.18172284960746765, -0.5696040391921997, -0.6238435506820679, -0.13186156749725342, 0.275061696767807, -0.29636576771736145, -0.3394339382648468, 0.15342772006988525, 0.17534787952899933, 0.046350765973329544, -0.24340443313121796, 0.6318560242652893, 0.03854271396994591, -0.8116556406021118, 0.42122122645378113, -0.3752497434616089, 0.5604143142700195, -0.4608211815357208, -0.06138167902827263, -0.34328100085258484, -0.23581674695014954, -0.05658349394798279, -0.411213219165802, -0.098948635160923, -0.08036791533231735, -0.3250788152217865, -0.29801949858665466, 1.027998924255371, -0.34960296750068665, -0.30328452587127686, 0.003614108543843031, 0.8393599390983582, -0.1775561273097992, -0.2253490835428238, -0.5461405515670776, 0.2197311669588089, -0.07707890123128891, -0.3334028124809265, 0.04106861352920532, 0.5388001799583435, 0.014857931062579155, 0.5195098519325256, 0.6168739199638367, 0.2361142486333847, 0.2110135853290558, 0.25545984506607056, 1.0805065631866455, -0.47807931900024414, -0.37779855728149414, -0.9956712126731873, 0.4435899257659912, -0.34240561723709106, -0.22840797901153564, 0.8230438232421875, 0.37552526593208313, 0.35829994082450867, -0.05337904393672943, 0.9378206729888916, 0.10595186799764633, 0.6071563363075256, -0.5385754108428955, 0.7284179329872131, -0.06948991864919662, 0.4706440269947052, -0.14845164120197296, -0.8506121039390564, -0.06119862198829651, 0.2704828977584839, -0.6532285809516907, -0.0006929393857717514, 0.44668349623680115, 0.6057059168815613, 0.10252153128385544, 0.11788636445999146, 0.03838485851883888, 0.2160325050354004, 0.3239462077617645, 0.1735842227935791, 1.0877294540405273, -0.18304207921028137, 0.21191926300525665, -0.30275461077690125, -0.2904002070426941, -0.06918739527463913, -0.9718713164329529, -0.9257195591926575, -0.27458852529525757, -0.45195192098617554, -0.23311737179756165, 0.145497128367424, 0.923419713973999, 0.4765278398990631, -0.8136900067329407, 0.29323431849479675, -0.08345804363489151, 0.4912834167480469, -0.13046176731586456, -0.23057222366333008, 0.41606953740119934, -0.8238555788993835, -0.4676806628704071, 0.43598267436027527, -0.14125271141529083, -0.045034781098365784, -0.21444785594940186, 0.004755455069243908, -0.007393260486423969, -0.13542360067367554, 0.2910313308238983, 0.3163395822048187, -0.4734768569469452, -0.1557479053735733, 0.13503842055797577, -0.08025063574314117, 0.15460093319416046, 0.8247779607772827, -1.3093268871307373, 0.6150704622268677, 0.5916243195533752, 0.7108917236328125, -0.03213156759738922, 0.345623254776001, 0.8110361695289612, -1.0079081058502197, 0.26611608266830444, 0.3623694181442261, 0.530933141708374, 0.5258136987686157, -0.46153905987739563, 0.4462881088256836, 0.3586605489253998, -0.4633333683013916, -1.037811040878296, 0.1582798808813095, -0.7238791584968567, -0.17533324658870697, 1.12447988986969, -0.21828201413154602, -0.08530756831169128, -0.09383614361286163, -0.522393524646759, 0.5234410166740417, -0.5317469239234924, 0.8374047875404358, 0.674983024597168, 0.22481974959373474, -0.11553367972373962, -0.5428328514099121, 0.7045019865036011, 0.678517758846283, -0.5223674774169922, 0.19128847122192383, 0.6541023850440979, 0.16279390454292297, 0.14757214486598969, 0.5510516166687012, -0.0590839609503746, 0.26706382632255554, -0.2612573802471161, 0.09684747457504272, -0.20786918699741364, -0.3294016718864441, -0.4620887339115143, 0.12606197595596313, 0.003008622443303466, -0.24751251935958862 ]
http://arxiv.org/abs/2403.09919v3
http://arxiv.org/pdf/2403.09919v3
Recurrent Drafter for Fast Speculative Decoding in Large Language Models
2024-03-14T23:40:56
2024-05-30T17:55:19
Aonan Zhang, Chong Wang, Yi Wang, Xuanyu Zhang, Yunfei Cheng
cs.CL
cs.CL, cs.LG
In this paper, we introduce an improved approach of speculative decoding aimed at enhancing the efficiency of serving large language models. Our method capitalizes on the strengths of two established techniques: the classic two-model speculative decoding approach, and the more recent single-model approach, Medusa. Drawing inspiration from Medusa, our approach adopts a single-model strategy for speculative decoding. However, our method distinguishes itself by employing a single, lightweight draft head with a recurrent dependency design, akin in essence to the small, draft model uses in classic speculative decoding, but without the complexities of the full transformer architecture. And because of the recurrent dependency, we can use beam search to swiftly filter out undesired candidates with the draft head. The outcome is a method that combines the simplicity of single-model design and avoids the need to create a data-dependent tree attention structure only for inference in Medusa. We empirically demonstrate the effectiveness of the proposed method on several popular open source language models, along with a comprehensive analysis of the trade-offs involved in adopting this approach.
[ -0.33081045746803284, -0.5365720391273499, 0.48583874106407166, 0.2592935860157013, -0.5153014063835144, 0.12256887555122375, -0.015629762783646584, -0.5348258018493652, 0.42549383640289307, 0.8690440058708191, -0.6699743270874023, -0.28049883246421814, -0.5173984169960022, 0.12855787575244904, -0.4489278793334961, 0.7648161053657532, -0.055258527398109436, -0.368539035320282, 0.1949063539505005, 0.12418734282255173, -0.2187257558107376, -0.2710912227630615, -0.9730505347251892, -0.21897606551647186, 0.6380509734153748, 0.23790156841278076, 0.5761770009994507, 0.6036344170570374, 0.3322165906429291, 0.2551339268684387, -0.27416935563087463, 0.35425040125846863, -0.7876449823379517, 0.2733745872974396, -0.17535540461540222, -0.3915986120700836, -0.46065810322761536, -0.10939399152994156, 0.8063873648643494, 0.5435102581977844, -0.29951319098472595, 0.2534719705581665, -0.20365767180919647, 0.7929713726043701, -0.7429403066635132, 0.21688319742679596, -0.8517865538597107, 0.02993653528392315, -0.555031418800354, -0.5148136615753174, -1.15494704246521, -0.205460786819458, 0.04265326261520386, -0.663702130317688, 0.3920670449733734, 0.10439376533031464, 0.4616927206516266, 0.28854942321777344, -0.24413494765758514, 0.20380017161369324, -0.9831419587135315, 0.7735126614570618, -0.709173321723938, 0.5095001459121704, 0.3259024918079376, 0.31463733315467834, -0.14380189776420593, -0.9066840410232544, -0.41136184334754944, -0.07310453802347183, -0.15280774235725403, -0.026327311992645264, -0.4314262866973877, 0.003917316906154156, 0.1581103354692459, 0.2953000068664551, -0.5353401899337769, 0.013195985928177834, -0.4577224850654602, -0.15186002850532532, 0.38336116075515747, 0.3362235724925995, -0.13814136385917664, 0.08725491166114807, -0.12900690734386444, -0.029026826843619347, -0.691510021686554, -0.174904465675354, 0.1933051198720932, 0.29147955775260925, 0.10865434259176254, 0.36719945073127747, -0.2598114609718323, 0.8028200268745422, 0.38380730152130127, -0.10582656413316727, 0.0900813639163971, -0.2017412930727005, -0.09358008205890656, -0.15893948078155518, 0.5556848049163818, 0.13532711565494537, -0.02557557262480259, -0.42289209365844727, -0.10318698734045029, 0.15183353424072266, 0.46575140953063965, -0.9059172868728638, -0.07758211344480515, 0.27543777227401733, -0.8542578220367432, -0.4692860543727875, -0.09293076395988464, -0.9718146324157715, -0.2906304895877838, 0.01729472167789936, -0.1516333967447281, -0.453386127948761, -0.4787047505378723, 0.5701435804367065, -0.27329930663108826, 0.08483162522315979, 0.21804694831371307, -1.1227678060531616, 0.3205412030220032, 0.5949448943138123, 0.7142004370689392, -0.08127520233392715, -0.3341866731643677, -0.6283196210861206, 0.1046178862452507, -0.356554239988327, 1.084180474281311, -0.5890822410583496, -0.28031131625175476, -0.26340779662132263, -0.1910410225391388, -0.00017277512233704329, -0.15395554900169373, 0.610875129699707, -0.7546095252037048, 0.15943439304828644, 0.06860329955816269, -0.43073606491088867, -0.3034549057483673, 0.03309021517634392, -0.9724192023277283, 0.6997401714324951, 0.2515236735343933, -1.1708780527114868, 0.2545028626918793, -0.37967976927757263, -0.35343754291534424, 0.005996709689497948, -0.2334788739681244, -0.20029127597808838, 0.39508742094039917, 0.22382180392742157, 0.19594420492649078, -0.6483054757118225, 0.06754201650619507, -0.3878587484359741, -0.5049954652786255, 0.01009636651724577, -0.7057998776435852, 0.704871654510498, 0.5518833994865417, 0.010992718860507011, 0.10176245123147964, -0.7901268005371094, 0.15473335981369019, 0.26954999566078186, -0.3426383435726166, -0.3407926559448242, 0.23345829546451569, 0.33353182673454285, -0.055485036224126816, -0.03324354067444801, -0.6677864789962769, 0.46163997054100037, -0.7387962341308594, 0.40232977271080017, 0.5547858476638794, 0.07517776638269424, 0.3710390031337738, -0.21036949753761292, 0.7326597571372986, -0.14008364081382751, 0.0016148200957104564, -0.3672996461391449, -0.19978901743888855, -0.6030824780464172, -0.360731840133667, 0.2707561254501343, 0.1878572255373001, -0.9378275275230408, 0.10908036679029465, -0.052941031754016876, -0.5490416884422302, -0.9096656441688538, -0.16783647239208221, 0.428785115480423, 0.04242691397666931, 0.18578597903251648, 0.06309335678815842, -0.9073344469070435, -0.7993320226669312, -0.354295939207077, -0.09210958331823349, 0.2745252847671509, -0.22797466814517975, 0.0420762300491333, -0.26510804891586304, 0.7795454859733582, -0.7038347125053406, 0.20084743201732635, -0.6017584800720215, 0.25559377670288086, 0.452495276927948, 0.45902469754219055, 0.832952082157135, -0.698276937007904, -0.43415942788124084, 0.2229987531900406, -0.4494952857494354, 0.26730987429618835, -0.19285741448402405, -0.0557868555188179, 0.36913758516311646, 0.5481245517730713, -0.8349228501319885, 0.20820800960063934, 0.6565887331962585, -0.5807221531867981, 0.49111947417259216, -0.1562318056821823, 0.030168117955327034, -1.1789195537567139, 0.538540244102478, -0.3211045265197754, -0.08317691832780838, -0.8184347152709961, 0.455722451210022, 0.12349533289670944, -0.06898625940084457, -0.45494192838668823, 0.6370882391929626, -0.4570094048976898, 0.3836292028427124, -0.5931064486503601, -0.2434222251176834, -0.08658535033464432, 0.4189315438270569, 0.26785245537757874, 0.6826377511024475, 0.42965590953826904, -0.20232410728931427, 0.042262718081474304, 0.0015926018822938204, -0.3031807541847229, -0.11851689964532852, -0.6910858750343323, 0.498442679643631, -0.5597382187843323, 0.4867129325866699, -0.8305801749229431, -0.031993165612220764, 0.3176420331001282, -0.2936641573905945, 0.46213990449905396, -0.38071057200431824, -0.4547753930091858, -0.7164372205734253, -0.3309173285961151, 0.7098615169525146, 0.1473110169172287, -0.48667579889297485, 0.6900386810302734, 0.31410810351371765, -0.13553696870803833, -0.7634373307228088, -0.6770379543304443, -0.09386182576417923, -0.08843602985143661, -0.5884501338005066, 0.32612019777297974, -0.17264239490032196, -0.09396050125360489, 0.0266487468034029, -0.26445314288139343, -0.17127203941345215, -0.002679242519661784, 0.01846189610660076, 0.5038048028945923, -0.424693763256073, -0.24196691811084747, 0.08146043866872787, -0.7382996082305908, -0.1737602800130844, -0.6275207996368408, 0.4748177230358124, 0.023892441764473915, -0.019115440547466278, -0.41901615262031555, 0.8511491417884827, 1.1044540405273438, -0.4369376599788666, 0.6411175727844238, 0.3629010021686554, -0.3090774714946747, -0.4346730709075928, -0.8201083540916443, -0.18548691272735596, -0.4854402542114258, 0.3637279272079468, -0.5777693390846252, -1.034600019454956, 0.3840491771697998, 0.1530052274465561, 0.3554059565067291, 0.3514593243598938, 0.45510709285736084, 0.3028366267681122, 1.022625207901001, 1.0521316528320312, -0.31537410616874695, 0.4124646484851837, -0.24988776445388794, 0.13275769352912903, -0.5568214058876038, 0.038057841360569, -0.5760717988014221, -0.06341968476772308, -0.32225966453552246, -0.4787411391735077, -0.032757263630628586, -0.22830501198768616, 0.0061538852751255035, 0.38253480195999146, -0.4528762996196747, 0.6758375763893127, 0.42551568150520325, 0.0889970138669014, 0.4781799614429474, 0.2179279923439026, -0.037692658603191376, -0.10217005759477615, -0.8794623613357544, -0.2090950310230255, 1.0676631927490234, 0.44354480504989624, 1.0975642204284668, -0.03245971351861954, 0.5537875890731812, -0.10332309454679489, 0.26379624009132385, -0.7202174663543701, 0.2636714279651642, -0.4876164495944977, -0.6961418390274048, -0.046183791011571884, -0.5905113816261292, -0.9473584890365601, 0.5071341395378113, -0.1829708069562912, -0.7545223832130432, 0.3329417109489441, 0.37288036942481995, -0.7228327989578247, 0.45537617802619934, -0.6021449565887451, 0.8836045265197754, 0.3143377900123596, -0.054019495844841, -0.4668023884296417, -0.26915350556373596, 0.6240333318710327, -0.14437955617904663, -0.0890054851770401, 0.18335507810115814, 0.1614006906747818, 0.6207354664802551, -0.21708452701568604, 0.7783289551734924, 0.028527606278657913, -0.05327003076672554, 0.29424598813056946, 0.3006781041622162, 0.8094512820243835, 0.06866670399904251, -0.3558465838432312, -0.13810977339744568, 0.13499684631824493, -0.42513105273246765, -0.44464489817619324, 0.5540505647659302, -0.6078458428382874, -0.4409278929233551, -0.2805373966693878, -0.8065595030784607, -0.21936950087547302, 0.5253233313560486, 0.5510037541389465, 0.5041349530220032, -0.34592902660369873, 0.14631536602973938, 0.630702018737793, 0.13601769506931305, 0.2448951005935669, 0.7859272956848145, -0.38778582215309143, -0.3230474293231964, 0.5790250301361084, -0.1685863584280014, 0.2744661867618561, 0.6574094891548157, -0.08677046746015549, 0.0026077579241245985, -0.7279362678527832, -0.21293462812900543, 0.4581739604473114, -0.4076409935951233, -0.26809537410736084, -0.7030197978019714, -0.23778750002384186, -0.22206997871398926, 0.003966859541833401, -0.7876465916633606, -0.3526242971420288, 0.07836057990789413, -0.05983058735728264, 0.37128445506095886, 0.7552794814109802, 0.32871970534324646, 0.1676342785358429, -0.816948413848877, 0.42967793345451355, 0.0314701646566391, 0.42792171239852905, 0.29743748903274536, -0.5123102068901062, -0.3085566461086273, -0.21340112388134003, -0.007525947876274586, -0.7119200229644775, 0.37467363476753235, -0.291082501411438, 0.5782440900802612, 0.6532725691795349, 0.20431429147720337, 0.5070673823356628, -0.6310440897941589, 0.18269000947475433, 0.14701643586158752, -0.717125415802002, 0.42433300614356995, -0.3840699791908264, 0.6436012387275696, 0.689178466796875, 0.12924280762672424, -0.6458372473716736, -0.6425517797470093, -0.4244996905326843, -0.6756461262702942, 1.076096534729004, 0.15175330638885498, -0.18213823437690735, -0.07367563247680664, 0.23424310982227325, 0.4078907072544098, -0.07090525329113007, -0.3194877505302429, -0.4142153561115265, 0.06547108292579651, 0.12541915476322174, -0.12074609845876694, -0.6894499659538269, 0.14968779683113098, -0.04909464716911316, 0.44671428203582764, -0.1170668974518776, 0.27326318621635437, -0.012502140365540981, 0.23940245807170868, -0.40297815203666687, 0.2842685282230377, 0.42419469356536865, 0.44246968626976013, -0.5198811292648315, 0.3258904218673706, -0.05374526232481003, -0.5715389251708984, 0.009426603093743324, 0.12777121365070343, -0.42217761278152466, 0.26849299669265747, 0.31981295347213745, 0.7522064447402954, 0.5235132575035095, -0.48931971192359924, -0.06671594083309174, -0.18808527290821075, -0.13779878616333008, -0.039292577654123306, -0.23336246609687805, 0.21042750775814056, 0.3044640123844147, 0.3075445592403412, 0.7073320746421814, 0.18805867433547974, -0.4170854389667511, 0.2588900029659271, 0.08894999325275421, 0.11307679116725922, -0.30505043268203735, 0.47526776790618896, 0.1912829428911209, 0.015771545469760895, 0.5876787900924683, -0.213600292801857, -0.10591121017932892, 0.43609458208084106, 0.939319372177124, 1.0722187757492065, -0.18068984150886536, 0.14350174367427826, 0.5096012949943542, 0.3610706627368927, -0.4048430025577545, 0.5256960988044739, 0.184774249792099, -0.6560894250869751, -0.8158467411994934, -0.45045921206474304, -0.17345495522022247, 0.14890418946743011, -0.695000946521759, 0.10903996974229813, -0.39170047640800476, -0.16467706859111786, 0.138776034116745, -0.30128026008605957, -0.5910931825637817, -0.4813985526561737, 0.2797801196575165, 1.3361185789108276, -0.4363541007041931, 1.2058069705963135, 0.5232605338096619, -0.23907215893268585, -0.788321852684021, 0.06825917959213257, 0.18164782226085663, -0.4063451290130615, 0.3624206781387329, 0.024266524240374565, -0.4832640290260315, 0.18937534093856812, -0.07598452270030975, -1.2405441999435425, 0.8540430665016174, 0.5125157237052917, -0.7364110350608826, -0.3518434166908264, -0.5491133332252502, 0.35018599033355713, -0.4675678312778473, 0.14855824410915375, 0.6824206709861755, 0.36312174797058105, 0.163755863904953, -0.7418628931045532, 0.2570691406726837, -0.45227253437042236, 0.23768554627895355, 0.4233146905899048, -0.4853133261203766, 0.7355139851570129, -0.4413915276527405, -0.675375759601593, 0.48811689019203186, 0.8408902883529663, 0.1700141429901123, 0.07822136580944061, 0.369894802570343, 0.40328091382980347, 0.6265474557876587, 0.38348376750946045, 1.199599266052246, -0.31974297761917114, 0.6088532209396362, 1.26847505569458, 0.008164922706782818, 1.1935312747955322, 0.5034381151199341, -0.23776130378246307, 0.28774526715278625, 0.20928072929382324, 0.2749667167663574, 0.6988840699195862, -0.11838994175195694, -0.17423266172409058, -0.3782137632369995, 0.17806722223758698, -0.44052883982658386, 0.33176854252815247, 0.30445927381515503, -0.2551032602787018, -0.5314106941223145, 0.029126908630132675, 0.0659642294049263, 0.028823619708418846, -0.2428816854953766, 0.44926053285598755, 0.12647393345832825, -0.821144163608551, 0.7738405466079712, 0.08433643728494644, 0.7244042754173279, -0.7817420363426208, 0.06774000078439713, -0.28672993183135986, 0.579642653465271, -0.021111207082867622, -0.579594612121582, 0.46970975399017334, 0.04897342622280121, -0.6873310804367065, -0.16481053829193115, 0.6062847375869751, -0.4543546140193939, -0.615210771560669, 0.3623599410057068, 0.4302104711532593, -0.023531388491392136, -0.1826789826154709, -0.3711149990558624, 0.5421908497810364, 0.12536826729774475, -0.218462735414505, -0.007060398813337088, 0.4452162981033325, 0.26384878158569336, 0.6515586376190186, 0.5778416991233826, 0.06427313387393951, -0.2690776586532593, 0.09169876575469971, 0.977647602558136, -0.8145371079444885, -0.6721027493476868, -0.7435564398765564, 0.37709492444992065, 0.24608944356441498, -0.3319960832595825, 0.6259624361991882, 0.3794765770435333, 0.6201804280281067, -0.3318379521369934, 0.7517327666282654, -0.056147534400224686, 0.6179131865501404, -0.5745581984519958, 0.8293437957763672, -0.23191332817077637, 0.32541584968566895, -0.188487246632576, -0.8112180233001709, -0.242317333817482, 0.39725035429000854, 0.01593083143234253, -0.22607484459877014, 0.9682556390762329, 0.8356946706771851, -0.23995907604694366, 0.19352605938911438, 0.24752067029476166, 0.4287564754486084, -0.019805939868092537, 0.8116568922996521, 0.8038780689239502, -0.29394373297691345, 0.5220001339912415, -0.21018603444099426, -0.2881632149219513, -0.26713404059410095, -0.6602692008018494, -1.0639986991882324, -0.4582269489765167, -0.08457827568054199, -0.30217796564102173, 0.09955494105815887, 1.0051950216293335, 0.8206777572631836, -0.8326429724693298, -0.15391816198825836, -0.07743541896343231, 0.02029198780655861, -0.5369069576263428, -0.18291617929935455, 0.27890005707740784, -0.42644786834716797, -0.5664533972740173, 0.7816063761711121, 0.25093379616737366, -0.258762925863266, -0.277964323759079, -0.0017833621241152287, -0.02911461517214775, 0.13155511021614075, 0.7476057410240173, 0.4554925858974457, -0.8445164561271667, -0.07448545098304749, 0.045843783766031265, -0.06946711987257004, -0.2581750750541687, 1.2807984352111816, -0.9231763482093811, 0.503394603729248, 0.6376147270202637, 0.6196524500846863, 0.7002843618392944, -0.2870144546031952, 0.8104129433631897, -0.3294923007488251, 0.5752410888671875, 0.2847941517829895, 0.4932817816734314, -0.18683308362960815, -0.3940320312976837, 0.3858599066734314, 0.11580178886651993, -0.20202793180942535, -0.7088778614997864, 0.325825959444046, -1.1376285552978516, -0.5626775622367859, 0.8917109370231628, -0.09470527619123459, -0.13525542616844177, -0.13351203501224518, -0.45880258083343506, -0.14274300634860992, -0.526896059513092, 0.8106098175048828, 0.4476855397224426, 0.21794918179512024, -0.32750701904296875, -0.43665194511413574, 0.3126097619533539, 0.23038651049137115, -0.4803643524646759, 0.5412829518318176, 0.3576772212982178, 0.170416459441185, 0.24542194604873657, 0.8422852158546448, -0.14957976341247559, 0.6261119842529297, 0.4825611114501953, -0.04887423291802406, -0.16688582301139832, -0.5273723602294922, -0.24313518404960632, 0.36303359270095825, 0.245300754904747, 0.04547051712870598 ]
http://arxiv.org/abs/2403.09892v1
http://arxiv.org/pdf/2403.09892v1
Geographically-Informed Language Identification
2024-03-14T21:55:17
2024-03-14T21:55:17
Jonathan Dunn, Lane Edwards-Brown
cs.CL
cs.CL
This paper develops an approach to language identification in which the set of languages considered by the model depends on the geographic origin of the text in question. Given that many digital corpora can be geo-referenced at the country level, this paper formulates 16 region-specific models, each of which contains the languages expected to appear in countries within that region. These regional models also each include 31 widely-spoken international languages in order to ensure coverage of these linguae francae regardless of location. An upstream evaluation using traditional language identification testing data shows an improvement in f-score ranging from 1.7 points (Southeast Asia) to as much as 10.4 points (North Africa). A downstream evaluation on social media data shows that this improved performance has a significant impact on the language labels which are applied to large real-world corpora. The result is a highly-accurate model that covers 916 languages at a sample size of 50 characters, the performance improved by incorporating geographic information into the model.
[ -0.5421262383460999, -0.8457667827606201, 0.5790558457374573, 0.4126755893230438, -0.0323525108397007, 0.4042869210243225, -0.5915531516075134, -0.919435441493988, 0.23151983320713043, 0.42952072620391846, -0.36306992173194885, -0.6980562210083008, -0.5888386964797974, 0.31418827176094055, -0.4961962103843689, 0.6677790284156799, -0.05504484474658966, -0.1366749405860901, 0.4833025634288788, -0.2060154527425766, -0.15311852097511292, -0.7922713160514832, -0.2972589433193207, -0.01921519823372364, 0.4556127190589905, 0.4121497571468353, 0.72450852394104, 0.8161997199058533, 0.4951961934566498, 0.3702544569969177, -0.24717770516872406, 0.0896228700876236, -0.39591237902641296, -0.4181472957134247, -0.18295790255069733, -0.5316763520240784, -0.015532721765339375, -0.13515828549861908, 0.6681684851646423, 0.785625159740448, 0.04231473430991173, 0.2905155122280121, -0.17272356152534485, 0.40800511837005615, -0.3957977592945099, 0.14044062793254852, -0.6096210479736328, -0.12098860740661621, -0.47840416431427, -0.0752401053905487, -0.35862258076667786, -0.672336220741272, 0.5486935973167419, -0.42264750599861145, 0.495940625667572, -0.12176540493965149, 1.0249158143997192, -0.34341755509376526, -0.42645585536956787, -0.5619415044784546, -1.1556830406188965, 0.698359489440918, -0.36749202013015747, 0.4441055655479431, 0.6580716371536255, 0.39339950680732727, -0.03715506196022034, -0.15176858007907867, -0.226782888174057, -0.05497835576534271, -0.14898091554641724, -0.1636151522397995, -0.07463633269071579, -0.2669597566127777, 0.2068282812833786, 0.3913848102092743, -0.557440996170044, 0.17908361554145813, -0.6235899925231934, -0.23814518749713898, 0.7243285775184631, -0.2702180743217468, 0.6631126403808594, -0.05985966697335243, -0.20044927299022675, 0.18760177493095398, -0.9303833246231079, 0.024826422333717346, 0.6188748478889465, 0.8242320418357849, -0.43303191661834717, 0.5077270269393921, -0.4545883536338806, 0.758700430393219, 0.04363087937235832, -0.38246092200279236, 0.2987218499183655, -0.4257718324661255, -0.04592352360486984, 0.1611369550228119, 0.6869298815727234, 0.0069090453907847404, 0.4664999544620514, -0.30619391798973083, -0.2685926556587219, -0.2869773507118225, -0.1503290981054306, -0.4690661132335663, -0.08588045835494995, 0.15204715728759766, -0.3095532953739166, -0.06207874044775963, 0.3502171039581299, -0.7340439558029175, -0.29795950651168823, -0.4746512770652771, 0.0016104000387713313, -0.4452846944332123, -0.5996283292770386, -0.32837599515914917, 0.08798614889383316, 0.17535065114498138, -0.0801311731338501, -1.11539888381958, 0.19990552961826324, 0.6840209364891052, 0.945690929889679, 0.08790962398052216, -0.3165140151977539, -0.05458395555615425, -0.0259593166410923, -0.5409465432167053, 0.9227439761161804, -0.755128026008606, -0.12209729105234146, 0.42324668169021606, 0.3980908989906311, 0.14149712026119232, -0.6635340452194214, 0.16667939722537994, -0.958985447883606, 0.29218757152557373, -0.7382718324661255, -0.09920325875282288, -0.5495789647102356, 0.037840135395526886, -1.0339890718460083, 1.247693419456482, 0.4810284674167633, -0.7077309489250183, 0.5605918169021606, -0.3537820279598236, -0.3011431396007538, 0.3259963393211365, 0.013368592597544193, -0.002058823360130191, 0.13942396640777588, 0.4133423864841461, 0.15061944723129272, -0.316218763589859, 0.6497381925582886, -0.2155744433403015, -0.34405696392059326, 0.13243579864501953, -0.3387131989002228, 1.0858869552612305, 0.42255836725234985, -0.4125240743160248, -0.05370447039604187, -1.075838565826416, -0.06771894544363022, 0.047210924327373505, -0.27292197942733765, -0.6785524487495422, -0.04737113416194916, 0.11492814123630524, 0.07788582146167755, 0.4197421967983246, -0.6680901050567627, -0.07694058120250702, -0.4952488839626312, 0.11918126046657562, 0.4856785535812378, 0.02863161265850067, 0.7595572471618652, 0.021050121635198593, 0.7718772292137146, -0.1755143702030182, -0.06986663490533829, 0.141751229763031, -0.48829385638237, -0.46931543946266174, -0.5510605573654175, 0.773716151714325, 0.9011560678482056, -0.689072847366333, 0.4801262617111206, -0.38993141055107117, -0.8675718903541565, -0.4846363961696625, 0.07956255972385406, 0.263461709022522, 0.06125807762145996, 0.055808089673519135, -0.1308874785900116, -0.7201535105705261, -0.9094803929328918, 0.06255105882883072, -0.3066932260990143, -0.2590663731098175, 0.2624131739139557, 0.3685237467288971, -0.10062126815319061, 1.0905834436416626, -0.3180932104587555, 0.19163502752780914, -0.4057876467704773, -0.12088599801063538, 0.16922762989997864, -0.049348849803209305, 0.8222103118896484, -0.7016189098358154, -0.568105161190033, 0.2739105522632599, -0.574755847454071, -0.5468325614929199, 0.026854725554585457, -0.30276259779930115, 0.29788199067115784, 0.3559487760066986, -0.08434895426034927, 0.3172345757484436, 0.8739697933197021, -0.236811563372612, 0.3403189182281494, -0.32332444190979004, 0.27647385001182556, -0.9811217188835144, 0.2012830376625061, 0.32981187105178833, 0.14176253974437714, -0.6260499358177185, 0.06712385267019272, 0.13217762112617493, -0.17658746242523193, -0.2954222857952118, 0.7074538469314575, -0.5027439594268799, -0.11185235530138016, 0.07125881314277649, 0.48462435603141785, -0.3746020197868347, 0.24850615859031677, 0.420727014541626, 0.7609646320343018, 0.39508873224258423, -0.5634464621543884, 0.13980801403522491, -0.07236558943986893, -0.864294171333313, 0.33471012115478516, -0.5408271551132202, -0.19818659126758575, -0.2824275493621826, 0.05277930200099945, -1.0437802076339722, -0.25832241773605347, 0.09287634491920471, -0.2500419616699219, 0.014512824825942516, -0.3298071622848511, -0.3743816614151001, -0.06690366566181183, 0.4404526948928833, 0.3809662461280823, -0.013996931724250317, -0.7660087943077087, 0.3936004936695099, 0.7253434658050537, -0.5361723899841309, -0.589481770992279, -0.567753791809082, 0.08087418228387833, -0.599459707736969, -0.4406227469444275, 0.24305351078510284, 0.05655525624752045, -0.5194671750068665, -0.17694519460201263, 0.4606839418411255, -0.5375739336013794, 0.2947969138622284, 0.07432551681995392, 0.0721936896443367, -0.270682692527771, 0.2576369643211365, -0.15749146044254303, 0.012771139852702618, -0.020965496078133583, -0.16867704689502716, 0.4241548776626587, 0.015940938144922256, -0.043390240520238876, -0.36803585290908813, 0.669448971748352, 0.43605414032936096, -0.7348789572715759, 0.8292033076286316, 0.43322548270225525, -0.5669696927070618, -0.1373385488986969, -0.34524866938591003, 0.1262180507183075, -0.4463946223258972, 0.40032392740249634, -0.632376492023468, -0.6061124205589294, 0.9928485751152039, -0.1274336278438568, -0.2629826068878174, 0.4832497239112854, 0.49721434712409973, 0.2799271047115326, 0.7896556854248047, 1.1780415773391724, -0.5525259971618652, 0.7386360764503479, -0.08209183812141418, 0.6064305305480957, -0.15128889679908752, -0.15228360891342163, -0.9564349055290222, -0.03952181339263916, -1.1978117227554321, -0.32758840918540955, 0.0040386333130300045, 0.17264695465564728, -0.26380807161331177, 0.5512120127677917, -0.23940034210681915, 0.5830340385437012, 0.6095836162567139, -0.1647534966468811, 0.1486780196428299, 0.4043176770210266, -0.3936043381690979, -0.095229871571064, -0.677527666091919, -0.8089076280593872, 0.7690370678901672, 0.41042274236679077, 0.45082974433898926, 0.5840084552764893, 0.5884748101234436, 0.037365105003118515, 0.5540220141410828, -0.5487893223762512, 0.2705804705619812, -0.02402147278189659, -0.898434579372406, -0.19510748982429504, -0.36099961400032043, -0.7670618891716003, 0.10934893786907196, -0.10202483832836151, -0.942040205001831, 0.2061028927564621, -0.24382522702217102, -0.2953047454357147, 0.08333093672990799, -0.8077895641326904, 0.5418601036071777, -0.4633016586303711, 0.10856649279594421, 0.21024268865585327, -0.3983045518398285, 0.29681453108787537, -0.44940051436424255, 0.5982944369316101, -0.14106887578964233, 0.2613236606121063, 0.5658644437789917, -0.2346941977739334, 0.920704185962677, -0.22602307796478271, -0.3591476082801819, 0.5800459384918213, -0.02679499238729477, 0.09686192870140076, -0.05898120626807213, -0.3446615934371948, 0.6314014792442322, 0.05023480951786041, -0.37732288241386414, -0.47807392477989197, 0.6700894832611084, -0.8863855600357056, -0.2127358466386795, -0.2916521728038788, -0.3386664092540741, -0.046211741864681244, 0.45960676670074463, 0.1843041181564331, 0.793642520904541, -0.28499796986579895, 0.0027297327760607004, 0.5547803044319153, -0.5998502969741821, 0.3369320333003998, 0.7817584276199341, -0.2505916953086853, -0.5695178508758545, 0.7045325040817261, 0.3232713043689728, 0.17003056406974792, 0.5302577614784241, 0.20469249784946442, -0.4535249173641205, -0.2583838701248169, -0.4283674359321594, 0.5349540114402771, -0.7840263247489929, 0.1792808175086975, -0.256939560174942, -0.02526658959686756, -0.16523440182209015, -0.2264004647731781, -0.14824289083480835, -0.10807442665100098, -0.05788886919617653, -0.21662187576293945, 0.2968640923500061, 1.0617960691452026, -0.05681440979242325, 0.49211880564689636, -0.574564516544342, 0.05886293202638626, -0.26145312190055847, 0.5634840130805969, -0.10290461033582687, -0.42170649766921997, -0.32172316312789917, 0.1077202633023262, 0.2808964252471924, -1.061212420463562, 0.46008187532424927, 0.04421638697385788, 0.7057858109474182, 0.4044840633869171, -0.059293124824762344, 0.8797447681427002, -0.6509180665016174, 0.6887807846069336, -0.3397456407546997, -0.8542394042015076, 0.44169914722442627, -0.34435412287712097, 0.618108332157135, 0.5375335812568665, 0.8446641564369202, -0.6327807307243347, -0.7034953832626343, -0.3400377929210663, -0.8522796630859375, 0.3974755108356476, -0.3513842821121216, 0.12810732424259186, -0.36399462819099426, 0.40342360734939575, -0.014590892009437084, -0.22088073194026947, -0.7411186099052429, -0.09244472533464432, 0.3544370234012604, -0.4254375994205475, -0.2913956940174103, -0.39383792877197266, 0.010605644434690475, 0.06298699975013733, 0.6722864508628845, -0.17928126454353333, 0.20954236388206482, 0.2115553766489029, -0.2891268730163574, -0.11864025145769119, 0.14538060128688812, 0.8192349672317505, 1.1487736701965332, -0.11382652074098587, 0.1150464415550232, -0.0388396680355072, -0.33465468883514404, 0.01303795538842678, -0.02763277478516102, -0.303833931684494, 0.28695186972618103, 0.3953128755092621, 0.5044191479682922, -0.03023388981819153, -0.4387761652469635, 0.10488971322774887, -0.27431929111480713, 0.12420041859149933, -0.4352525472640991, -0.3686504364013672, 0.10725808143615723, 0.31426385045051575, 0.39765211939811707, -0.22133409976959229, -0.046392299234867096, -0.49732300639152527, 0.19334061443805695, 0.34249943494796753, -0.5514872670173645, -0.5238078236579895, 0.43004709482192993, 0.22808389365673065, -0.464097261428833, 0.6298059225082397, -0.2065040022134781, -0.883761465549469, 0.774356484413147, 0.627216100692749, 0.6427933573722839, -0.5150916576385498, 0.29624488949775696, 0.7650160789489746, 0.675209641456604, 0.11174684017896652, 0.3830787241458893, 0.09128358960151672, -0.6861175894737244, -0.4629487693309784, -0.5957809686660767, -0.18026220798492432, 0.10967407375574112, -0.5795819163322449, 0.398807168006897, -0.2544737756252289, -0.25125956535339355, 0.046300001442432404, 0.28801706433296204, -0.7084360122680664, 0.41770726442337036, 0.4365703761577606, 1.0165636539459229, -1.4513415098190308, 0.821208119392395, 0.4887239336967468, -0.10156727582216263, -0.7574652433395386, -0.019153594970703125, 0.13807399570941925, -0.4453008770942688, 0.830240786075592, 0.22863641381263733, -0.20736809074878693, -0.2221999168395996, -0.4034004509449005, -1.5499992370605469, 0.701955258846283, 0.0494576096534729, -0.4708938002586365, 0.4665779173374176, 0.26620808243751526, 0.8375481367111206, -0.5637012124061584, 0.44076022505760193, 0.5821853876113892, 0.25694021582603455, -0.10628538578748703, -1.0903642177581787, 0.015049786306917667, -0.13435660302639008, 0.29248321056365967, 0.3292813003063202, -0.4255574643611908, 0.4351550340652466, -0.3255215883255005, -0.5062196254730225, 0.1274126023054123, 0.7084800601005554, 0.35997116565704346, -0.07278551906347275, 0.46019041538238525, -0.008070659823715687, 1.1931055784225464, -0.23233522474765778, 0.9095495343208313, -0.706940770149231, 0.2669890522956848, 1.0840916633605957, -0.21573209762573242, 1.0353021621704102, 0.0847114846110344, -0.09621869027614594, 0.522252082824707, 0.8734884858131409, 0.1133953407406807, 0.6385919451713562, 0.20497481524944305, -0.39634349942207336, 0.23330503702163696, -0.21256132423877716, -0.14520412683486938, 0.883898138999939, 0.4639304578304291, -0.47893738746643066, -0.1623331755399704, -0.17597313225269318, 0.20662997663021088, 0.07979722321033478, -0.09165508300065994, 0.5780948996543884, -0.38169920444488525, -0.8964794278144836, 0.4770723879337311, 0.3688504099845886, 0.33630576729774475, -0.629048228263855, 0.1511128842830658, -0.31094032526016235, 0.15022030472755432, -0.18935537338256836, -0.5486434698104858, 0.3337796628475189, 0.23443475365638733, -0.34852394461631775, 0.0021659855265170336, 0.4547679126262665, -0.9482197761535645, -0.7198733687400818, 0.41727012395858765, 0.3440869450569153, 0.25927457213401794, 0.1840180605649948, -0.49091488122940063, 0.11302141100168228, 0.17153728008270264, -0.022004136815667152, 0.02632169798016548, 0.6563909649848938, -0.6595091819763184, 0.46205413341522217, 0.48128411173820496, 0.15980547666549683, 0.06886693835258484, 0.0925116315484047, 0.12987975776195526, -0.7036535739898682, -0.6038830876350403, -0.6355955004692078, 0.18067492544651031, -0.15724791586399078, -0.26363205909729004, 0.8298645615577698, 0.5364603996276855, 1.0509735345840454, 0.02705463580787182, 1.0682328939437866, -0.2715202867984772, 0.6999070644378662, -0.17586219310760498, 0.7478368282318115, -0.22122210264205933, 0.2304171323776245, -0.3684949278831482, -0.9679441452026367, -0.4449005424976349, 0.6927412748336792, -0.776634693145752, 0.043013982474803925, 0.5589537620544434, 0.8702496886253357, 0.026526978239417076, -0.043634455651044846, 0.10973074287176132, -0.09996526688337326, 0.39733704924583435, 0.17342837154865265, 0.5428791046142578, -0.40646475553512573, 0.20757423341274261, -0.6828917264938354, -0.434702068567276, -0.00022686412557959557, -1.026165246963501, -0.5329587459564209, -0.643692135810852, -0.4124545156955719, -0.20473246276378632, -0.38296592235565186, 0.5993847846984863, 0.6755167841911316, -1.0167280435562134, -0.4254469871520996, 0.4369974136352539, 0.11451993137598038, -0.18758106231689453, -0.2566867768764496, 0.2881457805633545, 0.10702242702245712, -0.8763970136642456, 0.34948644042015076, 0.13816286623477936, -0.05926410108804703, -0.3290131390094757, 0.21079391241073608, -0.3555312156677246, 0.025934606790542603, 0.7270265221595764, 0.3856283724308014, -0.7084223628044128, -0.48956629633903503, 0.0325559563934803, -0.2659907042980194, -0.09167321026325226, 0.5931446552276611, -0.5869629383087158, 0.6497822999954224, 0.3987341821193695, 0.3869898319244385, 0.0013750563375651836, 0.37956589460372925, 0.6862363815307617, -0.7417335510253906, 0.37213853001594543, -0.2541000247001648, 0.18630629777908325, 0.7092971205711365, -0.3546370267868042, 0.5351972579956055, 0.016658777371048927, -0.5095488429069519, -0.5199874043464661, 0.11527860164642334, -0.580467939376831, -0.03108852170407772, 1.3407171964645386, -0.3567308783531189, -0.44697803258895874, -0.3190633952617645, -0.018722467124462128, 0.07018183916807175, -0.02829779125750065, 0.7740378975868225, 0.9887638092041016, 0.4919293522834778, -0.06821241974830627, -0.8390266299247742, 0.33940449357032776, -0.14340178668498993, -0.5794221758842468, -0.01492257695645094, 0.48834630846977234, 0.6773953437805176, 0.45494017004966736, 0.7111417055130005, -0.24566034972667694, -0.09584826231002808, -0.19691647589206696, 0.16893567144870758, 0.7834065556526184, -0.5680814981460571, -0.3997673988342285, 0.14868542551994324, 0.19854162633419037, 0.08488838374614716 ]
http://arxiv.org/abs/2403.09891v3
http://arxiv.org/pdf/2403.09891v3
Fisher Mask Nodes for Language Model Merging
2024-03-14T21:52:26
2024-05-03T13:12:40
Thennal D K, Ganesh Nathan, Suchithra M S
cs.CL
cs.CL, cs.AI, cs.LG
Fine-tuning pre-trained models provides significant advantages in downstream performance. The ubiquitous nature of pre-trained models such as BERT and its derivatives in natural language processing has also led to a proliferation of task-specific fine-tuned models. As these models typically only perform one task well, additional training or ensembling is required in multi-task scenarios. The growing field of model merging provides a solution, dealing with the challenge of combining multiple task-specific models into a single multi-task model. In this study, we introduce a novel model merging method for Transformers, combining insights from previous work in Fisher-weighted averaging and the use of Fisher information in model pruning. Utilizing the Fisher information of mask nodes within the Transformer architecture, we devise a computationally efficient weighted-averaging scheme. Our method exhibits a regular and significant performance increase across various models in the BERT family, outperforming full-scale Fisher-weighted averaging in a fraction of the computational cost, with baseline performance improvements of up to +6.5 and a speedup between 57.4x and 321.7x across models. Our results prove the potential of our method in current multi-task learning environments and suggest its scalability and adaptability to new model architectures and learning scenarios.
[ -0.6195226907730103, -0.37068596482276917, 0.09510235488414764, 0.07539761811494827, -0.4025530517101288, 0.21745911240577698, -0.38688895106315613, -0.5886172652244568, 0.06799229234457016, 0.4055790901184082, -0.5645442008972168, -0.1980847269296646, -0.8727317452430725, -0.1746087372303009, -0.47127798199653625, 0.7712972164154053, 0.12109678983688354, -0.081634521484375, 0.08600624650716782, -0.06698759645223618, -0.5561782717704773, -0.25137823820114136, -0.7061414122581482, -0.24315263330936432, 0.5065330266952515, 0.20777615904808044, 0.7607879042625427, 0.6361003518104553, 0.7589433193206787, 0.44225698709487915, 0.1720389574766159, 0.4995304048061371, -0.3039391338825226, 0.1980508416891098, -0.21167223155498505, -0.21776250004768372, -0.7302831411361694, 0.28121083974838257, 0.8851401209831238, 0.7632086873054504, -0.08813100308179855, 0.3765917122364044, 0.39116355776786804, 0.451768696308136, -0.7151163220405579, 0.1786060780286789, -0.7638517618179321, 0.22333765029907227, -0.11933282017707825, -0.222052201628685, -0.4984738230705261, -0.10107877105474472, 0.07976716011762619, -0.5745880007743835, 0.37243688106536865, -0.11698883771896362, 0.825825572013855, 0.3143291175365448, -0.3425496518611908, 0.2725178897380829, -0.9119871258735657, 1.222817063331604, -0.8152440786361694, 0.5868158340454102, -0.016959568485617638, 0.3511524796485901, 0.22304636240005493, -0.6204381585121155, -0.8126428127288818, 0.28784066438674927, -0.4223689138889313, -0.003990932367742062, -0.6197951436042786, 0.08857520669698715, 0.03760555014014244, 0.08994203805923462, -0.4559199810028076, -0.0017562555149197578, -0.7266011238098145, -0.15792341530323029, 0.5753350257873535, -0.02306474931538105, -0.010437135584652424, 0.03908412903547287, -0.5498664379119873, -0.5553582906723022, -0.26124653220176697, 0.028827538713812828, 0.44011741876602173, 0.7984209060668945, 0.08989221602678299, 0.5139906406402588, -0.041344355791807175, 0.8895760178565979, 0.007907325401902199, -0.18605086207389832, 0.3057129681110382, -0.32280203700065613, -0.3600753843784332, -0.09236270934343338, 0.7400960326194763, 0.44520533084869385, 0.3873237073421478, -0.10115362703800201, -0.29702264070510864, 0.12385623157024384, 0.5832312703132629, -0.6060613393783569, -0.380776047706604, 0.08747823536396027, -0.45025691390037537, -0.278167724609375, -0.07812211662530899, -0.5153704285621643, -0.04778392240405083, -0.6197229623794556, 0.6066897511482239, -0.25297775864601135, -0.6235591769218445, 0.0955987423658371, -0.1531365066766739, 0.2216184288263321, 0.2369258850812912, -0.5635693073272705, 0.27367159724235535, 0.9092733263969421, 0.6375330686569214, -0.3659690320491791, -0.4503052234649658, -0.6984620690345764, -0.018228493630886078, -0.34060782194137573, 0.67519611120224, -0.47757285833358765, -0.18248887360095978, -0.05543583258986473, -0.04108427092432976, -0.563980221748352, -0.643178403377533, 0.4441184997558594, -0.62918621301651, 0.20978029072284698, 0.19625915586948395, -0.29723578691482544, -0.2933652997016907, 0.18671497702598572, -0.765017569065094, 1.3310744762420654, 0.41462939977645874, -0.5808320641517639, 0.2678830027580261, -0.5363956689834595, -0.564712405204773, 0.03738866001367569, 0.20118290185928345, -0.4969361126422882, 0.10898987948894501, 0.20373572409152985, 0.8947407007217407, -0.4155256152153015, 0.319114089012146, -0.11576119065284729, -0.3378514349460602, 0.04477429389953613, -0.2335660457611084, 0.723239004611969, 0.29563605785369873, -0.08735227584838867, 0.36137035489082336, -0.5688353180885315, 0.0728829875588417, -0.13676655292510986, -0.14220310747623444, -0.22534015774726868, -0.23869995772838593, 0.15859071910381317, 0.3667498826980591, 0.11598779261112213, -0.3448517918586731, 0.13134512305259705, -0.12853698432445526, 0.3404412865638733, 0.593115508556366, -0.23624376952648163, 0.8720484375953674, -0.6839486360549927, 0.5264880061149597, 0.25569525361061096, 0.23533891141414642, -0.25488168001174927, -0.6846824884414673, -0.7881606817245483, -0.5891370177268982, 0.45357048511505127, 0.40326637029647827, -0.6814066767692566, 0.3946293592453003, -0.4771435260772705, -0.7372721433639526, -0.7659512758255005, 0.290530264377594, 0.3800596594810486, 0.7620088458061218, 0.7227339148521423, -0.5641719102859497, -0.6481519341468811, -0.9065725803375244, -0.3891472816467285, 0.04427848383784294, -0.5243733525276184, 0.050803929567337036, 0.025765713304281235, -0.10701137781143188, 1.1766917705535889, -0.43846598267555237, -0.51002037525177, -0.18782523274421692, 0.2374931424856186, 0.4669433534145355, 0.8586254119873047, 0.4556771516799927, -0.8089304566383362, -0.7038025856018066, -0.008672946132719517, -0.3117186725139618, 0.11797468364238739, -0.08758815377950668, -0.2541896104812622, -0.0921519473195076, 0.3855656683444977, -0.8897767663002014, 0.15974538028240204, 0.6810805797576904, 0.08515072613954544, 0.34463271498680115, 0.13877733051776886, 0.06732673197984695, -1.119173526763916, -0.05197262018918991, 0.09922923892736435, -0.31608328223228455, -0.9363318085670471, 0.0983678549528122, 0.2169419825077057, -0.080024354159832, -0.5268992185592651, 0.47755947709083557, -0.32060864567756653, 0.18199722468852997, -0.2136630117893219, 0.03330526500940323, -0.053667277097702026, 0.8019020557403564, -0.23492257297039032, 0.472223162651062, 0.7978184819221497, -0.8081693053245544, 0.1999465972185135, 0.04945291206240654, -0.15041998028755188, 0.48857036232948303, -0.3660238981246948, 0.02004387229681015, -0.19311928749084473, 0.11632826179265976, -1.0954500436782837, 0.11219223588705063, 0.25899478793144226, -0.4049500823020935, 0.5485678315162659, -0.2364380657672882, -0.1391025334596634, -0.23598219454288483, -0.47653424739837646, 0.5847892165184021, 0.558268129825592, -0.5128989815711975, 1.44579017162323, 0.32932594418525696, -0.30382341146469116, -0.7869433164596558, -0.5115600824356079, -0.17735788226127625, -0.2536334693431854, -0.7272930145263672, 0.9259105920791626, -0.0701628252863884, 0.1149175688624382, 0.18162734806537628, -0.14011946320533752, -0.29776379466056824, -0.10341032594442368, 0.004795074462890625, 0.5177416205406189, -0.4300289750099182, 0.12795746326446533, 0.18908651173114777, -0.12274814397096634, -0.33467191457748413, -0.2944142818450928, 0.5291510224342346, 0.24285900592803955, -0.18272802233695984, -0.48667994141578674, 0.32614684104919434, 0.6263946294784546, -0.4948870539665222, 0.9369586706161499, 0.8759552240371704, -0.5038067102432251, -0.34273236989974976, -0.7784655094146729, -0.2750476002693176, -0.51270991563797, 0.2834119498729706, -0.2583829462528229, -0.9612184166908264, 0.586172878742218, -0.12371695041656494, 0.4207324981689453, 0.6644006371498108, 0.2114487886428833, -0.12305406481027603, 0.9509009122848511, 0.7787078619003296, -0.13888798654079437, 0.6812986731529236, -0.2510995864868164, 0.6169558167457581, -0.8822249174118042, -0.014086460694670677, -0.406878262758255, -0.6795366406440735, -0.4578193724155426, -0.8137117028236389, 0.1832205057144165, 0.2548713684082031, -0.16997130215168, 0.702728807926178, -0.7517616748809814, 0.42689093947410583, 0.6227436065673828, -0.011451004073023796, 0.3762189745903015, 0.16203097999095917, -0.012480217032134533, 0.14418944716453552, -0.8625733852386475, -0.16091714799404144, 1.0137418508529663, 0.30866101384162903, 0.31476572155952454, 0.0700460746884346, 0.5341446995735168, 0.03326671943068504, 0.5372884273529053, -0.7419916391372681, 0.5686020255088806, -0.3794671595096588, -0.3903016746044159, -0.5650152564048767, -0.4800419509410858, -0.8958578705787659, 0.7021847367286682, -0.5382663011550903, -0.5303467512130737, 0.3723335564136505, 0.2983224391937256, -0.5310992002487183, 0.27313876152038574, -0.8130189180374146, 0.6404398679733276, 0.31478238105773926, -0.018137531355023384, -0.26567962765693665, -0.5256715416908264, 0.6294497847557068, -0.4262688457965851, 0.19570741057395935, -0.33722513914108276, 0.2608374357223511, 0.7332241535186768, -0.10938334465026855, 0.7273268699645996, -0.10816720128059387, -0.06151686608791351, 0.2470104992389679, 0.032185789197683334, 0.44884607195854187, -0.360455185174942, 0.07277017831802368, 0.4153708517551422, -0.06587964296340942, -0.19610801339149475, -0.5445725917816162, 0.3837571442127228, -0.5137969851493835, -0.3638649880886078, -0.05897898972034454, -0.7049733996391296, -0.3341110348701477, 0.10349646210670471, -0.03607974946498871, 0.36535224318504333, 0.38535499572753906, 0.2215697169303894, 0.37297847867012024, 0.07241911441087723, 0.6233190894126892, 0.5370151996612549, 0.01793772168457508, -0.25877103209495544, 0.8009814620018005, 0.11739949136972427, 0.13642294704914093, 0.4861576557159424, 0.09557007998228073, -0.057868264615535736, -0.31666094064712524, -0.04125882312655449, 0.11464804410934448, -0.48363056778907776, -0.8677695393562317, -0.6355255842208862, -0.5418521761894226, -0.5249148011207581, -0.02426338940858841, -0.5141194462776184, -0.5665408372879028, 0.07439684122800827, 0.19229131937026978, 0.1632661372423172, 0.45407605171203613, 0.024450471624732018, 0.8259841203689575, -1.219936490058899, 0.28433138132095337, 0.587267279624939, 0.4969361126422882, 0.2946385443210602, -0.43432554602622986, -0.2731283903121948, -0.026894068345427513, -0.3325546979904175, -0.7032749056816101, 0.35882920026779175, 0.3722538352012634, 0.5528044700622559, 0.2827305197715759, 0.17304694652557373, 0.82757568359375, -0.5477607250213623, 0.41565361618995667, 0.36240333318710327, -1.0220017433166504, -0.03863392025232315, -0.17386874556541443, 0.3293505609035492, 0.2474432736635208, 0.3694670498371124, -0.5226557850837708, -0.4348200261592865, -0.45082053542137146, -0.9770344495773315, 0.9111809730529785, 0.26045188307762146, 0.13107830286026, 0.1694236695766449, 0.003958573564887047, -0.27591031789779663, 0.21224719285964966, -0.4907088279724121, -0.16460801661014557, 0.05897526815533638, -0.5120804905891418, -0.23762686550617218, -0.03592262044548988, -0.3364030420780182, -0.6302141547203064, 0.6508876085281372, -0.13332927227020264, 0.28457072377204895, -0.21611528098583221, -0.34448298811912537, -0.19461771845817566, 0.01507322397083044, 0.4961482584476471, 0.5958964228630066, -0.10631878674030304, 0.2667282223701477, 0.25730812549591064, -0.5272111296653748, -0.31899482011795044, 0.38420408964157104, 0.350162148475647, 0.1428438276052475, 0.509774386882782, 0.6262966990470886, 0.6084645390510559, -0.49571919441223145, 0.4665208160877228, -0.14636291563510895, -0.28663384914398193, 0.12200624495744705, 0.22340993583202362, 0.08585276454687119, 0.5592708587646484, 0.7448813319206238, 0.584190309047699, -0.19120316207408905, -0.15698456764221191, 0.24451355636119843, 0.5632925033569336, -0.06370366364717484, -0.23551110923290253, 0.34603625535964966, 0.11816474050283432, -0.31501829624176025, 0.6858890652656555, -0.048115815967321396, -0.7061440348625183, 0.4463568925857544, 0.2526794970035553, 0.8785185217857361, -0.7329832911491394, -0.02740979939699173, 0.5082369446754456, 0.48636361956596375, -0.10305845737457275, -0.004392907954752445, -0.31706178188323975, -1.1131174564361572, -0.8054907917976379, -0.8521756529808044, -0.1856110394001007, -0.14948491752147675, -0.5859280824661255, 0.28024646639823914, -0.07200171053409576, -0.4155428409576416, 0.2252151519060135, -0.1645105481147766, -0.8941571116447449, 0.13952212035655975, -0.06764808297157288, 0.6840362548828125, -0.9006152749061584, 0.9832115769386292, 0.47596436738967896, 0.1799827218055725, -1.041911005973816, -0.32153812050819397, -0.4556407034397125, -0.5039056539535522, 0.44539809226989746, 0.18267300724983215, -0.1779746562242508, 0.0847148448228836, -0.07888805121183395, -0.9847893118858337, 0.9978327751159668, 0.5794371962547302, -0.5926870107650757, -0.05725574865937233, 0.18209755420684814, 0.2029644399881363, -0.5709249377250671, 0.18137647211551666, 0.6806426644325256, 0.398539662361145, 0.26871269941329956, -1.2151659727096558, -0.0033414140343666077, -0.28493428230285645, -0.014853695407509804, 0.5547037720680237, -0.17579349875450134, 1.1543667316436768, 0.17132960259914398, -0.45832547545433044, -0.3571585714817047, 0.5783296823501587, 0.06443675607442856, 0.08081748336553574, 0.9460084438323975, 0.3550156354904175, 0.8282418251037598, -0.1411624699831009, 0.49356552958488464, -0.7962211966514587, 0.6649524569511414, 1.0981968641281128, -0.17268869280815125, 0.9537658095359802, 0.4338383376598358, -0.2876166105270386, 0.19216479361057281, 0.2666768729686737, 0.01608061045408249, 0.3606007397174835, -0.12490144371986389, -0.18347905576229095, -0.37463563680648804, -0.00927193183451891, -0.3298831582069397, 0.6059362888336182, 0.09354878216981888, -0.2853645086288452, -0.28702467679977417, 0.07209572196006775, -0.25521281361579895, -0.10597946494817734, -0.23058505356311798, 0.5850836634635925, -0.1436431109905243, -0.7165787816047668, 0.4028579890727997, 0.2796851098537445, 1.0095202922821045, -0.6573631763458252, -0.16556809842586517, 0.15816199779510498, 0.22997386753559113, -0.19678157567977905, -0.3765954375267029, 0.5284174680709839, -0.25709637999534607, -0.22399333119392395, -0.6335080862045288, 0.8258431553840637, -0.777739405632019, -0.5935661792755127, 0.32627272605895996, 0.368818461894989, -0.2174207866191864, -0.27380141615867615, -0.46423017978668213, 0.18941542506217957, -0.2217859923839569, -0.03324822336435318, 0.2434842437505722, -0.05581548437476158, 0.04655139148235321, 0.40890365839004517, 0.7798473238945007, -0.13410203158855438, 0.43568792939186096, -0.12378963828086853, 1.011887788772583, -0.3133237063884735, -0.3884136378765106, -0.7371484041213989, 0.7756383419036865, -0.08154672384262085, -0.17919187247753143, 0.5570600628852844, 0.5448252558708191, 1.0935957431793213, -0.11619327962398529, 0.33079490065574646, 0.18768972158432007, 0.6827830076217651, -0.30085426568984985, 0.8412621021270752, -0.4415179491043091, 0.06967966258525848, -0.14580138027668, -1.3628337383270264, -0.2918202579021454, 0.6661238074302673, 0.12045387923717499, 0.20128008723258972, 0.5353530049324036, 0.7593987584114075, -0.39289799332618713, -0.11435685306787491, 0.3263477087020874, 0.024769915267825127, 0.08229531347751617, 0.355420857667923, 0.4043937623500824, -0.517530620098114, 0.34551119804382324, -0.508137583732605, -0.11712954938411713, 0.013244465924799442, -0.9368085265159607, -0.7388708591461182, -0.7268841862678528, -0.3923960030078888, -0.05602440610527992, -0.37281307578086853, 0.9185460805892944, 1.0644497871398926, -0.7374261617660522, -0.1688995659351349, 0.2686471939086914, 0.1348721981048584, -0.5916093587875366, -0.23682767152786255, 0.34894460439682007, -0.505588173866272, -1.008467674255371, 0.44152307510375977, 0.19493402540683746, -0.1997937262058258, -0.18176232278347015, -0.02665984258055687, -0.20052583515644073, 0.296642929315567, 0.6646115183830261, -0.06448331475257874, -0.3895454406738281, 0.07593348622322083, -0.1349496990442276, 0.10812586545944214, 0.061636362224817276, 1.0423541069030762, -0.9903656840324402, 0.5454627275466919, 0.41425707936286926, 0.692634105682373, 0.44512906670570374, -0.06101693958044052, 0.6743744611740112, -1.1967968940734863, 0.16486863791942596, 0.30993130803108215, 0.2709892988204956, 0.3754241168498993, -0.2621070146560669, 0.37185797095298767, -0.013306331820786, -0.0300713162869215, -1.1668589115142822, 0.0751807764172554, -1.0012611150741577, -0.15754881501197815, 0.5087798237800598, 0.046559881418943405, 0.0033408908639103174, 0.0647532045841217, 0.20526345074176788, 0.6569094061851501, -0.0834304466843605, 0.42274996638298035, 0.5046124458312988, 0.051579974591732025, -0.24457795917987823, -0.49025553464889526, 0.4110057055950165, 0.4255315065383911, -0.4426285922527313, -0.1509568989276886, -0.2349635511636734, 0.15053893625736237, 0.4807446002960205, 0.27849000692367554, 0.14860540628433228, 0.19750440120697021, -0.30721989274024963, 0.18115057051181793, -0.1697995811700821, -0.5074069499969482, -0.4424818456172943, 0.33844196796417236, -0.32900270819664, -0.3017699420452118 ]
http://arxiv.org/abs/2403.09887v2
http://arxiv.org/pdf/2403.09887v2
Sabiá-2: A New Generation of Portuguese Large Language Models
2024-03-14T21:44:48
2024-03-26T23:52:35
Thales Sales Almeida, Hugo Abonizio, Rodrigo Nogueira, Ramon Pires
cs.CL
cs.CL, cs.AI
We introduce Sabi\'a-2, a family of large language models trained on Portuguese texts. The models are evaluated on a diverse range of exams, including entry-level tests for Brazilian universities, professional certification exams, and graduate-level exams for various disciplines such as accounting, economics, engineering, law and medicine. Our results reveal that our best model so far, Sabi\'a-2 Medium, matches or surpasses GPT-4's performance in 23 out of 64 exams and outperforms GPT-3.5 in 58 out of 64 exams. Notably, specialization has a significant impact on a model's performance without the need to increase its size, allowing us to offer Sabi\'a-2 Medium at a price per token that is 10 times cheaper than GPT-4. Finally, we identified that math and coding are key abilities that need improvement.
[ -0.38739389181137085, -0.6907191276550293, 0.22790835797786713, 0.4143386781215668, -0.36165645718574524, 0.02070704475045204, -0.2376917004585266, -0.719486653804779, 0.21362638473510742, 0.677266001701355, -0.03890170156955719, -0.14553971588611603, -0.9909177422523499, -0.07407299429178238, -0.6645745635032654, 1.0618622303009033, 0.10052941739559174, 0.36419880390167236, 0.06569088250398636, -0.1788146197795868, -0.21279001235961914, -0.3757762312889099, -0.9097968339920044, -0.2682778239250183, 0.3507536053657532, 0.27548912167549133, 0.8208706378936768, 0.620096743106842, 0.5694112777709961, 0.179002046585083, -0.004091338720172644, -0.06111808121204376, -0.2904394567012787, -0.04386860132217407, -0.2371751070022583, -0.5846191644668579, -0.44256648421287537, 0.07708963751792908, 0.686612606048584, 0.4275009334087372, -0.2586503326892853, 0.22127263247966766, -0.11876390874385834, 0.5877663493156433, -0.25431686639785767, 0.49999621510505676, -0.5019773840904236, -0.5022261142730713, -0.2418571412563324, 0.04710395261645317, -0.5756147503852844, -0.5032492876052856, 0.1595800668001175, -0.26108407974243164, 0.11989982426166534, -0.28657492995262146, 1.3757108449935913, 0.34516382217407227, -0.8654946088790894, -0.7479681968688965, -0.48554909229278564, 0.6315897107124329, -0.3728368580341339, 0.6448639631271362, 0.24672015011310577, 0.5733233690261841, 0.0675288513302803, -0.5653741359710693, -0.10699152946472168, -0.4186910092830658, 0.200714111328125, 0.10336237400770187, -0.33021506667137146, -0.04971254616975784, 0.02946278639137745, 0.026705943048000336, -0.5853700637817383, 0.29795515537261963, -1.0565235614776611, -0.12173304706811905, 0.7997063994407654, -0.194756418466568, 0.061442792415618896, 0.24942344427108765, -0.39262136816978455, 0.13610336184501648, -1.0959864854812622, -0.4828526973724365, 0.512141764163971, 0.011705695651471615, -0.07612743228673935, 0.3548622727394104, 0.17703887820243835, 0.7881065011024475, -0.36578452587127686, -0.4762944281101227, 0.27704086899757385, -0.089728944003582, -0.003452911041676998, -0.16674336791038513, 0.4853564202785492, 0.08215523511171341, 0.3478096127510071, -0.12333647906780243, -0.3284432590007782, 0.433847039937973, 0.0757637470960617, -0.9877959489822388, -0.26844990253448486, -0.03714773431420326, -0.3688764274120331, -0.30858367681503296, -0.153570294380188, -0.7730581164360046, -0.40565866231918335, -0.29354822635650635, 0.4512059986591339, -0.2699057161808014, -0.36142221093177795, 0.19760210812091827, 0.02934393659234047, 0.5793280005455017, 0.45402929186820984, -0.9000993967056274, 0.38403427600860596, 0.6507480144500732, 0.7405697703361511, -0.10614414513111115, -0.2585481107234955, -0.35761556029319763, 0.139317587018013, -0.7848514318466187, 1.001726746559143, -0.7314329147338867, -0.5741369724273682, 0.006169942207634449, -0.43715858459472656, 0.24583622813224792, -0.3807089030742645, 0.5294274091720581, -0.6086326241493225, 0.05413464829325676, -0.6000066995620728, -0.19511942565441132, -0.3371136784553528, 0.21879421174526215, -0.4873217046260834, 1.34308660030365, 0.6178709268569946, -0.3368622958660126, 0.37204352021217346, -0.8951807618141174, -0.428891122341156, 0.20754331350326538, -0.4220752716064453, -0.061157211661338806, -0.06100987270474434, -0.09253616631031036, 0.09819632023572922, -1.21763277053833, 0.3255021274089813, -0.05426958575844765, -0.6552634835243225, 0.05194494500756264, -0.3518773019313812, 0.633172869682312, 0.47759565711021423, -0.300948828458786, -0.13358758389949799, -0.8109146356582642, -0.14984744787216187, 0.19568613171577454, -0.2509411871433258, -0.03564988449215889, -0.23095743358135223, 0.11762915551662445, 0.4784480333328247, 0.2746080756187439, -0.5801036357879639, 0.5755446553230286, -0.5274573564529419, 0.8769169449806213, 0.5685288310050964, 0.04269852116703987, 0.5475130081176758, 0.19468998908996582, 0.8219934701919556, -0.04153190925717354, 0.13411985337734222, -0.014329244382679462, -0.7149434089660645, -1.0873420238494873, -0.3125361502170563, 0.6913329362869263, 0.6306986808776855, -0.7182071208953857, 0.10512425750494003, -0.08991953730583191, -1.1506361961364746, -0.5618245601654053, 0.20455202460289001, 0.4681747257709503, 0.14227008819580078, 0.2015271931886673, -0.3570101857185364, -0.2874848544597626, -1.2243648767471313, -0.21454595029354095, -0.11620662361383438, 0.13825497031211853, 0.361162394285202, 0.7576160430908203, -0.5868323445320129, 0.7459763288497925, -0.6574487686157227, -0.30707627534866333, -0.3488485515117645, 0.22206313908100128, 0.04539176821708679, 0.3337917625904083, 1.3654731512069702, -0.8308096528053284, -0.40726256370544434, -0.05804385989904404, -0.47116225957870483, -0.33864226937294006, 0.0917927548289299, -0.04517575725913048, 0.4358726143836975, 0.3655380308628082, -0.27597498893737793, 0.2934802770614624, 0.6826421022415161, -0.46934911608695984, 0.4109213352203369, -0.3097919821739197, -0.053993090987205505, -0.9350352883338928, -0.23506894707679749, 0.23901204764842987, 0.301139235496521, -0.4024272859096527, 0.286143958568573, 0.10780850052833557, -0.2966129183769226, -0.16809481382369995, 0.734893798828125, -0.601513683795929, -0.6919301748275757, -0.34758520126342773, 0.09650608152151108, -0.03094003163278103, 0.1441079080104828, -0.09282898157835007, 1.2183629274368286, 0.7993167042732239, -0.4285264015197754, 0.4056527614593506, 0.2208508402109146, -0.535351037979126, 0.24922500550746918, -0.8328292965888977, 0.12366954237222672, -0.21135418117046356, 0.48012205958366394, -1.0160542726516724, -0.33787375688552856, -0.08452894538640976, -0.3697105050086975, 0.33308854699134827, -0.36488568782806396, -0.6210097670555115, -0.46461597084999084, 0.25026190280914307, 0.1549888551235199, 0.5828914046287537, -0.44881999492645264, 0.8586642742156982, 0.35716959834098816, -0.4512483477592468, -0.6894346475601196, -1.062680959701538, 0.2167244553565979, -0.016642067581415176, -0.58429354429245, -0.12024521082639694, 0.1813306212425232, 0.0027327388525009155, -0.17659157514572144, 0.13527625799179077, -0.3707205355167389, 0.2288961410522461, 0.1699109673500061, 0.3965337574481964, -0.422633558511734, 0.11112789064645767, 0.4355587363243103, -0.35410016775131226, 0.07588431239128113, -0.039659492671489716, 0.8558370471000671, -0.5689087510108948, -0.14920297265052795, -0.1759282946586609, 0.29158031940460205, 0.6584091782569885, -0.9682504534721375, 0.761207103729248, 0.6721945405006409, -0.45285406708717346, 0.14614780247211456, -0.8758569955825806, -0.020702406764030457, -0.5145728588104248, 0.7266826033592224, -0.6542848944664001, -0.8409120440483093, 0.4674787223339081, 0.016207454726099968, 0.11768992990255356, 0.4354991316795349, 0.835896372795105, 0.5119994282722473, 1.0328965187072754, 0.4876015782356262, -0.0415322370827198, 0.45450878143310547, -0.4045119881629944, 0.3971344828605652, -0.33815300464630127, -0.2678104341030121, -0.6904110312461853, -0.06716660410165787, -0.6074525117874146, -0.3758057951927185, 0.5640884637832642, 0.08815231174230576, -0.42591795325279236, 0.480228990316391, -0.3371386229991913, 0.709922194480896, 0.6768518090248108, -0.15272289514541626, 0.035251129418611526, -0.07893197238445282, 0.2825964093208313, 0.09431317448616028, -0.638645589351654, -0.6641654968261719, 1.3590482473373413, 0.532474160194397, 0.541623055934906, 0.39484351873397827, 0.6716206669807434, 0.017656389623880386, 0.8226467370986938, -0.7657947540283203, 0.4360883831977844, -0.12870760262012482, -1.027215838432312, -0.11511651426553726, -0.27370378375053406, -0.6749960780143738, 0.2894480526447296, -0.32495495676994324, -0.6154676675796509, 0.06318792700767517, 0.05332832783460617, -0.17108352482318878, -0.006789942272007465, -0.9106380939483643, 0.7368994355201721, -0.41253405809402466, -0.43213409185409546, -0.32793989777565, -0.6992067694664001, 0.4423331618309021, -0.2120639532804489, 0.3104744255542755, -0.006860330700874329, -0.4290076494216919, 0.8184669613838196, 0.14839118719100952, 0.376351922750473, -0.24678094685077667, -0.2611769139766693, 0.6255461573600769, 0.4439927935600281, 0.37681928277015686, 0.2616974413394928, -0.44662150740623474, 0.15161976218223572, 0.18287397921085358, -0.8306891918182373, -0.6803894639015198, 0.7504907846450806, -1.0190049409866333, -0.3856793940067291, -0.7923585772514343, -0.4718177020549774, -0.3515310287475586, 0.2820589542388916, 0.4054068624973297, 0.6407656073570251, -0.2217293530702591, 0.2736932337284088, 0.338727205991745, -0.22444145381450653, 0.0625699907541275, 0.680426299571991, -0.11572806537151337, -0.440646231174469, 0.9710605144500732, 0.4055527448654175, 0.34304603934288025, -0.09140665084123611, 0.09081799536943436, -0.4358965754508972, -0.5806931853294373, -0.7486791610717773, 0.5821635723114014, -0.8288707137107849, -0.18012069165706635, -0.6018414497375488, -0.1466374546289444, -0.689123272895813, -0.36335375905036926, -0.572003185749054, -0.1718229204416275, -0.004517397377640009, -0.19758780300617218, 0.182858407497406, 1.0642249584197998, -0.012833443470299244, 0.5544672012329102, -0.812688946723938, -0.15796194970607758, 0.04131928086280823, 0.2308676838874817, -0.26041892170906067, -0.6471598148345947, 0.031461067497730255, -0.11464782059192657, -0.35650840401649475, -1.0441006422042847, 0.16558390855789185, 0.12019786238670349, 0.32835134863853455, 0.8475465178489685, -0.49277108907699585, 0.20770256221294403, -0.32067444920539856, 0.962830662727356, 0.22658070921897888, -1.012342095375061, 0.36186155676841736, -0.6088750958442688, -0.34084171056747437, 0.586398720741272, 0.44988709688186646, -0.36467981338500977, 0.20822490751743317, -0.6390835642814636, -0.614680290222168, 0.469678670167923, 0.09421636909246445, 0.2499505877494812, -0.09511083364486694, 0.809779942035675, 0.08137060701847076, 0.37402012944221497, -0.7027552127838135, -0.20468826591968536, -0.0715753510594368, 0.08136492222547531, -0.2788834571838379, -0.676268458366394, -0.07719430327415466, -0.15122704207897186, 0.8336519598960876, -0.008788242004811764, 0.4153989553451538, -0.44007235765457153, 0.16672763228416443, 0.15988345444202423, 0.3181329667568207, 0.6787055730819702, 0.9530799984931946, 0.14910462498664856, -0.2543313205242157, 0.3034883737564087, -0.4344499707221985, 0.2074975222349167, 0.133427694439888, -0.25677981972694397, -0.16253721714019775, 0.23796284198760986, 0.7456783652305603, 0.24019895493984222, -0.7034765481948853, 0.74493008852005, 0.4845368564128876, -0.40908440947532654, -0.3417041003704071, 0.16053612530231476, 0.11828054487705231, 0.2307891994714737, 0.17093268036842346, -0.017944354563951492, 0.40345412492752075, -0.8843613266944885, -0.043867163360118866, 0.07318797707557678, -0.28128212690353394, -0.0911814346909523, 0.6438130140304565, 0.5407984256744385, -0.23221565783023834, 0.46201497316360474, -0.46993526816368103, -0.8094926476478577, 0.7455187439918518, 0.79388028383255, 0.20803029835224152, -0.4796581268310547, 0.32210880517959595, 0.43128615617752075, 0.5995171070098877, -0.5124260187149048, 0.5753124952316284, 0.30811628699302673, -0.5382781028747559, -0.10925844311714172, -0.6337101459503174, -0.6783171892166138, -0.1094781756401062, -0.9062689542770386, 0.6035958528518677, -0.4214276671409607, 0.03254041075706482, -0.19840125739574432, 0.2398165911436081, -0.603961169719696, 0.6980301737785339, -0.11645805090665817, 1.2113991975784302, -1.1603790521621704, 0.9693823456764221, 0.6915741562843323, -0.7707845568656921, -0.736416757106781, -0.3895983397960663, -0.12467751652002335, -0.8087490200996399, 0.3993016481399536, 0.1242407038807869, -0.013912871479988098, -0.01342629175633192, -0.5044612288475037, -1.357080101966858, 1.121759057044983, 0.6258025169372559, -0.5981304049491882, -0.4273669719696045, -0.13112545013427734, 0.6530702114105225, -0.3556431829929352, 0.3897172510623932, 1.0464547872543335, 0.5223006010055542, 0.1215924322605133, -0.8152437210083008, -0.36526432633399963, -0.30679240822792053, -0.08487708121538162, 0.5627257227897644, -1.3726609945297241, 0.8856048583984375, -0.332504540681839, 0.2621590197086334, 0.38161250948905945, 0.8569992184638977, 0.3396773338317871, 0.24642802774906158, 0.4441875219345093, 0.1385105699300766, 0.6743567585945129, -0.4972415566444397, 0.972358226776123, -0.5938825011253357, 0.327208548784256, 0.9409508109092712, -0.42635974287986755, 0.883029580116272, 0.17994193732738495, -0.12771497666835785, 0.6181696653366089, 0.6580959558486938, -0.3747471272945404, 0.24831165373325348, 0.20603273808956146, -0.0661776214838028, -0.4452705681324005, -0.030650990083813667, -0.8278679847717285, 0.9623993635177612, 0.7168710827827454, -0.32434818148612976, -0.059365902096033096, 0.06101328507065773, 0.2998442053794861, 0.03958990424871445, -0.13081960380077362, 0.1640920639038086, 0.012235728092491627, -0.7131767868995667, 0.1946626454591751, 0.5271462202072144, 0.4806225299835205, -0.8937386870384216, 0.13840077817440033, -0.11660721898078918, 0.23850619792938232, 0.01247057318687439, -0.5845867991447449, 0.15660013258457184, 0.06264693289995193, 0.39053046703338623, 0.05156746506690979, 0.5885100364685059, -0.35180914402008057, -0.6937649250030518, 0.4088847041130066, 0.3084377646446228, 0.5002436637878418, 0.03863213211297989, -0.7271053791046143, 0.25041094422340393, -0.21892701089382172, -0.3561975955963135, 0.25886714458465576, 0.15794534981250763, -0.14186887443065643, 0.7100913524627686, 0.3636390268802643, 0.04930314049124718, -0.21372421085834503, -0.011875846423208714, 0.8920571208000183, -0.3916529715061188, -0.8062541484832764, -0.33577704429626465, -0.17062848806381226, -0.03424513339996338, -0.8815015554428101, 0.3796808421611786, 0.9896875619888306, 0.6323708295822144, 0.12252510339021683, 0.9471893310546875, 0.13735860586166382, 0.4351648986339569, -0.3026832044124603, 0.8211274147033691, -0.6657463908195496, 0.08322034031152725, -0.16964900493621826, -1.2397454977035522, -0.13108356297016144, 0.8097641468048096, -0.4990082085132599, 0.38706618547439575, 0.4972682595252991, 0.821468710899353, 0.1396041363477707, 0.18496468663215637, 0.12207042425870895, 0.4157780706882477, 0.3905784487724304, 0.7869988679885864, 0.3911595642566681, -0.7047754526138306, 0.7750924229621887, 0.06609626859426498, -0.5807350277900696, -0.30295225977897644, -0.5711060762405396, -0.9965642690658569, -0.49720078706741333, -0.13708634674549103, -0.8244789242744446, 0.13092581927776337, 0.9482448101043701, 0.49311208724975586, -0.5939449071884155, -0.1989474892616272, 0.1844923198223114, -0.518673837184906, 0.033421166241168976, -0.09354360401630402, 0.3706774413585663, 0.23391187191009521, -0.6912788152694702, 0.396810382604599, 0.3149121105670929, 0.19594988226890564, -0.4529757797718048, -0.15220783650875092, 0.06091601029038429, 0.5848034620285034, 0.6188233494758606, 0.04393241927027702, -0.6951952576637268, -0.2875695526599884, -0.09216097742319107, -0.2690962255001068, -0.15055184066295624, 0.637582004070282, -0.3138885498046875, 0.06369844079017639, 0.29741016030311584, 0.6135549545288086, 0.7597886919975281, -0.12955141067504883, 0.37655308842658997, -0.14818163216114044, 0.610965371131897, 0.21441444754600525, 0.5003090500831604, 0.17901714146137238, -0.10931901633739471, 1.0627185106277466, 0.2174074947834015, -0.39826634526252747, -1.031389832496643, 0.465496689081192, -1.1160329580307007, -0.14022086560726166, 1.6997085809707642, -0.027977004647254944, 0.016950758174061775, 0.1853514313697815, -0.45418664813041687, 0.1543332040309906, -0.38051992654800415, 0.5811099410057068, 0.9448953866958618, 0.13854385912418365, 0.1366472989320755, -0.668422281742096, 0.14211609959602356, 0.4544450044631958, -0.81490159034729, -0.2633054256439209, 0.4808953106403351, 0.596050500869751, -0.00025927062961272895, 0.6441308259963989, -0.3778596520423889, 0.6669746041297913, 0.27721187472343445, 0.07754715532064438, -0.19630125164985657, -0.8245450258255005, -0.09566246718168259, 0.16158562898635864, 0.283153235912323, 0.1978183388710022 ]
http://arxiv.org/abs/2403.09858v2
http://arxiv.org/pdf/2403.09858v2
FakeWatch: A Framework for Detecting Fake News to Ensure Credible Elections
2024-03-14T20:39:26
2024-05-04T18:53:38
Shaina Raza, Tahniat Khan, Veronica Chatrath, Drai Paulen-Patterson, Mizanur Rahman, Oluwanifemi Bamgbose
cs.CL
cs.CL
In today's technologically driven world, the rapid spread of fake news, particularly during critical events like elections, poses a growing threat to the integrity of information. To tackle this challenge head-on, we introduce FakeWatch, a comprehensive framework carefully designed to detect fake news. Leveraging a newly curated dataset of North American election-related news articles, we construct robust classification models. Our framework integrates a model hub comprising of both traditional machine learning (ML) techniques, and state-of-the-art Language Models (LMs) to discern fake news effectively. Our objective is to provide the research community with adaptable and precise classification models adept at identifying fake news for the elections agenda. Quantitative evaluations of fake news classifiers on our dataset reveal that, while state-of-the-art LMs exhibit a slight edge over traditional ML models, classical models remain competitive due to their balance of accuracy and computational efficiency. Additionally, qualitative analyses shed light on patterns within fake news articles. We provide our labeled data at https://huggingface.co/datasets/newsmediabias/fake_news_elections_labelled_data and model https://huggingface.co/newsmediabias/FakeWatch for reproducibility and further research.
[ -0.13806146383285522, -1.0357426404953003, 0.7512190341949463, 0.14581966400146484, -0.38816186785697937, 0.3668603003025055, 0.348856657743454, -0.4831482172012329, 0.2585469186306, 0.536308765411377, -0.5085681676864624, -0.35570889711380005, -0.3507819175720215, -0.11265383660793304, -0.9918097853660583, 0.934664249420166, 0.08216159045696259, 0.24993754923343658, -0.2129676192998886, -0.03658495843410492, 0.03755949065089226, -0.5304318070411682, -0.2351023107767105, -0.2799292206764221, 0.2676885724067688, 0.1516060084104538, 0.5913968086242676, 1.0510257482528687, 0.1965368092060089, 0.1558666229248047, 0.1477557122707367, 0.3801965117454529, -0.36482423543930054, -0.3219548165798187, -0.1764635294675827, -0.5034186840057373, -0.3489442467689514, 0.5648937225341797, 0.2424527406692505, 0.002998092444613576, -0.20171400904655457, 0.41613510251045227, -0.23146717250347137, 0.31487229466438293, -0.608936607837677, 0.07972759753465652, -0.7747011780738831, -0.11933553963899612, -0.5338265299797058, -0.387395977973938, -0.3906252980232239, -0.5781559348106384, -0.02573666162788868, -0.3816095292568207, 0.5787991285324097, 0.3656831979751587, 0.9598327875137329, -0.009775093756616116, -0.4556625187397003, -0.2458287626504898, -0.651282548904419, 0.42196589708328247, -0.6509124636650085, 0.5101592540740967, 0.2647792100906372, 0.48744460940361023, 0.14851175248622894, -0.8024566173553467, -1.0043294429779053, 0.07751630246639252, 0.28793373703956604, 0.18101508915424347, -0.32247406244277954, -0.4024234414100647, -0.047230396419763565, 0.33166393637657166, -0.8225293159484863, -0.04458993673324585, -0.15586893260478973, -0.4825688600540161, 0.5084983110427856, -0.05607450380921364, 0.3789474070072174, -0.17029829323291779, -0.5076479911804199, 0.004363879095762968, -0.5739747285842896, -0.2898811399936676, 0.8268744349479675, 0.3848744332790375, -0.20460014045238495, 0.2131950706243515, -0.3507029712200165, 0.752937376499176, 0.28544747829437256, -0.13984636962413788, 0.09969896078109741, -0.37255293130874634, -0.288320928812027, 0.24055711925029755, 0.49616390466690063, 0.19825105369091034, 0.07836978137493134, -0.013466940261423588, -0.4051665961742401, 0.8836541771888733, 0.5379186272621155, -0.5421912670135498, -0.26312968134880066, 0.13526403903961182, -0.6924490332603455, -1.0472246408462524, 0.3736323416233063, -0.6058003902435303, -0.40901780128479004, -0.6163135766983032, 0.7246053814888, 0.1591167449951172, -0.3441259562969208, 0.13916140794754028, -0.32578882575035095, -0.13714683055877686, 0.23705269396305084, -0.012456086464226246, 0.11668039113283157, 0.7998509407043457, 0.6525354981422424, -0.007254283409565687, 0.03861407935619354, -0.6343104243278503, -0.2513178884983063, -0.5989456176757812, 0.8417455554008484, -0.46442312002182007, 0.32165297865867615, 0.13067178428173065, 0.16216479241847992, 0.10477806627750397, -0.5545832514762878, 0.6406192779541016, -0.954283595085144, 0.6322022080421448, -0.03983549028635025, -0.723296046257019, -0.172563374042511, 0.4952598810195923, -0.8622724413871765, 0.8968883752822876, 0.04599558934569359, -0.68400639295578, 0.6801254153251648, -0.3023228347301483, -0.41545674204826355, -0.03872864693403244, 0.23859180510044098, -0.7317554950714111, 0.10296492278575897, 0.27360260486602783, 0.41557279229164124, 0.20396767556667328, 0.2440042495727539, -0.5831784009933472, -0.2757079005241394, 0.14949090778827667, -0.46323075890541077, 0.7637815475463867, 0.09936298429965973, -0.6189110279083252, 0.13097341358661652, -0.6116454005241394, -0.09862828999757767, 0.014842448756098747, 0.052647653967142105, -0.14534756541252136, 0.3392038643360138, 0.39177629351615906, 0.2563764750957489, 0.05959337577223778, -0.6973568797111511, -0.03546702489256859, -0.16602180898189545, 0.34626826643943787, 0.8861232399940491, -0.021647514775395393, 0.4067392945289612, -0.6256970763206482, 0.22049587965011597, 0.29237866401672363, 0.37143170833587646, -0.20623064041137695, -0.30472245812416077, -0.6164193749427795, -0.1382167637348175, 0.422567754983902, 1.0433756113052368, -0.8712117671966553, 0.4519813358783722, -0.289605975151062, -0.5611836314201355, -0.4036487936973572, -0.05937706679105759, 0.09655218571424484, 0.39279597997665405, 0.3299241065979004, 0.03363919258117676, -0.6548513174057007, -0.6366809606552124, -0.8018639087677002, -0.26207253336906433, 0.15262600779533386, -0.25904014706611633, 0.7626640796661377, -0.41886043548583984, 1.1427446603775024, 0.029235810041427612, -0.18156640231609344, 0.08283756673336029, 0.034018851816654205, 0.13694368302822113, 0.13183319568634033, 0.49955737590789795, -1.2167569398880005, -0.1625380665063858, -0.06981521099805832, -0.5439615249633789, -0.09081550687551498, -0.23678968846797943, 0.13135544955730438, 0.3148728907108307, 0.5417332053184509, -0.2989954948425293, 0.7804763913154602, 0.6951104402542114, -0.46613144874572754, 0.661747395992279, 0.3081120550632477, 0.2396288514137268, -0.9558663964271545, -0.02809840254485607, -0.18077051639556885, -0.9705843925476074, -0.7657550573348999, -0.1562090516090393, 0.16513483226299286, -0.10596783459186554, -0.37057599425315857, 0.8705347776412964, -0.05651956796646118, 0.17177654802799225, -0.5094033479690552, -0.09935476630926132, 0.05311425030231476, -0.166203111410141, 0.1266949623823166, 0.3659980893135071, 0.3322475552558899, -0.4759320616722107, 0.5788784027099609, -0.009395718574523926, -0.785508394241333, 0.6867887377738953, -0.659682035446167, 0.08363939821720123, -0.1577429324388504, 0.6178571581840515, -0.5116216540336609, -0.5505228042602539, 0.3469639718532562, -0.8268368244171143, 0.019332703202962875, -0.038932304829359055, -0.9010134935379028, -0.34761735796928406, 0.02815457619726658, -0.10366994142532349, 0.24170780181884766, -0.8455083966255188, 0.5412315130233765, 0.4712951183319092, 0.3738407790660858, -0.32996615767478943, -0.4600411355495453, -0.05957036837935448, -0.15749076008796692, -0.3581823706626892, 0.26743757724761963, 0.18640488386154175, -0.2582837641239166, 0.3541673421859741, -0.4352681338787079, -0.31502193212509155, -0.006554951425641775, 0.060783181339502335, 0.27797624468803406, -0.19693586230278015, 0.02246352843940258, -0.22129428386688232, 0.029875172302126884, -0.09349916875362396, -0.3733278214931488, 0.2517314553260803, 0.09869213402271271, -0.3327504098415375, -0.7992004156112671, 0.14638347923755646, 0.8632081747055054, -0.1849585473537445, 0.7073396444320679, 0.8909416794776917, -0.7702428102493286, -0.5309593677520752, -0.6649850010871887, -0.5490743517875671, -0.42746230959892273, 0.14518824219703674, 0.08535736799240112, -0.6587374210357666, 0.3860867917537689, 0.07028276473283768, 0.012509874999523163, 0.18964038789272308, 0.36774444580078125, -0.0030060906428843737, 1.2761436700820923, 0.5435885787010193, -0.5899556279182434, 0.4095104932785034, 0.25616171956062317, 0.39674466848373413, 0.02479853294789791, -0.07851221412420273, -0.3233489990234375, -0.14245595037937164, -0.3482356667518616, -0.5600085258483887, 0.16623654961585999, -0.009850401431322098, -0.25687283277511597, 0.10021168738603592, -0.6306465268135071, 0.3167679011821747, 0.652664840221405, 0.19124291837215424, 0.13598784804344177, 0.26006880402565, 0.2629024088382721, 0.03308165445923805, -0.8260424137115479, -0.6234546303749084, 0.9121301174163818, 0.352172315120697, 0.547546923160553, -0.047456126660108566, 0.32011598348617554, 0.8464908003807068, 0.8131213188171387, -0.3463708758354187, 0.08646897971630096, 0.005912751890718937, -1.0960865020751953, 0.11362390220165253, -0.5567752122879028, -0.5002566576004028, -0.024966688826680183, -0.32730382680892944, -0.10644524544477463, 0.16071368753910065, 0.37477150559425354, 0.07953318953514099, 0.6678417921066284, -0.2748715579509735, 0.8706534504890442, -0.2939334809780121, -0.17276360094547272, -0.21007144451141357, -0.3643416464328766, 0.40636277198791504, -0.21843159198760986, 0.4750502109527588, -0.10630679130554199, -0.01616501621901989, 0.4334344267845154, -0.13355763256549835, 0.9808835983276367, -0.14004667103290558, 0.48597824573516846, 0.18059475719928741, 0.12929360568523407, 0.7180159091949463, 0.04021705314517021, 0.23238448798656464, 0.19415612518787384, 0.17526017129421234, -0.5658720135688782, -0.18185356259346008, 0.5698756575584412, -0.415781706571579, -0.006323919631540775, -0.8571321368217468, -0.10542601346969604, -0.08361484110355377, 0.140004962682724, 0.4932805001735687, 0.3727738857269287, -0.5172319412231445, 0.25184527039527893, 0.6178069710731506, 0.038253024220466614, 0.10362492501735687, 0.7527158260345459, -0.30880844593048096, -0.25341251492500305, 1.1333359479904175, 0.09603385627269745, -0.22310279309749603, 0.17643119394779205, 0.19985979795455933, -0.6125160455703735, -0.2669064402580261, -0.44169551134109497, -0.027294564992189407, -0.18714416027069092, -0.33241117000579834, -0.325066477060318, -0.08312862366437912, -0.4930775463581085, -0.10060331970453262, -0.42677366733551025, -0.04362925514578819, -0.6043795347213745, -0.1270613968372345, 0.23683777451515198, 0.5357677340507507, -0.09400100260972977, 0.4039615988731384, -0.5313295722007751, 0.5734134316444397, 0.29272016882896423, 0.3810177147388458, -0.32356032729148865, -0.5557136535644531, -0.014450174756348133, 0.21123063564300537, -0.38598647713661194, -1.0622079372406006, 0.6053146719932556, 0.178677499294281, 0.5368555188179016, 0.7456288933753967, 0.2399444282054901, 0.5088512897491455, -0.515723466873169, 0.6456650495529175, -0.10502484440803528, -1.074865460395813, 0.4948241710662842, -0.6248740553855896, -0.004233500920236111, 0.2734549343585968, 0.3590048849582672, -0.38506102561950684, -0.3937167823314667, -0.9015325307846069, -0.4862593114376068, 0.3848394751548767, 0.15200799703598022, 0.19332723319530487, -0.09847857058048248, 0.17867019772529602, -0.053588464856147766, 0.6351614594459534, -0.9301947951316833, -0.08693873137235641, -0.4460023045539856, -0.35968050360679626, 0.06764562427997589, -0.13222986459732056, -0.16031339764595032, 0.04473688080906868, 0.7847203612327576, -0.28054240345954895, 0.13710381090641022, 0.28849971294403076, -0.17713432013988495, -0.06710217148065567, -0.1327364295721054, 0.6478457450866699, 0.7718991041183472, -0.031311970204114914, -0.0014682537876069546, -0.06258929520845413, -0.2780260443687439, -0.16732166707515717, -0.05528935417532921, -0.453044593334198, 0.4634750783443451, 0.723962128162384, 0.6456348896026611, 0.1689622700214386, -0.6010722517967224, 0.7313721776008606, 0.16956980526447296, -0.2754693925380707, -0.6111316084861755, -0.2894587218761444, 0.01197099220007658, 0.03934124484658241, 0.7260425090789795, 0.4031781554222107, 0.13602329790592194, -0.9225523471832275, 0.6616900563240051, 0.49032333493232727, -0.630788266658783, -0.6490336060523987, 0.9712838530540466, 0.18957364559173584, -0.3527364432811737, 0.3236057758331299, -0.1857934445142746, -1.0939851999282837, 0.6028201580047607, 0.37980663776397705, 0.4281134307384491, -0.591296911239624, 0.5759692788124084, 0.08849260956048965, 0.7256100177764893, -0.5794996023178101, 0.15244640409946442, 0.22810141742229462, -0.9699571132659912, -0.22215904295444489, -0.6692026853561401, -0.2464248239994049, 0.462093323469162, -0.6649606823921204, 0.2105318158864975, -0.49246156215667725, -0.2150828242301941, -0.06009633466601372, 0.18952986598014832, -0.36937639117240906, 0.3818928599357605, 0.3054748475551605, 1.1609522104263306, -1.229973316192627, 0.4848683774471283, 0.43142807483673096, 0.3840954005718231, -0.177422434091568, -0.030885230749845505, 0.7310694456100464, -0.5130856037139893, 0.125949889421463, 0.3140599727630615, 0.11866439878940582, -0.2627396583557129, -0.8328677415847778, -0.40370452404022217, 0.4678257405757904, 0.27339157462120056, -0.6362823843955994, 0.06919907033443451, -0.10296091437339783, 0.43446072936058044, -0.48824024200439453, -0.24002055823802948, 0.24892722070217133, 0.6784628033638, -0.5077677369117737, -0.7177006602287292, -0.276764839887619, -0.002581189153715968, -0.4865421950817108, 0.17485441267490387, -0.6207058429718018, 0.6569640040397644, 0.2807280123233795, -0.36395934224128723, -0.0035620499402284622, 0.6506381630897522, 0.18201036751270294, 1.1481441259384155, 0.612724244594574, 0.6565291881561279, 0.7862086296081543, -0.3430000841617584, 1.1026325225830078, -0.2751610279083252, 0.30240169167518616, 0.8385457992553711, -0.3044049143791199, 0.7036038041114807, 0.03658389672636986, 0.24885819852352142, 0.658178448677063, 0.7635697722434998, -0.19502775371074677, 0.3491220772266388, -0.02313345856964588, -0.32186660170555115, -0.6430810689926147, 0.01795637048780918, -0.08007001131772995, 0.5646132230758667, 0.46416768431663513, -0.33731985092163086, -0.019727740436792374, 0.09886564314365387, 0.14207057654857635, 0.49481201171875, -0.4650858938694, 0.2504820227622986, -0.11780909448862076, -0.22509481012821198, -0.04029709845781326, -0.03292880579829216, 0.538488507270813, -0.46595361828804016, -0.10121463239192963, 0.024562368169426918, 0.3322511613368988, -0.10224315524101257, -0.3102208971977234, 0.3981952667236328, -0.11438556015491486, -0.5723443031311035, -0.41154953837394714, 0.6934109926223755, -0.3805168867111206, -0.6980379223823547, 0.23309627175331116, 0.5760942101478577, -0.2359050065279007, -0.525740921497345, -0.7548474073410034, 0.35989129543304443, -0.08329018205404282, -0.1777506321668625, 0.1077984869480133, 0.03882448375225067, -0.29581084847450256, 0.7495827078819275, 1.315293550491333, 0.2937077283859253, -0.06832726299762726, -0.4041098654270172, 0.4850784242153168, -0.3208978772163391, -0.8941035270690918, -0.5572000741958618, 0.1839958280324936, -0.4073007106781006, -0.2683500647544861, 0.8520076870918274, 0.8739071488380432, 0.6826168298721313, -0.20517833530902863, 0.721954345703125, 0.14906740188598633, 1.2774813175201416, -0.34809261560440063, 0.9828327298164368, -0.7367424964904785, 0.042206089943647385, 0.15625666081905365, -0.7003800868988037, -0.24054186046123505, 0.42835769057273865, -0.15022720396518707, -0.1399347186088562, 0.28792527318000793, 0.7910190224647522, -0.419338583946228, -0.10630856454372406, 0.10768434405326843, 0.1938009411096573, 0.08150763809680939, -0.08532483875751495, 0.7634819746017456, -0.4215446710586548, 0.5844684839248657, -0.05919506028294563, -0.1300533264875412, -0.5523563027381897, -0.7358759045600891, -0.8748137950897217, -0.566981852054596, -0.44368812441825867, -0.5105037689208984, 0.16276897490024567, 0.21152938902378082, 1.3744797706604004, -0.8866201043128967, 0.20303191244602203, -0.05206682160496712, 0.26033395528793335, -0.3275815546512604, -0.44595110416412354, 0.32574817538261414, 0.1037936806678772, -0.7003957629203796, 0.5932913422584534, 0.0876675546169281, -0.051235049962997437, -0.12133356183767319, 0.2673254907131195, -0.06570154428482056, 0.5305737257003784, 0.5359614491462708, 0.42993247509002686, -0.7445999383926392, -0.5998280048370361, 0.24334551393985748, -0.06461722403764725, -0.6050294041633606, 0.7926245927810669, -1.1883121728897095, 0.40617290139198303, 0.44363152980804443, 0.4446985721588135, 0.3486649990081787, 0.3294215500354767, 0.4126304090023041, -0.7458527088165283, 0.19948510825634003, 0.3518940806388855, -0.13738441467285156, 0.3598679304122925, -0.36954358220100403, 0.37755924463272095, 0.6016345620155334, -0.5877463221549988, -1.5174880027770996, 0.2814805209636688, -0.8097645044326782, -0.3413016200065613, 0.7903622984886169, 0.4389977753162384, -0.39339950680732727, -0.43465864658355713, 0.2895686626434326, 0.047347962856292725, -0.14731410145759583, 0.7937307953834534, 0.5678282380104065, 0.20727625489234924, -0.18858247995376587, -0.7686034440994263, 0.7255954146385193, -0.10362178087234497, -0.6467471718788147, -0.3180106282234192, 0.5163257122039795, 0.6893569231033325, 0.2270572930574417, 0.32961252331733704, 0.06735442578792572, 0.7072663307189941, 0.014961754903197289, -0.27228012681007385, -0.10628944635391235, -0.40689224004745483, -0.08763622492551804, 0.015962785109877586, -0.896925687789917, -0.1937035769224167 ]
http://arxiv.org/abs/2403.09849v1
http://arxiv.org/pdf/2403.09849v1
Self-Consistency Boosts Calibration for Math Reasoning
2024-03-14T20:17:10
2024-03-14T20:17:10
Ante Wang, Linfeng Song, Ye Tian, Baolin Peng, Lifeng Jin, Haitao Mi, Jinsong Su, Dong Yu
cs.CL
cs.CL, cs.AI
Calibration, which establishes the correlation between accuracy and model confidence, is important for LLM development. We design three off-the-shelf calibration methods based on self-consistency (Wang et al., 2022) for math reasoning tasks. Evaluation on two popular benchmarks (GSM8K and MathQA) using strong open-source LLMs (Mistral and LLaMA2), our methods better bridge model confidence and accuracy than existing methods based on p(True) (Kadavath et al., 2022) or logit (Kadavath et al., 2022).
[ -0.028890646994113922, -0.25745654106140137, 0.8239046335220337, 0.47618818283081055, 0.0709686204791069, -0.11110404133796692, 0.0731106624007225, -0.19376330077648163, -0.07319279760122299, 0.442315012216568, -0.4516518712043762, -0.28456470370292664, -0.2018595039844513, 0.05732796713709831, 0.0027328473515808582, 0.6322476267814636, -0.4355664849281311, 0.4769977033138275, -0.6750176548957825, -0.31176337599754333, -0.5440827012062073, -0.5323270559310913, -0.09987261146306992, -0.6714379191398621, 0.2590537369251251, 0.3094146251678467, 0.8604862689971924, 0.7262203097343445, 0.550718367099762, 0.2964065968990326, 0.2369864284992218, 0.4698789417743683, -0.43039828538894653, 0.24401789903640747, -0.24396419525146484, -0.6233808398246765, -0.5572491884231567, 0.1466410607099533, 0.2702729403972626, 0.3123244643211365, -0.3708372712135315, 0.24263660609722137, 0.13416777551174164, 0.8483405113220215, -0.9646482467651367, 0.21476975083351135, -0.3598323464393616, -0.2684379518032074, -0.034099843353033066, -0.17722772061824799, -0.38140612840652466, -0.7017311453819275, -0.2605557441711426, -0.8368152976036072, -0.14776891469955444, -0.24633781611919403, 0.457892507314682, 0.7120187282562256, -0.4132317006587982, -0.30961671471595764, -0.7325206995010376, 0.971363365650177, -0.8045774102210999, 0.5156598091125488, 0.7076913118362427, 0.5138340592384338, -0.2539959251880646, -0.5788887143135071, -0.27072668075561523, 0.17017331719398499, 0.14109696447849274, 0.39966845512390137, 0.20810897648334503, -0.08793604373931885, 0.3443140983581543, 0.46333885192871094, -0.20809753239154816, -0.22445793449878693, -0.20850369334220886, -0.38006946444511414, 0.7218508720397949, 0.20595796406269073, -0.0785832554101944, 0.041850026696920395, -0.2916422188282013, -0.10376138985157013, -1.118219017982483, -0.07535961270332336, 0.43877649307250977, -0.07044017314910889, 0.026126045733690262, 0.7238548994064331, -0.08341247588396072, 0.7351633906364441, 0.21295060217380524, -0.6864726543426514, 0.17951545119285583, -0.46407371759414673, -0.28838202357292175, -0.10010340064764023, 0.46722936630249023, 0.1337236911058426, 0.4717542827129364, 0.1077127754688263, -0.2167237251996994, 0.09630357474088669, 0.006951487623155117, -0.5875456929206848, -0.6070972084999084, -0.05351746827363968, -0.12531161308288574, -0.1629541665315628, -0.051183879375457764, -0.2639581859111786, -0.1180431917309761, -0.7734987139701843, 0.9346415996551514, -0.09157808870077133, -0.04556373134255409, 0.16877949237823486, 0.22472023963928223, 0.15397857129573822, 0.8014571070671082, -0.8622586131095886, 0.16680534183979034, 0.8609189987182617, 0.5319222211837769, -0.14783450961112976, -0.20859843492507935, -0.5570883750915527, 0.1568594127893448, -0.7138917446136475, 0.6469400525093079, -0.01021219789981842, -0.3342921733856201, -0.24545541405677795, -0.2807700037956238, 0.07256901264190674, -0.6376100778579712, 0.7451156973838806, -0.3397045433521271, 0.20736496150493622, -0.46379220485687256, -0.6687825918197632, -0.21809814870357513, 0.2854962944984436, -0.47022518515586853, 1.4500977993011475, 0.1818629503250122, -0.34112733602523804, 0.05550071969628334, -0.10316301882266998, 0.024879232048988342, -0.1569608896970749, -0.45316967368125916, -0.3644431233406067, 0.18496935069561005, 0.20935003459453583, 0.04503053426742554, -0.30626505613327026, 0.24981755018234253, -0.5495848655700684, -0.5858041644096375, 0.18538451194763184, -0.6403821110725403, 0.916302502155304, 0.3710336983203888, -0.2285291999578476, -0.3285727798938751, -0.5981549620628357, 0.5972840785980225, -0.15273593366146088, -0.0533100962638855, -0.08316005021333694, -0.01756267249584198, -0.6670473217964172, 0.23213863372802734, 0.40816688537597656, -0.47602343559265137, 0.06611216068267822, -0.22258338332176208, 0.21398082375526428, 0.8166371583938599, -0.2501519024372101, 0.2002372294664383, -0.6338311433792114, 0.4178430736064911, -0.04918569326400757, -0.07954907417297363, -0.41244837641716003, -0.6753079891204834, -0.8199904561042786, -0.3140948712825775, 0.5202536582946777, 0.6083463430404663, -0.19589151442050934, 0.476150780916214, 0.02644851990044117, -0.5930325388908386, -0.36044803261756897, 0.5676343441009521, 0.4152470827102661, 0.7302121520042419, 0.39214134216308594, 0.13486269116401672, -0.4266281723976135, -0.564839243888855, -0.450476735830307, -0.20403678715229034, -0.06191857159137726, 0.16948990523815155, 0.24942155182361603, -0.033657509833574295, 1.165097951889038, -0.44678938388824463, -0.24274151027202606, 0.31232187151908875, 0.08025890588760376, 0.1579606533050537, 0.46187034249305725, 0.4421376585960388, -0.44878053665161133, -0.7367329597473145, -0.46344614028930664, -0.9027299880981445, -0.4538547694683075, 0.19081270694732666, -0.37359893321990967, 0.09160109609365463, 0.2900267243385315, -0.4227747321128845, 0.7876991033554077, 0.6777218580245972, -0.11164015531539917, 0.5317051410675049, -0.2639671266078949, 0.24928376078605652, -0.8917383551597595, -0.30982574820518494, 0.09275238960981369, -0.5301936268806458, -0.3739367425441742, -0.06404660642147064, 0.4380970001220703, 0.27568477392196655, -0.34944096207618713, 0.7243261337280273, -0.37217429280281067, -0.09782489389181137, -0.14943575859069824, 0.06974314153194427, 0.4705314040184021, -0.015179506503045559, -0.16277863085269928, 1.1997780799865723, 0.3492712378501892, -0.5568079948425293, 0.39369136095046997, 0.15885129570960999, -0.22779622673988342, 0.6611717343330383, -0.7726908922195435, 0.13983172178268433, 0.29774045944213867, 0.2133178412914276, -1.2335973978042603, 0.061988189816474915, 0.2059222161769867, -0.4262337386608124, 0.023173989728093147, -0.12965507805347443, -0.6115726232528687, -0.21171283721923828, -0.2867174744606018, 0.685200572013855, 0.5589756965637207, -0.8891004323959351, 0.8890740275382996, 0.06833186000585556, 0.24760986864566803, -0.6097754836082458, -0.8299710750579834, -0.4431284964084625, 0.051563724875450134, -0.6974814534187317, 0.1862301081418991, -0.5169006586074829, -0.5691989660263062, -0.42732125520706177, -0.5602564215660095, -0.03193240612745285, 0.08337880671024323, 0.5495643019676208, 0.5381621718406677, -0.25913360714912415, 0.22961333394050598, -0.1818447858095169, -0.34840330481529236, 0.19796927273273468, 0.00579884322360158, 0.06660918891429901, -0.28270673751831055, -0.8795263171195984, -0.6435555815696716, -0.11933528631925583, 0.3239787518978119, 0.05018482357263565, 0.11978729814291, 0.26898685097694397, -0.4620727002620697, 0.03997945785522461, -0.8948707580566406, -0.22513051331043243, -0.5384686589241028, -0.4631325304508209, -0.6403535604476929, -0.6704155802726746, 0.5203083753585815, -0.1777496337890625, 0.056237731128931046, 0.6126968264579773, 0.5836418271064758, -0.20440886914730072, 1.1811317205429077, 0.30666953325271606, 0.20899686217308044, -0.010328665375709534, 0.07074495404958725, 0.23723869025707245, -0.8806378841400146, -0.10918858647346497, -0.4067862331867218, -0.010598720982670784, -0.37973111867904663, -0.617127537727356, 0.1604318916797638, 0.36070477962493896, -0.45675021409988403, 0.1434023529291153, -0.44551607966423035, 0.6912843585014343, 0.6347187757492065, 0.04405587911605835, 0.5254727602005005, 0.016794627532362938, -0.4528959095478058, -0.5719740986824036, -0.39963722229003906, -0.45002588629722595, 1.336756944656372, 0.13034328818321228, 1.3812135457992554, 0.17567047476768494, 0.767943263053894, 0.024743152782320976, 0.4984622895717621, -0.6529811024665833, 0.4382281005382538, 0.07939217984676361, -0.8498221635818481, -0.05054019019007683, -0.5750308036804199, -0.4848234951496124, 0.12233518809080124, 0.0056250025518238544, -0.5994770526885986, 0.06730014830827713, 0.43343251943588257, -0.30231231451034546, 0.16906985640525818, -0.7025247812271118, 0.5075451731681824, -0.42336925864219666, -0.4892756938934326, -0.12526217103004456, -0.21826490759849548, 0.5165586471557617, -0.23175834119319916, 0.11998142302036285, -0.574718177318573, 0.013737540692090988, 0.2375151515007019, -0.6030924916267395, 0.6654329299926758, 0.15788665413856506, -0.3721124827861786, 0.7409104704856873, 0.5382620096206665, 0.3832104802131653, 0.3034456670284271, -0.40880751609802246, 0.3881637156009674, 0.2941257357597351, -0.29683932662010193, -0.8702923655509949, 0.9606236219406128, -0.8086257576942444, -0.8843644261360168, -0.6315652132034302, -0.7088048458099365, -0.2139960080385208, 0.19052526354789734, -0.03080250509083271, 0.3871302902698517, 0.22999507188796997, 0.12688162922859192, 0.7225943803787231, 0.42512038350105286, 0.18429414927959442, 0.35999786853790283, -0.3857007324695587, -0.8622239232063293, 0.6087138652801514, 0.25287488102912903, 0.43499556183815, 0.1749090552330017, 0.38444381952285767, -0.5620790719985962, 0.2219715267419815, -0.5119758248329163, 0.36506763100624084, -0.9897592663764954, -0.6852381825447083, -0.12710663676261902, -0.476188063621521, -0.49483153223991394, -0.25456055998802185, -0.636476993560791, -0.8197691440582275, -0.38478586077690125, 0.1756656914949417, 0.39961448311805725, 0.6952593922615051, -0.3958626091480255, 0.13982604444026947, -0.5557273030281067, 0.32846084237098694, 0.49639952182769775, 0.34387460350990295, -0.20792695879936218, -0.6916005611419678, 0.04540623351931572, 0.461313396692276, -0.5326118469238281, -0.6043235063552856, -0.009658842347562313, 0.06996604055166245, 0.6515204310417175, 0.5161879658699036, -0.024621350690722466, 0.974659264087677, -0.23082615435123444, 0.5340650081634521, 0.2692858874797821, -1.1457993984222412, 0.48229697346687317, -0.013448894023895264, 0.3065338134765625, 0.6577856540679932, 0.27540892362594604, -0.1138945147395134, 0.13648124039173126, -0.48933371901512146, 0.0879952684044838, 0.25253382325172424, 0.2611019015312195, -0.08677919954061508, 0.19365623593330383, 0.6776111721992493, 0.025888949632644653, 0.0010029732948169112, -0.5873750448226929, -0.44630932807922363, -0.4086103141307831, -0.5021194815635681, -0.13569273054599762, -0.38165417313575745, -0.5245506167411804, -0.5177556276321411, 0.5945844650268555, -0.35064026713371277, 0.09220310300588608, 0.216638445854187, 0.06488321721553802, -0.30123165249824524, -0.15047071874141693, 0.7154731750488281, 1.1006920337677002, -0.18949219584465027, 0.39556771516799927, 0.27041909098625183, -0.45717915892601013, 0.4489639699459076, -0.1502235382795334, -0.31984683871269226, -0.09778086841106415, 0.009088960476219654, 0.05597750097513199, 0.36611485481262207, -0.3435349464416504, 0.6136608719825745, -0.013494305312633514, -0.49651119112968445, -0.5711308121681213, 0.2816790044307709, 0.14765775203704834, 0.07647363096475601, 0.18385672569274902, 0.10579713433980942, -0.14162331819534302, -0.2310686856508255, 0.08810589462518692, 0.49290263652801514, -0.11203456670045853, -0.12576229870319366, 0.7985599637031555, -0.21633465588092804, -0.25740617513656616, 0.5500552654266357, 0.020948097109794617, -0.46247100830078125, 0.5415528416633606, 0.865234375, 0.5399846434593201, -0.4017164409160614, 0.03970976546406746, 0.5363487005233765, 0.11975018680095673, -0.5948160290718079, 0.6012365221977234, -0.17600977420806885, -0.8396350741386414, -0.5718826651573181, -0.31652572751045227, -0.9625629782676697, -0.3002449870109558, -0.6098122596740723, 0.4258738160133362, -0.5331652760505676, -0.16515140235424042, -0.26564323902130127, 0.28690609335899353, -0.5748457908630371, 0.37801414728164673, -0.001811143709346652, 0.9671984910964966, -0.5452255606651306, 0.822320818901062, 0.4089890718460083, -0.04623613879084587, -1.1483113765716553, -0.42857474088668823, 0.3564828932285309, -1.1522762775421143, 0.5339226126670837, 0.1748417317867279, -0.45782700181007385, 0.15204280614852905, -0.5381332635879517, -1.3582029342651367, 1.4955756664276123, 0.4835929274559021, -0.507986307144165, 0.12312446534633636, 0.07167363911867142, 0.3494698107242584, -0.4610653519630432, 0.5564413070678711, 0.2605169713497162, 0.4623885452747345, 0.5729629397392273, -0.9075899720191956, -0.17056706547737122, -0.002522598020732403, 0.03217146545648575, 0.12437295913696289, -0.7491922974586487, 0.6791226267814636, -0.3210492432117462, 0.0523572713136673, 0.35342347621917725, 0.7287183403968811, 0.895167887210846, 0.4212234914302826, 0.2980737090110779, 1.1189411878585815, 0.858310341835022, -0.35713550448417664, 0.5504166483879089, -0.5839340090751648, 0.39207354187965393, 1.351212978363037, -0.3164066970348358, 0.8490505814552307, 0.3063092529773712, -0.4030512869358063, 0.6653222441673279, 0.5631338953971863, -0.10506590455770493, 0.20731158554553986, 0.07476534694433212, -0.22794699668884277, -0.7724870443344116, 0.3173266649246216, -0.5926681756973267, 0.3203388452529907, 0.4232726991176605, -0.07719361782073975, -0.32993248105049133, -0.6189787983894348, 0.03824466094374657, 0.0810333862900734, -0.3682144582271576, 0.15841825306415558, 0.39497509598731995, -0.7722895741462708, 0.4989834427833557, -0.1354188621044159, 0.25221768021583557, -0.4296555519104004, -0.12956398725509644, -0.1829652637243271, 0.5150968432426453, -0.3917365074157715, -0.8327017426490784, 0.12984132766723633, -0.454340398311615, 0.03799257054924965, -0.15068186819553375, 0.9342743754386902, -0.22560305893421173, -0.5765588879585266, 0.007762345019727945, 0.7850227952003479, 0.1369808167219162, 0.028920095413923264, -0.6727809309959412, 0.041144564747810364, -0.1369655728340149, 0.06089143827557564, 0.09576379507780075, 0.4393799901008606, 0.22970972955226898, 0.9049575924873352, 0.7964292168617249, -0.09765323996543884, 0.2304006814956665, 0.08668293803930283, 0.6559799909591675, -0.5045586824417114, -0.14826491475105286, -0.8531571626663208, 0.20934411883354187, 0.16607451438903809, -0.34654051065444946, 1.191406011581421, 0.7761678695678711, 0.6866828203201294, 0.23125506937503815, 0.33211174607276917, 0.6174665689468384, 0.6390271782875061, -0.3853332996368408, 0.19933533668518066, -0.5632137656211853, 0.2931002676486969, -0.054088886827230453, -1.0671907663345337, -0.6108272671699524, 1.1106586456298828, -0.41069522500038147, 0.24627679586410522, 0.6982672810554504, 0.6820372343063354, -0.11052902787923813, 0.005309406202286482, 0.41199278831481934, -0.2364387810230255, 0.1595233678817749, 0.4577663540840149, 0.7422146201133728, -0.645857036113739, 0.4610307514667511, -0.42581701278686523, -0.21419645845890045, -0.19950832426548004, -1.1600759029388428, -0.8327545523643494, -0.06334716081619263, -0.4477479159832001, -0.7376973032951355, -0.16572712361812592, 0.7331534624099731, 0.8559654355049133, -0.7473836541175842, -0.3262672424316406, -0.23898625373840332, 0.18806849420070648, -0.10567430406808853, -0.17628419399261475, 0.05317741259932518, -0.358393132686615, -0.4149278700351715, 0.21386750042438507, 0.49252668023109436, 0.361684650182724, -0.669900119304657, -0.37253350019454956, 0.20942458510398865, 0.4400763511657715, 0.2453429400920868, 0.41340047121047974, -0.9470338821411133, -0.16149219870567322, 0.25674667954444885, -0.4056566655635834, 0.5830150842666626, 0.6376166343688965, -0.8172052502632141, 0.5953091979026794, 0.5076801776885986, 0.5876149535179138, 0.453186571598053, 0.4942437708377838, 0.5905807614326477, -0.022137148305773735, -0.2173173576593399, 0.014337658882141113, 0.33388370275497437, 0.30750513076782227, -0.32431983947753906, 0.8798582553863525, 0.30914753675460815, -1.0102565288543701, -0.7300620675086975, 0.24676233530044556, -0.7769877910614014, 0.441001832485199, 0.9343395829200745, -0.41439950466156006, -0.11019904911518097, 0.1592622548341751, 0.02443944476544857, -0.06990654766559601, -0.13313190639019012, 0.7442476153373718, 0.9321320652961731, -0.3196873962879181, -0.24248133599758148, -0.5178107619285583, 0.447746604681015, 0.7162418365478516, -0.6828640103340149, -0.15194770693778992, 0.35359305143356323, 0.5006335973739624, 0.3178179860115051, 0.7107216715812683, -0.31521475315093994, 0.5024706125259399, -0.01626271940767765, -0.20195770263671875, 0.08500681817531586, -0.3093232214450836, -0.16091743111610413, -0.29154545068740845, 0.15218940377235413, 0.21763743460178375 ]
http://arxiv.org/abs/2403.09832v1
http://arxiv.org/pdf/2403.09832v1
Scaling Behavior of Machine Translation with Large Language Models under Prompt Injection Attacks
2024-03-14T19:39:10
2024-03-14T19:39:10
Zhifan Sun, Antonio Valerio Miceli-Barone
cs.CL
cs.CL
Large Language Models (LLMs) are increasingly becoming the preferred foundation platforms for many Natural Language Processing tasks such as Machine Translation, owing to their quality often comparable to or better than task-specific models, and the simplicity of specifying the task through natural language instructions or in-context examples. Their generality, however, opens them up to subversion by end users who may embed into their requests instructions that cause the model to behave in unauthorized and possibly unsafe ways. In this work we study these Prompt Injection Attacks (PIAs) on multiple families of LLMs on a Machine Translation task, focusing on the effects of model size on the attack success rates. We introduce a new benchmark data set and we discover that on multiple language pairs and injected prompts written in English, larger models under certain conditions may become more susceptible to successful attacks, an instance of the Inverse Scaling phenomenon (McKenzie et al., 2023). To our knowledge, this is the first work to study non-trivial LLM scaling behaviour in a multi-lingual setting.
[ -0.14610570669174194, -0.9603830575942993, 0.5576370358467102, 0.4976418912410736, -0.062299516052007675, -0.3616839647293091, -0.13726072013378143, -0.3998025059700012, 0.012835046276450157, 0.8055381774902344, -0.5188880562782288, -0.16974098980426788, -1.00016450881958, 0.382093220949173, -0.4802332818508148, 0.8658298254013062, -0.02641231007874012, 0.3650820255279541, 0.01654832996428013, -0.187140092253685, -0.571091890335083, -0.8065222501754761, -0.6272817850112915, -0.05997582525014877, 0.4258118271827698, 0.29129758477211, 0.7561852931976318, 0.6190624833106995, 0.7526991963386536, 0.3138192892074585, -0.039663203060626984, -0.22877539694309235, -0.408740758895874, 0.4321935176849365, -0.0960828885436058, -0.5819833278656006, -0.6095645427703857, -0.11019019782543182, 0.9468685388565063, 0.8236672878265381, 0.1365978717803955, 0.06734149158000946, 0.20154426991939545, 0.5343184471130371, -0.45032891631126404, -0.17730817198753357, -0.6910562515258789, -0.1031690388917923, -0.07065379619598389, -0.026626581326127052, -0.9917334914207458, -0.003301392076537013, -0.10358524322509766, -0.47153058648109436, -0.09587317705154419, 0.21833421289920807, 0.577182948589325, 0.1857539564371109, -0.7179386615753174, -0.3467544615268707, -0.31478047370910645, 0.7559317350387573, -0.706793487071991, 0.2963959872722626, 0.010275238193571568, 0.2811843454837799, -0.6373676061630249, -0.6336175799369812, -0.34945356845855713, -0.3289794325828552, -0.21580584347248077, -0.42516934871673584, -0.6813691258430481, 0.1303412914276123, 0.4777196943759918, 0.12977227568626404, -0.6394153237342834, 0.6548840999603271, -0.039708759635686874, -0.15401838719844818, 0.2919057309627533, 0.3805050551891327, 0.6183639764785767, -0.40603524446487427, -0.5362849235534668, -0.058087561279535294, -1.036512017250061, -0.07057926803827286, 0.4175419807434082, 0.6605411767959595, -0.2850568890571594, 0.706829309463501, -0.1716899573802948, 0.8363239765167236, 0.06797142326831818, -0.09071997553110123, 0.07749882340431213, -0.5520621538162231, -0.2785317897796631, -0.1228371113538742, 1.1119953393936157, 0.42838254570961, 0.3619350492954254, 0.04818802699446678, -0.22292937338352203, -0.472298264503479, 0.23459239304065704, -1.1131939888000488, 0.1611010879278183, 0.10751927644014359, -0.3654670715332031, -0.3398912250995636, -0.06896278262138367, -0.6091804504394531, -0.6313484311103821, 0.13504523038864136, 0.5288495421409607, -0.3118251860141754, -0.15852569043636322, 0.026533218100667, 0.048753008246421814, 0.4605606198310852, 0.08602412790060043, -0.7438012361526489, 0.297781765460968, 0.6069324016571045, 1.0034918785095215, -0.24080482125282288, -0.4209187626838684, -0.9454607367515564, 0.024515675380825996, -0.3593534827232361, 0.4281007647514343, -0.31305432319641113, -0.5329916477203369, 0.04328050836920738, 0.2706841230392456, -0.12737692892551422, -0.46883559226989746, 0.4399729371070862, -0.7396159172058105, 0.017100227996706963, -0.3146930932998657, -0.465833455324173, 0.09026279300451279, 0.4207300543785095, -0.5598523616790771, 0.4968465268611908, -0.1993357241153717, -0.7392211556434631, 0.13917957246303558, -0.5307612419128418, -0.5602021217346191, -0.060413770377635956, 0.05576123297214508, -0.2514920234680176, 0.2294207066297531, 0.28743696212768555, 0.648953378200531, -0.4863353669643402, 0.11668284237384796, -0.2977701425552368, -0.045643460005521774, 0.48728498816490173, -0.7189930081367493, 1.0851712226867676, 0.005613615736365318, -0.1879645735025406, 0.18267709016799927, -0.47325924038887024, -0.08103841543197632, 0.2452418953180313, -0.11169898509979248, -0.4122062921524048, -0.3052874505519867, -0.22303186357021332, 0.21212109923362732, 0.3484802544116974, -0.45496106147766113, 0.6207541823387146, -0.5027472376823425, 0.5115407109260559, 0.7013295292854309, 0.6250821352005005, 0.48257625102996826, 0.044447578489780426, 0.6985558867454529, -0.04948392137885094, 0.4055839776992798, -0.4558696448802948, -0.7505919933319092, -0.42806050181388855, -0.49399638175964355, 0.10119573026895523, 0.6046888828277588, -0.5134210586547852, 0.09732526540756226, -0.47471940517425537, -0.4726370573043823, -0.18946494162082672, 0.14441359043121338, 0.48483461141586304, 0.5613459944725037, 0.3072461187839508, 0.008114878088235855, -0.08091424405574799, -1.298017978668213, -0.46149685978889465, -0.24498271942138672, -0.44921383261680603, 0.23453426361083984, 0.5498027205467224, -0.2908584177494049, 0.6145716309547424, -0.48495718836784363, -0.19938798248767853, -0.23238879442214966, 0.24660737812519073, 0.5310888290405273, 0.6095907688140869, 0.6114544868469238, -0.8044717311859131, -0.6186031699180603, -0.03508175536990166, -0.4786098301410675, -0.4339343011379242, -0.3336261510848999, -0.0013369583757594228, 0.21137352287769318, 0.6060410737991333, -0.5642003417015076, 0.14981530606746674, 0.8166272640228271, -0.25010088086128235, 0.6066516637802124, -0.3704071640968323, 0.33179259300231934, -1.2617645263671875, -0.012669016607105732, -0.08888143301010132, -0.08388667553663254, -1.036582589149475, 0.4695744514465332, 0.4838401675224304, -0.07618705928325653, -0.8224959373474121, 0.49439749121665955, -0.4707273840904236, -0.14860385656356812, -0.21108128130435944, -0.07481594383716583, 0.09591762721538544, 0.29714179039001465, -0.30225399136543274, 1.0081565380096436, 0.7133381366729736, -0.5896130204200745, 0.17725153267383575, -0.12389401346445084, -0.08544889837503433, 0.6150205135345459, -0.9304887652397156, 0.10268650203943253, 0.19500362873077393, 0.32260483503341675, -1.1351933479309082, -0.3335156738758087, 0.31294724345207214, -0.5301270484924316, 0.5165717005729675, -0.3462294340133667, -0.7289602756500244, -0.047725703567266464, -0.3484952449798584, 0.4042796492576599, 0.4159596562385559, -0.4932776391506195, 0.5696243047714233, 0.037704821676015854, -0.13677404820919037, -0.6099214553833008, -0.7387784719467163, 0.3470345139503479, -0.3093269169330597, -0.822593092918396, 0.09196721762418747, -0.030191024765372276, -0.44595056772232056, -0.41917410492897034, 0.2642090916633606, -0.18061283230781555, 0.34224066138267517, 0.32350748777389526, 0.2680099308490753, -0.13921470940113068, -0.0847335010766983, 0.1751076728105545, 0.02817281149327755, 0.2989807426929474, -0.20289617776870728, 0.5972254276275635, -0.05524677038192749, -0.6116941571235657, -0.5733996629714966, 0.5145204663276672, 1.075840950012207, -0.0799354538321495, 1.2532033920288086, 0.07316018640995026, -0.27251389622688293, 0.17073267698287964, -0.3584321439266205, -0.2309015393257141, -0.4729011356830597, 0.5272899270057678, -0.7280668020248413, -0.6016014218330383, 0.7408081889152527, -0.042247556149959564, 0.13163363933563232, 0.5900858044624329, 0.5382806062698364, 0.01178499311208725, 1.4171122312545776, 0.598800778388977, -0.14773701131343842, 0.31358757615089417, -0.043923817574977875, 0.041104063391685486, -0.9082719087600708, 0.06664735078811646, -0.722897469997406, -0.2261015623807907, -0.6936240196228027, -0.5104188919067383, 0.6060525178909302, 0.16701781749725342, -0.2713349461555481, 0.49304428696632385, -0.017100157216191292, 0.453117311000824, 0.3742690980434418, -0.203433558344841, 0.377534419298172, -0.18989308178424835, -0.206093430519104, -0.12117040902376175, -0.5272786617279053, -0.4185926616191864, 1.1796770095825195, 0.3535439670085907, 0.5379628539085388, 0.41391897201538086, 0.43609902262687683, 0.2950877845287323, 0.2853616774082184, -0.7161479592323303, 0.5365291237831116, -0.023211315274238586, -0.5083472728729248, -0.261114239692688, -0.5447168946266174, -1.0506936311721802, 0.43089503049850464, -0.022651029750704765, -0.5986800193786621, 0.11746620386838913, 0.018934492021799088, -0.09863672405481339, 0.3027558922767639, -0.9262922406196594, 0.8648325204849243, -0.24792639911174774, -0.11566324532032013, -0.25269410014152527, -0.6955708861351013, 0.4037187099456787, -0.5354189276695251, 0.36494964361190796, 0.17102909088134766, -0.34697550535202026, 0.4520225524902344, -0.285209983587265, 1.0164427757263184, -0.10292324423789978, -0.3456527590751648, -0.1334000676870346, 0.44255155324935913, 0.9454264640808105, 0.10307169705629349, -0.08848222345113754, 0.4938657283782959, -0.28399142622947693, -0.6583755612373352, -0.6168838143348694, 0.7938088774681091, -0.6092607975006104, -0.982816755771637, -0.23955391347408295, -0.5528231859207153, -0.14724603295326233, 0.35963910818099976, 0.4394395649433136, 0.31297290325164795, -0.06738721579313278, 0.18964359164237976, 0.7182005047798157, -0.5252941846847534, 0.30603718757629395, 0.8227808475494385, -0.2635321319103241, -0.3381156027317047, 0.6505900621414185, 0.2614861726760864, 0.9395242929458618, 0.40626662969589233, 0.0977223739027977, 0.09091681987047195, -0.7704636454582214, -0.8178425431251526, 0.3654117286205292, -0.5099303126335144, -0.30105772614479065, -0.698040246963501, -0.00033289927523583174, -0.6638657450675964, -0.18765749037265778, -0.3278723657131195, -0.48310235142707825, -0.12238683551549911, 0.04635068401694298, 0.11242546141147614, 0.6029492616653442, 0.19657473266124725, 0.5078305602073669, -0.7978871464729309, 0.09762197732925415, 0.15532276034355164, 0.005430059507489204, -0.19232895970344543, -1.0433871746063232, -0.07259886711835861, -0.002570181852206588, -0.10214047878980637, -1.2863035202026367, 0.5153458118438721, -0.017964044585824013, 0.2908983826637268, 0.5043141841888428, 0.14785417914390564, 0.3461796045303345, -0.8403676152229309, 0.8697402477264404, 0.18070170283317566, -0.8421825766563416, 0.42178618907928467, -0.4382874369621277, 0.6469459533691406, 0.1793137788772583, 0.5811073780059814, -0.7831148505210876, -0.535230815410614, -0.23594282567501068, -0.8307380676269531, 0.5404936075210571, 0.04920953884720802, 0.4303527772426605, -0.019407475367188454, 0.3592311143875122, 0.13374489545822144, 0.05373594909906387, -0.7150003910064697, -0.33456045389175415, 0.23278886079788208, 0.19964328408241272, -0.010768541134893894, -0.4333139955997467, 0.05324719101190567, 0.13615891337394714, 0.5902969837188721, -0.06425443291664124, -0.032658375799655914, -0.11791268736124039, -0.26402637362480164, -0.06818749755620956, 0.4456181526184082, 0.6794496774673462, 0.2852788269519806, 0.157243013381958, 0.16703076660633087, 0.27876266837120056, -0.4185613691806793, 0.25697046518325806, -0.03310985490679741, -0.2998882830142975, -0.33148661255836487, 0.6769965887069702, 0.6327839493751526, 0.37128588557243347, -0.757414698600769, 0.5898205041885376, -0.16696612536907196, 0.12242963910102844, -0.1121576651930809, -0.21012049913406372, -0.15665040910243988, 0.1039285957813263, 0.3757070004940033, -0.045651938766241074, 0.0908900797367096, -0.26510512828826904, -0.08809773623943329, 0.5694981813430786, -0.3072516918182373, -0.3530236482620239, 0.33277812600135803, 0.09751509130001068, -0.36398133635520935, 0.7485203146934509, 0.061934325844049454, -0.6532016396522522, 0.5030881762504578, 0.6338004469871521, 0.8956761360168457, -0.46601730585098267, -0.07242807000875473, 0.37268373370170593, 0.8334208130836487, 0.18277591466903687, -0.2533072531223297, 0.23598438501358032, -0.4841148257255554, -0.5463294386863708, -0.44253355264663696, -0.44742676615715027, 0.07016889750957489, -0.5763317346572876, 0.23411254584789276, -0.268044114112854, -0.16223712265491486, -0.20919865369796753, -0.3302891254425049, -0.33387699723243713, -0.40116143226623535, -0.06991086900234222, 0.9772183895111084, -1.0631725788116455, 0.7808673977851868, 0.6210164427757263, -0.3101981282234192, -0.5247097015380859, 0.008326822891831398, 0.1952829360961914, -0.7047637701034546, 0.9470586180686951, 0.2258085310459137, -0.014542335644364357, -0.10839353501796722, -0.2618778944015503, -1.0486130714416504, 0.5990425944328308, 0.6498880386352539, -0.4665188789367676, 0.02126295119524002, 0.4508543312549591, 0.4276566207408905, -0.26628026366233826, -0.058826953172683716, 0.39147838950157166, 0.4567217528820038, -0.35126379132270813, -1.093226671218872, 0.16004592180252075, 0.008141442202031612, -0.15410298109054565, 0.5227532386779785, -0.4958280920982361, 0.9441431760787964, -0.2068004310131073, -0.10620225965976715, 0.010160049423575401, 0.554396390914917, 0.028724689036607742, -0.11764950305223465, 0.5778072476387024, 0.35182321071624756, 0.5450718998908997, 0.23546135425567627, 1.412995457649231, -0.269085168838501, -0.12445694953203201, 1.2118899822235107, -0.2804390788078308, 0.9236835837364197, 0.8038613796234131, 0.02077159844338894, 0.3117928206920624, 0.34200942516326904, 0.25979599356651306, 0.12297845631837845, 0.16506130993366241, -0.05986510589718819, -0.0926872193813324, -0.24524186551570892, -0.38044849038124084, 0.13702106475830078, 0.3884851634502411, -0.5869612693786621, -0.0034288621973246336, 0.36191651225090027, 0.3363535702228546, -0.09062938392162323, -0.2748127281665802, 0.6807963252067566, 0.0443439856171608, -0.5032908320426941, 0.6033021807670593, 0.24337971210479736, 0.5353728532791138, -0.7277828454971313, 0.16683389246463776, -0.34291407465934753, -0.030050339177250862, 0.09056162089109421, -0.6538451313972473, 0.09672464430332184, 0.2553776204586029, -0.4615738093852997, -0.46067938208580017, 0.32593777775764465, -0.05717075988650322, -0.40594154596328735, 0.4438937306404114, 0.22985690832138062, 0.18944677710533142, -0.25015789270401, -0.5333710312843323, 0.16649943590164185, -0.11757341772317886, -0.6659440994262695, 0.7008776068687439, 0.32663866877555847, -0.2823677957057953, 0.8512420058250427, 0.5472491979598999, 0.3099217414855957, 0.419376403093338, 0.0057858750224113464, 0.7680001258850098, -0.15539439022541046, -0.19543635845184326, -1.217500925064087, 0.20471151173114777, -0.18290016055107117, -0.09390811622142792, 1.2645035982131958, 0.43819689750671387, 0.6241155862808228, 0.00980423204600811, 0.31030625104904175, 0.18548205494880676, 0.11512158066034317, -0.42031267285346985, 0.6452784538269043, -0.3841301202774048, 0.4146135151386261, -0.26793181896209717, -0.8514901399612427, -0.3823625445365906, -0.07494260370731354, -0.38942083716392517, -0.2727155387401581, 0.6585274934768677, 0.8683161735534668, 0.1910218894481659, -0.2174742966890335, 0.40858083963394165, 0.6926267147064209, 0.6319827437400818, 0.39280426502227783, 0.47491154074668884, -0.2940366268157959, 0.6881603002548218, -0.08121906965970993, -0.39130446314811707, -0.21872779726982117, -0.895150899887085, -0.7995044589042664, -0.4581792652606964, -0.12693001329898834, -0.28142544627189636, -0.08158055692911148, 0.7743089199066162, 0.4128200113773346, -0.8285648822784424, -0.15240325033664703, 0.014663380570709705, 0.12636539340019226, -0.1818438619375229, -0.1863020956516266, 0.35585424304008484, -0.354025661945343, -0.8144426345825195, 0.6193902492523193, 0.30965977907180786, 0.14885680377483368, -0.560072660446167, -0.10659512877464294, -0.17302894592285156, 0.2442842274904251, 0.36630532145500183, 0.1893651932477951, -0.7177540063858032, -0.25460150837898254, 0.14922872185707092, -0.33803805708885193, -0.2282024323940277, 0.8827794194221497, -0.5704930424690247, 0.5166075229644775, 0.5647734999656677, 0.8096638321876526, 0.011450110003352165, -0.2631358206272125, 0.8106949329376221, -0.8638476133346558, 0.22045473754405975, -0.01143648661673069, 0.47190725803375244, 0.2658374011516571, -0.4288575351238251, 0.2270078808069229, 0.08071278035640717, -0.4594683051109314, -1.2388635873794556, 0.5206397771835327, -0.5781182646751404, -0.40370333194732666, 1.1694486141204834, -0.33925801515579224, -0.2610090970993042, 0.10561393946409225, -0.1329137086868286, -0.09814360737800598, -0.24638031423091888, 0.3235950171947479, 0.8018482327461243, -0.050128526985645294, 0.2447681725025177, -0.7146376371383667, 0.01815473660826683, 0.609519362449646, -0.5406705141067505, 0.4311631917953491, 0.5690778493881226, 0.09687823057174683, 0.11012546718120575, 0.2123211771249771, -0.08107046782970428, 0.14765116572380066, -0.14323651790618896, -0.21258874237537384, 0.02206668071448803, -0.294036865234375, -0.7257306575775146, 0.4909477233886719, 0.26514363288879395, 0.06328293681144714 ]
http://arxiv.org/abs/2403.09795v1
http://arxiv.org/pdf/2403.09795v1
Helpful or Harmful? Exploring the Efficacy of Large Language Models for Online Grooming Prevention
2024-03-14T18:27:43
2024-03-14T18:27:43
Ellie Prosser, Matthew Edwards
cs.CR
cs.CR, cs.AI, cs.CL
Powerful generative Large Language Models (LLMs) are becoming popular tools amongst the general public as question-answering systems, and are being utilised by vulnerable groups such as children. With children increasingly interacting with these tools, it is imperative for researchers to scrutinise the safety of LLMs, especially for applications that could lead to serious outcomes, such as online child safety queries. In this paper, the efficacy of LLMs for online grooming prevention is explored both for identifying and avoiding grooming through advice generation, and the impact of prompt design on model performance is investigated by varying the provided context and prompt specificity. In results reflecting over 6,000 LLM interactions, we find that no models were clearly appropriate for online grooming prevention, with an observed lack of consistency in behaviours, and potential for harmful answer generation, especially from open-source models. We outline where and how models fall short, providing suggestions for improvement, and identify prompt designs that heavily altered model performance in troubling ways, with findings that can be used to inform best practice usage guides.
[ -0.24502384662628174, -1.0198684930801392, 0.6474278569221497, 0.3251635432243347, -0.46392834186553955, -0.38573122024536133, 0.18125198781490326, -0.7457460761070251, -0.09852634370326996, 0.45155179500579834, -0.45642420649528503, -0.22668574750423431, -0.4548642039299011, 0.3263252079486847, -0.5711526274681091, 0.6041175127029419, 0.08591143786907196, 0.15204942226409912, -0.47520384192466736, 0.44208866357803345, -0.7693970203399658, -0.5857773423194885, -0.970953106880188, 0.1496647447347641, 0.7102301716804504, 0.17325666546821594, 0.5081371665000916, 0.49876144528388977, 0.6875994205474854, 0.22482043504714966, -0.37399062514305115, 0.18449875712394714, -0.5783568620681763, 0.48000138998031616, -0.2625490725040436, -0.5492844581604004, -0.5352792143821716, -0.1692502349615097, 0.152764692902565, 0.5902704000473022, -0.4711538553237915, -0.11014922708272934, 0.3432406783103943, 0.3217986524105072, -0.6695197224617004, -0.23714397847652435, -0.6154748797416687, -0.07609204202890396, -0.1032850369811058, -0.18366387486457825, -0.6174204349517822, -0.43372347950935364, 0.05785959213972092, -0.5111144781112671, -0.12603513896465302, -0.20001016557216644, 0.434232622385025, 0.08601468056440353, -0.39941927790641785, -0.6064468622207642, -0.8002261519432068, 0.6916300058364868, -0.9091195464134216, 0.10759700834751129, 0.8263556361198425, 0.1905519962310791, -0.32595476508140564, -0.5267355442047119, -0.20407773554325104, -0.1322794109582901, -0.1721520721912384, -0.10972525179386139, -0.5290379524230957, 0.20682792365550995, 0.4460495114326477, -0.1351357251405716, -0.404337078332901, 0.43355870246887207, -0.11319012194871902, -0.06982379406690598, 0.599052369594574, 0.38639113306999207, 0.4649900794029236, -0.1513994038105011, -0.22942273318767548, 0.06000612676143646, -1.1725103855133057, 0.42710554599761963, 0.35198450088500977, 0.4366203844547272, -0.09944965690374374, 0.47826728224754333, 0.1920146942138672, 0.6327705383300781, 0.2010589987039566, -0.47429442405700684, -0.38159677386283875, -0.2846476137638092, 0.07753737270832062, -0.16052711009979248, 0.5927718281745911, 0.8959059715270996, 0.3756124675273895, -0.04694409295916557, -0.2678542733192444, -0.16911347210407257, 0.4811888039112091, -1.0911387205123901, 0.2580071985721588, 0.14699514210224152, -0.42987358570098877, -0.4530213475227356, 0.0849011018872261, -0.7444865107536316, -0.640418529510498, 0.1854163557291031, 0.10297906398773193, -0.13369014859199524, -0.3830142319202423, 0.12164253741502762, -0.13614650070667267, 0.3180330991744995, 0.385257363319397, -0.8802746534347534, 0.23364059627056122, 0.5916382670402527, 0.6686627268791199, -0.1540042906999588, 0.273752897977829, -0.5043937563896179, 0.13629044592380524, -0.5023177862167358, 0.48473578691482544, -0.5668041706085205, -0.9513429999351501, 0.3835914731025696, 0.14317446947097778, 0.07704885303974152, -0.5463708639144897, 0.8005470633506775, -0.4606305658817291, 0.10948120057582855, -0.3794991374015808, -0.4780179262161255, 0.015282290056347847, 0.12613961100578308, -0.5001229643821716, 0.6181139945983887, -0.28779876232147217, -0.8704766035079956, 0.28331032395362854, -0.3351835012435913, -0.5860796570777893, 0.05088791623711586, 0.10937406867742538, -0.5173802375793457, 0.2004382610321045, 0.30496087670326233, 0.5916970372200012, -0.29837390780448914, 0.4829685688018799, -0.49857956171035767, -0.2733219563961029, 0.42344558238983154, -0.5243842005729675, 0.872782826423645, 0.1695908010005951, -0.2904092073440552, 0.30128854513168335, -0.3338579535484314, -0.07996868342161179, 0.40202468633651733, -0.08437861502170563, -0.6008851528167725, -0.0702582597732544, -0.16136610507965088, 0.48047035932540894, 0.022587314248085022, -0.4266854524612427, -0.03242236375808716, -0.2512456178665161, 0.4805006682872772, 0.7544542551040649, 0.3101182281970978, -0.15954044461250305, -0.7276641726493835, 0.7521862387657166, -0.34481093287467957, 0.4157233238220215, -0.3742557764053345, -0.7444354295730591, -0.4251340329647064, -0.058958228677511215, -0.06847164779901505, 0.3537486493587494, -0.8010348081588745, 0.36533406376838684, 0.1911243200302124, -0.5713043212890625, -0.09144334495067596, 0.11631783097982407, 0.6686039566993713, 0.3356688320636749, 0.02509927935898304, -0.1024458184838295, -0.24343962967395782, -0.9091179370880127, -0.47682154178619385, -0.20397871732711792, -0.21568964421749115, 0.4689592719078064, 0.2717517018318176, -0.05678315460681915, 0.7423663139343262, -0.28215864300727844, 0.15473370254039764, -0.23486900329589844, -0.24426685273647308, -0.07415439933538437, 0.3055279552936554, 0.8321167826652527, -0.6824876666069031, -0.3864233195781708, -0.6279189586639404, -0.7401852607727051, -0.24867501854896545, -0.053566914051771164, 0.08505713194608688, -0.099973164498806, 0.4976012110710144, -0.6264791488647461, 0.33411112427711487, 0.29718440771102905, -0.24462153017520905, 0.6320274472236633, -0.09453381597995758, -0.009303756058216095, -0.9345316290855408, 0.147293820977211, 0.264538049697876, -0.22047936916351318, -0.9891442656517029, 0.3159233629703522, 0.0708167776465416, -0.06605606526136398, -0.8812956809997559, 0.49206167459487915, -0.10984427481889725, 0.5142037272453308, -0.2421661913394928, 0.17971694469451904, 0.00940541923046112, 0.03376896679401398, -0.10770374536514282, 1.1183041334152222, 0.45186224579811096, -0.7885106801986694, 0.06697768718004227, 0.27666330337524414, -0.19646140933036804, 0.6265560984611511, -1.0302807092666626, 0.4072793424129486, 0.09068524837493896, -0.0110075818374753, -0.8181208968162537, -0.4125698506832123, 0.22886906564235687, -0.21937672793865204, 0.22947265207767487, -0.09434465318918228, -0.42177435755729675, -0.38912874460220337, -0.6469120979309082, 0.3832423686981201, 0.4505155086517334, -0.5498022437095642, 0.23606041073799133, 0.5839041471481323, -0.6147816181182861, -0.3112064003944397, -0.36664652824401855, 0.14726851880550385, -0.6975826621055603, -0.844619870185852, 0.09158523380756378, -0.1386813521385193, -0.5931243896484375, -0.2845132052898407, -0.032354261726140976, 0.013158909976482391, 0.6672772169113159, 0.3095758855342865, 0.3306143581867218, 0.13891127705574036, 0.18418560922145844, -0.09688456356525421, 0.19021475315093994, 0.4437975287437439, 0.3813020884990692, 0.4701644778251648, 0.09909752756357193, -0.5240347385406494, -0.4455113112926483, 0.585202693939209, 0.3116990625858307, -0.03926690295338631, 0.8898616433143616, 0.09743483364582062, -0.45105433464050293, -0.3421633541584015, -0.4178110957145691, -0.3109642267227173, -0.5719443559646606, 0.13584257662296295, 0.047539833933115005, -0.8934012055397034, 0.27066585421562195, -0.047972314059734344, -0.009896411560475826, 0.16666342318058014, 0.21803978085517883, -0.23516544699668884, 1.3539056777954102, 0.7557554841041565, 0.2141347974538803, 0.6117803454399109, 0.14436230063438416, 0.18559730052947998, -0.6310717463493347, -0.3771895170211792, -0.4877564013004303, 0.2292500138282776, -0.6196041703224182, -0.06975765526294708, 0.4190692603588104, 0.3785282075405121, -0.1449865698814392, 0.16740305721759796, -0.3632980287075043, 0.3334972858428955, 0.36375775933265686, 0.19459518790245056, 0.17996177077293396, 0.05948278680443764, -0.15607932209968567, -0.08381599932909012, -0.7812179327011108, -0.7148981690406799, 0.9219689965248108, 0.37743493914604187, 1.1054036617279053, 0.2838907539844513, 0.22451567649841309, 0.3672822415828705, 0.2221301794052124, -0.6988076567649841, 0.657978892326355, 0.03591896593570709, -0.652208149433136, -0.12510398030281067, -0.40730324387550354, -1.1255035400390625, 0.11764875054359436, -0.14316421747207642, -0.887833297252655, -0.0484791062772274, 0.18556730449199677, -0.4113880395889282, 0.30966538190841675, -0.5779465436935425, 0.4816848039627075, -0.5101297497749329, -0.787401556968689, -0.07913222908973694, -0.5816314816474915, 0.544735848903656, -0.33047863841056824, 0.3269402086734772, 0.06508195400238037, 0.05435260757803917, 0.9887171983718872, -0.3286338448524475, 1.1665735244750977, -0.1663576364517212, -0.3862059414386749, 0.3966785967350006, 0.09907805174589157, 0.7807338237762451, -0.270489364862442, -0.12391076982021332, -0.02545793168246746, -0.07872401922941208, -0.1364431530237198, -0.3170633912086487, 0.7098643779754639, -0.49837982654571533, -1.3091919422149658, -0.16650651395320892, -0.1991831660270691, -0.4213723838329315, 0.29500195384025574, -0.026235617697238922, 0.59385085105896, -0.13661238551139832, 0.3637135624885559, 0.7681898474693298, -0.640274167060852, 0.47505825757980347, 0.39286884665489197, -0.4554192125797272, -0.37574702501296997, 0.7184460163116455, -0.13739296793937683, 0.565679132938385, -0.06609239429235458, 0.5168460011482239, -0.5006993412971497, -0.653378427028656, -0.36591947078704834, 0.28064876794815063, -0.9155853390693665, -0.2455485761165619, -0.3813134431838989, -0.15716899931430817, -0.5392302870750427, -0.21123844385147095, 0.21243688464164734, -0.22410191595554352, -0.3181134760379791, -0.24815258383750916, 0.3952479064464569, 1.242534875869751, 0.25197041034698486, 0.3855990469455719, -0.8451154828071594, -0.06333789229393005, 0.41866233944892883, 0.35401207208633423, 0.06966143846511841, -0.21514135599136353, 0.03282909467816353, -0.06984220445156097, -0.3977218270301819, -0.9201779365539551, 0.31513693928718567, -0.1071460098028183, 0.8430918455123901, 0.9237397313117981, 0.37346571683883667, 0.3771095275878906, -0.25779566168785095, 0.8453727960586548, 0.31531769037246704, -0.4495348334312439, 0.39890605211257935, -0.6947087645530701, 0.10560951381921768, 0.23942677676677704, 0.7036779522895813, -0.7401202321052551, -0.3469862937927246, -0.4087286591529846, -0.7409576773643494, 0.6035466194152832, 0.12573762238025665, 0.24451790750026703, -0.1538437008857727, 0.14669260382652283, 0.295316219329834, 0.42367294430732727, -0.5782358050346375, -0.23730723559856415, -0.009397841989994049, 0.16563384234905243, 0.27739250659942627, -0.7088320255279541, -0.19594250619411469, 0.08918704837560654, 0.665189802646637, 0.24935705959796906, 0.07958097010850906, -0.1369306892156601, 0.019329728558659554, -0.351004034280777, 0.3458935618400574, 0.727374792098999, 0.7087678909301758, -0.014646713621914387, 0.11711959540843964, 0.09602188318967819, -0.26862671971321106, 0.16461466252803802, -0.19356220960617065, -0.5278987288475037, -0.28036218881607056, 0.5027061104774475, 0.6190121173858643, 0.21361245214939117, -0.6819565892219543, 0.6746634840965271, -0.20605097711086273, -0.0014858036302030087, -0.15906499326229095, 0.25718384981155396, 0.33232834935188293, -0.27854689955711365, 0.1503697782754898, -0.16099610924720764, -0.011017958633601665, -0.42476552724838257, 0.02660180814564228, 0.8237404823303223, -0.2564209997653961, -0.20177406072616577, 0.6004924178123474, 0.5345665216445923, -0.6872475743293762, 0.268001914024353, -0.029812946915626526, -0.508330225944519, 0.5480676889419556, 0.7057275176048279, 0.7363533973693848, -0.4531557559967041, 0.09630704671144485, 0.40770280361175537, 0.22469989955425262, 0.11543204635381699, 0.12089473754167557, 0.12851789593696594, -0.48116153478622437, -0.1018398106098175, -0.47558578848838806, -0.38469189405441284, 0.46206605434417725, -0.6190102100372314, 0.26840126514434814, -0.5667725205421448, -0.3676913380622864, -0.20058400928974152, -0.49153026938438416, -0.5261754393577576, -0.08464035391807556, 0.08737918734550476, 0.8680041432380676, -0.8717015981674194, 0.40116387605667114, 0.4045669436454773, -0.41770538687705994, -0.8400355577468872, 0.22900404036045074, 0.21488834917545319, -0.6694366931915283, 0.31684964895248413, 0.35148414969444275, -0.5034728050231934, -0.4041900038719177, -0.5757226347923279, -0.8265228867530823, 0.6444937586784363, 0.3729548752307892, -0.7166682481765747, -0.31874388456344604, 0.29130491614341736, 0.40309447050094604, 0.017185315489768982, 0.27900266647338867, 0.33606740832328796, 0.3630083501338959, 0.18325930833816528, -0.9951424598693848, 0.35529598593711853, -0.36645370721817017, 0.021976202726364136, 0.11532840132713318, -0.30612170696258545, 0.5224898457527161, -0.2847785949707031, -0.5443649888038635, 0.41883385181427, -0.0982799306511879, 0.21129782497882843, 0.03406592085957527, 0.48915529251098633, 0.24012315273284912, 0.6620059013366699, 0.046313248574733734, 1.2161399126052856, -0.21959254145622253, -0.15502211451530457, 0.8658792972564697, -0.2455967515707016, 0.7036253213882446, 0.4508567750453949, -0.19922950863838196, 0.10594093799591064, 0.475410521030426, 0.13772284984588623, 0.5558919310569763, 0.29166412353515625, -0.33358296751976013, -0.5074669718742371, -0.5499905347824097, -0.47058072686195374, 0.17691980302333832, 0.5032171010971069, -0.4379911720752716, -0.26523420214653015, 0.1867009550333023, 0.26297178864479065, -0.0006607553805224597, -0.3880547285079956, 1.0123553276062012, 0.32350677251815796, -0.6728865504264832, 0.5627800226211548, -0.04549418389797211, 0.6813517808914185, -0.5753940939903259, -0.2889304459095001, -0.15255090594291687, 0.0601583756506443, -0.22074666619300842, -0.7535811066627502, 0.08772532641887665, 0.36109215021133423, 0.21480602025985718, -0.31665971875190735, 1.1153106689453125, -0.034713614732027054, -0.4709151089191437, 0.3463054597377777, 0.7457228302955627, 0.1217840313911438, 0.19547344744205475, -0.502344012260437, -0.2030263990163803, -0.2908093333244324, -0.2601681053638458, 0.47874724864959717, 0.14925721287727356, -0.3379753828048706, 1.0107336044311523, 0.7603442668914795, 0.06374858319759369, 0.07120468467473984, -0.018604326993227005, 1.0082050561904907, -0.47448527812957764, -0.425606369972229, -0.9552488923072815, 0.3783889412879944, -0.1454647034406662, -0.12706489861011505, 1.1360276937484741, 0.18144221603870392, 0.8930937647819519, 0.10868549346923828, 0.6668261885643005, 0.20347562432289124, 0.4593360126018524, -0.39810600876808167, 0.7954223155975342, -0.43298718333244324, 0.5341707468032837, -0.33834734559059143, -0.583655059337616, -0.3529253900051117, 0.44819632172584534, -0.5828444957733154, 0.2287917286157608, 0.5630233287811279, 0.9322292804718018, 0.29089194536209106, 0.24302293360233307, 0.6125503778457642, 0.07442238181829453, 0.704258918762207, 0.0930483490228653, 1.2811496257781982, 0.37729695439338684, 0.4734555184841156, -0.38971036672592163, 0.058173563331365585, -0.3577077090740204, -1.0401396751403809, -1.1045031547546387, -0.16822421550750732, 0.11372913420200348, -0.26200905442237854, 0.3131796419620514, 1.0380738973617554, 0.5351091623306274, -0.732173502445221, -0.08252033591270447, -0.061073314398527145, -0.08037998527288437, 0.03075339086353779, -0.14604602754116058, 0.17143206298351288, 0.02491430751979351, -0.24610914289951324, 0.6006100177764893, -0.11696876585483551, 0.1382286250591278, -0.3749226927757263, 0.14062654972076416, 0.01937716081738472, 0.13074891269207, 0.61575847864151, 0.14263182878494263, -0.8919299244880676, -0.4654199779033661, 0.07684622704982758, -0.27594345808029175, 0.014313937164843082, 0.7326967716217041, -0.27869975566864014, 0.45831552147865295, 0.23734050989151, 0.5241448283195496, 0.09371697902679443, 0.1739872545003891, 0.6995025277137756, -0.5101574063301086, -0.2860003709793091, 0.38282716274261475, 0.5554046630859375, 0.6263343095779419, -0.5766441226005554, 0.35568711161613464, 0.07653681188821793, -0.44137904047966003, -0.7623336911201477, 0.3527853786945343, -0.5598492622375488, -0.47262081503868103, 1.4894636869430542, -0.42893198132514954, -0.11943559348583221, -0.3069433569908142, -0.4980158507823944, 0.011341355741024017, -0.5263947248458862, 0.8693915605545044, 0.544028639793396, -0.08650297671556473, 0.03416700288653374, -0.5233641266822815, 0.550139844417572, 0.15329845249652863, -0.900175929069519, 0.2792704403400421, 0.37334176898002625, 0.4658927619457245, -0.09801499545574188, 0.24765314161777496, 0.07102232426404953, 0.32938286662101746, -0.1223910003900528, -0.2809402644634247, -0.3596387207508087, -0.39959290623664856, -0.6410788893699646, 0.19449032843112946, 0.5577517151832581, 0.2795650064945221 ]
http://arxiv.org/abs/2403.09792v2
http://arxiv.org/pdf/2403.09792v2
Images are Achilles' Heel of Alignment: Exploiting Visual Vulnerabilities for Jailbreaking Multimodal Large Language Models
2024-03-14T18:24:55
2024-04-14T11:57:55
Yifan Li, Hangyu Guo, Kun Zhou, Wayne Xin Zhao, Ji-Rong Wen
cs.CV
cs.CV, cs.CL
In this paper, we study the harmlessness alignment problem of multimodal large language models (MLLMs). We conduct a systematic empirical analysis of the harmlessness performance of representative MLLMs and reveal that the image input poses the alignment vulnerability of MLLMs. Inspired by this, we propose a novel jailbreak method named HADES, which hides and amplifies the harmfulness of the malicious intent within the text input, using meticulously crafted images. Experimental results show that HADES can effectively jailbreak existing MLLMs, which achieves an average Attack Success Rate (ASR) of 90.26% for LLaVA-1.5 and 71.60% for Gemini Pro Vision. Our code and data will be publicly released.
[ -0.21951082348823547, -0.724057674407959, 0.6445598602294922, -0.007376157213002443, -0.39688804745674133, 0.05992904305458069, 0.004706496372818947, -0.6334362626075745, 0.02107520028948784, 0.8364635705947876, -0.3846708834171295, -0.5407840013504028, -0.8926371335983276, -0.18225370347499847, -0.5494095087051392, 0.9584695100784302, 0.0944644957780838, -0.11670154333114624, 0.09529776871204376, -0.5107654929161072, -0.4657689034938812, -0.15715552866458893, -0.456101655960083, 0.49841126799583435, 0.965040922164917, 0.2108204960823059, 1.1694073677062988, 0.752804696559906, 1.124804973602295, 0.40892425179481506, 0.20166169106960297, 0.055878933519124985, -0.4461233913898468, 0.43859365582466125, -0.3016234338283539, -0.2894574999809265, -0.2578798234462738, -0.09515997767448425, 0.49543485045433044, 0.01556332316249609, 0.1426216959953308, 0.13492128252983093, -0.09286338835954666, 0.8797890543937683, -1.0043820142745972, -0.3482886254787445, -0.8448747396469116, -0.13105431199073792, -0.6072085499763489, 0.013089875690639019, -0.7069390416145325, -0.24696652591228485, -0.2230386584997177, -0.5600188970565796, -0.36522039771080017, 0.27295196056365967, 0.7187839150428772, 0.5633245706558228, -0.21126689016819, -0.34851446747779846, -0.590023934841156, 0.8114662170410156, -0.6249575614929199, 0.28142866492271423, 0.13416358828544617, 0.6306275129318237, -0.02112930454313755, -0.6078200936317444, -0.5846472978591919, -0.16865228116512299, -0.12923681735992432, -0.18767155706882477, -0.5441576242446899, -0.1604454219341278, 0.29490044713020325, -0.09909258037805557, -0.6267403364181519, 0.2971588969230652, -0.49079421162605286, -0.19301965832710266, 0.609006404876709, 0.12567682564258575, 0.901473343372345, 0.0007936686160974205, -0.4688444137573242, -0.2743096947669983, -0.7849951982498169, 0.012045515701174736, 0.5890336036682129, 0.19924727082252502, -0.13903175294399261, 0.9661580324172974, 0.5779877305030823, 0.8333041071891785, -0.12449005246162415, -0.5625699758529663, 0.17767582833766937, -0.06233884021639824, -0.24907179176807404, 0.006826639641076326, 0.9841845631599426, 0.8163691759109497, 0.2547221779823303, -0.2693733274936676, -0.18294133245944977, 0.21573108434677124, 0.6519155502319336, -0.47331565618515015, -0.07848835736513138, 0.4733620882034302, -0.23181292414665222, -0.6116430759429932, -0.1223096251487732, -0.8618434071540833, -1.1448934078216553, 0.1853998452425003, 0.4623459577560425, -0.8560106754302979, 0.11295509338378906, -0.3239777386188507, -0.023030128329992294, 0.28079497814178467, 0.34679603576660156, -0.7076035141944885, -0.06474003940820694, 0.5634925365447998, 0.6363192796707153, 0.0667373463511467, -0.40895307064056396, -0.6808063983917236, 0.1415129005908966, -0.3692152202129364, 0.544603168964386, -0.3068530857563019, 0.0515596829354763, -0.19444705545902252, -0.015492983162403107, -0.03724781796336174, -0.28169259428977966, 0.6527075171470642, -0.5851779580116272, -0.3168892562389374, 0.10663091391324997, -0.2978566884994507, 0.045329511165618896, 0.3085951507091522, -0.9112905859947205, 0.42949381470680237, -0.25890496373176575, -1.1329772472381592, 0.1937723159790039, -0.2896614670753479, -0.23019413650035858, -0.32232365012168884, -0.16714826226234436, -0.7415450215339661, 0.042974796146154404, 0.38665762543678284, 0.33966052532196045, 0.36292344331741333, 0.211772620677948, -0.5993300080299377, -0.442101389169693, 0.6122409105300903, -0.47104230523109436, 0.9372982978820801, 0.4566633701324463, -0.5948722958564758, 0.16883786022663116, -0.6335567235946655, -0.23483572900295258, 0.331795871257782, 0.09217303991317749, -0.7093906998634338, 0.09184790402650833, 0.23233191668987274, 0.3981056809425354, 0.10168107599020004, -0.5788299441337585, 0.30930647253990173, -0.3474930226802826, 0.15823517739772797, 0.9393066763877869, -0.4803847074508667, 0.44256335496902466, -0.13253624737262726, 0.2859381437301636, -0.033291276544332504, 0.4881422221660614, -0.36969736218452454, -0.5195879936218262, -0.39012402296066284, -0.5642585754394531, 0.2187328189611435, 0.6644243597984314, -0.8063566088676453, 0.0723169818520546, -0.24422846734523773, -0.8496401309967041, -0.7864970564842224, 0.40365898609161377, 0.8765421509742737, 0.41273033618927, 0.14227919280529022, -0.3071887493133545, -0.302555114030838, -1.3417108058929443, -0.6614676117897034, 0.1060836911201477, 0.26722556352615356, 0.19927991926670074, 0.5117345452308655, -0.18392710387706757, 0.5220072269439697, -0.25089335441589355, -0.14235875010490417, -0.08731002360582352, -0.25275298953056335, -0.011481250636279583, 0.7301639914512634, 1.0304770469665527, -0.8814007043838501, -0.3699103891849518, -0.11381396651268005, -0.9022561311721802, 0.19805239140987396, -0.07736063003540039, -0.024427935481071472, 0.3076823055744171, 0.5997759699821472, -0.6611390113830566, 0.7770863771438599, 0.7221308946609497, -0.6256267428398132, 0.670173704624176, -0.11359228938817978, 0.1511857956647873, -1.082500696182251, 0.26761844754219055, 0.19802887737751007, -0.22894525527954102, -0.537017285823822, 0.7236391305923462, 0.4590567946434021, -0.3705500066280365, -0.6893391013145447, 0.5188860893249512, -0.40074774622917175, -0.10541032254695892, -0.0038798025343567133, 0.1560085266828537, -0.11969328671693802, 0.19937089085578918, -0.39570745825767517, 0.6535830497741699, 0.7367949485778809, -0.06079522892832756, 0.442627876996994, 0.08512546867132187, -0.6016005277633667, 0.578285813331604, -0.3763202726840973, 0.08442886918783188, -0.32304146885871887, -0.09935972839593887, -1.1002752780914307, -0.357551246881485, 0.413991779088974, -0.40336209535598755, 0.5815294981002808, -0.1499626189470291, -0.5163564085960388, -0.25011104345321655, -0.4477570056915283, 0.4813472032546997, 0.2976936101913452, -0.47476446628570557, 0.4527963697910309, 0.3131144344806671, -0.1357259303331375, -1.1985520124435425, -0.6134057641029358, 0.43794313073158264, -0.6446918249130249, -0.8715269565582275, 0.1726369857788086, 0.11720774322748184, -0.6704767346382141, -0.08251065760850906, 0.09799981862306595, 0.21566841006278992, 0.1417630910873413, 0.4286961853504181, 0.5037336349487305, -0.0992402657866478, -0.240857794880867, -0.34208905696868896, -0.15652111172676086, -0.15622100234031677, -0.11618991196155548, 0.4408227503299713, -0.15942597389221191, -0.660210371017456, -0.6449236869812012, 0.2848864495754242, 1.2791320085525513, -0.2069101333618164, 0.8656132221221924, 0.39368459582328796, -0.3278976380825043, 0.37366366386413574, -0.5517392754554749, 0.07672020047903061, -0.500511109828949, 0.3126687705516815, -0.12121765315532684, -0.548278272151947, 0.589878261089325, 0.1724989414215088, 0.36250701546669006, 0.178310364484787, 0.2538639307022095, -0.5116642117500305, 1.0713696479797363, 0.7357189655303955, -0.21681763231754303, 0.35133805871009827, 0.12311477214097977, 0.42844825983047485, -0.7496551275253296, -0.2544437348842621, -0.4254254400730133, -0.649352490901947, -0.597235381603241, -0.24986374378204346, 0.3842926323413849, 0.11587955057621002, -0.25144100189208984, 0.6149224042892456, -0.32161927223205566, 0.6198346614837646, 0.418774276971817, 0.15967310965061188, -0.02521839179098606, 0.011675674468278885, -0.43238288164138794, -0.4311006963253021, -0.04669177904725075, -0.5229811668395996, 1.0477865934371948, 0.39820653200149536, 1.1950913667678833, 0.45198091864585876, 0.5870493054389954, 0.04930545762181282, 0.22618335485458374, -0.508819580078125, 0.27675294876098633, -0.3500758707523346, -0.7953565120697021, -0.358259916305542, -0.06077258288860321, -0.884878396987915, 0.2039031982421875, -0.4800386130809784, -1.3777159452438354, -0.06813336163759232, 0.37585267424583435, -0.37147945165634155, 0.7625661492347717, -0.7990012764930725, 0.9714218974113464, -0.637306272983551, -0.746676504611969, 0.028963683173060417, -1.020980954170227, 0.6899155378341675, -0.24165335297584534, 0.7695669531822205, 0.08394213020801544, 0.19297370314598083, 0.37672343850135803, -0.376797080039978, 0.9483901858329773, -0.20546339452266693, -0.25387948751449585, -0.1258241981267929, 0.4330301582813263, 0.7473049759864807, -0.1661910116672516, 0.14201053977012634, -0.26626861095428467, -0.29906752705574036, -0.5830252170562744, -0.7605212926864624, 0.7037367820739746, -0.45252808928489685, -0.595104992389679, -0.3173675835132599, -0.5853027105331421, -0.23002125322818756, 0.1744937002658844, 0.4724217355251312, 0.39666858315467834, 0.08726519346237183, 0.06920572370290756, 0.5414175987243652, -0.643642783164978, 0.6158703565597534, 0.09437070786952972, -0.4035511016845703, -0.6301937699317932, 0.9310053586959839, -0.06643462926149368, 0.36199751496315, 0.008728726767003536, -0.15382665395736694, -0.15138016641139984, -0.6576787233352661, -0.8057488799095154, 0.14195965230464935, -0.7358137369155884, -0.20541277527809143, -0.40588894486427307, -0.1698617935180664, -0.47597822546958923, -0.5435589551925659, -0.6345171928405762, -0.500870943069458, 0.20252105593681335, 0.1528518944978714, 0.08445248007774353, 0.5305072069168091, 0.16656063497066498, 0.4056311249732971, -0.9815821051597595, 0.30569496750831604, 0.21734224259853363, 0.28780996799468994, -0.26472824811935425, -0.31669387221336365, 0.045473966747522354, -0.30285850167274475, -0.4529065489768982, -1.0785883665084839, 0.4528801441192627, -0.14657674729824066, 0.4205351769924164, 0.8454940319061279, -0.05507300794124603, 0.7397332191467285, -0.6140140295028687, 0.5599223375320435, 0.684303879737854, -0.6308863162994385, 0.7703827619552612, -0.4003834128379822, 0.1962313950061798, 0.6288247108459473, 0.07533399760723114, -0.3751000463962555, -0.9952895641326904, -0.6034998297691345, -0.981565535068512, 0.45551496744155884, 0.48819753527641296, 0.371672123670578, 0.4618366062641144, 0.17206236720085144, 0.1381516009569168, -0.059275057166814804, -0.9944808483123779, -0.35534125566482544, 0.0291956327855587, -0.28330323100090027, -0.08453265577554703, -0.15809454023838043, -0.37088149785995483, -0.32459667325019836, 0.4713740944862366, 0.09990531206130981, -0.07415039837360382, 0.05514616519212723, -0.36823877692222595, 0.010609460063278675, 0.32396119832992554, 0.8883018493652344, 0.6184845566749573, -0.15480342507362366, 0.379515677690506, -0.3194531202316284, -0.641415536403656, 0.16501952707767487, -0.028416046872735023, -0.162690207362175, -0.23478730022907257, 0.5747081637382507, 0.7552739381790161, 0.18706969916820526, -0.8368390202522278, 0.7418393492698669, -0.22385212779045105, 0.08712542802095413, -0.2185741662979126, -0.020872993394732475, 0.1512957066297531, 0.3825627267360687, 0.2070838063955307, 0.6111446619033813, -0.06658083945512772, -0.493088036775589, 0.21576502919197083, 0.6168210506439209, -0.5790624618530273, -0.09818048030138016, 0.7857134342193604, -0.15838314592838287, -0.17535914480686188, 0.6881011724472046, 0.18679897487163544, -0.39098212122917175, 0.7383718490600586, 0.6627830862998962, 0.6113613247871399, -0.3092630207538605, 0.10066308081150055, 0.23035582900047302, 0.8761422634124756, 0.31666913628578186, -0.016590172424912453, 0.37499749660491943, -0.7392088174819946, -0.26979586482048035, -0.5888839960098267, -0.10995393991470337, 0.06979119032621384, -0.48340684175491333, 0.42188283801078796, -0.4987100660800934, -0.19419018924236298, 0.4106873571872711, -0.8278352618217468, -0.22122837603092194, 0.20166462659835815, 0.4787482023239136, 0.7735491991043091, -0.71919184923172, 0.8633740544319153, 0.6463471055030823, -0.04073456674814224, -0.7148634791374207, -0.07974112778902054, 0.5010182857513428, -0.9017038345336914, 0.48643285036087036, 0.44875383377075195, -0.044939201325178146, -0.3482131361961365, -0.9970331192016602, -0.8418774604797363, 0.8022773861885071, 0.8616713881492615, -0.7185478806495667, 0.049185194075107574, -0.12574738264083862, 0.1881934404373169, -0.10930115729570389, -0.31655871868133545, 0.47496914863586426, 0.6915170550346375, -0.005058795213699341, -0.8311026096343994, 0.05533699318766594, -0.5492768883705139, -0.3303111791610718, 0.3840680718421936, -0.3382068872451782, 0.6996813416481018, -0.8151009678840637, -0.15866102278232574, 0.253208726644516, 0.0789412409067154, 0.5495635271072388, 0.44848328828811646, 0.4321485161781311, 1.1698133945465088, 0.6117987036705017, -0.0539267398416996, 1.2309321165084839, -0.1382521092891693, 0.11728091537952423, 1.1225106716156006, -0.11207067221403122, 0.7304132580757141, 0.958010196685791, 0.17262457311153412, 0.42268192768096924, 0.2952236533164978, -0.2429792582988739, 0.8361616134643555, 0.07441354542970657, -0.04399508237838745, -0.053095605224370956, 0.43702319264411926, -0.1466311812400818, 0.6354156732559204, 0.42144060134887695, -0.8265935778617859, -0.22317622601985931, 0.3276248574256897, 0.3244316875934601, 0.10483422875404358, -0.30718475580215454, 0.6569206714630127, 0.002122439444065094, -0.49850937724113464, 0.47076863050460815, 0.011749827302992344, 0.5903478860855103, -0.2847166955471039, 0.17747652530670166, 0.08155839890241623, 0.22230176627635956, -0.33658552169799805, -0.9949182271957397, 0.5000997185707092, 0.24688145518302917, 0.28274568915367126, 0.16205334663391113, 0.8681558966636658, 0.19237931072711945, -0.5737970471382141, 0.3559921383857727, 0.16522575914859772, 0.06965703517198563, -0.03829273581504822, -0.6680366396903992, 0.20165573060512543, -0.09026919305324554, -0.05534655228257179, 0.53315669298172, 0.06972203403711319, -0.20306655764579773, 0.8497796058654785, 0.542074978351593, -0.1394578069448471, 0.2616053819656372, -0.2598884701728821, 1.0103967189788818, -0.6755656003952026, -0.13157838582992554, -1.3792393207550049, 0.9661155343055725, -0.28833693265914917, -0.22561527788639069, 0.7178301215171814, 0.581088125705719, 0.464539498090744, -0.1419847011566162, 0.6211286783218384, -0.22361573576927185, -0.19426172971725464, -0.6870206594467163, 1.1276580095291138, -0.7122529745101929, 0.3917330503463745, -0.8228349685668945, -0.825651228427887, -0.6476204991340637, 0.41319066286087036, -0.31712260842323303, -0.49433305859565735, 0.7041670083999634, 0.8422524929046631, -0.13376539945602417, -0.22534501552581787, 0.47763121128082275, 0.1805974692106247, -0.017841968685388565, 0.45774146914482117, 0.9164436459541321, -0.4498685300350189, 0.5748684406280518, -0.5061208009719849, -0.26097020506858826, -0.10402785241603851, -0.7746223211288452, -0.7695054411888123, -0.5745129585266113, -0.12624508142471313, -0.634876012802124, 0.18801137804985046, 0.2908378541469574, 0.4868472218513489, -0.7391894459724426, 0.23788760602474213, 0.15533770620822906, 0.21098677814006805, -0.055652014911174774, -0.14377744495868683, 0.4640263319015503, -0.20925699174404144, -0.6301838755607605, 0.21375314891338348, 0.575827419757843, 0.19714002311229706, -0.17636357247829437, 0.0496743768453598, -0.009561172686517239, -0.15721163153648376, 0.33861470222473145, 0.31866487860679626, -0.9535637497901917, -0.29285046458244324, 0.001547270338051021, -0.5538781881332397, 0.14463749527931213, 0.6633175015449524, -0.371010422706604, 0.5874725580215454, 0.13321952521800995, 0.5311190485954285, 0.13549014925956726, -0.08386029303073883, 0.49232494831085205, -0.7896015048027039, 0.49273157119750977, 0.14168168604373932, 0.6882314682006836, 0.4102286696434021, -0.5462285280227661, 0.21587584912776947, 0.018189210444688797, -0.2991849482059479, -0.8860798478126526, 0.2986582815647125, -1.0553706884384155, -0.7099986672401428, 0.8078672289848328, -0.2275915890932083, -0.6107119917869568, 0.002831697463989258, -0.381504088640213, 0.008848014287650585, -0.07008656114339828, 0.9573972821235657, 0.6784511804580688, -0.011621544137597084, -0.2721690833568573, -0.6961756944656372, 0.39053797721862793, 0.2072896957397461, -0.5810719728469849, 0.01576979085803032, 0.4913598597049713, 0.3590123653411865, 0.6542769074440002, 0.2681904733181, -0.756591260433197, 0.4121107757091522, 0.14090360701084137, 0.10172252357006073, 0.18858997523784637, -0.3771471083164215, -0.30485790967941284, 0.38423195481300354, 0.05735466629266739, -0.06443940848112106 ]
http://arxiv.org/abs/2403.09636v1
http://arxiv.org/pdf/2403.09636v1
Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inference
2024-03-14T17:59:26
2024-03-14T17:59:26
Piotr Nawrot, Adrian Łańcucki, Marcin Chochowski, David Tarjan, Edoardo M. Ponti
cs.CL
cs.CL
Transformers have emerged as the backbone of large language models (LLMs). However, generation remains inefficient due to the need to store in memory a cache of key-value representations for past tokens, whose size scales linearly with the input sequence length and batch size. As a solution, we propose Dynamic Memory Compression (DMC), a method for on-line key-value cache compression at inference time. Most importantly, the model learns to apply different compression rates in different heads and layers. We retrofit pre-trained LLMs such as Llama 2 (7B, 13B and 70B) into DMC Transformers, achieving up to ~3.7x throughput increase in auto-regressive inference on a NVIDIA H100 GPU. DMC is applied via continued pre-training on a negligible percentage of the original data without adding any extra parameters. We find that DMC preserves the original downstream performance with up to 4x cache compression, outperforming up-trained grouped-query attention (GQA). GQA and DMC can be even combined to obtain compounded gains. As a result DMC fits longer contexts and larger batches within any given memory budget.
[ -0.4252670109272003, -0.6065409779548645, 0.7098286151885986, 0.15262830257415771, -0.20888455212116241, 0.5275404453277588, -0.2848179340362549, -0.2931878864765167, 0.3408285975456238, 0.42927849292755127, -0.6257840991020203, -0.16145628690719604, -0.5456220507621765, -0.0897040069103241, -0.46218031644821167, 0.3314701318740845, -0.025067228823900223, -0.146907776594162, -0.11784625053405762, 0.047966983169317245, -0.5168418288230896, -0.46687525510787964, -0.7102112770080566, -0.08801070600748062, 0.46689438819885254, 0.3932012617588043, 0.6139155626296997, 0.8989611864089966, 0.21258458495140076, 0.345039963722229, -0.19337037205696106, 0.30810847878456116, -0.5155051350593567, 0.43700751662254333, 0.07319515198469162, -0.5450835824012756, -0.6688387989997864, -0.09722338616847992, 0.7715054154396057, 0.4509744942188263, -0.3563387095928192, 0.266549676656723, -0.15939831733703613, 0.6062551736831665, -0.8005610704421997, 0.15751026570796967, -0.954931914806366, 0.14856012165546417, 0.06912883371114731, -0.37572187185287476, -0.56560879945755, -0.3515474498271942, -0.3011293113231659, -0.4084540903568268, 0.14719118177890778, 0.0957358330488205, 0.7983975410461426, 0.9046967625617981, -0.1120285615324974, -0.06661826372146606, -0.7926264405250549, 0.7250268459320068, -0.7791911959648132, 0.41955578327178955, 0.1725991815328598, 0.48950275778770447, -0.3803650140762329, -1.0476722717285156, -0.7682645320892334, -0.0407952144742012, 0.19076542556285858, 0.08435261249542236, -0.09414910525083542, -0.06451447308063507, 0.3794725239276886, 0.6885277032852173, -0.09130590409040451, 0.37935471534729004, -0.07070668041706085, 0.0131554389372468, 0.45040658116340637, 0.26972317695617676, -0.05949749797582626, 0.1831578016281128, -0.3048998713493347, -0.36211004853248596, -0.8955230116844177, -0.3801889419555664, 0.5374829173088074, 0.16005662083625793, 0.20859281718730927, 0.20382985472679138, -0.12673832476139069, 0.7221404314041138, 0.32709434628486633, -0.15242236852645874, 0.07342023402452469, -0.07292354851961136, -0.12833742797374725, 0.2096712440252304, 0.4825807213783264, 0.025954371318221092, 0.28407254815101624, -0.29351431131362915, -0.2274889498949051, 0.034629832953214645, 0.4215211570262909, -0.9640065431594849, -0.31450411677360535, 0.09396199882030487, -0.3747695982456207, -0.2786080837249756, -0.07761265337467194, -1.1687363386154175, -0.18044805526733398, -0.33045530319213867, 0.3916405439376831, 0.10597838461399078, 0.021159972995519638, 0.31878525018692017, -0.05608522519469261, 0.14742910861968994, 0.3587963581085205, -0.9611719846725464, 0.33455711603164673, 0.29641279578208923, 0.6541054248809814, -0.21158379316329956, 0.056620042771101, -0.6999960541725159, 0.30941855907440186, 0.059890683740377426, 0.8765363693237305, -0.5058561563491821, -0.32868874073028564, -0.016286225989460945, -0.09234818071126938, 0.18051280081272125, -0.7832366228103638, 0.4436279535293579, -0.744282603263855, -0.058212701231241226, -0.01750183291733265, -0.47016748785972595, 0.17470286786556244, 0.09905031323432922, -0.7846946716308594, 1.3015286922454834, 0.10127317905426025, -0.471944659948349, 0.2922517657279968, -0.09285083413124084, -0.3459719121456146, -0.11096370965242386, -0.2483588606119156, -0.3471839427947998, 0.3731050193309784, 0.5556290149688721, 0.4889855980873108, -0.3220210671424866, 0.27342626452445984, -0.40898096561431885, -0.6793433427810669, -0.0014238221338018775, -0.6580618619918823, 0.35349133610725403, 0.11475396156311035, -0.4133438467979431, -0.18982581794261932, -0.9038408994674683, -0.1093311533331871, 0.24860547482967377, -0.748155415058136, 0.011383519507944584, 0.2669737637042999, -0.39615392684936523, 0.20327593386173248, 0.24265742301940918, -0.402847558259964, 0.5971270203590393, -0.20305249094963074, 0.49022766947746277, 0.7246274352073669, -0.1250041127204895, 0.24967500567436218, 0.045571137219667435, 0.43225106596946716, -0.07867108285427094, 0.12617449462413788, -0.292001873254776, -0.3305310606956482, -1.134211778640747, -0.3226383626461029, 0.2852597236633301, 0.4953755736351013, -0.7542040348052979, 0.5807188749313354, -0.5018330216407776, -0.3293594717979431, -0.4162899851799011, 0.014152023941278458, -0.07840046286582947, 0.538640022277832, 0.5904255509376526, -0.23216241598129272, -0.6122006773948669, -0.7773565053939819, -0.22527840733528137, -0.27937084436416626, -0.15725117921829224, 0.43644046783447266, 0.05064576491713524, -0.361508846282959, 0.8933402895927429, -0.6725333333015442, 0.0877174660563469, -0.1095246747136116, 0.28287431597709656, 0.2524396777153015, 0.371669203042984, 0.27976194024086, -0.4039996564388275, -0.2372639924287796, -0.5344951152801514, -0.19844229519367218, -0.41917213797569275, -0.17407138645648956, -0.002239459427073598, 0.06812349706888199, 0.6288225650787354, -0.6626902222633362, 0.42860281467437744, 0.7232052087783813, 0.05779053643345833, 0.31572818756103516, -0.4454824924468994, 0.041225824505090714, -1.0631794929504395, -0.17413833737373352, -0.5232706665992737, -0.37888413667678833, -0.3229053020477295, -0.11949235945940018, 0.20255139470100403, 0.03289560228586197, -0.4683373272418976, 0.6226284503936768, -0.6189664602279663, -0.2364329695701599, -0.5457805395126343, 0.11907939612865448, -0.07063807547092438, 0.5171489715576172, 0.0856836587190628, 0.9390623569488525, 0.3012852072715759, -0.7427794933319092, 0.3626711070537567, 0.07517343759536743, -0.4075067341327667, 0.04123528301715851, -0.4178817570209503, 0.3995437026023865, -0.12951801717281342, 0.7241190075874329, -1.1029351949691772, -0.048987507820129395, 0.0006099462043493986, -0.18449167907238007, 0.7283543944358826, 0.006260058376938105, -0.797273576259613, -0.46297356486320496, -0.16938495635986328, 0.5365027189254761, 0.8687862157821655, -1.0258699655532837, 0.7511612772941589, 0.30602556467056274, 0.19572702050209045, -0.6174265146255493, -0.9622842669487, 0.23143400251865387, -0.3512033522129059, -0.34304744005203247, 0.677868664264679, 0.10490170121192932, 0.012995434924960136, -0.07173077017068863, -0.2037210464477539, 0.03430603817105293, 0.05830254778265953, 0.10215716809034348, 0.16669580340385437, -0.2861439287662506, 0.24265052378177643, 0.14358358085155487, -0.056308016180992126, -0.12100844830274582, -0.3040415644645691, 0.809408962726593, 0.06405492126941681, -0.1730818748474121, -0.28409838676452637, 0.06304419785737991, 0.5255082249641418, 0.03470558300614357, 0.780414879322052, 0.6209607720375061, -0.2378680557012558, -0.19516631960868835, -0.8854902386665344, -0.3373997211456299, -0.5624350905418396, 0.13852137327194214, -0.17801380157470703, -0.9518583416938782, 0.5257073044776917, -0.41089433431625366, 0.012727429158985615, 0.5157457590103149, 0.8109557628631592, 0.08151806145906448, 0.8803701400756836, 0.3073823153972626, -0.1602019965648651, 0.5262743830680847, -0.14893072843551636, 0.25738525390625, -0.7409140467643738, -0.03675087168812752, -0.31946176290512085, -0.7323926091194153, -0.4719059467315674, -0.78902667760849, -0.03878546133637428, 0.17405252158641815, -0.29926788806915283, 0.39180663228034973, -0.3441251516342163, 0.3464830815792084, 0.30874601006507874, 0.06503800302743912, 0.3098042607307434, 0.055008720606565475, 0.0606352835893631, 0.12693792581558228, -0.8410249352455139, -0.3518819212913513, 0.8801924586296082, 0.42720988392829895, 1.0967686176300049, 0.10212530195713043, 0.5398120880126953, 0.11568500846624374, 0.47681766748428345, -0.7747003436088562, 0.6953328251838684, -0.12693975865840912, -0.43917685747146606, 0.2252022624015808, -0.5656934380531311, -0.8734928369522095, -0.06497575342655182, -0.0878315418958664, -0.7368515133857727, 0.18423552811145782, 0.6060553193092346, -0.6203935146331787, 0.5662097334861755, -0.454456627368927, 0.4207916259765625, -0.3546796441078186, -0.4594043493270874, -0.4550461173057556, -0.545459508895874, 0.46302664279937744, -0.22702860832214355, -0.19018371403217316, -0.07764264196157455, -0.3509499728679657, 0.45045846700668335, -0.3422439694404602, 0.7717181444168091, -0.16636888682842255, -0.012423744425177574, 0.23409225046634674, -0.097347192466259, 0.7406157851219177, 0.12337508052587509, 0.10552525520324707, 0.07380740344524384, -0.2889309227466583, -0.32210230827331543, -0.9356409311294556, 0.8411127924919128, -0.4609510004520416, -0.8673178553581238, -0.15601623058319092, -0.6908553838729858, -0.4587344229221344, -0.20896881818771362, -0.08449829369783401, 0.4385550022125244, 0.18374262750148773, 0.15864038467407227, 0.7594429850578308, -0.6027609705924988, 0.5276409983634949, 0.34618738293647766, -0.05871143192052841, -0.29887548089027405, 0.5691705942153931, -0.19256101548671722, 0.4287908375263214, 0.5557332038879395, 0.22080066800117493, -0.36728009581565857, -0.4904913902282715, -0.5698161125183105, 0.1705886572599411, -0.6710087656974792, -0.2931268811225891, -0.7078889608383179, -0.10122578591108322, -0.3466295003890991, 0.03740626573562622, -0.7065290808677673, -0.6799615621566772, -0.35520419478416443, 0.14007744193077087, 0.4811691641807556, 0.5297929644584656, 0.10940395295619965, 0.5545290112495422, -0.8766868710517883, 0.24517278373241425, 0.3157399594783783, 0.2120189070701599, 0.2464449256658554, -0.7293893694877625, -0.25234267115592957, -0.16877567768096924, -0.24370908737182617, -0.5948413610458374, 0.45672449469566345, 0.2827222943305969, 0.5513977408409119, 0.44052854180336, -0.029230641201138496, 1.1241177320480347, -0.8255319595336914, 0.8001115918159485, -0.18031713366508484, -0.5772603750228882, 0.26030898094177246, 0.09617731720209122, 0.46732139587402344, 0.6028042435646057, 0.41852229833602905, -0.19279959797859192, -0.17079304158687592, -0.6266992688179016, -1.0604634284973145, 0.18706178665161133, -0.1424698382616043, 0.3376455008983612, -0.22617049515247345, 0.7323136925697327, -0.07969855517148972, 0.2120453119277954, -0.27025163173675537, -0.19264179468154907, -0.1062670573592186, -0.371158242225647, -0.029925210401415825, -0.3089810609817505, 0.2193407565355301, -0.518888533115387, 0.3493637144565582, -0.12028590589761734, 0.612328290939331, 0.0613175593316555, -0.14360085129737854, 0.11301721632480621, -0.0892583429813385, 0.6110224723815918, 0.31435462832450867, -0.33452174067497253, 0.39086467027664185, 0.3894287347793579, -0.5506023168563843, 0.25263506174087524, 0.07967203110456467, 0.29972219467163086, -0.16654767096042633, 0.10654965788125992, 0.9492331147193909, 0.5228340029716492, -0.8471572995185852, 0.11073385179042816, -0.3702937960624695, 0.08372535556554794, -0.332692950963974, 0.11655566096305847, 0.015000300481915474, 0.3092323839664459, 0.3155139982700348, -0.1589914858341217, -0.18784059584140778, -0.6129888892173767, 0.365894615650177, 0.28579363226890564, -0.10300106555223465, -0.15026149153709412, 0.8409401774406433, 0.030529897660017014, -0.14418204128742218, 0.8816244006156921, 0.07049389183521271, -0.5945719480514526, 0.2792207598686218, 0.4770714342594147, 0.9208294749259949, -0.30377328395843506, -0.49383118748664856, 0.5019383430480957, -0.0034593651071190834, -0.3480420410633087, 0.036066535860300064, -0.3872166574001312, -0.6703448295593262, -0.7328751683235168, -0.8229162693023682, -0.300365149974823, 0.1553814560174942, -0.473088800907135, 0.2714093029499054, -0.431510865688324, -0.1759481579065323, -0.46329396963119507, -0.13089150190353394, -0.5805603861808777, 0.14008983969688416, 0.2686595916748047, 1.1582967042922974, -0.40222689509391785, 1.1584316492080688, 0.1383083611726761, -0.09738484770059586, -0.7600464820861816, 0.23528091609477997, -0.08456386625766754, -1.0073798894882202, 0.9643169641494751, 0.06479176133871078, -0.16010618209838867, 0.27251869440078735, -0.18162982165813446, -1.09920334815979, 1.2522761821746826, 0.5372968316078186, -0.7085879445075989, -0.15879933536052704, 0.04406818374991417, 0.3775246739387512, -0.3365635573863983, 0.17792001366615295, 0.6979304552078247, 0.43360772728919983, 0.36802706122398376, -0.5685130953788757, 0.01462688110768795, 0.04987461864948273, -0.033402688801288605, 0.3431849777698517, -0.4824742078781128, 0.7312408089637756, 0.00013406775542534888, -0.2837963104248047, 0.17896337807178497, 0.8750218749046326, 0.26992717385292053, -0.2260916829109192, 0.6620693802833557, 0.8927648663520813, 0.6552023887634277, -0.11338575929403305, 1.1947400569915771, -0.5732523202896118, 0.18185687065124512, 1.2389485836029053, -0.16502678394317627, 1.0863105058670044, 0.748927891254425, -0.08752648532390594, 0.4855489730834961, 0.7411352396011353, 0.013383869081735611, 0.5394115447998047, 0.4920203387737274, -0.33039411902427673, -0.21065713465213776, 0.1398208886384964, -0.26950713992118835, 0.31658390164375305, 0.3115069568157196, -0.46854257583618164, -0.04025963693857193, -0.3501585125923157, -0.025090936571359634, -0.24622413516044617, -0.24296513199806213, 0.34342890977859497, 0.06382210552692413, -0.7597503662109375, 0.690196692943573, -0.13757212460041046, 0.7910783290863037, -0.4366835355758667, 0.02730860374867916, -0.3171425461769104, 0.5284163951873779, 0.032754890620708466, -0.5576351881027222, 0.43061205744743347, -0.03327122703194618, -0.030684567987918854, -0.5107696652412415, 0.7375386953353882, -0.5379120707511902, -0.3839220702648163, 0.1677500158548355, 0.24317026138305664, 0.22550927102565765, -0.010601789690554142, -0.38737741112709045, 0.3254442811012268, -0.31364715099334717, -0.5317636132240295, 0.45816516876220703, 0.12007114291191101, 0.19241978228092194, 0.6541011333465576, 0.5304338932037354, 0.1980210244655609, 0.47318321466445923, 0.12281036376953125, 1.0549609661102295, -0.5187088847160339, -0.1195276752114296, -0.9217789769172668, 0.40819495916366577, -0.05199473723769188, -0.10949810594320297, 0.6799097061157227, 0.46446239948272705, 0.6774206161499023, -0.027466781437397003, 0.18425437808036804, 0.2421555370092392, 0.24555259943008423, -0.6715357899665833, 0.5753344893455505, -0.7409209609031677, 0.35300490260124207, 0.0028558510821312666, -1.0812022686004639, -0.265798956155777, 0.5459465384483337, -0.03462802991271019, 0.0676460862159729, 0.4774329364299774, 0.7316874861717224, -0.20982173085212708, -0.2340417057275772, 0.20962798595428467, 0.16077639162540436, 0.3651799261569977, 0.6265878677368164, 0.8997500538825989, -0.40904009342193604, 0.4887740910053253, -0.10039081424474716, -0.06501094251871109, -0.12181208282709122, -1.242460012435913, -0.7118573188781738, -0.23803316056728363, -0.3240896463394165, -0.23578262329101562, -0.12242617458105087, 0.7044816017150879, 0.6676807403564453, -0.48920372128486633, -0.147428959608078, -0.2590520977973938, -0.37374621629714966, -0.05261057987809181, -0.18451952934265137, 0.26078587770462036, -0.3216378092765808, -0.9748944044113159, 0.6818287968635559, 0.38529106974601746, 0.1174127608537674, -0.7685258984565735, -0.056011006236076355, -0.2101641297340393, 0.2824884355068207, 0.5290152430534363, 0.22129347920417786, -0.7218544483184814, -0.36288297176361084, -0.09819794446229935, 0.16868768632411957, 0.17964738607406616, 1.0853443145751953, -1.3433352708816528, 0.2518180310726166, 0.6042477488517761, 1.1642450094223022, 0.9290086627006531, 0.008982312865555286, 0.7323338985443115, -0.7193386554718018, 0.4774433672428131, 0.24981658160686493, 0.4891456961631775, 0.2396877408027649, -0.30514371395111084, 0.3147605061531067, 0.30126121640205383, -0.6459441184997559, -0.9500035643577576, 0.3159504532814026, -0.8965327739715576, -0.27047988772392273, 1.1021825075149536, -0.08572922646999359, -0.20001204311847687, 0.20599223673343658, -0.013945800252258778, 0.5128275752067566, -0.2349935621023178, 0.9011974930763245, 0.5874186158180237, -0.12092985957860947, -0.4487099349498749, -0.69776850938797, 0.48711326718330383, 0.44861188530921936, -0.7503007054328918, 0.0716959685087204, 0.1709022969007492, -0.14631445705890656, -0.07702229917049408, 0.14214053750038147, -0.03857896849513054, -0.12040286511182785, 0.03923744335770607, 0.04920175299048424, -0.042247746139764786, -0.25558996200561523, -0.2576417922973633, 0.02544919215142727, -0.13065052032470703, -0.11262025684118271 ]
http://arxiv.org/abs/2403.09635v1
http://arxiv.org/pdf/2403.09635v1
Transformers Get Stable: An End-to-End Signal Propagation Theory for Language Models
2024-03-14T17:59:14
2024-03-14T17:59:14
Akhil Kedia, Mohd Abbas Zaidi, Sushil Khyalia, Jungho Jung, Harshith Goka, Haejun Lee
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG, I.2.7; I.2.10
In spite of their huge success, transformer models remain difficult to scale in depth. In this work, we develop a unified signal propagation theory and provide formulae that govern the moments of the forward and backward signal through the transformer model. Our framework can be used to understand and mitigate vanishing/exploding gradients, rank collapse, and instability associated with high attention scores. We also propose DeepScaleLM, an initialization and scaling scheme that conserves unit output/gradient moments throughout the model, enabling the training of very deep models with 100s of layers. We find that transformer models could be much deeper - our deep models with fewer parameters outperform shallow models in Language Modeling, Speech Translation, and Image Classification, across Encoder-only, Decoder-only and Encoder-Decoder variants, for both Pre-LN and Post-LN transformers, for multiple datasets and model sizes. These improvements also translate into improved performance on downstream Question Answering tasks and improved robustness for image classification.
[ -0.6034451127052307, -0.7995820045471191, 0.11801796406507492, 0.3490915894508362, -0.13085298240184784, -0.0480092316865921, -0.46282991766929626, -0.23948560655117035, -0.3084637522697449, 0.4221562445163727, -0.33375704288482666, -0.2597925066947937, -0.9561260342597961, -0.3398890197277069, -0.7886455059051514, 1.0431724786758423, 0.46260589361190796, 0.11569805443286896, -0.0063972482457757, -0.15756115317344666, -0.28849679231643677, -0.28476014733314514, -0.9459433555603027, -0.5619471073150635, 0.6108600497245789, 0.3760588467121124, 1.2246659994125366, 0.37102988362312317, 0.8116565942764282, 0.3239009380340576, -0.5162664651870728, -0.5209288597106934, -0.7215836644172668, 0.4191659688949585, 0.011757302097976208, -0.4289742708206177, -0.37185588479042053, -0.17350368201732635, 0.6532719731330872, 1.0677978992462158, -0.20196424424648285, 0.2492765635251999, -0.014191190712153912, 0.5611276030540466, -0.2224350869655609, 0.03185167536139488, -0.4714088439941406, 0.0766768679022789, 0.11453907191753387, 0.09555531293153763, -0.6396341919898987, -0.18048638105392456, 0.2877015173435211, -0.14249256253242493, 0.3655547499656677, -0.19748595356941223, 0.8715232610702515, 0.3837760388851166, -0.6145439743995667, 0.2788698077201843, -1.2369168996810913, 0.8034965395927429, -0.456661194562912, 1.0012913942337036, -0.09337757527828217, 0.5274204015731812, -0.1064448207616806, -1.054205060005188, -0.2949877381324768, -0.1803600788116455, -0.09432662278413773, 0.28716737031936646, -0.25909602642059326, 0.224336177110672, 0.11434414982795715, 0.4958697259426117, -0.08269457519054413, 0.10524070262908936, -0.4183568060398102, -0.036336906254291534, 0.3913516402244568, 0.030792035162448883, 0.24117110669612885, 0.20518507063388824, -0.18627315759658813, -0.2604898512363434, -0.7359434366226196, 0.20799051225185394, 0.21475909650325775, 0.3049766421318054, -0.12044423818588257, 0.361634224653244, 0.17542585730552673, 0.2786545753479004, 0.47661125659942627, 0.0999707281589508, 0.0020519024692475796, -0.08730534464120865, -0.22297915816307068, -0.2258976697921753, 0.6803178191184998, 0.2830897569656372, 0.2625383138656616, -0.556207001209259, -0.19091229140758514, 0.20680972933769226, 0.46927115321159363, -0.7017577886581421, -0.22067953646183014, 0.17176763713359833, -0.5828633308410645, -0.379239559173584, -0.3152661621570587, -0.9158642292022705, -0.1912851780653, -0.40865838527679443, 0.4311535060405731, -0.045405223965644836, -0.5731555223464966, 0.2197667807340622, 0.05547580495476723, 0.5396637320518494, 0.025675754994153976, -0.9499151706695557, 0.592067301273346, 0.39692431688308716, 0.38194361329078674, 0.07449252158403397, -0.22638247907161713, -0.11044438928365707, -0.078546442091465, -0.5121884346008301, 0.613568127155304, -0.37368276715278625, -0.3199659287929535, 0.03941009193658829, 0.1919616162776947, 0.007255889941006899, -0.15057770907878876, 0.890670657157898, -0.7327428460121155, 0.3477090895175934, 0.028446996584534645, -0.1604434698820114, 0.06133289262652397, 0.014572164043784142, -0.8158586025238037, 0.9133384227752686, 0.19918020069599152, -0.6560451984405518, 0.1548822969198227, -0.6875093579292297, -0.6065425276756287, -0.31704947352409363, 0.09130417555570602, -0.7317312359809875, 0.3728771209716797, 0.2724190056324005, 0.4834597110748291, -0.3807027041912079, 0.4337449371814728, -0.05681517347693443, -0.24943146109580994, 0.21393176913261414, -0.8260545134544373, 0.7562905550003052, 0.1178181990981102, -0.38138002157211304, 0.27652639150619507, -0.4789968729019165, -0.21349510550498962, 0.22470210492610931, -0.15416549146175385, 0.1638425588607788, 0.06639862060546875, 0.19411738216876984, 0.3355809450149536, -0.1259351223707199, -0.5049770474433899, 0.11125747859477997, -0.3387272357940674, 0.6112144589424133, 0.397565633058548, -0.0704326331615448, 0.8847100138664246, 0.11666814982891083, 0.41349145770072937, 0.20658600330352783, 0.5010078549385071, -0.49684998393058777, -0.538227379322052, -1.0388010740280151, 0.15591517090797424, 0.27513161301612854, 0.40985509753227234, -0.1620175987482071, 0.2123529464006424, -0.7913909554481506, -0.6517345905303955, -0.7264987230300903, -0.15189562737941742, 0.24690930545330048, 0.6043410301208496, 0.578652560710907, -0.02771073393523693, -0.3396560847759247, -0.8566997647285461, -0.07545772939920425, 0.02169712819159031, -0.1682242751121521, -0.07484202086925507, 0.18136636912822723, -0.362190842628479, 0.8698298931121826, -0.2944141626358032, -0.14780452847480774, -0.4155048429965973, 0.11880079656839371, 0.35145026445388794, 0.4137691557407379, 0.38540393114089966, -0.8886982202529907, -0.09409066289663315, 0.08164213597774506, -0.4357292652130127, 0.2960484027862549, 0.10381148755550385, 0.023745838552713394, -0.08718276768922806, 0.43357646465301514, -0.8465670347213745, 0.28566423058509827, 0.6766124963760376, -0.2630097568035126, 0.16740021109580994, -0.14653468132019043, -0.12591338157653809, -1.1810821294784546, -0.18400025367736816, 0.26289331912994385, -0.23902179300785065, -0.7853729724884033, 0.06600255519151688, 0.1777259111404419, -0.28320884704589844, -0.22408416867256165, 0.2813447117805481, -0.41859206557273865, 0.07902539521455765, -0.008280090987682343, 0.11013658344745636, -0.038438256829977036, 0.3701321482658386, -0.0862993448972702, 0.3775925636291504, 0.8878991007804871, -0.5145940780639648, 0.16885840892791748, 0.13364186882972717, 0.16199131309986115, 0.4879111647605896, -1.093672275543213, 0.005576453637331724, -0.4387558102607727, 0.1392166018486023, -1.3098700046539307, -0.0926988497376442, -0.10064465552568436, -0.5508247017860413, 0.6812122464179993, -0.3769381642341614, -0.09847086668014526, -0.5439833402633667, -0.09874092787504196, 0.3867727816104889, 1.0022852420806885, -0.6796641945838928, 0.7336664199829102, 0.5883945226669312, 0.02693210169672966, -0.6705562472343445, -0.7338240742683411, -0.06352982670068741, -0.21079766750335693, -0.7255663871765137, 0.1514255851507187, 0.027028577402234077, -0.0034955181181430817, -0.09103353321552277, -0.034970223903656006, -0.06183385103940964, -0.031912390142679214, 0.3811154067516327, -0.07474567741155624, -0.5261890292167664, 0.13812047243118286, 0.29455262422561646, -0.5185749530792236, 0.16339178383350372, -0.33064785599708557, 0.3499126136302948, -0.38894322514533997, -0.27008986473083496, -0.218680277466774, 0.33493268489837646, 1.0561976432800293, -0.3383197784423828, 0.666313648223877, 0.7830577492713928, -0.22189317643642426, -0.06286061555147171, -0.308220237493515, -0.5603818297386169, -0.5235267281532288, 0.3781713545322418, -0.35820475220680237, -0.7899933457374573, 0.6578494310379028, -0.39727675914764404, 0.2238806039094925, 0.6050596237182617, 0.5218736529350281, -0.003845653962343931, 1.3593974113464355, 1.0408620834350586, -0.23404107987880707, 0.22598087787628174, -0.42449381947517395, 0.6729601621627808, -0.7495825886726379, -0.19805443286895752, -0.4024139642715454, -0.5186203122138977, -0.36176690459251404, -0.24738305807113647, 0.11314705014228821, 0.4152064025402069, -0.5267809629440308, 0.36007070541381836, -0.7136645913124084, 0.4470529854297638, 0.23697321116924286, -0.07380464673042297, 0.15666018426418304, 0.06117454916238785, 0.07532241195440292, -0.06214413419365883, -0.6181593537330627, -0.2744538187980652, 0.7571659684181213, 0.8747371435165405, 0.9307463765144348, -0.012404827401041985, 0.12793271243572235, -0.07306166738271713, 0.47137463092803955, -0.7264145016670227, 0.29595351219177246, -0.22580206394195557, -0.47513651847839355, -0.6234005093574524, -0.15178854763507843, -1.0667365789413452, 0.145247682929039, 0.007718442007899284, -0.7295595407485962, 0.35063689947128296, 0.29979291558265686, -0.06388254463672638, 0.32651373744010925, -0.5312693119049072, 0.8209590315818787, -0.07959778606891632, -0.1671353429555893, 0.08261324465274811, -0.9219253063201904, 0.1772640198469162, 0.19534727931022644, 0.3496816158294678, -0.08274678140878677, -0.024331610649824142, 0.47736576199531555, 0.12183461338281631, 0.9199535250663757, -0.041553519666194916, -0.3689071238040924, 0.305545836687088, 0.20018431544303894, 0.3794397711753845, 0.3329654037952423, 0.00822055246680975, 0.3295150697231293, -0.4590740203857422, -0.32095572352409363, -0.7273203730583191, 0.40604233741760254, -1.0408101081848145, -0.3072673976421356, 0.2939586937427521, -0.39370840787887573, -0.07339388132095337, 0.18526741862297058, 0.7431996464729309, 0.6184934377670288, -0.019129576161503792, 0.5194253325462341, 0.6858837604522705, 0.32840386033058167, 0.6720940470695496, 0.15147681534290314, -0.3249911069869995, -0.5360704660415649, 0.5890039801597595, 0.07770297676324844, 0.3518613278865814, 0.32311636209487915, 0.10539291054010391, -0.48112908005714417, -0.5169225931167603, -0.3639658987522125, -0.02293975278735161, -1.0308676958084106, -0.27056580781936646, -0.6445561647415161, -0.5909686088562012, -0.15946823358535767, -0.12522616982460022, -0.9255028367042542, -0.3683214485645294, 0.040745995938777924, -0.2667945623397827, 0.24729366600513458, 0.664280354976654, 0.13848371803760529, 0.7572654485702515, -0.6269658803939819, 0.23678138852119446, 0.23798364400863647, 0.6299750804901123, 0.08182989060878754, -0.8114100098609924, -0.35402804613113403, 0.11052116751670837, -0.2286049872636795, -0.7401835918426514, 0.2312890589237213, 0.17610043287277222, 0.712835431098938, 0.45441916584968567, 0.005197819322347641, 0.47454553842544556, -0.5231390595436096, 0.8095620274543762, 0.3079812228679657, -1.0399291515350342, 0.43615567684173584, -0.45232853293418884, 0.4134804606437683, 0.27204617857933044, 0.31466028094291687, -0.5818624496459961, -0.5531324148178101, -0.6063938736915588, -1.0463169813156128, 0.20252758264541626, 0.29015737771987915, 0.6769879460334778, 0.040287602692842484, 0.305541455745697, -0.02088237553834915, 0.04299559444189072, -0.9304127097129822, -0.44824105501174927, -0.39855682849884033, -0.30210837721824646, -0.14218628406524658, -0.4553356170654297, -0.17740043997764587, -0.5610832571983337, 0.2411702275276184, -0.2150171846151352, 0.5707511305809021, 0.0009047299972735345, 0.008862070739269257, -0.4783986210823059, 0.2874516248703003, 0.4252015948295593, 0.5767201781272888, 0.04806620627641678, 0.3455328047275543, 0.1703239530324936, -0.5749232172966003, 0.3715997636318207, -0.10480664670467377, -0.042682111263275146, -0.09004154801368713, 0.27595654129981995, 0.8690472841262817, 0.6280840635299683, -0.16227222979068756, 0.5548132658004761, -0.42099931836128235, -0.08360059559345245, -0.2146918922662735, -0.24909204244613647, 0.19220122694969177, 0.1989945024251938, 0.48738306760787964, 0.291596382856369, -0.21006110310554504, -0.08165965974330902, 0.31135332584381104, 0.21055325865745544, -0.6585633754730225, -0.666236937046051, 0.9191914200782776, 0.21881350874900818, -0.47815725207328796, 0.8407709002494812, 0.24129927158355713, -0.4019690155982971, 0.5268505215644836, 0.8525400757789612, 0.9235838651657104, -0.4741246700286865, 0.26559019088745117, 0.15454480051994324, 0.5661523342132568, -0.33878910541534424, 0.17711034417152405, 0.17058803141117096, -0.7454494833946228, -0.6889203786849976, -0.6372882127761841, -0.19197997450828552, 0.008056916296482086, -0.6721271872520447, 0.26396748423576355, -0.241295725107193, -0.3858143389225006, -0.12220432609319687, -0.4189452528953552, -0.6022008657455444, 0.4530385136604309, 0.09347593784332275, 0.7397462129592896, -0.8508081436157227, 0.6906648874282837, 0.5846455693244934, -0.37642142176628113, -0.9148112535476685, -0.1843874305486679, -0.5014082193374634, -0.41604700684547424, 0.6698362231254578, 0.13998129963874817, -0.20946452021598816, 0.37255021929740906, -0.6361967921257019, -1.2998696565628052, 1.0565437078475952, 0.6314429640769958, -0.6086540222167969, 0.007564477622509003, 0.15353916585445404, 0.7727291584014893, -0.30410823225975037, 0.44386541843414307, 0.6077487468719482, 0.3823763430118561, 0.2656421661376953, -0.6413469910621643, -0.11989006400108337, -0.21917805075645447, 0.12182248383760452, 0.5176147222518921, -0.455110102891922, 0.9667708277702332, -0.40108317136764526, -0.20589229464530945, -0.04396156966686249, 0.7661194801330566, -0.34524771571159363, 0.05840915068984032, 0.32732972502708435, 0.6125866174697876, 0.3304727077484131, -0.377102792263031, 0.9648752212524414, -0.6165385842323303, 0.7438540458679199, 0.7765507698059082, 0.23341992497444153, 0.893072247505188, 0.3822161555290222, -0.15043604373931885, 0.27435824275016785, 0.4412071704864502, -0.0070278225466609, 0.36180052161216736, -0.024708053097128868, 0.13683710992336273, -0.2308943271636963, 0.08689381182193756, -0.46718069911003113, 0.24182549118995667, 0.3555040657520294, -0.4599606990814209, -0.29956263303756714, 0.23832669854164124, 0.013343227095901966, -0.04939825087785721, -0.3355589210987091, 0.4437553882598877, 0.24590733647346497, -0.30546990036964417, 0.5318673849105835, -0.2388232946395874, 0.401179701089859, -0.3483600616455078, 0.24567662179470062, -0.42681071162223816, 0.41202202439308167, -0.12359703332185745, -0.9321589469909668, 0.41980427503585815, -0.49909016489982605, -0.36868536472320557, -0.17798925936222076, 0.9503082036972046, -0.5257149338722229, -0.6216297745704651, 0.5895431637763977, 0.41040724515914917, -0.09344294667243958, 0.10974843055009842, -0.451980322599411, 0.25136834383010864, -0.5159151554107666, -0.6800498962402344, 0.12275227159261703, 0.39513757824897766, 0.15152999758720398, 0.7354810833930969, 0.5828752517700195, -0.21746870875358582, 0.4257233738899231, 0.27178239822387695, 0.8968653082847595, -0.6196163296699524, -0.1894126534461975, -0.7753599286079407, 0.9879568219184875, -0.10366728901863098, -0.22198648750782013, 0.6516832709312439, 0.2522324323654175, 0.6207208633422852, -0.10205867886543274, 0.4260372817516327, 0.3172447383403778, 0.017879216000437737, -0.07536674290895462, 0.8709701895713806, -0.3216661214828491, 0.19806550443172455, -0.2989581823348999, -1.1446579694747925, -0.7085871696472168, 0.29516294598579407, -0.18883050978183746, 0.1288069486618042, 0.4044865667819977, 0.5527677536010742, -0.15379197895526886, 0.013117187656462193, 0.5337831377983093, 0.2937345802783966, 0.5023584365844727, 0.2795688509941101, 0.7951115965843201, -0.7920609712600708, 0.8152456283569336, -0.4521612823009491, 0.11282412707805634, -0.061806581914424896, -0.7181288599967957, -0.8014522790908813, -0.5306225419044495, -0.31200364232063293, -0.26122552156448364, -0.03385123983025551, 0.2630099654197693, 0.9393209218978882, -0.6094812154769897, -0.06530232727527618, -0.5545076727867126, 0.08857548981904984, -0.21341374516487122, -0.22494858503341675, 0.285106360912323, -0.6056709885597229, -0.5258353352546692, 0.14073848724365234, 0.4630427658557892, 0.24991385638713837, -0.4375962018966675, -0.17888124287128448, 0.35959550738334656, 0.16574715077877045, 0.8167452812194824, 0.24535003304481506, -0.6419559121131897, -0.41113147139549255, 0.1807437688112259, -0.15419794619083405, 0.2273079752922058, 0.6340099573135376, -0.8585208654403687, 0.14605015516281128, 0.2605021297931671, 0.7523500919342041, 0.2591250538825989, -0.2303345501422882, 0.7114301919937134, -0.6956079602241516, 0.25199341773986816, 0.21150954067707062, 0.38760024309158325, 0.35169756412506104, -0.33220553398132324, 0.42306238412857056, 0.018419012427330017, -0.7628269791603088, -0.8168808221817017, 0.3704194724559784, -0.9145586490631104, -0.004741853568702936, 0.8550845384597778, 0.032861217856407166, -0.29000017046928406, 0.051626380532979965, -0.1527923047542572, 0.4279690980911255, -0.1827368289232254, 0.7319449782371521, 0.28982824087142944, 0.049271728843450546, -0.7314264178276062, -0.2088782787322998, 0.3538832664489746, 0.37211084365844727, -0.4303390681743622, 0.1481781154870987, -0.008779101073741913, 0.24633492529392242, 0.4752441942691803, 0.11649703234434128, -0.25316211581230164, 0.14602306485176086, 0.1521953046321869, -0.12066435068845749, 0.16590742766857147, -0.6585697531700134, -0.5206255316734314, 0.45673879981040955, 0.09248895943164825, -0.1165580227971077 ]
http://arxiv.org/abs/2403.09631v1
http://arxiv.org/pdf/2403.09631v1
3D-VLA: A 3D Vision-Language-Action Generative World Model
2024-03-14T17:58:41
2024-03-14T17:58:41
Haoyu Zhen, Xiaowen Qiu, Peihao Chen, Jincheng Yang, Xin Yan, Yilun Du, Yining Hong, Chuang Gan
cs.CV
cs.CV, cs.AI, cs.CL, cs.RO
Recent vision-language-action (VLA) models rely on 2D inputs, lacking integration with the broader realm of the 3D physical world. Furthermore, they perform action prediction by learning a direct mapping from perception to action, neglecting the vast dynamics of the world and the relations between actions and dynamics. In contrast, human beings are endowed with world models that depict imagination about future scenarios to plan actions accordingly. To this end, we propose 3D-VLA by introducing a new family of embodied foundation models that seamlessly link 3D perception, reasoning, and action through a generative world model. Specifically, 3D-VLA is built on top of a 3D-based large language model (LLM), and a set of interaction tokens is introduced to engage with the embodied environment. Furthermore, to inject generation abilities into the model, we train a series of embodied diffusion models and align them into the LLM for predicting the goal images and point clouds. To train our 3D-VLA, we curate a large-scale 3D embodied instruction dataset by extracting vast 3D-related information from existing robotics datasets. Our experiments on held-in datasets demonstrate that 3D-VLA significantly improves the reasoning, multimodal generation, and planning capabilities in embodied environments, showcasing its potential in real-world applications.
[ -0.20781461894512177, -0.8978952169418335, 0.760524332523346, 0.04275137186050415, -0.020501112565398216, -0.1622556746006012, 0.6136037111282349, -0.7231259942054749, 0.2297588437795639, 0.6912626028060913, -0.44304540753364563, -0.42379093170166016, -0.37013232707977295, -0.15408319234848022, -0.3596106171607971, 0.23250587284564972, -0.028462527319788933, 0.07235002517700195, -0.2710154354572296, -0.059091053903102875, -0.2644788324832916, -0.5356695055961609, -0.31053945422172546, -0.37226250767707825, 0.48590168356895447, 0.2102762758731842, 0.6642177104949951, 0.48181813955307007, 0.25408250093460083, 0.34557655453681946, -0.08175752311944962, 0.21378739178180695, -0.3045061230659485, -0.13598592579364777, -0.040972959250211716, -0.38127973675727844, -0.7053957581520081, -0.36587050557136536, 0.51087486743927, 0.7822378873825073, -0.18284070491790771, -0.07966534048318863, -0.037431150674819946, 0.77032470703125, -0.9055774211883545, 0.2736765146255493, -0.09528558701276779, 0.38157716393470764, 0.24101942777633667, 0.18357525765895844, -0.13567106425762177, -0.16108213365077972, 0.2386568784713745, -0.7219316363334656, 0.19313018023967743, -0.10648570954799652, 0.5034997463226318, 0.20539987087249756, -0.2992396950721741, 0.024646306410431862, -0.829670786857605, 0.32763174176216125, -0.4247150123119354, 0.57627272605896, 0.2533710300922394, 0.5174315571784973, -0.014370321296155453, -0.5648921132087708, -1.045062780380249, -0.13766638934612274, 0.1657799929380417, 0.34954389929771423, -0.11812994629144669, 0.18219763040542603, 0.192612424492836, 0.25418490171432495, -0.5277532935142517, 0.07983046025037766, -0.6855128407478333, 0.11945288628339767, 0.6149615049362183, 0.30090299248695374, 0.3678056001663208, -0.11783679574728012, -0.5940899848937988, -0.3168909549713135, -0.9366503357887268, -0.03988039121031761, 0.037857621908187866, 0.3291827440261841, -0.526988685131073, 1.0321866273880005, -0.2680845558643341, 1.131049633026123, -0.3275492191314697, 0.011751298792660236, 0.2417958378791809, -0.04040015861392021, -0.5951323509216309, -0.18133030831813812, 0.6237732172012329, 0.5522254705429077, 0.029426494613289833, 0.1555067002773285, -0.05837181210517883, 0.07969861477613449, 0.43057361245155334, -0.6246176958084106, -0.08015814423561096, 0.344067245721817, -0.23700650036334991, -0.13311943411827087, 0.02032514661550522, -0.78571617603302, -0.7339776158332825, -0.6295174360275269, 0.5722939968109131, -0.34096887707710266, -0.49843308329582214, 0.6501742601394653, -0.10502120852470398, 0.5326375365257263, 0.681930661201477, -0.7855507135391235, 0.06234193593263626, 0.4018372595310211, 0.8621930480003357, -0.01571640931069851, -0.375767320394516, -0.4246217906475067, 0.4752148687839508, -0.4857563078403473, 0.6994982361793518, -0.5217352509498596, -0.5768570303916931, 0.3232395052909851, -0.15765506029129028, 0.03489021584391594, -0.4543456435203552, -0.04962325096130371, -0.34444287419319153, 0.2188621163368225, -0.11156438291072845, -0.26749563217163086, -0.563984215259552, 0.37079882621765137, -0.9998366236686707, 0.6546132564544678, 0.2493313103914261, -0.2930757403373718, 0.3873429000377655, -0.7944321632385254, -0.3287699222564697, 0.2656039893627167, -0.366800993680954, -0.1375879943370819, 0.1661362200975418, 0.1145835816860199, 0.6309258937835693, -0.32724621891975403, 0.015503398142755032, -0.4640336036682129, -0.395713746547699, -0.2411787360906601, -0.18098793923854828, 0.6639734506607056, 0.006833829451352358, -0.28366559743881226, 0.16430453956127167, -0.6616818308830261, -0.2417691946029663, 0.18441994488239288, -0.18366171419620514, -0.1036372110247612, 0.0027457866817712784, -0.12186918407678604, 0.3902215361595154, 0.14967848360538483, -0.4314805269241333, 0.2060924470424652, -0.6253473162651062, -0.01026324275881052, 0.5768036842346191, -0.3894415497779846, 0.60698002576828, -0.10987818986177444, 0.6508742570877075, 0.08919820189476013, 0.15622134506702423, -0.14481660723686218, -0.6790310740470886, -0.8416981101036072, -0.1295071840286255, -0.46737879514694214, 0.4882844090461731, -1.0426045656204224, 0.3290727436542511, -0.32956841588020325, -0.43794670701026917, -0.16853109002113342, 0.054342154413461685, 0.5010532140731812, 0.3346828520298004, 0.36801496148109436, 0.014191973954439163, -0.5353608131408691, -0.755615770816803, 0.39087194204330444, -0.3173844516277313, -0.15831421315670013, 0.05915306881070137, 0.48644116520881653, -0.19052648544311523, 0.957321286201477, -0.4064662754535675, -0.3781658411026001, -0.5863075852394104, -0.19776663184165955, -0.06141050532460213, 0.18260720372200012, 0.6616829037666321, -1.1172667741775513, -0.0986793041229248, 0.28944140672683716, -1.1638457775115967, 0.3547503352165222, 0.06374719738960266, -0.17668753862380981, 0.08031269162893295, 0.5967161059379578, -0.6625673770904541, 0.602889358997345, 0.788635790348053, -0.388207346200943, 0.20812202990055084, -0.2954936623573303, -0.17947043478488922, -1.225219488143921, 0.04019484668970108, 0.026669608429074287, 0.20590636134147644, -0.6424935460090637, 0.28741592168807983, -0.059254907071590424, -0.28226450085639954, -0.8834339380264282, 1.0755895376205444, -0.38290977478027344, -0.48081234097480774, -0.2506023347377777, 0.14845356345176697, 0.15684151649475098, 0.6210410594940186, 0.6724537014961243, 0.3520013988018036, 0.8266169428825378, -1.0708935260772705, 0.3972293734550476, 0.47721442580223083, -0.5256989002227783, 0.3803638219833374, -0.5726880431175232, -0.16114495694637299, -0.16826674342155457, 0.27074435353279114, -0.6265848278999329, -0.45407307147979736, 0.3232985734939575, -0.25227412581443787, -0.0429137721657753, -0.036465536803007126, -0.30408957600593567, -0.6348589658737183, 0.057200413197278976, 0.2819806933403015, 0.307693749666214, -0.706221878528595, 1.2325602769851685, 0.3612547814846039, 0.2556556761264801, -0.5776592493057251, -0.7999005913734436, -0.07033426314592361, 0.007923712953925133, -0.5072875022888184, 0.35112282633781433, -0.18797077238559723, -0.3171123266220093, -0.15216483175754547, -0.02186047099530697, -0.053734149783849716, 0.03681115433573723, 0.46738070249557495, 0.4492281973361969, -0.27359646558761597, -0.3022327721118927, -0.007457636296749115, -0.08598640561103821, 0.09437219053506851, -0.03164556249976158, 0.4735789895057678, -0.10733196884393692, -0.6638730764389038, -0.33042970299720764, 0.265957772731781, 0.927802324295044, -0.04957013577222824, 0.719926655292511, 0.2773776054382324, -0.564358115196228, -0.08669503778219223, -0.08001957833766937, 0.17882458865642548, -0.4841398298740387, 0.5267075896263123, -0.4869292974472046, -0.669985830783844, 0.060490529984235764, -0.06462002545595169, 0.31210488080978394, 0.059755660593509674, 0.5901739597320557, -0.2722010612487793, 0.9609972834587097, 0.8638594746589661, 0.3997567594051361, 0.42057159543037415, -0.7517364025115967, 0.2782101035118103, -1.0983058214187622, -0.614630401134491, -0.016227032989263535, -0.3347984254360199, -0.033988311886787415, -0.8800783753395081, 0.3090541362762451, 0.26488175988197327, -0.41430985927581787, 0.40221208333969116, -0.16804763674736023, 0.39706477522850037, 0.3577525019645691, -0.028844056650996208, -0.1593727022409439, 0.027966435998678207, -0.15516136586666107, 0.3401017487049103, -0.5962775945663452, -0.5809571743011475, 0.8355607390403748, -0.020186491310596466, 0.45151305198669434, 0.4652256369590759, 0.49120622873306274, 0.2267947643995285, 0.20419907569885254, -0.7797362208366394, 0.8316043615341187, -0.01631838269531727, -0.1702616810798645, -0.2016821652650833, 0.03575989976525307, -0.9338485598564148, 0.6517688035964966, -0.431991845369339, -0.7089269757270813, 0.28844159841537476, 0.48781120777130127, -0.7274372577667236, 0.5001834034919739, -0.7640129327774048, 0.7944920659065247, -0.38870126008987427, -0.478222131729126, -0.14309558272361755, -0.45999354124069214, 0.5481452941894531, 0.12371554225683212, 0.1591603308916092, -0.008641938678920269, 0.0611405149102211, 0.02655433490872383, -0.13511385023593903, 1.0842735767364502, -0.3577224612236023, -0.5433410406112671, 0.2593381404876709, 0.2621469497680664, 0.27505022287368774, -0.07011212408542633, -0.011995562352240086, 0.31080639362335205, -0.5405443906784058, -0.15969300270080566, -0.6260457634925842, 0.49238112568855286, -0.6728829741477966, -0.6124825477600098, -0.2881377041339874, -0.29691582918167114, -0.3877629339694977, 0.06044534593820572, 0.1339522898197174, 0.38691508769989014, -0.5335742235183716, 0.21846088767051697, 0.6121340394020081, -0.5057945847511292, 0.345817506313324, 0.6590332984924316, -0.6824443340301514, -0.10708577930927277, 0.9009318351745605, -0.37299492955207825, 0.3329891264438629, 0.854069709777832, 0.1116497591137886, -0.3287920653820038, -0.302189439535141, -0.5817156434059143, -0.052707791328430176, -0.5923740267753601, -0.10788634419441223, -0.8251457214355469, -0.4389454424381256, -0.3109605014324188, -0.6330298185348511, -0.3342006504535675, -0.210928276181221, -0.23405618965625763, -0.48507535457611084, 0.10362832993268967, 1.0551795959472656, -0.22773998975753784, 0.32047951221466064, -0.6685976386070251, 1.0002793073654175, 0.6611959338188171, 0.16975221037864685, -0.02520175278186798, -0.21683309972286224, -0.20450739562511444, 0.36991560459136963, -0.20667563378810883, -0.4057357907295227, 0.5166691541671753, 0.172438383102417, 0.4815647006034851, 0.2911868095397949, -0.3289470672607422, 0.7734547853469849, -0.5290495157241821, 1.0161107778549194, 0.5154592394828796, -0.6208475828170776, 0.6488714814186096, -0.2525215148925781, 0.32538339495658875, -0.24560843408107758, 0.30718740820884705, -0.2648700773715973, -0.1731058657169342, -0.40008988976478577, -0.8277787566184998, 0.7430671453475952, 0.08555302768945694, 0.2503940463066101, -0.01883089356124401, 0.05040940269827843, 0.058727364987134933, -0.061262018978595734, -0.7694959044456482, -0.029190421104431152, -0.4564787447452545, -0.03979760408401489, -0.012095753103494644, -0.34093064069747925, -0.06661545485258102, -0.2576991617679596, 0.2908329367637634, -0.39169642329216003, 0.30048248171806335, -0.09148426353931427, -0.10465265065431595, 0.07602227479219437, -0.35407310724258423, 0.7871547937393188, 0.5201436877250671, 0.03242996335029602, -0.0460323803126812, 0.015267948620021343, -0.42238447070121765, 0.013966820202767849, -0.08012501895427704, 0.003779781749472022, -0.2896156311035156, 0.41253146529197693, 1.0436244010925293, 0.3271983563899994, -0.8325214982032776, 0.4809317886829376, 0.038464419543743134, -0.43942832946777344, -0.5682399868965149, 0.3475598394870758, 0.2921904921531677, 0.424469530582428, 0.07704386115074158, 0.2268664687871933, 0.15144610404968262, -0.34142112731933594, 0.023298390209674835, 0.12430964410305023, -0.4193117916584015, -0.4268128275871277, 0.7889481782913208, 0.41002705693244934, -0.17932185530662537, 0.570225715637207, 0.13077335059642792, -0.24503691494464874, 0.7623293399810791, 0.5286132097244263, 0.8888887166976929, -0.3496372699737549, 0.44579946994781494, 0.8022862076759338, 0.09409716725349426, -0.14996063709259033, 0.5358095169067383, -0.1615438610315323, -1.0925383567810059, -0.2713817059993744, -0.883618950843811, -0.31854215264320374, 0.2357056587934494, -0.6069180965423584, 0.3582858443260193, -0.455181747674942, 0.32472702860832214, -0.3091311454772949, -0.570504903793335, -0.729213535785675, 0.44533756375312805, 0.6058669686317444, 0.6176364421844482, -0.7704358696937561, 0.9662581086158752, 0.5887047052383423, -0.4841381013393402, -0.22433455288410187, -0.05752984806895256, 0.20377536118030548, -1.0857877731323242, 0.837934136390686, 0.39049944281578064, -0.7311546206474304, -0.11960947513580322, -0.3936403691768646, -1.0025601387023926, 1.1898730993270874, 0.4739915430545807, -0.7074301838874817, -0.176626518368721, 0.18604987859725952, 0.4246992766857147, -0.2820018529891968, -0.22871658205986023, 0.17913301289081573, 0.1877911388874054, 0.5088138580322266, -0.4703572392463684, -0.47319233417510986, -0.5071850419044495, 0.24170644581317902, 0.018331697210669518, -0.5514451265335083, 0.6620572209358215, -0.5879793763160706, -0.24180151522159576, 0.2628372609615326, 0.953477680683136, 0.7048337459564209, 0.001596717513166368, 0.5460864305496216, 0.5497815608978271, 0.4236912131309509, 0.0576770156621933, 1.306334137916565, -0.13062040507793427, -0.2690867483615875, 1.2051656246185303, -0.7575167417526245, 1.0478370189666748, 0.216256245970726, 0.10219574719667435, 0.573676586151123, 0.18944059312343597, 0.3121455907821655, 0.5801541209220886, 0.13560061156749725, -0.3869902193546295, -0.3815377652645111, 0.1788184642791748, -0.20197708904743195, 0.7250329852104187, 0.773890495300293, 0.04467349499464035, -0.03680507838726044, 0.3656076192855835, -0.4285351037979126, 0.17827443778514862, -0.17941401898860931, 0.6146039366722107, -0.005703495815396309, -0.4308816194534302, 0.32773256301879883, -0.36973875761032104, 0.3546602427959442, -0.7686468958854675, -0.5849362015724182, -0.38180428743362427, 0.19045618176460266, 0.16644421219825745, -0.9542442560195923, 0.33983659744262695, -0.04217524081468582, 0.0035639642737805843, -0.45559319853782654, 0.19860775768756866, -0.2924121916294098, -0.5189156532287598, 0.49258050322532654, 0.5305681824684143, -0.004151417873799801, 0.10752305388450623, -0.695112943649292, 0.15442901849746704, -0.09846042841672897, -0.1887863725423813, 0.27101191878318787, 0.4712556004524231, -0.09420747309923172, 0.890414297580719, 0.49640265107154846, -0.22045525908470154, -0.07335534691810608, 0.06301437318325043, 0.6534930467605591, -0.7161411046981812, -0.3755796253681183, -0.42198219895362854, 0.743309497833252, -0.04833623021841049, -0.34346482157707214, 0.43452340364456177, 0.6157910227775574, 0.8401253819465637, -0.06692838668823242, 0.9221283197402954, -0.4057488739490509, 0.06947723776102066, -0.8677123188972473, 0.48954474925994873, -0.9251696467399597, 0.019395453855395317, -0.19150282442569733, -0.9410434365272522, -0.4935548007488251, 0.877870500087738, 0.0729733556509018, 0.21824656426906586, 0.39817681908607483, 0.6830877065658569, -0.16808360815048218, -0.16761229932308197, 0.8192286491394043, 0.08642951399087906, 0.3795790672302246, 0.5606677532196045, 0.8264881372451782, -0.29357174038887024, 0.13623486459255219, -0.1502285897731781, -0.003945737145841122, -0.2899727523326874, -0.6856414079666138, -0.7169621586799622, -0.8982030749320984, -0.19625428318977356, -0.09058671444654465, -0.04273803532123566, 0.5263015627861023, 0.7047919034957886, -0.49401482939720154, -0.3316883444786072, -0.4787454605102539, -0.09945032745599747, -0.3793178200721741, -0.14749884605407715, 0.25455865263938904, 0.14502134919166565, -0.9047240018844604, 0.9127988219261169, 0.508224606513977, 0.4022786021232605, -0.5232709050178528, -0.3647800385951996, -0.07929081469774246, -0.1557120680809021, 1.1372814178466797, 0.5938337445259094, -0.9657174348831177, -0.1955488622188568, -0.04949971288442612, -0.00519957672804594, -0.14641249179840088, 0.594468355178833, -0.9922752380371094, 0.8061990737915039, 0.2793596088886261, 0.34407123923301697, 0.45636215806007385, -0.3848622441291809, 1.2323392629623413, -0.47255516052246094, 0.3933356702327728, 0.12472424656152725, 0.6176230311393738, 0.40657031536102295, -0.05219045281410217, 0.7294014096260071, -0.04818166047334671, 0.1735752373933792, -0.4841850697994232, 0.44738274812698364, -0.9917796850204468, -0.3505990207195282, 1.1651403903961182, 0.04501938819885254, -0.43915656208992004, 0.021286966279149055, -0.39572665095329285, -0.06380616128444672, 0.2814781069755554, 0.7028866410255432, 0.31706681847572327, -0.028790270909667015, -0.3279702663421631, -0.6277852058410645, 0.4290263056755066, 0.028056930750608444, -0.9253911375999451, 0.27172866463661194, 0.9240719676017761, -0.3723389208316803, 0.23218810558319092, 0.5360201001167297, -0.010895336046814919, 0.5760864615440369, 0.10010243207216263, 0.4869380593299866, 0.09577393531799316, -0.6841843724250793, -0.07239066809415817, 0.21704243123531342, -0.3482971787452698, -0.17268286645412445 ]
http://arxiv.org/abs/2403.09629v2
http://arxiv.org/pdf/2403.09629v2
Quiet-STaR: Language Models Can Teach Themselves to Think Before Speaking
2024-03-14T17:58:16
2024-03-18T07:56:48
Eric Zelikman, Georges Harik, Yijia Shao, Varuna Jayasiri, Nick Haber, Noah D. Goodman
cs.CL
cs.CL, cs.AI, cs.LG
When writing and talking, people sometimes pause to think. Although reasoning-focused works have often framed reasoning as a method of answering questions or completing agentic tasks, reasoning is implicit in almost all written text. For example, this applies to the steps not stated between the lines of a proof or to the theory of mind underlying a conversation. In the Self-Taught Reasoner (STaR, Zelikman et al. 2022), useful thinking is learned by inferring rationales from few-shot examples in question-answering and learning from those that lead to a correct answer. This is a highly constrained setting -- ideally, a language model could instead learn to infer unstated rationales in arbitrary text. We present Quiet-STaR, a generalization of STaR in which LMs learn to generate rationales at each token to explain future text, improving their predictions. We address key challenges, including 1) the computational cost of generating continuations, 2) the fact that the LM does not initially know how to generate or use internal thoughts, and 3) the need to predict beyond individual next tokens. To resolve these, we propose a tokenwise parallel sampling algorithm, using learnable tokens indicating a thought's start and end, and an extended teacher-forcing technique. Encouragingly, generated rationales disproportionately help model difficult-to-predict tokens and improve the LM's ability to directly answer difficult questions. In particular, after continued pretraining of an LM on a corpus of internet text with Quiet-STaR, we find zero-shot improvements on GSM8K (5.9%$\rightarrow$10.9%) and CommonsenseQA (36.3%$\rightarrow$47.2%) and observe a perplexity improvement of difficult tokens in natural text. Crucially, these improvements require no fine-tuning on these tasks. Quiet-STaR marks a step towards LMs that can learn to reason in a more general and scalable way.
[ -0.43974703550338745, -0.9814406633377075, 0.9212251901626587, -0.22259029746055603, -0.10647972673177719, -0.11169236153364182, -0.4910404086112976, -0.35849636793136597, 0.012285858392715454, 0.5555487275123596, -0.8198547959327698, -0.3665141463279724, -0.38454577326774597, 0.0729178711771965, -0.18254317343235016, 1.0107150077819824, -0.005254448391497135, 0.08180630952119827, -0.0037402964662760496, -0.0637894868850708, -0.5740246176719666, -0.4884200096130371, -0.7282264828681946, -0.2585641145706177, 0.7033871412277222, 0.734865128993988, 0.5525636672973633, 0.5771968364715576, 0.29060760140419006, 0.26988327503204346, 0.06388076394796371, 0.07174702733755112, -0.6386679410934448, 0.4395206570625305, -0.3368164598941803, -0.838561475276947, -0.09836193919181824, 0.07050430029630661, 0.4064440429210663, 0.9227645397186279, 0.2535874843597412, 0.24409306049346924, -0.11203857511281967, 0.8251932859420776, -0.6939489245414734, 0.3560069501399994, -0.7949739694595337, -0.13241827487945557, -0.09785548597574234, 0.06656814366579056, -0.45704376697540283, -0.17125330865383148, -0.01943795196712017, -0.6409435272216797, 0.07242699712514877, 0.1505325585603714, 0.774790346622467, 0.3949248790740967, -0.04376981779932976, -0.4376707375049591, -0.8638103604316711, 1.0110141038894653, -0.4800839424133301, 0.3478693664073944, 0.5288974046707153, 0.32079800963401794, -0.07121793925762177, -0.8719935417175293, -0.8178359270095825, -0.2492498755455017, -0.006165394559502602, 0.15908212959766388, -0.04159872978925705, 0.09018877893686295, 0.5599573850631714, 0.1254846453666687, -0.1997109055519104, -0.1082598939538002, -0.40600109100341797, -0.12579725682735443, 0.37900781631469727, 0.11558748781681061, 0.10808897763490677, -0.2487397938966751, -0.21028369665145874, -0.019390365108847618, -0.5478255748748779, 0.408908486366272, 0.12445355951786041, 0.2859290540218353, 0.07940312474966049, 0.40090417861938477, -0.3769274652004242, 0.5997234582901001, 0.05675478279590607, -0.24722544848918915, -0.10294415056705475, -0.1887737363576889, -0.31056368350982666, -0.2400766909122467, 0.5229063034057617, 0.08558035641908646, 0.49847713112831116, 0.05736566707491875, -0.39404213428497314, 0.48043280839920044, 0.02149590104818344, -0.7575367093086243, -0.38597363233566284, 0.42515015602111816, -0.38667353987693787, -0.096194326877594, -0.24341772496700287, -0.6298930644989014, -0.3234829604625702, -0.695343554019928, 0.5532552003860474, -0.29440605640411377, -0.05894765257835388, 0.15877209603786469, 0.12454894930124283, -0.159625843167305, 0.4285462498664856, -0.8352405428886414, 0.36815980076789856, 0.49833348393440247, 0.42884624004364014, 0.17331746220588684, -0.457274854183197, -0.5662586688995361, -0.09447604417800903, -0.5168938636779785, 1.023993968963623, -0.646602213382721, -0.15051791071891785, -0.21122057735919952, -0.2281477302312851, -0.29029062390327454, -0.36285653710365295, 0.7410052418708801, -0.15396566689014435, 0.5608783960342407, -0.5282503366470337, -0.7568243145942688, -0.3719312250614166, 0.1180994063615799, -0.44187435507774353, 0.7552213668823242, -0.016720212996006012, -0.6815759539604187, 0.3018590211868286, -0.4730815291404724, -0.002219036454334855, 0.036312516778707504, -0.45581939816474915, -0.10683216899633408, 0.027214128524065018, 0.3920884430408478, 0.6024485230445862, -0.22633975744247437, 0.1772923469543457, -0.23775236308574677, -0.614281415939331, 0.3638497591018677, -0.29470813274383545, 0.49501916766166687, 0.4444696307182312, -0.44894739985466003, 0.3486693203449249, -0.45360949635505676, 0.30356264114379883, 0.10060670971870422, 0.12253894656896591, -0.12137307226657867, -0.019177716225385666, -0.2997133135795593, 0.15133458375930786, -0.16165287792682648, -0.32075443863868713, 0.04746454581618309, -0.45641377568244934, 0.36962005496025085, 0.6014912724494934, -0.010146001353859901, 0.5490186810493469, -0.6486364006996155, 0.4412784278392792, -0.020748309791088104, 0.2744387090206146, -0.6376612782478333, -0.32892704010009766, -1.3301283121109009, -0.2641487717628479, 0.12950366735458374, 0.39815258979797363, -0.7410012483596802, -0.08669418096542358, 0.11337784677743912, -0.4926549792289734, -0.6197909712791443, 0.40912190079689026, 0.41810381412506104, 0.7136877179145813, 0.3872487246990204, 0.13875767588615417, -0.36603403091430664, -0.6930549144744873, -0.5038229823112488, -0.2708757221698761, 0.28713154792785645, 0.25188130140304565, 0.43837061524391174, -0.04680158942937851, 0.7259935140609741, -0.4960905909538269, -0.13351427018642426, -0.49480244517326355, 0.051192060112953186, 0.3544274568557739, 0.357243150472641, 0.15562598407268524, -0.591469407081604, -0.540949821472168, -0.3771502375602722, -0.7487821578979492, -0.005213649943470955, -0.40096554160118103, -0.14354923367500305, 0.24544106423854828, 0.7404963970184326, -0.8526158332824707, 0.16517473757266998, -0.016970515251159668, -0.5076475739479065, 0.6225093007087708, 0.007530551869422197, -0.16187484562397003, -0.8122615814208984, 0.15867917239665985, -0.20396532118320465, -0.15048126876354218, -0.6218721866607666, 0.13535332679748535, -0.10332504659891129, -0.23410789668560028, -0.30536630749702454, 0.7178009748458862, -0.6023420095443726, 0.32317882776260376, -0.6203905344009399, 0.2916838526725769, -0.10031552612781525, 0.7326086163520813, -0.036348339170217514, 0.6228572130203247, 0.6948668360710144, -0.6069502830505371, -0.08952806144952774, -0.13770145177841187, -0.3644132912158966, 0.31292465329170227, -0.36457499861717224, 0.171444371342659, -0.5238039493560791, 0.18180839717388153, -0.7400447726249695, -0.20684312283992767, 0.3770471513271332, -0.4344284236431122, 0.10971524566411972, -0.1457461714744568, -0.1720770001411438, -0.3459814786911011, 0.015397831797599792, 0.21592944860458374, 0.822607159614563, -0.4322010576725006, 0.389835000038147, 0.3124774396419525, -0.40260493755340576, -0.8010571599006653, -0.3370186686515808, -0.11315053701400757, 0.001787684508599341, -0.2718333601951599, -0.1225738674402237, -0.2497219443321228, -0.626911997795105, 0.15900959074497223, -0.17282606661319733, -0.07419704645872116, 0.04588859900832176, 0.21074149012565613, 0.27981165051460266, -0.32207852602005005, 0.5024794936180115, -0.13363850116729736, -0.270812451839447, 0.1154472678899765, -0.4405573904514313, 0.3899373710155487, -0.3974181115627289, -0.250730037689209, -0.4111463129520416, 0.27749332785606384, 0.5966655015945435, -0.06395874172449112, 0.4834502637386322, 0.4488271474838257, -0.37467625737190247, -0.8372043967247009, -0.680213451385498, -0.4687390923500061, -0.43544653058052063, 0.1645130217075348, -0.43713581562042236, -0.9668158888816833, 0.3873175382614136, -0.09237567335367203, 0.07104472815990448, 0.4033772647380829, 0.49989432096481323, -0.2609993815422058, 0.7877247929573059, 0.7760397791862488, 0.1822354644536972, 0.27803248167037964, -0.3114304840564728, 0.20209002494812012, -0.34663763642311096, -0.16051743924617767, -0.2589888274669647, -0.19872410595417023, -0.28120657801628113, -0.640224039554596, 0.030452705919742584, 0.5637194514274597, -0.2527026832103729, -0.05930561199784279, -0.567186176776886, 0.8352409601211548, 0.4308151602745056, -0.10042940825223923, 0.1597522795200348, -0.17681129276752472, -0.4065200984477997, -0.14533883333206177, -0.7859340906143188, -0.6333004832267761, 1.0719795227050781, 0.3354380130767822, 0.6126246452331543, -0.2162860929965973, 0.7501221895217896, -0.12280066311359406, 0.5819129943847656, -0.8979575634002686, 0.680320143699646, 0.13887055218219757, -0.5474650859832764, -0.3575994372367859, -0.3609141707420349, -0.6981911659240723, 0.4130409359931946, -0.35988810658454895, -0.6988864541053772, 0.03114578127861023, 0.29222941398620605, -0.4037395715713501, 0.3431795835494995, -0.9184158444404602, 0.8069856762886047, -0.0612463541328907, -0.47312694787979126, -0.2107185274362564, -0.4042896330356598, 0.6401206254959106, -0.22726085782051086, 0.3039343059062958, -0.33239641785621643, 0.09110081940889359, 0.602869987487793, -0.4574702978134155, 0.9074034690856934, -0.16527420282363892, 0.29557114839553833, 0.7684091329574585, 0.16286036372184753, 0.5528658628463745, 0.07477634400129318, 0.047484058886766434, -0.1966504007577896, -0.10787088423967361, -0.5685643553733826, -0.720320463180542, 0.6572571992874146, -0.6147422194480896, -0.9036505222320557, -0.3586553633213043, -0.4691428244113922, -0.23657701909542084, 0.3648987412452698, 0.24850650131702423, 0.23169423639774323, -0.010226530954241753, -0.08455731719732285, 0.6392375230789185, 0.12949301302433014, 0.6647744178771973, 0.4724607765674591, -0.4812987446784973, -0.4964739680290222, 0.8549296855926514, 0.17745138704776764, 0.16994640231132507, 0.2407820224761963, 0.46391811966896057, -0.5092288255691528, -0.40951111912727356, -0.308277428150177, 0.4050777852535248, -1.1023308038711548, -0.005792793817818165, -0.770322322845459, -0.20772846043109894, 0.05903646722435951, -0.33250781893730164, -0.31307676434516907, -0.5761982202529907, -0.1505243331193924, -0.0786222442984581, 0.17149564623832703, 0.8348377346992493, 0.12781524658203125, 0.17139025032520294, -0.5294419527053833, 0.12859372794628143, 0.41716063022613525, 0.15864971280097961, 0.17717145383358002, -0.3880414366722107, -0.23133599758148193, -0.05703938379883766, -0.1845731884241104, -0.6323212385177612, 0.2673419713973999, -0.056942302733659744, 0.6026604175567627, 0.372969388961792, 0.2650552988052368, 0.5790867805480957, -0.4122605323791504, 0.7296014428138733, 0.34971240162849426, -1.0109164714813232, 0.4725136160850525, -0.3076796233654022, 0.4308711588382721, 0.7222994565963745, 0.27874287962913513, -0.5328072309494019, -0.5356622338294983, -0.6563950777053833, -0.4572993814945221, 0.468599408864975, 0.36723893880844116, -0.009259817190468311, -0.05582211911678314, 0.48465585708618164, 0.295771062374115, 0.14182908833026886, -0.7864592671394348, -0.22150790691375732, -0.4684446454048157, -0.23623380064964294, -0.36411547660827637, -0.18113958835601807, -0.0024097312707453966, -0.41148608922958374, 0.45673444867134094, -0.4053798019886017, 0.2592869699001312, 0.36491456627845764, -0.11198166757822037, -0.19517704844474792, 0.4523160755634308, 0.700127363204956, 0.7546294331550598, 0.02753058634698391, 0.4268985986709595, 0.22669294476509094, -0.27923229336738586, 0.020561866462230682, -0.04483042284846306, -0.3243009150028229, -0.05234932526946068, 0.33791980147361755, 0.874586820602417, 0.18004320561885834, -0.7263872623443604, 0.4034677743911743, -0.024808282032608986, -0.3095589876174927, -0.38877227902412415, 0.28881192207336426, 0.31981977820396423, 0.22767704725265503, 0.16126279532909393, 0.48673588037490845, -0.2312622368335724, -0.6024623513221741, 0.2323853224515915, 0.18877317011356354, -0.5579962730407715, -0.4565412402153015, 0.8258482813835144, 0.26289600133895874, -0.27064913511276245, 0.3722623586654663, -0.12678827345371246, -0.47697940468788147, 0.44686993956565857, 0.5568165183067322, 1.1172616481781006, 0.23814570903778076, 0.24994134902954102, 0.47106584906578064, 0.21215489506721497, -0.24295133352279663, 0.682553768157959, -0.28156840801239014, -0.803684651851654, -0.6201962232589722, -0.5064659118652344, -0.5055140256881714, 0.3657492399215698, -0.14591360092163086, 0.1548553854227066, -0.7975976467132568, -0.18257877230644226, 0.07140413671731949, 0.166372150182724, -0.6953185200691223, 0.27242422103881836, 0.27752426266670227, 0.8260050415992737, -0.536105751991272, 0.8315719962120056, 0.5617577433586121, -0.6496871709823608, -1.086230754852295, 0.17120134830474854, -0.04416786506772041, -0.6388844847679138, 0.7825018763542175, 0.41229334473609924, -0.26941075921058655, 0.0747728943824768, -0.5942520499229431, -0.8873939514160156, 0.8222436308860779, 0.43887415528297424, -0.7155042290687561, 0.18645596504211426, -0.1003367155790329, 0.5170019268989563, -0.38024038076400757, 0.45763832330703735, 0.04160384461283684, 0.4305275082588196, 0.03093808889389038, -0.6962866187095642, 0.09251619875431061, -0.2566719353199005, -0.4803219139575958, 0.1509406417608261, -0.8181460499763489, 1.108422875404358, -0.6825248599052429, -0.409707635641098, 0.057985059916973114, 0.6358078718185425, 0.23207731544971466, 0.37075889110565186, 0.5725348591804504, 0.4995935559272766, 1.195603370666504, 0.10241915285587311, 0.8964899182319641, -0.4443780481815338, 0.12216569483280182, 0.990132212638855, -0.16613106429576874, 0.9564450979232788, 0.4074198603630066, 0.2509746253490448, 0.6597779989242554, 0.41030946373939514, 0.1624118685722351, 0.17662301659584045, 0.11495428532361984, -0.45751750469207764, -0.6453097462654114, -0.11653293669223785, -0.1121617779135704, 0.40938547253608704, 0.37537723779678345, -0.2544935643672943, -0.19912207126617432, -0.10852989554405212, 0.20843997597694397, 0.4567302167415619, -0.5168116092681885, 0.5443317890167236, 0.47251036763191223, -1.1361407041549683, 0.7483696341514587, -0.13576604425907135, 0.41745850443840027, -0.5465257167816162, 0.04057231917977333, -0.26014620065689087, 0.46703076362609863, 0.008991957642138004, -0.5858533382415771, 0.0613393597304821, 0.054029252380132675, -0.4165412485599518, -0.33639761805534363, 0.8837640285491943, -0.42171862721443176, -0.5250864624977112, 0.12713441252708435, 0.886554479598999, 0.30036190152168274, 0.04648492857813835, -0.7801674008369446, -0.0855664312839508, 0.03371570259332657, -0.21832162141799927, 0.18841513991355896, 0.4396720230579376, -0.09657543897628784, 0.9448737502098083, 0.9030422568321228, 0.15701055526733398, -0.1510286182165146, 0.2447347491979599, 0.8674538731575012, -0.9741750955581665, -0.6159534454345703, -0.7645679712295532, 0.3725489377975464, 0.018390176817774773, -0.4900107979774475, 0.6678106784820557, 0.29371774196624756, 0.876053512096405, -0.08747324347496033, 0.8029366135597229, 0.34443625807762146, 0.7288451194763184, -0.7101885676383972, 0.8297169804573059, -0.3395342230796814, 0.3179073631763458, -0.11151427030563354, -0.8490822315216064, -0.07564640790224075, 0.5088019371032715, -0.29501330852508545, -0.09668590873479843, 1.207343339920044, 0.6715957522392273, 0.17917124927043915, 0.16889382898807526, 0.5917625427246094, 0.1305433213710785, 0.0030790013261139393, 0.6757411956787109, 1.0658464431762695, -0.24007199704647064, 0.6156604886054993, -0.3563830256462097, -0.019511723890900612, 0.12087346613407135, -0.5381865501403809, -1.319818139076233, -0.4408843517303467, -0.16703763604164124, -0.24208223819732666, 0.048354923725128174, 0.9538453221321106, 0.7014096975326538, -0.815120279788971, -0.19463349878787994, -0.4336000382900238, 0.37943223118782043, -0.230218768119812, -0.19350109994411469, 0.38718321919441223, -1.0344874858856201, -0.706179141998291, 0.4412952959537506, 0.12093249708414078, 0.04242776706814766, -0.30185484886169434, -0.19861814379692078, 0.14503507316112518, 0.43084976077079773, 0.5082151889801025, 0.4867209196090698, -0.9751431941986084, -0.3201310932636261, 0.24486851692199707, -0.12870454788208008, -0.16200265288352966, 0.8570189476013184, -1.0350042581558228, 0.6274023056030273, 0.372234582901001, 0.48933130502700806, 0.3736906349658966, -0.057337842881679535, 0.4692450761795044, -0.26663368940353394, 0.2370845228433609, 0.5129172205924988, 0.2815549373626709, 0.18425485491752625, -0.22638143599033356, 0.19300156831741333, 0.6354327201843262, -0.583537220954895, -0.7822638154029846, 0.4406714141368866, -0.74542236328125, -0.7553116083145142, 1.0911513566970825, -0.020763859152793884, -0.3100394904613495, -0.3332676291465759, -0.2197590321302414, -0.005290632601827383, -0.3190518617630005, 0.6848127841949463, 0.7202413082122803, -0.2193114161491394, -0.49550437927246094, -0.49086862802505493, 0.9533804059028625, 0.9000056982040405, -0.6442668437957764, 0.1331600695848465, 0.3251313865184784, 0.26129889488220215, 0.04310307651758194, 0.9752786755561829, 0.22331295907497406, 0.18702344596385956, 0.3829828202724457, -0.05163594335317612, -0.18141411244869232, -0.5374863147735596, -0.07136321067810059, 0.3373817503452301, 0.16883833706378937, 0.03307107090950012 ]
http://arxiv.org/abs/2403.09613v1
http://arxiv.org/pdf/2403.09613v1
Reawakening knowledge: Anticipatory recovery from catastrophic interference via structured training
2024-03-14T17:51:54
2024-03-14T17:51:54
Yanlai Yang, Matt Jones, Michael C. Mozer, Mengye Ren
cs.LG
cs.LG, cs.CL
We explore the training dynamics of neural networks in a structured non-IID setting where documents are presented cyclically in a fixed, repeated sequence. Typically, networks suffer from catastrophic interference when training on a sequence of documents; however, we discover a curious and remarkable property of LLMs fine-tuned sequentially in this setting: they exhibit anticipatory behavior, recovering from the forgetting on documents before encountering them again. The behavior emerges and becomes more robust as the architecture scales up its number of parameters. Through comprehensive experiments and visualizations, we uncover new insights into training over-parameterized networks in structured environments.
[ -0.06455276906490326, -0.7249472141265869, 0.2840053141117096, 0.112302765250206, -0.2671823501586914, 0.27257341146469116, 0.05232885479927063, -0.3553112745285034, 0.6242525577545166, 0.5584695935249329, -0.638075053691864, -0.10684162378311157, -0.6752328872680664, -0.06305458396673203, -0.7906159162521362, 1.2223870754241943, -0.2216409593820572, 0.050366636365652084, -0.2831555902957916, -0.14441131055355072, -0.08146965503692627, -0.3929692208766937, -1.0437791347503662, -0.9518682956695557, 0.7180768251419067, 0.0594562366604805, 0.13696126639842987, 0.45185163617134094, 0.3622840940952301, 0.42637312412261963, 0.12861759960651398, 0.2731724977493286, -0.8922815322875977, 0.39999422430992126, -0.16140320897102356, -0.5193302631378174, -0.043085869401693344, 0.29015547037124634, 0.9241561889648438, 0.8790121078491211, -0.39597615599632263, -0.30679386854171753, 0.36864644289016724, 0.7474139928817749, -0.5451620817184448, 0.13776983320713043, -0.7578613758087158, 0.2493993639945984, 0.14377012848854065, -0.7732401490211487, -0.3382602334022522, -0.30978262424468994, -0.051186755299568176, -0.8376480937004089, 0.30797550082206726, 0.04993106797337532, 0.5708058476448059, 0.5052893161773682, -0.21470458805561066, -0.19839230179786682, -0.8815174102783203, 0.49646085500717163, -0.24241463840007782, 0.29722049832344055, 0.41530415415763855, 0.023586256429553032, -0.680884063243866, -1.1640973091125488, -0.29002222418785095, 0.04696455970406532, 0.19346119463443756, 0.41315436363220215, 0.16120070219039917, 0.15478788316249847, 0.40251922607421875, 0.301984578371048, -0.18846309185028076, 0.013973530381917953, -0.4572743773460388, 0.1814420074224472, 0.616115152835846, 0.2918943762779236, -0.013594080694019794, 0.14665137231349945, -0.4015067517757416, 0.11985528469085693, -0.6535537242889404, -0.051626257598400116, 0.5310700535774231, -0.15111294388771057, 0.1685517132282257, 0.15579278767108917, -0.19235408306121826, 0.5987262725830078, 0.0339791476726532, 0.1835346519947052, 0.25933223962783813, -0.10320586711168289, -0.23441927134990692, 0.32016509771347046, 0.6942611336708069, 0.07099412381649017, 0.4611330032348633, -0.47515952587127686, -0.257386177778244, -0.404214471578598, 0.8749338388442993, -0.5862846374511719, -0.4799700379371643, -0.002977765165269375, -0.5200889110565186, -0.5202191472053528, -0.10441993921995163, -0.29898524284362793, -0.40415820479393005, -0.4872759282588959, 0.34679317474365234, -0.5842680931091309, -0.4069989025592804, 0.16143494844436646, -0.2671884000301361, 0.04332472383975983, 0.32702314853668213, -1.060723066329956, 0.124196358025074, 0.6916166543960571, 0.9402281641960144, 0.14209270477294922, -0.6504773497581482, -0.1713731586933136, 0.12990544736385345, -0.577307939529419, 0.768600344657898, -0.18740735948085785, -0.6592228412628174, 0.07920372486114502, 0.25659793615341187, -0.42968857288360596, -0.609307587146759, 0.11988377571105957, -0.8328284025192261, -0.1386813074350357, -0.2751021981239319, -0.599273145198822, 0.05452201887965202, 0.5340427756309509, -0.5208439230918884, 0.7951514720916748, 0.020679231733083725, -0.8361251354217529, 0.47983381152153015, -0.4706791341304779, -0.3714686632156372, -0.22325465083122253, -0.2237975299358368, -0.5852911472320557, 0.2035467028617859, -0.7752195596694946, -0.11401265114545822, 0.03091006726026535, 0.05645696446299553, -0.3991185128688812, -0.6146512627601624, 0.24782000482082367, -0.4530071020126343, 0.5606429576873779, 0.0825289636850357, -0.1480451226234436, 0.1905043125152588, -1.2016119956970215, 0.14664120972156525, 0.06906604766845703, -0.8353453874588013, -0.39886021614074707, 0.40827885270118713, -0.4443782567977905, 0.13151520490646362, 0.04790574312210083, -0.7183765769004822, 0.45153963565826416, -0.5083934664726257, 0.8518251180648804, 0.6922335624694824, 0.47322648763656616, 0.28009364008903503, -0.5784585475921631, 0.09846854209899902, 0.27194058895111084, 0.10420956462621689, -0.2741791009902954, -0.32077956199645996, -0.9463856816291809, 0.1541561633348465, -0.1327340304851532, 0.5190184712409973, -0.8780191540718079, 0.03449396789073944, -0.1295027732849121, -0.2293069064617157, -0.1809941530227661, 0.28705036640167236, 0.6585207581520081, 0.6892499923706055, 0.446103572845459, -0.5486088395118713, -0.8152172565460205, -0.7860019207000732, -0.14071352779865265, -0.1309472620487213, -0.1373356729745865, 0.25928714871406555, 0.6171634197235107, -0.22874228656291962, 0.7621533870697021, -0.3053090572357178, -0.1514497846364975, 0.12391311675310135, 0.6543945670127869, 0.10773979127407074, 0.9237295985221863, 0.07097996026277542, -0.48892778158187866, -0.18389827013015747, -0.33606386184692383, -1.01016366481781, 0.20283567905426025, -0.520058810710907, -0.1536472588777542, 0.10797286033630371, 1.106112003326416, -0.2882286310195923, 0.4331244230270386, -0.08681070804595947, 0.0009141970076598227, 0.4655979871749878, -0.4073912501335144, 0.025915540754795074, -1.059576153755188, 0.1372591257095337, -0.44546085596084595, 0.03758224472403526, -0.4387454688549042, -0.4159494638442993, -0.07256641238927841, 0.3601962625980377, -0.08746647089719772, 0.009828705340623856, -0.4897492825984955, -0.19986242055892944, -0.5892130136489868, -0.0066220685839653015, -0.04682992398738861, 0.4207077622413635, 0.23967520892620087, 0.6936521530151367, 0.2640362083911896, -0.330112099647522, 0.3298237919807434, 0.4202682673931122, -0.3507327735424042, 0.4063326120376587, -0.6589931845664978, 0.27450522780418396, -0.3767869472503662, 0.19095560908317566, -0.9671942591667175, -0.10496576875448227, 0.12254892289638519, -0.2334393858909607, 0.624524712562561, -0.21932649612426758, -0.32602277398109436, -0.17660222947597504, -0.25639522075653076, 0.49338844418525696, 0.2642841935157776, -0.40830832719802856, 0.3671495318412781, -0.016901811584830284, 0.4073537588119507, -0.45221424102783203, -0.5691094994544983, 0.29231321811676025, 0.06217347830533981, -0.469243586063385, 0.2315717339515686, -0.04372536391019821, -0.25918805599212646, -0.06387868523597717, -0.042531177401542664, -0.026989873498678207, 0.29873597621917725, 0.729499101638794, -0.1637517511844635, -0.15306729078292847, 0.009374951012432575, -0.05780154466629028, -0.2566668391227722, 0.18312828242778778, -0.7406967282295227, 0.49822574853897095, -0.024349596351385117, -0.506313145160675, -0.24507999420166016, 0.2998085021972656, 0.3581407070159912, 0.24906624853610992, 1.0157185792922974, 0.40055105090141296, -0.41093793511390686, -0.1039762794971466, -0.2838537096977234, -0.20165400207042694, -0.5047902464866638, 0.3892979919910431, -0.23492534458637238, -0.384709894657135, 0.7511439323425293, -0.3094375431537628, 0.09908338636159897, 0.18678003549575806, 0.2978588342666626, -0.5023420453071594, 0.5657776594161987, 0.6026120185852051, 0.19355563819408417, 0.8302434086799622, -0.6797399520874023, -0.02860860712826252, -0.9758055806159973, -0.7497334480285645, 0.02493421919643879, -0.7840778827667236, -0.23556703329086304, 0.049760833382606506, 0.3224460184574127, 0.5776338577270508, -0.3996790051460266, 0.11052975058555603, -0.23479583859443665, 0.5666914582252502, 0.765326201915741, 0.4607127010822296, 0.14258547127246857, -0.20261748135089874, -0.055260200053453445, 0.022830931469798088, -0.7432032823562622, -0.1381790041923523, 1.0750190019607544, 0.05395406112074852, 0.7166239619255066, -0.12745589017868042, 0.9591193795204163, 0.15222810208797455, 0.4838566184043884, -0.6510095000267029, 0.20699523389339447, 0.0696054995059967, -0.31505876779556274, -0.2880241870880127, -0.32244667410850525, -1.3399614095687866, -0.071476049721241, -0.4866413474082947, -0.6853727698326111, 0.44601884484291077, 0.17275069653987885, -0.4185762107372284, 0.48200300335884094, -0.3595046401023865, 0.3188317120075226, 0.007574295159429312, -0.6294299364089966, -0.3019310235977173, -0.8522030115127563, 0.4255674183368683, -0.22741538286209106, -0.20260153710842133, 0.40712225437164307, 0.11084143072366714, 0.9192939400672913, -0.4400208592414856, 1.0096869468688965, -0.07954040169715881, 0.10848347097635269, 0.19240623712539673, 0.09395190328359604, 0.46511608362197876, -0.023009194061160088, 0.05327555909752846, 0.04737614095211029, -0.22023914754390717, -0.5021796226501465, -0.5417040586471558, 0.6625183820724487, -0.9752408266067505, -0.6080719232559204, -0.2590577304363251, -0.733527421951294, -0.3087996244430542, 0.3293251693248749, 0.4890935719013214, 0.48889991641044617, -0.19678324460983276, 0.4178476333618164, 1.1108022928237915, 0.09597519785165787, 0.7512650489807129, 0.5920398831367493, 0.22604945302009583, -0.5303171277046204, 0.7889527678489685, 0.5428935885429382, 0.37261706590652466, -0.02271765097975731, -0.4047721028327942, 0.10178981721401215, -0.8732573986053467, -0.2016950398683548, -0.02125810831785202, -0.703065812587738, -0.07689525187015533, -0.6970540881156921, -0.8108846545219421, -0.07091689109802246, -0.25140637159347534, -0.46513959765434265, -0.4983038902282715, -0.5956587195396423, -0.231906920671463, 0.18381507694721222, 1.0527734756469727, -0.2565664052963257, 0.4080483317375183, -0.9216263294219971, -0.02141544595360756, 0.10952108353376389, 0.4580760598182678, 0.11819341778755188, -0.6020886898040771, -0.5664122104644775, -0.11532711982727051, -0.4486626088619232, -0.655025839805603, 0.1588059365749359, 0.5551398396492004, 0.6924469470977783, 0.7158921957015991, -0.1107364371418953, 0.3659137189388275, -0.7513506412506104, 0.5129777193069458, 0.2961142659187317, -0.2898217737674713, 0.3965041935443878, -0.5826930403709412, 0.14745187759399414, 0.5439234375953674, 0.5886203050613403, -0.5157257318496704, -0.11816469579935074, -0.7532789707183838, -1.1403427124023438, 0.5189211368560791, -0.13103072345256805, 0.07039332389831543, -0.22406207025051117, 0.9795612692832947, -0.25493448972702026, 0.3627043664455414, -0.2596266567707062, -0.053710706532001495, -0.7320765256881714, -0.1494339406490326, 0.03708292543888092, -0.6844751238822937, -0.646970272064209, -0.025893323123455048, 0.5068697929382324, 0.010273534804582596, 0.2833493947982788, 0.40983515977859497, -0.0038841781206429005, -0.184599831700325, -0.25202062726020813, 0.8176921010017395, 0.4989950954914093, -0.11063888669013977, 0.19965484738349915, 0.03235064819455147, -0.6258742213249207, 0.16913765668869019, -0.17977146804332733, -0.13164670765399933, -0.44776302576065063, 0.888339638710022, 0.8090951442718506, 0.6621054410934448, -0.05106206610798836, 0.2063625007867813, -0.11042385548353195, -0.6977373957633972, -0.6104726791381836, 0.4767552614212036, 0.03224834427237511, 0.5926015973091125, 0.32068338990211487, 0.3464649021625519, 0.012349884025752544, -0.6631386280059814, 0.5886590480804443, 0.37991979718208313, -0.34121257066726685, -0.33434373140335083, 0.7687174677848816, 0.18934111297130585, -0.8740784525871277, 1.0621232986450195, 0.025034137070178986, -0.5586655139923096, 0.6699367165565491, 0.767853856086731, 0.8444299697875977, 0.03527582809329033, -0.20098240673542023, 0.4233359098434448, 0.246998131275177, -0.17936831712722778, 0.44015759229660034, -0.25236645340919495, -0.8328983783721924, -0.029858039692044258, -0.6206001043319702, -0.20150896906852722, -0.16663748025894165, -0.8384362459182739, -0.3280320167541504, -1.0741982460021973, -0.1877335160970688, -0.2815380096435547, 0.0035640422720462084, -0.14342698454856873, 0.07734978199005127, -0.252651572227478, 1.1280596256256104, -0.8528119921684265, 1.1996407508850098, 0.2897949814796448, -0.5207890868186951, -0.5735980868339539, -0.13280217349529266, 0.03899287432432175, -0.9555655717849731, 0.7287676930427551, -0.09915295988321304, -0.11058097332715988, 0.29982006549835205, -0.4667256772518158, -0.929732620716095, 1.305440068244934, 0.12710896134376526, -0.6304739713668823, 0.07336875796318054, 0.10663941502571106, 0.5848076343536377, -0.13350054621696472, -0.005114668980240822, 0.5806455016136169, 0.1588698923587799, 0.3385653793811798, -0.5980724096298218, -0.15162114799022675, -0.5104453563690186, -0.15232057869434357, 0.3772594630718231, -0.6964735388755798, 0.6991430521011353, -0.13031333684921265, 0.10300521552562714, 0.2390640527009964, 0.553521454334259, 0.038364164531230927, 0.34971189498901367, 0.4283618628978729, 0.7704141139984131, 0.7605080604553223, -0.18692712485790253, 0.7433531284332275, -0.5179153084754944, 0.07143806666135788, 1.2504477500915527, 0.0852552130818367, 0.7988388538360596, 0.6784112453460693, -0.033522386103868484, 0.6067996621131897, 0.8169200420379639, 0.2238505482673645, 0.6495918035507202, 0.2923303246498108, -0.38804879784584045, -0.2747126519680023, 0.0022892355918884277, -0.4692550301551819, 0.08102786540985107, 0.42607975006103516, -0.543462872505188, -0.1697121113538742, 0.11520646512508392, -0.11978713423013687, -0.018781600520014763, -0.3705075681209564, 1.0578789710998535, 0.4156016409397125, -0.59620201587677, 0.6199418306350708, -0.4580642282962799, 0.408160924911499, -0.6215066909790039, -0.013148186728358269, -0.3330555856227875, 0.2439349740743637, -0.3988506495952606, -0.5896416902542114, 0.6628949642181396, -0.7305735349655151, -0.5833539366722107, -0.2735807001590729, 0.5789836049079895, -0.5209639072418213, -0.034718435257673264, 0.4078056216239929, 0.018224680796265602, 0.0986851155757904, 0.265952467918396, -0.5368439555168152, -0.05906232073903084, -0.19516471028327942, -0.5727114081382751, 0.5188944339752197, 0.4054967164993286, -0.034257594496011734, 0.7602015733718872, 0.584571361541748, 0.004812735598534346, 0.24358254671096802, 0.11060680449008942, 1.0033048391342163, -0.4242085814476013, -0.29480841755867004, -0.7110916972160339, 0.3926153779029846, -0.09353556483983994, -0.28249692916870117, 0.5835118293762207, 0.3827374279499054, 0.7126109600067139, 0.19628793001174927, 0.4097056984901428, 0.40739476680755615, 0.08543774485588074, -0.7000162601470947, 0.8424860239028931, -0.5148676037788391, 0.286569207906723, 0.19943751394748688, -0.5548185110092163, -0.14603886008262634, 0.4199121594429016, -0.3427838087081909, -0.14260299503803253, 0.6417145729064941, 0.5681546330451965, 0.10036470741033554, 0.282976359128952, 0.20366567373275757, 0.4790819585323334, 0.3043792247772217, 0.5251962542533875, 0.8391963243484497, -0.30088531970977783, 0.3642471730709076, 0.22859975695610046, -0.2990531623363495, -0.07080698013305664, -0.7086033225059509, -0.5500591397285461, -0.6546568274497986, -0.08832576870918274, -0.6516542434692383, 0.3767735958099365, 0.7092431783676147, 0.5433960556983948, -0.5510118007659912, 0.01602340117096901, -0.5869320034980774, 0.06843958795070648, 0.11566620320081711, -0.1247527226805687, 0.10077832639217377, -0.6724382042884827, -0.31831276416778564, 0.6814207434654236, 0.2974015474319458, 0.235482856631279, -0.24217253923416138, -0.12694311141967773, -0.3480633795261383, 0.23183110356330872, 0.27204662561416626, 0.7818995714187622, 0.07570195943117142, -0.2598295509815216, -0.4129965007305145, -0.03758454695343971, 0.14226071536540985, 1.1176308393478394, -0.7642114162445068, 0.30997273325920105, 0.5300169587135315, 0.5936237573623657, 0.63869309425354, -0.043867114931344986, 0.636078953742981, -0.7479092478752136, 0.32896989583969116, 0.060470301657915115, 0.6182537078857422, -0.0028665922582149506, -0.46155261993408203, 0.5053889751434326, 0.6277720928192139, -0.8356354236602783, -0.8520028591156006, 0.3451136350631714, -0.5494116544723511, -0.4068686068058014, 0.8283846378326416, -0.5811933875083923, -0.05387534573674202, -0.419478178024292, 0.1584058552980423, 0.39326798915863037, 0.2080545276403427, 1.3466010093688965, 0.5825422406196594, -0.45252710580825806, 0.029903480783104897, -0.2640017867088318, 0.7030413746833801, 0.41303128004074097, -0.4971243143081665, -0.20749431848526, 0.33354073762893677, 0.4926620125770569, 0.2118431031703949, 0.9257868528366089, 0.031341176480054855, 0.1561458855867386, 0.437636137008667, -0.354256272315979, -0.5551803112030029, -0.7908539175987244, -0.2512166202068329, 0.17796450853347778, 0.12175880372524261, -0.3273726999759674 ]
http://arxiv.org/abs/2403.09611v4
http://arxiv.org/pdf/2403.09611v4
MM1: Methods, Analysis & Insights from Multimodal LLM Pre-training
2024-03-14T17:51:32
2024-04-18T18:51:04
Brandon McKinzie, Zhe Gan, Jean-Philippe Fauconnier, Sam Dodge, Bowen Zhang, Philipp Dufter, Dhruti Shah, Xianzhi Du, Futang Peng, Floris Weers, Anton Belyi, Haotian Zhang, Karanjeet Singh, Doug Kang, Ankur Jain, Hongyu Hè, Max Schwarzer, Tom Gunter, Xiang Kong, Aonan Zhang, Jianyu Wang, Chong Wang, Nan Du, Tao Lei, Sam Wiseman, Guoli Yin, Mark Lee, Zirui Wang, Ruoming Pang, Peter Grasch, Alexander Toshev, Yinfei Yang
cs.CV
cs.CV, cs.CL, cs.LG
In this work, we discuss building performant Multimodal Large Language Models (MLLMs). In particular, we study the importance of various architecture components and data choices. Through careful and comprehensive ablations of the image encoder, the vision language connector, and various pre-training data choices, we identified several crucial design lessons. For example, we demonstrate that for large-scale multimodal pre-training using a careful mix of image-caption, interleaved image-text, and text-only data is crucial for achieving state-of-the-art (SOTA) few-shot results across multiple benchmarks, compared to other published pre-training results. Further, we show that the image encoder together with image resolution and the image token count has substantial impact, while the vision-language connector design is of comparatively negligible importance. By scaling up the presented recipe, we build MM1, a family of multimodal models up to 30B parameters, including both dense models and mixture-of-experts (MoE) variants, that are SOTA in pre-training metrics and achieve competitive performance after supervised fine-tuning on a range of established multimodal benchmarks. Thanks to large-scale pre-training, MM1 enjoys appealing properties such as enhanced in-context learning, and multi-image reasoning, enabling few-shot chain-of-thought prompting.
[ -0.6868667602539062, -0.6142715811729431, 0.3723277449607849, 0.06633350253105164, -0.30907726287841797, -0.1441996991634369, -0.08203640580177307, -0.372931569814682, -0.009943364188075066, 0.4834415316581726, -0.7948049306869507, -0.19274793565273285, -0.780022382736206, -0.0005796621553599834, -0.16963808238506317, 0.7726142406463623, 0.007691478356719017, 0.23180820047855377, -0.35495755076408386, -0.26791948080062866, -0.18836531043052673, -0.5921412706375122, -0.5621784329414368, 0.041786111891269684, 0.8492485284805298, 0.48847880959510803, 0.5149998664855957, 0.5111992359161377, 0.6757403016090393, 0.2943038046360016, 0.12851588428020477, 0.4076799154281616, -0.626604437828064, -0.2545073926448822, 0.18823553621768951, -0.49153637886047363, -0.7219787240028381, 0.18388976156711578, 0.7146965861320496, 0.5219913125038147, 0.06349632889032364, 0.3681504726409912, 0.1288565695285797, 0.6602979302406311, -0.5943785905838013, 0.21504417061805725, -0.7000940442085266, 0.07937279343605042, -0.5109126567840576, -0.30037906765937805, -0.5652155876159668, 0.25268495082855225, 0.05302341282367706, -0.47313931584358215, -0.2235720455646515, 0.23069733381271362, 0.6005120277404785, 0.48350831866264343, -0.6373614072799683, -0.27965888381004333, -0.5134015083312988, 0.8464147448539734, -0.6560648083686829, 0.5266307592391968, 0.34177786111831665, 0.4375256597995758, 0.005274005699902773, -0.6203966736793518, -0.6156989336013794, -0.09591223299503326, -0.10254864394664764, 0.13267873227596283, 0.028093505650758743, 0.1428547352552414, 0.2769539952278137, 0.12315856665372849, -0.7332221865653992, 0.3776979446411133, -0.49807095527648926, -0.0451868511736393, 0.4304434061050415, 0.28815552592277527, -0.09340392053127289, 0.12335006892681122, -0.4897516369819641, 0.031068148091435432, -0.9989759922027588, -0.04007728025317192, 0.3583385646343231, 0.1236865296959877, -0.2557462751865387, 0.7335965037345886, 0.009157971478998661, 0.7893057465553284, -0.16621536016464233, -0.544174313545227, 0.20833253860473633, -0.6329569220542908, -0.11143290251493454, -0.2780030071735382, 0.7699494957923889, 0.3368520140647888, 0.45826151967048645, 0.07060637325048447, -0.18843990564346313, 0.05263764038681984, 0.2868190407752991, -1.0025808811187744, -0.05994516238570213, 0.15535861253738403, -0.584879994392395, -0.07792439311742783, -0.10014647245407104, -0.5718347430229187, -0.19057190418243408, -0.6194990277290344, 0.5510733723640442, -0.30065467953681946, -0.32883214950561523, 0.08774207532405853, 0.125362366437912, 0.3233611583709717, 0.3152669072151184, -1.0329746007919312, -0.05197746679186821, 0.4280058741569519, 0.5548605918884277, -0.11459552496671677, -0.5061328411102295, -0.32137584686279297, 0.046661995351314545, -0.3826328217983246, 0.6684818267822266, -0.5174872875213623, -0.16792313754558563, 0.005663069896399975, -0.1308688521385193, -0.05780448019504547, -0.5438708066940308, 0.07896995544433594, -0.4634270966053009, 0.16954976320266724, -0.07078830152750015, -0.3697635233402252, -0.13761533796787262, 0.4980839192867279, -0.6308436393737793, 0.6370481848716736, 0.01931886002421379, -0.8839601874351501, 0.5597362518310547, -0.8346977829933167, -0.37243354320526123, -0.21657326817512512, -0.3002513647079468, -0.1729542464017868, 0.1413879692554474, 0.2747212052345276, 0.7820670008659363, -0.10784570127725601, -0.09646894037723541, -0.2990298271179199, -0.15487518906593323, 0.23796948790550232, -0.5878347158432007, 0.43864861130714417, 0.3529006242752075, 0.0904221385717392, 0.12482970207929611, -0.9347974061965942, -0.18670591711997986, 0.07410234957933426, -0.46144574880599976, 0.11672569811344147, 0.015335479751229286, 0.17125169932842255, 0.4536835253238678, 0.2830333113670349, -0.36800244450569153, 0.0998459979891777, -0.12494122236967087, 0.27647122740745544, 0.803218424320221, -0.3962829113006592, 0.5343859195709229, -0.18017257750034332, 0.5474012494087219, 0.44499579071998596, 0.5082932114601135, -0.7983694672584534, -0.37542086839675903, -0.8042296767234802, -0.5692633390426636, 0.13852159678936005, 0.46912017464637756, -1.1796563863754272, -0.12007122486829758, -0.265505313873291, -0.38610273599624634, -0.6938971281051636, 0.5009419918060303, 0.49278730154037476, 0.3887495994567871, 0.230715811252594, -0.29945966601371765, -0.7149694561958313, -1.0575820207595825, 0.24243681132793427, -0.07349621504545212, 0.1697494387626648, 0.2855866253376007, 0.43941858410835266, -0.4323331117630005, 0.9683586359024048, -0.4227881133556366, -0.18876832723617554, -0.4140965938568115, -0.00618233485147357, 0.13857309520244598, 0.41394999623298645, 0.698939859867096, -0.754002571105957, -0.3142162561416626, -0.048228953033685684, -0.8896417021751404, 0.21532122790813446, -0.06564225256443024, 0.04326469823718071, 0.19251905381679535, 0.5223897099494934, -0.7089513540267944, 0.14397943019866943, 0.7478969097137451, -0.0891261026263237, 0.6878647804260254, -0.2719888985157013, 0.08393564820289612, -1.0872687101364136, -0.0951063483953476, 0.04321873188018799, -0.12903648614883423, -0.7044062614440918, 0.23912736773490906, 0.005308175925165415, 0.021769078448414803, -0.9529756903648376, 0.7288053631782532, -0.4244425892829895, -0.004651237744837999, -0.20847736299037933, -0.2518307566642761, -0.09878703951835632, 0.5425005555152893, -0.14233312010765076, 0.8043111562728882, 0.6734281182289124, -0.6527156829833984, 0.1343735307455063, 0.10044244676828384, -0.5870383977890015, 0.43105337023735046, -0.44765570759773254, 0.17957673966884613, -0.39774489402770996, 0.030853265896439552, -1.138999104499817, -0.12256504595279694, 0.028896210715174675, -0.3799940049648285, 0.5674642324447632, -0.13884592056274414, -0.9385234117507935, -0.28700873255729675, -0.15938249230384827, 0.49699658155441284, 0.25849297642707825, -0.43884316086769104, 0.7527196407318115, 0.4125320315361023, -0.17539656162261963, -0.49621304869651794, -0.7372058629989624, 0.026925457641482353, -0.24895581603050232, -0.7485945820808411, -0.07270175218582153, -0.2760104835033417, -0.13123531639575958, -0.3923189043998718, 0.2670910954475403, -0.16317424178123474, 0.15958212316036224, 0.2932727038860321, 0.43233707547187805, -0.41549837589263916, 0.0461263470351696, -0.16500650346279144, -0.4103374183177948, -0.13466207683086395, 0.02279038168489933, 0.6170399785041809, -0.15832896530628204, -0.4532673954963684, -0.35947945713996887, 0.27665072679519653, 0.7592881321907043, -0.3999975919723511, 0.8161534667015076, 0.9195975661277771, -0.07067302614450455, 0.22580330073833466, -0.7119779586791992, -0.15528249740600586, -0.48425471782684326, 0.5516229271888733, -0.607934832572937, -1.0216933488845825, 0.20782232284545898, -0.04146460071206093, 0.26708081364631653, 0.06530696898698807, 0.783671498298645, -0.5680299997329712, 1.0260930061340332, 0.7617150545120239, 0.009782602079212666, 0.6763376593589783, -0.24306656420230865, -0.07786067575216293, -0.6199336647987366, -0.1751643866300583, -0.04752924665808678, -0.36588913202285767, -0.4519580006599426, -0.706226646900177, 0.3981759250164032, -0.058690521866083145, -0.1942460834980011, 0.1493486613035202, 0.17507125437259674, 0.4920867383480072, 0.44176873564720154, 0.042658671736717224, 0.054967448115348816, 0.1579742729663849, -0.1993781179189682, -0.14702923595905304, -0.8409761786460876, -0.5781077146530151, 1.3581006526947021, 0.54248046875, 1.0387729406356812, 0.11543320119380951, 0.4429958462715149, -0.17173980176448822, 0.2841311991214752, -0.6906622648239136, 0.6377245783805847, -0.4764625132083893, -0.7472062706947327, -0.08647174388170242, -0.24521860480308533, -0.8212229013442993, 0.5228129029273987, -0.5419594645500183, -0.199198916554451, -0.2210979461669922, 0.30128610134124756, -0.3055048882961273, 0.12561170756816864, -0.866654634475708, 0.9284554719924927, -0.4417867362499237, -0.32112759351730347, -0.29926106333732605, -0.7778304219245911, 0.4413943588733673, -0.2274063378572464, 0.3339141309261322, 0.12308823317289352, -0.06378740817308426, 0.4347775876522064, 0.13537810742855072, 0.8141508102416992, -0.14015613496303558, -0.08043859153985977, 0.24476687610149384, -0.05168319493532181, 0.2418353110551834, -0.25796037912368774, 0.2121860384941101, 0.20961305499076843, -0.06682276725769043, -0.40440383553504944, -0.46130985021591187, 0.1912544071674347, -0.6345002055168152, -0.45572999119758606, 0.18114252388477325, -0.5773501992225647, -0.24972867965698242, 0.09992251545190811, 0.1976582407951355, 0.8847792148590088, 0.010049600154161453, 0.522874653339386, 0.7352741360664368, -0.19236136972904205, 0.5438722372055054, 0.46267515420913696, -0.5029791593551636, -0.34466248750686646, 0.7993950843811035, 0.2921125888824463, 0.4571382999420166, 0.5271968245506287, -0.09234987944364548, -0.2530721127986908, -0.5665372610092163, -0.5542961955070496, 0.15119467675685883, -0.8885074257850647, 0.19057060778141022, -0.665641188621521, -0.13788732886314392, -0.2292371541261673, -0.04377299174666405, -0.6376922130584717, -0.18416625261306763, -0.3639937937259674, -0.07666625082492828, -0.14966601133346558, 0.6641802191734314, 0.15619362890720367, 0.5709355473518372, -0.9102506637573242, 0.26301464438438416, 0.42942488193511963, 0.16041503846645355, 0.017531106248497963, -0.46452054381370544, -0.5042091012001038, -0.11814650148153305, -0.23408137261867523, -0.38911083340644836, 0.17354410886764526, 0.24598443508148193, 0.8623476624488831, 0.8038077354431152, -0.6197249293327332, 0.825485110282898, -0.8412325978279114, 0.720659077167511, 0.4472692310810089, -0.3633916974067688, 0.5030837059020996, -0.23281672596931458, 0.4866594672203064, 0.48675116896629333, 0.5590362548828125, -0.10634984821081161, -0.10511524975299835, -0.20157457888126373, -0.5175940990447998, 0.4749985635280609, 0.06841349601745605, 0.23659870028495789, 0.022652996703982353, 0.08225048333406448, 0.3296487629413605, 0.257828950881958, -0.8438834547996521, -0.3688448667526245, -0.24523548781871796, -0.32596543431282043, -0.4179365336894989, -0.5132635831832886, -0.1363137662410736, -0.3656354546546936, 0.246933251619339, -0.29601603746414185, 0.13544920086860657, -0.29851675033569336, -0.4515882134437561, 0.30500251054763794, 0.22565527260303497, 0.9921092987060547, 0.8867615461349487, -0.09018976241350174, 0.3077581226825714, 0.03186584264039993, -0.35923880338668823, 0.13643895089626312, -0.18206541240215302, 0.287665992975235, -0.1466684639453888, 0.5163405537605286, 0.9915511608123779, 0.35368916392326355, -0.7725600004196167, 0.5221061706542969, 0.04524261876940727, -0.33880504965782166, -0.034489259123802185, -0.165879026055336, 0.05558669567108154, 0.42153871059417725, 0.35742512345314026, 0.08249843865633011, -0.10846614837646484, -0.6319726705551147, 0.21681496500968933, 0.6002689003944397, -0.2877321243286133, -0.573467493057251, 0.4479694962501526, 0.1595674604177475, 0.1300194263458252, 0.4332910478115082, -0.18392245471477509, -0.36252355575561523, 0.3617987334728241, 0.4310652017593384, 0.4652608036994934, -0.007516880985349417, 0.0029289955273270607, 0.2610822916030884, 0.6612265706062317, 0.07398956269025803, 0.2215692102909088, -0.08844861388206482, -0.7929757833480835, -0.624871015548706, -0.6501639485359192, -0.2083718478679657, -0.15258432924747467, -0.27594220638275146, 0.2934302091598511, -0.40017521381378174, -0.20896556973457336, -0.10604411363601685, -0.2396160513162613, -0.9370931386947632, 0.29448574781417847, 0.5056800246238708, 0.8348433971405029, -0.6065869331359863, 0.9825255274772644, 0.7637534141540527, -0.3609105348587036, -0.607483446598053, -0.47741925716400146, 0.22586305439472198, -0.927849531173706, 1.024962067604065, 0.3193172216415405, -0.028841836377978325, 0.10854019969701767, -0.6271027326583862, -0.8548071980476379, 1.1662964820861816, 0.3886575698852539, -0.5702744722366333, 0.02474847435951233, 0.25982925295829773, 0.2927289605140686, -0.6589008569717407, 0.38596606254577637, 0.29453083872795105, 0.24907545745372772, 0.4220966398715973, -1.0408443212509155, -0.3778040111064911, -0.05816318467259407, -0.07436530292034149, 0.08308310061693192, -0.5506907105445862, 1.040572166442871, -0.2919672429561615, -0.15165944397449493, -0.013434302061796188, 0.46442171931266785, 0.38684338331222534, 0.2862248718738556, 0.48095494508743286, 0.6381248235702515, 0.26042336225509644, 0.08777293562889099, 1.0722236633300781, -0.2645001709461212, 0.03932052478194237, 1.1235055923461914, -0.15194366872310638, 1.1411247253417969, 0.758488118648529, -0.28860801458358765, 0.16852790117263794, 0.5742413401603699, 0.15397459268569946, 0.6634420156478882, -0.07563332468271255, -0.09567023068666458, -0.3749046325683594, 0.10166279971599579, -0.39245015382766724, 0.7956767678260803, 0.33964765071868896, -0.4026789665222168, -0.22166556119918823, 0.33067208528518677, -0.1343805491924286, -0.4386902451515198, -0.4270086884498596, 0.8142387866973877, 0.16425466537475586, -0.38130518794059753, 0.3081251382827759, -0.3373689353466034, 1.0316264629364014, -0.7485206723213196, 0.16697309911251068, -0.15368513762950897, 0.19859406352043152, -0.12492100894451141, -0.7420496940612793, 0.1575031876564026, -0.15495535731315613, -0.27037036418914795, -0.5033094882965088, 0.6882210969924927, -0.4594184458255768, -0.5760628581047058, 0.09922181069850922, 0.7052456140518188, 0.24728834629058838, -0.13164392113685608, -0.5634119510650635, 0.14540766179561615, -0.2970457077026367, -0.30044642090797424, 0.5602971315383911, 0.34292346239089966, 0.29844754934310913, 0.8302440643310547, 0.7553579807281494, -0.08189257979393005, 0.4410930871963501, 0.18895885348320007, 0.9464307427406311, -0.4520069360733032, -0.17055313289165497, -1.0434473752975464, 0.8891200423240662, 0.21233947575092316, -0.18335828185081482, 0.6785134673118591, 0.6086025238037109, 0.7945659160614014, -0.30756518244743347, 0.3423226475715637, 0.23412464559078217, 0.05718524754047394, -0.9282881617546082, 0.7159881591796875, -0.8356469869613647, 0.016636790707707405, -0.09110280871391296, -0.9570337533950806, -0.2969481945037842, 0.5269564390182495, -0.060161326080560684, -0.02960563264787197, 0.5707863569259644, 1.0100371837615967, 0.061827924102544785, -0.3049483001232147, 0.7246271371841431, 0.08488409221172333, 0.3614177405834198, 0.39305561780929565, 1.0441322326660156, -0.3543582260608673, 0.5667733550071716, 0.05597652122378349, -0.11351072788238525, -0.16594839096069336, -0.8431821465492249, -0.9744948148727417, -0.5251219868659973, -0.12947320938110352, 0.08917135000228882, -0.38813599944114685, 0.9696210622787476, 1.048822283744812, -0.40952542424201965, -0.21394526958465576, 0.4601839780807495, -0.1710892617702484, 0.19486013054847717, -0.12787795066833496, -0.18478980660438538, -0.38117897510528564, -0.4981117844581604, 0.3548875153064728, 0.678061306476593, 0.2723195552825928, -0.6695506572723389, -0.33020955324172974, -0.32623207569122314, 0.008596169762313366, 1.255019187927246, -0.11284767836332321, -0.8931401371955872, -0.0194579865783453, -0.06287316232919693, -0.20550335943698883, 0.1506836861371994, 0.686398983001709, -0.5762811899185181, 0.6877179741859436, 0.24427279829978943, 0.6866562962532043, 0.5565914511680603, -0.25879237055778503, 0.296508252620697, -0.8697789907455444, 0.5001845955848694, -0.05735892802476883, 0.5736960768699646, 0.26980525255203247, 0.22947755455970764, 0.5252811312675476, 0.01780504733324051, -0.34792640805244446, -0.7823415398597717, 0.23271837830543518, -1.0949058532714844, -0.1950773447751999, 1.1422353982925415, -0.21139350533485413, -0.08655039966106415, 0.01514646876603365, -0.3784623444080353, -0.13123370707035065, 0.22309258580207825, 0.2996377944946289, 1.0230904817581177, 0.09099505841732025, -0.7617970108985901, -0.7925971150398254, 0.16469746828079224, 0.2250608652830124, -0.8805386424064636, -0.4492781460285187, 0.47125521302223206, 0.1256505250930786, 0.17973144352436066, 0.8182128071784973, -0.2016371637582779, 0.0668216124176979, 0.22431039810180664, -0.03304346650838852, -0.26128190755844116, -0.660762369632721, -0.14524853229522705, 0.2246970683336258, 0.18095533549785614, -0.2391071617603302 ]
http://arxiv.org/abs/2403.09606v1
http://arxiv.org/pdf/2403.09606v1
Large Language Models and Causal Inference in Collaboration: A Comprehensive Survey
2024-03-14T17:47:20
2024-03-14T17:47:20
Xiaoyu Liu, Paiheng Xu, Junda Wu, Jiaxin Yuan, Yifan Yang, Yuhang Zhou, Fuxiao Liu, Tianrui Guan, Haoliang Wang, Tong Yu, Julian McAuley, Wei Ai, Furong Huang
cs.CL
cs.CL, cs.AI
Causal inference has shown potential in enhancing the predictive accuracy, fairness, robustness, and explainability of Natural Language Processing (NLP) models by capturing causal relationships among variables. The emergence of generative Large Language Models (LLMs) has significantly impacted various NLP domains, particularly through their advanced reasoning capabilities. This survey focuses on evaluating and improving LLMs from a causal view in the following areas: understanding and improving the LLMs' reasoning capacity, addressing fairness and safety issues in LLMs, complementing LLMs with explanations, and handling multimodality. Meanwhile, LLMs' strong reasoning capacities can in turn contribute to the field of causal inference by aiding causal relationship discovery and causal effect estimations. This review explores the interplay between causal inference frameworks and LLMs from both perspectives, emphasizing their collective potential to further the development of more advanced and equitable artificial intelligence systems.
[ -0.30057215690612793, -0.934227705001831, 1.0305875539779663, 0.3643202781677246, 0.2693365216255188, -0.20435790717601776, -0.3101331889629364, -0.7774032354354858, 0.008496994152665138, 0.5762304663658142, -0.36968550086021423, -0.25985804200172424, -0.6709745526313782, 0.1806078404188156, -0.4315638542175293, 0.5110948085784912, 0.14515244960784912, 0.3348243534564972, -0.647936999797821, -0.06285474449396133, -0.5815316438674927, -0.6413464546203613, -0.8466501832008362, -0.6311874985694885, 0.810096800327301, 0.021022336557507515, 0.7665769457817078, 0.34983542561531067, 0.5845211744308472, 0.4648069739341736, -0.10231062024831772, -0.003360387869179249, -0.21038252115249634, 0.3146726191043854, -0.3764970600605011, -0.555946409702301, -0.4072004556655884, -0.1044134721159935, 0.6975917816162109, 1.30155611038208, -0.11238443106412888, -0.1423279047012329, -0.0035051454324275255, 0.5115480422973633, -0.6043599843978882, 0.25544315576553345, -0.4149985611438751, 0.008923245593905449, 0.009560839273035526, -0.10665782541036606, -0.5752373337745667, -0.252927303314209, 0.14834493398666382, -0.39703282713890076, 0.12074709683656693, 0.24384737014770508, 0.35032716393470764, 0.407267302274704, -0.5827526450157166, -0.17802299559116364, -1.0282171964645386, 1.0592379570007324, -0.8637542128562927, 0.5426669716835022, 0.3841659426689148, 0.14949193596839905, -0.6586419939994812, -0.9456374049186707, -0.6510938405990601, -0.32926324009895325, -0.02180674858391285, 0.11391559988260269, -0.10468097776174545, 0.37540262937545776, 0.3068981468677521, 0.14982575178146362, -0.2663786709308624, 0.657200038433075, -0.05268215015530586, -0.020290745422244072, 0.8503842949867249, 0.3134448826313019, 0.3476184904575348, -0.05340428277850151, -0.13535714149475098, 0.28305894136428833, -0.8720105886459351, -0.41698354482650757, 0.23115457594394684, 0.08279512077569962, -0.1627236306667328, 0.4813412129878998, -0.04977748915553093, 0.9263743162155151, -0.3520817756652832, -0.06598798930644989, -0.158225879073143, -0.4291849732398987, -0.5763349533081055, -0.1443677842617035, 0.8374449610710144, 0.20779357850551605, 0.017589068040251732, -0.3882918953895569, 0.19025975465774536, 0.14431260526180267, 0.04649361968040466, -0.3099527060985565, 0.10779392719268799, 0.27370238304138184, -0.5352413654327393, 0.024877754971385002, 0.14254501461982727, -0.6554109454154968, -0.6271882057189941, -0.7804462909698486, 0.13680465519428253, 0.049639757722616196, -0.18764157593250275, 0.24991057813167572, -0.08494521677494049, 0.26329851150512695, 0.5775055885314941, -0.8687434792518616, 0.13996627926826477, 1.0024399757385254, 0.5676866769790649, -0.09765532612800598, -0.4628758430480957, -0.40863344073295593, 0.506620466709137, -0.3084198534488678, 0.7175145745277405, -0.3734899163246155, -0.2095242738723755, 0.22449541091918945, -0.02328072302043438, -0.1840897649526596, -0.3685600161552429, 0.6131295561790466, -0.7129161953926086, 0.31838148832321167, -0.304146409034729, -0.7546603679656982, -0.3070797622203827, 0.09263540804386139, -0.7861075401306152, 0.42821839451789856, -0.3730926513671875, -0.8306472897529602, 0.4433838427066803, -0.5993708968162537, -0.6136783361434937, 0.04511171951889992, -0.4284052848815918, -0.32206615805625916, 0.08976832032203674, 0.08709415048360825, 0.6354634761810303, -0.9353436231613159, 1.0955700874328613, -0.6455528140068054, -0.07337987422943115, 0.30986547470092773, -0.6171661615371704, 0.9496802687644958, 0.0012050046352669597, -0.3279314339160919, 0.5218871831893921, -0.5154533982276917, -0.3457375764846802, 0.05848491191864014, -0.16986840963363647, -0.3073798418045044, 0.5269278287887573, -0.11736872047185898, 0.23257076740264893, 0.09006807208061218, -0.12764230370521545, -0.11372624337673187, -0.22653789818286896, 0.3109510838985443, 0.829281747341156, 0.01339730154722929, 0.4706226587295532, -0.17521508038043976, 0.2998029589653015, -0.2396724373102188, 0.2728382647037506, 0.08017829805612564, -0.5912184119224548, -0.7388302683830261, -0.16691841185092926, -0.09569322317838669, 0.356717050075531, -0.747013509273529, 0.6492253541946411, -0.006878531537950039, -0.13170813024044037, 0.049747977405786514, 0.08198057115077972, 0.32852262258529663, 0.4181644022464752, 0.13589522242546082, 0.012050912715494633, -0.5528240203857422, -0.7855916023254395, -0.379486083984375, -0.3850284814834595, -0.11792071908712387, 0.25442782044410706, 0.46653178334236145, -0.19956272840499878, 0.8993980884552002, -0.379696786403656, 0.08538930118083954, -0.37110039591789246, 0.061071377247571945, 0.22629134356975555, 0.34204357862472534, 0.46705007553100586, -0.9658416509628296, -0.11037110537290573, -0.34654682874679565, -1.1104397773742676, -0.23755590617656708, -0.09121657907962799, -0.1929340362548828, 0.04242595657706261, 1.0085642337799072, -0.572537899017334, 0.066642165184021, 0.6157469749450684, -0.5175526738166809, 0.607399046421051, -0.1801305115222931, 0.23580975830554962, -0.9439056515693665, -0.08394499868154526, 0.09223303943872452, 0.05532704293727875, -0.6929406523704529, 0.05517483130097389, -0.4132552146911621, 0.29524436593055725, -0.24715788662433624, 0.5002251267433167, -0.5112777948379517, -0.3395252823829651, -0.15739938616752625, 0.20116056501865387, -0.03579249605536461, 0.05697822943329811, 0.017975063994526863, 0.48454850912094116, 0.5322208404541016, -0.60100257396698, 0.4978225529193878, 0.17804233729839325, -0.31533023715019226, 0.6259812712669373, -0.7251148223876953, -0.23277853429317474, -0.24726350605487823, 0.3882952034473419, -0.7780982851982117, -0.5749765038490295, -0.07208434492349625, -0.2026757150888443, 0.16313372552394867, 0.138729989528656, -0.8676039576530457, -0.40911951661109924, -0.03377246484160423, 0.4086278975009918, 0.1368657499551773, -0.6192190647125244, 0.5200000405311584, 0.5174007415771484, -0.06999015063047409, -0.4502539038658142, -0.668009340763092, 0.3682878315448761, -0.3713361322879791, -0.8086664080619812, 0.11305217444896698, 0.03370007127523422, -0.857940673828125, -0.11385238915681839, 0.3607458472251892, -0.11681769043207169, 0.35218024253845215, 0.2754799425601959, 0.26945212483406067, -0.18275852501392365, 0.3911432921886444, -0.055645328015089035, -0.10927009582519531, 0.4439801871776581, -0.09617245942354202, 0.524120032787323, 0.07496721297502518, -0.635823667049408, -0.2810661196708679, 0.46127429604530334, 0.6026754975318909, -0.1577998846769333, 1.1241705417633057, 0.3234294056892395, -0.4213593602180481, 0.06899043917655945, -0.7119585871696472, -0.1887287050485611, -0.35834801197052, 0.30673933029174805, 0.14321748912334442, -1.2530845403671265, 0.48460957407951355, -0.21836958825588226, -0.10894984751939774, 0.5583726763725281, 0.6398879289627075, 0.19625422358512878, 1.044805645942688, 0.6770385503768921, -0.34397459030151367, 0.4003521203994751, 0.08336301892995834, 0.3604361414909363, -0.7837336659431458, -0.47915035486221313, -0.7093650698661804, 0.1409861296415329, -0.6916576027870178, -0.46920785307884216, 0.39380398392677307, 0.24007175862789154, -0.5628713369369507, -0.16055314242839813, 0.0497911237180233, 0.22962312400341034, 0.5774872899055481, -0.0398700051009655, 0.5403899550437927, -0.1791776716709137, 0.13984277844429016, 0.10227024555206299, -0.7179853320121765, -0.39642542600631714, 0.7364904880523682, 0.3149399161338806, 0.7793750762939453, 0.40456920862197876, 0.3345513343811035, 0.13192172348499298, 0.38421040773391724, -0.5201037526130676, 0.5581901669502258, 0.027757475152611732, -0.6588508486747742, -0.3659580945968628, -0.4570934772491455, -0.9397698044776917, 0.28540197014808655, -0.3898998498916626, -0.849323570728302, -0.015341302379965782, -0.055269043892621994, -0.03925560787320137, 0.30826857686042786, -0.699445903301239, 0.7659170627593994, -0.21836735308170319, -0.7350817918777466, -0.6156005263328552, -0.7234039306640625, 0.8488109111785889, -0.09490973502397537, 0.3716188371181488, -0.1321149468421936, 0.07629526406526566, 0.6725732088088989, -0.30400949716567993, 1.129124402999878, 0.06217561662197113, -0.304852694272995, 0.1610020399093628, -0.19658026099205017, 0.1374308466911316, 0.07793071866035461, -0.3896087110042572, 0.41668158769607544, -0.47740891575813293, -0.2696737051010132, -0.4978657364845276, 0.9142595529556274, -0.5950823426246643, -0.8792972564697266, -0.277591347694397, -0.8060566782951355, -0.4172532260417938, 0.15711970627307892, -0.23981879651546478, 0.23809772729873657, -0.2970278561115265, 0.20149463415145874, 0.43360355496406555, -0.6530426144599915, 0.7500073909759521, 0.3668975532054901, -0.19990792870521545, -0.3239240348339081, 0.2470894604921341, -0.2925468981266022, 0.37162351608276367, 0.40875905752182007, 0.24110935628414154, -0.3834083080291748, -0.5296446681022644, -0.11298251152038574, 0.41296127438545227, -0.6636204719543457, -0.14473514258861542, -0.7010108828544617, -0.04971330240368843, -0.49538546800613403, -0.4299062490463257, -0.06858128309249878, -0.16330091655254364, -0.24364402890205383, -0.047709014266729355, 0.35943329334259033, 0.9308621883392334, -0.15856675803661346, 0.28744301199913025, -0.6878477931022644, 0.2274206131696701, 0.3371303975582123, 0.39024031162261963, 0.4067504405975342, -0.190201535820961, -0.08696199953556061, -0.2578601539134979, -0.027807075530290604, -0.6722803115844727, 0.1599082499742508, -0.15757137537002563, 0.6670713424682617, 0.4626915454864502, -0.17273063957691193, 0.6115666031837463, -0.5279290080070496, 0.9266797304153442, 0.5871059894561768, -0.8771268129348755, 0.32483479380607605, -0.49878817796707153, 0.14989155530929565, 0.051284607499837875, 0.3745309114456177, -0.5039927363395691, -0.4756394922733307, -0.48895731568336487, -0.7676554918289185, 0.49561166763305664, 0.11712273955345154, -0.08609463274478912, -0.15379498898983002, 0.17632023990154266, -0.08346710354089737, 0.19136008620262146, -0.7439649701118469, -0.19959388673305511, 0.5027421116828918, -0.08585663139820099, -0.3120156228542328, -0.32066139578819275, -0.1474546194076538, -0.3602127432823181, 0.48551279306411743, 0.024416105821728706, 0.07362458854913712, 0.07297170162200928, 0.03250289335846901, -0.1324426531791687, 0.24419711530208588, 0.5592312216758728, 0.888484537601471, 0.23704996705055237, 0.31825703382492065, 0.1239130049943924, -0.003021183190867305, -0.005011549219489098, 0.1824045479297638, 0.03297518566250801, -0.35455942153930664, 0.9972403049468994, 0.699011504650116, 0.21701355278491974, -0.638755202293396, 0.48259490728378296, -0.023581936955451965, -0.02867947332561016, -0.30719828605651855, 0.07159645855426788, 0.47975456714630127, 0.5661464333534241, 0.2059064656496048, -0.21552665531635284, 0.13340696692466736, -0.6201965808868408, 0.05720393732190132, 0.6201373934745789, -0.11538579314947128, -0.13833056390285492, 0.9845437407493591, 0.19893263280391693, -0.11384972184896469, 0.4243597984313965, 0.2117369920015335, -0.3984512388706207, 0.8044314980506897, 0.6442173719406128, 0.79327791929245, -0.35553979873657227, 0.03868299722671509, 0.2666199207305908, 0.25834062695503235, -0.23659808933734894, -0.09537231177091599, 0.1470261812210083, -0.9127283692359924, -0.9095653891563416, -0.5751239657402039, -0.4291362166404724, 0.10131976753473282, -0.3974497318267822, 0.08624549955129623, -0.19921408593654633, -0.007121626753360033, 0.20612983405590057, -0.11721597611904144, -0.48109185695648193, 0.07231022417545319, 0.14821770787239075, 0.4802120327949524, -0.9901471734046936, 0.4787709414958954, 0.45430314540863037, -0.5114726424217224, -0.6384224891662598, -0.009189099073410034, -0.028097497299313545, -0.5393513441085815, 0.8918243050575256, -0.010929984040558338, -0.1684444397687912, -0.19194717705249786, -0.7141073942184448, -0.7831303477287292, 0.976851224899292, 0.5198104977607727, -0.6420478820800781, 0.04935431852936745, 0.2363712042570114, 0.6252622604370117, -0.10050629079341888, 0.14975005388259888, 0.5510911345481873, 0.5686630010604858, -0.10030155628919601, -0.9360235929489136, 0.13176658749580383, 0.24327516555786133, 0.050334349274635315, 0.32282882928848267, -0.5529652237892151, 0.5503864884376526, -0.2515150308609009, 0.04861198365688324, 0.05312195047736168, 0.7892864346504211, 0.31793665885925293, 0.48439183831214905, 0.4233810603618622, 0.49184370040893555, 0.611939013004303, 0.057237107306718826, 1.1856852769851685, -0.09125300496816635, 0.13112448155879974, 1.0909887552261353, -0.4668942987918854, 0.5068761706352234, 0.6157500147819519, -0.33819133043289185, 0.49480167031288147, 0.36843112111091614, 0.12345188111066818, 0.06963018327951431, 0.2427237629890442, -0.6255435347557068, -0.31614166498184204, -0.3442172110080719, -0.15183831751346588, 0.4205925464630127, 0.5078420042991638, -0.5090284943580627, -0.15757998824119568, -0.06056612730026245, 0.15794134140014648, 0.1658840924501419, -0.3638884425163269, 0.704923152923584, 0.39561015367507935, -0.8188427090644836, -0.059488020837306976, 0.12299235165119171, 0.5082393884658813, -0.34371641278266907, -0.09125771373510361, 0.011747662909328938, 0.1996600329875946, -0.2090437263250351, -0.6992534399032593, 0.3241388201713562, -0.11431074887514114, -0.23929424583911896, -0.09647765755653381, 0.7447667121887207, -0.35730019211769104, -0.41646119952201843, 0.6992743015289307, 0.7648509740829468, -0.0573088712990284, 0.15321779251098633, -0.5245019793510437, 0.1372203379869461, -0.2999919056892395, -0.06463908404111862, 0.23586691915988922, 0.3658706843852997, -0.22013916075229645, 0.6233910918235779, 0.646400511264801, 0.06246121972799301, 0.06563509255647659, 0.5591791868209839, 0.7029411196708679, -0.8110485076904297, -0.22902649641036987, -1.0722638368606567, 0.2660922408103943, -0.16742055118083954, 0.18582656979560852, 0.8160306811332703, 0.3111843466758728, 0.5061092376708984, -0.006351699586957693, 0.744206428527832, -0.027009397745132446, 0.2518391013145447, -0.6894405484199524, 0.5894939303398132, -0.4210246801376343, 0.24498750269412994, -0.5405592322349548, -0.8168959617614746, -0.8221938014030457, 0.3631422817707062, -0.5333698987960815, 0.16372570395469666, 0.7107785940170288, 0.4690776765346527, 0.11948668956756592, 0.049710873514413834, 0.40923985838890076, 0.3687467575073242, 0.5972746014595032, 0.39005085825920105, 0.9760655164718628, -0.08708661794662476, -0.03183561563491821, 0.19761696457862854, -0.2084958702325821, -0.10508126020431519, -1.1284788846969604, -0.8405500054359436, -0.4749576449394226, -0.2291851043701172, -0.05765528604388237, -0.08882418274879456, 0.6975805759429932, 0.336093932390213, -0.5516660809516907, -0.42564526200294495, -0.558951199054718, 0.6132113337516785, 0.10931684821844101, -0.2729240953922272, 0.4019732177257538, -0.44075578451156616, -0.7360289096832275, 0.3536238968372345, 0.48016685247421265, -0.2076404094696045, -0.4819144010543823, -0.09965316206216812, -0.3999486565589905, 0.0521855354309082, 1.1432582139968872, 0.16373930871486664, -0.8808861970901489, -0.3768528401851654, -0.2366696000099182, 0.17923177778720856, -0.34121954441070557, 0.9009601473808289, -0.404651403427124, 0.28640642762184143, 0.5336238145828247, 0.7202396988868713, 0.17279070615768433, -0.33741456270217896, 0.9189981818199158, -0.24449670314788818, 0.3065762221813202, 0.10136794298887253, 0.6855272054672241, 0.410360187292099, -0.19193588197231293, 0.5116485357284546, 0.28359857201576233, -0.8084391355514526, -0.7721635699272156, 0.4939815402030945, -0.7046536207199097, -0.43241074681282043, 1.2446701526641846, 0.009931952692568302, 0.05793379619717598, -0.38021478056907654, 0.15977227687835693, 0.47311779856681824, 0.17762640118598938, 0.6745335459709167, 0.5812543630599976, -0.47097495198249817, 0.040652431547641754, -0.7306858897209167, 0.2808789610862732, 0.39261722564697266, -1.2583905458450317, 0.10707949846982956, 0.9682247638702393, -0.07963813841342926, 0.028860552236437798, 0.5870851874351501, -0.1242356225848198, -0.0082860691472888, -0.12090346962213516, 0.010726097971200943, 0.470671147108078, -0.36067694425582886, -0.3967178165912628, 0.04364025592803955, 0.32726505398750305, 0.3236028850078583 ]
http://arxiv.org/abs/2403.10568v1
http://arxiv.org/pdf/2403.10568v1
MoPE: Parameter-Efficient and Scalable Multimodal Fusion via Mixture of Prompt Experts
2024-03-14T17:47:10
2024-03-14T17:47:10
Ruixiang Jiang, Lingbo Liu, Changwen Chen
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Prompt-tuning has demonstrated parameter-efficiency in fusing unimodal foundation models for multimodal tasks. However, its limited adaptivity and expressiveness lead to suboptimal performance when compared with other tuning methods. In this paper, we address this issue by disentangling the vanilla prompts to adaptively capture dataset-level and instance-level features. Building upon this disentanglement, we introduce the mixture of prompt experts (MoPE) technique to enhance expressiveness. MoPE leverages multimodal pairing priors to route the most effective prompt on a per-instance basis. Compared to vanilla prompting, our MoPE-based conditional prompting exhibits greater expressiveness for multimodal fusion, scaling better with the training data and the overall number of trainable parameters. We also study a regularization term for expert routing, leading to emergent expert specialization, where different experts focus on different concepts, enabling interpretable soft prompting. Extensive experiments across three multimodal datasets demonstrate that our method achieves state-of-the-art results, matching or even surpassing the performance of fine-tuning, while requiring only 0.8% of the trainable parameters. Code will be released: https://github.com/songrise/MoPE.
[ -0.6149110198020935, -0.8019506335258484, 0.5801807641983032, 0.19925783574581146, -0.14778532087802887, 0.1327688843011856, -0.4160088896751404, -0.0585223063826561, 0.23291799426078796, 0.09298483282327652, -1.0082913637161255, -0.15112993121147156, -0.357022762298584, -0.06541009247303009, -0.08655049651861191, 0.506663978099823, 0.28499695658683777, -0.23987245559692383, -0.5444114208221436, -0.12658892571926117, -0.7610495090484619, 0.17565271258354187, -0.47313857078552246, 0.054233480244874954, 0.8186291456222534, 0.6640655398368835, 0.6037409901618958, 0.37789011001586914, -0.012327386997640133, 0.42203718423843384, 0.18259473145008087, 0.7252403497695923, -0.3451615869998932, 0.513145387172699, -0.3108675181865692, -0.12569968402385712, -0.3057125210762024, 0.07450444996356964, 0.28516122698783875, 0.45084092020988464, -0.1239686906337738, -0.0977066233754158, -0.07977504283189774, 0.4089661240577698, -0.690811812877655, -0.06940388679504395, -0.8267503380775452, -0.1795913577079773, -0.21081003546714783, -0.379751056432724, -0.5019274353981018, 0.04611639678478241, 0.09203555434942245, -0.7530825734138489, 0.4024079144001007, 0.2702995836734772, 0.4942793548107147, 0.4354398250579834, -0.6248193383216858, 0.16841638088226318, -0.2344910204410553, 0.7870273590087891, -0.4775601923465729, 0.28344103693962097, 0.18632268905639648, 0.6023260354995728, -0.31087055802345276, -0.4915764033794403, -0.7645561695098877, -0.17890655994415283, -0.05552038177847862, 0.27234429121017456, -0.02606438845396042, 0.1361677646636963, 0.20654627680778503, 0.3905404210090637, -0.5608251690864563, 0.12431715428829193, 0.01711185649037361, -0.5772382020950317, 0.5790954232215881, 0.165293350815773, 0.19153821468353271, -0.14719396829605103, -0.6180239319801331, -0.28575393557548523, -0.27269425988197327, 0.33694422245025635, 0.2671158015727997, 0.27707794308662415, -0.22275406122207642, 0.3465014696121216, -0.4868786633014679, 1.0815222263336182, 0.5604206919670105, -0.35821670293807983, 0.26548582315444946, -0.5340644121170044, 0.00014314182044472545, -0.3075501322746277, 0.9172990918159485, 0.5677851438522339, -0.09260252863168716, -0.004937539808452129, -0.14478379487991333, 0.019180748611688614, 0.014751340262591839, -0.41842854022979736, -0.40332645177841187, 0.3134157359600067, -0.30281850695610046, -0.09720747917890549, -0.08000350743532181, -1.1960656642913818, -0.7909183502197266, -0.36335915327072144, 0.6190929412841797, -0.6170992851257324, -0.5828204154968262, -0.05059778690338135, -0.480430543422699, -0.10264812409877777, 0.49234840273857117, -1.1008813381195068, -0.24336935579776764, 0.478935182094574, 0.6853612065315247, -0.009487388655543327, -0.32332953810691833, -0.8710517287254333, -0.01856188289821148, 0.01050922553986311, 0.9269750714302063, -0.8692938089370728, -0.4094122648239136, -0.13323968648910522, -0.17053310573101044, -0.3528152108192444, -0.29122889041900635, 0.40483635663986206, -0.17223714292049408, 0.45037660002708435, -0.25582146644592285, -0.32821133732795715, -0.2420782744884491, 0.20299109816551208, -0.4852345287799835, 0.8932128548622131, 0.32790470123291016, -0.2142053097486496, 0.5409417748451233, -0.45975247025489807, -0.35120564699172974, 0.16025756299495697, -0.28686317801475525, 0.08888603746891022, 0.21553181111812592, 0.7036558985710144, 0.7047843933105469, -0.2773802876472473, 0.15715265274047852, -0.33077549934387207, 0.11683747172355652, 0.2074708789587021, -0.42374104261398315, 0.289847731590271, 0.22347554564476013, -0.19209030270576477, 0.5293772220611572, -1.0495805740356445, 0.142764613032341, -0.2986399829387665, -0.0225702952593565, -0.18846328556537628, -0.1299738883972168, -0.026175251230597496, 0.4304537773132324, 0.2189648598432541, -0.26865628361701965, 0.30296310782432556, -0.02553492598235607, 0.4294399321079254, 0.9655386805534363, 0.021166056394577026, 0.5678279399871826, -0.45707187056541443, 0.4789545238018036, 0.0601930133998394, 0.09440169483423233, -0.7869794964790344, -0.5589576959609985, -0.6034281849861145, -0.8190584778785706, 0.35713738203048706, 0.24979601800441742, -1.1782689094543457, 0.2656094431877136, -0.018247490748763084, -0.596136212348938, -0.6753700375556946, 0.3444274961948395, 0.38434943556785583, 0.9877280592918396, 0.4185693860054016, -0.0048537165857851505, -0.30963775515556335, -1.1598892211914062, -0.11238714307546616, -0.00393885700032115, -0.17545200884342194, 0.40441426634788513, -0.09916204959154129, 0.12322016060352325, 1.0795810222625732, -0.2832615077495575, -0.10654768347740173, -0.05050955340266228, 0.40821442008018494, 0.08358927816152573, 0.7115188241004944, 0.664415180683136, -1.0341627597808838, -0.6692398190498352, -0.06793803721666336, -0.40581223368644714, -0.29205867648124695, -0.383758008480072, -0.1940053105354309, -0.22749683260917664, 0.2433735728263855, -0.705381453037262, -0.20727476477622986, 0.6418757438659668, -0.48834770917892456, 0.3515247702598572, -0.08052068203687668, 0.6708590984344482, -1.106363296508789, -0.19193902611732483, 0.21704676747322083, -0.2604600787162781, -0.6154422760009766, 0.030348923057317734, 0.23295475542545319, -0.28893402218818665, -0.5178318619728088, 0.5867839455604553, -0.5622296333312988, 0.44192564487457275, -0.12840718030929565, 0.05238671973347664, 0.11533129960298538, 0.6444541215896606, -0.04802944138646126, 0.7947827577590942, 1.017256498336792, -0.8186453580856323, 0.5898408889770508, 0.13101977109909058, -0.22650863230228424, 0.9968299269676208, -0.502657949924469, 0.20183345675468445, 0.1111716702580452, 0.12280034273862839, -1.3509705066680908, -0.6231937408447266, 0.21021564304828644, -0.46123987436294556, 0.1854562908411026, -0.2808322310447693, -0.4190845787525177, -0.12929388880729675, -0.2486012727022171, 0.3144393265247345, 0.7868335843086243, -0.4485940933227539, 1.2422131299972534, -0.034039296209812164, -0.17907245457172394, -0.30206769704818726, -0.2565320134162903, -0.10034135729074478, -0.20671647787094116, -1.2099684476852417, 0.5508705377578735, -0.2683638632297516, -0.0763087272644043, -0.32230308651924133, -0.11826744675636292, -0.0615803487598896, 0.05581512674689293, 0.297646701335907, 0.22992074489593506, -0.14128132164478302, 0.10000623762607574, 0.3763445019721985, -0.2994212806224823, -0.2348840981721878, 0.010668808594346046, 0.49454787373542786, 0.08276920765638351, -0.4168905019760132, -0.6269246935844421, 0.48848456144332886, 0.803036093711853, -0.2510077655315399, 0.4815604090690613, 0.8394460678100586, -0.007381615694612265, -0.01769392006099224, -0.9318040609359741, -0.27795910835266113, -0.5716161727905273, 0.023741574957966805, -0.5443177223205566, -0.5931639075279236, 0.4612725079059601, -0.18271829187870026, 0.12847769260406494, 0.3705393373966217, 0.6605538725852966, -0.18765491247177124, 1.232848048210144, 0.5765866637229919, 0.2678118646144867, 0.5873835682868958, 0.20990946888923645, -0.32004958391189575, -0.5354077219963074, -0.5373107194900513, -0.32419082522392273, -0.6642885208129883, -0.2148829996585846, -0.45526832342147827, 0.6093323826789856, -0.1928701251745224, 0.3243206739425659, 0.08192450553178787, -0.31318727135658264, 0.40281620621681213, 0.759597897529602, 0.3739769458770752, -0.01054474152624607, -0.03759845718741417, -0.047349680215120316, -0.0004612442571669817, -0.7612785696983337, 0.07107941806316376, 0.5004631280899048, -0.007002875674515963, 0.8633629679679871, 0.09456449747085571, 0.19597555696964264, 0.26298192143440247, -0.5012335181236267, -0.6058987975120544, 0.7261071801185608, 0.1502479910850525, -0.40781378746032715, -0.1325630098581314, -0.32221871614456177, -0.6210126876831055, 0.41260865330696106, -0.8328332901000977, -0.4681961238384247, 0.6012819409370422, 0.554758608341217, -0.6484633684158325, -0.02011478878557682, -1.028648018836975, 0.6371299028396606, -0.1283147931098938, -0.4032401144504547, -0.33671754598617554, -0.8034343719482422, 0.19644753634929657, 0.13212232291698456, 0.08811069279909134, -0.32643479108810425, -0.2201148122549057, 0.4079992175102234, -0.2337469756603241, 0.7941328883171082, -0.37847521901130676, -0.046802472323179245, -0.01704668626189232, 0.1258431375026703, 0.4689140319824219, 0.14152152836322784, 0.015233036130666733, -0.18701335787773132, -0.4022769629955292, -0.5602969527244568, -1.0092378854751587, 0.8036065101623535, -0.4430842995643616, -0.6057354211807251, 0.04165119677782059, -0.7917789816856384, -0.7124543190002441, 0.10615427047014236, 0.4416928291320801, 0.801010251045227, 0.3046813905239105, 0.3093542754650116, 0.930308997631073, 0.09307387471199036, 0.5431447625160217, 0.6225798726081848, 0.2130737602710724, -0.40041664242744446, 1.0402034521102905, -0.31377357244491577, 0.2923522889614105, 0.5109307765960693, 0.3297664523124695, -0.3665824234485626, -0.3808346092700958, -0.8143671751022339, -0.2532164752483368, -0.4754655957221985, -0.13561107218265533, -0.7373907566070557, 0.368828684091568, -0.5084701776504517, -0.36016470193862915, -0.2500843107700348, -0.5814841985702515, -0.36720892786979675, 0.13326992094516754, 0.6586973071098328, 0.061149682849645615, -0.01854553446173668, 0.316829115152359, -0.8285939693450928, 0.4675386846065521, 0.7904132008552551, 0.06183793395757675, -0.1886359006166458, -0.43893367052078247, 0.10828453302383423, 0.12491031736135483, -0.0732777789235115, -0.836428165435791, 0.03437136858701706, 0.4551214277744293, 0.8060892224311829, 0.6452266573905945, 0.15685251355171204, 0.9354304075241089, -0.2761618494987488, 0.9744443297386169, 0.6243528127670288, -0.8781545758247375, 0.7149827480316162, -0.5864606499671936, 0.27982059121131897, 0.7495371699333191, 0.305056095123291, -0.4498189091682434, -0.22965863347053528, -0.44213706254959106, -0.8838558197021484, 0.5712108016014099, -0.14847172796726227, 0.1711917370557785, 0.16338594257831573, -0.043348170816898346, 0.6066889762878418, 0.3593094050884247, -0.21145473420619965, -0.22278882563114166, -0.427054226398468, -0.4532895088195801, -0.07391564548015594, -0.2823536694049835, -0.4349137842655182, -0.20502950251102448, 0.3898739516735077, -0.3705369830131531, -0.029057243838906288, -0.07969368994235992, -0.3121609389781952, -0.01622786559164524, 0.3401051461696625, 0.8007847666740417, 0.7118968367576599, -0.012847895734012127, 0.117234967648983, -0.12550131976604462, -0.07175430655479431, 0.22220727801322937, 0.06273464113473892, 0.05975617840886116, -0.03945039212703705, 0.3666107952594757, 0.9395515322685242, 0.3787629306316376, -0.7522540092468262, 0.5339030623435974, -0.027750538662075996, -0.21554310619831085, 0.1403491050004959, 0.5879435539245605, -0.3265625238418579, 0.31890493631362915, 0.5644546747207642, 0.5894801616668701, 0.10995922237634659, -0.3913927376270294, 0.06587715446949005, 0.34686675667762756, -0.24880115687847137, -0.3815092444419861, 0.4997811019420624, 0.7756516933441162, -0.1492042988538742, 0.4704743027687073, 0.04128950461745262, -0.13977858424186707, 0.345689982175827, 0.17393894493579865, 0.6825430393218994, -0.2062980830669403, 0.3604471683502197, 0.047200579196214676, -0.07403545081615448, 0.23284326493740082, 0.16599586606025696, -0.2546784281730652, -0.5344998836517334, -0.4088645279407501, -0.13548627495765686, -0.3497650921344757, -0.1661449819803238, -0.6283818483352661, 0.31738823652267456, -0.27890458703041077, -0.06478545069694519, 0.05836748704314232, -0.5237952470779419, -0.5310879945755005, 0.10743585228919983, 0.08192583173513412, 1.0703392028808594, -0.9376630187034607, 0.32086795568466187, 0.9918124675750732, -0.31715598702430725, -0.5859418511390686, -0.22060686349868774, 0.3043724298477173, -0.7055771350860596, 0.13189828395843506, 0.12386735528707504, 0.08676765859127045, 0.07175755500793457, -0.5061970949172974, -0.5190228819847107, 0.9934682846069336, 0.4128607213497162, -0.6003502607345581, 0.11686675995588303, -0.4260610342025757, 0.21969924867153168, -0.35872137546539307, 0.5788639783859253, 0.25697973370552063, 0.7039061188697815, 0.2804948389530182, -0.9594413638114929, 0.052133992314338684, -0.4533627927303314, -0.15219728648662567, 0.04578174650669098, -0.8684777021408081, 1.0731171369552612, -0.04754531383514404, -0.10297130793333054, 0.06406773626804352, 0.7993268966674805, 0.132522314786911, 0.3608055114746094, 1.0678552389144897, 0.2005963772535324, 0.9235066175460815, -0.1601940393447876, 0.8270794749259949, -0.26512813568115234, -0.15013885498046875, 0.7466015815734863, -0.09200847148895264, 0.4281095266342163, 0.49852585792541504, 0.2539372146129608, 0.7049713730812073, 0.8138718008995056, 0.11998292058706284, 0.905886709690094, -0.57538241147995, -0.40375614166259766, -0.821410596370697, -0.1159685030579567, -0.4795163571834564, 0.4216254651546478, 0.2338622510433197, -0.20230236649513245, -0.15617555379867554, 0.4353833794593811, -0.36846405267715454, 0.2633213996887207, -0.4753842353820801, 0.7585059404373169, -0.3330869674682617, -0.8215273022651672, 0.37085479497909546, -0.3126397728919983, 0.9618116617202759, -0.7907171249389648, -0.09727831929922104, -0.1726561039686203, -0.2907741665840149, -0.29228469729423523, -0.621165931224823, -0.4409612715244293, -0.43481650948524475, -0.5183663964271545, -0.413620263338089, 0.6798295378684998, -0.7094141244888306, -0.22581014037132263, -0.2968210279941559, 0.6144750714302063, -0.32853084802627563, -0.17972460389137268, -0.648284375667572, -0.1338169276714325, 0.024003498256206512, -0.15645982325077057, 0.4487078785896301, 0.4984721839427948, 0.15789644420146942, 0.893596351146698, 0.7630009055137634, -0.2040792852640152, 0.07559752464294434, 0.020136555656790733, 1.0678761005401611, -0.4355721175670624, -0.5828279256820679, -0.7754295468330383, 1.02860426902771, -0.15696251392364502, -0.60381019115448, 0.7985249757766724, 0.09109175950288773, 0.4181375503540039, -0.33762192726135254, 0.5494276285171509, -0.3878621459007263, 0.4194912910461426, -0.9361945390701294, 0.39435818791389465, -0.7606486678123474, -0.042837031185626984, -0.14731638133525848, -0.6909103393554688, 0.245441272854805, 0.2982226610183716, 0.12656213343143463, 0.228706493973732, 0.5605412125587463, 0.9113369584083557, -0.29796186089515686, -0.09608924388885498, 0.41510292887687683, 0.08919644355773926, 0.18631400167942047, 0.4634745419025421, 0.9726273417472839, 0.19074690341949463, 0.3813857138156891, -0.4408276081085205, -0.4317436218261719, -0.4399779140949249, -0.9710909128189087, -0.8525019884109497, -0.852045476436615, -0.4230283796787262, -0.12407772988080978, -0.20706233382225037, 1.112994909286499, 1.14518141746521, -0.6377735137939453, 0.37227579951286316, 0.2977127134799957, 0.2164899706840515, -0.6417859792709351, -0.2464800775051117, 0.06691399216651917, -0.3213927149772644, -0.83478844165802, 0.9111111164093018, 0.2513749599456787, -0.039229199290275574, -0.35802385210990906, 0.11136197298765182, 0.049852289259433746, -0.09318658709526062, 0.5836001634597778, 0.18776549398899078, -0.7177670001983643, -0.12221591919660568, 0.04739949479699135, 0.217902272939682, -0.12380492687225342, 0.9178842902183533, -0.9930393099784851, 0.8484928011894226, 0.7655404210090637, 0.43820706009864807, -0.010275375097990036, 0.3095695674419403, 0.8625550866127014, -1.0668293237686157, 0.35827308893203735, 0.21833908557891846, 0.5587953925132751, 0.19777746498584747, -0.46169060468673706, 0.2647833228111267, 0.4190464913845062, -0.3373290002346039, -0.6777185797691345, 0.3818645179271698, -1.49715256690979, -0.07595178484916687, 1.1515601873397827, 0.058665987104177475, -0.094821497797966, -0.11821647733449936, -0.5715711712837219, -0.30161136388778687, -0.8668635487556458, 0.586800754070282, 0.5444352626800537, -0.22568123042583466, -0.5792560577392578, -0.023955874145030975, 0.3267762362957001, 0.47865527868270874, -0.4874371886253357, -0.28476160764694214, 0.8070899844169617, 0.09588324278593063, 0.19390521943569183, 0.5293843746185303, 0.41760656237602234, 0.6576682925224304, 0.20850762724876404, -0.023744704201817513, -0.7490259408950806, -0.5179747939109802, -0.06500730663537979, 0.35128331184387207, -0.20323938131332397, -0.2640990912914276 ]
http://arxiv.org/abs/2403.09559v2
http://arxiv.org/pdf/2403.09559v2
Less is More: Data Value Estimation for Visual Instruction Tuning
2024-03-14T16:47:25
2024-03-21T06:51:16
Zikang Liu, Kun Zhou, Wayne Xin Zhao, Dawei Gao, Yaliang Li, Ji-Rong Wen
cs.CL
cs.CL, cs.CV
Visual instruction tuning is the key to building multimodal large language models (MLLMs), which greatly improves the reasoning capabilities of large language models (LLMs) in vision scenario. However, existing MLLMs mostly rely on a mixture of multiple highly diverse visual instruction datasets for training (even more than a million instructions), which may introduce data redundancy. To investigate this issue, we conduct a series of empirical studies, which reveal a significant redundancy within the visual instruction datasets, and show that greatly reducing the amount of several instruction dataset even do not affect the performance. Based on the findings, we propose a new data selection approach TIVE, to eliminate redundancy within visual instruction data. TIVE first estimates the task-level and instance-level value of the visual instructions based on computed gradients. Then, according to the estimated values, TIVE determines the task proportion within the visual instructions, and selects representative instances to compose a smaller visual instruction subset for training. Experiments on LLaVA-1.5 show that our approach using only about 7.5% data can achieve comparable performance as the full-data fine-tuned model across seven benchmarks, even surpassing it on four of the benchmarks. Our code and data will be publicly released.
[ -0.4457082748413086, -0.8073768615722656, 0.34539783000946045, -0.14131058752536774, -0.27234750986099243, -0.19637784361839294, -0.35120752453804016, -0.2895868420600891, -0.08075469732284546, 0.5692561268806458, -0.6391142010688782, -0.64301598072052, -0.6142048835754395, -0.27841633558273315, -0.2559199929237366, 0.6458900570869446, 0.1571519672870636, 0.23209203779697418, -0.4849146902561188, -0.30048128962516785, -0.8174003958702087, 0.02983502298593521, -0.3804534375667572, -0.13254742324352264, 0.5193586945533752, 0.8313416242599487, 0.3964214622974396, 1.0083595514297485, 0.6359718441963196, 0.3172033131122589, -0.036177750676870346, 0.571628212928772, -0.8416540622711182, -0.0059515307657420635, 0.16548176109790802, -0.6311064958572388, -0.3862175941467285, -0.01589908078312874, 0.654934287071228, 0.5840144157409668, -0.08007894456386566, 0.471339613199234, -0.11302286386489868, 1.0683051347732544, -0.859703779220581, 0.20774473249912262, -0.5904030203819275, 0.11600479483604431, -0.10266979783773422, -0.15369291603565216, -0.5037784576416016, -0.4844747483730316, 0.12209585309028625, -0.5813317894935608, 0.25338664650917053, 0.1318327784538269, 0.6141794323921204, 0.5980607867240906, -0.22860325872898102, 0.42663973569869995, -0.5679242610931396, 1.199235200881958, -0.39793357253074646, 0.533072829246521, 0.36473724246025085, 0.4332904517650604, 0.14114907383918762, -0.4347468912601471, -0.38757044076919556, -0.13300751149654388, 0.2241288423538208, 0.12846176326274872, -0.13303083181381226, 0.09122022241353989, 0.48360371589660645, 0.21762806177139282, -0.6025471687316895, 0.15739163756370544, -0.5176452398300171, 0.03725839778780937, 0.6323292255401611, 0.4197663962841034, 0.07252701371908188, 0.11374233663082123, -0.373286634683609, -0.4418165981769562, -0.8030818700790405, 0.011881503276526928, 0.08274860680103302, 0.20984816551208496, -0.2652890086174011, 0.6521292328834534, -0.24026958644390106, 1.1313083171844482, -0.09902913123369217, -0.3623497784137726, 0.41958484053611755, -0.42746368050575256, -0.5618899464607239, -0.19671902060508728, 0.37285318970680237, 0.6861521601676941, 0.589894711971283, 0.05024892836809158, -0.1554315984249115, 0.19321590662002563, 0.40847569704055786, -0.7994822263717651, -0.3754633665084839, -0.04518871754407883, -0.45259755849838257, 0.018122270703315735, -0.1338013857603073, -0.884687066078186, -0.48731696605682373, -0.7772267460823059, -0.052235834300518036, -0.3200654983520508, 0.09808960556983948, -0.0905410572886467, -0.14642050862312317, 0.17148113250732422, 0.5967657566070557, -0.8321245908737183, -0.07400140911340714, 0.5677402019500732, 0.6553962230682373, -0.3228960633277893, -0.3964722156524658, -0.9160436987876892, 0.009597085416316986, -0.39284268021583557, 0.7010929584503174, -1.1206672191619873, -0.3214605450630188, -0.19615674018859863, -0.017535150051116943, -0.10437574237585068, -0.5661718845367432, 0.17081688344478607, -0.3917566239833832, -0.020731154829263687, -0.31028029322624207, -0.6403408050537109, -0.22557635605335236, 0.08450568467378616, -0.7842087149620056, 0.9814070463180542, 0.1679391860961914, -0.5899364352226257, 0.7361851334571838, -0.3477717638015747, -0.3759000897407532, -0.07023242115974426, -0.29016315937042236, -0.59543776512146, 0.35244542360305786, 0.4345915615558624, 0.35532283782958984, -0.32421329617500305, -0.10745494812726974, -0.5526958703994751, -0.7162799835205078, -0.011374121531844139, -0.7680642008781433, 0.5086609721183777, 0.12693776190280914, -0.26007112860679626, 0.24512700736522675, -0.892184853553772, 0.280723512172699, -0.2395363450050354, -0.3821479380130768, -0.17845141887664795, -0.07768896967172623, 0.01991300657391548, -0.04509267583489418, 0.04782625660300255, -0.5442673563957214, 0.25856828689575195, -0.25931495428085327, 0.04079897329211235, 0.7639281153678894, -0.10531286150217056, 0.4744042754173279, -0.24778802692890167, 0.6205311417579651, -0.1263633519411087, 0.4165117144584656, -0.0542263425886631, -0.5155069231987, -0.9831472039222717, -0.472943514585495, 0.08768725395202637, 0.5453777313232422, -0.8832321763038635, -0.008129259571433067, -0.3993915617465973, -0.308675616979599, -0.744900107383728, 0.34773218631744385, 0.6161516308784485, 0.46219369769096375, 0.48671093583106995, 0.2133132964372635, -0.5890920758247375, -0.8881746530532837, 0.06713256239891052, 0.21671347320079803, 0.10858893394470215, 0.33952197432518005, 0.42725029587745667, -0.012401117011904716, 0.725430965423584, -0.7184115648269653, -0.1368875950574875, -0.11162635684013367, -0.05438968166708946, -0.09532541781663895, 0.36076998710632324, 0.465947687625885, -0.7253655791282654, -0.5814008712768555, 0.09533780068159103, -0.6937511563301086, 0.1478814333677292, 0.06551966071128845, -0.15947693586349487, 0.2305300384759903, 0.41726207733154297, -0.19080856442451477, 0.6053394675254822, 0.5635581612586975, 0.015713239088654518, 0.08075404912233353, -0.3355453610420227, 0.3359442949295044, -0.6691164970397949, -0.14242595434188843, 0.14112353324890137, -0.15041445195674896, -0.375424325466156, -0.15728415548801422, 0.23531198501586914, -0.03356220945715904, -0.45330527424812317, 0.5163134932518005, -0.5988349914550781, -0.10623930394649506, -0.24225755035877228, 0.01836012862622738, 0.0060848151333630085, 0.7178635001182556, 0.02764737792313099, 0.9194124341011047, 0.6128532886505127, -0.4822145104408264, 0.6810615658760071, 0.2235497534275055, -0.7371611595153809, 0.6700108647346497, -0.46913737058639526, 0.0018179987091571093, -0.3123733103275299, -0.2262071818113327, -0.9182448983192444, -0.17482416331768036, 0.0313488133251667, -0.2809506356716156, 0.4187905192375183, -0.45838040113449097, -0.1095418632030487, -0.15247049927711487, -0.31179413199424744, 0.1563762128353119, 0.46312668919563293, -0.6092044115066528, 0.2880437672138214, 0.48572197556495667, -0.1348423808813095, -0.739838719367981, -0.740160346031189, -0.1338159143924713, -0.23836757242679596, -0.49212154746055603, -0.1310940682888031, -0.03858835622668266, -0.09061015397310257, -0.07390133291482925, -0.15386536717414856, -0.23748010396957397, 0.003337811678647995, 0.3445163369178772, 0.5904073715209961, -0.2857310473918915, 0.3125205934047699, 0.026077350601553917, -0.165904700756073, -0.30531764030456543, -0.16055095195770264, 0.20507605373859406, -0.03620622307062149, -0.5914546847343445, -0.44651004672050476, 0.31630152463912964, 0.5592040419578552, -0.3660986125469208, 0.6323636770248413, 0.7446054220199585, -0.0970812514424324, -0.29398593306541443, -0.584526777267456, 0.03492943197488785, -0.4300355315208435, 0.5807108283042908, -0.07569978386163712, -0.6443886160850525, -0.027493488043546677, 0.1590149849653244, 0.2735435962677002, -0.10231448709964752, 0.3108765482902527, -0.27392101287841797, 1.0529563426971436, 0.690647304058075, -0.009616110473871231, 1.0046353340148926, -0.4327101409435272, -0.13319982588291168, -0.6794212460517883, -0.3708711564540863, -0.14536458253860474, -0.5349437594413757, -0.5156890749931335, -0.6024669408798218, 0.5875133275985718, -0.1818944364786148, -0.1864301860332489, 0.007761016488075256, -0.5784206986427307, 0.7167361378669739, 0.7280340194702148, 0.38002318143844604, 0.11247380077838898, 0.567006528377533, 0.3764621317386627, -0.18558187782764435, -0.7031346559524536, -0.2518639862537384, 1.2354316711425781, -0.01671999879181385, 1.0635466575622559, -0.15125615894794464, 0.4386991262435913, 0.1378546506166458, 0.18196773529052734, -0.6506430506706238, 0.5079740881919861, -0.46038618683815, -0.2815096378326416, -0.5049414038658142, -0.6730036735534668, -0.9282932281494141, 0.3052961230278015, -0.43256625533103943, -0.6799021363258362, 0.12322457879781723, 0.4865148663520813, -0.31416457891464233, 0.1896786391735077, -1.1114941835403442, 0.9195705652236938, -0.2845227122306824, -0.5438350439071655, -0.2319173663854599, -0.42775920033454895, 0.2899131774902344, 0.10724543035030365, -0.13838239014148712, -0.07998000830411911, -0.012904742732644081, 0.5138961672782898, -0.33637484908103943, 0.8780539631843567, -0.24286803603172302, -0.019786648452281952, 0.19334259629249573, -0.382734477519989, 0.6795322895050049, -0.12893424928188324, 0.08935859054327011, -0.03371180221438408, -0.16591238975524902, -0.5317720770835876, -0.7606824636459351, 0.7977609038352966, -0.5567662715911865, -0.38303422927856445, 0.1259865015745163, -0.5592640042304993, -0.34041646122932434, -0.049864161759614944, 0.24380092322826385, 0.6615264415740967, 0.12280399352312088, 0.5228772759437561, 0.888745903968811, -0.19266635179519653, 0.36993008852005005, 0.2560109496116638, 0.18151098489761353, -0.5965541005134583, 1.246652364730835, 0.09242711216211319, 0.3564634621143341, 0.6161789894104004, -0.045661650598049164, -0.16528883576393127, -0.655452311038971, -0.6178268194198608, -0.018147213384509087, -0.6541002988815308, -0.19082458317279816, -0.2953254282474518, 0.1924731284379959, -0.053668174892663956, -0.08663754910230637, -0.5453218221664429, -0.18576876819133759, -0.2901270389556885, -0.0018883425509557128, 0.5181827545166016, 0.48202016949653625, 0.3074343204498291, 0.34032562375068665, -0.9143140912055969, 0.47142350673675537, 0.4371442198753357, 0.5126218199729919, -0.04283304512500763, -0.44803833961486816, -0.5537226796150208, 0.39185112714767456, 0.01415402814745903, -0.4816375970840454, 0.3424185812473297, 0.11868645250797272, 0.6344082355499268, 0.2691259980201721, -0.1872635930776596, 1.1634916067123413, -0.43603578209877014, 0.4393904209136963, 0.34209194779396057, -0.6043774485588074, 0.5864299535751343, 0.08170076459646225, 0.36549609899520874, 0.5427579879760742, -0.06527942419052124, -0.26258015632629395, -0.0694156289100647, -0.289419025182724, -0.6627052426338196, 0.9006086587905884, 0.03465006500482559, -0.10691836476325989, 0.34825992584228516, 0.045356981456279755, 0.020966961979866028, 0.35413286089897156, -0.32607725262641907, -0.473349928855896, -0.09190105646848679, -0.3034292161464691, -0.04079441353678703, -0.18979810178279877, -0.17989042401313782, -0.37452349066734314, 0.38718825578689575, -0.1190449520945549, 0.10392318665981293, -0.3026815354824066, -0.2724711298942566, -0.1125694289803505, 0.06599905341863632, 0.6552532315254211, 0.8096321821212769, -0.13581861555576324, -0.10717962682247162, 0.28701648116111755, -0.6024728417396545, 0.062051013112068176, -0.1412941962480545, -0.20434820652008057, -0.15360823273658752, 0.5633631348609924, 1.3229702711105347, 0.17873422801494598, -0.8010435104370117, 0.5090909004211426, 0.012372614815831184, -0.06601016968488693, -0.00958043523132801, 0.4721444249153137, -0.17327310144901276, 0.49367988109588623, -0.06942584365606308, 0.21732667088508606, -0.07066993415355682, -0.1761939525604248, 0.1505512297153473, 0.4875311851501465, -0.27888959646224976, 0.07044947892427444, 0.46197718381881714, 0.36303943395614624, 0.07985494285821915, 0.7848697900772095, 0.051667455583810806, 0.09639830142259598, 0.7019709944725037, 0.017897043377161026, 0.5936816930770874, 0.07637906074523926, 0.2631208896636963, 0.3080081641674042, 0.30181193351745605, -0.08204588294029236, 0.37026017904281616, -0.028290707617998123, -0.5302562713623047, -0.6557717323303223, -0.4731349050998688, -0.20288707315921783, 0.2251470535993576, -0.7425612211227417, 0.22280104458332062, -0.3121460974216461, -0.12155915796756744, -0.06012443080544472, 0.02637811005115509, -0.7056461572647095, 0.2700407803058624, 0.2863759994506836, 0.6775842308998108, -0.8660887479782104, 0.8833562135696411, 0.6087115406990051, -0.4316907823085785, -0.4990081191062927, -0.3460884392261505, 0.0019103435333818197, -1.0353670120239258, 0.7660930752754211, -0.0800878182053566, -0.21686215698719025, -0.1806374490261078, -0.6683418154716492, -0.7964251637458801, 0.9571511149406433, 0.7295666933059692, -0.7731705904006958, 0.07395503669977188, -0.09026266634464264, 0.3824346363544464, -0.26740762591362, 0.07612757384777069, 0.7094055414199829, 0.5648452043533325, 0.4230814278125763, -0.5325568318367004, -0.39132723212242126, -0.23653127253055573, 0.24971801042556763, 0.3001604974269867, -0.5148051977157593, 0.7719910144805908, -0.49576258659362793, -0.29556411504745483, -0.07201644778251648, 0.4128361940383911, 0.15866264700889587, 0.32885077595710754, 0.3239808976650238, 0.5193246006965637, 0.871537446975708, -0.046770766377449036, 1.1047768592834473, -0.10520333051681519, 0.27961012721061707, 1.3847488164901733, 0.050382349640131, 0.7092125415802002, 0.37634503841400146, -0.21236370503902435, -0.03300478309392929, 0.5348259210586548, -0.3515891134738922, 0.5593871474266052, -0.09445471316576004, -0.055125750601291656, -0.5449228882789612, 0.021843239665031433, -0.36708903312683105, 0.5333783030509949, 0.17352642118930817, -0.3044011890888214, -0.03810924291610718, 0.037217799574136734, -0.2720305025577545, -0.03647422045469284, -0.30147066712379456, 0.7560375928878784, -0.3036118149757385, -0.6308374404907227, 0.9910289645195007, -0.3477097749710083, 0.3056633174419403, -0.3941131830215454, -0.4657112956047058, -0.46446460485458374, 0.20987559854984283, -0.22488416731357574, -0.7380351424217224, -0.10173133760690689, 0.24657094478607178, -0.3804454207420349, -0.19142980873584747, 0.27088695764541626, -0.7024204134941101, -0.6691544651985168, -0.11178918182849884, 0.4969136416912079, 0.017257943749427795, 0.0043405527248978615, -0.4519205391407013, 0.2055443823337555, 0.37227460741996765, -0.17250947654247284, 0.37444981932640076, 0.36802634596824646, -0.060722656548023224, 0.9954115152359009, 0.5406882762908936, 0.359221488237381, 0.25629159808158875, 0.2017498016357422, 0.8432315587997437, -0.6249164342880249, -0.16243824362754822, -0.7408840656280518, 0.557232141494751, -0.3398374915122986, -0.3998340368270874, 0.626532793045044, 0.5801323652267456, 0.9084579944610596, -0.22427548468112946, 0.7529058456420898, 0.4131852090358734, 0.325461745262146, -0.877493679523468, 0.2832731604576111, -0.7460773587226868, 0.38194993138313293, -0.21312189102172852, -0.8860132098197937, -0.19824166595935822, 0.6126121282577515, -0.41974225640296936, 0.08359234780073166, 0.5247400403022766, 0.9408606886863708, -0.17113693058490753, -0.01422564871609211, 0.5898910164833069, -0.10904809832572937, 0.02120310068130493, 0.6229180693626404, 0.7500181198120117, -0.17247407138347626, 0.6448706388473511, -0.17043881118297577, -0.14486943185329437, -0.35344988107681274, -0.6067546010017395, -0.9370599389076233, -0.2204374074935913, -0.2851647734642029, 0.17630687355995178, -0.006208416540175676, 0.732559859752655, 0.9122506976127625, -0.7186784148216248, -0.13781599700450897, 0.0001823591155698523, 0.33552423119544983, -0.4054999351501465, -0.128632590174675, 0.3020922541618347, -0.2586249113082886, -0.9628708362579346, 0.4021737575531006, 0.3869161009788513, 0.036958735436201096, 0.02496415562927723, -0.0581112876534462, -0.03587910905480385, -0.20039483904838562, 0.7071684002876282, 0.07367458939552307, -0.6791799664497375, -0.23164239525794983, -0.006936836056411266, -0.027203356847167015, 0.25728410482406616, 0.630476176738739, -0.6260026693344116, 0.8598296046257019, 0.5504306554794312, 0.7041395306587219, 0.700103223323822, 0.026250604540109634, 0.35691308975219727, -0.9847345948219299, 0.21208985149860382, -0.06658447533845901, 0.394275963306427, 0.3719850480556488, -0.09175064414739609, 0.5985598564147949, 0.12555861473083496, -0.18228808045387268, -0.7426323294639587, 0.1726895272731781, -0.9170694947242737, -0.2236398607492447, 1.0768502950668335, -0.0745852068066597, -0.26599448919296265, 0.2025720775127411, -0.30874913930892944, 0.18165025115013123, -0.48040467500686646, 0.48121312260627747, 0.3489172160625458, -0.29335227608680725, -0.5353944897651672, -0.7939855456352234, 0.42748114466667175, 0.22836986184120178, -0.8535496592521667, 0.34954923391342163, 1.009228229522705, 0.147996723651886, -0.16505911946296692, 0.06417819112539291, 0.25203531980514526, 0.3752762973308563, 0.2789476811885834, 0.02106802724301815, -0.420425683259964, -0.6121066808700562, -0.17781293392181396, 0.1438918262720108, -0.16619150340557098, -0.7189813256263733 ]
http://arxiv.org/abs/2403.09539v2
http://arxiv.org/pdf/2403.09539v2
Logits of API-Protected LLMs Leak Proprietary Information
2024-03-14T16:27:49
2024-03-15T02:07:30
Matthew Finlayson, Xiang Ren, Swabha Swayamdipta
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG, 68T50, I.2.7
The commercialization of large language models (LLMs) has led to the common practice of high-level API-only access to proprietary models. In this work, we show that even with a conservative assumption about the model architecture, it is possible to learn a surprisingly large amount of non-public information about an API-protected LLM from a relatively small number of API queries (e.g., costing under $1,000 for OpenAI's gpt-3.5-turbo). Our findings are centered on one key observation: most modern LLMs suffer from a softmax bottleneck, which restricts the model outputs to a linear subspace of the full output space. We show that this lends itself to a model image or a model signature which unlocks several capabilities with affordable cost: efficiently discovering the LLM's hidden size, obtaining full-vocabulary outputs, detecting and disambiguating different model updates, identifying the source LLM given a single full LLM output, and even estimating the output layer parameters. Our empirical investigations show the effectiveness of our methods, which allow us to estimate the embedding size of OpenAI's gpt-3.5-turbo to be about 4,096. Lastly, we discuss ways that LLM providers can guard against these attacks, as well as how these capabilities can be viewed as a feature (rather than a bug) by allowing for greater transparency and accountability.
[ -0.196439728140831, -0.43730026483535767, 0.6571789383888245, -0.17586007714271545, -0.13543300330638885, 0.04264746606349945, -0.08647453784942627, -0.8279264569282532, -0.04854761064052582, 0.959455132484436, -0.4180625081062317, -0.5912765264511108, -0.6909534335136414, -0.2835710644721985, -0.28190189599990845, 0.905179500579834, 0.044287458062171936, -0.20317134261131287, -0.0057458276860415936, -0.1325179487466812, -0.3653637170791626, -0.7674682140350342, -0.43424323201179504, -0.03783117234706879, 0.5637377500534058, 0.12999525666236877, 0.5338611006736755, 0.920915961265564, 0.2855221927165985, 0.22037169337272644, -0.1370740532875061, -0.028843039646744728, -0.6186232566833496, -0.0836196169257164, 0.0690828263759613, -0.8951009511947632, -0.4602242112159729, -0.13305018842220306, 0.684841513633728, 0.35122978687286377, 0.07694786041975021, 0.5415478348731995, 0.1445690095424652, 0.8192128539085388, -0.6639173030853271, 0.4297136962413788, -0.9173920750617981, 0.025911053642630577, -0.5110403299331665, 0.04336845502257347, -0.6044651865959167, -0.06545206159353256, 0.014124153181910515, -0.5603367686271667, 0.05071403831243515, 0.014307139441370964, 0.8814687132835388, 0.4256405830383301, -0.27343884110450745, -0.26181280612945557, -0.7460914254188538, 0.9742709994316101, -0.566089928150177, 0.23998962342739105, 0.25357577204704285, 0.33112186193466187, 0.04499414935708046, -0.5461676716804504, -0.0008987980545498431, -0.09392328560352325, 0.09635312855243683, -0.2687705457210541, -0.35704419016838074, 0.09935560822486877, 0.35796523094177246, 0.37934964895248413, -0.46714282035827637, 0.4029165804386139, -0.3931431770324707, -0.4034653604030609, 0.7029382586479187, 0.021192675456404686, 0.20963524281978607, 0.0036869419272989035, -0.5243749022483826, -0.006499638315290213, -1.3597544431686401, 0.040984801948070526, 0.540106475353241, 0.24927762150764465, -0.04881419613957405, 0.508878767490387, 0.23542910814285278, 0.3902931213378906, -0.4907119870185852, -0.08384235948324203, 0.053510408848524094, -0.0614803321659565, -0.34297481179237366, -0.1074804961681366, 0.6609795093536377, -0.22429661452770233, 0.3757614493370056, -0.25237810611724854, -0.40245941281318665, -0.2110729068517685, -0.027187200263142586, -0.626052975654602, 0.07343817502260208, 0.3877713084220886, -0.502936601638794, -0.10072749853134155, 0.13461552560329437, -0.7192881107330322, -0.4714891016483307, -0.06056973338127136, 0.3203367292881012, 0.05803929641842842, -0.4760282337665558, -0.05857313051819801, -0.08247978240251541, 0.3229120671749115, 0.029660027474164963, -0.7559922933578491, 0.3311063349246979, 1.0420657396316528, 1.1079928874969482, 0.07050512731075287, 0.030549757182598114, -0.4463760256767273, 0.253329873085022, -0.2985544502735138, 0.5862357020378113, -0.2422008365392685, -0.3675365746021271, 0.12325762957334518, -0.01953952945768833, 0.09242119640111923, -0.699923038482666, 0.1742531806230545, -0.7323424220085144, -0.47424405813217163, -0.09532326459884644, -0.5688967108726501, 0.12125805020332336, -0.0402102917432785, -0.8595713973045349, 0.5122753381729126, -0.19794590771198273, -0.5969854593276978, 0.20319026708602905, -0.5218865275382996, -0.021344834938645363, 0.19766461849212646, -0.4548952281475067, -0.4045969545841217, 0.2275313287973404, 0.20066215097904205, 0.36570531129837036, -0.06912672519683838, -0.0526006817817688, -0.36486613750457764, -0.43747302889823914, 0.6086671352386475, -0.4273594915866852, 0.7947496771812439, 0.3186836540699005, -0.3777429759502411, 0.07948700338602066, -0.5992762446403503, -0.16241607069969177, 0.20940032601356506, -0.45069313049316406, -0.3602370321750641, -0.2590169906616211, -0.5003160834312439, -0.19681711494922638, 0.4841748774051666, -0.565186619758606, 0.16798831522464752, -0.36755189299583435, 0.5876816511154175, 1.2059788703918457, -0.15680448710918427, 0.44800227880477905, -0.29905208945274353, 0.4848288297653198, -0.17138893902301788, 0.42617708444595337, -0.33206459879875183, -0.7042754888534546, -0.549698531627655, -0.6615467667579651, 0.3342083692550659, 0.3423837125301361, -0.21596954762935638, -0.017333421856164932, -0.26095011830329895, -0.48299670219421387, -0.6902329325675964, 0.6323385238647461, 0.6070799827575684, 0.15257875621318817, -0.054911527782678604, -0.09497302770614624, -0.16757269203662872, -1.070435643196106, -0.4615594148635864, -0.14611530303955078, -0.27207356691360474, 0.7345332503318787, 0.30275169014930725, 0.06670223921537399, 0.5504251718521118, -0.7164906859397888, -0.4191732704639435, -0.08324366062879562, 0.07873649895191193, 0.39453643560409546, 0.35919323563575745, 0.5248988270759583, -0.5180990695953369, -0.23880423605442047, -0.15970049798488617, -0.6022932529449463, -0.007754978258162737, -0.11721358448266983, -0.1932920664548874, 0.21658745408058167, 0.4786551296710968, -0.8656643629074097, 0.3260211944580078, 0.6917607188224792, -0.22833633422851562, 0.49434125423431396, -0.2727563977241516, -0.6453388929367065, -0.7168260216712952, -0.06887387484312057, -0.05326180160045624, -0.30494633316993713, -0.37402307987213135, 0.4221244156360626, 0.10375646501779556, -0.24517177045345306, -0.6280534863471985, 0.5332028865814209, -0.6565234065055847, -0.30538493394851685, -0.35191094875335693, -0.05110298842191696, -0.1556852012872696, 0.5200161933898926, -0.11560004204511642, 0.9495261907577515, 0.6071490049362183, -0.5722267031669617, 0.05412892997264862, 0.09171485900878906, -0.23149064183235168, -0.14918072521686554, -0.5598073601722717, 0.47818800806999207, -0.040702901780605316, 0.21848222613334656, -0.6725430488586426, -0.16526924073696136, 0.08585333079099655, -0.3958621621131897, 0.3115239441394806, -0.6199263334274292, -0.5284003615379333, -0.014186684973537922, -0.40311434864997864, 0.23827120661735535, 0.7919553518295288, -0.7601147890090942, 0.5438927412033081, 0.6128753423690796, -0.1472727507352829, -0.7925077676773071, -1.032318353652954, 0.08828765153884888, -0.07231346517801285, -0.6024656295776367, -0.08312417566776276, -0.027900181710720062, -0.21456515789031982, 0.1588728278875351, -0.15259800851345062, -0.2651069760322571, 0.2065274566411972, 0.5691473484039307, 0.24475663900375366, -0.5456516146659851, 0.08750949054956436, -0.2229006141424179, -0.08092173933982849, 0.25016504526138306, -0.5569581985473633, 0.47175726294517517, -0.31636181473731995, -0.5278679728507996, -0.33119678497314453, 0.14662419259548187, 0.6254184246063232, -0.15712590515613556, 0.6607720255851746, 0.26017501950263977, -0.4334532618522644, -0.4618871510028839, -0.4406416714191437, -0.026783807203173637, -0.5260730981826782, 0.1789712756872177, -0.14237166941165924, -0.8498594164848328, 0.5417400598526001, -0.10505612194538116, 0.3014558255672455, 0.36545872688293457, 0.36254748702049255, 0.2608466148376465, 0.8958232998847961, 0.697494626045227, -0.24459819495677948, 0.3327982425689697, -0.38531988859176636, 0.23463031649589539, -0.6280736923217773, -0.42158207297325134, -0.42951640486717224, -0.3877333104610443, -0.7076472043991089, -0.37030890583992004, 0.26100054383277893, -0.05093102529644966, -0.32605475187301636, 0.11213091015815735, -0.3846820890903473, 0.6115449070930481, 0.944599986076355, 0.19088800251483917, 0.44973620772361755, 0.07882920652627945, 0.1212344542145729, 0.07120431214570999, -0.5247769951820374, -0.67674720287323, 1.4798109531402588, 0.8430686593055725, 0.8584235310554504, 0.42098915576934814, 0.6878445148468018, 0.12109126150608063, 0.42806968092918396, -0.6980156898498535, 0.5957608819007874, -0.19257868826389313, -0.7328847050666809, -0.1702880561351776, -0.5344544649124146, -0.8893512487411499, -0.05434337258338928, 0.006033341400325298, -0.7374628186225891, 0.3326568007469177, 0.37937623262405396, -0.33483830094337463, 0.6198237538337708, -0.8117848038673401, 0.538783609867096, -0.4336290955543518, -0.47987064719200134, -0.06642479449510574, -0.3376365602016449, 0.6037458777427673, -0.3248134255409241, 0.27451810240745544, -0.2591763734817505, -0.3838917911052704, 0.5990850329399109, -0.346324622631073, 1.1285375356674194, -0.38004785776138306, -0.15695229172706604, 0.3235395848751068, 0.14721491932868958, 0.46224233508110046, 0.3424469232559204, 0.2065347284078598, 0.5428969264030457, -0.07224753499031067, -0.5211939811706543, -0.38744646310806274, 0.7848048806190491, -0.8935173749923706, -0.7551805377006531, -0.3105432689189911, -0.4030987322330475, -0.14281311631202698, 0.21947015821933746, 0.17746470868587494, 0.44975998997688293, 0.16781385242938995, 0.2602442502975464, 0.9739293456077576, -0.4980575144290924, 0.29225867986679077, 0.49257537722587585, -0.18716128170490265, -0.14511358737945557, 0.9615969061851501, 0.12266351282596588, 0.3721981644630432, 0.22496025264263153, 0.3240494728088379, -0.307543009519577, -0.8014429807662964, -0.327205628156662, 0.4685901403427124, -0.7214863300323486, -0.5027727484703064, -0.33785778284072876, -0.48136085271835327, -0.20948399603366852, 0.197696715593338, -0.59808349609375, -0.526203453540802, -0.2561013400554657, -0.16935840249061584, 0.3046896159648895, 1.0555542707443237, -0.1349124163389206, 0.249860942363739, -0.8509467244148254, -0.03670603409409523, 0.3572668135166168, 0.5349540710449219, 0.17713239789009094, -0.2755512297153473, -0.08798807114362717, -0.17576953768730164, -0.32622310519218445, -0.544043779373169, 0.2761997878551483, 0.14671967923641205, 0.510582685470581, 0.6727688312530518, 0.08274274319410324, 0.26661524176597595, -0.30640068650245667, 0.9688423275947571, 0.058820292353630066, -0.8241544365882874, 0.3113057315349579, -0.21973788738250732, 0.12057217210531235, 0.1220843493938446, 0.30133962631225586, -0.03860095515847206, -0.513001561164856, -0.6011074185371399, -0.969170331954956, 0.45399200916290283, -0.05669660121202469, 0.483102411031723, 0.2174653261899948, 0.4886637032032013, 0.14986015856266022, 0.24170929193496704, -0.9699370265007019, -0.1840336173772812, -0.11666031181812286, -0.16041706502437592, 0.25328367948532104, -0.46947380900382996, -0.4016040563583374, 0.16079828143119812, 0.42537400126457214, -0.019086305052042007, 0.4157543480396271, 0.08198369294404984, -0.20489010214805603, 0.2149365395307541, 0.34891632199287415, 0.46965882182121277, 0.5347393155097961, -0.2986508011817932, 0.47798800468444824, -0.022102775052189827, -0.5149494409561157, -0.07045599073171616, -0.10505999624729156, -0.22331412136554718, -0.0592404380440712, 0.5212767720222473, 0.7508236765861511, 0.04070587083697319, -1.0022248029708862, 0.7024246454238892, 0.06293482333421707, -0.3702560067176819, -0.43580687046051025, 0.0593656525015831, 0.09718628227710724, 0.41338762640953064, 0.36690783500671387, -0.10241736471652985, 0.000517752836458385, -0.47173431515693665, 0.13306854665279388, 0.5466473698616028, -0.22595691680908203, -0.46606799960136414, 0.648077666759491, -0.0030745845288038254, 0.023442815989255905, 0.4599888026714325, 0.09101766347885132, -0.31487932801246643, 0.49758821725845337, 0.4355957508087158, 0.8311240673065186, 0.00983260665088892, 0.06494096666574478, 0.09300609678030014, 0.4752873182296753, -0.04618784412741661, 0.12671132385730743, -0.046465687453746796, -0.4351154565811157, -0.3792242109775543, -0.4926750361919403, -0.39941704273223877, 0.5555611848831177, -0.45188578963279724, 0.09101651608943939, -0.9554444551467896, -0.12441472709178925, -0.27249714732170105, -0.1723335236310959, -0.7562448978424072, -0.3618239164352417, 0.37302273511886597, 1.0409823656082153, -0.5563892126083374, 0.6773421764373779, 0.2351037859916687, -0.5061970353126526, -0.8831007480621338, -0.1318332552909851, 0.0687796026468277, -1.2722983360290527, 0.876617431640625, 0.07236801087856293, -0.03855128213763237, -0.2914009392261505, -0.6844525933265686, -0.8449901938438416, 1.0728548765182495, 0.6817384958267212, -0.8707565665245056, -0.15669885277748108, 0.46651625633239746, 0.33247730135917664, -0.2231660932302475, -0.07818111032247543, 0.41828829050064087, 0.28436657786369324, -0.09063909202814102, -0.6443846225738525, 0.24038974940776825, 0.0017219020519405603, -0.1531674712896347, 0.05963721126317978, -0.7038571238517761, 0.9146693348884583, -0.10866888612508774, -0.4044658839702606, 0.06282452493906021, 0.303476482629776, 0.19540466368198395, 0.29683566093444824, 0.43381717801094055, 0.3691413104534149, 0.9324498176574707, 0.09816568344831467, 1.2116950750350952, -0.409591943025589, 0.11534144729375839, 0.8949263095855713, -0.04142021760344505, 1.0512598752975464, 0.3640817105770111, 0.15073227882385254, 0.12419711798429489, 0.43227115273475647, -0.1327635794878006, 0.513069212436676, 0.32004478573799133, -0.39705783128738403, 0.03915053606033325, -0.11447596549987793, -0.24274924397468567, 0.16470825672149658, 0.39556360244750977, -0.523686945438385, 0.05307575315237045, -0.1922045648097992, 0.16839593648910522, -0.08339396864175797, -0.48754340410232544, 0.9375421404838562, 0.4744163751602173, -0.27239319682121277, 0.517037034034729, -0.2635937035083771, 0.660494327545166, -0.6473757028579712, 0.24514652788639069, -0.24322770535945892, 0.36396002769470215, -0.2203366607427597, -0.6537683606147766, 0.36831754446029663, 0.31199049949645996, 0.2438066601753235, -0.33931106328964233, 0.8478164076805115, -0.0297201219946146, -0.29775118827819824, 0.49660733342170715, 0.4956059157848358, 0.2676100432872772, -0.27967190742492676, -0.48553091287612915, 0.36579272150993347, -0.2844558656215668, -0.19067738950252533, 0.401690274477005, 0.1886138617992401, 0.09802976995706558, 0.6305566430091858, 0.5946846008300781, 0.6599535346031189, 0.4520280063152313, -0.1481245905160904, 0.8479917645454407, -0.46078383922576904, -0.24994775652885437, -0.8963584899902344, 0.13578200340270996, -0.10653223842382431, -0.10785669088363647, 0.6117662787437439, 0.5842329263687134, 1.0127696990966797, -0.11828017979860306, 1.1132696866989136, 0.5799375176429749, 0.3719799518585205, -0.8460476994514465, 0.767717182636261, -0.43761783838272095, 0.7114574313163757, 0.1472052037715912, -0.7622573971748352, -0.23930536210536957, 0.020719576627016068, -0.33211269974708557, -0.4438357949256897, 0.31501880288124084, 0.8236718773841858, -0.18187101185321808, -0.10624460875988007, 0.2962922751903534, 0.34853535890579224, 0.5599458813667297, 0.6333240866661072, 0.8869158625602722, -0.04306377097964287, 0.8650731444358826, -0.030290670692920685, -0.4378887116909027, -0.07930541783571243, -0.8560003638267517, -0.830367922782898, -0.26210877299308777, -0.13669055700302124, -0.19975566864013672, 0.016572849825024605, 0.6276389956474304, 0.9313709139823914, -0.6655492782592773, -0.29364141821861267, -0.0584758035838604, 0.18682990968227386, -0.028442643582820892, -0.13175863027572632, 0.3142682909965515, -0.24336808919906616, -0.5544759631156921, 0.37848594784736633, 0.14681489765644073, 0.12781061232089996, -0.5921016335487366, -0.041681721806526184, 0.3624843657016754, 0.4235045313835144, 0.2570893466472626, 0.5932555794715881, -0.6855147480964661, -0.14485742151737213, -0.019717330113053322, 0.09186647087335587, 0.12485519796609879, 1.072453498840332, -0.340197890996933, 0.12305346131324768, 0.31790676712989807, 1.0987731218338013, 0.6055393815040588, -0.3357194662094116, 0.5882630944252014, -1.0050565004348755, 0.438289999961853, 0.08189220726490021, 0.39704182744026184, 0.24210357666015625, -0.5870844721794128, 0.23290252685546875, 0.11698881536722183, -0.5160415768623352, -0.9810936450958252, 0.529228687286377, -0.6291090250015259, -0.5129371881484985, 0.936463475227356, -0.4225316345691681, -0.5764786005020142, -0.029743529856204987, 0.003823254955932498, -0.08801195025444031, -0.43904685974121094, 0.541824221611023, 0.5037078261375427, -0.13103631138801575, -0.18870826065540314, -0.8998278379440308, 0.5070660710334778, 0.004657356068491936, -0.6081660389900208, 0.3052486181259155, 0.21211446821689606, 0.41021689772605896, 0.23061789572238922, 0.48003363609313965, -0.5273354053497314, -0.12127136439085007, 0.04339897632598877, -0.18352757394313812, -0.4194619357585907, -0.35802146792411804, -0.4406198263168335, 0.285207062959671, 0.5798890590667725, -0.29769405722618103 ]
http://arxiv.org/abs/2403.09530v2
http://arxiv.org/pdf/2403.09530v2
VisionGPT-3D: A Generalized Multimodal Agent for Enhanced 3D Vision Understanding
2024-03-14T16:13:00
2024-03-22T15:26:05
Chris Kelly, Luhui Hu, Jiayin Hu, Yu Tian, Deshun Yang, Bang Yang, Cindy Yang, Zihao Li, Zaoshan Huang, Yuexian Zou
cs.CV
cs.CV, cs.AI, cs.CL, cs.GR
The evolution of text to visual components facilitates people's daily lives, such as generating image, videos from text and identifying the desired elements within the images. Computer vision models involving the multimodal abilities in the previous days are focused on image detection, classification based on well-defined objects. Large language models (LLMs) introduces the transformation from nature language to visual objects, which present the visual layout for text contexts. OpenAI GPT-4 has emerged as the pinnacle in LLMs, while the computer vision (CV) domain boasts a plethora of state-of-the-art (SOTA) models and algorithms to convert 2D images to their 3D representations. However, the mismatching between the algorithms with the problem could lead to undesired results. In response to this challenge, we propose an unified VisionGPT-3D framework to consolidate the state-of-the-art vision models, thereby facilitating the development of vision-oriented AI. VisionGPT-3D provides a versatile multimodal framework building upon the strengths of multimodal foundation models. It seamlessly integrates various SOTA vision models and brings the automation in the selection of SOTA vision models, identifies the suitable 3D mesh creation algorithms corresponding to 2D depth maps analysis, generates optimal results based on diverse multimodal inputs such as text prompts. Keywords: VisionGPT-3D, 3D vision understanding, Multimodal agent
[ -0.577924907207489, -0.8115018606185913, 0.92254638671875, 0.2034241408109665, -0.30247223377227783, -0.14742198586463928, 0.2325904369354248, -0.5944339632987976, -0.11637087166309357, 0.4885910451412201, -0.31117093563079834, -0.45182955265045166, -0.6302735209465027, 0.04994552582502365, -0.15338073670864105, 0.7115333676338196, -0.20877628028392792, 0.01656879484653473, -0.14699411392211914, -0.19453415274620056, -0.302584171295166, -0.41180941462516785, -0.7565405964851379, -0.2593344748020172, 0.4018455147743225, 0.14716795086860657, 0.7758544087409973, 0.4447365701198578, 0.644443929195404, 0.4325738847255707, 0.25743433833122253, 0.10670027881860733, -0.11449692398309708, -0.30602744221687317, -0.16285115480422974, -0.15694989264011383, -0.8516606688499451, -0.13813844323158264, 0.5823186635971069, 0.39845946431159973, 0.04632861167192459, -0.2583509087562561, 0.10130869597196579, 0.5683469176292419, -0.5556811690330505, 0.4791525900363922, -0.11038928478956223, 0.1303853690624237, 0.0970267578959465, -0.3255195617675781, 0.002604849636554718, -0.1840641051530838, 0.3691094219684601, -0.7546404600143433, 0.341239333152771, -0.2364214062690735, 0.5645943284034729, 0.24481889605522156, -0.5727980732917786, -0.07947240769863129, -0.458917498588562, 0.4581368565559387, -0.24692849814891815, 0.43242397904396057, -0.20841243863105774, 0.7577128410339355, -0.09609426558017731, -0.8088568449020386, -0.9739946722984314, -0.13033181428909302, -0.01748138852417469, 0.46817272901535034, 0.08064018934965134, 0.41812485456466675, -0.17664499580860138, 0.3793233335018158, -0.8983381986618042, -0.17985886335372925, -0.34405866265296936, -0.24045488238334656, 0.3259837031364441, 0.045595377683639526, 0.7373682856559753, -0.06028822436928749, -0.8348900675773621, -0.3439260721206665, -0.2694506347179413, -0.2036326378583908, -0.05527281016111374, 0.12512505054473877, -0.24262383580207825, 0.5905836820602417, -0.23566441237926483, 0.8960279226303101, -0.4085595905780792, -0.29180625081062317, 0.3762436509132385, -0.43567267060279846, -0.5491982102394104, -0.22958646714687347, 0.8858039379119873, 0.6484561562538147, 0.30689653754234314, 0.029199469834566116, -0.23626652359962463, 0.22595596313476562, 0.0563967190682888, -0.6329461336135864, -0.20564737915992737, 0.12557297945022583, -0.3565728962421417, -0.22323480248451233, 0.14289285242557526, -1.1232801675796509, -0.6407762765884399, -0.24137140810489655, 0.7237223386764526, -0.3567231297492981, -0.6342133283615112, 0.4918118715286255, -0.28775060176849365, 0.3192628026008606, 0.6852893829345703, -0.8077448010444641, -0.14047102630138397, 0.23419515788555145, 0.8568137288093567, -0.22288274765014648, -0.569645345211029, -0.2114010602235794, 0.5231427550315857, -0.08397546410560608, 1.0374923944473267, -0.478298544883728, -0.36475878953933716, -0.10055845230817795, -0.1533598005771637, -0.3412055969238281, -0.16088330745697021, 0.1600467562675476, -0.3536977171897888, 0.5156357884407043, 0.12075182795524597, 0.12502293288707733, -0.7068477272987366, 0.8179578185081482, -0.884843111038208, 0.4850895404815674, 0.19161812961101532, -0.6397367715835571, 0.26966601610183716, -1.0948506593704224, 0.02408035472035408, 0.35000649094581604, -0.6131914854049683, -0.1879572719335556, -0.16800883412361145, 0.5860255360603333, 0.5943492650985718, -0.389508992433548, 0.1330670565366745, -0.18392565846443176, -0.2138238102197647, -0.23714618384838104, -0.5568867921829224, 0.4741467535495758, 0.05017408728599548, -0.2687157988548279, 0.4008607566356659, -0.5674844980239868, -0.02412984147667885, 0.27909597754478455, -0.3883192241191864, 0.007443449925631285, -0.24624162912368774, 0.3390079736709595, 0.1796470582485199, 0.341030478477478, -0.39425402879714966, 0.3222160041332245, -0.19053758680820465, 0.3906390070915222, 0.6394411325454712, -0.05372113734483719, 0.43303540349006653, -0.05883987247943878, 0.5055996775627136, 0.0381806343793869, 0.37239208817481995, -0.4140703082084656, -0.8001366853713989, -0.49744856357574463, -0.5378757119178772, -0.2781822979450226, 0.6850795745849609, -1.3605276346206665, -0.16366255283355713, -0.5421433448791504, -0.16294606029987335, -0.09178510308265686, -0.04733289033174515, 0.35394367575645447, 0.24669845402240753, 0.3857724070549011, -0.2811902165412903, -0.3585842549800873, -0.8711342811584473, -0.1469234973192215, -0.16862426698207855, -0.12640860676765442, 0.03213623911142349, 0.5261874198913574, -0.6685692667961121, 0.9485877752304077, -0.3127509355545044, -0.6726654171943665, -0.676473081111908, 0.019391115754842758, 0.0561039038002491, 0.46439167857170105, 0.7446972131729126, -1.3937633037567139, -0.39523088932037354, 0.5127632021903992, -1.0265437364578247, 0.24316279590129852, -0.05723585933446884, 0.07627824693918228, 0.06929352134466171, 0.4651181697845459, -0.5040504336357117, 0.4867049753665924, 0.7942811846733093, -0.4118736982345581, 0.37744778394699097, -0.31933915615081787, 0.4025152027606964, -1.155158519744873, -0.10272406041622162, 0.19340771436691284, -0.1901576668024063, -0.6983861923217773, 0.32728254795074463, 0.011160135269165039, -0.0880156084895134, -0.551053524017334, 0.5705451369285583, -0.4195142388343811, -0.1985028088092804, -0.12513533234596252, 0.40164855122566223, 0.09036864340305328, 0.7682816386222839, 0.17716722190380096, 0.7159108519554138, 0.6912420988082886, -0.6861670613288879, 0.801842987537384, 0.15709204971790314, -0.1269710659980774, 0.7423867583274841, -0.4941513240337372, 0.10996648669242859, -0.21542613208293915, 0.19799770414829254, -0.9074376821517944, -0.5769472718238831, 0.5319162607192993, -0.33330264687538147, 0.045928120613098145, -0.1140938326716423, -0.5140800476074219, -0.25055453181266785, -0.23865124583244324, 0.6189693808555603, -0.03249479830265045, -0.7546356916427612, 1.3249691724777222, 0.19961731135845184, -0.08008168637752533, -0.44473186135292053, -0.5847447514533997, 0.22249531745910645, -0.013418380171060562, -0.9214063286781311, 0.3069007694721222, -0.1125047579407692, -0.05256543681025505, 0.0831669345498085, 0.01399810891598463, -0.3084011673927307, -0.3211456537246704, -0.0005708073731511831, 0.29255515336990356, -0.23669295012950897, -0.10203197598457336, -0.2425488829612732, -0.32685917615890503, -0.17669810354709625, -0.30891188979148865, 0.3989022970199585, -0.504592776298523, -0.5261606574058533, -0.4566604197025299, 0.37689703702926636, 0.940056562423706, -0.2971341907978058, 0.2732560634613037, 0.8895962238311768, -0.1931348443031311, 0.22163079679012299, -0.503868043422699, 0.17437119781970978, -0.48979413509368896, 0.799583375453949, -0.7440406084060669, -0.8384690880775452, 0.2302241325378418, -0.11398638784885406, -0.12228067964315414, 0.340487539768219, 0.5360592007637024, 0.10075831413269043, 1.2171639204025269, 1.0610560178756714, 0.08336535096168518, 0.48229241371154785, -0.22767961025238037, 0.20201937854290009, -0.7712443470954895, -0.5620077848434448, 0.04650475084781647, -0.062051285058259964, -0.3879050314426422, -0.4372797906398773, 0.67418372631073, -0.20146821439266205, -0.09299752861261368, 0.02478588931262493, -0.5875640511512756, 0.6298108100891113, 0.3508094549179077, 0.08469726145267487, 0.3618336021900177, 0.14771242439746857, -0.21517454087734222, 0.5331035256385803, -0.521756112575531, -0.40631118416786194, 0.8176618814468384, 0.3095338046550751, 0.5353524684906006, 0.43416956067085266, 0.2352384775876999, 0.12798210978507996, 0.10559483617544174, -0.5987316966056824, 0.7459877133369446, -0.06090984866023064, -0.3972841799259186, -0.2360086292028427, -0.3650282621383667, -0.7105726003646851, 0.8228901624679565, -0.1339966505765915, -0.7375725507736206, 0.18136563897132874, 0.19025461375713348, -0.4261423945426941, 0.6053259968757629, -0.9641650319099426, 1.2179133892059326, -0.26697826385498047, -0.24339936673641205, -0.03906477615237236, -0.5288594961166382, 0.5116472840309143, 0.0004238718538545072, 0.08625136315822601, 0.06902868300676346, -0.045499175786972046, 0.2997465431690216, -0.030376669019460678, 0.7685158848762512, -0.22351911664009094, -0.2574763000011444, 0.1979255974292755, 0.05458962917327881, 0.20519883930683136, 0.13068053126335144, 0.3913947641849518, 0.22538071870803833, 0.06826628744602203, -0.30911844968795776, -0.74057537317276, 0.40468522906303406, -0.7323612570762634, -0.5522215366363525, -0.381071001291275, -0.49977442622184753, -0.03960738703608513, 0.4239591062068939, 0.23671644926071167, 0.5450525283813477, -0.2669784724712372, 0.04077788442373276, 0.5381209254264832, -0.3821071684360504, 0.37970486283302307, 0.32990384101867676, -0.5135584473609924, -0.45621103048324585, 1.0171408653259277, -0.48132404685020447, 0.1537647545337677, 0.6512390971183777, 0.059203531593084335, -0.38537299633026123, -0.6019328832626343, -0.6948490738868713, -0.07410991936922073, -0.876215934753418, -0.09180119633674622, -0.5903263092041016, -0.23541571199893951, -0.5611344575881958, -0.28669312596321106, -0.1162574291229248, 0.02361125499010086, -0.0958438366651535, -0.05812210217118263, 0.11334675550460815, 0.895969808101654, -0.10316532850265503, 0.4647766351699829, -0.8991227746009827, 0.8379732370376587, 0.8456907272338867, 0.4100325405597687, -0.34326067566871643, -0.05796325206756592, 0.08715930581092834, 0.04540397599339485, -0.1720053255558014, -0.7228626608848572, 0.33915162086486816, 0.18382662534713745, 0.6355989575386047, 0.48024600744247437, -0.5466276407241821, 0.6028069853782654, -0.16740074753761292, 0.8542594313621521, 0.5305654406547546, -0.714806079864502, 0.3755015730857849, -0.5419604182243347, 0.4568822383880615, 0.11623156815767288, -0.09441051632165909, -0.5425571799278259, -0.08120176196098328, -0.1469496786594391, -0.700175404548645, 0.7567545771598816, 0.2822854816913605, -0.1574489027261734, 0.31676384806632996, 0.1618945598602295, -0.048078183084726334, 0.025291044265031815, -0.9186708331108093, 0.2293798327445984, -0.8235172629356384, -0.44985589385032654, -0.12735167145729065, -0.2732394337654114, 0.02553465962409973, 0.0030287737026810646, 0.216932475566864, -0.46995875239372253, 0.4906083047389984, 0.37165674567222595, -0.2630666196346283, 0.35198840498924255, 0.20645539462566376, 0.7462906837463379, 0.6064584851264954, -0.17318004369735718, 0.24028067290782928, 0.036433570086956024, -0.9249688386917114, -0.02608620934188366, 0.11296577006578445, 0.17274165153503418, -0.4024122953414917, 0.4501584470272064, 0.6729515194892883, -0.047332026064395905, -0.5252254009246826, 0.7607928514480591, -0.17149408161640167, -0.5513396859169006, -0.2762584984302521, 0.11928808689117432, -0.3193855881690979, 0.5826317667961121, 0.3591058850288391, 0.33364608883857727, 0.20216374099254608, -0.47277286648750305, 0.08645354211330414, 0.27087318897247314, -0.3915913999080658, -0.4485566318035126, 0.6914247274398804, 0.4350673258304596, 0.1431853026151657, 0.5806508660316467, -0.07249018549919128, -0.7911587357521057, 0.6443764567375183, 0.34275272488594055, 0.9646480679512024, -0.23601725697517395, 0.3320784270763397, 0.14543698728084564, 0.40112894773483276, -0.17766457796096802, 0.37420985102653503, -0.07191530615091324, -1.1578632593154907, -0.33016282320022583, -0.4478989243507385, -0.14590144157409668, 0.22377769649028778, -0.15989266335964203, -0.017189133912324905, -0.35667091608047485, 0.16036738455295563, -0.25721925497055054, -0.43444547057151794, -0.7862155437469482, 0.4475157558917999, 0.17496126890182495, 0.5493876934051514, -0.5659909844398499, 0.8541650176048279, 1.0255287885665894, -0.6799141764640808, -0.36442914605140686, -0.03632267192006111, 0.2682051956653595, -1.0291680097579956, 0.5302949547767639, 0.38177525997161865, -0.5696468949317932, 0.29332926869392395, -0.49130210280418396, -0.530134379863739, 1.1601842641830444, 0.34899768233299255, -0.18822766840457916, -0.1580473631620407, 0.3856845498085022, 0.31439995765686035, -0.38087648153305054, 0.2503955364227295, 0.39353856444358826, 0.7050652503967285, 0.4354233145713806, -0.8871593475341797, -0.138904869556427, -0.3662528097629547, 0.21755532920360565, 0.11287815868854523, -0.42453840374946594, 0.9518911242485046, -0.25283968448638916, -0.3727204501628876, 0.11588513851165771, 0.36941102147102356, 0.1018199771642685, 0.2549282908439636, 0.6410042643547058, 0.5120031237602234, 0.09381909668445587, -0.08518407493829727, 1.0182991027832031, 0.12834790349006653, 0.13309834897518158, 0.7291275858879089, -0.07054862380027771, 0.3097366392612457, 0.30340883135795593, 0.204128235578537, 0.19390138983726501, 0.4784807860851288, -0.1442568004131317, 0.5963714122772217, -0.406631737947464, -0.33577150106430054, -0.26737743616104126, 0.3474205732345581, -0.4001465439796448, 0.6548309922218323, 0.38578981161117554, -0.0735192820429802, -0.4614078104496002, 0.31311631202697754, -0.37788036465644836, -0.1678445190191269, -0.4744955897331238, 0.8264234662055969, -0.174761101603508, -0.3358203172683716, 0.20552067458629608, -0.05517439544200897, 0.5950927734375, -0.6187170743942261, -0.2431669533252716, -0.164236918091774, 0.3806818127632141, -0.1309969425201416, -0.9567265510559082, 0.11869028955698013, -0.2203107327222824, -0.0179081279784441, -0.25911688804626465, 0.5661554932594299, -0.34038588404655457, -0.29663676023483276, 0.3665889501571655, 0.5739362835884094, 0.24315261840820312, -0.6019684076309204, -0.6804936528205872, 0.10280787944793701, 0.14564941823482513, -0.1344739943742752, 0.18245981633663177, 0.6946573853492737, -0.010645936243236065, 0.6673876643180847, 0.565485954284668, -0.30455097556114197, -0.12566129863262177, 0.09610778093338013, 0.7998259663581848, -0.6246058344841003, -0.5562713146209717, -0.8546860814094543, 0.5944930911064148, -0.05457714572548866, -0.1246519461274147, 0.5149296522140503, 0.3404604494571686, 0.9007562398910522, -0.13327758014202118, 0.9523130059242249, -0.015302115119993687, -0.01041620783507824, -0.7269858121871948, 0.6942471861839294, -0.9153880476951599, -0.02159818634390831, -0.41830360889434814, -1.2201517820358276, -0.7056910991668701, 0.7273918986320496, 0.025742610916495323, 0.24293076992034912, 0.7751050591468811, 0.6945946216583252, -0.289218544960022, -0.05091773718595505, 0.6757015585899353, -0.07902083545923233, 0.6354452967643738, 0.738285481929779, 0.7853867411613464, -0.28294411301612854, 0.9026201963424683, 0.23950029909610748, -0.4539906978607178, -0.21158765256404877, -0.6484516859054565, -0.8687598705291748, -0.7971662282943726, -0.05712524801492691, 0.23575641214847565, -0.052146974951028824, 0.46353328227996826, 0.5648512244224548, -0.3476591110229492, 0.07120803743600845, -0.27494049072265625, -0.04855681210756302, -0.24051468074321747, -0.1868663877248764, 0.4662359654903412, -0.028047731146216393, -0.8207245469093323, 0.38343504071235657, 0.6451711654663086, 0.4640456438064575, -0.3198704123497009, -0.13741157948970795, 0.06901049613952637, -0.09858507663011551, 0.9266152381896973, 0.2629930377006531, -0.6384079456329346, -0.3273410499095917, -0.3046248257160187, -0.1411067694425583, 0.14947545528411865, 0.6015445590019226, -0.7756997346878052, 0.9024472832679749, 0.5038890838623047, 0.3763851225376129, 0.3641665279865265, -0.2327350527048111, 0.7036384344100952, -0.4073478877544403, 0.43389609456062317, 0.00015186799282673746, 0.4865504205226898, 0.38347986340522766, -0.22138947248458862, 0.5886984467506409, 0.3005223274230957, -0.18868526816368103, -0.37450429797172546, 0.502666175365448, -1.1930214166641235, -0.2705073654651642, 0.9980015158653259, 0.003921451512724161, -0.3252929747104645, -0.19244484603405, -0.5167460441589355, 0.07799482345581055, -0.21256503462791443, 0.56611168384552, 0.3505697250366211, -0.05541549250483513, -0.6809291243553162, -0.6834800243377686, 0.3875398337841034, -0.17036360502243042, -0.9154676198959351, -0.30446457862854004, 0.49408596754074097, -0.03366157039999962, 0.3492599427700043, 0.8176363706588745, -0.24823084473609924, 0.3263408839702606, 0.017624972388148308, 0.415962278842926, -0.2497720867395401, -0.5945069193840027, -0.14015546441078186, 0.4525529444217682, -0.3875897526741028, -0.5079967975616455 ]
http://arxiv.org/abs/2403.09522v2
http://arxiv.org/pdf/2403.09522v2
MT-PATCHER: Selective and Extendable Knowledge Distillation from Large Language Models for Machine Translation
2024-03-14T16:07:39
2024-04-01T07:11:32
Jiahuan Li, Shanbo Cheng, Shujian Huang, Jiajun Chen
cs.CL
cs.CL
Large Language Models (LLM) have demonstrated their strong ability in the field of machine translation (MT), yet they suffer from high computational cost and latency. Therefore, transferring translation knowledge from giant LLMs to medium-sized machine translation models is a promising research direction. However, traditional knowledge distillation methods do not take the capability of student and teacher models into consideration, therefore repeatedly teaching student models on the knowledge they have learned, and failing to extend to novel contexts and knowledge. In this paper, we propose a framework called MT-Patcher, which transfers knowledge from LLMs to existing MT models in a selective, comprehensive and proactive manner. Considering the current translation ability of student MT models, we only identify and correct their translation errors, instead of distilling the whole translation from the teacher. Leveraging the strong language abilities of LLMs, we instruct LLM teachers to synthesize diverse contexts and anticipate more potential errors for the student. Experiment results on translating both specific language phenomena and general MT benchmarks demonstrate that finetuning the student MT model on about 10% examples can achieve comparable results to the traditional knowledge distillation method, and synthesized potential errors and diverse contexts further improve translation performances on unseen contexts and words.
[ -0.3064441680908203, -0.8629132509231567, 0.7763851881027222, 0.13767465949058533, -0.35931921005249023, 0.39758020639419556, -0.2893773019313812, -0.09237590432167053, 0.06292059272527695, 0.7548407912254333, -0.4400358200073242, -0.1743580847978592, -0.9080728888511658, 0.14460891485214233, -0.579554557800293, 1.031468391418457, -0.4468246102333069, 0.04424675181508064, -0.13918523490428925, -0.032174546271562576, -0.6047755479812622, -0.44396987557411194, -0.30118528008461, -0.4868401885032654, 0.3357694447040558, 0.3062831163406372, 0.16972987353801727, 0.5390860438346863, 0.5018851161003113, 0.3476308286190033, -0.16622120141983032, 0.41838735342025757, -0.5163311958312988, 0.16202202439308167, -0.40788698196411133, -0.6443235278129578, -0.46133896708488464, 0.06806082278490067, 0.7866721153259277, 0.6092091798782349, -0.03806279972195625, 0.21050800383090973, 0.3269517421722412, 0.7654930353164673, -0.3346116840839386, -0.11394002288579941, -1.0726231336593628, -0.10184279829263687, -0.278071790933609, -0.036033034324645996, -0.5550873279571533, -0.2577859163284302, -0.030003592371940613, -0.5738979578018188, 0.19903020560741425, -0.19841773808002472, 0.49607330560684204, 0.38341590762138367, -0.6770424246788025, -0.09525395184755325, -0.8422417044639587, 0.9501339197158813, -0.7811594605445862, 0.022987382486462593, 0.32382068037986755, 0.8169317245483398, -0.311870276927948, -0.819703221321106, -0.704890787601471, 0.0482235848903656, -0.060270171612501144, 0.007136054802685976, -0.15597377717494965, -0.17154823243618011, 0.15604987740516663, 0.47550395131111145, -0.15364831686019897, -0.14181925356388092, -0.5336002111434937, 0.03277354687452316, 0.2808469831943512, 0.03501372039318085, 0.24559684097766876, 0.057379599660634995, -0.5039157867431641, -0.09127966314554214, -0.5457746982574463, -0.22977207601070404, 0.055275265127420425, 0.128954216837883, 0.11901800334453583, 0.4861154556274414, -0.059468723833560944, 0.8005510568618774, 0.022647125646471977, -0.42239609360694885, 0.16325131058692932, -0.17277193069458008, -0.15094172954559326, -0.204667329788208, 0.639439582824707, 0.30593279004096985, -0.0013518057530745864, -0.23697634041309357, -0.4112791121006012, -0.16135835647583008, 0.17456793785095215, -0.7921069860458374, -0.25952500104904175, 0.021561339497566223, -0.028473390266299248, -0.4435085952281952, -0.1443556398153305, -0.7420753240585327, -0.3478269875049591, -0.4392573833465576, 0.5368842482566833, -0.4502944350242615, -0.34663647413253784, -0.15591388940811157, -0.3019641637802124, -0.4195358157157898, 0.23401722311973572, -0.642509937286377, 0.02774915099143982, 0.3976629376411438, 0.7302208542823792, -0.27928832173347473, -0.5115686655044556, -0.46585211157798767, 0.4603516459465027, -0.21498551964759827, 0.6406468152999878, -0.5183411836624146, -0.20523379743099213, -0.22026929259300232, 0.20024403929710388, -0.2911320626735687, -0.697758138179779, 0.25743257999420166, -0.4454476535320282, 0.15723735094070435, -0.27889755368232727, -0.387381911277771, -0.3205605149269104, 0.4552735388278961, -0.6280452609062195, 0.827319324016571, 0.45823583006858826, -0.5349981784820557, 0.30653268098831177, -0.6198055148124695, -0.4506392776966095, -0.08238829672336578, 0.25684741139411926, -0.3430781364440918, 0.25475361943244934, 0.5024287104606628, 0.414077490568161, -0.3560466766357422, 0.7089236974716187, -0.2247963696718216, -0.14821067452430725, 0.5853255391120911, -0.5779973864555359, 0.4567791819572449, 0.32571691274642944, -0.1759166270494461, 0.10219456255435944, -0.7693153619766235, -0.29436051845550537, -0.07241415232419968, -0.5630614757537842, -0.5263645648956299, -0.2464233934879303, -0.005217419937252998, 0.3425663113594055, 0.04369090870022774, -0.2742650806903839, 0.5050426721572876, -0.12748540937900543, 0.7252174615859985, 0.8823363780975342, 0.024439310654997826, 0.6952091455459595, -0.3096975088119507, 0.5286914706230164, 0.24627798795700073, 0.015255838632583618, -0.2092607319355011, -0.3010016083717346, -0.7568320035934448, -0.6356141567230225, 0.5129101276397705, 0.4520011246204376, -1.2899526357650757, 0.24967555701732635, -0.3390340805053711, -0.42568328976631165, -0.7337741255760193, 0.5091267228126526, 0.2657279074192047, 0.6324739456176758, 0.5080267786979675, 0.00820962991565466, -0.6584270596504211, -0.6387279033660889, -0.45817244052886963, 0.11486009508371353, -0.1287662237882614, -0.10808613896369934, 0.3933587670326233, -0.3370632827281952, 0.8381938338279724, -0.4541747570037842, -0.5852100253105164, -0.5458447933197021, -0.10428349673748016, 0.34171727299690247, 0.5817294716835022, 0.5796073079109192, -0.660677969455719, -0.6738380193710327, 0.18242351710796356, -0.5746285319328308, -0.18610656261444092, -0.13378877937793732, -0.34513384103775024, -0.14151199162006378, 0.48579904437065125, -0.28157752752304077, -0.02238314412534237, 0.905062735080719, -0.258293479681015, 0.23717540502548218, -0.2570713460445404, 0.22876180708408356, -1.5894989967346191, 0.1195608377456665, -0.1948883831501007, -0.49446940422058105, -0.7476216554641724, 0.2370145469903946, 0.11418403685092926, 0.2813730239868164, -0.4506699740886688, 0.7013631463050842, -0.45662859082221985, 0.41583067178726196, -0.5152543187141418, 0.2369328886270523, 0.1491698920726776, 0.2180231511592865, -0.1594524085521698, 0.6226826906204224, 0.3003125786781311, -0.5273167490959167, 0.4156297743320465, 0.016635069623589516, -0.41396135091781616, 0.6376416683197021, -0.36295086145401, 0.11208054423332214, 0.15384365618228912, 0.220172718167305, -0.9009507894515991, -0.23167194426059723, 0.11591928452253342, -0.22185400128364563, 0.39552992582321167, -0.6202482581138611, -0.5416743755340576, -0.46028921008110046, 0.22758448123931885, 0.40736186504364014, 0.7009499073028564, -0.6081693172454834, 0.7229575514793396, 0.40353259444236755, -0.1828102171421051, -0.43341344594955444, -0.7939264178276062, 0.10578101128339767, -0.4132619798183441, -0.34997087717056274, 0.13806137442588806, -0.061221156269311905, -0.12170444428920746, 0.007685248274356127, -0.12702670693397522, -0.4466992914676666, 0.13753558695316315, -0.05208473652601242, 0.3116951286792755, -0.07249897718429565, -0.07409471273422241, 0.4394148290157318, -0.1315714567899704, -0.1660047322511673, -0.5587419271469116, 0.4319136440753937, 0.24766913056373596, -0.3576625883579254, 0.09085845947265625, 0.07936994731426239, 0.8172657489776611, -0.2595202922821045, 0.8925506472587585, 0.6500722169876099, -0.23253388702869415, -0.2273208200931549, -0.8489118814468384, -0.3114256262779236, -0.4342869818210602, 0.49409279227256775, -0.5332363843917847, -0.8769314289093018, 0.4646982252597809, -0.5017375946044922, 0.09108636528253555, 0.3300067186355591, 0.3924791216850281, 0.058521464467048645, 0.9030807018280029, 0.7039356231689453, -0.21295151114463806, 0.5429064035415649, -0.19355210661888123, -0.051042597740888596, -0.990347146987915, 0.007277950178831816, -0.24873778223991394, -0.6003037095069885, -0.179100900888443, -0.7983964681625366, 0.27355989813804626, 0.39926353096961975, 0.20535728335380554, 0.4506675899028778, -0.423077255487442, 0.597647488117218, 0.47372519969940186, 0.06004395708441734, 0.49760204553604126, 0.31733188033103943, -0.4461098611354828, -0.017738500609993935, -0.6539727449417114, -0.5194771885871887, 1.154343843460083, 0.3030640184879303, 0.35252419114112854, 0.15897905826568604, 0.645771324634552, -0.07721754163503647, 0.7643688917160034, -0.47513335943222046, 0.3405369818210602, -0.2032936066389084, -0.7635648846626282, -0.2381674200296402, -0.7435430288314819, -0.6205467581748962, 0.5598189830780029, -0.23037537932395935, -0.4292944073677063, -0.08053870499134064, 0.22456784546375275, 0.12958066165447235, 0.7353665232658386, -0.5722890496253967, 0.8634486198425293, -0.009016317315399647, -0.11836080998182297, -0.04532026872038841, -0.3822244703769684, 0.577355146408081, -0.6347474455833435, 0.6509578227996826, -0.028305962681770325, 0.21380338072776794, 0.524436354637146, -0.33603063225746155, 0.8247590065002441, -0.30090123414993286, -0.13507038354873657, 0.29297924041748047, 0.35809126496315, 0.745398998260498, -0.22052925825119019, -0.05864865705370903, 0.0009365021251142025, 0.04576509818434715, -0.4679471552371979, -0.6071985960006714, 0.5776459574699402, -0.5700931549072266, -0.6585996150970459, 0.06078602001070976, -0.8014160990715027, -0.1591903567314148, 0.4721992015838623, 0.10259886831045151, 0.028841907158493996, -0.041373640298843384, 0.13601195812225342, 0.6057741045951843, 0.09086920320987701, 0.24456076323986053, 0.8182255625724792, -0.5471673011779785, -0.6492393612861633, 1.1034283638000488, 0.1544988751411438, 0.49851977825164795, 0.4235541820526123, 0.2592719495296478, -0.07692532241344452, -0.764477550983429, -0.6889371871948242, 0.18086546659469604, -0.6583698391914368, -0.2547098398208618, -0.6137935519218445, -0.066757932305336, -0.19414430856704712, -0.12345517426729202, -0.5165565609931946, -0.530301034450531, -0.040627770125865936, -0.10057580471038818, 0.32612332701683044, 0.5887928009033203, 0.020215321332216263, 0.5681466460227966, -1.1002479791641235, 0.31293919682502747, 0.34284618496894836, 0.15726172924041748, -0.21963545680046082, -0.9573931694030762, -0.28034183382987976, 0.2679736018180847, -0.48842400312423706, -0.8408847451210022, 0.5822792649269104, -0.057942844927310944, 0.6544079780578613, 0.24643413722515106, 0.2526841461658478, 0.8531030416488647, -0.6733280420303345, 0.5808890461921692, 0.36093100905418396, -0.9875242710113525, 0.5586114525794983, -0.22511139512062073, 0.277551531791687, 0.6177574992179871, 0.0461898148059845, -0.46735885739326477, -0.8225598335266113, -0.2930248975753784, -0.9161613583564758, 0.6076911687850952, 0.14673776924610138, 0.12069613486528397, 0.11731679737567902, 0.29374516010284424, 0.25665226578712463, 0.1834605634212494, -0.7918404936790466, -0.08351893723011017, -0.019335150718688965, -0.32904642820358276, -0.36139336228370667, -0.12312004715204239, -0.29822230339050293, -0.21568089723587036, 0.7016662359237671, -0.12383205443620682, -0.29864901304244995, -0.0150971794500947, -0.4618116319179535, -0.13348692655563354, 0.4288681745529175, 0.5016028881072998, 0.7987402081489563, 0.018036412075161934, 0.5044195055961609, 0.5707864165306091, -0.5226679444313049, 0.31616950035095215, 0.08249880373477936, -0.21355962753295898, -0.003002282464876771, 0.14360545575618744, 0.613940954208374, -0.013076202012598515, -0.47951364517211914, 0.4047304689884186, 0.1490505039691925, -0.2910829782485962, 0.01571432128548622, -0.07129333168268204, 0.17995402216911316, 0.44913938641548157, 0.3708522617816925, 0.41623321175575256, 0.00832144170999527, -0.3297305405139923, 0.07220364362001419, 0.055229552090168, -0.5446150898933411, -0.31470683217048645, 0.570323646068573, 0.21967363357543945, 0.03155840188264847, 0.453584223985672, -0.01965256966650486, -0.6529268026351929, 0.28743356466293335, 0.7440212368965149, 0.6637058258056641, -0.5759067535400391, 0.018886040896177292, 0.29632315039634705, 0.4216097593307495, -0.39713457226753235, -0.1375734806060791, 0.05176768824458122, -0.47164270281791687, -0.6802272200584412, -0.6122669577598572, -0.12963715195655823, 0.07660644501447678, -0.5618517398834229, 0.17572209239006042, -0.04846278205513954, -0.20858289301395416, -0.3299624025821686, -0.3052757978439331, -0.5059682726860046, -0.048379600048065186, -0.26279279589653015, 0.7993005514144897, -0.9123920798301697, 1.202715277671814, 0.8705829381942749, -0.25117772817611694, -0.7511172294616699, -0.1093023493885994, -0.1279435008764267, -0.6065670847892761, 0.6419257521629333, -0.12000808119773865, 0.28657054901123047, 0.08424391597509384, -0.1410098671913147, -0.5450927019119263, 1.1568570137023926, 0.6520546674728394, -0.8805179595947266, 0.06259043514728546, 0.3428730368614197, 0.3339187204837799, -0.2305828183889389, 0.08936310559511185, 0.4386747479438782, 0.5327404141426086, 0.46513837575912476, -0.9755994081497192, 0.2775154709815979, -0.1843976080417633, 0.09610404819250107, 0.1946752518415451, -0.3099184036254883, 0.6255635023117065, -0.026944687590003014, 0.0048104384914040565, -0.04452844336628914, 0.4048216640949249, 0.31766122579574585, 0.3196295201778412, 0.4417699873447418, 0.4832412004470825, 0.7285062074661255, -0.10510574281215668, 0.7798566222190857, -0.2767082750797272, 0.2082206755876541, 1.0587186813354492, 0.08181542903184891, 0.9160007834434509, 0.9339419603347778, -0.25655117630958557, 0.27815356850624084, 0.23681402206420898, -0.0315154530107975, 0.6301661133766174, 0.27741310000419617, -0.25055015087127686, -0.37446898221969604, 0.23331379890441895, -0.46370869874954224, 0.0298707764595747, 0.23491868376731873, -0.5795997977256775, 0.0022028996609151363, 0.2828226387500763, 0.09143226593732834, 0.08838993310928345, -0.09208343178033829, 0.8548107147216797, 0.24196887016296387, -0.8516884446144104, 0.6052550077438354, 0.10869086533784866, 0.5197598934173584, -0.45796874165534973, -0.10924667119979858, -0.34316152334213257, 0.57090163230896, -0.020007336512207985, -0.6232585310935974, 0.3762493133544922, 0.04536008834838867, -0.4608514904975891, -0.4112103581428528, 0.59957355260849, -0.7117179036140442, -0.6977394819259644, -0.014496264047920704, 0.571320116519928, 0.23651689291000366, -0.32128003239631653, -0.40128037333488464, -0.010527144186198711, 0.19534222781658173, -0.09851939976215363, 0.44379353523254395, 0.7322229146957397, 0.10748790204524994, 0.608840823173523, 0.8413234353065491, 0.3592328429222107, 0.13979287445545197, -0.041100695729255676, 1.1927953958511353, -0.29301610589027405, -0.22917315363883972, -1.0915671586990356, 0.8618242144584656, -0.17395497858524323, 0.15283358097076416, 0.7814139723777771, 0.37359243631362915, 0.747025728225708, -0.28871622681617737, 0.9659699201583862, 0.17294763028621674, 0.5836386680603027, -0.47039082646369934, 0.9188886284828186, -0.3936252295970917, 0.6851258277893066, -0.3921549320220947, -1.146406888961792, -0.13129402697086334, 0.5036688446998596, -0.3909173607826233, -0.27368730306625366, 0.5382061004638672, 0.4946245849132538, -0.3484669029712677, -0.3913334906101227, 0.4971895217895508, 0.34864872694015503, 0.5014744400978088, 0.5851624011993408, 0.9474175572395325, -0.4596913158893585, 0.7658087015151978, -0.05544722452759743, -0.5412865877151489, -0.1509181708097458, -0.8227359652519226, -1.247029185295105, -0.5944082140922546, -0.2628686726093292, -0.266884982585907, 0.06801667809486389, 0.6949813365936279, 0.6967517733573914, -0.7106093168258667, -0.033225711435079575, -0.09916519373655319, 0.3829050064086914, -0.36360737681388855, -0.16819658875465393, 0.07582392543554306, -0.3913976550102234, -0.8487704992294312, 0.48615193367004395, -0.03708454221487045, 0.16421495378017426, -0.08944007754325867, -0.08308105170726776, 0.1937190741300583, 0.0443321093916893, 0.6132835745811462, -0.10564437508583069, -0.693364679813385, 0.097268246114254, -0.0026536271907389164, -0.04653321951627731, -0.19118331372737885, 0.7683285474777222, -0.6241474747657776, 0.5806887745857239, 0.37802854180336, 0.6364938616752625, 0.6391048431396484, -0.37989944219589233, 0.8205510377883911, -0.7679259777069092, 0.13427263498306274, -0.1484057903289795, 0.3784179091453552, 0.23791038990020752, -0.007869635708630085, 0.34519681334495544, 0.43128788471221924, -0.3476583659648895, -1.1095298528671265, 0.14181749522686005, -0.6773419380187988, -0.48458370566368103, 1.1721535921096802, -0.5656877160072327, -0.10789632797241211, 0.04941545054316521, -0.4451361298561096, 0.42449888586997986, -0.044909898191690445, 0.8499506115913391, 0.5943818688392639, 0.6341684460639954, -0.2941197156906128, -0.7234737277030945, 0.15926994383335114, 0.13114595413208008, -0.6240459084510803, 0.1136246994137764, 0.18395818769931793, 0.7051773071289062, 0.04397875815629959, 0.2935938537120819, -0.22026915848255157, -0.15537957847118378, -0.022684456780552864, -0.000150276260683313, -0.40233832597732544, -0.19079571962356567, 0.03554002195596695, 0.0948554128408432, 0.18763276934623718, -0.008563254028558731 ]
http://arxiv.org/abs/2403.09516v3
http://arxiv.org/pdf/2403.09516v3
Leveraging Prototypical Representations for Mitigating Social Bias without Demographic Information
2024-03-14T15:58:36
2024-04-05T18:35:37
Shadi Iskander, Kira Radinsky, Yonatan Belinkov
cs.CL
cs.CL, cs.CY, cs.LG
Mitigating social biases typically requires identifying the social groups associated with each data sample. In this paper, we present DAFair, a novel approach to address social bias in language models. Unlike traditional methods that rely on explicit demographic labels, our approach does not require any such information. Instead, we leverage predefined prototypical demographic texts and incorporate a regularization term during the fine-tuning process to mitigate bias in the model's representations. Our empirical results across two tasks and two models demonstrate the effectiveness of our method compared to previous approaches that do not rely on labeled data. Moreover, with limited demographic-annotated data, our approach outperforms common debiasing approaches.
[ -0.44922906160354614, -0.6771905422210693, 0.22473245859146118, 0.2931419610977173, -0.03139893710613251, 0.43556520342826843, -0.17516396939754486, -0.04196103662252426, 0.37182745337486267, 0.6103543043136597, -0.6046164631843567, -0.4111451804637909, -0.6566655039787292, -0.18671315908432007, -0.02279142662882805, 0.873690128326416, 0.2635765075683594, 0.08526352792978287, -0.10481318831443787, -0.000318131351377815, -0.010012349113821983, -0.608651876449585, -0.6277658343315125, -0.4928356111049652, 0.3843701481819153, 0.7180259227752686, 0.9307337403297424, 0.7412708401679993, 0.08546935021877289, 0.1774664670228958, -0.32603099942207336, 0.22220289707183838, -0.8434756994247437, -0.07659433782100677, 0.05174620822072029, -0.17109720408916473, -0.3204861283302307, 0.2348307967185974, 0.762505054473877, 1.1148464679718018, 0.006800854578614235, 0.43360263109207153, 0.14369358122348785, 0.9748753905296326, -0.7914682030677795, 0.3073926866054535, -0.5918464660644531, -0.08020129799842834, -0.3982253968715668, -0.09479165077209473, -0.2047598510980606, -0.6400490999221802, -0.16354314982891083, -0.3747624456882477, 0.7081961631774902, -0.19189468026161194, 0.6480752229690552, 0.1081760823726654, -0.6180984377861023, 0.08149708062410355, -1.10560142993927, 0.8238766193389893, -0.454987108707428, 0.21287095546722412, 0.8060839176177979, 0.2836199998855591, -0.3190678060054779, -0.1126919537782669, -0.5793406367301941, -0.03283321484923363, -0.1816548854112625, -0.21607869863510132, -0.2286585420370102, 0.06284736841917038, 0.25602978467941284, 0.05959758535027504, -0.21043361723423004, -0.1529809683561325, -0.5782439708709717, -0.21964624524116516, 0.6484032869338989, -0.09171748161315918, 0.28921809792518616, -0.10359083861112595, -0.17432597279548645, -0.17581231892108917, -0.7328305244445801, -0.04209665209054947, 0.8098514080047607, 0.34404537081718445, -0.263202965259552, 0.3496865928173065, -0.17629246413707733, 0.2426021546125412, 0.6226423382759094, 0.16707387566566467, 0.3565099835395813, -0.0478888638317585, 0.22887027263641357, 0.014963570050895214, 0.5283499956130981, 0.5947942733764648, 0.8341872692108154, -0.2351941019296646, -0.17991754412651062, 0.37633103132247925, -0.11960072815418243, -0.735958456993103, -0.1338125616312027, 0.024009184911847115, -0.475033700466156, -0.3542073667049408, 0.10456741601228714, -1.490413784980774, -0.5704829096794128, 0.01320090051740408, -0.2442464828491211, 0.056899543851614, -0.5131760239601135, 0.04959007725119591, -0.4711718261241913, 0.029873911291360855, -0.07056532055139542, -1.1742429733276367, 0.5902706384658813, 0.36657917499542236, 0.7439640164375305, 0.30177104473114014, 0.28957831859588623, -0.5152655839920044, 0.5051072239875793, -0.4230412542819977, 0.5940330028533936, -1.0336295366287231, -0.5477607846260071, 0.009412042796611786, -0.23460160195827484, 0.098486989736557, -0.6177675127983093, 0.34569841623306274, -0.6264075636863708, -0.31403446197509766, -0.368956983089447, -0.14096319675445557, 0.06627172976732254, -0.3347001373767853, -0.9850435256958008, 0.9141409993171692, 0.03296832740306854, -0.8760483264923096, 0.7825265526771545, -0.4147348403930664, -0.33335283398628235, 0.03246249258518219, -0.4099109470844269, -0.3018130362033844, 0.11931608617305756, 0.4502066373825073, 0.24933011829853058, -0.10384044051170349, 0.5103991031646729, -0.5632259249687195, -0.41530641913414, 0.0007803522748872638, -0.3683604598045349, 0.8845060467720032, 0.37912002205848694, -0.5565593242645264, -0.16194383800029755, -0.7381952404975891, -0.5584943294525146, 0.17731596529483795, 0.06077836453914642, -0.8454025387763977, 0.0731094479560852, 0.3321841359138489, 0.07050970941781998, 0.040673017501831055, -0.8959182500839233, 0.037830453366041183, -0.33916839957237244, 0.3199496269226074, 1.0141711235046387, -0.010685483925044537, 0.9363760352134705, -0.6076743006706238, 0.6445074677467346, -0.15561915934085846, 0.17483974993228912, 0.27195537090301514, -0.2506484091281891, -0.7081223726272583, -0.4994800388813019, 0.31397131085395813, 0.13800875842571259, -0.8398917317390442, 0.289521723985672, -0.06285253167152405, -0.40801650285720825, -0.3819190263748169, 0.3807167112827301, 0.29648298025131226, 0.1922425478696823, 0.0911388024687767, -0.035192910581827164, -0.7987746000289917, -0.9774708151817322, -0.2729424238204956, -0.28863251209259033, 0.07860645651817322, 0.24720339477062225, 0.2503478229045868, -0.3080132305622101, 0.9606280326843262, -0.5050347447395325, -0.4455926716327667, -0.2587355077266693, 0.3206940293312073, -0.031775400042533875, 0.5500609874725342, 0.8151193261146545, -1.0963549613952637, -0.36895498633384705, -0.258379191160202, -0.3312411904335022, -0.5783059597015381, -0.06954828649759293, -0.24755671620368958, 0.07058560103178024, 0.45601409673690796, -0.15056711435317993, 0.5813963413238525, 0.5837729573249817, -0.4772385358810425, -0.026701126247644424, -0.01633099466562271, -0.1658175140619278, -0.6284775137901306, 0.10249641537666321, 0.46740028262138367, -0.11352688819169998, -0.7541074156761169, -0.22292472422122955, 0.050833091139793396, 0.07116920500993729, -0.06931423395872116, 1.1208252906799316, -0.5691983699798584, 0.5738149881362915, -0.08090707659721375, -0.23507292568683624, 0.038275640457868576, 0.1353158950805664, 0.14046408236026764, 0.6883203983306885, 0.08152393996715546, -0.566046953201294, -0.405975341796875, 0.2691536247730255, -0.009832172654569149, 0.27047979831695557, -0.6804936528205872, 0.5093335509300232, -0.9663688540458679, 0.35292157530784607, -1.0942150354385376, -0.26696422696113586, 0.32046255469322205, -0.49911800026893616, -0.04393609240651131, -0.5464312434196472, -0.3713376820087433, -0.3008071780204773, -0.4193388819694519, 0.4710233807563782, 0.6929022669792175, -0.2546575665473938, 0.576159656047821, 0.7139501571655273, -0.32197073101997375, -0.5023831129074097, -0.4488978981971741, -0.24168682098388672, -0.4745490550994873, -0.40715712308883667, 0.4925646483898163, -0.056900810450315475, -0.5113051533699036, -0.27460721135139465, -0.19106894731521606, -0.3825399875640869, 0.020272908732295036, 0.12521569430828094, 0.25227090716362, 0.2770669758319855, 0.11895999312400818, 0.2285095751285553, -0.16319797933101654, -0.2278568595647812, 0.1349971890449524, 0.743751049041748, 0.521841287612915, 0.049527376890182495, 0.01017178874462843, 0.5884501934051514, 0.5220720767974854, -0.3729313015937805, 0.7252556085586548, 0.48583000898361206, -0.4719178378582001, -0.14225925505161285, -1.0227195024490356, -0.22294199466705322, -0.5304574370384216, 0.07704072445631027, -0.02473536878824234, -0.8978909850120544, 0.6798548102378845, 0.01726834662258625, 0.010131428018212318, 0.19867925345897675, 0.5626000165939331, 0.13876347243785858, 1.281284213066101, 0.9069111347198486, -0.0645814836025238, 0.7558940649032593, -0.16149955987930298, -0.0049874866381287575, -0.5700138807296753, -0.13028134405612946, -0.7909500598907471, -0.1268927901983261, -0.5225206613540649, -0.4895453155040741, 0.18213945627212524, -0.16602765023708344, -0.3133423626422882, -0.015220324508845806, -0.2148340791463852, 0.4454619288444519, 0.36192187666893005, 0.1279180496931076, 0.07987412065267563, 0.13703219592571259, -0.17900946736335754, -0.05812787264585495, -0.6029905080795288, -0.9689609408378601, 1.2002849578857422, 0.3661234974861145, 1.0403081178665161, 0.07503336668014526, 0.9553725719451904, 0.730754554271698, 0.429537832736969, -0.14327789843082428, 0.43107870221138, -0.553761899471283, -1.1008141040802002, -0.20139333605766296, -0.6728389859199524, -1.0069832801818848, 0.15330757200717926, -0.29783809185028076, -0.8860233426094055, 1.0052918195724487, 0.345884770154953, -0.4559566080570221, 0.12031857669353485, -0.6030446887016296, 0.5024580359458923, 0.24261723458766937, -0.35998982191085815, -0.1738576740026474, -0.3144984245300293, 0.17373685538768768, -0.2670276463031769, 0.7112230658531189, -0.5556122660636902, 0.2089020162820816, 1.0385587215423584, -0.2911948561668396, 1.3431549072265625, -0.6815415620803833, 0.37540319561958313, 0.09302852302789688, -0.059051211923360825, 0.3370751738548279, -0.010859405621886253, -0.4052315950393677, 0.13121774792671204, 0.3540342152118683, -0.798573911190033, -0.4095425307750702, 0.5106337666511536, -0.8713569045066833, -0.5503363013267517, -0.2640751898288727, -0.6718945503234863, -0.18855565786361694, -0.010170727036893368, -0.251027911901474, 0.25764888525009155, -0.5638611912727356, 0.12426301836967468, 0.44395431876182556, -0.03565819188952446, 0.12500730156898499, 0.3916040062904358, -0.1757223904132843, -0.32393914461135864, 0.3440992832183838, 0.4315560758113861, 0.25966617465019226, -0.12220431864261627, 0.4017462134361267, -0.15843965113162994, -0.094315305352211, -0.41285964846611023, 0.4237610399723053, -0.6284846663475037, 0.12523312866687775, -0.8937206864356995, 0.18215636909008026, -0.7456824779510498, -0.0784781202673912, -0.20088869333267212, -0.3262529671192169, -0.029057124629616737, -0.05300125479698181, 0.23202042281627655, 0.7753199338912964, -0.2905541658401489, 0.6438187956809998, -0.511039137840271, 0.6945188045501709, 0.2286950647830963, 0.18343482911586761, 0.270369291305542, -0.3684515357017517, 0.03412631154060364, 0.3112250566482544, 0.04485092684626579, -0.9877598881721497, 0.4319562017917633, 0.35695716738700867, 0.9918403625488281, 0.4667152166366577, 0.533974289894104, 0.6278275847434998, -0.44049033522605896, 0.28731173276901245, -0.13006389141082764, -0.8732191324234009, 0.6121939420700073, -0.3425295352935791, 0.1153133437037468, 0.7917460799217224, 0.5081566572189331, -0.45563358068466187, -0.39754873514175415, -0.4819798469543457, -1.0493324995040894, 0.4173489809036255, 0.11238934099674225, 0.7053423523902893, -0.5063004493713379, 0.4723280370235443, 0.1256057620048523, 0.14644277095794678, -0.4678250551223755, -0.2508523464202881, 0.08837141841650009, -0.39651164412498474, -0.10848987102508545, -0.6194725632667542, -0.19262568652629852, -0.32451537251472473, 0.3306436240673065, 0.009821360930800438, -0.11766598373651505, 0.37162360548973083, -0.17836466431617737, -0.34529587626457214, 0.1317172795534134, 0.26500099897384644, 0.6829313635826111, -0.525165855884552, 0.14175014197826385, -0.2711385190486908, -0.7666206359863281, 0.5575870275497437, 0.3453773856163025, -0.6964336633682251, 0.1594020128250122, 0.2132168859243393, 0.2976871430873871, -0.06793996691703796, -0.3180302381515503, 0.4567203223705292, -0.09560482203960419, -0.04256150871515274, -0.32879364490509033, -0.04726732149720192, -0.2319381833076477, 0.1875670999288559, 0.7511694431304932, -0.04727555066347122, 0.1545381397008896, -0.5320606827735901, 0.26246652007102966, 0.5260511040687561, -0.7548850178718567, -0.3560740053653717, 0.8228143453598022, 0.4512207806110382, -0.041022032499313354, 0.23124733567237854, -0.043184854090213776, -0.22732055187225342, 0.8242449760437012, 0.5071516633033752, 0.7419260740280151, -0.4299369156360626, 0.636604368686676, 0.285453736782074, 0.38996320962905884, 0.005432287696748972, 0.09291468560695648, 0.11266226321458817, -1.0432049036026, -0.36064937710762024, -0.6770700216293335, -0.1705113798379898, -0.208683043718338, -0.8463918566703796, 0.15728792548179626, -0.7682572603225708, -0.6596488952636719, 0.32724398374557495, -0.22951258718967438, -0.901142418384552, 0.06965230405330658, 0.18932440876960754, 0.802654504776001, -1.5279277563095093, 0.7755841612815857, 0.8710778951644897, -0.3822339177131653, -0.2996227443218231, 0.34666091203689575, 0.27773401141166687, -0.7837064266204834, 1.075472116470337, 0.030802054330706596, -0.2775854766368866, -0.02020196244120598, -0.4278443157672882, -0.6666994690895081, 0.5540353655815125, 0.5409517884254456, -0.4835457503795624, 0.025880856439471245, 0.05639258027076721, 0.33000704646110535, -0.5676128268241882, 0.10606203228235245, 0.7584793567657471, 0.7014951109886169, 0.19627441465854645, -0.6777122020721436, 0.03079613484442234, -0.4067053198814392, 0.29976019263267517, -0.10853654891252518, -0.6521556973457336, 0.7035397887229919, -0.15070714056491852, -0.5285692811012268, -0.2434568852186203, 0.3816590905189514, 0.13650085031986237, 0.3328850269317627, 0.9115193486213684, -0.08868476003408432, 0.7084459662437439, 0.13530856370925903, 0.7401272058486938, -0.1568693369626999, 0.030361348763108253, 0.8930177688598633, -0.5539607405662537, 0.16239969432353973, 0.8137661218643188, -0.12327048182487488, 0.26650145649909973, 0.5304532051086426, 0.35029909014701843, 0.7760338187217712, 0.3647881746292114, -0.2551894187927246, -0.22404082119464874, -0.48219072818756104, -0.030791105702519417, 0.6459584832191467, 0.1736663430929184, -0.2667015492916107, -0.33540841937065125, -0.08944635838270187, 0.3917993903160095, 0.7596452832221985, -0.2729620337486267, 0.7171882390975952, -0.07721274346113205, -0.18059709668159485, 0.5311204195022583, -0.15425987541675568, 0.9319859147071838, -0.4212401807308197, -0.4462953507900238, -0.6078672409057617, 0.1194542795419693, -0.09250350296497345, -0.21002495288848877, 0.45679622888565063, -0.00574771361425519, -0.46450239419937134, -0.08366084098815918, 0.7754517793655396, -0.522659420967102, -0.9750936031341553, 0.45304903388023376, 0.541913628578186, -0.18504133820533752, 0.009695143438875675, -0.3153710663318634, 0.0555373840034008, 0.06607592105865479, -0.030712855979800224, 0.0836949497461319, 0.3618192970752716, -0.5588938593864441, 0.6912927627563477, 0.6047772765159607, 0.5029663443565369, -0.1777569204568863, 0.3299424350261688, 1.028276801109314, -0.5332186818122864, -0.39317768812179565, -1.0437119007110596, 0.393621027469635, -0.38921797275543213, 0.03709624707698822, 0.6075446009635925, 0.22136043012142181, 0.7414948344230652, 0.0014684031484648585, 0.9111955761909485, 0.01617126725614071, 0.5618200898170471, -0.17014986276626587, 0.9079974889755249, -0.24789613485336304, 0.1969115436077118, -0.5244045853614807, -0.9878252148628235, -0.3797280788421631, 0.6980295181274414, -0.6056113839149475, 0.26506492495536804, 0.00824188906699419, 1.013800859451294, 0.020208226516842842, -0.3101676404476166, 0.30128368735313416, 0.04883728548884392, 0.24752363562583923, 0.08342886716127396, 0.6282463073730469, 0.02181379683315754, 0.3703139126300812, -0.3087848722934723, -0.8363233804702759, -0.08506285399198532, -0.8176741003990173, -1.2812448740005493, -0.2840365767478943, -0.28373458981513977, -0.20348747074604034, 0.6346280574798584, 0.9878572821617126, 0.9469140768051147, -0.6808287501335144, -0.20567096769809723, 0.5315239429473877, 0.05668274313211441, -0.17117516696453094, -0.18788735568523407, 0.2759435772895813, -0.09352793544530869, -0.806194007396698, -0.1628257930278778, -0.045056525617837906, 0.04741942137479782, -0.5608624815940857, -0.00009795704681891948, -0.2174689620733261, 0.47114941477775574, 0.21082085371017456, -0.028186198323965073, -0.5348495841026306, -0.48370903730392456, -0.12342962622642517, 0.12452219426631927, 0.034161802381277084, 0.715706467628479, -0.6591283679008484, 0.5475784540176392, 0.3473159372806549, 0.3250804841518402, 0.42671793699264526, 0.12714789807796478, 0.9066705107688904, -0.8097295165061951, 0.708766520023346, 0.2866194546222687, 0.23331820964813232, 0.5672990083694458, -0.6972960233688354, 0.4878191649913788, -0.059705883264541626, -0.2561947703361511, -0.645140528678894, 0.32483142614364624, -0.6302807927131653, -0.05621163919568062, 1.3241854906082153, -0.10780483484268188, -0.222340926527977, -0.6535425782203674, -0.27961528301239014, 0.32284894585609436, -0.6733098030090332, 1.1673007011413574, 0.7093403339385986, 0.5742447972297668, -0.3585376739501953, -0.6777233481407166, 0.3625634014606476, 0.3338153064250946, -0.15779194235801697, 0.3666834831237793, 0.4539875388145447, 0.31492576003074646, -0.16520531475543976, 1.1542596817016602, -0.4346173405647278, 0.09106133133172989, -0.09563970565795898, 0.29606732726097107, 0.09440455585718155, -0.08477532118558884, -0.10161198675632477, -0.17507392168045044, 0.20599991083145142, 0.01979614980518818 ]
http://arxiv.org/abs/2403.09762v1
http://arxiv.org/pdf/2403.09762v1
Emotional Intelligence Through Artificial Intelligence : NLP and Deep Learning in the Analysis of Healthcare Texts
2024-03-14T15:58:13
2024-03-14T15:58:13
Prashant Kumar Nag, Amit Bhagat, R. Vishnu Priya, Deepak kumar Khare
cs.CL
cs.CL, cs.AI, cs.HC, cs.LG, cs.NE
This manuscript presents a methodical examination of the utilization of Artificial Intelligence in the assessment of emotions in texts related to healthcare, with a particular focus on the incorporation of Natural Language Processing and deep learning technologies. We scrutinize numerous research studies that employ AI to augment sentiment analysis, categorize emotions, and forecast patient outcomes based on textual information derived from clinical narratives, patient feedback on medications, and online health discussions. The review demonstrates noteworthy progress in the precision of algorithms used for sentiment classification, the prognostic capabilities of AI models for neurodegenerative diseases, and the creation of AI-powered systems that offer support in clinical decision-making. Remarkably, the utilization of AI applications has exhibited an enhancement in personalized therapy plans by integrating patient sentiment and contributing to the early identification of mental health disorders. There persist challenges, which encompass ensuring the ethical application of AI, safeguarding patient confidentiality, and addressing potential biases in algorithmic procedures. Nevertheless, the potential of AI to revolutionize healthcare practices is unmistakable, offering a future where healthcare is not only more knowledgeable and efficient but also more empathetic and centered around the needs of patients. This investigation underscores the transformative influence of AI on healthcare, delivering a comprehensive comprehension of its role in examining emotional content in healthcare texts and highlighting the trajectory towards a more compassionate approach to patient care. The findings advocate for a harmonious synergy between AI's analytical capabilities and the human aspects of healthcare.
[ -0.23451349139213562, -0.6218349933624268, 0.5999623537063599, 0.19222794473171234, 0.10902077704668045, 0.0821620523929596, -0.18291006982326508, -0.6550208926200867, 0.2893565595149994, 0.3480868935585022, -0.653139591217041, -0.2962394654750824, -0.7384886145591736, 0.2319764792919159, -0.11626636236906052, 0.9580911993980408, 0.12163043022155762, 0.42578282952308655, -0.31251394748687744, -0.17572057247161865, -0.06730607151985168, -0.7906582951545715, -0.6710477471351624, -0.6596173048019409, 0.42025959491729736, 0.21702693402767181, 0.7291087508201599, 0.15974357724189758, 0.7854090332984924, 0.37943315505981445, 0.07456718385219574, 0.05944790691137314, 0.08808979392051697, 0.23526428639888763, 0.36486873030662537, -0.29678207635879517, -0.6660562753677368, 0.020249342545866966, 0.24009419977664948, 0.5143495202064514, -0.21077920496463776, 0.05786297842860222, -0.130605548620224, 1.0576709508895874, -0.2857751250267029, 0.21059003472328186, -0.10993277281522751, 0.7362189888954163, 0.085695780813694, -0.3453337252140045, -0.18886636197566986, -0.25930511951446533, 0.33984678983688354, -0.3497856557369232, -0.1891786903142929, -0.011841448955237865, 0.4388888478279114, 0.8769545555114746, -0.4667573571205139, -0.5964065790176392, -0.6439340114593506, 0.7185772657394409, -0.7636825442314148, 0.21276433765888214, 0.26765701174736023, 0.17159727215766907, 0.2842850983142853, -0.9333292841911316, -0.6572345495223999, -0.3411926031112671, -0.1414182335138321, 0.43082112073898315, -0.43917250633239746, 0.35867756605148315, 0.30716177821159363, 0.45719125866889954, -0.4147282540798187, 0.1532059907913208, -0.22096550464630127, 0.09725525975227356, 0.9948082566261292, 0.49538952112197876, 0.7046489715576172, -0.083759605884552, 0.03219239413738251, 0.20252107083797455, 0.12740319967269897, 0.055640000849962234, 0.11050727963447571, -0.03777346760034561, -0.07565230876207352, 0.7648714184761047, -0.1657710075378418, 0.022952953353524208, -0.22134770452976227, -0.06432150304317474, 0.5402796864509583, -0.03116748109459877, -0.40571609139442444, 0.372171550989151, 0.9211480617523193, 0.6329352259635925, 0.16552025079727173, 0.05993196740746498, 0.00014796391769777983, 0.31388571858406067, 0.8173067569732666, -0.7293146848678589, -0.24921070039272308, 0.6203286647796631, -0.9602962732315063, -0.3539201617240906, -0.06707873940467834, -1.0088714361190796, -0.6224751472473145, -0.5864354372024536, -0.3435717225074768, -0.4994824528694153, -0.10813654959201813, 0.15369939804077148, 0.03817712143063545, 0.12356549501419067, 0.00818307138979435, -0.6541558504104614, 0.3719499409198761, 0.8860054016113281, 0.5469605326652527, 0.12616248428821564, -0.12126803398132324, -0.05750475451350212, -0.41105055809020996, -0.3010566532611847, 0.5691011548042297, -0.5732315182685852, -0.2570861577987671, 0.34834325313568115, -0.23797670006752014, 0.03647229075431824, -0.4134044051170349, 0.8422495126724243, -0.10803265869617462, 0.30305013060569763, -0.03152533993124962, -0.6756151914596558, -0.2448950707912445, 0.2405637800693512, -0.6028515696525574, 0.5694202780723572, 0.24964334070682526, -0.6205516457557678, 0.1225295439362526, -1.1664700508117676, -0.7197561860084534, 0.31157782673835754, 0.029507381841540337, -0.45333781838417053, 0.5495217442512512, 0.10037204623222351, 0.45163607597351074, -0.21683017909526825, 0.09867430478334427, -0.3227361738681793, -0.12472587078809738, 0.36554762721061707, -0.2059435248374939, 0.8118140697479248, 0.21991795301437378, -0.4658714234828949, 0.25879424810409546, -0.5293141007423401, -0.001372666796669364, 0.08086328208446503, 0.032409872859716415, -0.20566268265247345, 0.1212206482887268, 0.03890989348292351, 0.12385911494493484, 0.21346622705459595, -0.2262209802865982, 0.0513608418405056, -0.7146757245063782, 0.44982948899269104, 0.4746782183647156, 0.02808874100446701, 0.5492927432060242, -0.3167508840560913, 0.6681905388832092, -0.22818228602409363, 0.6342858076095581, -0.16690634191036224, -0.4931231439113617, -0.5524135828018188, -0.04958415776491165, 0.00003554768409230746, 0.7056928277015686, -0.3427109718322754, 0.48261556029319763, 0.17693369090557098, -0.4502706825733185, -1.245124340057373, -0.26705828309059143, 0.18361273407936096, 0.7515416741371155, 0.4953697919845581, -0.27381452918052673, -0.42143601179122925, -0.6933498382568359, -0.25412118434906006, -0.2701694667339325, 0.24995794892311096, 0.612116813659668, 0.5417752861976624, -0.7629740834236145, 0.3337046205997467, -0.379682332277298, -0.44830408692359924, -0.1449597179889679, 0.36944565176963806, -0.025784829631447792, 0.4676674008369446, 0.23959386348724365, -0.7095772624015808, -0.36603090167045593, 0.2358451634645462, -1.1041316986083984, -0.08175994455814362, -0.14390097558498383, 0.14111287891864777, 0.11921840906143188, 0.17403864860534668, -0.5017221570014954, 0.4531215727329254, 0.22568221390247345, -0.36903682351112366, 0.3270457684993744, -0.23554670810699463, 0.2270207703113556, -0.8580203056335449, 0.04104289785027504, 0.20368538796901703, 0.2723582088947296, -0.8034372329711914, -0.10567621141672134, -0.3464853763580322, 0.02500879392027855, -0.13940741121768951, 0.47090163826942444, -0.07898949086666107, 0.33757349848747253, -0.43481069803237915, -0.25350815057754517, -0.021381765604019165, 0.07878617197275162, -0.2655290365219116, 0.11979427188634872, 0.4162899851799011, -0.14533717930316925, 0.7854748964309692, 0.4502234160900116, 0.17138685286045074, 0.9249581694602966, -0.4680592119693756, 0.22996094822883606, -0.2787361145019531, 0.11947760730981827, -0.29460254311561584, -0.30346307158470154, 0.4421307444572449, -0.7114897966384888, 0.07213887572288513, 0.3894919455051422, -0.24151118099689484, -0.44115716218948364, -0.14924004673957825, 0.08735498785972595, 0.5491275191307068, 0.16879689693450928, 0.7500333786010742, 0.7347734570503235, -0.5116448402404785, -0.43443191051483154, -0.8422632813453674, 0.4909476041793823, -0.1210426390171051, -0.23116400837898254, 0.39762604236602783, -0.09062743186950684, -0.8024604916572571, 0.08056730777025223, 0.16539360582828522, -0.2447352409362793, 0.3715015947818756, 0.38557565212249756, 0.24525198340415955, -0.09579850733280182, 0.5058999061584473, 0.29268693923950195, -0.3029142916202545, 0.7679743766784668, -0.1644687056541443, 0.3027210533618927, -0.4699012339115143, -0.170589417219162, -0.9025111794471741, 0.8314769268035889, 0.6467795372009277, -0.2969237267971039, 0.6938141584396362, 0.7638158798217773, -0.6974478960037231, 0.12408483028411865, -0.3938279449939728, -0.22159548103809357, -0.26746028661727905, 0.4437617361545563, 0.294299840927124, -0.6798198819160461, 0.33789557218551636, -0.11598377674818039, -0.17839550971984863, 0.6864352822303772, 0.7310671210289001, -0.5438572764396667, 1.2574667930603027, 0.666692852973938, -0.23627744615077972, 0.20121406018733978, -0.19432827830314636, 0.3421785533428192, -0.6860048174858093, -0.44211864471435547, -0.5229138731956482, -0.5268831849098206, -0.9949661493301392, 0.020833777263760567, 0.2534632980823517, -0.5135043263435364, -0.3313623368740082, -0.5516176819801331, -0.9114774465560913, -0.11265157163143158, 0.6153711080551147, 0.5276320576667786, 0.08323373645544052, -0.5879725217819214, 0.31489548087120056, -0.3068693280220032, -0.2632315754890442, -0.44570791721343994, 0.714688777923584, 0.6081613302230835, 0.25478893518447876, -0.24244365096092224, 0.6784633994102478, 0.596415638923645, 0.5546669960021973, -1.0755889415740967, 0.25061678886413574, -0.142739936709404, -0.34297484159469604, -0.16427548229694366, -0.2747577130794525, -0.8548204898834229, -0.40534189343452454, -0.35461512207984924, -0.33551445603370667, 0.02626815065741539, -0.08454684168100357, -0.46405336260795593, 0.01759941875934601, -0.6161860227584839, 0.7438830137252808, -0.7811487317085266, 0.19696791470050812, -0.4077235162258148, -1.0813987255096436, 0.0281732939183712, 0.1614278256893158, -0.1415649801492691, -0.04366057738661766, -0.22436590492725372, 0.6709823608398438, -0.015911223366856575, 0.647162139415741, -0.021132098510861397, 0.2075585275888443, -0.0897509753704071, -0.28468579053878784, -0.07497744262218475, 0.07462915778160095, -0.25710329413414, 0.21216535568237305, -0.15456850826740265, -0.29574212431907654, -0.8936553597450256, 0.4064386487007141, -0.8410804271697998, -0.3722113072872162, -0.6338008046150208, -0.5418446063995361, -0.27761346101760864, 0.2594890892505646, -0.09733176976442337, 0.2557680010795593, -0.22521375119686127, 0.016737833619117737, 0.4169379770755768, -0.33051419258117676, 0.22888128459453583, -0.017813298851251602, 0.180755615234375, -0.3942182660102844, 0.8788857460021973, -0.06469836086034775, -0.4365350902080536, 0.4082738757133484, 0.46234211325645447, -0.10743111371994019, -0.6758224964141846, -0.05046398192644119, 0.23287732899188995, -0.5690131187438965, -0.020124243572354317, -0.6619556546211243, -0.32586434483528137, -0.33116406202316284, -0.37752100825309753, -0.13207483291625977, 0.02119525335729122, -0.7762755155563354, -0.2145020216703415, 0.20309682190418243, 0.9492688179016113, 0.39821916818618774, 0.14517244696617126, -0.8625950217247009, 0.14849595725536346, 0.1445329785346985, 0.3789002299308777, 0.23130707442760468, 0.156943678855896, -0.10554376989603043, -0.08966653794050217, -0.22408823668956757, -1.0677978992462158, 0.7999974489212036, 0.15161484479904175, 0.4297592341899872, 0.5035114288330078, 0.16724467277526855, 0.3163888156414032, -0.3670245110988617, 0.8213281631469727, 0.2676153779029846, -0.8627457022666931, 0.6914870142936707, -0.10158421099185944, 0.20513121783733368, 0.7312349677085876, 0.7005833387374878, -0.532143235206604, -0.011934913694858551, -0.8905454874038696, -0.8150155544281006, 0.3267543911933899, -0.09058382362127304, 0.251761257648468, -0.07533913850784302, 0.48118770122528076, -0.00640439847484231, 0.3122367560863495, -0.34629401564598083, -0.35221877694129944, -0.17255836725234985, -0.8727692365646362, 0.03896201401948929, -0.1691036969423294, -0.2812625765800476, -0.21086890995502472, 0.44449901580810547, -0.3278755247592926, 0.6325459480285645, 0.45481082797050476, 0.05841097980737686, -0.1442161649465561, 0.10491222888231277, 0.4035681188106537, 0.2619433104991913, 0.07064218819141388, -0.05625274032354355, 0.1275663673877716, -0.4980917274951935, -0.18036329746246338, 0.41952991485595703, 0.1273394078016281, -0.044261232018470764, 0.49476468563079834, 0.6517519950866699, -0.15821900963783264, -0.8013493418693542, 0.35969316959381104, -0.25949856638908386, -0.07441601902246475, -0.5005661249160767, -0.16596221923828125, -0.23658083379268646, 0.6934360265731812, 0.25087589025497437, 0.27234092354774475, 0.6534402370452881, -0.5426772832870483, 0.2741501033306122, 0.3436230421066284, -0.9825442433357239, -0.23933538794517517, 0.3888419270515442, 0.23479242622852325, -0.7854866981506348, 0.8322024941444397, 0.0914468765258789, -0.6202757358551025, 0.6095065474510193, -0.004744899924844503, 1.1046080589294434, -0.1958884298801422, 0.21159499883651733, -0.12245368212461472, 0.13151568174362183, 0.17886590957641602, 0.2873767018318176, 0.05628099665045738, -0.40634655952453613, -0.19913360476493835, -0.2813422679901123, -0.7011263370513916, -0.2162415236234665, -0.676206111907959, -0.14359211921691895, -0.3882995843887329, -0.3271466791629791, -0.04251265898346901, 0.42552417516708374, -0.6603177189826965, 0.5408453345298767, 0.6314531564712524, 0.6647430658340454, -0.5366520285606384, 0.38878414034843445, 0.7673010230064392, -0.34892991185188293, -0.5529595017433167, 0.20736666023731232, 0.2601994574069977, -0.7147517204284668, 0.3414561450481415, 0.3099879324436188, 0.09609528630971909, -0.13358981907367706, -0.4059782922267914, -0.11470229178667068, 0.7729409337043762, 0.06754940748214722, -0.09558794647455215, -0.0753541886806488, -0.07900885492563248, 1.1266322135925293, -0.5109452605247498, 0.6407800316810608, 0.6259698271751404, 0.5824054479598999, -0.3745415210723877, -0.6062771081924438, -0.05450383573770523, -0.6976644992828369, -0.4036955237388611, -0.20438365638256073, -0.5476701259613037, 0.5138537883758545, -0.3047730028629303, 0.1603361964225769, -0.10426574945449829, 0.7170444130897522, -0.14550600945949554, 0.8034653663635254, 0.1876019537448883, 0.7630873322486877, 1.2153105735778809, -0.1333482712507248, 1.230251431465149, -0.1286323070526123, 0.16634221374988556, 0.5248214602470398, -0.5369047522544861, 0.4641934931278229, 0.22064419090747833, -0.20985831320285797, 0.6750022172927856, 0.5730215311050415, -0.027887769043445587, 0.17352266609668732, 0.14760804176330566, -0.4895542860031128, 0.18192200362682343, -0.5415055155754089, -0.3952208459377289, 0.5108430981636047, 0.4175836145877838, -0.4364384412765503, 0.46393072605133057, 0.2380765974521637, 0.06530149281024933, 0.16364090144634247, -0.3875728249549866, 1.076298713684082, 0.39697569608688354, -0.6079596281051636, -0.24062573909759521, -0.22256585955619812, 0.3119147717952728, -0.22589601576328278, -0.05321423336863518, 0.014585837721824646, 0.21349315345287323, -0.3390520513057709, -0.7451075315475464, 0.6187628507614136, 0.04815194383263588, -0.3195910155773163, -0.49181056022644043, 0.7149679660797119, -0.02310800924897194, -0.6672561764717102, 0.29083770513534546, 0.49000313878059387, -0.10844524949789047, -0.0328381285071373, -1.1879488229751587, -0.06278789788484573, -0.15127800405025482, -0.4582974314689636, 0.3189147710800171, 0.6043030023574829, 0.2764432430267334, 0.5966563820838928, 0.6470279097557068, 0.3260679244995117, -0.39444780349731445, 0.22058632969856262, 0.5664389133453369, -1.013156771659851, -0.3417941927909851, -1.1571764945983887, 0.6360200047492981, -0.1783774197101593, -0.42840248346328735, 0.21894504129886627, 0.09149405360221863, 0.19083142280578613, 0.26807308197021484, 0.8884108662605286, 0.05355089530348778, 0.2637242376804352, -0.19063785672187805, 0.8397580981254578, -0.5842801928520203, -0.229522705078125, -0.26947513222694397, -0.17230311036109924, -0.7741007208824158, 0.5992029905319214, -0.28493908047676086, 0.06268439441919327, 0.5828573703765869, 0.012615994550287724, 0.756370484828949, 0.5503334999084473, 0.01775832660496235, 0.42344459891319275, 0.3216775059700012, 0.4995484948158264, 0.7544185519218445, -0.35070276260375977, -0.18085505068302155, -0.4935842752456665, -0.3348197638988495, -0.33036527037620544, -0.6939473748207092, -0.5007264018058777, -0.5272265672683716, -0.34506434202194214, -0.3849087655544281, 0.08125553280115128, 1.0827594995498657, 0.29134708642959595, -0.6512063145637512, 0.11728470027446747, 0.047224536538124084, 0.28498682379722595, -0.4751001000404358, -0.23054930567741394, 0.25926968455314636, -0.38160431385040283, -0.6252296566963196, 0.06376808136701584, 0.6642026901245117, -0.1432591825723648, -0.3425036072731018, -0.212947279214859, 0.003608990926295519, 0.04140666127204895, 0.4711952209472656, 0.0498737134039402, -0.6064784526824951, 0.21346013247966766, 0.2601363956928253, -0.31924745440483093, 0.23855356872081757, 0.6787474751472473, -0.6745866537094116, 0.4631483256816864, 0.36128947138786316, 0.9370954632759094, -0.22000475227832794, -0.07237501442432404, 0.487170547246933, 0.042949412018060684, -0.2684676945209503, 1.177089810371399, 0.5675331354141235, 0.17894230782985687, -0.8075077533721924, 0.29123982787132263, 0.1797216534614563, -0.7599472999572754, -0.7996417880058289, -0.07892528176307678, -1.0327892303466797, -0.31718212366104126, 0.6111261248588562, 0.05866338312625885, -0.20541752874851227, -0.10745018720626831, -0.44323378801345825, 0.3561787009239197, -0.4029538631439209, 1.0881454944610596, 0.35085609555244446, -0.5859758853912354, -0.28314152359962463, -0.7915690541267395, 0.6167209148406982, 0.5903527140617371, -1.1763068437576294, -0.12717096507549286, 0.1357075721025467, -0.6275468468666077, 0.1506538838148117, 0.4980739653110504, -0.03573744371533394, 0.22888407111167908, -0.26476022601127625, 0.1922750025987625, 0.07804577052593231, -0.10460139065980911, -0.5686798095703125, 0.3434714674949646, -0.4100138545036316, 0.255980521440506 ]
http://arxiv.org/abs/2403.09498v1
http://arxiv.org/pdf/2403.09498v1
From Skepticism to Acceptance: Simulating the Attitude Dynamics Toward Fake News
2024-03-14T15:40:13
2024-03-14T15:40:13
Yuhan Liu, Xiuying Chen, Xiaoqing Zhang, Xing Gao, Ji Zhang, Rui Yan
cs.SI
cs.SI, cs.AI, cs.CL
In the digital era, the rapid propagation of fake news and rumors via social networks brings notable societal challenges and impacts public opinion regulation. Traditional fake news modeling typically forecasts the general popularity trends of different groups or numerically represents opinions shift. However, these methods often oversimplify real-world complexities and overlook the rich semantic information of news text. The advent of large language models (LLMs) provides the possibility of modeling subtle dynamics of opinion. Consequently, in this work, we introduce a Fake news Propagation Simulation framework (FPS) based on LLM, which studies the trends and control of fake news propagation in detail. Specifically, each agent in the simulation represents an individual with a distinct personality. They are equipped with both short-term and long-term memory, as well as a reflective mechanism to mimic human-like thinking. Every day, they engage in random opinion exchanges, reflect on their thinking, and update their opinions. Our simulation results uncover patterns in fake news propagation related to topic relevance, and individual traits, aligning with real-world observations. Additionally, we evaluate various intervention strategies and demonstrate that early and appropriately frequent interventions strike a balance between governance cost and effectiveness, offering valuable insights for practical applications. Our study underscores the significant utility and potential of LLMs in combating fake news.
[ -0.26085010170936584, -1.1503276824951172, 0.8774471282958984, 0.6012499928474426, -0.24701693654060364, 0.1603403389453888, -0.15853574872016907, -0.26240161061286926, 0.462857723236084, 0.27342700958251953, -0.46746155619621277, -0.24762336909770966, -0.5826776623725891, -0.22694389522075653, -0.545796811580658, 0.8605768084526062, -0.13768790662288666, 0.17412136495113373, 0.119386687874794, 0.36864885687828064, 0.14174583554267883, -0.5404143333435059, -0.487457811832428, -0.337424099445343, 0.6180626749992371, 0.02549154683947563, 0.6659932136535645, 0.40483802556991577, -0.012329584918916225, 0.1743440181016922, -0.2553047835826874, -0.0202010627835989, -0.6610692739486694, -0.46659258008003235, -0.33921751379966736, -0.46099570393562317, -0.4485381245613098, 0.5316995978355408, 0.8678295016288757, 0.25278839468955994, -0.5271307229995728, 0.09347013384103775, -0.07854368537664413, 0.2627545893192291, -0.14472591876983643, -0.11974150687456131, -0.7254769206047058, -0.028193090111017227, 0.039836421608924866, -0.2010343372821808, -0.27466946840286255, -0.5009143948554993, 0.20445480942726135, -0.5375267267227173, -0.0005309088155627251, 0.09995105117559433, 0.8053513765335083, -0.2945694625377655, -0.7576798796653748, -0.500828742980957, -1.011421799659729, 0.49089741706848145, -0.6475751399993896, 0.2582184076309204, -0.03204327076673508, 0.3888968229293823, -0.4597603380680084, -0.45355620980262756, -1.0542809963226318, 0.0015886272303760052, 0.38796791434288025, 0.14341293275356293, -0.32530856132507324, -0.027287038043141365, 0.0010974304750561714, 0.06121153011918068, -0.30575376749038696, -0.11161629855632782, -0.4036467373371124, -0.17653533816337585, 0.5446438193321228, -0.05702205374836922, 0.12418083101511002, -0.29765355587005615, -0.4982709586620331, -0.06447495520114899, -0.5792049169540405, 0.07291165739297867, 0.5610000491142273, 0.1435091495513916, -0.3026418685913086, 0.5167529582977295, -0.3854592740535736, 0.42254018783569336, 0.39073997735977173, -0.23197054862976074, 0.3352891504764557, -0.013000009581446648, -0.5216659903526306, 0.11465948820114136, 0.6100106239318848, 0.35651955008506775, 0.2572055160999298, 0.316502183675766, -0.06378144025802612, 0.534982442855835, 0.6870248317718506, -0.5472428202629089, 0.2987358272075653, 0.2904510498046875, -0.7095953822135925, -0.7498565912246704, -0.04641597345471382, -0.970594584941864, -0.5619763135910034, -0.4378921091556549, 0.6742198467254639, -0.2093917429447174, -0.5977323651313782, 0.429522842168808, -0.002649571280926466, 0.29778704047203064, 0.8658475279808044, -0.1080322116613388, 0.18590104579925537, 0.7457687854766846, 0.725237250328064, -0.01183422189205885, -0.0863337591290474, -0.15716230869293213, 0.09237412363290787, -0.5757055282592773, 0.44831356406211853, -0.4149479866027832, -0.32634595036506653, 0.05633930861949921, -0.10969778895378113, 0.09447193145751953, -0.23514501750469208, 0.39895039796829224, -0.8968449234962463, 0.027490099892020226, -0.2668989598751068, -0.5029217004776001, -0.11444486677646637, 0.6090990304946899, -0.2458237260580063, 0.49067220091819763, -0.1586296707391739, -0.5851853489875793, 0.2912672758102417, -0.5297508835792542, -0.19378060102462769, -0.5106557011604309, 0.028132503852248192, -0.14336223900318146, 0.4917404055595398, 0.1153821274638176, 0.4569861888885498, 0.06642124056816101, 0.3394865393638611, -0.4221084713935852, -0.3737734258174896, 0.33954232931137085, -0.6906372308731079, 0.5990443229675293, 0.30141741037368774, -0.5058167576789856, 0.16174034774303436, -0.23194606602191925, -0.36049583554267883, 0.039845049381256104, -0.0712653249502182, -0.30274713039398193, 0.0938061997294426, -0.022191355004906654, 0.58033287525177, -0.16671769320964813, -0.5918672680854797, 0.5353407859802246, -0.3590140640735626, 0.32694652676582336, 0.9547500610351562, 0.5352030396461487, 0.5666848421096802, -0.45641928911209106, 0.46290603280067444, 0.507328450679779, 0.5392554998397827, 0.14495261013507843, -0.509331226348877, -0.6469259262084961, 0.15086573362350464, 0.0761646255850792, 0.48266515135765076, -0.8318830132484436, -0.3135654330253601, -0.42170825600624084, -0.5040923953056335, -0.6108308434486389, -0.10657554864883423, 0.13559667766094208, 0.09591879695653915, 0.1671214997768402, 0.14742666482925415, -0.2707636058330536, -0.7600399255752563, -0.6951100826263428, -0.46319177746772766, 0.16232821345329285, -0.02081570215523243, 0.3838416635990143, -0.1932515799999237, 0.863735556602478, -0.20145860314369202, -0.12532895803451538, -0.21087278425693512, 0.40193986892700195, 0.2002328634262085, 0.1543309986591339, 0.4870443046092987, -1.1911299228668213, -0.13003133237361908, -0.21509335935115814, -0.47633400559425354, 0.31660720705986023, -0.401547908782959, 0.013516463339328766, 0.5030896067619324, 0.20494510233402252, -0.6496308445930481, 0.6786957383155823, 0.9162638187408447, -0.3477877974510193, 0.6923880577087402, 0.062277719378471375, 0.47209852933883667, -1.065553903579712, -0.29901933670043945, 0.38126155734062195, -0.3676917254924774, -0.5661776065826416, 0.1668010950088501, -0.11018027365207672, 0.15196681022644043, -0.7209871411323547, 0.7070372104644775, -0.3142157196998596, 0.10909152776002884, -0.23879699409008026, 0.21480144560337067, -0.11308667063713074, 0.13197600841522217, 0.11082068830728531, 0.519163966178894, 0.46516576409339905, -0.6325817704200745, 0.24295054376125336, -0.2893684208393097, -0.5531732439994812, 0.5118287801742554, -0.4909670054912567, -0.08414967358112335, -0.5272243022918701, 0.6956424117088318, -0.9191102981567383, -0.497933030128479, 0.5171427726745605, -0.5462560653686523, -0.030847201123833656, -0.03602960333228111, -0.6375563740730286, -0.41376543045043945, -0.12001532316207886, -0.11576606333255768, 0.7668108344078064, -0.409403920173645, 1.0288580656051636, 0.337377667427063, 0.14844153821468353, -0.3525470197200775, -0.5729582905769348, 0.10927601903676987, -0.286989688873291, -0.4163911044597626, 0.1178465411067009, -0.06819453090429306, -0.6058643460273743, -0.02397044003009796, -0.11602919548749924, 0.14515097439289093, -0.2643912136554718, 0.26981502771377563, -0.10908716917037964, -0.03738206624984741, -0.07672902941703796, 0.3063586354255676, 0.4567607343196869, 0.1530606746673584, -0.2643515467643738, 0.29700082540512085, -0.08930487185716629, -0.4134434163570404, -0.6975047588348389, 0.09486106783151627, 0.8444567322731018, 0.30398303270339966, 0.7860376834869385, 0.20455101132392883, -0.3335908353328705, -0.5614855885505676, -0.7617926001548767, -0.36972954869270325, -0.4574853479862213, 0.19209334254264832, -0.28646183013916016, -0.5443786382675171, 0.25478696823120117, -0.34899118542671204, 0.1604016274213791, -0.08600398153066635, 0.5832659602165222, -0.10129193216562271, 1.194767951965332, 0.4375639259815216, -0.2445090413093567, 0.2751399576663971, 0.04654455929994583, 0.15769778192043304, -0.3106374144554138, -0.2374364584684372, -0.1650134027004242, -0.2541378438472748, -0.2749277353286743, -0.9840525984764099, 0.33946165442466736, 0.22075681388378143, 0.08568184822797775, -0.17995257675647736, -0.0843307375907898, 0.24504844844341278, 0.11060770601034164, 0.18440817296504974, 0.4765940010547638, 0.35005903244018555, -0.17352519929409027, -0.08855457603931427, -0.5684340000152588, -0.48554185032844543, 0.7536288499832153, 0.6953123211860657, 0.7079005837440491, 0.012857130728662014, 0.4420892596244812, 0.6251922249794006, 1.1184399127960205, -0.7322465181350708, 0.6167111396789551, 0.18554529547691345, -0.640693187713623, -0.04550448805093765, -0.48853012919425964, -0.13799868524074554, 0.204124316573143, -0.2508436143398285, -0.48675286769866943, 0.23032526671886444, 0.5394935607910156, -0.12309499830007553, 0.6129502654075623, -0.4680473804473877, 0.3497736155986786, 0.0249743964523077, -0.25644248723983765, -0.7733137607574463, -0.45271193981170654, 0.5454071164131165, -0.19307807087898254, 0.7439571022987366, -0.10618861764669418, 0.06838314980268478, 0.2335050255060196, 0.024571837857365608, 1.134982943534851, -0.3066460192203522, -0.2823757827281952, 0.36726114153862, 0.2543966770172119, 0.7812811732292175, 0.12829558551311493, -0.36925336718559265, 0.2570362389087677, -0.2865741550922394, -0.26186034083366394, -0.5461127758026123, 0.7306614518165588, -0.8284947276115417, -0.692374050617218, -0.5172119140625, -0.20289671421051025, -0.08532854169607162, -0.05446699634194374, 0.13545359671115875, 0.14295262098312378, -0.5544325709342957, -0.19072048366069794, 0.704806387424469, -0.2076801061630249, 0.2323998659849167, 0.6347795128822327, -0.8569555878639221, -0.3661842346191406, 0.7176052331924438, 0.21843144297599792, 0.39725086092948914, 0.007498580031096935, 0.39203888177871704, -0.2612735331058502, -0.4220189154148102, -0.41728129982948303, 0.3526531755924225, -0.5165772438049316, 0.20880328118801117, -0.6719920039176941, -0.20677907764911652, -0.4917200803756714, -0.22527994215488434, -0.25889894366264343, 0.00611110869795084, -0.09842486679553986, -0.1272733062505722, 0.20642100274562836, 0.8135819435119629, -0.021011479198932648, 0.6720951199531555, -0.32889893651008606, 0.4688566029071808, 0.13191358745098114, 0.4203718900680542, 0.09125516563653946, -0.6071012020111084, -0.03171493485569954, 0.5432795286178589, -0.17276205122470856, -1.0604280233383179, 0.4415651559829712, -0.3372403383255005, 0.3870726227760315, 0.584237277507782, 0.01692090556025505, 0.5707347393035889, -0.44334736466407776, 0.8273450136184692, -0.01361039001494646, -1.0316362380981445, 0.3917008936405182, -0.8279227018356323, -0.04861816018819809, 0.0655503198504448, 0.6243906021118164, -0.7502237558364868, -0.5882298946380615, -0.8134995102882385, -0.42217057943344116, 0.44576188921928406, -0.05081850290298462, 0.46629688143730164, -0.05448439344763756, 0.528300940990448, -0.2788761556148529, 0.5595998764038086, -0.8645119667053223, -0.2572704553604126, -0.32542577385902405, -0.046370696276426315, -0.1358184814453125, -0.37991154193878174, -0.13348503410816193, -0.17969509959220886, 0.8524271249771118, 0.02784689888358116, 0.1818179041147232, 0.3230039179325104, 0.062006875872612, -0.20189101994037628, 0.2852309048175812, 0.8448636531829834, 0.5378745198249817, -0.13840252161026, 0.03762279823422432, -0.1639937162399292, -0.4490663707256317, 0.22539401054382324, -0.4633942246437073, -0.44183745980262756, 0.1355154812335968, -0.169053316116333, 0.7094559073448181, 0.1929623782634735, -0.301296204328537, 0.7738338112831116, 0.16976861655712128, -0.48230013251304626, -0.5348184704780579, -0.22322791814804077, 0.35552656650543213, 0.24438144266605377, 0.5568671226501465, 0.2641107439994812, -0.08224115520715714, -0.7883473038673401, 0.06707500666379929, 0.37552499771118164, -0.5031358599662781, -0.6162225604057312, 0.6822665333747864, 0.13523149490356445, -0.2157648503780365, 0.22031521797180176, -0.21400973200798035, -0.4127905070781708, 0.6439990401268005, 0.6518500447273254, 0.46133357286453247, -0.3410356342792511, 0.6897180080413818, -0.036127109080553055, 0.49717292189598083, -0.615174412727356, 0.34517672657966614, 0.5742456912994385, -0.8607921004295349, -0.49024727940559387, -0.9115850329399109, -0.2140263170003891, 0.22385342419147491, -0.33337458968162537, 0.42319950461387634, -0.6864131093025208, -0.33373528718948364, -0.07426199316978455, -0.05976749211549759, -0.2825983464717865, 0.16431637108325958, 0.19375509023666382, 1.3876872062683105, -1.0887281894683838, 0.9870936870574951, 0.781810462474823, 0.05673263967037201, -0.7885774970054626, 0.6056928038597107, 0.6586365699768066, -0.6105765104293823, 0.4776967763900757, -0.008289801888167858, -0.1598825454711914, 0.20173686742782593, -0.6810199618339539, -0.6591693758964539, 0.5388268828392029, 0.14265389740467072, -0.6657741069793701, -0.22053392231464386, 0.03206394612789154, 0.6883814930915833, -0.5699690580368042, -0.18119019269943237, 0.16647174954414368, 0.6418737173080444, 0.1649257391691208, -0.6810624599456787, -0.11029273271560669, 0.11141276359558105, -0.006766168400645256, -0.05804251879453659, -0.8995480537414551, 0.7885074019432068, -0.10920384526252747, -0.13416877388954163, -0.15869303047657013, 0.845276951789856, 0.3341486155986786, 0.5835050940513611, 0.6061626076698303, 0.13576051592826843, 0.29991427063941956, 0.08167650550603867, 1.1561673879623413, -0.20342771708965302, 0.18309715390205383, 0.821110725402832, -0.31049644947052, 0.9293164014816284, 0.583965003490448, 0.09118539094924927, 0.7639484405517578, 0.37515127658843994, 0.1429639607667923, 0.20766261219978333, 0.4033055305480957, -0.3061886727809906, -0.14587819576263428, -0.13287590444087982, -0.16909559071063995, 0.37750640511512756, 0.5193866491317749, -0.3511652946472168, -0.1742403507232666, 0.27869269251823425, 0.28117257356643677, 0.376468300819397, -0.7061924338340759, 0.19386017322540283, 0.20246772468090057, -0.42789745330810547, 0.06356647610664368, 0.3080391585826874, 0.9426782727241516, -0.6243599057197571, -0.09137865155935287, 0.0509016327559948, 0.04277602210640907, 0.03456581011414528, -0.6791185140609741, 0.3027745485305786, -0.27522483468055725, -0.4422619640827179, -0.5934752225875854, 0.5844107866287231, -0.3881452977657318, -0.4482320547103882, 0.37875303626060486, 0.47996559739112854, 0.02392742596566677, -0.26219573616981506, -0.5631253123283386, 0.4236491024494171, -0.11624347418546677, -0.7007506489753723, 0.3550742268562317, 0.3278224468231201, -0.35381773114204407, 0.553398847579956, 0.7751448750495911, 0.6304150223731995, 0.08918331563472748, -0.1341213434934616, 0.8565501570701599, -0.35876116156578064, -0.6983514428138733, -0.7281160354614258, 0.28861960768699646, -0.28104087710380554, -0.07056421786546707, 0.8874672055244446, 0.18273106217384338, 0.5873122811317444, -0.12254496663808823, 0.6938091516494751, 0.14716045558452606, 0.6700682640075684, -0.37706243991851807, 0.9611080884933472, -0.6165716052055359, 0.1820705384016037, -0.5175148844718933, -0.7436809539794922, 0.01792905665934086, 0.2817923128604889, -0.40473201870918274, -0.07278712093830109, 0.10884090512990952, 0.7379083037376404, 0.0074086240492761135, 0.09702791273593903, 0.19500529766082764, 0.7087136507034302, 0.2597849667072296, 0.05460188165307045, 0.8591336011886597, -0.1244930550456047, 0.30551621317863464, -0.08847886323928833, -0.2949002683162689, -0.40894815325737, -1.0704423189163208, -0.6886757612228394, -0.28466784954071045, -0.02828977257013321, -0.7298834919929504, 0.3925328254699707, 1.0533441305160522, 0.7853043675422668, -0.4257407784461975, -0.22300805151462555, -0.1730303317308426, 0.17746345698833466, -0.3607555031776428, -0.3598845899105072, 0.008068878203630447, 0.23885592818260193, -0.7341569066047668, 0.3111085891723633, 0.026182232424616814, 0.2898872494697571, -0.5431305766105652, 0.01374317891895771, -0.20612642168998718, 0.7485581636428833, 0.6068695187568665, 0.314073771238327, -0.8733811378479004, -0.3410225212574005, 0.05035598576068878, -0.2933332026004791, -0.29017210006713867, 0.8076422810554504, -1.0794312953948975, 0.22660724818706512, 0.29994285106658936, 0.19667083024978638, 0.2227758765220642, 0.3572855591773987, 0.7400947213172913, -0.6071415543556213, 0.19834114611148834, 0.09070014953613281, -0.21080246567726135, -0.01329317782074213, -0.5036459565162659, -0.01600281335413456, 0.4780639708042145, -0.2009560465812683, -0.9806733131408691, 0.2616448402404785, -0.7862940430641174, -0.5283966064453125, 1.3541245460510254, 0.27399590611457825, -0.30083131790161133, -0.03504393994808197, 0.02494414709508419, 0.07697008550167084, -0.6693918704986572, 1.1064403057098389, 0.7725617289543152, 0.025997966527938843, -0.18481147289276123, -0.757269561290741, 0.5975141525268555, -0.001840964425355196, -0.6988800764083862, 0.0102981673553586, 0.6018974184989929, 0.6295498609542847, 0.18661247193813324, 0.8842045664787292, -0.08017744868993759, -0.04143723100423813, -0.05244184285402298, -0.15435467660427094, 0.02131723053753376, -0.6505983471870422, -0.4618523120880127, 0.28256645798683167, -0.24217085540294647, 0.5479644536972046 ]
http://arxiv.org/abs/2403.09490v2
http://arxiv.org/pdf/2403.09490v2
Hyper-CL: Conditioning Sentence Representations with Hypernetworks
2024-03-14T15:30:25
2024-06-07T02:24:05
Young Hyun Yoo, Jii Cha, Changhyeon Kim, Taeuk Kim
cs.CL
cs.CL
While the introduction of contrastive learning frameworks in sentence representation learning has significantly contributed to advancements in the field, it still remains unclear whether state-of-the-art sentence embeddings can capture the fine-grained semantics of sentences, particularly when conditioned on specific perspectives. In this paper, we introduce Hyper-CL, an efficient methodology that integrates hypernetworks with contrastive learning to compute conditioned sentence representations. In our proposed approach, the hypernetwork is responsible for transforming pre-computed condition embeddings into corresponding projection layers. This enables the same sentence embeddings to be projected differently according to various conditions. Evaluation on two representative conditioning benchmarks, namely conditional semantic text similarity and knowledge graph completion, demonstrates that Hyper-CL is effective in flexibly conditioning sentence representations, showcasing its computational efficiency at the same time. We also provide a comprehensive analysis of the inner workings of our approach, leading to a better interpretation of its mechanisms.
[ -0.27534133195877075, -0.6614041924476624, 0.9171634912490845, 0.2846740782260895, -0.31166255474090576, -0.352396696805954, -0.5348347425460815, -0.19973431527614594, 0.3582632541656494, 0.501860499382019, -0.48862260580062866, -0.6362990736961365, -0.5050414800643921, 0.01578247919678688, -0.5046720504760742, 1.0647320747375488, -0.008308655582368374, -0.021006127819418907, -0.5708507895469666, -0.1336425542831421, -0.15180277824401855, -0.6257085204124451, -0.00762682082131505, -0.48872998356819153, 0.36409157514572144, 0.41079261898994446, 0.8893733620643616, 0.6983263492584229, 0.6362028121948242, 0.34526753425598145, 0.10701317340135574, 0.02605636790394783, -0.5877207517623901, 0.15316201746463776, -0.2867576479911804, -0.2590559720993042, 0.127538800239563, 0.07048096507787704, 0.5795275568962097, 0.9076849222183228, -0.05520813167095184, 0.0238947793841362, 0.17616286873817444, 0.7840260863304138, -1.016672134399414, 0.33126139640808105, -0.616168200969696, 0.27340245246887207, -0.010201003402471542, -0.3332420587539673, -0.6104599237442017, -0.10003200173377991, 0.29142481088638306, -0.9097318053245544, -0.05983513221144676, 0.34032130241394043, 0.8989760279655457, 0.3448006212711334, -0.4175429344177246, 0.014846477657556534, -0.6032103300094604, 0.7966922521591187, -0.4742277264595032, 0.3643025755882263, 0.1797052025794983, 0.35483992099761963, 0.015011616051197052, -1.1220388412475586, -0.6337316036224365, -0.43752244114875793, -0.42055997252464294, 0.4120403826236725, -0.22272782027721405, 0.35881397128105164, 0.2587372958660126, 0.2205323874950409, -0.6141250133514404, -0.006410393863916397, -0.05498024448752403, -0.3314094841480255, 0.09727535396814346, 0.19715102016925812, -0.03405718505382538, -0.23956751823425293, -0.8886712789535522, -0.14850686490535736, -0.4704805910587311, -0.4901506304740906, 0.170064315199852, 0.29187801480293274, -0.1181299015879631, 0.47577211260795593, -0.3866029679775238, 0.7211721539497375, -0.1844763308763504, 0.2711104452610016, 0.3952540457248688, -0.15321584045886993, -0.5664951801300049, 0.007634246721863747, 0.5623639225959778, 0.6481781005859375, 0.46413159370422363, -0.1531839668750763, -0.14743848145008087, 0.1152401939034462, 0.1253969967365265, -0.7594418525695801, -0.2147267609834671, 0.06419211626052856, -0.5245397090911865, -0.05394115671515465, 0.08256201446056366, -0.5307593941688538, -0.5476277470588684, -0.5598506331443787, 0.16419778764247894, -0.3334168791770935, 0.15923790633678436, 0.22135286033153534, -0.35887378454208374, 0.0672159269452095, 0.11589861661195755, -0.388967365026474, 0.32681527733802795, 0.41208264231681824, 0.6129896640777588, -0.13351458311080933, -0.3845846354961395, -0.5829024314880371, 0.519978404045105, -0.045170173048973083, 0.6399835348129272, -0.6816279292106628, 0.004408145789057016, 0.5189594626426697, -0.3296554386615753, -0.056193917989730835, -0.5370482802391052, 0.5917788147926331, -0.4932326674461365, 0.10742481052875519, -0.05600736662745476, -0.7105494141578674, 0.09939034283161163, 0.5569607615470886, -0.686460554599762, 0.5077176690101624, 0.06216348707675934, -1.2472562789916992, -0.05634532868862152, -0.20214487612247467, -0.3309217691421509, -0.09693248569965363, -0.0024009407497942448, -0.2673793435096741, -0.04372195154428482, -0.08240143209695816, 0.6642265319824219, -0.2987983822822571, 0.008139821700751781, -0.487569659948349, -0.4570457339286804, 0.3886178433895111, -0.15628479421138763, 0.2582421600818634, 0.3025091290473938, -0.0970999002456665, 0.18643523752689362, -0.5237144827842712, 0.15806441009044647, -0.0862569510936737, -0.32378989458084106, -0.47124409675598145, -0.1802441030740738, 0.32684215903282166, 0.2739854156970978, 0.31319957971572876, -0.5387549996376038, 0.04414741322398186, -0.5607075095176697, 0.4517071843147278, 0.44733521342277527, 0.1403535008430481, 0.4281022548675537, -0.048460669815540314, 0.12218665331602097, 0.34962984919548035, 0.021810315549373627, -0.13374213874340057, -0.05819251760840416, -0.924088180065155, 0.13828715682029724, 0.3751150369644165, 0.5941687226295471, -1.1320340633392334, 0.2467675507068634, -0.01693832315504551, -0.033554937690496445, -0.39087367057800293, 0.19494688510894775, 0.8372666835784912, 0.33754533529281616, 0.7769083976745605, -0.006007450167089701, -0.7508178353309631, -1.1664443016052246, -0.32578516006469727, -0.07777892798185349, 0.438050776720047, 0.010446281172335148, 0.42646533250808716, -0.21483325958251953, 0.552273154258728, -0.8163431882858276, -0.33195483684539795, -0.6360088586807251, 0.08746948093175888, 0.054595947265625, 0.7471027970314026, 0.5007949471473694, -0.9269746541976929, -0.4618551731109619, -0.16919447481632233, -0.5735209584236145, -0.05255027860403061, -0.34694650769233704, -0.3698612153530121, -0.06425846368074417, 1.1823625564575195, -0.8037477135658264, 0.5816823244094849, 0.6072096824645996, -0.32399672269821167, 0.6886687278747559, -0.3665273189544678, -0.07966199517250061, -0.7901626825332642, 0.06009368225932121, 0.24273619055747986, -0.5030383467674255, -0.49286434054374695, 0.22881026566028595, -0.07738921791315079, -0.2639620304107666, -0.5192559957504272, 0.121707983314991, -0.35696908831596375, 0.13782672584056854, -0.3396102786064148, 0.5338555574417114, 0.024217024445533752, 0.8122175335884094, -0.07643221318721771, 0.23281250894069672, 0.44213107228279114, -0.585671603679657, 0.3586418926715851, 0.03660757094621658, -0.2335754781961441, 0.6113926768302917, -0.6029309630393982, 0.041002996265888214, -0.18199509382247925, 0.565126895904541, -0.6711554527282715, 0.023528220131993294, 0.23555870354175568, -0.21640917658805847, 0.046225208789110184, 0.15258455276489258, -0.5044937133789062, -0.25754979252815247, -0.27736490964889526, 0.28873515129089355, 0.36128565669059753, -0.2989153265953064, 0.2656390964984894, -0.0012417435646057129, 0.37367796897888184, -0.6134544014930725, -1.106155514717102, -0.018873125314712524, -0.013245471753180027, -0.09257723391056061, 0.8582438826560974, -0.019172783941030502, -0.3544823229312897, 0.46864867210388184, -0.07451364398002625, -0.20946016907691956, 0.021708505228161812, 0.06793487817049026, -0.010946691036224365, -0.1471601277589798, 0.1733642816543579, 0.050979893654584885, -0.37808361649513245, -0.05768623575568199, -0.7311252951622009, 0.4693165421485901, 0.056002434343099594, -0.3662187159061432, -0.7378947138786316, 0.6245938539505005, 0.5035856366157532, -0.18897709250450134, 0.7309162020683289, 0.748388946056366, -0.4045063257217407, -0.38250231742858887, -0.26772910356521606, 0.0485529787838459, -0.4274454712867737, 0.28930172324180603, -0.3059369623661041, -0.7818901538848877, 0.08304698020219803, -0.15643832087516785, -0.24645479023456573, 0.27033114433288574, 0.59036785364151, -0.044307634234428406, 0.8640784025192261, 0.807991623878479, -0.005544411018490791, 0.5824142098426819, -0.3666594922542572, 0.09542054682970047, -0.7402172684669495, -0.19694747030735016, -0.5465203523635864, -0.2841273844242096, -0.5327675342559814, -0.3139367997646332, 0.2798425555229187, -0.0851132944226265, -0.4786210060119629, 0.3662758767604828, -0.07522743940353394, 0.4851386547088623, 0.6791785359382629, 0.43769803643226624, 0.11610456556081772, -0.40635329484939575, -0.5840126276016235, 0.12071549892425537, -0.6952961683273315, -0.29291489720344543, 0.6571947336196899, -0.10255781561136246, 0.3144357204437256, -0.10285753756761551, 0.8543518781661987, 0.4194439649581909, 0.03875476121902466, -0.7937800288200378, 0.6383202075958252, -0.3839494585990906, -0.25944337248802185, 0.050462596118450165, -0.43208056688308716, -0.954559862613678, 0.14833946526050568, -0.5635712742805481, -0.7040066719055176, 0.20282883942127228, 0.31114768981933594, -0.340684711933136, -0.039181917905807495, -0.8418052792549133, 1.023696780204773, 0.23113204538822174, -0.587182343006134, -0.6094105839729309, -0.9055158495903015, 0.09042955189943314, 0.4708038866519928, -0.05294749513268471, 0.03196917101740837, 0.12274942547082901, 0.5405487418174744, -0.3622273802757263, 0.8003062009811401, -0.5188494324684143, 0.5009345412254333, 0.20984198153018951, 0.1428001970052719, 0.318937748670578, -0.010638708248734474, -0.10697615146636963, -0.6734787821769714, -0.12133006006479263, -0.6569386720657349, -1.1017385721206665, 0.8904646635055542, -0.6073099970817566, -0.5925869941711426, -0.2419234812259674, -0.707930326461792, -0.4837869107723236, 0.21738196909427643, -0.04356078431010246, 0.533831775188446, -0.3625721037387848, 0.3351127505302429, 0.47554731369018555, -0.19874778389930725, 0.3647761642932892, 0.15613895654678345, -0.17470204830169678, -0.3536338210105896, 0.7903610467910767, -0.1706615686416626, 0.3447628617286682, 0.7444584369659424, 0.0989571139216423, -0.0940198004245758, -0.6437848210334778, 0.09147283434867859, 0.21915830671787262, -0.9696236252784729, -0.3156620264053345, -0.42810070514678955, -0.022892817854881287, -0.2503623962402344, -0.2647620141506195, -0.03802819922566414, -0.4591629207134247, -0.2536109387874603, -0.1841040402650833, -0.030241770669817924, 0.47795701026916504, 0.16825006902217865, 0.3107101619243622, -0.62921142578125, 0.38298141956329346, 0.11663559079170227, 0.21907174587249756, -0.11427440494298935, -0.13469016551971436, -0.6941096186637878, -0.23042032122612, -0.24847133457660675, -0.7096022963523865, 0.21712584793567657, 0.23121453821659088, 0.6010622978210449, 0.4269445538520813, 0.39046040177345276, 0.5780471563339233, -0.2839523255825043, 0.6589395403862, 0.29387736320495605, -1.0279064178466797, 0.41204723715782166, 0.140658900141716, 0.44402340054512024, 0.9191958904266357, 0.5794168710708618, -0.47761112451553345, -0.3515857756137848, -0.596538782119751, -0.8176809549331665, 0.14402681589126587, 0.3550824224948883, 0.175471693277359, -0.01340225338935852, 0.35166019201278687, -0.273283451795578, 0.16597561538219452, -0.6582860350608826, -0.12283657491207123, -0.4270073175430298, -0.5103885531425476, -0.1799527257680893, -0.1152801588177681, -0.14481736719608307, -0.2531929314136505, 0.5593169331550598, -0.20581264793872833, 0.3431474566459656, 0.4893365502357483, -0.6060743927955627, 0.4868725836277008, 0.256621390581131, 0.15677624940872192, 0.26122424006462097, -0.16258367896080017, 0.6084314584732056, 0.0343267098069191, -0.017651833593845367, -0.18722215294837952, 0.2161346673965454, 0.12286034971475601, -0.07874322682619095, 0.6227992177009583, 0.8215715885162354, 0.3148738741874695, -0.6463797092437744, 0.7577126026153564, 0.2632577419281006, 0.09322305768728256, 0.06422492861747742, -0.14466507732868195, 0.10603173822164536, 0.30232468247413635, -0.10939712822437286, -0.040784917771816254, 0.43051087856292725, -0.8329078555107117, 0.3435336649417877, 0.005656354129314423, -0.7316280603408813, -0.029761040583252907, 0.44051405787467957, 0.409373939037323, 0.08629747480154037, 0.8143625259399414, -0.3512051999568939, -0.8367149233818054, 0.41140639781951904, 0.8475497364997864, 0.8378691077232361, 0.35326963663101196, 0.13775981962680817, 0.13888105750083923, -0.0176068302243948, 0.09039417654275894, 0.06710255891084671, -0.18380890786647797, -0.9053014516830444, -0.43494415283203125, -0.32143595814704895, -0.5810140371322632, -0.38164639472961426, -0.7483760118484497, 0.058040957897901535, -0.48076537251472473, -0.1394364982843399, -0.08615477383136749, -0.08034182339906693, -0.7568507790565491, 0.32186341285705566, 0.492084264755249, 1.072935938835144, -1.0036218166351318, 1.0019583702087402, 0.8391882181167603, -0.4715921878814697, -0.45256322622299194, 0.4401339590549469, -0.07884807884693146, -0.49856096506118774, 0.7014643549919128, 0.29751333594322205, -0.3106929063796997, 0.07523048669099808, -0.6797417998313904, -0.4632352292537689, 0.870121419429779, 0.533178985118866, -0.41431108117103577, 0.061812013387680054, 0.008260074071586132, 0.7127417325973511, -0.49261966347694397, 0.2074940949678421, 0.7210225462913513, 0.7182053327560425, -0.33645322918891907, -0.6185864806175232, 0.2581017017364502, -0.44301214814186096, 0.1675303876399994, -0.15190674364566803, -0.6378836035728455, 0.4752900004386902, -0.10865743458271027, -0.1440228670835495, 0.10018165409564972, 1.104469656944275, 0.11594737321138382, 0.3419199585914612, 0.615554690361023, 0.841499388217926, 0.5787272453308105, -0.06569025665521622, 1.2097166776657104, -0.4944571554660797, 0.3798205852508545, 0.8613343834877014, -0.23322035372257233, 0.7220085263252258, 0.5582691431045532, 0.25634995102882385, 1.0203372240066528, 0.17319247126579285, 0.2340882569551468, 0.7946794629096985, 0.6980882287025452, 0.018959099426865578, -0.46030569076538086, -0.47065529227256775, -0.06603503972291946, 0.36825183033943176, 0.2993481755256653, -0.2578565776348114, -0.18261383473873138, 0.2137637883424759, 0.13454967737197876, 0.682628333568573, -0.30365270376205444, 0.4991368055343628, 0.17293879389762878, -0.6119555830955505, 0.5366925597190857, -0.0035485774278640747, 0.5754636526107788, -0.5182023644447327, -0.0884988009929657, -0.14702866971492767, 0.3038158416748047, -0.40628671646118164, -0.8139508962631226, 0.3898005485534668, -0.18683235347270966, -0.2601231038570404, -0.3897077143192291, 0.7344396710395813, -0.4925837516784668, 0.05034326761960983, 0.4583858549594879, 0.47186195850372314, -0.010239548981189728, -0.08337820321321487, -0.7290114760398865, 0.1525917947292328, -0.18183621764183044, -0.21044059097766876, 0.22468417882919312, 0.6392789483070374, 0.2548872232437134, 0.6178193092346191, 0.2933819591999054, 0.036791808903217316, -0.3549606502056122, 0.3766354024410248, 1.0735241174697876, -0.7864697575569153, -0.49165454506874084, -0.736926794052124, 0.4607681930065155, -0.27148351073265076, -0.4979262351989746, 0.5033451914787292, 0.5479646325111389, 0.8361779451370239, -0.031069329008460045, 0.653668999671936, 0.05621876195073128, 0.16158117353916168, -1.0119547843933105, 0.33130431175231934, -0.2500305473804474, 0.10044494271278381, -0.26137086749076843, -0.8785160779953003, -0.5612911581993103, 0.26249733567237854, -0.2531428635120392, -0.2639285922050476, 1.3379652500152588, 0.6323109865188599, -0.11638347804546356, -0.34956052899360657, 0.1698637753725052, 0.2375013381242752, -0.02604493498802185, 0.9516558051109314, 0.7966390252113342, -0.03962422162294388, 0.7275775671005249, -0.3624798357486725, 0.02131246216595173, -0.275197833776474, -0.9497939944267273, -0.7307383418083191, -0.7489238977432251, -0.47562891244888306, -0.3941109776496887, 0.38630232214927673, 1.1907894611358643, 0.6908997297286987, -0.6202735900878906, -0.16513648629188538, -0.19181549549102783, 0.1780567616224289, -0.37930959463119507, -0.2052696943283081, 0.4610373079776764, -0.5287784337997437, -0.6806458830833435, 0.28765347599983215, 0.09973882138729095, -0.19440945982933044, -0.36791202425956726, 0.03379911556839943, -0.30321407318115234, 0.2585985064506531, 0.6118056178092957, -0.04590887203812599, -0.17329593002796173, -0.3802303373813629, -0.3684442937374115, -0.42594802379608154, -0.08097519725561142, 1.234774112701416, -1.052100419998169, 0.2701655626296997, 0.7828318476676941, 0.7869697213172913, 0.8190444111824036, 0.045118141919374466, 0.620310366153717, -0.6743366122245789, 0.3188891112804413, 0.2894359827041626, 0.5857114791870117, 0.3926318883895874, 0.008197834715247154, 0.14273719489574432, 0.4669911861419678, -0.3343830406665802, -0.6045013666152954, 0.5323151350021362, -1.2314090728759766, -0.5040652751922607, 1.3302466869354248, -0.41873303055763245, -0.12233864516019821, -0.06291644275188446, -0.10766319930553436, 0.4012606739997864, -0.159184992313385, 0.39267516136169434, 0.39363256096839905, -0.022890383377671242, 0.1381140947341919, -0.3651019036769867, 0.2756728231906891, 0.592364490032196, -0.7267037034034729, -0.005568230990320444, 0.405320942401886, -0.3141902685165405, 0.15770651400089264, 0.09096145629882812, 0.10890839993953705, 0.22439081966876984, -0.10481362789869308, 0.07772382348775864, -0.2372816950082779, -0.5209423899650574, -0.062432918697595596, 0.4154786467552185, -0.06794719398021698, -0.14949025213718414 ]
http://arxiv.org/abs/2403.09488v3
http://arxiv.org/pdf/2403.09488v3
Rectifying Demonstration Shortcut in In-Context Learning
2024-03-14T15:30:14
2024-04-15T04:29:33
Joonwon Jang, Sanghwan Jang, Wonbin Kweon, Minjin Jeon, Hwanjo Yu
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are able to solve various tasks with only a few demonstrations utilizing their in-context learning (ICL) abilities. However, LLMs often rely on their pre-trained semantic priors of demonstrations rather than on the input-label relationships to proceed with ICL prediction. In this work, we term this phenomenon as the 'Demonstration Shortcut'. While previous works have primarily focused on improving ICL prediction results for predefined tasks, we aim to rectify the Demonstration Shortcut, thereby enabling the LLM to effectively learn new input-label relationships from demonstrations. To achieve this, we introduce In-Context Calibration, a demonstration-aware calibration method. We evaluate the effectiveness of the proposed method in two settings: (1) the Original ICL Task using the standard label space and (2) the Task Learning setting, where the label space is replaced with semantically unrelated tokens. In both settings, In-Context Calibration demonstrates substantial improvements, with results generalized across three LLM families (OPT, GPT, and Llama2) under various configurations.
[ -0.1694200485944748, -0.5962343215942383, 0.726475179195404, -0.05983450636267662, -0.40851861238479614, 0.07321294397115707, -0.3112780749797821, 0.01810346730053425, -0.2131093293428421, 0.29337450861930847, -0.6920441389083862, -0.4724900424480438, -0.5790106058120728, 0.005926160141825676, -0.219330295920372, 1.1838126182556152, -0.32399407029151917, -0.08598203957080841, -0.7459744811058044, -0.2189311683177948, -0.6696481704711914, -0.31574001908302307, -0.47453126311302185, -0.6999236345291138, 0.4377804398536682, 0.7587711215019226, 0.4325038492679596, 0.5017391443252563, -0.10840915888547897, 0.17881980538368225, -0.10279715806245804, 0.14887163043022156, -0.5951920747756958, -0.15575580298900604, -0.18766911327838898, -0.49757182598114014, 0.08133590221405029, 0.012937796302139759, 0.789216160774231, 1.0862207412719727, 0.3131123483181, 0.2603021562099457, 0.5648753643035889, 0.44413307309150696, -0.8040207028388977, 0.12559184432029724, -0.6676306128501892, 0.025282474234700203, -0.09720521420240402, -0.2560943365097046, -0.591987669467926, -0.3395518660545349, 0.13763320446014404, -0.6107149720191956, 0.034109655767679214, -0.17245671153068542, 0.5438714027404785, 0.454460471868515, -0.7015326023101807, -0.08362046629190445, -0.646460235118866, 1.065609097480774, -0.7240820527076721, 0.3461081385612488, 0.3177710175514221, 0.5047919154167175, -0.34306949377059937, -0.8231109976768494, -0.3860335052013397, -0.38799890875816345, -0.24320867657661438, -0.09362443536520004, -0.06280438601970673, -0.046074286103248596, 0.4888710081577301, -0.0473080575466156, -0.08298621326684952, 0.27070876955986023, -0.1242164671421051, -0.44248902797698975, 0.05553648993372917, 0.13149859011173248, 0.028743278235197067, 0.162795752286911, -0.5383317470550537, -0.3161281645298004, -1.4151942729949951, 0.32211554050445557, 0.014143706299364567, 0.2041698545217514, 0.026036057621240616, 0.41210517287254333, -0.15029670298099518, 0.8713775873184204, 0.09584467113018036, -0.4649849534034729, 0.29413244128227234, -0.23252570629119873, -0.3430437445640564, 0.08743052184581757, 0.2473893016576767, 0.26401641964912415, -0.1803935021162033, 0.08156302571296692, -0.22155439853668213, -0.21799622476100922, -0.23624302446842194, -0.9262617826461792, -0.055666759610176086, -0.1692831814289093, -0.09130923449993134, 0.0002343075757380575, -0.09869828075170517, -0.21971626579761505, -0.3949323892593384, -0.49014565348625183, 0.9328046441078186, -0.1807883083820343, 0.08692274242639542, -0.1516721546649933, -0.13247378170490265, 0.12582865357398987, 0.5630238652229309, -0.4788036048412323, 0.15615184605121613, 0.6922520399093628, 0.5565628409385681, 0.008627106435596943, -0.35815900564193726, -0.9606572985649109, 0.43695273995399475, -0.30640357732772827, 0.34966063499450684, -0.2593079209327698, -0.49979302287101746, -0.042973268777132034, -0.08970995992422104, -0.1341233104467392, -0.7822656035423279, 0.3111952543258667, -0.23490144312381744, 0.11339179426431656, -0.32096996903419495, -0.7921043038368225, -0.20140835642814636, 0.42960071563720703, -0.39307528734207153, 0.7272600531578064, 0.046677976846694946, -0.6243975758552551, 0.5565330386161804, -0.47856849431991577, -0.5114657282829285, -0.06325550377368927, -0.3230655789375305, -0.3381848633289337, -0.09244600683450699, 0.2537709176540375, 0.5484705567359924, -0.10030567646026611, 0.1877618283033371, -0.32726189494132996, -0.5769064426422119, 0.24101632833480835, -0.5180597305297852, 0.4791796803474426, -0.13786640763282776, -0.6537950038909912, 0.24912835657596588, -0.6713641285896301, 0.015622357837855816, -0.13551756739616394, -0.20636141300201416, -0.3832404315471649, 0.017492899671196938, -0.3353769779205322, 0.37800857424736023, 0.20928020775318146, -0.6471899747848511, 0.06315519660711288, -0.6751199960708618, 0.4306817948818207, 0.7397057414054871, 0.015514967031776905, 0.2803327739238739, -0.21919482946395874, 0.43999168276786804, -0.12914833426475525, 0.017942065373063087, -0.1985410451889038, -0.11193785816431046, -0.7812823057174683, -0.27809852361679077, 0.12228471040725708, 0.09094301611185074, -0.89654141664505, 0.21032822132110596, -0.41508474946022034, -0.3469800055027008, -0.0017737428424879909, 0.2126171588897705, 0.7185648083686829, 0.9662815928459167, 0.25840842723846436, -0.036367468535900116, -0.22058649361133575, -0.99680095911026, -0.3479653298854828, -0.17496249079704285, -0.27026882767677307, 0.39531630277633667, 0.5439265966415405, 0.00044223322765901685, 1.0402777194976807, -0.43634146451950073, -0.5635968446731567, -0.30268171429634094, 0.09903907030820847, 0.17143087089061737, 0.34950530529022217, 0.3181909918785095, -0.6814390420913696, -0.6716254949569702, -0.10894548147916794, -0.19420360028743744, -0.07149507105350494, 0.007200098596513271, 0.16435612738132477, -0.006415847688913345, 0.7928008437156677, -0.1566217690706253, 0.7437056303024292, 0.3793720304965973, -0.08288781344890594, 0.5654990673065186, -0.27742016315460205, 0.007540544029325247, -0.8009814620018005, -0.24505549669265747, -0.2066650092601776, -0.44818824529647827, -0.5560418367385864, -0.03386720269918442, 0.4436696767807007, 0.06452112644910812, -0.9065055251121521, 0.8265499472618103, -0.20899955928325653, -0.06155088543891907, -0.4424465298652649, 0.16415435075759888, 0.19097521901130676, 0.4176099896430969, 0.0005692440900020301, 0.9884316921234131, 0.4412132203578949, -0.6144789457321167, -0.1494458168745041, 0.12353859096765518, -0.5039386749267578, 0.3004022538661957, -0.4296211302280426, 0.09595736861228943, 0.0606895349919796, 0.654416024684906, -1.2261322736740112, -0.1837502121925354, 0.07384379208087921, -0.02989235334098339, 0.18542645871639252, -0.06100554019212723, -0.6066556572914124, -0.14745905995368958, -0.31038975715637207, 0.8136290907859802, 0.4424460828304291, -1.022584319114685, 0.4445589780807495, -0.07929079979658127, 0.19914740324020386, -0.44867992401123047, -0.5928518176078796, -0.22413715720176697, -0.4220394194126129, -0.3079908490180969, 0.6634418368339539, -0.110877625644207, 0.08553928136825562, -0.4363463222980499, -0.14586018025875092, 0.24424277245998383, 0.10492824763059616, 0.47632232308387756, 0.01809549704194069, 0.07167637348175049, 0.30187779664993286, 0.11053168028593063, -0.00133882078807801, 0.03881414979696274, 0.24386276304721832, 0.45214831829071045, -0.08399660885334015, -0.7100787162780762, -0.5423769354820251, 0.16300731897354126, 0.5084043741226196, -0.043667446821928024, 0.46210977435112, 0.19698791205883026, -0.43108484148979187, -0.2189565747976303, -0.3545570373535156, -0.2765323221683502, -0.49431881308555603, 0.560897946357727, -0.338483065366745, -0.8322221636772156, 0.2014164924621582, -0.5613181591033936, 0.023944370448589325, 0.12085998058319092, 0.27858608961105347, -0.09391986578702927, 1.0229251384735107, 0.7320196032524109, -0.02720002643764019, 0.4942876100540161, -0.29006096720695496, 0.21286840736865997, -1.1845651865005493, -0.1795833259820938, -0.37087583541870117, -0.37280625104904175, 0.12122757732868195, -0.41886308789253235, 0.6998940706253052, 0.18685954809188843, -0.43355944752693176, 0.43171343207359314, -0.004379464779049158, 0.616949200630188, 0.523553729057312, 0.38171836733818054, 0.07178216427564621, -0.15904146432876587, -0.43981945514678955, -0.29742005467414856, -0.5288692116737366, -0.4935261309146881, 1.0340659618377686, 0.18015119433403015, 0.5291216373443604, 0.007856965996325016, 0.8603156805038452, -0.14838847517967224, 0.7460001707077026, -0.598660409450531, 0.6846898794174194, -0.11540285497903824, -0.21073639392852783, -0.3849780857563019, -0.20429877936840057, -0.7331746816635132, 0.2085859179496765, 0.14876164495944977, -0.9707939624786377, -0.013691086322069168, 0.5205384492874146, -0.34462034702301025, 0.17530380189418793, -0.7683200240135193, 1.0277056694030762, -0.2651965320110321, -0.277699738740921, -0.32903945446014404, -0.6387275457382202, 0.31525152921676636, -0.07696409523487091, 0.35793498158454895, -0.05059482902288437, 0.05449473857879639, 0.5897670984268188, -0.7354739308357239, 1.1844359636306763, -0.35168278217315674, -0.14369221031665802, -0.012338818982243538, 0.11631723493337631, 0.830858051776886, -0.22139978408813477, 0.0995376706123352, -0.5714775323867798, -0.24008241295814514, -0.09328024834394455, -0.8998061418533325, 0.7324485182762146, -0.4273732900619507, -0.7682155966758728, 0.03186873346567154, -0.48813244700431824, -0.734735369682312, -0.0793386697769165, 0.2700957655906677, 0.7296813726425171, -0.27029067277908325, 0.3715416491031647, 0.47686830163002014, -0.32360032200813293, 0.468782514333725, 0.2893047034740448, -0.22559313476085663, -0.25929561257362366, 0.8791286945343018, -0.11206187307834625, 0.7390293478965759, 0.621461808681488, 0.2667641043663025, -0.5347203612327576, -0.30547115206718445, -0.28179827332496643, 0.0939721092581749, -1.1969175338745117, -0.28251901268959045, -0.2941019535064697, 0.11844693869352341, -0.13790947198867798, -0.3223213255405426, -0.1877278983592987, -0.3695346415042877, -0.5682233572006226, -0.1179526150226593, -0.01994594745337963, 0.35706445574760437, 0.31921738386154175, 0.5165209770202637, -0.3569994270801544, 0.12661013007164001, 0.5613428950309753, -0.03588024526834488, 0.15915092825889587, -0.7941124439239502, -0.15949083864688873, 0.2791476845741272, -0.584010899066925, -0.7838330864906311, 0.19267958402633667, 0.5525248646736145, 0.5810884237289429, 0.5059226155281067, 0.09445615112781525, 1.1023762226104736, -0.5804071426391602, 0.8431492447853088, 0.3751697838306427, -1.0174890756607056, 0.7169591784477234, 0.13921962678432465, 0.48337990045547485, 0.5773028135299683, 0.22074247896671295, -0.45525750517845154, -0.4144444167613983, -0.45178458094596863, -0.872133731842041, 0.375276654958725, -0.041850075125694275, 0.19705136120319366, 0.15250666439533234, 0.1539134532213211, 0.3117290139198303, 0.20218251645565033, -0.78262859582901, -0.3502824902534485, -0.175200954079628, -0.16549184918403625, -0.40871283411979675, -0.0961339920759201, -0.2630492150783539, -0.5408214926719666, 0.8280110359191895, -0.44229409098625183, -0.12963998317718506, -0.055289749056100845, -0.4319605529308319, 0.16091570258140564, 0.40528491139411926, 0.7311212420463562, 0.9792492389678955, -0.015593871474266052, 0.14716501533985138, 0.2711852192878723, -0.0450018085539341, 0.37277472019195557, 0.09817861020565033, -0.27126410603523254, 0.02144668437540531, 0.2827584445476532, 1.0654072761535645, 0.8461892008781433, -0.8391539454460144, 1.0058470964431763, 0.1351202428340912, -0.1591864377260208, -0.27618005871772766, -0.011651284992694855, -0.054022010415792465, 0.23057152330875397, 0.39153581857681274, 0.002165398793295026, 0.18191920220851898, -0.44045546650886536, 0.24677538871765137, 0.6416411995887756, -0.4809063971042633, -0.13025802373886108, 0.6770167946815491, -0.09908183664083481, -0.14163120090961456, 0.354457825422287, 0.1565292924642563, -0.6324149370193481, 0.6910806894302368, 0.8748145699501038, 0.7590372562408447, 0.22999608516693115, 0.3503325581550598, 0.2668178975582123, -0.07212940603494644, 0.1372215747833252, -0.2446228563785553, -0.3788771331310272, -0.66633141040802, -0.5270141363143921, -0.2514220178127289, -0.5999731421470642, 0.20820297300815582, -0.6195693612098694, 0.3336673080921173, -0.24157869815826416, 0.04992290586233139, -0.026487747207283974, -0.11000856012105942, -0.8051843047142029, 0.2400180548429489, 0.014462742954492569, 0.9849267601966858, -0.9171843528747559, 1.1285086870193481, 0.6918261647224426, 0.01636899635195732, -1.029594898223877, 0.22202956676483154, -0.031842850148677826, -0.7241453528404236, 1.0114675760269165, 0.5709537863731384, -0.20475168526172638, 0.055005889385938644, -0.4946296513080597, -0.8476658463478088, 1.3135508298873901, 0.7036142945289612, -0.4967799484729767, 0.2984188199043274, 0.34018781781196594, 0.32141050696372986, -0.5089271068572998, 0.056799113750457764, 0.4607657790184021, 0.347175270318985, 0.0635460615158081, -0.9995814561843872, 0.09926458448171616, 0.1680695116519928, 0.008278311230242252, 0.18309904634952545, -0.45035630464553833, 0.41215452551841736, -0.23216290771961212, -0.21211332082748413, 0.2857852578163147, 0.7649015188217163, 0.6030451655387878, 0.2462576925754547, 0.9721171855926514, 0.24459411203861237, 0.50840163230896, -0.25524991750717163, 1.0225212574005127, 0.13357038795948029, 0.13979582488536835, 1.3903779983520508, -0.38856497406959534, 0.9084241390228271, 1.0863043069839478, -0.023920034989714622, 0.4201798737049103, 0.541782557964325, 0.5331308245658875, 0.8746104836463928, 0.27239519357681274, -0.5158904790878296, -0.42178091406822205, -0.13091929256916046, -0.28350144624710083, 0.20086108148097992, 0.5156329870223999, -0.3583226799964905, -0.5494910478591919, 0.59397953748703, -0.10317672044038773, 0.15295815467834473, -0.43593236804008484, 0.6599348187446594, -0.024625984951853752, -0.7287471890449524, 0.7021148204803467, -0.15002931654453278, 0.5687702894210815, -0.5728588104248047, -0.2778543531894684, -0.056998346000909805, 0.2745876908302307, 0.10966428369283676, -0.6791865825653076, -0.02648489736020565, -0.37349921464920044, 0.04585558921098709, -0.4390180706977844, 0.5693500638008118, -0.5678473711013794, -0.17717216908931732, 0.17619439959526062, 0.13286282122135162, 0.18431340157985687, -0.09265653043985367, -0.3759397268295288, -0.0705917477607727, 0.19091160595417023, -0.03750983998179436, 0.6200469732284546, 0.30689072608947754, -0.2940063774585724, 0.7019045948982239, 0.26738661527633667, -0.2278382033109665, 0.14780694246292114, 0.08885287493467331, 1.055069923400879, -0.3478749096393585, -0.4202063977718353, -0.767453670501709, 0.40058767795562744, 0.08184073120355606, -0.41626447439193726, 0.6272473931312561, 0.5889317393302917, 1.230345368385315, -0.3406539857387543, 0.5936963558197021, 0.2859744727611542, 0.6316912770271301, -0.6426619291305542, 0.3772711753845215, -0.7851243615150452, 0.2696540057659149, -0.33268865942955017, -0.6926178932189941, -0.42789778113365173, 0.398163378238678, -0.42948082089424133, -0.21683770418167114, 0.6671612858772278, 0.809749186038971, -0.09319773316383362, -0.34545600414276123, 0.5479835867881775, -0.02138255164027214, 0.39968109130859375, 0.6861026287078857, 0.8721505999565125, -0.24769562482833862, 0.5559910535812378, -0.7110050916671753, -0.3100649416446686, -0.24926316738128662, -1.2897734642028809, -0.7342082262039185, -0.5779957175254822, -0.4608342945575714, 0.011540139093995094, -0.013143256306648254, 0.9635661840438843, 0.6154701113700867, -0.6073604226112366, -0.21830731630325317, 0.07490020245313644, 0.14109595119953156, -0.5564067363739014, -0.17061394453048706, 0.5668531060218811, -0.14846383035182953, -0.6979318261146545, 0.6039413809776306, 0.11276353150606155, 0.1994994580745697, -0.0068001230247318745, -0.27176523208618164, 0.13123676180839539, -0.1945815235376358, 0.7067714333534241, 0.4725765585899353, -1.063295841217041, -0.6374022960662842, -0.5221823453903198, 0.14304521679878235, 0.11187240481376648, 0.9291301369667053, -1.1243555545806885, 0.39491406083106995, 0.19427631795406342, 0.6337816715240479, 0.5533509254455566, -0.10703296959400177, 0.5309396386146545, -1.3797262907028198, 0.40690866112709045, 0.11806650459766388, 0.6027539372444153, 0.4403291940689087, -0.17216432094573975, 0.18109264969825745, -0.1984536051750183, -0.42448145151138306, -0.8691890835762024, 0.41583314538002014, -0.6680437922477722, -0.19051533937454224, 1.0927914381027222, -0.3037797808647156, -0.1579197645187378, 0.02743743732571602, -0.44666558504104614, 0.17858542501926422, -0.06401769071817398, 0.4980386793613434, 0.5081119537353516, -0.018770309165120125, -0.07171259075403214, -0.42094355821609497, 0.5551626086235046, 0.6094117164611816, -0.5957313776016235, 0.19822882115840912, 0.4838639795780182, 0.40895622968673706, -0.08810027688741684, 0.5857464075088501, -0.014469292014837265, 0.40776872634887695, -0.7579816579818726, -0.07976418733596802, -0.13219211995601654, -0.3820088803768158, -0.3079937696456909, 0.07934834063053131, 0.32907992601394653, -0.3699222207069397 ]
http://arxiv.org/abs/2403.09479v1
http://arxiv.org/pdf/2403.09479v1
Laying the Foundation First? Investigating the Generalization from Atomic Skills to Complex Reasoning Tasks
2024-03-14T15:20:54
2024-03-14T15:20:54
Yuncheng Huang, Qianyu He, Yipei Xu, Jiaqing Liang, Yanghua Xiao
cs.LG
cs.LG, cs.AI, cs.CL
Current language models have demonstrated their capability to develop basic reasoning, but struggle in more complicated reasoning tasks that require a combination of atomic skills, such as math word problem requiring skills like arithmetic and unit conversion. Previous methods either do not improve the inherent atomic skills of models or not attempt to generalize the atomic skills to complex reasoning tasks. In this paper, we first propose a probing framework to investigate whether the atomic skill can spontaneously generalize to complex reasoning tasks. Then, we introduce a hierarchical curriculum learning training strategy to achieve better skill generalization. In our experiments, we find that atomic skills can not spontaneously generalize to compositional tasks. By leveraging hierarchical curriculum learning, we successfully induce generalization, significantly improve the performance of open-source LMs on complex reasoning tasks. Promisingly, the skill generalization exhibit effective in cross-dataset and cross-domain scenarios. Complex reasoning can also help enhance atomic skills. Our findings offer valuable guidance for designing better training strategies for complex reasoning tasks.
[ -0.41301533579826355, -1.14480459690094, 0.7661435604095459, -0.3212491571903229, 0.04134909063577652, 0.2095290720462799, -0.2285933494567871, -0.18708986043930054, -0.32326164841651917, 0.2615151107311249, -0.5591402053833008, -0.7353675365447998, -0.5912994742393494, -0.21324144303798676, 0.1128871962428093, 0.7993488907814026, 0.03255188465118408, 0.0743338018655777, -0.17405915260314941, 0.049985501915216446, -0.3449513018131256, -0.305503785610199, -0.6396968960762024, -0.4934512972831726, 0.17258624732494354, 0.5927302241325378, 0.7533749341964722, 0.628612220287323, 0.34758418798446655, 0.2910039722919464, 0.0618535652756691, 0.48677098751068115, -0.5875775218009949, -0.1972227543592453, -0.5436464548110962, -0.7577109336853027, -0.5546361804008484, -0.12708626687526703, 0.43824151158332825, 1.115463137626648, -0.04118279367685318, -0.21814319491386414, -0.32393506169319153, 0.7020662426948547, -0.6591540575027466, 0.4750858247280121, -0.696359395980835, 0.0846007689833641, 0.012200764380395412, -0.20473068952560425, -0.5202919244766235, 0.04952910915017128, 0.13490453362464905, -0.8634188175201416, 0.36640167236328125, 0.15216848254203796, 0.6450825333595276, 0.10114786773920059, -0.5844333171844482, -0.10946173965930939, -0.7708410620689392, 1.0378363132476807, -0.49930185079574585, 0.3697788417339325, 0.40988537669181824, 0.4038989245891571, -0.06639544665813446, -0.4260670840740204, -0.2944376468658447, -0.4781331419944763, 0.11216258257627487, -0.03317825496196747, 0.11999616026878357, 0.36344414949417114, 0.3236836791038513, 0.5529598593711853, -0.6296853423118591, -0.17629577219486237, -0.05748515576124191, -0.1846799999475479, 0.5313780307769775, 0.3572492003440857, 0.45937761664390564, 0.34943994879722595, 0.05449109897017479, -0.4303869605064392, -0.6640435457229614, 0.19655591249465942, 0.1131657063961029, 0.4332183599472046, -0.19931791722774506, 0.6344600319862366, -0.5439314246177673, 0.5734238028526306, 0.008392059244215488, 0.03374830260872841, -0.10832877457141876, -0.4326407313346863, -0.1285417675971985, -0.04158793389797211, 0.0974147692322731, 0.014350300654768944, 0.6184293627738953, -0.3349396288394928, 0.07316922396421432, 0.4248468577861786, 0.4239994287490845, -0.6023603677749634, -0.2380802482366562, 0.24221208691596985, -0.12710557878017426, -0.08927102386951447, 0.1370452493429184, 0.015332893468439579, 0.23241910338401794, -0.5854453444480896, 0.5011842846870422, -0.5663292407989502, -0.18439039587974548, 0.44464561343193054, -0.20908866822719574, 0.056307725608348846, 0.3960171043872833, -1.1203675270080566, 0.5803979635238647, 0.9633076786994934, 0.474509596824646, -0.009800149127840996, -0.4191172420978546, -0.35050979256629944, 0.3621305823326111, -0.5715813040733337, 0.6004412770271301, -0.44991442561149597, -0.05559149011969566, -0.017957180738449097, -0.3576558530330658, 0.08213287591934204, -0.685910165309906, 0.10400817543268204, -0.630435049533844, -0.21713314950466156, -0.23081578314304352, -0.4390089511871338, -0.0665285661816597, 0.3609696626663208, -0.4846096932888031, 0.673324465751648, 0.5109865069389343, -0.6023370027542114, 0.36979007720947266, -0.47768527269363403, -0.41357818245887756, -0.02876485511660576, -0.5221611261367798, -0.2772197723388672, -0.08016587048768997, 0.21345247328281403, 0.5440273284912109, -0.26212847232818604, 0.4232896566390991, -0.37297216057777405, -0.4316276013851166, -0.18480800092220306, 0.1530330777168274, 0.657112181186676, -0.01993652805685997, -0.5722125768661499, 0.03401956707239151, -0.5439909100532532, 0.35320159792900085, 0.0733388289809227, -0.39817169308662415, -0.3609928786754608, 0.029966088011860847, -0.4177493751049042, -0.1262919008731842, 0.002416021190583706, -0.2277829945087433, 0.45130813121795654, -0.7428440451622009, 0.19466371834278107, 0.6190646290779114, 0.054050493985414505, 0.8498613834381104, -0.5473582148551941, 0.22523266077041626, 0.32602471113204956, -0.32299086451530457, 0.029619932174682617, -0.45347923040390015, -0.8686249256134033, 0.035761862993240356, -0.14794623851776123, 0.6174188256263733, -0.6901695132255554, 0.46734875440597534, -0.18873584270477295, -0.486823171377182, -0.3131481111049652, 0.18490299582481384, 0.7805626392364502, 0.22852276265621185, 0.7519333362579346, -0.0654497742652893, -0.4980884790420532, -0.9702306389808655, -0.44572314620018005, -0.15506963431835175, -0.061238888651132584, 0.15984602272510529, 0.7308041453361511, -0.4057668149471283, 0.9054962396621704, -0.6670454740524292, -0.14085489511489868, -0.18056218326091766, 0.41257813572883606, -0.023948105052113533, 0.6523803472518921, -0.021418360993266106, -0.9257731437683105, -0.07107602804899216, 0.35468050837516785, -0.9416002035140991, 0.15474601089954376, -0.10358590632677078, -0.29215726256370544, -0.10609576106071472, 0.542663037776947, -0.5808447003364563, 0.0050981612876057625, 0.07561413198709488, -0.18171189725399017, 0.5878553986549377, 0.06076803058385849, 0.21917885541915894, -0.9432640671730042, -0.0784703940153122, -0.08808890730142593, 0.19236618280410767, -0.6953999996185303, 0.47554847598075867, 0.0753653272986412, -0.041589558124542236, -0.3437654674053192, 0.5941065549850464, -0.5660308003425598, -0.053960539400577545, -0.07523946464061737, -0.18044286966323853, -0.16876037418842316, 0.5311379432678223, 0.057132598012685776, 0.6747493743896484, 0.6365432143211365, -0.9499644041061401, 0.10927661508321762, -0.04497762396931648, -0.26927220821380615, 0.48203766345977783, -0.4042948782444, -0.050872668623924255, -0.12832333147525787, 0.011571436189115047, -0.908821165561676, -0.11614751070737839, -0.15615150332450867, -0.5070925354957581, 0.25026148557662964, 0.08894634246826172, -0.20598024129867554, -0.11509304493665695, -0.033137086778879166, 0.345536470413208, 0.26309388875961304, 0.04262314736843109, 0.8680369257926941, 0.017809271812438965, 0.07250244170427322, -0.6510851979255676, -0.6597189903259277, -0.5164010524749756, 0.2158406674861908, -0.7509257197380066, 0.431831419467926, -0.23854494094848633, -0.5608882904052734, 0.009047319181263447, -0.3785687983036041, -0.27876946330070496, 0.38338708877563477, 0.19741763174533844, -0.06854118406772614, -0.5659046769142151, 0.04929152503609657, 0.5540513396263123, -0.3542194068431854, 0.0557706281542778, -0.25626489520072937, 0.4834175109863281, -0.3428281843662262, -0.6180325150489807, -0.3715808093547821, 0.40641099214553833, 0.5960693359375, -0.14228451251983643, 0.5774831175804138, 0.206029012799263, -0.38189634680747986, -0.7262045741081238, -0.5716245174407959, -0.6767818927764893, -0.45609742403030396, 0.656617283821106, -0.7040539383888245, -1.052181363105774, 0.31505969166755676, -0.46450769901275635, 0.11123033612966537, 0.38075557351112366, 0.5008836984634399, -0.028464939445257187, 1.1800824403762817, 0.5279431343078613, -0.09039617329835892, 0.05412817373871803, -0.7921573519706726, 0.12125598639249802, -0.6851511001586914, -0.26565027236938477, -0.3499852418899536, -0.03892258182168007, 0.11076249927282333, -0.5411444902420044, 0.2336956411600113, 0.22477564215660095, -0.7900568246841431, 0.04575899988412857, -0.16991525888442993, 0.4775829017162323, 0.47307872772216797, 0.41720783710479736, 0.4909382164478302, 0.10368360579013824, -0.29880374670028687, 0.11910443753004074, -0.6411944031715393, -0.26453787088394165, 0.9692611694335938, 0.15874764323234558, 0.6259714365005493, 0.0060857441276311874, 0.5879630446434021, 0.18447856605052948, 0.031147459521889687, -0.8198516368865967, 0.6365736722946167, -0.0054708183743059635, -0.5488625168800354, -0.46096131205558777, -0.5976670384407043, -0.7101494073867798, 0.2629832625389099, -0.21038147807121277, 0.00823360588401556, -0.27544137835502625, 0.06182108074426651, -0.11902684718370438, 0.3118194341659546, -0.4536456763744354, 0.598755419254303, -0.12181763350963593, -0.08315015584230423, -0.4069335162639618, -0.5601749420166016, 0.3585289716720581, 0.16814573109149933, 0.4299013018608093, 0.04659778252243996, -0.13505291938781738, 0.3030191957950592, -0.20789562165737152, 0.9137544631958008, -0.06713257730007172, 0.04880736395716667, 0.2184213250875473, 0.5140957236289978, 0.23044967651367188, -0.08494678884744644, -0.07327953726053238, -0.038142286241054535, -0.5765769481658936, -0.6775577664375305, -0.6923574805259705, 0.5084396600723267, -1.1450457572937012, -0.862979531288147, -0.034383852034807205, -0.8281447291374207, -0.49484848976135254, 0.3672367036342621, 0.3288448452949524, 0.03521043807268143, -0.32496559619903564, 0.3027542531490326, 1.2476658821105957, 0.6998503804206848, -0.059175919741392136, 0.32867535948753357, 0.3422786593437195, -0.30365097522735596, 0.5755379796028137, 0.1766725778579712, 0.6570317149162292, 0.758755624294281, 0.39201560616493225, 0.20645272731781006, -0.5725694298744202, -0.5314974784851074, 0.20425507426261902, -0.7328169345855713, -0.05540961027145386, -0.7989373207092285, -0.23455476760864258, -0.510936439037323, -0.7513495683670044, -0.37275928258895874, -0.19439402222633362, -0.269173264503479, -0.22141563892364502, 0.051348667591810226, 0.37506765127182007, 0.24335743486881256, 0.15578001737594604, -0.7732821702957153, 0.437899112701416, 0.6855241060256958, -0.09129142761230469, 0.3747556507587433, -0.40788954496383667, -0.40858185291290283, 0.2776558995246887, -0.27838072180747986, -0.4905225336551666, -0.1636786013841629, 0.3529709577560425, 0.8659816384315491, 0.6701014041900635, -0.015243137255311012, 0.6751149296760559, -0.43877384066581726, 0.49479320645332336, -0.10244789719581604, -1.1757538318634033, 0.7688446044921875, -0.5524208545684814, 0.3457068204879761, 0.4879121482372284, 0.8411663174629211, -0.08239897340536118, -0.5986292958259583, -0.6759012341499329, -0.6223400235176086, 0.5411766767501831, 0.13128136098384857, 0.1693437397480011, 0.0926218181848526, 0.4640491306781769, -0.07912425696849823, 0.21651889383792877, -0.4468889534473419, -0.22123931348323822, 0.07904548197984695, -0.06755278259515762, -0.10943031311035156, 0.08683288097381592, -0.4380987882614136, -0.33864226937294006, 0.5741613507270813, -0.40364497900009155, -0.13016104698181152, 0.15727421641349792, -0.17461344599723816, -0.3767208456993103, 0.2730501890182495, 0.36468806862831116, 0.644392192363739, -0.023032352328300476, 0.2550275921821594, 0.2621070146560669, -0.30528977513313293, 0.3070638179779053, -0.4940083622932434, 0.04924571141600609, -0.510733425617218, 0.7390455603599548, 0.49891677498817444, 0.608306884765625, -0.7188664674758911, 0.4102568030357361, 0.529418408870697, -0.3818254768848419, -0.07324254512786865, 0.7260804772377014, 0.35857638716697693, 0.25055211782455444, 0.419838011264801, -0.13695243000984192, 0.19210240244865417, -0.9963818192481995, 0.35449886322021484, 0.5279302597045898, 0.10370257496833801, -0.16194918751716614, 0.3739287555217743, -0.15144410729408264, -0.052203238010406494, 0.672888994216919, -0.019695749506354332, -0.5151492953300476, 0.9105679392814636, 0.9789447784423828, 0.47415944933891296, -0.48694467544555664, 0.023190462961792946, 0.38419198989868164, 0.30909934639930725, -0.2801360785961151, 0.3609265983104706, -0.3910958766937256, -1.0229443311691284, -0.19537895917892456, -0.1560499519109726, -0.7624351978302002, -0.3779776394367218, -0.5013636946678162, 0.12204676121473312, -0.7335930466651917, 0.15630711615085602, -0.16298893094062805, 0.26296722888946533, -0.3515430688858032, 0.5760196447372437, 0.04060441255569458, 0.6928562521934509, -1.1496362686157227, 0.6042953133583069, 0.8438662886619568, -0.5302470922470093, -0.9726991653442383, -0.25482049584388733, 0.01618911325931549, -0.8065188527107239, 0.9519487619400024, 0.13816450536251068, -0.3604959547519684, 0.2730095684528351, -0.7960325479507446, -0.750318706035614, 1.2979296445846558, 0.15299740433692932, -0.29616042971611023, -0.3811091482639313, 0.2505947947502136, 0.42349281907081604, -0.6090964078903198, 0.22640787065029144, 0.28720834851264954, 0.4150041341781616, 0.2619493007659912, -0.699589729309082, 0.03514562174677849, -0.2920713424682617, 0.03113318793475628, 0.1817529797554016, -0.4778769910335541, 1.5871410369873047, -0.45502376556396484, -0.1942184567451477, -0.12152533233165741, 0.7579850554466248, 0.5097395181655884, 0.6506192684173584, 0.27151843905448914, 1.0705958604812622, 0.6978312730789185, 0.07987020909786224, 0.6703498363494873, 0.09479404240846634, 0.28470930457115173, 0.8067764043807983, -0.3958049714565277, 0.7739855647087097, 0.2112903594970703, -0.10685782134532928, 0.8709741830825806, 0.304505318403244, 0.14086392521858215, 0.4440454840660095, 0.3743458390235901, -0.30525895953178406, -0.6666299104690552, 0.274898499250412, -0.4621196985244751, 0.13690097630023956, 0.6621410250663757, 0.008029032498598099, -0.4979695677757263, 0.15374547243118286, 0.18258754909038544, 0.2239631861448288, -0.6289288401603699, 0.7572976350784302, 0.15678495168685913, -0.6079269647598267, 0.6231922507286072, -0.06347876042127609, 0.4293966293334961, -0.761160671710968, -0.36586275696754456, 0.0016172161558642983, 0.36328381299972534, -0.2909163236618042, -0.6015470027923584, 0.23673486709594727, -0.4952535033226013, -0.4269927144050598, 0.24095551669597626, 0.5902079939842224, -0.2285793423652649, -0.09414472430944443, 0.4311769902706146, 0.6917643547058105, -0.0129724545404315, -0.34857177734375, -0.5001842975616455, -0.18008902668952942, -0.16084028780460358, -0.10012970864772797, 0.5446009635925293, 0.6870703101158142, -0.2837716042995453, 0.8093860745429993, 0.9917035102844238, -0.012748691253364086, -0.10605211555957794, -0.2508106827735901, 1.0598869323730469, -0.7562411427497864, -0.48458132147789, -0.7279275059700012, 0.6436582207679749, 0.2208351343870163, -0.2369406819343567, 0.5214923024177551, 0.5535094141960144, 1.3453103303909302, -0.34759342670440674, 0.7080090641975403, 0.25624051690101624, 0.16464687883853912, -0.7045615911483765, 0.5831438302993774, -0.5649975538253784, 0.053302016109228134, -0.11177907139062881, -0.8844706416130066, -0.43725156784057617, 0.6674901843070984, -0.24205651879310608, 0.20618221163749695, 1.0013152360916138, 0.7543479800224304, -0.2028070092201233, -0.061211127787828445, 0.5538650155067444, 0.24661915004253387, 0.3399534523487091, 0.8430058360099792, 0.5456922054290771, -0.267423152923584, -0.03779001906514168, -0.49290692806243896, -0.45663440227508545, -0.4132852554321289, -0.5891097784042358, -0.9703633785247803, -0.4686872065067291, -0.04146156460046768, -0.2549903690814972, 0.1679423600435257, 0.7774707674980164, 0.8727703094482422, -0.74000483751297, -0.4414076507091522, -0.49068108201026917, 0.06357044726610184, -0.48148083686828613, -0.22690221667289734, 0.23896294832229614, -0.5452836155891418, -0.556801438331604, 0.5237700939178467, 0.08089074492454529, -0.20549102127552032, -0.11433762311935425, -0.11305765062570572, -0.16161490976810455, 0.10143930464982986, 0.6051913499832153, 0.2742499113082886, -0.6283593773841858, -0.1654604971408844, 0.03379162773489952, -0.2934110164642334, -0.010149870067834854, 0.9963093400001526, -0.6660299301147461, 0.2105005383491516, 0.4669813811779022, 0.8192857503890991, 0.2157660871744156, 0.02681570127606392, 0.19611197710037231, -0.3267766237258911, 0.058560580015182495, 0.5530527234077454, 0.16529875993728638, -0.21342480182647705, -0.6156889796257019, 0.4419001638889313, 0.3777327537536621, -0.5202486515045166, -0.49334338307380676, 0.4564295709133148, -1.1706427335739136, -0.44801443815231323, 0.9372336268424988, -0.08886232227087021, -0.10149894654750824, -0.30796706676483154, -0.17314602434635162, 0.40890026092529297, -0.22883884608745575, 0.7011420726776123, 0.6653410792350769, -0.28767281770706177, 0.19421115517616272, -0.32374855875968933, 0.2385958433151245, 0.6945267915725708, -0.9478632211685181, -0.041934121400117874, 0.41742804646492004, 0.2514737546443939, 0.3808453381061554, 0.6489310264587402, 0.029250871390104294, 0.75374436378479, 0.2158537209033966, 0.04288099333643913, -0.3023069500923157, -0.8107602596282959, -0.05843527242541313, 0.42230409383773804, 0.22737811505794525, 0.32382306456565857 ]
http://arxiv.org/abs/2403.09472v1
http://arxiv.org/pdf/2403.09472v1
Easy-to-Hard Generalization: Scalable Alignment Beyond Human Supervision
2024-03-14T15:12:38
2024-03-14T15:12:38
Zhiqing Sun, Longhui Yu, Yikang Shen, Weiyang Liu, Yiming Yang, Sean Welleck, Chuang Gan
cs.LG
cs.LG, cs.AI, cs.CL
Current AI alignment methodologies rely on human-provided demonstrations or judgments, and the learned capabilities of AI systems would be upper-bounded by human capabilities as a result. This raises a challenging research question: How can we keep improving the systems when their capabilities have surpassed the levels of humans? This paper answers this question in the context of tackling hard reasoning tasks (e.g., level 4-5 MATH problems) via learning from human annotations on easier tasks (e.g., level 1-3 MATH problems), which we term as \textit{easy-to-hard generalization}. Our key insight is that an evaluator (reward model) trained on supervisions for easier tasks can be effectively used for scoring candidate solutions of harder tasks and hence facilitating easy-to-hard generalization over different levels of tasks. Based on this insight, we propose a novel approach to scalable alignment, which firstly trains the process-supervised reward models on easy problems (e.g., level 1-3), and then uses them to evaluate the performance of policy models on hard problems. We show that such \textit{easy-to-hard generalization from evaluators} can enable \textit{easy-to-hard generalizations in generators} either through re-ranking or reinforcement learning (RL). Notably, our process-supervised 7b RL model achieves an accuracy of 34.0\% on MATH500, despite only using human supervision on easy problems. Our approach suggests a promising path toward AI systems that advance beyond the frontier of human supervision.
[ -0.23516060411930084, -0.5555008053779602, 0.7263516783714294, 0.05388716608285904, 0.3454550504684448, 0.06863167881965637, -0.5086542367935181, -0.2879898250102997, -0.05566305294632912, 0.33303722739219666, -0.558920681476593, -0.3424052596092224, -0.8061621189117432, -0.06434093415737152, -0.16554969549179077, 1.3184622526168823, -0.08311757445335388, -0.16211295127868652, -0.41064855456352234, -0.23051761090755463, -0.4782593846321106, -0.41917526721954346, -0.6794033646583557, -0.5835527777671814, 0.5196086168289185, 0.36428070068359375, 0.8179373741149902, 0.9557353258132935, 0.9527952671051025, 0.3675708472728729, -0.08656889200210571, 0.201095849275589, -0.38691481947898865, 0.028182607144117355, -0.2481166273355484, -0.6690161824226379, -0.7595152854919434, 0.1089937835931778, 0.41623494029045105, 1.1031678915023804, -0.5011906027793884, 0.06259002536535263, 0.1372327208518982, 0.8592082858085632, -0.6339086294174194, 0.3138638138771057, -0.48150327801704407, 0.021596720442175865, 0.14017875492572784, 0.28209689259529114, -0.4128190875053406, -0.20402735471725464, 0.01880238763988018, -0.9505162835121155, 0.4020449221134186, -0.07574372738599777, 0.8199203014373779, 0.8451257944107056, -0.36795854568481445, -0.26508888602256775, -0.8848114013671875, 0.9617875814437866, -0.19632910192012787, 0.1739124208688736, 0.3140062391757965, 0.7394876480102539, -0.16605164110660553, -0.7366970181465149, -0.15035167336463928, -0.1769608110189438, -0.1625048667192459, -0.10267623513936996, -0.23679688572883606, 0.1791609227657318, 0.6761186718940735, 0.1677161455154419, -0.18373344838619232, 0.08975550532341003, -0.3108042776584625, -0.18232367932796478, 0.7315662503242493, 0.2456735372543335, 0.17684201896190643, 0.0889645367860794, -0.10843101888895035, -0.38318753242492676, -0.5027191042900085, 0.3244006931781769, 0.13841107487678528, 0.32830411195755005, 0.14407290518283844, 0.5224793553352356, -0.32639628648757935, 0.6629836559295654, 0.3762134611606598, 0.11231178790330887, 0.17952296137809753, -0.26695671677589417, -0.019293684512376785, -0.21979139745235443, 0.5130059719085693, 0.021279847249388695, 0.1545298993587494, -0.19431214034557343, -0.34040939807891846, 0.2619437873363495, 0.6261184215545654, -0.40526634454727173, -0.35232165455818176, 0.07664467394351959, -0.2634534537792206, -0.18137669563293457, 0.04431913048028946, -0.46090734004974365, -0.5501322746276855, -0.49510708451271057, 0.329999178647995, -0.2665516436100006, -0.028132082894444466, -0.05422959104180336, 0.018604544922709465, 0.3300469219684601, 0.5610240697860718, -1.1054500341415405, 0.32643115520477295, 1.1715376377105713, 0.616712749004364, -0.1544376015663147, -0.39883357286453247, -0.7472497820854187, 0.2429809719324112, -0.42507824301719666, 0.5386694073677063, -0.3549444377422333, -0.019627433270215988, -0.18319426476955414, -0.14467890560626984, 0.11766862124204636, -0.5560063123703003, 0.6086934804916382, -0.27180707454681396, 0.04788000509142876, -0.0018933429382741451, -0.5226181149482727, 0.0034255918581038713, 0.39585378766059875, -0.6443659663200378, 0.7077449560165405, 0.18682453036308289, -0.2822818458080292, 0.6489308476448059, -0.834418535232544, -0.280062198638916, -0.16899695992469788, -0.18590833246707916, -0.6734344959259033, 0.20559264719486237, 0.4549992084503174, 0.43853113055229187, -0.18798497319221497, 0.5944065451622009, -0.3762052357196808, -0.42898479104042053, -0.1122947484254837, -0.2752512991428375, 0.6248780488967896, 0.17404700815677643, -0.6230491995811462, 0.40434911847114563, -0.6661112308502197, 0.2040044218301773, -0.050049565732479095, -0.41834694147109985, -0.3458561599254608, 0.11107168346643448, -0.43459489941596985, -0.038141027092933655, 0.4036460816860199, -0.25792089104652405, 0.6659269332885742, -0.40061357617378235, 0.38473471999168396, 0.922763466835022, -0.47623395919799805, 0.8098083138465881, -0.29173848032951355, 0.47115573287010193, -0.2684593200683594, 0.13044406473636627, 0.02924562804400921, -0.3872477412223816, -0.8329914808273315, -0.3717227876186371, 0.4367334544658661, 0.6547659039497375, -0.6696100234985352, 0.5793197154998779, -0.46474000811576843, -0.4970027506351471, -0.7233397960662842, 0.5142183303833008, 0.6875450611114502, 0.42904147505760193, 0.4703591763973236, -0.09076705574989319, -0.29047417640686035, -0.9903037548065186, -0.41805747151374817, -0.12406313419342041, -0.44384685158729553, 0.18675260245800018, 0.34734588861465454, -0.2902049720287323, 0.8266812562942505, -0.7178173661231995, -0.3448851704597473, -0.2158605456352234, 0.4103885591030121, 0.353718638420105, 0.8296249508857727, 0.06265057623386383, -0.8133514523506165, -0.2822459042072296, 0.20081083476543427, -0.9489637613296509, 0.0016965464456006885, -0.07435496896505356, -0.1264527589082718, 0.01991232857108116, 0.5489881038665771, -0.5750460624694824, 0.43082675337791443, 0.05756442993879318, -0.34940311312675476, 0.12808580696582794, -0.3956791162490845, -0.08253703266382217, -0.7584421634674072, 0.00343882548622787, 0.18676920235157013, -0.33524778485298157, -0.6761460900306702, 0.3525712192058563, 0.1431264728307724, -0.14265865087509155, -0.11723172664642334, 0.11219450831413269, -0.36697670817375183, -0.05990559607744217, -0.08347465842962265, -0.28884169459342957, -0.212294802069664, 0.8293325901031494, -0.05429847165942192, 0.527772068977356, 0.44729378819465637, -0.4608384370803833, 0.4382437765598297, 0.08102960139513016, -0.14649249613285065, 0.8732666969299316, -0.7584196329116821, 0.13188686966896057, -0.23253096640110016, 0.44293639063835144, -0.8342409133911133, -0.3354673683643341, 0.1553439050912857, -0.3045380115509033, 0.3518725037574768, -0.16797591745853424, -0.08568336814641953, -0.20729508996009827, -0.15347743034362793, 0.6457234025001526, 0.46929922699928284, -0.644523561000824, 0.6731323003768921, 0.15889550745487213, 0.03396797180175781, -0.6639750003814697, -0.4780271649360657, -0.020343804731965065, -0.36443641781806946, -0.5307782888412476, 0.2905137538909912, 0.15064311027526855, -0.31585583090782166, -0.01678621582686901, -0.0814560204744339, -0.14959323406219482, 0.32679709792137146, 0.4268416464328766, 0.3255884349346161, -0.005818699486553669, 0.22453022003173828, 0.01780538260936737, -0.37575584650039673, -0.016527103260159492, -0.20007357001304626, 0.14730684459209442, -0.5172796249389648, -0.5623114109039307, -0.5507369041442871, 0.2761395573616028, 0.30065369606018066, -0.02811315469443798, 0.4708500802516937, 0.587001621723175, -0.49592325091362, -0.010548422113060951, -0.4989679157733917, -0.13317908346652985, -0.4883626103401184, 0.31949958205223083, -0.4691815972328186, -0.8588221073150635, 0.17204366624355316, -0.1870735138654709, 0.21939508616924286, 0.5477388501167297, 0.14991629123687744, -0.23085153102874756, 1.5679826736450195, 0.6927285194396973, -0.1136639192700386, 0.3248917758464813, -0.4886738955974579, -0.0415545217692852, -0.7464131116867065, -0.14470475912094116, -0.34717389941215515, -0.624147891998291, -0.7847064733505249, -0.33005794882774353, 0.39906948804855347, 0.2110612839460373, -0.5518320798873901, 0.3361934721469879, -0.8465799689292908, 0.5180203914642334, 0.7102306485176086, 0.1262255162000656, 0.1917322278022766, -0.08469831198453903, 0.3968658745288849, -0.0003071017563343048, -0.6792441606521606, -0.3450271487236023, 1.271920084953308, 0.40324780344963074, 0.7084348201751709, 0.12265646457672119, 0.9444147944450378, 0.5387715697288513, 0.5978388786315918, -0.7935941219329834, 0.41465550661087036, -0.12380727380514145, -0.6006125807762146, -0.7758758664131165, -0.5334916114807129, -1.0796458721160889, 0.21400733292102814, -0.23689520359039307, -0.581842839717865, 0.16643227636814117, 0.3976256847381592, -0.40521541237831116, 0.22689397633075714, -0.8823556900024414, 0.9135875105857849, -0.16502569615840912, -0.3418450355529785, -0.26839569211006165, -0.6589826345443726, 0.32819560170173645, 0.15985795855522156, 0.2660318613052368, 0.1257472187280655, -0.18732666969299316, 0.6962708830833435, -0.6958414316177368, 0.7506401538848877, -0.4646375775337219, -0.006679032929241657, 0.12816296517848969, -0.1059083640575409, 0.6628174781799316, -0.21441583335399628, 0.18768174946308136, 0.030382497236132622, -0.19483253359794617, -0.8276563882827759, -1.0956681966781616, 0.5556813478469849, -0.8798251748085022, -0.8519935607910156, -0.40002524852752686, -0.6818121075630188, -0.29325759410858154, -0.04855078458786011, -0.08820681273937225, 0.03669982776045799, 0.030257634818553925, 0.12652316689491272, 0.5874328017234802, 0.16567780077457428, 0.19144226610660553, 0.028734013438224792, -0.030047625303268433, -0.3764847218990326, 1.2247849702835083, -0.010859298519790173, 0.11873301863670349, 0.2752183675765991, 0.18569882214069366, -0.1060371920466423, -0.33003005385398865, -0.46828123927116394, 0.074612095952034, -0.5230756402015686, -0.20077656209468842, -0.35456472635269165, 0.005780885461717844, -0.4143061935901642, -0.5194805264472961, -0.3837110698223114, -0.6584714651107788, -0.25963282585144043, -0.07332218438386917, -0.0533897839486599, 0.8826212286949158, -0.27423325181007385, 0.3055866062641144, -0.3683701753616333, 0.35264959931373596, 0.7678436636924744, 0.32070761919021606, -0.05497187376022339, -0.3353038430213928, -0.1154508888721466, 0.03453276678919792, -0.5219332575798035, -0.3774021863937378, 0.05980417877435684, 0.12520119547843933, 0.32743045687675476, 0.48320335149765015, -0.14829708635807037, 0.8109846115112305, -0.441203773021698, 0.43019992113113403, 0.35562431812286377, -0.9936539530754089, 0.5456503033638, -0.20670437812805176, 0.13631433248519897, 0.7092660665512085, 0.26049143075942993, -0.22121034562587738, -0.23187147080898285, -0.6238680481910706, -0.8441603183746338, 0.7513251900672913, 0.08500033617019653, -0.07796746492385864, 0.3493676781654358, 0.6613697409629822, 0.04523899406194687, 0.11555711925029755, -0.7036628723144531, -0.027896558865904808, -0.22410430014133453, -0.3513018488883972, -0.2924101650714874, 0.05210958421230316, -0.2696550786495209, -0.4119512438774109, 0.5601826310157776, -0.29137709736824036, 0.10515140742063522, -0.13927322626113892, -0.1236565038561821, -0.07769361883401871, 0.45458984375, 0.4660433530807495, 0.5560598969459534, -0.1463494896888733, 0.12090238183736801, 0.20514312386512756, 0.015185038559138775, 0.5932275652885437, 0.17646613717079163, -0.17798854410648346, -0.6163362860679626, 0.5641932487487793, 0.8031625151634216, 0.11396612226963043, -0.4659149646759033, 0.5268721580505371, 0.17001686990261078, -0.27849000692367554, -0.22663678228855133, 0.3577435612678528, -0.027850592508912086, 0.4174598455429077, 0.3908540606498718, -0.048385653644800186, 0.12592697143554688, -0.5056427121162415, 0.17870540916919708, 0.6495022177696228, -0.616858720779419, -0.19250941276550293, 0.7791768312454224, 0.1735532432794571, -0.62945556640625, 0.7701619267463684, -0.31092751026153564, -0.32047486305236816, 0.7945910692214966, 0.35301101207733154, 0.5968522429466248, -0.08598124980926514, 0.1739456206560135, 0.28151461482048035, 0.1344325989484787, -0.3980277180671692, -0.11346352100372314, -0.30117735266685486, -0.5148124694824219, -0.6198832392692566, -0.3343876302242279, -0.6338436007499695, -0.21648430824279785, -0.957214891910553, 0.09770677238702774, -0.6529553532600403, -0.21293148398399353, 0.15601395070552826, -0.03999462351202965, -0.6977546215057373, 0.24671590328216553, -0.09609724581241608, 0.46673086285591125, -0.8135747909545898, 0.4954434335231781, 0.8293215036392212, -0.3500059247016907, -0.9213098287582397, -0.2321242243051529, -0.12222172319889069, -0.8615050911903381, 0.7237837314605713, 0.16080142557621002, 0.21495477855205536, -0.12278157472610474, -0.8118811249732971, -0.7283679842948914, 1.2003955841064453, 0.3477020263671875, -0.5697375535964966, -0.4048464000225067, -0.0014836288755759597, 0.7720432877540588, -0.30473753809928894, 0.18842384219169617, 0.7540647983551025, 0.6320075392723083, -0.0120714595541358, -0.8136566281318665, 0.022075919434428215, -0.21166132390499115, -0.099967822432518, 0.4937998354434967, -0.5867817401885986, 0.7811112403869629, -0.33599990606307983, 0.10329847782850266, -0.005226991139352322, 0.8866642713546753, 0.18766389787197113, 0.6196291446685791, 0.7596805691719055, 0.8412769436836243, 0.7532590627670288, -0.2470889687538147, 1.120412826538086, 0.16855084896087646, 0.36590492725372314, 1.1892757415771484, -0.029902037233114243, 0.5684430599212646, 0.5448925495147705, -0.4555414319038391, 0.66045743227005, 0.31227895617485046, 0.010614181868731976, 0.2644366919994354, 0.4218970835208893, 0.055188290774822235, -0.6618813872337341, -0.07671639323234558, -0.07781936228275299, 0.45252102613449097, 0.18511563539505005, -0.04922807589173317, -0.0937361791729927, -0.017045803368091583, -0.2686045467853546, 0.3385637402534485, -0.5147929787635803, 0.934303879737854, -0.19365209341049194, -0.9838801622390747, 0.5630913376808167, -0.184168741106987, 0.7216892838478088, -0.3576476573944092, -0.318814754486084, 0.030190512537956238, 0.1516331285238266, -0.28789570927619934, -0.6394965052604675, 0.29623275995254517, 0.054398681968450546, -0.30935952067375183, -0.3532622456550598, 0.5057878494262695, -0.2955303192138672, -0.6434096693992615, -0.06578610092401505, 0.6003576517105103, 0.043651457875967026, 0.04483100399374962, -0.5691083073616028, -0.34020739793777466, -0.0771283209323883, -0.19348658621311188, 0.4526839256286621, 0.29523801803588867, -0.36399176716804504, 0.8044050335884094, 0.5299414396286011, 0.008378725498914719, -0.0911233052611351, -0.19017623364925385, 0.781237781047821, -0.7995234727859497, -0.33797281980514526, -0.768802285194397, 0.43109893798828125, -0.16744959354400635, -0.1290695071220398, 0.24124732613563538, 0.2691211700439453, 0.8230361938476562, 0.20646417140960693, 0.7215292453765869, -0.11158902943134308, 0.4987674057483673, -0.2256026566028595, 0.49140769243240356, -0.6920756101608276, 0.2574768364429474, -0.29810595512390137, -0.8380632400512695, -0.46904492378234863, 0.6396719813346863, -0.4499683678150177, -0.0013722507283091545, 0.36134740710258484, 0.49212417006492615, -0.14033766090869904, -0.4307129383087158, 0.2528027296066284, -0.20064345002174377, 0.5355458855628967, 0.8714377880096436, 0.8641771674156189, -0.08733797818422318, 0.823917806148529, -0.3584608733654022, -0.3764991760253906, -0.09222663938999176, -0.7624942064285278, -0.6066213846206665, -0.4181692898273468, -0.27535730600357056, -0.36183130741119385, 0.04407336935400963, 0.9278117418289185, 0.49699199199676514, -0.8207571506500244, -0.21999995410442352, -0.26244795322418213, 0.45115986466407776, -0.640382707118988, -0.20948423445224762, 0.5027035474777222, -0.5295562148094177, -0.9262198805809021, 0.24147965013980865, 0.08620509505271912, -0.17917191982269287, -0.21485131978988647, -0.2445525974035263, 0.0833086371421814, -0.13584932684898376, 0.2044759839773178, 0.5509830713272095, -0.6814541220664978, -0.4550040364265442, -0.2240762561559677, -0.18095874786376953, 0.10262436419725418, 0.8540144562721252, -0.7409219741821289, 0.3304155170917511, 0.1972704529762268, 0.9233753085136414, 0.38066694140434265, 0.2949003577232361, 0.5612994432449341, -0.5277935862541199, -0.07950568944215775, 0.1463862955570221, 0.3310078978538513, 0.3516339063644409, -0.2810789942741394, 0.856454074382782, 0.05749987065792084, -0.6343322992324829, -0.93780517578125, 0.3590720295906067, -0.8470043540000916, -0.051775865256786346, 0.8437142372131348, -0.41554588079452515, -0.18925411999225616, 0.08865338563919067, -0.1476166993379593, 0.4068390727043152, -0.4057352840900421, 1.2760140895843506, 0.6356581449508667, -0.4561653435230255, 0.21928922832012177, -0.0989418551325798, 0.5244084596633911, 0.9302353858947754, -0.7889118790626526, 0.020564323291182518, 0.5827303528785706, 0.06479411572217941, 0.5276632308959961, 0.4554004967212677, 0.3286055624485016, 0.4946728050708771, -0.2646738886833191, 0.05139879137277603, -0.19197672605514526, -0.4146610200405121, -0.6065953969955444, 0.48405763506889343, 0.18952545523643494, -0.09818213433027267 ]
http://arxiv.org/abs/2403.09409v1
http://arxiv.org/pdf/2403.09409v1
"Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Models
2024-03-14T14:01:26
2024-03-14T14:01:26
Seth Bernstein, Paul Denny, Juho Leinonen, Lauren Kan, Arto Hellas, Matt Littlefield, Sami Sarsa, Stephen MacNeil
cs.HC
cs.HC, cs.AI, cs.CL
Grasping complex computing concepts often poses a challenge for students who struggle to anchor these new ideas to familiar experiences and understandings. To help with this, a good analogy can bridge the gap between unfamiliar concepts and familiar ones, providing an engaging way to aid understanding. However, creating effective educational analogies is difficult even for experienced instructors. We investigate to what extent large language models (LLMs), specifically ChatGPT, can provide access to personally relevant analogies on demand. Focusing on recursion, a challenging threshold concept, we conducted an investigation analyzing the analogies generated by more than 350 first-year computing students. They were provided with a code snippet and tasked to generate their own recursion-based analogies using ChatGPT, optionally including personally relevant topics in their prompts. We observed a great deal of diversity in the analogies produced with student-prescribed topics, in contrast to the otherwise generic analogies, highlighting the value of student creativity when working with LLMs. Not only did students enjoy the activity and report an improved understanding of recursion, but they described more easily remembering analogies that were personally and culturally relevant.
[ -0.29786205291748047, -0.9412400126457214, 0.4766136705875397, 0.15551036596298218, -0.12378651648759842, 0.5223228931427002, -0.08709012717008591, -0.27603718638420105, -0.21073845028877258, 0.05761715769767761, -0.7847944498062134, -0.1797320395708084, -0.2549179196357727, -0.06049636751413345, -0.7391897439956665, 0.8779587745666504, 0.07595489919185638, -0.14821140468120575, -0.5660266876220703, 0.5275160074234009, -0.5702375769615173, -0.6125383973121643, -0.6473682522773743, -0.34112653136253357, 0.3541468679904938, 0.3051813840866089, 0.7266251444816589, 0.6852544546127319, 0.37258219718933105, 0.4209047257900238, 0.10004328936338425, -0.45861685276031494, -0.7797815799713135, 0.17768898606300354, -0.1981884390115738, -0.4767393171787262, -0.01059652492403984, 0.1631748229265213, 0.5916503667831421, 1.0131371021270752, -0.21069419384002686, 0.325497567653656, 0.232908695936203, 0.8065122961997986, -0.39701178669929504, 0.3796609044075012, -0.835645318031311, 0.36349672079086304, -0.018607785925269127, -0.19470465183258057, -0.30838844180107117, -0.43705621361732483, 0.3295707702636719, -0.6109417676925659, 0.39341631531715393, -0.334943950176239, 0.7581804990768433, -0.17755825817584991, 0.009232749231159687, -0.5444435477256775, -0.7295034527778625, 0.8172730207443237, -0.46315935254096985, 0.3226454257965088, -0.06665690988302231, 0.4546539783477783, -0.47142452001571655, -0.6831422448158264, -0.6729023456573486, -0.005100550130009651, 0.02361871674656868, 0.01364213414490223, -0.5419320464134216, -0.2514110803604126, 0.4006679058074951, 0.5092247128486633, -0.5729848742485046, -0.14365291595458984, -0.41779986023902893, 0.0600888729095459, 0.24207395315170288, 0.41871377825737, 0.5611493587493896, -0.1940043866634369, -0.20094671845436096, -0.09741409868001938, -0.7081915736198425, 0.09023288637399673, 0.5494687557220459, 0.38126152753829956, -0.11067678034305573, 0.3703547716140747, -0.0034306298475712538, 0.7344989776611328, -0.05690715089440346, 0.015497390180826187, 0.29004135727882385, 0.1434044986963272, -0.1018582209944725, -0.29770660400390625, 0.3502886891365051, 0.24432596564292908, 0.7982388734817505, -0.29518017172813416, 0.1054205521941185, 0.28792569041252136, 0.3089357018470764, -0.819454550743103, -0.386519193649292, 0.03134855628013611, -0.44332432746887207, -0.3564985692501068, -0.05366105958819389, -0.8675488233566284, -0.463065505027771, -0.556806206703186, 0.41121792793273926, -0.14085453748703003, -0.44245752692222595, 0.07669101655483246, -0.08359335362911224, 0.35392045974731445, 0.3386051058769226, -1.0300629138946533, 0.6091194152832031, 0.9749119281768799, 0.9246972799301147, -0.33663517236709595, -0.3065579831600189, -0.1763327568769455, -0.2697570025920868, -0.32645151019096375, 0.584050178527832, -0.9284201264381409, -0.5701080560684204, 0.15080033242702484, 0.007719801738858223, -0.10145535320043564, -0.605232298374176, -0.039867740124464035, -0.2885441780090332, 0.28836020827293396, 0.17807233333587646, -0.5546033978462219, -0.033889371901750565, 0.35630691051483154, -0.3406625986099243, 0.8222960233688354, 0.19746758043766022, -0.37518057227134705, -0.26797452569007874, -0.40276867151260376, -0.2808886468410492, -0.10550430417060852, -0.544744074344635, -0.0017583150183781981, 0.23798885941505432, -0.13985233008861542, 0.621791660785675, -0.22909022867679596, -0.17565393447875977, -0.14702993631362915, -0.39316457509994507, 0.5596678853034973, -0.2537941634654999, 0.6726216673851013, 0.2659074068069458, -0.10567053407430649, -0.09214946627616882, -0.5932525992393494, 0.10327927023172379, 0.352008193731308, -0.09095684438943863, -0.29804661870002747, 0.027730772271752357, -0.24718588590621948, 0.13855715095996857, 0.19171962141990662, -0.40457242727279663, 0.2635003924369812, -0.522193193435669, 0.8516913652420044, 0.8727154731750488, 0.035306233912706375, 0.2677299380302429, -0.7016538381576538, 0.7947035431861877, -0.1692834049463272, -0.19413012266159058, -0.5086548924446106, -0.40809109807014465, -0.6913449168205261, -0.008717204444110394, -0.07380348443984985, 0.3080493211746216, -0.43710288405418396, -0.3469228446483612, -0.2720619738101959, -0.6836287379264832, -0.38936561346054077, -0.01957201398909092, 0.22277981042861938, 0.4612792134284973, -0.10901239514350891, -0.41862258315086365, -0.5361054539680481, -0.7032012939453125, -0.06162247434258461, -0.1100478321313858, -0.4443092346191406, 0.3652454912662506, 0.3981323540210724, 0.0461597740650177, 0.9122825264930725, -0.7134912610054016, -0.09618290513753891, 0.24379482865333557, 0.1760275810956955, 0.6448396444320679, 0.5440136790275574, 0.29873979091644287, -0.6802931427955627, -0.38626953959465027, 0.007099498063325882, -0.42129769921302795, 0.046973273158073425, -0.4574824571609497, -0.2142915278673172, -0.07592534273862839, 0.6705375909805298, -0.5178889632225037, 0.23155105113983154, 0.5059781670570374, 0.06888647377490997, 0.8825163841247559, -0.00496585201472044, 0.07667064666748047, -0.8948865532875061, -0.02998403273522854, -0.08622997254133224, -0.11237353086471558, -0.5039198398590088, 0.42160266637802124, -0.29109838604927063, -0.5378715991973877, -0.5379488468170166, 0.32311829924583435, -0.5791563987731934, -0.2864511013031006, -0.20688685774803162, 0.5351969003677368, -0.27262958884239197, 0.3920704424381256, 0.16785955429077148, 0.788273274898529, 0.699901819229126, -0.39175868034362793, 0.2856951355934143, -0.021920135244727135, -0.4385293424129486, 0.5218392014503479, -0.6491761207580566, 0.3237207531929016, 0.08566683530807495, 0.17217206954956055, -1.2492402791976929, -0.03368983045220375, -0.06716659665107727, -0.6132198572158813, 0.05481209605932236, -0.35576385259628296, -0.42156410217285156, -0.40671631693840027, -0.3356134295463562, 0.6173523664474487, 0.8237597942352295, -0.5265741944313049, 0.5842621922492981, 0.3930342495441437, -0.31095579266548157, -0.3388448655605316, -0.6156604290008545, 0.0011299364268779755, -0.34535133838653564, -0.44053882360458374, 0.16061589121818542, -0.3690923750400543, -0.24145792424678802, 0.05269017070531845, -0.08145672082901001, -0.15953098237514496, 0.2919202744960785, 0.4936864376068115, 0.2361038476228714, -0.38567620515823364, 0.30865341424942017, -0.38444483280181885, 0.04654582962393761, 0.36782705783843994, -0.055194154381752014, 0.8288956880569458, -0.4803330600261688, -0.5753317475318909, -0.12009863555431366, 0.2693687379360199, 0.5702900886535645, 0.18585938215255737, 0.3270595669746399, 0.22763998806476593, -0.6090380549430847, -0.2999434173107147, -0.3642721474170685, -0.21149662137031555, -0.515807569026947, 0.2814297378063202, -0.6142310500144958, -0.9110612869262695, 0.6927875280380249, -0.10606423765420914, 0.3934467136859894, -0.18920044600963593, 0.5513370037078857, -0.16027113795280457, 0.7128923535346985, 0.40267762541770935, 0.1503203809261322, 0.4572325348854065, -0.16322076320648193, 0.3808163106441498, -0.7230596542358398, 0.0873851552605629, -0.5443052649497986, -0.24400123953819275, -0.8196370005607605, -0.5295179486274719, 0.016835374757647514, -0.18758933246135712, -0.5924506187438965, 0.37269070744514465, -0.6819907426834106, 0.7452836632728577, 0.464626282453537, 0.109279565513134, 0.1987495869398117, 0.29581475257873535, 0.2770516276359558, -0.13961562514305115, -0.5831910967826843, -0.5100944638252258, 0.7347298860549927, 0.2630098760128021, 0.8541274666786194, 0.25428348779678345, 0.7656511068344116, 0.24411752820014954, 0.37991204857826233, -1.120629906654358, 0.7661716341972351, -0.3312765657901764, -0.19839519262313843, -0.08702501654624939, -0.4553315043449402, -1.428710699081421, 0.20465563237667084, -0.4024456739425659, -1.2404475212097168, -0.08562172949314117, 0.07912056893110275, -0.06689334660768509, 0.228818878531456, -0.6512598991394043, 0.7807347774505615, 0.1941087543964386, -0.3530787229537964, -0.22807852923870087, -0.33279648423194885, 0.22534333169460297, -0.15197809040546417, 0.41684991121292114, -0.02282613143324852, 0.30127376317977905, 0.5425826907157898, -0.15885411202907562, 1.1116563081741333, 0.4505371153354645, 0.028331687673926353, 0.683354377746582, 0.9183982014656067, 0.1958381086587906, -0.6070389151573181, -0.16808928549289703, 0.03389601409435272, 0.32631316781044006, -0.5250656008720398, -0.7975684404373169, 0.9918670058250427, -0.9029457569122314, -1.1282800436019897, -0.6009799242019653, -0.8333556056022644, -0.18185733258724213, 0.03978702425956726, -0.399253785610199, 0.3326426148414612, -0.12543106079101562, 0.31638649106025696, 0.3233906924724579, -0.1896827071905136, 0.2843734323978424, 0.3941986858844757, -0.24060215055942535, 0.27045586705207825, 1.1938109397888184, -0.07290438562631607, 0.642276406288147, 0.3834019899368286, 0.551437258720398, -0.03242512419819832, -0.17536893486976624, -0.47308114171028137, 0.09245788305997849, -0.8290055394172668, 0.016175879165530205, -0.4720185101032257, -0.42524105310440063, -0.3347335457801819, -0.5960638523101807, -0.14205718040466309, -0.5834296345710754, -0.3028498589992523, -0.07551673799753189, 0.05481541156768799, 0.6681287884712219, 0.006839060690253973, 0.30485281348228455, -0.5350587368011475, 0.01553716417402029, 0.6005369424819946, 0.1680738627910614, 0.6564944982528687, -0.5532239079475403, 0.07313163578510284, 0.05575914680957794, -0.5646662712097168, -0.8428786993026733, 0.1626565307378769, 0.09776285290718079, 0.5246222019195557, 0.42985057830810547, -0.10128949582576752, 0.8298271894454956, -0.7182064652442932, 0.9933650493621826, 0.4097549617290497, -1.1529347896575928, 0.14480756223201752, -0.4855038523674011, 0.46299710869789124, -0.017875203862786293, 0.3210163414478302, -0.7644798755645752, -0.3436844050884247, -0.6256246566772461, -0.8664050102233887, 0.31848302483558655, 0.37575775384902954, 0.905325710773468, -0.31943807005882263, 0.29609400033950806, 0.07960483431816101, 0.44567304849624634, -0.8711856603622437, -0.17289288341999054, -0.15030813217163086, -0.22992633283138275, 0.23850958049297333, -0.12099548429250717, 0.06159324571490288, 0.12895002961158752, 0.48247644305229187, 0.12245563417673111, 0.2321746051311493, -0.28956377506256104, 0.19274680316448212, -0.2825663983821869, 0.36038723587989807, 0.2944263517856598, 0.9357984662055969, 0.044235870242118835, 0.42284518480300903, 0.20169119536876678, -0.3443933129310608, 0.01672079600393772, -0.1491001695394516, 0.18090304732322693, -0.26191258430480957, 0.2792901396751404, 0.02855328842997551, 0.3779783546924591, -0.9732651710510254, 0.3729531168937683, 0.11268790811300278, 0.15945644676685333, -0.49787580966949463, 0.32342177629470825, 0.4368293881416321, 0.19507502019405365, 0.3208225667476654, -0.3721673786640167, 0.09712830185890198, -1.0792772769927979, 0.22354340553283691, 0.5034334659576416, -0.3590933084487915, -0.06246238574385643, 0.26489704847335815, 0.02605561353266239, -0.7279911637306213, 0.6840968132019043, 0.21153105795383453, -0.3430095314979553, 1.0062190294265747, 0.8892801403999329, 0.9010864496231079, -0.1612103432416916, 0.31594759225845337, 0.47061532735824585, 0.20682547986507416, -0.014167854562401772, -0.14458419382572174, -0.06891749799251556, -0.6579523086547852, -0.22644083201885223, -0.6545688509941101, -0.543681800365448, 0.1481851041316986, -0.7562691569328308, 0.32091471552848816, -0.6245911717414856, 0.15310917794704437, 0.09025515615940094, -0.3787200450897217, -0.8588167428970337, 0.03787674754858017, 0.008053039200603962, 0.6249100565910339, -0.8628801107406616, 0.3503142297267914, 0.7924613356590271, -0.25232425332069397, -0.7720999717712402, -0.13106736540794373, 0.23162642121315002, -0.96063232421875, 0.5304493308067322, 0.17286500334739685, -0.2998969256877899, -0.1522892266511917, -0.323688805103302, -0.6200670003890991, 0.8663553595542908, 0.005119664594531059, -0.805825412273407, -0.035686101764440536, 0.29769402742385864, 0.8564152717590332, -0.7133865356445312, 0.29264169931411743, 0.48065048456192017, -0.059457823634147644, 0.3072745203971863, -0.6487041711807251, 0.15647105872631073, -0.2850572466850281, -0.10888952016830444, 0.17799441516399384, -0.44396141171455383, 1.1129529476165771, -0.37435805797576904, -0.5324535369873047, 0.3718799352645874, 0.45608842372894287, 0.2714425027370453, 0.5142486691474915, 0.6897374987602234, 0.15826600790023804, 0.4087950885295868, 0.0860310047864914, 0.6827570796012878, -0.2434253692626953, 0.47583141922950745, 1.509016513824463, 0.13887682557106018, 0.842616081237793, 0.6348052620887756, -0.3998686671257019, 0.7474051117897034, 0.7552716135978699, -0.1165885403752327, 0.03896880894899368, 1.0553570985794067, -0.21363502740859985, -0.48002752661705017, 0.048352569341659546, -0.39292386174201965, 0.15781961381435394, 0.5536768436431885, -0.27508825063705444, -0.42487865686416626, -0.23490607738494873, 0.08512146025896072, 0.5748019814491272, -0.26717042922973633, 0.6396263837814331, 0.2827848792076111, -0.38815656304359436, 0.4286850094795227, -0.5271432399749756, 0.09999814629554749, -0.5657436847686768, -0.4906814396381378, 0.0030047642067074776, -0.041025348007678986, -0.14553411304950714, -1.0712729692459106, -0.035419948399066925, 0.17000126838684082, -0.26035475730895996, -0.009145609103143215, 0.37101441621780396, -0.4198113977909088, -0.7187997102737427, 0.03706939145922661, 0.5549437999725342, 0.7069814801216125, 0.21148023009300232, -0.7399651408195496, 0.18643587827682495, 0.055519480258226395, -0.009733537212014198, 0.4032291769981384, 0.5747253894805908, -0.03395232558250427, 0.9806544184684753, 0.6975389719009399, 0.022697702050209045, -0.10362562537193298, -0.11398917436599731, 0.9217703342437744, -0.43801307678222656, -0.32579970359802246, -0.7395744323730469, 0.38302356004714966, 0.19821147620677948, -0.07993372529745102, 0.6819313764572144, 0.5633924603462219, 1.1180342435836792, -0.37892621755599976, 0.703938364982605, 0.02939237840473652, 0.3885555565357208, -0.2628833055496216, 0.40004846453666687, -0.5045756101608276, 0.4193134605884552, -0.7028387188911438, -1.115600824356079, -0.11749532073736191, 0.9676011800765991, -0.4462926387786865, -0.020297439768910408, 0.47083526849746704, 0.8376286625862122, -0.353719562292099, 0.1080542504787445, 0.4785141348838806, 0.44106540083885193, 0.4540651738643646, 0.6689246296882629, 1.0873502492904663, 0.05437123402953148, 0.6958920359611511, -0.19287028908729553, -0.28577741980552673, -0.08496035635471344, -1.1239664554595947, -1.0857981443405151, -0.6960453391075134, -0.44685378670692444, -0.49434900283813477, 0.05483172833919525, 1.0503959655761719, 0.5988522171974182, -0.6012575030326843, -0.6602256894111633, -0.06879223138093948, 0.3197346031665802, -0.20287777483463287, -0.28548792004585266, 0.4403057396411896, -0.35520511865615845, -0.8842847943305969, -0.04254770651459694, -0.2018003761768341, 0.10715912282466888, -0.4636920988559723, 0.42327043414115906, 0.1543547809123993, 0.3126746714115143, 0.7329890727996826, 0.3393585979938507, -0.6013391017913818, -0.6995753645896912, -0.06024535372853279, 0.10741893202066422, 0.019133225083351135, 1.0205491781234741, -0.6612916588783264, 0.8412600755691528, 0.5920360088348389, 0.7370085716247559, 0.5102072358131409, 0.24590788781642914, 0.33558347821235657, -0.49482086300849915, -0.08112110197544098, 0.14867310225963593, 0.24249647557735443, 0.38886353373527527, -0.17354154586791992, 0.4661652743816376, 0.14361634850502014, -0.5251101851463318, -0.7941060662269592, 0.5118144154548645, -1.130928874015808, -0.5008878111839294, 1.0669878721237183, -0.4136076867580414, -0.19833403825759888, 0.1276455670595169, -0.3400748372077942, -0.03683377429842949, -0.319759339094162, 1.3103471994400024, 0.8906176686286926, -0.19272924959659576, -0.2545105814933777, -0.6298427581787109, 0.15176434814929962, 0.27043259143829346, -0.609309196472168, 0.2221914529800415, 0.4640507698059082, 0.5126277804374695, 0.25447434186935425, 0.2167736142873764, -0.19834598898887634, 0.21440356969833374, -0.08384402096271515, -0.06282962113618851, -0.02217123471200466, 0.009550010785460472, 0.12040111422538757, 0.1749248504638672, -0.03680654242634773, -0.33287209272384644 ]
http://arxiv.org/abs/2403.09362v2
http://arxiv.org/pdf/2403.09362v2
Komodo: A Linguistic Expedition into Indonesia's Regional Languages
2024-03-14T13:12:21
2024-03-19T05:49:01
Louis Owen, Vishesh Tripathi, Abhay Kumar, Biddwan Ahmed
cs.CL
cs.CL
The recent breakthroughs in Large Language Models (LLMs) have mostly focused on languages with easily available and sufficient resources, such as English. However, there remains a significant gap for languages that lack sufficient linguistic resources in the public domain. Our work introduces Komodo-7B, 7-billion-parameter Large Language Models designed to address this gap by seamlessly operating across Indonesian, English, and 11 regional languages in Indonesia. Komodo-7B is a family of LLMs that consist of Komodo-7B-Base and Komodo-7B-Instruct. Komodo-7B-Instruct stands out by achieving state-of-the-art performance in various tasks and languages, outperforming the benchmarks set by OpenAI's GPT-3.5, Cohere's Aya-101, Llama-2-Chat-13B, Mixtral-8x7B-Instruct-v0.1, Gemma-7B-it , and many more. This model not only demonstrates superior performance in both language-specific and overall assessments but also highlights its capability to excel in linguistic diversity. Our commitment to advancing language models extends beyond well-resourced languages, aiming to bridge the gap for those with limited linguistic assets. Additionally, Komodo-7B-Instruct's better cross-language understanding contributes to addressing educational disparities in Indonesia, offering direct translations from English to 11 regional languages, a significant improvement compared to existing language translation services. Komodo-7B represents a crucial step towards inclusivity and effectiveness in language models, providing to the linguistic needs of diverse communities.
[ -0.44069209694862366, -0.6083824634552002, 0.4665229916572571, 0.46559619903564453, -0.39175477623939514, -0.04296164959669113, -0.4758836328983307, -0.46238550543785095, -0.018711209297180176, 1.0401767492294312, -0.3765275776386261, -0.3443300127983093, -0.753686785697937, 0.5633471608161926, -0.0274814460426569, 0.5626537799835205, 0.05804157629609108, -0.1835820972919464, -0.10336116701364517, -0.3644773066043854, -0.6451597809791565, -0.2711423337459564, -0.3757384121417999, -0.4237609803676605, 0.6412545442581177, 0.3618130087852478, 0.48261964321136475, 0.7496200799942017, 0.39322400093078613, 0.3310104310512543, -0.323770135641098, 0.104568250477314, -0.20146925747394562, 0.1762632429599762, -0.787837028503418, -0.8258206248283386, -0.40263473987579346, -0.4990485608577728, 0.4984704554080963, 1.0391350984573364, -0.05386209115386009, -0.02729177661240101, -0.3003891110420227, 0.6678861379623413, -0.5488016605377197, 0.4530602991580963, -0.5906621813774109, -0.32524046301841736, -0.535754382610321, 0.13993072509765625, -0.281011164188385, -0.37661147117614746, 0.18680259585380554, -0.4874626398086548, 0.0012418366968631744, -0.15279975533485413, 0.632793664932251, -0.05187995731830597, -0.9736100435256958, -0.6589155793190002, -0.4606223702430725, 0.8178293704986572, -0.7376776337623596, 0.3076801300048828, 0.4242582619190216, 0.35851794481277466, -0.5565322637557983, -0.29535022377967834, -0.4541824758052826, -0.14903749525547028, 0.3012063503265381, 0.10704115033149719, 0.24943587183952332, 0.3315267264842987, 0.011902602389454842, 0.539871871471405, -0.4604412615299225, 0.16112978756427765, -0.6878353357315063, 0.12267928570508957, 0.7272717356681824, -0.012624146416783333, 0.4413328766822815, -0.3783409595489502, -0.04140264540910721, -0.07230310887098312, -0.8337216973304749, -0.1587810069322586, 0.6478875279426575, 0.6534486413002014, 0.04117633029818535, 0.6965091228485107, -0.5214343667030334, 0.7384495735168457, -0.31471675634384155, -0.739931046962738, 0.07540181279182434, -0.34885454177856445, -0.10347376018762589, 0.2841047942638397, 0.5641295909881592, 0.10231026262044907, -0.0007817207369953394, 0.0670563131570816, -0.22362135350704193, 0.34642788767814636, -0.12024010717868805, -0.41417017579078674, -0.030777763575315475, 0.013617188669741154, -0.42871949076652527, -0.24709933996200562, -0.10679664462804794, -0.7488260269165039, -0.4682936668395996, -0.22721458971500397, 0.3792915940284729, -0.2643866539001465, -0.9327268600463867, 0.3456660211086273, 0.10433952510356903, 0.02380635216832161, 0.4462023675441742, -0.7125226259231567, 0.1862078309059143, 0.5141105055809021, 0.7235156893730164, 0.05555645003914833, -0.157258078455925, 0.10617125779390335, 0.23739653825759888, -0.514163613319397, 0.6816378831863403, -1.024816632270813, -0.7026628851890564, 0.2670597434043884, 0.2527184784412384, 0.03442712128162384, -0.6746193766593933, 0.6507717370986938, -0.19620274007320404, 0.14154036343097687, -0.17278917133808136, -0.4092090427875519, -0.7186117768287659, 0.22247324883937836, -0.6954697370529175, 1.1667063236236572, 0.30593833327293396, -0.32262304425239563, 0.021654153242707253, -0.7075294852256775, -0.3792042136192322, 0.18447934091091156, -0.06344553828239441, -0.012614808045327663, 0.5705224871635437, 0.15038400888442993, 0.44691699743270874, -0.3094118535518646, 0.3091476857662201, -0.5151863694190979, -0.13652244210243225, 0.030736373737454414, -0.31647947430610657, 0.8102741837501526, 0.37459731101989746, -0.12652716040611267, -0.04427633434534073, -0.833018958568573, -0.3111691474914551, 0.2750108242034912, -0.28529712557792664, -1.1706615686416626, -0.25787481665611267, -0.1426876038312912, 0.23796023428440094, 0.3902798593044281, -0.6568728685379028, 0.7917516827583313, -0.6836739778518677, 0.34132084250450134, 0.6398183107376099, -0.07809687405824661, 0.5125722289085388, -0.028462139889597893, 0.8290162086486816, 0.07813818752765656, -0.02355138398706913, -0.6991702914237976, -0.523073136806488, -0.7006430625915527, -0.31960323452949524, 0.3431702256202698, 0.30486878752708435, -0.9113910794258118, 0.29228273034095764, -0.42754197120666504, -0.533428966999054, -0.6604698896408081, 0.27275586128234863, 0.25742533802986145, 0.12405058741569519, -0.1347426027059555, -0.1473168432712555, -0.4593959450721741, -0.8599501848220825, 0.048444509506225586, -0.007345974445343018, 0.131409153342247, 0.22283975780010223, 0.5932672619819641, -0.2841186821460724, 0.5489256978034973, 0.16750314831733704, -0.26368436217308044, -0.6866323947906494, -0.320600301027298, 0.5984245538711548, 0.19780641794204712, 0.47734498977661133, -0.6924246549606323, -0.4486655294895172, 0.713995635509491, -0.5126325488090515, -0.38000884652137756, 0.29747650027275085, -0.09948533773422241, 0.41523221135139465, 0.17124958336353302, -0.5189602375030518, 0.22720859944820404, 0.9602159857749939, -0.2331627905368805, 0.25857648253440857, -0.4488820731639862, 0.2997453510761261, -1.401716947555542, -0.22506389021873474, -0.3551596999168396, -0.0967923253774643, -0.26739245653152466, 0.20055857300758362, 0.013716832734644413, -0.16723808646202087, -0.34431397914886475, 0.7550243735313416, -0.5245689749717712, -0.14538243412971497, -0.3811635375022888, 0.3084251284599304, -0.15676626563072205, 0.10474089533090591, -0.14392299950122833, 0.5456097722053528, 0.4375748634338379, -0.4824039340019226, 0.5546517968177795, -0.03811586648225784, -0.43173080682754517, 0.6347318887710571, -0.49192044138908386, 0.0758422389626503, 0.06343059241771698, 0.25181058049201965, -0.9025880694389343, -0.7251752018928528, 0.19864554703235626, -0.14249356091022491, 0.16411374509334564, -0.7076171040534973, -0.5494283437728882, -0.3421494662761688, 0.09055589884519577, 0.6158146858215332, 0.4668101370334625, -0.6178675293922424, 0.6554667949676514, 0.2720668315887451, -0.6654239892959595, -0.38746434450149536, -0.3942625820636749, 0.09400361776351929, -0.4442504942417145, -0.6674844026565552, -0.1529187113046646, 0.29678231477737427, -0.20760321617126465, 0.02444203570485115, -0.11155054718255997, -0.05513156205415726, 0.09486321359872818, 0.1698731929063797, 0.12667836248874664, -0.29279524087905884, 0.013030585832893848, 0.6043941974639893, 0.07004016637802124, 0.04218253493309021, -0.5599117875099182, 0.5918444991111755, 0.08662997931241989, -0.2999042570590973, -0.15893878042697906, 0.5251047015190125, 0.6658490300178528, -0.4824018180370331, 0.4746105372905731, 0.06429855525493622, -0.3568434715270996, -0.3780376613140106, -0.5126014947891235, 0.3192099928855896, -0.4208313226699829, 0.5569728016853333, -0.6993108987808228, -0.9534792900085449, 0.6244881749153137, -0.43939465284347534, 0.007046523038297892, 0.3507446050643921, 0.6304344534873962, 0.2690385580062866, 1.0551742315292358, 0.8016499280929565, 0.00008761716890148818, 0.51246178150177, 0.019366327673196793, 0.34418249130249023, -0.6028205156326294, -0.250600665807724, -0.7016186714172363, 0.09945088624954224, -0.882982075214386, -0.3698202967643738, 0.27965858578681946, 0.19341839849948883, 0.2564353346824646, 0.3018631339073181, -0.21238896250724792, 0.5263587832450867, 0.36457207798957825, -0.23819486796855927, 0.38825008273124695, 0.07357009500265121, -0.09235609322786331, 0.0461750403046608, -0.8304917812347412, -0.703793466091156, 1.3404767513275146, 0.26861709356307983, 0.9059771299362183, 0.13502472639083862, 0.9346718192100525, 0.20270033180713654, 0.19472280144691467, -0.4131137728691101, 0.3600875437259674, -0.24918082356452942, -0.6372542977333069, -0.16493405401706696, -0.3002954423427582, -1.0607318878173828, 0.5776137709617615, 0.42868971824645996, -0.5691342353820801, 0.04506485536694527, 0.016554024070501328, 0.03974945843219757, 0.23324550688266754, -0.7685321569442749, 0.8336188197135925, -0.12011197954416275, -0.05475578084588051, -0.34655484557151794, -0.32090193033218384, 0.5464218854904175, 0.19756776094436646, 0.4780224561691284, -0.33393898606300354, -0.15488599240779877, 0.6070074439048767, -0.1536494791507721, 0.7242319583892822, -0.026918303221464157, -0.3772270083427429, 0.3108137547969818, 0.18060481548309326, 0.3189168870449066, -0.03510851785540581, 0.08098171651363373, 0.2040567249059677, 0.24924537539482117, -0.7287048697471619, -0.6056221723556519, 1.0128157138824463, -0.7027252912521362, -0.3238069713115692, -0.4549294412136078, -0.6003244519233704, -0.005978995934128761, 0.39170604944229126, -0.10146511346101761, 0.5869644284248352, 0.37172627449035645, 0.3801369071006775, 0.9966185092926025, -0.4628218114376068, 0.25168126821517944, 0.3604152202606201, -0.5768358707427979, -0.659199059009552, 1.1803338527679443, 0.3462885320186615, 0.4988365173339844, 0.21280352771282196, 0.30343279242515564, -0.5672767758369446, -0.4368680417537689, -0.3710496425628662, 0.5382702946662903, -0.689469039440155, -0.10400877147912979, -0.37778499722480774, 0.17750562727451324, -0.573627769947052, -0.2796260714530945, -0.6881306767463684, -0.3003588616847992, 0.40896573662757874, -0.05616625398397446, 0.061897411942481995, 1.0320926904678345, 0.19431938230991364, 0.270308256149292, -0.6755965948104858, -0.041271958500146866, -0.03131606802344322, 0.21366038918495178, -0.20230227708816528, -0.49110880494117737, -0.04400748386979103, -0.04639540985226631, -0.04440575838088989, -0.7147138714790344, 0.3538995385169983, -0.0979841873049736, 0.5242453217506409, 0.39013415575027466, 0.22025667130947113, 0.7257265448570251, -0.15549947321414948, 0.7147785425186157, 0.056990429759025574, -0.5722094178199768, 0.8520191311836243, -0.7099746465682983, 0.41184428334236145, 0.06965694576501846, 0.22673502564430237, -0.6161608695983887, -0.6710737347602844, -0.7527002692222595, -0.9117103219032288, 0.6977136731147766, 0.11593079566955566, 0.2601727545261383, -0.14165087044239044, 0.24052056670188904, 0.5340089797973633, 0.3855978548526764, -0.6719769835472107, 0.11902127414941788, -0.052039872854948044, -0.413440465927124, 0.022787678986787796, -0.31185099482536316, 0.07715999335050583, 0.14543838798999786, 0.5669699907302856, -0.07100562751293182, 0.1061328798532486, 0.17966978251934052, -0.20313560962677002, 0.13430283963680267, 0.42822933197021484, 0.7438539862632751, 0.7119476199150085, 0.008131489157676697, 0.10054551810026169, -0.05617216229438782, -0.35514092445373535, 0.06206638738512993, -0.03940467908978462, -0.10898546874523163, 0.2606344521045685, 0.5457113981246948, 0.6842171549797058, 0.22059346735477448, -0.7624635100364685, 0.24063000082969666, 0.16813422739505768, 0.09085063636302948, -0.278674453496933, 0.1595640331506729, -0.046432822942733765, 0.2427121251821518, 0.1737600564956665, -0.31394317746162415, -0.07342115044593811, -0.568903923034668, -0.4767932593822479, -0.10043260455131531, -0.07221926748752594, -0.44285741448402405, 0.45641908049583435, 0.6125829815864563, -0.2749766409397125, 0.36904120445251465, -0.1008615717291832, -0.5189229249954224, 0.6335147619247437, 0.6485249996185303, 0.7179433107376099, -0.49283328652381897, -0.007572471629828215, 0.3824050724506378, 0.5054214596748352, -0.2528323829174042, 0.40018075704574585, -0.13828346133232117, -0.29003968834877014, -0.421217143535614, -0.6508986353874207, -0.3759767711162567, 0.20773117244243622, -0.7094254493713379, 0.20426252484321594, -0.28129690885543823, 0.09241794049739838, -0.5895112752914429, 0.27555400133132935, -0.42685335874557495, 0.1280137151479721, 0.019717223942279816, 0.9470416903495789, -1.0297048091888428, 0.9739412069320679, 1.0320501327514648, -0.39653095602989197, -0.47685787081718445, -0.46987906098365784, -0.2757343053817749, -0.5092201232910156, 0.35706233978271484, 0.2522936761379242, 0.12886343896389008, -0.12282948195934296, -0.36844927072525024, -0.7989667057991028, 0.881827712059021, 0.37542715668678284, -0.5664112567901611, 0.08789847046136856, 0.2413216531276703, 0.3538511097431183, -0.43844377994537354, 0.2610020041465759, 0.5152351260185242, 0.3383486568927765, -0.281108558177948, -1.1091994047164917, -0.17601604759693146, -0.13916513323783875, 0.6145135760307312, 0.43506675958633423, -0.584782063961029, 0.5872214436531067, 0.11447156220674515, 0.21972507238388062, 0.3252822458744049, 0.7572819590568542, 0.3441353142261505, 0.2006477266550064, 0.45755863189697266, 0.29109978675842285, 0.5356130003929138, -0.3411875367164612, 1.2612224817276, -0.054060615599155426, 0.24837060272693634, 0.8657095432281494, -0.15318451821804047, 0.7689244747161865, 0.5405133366584778, -0.34958386421203613, 0.17221583425998688, 0.6173965930938721, 0.5399048924446106, 0.3865545988082886, -0.18437497317790985, -0.4868757426738739, -0.31896844506263733, -0.3961963653564453, -0.5422959923744202, 0.3125159740447998, 0.5637801885604858, -0.1197924092411995, -0.3280468285083771, 0.275739461183548, 0.19444435834884644, 0.29957738518714905, -0.5677309036254883, 0.28271177411079407, 0.06667277216911316, -0.6368842720985413, 0.15967056155204773, 0.08675353229045868, 0.514890730381012, -1.023563027381897, -0.15854613482952118, -0.7119670510292053, 0.4361575245857239, 0.008750277571380138, -0.699028730392456, 0.055285174399614334, -0.24016647040843964, -0.097512386739254, -0.1217878982424736, 0.5632743835449219, -0.7672681212425232, -0.6415560245513916, 0.30171680450439453, -0.21244333684444427, 0.13249799609184265, 0.028889616951346397, -0.3438124656677246, 0.6435129046440125, -0.0007831844268366694, 0.016898179426789284, 0.3343440592288971, 0.8526272773742676, -0.48969244956970215, 0.8236769437789917, 0.5461925864219666, 0.28936442732810974, 0.5352646708488464, -0.01875714212656021, 0.3904235363006592, -0.47488853335380554, -0.7344294786453247, -0.2893155515193939, 0.41203269362449646, -0.14294816553592682, -0.6304650902748108, 0.7881717681884766, 0.424272745847702, 1.4952008724212646, -0.2718755900859833, 1.039139986038208, -0.3133102059364319, 0.5095136761665344, -0.4430547058582306, 0.39327022433280945, -0.7182006239891052, 0.11576922237873077, -0.3331822454929352, -1.021706461906433, -0.11056093871593475, 0.6637789011001587, -0.36047855019569397, 0.03297815099358559, 0.4595404863357544, 0.6757517457008362, -0.08921317011117935, -0.2865651249885559, 0.7479631304740906, 0.49328455328941345, 0.5567975640296936, 0.6087000966072083, 0.822235643863678, -0.485537588596344, 0.5766944885253906, -0.5943516492843628, -0.27277857065200806, -0.27158936858177185, -0.6099704504013062, -1.024084448814392, -0.5639188289642334, -0.13773824274539948, -0.184111088514328, 0.12725453078746796, 1.0150576829910278, 0.27668166160583496, -0.7057608366012573, -0.5405883193016052, 0.0848538801074028, 0.3368954360485077, -0.06562355905771255, -0.18988445401191711, 0.014925929717719555, -0.27453863620758057, -1.1716052293777466, 0.37156957387924194, 0.7130817174911499, -0.2257479578256607, -0.520187497138977, -0.1194794550538063, -0.1540648639202118, 0.0977066159248352, 0.845889687538147, 0.33452701568603516, -1.2014223337173462, -0.05778246745467186, -0.15120279788970947, -0.01909128576517105, -0.3776387870311737, 0.5917049050331116, -0.3922588527202606, 0.9477702379226685, 0.5541074275970459, 0.7363646626472473, 0.07901081442832947, -0.3895234763622284, 0.6898602247238159, -0.20742110908031464, 0.534644603729248, -0.03599614277482033, 0.4039996564388275, 0.3414924144744873, 0.16832375526428223, 0.5895439982414246, 0.5728949904441833, -0.3399774730205536, -1.1144325733184814, 0.1810215562582016, -1.0800155401229858, 0.0032928739674389362, 1.1406928300857544, -0.22101368010044098, -0.5901871919631958, -0.09850071370601654, -0.589398205280304, -0.04516658931970596, -0.24495035409927368, 0.7522515058517456, 0.8823343515396118, 0.1677517294883728, -0.15089040994644165, -0.7504549026489258, -0.19594639539718628, 0.17410480976104736, -0.5289025902748108, -0.06979180872440338, 0.2977212965488434, 0.4798252582550049, -0.016949422657489777, 0.4299166798591614, -0.3107047975063324, 0.3384927809238434, 0.10051281005144119, -0.04124485328793526, -0.04413050413131714, -0.36058565974235535, -0.30851617455482483, 0.08287549763917923, 0.04016568139195442, -0.15508201718330383 ]
http://arxiv.org/abs/2403.09298v1
http://arxiv.org/pdf/2403.09298v1
More than words: Advancements and challenges in speech recognition for singing
2024-03-14T11:37:02
2024-03-14T11:37:02
Anna Kruspe
cs.SD
cs.SD, cs.CL, cs.IR, cs.LG, eess.AS
This paper addresses the challenges and advancements in speech recognition for singing, a domain distinctly different from standard speech recognition. Singing encompasses unique challenges, including extensive pitch variations, diverse vocal styles, and background music interference. We explore key areas such as phoneme recognition, language identification in songs, keyword spotting, and full lyrics transcription. I will describe some of my own experiences when performing research on these tasks just as they were starting to gain traction, but will also show how recent developments in deep learning and large-scale datasets have propelled progress in this field. My goal is to illuminate the complexities of applying speech recognition to singing, evaluate current capabilities, and outline future research directions.
[ -0.39246925711631775, -0.5823438167572021, 0.3785465359687805, 0.21702507138252258, 0.21186481416225433, 0.7496997117996216, -0.2749635875225067, -0.876841127872467, 0.21000397205352783, 0.4976428151130676, -0.6290807127952576, -0.22602225840091705, -0.902013897895813, 0.10938873142004013, -0.8411523103713989, 0.6779745221138, 0.29472702741622925, 0.11809049546718597, -0.0667891651391983, -0.03135501593351364, -0.6899693012237549, -0.6927603483200073, -0.6992153525352478, -0.07429343461990356, 0.6693819165229797, 0.4435451328754425, 0.2212207317352295, 0.13481105864048004, 0.5750539898872375, 0.3561459183692932, -0.3582797646522522, 0.21212056279182434, -0.039538025856018066, 0.35343170166015625, 0.14041537046432495, -0.4282664358615875, -0.26839107275009155, 0.36704114079475403, 0.9867056012153625, 0.6977537870407104, -0.10603778809309006, 0.1398797184228897, -0.244795560836792, 0.8501715064048767, -0.17514866590499878, 0.15199343860149384, -0.9911549687385559, 0.37550538778305054, -0.5653704404830933, -0.1085585355758667, 0.31045767664909363, -0.3069947361946106, 0.528589129447937, -0.6785702109336853, 0.4847027361392975, 0.03267165273427963, 0.8698105216026306, -0.11733106523752213, -0.353765070438385, -1.1198220252990723, -0.8478897213935852, 0.825689971446991, -0.21385204792022705, 0.63841712474823, 0.4184824526309967, 0.6071439981460571, 0.005260242149233818, -0.7836523056030273, -0.6822975873947144, -0.2715635895729065, 0.46915102005004883, 0.08948861062526703, -0.24035614728927612, 0.05621308460831642, 0.5645475387573242, 0.7964398264884949, -0.3356250822544098, -0.17224054038524628, -0.5420644879341125, -0.09673230350017548, 0.6887843012809753, 0.017720671370625496, 0.5242403745651245, 0.03174474462866783, -0.22100558876991272, 0.014582309871912003, -0.5201000571250916, 0.47380027174949646, -0.011928283609449863, 0.7092774510383606, -0.01346184965223074, 0.5842425227165222, -0.2765609622001648, 0.877738356590271, -0.01405894011259079, -0.08873255550861359, 0.42754799127578735, -0.08690798282623291, -0.2556730806827545, 0.2283596396446228, 0.063059963285923, 0.032525770366191864, 0.18614090979099274, -0.28737199306488037, 0.0872732475399971, 0.06812814623117447, -0.0034477878361940384, -0.3317617177963257, 0.021170705556869507, 0.13758833706378937, -0.1943095475435257, -0.11749201267957687, 0.010819484479725361, -0.5716022849082947, -0.750489354133606, -0.7824257016181946, 0.5114786624908447, -0.2530270218849182, -0.18188580870628357, 0.20633523166179657, -0.5987069010734558, 0.4809124171733856, 0.11997264623641968, -0.634639322757721, 0.18930324912071228, 0.970551609992981, 1.0265634059906006, 0.06968117505311966, -0.39111626148223877, -0.5432772040367126, -0.05470524728298187, -0.35450777411460876, 0.7083171606063843, -0.6249308586120605, -0.31614935398101807, 0.06128399074077606, 0.01973949559032917, -0.35743972659111023, -0.8061650395393372, 0.45081984996795654, -0.3973356783390045, -0.007641478907316923, -0.6956192255020142, -1.0323182344436646, -0.254148930311203, 0.009133746847510338, -0.7219878435134888, 0.4375607371330261, -0.07610223442316055, -0.20770759880542755, 0.36805853247642517, -0.7044644355773926, -0.6347922086715698, 0.14914345741271973, -0.33184686303138733, -0.3842717409133911, 0.8179196119308472, -0.2580666244029999, 0.41543397307395935, -0.1072431206703186, -0.1516980081796646, 0.12207959592342377, -0.35773295164108276, 0.8950299024581909, -0.20348364114761353, 0.5399186611175537, 0.3763475716114044, -0.29525449872016907, -0.09555549174547195, -0.9087028503417969, 0.36211809515953064, -0.03775551915168762, -0.3849563002586365, 0.11960204690694809, 0.19927199184894562, 0.2642233669757843, 0.07289714366197586, 0.13073784112930298, -0.7976188659667969, 0.16072528064250946, -0.20314882695674896, 0.6562274098396301, -0.015773244202136993, -0.23173832893371582, 0.1825886070728302, -0.528838574886322, 0.6193847060203552, -0.32174837589263916, -0.09569694101810455, -0.09335388988256454, -0.8466213941574097, -0.3250623941421509, -0.018168319016695023, 0.47914496064186096, 0.6167048215866089, -0.3445752263069153, 0.3869290351867676, -0.1079520657658577, -0.560379147529602, -0.6865937113761902, 0.12020750343799591, 0.3957652151584625, 0.26314133405685425, 0.4108707308769226, -0.2084956020116806, -0.8076644539833069, -0.39568546414375305, -0.3834991455078125, 0.0475798062980175, -0.06915941089391708, 0.6231499910354614, 0.0771346241235733, 0.06331463903188705, 0.6121261715888977, -0.5069465041160583, -1.030800223350525, -0.3935439884662628, 0.16733324527740479, 0.15959832072257996, 0.6481972932815552, 0.42753639817237854, -1.0798370838165283, -0.6194973587989807, 0.016313854604959488, -0.19576582312583923, -0.032269466668367386, -0.11787250638008118, 0.38132932782173157, -0.2490195780992508, 0.6420074105262756, -0.5547147989273071, -0.09735438972711563, 0.6720096468925476, -0.2608189284801483, 0.30165842175483704, 0.2613913118839264, 0.2672581076622009, -0.7330941557884216, -0.08769245445728302, -0.22057636082172394, -0.09539281576871872, -1.0785706043243408, -0.1265224814414978, -0.13671572506427765, -0.39802804589271545, -0.14707958698272705, -0.1507960855960846, -0.576015055179596, -0.30466577410697937, -0.5722159147262573, 0.11471010744571686, 0.14702735841274261, -0.15589524805545807, 0.3381028473377228, 0.6244863867759705, 1.1575344800949097, -0.44643959403038025, 0.7946481704711914, 0.25897887349128723, -0.7521005272865295, 0.614797055721283, -0.40738561749458313, 0.3793019950389862, 0.02014521136879921, -0.091313935816288, -1.0795964002609253, -0.23752442002296448, -0.3944648504257202, -0.9841143488883972, 0.7427874803543091, 0.040174033492803574, -0.15221180021762848, -0.34827324748039246, 0.06314238905906677, 0.09752718359231949, 0.5644121170043945, -0.29105690121650696, 0.4282870292663574, 0.62839275598526, -0.2139216661453247, -0.25849950313568115, -0.672837495803833, 0.5209943056106567, -0.39412882924079895, -0.11838100850582123, 0.5321397185325623, 0.14071528613567352, -0.010693120770156384, -0.5541876554489136, -0.08077536523342133, -0.4092566967010498, 0.12889960408210754, 0.06333985179662704, -0.5121960043907166, -0.17468474805355072, 0.3689986765384674, -0.07777700573205948, -0.2971668541431427, -0.04399504140019417, -0.1835399717092514, 0.5554835796356201, 0.0460597425699234, -0.10350164771080017, -0.5692636370658875, 0.9268791079521179, 0.5008114576339722, -0.20884966850280762, -0.041059963405132294, 0.8249496221542358, -0.3934624493122101, 0.18152779340744019, -0.6192015409469604, 0.3421795666217804, -0.46862298250198364, 0.6485350728034973, -0.42377886176109314, -0.8376466035842896, 0.41214609146118164, -0.2747909426689148, 0.10520371049642563, -0.08508621901273727, 0.23311656713485718, -0.6878848671913147, 1.0384441614151, 0.748952329158783, -0.20619389414787292, 0.677475094795227, -0.23852358758449554, 0.1216416209936142, -1.0858409404754639, -0.3025754392147064, -0.860207200050354, -0.5583829283714294, -0.7310396432876587, -0.556336522102356, 0.2987526059150696, -0.03416988626122475, 0.26299169659614563, 0.4600814878940582, -0.5739968419075012, 0.3562164008617401, 0.5432726740837097, -0.10340360552072525, 0.25501808524131775, -0.13809077441692352, 0.2608211040496826, -0.08726561069488525, -0.186165452003479, -0.003356411587446928, 0.7167008519172668, 0.28719934821128845, 0.5820611715316772, 0.22166480123996735, 0.49908721446990967, 0.22824549674987793, -0.1572553962469101, -1.0916030406951904, 0.1863304227590561, -0.47210821509361267, -1.038356065750122, -0.40818315744400024, -0.25055190920829773, -0.7772794961929321, 0.026842664927244186, -0.16338618099689484, -0.5702379941940308, 0.31444185972213745, 0.17778679728507996, -0.32069677114486694, 0.23512478172779083, -0.4462442100048065, 0.11898095905780792, -0.38423478603363037, 0.4982531666755676, 0.04991992563009262, -0.5943328738212585, -0.2025061398744583, -0.033528536558151245, 0.23882800340652466, -0.32736751437187195, -0.23429369926452637, 0.8467332720756531, 0.1798165738582611, 0.6660172939300537, -0.3417623043060303, -0.08154182136058807, 0.08239723742008209, -0.4598982334136963, 0.11249244213104248, -0.4568631947040558, 0.1547178477048874, 0.09850054234266281, 0.10613062232732773, -0.3184323310852051, -0.4599631726741791, 0.5701817274093628, -0.35738950967788696, -0.43999871611595154, -0.4749327003955841, -0.5217756032943726, -0.7538208961486816, -0.12316446751356125, 0.42732492089271545, 0.3584972321987152, 0.22010615468025208, 0.5240465998649597, 0.5698119401931763, -0.36699193716049194, 0.4040132164955139, 0.42524483799934387, -0.3961186408996582, -0.6708617806434631, 1.3630114793777466, 0.5318469405174255, 0.28393465280532837, 0.3764953017234802, 0.36188963055610657, -0.6796372532844543, -0.8433821201324463, -0.48468828201293945, -0.0035351638216525316, -0.4014086127281189, -0.02417328953742981, -0.5433366298675537, -0.2400016039609909, -0.5103955268859863, 0.05139065533876419, -0.25772756338119507, -0.4592668116092682, -0.19422964751720428, -0.09254971146583557, 0.6059173941612244, 0.8527337908744812, -0.05532543361186981, 0.3768221437931061, -0.8967193365097046, 0.4523252844810486, 0.4992293417453766, 0.41453561186790466, 0.07378500699996948, -0.47663062810897827, -0.4945310950279236, -0.2224961817264557, -0.2524377703666687, -1.077440619468689, 0.03833805024623871, 0.8620152473449707, 0.3643222153186798, 0.36098310351371765, -0.37089410424232483, 1.1454519033432007, -0.4101271629333496, 1.0063942670822144, 0.25397902727127075, -1.1860872507095337, 0.4683853089809418, -0.10396435111761093, 0.047091610729694366, 0.5007987022399902, 0.40421396493911743, -0.8254091143608093, -0.08517026901245117, -0.4458419680595398, -0.7264588475227356, 0.13082854449748993, 0.3620118200778961, 0.49168381094932556, 0.46803849935531616, 0.44284433126449585, -0.24262215197086334, 0.7390919327735901, -0.2581227421760559, -0.4011000096797943, -0.16056260466575623, 0.16357846558094025, -0.3686942160129547, -0.04900636523962021, 0.019342614337801933, -0.659576416015625, 0.2948983907699585, -0.02433362416923046, 0.31133073568344116, 0.32937169075012207, 0.039271462708711624, 0.05230379104614258, 0.3410627841949463, 0.6779409646987915, 0.2773960828781128, 0.15813978016376495, -0.21220965683460236, 0.2507849633693695, -0.7159496545791626, 0.10950521379709244, 0.24072258174419403, 0.14625927805900574, 0.26976901292800903, 0.4899299740791321, 0.8783619999885559, -0.034722428768873215, -0.7489997744560242, 0.3490637242794037, -0.0988592654466629, -0.39489760994911194, -0.5331764221191406, 0.022836526855826378, 0.2324639856815338, 0.41328689455986023, 0.516463577747345, -0.15031006932258606, 0.459849089384079, -0.8007050156593323, 0.30036163330078125, 0.5923546552658081, -0.9552070498466492, -0.16785018146038055, 0.3631187975406647, -0.04656866192817688, -0.5304696559906006, 0.14103631675243378, 0.12631499767303467, -0.7767602205276489, 0.6705871224403381, 0.5228819847106934, 0.87087482213974, -0.35821324586868286, -0.11384126543998718, -0.2029058039188385, -0.1488640308380127, 0.2755347788333893, 0.8947243094444275, -0.5485514998435974, -0.5328857898712158, -0.2570410370826721, -0.6278830170631409, -0.7015281319618225, 0.411243736743927, -0.7883356809616089, -0.03167618811130524, -0.49030449986457825, -0.41490721702575684, 0.5074983239173889, 0.41655173897743225, -0.3636317849159241, 0.43128257989883423, 0.3641955852508545, 0.675434410572052, -0.6669260859489441, 0.6322845220565796, 0.9268971085548401, -0.010136575438082218, -0.7426279783248901, -0.06465306878089905, 0.30143633484840393, -0.5834636092185974, 0.27391794323921204, 0.3515659272670746, -0.15700119733810425, -0.0060183098539710045, -0.3974228799343109, -0.9965592622756958, 0.680583655834198, -0.2250777930021286, -1.0296472311019897, -0.04266130179166794, 0.3217304050922394, 0.5282629728317261, -0.4085869789123535, -0.35446882247924805, 0.7477942109107971, 0.4968551695346832, 0.2914299964904785, -0.8669409155845642, -0.5651350617408752, -0.12382502108812332, -0.03301634266972542, -0.15420426428318024, -0.5129271149635315, 1.184456706047058, -0.09891165792942047, -0.28332245349884033, 0.5831594467163086, 0.4702324867248535, 0.2591020166873932, 0.6463817954063416, 0.6560682654380798, 0.41907086968421936, 0.9344844222068787, -0.4571431577205658, 0.7515720725059509, 0.050514332950115204, 0.2996463477611542, 1.098815679550171, -0.6040471196174622, 0.7158203721046448, 0.13515505194664001, -0.5511384010314941, 0.08036278188228607, 0.34503045678138733, -0.11643810570240021, 0.2590007185935974, 0.5382201075553894, -0.6101303696632385, -0.21870970726013184, -0.2631123661994934, -0.6631193161010742, 0.7384271621704102, 0.5635279417037964, -0.46182435750961304, 0.023536771535873413, 0.4074535071849823, -0.273053377866745, 0.10665474086999893, -0.1427367627620697, 1.100603699684143, 0.3057476282119751, -0.27114108204841614, 0.17596016824245453, -0.4896332621574402, 0.7428991794586182, -0.5824325680732727, -0.33922287821769714, 0.5585534572601318, -0.10173539072275162, -0.37972742319107056, -0.857271134853363, 0.4624217450618744, 0.06076516956090927, -0.258620947599411, -0.2382744997739792, 0.6629348397254944, -0.41928938031196594, -0.6388047337532043, 0.3079543113708496, 0.30319276452064514, 0.1925588697195053, -0.5932238698005676, -0.7668201327323914, 0.12055866420269012, -0.0976080447435379, 0.21212029457092285, 0.1861952692270279, 0.4215047359466553, 0.45989471673965454, 0.5279936194419861, 0.937859833240509, 0.8681185841560364, 0.4186135232448578, 0.43356987833976746, 0.4894392490386963, -1.1471638679504395, -0.5333119034767151, -0.3122616112232208, 0.15729846060276031, -0.14990054070949554, -0.4189431965351105, 0.5828772187232971, 0.6049802899360657, 0.6469850540161133, -0.03916345536708832, 0.8748696446418762, -0.14376375079154968, 1.3210734128952026, -0.5334317088127136, 0.7830954194068909, -0.6471548676490784, -0.054806433618068695, -0.49621543288230896, -0.4423481523990631, -0.3683990240097046, 0.6303078532218933, 0.15280534327030182, 0.05996005982160568, 0.24096965789794922, 0.42980995774269104, 0.15135157108306885, 0.27755504846572876, 0.6188744306564331, -0.17130805552005768, 0.4620839059352875, 0.5364894866943359, 1.265992522239685, -0.36008980870246887, 0.27434423565864563, -0.3854621648788452, -0.02748597040772438, 0.11253513395786285, -0.5433717966079712, -0.44975510239601135, -1.1050095558166504, -0.3173019587993622, -0.1342320293188095, -0.2200593203306198, 0.8268875479698181, 0.947628915309906, -1.0381890535354614, -0.27353423833847046, -0.014896437525749207, 0.3106796443462372, -0.617424488067627, -0.23831309378147125, 0.20140159130096436, -0.39062944054603577, -0.905781090259552, 0.5215241312980652, -0.01148346159607172, 0.3920820355415344, -0.15100781619548798, 0.17856132984161377, -0.011596239171922207, 0.11502370983362198, 0.7875370383262634, 0.5592426657676697, -0.593169093132019, -0.13823723793029785, 0.0792013555765152, 0.430020272731781, 0.10790767520666122, 1.3623363971710205, -0.4493771195411682, 0.2840927839279175, 0.5820310711860657, 0.5754576325416565, 0.18020080029964447, 0.00933962594717741, 0.3233407437801361, -0.7195494174957275, -0.41368943452835083, 0.4387924373149872, 0.2507060170173645, 0.41226181387901306, -0.2865077257156372, -0.030044183135032654, 0.23627427220344543, -0.3449064791202545, -0.9646131992340088, 0.43161454796791077, -1.2384108304977417, 0.18922528624534607, 0.6736130118370056, -0.14589892327785492, 0.27597883343696594, -0.5067827701568604, -0.18789808452129364, 0.16679230332374573, -0.1538645625114441, 0.7534576654434204, 0.7626180648803711, -0.5807206630706787, -0.20911532640457153, -0.5214956998825073, 1.1034895181655884, 0.2275353968143463, -0.48649415373802185, 0.06828594952821732, 0.3712061047554016, 0.3804301917552948, 0.5234461426734924, 0.31394487619400024, -0.41979384422302246, 0.43399953842163086, -0.29385191202163696, -0.31316232681274414, 0.07701318711042404, -0.4451829493045807, -0.7185778021812439, 0.3928983509540558, 0.20167995989322662, -0.5019766688346863 ]
http://arxiv.org/abs/2403.09294v1
http://arxiv.org/pdf/2403.09294v1
Anatomical Structure-Guided Medical Vision-Language Pre-training
2024-03-14T11:29:47
2024-03-14T11:29:47
Qingqiu Li, Xiaohan Yan, Jilan Xu, Runtian Yuan, Yuejie Zhang, Rui Feng, Quanli Shen, Xiaobo Zhang, Shujun Wang
cs.CV
cs.CV, cs.CL
Learning medical visual representations through vision-language pre-training has reached remarkable progress. Despite the promising performance, it still faces challenges, i.e., local alignment lacks interpretability and clinical relevance, and the insufficient internal and external representation learning of image-report pairs. To address these issues, we propose an Anatomical Structure-Guided (ASG) framework. Specifically, we parse raw reports into triplets <anatomical region, finding, existence>, and fully utilize each element as supervision to enhance representation learning. For anatomical region, we design an automatic anatomical region-sentence alignment paradigm in collaboration with radiologists, considering them as the minimum semantic units to explore fine-grained local alignment. For finding and existence, we regard them as image tags, applying an image-tag recognition decoder to associate image features with their respective tags within each sample and constructing soft labels for contrastive learning to improve the semantic association of different image-report pairs. We evaluate the proposed ASG framework on two downstream tasks, including five public benchmarks. Experimental results demonstrate that our method outperforms the state-of-the-art methods.
[ -0.05907243862748146, -0.41923388838768005, 0.6918153166770935, -0.1495562046766281, -0.7422810196876526, -0.313525527715683, -0.09738043695688248, -0.6769880056381226, 0.5776691436767578, 0.3489232361316681, -0.31667327880859375, -0.9019598960876465, -0.6434891819953918, 0.11210240423679352, 0.053835365921258926, 0.6599876880645752, -0.2945600152015686, 0.6055770516395569, -0.10764110088348389, -0.3445380926132202, -0.5309752821922302, -0.18005253374576569, -0.4678817093372345, -0.130074605345726, 0.5911413431167603, 0.14691485464572906, 0.6148077249526978, 1.4750697612762451, 0.9511417150497437, 0.27856820821762085, 0.163557231426239, 0.19586318731307983, 0.20365871489048004, -0.1880999207496643, 0.09271369129419327, -0.45262861251831055, -0.663711667060852, -0.32743361592292786, 0.6128995418548584, 0.9903968572616577, -0.26706662774086, -0.29858964681625366, -0.030049825087189674, 0.7542575001716614, -0.4111400842666626, 0.43181732296943665, -0.27017462253570557, 0.11682230234146118, -0.31026744842529297, -0.29923802614212036, -0.18753424286842346, -0.3227792978286743, 0.44181400537490845, -0.8654085397720337, 0.03246544674038887, 0.12066692113876343, 1.1401132345199585, 0.5285303592681885, -0.5244136452674866, -0.4686390459537506, 0.0399290956556797, 0.2725696563720703, -0.32684820890426636, 0.4511096775531769, 0.33908918499946594, 0.23737221956253052, 0.07681387662887573, -0.7607548236846924, 0.1056569516658783, -0.0026742774061858654, -0.4728240966796875, 0.1954978108406067, -0.0010871009435504675, 0.4919891655445099, -0.13638003170490265, 0.46447086334228516, -0.6762370467185974, 0.06474366039037704, -0.5356698036193848, -0.05044271796941757, 0.5229382514953613, -0.009697811678051949, 0.44554710388183594, -0.23672597110271454, -0.6755327582359314, -0.055486131459474564, -1.0552605390548706, -0.45251986384391785, -0.12175745517015457, 0.2576760947704315, -0.23568055033683777, 0.5142122507095337, 0.04506564140319824, 0.6206246018409729, -0.0866355374455452, 0.13242121040821075, 0.5661234259605408, -0.11240515112876892, -0.3583068549633026, 0.3366521894931793, 0.6038476228713989, 0.27463772892951965, -0.07588212937116623, -0.04320723935961723, -0.021194197237491608, 0.33520418405532837, 0.462367445230484, -0.6110044717788696, -0.45917803049087524, -0.08530593663454056, -0.7440899610519409, -0.22063744068145752, 0.01055491529405117, -0.18789230287075043, -0.25843164324760437, -0.4818027913570404, 0.5954388976097107, -0.6707539558410645, -0.03086668998003006, 0.4838525056838989, 0.16093790531158447, 0.2910704016685486, 0.47064363956451416, -0.6988781690597534, 0.22704346477985382, 0.29807770252227783, 0.8265403509140015, -0.029154060408473015, -0.18782861530780792, -0.4126632511615753, 0.5210738778114319, -0.44482681155204773, 1.105684757232666, -0.38066598773002625, -0.17194484174251556, -0.02334827184677124, 0.15209060907363892, 0.16546520590782166, -0.6346566081047058, 0.21875955164432526, -0.17661787569522858, 0.2870362102985382, -0.18598654866218567, -0.44329389929771423, -0.2476487010717392, 0.34415706992149353, -0.47850677371025085, 0.42973625659942627, 0.05514991283416748, -0.4933036267757416, 0.46280816197395325, -0.7649827599525452, -0.6672000288963318, 0.26450830698013306, -0.9317477941513062, -0.4630966782569885, 0.08915799111127853, 0.586264431476593, 0.4810599386692047, -0.1135537251830101, 0.254181832075119, -0.043892282992601395, -0.4480631351470947, -0.4962633550167084, 0.20823204517364502, 0.5668273568153381, -0.19834813475608826, -0.31771788001060486, 0.5443245768547058, -0.6803973913192749, -0.19205453991889954, 0.13638193905353546, -0.29507651925086975, -0.37868139147758484, 0.1596885472536087, -0.3443267047405243, -0.1741008460521698, -0.0029815305024385452, -0.4814859926700592, 0.43906712532043457, -0.6762155294418335, 0.1256456822156906, 0.6117074489593506, -0.1530889868736267, 0.5415766835212708, -0.26294848322868347, 0.49591490626335144, 0.14306233823299408, 0.045917343348264694, -0.22150550782680511, -0.3879219889640808, -0.6702823042869568, -0.4744797348976135, 0.04225999861955643, 0.36393797397613525, -1.015259861946106, 0.4470162093639374, -0.2071816325187683, -0.34089961647987366, -0.7471773028373718, -0.11541755497455597, 0.8149802684783936, 0.8207858204841614, 0.6618354916572571, -0.5804373025894165, -0.5711615681648254, -1.113006830215454, 0.03170733526349068, -0.3202492892742157, -0.2480577975511551, 0.2692430913448334, 0.2626858353614807, -0.3373359441757202, 0.4297209680080414, -0.7365710139274597, -0.9156113862991333, 0.2353840470314026, 0.16700461506843567, 0.02191414311528206, 0.5011482834815979, 0.49454036355018616, -0.6877063512802124, -0.2861977219581604, 0.16720397770404816, -0.9020578861236572, -0.017790719866752625, 0.33253228664398193, -0.1197882667183876, 0.19640406966209412, 0.5692937970161438, -0.08577064424753189, 0.5390247106552124, 0.2848985195159912, -0.3356902301311493, 0.1511688381433487, -0.4666205048561096, 0.18493108451366425, -1.0374464988708496, -0.038083650171756744, 0.053689174354076385, -0.19547918438911438, -0.293784499168396, 0.07647205889225006, 0.23143810033798218, -0.013568517751991749, -0.30743733048439026, 0.4300037622451782, -0.8211349844932556, -0.08284779638051987, 0.0008124611340463161, -0.2609076499938965, -0.044446900486946106, 0.3860449492931366, 0.6877617239952087, 0.15957137942314148, 0.9815369844436646, -0.35027921199798584, -0.05066628381609917, 0.5245776772499084, -0.3331277668476105, 0.7172548770904541, -0.4983605444431305, 0.14346787333488464, -0.3451099991798401, 0.23687687516212463, -0.5952984690666199, -0.4125407934188843, 0.206525981426239, -0.37893009185791016, 0.6750955581665039, -0.44704553484916687, -0.3349034786224365, -0.08000575006008148, -0.1766558438539505, 0.4774749279022217, 0.337315171957016, -0.4993152916431427, 0.735899031162262, 0.4027346968650818, -0.10082189738750458, -0.5109027028083801, -0.7903527617454529, -0.0465429425239563, -0.07900086045265198, -0.8596246838569641, 0.5789924263954163, 0.3413546085357666, 0.08415540307760239, 0.06674232333898544, -0.40652570128440857, -0.1901734173297882, -0.19671520590782166, 0.3431006371974945, 0.3839990198612213, -0.758662760257721, 0.23032677173614502, -0.14635516703128815, -0.03622216731309891, -0.006220979616045952, -0.37471193075180054, 0.16631020605564117, -0.28143730759620667, -0.43727606534957886, -0.3895982801914215, 0.41976115107536316, 0.03351464495062828, -0.29047104716300964, 0.23639975488185883, 0.4995342195034027, -0.6355375647544861, 0.201172336935997, -0.36276775598526, -0.13158245384693146, -0.4526129961013794, 0.49980202317237854, -0.12674660980701447, -0.8663643002510071, 0.1625613272190094, 0.09557140618562698, -0.06678660213947296, 0.2732757031917572, 0.37469232082366943, -0.65149986743927, 0.9403581619262695, 0.5934672355651855, 0.602637529373169, 0.40417906641960144, -0.12268713861703873, -0.08717702329158783, -0.7717241644859314, -0.6184365749359131, -0.17289358377456665, -0.3176306486129761, -0.237232506275177, -0.48695725202560425, 0.7020580172538757, 0.016183707863092422, 0.0027079477440565825, 0.15966856479644775, -0.8249088525772095, 0.5211321711540222, 0.2325284630060196, 0.36274486780166626, 0.19137044250965118, 0.06264100223779678, -0.07578422129154205, -0.11476725339889526, -0.5919827818870544, -0.3782327175140381, 0.9225701093673706, 0.30676648020744324, 0.8807219862937927, 0.043009452521800995, 0.9880958795547485, -0.17612043023109436, 0.46278104186058044, -0.8666409850120544, 0.40262988209724426, -0.5852816104888916, -0.31853723526000977, -0.009236952289938927, -0.2933497130870819, -1.0194467306137085, 0.29591044783592224, -0.18852511048316956, -0.45299166440963745, 0.18092283606529236, 0.5582243204116821, -0.46847277879714966, 0.10776454210281372, -0.878730297088623, 0.9522433280944824, -0.42681851983070374, -0.0656745657324791, 0.0350140817463398, -1.0927633047103882, 0.01713874377310276, 0.23559385538101196, 0.10671374201774597, 0.03800236061215401, -0.24314583837985992, 0.5373423099517822, -0.4795416593551636, 0.7452392578125, -0.2931367754936218, 0.0548066608607769, -0.06592246890068054, -0.05938859283924103, -0.07575555890798569, 0.027856172993779182, 0.5838027000427246, 0.12719884514808655, 0.08923263847827911, -0.3806488811969757, -0.3310718834400177, 0.31466788053512573, -0.5718567371368408, -0.47264155745506287, -0.3873231112957001, -0.38073351979255676, -0.31437236070632935, 0.34794092178344727, 0.34875985980033875, 0.7862588167190552, 0.011012000031769276, 0.3665311634540558, 0.6794423460960388, -0.17832840979099274, -0.006575815379619598, 0.30146557092666626, -0.12531115114688873, -0.5512303113937378, 0.7057059407234192, -0.05880676209926605, -0.09434991329908371, 0.6417294144630432, 0.24131207168102264, -0.276917964220047, -0.825143039226532, -0.5143865346908569, 0.4541533589363098, -0.6429790258407593, -0.4555645287036896, -0.33420267701148987, -0.0687805637717247, -0.30525100231170654, -0.5510314106941223, -0.36559993028640747, 0.17449215054512024, -0.26037174463272095, 0.19418998062610626, -0.0015121797332540154, 0.8196242451667786, 0.04451686516404152, 0.47067326307296753, -0.7123025059700012, 0.4486512541770935, -0.02392221987247467, 0.5821982622146606, -0.5403314828872681, -0.1461055874824524, -0.15602606534957886, -0.37298259139060974, -0.05806770920753479, -0.8132408261299133, 0.14606286585330963, 0.14241841435432434, 0.24894942343235016, 0.5500146746635437, -0.28721800446510315, 1.1864070892333984, -0.776556134223938, 0.27453041076660156, 0.5283718705177307, -0.5602380633354187, 0.9459229111671448, -0.35187727212905884, 0.2732984125614166, 0.48317256569862366, 0.17941826581954956, 0.03009367734193802, -0.2610906660556793, -0.4656132757663727, -0.8656211495399475, 0.7018604874610901, 0.05960598587989807, -0.23949435353279114, -0.07682599872350693, 0.47040411829948425, -0.03672796115279198, 0.05742770805954933, -0.5736154913902283, -0.17294631898403168, -0.16916003823280334, -0.524624764919281, 0.21436896920204163, 0.08028216660022736, -0.26252448558807373, -0.3070031404495239, 0.40098837018013, -0.5150685906410217, 0.37159934639930725, 0.50959712266922, -0.23829248547554016, 0.03105504810810089, -0.032436490058898926, 0.32428422570228577, 0.4747985899448395, -0.3088478744029999, 0.2507888078689575, -0.19196419417858124, -0.6398448348045349, -0.01509119477123022, 0.3222143054008484, 0.3026909828186035, -0.02598339132964611, 0.5386531352996826, 0.6838345527648926, 0.350190669298172, -0.5156793594360352, 0.7699038982391357, -0.2603759467601776, -0.43882113695144653, -0.1610856056213379, -0.059377629309892654, 0.1451656073331833, 0.20160970091819763, 0.23219826817512512, 0.07819171994924545, 0.2052905261516571, -0.42559123039245605, 0.3835861384868622, 0.35238441824913025, -0.6632872819900513, -0.30507931113243103, 0.6472104787826538, 0.19666209816932678, 0.11345414817333221, 0.47100213170051575, 0.12334408611059189, -0.3262976408004761, 0.49088621139526367, 0.4478954076766968, 0.44559764862060547, -0.16875474154949188, -0.010399488732218742, 0.2105902135372162, 0.2746947109699249, -0.2627495229244232, 0.4379790425300598, -0.11363273113965988, -0.5627826452255249, -0.4161434471607208, -0.47961315512657166, -0.0033799137454479933, -0.03227200359106064, -0.7985431551933289, 0.5869258046150208, -0.4172697365283966, 0.16571594774723053, 0.07780833542346954, -0.09034749865531921, -0.5723881721496582, 0.601315975189209, 0.4186460077762604, 0.7441277503967285, -0.542113184928894, 0.9434249401092529, 1.3149759769439697, -0.47423264384269714, -0.942062258720398, -0.06520155072212219, 0.13281048834323883, -1.1537615060806274, 0.4145536422729492, 0.3785903751850128, -0.2458900809288025, -0.12763243913650513, -0.5407267808914185, -0.6811500787734985, 1.1866780519485474, 0.6720491051673889, -0.3367960751056671, -0.7027130126953125, -0.3226780593395233, 0.5123847723007202, -0.6056410670280457, -0.1600298136472702, 0.14712727069854736, -0.019807780161499977, 0.4277508556842804, -0.7723077535629272, 0.03660808131098747, -0.23522424697875977, -0.1330709308385849, 0.4086140990257263, -0.3112969398498535, 0.31720882654190063, -0.23811903595924377, -0.3526351749897003, -0.020663361996412277, 0.554465651512146, 0.28900378942489624, 0.1495462954044342, 0.5566717982292175, 0.4631311595439911, 0.4612438678741455, -0.24172638356685638, 0.8963759541511536, 0.08836285024881363, 0.005009994376450777, 1.2092043161392212, -0.055803533643484116, 0.6357171535491943, 0.5141730904579163, 0.21363772451877594, 0.6475094556808472, 0.5714907050132751, -0.04450191557407379, 0.4847664535045624, 0.014248483814299107, 0.08071182668209076, -0.25183209776878357, -0.0914248377084732, -0.531832754611969, 0.6357892155647278, 0.5072529315948486, -0.5948059558868408, -0.26412370800971985, -0.19244974851608276, -0.2160647064447403, -0.0164096150547266, -0.4514232873916626, 0.9240778088569641, 0.2014523297548294, -0.31567057967185974, 0.41962167620658875, -0.3592952489852905, 0.6127029061317444, -0.7866202592849731, -0.26194247603416443, -0.007965289987623692, 0.16158168017864227, -0.4387514293193817, -0.6501192450523376, 0.5188363194465637, -0.2944227457046509, 0.18609701097011566, -0.39548343420028687, 0.650661051273346, -0.6209456324577332, -0.17858649790287018, 0.11726265400648117, 0.2691853940486908, 0.1407555192708969, 0.05535341426730156, -0.4614514410495758, -0.023869190365076065, 0.00482518645003438, 0.13040950894355774, 0.18920013308525085, 0.41357284784317017, -0.04541373997926712, 0.2859339714050293, 0.26717114448547363, 0.2555275559425354, -0.3382350504398346, -0.037333324551582336, 0.8182646036148071, -0.44284334778785706, -0.7624717354774475, -0.6003052592277527, 0.42706936597824097, 0.018732666969299316, -0.22401189804077148, 0.1615210622549057, 0.5593777298927307, 0.9323159456253052, 0.11820585280656815, 0.26504430174827576, -0.008013893850147724, 0.03556386008858681, -0.8483229279518127, 0.7663455009460449, -0.8981629014015198, 0.0913485661149025, -0.27843883633613586, -0.7054407000541687, -0.9247864484786987, 0.978219747543335, -0.2320965677499771, -0.27562156319618225, 1.0053746700286865, 0.5501561164855957, -0.0836794525384903, -0.10399463027715683, 0.3072354793548584, 0.07727985829114914, 0.11628381162881851, 0.5378035306930542, 0.6438590288162231, -0.2129729688167572, 0.5704286694526672, -0.06559780985116959, -0.24135249853134155, -0.03792145475745201, -0.6197938323020935, -0.8518000841140747, -0.6748465299606323, -0.5632485747337341, -0.30674004554748535, 0.034608371555805206, 0.9244555234909058, 1.0668662786483765, -0.3546965718269348, 0.001542431302368641, -0.04268870875239372, -0.2255076766014099, 0.11824777722358704, -0.030701985582709312, 0.9642686247825623, -0.21044804155826569, -0.21113334596157074, 0.38060617446899414, 0.8261152505874634, 0.18319639563560486, 0.037031687796115875, -0.0534638911485672, -0.0885922983288765, -0.48763155937194824, 0.3589034974575043, 0.10641992837190628, -0.7159467339515686, -0.2774972915649414, -0.0713212788105011, -0.23718991875648499, 0.776161253452301, 0.8582503199577332, -0.6693379878997803, 0.6089003682136536, 0.02251724898815155, 0.6335978507995605, 0.34519580006599426, 0.06385601311922073, 0.5212691426277161, -0.9156011343002319, 0.010684852488338947, 0.5175468325614929, 0.6438551545143127, 0.4128434658050537, -0.28307586908340454, 0.6094858646392822, 0.15255503356456757, -0.19442875683307648, -0.7650636434555054, 0.3600017726421356, -0.9843834638595581, -0.24013204872608185, 0.8554165363311768, -0.3229391872882843, -0.35473355650901794, -0.013038689270615578, -0.3548930287361145, 0.29822272062301636, -0.031632620841264725, 0.542281985282898, 0.26751646399497986, -0.4658341705799103, -0.09386619180440903, -0.08560618758201599, 0.6433680653572083, 0.34143197536468506, -1.0769670009613037, -0.3340190649032593, 0.7838138937950134, 0.32159334421157837, 0.23728786408901215, 0.8973060250282288, -0.5451111197471619, 0.32396838068962097, -0.2136441469192505, 0.12160135805606842, 0.00793385785073042, -0.3712700307369232, -0.5511403679847717, 0.06459356099367142, 0.027646420523524284, -0.46677353978157043 ]
http://arxiv.org/abs/2403.14690v1
http://arxiv.org/pdf/2403.14690v1
Incorporating Graph Attention Mechanism into Geometric Problem Solving Based on Deep Reinforcement Learning
2024-03-14T11:00:09
2024-03-14T11:00:09
Xiuqin Zhong, Shengyuan Yan, Gongqi Lin, Hongguang Fu, Liang Xu, Siwen Jiang, Lei Huang, Wei Fang
cs.CY
cs.CY, cs.AI, cs.CL, cs.LG
In the context of online education, designing an automatic solver for geometric problems has been considered a crucial step towards general math Artificial Intelligence (AI), empowered by natural language understanding and traditional logical inference. In most instances, problems are addressed by adding auxiliary components such as lines or points. However, adding auxiliary components automatically is challenging due to the complexity in selecting suitable auxiliary components especially when pivotal decisions have to be made. The state-of-the-art performance has been achieved by exhausting all possible strategies from the category library to identify the one with the maximum likelihood. However, an extensive strategy search have to be applied to trade accuracy for ef-ficiency. To add auxiliary components automatically and efficiently, we present deep reinforcement learning framework based on the language model, such as BERT. We firstly apply the graph attention mechanism to reduce the strategy searching space, called AttnStrategy, which only focus on the conclusion-related components. Meanwhile, a novel algorithm, named Automatically Adding Auxiliary Components using Reinforcement Learning framework (A3C-RL), is proposed by forcing an agent to select top strategies, which incorporates the AttnStrategy and BERT as the memory components. Results from extensive experiments show that the proposed A3C-RL algorithm can substantially enhance the average precision by 32.7% compared to the traditional MCTS. In addition, the A3C-RL algorithm outperforms humans on the geometric questions from the annual University Entrance Mathematical Examination of China.
[ -0.634303629398346, -1.3484355211257935, 0.7049034237861633, 0.08937855064868927, -0.06758926063776016, 0.3232497572898865, -0.21490594744682312, -0.5179336667060852, 0.03328757360577583, 0.183920219540596, -0.8803274631500244, -0.46273547410964966, -0.5347311496734619, -0.12333178520202637, 0.15358330309391022, 0.40119126439094543, -0.37513214349746704, -0.08527331799268723, -0.0018051783554255962, -0.038225553929805756, -0.4194270074367523, -0.4274453818798065, -1.1692688465118408, -0.3407534658908844, 0.4493359625339508, 0.3574969470500946, 0.6146138310432434, 0.702725887298584, 0.7082133293151855, 0.4933052062988281, 0.06091941520571709, 0.4191214442253113, -0.4868331551551819, -0.1384429782629013, -0.0003347667516209185, -0.26027074456214905, -0.28590822219848633, -0.1552921086549759, 0.504344642162323, 0.6474851965904236, -0.2116115540266037, -0.17865288257598877, 0.22213317453861237, 0.7830029129981995, -0.4172350764274597, 0.6197877526283264, -0.2235661894083023, 0.3127197027206421, 0.2044471651315689, -0.14617851376533508, -0.35770949721336365, -0.6939871311187744, 0.3616306185722351, -1.1451973915100098, 0.11419335007667542, -0.034039147198200226, 0.8383820056915283, 0.5706726908683777, -0.19999192655086517, -0.34214287996292114, -0.5484552979469299, 0.6159342527389526, -0.44238388538360596, 0.4462555944919586, 0.04910599812865257, 0.4859353303909302, -0.3861654996871948, -0.5871568918228149, -0.2756127417087555, -0.21680580079555511, -0.04811817780137062, 0.17068345844745636, -0.22793231904506683, 0.5135024189949036, 0.36180809140205383, 0.06727157533168793, -0.44146063923835754, 0.08643311262130737, -0.33691099286079407, -0.15988337993621826, 0.6366186141967773, 0.11981090158224106, 0.19020117819309235, 0.08919420093297958, -0.19524678587913513, -0.32770949602127075, -0.4869282841682434, 0.40512725710868835, 0.299505352973938, 0.2557411789894104, 0.17211447656154633, 0.5655608773231506, -0.2211569845676422, 0.6106312274932861, 0.2842358648777008, 0.39560821652412415, 0.06034374609589577, -0.05017215013504028, -0.0652308240532875, 0.13554197549819946, 0.7328464984893799, -0.06641114503145218, 0.4691094756126404, 0.09996778517961502, 0.007314146496355534, 0.10917700827121735, 0.4166351556777954, -0.5134047269821167, -0.4614408612251282, -0.06089387461543083, -0.31341347098350525, -0.059016261249780655, -0.1873520016670227, -0.3734690845012665, -0.0470905676484108, -0.5728313326835632, 0.2944430410861969, -0.6806828379631042, 0.11671287566423416, 0.13420066237449646, 0.188607856631279, 0.09036831557750702, 0.5075781941413879, -0.577163577079773, 0.4173734188079834, 0.7033601999282837, 0.7376097440719604, -0.09853489696979523, -0.29975923895835876, -0.7095675468444824, 0.13969700038433075, -0.4028688669204712, 0.9392060041427612, -0.47506698966026306, -0.2533927261829376, 0.005564440041780472, -0.18846771121025085, -0.12914855778217316, -0.2859369218349457, 0.30284741520881653, -0.4419313967227936, 0.23844678699970245, -0.3577958643436432, -0.6150543093681335, -0.575676441192627, 0.43432924151420593, -0.8076165318489075, 1.0330932140350342, -0.023299839347600937, -0.30451738834381104, 0.20167574286460876, -0.8938174843788147, -0.44013547897338867, 0.17076465487480164, -0.3143148720264435, -0.6390843987464905, -0.01723182015120983, 0.6718524694442749, 0.3793507218360901, 0.13231602311134338, 0.06200697645545006, -0.7089812159538269, -0.38417914509773254, 0.3527987599372864, -0.2966131865978241, 0.580004870891571, -0.03868205472826958, -0.3103621006011963, 0.40642839670181274, -0.41933298110961914, 0.2886964678764343, 0.24315232038497925, -0.26331114768981934, 0.014315000735223293, 0.113496795296669, -0.3119813799858093, 0.365876168012619, 0.049842510372400284, -0.42808350920677185, 0.08485347032546997, -0.721555233001709, 0.3381294310092926, 1.0622974634170532, 0.13173876702785492, 0.3316991329193115, -0.13523058593273163, 0.4382617771625519, -0.5060132741928101, 0.15668509900569916, 0.42162755131721497, -0.5158617496490479, -0.9654799699783325, -0.18953488767147064, 0.02408256195485592, 0.467075377702713, -0.9060089588165283, 0.4210784137248993, -0.04328015819191933, -0.10950759798288345, -0.33936989307403564, 0.028803614899516106, 0.5582939386367798, 0.296631395816803, 0.30379247665405273, -0.3767641484737396, -0.3000209629535675, -0.6844336986541748, -0.06390903890132904, -0.0064047956839203835, 0.018254613503813744, 0.6764795184135437, 0.1341116577386856, 0.10728994756937027, 0.8587590456008911, -0.8849941492080688, -0.5919889211654663, -0.21817094087600708, 0.31385621428489685, 0.042488403618335724, 0.2520045340061188, 0.4269177317619324, -0.34625375270843506, -0.4680604040622711, 0.14175501465797424, -0.8390493392944336, 0.23518051207065582, 0.12410479784011841, -0.32152995467185974, 0.3154023289680481, 0.39259210228919983, -0.5749943256378174, 0.5028957724571228, 0.10577015578746796, -0.29252880811691284, 0.21367929875850677, -0.4025801420211792, -0.11908236891031265, -0.45625555515289307, -0.11945145577192307, 0.3674919903278351, -0.16794461011886597, -0.24927465617656708, 0.2452666461467743, -0.17842935025691986, -0.4110316336154938, -0.470646470785141, 0.5661823153495789, -0.2773955166339874, -0.27901116013526917, -0.26115602254867554, 0.20698970556259155, -0.08227451145648956, 1.1479496955871582, 0.04757291451096535, 0.5286862850189209, 0.3530229926109314, -0.8609601855278015, 0.7899900078773499, 0.2859654426574707, -0.015446124598383904, 0.3980118930339813, -0.5648954510688782, 0.13739202916622162, -0.1639961153268814, 0.4232294261455536, -0.9689992666244507, 0.10251224786043167, 0.6584067344665527, -0.5191468000411987, 0.4068240225315094, -0.00027667987160384655, -0.2498912662267685, -0.5911139249801636, -0.2246866524219513, 0.3711565434932709, 0.17001402378082275, -0.47410839796066284, 0.7796555757522583, 0.2291904240846634, -0.30128633975982666, -0.5621859431266785, -0.30862531065940857, -0.22090020775794983, 0.0931297019124031, -0.5676952004432678, 0.18871524930000305, -0.04306825250387192, 0.1655990481376648, 0.45888662338256836, 0.0076303668320178986, 0.04101324826478958, 0.2647128105163574, -0.3096947968006134, 0.25098103284835815, -0.03400406986474991, 0.06202360987663269, -0.15662918984889984, -0.6331171989440918, 0.327892541885376, -0.5210791230201721, 0.5351670384407043, -0.28767818212509155, -0.576988697052002, -0.6771764159202576, 0.3305341899394989, 0.048191800713539124, -0.17918068170547485, 0.07714764028787613, 0.6810323596000671, -0.3592775762081146, -0.14257214963436127, -0.4482022225856781, -0.3198082149028778, -0.5371605157852173, 0.812354564666748, -0.46006131172180176, -0.6647524833679199, 0.4958428740501404, 0.04767865687608719, 0.003557686461135745, 0.40353667736053467, 0.4427122473716736, -0.12869790196418762, 1.4894909858703613, 0.5399710536003113, -0.041929829865694046, 0.5915490984916687, -0.6243739128112793, 0.31017500162124634, -0.7247280478477478, -0.3245178163051605, -0.3224966824054718, -0.5217456221580505, -0.5375171303749084, -0.39675408601760864, 0.3463433086872101, -0.20997779071331024, -0.519329845905304, 0.27068156003952026, -0.812785267829895, 0.5116637945175171, 0.7401115894317627, 0.40565571188926697, 0.14812873303890228, 0.1178341805934906, -0.223872572183609, -0.06032305955886841, -0.8812583088874817, 0.1921464502811432, 1.0163391828536987, 0.43568921089172363, 0.7044524550437927, 0.0690595954656601, 0.5202906727790833, 0.1760779470205307, 0.09175961464643478, -1.0418504476547241, 0.6377788186073303, -0.08777365833520889, -0.1476864516735077, -0.6249231100082397, -0.592988133430481, -0.7185682654380798, 0.20239801704883575, 0.07858690619468689, -0.6632999777793884, 0.0597759373486042, 0.215310201048851, -0.6065686345100403, 0.14351314306259155, -0.5599245429039001, 0.7950770854949951, -0.6467168927192688, -0.4557855725288391, -0.5108986496925354, -0.2686474323272705, 0.08428184688091278, 0.4340727925300598, 0.021606262773275375, -0.18478666245937347, 0.14598098397254944, 0.6848715543746948, -0.3529570698738098, 0.5900552272796631, -0.2491753250360489, -0.11041966080665588, 0.24135589599609375, 0.17295601963996887, 0.9502753019332886, 0.010985550470650196, 0.46832433342933655, -0.12896046042442322, -0.662172257900238, -0.40708908438682556, -0.8247037529945374, 0.7363083958625793, -0.9795516133308411, -0.5635870695114136, -0.5259081721305847, -0.5008712410926819, -0.31059151887893677, 0.14936378598213196, -0.018962731584906578, 0.3356461524963379, -0.1304832547903061, -0.06041387841105461, 0.8869307637214661, -0.17134568095207214, 0.5981199145317078, 0.15570200979709625, -0.007809121627360582, -0.5823791027069092, 1.2931181192398071, 0.1635255515575409, -0.06437651813030243, 0.335735559463501, 0.17028874158859253, -0.6240240335464478, -0.4130248427391052, -0.49667224287986755, 0.29019102454185486, -0.7929578423500061, -0.08575067669153214, -0.5824858546257019, -0.4874434173107147, -0.08366569131612778, -0.5108423829078674, -0.3772241175174713, -0.36362460255622864, -0.12673434615135193, -0.1283392310142517, 0.20785599946975708, 0.6295222043991089, 0.035697393119335175, 0.08171691000461578, -0.5236881375312805, 0.3062789738178253, 0.6395207643508911, 0.6206324100494385, 0.26668107509613037, 0.008082399144768715, -0.1787685602903366, 0.09892667829990387, -0.585039496421814, -0.40608763694763184, 0.38451775908470154, -0.016268640756607056, 0.7952731847763062, 0.4180622398853302, -0.20907427370548248, 0.750067412853241, -0.34264758229255676, 0.17690503597259521, 0.20775926113128662, -0.8244158029556274, 0.30304810404777527, -0.3358268737792969, 0.13032320141792297, 0.16585129499435425, 0.2393111288547516, -0.3819979429244995, -0.3976941704750061, -0.658784806728363, -0.8588466644287109, 1.0288881063461304, 0.3679408133029938, -0.363766610622406, 0.23105378448963165, 0.11731180548667908, -0.4534359574317932, -0.06950422376394272, -0.6431245803833008, -0.2089400440454483, -0.2845889925956726, -0.39079704880714417, 0.03555901721119881, 0.04911622032523155, -0.014210282824933529, -0.3345935344696045, 0.873835027217865, -0.32739999890327454, 0.5980385541915894, 0.08602465689182281, -0.16917917132377625, -0.17769750952720642, -0.034114737063646317, 0.4745016396045685, 0.559028148651123, -0.199439138174057, -0.47543203830718994, 0.2672640085220337, -0.14845365285873413, 0.14625920355319977, 0.4803147614002228, 0.03270233795046806, -0.27325984835624695, 0.1790594607591629, 0.8837904334068298, 0.37830302119255066, -0.4856403172016144, 0.1951509267091751, -0.12478185445070267, -0.4161430299282074, -0.47072386741638184, 0.0493231862783432, -0.22814099490642548, 0.2751609981060028, 0.5153341889381409, -0.1356409788131714, 0.3278457224369049, -0.26637473702430725, 0.2395051121711731, 0.5753283500671387, -0.7795912623405457, 0.09321627020835876, 0.46377530694007874, 0.3753719925880432, -0.20781242847442627, 0.7261534333229065, -0.24608585238456726, -0.9394238591194153, 0.8538987636566162, 0.23141424357891083, 0.9020372033119202, -0.09998026490211487, 0.3253881335258484, 0.48268958926200867, 0.15943196415901184, 0.2210632711648941, 0.13903942704200745, -0.03555147722363472, -0.6213707327842712, -0.7828019261360168, -0.17326687276363373, -0.4258597493171692, -0.06335709989070892, -0.2637336254119873, 0.058841850608587265, -0.7454639673233032, 0.05294020101428032, -0.22888785600662231, 0.47136378288269043, -0.7182658910751343, 0.1069907546043396, 0.33468687534332275, 0.3256332278251648, -0.46915188431739807, 0.3289194107055664, 0.6680576801300049, -0.2236110270023346, -0.9128137826919556, -0.3380391597747803, 0.05010250583291054, -0.9230126142501831, 0.5548009872436523, 0.20645242929458618, -0.2537268102169037, 0.2062058299779892, -0.20752011239528656, -1.1303738355636597, 0.8211763501167297, 0.17655612528324127, -0.43689560890197754, -0.29671722650527954, 0.014247438870370388, 0.2786027789115906, -0.20402361452579498, 0.40220385789871216, 0.36740195751190186, 0.49044492840766907, 0.4975021183490753, -0.6106249690055847, 0.16992653906345367, -0.23168709874153137, 0.10091808438301086, 0.5145448446273804, -0.6349213719367981, 0.7902208566665649, -0.12470204383134842, -0.20594455301761627, -0.24959427118301392, 0.5927721858024597, 0.3812585771083832, 0.09488767385482788, 0.3199346363544464, 0.83348548412323, 0.6416944861412048, -0.2532096803188324, 0.944915771484375, -0.06732767075300217, 0.5951899886131287, 0.8442040085792542, -0.08381813019514084, 0.3593328297138214, 0.059572502970695496, -0.2752746343612671, 0.47191184759140015, 0.868263304233551, -0.0024058178532868624, 0.5303443670272827, 0.3019894063472748, -0.016786720603704453, -0.46106651425361633, 0.01835579425096512, -0.4960818588733673, 0.2551732063293457, 0.5722436308860779, 0.033962443470954895, -0.558234691619873, 0.06380034238100052, -0.1393793821334839, 0.03333020955324173, -0.4162105321884155, 1.1111396551132202, -0.008205885998904705, -0.553406298160553, 0.37001052498817444, -0.06668586283922195, 0.19695128500461578, -0.5258407592773438, -0.3248153626918793, -0.01633577048778534, 0.5852270126342773, 0.09098111838102341, -0.8044862151145935, 0.09288608282804489, -0.5473254919052124, 0.20334258675575256, -0.049192819744348526, 0.5512736439704895, -0.3346991240978241, -0.8544275164604187, 0.29254722595214844, 0.2813635766506195, -0.3495134115219116, -0.07717552036046982, -1.0905512571334839, -0.10332794487476349, -0.13339175283908844, -0.22347497940063477, 0.09357873350381851, 0.6882212162017822, 0.03357171267271042, 1.0119577646255493, 0.8467615246772766, -0.05793081223964691, -0.0680621787905693, -0.14410576224327087, 1.0950583219528198, -0.554499089717865, -1.001144289970398, -0.593995213508606, 0.2748167812824249, -0.35544347763061523, -0.07671397179365158, 0.5857700109481812, 0.4750473201274872, 0.9859787821769714, 0.24386334419250488, 0.7555891275405884, 0.16575418412685394, 0.26998376846313477, -0.7039358615875244, 0.4576970040798187, -0.2897777259349823, 0.07224435359239578, -0.39006850123405457, -1.0171260833740234, -0.3558095097541809, 1.003014326095581, -0.4914681613445282, 0.06417427957057953, 1.0529769659042358, 0.3848681151866913, -0.12134690582752228, -0.1364479809999466, -0.009218408726155758, 0.0861918106675148, 0.5368139147758484, 1.1461836099624634, 0.6739428043365479, -0.23763999342918396, 0.7842052578926086, -0.5066975355148315, -0.12301551550626755, -0.45538565516471863, -0.5536049604415894, -0.9032998085021973, -0.19077648222446442, -0.3514484167098999, -0.3618530333042145, 0.26215603947639465, 1.0316334962844849, 0.511175811290741, -0.7105797529220581, -0.11859095841646194, -0.4605642259120941, 0.31334754824638367, -0.5737276077270508, -0.2490437775850296, 0.8034617304801941, -0.6661591529846191, -0.6236622929573059, 0.16862280666828156, 0.2458852231502533, 0.08396431803703308, -0.2606637179851532, -0.4484696686267853, -0.1793278604745865, -0.07980664074420929, 0.4999801218509674, 0.4338800609111786, -0.7661497592926025, -0.5082292556762695, 0.05406436324119568, 0.032867033034563065, 0.1472805142402649, 1.054499864578247, -0.843441367149353, 0.46996837854385376, 0.3392259180545807, 0.9086421132087708, 0.7027678489685059, 0.007864262908697128, 0.7791461944580078, -0.634493887424469, 0.19579437375068665, 0.3525334894657135, 0.3443555533885956, 0.12104342132806778, -0.504711389541626, 0.42917606234550476, 0.2874346375465393, -0.3198220431804657, -0.24532561004161835, 0.37886175513267517, -0.6958602070808411, -0.35243821144104004, 0.7037771344184875, -0.06647147983312607, -0.38791173696517944, -0.22246907651424408, -0.3302031457424164, 0.43147483468055725, -0.6993125081062317, 1.012912392616272, 0.6606874465942383, -0.3378332257270813, -0.32304155826568604, -0.21710094809532166, 0.6419298648834229, 0.4258742034435272, -0.695526123046875, -0.0623256079852581, 0.6770346760749817, -0.2612361013889313, -0.034227143973112106, 0.39833876490592957, 0.2611733376979828, 0.6489322781562805, -0.3795255124568939, -0.0414569191634655, -0.5279509425163269, -0.5022047758102417, -0.12344372272491455, 0.2401447892189026, -0.1328997164964676, -0.36240389943122864 ]
http://arxiv.org/abs/2403.12092v1
http://arxiv.org/pdf/2403.12092v1
Methods for Matching English Language Addresses
2024-03-14T10:39:14
2024-03-14T10:39:14
Keshav Ramani, Daniel Borrajo
cs.IR
cs.IR, cs.AI, cs.CL
Addresses occupy a niche location within the landscape of textual data, due to the positional importance carried by every word, and the geographical scope it refers to. The task of matching addresses happens everyday and is present in various fields like mail redirection, entity resolution, etc. Our work defines, and formalizes a framework to generate matching and mismatching pairs of addresses in the English language, and use it to evaluate various methods to automatically perform address matching. These methods vary widely from distance based approaches to deep learning models. By studying the Precision, Recall and Accuracy metrics of these approaches, we obtain an understanding of the best suited method for this setting of the address matching task.
[ -0.2539338767528534, -0.3838563859462738, 0.36321839690208435, 0.04463775083422661, 0.19877402484416962, -0.19455590844154358, 0.07509772479534149, -0.8833709359169006, 0.1266668140888214, 0.3819723129272461, -0.3261117935180664, -0.41474226117134094, -0.1675603687763214, 0.19238410890102386, -0.23403015732765198, 0.48577865958213806, -0.12496280670166016, -0.20957058668136597, -0.223861962556839, -0.36211511492729187, -0.8809612989425659, -0.6265786290168762, -0.6250277161598206, 0.06344781816005707, 0.2859404683113098, 0.49255621433258057, 0.6329751014709473, 1.0108541250228882, 0.7751714587211609, 0.38250160217285156, 0.3229333162307739, 0.4014509916305542, -0.30849918723106384, 0.17532184720039368, -0.49399974942207336, -0.3530852198600769, 0.004580107983201742, -0.06430687010288239, 0.5606021881103516, 0.8656732439994812, 0.13130798935890198, 0.18300636112689972, -0.394923597574234, 0.5845542550086975, -0.8345007300376892, -0.344379186630249, -0.908832311630249, 0.15594691038131714, -0.5774716138839722, -0.47677454352378845, -0.3706185221672058, -0.6623515486717224, 0.16423121094703674, -0.3761398494243622, 0.6404281258583069, 0.5199270844459534, 0.952233076095581, -0.14040634036064148, -0.39571917057037354, -0.5904287695884705, -0.7639921307563782, 0.4007146656513214, -0.42233580350875854, 0.5081169605255127, 0.6741777658462524, 0.5841173529624939, -0.1906849592924118, -0.10755717754364014, -0.2948407828807831, 0.16385573148727417, -0.4850863218307495, -0.1634472906589508, 0.11400637030601501, 0.11757996678352356, 0.3129258453845978, 0.6502690315246582, -0.5510726571083069, 0.018524114042520523, -0.39521801471710205, -0.03367673605680466, 0.6238992810249329, 0.1903952956199646, 0.4103480577468872, 0.2688556909561157, -0.09754045307636261, -0.1286439299583435, -0.6114774942398071, -0.10626288503408432, 0.616363525390625, 0.4240257441997528, 0.1129201352596283, 0.4577828645706177, -0.22309930622577667, 0.855193018913269, 0.1384771168231964, -0.19010111689567566, 0.23905791342258453, -0.2088310569524765, -0.3731076419353485, 0.26721203327178955, 0.5788013935089111, 0.4730748236179352, 0.30900079011917114, -0.2526271343231201, -0.2107289433479309, -0.10430772602558136, 0.1777430921792984, -0.3603765368461609, -0.13921710848808289, 0.14659756422042847, -0.3088819682598114, -0.18681849539279938, 0.12759408354759216, -0.47251415252685547, -0.031740620732307434, -0.32726573944091797, 0.1355605125427246, -0.26564615964889526, 0.1240030825138092, 0.0758645087480545, 0.01835109107196331, 0.34030789136886597, 0.306670218706131, -1.2662413120269775, 0.3223845064640045, 0.8557142019271851, 0.47397613525390625, -0.15593595802783966, -0.479116827249527, -0.24855145812034607, 0.28177762031555176, -0.3742535412311554, 0.8575164079666138, -0.5447277426719666, 0.015248731710016727, 0.42618870735168457, -0.052748870104551315, -0.03633725643157959, -0.8856395483016968, 0.2807239890098572, -0.7526156902313232, 0.41767314076423645, -0.031244993209838867, -0.6556569933891296, -0.1155814602971077, 0.4096834361553192, -0.7991193532943726, 1.1704931259155273, -0.012787580490112305, -0.8025972247123718, -0.009846385568380356, -0.6578110456466675, -0.7600732445716858, 0.11389756202697754, 0.43988680839538574, -0.10143237560987473, 0.31227418780326843, -0.038394518196582794, 0.5136073231697083, -0.19911962747573853, -0.029072396457195282, -0.10622178763151169, -0.22115829586982727, -0.04917676001787186, -0.3262433707714081, 0.7189661860466003, 0.42373549938201904, -0.12486724555492401, -0.42218509316444397, -0.8536424040794373, -0.12069754302501678, 0.09290161728858948, -0.17553718388080597, -0.7462627291679382, -0.022016698494553566, 0.060065582394599915, 0.03514125570654869, 0.5688591599464417, -0.1861366480588913, -0.010515494272112846, -0.5177944898605347, 0.30092206597328186, 0.3838249742984772, -0.04798341542482376, 0.5584895610809326, -0.43494537472724915, 0.33722159266471863, -0.011254111304879189, -0.30926164984703064, -0.40041384100914, -0.2829616367816925, -0.425506591796875, -0.006963932421058416, 0.6565924286842346, 0.9824917912483215, 0.06068442761898041, 0.4362671971321106, -0.43726739287376404, -0.7080193758010864, -0.9323088526725769, -0.045669179409742355, 0.35893452167510986, 0.34335339069366455, 0.3249032199382782, -0.13248227536678314, -0.7356811165809631, -0.9156814813613892, -0.4669046700000763, 0.0705651044845581, -0.11082347482442856, 0.7289440631866455, 0.03297162428498268, -0.23280611634254456, 0.77998286485672, -0.4444606602191925, -0.12670423090457916, 0.20852501690387726, -0.3387702405452728, 0.038255054503679276, 0.38182517886161804, 0.6547917127609253, -0.724219799041748, -0.6704948544502258, 0.17817488312721252, -0.6926702260971069, -0.23488196730613708, -0.04092194512486458, -0.29645952582359314, 0.15935787558555603, 0.3734670877456665, -0.3791795074939728, 0.2999042570590973, 0.3475205600261688, -0.3319675326347351, 0.07609865069389343, -0.23107321560382843, 0.6483927965164185, -1.2923210859298706, 0.12097270041704178, 0.14622248709201813, -0.6042532324790955, -0.6577823758125305, 0.2757043242454529, 0.006871378514915705, -0.12349525839090347, -0.5038201212882996, 0.6981302499771118, -0.7561003565788269, -0.30440518260002136, -0.025755712762475014, 0.46345949172973633, -0.010055482387542725, 0.008724784478545189, 0.07948575913906097, 0.6774939894676208, 0.15483202040195465, -0.49352186918258667, 0.6222720146179199, 0.17256812751293182, -0.10336422920227051, 0.8545458316802979, -0.16210119426250458, 0.2772967219352722, -0.24233794212341309, -0.20690710842609406, -1.3357890844345093, -0.0709548220038414, -0.008244619704782963, -0.4440467953681946, 0.23384353518486023, 0.01399102434515953, -0.514901340007782, -0.3606867790222168, -0.0792754739522934, 0.792546272277832, 0.3707604706287384, -0.6957451701164246, 0.4183485805988312, 0.4088362455368042, -0.31214502453804016, -0.7393004298210144, -0.41447269916534424, 0.16393916308879852, -0.3373837471008301, -0.3864005506038666, 0.5848411917686462, -0.06424408406019211, -0.3167054057121277, -0.1123446375131607, 0.23152777552604675, -0.22034534811973572, 0.2277282327413559, -0.1490176022052765, 0.054021190851926804, -0.24542205035686493, -0.18751084804534912, -0.35038748383522034, -0.11315187811851501, -0.0934479758143425, -0.27138692140579224, 0.04997999966144562, 0.33272165060043335, -0.3664815425872803, -0.4355934262275696, 0.8949882984161377, 0.7145615220069885, -0.2363402545452118, 0.520404577255249, -0.265645295381546, -0.9637376070022583, -0.003587667364627123, -0.966335117816925, 0.07926999032497406, -0.4271138608455658, 0.22815905511379242, -0.6337801814079285, -0.4544582664966583, 0.5807482600212097, 0.004690011031925678, 0.10642680525779724, 0.27981898188591003, 0.3588821589946747, -0.18219426274299622, 0.297333687543869, 0.7355836033821106, -0.44520410895347595, 0.05501934513449669, 0.446237176656723, 0.6141182780265808, -0.3645140528678894, -0.11991672217845917, -1.1097410917282104, -0.487201064825058, -0.4771236181259155, -0.13188759982585907, -0.4181097745895386, 0.00039082032162696123, 0.15016303956508636, 0.9300366640090942, -0.7360950708389282, 0.902319610118866, 0.6879526972770691, -0.5021560788154602, -0.023379236459732056, 0.09371928125619888, -0.45217713713645935, -0.22732526063919067, -0.6020025014877319, -0.2625640332698822, 0.6087473034858704, 0.3168652355670929, 0.5456916093826294, 0.36456313729286194, 0.4708034098148346, 0.1596541851758957, 0.1394023299217224, -0.3276398181915283, 0.4440527558326721, -0.100516177713871, -0.38416215777397156, -0.2887932360172272, -0.12755447626113892, -1.3030647039413452, -0.053420230746269226, -0.2100454866886139, -0.5318083167076111, -0.02037612907588482, 0.2856735587120056, 0.0009852999355643988, 0.21825763583183289, -0.6644186973571777, 0.8879483342170715, -0.1575230062007904, -0.1308578997850418, 0.3609880805015564, -0.6822120547294617, -0.04123678058385849, -0.02359314262866974, 0.275553822517395, 0.07660555839538574, 0.4375854432582855, 0.489740252494812, -0.06096683815121651, 0.587433934211731, -0.021358976140618324, -0.17399156093597412, -0.06712698936462402, 0.25140857696533203, 0.5314791202545166, -0.33343714475631714, -0.06092889979481697, 0.2570055425167084, 0.10934348404407501, -0.3090842664241791, -0.23268665373325348, 0.892773449420929, -0.5624670386314392, -0.17935408651828766, -0.23855583369731903, -0.7402973175048828, 0.013106483034789562, 0.19432216882705688, 0.2715192139148712, 0.2278938591480255, -0.2145226001739502, -0.17649061977863312, 0.8100343942642212, 0.05671340972185135, 0.38036054372787476, 0.5103926062583923, 0.21580104529857635, -0.31552159786224365, 0.635516881942749, 0.11787641793489456, -0.22219093143939972, 1.0140548944473267, -0.19137586653232574, -0.6798639893531799, -0.24446269869804382, -0.24267973005771637, 0.1894768476486206, -0.6918232440948486, -0.5914164781570435, -0.3888930082321167, -0.2504342496395111, -0.5577900409698486, -0.6147682666778564, -0.13216227293014526, -0.05525507405400276, -0.0421309657394886, 0.12246964126825333, 0.25798094272613525, 0.7221435904502869, 0.14613290131092072, -0.2426738440990448, -0.7470340132713318, 0.3075408935546875, 0.2580239772796631, 0.4678612947463989, -0.2445240318775177, -0.18207776546478271, -0.03801847621798515, -0.03367002680897713, -0.06715893000364304, -1.1916253566741943, 0.1332513689994812, 0.3094545304775238, 0.6846910119056702, 0.19563040137290955, -0.03243279829621315, 0.8461132049560547, -1.1090056896209717, 0.4925731122493744, -0.2822192311286926, -0.6390650868415833, 0.9001220464706421, -0.03696274012327194, 0.19241978228092194, 0.7940940260887146, 0.7010275721549988, -0.6871620416641235, -0.2816637456417084, -0.7332421541213989, -0.8763912320137024, 0.23681727051734924, 0.0682314783334732, 0.07695046812295914, -0.44061416387557983, 0.6837559342384338, -0.1389581710100174, 0.10344811528921127, -0.5238946080207825, -0.4804916977882385, 0.5307632088661194, -0.7704576253890991, -0.20486484467983246, -0.24309584498405457, -0.0600346215069294, 0.05850997194647789, 0.6197683215141296, 0.16286487877368927, 0.49375566840171814, -0.10689739882946014, -0.16114453971385956, -0.0747278556227684, 0.11698433011770248, 0.8380593657493591, 0.4762221574783325, -0.06346529722213745, 0.10064572840929031, 0.3297836184501648, -0.43103235960006714, 0.3990897834300995, 0.20064112544059753, -0.4390779137611389, 0.6117581129074097, 0.1447736769914627, 0.47054845094680786, -0.03178722411394119, -0.5897829532623291, 0.7929309606552124, 0.13813233375549316, -0.1784643679857254, -0.43348515033721924, -0.1147693321108818, 0.11641626805067062, -0.24770742654800415, 0.25171804428100586, 0.10154902935028076, 0.24930565059185028, -0.3764931559562683, 0.12800230085849762, 0.785975456237793, -0.3306135833263397, -0.07213091850280762, 0.5917686223983765, 0.37165096402168274, -1.285444974899292, 0.5944041013717651, -0.12482402473688126, -0.5252411961555481, 0.5295772552490234, 0.8500075936317444, 0.8852924704551697, -0.6113977432250977, -0.4983299970626831, 0.5070443153381348, 0.25343477725982666, -0.13917531073093414, -0.12403824925422668, -0.0008669072994962335, -0.7005770206451416, -0.19899193942546844, -0.28111574053764343, -0.3678429126739502, 0.21865351498126984, -0.5926242470741272, 0.40907028317451477, -0.19996336102485657, 0.3676762580871582, 0.13080358505249023, -0.183275505900383, -0.9666745066642761, 0.4045342803001404, 0.2642279267311096, 1.2225850820541382, -1.1428985595703125, 0.5833113789558411, 1.11704683303833, 0.3461301624774933, -0.6433908939361572, -0.10113923996686935, 0.004401718731969595, -0.663960337638855, 0.6136218905448914, 0.35823479294776917, -0.37744393944740295, -0.07487297058105469, 0.006328532472252846, -0.7860207557678223, 0.9266397953033447, 0.07956513017416, -0.677667498588562, 0.20811377465724945, 0.24337522685527802, 0.4472000002861023, -0.5353724360466003, 0.31620311737060547, 0.5749018788337708, 0.07938908785581589, -0.08096279203891754, -1.0060136318206787, -0.03266066312789917, -0.40022337436676025, 0.26598218083381653, 0.623076856136322, -0.27746304869651794, 0.21326574683189392, 0.07171082496643066, -0.065676748752594, -0.0059069739654660225, 0.536067008972168, 0.23234856128692627, 0.053890299052000046, 0.2584742307662964, 0.8785094022750854, 0.9475727677345276, -0.07779498398303986, 0.4033282995223999, -0.48977985978126526, 0.45546042919158936, 0.9819028377532959, -0.6552274823188782, 1.0442192554473877, 0.3653653562068939, -0.4211198389530182, 0.30607888102531433, 0.5523664355278015, -0.0893227756023407, 0.6528021693229675, 0.5844149589538574, -0.05195479467511177, 0.3545081913471222, 0.22126181423664093, -0.4055580496788025, 0.07273631542921066, 0.29466676712036133, -0.30835387110710144, -0.3168673813343048, 0.0023437044583261013, -0.19378359615802765, 0.4967862069606781, -0.14360064268112183, 1.0476540327072144, -0.5243718028068542, -0.8269128203392029, 0.44096750020980835, 0.2807427644729614, 0.7141135931015015, -0.2966841459274292, -0.0983344316482544, -0.48115304112434387, 0.07074454426765442, 0.15574927628040314, -0.5770490765571594, 0.5767216682434082, -0.2288893610239029, -0.5313160419464111, -0.19964177906513214, 0.7236636877059937, -0.6080702543258667, -0.30505165457725525, 0.12043281644582748, -0.1718759387731552, 0.4049684703350067, 0.2739091217517853, -0.6754344701766968, -0.1990641951560974, -0.10103443264961243, 0.2688838839530945, 0.211289644241333, 0.9248736500740051, 0.08830862492322922, 0.49715444445610046, 0.3669714331626892, 0.08329837024211884, 0.05653202906250954, -0.24407421052455902, 0.02870294451713562, -0.714842677116394, -0.712593674659729, -0.748836874961853, 0.11400188505649567, -0.17244534194469452, -0.39321422576904297, 0.6029386520385742, 1.0278089046478271, 0.9707633256912231, -0.3114030957221985, 0.6966226100921631, 0.10602962225675583, 0.7682183384895325, -0.37852343916893005, 0.2308763712644577, -0.26190415024757385, 0.32944607734680176, -0.11375585198402405, -1.3228907585144043, -0.4804408550262451, 1.0249325037002563, -0.14369386434555054, -0.15003685653209686, 0.6839430928230286, 0.8069279193878174, -0.37915608286857605, -0.3938206136226654, 0.2978225648403168, -0.17406703531742096, -0.15870745480060577, 0.973212480545044, 0.4644662141799927, -1.0899335145950317, 0.28283655643463135, -0.08341002464294434, -0.11218878626823425, -0.5420911908149719, -1.0159461498260498, -0.7233111262321472, -0.691717267036438, -0.513937771320343, -0.49468472599983215, 0.27739107608795166, 0.9676693677902222, 0.7364187240600586, -1.0226398706436157, -0.13982073962688446, 0.17419129610061646, -0.05912493169307709, -0.29816702008247375, -0.16655604541301727, 0.4236610233783722, -0.16391432285308838, -0.7882458567619324, 0.0978269875049591, 0.5092548131942749, 0.4765225648880005, -0.054841186851263046, 0.26371756196022034, -0.4647260308265686, 0.12326304614543915, 0.3409152328968048, 0.5124258399009705, -0.7796117067337036, -0.6032339930534363, 0.21229258179664612, -0.8780223727226257, 0.11679760366678238, 0.6761490106582642, -0.6797692775726318, 0.028569452464580536, 0.6643810272216797, 1.1376177072525024, -0.20687204599380493, 0.21631138026714325, 0.5325453281402588, -1.0136693716049194, 0.2890348434448242, 0.056432176381349564, 0.2894321084022522, 0.6036775708198547, -0.7827416658401489, 0.5039796233177185, 0.11657404899597168, -0.5329311490058899, -0.6807226538658142, 0.21404151618480682, -0.8492014408111572, -0.08655570447444916, 0.9132329821586609, -0.05069049075245857, -0.13094119727611542, -0.4228969216346741, -0.2570662200450897, -0.3462566137313843, 0.23228535056114197, 0.6267749071121216, 0.9394705891609192, 0.44233018159866333, -0.34625986218452454, -0.5293624997138977, 0.6339473724365234, 0.22687391936779022, -0.7791259288787842, -0.06771582365036011, 0.25750643014907837, 0.46921220421791077, 0.4034910500049591, 0.74851393699646, 0.14489175379276276, 0.335114449262619, -0.30208298563957214, 0.14334550499916077, 0.28737765550613403, -0.3873739242553711, -0.04493235424160957, 0.3775058686733246, 0.09630820155143738, -0.33077168464660645 ]
http://arxiv.org/abs/2403.09259v1
http://arxiv.org/pdf/2403.09259v1
To Label or Not to Label: Hybrid Active Learning for Neural Machine Translation
2024-03-14T10:33:28
2024-03-14T10:33:28
Abdul Hameed Azeemi, Ihsan Ayyub Qazi, Agha Ali Raza
cs.CL
cs.CL, cs.LG
Active learning (AL) techniques reduce labeling costs for training neural machine translation (NMT) models by selecting smaller representative subsets from unlabeled data for annotation. Diversity sampling techniques select heterogeneous instances, while uncertainty sampling methods select instances with the highest model uncertainty. Both approaches have limitations - diversity methods may extract varied but trivial examples, while uncertainty sampling can yield repetitive, uninformative instances. To bridge this gap, we propose HUDS, a hybrid AL strategy for domain adaptation in NMT that combines uncertainty and diversity for sentence selection. HUDS computes uncertainty scores for unlabeled sentences and subsequently stratifies them. It then clusters sentence embeddings within each stratum using k-MEANS and computes diversity scores by distance to the centroid. A weighted hybrid score that combines uncertainty and diversity is then used to select the top instances for annotation in each AL iteration. Experiments on multi-domain German-English datasets demonstrate the better performance of HUDS over other strong AL baselines. We analyze the sentence selection with HUDS and show that it prioritizes diverse instances having high model uncertainty for annotation in early AL iterations.
[ -0.14642558991909027, -0.9445496797561646, 0.24217109382152557, 0.23344315588474274, -0.34280601143836975, 0.3682650923728943, -0.3727799952030182, -0.34763896465301514, 0.04130253940820694, 0.3656698167324066, -0.1930570751428604, -0.5614240765571594, -0.4201442003250122, 0.037517886608839035, 0.14188861846923828, 1.3376315832138062, -0.3637765347957611, -0.03300243616104126, -0.07434402406215668, -0.5254709124565125, -0.2597438395023346, -0.44613316655158997, -0.29667460918426514, -0.13114137947559357, 0.5835186839103699, 0.28770437836647034, 1.051883578300476, 0.7079606056213379, 0.4894050359725952, 0.25158318877220154, -0.2070932537317276, 0.6233281493186951, -0.013296404853463173, 0.49558231234550476, -0.07593902200460434, -0.4128117263317108, -0.5026621222496033, 0.057697393000125885, 0.5636250376701355, 0.9424418210983276, 0.00968138501048088, -0.03610016405582428, -0.25362086296081543, 0.23521116375923157, -0.8250455260276794, -0.23703448474407196, -0.5986403226852417, 0.28858569264411926, -0.23729753494262695, -0.06450285017490387, -0.3163175582885742, -0.14005941152572632, 0.45270299911499023, -0.8143078088760376, 0.10092330724000931, 0.2693304121494293, 0.8991584777832031, 0.3355506956577301, -0.8119303584098816, 0.0016627202276140451, -1.0602190494537354, 0.9862527251243591, -0.44947493076324463, 0.1350899040699005, 0.4950818717479706, 0.15843510627746582, 0.09255050122737885, -0.5187792778015137, -0.31596454977989197, -0.11934243142604828, 0.2347327023744583, 0.3490649461746216, -0.1347261667251587, 0.22809211909770966, 0.08619165420532227, 0.6709882020950317, -0.3657550513744354, 0.17199335992336273, -0.43707484006881714, -0.3357301652431488, 0.5231332778930664, -0.3065462112426758, 0.1771601438522339, -0.17593739926815033, -0.6482653617858887, -0.22021958231925964, -0.5040938854217529, -0.03964850306510925, 0.4024815261363983, 0.4228159189224243, 0.008366042748093605, 0.7349395751953125, 0.001149542978964746, 0.7142056822776794, 0.012646324001252651, -0.06257668137550354, 0.5821847319602966, -0.2836628556251526, -0.23587293922901154, -0.19602853059768677, 0.8163082599639893, -0.09507670998573303, 0.07436057925224304, -0.40725529193878174, -0.6771865487098694, -0.07142886519432068, 0.47890329360961914, -0.18217822909355164, 0.03414859622716904, 0.12068276852369308, -0.3125039041042328, -0.04657253995537758, 0.06908828765153885, -0.6627538204193115, -0.09405754506587982, -0.18103212118148804, 0.7790426015853882, -0.3885078430175781, -0.01812760904431343, 0.05547385290265083, -0.08458606153726578, -0.2454380840063095, 0.09910958260297775, -0.6237636804580688, 0.3995039463043213, 0.013775257393717766, 0.8467940092086792, -0.7136720418930054, -0.33323338627815247, -0.45595282316207886, 0.18190987408161163, -0.27143338322639465, 0.6454805135726929, -0.2977229952812195, -0.312890887260437, -0.016724295914173126, -0.2896158993244171, -0.3595718443393707, -0.7672697305679321, 0.6144731044769287, -0.5559974312782288, 0.21435029804706573, 0.062087032943964005, -0.20357345044612885, -0.39006245136260986, 0.0316782221198082, -0.7827646732330322, 1.4227080345153809, 0.5622774362564087, -0.538527250289917, 0.37685784697532654, -0.7093349695205688, -0.977823793888092, -0.007348454091697931, -0.030620062723755836, -0.8099291920661926, 0.05053078755736351, 0.16163481771945953, 0.30778738856315613, 0.09960879385471344, 0.26352643966674805, -0.21416813135147095, -0.01613137125968933, 0.26999303698539734, -0.30745425820350647, 0.5446069836616516, 0.6031810641288757, -0.5171713829040527, 0.38129037618637085, -0.5850454568862915, -0.05623634159564972, -0.21055054664611816, -0.7010421752929688, -0.5038801431655884, -0.11463063210248947, 0.21198931336402893, 0.18062534928321838, -0.08681623637676239, -0.3411610722541809, 0.2586623728275299, -0.2800353467464447, 0.20802295207977295, 0.5675119161605835, 0.13031497597694397, 0.8649277687072754, -0.33569663763046265, 0.9169954657554626, 0.17578479647636414, -0.038251977413892746, 0.0738321840763092, -0.7398420572280884, -0.8483524322509766, -0.2692812383174896, 0.7457320690155029, 0.8773425221443176, -1.2216789722442627, 0.7590959668159485, -0.03885547071695328, -0.29174935817718506, -0.9342321157455444, 0.2666660249233246, 0.4076882600784302, 0.14808693528175354, 0.6091702580451965, -0.15196014940738678, -0.5011424422264099, -1.0387564897537231, -0.1613389551639557, 0.02583189308643341, 0.24034063518047333, 0.21661488711833954, 0.637639045715332, -0.022035948932170868, 0.8522067666053772, -0.23738864064216614, -0.24331295490264893, -0.1756461262702942, 0.37659522891044617, -0.14125825464725494, 0.48863840103149414, 0.5540863871574402, -1.1401035785675049, -0.3950638473033905, 0.3412814140319824, -0.6386174559593201, 0.10030481964349747, -0.42858341336250305, -0.3518195152282715, -0.06258527934551239, 0.08106587082147598, -0.6405002474784851, 0.5236243009567261, 0.6379781365394592, -0.21626365184783936, 0.051091957837343216, -0.3407115936279297, 0.04644531384110451, -1.1277039051055908, -0.06422340869903564, 0.08356431126594543, -0.17566333711147308, -0.31644120812416077, -0.1626245081424713, 0.07924187183380127, 0.08492643386125565, -0.3910295069217682, 0.4091752767562866, -0.8291948437690735, -0.19876474142074585, -0.21943160891532898, -0.22653105854988098, 0.023509716615080833, 0.2835068702697754, 0.022438261657953262, 0.6716897487640381, 0.5570021867752075, -0.6349985003471375, 0.3439788818359375, 0.18469662964344025, -0.41291871666908264, 0.026763619855046272, -0.2170778512954712, 0.06603308022022247, 0.1484215408563614, 0.3364948034286499, -0.6767902970314026, 0.07620477676391602, 0.20685923099517822, -0.27014440298080444, 0.18389062583446503, 0.17046403884887695, -0.2641102373600006, -0.4257066547870636, -0.044252485036849976, 0.4491971731185913, 0.48699164390563965, -0.2261005938053131, 0.6193297505378723, 0.382355660200119, 0.02885172888636589, -0.45317646861076355, -0.900709331035614, -0.03949849307537079, -0.12971623241901398, -0.34585830569267273, 0.575931966304779, 0.03428580239415169, -0.29942670464515686, 0.2760302722454071, -0.2734794020652771, -0.1323525607585907, 0.41877955198287964, 0.15404276549816132, 0.18743129074573517, -0.5436172485351562, 0.05886441096663475, 0.41000431776046753, 0.04411311075091362, -0.3929038643836975, -0.6674718856811523, -0.0069571565836668015, -0.005487716291099787, -0.3098542392253876, -0.11236242204904556, 0.5253470540046692, 0.43012121319770813, -0.38167262077331543, 0.8830291032791138, 0.7357853055000305, -0.4741971790790558, -0.7863892316818237, -0.1450062394142151, -0.11061681807041168, -0.3561183512210846, 0.300606369972229, -0.25860220193862915, -0.8455878496170044, 0.22928909957408905, -0.06812272220849991, 0.3127874433994293, 0.5225033760070801, 0.7213590145111084, -0.15666352212429047, 0.7547065615653992, 0.5503017902374268, 0.2216832935810089, 0.5562780499458313, -0.3501622974872589, 0.416899174451828, -0.6256136298179626, -0.09753590822219849, -0.3506503403186798, -0.7905229926109314, -0.304261177778244, -0.8582034111022949, 0.38451457023620605, 0.1562340408563614, 0.31664156913757324, 0.20951281487941742, -0.4639427065849304, 0.16194216907024384, 0.9412294626235962, 0.11494291573762894, 0.16629020869731903, 0.20208491384983063, -0.2550095021724701, -0.11995512992143631, -0.8242409825325012, -0.3398626446723938, 1.0658071041107178, 0.23120635747909546, 0.5550183057785034, 0.1479903757572174, 0.48730915784835815, 0.5023154020309448, 0.3091259300708771, -1.0125579833984375, 0.32400792837142944, -0.17855305969715118, -0.8431674242019653, -0.15230028331279755, -0.5740768909454346, -1.0695669651031494, 0.5117106437683105, -0.43745192885398865, -0.2240801304578781, 0.27417656779289246, 0.14187850058078766, -0.8101739883422852, 0.5278335213661194, -0.8245857357978821, 0.6537167429924011, -0.4977409243583679, -0.04938089847564697, 0.168002188205719, -0.6956157088279724, 0.10710423439741135, -0.2831847071647644, 0.1911918669939041, 0.031735919415950775, -0.2557860314846039, 0.9387443661689758, 0.032357197254896164, 0.8829358220100403, 0.04738224670290947, 0.1477896273136139, 0.4500850439071655, 0.1072959154844284, 0.18467290699481964, -0.16619457304477692, -0.2494036853313446, -0.20071639120578766, -0.559421956539154, -0.5573806166648865, -0.37416884303092957, 0.48112812638282776, -0.9180594086647034, -0.32293564081192017, -0.6416788101196289, -0.9939469695091248, -0.36557912826538086, 0.12462908029556274, 0.4033588171005249, -0.04962640628218651, 0.04567832127213478, 0.27679988741874695, 0.8167190551757812, -0.16802667081356049, 0.39655834436416626, 0.18515722453594208, 0.13450191915035248, -0.722023606300354, 0.726140558719635, 0.3615805506706238, 0.5191978812217712, 0.4649481177330017, 0.11024536192417145, -0.08767540007829666, -1.0205557346343994, -0.6252104043960571, 0.06227567046880722, -0.6262115836143494, -0.4009712040424347, -0.8107754588127136, -0.22605638206005096, -0.4998088777065277, -0.28370997309684753, -0.2768394947052002, -0.6713820099830627, -0.19234788417816162, -0.5333050489425659, 0.5292655229568481, 0.5533248782157898, -0.02796143665909767, 0.4847008287906647, -0.5617813467979431, 0.6042853593826294, 0.19961346685886383, 0.020489001646637917, -0.39861592650413513, -0.6564655303955078, -0.45409852266311646, 0.03897791728377342, -0.5986841917037964, -0.9200375080108643, 0.3745044469833374, 0.46433308720588684, 0.9274798631668091, 0.2725493609905243, 0.4641600549221039, 0.2401505410671234, -0.22979982197284698, 0.6646328568458557, -0.019463445991277695, -0.6336404085159302, 0.6314396858215332, -0.4759035110473633, 0.23885619640350342, 0.5279611349105835, 0.5629971623420715, -0.3534792363643646, -0.4104132652282715, -0.7291023135185242, -1.1401116847991943, 0.633483350276947, 0.42507821321487427, 0.10309906303882599, 0.006621250417083502, 0.250531941652298, 0.3464408218860626, 0.25069209933280945, -0.834263026714325, -0.5135343074798584, -0.04799690097570419, -0.40980321168899536, 0.013348018750548363, 0.265250027179718, -0.2220960259437561, -0.33271369338035583, 0.8350491523742676, -0.1949716955423355, 0.09118849784135818, 0.08566455543041229, -0.23090484738349915, -0.36605557799339294, 0.2136949747800827, 0.3839249908924103, 0.4016668498516083, -0.20771542191505432, 0.22994419932365417, 0.17933644354343414, -0.5008277297019958, 0.061377111822366714, 0.06907239556312561, -0.6241641044616699, 0.30575066804885864, 0.34463179111480713, 1.3573521375656128, 0.26264142990112305, -0.3923303484916687, 0.37057656049728394, 0.3963225781917572, -0.3652067482471466, 0.16459470987319946, -0.011754894629120827, -0.06496599316596985, -0.02248334512114525, 0.39342159032821655, 0.6633620858192444, -0.02392488904297352, -0.6115209460258484, 0.3632637560367584, 0.04245452210307121, -0.42995887994766235, -0.3715999126434326, 0.6482412219047546, 0.40219536423683167, -0.5144792199134827, 0.48279431462287903, -0.07311508804559708, -0.5764274597167969, 0.4789769947528839, 0.5778583884239197, 0.8330472111701965, -0.46798473596572876, 0.46616697311401367, 0.12126818299293518, 0.3844645321369171, -0.27622777223587036, 0.3071415424346924, -0.02026444859802723, -0.795299768447876, -0.3693320155143738, -0.6220746636390686, -0.3932594358921051, -0.10289455205202103, -0.9729865789413452, 0.06091965362429619, -0.48438796401023865, -0.46869587898254395, 0.020824024453759193, -0.19203133881092072, -0.32255324721336365, 0.3712500333786011, 0.4101330637931824, 0.6319670677185059, -1.1308130025863647, 0.9803391098976135, 1.2044552564620972, -0.3989056348800659, -0.37165001034736633, -0.1830911487340927, -0.11133058369159698, -0.49282607436180115, 0.17816407978534698, -0.22539275884628296, 0.27232852578163147, 0.036669082939624786, -0.3222709894180298, -0.6833398342132568, 0.8366336822509766, 0.31934282183647156, -0.16056811809539795, -0.06901594996452332, -0.14798051118850708, 0.4267565906047821, -0.3817075788974762, -0.02430681884288788, 0.3445305824279785, 0.5457677841186523, 0.015898093581199646, -0.9134142398834229, -0.30198127031326294, -0.2827642560005188, -0.17377594113349915, 0.35523417592048645, -0.4541465640068054, 0.975551187992096, -0.3080408275127411, -0.04468134418129921, -0.04967841878533363, 0.9329304099082947, 0.11717449128627777, 0.3039993643760681, 0.5997070074081421, 0.3475896418094635, 0.9071599841117859, -0.13013166189193726, 1.1075025796890259, 0.26898252964019775, 0.24000436067581177, 0.7812866568565369, -0.3120476305484772, 0.8710206747055054, 0.7145851254463196, -0.17615462839603424, 0.3762343227863312, 0.9537493586540222, -0.16150648891925812, 0.6917129755020142, 0.19154635071754456, -0.3727370798587799, -0.4233400225639343, -0.10736411809921265, -0.22125129401683807, 0.25465479493141174, 0.3771764934062958, -0.3315761089324951, -0.1609223186969757, 0.43623101711273193, 0.005995493847876787, 0.31170690059661865, 0.04080602154135704, 0.6544468998908997, 0.33939310908317566, -0.9191405773162842, 0.45682454109191895, 0.2210533320903778, 0.7932054996490479, -0.6672429442405701, 0.2129979282617569, -0.14478251338005066, 0.16835647821426392, -0.05709301680326462, -0.624332845211029, 0.11714845150709152, -0.20929881930351257, -0.45189645886421204, -0.687371551990509, 0.30124402046203613, -0.6090882420539856, -0.5122841596603394, 0.33472341299057007, 0.755649983882904, -0.07176320999860764, 0.017423445358872414, -0.9122137427330017, -0.21532557904720306, 0.2121986597776413, -0.4990924894809723, 0.4315999746322632, 0.6620716452598572, -0.5089206695556641, 0.381915420293808, 0.7216098308563232, 0.41232216358184814, 0.4253407120704651, -0.10544076561927795, 0.7162300944328308, -0.5486236810684204, -0.5040479302406311, -0.38409173488616943, 0.5471923351287842, 0.10446882992982864, -0.8882756233215332, 0.7159255146980286, 0.5521821975708008, 0.7885128259658813, -0.07282508909702301, 1.0254878997802734, -0.0012495862320065498, 0.3869932293891907, -0.5397463440895081, 0.5473372936248779, -0.4929931163787842, 0.145600363612175, 0.16183766722679138, -1.202816367149353, -0.40715616941452026, 0.7728400826454163, -0.42475202679634094, 0.06060364469885826, 1.0430186986923218, 0.44540706276893616, -0.3093687891960144, -0.19074605405330658, 0.31616485118865967, 0.09363970905542374, -0.09845959395170212, 0.29696646332740784, 0.7946716547012329, -0.6143468022346497, 0.6464311480522156, -0.45158621668815613, -0.179819256067276, -0.11035360395908356, -0.5402142405509949, -0.7009143829345703, -0.5443437695503235, -0.6496509909629822, -0.4556061923503876, 0.04106012359261513, 0.8384661674499512, 1.0171892642974854, -1.0504652261734009, -0.22749055922031403, 0.4204597771167755, 0.19993863999843597, -0.6588478088378906, -0.1459255814552307, 0.40433141589164734, -0.19078247249126434, -0.7417176365852356, 0.669723391532898, 0.17963172495365143, 0.23478956520557404, 0.033171966671943665, -0.03825432434678078, -0.606572687625885, -0.0899341031908989, 0.24475504457950592, 0.2323305606842041, -0.7807601094245911, 0.12805666029453278, 0.06045845150947571, -0.3157452344894409, 0.18152004480361938, 0.8687114715576172, -0.6316174268722534, 0.37679678201675415, 0.3552244305610657, 1.050652265548706, 0.35261762142181396, 0.042205192148685455, 0.7443804144859314, -0.9582580924034119, 0.33045175671577454, 0.7175451517105103, 0.12082137912511826, 0.3919453024864197, -0.4023425579071045, 0.40585628151893616, 0.47915348410606384, -0.3425385057926178, -0.7989853024482727, 0.033009592443704605, -1.3242970705032349, -0.4141857624053955, 1.5532163381576538, -0.2661482095718384, -0.40716680884361267, -0.49556297063827515, -0.1125817596912384, 0.22607062757015228, -0.33586186170578003, 0.5198525190353394, 0.6601759791374207, 0.1329241245985031, 0.1534605771303177, -0.898539125919342, 0.38448086380958557, 0.74517422914505, -0.6544806957244873, -0.31323370337486267, 0.2758435606956482, 0.00013975531328469515, 0.1497359424829483, 0.24515290558338165, 0.20607911050319672, 0.2684755027294159, -0.04721643030643463, 0.37448665499687195, 0.1045738235116005, -0.2690182626247406, -0.26362520456314087, 0.13638396561145782, -0.06617964804172516, -0.4769788384437561 ]
http://arxiv.org/abs/2403.09226v2
http://arxiv.org/pdf/2403.09226v2
Retrieval augmented text-to-SQL generation for epidemiological question answering using electronic health records
2024-03-14T09:45:05
2024-05-16T13:00:56
Angelo Ziletti, Leonardo D'Ambrosi
cs.CL
cs.CL
Electronic health records (EHR) and claims data are rich sources of real-world data that reflect patient health status and healthcare utilization. Querying these databases to answer epidemiological questions is challenging due to the intricacy of medical terminology and the need for complex SQL queries. Here, we introduce an end-to-end methodology that combines text-to-SQL generation with retrieval augmented generation (RAG) to answer epidemiological questions using EHR and claims data. We show that our approach, which integrates a medical coding step into the text-to-SQL process, significantly improves the performance over simple prompting. Our findings indicate that although current language models are not yet sufficiently accurate for unsupervised use, RAG offers a promising direction for improving their capabilities, as shown in a realistic industry setting.
[ -0.03875022381544113, -1.0272650718688965, 0.7813577651977539, -0.3180095851421356, -0.1841762214899063, 0.08551108837127686, 0.07811369001865387, -0.5942991375923157, 0.6594188809394836, 0.6476227045059204, -0.2947322726249695, -0.3055459260940552, -0.2356550246477127, 0.1962500512599945, -0.1644664704799652, 1.2537893056869507, 0.07818187028169632, -0.038884907960891724, -0.6113991141319275, 0.06514301151037216, -0.1513126790523529, -1.0052821636199951, -0.4223172664642334, -0.026272768154740334, 0.5002342462539673, 0.3941660225391388, 0.3830803632736206, 0.47422733902931213, 0.453019917011261, 0.06142902374267578, -0.13847573101520538, 0.46701547503471375, -0.3908616602420807, 0.5875736474990845, -0.03982333466410637, -0.5382717251777649, -0.5185527205467224, -0.6027922630310059, 0.06406562775373459, 0.6586441993713379, -0.5017874836921692, 0.6389362215995789, -0.37787631154060364, 0.8728710412979126, -0.7180413007736206, -0.35369038581848145, -0.5595716238021851, -0.06402275711297989, -0.32781463861465454, -0.9528594017028809, -0.5826095938682556, -0.19278040528297424, 0.11790112406015396, -0.5117203593254089, 0.28175947070121765, 0.23537947237491608, 0.808928370475769, 0.3091743290424347, -0.46927309036254883, -0.6271097660064697, -0.8775961995124817, 0.35005617141723633, -0.3075001835823059, 0.343727707862854, 0.6948716044425964, 0.32902592420578003, 0.029849238693714142, -0.9004810452461243, -0.22558189928531647, -0.10772574692964554, -0.23733502626419067, 0.23634645342826843, -0.179867684841156, 0.034524884074926376, 0.23621726036071777, 0.37915414571762085, -0.5422131419181824, -0.3029012382030487, -0.3878515660762787, -0.1423014998435974, 0.5822249054908752, 0.22688820958137512, 0.6028773188591003, -0.23020192980766296, -0.1708541214466095, 0.3224174380302429, -0.8210422396659851, -0.16357707977294922, -0.08608441799879074, 0.36074158549308777, 0.005496862810105085, 0.9612108469009399, -0.05236068740487099, 0.7967487573623657, 0.14008593559265137, 0.05503527447581291, 0.2987035810947418, -0.32723096013069153, -0.10671281814575195, 0.42143183946609497, 0.07166220992803574, 0.4253503680229187, -0.3334725499153137, -0.2313522845506668, -0.16430050134658813, -0.18910656869411469, 0.44815313816070557, -0.685996413230896, -0.22335746884346008, 0.7648194432258606, -0.3890845775604248, -0.04039940983057022, -0.17900192737579346, -0.9464484453201294, -0.3037361204624176, -0.16548261046409607, 0.49650970101356506, -0.11632655560970306, -0.1617407351732254, -0.11546424776315689, -0.3948039710521698, 0.22584669291973114, 0.19284632802009583, -0.5553924441337585, 0.44129103422164917, 0.5169326663017273, 0.5209881067276001, 0.10594698786735535, 0.5666282773017883, -0.8274276256561279, 0.3896273374557495, -0.22133275866508484, 0.8895649313926697, -0.37110471725463867, -0.49285492300987244, 0.16875819861888885, -0.22024478018283844, 0.07345021516084671, -0.7580470442771912, 0.45796623826026917, -0.44409531354904175, 0.38240310549736023, -0.1668609231710434, -0.581232488155365, 0.24220962822437286, 0.3649612069129944, -0.5428060293197632, 0.9656280875205994, 0.1462937444448471, -0.929125189781189, 0.2650104761123657, -0.48912984132766724, -0.48225873708724976, 0.3425430357456207, -0.4238678812980652, -0.8587827086448669, 0.1575154960155487, 0.3146570920944214, 0.23461371660232544, -0.6493240594863892, 0.16996829211711884, 0.21732328832149506, 0.011637566611170769, 0.2508558928966522, -0.1605217009782791, 0.5682395100593567, 0.31915155053138733, 0.1366490125656128, -0.18047943711280823, -0.7355644702911377, 0.18524359166622162, 0.3903033137321472, -0.5303356647491455, -0.7410745024681091, 0.21621493995189667, 0.13902433216571808, -0.16461855173110962, 0.30705776810646057, -0.6138362288475037, -0.16686668992042542, -0.514956533908844, -0.044592417776584625, 0.09915624558925629, 0.5421721935272217, 0.08514933288097382, -0.8760510087013245, 0.498585045337677, -0.14280587434768677, -0.07775980234146118, -0.4850788116455078, -0.7725927233695984, -0.23968887329101562, -0.22765891253948212, 0.2766352891921997, 0.8119572997093201, -0.9296610951423645, 0.08700936287641525, -0.11944647878408432, -0.23959305882453918, -0.6874057054519653, -0.42593148350715637, 0.5037091970443726, 0.7732431888580322, 0.6528956294059753, 0.019469110295176506, -0.7355635166168213, -0.49167323112487793, -0.48609480261802673, -0.35804760456085205, -0.3621775209903717, 0.6994506120681763, 0.15716098248958588, 0.054936736822128296, 0.7215070724487305, -0.7428922057151794, -0.14826692640781403, -0.20140501856803894, 0.041173506528139114, 0.13539154827594757, 0.27840957045555115, 0.33922144770622253, -0.9964277744293213, -0.6069656014442444, 0.35216188430786133, -0.567972719669342, -0.19219554960727692, 0.10806810110807419, 0.05981765314936638, 0.35846057534217834, 0.30409443378448486, -0.19532227516174316, 0.4623589515686035, 0.3107958137989044, -0.3919810950756073, 0.46700403094291687, -0.6191394925117493, 0.5233913660049438, -1.3169914484024048, 0.28608953952789307, 0.03442012518644333, -0.22737891972064972, -1.0358680486679077, 0.2255801111459732, -0.10423800349235535, -0.2604961395263672, -0.33967989683151245, 0.311649352312088, -0.6136842370033264, 0.09942544251680374, 0.11536774784326553, -0.31053730845451355, -0.012930887751281261, -0.07224929332733154, -0.20313233137130737, 0.7329533696174622, 0.3507949709892273, -0.6394603848457336, 0.07144971191883087, 0.44081488251686096, -0.13235214352607727, 0.8330907225608826, -0.6648301482200623, 0.22404330968856812, -0.49411001801490784, -0.02997555583715439, -0.7099114656448364, -0.6233735680580139, -0.11706235259771347, -0.8995932936668396, 0.426373153924942, -0.14648385345935822, -0.3501058518886566, -0.27312347292900085, -0.20461216568946838, 0.10437101870775223, 0.7544846534729004, -0.46748048067092896, 0.5867699384689331, 0.8126726746559143, -0.4142518937587738, -0.3582104742527008, -0.786822497844696, 0.1340499371290207, -0.23327869176864624, -0.3141886591911316, 0.6982570290565491, 0.18405646085739136, -0.4110361635684967, 0.12383062392473221, -0.04326149448752403, -0.507698118686676, -0.2577245533466339, -0.1467956006526947, 0.4194256067276001, -0.11712806671857834, 0.3166019916534424, 0.21618521213531494, 0.1747702807188034, 0.12845906615257263, 0.13313338160514832, 0.3358907699584961, 0.5493167042732239, -0.4107908308506012, -0.17487911880016327, 0.796276867389679, 0.2595534026622772, -0.3890451192855835, 0.8222772479057312, -0.1439596563577652, -0.8093867897987366, -0.01725626550614834, -0.542421281337738, -0.12247318774461746, -0.34717583656311035, 0.31989970803260803, -0.256612628698349, -0.7720067501068115, 0.4794986844062805, -0.21526116132736206, 0.18954813480377197, 0.32028070092201233, 0.6572083830833435, -0.3055470287799835, 1.056609869003296, 0.3655957281589508, 0.6988234519958496, 0.010748232714831829, 0.19445794820785522, 0.033349793404340744, -0.8001000285148621, -0.5681058168411255, -0.8501231670379639, 0.44610196352005005, -0.5366316437721252, -0.7316198348999023, 1.03428053855896, -0.007874362170696259, -0.20789507031440735, 0.04216870665550232, -0.7731633186340332, 0.29661956429481506, 0.034163348376750946, 0.7129101753234863, 0.5524951815605164, 0.23152275383472443, 0.047587934881448746, -0.08928027749061584, -0.7233535647392273, -0.23762568831443787, 1.1617467403411865, 0.11003323644399643, 0.5777059197425842, 0.5302475094795227, 0.786688506603241, 0.29774314165115356, 0.30165737867355347, -0.5194211006164551, 0.15639767050743103, -0.2788122296333313, -0.8374362587928772, -0.13728395104408264, -0.5130148530006409, -1.0961613655090332, 0.03831075131893158, -0.46122726798057556, -0.6186918020248413, 0.10190359503030777, 0.48729172348976135, -0.45976823568344116, 0.20437569916248322, -0.5069385766983032, 0.40293487906455994, -0.13668067753314972, -0.168962299823761, 0.14226779341697693, -0.8122415542602539, 0.10061454772949219, -0.251941442489624, 0.43648234009742737, 0.25522729754447937, -0.22905980050563812, 0.5622850060462952, -0.7591693997383118, 0.5948663353919983, 0.017559556290507317, 0.19340448081493378, 0.4977183938026428, -0.21028466522693634, 0.5887943506240845, -0.03706657141447067, -0.1491735279560089, -0.2698041498661041, 0.21394659578800201, -0.2839809060096741, -0.4143063724040985, 0.350779265165329, -0.30370602011680603, -0.5174430012702942, -0.43370479345321655, -0.1897801011800766, -0.3757990598678589, -0.01083135325461626, 0.34209463000297546, 0.6099302768707275, -0.18656082451343536, -0.06512065976858139, 0.9171621203422546, -0.6240379810333252, -0.1472776234149933, 0.48669400811195374, -0.25362372398376465, -0.38159677386283875, 0.8570291996002197, 0.23009803891181946, 0.3788909614086151, 0.7028936147689819, 0.32413846254348755, -0.3739314675331116, -0.16148751974105835, -0.7143315076828003, 0.20123693346977234, -0.5418967008590698, -0.3502209782600403, -0.8844261169433594, -0.224721759557724, -0.30013471841812134, -0.1535891592502594, 0.043512601405382156, -0.33579394221305847, -0.33419227600097656, -0.10354354977607727, 0.8412767648696899, 0.6388894319534302, 0.19445554912090302, -0.20299705862998962, -1.13740873336792, 0.49247825145721436, 0.23001013696193695, 0.28065595030784607, -0.2084307223558426, -0.483378142118454, -0.12133549898862839, -0.24568279087543488, 0.08583088964223862, -1.457512378692627, 0.4494119882583618, 0.3833470046520233, 0.5036094188690186, -0.15773136913776398, 0.42466846108436584, 0.7118802070617676, -0.9386280179023743, 0.6841184496879578, 0.2729031443595886, -0.51667320728302, 0.8242536187171936, -0.2855003774166107, 0.057692594826221466, 0.5465646982192993, 0.6236460208892822, -0.45370644330978394, -0.14950747787952423, -0.5863417983055115, -1.0574930906295776, 0.27979519963264465, 0.15990020334720612, -0.17244359850883484, -0.2919102907180786, 0.4567471146583557, -0.2034534066915512, 0.14419275522232056, 0.12809039652347565, -0.6040119528770447, 0.2942941188812256, -0.11409963667392731, 0.19229118525981903, -0.2648824453353882, -0.22649165987968445, -0.15399225056171417, 0.3777504861354828, 0.06271722912788391, 0.49512553215026855, 0.6868369579315186, -0.02612297609448433, -0.3905266523361206, 0.5551812052726746, 0.2134011834859848, 0.5858096480369568, -0.207362100481987, 0.0011779520427808166, 0.22992780804634094, -0.5649093389511108, 0.09391556680202484, 0.2497439980506897, -0.26141467690467834, 0.3463570773601532, -0.02405628375709057, 0.38572147488594055, -0.04139561206102371, -0.8721715807914734, 0.48911532759666443, 0.10812505334615707, -0.07993093878030777, -0.3598860204219818, -0.48520514369010925, -0.0054203844629228115, -0.3699007034301758, 0.6825042366981506, -0.28655120730400085, 0.4739869236946106, -0.6393155455589294, 0.6644410490989685, 0.22761833667755127, -0.36564508080482483, -0.010576561093330383, 0.9801247119903564, 0.16017423570156097, -0.49437108635902405, 0.3313964009284973, 0.13892556726932526, -0.2603403627872467, 0.8134475946426392, 0.9534837007522583, 0.37058451771736145, -0.526438295841217, 0.19873400032520294, 0.5846099257469177, 0.21607494354248047, 0.060161564499139786, 0.8481120467185974, 0.3459928035736084, -0.2228584736585617, -0.7548331618309021, -0.4758296608924866, -0.7093307971954346, -0.23119542002677917, -1.0487967729568481, 0.2721865475177765, -0.05602145195007324, -0.22463202476501465, 0.2133442759513855, -0.5427722334861755, -0.36932915449142456, 0.3167620599269867, -0.059746257960796356, 0.644153356552124, -0.647935688495636, 0.35404759645462036, 1.0825998783111572, -0.454123318195343, -0.6902663707733154, 0.05940026044845581, 0.13993500173091888, -0.47235748171806335, 0.18336886167526245, -0.0700000748038292, 0.4321048855781555, 0.1335458755493164, -0.4202958047389984, -0.6469067931175232, 0.8115590214729309, 0.08694198727607727, -0.38472703099250793, -0.09810052812099457, 0.05359073355793953, 0.7403958439826965, -0.09443333745002747, 0.23569977283477783, 0.41969937086105347, 0.06252750754356384, 0.16404257714748383, -1.1594442129135132, 0.07050207257270813, -0.2271382361650467, -0.08235209435224533, 0.7352465391159058, 0.016486376523971558, 0.6291102766990662, -0.619767427444458, -0.4415474236011505, -0.16744361817836761, 0.49401402473449707, 0.374326229095459, 0.7212539911270142, 0.2355542629957199, 0.5989043712615967, 0.8670310378074646, -0.0858260989189148, 1.3902896642684937, -0.20516888797283173, 0.3407098650932312, 1.0876538753509521, -0.3098410665988922, 1.0080827474594116, 0.4701082408428192, -0.42097997665405273, 0.2874029278755188, 0.4996250569820404, 0.549932599067688, 0.38604044914245605, 0.2735700011253357, -0.7162113785743713, -0.10316985845565796, -0.5199625492095947, -0.4418156147003174, -0.045182958245277405, 0.815209686756134, -0.35257184505462646, -0.27541598677635193, 0.16681940853595734, -0.008709199726581573, 0.35857459902763367, -0.47819116711616516, 1.013100266456604, -0.0010590326273813844, -0.548648476600647, 0.32340991497039795, -0.18315619230270386, 0.44760140776634216, -0.37561067938804626, -0.5802599787712097, 0.20436112582683563, -0.32416343688964844, -0.3045516014099121, -0.7737135291099548, 0.7174370288848877, 0.3231024444103241, -0.18544167280197144, 0.1927991658449173, 0.9870771169662476, -0.5919415354728699, -0.3051435947418213, -0.143522247672081, 0.7434805631637573, 0.3919781446456909, 0.16800087690353394, -0.47931021451950073, -0.2813599705696106, -0.13339772820472717, -0.05991971120238304, 0.2991648018360138, 0.3349345922470093, -0.07794845104217529, 0.3289045989513397, 0.7783938646316528, 0.3702816367149353, 0.027233097702264786, -0.057375214993953705, 0.7774232029914856, -0.40437692403793335, -0.4411998391151428, -0.42129650712013245, 0.6462874412536621, -0.17542846500873566, -0.09647770971059799, 0.4633689820766449, 0.7321740984916687, 0.5894731283187866, -0.04820719361305237, 0.8129097819328308, -0.4435998499393463, 1.3709022998809814, -0.37240734696388245, 0.8392557501792908, -0.6840729713439941, 0.13425786793231964, 0.006298085208982229, -0.36875301599502563, -0.49053940176963806, 0.09172496199607849, -0.005440454464405775, -0.2276572436094284, 0.5217090249061584, 0.6164562106132507, 0.44275543093681335, -0.3105618357658386, 0.47337812185287476, 0.07018484175205231, 0.13239340484142303, 0.2658354341983795, 0.28641214966773987, -0.37292465567588806, 0.22691425681114197, -0.18376028537750244, -0.37496015429496765, -0.3396587073802948, -0.6605445146560669, -0.50218266248703, -0.6001407504081726, -0.2816387414932251, -0.8117655515670776, 0.5357115864753723, 1.1956943273544312, 0.09309802949428558, -0.7699368000030518, 0.19086092710494995, 0.15202364325523376, -0.2531278431415558, -0.17626617848873138, -0.203718364238739, 0.46797558665275574, -0.01956174522638321, -0.44569259881973267, 0.19419562816619873, 0.22654637694358826, -0.0454285703599453, 0.09306972473859787, 0.15394476056098938, -0.2691721022129059, 0.24881501495838165, 0.6016836166381836, 0.6556870937347412, -0.3150387406349182, 0.20013082027435303, 0.17557671666145325, -0.20647646486759186, 0.11842904984951019, 0.7271103858947754, -0.691429853439331, 0.7710806131362915, 0.682837188243866, 1.00486421585083, 0.4842102527618408, 0.36851853132247925, 0.3934575319290161, -0.8315776586532593, -0.42618775367736816, 0.5235000848770142, 0.13204535841941833, 0.39354363083839417, -0.9766457080841064, 0.293183296918869, -0.03529542684555054, -0.695763885974884, -0.8845424652099609, 0.18107423186302185, -0.7344657182693481, -0.15249371528625488, 0.8216837048530579, 0.02324039489030838, -0.3462812900543213, -0.6675764322280884, -0.14519500732421875, 0.3229280114173889, -0.16991578042507172, 0.5161957740783691, 0.09828689694404602, -0.47803008556365967, -0.12100957334041595, -0.8594009876251221, 0.4626990854740143, 0.39772504568099976, -1.2779548168182373, -0.07325556874275208, 0.4801836907863617, 0.2083183228969574, 0.04846826195716858, 1.0486509799957275, -0.3784297704696655, 0.6176563501358032, -0.10865828394889832, 0.11422478407621384, 0.17233242094516754, -0.21920627355575562, -0.2634498178958893, 0.009481304325163364, -0.054733436554670334, -0.04307177662849426 ]
http://arxiv.org/abs/2403.09751v1
http://arxiv.org/pdf/2403.09751v1
What Was Your Prompt? A Remote Keylogging Attack on AI Assistants
2024-03-14T09:38:12
2024-03-14T09:38:12
Roy Weiss, Daniel Ayzenshteyn, Guy Amit, Yisroel Mirsky
cs.CR
cs.CR, cs.AI, cs.CL
AI assistants are becoming an integral part of society, used for asking advice or help in personal and confidential issues. In this paper, we unveil a novel side-channel that can be used to read encrypted responses from AI Assistants over the web: the token-length side-channel. We found that many vendors, including OpenAI and Microsoft, have this side-channel. However, inferring the content of a response from a token-length sequence alone proves challenging. This is because tokens are akin to words, and responses can be several sentences long leading to millions of grammatically correct sentences. In this paper, we show how this can be overcome by (1) utilizing the power of a large language model (LLM) to translate these sequences, (2) providing the LLM with inter-sentence context to narrow the search space and (3) performing a known-plaintext attack by fine-tuning the model on the target model's writing style. Using these methods, we were able to accurately reconstruct 29\% of an AI assistant's responses and successfully infer the topic from 55\% of them. To demonstrate the threat, we performed the attack on OpenAI's ChatGPT-4 and Microsoft's Copilot on both browser and API traffic.
[ -0.3825230598449707, -0.8510814905166626, 0.46791377663612366, -0.2824050486087799, -0.4580681025981903, 0.0822933092713356, 0.1364874392747879, -0.42996707558631897, 0.4162885248661041, 0.6594242453575134, -0.6056040525436401, -0.25028207898139954, -0.7972916960716248, 0.35799911618232727, -0.5610894560813904, 0.911000669002533, 0.34270256757736206, 0.23157982528209686, -0.10042621940374374, -0.057251546531915665, -0.6229149699211121, -0.6636252999305725, -0.7298952341079712, 0.2940632998943329, 0.40464746952056885, 0.3464133143424988, 0.6942328214645386, 0.2749369442462921, 0.6537553071975708, 0.3314177095890045, 0.23194879293441772, -0.0305541530251503, -0.11315539479255676, 0.1934005469083786, 0.033724721521139145, -0.6424641609191895, -0.4353630244731903, 0.03377751633524895, 0.3303746283054352, 0.3117378056049347, 0.32859501242637634, 0.2965031564235687, -0.03832210227847099, 0.3935203552246094, -0.47037389874458313, -0.30930614471435547, -0.6442121267318726, -0.010830437764525414, -0.28133121132850647, -0.2196076512336731, -0.7302308678627014, 0.3006381094455719, -0.1743827760219574, -0.4763181507587433, -0.010573427192866802, 0.12471413612365723, 0.7803781032562256, 0.3442046642303467, -0.17202550172805786, -0.6064428687095642, -0.42924174666404724, 0.5174402594566345, -0.692314624786377, 0.2393440157175064, 0.9541690349578857, 0.42417505383491516, -0.2252163290977478, -0.8501051068305969, -0.5872166752815247, -0.4447135925292969, -0.13750751316547394, -0.04247251898050308, -0.39207473397254944, 0.206182062625885, 0.2491367608308792, -0.1627480387687683, -0.6420676112174988, 0.055302493274211884, -0.431392639875412, -0.20762597024440765, 0.6070521473884583, 0.15858767926692963, 0.5651417374610901, -0.1379823237657547, -0.06754177063703537, 0.13423041999340057, -0.6264166831970215, 0.07876934111118317, 0.6275171637535095, 0.4012221693992615, -0.1951415091753006, 0.661613404750824, -0.10602309554815292, 0.835290253162384, 0.15367306768894196, -0.14871472120285034, -0.4655693769454956, -0.11986400932073593, -0.234373077750206, 0.03895103186368942, 0.7084624767303467, 0.2446148544549942, 0.1014939472079277, -0.3227011561393738, -0.03873762860894203, -0.2754904627799988, 0.28438660502433777, -0.5302231311798096, -0.05210168659687042, 0.41666319966316223, -0.6486752033233643, -0.28022778034210205, -0.0020146118476986885, -0.8598952889442444, -0.6360036134719849, 0.05109691619873047, 0.046257134526968, -0.20014801621437073, 0.09884331375360489, -0.24665063619613647, -0.30653998255729675, 0.5706722736358643, 0.23390620946884155, -0.7280780673027039, 0.4709049165248871, 0.9930500388145447, 1.055243968963623, 0.21603995561599731, -0.1756802797317505, -0.8363010883331299, -0.05207952857017517, -0.1460980474948883, 0.2797216475009918, -0.7312760949134827, -0.659410297870636, 0.023641811683773994, -0.11541368067264557, 0.05316299572587013, -0.15441776812076569, 0.0020883025135844946, -0.969921886920929, 0.3423824906349182, -0.11578308790922165, -0.4386886656284332, 0.33399155735969543, 0.3906278908252716, -0.7303037643432617, 0.2680872678756714, -0.35963135957717896, -0.8938709497451782, -0.11668821424245834, -0.6877797842025757, -0.564081609249115, 0.0695045068860054, -0.500277578830719, -0.08787544071674347, -0.02696027234196663, 0.3344539403915405, 0.3115830719470978, -0.33312085270881653, 0.01108100637793541, -0.28694581985473633, -0.2298315167427063, 0.5985355973243713, -0.7933962941169739, 0.9133948683738708, 0.17528463900089264, -0.3984675705432892, 0.12461365759372711, -0.8186736702919006, -0.35886847972869873, -0.030225643888115883, 0.03148259222507477, -0.28499385714530945, -0.2921934127807617, -0.4753868877887726, -0.008106253109872341, 0.6172535419464111, -0.834093451499939, 0.2386309951543808, -0.31040456891059875, 0.6428332328796387, 1.0187667608261108, 0.10247109085321426, 0.47474804520606995, -0.11657310277223587, 0.9118586778640747, -0.36103492975234985, 0.301169753074646, -0.2919694185256958, -0.739624559879303, -0.29934921860694885, -0.2171652913093567, 0.161118283867836, 0.3749837875366211, -0.774386465549469, 0.11876659840345383, -0.15217070281505585, -0.31771257519721985, -0.719031810760498, -0.06971000880002975, 0.4028516113758087, 0.4923446476459503, 0.3483423888683319, 0.1971251219511032, -0.14141012728214264, -0.8214539885520935, -0.5177146792411804, -0.33480215072631836, -0.3024231493473053, 0.2200244665145874, 0.3034561276435852, -0.18386612832546234, 0.8985940217971802, -0.5614505410194397, -0.29020652174949646, -0.1584155112504959, 0.08120634406805038, -0.04295928403735161, 0.5317546725273132, 0.2870282530784607, -0.7812055945396423, -0.42048031091690063, -0.1845961958169937, -0.3790352940559387, 0.0671127513051033, -0.43568235635757446, -0.071589395403862, 0.1715339720249176, 0.9036713242530823, -0.7346509695053101, 0.5878177881240845, 0.5188527703285217, -0.4549531042575836, 0.2332422286272049, -0.18157298862934113, -0.050039518624544144, -1.3795313835144043, 0.22224576771259308, -0.41397401690483093, -0.2833092212677002, -0.5983997583389282, 0.425811767578125, -0.1162881925702095, -0.5849868059158325, -0.2702762484550476, 0.5901273488998413, -0.31889981031417847, -0.06364696472883224, -0.35360243916511536, 0.08685772866010666, -0.16833700239658356, 0.5361743569374084, -0.2907176911830902, 0.8160306215286255, 0.2674066424369812, -0.1447911113500595, 0.666708767414093, 0.3209126591682434, 0.2996883690357208, 0.516827404499054, -0.6205105185508728, 0.801530659198761, -0.06207553297281265, 0.43816131353378296, -1.1779611110687256, -0.3631146550178528, 0.4792645275592804, -0.9416283369064331, 0.2587481141090393, -0.09777843952178955, -0.37502822279930115, -0.08799495548009872, -0.24936898052692413, 0.44310903549194336, 0.3773099184036255, -0.5199806690216064, 1.0596168041229248, 0.24756507575511932, -0.10390157997608185, -0.5154080986976624, -0.7070667743682861, 0.5020858645439148, -0.1935322880744934, -0.6577872037887573, -0.10380662977695465, 0.09439928829669952, -0.39630788564682007, -0.10943702608346939, -0.030689263716340065, -0.08707299828529358, 0.3212391138076782, 0.5903825759887695, 0.11283904314041138, -0.02069380320608616, -0.08046463876962662, -0.23197492957115173, 0.02206978015601635, 0.37546712160110474, -0.10496154427528381, 0.768944501876831, 0.07952363044023514, -0.6221048831939697, -0.8927238583564758, 0.6956345438957214, 0.7577356696128845, -0.32543694972991943, 0.8046407103538513, 0.26193755865097046, -0.4188721477985382, 0.018895838409662247, -0.2408580631017685, -0.5533509254455566, -0.5520160794258118, 0.23051419854164124, -0.4982094168663025, -0.7276099920272827, 0.5869916677474976, 0.22777554392814636, 0.12316072732210159, 0.15363213419914246, 0.004923420492559671, -0.022004641592502594, 1.23958420753479, 0.5478498935699463, -0.6028991937637329, 0.44399580359458923, -0.06045506149530411, 0.24179288744926453, -0.6324572563171387, -0.3010423481464386, -0.5630847811698914, -0.3049638569355011, -0.6531396508216858, -0.07891617715358734, 0.24763186275959015, -0.1820080727338791, -0.1870724856853485, 0.16644394397735596, -0.1177217960357666, 0.1879822462797165, 0.8525934815406799, 0.2604566514492035, 0.07584716379642487, -0.33451494574546814, 0.2965487241744995, 0.4275214970111847, -0.3420458734035492, -0.4340212047100067, 1.1974818706512451, 0.6063618063926697, 0.8308026790618896, 0.05581960827112198, 0.6580596566200256, 0.6299569606781006, -0.1347835510969162, -0.44411900639533997, 0.7407475709915161, -0.08249696344137192, -0.46561259031295776, -0.4637402892112732, -0.1606334149837494, -1.0453227758407593, -0.1345478743314743, 0.3400699198246002, -0.8118057250976562, -0.18385839462280273, 0.21938593685626984, -0.7313781976699829, 0.2904333770275116, -0.5217732787132263, 0.7180558443069458, -0.23731443285942078, 0.00652728509157896, -0.11878543347120285, -1.008890151977539, 0.1356145590543747, 0.07314448058605194, 0.1468244045972824, 0.12592369318008423, -0.17762617766857147, 0.9609516263008118, -0.7978623509407043, 1.1776785850524902, -0.2561625838279724, 0.07119603455066681, 0.31516483426094055, 0.06209845840930939, 0.6973378658294678, 0.2575056254863739, 0.3328644931316376, 0.013768427073955536, -0.055101241916418076, -0.6170753836631775, -0.7557638883590698, 0.6299536824226379, -0.8952064514160156, -1.0807974338531494, -0.4138292670249939, -0.1417587250471115, -0.19655592739582062, 0.030077068135142326, 0.37434595823287964, 0.6692564487457275, -0.10135506838560104, 0.08740224689245224, 0.2682463824748993, -0.33082160353660583, 0.5136559009552002, 0.3219050168991089, 0.06708793342113495, -0.3216654062271118, 0.8131641149520874, -0.22598931193351746, 0.4628443717956543, 0.5686591267585754, 0.004044702742248774, -0.0734899714589119, -0.3403345048427582, -0.6433834433555603, 0.19381554424762726, -0.6964901089668274, -0.4930291473865509, -0.6879935264587402, -0.16831693053245544, -0.8921189308166504, -0.21513983607292175, -0.16494563221931458, -0.3152439296245575, -0.522614061832428, -0.06966471672058105, 0.5030376315116882, 0.857775866985321, 0.1484101116657257, 0.6278124451637268, -0.788963258266449, 0.24340632557868958, 0.34081923961639404, -0.06847445666790009, -0.009253406897187233, -0.5071308016777039, -0.07105594128370285, 0.2031565010547638, 0.022976774722337723, -1.372413992881775, 0.5016356110572815, -0.16700479388237, 0.10071619600057602, 0.37744614481925964, 0.24007926881313324, 0.5549637675285339, -0.4089829623699188, 1.2517813444137573, -0.01780865527689457, -0.9532586336135864, 0.35589876770973206, -0.05974554270505905, 0.5423915386199951, 0.5073333978652954, 0.2364758998155594, -0.8055090308189392, -0.6391724348068237, -0.6584522724151611, -0.7780112028121948, 0.442841500043869, 0.063923180103302, 0.27267804741859436, -0.05771981552243233, 0.27905037999153137, -0.18042248487472534, 0.20448102056980133, -0.4051685333251953, -0.19492517411708832, -0.19955115020275116, -0.2070930153131485, 0.1772191971540451, 0.014809190295636654, -0.10180139541625977, 0.22618542611598969, 0.4726579189300537, -0.26960620284080505, 0.5928913354873657, 0.2511211335659027, -0.04383466765284538, 0.03635295480489731, 0.12892340123653412, 0.6872138381004333, 0.4067813754081726, 0.23977090418338776, 0.1974366456270218, 0.27616792917251587, -0.5869408249855042, -0.13519799709320068, 0.16892234981060028, 0.07569137960672379, 0.10644248872995377, 0.7580395340919495, 0.49112725257873535, -0.4069168269634247, -0.7535140514373779, 0.8338849544525146, -0.4036901593208313, 0.41153597831726074, -0.6042352914810181, -0.37197840213775635, -0.14932125806808472, 0.1887606382369995, 0.39902186393737793, -0.0565030500292778, 0.18592104315757751, -0.5278460383415222, 0.05726694315671921, 0.7121983766555786, -0.45790955424308777, -0.39029279351234436, 0.6082460880279541, 0.33374109864234924, -0.6448890566825867, 0.785456657409668, -0.12462456524372101, -0.6098834276199341, 0.9073731303215027, 0.5195279121398926, 1.0629572868347168, -0.24022237956523895, 0.15771673619747162, -0.025869013741612434, 0.4330313801765442, 0.4097064733505249, 0.11131840944290161, -0.2320237010717392, -0.1820376068353653, 0.011488856747746468, -0.33467915654182434, -0.27091118693351746, 0.422420471906662, -0.6396143436431885, 0.06974141299724579, -0.7877867221832275, -0.024117201566696167, -0.0076597146689891815, -0.31666815280914307, -0.7108593583106995, -0.07183163613080978, 0.09734805673360825, 1.0123779773712158, -0.6238527297973633, 0.5825009942054749, 0.29812780022621155, -0.49367043375968933, -0.7807896137237549, 0.328321248292923, 0.1266075223684311, -1.0516527891159058, 0.6234089136123657, 0.11772166192531586, -0.10099998116493225, -0.263161838054657, -0.7364879250526428, -0.8354743123054504, 0.7293246984481812, 0.029968786984682083, -0.5597927570343018, -0.414883553981781, 0.44579795002937317, 0.5081379413604736, -0.2252182513475418, 0.23858514428138733, 0.48989906907081604, 0.15041905641555786, -0.40913212299346924, -0.9822747707366943, 0.2973252236843109, -0.2138546109199524, -0.1677989959716797, 0.053083356469869614, -0.7755144238471985, 0.7444548606872559, 0.1673547774553299, -0.1211315467953682, 0.48783987760543823, 0.7497158050537109, -0.30206575989723206, 0.2965792715549469, 0.13387416303157806, 0.21339718997478485, 0.7096855044364929, 0.4205076992511749, 0.9485517740249634, -0.4676697254180908, -0.39583665132522583, 1.2264530658721924, -0.03865683078765869, 0.9628244638442993, 0.6405507326126099, 0.18611036241054535, 0.31670212745666504, 0.5171751379966736, 0.15528258681297302, 0.6527166962623596, 0.23944619297981262, -0.313714861869812, 0.2389707863330841, -0.02732359804213047, -0.3998583257198334, 0.4688538610935211, 0.3811419606208801, -0.5944926142692566, -0.03589716553688049, 0.720454216003418, 0.14612825214862823, 0.04801077023148537, -0.41123396158218384, 1.112158179283142, 0.09032876789569855, -0.8268797993659973, 0.21792390942573547, 0.2973080277442932, 0.4747544527053833, -0.5671915411949158, 0.003518235171213746, -0.24197159707546234, 0.06674117594957352, 0.03093642182648182, -0.35454344749450684, 0.08172733336687088, 0.26852884888648987, 0.21867810189723969, -0.11146098375320435, 0.5737359523773193, -0.20199422538280487, -0.21999748051166534, -0.003885172074660659, 0.14023332297801971, 0.20570887625217438, -0.17650432884693146, -0.5395045876502991, 0.21374857425689697, 0.05064597725868225, 0.06095990538597107, 0.363128662109375, 0.21265290677547455, 0.0364217534661293, 0.5105810761451721, 0.5348140597343445, -0.16413864493370056, 0.2270546853542328, -0.16618867218494415, 0.932178258895874, -0.47151467204093933, -0.7740388512611389, -1.20168137550354, 0.07698442786931992, -0.35476547479629517, -0.4500257074832916, 0.8173373937606812, 0.5638493299484253, 0.8138161301612854, 0.1676030158996582, 0.902902364730835, 0.09828753024339676, 0.3222011923789978, -0.4270545244216919, 0.6384029388427734, -0.16440996527671814, 0.38756051659584045, 0.016713440418243408, -0.14566011726856232, -0.084307461977005, 0.02532247267663479, -0.48013871908187866, -0.02579426020383835, 0.4870463013648987, 0.7160648107528687, 0.2218896597623825, 0.20096509158611298, 0.24372422695159912, 0.16174915432929993, 0.7562593221664429, 0.2220761477947235, 0.7219935059547424, -0.2029925435781479, 0.5774775743484497, -0.029032547026872635, -0.31274929642677307, -0.268042653799057, -0.3697887063026428, -1.2185465097427368, -0.6184672117233276, -0.03665422648191452, -0.4916315972805023, 0.5132579803466797, 0.9811636805534363, 0.4231615960597992, -0.618699848651886, -0.06668245792388916, -0.2687828242778778, -0.13567906618118286, 0.19959023594856262, -0.17152442038059235, 0.4329640567302704, -0.17927025258541107, -0.4842872619628906, 0.45722442865371704, -0.07633872330188751, 0.1189303919672966, -0.5456253290176392, 0.1332560032606125, -0.20942482352256775, 0.20941965281963348, 0.056348901242017746, 0.5451586842536926, -0.9159462451934814, -0.3560934364795685, 0.29842960834503174, -0.2556917071342468, -0.2116665542125702, 0.8424612879753113, -0.5264248251914978, 0.36202824115753174, 0.5275351405143738, 1.1173663139343262, 0.1137789711356163, 0.18162085115909576, 0.8552428483963013, -0.910612940788269, 0.19261059165000916, 0.42962923645973206, 0.29993611574172974, 0.29411813616752625, -0.8219813108444214, 0.08710679411888123, -0.003194027580320835, -0.5017873644828796, -0.8074827790260315, 0.39298000931739807, -0.5927805304527283, -0.7600643634796143, 1.0176440477371216, -0.3135826885700226, -0.5602125525474548, -0.08110696077346802, -0.5493319034576416, 0.10131245851516724, -0.5905436873435974, 0.8230751156806946, 0.5584525465965271, -0.08050914853811264, 0.08743797242641449, -0.19178292155265808, 0.7719238996505737, 0.37284839153289795, -0.7218893766403198, -0.09553337097167969, 0.32652366161346436, 0.03700784966349602, 0.41517212986946106, 0.6782627105712891, 0.2090175449848175, 0.39876216650009155, 0.3427792489528656, -0.6696391701698303, -0.12830878794193268, -0.47543105483055115, -0.5840380787849426, 0.37688902020454407, 0.12384046614170074, -0.8584274649620056 ]
http://arxiv.org/abs/2403.09207v2
http://arxiv.org/pdf/2403.09207v2
TaxoLLaMA: WordNet-based Model for Solving Multiple Lexical Semantic Tasks
2024-03-14T09:21:25
2024-06-17T16:43:10
Viktor Moskvoretskii, Ekaterina Neminova, Alina Lobanova, Alexander Panchenko, Irina Nikishina
cs.CL
cs.CL
In this paper, we explore the capabilities of LLMs in capturing lexical-semantic knowledge from WordNet on the example of the LLaMA-2-7b model and test it on multiple lexical semantic tasks. As the outcome of our experiments, we present TaxoLLaMA, the everything-in-one model, lightweight due to 4-bit quantization and LoRA. It achieves 11 SotA results, 4 top-2 results out of 16 tasks for the Taxonomy Enrichment, Hypernym Discovery, Taxonomy Construction, and Lexical Entailment tasks. Moreover, it demonstrates very strong zero-shot performance on Lexical Entailment and Taxonomy Construction with no fine-tuning. We also explore its hidden multilingual and domain adaptation capabilities with a little tuning or few-shot learning. All datasets, code, and model are available online at https://github.com/VityaVitalich/TaxoLLaMA
[ -0.04462642967700958, -0.6707139015197754, 0.5515052080154419, 0.13230974972248077, -0.20080673694610596, -0.15885542333126068, -0.0874682292342186, -0.344624400138855, 0.6074527502059937, 0.7107508182525635, -0.43060946464538574, -0.6424707174301147, -0.7813609838485718, 0.17310956120491028, -0.5388094186782837, 0.7712140083312988, -0.060793470591306686, -0.17786818742752075, -0.23401062190532684, -0.3241480886936188, -0.5219815969467163, -0.3960777223110199, -0.3711402416229248, 0.05465107411146164, 0.6438928842544556, 0.5984978079795837, 0.4712172746658325, 0.5179674625396729, 0.4662603735923767, 0.15410082042217255, 0.016483310610055923, 0.22007744014263153, -0.4969521462917328, 0.06636593490839005, -0.21798589825630188, -0.7264844179153442, -0.4283303916454315, -0.32693201303482056, 0.4840543568134308, 0.3441266417503357, -0.3492673337459564, 0.6359500885009766, -0.13075882196426392, 0.22415633499622345, -1.0338990688323975, -0.01455621886998415, -1.1754544973373413, -0.48496168851852417, -0.29301682114601135, 0.00039743760135024786, 0.03989427536725998, -0.11424273252487183, -0.1179075613617897, -1.0139343738555908, -0.054951757192611694, 0.11742306500673294, 0.8564467430114746, 0.5206721425056458, -0.5042017698287964, -0.5265972018241882, -0.3827363848686218, 0.7743164300918579, -0.7989299893379211, 0.20412079989910126, 0.3963930606842041, -0.020453020930290222, 0.10129085183143616, -0.7555353045463562, -0.8061453104019165, 0.06570291519165039, 0.3611660897731781, 0.2840620279312134, -0.25014182925224304, -0.18963298201560974, -0.0009017187403514981, 0.013182416558265686, -0.51047283411026, 0.1048155128955841, -0.2476857304573059, -0.27569061517715454, 0.24054089188575745, 0.2869095802307129, 0.24173879623413086, -0.35082748532295227, -0.6773614287376404, -0.08735571801662445, -0.8795836567878723, -0.17908354103565216, 0.18252971768379211, 0.4250713586807251, 0.08489835262298584, 0.6850494742393494, -0.050429314374923706, 0.6256159543991089, -0.7943978905677795, -0.25560078024864197, 0.02559579536318779, -0.521187961101532, -0.31076639890670776, 0.21449784934520721, 0.5742614269256592, -0.09593425691127777, 0.055301882326602936, -0.08926146477460861, -0.1723138689994812, 0.47426679730415344, 0.17159678041934967, -0.9357659220695496, 0.2822165787220001, 0.2979256212711334, -0.36093899607658386, -0.4177314043045044, -0.40947702527046204, -0.6408957839012146, -0.2443447858095169, -0.1691579520702362, 1.0867946147918701, -0.38081490993499756, -0.4190947711467743, 0.6281279921531677, -0.061418045312166214, 0.21025753021240234, 0.25607427954673767, -0.3765046298503876, 0.47964367270469666, 0.9460991024971008, 0.989060640335083, -0.18910011649131775, -0.5009539127349854, -0.44877129793167114, 0.1834656298160553, -0.3644011318683624, 0.792757511138916, -0.4308910369873047, -0.17399168014526367, -0.016504211351275444, -0.19764459133148193, -0.2374565601348877, -0.5234240889549255, 0.17557865381240845, -0.7230335474014282, -0.1452537626028061, -0.08197362720966339, -0.7407350540161133, -0.5491447448730469, 0.67339026927948, -0.8157835602760315, 0.9144458174705505, -0.0021240555215626955, -0.7017076015472412, 0.14740417897701263, -0.5093684792518616, -0.057672034949064255, 0.2250121384859085, 0.22264844179153442, -0.22741377353668213, 0.24469096958637238, -0.28882771730422974, 0.4018840193748474, -0.540734052658081, 0.499827116727829, -0.24187670648097992, -0.4151470959186554, 0.05148489028215408, -0.04426790401339531, 0.732056736946106, 0.249282106757164, -0.19274362921714783, 0.03777448460459709, -0.9352866411209106, -0.10884653776884079, 0.2770407497882843, -0.16514535248279572, -0.5507185459136963, -0.17383883893489838, 0.16818155348300934, 0.1445585936307907, 0.566831648349762, -0.7401126027107239, 0.38311928510665894, -0.449169397354126, 0.29539352655410767, 0.34745368361473083, -0.22636660933494568, 0.010790166445076466, -0.2061459720134735, 0.6444783210754395, 0.2349427044391632, 0.059772077947854996, 0.11448300629854202, -0.5695490837097168, -1.007235050201416, -0.40167108178138733, 0.6627886295318604, 0.6975958943367004, -0.9727672934532166, -0.05027380958199501, -0.49775180220603943, -0.4571433961391449, -0.4042178690433502, 0.30238890647888184, 0.2224300056695938, 0.2191212773323059, 0.2680880129337311, -0.2945208251476288, -0.2111443728208542, -0.6415079832077026, -0.013363108038902283, -0.03137844428420067, 0.21561141312122345, 0.014761485159397125, 0.8476872444152832, -0.2912946045398712, 0.9022619128227234, -0.5689306855201721, -0.6761448979377747, -0.2602301239967346, 0.12329519540071487, 0.24698993563652039, 0.14769481122493744, 0.3981800377368927, -0.5015912652015686, 0.16666559875011444, -0.295883446931839, -0.608261227607727, -0.0007773637771606445, 0.18428094685077667, -0.40155938267707825, -0.06282977759838104, 0.1545320451259613, -0.6236522197723389, 0.7274880409240723, 0.4261767566204071, -0.40131738781929016, 0.3708580732345581, -0.0017466730205342174, -0.31852665543556213, -1.6012096405029297, 0.08829980343580246, -0.24603582918643951, -0.2632155120372772, -0.6534168124198914, 0.35173431038856506, 0.10124681890010834, -0.14868241548538208, -0.5813136100769043, 0.6565871238708496, -0.08210190385580063, -0.04277600347995758, -0.5743038058280945, 0.2813703119754791, 0.11932351440191269, 0.5735207796096802, 0.11332441866397858, 0.7049669623374939, 0.6247246265411377, -0.6304033398628235, 0.37098658084869385, 0.3481828272342682, -0.36497440934181213, 0.20724116265773773, -0.704001784324646, 0.10621187835931778, -0.14003615081310272, -0.10052987933158875, -0.9962584972381592, -0.017778925597667694, 0.030383655801415443, -0.25511297583580017, -0.0955253392457962, 0.10394261032342911, -0.8413673639297485, 0.010638638399541378, -0.557384192943573, 0.5304057002067566, 0.1162884309887886, -0.4037790298461914, 0.8359090685844421, 0.40345776081085205, 0.1572720855474472, -0.4976046681404114, -0.5530011057853699, 0.29618096351623535, -0.32173386216163635, -0.35881754755973816, 0.5008440613746643, 0.22765812277793884, -0.07964733242988586, 0.24515704810619354, 0.059813614934682846, -0.0017143398290500045, 0.38697484135627747, 0.03997122123837471, 0.4862836003303528, -0.1862477958202362, 0.43948015570640564, -0.22560614347457886, 0.086543507874012, -0.1873314529657364, -0.4683348536491394, 0.546855092048645, -0.07365047931671143, -0.23552821576595306, -0.13747763633728027, 0.2661111056804657, 0.17450281977653503, -0.40301212668418884, 0.7992414832115173, 0.5499045848846436, -0.6954730153083801, -0.09825791418552399, -0.6806219816207886, 0.017689719796180725, -0.32676932215690613, 0.34779515862464905, -0.5876505970954895, -1.0777612924575806, 0.5516796708106995, -0.24962928891181946, -0.06342913955450058, 0.5352555513381958, 0.5923099517822266, 0.3361686170101166, 0.47894102334976196, 0.7204313278198242, -0.21133537590503693, -0.015278339385986328, -0.6797722578048706, 0.08972997963428497, -0.7938054203987122, -0.1401807963848114, -0.6407313346862793, -0.29834163188934326, -0.7660555839538574, -0.3104785084724426, 0.5487764477729797, 0.25292500853538513, -0.33204975724220276, 0.5890322327613831, -0.39562177658081055, 0.15459862351417542, 0.6845057010650635, 0.10706839710474014, 0.39116212725639343, -0.03554398939013481, 0.1251946985721588, 0.42307233810424805, -0.8171146512031555, -0.47923728823661804, 1.2367995977401733, -0.0340430848300457, 0.7382305860519409, 0.561072826385498, 0.7405264973640442, 0.02732391282916069, 0.1478288620710373, -1.2540091276168823, 0.4258083403110504, -0.4180770516395569, -0.6230126619338989, -0.14954091608524323, -0.4531480371952057, -1.006973147392273, 0.3767300546169281, -0.03496512770652771, -0.8483706116676331, 0.19354768097400665, -0.24106372892856598, -0.49064356088638306, 0.28538909554481506, -0.20956413447856903, 0.8511427044868469, -0.1495693027973175, -0.48545151948928833, -0.491312175989151, -0.4949547052383423, 0.4370287358760834, -0.2236441671848297, 0.4025181233882904, -0.48898619413375854, -0.6020152568817139, 1.1100784540176392, -0.5446969866752625, 0.8924905061721802, -0.016099926084280014, -0.24262939393520355, 0.5176312923431396, 0.577412486076355, 0.13139492273330688, -0.011751900427043438, 0.09611701965332031, 0.372752845287323, 0.6705293655395508, -0.21984319388866425, -0.5115861296653748, 0.684862494468689, -0.7644848823547363, -0.5008764266967773, -0.47529155015945435, -0.4100053310394287, -0.29911816120147705, 0.2521298825740814, -0.07882879674434662, 0.9098284840583801, 0.1808224320411682, -0.10383808612823486, 0.40642306208610535, -0.06645640730857849, 0.38750162720680237, 0.47832679748535156, -0.2666501998901367, -0.3933335542678833, 1.1917121410369873, 0.05668874830007553, 0.03006168082356453, 0.5063085556030273, 0.4050601124763489, -0.25668421387672424, -0.2002858966588974, -0.43382135033607483, 0.2804325819015503, -0.7806313633918762, -0.7805735468864441, -0.4847905933856964, 0.06685890257358551, -0.29057392477989197, 0.38847747445106506, -0.3982747495174408, -0.6663396954536438, -0.4777844548225403, 0.25325196981430054, 0.6550414562225342, 1.074900507926941, 0.1122526302933693, 0.35136860609054565, -0.7909860610961914, 0.30803874135017395, 0.24599048495292664, 0.05797874554991722, 0.30162617564201355, -0.5342606902122498, -0.06216279789805412, -0.08873230963945389, -0.27381211519241333, -0.7349476218223572, 0.419904500246048, 0.40213143825531006, 0.022088758647441864, 0.011600883677601814, -0.2863224148750305, 0.6444734334945679, -0.30492857098579407, 0.8575323224067688, 0.07422445714473724, -1.1126834154129028, 0.3883400559425354, 0.007737528067082167, 0.37127068638801575, 0.6747811436653137, 0.5538240075111389, -0.4933752119541168, 0.04467569664120674, -0.3751946687698364, -0.7154701352119446, 0.5196211338043213, 0.044922199100255966, 0.23172734677791595, -0.06253029406070709, 0.3179461359977722, 0.2708528935909271, 0.33729466795921326, -0.3548016846179962, 0.05649379640817642, -0.394601047039032, -0.6565783023834229, 0.2364593893289566, -0.5151469111442566, 0.004134902730584145, 0.008956731297075748, 0.5636099576950073, -0.41058871150016785, 0.004437444265931845, 0.06365957111120224, -0.30448275804519653, 0.5395111441612244, 0.26573920249938965, 0.6551867127418518, 0.6754786968231201, 0.0185761209577322, 0.46128690242767334, 0.2690217196941376, -0.6277860403060913, 0.11831929534673691, -0.13083136081695557, 0.01476866565644741, -0.15690568089485168, 0.5185468196868896, 0.794758141040802, 0.4746946692466736, -0.655489981174469, 0.7353824377059937, 0.10533856600522995, -0.339979350566864, -0.17515288293361664, -0.24910622835159302, 0.21690085530281067, -0.04766811057925224, 0.0698719397187233, -0.3155168294906616, 0.3080099821090698, -0.4934843182563782, -0.05234825611114502, 0.367299884557724, -0.08514720946550369, -0.35512104630470276, 0.7396059632301331, -0.1319170445203781, 0.1214643120765686, 0.46107253432273865, -0.35367706418037415, -0.836490273475647, 0.6074016094207764, 0.6872696876525879, 0.6227523684501648, 0.2547757029533386, 0.0884917825460434, 0.14959634840488434, 0.03779194504022598, -0.04161887988448143, 0.6352924704551697, -0.36074674129486084, -1.0792677402496338, -0.5356638431549072, -0.8888635039329529, -0.37402811646461487, -0.17051546275615692, -0.46746790409088135, 0.23954235017299652, -0.08624788373708725, -0.11993079632520676, -0.1703757643699646, 0.017439167946577072, -0.7803482413291931, 0.028000358492136, 0.10944513231515884, 1.0749473571777344, -0.40224725008010864, 0.845081627368927, 0.6440600156784058, -0.45572593808174133, -1.1028639078140259, -0.1979956328868866, 0.05607892572879791, -1.367220163345337, 0.9868934154510498, 0.025057390332221985, -0.490262895822525, 0.38857409358024597, -0.5351916551589966, -1.2382655143737793, 1.0952099561691284, 0.14324979484081268, -0.4339164197444916, -0.005217153578996658, 0.3708438277244568, 0.20816153287887573, -0.20834077894687653, 0.37440139055252075, 0.5485342144966125, 0.20684050023555756, 0.3619230389595032, -0.8723170161247253, 0.023908095434308052, 0.01703307032585144, 0.31451615691185, 0.04825576767325401, -0.7766391038894653, 0.6521484851837158, 0.11982057988643646, -0.15999522805213928, 0.2978082001209259, 0.4596397280693054, 0.3397060036659241, 0.06265618652105331, 0.6030454635620117, 1.1035352945327759, 0.6136953830718994, 0.08947919309139252, 0.9082800149917603, -0.5121333003044128, 0.47188517451286316, 0.8841375112533569, -0.7210754752159119, 1.0691978931427002, 0.354876309633255, -0.09231435507535934, 0.3061140775680542, 0.457166463136673, 0.28120914101600647, 0.570071816444397, 0.5078709125518799, -0.39789044857025146, -0.38072317838668823, -0.6684897541999817, -0.0490906685590744, 1.15015709400177, 0.4496282637119293, 0.5397268533706665, -0.35518908500671387, 0.1740836501121521, 0.2380884885787964, -0.24904365837574005, -0.5578529238700867, 0.9668827652931213, 0.20030108094215393, -0.3148934543132782, 0.6285481452941895, 0.06345660984516144, 1.1117061376571655, -0.7399961948394775, -0.044454511255025864, -0.012294941581785679, 0.03663506358861923, -0.16424906253814697, -0.48175808787345886, 0.30652162432670593, 0.07828295230865479, 0.21855725347995758, 0.07438982278108597, 1.0262598991394043, -0.3217635452747345, -0.8902315497398376, 0.294974148273468, 0.6745945811271667, 0.324805349111557, -0.21697303652763367, -0.32434478402137756, 0.2893347144126892, -0.4782582223415375, -0.24492275714874268, 0.12078292667865753, 0.39862143993377686, -0.0587749220430851, 0.4846351444721222, 0.3711455464363098, 0.3913383185863495, 0.2389923483133316, 0.453472763299942, 0.6898962259292603, -0.6033486127853394, -0.12015482038259506, -0.8932416439056396, -0.10427803546190262, 0.2979731559753418, -0.526716411113739, 0.537729024887085, 0.6338266730308533, 0.8718517422676086, 0.1044800877571106, 0.3345820903778076, 0.03422833979129791, 0.36699581146240234, -0.6431112289428711, 0.4845171868801117, -0.9758172631263733, -0.15967302024364471, 0.23712708055973053, -0.7849131226539612, -0.3354761302471161, 0.1260097175836563, 0.16568797826766968, -0.2583117187023163, 0.7952707409858704, 0.8202996253967285, -0.029523244127631187, 0.17248684167861938, 0.44058316946029663, -0.145450621843338, -0.0354117713868618, 0.8076220750808716, 0.8540155291557312, -0.5537580847740173, 0.4325799345970154, -0.22874628007411957, -0.12129108607769012, 0.03302036598324776, -0.8223602771759033, -0.5486093759536743, -0.6939734220504761, -0.24106644093990326, -0.1135888621211052, -0.12280680239200592, 0.863942563533783, 0.5959199070930481, -0.757182776927948, -0.4001017212867737, 0.08342152833938599, 0.10154999792575836, 0.0821683257818222, -0.19330008327960968, 0.4560639560222626, -0.456014484167099, -0.43470337986946106, 0.25519412755966187, 0.22922027111053467, -0.33509111404418945, -0.24759778380393982, 0.48901721835136414, -0.344759076833725, 0.14523503184318542, 0.7288342118263245, -0.320142924785614, -0.7352497577667236, -0.14604951441287994, 0.10120062530040741, -0.04624687507748604, -0.19238750636577606, 0.8254132866859436, -0.7921779155731201, 0.23494887351989746, 0.40925243496894836, 0.9067105650901794, 0.6272940039634705, -0.2761712074279785, 0.04704448953270912, -0.4292527735233307, 0.20648309588432312, -0.03297320753335953, 0.520094096660614, 0.13304907083511353, -0.2770257592201233, 0.6607189774513245, 0.3354198932647705, -0.2913093864917755, -0.5784503221511841, 0.07290241867303848, -0.9500877261161804, -0.33465632796287537, 1.205521821975708, 0.07595592737197876, -0.6204296946525574, 0.1958101987838745, 0.12260690331459045, 0.2678937613964081, 0.06107195094227791, 0.41365355253219604, 0.7263832092285156, 0.21452288329601288, 0.2212323099374771, -0.745863139629364, 0.15024596452713013, 0.5169278383255005, -0.8775854110717773, -0.2658628821372986, 0.1277259886264801, 0.46331340074539185, 0.21107612550258636, 0.6000241041183472, 0.04363635182380676, 0.0783638283610344, -0.0746532529592514, 0.31455016136169434, -0.19129791855812073, -0.37004977464675903, -0.31637683510780334, 0.16348782181739807, 0.2036958485841751, -0.4165589213371277 ]
http://arxiv.org/abs/2403.09167v1
http://arxiv.org/pdf/2403.09167v1
Dial-insight: Fine-tuning Large Language Models with High-Quality Domain-Specific Data Preventing Capability Collapse
2024-03-14T08:27:32
2024-03-14T08:27:32
Jianwei Sun, Chaoyang Mei, Linlin Wei, Kaiyu Zheng, Na Liu, Ming Cui, Tianyi Li
cs.CL
cs.CL
The efficacy of large language models (LLMs) is heavily dependent on the quality of the underlying data, particularly within specialized domains. A common challenge when fine-tuning LLMs for domain-specific applications is the potential degradation of the model's generalization capabilities. To address these issues, we propose a two-stage approach for the construction of production prompts designed to yield high-quality data. This method involves the generation of a diverse array of prompts that encompass a broad spectrum of tasks and exhibit a rich variety of expressions. Furthermore, we introduce a cost-effective, multi-dimensional quality assessment framework to ensure the integrity of the generated labeling data. Utilizing a dataset comprised of service provider and customer interactions from the real estate sector, we demonstrate a positive correlation between data quality and model performance. Notably, our findings indicate that the domain-specific proficiency of general LLMs can be enhanced through fine-tuning with data produced via our proposed method, without compromising their overall generalization abilities, even when exclusively domain-specific data is employed for fine-tuning.
[ -0.42022010684013367, -0.8322573900222778, 0.4578419625759125, -0.11412887275218964, -0.06946968287229538, 0.1424064040184021, -0.25317561626434326, -0.18282178044319153, -0.28012511134147644, 0.9166302680969238, -0.458621621131897, -0.7595970034599304, -0.2893211841583252, -0.019177276641130447, -0.12214743345975876, 0.7820547819137573, 0.09426857531070709, 0.00232909107580781, -0.32354703545570374, -0.00936712697148323, -0.7704885005950928, -0.5461907982826233, -0.660869300365448, -0.2354295700788498, 0.24279506504535675, 0.6231479048728943, 0.9623592495918274, 0.7739794850349426, 0.39982813596725464, 0.18772627413272858, 0.09544162452220917, 0.8147696852684021, -0.6234340071678162, 0.328940749168396, -0.18435236811637878, -0.2807024121284485, -0.7297983765602112, 0.056072935461997986, 0.5154290199279785, 0.9783653616905212, -0.012060494162142277, 0.04919245094060898, 0.3241618871688843, 0.4968234598636627, -0.27307024598121643, 0.2651683986186981, -0.6563696265220642, -0.17368310689926147, 0.05725602060556412, -0.4198858439922333, -0.5434344410896301, -0.4853406250476837, 0.22311897575855255, -0.7287945747375488, 0.34822773933410645, 0.19470523297786713, 1.070765733718872, 0.224021315574646, -0.4367096424102783, -0.17004726827144623, -0.6993460655212402, 0.8720770478248596, -0.7107653021812439, 0.3064632713794708, 0.5122818350791931, 0.2690989673137665, -0.3399585485458374, -0.3634309768676758, -0.29081612825393677, -0.03812485933303833, 0.11285346001386642, -0.01851576194167137, -0.005701867863535881, 0.10016938298940659, 0.21348024904727936, 0.22284479439258575, -0.4981037676334381, 0.32834798097610474, -0.2448674887418747, -0.45337241888046265, 0.583347499370575, 0.49625363945961, 0.09801964461803436, -0.16162535548210144, -0.08692474663257599, 0.08319021761417389, -1.022963523864746, 0.17996016144752502, 0.4482174515724182, 0.7544044852256775, 0.23576712608337402, 0.5619745254516602, -0.38948312401771545, 0.5080588459968567, -0.09309850633144379, -0.1892339289188385, 0.10737285763025284, -0.6362433433532715, -0.20443925261497498, -0.38094601035118103, 0.5759328007698059, 0.48592719435691833, 0.34384024143218994, -0.1565186083316803, -0.46500149369239807, -0.1314796358346939, 0.17906132340431213, -0.8158736228942871, 0.0167341697961092, 0.5687831044197083, -0.3383040130138397, -0.15432646870613098, -0.1074427142739296, -0.7672843337059021, -0.3488312363624573, -0.6654742360115051, 0.2475419044494629, -0.3127150535583496, -0.19108426570892334, 0.2408970296382904, 0.18341146409511566, 0.15970872342586517, 0.4933677017688751, -0.5949256420135498, 0.23831164836883545, 0.7651475071907043, 0.6989279389381409, -0.26140281558036804, -0.10692891478538513, -0.9556998610496521, -0.013602802529931068, -0.49643343687057495, 0.5847232937812805, -0.7640110850334167, -0.44806382060050964, 0.4285799562931061, -0.06170351430773735, 0.1139538511633873, -1.086235761642456, 0.6200308203697205, -0.6964679956436157, 0.07245735079050064, -0.16054712235927582, -0.6568176746368408, -0.01767558977007866, 0.18878382444381714, -0.4839605391025543, 0.8536797761917114, 0.3971762955188751, -0.2646819055080414, 0.39238977432250977, -0.3704738914966583, -0.3729036748409271, 0.18731088936328888, -0.13629752397537231, -0.48536416888237, 0.16075550019741058, 0.2978542149066925, 0.5698469281196594, -0.5631601214408875, 0.4709922969341278, -0.11252723634243011, 0.06416038423776627, 0.3675253689289093, -0.3213562071323395, 0.4304082989692688, 0.3226834833621979, -0.012114450335502625, 0.09110702574253082, -0.9983453750610352, 0.12163557857275009, -0.12959548830986023, -0.40746790170669556, -0.05615995079278946, -0.08745953440666199, -0.118735671043396, 0.22032953798770905, 0.23984721302986145, -0.21741999685764313, 0.23097285628318787, -0.26722487807273865, 0.35042813420295715, 0.4955292344093323, 0.041676536202430725, 0.3854547142982483, -0.41201481223106384, 0.8143091201782227, 0.34347668290138245, 0.17443227767944336, -0.3992829918861389, -0.45046448707580566, -0.8599776029586792, -0.173368901014328, 0.42031988501548767, 0.4875994324684143, -0.6893683671951294, 0.5473194122314453, -0.32245391607284546, -0.3620876371860504, -0.6479875445365906, 0.23014774918556213, 0.2897070646286011, 0.6123939752578735, 0.35986751317977905, -0.3599887490272522, -0.1864672750234604, -0.8305395245552063, 0.004912060219794512, 0.22099296748638153, -0.07354417443275452, 0.5611498951911926, 0.16015015542507172, -0.36006394028663635, 1.1540318727493286, -0.7648881673812866, -0.29986652731895447, -0.19079576432704926, 0.22340577840805054, 0.3675568401813507, 0.45999598503112793, 0.380003958940506, -0.6492862701416016, -0.3008653223514557, -0.003560985904186964, -0.48466160893440247, -0.2470138520002365, -0.20219317078590393, -0.13396625220775604, 0.0882914736866951, 0.3535454273223877, -0.5513424277305603, 0.27783071994781494, 0.3944109380245209, -0.2955569922924042, 0.8777191638946533, -0.3034045398235321, 0.19670473039150238, -0.9264543056488037, -0.19023436307907104, 0.11344335973262787, -0.22626137733459473, -0.8309240341186523, -0.2666069567203522, -0.11557649075984955, -0.5059689879417419, -0.23925112187862396, 0.37066367268562317, -0.3599003255367279, -0.05246681720018387, -0.18327374756336212, 0.12198885530233383, 0.360310435295105, 0.40132495760917664, -0.07053237408399582, 1.1057862043380737, 0.5949402451515198, -0.8123026490211487, 0.15033531188964844, 0.4338234066963196, -0.5816906094551086, 0.554780900478363, -0.7196770906448364, 0.12048180401325226, -0.041643738746643066, -0.12405461072921753, -1.0431849956512451, -0.449165016412735, -0.026450054720044136, -0.33228054642677307, 0.20595242083072662, -0.09878800064325333, -0.5232657194137573, -0.029119819402694702, -0.21497711539268494, 0.284918874502182, 0.4178033471107483, -0.3964233100414276, 0.46251001954078674, 0.2998582720756531, -0.6093462109565735, -0.2040100395679474, -0.4580766260623932, 0.10937737673521042, -0.18438269197940826, -0.7931739687919617, 0.006020916625857353, -0.08687831461429596, -0.09744235128164291, -0.30488699674606323, 0.13145945966243744, -0.3061657249927521, 0.17968536913394928, 0.12590178847312927, 0.20752431452274323, -0.320669025182724, 0.16078098118305206, 0.36916476488113403, -0.11890619993209839, 0.06570449471473694, -0.2948041558265686, 0.5873665809631348, 0.2901396155357361, -0.28741127252578735, -0.6597860455513, 0.47618454694747925, 0.9202256798744202, -0.4153757691383362, 0.609920859336853, 0.15082904696464539, -0.3266863226890564, -0.4870721101760864, -0.44008052349090576, -0.11159010231494904, -0.5150485038757324, 0.2436767816543579, -0.6052605509757996, -0.9371636509895325, 0.6729703545570374, -0.47190403938293457, 0.021255232393741608, 0.232796311378479, 0.42642906308174133, 0.10578014701604843, 1.2126471996307373, 0.7158477902412415, 0.07452686131000519, 0.2559705078601837, -0.30914855003356934, 0.45036035776138306, -0.7108478546142578, -0.31184226274490356, -0.711731493473053, 0.13694289326667786, -0.27429068088531494, -0.6132971048355103, 0.46953344345092773, 0.2567993998527527, -0.2483263909816742, 0.20324523746967316, -0.3775782883167267, 0.13148626685142517, 0.45972496271133423, 0.026306726038455963, 0.5012648701667786, 0.20990437269210815, -0.013347538188099861, -0.13265924155712128, -0.5677844882011414, -0.8742347359657288, 0.9879066944122314, 0.5990942120552063, 0.6983506679534912, 0.02957497164607048, 0.29313206672668457, 0.3027365505695343, -0.12371227890253067, -0.8676806092262268, 0.3508741855621338, -0.1296326071023941, -0.29175788164138794, -0.5024974942207336, -0.5869059562683105, -0.8867355585098267, 0.08561938256025314, 0.03770511597394943, -0.5041033029556274, 0.4890795350074768, 0.1412317305803299, -0.613435685634613, -0.1566777229309082, -0.7662067413330078, 0.6912112832069397, -0.06828195601701736, -0.32879993319511414, -0.21398603916168213, -0.17645177245140076, 0.1259109526872635, -0.4863975942134857, 0.4501890242099762, -0.4074731469154358, 0.07648167759180069, 0.4253958463668823, -0.6217367053031921, 0.9082805514335632, -0.25333285331726074, -0.5457748770713806, 0.337514728307724, 0.15875719487667084, 0.5808485150337219, 0.1821419894695282, -0.3208371102809906, 0.059542786329984665, -0.31755393743515015, -0.4359113574028015, -0.6282731890678406, 0.5677483677864075, -0.772819459438324, -0.466499924659729, 0.2516230046749115, -0.5721879601478577, -0.7927761673927307, 0.07138191908597946, 0.21308119595050812, 0.8524574637413025, -0.011398602277040482, -0.012398877181112766, 0.7292343974113464, -0.30594566464424133, 0.008301771245896816, 0.3604505658149719, -0.0013511581346392632, -0.5255504250526428, 1.0930323600769043, 0.206135094165802, 0.5498875975608826, 0.12145097553730011, 0.026772955432534218, -0.33106866478919983, -0.8428218960762024, -0.26153984665870667, 0.10702494531869888, -0.5598861575126648, -0.5500649213790894, -0.5432725548744202, -0.17180930078029633, -0.5965072512626648, -0.09356001764535904, -0.3852222263813019, -0.31423690915107727, -0.5114386677742004, 0.026913480833172798, 0.15674902498722076, 0.7159808874130249, 0.24718686938285828, 0.4152415096759796, -1.094955325126648, 0.2301904261112213, 0.3697167932987213, 0.3184911608695984, -0.03754694014787674, -0.6984170079231262, -0.5819066166877747, 0.2797528803348541, -0.3336564302444458, -0.3569021224975586, 0.5449344515800476, 0.3262222707271576, 0.4619652330875397, 0.53439861536026, 0.11959977447986603, 0.44565579295158386, -0.4005606174468994, 0.920780599117279, 0.05991097167134285, -1.0651814937591553, 0.8196302652359009, -0.6495020985603333, 0.22030149400234222, 0.47052788734436035, 0.2511201500892639, -0.3324824869632721, -0.45303666591644287, -0.39529523253440857, -0.9933056831359863, 0.5201223492622375, 0.013106876984238625, 0.25139120221138, 0.06644845753908157, 0.5380563139915466, 0.4054056406021118, 0.42424386739730835, -0.1329016238451004, -0.04933265969157219, -0.0981040894985199, -0.026750899851322174, 0.1490752398967743, -0.47475314140319824, -0.12522096931934357, -0.20456020534038544, 0.5042811632156372, -0.5059023499488831, -0.11556412279605865, 0.03774600476026535, -0.09683181345462799, -0.08775916695594788, 0.39328163862228394, 0.5065547227859497, 1.0234630107879639, -0.008130338042974472, -0.07795526832342148, -0.03849904239177704, -0.2543695569038391, 0.2610723078250885, -0.25448814034461975, -0.2665579915046692, -0.012175748124718666, 0.4594864845275879, 0.8698821067810059, -0.09230981022119522, -0.6468973755836487, 0.32635927200317383, 0.09857784956693649, -0.194047212600708, 0.18095123767852783, 0.17703959345817566, -0.3448461592197418, 0.12017188966274261, 0.4279644787311554, -0.11929775029420853, 0.1450599879026413, -0.5460664629936218, 0.3077378571033478, 0.06564333289861679, -0.2688857316970825, -0.4183761775493622, 0.5358375906944275, 0.5001423358917236, -0.10784226655960083, 0.8029727935791016, -0.20767168700695038, -0.4188265800476074, 0.6426871418952942, 0.35478031635284424, 0.7637344598770142, -0.19131189584732056, 0.38209056854248047, 0.3154391050338745, 0.0739297941327095, -0.013553477823734283, 0.4208286702632904, 0.3433741331100464, -1.0051660537719727, -0.5780089497566223, -0.501368522644043, -0.5187400579452515, 0.14920221269130707, -0.7199373245239258, 0.19051119685173035, -0.5470794439315796, -0.4830127954483032, -0.09623845666646957, 0.059961676597595215, -0.8600083589553833, 0.4053393006324768, -0.031774550676345825, 0.9462009072303772, -0.6818874478340149, 0.7825336456298828, 0.4682748317718506, -0.35788020491600037, -0.8134387135505676, 0.03845061734318733, -0.25191739201545715, -0.7024449706077576, 0.8763480186462402, 0.124268539249897, -0.14853383600711823, -0.025910012423992157, -0.5797649621963501, -0.6835547089576721, 0.8982535600662231, 0.5091456770896912, -0.8847816586494446, 0.1568945050239563, 0.5159695744514465, 0.4972130358219147, -0.6259527802467346, -0.11202102154493332, 0.9298063516616821, 0.5175836682319641, -0.08892995864152908, -1.022080898284912, 0.013286512345075607, 0.052826978266239166, 0.09389901161193848, -0.03759389370679855, -0.5474114418029785, 0.5510719418525696, -0.22264809906482697, -0.3190953731536865, 0.08480264991521835, 0.6443703174591064, -0.0820612758398056, 0.23198920488357544, 0.48932045698165894, 0.44222909212112427, 1.13652503490448, -0.3441694676876068, 0.7546131014823914, -0.47881820797920227, 0.4493444859981537, 0.9802426099777222, -0.3924691677093506, 0.7480697631835938, 0.13771656155586243, -0.09480342268943787, 0.10922902822494507, 0.5331836342811584, -0.02501502074301243, 0.5292048454284668, 0.3333185315132141, -0.0448293536901474, -0.5505213141441345, -0.7185329794883728, -0.184993714094162, 0.4057522416114807, 0.6204462647438049, -0.033708106726408005, -0.0653323158621788, 0.1102411225438118, -0.045660436153411865, 0.1799129843711853, -0.145510733127594, 0.7200664281845093, 0.04894968494772911, -0.5304747819900513, 0.6373233199119568, -0.26165616512298584, 0.4821160137653351, -0.3980780243873596, -0.050006695091724396, -0.444953590631485, -0.005129173398017883, -0.2397272139787674, -0.6933613419532776, 0.23612333834171295, -0.18263909220695496, -0.396393746137619, -0.30781376361846924, 0.4009057283401489, -0.534803569316864, -0.2373160570859909, 0.25307387113571167, 0.6094514727592468, 0.03091517463326454, -0.107369065284729, -0.36359718441963196, 0.33521997928619385, -0.02008763514459133, -0.07607003301382065, 0.15795902907848358, 0.758645236492157, 0.011189404875040054, 0.7024365067481995, 0.5731542110443115, 0.250728964805603, -0.10702133178710938, 0.42147529125213623, 1.0384800434112549, -0.6729716658592224, -0.12111160904169083, -0.28276878595352173, 0.6718517541885376, -0.21173273026943207, -0.5712469220161438, 0.4961203634738922, 0.724560558795929, 0.7044662237167358, 0.07031266391277313, 1.010387659072876, 0.5867461562156677, 0.5917132496833801, -0.7253692746162415, 0.46059662103652954, -0.4678833782672882, 0.5299367308616638, 0.06684903800487518, -0.948164701461792, -0.2676108479499817, 0.21641038358211517, -0.2613358497619629, -0.11224357038736343, 0.5035825967788696, 0.9609925746917725, 0.13254950940608978, -0.23420356214046478, 0.5155724287033081, 0.15963253378868103, 0.818877637386322, 0.2530602812767029, 0.8885777592658997, -0.37633514404296875, 0.41026121377944946, 0.051359836012125015, -0.3150647282600403, -0.2819502651691437, -0.6127234101295471, -0.8804406523704529, -0.5998741388320923, -0.6258118748664856, -0.31736186146736145, -0.1313755363225937, 0.7697762846946716, 0.8767949938774109, -1.1044292449951172, -0.18029771745204926, 0.2142365574836731, -0.027640873566269875, -0.00038045644760131836, -0.2736046612262726, 0.424856036901474, -0.7838271856307983, -0.7810803651809692, 0.524871289730072, 0.4859774708747864, 0.08545131981372833, -0.3511662483215332, -0.015558925457298756, 0.5329784154891968, 0.22673460841178894, 0.7366020679473877, -0.10677503794431686, -0.520893931388855, -0.4235358238220215, 0.053025029599666595, -0.20825666189193726, 0.10453295707702637, 1.1390963792800903, -0.46382662653923035, 0.3730795681476593, 0.4704892039299011, 0.8951178193092346, -0.047403015196323395, 0.14720112085342407, 0.9982736706733704, -0.7437618970870972, -0.13330815732479095, 0.25575315952301025, 0.3360687494277954, 0.4716299772262573, -0.6338730454444885, 0.27032047510147095, -0.04960789903998375, -0.6852023601531982, -0.6108139157295227, 0.3691461384296417, -0.903314471244812, -0.2399720847606659, 1.2493208646774292, -0.15163958072662354, 0.10716168582439423, -0.549078106880188, -0.32971033453941345, -0.020795876160264015, -0.7340485453605652, 0.6535319089889526, 0.7307132482528687, -0.10039959102869034, 0.07943102717399597, -0.5826584696769714, 0.5617175102233887, 0.3180955946445465, -0.9098756909370422, 0.521165668964386, 0.8043605089187622, 0.07442411780357361, 0.23247621953487396, 0.3609875738620758, -0.04100380465388298, 0.05372725427150726, -0.25389331579208374, -0.23692812025547028, -0.05504179373383522, -0.6090791821479797, -0.404479444026947, 0.366895467042923, 0.4168897569179535, -0.1616894006729126 ]
http://arxiv.org/abs/2403.09164v1
http://arxiv.org/pdf/2403.09164v1
Exploring the Comprehension of ChatGPT in Traditional Chinese Medicine Knowledge
2024-03-14T08:20:40
2024-03-14T08:20:40
Li Yizhen, Huang Shaohan, Qi Jiaxing, Quan Lei, Han Dongran, Luan Zhongzhi
cs.CL
cs.CL, stat.AP
No previous work has studied the performance of Large Language Models (LLMs) in the context of Traditional Chinese Medicine (TCM), an essential and distinct branch of medical knowledge with a rich history. To bridge this gap, we present a TCM question dataset named TCM-QA, which comprises three question types: single choice, multiple choice, and true or false, to examine the LLM's capacity for knowledge recall and comprehensive reasoning within the TCM domain. In our study, we evaluate two settings of the LLM, zero-shot and few-shot settings, while concurrently discussing the differences between English and Chinese prompts. Our results indicate that ChatGPT performs best in true or false questions, achieving the highest precision of 0.688 while scoring the lowest precision is 0.241 in multiple-choice questions. Furthermore, we observed that Chinese prompts outperformed English prompts in our evaluations. Additionally, we assess the quality of explanations generated by ChatGPT and their potential contribution to TCM knowledge comprehension. This paper offers valuable insights into the applicability of LLMs in specialized domains and paves the way for future research in leveraging these powerful models to advance TCM.
[ -0.03759562596678734, -0.9681713581085205, 0.873958945274353, -0.13879455626010895, -0.3557288348674774, -0.050758395344018936, -0.5154208540916443, -0.2801080048084259, -0.1763046830892563, 0.5260162949562073, -0.33858007192611694, -0.531886637210846, -0.38444414734840393, -0.02360440045595169, 0.011148876510560513, 0.7528995275497437, -0.20943009853363037, 0.4133731424808502, 0.15033109486103058, -0.06197245046496391, -0.7230522632598877, -0.5530642867088318, -0.9298821687698364, -0.6038756370544434, 0.46994704008102417, 0.3735976815223694, 0.5541030764579773, 0.41235101222991943, 0.5363448858261108, 0.07666057348251343, -0.30439576506614685, 0.29941511154174805, -0.5092194080352783, 0.020470861345529556, 0.031168479472398758, -0.8175095319747925, -0.268002986907959, 0.06166059151291847, 0.7358434796333313, 0.6541446447372437, -0.35798877477645874, -0.13821785151958466, 0.1324947476387024, 0.5398201942443848, -0.1315222978591919, 0.09306708723306656, -0.7601423859596252, 0.2614016532897949, 0.038386020809412, -0.5395315885543823, -0.4153917729854584, -0.35352829098701477, 0.5223404765129089, -0.5355557203292847, 0.10719950497150421, 0.05750811845064163, 1.0370339155197144, 0.14635245501995087, -0.8019111156463623, -0.1492820680141449, -0.6945114731788635, 0.4714556038379669, -0.8516398668289185, 0.07796341180801392, 0.19621151685714722, 0.5759460926055908, -0.26337572932243347, -0.8257248997688293, -0.48748597502708435, -0.4675298035144806, -0.1490972340106964, 0.420993447303772, 0.013223974034190178, 0.16912654042243958, 0.2850552201271057, 0.5625345706939697, -1.04447340965271, -0.0018759544473141432, -0.34301212430000305, -0.12267047166824341, 0.14126165211200714, 0.35216131806373596, 0.5008106827735901, -0.06843655556440353, -0.5615736246109009, 0.24823670089244843, -0.9183502197265625, 0.12792371213436127, -0.41416823863983154, 0.054297469556331635, -0.08208388835191727, 0.43972787261009216, 0.07071574032306671, 0.9575983285903931, -0.20356914401054382, -0.42371866106987, -0.4316197335720062, -0.3326645493507385, -0.388482928276062, -0.10341619700193405, 0.8382090926170349, 0.3601706326007843, 0.34383267164230347, -0.12508170306682587, 0.1529517024755478, -0.35353025794029236, -0.050572481006383896, -0.6620847582817078, -0.30107852816581726, 0.285458505153656, -0.38339853286743164, 0.056432563811540604, -0.08571895211935043, -0.251157283782959, -0.4898824393749237, -0.16300024092197418, 0.3095977306365967, -0.8007687926292419, -0.4027267396450043, 0.3769618570804596, -0.20570245385169983, 0.7711780071258545, 0.3438176214694977, -0.5994967818260193, 0.051727622747421265, 0.7070162892341614, 0.9045218825340271, -0.3101021647453308, -0.24238786101341248, -0.1512601226568222, 0.08344912528991699, -0.549109697341919, 0.8419948220252991, -0.3445235788822174, -0.3418377637863159, -0.07446923851966858, -0.04575830325484276, -0.5192632675170898, -0.6857104301452637, 0.4647294282913208, -0.6135268211364746, 0.3191259503364563, -0.5214691162109375, -0.6718801259994507, -0.515968382358551, 0.7305676341056824, -0.31479012966156006, 0.5106779932975769, -0.03138961270451546, -0.7427541613578796, 0.26998838782310486, -0.29375267028808594, -0.2578122019767761, 0.24341240525245667, -0.16519567370414734, 0.022697623819112778, -0.22523240745067596, 0.13354656100273132, 0.45367431640625, -0.42323192954063416, 0.45965805649757385, -0.028948212042450905, -0.3631349205970764, 0.4784673750400543, -0.757222592830658, 0.7038873434066772, 0.2549939751625061, -0.09306090325117111, -0.13641461730003357, -0.2779306173324585, 0.06971865147352219, 0.33316028118133545, -0.2287863790988922, -0.10058432072401047, -0.08656708151102066, -0.44542601704597473, 0.29064279794692993, 0.07474295794963837, -0.2167341113090515, 0.2577030062675476, -0.2890537977218628, 0.6700667142868042, 0.31419312953948975, 0.3591543138027191, -0.05016868934035301, -0.6934404373168945, 0.4822348952293396, 0.0676289051771164, 0.06492980569601059, -0.4803672730922699, -0.6456665396690369, -0.6552695631980896, -0.04609401896595955, 0.23881645500659943, 0.5590484738349915, -0.8950188159942627, -0.09768401086330414, -0.19248197972774506, -0.6695799827575684, -0.2635507881641388, -0.18973886966705322, 0.0644901841878891, 0.8643080592155457, 0.1613166481256485, -0.09897362440824509, 0.040318813174963, -0.5994943976402283, -0.2092941552400589, -0.35929110646247864, -0.1865704506635666, 0.5760467648506165, 0.37041911482810974, 0.11253461986780167, 0.6132839918136597, -0.5918490886688232, -0.20966938138008118, -0.380830854177475, -0.11832104623317719, 0.1954844444990158, 0.11377732455730438, 0.35586926341056824, -0.7095121741294861, -0.6332867741584778, 0.22976790368556976, -0.6620741486549377, 0.026244034990668297, -0.37308210134506226, -0.18678490817546844, 0.07628915458917618, -0.10994844883680344, -0.5788072943687439, 0.09313076734542847, 0.525621771812439, -0.38749516010284424, 0.7534579634666443, -0.2826314866542816, 0.38455966114997864, -1.0543230772018433, 0.1804499477148056, -0.03452422469854355, -0.13505060970783234, -0.8938068151473999, 0.22161456942558289, 0.2282021939754486, 0.02584359422326088, -0.574994683265686, 0.4864169955253601, -0.30425530672073364, 0.4073885679244995, -0.2723727822303772, 0.4819791913032532, 0.0251317098736763, 0.44103333353996277, 0.5299797058105469, 0.6111573576927185, 0.6492495536804199, -0.6264249682426453, 0.40612462162971497, -0.025881335139274597, -0.08744210749864578, 0.5092096924781799, -0.9206779599189758, 0.2358064502477646, 0.07036256045103073, 0.2699596881866455, -1.116302490234375, -0.21333853900432587, 0.2223202884197235, -0.5368714332580566, 0.35052451491355896, -0.2546400725841522, -0.3848247528076172, -0.25188148021698, 0.03418150544166565, 0.15015627443790436, 0.6405398845672607, -0.41691523790359497, 0.2674744725227356, 0.08551697432994843, 0.1209995225071907, -0.43058714270591736, -0.44750627875328064, 0.09160216152667999, -0.33507025241851807, -0.8884875774383545, 0.024409931153059006, -0.03331753611564636, -0.20241016149520874, -0.2771906852722168, -0.20076815783977509, -0.2786599397659302, 0.06030957028269768, -0.15773405134677887, 0.4782506823539734, -0.6400684714317322, 0.31144681572914124, -0.299564003944397, 0.039727047085762024, 0.05038614571094513, -0.39263835549354553, 0.7396959662437439, -0.14171966910362244, -0.5706799626350403, -0.2761751711368561, -0.024457121267914772, 0.3687593340873718, -0.1538633406162262, 0.6639581322669983, 0.3875691890716553, -0.34722116589546204, -0.17243118584156036, -0.5823404788970947, -0.22803948819637299, -0.3587292730808258, 0.18717588484287262, -0.27780723571777344, -0.9425413012504578, 0.5894293189048767, 0.2156486213207245, 0.08563252538442612, 0.3542497754096985, 0.7494931817054749, 0.03311272710561752, 0.675570547580719, -0.00534984702244401, 0.042671505361795425, -0.008334536105394363, -0.20133225619792938, 0.04827217385172844, -0.6100453734397888, -0.16429480910301208, -0.3036980926990509, -0.0012985656503587961, -0.4660428762435913, -0.6428136825561523, 0.5817651152610779, -0.16395053267478943, -0.2628476917743683, -0.09066975861787796, -0.3357566297054291, 0.4322967231273651, 0.5310460329055786, 0.25648853182792664, 0.6087115406990051, -0.3179750442504883, 0.03463875502347946, 0.26344242691993713, -0.9394921660423279, -0.7068178653717041, 0.8505327105522156, 0.4184257984161377, 0.5516847372055054, -0.12051250040531158, 0.25315701961517334, -0.3252672255039215, -0.07391617447137833, -1.041581153869629, 0.34214821457862854, -0.0954274982213974, -0.7557178139686584, -0.31343865394592285, -0.4695521891117096, -1.0203125476837158, 0.4347444772720337, 0.097187340259552, -0.3412041664123535, -0.46068042516708374, 0.11488354206085205, -0.830100417137146, 0.6343314051628113, -0.722429633140564, 0.815048098564148, -0.32763785123825073, 0.0265828687697649, 0.08510465919971466, -0.6497126221656799, 0.8604912757873535, 0.01615447923541069, -0.06588517874479294, -0.11106596142053604, 0.03185927867889404, 0.49557408690452576, -0.06504874676465988, 0.6614357829093933, 0.06545425951480865, -0.13900764286518097, 0.4031088054180145, 0.25174570083618164, 0.14890798926353455, 0.23490263521671295, 0.09924116730690002, 0.15756896138191223, 0.45411932468414307, -0.518231213092804, -0.6174048185348511, 0.5445913672447205, -0.6425941586494446, -0.8481642007827759, -0.5708738565444946, -0.47306448221206665, -0.2999514043331146, 0.2062305063009262, 0.21190761029720306, 0.3067069351673126, -0.3239172101020813, 0.0924399122595787, 1.084236741065979, -0.6404137015342712, 0.12991425395011902, 0.9704620242118835, -0.019285831600427628, 0.07475282996892929, 0.5001878142356873, 0.27523571252822876, 0.6271076798439026, 0.48761335015296936, 0.52840656042099, -0.047448623925447464, -0.7448262572288513, -0.40544232726097107, 0.3481712341308594, -0.5059471130371094, 0.025455037131905556, -0.5066248774528503, -0.6850574612617493, -0.23355725407600403, 0.1496163010597229, -0.04315803572535515, -0.0920911356806755, -0.08148577064275742, -0.02429037168622017, 0.2066076546907425, 0.6436818838119507, 0.23461993038654327, 0.15203675627708435, -0.8894038200378418, 0.5009922981262207, 0.44858604669570923, 0.4435359537601471, 0.15228228271007538, -0.645875096321106, -0.042229726910591125, 0.3864654302597046, -0.35295867919921875, -0.9526172280311584, 0.4175601005554199, 0.022632993757724762, 0.7126628756523132, 0.5500994324684143, 0.062019478529691696, 0.5950000286102295, -0.5180038809776306, 1.265823483467102, -0.052657924592494965, -0.4675613343715668, 0.3494219481945038, -0.43526914715766907, 0.5749607086181641, 0.08494649827480316, 0.3982962965965271, -1.3203129768371582, -0.4355636537075043, -0.40007972717285156, -0.46480441093444824, 0.7423814535140991, 0.11659745872020721, 0.10354577749967575, -0.04327761009335518, 0.5402593612670898, 0.2764757573604584, -0.2458915412425995, -0.5638415217399597, -0.38983598351478577, 0.04862610623240471, 0.1816391944885254, 0.09093832224607468, -0.343808650970459, -0.0816144272685051, -0.016093425452709198, 0.6012067794799805, -0.005469102878123522, 0.15733115375041962, 0.35743072628974915, 0.027278201654553413, -0.013804464600980282, 0.46014946699142456, 0.5874106884002686, 0.9178600907325745, -0.08576563000679016, 0.33551090955734253, 0.471956729888916, -0.5811288356781006, -0.04654063656926155, -0.18600156903266907, -0.17007064819335938, -0.06544457376003265, 0.5098996758460999, 0.735821545124054, -0.2582947909832001, -0.665884256362915, 0.34379062056541443, -0.2069651037454605, -0.20450028777122498, -0.2925429046154022, 0.1406465470790863, 0.20695336163043976, 0.07880484312772751, 0.37529706954956055, -0.4041365683078766, 0.03256304934620857, -0.5121932029724121, 0.0834771916270256, 0.3941071927547455, -0.5342106223106384, -0.20108453929424286, 0.5598522424697876, -0.20477528870105743, -0.0965757817029953, 0.6602731943130493, 0.05750773102045059, -0.6271155476570129, 0.7051892876625061, 0.4464336335659027, 0.5209522247314453, -0.12735019624233246, 0.3935472369194031, 0.43419337272644043, 0.34144604206085205, -0.1657133549451828, 0.2508755624294281, 0.2610310912132263, -0.77864009141922, -0.4637948274612427, -0.12890824675559998, -0.5413307547569275, 0.3142639398574829, -0.401199609041214, 0.2854079306125641, -0.1919204145669937, 0.027729300782084465, -0.11167795211076736, 0.08992291986942291, -0.5111172795295715, 0.18740491569042206, 0.32572779059410095, 1.1514476537704468, -0.33372437953948975, 0.866142749786377, 0.5400588512420654, -0.37768474221229553, -1.27938973903656, 0.19405946135520935, 0.07471340894699097, -1.1803069114685059, 0.27053889632225037, -0.1304728090763092, 0.14620563387870789, -0.23127715289592743, -0.4835244119167328, -0.5936672687530518, 1.2883576154708862, 0.2707008719444275, -0.38978686928749084, -0.15804874897003174, 0.3908146321773529, 0.762617290019989, 0.028521310538053513, 0.6439933776855469, 0.9083900451660156, 0.4036921560764313, 0.48006218671798706, -1.2052162885665894, 0.07366544008255005, 0.0913519486784935, -0.19578036665916443, -0.11309169977903366, -0.8375449180603027, 0.6178095936775208, -0.22351136803627014, -0.39092957973480225, 0.03031003102660179, 0.15563637018203735, 0.5807687640190125, 0.39464688301086426, 0.1507081687450409, 0.15361201763153076, 0.7714970111846924, -0.3085697591304779, 1.0058156251907349, -0.4514545202255249, 0.1527933031320572, 0.7844728231430054, -0.1628911793231964, 0.5733141303062439, 0.27185994386672974, -0.24037010967731476, 0.2446192055940628, 1.0554791688919067, 0.20023508369922638, 0.12051104009151459, 0.2273254245519638, -0.20129044353961945, -0.38471895456314087, -0.07970058917999268, -0.5147058367729187, 0.36848488450050354, 0.1878095418214798, -0.2464979887008667, -0.10216695070266724, -0.1989677995443344, 0.2966339588165283, -0.10746557265520096, -0.34337928891181946, 1.1270078420639038, 0.43983206152915955, -0.9463900923728943, 0.8353405594825745, -0.09800843149423599, 0.386991024017334, -0.8170368671417236, -0.1436000019311905, -0.4412037134170532, -0.23488377034664154, -0.038354430347681046, -1.1358473300933838, 0.0707140862941742, -0.27356988191604614, 0.17769908905029297, 0.05503347888588905, 0.7370460629463196, -0.6174342632293701, -0.14377498626708984, -0.18927429616451263, 0.6954847574234009, 0.3135127127170563, -0.22522962093353271, -0.49713990092277527, -0.5575603246688843, 0.028902146965265274, -0.23731201887130737, 0.1553421914577484, 0.9441129565238953, -0.026365380734205246, 0.8863768577575684, 0.369571328163147, 0.44159871339797974, -0.010885411873459816, -0.06194284185767174, 0.6808156967163086, -0.7419725060462952, -0.2848223149776459, -1.152316689491272, 0.29889100790023804, 0.16174755990505219, -0.09322730451822281, 0.7093549370765686, 0.3541874885559082, 0.5813108086585999, -0.048532430082559586, 0.8400574922561646, 0.2105395793914795, 0.5573238134384155, -0.6550767421722412, 0.8897802233695984, -0.3130720555782318, 0.2827554941177368, 0.06421120464801788, -0.39854535460472107, -0.36692604422569275, 0.22438345849514008, -0.48302754759788513, -0.0664352998137474, 0.8951048254966736, 0.6352314949035645, 0.1104791909456253, 0.20071318745613098, 0.6154392957687378, 0.2958217263221741, 0.35474324226379395, 1.1113179922103882, 1.1653670072555542, -0.1164642944931984, 0.7135017514228821, -0.2470664083957672, -0.1380254477262497, 0.041506197303533554, -0.6828336715698242, -0.9922733306884766, -0.4412394165992737, -0.107396200299263, -0.2587597370147705, 0.002103799721226096, 1.0164170265197754, 0.5671647191047668, -0.7527316808700562, -0.20945928990840912, 0.318184494972229, 0.4272958040237427, -0.2656775414943695, -0.20454025268554688, 0.629298746585846, -0.40671440958976746, -0.5257623791694641, -0.009150922298431396, 0.2513052821159363, 0.08209807425737381, -0.06476790457963943, -0.11216416209936142, 0.1068715751171112, 0.05879659578204155, 0.6127045750617981, 0.11265852302312851, -0.8485371470451355, -0.24968963861465454, 0.5908157825469971, -0.19992029666900635, 0.19584298133850098, 0.9755373597145081, -0.6005578637123108, 0.4473375380039215, 0.5345422029495239, 0.3633698523044586, 0.27176713943481445, -0.02929200790822506, 0.7958512306213379, -0.2509075403213501, -0.37337085604667664, 0.35488221049308777, 0.48635217547416687, 0.1668347418308258, -0.3047025501728058, 0.3985496759414673, 0.21255744993686676, -0.6214070320129395, -0.565418004989624, 0.05291818082332611, -1.0592982769012451, -0.5383962988853455, 1.6299192905426025, -0.31689080595970154, 0.001686188974417746, -0.33916106820106506, -0.861107587814331, 0.37920081615448, -0.1141781359910965, 0.8974034786224365, 0.9662697315216064, -0.11194845288991928, -0.4618430435657501, -0.8041608333587646, 0.48910248279571533, 0.235399067401886, -0.5698394775390625, 0.06727413088083267, 0.338277667760849, 0.4743471145629883, -0.34334734082221985, 0.7358145117759705, -0.21649698913097382, 0.426839143037796, -0.31002822518348694, -0.3165183961391449, -0.028773991391062737, 0.1947472095489502, -0.2560522258281708, 0.16502010822296143, 0.42426034808158875, -0.06787674874067307 ]
http://arxiv.org/abs/2403.09163v1
http://arxiv.org/pdf/2403.09163v1
Caveat Lector: Large Language Models in Legal Practice
2024-03-14T08:19:41
2024-03-14T08:19:41
Eliza Mik
cs.CL
cs.CL, cs.CY
The current fascination with large language models, or LLMs, derives from the fact that many users lack the expertise to evaluate the quality of the generated text. LLMs may therefore appear more capable than they actually are. The dangerous combination of fluency and superficial plausibility leads to the temptation to trust the generated text and creates the risk of overreliance. Who would not trust perfect legalese? Relying recent findings in both technical and legal scholarship, this Article counterbalances the overly optimistic predictions as to the role of LLMs in legal practice. Integrating LLMs into legal workstreams without a better comprehension of their limitations, will create inefficiencies if not outright risks. Notwithstanding their unprecedented ability to generate text, LLMs do not understand text. Without the ability to understand meaning, LLMs will remain unable to use language, to acquire knowledge and to perform complex reasoning tasks. Trained to model language on the basis of stochastic word predictions, LLMs cannot distinguish fact from fiction. Their knowledge of the law is limited to word strings memorized in their parameters. It is also incomplete and largely incorrect. LLMs operate at the level of word distributions, not at the level of verified facts. The resulting propensity to hallucinate, to produce statements that are incorrect but appear helpful and relevant, is alarming in high-risk areas like legal services. At present, lawyers should beware of relying on text generated by LLMs.
[ -0.18134815990924835, -0.5843632221221924, 1.113472580909729, -0.028232121840119362, -0.48095589876174927, -0.07680553197860718, -0.04369836300611496, -0.43176740407943726, 0.1819024533033371, 0.8142046928405762, -0.08072244375944138, -0.1728103905916214, -0.968527615070343, -0.11352723836898804, -0.4931029677391052, 0.8696664571762085, 0.0027233180589973927, 0.2541087865829468, -0.33497416973114014, -0.205099418759346, -0.4261414110660553, -0.740006685256958, -0.4865822494029999, -0.5497777462005615, 0.41248026490211487, -0.008776919916272163, 0.8249015808105469, 0.23204346001148224, 0.45952001214027405, 0.20811541378498077, -0.18176469206809998, -0.17681053280830383, -0.7532981634140015, 0.24687997996807098, -0.19248037040233612, -0.5606823563575745, -0.3173607587814331, 0.07227757573127747, 0.4951430857181549, 0.682658851146698, -0.3444055914878845, -0.2566175162792206, -0.26344260573387146, 0.6398119330406189, -0.5523263812065125, -0.07539292424917221, -0.7457253932952881, 0.1428755223751068, -0.06043018028140068, -0.34343841671943665, -0.3004581928253174, -0.2902165651321411, 0.11022627353668213, -0.4269942045211792, -0.07485394179821014, 0.1295541226863861, 0.7039180397987366, 0.5334950685501099, -0.48705095052719116, -0.6012924909591675, -0.658288836479187, 0.43251216411590576, -0.9273330569267273, 0.2767409384250641, 0.335801899433136, 0.3255348801612854, -0.31790822744369507, -0.5478264093399048, -0.7100677490234375, -0.7719757556915283, 0.011845252476632595, 0.1658877581357956, -0.05300956219434738, 0.10217203944921494, 0.5048977136611938, 0.1500038504600525, -0.2916489541530609, 0.3777068853378296, -0.25841474533081055, -0.11556174606084824, 0.6643898487091064, 0.14977170526981354, 0.193081796169281, 0.021735424175858498, 0.06679712235927582, 0.16525115072727203, -0.9815477728843689, -0.09003598242998123, 0.4946715533733368, 0.1777181327342987, 0.00527823343873024, 0.8693253397941589, 0.32871490716934204, 0.36519744992256165, -0.11864222586154938, -0.46512866020202637, 0.010048235766589642, 0.16765309870243073, -0.4251272976398468, 0.36165687441825867, 0.8402369022369385, 0.2000848799943924, 0.6833685040473938, 0.045518938452005386, -0.29293590784072876, -0.22041518986225128, 0.386035293340683, -0.6579496264457703, 0.21446283161640167, 0.33529844880104065, -0.2740895450115204, -0.19710057973861694, 0.25498852133750916, -0.5396583080291748, -0.8416166305541992, -0.33907055854797363, 0.11371555179357529, -0.3687591254711151, -0.17606230080127716, 0.2461445927619934, -0.03384872525930405, 0.03577548637986183, 0.5000687837600708, -0.4772191643714905, 0.3014706075191498, 0.5635990500450134, 0.5980113744735718, 0.21730771660804749, -0.05779168754816055, -0.6656824946403503, 0.4264271855354309, -0.6256090402603149, 0.4566900432109833, -0.5746611952781677, -0.5768191814422607, 0.35509219765663147, 0.039057254791259766, 0.07870088517665863, -0.5497621893882751, 0.5378380417823792, -0.3754028379917145, -0.2048218548297882, -0.18266727030277252, -0.8323038220405579, -0.03547719493508339, -0.04239939525723457, -0.48292943835258484, 0.4765283465385437, 0.00970458984375, -0.7185092568397522, 0.4738016128540039, -0.4178543984889984, -0.5754135847091675, 0.2870716154575348, -0.5711303353309631, -0.20086230337619781, 0.41281330585479736, -0.16014550626277924, 0.5596844553947449, -0.20102643966674805, 0.41822004318237305, -0.4517577290534973, -0.3942161500453949, 0.594063401222229, -0.35611966252326965, 0.7552566528320312, 0.4232383370399475, -0.3465433716773987, -0.22183838486671448, -0.2838314473628998, -0.462543785572052, 0.10892175883054733, -0.3146494925022125, -0.3391997218132019, 0.15918470919132233, -0.23211778700351715, 0.13612182438373566, 0.14749935269355774, -0.31697168946266174, -0.08735454082489014, -0.5119585394859314, 0.4188028573989868, 0.7853305339813232, -0.03337177634239197, 0.27362197637557983, -0.3882068693637848, 0.6345216631889343, -0.15122899413108826, -0.19236333668231964, 0.06024455651640892, -0.3689107894897461, -0.5930159687995911, -0.21124367415905, 0.2589240074157715, 0.4967401325702667, -0.3769727051258087, 0.17532649636268616, -0.49816933274269104, -0.4144297242164612, -0.4937717318534851, 0.4475584626197815, 0.06966376304626465, 0.013439069502055645, 0.0073253558948636055, 0.02497350610792637, -0.4870094656944275, -0.7844269871711731, -0.44784674048423767, -0.15879669785499573, 0.11534931510686874, 0.4530119299888611, 0.668633759021759, -0.2754363417625427, 0.5865471363067627, -0.04156104847788811, -0.4218386113643646, -0.494729608297348, 0.005713371094316244, 0.32228246331214905, 0.17848914861679077, 0.5615429282188416, -0.7423092722892761, -0.48813238739967346, 0.09094344079494476, -0.8821476697921753, -0.1267196238040924, -0.33309251070022583, 0.4171624779701233, 0.3645424246788025, 0.8289462327957153, -0.8493433594703674, 0.22137030959129333, 0.28587138652801514, -0.43539056181907654, 0.6193810105323792, -0.48708829283714294, -0.235937237739563, -0.8735041618347168, -0.14944858849048615, 0.1710481196641922, -0.41897231340408325, -0.45244187116622925, 0.3648032248020172, -0.16926002502441406, 0.27875232696533203, -0.5937142968177795, 0.5756731033325195, -0.4897415339946747, -0.12300662696361542, -0.5249476432800293, 0.40942782163619995, -0.25827109813690186, -0.17540818452835083, -0.3161579668521881, 0.7691469788551331, 0.5632668733596802, -0.6616398096084595, 0.33857885003089905, -0.13594672083854675, -0.32022565603256226, 0.7492521405220032, -0.6060231924057007, -0.23682184517383575, -0.20492896437644958, 0.04067549109458923, -0.42493605613708496, -0.4571654498577118, 0.012852794490754604, -0.24013665318489075, 0.7272926568984985, -0.16199548542499542, -0.8590092658996582, -0.4725058972835541, -0.11086397618055344, 0.0346284918487072, 0.7730156183242798, -0.034998707473278046, 0.7675017714500427, 0.6771895289421082, -0.10645759850740433, -0.6404234766960144, -1.0562784671783447, 0.34020841121673584, -0.1886492669582367, -0.3744928240776062, -0.007185482420027256, 0.13273245096206665, -0.8930397629737854, 0.055492985993623734, -0.04031970351934433, 0.09896966069936752, 0.009807555936276913, 0.5628547072410583, -0.037630464881658554, -0.04759532958269119, 0.31566646695137024, -0.04548131674528122, 0.23709754645824432, 0.318301260471344, -0.11765436828136444, 0.43129903078079224, 0.011274040676653385, -0.5268741846084595, -0.2675357162952423, 0.15992134809494019, 0.822114109992981, 0.225956529378891, 0.7700409293174744, 0.19324040412902832, -0.3303375542163849, -0.05995815619826317, -0.856209933757782, 0.025011641904711723, -0.43424755334854126, 0.35521063208580017, -0.2154424637556076, -1.0175892114639282, 0.2540026903152466, 0.04106017202138901, -0.03758106753230095, 0.5960291028022766, 0.6929954886436462, -0.395423024892807, 0.6208170652389526, 0.7351731061935425, -0.07967790216207504, 0.2214350700378418, 0.046428751200437546, 0.45099976658821106, -0.5690891146659851, -0.13778579235076904, -0.40682119131088257, 0.27780991792678833, -0.760301947593689, -0.3444787561893463, 0.07746598869562149, -0.0021907109767198563, -0.18096299469470978, 0.14666083455085754, -0.06128153204917908, 0.4172299802303314, 0.3454091250896454, -0.19389644265174866, 0.19056980311870575, 0.030813826248049736, -0.3886851668357849, -0.11237332969903946, -0.6453362703323364, -0.8533521294593811, 1.2180160284042358, 0.5656629204750061, 0.9739216566085815, 0.1885954588651657, 0.6174856424331665, 0.44037550687789917, 0.21468298137187958, -0.915040135383606, 0.6373172998428345, -0.2395334392786026, -0.5163854360580444, -0.23826941847801208, -0.4111364781856537, -0.7181169390678406, 0.12445252388715744, -0.3012447655200958, -0.8278085589408875, 0.07272480428218842, 0.00818768423050642, -0.35317838191986084, 0.4198951721191406, -0.3846804201602936, 0.38195502758026123, -0.1639760583639145, -0.5316896438598633, -0.2902308702468872, -0.31150513887405396, 0.5496532917022705, -0.3225933611392975, 0.6688672304153442, -0.20229469239711761, -0.03430777043104172, 0.7412197589874268, -0.47962987422943115, 0.8789887428283691, 0.025312112644314766, -0.43772056698799133, 0.36829766631126404, 0.2998432517051697, 0.6982954144477844, 0.12533584237098694, 0.06598220020532608, -0.22572225332260132, 0.22209639847278595, -0.30378082394599915, -0.2879727780818939, 0.726286768913269, -0.6190153956413269, -0.9208651185035706, -0.652247965335846, -0.6824547648429871, -0.10970742255449295, 0.08624692261219025, 0.19603104889392853, 0.06877123564481735, -0.23587580025196075, 0.16608141362667084, 0.7703366279602051, -0.12955492734909058, 0.27042800188064575, 0.4161244332790375, -0.09797203540802002, -0.39576974511146545, 0.779360830783844, 0.31893935799598694, 0.14201493561267853, 0.013862800784409046, 0.1018281802535057, -0.5119644403457642, -0.7822943329811096, 0.12315437942743301, 0.6764300465583801, -1.0311671495437622, 0.2187146544456482, -0.6466766595840454, -0.3223147392272949, -0.4273550808429718, -0.24486306309700012, -0.10149981826543808, -0.15972986817359924, -0.42820584774017334, -0.1580720841884613, 0.21591845154762268, 0.9511061906814575, 0.02241656742990017, 0.2509668469429016, -0.6722314953804016, 0.09942107647657394, 0.3176940381526947, 0.05733519047498703, -0.3527263104915619, -0.8688077330589294, -0.039983537048101425, -0.2189001590013504, -0.0583120658993721, -0.7626872062683105, 0.2719264626502991, -0.10853791981935501, 0.9652424454689026, 0.601908266544342, -0.095364511013031, 0.44003212451934814, -0.6806468367576599, 0.7394523620605469, 0.30612143874168396, -0.8611231446266174, 0.3542448878288269, -0.40024757385253906, -0.05677825212478638, 0.4668327569961548, 0.48653966188430786, -0.29883119463920593, -0.8519553542137146, -0.7096869945526123, -0.6025238633155823, 0.33465179800987244, 0.04969413951039314, 0.6311473250389099, 0.19361612200737, 0.5573839545249939, 0.024751346558332443, 0.41856032609939575, -0.9784112572669983, 0.1215977594256401, -0.03749111667275429, -0.1381801813840866, -0.20977577567100525, -0.6982213854789734, -0.3114381730556488, -0.23196274042129517, 0.5783633589744568, -0.15691670775413513, 0.11751864850521088, 0.1886516958475113, -0.27885034680366516, -0.28254464268684387, 0.4134258031845093, 1.0181056261062622, 1.040945291519165, -0.1568525731563568, 0.3393767774105072, 0.21365289390087128, -0.5296545624732971, 0.11501498520374298, -0.12418486177921295, -0.09320136159658432, 0.123029924929142, 0.514482319355011, 0.5689029097557068, -0.019530219957232475, -0.9739936590194702, 0.6626835465431213, 0.23639054596424103, -0.661015510559082, -0.7182701230049133, 0.13544312119483948, 0.4223651587963104, 0.3824193477630615, 0.23316866159439087, 0.07629620283842087, -0.11487367004156113, -0.8538263440132141, 0.0706912949681282, 0.664848268032074, -0.4623222351074219, 0.019884273409843445, 0.6509434580802917, -0.029667353257536888, -0.2669290602207184, 0.04326825216412544, -0.1071866825222969, -0.35673123598098755, 0.46518203616142273, 0.36489278078079224, 0.6640864014625549, 0.13879269361495972, 0.06980441510677338, 0.16724012792110443, 0.6694363951683044, -0.4700741469860077, 0.21284589171409607, 0.5857399106025696, -0.5275593400001526, -0.5534932613372803, -0.5303181409835815, -0.33488062024116516, 0.3829672038555145, -0.17805957794189453, 0.10864248126745224, -0.6268011927604675, -0.2074977159500122, -0.4086032807826996, -0.08061094582080841, -0.4861777126789093, -0.04390519857406616, 0.1391361653804779, 1.0593444108963013, -0.5498324036598206, 0.8174183964729309, 0.4227745234966278, -0.43226584792137146, -0.4282141625881195, 0.23640593886375427, -0.023041371256113052, -0.6901165843009949, 0.6700160503387451, 0.09802898019552231, -0.0784263089299202, -0.31095075607299805, -0.6899281144142151, -0.3947877883911133, 0.9399895071983337, 0.7035796046257019, -0.8787348866462708, -0.09281366318464279, 0.3436850309371948, 0.671784520149231, -0.6059257388114929, -0.03949796035885811, 0.4683636724948883, 0.5075417160987854, 0.37809622287750244, -0.761220395565033, 0.3717081844806671, 0.17955073714256287, 0.08932149410247803, -0.03946034237742424, -0.18870243430137634, 0.830915093421936, -0.5005998015403748, -0.16956213116645813, -0.0570906400680542, 0.3063735067844391, 0.22860340774059296, 0.09876720607280731, 0.22414982318878174, 0.5868483185768127, 0.8392269611358643, 0.005087283905595541, 1.3271315097808838, -0.2322099655866623, 0.1717708706855774, 1.1438512802124023, -0.5700935125350952, 0.8606168627738953, 0.7908315062522888, -0.07761725038290024, 0.27715906500816345, 0.42782673239707947, -0.2993493974208832, 0.3940695524215698, 0.3775119483470917, -0.19688373804092407, -0.5277737975120544, -0.17927764356136322, -0.18054883182048798, 0.16869792342185974, 0.5550259351730347, -0.730317234992981, -0.09013407677412033, -0.26952454447746277, 0.06458993256092072, 0.3220348656177521, -0.2862066626548767, 0.7418792247772217, 0.6457823514938354, -0.49560001492500305, 0.3634285032749176, -0.15284818410873413, 0.4836151897907257, -0.4541001319885254, 0.034985706210136414, 0.012642559595406055, -0.07096574455499649, -0.17719803750514984, -0.8764057159423828, 0.20475895702838898, 0.0726257935166359, 0.35824263095855713, -0.10722803324460983, 0.6916141510009766, 0.07014232128858566, -0.5545936822891235, 0.3838386535644531, 0.8227319121360779, 0.36243584752082825, -0.009182197041809559, -0.6679883599281311, -0.13188275694847107, -0.32439449429512024, -0.16462916135787964, 0.3436860740184784, 0.6939194202423096, 0.2777099609375, 0.8250781297683716, 0.5070222020149231, 0.5787421464920044, 0.0016777379205450416, 0.26384246349334717, 0.7519770860671997, -0.5979211926460266, -0.24989816546440125, -1.0996026992797852, 0.3295803666114807, -0.1319844275712967, -0.0277498047798872, 0.5059250593185425, 0.30448436737060547, 0.5470430254936218, 0.14641173183918, 0.8664644956588745, 0.1479474902153015, 0.1351507157087326, -0.8916633129119873, 0.8638848662376404, -0.6883589625358582, 0.48872995376586914, -0.0689297690987587, -0.8885316252708435, -0.2953472435474396, 0.5700511336326599, -0.47100338339805603, 0.20368041098117828, 0.8716174364089966, 0.5079530477523804, -0.04053167253732681, -0.3583388924598694, 0.9195110201835632, 0.48238635063171387, 0.26908791065216064, 0.28796690702438354, 0.7736450433731079, -0.008097955025732517, 0.6458492279052734, 0.28257685899734497, 0.1313726156949997, -0.6931611895561218, -0.8820235133171082, -1.2580047845840454, -0.08536684513092041, -0.08290943503379822, -0.42390480637550354, -0.04173382744193077, 0.7641065716743469, 0.4095480442047119, -0.6604639887809753, -0.381038099527359, -0.44751912355422974, 0.05676725506782532, 0.25604721903800964, -0.19794100522994995, -0.012275557033717632, -0.5163300633430481, -0.5341956615447998, 0.22456467151641846, 0.2874239981174469, 0.47355061769485474, -0.44282063841819763, -0.3962724506855011, -0.10309159010648727, 0.3588116765022278, 0.532825767993927, 0.16496914625167847, -1.037010908126831, -0.12152326107025146, -0.38194701075553894, -0.41604867577552795, 0.052397776395082474, 0.775574803352356, -0.31437671184539795, 0.25795355439186096, 0.28528815507888794, 0.525568425655365, 0.3314434289932251, -0.5539807081222534, 0.7617892622947693, -0.2060507982969284, 0.07917982339859009, 0.3605550527572632, 0.9178537130355835, 0.28909844160079956, -0.3519716262817383, 0.5183516144752502, 0.24747240543365479, -0.34817761182785034, -0.9697422981262207, 0.31224942207336426, -0.6702583432197571, -0.6279168725013733, 1.2970644235610962, -0.1370052695274353, -0.3349204659461975, -0.22289706766605377, -0.13776952028274536, 0.0016778920544311404, -0.43330034613609314, 0.6160507202148438, 0.8371674418449402, 0.18534553050994873, -0.17400772869586945, -1.351891279220581, 0.5589666366577148, 0.23881523311138153, -0.6017089486122131, 0.03638428449630737, 0.3401675522327423, 0.4528771936893463, 0.2985803186893463, 0.7334144711494446, -0.07659520208835602, 0.1787945181131363, 0.1031813696026802, -0.20973417162895203, -0.06521189957857132, -0.14269790053367615, -0.35925132036209106, 0.2120862603187561, 0.44795629382133484, 0.5629827380180359 ]
http://arxiv.org/abs/2403.09162v1
http://arxiv.org/pdf/2403.09162v1
Unveiling the Generalization Power of Fine-Tuned Large Language Models
2024-03-14T08:18:59
2024-03-14T08:18:59
Haoran Yang, Yumeng Zhang, Jiaqi Xu, Hongyuan Lu, Pheng Ann Heng, Wai Lam
cs.CL
cs.CL
While Large Language Models (LLMs) have demonstrated exceptional multitasking abilities, fine-tuning these models on downstream, domain-specific datasets is often necessary to yield superior performance on test sets compared to their counterparts without fine-tuning. However, the comprehensive effects of fine-tuning on the LLMs' generalization ability are not fully understood. This paper delves into the differences between original, unmodified LLMs and their fine-tuned variants. Our primary investigation centers on whether fine-tuning affects the generalization ability intrinsic to LLMs. To elaborate on this, we conduct extensive experiments across five distinct language tasks on various datasets. Our main findings reveal that models fine-tuned on generation and classification tasks exhibit dissimilar behaviors in generalizing to different domains and tasks. Intriguingly, we observe that integrating the in-context learning strategy during fine-tuning on generation tasks can enhance the model's generalization ability. Through this systematic investigation, we aim to contribute valuable insights into the evolving landscape of fine-tuning practices for LLMs.
[ -0.4407653212547302, -0.9063484072685242, 0.5304881930351257, -0.1392958164215088, -0.17960335314273834, 0.04075784981250763, -0.826508641242981, -0.4504811465740204, -0.37035396695137024, 0.5490014553070068, -0.5727968811988831, -0.3942645490169525, -0.7914609909057617, 0.1039712056517601, -0.23044833540916443, 1.1097038984298706, 0.13218359649181366, -0.06475070118904114, -0.0704437792301178, -0.035894233733415604, -0.4682122766971588, -0.5068812370300293, -0.45127615332603455, -0.46099087595939636, 0.5039432644844055, 0.4429420828819275, 0.6296653747558594, 0.7879494428634644, 0.4327775537967682, 0.3082756996154785, -0.2056475430727005, 0.5359861254692078, -0.8033362627029419, 0.11849231272935867, -0.3254183530807495, -0.5008512139320374, -0.41874438524246216, 0.015119646675884724, 0.8231630921363831, 0.9616977572441101, 0.0077986326068639755, 0.24894633889198303, 0.495339035987854, 0.7051740884780884, -0.7170122861862183, 0.21691922843456268, -1.117954969406128, -0.3227193057537079, -0.2542962431907654, -0.3185994029045105, -0.3229837119579315, 0.09209301322698593, 0.033932071179151535, -0.5209712386131287, 0.5712729692459106, 0.0798027366399765, 0.7727927565574646, 0.4214248061180115, -0.5263857841491699, -0.25562983751296997, -1.0017896890640259, 1.1137168407440186, -0.8033128380775452, 0.28581783175468445, 0.1205536350607872, 0.13738028705120087, -0.32701003551483154, -0.5164310336112976, -0.2717108726501465, -0.09264257550239563, 0.029233550652861595, -0.47192615270614624, -0.14152628183364868, 0.3445920944213867, 0.47491133213043213, 0.6635469198226929, -0.22253075242042542, 0.4671207666397095, -0.18406923115253448, 0.04527796432375908, 0.5934621691703796, 0.20248684287071228, 0.27231159806251526, 0.14815355837345123, 0.23061314225196838, 0.14006870985031128, -0.8730267882347107, 0.14163389801979065, 0.25996625423431396, 0.6535078287124634, 0.1037508174777031, 0.5330175161361694, -0.5889791250228882, 0.9658094644546509, 0.0979212075471878, -0.054438721388578415, -0.01596245728433132, -0.5052803754806519, -0.46596458554267883, -0.4519105553627014, 0.5167006254196167, 0.22684788703918457, 0.7884229421615601, -0.43780648708343506, -0.285959392786026, -0.18290504813194275, 0.1436866968870163, -0.7811232209205627, -0.12351114302873611, -0.04660787433385849, -0.430841863155365, -0.1126909852027893, 0.06351333111524582, -0.3553217351436615, -0.2901892364025116, -0.7822238206863403, 0.2441987842321396, -0.25667107105255127, -0.22650574147701263, 0.4433944523334503, -0.04297209903597832, 0.1780778467655182, 0.24479377269744873, -1.323754072189331, 0.2626012861728668, 1.0197111368179321, 0.5867271423339844, -0.2425285279750824, -0.4029332399368286, -0.626365065574646, 0.15997788310050964, -0.3417440950870514, 0.6190169453620911, -0.8202748894691467, -0.14786890149116516, 0.06868276745080948, 0.18553878366947174, -0.2894759178161621, -0.9079381227493286, 0.2739594578742981, -0.5247327089309692, -0.31190556287765503, -0.40157338976860046, -0.6544477343559265, -0.14693082869052887, -0.06945164501667023, -0.3777370750904083, 0.5621720552444458, -0.05800354480743408, -0.4036633372306824, 0.6509924530982971, -0.40433269739151, -0.49921175837516785, -0.03458719328045845, -0.10130099207162857, -0.25809016823768616, 0.7292711138725281, 0.08633201569318771, 0.8854471445083618, -0.4684041738510132, 0.2336798459291458, -0.3971931040287018, -0.44091400504112244, 0.10823383182287216, -0.20278210937976837, 0.4122248589992523, 0.09058709442615509, -0.21585753560066223, 0.14443129301071167, -0.7241679430007935, 0.17680968344211578, 0.038615789264440536, -0.5946922302246094, -0.44090041518211365, 0.1822488009929657, -0.16072137653827667, 0.05564023181796074, 0.24655477702617645, -0.4259985685348511, 0.4244675636291504, -0.40452274680137634, 0.6288980841636658, 0.6195436120033264, -0.029559381306171417, 0.5938335657119751, -0.36037981510162354, 0.28541651368141174, -0.13145777583122253, -0.04345773532986641, -0.13058483600616455, -0.34729206562042236, -0.7839410901069641, -0.17631840705871582, 0.38055193424224854, 0.2093469500541687, -0.2033962905406952, 0.27396559715270996, -0.30484288930892944, -0.39404287934303284, -0.47937649488449097, 0.5736050605773926, 0.5524331331253052, 0.0324527770280838, 0.24027249217033386, -0.07643655687570572, -0.33565178513526917, -1.0064202547073364, -0.5287721157073975, 0.4713573455810547, -0.13951346278190613, 0.4275319278240204, 0.4052402079105377, -0.4272775948047638, 0.7029644846916199, -0.5242785811424255, -0.23954802751541138, -0.3388291299343109, 0.023027410730719566, 0.06060970947146416, 0.4820917248725891, 0.5420509576797485, -0.5761150121688843, -0.5264825820922852, 0.32124823331832886, -0.5073274970054626, -0.10202816128730774, -0.04275287687778473, 0.11726763099431992, 0.150098517537117, 0.7340906262397766, -0.42228272557258606, 0.011836020275950432, 0.5799701809883118, -0.07653965055942535, 0.4333547055721283, -0.5081287026405334, -0.02121378667652607, -0.8749997019767761, -0.05827896296977997, -0.030822791159152985, -0.010627794079482555, -0.8131589293479919, 0.32032331824302673, 0.20802292227745056, 0.1544051468372345, -0.3241969645023346, 0.32553303241729736, -0.6204853653907776, -0.15714901685714722, -0.39737677574157715, -0.11969363689422607, -0.217118039727211, 0.4538029134273529, -0.2474743276834488, 0.7680685520172119, 0.7466186881065369, -1.0369569063186646, -0.00848417915403843, -0.042204249650239944, -0.5472386479377747, 0.07958047091960907, -0.6675241589546204, 0.1762220859527588, -0.1753884106874466, -0.11581861227750778, -0.858247697353363, -0.33378028869628906, -0.45123377442359924, -0.10532236844301224, 0.5607520341873169, -0.21543484926223755, -0.7505879402160645, -0.009741220623254776, -0.005896895192563534, 0.31248730421066284, 0.4565850794315338, -0.4477881193161011, 0.39466893672943115, 0.26536303758621216, -0.08300434798002243, -0.26316460967063904, -0.47994399070739746, -0.20107315480709076, -0.30920931696891785, -0.45702722668647766, 0.4096776843070984, -0.15818242728710175, -0.3480805456638336, -0.47263863682746887, -0.08877869695425034, 0.09867153316736221, 0.3479732871055603, 0.27599602937698364, -0.08334439247846603, -0.145369753241539, 0.2687957286834717, 0.31786227226257324, 0.00034172149025835097, -0.140900656580925, -0.18698005378246307, 0.7041813135147095, -0.10601110011339188, -0.23168444633483887, -0.28858959674835205, 0.18419326841831207, 0.7328460216522217, -0.46560895442962646, 0.7436162829399109, 0.24894212186336517, -0.23673629760742188, -0.4807751476764679, -0.5839024782180786, -0.19392620027065277, -0.5217828750610352, 0.5137131214141846, -0.5911889672279358, -1.2421544790267944, 0.47885259985923767, -0.37289130687713623, 0.25430309772491455, 0.44753941893577576, 0.6037085652351379, 0.01248454861342907, 1.3493854999542236, 0.9535370469093323, -0.02986481785774231, 0.48948442935943604, -0.23856927454471588, 0.08737815171480179, -1.0325828790664673, -0.03678090497851372, -0.5836239457130432, -0.4906330704689026, -0.8418816328048706, -0.09188016504049301, 0.07586116343736649, 0.2768048346042633, -0.22753067314624786, 0.054432228207588196, -0.4596962630748749, 0.7271292209625244, 0.355211466550827, -0.10386382788419724, 0.4914168417453766, 0.11883538216352463, 0.054318588227033615, 0.10331030935049057, -0.5707124471664429, -0.47069355845451355, 1.351639747619629, 0.2607475817203522, 0.7143651843070984, 0.08848784863948822, 0.43339934945106506, -0.014620469883084297, 0.038818009197711945, -0.7114949822425842, 0.49192965030670166, -0.6742805242538452, -0.4630488157272339, -0.3173905313014984, -0.352570503950119, -1.1043322086334229, 0.2839469015598297, -0.2157631665468216, -0.653550922870636, 0.01069694198668003, 0.23834042251110077, -0.4531760811805725, 0.2974936366081238, -0.7744742035865784, 0.6898102164268494, 0.014491940848529339, -0.06188908591866493, -0.5100629329681396, -0.22724634408950806, 0.32550162076950073, -0.32588791847229004, 0.10392230749130249, -0.2302231341600418, 0.07385269552469254, 0.4412615895271301, 0.001639715046621859, 0.982907235622406, -0.04682617262005806, -0.31098228693008423, -0.1160849928855896, 0.06895875930786133, 0.48474350571632385, -0.04702536389231682, 0.03243853896856308, 0.18565963208675385, -0.0912804901599884, -0.4062586724758148, -0.48198312520980835, 1.0339380502700806, -0.744001567363739, -0.908786952495575, 0.18033714592456818, -0.7966764569282532, -0.5214110016822815, 0.2649606764316559, 0.33643898367881775, 0.4458200931549072, -0.200034037232399, 0.4411391317844391, 0.9497019648551941, -0.10948459804058075, 0.379319429397583, 0.7538896203041077, -0.13424775004386902, 0.25696447491645813, 0.8947688341140747, 0.20909136533737183, 0.6344175934791565, 0.37015822529792786, 0.1007402315735817, -0.0018667969852685928, -0.8642106652259827, -0.24562054872512817, 0.35434016585350037, -0.4197188913822174, 0.034111738204956055, -0.5889362096786499, -0.09507177025079727, -0.40849506855010986, -0.09970349073410034, -0.33302250504493713, -0.22583931684494019, -0.4732152819633484, 0.05411534383893013, 0.2096848338842392, 1.0266858339309692, 0.11511598527431488, 0.30996939539909363, -0.6210088729858398, 0.2873742878437042, 0.5377210974693298, 0.4905467629432678, 0.06810171157121658, -0.7468124032020569, -0.3532657027244568, 0.25963783264160156, -0.22859488427639008, -0.2097262740135193, 0.06063532829284668, 0.5949201583862305, 0.4574093222618103, 0.4978020489215851, -0.3658844232559204, 0.7004494667053223, -0.7021656036376953, 0.6055102944374084, -0.28013160824775696, -0.7947772741317749, 0.35805365443229675, -0.6107706427574158, 0.48967352509498596, 0.40472784638404846, 0.01716284453868866, -0.37704962491989136, -0.38981473445892334, -0.3646581768989563, -0.6030956506729126, 0.5986555814743042, -0.1436651349067688, 0.40629124641418457, 0.20238535106182098, 0.6287309527397156, 0.3348831236362457, 0.327965646982193, -0.35090863704681396, -0.17611666023731232, 0.24210213124752045, 0.19269128143787384, -0.6374790668487549, -0.3086414933204651, -0.006236132699996233, -0.4779838025569916, 0.3146023154258728, -0.20762407779693604, -0.06230413541197777, -0.350619375705719, -0.1380881518125534, -0.3359249234199524, 0.510273277759552, 0.7331284880638123, 0.596619188785553, -0.07887669652700424, 0.056530363857746124, 0.25223392248153687, -0.18668484687805176, -0.17193540930747986, -0.00611859792843461, -0.07640098035335541, -0.2524630129337311, 0.3604362905025482, 0.9338288903236389, 0.3534521758556366, -0.5865217447280884, 0.1959538608789444, 0.048974450677633286, -0.2881002426147461, 0.05293601378798485, 0.6479398608207703, 0.13264204561710358, 0.30299803614616394, 0.30127203464508057, 0.04419760778546333, 0.03055250458419323, -0.7186212539672852, -0.07425443828105927, 0.8783257007598877, -0.005002768710255623, -0.4495931565761566, 0.46529701352119446, 0.008344768546521664, -0.19774428009986877, 0.4533371031284332, -0.11955807358026505, -0.1708933413028717, 0.5624924898147583, 0.6039666533470154, 0.7742944955825806, -0.1573261171579361, -0.12464161217212677, 0.13481953740119934, 0.21917590498924255, -0.14612950384616852, 0.06188352033495903, -0.12403805553913116, -0.7674151062965393, -0.5383249521255493, -0.7412702441215515, -0.19419609010219574, 0.3942948877811432, -0.5978107452392578, -0.0571402832865715, -0.3534896969795227, -0.06050897017121315, 0.13848648965358734, 0.00851008202880621, -0.851984441280365, 0.20537030696868896, 0.07195042818784714, 0.6427307724952698, -0.7121347188949585, 0.8754557371139526, 0.8007084131240845, 0.08809342980384827, -0.7204928398132324, 0.18289954960346222, -0.22497808933258057, -0.7161920070648193, 0.7119849324226379, 0.15320371091365814, -0.10710353404283524, 0.24243780970573425, -0.5507838726043701, -1.0017895698547363, 0.9828935265541077, 0.4881420433521271, -0.7919778227806091, -0.16415737569332123, 0.4951636791229248, 0.7015255093574524, -0.43098142743110657, -0.18510191142559052, 0.9172404408454895, 0.2512401044368744, -0.29885831475257874, -1.3013038635253906, -0.15137819945812225, -0.04653420299291611, 0.23361937701702118, 0.41019707918167114, -0.6919358968734741, 0.9436047077178955, -0.32546693086624146, -0.3150947093963623, -0.01412022951990366, 0.3752901256084442, 0.025381166487932205, -0.062143176794052124, 0.34130948781967163, 0.3943711221218109, 0.7273620367050171, -0.12986591458320618, 1.0013868808746338, -0.3573717474937439, 0.295515775680542, 1.0420935153961182, -0.16996577382087708, 0.7325952649116516, 0.41832268238067627, 0.01994020864367485, 0.2503751814365387, 0.4307285249233246, 0.05419909954071045, 0.514173686504364, 0.3623630404472351, -0.05714394897222519, -0.49111634492874146, -0.08858291059732437, -0.2435077279806137, 0.46411842107772827, 0.481533020734787, -0.41212499141693115, -0.265103816986084, 0.12380354106426239, -0.07815462350845337, -0.02125317044556141, -0.6047723889350891, 0.8396110534667969, 0.059811852872371674, -0.7867451906204224, 0.8316490650177002, 0.12079460173845291, 0.8628057241439819, -0.5383560061454773, 0.20766477286815643, -0.059153586626052856, 0.3483371138572693, -0.13463987410068512, -0.6295107007026672, 0.2205686718225479, -0.1007891297340393, -0.4590124785900116, -0.23232851922512054, 0.6942671537399292, -0.3259667456150055, -0.14465370774269104, 0.27043458819389343, 0.5866395831108093, -0.14442329108715057, -0.39869794249534607, -0.3778236210346222, 0.08312565088272095, 0.18086370825767517, -0.3411716818809509, 0.7557662725448608, 0.5451520085334778, 0.06399789452552795, 0.7815618515014648, 0.689666211605072, 0.1419408917427063, 0.1620764136314392, 0.0395658053457737, 0.829042911529541, -0.5040572881698608, -0.10695601999759674, -0.9312115907669067, 0.35892343521118164, 0.2210550159215927, -0.5292540192604065, 0.7295403480529785, 0.4851548969745636, 1.1063573360443115, -0.36875098943710327, 0.8055140972137451, 0.24376384913921356, 0.5529183149337769, -0.5896449685096741, 0.6079211831092834, -0.8081536293029785, 0.1378675252199173, -0.03356455639004707, -0.9203612208366394, -0.27547919750213623, 0.18003547191619873, -0.4150010049343109, 0.14017322659492493, 0.5369355082511902, 0.8429109454154968, -0.2589466869831085, -0.24716930091381073, 0.6201441884040833, 0.2882518172264099, 0.2514769732952118, 0.4601554572582245, 0.5834245681762695, -0.12312367558479309, 0.27660301327705383, -0.08320441097021103, -0.2022709846496582, -0.21451541781425476, -0.6750508546829224, -1.1517850160598755, -0.730561375617981, -0.15370722115039825, 0.14785222709178925, -0.018221428617835045, 0.6056522727012634, 0.6472706198692322, -0.8970442414283752, -0.15450525283813477, -0.3044871985912323, -0.14866095781326294, -0.17910628020763397, -0.17716416716575623, 0.12437836080789566, -0.7115465402603149, -0.9134190678596497, 0.38663843274116516, 0.18294498324394226, 0.01568993553519249, -0.16714629530906677, 0.03619060665369034, 0.20484770834445953, 0.18287809193134308, 0.664432168006897, 0.270731657743454, -0.7911403179168701, -0.22152075171470642, -0.0011436328059062362, -0.052243202924728394, -0.10484521090984344, 0.9949601888656616, -0.43121010065078735, 0.27020806074142456, 0.31674399971961975, 0.5598798394203186, 0.2502885162830353, -0.10754633694887161, 0.6439120173454285, -0.7213950157165527, -0.045125339180231094, -0.15836572647094727, 0.3909268379211426, 0.14771796762943268, -0.2646348774433136, 0.267355740070343, -0.0689365491271019, -0.9378368854522705, -0.8257326483726501, 0.5131811499595642, -0.5966407060623169, -0.4319591522216797, 1.4815921783447266, 0.19948667287826538, 0.20463839173316956, -0.10089138150215149, -0.22449098527431488, 0.29851034283638, -0.2189725935459137, 0.7857429385185242, 0.778465747833252, -0.13611918687820435, 0.07346665114164352, -0.684868574142456, 0.8317568898200989, 0.5935059785842896, -0.5947617888450623, 0.5385942459106445, 0.3745328187942505, 0.5676568746566772, -0.07650920003652573, 0.2364160120487213, 0.2780337929725647, 0.055489443242549896, -0.5852571129798889, -0.22857718169689178, -0.09302497655153275, -0.3071134388446808, -0.5246374011039734, 0.17855465412139893, 0.4241967499256134, 0.06691907346248627 ]
http://arxiv.org/abs/2403.09159v1
http://arxiv.org/pdf/2403.09159v1
Basque and Spanish Counter Narrative Generation: Data Creation and Evaluation
2024-03-14T08:12:47
2024-03-14T08:12:47
Jaione Bengoetxea, Yi-Ling Chung, Marco Guerini, Rodrigo Agerri
cs.CL
cs.CL
Counter Narratives (CNs) are non-negative textual responses to Hate Speech (HS) aiming at defusing online hatred and mitigating its spreading across media. Despite the recent increase in HS content posted online, research on automatic CN generation has been relatively scarce and predominantly focused on English. In this paper, we present CONAN-EUS, a new Basque and Spanish dataset for CN generation developed by means of Machine Translation (MT) and professional post-edition. Being a parallel corpus, also with respect to the original English CONAN, it allows to perform novel research on multilingual and crosslingual automatic generation of CNs. Our experiments on CN generation with mT5, a multilingual encoder-decoder model, show that generation greatly benefits from training on post-edited data, as opposed to relying on silver MT data only. These results are confirmed by their correlation with a qualitative manual evaluation, demonstrating that manually revised training data remains crucial for the quality of the generated CNs. Furthermore, multilingual data augmentation improves results over monolingual settings for structurally similar languages such as English and Spanish, while being detrimental for Basque, a language isolate. Similar findings occur in zero-shot crosslingual evaluations, where model transfer (fine-tuning in English and generating in a different target language) outperforms fine-tuning mT5 on machine translated data for Spanish but not for Basque. This provides an interesting insight into the asymmetry in the multilinguality of generative models, a challenging topic which is still open to research.
[ -0.5776185989379883, -0.6467152833938599, 0.03795510157942772, 0.24073554575443268, -0.2533227205276489, 0.3004661798477173, -0.2893863320350647, -0.6192634105682373, 0.6335518956184387, 0.706646203994751, -0.682886004447937, -0.43034014105796814, -0.7101640701293945, 0.5883963704109192, -0.5032931566238403, 1.2971103191375732, 0.010358093306422234, 0.2626993656158447, 0.13913486897945404, -0.43729299306869507, -0.4735962748527527, -0.5846734046936035, -0.7743650078773499, -0.17460231482982635, 0.7008545994758606, 0.09707285463809967, 0.7365211248397827, 0.4989760220050812, 0.10467857867479324, 0.2455323338508606, 0.43649980425834656, 0.3670438528060913, -0.8384289741516113, 0.13740848004817963, -0.35579368472099304, -0.5039930939674377, -0.25834688544273376, -0.05999713018536568, 0.22589200735092163, 0.5632032752037048, 0.17416895925998688, 0.24552616477012634, 0.22559754550457, 0.449642151594162, -0.31092631816864014, -0.2182401716709137, -0.8154152631759644, 0.252275675535202, -0.3357236385345459, -0.523000955581665, -0.40787050127983093, -0.5176961421966553, 0.06952688097953796, -0.642955482006073, 0.7952724695205688, -0.08662758767604828, 0.6493011116981506, 0.3208760619163513, -0.5623384714126587, -0.5904882550239563, -0.615692138671875, 0.9385600686073303, -0.5059274435043335, 0.3049812614917755, 0.25469598174095154, 0.22866620123386383, -0.29941749572753906, -0.4881775379180908, -0.6857302188873291, -0.0549444779753685, 0.11144040524959564, 0.3771483600139618, -0.8621159195899963, -0.33440735936164856, -0.11918119341135025, 0.2520884573459625, -0.936423659324646, 0.44327476620674133, -0.8707307577133179, -0.11196844279766083, 0.7963575720787048, 0.34747743606567383, 0.46991491317749023, -0.21719710528850555, -0.22276665270328522, -0.1335856318473816, -1.16049063205719, -0.24044948816299438, 1.0191930532455444, 0.2870059013366699, -0.1389203816652298, 0.5990625023841858, 0.00764396321028471, 0.6031365990638733, -0.01602860540151596, -0.12183202058076859, 0.38616788387298584, -0.13253282010555267, 0.04041163623332977, 0.20640388131141663, 1.1473361253738403, 0.6629458069801331, 0.5133935213088989, -0.3015577495098114, 0.38996192812919617, 0.6532287001609802, 0.5627853870391846, -0.576611340045929, -0.08132146298885345, 0.012783761136233807, -0.381462424993515, -0.568286120891571, -0.26179295778274536, -0.9220661520957947, -0.24876566231250763, -0.22444674372673035, 0.07047712057828903, -0.2600502073764801, -0.25758641958236694, 0.20480218529701233, -0.30239737033843994, -0.07039766013622284, 0.2503190040588379, -0.5003364682197571, 0.2250402569770813, 0.22934088110923767, 0.553762674331665, -0.6269726157188416, -0.4616069197654724, -0.4456152021884918, 0.11608826369047165, -0.5842434763908386, 0.6791235208511353, -0.2601279616355896, -0.4038101136684418, 0.044682737439870834, 0.3291620910167694, -0.06635785102844238, -0.48708248138427734, 0.5489714741706848, -0.3469392657279968, 0.5855891108512878, -0.10538111627101898, 0.008770117536187172, -0.2717572748661041, 0.3462684154510498, -0.6742594838142395, 1.2479772567749023, -0.19369646906852722, -0.7811567783355713, 0.22981134057044983, -0.32900163531303406, -0.5376209020614624, -0.19533032178878784, -0.2696632444858551, -0.1570170670747757, 0.057412780821323395, 0.2901735007762909, 0.22890040278434753, -0.7151350378990173, 0.5053483247756958, -0.08012783527374268, 0.1388128250837326, 0.028313670307397842, -0.715535581111908, 1.0290659666061401, 0.346464067697525, -0.5723795890808105, 0.0340893529355526, -0.8343693017959595, -0.24486148357391357, 0.3814249336719513, -0.06518585979938507, -0.2010522186756134, 0.025428203865885735, -0.04387550428509712, 0.37842583656311035, 0.03793095424771309, -0.9033164978027344, -0.2539385259151459, -0.3285176753997803, 0.039826374500989914, 0.44785624742507935, -0.05804245173931122, -0.20418569445610046, -0.4313373267650604, 0.9949407577514648, -0.292215496301651, -0.04889995977282524, -0.08437979221343994, -0.7315277457237244, -0.5643463134765625, 0.08739087730646133, 0.11541835218667984, 0.781143307685852, -1.1920701265335083, 0.24458496272563934, -0.1461341828107834, -0.5883191227912903, -0.6338439583778381, -0.029993217438459396, 0.5779364705085754, 0.6057862043380737, 0.5725802779197693, -0.41186654567718506, -0.9506580233573914, -0.6748396754264832, -0.17609423398971558, 0.029241949319839478, -0.15315359830856323, -0.006533913780003786, 0.2278110235929489, -0.09028881043195724, 0.6170371770858765, -0.46464622020721436, -0.029435496777296066, -0.5880987048149109, 0.413696825504303, 0.015855122357606888, 0.32171061635017395, 0.8335474729537964, -0.4457544684410095, -0.7376319766044617, -0.008725914172828197, -0.9350388646125793, -0.3113395869731903, -0.024994421750307083, 0.024119019508361816, 0.1302495151758194, 0.4389573037624359, -0.06692831963300705, 0.610273003578186, 0.9952448606491089, -0.10801555216312408, 0.6699403524398804, -0.24603627622127533, 0.3986382484436035, -1.1318556070327759, -0.09459177404642105, -0.10742763429880142, -0.19448581337928772, -0.6789238452911377, -0.0615178644657135, -0.5308907628059387, -0.2773544490337372, -0.5578632354736328, 0.38270774483680725, -0.3545483648777008, 0.139837384223938, -0.34966397285461426, 0.18572506308555603, 0.06627361476421356, 0.5415582656860352, 0.29428789019584656, 0.42882999777793884, 0.30952024459838867, -0.48512497544288635, 0.489777147769928, 0.16551852226257324, -0.19275961816310883, 0.71799635887146, -0.7940138578414917, 0.1648239940404892, -0.2463819831609726, 0.351336807012558, -0.7290271520614624, 0.14106041193008423, 0.16506756842136383, -0.5422284007072449, -0.1479080319404602, -0.151701420545578, -0.4247903525829315, -0.5500900149345398, -0.34685054421424866, 0.42345479130744934, 0.2842881679534912, -0.6245973110198975, 0.0587303526699543, 0.5309485793113708, -0.38796189427375793, -0.6033480763435364, -0.9278991222381592, 0.3809424340724945, -0.4360145032405853, -0.4763079285621643, 0.2617063820362091, -0.14649122953414917, -0.1089479923248291, -0.05899011343717575, 0.3296833634376526, 0.06891178339719772, -0.320585161447525, -0.09354756772518158, 0.05642170086503029, -0.23756344616413116, -0.2478867918252945, 0.3192678987979889, -0.13868528604507446, 0.03551078960299492, -0.35476553440093994, 0.8236216306686401, 0.37834179401397705, -0.22805722057819366, -0.17194797098636627, 0.5518075823783875, 0.3743285536766052, -0.4138188064098358, 0.6852598786354065, 0.6797488927841187, -0.21961481869220734, -0.27860602736473083, -0.4633316099643707, 0.24371878802776337, -0.3776117265224457, 0.15579476952552795, -0.49037882685661316, -0.6833794116973877, 0.5946923494338989, 0.1557019203901291, 0.10197185724973679, 0.815948486328125, 0.7887773513793945, 0.11465547978878021, 0.9661604166030884, 0.43923553824424744, 0.12079648673534393, 0.23621737957000732, -0.23496520519256592, 0.07475299388170242, -0.5546036958694458, -0.14437411725521088, -0.7829485535621643, -0.19077926874160767, -0.7341707944869995, -0.3928597867488861, 0.5306262373924255, -0.12634611129760742, 0.09416093677282333, 0.6490980386734009, -0.529640257358551, 0.4412447214126587, 0.3206607699394226, -0.11138680577278137, 0.4065690040588379, 0.0184145737439394, -0.14985497295856476, -0.38930588960647583, -0.9096129536628723, -0.4322243332862854, 1.4756509065628052, 0.08378395438194275, 0.50291508436203, 0.169768288731575, 0.5025777220726013, 0.3898012936115265, 0.1374818980693817, -0.3304632604122162, 0.173376202583313, -0.5993790030479431, -0.3895273208618164, -0.2037292718887329, -0.43178635835647583, -1.4151074886322021, 0.4023343026638031, -0.2041226178407669, -0.5049000978469849, 0.2724631428718567, 0.02290920354425907, -0.30753427743911743, 0.3338925838470459, -0.30238085985183716, 0.935612678527832, -0.3125912547111511, -0.2380022257566452, -0.47058892250061035, -0.5098084211349487, 0.18341472744941711, -0.046486157923936844, 0.24143365025520325, 0.18960455060005188, 0.28004616498947144, 0.9055973291397095, -0.37797999382019043, 0.8859107494354248, 0.02720513567328453, -0.4479033946990967, 0.5834053754806519, 0.3359660804271698, 0.3969877362251282, -0.2724960148334503, -0.2924363911151886, 0.3251413404941559, -0.12626709043979645, -0.21621768176555634, -0.3243449926376343, 0.6256830096244812, -0.6052372455596924, -0.30905410647392273, -0.16103053092956543, -0.6578385829925537, -0.124296173453331, 0.2152033895254135, 0.6248686909675598, 0.5465339422225952, -0.6615729331970215, 0.3229234516620636, 0.5993354320526123, -0.7760769724845886, 0.21204867959022522, 0.636806845664978, -0.20537425577640533, -0.6534311771392822, 0.9919646382331848, 0.4785824120044708, 0.34994032979011536, 0.1460692286491394, 0.199445441365242, -0.2923402190208435, -0.5377536416053772, -1.0673611164093018, -0.02941678650677204, -0.26213979721069336, -0.17188072204589844, -0.8367100954055786, 0.05305210128426552, -0.38147613406181335, -0.4030712842941284, -0.40016844868659973, -0.5544174313545227, 0.030255254358053207, -0.330467164516449, 0.3633834719657898, 0.9347703456878662, -0.2513309121131897, 0.3054620325565338, -0.4670022428035736, 0.8332217335700989, -0.08922746777534485, -0.1072697639465332, -0.038530342280864716, -0.5165318250656128, -0.1813402622938156, 0.17520537972450256, -0.4102550148963928, -1.1761401891708374, 0.7609823346138, -0.21203124523162842, 0.43166884779930115, 0.16301469504833221, 0.22212854027748108, 0.675081729888916, -0.706401526927948, 0.723016619682312, 0.3138108253479004, -0.5313757061958313, 0.5189896821975708, -0.6770070195198059, 0.1536092758178711, 0.5094818472862244, 0.681563138961792, -0.5904675722122192, -0.8980945944786072, -0.844375729560852, -0.7351276278495789, 0.5778878331184387, 0.030153639614582062, 0.22993764281272888, -0.29773011803627014, -0.3552071452140808, 0.6918570399284363, 0.3423890471458435, -0.8737924695014954, -0.19086243212223053, -0.3553047478199005, -0.26964476704597473, -0.23628218472003937, 0.13924624025821686, -0.06443769484758377, -0.22670479118824005, 0.6457350254058838, -0.08147914707660675, -0.17295043170452118, 0.11440295726060867, -0.1629187911748886, -0.22572621703147888, 0.03428399935364723, 0.41371405124664307, 0.514276921749115, 0.16916772723197937, 0.09396877139806747, 0.3852370083332062, -0.29166850447654724, -0.09791862219572067, -0.166347935795784, -0.3899933695793152, 0.3734559416770935, 0.2945845425128937, 0.8650416135787964, 0.07473675161600113, -0.5905510187149048, 0.3950132131576538, 0.10771271586418152, -0.26569700241088867, -0.4193399250507355, -0.2561165392398834, -0.23837405443191528, -0.062418464571237564, 0.2746219038963318, 0.015609247609972954, 0.03425639122724533, -0.7687666416168213, 0.13378483057022095, 0.21991583704948425, -0.06869358569383621, -0.42424970865249634, 0.7928786873817444, 0.1248261034488678, -0.15336553752422333, 0.24645660817623138, -0.4411208927631378, -0.6424073576927185, 0.6513493061065674, 0.9707419276237488, 0.6808971762657166, -0.3971087634563446, 0.6047170758247375, 0.6505804657936096, 0.6078367233276367, 0.2027333378791809, 0.2548869252204895, 0.1206081435084343, -0.756957471370697, -0.27931100130081177, -0.5557110905647278, -0.227908194065094, 0.2406473606824875, -0.7525452971458435, 0.2958909571170807, -0.18995140492916107, 0.15586048364639282, -0.1988227814435959, -0.14912524819374084, -0.6748204827308655, 0.2696245014667511, -0.15313689410686493, 0.4395115077495575, -1.0125999450683594, 0.8071971535682678, 0.11260611563920975, -0.5126512050628662, -0.3962889313697815, -0.2860707640647888, 0.15767261385917664, -0.7156953811645508, 0.39060792326927185, -0.19496944546699524, -0.3788979947566986, -0.1089244857430458, -0.05949467048048973, -0.6120560765266418, 0.6321358680725098, 0.590057909488678, -0.2848367691040039, 0.16004692018032074, 0.6718725562095642, 1.110231637954712, -0.4698489010334015, 0.06814026832580566, 0.32229292392730713, 0.28740763664245605, -0.05823111906647682, -0.984431266784668, -0.07780004292726517, -0.40229272842407227, -0.3853141665458679, 0.0444285124540329, -0.6190028786659241, 0.8694291710853577, 0.18841640651226044, -0.17271997034549713, -0.04795994982123375, 0.44832953810691833, 0.09606923162937164, 0.21377885341644287, 0.23657459020614624, 0.7470378279685974, 0.5714048147201538, 0.10383287072181702, 1.0791009664535522, -0.20083248615264893, -0.22846293449401855, 1.249973177909851, -0.12132640928030014, 0.5968907475471497, 0.1969071626663208, -0.14725235104560852, 0.7117581367492676, 0.3057853877544403, -0.16982857882976532, 0.1804681122303009, 0.318733274936676, -0.08235581964254379, 0.29602107405662537, -0.4538401663303375, -0.49235716462135315, 0.6952636241912842, 0.20150451362133026, -0.3890421390533447, -0.33938831090927124, 0.2919532060623169, 0.3566723167896271, 0.5491076707839966, -0.24145083129405975, 0.7429710626602173, -0.16348212957382202, -0.8539608716964722, 0.7249788641929626, 0.24281679093837738, 0.813426673412323, -0.5790817737579346, 0.08242310583591461, -0.08854977786540985, -0.14037315547466278, -0.31580737233161926, -0.5138773918151855, 0.8245719075202942, 0.7536582946777344, -0.2848534882068634, -0.4518451690673828, 0.2621334195137024, -0.5919216871261597, -0.6972752809524536, 0.5955171585083008, 0.513063371181488, 0.4608764052391052, 0.1725156009197235, -0.4902576804161072, 0.13483954966068268, 0.1787688434123993, 0.11386053264141083, 0.22238494455814362, 0.5066214203834534, -0.43189769983291626, 0.13712212443351746, 0.7128668427467346, 0.357960969209671, 0.5483070015907288, 0.417521595954895, 0.460096538066864, -0.38368499279022217, -0.5626545548439026, -0.5914927124977112, 0.3179551661014557, 0.014702488668262959, -0.604316234588623, 0.9613975286483765, 0.8797897696495056, 1.322337031364441, -0.04301196709275246, 0.9617443084716797, -0.15388022363185883, 0.6972569227218628, -0.36029213666915894, 0.5949893593788147, -0.3508376479148865, -0.10802683234214783, -0.44213807582855225, -0.7031419277191162, -0.19304752349853516, 0.2244003713130951, -0.43908941745758057, -0.45060619711875916, 0.684969425201416, 0.8267279267311096, 0.0028254971839487553, 0.06131206452846527, 0.22718240320682526, 0.11434657871723175, 0.15645059943199158, 0.4396369159221649, 0.765864908695221, -0.6766639947891235, 0.6856579184532166, -0.08309570699930191, -0.07115387171506882, 0.4234412610530853, -0.5998324751853943, -0.7984310388565063, -0.5025937557220459, -0.11932051181793213, -0.24900639057159424, 0.1292281299829483, 0.6000486612319946, 0.1526087075471878, -0.9573087692260742, -0.5280696153640747, -0.1116923913359642, 0.03527265042066574, -0.07192764431238174, -0.2277819663286209, 0.27652356028556824, -0.11265829205513, -0.9941994547843933, 0.8192802667617798, 0.006498752161860466, -0.22533364593982697, -0.35594725608825684, -0.25380852818489075, -0.10651929676532745, 0.13425113260746002, 0.6595008969306946, 0.4872788190841675, -0.5777064561843872, -0.04195849969983101, -0.17513149976730347, 0.15723983943462372, 0.0722317025065422, 0.9596917629241943, -0.8095707893371582, 0.55607008934021, 0.474641889333725, 0.7102876305580139, 0.6520088911056519, -0.24429309368133545, 1.005383014678955, -0.7634109258651733, 0.4663303792476654, 0.11911316961050034, 0.3088807463645935, 0.3079596757888794, -0.24701857566833496, 0.6462209820747375, 0.24793705344200134, -0.04099566116929054, -0.9352073669433594, 0.34267479181289673, -0.541512131690979, -0.1924522966146469, 0.8547319173812866, -0.03803955763578415, 0.16149446368217468, -0.4742039740085602, -0.26917076110839844, 0.5059897303581238, 0.10332062840461731, 0.781863808631897, 0.45481109619140625, -0.1587747186422348, 0.0771634429693222, -0.767540454864502, 0.40709060430526733, 0.422285258769989, -0.7612921595573425, -0.12367010861635208, 0.562604546546936, 0.0023321849294006824, 0.20818324387073517, 0.5838829278945923, -0.4554581642150879, 0.2713669538497925, 0.2524997591972351, 0.20752626657485962, -0.03441890329122543, -0.56298828125, -0.10597748309373856, 0.3720070719718933, -0.47412392497062683, -0.04151298850774765 ]
http://arxiv.org/abs/2403.09148v1
http://arxiv.org/pdf/2403.09148v1
Evaluating LLMs for Gender Disparities in Notable Persons
2024-03-14T07:58:27
2024-03-14T07:58:27
Lauren Rhue, Sofie Goethals, Arun Sundararajan
cs.CL
cs.CL, cs.IR
This study examines the use of Large Language Models (LLMs) for retrieving factual information, addressing concerns over their propensity to produce factually incorrect "hallucinated" responses or to altogether decline to even answer prompt at all. Specifically, it investigates the presence of gender-based biases in LLMs' responses to factual inquiries. This paper takes a multi-pronged approach to evaluating GPT models by evaluating fairness across multiple dimensions of recall, hallucinations and declinations. Our findings reveal discernible gender disparities in the responses generated by GPT-3.5. While advancements in GPT-4 have led to improvements in performance, they have not fully eradicated these gender disparities, notably in instances where responses are declined. The study further explores the origins of these disparities by examining the influence of gender associations in prompts and the homogeneity in the responses.
[ -0.3116612434387207, -0.7978184819221497, 0.972205638885498, 0.11592705547809601, 0.12919175624847412, 0.07876934856176376, 0.02113025262951851, -0.4407580494880676, 0.063516765832901, 0.17305253446102142, -0.5972191691398621, -0.36136290431022644, -1.0066736936569214, 0.41943517327308655, -0.5502042174339294, 0.7699127793312073, 0.2922334671020508, 0.37271928787231445, 0.010748767293989658, 0.09653995931148529, -0.9552169442176819, -0.8422763347625732, -0.37360626459121704, -0.2459588646888733, 0.5004602074623108, 0.12343087047338486, 0.6393844485282898, 0.19726137816905975, 0.5694540739059448, 0.3305417001247406, -0.26573365926742554, 0.10576556622982025, -0.6693740487098694, 0.031500864773988724, -0.18553462624549866, -0.4789727032184601, -0.4285552203655243, 0.32968154549598694, 0.8161221742630005, 0.998300313949585, -0.29376131296157837, 0.0696667730808258, 0.07441532611846924, 0.721021294593811, -0.42069002985954285, 0.07216865569353104, -0.775576651096344, 0.3625124990940094, -0.0979333221912384, -0.1735675185918808, -0.31283998489379883, -0.7040043473243713, 0.45537233352661133, -0.2504603862762451, 0.7579934000968933, 0.15630747377872467, 0.6289232969284058, -0.04104220122098923, -0.5267823934555054, -0.5944610834121704, -0.7774888277053833, 0.6712610125541687, -0.41466060280799866, 0.42852139472961426, 0.49611490964889526, 0.38073915243148804, -0.19581037759780884, -0.4463656544685364, -0.48396989703178406, -0.5388666987419128, -0.24337512254714966, -0.09424754232168198, -0.12215780466794968, -0.06991876661777496, 0.6989902257919312, 0.46711423993110657, -0.625636100769043, 0.06546599417924881, -0.4614725410938263, -0.20687665045261383, 0.4211227595806122, 0.39531898498535156, 0.16771487891674042, -0.21263901889324188, -0.07443317770957947, 0.25689205527305603, -0.7051281332969666, -0.33342185616493225, 0.7941500544548035, 0.37118473649024963, 0.12391038984060287, 0.6261934638023376, -0.042093198746442795, 0.41225603222846985, 0.11492642015218735, -0.22277399897575378, 0.29917585849761963, -0.20880070328712463, -0.052493203431367874, 0.1210002526640892, 0.45432746410369873, 0.39532020688056946, 0.23491303622722626, -0.2686368525028229, -0.30175116658210754, -0.06077881157398224, 0.2720578908920288, -0.7266342639923096, 0.081575907766819, -0.13660234212875366, -0.555929958820343, 0.06300391256809235, 0.15226173400878906, -0.9318467378616333, -0.7956096529960632, -0.32078275084495544, 0.4155588448047638, -0.17549428343772888, -0.305306077003479, 0.13884322345256805, -0.2720710039138794, 0.17803244292736053, 0.4847414791584015, -1.0717662572860718, 0.2601749300956726, 0.5955238342285156, 0.800143301486969, -0.046766605228185654, -0.157913476228714, -0.48869001865386963, -0.06660236418247223, -0.2719654440879822, 0.5495947003364563, -0.5181865692138672, -0.5566869974136353, 0.03296998143196106, 0.1556895226240158, -0.12862055003643036, -0.7357563972473145, 0.47666430473327637, -0.31053999066352844, 0.3464517891407013, -1.0766907930374146, -0.3816513419151306, -0.2236894816160202, 0.2969576120376587, -0.7471672892570496, 0.7505984902381897, 0.16128985583782196, -0.8969820737838745, 0.5115569233894348, -0.4856245219707489, -0.11121896654367447, -0.022695384919643402, -0.6623439788818359, -0.26649436354637146, 0.2559945583343506, 0.12694744765758514, 0.26761314272880554, -0.4074154496192932, 0.599028468132019, -0.08594684302806854, -0.6209732294082642, 0.25015318393707275, -0.7338613271713257, 0.4498498737812042, -0.004949796013534069, -0.5638139247894287, 0.050859905779361725, -0.6015816926956177, -0.6944661736488342, 0.2709732949733734, -0.12896662950515747, -0.2935289740562439, 0.03205882012844086, -0.33175453543663025, 0.13228389620780945, 0.031107613816857338, -0.46406352519989014, 0.039852406829595566, -0.05309794470667839, 0.24455299973487854, 1.0320982933044434, -0.24084170162677765, 0.25096234679222107, -0.3982703983783722, 0.41958463191986084, 0.14370641112327576, 0.11383625864982605, 0.1955583095550537, -0.5880988240242004, -0.5024911761283875, -0.3162374198436737, 0.16586807370185852, 0.3506423234939575, -0.7467141151428223, 0.13125182688236237, -0.20435605943202972, -0.03604520112276077, -0.33088812232017517, -0.1605921983718872, 0.2271624207496643, 0.6718994975090027, 0.19028358161449432, -0.20162789523601532, -0.36438021063804626, -1.2687188386917114, -0.23698286712169647, -0.2578577399253845, -0.1541343778371811, 0.25426697731018066, 0.7294207215309143, -0.2005806714296341, 0.7622876167297363, -0.43344607949256897, -0.13990186154842377, -0.2208460569381714, 0.20297442376613617, 0.11465214192867279, 0.1605476289987564, 0.5812616944313049, -0.7056308388710022, 0.04524754732847214, -0.3974432647228241, -0.8657131791114807, -0.07558687776327133, 0.19054724276065826, -0.015641331672668457, 0.18598543107509613, 0.211528941988945, -0.6967172026634216, 0.4746665060520172, 0.38198453187942505, -0.6364547610282898, 0.6594730615615845, 0.012245604768395424, 0.5327907800674438, -0.5051925182342529, -0.006224947981536388, 0.022449271753430367, -0.03457958623766899, -0.5123154520988464, -0.3623539209365845, -0.13473044335842133, 0.28726574778556824, -0.1951458901166916, 0.36312875151634216, -0.5705275535583496, -0.49084851145744324, -0.009344223886728287, 0.33386120200157166, -0.21373917162418365, 0.03843598812818527, -0.02687661349773407, 0.8272054195404053, 0.20559528470039368, -0.5539724230766296, -0.03588971495628357, 0.23921909928321838, -0.20743848383426666, 0.7384505867958069, -0.5049935579299927, 0.2767897844314575, -0.4692780375480652, 0.09962023049592972, -1.1542636156082153, -0.2788187563419342, 0.3062872588634491, -0.3074619770050049, 0.15542641282081604, -0.004117810633033514, -0.6075742840766907, -0.6641119122505188, -0.3987569212913513, 0.40220555663108826, 0.45851293206214905, -0.435065895318985, 0.5831151008605957, 0.37504372000694275, -0.22549480199813843, -0.5570040941238403, -0.5413656830787659, 0.03056536428630352, -0.3807870149612427, -0.3645422160625458, -0.005840310826897621, -0.27140170335769653, -0.498884379863739, -0.41516101360321045, -0.18842509388923645, 0.09858844429254532, 0.05339014157652855, 0.08770649880170822, 0.3209575116634369, 0.013044439256191254, 0.22418393194675446, -0.05497480183839798, 0.13414007425308228, 0.31123125553131104, 0.2428666055202484, 0.6403419971466064, -0.062411025166511536, -0.588828444480896, -0.3141053318977356, 0.40635666251182556, 0.445405513048172, 0.16747304797172546, 0.7549256682395935, 0.628403902053833, -0.52152419090271, 0.2556705176830292, -0.9009082913398743, -0.6313474178314209, -0.42120349407196045, 0.5799269676208496, -0.477897971868515, -1.328012228012085, 0.8053340315818787, 0.3356119394302368, -0.12248688191175461, 0.44092756509780884, 0.616926372051239, 0.16834591329097748, 1.0052598714828491, 0.4750514626502991, 0.10183083266019821, 0.2558354437351227, 0.07298613339662552, 0.3171407878398895, -0.7528848052024841, -0.4404247999191284, -0.7299053072929382, -0.15001548826694489, -0.8156822323799133, -0.2502250671386719, 0.09446238726377487, -0.2502096891403198, -0.43601304292678833, -0.3278615474700928, -0.5349041819572449, 0.32810282707214355, 0.41594642400741577, 0.2046179324388504, 0.41901442408561707, -0.06356535106897354, 0.13475337624549866, -0.4349304437637329, -0.5281167030334473, -0.6787448525428772, 1.0899624824523926, 0.7228497266769409, 0.630222499370575, 0.44529056549072266, 0.302350789308548, 0.5248828530311584, 0.33847761154174805, -0.5855041742324829, 0.6698232293128967, -0.06482696533203125, -0.8796292543411255, -0.385177344083786, -0.6393994092941284, -0.8093738555908203, 0.5243582129478455, -0.019006306305527687, -0.8278282284736633, 0.25994035601615906, -0.16841809451580048, -0.24564215540885925, 0.32201048731803894, -0.45450618863105774, 0.38237878680229187, 0.004117803648114204, -0.217390239238739, 0.14338836073875427, -0.5542249083518982, 0.8294541835784912, -0.27669277787208557, 0.2072562575340271, -0.37075889110565186, 0.22909170389175415, 0.7650494575500488, -0.13284245133399963, 0.8589513897895813, -0.3983583152294159, -0.45024609565734863, 0.1327521651983261, 0.15615785121917725, 0.36441779136657715, 0.21795985102653503, -0.14813174307346344, 0.5587947368621826, -0.2623620629310608, -0.1877359300851822, -0.414897084236145, 0.6188870668411255, -0.7702126502990723, -0.9722192287445068, -0.6499909162521362, -0.7536287903785706, -0.1548626720905304, -0.022391024976968765, 0.0280454084277153, 0.3315861225128174, -0.2529779374599457, -0.13261301815509796, 0.8879348635673523, -0.5744282007217407, 0.32656675577163696, 0.7755168080329895, -0.27602049708366394, -0.15409205853939056, 0.33192527294158936, 0.33319997787475586, 0.24977974593639374, 0.1281563639640808, 0.06926512718200684, -0.6072030067443848, -0.5134802460670471, -0.28394046425819397, 0.44185641407966614, -0.8117403388023376, 0.00464671803638339, -0.8217787146568298, -0.1821533739566803, -0.45408618450164795, 0.24275106191635132, -0.2133665531873703, -0.10168854147195816, -0.19468291103839874, -0.3478030562400818, 0.20620612800121307, 1.0135027170181274, 0.06466076523065567, 0.13968335092067719, -0.3402513861656189, 0.5491363406181335, 0.5514734387397766, 0.204920694231987, 0.08129432797431946, -0.8582573533058167, 0.19804218411445618, -0.14041855931282043, -0.307857483625412, -1.0210716724395752, 0.15677113831043243, -0.37390756607055664, 0.8299106359481812, 0.018908731639385223, -0.20045973360538483, 0.5809831023216248, -0.6048850417137146, 1.0779486894607544, 0.29303044080734253, -1.0196213722229004, 0.36148500442504883, -0.43578454852104187, 0.11337310075759888, 0.39531630277633667, 0.4180300235748291, -0.4399833381175995, -0.4452687203884125, -0.21787534654140472, -0.7240821719169617, 0.767117977142334, 0.3521151840686798, 0.2077387571334839, -0.40212005376815796, 0.5991735458374023, 0.3540340065956116, 0.4553791284561157, -0.8503338098526001, -0.43622153997421265, 0.016780098900198936, 0.06225181743502617, 0.1244247779250145, -0.686626136302948, -0.169258251786232, -0.3747814893722534, 0.30116140842437744, -0.009094088338315487, 0.6427459716796875, 0.29770874977111816, -0.13399119675159454, 0.09226434677839279, 0.4223107397556305, 0.9352598190307617, 0.9939834475517273, -0.3237450420856476, 0.2799176871776581, 0.4469050467014313, -0.7579841613769531, 0.32368022203445435, -0.02217189408838749, -0.07061192393302917, 0.19268843531608582, 0.3040449023246765, 0.8112220168113708, -0.17833012342453003, -0.4148995578289032, 0.4821168780326843, -0.4681248664855957, -0.461313933134079, -0.18473564088344574, -0.18026043474674225, -0.04334476590156555, 0.3934904634952545, 0.5419467687606812, -0.2584547996520996, 0.4485117197036743, -0.667708694934845, -0.013147324323654175, 0.5452013611793518, -0.4285694658756256, -0.25425437092781067, 0.8063103556632996, 0.04375842586159706, -0.147976353764534, 0.8636905550956726, -0.2259702831506729, -0.4267604351043701, 0.6241108775138855, 0.5988754034042358, 0.9593310952186584, -0.369741290807724, 0.29675987362861633, 0.3902200162410736, 0.6545536518096924, -0.3584728538990021, 0.2332501858472824, 0.4242197871208191, -0.5888932943344116, -0.15629643201828003, -0.5640580654144287, -0.1678152084350586, 0.30490946769714355, -0.5085811614990234, 0.16365136206150055, -0.35180649161338806, -0.5323621034622192, -0.32664111256599426, -0.17136920988559723, -0.803221583366394, 0.031248750165104866, 0.22733622789382935, 0.535934567451477, -0.9717680811882019, 0.3395836651325226, 0.31981441378593445, -0.5840039849281311, -0.6680433750152588, 0.26943308115005493, 0.181708425283432, -0.6739552021026611, 0.9681143760681152, 0.2825681269168854, -0.26441866159439087, -0.21813273429870605, -0.19957371056079865, -0.6859807372093201, 1.160083293914795, 0.6793138384819031, -0.9289528131484985, -0.06925762444734573, 0.42145246267318726, 0.42980140447616577, -0.31991738080978394, 0.699323832988739, 0.8776426315307617, 0.5813581943511963, 0.06682029366493225, -1.2294557094573975, 0.2809843122959137, 0.16450442373752594, 0.3439010977745056, -0.04563033580780029, -0.5223895907402039, 1.1786452531814575, -0.24782532453536987, -0.13050693273544312, 0.021341122686862946, 0.4475906491279602, 0.693803071975708, 0.43420955538749695, 0.4865296483039856, 0.21838133037090302, 1.0940123796463013, -0.3723929226398468, 1.009817361831665, 0.194564551115036, 0.41938307881355286, 0.9191527962684631, -0.49943581223487854, 0.20190449059009552, 0.43307921290397644, -0.3362109959125519, 0.24941478669643402, 0.5669320821762085, 0.0993945300579071, 0.4556916356086731, 0.5417820811271667, -0.3433752954006195, 0.015313913114368916, -0.008298509754240513, -0.6928600668907166, 0.2529086172580719, 0.19414468109607697, -0.564863920211792, -0.12401601672172546, -0.0916888490319252, 0.0869692787528038, 0.073166623711586, -0.2560284435749054, 0.460381418466568, 0.16638563573360443, -0.31623348593711853, 0.36851391196250916, 0.007831386290490627, 0.7206937074661255, -0.4225398004055023, -0.25533872842788696, -0.5608545541763306, -0.0520002618432045, -0.14006394147872925, -0.6583574414253235, 0.15185803174972534, 0.0462554506957531, -0.57648766040802, 0.17272250354290009, 0.5756073594093323, -0.314240962266922, -0.4870394170284271, 0.3911131024360657, 0.5974066257476807, 0.2684154510498047, -0.09867711365222931, -0.6444922089576721, 0.2985292375087738, 0.08271720260381699, -0.18633991479873657, 0.3169490396976471, 0.6110260486602783, -0.32009202241897583, 0.6194084286689758, 0.30518394708633423, -0.09626934677362442, 0.1663660854101181, 0.6484947204589844, 0.6268406510353088, -0.8005629181861877, -0.32250654697418213, -1.1292803287506104, 0.3603118658065796, -0.03330308571457863, -0.054762620478868484, 0.9411430954933167, 0.5433894395828247, 0.4982036054134369, -0.14560972154140472, 0.6730695366859436, 0.1488265097141266, 0.6580840349197388, -0.5585523247718811, 0.693331241607666, -0.2897554039955139, 0.7310636043548584, -0.6383402347564697, -1.2351819276809692, -0.17737695574760437, 0.7361849546432495, -0.6150007247924805, 0.8042763471603394, 0.8211134672164917, 0.8891448974609375, 0.09906674176454544, 0.2336302101612091, 0.5210381746292114, 0.2870580554008484, 0.5084089636802673, 0.3460288345813751, 1.3193076848983765, -0.3943134844303131, 0.12550325691699982, 0.35020893812179565, -0.2509046494960785, -0.1777949184179306, -0.7843403220176697, -1.0780876874923706, -0.35854393243789673, -0.20732736587524414, -0.24344518780708313, 0.3687499165534973, 0.6439240574836731, 0.4175635278224945, -0.46504759788513184, -0.1662776619195938, 0.2195890098810196, 0.2398330569267273, 0.21587233245372772, -0.24555134773254395, 0.27739381790161133, -0.15065662562847137, -0.7299114465713501, -0.049698926508426666, 0.1558762937784195, 0.07370881736278534, -0.5043002963066101, -0.14280728995800018, 0.050826020538806915, 0.026740599423646927, 0.8412997722625732, -0.3988701105117798, -0.9462342858314514, -0.5353178381919861, 0.02345101162791252, -0.14495670795440674, 0.029224447906017303, 0.6937996745109558, -0.5818939208984375, 0.06980924308300018, 0.2261573225259781, 0.23237863183021545, 0.22515632212162018, 0.014224395155906677, 0.39219343662261963, -0.57025545835495, 0.05681084096431732, 0.08507797122001648, 0.3262477219104767, 0.5721249580383301, -0.5362353920936584, 0.49235016107559204, 0.5718308091163635, -0.6729956269264221, -0.9033845067024231, 0.10936452448368073, -0.7166057229042053, -0.30100807547569275, 1.2464370727539062, 0.19697706401348114, 0.2071022093296051, -0.23822829127311707, -0.38697823882102966, 0.09758683294057846, -0.45260679721832275, 1.0764538049697876, 0.9309859871864319, -0.0984961986541748, -0.18021215498447418, -1.1702229976654053, 0.32380416989326477, 0.2381461262702942, -0.6733968257904053, 0.10351774841547012, 0.8749547600746155, 0.43332940340042114, -0.040633127093315125, 0.8874439001083374, -0.43814346194267273, -0.0031049614772200584, -0.010083477944135666, 0.03281072899699211, 0.25732743740081787, -0.3735874593257904, -0.3893754780292511, 0.19038832187652588, 0.18655157089233398, 0.050552550703287125 ]
http://arxiv.org/abs/2403.09131v3
http://arxiv.org/pdf/2403.09131v3
ProSwitch: Knowledge-Guided Instruction Tuning to Generate Professional and Non-Professional Styled Text
2024-03-14T06:49:16
2024-04-16T03:31:25
Chang Zong, Yuyan Chen, Weiming Lu, Jian Shao, Yueting Zhuang
cs.CL
cs.CL, cs.AI, 68T50, I.2.7
Large Language Models (LLMs) have demonstrated efficacy in various linguistic applications, including text summarization and controlled text generation. However, studies into their capacity of switching between styles via fine-tuning remain underexplored. This study concentrates on textual professionalism and introduces a novel methodology, named ProSwitch, which equips a language model with the ability to produce both professional and non-professional responses through knowledge-guided instruction tuning. ProSwitch unfolds across three phases: data preparation for gathering domain knowledge and training corpus; instruction tuning for optimizing language models with multiple levels of instruction formats; and comprehensive evaluation for assessing the professionalism discrimination and reference-based quality of generated text. Comparative analysis of ProSwitch against both general and specialized language models reveals that our approach outperforms baselines in switching between professional and non-professional text generation.
[ -0.2503378093242645, -0.7768827080726624, 0.28805410861968994, 0.021094195544719696, -0.29888996481895447, 0.1402054727077484, -0.25068220496177673, -0.13397164642810822, -0.01712387055158615, 0.9738806486129761, -0.7595672607421875, -0.5469914078712463, -0.4425515830516815, 0.18577498197555542, -0.4023481607437134, 1.1120295524597168, -0.11410405486822128, 0.33887776732444763, -0.128590390086174, 0.12942661345005035, -0.4693847894668579, -0.11565214395523071, -0.5069239139556885, -0.5136312246322632, 0.14960666000843048, 0.5304557085037231, 0.8675940036773682, 0.4845649302005768, 0.7099264860153198, 0.26913779973983765, 0.27260223031044006, 0.6321315169334412, -0.46527424454689026, 0.0613795667886734, -0.3338097035884857, -0.5668824911117554, -0.5677985548973083, 0.32113391160964966, 0.44883713126182556, 0.318747341632843, -0.06335430592298508, 0.4060034155845642, 0.0920419842004776, 0.6624013781547546, -0.5532824397087097, -0.04448135942220688, -0.7851006388664246, -0.22584034502506256, -0.5252107977867126, -0.5947871208190918, -0.7224641442298889, -0.6849813461303711, -0.06288357824087143, -0.7524217963218689, 0.47762617468833923, 0.14177244901657104, 0.5974416732788086, 0.06743674725294113, -0.3689580261707306, -0.3472954332828522, -0.6710132360458374, 0.8216681480407715, -0.8307528495788574, 0.4934822916984558, 0.40072596073150635, 0.36777934432029724, -0.05273059383034706, -0.7770944237709045, -0.6073194146156311, -0.26064881682395935, 0.05154011771082878, 0.4395887851715088, 0.29134422540664673, 0.19201824069023132, -0.3264967203140259, 0.03506668284535408, -0.25097304582595825, 0.1895417720079422, -0.0966126099228859, 0.04309112951159477, 0.7319583892822266, 0.27087196707725525, 0.24665936827659607, 0.1727169305086136, -0.09260397404432297, 0.017037654295563698, -0.9460812211036682, -0.1416882574558258, 0.7783539295196533, 0.13526372611522675, 0.24794821441173553, 0.37394794821739197, -0.007438382599502802, 0.8687645196914673, 0.2615538239479065, -0.41928526759147644, -0.28651824593544006, -0.48283201456069946, -0.019491812214255333, -0.13345518708229065, 0.6853304505348206, 0.7408319711685181, 0.7801724076271057, -0.3105027973651886, -0.20696943998336792, -0.21707986295223236, 0.6654035449028015, -0.6262727975845337, -0.4405183792114258, 0.012954887002706528, -0.4084313213825226, -0.63912034034729, 0.012101495638489723, -0.8163143992424011, -0.35042092204093933, -0.6473195552825928, 0.235085591673851, -0.42789795994758606, -0.29136666655540466, 0.1467519998550415, -0.04761272296309471, 0.09246242046356201, 0.253423810005188, -1.060325026512146, 0.5164886116981506, 0.6037930250167847, 0.6301942467689514, -0.2867385447025299, -0.16997112333774567, -0.31905728578567505, 0.14336811006069183, -0.7827548980712891, 0.6172879338264465, -0.9314150810241699, -0.5776025056838989, 0.21454618871212006, -0.10754439979791641, -0.1858925074338913, -0.8929242491722107, 0.2501019239425659, -0.8099791407585144, 0.020948942750692368, -0.0592598058283329, -0.5235209465026855, 0.2359684407711029, -0.12055444717407227, -0.4757922291755676, 1.0745773315429688, 0.28697946667671204, -0.8884572386741638, 0.29617464542388916, -0.43680453300476074, -0.4126532971858978, 0.19383761286735535, -0.1485573798418045, -0.5315214991569519, 0.08907916396856308, -0.29247981309890747, 0.3153952360153198, -0.3656393587589264, 0.5320367813110352, 0.032367806881666183, -0.42999890446662903, 0.1905364841222763, -0.019641904160380363, 0.3340986967086792, -0.11312974989414215, -0.3997541069984436, 0.22888395190238953, -0.6229467391967773, -0.050840944051742554, 0.08853793889284134, -0.3530222773551941, -0.3729552924633026, 0.2622889280319214, 0.06689555943012238, 0.002124010119587183, 0.20055066049098969, -0.34065788984298706, 0.3787725269794464, -0.20974862575531006, 0.30407097935676575, 0.7200406193733215, 0.07441690564155579, 0.6877672076225281, -0.3515295684337616, 0.584984540939331, -0.2612590789794922, 0.20640429854393005, 0.16226103901863098, -0.23729395866394043, -0.6805055141448975, 0.05660504475235939, 0.40966352820396423, 0.7439178824424744, -0.989565372467041, 0.2870393991470337, 0.1518888622522354, -0.559923529624939, -0.8273638486862183, 0.10911133885383606, 0.6961923241615295, 0.6992927193641663, 0.6002762913703918, -0.017875704914331436, -0.46843013167381287, -0.827059805393219, -0.6675981879234314, 0.10481616854667664, -0.020606685429811478, 0.07775937020778656, 0.4078386425971985, 0.08124750107526779, 1.091235876083374, -0.6159344911575317, -0.31355714797973633, -0.5177364945411682, 0.4206801652908325, 0.07676008343696594, 0.26006555557250977, 0.5467379093170166, -0.43614640831947327, -0.5276954174041748, -0.10245207697153091, -0.5023396015167236, -0.46373438835144043, -0.5711186528205872, -0.389652818441391, -0.0012277697678655386, 0.5701261162757874, -0.31979939341545105, 0.0248863585293293, 0.3106510639190674, -0.13169319927692413, 1.3986129760742188, -0.1693510264158249, 0.05332845076918602, -0.9786273837089539, -0.04126456752419472, 0.021268319338560104, -0.0202496238052845, -0.7643147706985474, 0.24425964057445526, 0.2269531637430191, 0.24393627047538757, -0.33706530928611755, 0.7807416319847107, -0.5688079595565796, 0.28441235423088074, -0.41600698232650757, 0.12629149854183197, -0.027611659839749336, 0.11062344908714294, 0.2909550964832306, 1.1815378665924072, 0.13363012671470642, -0.8480383157730103, 0.09630758315324783, 0.40121960639953613, -0.3354978561401367, 0.5873239040374756, -0.4920378625392914, 0.0942549929022789, 0.0009597858879715204, 0.08225343376398087, -0.4554165005683899, -0.2119162678718567, -0.060512710362672806, -0.12039361149072647, 0.5313604474067688, 0.0691014900803566, -0.5271133184432983, -0.2243819236755371, -0.4971991181373596, -0.14654383063316345, 0.47291290760040283, -0.1209450513124466, 0.38868504762649536, 0.2093302607536316, -0.25310707092285156, -0.43852075934410095, -0.4555506706237793, -0.06423157453536987, 0.02907339110970497, -0.3423566520214081, 0.6637370586395264, -0.057676877826452255, -0.49670276045799255, -0.42470818758010864, -0.31355294585227966, 0.06287895143032074, 0.0052338456735014915, -0.4586341679096222, 0.29771021008491516, -0.020868003368377686, -0.09892431646585464, 0.5972023010253906, -0.04279463365674019, 0.0564337894320488, -0.3346130847930908, 0.5262308716773987, 0.4064580798149109, -0.1826677918434143, -0.3502686023712158, 0.304555743932724, 0.22600135207176208, -0.5507778525352478, 0.9103554487228394, 0.5904473066329956, 0.11592487245798111, -0.5854796767234802, -0.3801400065422058, -0.5614120364189148, -0.5786094665527344, 0.5940185189247131, -0.2584511935710907, -0.6051150560379028, 0.18169674277305603, -0.4378322958946228, 0.57314133644104, 0.10813778638839722, 0.4976769983768463, -0.305947482585907, 0.8020191192626953, 0.5648741126060486, 0.4911442995071411, 0.75008225440979, -0.17310528457164764, 0.37241828441619873, -0.7991988062858582, -0.17442819476127625, -0.48441797494888306, -0.3810036778450012, -0.5247525572776794, -0.26904189586639404, 0.5077834725379944, 0.3778947591781616, -0.3617275655269623, 0.33495810627937317, -0.46180975437164307, 0.5819196105003357, 0.698404848575592, 0.21269086003303528, 0.1910630464553833, -0.32124951481819153, -0.16583092510700226, -0.32929757237434387, -0.4966363310813904, -0.9168791770935059, 0.9711611270904541, 0.08968706429004669, 0.8454856276512146, 0.1105145812034607, 0.7578254342079163, 0.22795429825782776, 0.2567561864852905, -0.6032723784446716, 0.8776514530181885, -0.7243530750274658, -0.3305128812789917, -0.31182652711868286, -0.11635465919971466, -0.6294727325439453, -0.03863776475191116, -0.30483388900756836, -0.36787280440330505, -0.07492928951978683, 0.43426525592803955, 0.009466713294386864, 0.17728367447853088, -0.6700398921966553, 0.5882581472396851, -0.14716501533985138, -0.5072916150093079, -0.07658834755420685, -0.5703663229942322, 0.43864142894744873, -0.3142363429069519, 0.33084240555763245, 0.03167226165533066, -0.23677268624305725, 0.8292989134788513, -0.3549937605857849, 1.1016535758972168, -0.21752987802028656, -0.2133024036884308, 0.2947583794593811, 0.7520273327827454, 0.5452756881713867, 0.003561371471732855, -0.1710221916437149, -0.1772739440202713, -0.2025524228811264, -0.02248278819024563, -0.37038788199424744, 0.38134264945983887, -0.8397611975669861, -0.6563846468925476, 0.2376183122396469, -0.5322792530059814, -0.580091655254364, 0.49095773696899414, 0.4156743586063385, 0.6752872467041016, -0.17096735537052155, 0.07587281614542007, 1.1066521406173706, -0.14649036526679993, 0.29541072249412537, 0.810472309589386, -0.1277211755514145, -0.2430727630853653, 1.0833089351654053, 0.3146432936191559, 0.4833470582962036, 0.6385235786437988, 0.30167156457901, -0.31803640723228455, -0.764041543006897, -0.4709562361240387, 0.28256896138191223, -0.5080136656761169, -0.31056785583496094, -0.4890657663345337, -0.1954599916934967, -0.4793111979961395, -0.5638721585273743, -0.4129997193813324, -0.1517147570848465, -0.5784398317337036, 0.008839072659611702, 0.33520233631134033, 0.7435410618782043, 0.5549103021621704, 0.6110960245132446, -0.8407584428787231, 0.45972833037376404, 0.21865613758563995, 0.2912857234477997, -0.4057890474796295, -0.6314277648925781, -0.13382188975811005, -0.23019051551818848, -0.5981799364089966, -1.3200581073760986, 0.27599549293518066, 0.5434568524360657, 0.7018190026283264, 0.3524879813194275, 0.34650719165802, 0.12583650648593903, -0.8787273168563843, 0.8841816186904907, 0.11837481707334518, -0.9186015129089355, 0.5507041215896606, -0.8183702826499939, 0.47870779037475586, 0.639316201210022, 0.42293623089790344, -0.4144405722618103, -0.7248681783676147, -0.3673265278339386, -0.8842592835426331, 0.6432167291641235, -0.07665180414915085, 0.24256566166877747, -0.17999015748500824, 0.30722782015800476, 0.40435752272605896, 0.37390780448913574, -0.206527978181839, 0.02648400329053402, -0.3049115538597107, -0.5438721179962158, 0.15969900786876678, -0.1239449679851532, -0.31423068046569824, 0.007948082871735096, 0.542984127998352, -0.4335331916809082, 0.3346620500087738, -0.13631008565425873, -0.19712769985198975, 0.14680297672748566, 0.35525593161582947, 0.6789835095405579, 0.8494815826416016, 0.12659811973571777, 0.20575734972953796, 0.08674588054418564, -0.7551445364952087, -0.0935622975230217, -0.4108316898345947, -0.4185952842235565, 0.032905034720897675, 0.8662758469581604, 0.9196127653121948, 0.5613064169883728, -0.33301639556884766, 0.253611296415329, 0.32266664505004883, -0.7435575127601624, 0.2230951339006424, 0.45528557896614075, 0.3367542624473572, -0.029597049579024315, 0.1715625822544098, 0.07240049540996552, 0.005220890510827303, -0.34195828437805176, 0.22399522364139557, 0.2546483278274536, 0.12916669249534607, -0.4716768264770508, 0.9501340985298157, 0.5370563268661499, -0.6093690395355225, 0.4692968726158142, 0.10454604774713516, -0.17824682593345642, 0.5471889972686768, 0.8912766575813293, 0.7304527163505554, -0.31537702679634094, 0.6841445565223694, 0.2434019297361374, 0.26917406916618347, -0.292283296585083, 0.41240060329437256, 0.06101882830262184, -0.7010090351104736, -0.21421317756175995, -0.7183991074562073, -0.6503111720085144, -0.13545578718185425, -0.8512412905693054, 0.3093162178993225, -0.45890411734580994, -0.3550470173358917, -0.2134454846382141, -0.16534028947353363, -0.5156143307685852, 0.2392699122428894, -0.4238641858100891, 1.2847213745117188, -0.8653745055198669, 0.9082744121551514, 0.765119731426239, -0.24429015815258026, -0.5498486161231995, 0.37593430280685425, -0.08190348744392395, -0.7311080098152161, 0.4445272982120514, -0.13669440150260925, -0.5746909379959106, 0.35300055146217346, -0.5575527548789978, -0.26339495182037354, 1.024640440940857, 0.4230646789073944, -0.8917497396469116, -0.14857517182826996, 0.07390572875738144, 0.6159671545028687, -0.19443395733833313, 0.350230872631073, 0.9835564494132996, 0.47414255142211914, -0.17516237497329712, -0.9729468822479248, -0.24277891218662262, -0.060647156089544296, 0.036228589713573456, 0.2596465051174164, -0.9727150201797485, 0.435872346162796, -0.01588968001306057, 0.08697089552879333, -0.26446032524108887, 0.46167874336242676, 0.3576612174510956, 0.02257527969777584, 0.11829850822687149, -0.1690157800912857, 0.6584652066230774, -0.15020062029361725, 0.5904819965362549, -0.5376594066619873, -0.013696241192519665, 1.155327558517456, -0.3251390755176544, 0.9505161046981812, 0.33112645149230957, -0.23667855560779572, 0.454250693321228, 0.48959866166114807, 0.2869892418384552, 0.6954830288887024, 0.039330191910266876, -0.2772119641304016, -0.30060192942619324, 0.02162552811205387, -0.33327287435531616, 0.455353319644928, 0.19095760583877563, -0.3796905279159546, 0.02584953047335148, -0.07833641767501831, 0.47418704628944397, 0.42226043343544006, -0.24009820818901062, 0.9236266613006592, -0.04541618749499321, -0.934665322303772, 0.5072044134140015, 0.2074202299118042, 0.752382755279541, -0.7777260541915894, 0.031073011457920074, -0.33884531259536743, 0.22556903958320618, -0.13459427654743195, -1.0234081745147705, 0.41973841190338135, 0.07036718726158142, -0.2575238049030304, -0.7138338685035706, 0.7101683616638184, -0.3400668203830719, -0.4052210748195648, 0.06612016260623932, 0.2200174480676651, -0.16392698884010315, 0.3533482551574707, -0.5646733641624451, -0.18111945688724518, -0.21187683939933777, -0.4196633994579315, 0.4942968189716339, 0.16231931746006012, -0.43523433804512024, 0.49861812591552734, 0.29121133685112, 0.07550221681594849, 0.07159384340047836, 0.43114975094795227, 0.8347342014312744, -0.2599620819091797, -0.42483004927635193, -0.6523615121841431, 0.4263981580734253, -0.10277557373046875, -0.5602234601974487, 0.5246458053588867, 0.3258962631225586, 0.8059448599815369, -0.4994228482246399, 0.8090431690216064, 0.23302097618579865, 0.4462708532810211, -0.8600851893424988, 0.8754107356071472, -0.3286929726600647, -0.04612096771597862, -0.23263606429100037, -0.6237832307815552, -0.2122572362422943, 0.3782297968864441, -0.5238633155822754, 0.09997383505105972, 0.7701382040977478, 0.8573240637779236, 0.08737412095069885, 0.02519700489938259, 0.1337665617465973, -0.06851883232593536, 0.2596871554851532, -0.06647934764623642, 0.2983255088329315, 0.09921526908874512, 0.26968708634376526, 0.2817457318305969, -0.519361674785614, -0.2502462565898895, -0.7864816784858704, -0.9956686496734619, -0.3448210656642914, -0.22846822440624237, -0.07448488473892212, 0.32620683312416077, 0.5042904019355774, 0.7570300698280334, -0.7371805906295776, -0.23040500283241272, -0.29566246271133423, -0.2878111004829407, -0.5776258111000061, -0.23054276406764984, 0.12946689128875732, -0.5553740859031677, -0.6622016429901123, 0.5693696141242981, 0.05292171239852905, -0.27969491481781006, -0.3637365400791168, -0.07580268383026123, -0.06165330484509468, 0.7126610279083252, 0.5535834431648254, -0.16246390342712402, -0.47362324595451355, 0.07904046773910522, 0.3559625446796417, -0.06661033630371094, -0.3060804605484009, 1.1428829431533813, -0.26651129126548767, 0.47871217131614685, 0.6502969264984131, 0.4273323714733124, 0.07284805923700333, 0.02802409790456295, 0.7874929308891296, -1.0574311017990112, -0.24191266298294067, 0.09633496403694153, -0.2609705626964569, -0.025051841512322426, -0.39618343114852905, 0.2121763676404953, 0.2552958130836487, -0.5442115068435669, -0.6301605701446533, 0.5175626873970032, -0.48470574617385864, -0.43708479404449463, 1.1887894868850708, 0.09438631683588028, 0.06160757318139076, -0.19544868171215057, -0.5677934288978577, 0.47688308358192444, -0.0951327383518219, 0.6467960476875305, 0.6181446313858032, -0.3241049647331238, -0.34746554493904114, -0.7544469833374023, 0.7004029750823975, 0.25447407364845276, -0.9707520604133606, 0.1374388486146927, 0.18774685263633728, 0.32217684388160706, -0.282022088766098, 0.9704926013946533, -0.015691112726926804, 0.21694403886795044, 0.1328555792570114, 0.17447489500045776, -0.3913344442844391, -0.7059847712516785, 0.5200964212417603, 0.16397562623023987, 0.1640200912952423, -0.12356308102607727 ]