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
sequencelengths
768
768
http://arxiv.org/abs/2407.03321v1
http://arxiv.org/pdf/2407.03321v1
Planetarium: A Rigorous Benchmark for Translating Text to Structured Planning Languages
2024-07-03T17:59:53
2024-07-03T17:59:53
Max Zuo, Francisco Piedrahita Velez, Xiaochen Li, Michael L. Littman, Stephen H. Bach
cs.CL
cs.CL, cs.AI, cs.LG
Many recent works have explored using language models for planning problems. One line of research focuses on translating natural language descriptions of planning tasks into structured planning languages, such as the planning domain definition language (PDDL). While this approach is promising, accurately measuring the quality of generated PDDL code continues to pose significant challenges. First, generated PDDL code is typically evaluated using planning validators that check whether the problem can be solved with a planner. This method is insufficient because a language model might generate valid PDDL code that does not align with the natural language description of the task. Second, existing evaluation sets often have natural language descriptions of the planning task that closely resemble the ground truth PDDL, reducing the challenge of the task. To bridge this gap, we introduce \benchmarkName, a benchmark designed to evaluate language models' ability to generate PDDL code from natural language descriptions of planning tasks. We begin by creating a PDDL equivalence algorithm that rigorously evaluates the correctness of PDDL code generated by language models by flexibly comparing it against a ground truth PDDL. Then, we present a dataset of $132,037$ text-to-PDDL pairs across 13 different tasks, with varying levels of difficulty. Finally, we evaluate several API-access and open-weight language models that reveal this task's complexity. For example, $87.6\%$ of the PDDL problem descriptions generated by GPT-4o are syntactically parseable, $82.2\%$ are valid, solve-able problems, but only $35.1\%$ are semantically correct, highlighting the need for a more rigorous benchmark for this problem.
[ -0.13740649819374084, -0.4880061745643616, 0.7610636949539185, 0.5794728994369507, -0.10278037935495377, -0.15815088152885437, -0.2889825403690338, -0.1674370914697647, -0.4048946797847748, 0.6825241446495056, -0.5390274524688721, -0.5791673064231873, -0.4275631010532379, 0.24479207396507263, -0.4655011296272278, 0.9961271286010742, -0.6269278526306152, -0.032275982201099396, -0.31948328018188477, -0.09188898652791977, -0.15814682841300964, -0.2656855583190918, -0.02899753674864769, -0.3797529935836792, 0.025284869596362114, 0.03955536335706711, 0.719872236251831, 0.6317833662033081, 0.8235626220703125, 0.2432962954044342, -0.02122092992067337, 0.3407069444656372, -0.4377953112125397, -0.3166810870170593, -0.26752907037734985, 0.03278123214840889, -0.46364033222198486, 0.09621880203485489, 0.7572164535522461, 1.2692829370498657, -0.3547745943069458, 0.31279686093330383, 0.009151100181043148, 0.7475038766860962, -0.4649081230163574, 0.4158693552017212, -0.3525334894657135, 0.08067923039197922, -0.09525182098150253, -0.28322309255599976, -0.3696950078010559, -0.5292491912841797, 0.23439401388168335, -0.7183583378791809, 0.18347397446632385, -0.01876325160264969, 1.0079940557479858, 0.4785483777523041, -0.25018516182899475, -0.5321334004402161, -0.9755352139472961, 0.6925347447395325, -0.5864483714103699, 0.3527075946331024, 0.4522072672843933, 0.35069572925567627, -0.3572288751602173, -0.7399351000785828, -0.8210495710372925, -0.39475974440574646, 0.08063214272260666, 0.022428950294852257, -0.06000789627432823, 0.05706853047013283, 0.4534377157688141, 0.2566138505935669, -0.9221388101577759, -0.28788521885871887, -0.396533340215683, -0.051783718168735504, 0.48301586508750916, 0.16049516201019287, 0.20583581924438477, -0.5456310510635376, -0.4116448760032654, -0.15450723469257355, -0.6678014397621155, -0.002997598610818386, 0.556769073009491, 0.09760534018278122, -0.08534743636846542, 0.6549464464187622, -0.37029001116752625, 0.7190887331962585, -0.09145194292068481, -0.3029654026031494, 0.12395205348730087, -0.7627453804016113, -0.41724854707717896, -0.30620846152305603, 0.4491961896419525, 0.6541019082069397, 0.2453477382659912, -0.48878949880599976, -0.32386380434036255, 0.3524515628814697, 0.4650282561779022, -0.8687180876731873, -0.6436992883682251, 0.16163402795791626, -0.22132553160190582, -0.05302054062485695, -0.1977781057357788, -0.4718468487262726, -0.11965595930814743, -0.22637471556663513, 0.13503865897655487, -0.5048791170120239, -0.1471092402935028, 0.20098397135734558, 0.11964043229818344, 0.21593999862670898, 0.3337145745754242, -0.6589621901512146, 0.5697006583213806, 0.7924997806549072, 0.6490928530693054, -0.08431550860404968, -0.3571220934391022, -0.3678743839263916, 0.06854680925607681, -0.7074979543685913, 0.9710944294929504, -0.14514794945716858, -0.5752156972885132, -0.14324314892292023, -0.07012417912483215, 0.003244568593800068, -0.6000016927719116, 1.0167949199676514, -0.18490082025527954, 0.3682892620563507, -0.4091028571128845, -0.5504646301269531, 0.05590621009469032, 0.4829941987991333, -0.400386244058609, 1.001879096031189, 0.43729278445243835, -0.4237090051174164, 0.830349326133728, -0.40417417883872986, -0.16310441493988037, 0.3260864317417145, -0.33760008215904236, -0.26120495796203613, -0.20981740951538086, 0.05355888605117798, 0.16819392144680023, -0.3457900881767273, 0.7828827500343323, 0.10148885101079941, -0.09215182065963745, 0.07244738936424255, -0.1919070929288864, 0.4701581597328186, 0.22253628075122833, -0.29064151644706726, 0.2526424527168274, -0.8310626149177551, 0.21091490983963013, -0.08574151247739792, -0.5715318322181702, 0.0378282256424427, 0.452389657497406, 0.32160669565200806, 0.08781824260950089, 0.39933133125305176, -0.5151101350784302, 0.15892411768436432, -0.5767392516136169, 0.13613946735858917, 0.73763507604599, -0.287057101726532, 0.5318450331687927, -0.33771270513534546, 0.4383890628814697, -0.38053661584854126, -0.04950239509344101, 0.10998880863189697, -0.34608906507492065, -0.39229103922843933, 0.07602256536483765, 0.14030903577804565, 0.382615327835083, -0.9814980626106262, 0.4690222442150116, -0.5167851448059082, -0.7455450892448425, -0.142356276512146, 0.11235310137271881, 0.6208621859550476, 0.6264539361000061, 0.2465682029724121, -0.4206031262874603, -0.38222625851631165, -0.6898709535598755, -0.16954584419727325, -0.3685879409313202, -0.044771235436201096, 0.624818742275238, 0.5184198617935181, -0.12115798890590668, 0.9069136381149292, -0.4127020239830017, -0.18988683819770813, -0.17261825501918793, 0.2227247953414917, 0.568362832069397, 0.4700033664703369, 0.5613378286361694, -0.8068035244941711, -0.5775136947631836, 0.10414889454841614, -0.6741064786911011, -0.3595331907272339, -0.28678327798843384, -0.006357788573950529, 0.10001721978187561, -0.11349231004714966, -0.6380382776260376, 0.37306416034698486, 0.6251761317253113, -0.5220832228660583, 0.9546299576759338, -0.5602278709411621, 0.19658204913139343, -0.9021997451782227, 0.5917673707008362, -0.005367239471524954, -0.14319929480552673, -0.6275700330734253, 0.3705958127975464, 0.2886691689491272, -0.26557767391204834, -0.25307101011276245, 0.4199330806732178, -0.4123220145702362, -0.4116284251213074, -0.25685545802116394, 0.25487396121025085, -0.06679622083902359, 0.33000633120536804, 0.1389964371919632, 0.9032886028289795, 0.5026343464851379, -0.5851414799690247, 0.5603429675102234, 0.39648449420928955, -0.7004133462905884, 0.6977299451828003, -0.5303241014480591, -0.016928108409047127, -0.01012477558106184, 0.4016339182853699, -0.8679298758506775, -0.2383740246295929, 0.07960325479507446, -0.12692363560199738, -0.14589238166809082, -0.15680505335330963, -0.6641659140586853, -0.5556700229644775, 0.016090024262666702, 0.28421980142593384, 0.37751010060310364, -0.5015802383422852, 0.3279840350151062, 0.18770650029182434, -0.20861029624938965, -0.48167502880096436, -0.36385565996170044, 0.2847096621990204, 0.16286449134349823, -0.6148805022239685, 0.8025227189064026, -0.18893498182296753, -0.20487813651561737, 0.10770973563194275, -0.43966421484947205, -0.22109007835388184, -0.05386824533343315, 0.1928001344203949, 0.302690714597702, -0.07936109602451324, -0.18477453291416168, -0.23642490804195404, -0.2794688045978546, 0.29616349935531616, -0.3132411539554596, 0.7397803068161011, 0.10566755384206772, -0.193523108959198, -0.2811194062232971, 0.048609547317028046, 0.4773413836956024, -0.15879662334918976, 0.47021567821502686, 0.2766060531139374, -0.5318654179573059, -0.3218165934085846, -0.26647260785102844, 0.3364575207233429, -0.42785897850990295, 0.3383282721042633, -0.6986963152885437, -0.07875045388936996, 0.2910030782222748, -0.24360041320323944, 0.2200821042060852, 0.12337023764848709, 0.45175671577453613, 0.29982510209083557, 0.8147686123847961, 0.76288902759552, 0.2943539619445801, -0.038148004561662674, -0.22513534128665924, 0.2240859866142273, -0.7357168197631836, -0.19329914450645447, -0.618751585483551, -0.04986858367919922, -0.42605671286582947, -0.7560011744499207, 0.15951330959796906, 0.04345843195915222, 0.14613963663578033, 0.9153202176094055, -0.6491556167602539, 0.4939773380756378, 0.100235216319561, -0.3121514618396759, 0.265978068113327, -0.3592208921909332, -0.2047349065542221, -0.2312370389699936, -0.1969173699617386, -1.0427430868148804, 1.1509466171264648, 0.07184027880430222, 0.6243860125541687, 0.21694828569889069, 0.5529540777206421, 0.11339861899614334, 0.251014769077301, -0.2548660635948181, 0.6887413859367371, -0.21030618250370026, -0.4869304597377777, -0.16030874848365784, -0.6923307776451111, -0.6491848230361938, 0.105418860912323, -0.033102624118328094, -0.6783342957496643, 0.17298275232315063, -0.04709654301404953, -0.1759336292743683, 0.13993337750434875, -0.5552797317504883, 1.0918676853179932, -0.3652055561542511, -0.3244594633579254, -0.3212718963623047, -0.22613170742988586, 0.09514179825782776, -0.2632499933242798, 0.16536912322044373, -0.5047804713249207, 0.0457632839679718, 0.6893424391746521, -0.29128146171569824, 0.21841424703598022, -0.2139657437801361, -0.18705108761787415, -0.19712820649147034, 0.2685936391353607, 0.44152265787124634, 0.014583870768547058, -0.2955273985862732, -0.213211327791214, 0.3260142207145691, -0.5727471113204956, -0.25144529342651367, 0.7843101620674133, -0.8741766810417175, -0.17425274848937988, -0.27737125754356384, -0.7632411122322083, -0.11003995686769485, 0.27257299423217773, 0.07204627990722656, 0.6131292581558228, -0.6243090033531189, -0.2610640227794647, 0.20665335655212402, -0.4203321039676666, 0.2731874883174896, 0.5706119537353516, -0.3252088725566864, -0.12511199712753296, 0.8550838232040405, 0.11111393570899963, 0.3555901050567627, 0.33647483587265015, -0.15525980293750763, -0.4008396565914154, -0.8369311094284058, -0.6480942368507385, 0.04219057410955429, -0.740053653717041, 0.04075883328914642, -0.5152285099029541, -0.10234514623880386, -0.4472149908542633, -0.32475563883781433, -0.37148505449295044, -0.31048455834388733, 0.028620673343539238, 0.031230514869093895, -0.3078305721282959, 0.7948557734489441, 0.14131946861743927, -0.038615383207798004, -0.30511897802352905, 0.48032447695732117, -0.016181619837880135, 0.45908164978027344, -0.5730830430984497, -0.11408299207687378, 0.03260413557291031, -0.07934071123600006, -0.45590803027153015, -0.7430422306060791, 0.773784339427948, 0.11835034191608429, 0.5685290098190308, 0.28104355931282043, 0.23776035010814667, 0.8650376200675964, -0.778222918510437, 0.7195058465003967, 0.039901748299598694, -0.9703261256217957, 0.6341965794563293, -0.24794840812683105, 0.16351760923862457, 0.5947384238243103, 0.3418545424938202, -0.4441087543964386, -0.24669305980205536, -0.7180895805358887, -0.6819290518760681, 0.6480671763420105, 0.4496496915817261, -0.043666522949934006, 0.010258789174258709, 0.2861563563346863, 0.15776920318603516, 0.38152793049812317, -0.8565870523452759, -0.04037388414144516, -0.15743331611156464, -0.03895697742700577, -0.3354624807834625, -0.025740712881088257, -0.19390055537223816, 0.042905934154987335, 0.3336385190486908, -0.1803002804517746, 0.2527003884315491, 0.19287364184856415, -0.15412425994873047, -0.44638949632644653, 0.33974891901016235, 0.6126436591148376, 1.2928719520568848, -0.5139182209968567, 0.2236853986978531, 0.03911766782402992, -0.3388868570327759, -0.07898522168397903, 0.6182696223258972, -0.12307565659284592, 0.005535252392292023, 0.22913402318954468, 0.4382416903972626, 0.2016245573759079, -1.034798502922058, 0.531139075756073, 0.034239381551742554, -0.32453522086143494, -0.33697831630706787, -0.11736365407705307, -0.0974586009979248, -0.057464346289634705, 0.39066752791404724, 0.29678115248680115, 0.13558320701122284, -0.5523289442062378, 0.2263600081205368, 0.3669593036174774, -0.3081459403038025, -0.4813591539859772, 0.7133070826530457, 0.4247138798236847, -0.5040125846862793, 0.39853596687316895, -0.5041373372077942, -0.5484247207641602, 0.6305357217788696, 0.5906283259391785, 0.5421162843704224, 0.17739607393741608, 0.4631056785583496, 0.47315549850463867, 0.37823233008384705, 0.10568087548017502, 0.39151591062545776, -0.34398987889289856, -0.6762056350708008, -0.5912748575210571, -0.85711669921875, -0.7335943579673767, -0.40714403986930847, -0.4627924859523773, -0.023999202996492386, -0.6201294660568237, 0.050499457865953445, -0.04435437172651291, 0.43737366795539856, -0.6226232647895813, 0.00782380998134613, 0.1450730860233307, 0.9713724851608276, -0.7328999638557434, 0.9079692959785461, 0.8131222128868103, -0.2408064603805542, -0.8570217490196228, 0.01359231024980545, -0.14419618248939514, -0.585551381111145, 0.7659831047058105, 0.26570752263069153, 0.052242524921894073, -0.06345227360725403, -0.25280463695526123, -0.6975524425506592, 1.1794861555099487, 0.10527093708515167, -0.4095875918865204, -0.20308858156204224, 0.3256497085094452, 0.6258280277252197, -0.2565782964229584, 0.03153376281261444, 0.5515931844711304, 0.5635435581207275, 0.015377484261989594, -1.494545578956604, 0.12733358144760132, -0.2552170753479004, -0.05643884092569351, 0.43342888355255127, 0.007485384587198496, 0.9313165545463562, -0.15855762362480164, -0.6659067273139954, 0.5723176598548889, 0.4269498586654663, 0.31838691234588623, 0.3450610637664795, 0.45345503091812134, 0.6018716096878052, 0.8385320901870728, -0.438193142414093, 1.138645887374878, -0.4858475923538208, 0.4946134388446808, 0.6748453974723816, -0.8390491008758545, 0.9137740731239319, 0.44081899523735046, -0.5405167937278748, 0.46508166193962097, 0.31965339183807373, -0.04173336178064346, 0.7404628396034241, 0.20930339395999908, -0.1771703064441681, -0.03398876637220383, -0.16669632494449615, -0.23745158314704895, 0.16005703806877136, 0.2790790796279907, -0.026921629905700684, -0.5450981259346008, -0.13644586503505707, -0.2322963923215866, 0.5457016825675964, 0.07203062623739243, 0.5634248852729797, -0.22451142966747284, -0.9980308413505554, 0.4577568769454956, 0.194131538271904, 0.4043634235858917, -0.4448803961277008, 0.02651377208530903, 0.019104214385151863, 0.42586296796798706, -0.12855041027069092, -0.9649932980537415, 0.495116651058197, 0.2116066962480545, 0.021463889628648758, -0.6564888954162598, 0.2936684787273407, -0.36670514941215515, -0.43786099553108215, 0.11227284371852875, 0.4489731788635254, 0.227350115776062, 0.1107955202460289, -0.6871153116226196, -0.029316000640392303, 0.04934385046362877, 0.1817052662372589, 0.08655795454978943, 0.3617343008518219, 0.22347310185432434, 0.7624228596687317, 0.8056687116622925, 0.4306827783584595, -0.05025877431035042, -0.07513422518968582, 0.9186761379241943, -0.5728853344917297, -0.6946284174919128, -0.40496009588241577, 0.25878357887268066, -0.13453499972820282, -0.5905306339263916, 0.6610800623893738, 0.6266596913337708, 0.8457688093185425, -0.029058149084448814, 0.23184044659137726, -0.39764848351478577, 0.4822930097579956, -0.4948776960372925, 0.5063673257827759, -0.17518797516822815, 0.43245673179626465, -0.44818276166915894, -1.0989941358566284, -0.1296345442533493, 0.7943670749664307, -0.7142277359962463, -0.2552621364593506, 0.7862162590026855, 0.7927708029747009, 0.03731642663478851, -0.24970266222953796, 0.35306501388549805, -0.057856786996126175, 0.6349721550941467, 0.7742718458175659, 0.8419439792633057, -0.34523805975914, 0.7922317981719971, -0.5379622578620911, -0.34487077593803406, -0.0021512785460799932, -0.9224809408187866, -0.6661065220832825, -0.6170859932899475, -0.3937939405441284, -0.31841692328453064, 0.17709003388881683, 0.7362266182899475, 0.8294575810432434, -0.5674877762794495, -0.46219775080680847, -0.39689311385154724, -0.03969116881489754, -0.3319680690765381, -0.2443617582321167, 0.4451304078102112, -0.22265274822711945, -0.7085738182067871, 0.4167807102203369, 0.37042370438575745, -0.25579768419265747, -0.3663254976272583, -0.40579572319984436, 0.05114225670695305, -0.12257305532693863, 0.2694350481033325, 0.2124495953321457, -0.8960315585136414, -0.31354278326034546, -0.008650840260088444, -0.3929922580718994, -0.16377051174640656, 0.6020642518997192, -0.8871313333511353, 0.5157268047332764, 0.33328351378440857, 0.3732297420501709, 0.49085181951522827, 0.10737057775259018, 0.7112850546836853, -0.8650182485580444, 0.05456537753343582, 0.34325945377349854, 0.43294844031333923, 0.4222043752670288, -0.018880605697631836, 0.6961710453033447, 0.12238314747810364, -0.8550892472267151, -0.9678489565849304, 0.3180091679096222, -1.2496334314346313, -0.13796710968017578, 0.8746219277381897, -0.20769336819648743, -0.13614341616630554, -0.07750184834003448, -0.2466600090265274, -0.0887310802936554, 0.021638086065649986, 0.7933039665222168, 0.5569741725921631, -0.04486135020852089, -0.013915933668613434, -0.6080877184867859, 0.6678199768066406, 0.24429549276828766, -0.8715845346450806, 0.26049959659576416, 0.6031803488731384, 0.16879931092262268, 0.557253360748291, 0.7998042106628418, -0.043904777616262436, 0.5578678250312805, 0.05829677730798721, 0.1307850033044815, 0.22034387290477753, -0.19212551414966583, 0.21820572018623352, 0.2343195676803589, 0.28364479541778564, 0.1146339476108551 ]
http://arxiv.org/abs/2407.03320v1
http://arxiv.org/pdf/2407.03320v1
InternLM-XComposer-2.5: A Versatile Large Vision Language Model Supporting Long-Contextual Input and Output
2024-07-03T17:59:21
2024-07-03T17:59:21
Pan Zhang, Xiaoyi Dong, Yuhang Zang, Yuhang Cao, Rui Qian, Lin Chen, Qipeng Guo, Haodong Duan, Bin Wang, Linke Ouyang, Songyang Zhang, Wenwei Zhang, Yining Li, Yang Gao, Peng Sun, Xinyue Zhang, Wei Li, Jingwen Li, Wenhai Wang, Hang Yan, Conghui He, Xingcheng Zhang, Kai Chen, Jifeng Dai, Yu Qiao, Dahua Lin, Jiaqi Wang
cs.CV
cs.CV, cs.CL
We present InternLM-XComposer-2.5 (IXC-2.5), a versatile large-vision language model that supports long-contextual input and output. IXC-2.5 excels in various text-image comprehension and composition applications, achieving GPT-4V level capabilities with merely 7B LLM backend. Trained with 24K interleaved image-text contexts, it can seamlessly extend to 96K long contexts via RoPE extrapolation. This long-context capability allows IXC-2.5 to excel in tasks requiring extensive input and output contexts. Compared to its previous 2.0 version, InternLM-XComposer-2.5 features three major upgrades in vision-language comprehension: (1) Ultra-High Resolution Understanding, (2) Fine-Grained Video Understanding, and (3) Multi-Turn Multi-Image Dialogue. In addition to comprehension, IXC-2.5 extends to two compelling applications using extra LoRA parameters for text-image composition: (1) Crafting Webpages and (2) Composing High-Quality Text-Image Articles. IXC-2.5 has been evaluated on 28 benchmarks, outperforming existing open-source state-of-the-art models on 16 benchmarks. It also surpasses or competes closely with GPT-4V and Gemini Pro on 16 key tasks. The InternLM-XComposer-2.5 is publicly available at https://github.com/InternLM/InternLM-XComposer.
[ -0.46688663959503174, -0.31633588671684265, 0.5753116607666016, 0.41570544242858887, -0.44970405101776123, 0.09976649284362793, -0.25626739859580994, -0.8836402297019958, -0.28790321946144104, 0.5051370859146118, -0.230923131108284, -0.494945764541626, -0.5116052031517029, -0.09335286915302277, -0.7582389116287231, 0.842079758644104, -0.1784168928861618, -0.03430904820561409, -0.5035298466682434, -0.3674704134464264, -0.6324746608734131, -0.41506969928741455, -0.850623369216919, -0.13980945944786072, 0.8153602480888367, 0.6346227526664734, 0.47081002593040466, 0.49538537859916687, 0.7452841401100159, 0.27467700839042664, -0.04495352506637573, 0.07395779341459274, -0.49363893270492554, 0.052142657339572906, -0.30614474415779114, -0.35893240571022034, -0.520305871963501, -0.21883603930473328, 0.8828015327453613, 0.3050703704357147, 0.11742007732391357, 0.08719678223133087, 0.1679629385471344, 0.7769609689712524, -0.6063864827156067, 0.4471460282802582, -0.751227855682373, -0.18010690808296204, -0.023791417479515076, 0.04304543510079384, -0.42916420102119446, 0.3068988621234894, 0.23769895732402802, -0.5627906918525696, -0.29647141695022583, 0.22566822171211243, 0.6843276023864746, 0.4106694459915161, -0.4701889753341675, -0.11072732508182526, -0.5605096220970154, 0.613220751285553, -0.3864540159702301, 0.3355465531349182, 0.23709386587142944, 0.5706298351287842, 0.4355059564113617, -1.337968111038208, -0.7940505146980286, -0.3453802168369293, -0.0352616012096405, 0.3507239818572998, -0.18878032267093658, 0.05201773717999458, 0.24399492144584656, 0.38623979687690735, -0.5561224818229675, 0.1653863787651062, -0.49589866399765015, 0.33021193742752075, 0.36555221676826477, 0.3267084062099457, 0.30784493684768677, 0.09695983678102493, -0.4278141260147095, -0.17364224791526794, -0.8306451439857483, 0.19343842566013336, -0.0006594404112547636, -0.30122053623199463, -0.3030930161476135, 0.5492070913314819, -0.1505333036184311, 0.755981981754303, -0.2745414674282074, 0.1317165642976761, 0.07748589664697647, -0.4414299428462982, -0.08223941177129745, -0.10832557082176208, 0.5106304883956909, 0.6156234741210938, -0.0832856297492981, 0.27316612005233765, -0.38047733902931213, 0.09997742623090744, 0.28676164150238037, -0.7628023624420166, -0.15398681163787842, 0.022455906495451927, -0.40858176350593567, -0.30627164244651794, -0.03903958946466446, -0.4654005169868469, -0.06408336758613586, -0.5063061118125916, 0.43109285831451416, -0.3781657814979553, 0.12273726612329483, -0.04375244304537773, -0.12563161551952362, 0.4921295940876007, 0.48998475074768066, -0.7436838746070862, 0.4737936854362488, 0.6907545328140259, 1.0288166999816895, -0.7254751324653625, -0.28920453786849976, -0.6186909675598145, 0.19441145658493042, -0.3497326970100403, 0.7240933775901794, -0.45622166991233826, -0.23062492907047272, 0.05147617310285568, -0.020804809406399727, 0.2139960527420044, -0.4846683740615845, 0.546951413154602, -0.5644877552986145, 0.21391837298870087, 0.08564376831054688, -0.38672059774398804, -0.12705634534358978, 0.5405188202857971, -0.6001113057136536, 1.0745515823364258, 0.5146910548210144, -0.8224883079528809, 0.150307297706604, -0.8520345687866211, -0.4324413537979126, 0.2300012856721878, -0.3384951949119568, -0.3435956537723541, -0.07031633704900742, -0.12314620614051819, 0.1469418704509735, -0.5136096477508545, 0.07845805585384369, -0.1064019501209259, -0.5803999900817871, 0.3054743707180023, -0.4031496047973633, 0.5187631249427795, 0.10288190096616745, -0.4524250626564026, 0.3758903443813324, -0.8871058225631714, 0.014845500700175762, -0.07590416073799133, -0.24834713339805603, -0.23430053889751434, 0.11674187332391739, 0.3035030961036682, 0.6572407484054565, 0.2776571810245514, -0.5860916972160339, 0.003652639454230666, -0.28566616773605347, 0.6092696785926819, 0.6079215407371521, -0.5712811946868896, 0.3177049160003662, -0.14264094829559326, 0.5503165125846863, 0.1265963613986969, 0.22007183730602264, -0.5765934586524963, -0.43005213141441345, -1.0751327276229858, -0.393759548664093, -0.056172121316194534, 0.6161191463470459, -0.9504520893096924, 0.19687283039093018, -0.5031349062919617, -0.5082436800003052, -0.022712640464305878, -0.14295057952404022, 0.521392285823822, 0.7743116617202759, 0.44828876852989197, -0.0638827458024025, -0.5542560815811157, -0.9304603338241577, 0.18860802054405212, -0.2146265208721161, 0.05976385250687599, 0.424704372882843, 0.5774398446083069, -0.27599847316741943, 1.002612590789795, -0.6689226627349854, -0.5390061736106873, -0.45415571331977844, -0.018469151109457016, 0.15762153267860413, 0.46003755927085876, 0.5719535946846008, -0.9725913405418396, -1.0723485946655273, 0.4661761224269867, -0.6380306482315063, 0.052579138427972794, -0.0007594453054480255, 0.0718548446893692, 0.508069634437561, 0.8148335218429565, -0.599359393119812, 0.48935556411743164, 0.808799684047699, -0.4043925404548645, 0.7356423735618591, -0.3387046754360199, -0.166009783744812, -1.016696810722351, 0.2073592245578766, -0.041426174342632294, -0.560019314289093, -0.48411500453948975, 0.20524270832538605, 0.3961091935634613, -0.018347088247537613, -0.7012710571289062, 0.9114089012145996, -0.30355069041252136, -0.0054140640422701836, -0.5961349606513977, 0.006719542667269707, 0.09718196839094162, 0.4144468307495117, 0.18615825474262238, 0.938178539276123, 0.8151959776878357, -0.28911176323890686, 0.376671701669693, 0.27194511890411377, -0.7223773002624512, 0.4585161507129669, -0.9633850455284119, 0.06421606242656708, -0.13665889203548431, 0.3773271143436432, -1.0116267204284668, -0.25768110156059265, 0.3367985188961029, -0.3125603199005127, 0.28891581296920776, -0.03436758369207382, -0.3782094717025757, -0.4630168378353119, -0.41310542821884155, 0.4120529592037201, 0.6473067998886108, -0.7088022232055664, 0.6368954181671143, 0.15004587173461914, -0.4514296054840088, -0.4878075122833252, -0.7968791127204895, 0.4713585376739502, -0.03345327079296112, -0.7598769068717957, 0.5794006586074829, -0.27308934926986694, -0.25220808386802673, 0.004946505650877953, 0.21591584384441376, -0.002377578290179372, -0.3572465181350708, 0.3564877212047577, 0.6484619379043579, -0.17667722702026367, -0.053125858306884766, 0.09999808669090271, -0.37832188606262207, 0.024644531309604645, -0.3284224271774292, 0.4063357412815094, -0.17963732779026031, -0.15569418668746948, -0.09140632301568985, 0.7219076156616211, 0.7230585217475891, -0.346236914396286, 0.5505155920982361, 0.5657181739807129, -0.09210207313299179, 0.0394064225256443, -0.4286996126174927, 0.12138140201568604, -0.5094354748725891, 0.8102342486381531, -0.4611804783344269, -1.0406246185302734, 0.3411244750022888, 0.3389523923397064, 0.19170552492141724, 0.2097119688987732, 0.5573687553405762, -0.25410160422325134, 1.27388596534729, 0.6574342846870422, 0.1630953997373581, 0.6063938736915588, -0.38326916098594666, 0.2607099115848541, -1.172059416770935, -0.17860230803489685, -0.18637581169605255, -0.3768293559551239, -0.25797462463378906, -0.6211843490600586, 0.5500012040138245, -0.4884651303291321, -0.19508439302444458, 0.08305472880601883, -0.3117583096027374, 0.5138360261917114, 0.7644666433334351, -0.11874641478061676, 0.3443482518196106, 0.021580712869763374, 0.09741026908159256, 0.04179822653532028, -0.4808954894542694, -0.32809215784072876, 0.7456138730049133, 0.28909486532211304, 0.8611561059951782, -0.0909014493227005, 0.04067583009600639, -0.009007927030324936, 0.19431914389133453, -0.8119800090789795, 0.6142249703407288, -0.5700443983078003, -0.518979012966156, -0.2157122641801834, 0.054180342704057693, -0.5552760362625122, 0.3454763889312744, 0.17799508571624756, -0.7634610533714294, 0.20929694175720215, 0.31391215324401855, -0.2528127431869507, 0.3018045127391815, -0.5545390844345093, 0.8640868663787842, -0.3307701647281647, -0.5848367214202881, -0.3362363278865814, -0.9865849018096924, 0.24377894401550293, -0.1409701555967331, -0.2511369287967682, -0.043683972209692, -0.4024277925491333, 0.2639007568359375, -0.28231722116470337, 0.7323529720306396, 0.1607355922460556, -0.132163867354393, 0.3061918020248413, -0.2915831506252289, 0.6357056498527527, 0.22679868340492249, -0.1365538090467453, 0.1920432448387146, 0.05040815845131874, 0.012582870200276375, -0.5496886372566223, 0.8896177411079407, -0.7368646860122681, -0.5730775594711304, -0.5348978042602539, -0.582719624042511, 0.010505307465791702, 0.21967941522598267, 0.5415076613426208, 0.6357770562171936, -0.11275157332420349, 0.7007409334182739, 0.49383828043937683, -0.16129443049430847, 0.5965444445610046, 0.41715168952941895, -0.3800273537635803, -0.5245126485824585, 1.0365464687347412, 0.04128394275903702, 0.39136451482772827, 0.596809983253479, -0.10584329813718796, -0.26294228434562683, -0.6128126382827759, -0.44452965259552, -0.08231822401285172, -0.926729679107666, -0.251560777425766, -0.8859624862670898, -0.4230547845363617, -0.1575980931520462, -0.33284232020378113, -0.4124689996242523, -0.27027782797813416, -0.4543743431568146, 0.1593114137649536, 0.058740172535181046, 0.31446751952171326, 0.0666787251830101, 0.4260851740837097, -0.6945889592170715, 0.5250982046127319, 0.40452733635902405, 0.4402741491794586, -0.2101612687110901, -0.612531304359436, -0.4798039495944977, -0.1940811723470688, -0.24824070930480957, -0.3260821998119354, 0.3417748212814331, 0.34166350960731506, 0.12721635401248932, 0.4178020656108856, -0.1735306829214096, 0.5275825262069702, -0.5626003742218018, 0.8487902879714966, 0.44959133863449097, -0.8825521469116211, 0.1301080286502838, -0.31505823135375977, 0.7657754421234131, 0.5081838369369507, 0.1304737627506256, -0.7963443398475647, -0.2762542963027954, -0.05113517865538597, -0.9297066330909729, 0.9524745345115662, 0.264305979013443, 0.3153435289859772, -0.02435016818344593, 0.25496038794517517, 0.20615938305854797, -0.007200753781944513, -0.8729892373085022, -0.15349319577217102, -0.43885165452957153, -0.29152828454971313, 0.008161508478224277, -0.6502523422241211, 0.09297666698694229, -0.48920395970344543, 0.6988048553466797, -0.48696228861808777, 0.14491119980812073, 0.26228126883506775, -0.17529237270355225, 0.20281560719013214, -0.01323283463716507, 0.5709306597709656, 0.9627349376678467, 0.11959122866392136, 0.263997346162796, 0.11166942119598389, -0.5424266457557678, 0.10693735629320145, 0.17805494368076324, -0.39921489357948303, -0.16167838871479034, 0.2978619337081909, 1.1817116737365723, 0.13694341480731964, -0.9676123857498169, 0.5914512872695923, -0.2731599807739258, -0.30206331610679626, -0.7291076183319092, 0.16033118963241577, 0.10718634724617004, 0.12986990809440613, 0.265146940946579, 0.07190688699483871, 0.245320126414299, -0.44079872965812683, -0.023151632398366928, 0.3652089536190033, -0.7431243062019348, -0.33976617455482483, 0.7125194668769836, 0.1436910778284073, 0.11540258675813675, 0.7229393720626831, -0.09998024255037308, -0.4067741930484772, 0.612154483795166, 0.8036659955978394, 0.682299792766571, 0.16036130487918854, 0.1206463947892189, 0.37304380536079407, 0.07408656179904938, 0.17084920406341553, 0.4336645305156708, -0.001239774632267654, -0.5500638484954834, -0.5755030512809753, -0.30047667026519775, -0.3501278758049011, -0.06515691429376602, -0.3711252510547638, 0.6334974765777588, -0.16816996037960052, 0.11359892785549164, -0.1300901174545288, -0.23829713463783264, -0.5022040009498596, 0.24923333525657654, 0.333450585603714, 1.175248146057129, -0.208909273147583, 1.1851472854614258, 0.8293905854225159, -0.1538471132516861, -0.6123763918876648, -0.37504786252975464, -0.22053061425685883, -0.6809211373329163, 0.8200215101242065, 0.3432672619819641, -0.16863591969013214, 0.11004641652107239, -0.695275068283081, -0.8530188202857971, 1.240571141242981, 0.24330122768878937, -0.7986261248588562, -0.11327337473630905, 0.33067747950553894, 0.46135270595550537, -0.4900144338607788, 0.18262091279029846, 0.4929206073284149, 0.5901735424995422, 0.3149295747280121, -0.6432405710220337, -0.1883869171142578, -0.46044033765792847, 0.23709070682525635, -0.002413383685052395, -0.7715633511543274, 0.772728681564331, -0.22112929821014404, 0.0345412977039814, 0.5532204508781433, 0.7862855792045593, 0.14156264066696167, 0.2936486303806305, 0.6025800704956055, 0.4197568893432617, 0.13701288402080536, -0.05787273123860359, 1.119960904121399, -0.3877238631248474, -0.0022147763520479202, 1.6129599809646606, -0.4908732771873474, 0.9234697818756104, 0.5934959650039673, 0.2114444524049759, 0.5228282809257507, 0.32783472537994385, -0.020986715331673622, 0.5512613654136658, -0.06951060891151428, -0.5535584092140198, -0.011401807889342308, -0.09925829619169235, -0.26929110288619995, 0.6027345061302185, 0.41572636365890503, -0.3236532211303711, 0.1439415067434311, 0.2897546887397766, -0.22853921353816986, -0.31162136793136597, -0.19651149213314056, 0.7632238268852234, 0.2655636966228485, -1.030188798904419, 0.28919345140457153, -0.034005749970674515, 0.537017285823822, -0.8435783386230469, -0.1984338015317917, -0.16235844790935516, 0.4713050127029419, -0.007585674989968538, -1.303917407989502, 0.2878013253211975, -0.03995795547962189, -0.16550084948539734, -0.09090020507574081, 1.0013200044631958, -0.48548832535743713, -0.5713172554969788, 0.3251408040523529, -0.0016966693801805377, -0.16722041368484497, -0.468428373336792, -0.4227578341960907, 0.3873552680015564, -0.023645561188459396, -0.03522523492574692, 0.22172091901302338, 0.15288150310516357, -0.27762311697006226, 0.7429999113082886, 0.4583272337913513, -0.17170703411102295, 0.02063741907477379, 0.04045144468545914, 1.0761847496032715, -0.6027234792709351, -0.5513271689414978, -0.7081373929977417, 0.7133410573005676, -0.28108155727386475, -0.4364572763442993, 0.45508530735969543, 0.7450169920921326, 0.7902277112007141, -0.24048687517642975, 0.8253285884857178, -0.18776893615722656, 0.14542555809020996, -0.3302724361419678, 0.5105366110801697, -0.8093265295028687, -0.10704485327005386, 0.03135126084089279, -1.1129239797592163, -0.5552663803100586, 0.286220520734787, -0.10138820111751556, -0.18331579864025116, 0.8827295899391174, 0.6806222200393677, -0.17693106830120087, -0.15025974810123444, 0.5766564011573792, 0.21888700127601624, 0.5995897650718689, 0.3627816140651703, 1.043287992477417, -0.29162508249282837, 0.8809690475463867, -0.19286921620368958, -0.312603235244751, -0.29806995391845703, -0.7569808959960938, -0.7948740720748901, -0.7356924414634705, -0.3212442696094513, 0.15813817083835602, 0.01497231051325798, 0.7277662754058838, 0.9323318600654602, -0.43381813168525696, -0.17035670578479767, -0.08867839723825455, -0.17512944340705872, -0.159230574965477, -0.1705566942691803, 0.1915852129459381, -0.27443620562553406, -0.9543177485466003, 0.25991687178611755, 0.9579007029533386, -0.005125498399138451, -0.4018315374851227, -0.3084464967250824, 0.03543417900800705, -0.028006743639707565, 1.208761215209961, 0.2573226988315582, -0.6667653322219849, -0.2644507884979248, 0.15019546449184418, -0.19123174250125885, 0.4768826365470886, 0.7667484283447266, -0.812537431716919, 0.36403077840805054, 0.6803691387176514, 0.3259926736354828, 0.6777401566505432, -0.39948737621307373, 0.4800221025943756, -0.4572668969631195, 0.22725513577461243, 0.1261015087366104, 0.5729446411132812, 0.31714463233947754, -0.13031521439552307, 0.6071372032165527, -0.2789001166820526, -0.49836522340774536, -0.4866868257522583, 0.15819264948368073, -1.344963550567627, -0.2722215950489044, 1.1675893068313599, -0.1278398633003235, -0.23119615018367767, 0.015468467958271503, -0.828778088092804, -0.053800832480192184, -0.13715559244155884, 0.5964168310165405, 0.5476792454719543, 0.036146774888038635, -0.4885260760784149, -0.46769022941589355, 0.016870204359292984, 0.30643871426582336, -1.0965746641159058, -0.04512105509638786, 0.45540252327919006, 0.011282178573310375, -0.041890569031238556, 0.6689116358757019, -0.43515321612358093, 0.5917307734489441, -0.2251979112625122, 0.006283238995820284, -0.05459747463464737, -0.5408540368080139, -0.06773598492145538, 0.015698930248618126, 0.06850731372833252, -0.09284554421901703 ]
http://arxiv.org/abs/2407.03314v1
http://arxiv.org/pdf/2407.03314v1
BACON: Supercharge Your VLM with Bag-of-Concept Graph to Mitigate Hallucinations
2024-07-03T17:55:27
2024-07-03T17:55:27
Zhantao Yang, Ruili Feng, Keyu Yan, Huangji Wang, Zhicai Wang, Shangwen Zhu, Han Zhang, Jie Xiao, Pingyu Wu, Kai Zhu, Jixuan Chen, Chen-Wei Xie, Chaojie Mao, Yue Yang, Hongyang Zhang, Yu Liu, Fan Cheng
cs.CV
cs.CV, cs.CL, cs.DB
This paper presents Bag-of-Concept Graph (BACON) to gift models with limited linguistic abilities to taste the privilege of Vision Language Models (VLMs) and boost downstream tasks such as detection, visual question answering (VQA), and image generation. Since the visual scenes in physical worlds are structured with complex relations between objects, BACON breaks down annotations into basic minimum elements and presents them in a graph structure. Element-wise style enables easy understanding, and structural composition liberates difficult locating. Careful prompt design births the BACON captions with the help of public-available VLMs and segmentation methods. In this way, we gather a dataset with 100K annotated images, which endow VLMs with remarkable capabilities, such as accurately generating BACON, transforming prompts into BACON format, envisioning scenarios in the style of BACONr, and dynamically modifying elements within BACON through interactive dialogue and more. Wide representative experiments, including detection, VQA, and image generation tasks, tell BACON as a lifeline to achieve previous out-of-reach tasks or excel in their current cutting-edge solutions.
[ -0.5232805013656616, -0.6351946592330933, 0.3282535672187805, -0.21144193410873413, -0.48630741238594055, 0.33747193217277527, 0.13061125576496124, -0.8614577651023865, 0.5475852489471436, 0.8507404923439026, -0.6537364721298218, -0.1721276491880417, -0.4019175171852112, -0.15975242853164673, -0.6345953345298767, 1.4236900806427002, 0.44973239302635193, -0.24184882640838623, -0.32914671301841736, 0.13893628120422363, -0.2241683006286621, -0.6238031983375549, -0.322330504655838, -0.16635659337043762, 0.8712572455406189, 0.1301809698343277, 0.6363685131072998, 0.4952453672885895, 0.39041054248809814, 0.2920275926589966, -0.06021551042795181, 0.48160645365715027, -0.7878085970878601, 0.21355170011520386, -0.19740554690361023, 0.05093039199709892, -0.3851945102214813, -0.40977075695991516, 0.3240791857242584, 0.46758928894996643, 0.28756698966026306, 0.15424181520938873, -0.10803649574518204, 0.4856724143028259, -0.5615130066871643, 0.030994504690170288, -1.0098023414611816, -0.04091101512312889, 0.03746290132403374, -0.27654340863227844, -0.3447582721710205, 0.012654042802751064, 0.18558263778686523, -0.8009580373764038, 0.14835508167743683, 0.2311907559633255, 1.2015585899353027, 0.3115527331829071, 0.0268513523042202, -0.09484100341796875, -0.7427836060523987, 0.6210702657699585, -0.16605986654758453, 0.34455081820487976, 0.2509063482284546, 0.3226366341114044, -0.04839400202035904, -1.0390790700912476, -0.7098115682601929, -0.3590678572654724, -0.3108038604259491, 0.04408169537782669, 0.00590283889323473, -0.08822527527809143, 0.5026634335517883, 0.1113220602273941, -0.5518798232078552, -0.2952239513397217, -0.5343536138534546, -0.2391398847103119, 0.585943341255188, 0.1726294606924057, 0.5657695531845093, -0.192289799451828, -0.48655635118484497, -0.10487491637468338, -0.2911309599876404, -0.1671660840511322, 0.1559254676103592, 0.19821174442768097, 0.33824434876441956, 0.5675647854804993, -0.49547335505485535, 0.9250405430793762, -0.4773789048194885, -0.09846485406160355, 0.19736738502979279, -0.3764447271823883, -0.268703818321228, -0.04805474355816841, 0.3924620449542999, 0.6869134902954102, 0.37266266345977783, -0.2321416139602661, -0.1791229546070099, 0.271814227104187, 0.5183137655258179, -0.9148144125938416, -0.5976073145866394, 0.11259547621011734, -0.22921136021614075, -0.23791055381298065, 0.13642150163650513, -0.8413578867912292, -0.5292388796806335, -0.11223441362380981, 0.3757714331150055, -0.3036511540412903, -0.3358549177646637, 0.30492839217185974, -0.5309421420097351, 0.343778133392334, 0.4297432005405426, -0.6878345608711243, 0.3538084030151367, 0.4817546010017395, 0.880426287651062, -0.05734813213348389, -0.09797339141368866, -0.6544752717018127, 0.25890013575553894, -0.16767176985740662, 0.9783636927604675, -0.7123996019363403, -0.49928632378578186, -0.06698144227266312, 0.1432608813047409, 0.2839168906211853, -0.3501622974872589, 0.6694943308830261, -0.27605777978897095, -0.10260868817567825, -0.609875500202179, -0.2578924298286438, -0.09474482387304306, 0.4190608561038971, -0.6398305892944336, 1.0518226623535156, 0.041575394570827484, -1.0033645629882812, 0.2232721447944641, -0.8111695051193237, -0.2954217493534088, 0.8148845434188843, -0.3816593587398529, -0.17946793138980865, 0.23078592121601105, 0.2336069494485855, 0.5849971175193787, 0.29682406783103943, 0.013995437882840633, -0.2938939929008484, -0.21110917627811432, 0.35637107491493225, 0.09733908623456955, 0.585932731628418, 0.3062003254890442, -0.14404790103435516, 0.29375094175338745, -0.7015318274497986, 0.27621328830718994, 0.2051982581615448, 0.29744046926498413, -0.5922638177871704, 0.003168498631566763, 0.39429953694343567, 0.16964352130889893, -0.025574317201972008, -0.5575788021087646, 0.2824968993663788, -0.3366239070892334, 0.7809231281280518, 0.6203598380088806, -0.15032026171684265, 0.020389465615153313, -0.3051047921180725, 0.18692971765995026, -0.051229409873485565, 0.33640387654304504, -0.25226303935050964, -0.6671764254570007, -0.7740981578826904, -0.3430967926979065, 0.057899534702301025, 0.40931686758995056, -1.2419278621673584, 0.2954312562942505, -0.23078995943069458, -0.42628079652786255, -0.2170857936143875, -0.19595938920974731, 0.35837623476982117, 0.7935119271278381, 0.3842734694480896, -0.23959776759147644, -0.4503130316734314, -0.8813177347183228, 0.0831153392791748, -0.15870098769664764, -0.07014088332653046, 0.13690781593322754, 0.829435408115387, -0.2447003722190857, 0.7359433770179749, -0.690228283405304, -0.2921087443828583, -0.30403169989585876, -0.24027754366397858, -0.11095407605171204, 0.4486733376979828, 0.3927600085735321, -1.1364039182662964, -0.049393605440855026, 0.15116672217845917, -0.49768149852752686, 0.010266132652759552, -0.02598249353468418, -0.4956378936767578, 0.15715306997299194, 0.2721981108188629, -0.5662173628807068, 0.8137105703353882, 0.15757176280021667, -0.622096061706543, 0.7774994969367981, -0.10281731188297272, -0.15741673111915588, -0.7968674302101135, 0.02026177942752838, -0.08849816769361496, -0.2940227687358856, -0.6434106826782227, 0.32844045758247375, -0.23582184314727783, -0.07927330583333969, -0.6067785024642944, 0.7297572493553162, -0.1864384561777115, -0.08160174638032913, -0.133113831281662, 0.10000529140233994, 0.3459061086177826, 0.3736386299133301, 0.34436580538749695, 0.34331250190734863, 0.7051191329956055, -0.5206738114356995, 0.3642793297767639, 0.31676214933395386, -0.23564757406711578, 0.4837161898612976, -0.6766452789306641, 0.2522236108779907, -0.13486522436141968, 0.11519482731819153, -1.2403868436813354, -0.1953759789466858, 0.49316659569740295, -0.5168839693069458, 0.0686827003955841, 0.20417208969593048, -0.31316396594047546, -0.5296348929405212, -0.47275224328041077, 0.18740922212600708, 0.4607977867126465, -0.6069746017456055, 0.7279171347618103, 0.2167639285326004, 0.3057835102081299, -0.4915950894355774, -0.8220610618591309, 0.30315062403678894, -0.19227565824985504, -0.4118522107601166, 0.544110894203186, -0.4059433937072754, -0.14017705619335175, 0.2899637818336487, -0.12979580461978912, 0.18251074850559235, 0.004564071539789438, 0.3625904619693756, 0.45989760756492615, 0.19374123215675354, 0.2442108392715454, -0.3273172676563263, -0.14411775767803192, -0.04082878306508064, -0.8227881789207458, 0.5680654644966125, -0.16123445332050323, -0.10855477303266525, -0.1377410888671875, 0.5595602989196777, 0.6024368405342102, -0.32919928431510925, 0.5037450790405273, 0.8629476428031921, -0.6771664619445801, -0.41854703426361084, -0.42690905928611755, -0.34631866216659546, -0.4780367612838745, 0.48386290669441223, -0.6166867613792419, -0.712330162525177, 0.536266565322876, 0.16081516444683075, -0.08807273954153061, -0.013182644732296467, 0.5649222135543823, -0.21677100658416748, 0.941973865032196, 0.7016031742095947, 0.3051661252975464, 0.6262311935424805, -0.6920584440231323, 0.43687981367111206, -0.9167397022247314, -0.4957832992076874, -0.3917143940925598, -0.3708970248699188, -0.5094416737556458, -0.40338245034217834, 0.2905323803424835, -0.0010171238100156188, -0.08113706856966019, -0.02009529061615467, -1.1286685466766357, 0.770268976688385, 0.611639678478241, 0.3881068229675293, 0.14464810490608215, 0.33930397033691406, -0.16898146271705627, 0.0029855547472834587, -0.6443349719047546, -0.5333915948867798, 0.7956518530845642, 0.16037428379058838, 0.6460665464401245, -0.4519933760166168, 0.6537809371948242, 0.2822425663471222, 0.07205039262771606, -1.0318371057510376, 0.7887864112854004, -0.2416723519563675, -0.34947437047958374, -0.4049743115901947, -0.1004774421453476, -0.46088677644729614, 0.16185705363750458, -0.21872368454933167, -1.350516676902771, 0.10132775455713272, 0.1316758096218109, -0.5362237691879272, 0.40370649099349976, -0.6656414270401001, 0.7589664459228516, -0.32639366388320923, -0.6449314951896667, 0.288786917924881, -0.5317484140396118, 0.3292241096496582, 0.25685015320777893, 0.01804637350142002, 0.24690262973308563, -0.04413346201181412, 0.7353224754333496, -0.4041270315647125, 0.8208836913108826, -0.020454343408346176, 0.08169476687908173, 0.20614951848983765, 0.16131876409053802, 0.5184667706489563, 0.0970999151468277, 0.14122556149959564, 0.07829466462135315, 0.1913105994462967, -0.38981083035469055, -0.841996431350708, 0.6789959669113159, -0.6706622838973999, -0.5639917254447937, -0.29917216300964355, -0.6010691523551941, -0.04281638190150261, 0.019143030047416687, 0.44803565740585327, 0.6205148696899414, 0.3398197293281555, 0.1520606428384781, 0.7244550585746765, -0.2553512156009674, 0.37666863203048706, -0.00914059765636921, -0.7792603373527527, -0.4674258530139923, 1.3025044202804565, 0.39711707830429077, 0.2232932299375534, 0.14185364544391632, 0.27131593227386475, -0.517474353313446, -0.6180961728096008, -0.3735553026199341, 0.24589362740516663, -0.7669392824172974, -0.20004576444625854, -1.2085148096084595, -0.3761298954486847, -0.32801905274391174, -0.3374822437763214, -0.054971400648355484, -0.35148394107818604, -0.2307080775499344, -0.37490224838256836, 0.5366833209991455, 0.6757495403289795, 0.057979896664619446, 0.14155730605125427, -0.3463614583015442, 0.6258471608161926, 0.5753878355026245, 0.21318325400352478, -0.08262070268392563, -0.21668478846549988, -0.18509721755981445, -0.07826008647680283, -0.16197504103183746, -0.6829176545143127, 0.5921579599380493, 0.16580204665660858, 0.4192381799221039, 0.260855495929718, 0.4028303325176239, 0.9819306135177612, -0.23332218825817108, 1.0540608167648315, 0.33855167031288147, -0.9642406105995178, 0.5838640332221985, -0.1422644555568695, 0.0391133613884449, 0.0950731560587883, 0.24429963529109955, -0.3921452462673187, -0.573347806930542, -0.6221593618392944, -0.9673166275024414, 0.3161523938179016, 0.29077139496803284, 0.2612330913543701, 0.20854981243610382, 0.23222626745700836, 0.0541614405810833, 0.2502521872520447, -0.8319013714790344, 0.04659844934940338, -0.7024126648902893, 0.07335221022367477, 0.1481758952140808, -0.32746002078056335, -0.332281231880188, -0.8372660875320435, 0.5501962304115295, -0.3568403720855713, 0.31921154260635376, 0.5318976640701294, 0.37008920311927795, 0.08445398509502411, -0.22622500360012054, 0.6484690308570862, 0.6711648106575012, -0.18264909088611603, 0.4111981689929962, -0.012015043757855892, -0.5821057558059692, -0.17698363959789276, -0.2566659152507782, -0.23122729361057281, 0.005833057686686516, 0.38644590973854065, 0.9590641260147095, -0.2738822102546692, -0.7449222207069397, -0.03848698362708092, -0.11665396392345428, -0.26930731534957886, -0.20461589097976685, 0.2752079963684082, 0.022086938843131065, 0.312622606754303, 0.4005119800567627, -0.2534666359424591, 0.39955246448516846, -0.586800754070282, 0.4550965428352356, 0.5463654398918152, -0.3733203411102295, -0.16698065400123596, 0.574165403842926, 0.08165232837200165, -0.5230258107185364, 0.4316707253456116, -0.6116852760314941, -0.9192928075790405, 0.631719172000885, 0.6914154887199402, 0.9398705959320068, 0.22238057851791382, 0.6714993119239807, 0.11283804476261139, 0.5193488597869873, 0.18567894399166107, 0.4810183644294739, -0.10650061815977097, -0.9180206060409546, -0.32623526453971863, -0.8506892919540405, -0.20283342897891998, 0.5593239665031433, -0.47886449098587036, 0.2762371599674225, -0.246137335896492, -0.04974862188100815, 0.04222146049141884, 0.21567222476005554, -0.6816040873527527, 0.3101695775985718, 0.39361265301704407, 0.748613715171814, -0.6156224608421326, 1.1323152780532837, 0.799565851688385, -0.26504969596862793, -0.7952636480331421, -0.08355097472667694, -0.3979796767234802, -0.7070212364196777, 0.8960763216018677, 0.3474067151546478, -0.27656054496765137, 0.23170165717601776, -0.8370047211647034, -0.4441329836845398, 0.7025812864303589, 0.2907043993473053, -0.7284281849861145, -0.06033005565404892, -0.08032814413309097, 0.5871332883834839, -0.6561980247497559, 0.34950345754623413, 0.5569578409194946, 0.5072456002235413, 0.7328093647956848, -0.5267377495765686, 0.03107486665248871, -0.4709787666797638, 0.24570316076278687, 0.004256760235875845, -0.2867486774921417, 0.8031638860702515, -0.3807677626609802, -0.3248177468776703, -0.13746508955955505, 0.34805142879486084, 0.16700124740600586, 0.45328328013420105, 0.6542125344276428, 0.6439275145530701, 0.8094488382339478, -0.1215294599533081, 0.922926664352417, -0.14811347424983978, 0.1595928817987442, 1.1086158752441406, -0.39615851640701294, 0.6983321905136108, 0.7109841704368591, 0.28995710611343384, 0.42199936509132385, 0.6069298386573792, 0.10760819911956787, 0.6377026438713074, 0.49044498801231384, -0.03745820000767708, -0.44429054856300354, -0.6093941926956177, -0.50858473777771, 0.2684706449508667, 0.5932002067565918, -0.12838631868362427, -0.15263451635837555, 0.40483275055885315, -0.16871494054794312, 0.034536492079496384, -0.2122664600610733, 0.7393231391906738, -0.053212255239486694, -0.11325454711914062, 0.8032488226890564, -0.8318716883659363, 0.49479562044143677, -0.5382451415061951, -0.39960017800331116, -0.16685350239276886, -0.18951788544654846, -0.2941778600215912, -0.675750732421875, 0.40625494718551636, 0.005310297943651676, -0.005584129597991705, -0.2925102114677429, 1.09112548828125, -0.25604143738746643, -0.957230269908905, 0.5524846911430359, 0.4794892370700836, 0.35917893052101135, -0.18315574526786804, -0.6580639481544495, 0.710379958152771, -0.07931284606456757, -0.2815713584423065, 0.0869775339961052, 0.5425243973731995, -0.10862941294908524, 0.7148371934890747, 0.6646407246589661, 0.30462732911109924, 0.015073748305439949, -0.07285214215517044, 1.3645802736282349, -0.7509692311286926, -0.6832329034805298, -0.940782904624939, 0.8254930377006531, -0.4287135601043701, -0.19660423696041107, 0.4690777361392975, 0.28421154618263245, 1.152486801147461, -0.2603408098220825, 0.8338537812232971, -0.1992693394422531, -0.051450394093990326, -0.5610772371292114, 0.6696540117263794, -0.7719009518623352, 0.12088226526975632, -0.4575658142566681, -0.8216630220413208, -0.306402325630188, 0.7096108794212341, -0.24268245697021484, -0.29012390971183777, 0.7574278712272644, 0.9740856289863586, 0.1390579342842102, -0.030946973711252213, 0.8415770530700684, 0.1626535803079605, 0.43246063590049744, 0.6307557225227356, 1.1835623979568481, -0.16793082654476166, 0.4068303406238556, -0.33487987518310547, -0.279744416475296, -0.27740079164505005, -1.092441439628601, -1.000575304031372, -0.9345102906227112, -0.6391259431838989, -0.33600160479545593, 0.02823949232697487, 0.6583268642425537, 1.107994556427002, -0.6993449926376343, -0.1031424030661583, -0.046241216361522675, 0.359368234872818, -0.29084452986717224, -0.26159608364105225, 0.1448085755109787, -0.3241370916366577, -0.5463052988052368, -0.10920072346925735, 0.5299202799797058, 0.07572595030069351, -0.6176461577415466, 0.0060197897255420685, 0.07938633859157562, 0.11066564172506332, 0.9478906989097595, -0.07919642329216003, -0.9434332251548767, -0.6204078793525696, -0.052151571959257126, 0.22039318084716797, -0.19469767808914185, 0.8565438985824585, -1.1791629791259766, 0.7231380343437195, 0.410697340965271, 0.5898062586784363, 0.31858065724372864, -0.1581908017396927, 0.013117916882038116, -0.5284844636917114, 0.28511571884155273, 0.28883442282676697, 0.240130215883255, 0.13275977969169617, -0.729049563407898, 0.555307924747467, 0.48964011669158936, -0.23622922599315643, -1.325348138809204, 0.5069359540939331, -1.2748165130615234, -0.40987566113471985, 0.9725470542907715, -0.02854728326201439, -0.6707655191421509, -0.156865194439888, -0.8000466823577881, 0.03640148416161537, -0.31365349888801575, 0.8479467034339905, 0.649318516254425, -0.19643913209438324, -0.28043317794799805, -0.6789815425872803, 0.7089260816574097, 0.04649917408823967, -0.9491230249404907, 0.12923277914524078, 0.4641355872154236, -0.11733710020780563, 0.5156440734863281, 0.45626580715179443, 0.21869060397148132, -0.173256978392601, -0.045358166098594666, 0.002179696224629879, -0.43236932158470154, -0.8134653568267822, 0.10359407216310501, 0.319396048784256, -0.18680663406848907, -0.5168917775154114 ]
http://arxiv.org/abs/2407.03302v1
http://arxiv.org/pdf/2407.03302v1
A Review of the Applications of Deep Learning-Based Emergent Communication
2024-07-03T17:43:54
2024-07-03T17:43:54
Brendon Boldt, David Mortensen
cs.CL
cs.CL, I.2.7; I.6.m
Emergent communication, or emergent language, is the field of research which studies how human language-like communication systems emerge de novo in deep multi-agent reinforcement learning environments. The possibilities of replicating the emergence of a complex behavior like language have strong intuitive appeal, yet it is necessary to complement this with clear notions of how such research can be applicable to other fields of science, technology, and engineering. This paper comprehensively reviews the applications of emergent communication research across machine learning, natural language processing, linguistics, and cognitive science. Each application is illustrated with a description of its scope, an explication of emergent communication's unique role in addressing it, a summary of the extant literature working towards the application, and brief recommendations for near-term research directions.
[ -0.3607915937900543, -1.2271102666854858, 0.5139338970184326, 0.4643363356590271, 0.0669511929154396, 0.8316810131072998, -0.24896056950092316, -0.9190760850906372, 0.09368357062339783, 0.1776866614818573, -0.3712477385997772, -0.02000913955271244, -0.2595458924770355, -0.22653096914291382, -0.6540617942810059, 0.4862513840198517, 0.23629064857959747, -0.14659611880779266, 0.1656920313835144, 0.2325868308544159, -0.262685090303421, -0.34473326802253723, -1.2896097898483276, -0.770487368106842, 0.5328046679496765, 0.4139951467514038, 0.5573545694351196, 0.08710017800331116, 0.5561811327934265, 0.38129496574401855, -0.2361067831516266, 0.10772747546434402, -0.26001521944999695, 0.42318248748779297, -0.19995619356632233, -0.5591304302215576, 0.062113672494888306, 0.10983177274465561, 0.9810013771057129, 0.9182735681533813, -0.10981909930706024, -0.2541338801383972, 0.22836369276046753, 0.6685650944709778, -0.39909735321998596, 0.023588629439473152, -0.2327684462070465, 0.2452779859304428, -0.11763843894004822, -0.31077539920806885, -0.4998622536659241, -0.3286898732185364, 0.44471874833106995, -0.255425363779068, -0.0912235826253891, -0.13875722885131836, 0.4798274338245392, -0.07271628081798553, -0.5606298446655273, -0.5368674993515015, -1.5560543537139893, 0.5926142334938049, -0.5461024641990662, 0.34108272194862366, -0.2526426315307617, 0.538030743598938, -0.4441970884799957, -0.7287603616714478, -0.5465512871742249, -0.16775600612163544, 0.23944580554962158, 0.25652191042900085, -0.22866807878017426, 0.33397188782691956, -0.3864334523677826, 0.4917728304862976, -0.38806718587875366, 0.5353693962097168, -0.20506499707698822, 0.19808439910411835, 0.34605783224105835, 0.14801891148090363, 0.3858441412448883, 0.40749481320381165, -0.3578462600708008, -0.0684683620929718, -0.5609934329986572, 0.14882829785346985, 0.26983457803726196, 0.37010669708251953, -0.06520967930555344, 0.2193799912929535, -0.12688054144382477, 0.7435148358345032, -0.049505509436130524, 0.3106173872947693, 0.17491666972637177, -0.27964654564857483, -0.12489301711320877, -0.02411782369017601, 0.8564659357070923, -0.06901665031909943, 0.024300426244735718, -0.15495650470256805, 0.10002196580171585, -0.12126447260379791, 0.2855392098426819, -0.42062908411026, -0.3391551673412323, 0.1488431841135025, -0.5672977566719055, -0.5885396003723145, -0.13024118542671204, -0.570918083190918, -0.5369738936424255, -0.14112588763237, -0.012347470037639141, -0.35893815755844116, -0.9042866230010986, -0.05727655813097954, -0.17802922427654266, 0.3950076699256897, 0.18481990694999695, -0.9496851563453674, 0.349275141954422, 0.6477519869804382, 0.7157300114631653, 0.041891910135746, -0.5824952721595764, -0.013739250600337982, -0.05323520675301552, -0.5542667508125305, 0.877030074596405, -0.5530579686164856, -0.1384260058403015, 0.10347669571638107, -0.21455995738506317, -0.09437374025583267, -0.40663978457450867, 0.5515252351760864, -0.7000244855880737, -0.22969229519367218, 0.12080354243516922, -0.3228636384010315, -0.14917713403701782, 0.05638495087623596, -0.6130181550979614, 0.643365740776062, -0.08627885580062866, -0.44569265842437744, 0.4451654851436615, -1.0062475204467773, -0.6833462119102478, 0.45035943388938904, -0.06636969745159149, -0.40125077962875366, 0.17330695688724518, -0.1607198417186737, 0.49738526344299316, -0.04973988980054855, -0.0076718577183783054, -0.061658814549446106, -0.23539325594902039, 0.5108664631843567, -0.4799143970012665, 0.778773844242096, 0.6884171366691589, -0.6874143481254578, 0.06537216156721115, -0.6353460550308228, 0.29531824588775635, 0.16116157174110413, -0.5005108118057251, -0.39245811104774475, 0.19702228903770447, 0.02076561562716961, 0.3172350525856018, 0.1734936386346817, -0.5173591375350952, -0.05788938328623772, -0.645790696144104, 0.881607174873352, 0.436261922121048, 0.012711909599602222, 0.6594036817550659, -0.03940807655453682, 0.16601873934268951, 0.28871262073516846, 0.06958501785993576, -0.49144160747528076, -0.3462506830692291, -0.6718488335609436, 0.1002185121178627, 0.1734229177236557, 0.4994787275791168, -0.8931175470352173, 0.21564921736717224, 0.16711151599884033, -0.8293105363845825, -0.9282023906707764, -0.060277264565229416, 0.18980300426483154, -0.16725467145442963, 0.11316405981779099, 0.02616337686777115, -0.9843151569366455, -0.7552397847175598, -0.4502827227115631, -0.2470368593931198, 0.3971101641654968, 0.33132675290107727, 0.12359422445297241, -0.3833327889442444, 0.8228381872177124, -0.15057280659675598, 0.15782058238983154, -0.3263775408267975, 0.5869166851043701, -0.005421231966465712, 0.524551272392273, 0.47231239080429077, -0.8128368854522705, -0.4723533093929291, 0.3172164261341095, -0.8473943471908569, 0.5175048112869263, -0.3206532597541809, 0.4655925929546356, -0.017322031781077385, 0.7073396444320679, -0.5553315877914429, 0.09266339987516403, 0.6640313863754272, -0.15899160504341125, 0.4021897614002228, -0.3287184238433838, 0.32492369413375854, -0.985643208026886, -0.1288975179195404, -0.3118762969970703, -0.07579600065946579, -1.0028135776519775, 0.1519574075937271, -0.27393588423728943, -0.12697909772396088, -0.49597999453544617, 0.27557921409606934, -0.6762209534645081, -0.12433700263500214, -0.7794758677482605, -0.12472237646579742, -0.4830041229724884, -0.09345273673534393, 0.2092435210943222, 0.608691930770874, 0.7215250730514526, -0.8135650753974915, 0.4517481327056885, 0.021996285766363144, -0.36959075927734375, 0.25337615609169006, -0.552979588508606, 0.14475707709789276, -0.003536802949383855, 0.21097366511821747, -0.8758108615875244, 0.2059713900089264, 0.19646184146404266, -0.6316443681716919, 0.08738771080970764, 0.0778847336769104, -0.4796406030654907, -0.67103511095047, 0.053533151745796204, 0.3569318652153015, 0.4201677739620209, -0.44406285881996155, 0.0409349724650383, 0.5402197241783142, -0.18166430294513702, -0.40079265832901, -0.7492467761039734, 0.5021367073059082, -0.06215010955929756, -0.2544171214103699, 0.024144360795617104, -0.1743801087141037, -0.29574641585350037, -0.03110012412071228, 0.3636275827884674, -0.10748211294412613, 0.6185907125473022, 0.17513519525527954, -0.30501458048820496, -0.44807398319244385, 0.042143821716308594, 0.036620669066905975, 0.036895282566547394, 0.33920949697494507, -0.6320440769195557, 0.6160861253738403, -0.6412785053253174, -0.32613760232925415, 0.12113742530345917, 0.5725571513175964, 0.426900714635849, -0.011987422592937946, 0.8903347253799438, 0.8483342528343201, -0.23882897198200226, -0.2293851673603058, -0.33083829283714294, -0.37385982275009155, -0.4760361611843109, 0.2566635310649872, -0.19291266798973083, -1.0430412292480469, 0.25096189975738525, -0.6570463180541992, 0.000504002848174423, 0.4216099977493286, 0.35112297534942627, -0.3904496729373932, 0.774334728717804, 1.0630695819854736, 0.20027706027030945, 0.9424651861190796, -0.28066486120224, 0.6530797481536865, -0.8655678033828735, -0.275617390871048, -0.39427217841148376, -0.14665821194648743, -0.6774169206619263, -0.15603862702846527, 0.009633522480726242, 0.047350894659757614, -0.19238467514514923, 0.4730392396450043, -0.3962714374065399, 0.3905731737613678, 0.48031511902809143, -0.1935718059539795, 0.31806665658950806, -0.16608794033527374, -0.16557763516902924, 0.1573491245508194, -0.8767235279083252, -0.5995848178863525, 0.9812528491020203, 0.5035686492919922, 0.7251763343811035, -0.01115882396697998, 0.7365214824676514, 0.5350759625434875, 0.22775140404701233, -0.5841646790504456, 0.2959332764148712, 0.18874257802963257, -0.5826820135116577, -0.542428731918335, -0.470636785030365, -1.4798673391342163, 0.19729198515415192, -0.29233673214912415, -0.7478047609329224, 0.15020029246807098, -0.13102255761623383, -0.3380914628505707, 0.4474462568759918, -0.7296570539474487, 0.40737974643707275, -0.39490988850593567, -0.03404219076037407, -0.35005149245262146, -0.7562853693962097, 0.2395661473274231, 0.19590164721012115, 0.2507062256336212, 0.1426311582326889, 0.18516458570957184, 0.7305805683135986, 0.41320499777793884, 1.0016634464263916, 0.12378180772066116, -0.3070685863494873, 0.7687558531761169, -0.21244336664676666, 0.2274150848388672, 0.018750101327896118, 0.24434985220432281, 0.07302694767713547, -0.2415185123682022, -0.18934319913387299, -0.41296637058258057, 0.6412407159805298, -0.7131999731063843, -0.2149251401424408, -0.5268368124961853, -0.4117661416530609, -0.20176322758197784, 0.540317952632904, -0.06609293073415756, -0.013696504756808281, -0.7983635663986206, 0.13844521343708038, 0.9996547698974609, -0.10970544070005417, 0.7281849384307861, 0.8187852501869202, -0.18445834517478943, -0.18619835376739502, 1.071892499923706, -0.29214709997177124, 0.3857583999633789, 0.50020831823349, 0.07142895460128784, 0.0181338582187891, -0.7945849299430847, -0.273215651512146, -0.14106182754039764, -0.4644903838634491, 0.1721256673336029, -0.829833447933197, -0.7343422174453735, -0.2950875759124756, -0.1664130985736847, -0.5050325989723206, -0.08937010169029236, -0.19583524763584137, -0.1804085373878479, 0.04510379582643509, 1.1632792949676514, -0.36090803146362305, 0.26867032051086426, -0.6571420431137085, -0.021715376526117325, 0.31423988938331604, 0.3876933455467224, 0.3191886842250824, 0.06199058145284653, -0.49981704354286194, 0.41807904839515686, -0.35501065850257874, -0.6172878742218018, 0.15383629500865936, 0.25951912999153137, 0.8706574440002441, 0.3500383198261261, -0.4037610590457916, 0.1735469102859497, -0.41561949253082275, 0.7107346653938293, 0.26674991846084595, -0.5171860456466675, 0.7236038446426392, -0.43060818314552307, 0.2520538866519928, 0.23106636106967926, 0.40933138132095337, -0.6881151795387268, -0.47356274724006653, -0.9396679997444153, -0.909834623336792, 0.24027833342552185, 0.21607820689678192, 0.18202660977840424, 0.051214393228292465, -0.08183524757623672, -0.04406290501356125, 0.30042561888694763, -0.3514833450317383, -0.4136575162410736, 0.13288454711437225, 0.2195804864168167, -0.45133864879608154, -0.13200697302818298, -0.26644566655158997, -0.054845135658979416, 0.29275378584861755, -0.1844576746225357, 0.4929315149784088, 0.1147979274392128, -0.048554640263319016, -0.15435083210468292, 0.7131808996200562, 0.7546966671943665, 0.35940882563591003, 0.04078959673643112, 0.25769516825675964, -0.22224032878875732, -0.5598593950271606, 0.33381175994873047, 0.03206169977784157, -0.24202342331409454, -0.11213551461696625, 0.1704016476869583, 0.4441092610359192, 0.28989896178245544, -0.661835253238678, 0.0942348912358284, -0.04586027190089226, -0.08839601278305054, -0.3260234594345093, -0.19752644002437592, 0.4179333448410034, 0.48602667450904846, 0.5212868452072144, 0.4361090660095215, 0.3480227291584015, -1.0383244752883911, 0.3697919249534607, 0.5203417539596558, -0.7696259617805481, -0.3011586666107178, 0.48740971088409424, 0.5828514099121094, -0.37205833196640015, 0.5196305513381958, -0.06597387045621872, -0.2894324064254761, 0.5871354341506958, 0.7062397003173828, 0.9222907423973083, -0.21767278015613556, 0.37102463841438293, -0.09471427649259567, 0.5305447578430176, 0.20126241445541382, 0.3908914029598236, -0.0778934508562088, -0.7807047963142395, -0.3221883773803711, -0.3996068239212036, -0.3523420989513397, 0.24294382333755493, -0.03029950149357319, -0.21931138634681702, -0.4050118029117584, -0.20178425312042236, 0.4096173346042633, 0.11203844100236893, -0.6799039244651794, -0.004508679267019033, 0.5640024542808533, 0.7846240997314453, -0.9358522295951843, 0.4098806381225586, 0.974194347858429, -0.36796706914901733, -0.43562474846839905, -0.24138420820236206, -0.08403661847114563, -0.5866138935089111, 0.6337930560112, -0.15156808495521545, -0.2268596589565277, 0.19960664212703705, -0.5136210322380066, -0.9903848171234131, 0.945429265499115, -0.045678623020648956, -0.23932766914367676, 0.18897704780101776, 0.10657268017530441, 0.7908377051353455, -0.5742601752281189, 0.6456932425498962, 0.5345219969749451, 0.3555264174938202, 0.03214560076594353, -0.9801661968231201, -0.055114924907684326, -0.30091843008995056, -0.08136237412691116, 0.19072461128234863, -0.8647202253341675, 0.5937442779541016, -0.4655257761478424, -0.32020696997642517, 0.13873539865016937, 1.0095477104187012, -0.11148060858249664, 0.3806663453578949, 0.11465668678283691, 0.18259741365909576, 0.6135543584823608, -0.0201142318546772, 0.5014578104019165, -0.06724583357572556, 0.13410942256450653, 0.9699661135673523, -0.11417843401432037, 0.5846872925758362, 0.2780279219150543, -0.1097206100821495, 0.8053508996963501, 0.5674291253089905, 0.16549520194530487, 0.43221887946128845, 0.3112555146217346, -0.3850135803222656, 0.21699048578739166, -0.28777024149894714, -0.272621750831604, 0.24059134721755981, 0.8818126916885376, -0.26117974519729614, -0.25440672039985657, 0.19496957957744598, -0.29203885793685913, -0.0022376382257789373, -0.26566651463508606, 0.9235506057739258, 0.30448704957962036, -0.39482027292251587, 0.2255164384841919, -0.2948610186576843, 0.5439972877502441, -0.3454500734806061, -0.3686671853065491, 0.3102373778820038, 0.41052621603012085, -0.25922891497612, -1.1508303880691528, 0.27835822105407715, -0.5975216031074524, 0.02051376923918724, -0.4342878460884094, 1.0940757989883423, -0.5104318857192993, 0.1413717120885849, 0.30407610535621643, 0.7602384686470032, 0.22501786053180695, 0.1122407540678978, -1.0310605764389038, -0.05130312219262123, -0.5335601568222046, -0.10475801676511765, 0.1129995584487915, 0.4890516698360443, 0.15383386611938477, 1.1366417407989502, 0.6726382970809937, 0.20853875577449799, 0.2807222902774811, 0.19835719466209412, 0.8831989169120789, -0.7621667385101318, -0.41813236474990845, -0.6637575030326843, 0.38108301162719727, -0.15178465843200684, -0.3256721496582031, 0.8264431953430176, 0.44018641114234924, 0.6300135850906372, 0.04843515530228615, 1.0903971195220947, -0.2555781304836273, 0.14664912223815918, -0.2663223445415497, 0.7114901542663574, 0.19238241016864777, 0.012102661654353142, -0.3079322576522827, -0.6189231872558594, 0.10940607637166977, 0.060157410800457, -0.08424699306488037, 0.18810327351093292, 0.7147163152694702, 0.046492114663124084, 0.0902966856956482, 0.12086603790521622, 0.23932835459709167, 0.23221558332443237, 0.39315903186798096, 0.5808500051498413, 1.3943618535995483, -0.3483577370643616, 0.46053817868232727, 0.07449090480804443, -0.2729966640472412, -0.5001605153083801, -0.63519287109375, -0.8087142109870911, -0.9042292237281799, 0.005299859214574099, -0.14896726608276367, 0.2176050990819931, 0.6103747487068176, 0.8434200286865234, -0.5769977569580078, -0.2891003489494324, -0.43090030550956726, 0.19147495925426483, -0.9196969270706177, -0.2817080020904541, -0.09427700191736221, -0.5513583421707153, -0.42397505044937134, 0.7910184860229492, 0.3985709547996521, 0.40043389797210693, -0.6844505071640015, 0.053642768412828445, -0.5907097458839417, -0.039856839925050735, 0.8139528036117554, 0.9034613370895386, -0.31038206815719604, -0.0013303504092618823, 0.012195467948913574, -0.12262352555990219, -0.0517023541033268, 1.2545466423034668, -0.7859429121017456, 0.2892518937587738, 0.406475305557251, 0.8561763167381287, 0.38194969296455383, -0.33900049328804016, 0.8095673322677612, -0.45862898230552673, 0.004592006094753742, 0.5941249132156372, -0.23459726572036743, 0.5641329884529114, -0.47065502405166626, 0.2572547495365143, 0.1556299924850464, -0.6525872349739075, -0.6229988932609558, 0.6191194653511047, -0.6224157214164734, -0.34464070200920105, 0.9605733752250671, 0.0904761478304863, -0.09682388603687286, -0.6321786046028137, 0.03802429512143135, 0.28589895367622375, -0.39641621708869934, 0.7131130695343018, 0.4911036789417267, -0.07423704117536545, -0.46844568848609924, -0.6723846197128296, 0.6728094220161438, 0.2515811324119568, -0.7657696008682251, -0.16547457873821259, -0.3112006187438965, 0.07923693209886551, 0.4415396749973297, 0.6840859651565552, 0.1845368891954422, 0.12417005747556686, 0.13266612589359283, 0.08259975165128708, 0.18083609640598297, -0.45739349722862244, -0.29322028160095215, -0.10720930993556976, 0.28727078437805176, -0.14742694795131683 ]
http://arxiv.org/abs/2407.03282v1
http://arxiv.org/pdf/2407.03282v1
LLM Internal States Reveal Hallucination Risk Faced With a Query
2024-07-03T17:08:52
2024-07-03T17:08:52
Ziwei Ji, Delong Chen, Etsuko Ishii, Samuel Cahyawijaya, Yejin Bang, Bryan Wilie, Pascale Fung
cs.CL
cs.CL
The hallucination problem of Large Language Models (LLMs) significantly limits their reliability and trustworthiness. Humans have a self-awareness process that allows us to recognize what we don't know when faced with queries. Inspired by this, our paper investigates whether LLMs can estimate their own hallucination risk before response generation. We analyze the internal mechanisms of LLMs broadly both in terms of training data sources and across 15 diverse Natural Language Generation (NLG) tasks, spanning over 700 datasets. Our empirical analysis reveals two key insights: (1) LLM internal states indicate whether they have seen the query in training data or not; and (2) LLM internal states show they are likely to hallucinate or not regarding the query. Our study explores particular neurons, activation layers, and tokens that play a crucial role in the LLM perception of uncertainty and hallucination risk. By a probing estimator, we leverage LLM self-assessment, achieving an average hallucination estimation accuracy of 84.32\% at run time.
[ -0.36135512590408325, -0.5947229862213135, 0.8801424503326416, -0.013494230806827545, -0.009664085693657398, -0.14090166985988617, -0.2344546765089035, -0.7192805409431458, 0.20297300815582275, 0.392234742641449, -0.7738068699836731, -0.2571786344051361, -0.5203884840011597, 0.3508423864841461, -0.36933016777038574, 0.5968111753463745, 0.21513304114341736, 0.06457417458295822, -0.41979315876960754, 0.33960697054862976, -0.517132580280304, -0.7981675267219543, -0.4961077570915222, -0.34677237272262573, 0.423780232667923, -0.007037240546196699, 0.3852858245372772, 0.1314316987991333, 0.3973889648914337, 0.29670974612236023, 0.011838930658996105, 0.08011306077241898, -0.5994530916213989, 0.3898608386516571, 0.10063894838094711, -0.8671916723251343, -0.103465735912323, -0.1056986078619957, 0.46144089102745056, 0.6602337956428528, -0.11344343423843384, 0.04414256662130356, 0.21698229014873505, 0.8329896926879883, -0.6294942498207092, -0.12045606225728989, -1.1791768074035645, 0.34453392028808594, 0.006543679162859917, -0.4846676290035248, -0.45498937368392944, -0.324127733707428, 0.19181174039840698, -0.0811576321721077, 0.29671987891197205, 0.09775149822235107, 0.565396785736084, 0.6960503458976746, -0.31138402223587036, -0.48645779490470886, -0.6028746962547302, 0.3108254373073578, -0.5091130137443542, 0.4748941957950592, 0.6978486180305481, 0.17510588467121124, -0.6125983595848083, -0.5256519317626953, -0.5063928961753845, -0.7168951034545898, -0.25897136330604553, -0.14420174062252045, -0.035386089235544205, 0.15064336359500885, 0.2545246183872223, 0.43510690331459045, -0.5380188226699829, 0.061767276376485825, -0.4099128544330597, -0.4644637405872345, 0.47280153632164, 0.18921595811843872, 0.2209814488887787, -0.41140273213386536, -0.4173407256603241, 0.14114651083946228, -0.6728529334068298, -0.11975443363189697, 0.5270914435386658, 0.2271091639995575, 0.23681534826755524, 0.8291789293289185, 0.016390077769756317, 0.4445689916610718, 0.17563678324222565, 0.1397768259048462, 0.06370402872562408, -0.24473822116851807, -0.39398136734962463, 0.5098443031311035, 0.9923522472381592, 0.1281740665435791, 0.26216360926628113, -0.4977606534957886, -0.3469635844230652, 0.025747831910848618, 0.8709067702293396, -0.5595269203186035, -0.0075759743340313435, 0.4890037477016449, -0.0331193208694458, -0.22696447372436523, 0.06091933697462082, -0.5328530669212341, -0.8623099327087402, -0.13214346766471863, 0.6387218832969666, -0.4158337712287903, -0.26154688000679016, 0.05228547751903534, 0.2451501488685608, 0.2614068388938904, 0.1028270348906517, -0.6694132685661316, 0.4234539270401001, 0.42578378319740295, 0.717193603515625, -0.454106867313385, -0.3376650810241699, -0.37604841589927673, -0.13747234642505646, -0.5271512866020203, 0.8722977042198181, 0.0638691633939743, -0.4672982394695282, -0.13647936284542084, 0.1260886937379837, -0.0979335829615593, -0.6985660791397095, 0.37799015641212463, -0.3969372808933258, -0.15396687388420105, -0.3347475528717041, -0.691865861415863, -0.24240420758724213, 0.2510661482810974, -0.6369304060935974, 1.137238621711731, -0.2636685073375702, -0.9072873592376709, 0.5147165656089783, -0.058859147131443024, -0.2753627598285675, -0.023841077461838722, -0.49494239687919617, -0.3046795725822449, 0.5934594869613647, 0.1513136625289917, 0.6050917506217957, -0.048724669963121414, 0.18741443753242493, -0.310153603553772, -0.3388196527957916, 0.8408218622207642, -0.45940694212913513, 0.5181849002838135, -0.030642645433545113, -0.4831184446811676, 0.34443023800849915, -0.5451521873474121, 0.006331175100058317, 0.10989703238010406, -0.05989975482225418, -0.20275478065013885, -0.008976493962109089, -0.566461443901062, 0.25094321370124817, 0.1462884396314621, -0.30824822187423706, -0.04325629398226738, -0.5502287745475769, 0.060072265565395355, 1.0497236251831055, 0.31250762939453125, 0.24061472713947296, -0.1979026347398758, 0.44382408261299133, 0.02429906465113163, -0.07451869547367096, 0.23471932113170624, -0.4360968768596649, -0.7885931730270386, 0.09529436379671097, -0.18068429827690125, 0.3053041696548462, -0.16999749839305878, 0.6426368951797485, -0.030036525800824165, -0.4047456979751587, -0.5573928356170654, 0.0703626498579979, 0.23896850645542145, 0.4291965961456299, 0.2213842272758484, 0.0713621973991394, -0.5175566077232361, -0.9206539988517761, -0.24068213999271393, -0.29172053933143616, -0.09070846438407898, 0.30032506585121155, 0.617647647857666, -0.1939709186553955, 0.8095024824142456, -0.3993408977985382, -0.3808956444263458, -0.15025198459625244, 0.0895053893327713, 0.0045782639645040035, 0.20092181861400604, 0.19148294627666473, -0.3158411979675293, -0.03962166607379913, -0.23668713867664337, -1.1205577850341797, 0.09941011667251587, -0.41607940196990967, -0.17350032925605774, 0.5196914672851562, 0.6708775758743286, -0.664610743522644, 0.5734747648239136, 0.4700795114040375, -0.18265296518802643, 0.6050795912742615, -0.4309118986129761, -0.05950260907411575, -0.9036774635314941, -0.24665413796901703, -0.03953813388943672, 0.048712652176618576, -0.45913219451904297, -0.14068682491779327, 0.0914183035492897, 0.26776817440986633, -0.27320390939712524, 0.5277490019798279, -0.8034406900405884, -0.49817386269569397, -0.32457733154296875, 0.23991012573242188, -0.3498627543449402, 0.36126670241355896, 0.019741129130125046, 0.8670488595962524, 0.7188466191291809, -0.8999482989311218, -0.02964823879301548, -0.05758364126086235, -0.7277784943580627, 0.21443802118301392, -0.5177797079086304, 0.4239654242992401, -0.20864282548427582, 0.10807527601718903, -1.1938673257827759, -0.34352532029151917, 0.37493079900741577, -0.585198700428009, 0.2440701276063919, 0.19924317300319672, -0.4358995854854584, -0.40634849667549133, -0.12842705845832825, 0.17057356238365173, 0.25186774134635925, -0.5733842849731445, 0.5978320240974426, 0.4915749132633209, 0.20537805557250977, -0.5255626440048218, -0.8659058809280396, 0.21426646411418915, -0.18295012414455414, -0.49285390973091125, 0.04429933428764343, -0.25944381952285767, -0.3186798691749573, -0.19412113726139069, -0.4222885072231293, 0.0973169207572937, 0.2773702144622803, 0.8591578602790833, 0.07688284665346146, 0.09011085331439972, 0.29654961824417114, -0.048511605709791183, 0.08440505713224411, 0.751957356929779, -0.04059385135769844, 0.788992702960968, -0.14880923926830292, -0.6481571197509766, -0.6080590486526489, -0.011028530076146126, 0.22013255953788757, 0.03446085751056671, 0.8173009157180786, 0.32265761494636536, -0.712945818901062, -0.3203883469104767, -0.6803768873214722, -0.694955050945282, -0.48230066895484924, 0.24640408158302307, -0.5503915548324585, -0.4776143729686737, 0.6037327647209167, 0.3960985839366913, -0.39184293150901794, 0.40460410714149475, 0.7375239133834839, -0.1688869595527649, 0.7013309597969055, 0.3296256959438324, 0.053515031933784485, 0.005799689330160618, -0.06617069989442825, 0.21107694506645203, -0.8443830609321594, -0.5369517803192139, -0.3963642418384552, -0.2864862084388733, -0.695665717124939, -0.40615805983543396, 0.5426988005638123, -0.06747755408287048, 0.04575004428625107, 0.040619369596242905, -0.5625728964805603, 0.3157865107059479, 0.4398612082004547, 0.3843614161014557, 0.27841901779174805, 0.03294162452220917, -0.09804791957139969, -0.20592787861824036, -0.2763635218143463, -0.29274505376815796, 1.1715195178985596, 0.4196150004863739, 1.0507439374923706, -0.00955125316977501, 0.9139795899391174, 0.12736776471138, 0.1682063639163971, -0.9205191731452942, 0.6359459757804871, 0.6308416128158569, -0.8304883241653442, -0.577538013458252, -0.45198309421539307, -0.8729462027549744, 0.14060135185718536, -0.3357076942920685, -0.8871986865997314, 0.12796072661876678, -0.054120536893606186, -0.4508587121963501, 0.25838029384613037, -0.40611931681632996, 0.33387860655784607, -0.5316529273986816, -0.3159787058830261, -0.08075976371765137, -0.5912178754806519, 0.6081118583679199, -0.2524077594280243, -0.1279771775007248, -0.3250207006931305, 0.045848798006772995, 0.5805419683456421, -0.003472493030130863, 1.0765351057052612, 0.06824474036693573, -0.30514398217201233, 0.4564673900604248, 0.383312463760376, 0.6254855394363403, 0.15643693506717682, -0.25545361638069153, 0.12931819260120392, -0.5484305024147034, 0.17984749376773834, -0.4567272961139679, 0.7252311110496521, -0.6620703339576721, -0.7702360153198242, -0.7650662660598755, -0.530516505241394, -0.23524868488311768, -0.10404976457357407, 0.6018021702766418, -0.01994483359158039, -0.18038560450077057, 0.1241173967719078, 0.6982679963111877, -0.29499921202659607, 0.4100329279899597, 0.1155245378613472, -0.3198680281639099, -0.22146280109882355, 0.6289224624633789, 0.23626063764095306, 0.3034588396549225, 0.06821992248296738, 0.2573181092739105, -0.6426501870155334, -0.6707383990287781, -0.07409167289733887, 0.3875080943107605, -0.8227216005325317, -0.19882887601852417, -0.8953872323036194, -0.5711331963539124, -0.4161360561847687, 0.12445957213640213, -0.35796821117401123, -0.030056551098823547, -0.4893445372581482, -0.5889512300491333, 0.32666751742362976, 0.982344388961792, -0.056682221591472626, 0.005352825857698917, -0.4181036353111267, 0.28134140372276306, 0.5122070908546448, 0.28210824728012085, -0.005491814576089382, -0.6637250185012817, 0.04427717998623848, -0.03642941266298294, -0.007644063793122768, -0.9628618955612183, 0.4593459963798523, 0.0082840071991086, 0.8777105212211609, 0.5081623196601868, 0.24124889075756073, 0.6012699007987976, -0.4024503231048584, 0.8246740698814392, 0.034422531723976135, -0.7051057815551758, 0.46100351214408875, 0.002381313592195511, 0.03547864407300949, 0.6013931035995483, 0.6477941870689392, -0.2478492259979248, -0.5778743624687195, -0.3905831277370453, -0.6455236077308655, 0.40025436878204346, 0.20183508098125458, 0.2268633395433426, -0.38265734910964966, 0.5565115213394165, 0.19899040460586548, 0.10343561321496964, -1.079109787940979, -0.1812671273946762, -0.10405908524990082, 0.2838553786277771, 0.060516249388456345, -0.471037894487381, -0.15210379660129547, -0.2135041058063507, 0.4175690710544586, -0.2187856286764145, 0.4978613555431366, 0.40330061316490173, -0.31675317883491516, -0.28069594502449036, -0.006319175008684397, 0.8015685081481934, 0.5883080363273621, -0.559444785118103, 0.3318212032318115, 0.2782902419567108, -0.3099057972431183, 0.17889535427093506, -0.3559741675853729, 0.12938550114631653, -0.21095740795135498, 0.3276916444301605, 0.7818870544433594, 0.1826074719429016, -0.6312160491943359, 0.32404014468193054, -0.22529059648513794, -0.2610619366168976, -0.7748657464981079, 0.1524423360824585, 0.06237024813890457, 0.05351940542459488, 0.41006866097450256, -0.1900026500225067, 0.1799430251121521, -0.47828808426856995, 0.3844078481197357, 0.6893181800842285, -0.5648606419563293, -0.3216809034347534, 0.8314009308815002, -0.172265887260437, -0.31019672751426697, 0.6110514998435974, -0.23953372240066528, -0.41702473163604736, 0.5453940033912659, 0.7514508962631226, 1.3246313333511353, -0.2602962851524353, 0.10976637154817581, 0.6776837110519409, 0.6761798858642578, -0.09975480288267136, 0.2544909119606018, 0.3692863881587982, -0.862949013710022, -0.1738879680633545, -0.8544635772705078, -0.1968509554862976, 0.43191808462142944, -0.6324669122695923, -0.011827053502202034, -0.27301594614982605, -0.3866145610809326, -0.4525046944618225, -0.2020636647939682, -0.5727002620697021, 0.2719278931617737, 0.42343583703041077, 0.5931726098060608, -0.5811221599578857, 0.6917842030525208, 0.1311933845281601, -0.2483980357646942, -0.6287295818328857, 0.4350496828556061, 0.019177589565515518, -0.9824632406234741, 0.7583361864089966, 0.4843841791152954, -0.43020591139793396, -0.21793733537197113, -0.34688621759414673, -0.9120863080024719, 0.8546813130378723, 0.35547730326652527, -0.408801406621933, -0.2695028483867645, 0.35502856969833374, 0.44985562562942505, -0.2771594524383545, 0.06043645739555359, 0.5866182446479797, 0.33891192078590393, 0.08854542672634125, -0.5489547848701477, 0.3532492220401764, 0.171349436044693, -0.12946875393390656, 0.12241874635219574, -0.1849028468132019, 0.8030270934104919, -0.609128475189209, -0.44209346175193787, -0.13879147171974182, 0.8186926245689392, 0.2572591304779053, -0.06195789575576782, 0.6451687812805176, 0.4141201078891754, 0.9446185231208801, 0.06302503496408463, 1.2014373540878296, -0.49407824873924255, -0.1259009838104248, 1.3592054843902588, -0.2175762802362442, 0.8457069396972656, 0.6315814256668091, -0.018834969028830528, 0.12056940048933029, 0.8513206243515015, 0.13375073671340942, 0.4018012583255768, 0.6152461767196655, -0.2321474403142929, -0.23275987803936005, 0.02088867872953415, -0.3934021592140198, 0.531700849533081, 0.5925461053848267, -0.3900527060031891, 0.11189944297075272, -0.0721789002418518, -0.13990521430969238, -0.17181020975112915, -0.1378023624420166, 0.9010300040245056, 0.25733110308647156, -0.7900306582450867, 0.7020059823989868, -0.6892871856689453, 0.5313062071800232, -0.5053310394287109, 0.19887885451316833, -0.3930983543395996, -0.06047489866614342, -0.20054061710834503, -0.8019739389419556, 0.3051013648509979, -0.3004712462425232, 0.18938428163528442, 0.10547464340925217, 0.6621737480163574, -0.27362796664237976, -0.5768151879310608, 0.6088221073150635, 0.562493622303009, 0.41162189841270447, -0.6048095226287842, -0.3197048306465149, -0.027787059545516968, -0.049519333988428116, -0.5108763575553894, 0.5257043242454529, 0.5917393565177917, 0.1492765247821808, 0.9041025638580322, 0.47727373242378235, 0.23021671175956726, 0.5553812980651855, -0.05878542736172676, 0.6792880892753601, -0.7405745387077332, -0.05692971870303154, -0.8951847553253174, 0.3369070887565613, 0.016743693500757217, -0.3199559450149536, 0.716567873954773, 0.3885507881641388, 0.7669962048530579, 0.0033149856608361006, 0.6694132685661316, 0.3736507296562195, 0.11994335800409317, -0.7372704148292542, 0.9965782761573792, -0.6490157246589661, 0.30997440218925476, -0.03187141939997673, -0.8735429048538208, -0.09514167159795761, 0.6172348856925964, -0.31299373507499695, -0.05852360650897026, 0.808903694152832, 1.0075112581253052, 0.3553542196750641, -0.0950491800904274, 0.5700958371162415, 0.29595106840133667, 0.08443044126033783, 0.32567599415779114, 0.9776760935783386, -0.11525629460811615, 0.4328593909740448, -0.5466309189796448, 0.2436441034078598, -0.22658395767211914, -0.8951380252838135, -1.1100292205810547, -0.684185802936554, -0.03782602399587631, -0.5350908637046814, -0.3154292404651642, 0.8947890400886536, 0.38749006390571594, -0.6751051545143127, -0.4113924503326416, -0.18309316039085388, 0.006874114274978638, -0.026165233924984932, -0.21220779418945312, 0.39298832416534424, -0.632340669631958, -0.43883979320526123, 0.6628165245056152, 0.16283677518367767, 0.30558231472969055, -0.6077670454978943, 0.020185448229312897, -0.13526593148708344, 0.24944323301315308, 0.37462282180786133, -0.009605281986296177, -1.0350316762924194, -0.36163991689682007, 0.153489887714386, -0.4198877513408661, 0.24900469183921814, 0.6332191228866577, -0.7952438592910767, 0.47962167859077454, 0.29692256450653076, 0.6636284589767456, 0.4293772280216217, -0.2742826044559479, 0.4977734088897705, -0.7163788676261902, 0.058586668223142624, 0.2984204590320587, 0.31153276562690735, 0.26238277554512024, -0.8084934949874878, 0.667235791683197, -0.0321679450571537, -0.6250166893005371, -1.0155243873596191, 0.11748279631137848, -0.8418553471565247, -0.26191309094429016, 1.099524974822998, 0.27986711263656616, -0.3504045605659485, 0.1335534155368805, -0.026996783912181854, 0.20096859335899353, -0.16563358902931213, 1.232020378112793, 0.71124267578125, -0.3755103051662445, -0.10819905996322632, -0.9192894697189331, 0.8782216310501099, 0.18164779245853424, -1.0506550073623657, 0.2283189445734024, 0.3746281862258911, 0.14490236341953278, 0.25244125723838806, 0.6604740619659424, 0.2282150387763977, -0.009524769149720669, 0.09374231100082397, 0.24267879128456116, 0.22539108991622925, -0.48387572169303894, -0.2872595489025116, 0.1987803429365158, 0.050097979605197906, -0.1879892349243164 ]
http://arxiv.org/abs/2407.03277v1
http://arxiv.org/pdf/2407.03277v1
Evaluating Automatic Metrics with Incremental Machine Translation Systems
2024-07-03T17:04:17
2024-07-03T17:04:17
Guojun Wu, Shay B. Cohen, Rico Sennrich
cs.CL
cs.CL
We introduce a dataset comprising commercial machine translations, gathered weekly over six years across 12 translation directions. Since human A/B testing is commonly used, we assume commercial systems improve over time, which enables us to evaluate machine translation (MT) metrics based on their preference for more recent translations. Our study confirms several previous findings in MT metrics research and demonstrates the dataset's value as a testbed for metric evaluation. We release our code at https://github.com/gjwubyron/Evo
[ -0.28500330448150635, -0.49015143513679504, 0.47707870602607727, 0.553162693977356, -0.2161683440208435, 0.07190559804439545, -0.08679616451263428, -0.5312692523002625, -0.0867738425731659, 0.37158358097076416, -0.7219110727310181, -0.5468966960906982, -0.6240294575691223, 0.7332702875137329, -0.6059011220932007, 0.8666212558746338, -0.42398807406425476, 0.23435603082180023, -0.12854605913162231, -0.6753054857254028, -0.8942473530769348, -0.23823854327201843, -0.730162501335144, -0.32519862055778503, 0.20120583474636078, 0.690062403678894, 0.7506460547447205, 0.8219135403633118, 1.0276494026184082, 0.2897513806819916, 0.3758849799633026, 0.12037258595228195, 0.013824700377881527, 0.17618735134601593, 0.02024361863732338, -0.2832087576389313, -0.4601781964302063, 0.11955104768276215, 0.9573988318443298, 0.6908010244369507, -0.053417399525642395, 0.5912336111068726, -0.2746948003768921, 0.7577884793281555, -0.17640775442123413, -0.0225863978266716, -0.6848628520965576, 0.27941638231277466, 0.04581046849489212, -0.4235285520553589, -0.43035444617271423, -0.6346556544303894, 0.15083079040050507, -0.4623437523841858, 0.031925346702337265, 0.38425567746162415, 1.0383641719818115, 0.23973199725151062, -0.5578128695487976, -0.5073862075805664, -0.6746644973754883, 0.9157155752182007, -0.5424774885177612, 0.5469492673873901, 0.20373597741127014, 0.5628646612167358, -0.1815062165260315, -0.6271536946296692, -0.45368725061416626, -0.6197267174720764, -0.03658323362469673, 0.34465938806533813, -0.06722597032785416, -0.36847156286239624, 0.1471995860338211, 0.6054035425186157, -0.8084424734115601, 0.23153240978717804, -0.4169916808605194, -0.01751280203461647, 0.7396106123924255, 0.6652385592460632, 0.41945117712020874, 0.008005308918654919, -0.5367630124092102, -0.295549601316452, -0.6960717439651489, -0.1580761820077896, 0.39286327362060547, -0.0769784227013588, 0.06688404083251953, 0.844711184501648, -0.10445023328065872, 0.6778866052627563, -0.08444461971521378, 0.21197769045829773, 0.6820886135101318, -0.7944260239601135, -0.42896324396133423, -0.04120905324816704, 0.9635647535324097, 0.5565516948699951, 0.0005737126339226961, -0.3113272488117218, -0.47838836908340454, 0.14203199744224548, 0.5499847531318665, -0.6180278062820435, 0.08712633699178696, 0.23685221374034882, -0.41869261860847473, -0.2532593905925751, 0.017832312732934952, -0.5188265442848206, -0.1865231692790985, -0.5785754323005676, 0.537196695804596, -0.5685858130455017, 0.14429837465286255, 0.061074528843164444, -0.41201531887054443, 0.2735937535762787, 0.33991381525993347, -0.32634249329566956, 0.30354440212249756, 0.4594232141971588, 0.9888041615486145, -0.3911677300930023, -0.5924050807952881, -0.522810161113739, -0.26215919852256775, -0.6873753070831299, 0.7856596112251282, -0.42529845237731934, -0.4386793375015259, -0.08835214376449585, 0.40265658497810364, -0.12066246569156647, -0.9443497657775879, 0.5886295437812805, -0.43827345967292786, 0.39164289832115173, 0.11603458970785141, -0.4015931487083435, -0.24233759939670563, 0.42364558577537537, -0.42652055621147156, 1.200084924697876, 0.3427457809448242, -0.26757410168647766, 0.6760588884353638, -1.0114688873291016, -0.39639538526535034, 0.05981364846229553, 0.126020610332489, -0.694084107875824, 0.08648642897605896, 0.09796787053346634, 0.15152907371520996, -0.44054412841796875, 0.09162633121013641, -0.209052175283432, -0.3494971990585327, 0.3873155415058136, -0.24534636735916138, 0.737438440322876, 0.6052182912826538, -0.37343913316726685, 0.3799261152744293, -0.7218227982521057, -0.17650561034679413, 0.0969182476401329, -0.3773766756057739, -0.3120948374271393, 0.019345346838235855, -0.06377360224723816, 0.153920978307724, 0.4211694002151489, -0.57728111743927, 0.16740719974040985, -0.38800498843193054, 0.47437307238578796, 0.6626094579696655, 0.008384332992136478, 0.418642520904541, -0.2012767195701599, 0.777368426322937, 0.09738829731941223, 0.46223077178001404, -0.39182066917419434, -0.5411688685417175, -0.8248578310012817, -0.01362412516027689, 0.3211672902107239, 0.6944752931594849, -0.5823133587837219, 0.9064099788665771, -0.6469188928604126, -0.2996135354042053, -0.8218294382095337, 0.2726445496082306, 0.33464813232421875, 0.2330537587404251, 0.3877815008163452, -0.8281997442245483, -0.4203168749809265, -1.1617130041122437, -0.23688027262687683, 0.04081302881240845, -0.248836949467659, 0.08809753507375717, 0.6395493745803833, -0.3996078670024872, 0.581505537033081, -0.14681825041770935, -0.2904132604598999, -0.1703120917081833, 0.35453081130981445, 0.23283323645591736, 0.4323868453502655, 0.5670530796051025, -0.4101679027080536, -0.6588374972343445, 0.3810521066188812, -0.7216572761535645, -0.046136800199747086, -0.19782598316669464, -0.2982803285121918, 0.07900579273700714, 0.2594960331916809, -0.18574747443199158, 0.4362597167491913, 0.6925519108772278, -0.4971809983253479, 0.3961622714996338, -0.3996487259864807, 0.6481854915618896, -0.8606964349746704, 0.2835788428783417, 0.05858386680483818, -0.5029115676879883, -0.07218585908412933, 0.12044352293014526, 0.13515429198741913, -0.06106040999293327, -0.3002384901046753, 0.32033902406692505, -0.46222102642059326, -0.45046401023864746, -0.009071365930140018, 0.19248248636722565, -0.017096497118473053, 0.03752439096570015, -0.3780301809310913, 0.9162828326225281, 0.11343792825937271, -0.730533242225647, 0.5123185515403748, 0.2527276873588562, -0.6235954761505127, 0.7625946998596191, -0.7221914529800415, 0.3411748707294464, 0.06684230268001556, 0.0976717472076416, -1.2681161165237427, -0.07869526743888855, 0.33636558055877686, -0.7543551325798035, 0.24827389419078827, 0.03417373076081276, -0.9045954942703247, -0.7190396189689636, -0.27375468611717224, 0.10944493860006332, 0.4104807376861572, -0.43716827034950256, 0.11297184228897095, 0.47076335549354553, -0.05229868367314339, -0.2331172078847885, -0.5243566036224365, 0.4164641499519348, -0.4632347524166107, -0.37378084659576416, -0.06645376980304718, -0.1528758704662323, -0.21404492855072021, 0.02602871134877205, 0.006018529180437326, -0.08001600950956345, 0.29726290702819824, -0.0014905546559020877, 0.21312983334064484, -0.052087608724832535, 0.0713558942079544, 0.16010183095932007, -0.1778823733329773, 0.14930644631385803, -0.6432211399078369, 0.4760842025279999, -0.17097827792167664, -0.1853615939617157, -0.6242378950119019, 0.22777779400348663, 0.7306246757507324, -0.17451603710651398, 0.6540961861610413, 0.4802538752555847, -0.2364605963230133, 0.23678183555603027, -0.45537710189819336, 0.24979270994663239, -0.43682482838630676, 0.4710339605808258, -0.5230032205581665, -0.42273691296577454, 0.578399121761322, 0.003995267208665609, 0.35972487926483154, 0.8986349105834961, 0.6262552738189697, -0.11035933345556259, 1.3422832489013672, 0.3912394940853119, -0.08684790134429932, 0.5757733583450317, -0.30994459986686707, -0.10108082741498947, -0.8683980107307434, -0.17618639767169952, -0.6458665132522583, -0.5175103545188904, -0.7221834063529968, -0.16591933369636536, 0.4001275599002838, -0.31824690103530884, -0.4311932921409607, 0.7860782742500305, -0.7069944739341736, 0.23005464673042297, 0.4563426673412323, -0.01481893565505743, 0.5150557160377502, -0.07609403878450394, -0.22834175825119019, -0.15600328147411346, -0.4532323181629181, -0.5742636919021606, 1.2181487083435059, 0.5392507910728455, 0.3783385157585144, -0.09048163145780563, 0.27336207032203674, 0.6366831064224243, 0.9664593935012817, -0.9711664319038391, 0.2766917645931244, -0.22219431400299072, -0.6643498539924622, -0.3869665265083313, -0.5770372152328491, -1.205554723739624, 0.1544567197561264, 0.19688794016838074, -0.30758389830589294, 0.00468380656093359, 0.1123141497373581, 0.04473324865102768, -0.09355994313955307, -0.8892369866371155, 1.0013154745101929, -0.48579928278923035, 0.09019569307565689, -0.3968914747238159, -0.7172984480857849, -0.052999481558799744, -0.0461437813937664, 0.1925106942653656, -0.13037674129009247, -0.07624822109937668, 0.7062562108039856, -0.2724693715572357, 0.3068596124649048, -0.12700073421001434, -0.028060246258974075, 0.19989460706710815, 0.12204308807849884, 0.3547217547893524, -0.1599644273519516, -0.20689992606639862, 0.23631396889686584, -0.003608414903283119, -0.37551969289779663, -0.407166987657547, 0.688906192779541, -0.6660506725311279, -0.0859317034482956, -0.40371236205101013, -0.6349809169769287, -0.012232224456965923, 0.18412615358829498, 0.18343880772590637, 0.22472836077213287, -0.29943200945854187, 0.21784895658493042, 0.20924489200115204, -0.40366294980049133, 0.1888662874698639, 0.7228218913078308, -0.39124777913093567, -0.8053684830665588, 0.7234207391738892, 0.14144183695316315, 0.32289251685142517, 0.4364418685436249, 0.1909409761428833, -0.4755454957485199, -0.5450432896614075, -1.2184216976165771, 0.12218358367681503, -0.566071629524231, -0.18516573309898376, -0.4066154360771179, 0.23357388377189636, -0.34979090094566345, -0.02739032357931137, -0.5228016376495361, -0.4494962692260742, 0.2340143769979477, -0.11297497898340225, 0.3258923292160034, 1.025675654411316, 0.2209634631872177, 0.21344496309757233, -0.9715367555618286, -0.0033086868934333324, -0.3110855221748352, 0.2584575414657593, -0.3248943090438843, -0.8692531585693359, -0.6062542796134949, 0.03538409620523453, -0.515587329864502, -0.7318774461746216, 0.6891781091690063, -0.08576797693967819, 0.5694469213485718, 0.08233053237199783, -0.3920131027698517, 0.8517641425132751, -0.8059533834457397, 0.824339747428894, 0.3270164728164673, -1.0025599002838135, 0.7160232067108154, -0.24009469151496887, 0.5564522743225098, 0.7864868640899658, 0.4624222218990326, -0.6308149099349976, -0.5552523136138916, -0.5186563730239868, -0.9921751022338867, 0.3745996356010437, 0.1885935366153717, -0.028497133404016495, 0.13496899604797363, 0.4931641221046448, 0.4118310511112213, 0.4665725827217102, -0.26824790239334106, -0.353030264377594, 0.07357729226350784, -0.3820017874240875, -0.4324699938297272, 0.18970321118831635, -0.15765123069286346, -0.44715607166290283, 0.4734189510345459, 0.023451989516615868, 0.46730926632881165, 0.10944182425737381, -0.3060489892959595, -0.3005216717720032, 0.163038969039917, 0.5071892738342285, 0.9196805357933044, -0.34103938937187195, -0.18108303844928741, 0.3768823742866516, -0.511566698551178, 0.34783756732940674, 0.021045085042715073, -0.18735575675964355, 0.2887905538082123, 0.04993801563978195, 0.7866577506065369, -0.08993791788816452, -0.3535057306289673, 0.27675125002861023, -0.005408830009400845, -0.21974174678325653, -0.6602469086647034, -0.32102978229522705, -0.28225454688072205, -0.14330610632896423, 0.19832193851470947, 0.07459839433431625, 0.4160287380218506, -0.6457439064979553, 0.31294527649879456, 0.1493663191795349, -0.7718780636787415, -0.5871168375015259, 0.6825333833694458, 0.31102055311203003, -0.35680750012397766, 0.7188369631767273, -0.34283018112182617, -0.4713413715362549, 0.7420271039009094, 0.41399312019348145, 1.1675293445587158, -0.37106087803840637, -0.03485621139407158, 0.47427207231521606, 0.7307033538818359, -0.1001797541975975, 0.18007856607437134, 0.08568006753921509, -0.37429264187812805, -0.4532139301300049, -0.5927929878234863, -0.5264734029769897, 0.11061909049749374, -0.6521191000938416, 0.47342193126678467, -0.1480293571949005, -0.3381683826446533, -0.21716202795505524, 0.16983404755592346, -1.1478662490844727, 0.45225346088409424, -0.18360444903373718, 0.9050028920173645, -0.892593502998352, 0.7176869511604309, 1.237151861190796, -0.44278639554977417, -0.1588967889547348, -0.246834397315979, -0.10904961824417114, -0.9281921982765198, 0.8144875764846802, 0.2715942859649658, -0.2256079614162445, 0.1402500420808792, -0.37146979570388794, -0.6487035751342773, 1.3088736534118652, 0.0064880577847361565, -0.5764706134796143, 0.39408189058303833, 0.18050284683704376, 0.7352445721626282, -0.41264471411705017, 0.2586449682712555, 0.7297091484069824, 0.657355785369873, -0.19199764728546143, -1.2279926538467407, -0.06996853649616241, -0.3108038306236267, 0.04365339130163193, 0.4751354455947876, -0.5383388996124268, 0.3222520053386688, 0.10260370373725891, -0.34809181094169617, 0.16397377848625183, 0.47485801577568054, -0.2539409399032593, 0.605082631111145, 0.6781312227249146, 0.8051198124885559, 0.5732617378234863, -0.10492681711912155, 1.3614052534103394, -0.33125919103622437, 0.377021461725235, 1.0807080268859863, -0.0780835822224617, 0.7737640142440796, 0.4316866993904114, -0.4743025600910187, 0.3734891712665558, 0.8284001350402832, -0.14319729804992676, 0.46588030457496643, 0.24372662603855133, 0.1059010699391365, -0.05439062789082527, -0.002325605135411024, -0.3731827735900879, 0.06200447678565979, 0.4717765152454376, -0.5589187145233154, 0.02979610487818718, -0.04225647822022438, -0.03715904802083969, -0.19435064494609833, 0.027868375182151794, 0.7025699615478516, 0.08683143556118011, -0.7687039971351624, 0.4987451732158661, 0.03112703002989292, 0.33305445313453674, -0.5887590050697327, 0.1172657161951065, -0.30709108710289, 0.5036911964416504, 0.000028166345146019012, -0.8329675197601318, 0.5974608659744263, 0.0066725644282996655, 0.08732280135154724, -0.5169928073883057, 0.12471658736467361, -0.2570716142654419, -0.601857602596283, 0.29429924488067627, 0.3455604910850525, 0.29083532094955444, 0.17513367533683777, -0.830558180809021, 0.023352261632680893, -0.1335681527853012, -0.2039986550807953, 0.27502986788749695, 0.6266369223594666, -0.0706004723906517, 0.7910928726196289, 0.5491313934326172, 0.002247792901471257, 0.1734675019979477, 0.13336066901683807, 0.5755429267883301, -0.7776694893836975, -0.22089950740337372, -0.7684091329574585, 0.48538830876350403, -0.07150350511074066, -0.6446883678436279, 1.2411478757858276, 0.9345923662185669, 0.9934640526771545, -0.03409799933433533, 0.8537570238113403, -0.0418487973511219, 0.465518981218338, -0.28708943724632263, 0.3988838493824005, -0.7369493842124939, 0.2304365634918213, 0.05153590813279152, -0.9751005172729492, -0.44434207677841187, 0.47617363929748535, -0.34270045161247253, -0.4684380888938904, 0.890553891658783, 0.4493354558944702, 0.09162914007902145, -0.13953101634979248, 0.16009286046028137, 0.1616639494895935, 0.2787170112133026, 0.13820625841617584, 1.05624258518219, -0.8089267611503601, 0.5651500225067139, -0.07216952741146088, -0.2734453082084656, -0.22326421737670898, -0.7767583131790161, -0.503139078617096, -0.3781231939792633, -0.3846460282802582, -0.48732173442840576, 0.22562649846076965, 0.9641610383987427, 0.27980488538742065, -1.0367348194122314, -0.6542341709136963, -0.0900397077202797, -0.0918140634894371, -0.5398306250572205, -0.27825459837913513, 0.11313624680042267, -0.689815104007721, -1.071974515914917, 0.37430888414382935, 0.5078610181808472, -0.12032099813222885, -0.406645804643631, -0.05055847764015198, -0.04647129774093628, -0.08187196403741837, 0.6850665807723999, -0.08180639147758484, -0.26040390133857727, -0.4442971348762512, 0.36311066150665283, -0.15727779269218445, 0.38374805450439453, 0.8020723462104797, -0.46592074632644653, 0.7136167287826538, 0.681763231754303, 0.5879183411598206, 0.3631364703178406, 0.037726424634456635, 1.0077776908874512, -0.3794306516647339, 0.001984247239306569, 0.07627590745687485, 0.27794361114501953, 0.4645119905471802, -0.1831851750612259, 0.810122549533844, 0.35277989506721497, -0.8345336318016052, -0.7301061749458313, 0.04332682117819786, -0.6499264240264893, 0.2031169980764389, 0.9943732023239136, -0.35389524698257446, -0.152472585439682, -0.16821065545082092, 0.0178730059415102, 0.14070384204387665, -0.32457152009010315, 0.9266951084136963, 0.7332468032836914, -0.05957036837935448, 0.3998812437057495, -0.9896558523178101, 0.08070629835128784, 0.3004688620567322, -0.9056459069252014, -0.39497724175453186, 0.5128814578056335, 0.34495916962623596, 0.16751722991466522, 0.5278128385543823, -0.5684065818786621, 0.10969603061676025, -0.0019299741834402084, 0.13440459966659546, 0.31523823738098145, -0.3967478573322296, -0.3817582130432129, -0.42005643248558044, 0.10054557770490646, -0.634391725063324 ]
http://arxiv.org/abs/2407.03255v1
http://arxiv.org/pdf/2407.03255v1
How Similar Are Elected Politicians and Their Constituents? Quantitative Evidence From Online Social Network
2024-07-03T16:36:26
2024-07-03T16:36:26
Waleed Iqbal, Gareth Tyson, Ignacio Castro
cs.SI
cs.SI, cs.CL
How similar are politicians to those who vote for them? This is a critical question at the heart of democratic representation and particularly relevant at times when political dissatisfaction and populism are on the rise. To answer this question we compare the online discourse of elected politicians and their constituents. We collect a two and a half years (September 2020 - February 2023) constituency-level dataset for USA and UK that includes: (i) the Twitter timelines (5.6 Million tweets) of elected political representatives (595 UK Members of Parliament and 433 USA Representatives), (ii) the Nextdoor posts (21.8 Million posts) of the constituency (98.4% USA and 91.5% UK constituencies). We find that elected politicians tend to be equally similar to their constituents in terms of content and style regardless of whether a constituency elects a right or left-wing politician. The size of the electoral victory and the level of income of a constituency shows a nuanced picture. The narrower the electoral victory, the more similar the style and the more dissimilar the content is. The lower the income of a constituency, the more similar the content is. In terms of style, poorer constituencies tend to have a more similar sentiment and more dissimilar psychological text traits (i.e. measured with LIWC categories).
[ -0.6456020474433899, -0.08866006135940552, 0.6980636119842529, 0.03601882606744766, -0.3763067424297333, 0.4749225676059723, -0.20233651995658875, -0.3163868188858032, 0.7776467800140381, 0.4797731935977936, -0.3080277144908905, -0.2439192682504654, -0.5807973742485046, 0.11904576420783997, -0.19651931524276733, 0.5095033049583435, 0.6449043154716492, 0.26197463274002075, -0.32005298137664795, -0.21092510223388672, 0.07696934044361115, -0.5983145236968994, -0.34318169951438904, -0.3622856140136719, 0.6559239625930786, -0.009519274346530437, 0.6679510474205017, 0.3391416072845459, 0.3529132008552551, 0.35175052285194397, 0.13727083802223206, -0.25152552127838135, -1.1223671436309814, -0.04865359887480736, -0.4529728293418884, -0.3674834966659546, 0.024879759177565575, 0.2526606619358063, 0.25804656744003296, 0.8004283308982849, 0.29597896337509155, -0.06157783418893814, 0.42760562896728516, 0.8286029100418091, -0.775050699710846, 0.23472939431667328, -0.891188383102417, -0.219528928399086, -0.1307743638753891, -0.45258828997612, -0.26015010476112366, -1.1875519752502441, -0.11072510480880737, -0.2621283531188965, 0.22047556936740875, -0.1363312155008316, 0.9075102806091309, -0.2682560682296753, -0.6716828942298889, -0.3166861832141876, -0.31876569986343384, 0.45959481596946716, -0.5995868444442749, 0.3092752695083618, 0.13375379145145416, 0.3856678605079651, -0.05437801778316498, -0.6305745840072632, -0.4660147726535797, -0.1948111653327942, -0.1727120578289032, 0.39906084537506104, -0.1839102804660797, -0.04194983094930649, -0.010473441332578659, 0.25954410433769226, -0.5882189273834229, -0.07276853173971176, -0.37416309118270874, -0.28339600563049316, 0.5124655961990356, 0.0004405031504575163, 0.0528164878487587, -0.5645451545715332, -0.5401706695556641, -0.18606442213058472, -0.7864381670951843, 0.2329254150390625, 0.8799696564674377, 0.6461440920829773, -0.014635401777923107, 0.45032840967178345, 0.013990726321935654, 0.49692031741142273, 0.20256641507148743, 0.21653766930103302, 0.018284540623426437, -0.414559543132782, 0.43815767765045166, 0.12008234858512878, 1.0401402711868286, 0.7039478421211243, 0.7222617864608765, 0.00046415621181949973, 0.01492287777364254, 0.20773974061012268, 0.09741460531949997, -0.7607696056365967, -0.06769086420536041, 0.12629860639572144, -0.7277404069900513, -0.0162454042583704, 0.7058151960372925, -0.4276507794857025, -0.8761157989501953, -0.1992800384759903, 0.16237588226795197, -0.05848776549100876, -0.41932278871536255, -0.5550760626792908, -0.26751208305358887, 0.22500860691070557, 0.20000134408473969, -0.7138208150863647, 0.1926601529121399, 1.2301779985427856, 0.9541366696357727, -0.16470889747142792, 0.06903744488954544, -0.39244091510772705, -0.14242011308670044, -0.6454775929450989, 0.8625850677490234, -0.631624162197113, -0.13599544763565063, 0.1790289729833603, -0.0699719786643982, 0.007476411759853363, -0.9174383878707886, -0.2989172339439392, -0.48726046085357666, 0.18926069140434265, -0.6772440075874329, -0.6987374424934387, 0.2683517634868622, 0.1845940351486206, -0.8823081851005554, 0.4969824552536011, 0.2998042702674866, -0.6918912529945374, 0.7101148962974548, -0.30214598774909973, 0.056554507464170456, -0.22370478510856628, -0.3941691517829895, -0.06029423326253891, 0.3126235902309418, -0.13455785810947418, 0.7741772532463074, 0.08949065953493118, 0.06010473519563675, -0.7990415096282959, -0.39309990406036377, 0.6132444143295288, -0.001117986161261797, 0.9585592150688171, -0.008255019783973694, -0.1535889059305191, 0.053295474499464035, -0.6676850914955139, -0.1770397573709488, -0.36293596029281616, 0.18941758573055267, -0.27294138073921204, 0.008303998969495296, 0.09562891721725464, 0.42963850498199463, 0.1722201257944107, -0.9187743067741394, 0.12759847939014435, -0.39928901195526123, 0.8787627220153809, 0.8973389863967896, 0.38934868574142456, 0.4584674537181854, -0.562457799911499, 0.3151831030845642, 0.03014659322798252, -0.046384844928979874, 0.2958783209323883, -0.649965226650238, -0.10597730427980423, -0.11474976688623428, 0.6154911518096924, 0.28589221835136414, -0.2149655818939209, 0.1829262375831604, -0.6083791851997375, -0.43033140897750854, -0.41494429111480713, -0.4621126353740692, -0.22277383506298065, 0.007527738809585571, -0.21513141691684723, -0.34088134765625, -0.2992934286594391, -0.9731951355934143, -0.8011401295661926, -0.6520524024963379, -0.24065692722797394, 0.4079015552997589, 0.6076868772506714, 0.22842995822429657, 1.0437320470809937, -0.1389022171497345, -0.048414260149002075, 0.09608190506696701, 0.16228334605693817, 0.07575124502182007, 0.13089841604232788, 0.548382043838501, -0.6327641010284424, -0.5715433359146118, 0.3341084122657776, -0.26834923028945923, -0.09236479550600052, -0.06612692028284073, 0.05350901558995247, -0.021989425644278526, 0.3012795150279999, -0.17904381453990936, 0.380000501871109, 0.40371567010879517, -0.43028321862220764, -0.007289024069905281, 0.1810753047466278, 0.5067724585533142, -1.3631213903427124, 0.054586756974458694, -0.11598847061395645, -0.5878042578697205, -0.25661617517471313, 0.030286327004432678, -0.12517161667346954, -0.022688908502459526, -0.34892597794532776, 0.3395250737667084, -0.4286459982395172, -0.5504178404808044, 0.02146189659833908, 0.2694712281227112, -0.1509428769350052, -0.05722683668136597, -0.3481076657772064, 0.8141795992851257, 0.2800603210926056, 0.026387466117739677, 0.521757185459137, -0.17837657034397125, -0.793580949306488, 0.8277561664581299, -0.535954475402832, 0.2354540228843689, -0.15142756700515747, 0.22433502972126007, -1.4656003713607788, -0.440460205078125, 0.04766099154949188, -0.5835373997688293, -0.07686218619346619, -0.08428540080785751, -0.3333961069583893, -0.360983669757843, -0.3347759544849396, -0.11478418856859207, 0.49266886711120605, -0.2061551958322525, 0.565430760383606, 0.5813794732093811, -0.3972349464893341, -0.24045872688293457, -0.6419814229011536, 0.16734318435192108, -0.3248389959335327, -0.5112397074699402, 0.3096809387207031, 0.5132877826690674, -0.6654351949691772, 0.42171475291252136, 0.0996861532330513, -0.2572267949581146, -0.39159372448921204, 0.29229000210762024, -0.3105418086051941, -0.18964940309524536, 0.023310499265789986, -0.463886559009552, -0.027291791513562202, 0.04793925583362579, 0.022407924756407738, 0.5547825694084167, 0.052634794265031815, -0.2611629068851471, -0.47481101751327515, 0.577229380607605, 0.4696979820728302, 0.04380304366350174, 0.873179018497467, 0.39992555975914, -0.1963520646095276, 0.15350624918937683, -0.48299118876457214, -0.4117024838924408, -0.4424711763858795, 0.19807541370391846, -0.34828123450279236, -0.8429273366928101, 1.0605548620224, 0.21304258704185486, 0.33528101444244385, 0.6453084945678711, 0.5218270421028137, -0.19696685671806335, 0.6872676014900208, 0.2053040862083435, -0.008590987883508205, 0.3205074369907379, -0.30921900272369385, 0.17106610536575317, -0.12477343529462814, -0.4061979353427887, -0.7195912003517151, -0.6301779747009277, -1.0268803834915161, -0.2592083513736725, 0.040623437613248825, -0.10495877265930176, -0.38801005482673645, 0.3635527789592743, -0.6345334053039551, 0.3895314335823059, 0.46157029271125793, 0.1507285237312317, -0.17581163346767426, 0.2615601420402527, 0.3959480822086334, -0.38859567046165466, -0.43761342763900757, -0.38476213812828064, 0.9011971950531006, -0.1337675154209137, 0.4600430727005005, 0.22713634371757507, 0.8512766361236572, 0.5368703603744507, 0.4215390086174011, -0.5666453838348389, 0.42149272561073303, -0.028384840115904808, -0.5207578539848328, -0.027550362050533295, -0.7504379749298096, -1.1631442308425903, 0.11738427728414536, -0.23904523253440857, -0.7294895648956299, 0.5857172012329102, 0.017877301201224327, -0.2515527904033661, 0.73456871509552, -0.21914958953857422, 0.6525187492370605, 0.06886053085327148, -0.3776434361934662, -0.27889183163642883, -0.8897107243537903, -0.13403421640396118, 0.19046053290367126, 0.212962344288826, -0.29024094343185425, -0.0734507218003273, 0.8842828869819641, -0.5438680052757263, 0.49949702620506287, -0.2586212456226349, 0.24833530187606812, 0.3667990565299988, -0.3087945878505707, 0.2706223130226135, -0.34945061802864075, -0.23569878935813904, 0.10141848772764206, 0.36758124828338623, -0.5922629833221436, -0.749756932258606, 0.9099224209785461, -1.0363823175430298, -0.46333304047584534, -0.6020971536636353, -0.15532828867435455, 0.06412101536989212, -0.03537869453430176, 0.463990718126297, 0.7861169576644897, -0.5947651267051697, 0.7091132402420044, -0.06312363594770432, 0.45383575558662415, 0.5815458297729492, -0.233497753739357, -0.1513657122850418, -0.6588153839111328, 1.0166704654693604, 0.599092423915863, 0.36082351207733154, 0.5945079922676086, 0.38450273871421814, -0.625993013381958, 0.028363119810819626, -0.12760889530181885, 0.12725897133350372, -0.44498226046562195, -0.09489826112985611, -0.5456423163414001, -0.028871575370430946, -0.4468914866447449, -0.2278965264558792, -0.3356590270996094, -0.582979142665863, -0.3508763015270233, 0.2132255584001541, 0.24670985341072083, 1.3368970155715942, -0.18658801913261414, 0.21898439526557922, -0.15986308455467224, 0.027063103392720222, 0.6396431922912598, 0.2980952858924866, -0.13913992047309875, -0.373855322599411, 0.1662030816078186, 0.17584547400474548, -0.46455249190330505, -1.5399668216705322, -0.23363755643367767, 0.456380695104599, 0.274042010307312, 1.0497759580612183, 0.32356420159339905, 0.709575891494751, -0.19780422747135162, 1.1278355121612549, 0.27588891983032227, -0.5203381776809692, 0.06051212549209595, -0.3776599168777466, -0.030759433284401894, 0.9460907578468323, 0.5429111123085022, -0.2401479184627533, -0.4111289083957672, -0.7192884087562561, -0.5037004351615906, 0.24196362495422363, 0.37044450640678406, 0.3211025297641754, 0.006241948343813419, 0.2125435769557953, 0.21862681210041046, 0.3342941105365753, -0.5886236429214478, -0.22197368741035461, -0.4510324001312256, -0.03575941175222397, -0.047722358256578445, -0.10597606003284454, 0.06579135358333588, -0.014314509928226471, 0.03763962909579277, -0.07826855778694153, 0.44133609533309937, 0.05063038691878319, 0.5834071636199951, -0.07455653697252274, 0.26557594537734985, 0.2586180567741394, 1.2560945749282837, -0.4524771571159363, 0.17469806969165802, -0.21502375602722168, -0.2221994698047638, 0.2670935094356537, -0.2927090525627136, 0.15971457958221436, 0.2615717053413391, 0.7323064208030701, 0.5266426205635071, -0.1022452637553215, -0.08070852607488632, 0.7476863861083984, 0.037941720336675644, -0.35383516550064087, -0.20463669300079346, -0.22050821781158447, 0.581637978553772, -0.033704567700624466, 0.5647506713867188, 0.2395235151052475, 0.0062489998526871204, -1.3809224367141724, 0.14522458612918854, 0.7129186391830444, -0.720220685005188, -0.5614018440246582, 0.4645933508872986, 0.4353178143501282, -0.8867435455322266, 0.07990050315856934, -0.31275662779808044, -0.5876330733299255, 0.6848998665809631, 0.3427172005176544, 0.5414189696311951, -0.14484697580337524, 0.24078048765659332, 0.25974079966545105, 0.10809571295976639, 0.32102444767951965, 0.32009050250053406, 0.2447035014629364, -0.41195350885391235, 0.06325334310531616, -0.3454735577106476, -0.2773556709289551, 0.15124908089637756, -0.8778392672538757, -0.03491942584514618, -0.5238474607467651, -0.6770865321159363, 0.12176626920700073, 0.5169587135314941, -0.5447171330451965, 0.05802415683865547, -0.3298761248588562, 0.5261706113815308, -1.1180428266525269, 0.02281424216926098, 0.6333895325660706, -0.0007871914422139525, -0.8180102705955505, 0.3015514314174652, -0.11077762395143509, -0.45694026350975037, 0.07907029986381531, 0.4356014132499695, 0.13665728271007538, -0.25645971298217773, -0.2132432758808136, -0.3495914340019226, 0.6711139678955078, 0.7079362273216248, -0.8205094337463379, -0.10650304704904556, 0.45003268122673035, 0.449494332075119, -0.6470130085945129, 0.6227997541427612, 0.12419654428958893, 0.36211177706718445, 0.03497453033924103, -0.6256715059280396, -0.1256542205810547, 0.008990947157144547, -0.07955090701580048, 0.289748877286911, -0.9450095891952515, 0.8519061207771301, 0.15684787929058075, -0.4450106620788574, -0.1109044998884201, 0.6220479607582092, 0.06254911422729492, 0.41209590435028076, 0.6946314573287964, 0.1771276891231537, 0.581908106803894, -0.21749460697174072, 0.999129056930542, -0.7740015387535095, 0.1830885112285614, 0.6890265941619873, -0.3137056827545166, 0.8762566447257996, 0.5908237099647522, -0.46890783309936523, 0.6830624938011169, 0.7368608117103577, 0.25558343529701233, 0.6552858352661133, 0.3445223271846771, -0.01763816736638546, -0.3309079706668854, -0.29279080033302307, -0.5775485634803772, 0.42412492632865906, -0.004914243705570698, -0.2628440856933594, -0.09790206700563431, -0.15143446624279022, -0.21931304037570953, 0.6817154884338379, -0.3418358564376831, 0.932889997959137, 0.3171365559101105, -0.5490034818649292, 0.07913849502801895, -0.6781196594238281, 0.04344889521598816, -0.28664135932922363, 0.0013040780322626233, -0.20014998316764832, -0.08636268228292465, -0.14741003513336182, -1.2407844066619873, 0.3019002377986908, -0.11155260354280472, 0.0048210350796580315, -0.10771104693412781, 0.38066914677619934, -0.17736178636550903, -0.48599153757095337, 0.5275222659111023, 0.6709043979644775, 0.3133699595928192, -0.24208073318004608, -0.6565744876861572, 0.16001355648040771, 0.03607947751879692, -0.3471701145172119, 0.06517358124256134, 0.39220747351646423, 0.2025061398744583, 0.5062447190284729, 0.3636762499809265, 0.6881347894668579, -0.026272350922226906, 0.1848994642496109, 0.9670541286468506, -0.36370551586151123, -0.6077653169631958, -0.6651010513305664, 0.2815019488334656, -0.6609349250793457, -0.6683417558670044, 0.6749005913734436, 0.8006247878074646, 0.8651931285858154, 0.08820084482431412, 0.5328536629676819, -0.20610614120960236, 0.649469792842865, -0.14609672129154205, 0.941020667552948, -0.6667073369026184, -0.2018103152513504, -0.09414641559123993, -1.3889403343200684, 0.20156079530715942, 0.7027462720870972, -0.45809635519981384, 0.2651817500591278, 0.41675108671188354, 1.0214312076568604, -0.5078098177909851, -0.1290341466665268, 0.32446327805519104, 0.07018478959798813, -0.07919148355722427, 0.21635708212852478, 1.127643346786499, -0.026214690878987312, 0.44167566299438477, -0.09042631834745407, 0.18006576597690582, -0.25494125485420227, -0.5343464612960815, -1.0659793615341187, -0.8407496213912964, -0.2635915279388428, -0.5309420228004456, 0.29515761137008667, 1.0459657907485962, 0.8645484447479248, -0.9024691581726074, -0.2908640205860138, 0.11919380724430084, -0.09006939828395844, 0.05228592827916145, -0.28647714853286743, 0.40263429284095764, 0.4526931047439575, -0.592953622341156, -0.31777456402778625, 0.2457849532365799, -0.45509347319602966, -0.37094712257385254, 0.1711435317993164, 0.07587207108736038, 0.2934628129005432, 0.307526558637619, -0.07630161941051483, -1.0955215692520142, -0.6022982597351074, -0.14020788669586182, -0.5264424681663513, 0.3343141973018646, 0.8919641375541687, -0.7182292342185974, 0.4265997111797333, 0.9702739119529724, 0.0729115828871727, 0.3106823265552521, 0.6203104853630066, 0.3686561584472656, -0.5209230780601501, -0.018477587029337883, 0.3588718771934509, 0.015412825159728527, 0.67240971326828, -0.0702584907412529, 0.4729810655117035, 0.260547012090683, -0.5890040397644043, -0.6806554198265076, 0.3926355540752411, -1.0594745874404907, -0.08102373033761978, 0.8090435266494751, -0.2160366177558899, 0.013307887129485607, -0.06992022693157196, -0.027206681668758392, 0.23986394703388214, -0.6055777072906494, 0.648522675037384, 0.40880826115608215, 0.012004435993731022, -0.3327420651912689, -0.2363739013671875, 0.24697022140026093, -0.1583675742149353, -0.5972815155982971, -0.1762617528438568, 0.07341877371072769, 0.17490698397159576, 0.2402947098016739, 0.7054660320281982, 0.25726038217544556, 0.10948407649993896, 0.3151800334453583, -0.5413033366203308, 0.19826574623584747, -0.3195746839046478, -0.0013474002480506897, 0.6015052199363708, -0.3636336028575897, -0.04827059805393219 ]
http://arxiv.org/abs/2407.03253v1
http://arxiv.org/pdf/2407.03253v1
STF: Sentence Transformer Fine-Tuning For Topic Categorization With Limited Data
2024-07-03T16:34:56
2024-07-03T16:34:56
Kheir Eddine Daouadi, Yaakoub Boualleg, Oussama Guehairia
cs.CL
cs.CL
Nowadays, topic classification from tweets attracts considerable research attention. Different classification systems have been suggested thanks to these research efforts. Nevertheless, they face major challenges owing to low performance metrics due to the limited amount of labeled data. We propose Sentence Transformers Fine-tuning (STF), a topic detection system that leverages pretrained Sentence Transformers models and fine-tuning to classify topics from tweets accurately. Moreover, extensive parameter sensitivity analyses were conducted to finetune STF parameters for our topic classification task to achieve the best performance results. Experiments on two benchmark datasets demonstrated that (1) the proposed STF can be effectively used for classifying tweet topics and outperforms the latest state-of-the-art approaches, and (2) the proposed STF does not require a huge amount of labeled tweets to achieve good accuracy, which is a limitation of many state-of-the-art approaches. Our main contribution is the achievement of promising results in tweet topic classification by applying pretrained sentence transformers language models.
[ -0.6572138667106628, -0.9692801237106323, 0.31943854689598083, 0.3296205401420593, -0.6156795620918274, 0.172478586435318, -0.4535619020462036, -0.05700189247727394, 0.29671239852905273, 0.5681685209274292, -0.7545048594474792, -0.3828320801258087, -0.9313422441482544, 0.02186185121536255, -0.5763371586799622, 1.2262765169143677, -0.10261662304401398, -0.33547839522361755, 0.10564034432172775, 0.059888847172260284, -0.6365662217140198, -0.011413922533392906, -0.5692377090454102, -0.09644230455160141, 0.4264187812805176, 0.8978399634361267, 0.5616581439971924, 0.5132930874824524, 0.6987881660461426, 0.24131949245929718, 0.05746056139469147, 0.21325166523456573, -0.6232462525367737, 0.07765451073646545, -0.3257489800453186, -0.2237793505191803, -0.07907360792160034, -0.08458174020051956, 0.46497616171836853, 0.463612824678421, -0.12380078434944153, 0.1837722808122635, -0.03278617560863495, 0.29581305384635925, -0.3722682595252991, -0.019078588113188744, -0.7268761396408081, 0.13115613162517548, -0.2863158881664276, -0.6361382007598877, -0.26401495933532715, -0.2756763696670532, 0.17765551805496216, -0.2485744208097458, 0.7197754979133606, 0.12370381504297256, 1.2884324789047241, 0.47035667300224304, -0.5016336441040039, -0.04478767141699791, -0.7247259020805359, 0.6651633977890015, -0.2991168797016144, 0.22885581851005554, 0.2294319123029709, 0.3592219054698944, 0.053547441959381104, -0.9646159410476685, -0.46246397495269775, 0.07294147461652756, -0.15302380919456482, -0.03233194723725319, -0.4050971269607544, 0.06095872074365616, 0.2436646819114685, 0.36343419551849365, -0.6901560425758362, 0.17064641416072845, -0.3083646893501282, -0.09536567330360413, 0.47949838638305664, 0.1291528195142746, 0.08066384494304657, -0.2963707447052002, -0.13282546401023865, 0.13376063108444214, -0.19373689591884613, -0.1478562206029892, 0.098362997174263, 0.5586315393447876, -0.041676491498947144, 0.4488545358181, -0.44167953729629517, 0.3948879837989807, 0.225569948554039, 0.2804716229438782, 0.09265312552452087, -0.21209140121936798, -0.1794719099998474, -0.06841720640659332, 0.873020589351654, 0.3971858024597168, 0.4027208089828491, -0.2521969676017761, -0.19579006731510162, 0.1698470562696457, 0.5587943196296692, -1.219555377960205, -0.3371117115020752, -0.011912313289940357, -0.5656958818435669, -0.4663636386394501, 0.2592253088951111, -0.6420018672943115, -0.20883768796920776, -0.16417822241783142, 0.4948456585407257, -0.3082815110683441, -0.18209947645664215, 0.156497061252594, -0.08644416183233261, -0.26795694231987, 0.3064521551132202, -1.0087521076202393, 0.03270580992102623, 0.7528435587882996, 0.7799373865127563, -0.2181287705898285, -0.1940830498933792, -0.7052883505821228, -0.14973768591880798, -0.2739742398262024, 1.146614670753479, -0.6863895058631897, -0.13457739353179932, 0.06213843822479248, 0.055659569799900055, -0.031822167336940765, -0.32920655608177185, 0.9235320687294006, -0.42959460616111755, 0.0759439691901207, 0.055612172931432724, -0.6424709558486938, 0.547924280166626, 0.03866666927933693, -0.3910042643547058, 0.8314384818077087, 0.010933531448245049, -1.012068748474121, 0.6851091980934143, -0.7361790537834167, -0.7364174723625183, 0.03242524340748787, 0.1234176754951477, -0.42226743698120117, 0.31746819615364075, 0.3208140432834625, 0.8125101327896118, -0.315311074256897, 0.7844224572181702, -0.12109824270009995, -0.5682749152183533, 0.006808247417211533, -0.46322202682495117, 0.1912936270236969, 0.4943714439868927, -0.05107159912586212, 0.5377903580665588, -0.47007882595062256, -0.13590946793556213, -0.045454926788806915, -0.06501475721597672, -0.03250863775610924, 0.03513293340802193, 0.255166232585907, 0.10338352620601654, 0.06955058872699738, -0.4855008125305176, 0.18467994034290314, -0.3969416916370392, 0.8512171506881714, 0.48569542169570923, 0.2126292586326599, 0.6360846161842346, -0.28964558243751526, 0.3260948956012726, 0.07515381276607513, 0.15067850053310394, -0.12715034186840057, -0.3316500782966614, -0.9531580209732056, 0.0211982149630785, 0.483408123254776, 0.37676289677619934, -0.7907817959785461, 0.8986849784851074, -0.4155098497867584, -0.6480770111083984, -0.453986257314682, -0.13383182883262634, -0.18868067860603333, 0.37437108159065247, 0.43524429202079773, 0.15555085241794586, -0.495983362197876, -0.9725929498672485, -0.3579806685447693, -0.03686856850981712, -0.2908203601837158, 0.04431331157684326, 0.4470428228378296, -0.17301051318645477, 0.8961707353591919, -0.7746184468269348, -0.4089116156101227, -0.30382660031318665, 0.6053473949432373, 0.08053453266620636, 0.41111838817596436, 0.3725915551185608, -0.971223771572113, -0.3556908965110779, -0.19893692433834076, -0.16961750388145447, -0.2693205177783966, -0.05373299494385719, -0.17663882672786713, -0.10014385730028152, 0.6948019862174988, -0.6761574149131775, 0.45290306210517883, 0.09851989895105362, -0.39592716097831726, 0.16781488060951233, 0.02164280042052269, 0.04219699651002884, -1.2377873659133911, -0.2863098382949829, 0.24014294147491455, -0.3166334629058838, -0.8045498132705688, -0.25779587030410767, 0.33605602383613586, -0.2278374284505844, -0.3521463871002197, 0.29468095302581787, 0.3351857662200928, 0.494469553232193, -0.7503445148468018, -0.09702124446630478, -0.23894178867340088, 0.243453249335289, 0.14137451350688934, 0.6292017698287964, 0.4305369257926941, -0.5954378843307495, 0.2544393539428711, 0.3799435496330261, -0.3235442340373993, 0.24402931332588196, -0.5050293207168579, -0.002273479476571083, -0.13541993498802185, 0.19664856791496277, -0.997676432132721, -0.259240984916687, 0.22171975672245026, -0.43810614943504333, 0.27916523814201355, 0.03948744758963585, -0.773215115070343, -0.47903427481651306, -0.10046960413455963, -0.0962410420179367, 0.4002675712108612, -0.43187060952186584, 0.31607192754745483, 0.24097804725170135, -0.18352505564689636, -0.24340344965457916, -0.5184119939804077, 0.03569462150335312, -0.3396746814250946, -0.5577145218849182, 0.5562077164649963, 0.17203348875045776, 0.31855762004852295, 0.06964416056871414, -0.3480447828769684, -0.1615246832370758, 0.12394774705171585, 0.11546221375465393, -0.13601042330265045, -0.21378257870674133, 0.722526490688324, 0.28424039483070374, -0.3846215605735779, -0.3720960021018982, -0.26535701751708984, 0.6766425967216492, -0.2461746484041214, 0.12587381899356842, -0.5493265986442566, 0.19978347420692444, 0.2625841796398163, -0.4784901440143585, 0.6430572867393494, 1.0858469009399414, -0.4873824119567871, -0.5211890935897827, -0.5069643259048462, -0.3943581283092499, -0.5027652978897095, 0.4275331497192383, -0.3654937148094177, -1.3909379243850708, 0.13561348617076874, -0.22620204091072083, -0.19879962503910065, 0.6529891490936279, 0.20453467965126038, -0.2232879251241684, 0.614674985408783, 0.9622645378112793, -0.11780732870101929, 0.6915952563285828, -0.1348210573196411, 0.45251598954200745, -0.20952443778514862, 0.24088463187217712, -0.7991105318069458, -0.47025224566459656, -0.8446909189224243, -0.23157504200935364, -0.17773936688899994, 0.1531199961900711, -0.4257391095161438, 0.5710858702659607, -0.7574552297592163, 0.5075893402099609, 0.5440806746482849, 0.21792547404766083, 0.04138480871915817, 0.0011666682548820972, 0.575925350189209, -0.17311625182628632, -0.5004200339317322, -0.6828400492668152, 0.6583839654922485, 0.47897154092788696, 0.6934874653816223, -0.2380339354276657, 0.474060595035553, 0.3425869941711426, 0.33142220973968506, -0.7322314381599426, 0.5145370364189148, -0.769626259803772, -0.43764975666999817, -0.5652549266815186, -0.4679550230503082, -0.6412619948387146, -0.032556094229221344, -0.3195511996746063, -0.7619709968566895, 0.05826856568455696, -0.11623965203762054, -0.3201982378959656, 0.3064453601837158, -0.7916635870933533, 1.18722403049469, -0.046788111329078674, 0.014980029314756393, -0.2169741690158844, -0.5442216396331787, -0.03780633583664894, -0.27671900391578674, -0.3426820635795593, -0.5301096439361572, 0.007943387143313885, 0.899618923664093, -0.1755659431219101, 0.6048770546913147, -0.35003167390823364, 0.054153427481651306, 0.014601627364754677, -0.30102208256721497, 0.382575124502182, 0.3465135097503662, -0.07117494195699692, -0.04243179038167, -0.06771396100521088, -0.30808523297309875, -0.47807857394218445, 0.5793007016181946, -0.566902756690979, -0.776586651802063, -0.19281363487243652, -0.4200265109539032, -0.42707663774490356, 0.40513354539871216, 0.6294755935668945, 0.07139710336923599, -0.24583938717842102, 0.5953863859176636, 0.4892626702785492, -0.11365640163421631, 0.5194599032402039, 0.31560784578323364, 0.1124950721859932, -0.05238078534603119, 0.8896286487579346, 0.0418643020093441, -0.20369957387447357, 0.7997180819511414, 0.1970232129096985, -0.17669560015201569, -0.8331409692764282, -0.10751087218523026, -0.10496149212121964, -0.39766040444374084, -0.5445400476455688, -0.8236385583877563, -0.383280873298645, -0.36959052085876465, -0.06473357230424881, -0.4347255229949951, -0.2920325994491577, -0.7885164618492126, -0.2657095193862915, 0.43067631125450134, 0.344132661819458, 0.32930296659469604, 0.7617461085319519, -0.7814760804176331, 0.7718586921691895, 0.09825234115123749, 0.6812698245048523, -0.4214872717857361, -0.7742459774017334, -0.09938815981149673, -0.08759316802024841, -0.5750424265861511, -0.5787994265556335, 0.2253345251083374, 0.4259284734725952, 0.20543256402015686, 0.6117266416549683, 0.6488726735115051, 0.7498697638511658, -0.48712027072906494, 0.4922717213630676, 0.07028059661388397, -1.0283563137054443, 1.0118463039398193, -0.4163344204425812, 0.2227810025215149, 0.7566596865653992, 0.13007402420043945, -0.5017179250717163, -0.565521776676178, -0.4685364067554474, -0.704234778881073, 1.0442270040512085, 0.463510125875473, 0.5722352862358093, 0.049638375639915466, 0.3780398666858673, 0.30629992485046387, 0.36069753766059875, -0.21151500940322876, -0.04680369794368744, -0.4067458212375641, -0.35541418194770813, -0.3779272139072418, -0.23084139823913574, 0.2659133970737457, -0.25826552510261536, 0.2927626967430115, -0.15352201461791992, 0.4166204631328583, -0.1070355474948883, -0.16437236964702606, -0.48785194754600525, 0.4149364233016968, 0.5321231484413147, 0.491075336933136, -0.3700050115585327, 0.1349029690027237, 0.20919722318649292, -0.33791425824165344, 0.09922784566879272, 0.4480154812335968, -0.13361048698425293, 0.04134372994303703, 0.27108055353164673, 1.0620222091674805, 0.12114983052015305, -0.4025561511516571, 0.5262043476104736, -0.2672794759273529, -0.31551995873451233, -0.11419554054737091, 0.36055105924606323, 0.1355603188276291, 0.29994523525238037, 0.5394569635391235, 0.4140591025352478, 0.0088322963565588, -0.2298702448606491, 0.616388201713562, -0.0017705484060570598, -0.4817136526107788, -0.15910767018795013, 0.6170356273651123, 0.2613285481929779, -0.43327781558036804, 0.4473794996738434, -0.2522979974746704, -0.5278759002685547, 0.6374463438987732, 0.2850893437862396, 1.0044960975646973, -0.13718654215335846, 0.4954928159713745, 0.11556791514158249, 0.3707300126552582, -0.1915448009967804, 0.09675492346286774, -0.11568772792816162, -0.8874228596687317, -0.36913350224494934, -0.7808719277381897, -0.26257243752479553, 0.3450426459312439, -0.5458999276161194, 0.6079944372177124, -0.44957494735717773, -0.3058803975582123, 0.5154671669006348, 0.1822403520345688, -0.5785316228866577, 0.3772241175174713, -0.10337257385253906, 1.1061769723892212, -0.8960247039794922, 0.878785252571106, 0.7627419233322144, -0.10792676359415054, -0.5138679146766663, 0.5962247252464294, -0.6240372657775879, -0.1808401197195053, 0.6254643201828003, 0.38939303159713745, 0.1782233864068985, 0.12555214762687683, -0.4920019507408142, -0.44699591398239136, 0.7873813509941101, 0.46538788080215454, -0.4382838010787964, 0.045427847653627396, 0.28240227699279785, 0.6807940602302551, -0.4128565192222595, -0.029659848660230637, 0.5075849294662476, 0.4463736414909363, 0.11536354571580887, -1.0466591119766235, -0.0013262048596516252, -0.2611069679260254, 0.05832548439502716, 0.41336917877197266, -0.7411196827888489, 0.4746286869049072, 0.09680461138486862, -0.21632421016693115, 0.006188512779772282, 0.8624598979949951, -0.1475229114294052, 0.6510438323020935, 0.47503334283828735, 0.3468523323535919, 0.643231213092804, -0.6542332768440247, 0.659184992313385, -0.07691720128059387, 0.6438894271850586, 0.8134365081787109, -0.09441187232732773, 0.7775150537490845, 0.31429144740104675, -0.06452775001525879, -0.19467423856258392, 0.9432955980300903, -0.3078276515007019, 0.7635645866394043, 0.23902082443237305, 0.2082822620868683, -0.4795384407043457, -0.34261101484298706, -0.2198200523853302, 0.32311639189720154, 0.4470924139022827, -0.14213304221630096, -0.24423933029174805, 0.5361329317092896, -0.3120296895503998, 0.03098740428686142, -0.23792795836925507, 0.6541895270347595, 0.020550154149532318, -0.5591411590576172, 0.3769633173942566, 0.1844390630722046, 1.036505103111267, -0.3092825412750244, 0.2953490912914276, -0.18212850391864777, 0.27270859479904175, -0.18094801902770996, -0.8257685899734497, 0.5262961387634277, 0.1287234127521515, -0.14851370453834534, -0.5363086462020874, 1.2495673894882202, -0.27936771512031555, -0.3651103675365448, 0.16267408430576324, 0.24337522685527802, -0.24292635917663574, -0.3944912850856781, -0.38711637258529663, -0.026017459109425545, 0.013785932213068008, -0.28681063652038574, -0.07169350236654282, 0.7181978225708008, 0.08267665654420853, 0.7003352046012878, 0.2905327081680298, -0.21164695918560028, -0.2557191252708435, 0.13093626499176025, 0.7628605961799622, -0.8449172973632812, -0.704664945602417, -0.6393576264381409, 0.264684796333313, -0.03465854376554489, -0.620269775390625, 0.3657422363758087, 0.4146089553833008, 0.8104934692382812, -0.28593361377716064, 0.714508056640625, 0.02139345183968544, 0.7796190977096558, -0.3424000144004822, 0.8246996402740479, -0.6672266721725464, 0.21422414481639862, -0.13776610791683197, -0.8349043130874634, -0.5582320690155029, 0.5153515338897705, -0.42523929476737976, 0.05881325900554657, 0.7701597809791565, 0.5802969336509705, -0.3526560366153717, 0.5667557120323181, 0.29251450300216675, 0.01044425182044506, 0.3922955095767975, 0.3946128785610199, 1.0580124855041504, -0.405569463968277, 0.7805588841438293, -0.45029160380363464, 0.14706729352474213, -0.6202558279037476, -0.5832332968711853, -1.1927636861801147, -0.6935002207756042, -0.47617730498313904, 0.03582923859357834, 0.06193871796131134, 0.7849127650260925, 0.7862377166748047, -1.042064905166626, 0.22629201412200928, -0.49115049839019775, -0.030898436903953552, 0.2066512405872345, -0.2718106508255005, 0.575600266456604, -0.4832373857498169, -0.632855236530304, 0.050215765833854675, 0.09520143270492554, -0.027819626033306122, 0.2904178500175476, 0.18122859299182892, -0.0981694683432579, -0.17321591079235077, 0.5107482075691223, -0.07784507423639297, -0.5551998615264893, -0.6025975346565247, 0.11163900792598724, -0.1976405531167984, -0.023662444204092026, 1.0023200511932373, -0.43431851267814636, -0.05057657137513161, 0.6090794801712036, 0.6137758493423462, 0.7607563138008118, 0.10167618095874786, 0.22559183835983276, -0.9745064377784729, 0.05792874097824097, 0.38759711384773254, 0.18979492783546448, 0.07844607532024384, -0.3083106279373169, 0.37491098046302795, -0.009455226361751556, -0.4212144911289215, -0.8497689962387085, 0.18300245702266693, -0.9138795137405396, -0.35021165013313293, 0.9401468634605408, 0.36471983790397644, 0.2519078254699707, -0.12107057124376297, -0.2574785351753235, 0.6303482055664062, -0.6179468631744385, 0.8417690396308899, 0.6804550290107727, 0.047001078724861145, -0.4616905152797699, -0.6046038866043091, 0.5092493295669556, 0.34254130721092224, -0.819703221321106, 0.013920538127422333, -0.005837467964738607, 0.06661952286958694, 0.21186651289463043, 0.46655941009521484, 0.4346565902233124, 0.20834535360336304, -0.42271456122398376, -0.32247617840766907, -0.015859229490160942, -0.4954299032688141, -0.18164773285388947, 0.5012884140014648, -0.2035772204399109, -0.4082501530647278 ]
http://arxiv.org/abs/2407.03236v1
http://arxiv.org/pdf/2407.03236v1
CATT: Character-based Arabic Tashkeel Transformer
2024-07-03T16:05:20
2024-07-03T16:05:20
Faris Alasmary, Orjuwan Zaafarani, Ahmad Ghannam
cs.CL
cs.CL
Tashkeel, or Arabic Text Diacritization (ATD), greatly enhances the comprehension of Arabic text by removing ambiguity and minimizing the risk of misinterpretations caused by its absence. It plays a crucial role in improving Arabic text processing, particularly in applications such as text-to-speech and machine translation. This paper introduces a new approach to training ATD models. First, we finetuned two transformers, encoder-only and encoder-decoder, that were initialized from a pretrained character-based BERT. Then, we applied the Noisy-Student approach to boost the performance of the best model. We evaluated our models alongside 11 commercial and open-source models using two manually labeled benchmark datasets: WikiNews and our CATT dataset. Our findings show that our top model surpasses all evaluated models by relative Diacritic Error Rates (DERs) of 30.83\% and 35.21\% on WikiNews and CATT, respectively, achieving state-of-the-art in ATD. In addition, we show that our model outperforms GPT-4-turbo on CATT dataset by a relative DER of 9.36\%. We open-source our CATT models and benchmark dataset for the research community\footnote{https://github.com/abjadai/catt}.
[ -0.2488679140806198, -0.7159469127655029, 0.18892979621887207, -0.05443689599633217, -0.6737226247787476, 0.6458413600921631, -0.0008429067092947662, -0.4635220170021057, -0.08178512006998062, 0.5574678182601929, -0.3646877408027649, -0.734819233417511, -0.587028443813324, 0.2444325089454651, -0.5568023920059204, 1.237667202949524, -0.3155486583709717, 0.12508529424667358, 0.7110810279846191, 0.0367112010717392, -0.2566087245941162, -0.6161767840385437, -0.5580585598945618, -0.15963076055049896, 0.1965266913175583, 0.44456496834754944, 0.8449985384941101, 0.7183307409286499, 0.7604922652244568, 0.20468154549598694, -0.07362758368253708, 0.10961037874221802, 0.026063190773129463, 0.1908837854862213, 0.1861381232738495, -0.18919670581817627, -0.33597809076309204, -0.3144673705101013, 0.7065612077713013, 0.38585713505744934, -0.23523226380348206, 0.09244387596845627, 0.010900062508881092, 0.4698067605495453, -0.47024795413017273, 0.00034821598092094064, -0.5987182855606079, 0.1679435819387436, -0.44491490721702576, 0.08664993196725845, -0.5717800855636597, -0.759693443775177, 0.017407886683940887, -0.45682138204574585, 0.35722923278808594, -0.026536526158452034, 0.9378958344459534, 0.4168259799480438, -0.6697736382484436, -0.04871055483818054, -0.767723023891449, 0.8489024639129639, -0.5994976758956909, 0.8094668984413147, 0.40580466389656067, 0.407947301864624, 0.1841896027326584, -0.8583109974861145, -0.5237208008766174, -0.2087036818265915, 0.17260608077049255, 0.2620968222618103, -0.0022566160187125206, 0.3443191945552826, 0.1864282786846161, 0.541519045829773, -0.5840294361114502, -0.09599658846855164, -0.2211056351661682, -0.08071425557136536, 0.27623096108436584, 0.06135149300098419, 0.3192989230155945, -0.15414546430110931, -0.5464971661567688, -0.3866325318813324, -0.45319709181785583, 0.2094581425189972, 0.1033523753285408, 0.30842670798301697, -0.15553924441337585, 0.47823601961135864, -0.06407712399959564, 0.16830556094646454, 0.2644125521183014, 0.10956209897994995, 0.13632838428020477, -0.33019018173217773, -0.21198727190494537, 0.1312538981437683, 0.6598913669586182, -0.20881812274456024, 0.5278018712997437, -0.21320976316928864, -0.39334118366241455, -0.04493565857410431, 0.45838335156440735, -1.1740041971206665, -0.42293575406074524, -0.09858732670545578, -0.6110503673553467, -0.6202576160430908, -0.00510885426774621, -0.46950408816337585, -0.18700969219207764, -0.07388756424188614, 0.36411383748054504, -0.6428688764572144, -0.26957419514656067, 0.18352541327476501, 0.14404010772705078, 0.03855901584029198, 0.17378577589988708, -0.9668557643890381, 0.55797278881073, 0.21245411038398743, 0.9807389974594116, -0.34224995970726013, 0.012278378009796143, -0.19681446254253387, 0.1352962702512741, -0.4562843441963196, 0.7923060059547424, -0.6093661189079285, -0.5563440918922424, 0.0627240538597107, -0.3155466318130493, -0.07636594027280807, -0.2734748423099518, 0.8620634078979492, -0.7653819918632507, -0.07894932478666306, -0.17014488577842712, -0.18582366406917572, -0.3567824065685272, 0.14358071982860565, -1.0554373264312744, 1.1518996953964233, 0.1729329377412796, -1.0030128955841064, 0.38310298323631287, -1.2219370603561401, -0.38880085945129395, 0.12324011325836182, 0.26456642150878906, -0.9816148281097412, 0.04800320416688919, 0.612133264541626, 0.20430758595466614, -0.20315325260162354, 0.3216121792793274, -0.021123237907886505, -0.5117678642272949, 0.34947603940963745, -0.676393985748291, 0.9307341575622559, 0.44538095593452454, -0.15502013266086578, -0.013586525805294514, -0.7774366736412048, 0.22575144469738007, -0.038241129368543625, -0.5262715220451355, -0.20447249710559845, -0.10286153107881546, 0.5476410388946533, 0.0439089760184288, 0.06071161851286888, -0.7299505472183228, 0.16439034044742584, -0.524638295173645, 0.5209302306175232, 0.5944163799285889, 0.1490190178155899, 0.039145488291978836, -0.3218337595462799, 0.7705551981925964, 0.11872357130050659, 0.31330710649490356, -0.06486307084560394, -0.33687034249305725, -0.7947076559066772, -0.397346556186676, 0.5927770137786865, 0.35963302850723267, -1.1599254608154297, 0.07059343159198761, -0.3431517481803894, -0.5230159163475037, -0.6399149894714355, -0.33058491349220276, 0.5902440547943115, 0.3122979700565338, 0.635326087474823, -0.5283352136611938, -0.5972513556480408, -0.8070980906486511, -0.2655223309993744, -0.529772162437439, 0.1892032027244568, -0.275760293006897, 0.48715922236442566, -0.08737695962190628, 0.9693921208381653, -0.11395887285470963, -0.08298054337501526, -0.30465269088745117, 0.33118996024131775, -0.01797126978635788, 0.4522501826286316, 0.32133427262306213, -0.8218931555747986, -1.100112795829773, 0.18421345949172974, -0.1433885544538498, -0.19006678462028503, 0.18975959718227386, -0.030156105756759644, 0.13937073945999146, 0.17348439991474152, -0.4605671465396881, 0.8877572417259216, 0.32408973574638367, -0.2541596293449402, 0.898994505405426, 0.212846577167511, 0.5398842692375183, -1.340478539466858, 0.08812592923641205, -0.17913974821567535, -0.44174501299858093, -0.9442628622055054, 0.15610195696353912, 0.2758180499076843, -0.3120952546596527, -0.48156940937042236, 0.3212246596813202, -0.23856188356876373, 0.18179261684417725, -0.28141558170318604, -0.6525861620903015, -0.0711558610200882, 0.6844916343688965, 0.24161814153194427, 1.3301458358764648, 0.08965175598859787, -0.4199979305267334, 0.12028253078460693, 0.6230599880218506, -0.47495728731155396, 0.06964966654777527, -0.6989455819129944, 0.1326669454574585, 0.335918128490448, 0.3251454830169678, -0.991966962814331, 0.04508126899600029, 0.19110150635242462, -0.4450826048851013, 0.24700285494327545, -0.0005851578898727894, -0.6911155581474304, -0.48487961292266846, -0.4347928762435913, 0.9387303590774536, 0.6085048913955688, -0.6213420629501343, 0.5955851674079895, 0.024393999949097633, -0.05973779037594795, -0.5357526540756226, -0.7926135659217834, -0.05782345309853554, -0.3277363181114197, -0.39794212579727173, 0.6163699626922607, -0.04729356989264488, 0.06433293968439102, -0.3213876485824585, -0.09857600182294846, -0.734413743019104, 0.19614142179489136, 0.12591663002967834, 0.08350736647844315, -0.27237433195114136, 0.18049879372119904, 0.032243985682725906, -0.18366624414920807, -0.09251415729522705, -0.21858157217502594, 0.5469657182693481, 0.014687132090330124, -0.5388972759246826, -1.0151695013046265, 0.25030699372291565, 0.4759025275707245, -0.6056525111198425, 0.5101664066314697, 0.8183096051216125, -0.29849275946617126, -0.07447192817926407, -0.4014078974723816, -0.41632363200187683, -0.5189942121505737, 0.7404100894927979, -0.5280688405036926, -0.5394050478935242, 0.5278796553611755, 0.15989327430725098, 0.32025739550590515, 0.3023998439311981, 0.6329406499862671, 0.12393108755350113, 1.3214523792266846, 0.9987624287605286, -0.12515868246555328, 0.7294701933860779, 0.05169733613729477, 0.34482458233833313, -0.626272976398468, 0.0736858993768692, -0.6761481165885925, 0.005060138180851936, -0.6029390096664429, -0.21322111785411835, 0.42153775691986084, -0.136631578207016, -0.6925368309020996, 0.39340126514434814, -0.5825161337852478, 0.5484594106674194, 0.3569163978099823, 0.301016628742218, 0.495670884847641, 0.41082707047462463, -0.20995865762233734, -0.3407520651817322, -0.4938511550426483, -0.704194962978363, 1.4042370319366455, 0.5195794701576233, 0.7749762535095215, 0.28957825899124146, 0.5701680183410645, 0.6957921981811523, 0.33127519488334656, -0.7163515686988831, 0.20322096347808838, -0.2975008487701416, -0.5986074209213257, -0.2741979956626892, 0.029421884566545486, -0.67336106300354, 0.05555497109889984, 0.07336173951625824, -0.6948682069778442, 0.009187771007418633, 0.07324483245611191, -0.4849429428577423, 0.6143248081207275, -0.686403751373291, 0.4531523287296295, 0.19974365830421448, -0.11505606025457382, -0.047009002417325974, -0.4451935589313507, 0.5030959844589233, -0.4964216351509094, -0.07679601013660431, 0.3511678874492645, 0.10622261464595795, 1.0113093852996826, -0.704705536365509, 0.7210391163825989, -0.10311425477266312, -0.1864151805639267, 0.37562426924705505, 0.1657402217388153, 0.5243781805038452, -0.08284474164247513, -0.35443830490112305, 0.18825429677963257, 0.08267563581466675, -0.2260138988494873, -0.45783478021621704, 0.08783511072397232, -1.0873527526855469, -0.48011261224746704, -0.399592787027359, -0.48813650012016296, -0.1466485559940338, -0.02744438499212265, 0.19201263785362244, 0.6355199217796326, -0.12745341658592224, 0.1513138711452484, 0.7518453001976013, 0.032969214022159576, 0.5494836568832397, 0.46710893511772156, -0.21523436903953552, -0.4360523819923401, 0.6934188008308411, -0.08804262429475784, 0.3770025968551636, 0.45903193950653076, -0.10296973586082458, -0.4993886947631836, -0.5837398767471313, -0.5612849593162537, 0.006810457445681095, -0.798811674118042, -0.4134851098060608, -0.6716390252113342, -0.7294830679893494, -0.04917339235544205, 0.010919846594333649, -0.593592643737793, -0.49508097767829895, -0.1921122521162033, 0.10465606302022934, 0.5461816787719727, 0.7195614576339722, 0.3831493854522705, 0.740135133266449, -0.7123061418533325, 0.20019829273223877, 0.05002577230334282, 0.2507263123989105, 0.2636217772960663, -0.9364043474197388, -0.6681170463562012, 0.05526614189147949, -0.8398765921592712, -0.8959773182868958, 0.4483594000339508, 0.22491388022899628, -0.050216253846883774, 0.36197230219841003, 0.19884760677814484, 0.7410314083099365, -0.6473605036735535, 0.8256546258926392, 0.12505348026752472, -1.1157574653625488, 0.2505541443824768, -0.1904900223016739, 0.36093658208847046, 0.5042707324028015, 0.24876312911510468, -0.6157968044281006, -0.4381488561630249, -0.3362395465373993, -0.33966532349586487, 0.8046897053718567, 0.5858039855957031, -0.10676708072423935, 0.052077241241931915, 0.2288527935743332, 0.282428503036499, -0.026007303968071938, -0.8356090188026428, -0.06645377725362778, -0.440629243850708, -0.6019057035446167, 0.4093504846096039, -0.4023206830024719, 0.4811772108078003, -0.35201382637023926, 0.9566190242767334, 0.07821742445230484, 0.39407405257225037, 0.10423633456230164, -0.3512631952762604, -0.09173645079135895, 0.2603013217449188, 0.3248552083969116, 0.20227739214897156, -0.22382758557796478, 0.028172273188829422, 0.3066096007823944, -1.205544114112854, 0.4009237587451935, 0.042083851993083954, -0.12940135598182678, 0.19292977452278137, 0.35208970308303833, 0.704818069934845, 0.045938923954963684, -0.33925652503967285, 0.522667646408081, -0.17562520503997803, -0.2772548794746399, -0.18889574706554413, -0.10548246651887894, -0.4703052341938019, 0.22521260380744934, 0.4345068633556366, -0.023294895887374878, 0.26471298933029175, -0.08461589366197586, 0.2821463346481323, 0.3386725187301636, -0.44634220004081726, -0.5760068297386169, 0.8412994742393494, 0.25518858432769775, -0.38642603158950806, 0.6640970706939697, 0.1938105821609497, -1.0754412412643433, 0.5265032052993774, 0.6771515607833862, 1.0553255081176758, -0.5785033702850342, 0.18045121431350708, 0.28321409225463867, 0.25450584292411804, 0.19859960675239563, 0.2944692373275757, -0.3396410048007965, -0.5996131896972656, -0.449271023273468, -0.7325947880744934, -0.3802018165588379, 0.09989158809185028, -0.5827410221099854, 0.528177797794342, -0.459589421749115, -0.34116506576538086, -0.015277376398444176, 0.525062084197998, -0.6024056077003479, 0.2669218182563782, -0.16346555948257446, 0.7372216582298279, -0.8425154089927673, 1.2426797151565552, 0.6930673122406006, -0.5037315487861633, -0.7880945801734924, 0.23290525376796722, -0.28131526708602905, -0.8354005813598633, 0.7506409883499146, 0.1774016171693802, -0.04593357443809509, 0.5611718893051147, -0.3616780638694763, -1.0126044750213623, 0.8944573998451233, 0.014097752049565315, -0.48639923334121704, -0.050773561000823975, 0.5304669141769409, 0.3821159303188324, -0.11511854082345963, 0.8169644474983215, 0.5180800557136536, 0.45775359869003296, -0.17629826068878174, -1.0859062671661377, -0.03891853243112564, -0.28099989891052246, 0.3932993412017822, 0.3103858530521393, -0.6200141906738281, 0.9907597899436951, -0.052964579313993454, -0.5078526735305786, 0.4034542143344879, 0.5408201217651367, 0.10090094804763794, -0.3050977289676666, 0.34643280506134033, 0.33165109157562256, 0.4834533929824829, -0.016767432913184166, 0.7597082257270813, -0.3449246287345886, 0.2732371389865875, 0.6376523971557617, -0.07340597361326218, 0.658043384552002, 0.3521662950515747, -0.2836158275604248, 0.6495955586433411, 0.951856255531311, -0.01905815489590168, 0.8058795928955078, -0.07363859564065933, -0.39198148250579834, -0.34828436374664307, -0.2485848367214203, -0.4352593719959259, 0.42747271060943604, -0.02534995786845684, -0.4043633043766022, -0.40572264790534973, 0.24993768334388733, -0.2702489197254181, 0.3140637278556824, -0.04392523318529129, 0.7240389585494995, -0.1638181358575821, -0.10030584782361984, 0.9873702526092529, 0.4341850280761719, 0.5802007913589478, -0.4999825358390808, -0.02274579368531704, -0.252769410610199, 0.08639802783727646, 0.01567835733294487, -0.48779571056365967, 0.23484686017036438, 0.3341464400291443, -0.42764797806739807, -0.14612723886966705, 0.5983863472938538, -0.38022857904434204, -0.5544803142547607, -0.32890838384628296, 0.30806276202201843, 0.2796497046947479, -0.06046915054321289, -0.6537985801696777, 0.16540205478668213, 0.3312681317329407, -0.28622278571128845, -0.1892600804567337, 0.4576909840106964, -0.7047789096832275, 0.6597302556037903, 0.5202420353889465, -0.11719045788049698, -0.09914799779653549, 0.2328035682439804, 0.8239099383354187, -0.7318713068962097, -0.689494252204895, -1.015598177909851, 0.5496464967727661, 0.1793588399887085, -0.2877257764339447, 0.5031805634498596, 0.5493025779724121, 0.4711810052394867, -0.07759251445531845, 0.8154196739196777, 0.4368163049221039, 0.5920579433441162, -0.5483701825141907, 1.1164400577545166, -0.36088910698890686, 0.09638568758964539, -0.24273720383644104, -1.0477479696273804, -0.37477344274520874, 0.5143201351165771, -0.11735616624355316, 0.2554285228252411, 0.9800927042961121, 0.6035439968109131, -0.237298384308815, 0.5120353102684021, 0.29707205295562744, -0.01628906838595867, 0.7010213136672974, 0.6605691313743591, 0.772295355796814, -0.7572475671768188, 0.5512989163398743, -0.16338567435741425, -0.01245365384966135, -0.20402929186820984, -0.5553205013275146, -1.2622770071029663, -0.8134567141532898, -0.253557413816452, -0.010915569961071014, 0.3610399663448334, 1.049637794494629, 0.7856018543243408, -0.7410915493965149, -0.07816817611455917, -0.27590590715408325, -0.18021893501281738, -0.15653012692928314, -0.1524960994720459, 0.7500448822975159, -0.31994152069091797, -0.8014117479324341, -0.056252188980579376, -0.1585085242986679, 0.4993835687637329, -0.12737934291362762, -0.07090666890144348, -0.01167585700750351, 0.14109431207180023, 0.3385965824127197, -0.053929008543491364, -0.8612819910049438, -0.2464047223329544, -0.3177240490913391, -0.21131174266338348, 0.30902165174484253, 0.5868616700172424, -0.8899549841880798, 0.4362266957759857, -0.11022084951400757, 0.7768761515617371, 0.5850678086280823, 0.33908697962760925, 0.372929185628891, -0.710551917552948, 0.2108447253704071, 0.22806833684444427, -0.1520409882068634, 0.3122105896472931, -0.244512677192688, 0.33761051297187805, 0.018096590414643288, -0.4579041302204132, -0.9207804799079895, 0.18169516324996948, -0.5479286909103394, 0.09822243452072144, 0.8356184363365173, -0.043320003896951675, -0.1819850355386734, -0.3353898525238037, -0.28067097067832947, 0.728930652141571, -0.5740718245506287, 1.0973116159439087, 0.8439934849739075, 0.47724857926368713, -0.16093586385250092, -0.5718206763267517, 0.7778055667877197, 0.5079459547996521, -0.535737156867981, 0.14797882735729218, -0.08790063858032227, 0.14230069518089294, -0.15640754997730255, 0.4143434762954712, -0.09037016332149506, 0.3755752742290497, -0.1514638364315033, 0.48628345131874084, -0.264834463596344, -0.2436242401599884, -0.14828266203403473, -0.19080129265785217, 0.16606073081493378, -0.38330206274986267 ]
http://arxiv.org/abs/2407.03234v1
http://arxiv.org/pdf/2407.03234v1
Self-Evaluation as a Defense Against Adversarial Attacks on LLMs
2024-07-03T16:03:42
2024-07-03T16:03:42
Hannah Brown, Leon Lin, Kenji Kawaguchi, Michael Shieh
cs.LG
cs.LG, cs.CL, cs.CR
When LLMs are deployed in sensitive, human-facing settings, it is crucial that they do not output unsafe, biased, or privacy-violating outputs. For this reason, models are both trained and instructed to refuse to answer unsafe prompts such as "Tell me how to build a bomb." We find that, despite these safeguards, it is possible to break model defenses simply by appending a space to the end of a model's input. In a study of eight open-source models, we demonstrate that this acts as a strong enough attack to cause the majority of models to generate harmful outputs with very high success rates. We examine the causes of this behavior, finding that the contexts in which single spaces occur in tokenized training data encourage models to generate lists when prompted, overriding training signals to refuse to answer unsafe requests. Our findings underscore the fragile state of current model alignment and promote the importance of developing more robust alignment methods. Code and data will be made available at https://github.com/Linlt-leon/Adversarial-Alignments.
[ -0.3383043110370636, -0.7022056579589844, 0.4474857747554779, -0.2400185763835907, 0.18485423922538757, 0.055251751095056534, 0.21367280185222626, -0.20439565181732178, -0.1950380504131317, 0.38785073161125183, -0.5807384848594666, -0.32425376772880554, -0.6071264743804932, -0.12784706056118011, -0.8072537183761597, 1.2343792915344238, 0.021306488662958145, 0.09758547693490982, -0.31122395396232605, -0.08625957369804382, -0.42999014258384705, -0.7563775777816772, -0.30040398240089417, 0.15072080492973328, 0.616481363773346, -0.050116416066884995, 1.0734370946884155, 0.907575249671936, 0.7532391548156738, 0.30328214168548584, 0.08117078244686127, -0.10832877457141876, -0.408980131149292, 0.2936868369579315, -0.2721003592014313, -0.2984255850315094, -0.5199184417724609, 0.31216955184936523, 0.5412914752960205, 0.4520804286003113, 0.08935214579105377, 0.2181430459022522, 0.16228175163269043, 0.6142482161521912, -0.7668939828872681, -0.558647096157074, -0.7340763807296753, 0.14994190633296967, -0.3665332794189453, 0.09734183549880981, -0.43345174193382263, -0.3113301992416382, -0.06486845016479492, -0.3325890302658081, 0.03831634670495987, -0.031012674793601036, 0.7681544423103333, 0.4127417504787445, -0.36241742968559265, -0.45082196593284607, -0.4993073046207428, 0.5060165524482727, -0.6076111793518066, 0.07633949816226959, 0.12757094204425812, 0.34102296829223633, -0.40253204107284546, -0.4586831033229828, -0.2122398167848587, -0.3096392750740051, -0.04925918206572533, 0.01057032123208046, -0.5644395351409912, 0.14631438255310059, 0.26190704107284546, 0.1434159129858017, -0.7353932857513428, 0.3015156686306, -0.6574475169181824, -0.1974293440580368, 0.7054968476295471, 0.1636754870414734, 0.6561761498451233, -0.1494234949350357, -0.7670249938964844, -0.12055762112140656, -1.0162489414215088, -0.043950680643320084, 0.968013346195221, 0.2687308192253113, 0.0924592912197113, 0.8823954463005066, 0.18574076890945435, 0.6086017489433289, 0.10664894431829453, 0.47115185856819153, -0.3301345705986023, -0.2577574849128723, -0.27199795842170715, -0.11202823370695114, 1.0938889980316162, 0.2995868921279907, 0.22614260017871857, -0.2775503993034363, -0.28162404894828796, 0.296783447265625, 0.8896192908287048, -0.6252631545066833, -0.09232965856790543, 0.36997345089912415, -0.30130478739738464, -0.9057268500328064, 0.12377781420946121, -0.4671541452407837, -0.691561222076416, 0.21531794965267181, 0.5660035014152527, -0.22801747918128967, 0.20136785507202148, -0.011808442883193493, -0.09986141324043274, -0.11354628950357437, 0.05018811672925949, -0.61263108253479, 0.4457884430885315, 0.5916315317153931, 0.6940070986747742, -0.07596094906330109, -0.4389679431915283, -0.5387357473373413, -0.09378104656934738, -0.6039698719978333, 0.4849788546562195, 0.04466496780514717, -0.5602555274963379, -0.2529986798763275, -0.21667495369911194, 0.07352299243211746, -0.5546155571937561, 0.39182978868484497, -0.5344920754432678, 0.3522743582725525, -0.1943010538816452, -0.5047009587287903, 0.04871870204806328, 0.2740800976753235, -0.4951237440109253, 0.7699530124664307, -0.08228490501642227, -0.8328378200531006, 0.14306819438934326, -0.651665449142456, -0.272073358297348, -0.2947351038455963, -0.3197302520275116, -0.5366939902305603, 0.15831269323825836, 0.20124416053295135, 0.4984906017780304, 0.04099230095744133, 0.18662714958190918, -0.90268874168396, -0.13331694900989532, 0.7679858803749084, -0.5799858570098877, 0.8432711362838745, 0.5809465050697327, -0.39309147000312805, 0.48434582352638245, -0.6490411758422852, 0.07713774591684341, 0.4402388036251068, -0.1627500057220459, -0.3459025025367737, -0.05782545730471611, -0.5567808151245117, 0.274921715259552, 0.34169167280197144, -0.29841047525405884, 0.34701189398765564, -0.5362489223480225, 0.24453766644001007, 1.1257084608078003, -0.01928708516061306, 0.4950096905231476, -0.43785661458969116, 0.6604968905448914, -0.12502427399158478, 0.3629268705844879, -0.05192803218960762, -0.25327226519584656, -0.44785916805267334, -0.02699640393257141, 0.26189297437667847, 0.33415764570236206, -0.25905877351760864, 0.3329750597476959, 0.03585219010710716, -0.5431293249130249, -0.6164511442184448, 0.46311312913894653, 0.5818396806716919, 0.3746095895767212, 0.11095454543828964, -0.21385252475738525, -0.5870206952095032, -0.9455071091651917, -0.46207424998283386, -0.20742365717887878, 0.13166485726833344, 0.10201779007911682, 0.5968625545501709, -0.08448696881532669, 0.6497341394424438, -0.29590293765068054, -0.0006051219534128904, 0.19028925895690918, -0.22126467525959015, -0.09143584221601486, 0.4987647831439972, 0.652806282043457, -0.5314867496490479, -0.12175925076007843, -0.40100762248039246, -1.061008334159851, 0.05261938273906708, -0.15072718262672424, -0.3918949365615845, -0.3256363868713379, 0.3318021893501282, -0.4641033709049225, 0.4715377390384674, 0.43590566515922546, -0.48370492458343506, 0.5193031430244446, -0.017295733094215393, -0.10122621059417725, -1.0031332969665527, -0.06879545003175735, -0.15935882925987244, -0.16742712259292603, -0.6549587249755859, 0.44285452365875244, 0.04824412241578102, -0.2816821038722992, -0.5899389982223511, 0.5474878549575806, -0.37541669607162476, -0.18626531958580017, -0.30184879899024963, 0.14085489511489868, 0.13891805708408356, 0.09698554873466492, -0.45994386076927185, 0.922356128692627, 0.4374319612979889, -0.5437608957290649, 0.15282894670963287, 0.2533451020717621, -0.22638121247291565, 0.4378684163093567, -0.700924813747406, 0.3949926793575287, 0.15857882797718048, 0.018061138689517975, -1.0132992267608643, -0.2164067178964615, 0.448253870010376, -0.6074299812316895, 0.37617966532707214, -0.11880607157945633, -0.13627159595489502, -0.38935545086860657, -0.5994254350662231, 0.3521822392940521, 0.2210487276315689, -0.7553790211677551, 0.17431814968585968, 0.4569604694843292, 0.2889522314071655, -0.993855357170105, -0.7125135660171509, 0.1085009053349495, -0.5566272735595703, -0.8025220036506653, 0.038534168154001236, -0.29879510402679443, -0.41706448793411255, -0.016399020329117775, -0.08804841339588165, 0.13947135210037231, 0.8642716407775879, 0.48140305280685425, 0.40044617652893066, -0.02915998362004757, -0.1371987760066986, -0.42532843351364136, 0.05972806364297867, 0.4048507511615753, -0.21988633275032043, 0.23561711609363556, -0.13182108104228973, -0.8331200480461121, -0.23596759140491486, 0.3063295781612396, 0.6055914163589478, -0.04265758767724037, 0.6430462002754211, 0.3289370536804199, -0.45714420080184937, -0.14314639568328857, -0.26662424206733704, -0.10061699151992798, -0.5260229706764221, 0.40312400460243225, -0.20572884380817413, -0.7567634582519531, 0.35432398319244385, 0.18117165565490723, 0.22538240253925323, 0.5538608431816101, 0.6247259974479675, -0.3556986451148987, 1.2153462171554565, 0.3508155345916748, -0.151360884308815, 0.1818232536315918, -0.2172831892967224, 0.17139950394630432, -0.9139891862869263, -0.026431063190102577, -0.37855929136276245, -0.32642146944999695, -0.37751466035842896, -0.30786946415901184, 0.3407275676727295, 0.15731169283390045, -0.3955047130584717, 0.4028717577457428, -0.8258040547370911, 0.29540005326271057, 0.4600899815559387, 0.008384143002331257, -0.1307862401008606, -0.18814584612846375, -0.03384922444820404, -0.08569321781396866, -0.6952826976776123, -0.6639784574508667, 1.3278924226760864, 0.7561710476875305, 1.2206591367721558, 0.34108394384384155, 0.8780041933059692, 0.5261346697807312, 0.3972269296646118, -0.6796342134475708, 0.41378816962242126, 0.009862679988145828, -0.9206628799438477, -0.20749197900295258, -0.29151371121406555, -1.0210387706756592, 0.1963389366865158, -0.001313814427703619, -0.6425347328186035, 0.1368338167667389, 0.21294739842414856, -0.6101050972938538, 0.37220752239227295, -0.6564972996711731, 0.8683053851127625, -0.833828330039978, -0.35589784383773804, 0.20647384226322174, -0.44027790427207947, 0.6257938742637634, -0.11986945569515228, 0.32705000042915344, -0.08829012513160706, 0.07838722318410873, 0.8114891052246094, -0.5980384945869446, 1.1044727563858032, -0.17284494638442993, -0.213182732462883, 0.4987788796424866, 0.5143771171569824, 0.531834602355957, -0.20851965248584747, 0.10441499203443527, 0.008490216918289661, -0.1336483508348465, -0.19056710600852966, -0.6587146520614624, 0.6714490652084351, -0.9691570401191711, -0.9194848537445068, -0.4290524423122406, -0.46456193923950195, 0.13706767559051514, 0.14712072908878326, 0.4562072455883026, 0.16009867191314697, -0.4104808270931244, 0.13626731932163239, 0.4914551377296448, -0.1522454172372818, 0.17941869795322418, 0.26217254996299744, -0.20208273828029633, -0.5136197209358215, 0.7629414200782776, 0.2695283889770508, 0.5329508781433105, -0.19893211126327515, 0.08488388359546661, -0.3287293016910553, -0.5825135111808777, -0.4951149523258209, -0.14129182696342468, -0.8725032210350037, -0.4165797233581543, -0.5209693312644958, -0.3857828974723816, -0.5726361870765686, -0.264168918132782, -0.529508650302887, -0.5177028179168701, -0.2592337727546692, -0.2965013086795807, -0.15021079778671265, 1.1515134572982788, -0.03523207828402519, 0.24093158543109894, -0.5514898300170898, -0.047547146677970886, 0.28636088967323303, 0.05040237680077553, -0.11510604619979858, -0.6138836145401001, -0.2243141382932663, -0.113364577293396, -0.6530218124389648, -1.0179202556610107, 0.25092244148254395, -0.19979509711265564, 0.5960788726806641, 0.42424649000167847, 0.11404263973236084, 0.5191941261291504, -0.39422833919525146, 0.7005198001861572, 0.18470099568367004, -0.8095760345458984, 0.7074781656265259, -0.40892118215560913, 0.048310209065675735, 0.2584584951400757, 0.35645240545272827, -0.09367584437131882, -0.39867839217185974, -0.7839656472206116, -0.5963060259819031, 0.4273070991039276, 0.2669826149940491, 0.19915872812271118, -0.07280943542718887, 0.3866235911846161, -0.17388205230236053, 0.10010753571987152, -1.012772798538208, -0.2848791182041168, -0.2770559787750244, -0.1553322970867157, 0.3211463391780853, -0.49154233932495117, -0.6752575039863586, 0.33082661032676697, 0.7255859971046448, -0.12032168358564377, 0.1644744575023651, 0.19500432908535004, -0.07590591162443161, -0.21971286833286285, 0.45956748723983765, 0.4858320355415344, 0.25265610218048096, -0.0396387092769146, 0.23975121974945068, 0.19985446333885193, 0.032714344561100006, 0.5886670351028442, -0.05983817204833031, -0.14772666990756989, -0.5496151447296143, 0.2875942587852478, 0.4456433355808258, 0.154249906539917, -0.3235381543636322, 0.7666665315628052, -0.1642269790172577, -0.18105588853359222, -0.26362714171409607, 0.3241763412952423, -0.15907974541187286, 0.20354941487312317, -0.027693727985024452, 0.25743427872657776, 0.2733561396598816, -0.4269191026687622, 0.2837306559085846, 0.9406840205192566, -0.44446516036987305, -0.36870285868644714, 0.9364376068115234, -0.09683609753847122, -0.24491563439369202, 0.33889836072921753, -0.04500410333275795, -0.5557948350906372, 0.5898111462593079, 0.5326132774353027, 0.9994469285011292, -0.2669554054737091, -0.024329306557774544, 0.20831866562366486, 0.6274783611297607, 0.15424342453479767, 0.07939402759075165, 0.023008674383163452, -0.7688015699386597, 0.09570538997650146, -0.38873299956321716, -0.3940434157848358, 0.19140155613422394, -0.7019234895706177, 0.15270568430423737, -0.9674643278121948, -0.3481091558933258, -0.24197688698768616, -0.31654050946235657, -0.5044562816619873, 0.20258712768554688, 0.4631178379058838, 0.7059165239334106, -0.67844158411026, 0.4465952217578888, 0.49467429518699646, -0.32756325602531433, -0.6339124441146851, -0.19493602216243744, 0.4752027988433838, -0.800875186920166, 0.5525898337364197, 0.13466446101665497, -0.10477814078330994, -0.5371242761611938, -0.6504673957824707, -1.1135228872299194, 0.7752665281295776, 0.5000221133232117, -0.38886746764183044, -0.2438320815563202, -0.07253126800060272, 0.3588085472583771, -0.3651371896266937, 0.04520151764154434, 0.16449660062789917, 0.3150365650653839, -0.3917236328125, -0.4629044532775879, 0.29450443387031555, -0.33698251843452454, -0.0984656885266304, 0.11048377305269241, -0.7711559534072876, 0.8170406222343445, -0.351155549287796, -0.324181467294693, 0.3399282991886139, 0.6905205249786377, 0.2837957739830017, 0.08354146033525467, 0.4479140639305115, 0.5777598023414612, 0.7638909816741943, 0.0001223296858370304, 1.205042839050293, -0.37593555450439453, 0.04564865306019783, 1.3191946744918823, -0.18370090425014496, 0.617699921131134, 0.1737721711397171, -0.15943890810012817, 0.27008095383644104, 0.6048563718795776, -0.4692089557647705, 0.4138381779193878, 0.31425878405570984, 0.05413171648979187, 0.018835054710507393, 0.19862695038318634, -0.32913267612457275, 0.5440335869789124, 0.2744807302951813, -0.517951488494873, -0.22110383212566376, -0.22561629116535187, 0.09421780705451965, 0.10233627259731293, 0.09851724654436111, 0.6640382409095764, 0.0767204761505127, -0.6000666618347168, 0.48458707332611084, -0.11080630868673325, 0.5203140377998352, -0.6975885033607483, 0.24401696026325226, 0.1871313899755478, 0.22303570806980133, -0.4226229190826416, -0.6712549328804016, 0.3318808674812317, 0.2525556683540344, -0.06954729557037354, -0.10484953969717026, 0.8986225128173828, 0.11406749486923218, -0.30111825466156006, 0.5133574604988098, 0.5488011240959167, 0.08135517686605453, 0.13638056814670563, -1.028353214263916, -0.09034905582666397, 0.054985929280519485, -0.5656396746635437, 0.6889063119888306, 0.09324714541435242, -0.007964334450662136, 0.7070473432540894, 0.8116782903671265, 0.0021174107678234577, 0.1904294341802597, 0.023251879960298538, 0.8386428356170654, -0.5114706158638, -0.25946205854415894, -1.2352256774902344, 0.599987804889679, 0.015979865565896034, -0.18928281962871552, 1.0653096437454224, 0.5788787007331848, 0.903784453868866, 0.2717173993587494, 1.021340012550354, 0.2032880187034607, 0.27097615599632263, -0.3896006643772125, 0.8220260143280029, -0.5543786883354187, 0.558495044708252, -0.160924032330513, -0.4661223590373993, -0.13149869441986084, 0.4006076157093048, -0.3431503176689148, 0.15529955923557281, 0.32986682653427124, 0.773999035358429, 0.030503371730446815, -0.3458445072174072, 0.5223209857940674, 0.2743023633956909, 0.6240573525428772, 0.24180375039577484, 1.3161715269088745, -0.5441057085990906, 0.7013434767723083, -0.42913392186164856, -0.09975837171077728, 0.13600584864616394, -0.7909428477287292, -0.9338352680206299, -0.33202221989631653, -0.2536782920360565, -0.8521959185600281, 0.13017861545085907, 0.7332857847213745, 0.6859304904937744, -0.6993821859359741, -0.22649811208248138, 0.15286192297935486, 0.1130564957857132, 0.20019865036010742, -0.19859857857227325, 0.23259808123111725, -0.4280283749103546, -0.33051764965057373, 0.9201825261116028, 0.2659853994846344, 0.40899139642715454, -0.7533189654350281, -0.032159171998500824, -0.08210448920726776, 0.2412749081850052, -0.15400442481040955, 0.3384084105491638, -0.823970377445221, -0.29648223519325256, 0.021056702360510826, -0.4401756823062897, 0.08571906387805939, 0.4673215448856354, -0.5073327422142029, 0.6090219616889954, 0.13923461735248566, 0.8172293901443481, -0.2897023558616638, 0.08645607531070709, 0.8729754090309143, -0.7752622961997986, -0.24955755472183228, 0.059821728616952896, 0.6861122250556946, 0.5017048120498657, -1.025801420211792, 0.6808288097381592, -0.013624404557049274, -0.7253662347793579, -1.0238839387893677, 0.18821869790554047, -0.3242053687572479, -0.37981465458869934, 0.7647346258163452, -0.32143378257751465, -0.48251038789749146, 0.3379233181476593, -0.15506033599376678, 0.24270379543304443, -0.10245180130004883, 0.9859699606895447, 0.827777087688446, -0.1053193211555481, 0.5090884566307068, -0.4198426306247711, 0.4530980885028839, 0.5554690361022949, -0.6891596913337708, 0.09987242519855499, 0.3380934000015259, 0.4433378279209137, 0.21057821810245514, 0.3918020725250244, -0.24289238452911377, 0.46409347653388977, 0.02617369219660759, -0.004576738458126783, -0.21309229731559753, -0.39123156666755676, -0.7806206345558167, 0.35302168130874634, 0.307431697845459, -0.31363409757614136 ]
http://arxiv.org/abs/2407.03232v1
http://arxiv.org/pdf/2407.03232v1
Single Character Perturbations Break LLM Alignment
2024-07-03T16:03:10
2024-07-03T16:03:10
Leon Lin, Hannah Brown, Kenji Kawaguchi, Michael Shieh
cs.LG
cs.LG, cs.CL
When LLMs are deployed in sensitive, human-facing settings, it is crucial that they do not output unsafe, biased, or privacy-violating outputs. For this reason, models are both trained and instructed to refuse to answer unsafe prompts such as "Tell me how to build a bomb." We find that, despite these safeguards, it is possible to break model defenses simply by appending a space to the end of a model's input. In a study of eight open-source models, we demonstrate that this acts as a strong enough attack to cause the majority of models to generate harmful outputs with very high success rates. We examine the causes of this behavior, finding that the contexts in which single spaces occur in tokenized training data encourage models to generate lists when prompted, overriding training signals to refuse to answer unsafe requests. Our findings underscore the fragile state of current model alignment and promote the importance of developing more robust alignment methods. Code and data will be available at https://github.com/hannah-aught/space_attack.
[ -0.2229541391134262, -0.805617094039917, 0.5288962721824646, -0.1808474361896515, -0.050249166786670685, 0.09790168702602386, 0.24740023910999298, -0.22462868690490723, -0.0736900344491005, 0.8394988179206848, -0.7517545819282532, -0.5765874981880188, -0.5452743768692017, -0.04041299223899841, -0.6000978946685791, 1.0689952373504639, 0.012862902134656906, 0.07987362891435623, -0.3466866612434387, -0.12644076347351074, -0.6415551900863647, -0.9650160670280457, -0.2851375937461853, 0.3424411118030548, 0.8324463963508606, 0.38874146342277527, 1.1894117593765259, 0.8702808618545532, 0.9167261719703674, 0.23833821713924408, -0.11321964859962463, 0.006929382216185331, -0.5373193621635437, 0.38590794801712036, 0.17519879341125488, -0.4181665778160095, -0.5306658148765564, 0.01936817355453968, 0.8341017961502075, 0.7344750761985779, 0.12509068846702576, 0.053180623799562454, 0.02363445796072483, 0.4765874147415161, -0.5086604952812195, -0.5308268070220947, -0.6777037978172302, 0.033183515071868896, -0.5322849750518799, 0.04933079332113266, -0.5311509370803833, -0.20640316605567932, -0.3741280734539032, -0.6601517200469971, 0.04951510205864906, 0.06843654066324234, 0.9261699318885803, 0.5526736974716187, -0.34095948934555054, -0.2733883261680603, -0.5925891995429993, 0.6225694417953491, -0.8113587498664856, 0.14951999485492706, 0.18158398568630219, 0.10354897379875183, -0.5664965510368347, -0.474871426820755, -0.4667949974536896, -0.18231798708438873, -0.04578632861375809, -0.2089347541332245, -0.26777422428131104, 0.3244556784629822, 0.6197585463523865, -0.033957209438085556, -0.5006235837936401, 0.5046584606170654, -0.6136417388916016, -0.11094281077384949, 0.6101406216621399, 0.267061322927475, 0.7606104016304016, -0.1270686537027359, -0.7300659418106079, -0.216205433011055, -1.2257421016693115, 0.039559412747621536, 1.1571406126022339, 0.5752083659172058, -0.051167748868465424, 1.0343600511550903, 0.4939418435096741, 0.49921196699142456, 0.09165559709072113, 0.41869014501571655, -0.43826568126678467, -0.39555421471595764, -0.03779037296772003, 0.05425505340099335, 1.039809226989746, 0.21712306141853333, 0.10355428606271744, -0.06413213163614273, -0.023234348744153976, 0.19662374258041382, 0.6366097331047058, -0.6157518625259399, 0.03176186978816986, 0.39170023798942566, -0.025822307914495468, -0.5780330896377563, 0.3102790415287018, -0.511711835861206, -0.8523518443107605, 0.18255053460597992, 0.16625484824180603, -0.43085339665412903, 0.1490512490272522, 0.25433358550071716, -0.09710150957107544, -0.017518650740385056, 0.08130235224962234, -0.742523729801178, 0.3432391583919525, 0.6358327269554138, 0.6170699596405029, 0.053842224180698395, -0.3452785313129425, -0.45810770988464355, -0.10208389908075333, -0.449063241481781, 0.7208719849586487, -0.217888742685318, -0.7250962257385254, -0.20272746682167053, -0.3342476487159729, 0.1148739904165268, -0.4904760718345642, 0.4813034236431122, -0.42157524824142456, 0.16820742189884186, -0.4540160894393921, -0.48792341351509094, 0.11600968986749649, 0.006092721596360207, -0.6944087743759155, 0.5407166481018066, -0.23499523103237152, -0.9234461188316345, 0.32518619298934937, -0.5181944966316223, -0.26220014691352844, -0.2337506264448166, -0.3839249610900879, -0.5160655975341797, 0.23471926152706146, 0.17174625396728516, 0.3145059049129486, 0.18058212101459503, -0.08782418072223663, -0.8207652568817139, -0.35852673649787903, 0.754060685634613, -0.39285218715667725, 0.8524672985076904, 0.21678951382637024, 0.10819994658231735, 0.517469048500061, -0.76004558801651, -0.017475107684731483, 0.36958372592926025, -0.3193967938423157, -0.3102826178073883, 0.1541319489479065, -0.24045413732528687, 0.17852263152599335, 0.09969399124383926, -0.5180762410163879, 0.6107094883918762, -0.4037395715713501, 0.29639768600463867, 0.8911066055297852, 0.23074232041835785, 0.4893121123313904, -0.438603937625885, 0.6453977227210999, -0.0743277445435524, 0.06536431610584259, -0.37812021374702454, -0.36036255955696106, -0.2995598316192627, -0.3884642422199249, 0.15455825626850128, 0.31529664993286133, -0.2449958622455597, 0.2135166972875595, -0.03618554770946503, -0.3650255799293518, -0.7104092836380005, 0.180419921875, 0.45057833194732666, 0.436439573764801, 0.1901210993528366, -0.17969495058059692, -0.6913117170333862, -0.659691572189331, -0.6155216693878174, -0.3062003254890442, 0.07218056917190552, -0.030163712799549103, 0.33121973276138306, -0.12413474917411804, 0.7820700407028198, -0.2508818507194519, -0.09928399324417114, 0.12987957894802094, -0.17429675161838531, 0.18128755688667297, 0.6390522718429565, 0.4057503342628479, -0.6203498244285583, -0.1710629016160965, -0.4419777989387512, -0.820845365524292, 0.04515448957681656, -0.2751682996749878, -0.2007099688053131, -0.018166013062000275, 0.41456881165504456, -0.616814911365509, 0.5833991169929504, 0.3757224380970001, -0.7870872020721436, 0.7145323157310486, 0.04101366549730301, -0.04261265695095062, -1.0565667152404785, -0.0861675813794136, -0.12190230190753937, -0.12842021882534027, -0.7242299914360046, 0.4396721422672272, -0.03861220180988312, -0.30725497007369995, -0.7362797260284424, 0.46135613322257996, -0.31094905734062195, -0.09385921061038971, -0.10920155793428421, -0.03078576736152172, -0.05662386491894722, 0.22705425322055817, -0.35465267300605774, 0.6819333434104919, 0.2897217571735382, -0.4214627742767334, -0.016959307715296745, 0.6809574365615845, -0.10553833097219467, 0.30010855197906494, -0.6426390409469604, 0.5564789175987244, 0.011297570541501045, 0.13469113409519196, -1.3244142532348633, -0.43766170740127563, 0.28719910979270935, -0.6483042240142822, 0.5885922908782959, -0.2136610895395279, -0.5175423622131348, -0.22242625057697296, -0.48901861906051636, 0.39557939767837524, 0.22408466041088104, -0.5492239594459534, 0.09082658588886261, 0.37047868967056274, 0.2149067223072052, -0.9078693389892578, -0.8649936318397522, 0.04675326123833656, -0.44056200981140137, -0.8987070918083191, 0.04211282357573509, -0.3334067761898041, -0.38019001483917236, -0.06534014642238617, -0.394859254360199, 0.09156041592359543, 0.6612066030502319, 0.5897398591041565, 0.5143575668334961, -0.08024012297391891, -0.35042518377304077, -0.13227014243602753, 0.0782947763800621, 0.1434498280286789, -0.06531374901533127, 0.3919389545917511, 0.11672095209360123, -0.899720311164856, -0.5967667102813721, 0.36219656467437744, 0.9577953219413757, -0.006509896367788315, 0.8194310069084167, 0.1368972510099411, -0.4390389919281006, -0.023617492988705635, -0.20476512610912323, -0.23086953163146973, -0.5346722602844238, 0.5521894693374634, -0.24734538793563843, -0.9994996786117554, 0.5213703513145447, 0.2637328505516052, 0.4005560576915741, 0.3551535904407501, 0.2836351990699768, -0.4584992527961731, 1.3030235767364502, 0.5133084654808044, 0.026037704199552536, 0.2960006892681122, 0.08774422109127045, 0.22626379132270813, -0.7514925599098206, -0.0791369155049324, -0.6401310563087463, -0.40318384766578674, -0.5162465572357178, -0.42551764845848083, 0.395608514547348, 0.3220295310020447, -0.4865053594112396, 0.42055660486221313, -0.6477259993553162, 0.45536285638809204, 0.1988174021244049, -0.06463627517223358, 0.09737872332334518, 0.141757071018219, -0.203593447804451, -0.17925521731376648, -0.7493972182273865, -0.7566284537315369, 1.1711910963058472, 0.7148285508155823, 1.2521262168884277, 0.27674028277397156, 0.8403370380401611, 0.2390543520450592, 0.07512082904577255, -0.6166963577270508, 0.501071572303772, -0.13132134079933167, -0.7941744327545166, -0.2794850468635559, -0.3260263204574585, -0.856103241443634, 0.06892312318086624, -0.1877821832895279, -0.850496768951416, 0.18906719982624054, 0.19117552042007446, -0.697864294052124, 0.5576823353767395, -0.5906067490577698, 0.8032113313674927, -0.5260519981384277, -0.4223755896091461, 0.23331144452095032, -0.5400533080101013, 0.5556064248085022, -0.09851694852113724, 0.31601420044898987, -0.11776912212371826, -0.07678168267011642, 0.6523191928863525, -0.521462619304657, 1.1767679452896118, -0.13254915177822113, -0.28661349415779114, 0.2708979845046997, 0.39405086636543274, 0.503683865070343, -0.05894545465707779, 0.010405546054244041, 0.21511249244213104, -0.09765661507844925, -0.4599882960319519, -0.41355904936790466, 0.5700172781944275, -0.9213435053825378, -0.7722792625427246, -0.2472071647644043, -0.6446746587753296, -0.07901260256767273, 0.1442549079656601, 0.65537029504776, 0.1108064204454422, -0.2509916424751282, 0.14075502753257751, 0.7068758010864258, -0.3919183313846588, 0.18647003173828125, 0.2622174620628357, -0.33654487133026123, -0.3716638386249542, 0.5319291353225708, 0.24790093302726746, 0.4714781939983368, 0.03927057608962059, -0.2032339870929718, -0.1516162008047104, -0.5043774843215942, -0.2597085237503052, 0.18603502213954926, -0.7659410238265991, -0.24172133207321167, -0.471194326877594, -0.25616690516471863, -0.5539928078651428, -0.29851865768432617, -0.504108726978302, -0.6557042598724365, -0.40261465311050415, -0.2585276961326599, -0.22494037449359894, 1.0172244310379028, 0.2640323340892792, 0.3874777853488922, -0.9109436273574829, -0.11925869435071945, -0.07208272069692612, 0.18106813728809357, -0.3759293258190155, -0.6716014742851257, -0.14244073629379272, -0.1476672738790512, -0.536176323890686, -1.1446285247802734, 0.13608340919017792, -0.29060059785842896, 0.34885716438293457, 0.42550572752952576, 0.0153156453743577, 0.6281785368919373, -0.5628852844238281, 0.8047821521759033, 0.295667827129364, -0.8172656297683716, 0.418362021446228, -0.5667963624000549, 0.3832474946975708, 0.3107651174068451, 0.3170537054538727, -0.4132184088230133, -0.5607978701591492, -0.5838829278945923, -0.7932019233703613, 0.6819703578948975, 0.03410919010639191, 0.3074798882007599, 0.050850190222263336, 0.6204509735107422, 0.09016217291355133, 0.0944775640964508, -0.7730035781860352, -0.30474695563316345, -0.014069486409425735, -0.232255220413208, 0.3744446635246277, -0.5833690762519836, -0.24772366881370544, 0.22366879880428314, 0.6192640066146851, -0.04899700731039047, 0.3087768256664276, 0.12392456084489822, -0.02373863011598587, -0.47008126974105835, 0.30578652024269104, 0.7148287296295166, 0.2072944939136505, -0.014280329458415508, 0.13462689518928528, -0.032802797853946686, -0.22315819561481476, 0.34250450134277344, -0.0001823215716285631, -0.1130569577217102, -0.34971559047698975, 0.41435033082962036, 0.7291049957275391, 0.350750595331192, -0.4912460148334503, 0.37853217124938965, -0.2114633023738861, -0.20591942965984344, -0.13100886344909668, 0.25428444147109985, -0.12719246745109558, 0.10369817912578583, 0.09254783391952515, 0.28152021765708923, -0.3246440887451172, -0.33525052666664124, 0.22600078582763672, 0.7828378677368164, -0.4661960303783417, -0.6036286950111389, 0.936848521232605, -0.1721639484167099, -0.340882271528244, 0.6091168522834778, 0.24724803864955902, -0.45417165756225586, 0.6278870701789856, 0.5974380970001221, 0.6988373398780823, -0.35438844561576843, -0.10697653889656067, 0.37624701857566833, 0.7151206135749817, 0.03776096552610397, 0.243625670671463, 0.22506654262542725, -0.9289644360542297, -0.1805693656206131, -0.41698119044303894, -0.5195239782333374, 0.18525446951389313, -0.5078361630439758, 0.4645334482192993, -1.0909374952316284, -0.28397977352142334, -0.2561408281326294, -0.2733888328075409, -0.44049081206321716, -0.13893187046051025, 0.6959031820297241, 0.708703875541687, -0.6245693564414978, 0.5160221457481384, 0.9085019826889038, -0.5790785551071167, -0.7807264924049377, -0.03566867485642433, 0.5220796465873718, -0.5473635196685791, 0.3113616108894348, 0.11126600950956345, 0.13204419612884521, -0.33989661931991577, -0.9564791321754456, -1.2199219465255737, 0.6477457880973816, 0.6957033276557922, -0.6411511898040771, -0.39632242918014526, 0.25583529472351074, 0.2714005410671234, -0.16168613731861115, -0.19160978496074677, 0.1628945767879486, 0.5035936236381531, -0.3161444365978241, -0.5084519386291504, 0.27875998616218567, -0.09574659913778305, -0.2806899845600128, 0.28632885217666626, -0.6906260251998901, 0.9063378572463989, -0.4434100389480591, -0.547021746635437, 0.4541180431842804, 0.7045640349388123, 0.568455159664154, 0.040715523064136505, 0.25452354550361633, 0.6623744964599609, 0.9085260629653931, -0.058166440576314926, 1.1831285953521729, -0.1469249129295349, 0.09059306234121323, 1.2751553058624268, -0.47681334614753723, 0.6833590269088745, 0.5468548536300659, -0.15112698078155518, 0.3780286908149719, 0.4703504741191864, -0.26219961047172546, 0.17185208201408386, 0.2470485419034958, 0.053391117602586746, -0.02099556103348732, 0.23221470415592194, -0.08321408182382584, 0.430156946182251, 0.3453090786933899, -0.15451239049434662, -0.07708404958248138, -0.07655061036348343, 0.28916677832603455, 0.1790384203195572, 0.06896816939115524, 0.5507712960243225, 0.10370048880577087, -0.50260990858078, 0.4529309570789337, -0.07839201390743256, 0.5815263986587524, -0.8248224258422852, 0.11309526860713959, -0.032207366079092026, 0.14174148440361023, -0.5248099565505981, -0.5540399551391602, 0.280814528465271, 0.33445170521736145, -0.23601171374320984, -0.189986452460289, 0.8902937173843384, -0.13953278958797455, -0.2495187669992447, 0.20413511991500854, 0.34983912110328674, 0.014185922220349312, 0.038451243191957474, -0.549233078956604, 0.21078012883663177, 0.10939048230648041, -0.45571115612983704, 0.663517415523529, 0.046160988509655, -0.008137938566505909, 0.3683440089225769, 0.8345026969909668, -0.0228349007666111, 0.3684861361980438, -0.2510415017604828, 0.7928513884544373, -0.5718206167221069, -0.22366300225257874, -1.0953800678253174, 0.8652509450912476, 0.12793271243572235, -0.1687031090259552, 1.0732619762420654, 0.4820244610309601, 0.9375343322753906, 0.27142927050590515, 0.8768180012702942, 0.22519689798355103, 0.22093673050403595, -0.47440147399902344, 0.9344188570976257, -0.4521137475967407, 0.8032993078231812, -0.14193812012672424, -0.7541684508323669, -0.4771389365196228, 0.1562017798423767, -0.14421550929546356, -0.07801727205514908, 0.6274853944778442, 0.7174763679504395, 0.0819784551858902, -0.1959354281425476, 0.584851861000061, 0.3600218892097473, 0.6370282769203186, 0.21434785425662994, 1.2232633829116821, -0.4321506917476654, 0.476782888174057, -0.0804765596985817, 0.0968373715877533, 0.16750960052013397, -0.8031429052352905, -0.7965327501296997, -0.3495977818965912, -0.3514598309993744, -0.7547352313995361, -0.008954550139605999, 0.8366473913192749, 0.5976855158805847, -0.677139937877655, -0.19190698862075806, 0.02969512715935707, 0.166448175907135, 0.14501646161079407, -0.18234996497631073, 0.2044989913702011, -0.4693220853805542, -0.4056784212589264, 0.9483614563941956, 0.21360896527767181, 0.20540399849414825, -0.3396289348602295, 0.03910702094435692, -0.18463794887065887, 0.3758368492126465, -0.2624627351760864, 0.5072352886199951, -0.7550551891326904, -0.2598634958267212, 0.08013676106929779, -0.3729074001312256, 0.16280747950077057, 0.7581776976585388, -0.4815399646759033, 0.3969382047653198, 0.15395338833332062, 0.785891592502594, -0.1470194160938263, 0.06615739315748215, 0.6227013468742371, -1.114923357963562, 0.0014768998371437192, 0.2021591067314148, 0.5794616937637329, 0.45084109902381897, -1.0091545581817627, 0.37187597155570984, 0.190227672457695, -0.6366510987281799, -1.2008377313613892, 0.2508414685726166, -0.5211499333381653, -0.49820178747177124, 1.0250253677368164, -0.1650969535112381, -0.47973161935806274, 0.3714728355407715, -0.2789103090763092, 0.3427608609199524, -0.28087103366851807, 0.6371186971664429, 0.9137750864028931, -0.12844090163707733, 0.4453376531600952, -0.3201228678226471, 0.3660149872303009, 0.6673535108566284, -0.5842632055282593, 0.19737470149993896, 0.6176066398620605, 0.3242560625076294, 0.27842578291893005, 0.34206607937812805, -0.3041076362133026, 0.35674598813056946, 0.025619283318519592, 0.1365050971508026, -0.35592296719551086, -0.3751998245716095, -0.8827227354049683, 0.514907956123352, 0.3086315393447876, -0.18838390707969666 ]
http://arxiv.org/abs/2407.03227v1
http://arxiv.org/pdf/2407.03227v1
Improving Retrieval-augmented Text-to-SQL with AST-based Ranking and Schema Pruning
2024-07-03T15:55:14
2024-07-03T15:55:14
Zhili Shen, Pavlos Vougiouklis, Chenxin Diao, Kaustubh Vyas, Yuanyi Ji, Jeff Z. Pan
cs.CL
cs.CL, cs.AI, cs.DB
We focus on Text-to-SQL semantic parsing from the perspective of Large Language Models. Motivated by challenges related to the size of commercial database schemata and the deployability of business intelligence solutions, we propose an approach that dynamically retrieves input database information and uses abstract syntax trees to select few-shot examples for in-context learning. Furthermore, we investigate the extent to which an in-parallel semantic parser can be leveraged for generating $\textit{approximated}$ versions of the expected SQL queries, to support our retrieval. We take this approach to the extreme--we adapt a model consisting of less than $500$M parameters, to act as an extremely efficient approximator, enhancing it with the ability to process schemata in a parallelised manner. We apply our approach to monolingual and cross-lingual benchmarks for semantic parsing, showing improvements over state-of-the-art baselines. Comprehensive experiments highlight the contribution of modules involved in this retrieval-augmented generation setting, revealing interesting directions for future work.
[ -0.10147680342197418, -0.8430166840553284, 0.6562016010284424, 0.1856762319803238, -0.4413840174674988, 0.0569937564432621, -0.4522266685962677, -0.5219485759735107, 0.2595025300979614, 0.6012468934059143, -0.5702193975448608, -0.5145930051803589, -0.5071428418159485, 0.24302314221858978, -0.578538715839386, 0.6377001404762268, 0.3138050138950348, 0.03823217377066612, -0.3250633180141449, -0.15733738243579865, -0.5154503583908081, -0.6131775975227356, -0.3259916305541992, 0.039730772376060486, 0.2087714970111847, 0.6068317890167236, 0.5838494896888733, 0.8379038572311401, 0.5566080212593079, 0.2513257563114166, -0.22654087841510773, 0.0003748940071091056, -0.4483679234981537, 0.43538981676101685, -0.6701043248176575, -0.2909548878669739, -0.22731809318065643, -0.36304691433906555, 0.8694596290588379, 1.183505654335022, -0.36607626080513, 0.12972617149353027, -0.11324465274810791, 0.6220816373825073, -0.48758575320243835, 0.21354612708091736, -1.114916205406189, -0.2973652184009552, -0.27835696935653687, -0.048379674553871155, -0.6844188570976257, -0.062971331179142, 0.1392006278038025, -0.6088370084762573, 0.1670956164598465, 0.35357052087783813, 1.0098241567611694, -0.024569958448410034, -0.5662142634391785, -0.3563215434551239, -0.33630743622779846, 0.9004882574081421, -0.4567221999168396, 0.5208718776702881, 0.09964028000831604, 0.4726409912109375, -0.19066153466701508, -1.0642049312591553, -0.14150309562683105, -0.3641453683376312, -0.2302011251449585, -0.10067187994718552, 0.2895755171775818, 0.08146259933710098, 0.4488525986671448, 0.43856000900268555, -0.3765736520290375, -0.16764160990715027, -0.14158041775226593, 0.09308711439371109, 0.6586117744445801, 0.1692773401737213, 0.20864467322826385, -0.24936842918395996, -0.3032359778881073, -0.07554931938648224, -0.8817751407623291, -0.21189777553081512, 0.10885772109031677, 0.6528992056846619, 0.7713598012924194, 0.7988572120666504, -0.5742455720901489, 0.9928716421127319, -0.21511681377887726, 0.37040093541145325, -0.040103696286678314, -0.6961194276809692, -0.21705009043216705, 0.02738717943429947, 0.4866175949573517, 0.23904021084308624, -0.052783504128456116, -0.4912397563457489, -0.3227042853832245, 0.23393844068050385, 0.23234106600284576, -0.7883375883102417, -0.29133516550064087, -0.03566897660493851, -0.28593072295188904, -0.021875588223338127, -0.05624524503946304, -0.8496050238609314, -0.19496890902519226, -0.4373476207256317, 0.5171371102333069, -0.7110738158226013, -0.020975328981876373, 0.07559492439031601, -0.2523501515388489, 0.25684067606925964, 0.32034701108932495, -0.8067636489868164, 0.7106688022613525, 0.693748414516449, 0.4703052043914795, -0.12647078931331635, -0.26805204153060913, -0.494269460439682, 0.6019125580787659, -0.2817835211753845, 0.9300393462181091, -0.6590723991394043, -0.4392799735069275, -0.11659747362136841, -0.10112297534942627, -0.04804639145731926, -0.8242281079292297, 0.6522458791732788, -0.5361530780792236, -0.06037420406937599, -0.593825101852417, -0.7636319994926453, 0.17378585040569305, 0.259111613035202, -0.4607080817222595, 1.1428134441375732, 0.06377946585416794, -0.6045008897781372, 0.5782831907272339, -0.5489030480384827, -0.5710800886154175, 0.14033243060112, -0.32454007863998413, -0.017027469351887703, 0.23189525306224823, 0.209395632147789, 0.09485124051570892, -0.595543384552002, 0.23264454305171967, 0.02793223224580288, -0.318868488073349, -0.37495413422584534, -0.034029047936201096, 0.7668763995170593, 0.10533201694488525, -0.12502802908420563, 0.19497735798358917, -0.8742180466651917, 0.207483172416687, 0.33150243759155273, -0.2951643466949463, -0.4941560626029968, 0.20453399419784546, 0.06740810722112656, 0.22120894491672516, 0.3424144387245178, -0.7853875160217285, 0.16386599838733673, -0.823384165763855, 0.44476160407066345, 0.36661672592163086, 0.04066401720046997, 0.4982251524925232, 0.16727012395858765, 0.051383767277002335, -0.059137601405382156, 0.03060970827937126, -0.24546249210834503, -0.21991652250289917, -0.7756645083427429, -0.44364336133003235, 0.4060908257961273, 0.45206794142723083, -0.9089800715446472, 0.3310728967189789, -0.679152250289917, -0.36385300755500793, -0.37950238585472107, 0.050543852150440216, 0.30095773935317993, 0.4617696702480316, 0.537496030330658, -0.29746338725090027, -0.31461113691329956, -0.9341525435447693, -1.0083826780319214, -0.09969565272331238, -0.25119781494140625, 0.3624285161495209, 0.2541462481021881, 0.2111494541168213, 1.2729859352111816, -0.585879385471344, -0.34620824456214905, -0.24377942085266113, -0.1553417295217514, 0.13576313853263855, 0.3955894708633423, 0.29866930842399597, -0.8791462182998657, -0.6740582585334778, 0.1562626212835312, -0.6468901038169861, 0.07175469398498535, 0.3543640375137329, -0.1771879941225052, 0.08948150277137756, 0.7253250479698181, -0.909331202507019, 0.2854520082473755, -0.29535120725631714, -0.6108940839767456, 0.3565400242805481, -0.10368470102548599, -0.05669334530830383, -0.8787383437156677, -0.014508962631225586, -0.15203794836997986, -0.4651236832141876, -0.44989752769470215, 0.483004093170166, 0.27855122089385986, -0.45871973037719727, -0.3770518898963928, 0.31858038902282715, -0.505467414855957, -0.3297252357006073, 0.050527218729257584, 0.19821740686893463, 0.19231317937374115, 0.2589918375015259, 0.15220482647418976, 0.7764819860458374, 0.30327239632606506, -0.2510678768157959, 0.2862018942832947, 0.30140116810798645, -0.5036831498146057, 0.5054908394813538, -0.5248783230781555, -0.07373946905136108, -0.1008029356598854, 0.2663801908493042, -0.741494357585907, -0.1959369033575058, -0.23672708868980408, -0.3140276074409485, 0.39448073506355286, -0.30758553743362427, -0.9351915717124939, -0.04845046624541283, -0.24428591132164001, 0.2348385453224182, 0.3425302505493164, -0.718172013759613, 0.719471275806427, 0.3662758767604828, -0.2689090371131897, -0.42793717980384827, -0.5654762983322144, 0.2787386476993561, -0.15636014938354492, -0.6868898272514343, 0.5699750185012817, 0.35046038031578064, -0.3138219714164734, 0.07017529755830765, -0.11128692328929901, -0.003650022204965353, -0.03549432381987572, -0.256962388753891, 0.127794086933136, -0.2809383273124695, 0.15455569326877594, 0.12504450976848602, -0.046214647591114044, 0.11997336149215698, -0.35341688990592957, 0.4475163221359253, -0.2246839702129364, -0.30330896377563477, -0.08677252382040024, 0.6389507055282593, 0.17789703607559204, -0.5098847150802612, 0.8668946623802185, -0.03955690562725067, -0.4200073778629303, -0.25167810916900635, -0.4470538794994354, -0.3433168828487396, -0.4704805612564087, 0.44921162724494934, -0.5802218914031982, -0.6088597178459167, 0.33927640318870544, -0.2517957389354706, 0.08475857228040695, 0.6597625017166138, 0.2260400503873825, -0.03932672366499901, 0.9895128607749939, 0.48011064529418945, 0.28912946581840515, 0.49104994535446167, -0.05741710215806961, 0.2927526533603668, -0.3808411955833435, -0.10877276957035065, -0.6468758583068848, 0.15414413809776306, -0.4308681786060333, -0.3953009247779846, 0.0833786353468895, 0.08273470401763916, -0.29398900270462036, 0.5383796095848083, -0.4879092276096344, 0.7140543460845947, 0.442450612783432, 0.19913406670093536, 0.6106152534484863, 0.1716824769973755, -0.06623627245426178, -0.1684686541557312, -0.7643693089485168, -0.156744122505188, 0.7878443598747253, 0.0948643907904625, 0.3749704360961914, 0.2938486635684967, 0.5675331950187683, -0.06764225661754608, 0.17573431134223938, -0.7631657123565674, 0.7367333173751831, -0.31369489431381226, -0.5900854468345642, -0.3910808265209198, -0.4820825755596161, -0.6465040445327759, 0.4770573079586029, -0.09612338244915009, -0.6989037990570068, 0.175521582365036, -0.026536501944065094, -0.007540086284279823, -0.1104716882109642, -1.0640110969543457, 1.0358302593231201, 0.15861670672893524, -0.5632800459861755, -0.35657942295074463, -0.8663714528083801, 0.10734166949987411, 0.12287936359643936, 0.02025465853512287, -0.11873867362737656, -0.15307149291038513, 0.5001239776611328, -0.752349853515625, 0.3749732971191406, -0.33540675044059753, 0.3302260637283325, 0.2307354211807251, 0.020507654175162315, 0.6197955012321472, -0.07837454229593277, -0.37088721990585327, -0.11588552594184875, 0.2664504051208496, -0.7559864521026611, -0.780819296836853, 0.7963383197784424, -0.2367478609085083, -0.7017418146133423, -0.3500445783138275, -0.5855591297149658, -0.5127785205841064, 0.290131539106369, 0.10858350992202759, 0.47917675971984863, -0.029116645455360413, 0.37940219044685364, 0.5868366360664368, -0.08807231485843658, 0.23357374966144562, 0.31971752643585205, -0.21847841143608093, -0.17564783990383148, 1.0106148719787598, 0.48329660296440125, 0.3136111795902252, 0.4066757559776306, -0.011274251155555248, -0.47570905089378357, -0.536668062210083, -0.6425966620445251, 0.38007068634033203, -0.8882248997688293, -0.33998605608940125, -0.7331980466842651, -0.05166170373558998, -0.3759620785713196, -0.05424691364169121, -0.41571933031082153, -0.7748987674713135, 0.00786882545799017, -0.09784147143363953, 0.5521758794784546, 0.45058855414390564, 0.6596693396568298, 0.2916289269924164, -0.5086824893951416, -0.041841618716716766, -0.030753664672374725, 0.5498350858688354, -0.1517396867275238, -0.24269288778305054, -0.1747666895389557, -0.3038731813430786, -0.1342979073524475, -0.7956393957138062, 0.29268282651901245, 0.39990508556365967, 0.38938748836517334, -0.1963244527578354, 0.1414533108472824, 0.901692807674408, -0.7889696955680847, 0.8374400734901428, -0.17772680521011353, -0.930336058139801, 0.7187554240226746, -0.4951471984386444, 0.08359932899475098, 1.06479811668396, 0.18448489904403687, -0.1270013153553009, -0.07014672458171844, -0.6872701048851013, -1.2941924333572388, 0.908146321773529, 0.32861313223838806, 0.0047267465852200985, -0.24531321227550507, 0.4599081873893738, -0.09079792350530624, 0.3085207939147949, -0.4001512825489044, -0.1738445907831192, -0.06910422444343567, -0.4332669973373413, 0.0840277299284935, -0.43140020966529846, 0.15211081504821777, -0.42967283725738525, 0.6368424892425537, -0.10951311141252518, 0.06095036864280701, 0.017226271331310272, -0.4696761965751648, 0.31938788294792175, 0.07652325183153152, -0.06706905364990234, 0.843992292881012, -0.23515307903289795, -0.04974228888750076, 0.27872586250305176, -0.23178255558013916, -0.2446412593126297, 0.3310905694961548, -0.022663110867142677, 0.2743036150932312, -0.08968570828437805, 0.45522284507751465, 0.3069392144680023, -1.0762182474136353, 0.7228417992591858, -0.08794913440942764, 0.18282786011695862, -0.17148323357105255, -0.2752191424369812, 0.002095030155032873, -0.05361632630228996, 0.38340961933135986, -0.21899953484535217, 0.4880824089050293, -0.6691707968711853, 0.4417104423046112, 0.5416538715362549, -0.3180686831474304, 0.049115922302007675, 0.5783102512359619, 0.12804624438285828, -0.2580598294734955, 0.7516041398048401, 0.010377002879977226, -0.3415556848049164, 0.4610625207424164, 0.7006766200065613, 0.3183003067970276, -0.20423007011413574, -0.28162631392478943, 0.2066044807434082, 0.15217997133731842, -0.12193313241004944, 0.2923928201198578, -0.35874199867248535, -0.3111770451068878, -0.4547211229801178, -0.7358342409133911, -0.3798762857913971, -0.5798307657241821, -0.7006073594093323, 0.7226523756980896, -0.3181587755680084, 0.17000681161880493, 0.14048048853874207, 0.200650155544281, -0.36153218150138855, 0.20545262098312378, -0.4430128335952759, 1.419959306716919, -0.6738636493682861, 1.053073525428772, 0.8129938840866089, -0.5770196914672852, -0.6889621615409851, -0.01986577734351158, -0.4950639307498932, -0.3707273304462433, 0.31360819935798645, 0.052159033715724945, 0.1092342957854271, 0.34217527508735657, -0.15932542085647583, -0.8899326920509338, 0.9560645222663879, 0.7148332595825195, -0.22222590446472168, -0.3528311848640442, 0.23056741058826447, 0.595415472984314, -0.2364259958267212, 0.279855340719223, 0.9403529167175293, 0.10362127423286438, 0.16819553077220917, -0.8395559191703796, -0.06566935032606125, -0.11984442919492722, 0.14877229928970337, 0.5084151029586792, -0.4196975529193878, 0.6328924298286438, 0.307852566242218, -0.24118433892726898, 0.10853587090969086, 0.8465095162391663, 0.349860817193985, 0.2557496726512909, 0.38878947496414185, 0.4848374128341675, 0.4397372901439667, -0.025090353563427925, 1.257110834121704, -0.3778987228870392, 0.3936854302883148, 1.2795658111572266, -0.35898321866989136, 1.1781888008117676, 0.7196041345596313, -0.12866955995559692, 0.38068708777427673, 0.5415403246879578, 0.35966625809669495, 0.529259979724884, 0.042104288935661316, -0.2929549217224121, -0.1627510040998459, -0.41516241431236267, -0.15106303989887238, 0.24343015253543854, 0.7429875731468201, -0.41268423199653625, -0.5468116998672485, -0.04156586900353432, -0.18136154115200043, 0.4547770917415619, -0.2571984827518463, 0.9429568648338318, 0.05541171878576279, -0.4622049629688263, 0.4408881664276123, 0.08519262075424194, 0.3207654654979706, -0.5859565138816833, -0.012157237157225609, -0.03638840466737747, 0.09127151221036911, -0.09473025053739548, -0.7271701693534851, 0.651739239692688, -0.1348082423210144, -0.1303207129240036, -0.3319418430328369, 0.8838086724281311, -0.5251333713531494, -0.537346601486206, 0.40108129382133484, 0.3336449861526489, 0.15204977989196777, -0.30651795864105225, -0.4779021739959717, 0.00844813697040081, -0.16840383410453796, -0.2464568018913269, 0.6086174249649048, 0.6252216696739197, -0.3187565505504608, 0.399033784866333, 0.34606581926345825, -0.060999125242233276, 0.21768537163734436, -0.04540858417749405, 1.1459612846374512, -0.8029707670211792, -0.5518027544021606, -0.7176592946052551, 0.316148966550827, -0.4409243166446686, 0.14601488411426544, 0.7462672591209412, 0.8823234438896179, 0.9052168726921082, 0.09305792301893234, 0.306730717420578, -0.11212748289108276, 0.9091818332672119, -0.34618493914604187, 0.6031308174133301, -0.6279012560844421, 0.5395235419273376, -0.24712969362735748, -1.2273519039154053, -0.3336896300315857, 0.32394149899482727, -0.4175747036933899, -0.22793640196323395, 0.700063943862915, 0.791598916053772, -0.13180206716060638, 0.16867122054100037, 0.3659651279449463, 0.19930344820022583, 0.1288156509399414, 0.1837839037179947, 0.6874789595603943, -0.5552070736885071, 0.5966641306877136, -0.28646907210350037, -0.10525273531675339, -0.05737360939383507, -0.5934250950813293, -0.3954284191131592, -0.5173198580741882, -0.08546357601881027, -0.4380437731742859, 0.40241116285324097, 1.2118561267852783, 0.39449670910835266, -0.6544642448425293, -0.2571834325790405, -0.2011801302433014, -0.024528509005904198, -0.0949421301484108, -0.1986721009016037, 0.48048722743988037, -0.6032794713973999, -0.7306912541389465, 0.5661991238594055, 0.3325425088405609, -0.5195695757865906, 0.16429093480110168, 0.4723135530948639, -0.5242351293563843, 0.12688599526882172, 0.9780491590499878, -0.004510748200118542, -0.5509108304977417, -0.27240651845932007, -0.014247922226786613, -0.06223367527127266, 0.10320944339036942, 0.7130491733551025, -1.0601375102996826, 0.2695996165275574, 0.5085197687149048, 0.9701324105262756, 0.5593622326850891, 0.33504417538642883, 0.5352702736854553, -0.9614668488502502, 0.19521278142929077, 0.46047118306159973, 0.18894439935684204, 0.4115113615989685, -0.3268466889858246, 0.582068145275116, 0.42158544063568115, -0.40406110882759094, -1.040440320968628, 0.27294522523880005, -0.7118072509765625, -0.36696919798851013, 1.03740394115448, -0.01741001009941101, -0.5301864743232727, -0.22820018231868744, -0.20172013342380524, -0.07802749425172806, -0.3888953626155853, 0.3890495002269745, 0.572069525718689, -0.1261785477399826, 0.0401664637029171, -0.40053853392601013, 0.6029571294784546, 0.7862589359283447, -0.6363862156867981, 0.4994983375072479, 0.5264877676963806, 0.20131756365299225, -0.10684580355882645, 0.5001820921897888, -0.34591326117515564, 0.1577599048614502, 0.05000060051679611, -0.2401067018508911, 0.344683438539505, -0.27511686086654663, -0.30415406823158264, 0.3260330855846405, 0.36007705330848694, 0.058923084288835526 ]
http://arxiv.org/abs/2407.03211v1
http://arxiv.org/pdf/2407.03211v1
How Does Quantization Affect Multilingual LLMs?
2024-07-03T15:39:40
2024-07-03T15:39:40
Kelly Marchisio, Saurabh Dash, Hongyu Chen, Dennis Aumiller, Ahmet Üstün, Sara Hooker, Sebastian Ruder
cs.CL
cs.CL, cs.LG
Quantization techniques are widely used to improve inference speed and deployment of large language models. While a wide body of work examines the impact of quantized LLMs on English tasks, none have examined the effect of quantization across languages. We conduct a thorough analysis of quantized multilingual LLMs, focusing on their performance across languages and at varying scales. We use automatic benchmarks, LLM-as-a-Judge methods, and human evaluation, finding that (1) harmful effects of quantization are apparent in human evaluation, and automatic metrics severely underestimate the detriment: a 1.7% average drop in Japanese across automatic tasks corresponds to a 16.0% drop reported by human evaluators on realistic prompts; (2) languages are disparately affected by quantization, with non-Latin script languages impacted worst; and (3) challenging tasks such as mathematical reasoning degrade fastest. As the ability to serve low-compute models is critical for wide global adoption of NLP technologies, our results urge consideration of multilingual performance as a key evaluation criterion for efficient models.
[ -0.12173888832330704, -0.6402503252029419, 0.5247802138328552, 0.5447519421577454, -0.23606817424297333, 0.06010812520980835, -0.17723484337329865, -0.6703781485557556, -0.1198883131146431, 0.32070815563201904, -0.14773812890052795, -0.4292457699775696, -0.6534702777862549, 0.384372740983963, -0.15629035234451294, 0.8337662220001221, 0.06294523179531097, 0.41571494936943054, -0.5989505052566528, -0.3168211281299591, -0.2730638086795807, -1.0145868062973022, -0.7363706231117249, -0.3396352231502533, 0.593539297580719, 0.1557581126689911, 0.8995794653892517, 0.39515694975852966, 0.6510457992553711, 0.4018382132053375, -0.20815084874629974, -0.1952432245016098, -0.10229898244142532, 0.15129943192005157, 0.20176608860492706, -1.143054485321045, -0.5334678888320923, -0.002294701524078846, 0.9526349902153015, 0.8023711442947388, -0.21088217198848724, 0.2706059217453003, 0.09191636741161346, 0.7391462922096252, -0.7978010177612305, -0.03776928037405014, -0.2382209151983261, 0.10519791394472122, -0.2668016850948334, -0.11361031979322433, -0.2502194046974182, -0.271203875541687, -0.08588097989559174, -0.5700526237487793, -0.09638615697622299, -0.07651469856500626, 0.3947053849697113, 0.41212472319602966, -0.7819606065750122, -0.2919301390647888, -0.7327332496643066, 1.0062220096588135, -0.4564138352870941, 0.49071934819221497, 0.4565534293651581, 0.006066601257771254, 0.22706958651542664, -0.539106011390686, -0.08806797862052917, -0.26174843311309814, -0.057147689163684845, 0.06944124400615692, -0.3211098313331604, 0.2501554787158966, 0.638124942779541, 0.5696467161178589, -0.5393902659416199, 0.227848082780838, -0.2909674346446991, -0.23268994688987732, 0.5445111393928528, 0.27208489179611206, 0.27836906909942627, -0.2781088054180145, -0.15741786360740662, 0.03168630599975586, -0.6670423150062561, 0.059084922075271606, 0.5702941417694092, 0.05066737160086632, -0.0030479386914521456, 0.5795550346374512, -0.27467411756515503, 0.5751141905784607, -0.43393996357917786, -0.25824806094169617, 0.0016257636016234756, -0.6668752431869507, -0.1703091412782669, -0.22705481946468353, 0.8603987693786621, 0.264839768409729, 0.3874392509460449, -0.15244841575622559, -0.1715918779373169, 0.22162207961082458, -0.008934052661061287, -0.8476293683052063, -0.030907945707440376, 0.0019737756811082363, -0.20626655220985413, 0.06889871507883072, -0.3240421414375305, -0.38802650570869446, -0.2940082848072052, -0.10353793203830719, 0.28012874722480774, -0.32154953479766846, -0.0318591333925724, 0.26264330744743347, -0.06744454056024551, -0.0342436283826828, 0.15428176522254944, -0.6832461357116699, 0.296408474445343, 0.5171738862991333, 0.7372663617134094, 0.008029493503272533, -0.18360000848770142, -0.37875643372535706, -0.017242765054106712, -0.304177463054657, 0.7752586603164673, -0.2006351351737976, -0.5410881638526917, -0.1822109818458557, -0.11508756130933762, 0.04930483549833298, -0.7084670066833496, 0.40048474073410034, -0.4247265160083771, 0.1650930494070053, -0.1862412840127945, -0.46711644530296326, -0.015994291752576828, -0.07404767721891403, -0.878462553024292, 0.6009728312492371, -0.2084931880235672, -0.49184998869895935, 0.4931895136833191, -0.3667610287666321, -0.6351279616355896, 0.06916695088148117, 0.1493222713470459, -0.3746192455291748, 0.27030032873153687, 0.13066081702709198, 0.2852024435997009, -0.2831743061542511, 0.3067731559276581, -0.27979984879493713, -0.5168043971061707, 0.49951523542404175, -0.9606254696846008, 0.8084825277328491, 0.17819207906723022, -0.17251873016357422, -0.08254830539226532, -0.747124195098877, 0.24008065462112427, -0.08283600211143494, -0.48889055848121643, -0.5321998596191406, -0.041759129613637924, 0.004184218589216471, 0.1656935214996338, 0.07642226666212082, -0.20154789090156555, 0.0776977613568306, -0.5381563305854797, 0.39336302876472473, 0.5127829313278198, 0.16414877772331238, 0.4583975076675415, -0.2629874050617218, 0.9800313711166382, -0.15919119119644165, 0.35294485092163086, -0.21326635777950287, -0.5740545988082886, -0.6737037301063538, -0.3296269476413727, 0.5028348565101624, 0.5944947600364685, -0.7033690810203552, -0.10987682640552521, -0.16607765853405, -0.2283279299736023, -0.7070165872573853, 0.07529112696647644, 0.6818570494651794, -0.2706248164176941, -0.011586555279791355, -0.18957597017288208, -0.13259859383106232, -1.0073301792144775, -0.6285030841827393, -0.005729658994823694, -0.20757347345352173, -0.210381418466568, 0.47757649421691895, -0.021987086161971092, 0.6239679455757141, -0.38450172543525696, -0.1596342772245407, 0.08432888239622116, 0.3073047399520874, 0.002921886509284377, 0.24531657993793488, 0.30304884910583496, -0.6925438642501831, -0.48025527596473694, -0.16079722344875336, -0.5222799777984619, -0.1973496526479721, -0.06811802089214325, 0.06369521468877792, 0.46652644872665405, 0.3212985098361969, -0.5909572243690491, 0.39485883712768555, 0.5882207751274109, -0.2561415731906891, 0.619233250617981, -0.2587839365005493, 0.41755473613739014, -0.834318220615387, -0.10699883103370667, 0.3848688304424286, -0.34595730900764465, -0.42880555987358093, 0.2844541370868683, 0.28924760222435, -0.01969030313193798, -0.7743355631828308, 0.5346145629882812, -0.3327806293964386, -0.3840828537940979, -0.05385693162679672, 0.17248579859733582, 0.385515421628952, 0.2527003884315491, -0.1790654957294464, 1.0183638334274292, 0.27566391229629517, -0.6519121527671814, 0.3308607339859009, -0.23788844048976898, -0.48093241453170776, 0.696157693862915, -0.5888441205024719, -0.0974401906132698, 0.04272130876779556, -0.05510425195097923, -0.774636447429657, 0.16157187521457672, 0.048059236258268356, -0.43130019307136536, 0.21772097051143646, -0.07278376072645187, -0.9639328718185425, -0.04660239815711975, -0.44117361307144165, 0.5687201023101807, 0.21530814468860626, -0.20984524488449097, 0.2407144159078598, 0.2924179136753082, 0.09923674166202545, -0.38247692584991455, -0.853757917881012, 0.14977213740348816, -0.5297216773033142, -0.5503337383270264, 0.12157666683197021, -0.18180344998836517, -0.743098795413971, -0.16269047558307648, -0.26825061440467834, -0.25875216722488403, 0.5922309160232544, 0.057913120836019516, -0.05848519131541252, 0.05379682779312134, 0.27689847350120544, 0.007531426846981049, -0.2636910676956177, 0.30272015929222107, -0.12635073065757751, 0.2674209773540497, -0.3167271316051483, -0.3257071077823639, -0.5287884473800659, 0.28849780559539795, 0.44623124599456787, -0.3381701707839966, 0.7377464771270752, 0.6709374785423279, -0.3309014141559601, 0.16627074778079987, -0.38328924775123596, -0.03959253057837486, -0.47084301710128784, 0.6296230554580688, -0.6557860970497131, -0.8727500438690186, 0.5238757133483887, -0.05213286355137825, -0.3414272665977478, 0.4553689658641815, 0.5400881171226501, -0.35427117347717285, 1.3165969848632812, 0.5037893652915955, -0.004669535905122757, 0.3893716335296631, -0.3068319261074066, 0.07755803316831589, -0.7621587514877319, 0.07501770555973053, -0.6082752346992493, -0.02512826770544052, -0.9892602562904358, -0.40876853466033936, 0.6170436143875122, 0.3461250960826874, 0.13530363142490387, -0.0043188598938286304, -0.10392870754003525, 0.545976996421814, 0.4805523157119751, -0.05606163293123245, 0.6460546851158142, -0.12196141481399536, 0.15511345863342285, -0.32984477281570435, -0.8070523738861084, -0.5669782161712646, 1.2165194749832153, 0.2785343527793884, 0.80772864818573, 0.32681965827941895, 0.6010302901268005, 0.3956657350063324, 0.2243576943874359, -0.9379957914352417, 0.37197431921958923, -0.24229948222637177, -0.5745126605033875, -0.4962390959262848, -0.6685506105422974, -1.199065089225769, 0.5804394483566284, -0.08251753449440002, -0.45228880643844604, -0.19148088991641998, 0.007708665914833546, -0.5321642756462097, -0.03977305814623833, -0.7829263210296631, 0.9124749898910522, -0.4841059744358063, -0.3411487936973572, -0.5829975008964539, -0.4394301474094391, 0.5637801289558411, -0.3367767632007599, 0.691321611404419, -0.19902877509593964, -0.2810814082622528, 0.7790172696113586, -0.07914954423904419, 0.8529959321022034, 0.043700095266103745, -0.49363774061203003, 0.07161710411310196, 0.0019287209725007415, 0.18199796974658966, 0.38704293966293335, -0.16306155920028687, 0.5843114852905273, 0.4031584858894348, -0.4964212477207184, -0.6665460467338562, 0.5999236106872559, -0.7255998253822327, -0.6464738249778748, -0.46600431203842163, -0.6185168623924255, -0.24105586111545563, -0.15804001688957214, 0.30256766080856323, 0.36290502548217773, -0.10882414132356644, -0.13662737607955933, 0.4735596776008606, -0.4201718270778656, 0.47550010681152344, 0.6555513739585876, -0.07973892986774445, -0.6396728754043579, 0.9695388674736023, 0.4067927598953247, 0.7357310652732849, 0.4996923804283142, 0.17902573943138123, -0.36583036184310913, -0.2404220551252365, -0.40070632100105286, 0.3819809854030609, -0.927265465259552, -0.09657786041498184, -0.3087881803512573, 0.27087652683258057, -0.4493202567100525, 0.18493780493736267, -0.2332114279270172, -0.680637001991272, -0.3746260106563568, 0.15064354240894318, 0.05193135887384415, 0.5650664567947388, 0.04618564993143082, 0.45415303111076355, -0.9152310490608215, 0.42418214678764343, 0.32947587966918945, 0.3580482304096222, -0.2405611276626587, -0.47243303060531616, -0.7861421704292297, 0.0946168377995491, -0.23804768919944763, -0.6353023052215576, 0.17827466130256653, 0.3939829170703888, 0.4227357506752014, 0.2395646870136261, -0.08021973073482513, 0.8418188691139221, -0.4122390151023865, 0.6460745930671692, 0.1238308995962143, -1.1769253015518188, 0.3158802092075348, -0.023647554218769073, 0.7139076590538025, 0.3261927366256714, 0.5574721097946167, -0.9072452783584595, -0.6556460857391357, -0.3544456660747528, -0.8189911842346191, 0.6624436974525452, -0.08445606380701065, 0.1359613537788391, -0.20287692546844482, 0.326265424489975, -0.025270098820328712, 0.46533364057540894, -1.0026719570159912, -0.4175984859466553, 0.3697192668914795, 0.1775834858417511, -0.26421624422073364, -0.44291993975639343, 0.2089841067790985, -0.2615583539009094, 0.3798767030239105, -0.05889015272259712, 0.07061521708965302, -0.12657767534255981, -0.4744516611099243, -0.18682798743247986, 0.3212504982948303, 0.6492381691932678, 0.6209374666213989, 0.1421922743320465, 0.07777164876461029, 0.19956329464912415, -0.11719158291816711, 0.3962588906288147, -0.14478707313537598, -0.13722342252731323, 0.030906161293387413, 0.6256395578384399, 0.775353729724884, 0.5598475933074951, -0.5752706527709961, 0.36775150895118713, -0.08234990388154984, -0.10687378793954849, -0.2830403745174408, -0.11665112525224686, 0.010449892841279507, 0.2434716820716858, 0.18192748725414276, 0.00027969235088676214, 0.2494402825832367, -0.5872425436973572, 0.03738115727901459, 0.6795011162757874, -0.04425138235092163, -0.3919864594936371, 0.6519327163696289, 0.08458004146814346, -0.3460724651813507, 0.4594363868236542, -0.2745973467826843, -0.5080718398094177, 0.7118985652923584, 0.35104700922966003, 0.713866114616394, -0.5155521035194397, 0.08679912984371185, 0.18683964014053345, 0.5323606729507446, 0.0012101971078664064, 0.26370665431022644, -0.09803203493356705, -0.564852774143219, -0.9573110938072205, -0.6118735671043396, -0.3737257122993469, -0.19577544927597046, -0.7498590350151062, 0.08111900836229324, -0.037198256701231, -0.5877026915550232, -0.13700130581855774, 0.11312124878168106, -0.5819606184959412, 0.2041338086128235, 0.4728125333786011, 0.2857687771320343, -0.912979245185852, 0.7830027937889099, 0.6740354895591736, -0.10062891244888306, -0.3300107717514038, 0.04674885794520378, -0.14190258085727692, -0.7284284234046936, 0.7241801023483276, 0.03923216462135315, 0.000729472900275141, 0.2358051836490631, 0.11217360198497772, -1.0967791080474854, 0.7305997610092163, 0.5726408958435059, -0.5175769329071045, 0.24469910562038422, 0.7151728272438049, 0.818749725818634, 0.3341897428035736, 0.5464624166488647, 0.6230069398880005, 0.5660271048545837, -0.3836257755756378, -1.148297905921936, -0.274192214012146, 0.0933392196893692, 0.21993999183177948, 0.5323789715766907, -0.7377912998199463, 0.653008222579956, -0.27010831236839294, -0.5057166218757629, -0.040838588029146194, 0.26913124322891235, 0.09474901109933853, 0.29382577538490295, 0.3148829936981201, 0.6146606802940369, 0.6809483766555786, -0.04386085644364357, 1.3680411577224731, -0.43034034967422485, 0.3114337921142578, 0.6374881267547607, -0.2714238464832306, 0.6796007752418518, 0.5552078485488892, -0.7921585440635681, 0.04077655449509621, 0.6684626340866089, 0.2164316475391388, 0.369918555021286, 0.5835530757904053, -0.4206427335739136, -0.15079668164253235, -0.16078947484493256, 0.03008905239403248, 0.42078274488449097, 0.29128897190093994, 0.15830382704734802, -0.0014111143536865711, 0.5862023234367371, 0.011122100055217743, 0.08251655101776123, -0.4332394003868103, 0.6937894821166992, 0.2973634898662567, -0.5177258253097534, 0.7902399301528931, 0.3725440502166748, 0.8309620022773743, -0.3869461417198181, 0.1893974095582962, -0.4115206003189087, -0.04321859031915665, -0.1776934713125229, -0.48201900720596313, 0.5017259120941162, 0.04465332627296448, -0.13982707262039185, -0.4354139566421509, 0.2662493884563446, -0.42189347743988037, -0.6316674947738647, 0.40521135926246643, 0.8361611366271973, 0.30987057089805603, -0.455599844455719, -0.5748605132102966, 0.0741536095738411, -0.08195358514785767, -0.43366652727127075, 0.6120448708534241, 0.5099811553955078, -0.4135717749595642, 0.811747670173645, 0.41062355041503906, 0.088278628885746, 0.15489155054092407, 0.3342462480068207, 0.3028155565261841, -0.7961860299110413, -0.10270387679338455, -1.093781590461731, 0.3818734884262085, 0.4673716425895691, -0.15570007264614105, 0.9618443846702576, 0.7302576899528503, 0.9914585947990417, 0.06965818256139755, 0.4226950407028198, 0.43377596139907837, -0.02799031138420105, -0.6433614492416382, 0.598294198513031, -0.7877848148345947, 0.4978843927383423, -0.13641168177127838, -0.9197383522987366, -0.4917190372943878, 0.28996744751930237, -0.2292792648077011, 0.09573183208703995, 0.9781410098075867, 0.3062286674976349, 0.5000481009483337, -0.3410610854625702, 0.7700066566467285, 0.016885099932551384, 0.09188100695610046, 0.42685428261756897, 1.119905710220337, -0.4922121465206146, 0.534723162651062, -0.6838952302932739, 0.02876795269548893, 0.08972011506557465, -0.6220273971557617, -0.5676906108856201, -0.36459869146347046, -0.6422322392463684, 0.15315194427967072, 0.08382181078195572, 0.44870051741600037, 0.46845006942749023, -0.5108509659767151, -0.570197582244873, 0.2420649230480194, 0.44082406163215637, -0.16970732808113098, -0.2931050956249237, 0.1729329228401184, -0.5030726790428162, -1.0598993301391602, 0.2256360799074173, 0.3547419607639313, -0.0921153724193573, -0.37472474575042725, 0.046445608139038086, 0.07752646505832672, -0.2171463668346405, 0.8155637383460999, -0.27970296144485474, -0.9162773489952087, 0.07044906914234161, 0.10846441239118576, -0.36188361048698425, 0.07410255819559097, 0.7521027326583862, -0.7638193368911743, 0.31291714310646057, 0.13429397344589233, 0.1859392374753952, 0.32814139127731323, -0.049493491649627686, 0.49969181418418884, -0.9052125215530396, 0.29347431659698486, 0.24979141354560852, 0.31145140528678894, 0.21565677225589752, -0.4231014549732208, 0.45590806007385254, 0.4128446877002716, -0.5898846387863159, -0.8480862975120544, 0.09461520612239838, -0.3102824091911316, -0.40466514229774475, 1.0963239669799805, -0.15435484051704407, -0.1480880230665207, 0.004187007900327444, 0.16070768237113953, 0.27699825167655945, -0.09964397549629211, 0.5392153859138489, 0.8883482217788696, -0.053250137716531754, -0.22770026326179504, -0.8263331651687622, 0.3202425241470337, 0.6565752625465393, -0.6921409964561462, 0.011083254590630531, 0.5288151502609253, 0.12723909318447113, -0.07370667904615402, 0.5976983308792114, 0.08923253417015076, 0.31663137674331665, -0.14139407873153687, 0.40141043066978455, 0.28749266266822815, -0.06999418884515762, -0.9543726444244385, -0.03764963895082474, 0.4343564212322235, 0.006127974949777126 ]
http://arxiv.org/abs/2407.03192v1
http://arxiv.org/pdf/2407.03192v1
CiteAssist: A System for Automated Preprint Citation and BibTeX Generation
2024-07-03T15:18:29
2024-07-03T15:18:29
Lars Benedikt Kaesberg, Terry Ruas, Jan Philip Wahle, Bela Gipp
cs.DL
cs.DL, cs.CL
We present CiteAssist, a system to automate the generation of BibTeX entries for preprints, streamlining the process of bibliographic annotation. Our system extracts metadata, such as author names, titles, publication dates, and keywords, to create standardized annotations within the document. CiteAssist automatically attaches the BibTeX citation to the end of a PDF and links it on the first page of the document so other researchers gain immediate access to the correct citation of the article. This method promotes platform flexibility by ensuring that annotations remain accessible regardless of the repository used to publish or access the preprint. The annotations remain available even if the preprint is viewed externally to CiteAssist. Additionally, the system adds relevant related papers based on extracted keywords to the preprint, providing researchers with additional publications besides those in related work for further reading. Researchers can enhance their preprints organization and reference management workflows through a free and publicly available web interface.
[ -0.47464168071746826, 0.06691376864910126, 0.6050800681114197, 0.4118729531764984, -0.42864134907722473, 0.3159382939338684, 0.36818236112594604, -0.5667464733123779, 0.45957866311073303, 0.19018232822418213, -0.2778880298137665, -0.2869272232055664, -0.3939407467842102, 0.3823363184928894, -0.22543452680110931, 1.0441749095916748, -0.027908416464924812, 0.14031168818473816, -0.012284278869628906, 0.11475489288568497, -0.26027214527130127, -0.2121133953332901, -0.37860599160194397, -0.4389464557170868, 0.9449033141136169, 0.17206135392189026, 0.6993362307548523, 0.5641176700592041, 0.7636458277702332, 0.17328643798828125, 0.41661444306373596, -0.019398095086216927, 0.05983132869005203, 0.5366894602775574, -0.9905351996421814, -0.09045381098985672, -0.33987584710121155, -0.08883742988109589, 0.40924862027168274, 0.5757525563240051, 0.5434995889663696, 0.5385726690292358, -0.16226550936698914, 0.33923691511154175, -0.8687273263931274, -0.18464651703834534, -0.42867663502693176, -0.46212175488471985, -0.3815985321998596, -0.7091901898384094, -0.3626757562160492, -0.9423008561134338, 0.010512731969356537, -0.6235466003417969, 0.2853015065193176, 0.35367122292518616, 0.9495212435722351, 0.18296495079994202, -0.22422026097774506, -0.2736395299434662, -0.5131903290748596, 0.4126879572868347, -0.12115904688835144, 0.16556592285633087, 0.23813895881175995, 0.2381516695022583, -0.31978902220726013, -1.136124849319458, -0.3993113934993744, 0.04873950406908989, -0.527306318283081, -0.03562578931450844, -0.0346827507019043, -0.05904928594827652, -0.0412818044424057, 0.05658654868602753, -0.7521588802337646, -0.29131460189819336, -0.41897594928741455, -0.25390931963920593, 0.5886840224266052, -0.36762169003486633, 0.45400163531303406, -0.5223348736763, -0.4811922311782837, -0.1018201932311058, -0.6544317007064819, -0.45591965317726135, 0.6010217070579529, 0.29546281695365906, 0.43342503905296326, 0.5046152472496033, -0.001947513548657298, 0.0530262254178524, -0.1465926468372345, 0.42245543003082275, 0.304831326007843, -0.1373804658651352, -0.009449920617043972, 0.49902164936065674, 0.8098279237747192, 0.048317138105630875, -0.007575635798275471, -0.3482338786125183, -0.027273740619421005, -0.3086966276168823, 0.1481311321258545, -0.8443644046783447, -0.9559190273284912, 0.594029426574707, -0.23636318743228912, -0.3691764771938324, 0.27298811078071594, -0.6709273457527161, -0.5914739370346069, -0.4520382881164551, 0.6598663926124573, -0.6477490663528442, -0.20319052040576935, -0.7747114896774292, -0.7220990061759949, -0.08050289750099182, 0.4249183237552643, -0.5069310665130615, 0.1789359152317047, 0.4084790349006653, 1.0924488306045532, -0.24021072685718536, -0.29908278584480286, -0.4979902505874634, 0.8458398580551147, -0.292314350605011, 1.277536392211914, -0.4702393412590027, -0.48720815777778625, -0.06769133359193802, 0.11328605562448502, 0.11839619278907776, -0.2671954035758972, 0.4669317603111267, -0.7992438673973083, -0.2548605799674988, -0.44151079654693604, -0.424848735332489, -0.04952540248632431, 0.128311887383461, -0.8163506388664246, 0.9901562333106995, 0.04971563443541527, -0.9145205020904541, 0.3729594349861145, -1.144132137298584, -0.19684068858623505, 0.6898995637893677, 0.00974400993436575, 0.12096333503723145, 0.02488330379128456, -0.04356097802519798, 0.1303226500749588, -0.10136348754167557, 0.2153000682592392, -0.3058786988258362, -0.11850238591432571, 0.2128155529499054, 0.22955168783664703, 0.9886184930801392, 0.6232120394706726, -0.04496021196246147, 0.24890942871570587, -0.7291650772094727, 0.16488151252269745, 0.23906302452087402, -0.17444826662540436, -0.7995243072509766, -0.0800972655415535, 0.5586698651313782, -0.15111258625984192, 0.4784820079803467, -0.7183659076690674, 0.38806861639022827, -0.09416353702545166, 0.03161758556962013, 0.9581681489944458, 0.5627589225769043, 0.003322822507470846, -0.12100176513195038, 0.3479774296283722, -0.3655661344528198, -0.07804451137781143, -0.5091859698295593, -0.14228548109531403, -0.3100777566432953, -0.560215950012207, 0.8364510536193848, 0.5016670227050781, -0.38218632340431213, 0.3772425949573517, -0.5854222178459167, -0.6292741894721985, -0.050321608781814575, 0.28411760926246643, 0.12434569001197815, 0.013663080520927906, 0.416301429271698, -0.2847672700881958, -0.6964142918586731, -0.719685971736908, -0.4602012038230896, -0.268009215593338, -0.33343425393104553, -0.33136504888534546, 0.7430058717727661, -0.261420339345932, 1.1389551162719727, -0.5215010643005371, -0.13837771117687225, 0.17824403941631317, 0.7216348052024841, -0.22031643986701965, 0.8374229073524475, 0.6531461477279663, -1.1060664653778076, -0.5769376754760742, -0.07395122200250626, -0.6292876601219177, -0.56490558385849, -0.019436949864029884, -0.6622484922409058, 0.002487731399014592, 0.5697124600410461, -0.3189651370048523, 0.4960293769836426, -0.046556130051612854, -0.1224585473537445, 0.6254408955574036, -0.03731752559542656, 0.09093854576349258, -1.2481690645217896, 0.7772462964057922, -0.4862309694290161, -0.1463472843170166, -0.22265906631946564, -0.04404400289058685, -0.004431193228811026, -0.33789560198783875, -0.029303602874279022, 0.659396767616272, -0.5643044114112854, -0.15278016030788422, -0.332753449678421, 0.178207665681839, 0.15879544615745544, 0.16008128225803375, 0.16495651006698608, 0.6168341636657715, 0.06264890730381012, -0.4168199896812439, 0.25358742475509644, 0.3111054301261902, 0.11550432443618774, 0.7334879636764526, -0.7015896439552307, 0.10244156420230865, 0.0006370440241880715, 0.31000933051109314, -1.1604005098342896, -0.676908552646637, 0.47269463539123535, -0.5904322266578674, 0.18411926925182343, -0.257693886756897, -0.9962301850318909, -0.03606181591749191, -0.360228955745697, 0.27052146196365356, -0.10493908077478409, -0.5979394912719727, 0.6890923976898193, 0.14983969926834106, -0.8088430166244507, -0.3422204554080963, -0.2023410052061081, 0.24616645276546478, 0.19116878509521484, -0.15626879036426544, 0.48158201575279236, -0.19530753791332245, -0.33399614691734314, 0.28802457451820374, 0.05320923030376434, 0.025092901661992073, -0.15580682456493378, 0.5069791674613953, 0.30647265911102295, 0.37693533301353455, 0.5859954953193665, 0.40256354212760925, -0.23932397365570068, 0.05752571299672127, -0.42583534121513367, 0.5712666511535645, 0.006047180853784084, -0.49043357372283936, -0.28893136978149414, 0.6744219660758972, 0.3031424582004547, -0.3387746214866638, 0.19284628331661224, 0.4898514151573181, -0.37613770365715027, 0.28013408184051514, -0.38355088233947754, 0.012556083500385284, -0.4595935046672821, -0.17381952702999115, -0.4547506272792816, -0.06229294836521149, 0.5277581810951233, -0.5408084392547607, 0.5372132658958435, 0.5256733298301697, 0.22533869743347168, -0.15287888050079346, 0.48153167963027954, 0.4565475285053253, 0.40517204999923706, 0.580168604850769, 0.06119957193732262, 0.11345671862363815, -0.8088515400886536, -0.2636846899986267, -0.8562555909156799, -0.4876331090927124, -0.2655464708805084, -0.011631953530013561, 0.02197030372917652, 0.23198482394218445, -0.6587795615196228, 0.4978146255016327, -0.9708722233772278, 0.38022297620773315, 0.880093514919281, -0.2470361590385437, 0.14789670705795288, 0.15805263817310333, -0.19553394615650177, 0.13206583261489868, -0.07298688590526581, -0.8270803689956665, 1.1098726987838745, -0.0967022180557251, 0.5120094418525696, 0.46676602959632874, 1.2812269926071167, 0.7981561422348022, 0.8974806070327759, -0.42182016372680664, 0.5056146383285522, 0.7594497799873352, -1.1703728437423706, -0.03726853057742119, 0.06382652372121811, -0.9320018887519836, 0.0983312800526619, 0.003901719581335783, -0.9706897735595703, 0.7354069948196411, 0.16357630491256714, -0.2299867421388626, 0.05524618923664093, -0.6435341835021973, 0.6078805923461914, -0.30337145924568176, -0.6404469609260559, 0.09556692093610764, -0.8401660323143005, -0.0350969061255455, -0.3322797417640686, 0.06945061683654785, -0.10617843270301819, -0.2568810284137726, 0.829772412776947, -0.6998311281204224, 0.404747873544693, -0.33627817034721375, 0.36057254672050476, 0.30002784729003906, 0.4465562105178833, 0.5125765800476074, 0.05724720284342766, -0.05200639367103577, 0.09095150977373123, 0.4714515805244446, -0.6631931066513062, -0.36214202642440796, 0.783173143863678, -0.630761444568634, -0.17703770101070404, -0.9342926740646362, -0.3980199098587036, -0.06286171078681946, 0.8080886602401733, 0.34798815846443176, 0.1609940230846405, -0.13801456987857819, 0.02386489510536194, 0.4928012788295746, 0.16830487549304962, 0.5413675904273987, 0.27877309918403625, -0.2569595277309418, -0.946378767490387, 0.9548449516296387, 0.28785914182662964, -0.011486644856631756, 0.5335683226585388, 0.05794193968176842, -0.3480972349643707, -0.6918884515762329, -0.4470653831958771, 0.2511332035064697, -0.9416483640670776, -0.33306819200515747, -0.7474048137664795, 0.17787675559520721, -0.870877206325531, -0.40633437037467957, -0.0011145094176754355, -0.4824577867984772, -0.16724202036857605, -0.13417339324951172, 0.5327703952789307, 0.5016560554504395, -0.42375484108924866, 0.46886879205703735, -0.7225042581558228, 0.345075786113739, 0.052806124091148376, 0.27637243270874023, -0.27399569749832153, -0.11577723920345306, -0.3030983805656433, -0.49276959896087646, -0.5533409714698792, -1.3234070539474487, 0.25801852345466614, 0.120235875248909, 0.493100106716156, 0.4927526116371155, 0.44349002838134766, 0.4982587695121765, -0.4265102446079254, 0.6995941996574402, 0.2923007607460022, -0.7721024751663208, 0.8547818660736084, -0.6178916692733765, 0.12040090560913086, 0.969404935836792, 0.909264862537384, 0.14554256200790405, -0.040179889649152756, -0.7084611058235168, -1.2387810945510864, 0.33132097125053406, 0.21249890327453613, -0.3451707065105438, 0.05712981894612312, 0.17640772461891174, 0.14788207411766052, 0.2334212213754654, -0.6685924530029297, -0.1545301079750061, -0.5637527704238892, -0.42511460185050964, 0.24032573401927948, -0.20596536993980408, -0.4698098599910736, -0.021679844707250595, 1.108782410621643, -0.20601852238178253, 0.15759208798408508, 0.5933020114898682, -0.25391489267349243, -0.053876686841249466, 0.16253115236759186, 0.3163889944553375, 0.9342917799949646, -0.6902987360954285, 0.3870382308959961, -0.3805592656135559, -0.6674204468727112, 0.08453147858381271, 0.6045297384262085, -0.32384511828422546, 0.49004197120666504, 0.17173980176448822, -0.011675049550831318, 0.155146524310112, -0.6361427307128906, 0.20577242970466614, 0.21114550530910492, 0.03189178928732872, -0.8813477754592896, -0.29986801743507385, -0.04211145639419556, 0.1517695188522339, 0.9517443776130676, 0.2532409429550171, 0.3851534128189087, -0.31470194458961487, 0.12519460916519165, 0.06621675938367844, -0.2783116400241852, -0.48185399174690247, 0.7832595705986023, 0.18620242178440094, -0.4078436493873596, -0.16630509495735168, -0.24985139071941376, -0.29912251234054565, 0.05365890637040138, 0.2848283648490906, 1.1125308275222778, -0.22637760639190674, -0.01064744871109724, 0.3373980224132538, 0.40294408798217773, 0.26860812306404114, 0.15653595328330994, -0.318136990070343, -0.15853151679039001, -0.005788592621684074, -0.9380029439926147, -0.6201833486557007, -0.14405573904514313, -0.4677763283252716, 0.1746833175420761, -0.7201685309410095, -0.3094926178455353, 0.5211061239242554, 0.2087584286928177, -0.49105745553970337, 0.1672278791666031, -0.09402502328157425, 0.9506170153617859, -0.6345624923706055, 0.7342575192451477, 1.0483157634735107, -0.9663482308387756, -0.5083815455436707, 0.07003366947174072, -0.04729589819908142, -0.11811144649982452, 1.056460976600647, -0.04220682382583618, -0.4149135947227478, 0.11584629863500595, -0.6637712121009827, -0.8570366501808167, 1.1134623289108276, 0.3578186333179474, 0.09593146294355392, 0.11001722514629364, -0.15863938629627228, 0.3665560483932495, -0.2101747989654541, 0.4091942608356476, -0.01517656072974205, 0.8062356114387512, 0.20980998873710632, -0.46879616379737854, 0.32052546739578247, -0.7553486227989197, -0.01335042342543602, 0.1847616285085678, -0.254011869430542, 0.5571935772895813, 0.07452162355184555, -0.20067346096038818, 0.17882607877254486, 0.763298511505127, 0.3427228033542633, 0.5782666802406311, 0.3580232858657837, 0.17462986707687378, 0.8194122314453125, -0.013367414474487305, 0.7100022435188293, -0.34222328662872314, -0.06316272169351578, 1.3227344751358032, -0.3210253417491913, 0.8688607215881348, 0.882445752620697, -0.09967425465583801, 0.9817754030227661, 0.8713055849075317, -0.17432397603988647, 0.40393388271331787, 0.02061430737376213, -0.293203204870224, -0.15573935210704803, -0.21948105096817017, -0.4318271279335022, -0.24191007018089294, 0.31527769565582275, -0.6264709234237671, -0.17401954531669617, 0.03213520720601082, 0.16939005255699158, 0.014510510489344597, -0.1838371306657791, 0.6128352284431458, -0.16403117775917053, -0.604681670665741, 0.06831793487071991, -0.2656187415122986, 0.2030145674943924, -0.743042528629303, 0.056457459926605225, 0.2115689218044281, 0.0063521647825837135, -0.5624117851257324, -0.40726426243782043, 0.27958670258522034, -0.02375468797981739, -0.3322209417819977, -0.0823402926325798, 0.923588752746582, 0.040342189371585846, -0.36080485582351685, 0.14201949536800385, 0.19789725542068481, 0.5453874468803406, -0.01525146048516035, -0.4609737694263458, -0.025876304134726524, -0.37126463651657104, -0.43595993518829346, 0.27560773491859436, 0.37443777918815613, -0.14736491441726685, 0.49866771697998047, 1.1289498805999756, 0.23637785017490387, 0.19596441090106964, -0.1946713924407959, 0.7789610028266907, -0.5167070627212524, -0.5135395526885986, -0.4637140929698944, 0.29515013098716736, -0.693158745765686, -0.23661597073078156, 0.7074421644210815, 0.8650481104850769, 0.5235608220100403, -0.12642183899879456, 1.286978006362915, -0.49974408745765686, 0.8112170100212097, 0.29353776574134827, 0.8034583330154419, -0.5477627515792847, 0.010312301106750965, -0.5701574683189392, -0.94444340467453, -0.4363921582698822, 0.1620398312807083, -0.5887365937232971, -0.09115884453058243, 0.5935484170913696, 0.5512211322784424, -0.08467692881822586, -0.10530982911586761, -0.1734224408864975, -0.44722509384155273, 0.5498526096343994, -0.3034350275993347, 0.27920860052108765, -0.47905394434928894, 0.6904038786888123, -0.08077969402074814, -0.12462880462408066, -0.5333564877510071, -0.9019604325294495, -0.5365749597549438, -0.5143366456031799, -0.4330284893512726, -0.22709667682647705, 0.015173295512795448, 1.0776668787002563, 0.3383278250694275, -0.9421644806861877, 0.05259758234024048, -0.1580476611852646, 0.04388369247317314, -0.11453408002853394, -0.34985730051994324, 0.8103631734848022, -0.4972669184207916, -0.8354256749153137, 0.0422709584236145, 0.26236236095428467, 0.03975231572985649, -0.20826338231563568, 0.06746026128530502, -0.6663529276847839, 0.3799115717411041, 0.14721359312534332, 0.6951625347137451, -0.2696274220943451, -0.24386747181415558, -0.30677542090415955, -0.1529303640127182, -0.28981757164001465, 0.9117454290390015, -0.5719033479690552, 0.536475658416748, 0.862939715385437, 0.43818193674087524, 0.12172853946685791, 0.24794843792915344, 0.3697715401649475, -0.4343835413455963, 0.03980393335223198, 0.23260003328323364, 0.34364375472068787, 0.33604127168655396, -0.14407792687416077, 0.6691176891326904, 0.44274377822875977, -0.6790433526039124, -1.2923179864883423, 0.15293671190738678, -0.9992714524269104, -0.33057883381843567, 0.5713568329811096, -0.2843569219112396, -0.30644533038139343, -0.43901488184928894, -0.24832558631896973, 0.3522730767726898, -0.43352949619293213, 0.5052289366722107, 0.3615422248840332, -0.09967000782489777, 0.06342878937721252, -0.34289926290512085, 0.4631415009498596, 0.04329676553606987, -0.836705207824707, -0.05311141908168793, 0.4768531620502472, 0.4190961420536041, 1.0241680145263672, 0.5217602252960205, -0.11002598702907562, 0.39598339796066284, 0.1976267695426941, 0.6915242671966553, -0.23321674764156342, -0.18705889582633972, 0.37609949707984924, 0.6405960321426392, 0.031028077006340027, -0.29943200945854187 ]
http://arxiv.org/abs/2407.03181v1
http://arxiv.org/pdf/2407.03181v1
Fine-Tuning with Divergent Chains of Thought Boosts Reasoning Through Self-Correction in Language Models
2024-07-03T15:01:18
2024-07-03T15:01:18
Haritz Puerto, Tilek Chubakov, Xiaodan Zhu, Harish Tayyar Madabushi, Iryna Gurevych
cs.CL
cs.CL
Requiring a Large Language Model to generate intermediary reasoning steps has been shown to be an effective way of boosting performance. In fact, it has been found that instruction tuning on these intermediary reasoning steps improves model performance. In this work, we present a novel method of further improving performance by requiring models to compare multiple reasoning chains before generating a solution in a single inference step. We call this method Divergent CoT (DCoT). We find that instruction tuning on DCoT datasets boosts the performance of even smaller, and therefore more accessible, LLMs. Through a rigorous set of experiments spanning a wide range of tasks that require various reasoning types, we show that fine-tuning on DCoT consistently improves performance over the CoT baseline across model families and scales (1.3B to 70B). Through a combination of empirical and manual evaluation, we additionally show that these performance gains stem from models generating multiple divergent reasoning chains in a single inference step, indicative of the enabling of self-correction in language models. Our code and data are publicly available at https://github.com/UKPLab/arxiv2024-divergent-cot.
[ -0.43158432841300964, -0.7390444278717041, 0.5408033132553101, -0.06767323613166809, -0.3224759101867676, 0.25350695848464966, -0.40928444266319275, -0.2936159372329712, -0.1544497162103653, 0.5530328750610352, -0.846889853477478, -0.6048761010169983, -0.4558172821998596, 0.097775898873806, -0.25174760818481445, 0.9786076545715332, -0.0028894857969135046, -0.008418851532042027, -0.1469765156507492, -0.006006404757499695, -0.5053533911705017, -0.18691417574882507, -0.7710745334625244, -0.24345232546329498, 0.5443286299705505, 0.7108317613601685, 0.6604336500167847, 0.7550458312034607, 0.5577472448348999, 0.2935774624347687, -0.15701787173748016, 0.832078754901886, -0.532036542892456, 0.22238324582576752, -0.5633682012557983, -0.7747687697410583, -0.5164589285850525, -0.18240848183631897, 0.5026179552078247, 0.5067939162254333, -0.15580222010612488, 0.09487618505954742, -0.008516530506312847, 1.0734609365463257, -0.8064020872116089, -0.16396217048168182, -0.781406581401825, -0.13845294713974, 0.01229088194668293, -0.3612377941608429, -0.4836573004722595, -0.36631515622138977, -0.005288644228130579, -0.2608102858066559, 0.6322004795074463, -0.06690783053636551, 0.3954845666885376, 0.5375909209251404, -0.418523907661438, -0.34124955534935, -0.7741288542747498, 0.7266108989715576, -0.8981004357337952, 0.36371153593063354, 0.14817573130130768, 0.03836287185549736, -0.24092285335063934, -0.5522053241729736, -0.41278567910194397, 0.03004477731883526, -0.02830219455063343, -0.015298644080758095, -0.045237455517053604, 0.35215431451797485, 0.39109498262405396, 0.5020396113395691, -0.12549588084220886, 0.3209612965583801, -0.3723917007446289, -0.052426066249608994, 0.8012170791625977, 0.34211692214012146, -0.00034614387550391257, 0.17699532210826874, -0.2232503592967987, -0.24237588047981262, -0.8254146575927734, -0.14829279482364655, 0.507339596748352, 0.6276212334632874, -0.24977032840251923, 0.4743629992008209, -0.45366883277893066, 0.7019097208976746, 0.34816455841064453, -0.05501611903309822, -0.010043860413134098, -0.4236341416835785, -0.12067927420139313, 0.13571271300315857, 0.3743627965450287, 0.2097095102071762, 0.40992939472198486, 0.08013509213924408, -0.3106846213340759, 0.011459768749773502, 0.19191280007362366, -0.8457236886024475, -0.6358553767204285, 0.15033367276191711, -0.03552376851439476, -0.09450608491897583, -0.27940404415130615, -0.4346567690372467, -0.2983769178390503, -0.6249799728393555, 0.11967599391937256, -0.352266401052475, -0.29392755031585693, 0.3778866231441498, -0.06814362853765488, 0.047808703035116196, 0.5761246681213379, -0.9565820097923279, 0.34025341272354126, 0.6994885802268982, 0.8190686702728271, -0.25348010659217834, -0.25380656123161316, -0.5905941128730774, -0.0020462777465581894, -0.7014163732528687, 1.0773557424545288, -0.5785472393035889, -0.16058625280857086, -0.21441034972667694, -0.2377701848745346, -0.09718611091375351, -0.521162748336792, 0.4807400405406952, -0.5879223346710205, -0.03516083210706711, -0.5679001808166504, -0.8269206285476685, -0.00010210377513431013, 0.25367435812950134, -0.6673585176467896, 0.9075455665588379, -0.18056035041809082, -0.7701014876365662, 0.311513751745224, -0.4442208707332611, -0.4688616991043091, -0.16229508817195892, -0.22939027845859528, -0.36336976289749146, 0.26876750588417053, 0.43344104290008545, 0.2983618378639221, -0.243550643324852, -0.08103350549936295, -0.29129114747047424, -0.4223482310771942, -0.09943085163831711, -0.6086079478263855, 0.6130722165107727, 0.13352160155773163, -0.36483272910118103, 0.14606015384197235, -0.6819283366203308, 0.303737610578537, -0.20118655264377594, -0.37612223625183105, -0.3139244019985199, 0.034598078578710556, -0.7619518637657166, 0.1685611456632614, -0.020540447905659676, -0.21670983731746674, 0.47813042998313904, -0.4786754548549652, 0.2928520739078522, 0.9764477610588074, 0.007348045241087675, 0.2899155616760254, -0.1759204864501953, 0.4617955982685089, 0.3246292471885681, -0.019636040553450584, -0.11320289224386215, -0.3417697548866272, -1.0628224611282349, -0.49669209122657776, 0.4387550354003906, 0.17791979014873505, -0.5161343812942505, 0.33744847774505615, 0.037496525794267654, -0.3559968173503876, -0.7875169515609741, 0.1574849933385849, 0.38302233815193176, 0.3942890763282776, 0.662510097026825, -0.15757840871810913, -0.3784341514110565, -0.7156314253807068, -0.43480294942855835, -0.08429120481014252, 0.21037328243255615, 0.398527592420578, 0.33653610944747925, -0.27640554308891296, 0.7049556970596313, -0.49879738688468933, 0.12880900502204895, -0.08753408491611481, 0.2579382359981537, 0.18007852137088776, 0.5578901171684265, 0.1294001042842865, -0.27080491185188293, -0.3153042793273926, 0.014685375615954399, -0.38479360938072205, 0.01022789254784584, -0.1918138712644577, -0.4461275339126587, 0.3230774402618408, 0.5557018518447876, -0.5171002149581909, 0.2870185673236847, 0.38303282856941223, -0.3172128200531006, 0.7711606025695801, -0.4552781283855438, 0.13900715112686157, -0.6375385522842407, -0.4632073640823364, -0.36165285110473633, -0.41104695200920105, -0.32872018218040466, 0.14917223155498505, 0.35708898305892944, 0.6108633279800415, -0.29234686493873596, 0.30794504284858704, -0.6171995401382446, 0.1027887761592865, -0.44420188665390015, 0.3399296998977661, 0.08996784687042236, 0.30403435230255127, -0.14475122094154358, 0.9673142433166504, 0.6483114361763, -0.9855118989944458, 0.17906694114208221, 0.017538607120513916, -0.24807380139827728, 0.33825206756591797, -0.510267972946167, 0.3488071858882904, -0.03690705448389053, 0.09527024626731873, -0.9322918057441711, 0.02568245306611061, -0.1613813042640686, 0.06299252808094025, 0.35321322083473206, -0.16476504504680634, -0.5637458562850952, -0.4429180920124054, -0.2367497682571411, 0.4970676004886627, 0.24037493765354156, -0.972781777381897, 0.28846174478530884, -0.0407416895031929, 0.10777460038661957, -0.6898229122161865, -0.6113045811653137, -0.27831754088401794, -0.01302885077893734, -0.3931507170200348, 0.2589183449745178, -0.20615826547145844, -0.13732920587062836, -0.1612713783979416, -0.5236222743988037, 0.2507569193840027, 0.1345222443342209, -0.24406610429286957, 0.20264549553394318, -0.2549471855163574, 0.6768578886985779, 0.6794993281364441, 0.0654580295085907, 0.05318419635295868, -0.4534508287906647, 0.53116375207901, -0.44911742210388184, -0.4331711530685425, -0.309266060590744, -0.05267992988228798, 0.2945384085178375, -0.25587984919548035, 0.6284283995628357, 0.3649653494358063, -0.04979078844189644, -0.7077010869979858, -0.6035823225975037, -0.4327743351459503, -0.5324072241783142, 0.033720020204782486, -0.5861285924911499, -0.9266955852508545, 0.39055943489074707, -0.5497598052024841, -0.06479014456272125, 0.5329437851905823, 0.7482219934463501, 0.07753800600767136, 1.0353820323944092, 0.7297067642211914, 0.26149627566337585, 0.35713502764701843, -0.4962204098701477, 0.33116111159324646, -0.9073781967163086, -0.06120140850543976, -0.2987421154975891, -0.31520748138427734, -1.0378047227859497, -0.7666164040565491, 0.09909643232822418, 0.45847561955451965, -0.38138729333877563, 0.1660098135471344, -0.6302476525306702, 1.0185688734054565, 0.5720203518867493, 0.2222316712141037, 0.6773397326469421, -0.12888386845588684, -0.6267954707145691, 0.3221326172351837, -0.9050816893577576, -0.5262951254844666, 1.002580165863037, 0.14848443865776062, 1.121863603591919, 0.07482761889696121, 0.9389702677726746, 0.2343108206987381, 0.13493070006370544, -0.5935829877853394, 0.3991207778453827, -0.28477743268013, -0.5692975521087646, -0.24916256964206696, -0.5705901384353638, -0.7289111614227295, 0.3563247323036194, 0.032167449593544006, -0.5707510709762573, 0.4403942823410034, 0.272378534078598, -0.5034434795379639, 0.4139341115951538, -0.8810600638389587, 0.6205942630767822, -0.3557673692703247, -0.6107025146484375, -0.6733444929122925, -0.46789124608039856, 0.4347245395183563, 0.11384037137031555, -0.13519641757011414, -0.42466071248054504, -0.02307416871190071, 0.3498208820819855, -0.3482702970504761, 0.8176897764205933, 0.1529826819896698, -0.3572908043861389, 0.4014575481414795, 0.33705922961235046, 0.664482057094574, 0.3964686095714569, -0.17545564472675323, 0.2359856218099594, 0.07674235105514526, -0.46998026967048645, -0.5992512106895447, 0.979861855506897, -0.809430718421936, -0.9337857961654663, -0.24701090157032013, -0.8156211972236633, -0.26685014367103577, 0.3231948912143707, -0.0041531845927238464, 0.2980000972747803, 0.09694869071245193, -0.09360203891992569, 0.7906489968299866, 0.03732125461101532, 0.4416376054286957, 0.4426122307777405, -0.013404754921793938, -0.2503007650375366, 0.43862593173980713, -0.02640017494559288, 0.7108252048492432, 0.3643273413181305, 0.21500065922737122, -0.3785640001296997, -0.3910384774208069, -0.4403633773326874, 0.32075974345207214, -0.9243946671485901, -0.5354722738265991, -0.47276729345321655, -0.2161540985107422, -0.20045027136802673, -0.05837869271636009, -0.8438581228256226, -0.7383534908294678, -0.2152867168188095, -0.25775209069252014, 0.5790653228759766, 0.7617073059082031, -0.2803647518157959, 0.09100868552923203, -0.4196525514125824, 0.28510764241218567, 0.4320775270462036, 0.649374783039093, 0.12048403173685074, -0.41832664608955383, -0.30961060523986816, 0.3384174108505249, -0.4630878269672394, -0.35516437888145447, -0.004511524923145771, 0.14506064355373383, 0.43345215916633606, 0.31907376646995544, 0.2594026029109955, 1.1047946214675903, -0.49784985184669495, 0.3890312910079956, -0.011233193799853325, -1.0926870107650757, 0.7610758543014526, -0.17811715602874756, 0.5083498358726501, 0.582780122756958, 0.2816427946090698, -0.13026177883148193, -0.5387870669364929, -0.5458201766014099, -0.769382119178772, 0.7097935676574707, 0.20818719267845154, 0.04386014863848686, -0.28050321340560913, 0.5417740941047668, 0.16542039811611176, 0.17731723189353943, -0.31837978959083557, -0.25116243958473206, 0.17949344217777252, -0.14080575108528137, 0.054300419986248016, -0.049006395041942596, -0.3021980822086334, -0.5543510913848877, 0.6448507308959961, -0.44640082120895386, 0.03523862361907959, 0.4211016893386841, 0.040059417486190796, -0.3823108673095703, 0.1670568734407425, 0.4998001754283905, 0.7572878003120422, -0.12032942473888397, 0.4118109941482544, 0.4376946985721588, -0.15665815770626068, 0.06613298505544662, -0.15604902803897858, -0.03878180310130119, -0.2636878192424774, 0.4296354651451111, 0.8180579543113708, -0.015189267694950104, -0.5305494070053101, 0.14996717870235443, -0.3364851772785187, 0.0035607446916401386, 0.20414160192012787, 0.5732315182685852, 0.10756167769432068, 0.6101969480514526, -0.10976403951644897, 0.38979944586753845, 0.16617539525032043, -0.3904173970222473, 0.13377952575683594, 0.41945868730545044, -0.06651754677295685, -0.03559485450387001, 0.4358694553375244, 0.20215362310409546, -0.25136467814445496, 0.8214195966720581, -0.20255905389785767, -0.3131795823574066, 0.6297318339347839, 0.6310948729515076, 0.9434060454368591, -0.13650576770305634, 0.2289295196533203, 0.540199339389801, 0.3894125819206238, -0.2786860167980194, 0.2251092493534088, -0.37967029213905334, -0.7387668490409851, -0.5766633152961731, -0.6016279458999634, -0.5164914727210999, -0.2520320415496826, -0.6109206080436707, 0.3472857177257538, -0.40874719619750977, -0.021863535046577454, -0.11528494209051132, 0.07632923871278763, -0.83089280128479, 0.2985503673553467, 0.258091539144516, 0.8764029741287231, -0.4470122158527374, 0.8913396000862122, 0.30344220995903015, -0.22928401827812195, -0.8408469557762146, 0.40579551458358765, -0.37405017018318176, -0.5924493074417114, 0.3234834671020508, 0.22443103790283203, -0.6867726445198059, 0.05760330706834793, -0.44478172063827515, -1.1188790798187256, 0.9888454079627991, 0.6166690587997437, -1.1588516235351562, 0.13157552480697632, -0.015650326386094093, 0.7681823372840881, -0.5733375549316406, 0.3802405297756195, 0.9513472318649292, 0.04951167106628418, 0.0076369186863303185, -0.6236432790756226, 0.20437371730804443, 0.08878869563341141, 0.0550655797123909, 0.27944648265838623, -0.7880121469497681, 0.9515528678894043, -0.8183492422103882, -0.2951678931713104, -0.11733680963516235, 0.6604814529418945, 0.5068832039833069, 0.0133619774132967, 0.45611897110939026, 0.5422875285148621, 1.2615454196929932, 0.04451729729771614, 1.0062650442123413, -0.5002062916755676, 0.6312383413314819, 1.490325927734375, -0.080685555934906, 0.7792877554893494, 0.35480061173439026, -0.1489086151123047, 0.9652934074401855, 0.6283308267593384, 0.21721623837947845, 0.6073742508888245, 0.2715759575366974, -0.1874665915966034, -0.6628363728523254, 0.24764364957809448, -0.33247798681259155, 0.3013208210468292, 0.3386397957801819, -0.22067275643348694, -0.17063920199871063, -0.32406875491142273, -0.17753826081752777, 0.13789916038513184, -0.49484387040138245, 0.7440634369850159, 0.09779047966003418, -0.8750931620597839, 0.9598041772842407, -0.04693344980478287, 0.36226150393486023, -0.17137888073921204, -0.11550650000572205, -0.42343053221702576, 0.6658908724784851, -0.21822911500930786, -0.7476139068603516, 0.2609459459781647, 0.03137018531560898, -0.21448646485805511, 0.11127747595310211, 0.6181900501251221, -0.48022446036338806, -0.6966087222099304, 0.4873431622982025, 0.56568843126297, -0.0632954016327858, 0.17163027822971344, -0.6330041885375977, -0.06878901273012161, -0.1393360048532486, -0.1817927360534668, -0.09190891683101654, 0.8167014718055725, -0.09489789605140686, 0.7544598579406738, 0.5062859058380127, 0.04444481059908867, 0.21557331085205078, 0.4945164620876312, 1.169121265411377, -0.7579666972160339, -0.3937024176120758, -1.1157746315002441, 0.40935012698173523, -0.11763041466474533, -0.3535619378089905, 0.7672863006591797, 0.6452538371086121, 1.2589643001556396, 0.07445746660232544, 0.6565627455711365, 0.23935024440288544, 0.36123040318489075, -0.6141380071640015, 0.24588371813297272, -0.453185498714447, 0.6701327562332153, -0.08638481050729752, -0.4972653090953827, -0.19298778474330902, 0.5223410725593567, -0.5966305732727051, 0.14204390347003937, 0.8970397710800171, 0.946143388748169, -0.13889089226722717, 0.09746115654706955, 0.20624738931655884, 0.41748976707458496, 0.3082578182220459, 0.34904083609580994, 0.8129501938819885, -0.48380550742149353, 0.22272750735282898, -0.5300235748291016, -0.10699404031038284, -0.05860278755426407, -0.7297391891479492, -1.2400797605514526, -0.05437255650758743, -0.483167439699173, -0.24667057394981384, 0.3685321509838104, 0.9572551250457764, 0.7407414317131042, -0.9423664808273315, -0.23444080352783203, -0.7164492011070251, 0.5848863124847412, -0.5595605969429016, -0.16550180315971375, 0.29786908626556396, -0.9324780702590942, -0.6507818698883057, 0.3915656507015228, 0.38208043575286865, -0.2507665157318115, -0.2125738561153412, -0.04905286058783531, -0.41438356041908264, 0.595295250415802, 0.609390914440155, -0.2383032888174057, -0.8940624594688416, -0.3134000301361084, -0.2465950846672058, -0.01850816234946251, 0.18520121276378632, 0.9050984382629395, -0.7803995609283447, 0.7061865329742432, 0.47192785143852234, 0.4019400477409363, 0.7459628582000732, 0.10014866292476654, 0.5397249460220337, -0.9212781190872192, -0.08121275901794434, 0.2181190401315689, 0.19916793704032898, 0.3359271287918091, -0.6526858806610107, 0.5587502717971802, 0.05403054505586624, -0.6316165924072266, -0.7921783924102783, 0.41324010491371155, -0.7013428807258606, -0.36994150280952454, 0.9504278898239136, -0.00870972964912653, -0.09289509803056717, 0.22562457621097565, -0.24908530712127686, 0.38387632369995117, -0.314308226108551, 1.0906667709350586, 0.5194612741470337, -0.3841334283351898, -0.2015749216079712, -0.15692082047462463, 0.5732489824295044, 0.5255225300788879, -0.8029760122299194, 0.4489903450012207, 0.1812657117843628, 0.34588396549224854, -0.13970597088336945, 0.3910207748413086, 0.1132943332195282, 0.34520360827445984, 0.09519094973802567, -0.09500294923782349, 0.20299971103668213, -0.6217822432518005, -0.23436623811721802, -0.23241619765758514, 0.19990022480487823, 0.025467736646533012 ]
http://arxiv.org/abs/2407.03169v1
http://arxiv.org/pdf/2407.03169v1
Investigating Decoder-only Large Language Models for Speech-to-text Translation
2024-07-03T14:42:49
2024-07-03T14:42:49
Chao-Wei Huang, Hui Lu, Hongyu Gong, Hirofumi Inaguma, Ilia Kulikov, Ruslan Mavlyutov, Sravya Popuri
cs.CL
cs.CL, cs.SD, eess.AS
Large language models (LLMs), known for their exceptional reasoning capabilities, generalizability, and fluency across diverse domains, present a promising avenue for enhancing speech-related tasks. In this paper, we focus on integrating decoder-only LLMs to the task of speech-to-text translation (S2TT). We propose a decoder-only architecture that enables the LLM to directly consume the encoded speech representation and generate the text translation. Additionally, we investigate the effects of different parameter-efficient fine-tuning techniques and task formulation. Our model achieves state-of-the-art performance on CoVoST 2 and FLEURS among models trained without proprietary data. We also conduct analyses to validate the design choices of our proposed model and bring insights to the integration of LLMs to S2TT.
[ -0.00799825880676508, -0.5385002493858337, 0.7604174613952637, 0.1501087248325348, -0.6418058276176453, -0.2322624772787094, -0.3789440393447876, -0.5164245367050171, -0.07497338950634003, 0.8720627427101135, -0.36500075459480286, -0.35230305790901184, -0.9982865452766418, 0.12798863649368286, -0.5533992648124695, 0.9475833177566528, 0.07526127249002457, 0.03053242713212967, -0.008198357187211514, 0.3072411119937897, -0.3898196518421173, -0.42917153239250183, -0.5031017065048218, -0.29529526829719543, 0.31188687682151794, 0.32461684942245483, 0.4484384059906006, 0.7925137281417847, 0.31901800632476807, 0.1197289526462555, -0.3533622920513153, 0.3601423501968384, -0.6385973691940308, 0.15137217938899994, -0.4508819580078125, -0.41297367215156555, -0.5475239753723145, -0.38129502534866333, 0.702063262462616, 0.34480348229408264, -0.03913186863064766, 0.1154046356678009, 0.16996203362941742, 0.17278127372264862, -0.46778905391693115, 0.29994574189186096, -0.7581372261047363, -0.14190159738063812, -0.13710764050483704, -0.30691447854042053, -0.8103722929954529, 0.0011207078350707889, 0.03499957546591759, -0.17270879447460175, -0.1937672346830368, -0.13568371534347534, 0.3990938365459442, 0.5242757201194763, -0.7187390327453613, -0.2922934889793396, -0.8000069856643677, 0.6508694291114807, -0.6492826342582703, 0.6525506377220154, 0.23772796988487244, 0.1169225350022316, -0.13199783861637115, -0.5930985808372498, -0.29773420095443726, -0.082000233232975, 0.04352277144789696, 0.00884995050728321, -0.4088098406791687, 0.04495013505220413, -0.04330115392804146, 0.12012328952550888, -0.6481459140777588, 0.2585698068141937, -0.17033451795578003, 0.055758289992809296, 0.42902106046676636, 0.07890408486127853, 0.23243802785873413, -0.16966861486434937, -0.37964779138565063, 0.27358630299568176, -0.5270521640777588, -0.1735507696866989, -0.1845892071723938, 0.6353381872177124, -0.378767192363739, 0.880370020866394, 0.04268265143036842, 0.5435577630996704, 0.07809678465127945, 0.08954405039548874, -0.08474048227071762, -0.38198456168174744, -0.3371805250644684, 0.14141394197940826, 0.8285254240036011, -0.10719224065542221, 0.19134576618671417, -0.6498277187347412, -0.39962124824523926, -0.05808044970035553, 0.044091857969760895, -0.9495674967765808, 0.16203272342681885, 0.16389605402946472, -0.14871789515018463, -0.2819960415363312, -0.5152584314346313, -0.4031250476837158, -0.29202303290367126, -0.1374656707048416, 0.39192846417427063, -0.14901678264141083, -0.4649556279182434, 0.3828222453594208, 0.002640231978148222, 0.2754088044166565, 0.2123715728521347, -0.9726478457450867, 0.34604525566101074, 0.8140609860420227, 0.8011292219161987, -0.3235076665878296, -0.022008297964930534, -0.8407490253448486, 0.5841543078422546, -0.4800102412700653, 0.7862654328346252, -0.4384775161743164, -0.3837296664714813, 0.10424106568098068, -0.1188414990901947, 0.03786814212799072, -0.3392563760280609, 0.7242268919944763, -0.7297090888023376, -0.40968236327171326, -0.24551686644554138, -0.6264766454696655, 0.06374957412481308, 0.04839363694190979, -0.46495959162712097, 0.6897034049034119, -0.03569803014397621, -0.6322081089019775, -0.21429665386676788, -0.5765666365623474, -0.6718267202377319, 0.138722762465477, -0.2634362578392029, -0.14063531160354614, 0.3033161461353302, 0.2125929594039917, 0.5491330623626709, -0.5765965580940247, 0.40057530999183655, 0.13008607923984528, -0.4583503007888794, 0.19313624501228333, -0.39597275853157043, 0.49100083112716675, 0.24773354828357697, -0.18238899111747742, 0.11195169389247894, -0.3669208884239197, 0.013767706230282784, 0.33111435174942017, -0.5187233090400696, 0.009108838625252247, 0.09479274600744247, 0.38296476006507874, 0.07172371447086334, 0.41712331771850586, -0.441013902425766, 0.2843705117702484, -0.47789591550827026, 0.7947389483451843, 0.46102702617645264, -0.22594501078128815, 0.6234222650527954, -0.10029008239507675, 0.29591676592826843, -0.09263124316930771, -0.3963523805141449, -0.1688930094242096, -0.2984698414802551, -0.6027703285217285, -0.49892857670783997, 0.3297432065010071, 0.6641286611557007, -0.6403188705444336, 0.32697567343711853, -0.7127211093902588, -0.38263317942619324, -0.415921688079834, 0.06519360840320587, 0.347606360912323, 0.25880274176597595, 0.4027126729488373, 0.2819083034992218, -0.4172583818435669, -0.784367024898529, -0.28901636600494385, 0.26939937472343445, -0.1473674327135086, 0.026628810912370682, 0.4826264977455139, -0.4856679141521454, 0.6273488402366638, -0.14463084936141968, -0.32857492566108704, -0.663159191608429, -0.24077317118644714, -0.05362981930375099, 0.44506803154945374, 0.1448526680469513, -0.5078964233398438, -0.3072206377983093, 0.3222551643848419, -0.5831437110900879, -0.0682644322514534, -0.04542643204331398, 0.0030011048074811697, 0.1792457401752472, 0.5955228805541992, -0.7312167882919312, 0.26592469215393066, 0.8306014537811279, -0.1890813410282135, 0.3371365964412689, -0.41431644558906555, -0.06155404821038246, -1.1973519325256348, 0.11996839195489883, -0.051274918019771576, -0.5323569774627686, -0.8982776403427124, 0.14271420240402222, 0.25840461254119873, -0.358273446559906, -0.49234044551849365, 0.5787615180015564, -0.2776375710964203, -0.32766059041023254, -0.4287671446800232, 0.3054136633872986, 0.02780659683048725, 0.48947715759277344, 0.229364275932312, 1.0524792671203613, 0.4319605529308319, -0.45767101645469666, 0.054677482694387436, 0.5574719309806824, -0.49388110637664795, 0.12850040197372437, -0.7603063583374023, 0.5144132971763611, -0.07547438144683838, 0.3585332930088043, -0.9269123673439026, -0.2735338509082794, 0.2532607316970825, -0.363921582698822, 0.2737514078617096, -0.19602495431900024, -0.7538900971412659, 0.21081377565860748, 0.06483816355466843, 0.46185821294784546, 0.48844605684280396, -0.6040653586387634, 0.6678590774536133, 0.2121913582086563, -0.4076263904571533, -0.14174950122833252, -1.1316653490066528, 0.38962021470069885, 0.19826088845729828, -0.7247024774551392, 0.5406138300895691, 0.12177176773548126, 0.073386050760746, -0.2286350280046463, -0.20030415058135986, -0.03571160137653351, -0.2670852541923523, -0.07835724949836731, -0.04791027680039406, -0.2414632886648178, 0.08121092617511749, 0.568943977355957, -0.16162173449993134, -0.21916919946670532, -0.41413986682891846, 0.5275507569313049, 0.08955676108598709, -0.12999743223190308, -0.870621383190155, 0.7671751379966736, 0.8099174499511719, -0.7214787006378174, 0.5796422362327576, 0.2175242006778717, -0.15212422609329224, -0.3044604957103729, -0.4790893495082855, -0.04306574538350105, -0.4588213264942169, 0.789694607257843, -0.6641629934310913, -1.0437370538711548, 0.23426559567451477, -0.20678932964801788, 0.03783944621682167, 0.13041538000106812, 0.5888267159461975, -0.04570205882191658, 1.1716185808181763, 0.4573327898979187, 0.11310531198978424, 0.42537155747413635, -0.24306868016719818, 0.281196653842926, -1.075027346611023, -0.1972072720527649, -0.5286694169044495, -0.005598941817879677, -0.4561752676963806, -0.7630223631858826, 0.20536324381828308, -0.12046565860509872, -0.30004051327705383, 0.32567495107650757, -0.3431968688964844, 0.2685810327529907, 0.13380342721939087, 0.12124846130609512, 0.3345501124858856, 0.2711988389492035, 0.3029272258281708, 0.12454777210950851, -0.746002197265625, -0.576729416847229, 0.8254718780517578, 0.4769655466079712, 0.5955148935317993, 0.24762874841690063, 0.6236465573310852, 0.21004842221736908, -0.16516724228858948, -0.9984042644500732, 0.6516629457473755, -0.7405164837837219, -0.3327222168445587, -0.1974940150976181, -0.44360166788101196, -0.7447614669799805, 0.3988683819770813, -0.05171167105436325, -0.5810398459434509, 0.01695168763399124, -0.08500911295413971, -0.08179584890604019, 0.2191571444272995, -0.43993818759918213, 0.7269796133041382, -0.37371590733528137, -0.33552464842796326, -0.2736327052116394, -0.2551725208759308, 0.19360965490341187, -0.13872191309928894, 0.3701748847961426, 0.026832330971956253, -0.2428840845823288, 0.527299702167511, 0.010906706564128399, 0.7258409857749939, 0.04613947495818138, -0.5474686622619629, 0.13963812589645386, 0.2804276645183563, 0.9648259282112122, -0.11807653307914734, -0.35479238629341125, 0.30180543661117554, 0.1869868040084839, -0.35525843501091003, -0.4549975097179413, 0.6277075409889221, -0.7895213961601257, -0.6146732568740845, -0.2128116488456726, -0.7807555198669434, -0.2830989956855774, 0.2995418608188629, 0.14711721241474152, 0.5509948134422302, -0.01619303785264492, 0.23961320519447327, 0.8570816516876221, -0.07285233587026596, 0.07428848743438721, 0.46150925755500793, -0.17514708638191223, -0.4194270670413971, 0.8137962818145752, -0.022689754143357277, 0.5129354000091553, 0.6754570603370667, 0.16981001198291779, -0.5413155555725098, -0.8385273814201355, -0.6262618899345398, 0.3845081925392151, -0.7567121386528015, -0.02901659719645977, -0.7095109224319458, -0.16257977485656738, -0.5279253721237183, -0.059717752039432526, -0.5053356885910034, -0.10441046208143234, -0.5598077774047852, -0.06516800075769424, 0.15511290729045868, 0.6371526122093201, 0.07223939895629883, 0.4211951196193695, -0.7827833294868469, 0.4839092493057251, 0.28740960359573364, 0.22017882764339447, -0.14227937161922455, -0.8549438714981079, -0.2994432747364044, 0.2051236778497696, 0.04348401352763176, -0.7378924489021301, 0.20833903551101685, 0.13612911105155945, 0.1939263790845871, 0.160005584359169, -0.0014968975447118282, 0.5520634651184082, -0.7685052752494812, 0.6757587194442749, 0.14404289424419403, -1.094712495803833, 0.4485628306865692, -0.6282709240913391, 0.35013142228126526, 0.15952031314373016, -0.20437537133693695, -0.4248107075691223, -0.2738639712333679, 0.15099626779556274, -0.48524579405784607, 0.8965526819229126, 0.2759247124195099, 0.48972418904304504, -0.044979870319366455, 0.5951471924781799, -0.12322238087654114, -0.03813880309462547, -0.47717541456222534, 0.1534523069858551, -0.08295714110136032, -0.3516083061695099, -0.21906480193138123, -0.6194756031036377, 0.17175047099590302, 0.00004860968329012394, 0.4089621901512146, 0.09266829490661621, 0.2900834381580353, -0.028964633122086525, -0.27675798535346985, -0.12309170514345169, 0.5782983899116516, 0.7827907800674438, 0.23236273229122162, -0.10338837653398514, 0.2595970928668976, 0.1933787316083908, -0.20468246936798096, 0.09578519314527512, -0.026704352349042892, -0.16695241630077362, -0.1370038390159607, 0.27131223678588867, 0.9020528197288513, 0.5501442551612854, -0.6713636517524719, 0.49130019545555115, 0.10113077610731125, -0.28631114959716797, -0.018459482118487358, -0.028231894597411156, 0.40373024344444275, 0.5129379630088806, 0.1535879671573639, 0.1109820306301117, -0.0028184091206640005, -0.3967611491680145, 0.06611214578151703, 0.39421239495277405, -0.3142926096916199, -0.33697208762168884, 0.7632952928543091, 0.37668171525001526, -0.48115965723991394, 0.340666264295578, -0.022380458191037178, -0.29472970962524414, 0.24638061225414276, 0.8691955804824829, 0.8586268424987793, -0.24774880707263947, -0.0607016384601593, 0.01707911305129528, 0.31035611033439636, -0.31113532185554504, 0.24891528487205505, -0.15743444859981537, -0.4342791438102722, -0.6884605884552002, -0.5891761779785156, -0.18837936222553253, 0.21335864067077637, -0.606498658657074, 0.31648483872413635, -0.027593443170189857, -0.04657387733459473, -0.2622826099395752, -0.23313456773757935, -0.47505950927734375, 0.22933363914489746, 0.3604578375816345, 1.0456866025924683, -0.49052783846855164, 1.2321088314056396, 0.38434290885925293, -0.21982382237911224, -0.6986218690872192, 0.08491912484169006, -0.4051913022994995, -0.7958377599716187, 0.5721978545188904, -0.11344030499458313, -0.6474640965461731, 0.3931734263896942, -0.2808060348033905, -0.7786418795585632, 0.8698070645332336, 0.904872477054596, -0.8506680130958557, -0.2993159592151642, 0.5219767093658447, 0.2977624833583832, -0.24562668800354004, -0.13105206191539764, 0.595123291015625, 0.29240942001342773, 0.3329654335975647, -0.9908267259597778, 0.009879584424197674, -0.04153497517108917, 0.36460041999816895, 0.10691956430673599, -0.4949951171875, 0.5266969203948975, -0.24150139093399048, -0.1850186139345169, 0.36612668633461, 0.6021727919578552, 0.023165857419371605, -0.11667313426733017, 0.14767704904079437, 0.20932818949222565, 0.4820925295352936, 0.1716860979795456, 1.0900037288665771, -0.20613276958465576, 0.26750075817108154, 1.2314668893814087, -0.2529555857181549, 1.2241697311401367, 0.5917012095451355, 0.14539073407649994, 0.03840993717312813, 0.2954288721084595, 0.1709047108888626, 0.8916335701942444, 0.09742645919322968, -0.3105502128601074, -0.5187361836433411, -0.18428996205329895, -0.36788079142570496, 0.7218328714370728, 0.3744686245918274, -0.31184813380241394, -0.2516017258167267, -0.012144370004534721, -0.059755027294158936, 0.10878860950469971, -0.35781100392341614, 0.8749067783355713, 0.24221141636371613, -0.4198218584060669, 0.7593005895614624, 0.3631029725074768, 0.6892476081848145, -0.6426854729652405, 0.18313749134540558, -0.021422410383820534, 0.1437317430973053, -0.2212873101234436, -0.5138735771179199, 0.38444122672080994, 0.33508479595184326, -0.2585974633693695, -0.36182114481925964, 0.4786660671234131, -0.7115282416343689, -0.4685046970844269, 0.3440113663673401, 0.41566261649131775, 0.1556827872991562, -0.2703487277030945, -0.24953003227710724, 0.6228623390197754, 0.034719813615083694, -0.1720387488603592, 0.3481810688972473, 0.40317514538764954, 0.27423733472824097, 0.47300127148628235, 0.43165886402130127, 0.10715490579605103, -0.033280737698078156, -0.0543447807431221, 0.5355870723724365, -0.5050467252731323, -0.5853556394577026, -0.8629375696182251, 0.5704891681671143, 0.4456881582736969, 0.2134697586297989, 0.4206303060054779, 0.6501303911209106, 0.39112389087677, -0.13166148960590363, 1.073731780052185, 0.3579804003238678, 0.37501418590545654, -0.5393525958061218, 0.7524983882904053, -0.6973391175270081, 0.2393941730260849, 0.08807692676782608, -0.5470187067985535, -0.1279221475124359, 0.4985349476337433, -0.4728568494319916, -0.3129678964614868, 0.3359880745410919, 0.7143640518188477, -0.19800207018852234, 0.14993339776992798, 0.5107114315032959, 0.22819072008132935, 0.5996067523956299, 0.6411796808242798, 0.6277238726615906, -0.5669726133346558, 0.8421454429626465, 0.39614999294281006, -0.13448761403560638, -0.39607948064804077, -0.7255004644393921, -0.9203701615333557, -0.4044215977191925, -0.2848903238773346, -0.24721302092075348, 0.18869270384311676, 0.841052770614624, 0.5248203873634338, -0.620637059211731, -0.3720007538795471, -0.23556889593601227, -0.13957731425762177, 0.08293523639440536, -0.01816052943468094, 0.38676753640174866, -0.30222728848457336, -0.8501572608947754, 0.7127215266227722, 0.40321972966194153, -0.013773072510957718, -0.019562460482120514, -0.18119458854198456, 0.1865788698196411, 0.4263681471347809, 0.8371710777282715, -0.14111709594726562, -0.9952747225761414, -0.22143636643886566, 0.1327916979789734, -0.26477575302124023, 0.11631708592176437, 0.6689751744270325, -0.32103097438812256, 0.4044070243835449, 0.34808051586151123, 0.9727504253387451, 0.7728695273399353, -0.32469791173934937, 0.4374178946018219, -0.5395179986953735, 0.18051958084106445, 0.2146426886320114, 0.1671365201473236, 0.21263790130615234, -0.2045631855726242, -0.02580941654741764, -0.27020543813705444, -0.38433837890625, -1.001949667930603, 0.4902990460395813, -1.0342154502868652, -0.1683875471353531, 1.4333240985870361, -0.02304227091372013, 0.03307965770363808, 0.13955843448638916, -0.2593696713447571, 0.49955233931541443, -0.42702290415763855, 0.3782583177089691, 0.38348519802093506, 0.0778057649731636, -0.47276124358177185, -0.6132083535194397, 0.25750532746315, 0.3013457953929901, -0.6330491900444031, 0.4705616235733032, 0.18471716344356537, 0.4813401401042938, -0.302188903093338, 0.5726264119148254, 0.00030788761796429753, 0.17862474918365479, -0.13881228864192963, -0.18804994225502014, -0.3494482934474945, -0.11008738726377487, -0.3224160373210907, 0.10818025469779968, 0.05193976312875748, -0.13380959630012512 ]
http://arxiv.org/abs/2407.03160v1
http://arxiv.org/pdf/2407.03160v1
SOS! Soft Prompt Attack Against Open-Source Large Language Models
2024-07-03T14:35:16
2024-07-03T14:35:16
Ziqing Yang, Michael Backes, Yang Zhang, Ahmed Salem
cs.CR
cs.CR, cs.CL, cs.LG
Open-source large language models (LLMs) have become increasingly popular among both the general public and industry, as they can be customized, fine-tuned, and freely used. However, some open-source LLMs require approval before usage, which has led to third parties publishing their own easily accessible versions. Similarly, third parties have been publishing fine-tuned or quantized variants of these LLMs. These versions are particularly appealing to users because of their ease of access and reduced computational resource demands. This trend has increased the risk of training time attacks, compromising the integrity and security of LLMs. In this work, we present a new training time attack, SOS, which is designed to be low in computational demand and does not require clean data or modification of the model weights, thereby maintaining the model's utility intact. The attack addresses security issues in various scenarios, including the backdoor attack, jailbreak attack, and prompt stealing attack. Our experimental findings demonstrate that the proposed attack is effective across all evaluated targets. Furthermore, we present the other side of our SOS technique, namely the copyright token -- a novel technique that enables users to mark their copyrighted content and prevent models from using it.
[ -0.06288032233715057, -0.7022196054458618, 0.3211163878440857, 0.3505951166152954, -0.4433809220790863, -0.07100863009691238, -0.17981499433517456, -0.13538230955600739, 0.004835393745452166, 0.7233059406280518, -0.49324920773506165, -0.4426889419555664, -0.6076071858406067, 0.2549571394920349, -0.5405418872833252, 0.9742196798324585, 0.23926514387130737, 0.31238123774528503, 0.1149105578660965, -0.26289406418800354, -0.2545894980430603, -0.6203973889350891, -0.8056344985961914, 0.3491669297218323, 0.5720651149749756, 0.1784071922302246, 0.6099351644515991, 0.5178123712539673, 0.35285988450050354, 0.2725038528442383, -0.27963846921920776, -0.5727516412734985, -0.462654709815979, 0.405319482088089, -0.19494417309761047, -0.4116412401199341, -0.47104552388191223, -0.24343498051166534, 0.6561613082885742, 0.24812956154346466, -0.03785700723528862, 0.37933945655822754, -0.006544269621372223, 0.6254672408103943, -0.7972314357757568, -0.17721761763095856, -0.7324464917182922, 0.03599301725625992, -0.6503148674964905, 0.04365475848317146, -0.5467717051506042, -0.3906387984752655, -0.21446038782596588, -0.4509536623954773, -0.039674948900938034, -0.00898338109254837, 0.5253008008003235, 0.08180135488510132, 0.017368676140904427, -0.1814602017402649, -0.27418309450149536, 0.836480975151062, -0.8402690887451172, 0.24469350278377533, 0.07650516927242279, 0.43327096104621887, -0.3928389251232147, -0.6003971695899963, -0.6064265966415405, -0.30275964736938477, 0.315300852060318, -0.17292703688144684, -0.3976231515407562, -0.04159415513277054, 0.6195386648178101, 0.1458708792924881, -0.5303827524185181, 0.5337968468666077, -0.35099509358406067, -0.2430868148803711, 0.5226483345031738, 0.0694400817155838, 0.529406726360321, -0.258138507604599, -0.790005624294281, 0.2533127963542938, -1.2106809616088867, 0.044759247452020645, 0.4600047469139099, 0.6513374447822571, -0.2130862921476364, 0.7298852205276489, -0.03580041974782944, 0.5217665433883667, -0.19115298986434937, 0.058209266513586044, -0.02384086512029171, -0.06103866547346115, -0.16587987542152405, 0.08951786905527115, 1.1515027284622192, 0.031179098412394524, 0.2523852586746216, -0.08851264417171478, -0.39786696434020996, -0.18350201845169067, -0.21787148714065552, -0.863672137260437, 0.3975377380847931, 0.3091965913772583, -0.422661691904068, -0.4749084711074829, -0.015679029747843742, -0.8117796182632446, -0.6855258941650391, 0.1321466714143753, 0.2508600354194641, -0.3595274090766907, -0.21344690024852753, 0.021895382553339005, -0.07540247589349747, 0.10245826095342636, 0.1819498986005783, -0.8797577023506165, 0.06615463644266129, 0.7267439365386963, 0.9499310255050659, 0.06298454850912094, -0.2150179147720337, -1.007678747177124, 0.3416841924190521, -0.29362788796424866, 0.4429827332496643, -0.37592265009880066, -0.5928869843482971, -0.010868060402572155, -0.1481757014989853, 0.30562493205070496, -0.25684258341789246, 0.122597336769104, -0.9744666218757629, -0.04112083837389946, -0.2572273015975952, -0.3478868007659912, 0.43932288885116577, 0.31709766387939453, -0.9516083598136902, 0.8477437496185303, 0.0290322657674551, -0.8739412426948547, -0.00754450261592865, -0.5682160258293152, -0.4517277479171753, 0.20205315947532654, -0.4437168836593628, -0.2068929821252823, 0.20676672458648682, 0.003732680808752775, 0.4847903251647949, -0.21769005060195923, -0.006817950401455164, -0.45697200298309326, -0.2604057192802429, 0.5675370693206787, -0.3502028286457062, 1.050925850868225, 0.5738738179206848, -0.26561209559440613, 0.1673925518989563, -0.7550384402275085, -0.16724272072315216, 0.532167375087738, -0.33308953046798706, -0.4309951066970825, -0.15836764872074127, -0.14993490278720856, 0.1197807714343071, 0.5755850076675415, -0.6348153352737427, 0.4797497093677521, -0.4332346022129059, 0.6371213793754578, 1.0033974647521973, -0.09055086970329285, 0.414276659488678, 0.07522737979888916, 0.7108601331710815, -0.3074797987937927, 0.528985321521759, -0.3223114609718323, -0.3111336827278137, -0.14721812307834625, -0.6179642081260681, 0.4201301038265228, 0.457861065864563, -0.7029514908790588, 0.20758745074272156, -0.12402666360139847, -0.6012322306632996, -0.2759983539581299, 0.1940428912639618, 0.5400941967964172, 0.028154149651527405, 0.1948556751012802, -0.19330960512161255, -0.3465425670146942, -0.38611194491386414, -0.6670961380004883, 0.003926260396838188, -0.36429083347320557, 0.20283420383930206, 0.346924364566803, -0.022201834246516228, 0.9860849380493164, -0.44893181324005127, -0.3651272654533386, -0.3726367652416229, -0.062278423458337784, 0.11519598215818405, 0.525743305683136, 0.6974521279335022, -0.467923104763031, -0.47153857350349426, -0.4478732645511627, -0.6752323508262634, -0.2652071714401245, 0.0441393181681633, 0.25375863909721375, 0.36255785822868347, 0.9387208819389343, -0.6491255760192871, 0.35062187910079956, 0.4615822732448578, -0.47120386362075806, 0.7801310420036316, -0.04160735383629799, -0.16657483577728271, -0.9286292791366577, 0.014504236169159412, -0.23077304661273956, -0.025837372988462448, -0.46475496888160706, 0.4142422676086426, -0.05250705033540726, -0.5772715210914612, -1.0485785007476807, 0.7517064809799194, -0.1628098487854004, -0.00914721842855215, 0.13902191817760468, 0.1988823115825653, -0.10077112913131714, 0.1262875646352768, -0.294792503118515, 0.7711190581321716, 0.6622259020805359, -0.3322424292564392, 0.18513567745685577, 0.08908738940954208, -0.2625190019607544, 0.6000886559486389, -0.8047549724578857, 0.523514449596405, 0.03783362731337547, 0.2342730015516281, -0.7043147087097168, 0.07731921225786209, 0.38837534189224243, -0.5319600105285645, 0.4293102025985718, -0.3088315725326538, -0.676313579082489, 0.026727555319666862, -0.5008213520050049, 0.1309799700975418, 0.28848519921302795, -0.41479459404945374, 0.6238828301429749, 0.1816374659538269, -0.43454092741012573, -0.7663883566856384, -0.6940796375274658, 0.3259339928627014, -0.1163647398352623, -0.5778934955596924, 0.09141630679368973, -0.1556074172258377, -0.2892332971096039, -0.10044553875923157, -0.11429033428430557, 0.07040183991193771, 0.5355760455131531, 0.10646441578865051, 0.34919020533561707, -0.23390282690525055, -0.29123958945274353, -0.18921935558319092, -0.30624204874038696, 0.0412047915160656, -0.4709473252296448, 0.5550631284713745, -0.06678401678800583, -0.5027791261672974, -0.5687677264213562, 0.5649784207344055, 0.8946822881698608, -0.2863942086696625, 0.7958470582962036, 0.2880636751651764, -0.3481454849243164, -0.2003544569015503, -0.3966294527053833, -0.27388715744018555, -0.5310049057006836, 0.3804606795310974, -0.26462599635124207, -1.0937973260879517, 0.275433212518692, -0.03643275797367096, 0.3227798044681549, 0.1892586499452591, 0.3710362911224365, -0.11868499964475632, 1.1469248533248901, 0.3450305461883545, -0.24880218505859375, 0.7253247499465942, -0.2027062624692917, 0.12446866929531097, -0.3916308879852295, -0.3427615463733673, -0.9159043431282043, -0.14149083197116852, -0.2876300513744354, -0.05798555165529251, 0.1349087804555893, 0.18829751014709473, -0.4079577922821045, 0.2727438509464264, -0.21708941459655762, 0.6426488161087036, 0.5630893111228943, -0.1735408902168274, 0.25805819034576416, 0.011288351379334927, -0.06427963823080063, -0.01869964599609375, -0.6718982458114624, -0.6167120933532715, 1.1486921310424805, 0.41459786891937256, 0.9970348477363586, 0.15871109068393707, 0.7570833563804626, 0.504753828048706, -0.02088947221636772, -0.4615701138973236, 0.9302902817726135, -0.3340969681739807, -0.6176332831382751, -0.43723544478416443, -0.4482812285423279, -0.9415793418884277, -0.09134513884782791, -0.10223700106143951, -0.7111120820045471, -0.18099793791770935, 0.08478499948978424, -0.6412244439125061, 0.4895978271961212, -0.5722765326499939, 0.8588557243347168, -0.35896849632263184, -0.2651410400867462, -0.1912122517824173, -0.7003924250602722, 0.10081546008586884, -0.1686076670885086, 0.6146994829177856, -0.1573020964860916, -0.025203149765729904, 0.8972523808479309, -0.73213130235672, 0.9609938263893127, -0.445981502532959, -0.015384341590106487, 0.3517845571041107, 0.4533824622631073, 0.7314226627349854, 0.06132033094763756, -0.010491007938981056, 0.5503944158554077, -0.0069888439029455185, -0.5316813588142395, -0.5546888709068298, 0.580036997795105, -0.6093997955322266, -0.7119910717010498, -0.4869903326034546, -0.06632299721240997, 0.12538844347000122, 0.34276509284973145, 0.3201049864292145, 0.4684884250164032, -0.01460035890340805, 0.20417147874832153, 0.5669707655906677, -0.26956942677497864, 0.40630975365638733, 0.6879041194915771, -0.13812927901744843, -0.49377351999282837, 1.1195974349975586, 0.11170019209384918, 0.5491930246353149, -0.0003321202821098268, 0.47214093804359436, -0.14763501286506653, -0.7240185737609863, -0.47477883100509644, 0.28128954768180847, -0.6310042142868042, -0.34264862537384033, -0.4341880977153778, -0.22784578800201416, -0.6986211538314819, -0.27064669132232666, -0.4498944580554962, -0.5966765284538269, -0.480741024017334, 0.1482415646314621, 0.35189083218574524, 0.7809476852416992, 0.21787132322788239, 0.49327796697616577, -1.1396958827972412, 0.13461188971996307, 0.37551149725914, 0.41507625579833984, -0.17691300809383392, -0.4963438808917999, -0.18247871100902557, -0.2981868088245392, -0.33590325713157654, -0.9626439809799194, 0.07076626271009445, -0.10817334800958633, 0.40683192014694214, 0.5918947458267212, 0.25096166133880615, 0.043105144053697586, -0.5891059637069702, 1.0975134372711182, 0.5257118940353394, -1.162862777709961, 0.5241165161132812, -0.20434634387493134, 0.15314064919948578, 0.5300513505935669, 0.29262250661849976, -0.3653261959552765, -0.506248950958252, -0.6713935732841492, -0.8013118505477905, 0.7576302289962769, 0.04595310986042023, 0.31882691383361816, 0.018906116485595703, 0.1842171549797058, 0.12450718879699707, 0.40588364005088806, -0.6544851064682007, -0.16293199360370636, -0.24278783798217773, -0.23902465403079987, 0.4256571829319, -0.47039830684661865, 0.0027443093713372946, 0.34444302320480347, 0.6905074119567871, 0.04672161862254143, -0.20050595700740814, -0.1219562441110611, -0.049718569964170456, 0.034488603472709656, 0.6438950896263123, 0.32610514760017395, 0.12975706160068512, 0.1625097543001175, 0.15690672397613525, 0.2777162194252014, -0.5795015096664429, 0.10640113055706024, 0.020196301862597466, -0.40061092376708984, -0.04272424802184105, 0.12070949375629425, 0.5365332365036011, 0.3541066646575928, -0.8869714140892029, 0.9726462960243225, -0.11127804219722748, 0.06415492296218872, -0.18100082874298096, 0.07833388447761536, -0.06549620628356934, 0.5055103302001953, 0.201398566365242, 0.11395859718322754, -0.23373886942863464, -0.25896161794662476, -0.161488875746727, 0.5990108251571655, -0.47043246030807495, -0.5036460757255554, 0.5564890503883362, 0.17772258818149567, -0.5730853080749512, 0.39228883385658264, -0.15621547400951385, -0.6795279383659363, 0.4130110740661621, 0.6250678300857544, 0.8185172080993652, -0.5501565337181091, -0.17456473410129547, -0.05746889486908913, 0.4062429666519165, -0.10174636542797089, 0.5710744857788086, 0.0071161286905407906, -0.3185701370239258, -0.2335750162601471, -0.5666893720626831, -0.47408345341682434, 0.4013752043247223, -0.4828468859195709, 0.7383666634559631, -1.0560048818588257, -0.22037985920906067, -0.396919310092926, -0.3598734438419342, -0.27411386370658875, 0.053311385214328766, 0.3042524755001068, 1.2242687940597534, -0.690116286277771, 0.5969299077987671, 0.2984766364097595, -0.23434410989284515, -0.6296215057373047, -0.18339413404464722, 0.1459907591342926, -0.6475459933280945, 0.7263117432594299, 0.09197339415550232, -0.07036454975605011, 0.16807787120342255, -0.8377933502197266, -0.8519418239593506, 0.7332166433334351, 0.8398303985595703, -0.68871009349823, -0.17210069298744202, 0.13552969694137573, 0.0017729818355292082, 0.0869697779417038, -0.17508715391159058, 0.518358051776886, 0.3187209665775299, 0.04916776344180107, -0.48180121183395386, 0.24486495554447174, -0.09458316117525101, -0.31706666946411133, 0.09084086865186691, -0.632740318775177, 0.8239283561706543, -0.2797583043575287, -0.4660632610321045, 0.10530299693346024, 0.7070410847663879, 0.7017145156860352, 0.2640112042427063, 0.837938666343689, 0.3364138901233673, 0.5687339901924133, 0.06093895062804222, 0.7885294556617737, -0.28663456439971924, 0.03714624047279358, 1.0013619661331177, -0.4398460388183594, 0.9672531485557556, 0.6436784267425537, -0.2097664624452591, 0.3450539708137512, 0.27147191762924194, -0.13949954509735107, 0.4753427803516388, 0.45342516899108887, -0.2767549753189087, -0.0032048106659203768, -0.09403319656848907, -0.6793306469917297, 0.15915867686271667, 0.33286914229393005, -0.13897158205509186, -0.07358615845441818, 0.17611360549926758, 0.49075356125831604, -0.006324195768684149, -0.34656545519828796, 0.6915842890739441, 0.38454389572143555, -0.25038012862205505, 0.3736826479434967, 0.11647772043943405, 0.5911040902137756, -1.0427334308624268, 0.39204251766204834, 0.03165511041879654, -0.029155008494853973, -0.24946165084838867, -0.45706117153167725, 0.020127050578594208, 0.46105802059173584, 0.08125458657741547, -0.1744132786989212, 0.6034319400787354, -0.12177900969982147, -0.14110645651817322, 0.23699696362018585, 0.05106547102332115, 0.04261958226561546, -0.19025656580924988, -0.7060614824295044, 0.47112295031547546, -0.2595229744911194, -0.5959175229072571, 0.5529530048370361, 0.24141329526901245, -0.18676041066646576, 0.5857344269752502, 0.8481733798980713, 0.4564145505428314, 0.10013002902269363, 0.2656194269657135, 0.9009761810302734, -0.6025761961936951, -0.9380784034729004, -1.2166134119033813, 0.2650558352470398, -0.07386593520641327, -0.04057200625538826, 0.9810794591903687, 0.5097565054893494, 0.7148013114929199, -0.008921978995203972, 1.0130730867385864, 0.2023703157901764, 0.29362329840660095, -0.8013774752616882, 0.9343689680099487, -0.5087059140205383, 0.6036837697029114, -0.40268173813819885, -0.5169613361358643, -0.42398256063461304, 0.007254583295434713, -0.28422611951828003, -0.08437419682741165, 0.6114292144775391, 0.7144652009010315, 0.33744969964027405, 0.30557239055633545, 0.07042849063873291, 0.2634454667568207, 0.616364598274231, 0.17885276675224304, 1.1646945476531982, 0.03157608583569527, 0.7625632286071777, 0.1872837245464325, -0.45633137226104736, -0.3736300766468048, -1.0839910507202148, -1.0738904476165771, -0.12533175945281982, -0.22313420474529266, -0.6836296916007996, 0.0269910991191864, 1.1076918840408325, 0.43289700150489807, -0.9276549220085144, -0.15582461655139923, 0.09799224883317947, -0.08406687527894974, -0.0792967677116394, -0.12523706257343292, 0.47035765647888184, -0.3296980559825897, -0.4123423099517822, 0.6377469301223755, 0.30704614520072937, 0.22075830399990082, -0.5291664600372314, 0.03242188319563866, 0.05616376921534538, 0.2873896062374115, 0.18541209399700165, 0.4702841341495514, -0.6043366193771362, -0.04498961567878723, 0.32410451769828796, -0.4039575457572937, -0.2586525082588196, 1.0588223934173584, -0.4993308484554291, 0.3076528012752533, 0.585457980632782, 0.6641954779624939, 0.08631539344787598, -0.4124413728713989, 0.3427015542984009, -0.8933519124984741, 0.24644628167152405, 0.2916494905948639, 0.4790511727333069, 0.43775704503059387, -0.4040919840335846, 0.03255614638328552, 0.605638861656189, -0.21767306327819824, -1.1887491941452026, 0.28602156043052673, -0.6453028917312622, -0.5397242307662964, 1.0681204795837402, -0.3936750590801239, -0.5570979714393616, -0.16259188950061798, -0.2452383041381836, 0.17724783718585968, -0.48479151725769043, 0.6263646483421326, 0.2839307188987732, 0.5808346271514893, 0.5668940544128418, -0.43867385387420654, 0.3201276957988739, 0.3998929262161255, -0.5720729827880859, 0.2428463250398636, 0.1361086070537567, 0.3446941375732422, 0.07422105222940445, 0.5659207105636597, -0.4067740738391876, 0.2902498245239258, -0.19933071732521057, -0.01041129045188427, -0.48811936378479004, -0.44027286767959595, -0.732335090637207, 0.443671852350235, 0.11069875210523605, -0.20583704113960266 ]
http://arxiv.org/abs/2407.03157v1
http://arxiv.org/pdf/2407.03157v1
Let the Code LLM Edit Itself When You Edit the Code
2024-07-03T14:34:03
2024-07-03T14:34:03
Zhenyu He, Jun Zhang, Shengjie Luo, Jingjing Xu, Zhi Zhang, Di He
cs.CL
cs.CL, cs.AI, cs.LG, cs.SE
In this work, we investigate a typical scenario in code generation where a developer edits existing code in real time and requests a code assistant, e.g., a large language model, to re-predict the next token or next line on the fly. Naively, the LLM needs to re-encode the entire KV cache to provide an accurate prediction. However, this process is computationally expensive, especially when the sequence length is long. Simply encoding the edited subsequence and integrating it to the original KV cache meets the temporal confusion problem, leading to significantly worse performance. We address this efficiency and accuracy trade-off by introducing \underline{\textbf{Positional \textbf{I}ntegrity \textbf{E}ncoding} (PIE). Building upon the rotary positional encoding, PIE first removes the rotary matrices in the Key cache that introduce temporal confusion and then reapplies the correct rotary matrices. This process ensures that positional relationships between tokens are correct and requires only a single round of matrix multiplication. We validate the effectiveness of PIE through extensive experiments on the RepoBench-C-8k dataset, utilizing DeepSeek-Coder models with 1.3B, 6.7B, and 33B parameters. Our evaluation includes three real-world coding tasks: code insertion, code deletion, and multi-place code editing. Results demonstrate that PIE reduces computational overhead by over 85% compared to the standard full recomputation approach across all model sizes and tasks while well approximating the model performance.
[ -0.11367622017860413, -0.5884666442871094, 0.4037027359008789, 0.4770444929599762, -0.4604807198047638, 0.2949928045272827, -0.18517984449863434, -0.5850117206573486, 0.2763015031814575, 0.5742638111114502, -0.5134972333908081, -0.4391111135482788, -0.29788538813591003, -0.005573131609708071, -0.42540863156318665, 0.4208624064922333, -0.1944400817155838, -0.00999631267040968, -0.15179072320461273, 0.15201205015182495, -0.6692349910736084, -0.6272518634796143, -0.2826242744922638, -0.00639392901211977, 0.24482765793800354, 0.6219228506088257, 0.697733998298645, 0.8747900128364563, 0.4854627549648285, 0.30258265137672424, -0.007943597622215748, 0.27634263038635254, -0.4013991355895996, 0.3344464600086212, -0.02713804505765438, -0.7062094211578369, -0.7034051418304443, -0.24618250131607056, 0.4056435227394104, 0.23884643614292145, -0.13472819328308105, 0.08087035268545151, -0.31523945927619934, 0.9396990537643433, -0.856340229511261, 0.10231826454401016, -0.7665338516235352, 0.23680076003074646, -0.17339099943637848, -0.27125638723373413, -0.7104189991950989, -0.3657582700252533, -0.4819425642490387, -0.553794801235199, 0.21557173132896423, -0.24713388085365295, 0.5001075863838196, 0.5844634175300598, 0.1131855770945549, -0.2580036222934723, -0.8660832643508911, 0.46698421239852905, -0.6682453751564026, 0.6242658495903015, 0.2812831699848175, 0.1336764097213745, -0.22454938292503357, -0.7452057003974915, -0.6523457169532776, -0.1416957825422287, 0.12810489535331726, 0.23353244364261627, -0.25613436102867126, 0.13443133234977722, 0.2752726972103119, 0.22168630361557007, -0.2848847210407257, 0.32700932025909424, -0.486488938331604, -0.19540581107139587, 0.5353401899337769, 0.3396987020969391, 0.2194209098815918, -0.17727793753147125, -0.019787855446338654, -0.020433194935321808, -0.9505329728126526, 0.04027256742119789, 0.3064975142478943, 0.006785323843359947, -0.015780702233314514, 0.8459886908531189, -0.15667089819908142, 0.5464403629302979, 0.6164491176605225, 0.12035743147134781, 0.10586067289113998, -0.39044928550720215, -0.5446938276290894, 0.2967456579208374, 0.42976948618888855, 0.40619972348213196, 0.1891220211982727, -0.17547571659088135, -0.07921791821718216, 0.15680474042892456, 0.7506301403045654, -0.6888328194618225, -0.4872179329395294, 0.3316269516944885, -0.15218360722064972, -0.2759566903114319, 0.024554936215281487, -0.5498360395431519, -0.2149529606103897, -0.4866034984588623, -0.0750337541103363, -0.2808857262134552, 0.13545912504196167, 0.240340918302536, 0.2679276764392853, 0.10054457187652588, 0.3866058886051178, -0.6076282262802124, -0.17059727013111115, 0.6975837349891663, 0.599686861038208, 0.12593360245227814, -0.29731273651123047, -0.6150721907615662, 0.12451138347387314, -0.628197431564331, 0.4754621088504791, -0.6501655578613281, -0.6105406880378723, -0.3812117278575897, -0.08200879395008087, 0.06644368916749954, -0.445691853761673, 0.06570060551166534, -0.9363145232200623, -0.18233706057071686, -0.23536568880081177, -0.4205787777900696, 0.22600142657756805, -0.12885607779026031, -0.7266682982444763, 1.00531804561615, 0.12415337562561035, -0.5970341563224792, 0.5971407890319824, -0.4117110073566437, -0.3573448956012726, -0.39064106345176697, -0.1165921613574028, -0.667007327079773, 0.3917456567287445, 0.6041582822799683, 0.31389838457107544, 0.052681077271699905, 0.2003779262304306, -0.19247747957706451, -0.5788338780403137, 0.3138308525085449, -0.2752019762992859, 0.5204648971557617, 0.3438619077205658, -0.2812667489051819, 0.027473822236061096, -0.5530970692634583, -0.025019317865371704, -0.22184902429580688, -0.6691427826881409, 0.0617235004901886, -0.19827473163604736, -0.35848450660705566, 0.36138081550598145, 0.12856434285640717, -0.610473096370697, 0.7052865028381348, -0.5213675498962402, 0.2925049364566803, 0.9580193758010864, 0.04252903163433075, 0.6646725535392761, -0.11368661373853683, 0.8804494738578796, 0.15446297824382782, 0.3383949398994446, -0.25568389892578125, -0.26322686672210693, -0.9620285630226135, -0.22418181598186493, 0.5273333191871643, 0.5603143572807312, -0.8205515146255493, 0.16205193102359772, -0.41748571395874023, -0.5175555944442749, -0.7818707227706909, 0.305778831243515, 0.5996807813644409, 0.19586984813213348, 0.4420742392539978, -0.39873915910720825, -0.8559410572052002, -0.6224433183670044, -0.22811412811279297, -0.15030312538146973, 0.1830325573682785, 0.12069988995790482, 0.14371679723262787, -0.2672078013420105, 1.0268853902816772, -0.3206559717655182, 0.2724705934524536, -0.11444392055273056, 0.06633607298135757, 0.153080016374588, 0.7202601432800293, 0.14313052594661713, -0.4014531970024109, -0.5439881086349487, -0.010033546946942806, -0.6361691355705261, -0.2661992013454437, -0.4751782715320587, -0.25101619958877563, 0.6260056495666504, 0.8112278580665588, -0.69868403673172, 0.8519290685653687, 0.3774709701538086, 0.02474251575767994, 0.6941668391227722, -0.48930999636650085, 0.2688125967979431, -0.7566813826560974, -0.02737542800605297, -0.6020030379295349, -0.2107943743467331, -0.3103882074356079, 0.28610163927078247, 0.48357391357421875, 0.029178449884057045, -0.6310880780220032, 0.2825549840927124, -0.6952133178710938, -0.32662203907966614, -0.17043739557266235, -0.11299446225166321, 0.027023591101169586, 0.5768055319786072, -0.1563158929347992, 1.0827220678329468, 0.07893039286136627, -0.602158784866333, 0.17353574931621552, -0.0017691674875095487, -0.43212294578552246, 0.22750809788703918, -0.510065495967865, 0.4532022774219513, -0.2163408100605011, 0.288517028093338, -0.688554048538208, 0.03833550214767456, 0.11109551787376404, -0.5711520314216614, 0.5398052930831909, -0.41678041219711304, -0.5417008399963379, -0.277732789516449, -0.1521037220954895, 0.5379871726036072, 0.3576509654521942, -0.5813412070274353, 0.5220237970352173, 0.1945890337228775, 0.05538816750049591, -0.9276250600814819, -0.8146792054176331, 0.24257290363311768, 0.030510907992720604, -0.6004955768585205, 0.40031903982162476, 0.07477354258298874, -0.16001485288143158, -0.038804832845926285, -0.4237205386161804, 0.0317167229950428, 0.041440218687057495, 0.4002302587032318, 0.2090621143579483, -0.1227046474814415, 0.20029619336128235, 0.27647584676742554, -0.5484716296195984, -0.2199450433254242, -0.19245076179504395, 0.48985064029693604, 0.21940787136554718, -0.6753643155097961, -0.5348348021507263, 0.11404822766780853, 0.823564350605011, -0.2605271339416504, 0.39902007579803467, 0.3477480709552765, -0.14425387978553772, -0.031734928488731384, -0.6590678095817566, 0.15305006504058838, -0.4791220426559448, 0.3947819769382477, -0.5160751342773438, -0.7402440309524536, 0.4924231469631195, 0.13221599161624908, 0.12806691229343414, 0.2921164631843567, 0.5025052428245544, -0.24133756756782532, 0.6860333681106567, 0.7285218834877014, -0.28494054079055786, 0.5151579976081848, -0.35763511061668396, 0.34694090485572815, -0.8440714478492737, -0.22221916913986206, -0.4417352080345154, -0.37074726819992065, -0.5688753128051758, -1.006500482559204, 0.15991802513599396, 0.5138825178146362, -0.2377246469259262, 0.5931833982467651, -0.5372946262359619, 0.7294076681137085, 0.3877895772457123, 0.17031922936439514, 0.28506624698638916, -0.1710466891527176, -0.2659773826599121, -0.273073673248291, -0.8600367903709412, -0.23844119906425476, 1.091948390007019, 0.10530851781368256, 1.08909273147583, 0.04630367085337639, 0.7483605146408081, 0.3892858028411865, 0.27960339188575745, -0.37239211797714233, 0.41751131415367126, -0.12081919610500336, -0.3192109763622284, -0.08449723571538925, -0.2039276659488678, -0.7626397609710693, -0.0019053382566198707, 0.04725164920091629, -0.5291834473609924, 0.5224688649177551, 0.5528791546821594, -0.4458976686000824, 0.4799755811691284, -0.8132752180099487, 0.6247056126594543, -0.13110344111919403, -0.39407533407211304, -0.3530236780643463, -0.46370580792427063, 0.17462585866451263, -0.22045385837554932, -0.005771202500909567, 0.2409093976020813, -0.018654637038707733, 0.31958895921707153, -0.755753755569458, 0.9982427358627319, -0.13106781244277954, 0.0758325457572937, 0.3565509021282196, 0.6014711260795593, 0.8908236622810364, 0.1945730745792389, -0.19466815888881683, 0.08006961643695831, -0.3374726474285126, -0.4059731364250183, -0.6919180154800415, 0.7804358005523682, -0.7058221697807312, -0.5662160515785217, -0.11953070759773254, -0.2338649183511734, 0.03808539733290672, -0.016099194064736366, 0.3312768340110779, 0.46282029151916504, 0.02228458598256111, 0.18489542603492737, 0.38373810052871704, -0.46057918667793274, 0.5517309308052063, 0.3083382248878479, -0.17196796834468842, -0.20584657788276672, 0.574591875076294, 0.017346054315567017, 0.4219188392162323, 0.6997804045677185, -0.13313202559947968, -0.1906353235244751, -0.46096768975257874, -0.6230248212814331, 0.12295252084732056, -0.8190715909004211, -0.3360169231891632, -0.7987082004547119, -0.06718085706233978, -0.2644045352935791, -0.7731314301490784, -0.8418647050857544, -0.6752438545227051, -0.21504753828048706, -0.30373141169548035, 0.3636334240436554, 0.6387503147125244, -0.27549517154693604, 0.4028553366661072, -0.9160504937171936, 0.14781416952610016, 0.13998600840568542, 0.317558616399765, 0.06087726354598999, -0.3578946590423584, -0.5531492829322815, 0.10462822765111923, -0.1660711020231247, -0.6780744791030884, 0.38753896951675415, -0.09889595955610275, 0.3806725740432739, -0.11662662774324417, -0.09282400459051132, 1.28365957736969, -0.4738166034221649, 0.7698473334312439, 0.08486288785934448, -1.2634923458099365, 0.4439893960952759, 0.0699332058429718, 0.6059565544128418, 0.5618037581443787, -0.19715890288352966, -0.6590138077735901, -0.5005456209182739, -0.45084208250045776, -0.9077702760696411, 0.6543386578559875, 0.2157755345106125, -0.044487278908491135, -0.06669094413518906, 0.5721583962440491, -0.030572760850191116, 0.17001475393772125, -0.48762449622154236, -0.09453333914279938, -0.24953593313694, 0.02038080058991909, 0.12961238622665405, -0.4686039984226227, 0.4538567066192627, -0.20697353780269623, 0.47051411867141724, 0.05828395113348961, 0.6837947964668274, 0.39298495650291443, -0.5758066773414612, -0.38520270586013794, 0.24757114052772522, 0.742163896560669, 1.032928466796875, 0.011235863901674747, 0.017945418134331703, 0.3201303482055664, -0.518913745880127, 0.06792785227298737, -0.4462262988090515, 0.11508765816688538, -0.02629469707608223, 0.561954140663147, 0.4256696403026581, 0.49492374062538147, -0.5456026196479797, 0.24856825172901154, 0.08799805492162704, 0.2033861130475998, -0.2503143846988678, 0.08305837213993073, 0.1591591238975525, 0.2740478515625, -0.01878601685166359, 0.22458495199680328, -0.24632292985916138, -0.20812112092971802, 0.4069743752479553, -0.0015984075143933296, -0.24224862456321716, -0.30909183621406555, 0.6603303551673889, 0.10064473748207092, -0.4585821330547333, 0.9822103381156921, -0.09396820515394211, -0.5688885450363159, 0.8284382224082947, 0.24051538109779358, 1.064036250114441, -0.24253885447978973, -0.09918925911188126, 0.5007340312004089, 0.4595632255077362, 0.31685489416122437, 0.22083769738674164, -0.12743178009986877, -0.6006746292114258, -0.8466760516166687, -0.47742050886154175, -0.15518637001514435, -0.34955406188964844, -0.48838281631469727, 0.31278496980667114, -0.6529141068458557, -0.02648383192718029, -0.16043323278427124, -0.2678307890892029, -0.8569298982620239, 0.013557584024965763, -0.1909717172384262, 0.9028262495994568, -0.39812418818473816, 1.1618624925613403, 0.32596078515052795, -0.2471204698085785, -0.6024507880210876, -0.2289687842130661, 0.02110491506755352, -1.0370595455169678, 0.6994224786758423, -0.023020386695861816, -0.23517140746116638, -0.3467470407485962, -0.485365092754364, -0.78391432762146, 1.021892786026001, 0.2306525707244873, -0.9614913463592529, -0.12115371227264404, -0.030785977840423584, 0.4610927999019623, -0.30163130164146423, 0.00897237379103899, 0.4393301010131836, 0.2664574980735779, 0.046048879623413086, -0.9388057589530945, -0.09823772311210632, -0.25327441096305847, 0.07639464735984802, 0.549307644367218, -0.43106576800346375, 0.793603777885437, -0.5086951851844788, -0.22629380226135254, 0.06939633935689926, 0.4945969581604004, 0.0992298349738121, -0.07412567734718323, 0.27477219700813293, 0.5817586779594421, 0.5878521203994751, 0.1411380171775818, 1.0735993385314941, -0.5957919359207153, 0.18946677446365356, 1.4368666410446167, 0.0650390163064003, 0.6499679088592529, 0.6040229797363281, -0.2504331171512604, 0.3384750187397003, 0.6091006994247437, 0.25723931193351746, 0.4208109974861145, 0.17470037937164307, 0.07095492631196976, -0.3891262114048004, 0.576667308807373, -0.5240226984024048, 0.5413526296615601, 0.25844836235046387, -0.39238661527633667, 0.02517627738416195, -0.37566033005714417, 0.1703316569328308, -0.047916311770677567, -0.05837860330939293, 0.5273643136024475, 0.012848232872784138, -0.5774747133255005, 0.4360102713108063, 0.24531036615371704, 0.5061991214752197, -0.2656998932361603, -0.10121332854032516, -0.4302457869052887, 0.19361232221126556, -0.12175945937633514, -0.6217830777168274, 0.6548634767532349, -0.011974554508924484, -0.2623687982559204, -0.17409013211727142, 0.4911448359489441, -0.21385657787322998, -0.619686484336853, 0.05642220005393028, 0.28646886348724365, -0.05142834782600403, 0.08063974976539612, -0.6926499009132385, 0.34141913056373596, 0.2491961568593979, -0.04235489293932915, 0.14040344953536987, 0.37664297223091125, -0.03171767666935921, 0.7906580567359924, 0.8467450737953186, 0.03982379287481308, 0.33539626002311707, -0.05445947125554085, 0.9601982235908508, -0.8657994270324707, -0.8147075772285461, -0.8546798229217529, 0.597164511680603, 0.1696130931377411, -0.28954729437828064, 0.6752251386642456, 0.5464481115341187, 0.9374822974205017, -0.10015332698822021, 0.4254285395145416, 0.11430567502975464, -0.01412863377481699, -0.8836559653282166, 0.3908374607563019, -0.26426124572753906, 0.6631876230239868, -0.5591279864311218, -0.8243688941001892, -0.3577392101287842, 0.5665984749794006, -0.4421233534812927, -0.036367107182741165, 0.5079869031906128, 0.9893399477005005, -0.028933826833963394, -0.005989473778754473, 0.2135552018880844, 0.3067796230316162, 0.4480530917644501, 0.6874659657478333, 0.7451308369636536, -0.2729562222957611, 0.27902448177337646, -0.5410575866699219, 0.16795705258846283, -0.40210309624671936, -0.9169843196868896, -0.4264477491378784, -0.27747517824172974, -0.2786121368408203, -0.3475761115550995, 0.24736636877059937, 0.9688283801078796, 0.7276573181152344, -0.564276933670044, -0.14184969663619995, -0.12544430792331696, 0.25029563903808594, -0.3170212507247925, -0.1851886510848999, 0.3766973614692688, -0.1693572700023651, -0.4997507929801941, 0.41909483075141907, 0.487907737493515, -0.12259365618228912, -0.19407685101032257, -0.18325890600681305, 0.03731141239404678, -0.01724577695131302, 0.5582429766654968, 0.28340330719947815, -0.8207370638847351, -0.29231852293014526, 0.22680138051509857, -0.06237950921058655, 0.34157681465148926, 1.1584715843200684, -0.7472477555274963, 1.0881239175796509, 0.3853435516357422, 0.7949446439743042, 0.7341289520263672, 0.08519342541694641, 0.7084326148033142, -0.7010770440101624, 0.13760854303836823, 0.14953601360321045, 0.2867404818534851, 0.16500195860862732, -0.8292067646980286, 0.458114355802536, 0.06528854370117188, -0.5361435413360596, -0.606316089630127, 0.23996831476688385, -0.8667058944702148, -0.2802644670009613, 0.7249356508255005, -0.06952584534883499, -0.27357256412506104, -0.23460084199905396, -0.15256530046463013, 0.21282733976840973, -0.4579874873161316, 0.8506781458854675, 0.483997106552124, -0.2803087532520294, -0.24474988877773285, -0.2547472417354584, 0.4087197184562683, 0.2551712095737457, -0.39654025435447693, 0.2207520604133606, 0.5164419412612915, 0.19052010774612427, -0.013059399090707302, 0.7610156536102295, -0.28891298174858093, 0.725813090801239, 0.10752048343420029, 0.4152681231498718, -0.4464740753173828, -0.5065195560455322, -0.42125359177589417, -0.06732632219791412, 0.04709254205226898, -0.2273685485124588 ]
http://arxiv.org/abs/2407.03145v1
http://arxiv.org/pdf/2407.03145v1
Enhancing Translation Accuracy of Large Language Models through Continual Pre-Training on Parallel Data
2024-07-03T14:23:36
2024-07-03T14:23:36
Minato Kondo, Takehito Utsuro, Masaaki Nagata
cs.CL
cs.CL
In this paper, we propose a two-phase training approach where pre-trained large language models are continually pre-trained on parallel data and then supervised fine-tuned with a small amount of high-quality parallel data. To investigate the effectiveness of our proposed approach, we conducted continual pre-training with a 3.8B-parameter model and parallel data across eight different formats. We evaluate these methods on thirteen test sets for Japanese-to-English and English-to-Japanese translation. The results demonstrate that when utilizing parallel data in continual pre-training, it is essential to alternate between source and target sentences. Additionally, we demonstrated that the translation accuracy improves only for translation directions where the order of source and target sentences aligns between continual pre-training data and inference. In addition, we demonstrate that the LLM-based translation model is more robust in translating spoken language and achieves higher accuracy with less training data compared to supervised encoder-decoder models. We also show that the highest accuracy is achieved when the data for continual pre-training consists of interleaved source and target sentences and when tags are added to the source sentences.
[ -0.15800657868385315, -0.6991794109344482, 0.7857961058616638, 0.5170477628707886, -0.5448798537254333, -0.03775070980191231, -0.5719203948974609, -0.21796107292175293, -0.05449583753943443, 0.536429226398468, -0.3548178970813751, -0.5159032940864563, -0.8784531950950623, 0.3217945396900177, -0.4505264163017273, 0.6898590922355652, -0.5501285195350647, 0.5693719387054443, -0.2687458395957947, -0.06742570549249649, -0.5449116826057434, -0.49258843064308167, -0.6372824907302856, -0.28277137875556946, 0.5428922176361084, 0.4922849237918854, 0.6861172318458557, 0.7962384223937988, 0.47752809524536133, 0.1891942322254181, 0.33154353499412537, 0.22388248145580292, -0.6541033983230591, 0.007730328012257814, -0.05979108437895775, -0.7189844846725464, -0.394076943397522, 0.06873886287212372, 1.0655360221862793, 0.8012928366661072, -0.0001326057390542701, 0.14121845364570618, 0.43897494673728943, 0.5006208419799805, -0.30257073044776917, 0.5155175924301147, -0.49247851967811584, -0.170678973197937, -0.6209059357643127, -0.1884365975856781, -0.5346855521202087, -0.32293105125427246, -0.27943167090415955, -0.7108607292175293, 0.07305896282196045, 0.20721882581710815, 0.867618203163147, 0.3611655831336975, -0.32828211784362793, -0.033226966857910156, -0.8226471543312073, 0.7762267589569092, -0.9195806384086609, 0.6036834120750427, 0.48629030585289, 0.062195178121328354, -0.2466403841972351, -0.6659830808639526, -0.6041771173477173, -0.3126794397830963, -0.04535999894142151, 0.22320035099983215, 0.33152124285697937, 0.0005133745726197958, 0.26510104537010193, 0.0822376012802124, -0.6581224203109741, 0.3241922855377197, -0.07253577560186386, 0.09539912641048431, 0.5556178092956543, 0.21039508283138275, 0.3030165433883667, 0.2442677915096283, -0.1506035476922989, -0.20584410429000854, -0.9512707591056824, -0.10930047184228897, 0.27731621265411377, 0.36493104696273804, -0.14759494364261627, 0.5257375836372375, -0.24367403984069824, 0.6987583637237549, 0.07442024350166321, -0.29149138927459717, 0.35936060547828674, -0.7649434804916382, 0.1682053655385971, -0.16416701674461365, 0.927317202091217, 0.20384778082370758, 0.5422642827033997, -0.34135758876800537, -0.1839292049407959, -0.051601096987724304, 0.17149537801742554, -0.7246832251548767, 0.012513763271272182, 0.06769726425409317, -0.2863568365573883, -0.037793729454278946, -0.03158801794052124, -0.44525307416915894, 0.3290281891822815, -0.6774815917015076, 0.4476069211959839, -0.19891051948070526, -0.050337646156549454, 0.2072368562221527, 0.4044343829154968, 0.08627922087907791, 0.1899813413619995, -0.6427924036979675, 0.38055115938186646, 0.5427706837654114, 0.9024221897125244, -0.30997517704963684, -0.8409870266914368, -0.5547837615013123, 0.44628751277923584, -0.6583552956581116, 0.5542823076248169, -0.4166932702064514, -0.14895682036876678, -0.07058887183666229, 0.08902601152658463, -0.2460978627204895, -0.5219579339027405, 0.2831089198589325, -0.334841787815094, 0.024180753156542778, -0.2319173663854599, -0.5669116377830505, 0.08798053860664368, 0.08795955777168274, -0.3814549446105957, 0.7881830930709839, -0.09365575015544891, -0.5397288203239441, 0.2460096925497055, -0.17256677150726318, -0.570388674736023, -0.07114002853631973, -0.09031214565038681, -0.49464935064315796, 0.15402807295322418, 0.49979332089424133, 0.5809476375579834, -0.3906506896018982, 0.5734425187110901, -0.3843275010585785, -0.3079689145088196, 0.11593285948038101, -0.3619988262653351, 0.2752421796321869, -0.02065630443394184, -0.27093246579170227, -0.03709666058421135, -0.3353755474090576, -0.18374399840831757, 0.3681276738643646, -0.3019941449165344, -0.13430525362491608, 0.04758097231388092, -0.07220160961151123, 0.23723700642585754, 0.4331989586353302, -0.5138285756111145, 0.08922751247882843, -0.39794737100601196, 0.0509965643286705, 0.5261216163635254, -0.17610491812229156, 0.3453570604324341, -0.30493369698524475, 0.47089314460754395, 0.1922435611486435, 0.14767037332057953, -0.25041839480400085, -0.34016579389572144, -0.9058159589767456, 0.05076666548848152, 0.4203547239303589, 0.7280091643333435, -0.757348358631134, 0.5082094669342041, -0.7125489115715027, -0.30828186869621277, -0.4456561803817749, 0.3041686713695526, 0.4896197021007538, 0.6412720084190369, 0.5957705974578857, -0.47239458560943604, -0.3060152530670166, -0.6401722431182861, -0.14657016098499298, 0.060252148658037186, 0.08524902164936066, -0.0917401984333992, 0.3713354766368866, -0.13377487659454346, 0.5567057728767395, -0.36512789130210876, -0.054853636771440506, -0.3666892349720001, 0.285099059343338, 0.23032240569591522, 0.7357494831085205, 0.24278073012828827, -0.6106412410736084, -0.7904822826385498, 0.12575387954711914, -0.8284336924552917, -0.18768973648548126, -0.22002503275871277, -0.2265876680612564, -0.06921922415494919, 0.6801232099533081, -0.6774001717567444, 0.2783268392086029, 0.5793637037277222, 0.289251446723938, 0.489160418510437, -0.39110267162323, 0.2750477194786072, -1.2935607433319092, 0.07865145802497864, -0.10878156870603561, -0.5445155501365662, -0.793300211429596, 0.09881913661956787, 0.21071840822696686, -0.02563900500535965, -0.3135491907596588, 0.433229923248291, -0.4634357690811157, -0.004161520395427942, -0.37723976373672485, -0.0004189502797089517, -0.08425792306661606, 0.29617270827293396, 0.1342228651046753, 0.9512834548950195, 0.36690542101860046, -0.4385412931442261, 0.20671582221984863, 0.26760414242744446, -0.5078760385513306, 0.2972184121608734, -0.6459670066833496, 0.38811489939689636, -0.2329464554786682, 0.41287150979042053, -0.7281650304794312, -0.3124578595161438, 0.3108537495136261, -0.18892864882946014, 0.6995861530303955, -0.0191997978836298, -0.8479132056236267, -0.2947986125946045, 0.24287572503089905, 0.4025045931339264, 0.5635995268821716, -0.4401669502258301, 0.20527128875255585, 0.040137503296136856, -0.615268886089325, -0.46089544892311096, -0.6663868427276611, -0.03320759907364845, -0.026362344622612, -0.3899131119251251, 0.18515105545520782, -0.08408364653587341, 0.15147057175636292, -0.09930513054132462, -0.11739835888147354, -0.05100834369659424, -0.05797204002737999, 0.04697278141975403, 0.14825241267681122, -0.1655438393354416, -0.0685979425907135, 0.19036920368671417, -0.27922436594963074, -0.04863390326499939, -0.5389140844345093, 0.740953266620636, 0.14322182536125183, -0.3145253360271454, -0.6527214050292969, 0.4595221281051636, 0.440789133310318, -0.3655993938446045, 0.8711154460906982, 0.3307840824127197, -0.23255109786987305, 0.11061618477106094, -0.6788867712020874, 0.023658841848373413, -0.3642469644546509, 0.47109532356262207, -0.6477740406990051, -0.6505821943283081, 0.2754521369934082, -0.11621951311826706, 0.04666045308113098, 0.19638784229755402, 0.4239847660064697, -0.4219984710216522, 1.28319251537323, 0.4755915701389313, -0.29057776927948, 0.3795364201068878, 0.03417577967047691, 0.11993588507175446, -0.5525081753730774, -0.1298007369041443, -0.47272226214408875, -0.12605717778205872, -0.21973860263824463, -0.5964927077293396, 0.22262504696846008, 0.6641064882278442, -0.19173957407474518, 0.4629935324192047, 0.17032963037490845, 0.38382071256637573, 0.29637980461120605, 0.40426722168922424, 0.27852919697761536, 0.044409941881895065, 0.10836012661457062, -0.13425414264202118, -0.6184452176094055, -0.3458611071109772, 1.3157765865325928, 0.4268123209476471, 0.6112973690032959, -0.13433554768562317, 0.72153639793396, -0.3410966396331787, 0.39308449625968933, -0.44618961215019226, 0.3187367618083954, -0.4221472144126892, -0.23474250733852386, -0.2783750891685486, -0.5651266574859619, -0.7875762581825256, 0.10566090047359467, 0.030072268098592758, -0.22629006206989288, -0.02997692860662937, 0.32905685901641846, 0.022410806268453598, 0.0184488445520401, -0.603823184967041, 0.940798819065094, -0.588862419128418, -0.2740502953529358, -0.43068432807922363, -0.6848582029342651, 0.1290779560804367, -0.5990070700645447, 0.20913845300674438, -0.15352082252502441, -0.03212054446339607, 0.5595494508743286, -0.3787769079208374, 0.6292264461517334, -0.05812534689903259, 0.10465098917484283, -0.07272186130285263, -0.2115197330713272, 0.8754780888557434, 0.04125872254371643, 0.13299451768398285, 0.5807682275772095, -0.18226969242095947, -0.8376006484031677, -0.612787127494812, 0.3520331382751465, -0.7434547543525696, -0.7146978974342346, -0.21986059844493866, -0.9573020339012146, -0.5321171879768372, 0.3205714523792267, 0.33652904629707336, 0.2960752248764038, 0.009152086451649666, 0.27229738235473633, 0.5383104681968689, -0.03533463180065155, 0.12599609792232513, 0.49813327193260193, -0.20247149467468262, -0.4047934412956238, 0.737606942653656, 0.158694326877594, 0.5929517149925232, 0.5281040668487549, 0.12973693013191223, -0.3892265558242798, -1.0770622491836548, -0.4802955985069275, 0.5624208450317383, -0.39334607124328613, 0.017450343817472458, -0.6217489242553711, 0.0003722785331774503, -0.6493089199066162, 0.00704960199072957, -0.566605806350708, 0.06634339690208435, -0.21756277978420258, 0.11095952242612839, 0.025620661675930023, 0.5193948149681091, -0.0005785863613709807, 0.6037495732307434, -0.982643723487854, 0.29447582364082336, 0.011652032844722271, 0.03545983508229256, -0.4410354197025299, -0.7919477820396423, -0.5083357095718384, 0.2140786200761795, 0.19668757915496826, -0.817836582660675, 0.5005583167076111, 0.10536917299032211, 0.5180956125259399, 0.027949534356594086, -0.4329321086406708, 0.9983659386634827, -0.9181612133979797, 0.4420299828052521, 0.31006109714508057, -0.867246150970459, 0.5619184970855713, -0.4945339262485504, 0.6541376113891602, 0.8163352608680725, 0.730992317199707, -0.21273992955684662, -0.5018035769462585, -0.16076694428920746, -0.5328725576400757, 0.7038266062736511, 0.15877759456634521, 0.10737860202789307, 0.16450323164463043, 0.5831021666526794, 0.08974096179008484, 0.28204891085624695, -0.5884058475494385, -0.14014331996440887, -0.18595798313617706, -0.5277567505836487, -0.7617329955101013, -0.26905903220176697, 0.10687830299139023, -0.2898467481136322, 0.6189728379249573, -0.15829791128635406, -0.1641186624765396, -0.14863699674606323, -0.34688448905944824, 0.09915438294410706, 0.12115370482206345, 0.43085312843322754, 0.7824516296386719, -0.1983467936515808, -0.2091083973646164, 0.2289355993270874, -0.6188637018203735, 0.38038399815559387, 0.3283306658267975, -0.33248797059059143, 0.051336389034986496, 0.301158607006073, 0.8446395397186279, 0.2499667853116989, -0.2761824131011963, 0.4987131655216217, 0.2066524475812912, 0.05264587327837944, -0.28213736414909363, -0.33639228343963623, 0.1343105435371399, 0.13810336589813232, -0.11201433837413788, 0.005992666352540255, -0.295971155166626, -0.33501219749450684, 0.23985621333122253, -0.030970143154263496, -0.00444197840988636, -0.36961081624031067, 0.6745540499687195, 0.13567985594272614, 0.06719401478767395, 0.7366998791694641, -0.040565814822912216, -0.273518830537796, 0.3063768744468689, 0.903236985206604, 0.6270896196365356, -0.4982045292854309, 0.009714650921523571, 0.5069200396537781, 0.42716094851493835, -0.90934157371521, 0.17085790634155273, -0.006297856569290161, -0.7538397312164307, -0.8647688627243042, -0.7063010931015015, -0.3416669964790344, 0.1817212551832199, -0.8502216935157776, 0.24204130470752716, -0.28760379552841187, 0.06855162233114243, -0.4142586886882782, -0.23952500522136688, -0.7134004235267639, 0.1946025788784027, 0.09684783220291138, 0.6499189734458923, -0.8976418972015381, 1.4694734811782837, 0.4326665699481964, -0.5499745607376099, -0.9506897926330566, 0.2588720917701721, -0.3328302800655365, -0.6548369526863098, 0.7237745523452759, 0.21120001375675201, -0.023576518520712852, 0.4359423518180847, -0.455651193857193, -1.214278221130371, 0.8832736015319824, 0.6799891591072083, -1.2073254585266113, 0.00033907240140251815, 0.41994553804397583, 0.3603403568267822, -0.3718426823616028, -0.04768195003271103, 0.6570935249328613, 0.3332849144935608, -0.16081549227237701, -1.0659066438674927, -0.18414728343486786, -0.1284772753715515, 0.24301405251026154, 0.23263463377952576, -0.3980233669281006, 0.6549682021141052, 0.21664035320281982, -0.14059577882289886, 0.1740482747554779, 0.9006274342536926, 0.2705899477005005, 0.1518114060163498, 0.5527551770210266, 0.6341506838798523, 0.49008893966674805, -0.19253283739089966, 1.1154931783676147, -0.32423511147499084, 0.22823385894298553, 1.5224628448486328, -0.38053804636001587, 1.1211210489273071, 0.36154431104660034, -0.16725385189056396, 0.2562546133995056, 0.4609655737876892, 0.052720099687576294, 0.5069935917854309, -0.0932781994342804, -0.16600623726844788, -0.37651360034942627, -0.021178865805268288, -0.35773080587387085, 0.18659386038780212, 0.3984813690185547, -0.15197986364364624, 0.01414342038333416, 0.4060448408126831, 0.20522168278694153, 0.2244194895029068, -0.2109455168247223, 0.43025341629981995, 0.32777342200279236, -0.8230001926422119, 0.5854867100715637, -0.0823839008808136, 0.5238620638847351, -0.7190290093421936, 0.2733222246170044, -0.4006853699684143, 0.14386625587940216, 0.07698575407266617, -0.5799254179000854, 0.23619334399700165, 0.13234560191631317, -0.16454510390758514, -0.521747350692749, 0.25452208518981934, -0.7465406060218811, -0.5685330629348755, 0.20602799952030182, 0.3609367609024048, 0.4781850278377533, -0.16042351722717285, -0.6585538387298584, 0.09962774068117142, -0.16836589574813843, -0.16497333347797394, 0.38900288939476013, 0.023470168933272362, 0.11859604716300964, 0.3512248396873474, 0.7766318321228027, 0.4426983594894409, 0.32543113827705383, 0.26238635182380676, 0.5901963710784912, -0.52303546667099, -0.36245620250701904, -0.6269944310188293, 0.2985493540763855, -0.008688315749168396, -0.13344039022922516, 0.8036505579948425, 0.44872480630874634, 1.342712640762329, -0.033553652465343475, 0.6240813732147217, 0.34553205966949463, 0.5391728281974792, -0.8912380933761597, 0.43137145042419434, -0.5282713770866394, 0.03904547914862633, 0.10807271301746368, -1.1561484336853027, -0.35729947686195374, 0.36435386538505554, -0.43291130661964417, -0.003677403088659048, 0.9062674045562744, 0.963279128074646, -0.09149346500635147, -0.36737948656082153, 0.34068623185157776, 0.40066248178482056, 0.21788068115711212, 0.5979386568069458, 0.7031712532043457, -0.5191708207130432, 0.4171757698059082, -0.39212071895599365, -0.08141469955444336, 0.15367989242076874, -0.4661012291908264, -0.8055059313774109, -0.3560235798358917, -0.20256343483924866, -0.2932053208351135, 0.2004561871290207, 0.751323938369751, 0.6777635216712952, -0.9451518654823303, -0.4060039222240448, -0.3841669261455536, -0.5077810883522034, -0.16340050101280212, -0.036481987684965134, 0.1389133483171463, -0.7681549191474915, -1.0398653745651245, 0.8178905248641968, 0.285839706659317, 0.1225886195898056, -0.1428440809249878, -0.24532413482666016, -0.23756514489650726, -0.10480821877717972, 0.4748845398426056, 0.19120949506759644, -0.7835990190505981, -0.26413846015930176, -0.15839898586273193, -0.276836097240448, 0.057194653898477554, 0.6244410276412964, -0.3064669668674469, 0.5617148876190186, 0.546231210231781, 0.8302956819534302, 0.944824755191803, 0.2873373329639435, 0.9962348341941833, -0.5702452063560486, 0.4389568865299225, -0.03234495222568512, 0.2986851632595062, 0.3790670931339264, -0.24171556532382965, 0.34098368883132935, 0.28296321630477905, -0.5583038330078125, -0.6328291893005371, 0.19921275973320007, -0.8337950110435486, -0.14378014206886292, 1.0846246480941772, -0.5952601432800293, -0.04100637510418892, -0.09169670939445496, 0.1590908169746399, 0.5347031354904175, 0.05886184424161911, 0.32163718342781067, 0.6845470666885376, 0.11564461141824722, -0.2855130136013031, -0.8203216195106506, 0.1620098203420639, 0.7568209171295166, -1.0273445844650269, -0.23116222023963928, 0.3025458753108978, 0.3498222827911377, -0.10352268815040588, 0.6472964882850647, -0.2699294984340668, 0.0657866969704628, 0.010781005024909973, -0.0904756486415863, 0.005399493500590324, -0.5508060455322266, -0.528738796710968, -0.11815670132637024, 0.2367316037416458, -0.23896770179271698 ]
http://arxiv.org/abs/2407.03132v1
http://arxiv.org/pdf/2407.03132v1
Speaker- and Text-Independent Estimation of Articulatory Movements and Phoneme Alignments from Speech
2024-07-03T14:13:04
2024-07-03T14:13:04
Tobias Weise, Philipp Klumpp, Kubilay Can Demir, Paula Andrea Pérez-Toro, Maria Schuster, Elmar Noeth, Bjoern Heismann, Andreas Maier, Seung Hee Yang
cs.SD
cs.SD, cs.AI, cs.CL, cs.LG, eess.AS
This paper introduces a novel combination of two tasks, previously treated separately: acoustic-to-articulatory speech inversion (AAI) and phoneme-to-articulatory (PTA) motion estimation. We refer to this joint task as acoustic phoneme-to-articulatory speech inversion (APTAI) and explore two different approaches, both working speaker- and text-independently during inference. We use a multi-task learning setup, with the end-to-end goal of taking raw speech as input and estimating the corresponding articulatory movements, phoneme sequence, and phoneme alignment. While both proposed approaches share these same requirements, they differ in their way of achieving phoneme-related predictions: one is based on frame classification, the other on a two-staged training procedure and forced alignment. We reach competitive performance of 0.73 mean correlation for the AAI task and achieve up to approximately 87% frame overlap compared to a state-of-the-art text-dependent phoneme force aligner.
[ 0.014907325617969036, -0.6642261147499084, 0.4305359721183777, -0.291890949010849, -0.35751184821128845, -0.11177516728639603, 0.07478730380535126, -0.4657890200614929, 0.6249033808708191, 0.213458850979805, -0.5884837508201599, -0.2232501208782196, -0.5052972435951233, -0.08683641999959946, -0.3295866549015045, 0.5574384331703186, 0.24592846632003784, 0.3453609347343445, 0.11098784953355789, -0.3290575444698334, -0.8009421825408936, -0.10977262258529663, -0.41859838366508484, -0.3651179075241089, 0.22686366736888885, 0.3727607727050781, 0.7879396080970764, 0.839905321598053, 0.325373113155365, 0.33678552508354187, 0.1711096465587616, -0.08848226070404053, 0.3277978301048279, 0.04877282679080963, 0.03241801634430885, -0.39535021781921387, -0.5833855271339417, 0.24326297640800476, 0.6138622760772705, 0.7457187175750732, -0.28047215938568115, 0.02464648336172104, -0.253606915473938, 0.6990994215011597, -0.8549099564552307, 0.07046639919281006, -0.25554159283638, 0.0069794440641999245, -0.2419244349002838, -0.14133262634277344, -0.15111859142780304, -0.01856088638305664, 0.26029494404792786, -0.6609000563621521, -0.29828494787216187, -0.30270981788635254, 0.5661398768424988, 0.5349708795547485, -0.5494574308395386, -0.32737499475479126, -0.5713209509849548, 0.6878625750541687, -0.5753730535507202, 0.7595534324645996, 0.25601422786712646, 0.14818307757377625, -0.04432644322514534, -0.34326764941215515, -0.6151130199432373, 0.16248147189617157, 0.16263729333877563, 0.4122752845287323, -0.20988991856575012, 0.1297817826271057, -0.14078205823898315, 0.11529868841171265, -0.6834633350372314, 0.23275434970855713, -0.08537541329860687, -0.006986857391893864, 0.7096285820007324, -0.3345596194267273, 0.3894396126270294, -0.16035650670528412, -0.49605000019073486, -0.40567919611930847, -0.3484916687011719, 0.31243735551834106, 0.47136056423187256, 0.3180907368659973, -0.4002712666988373, 0.5090399384498596, 0.19006793200969696, 0.659430980682373, 0.36381134390830994, -0.37580376863479614, 0.5215489268302917, -0.35314562916755676, -0.3326481580734253, 0.5546954274177551, 1.042675495147705, -0.09101717919111252, -0.030396871268749237, -0.4449739158153534, 0.06314393132925034, 0.17935794591903687, -0.05340397730469704, -0.2306821495294571, -0.11574903875589371, 0.3374817371368408, -0.2731606364250183, -0.06641090661287308, 0.20384584367275238, -0.7392846941947937, -0.44010767340660095, -0.6195248961448669, 0.7424117922782898, -0.3302749991416931, -0.5487654805183411, -0.2952319383621216, -0.06482846289873123, 0.47368621826171875, 0.04505690932273865, -1.0213185548782349, 0.2058727890253067, 0.7184700965881348, 0.8257807493209839, -0.2512792646884918, -0.5910718441009521, -0.9302428960800171, 0.2610979974269867, -0.5128865242004395, 0.7493544220924377, -0.6004729866981506, -0.21200843155384064, -0.28487473726272583, 0.04051674157381058, -0.7222996354103088, -0.14963257312774658, 0.6560577750205994, -0.24820053577423096, 0.46643441915512085, 0.22818882763385773, -0.44505757093429565, -0.24295532703399658, -0.3123999834060669, -0.7127417922019958, 0.7529115676879883, -0.24006636440753937, -0.7655177712440491, 0.16993752121925354, -0.36500799655914307, -0.40091434121131897, -0.3901088535785675, -0.35210859775543213, -0.4186513125896454, 0.15121285617351532, 0.13450966775417328, 0.2549319267272949, -0.015472657047212124, 0.17074120044708252, -0.3449249267578125, -0.43484073877334595, 0.270916223526001, -0.525414764881134, 0.9056752920150757, 0.11795321851968765, -0.48456519842147827, 0.17058558762073517, -0.9757815003395081, -0.054628144949674606, -0.3740914762020111, -0.1784203201532364, -0.49748289585113525, 0.0433494970202446, -0.4485795795917511, 0.06595426797866821, 0.11105243861675262, -0.554057240486145, 0.050449274480342865, -0.8277862668037415, 0.2866550385951996, 0.4094654619693756, -0.28507933020591736, 0.7850068807601929, -0.2577582001686096, 0.41264697909355164, -0.07961452752351761, -0.14259560406208038, -0.0455697663128376, -0.7336937785148621, -0.06982777267694473, -0.22346478700637817, 0.4205268323421478, 0.9044815301895142, -0.5659199953079224, 0.3493543267250061, -0.5019834637641907, -0.5220992565155029, -0.7386664748191833, -0.07849747687578201, 0.4338873326778412, 0.5202588438987732, 0.08715885132551193, -0.5520495772361755, -0.5804230570793152, -0.43783536553382874, -0.3577038645744324, -0.7382268905639648, -0.038543425500392914, -0.004388561472296715, -0.06031663715839386, 0.20690058171749115, 0.8811623454093933, 0.07764708250761032, -0.24990513920783997, 0.07830128073692322, 0.4724663496017456, 0.08932113647460938, 0.5740529298782349, 0.4420385956764221, -0.7370133996009827, -0.20674435794353485, -0.028726425021886826, -0.3713890612125397, -0.2586844861507416, -0.13332107663154602, -0.18947197496891022, 0.13615116477012634, 0.22766520082950592, -0.846514880657196, 0.494344025850296, 0.8169377446174622, -0.34143370389938354, 0.34429195523262024, -0.10336187481880188, 0.32828402519226074, -1.220902442932129, 0.21326857805252075, 0.12852482497692108, -0.1434505581855774, -1.217801570892334, -0.16031302511692047, 0.1379144787788391, -0.19322888553142548, -0.3670281767845154, 0.40383848547935486, -0.7453054189682007, -0.5045991539955139, -0.5321211218833923, 0.4554681181907654, -0.004318429157137871, 0.6068597435951233, 0.3060547113418579, 0.9461560249328613, 0.8367339968681335, -0.4044687747955322, 0.04874287545681, 0.413298636674881, -0.14059652388095856, 0.45264890789985657, -0.4465084969997406, 0.4467236399650574, -0.05222655087709427, 0.01605507731437683, -1.2207732200622559, -0.10827909409999847, 0.4460236132144928, -0.6721035838127136, 0.47205957770347595, -0.12844453752040863, 0.25615277886390686, -0.04682203009724617, -0.13666623830795288, 0.6381896734237671, 0.3795689642429352, -0.4028611481189728, 1.1239168643951416, 0.7504807114601135, -0.20347705483436584, -0.9601747989654541, -0.6426928043365479, 0.14260290563106537, -0.49918317794799805, -0.2906048893928528, 0.24781262874603271, 0.2134981006383896, -0.32449519634246826, -0.3937321603298187, -0.24907945096492767, -0.49413561820983887, -0.05262671411037445, 0.6364675164222717, 0.13137270510196686, -0.13920989632606506, 0.14373666048049927, 0.09151417016983032, -0.055200062692165375, 0.06114662438631058, -0.11398078501224518, 0.11395826935768127, 0.2625168263912201, -0.5449069142341614, -1.178602695465088, 0.48036864399909973, 0.6307311058044434, -0.37562692165374756, 0.03895176947116852, 0.5979508757591248, -0.09800302982330322, 0.727429211139679, -0.5695162415504456, 0.029953887686133385, -0.3506774306297302, 0.2654789388179779, -0.28678393363952637, -0.1401458978652954, 0.22009475529193878, 0.031165601685643196, 0.12114925682544708, 0.2912755310535431, 0.23884397745132446, -0.08408574759960175, 1.3061693906784058, 0.6660599708557129, -0.25347697734832764, 0.6227092146873474, -0.11010271310806274, 0.15831074118614197, -0.6768792867660522, -0.0378715917468071, -0.7903788089752197, -0.42971271276474, -0.39384377002716064, -0.26640424132347107, 0.3312666118144989, 0.1657448410987854, 0.003549171146005392, 0.46932560205459595, -0.192886084318161, -0.0296073816716671, 0.6368296146392822, 0.15060220658779144, 0.22716814279556274, 0.09300640225410461, 0.13323384523391724, 0.28670212626457214, -0.5038460493087769, -0.3897121846675873, 0.9441618919372559, 0.27532246708869934, 0.2851458787918091, 0.23407407104969025, 0.7397263646125793, -0.09505634754896164, 0.01170715969055891, -1.0303345918655396, 0.46354639530181885, -0.22494271397590637, -0.2587054371833801, -0.6026751399040222, -0.2792109549045563, -0.9950025677680969, 0.30044180154800415, 0.09406651556491852, -0.9237500429153442, 0.6917063593864441, 0.16039955615997314, -0.38122332096099854, 0.2650282382965088, -1.0260083675384521, 0.735541820526123, -0.17777563631534576, -0.05304091423749924, -0.3444945216178894, -0.9688935875892639, 0.15507934987545013, -0.055489685386419296, 0.5953987240791321, -0.4331721365451813, -0.2815260887145996, 0.7220942378044128, -0.1940249353647232, 0.9683645963668823, -0.469860315322876, -0.2617189586162567, 0.5284323692321777, -0.29806604981422424, 0.40897050499916077, -0.3145577311515808, -0.264726847410202, 0.3409993052482605, 0.17924068868160248, -0.17680351436138153, -0.5219417810440063, 0.540783166885376, -0.7164673209190369, -0.5012881755828857, -0.29032102227211, -0.6576545834541321, -0.35552656650543213, 0.03645242378115654, -0.06471727788448334, 0.5847098231315613, -0.3745953440666199, -0.1252838522195816, 0.26825979351997375, 0.3530207574367523, 1.089341640472412, 0.44436657428741455, 0.4235891103744507, -0.740738034248352, 0.8430272936820984, -0.11464541405439377, 0.14765268564224243, 0.6991753578186035, 0.3175819218158722, -0.4324202239513397, -0.5516653060913086, -0.681297242641449, 0.2924656271934509, -0.21150538325309753, 0.07176139950752258, -0.36453917622566223, 0.3699610233306885, -0.7371096014976501, 0.45648759603500366, -0.3876873552799225, -0.9716319441795349, -0.4647907316684723, 0.2378356158733368, -0.1445021778345108, 0.24769635498523712, -0.2896950840950012, 0.5255117416381836, -0.8035723567008972, 0.2410772144794464, 0.5229085087776184, -0.02273757942020893, -0.33830925822257996, -0.7158340215682983, -0.08572674542665482, 0.4773072600364685, -0.3801003396511078, -1.2818690538406372, 0.3656649887561798, 0.6929240226745605, 0.4345739185810089, 0.5982380509376526, 0.06877891719341278, 1.0315114259719849, -0.5041041374206543, 0.8024842739105225, 0.606495201587677, -1.0031794309616089, 0.5586576461791992, 0.00328263477422297, 0.4054657220840454, 0.4897608757019043, 0.21090400218963623, -0.23038335144519806, -0.22714142501354218, -0.4808903634548187, -0.7127830982208252, 0.6628174781799316, 0.32680559158325195, -0.09331906586885452, 0.22358188033103943, 0.3756389617919922, 0.22935396432876587, 0.2392292469739914, -0.5101723074913025, -0.18845407664775848, -0.3288458287715912, -0.5519248247146606, -0.10333423316478729, 0.11108018457889557, -0.35711100697517395, -0.14748379588127136, 0.9052296280860901, -0.3469350039958954, 0.5665486454963684, 0.29022276401519775, -0.08240464329719543, -0.41348129510879517, 0.32490116357803345, 0.5939386487007141, 0.7329634428024292, 0.18359678983688354, 0.08436432480812073, 0.044469982385635376, -0.6229865550994873, 0.2958308160305023, 0.46403220295906067, 0.06080332770943642, 0.3945937156677246, 0.3405274748802185, 1.2108362913131714, 0.23089423775672913, -0.6451097726821899, 0.7912279963493347, -0.053543832153081894, -0.23744389414787292, -0.39968809485435486, -0.13766077160835266, -0.24163755774497986, 0.49022093415260315, 0.4394654333591461, 0.12575958669185638, 0.11572329699993134, -0.4183005690574646, 0.21010492742061615, 0.5343008041381836, -0.5893068313598633, -0.7314736843109131, 0.8943448066711426, 0.08445841073989868, -0.549444854259491, -0.037911556661129, 0.19794440269470215, 0.23676779866218567, 0.5933653712272644, 0.11558374762535095, 1.3437411785125732, -0.8314999938011169, 0.1368248611688614, 0.1922653764486313, -0.32025498151779175, 0.027322929352521896, 0.427978515625, -0.4061991274356842, -0.7114803791046143, -0.6993851065635681, -0.1618102490901947, -0.3751296401023865, -0.17375199496746063, -0.789485514163971, 0.2219056487083435, 0.35299789905548096, -0.30119258165359497, 0.23660393059253693, -0.1271836906671524, -0.11510055512189865, 0.09790016710758209, 0.10731953382492065, 0.6492025852203369, -1.0121876001358032, 1.037010669708252, 1.0410566329956055, -0.04659213498234749, -0.9205335974693298, 0.3208424746990204, 0.11467572301626205, -0.7882528901100159, 0.2837958335876465, 0.20620089769363403, -0.26918619871139526, 0.0019292121287435293, -0.16275912523269653, -0.952278733253479, 1.06529700756073, 0.45723676681518555, -0.6799535751342773, -0.35158294439315796, 0.1389354169368744, 0.1386513113975525, -0.23905397951602936, 0.4556666910648346, 0.5500175952911377, 0.3514133095741272, 0.014802344143390656, -1.262356162071228, -0.37956979870796204, -0.1318233460187912, -0.25631555914878845, 0.39425206184387207, -0.6771522164344788, 0.25683507323265076, -0.009905991144478321, -0.34858956933021545, 0.4801627993583679, 0.7896769642829895, 0.2840178310871124, 0.590921938419342, 0.9522911310195923, 0.6350011825561523, 0.6481048464775085, -0.07571207731962204, 0.45962050557136536, -0.6766236424446106, -0.08009308576583862, 1.2055150270462036, -0.022544454783201218, 0.8824346661567688, 0.8425073623657227, 0.044876258820295334, 0.3801785707473755, 0.4544736444950104, 0.4438914358615875, 0.7325650453567505, -0.5389139652252197, -0.3306291103363037, -0.21363164484500885, 0.10299349576234818, -0.15073396265506744, 1.0481743812561035, 0.16157393157482147, -0.1341448277235031, -0.041821304708719254, 0.2431257665157318, -0.2921440005302429, -0.20234699547290802, -0.24379391968250275, 1.0139098167419434, -0.147299662232399, -0.9722123742103577, 0.5716151595115662, -0.370754212141037, 0.2240607738494873, -0.48500993847846985, 0.07490146160125732, 0.06244867667555809, -0.0488579086959362, 0.07421178370714188, -0.38897383213043213, 0.2442217916250229, -0.3998263478279114, 0.13275234401226044, -0.19848406314849854, 0.49230408668518066, -0.7145476937294006, -0.09390546381473541, -0.015091577544808388, 0.502162516117096, 0.5726590752601624, 0.18983031809329987, -0.8113275766372681, -0.15279537439346313, -0.015037166886031628, -0.2821185886859894, 0.3040577173233032, 0.45802026987075806, 0.15962153673171997, 0.39585253596305847, 0.06920772045850754, 0.12979532778263092, 0.1231139749288559, 0.13522440195083618, 0.3761161267757416, -0.17147862911224365, -0.5843559503555298, -0.5096638202667236, 0.3852875232696533, 0.15416797995567322, -0.42048075795173645, 0.4682381749153137, 0.4259554445743561, 0.40004193782806396, 0.17405906319618225, 0.5314078330993652, 0.0007073874003253877, 0.6365627646446228, -0.66098552942276, 0.09087598323822021, -0.5158731937408447, 0.07645756006240845, -0.5462633967399597, -0.7331742644309998, 0.010388903319835663, 0.5427880883216858, -0.15911723673343658, -0.03670252114534378, 0.6138258576393127, 0.6686875820159912, -0.03855697810649872, 0.3562352657318115, 0.14812590181827545, -0.05916183814406395, 0.042056888341903687, 0.4008506238460541, 0.3865882158279419, -0.7396796345710754, 0.7014005184173584, -0.5556437373161316, -0.36119571328163147, 0.3012688457965851, -0.8098202347755432, -0.38461023569107056, -0.6949707269668579, -0.7908081412315369, 0.11899815499782562, 0.17315222322940826, 0.7863486409187317, 0.9036484956741333, -0.9481859803199768, -0.7059196829795837, -0.2923915982246399, -0.041737549006938934, -0.9172407984733582, -0.12348870933055878, 0.71811443567276, -0.08540184795856476, -1.187546968460083, 1.0508723258972168, 0.07970935851335526, 0.37405839562416077, 0.13483358919620514, -0.058165427297353745, -0.2859663963317871, -0.10394247621297836, 0.12488242983818054, 0.6934238076210022, -0.747960090637207, -0.40514862537384033, -0.1907193660736084, 0.2632991075515747, 0.2873625159263611, 0.8793978095054626, -0.8135319948196411, 0.5308548808097839, 0.41001880168914795, 0.5216505527496338, -0.022671779617667198, 0.39310094714164734, 0.6752901077270508, -0.8018162846565247, 0.4541512131690979, -0.0648709237575531, 0.2562333643436432, 0.12156037241220474, -0.18289916217327118, 0.4002021551132202, 0.3213516175746918, -0.657207190990448, -0.754082441329956, 0.25115513801574707, -1.1157667636871338, -0.239421546459198, 0.9038624167442322, 0.1627476066350937, -0.35956329107284546, -0.13723409175872803, -0.10103015601634979, 0.8047274351119995, -0.35476845502853394, 0.7333769798278809, 0.410674512386322, -0.44971737265586853, -0.3894745409488678, -0.48446184396743774, 0.35023367404937744, 0.684779703617096, -0.46131664514541626, -0.11338265240192413, 0.5471252202987671, -0.1442464143037796, 0.3824306130409241, 0.41601794958114624, -0.027406057342886925, 0.2887073755264282, -0.32454365491867065, 0.18227115273475647, 0.22733424603939056, -0.318136602640152, -0.6057355999946594, 0.30315056443214417, -0.25005003809928894, -0.9302102327346802 ]
http://arxiv.org/abs/2407.03129v1
http://arxiv.org/pdf/2407.03129v1
Social Bias Evaluation for Large Language Models Requires Prompt Variations
2024-07-03T14:12:04
2024-07-03T14:12:04
Rem Hida, Masahiro Kaneko, Naoaki Okazaki
cs.CL
cs.CL
Warning: This paper contains examples of stereotypes and biases. Large Language Models (LLMs) exhibit considerable social biases, and various studies have tried to evaluate and mitigate these biases accurately. Previous studies use downstream tasks as prompts to examine the degree of social biases for evaluation and mitigation. While LLMs' output highly depends on prompts, previous studies evaluating and mitigating bias have often relied on a limited variety of prompts. In this paper, we investigate the sensitivity of LLMs when changing prompt variations (task instruction and prompt, few-shot examples, debias-prompt) by analyzing task performance and social bias of LLMs. Our experimental results reveal that LLMs are highly sensitive to prompts to the extent that the ranking of LLMs fluctuates when comparing models for task performance and social bias. Additionally, we show that LLMs have tradeoffs between performance and social bias caused by the prompts. Less bias from prompt setting may result in reduced performance. Moreover, the ambiguity of instances is one of the reasons for this sensitivity to prompts in advanced LLMs, leading to various outputs. We recommend using diverse prompts, as in this study, to compare the effects of prompts on social bias in LLMs.
[ -0.17159311473369598, -1.0104726552963257, 0.6908056735992432, 0.36092376708984375, -0.08261831104755402, 0.14116054773330688, -0.44953471422195435, -0.1756308525800705, 0.14375001192092896, 0.2737606167793274, -0.7168365120887756, -0.4274681508541107, -1.0848771333694458, 0.31238457560539246, 0.1008218377828598, 0.908235490322113, 0.1365085393190384, 0.2564186453819275, -0.06328380852937698, -0.048921871930360794, -0.7401991486549377, -0.49423590302467346, -0.79103022813797, -0.35053038597106934, 0.8085598945617676, 0.3821353614330292, 0.6773865222930908, 0.23060940206050873, 0.23893019556999207, 0.2697620093822479, -0.43362122774124146, -0.02350355125963688, -0.7686783671379089, 0.46128273010253906, -0.21202455461025238, -0.3880613446235657, -0.05967537313699722, -0.13516183197498322, 0.7159541249275208, 0.7234591841697693, 0.4980536103248596, 0.42879268527030945, 0.4360333979129791, 0.6345176696777344, -0.6746789216995239, 0.25109609961509705, -0.6368033289909363, -0.1932973861694336, -0.35447007417678833, -0.13341493904590607, -0.46160513162612915, -0.45354241132736206, 0.11203109472990036, -0.19834502041339874, 0.1991603821516037, -0.04148993641138077, 0.44889065623283386, 0.20279277861118317, -0.5134146213531494, -0.18314357101917267, -0.5938595533370972, 0.8921294212341309, -0.7491194009780884, 0.043999552726745605, 0.12104739248752594, 0.34655484557151794, -0.2059229016304016, -0.10100241750478745, -0.12070537358522415, -0.4568312466144562, 0.22622522711753845, -0.25777843594551086, -0.04898430407047272, 0.014965910464525223, 0.7256360650062561, -0.12882111966609955, -0.2352408915758133, 0.35733741521835327, -0.23931178450584412, -0.2330789566040039, 0.5739247798919678, 0.5101180672645569, 0.2534729242324829, -0.19603386521339417, -0.013943963684141636, -0.0497245155274868, -0.9333426356315613, 0.41187992691993713, 0.7517407536506653, 0.5397108197212219, -0.2842313051223755, 0.5475916266441345, -0.38602590560913086, 0.6432377696037292, 0.2651429772377014, -0.14787331223487854, 0.2035418152809143, -0.08054386079311371, 0.08543200045824051, -0.015669871121644974, 0.6026860475540161, 0.7681728005409241, 0.48660561442375183, 0.15497331321239471, -0.2763286232948303, 0.22843514382839203, -0.08256939053535461, -0.672003448009491, 0.3295750617980957, -0.11453016102313995, -0.5225335955619812, -0.29147103428840637, -0.3886280953884125, -0.7695271372795105, -0.9508920311927795, -0.3239961564540863, 0.1299149990081787, 0.012476670555770397, 0.04584395885467529, -0.03318944573402405, -0.1581430286169052, 0.059957023710012436, 0.5154651403427124, -0.8658648729324341, 0.27695849537849426, 0.5949720144271851, 0.9108582139015198, -0.48133963346481323, -0.2924446761608124, -0.9183719754219055, -0.11858326941728592, -0.18720154464244843, 0.443680077791214, -0.8988062739372253, -0.5152833461761475, 0.21338558197021484, 0.0021861328277736902, -0.10573124140501022, -0.4122718572616577, 0.4938312768936157, -0.3164181411266327, -0.047025974839925766, -0.9460557699203491, -0.40274861454963684, 0.1743045300245285, -0.08082912117242813, -0.5970638990402222, 0.9168708920478821, -0.048691537231206894, -0.9344565868377686, 0.41167375445365906, -0.4176463186740875, -0.5461561679840088, -0.03960651531815529, -0.4045324921607971, 0.11171922087669373, 0.22833511233329773, 0.1490243673324585, 0.45356911420822144, -0.4735007882118225, 0.47204142808914185, -0.5261119604110718, -0.6891798377037048, 0.3205347955226898, -0.509425699710846, 0.95042884349823, 0.03978428244590759, -0.6750604510307312, 0.32107943296432495, -0.49145105481147766, -0.5018846988677979, 0.009014786221086979, -0.3487064242362976, -0.6067992448806763, 0.028492184355854988, -0.29369211196899414, 0.15730679035186768, 0.17259855568408966, -0.5984400510787964, 0.15623843669891357, -0.21456100046634674, 0.2686351239681244, 1.302301287651062, -0.01761147566139698, 0.40866079926490784, -0.4805549383163452, 0.7196076512336731, -0.10900071263313293, 0.24160173535346985, 0.15614405274391174, -0.6476002335548401, -0.5480105876922607, -0.17029857635498047, -0.04728992283344269, 0.39673206210136414, -0.6886982321739197, 0.10524827986955643, -0.1151607483625412, -0.48644837737083435, -0.37318727374076843, 0.19009606540203094, 0.2669103443622589, 0.22036650776863098, -0.12007702142000198, -0.07020317018032074, -0.2690158486366272, -0.9561957716941833, -0.6732487082481384, 0.08744310587644577, 0.04314076155424118, 0.5108309984207153, 0.4061889052391052, -0.051268577575683594, 0.7644227743148804, -0.4769262373447418, 0.14720363914966583, -0.3812442123889923, 0.04408905655145645, 0.36633020639419556, 0.16804856061935425, 0.5747714638710022, -0.3327464163303375, -0.4411871135234833, -0.5370883941650391, -0.223506361246109, -0.5598313808441162, -0.10964705795049667, -0.06828833371400833, 0.3106258809566498, 0.4399462640285492, -0.6309205889701843, 0.23416884243488312, 0.5546894669532776, -0.45315632224082947, 0.67006915807724, 0.1716165542602539, 0.2077910602092743, -0.7661689519882202, -0.1922701597213745, 0.2975350618362427, 0.0480184331536293, -0.40508851408958435, -0.23761475086212158, -0.15807002782821655, 0.18622976541519165, -0.46945732831954956, 0.7728012800216675, -0.4352930784225464, -0.2010856419801712, -0.11391439288854599, 0.22355352342128754, -0.02718113735318184, 0.2592732012271881, -0.1302040070295334, 0.6889849305152893, 0.643930971622467, -0.6871792674064636, 0.37142214179039, -0.1431090384721756, -0.5348814129829407, 0.2940431237220764, -0.9734693765640259, 0.26841962337493896, -0.3142726421356201, 0.2785395383834839, -1.2401248216629028, -0.05340466648340225, 0.34933432936668396, -0.23653773963451385, 0.19345036149024963, -0.0387815497815609, -0.3751375079154968, -0.24583101272583008, -0.6406352519989014, 0.2886561155319214, 0.3948412537574768, -0.24616798758506775, 0.1874653846025467, 0.15993863344192505, -0.4612728953361511, -0.7003312110900879, -0.33579349517822266, -0.12941651046276093, -0.36138835549354553, -0.6548871994018555, -0.0027832279447466135, -0.23107333481311798, -0.5342467427253723, -0.34725695848464966, -0.028278762474656105, 0.5178689360618591, 0.2161305695772171, 0.4349058270454407, 0.31375622749328613, 0.000021024103261879645, 0.15357168018817902, 0.23879733681678772, 0.26332810521125793, 0.3405727446079254, 0.25823771953582764, 0.7958959341049194, 0.21145661175251007, -0.3270719349384308, 0.014138370752334595, 0.29528898000717163, 0.5147790312767029, -0.010484175756573677, 0.7090997695922852, 0.3142089247703552, -0.21377556025981903, -0.04763596132397652, -0.7578774690628052, -0.4005778431892395, -0.5171626806259155, 0.3396809697151184, -0.28449368476867676, -1.1890360116958618, 0.673754870891571, 0.09646163880825043, 0.11891607940196991, 0.2994785010814667, 0.8472514748573303, 0.3612968325614929, 1.0922064781188965, 0.2893162965774536, -0.11958060413599014, 0.6249340176582336, 0.32156112790107727, 0.029521236196160316, -0.8977169394493103, -0.028461968526244164, -0.8341963887214661, -0.32891029119491577, -0.6970746517181396, -0.36831629276275635, 0.17789188027381897, -0.3554515242576599, -0.3387828469276428, -0.11869049072265625, -0.24727044999599457, 0.45700278878211975, 0.47023269534111023, 0.09030165523290634, 0.11015664786100388, -0.03885042667388916, -0.0789029523730278, -0.08340952545404434, -0.5940121412277222, -0.8163329362869263, 1.0200697183609009, 0.46588656306266785, 1.0570720434188843, 0.05733203515410423, 0.4852559268474579, 0.6026058197021484, 0.1368817389011383, -0.5207483768463135, 0.6406729817390442, -0.028884362429380417, -0.747404932975769, -0.43408769369125366, -0.3555563986301422, -0.8372862935066223, 0.15038368105888367, -0.13899390399456024, -0.9271047115325928, 0.2867392897605896, 0.08368438482284546, -0.5299252271652222, -0.026125486940145493, -0.7116011381149292, 0.6165447235107422, -0.0015604601940140128, -0.6486269235610962, 0.028507422655820847, -0.5739437341690063, 0.15413326025009155, -0.0208792332559824, 0.2361055165529251, -0.39055007696151733, 0.10804428160190582, 0.6603286862373352, -0.060093436390161514, 1.517903208732605, -0.32194334268569946, -0.29405996203422546, 0.08668114989995956, 0.11616221070289612, 0.8714660406112671, 0.09467761963605881, -0.4051215946674347, 0.10102742165327072, -0.1913144290447235, -0.33537858724594116, -0.45439592003822327, 0.9399670362472534, -0.8593618273735046, -1.0642709732055664, -0.25906336307525635, -0.7753413319587708, -0.2413255125284195, -0.10083223134279251, 0.48646098375320435, 0.49529600143432617, -0.15722399950027466, 0.011467263102531433, 0.5627201795578003, -0.6272221207618713, 0.2771386206150055, 0.4423825144767761, -0.12287439405918121, 0.14508861303329468, 0.28628525137901306, 0.3390226364135742, 0.6031914353370667, 0.029905153438448906, 0.36784932017326355, -0.2427666038274765, -0.26548758149147034, -0.535426676273346, 0.17724643647670746, -0.8878139853477478, 0.0181993767619133, -0.5870777368545532, 0.24038198590278625, -0.8935914039611816, -0.2352050542831421, 0.029889332130551338, -0.2801876962184906, -0.32439085841178894, -0.21205094456672668, 0.45451951026916504, 0.8950631618499756, 0.13118745386600494, 0.21401961147785187, -0.49408280849456787, 0.04477290064096451, 0.2096949964761734, 0.08309992402791977, 0.13748382031917572, -0.7577846050262451, 0.007804307155311108, 0.020532280206680298, -0.12438487261533737, -1.1339974403381348, 0.00720776105299592, -0.2017054408788681, 0.6505898237228394, 0.25572144985198975, 0.26556459069252014, 0.18524488806724548, -0.46307504177093506, 0.9689501523971558, 0.05928187072277069, -1.0522743463516235, 0.47879689931869507, -0.5546679496765137, 0.4779149889945984, 0.43607836961746216, 0.32477110624313354, -0.5551376342773438, -0.6237860321998596, -0.2342311441898346, -0.8338377475738525, 0.7864335179328918, -0.15433795750141144, 0.4158870279788971, -0.21388450264930725, 0.28178027272224426, 0.3339110314846039, 0.23873692750930786, -0.723925769329071, -0.5011855363845825, 0.15436629951000214, 0.0796227678656578, -0.11704535782337189, -0.7035838961601257, -0.12316615134477615, -0.1643591672182083, 0.463754266500473, 0.02406357415020466, -0.1261727213859558, 0.03412800654768944, -0.04234631732106209, -0.26849886775016785, 0.4972124993801117, 0.6690245866775513, 0.6835851669311523, 0.011037240736186504, 0.15612682700157166, 0.39548999071121216, -0.24672986567020416, 0.23835361003875732, -0.1821983903646469, -0.5720196962356567, 0.18978171050548553, 0.3587205111980438, 1.2247060537338257, 0.07259541004896164, -0.4640047550201416, 0.44773173332214355, 0.13557328283786774, 0.16570496559143066, 0.028988990932703018, 0.2393580675125122, 0.09092654287815094, 0.393286794424057, 0.2097233235836029, -0.09040055423974991, 0.37062060832977295, -0.6175107359886169, -0.38672223687171936, 0.48531821370124817, -0.25190722942352295, -0.13988523185253143, 0.47264939546585083, 0.38927730917930603, -0.42629504203796387, 0.17057159543037415, -0.25541600584983826, -0.414629191160202, 0.8028370141983032, 0.6104949712753296, 0.7649818658828735, -0.46241214871406555, 0.35805246233940125, 0.17950783669948578, 0.5121392607688904, 0.11342012882232666, 0.3260839581489563, 0.23856070637702942, -0.5982776284217834, -0.6190748810768127, -0.4044186770915985, -0.3728334605693817, 0.14706933498382568, -0.5700321793556213, 0.4055899381637573, -0.3095892667770386, -0.49532267451286316, -0.022917047142982483, -0.20087507367134094, -0.7521418929100037, -0.15710626542568207, 0.15605783462524414, 0.7411364912986755, -1.065862774848938, 0.4079078137874603, 0.8733131289482117, -0.006582064088433981, -0.6157501339912415, 0.05690950155258179, 0.16940587759017944, -0.7262269854545593, 1.000675916671753, 0.26865074038505554, -0.2422405630350113, -0.31490829586982727, -0.47482481598854065, -0.8116183280944824, 0.5998533964157104, 0.7600281834602356, -0.8277495503425598, 0.04147641360759735, 0.30147117376327515, 0.4938111901283264, -0.4986281096935272, 0.44804441928863525, 0.5107352137565613, 0.5412415862083435, -0.1432468593120575, -0.7941415309906006, 0.5024056434631348, 0.030209900811314583, 0.33957439661026, -0.16619493067264557, -0.6468427181243896, 1.0411453247070312, -0.27064886689186096, -0.17396126687526703, -0.29339247941970825, 0.13086552917957306, 0.5483580827713013, 0.429425448179245, 0.6279122829437256, -0.2778254449367523, 0.5562465190887451, -0.05933146923780441, 1.032910943031311, -0.20144878327846527, 0.09561367332935333, 1.153043270111084, -0.7818690538406372, 0.212185800075531, 0.5723558068275452, -0.12738913297653198, 0.37409070134162903, 0.6971105337142944, 0.22046948969364166, 0.26845765113830566, 0.7400122880935669, -0.2656209170818329, -0.26730769872665405, -0.40076684951782227, -0.3250974714756012, 0.10380374640226364, 0.15527571737766266, -0.41516026854515076, -0.07837115228176117, 0.02907649055123329, 0.28694531321525574, -0.0022659089881926775, -0.36391982436180115, 0.4091089963912964, 0.1151013970375061, -0.8308704495429993, 0.5040839910507202, -0.1430674046278, 0.9285897016525269, -0.4777376055717468, 0.08816933631896973, -0.3244816064834595, -0.04728877171874046, -0.17136380076408386, -0.5177298784255981, -0.0664839893579483, 0.13001613318920135, -0.3146403431892395, 0.006068318150937557, 0.9071170091629028, -0.11843160539865494, -0.4023500680923462, 0.49395114183425903, 0.45114848017692566, 0.06032668054103851, -0.17017154395580292, -0.49238449335098267, 0.5311040878295898, 0.15858560800552368, -0.5738208293914795, 0.3222595453262329, 0.5355716943740845, -0.18419882655143738, 0.5330663323402405, 0.5061607360839844, 0.15394370257854462, 0.24414314329624176, 0.445549339056015, 0.9571738839149475, -0.37158048152923584, -0.2489800900220871, -1.1572597026824951, 0.24501264095306396, -0.17723865807056427, -0.4102400541305542, 0.9374933838844299, 0.2968332767486572, 0.5896198153495789, -0.1784789264202118, 0.8762996792793274, 0.16389338672161102, 0.5252787470817566, -0.42799684405326843, 0.4203248918056488, -0.3230091631412506, 0.46527236700057983, -0.6920236349105835, -0.9880064725875854, 0.12368031591176987, 0.3622570037841797, -0.7368178963661194, 0.24214519560337067, 0.5005382299423218, 0.8310694098472595, 0.3913356363773346, -0.07764989137649536, 0.40077993273735046, 0.22995798289775848, 0.18294650316238403, 0.38608986139297485, 1.0250027179718018, 0.16968725621700287, 0.20065762102603912, -0.031688325107097626, -0.3220691680908203, -0.38629990816116333, -0.9186353087425232, -1.0917820930480957, -0.34129399061203003, -0.3340860903263092, -0.4679894745349884, 0.4544376730918884, 1.1255862712860107, 0.2866347134113312, -0.622882604598999, -0.33665430545806885, 0.36943069100379944, 0.3633049726486206, -0.005248594097793102, -0.27084770798683167, 0.24000303447246552, -0.39092785120010376, -0.8884914517402649, 0.13134746253490448, 0.06931669265031815, -0.15664216876029968, -0.3310796022415161, -0.06998785585165024, -0.01812678761780262, 0.26630541682243347, 0.7320979237556458, -0.18506202101707458, -0.6843053698539734, -0.5619053244590759, 0.24664318561553955, -0.2573835551738739, -0.22145716845989227, 0.7456286549568176, -0.38522395491600037, 0.13417480885982513, 0.7234822511672974, 0.37876591086387634, 0.03361725062131882, -0.19240084290504456, 0.656971275806427, -0.7394434213638306, -0.013436295092105865, 0.030416792258620262, 0.4885546565055847, 0.4215537905693054, -0.6288119554519653, 0.22920960187911987, 0.11142928153276443, -0.7010858654975891, -0.7059159874916077, 0.39094898104667664, -0.7333968281745911, -0.2530565559864044, 1.961603045463562, -0.09274626523256302, 0.014668434858322144, -0.1207001581788063, -0.5567942261695862, 0.3583124279975891, -0.8564716577529907, 0.9260457754135132, 1.1305694580078125, 0.13796459138393402, 0.037365853786468506, -0.6207225322723389, 0.44911989569664, 0.6335135102272034, -0.48881933093070984, 0.2980421483516693, 0.8141598701477051, 0.3885689079761505, -0.10358680039644241, 0.7013730406761169, 0.028136683627963066, 0.036822978407144547, -0.32537567615509033, -0.0710684210062027, 0.2639484703540802, -0.11851876229047775, -0.533545196056366, -0.12232000380754471, 0.4016284942626953, 0.07042928040027618 ]
http://arxiv.org/abs/2407.03104v1
http://arxiv.org/pdf/2407.03104v1
KeyVideoLLM: Towards Large-scale Video Keyframe Selection
2024-07-03T13:41:44
2024-07-03T13:41:44
Hao Liang, Jiapeng Li, Tianyi Bai, Chong Chen, Conghui He, Bin Cui, Wentao Zhang
cs.CV
cs.CV, cs.CL, cs.MM
Recently, with the rise of web videos, managing and understanding large-scale video datasets has become increasingly important. Video Large Language Models (VideoLLMs) have emerged in recent years due to their strong video understanding capabilities. However, training and inference processes for VideoLLMs demand vast amounts of data, presenting significant challenges to data management, particularly regarding efficiency, robustness, and effectiveness. In this work, we present KeyVideoLLM, a text-video frame similarity-based keyframe selection method designed to manage VideoLLM data efficiently, robustly, and effectively. Specifically, KeyVideoLLM achieves a remarkable data compression rate of up to 60.9 times, substantially lowering disk space requirements, which proves its high efficiency. Additionally, it maintains a 100% selection success rate across all video formats and scales, enhances processing speed by up to 200 times compared to existing keyframe selection methods, and does not require hyperparameter tuning. Beyond its outstanding efficiency and robustness, KeyVideoLLM further improves model performance in video question-answering tasks during both training and inference stages. Notably, it consistently achieved the state-of-the-art (SoTA) experimental results on diverse datasets.
[ -0.49838095903396606, -0.768807590007782, 0.3195318877696991, 0.14139114320278168, -0.6622067093849182, 0.001120055909268558, -0.45691147446632385, 0.12259922921657562, -0.12933292984962463, 0.500199556350708, -0.3996107876300812, -0.6827844381332397, -0.7899294495582581, -0.16044718027114868, -0.5757901668548584, 0.5472591519355774, -0.049695923924446106, 0.11048991978168488, -0.4366789758205414, -0.28874897956848145, -0.3073008060455322, -0.23281753063201904, -0.4002550542354584, -0.006289155222475529, -0.12021990120410919, 0.41331085562705994, 1.016839623451233, 0.9874926805496216, 0.8772162795066833, 0.2899388074874878, -0.32887107133865356, 0.12380081415176392, -0.5095361471176147, 0.3514363467693329, -0.019551124423742294, -0.36918312311172485, -0.22542381286621094, -0.24564984440803528, 0.7939432859420776, 0.22426556050777435, 0.15383689105510712, 0.6468510031700134, -0.06444299966096878, 0.5807182788848877, -0.8229445219039917, 0.3080970048904419, -0.8131428956985474, 0.37207433581352234, 0.05360238999128342, -0.18524594604969025, -0.08125517517328262, -0.4646838307380676, 0.07312986999750137, -0.47768890857696533, 0.44454482197761536, 0.14581571519374847, 0.695988118648529, 0.5161896347999573, -0.04518336430191994, 0.2044602334499359, -0.5116606950759888, 0.4317459464073181, -0.5990033149719238, 0.7214862704277039, 0.5631458163261414, 0.3681631088256836, 0.175729438662529, -0.5423781275749207, -0.5184694528579712, 0.12043469399213791, 0.5547146201133728, -0.17730970680713654, 0.0427003838121891, 0.223989799618721, 0.4925968647003174, 0.38850143551826477, -1.129628300666809, 0.15115371346473694, -0.29111409187316895, -0.13801172375679016, 0.2860240042209625, 0.23390933871269226, 0.26373645663261414, -0.3148699104785919, -0.1476050317287445, -0.5504310131072998, -0.5866819620132446, -0.1266869604587555, 0.2142663598060608, 0.02948521263897419, 0.14758802950382233, 0.5035277009010315, -0.22325745224952698, 0.7804932594299316, -0.22204938530921936, -0.4260205924510956, 0.17696602642536163, 0.007423590403050184, -0.8062555193901062, 0.008266311138868332, 0.679761528968811, 0.9036152958869934, 0.19322024285793304, -0.09111864119768143, 0.39752933382987976, 0.21054977178573608, 0.09697200357913971, -1.341127634048462, -0.2156960368156433, 0.23211334645748138, -0.7455458641052246, -0.028652213513851166, 0.23825064301490784, -1.034177541732788, -0.2253013402223587, 0.03942866250872612, 0.47000813484191895, -0.4123779833316803, -0.21163572371006012, 0.03272482380270958, -0.23450104892253876, 0.48797520995140076, 0.3510154187679291, -0.8073326349258423, 0.1662587672472, 0.6527504920959473, 0.844830334186554, -0.43951642513275146, -0.17400255799293518, -1.0193184614181519, 0.09885181486606598, -0.45013993978500366, 0.2421884685754776, -0.743753969669342, -0.13345058262348175, 0.21494144201278687, -0.1597331464290619, 0.026538176462054253, -0.7975504994392395, 0.1816347986459732, -0.9011417627334595, -0.09904073923826218, 0.17011433839797974, -0.6776672005653381, -0.2672504484653473, 0.4666878283023834, -0.8150749802589417, 0.9493096470832825, -0.289561927318573, -0.4871467351913452, 0.5498442649841309, -0.021125461906194687, -0.26296332478523254, 0.006607688032090664, -0.24549782276153564, -0.8035513162612915, 0.0067727230489254, 0.30534228682518005, 0.7483973503112793, -0.45456016063690186, 0.3073539435863495, -0.649164080619812, -0.2573029696941376, 0.18563640117645264, -0.647278368473053, -0.0639481246471405, 0.32896217703819275, -0.2071038782596588, -0.11028766632080078, -0.6399189829826355, 0.16784247756004333, -0.3114398717880249, -0.05375662446022034, -0.27583304047584534, -0.20009014010429382, 0.30098897218704224, 0.16487297415733337, -0.08806777000427246, -0.29921555519104004, -0.01796732284128666, 0.03134393319487572, 0.7784433364868164, 0.4891296923160553, -0.17727379500865936, 0.44557660818099976, 0.00975433737039566, 0.8454928398132324, -0.2418358027935028, 0.24913093447685242, -0.349681556224823, -0.21675309538841248, -0.1539916694164276, -0.11759265512228012, 0.20392733812332153, 0.2905426621437073, -0.6295129656791687, 0.07638682425022125, -0.34143292903900146, -0.12403988093137741, -0.2741144597530365, 0.46681517362594604, 0.3776928782463074, 0.2174835056066513, 0.322953462600708, -0.2163698822259903, -0.3305739462375641, -0.5040018558502197, 0.0027976250275969505, -0.2832748293876648, -0.08109249919652939, 0.3302846848964691, 0.2604704201221466, 0.016521217301487923, 0.9296024441719055, -0.8953250646591187, -0.3074837625026703, -0.17964424192905426, 0.09292201697826385, 0.0525582954287529, 0.3171582818031311, 0.3561095893383026, -1.3492050170898438, -0.5406213998794556, -0.18219584226608276, -0.7047643065452576, 0.2819308042526245, -0.19963854551315308, 0.08208998292684555, -0.3686276972293854, 0.8874490261077881, -0.6343691349029541, 0.3210708796977997, 0.4755076467990875, -0.15415720641613007, 0.31851524114608765, -0.15515466034412384, 0.404705673456192, -1.0949985980987549, -0.05681087449193001, -0.09150712937116623, -0.5041061639785767, -0.11564739793539047, 0.15348204970359802, 0.16099922358989716, -0.2833418846130371, -0.7781534790992737, 0.41540855169296265, -0.28344109654426575, -0.30514100193977356, -0.0493861548602581, 0.1651647537946701, -0.18314331769943237, 0.4898608922958374, 0.33913490176200867, 0.8308523893356323, 0.7811527848243713, -0.5604691505432129, 0.4598581790924072, 0.5794766545295715, -0.4117372930049896, 0.5003504753112793, -0.4009891152381897, -0.04967908188700676, -0.44424933195114136, -0.2014581710100174, -1.1411579847335815, -0.38165873289108276, -0.3362483084201813, -0.38890886306762695, 0.2774859070777893, -0.2984485924243927, -0.24040614068508148, -0.30778247117996216, -0.5332738757133484, 0.4037419557571411, 0.5081413984298706, -0.5500664114952087, 0.4297625422477722, 0.48166143894195557, -0.32984262704849243, -0.436789870262146, -0.3562781512737274, 0.23779989778995514, -0.6155436038970947, -0.5136305689811707, 0.39595597982406616, -0.13665445148944855, -0.02675042673945427, 0.05458700284361839, -0.5960701107978821, -0.423896849155426, -0.09186331182718277, 0.48763707280158997, 0.289002925157547, -0.22325584292411804, 0.2073981612920761, 0.018943453207612038, 0.0895889401435852, 0.026683518663048744, -0.1576807200908661, 0.33739525079727173, 0.08866177499294281, 0.006678666919469833, -0.07306981086730957, 0.15814273059368134, 0.7471407651901245, -0.3330792486667633, 0.3825192153453827, 0.8172430992126465, -0.24968430399894714, -0.3113866150379181, -0.708118736743927, -0.17770883440971375, -0.42138010263442993, 0.8224654793739319, -0.2224985510110855, -1.2154837846755981, 0.2209496647119522, -0.11704542487859726, -0.11904357373714447, -0.13355058431625366, 0.4767889082431793, -0.05397208407521248, 0.8245972990989685, 0.2660463750362396, -0.23840078711509705, 0.7776796817779541, -0.5226150155067444, -0.24075466394424438, -0.5939851403236389, -0.06754627078771591, -0.2582435607910156, -0.1931566298007965, -0.21394257247447968, -0.9023314118385315, 0.473908007144928, 0.13147874176502228, -0.28396520018577576, 0.5296245813369751, 0.02321700192987919, 0.8600698113441467, 0.051238156855106354, 0.16384808719158173, 0.28865519165992737, 0.05908088758587837, 0.11757581681013107, -0.1859845221042633, -0.6372359395027161, -0.3965121805667877, 1.296520471572876, 0.30339139699935913, 1.0996243953704834, 0.21261785924434662, 0.12776760756969452, 0.3737863600254059, -0.23392003774642944, -0.6754446625709534, 0.7155558466911316, -0.44000834226608276, -0.29732781648635864, -0.4727419912815094, -0.2951514720916748, -0.7668346166610718, 0.26699528098106384, -0.2058304399251938, -0.6100262999534607, -0.4410511255264282, 0.14250683784484863, -0.7028623223304749, 0.32699334621429443, -0.24043139815330505, 1.081830620765686, 0.023525385186076164, -0.619878351688385, -0.5329134464263916, -0.8551678657531738, 0.25179800391197205, 0.0405237190425396, 0.06323916465044022, -0.12383944541215897, 0.10646385699510574, 0.7906991839408875, -0.545798122882843, 0.29693034291267395, 0.07209929078817368, 0.38866204023361206, 0.38582202792167664, 0.16370542347431183, 0.2318064123392105, 0.5105695128440857, 0.3465082049369812, -0.2374575287103653, -0.003538825549185276, 0.11238083243370056, -0.7763532400131226, 0.5812166333198547, -0.5299409031867981, -0.603216826915741, -0.1293066143989563, -0.3728891909122467, -0.3313429057598114, 0.07980222254991531, 0.037295326590538025, 0.6685935258865356, -0.3133578896522522, 0.9066718220710754, 1.1878560781478882, -0.3234456777572632, 0.7257541418075562, 0.2289399355649948, -0.328449010848999, -0.618777871131897, 0.7526547908782959, -0.33380380272865295, 0.40379488468170166, 0.7397929430007935, -0.14268384873867035, -0.5359105467796326, -0.5733606219291687, -0.4774892330169678, -0.13292847573757172, -0.4958633780479431, -0.57783043384552, -0.6239573955535889, -0.18264338374137878, -0.37248721718788147, 0.13617350161075592, -0.42566660046577454, -0.2658921480178833, -0.23458342254161835, -0.5288796424865723, 0.6225495934486389, -0.14559026062488556, 0.24627211689949036, 0.36549079418182373, -0.9689669609069824, 0.8946750164031982, 0.8490526676177979, 0.3242773115634918, -0.18749676644802094, -0.6027824282646179, -0.22359898686408997, -0.4306735098361969, -0.3803969621658325, -0.7111577391624451, 0.4596215784549713, 0.7147849202156067, 0.3391285538673401, 0.5780434012413025, -0.13650241494178772, 0.9165472984313965, -0.4931831359863281, 0.7574387192726135, 0.205002099275589, -0.6969537138938904, 0.4148879051208496, -0.06373973190784454, 0.34375715255737305, 0.6820816397666931, 0.4128437340259552, -0.5447731018066406, -0.32815220952033997, -0.3042827546596527, -0.8021015524864197, 0.40078404545783997, 0.3419547975063324, 0.2045878916978836, 0.17676743865013123, 0.0891127809882164, 0.1006566658616066, 0.3996928930282593, -0.2671862840652466, -0.0322255939245224, -0.24094338715076447, -0.10366696864366531, -0.04378509894013405, 0.16054411232471466, 0.2698670029640198, 0.008966803550720215, 0.3788028657436371, -0.5142102241516113, -0.029670588672161102, 0.21908436715602875, -0.696850061416626, -0.19113823771476746, 0.30655738711357117, 0.20993198454380035, 0.6062830090522766, -0.473256915807724, 0.16169187426567078, 0.1604028046131134, -0.8552718162536621, 0.29124462604522705, -0.05907884240150452, -0.12459184229373932, 0.14067576825618744, 0.2707138657569885, 1.1392322778701782, 0.3379025459289551, -1.1246241331100464, 0.7714268565177917, -0.07090289890766144, -0.2351256012916565, -0.1065790206193924, 0.2624402344226837, -0.24071817100048065, 0.5149513483047485, 0.46528831124305725, -0.140284925699234, 0.19230151176452637, -0.6421582102775574, 0.43830016255378723, 0.6766396164894104, -0.17752660810947418, -0.16516923904418945, 1.1683470010757446, -0.03855627402663231, -0.2687653601169586, 0.6887168884277344, 0.017809109762310982, -0.47755324840545654, 0.7701866626739502, 0.004464279860258102, 0.9248327016830444, -0.05124777927994728, 0.609675943851471, 0.34290140867233276, -0.035789765417575836, -0.5346694588661194, 0.30412086844444275, -0.2892785370349884, -0.5805468559265137, -0.6579824686050415, -0.7905341386795044, -0.4618311822414398, 0.43750396370887756, -0.9331002831459045, 0.3361574113368988, -0.39216065406799316, -0.31618374586105347, -0.20288024842739105, -0.23162955045700073, -0.8539315462112427, 0.45806723833084106, 0.4929918646812439, 1.2193992137908936, -0.9294217824935913, 0.9105801582336426, 0.42637231945991516, -0.1913226693868637, -0.6713686585426331, -0.19520540535449982, -0.09863895177841187, -0.5790853500366211, 0.5782920122146606, 0.18358878791332245, 0.3468630015850067, -0.11559710651636124, -0.2337280958890915, -0.8254477977752686, 1.1806141138076782, 0.3618358373641968, -0.6002557873725891, -0.3682868480682373, 0.4572071433067322, 0.2970316410064697, -0.1795322597026825, 0.3458886444568634, 0.5304924845695496, 0.18047362565994263, 0.5311329960823059, -0.8282292485237122, -0.2112867534160614, 0.04185691103339195, 0.4184870421886444, 0.26714053750038147, -0.7342276573181152, 0.45326220989227295, -0.16842332482337952, 0.26312145590782166, 0.06397272646427155, 0.8434253931045532, 0.14959999918937683, 0.24634571373462677, 0.4829971492290497, 0.5872960090637207, 0.2741783559322357, 0.2673720121383667, 0.1771702766418457, -0.2870238423347473, 0.4325871169567108, 1.19107186794281, -0.1913575530052185, 0.9816188216209412, 0.6730204224586487, -0.37069204449653625, -0.014371839351952076, 0.6254884004592896, -0.23886297643184662, 0.669791042804718, -0.09977111965417862, 0.09244567900896072, -0.6003692746162415, 0.2901150584220886, -0.3257693946361542, 0.6346330642700195, 0.18171286582946777, -0.44195556640625, -0.27265703678131104, 0.3830556571483612, -0.1734507977962494, 0.05217453092336655, -0.8118962645530701, 0.7424533367156982, 0.05990105867385864, -0.60416179895401, 0.3628027141094208, -0.31165021657943726, 0.4835992157459259, -0.6208882331848145, 0.023682456463575363, -0.23529529571533203, 0.03266502544283867, -0.15446680784225464, -0.7563913464546204, 0.28195884823799133, 0.3700951039791107, -0.1034027487039566, -0.334817111492157, 0.5316652655601501, -0.7448278665542603, -0.24847574532032013, -0.1944284737110138, 0.2128814309835434, 0.08834974467754364, -0.39564165472984314, -0.459803968667984, 0.4504058063030243, -0.3013840317726135, -0.05580686405301094, 0.5103496313095093, 0.05869743227958679, -0.08495518565177917, 0.6456961035728455, 0.4082440435886383, 0.12587159872055054, 0.053646545857191086, -0.19349417090415955, 0.6645442843437195, -0.6032633781433105, -0.6718257069587708, -1.0189076662063599, 0.05557485297322273, -0.10316935926675797, -0.22490474581718445, 0.8108347058296204, 0.9196779131889343, 0.8347733616828918, -0.275088369846344, 0.6466076970100403, -0.02874908037483692, 0.07715978473424911, -0.8662673830986023, 0.27234160900115967, -0.28114214539527893, -0.033185575157403946, -0.6128580570220947, -1.2041175365447998, -0.34668049216270447, 0.5735459327697754, -0.16156211495399475, -0.3945029079914093, 0.6786479353904724, 0.9476838707923889, -0.2623743414878845, 0.1155712753534317, 0.4556678533554077, 0.16147373616695404, 0.1537494957447052, 0.6611994504928589, 0.5925173759460449, -0.571280300617218, 0.9984486103057861, 0.1946607083082199, 0.08551779389381409, -0.3043668270111084, -0.9729068875312805, -1.0033893585205078, -0.5512987971305847, -0.7097373604774475, -0.11489348113536835, 0.14037883281707764, 1.1830488443374634, 0.9914695024490356, -0.6501785516738892, -0.2625287175178528, 0.09020167589187622, 0.17750714719295502, -0.34474971890449524, -0.17009933292865753, 0.3611591160297394, 0.16546645760536194, -0.6565372943878174, 0.12529020011425018, 0.5330617427825928, -0.18194854259490967, -0.23181214928627014, -0.21761713922023773, 0.27430659532546997, -0.20492295920848846, 0.6546284556388855, 0.3581724166870117, -0.3815456032752991, -0.08561229705810547, 0.23922258615493774, 0.1525413990020752, 0.2899264991283417, 0.9670321941375732, -0.7076532244682312, 0.5070610046386719, 0.7016328573226929, 0.9317523837089539, 1.1880931854248047, 0.051068250089883804, 0.3065985143184662, -0.4664461612701416, 0.23552340269088745, 0.16359253227710724, 0.22610005736351013, 0.29091960191726685, -0.12108580768108368, 0.33530479669570923, 0.037445008754730225, -0.38249441981315613, -0.902265191078186, -0.007407463621348143, -0.9557057619094849, -0.3579353392124176, 1.4088985919952393, -0.14829887449741364, -0.25086793303489685, 0.21306318044662476, -0.29578033089637756, 0.1344088912010193, -0.2846029996871948, 0.7316993474960327, 0.6359220147132874, 0.27120575308799744, -0.5669015645980835, -0.5010823011398315, 0.6908098459243774, 0.38532692193984985, -0.6028892993927002, 0.0951324850320816, 0.3510577380657196, 0.3366008698940277, -0.457208514213562, 0.26602375507354736, 0.10448647290468216, 0.5274025797843933, -0.3692993223667145, -0.3850424587726593, -0.11211758852005005, -0.45144903659820557, -0.4363750219345093, 0.7158715128898621, -0.08989271521568298, -0.44723886251449585 ]
http://arxiv.org/abs/2407.03103v1
http://arxiv.org/pdf/2407.03103v1
Cactus: Towards Psychological Counseling Conversations using Cognitive Behavioral Theory
2024-07-03T13:41:31
2024-07-03T13:41:31
Suyeon Lee, Sunghwan Kim, Minju Kim, Dongjin Kang, Dongil Yang, Harim Kim, Minseok Kang, Dayi Jung, Min Hee Kim, Seungbeen Lee, Kyoung-Mee Chung, Youngjae Yu, Dongha Lee, Jinyoung Yeo
cs.CL
cs.CL
Recently, the demand for psychological counseling has significantly increased as more individuals express concerns about their mental health. This surge has accelerated efforts to improve the accessibility of counseling by using large language models (LLMs) as counselors. To ensure client privacy, training open-source LLMs faces a key challenge: the absence of realistic counseling datasets. To address this, we introduce Cactus, a multi-turn dialogue dataset that emulates real-life interactions using the goal-oriented and structured approach of Cognitive Behavioral Therapy (CBT). We create a diverse and realistic dataset by designing clients with varied, specific personas, and having counselors systematically apply CBT techniques in their interactions. To assess the quality of our data, we benchmark against established psychological criteria used to evaluate real counseling sessions, ensuring alignment with expert evaluations. Experimental results demonstrate that Camel, a model trained with Cactus, outperforms other models in counseling skills, highlighting its effectiveness and potential as a counseling agent. We make our data, model, and code publicly available.
[ -0.2571331858634949, -0.806289792060852, 0.5563749074935913, 0.7901142239570618, -0.018790939822793007, 0.11264999955892563, -0.6501752138137817, -0.4514188766479492, 0.0754271075129509, 0.3674600422382355, -1.1496483087539673, -0.7832490801811218, -0.3691302239894867, -0.12006489187479019, -0.24389706552028656, 1.1214890480041504, 0.24137413501739502, 0.3649761378765106, -0.004350137431174517, -0.02249975875020027, -0.7877679467201233, -0.32000619173049927, -0.6854588389396667, -0.1851644217967987, 0.4694881737232208, 0.32618284225463867, 1.0614780187606812, 0.4066080152988434, 0.1586146503686905, 0.180693581700325, 0.11429426819086075, -0.013543650507926941, -0.7438956499099731, -0.06898392736911774, -0.09322214126586914, -0.40305033326148987, -0.3770025372505188, 0.23689977824687958, 0.34654173254966736, 0.741806149482727, -0.6450607180595398, -0.03454514220356941, -0.035541635006666183, 0.23540468513965607, -0.5593039393424988, 0.36252614855766296, -0.7749109268188477, 0.2972088158130646, 0.036727480590343475, 0.07649289816617966, -0.6446398496627808, -0.658983051776886, 0.36772897839546204, -0.9062302708625793, 0.2937745451927185, -0.15718425810337067, 0.4654926359653473, 0.3314022421836853, -0.4666782021522522, -0.25751811265945435, -0.9768927693367004, 0.7239856123924255, -0.5725888013839722, 0.46401455998420715, 0.704224169254303, 0.254470556974411, -0.6309551000595093, -0.5417154431343079, -0.4673177897930145, -0.41031986474990845, -0.07152865082025528, 0.2349381297826767, -0.07410447299480438, 0.096866175532341, 0.1952005922794342, 0.30290335416793823, -0.23208923637866974, -0.17167825996875763, -0.18415771424770355, -0.2151295244693756, 0.5721824765205383, 0.530489981174469, 0.15719948709011078, 0.42810696363449097, -0.12835942208766937, -0.023686686530709267, -0.47145482897758484, 0.3950989544391632, 0.24636881053447723, 0.29514816403388977, -0.048222336918115616, 0.39898744225502014, 0.1386530101299286, 0.5838567614555359, -0.12376715242862701, -0.3817528784275055, -0.38142839074134827, -0.024081047624349594, -0.08456047624349594, 0.21363219618797302, 0.8730362057685852, 0.40684786438941956, 0.1980886608362198, -0.264701247215271, 0.4204337000846863, 0.30638623237609863, 0.6670565605163574, -0.7155333161354065, -0.38985031843185425, 0.3013831079006195, -0.3184719979763031, -0.23003073036670685, -0.1768198013305664, -0.6137564778327942, -0.4955067038536072, -0.46038660407066345, -0.36324337124824524, -0.6789232492446899, -0.30641692876815796, 0.09545303136110306, 0.09460722655057907, 0.36230751872062683, 0.4015060067176819, -0.6717825531959534, 0.8031112551689148, 0.8810588717460632, 0.8014315962791443, -0.17735496163368225, -0.32252755761146545, -0.4600699841976166, 0.40038490295410156, -0.46634921431541443, 0.6580474972724915, -0.8627243638038635, -0.7454283833503723, 0.21143698692321777, 0.03769572824239731, 0.08495680242776871, -0.11259102821350098, 0.5033950805664062, 0.03809947147965431, 0.21500413119792938, -0.47576746344566345, -0.33187171816825867, 0.27306845784187317, 0.5728830695152283, -0.24364687502384186, 0.8801146745681763, 0.209678053855896, -0.7734140753746033, 0.4381113648414612, -0.7659627795219421, -0.3013926148414612, 0.008424928411841393, -0.33571720123291016, -0.3494377136230469, -0.2049437314271927, 0.127567857503891, 0.06273823231458664, -0.35211366415023804, 0.20523229241371155, -0.6907511353492737, -0.4686513841152191, 0.7338553667068481, -0.3688237965106964, 0.6174377799034119, 0.30548375844955444, 0.018407432362437248, 0.1400873363018036, -0.7697046399116516, 0.14897391200065613, 0.04419141635298729, -0.4280757009983063, -0.29446738958358765, 0.03761691972613335, -0.03866559639573097, -0.05613366514444351, -0.06365793198347092, -1.0980111360549927, 0.40118423104286194, -0.4223807156085968, 0.5495489835739136, 0.5548616647720337, -0.01476194616407156, -0.016953106969594955, -0.21357719600200653, 0.45065417885780334, 0.03318461403250694, 0.5536881685256958, 0.04962458461523056, -0.5946015119552612, -0.442229688167572, -0.417259156703949, -0.276614248752594, 0.40010198950767517, -0.4232717454433441, 0.28747203946113586, 0.06571377068758011, -0.8960126042366028, -0.5947014093399048, 0.09308023005723953, 0.5038787722587585, 0.4141012132167816, 0.2956252992153168, -0.5640735626220703, -0.017424728721380234, -0.6125831604003906, -0.3401651680469513, -0.1599452644586563, 0.11571762710809708, 0.4408871829509735, -0.009001112543046474, -0.12273309379816055, 1.4277293682098389, -0.9577211141586304, -0.3748612701892853, -0.11750873178243637, 0.21077248454093933, 0.11142108589410782, 0.59534752368927, 0.4562825560569763, -0.37158897519111633, -0.3969418704509735, -0.23505692183971405, -0.6218889355659485, 0.12676255404949188, -0.14505577087402344, -0.35024359822273254, -0.2346557080745697, 0.052521321922540665, -0.5623407959938049, 0.7704700231552124, 0.22892829775810242, -0.2444695681333542, 0.6140857934951782, -0.42482781410217285, -0.11491384357213974, -0.7463040351867676, -0.21149811148643494, 0.13375696539878845, -0.05439639836549759, -0.6441106200218201, -0.31977587938308716, 0.024346379563212395, -0.48440274596214294, -0.6094873547554016, -0.010663867928087711, -0.2376871109008789, -0.19831503927707672, -0.19553551077842712, -0.11680202931165695, -0.34713631868362427, 0.8959723114967346, 0.3903551697731018, 0.8669443130493164, 0.48044949769973755, -0.48812317848205566, 0.5373042821884155, 0.7855079770088196, -0.07572115957736969, 0.9908046126365662, -0.5955447554588318, 0.34006088972091675, -0.01923503167927265, 0.7610719799995422, -0.755754292011261, -0.03540439158678055, 0.4162333011627197, -0.043371714651584625, -0.06607351452112198, -0.12713979184627533, -0.17992925643920898, -0.3515929579734802, -0.4109334945678711, 0.5174299478530884, 0.11572134494781494, -0.47440508008003235, 0.12668922543525696, 0.1729089915752411, -0.24223604798316956, -0.6766987442970276, -0.453753262758255, 0.27771085500717163, -0.10088743269443512, -0.4606902301311493, 0.2750755250453949, -0.4077889621257782, -0.06589345633983612, -0.09824611991643906, 0.25196373462677, -0.10777322202920914, -0.0476326160132885, 0.5212510228157043, 0.22252576053142548, 0.059108760207891464, 0.29088321328163147, 0.21573300659656525, -0.3048243224620819, 0.23398447036743164, -0.32967591285705566, 0.6005863547325134, -0.47863954305648804, -0.6952086091041565, -0.5447729229927063, 0.22224412858486176, 0.2709156274795532, -0.5123564600944519, 0.893307626247406, 0.6751760244369507, -0.35299423336982727, -0.0686943307518959, -0.4885062873363495, 0.057317912578582764, -0.4476436972618103, -0.0202903151512146, -0.18633662164211273, -0.5368973612785339, 0.22677375376224518, -0.05432017892599106, 0.39936813712120056, -0.3497290313243866, 0.6317859888076782, 0.08531282097101212, 1.1754802465438843, 0.71825110912323, 0.03936776891350746, 0.679718554019928, -0.23865771293640137, 0.2761114239692688, -0.7501609921455383, -0.24832037091255188, -0.3047800660133362, -0.12355400621891022, -0.34211763739585876, -0.03595318645238876, 0.37763386964797974, -0.2518068552017212, -0.4283978343009949, 0.4631378948688507, -0.8176546096801758, 0.32265836000442505, 0.45038333535194397, 0.3870089054107666, 0.5157982707023621, -0.3668866455554962, -0.10194920003414154, -0.433689683675766, -0.2985713481903076, -0.5435723066329956, 0.8207664489746094, 0.39610153436660767, 0.915265679359436, 0.2060452401638031, 0.3072860836982727, 0.16268466413021088, 0.7782341241836548, -0.9919532537460327, 0.4831450879573822, 0.36831238865852356, -0.622641921043396, -0.29749852418899536, -0.0858747810125351, -1.1453288793563843, 0.25242072343826294, -0.30195382237434387, -1.0204908847808838, 0.1993604451417923, -0.06087071821093559, -0.2361842393875122, 0.003030212828889489, -0.3058851361274719, 0.8312121033668518, -0.16535139083862305, -0.4845098853111267, -0.456137090921402, -0.6820570230484009, 0.614533007144928, -0.07262023538351059, 0.25813284516334534, -0.3611742854118347, 0.2194305658340454, 0.5302837491035461, -0.9330693483352661, 0.9885438680648804, -0.1015898734331131, -0.2764192521572113, 0.3881743252277374, 0.3416980803012848, 0.32526254653930664, 0.3253796398639679, -0.02826644666492939, -0.19691292941570282, 0.734926700592041, -0.517997682094574, -0.5503259897232056, 0.6615480780601501, -1.1516187191009521, -0.4497066140174866, -0.39744114875793457, -0.7581263780593872, -0.6087444424629211, 0.01694582588970661, -0.011195742525160313, 0.35071882605552673, -0.7182968258857727, -0.08513735979795456, 0.2355789840221405, -0.49556735157966614, 0.043715525418519974, 0.8093425035476685, -0.1605636328458786, -0.4257805347442627, 0.8906639814376831, -0.08524594455957413, 0.1649683564901352, -0.37574297189712524, 0.28198498487472534, -0.09758684784173965, -0.10279526561498642, -0.05775431916117668, 0.40495243668556213, -0.8331027626991272, 0.07597693055868149, -0.5931158065795898, 0.019820425659418106, -0.5622376799583435, -0.0786806270480156, -0.4604642689228058, -0.11234873533248901, -0.19299446046352386, -0.18686817586421967, 0.5723317861557007, 0.8106748461723328, 0.14794203639030457, 0.726805567741394, -0.7814995646476746, 0.11122023314237595, 0.2136504203081131, 0.49535760283470154, 0.1191190853714943, 0.18988542258739471, -0.1166558712720871, 0.35964125394821167, -0.8494186997413635, -1.0745998620986938, 0.4775448739528656, 0.053084902465343475, 0.4387405812740326, 0.5664674639701843, 0.27457395195961, 1.0393162965774536, -0.1602151244878769, 0.8607887625694275, 0.24935521185398102, -0.9257245659828186, 0.7590388059616089, -0.5105669498443604, -0.17807208001613617, 0.6642203330993652, 0.256041556596756, -0.7943086624145508, -0.6470680832862854, -0.6320376396179199, -0.36738792061805725, 1.0630788803100586, 0.318964421749115, 0.12025158852338791, -0.2124156653881073, 0.5235673785209656, 0.23060889542102814, 0.32618483901023865, -0.7053585052490234, 0.0710359737277031, -0.5838914513587952, -0.43380671739578247, 0.1771373748779297, 0.23962752521038055, -0.4434294104576111, -0.22489620745182037, 0.6768659353256226, -0.2561492323875427, 0.37952330708503723, 0.2891945540904999, 0.1761493682861328, -0.30898234248161316, 0.2211889773607254, 0.26984843611717224, 0.5011443495750427, -0.12935149669647217, -0.08280891925096512, 0.4729314148426056, -0.5494587421417236, 0.08765267580747604, -0.2445463091135025, 0.40285196900367737, -0.34543904662132263, 0.09289256483316422, 0.31373387575149536, 0.2275829315185547, -0.6195031404495239, 0.6865891814231873, -0.6125825643539429, -0.019352121278643608, -0.6957540512084961, 0.35719403624534607, 0.13230441510677338, 0.08719328790903091, -0.23862643539905548, -0.2931234538555145, 0.03956912085413933, -0.8359377980232239, -0.1771078109741211, 0.5187444090843201, -0.9893956184387207, -0.26560741662979126, 0.5635189414024353, 0.031193578615784645, -0.6524218916893005, 1.0182766914367676, 0.3229510188102722, -0.028131309896707535, 0.47091102600097656, 0.7454641461372375, 0.3775959610939026, 0.0851425901055336, 0.28345391154289246, 0.026457270607352257, -0.05019368603825569, -0.13369345664978027, 0.09693120419979095, -0.49853992462158203, -0.6259703636169434, -0.16762517392635345, -0.26031967997550964, -1.0467801094055176, 0.00462994072586298, -1.042470097541809, 0.3692856729030609, -0.7902236580848694, -0.3096761405467987, -0.26108965277671814, -0.05973625183105469, -0.7384313344955444, 0.02273695357143879, 0.016922837123274803, 0.9744758605957031, -0.6480855941772461, 1.0850895643234253, 0.5089325308799744, -0.5331289768218994, -0.8132039308547974, -0.15688499808311462, 0.15164707601070404, -0.9389477968215942, 0.09798033535480499, 0.17751918733119965, -0.26551908254623413, -0.0761350765824318, -0.9667986035346985, -0.5625754594802856, 1.3060520887374878, 0.5610889196395874, -0.17562353610992432, 0.06771951913833618, 0.4336090683937073, 0.798514187335968, -0.47643330693244934, 0.5089557766914368, 0.9091728925704956, 0.46265724301338196, 0.3350800573825836, -0.6839548945426941, 0.04326409846544266, -0.24751223623752594, 0.042000625282526016, -0.07641991227865219, -0.9359422326087952, 0.5293941497802734, -0.19394981861114502, -0.17845067381858826, 0.3634759485721588, 0.6719023585319519, 0.3303441107273102, 0.2682226896286011, 0.5489796996116638, 0.16347309947013855, 1.0111509561538696, -0.02115459553897381, 0.9701966047286987, -0.5364847183227539, 0.28848913311958313, 1.159764289855957, -0.5365133881568909, 0.5270732641220093, 0.20755311846733093, -0.2575684189796448, 0.5231643915176392, 0.8129572868347168, -0.10012061148881912, 0.3044421076774597, 0.29832619428634644, -0.2945144474506378, -0.38637474179267883, -0.6443114876747131, -0.3522462844848633, 0.2169668823480606, 0.7648282051086426, -0.00890381820499897, 0.06859331578016281, 0.038007140159606934, 0.08366286009550095, 0.15211106836795807, 0.08080390840768814, 0.8680923581123352, 0.3186553120613098, -0.8063558340072632, 0.24735604226589203, -0.0874210000038147, 0.27763310074806213, -0.6966990232467651, -0.10837201774120331, -0.08192060142755508, 0.3735836446285248, -0.40060216188430786, -0.8574374914169312, 0.2651587426662445, 0.12817229330539703, 0.40459585189819336, -0.2644595801830292, 0.6918197870254517, -0.39021629095077515, -0.5312632322311401, 0.28072306513786316, 0.32995662093162537, 0.4577997326850891, 0.023847637698054314, -0.6571530103683472, -0.07839576154947281, -0.4958983361721039, -0.11369527876377106, 0.2711004912853241, 0.40053051710128784, -0.11656484752893448, 0.9010130763053894, 1.0134838819503784, 0.09662686288356781, -0.26551303267478943, 0.11732266843318939, 1.0607826709747314, -0.832191526889801, -0.7761272192001343, -0.6646651029586792, 0.06357715278863907, -0.04362713545560837, -0.4890918731689453, 0.47495266795158386, 0.22894872725009918, 0.41638806462287903, 0.30365562438964844, 0.6199788451194763, 0.3236307203769684, 0.4274155795574188, -0.10568823665380478, 0.3830876052379608, -0.023787062615156174, 0.4044642746448517, -0.3933146297931671, -0.9762635827064514, -0.12958869338035583, 0.7232978940010071, -0.6077921986579895, -0.2344249188899994, 0.5263423323631287, 0.7521761655807495, -0.06373666971921921, 0.7698927521705627, 0.1271919459104538, 0.27243322134017944, 0.9676631093025208, 0.6696656942367554, 1.36382257938385, 0.11456362903118134, 0.8238030076026917, -0.30279117822647095, -0.26239919662475586, 0.15164627134799957, -0.7860186696052551, -0.8224726319313049, -0.14260968565940857, -0.17659978568553925, -0.3249044716358185, -0.1919698864221573, 1.3321712017059326, 0.630467414855957, -0.4106302559375763, -0.3234539031982422, -0.22768108546733856, -0.2117987424135208, -0.3766222894191742, -0.16924236714839935, 0.029697218909859657, -0.23587572574615479, -0.30539193749427795, 0.44243356585502625, 0.1807064265012741, -0.09256859868764877, -0.4755907356739044, -0.25704050064086914, 0.2818721830844879, 0.20973511040210724, 0.2850624620914459, 0.22134089469909668, -0.6800668835639954, -0.3255629539489746, -0.22624769806861877, -0.12118572741746902, 0.40196922421455383, 1.1814731359481812, -0.8763406872749329, 0.2731378376483917, -0.2671281397342682, 0.37959760427474976, 0.8893831968307495, 0.07110821455717087, 0.8439780473709106, -0.56070876121521, 0.2396378368139267, -0.03100275620818138, 0.25885066390037537, 0.2484634667634964, -0.6581516265869141, 0.5993465781211853, -0.022297026589512825, -0.3397141098976135, -0.6375080943107605, 0.2983371317386627, -1.084257960319519, -0.28931504487991333, 0.8835257887840271, -0.5929392576217651, -0.22015619277954102, -0.5893092155456543, -0.8773470520973206, 0.4737124443054199, -0.576431393623352, 0.8508009910583496, 0.7517316937446594, -0.4450036585330963, 0.14603480696678162, -0.21768519282341003, 0.47859641909599304, 0.3239413797855377, -0.8206349015235901, 0.406246155500412, 0.32978978753089905, 0.4169791340827942, 0.12332583218812943, 0.9044913649559021, -0.07219564914703369, 0.14545120298862457, -0.12622417509555817, -0.06418825685977936, -0.22701461613178253, -0.06850634515285492, 0.02739434875547886, 0.001435373560525477, 0.24442823231220245, 0.1321244239807129 ]
http://arxiv.org/abs/2407.03076v1
http://arxiv.org/pdf/2407.03076v1
A Case Study on Context-Aware Neural Machine Translation with Multi-Task Learning
2024-07-03T12:50:49
2024-07-03T12:50:49
Ramakrishna Appicharla, Baban Gain, Santanu Pal, Asif Ekbal, Pushpak Bhattacharyya
cs.CL
cs.CL
In document-level neural machine translation (DocNMT), multi-encoder approaches are common in encoding context and source sentences. Recent studies \cite{li-etal-2020-multi-encoder} have shown that the context encoder generates noise and makes the model robust to the choice of context. This paper further investigates this observation by explicitly modelling context encoding through multi-task learning (MTL) to make the model sensitive to the choice of context. We conduct experiments on cascade MTL architecture, which consists of one encoder and two decoders. Generation of the source from the context is considered an auxiliary task, and generation of the target from the source is the main task. We experimented with German--English language pairs on News, TED, and Europarl corpora. Evaluation results show that the proposed MTL approach performs better than concatenation-based and multi-encoder DocNMT models in low-resource settings and is sensitive to the choice of context. However, we observe that the MTL models are failing to generate the source from the context. These observations align with the previous studies, and this might suggest that the available document-level parallel corpora are not context-aware, and a robust sentence-level model can outperform the context-aware models.
[ -0.1699220836162567, -0.8300498723983765, 0.5171170234680176, 0.09914162009954453, -0.26515430212020874, -0.3437482714653015, -0.3737733066082001, -0.1913587749004364, -0.41752558946609497, 0.3211902379989624, -0.6298328638076782, -0.29045069217681885, -0.8130291700363159, 0.35280096530914307, -0.4259931743144989, 0.9363980889320374, -0.2233092188835144, 0.20502665638923645, -0.27888670563697815, -0.2776372730731964, -0.8343483805656433, -0.8198713660240173, -0.8888439536094666, -0.21405498683452606, 0.5943291187286377, 0.08409754931926727, 0.22563961148262024, 0.429330050945282, 0.3375236690044403, 0.23018012940883636, -0.07406150549650192, 0.4145169258117676, -0.18079937994480133, 0.3345077335834503, 0.07265631854534149, -0.4039035141468048, -0.3147584795951843, -0.08652130514383316, 0.4325471520423889, 0.6557593941688538, -0.01021161861717701, -0.010394166223704815, 0.36393409967422485, 0.24533796310424805, -0.48863843083381653, 0.10082440823316574, -0.7877605557441711, 0.048006847500801086, -0.09138980507850647, -0.32969579100608826, -0.717115581035614, 0.467369943857193, -0.015292025171220303, -0.3973996639251709, 0.27259838581085205, 0.1823599636554718, 0.5299380421638489, 0.5444892048835754, -0.9580175876617432, -0.4498794972896576, -0.562954306602478, 0.6838493943214417, -0.622285008430481, 0.4445595145225525, 0.25752460956573486, 0.17772790789604187, -0.005508947651833296, -0.6047406792640686, -0.3777991235256195, -0.08710981905460358, -0.2612519860267639, 0.30429911613464355, 0.03419818356633186, -0.2888641953468323, 0.2308064103126526, 0.05640921741724014, -0.4556107521057129, -0.12289939075708389, -0.39761611819267273, -0.050359126180410385, -0.23095524311065674, 0.1184784471988678, 0.058152228593826294, -0.44693413376808167, -0.5851879119873047, 0.05660809949040413, -0.6125580668449402, 0.08954611420631409, -0.009154588915407658, 0.49559447169303894, -0.1226549744606018, 0.4387178421020508, 0.2191244512796402, 0.8590719699859619, 0.24770890176296234, -0.06120229884982109, 0.279952734708786, -0.5916041731834412, -0.24083150923252106, 0.027329251170158386, 0.6783586740493774, 0.18144692480564117, -0.16318978369235992, -0.4170815646648407, -0.402997225522995, -0.005398956127464771, 0.6253327131271362, -0.7052962183952332, 0.4304317831993103, 0.356975793838501, -0.3727957606315613, 0.005902575794607401, -0.305686891078949, -0.07626866549253464, 0.0026418406050652266, -0.47886988520622253, 0.4199570119380951, -0.7199357748031616, -0.11334507912397385, -0.07319477945566177, -0.13797533512115479, -0.08961006999015808, 0.13414016366004944, -0.6091353893280029, 0.136698380112648, 0.4709691107273102, 0.8303564786911011, -0.19945791363716125, -0.7139036059379578, -0.6547363996505737, 0.3761867880821228, -0.26679956912994385, 0.44766294956207275, -0.2096894085407257, -0.11760679632425308, -0.030002975836396217, 0.12298290431499481, -0.5290859937667847, -0.3865346312522888, 0.6979584693908691, -0.43870043754577637, 0.24144282937049866, -0.32028210163116455, -0.2430523931980133, -0.08925545960664749, 0.46342334151268005, -0.5234948992729187, 0.8282914757728577, 0.20808157324790955, -0.852419376373291, 0.42960649728775024, -0.8661808371543884, -0.7785953879356384, -0.30812886357307434, 0.018022874370217323, -0.19515325129032135, 0.29921209812164307, 0.31274908781051636, 0.615846574306488, -0.09844514727592468, 0.7433419227600098, 0.18192097544670105, -0.17391309142112732, 0.29912322759628296, -0.659795343875885, 0.6714736819267273, 0.37001290917396545, -0.34166333079338074, 0.2504994869232178, -0.39779552817344666, -0.4042727053165436, -0.015578392893075943, -0.5954073071479797, -0.5016943216323853, 0.009432832710444927, 0.3686828315258026, 0.8332549929618835, 0.18022207915782928, -0.47323039174079895, -0.09239421039819717, -0.14365381002426147, 0.7699341177940369, 0.43746501207351685, -0.1665482074022293, 0.44970351457595825, -0.3342169523239136, 0.1683148443698883, 0.5480386018753052, -0.05657739192247391, -0.2972094416618347, -0.2537388503551483, -0.5647428631782532, -0.116168312728405, 0.2944734990596771, 0.4369058609008789, -0.8799293041229248, 0.1245669424533844, -0.3267747163772583, 0.07805316895246506, -0.6113988161087036, -0.005656053777784109, 0.4546257257461548, 0.9637429118156433, 0.5081483721733093, -0.2018226534128189, -0.4182836413383484, -0.8285147547721863, -0.20219121873378754, 0.42774975299835205, 0.0404420830309391, 0.42221200466156006, 0.5651726126670837, -0.24369947612285614, 0.6952537894248962, 0.06278397887945175, -0.33509722352027893, -0.1559273898601532, 0.3248141407966614, -0.014202154241502285, 0.603150486946106, 0.506981372833252, -0.9871906042098999, -0.38304945826530457, 0.02317233756184578, -0.9360043406486511, 0.2579423189163208, -0.16406609117984772, -0.039571814239025116, 0.3487280607223511, 0.4745805561542511, -0.7772494554519653, 0.008339913561940193, 0.6821950674057007, -0.1204417422413826, 0.16835887730121613, -0.6214106678962708, 0.19183868169784546, -1.6639024019241333, 0.23901963233947754, -0.06213422119617462, -0.2753390371799469, -0.8562987446784973, 0.2520163953304291, 0.49034810066223145, -0.21297003328800201, -0.5677616000175476, 0.1954033374786377, -0.553068995475769, -0.10167703032493591, -0.4327693581581116, 0.02401278167963028, 0.02306574396789074, 0.6109423637390137, 0.1863163709640503, 0.7761658430099487, 0.48072704672813416, -0.5822489261627197, -0.2100149393081665, 0.07472044974565506, -0.03681136295199394, 0.8940189480781555, -0.38546350598335266, 0.21749813854694366, -0.28640344738960266, 0.47376707196235657, -0.6914302110671997, -0.20438575744628906, 0.25806909799575806, -0.26837193965911865, 0.48456135392189026, 0.013980223797261715, -0.6389141082763672, -0.2357824742794037, 0.22065125405788422, 0.3994653820991516, 0.12156195938587189, -0.3748690187931061, 0.5163326263427734, 0.1370832622051239, 0.07465913146734238, -0.6758077144622803, -0.9615657329559326, 0.29374316334724426, -0.3774070739746094, -0.47528183460235596, 0.5064919590950012, -0.10063432157039642, 0.23568709194660187, 0.11355358362197876, -0.2881198823451996, -0.2144673466682434, 0.28340357542037964, 0.37095990777015686, 0.07382703572511673, -0.19734789431095123, 0.039040785282850266, 0.14120012521743774, -0.011814490891993046, 0.0034697495866566896, -0.6699573397636414, 0.4671221375465393, -0.10758339613676071, -0.3153741657733917, -0.1318293809890747, 0.7170060873031616, 0.692497730255127, -0.3966692388057709, 0.9686179161071777, 0.8841860294342041, -0.5389153361320496, -0.1753588318824768, -0.22125941514968872, -0.20017696917057037, -0.3728478252887726, 0.39215099811553955, -0.7895163893699646, -0.7675333619117737, 0.2881059944629669, -0.13818852603435516, 0.059324961155653, 0.5607014298439026, 0.5979713797569275, -0.05510256066918373, 0.8925327062606812, 0.5136489868164062, 0.11420145630836487, 0.29399749636650085, -0.19334082305431366, 0.10211063921451569, -1.2395579814910889, -0.034674495458602905, -0.4123004972934723, -0.3202205002307892, -0.25241732597351074, -0.3975311517715454, 0.4227081537246704, -0.014063860289752483, -0.091562919318676, 0.7611711621284485, -0.49692606925964355, 0.0738510861992836, 0.8098759055137634, 0.10259494930505753, 0.2721017003059387, -0.04691311717033386, -0.37620672583580017, 0.12050845474004745, -0.970463752746582, -0.4502306282520294, 1.0941814184188843, -0.09161361306905746, 0.11158072203397751, 0.013267114758491516, 0.5258795022964478, 0.011469804681837559, 0.28006091713905334, -0.38065090775489807, 0.13598932325839996, -0.2804622948169708, -0.7653369903564453, -0.1318964660167694, -0.5349684953689575, -1.0294859409332275, 0.5058975219726562, 0.004996136296540499, -0.3519013226032257, 0.0016893659485504031, -0.03847237303853035, -0.20714420080184937, 0.1111651137471199, -0.5937804579734802, 1.147202730178833, -0.2880016565322876, -0.20987297594547272, -0.15415063500404358, -0.7975549101829529, 0.3343275785446167, -0.3326146602630615, 0.4833182096481323, 0.24404598772525787, -0.055222101509571075, 0.39401769638061523, -0.024127960205078125, 0.8880262970924377, -0.061431434005498886, -0.10901731997728348, 0.07250912487506866, 0.00857291929423809, 0.45515111088752747, -0.10172013938426971, -0.14342914521694183, 0.05613352358341217, -0.12977929413318634, -0.302877813577652, -0.19109134376049042, 0.8149378299713135, -0.6939617395401001, -0.5396223664283752, -0.23718471825122833, -1.0952824354171753, -0.18494965136051178, 0.2926885485649109, 0.6254580020904541, 0.738707959651947, -0.017201397567987442, 0.20904338359832764, 0.3935222923755646, 0.05591290816664696, 0.7049157619476318, 0.5049459934234619, 0.42474690079689026, -0.19947481155395508, 0.6592441201210022, 0.32721763849258423, 0.263438880443573, 0.4961342513561249, -0.07085695117712021, -0.10734683275222778, -0.5053955316543579, -0.74779212474823, -0.25972771644592285, -0.756186306476593, -0.02766881138086319, -0.85944664478302, -0.15566618740558624, -0.2925451993942261, -0.1973482221364975, -0.198032945394516, -0.1562887579202652, -0.11675377935171127, 0.08757640421390533, -0.2649378180503845, 0.5020053386688232, 0.1166478842496872, 0.2696383595466614, -0.6171140074729919, 0.43485718965530396, 0.07630749046802521, 0.007536346558481455, -0.0797789990901947, -0.405188649892807, -0.4078652262687683, 0.11336993426084518, -0.28730902075767517, -0.9194127321243286, 0.5123218894004822, 0.0306574497371912, 0.6202215552330017, 0.07788796722888947, 0.12183224409818649, 0.35995516180992126, -0.8367966413497925, 0.6440555453300476, 0.10369368642568588, -0.8295729160308838, 0.3993951380252838, -0.39630839228630066, 0.6157900094985962, 0.4065849184989929, 0.2746252417564392, -0.6636612415313721, -0.6134203672409058, -0.4389615058898926, -0.6624260544776917, 0.8102961182594299, 0.14719723165035248, 0.28904908895492554, -0.23754069209098816, 0.1060563176870346, 0.36458832025527954, 0.48730671405792236, -0.8197387456893921, -0.2315330058336258, -0.3742290139198303, -0.2797354757785797, -0.3095345199108124, -0.09524472057819366, -0.20688994228839874, 0.07482805848121643, 0.29481199383735657, -0.15760044753551483, 0.29773780703544617, 0.2496057152748108, -0.5178555846214294, -0.03015943244099617, 0.5123178958892822, 0.9181842803955078, 0.5546831488609314, -0.2992294132709503, 0.5254524350166321, 0.12738043069839478, -0.10331130027770996, 0.031176796182990074, 0.24327880144119263, -0.309017539024353, 0.18316301703453064, 0.24647298455238342, 0.9896757006645203, 0.46905750036239624, -0.29430726170539856, 0.4851491153240204, 0.051728010177612305, -0.32941487431526184, 0.014451423659920692, -0.41609275341033936, 0.39983412623405457, 0.11599516123533249, 0.48024439811706543, 0.7513768076896667, 0.09712634980678558, -0.5171335339546204, 0.12316779047250748, 0.3338600695133209, -0.49667486548423767, -0.3218355178833008, 1.040970802307129, 0.20141585171222687, -0.26176878809928894, 0.4147719740867615, -0.24327413737773895, -0.5251132845878601, 0.6303039193153381, 0.9086005687713623, 0.7464158535003662, -0.008070140145719051, -0.08300262689590454, 0.2690916061401367, 0.5237024426460266, -0.13694055378437042, -0.03501282259821892, -0.13154928386211395, -0.5609182715415955, -0.508571445941925, -0.36970749497413635, -0.2018967866897583, 0.05873040854930878, -0.48396119475364685, -0.09299325942993164, 0.16632558405399323, -0.314300537109375, -0.10556874424219131, -0.4563421607017517, -0.8910367488861084, 0.03261500224471092, 0.07273104041814804, 0.6777163147926331, -0.6966997981071472, 1.1102491617202759, 0.7208111882209778, -0.277625173330307, -0.4706989824771881, 0.10610630363225937, -0.09057674556970596, -0.4371045231819153, 0.7315024137496948, 0.45678451657295227, 0.09102349728345871, 0.08252965658903122, -0.03521789610385895, -0.5978595018386841, 1.2252285480499268, 0.510357677936554, -0.359250545501709, -0.15124711394309998, 0.1134871244430542, 0.3332979679107666, -0.6818626523017883, -0.057367123663425446, -0.015097285620868206, 0.3293963670730591, -0.21799245476722717, -0.94110107421875, 0.287454217672348, -0.16408224403858185, 0.08066228777170181, 0.10282900184392929, -0.5079675316810608, 1.1833864450454712, 0.03833979740738869, -0.24165527522563934, -0.2782829999923706, 0.32116270065307617, -0.01167217642068863, 0.3840121626853943, 0.4546632170677185, 0.3792574405670166, 0.5812518000602722, 0.0054704598151147366, 1.284597635269165, -0.6695092916488647, 0.09371846914291382, 1.2430909872055054, -0.22754134237766266, 0.8918052315711975, 0.6872723698616028, 0.4287455081939697, 0.11367101222276688, 0.5527223944664001, 0.23506677150726318, 0.8149623274803162, -0.12114711850881577, -0.14031891524791718, -0.1766238510608673, -0.2138361632823944, -0.33251625299453735, 0.23535247147083282, 0.1631487011909485, -0.43353408575057983, -0.27238261699676514, 0.4394407868385315, -0.08747108280658722, -0.15505337715148926, -0.2174936681985855, 0.5635210275650024, 0.35509559512138367, -0.9253988862037659, 0.6045780181884766, 0.3765239119529724, 0.7699536085128784, -0.43545225262641907, 0.3369063436985016, -0.11042336374521255, 0.12115740031003952, 0.16544409096240997, -0.28486981987953186, 0.5626270771026611, -0.08763168752193451, -0.3935718536376953, -0.6025263667106628, 0.7187854051589966, -0.6877274513244629, -0.3405839204788208, 0.3059004247188568, 0.9320289492607117, -0.14172935485839844, -0.2836219370365143, -0.4904792606830597, -0.19989049434661865, -0.413255900144577, -0.17503489553928375, 0.5503203868865967, 0.6130176782608032, 0.025446273386478424, 0.32571345567703247, 0.5907328724861145, -0.30838048458099365, 0.24386847019195557, -0.04573814198374748, 0.47728002071380615, -0.3926393389701843, -0.38716110587120056, -0.7463579773902893, 0.49839043617248535, 0.010390017181634903, -0.3793444335460663, 0.7942863702774048, 0.531367301940918, 0.825353741645813, -0.3704488277435303, 0.7017583847045898, -0.08211329579353333, 0.041142430156469345, -0.4670673906803131, 0.6080178022384644, -0.6640580296516418, 0.011351286433637142, 0.11338646709918976, -0.7129203081130981, -0.05114195495843887, 0.14856117963790894, -0.14086942374706268, -0.20281419157981873, 1.1563233137130737, 0.5194277763366699, -0.33878639340400696, -0.20057277381420135, 0.4277316927909851, -0.07816758751869202, -0.21280540525913239, 0.8914498686790466, 0.6895718574523926, -0.5489637851715088, 0.7116279006004333, -0.16570833325386047, 0.15518204867839813, -0.07718673348426819, -0.8279772400856018, -0.8830271363258362, -0.8337224721908569, -0.14713530242443085, -0.18090355396270752, 0.19721943140029907, 0.6146671772003174, 0.9099006056785583, -0.6496559381484985, -0.0639265850186348, -0.21746771037578583, 0.02975296787917614, -0.7499884366989136, -0.11095290631055832, 0.3347463011741638, -0.6983909010887146, -0.9231484532356262, 0.7393973469734192, 0.1204429417848587, -0.24684353172779083, 0.04630545526742935, -0.20680220425128937, -0.23129096627235413, -0.05421516299247742, 0.6311653256416321, -0.2615495026111603, -0.8648049235343933, -0.1897941678762436, 0.09138854593038559, -0.6514283418655396, 0.23436841368675232, 0.7663541436195374, -0.456277459859848, 0.1878347396850586, 0.24382805824279785, 0.765123188495636, 0.5809949636459351, -0.18643134832382202, 0.6669757962226868, -1.087112545967102, 0.04996557533740997, -0.2784121632575989, 0.539596438407898, 0.4191332161426544, -0.3734075725078583, 0.46239590644836426, 0.1613907665014267, -0.30486640334129333, -0.5752867460250854, 0.08662869036197662, -0.9302389621734619, -0.5962794423103333, 0.9986846446990967, -0.1662929356098175, -0.1784093677997589, -0.05032326281070709, -0.1548488885164261, 0.5117816925048828, -0.23164595663547516, 0.514141321182251, 0.7742263674736023, 0.24249610304832458, -0.1950509399175644, -1.1253612041473389, 0.19470563530921936, 0.49064791202545166, -0.5245360136032104, -0.09585677832365036, 0.39542990922927856, 0.25465837121009827, 0.2935697138309479, 0.3772284686565399, 0.19132797420024872, 0.21645177900791168, 0.15400345623493195, -0.20353420078754425, -0.5205861330032349, -0.2784661650657654, -0.3610815107822418, 0.6162012815475464, -0.10510627925395966, -0.34660619497299194 ]
http://arxiv.org/abs/2407.03061v1
http://arxiv.org/pdf/2407.03061v1
ALTER: Augmentation for Large-Table-Based Reasoning
2024-07-03T12:34:45
2024-07-03T12:34:45
Han Zhang, Yuheng Ma, Hanfang Yang
cs.CL
cs.CL
While extensive research has explored the use of large language models (LLMs) for table-based reasoning, most approaches struggle with scalability when applied to large tables. To maintain the superior comprehension abilities of LLMs in these scenarios, we introduce ALTER(Augmentation for Large-Table-Based Reasoning)-a framework designed to harness the latent augmentation potential in both free-form natural language (NL) questions, via the query augmentor, and semi-structured tabular data, through the table augmentor. By utilizing only a small subset of relevant data from the table and supplementing it with pre-augmented schema, semantic, and literal information, ALTER achieves outstanding performance on table-based reasoning benchmarks. We also provide a detailed analysis of large-table scenarios, comparing different methods and various partitioning principles. In these scenarios, our method outperforms all other approaches and exhibits robustness and efficiency against perturbations.
[ -0.3542473614215851, -1.2564958333969116, 0.6038106083869934, 0.11802856624126434, -0.2040274292230606, 0.10799399018287659, -0.17742836475372314, -0.6432366371154785, 0.24310632050037384, 0.8238036632537842, -0.479211688041687, -0.13898928463459015, -0.17318293452262878, 0.09342890977859497, -0.34336626529693604, 0.7781710624694824, -0.03974274545907974, 0.004302592948079109, -0.36252644658088684, -0.21038562059402466, -0.5090558528900146, -0.3371819257736206, -0.3809396028518677, -0.2418619841337204, 0.6905450224876404, 0.6770552396774292, 1.089672565460205, 0.7041978240013123, 0.5851914882659912, 0.28773412108421326, -0.1820136457681656, 0.3840577006340027, -0.3567829430103302, 0.39892351627349854, -0.4373241662979126, -0.7411081194877625, -0.5523766875267029, -0.3791457712650299, 0.7813401222229004, 1.0021188259124756, 0.05301499739289284, -0.1574147790670395, -0.2613951861858368, 0.7209996581077576, -0.6288219094276428, 0.16754764318466187, -1.1447237730026245, -0.01171043235808611, -0.21250030398368835, -0.0335715152323246, -0.5269308090209961, -0.24294672906398773, -0.05122979357838631, -0.6921955943107605, -0.011369636282324791, 0.27259957790374756, 0.4547842741012573, 0.4849356412887573, -0.3556218445301056, 0.2327403724193573, -0.8913817405700684, 0.43917012214660645, -0.662766695022583, 0.7987355589866638, 0.16469021141529083, 0.35778510570526123, -0.44441428780555725, -0.890522837638855, -0.9403194785118103, -0.4416014552116394, -0.40250763297080994, -0.24549823999404907, -0.08222785592079163, 0.2216894030570984, 0.7538086175918579, 0.7186989188194275, -0.5761635899543762, 0.177231565117836, -0.15539361536502838, -0.18795163929462433, 0.5037185549736023, 0.27578499913215637, 0.3991278409957886, 0.05379459261894226, 0.08974813669919968, -0.12239070981740952, -0.9594654440879822, -0.1421886831521988, 0.08757814764976501, 0.3207942843437195, 0.3697788715362549, 1.0261763334274292, -0.4140668511390686, 1.228585958480835, 0.06157388538122177, 0.06309203803539276, 0.08848210424184799, -0.40361273288726807, -0.34793925285339355, 0.04362760856747627, 0.2721607983112335, 0.2497043013572693, -0.4241653382778168, -0.29065826535224915, -0.268545001745224, 0.16111800074577332, 0.033003948628902435, -0.7020553350448608, -0.194548100233078, 0.2391781061887741, -0.04661155119538307, -0.031067268922924995, -0.04826262220740318, -0.7616384625434875, -0.6087912321090698, -0.5291956067085266, 0.7208113670349121, -0.3622109591960907, 0.20393812656402588, -0.07090561091899872, -0.006084019318223, 0.42421209812164307, 0.6928396224975586, -0.885267436504364, 0.16326655447483063, 0.7648626565933228, 0.5406048893928528, -0.36791715025901794, -0.21241778135299683, -0.7616028785705566, 0.4798922836780548, -0.5938765406608582, 0.7742913365364075, -0.8691463470458984, -0.34403276443481445, -0.08500003069639206, 0.12596814334392548, 0.3117051124572754, -0.621802031993866, 0.757737398147583, -0.67194002866745, 0.16990086436271667, -0.5068252682685852, -0.4835936725139618, -0.03118119202554226, 0.4117215573787689, -0.96527498960495, 0.8829962015151978, 0.24837179481983185, -0.5838190913200378, 0.5487494468688965, -0.9648411273956299, -0.6045322418212891, 0.06295471638441086, 0.07376115769147873, -0.29176825284957886, 0.1627352386713028, 0.6240589618682861, -0.04799524322152138, -0.25863075256347656, 0.10225365310907364, -0.268844872713089, -0.22214272618293762, 0.44645750522613525, -0.5002079010009766, 0.4810168445110321, -0.011253123171627522, 0.005684603471308947, 0.4668032228946686, -0.9083465337753296, -0.06071893125772476, -0.04975009337067604, -0.3423573076725006, -0.20012903213500977, 0.030481526628136635, -0.21505770087242126, 0.09794517606496811, 0.1865013986825943, -0.6309294104576111, 0.5288842916488647, -0.8130970597267151, 0.4747666120529175, 0.48578527569770813, 0.2772679030895233, 0.8384439945220947, -0.2705332934856415, 0.20304226875305176, 0.06008783355355263, 0.08465981483459473, -0.14044398069381714, 0.00946787092834711, -0.8940670490264893, -0.053291257470846176, 0.4335465431213379, 0.5063895583152771, -1.2500455379486084, 0.32398638129234314, -0.23155495524406433, -0.46750694513320923, -0.38736510276794434, -0.15721137821674347, -0.07239886373281479, 0.7524545788764954, 0.7789050340652466, 0.16589045524597168, -0.6796875596046448, -0.9392176866531372, -0.5634647011756897, -0.09245266020298004, -0.10703857988119125, 0.09530665725469589, 0.36260151863098145, -0.35835549235343933, 0.8915433883666992, -0.5465830564498901, 0.013908256776630878, -0.29285892844200134, -0.053977906703948975, 0.2615639567375183, 0.5037295818328857, 0.1274799406528473, -0.6507912874221802, -0.3525865077972412, 0.09097228944301605, -0.2748642861843109, -0.20361129939556122, -0.3824535310268402, -0.2993229925632477, 0.2865801453590393, 0.602492094039917, -0.6721251010894775, 0.5462358593940735, 0.030722027644515038, -0.3005855977535248, 0.702985405921936, -0.13279473781585693, 0.13610315322875977, -0.7220475673675537, -0.227061465382576, -0.416442334651947, -0.08662739396095276, -0.656559407711029, 0.129921555519104, 0.10537932068109512, -0.04015108197927475, -0.2136741280555725, 0.6096762418746948, -0.5797496438026428, -0.25067323446273804, -0.10646089166402817, -0.20028136670589447, 0.25689396262168884, 0.13629040122032166, -0.06754901260137558, 1.120787501335144, 0.1878688484430313, -0.477939635515213, 0.3932316303253174, 0.5209084153175354, -0.35585683584213257, 0.6491172909736633, -0.6968061923980713, 0.1842232346534729, -0.09684330224990845, 0.42230960726737976, -0.935616135597229, -0.40804073214530945, 0.22467322647571564, -0.15461209416389465, 0.35868239402770996, 0.017286717891693115, -0.4691857695579529, -0.3991505205631256, -0.21582750976085663, 0.08866657316684723, 0.10457149147987366, -0.8812626600265503, 0.9665188193321228, 0.25224724411964417, -0.13644608855247498, -0.7517625093460083, -0.9130577445030212, 0.3809339702129364, -0.11804161220788956, -0.679540753364563, 0.8545461297035217, -0.15188908576965332, -0.6241517663002014, -0.052931103855371475, -0.2738128900527954, -0.058803096413612366, -0.24854551255702972, 0.11789532750844955, 0.3352845013141632, -0.17413121461868286, 0.2852628529071808, 0.4500701129436493, -0.08350050449371338, -0.04330409690737724, -0.23908479511737823, 0.49690112471580505, -0.15881049633026123, -0.4483085572719574, -0.11114684492349625, 0.1780707985162735, 0.5453467965126038, -0.47376301884651184, 0.8407794237136841, 0.35570648312568665, -0.38610729575157166, -0.20481111109256744, -0.8104326725006104, -0.38347139954566956, -0.4798179268836975, 0.5018458366394043, -0.5124050974845886, -1.126317024230957, 0.7060949206352234, 0.13969223201274872, 0.2945532500743866, 0.5461053848266602, 0.4925633668899536, 0.14529992640018463, 0.7755060195922852, -0.013771823607385159, 0.15253083407878876, 0.4765145480632782, 0.012886812910437584, 0.16011594235897064, -0.8528378009796143, -0.1675826907157898, -0.6736729145050049, -0.28000688552856445, -0.35920584201812744, -0.7773302793502808, 0.4311380982398987, -0.2523118555545807, -0.38117995858192444, 0.05436461791396141, -0.450872540473938, 0.6351719498634338, 0.30815237760543823, 0.25716179609298706, 0.5220656991004944, -0.02909442037343979, 0.18582458794116974, -0.1081489771604538, -0.35100257396698, -0.12663047015666962, 0.9236406683921814, 0.12789517641067505, 0.8501262068748474, 0.2146352380514145, 0.2830527424812317, 0.2533860206604004, 0.29212769865989685, -0.7653719186782837, 0.683489978313446, 0.17684906721115112, -0.7716596126556396, -0.7217963933944702, -0.589975893497467, -0.8630988001823425, 0.46841490268707275, -0.4713134169578552, -0.6948312520980835, 0.2048512101173401, 0.11607859283685684, -0.04354238137602806, 0.37077054381370544, -0.7147865891456604, 0.6892372965812683, -0.3906627595424652, -0.8081440329551697, -0.06921546161174774, -0.6365349292755127, 0.25838300585746765, -0.11494092643260956, -0.07169678807258606, 0.24066902697086334, -0.31826913356781006, 0.47321072220802307, -0.9002893567085266, 0.4039415121078491, -0.3150756359100342, 0.02492675557732582, 0.30538979172706604, 0.261918306350708, 0.8255811333656311, 0.33754631876945496, -0.3353109359741211, -0.14922809600830078, -0.1004197895526886, -0.15688207745552063, -1.1358847618103027, 0.6142366528511047, -0.4259207248687744, -0.9174069166183472, -0.22157835960388184, -0.9527906179428101, -0.785658597946167, 0.11882977932691574, -0.1491825133562088, 0.3138953745365143, -0.132502481341362, 0.4720076024532318, 0.5273059606552124, -0.2756803035736084, 0.3522680997848511, 0.47807180881500244, -0.3899519741535187, -0.5531359910964966, 0.517267644405365, 0.32474902272224426, 0.2542627453804016, 0.7527332305908203, 0.2343522012233734, -0.8397318720817566, -0.6911550760269165, -0.5617920756340027, 0.0257873572409153, -0.5799373984336853, -0.2126678079366684, -0.5974596738815308, -0.07608753442764282, -0.16619873046875, -0.15211792290210724, -0.02960224449634552, -0.7679479122161865, -0.10690677911043167, -0.4187995493412018, 0.4633573293685913, 0.23872825503349304, -0.15541276335716248, 0.38341739773750305, -0.7367514371871948, 0.3039023280143738, 0.5603418946266174, 0.3790128529071808, -0.16070032119750977, -0.7446790933609009, 0.18513137102127075, -0.04115917533636093, 0.020076492801308632, -1.1455265283584595, 0.16450618207454681, 0.1458425670862198, 0.6173818707466125, 0.2214735895395279, 0.06815019994974136, 0.8088498115539551, -0.4333511292934418, 0.6943746209144592, 0.0676606148481369, -0.9907235503196716, 0.46631669998168945, -0.3985755443572998, 0.2839595377445221, 0.8578538298606873, 0.021556295454502106, -0.3122616112232208, 0.012620650231838226, -0.4933352768421173, -0.962627112865448, 0.4811951816082001, -0.051787119358778, 0.029584186151623726, 0.3250364065170288, 0.5580064058303833, 0.2597740590572357, 0.12228117138147354, -0.9300781488418579, 0.0715094730257988, 0.06724298000335693, 0.16280536353588104, 0.18860623240470886, -0.3716762363910675, 0.13933894038200378, -0.7425859570503235, 0.7138705253601074, -0.035241276025772095, 0.1643471121788025, 0.18427808582782745, -0.3188515305519104, -0.13809850811958313, 0.5689705014228821, 0.506513774394989, 1.0315381288528442, -0.07052000612020493, 0.13626983761787415, 0.6884358525276184, -0.23068282008171082, 0.010453877970576286, 0.31630560755729675, -0.2902767062187195, -0.10970911383628845, 0.1833401471376419, 0.9140494465827942, 0.07534298300743103, -0.49924036860466003, 0.035247791558504105, 0.10523141920566559, -0.10849881917238235, 0.02113395370543003, 0.14141647517681122, 0.10213524848222733, 0.20387062430381775, 0.3612939417362213, -0.27294057607650757, 0.17988984286785126, -0.61480712890625, 0.3197244107723236, 0.47415098547935486, -0.3226437270641327, -0.00783936120569706, 0.607201874256134, -0.12469515949487686, -0.3730686604976654, 0.5404028296470642, -0.18095795810222626, -0.37873440980911255, 0.24357885122299194, 0.7329354286193848, 0.32900702953338623, -0.39705678820610046, 0.11671750992536545, 0.30967116355895996, 0.504507303237915, 0.15396566689014435, 0.4116986095905304, 0.030630700290203094, -0.7374044060707092, -0.8868411183357239, -0.5890828967094421, -0.6885074377059937, 0.3089510202407837, -0.28316599130630493, 0.09158728271722794, -0.3956703245639801, 0.1871328204870224, 0.3334002196788788, -0.1093018651008606, -0.33846816420555115, 0.18162895739078522, -0.3577050566673279, 0.917773425579071, -0.6175113320350647, 0.5278404951095581, 0.8062012195587158, -0.45746931433677673, -1.0390750169754028, -0.10647844523191452, -0.3791387677192688, -0.570874810218811, 0.14156807959079742, -0.18175986409187317, 0.333746999502182, -0.1507960706949234, -0.6994616389274597, -0.7049643993377686, 0.6910035014152527, 0.4744131863117218, -0.6728929877281189, -0.007379151880741119, 0.5959375500679016, 0.5588093400001526, -0.10270292311906815, 0.2865017056465149, 0.9160275459289551, 0.957260012626648, 0.472123384475708, -0.6487060785293579, 0.06185238063335419, 0.11829335242509842, -0.1465582251548767, 0.5545111298561096, -0.036011356860399246, 0.683017909526825, -0.14323295652866364, 0.24516744911670685, -0.20793992280960083, 0.9430034160614014, 0.12341528385877609, 0.33615604043006897, 0.6930841207504272, 0.8097823858261108, 0.8818670511245728, -0.4786720871925354, 0.8130555152893066, 0.028417028486728668, -0.19554269313812256, 1.2995200157165527, -0.32646259665489197, 0.7860772013664246, 0.5615154504776001, -0.47335147857666016, 0.5016891360282898, 0.5093548893928528, 0.0495222769677639, 0.12259326875209808, 0.2286507785320282, -0.29439663887023926, -0.17557093501091003, -0.03866596519947052, -0.4679424464702606, 0.6807793974876404, 0.8013976216316223, -0.12003356218338013, -0.23027636110782623, -0.06337150186300278, 0.03821774944663048, 0.0148185845464468, -0.644938051700592, 0.950373649597168, -0.27185121178627014, -0.6817315816879272, 0.4340287446975708, -0.048387713730335236, 0.10018961876630783, -0.34397587180137634, -0.2463546246290207, -0.13008707761764526, -0.09320896863937378, -0.4610046148300171, -0.8631433248519897, 0.7362192273139954, -0.3396855294704437, -0.041190050542354584, 0.01549562718719244, 0.9766259789466858, -0.3925429880619049, -0.5017837882041931, -0.2512819170951843, 0.7196158766746521, -0.1811399757862091, -0.32084786891937256, -0.5905805230140686, 0.1183067262172699, 0.047844354063272476, -0.10086669772863388, 0.2370050698518753, 0.5131416916847229, -0.2264404147863388, 0.33017468452453613, 1.004228949546814, 0.09307393431663513, -0.09915562719106674, 0.13511265814304352, 1.2108451128005981, -0.6025504469871521, -0.5322685837745667, -0.8307616710662842, 0.6032676100730896, -0.3576800525188446, 0.09671825170516968, 0.5110982060432434, 0.7818377614021301, 0.42761483788490295, -0.08509333431720734, 0.4892086684703827, -0.019356299191713333, 0.5764449834823608, -0.5522074699401855, 0.488549143075943, -0.5415732860565186, 0.3435068726539612, -0.3936566412448883, -1.384572148323059, -0.6622018218040466, 0.5308638215065002, -0.849766731262207, -0.1961452066898346, 0.573687732219696, 0.9865438342094421, 0.1485489308834076, 0.28002020716667175, 0.26288866996765137, 0.524563193321228, 0.3687328100204468, 0.22094111144542694, 1.082983374595642, -0.048555273562669754, 0.4608885645866394, -0.0033866739831864834, -0.2407287061214447, -0.12641555070877075, -0.7989693284034729, -0.6139392852783203, -0.4999726116657257, -0.0676729753613472, -0.4329427182674408, 0.11190132796764374, 0.892389714717865, 0.23114998638629913, -0.6918649673461914, 0.23668238520622253, -0.2510312795639038, 0.36679190397262573, 0.0365406833589077, -0.2742822468280792, 0.4585346281528473, -0.1764231026172638, -0.5461866855621338, 0.6877362728118896, 0.4583868086338043, -0.17905449867248535, -0.23973217606544495, 0.30974069237709045, -0.20064985752105713, 0.07495486736297607, 0.8311220407485962, 0.32740291953086853, -0.6243874430656433, -0.5863650441169739, 0.0026189337950199842, 0.3064582943916321, 0.37102246284484863, 0.6886292695999146, -0.7924402952194214, 0.4369380474090576, 0.7322954535484314, 1.1042053699493408, 0.6489797234535217, 0.3094339668750763, 0.30972981452941895, -0.5873002409934998, 0.17595931887626648, 0.5186800956726074, 0.4750981032848358, 0.4188377857208252, -0.3324436843395233, 0.5856943726539612, -0.07325507700443268, -0.6698655486106873, -0.9531823992729187, 0.3908786177635193, -1.2144098281860352, -0.2819335460662842, 1.1680587530136108, 0.45145183801651, -0.36156049370765686, -0.2422114461660385, -0.4531043767929077, 0.09155910462141037, -0.27533087134361267, 0.6634332537651062, 0.4669816493988037, -0.33364397287368774, -0.4449176490306854, -0.23606041073799133, 0.41875261068344116, 0.48465096950531006, -1.276753306388855, 0.16335028409957886, 1.1110599040985107, -0.09699372202157974, 0.16231825947761536, 0.3174954652786255, -0.3248124122619629, 0.12914644181728363, 0.005928439553827047, -0.08320392668247223, -0.24315029382705688, -0.26537102460861206, -0.0789770558476448, 0.3623153567314148, 0.24167108535766602, 0.27001968026161194 ]
http://arxiv.org/abs/2407.03051v1
http://arxiv.org/pdf/2407.03051v1
Improving Conversational Abilities of Quantized Large Language Models via Direct Preference Alignment
2024-07-03T12:19:06
2024-07-03T12:19:06
Janghwan Lee, Seongmin Park, Sukjin Hong, Minsoo Kim, Du-Seong Chang, Jungwook Choi
cs.CL
cs.CL
The rapid advancement of large language models (LLMs) has facilitated their transformation into conversational chatbots that can grasp contextual nuances and generate pertinent sentences, closely mirroring human values through advanced techniques such as instruction tuning and reinforcement learning from human feedback (RLHF). However, the computational efficiency required for LLMs, achieved through techniques like post-training quantization (PTQ), presents challenges such as token-flipping that can impair chatbot performance. In response, we propose a novel preference alignment approach, quantization-aware direct preference optimization (QDPO), that aligns quantized LLMs with their full-precision counterparts, improving conversational abilities. Evaluated on two instruction-tuned LLMs in various languages, QDPO demonstrated superior performance in improving conversational abilities compared to established PTQ and knowledge-distillation fine-tuning techniques, marking a significant step forward in the development of efficient and effective conversational LLMs.
[ 0.058947596698999405, -0.7626194357872009, 0.5621359348297119, 0.010283051989972591, -0.3815467953681946, 0.34133413434028625, -0.5507271885871887, 0.06854584813117981, -0.020727744325995445, 0.6240660548210144, -0.3269483745098114, -0.4759513735771179, -0.5775816440582275, -0.18037788569927216, 0.02492471970617771, 0.9205017685890198, 0.3015969693660736, 0.06759308278560638, -0.31930309534072876, 0.045019861310720444, -0.5002233982086182, -0.616119921207428, -0.8210650682449341, -0.07458628714084625, 0.39750710129737854, 0.45692744851112366, 1.16054368019104, 0.7353853583335876, 0.45396703481674194, 0.362140417098999, -0.010102175176143646, 0.2531963288784027, -0.5283253192901611, 0.1161981001496315, 0.09701362997293472, -0.6071285605430603, -0.9846493601799011, -0.22201253473758698, 0.6050079464912415, 0.6588088274002075, -0.33146074414253235, -0.14063158631324768, 0.13075749576091766, 0.8636997938156128, -0.551285445690155, 0.1687091737985611, -0.8232556581497192, -0.005286186933517456, 0.05983826890587807, -0.4113147258758545, -0.4280683994293213, -0.7013888955116272, 0.37312737107276917, -0.83021479845047, -0.08406434208154678, -0.12872344255447388, 0.718325674533844, 0.5586427450180054, -0.6016478538513184, 0.09618455916643143, -0.5697817206382751, 0.8873443007469177, -0.7384483218193054, 0.4922630488872528, 0.2790857255458832, 0.1867111325263977, -0.18845024704933167, -0.2284342497587204, -0.4513586461544037, -0.06602662801742554, 0.23622505366802216, -0.09096404165029526, -0.16374042630195618, 0.47997719049453735, 0.18348510563373566, 0.26521036028862, -0.5548911094665527, 0.31243249773979187, 0.1782212108373642, -0.1738390326499939, 0.5502203702926636, 0.1483636498451233, 0.002612839685752988, 0.06787439435720444, -0.06960534304380417, -0.35183626413345337, -0.6065402030944824, 0.30287396907806396, 0.46267983317375183, 0.34231260418891907, -0.0903024822473526, 0.5482357740402222, -0.47090795636177063, 0.8073959946632385, 0.5058197975158691, -0.15885350108146667, 0.18971826136112213, -0.27453333139419556, -0.2375081181526184, 0.13945944607257843, 0.8491411805152893, 0.43434545397758484, 0.45722195506095886, -0.12058001756668091, 0.05657874047756195, -0.15672901272773743, 0.15583795309066772, -0.9619380831718445, -0.2972024381160736, 0.41646841168403625, -0.0704527273774147, -0.48435133695602417, -0.2718620300292969, -0.47535625100135803, -0.4619390666484833, -0.48448511958122253, 0.3872818052768707, -0.4335625171661377, -0.2482176572084427, 0.34436866641044617, 0.03681771084666252, 0.16453374922275543, 0.4396498501300812, -1.209604024887085, -0.06314879655838013, 1.0682576894760132, 0.5537116527557373, -0.014729690738022327, 0.1435239464044571, -0.7071755528450012, 0.20679731667041779, -0.3857991397380829, 0.5362061262130737, -0.7307149171829224, -0.48000457882881165, -0.006705064792186022, -0.28250300884246826, 0.15398730337619781, -0.5144134163856506, 0.5422765612602234, -0.6317824721336365, 0.1814458966255188, -0.03595319762825966, -0.49416422843933105, 0.21825560927391052, 0.1850309669971466, -0.28679022192955017, 0.6617123484611511, -0.08581032603979111, -0.5571001768112183, 0.25333184003829956, -0.3780573606491089, -0.25078338384628296, -0.05910232290625572, -0.07063755393028259, -0.42145246267318726, 0.12269605696201324, 0.3030768036842346, 0.4268764853477478, -0.1218988224864006, 0.6147139072418213, -0.32965314388275146, -0.314039409160614, 0.6127230525016785, -0.5465235710144043, 0.5350671410560608, -0.21249622106552124, -0.20367050170898438, 0.6655761003494263, -0.6219107508659363, 0.30455735325813293, -0.059260718524456024, -0.2907184958457947, -0.3418523073196411, 0.11825007945299149, -0.5314282178878784, -0.02856840193271637, 0.6828696727752686, -0.2327929586172104, 0.5141034722328186, -0.6992629170417786, 0.5987595319747925, 1.0440224409103394, -0.37467893958091736, 0.9275851845741272, -0.05741545930504799, 0.4372912645339966, -0.04436931014060974, 0.37019577622413635, 0.015085914172232151, -0.18769945204257965, -0.9238967299461365, -0.35192012786865234, 0.49992886185646057, 0.450053334236145, -0.7167772650718689, 0.880109429359436, -0.7633848786354065, -0.24669043719768524, -0.6438568830490112, 0.044991634786129, 0.4891548156738281, 0.48052477836608887, 0.015528819523751736, -0.25864166021347046, -0.40193694829940796, -1.0634697675704956, -0.11981110274791718, -0.17368441820144653, -0.12312626838684082, 0.400848925113678, -0.2548321485519409, -0.09026447683572769, 1.0180929899215698, -0.5882811546325684, 0.09885385632514954, 0.1769951581954956, -0.09066018462181091, 0.19972893595695496, 0.4797455072402954, 0.027570931240916252, -0.7762564420700073, -0.7298448085784912, 0.19667308032512665, -0.30681100487709045, -0.07354194670915604, 0.22941887378692627, -0.5645648837089539, 0.363786518573761, 0.1847631186246872, -0.5760350227355957, 0.10002732276916504, 0.6386730670928955, -0.19743850827217102, 0.3109622597694397, -0.14082542061805725, 0.2083897590637207, -0.9910189509391785, -0.15706346929073334, -0.22021366655826569, -0.263905793428421, -0.5915201902389526, -0.4110757112503052, 0.2382754385471344, -0.21169641613960266, -0.24560268223285675, 0.5439189672470093, -0.14960193634033203, 0.09723686426877975, -0.30199798941612244, 0.19699622690677643, 0.025260604918003082, 0.5935443639755249, 0.3165849447250366, 0.9296332001686096, 0.5578535795211792, -0.5858045816421509, 0.17357556521892548, 0.35446903109550476, -0.03830559551715851, 0.6576657891273499, -0.6305364966392517, 0.43520089983940125, 0.07707656174898148, 0.2103952020406723, -1.0320311784744263, -0.06668085604906082, 0.13123343884944916, -0.46492525935173035, 0.42154833674430847, -0.28540071845054626, -0.2780974805355072, 0.008811638690531254, -0.310494065284729, 0.5803924202919006, 0.6189465522766113, -0.3682548701763153, 0.4362472891807556, 0.22920821607112885, -0.22108490765094757, -0.7494855523109436, 0.13459867238998413, -0.055050112307071686, -0.3573322594165802, -0.5858328938484192, 0.3861597180366516, -0.059096649289131165, -0.17286711931228638, -0.5356575846672058, -0.14737150073051453, 0.08013149350881577, 0.13271139562129974, 0.19482189416885376, 0.3612392544746399, 0.0065020848996937275, 0.22046011686325073, 0.1362086683511734, -0.2722388505935669, -0.2265128195285797, -0.3207419812679291, 0.9108218550682068, -0.05929899960756302, 0.016362052410840988, -0.6121573448181152, -0.03501564636826515, 0.389741450548172, -0.32034778594970703, 0.5109142661094666, 0.2478092759847641, 0.15279051661491394, 0.16537417471408844, -0.547532320022583, -0.2880820631980896, -0.5309474468231201, 0.46282073855400085, -0.49104100465774536, -1.1818392276763916, 0.021081848070025444, -0.0908643901348114, -0.02846657484769821, -0.010637420229613781, 0.3915890157222748, -0.11117161810398102, 1.4006576538085938, 0.6068125367164612, -0.15510405600070953, 0.7966120839118958, 0.053862739354372025, 0.42629167437553406, -0.8203650712966919, 0.12692584097385406, -0.41082271933555603, -0.21587306261062622, -0.7152514457702637, -0.47509971261024475, 0.43674251437187195, 0.23254801332950592, -0.5481938123703003, 0.30610066652297974, -0.48315006494522095, 0.3672361969947815, 0.6748350858688354, 0.28449875116348267, 0.28949296474456787, -0.033672720193862915, 0.3316766619682312, -0.15611010789871216, -0.5563229322433472, -0.5798238515853882, 1.4107180833816528, 0.2453315109014511, 0.4800482988357544, 0.045717302709817886, 0.6499665379524231, -0.02135320007801056, -0.04913053289055824, -0.9655440449714661, 0.5725100040435791, -0.21651239693164825, -0.140964537858963, -0.6268803477287292, -0.5605807304382324, -0.8541073799133301, 0.1991354376077652, -0.24479462206363678, -0.6247873902320862, -0.055443163961172104, 0.3205747604370117, -0.5033437013626099, -0.13939295709133148, -0.7412823438644409, 0.9628770351409912, -0.5615406036376953, -0.4178237318992615, -0.4902184307575226, -0.5720592737197876, 0.283888578414917, 0.019856354221701622, -0.052460622042417526, -0.3848547041416168, -0.1624416559934616, 0.5069026350975037, -0.219837948679924, 0.7848396301269531, -0.1502622365951538, -0.5678954720497131, -0.1416836380958557, 0.12029680609703064, 0.5067427754402161, 0.045923300087451935, -0.06323651969432831, 0.2595376670360565, 0.04925913363695145, -0.4732946455478668, -0.8722870945930481, 0.5403053164482117, -0.9076468348503113, -0.9423993229866028, -0.04716021567583084, -0.6112154722213745, -0.6007293462753296, -0.0865069255232811, -0.10888344794511795, 0.23381845653057098, -0.3424277901649475, 0.169555202126503, 0.8026595115661621, -0.2926742136478424, 0.2563828229904175, 0.6008036732673645, -0.09821929037570953, -0.7356715798377991, 0.8824569582939148, -0.23773811757564545, 0.4787612557411194, 0.9094910621643066, 0.2846011817455292, -0.3487986922264099, -0.4452095329761505, -0.3636617064476013, 0.14023691415786743, -0.20248550176620483, -0.29997381567955017, -0.5595304369926453, 0.032025013118982315, -0.6273012757301331, -0.17606402933597565, -0.4174371361732483, -0.5742234587669373, -0.32140830159187317, 0.07959610968828201, 0.3214496970176697, -0.13961605727672577, 0.16980546712875366, 0.5333058834075928, -0.8583695888519287, 0.18400326371192932, 0.6570229530334473, 0.30844002962112427, -0.15384887158870697, -0.7523781061172485, -0.17959879338741302, 0.49117177724838257, -0.4119151830673218, -0.444157212972641, 0.31932559609413147, 0.1550004780292511, 0.14819307625293732, 0.7192332744598389, 0.07164904475212097, 0.9394634366035461, -0.5042364597320557, 0.43252113461494446, 0.2536398470401764, -1.1811878681182861, 0.7216973900794983, -0.5240821242332458, 0.20886223018169403, 0.5521872043609619, 0.26217201352119446, -0.5527355074882507, 0.09605561196804047, -0.4404524266719818, -0.6988295316696167, 0.6727864742279053, 0.09667276591062546, 0.476458877325058, 0.021881135180592537, 0.2418285608291626, 0.0212592463940382, 0.527520477771759, -0.4614865481853485, 0.057667236775159836, -0.05905965343117714, -0.34401336312294006, -0.19173592329025269, -0.36119920015335083, -0.29140612483024597, -0.24664844572544098, 0.6714615225791931, -0.48558351397514343, 0.18262478709220886, -0.29030826687812805, 0.20709209144115448, -0.10304280370473862, 0.33787915110588074, 0.5070903301239014, 0.5247896909713745, -0.29546913504600525, -0.10333207249641418, -0.20648275315761566, -0.036690983921289444, 0.22989390790462494, 0.0069746472872793674, 0.05283602699637413, -0.5528557300567627, -0.14260824024677277, 0.952504575252533, 0.46228718757629395, -0.9075546860694885, 0.6506949663162231, -0.11443132907152176, 0.062291357666254044, -0.06478586047887802, 0.38557904958724976, 0.031255654990673065, 0.37370485067367554, 0.1751197874546051, -0.3249921500682831, 0.051715072244405746, -0.4867922067642212, -0.11793132871389389, 0.93166184425354, -0.3616703748703003, -0.26928284764289856, 0.4559656083583832, 0.5029215812683105, -0.5764822363853455, 0.6056898832321167, 0.05029335618019104, -0.47112828493118286, 0.4926885962486267, 0.45656058192253113, 0.9028187394142151, -0.17685401439666748, 0.2903549373149872, 0.2760147154331207, -0.3163335621356964, 0.015432876534759998, -0.11095897108316422, -0.5519288182258606, -1.099700927734375, -0.43082064390182495, -0.5777751207351685, -0.5760225057601929, -0.318464070558548, -0.632557213306427, 0.3153430223464966, -0.33962440490722656, -0.33027535676956177, -0.10431341826915741, 0.02167782559990883, -0.3603174686431885, -0.021002020686864853, 0.12529511749744415, 0.24803926050662994, -0.3142303228378296, 1.0465893745422363, 0.49001622200012207, 0.02982415445148945, -0.5704712271690369, -0.053228333592414856, -0.4317528009414673, -0.9963613152503967, 0.73809814453125, -0.03526178374886513, 0.024214109405875206, 0.3786284029483795, -0.5113987326622009, -0.9349465370178223, 1.0378142595291138, 0.48653122782707214, -1.059121012687683, -0.060457494109869, 0.3231680691242218, 0.5124845504760742, -0.07726608961820602, 0.37128013372421265, 0.686505913734436, 0.2221149504184723, 0.08332376182079315, -1.2250994443893433, -0.11838053166866302, -0.052650146186351776, 0.1772717386484146, 0.5824947953224182, -0.927782416343689, 0.3311345875263214, -0.05270994454622269, -0.15807007253170013, 0.10709080845117569, 0.6685382723808289, 0.3524160385131836, 0.007632726803421974, 0.46083715558052063, 0.690388560295105, 0.8054320216178894, -0.24430780112743378, 0.7242169976234436, -0.4476078152656555, -0.04480788856744766, 1.0486729145050049, -0.5088027119636536, 0.9644666314125061, 0.5719343423843384, -0.4118069112300873, 0.1780664175748825, 0.49094071984291077, 0.4298818111419678, 0.5687954425811768, 0.1249341070652008, -0.39830753207206726, -0.4869215786457062, -0.04031123220920563, -0.20285378396511078, 0.6146016716957092, 0.24158604443073273, -0.08725475519895554, 0.3300507962703705, -0.12685634195804596, -0.021233903244137764, 0.13684946298599243, -0.20602060854434967, 1.0843561887741089, -0.16009758412837982, -0.7806202173233032, 0.9220852851867676, -0.15279348194599152, 0.958092212677002, -0.48626789450645447, 0.05261222645640373, -0.2364654541015625, 0.1316056102514267, 0.03129158541560173, -0.5451852083206177, -0.06425762176513672, -0.15650713443756104, -0.17924128472805023, -0.2869170010089874, 0.25178611278533936, -0.5446118116378784, -0.14639143645763397, -0.11715976148843765, 0.3386354446411133, -0.11256232857704163, -0.3625444769859314, -0.5048615336418152, -0.008304483257234097, 0.24929296970367432, 0.057093795388936996, 0.63175368309021, 0.5291329622268677, -0.07784117013216019, 0.5969591736793518, 0.6603344678878784, -0.11955834180116653, -0.1669466644525528, 0.06432601064443588, 0.6691020727157593, -0.6630573868751526, -0.2927815318107605, -0.9097447991371155, 0.4373883605003357, -0.12230897694826126, -0.3096756637096405, 0.6292378902435303, 0.667208731174469, 0.7514505982398987, 0.020958255976438522, 0.6081339716911316, 0.27340492606163025, 0.23255789279937744, -0.625466525554657, 0.37091729044914246, -0.18360042572021484, 0.12964612245559692, -0.14388231933116913, -1.0202597379684448, -0.10398048907518387, 0.6031266450881958, -0.6252996921539307, -0.1983426958322525, 0.31788182258605957, 0.913470983505249, 0.2591492533683777, -0.26098254323005676, 0.5577229857444763, 0.011314322240650654, 0.4286530017852783, 0.7358014583587646, 0.8890281319618225, -0.2892390787601471, 0.5156053900718689, -0.36584123969078064, -0.2530355453491211, -0.26458361744880676, -0.8160073757171631, -0.8231815695762634, -0.5607981085777283, -0.5727751851081848, -0.23189109563827515, 0.15612123906612396, 0.9175781011581421, 0.7518207430839539, -0.5732482671737671, -0.31387513875961304, -0.16571499407291412, 0.05869290605187416, 0.04136946052312851, -0.3013293445110321, 0.3659008741378784, -0.39152607321739197, -1.1644818782806396, 0.1757466346025467, 0.47524529695510864, 0.22156238555908203, 0.027367034927010536, -0.15814779698848724, 0.2883579134941101, 0.04164138436317444, 0.7638879418373108, 0.13214556872844696, -0.7710736393928528, -0.23999756574630737, 0.1622394621372223, -0.280513197183609, 0.38529661297798157, 0.8301812410354614, -0.6801368594169617, 0.4826180040836334, 0.32764923572540283, 0.6447169780731201, 0.22439567744731903, 0.3784908354282379, 0.806496798992157, -0.6728947162628174, 0.24970632791519165, 0.345689982175827, 0.023510796949267387, 0.2936900556087494, -0.4371897876262665, 0.28382202982902527, -0.1898399293422699, -0.8078675866127014, -0.7917762398719788, 0.18816375732421875, -1.2111033201217651, -0.11727865785360336, 1.2184218168258667, 0.14479482173919678, -0.08228820562362671, 0.3142800033092499, -0.605697512626648, 0.4071262776851654, -0.7376733422279358, 0.981364369392395, 0.47167280316352844, -0.18399593234062195, -0.16022402048110962, -0.078209787607193, 0.7364901900291443, 0.7409645915031433, -0.6864273548126221, 0.2681736350059509, 0.6382856965065002, 0.08742214739322662, -0.17871811985969543, 0.765594482421875, -0.0631561130285263, 0.12742480635643005, -0.5156886577606201, 0.2792964279651642, 0.13384202122688293, -0.0670955702662468, -0.528978168964386, -0.1607571542263031, 0.3708338439464569, -0.27909716963768005 ]
http://arxiv.org/abs/2407.03045v1
http://arxiv.org/pdf/2407.03045v1
JailbreakHunter: A Visual Analytics Approach for Jailbreak Prompts Discovery from Large-Scale Human-LLM Conversational Datasets
2024-07-03T12:10:41
2024-07-03T12:10:41
Zhihua Jin, Shiyi Liu, Haotian Li, Xun Zhao, Huamin Qu
cs.HC
cs.HC, cs.CL, cs.LG
Large Language Models (LLMs) have gained significant attention but also raised concerns due to the risk of misuse. Jailbreak prompts, a popular type of adversarial attack towards LLMs, have appeared and constantly evolved to breach the safety protocols of LLMs. To address this issue, LLMs are regularly updated with safety patches based on reported jailbreak prompts. However, malicious users often keep their successful jailbreak prompts private to exploit LLMs. To uncover these private jailbreak prompts, extensive analysis of large-scale conversational datasets is necessary to identify prompts that still manage to bypass the system's defenses. This task is highly challenging due to the immense volume of conversation data, diverse characteristics of jailbreak prompts, and their presence in complex multi-turn conversations. To tackle these challenges, we introduce JailbreakHunter, a visual analytics approach for identifying jailbreak prompts in large-scale human-LLM conversational datasets. We have designed a workflow with three analysis levels: group-level, conversation-level, and turn-level. Group-level analysis enables users to grasp the distribution of conversations and identify suspicious conversations using multiple criteria, such as similarity with reported jailbreak prompts in previous research and attack success rates. Conversation-level analysis facilitates the understanding of the progress of conversations and helps discover jailbreak prompts within their conversation contexts. Turn-level analysis allows users to explore the semantic similarity and token overlap between a singleturn prompt and the reported jailbreak prompts, aiding in the identification of new jailbreak strategies. The effectiveness and usability of the system were verified through multiple case studies and expert interviews.
[ -0.26509031653404236, -1.0520081520080566, 0.5310864448547363, 0.4359452724456787, -0.1099863052368164, 0.5203588604927063, -0.12710082530975342, -0.19891506433486938, 0.4791678190231323, 0.7193828225135803, -0.8264228105545044, -0.9172882437705994, -0.5302320718765259, -0.04155241325497627, -0.35116705298423767, 0.74092698097229, 0.12425783276557922, -0.19331170618534088, -0.12541402876377106, -0.06108703464269638, -1.0841847658157349, -0.5311694741249084, -0.5119020342826843, 0.2671363353729248, 0.5160148739814758, 0.6466791033744812, 0.3872377276420593, 0.4267585277557373, 0.47784286737442017, 0.3657953441143036, -0.2004346400499344, 0.14166806638240814, -0.7317814826965332, 0.5904223918914795, 0.14613085985183716, -0.34659531712532043, -0.2897002100944519, -0.15651355683803558, -0.031397756189107895, 0.29126089811325073, -0.3836368918418884, 0.11708317697048187, -0.16169103980064392, 0.6745356917381287, -0.5869451761245728, 0.1316062957048416, -0.6919567584991455, 0.023773636668920517, -0.5292845368385315, -0.22197453677654266, -0.44597554206848145, -0.3903518319129944, 0.1475607454776764, -0.21300823986530304, 0.13867567479610443, 0.1102856993675232, 0.39391690492630005, 0.067863829433918, -0.14080719649791718, -0.11063037067651749, -0.40375083684921265, 0.4055688977241516, -0.6892852187156677, -0.12465687096118927, 0.1668185591697693, 0.5592334866523743, -0.658754289150238, -0.3509753346443176, -0.26313334703445435, -0.3120989501476288, -0.09970230609178543, -0.18335580825805664, -0.5933114886283875, 0.017375122755765915, 0.24819283187389374, -0.006051278673112392, -0.6994223594665527, 0.29742690920829773, -0.40120258927345276, -0.3085787296295166, 0.6467391848564148, 0.6240493655204773, 0.5658628344535828, -0.23990577459335327, -0.25664380192756653, -0.006162367295473814, -0.750794529914856, 0.14354956150054932, 0.47406694293022156, 0.35947927832603455, -0.3918725848197937, 0.43776047229766846, -0.29981449246406555, 0.8539344072341919, -0.18330299854278564, -0.162552148103714, 0.16412541270256042, -0.3101239800453186, 0.05251053720712662, 0.13523322343826294, 1.1477153301239014, 0.5244387984275818, 0.4476115107536316, -0.11555920541286469, 0.14965705573558807, -0.23839589953422546, 0.2866981029510498, -0.9083256721496582, -0.3737015128135681, 0.30471503734588623, -0.4116629362106323, -0.7404570579528809, 0.0711776539683342, -1.1815154552459717, -1.4013947248458862, 0.17322233319282532, -0.040277931839227676, -0.1951298713684082, -0.15339767932891846, -0.20610792934894562, -0.22369152307510376, 0.1399882584810257, 0.31578391790390015, -0.66232830286026, 0.06005680561065674, 0.6059458255767822, 1.0164649486541748, -0.2806057631969452, -0.2539646625518799, -0.7666774392127991, -0.10144895315170288, -0.2536942660808563, 0.7222043871879578, -0.4755542576313019, -0.40592026710510254, -0.07480289787054062, -0.0881027951836586, 0.02085472270846367, -0.6622805595397949, 0.23028676211833954, -0.43382126092910767, -0.22972716391086578, -0.11303386837244034, -0.22063277661800385, -0.11382126808166504, 0.4355354309082031, -0.6107253432273865, 0.535359263420105, -0.2546347975730896, -0.830572783946991, 0.2791662812232971, -0.6321592926979065, -0.3508031964302063, 0.09719535708427429, -0.20518659055233002, -0.527169942855835, 0.012827671132981777, 0.47095659375190735, 0.7212982773780823, -0.2792641520500183, 0.4881252348423004, -0.667466402053833, -0.3001750707626343, 0.31471630930900574, -0.27719345688819885, 0.8067280054092407, 0.1746886521577835, -0.4265922009944916, 0.4653346836566925, -0.6848339438438416, -0.3994061052799225, 0.37831929326057434, 0.09394881874322891, -0.379486083984375, 0.20148000121116638, -0.21914979815483093, -0.10154363512992859, 0.08703901618719101, -0.681281566619873, 0.48045814037323, -0.14496473968029022, 0.4881930947303772, 0.6549105644226074, 0.30792000889778137, 0.003979732282459736, 0.21359194815158844, 0.7364071011543274, 0.2554447054862976, 0.2531742453575134, -0.5938417315483093, -0.5312892198562622, -0.3322964906692505, -0.33664047718048096, -0.12382423132658005, 1.0128319263458252, -0.38640978932380676, 0.26503998041152954, -0.07900961488485336, -0.6630029082298279, -0.4628477394580841, 0.34448108077049255, 0.3498886823654175, 0.48469486832618713, 0.18750496208667755, -0.13250629603862762, -0.6383939981460571, -0.8930899500846863, -0.6696248650550842, -0.18784396350383759, 0.14330947399139404, 0.26518574357032776, 0.23417901992797852, -0.37983885407447815, 0.9254158139228821, -0.7067012190818787, -0.18279600143432617, -0.5756276249885559, 0.29077744483947754, 0.34560319781303406, 0.28067198395729065, 0.5540993809700012, -0.422321081161499, -0.30485987663269043, -0.1539541780948639, -0.9597486257553101, -0.4597816467285156, -0.29041674733161926, 0.07923825085163116, -0.27462613582611084, 0.8327310085296631, -0.3652370572090149, 0.667441725730896, 0.43883252143859863, -0.7591850161552429, 0.6539263129234314, 0.19603173434734344, 0.1767081767320633, -0.9036784172058105, -0.2629528343677521, 0.14312466979026794, -0.2087927758693695, -0.751059353351593, -0.24710538983345032, -0.10276181995868683, -0.3583191931247711, -0.31157809495925903, 0.4425399899482727, -0.43766841292381287, -0.09081050753593445, -0.033461328595876694, 0.30851373076438904, -0.2540091574192047, 0.36498475074768066, -0.2981348931789398, 0.8629274964332581, 0.5892089009284973, 0.06355271488428116, 0.7798436880111694, 0.27191561460494995, -0.3554155230522156, 0.34184056520462036, -0.6762534379959106, 0.20627322793006897, -0.23882749676704407, -0.014384234324097633, -1.2580809593200684, -0.2644466459751129, 0.2541380822658539, -0.4077902138233185, 0.0169813334941864, -0.5357848405838013, -0.37903741002082825, -0.16965334117412567, -0.5154514908790588, -0.01002705842256546, 0.11038675159215927, -0.5721897482872009, 0.5494404435157776, 0.4945066273212433, -0.5457242727279663, -0.401569128036499, -0.3062994182109833, 0.652174174785614, -0.6556525826454163, -1.0559844970703125, -0.1293705850839615, 0.06309791654348373, -0.6090171933174133, -0.5216971039772034, 0.1272909790277481, 0.12572240829467773, 0.4149663746356964, 0.6386209726333618, 0.672731339931488, 0.10489530861377716, -0.5263916254043579, -0.20116198062896729, 0.0033572912216186523, 0.40571796894073486, 0.1059427484869957, 0.5857424139976501, -0.2458781749010086, 0.03135412558913231, -0.6038370132446289, 0.19233238697052002, 0.7665479779243469, -0.16385839879512787, 0.7271376252174377, 0.4441494345664978, 0.14524821937084198, -0.08247580379247665, -0.6486445069313049, 0.04816924035549164, -0.4908437728881836, 0.2002040445804596, -0.2575945556163788, -0.857479453086853, 0.632442831993103, -0.11734774708747864, 0.025855934247374535, -0.16454041004180908, 0.4909716546535492, -0.004353787750005722, 1.1722209453582764, 0.4975700378417969, -0.5168147683143616, 0.658871591091156, -0.11143747717142105, 0.10653959959745407, -0.5307604074478149, -0.4922310411930084, -0.3287813365459442, -0.25871190428733826, -0.497849702835083, -0.0844104215502739, 0.37966370582580566, 0.0840640515089035, -0.057816196233034134, 0.4034135937690735, -0.2613511383533478, 0.5793681740760803, 0.3167281746864319, -0.017064906656742096, 0.36079132556915283, -0.15926195681095123, 0.03683099150657654, -0.030010005459189415, -0.26772040128707886, -0.2876303195953369, 0.9888136386871338, 0.3941788077354431, 1.0008429288864136, 0.20689454674720764, 0.7902541756629944, 0.553388237953186, 0.20395438373088837, -0.8253799676895142, 0.6535457372665405, 0.24098047614097595, -0.2944238781929016, -0.2240566611289978, -0.5411474108695984, -1.0897915363311768, 0.33730316162109375, -0.12942177057266235, -1.183730959892273, -0.04671869054436684, 0.18367989361286163, -0.2605679929256439, 0.15878795087337494, -0.8865243792533875, 1.188852310180664, -0.35172921419143677, -0.20417940616607666, -0.046936869621276855, -0.7205109000205994, 0.6699371933937073, 0.1175009235739708, 0.43223699927330017, -0.149529367685318, 0.39856064319610596, 0.8061851859092712, -0.690951943397522, 1.133315920829773, -0.6207684874534607, 0.0313076488673687, 0.4096604287624359, 0.39181214570999146, 0.9156413078308105, 0.2745586037635803, 0.37461209297180176, 0.027745526283979416, -0.17121721804141998, -0.11848277598619461, -0.532121479511261, 0.6439895033836365, -0.4576450288295746, -0.7258550524711609, -0.2893586754798889, -0.36387506127357483, -0.3037654161453247, 0.08418519794940948, 0.20042318105697632, 0.3089708983898163, -0.18225623667240143, 0.0012077559949830174, 0.4978460371494293, -0.4654957354068756, 0.29079583287239075, 0.27326634526252747, -0.40533173084259033, -0.3846745789051056, 0.7830930948257446, -0.3203893303871155, -0.14852885901927948, -0.0424003042280674, 0.2885476350784302, 0.04017641767859459, -0.9129621982574463, -0.5182457566261292, 0.12047892063856125, -0.4137490689754486, -0.26954221725463867, -0.38074618577957153, 0.11973442137241364, -0.23819653689861298, -0.016638953238725662, -0.07744012027978897, -0.026347456499934196, -0.1637762039899826, -0.22511187195777893, 0.8005494475364685, 0.5840524435043335, 0.2024337500333786, 0.5023940801620483, -0.8808236122131348, 0.3588954210281372, 0.22829793393611908, 0.09386371821165085, -0.04831118509173393, -0.23395341634750366, -0.029524242505431175, -0.20218418538570404, -0.24877013266086578, -1.300203561782837, 0.5014885663986206, -0.22534233331680298, 0.4137353003025055, 0.422368586063385, -0.11732932925224304, 0.7312365770339966, -0.3642718195915222, 0.6544846892356873, 0.33238714933395386, -0.7992189526557922, 0.8571707010269165, -0.6584831476211548, -0.006803755648434162, 0.8048405647277832, -0.07039103657007217, -0.6307146549224854, -0.4503430128097534, -0.38147005438804626, -1.0283808708190918, 0.5953036546707153, 0.08871038258075714, -0.0711553692817688, 0.14228928089141846, 0.07365553081035614, -0.11437291651964188, 0.2733455002307892, -0.4253195822238922, -0.30118295550346375, -0.09585335850715637, -0.1531480848789215, 0.11414268612861633, -0.030618930235505104, -0.17238344252109528, -0.17038469016551971, 0.1571492999792099, -0.01928156428039074, -0.1556318998336792, -0.18365229666233063, -0.2563975155353546, 0.3611026406288147, 0.4589601457118988, 0.31103333830833435, 0.646623432636261, -0.3026452362537384, -0.062031641602516174, 0.060091253370046616, -0.6438117623329163, 0.08632316440343857, -0.006001374218612909, 0.1240808516740799, -0.08748690783977509, 0.45085272192955017, 0.9015527963638306, -0.10406756401062012, -1.1500777006149292, 0.9138455390930176, -0.2713946998119354, 0.11645331233739853, -0.4040428698062897, 0.16068224608898163, 0.03759773448109627, 0.4974514842033386, 0.29902324080467224, -0.09237520396709442, 0.32882773876190186, -0.5883841514587402, -0.06445932388305664, 0.48696956038475037, -0.41376709938049316, -0.26216891407966614, 0.4421820342540741, 0.30285605788230896, -0.2926971912384033, 0.8455146551132202, -0.009327608160674572, -0.5091869235038757, 0.6424587368965149, 0.2907293438911438, 1.0883506536483765, -0.03022422455251217, 0.28883007168769836, 0.04604533314704895, 0.3147512376308441, 0.14704854786396027, 0.25710731744766235, 0.012959563173353672, -0.5746253728866577, -0.4482695460319519, -0.24488188326358795, -0.2818467319011688, 0.26221930980682373, -0.7211939692497253, 0.2811149060726166, -0.5405692458152771, -0.05100029334425926, 0.09860443323850632, -0.5361777544021606, -0.4438566267490387, -0.2253449261188507, 0.27816295623779297, 0.9668858647346497, -0.7716863751411438, 0.48206284642219543, 0.3434434235095978, -0.08228018134832382, -0.5395967960357666, -0.32685261964797974, 0.6926948428153992, -0.7423792481422424, 0.5051225423812866, 0.39069437980651855, -0.12510240077972412, -0.3484475612640381, -0.911903440952301, -0.4352032244205475, 1.0242482423782349, 0.30954259634017944, -0.7984703779220581, 0.07423148304224014, -0.15954381227493286, 0.34773972630500793, -0.3947750926017761, -0.03106022998690605, 1.1337136030197144, 0.4675154983997345, 0.10509796440601349, -0.611489474773407, 0.18670733273029327, -0.3597542345523834, -0.08740490674972534, 0.5792316794395447, -0.32446298003196716, 0.3916310966014862, -0.6461549997329712, -0.00028587845736183226, 0.008089864626526833, 0.39911049604415894, 0.6489959359169006, 0.4480009377002716, 0.4958662688732147, 0.36092719435691833, 0.6601128578186035, -0.13869056105613708, 0.7298210263252258, -0.020112499594688416, 0.09808564931154251, 1.0878914594650269, -0.15756931900978088, 0.5498332977294922, 0.557106614112854, 0.013324343599379063, 0.6876768469810486, 0.5275580883026123, -0.3957231044769287, 0.47148406505584717, 0.5388036966323853, -0.08797433972358704, -0.1940942406654358, 0.20637889206409454, -0.09196963161230087, 0.456341952085495, 0.4918707609176636, -0.17065195739269257, -0.11243913322687149, 0.36901339888572693, 0.5694838762283325, -0.14567741751670837, -0.3322165608406067, 1.0963026285171509, -0.17154140770435333, -0.38144248723983765, 0.5663014054298401, -0.06306999176740646, 0.7270516157150269, -0.4800822138786316, 0.0024391827173531055, -0.38528624176979065, -0.03156135976314545, -0.32124024629592896, -0.716382622718811, 0.0745723694562912, 0.519257664680481, 0.08955893665552139, -0.018459811806678772, 0.6708828210830688, -0.11950086802244186, -0.09103923290967941, 0.37887826561927795, 0.420867919921875, 0.22361035645008087, -0.33685365319252014, -0.5906098484992981, 0.38648730516433716, 0.14056554436683655, -0.39311617612838745, 0.26974254846572876, 0.21213552355766296, -0.1291821449995041, 0.8850222229957581, 0.6764228940010071, 0.1649492233991623, 0.1271824985742569, 0.2022702544927597, 0.9985819458961487, -0.9899328351020813, -0.5221489667892456, -1.2680375576019287, 0.6811574101448059, -0.4759255349636078, -0.28472796082496643, 0.9086595773696899, 0.4607246220111847, 0.2433159053325653, 0.12310491502285004, 0.8895473480224609, -0.03760512173175812, 0.42558732628822327, -0.5806254744529724, 0.5698888301849365, -0.09259006381034851, 0.8708758354187012, -0.5423356890678406, -0.565650463104248, -0.15302927792072296, 0.2623492181301117, -0.5274075269699097, -0.35531434416770935, 0.24648529291152954, 0.8855732083320618, 0.1634264588356018, 0.14447949826717377, -0.02795100398361683, 0.27310070395469666, 0.5394117832183838, 0.2976953387260437, 1.201755404472351, 0.051885295659303665, 0.8526254892349243, 0.1619102507829666, -0.4978000521659851, -0.31683507561683655, -0.7793048620223999, -1.2227396965026855, -0.20638063549995422, -0.1668785661458969, -0.4522530436515808, 0.08149801939725876, 0.735556423664093, 0.5815339088439941, -0.7518618106842041, -0.43656113743782043, -0.1321599930524826, 0.09810417890548706, 0.018538963049650192, -0.29810449481010437, -0.01155219879001379, -0.20637750625610352, -0.17964495718479156, 1.0035946369171143, 0.40040525794029236, -0.10395579040050507, -0.2901822030544281, 0.20804056525230408, 0.1800817996263504, -0.11118461936712265, 0.6448521018028259, 0.4245864152908325, -0.4841143488883972, 0.09222263842821121, -0.10240273177623749, 0.10445211082696915, 0.1158609688282013, 1.1324739456176758, -0.8224441409111023, 0.5845121741294861, 0.5179371237754822, 0.5990229249000549, 0.7625356912612915, 0.1831149458885193, 0.6367923021316528, -0.9402027726173401, 0.20525768399238586, -0.017322534695267677, 0.37985238432884216, 0.3624557554721832, -0.41403019428253174, 0.34355247020721436, 0.14370517432689667, -0.3111535310745239, -0.8992669582366943, 0.1605297327041626, -0.8611471652984619, -0.5096065402030945, 1.0159269571304321, -0.1871548295021057, -0.16363497078418732, -0.33892500400543213, -0.5072034597396851, -0.3159139156341553, -0.7067261338233948, 0.8081414699554443, 0.5906942486763, -0.35300391912460327, -0.15240010619163513, -0.637651264667511, 0.39820292592048645, -0.23727989196777344, -1.1400625705718994, 0.6007444858551025, 0.5965554714202881, 0.28546270728111267, 0.23538866639137268, 0.22989846765995026, -0.17057406902313232, 0.012182063423097134, -0.20606966316699982, -0.20614659786224365, -0.39759624004364014, -0.49036723375320435, -0.4257241189479828, 0.23416535556316376, -0.11633633822202682, -0.17041732370853424 ]
http://arxiv.org/abs/2407.03040v1
http://arxiv.org/pdf/2407.03040v1
Raw Text is All you Need: Knowledge-intensive Multi-turn Instruction Tuning for Large Language Model
2024-07-03T12:04:10
2024-07-03T12:04:10
Xia Hou, Qifeng Li, Jian Yang, Tongliang Li, Linzheng Chai, Xianjie Wu, Hangyuan Ji, Zhoujun Li, Jixuan Nie, Jingbo Dun, Wenfeng Song
cs.CL
cs.CL, cs.AI, 68T50, I.2.7
Instruction tuning as an effective technique aligns the outputs of large language models (LLMs) with human preference. But how to generate the seasonal multi-turn dialogues from raw documents for instruction tuning still requires further exploration. In this paper, we present a novel framework named R2S that leverages the CoD-Chain of Dialogue logic to guide large language models (LLMs) in generating knowledge-intensive multi-turn dialogues for instruction tuning. By integrating raw documents from both open-source datasets and domain-specific web-crawled documents into a benchmark K-BENCH, we cover diverse areas such as Wikipedia (English), Science (Chinese), and Artifacts (Chinese). Our approach first decides the logic flow of the current dialogue and then prompts LLMs to produce key phrases for sourcing relevant response content. This methodology enables the creation of the G I NSTRUCT instruction dataset, retaining raw document knowledge within dialoguestyle interactions. Utilizing this dataset, we fine-tune GLLM, a model designed to transform raw documents into structured multi-turn dialogues, thereby injecting comprehensive domain knowledge into the SFT model for enhanced instruction tuning. This work signifies a stride towards refining the adaptability and effectiveness of LLMs in processing and generating more accurate, contextually nuanced responses across various fields.
[ -0.0013787547359243035, -0.6531882882118225, 0.5433682203292847, -0.1738872230052948, -0.24206508696079254, 0.050089478492736816, -0.558039128780365, -0.1558683216571808, -0.1952504962682724, 0.7560945153236389, -0.9205948710441589, -0.6739431023597717, -0.29740574955940247, -0.11091956496238708, -0.1357019543647766, 1.2286659479141235, 0.2667303681373596, 0.1491829752922058, -0.11196374893188477, -0.05870554968714714, -0.20872969925403595, -0.1732439249753952, -0.4932962656021118, -0.26130321621894836, 0.4777660369873047, 0.7149380445480347, 0.5817053914070129, 0.7641880512237549, 0.13780967891216278, 0.23885954916477203, 0.33560752868652344, 0.701688826084137, -0.6142487525939941, 0.29149651527404785, -0.27988260984420776, -0.496513694524765, -0.3928070068359375, 0.0652230978012085, 0.5721627473831177, 0.1496640294790268, -0.3168482780456543, 0.24751155078411102, -0.017555177211761475, 0.6275012493133545, -0.39254310727119446, 0.1784936636686325, -1.0292258262634277, -0.21860770881175995, -0.04430372267961502, -0.5262713432312012, -0.9068943858146667, -0.3468765914440155, -0.147596538066864, -0.7278178334236145, 0.5284587740898132, 0.053518012166023254, 0.8399986028671265, 0.22783449292182922, -0.35150110721588135, -0.3717654347419739, -0.6080148220062256, 0.8687087297439575, -0.8948267698287964, 0.3798447847366333, 0.24155569076538086, 0.10831611603498459, -0.2388984113931656, -0.6177510619163513, -0.46490949392318726, 0.0941881537437439, -0.08424932509660721, 0.19277270138263702, 0.3843996226787567, 0.12863129377365112, 0.0975770428776741, 0.2993972897529602, -0.4302729368209839, 0.1277519315481186, -0.2243860363960266, -0.10013750940561295, 0.5969927906990051, 0.2772372364997864, 0.33457618951797485, 0.053480032831430435, -0.374397337436676, -0.19094032049179077, -0.7627530694007874, -0.08437559008598328, 0.630222499370575, 0.46881014108657837, -0.170355886220932, 0.5932095050811768, -0.015320930629968643, 0.8077095150947571, -0.0020191173534840345, -0.4776078760623932, -0.18105517327785492, -0.49705350399017334, 0.048733070492744446, -0.056932006031274796, 0.7596235275268555, 0.5475990772247314, 0.40377160906791687, -0.2601650357246399, -0.17635470628738403, -0.15963391959667206, 0.5480626821517944, -1.0988259315490723, -0.26702943444252014, 0.00079119618749246, -0.21220260858535767, -0.12921656668186188, 0.019151605665683746, -0.8952655792236328, -0.3299020528793335, -0.7473008036613464, -0.021144114434719086, -0.5215342044830322, -0.21774286031723022, -0.05344304069876671, 0.012128588743507862, 0.44709837436676025, 0.243350088596344, -1.1199287176132202, 0.1761574000120163, 0.8107374310493469, 0.7264252305030823, -0.0842600017786026, -0.1192648708820343, -0.8047552108764648, 0.34033191204071045, -0.38836824893951416, 0.8422906994819641, -0.8520073294639587, -0.2390604019165039, 0.22446128726005554, 0.05356498807668686, -0.3507017493247986, -0.38285839557647705, 0.5118329524993896, -0.7244184017181396, 0.1449694037437439, 0.06096477806568146, -0.5094264149665833, -0.01947176456451416, 0.09037195891141891, -0.4919900894165039, 1.0117487907409668, 0.14770221710205078, -0.5354986786842346, 0.0566418319940567, -0.4981271028518677, -0.756600558757782, -0.08975163847208023, -0.21668654680252075, -0.35997268557548523, 0.0879785344004631, 0.2899687886238098, 0.24892190098762512, -0.4670295715332031, 0.22009120881557465, -0.009748131036758423, -0.25885632634162903, 0.26278871297836304, -0.5067722201347351, 0.32335609197616577, 0.059417709708213806, -0.17747773230075836, 0.2941463887691498, -0.8448299169540405, 0.4869857430458069, -0.11590797454118729, -0.617624044418335, -0.12688328325748444, 0.313106894493103, -0.02994322031736374, 0.05263126641511917, 0.1396811455488205, -0.3461625576019287, 0.46817508339881897, -0.48144811391830444, 0.6673839092254639, 0.7398382425308228, 0.0213607344776392, 0.4490825831890106, -0.021331366151571274, 0.46276336908340454, -0.06182049214839935, 0.049757108092308044, -0.6175724267959595, -0.4270963966846466, -0.9042249321937561, -0.22616301476955414, 0.11298888176679611, 0.6750814914703369, -0.6855615973472595, 0.3445066213607788, -0.26659178733825684, -0.2109324038028717, -0.9125814437866211, 0.4422718286514282, 0.5408533215522766, 0.44801151752471924, 0.5097843408584595, 0.1873004138469696, -0.47813165187835693, -0.8285319805145264, -0.21874704957008362, 0.12168946862220764, -0.17594443261623383, 0.4334518015384674, 0.023870239034295082, -0.17555229365825653, 0.7952283620834351, -0.6991532444953918, -0.24991485476493835, -0.15075072646141052, 0.3339228630065918, 0.07342256605625153, 0.20287960767745972, -0.0384475439786911, -0.6103500723838806, -0.4420757293701172, 0.1565360575914383, -0.5471693277359009, 0.05364900827407837, -0.12665899097919464, -0.38011714816093445, 0.5707941055297852, 0.6306689381599426, -0.40936458110809326, 0.08741286396980286, 0.45588457584381104, -0.0710459053516388, 0.38960501551628113, -0.2745208740234375, 0.10549503564834595, -1.2455956935882568, -0.044449225068092346, 0.018574902787804604, 0.009029663167893887, -0.39809730648994446, 0.2702253460884094, 0.193058043718338, -0.08696088194847107, -0.15590524673461914, 0.35780036449432373, -0.5277184844017029, 0.025619447231292725, -0.27622029185295105, 0.3168792724609375, 0.17340949177742004, 0.6889111995697021, 0.19020231068134308, 1.1249033212661743, -0.025694165378808975, -0.6127180457115173, 0.2869901955127716, 0.2433166801929474, -0.5342231392860413, 0.3502151072025299, -0.5401439070701599, 0.42391085624694824, 0.1098814308643341, 0.305399090051651, -0.7576690912246704, -0.21070753037929535, 0.11295191198587418, -0.2299412339925766, 0.5794268846511841, -0.48101943731307983, -0.4516969323158264, -0.09853119403123856, -0.18283364176750183, 0.08979886770248413, 0.4022327661514282, -0.4890507161617279, 0.7364224791526794, 0.1390853226184845, -0.39747655391693115, -0.4785131812095642, -0.25665974617004395, -0.0020899076480418444, 0.11587762832641602, -0.7069732546806335, 0.3398212194442749, -0.20897091925144196, 0.05486021935939789, -0.15032805502414703, -0.1346481442451477, 0.050762634724378586, -0.16110295057296753, 0.07566939294338226, 0.4415501356124878, -0.48579856753349304, 0.11069810390472412, 0.3420833945274353, -0.10934512317180634, 0.06309153139591217, -0.531236469745636, 0.4928079843521118, 0.06914842873811722, -0.30238813161849976, -0.27624189853668213, 0.35874277353286743, 0.6183118224143982, -0.3651116192340851, 0.566715657711029, 0.7516503930091858, 0.160507470369339, -0.5782871246337891, -0.6276610493659973, -0.4438387155532837, -0.4636957347393036, 0.42349639534950256, -0.29646822810173035, -0.8741259574890137, 0.10657159239053726, -0.2629449963569641, 0.46952641010284424, 0.23255284130573273, 0.6328713297843933, 0.07266620546579361, 1.1433213949203491, 0.5052182674407959, 0.10115547478199005, 0.3375748097896576, -0.1932048499584198, 0.44188305735588074, -1.1360660791397095, -0.3661949634552002, -0.5933613181114197, -0.10079798102378845, -0.5510557293891907, -0.6703332662582397, 0.46366065740585327, 0.020767997950315475, -0.25572386384010315, 0.02703016996383667, -0.5021589398384094, 0.6453230977058411, 0.5798137187957764, 0.1511320024728775, 0.31879958510398865, 0.1957908272743225, -0.16474305093288422, -0.10891915112733841, -0.7821484804153442, -0.721081554889679, 1.0593152046203613, 0.11879216134548187, 0.8770908713340759, -0.01976347528398037, 0.32566192746162415, 0.12520739436149597, 0.25840112566947937, -0.9516244530677795, 0.4612496793270111, -0.29974907636642456, -0.43727678060531616, -0.3656676113605499, -0.36676928400993347, -0.6303372979164124, 0.12119780480861664, -0.1356872022151947, -0.5044938921928406, -0.47923123836517334, 0.04876837134361267, -0.21278755366802216, 0.22812002897262573, -0.864293098449707, 0.6746370792388916, -0.2873804569244385, -0.7260493636131287, -0.37395986914634705, -0.6919235587120056, 0.44719186425209045, 0.23484468460083008, 0.3841453194618225, -0.00461813248693943, 0.05398084223270416, 0.5647069811820984, -0.37176692485809326, 1.0707546472549438, -0.07612370699644089, -0.5455358028411865, 0.43894919753074646, -0.005541927646845579, 0.5908839702606201, 0.310457319021225, -0.1423601508140564, -0.15579994022846222, -0.11172168701887131, -0.2432042956352234, -0.634380578994751, 0.9007415771484375, -1.0171884298324585, -0.7145068645477295, -0.13591565191745758, -0.571533203125, -0.39358726143836975, 0.1637611985206604, 0.16552767157554626, 0.6071900725364685, -0.18043769896030426, 0.019216978922486305, 1.0444025993347168, -0.22691985964775085, 0.13231109082698822, 0.8719635009765625, 0.06342440843582153, -0.426821768283844, 1.1748396158218384, -0.20695942640304565, 0.3543781042098999, 0.6205356121063232, 0.12498651444911957, -0.365925669670105, -0.19030791521072388, -0.9841210246086121, 0.15739355981349945, -0.6251205801963806, -0.4422791004180908, -0.5795297026634216, -0.4005071818828583, -0.5271608233451843, -0.03271661698818207, -0.29018083214759827, -0.0860811397433281, -0.37982723116874695, -0.07230734080076218, 0.6093254089355469, 0.8208113312721252, 0.2246406078338623, 0.1101851761341095, -1.0212833881378174, 0.5559161305427551, 0.37555205821990967, 0.48907721042633057, 0.08802558481693268, -0.7202510833740234, -0.478473037481308, 0.4517923593521118, -0.39237794280052185, -0.5300943851470947, 0.16197176277637482, 0.4928222894668579, 0.41665560007095337, 0.46826282143592834, 0.15129369497299194, 0.5132473707199097, -0.9365641474723816, 0.7221894860267639, 0.007148534990847111, -0.7704038619995117, 0.5332054495811462, -0.3662552833557129, 0.2492685317993164, 0.44321486353874207, 0.20540851354599, -0.4461807608604431, -0.2184806615114212, -0.23192816972732544, -1.0729902982711792, 1.0993285179138184, -0.28695929050445557, 0.28786832094192505, 0.006547348573803902, 0.2772771120071411, 0.25297245383262634, 0.18058472871780396, -0.2947458326816559, -0.024778224527835846, -0.3252333402633667, -0.37274059653282166, -0.007080707233399153, -0.2621103525161743, -0.37864863872528076, -0.141310453414917, 0.93800288438797, -0.5397399663925171, 0.03280722722411156, -0.1914677619934082, -0.05879456549882889, -0.24838076531887054, 0.4615207314491272, 0.6769340634346008, 0.45726287364959717, -0.09642500430345535, -0.003910927567631006, -0.13676875829696655, -0.4617016613483429, 0.03691708296537399, -0.20309175550937653, -0.30534565448760986, -0.25420376658439636, 0.42842113971710205, 0.9839823246002197, 0.5372025370597839, -0.6337250471115112, 0.22379152476787567, 0.06928572803735733, -0.12137246131896973, -0.10420762747526169, 0.4401005506515503, 0.3944280445575714, 0.025227444246411324, 0.24953317642211914, -0.08980810642242432, -0.15288613736629486, -0.6219332218170166, 0.05132821202278137, 0.3842972218990326, -0.12606914341449738, -0.18699638545513153, 0.34414196014404297, 0.5700215697288513, -0.3585556745529175, 1.0736498832702637, -0.009328044019639492, -0.5075270533561707, 0.4208363890647888, 0.686915934085846, 0.6676819324493408, -0.041952308267354965, 0.3717271089553833, 0.5604906678199768, 0.27771738171577454, 0.05220623314380646, 0.02685811184346676, -0.12564808130264282, -0.6149433851242065, -0.6764131784439087, -0.8579772114753723, -0.49294090270996094, 0.33404719829559326, -0.8631408214569092, 0.22927337884902954, -0.392952561378479, 0.19909021258354187, -0.18143121898174286, -0.11512985825538635, -0.4630548059940338, 0.15716984868049622, -0.030109472572803497, 0.8109316825866699, -0.674475371837616, 0.8940966129302979, 0.5926826000213623, -0.20543475449085236, -0.8552136421203613, 0.08921042829751968, -0.09609643369913101, -1.0394502878189087, 0.3705008625984192, 0.07437825947999954, -0.4370060861110687, 0.14408531785011292, -0.7494654655456543, -0.5470983982086182, 0.9379911422729492, 0.21210139989852905, -0.7861710786819458, -0.11523367464542389, 0.15097346901893616, 0.45916080474853516, -0.4639473557472229, 0.3720551133155823, 0.6745424270629883, 0.5472632646560669, 0.38782885670661926, -0.35433486104011536, -0.08575769513845444, -0.3171687126159668, -0.018476685509085655, 0.2888818383216858, -0.8285157680511475, 0.4414753019809723, -0.405948281288147, -0.3787350058555603, 0.07279211282730103, 0.5937556624412537, 0.12026241421699524, 0.19843554496765137, 0.16531282663345337, 0.5520763993263245, 0.6725150346755981, -0.08654528856277466, 0.8329366445541382, -0.5868341326713562, -0.11501763761043549, 1.3836519718170166, -0.46681129932403564, 0.9013745784759521, 0.2614032030105591, -0.036072734743356705, 0.6868889927864075, 0.32268714904785156, -0.010502275079488754, 0.4812602996826172, 0.20793086290359497, -0.3049018383026123, -0.5208061337471008, -0.1123906746506691, -0.42196765542030334, 0.3037019670009613, 0.6627484560012817, -0.12838749587535858, -0.06702879071235657, -0.2725931704044342, 0.12128366529941559, 0.403229296207428, -0.08246216177940369, 1.1823015213012695, 0.0027237667236477137, -1.0485597848892212, 0.609863817691803, 0.3946828246116638, 0.515868067741394, -0.8665224313735962, -0.25939586758613586, -0.2661494016647339, 0.23296231031417847, -0.18283511698246002, -0.6236370801925659, 0.0457623116672039, 0.23462316393852234, -0.6177589297294617, -0.24695801734924316, 0.49137699604034424, -0.7106320858001709, -0.5668914318084717, 0.15069159865379333, 0.22235716879367828, -0.1400323361158371, 0.2166060209274292, -0.45836612582206726, 0.17048437893390656, 0.1520441621541977, -0.32746702432632446, 0.5802343487739563, 0.7290303707122803, 0.08293909579515457, 0.43206655979156494, 0.81444251537323, -0.050596341490745544, 0.04020649194717407, 0.25508129596710205, 0.923090934753418, -0.44273295998573303, -0.20675918459892273, -0.5367085337638855, 0.49628961086273193, -0.045555707067251205, -0.3794858753681183, 0.46748998761177063, 0.6792941689491272, 0.8013808131217957, -0.13862085342407227, 0.9606297612190247, 0.18802399933338165, 0.5567010045051575, -1.003425121307373, 0.592543363571167, -0.41860759258270264, 0.16034682095050812, 0.19258159399032593, -0.8501348495483398, 0.34282875061035156, 0.5792403221130371, -0.057183876633644104, -0.0623956061899662, 0.6610465049743652, 1.062320351600647, -0.12853270769119263, 0.24405087530612946, 0.04969915375113487, 0.2585486173629761, 0.171713724732399, 0.36886608600616455, 0.48920169472694397, -0.3952800929546356, 0.5934211015701294, 0.1812765896320343, -0.25278937816619873, -0.2666948437690735, -0.900450587272644, -0.9704235792160034, -0.5355437994003296, -0.1772705763578415, -0.3649989366531372, 0.1940692812204361, 0.9156687259674072, 0.6827475428581238, -0.8253448009490967, -0.29342496395111084, 0.056740131229162216, 0.1182841956615448, -0.1800057590007782, -0.30321910977363586, 0.23292014002799988, -0.8234151601791382, -0.7592402696609497, 0.7479444146156311, 0.3310447037220001, -0.3954521119594574, -0.20644161105155945, -0.19863533973693848, -0.21340666711330414, 0.3588449954986572, 0.6671904921531677, 0.10069714486598969, -0.633568286895752, -0.053897663950920105, 0.15420763194561005, -0.19301486015319824, -0.06671582907438278, 1.2438329458236694, -0.47046566009521484, 0.4101610779762268, 0.14715030789375305, 0.5939834713935852, 0.476396769285202, 0.01564197801053524, 0.7116820216178894, -0.8693482279777527, -0.0017484232084825635, 0.1054898351430893, -0.08140556514263153, 0.4257456362247467, -0.35497766733169556, 0.4346146583557129, 0.07024797052145004, -0.4760678708553314, -0.54282546043396, 0.4442741870880127, -0.7971189022064209, -0.29730162024497986, 1.4256799221038818, -0.1612086296081543, -0.07955650240182877, 0.10419028997421265, -0.36386239528656006, 0.4501938819885254, -0.5731818079948425, 0.7493868470191956, 0.7394583821296692, 0.1765233725309372, -0.1565714180469513, -0.5027546286582947, 0.5025689005851746, 0.18209831416606903, -0.800506591796875, 0.46317610144615173, 0.6206780076026917, 0.1673613339662552, 0.0030191210098564625, 0.2876341938972473, -0.029763847589492798, -0.0354677215218544, -0.09116765856742859, 0.04978153482079506, -0.2467554658651352, -0.5783298015594482, 0.2330787479877472, 0.02652374841272831, 0.13050678372383118, 0.16098763048648834 ]
http://arxiv.org/abs/2407.03038v1
http://arxiv.org/pdf/2407.03038v1
On the Client Preference of LLM Fine-tuning in Federated Learning
2024-07-03T12:02:24
2024-07-03T12:02:24
Feijie Wu, Xiaoze Liu, Haoyu Wang, Xingchen Wang, Jing Gao
cs.CL
cs.CL, cs.DC, cs.LG
Reinforcement learning with human feedback (RLHF) fine-tunes a pretrained large language model (LLM) using preference datasets, enabling the LLM to generate outputs that align with human preferences. Given the sensitive nature of these preference datasets held by various clients, there is a need to implement RLHF within a federated learning (FL) framework, where clients are reluctant to share their data due to privacy concerns. To address this, we introduce a feasible framework in which clients collaboratively train a binary selector with their preference datasets using our proposed FedBis. With a well-trained selector, we can further enhance the LLM that generates human-preferred completions. Meanwhile, we propose a novel algorithm, FedBiscuit, that trains multiple selectors by organizing clients into balanced and disjoint clusters based on their preferences. Compared to the FedBis, FedBiscuit demonstrates superior performance in simulating human preferences for pairwise completions. Our extensive experiments on federated human preference datasets -- marking the first benchmark to address heterogeneous data partitioning among clients -- demonstrate that FedBiscuit outperforms FedBis and even surpasses traditional centralized training.
[ -0.7443808913230896, -0.31206485629081726, 0.16343317925930023, 0.4735102951526642, 0.14903679490089417, 0.22152066230773926, -0.5649427771568298, -0.5151196122169495, 0.2907795310020447, 0.5231895446777344, -0.9670161008834839, -0.5134873390197754, -0.15254081785678864, 0.2248542755842209, 0.12080461531877518, 1.111846685409546, 0.02462276630103588, 0.09272705018520355, -0.44632092118263245, -0.379786878824234, -0.12980736792087555, -0.38052210211753845, -0.3109036982059479, -0.9430394768714905, 0.7239422798156738, 0.7778795957565308, 0.7226975560188293, 0.47446298599243164, 0.4302300810813904, 0.2538064420223236, 0.38674965500831604, 0.3686160445213318, -0.738490104675293, 0.16101276874542236, -0.352788507938385, -0.572580873966217, -0.3702619969844818, 0.2764543890953064, 0.49073413014411926, 0.9161052107810974, -0.4664594829082489, 0.11706704646348953, -0.26847192645072937, 0.9552536010742188, -0.6114461421966553, 0.3479938209056854, -0.33167314529418945, 0.5629708766937256, -0.09373784065246582, -0.3169673979282379, -0.6847005486488342, -0.4908035695552826, 0.3623608946800232, -0.6074736714363098, 0.3316844403743744, 0.5078020691871643, 0.7699587345123291, 0.19729383289813995, -0.050324421375989914, 0.14608438313007355, -0.5749003291130066, 0.7688468098640442, -0.3832782506942749, 0.5636124610900879, 0.6030967831611633, 0.2912085950374603, -0.30879083275794983, -0.48155075311660767, -0.11320547014474869, -0.09690437465906143, -0.32696759700775146, -0.019652795046567917, 0.05004378780722618, 0.3955170214176178, 0.07853371649980545, 0.4628795385360718, -0.403717577457428, 0.4698909819126129, -0.006365245673805475, -0.3392557203769684, 0.7181296348571777, 0.17874351143836975, 0.05560087040066719, 0.21015803515911102, -0.3606753945350647, -0.1790701150894165, -0.6249721050262451, 0.3605656623840332, 0.4967135190963745, 0.6091817617416382, 0.06381023675203323, 0.11420454829931259, -0.793592095375061, 0.7238409519195557, 0.591840386390686, -0.18225660920143127, 0.5543345808982849, 0.09197241812944412, -0.32132279872894287, 0.10660434514284134, 0.7994814515113831, 0.33349403738975525, -0.02922719158232212, -0.7112002968788147, -0.4787067472934723, -0.09979648143053055, 0.15644529461860657, -0.8938230872154236, -0.3872753381729126, 0.21915680170059204, -0.2963254451751709, -0.36229977011680603, 0.1308600902557373, -0.3464535176753998, -0.17619754374027252, -0.3917556405067444, -0.03352804109454155, -0.17406892776489258, -0.24782413244247437, 0.15856365859508514, 0.06590601801872253, 0.13501302897930145, 0.28781330585479736, -1.579932451248169, 0.5473893284797668, 0.9546833634376526, 0.3569825291633606, -0.06560518592596054, -0.6991041898727417, -0.9895936250686646, -0.037226442247629166, -0.08411437273025513, 0.7815513014793396, -0.5844053030014038, -0.2665770947933197, 0.046179693192243576, -0.06879501044750214, 0.22324799001216888, -0.566307008266449, 0.11862707883119583, -0.6736752390861511, 0.3323606848716736, -0.7012229561805725, -0.6539254188537598, 0.02605442702770233, 0.2610577642917633, -0.40769168734550476, 0.40347641706466675, 0.23049865663051605, -0.7503141760826111, 0.7499552965164185, -0.49704334139823914, -0.474913626909256, 0.23031118512153625, -0.42823436856269836, -0.6215775012969971, -0.19182458519935608, 0.27943897247314453, 0.6365431547164917, 0.0008307891548611224, 0.2781311869621277, -0.8780139088630676, -0.5318446755409241, 0.163407102227211, 0.10547628253698349, 0.48924484848976135, 0.08728150278329849, -0.14273463189601898, 0.2658842206001282, -0.4413529932498932, 0.21654793620109558, -0.060115162283182144, -0.6265015006065369, -0.13949993252754211, -0.06922192871570587, 0.10540034621953964, -0.044335026293992996, 0.27353668212890625, -0.6363677382469177, 0.341193825006485, -0.6051044464111328, 0.4374202787876129, 0.8909832239151001, -0.1316007822751999, 0.837975025177002, -0.6489989757537842, 0.4152255952358246, -0.1891290843486786, 0.26559188961982727, 0.3690932095050812, -0.041344039142131805, -0.4165005385875702, -0.2997351884841919, 0.30079594254493713, 0.0025560783687978983, -0.37766021490097046, 0.4097168743610382, -0.2447090595960617, -0.26119735836982727, -0.5139921307563782, 0.30230939388275146, 0.568164050579071, 0.2919526696205139, 0.06792458146810532, -0.4638286232948303, -0.4270209074020386, -0.8665412068367004, 0.22287267446517944, -0.13171887397766113, 0.12430699914693832, 0.7104776501655579, -0.036949656903743744, -0.47136446833610535, 1.2922005653381348, -0.41423478722572327, -0.3940994441509247, -0.14428377151489258, 0.22066137194633484, -0.027759350836277008, 0.4016168713569641, 0.689355194568634, -0.6932937502861023, -0.500652015209198, -0.005253414623439312, -0.42619308829307556, -0.11494710296392441, 0.14386175572872162, -0.17329920828342438, 0.29297390580177307, 0.017872963100671768, -0.10135969519615173, 0.02334802970290184, 0.5203595757484436, -0.16836252808570862, 0.6176595091819763, -0.3363056778907776, 0.13959720730781555, -0.6802859902381897, -0.14806868135929108, -0.2799069881439209, -0.5536243319511414, -0.24417154490947723, 0.13670530915260315, -0.021825119853019714, 0.0866430252790451, -0.31661614775657654, 0.26728808879852295, -0.37531760334968567, -0.598598301410675, -0.2012077122926712, -0.00597754493355751, -0.1281483769416809, 0.8136236071586609, 0.12413571774959564, 0.8098404407501221, 0.3418918251991272, -0.36543840169906616, 0.6078554391860962, 0.6030426025390625, 0.03810443356633186, 0.6782277226448059, -0.32901471853256226, 0.03234592452645302, 0.04879684001207352, 0.5228685736656189, -0.6341976523399353, -0.5877885818481445, 0.17290572822093964, -0.33214879035949707, 0.23894581198692322, 0.00391097366809845, -0.47439539432525635, -0.19706083834171295, -0.24611620604991913, 0.26425987482070923, 0.1714457869529724, -0.9131889939308167, 0.27768847346305847, 0.28256136178970337, 0.2446517050266266, -0.9047273397445679, -0.720924437046051, -0.32015886902809143, 0.1553623378276825, -0.5985997319221497, 0.2658444941043854, -0.13354240357875824, 0.07311800867319107, -0.03651408106088638, -0.04145011678338051, 0.048735614866018295, 0.193422332406044, 0.7422139048576355, 0.11852961033582687, -0.0275361780077219, 0.058512747287750244, 0.05144306272268295, -0.1777191162109375, 0.04845379665493965, -0.21265581250190735, 0.5544248819351196, -0.6803331971168518, -0.39873647689819336, -0.2625580430030823, 0.13435642421245575, 0.18354862928390503, -0.37589916586875916, 0.54240882396698, 0.790363609790802, 0.07537112385034561, -0.577864408493042, -0.544867753982544, -0.464993953704834, -0.4570474624633789, 0.0741235688328743, -0.23179571330547333, -1.3215192556381226, 0.4808468520641327, 0.0327322892844677, 0.34601056575775146, -0.25199487805366516, 0.47536084055900574, -0.025193054229021072, 0.7182912826538086, 0.7263023853302002, -0.5616772770881653, 0.7146399021148682, -0.1375844031572342, -0.05453440546989441, -0.518537163734436, -0.11076220870018005, -0.2403474748134613, -0.539896547794342, -0.6920974850654602, 0.15501166880130768, 0.033464618027210236, -0.15627682209014893, -0.23343224823474884, 0.19986194372177124, -0.3937782049179077, 0.6624072790145874, 0.7479837536811829, 0.5329123735427856, 0.2430991381406784, 0.12122690677642822, -0.47864070534706116, 0.16063754260540009, -0.6315491199493408, 0.11503097414970398, 0.9675537347793579, 0.29624125361442566, 0.8160913586616516, 0.02983279712498188, 1.3372751474380493, 0.3000922203063965, 0.5517773032188416, -0.6769404411315918, 0.392612487077713, 0.08056679368019104, -0.5332231521606445, -0.3561207354068756, -0.586901843547821, -0.7296943068504333, 0.18812711536884308, -0.4563247859477997, -0.6055834889411926, 0.24137361347675323, 0.3244952857494354, -0.6741786599159241, 0.16068190336227417, -0.5860546231269836, 0.6506907343864441, -0.04159536585211754, -0.7380897998809814, -0.42722827196121216, -0.8208078145980835, 0.458496630191803, 0.33204084634780884, -0.14380350708961487, -0.11046344041824341, 0.3229740560054779, 0.6169351935386658, -0.5922107696533203, 0.8038655519485474, -0.27251601219177246, 0.26570072770118713, -0.2751326858997345, -0.03262512385845184, 0.33454304933547974, 0.41407492756843567, 0.059883248060941696, -0.08397815376520157, -0.13197985291481018, -0.6138278245925903, -0.3636796474456787, 0.8486339449882507, -1.1908023357391357, -0.5129336714744568, -0.3938983678817749, -0.6008614301681519, -0.6784665584564209, 0.3014564514160156, -0.03466395288705826, 0.48321333527565, -0.22675207257270813, 0.1572839766740799, 0.7237645983695984, -0.031743139028549194, 0.24266909062862396, 0.8062885999679565, -0.6191843152046204, -0.5384719967842102, 0.8539422154426575, -0.34303849935531616, 0.2993001639842987, 0.4942246377468109, 0.04409496486186981, -0.16593025624752045, -0.4862241744995117, -0.22466813027858734, 0.3787265717983246, -0.5690451264381409, -0.15462027490139008, -0.42464351654052734, -0.09489760547876358, -0.2094115912914276, -0.44422677159309387, -0.49469444155693054, 0.05655830353498459, -0.37464553117752075, -0.2959541380405426, 0.1753707379102707, 0.3699427545070648, -0.3525804877281189, 0.3229040801525116, -0.6910721063613892, 0.006041083950549364, 0.5144597887992859, 0.8482332825660706, -0.10841371864080429, -0.0009755445062182844, -0.3372885286808014, 0.0757664293050766, -0.043563362210989, -0.20635700225830078, 0.15861037373542786, -0.058778874576091766, 0.5369124412536621, 0.7478152513504028, 0.3196054995059967, 0.6558114290237427, -0.2600547671318054, 0.24525488913059235, 0.2442316859960556, -0.4539298713207245, 0.23387831449508667, -0.4217662811279297, 0.003460772568359971, 1.085986614227295, 0.1513543426990509, -0.47054392099380493, -0.22722211480140686, -0.6064571142196655, -0.3730299472808838, 1.161974549293518, -0.21983598172664642, -0.32259467244148254, 0.23055388033390045, 0.2875395119190216, 0.35926932096481323, 0.3605727255344391, -0.44808658957481384, -0.3348098397254944, -0.0067313737235963345, 0.1179332360625267, -0.07162842154502869, -0.06401988863945007, -0.35097649693489075, -0.16803450882434845, 0.6308525204658508, -0.12889966368675232, 0.17172925174236298, -0.012553622014820576, -0.0174066424369812, -0.6122153401374817, 0.292805552482605, 0.36431509256362915, 0.5553028583526611, -0.7506168484687805, -0.20887063443660736, -0.20979149639606476, -0.1716861128807068, 0.16966480016708374, 0.2831103205680847, -0.3133257329463959, -0.34944990277290344, 0.13698649406433105, 0.9228489995002747, 0.3922445774078369, -0.5162291526794434, 0.5866438150405884, -0.4624589681625366, -0.6221727728843689, -0.08454296737909317, 0.34503182768821716, 0.03530735522508621, 0.3258931636810303, 0.08333611488342285, 0.40114885568618774, -0.012371711432933807, -0.43804219365119934, 0.47619250416755676, 0.5075548887252808, -0.4631350338459015, -0.3280971944332123, 0.3318203091621399, 0.4468468427658081, -0.08263882994651794, 0.6480373740196228, -0.27416300773620605, -0.4595222473144531, 0.0725543275475502, 0.2929859757423401, 0.7554748058319092, 0.02623780630528927, 0.5884864926338196, -0.011285260319709778, -0.09889564663171768, -0.3205326199531555, -0.03501962125301361, -0.6987174153327942, -0.9301359057426453, -0.12236259877681732, -0.793512225151062, -0.7865385413169861, -0.2145220786333084, -0.9652439951896667, -0.06379890441894531, -0.8986436128616333, -0.011253073811531067, -0.09657669812440872, 0.5563740134239197, -0.7370812892913818, -0.07834023982286453, 0.21268215775489807, 0.653410017490387, -0.8203560709953308, 1.0203689336776733, 0.6987366080284119, -0.49622833728790283, -0.9504591822624207, -0.09712614864110947, -0.13405267894268036, -0.765927255153656, 0.5076316595077515, 0.18191774189472198, -0.008420812897384167, -0.08387778699398041, -0.49234163761138916, -0.4995421767234802, 1.2360037565231323, 0.23650230467319489, -0.7149816155433655, -0.11034765839576721, 0.21951143443584442, 0.5059058666229248, -0.4585128724575043, 0.24127629399299622, 0.6311972141265869, 0.3169097602367401, 0.06765104830265045, -0.9001328945159912, -0.12506912648677826, 0.15022145211696625, -0.09307683259248734, 0.23336483538150787, -1.0672398805618286, 0.5818391442298889, -0.24356026947498322, -0.028454890474677086, -0.31568264961242676, 0.8405934572219849, 0.242230623960495, 0.2866666316986084, 0.6494731903076172, 0.6102210879325867, 0.9285979866981506, -0.003364129923284054, 0.6415326595306396, -0.110452800989151, 0.5897807478904724, 1.4138202667236328, -0.4965209364891052, 0.7175279259681702, 0.41471201181411743, -0.3092690706253052, 0.3383225202560425, 0.7850648164749146, 0.08322823792695999, 0.8347097635269165, 0.05161307007074356, -0.20745287835597992, -0.49193525314331055, -0.11616720259189606, -0.29315268993377686, 0.328195720911026, 0.18330883979797363, -0.15182869136333466, -0.39660122990608215, 0.05991411954164505, -0.21380479633808136, 0.17489737272262573, -0.1814986765384674, 0.9555509686470032, -0.07091040164232254, -0.7254104614257812, 0.6269236207008362, 0.03856126219034195, 0.8863250017166138, -0.5510073900222778, 0.356092631816864, -0.5520128011703491, 0.3654112219810486, -0.5616171956062317, -0.4546341598033905, 0.07356109470129013, -0.39106687903404236, -0.4425739049911499, -0.42836442589759827, 0.40996527671813965, -0.5600615739822388, 0.09293007850646973, 0.40622642636299133, 0.2018110603094101, -0.2768784761428833, 0.19314149022102356, -0.71099853515625, -0.020840831100940704, 0.16686956584453583, -0.1467607170343399, 0.7668246626853943, 0.17708997428417206, 0.27699851989746094, 0.770709216594696, 0.5713377594947815, 0.11332040280103683, -0.21633964776992798, 0.224714457988739, 0.9925709962844849, -0.3368014693260193, -0.8139208555221558, -0.4229108691215515, -0.17790967226028442, 0.052474070340394974, -0.019808588549494743, 0.604806661605835, 0.354783833026886, 1.271672010421753, -0.02609684318304062, 0.7149056792259216, 0.08154703676700592, 0.45795539021492004, -0.20994237065315247, 0.7728907465934753, -0.31748461723327637, 0.27447161078453064, -0.04290064051747322, -0.612041175365448, -0.12512412667274475, 0.46435487270355225, -0.5513961911201477, -0.3229944407939911, 0.35723698139190674, 0.9276651740074158, -0.26020297408103943, 0.3320659399032593, 0.3130764663219452, -0.12711136043071747, 0.3874485492706299, 0.8167627453804016, 0.49622946977615356, -0.023300664499402046, 0.22418160736560822, -0.7195172309875488, -0.28150808811187744, -0.6104047298431396, -0.5667803883552551, -1.0872613191604614, -0.4589431881904602, -0.13782024383544922, -0.14870516955852509, 0.07119964063167572, 1.5835908651351929, 0.8634046912193298, -0.9138710498809814, -0.20302020013332367, -0.10285478085279465, 0.14406612515449524, -0.3257473409175873, -0.22869253158569336, -0.04358387365937233, -0.5692992806434631, -0.38860687613487244, 0.17133505642414093, 0.2528616189956665, -0.2257775366306305, -0.5700094103813171, -0.5289048552513123, -0.1610662043094635, -0.4774562418460846, 0.19850648939609528, 0.4160214066505432, -0.7390997409820557, -0.3596162497997284, -0.2555871307849884, -0.3872758448123932, 0.1573702096939087, 0.756987988948822, -0.7886543273925781, 0.4340617060661316, 0.43971922993659973, 0.9352089762687683, 0.5092582106590271, 0.20280534029006958, 0.5955126881599426, -0.9801020622253418, 0.289686918258667, 0.11330636590719223, 0.36021310091018677, 0.3326491415500641, -0.456240713596344, 0.2590494155883789, 0.25801774859428406, -0.8219408392906189, -0.6601414680480957, 0.14234806597232819, -0.988210141658783, -0.11872132122516632, 0.8553090691566467, -0.44057372212409973, -0.40362492203712463, 0.2252873331308365, 0.008151817135512829, -0.05970678851008415, -0.918546199798584, 0.7083433866500854, 0.5542195439338684, -0.17528456449508667, -0.03275437280535698, 0.025952477008104324, 0.7949630618095398, 0.4494972229003906, -0.580461323261261, 0.2991577982902527, 0.8317832350730896, 0.40214574337005615, -0.11717484891414642, 0.8645933866500854, 0.3067435920238495, 0.42631494998931885, -0.32545676827430725, 0.04845470190048218, -0.5459678769111633, -0.3894120454788208, -0.17908631265163422, 0.24940502643585205, 0.2765241861343384, -0.11932011693716049 ]
http://arxiv.org/abs/2407.03032v1
http://arxiv.org/pdf/2407.03032v1
Strategies for Arabic Readability Modeling
2024-07-03T11:54:11
2024-07-03T11:54:11
Juan Piñeros Liberato, Bashar Alhafni, Muhamed Al Khalil, Nizar Habash
cs.CL
cs.CL
Automatic readability assessment is relevant to building NLP applications for education, content analysis, and accessibility. However, Arabic readability assessment is a challenging task due to Arabic's morphological richness and limited readability resources. In this paper, we present a set of experimental results on Arabic readability assessment using a diverse range of approaches, from rule-based methods to Arabic pretrained language models. We report our results on a newly created corpus at different textual granularity levels (words and sentence fragments). Our results show that combining different techniques yields the best results, achieving an overall macro F1 score of 86.7 at the word level and 87.9 at the fragment level on a blind test set. We make our code, data, and pretrained models publicly available.
[ -0.43778303265571594, -0.9364708065986633, 0.18940259516239166, 0.3048781454563141, -0.4518013596534729, 0.11311089992523193, 0.046816386282444, -0.7851842045783997, -0.13931319117546082, 0.2163214087486267, -0.27398818731307983, -0.9050564169883728, -0.817644476890564, 0.3133237361907959, -0.7619041800498962, 0.8715408444404602, -0.448417603969574, -0.3329874277114868, 0.059029195457696915, -0.26865407824516296, -0.44013550877571106, -0.41327545046806335, -0.1990511119365692, -0.03603213280439377, 0.4413113594055176, 0.450309157371521, 1.2794049978256226, 0.6881545186042786, 0.5124000906944275, 0.24246373772621155, -0.32997986674308777, 0.07236658781766891, 0.09129630774259567, -0.26739615201950073, -0.05886705964803696, -0.042163994163274765, -0.5817893147468567, -0.04281485825777054, 0.3968755900859833, 0.6709203720092773, -0.01684451289474964, -0.01379976887255907, -0.05096881464123726, 0.5607082843780518, -0.7812264561653137, -0.16947917640209198, -0.1405903548002243, 0.20384961366653442, -0.16562698781490326, 0.105403371155262, -0.36733555793762207, -0.38763129711151123, 0.4677131772041321, -0.28811410069465637, 0.061961956322193146, 0.1312723606824875, 0.6944201588630676, 0.061465393751859665, -0.6983023285865784, -0.8224432468414307, -0.6880987286567688, 0.6833780407905579, -1.0020883083343506, 0.5093972682952881, 0.8098905682563782, 0.13625724613666534, 0.3836078643798828, -0.5695289373397827, -0.569174587726593, -0.615524172782898, -0.14807899296283722, -0.1850154548883438, -0.12860538065433502, -0.05272562801837921, -0.034983739256858826, 0.43694642186164856, -0.48735105991363525, -0.1376817375421524, -0.017485452815890312, -0.33111563324928284, 0.6681128740310669, -0.09586135298013687, 0.7193048000335693, -0.2359643280506134, -0.12941744923591614, -0.10283714532852173, -0.4430716931819916, -0.09810485690832138, 0.43266761302948, 0.18675139546394348, -0.21529290080070496, 0.6962593197822571, -0.19556263089179993, 0.6710063219070435, -0.3351946175098419, -0.14984647929668427, 0.2615944445133209, -0.6923458576202393, -0.12746262550354004, -0.16004396975040436, 0.3677304983139038, -0.05890607461333275, 0.327923983335495, -0.21080654859542847, -0.4889395833015442, -0.45705848932266235, 0.5836074352264404, -0.9905025362968445, -0.11067134886980057, 0.3009612262248993, -0.7245817184448242, -0.15852810442447662, -0.016438692808151245, -0.686154842376709, -0.3171599507331848, -0.3420478105545044, 0.89317387342453, -0.7833682298660278, -0.17280825972557068, 0.17978577315807343, 0.23063819110393524, 0.37740635871887207, 0.5550132393836975, -0.8372739553451538, 0.40381577610969543, 0.3646475076675415, 1.0704818964004517, -0.23132552206516266, -0.030820749700069427, -0.1258327215909958, -0.14128825068473816, -0.23230893909931183, 0.6223630905151367, -0.44861045479774475, -0.5005562901496887, 0.19614072144031525, -0.543480396270752, -0.3868209421634674, -0.5858529210090637, 0.6126039028167725, -0.6860581040382385, -0.3219560980796814, 0.2517743706703186, -0.5921995639801025, -0.6028719544410706, 0.3033176362514496, -0.7538665533065796, 0.6567360162734985, 0.31022411584854126, -0.7674512267112732, 0.4037492573261261, -0.7386137247085571, -0.7006703019142151, -0.12144295126199722, 0.2919257581233978, -0.3565281629562378, 0.1130160242319107, 0.295919805765152, 0.214623361825943, 0.32900282740592957, -0.07782689481973648, 0.013298851437866688, -0.40174436569213867, 0.17450293898582458, -0.6590684652328491, 0.4109609127044678, 0.2783161699771881, -0.652566134929657, 0.2521525025367737, -0.8682477474212646, 0.4145268499851227, -0.400581419467926, -0.3926059901714325, -0.06408947706222534, 0.179586723446846, 0.5816035270690918, 0.19478513300418854, 0.04755640774965286, -0.14281857013702393, 0.061568524688482285, -0.464102178812027, 0.07021956890821457, 0.32654398679733276, -0.320453941822052, 0.20987045764923096, -0.46900761127471924, 0.6989287734031677, 0.1864648014307022, 0.07795882970094681, -0.017377793788909912, -0.1580536812543869, -0.7657727003097534, -0.6121953725814819, 0.6898984313011169, 0.689746081829071, -0.45805710554122925, 0.5365809798240662, 0.2646317481994629, -0.942586362361908, -0.4775742292404175, 0.17495094239711761, 0.5938901305198669, 0.06271851062774658, 0.41776594519615173, -0.37318122386932373, -0.010015903040766716, -0.5799562335014343, -0.5376704335212708, -0.15913301706314087, 0.12759141623973846, 0.5206348896026611, 1.0280072689056396, -0.7159373760223389, 0.6381649971008301, -0.30643653869628906, 0.025094132870435715, -0.386281281709671, 0.3157130777835846, 0.10747849941253662, 0.455281138420105, 0.5601682662963867, -0.7793489694595337, -0.5834147930145264, 0.14962132275104523, -0.3492060899734497, -0.044841356575489044, 0.37136584520339966, 0.05127517506480217, 0.17739371955394745, 0.4374805986881256, -0.09290525317192078, 1.0094562768936157, 0.530647337436676, -0.7215895056724548, 0.7050778865814209, -0.24732697010040283, 0.19823713600635529, -0.7238421440124512, 0.15297479927539825, -0.1430080235004425, -0.6064308881759644, -0.6505877375602722, 0.47429320216178894, 0.06883356720209122, -0.03481246531009674, -0.716176450252533, 0.6267561316490173, -0.433793306350708, -0.06376384943723679, -0.37137913703918457, -0.3031744062900543, -0.1504490226507187, -0.018162723630666733, 0.00017059920355677605, 1.073163390159607, 0.3516584634780884, -0.7070732116699219, -0.1860039234161377, 0.4121644198894501, -0.8341816663742065, 0.0746893584728241, -1.0879439115524292, 0.12455138564109802, -0.0663616955280304, -0.08130498230457306, -0.9597193598747253, -0.17386874556541443, 0.2066737711429596, 0.018211379647254944, 0.1994057446718216, 0.3444085121154785, -0.5057008266448975, 0.3418540358543396, 0.038597412407398224, 0.8824504017829895, 0.3554447591304779, -0.4307252764701843, 1.0200974941253662, 0.1828504502773285, -0.473070353269577, -0.551493763923645, -0.13656902313232422, -0.23090271651744843, -0.09492072463035583, -0.714038074016571, 0.39229893684387207, -0.2338070422410965, -0.4060247838497162, -0.272611141204834, -0.11970342695713043, -0.5758255124092102, 0.3137931227684021, 0.4806693196296692, -0.006352668162435293, -0.17636409401893616, -0.022206593304872513, -0.117666095495224, 0.16755536198616028, -0.1315542459487915, 0.13391785323619843, 0.6150648593902588, -0.40898269414901733, -0.21332696080207825, -0.4850198030471802, 0.47512364387512207, 0.37590718269348145, -0.48827531933784485, 1.006888747215271, 0.7400973439216614, -0.3582666218280792, -0.19935697317123413, -0.14346760511398315, 0.2520163655281067, -0.46371063590049744, 0.4838249981403351, -0.4273618459701538, -0.5753569602966309, 0.391274094581604, -0.15809845924377441, 0.1779964119195938, 0.3405715227127075, 0.7063542604446411, -0.09164224565029144, 1.0501316785812378, 1.01649010181427, -0.025223540142178535, 0.3761942386627197, -0.1252976357936859, 0.1920064389705658, -0.21925778687000275, -0.15400397777557373, -0.783454418182373, -0.19999335706233978, -0.37880682945251465, -0.5984725952148438, 0.3331533372402191, 0.3943566083908081, -0.08384046703577042, 0.12597930431365967, 0.17426271736621857, 0.5669538974761963, 0.41685792803764343, 0.22796951234340668, 0.5869928598403931, -0.09091859310865402, -0.6503814458847046, 0.11744006723165512, -0.3924383819103241, -0.919413149356842, 0.9578189253807068, 0.33151775598526, 0.4847603142261505, 0.525040328502655, 0.5481046438217163, 0.6233616471290588, 0.526298999786377, -0.9179850816726685, 0.31934136152267456, -0.024361304938793182, -0.6389473676681519, -0.34447357058525085, -0.3214505910873413, -0.6961631774902344, 0.2854132652282715, -0.34691858291625977, -0.5129579305648804, -0.13046646118164062, 0.07165643572807312, -0.28135865926742554, -0.11487390100955963, -0.691999077796936, 1.1052310466766357, -0.06050586700439453, 0.09717579185962677, -0.13413028419017792, -0.6727170944213867, 0.023314233869314194, -0.3826657235622406, 0.4795653223991394, -0.011104404926300049, -0.2647462487220764, 0.7452096343040466, -0.573680579662323, 0.6809439063072205, 0.19581106305122375, -0.14674480259418488, 0.38281500339508057, 0.22057577967643738, 0.17051005363464355, 0.18236884474754333, -0.25715312361717224, 0.2519700229167938, 0.4360184371471405, -0.7218039035797119, -0.5629868507385254, 0.06188279017806053, -1.2438372373580933, -0.28356149792671204, -0.6728320717811584, -0.7375032305717468, -0.2817501127719879, 0.40138208866119385, 0.017733311280608177, 0.6232307553291321, -0.5879318118095398, -0.18037180602550507, 0.35558706521987915, -0.21319665014743805, 0.5091770887374878, 0.79529869556427, -0.34691059589385986, -0.2676740884780884, 0.6345291137695312, 0.0019303044537082314, 0.16630837321281433, 0.204960897564888, -0.0015356645453721285, -0.4212377965450287, -0.9989994168281555, -0.3926366865634918, 0.08648234605789185, -0.45996925234794617, 0.23766061663627625, -0.3042365610599518, -0.3823741376399994, -0.2770337164402008, -0.09360399842262268, -0.09153061360120773, -0.23537157475948334, -0.3164352476596832, 0.014491135254502296, -0.04745367169380188, 0.8555192947387695, 0.04895854368805885, 0.539527177810669, -0.9458878636360168, 0.21064908802509308, 0.07813791185617447, 0.3073982298374176, -0.09192579984664917, -0.9172061681747437, -0.3797772228717804, -0.1062760129570961, -0.3716394007205963, -0.8903698921203613, 0.5250006318092346, 0.19611993432044983, -0.07705952227115631, 0.5410114526748657, -0.013321088626980782, 0.5209812521934509, -0.8275169134140015, 0.35439997911453247, -0.3013027012348175, -1.3530570268630981, 0.49214521050453186, -0.20901596546173096, 0.3958618640899658, 0.8778557777404785, 0.7331874370574951, -0.334523469209671, -0.24606439471244812, -0.3550432324409485, -0.8127477765083313, 0.2249555140733719, 0.4565211832523346, 0.25545239448547363, 0.1663377285003662, 0.5596174597740173, 0.354064404964447, 0.1653490513563156, -0.4020363390445709, -0.05752183124423027, -0.09298452734947205, -0.4781559109687805, -0.3287495970726013, -0.41322842240333557, 0.13936592638492584, -0.22556060552597046, 0.5636032223701477, 0.1053699254989624, -0.06540002673864365, 0.07299556583166122, -0.5105939507484436, 0.2881447672843933, 0.370596706867218, 0.6199754476547241, 1.2062336206436157, -0.42318880558013916, 0.16603057086467743, -0.06609459221363068, -1.019339680671692, 0.42036548256874084, 0.23713333904743195, -0.48771995306015015, 0.16003476083278656, 0.807392418384552, 0.4654681384563446, -0.04783298447728157, -1.014377236366272, 0.5459132194519043, -0.19255396723747253, -0.14837609231472015, -0.25358846783638, 0.20066305994987488, -0.09345471113920212, 0.1713564246892929, -0.01873066835105419, 0.026413366198539734, 0.15072935819625854, -0.5458667874336243, 0.3122287690639496, 0.13413842022418976, -0.46155667304992676, -0.2013566493988037, 0.3028852641582489, 0.3078995645046234, -0.29853376746177673, 0.7203149795532227, -0.031417571008205414, -0.20919980108737946, 0.6105250716209412, 0.5567708611488342, 0.3913748264312744, -0.31499770283699036, 0.5792555809020996, 0.1197456568479538, 0.3769199252128601, 0.1409672200679779, 0.4903194308280945, 0.017056910321116447, -0.9032413959503174, -0.25477686524391174, -0.7860116362571716, -0.6537808179855347, -0.18992464244365692, -0.6231723427772522, -0.1342470943927765, -0.3916451334953308, -0.05218188464641571, 0.18172432482242584, 0.46091794967651367, -0.6910243034362793, 0.6572859287261963, -0.3422045111656189, 1.1343817710876465, -0.8543661832809448, 0.43672284483909607, 0.6009945273399353, -0.5537853240966797, -0.7799533605575562, 0.22166655957698822, -0.12742969393730164, -0.7274591326713562, 0.4622885286808014, 0.462236225605011, 0.1097458153963089, 0.04537191614508629, -0.22574791312217712, -0.8929427862167358, 0.832419216632843, 0.06271708011627197, -0.44096338748931885, -0.10988527536392212, 0.07405803352594376, 0.4108272194862366, -0.05730138346552849, 0.7489515542984009, 0.774627685546875, 0.5437259674072266, -0.057715728878974915, -0.8772386312484741, -0.07513342052698135, -0.3009524643421173, -0.1967633217573166, 0.131662979722023, -0.26029714941978455, 0.7261238098144531, -0.24635867774486542, -0.07914046943187714, 0.3478863835334778, 1.0396314859390259, -0.013844032771885395, 0.5510393977165222, 0.7092217803001404, 0.5710713267326355, 0.8166606426239014, 0.29829323291778564, 1.0872405767440796, -0.31495457887649536, 0.11591056734323502, 0.7524386644363403, -0.2156648486852646, 1.1767216920852661, 0.10708238929510117, -0.23985590040683746, 0.6377823948860168, 0.5758653283119202, 0.3078652620315552, 0.4916781485080719, 0.3701997995376587, -0.5775916576385498, -0.047699250280857086, -0.2219775766134262, -0.249864861369133, 0.6923841834068298, 0.008817196823656559, -0.4620416462421417, -0.18206144869327545, 0.09040823578834534, 0.22196951508522034, 0.11476606130599976, -0.4482230842113495, 0.5503891706466675, 0.031887151300907135, -0.30630430579185486, 0.436554878950119, 0.5198280811309814, 0.3271547555923462, -0.3603024184703827, 0.017142262309789658, -0.19253462553024292, 0.22749435901641846, -0.17586512863636017, -0.46636584401130676, 0.5975641012191772, 0.3713279068470001, -0.3123973309993744, 0.10062754154205322, 0.699336051940918, -0.22794602811336517, -0.7166436314582825, 0.03517487645149231, 0.9481654167175293, 0.4436860680580139, -0.059218693524599075, -0.5772978663444519, 0.048905257135629654, -0.19747589528560638, -0.20723514258861542, 0.33529722690582275, 0.26080644130706787, 0.14962545037269592, 0.5267383456230164, 0.3792949616909027, -0.00001768910624377895, 0.03978288918733597, 0.06841081380844116, 0.5898624062538147, -0.8196225762367249, -0.3486679792404175, -0.8683710098266602, 0.23556342720985413, 0.35220515727996826, -0.6306731104850769, 0.7577527165412903, 0.3859313130378723, 0.582587480545044, 0.04218678176403046, 0.6690384745597839, 0.10554178059101105, 0.3255988359451294, -0.5172980427742004, 0.9052737951278687, -0.47576233744621277, -0.13366277515888214, -0.3802565038204193, -0.8341352939605713, -0.413665235042572, 0.8708553910255432, -0.21325920522212982, 0.5385558605194092, 0.7914295196533203, 0.6144042611122131, -0.012014726176857948, 0.1862916350364685, 0.24113400280475616, 0.20813396573066711, 0.06546036899089813, 0.4169214069843292, 0.7177209854125977, -0.2687827944755554, 0.393543541431427, 0.0051824189722537994, -0.34734562039375305, -0.29472190141677856, -0.9355370998382568, -1.1407427787780762, -0.25859883427619934, -0.38811150193214417, -0.5287760496139526, 0.25715172290802, 0.757768988609314, 0.7171326875686646, -0.7768218517303467, -0.22025813162326813, -0.08212829381227493, -0.021673349663615227, -0.29600000381469727, -0.1532030552625656, 0.6758694648742676, -0.07494643330574036, -0.565588653087616, 0.11223653703927994, -0.0660838931798935, 0.3142833113670349, -0.06397999078035355, 0.1655690222978592, -0.25750502943992615, 0.4254961609840393, 0.5783986449241638, 0.2515714764595032, -0.37632617354393005, -0.26857614517211914, -0.22039666771888733, -0.2476545125246048, -0.19441668689250946, 0.3893063962459564, -0.7004856467247009, 0.2530936002731323, 0.46548959612846375, 0.9094270467758179, 0.31765297055244446, 0.26410141587257385, 0.47734513878822327, -0.3800666630268097, 0.02617708034813404, 0.44377923011779785, 0.100565604865551, 0.1145034059882164, 0.022007504478096962, 0.5539779663085938, -0.2619388997554779, -0.5969874858856201, -0.5335491895675659, 0.2831003665924072, -0.847484827041626, -0.09535130113363266, 0.87444007396698, -0.5205581784248352, -0.32011792063713074, -0.26388075947761536, -0.41450217366218567, 0.18595701456069946, 0.012601185590028763, 0.9427890181541443, 0.976557731628418, 0.020639734342694283, 0.009227062575519085, -0.5954064726829529, 0.47097548842430115, 0.732825517654419, -1.0810872316360474, -0.4328886568546295, 0.31132039427757263, 0.3455139696598053, -0.00010229870531475171, 0.659288227558136, 0.03824682533740997, 0.36242982745170593, -0.02665332332253456, -0.1281270533800125, -0.006532995495945215, -0.6597838997840881, -0.37910977005958557, 0.11606012284755707, 0.20447716116905212, 0.18261639773845673 ]
http://arxiv.org/abs/2407.03020v1
http://arxiv.org/pdf/2407.03020v1
Exploiting Dialect Identification in Automatic Dialectal Text Normalization
2024-07-03T11:30:03
2024-07-03T11:30:03
Bashar Alhafni, Sarah Al-Towaity, Ziyad Fawzy, Fatema Nassar, Fadhl Eryani, Houda Bouamor, Nizar Habash
cs.CL
cs.CL
Dialectal Arabic is the primary spoken language used by native Arabic speakers in daily communication. The rise of social media platforms has notably expanded its use as a written language. However, Arabic dialects do not have standard orthographies. This, combined with the inherent noise in user-generated content on social media, presents a major challenge to NLP applications dealing with Dialectal Arabic. In this paper, we explore and report on the task of CODAfication, which aims to normalize Dialectal Arabic into the Conventional Orthography for Dialectal Arabic (CODA). We work with a unique parallel corpus of multiple Arabic dialects focusing on five major city dialects. We benchmark newly developed pretrained sequence-to-sequence models on the task of CODAfication. We further show that using dialect identification information improves the performance across all dialects. We make our code, data, and pretrained models publicly available.
[ -0.5291833281517029, -0.6109441518783569, 0.37273040413856506, 0.2589184641838074, -0.5364416837692261, -0.048255279660224915, -0.5131682753562927, -0.543513298034668, 0.5030565857887268, 0.644183874130249, -0.18791788816452026, -1.0439331531524658, -0.678806483745575, 0.3562389016151428, -0.5145472884178162, 0.8954015374183655, 0.19103801250457764, -0.16066791117191315, 0.2623905837535858, -0.4338609278202057, -0.4117010235786438, -0.8602524399757385, -0.6495723128318787, 0.09799961000680923, 0.38765251636505127, 0.4897884726524353, 0.9350545406341553, 0.6414173245429993, 0.18266825377941132, 0.3894255459308624, -0.09922297298908234, 0.06562475860118866, -0.48684749007225037, -0.0635560154914856, 0.05344431474804878, -0.2554057240486145, -0.33865079283714294, -0.43154269456863403, 0.6955922842025757, 0.9651519656181335, -0.07455288618803024, 0.3175552785396576, -0.13915877044200897, 0.9351134300231934, -0.65859055519104, 0.28454136848449707, -0.7012432813644409, -0.2867577075958252, -0.5505290031433105, 0.3857440650463104, -0.013767835684120655, -0.7546820640563965, 0.10666397958993912, -0.24786710739135742, 0.3118360638618469, -0.34066513180732727, 0.9322877526283264, -0.24427461624145508, -0.7348001599311829, -0.32564976811408997, -0.7180531024932861, 0.566473662853241, -0.9689924716949463, 0.25105324387550354, 0.34063857793807983, 0.2864070236682892, 0.2735978066921234, -0.65960693359375, -0.5846477746963501, 0.05226792022585869, -0.13565915822982788, -0.19570940732955933, 0.06179049611091614, 0.15418091416358948, 0.05827467143535614, 0.2054942548274994, -0.41044723987579346, -0.15494072437286377, -0.4431585669517517, -0.1140766590833664, 0.7426155805587769, -0.059347353875637054, 0.2792007625102997, -0.10949253290891647, -0.1991582065820694, 0.04050939157605171, -0.47021105885505676, 0.11525338888168335, 0.44608965516090393, 0.6259377002716064, -0.23859089612960815, 0.18427325785160065, -0.41451185941696167, 0.6780160665512085, -0.08119950443506241, 0.10968101769685745, 0.6086425185203552, -0.30447375774383545, -0.22845716774463654, 0.09849782288074493, 0.6561384797096252, 0.29514187574386597, 0.8190710544586182, -0.007229097653180361, -0.3838600516319275, -0.29158690571784973, 0.4156794846057892, -0.6478742361068726, -0.12806296348571777, 0.11140093952417374, -0.4219568371772766, -0.265247106552124, 0.3501819670200348, -0.7906025648117065, -0.2971218228340149, -0.22864490747451782, 0.20438630878925323, -0.4991825819015503, -0.31863072514533997, 0.07523803412914276, -0.043746620416641235, 0.17948077619075775, 0.13611844182014465, -1.1679694652557373, 0.48783019185066223, 0.5758088827133179, 0.7654144167900085, -0.06039508804678917, -0.2455011010169983, 0.12292418628931046, 0.17880849540233612, -0.5891522765159607, 0.5403252840042114, -0.48996254801750183, -0.4085223376750946, 0.5071393847465515, -0.1530476063489914, -0.14312952756881714, -0.888821005821228, 0.5851224660873413, -0.7619616985321045, -0.35664206743240356, -0.22749623656272888, -0.12705861032009125, -0.5168970823287964, -0.037163618952035904, -0.9224806427955627, 0.8673321008682251, 0.07657156139612198, -0.4269372522830963, 0.17676496505737305, -0.4004853069782257, -0.7550913095474243, -0.08534224331378937, 0.01841045543551445, -0.5060245394706726, 0.22958941757678986, 0.41190382838249207, 0.3235853910446167, -0.056439176201820374, 0.3958136737346649, -0.017171790823340416, -0.35187575221061707, -0.005941113457083702, -0.22639842331409454, 0.8575753569602966, 0.24046117067337036, -0.2411622852087021, 0.09666267037391663, -0.8921455144882202, 0.04774589091539383, 0.05598685145378113, -0.12112122774124146, -0.39906612038612366, 0.03974359855055809, 0.40788233280181885, -0.12184622883796692, 0.30286890268325806, -0.3524603545665741, 0.003962917253375053, -0.6889642477035522, 0.17623239755630493, 0.5531600713729858, 0.07588057965040207, 0.4103906750679016, -0.5605506300926208, 0.3864509165287018, -0.03369835764169693, -0.1668257713317871, -0.04499948397278786, -0.6235501170158386, -0.7843503355979919, -0.4820433557033539, 0.5582211017608643, 0.3699128031730652, -0.2517137825489044, 0.4225959777832031, -0.3898047208786011, -0.49316978454589844, -0.4585859179496765, 0.22889943420886993, 0.20712432265281677, 0.17186929285526276, 0.4181067645549774, -0.6508540511131287, -0.7090127468109131, -0.916579008102417, -0.32191190123558044, -0.09688975661993027, -0.020054077729582787, 0.07343123108148575, 0.06277231127023697, -0.448855996131897, 0.9904196262359619, -0.21624352037906647, -0.34882664680480957, -0.45887064933776855, 0.5318787097930908, 0.26868271827697754, 0.21598495543003082, 0.7902017831802368, -0.6782863140106201, -0.6405653953552246, -0.056393057107925415, -0.38794955611228943, -0.6561200618743896, -0.23722977936267853, 0.05689164623618126, 0.28861895203590393, 0.45926138758659363, -0.11341091990470886, 0.4654040038585663, 0.6178964972496033, -0.08403614908456802, 0.494736909866333, 0.08174502104520798, 0.18316389620304108, -1.0270566940307617, 0.0680861845612526, -0.23436862230300903, -0.3855419456958771, -0.8498871326446533, 0.16890476644039154, -0.03136368840932846, -0.21494339406490326, -0.1308896392583847, 0.41709235310554504, -0.47604939341545105, 0.11917348951101303, -0.24432286620140076, -0.07203076779842377, -0.18032482266426086, 0.32002368569374084, 0.2530066967010498, 0.602228045463562, 0.33680686354637146, -0.285165935754776, 0.11476635932922363, 0.10952882468700409, -0.3193480968475342, 0.025600047782063484, -0.5453201532363892, 0.4228592813014984, -0.21130870282649994, 0.10940039902925491, -1.2163296937942505, -0.16468894481658936, 0.05394758656620979, -0.22152242064476013, -0.1586078405380249, -0.19119195640087128, -0.2850092947483063, 0.22849541902542114, -0.22052864730358124, 0.7040560841560364, 0.462929368019104, -0.4120856821537018, 0.7512444853782654, 0.35986950993537903, -0.5093646049499512, -0.3166430592536926, -0.2888382375240326, 0.1806289702653885, -0.18958958983421326, -0.6495763659477234, 0.30068108439445496, 0.3693462610244751, -0.42296120524406433, -0.32877448201179504, -0.004328868817538023, -0.5399240851402283, 0.02212458662688732, 0.4941670894622803, 0.09712579846382141, -0.37822720408439636, 0.1064973920583725, 0.1413269191980362, 0.09410274773836136, 0.08997399359941483, 0.006150645203888416, 0.697109043598175, -0.12471994757652283, -0.29147547483444214, -0.6220289468765259, 0.7805549502372742, 0.3987228274345398, -0.3329545855522156, 0.6912274360656738, 0.6116998195648193, -0.23186275362968445, -0.23298190534114838, -0.776563286781311, -0.08502945303916931, -0.5220221877098083, 0.28217601776123047, -0.4396042227745056, -0.5357362627983093, 0.526355504989624, -0.28636765480041504, -0.21852901577949524, 0.32391494512557983, 0.49495768547058105, 0.05215379223227501, 0.5170137286186218, 0.6353901028633118, -0.6307365894317627, 0.42987769842147827, 0.021240539848804474, 0.18098336458206177, 0.03460482507944107, 0.18152275681495667, -0.6586508750915527, -0.3772859573364258, -0.3969954550266266, -0.4489883780479431, 0.5199645757675171, 0.02830972708761692, -0.1755875200033188, 0.35206112265586853, 0.0241668913513422, 0.4638301134109497, 0.6374528408050537, 0.11403272300958633, 0.437917560338974, 0.10116727650165558, 0.06497831642627716, 0.06965958327054977, -0.39467811584472656, -0.6876239776611328, 1.275912880897522, 0.027449266985058784, 0.39485955238342285, 0.3370043933391571, 1.1857807636260986, 0.4658122956752777, 0.27470558881759644, -0.6291492581367493, 0.5211968421936035, -0.15722019970417023, -0.4397217035293579, -0.26226356625556946, -0.11604423820972443, -0.9452651739120483, -0.03770959749817848, -0.16717970371246338, -0.6898365020751953, 0.3412613570690155, -0.03316507488489151, -0.40971848368644714, -0.11534930020570755, -0.6881856322288513, 0.8168326616287231, 0.14890344440937042, 0.2727026641368866, -0.3628157675266266, -0.8586940765380859, 0.032143063843250275, -0.36387091875076294, 0.5712619423866272, 0.04875319451093674, -0.014629554003477097, 0.5928901433944702, -0.5460570454597473, 1.0625700950622559, 0.07154791057109833, 0.04676571860909462, 0.26188036799430847, -0.07683654129505157, 0.32722577452659607, 0.0009742647525854409, -0.2869769334793091, 0.6881468296051025, 0.2958049774169922, -0.6466416716575623, -0.45465171337127686, 0.47465938329696655, -0.8723167181015015, -0.5808678269386292, -0.3020871877670288, -0.2557107210159302, -0.4397066831588745, 0.32518166303634644, 0.041600801050662994, 0.6093930602073669, -0.580528199672699, -0.06824961304664612, 0.2035181224346161, 0.11971449106931686, 0.465226411819458, 0.40285030007362366, -0.1498165726661682, -0.4005446135997772, 0.7541475892066956, 0.0012894278625026345, 0.3654572367668152, 0.06922736018896103, 0.056827716529369354, -0.06541994959115982, -0.8311900496482849, -0.49778902530670166, 0.2075844556093216, -0.7421570420265198, 0.08465710282325745, -0.3268466889858246, -0.27626460790634155, -0.7805767059326172, -0.3419080674648285, -0.25090041756629944, -0.4825689196586609, -0.011137678287923336, -0.05533363297581673, -0.0380253791809082, 0.8812691569328308, -0.15113385021686554, 0.2534266710281372, -0.9459590911865234, 0.524300217628479, 0.32014966011047363, -0.13022302091121674, -0.16262613236904144, -0.4321884512901306, -0.29760417342185974, 0.00915355235338211, 0.06831420212984085, -1.3250221014022827, 0.4266645312309265, 0.5413433313369751, 0.16600120067596436, 0.6958109140396118, 0.21989640593528748, 0.5916111469268799, -0.6336201429367065, 0.6890326142311096, -0.22864598035812378, -1.1726740598678589, 0.2279234379529953, -0.27433571219444275, 0.4133449196815491, 0.9334257245063782, 0.536949872970581, -0.7801591753959656, -0.44787275791168213, -0.3076925575733185, -1.1527307033538818, 0.3342840075492859, 0.13295990228652954, 0.5591993927955627, -0.21971160173416138, 0.20271652936935425, 0.07121454179286957, 0.38619768619537354, -0.46910181641578674, -0.10479314625263214, -0.2009543776512146, -0.4093291461467743, -0.17554672062397003, -0.5327504277229309, -0.3841642141342163, -0.2454792559146881, 0.44206929206848145, -0.12739181518554688, 0.11172144114971161, 0.16906671226024628, -0.3506380021572113, 0.11525461077690125, 0.20206555724143982, 0.29708483815193176, 0.6578390002250671, -0.21755066514015198, 0.10597410053014755, 0.0982331857085228, -0.5046437978744507, 0.03173555061221123, 0.11395378410816193, -0.197229266166687, 0.4750674366950989, 0.6576564908027649, 0.3958422541618347, 0.03629472851753235, -0.7041292786598206, 0.5902405381202698, 0.3046468496322632, 0.011996563524007797, -0.44406241178512573, -0.22041074931621552, 0.028370995074510574, 0.1523357480764389, 0.31955111026763916, 0.07532818615436554, 0.287638396024704, -0.6231327652931213, 0.17138759791851044, 0.3632839322090149, -0.24570506811141968, -0.2359403669834137, 0.30006465315818787, 0.36324378848075867, -0.4021230936050415, 0.4636754095554352, 0.02004777267575264, -0.6301785707473755, 0.8267244100570679, 0.4126085042953491, 0.9603457450866699, -0.17458465695381165, 0.2836765944957733, 0.32743823528289795, 0.2698074281215668, 0.28345465660095215, 0.40520885586738586, -0.3235000967979431, -1.0256474018096924, -0.05318405106663704, -0.7126086354255676, -0.32841917872428894, -0.2419540286064148, -0.7648204565048218, 0.2457161396741867, -0.6251897811889648, -0.19274267554283142, 0.13315808773040771, -0.36338701844215393, -0.46127021312713623, 0.2730090618133545, 0.4929155111312866, 0.7537330389022827, -1.1370012760162354, 1.0824105739593506, 0.6495754718780518, -0.17089171707630157, -0.8598306775093079, 0.4898582696914673, 0.30882981419563293, -0.6764964461326599, 0.7052980065345764, 0.1869780421257019, -0.409298300743103, 0.12354881316423416, -0.2815450131893158, -0.6171461939811707, 0.5552166700363159, 0.16256973147392273, -0.25203096866607666, 0.10263536125421524, 0.5699023008346558, 0.6124480962753296, -0.381102055311203, 0.2542579472064972, 0.5625398755073547, 0.542137622833252, -0.18860113620758057, -0.9070524573326111, 0.17005044221878052, -0.25822171568870544, 0.32765427231788635, -0.003992845304310322, -0.5605998039245605, 0.7223608493804932, 0.018619714304804802, -0.2815418243408203, 0.3340064585208893, 0.6806145310401917, -0.32403767108917236, 0.21201921999454498, 0.5766621828079224, 0.3624594509601593, 0.571865975856781, -0.0033843195997178555, 0.6170337200164795, -0.5102314949035645, 0.11923754960298538, 1.0009106397628784, -0.3474389314651489, 0.9243543744087219, 0.45886924862861633, -0.06491934508085251, 0.7803156971931458, 0.397054523229599, 0.39235246181488037, 0.5327236652374268, 0.18858185410499573, -0.6907918453216553, -0.03496081009507179, 0.10435274988412857, -0.4301941692829132, 0.5744339227676392, 0.17764556407928467, -0.40926629304885864, -0.290995717048645, -0.2227979153394699, 0.1709904670715332, 0.5256969332695007, -0.13426996767520905, 1.0193824768066406, -0.2715493440628052, -0.43316203355789185, 1.1291826963424683, 0.33840927481651306, 0.4128383696079254, -0.7417535185813904, 0.09838537871837616, -0.358806312084198, -0.0009002733277156949, -0.17022022604942322, -0.007823994383215904, 0.654692530632019, -0.2014615386724472, -0.06434906274080276, -0.18972069025039673, 0.5178993344306946, -0.6556578874588013, -0.4303221106529236, 0.22117303311824799, 0.36478835344314575, 0.0005978489061817527, -0.3467727303504944, -0.23187018930912018, 0.11823664605617523, -0.04140138626098633, -0.01804737001657486, 0.19677072763442993, 0.43928268551826477, -0.08348428457975388, 0.16845542192459106, 0.49404147267341614, 0.24661001563072205, 0.19240105152130127, 0.23943215608596802, 0.8587531447410583, -0.7182846069335938, -0.29279249906539917, -0.8598349094390869, 0.1213957667350769, -0.09664849191904068, -0.40827012062072754, 0.8111274242401123, 0.5737699866294861, 0.7885797023773193, -0.3670370578765869, 0.8465259075164795, 0.012620825320482254, 0.5045731067657471, -0.466898649930954, 0.8348824381828308, -0.3677283227443695, 0.20029596984386444, -0.3147227466106415, -0.7037871479988098, -0.32955172657966614, 0.48385247588157654, -0.3321598172187805, -0.2166733741760254, 0.7000781893730164, 0.9923231601715088, -0.09760437160730362, 0.27823111414909363, 0.2959539294242859, 0.25174787640571594, -0.0893939957022667, 0.3207615613937378, 0.33124640583992004, -0.07355023175477982, 0.2864910662174225, -0.37674805521965027, -0.21074000000953674, -0.25503572821617126, -0.7056097984313965, -1.0095142126083374, -0.5811356902122498, 0.020443474873900414, -0.37521401047706604, 0.5871124863624573, 1.1260873079299927, 0.7057340145111084, -1.2578681707382202, -0.8663040995597839, 0.11526373028755188, 0.06085490062832832, -0.511368989944458, -0.14822229743003845, 0.16526764631271362, -0.5194111466407776, -0.9434462785720825, 0.40352386236190796, 0.004891594871878624, -0.22303611040115356, 0.10789641737937927, 0.4216880798339844, -0.3422755002975464, 0.30144572257995605, 0.35930466651916504, 0.4221767783164978, -0.40818721055984497, -0.2963462769985199, -0.5919374227523804, -0.2602037489414215, 0.23279182612895966, 0.8912132382392883, -0.6592297554016113, 0.5053157210350037, 0.3767949938774109, 0.7549823522567749, 0.4300359785556793, 0.4487892985343933, 0.86383455991745, -0.8920976519584656, 0.4310063123703003, 0.2737235724925995, 0.2117711305618286, 0.21052682399749756, -0.005675877444446087, 0.3981679081916809, 0.3680596649646759, -0.28115618228912354, -0.33075499534606934, 0.2895672619342804, -0.9184504747390747, -0.13604141771793365, 1.1583999395370483, -0.2078498899936676, -0.06377188861370087, -0.5029967427253723, -0.45000624656677246, 0.09121080487966537, -0.4740145206451416, 0.9773493409156799, 0.7543996572494507, 0.4442349970340729, 0.14009112119674683, -0.4112667739391327, 0.6995912790298462, 0.5990986227989197, -0.5724665522575378, -0.20467662811279297, 0.3654301166534424, 0.2909221947193146, -0.005896309390664101, 0.9616592526435852, 0.15043547749519348, 0.041024401783943176, -0.23868213593959808, 0.03791484981775284, 0.13490714132785797, -0.32271748781204224, -0.5597042441368103, 0.4166814386844635, 0.12386965751647949, -0.20645427703857422 ]
http://arxiv.org/abs/2407.03007v1
http://arxiv.org/pdf/2407.03007v1
What Affects the Stability of Tool Learning? An Empirical Study on the Robustness of Tool Learning Frameworks
2024-07-03T11:06:05
2024-07-03T11:06:05
Chengrui Huang, Zhengliang Shi, Yuntao Wen, Xiuying Chen, Peng Han, Shen Gao, Shuo Shang
cs.CL
cs.CL, cs.AI
Tool learning methods have enhanced the ability of large language models (LLMs) to interact with real-world applications. Many existing works fine-tune LLMs or design prompts to enable LLMs to select appropriate tools and correctly invoke them to meet user requirements. However, it is observed in previous works that the performance of tool learning varies from tasks, datasets, training settings, and algorithms. Without understanding the impact of these factors, it can lead to inconsistent results, inefficient model deployment, and suboptimal tool utilization, ultimately hindering the practical integration and scalability of LLMs in real-world scenarios. Therefore, in this paper, we explore the impact of both internal and external factors on the performance of tool learning frameworks. Through extensive experiments on two benchmark datasets, we find several insightful conclusions for future work, including the observation that LLMs can benefit significantly from increased trial and exploration. We believe our empirical study provides a new perspective for future tool learning research.
[ -0.3043345808982849, -0.693723738193512, 0.5134313106536865, -0.1188197210431099, -0.2656865119934082, 0.2717529237270355, -0.3412882685661316, -0.5923258066177368, -0.4353046119213104, 0.0017158970003947616, -0.30931946635246277, -0.40243831276893616, -0.7398677468299866, 0.10714273154735565, -0.41982540488243103, 0.7333847284317017, 0.03812473267316818, 0.30634692311286926, -0.5479919910430908, -0.47118350863456726, -0.5472286343574524, -0.6392796635627747, -0.704620897769928, -0.4847411811351776, 0.5980603694915771, 0.5610475540161133, 0.7473878264427185, 0.8042295575141907, 0.5433279871940613, 0.2548992335796356, -0.176768958568573, -0.2311776727437973, -0.715901255607605, 0.4641624689102173, -0.14884603023529053, -0.9444649815559387, -0.022515811026096344, -0.007298015523701906, 0.6313278079032898, 0.8235356211662292, -0.11490844190120697, 0.0876728743314743, 0.4499901235103607, 0.19899824261665344, -0.5392810106277466, 0.020235583186149597, -0.6740506291389465, -0.18076416850090027, -0.26271939277648926, 0.1392858922481537, -0.39361217617988586, -0.27466148138046265, 0.3262855112552643, -0.4887929856777191, 0.25619566440582275, -0.12413075566291809, 0.6268377304077148, 0.24006737768650055, -0.34030741453170776, -0.359186053276062, -0.7826518416404724, 0.8284581899642944, -0.6668803095817566, 0.7607376575469971, 0.2328118532896042, 0.3589220345020294, -0.5251121520996094, -0.6441974639892578, -0.06640748679637909, -0.11422399431467056, 0.16017653048038483, -0.201396182179451, 0.4305441379547119, -0.19881671667099, 0.5333949327468872, 0.27054762840270996, -0.1389632225036621, 0.7721840143203735, -0.44580647349357605, -0.25199049711227417, 0.40988534688949585, 0.2697540819644928, 0.010884925723075867, 0.35346925258636475, -0.14731265604496002, -0.5219425559043884, -1.0785136222839355, 0.5180795788764954, 0.4618608355522156, 0.5091455578804016, -0.20434726774692535, 0.37053394317626953, 0.3015877306461334, 0.42980700731277466, -0.030085906386375427, -0.7454407215118408, 0.346340149641037, -0.1602238565683365, -0.0920146107673645, -0.20593960583209991, 0.5714924931526184, 0.23180651664733887, 0.05621772259473801, -0.41303467750549316, -0.32655972242355347, -0.12163639813661575, 0.3408854305744171, -0.885172963142395, -0.03756468743085861, 0.14998343586921692, -0.33537790179252625, -0.39154693484306335, 0.10377179831266403, -0.4940233528614044, -0.6710733771324158, -0.2499455064535141, 0.2750721871852875, -0.17098645865917206, -0.4554315209388733, -0.21589729189872742, -0.1303136795759201, 0.19590511918067932, 0.4331892728805542, -0.5759725570678711, 0.31929251551628113, 0.6010265350341797, 0.9892081022262573, -0.5210534334182739, -0.2747180461883545, -0.8714694976806641, -0.2390620857477188, -0.4917960464954376, 0.38651829957962036, -0.5252566933631897, -0.79139643907547, 0.10659094154834747, 0.211587592959404, 0.09237048774957657, -0.7362310886383057, 0.29511648416519165, -0.553005576133728, 0.06830132007598877, -0.642126739025116, -0.39072614908218384, -0.2545563280582428, 0.05239485576748848, -0.6731931567192078, 1.2551164627075195, 0.00020674259576480836, -0.7631835341453552, 0.9866495728492737, -0.27686846256256104, -0.4732222557067871, -0.27707794308662415, -0.34632444381713867, -0.664631187915802, 0.4408405125141144, -0.16284461319446564, 0.5522443652153015, -0.32557666301727295, 0.21797360479831696, -0.9604086875915527, -0.5452013611793518, 0.38282090425491333, -0.29778844118118286, 0.7200899720191956, 0.0450262725353241, -0.4184127151966095, 0.2584315836429596, -0.7187317609786987, -0.3483397662639618, 0.08940631151199341, -0.40905123949050903, -0.1278776377439499, 0.2717713415622711, -0.06402546167373657, 0.5731818079948425, -0.2395002841949463, -0.6519730091094971, 0.0848676860332489, -0.5905706882476807, 0.1988651156425476, 0.9328306913375854, 0.007454026956111193, 0.41119247674942017, -0.15633070468902588, 0.8230897188186646, 0.26937776803970337, -0.11511283367872238, -0.10280425101518631, -0.06532502919435501, -0.5406421422958374, 0.17719636857509613, 0.5804944634437561, 0.34487849473953247, -0.5216056704521179, -0.15979017317295074, -0.1022316962480545, -0.5547103881835938, -0.23550735414028168, 0.6733899712562561, 0.21514655649662018, 0.3798334300518036, -0.03755709156394005, -0.49566540122032166, -0.2718054950237274, -0.6120742559432983, -0.08614982664585114, -0.2369006723165512, 0.006813880987465382, 0.15030500292778015, 0.47476303577423096, 0.10595861822366714, 0.9016430377960205, 0.07938741892576218, -0.1149812638759613, -0.37503930926322937, -0.03561105579137802, 0.06648422032594681, 0.37451741099357605, 0.8007763028144836, -0.6661680340766907, -0.40357068181037903, -0.03828181326389313, -0.5774893164634705, 0.052482523024082184, -0.12117429822683334, 0.1311863660812378, 0.23191215097904205, 0.724592387676239, -0.3143024742603302, 0.48464450240135193, 0.4117427468299866, 0.015980053693056107, 0.525869607925415, -0.0409969761967659, -0.3561660051345825, -0.9288988709449768, 0.08439627289772034, 0.23408450186252594, -0.2540351152420044, -0.20918485522270203, -0.14456240832805634, 0.17434707283973694, 0.15817545354366302, -0.6913125514984131, 0.48123690485954285, -0.42036107182502747, -0.2228042036294937, -0.2932698130607605, 0.2744934856891632, -0.2088218629360199, 0.1540970653295517, -0.29591304063796997, 1.184124231338501, 0.7952365279197693, -0.6895892024040222, -0.020720602944493294, -0.11462405323982239, -0.25073400139808655, 0.5161310434341431, -0.796970784664154, -0.018794246017932892, 0.1490563005208969, -0.12789399921894073, -0.659960925579071, -0.11474807560443878, 0.01420802716165781, -0.21197618544101715, 0.6154255867004395, -0.13844534754753113, -0.8899846076965332, -0.03221387788653374, -0.3007753789424896, -0.07210025936365128, 0.3558066785335541, -0.5166376829147339, 0.6522445678710938, 0.320057213306427, 0.050622764974832535, -0.7170515060424805, -0.29311949014663696, -0.16646748781204224, -0.5336503982543945, -0.2681259512901306, -0.27743399143218994, -0.03659621626138687, -0.4269484877586365, -0.2876422107219696, -0.555537760257721, 0.2792219817638397, 0.7429893016815186, 0.6152320504188538, 0.03375199809670448, -0.11915337294340134, 0.48115211725234985, -0.022654810920357704, -0.04818085953593254, 0.34162428975105286, 0.0221230648458004, 0.2520143687725067, -0.13652542233467102, -0.63652503490448, 0.07258687168359756, -0.1402958184480667, 0.8377293348312378, -0.11604548990726471, 1.0439566373825073, 0.7178866863250732, -0.1422269642353058, -0.30920109152793884, -0.5119423270225525, -0.3330509662628174, -0.5492411255836487, 0.40116965770721436, -0.36711278557777405, -0.8117366433143616, 0.7428637742996216, -0.49166491627693176, 0.5451452732086182, 0.19011501967906952, 0.5902559161186218, -0.21028244495391846, 1.202075719833374, 1.0055303573608398, -0.17267107963562012, 0.6117380261421204, -0.1997409164905548, -0.15367981791496277, -0.7970561981201172, -0.11453644186258316, -0.5148727297782898, -0.313977986574173, -0.4498966336250305, -0.04779301956295967, 0.3561389148235321, 0.29150912165641785, -0.0873030424118042, 0.011990990489721298, -0.03333615884184837, 0.383198082447052, 0.37181976437568665, -0.08533278852701187, 0.16901911795139313, -0.04849335178732872, -0.6285821199417114, -0.031736038625240326, -0.8365155458450317, -0.6197621822357178, 1.3593757152557373, 0.6435592174530029, 0.8722706437110901, 0.1304119974374771, 0.39836791157722473, 0.011748149059712887, 0.2569250166416168, -0.7313043475151062, 0.36563971638679504, 0.2880757451057434, -0.4388831555843353, -0.11137735843658447, -0.16731113195419312, -0.9898943901062012, 0.3099130690097809, -0.3212384879589081, -0.8006268739700317, 0.3355224132537842, 0.12674009799957275, 0.009151560254395008, 0.28261682391166687, -0.7525069713592529, 0.7957790493965149, -0.6026816964149475, -0.9983373880386353, -0.04015138000249863, -0.6882050037384033, -0.06540443748235703, -0.32950112223625183, 0.38207271695137024, -0.15601256489753723, -0.06670977920293808, 0.6609155535697937, -0.07895991206169128, 1.1605195999145508, -0.28984227776527405, -0.3514792025089264, 0.005242503248155117, 0.25835472345352173, 0.5411536693572998, 0.23707208037376404, -0.36359578371047974, 0.008778041228652, 0.07415024936199188, -0.1422317773103714, -0.6067831516265869, 0.7109525203704834, -0.7190033793449402, -0.7722926139831543, -0.38808053731918335, -0.4003725051879883, -0.476560115814209, 0.4175597131252289, 0.10317941755056381, 0.6971226334571838, -0.0967617779970169, 0.717172384262085, 0.7230532169342041, -0.008569750003516674, 0.523243248462677, 0.32798901200294495, -0.4876892566680908, -0.07463692873716354, 0.7003820538520813, 0.3940557837486267, 0.6597310900688171, -0.2431696504354477, 0.022283626720309258, -0.16540391743183136, -0.9413312077522278, -0.5001280307769775, 0.16051171720027924, -0.9716709852218628, -0.1774379462003708, -0.22388535737991333, 0.1636473685503006, 0.12266085296869278, -0.2329919934272766, -0.36733484268188477, -0.13717800378799438, -0.4870745837688446, -0.44428253173828125, 0.2862968146800995, 0.9170092940330505, 0.06589089334011078, 0.37037336826324463, -0.5695065855979919, -0.3200497031211853, -0.08882937580347061, 0.741574227809906, -0.02444414608180523, -0.19602619111537933, -0.630806028842926, 0.019762849435210228, -0.3965967893600464, -0.6737085580825806, -0.22806832194328308, 0.27950069308280945, 0.9454442858695984, 0.5980160236358643, 0.09635095298290253, 0.4994714856147766, -0.07168367505073547, 0.6795712113380432, -0.16985920071601868, -0.6207993030548096, 0.2520163953304291, -0.37636598944664, 0.4416629374027252, 0.765483021736145, 0.3446400463581085, -0.0894886702299118, -0.5679444670677185, -0.41433629393577576, -0.7396783828735352, 0.7349017858505249, -0.02173752523958683, 0.025612615048885345, 0.4573977291584015, 0.5340480804443359, 0.48090067505836487, 0.17349094152450562, -0.604988157749176, -0.1186431497335434, 0.005758455488830805, 0.0261637382209301, -0.12801991403102875, -0.15715238451957703, -0.10934428125619888, -0.218928262591362, 0.6338858604431152, -0.26636895537376404, -0.1552266627550125, -0.40432074666023254, -0.30663564801216125, -0.19420206546783447, 0.026751382276415825, 0.36431440711021423, 1.079254388809204, -0.1614200323820114, 0.08215094357728958, 0.5537670850753784, -0.5641703009605408, 0.15170623362064362, -0.29391881823539734, -0.053581684827804565, -0.2506651282310486, 0.35547304153442383, 0.7718965411186218, 0.45123958587646484, -0.8524631261825562, 0.344281941652298, -0.10411533713340759, -0.08362283557653427, -0.2752220630645752, 0.4573950171470642, 0.15902994573116302, 0.26434820890426636, 0.23818640410900116, 0.06418436020612717, -0.14794790744781494, -0.4185950458049774, 0.030331073328852654, 0.548552930355072, -0.49556490778923035, -0.3694508969783783, 0.5743947625160217, 0.19852787256240845, -0.270099401473999, 0.47552451491355896, 0.040721211582422256, -0.4157966375350952, 0.4577256441116333, 0.5174053907394409, 0.649360716342926, 0.021892480552196503, -0.10902963578701019, 0.14378589391708374, 0.5017820000648499, -0.1528448611497879, -0.08512556552886963, -0.04990321397781372, -0.495103120803833, -0.38333600759506226, -0.538412868976593, -0.49414438009262085, 0.013514203950762749, -0.6290754675865173, 0.376765638589859, -0.5144870281219482, -0.5310521721839905, -0.6714065670967102, -0.05588841065764427, -0.8355711698532104, 0.1362483948469162, -0.17728114128112793, 0.9785891175270081, -0.7955704927444458, 0.942138671875, 0.7750082015991211, -0.20873935520648956, -0.7403641939163208, -0.0581858791410923, 0.3877258896827698, -0.3827891945838928, 0.46950528025627136, 0.3225831687450409, -0.5851993560791016, -0.1735047996044159, -0.3952191174030304, -1.2054009437561035, 1.0155593156814575, 0.610031247138977, -0.26905959844589233, -0.011229685507714748, 0.06261299550533295, 0.5713230967521667, -0.18809327483177185, 0.05703864246606827, 0.4303715229034424, 0.0775524228811264, 0.16785866022109985, -1.2349505424499512, -0.07657323777675629, -0.26333341002464294, -0.04271555319428444, 0.19306913018226624, -0.3270322382450104, 0.37285855412483215, -0.27348968386650085, -0.5206827521324158, -0.28547921776771545, 0.41575512290000916, 0.25249823927879333, 0.03188115730881691, 0.5481838583946228, 0.41323360800743103, 0.5095322728157043, -0.17847183346748352, 0.9292600154876709, -0.31574535369873047, 0.19874700903892517, 0.9512447714805603, -0.2627438008785248, 0.943680465221405, 0.5689363479614258, -0.17649959027767181, 0.5395658612251282, 0.8665229082107544, -0.060552388429641724, 0.2599727213382721, -0.019000543281435966, 0.2035885453224182, -0.305766761302948, 0.11436166614294052, -0.4027279019355774, 0.4719058871269226, 0.48226234316825867, -0.4116644263267517, -0.07245004922151566, 0.18339748680591583, 0.03392985090613365, -0.18317413330078125, -0.00903259590268135, 0.815139889717102, 0.12708258628845215, -0.3338526785373688, 0.32116031646728516, -0.2808345556259155, 0.5775832533836365, -0.7250970602035522, 0.005721827037632465, 0.23258230090141296, 0.45739299058914185, -0.18962827324867249, -0.5179396867752075, 0.23009048402309418, -0.3070950508117676, 0.10767266154289246, -0.023151762783527374, 0.6997928023338318, 0.10199680179357529, -0.49855443835258484, 0.4461357593536377, 0.7906176447868347, -0.18802614510059357, 0.44255444407463074, -0.6073641777038574, 0.5335555076599121, -0.44692057371139526, -0.4034639298915863, 0.8108674883842468, 0.4179840385913849, 0.10275325924158096, 0.9172099232673645, 0.6313462853431702, -0.08851193636655807, 0.04861718416213989, -0.2554171085357666, 0.8865129947662354, -0.10165908932685852, -0.31996071338653564, -0.706530749797821, 0.7163625955581665, -0.1705847978591919, -0.29519936442375183, 1.310059905052185, 0.48281756043434143, 1.2086284160614014, 0.3052743673324585, 0.6532379388809204, 0.09554758667945862, 0.535973310470581, -0.4483391046524048, 0.7008084058761597, -0.6492288708686829, 0.7290024757385254, -0.21158553659915924, -0.8410585522651672, -0.2494153082370758, 0.5105878710746765, -0.5300282835960388, 0.2991417348384857, 0.4581228494644165, 0.5635992884635925, -0.14283359050750732, -0.18890787661075592, 0.15571030974388123, -0.02902752347290516, 0.5186715126037598, -0.1493045538663864, 0.5889076590538025, 0.007039850112050772, 0.47243714332580566, -0.5941559076309204, 0.21689154207706451, -0.29515397548675537, -0.9175698757171631, -1.0679906606674194, -0.5546533465385437, -0.1759674847126007, -0.37988603115081787, -0.03172365576028824, 0.9631829857826233, 0.673723578453064, -0.7129092216491699, -0.43788811564445496, -0.03531700745224953, 0.3218100965023041, -0.2577310800552368, -0.19635796546936035, 0.3143934905529022, -0.4185047745704651, -0.47073128819465637, 0.31895124912261963, 0.08755259215831757, 0.06435282528400421, -0.44904080033302307, -0.15131066739559174, 0.08389844000339508, -0.19226554036140442, 0.470049649477005, 0.40311846137046814, -0.771885335445404, -0.35548266768455505, 0.13135263323783875, 0.1504705250263214, 0.23113590478897095, 0.8290068507194519, -0.9722475409507751, 0.6733275651931763, 0.08290793746709824, 0.7104379534721375, 0.3205423057079315, -0.2001352459192276, 0.895172119140625, -0.6824679374694824, 0.14546360075473785, -0.17054326832294464, 0.44276291131973267, 0.3774384558200836, -0.17246221005916595, 0.4731803238391876, 0.06573252379894257, -0.5781691074371338, -1.2721086740493774, 0.16496972739696503, -0.3725590705871582, -0.10226262360811234, 1.0128775835037231, -0.14309340715408325, 0.04144144803285599, -0.6284658312797546, -0.18652471899986267, 0.10029421746730804, -0.28763341903686523, 0.6795566082000732, 0.7738831639289856, -0.17710760235786438, -0.3319332003593445, -0.726860523223877, 0.4320765435695648, 0.301323264837265, -0.45047372579574585, 0.16930614411830902, 0.4017520546913147, 0.6208478212356567, 0.027038104832172394, -0.07261376827955246, 0.06779064983129501, 0.332606703042984, -0.020856376737356186, -0.38085731863975525, -0.3229784369468689, -0.4419763386249542, -0.4481579661369324, 0.43111681938171387, 0.7798669934272766, 0.21222040057182312 ]
http://arxiv.org/abs/2407.03005v1
http://arxiv.org/pdf/2407.03005v1
Human-like Linguistic Biases in Neural Speech Models: Phonetic Categorization and Phonotactic Constraints in Wav2Vec2.0
2024-07-03T11:04:31
2024-07-03T11:04:31
Marianne de Heer Kloots, Willem Zuidema
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
What do deep neural speech models know about phonology? Existing work has examined the encoding of individual linguistic units such as phonemes in these models. Here we investigate interactions between units. Inspired by classic experiments on human speech perception, we study how Wav2Vec2 resolves phonotactic constraints. We synthesize sounds on an acoustic continuum between /l/ and /r/ and embed them in controlled contexts where only /l/, only /r/, or neither occur in English. Like humans, Wav2Vec2 models show a bias towards the phonotactically admissable category in processing such ambiguous sounds. Using simple measures to analyze model internals on the level of individual stimuli, we find that this bias emerges in early layers of the model's Transformer module. This effect is amplified by ASR finetuning but also present in fully self-supervised models. Our approach demonstrates how controlled stimulus designs can help localize specific linguistic knowledge in neural speech models.
[ -0.1793741136789322, -0.41004273295402527, 0.20957106351852417, 0.09560170769691467, 0.07430871576070786, -0.27964091300964355, -0.2554011344909668, -0.614964485168457, 0.06245328485965729, 0.6823257207870483, -0.5544080138206482, -0.12137866020202637, -0.14243584871292114, -0.13762499392032623, -0.022677870467305183, 0.5981501936912537, 0.3708897531032562, 0.3719284236431122, -0.025961875915527344, -0.2071039229631424, -0.5324645638465881, -0.8851481676101685, -0.3697812259197235, -0.7975860238075256, 0.45386621356010437, 0.32787302136421204, 0.6603341698646545, 0.5459693074226379, 0.22076356410980225, 0.18440590798854828, -0.32307785749435425, -0.11562206596136093, -0.05841526761651039, 0.19878430664539337, -0.23198099434375763, -0.5170749425888062, -0.1958301067352295, -0.0433255136013031, 0.4505951702594757, 0.812186062335968, -0.3431743383407593, -0.052128180861473083, 0.21303321421146393, 0.3272949457168579, -0.3353769779205322, -0.06655621528625488, -0.6417620182037354, 0.28714466094970703, -0.25588491559028625, -0.07721596956253052, -0.3517338037490845, 0.07932765781879425, 0.2953571379184723, -0.4987321197986603, 0.4431757628917694, -0.2462245523929596, 0.5993754267692566, 0.5713562369346619, -0.5141689777374268, -0.18144582211971283, -0.8556933999061584, 0.661404013633728, -0.438253253698349, 0.8323930501937866, 0.5855631232261658, -0.017131881788372993, -0.11501889675855637, -0.5084977149963379, -0.3731943368911743, -0.15504364669322968, -0.1492283195257187, 0.030306784436106682, -0.23331253230571747, 0.33118611574172974, 0.06895267218351364, 0.13678085803985596, -0.6378721594810486, 0.5284337997436523, -0.4658060669898987, -0.5740867257118225, 0.3977424204349518, -0.13108502328395844, 0.15631629526615143, -0.4095083475112915, -0.2675427496433258, -0.10328315198421478, -0.5437793135643005, 0.2653592526912689, 0.5600525736808777, 0.2166363000869751, -0.025844858959317207, 0.6794241070747375, 0.11793111264705658, 0.46968045830726624, 0.1376579850912094, 0.097279854118824, 0.23945294320583344, -0.0636691078543663, 0.0004028431139886379, 0.2782934606075287, 0.6788631677627563, 0.14716413617134094, 0.4188181161880493, -0.07020562142133713, -0.23333632946014404, 0.21625378727912903, 0.17297852039337158, -0.39640599489212036, -0.32324036955833435, 0.07502884417772293, -0.44057944416999817, -0.1731242686510086, -0.16653263568878174, -0.37433579564094543, -0.6605761647224426, -0.42452001571655273, 0.3414382040500641, -0.16053253412246704, -0.45624810457229614, 0.06432509422302246, -0.1896536499261856, 0.10658620297908783, -0.18776440620422363, -1.2196462154388428, 0.5250529050827026, 0.5170601010322571, 0.2720138430595398, 0.016169432550668716, -0.34593456983566284, -0.40573835372924805, -0.14341114461421967, -0.24573318660259247, 0.6148589253425598, -0.4725549817085266, -0.4763939082622528, 0.03376239165663719, -0.03274049982428551, 0.32258984446525574, -0.9159347414970398, 0.49412262439727783, -0.39761796593666077, 0.03705991804599762, -0.3538443446159363, -0.3598661422729492, 0.07586026191711426, -0.3527365028858185, -0.5555817484855652, 0.8052364587783813, 0.011470439843833447, -0.5112326145172119, 0.32967257499694824, -0.20731216669082642, -0.6221238374710083, -0.18182657659053802, -0.5222164988517761, -0.22591960430145264, 0.30165696144104004, -0.09698889404535294, 0.09836193919181824, -0.16308018565177917, 0.14666900038719177, -0.06734287738800049, -0.10419389605522156, 0.5879387855529785, -0.437742680311203, 0.7760531902313232, 0.31080561876296997, -0.2506295442581177, 0.24428708851337433, -0.8761877417564392, -0.02097366936504841, 0.015190106816589832, -0.4200023114681244, -0.4004356265068054, 0.11927732080221176, 0.14651939272880554, 0.1510985642671585, 0.09614062309265137, -0.4654238522052765, 0.11900746077299118, -0.4073234498500824, 0.8923369646072388, 0.3613935708999634, 0.14285677671432495, 0.8893538117408752, -0.01081422995775938, 0.22295387089252472, 0.05164366587996483, 0.12120392918586731, 0.07092370092868805, -0.463186651468277, -0.758910059928894, 0.2260836958885193, 0.25329893827438354, 0.5295530557632446, -0.07353745400905609, 0.37322449684143066, 0.24653828144073486, -0.03125683590769768, -0.8389907479286194, 0.06763357669115067, 0.4082772731781006, 0.45968353748321533, 0.39653265476226807, -0.487516313791275, -0.6344999670982361, -1.2980400323867798, -0.1143568605184555, -0.1758527308702469, -0.5792853236198425, 0.36610808968544006, -0.04757951945066452, -0.09041175246238708, 0.943295955657959, -0.14352969825267792, -0.6077467203140259, 0.0696275532245636, 0.08437156677246094, -0.12921088933944702, 0.6222352981567383, 0.20985783636569977, -0.7774217128753662, 0.21819840371608734, -0.10271900147199631, -0.44262662529945374, -0.3078916668891907, -0.025685394182801247, 0.18375560641288757, 0.14950217306613922, 0.5556411147117615, -0.5792039036750793, 0.30319079756736755, 0.2312128245830536, -0.38391801714897156, 0.29046350717544556, -0.19123686850070953, -0.3400059640407562, -0.5662635564804077, -0.28328537940979004, 0.1681659072637558, -0.06328127533197403, -0.8176719546318054, -0.25292903184890747, 0.08365684747695923, -0.04672486335039139, -0.2714408338069916, 0.401169091463089, -0.4949273467063904, -0.37205246090888977, -0.22064326703548431, 0.07919632643461227, 0.07690387219190598, 0.5821054577827454, 0.4977880120277405, 0.290970116853714, 0.3657192587852478, -0.5771968364715576, 0.13718894124031067, 0.2320868819952011, -0.1993895173072815, 0.18513041734695435, -0.7634310126304626, 0.48139581084251404, -0.006906506139785051, 0.3751651346683502, -0.8903673887252808, -0.11723583936691284, 0.24674181640148163, -0.7719324827194214, 0.3195555508136749, -0.38734689354896545, -0.13450174033641815, -0.2204207330942154, 0.1931556612253189, 0.7504340410232544, 0.8221721053123474, -0.4958030581474304, 0.4011291563510895, 0.7477114796638489, 0.19389505684375763, -0.275071918964386, -1.2177625894546509, -0.12341123074293137, -0.09731093049049377, -0.3398270905017853, 0.24551993608474731, 0.056627146899700165, -0.5345027446746826, -0.016189977526664734, -0.2590895891189575, -0.2900497317314148, -0.09471555054187775, 0.38960036635398865, -0.09601162374019623, -0.29059988260269165, 0.017436472699046135, -0.010392524302005768, -0.07591186463832855, 0.22157800197601318, -0.7956576943397522, 0.5251273512840271, 0.24223323166370392, -0.14368779957294464, -0.8463908433914185, 0.16295894980430603, 0.367914080619812, -0.4877183437347412, 0.11662738770246506, 0.4605460464954376, -0.48912379145622253, -0.24198099970817566, -0.6410039663314819, -0.545376181602478, -0.42393994331359863, 0.5045576095581055, -0.6484177112579346, -0.8280065059661865, 0.5083982348442078, 0.47013261914253235, -0.3637652099132538, 0.2101822942495346, 0.7663053870201111, -0.05889178439974785, 0.9483452439308167, 0.15398135781288147, 0.008373400196433067, 0.30957433581352234, -0.11308631300926208, -0.11145266890525818, -0.8986071348190308, -0.4762546420097351, -0.5168411135673523, -0.1984369158744812, -0.7567691802978516, -0.3099139332771301, -0.021786537021398544, -0.05619698762893677, -0.09858979284763336, 0.19532661139965057, -0.7944027781486511, 0.5911459922790527, 0.6183936595916748, 0.06903063505887985, -0.0667237639427185, -0.021159280091524124, -0.16020143032073975, -0.33589044213294983, -0.7460740804672241, -0.06142272800207138, 0.7254565358161926, 0.6934365630149841, 0.5541983842849731, 0.048860013484954834, 0.3721591830253601, 0.252902090549469, -0.46538323163986206, -0.9647569060325623, 0.23773403465747833, -0.13901279866695404, -0.6191393136978149, -0.2658795714378357, -0.17345331609249115, -0.8931677937507629, 0.26076993346214294, -0.19821617007255554, -0.8919203877449036, 0.6237396597862244, 0.2928802967071533, -0.5588942170143127, 0.0693836659193039, -0.6164858937263489, 0.6400542855262756, -0.1458686888217926, -0.31718194484710693, -0.3271767497062683, -0.813727617263794, 0.11151210963726044, 0.22456948459148407, 0.22164879739284515, -0.03275764361023903, 0.03584869205951691, 0.5911754965782166, -0.26862484216690063, 0.888253390789032, -0.3182111084461212, -0.24396690726280212, 0.43056216835975647, 0.5188064575195312, 0.18147630989551544, -0.040339261293411255, 0.05295099690556526, 0.2795029580593109, -0.23584318161010742, -0.31878721714019775, -0.3477689325809479, 0.6833805441856384, -0.9701610803604126, -0.5121933817863464, -0.1590028703212738, -0.5722850561141968, -0.30298423767089844, 0.08275862783193588, 0.5494924783706665, 0.614197313785553, -0.10271880030632019, 0.007996351458132267, 0.8155056834220886, -0.116461381316185, 0.1644543707370758, 0.3496217727661133, -0.10024932026863098, -0.15393206477165222, 0.8098742365837097, 0.3288498818874359, 0.2729145884513855, 0.42235997319221497, 0.3727702796459198, -0.4533044099807739, -0.5525731444358826, -0.23808632791042328, 0.09182003885507584, -0.6195294857025146, 0.18320852518081665, -0.4015263319015503, -0.2844971716403961, -0.4434492886066437, 0.20112769305706024, -0.49658602476119995, -0.6330349445343018, -0.4353735148906708, -0.08834635466337204, -0.050911132246255875, 1.2193491458892822, -0.31788739562034607, 0.17829133570194244, -0.3573596775531769, 0.372514933347702, 0.5880323052406311, 0.2778603732585907, 0.11060145497322083, -0.789852499961853, -0.10572704672813416, 0.08546017855405807, 0.12943732738494873, -0.8281684517860413, 0.12201319634914398, 0.015119265764951706, 0.28137505054473877, 0.38081440329551697, -0.18934743106365204, 0.15548019111156464, -0.6493239998817444, 0.8517342805862427, 0.12300192564725876, -0.8533394932746887, 0.42212289571762085, -0.4827747046947479, 0.35145214200019836, 0.21216343343257904, -0.12910312414169312, -0.64666348695755, -0.3489476144313812, -0.5553833246231079, -0.7610751986503601, 0.7067803144454956, 0.24593369662761688, 0.13250675797462463, 0.02543451450765133, 0.5612914562225342, 0.02645035833120346, -0.07494041323661804, -0.5970245003700256, -0.36625850200653076, -0.3618611991405487, 0.09011289477348328, 0.09593136608600616, -0.5890896916389465, 0.002797158667817712, -0.2590053677558899, 0.39694344997406006, 0.349357008934021, 0.06589967012405396, 0.4859214723110199, -0.22927063703536987, -0.15515859425067902, 0.1708502620458603, 0.7677165865898132, 0.39034685492515564, -0.0954887643456459, 0.5327247381210327, 0.10103251039981842, -0.3575264811515808, 0.2609316408634186, -0.043071676045656204, -0.0690658688545227, -0.0031313770450651646, 0.28448984026908875, 0.9088060259819031, 0.25745803117752075, -0.21329589188098907, 0.17091797292232513, -0.10172419250011444, -0.1613428294658661, -0.48932796716690063, 0.14127713441848755, 0.13976427912712097, 0.46946191787719727, 0.37210482358932495, 0.31599506735801697, 0.17973437905311584, -0.40194329619407654, 0.3098992705345154, 0.1733384132385254, -0.6421855092048645, -0.598637580871582, 1.1245023012161255, 0.2535105049610138, -0.7418932914733887, 0.6046090126037598, -0.10234476625919342, -0.530828595161438, 0.6865156292915344, 0.5451480746269226, 0.8673631548881531, -0.5654692053794861, -0.2654169201850891, 0.418038010597229, 0.23477429151535034, 0.05181411653757095, 0.002454529283568263, -0.27271512150764465, -0.9995089769363403, -0.1723332554101944, -0.4792482554912567, -0.1267879158258438, 0.38932299613952637, -0.8733724355697632, 0.285369873046875, -0.5109602808952332, -0.16004806756973267, 0.5147315859794617, -0.34306854009628296, -0.558784544467926, 0.1701626181602478, 0.6578302979469299, 0.5917629599571228, -0.7086278796195984, 1.1472047567367554, 0.5270081758499146, -0.29151102900505066, -0.9014758467674255, 0.09542576223611832, 0.3106033504009247, -0.7880344986915588, 0.5816380381584167, -0.06990093737840652, -0.23518313467502594, 0.057191360741853714, -0.2313518226146698, -0.5825446248054504, 0.519860565662384, 0.08817043155431747, -0.7195456027984619, 0.06323633342981339, 0.3655130863189697, 0.559279203414917, -0.17941544950008392, 0.011527947150170803, 0.9018787741661072, 0.41512855887413025, -0.07206035405397415, -1.0351943969726562, -0.2281312346458435, -0.1533564329147339, -0.04435382038354874, 0.14643613994121552, -0.6154083013534546, 0.7699048519134521, -0.16187210381031036, 0.011132501997053623, 0.00018320573144592345, 0.657199501991272, -0.04425959661602974, 0.06602640450000763, 0.645905613899231, 0.4082084894180298, 0.7636216878890991, 0.05713878571987152, 0.9066309332847595, 0.0596601665019989, 0.20903030037879944, 1.2793004512786865, -0.21182338893413544, 0.6177739500999451, 0.4319141209125519, -0.19315984845161438, 0.12991352379322052, 0.7970613837242126, -0.000840537715703249, 0.5172836184501648, 0.4492420256137848, -0.14120779931545258, -0.179247185587883, -0.5354591012001038, -0.23503045737743378, 0.7838729023933411, 0.32051801681518555, 0.007364959456026554, 0.31189867854118347, 0.07615819573402405, 0.042061880230903625, 0.16856183111667633, -0.3101915121078491, 0.8006933927536011, 0.19896197319030762, -0.7228689193725586, 0.5095077753067017, -0.13883532583713531, 0.5542521476745605, -0.5512470006942749, 0.17958444356918335, -0.21467941999435425, 0.21222755312919617, -0.41983965039253235, -0.7491567730903625, 0.17968302965164185, -0.28256145119667053, -0.5054567456245422, -0.11325208097696304, 0.6989812254905701, -0.816781759262085, -0.0847863256931305, 0.43962788581848145, 0.21106746792793274, 0.09345121681690216, -0.017633330076932907, -0.42258498072624207, 0.013332042843103409, 0.2151620090007782, -0.3733413815498352, 0.2841430604457855, 0.29647964239120483, -0.15116067230701447, 0.33073434233665466, 0.41998833417892456, 0.3248252272605896, 0.1552651822566986, 0.6531844139099121, 0.3135899603366852, -0.43219324946403503, -0.58431476354599, -0.7511966824531555, 0.2776981294155121, 0.4211325943470001, -0.28783339262008667, 0.3867555558681488, 0.5084539651870728, 0.8852202892303467, 0.035189080983400345, 0.6306604743003845, 0.1724981665611267, 0.336376816034317, -0.5311761498451233, 0.8226578831672668, -0.4852631390094757, 0.18376706540584564, 0.2318490892648697, -0.84294593334198, -0.33680468797683716, 0.6332475543022156, -0.09701894223690033, -0.21429288387298584, 0.48185181617736816, 0.7572492361068726, -0.018904510885477066, -0.050101011991500854, 0.38678550720214844, 0.46136367321014404, -0.05620269477367401, 0.3841756582260132, 1.0318012237548828, -0.009366261772811413, 0.36055871844291687, -0.5216425657272339, 0.03508143126964569, 0.05062151700258255, -0.26859456300735474, -0.7194928526878357, -0.9067519903182983, -0.16830001771450043, -0.49954846501350403, -0.11447342485189438, 1.1302834749221802, 0.8349611163139343, -0.9281269907951355, -0.5302562117576599, -0.15840882062911987, 0.16528873145580292, 0.1432247906923294, -0.23771779239177704, 0.24400919675827026, -0.11772558838129044, -0.5884857177734375, 0.6303143501281738, -0.0038110853638499975, 0.19227054715156555, -0.44185054302215576, -0.12551862001419067, 0.2500114142894745, 0.05650606378912926, 0.2669356167316437, 0.444347083568573, -0.9461966156959534, -0.3156490921974182, 0.027906574308872223, -0.09329269826412201, 0.2860562205314636, 1.1342178583145142, -0.7697018384933472, 0.47206035256385803, 0.3657713234424591, 0.22153589129447937, 0.46845608949661255, -0.1903483122587204, 0.5756485462188721, -0.9631827473640442, 0.7115305662155151, 0.4580032229423523, 0.23307204246520996, 0.36709651350975037, -0.38374537229537964, 0.2814125120639801, 0.22279225289821625, -0.6622606515884399, -0.7887383699417114, 0.45788946747779846, -0.9221997857093811, -0.39121919870376587, 1.3431698083877563, 0.41366812586784363, -0.03750422224402428, -0.009763947688043118, -0.18770131468772888, 0.4367425739765167, -0.3104581832885742, 0.45712214708328247, 0.5810400247573853, -0.172054722905159, -0.05995110422372818, -0.6075014472007751, 0.7839170694351196, 0.4958035349845886, -0.0024454782251268625, 0.18593336641788483, 0.5094850063323975, 0.32221078872680664, 0.06342443823814392, 0.4503522217273712, 0.1816793531179428, 0.280882328748703, 0.12082290649414062, 0.4537298381328583, -0.011621305719017982, -0.4041067361831665, -0.8206542730331421, -0.03263142332434654, 0.28958427906036377, -0.2748173177242279 ]
http://arxiv.org/abs/2407.03004v1
http://arxiv.org/pdf/2407.03004v1
SemioLLM: Assessing Large Language Models for Semiological Analysis in Epilepsy Research
2024-07-03T11:02:12
2024-07-03T11:02:12
Meghal Dani, Muthu Jeyanthi Prakash, Zeynep Akata, Stefanie Liebe
cs.CL
cs.CL, cs.AI
Large Language Models have shown promising results in their ability to encode general medical knowledge in standard medical question-answering datasets. However, their potential application in clinical practice requires evaluation in domain-specific tasks, where benchmarks are largely missing. In this study semioLLM, we test the ability of state-of-the-art LLMs (GPT-3.5, GPT-4, Mixtral 8x7B, and Qwen-72chat) to leverage their internal knowledge and reasoning for epilepsy diagnosis. Specifically, we obtain likelihood estimates linking unstructured text descriptions of seizures to seizure-generating brain regions, using an annotated clinical database containing 1269 entries. We evaluate the LLM's performance, confidence, reasoning, and citation abilities in comparison to clinical evaluation. Models achieve above-chance classification performance with prompt engineering significantly improving their outcome, with some models achieving close-to-clinical performance and reasoning. However, our analyses also reveal significant pitfalls with several models being overly confident while showing poor performance, as well as exhibiting citation errors and hallucinations. In summary, our work provides the first extensive benchmark comparing current SOTA LLMs in the medical domain of epilepsy and highlights their ability to leverage unstructured texts from patients' medical history to aid diagnostic processes in health care.
[ -0.25677740573883057, -0.9415584206581116, 1.0766878128051758, 0.167856827378273, -0.2109968513250351, -0.11330610513687134, -0.3835769295692444, -0.7238804697990417, 0.20316945016384125, 0.4067682921886444, 0.01308961771428585, -0.48826488852500916, -0.5587316751480103, 0.28494396805763245, -0.6958067417144775, 0.42270684242248535, -0.24093063175678253, 0.2737719416618347, -0.2892681360244751, 0.04405861347913742, -0.07905235886573792, -0.798019528388977, -0.535808265209198, -0.19385859370231628, 0.0031267611775547266, -0.037659142166376114, 0.3746106028556824, 0.11693708598613739, 0.3882218301296234, 0.14815662801265717, -0.4529981315135956, 0.16449326276779175, -0.2424473613500595, 0.11019904911518097, -0.02139294520020485, -0.08360686153173447, -0.42002812027931213, -0.3067535161972046, 0.7169666290283203, 0.9570913314819336, -0.3717593550682068, -0.016382165253162384, 0.05718134716153145, 0.17865458130836487, -0.3744969964027405, -0.1588379144668579, -0.26312410831451416, 0.2576419711112976, -0.035149332135915756, -0.36403319239616394, -0.48895522952079773, -0.35575559735298157, 0.37858325242996216, -0.41385000944137573, 0.18284450471401215, 0.18328285217285156, 0.8075346350669861, 0.05336707457900047, -0.5050958395004272, -0.2738054096698761, -0.6834911704063416, 0.44312992691993713, -0.6580396294593811, 0.6543310284614563, 0.5350106954574585, 0.2005237191915512, -0.22950556874275208, -1.1237099170684814, -0.43508338928222656, -0.4846630394458771, 0.06389141082763672, -0.028107834979891777, -0.227422297000885, 0.19751474261283875, 0.3883495032787323, 0.22225990891456604, -0.5459246039390564, 0.2282145917415619, -0.4435799717903137, -0.5888978838920593, 0.2932702600955963, 0.22155524790287018, 0.46370574831962585, -0.10765141248703003, -0.6295963525772095, 0.46161311864852905, -0.7591821551322937, -0.23325501382350922, -0.0022169819567352533, 0.009005784057080746, -0.005926314275711775, 0.6386467218399048, 0.1221853643655777, 0.608422577381134, -0.03622406721115112, 0.11185456812381744, 0.10865999758243561, -0.3708869218826294, -0.19731684029102325, 0.3036615550518036, 0.6447452306747437, 0.6493327021598816, 0.13621939718723297, -0.5082140564918518, -0.12450399994850159, -0.1906757652759552, 0.30619460344314575, -0.9237159490585327, -0.23804539442062378, 0.4514111280441284, -0.5483449697494507, -0.01309644803404808, -0.46761950850486755, -0.8044909238815308, -0.807259202003479, -0.1597469598054886, 0.5594031810760498, -0.5498262643814087, -0.15662434697151184, 0.4466211497783661, -0.09746404737234116, 0.04126078635454178, 0.3781352937221527, -0.6108399629592896, 0.49865278601646423, 0.2541033923625946, 0.8075947761535645, -0.3057674467563629, -0.11954015493392944, -0.25863346457481384, 0.01524338684976101, -0.24885642528533936, 0.9517397284507751, -0.326275497674942, -0.39484739303588867, 0.15037798881530762, 0.09646779298782349, -0.3990550935268402, -0.7212397456169128, 0.8645219802856445, -0.4017379879951477, -0.07480103522539139, -0.2598055601119995, -0.8874833583831787, -0.17018923163414001, 0.07126064598560333, -0.40907007455825806, 0.772622287273407, -0.03724135458469391, -0.658128023147583, 0.5025061964988708, -0.2553640305995941, -0.4856158494949341, 0.2205827534198761, -0.3036858141422272, -0.2890552580356598, 0.24787327647209167, 0.0803273394703865, 0.6694304943084717, -0.6604793667793274, 0.40480634570121765, -0.24658195674419403, -0.1553676575422287, 0.37579038739204407, -0.15671409666538239, 0.6358160376548767, 0.14943569898605347, 0.015465564094483852, -0.13835321366786957, -0.7386687994003296, -0.01561659574508667, 0.2260752022266388, -0.06490436941385269, -0.5108203291893005, 0.002887558192014694, 0.09013479202985764, -0.054276853799819946, 0.36059415340423584, -0.5921527743339539, -0.08784051239490509, -0.32573917508125305, 0.4720381796360016, 0.3094927668571472, 0.3144891858100891, -0.02572050876915455, -0.23504066467285156, 0.42771968245506287, 0.03638116270303726, 0.1692197322845459, -0.03525562211871147, -0.5761560201644897, -0.4024029076099396, -0.4059430658817291, 0.5983210206031799, 0.19640158116817474, -0.359356552362442, 0.3372270166873932, -0.1559671312570572, -0.1864870935678482, -0.27027955651283264, -0.3021166920661926, 0.08781450986862183, 0.6490693092346191, 0.5250712037086487, -0.19836805760860443, -0.46163326501846313, -1.027207612991333, -0.26573604345321655, 0.0036904625594615936, -0.14133982360363007, 0.08906129747629166, 0.4938928782939911, -0.12097925692796707, 0.489608496427536, -0.19157211482524872, -0.10717498511075974, -0.24195879697799683, 0.08236974477767944, 0.0010612263577058911, 0.005823085084557533, 0.36240968108177185, -0.5934421420097351, -0.20255520939826965, 0.1836722046136856, -1.004683256149292, -0.10165867209434509, 0.1010906770825386, 0.32972317934036255, -0.08613156527280807, 0.28696200251579285, -0.5861555933952332, 0.298240065574646, 0.17523619532585144, -0.6882908344268799, 0.5464431643486023, -0.5689937472343445, 0.43116089701652527, -0.9296179413795471, -0.014891844242811203, 0.263651967048645, -0.40164875984191895, -0.703353226184845, -0.07933096587657928, 0.31477606296539307, 0.0940779596567154, -0.23796868324279785, 0.4391082227230072, -0.37091296911239624, -0.05466118082404137, 0.040050674229860306, 0.18481028079986572, -0.19022339582443237, 0.08714508265256882, -0.05696038901805878, 0.7231858968734741, 0.5364901423454285, -0.5869008898735046, -0.02972666546702385, 0.20772551000118256, -0.46847525238990784, 0.2538406550884247, -0.7789638042449951, 0.08458493649959564, 0.17419831454753876, -0.20653745532035828, -0.907660186290741, -0.2757314443588257, -0.4061492383480072, -0.30655619502067566, 0.4008382260799408, -0.21626892685890198, -0.8551275134086609, -0.09616755694150925, -0.26073312759399414, 0.22849516570568085, 0.6679092049598694, -0.4288012385368347, 0.6055259108543396, 0.6683380603790283, -0.27628853917121887, 0.014231368899345398, -0.47231945395469666, 0.2036363035440445, -0.15837854146957397, -0.6159235835075378, 0.43216416239738464, 0.31786859035491943, -0.24978114664554596, -0.17805692553520203, -0.24283069372177124, -0.07706093043088913, 0.19168439507484436, -0.12493424862623215, 0.25805407762527466, -0.11742857098579407, 0.12341761589050293, 0.2737487256526947, 0.1584569811820984, 0.26593127846717834, -0.20129665732383728, 0.5308915972709656, 0.03234046697616577, -0.32460156083106995, -0.34161368012428284, 0.0842103660106659, 0.45610010623931885, 0.0796046108007431, 0.6796709299087524, 0.003897895570844412, -0.8369323015213013, -0.4278738498687744, -0.4635302424430847, -0.1697663962841034, -0.3212009370326996, 0.33361703157424927, -0.399882435798645, -1.0357311964035034, 0.608224093914032, -0.3823254108428955, -0.3069536089897156, 0.36138561367988586, 0.7842938899993896, -0.2048085331916809, 1.0143580436706543, 0.3357982039451599, 0.5928077697753906, -0.08106138557195663, -0.08691758662462234, 0.39898252487182617, -0.8845182657241821, -0.29647207260131836, -0.5678067803382874, 0.1282361000776291, -0.4322318732738495, -0.3261697292327881, 0.6823990345001221, 0.11863002926111221, -0.08621445298194885, 0.08214550465345383, -0.40719708800315857, 0.19705204665660858, -0.1600411832332611, 0.121970035135746, 0.413533091545105, 0.2714241147041321, -0.5846786499023438, -0.09199552237987518, -0.532766580581665, -0.8742097616195679, 1.390720248222351, 0.438327819108963, 0.7313941717147827, -0.00019917065219487995, 0.34879809617996216, 0.550035297870636, -0.12056466937065125, -0.691096842288971, 0.6948874592781067, -0.16517190635204315, -0.47711578011512756, -0.054264191538095474, -0.25488579273223877, -0.7850537300109863, 0.3256252110004425, -0.039857346564531326, -1.2038514614105225, 0.2780756950378418, -0.1653570681810379, -0.6489912867546082, 0.16881100833415985, -0.7834791541099548, 0.8202329277992249, -0.2237498015165329, -0.35093697905540466, -0.18039044737815857, -0.3601132035255432, 0.3582887053489685, -0.38869306445121765, -0.11099279671907425, 0.10820602625608444, -0.20252157747745514, 1.14520263671875, -0.2594436705112457, 0.7363522052764893, -0.14921823143959045, -0.14456193149089813, 0.1894216239452362, 0.1676253080368042, 0.3560384511947632, 0.02766941860318184, -0.03908857703208923, 0.46527621150016785, 0.5154317617416382, -0.10364586114883423, -0.4300704896450043, 0.7159883379936218, -0.64631187915802, -0.3362807333469391, -0.5747814774513245, -0.16341955959796906, -0.7308935523033142, 0.13721607625484467, 0.16838262975215912, 0.7024767994880676, -0.19487878680229187, 0.1187146008014679, 1.0614290237426758, -0.111798956990242, -0.027531463652849197, 0.5400477647781372, -0.37896284461021423, -0.26537588238716125, 0.5292415022850037, 0.26498955488204956, 0.117413230240345, 0.24509362876415253, 0.2171928584575653, -0.6035493016242981, -1.188001275062561, -0.4273262321949005, 0.21413928270339966, -0.8055863380432129, 0.1312149167060852, -0.7505565881729126, -0.2321246713399887, -0.19501392543315887, 0.2565208077430725, -0.19858525693416595, -0.5834150314331055, 0.05244822055101395, -0.20995193719863892, 0.1714930683374405, 0.593840479850769, 0.3880150318145752, -0.09590209275484085, -0.7787990570068359, 0.2651238441467285, -0.05515521019697189, 0.11736839264631271, -0.038304753601551056, -0.8023951649665833, -0.2613365650177002, -0.10046672075986862, -0.08047936111688614, -1.0042743682861328, 0.11645025759935379, -0.017058532685041428, 0.6288086771965027, 0.24712510406970978, 0.02515757642686367, 0.44350478053092957, -0.43015241622924805, 0.787279486656189, 0.19763483107089996, -0.5924956798553467, 0.3851046562194824, -0.16290287673473358, -0.36043211817741394, 0.41614654660224915, 0.6680608987808228, -0.16970473527908325, -0.1622219979763031, -0.56879723072052, -0.6894545555114746, 0.4249196946620941, 0.3531131148338318, -0.3903125822544098, -0.027805041521787643, 0.4568321704864502, 0.1939290314912796, 0.013739559799432755, -0.06766262650489807, -0.13803920149803162, 0.2434512972831726, -0.32605162262916565, 0.021540198475122452, -0.4496268332004547, -0.3550591766834259, -0.4118783175945282, 0.3648850917816162, -0.1753454953432083, 0.64906907081604, 0.5039505958557129, -0.21328236162662506, -0.06210070103406906, 0.2693159878253937, 0.5063595771789551, 0.9752684831619263, -0.14161211252212524, 0.381041556596756, 0.4888969659805298, -0.6934025883674622, 0.15387675166130066, 0.4374677240848541, -0.29812294244766235, -0.032020021229982376, 0.4338413178920746, 0.541589617729187, 0.08519820123910904, -0.8302201628684998, 0.5105646848678589, -0.23665902018547058, -0.17762158811092377, -0.3220164179801941, -0.2128143310546875, 0.17095519602298737, 0.23055580258369446, 0.401753306388855, -0.0021740589290857315, 0.3590018153190613, -0.34064722061157227, 0.12418508529663086, 0.33290818333625793, -0.1886720508337021, -0.7477541565895081, 0.7013798952102661, 0.021623332053422928, -0.05527730658650398, 0.3221778869628906, -0.22506223618984222, -0.5312986969947815, 0.5539369583129883, 0.7676157355308533, 0.9107716083526611, 0.13634516298770905, -0.0470261424779892, 0.2525423467159271, 0.45001450181007385, -0.21291875839233398, 0.5467249751091003, 0.07912550866603851, -0.7822391986846924, -0.38552600145339966, -0.7894818782806396, -0.25998300313949585, 0.3363339304924011, -0.48043718934059143, 0.2493334263563156, -0.48776379227638245, -0.4254860579967499, 0.1598990112543106, -0.09963192045688629, -0.45862191915512085, 0.23757028579711914, 0.07138649374246597, 0.9616625308990479, -0.5935350060462952, 0.5902334451675415, 1.1771260499954224, -0.3983595371246338, -0.5681062936782837, 0.29258590936660767, -0.2996019124984741, -0.7153840661048889, 0.31725001335144043, -0.11277267336845398, -0.06480992585420609, 0.015019455924630165, -0.44915053248405457, -0.37658414244651794, 0.883968710899353, 0.3311588764190674, -0.5480943918228149, -0.08570560067892075, 0.030008895322680473, 0.7822139859199524, -0.23341397941112518, 0.3847403824329376, 0.6360365152359009, 0.29734209179878235, -0.07933012396097183, -1.110783338546753, 0.37053847312927246, -0.023396305739879608, -0.09364914894104004, 0.33230704069137573, -0.3677883446216583, 0.49982261657714844, -0.19786055386066437, -0.39052021503448486, 0.008388780988752842, 0.4395201504230499, 0.26741015911102295, 0.4667811989784241, 0.20676492154598236, 0.6054865717887878, 1.0224844217300415, -0.08405368030071259, 1.2101842164993286, -0.5174797773361206, 0.46033036708831787, 0.7400214672088623, -0.7193307876586914, 0.7812443375587463, 0.5585747957229614, -0.4911438226699829, 0.030792757868766785, 0.7442657947540283, 0.271601140499115, 0.4988926649093628, 0.019395917654037476, -0.33591428399086, -0.6346821188926697, -0.26671546697616577, -0.3770714998245239, -0.012813313864171505, 0.3715967535972595, -0.40505361557006836, -0.222059965133667, 0.060736436396837234, -0.1149917021393776, -0.031725767999887466, -0.11369327455759048, 0.6015488505363464, 0.35301652550697327, -0.21158339083194733, 0.6313026547431946, 0.09413222223520279, 0.2095397263765335, -0.546464204788208, -0.0059830909594893456, -0.0865442156791687, 0.18739371001720428, -0.13766182959079742, -0.7145853638648987, 0.06909675896167755, 0.30665266513824463, 0.17762978374958038, 0.0902121290564537, 0.8796863555908203, 0.010244861245155334, -0.4053206741809845, 0.43672889471054077, 0.5189693570137024, 0.3200136423110962, 0.12197855114936829, -0.2577076554298401, -0.05051323398947716, -0.178467258810997, -0.27936843037605286, 0.541948676109314, 0.5453751683235168, -0.27886560559272766, 0.5944870710372925, 0.2887085974216461, 0.39014947414398193, 0.1578078716993332, 0.30624252557754517, 0.743848443031311, -0.6223916411399841, -0.1915009319782257, -0.7609290480613708, 0.1776963770389557, -0.19545245170593262, -0.4031231701374054, 0.7168179154396057, 0.6477526426315308, 0.6673120260238647, 0.11049214750528336, 0.903830349445343, -0.09041397273540497, 0.5199544429779053, -0.6649706363677979, 0.7031021118164062, -0.5814851522445679, 0.2522433400154114, 0.34148943424224854, -0.56815505027771, -0.24878619611263275, 0.48003509640693665, -0.33595219254493713, 0.19249552488327026, 1.1699919700622559, 0.5753301978111267, -0.13680604100227356, 0.43655839562416077, 0.5687501430511475, 0.6133933067321777, 0.10912377387285233, 0.4229491651058197, 1.2345596551895142, -0.31800514459609985, -0.0534302182495594, -0.06323209404945374, -0.2205759584903717, -0.15337474644184113, -0.5833024978637695, -1.1055324077606201, -0.5263711810112, -0.3252795338630676, -0.34325897693634033, 0.3475049138069153, 0.9563192129135132, 0.41076356172561646, -0.8257253766059875, 0.051786839962005615, 0.21877992153167725, -0.15633931756019592, -0.2306959629058838, -0.09039819240570068, 0.5285003185272217, -0.1888056844472885, -0.32885730266571045, 0.5829604268074036, 0.3951040208339691, -0.03246832638978958, -0.27841290831565857, 0.07921391725540161, -0.01350085437297821, -0.0010576362255960703, 0.6631115674972534, -0.12359458953142166, -0.6261386871337891, -0.17387422919273376, 0.038059052079916, -0.09868486225605011, -0.18656165897846222, 0.7829747200012207, -0.5658593773841858, 0.467819482088089, 0.5111214518547058, 0.7274147272109985, 0.5064453482627869, -0.12311746925115585, 0.3506945073604584, -0.020126014947891235, -0.3476593792438507, 0.4458763003349304, 0.7014404535293579, 0.2213984876871109, -0.2891559302806854, 0.40531203150749207, 0.24895688891410828, -0.5913041830062866, -0.9587311744689941, -0.24901525676250458, -0.8640709519386292, -0.13685809075832367, 1.13766610622406, -0.20509210228919983, -0.30898386240005493, -0.4695360064506531, -0.1139717847108841, 0.021624522283673286, -0.19984769821166992, 0.762451171875, 0.7303106784820557, -0.302161306142807, 0.17636439204216003, -0.9554412364959717, 0.4393449127674103, 0.337756872177124, -0.7023244500160217, -0.06991750001907349, 0.3939058780670166, 0.36113154888153076, -0.03699411451816559, 0.6615145802497864, -0.29935207962989807, 0.32880082726478577, -0.09179577976465225, 0.13092954456806183, -0.022582652047276497, -0.3477132022380829, -0.5702283978462219, 0.3855031132698059, 0.279815137386322, 0.002575177699327469 ]
http://arxiv.org/abs/2407.03000v1
http://arxiv.org/pdf/2407.03000v1
VIVA: A Benchmark for Vision-Grounded Decision-Making with Human Values
2024-07-03T10:59:06
2024-07-03T10:59:06
Zhe Hu, Yixiao Ren, Jing Li, Yu Yin
cs.CL
cs.CL, cs.CV
This paper introduces VIVA, a benchmark for VIsion-grounded decision-making driven by human VAlues. While most large vision-language models (VLMs) focus on physical-level skills, our work is the first to examine their multimodal capabilities in leveraging human values to make decisions under a vision-depicted situation. VIVA contains 1,062 images depicting diverse real-world situations and the manually annotated decisions grounded in them. Given an image there, the model should select the most appropriate action to address the situation and provide the relevant human values and reason underlying the decision. Extensive experiments based on VIVA show the limitation of VLMs in using human values to make multimodal decisions. Further analyses indicate the potential benefits of exploiting action consequences and predicted human values.
[ -0.4538736343383789, -0.28201213479042053, 0.6815069913864136, 0.2275591492652893, -0.23513451218605042, 0.01773841306567192, 0.11750616878271103, -0.5275126099586487, 0.21828098595142365, 0.4597543478012085, -0.4819059371948242, -0.2989921271800995, -0.18603567779064178, -0.24072474241256714, -0.2832881212234497, 0.36743107438087463, 0.4427984952926636, 0.05008507892489433, -0.39144229888916016, -0.4063531756401062, -0.7193117737770081, -0.39376145601272583, -0.25442537665367126, -0.12384741008281708, 0.8436164855957031, 0.4117946922779083, 0.6754273772239685, 0.41460496187210083, 0.2875080406665802, 0.23431095480918884, -0.10269665718078613, 0.1997266709804535, -0.4024038314819336, -0.1123860627412796, -0.3476957082748413, -0.3011285662651062, -0.5708558559417725, 0.26095151901245117, 0.6056840419769287, 0.5099689960479736, 0.08331573009490967, 0.5764634609222412, -0.27354198694229126, 0.6955864429473877, -0.9367337822914124, 0.2119312733411789, -0.5739357471466064, 0.07536815851926804, -0.0921802744269371, -0.0850997194647789, -0.36037546396255493, -0.7162532210350037, 0.1221853718161583, -0.5012614130973816, -0.15629443526268005, -0.029590224847197533, 1.4224276542663574, 0.5548193454742432, -0.6969037055969238, 0.5362065434455872, -0.8291172385215759, 0.7311035394668579, -0.12418878823518753, 0.5982705950737, 0.3464919328689575, 0.7470579743385315, 0.22854183614253998, -0.6742342710494995, -0.5530083179473877, 0.15898799896240234, 0.29230567812919617, 0.3355093002319336, 0.12521050870418549, 0.10330832004547119, 0.3478020429611206, -0.12853775918483734, -0.0023997181560844183, -0.06784874945878983, -0.748168408870697, -0.030905282124876976, 0.6816049218177795, 0.4222697913646698, -0.04628954827785492, -0.23756560683250427, -0.7152816653251648, -0.6538102030754089, -0.8554523587226868, 0.728297770023346, 0.06864280253648758, 0.0008077837992459536, 0.3552102744579315, 0.6473391056060791, -0.6235333681106567, 0.8423938155174255, -0.3871397078037262, -0.43866196274757385, 0.2965444326400757, -0.35354846715927124, -0.3426467478275299, -0.10968790203332901, 0.12019845843315125, 1.138973355293274, 0.5466370582580566, 0.23197196424007416, -0.05057121440768242, 0.3823661506175995, 0.5498532056808472, -0.7496539950370789, 0.14615997672080994, -0.1650567203760147, -0.633542001247406, -0.43052539229393005, 0.1335606575012207, -1.2399636507034302, -0.5425264239311218, -0.6265869736671448, 0.7048627138137817, -0.38200101256370544, -0.03223777934908867, 0.2101009339094162, -0.32278433442115784, 0.8712007403373718, 0.7167203426361084, -0.47441747784614563, 0.21084575355052948, 0.397452712059021, 0.4189169704914093, 0.07718482613563538, -0.546220064163208, -0.6508426070213318, -0.1898512989282608, -0.5743554830551147, 1.0150038003921509, -0.538533091545105, -0.34032249450683594, -0.11526531726121902, -0.277917742729187, -0.009373664855957031, -0.50502610206604, 0.9723770618438721, -0.3650769293308258, -0.28475210070610046, -0.946510910987854, -0.12758928537368774, -0.6507993340492249, 0.19571012258529663, -0.6079384684562683, 1.0554652214050293, 0.17139483988285065, -0.3234907388687134, 1.4361763000488281, -0.48071107268333435, -0.24243289232254028, 0.299989253282547, -0.3986544609069824, -0.4407692849636078, 0.2716650664806366, -0.21946310997009277, 0.3288014829158783, -0.3283999264240265, 0.24883824586868286, -0.3763050138950348, -0.3129802644252777, 0.3687112629413605, -0.6357510089874268, 0.4652057886123657, 0.0893026739358902, -0.3163191080093384, 0.4310297667980194, -0.8594855666160583, 0.3533923327922821, -0.1135980635881424, -0.48764246702194214, -0.36912068724632263, 0.5141187310218811, 0.21885663270950317, 0.8697750568389893, -0.04329528659582138, -0.4353032112121582, 0.011037793010473251, 0.09752470999956131, -0.025852734223008156, 0.6999010443687439, -0.28718823194503784, -0.11441388726234436, -0.2246384620666504, 0.33581048250198364, -0.086191825568676, 0.5192630887031555, -0.262175053358078, -0.754916787147522, -0.9000345468521118, -0.5024009943008423, 0.21220260858535767, 0.5377499461174011, -0.5549485683441162, 0.031062185764312744, -0.34875407814979553, -0.3442361354827881, -0.8124504089355469, -0.15473943948745728, 0.3499441146850586, 0.8085294961929321, 0.43090182542800903, -0.10539540648460388, -0.5048564672470093, -1.214121699333191, -0.10702549666166306, -0.2682962715625763, 0.19649964570999146, 0.5649797916412354, 0.5997478365898132, -0.2655538320541382, 1.3824020624160767, -0.5027048587799072, -0.2608613967895508, 0.13237793743610382, 0.3291328251361847, -0.12512236833572388, -0.047422491014003754, 0.7588409781455994, -1.3715240955352783, -0.20943139493465424, -0.06635106354951859, -0.7590377330780029, -0.045948222279548645, -0.11567043513059616, 0.004024100489914417, 0.01956680417060852, 0.17342832684516907, -0.2707569897174835, 1.2278833389282227, 0.159112349152565, -0.8855545520782471, 0.7083043456077576, -0.39684295654296875, 0.6341356635093689, -0.5795458555221558, 0.3793885111808777, -0.0264657661318779, -0.4197999835014343, -0.5428749322891235, -0.18901008367538452, 0.4222187101840973, -0.15352290868759155, -0.8742443323135376, 0.6955433487892151, -0.04920071363449097, -0.6653968691825867, -0.17335285246372223, -0.367931067943573, 0.20401272177696228, 0.21454282104969025, 0.5117552876472473, 0.8380773067474365, 0.35819879174232483, -0.8453052043914795, 0.4808415472507477, 0.28096863627433777, -0.45499399304389954, 1.291288137435913, -0.6195949912071228, -0.3993954360485077, -0.3119828999042511, -0.16684985160827637, -0.7348167896270752, -0.2996984124183655, -0.3175082206726074, -0.30996978282928467, -0.4205312430858612, -0.1288847178220749, -0.3683938980102539, -0.5949582457542419, -0.3114062547683716, 0.35212621092796326, 0.651346743106842, -0.43634289503097534, 0.8807293176651001, 0.4344351887702942, 0.20373573899269104, -0.5030778050422668, -0.4201040267944336, 0.3896160125732422, -0.6100688576698303, -0.7733686566352844, 0.25251004099845886, -0.13486482203006744, -0.5013976693153381, -0.12228432297706604, 0.21129554510116577, -0.11613442748785019, 0.11448149383068085, 0.7293050289154053, 0.4043484628200531, 0.020280957221984863, -0.17476767301559448, -0.1199379712343216, -0.4066116511821747, -0.09736084192991257, -0.08653772622346878, 0.21914605796337128, -0.6311324834823608, -0.46653100848197937, -0.31684115529060364, 0.2808523178100586, 1.0759191513061523, -0.4680236876010895, 0.5624254941940308, 0.5205584168434143, -0.3906709849834442, 0.11763570457696915, -0.7672056555747986, 0.014206569641828537, -0.458208829164505, 0.0448957234621048, -0.4449402987957001, -0.29837843775749207, 0.47580721974372864, -0.23311328887939453, -0.1347850114107132, 0.26607465744018555, 0.6261861324310303, -0.3306502401828766, 0.8534982204437256, 0.5302425026893616, 0.33473876118659973, 0.3171073794364929, 0.012289530597627163, -0.19610300660133362, -0.6732760071754456, -0.6318371295928955, -0.2522679269313812, -0.49776485562324524, -0.11021732538938522, -0.6848256587982178, 0.8011820316314697, -0.21284352242946625, -0.1295989751815796, 0.09539530426263809, -0.25040704011917114, 0.3066360056400299, 0.8713464736938477, 0.1882925182580948, 0.08065689355134964, -0.4790767729282379, -0.28460001945495605, -0.20543289184570312, -0.3787486255168915, -0.47195225954055786, 0.8273282647132874, 0.2021026760339737, 0.5922727584838867, -0.18315306305885315, 0.29145458340644836, 0.32873570919036865, 0.15365976095199585, -0.7266448140144348, 0.7639980316162109, 0.28047069907188416, -0.7170290350914001, -0.07416966557502747, -0.10286235809326172, -1.0406612157821655, 0.599216639995575, -0.6223794221878052, -0.5958256125450134, 0.5906933546066284, 0.07302739471197128, -0.7911972403526306, 0.23517538607120514, -0.6672316789627075, 1.0469346046447754, -0.6470018029212952, -0.738457441329956, -0.4644187092781067, -0.746515691280365, 0.19154296815395355, 0.15840238332748413, 0.25201860070228577, -0.19625569880008698, -0.034913115203380585, 0.5128836035728455, -0.047096773982048035, 0.8339712023735046, -0.2742235064506531, 0.3913210928440094, 0.3771090805530548, -0.028368987143039703, 0.06039430946111679, -0.04020444303750992, 0.021818554028868675, -0.1570148915052414, 0.12171756476163864, -0.24804185330867767, -0.08041395992040634, 0.26070675253868103, -0.5518890023231506, -0.12736639380455017, -0.6268136501312256, -0.15823538601398468, -0.19214285910129547, 0.30840378999710083, 0.06607670336961746, 0.4334748089313507, -0.6415029168128967, 0.3962517976760864, 0.725316047668457, -0.4897324740886688, 0.643937349319458, 0.5232318043708801, -0.5905242562294006, -0.5650307536125183, 0.8706861734390259, 0.16042505204677582, 0.2640036940574646, 0.03967452421784401, 0.2667256295681, -0.39379099011421204, -0.22976256906986237, -0.4405380189418793, -0.10046874731779099, -0.8123297095298767, -0.1806156486272812, -0.2449050396680832, 0.05108553543686867, 0.04153395816683769, -0.31469881534576416, -0.6355478763580322, -0.0036032984498888254, -0.035848814994096756, -0.25889843702316284, 0.2592475712299347, 0.5760671496391296, -0.07991129904985428, -0.2921654284000397, -0.6813293099403381, 0.6641046404838562, 0.9882040023803711, 0.5111286044120789, -0.43030089139938354, -0.020315470173954964, -0.19921660423278809, 0.05751523748040199, -0.12914210557937622, -0.7960795760154724, 0.5175135135650635, 0.010291874408721924, 0.7152095437049866, 0.6640444993972778, 0.046719443053007126, 0.9171451926231384, -0.43185746669769287, 0.6050376296043396, 0.05166977643966675, -0.8714343905448914, 0.7811970114707947, -0.4409253001213074, 0.0664307251572609, 0.9892272353172302, -0.05270565673708916, -0.46428486704826355, 0.5370733141899109, -0.6027973294258118, -0.7380695343017578, 0.4777994155883789, 0.007471855264157057, -0.19307877123355865, 0.13183443248271942, 0.17153804004192352, -0.00818641483783722, 0.46643006801605225, -0.6251184940338135, 0.09324224293231964, -0.378864586353302, 0.2979668378829956, 0.07947228103876114, -0.2826880216598511, -0.1607733964920044, -0.696674108505249, -0.06780090928077698, -0.3966156840324402, 0.08747386187314987, 0.2611096203327179, -0.07354962080717087, -0.06411904841661453, 0.10555722564458847, 0.8464391231536865, 0.8142853379249573, -0.40013808012008667, 0.17591789364814758, 0.5062142610549927, -0.13419021666049957, 0.044355422258377075, -0.23191501200199127, -0.22731536626815796, -0.4222905933856964, -0.0815616175532341, 0.8416788578033447, 0.4508506655693054, -1.1454875469207764, 0.6749802231788635, 0.0585792176425457, -0.11880269646644592, -0.3581450879573822, 0.0833970457315445, -0.15698395669460297, 0.36065295338630676, 0.3788323700428009, 0.3688898980617523, 0.1614593118429184, -0.6676766872406006, 0.34995347261428833, 0.2885717451572418, -0.62654048204422, -0.46338140964508057, 0.918275773525238, 0.36387622356414795, -0.13821031153202057, 0.514706552028656, -0.1865738034248352, -0.6293884515762329, 0.4524439573287964, 0.01334353443235159, 0.828195333480835, -0.04200281202793121, 0.48684069514274597, 0.32043716311454773, 0.21130765974521637, -0.21185988187789917, 0.707942545413971, -0.0267653688788414, -0.7204293012619019, -0.2640571594238281, -0.5901215076446533, -0.637928307056427, -0.3762856721878052, -0.8223249912261963, 0.5190913677215576, -0.4641629457473755, -0.26676738262176514, -0.13728958368301392, -0.13791118562221527, -0.9752827286720276, 0.7110190391540527, 0.599020779132843, 0.8193013668060303, -0.9860547780990601, 1.0233362913131714, 0.5719910264015198, -0.5239236354827881, -0.3203094005584717, -0.3411426246166229, 0.14142511785030365, -0.6727762818336487, 1.1981250047683716, 0.21403950452804565, -0.508805513381958, -0.28968170285224915, -0.3126886188983917, -0.6953601241111755, 1.3751381635665894, 0.3893095850944519, 0.08757302165031433, 0.0795711949467659, 0.10330159217119217, 0.4657284915447235, -0.25341570377349854, 0.16422376036643982, 0.6059888005256653, 0.9042873382568359, 0.29480287432670593, -1.0522490739822388, -0.44647666811943054, -0.16407565772533417, -0.03183895722031593, -0.007500065956264734, -0.7860256433486938, 1.0440727472305298, -0.26484131813049316, -0.11102070659399033, -0.25951793789863586, 0.529398500919342, 0.23811553418636322, 0.468527615070343, 0.6571505069732666, 0.6514468789100647, 0.8130207061767578, -0.20382104814052582, 1.121227502822876, 0.10065317153930664, 0.06238501891493797, 0.5804229378700256, -0.6163305640220642, 1.0279200077056885, 0.29566332697868347, -0.12125983834266663, 0.4440634548664093, 0.44243404269218445, 0.006711397785693407, 0.6337310671806335, -0.3071863353252411, -0.14512623846530914, -0.7703857421875, -0.17121686041355133, -0.20141248404979706, 1.0066883563995361, 0.5051378607749939, -0.039260383695364, -0.14952407777309418, 0.07131163030862808, -0.13775333762168884, 0.1176946833729744, -0.3687857687473297, 0.6784659624099731, -0.2347480207681656, -0.8238834142684937, 0.406917542219162, -0.10710751265287399, 0.3054458498954773, -0.4959811270236969, -0.15583311021327972, 0.3320954442024231, 0.33745720982551575, -0.034805718809366226, -1.2011185884475708, 0.3890793025493622, -0.15108835697174072, -0.1828024536371231, -0.7079275846481323, 0.8830198645591736, 0.06824975460767746, -0.45250919461250305, 0.48563870787620544, 0.31619971990585327, -0.1192348301410675, -0.352047324180603, -0.43665188550949097, 0.07087577134370804, -0.3701942563056946, -0.10036103427410126, 0.3066878020763397, 0.40970200300216675, -0.31090202927589417, 0.9545481204986572, 0.6092438101768494, -0.0744587704539299, 0.2752944827079773, -0.1316968947649002, 0.8392314910888672, -1.1807188987731934, -0.568800151348114, -0.7052948474884033, 0.8340673446655273, -0.32712075114250183, -0.6594802737236023, 0.5758532881736755, 0.627968430519104, 0.3317822515964508, 0.00018700618238653988, 0.6737760901451111, -0.01702573522925377, 0.33419856429100037, -0.5004671812057495, 0.47386541962623596, -0.6812034845352173, -0.10868628323078156, -0.2942812740802765, -0.6258985996246338, -0.2791321277618408, 0.8471353054046631, -0.2717718780040741, -0.05536820739507675, 0.2751183807849884, 0.38911810517311096, 0.10578090697526932, -0.2470804750919342, 0.7665829062461853, -0.3011426627635956, 0.22251318395137787, 0.4562414884567261, 0.9953779578208923, -0.1689833700656891, 0.2732507288455963, -0.05108996853232384, -0.37639570236206055, -0.6963374614715576, -1.081748366355896, -0.9271433353424072, -0.7726455926895142, -0.09690997004508972, -0.32305458188056946, -0.08194515854120255, 1.0319876670837402, 1.1300240755081177, -0.38170555233955383, -0.1560644507408142, 0.354594349861145, 0.13959945738315582, -0.7148444652557373, -0.10820826888084412, 0.08541315048933029, -0.034864816814661026, -0.3871834874153137, 0.5710429549217224, 0.6957823634147644, -0.050453148782253265, -0.2759624719619751, -0.15108896791934967, -0.2676295042037964, 0.36631450057029724, 0.8988155126571655, 0.5632963180541992, -0.7917519211769104, -0.5631808042526245, 0.10718759894371033, -0.00045156004489399493, 0.34544122219085693, 0.698754072189331, -1.3957628011703491, 0.7195898294448853, 0.513759195804596, 0.3553685247898102, 0.6694046854972839, 0.22728973627090454, 0.48466065526008606, -0.3813615143299103, 0.1820959895849228, 0.3408769369125366, 0.5471308827400208, 0.17126621305942535, 0.20904801785945892, 0.46316948533058167, 0.40412089228630066, -0.33993300795555115, -0.6804521083831787, 0.22273726761341095, -1.3357384204864502, -0.08628878742456436, 1.1879122257232666, 0.08265972882509232, -0.32214120030403137, -0.04411991685628891, -0.5816164612770081, -0.3272201120853424, -0.10936171561479568, 0.7623204588890076, 0.4654841423034668, 0.06019685044884682, -0.34987014532089233, -0.7256755232810974, 0.5107722282409668, 0.2135997712612152, -1.0840001106262207, -0.018751081079244614, 0.7979982495307922, 0.011219244450330734, 0.050927162170410156, 0.28249189257621765, 0.0008918446837924421, 0.6409556865692139, 0.24143853783607483, 0.2765028774738312, -0.020482137799263, -0.8952777981758118, -0.14542454481124878, 0.3632485866546631, 0.1615370661020279, -0.30364009737968445 ]
http://arxiv.org/abs/2407.02996v1
http://arxiv.org/pdf/2407.02996v1
Are Large Language Models Consistent over Value-laden Questions?
2024-07-03T10:53:54
2024-07-03T10:53:54
Jared Moore, Tanvi Deshpande, Diyi Yang
cs.CL
cs.CL, cs.AI
Large language models (LLMs) appear to bias their survey answers toward certain values. Nonetheless, some argue that LLMs are too inconsistent to simulate particular values. Are they? To answer, we first define value consistency as the similarity of answers across (1) paraphrases of one question, (2) related questions under one topic, (3) multiple-choice and open-ended use-cases of one question, and (4) multilingual translations of a question to English, Chinese, German, and Japanese. We apply these measures to a few large ($>=34b$), open LLMs including llama-3, as well as gpt-4o, using eight thousand questions spanning more than 300 topics. Unlike prior work, we find that models are relatively consistent across paraphrases, use-cases, translations, and within a topic. Still, some inconsistencies remain. Models are more consistent on uncontroversial topics (e.g., in the U.S., "Thanksgiving") than on controversial ones ("euthanasia"). Base models are both more consistent compared to fine-tuned models and are uniform in their consistency across topics, while fine-tuned models are more inconsistent about some topics ("euthanasia") than others ("women's rights") like our human subjects (n=165).
[ -0.1214296966791153, -0.8399001955986023, 0.8422325253486633, 0.1917991042137146, -0.1741250902414322, -0.22987577319145203, -0.30171698331832886, -0.6562113761901855, 0.2417072206735611, 0.6586331725120544, -0.19551977515220642, -0.08269831538200378, -0.7192477583885193, 0.18386420607566833, -0.4351215064525604, 1.0823040008544922, -0.19185347855091095, 0.24133987724781036, -0.23349718749523163, -0.49907466769218445, -0.17971786856651306, -0.7344592809677124, -0.3608679175376892, -0.34589487314224243, 0.6223214268684387, 0.07359166443347931, 0.9888748526573181, 0.6568713784217834, 0.474037230014801, 0.20245736837387085, -0.410185843706131, 0.061970304697752, -0.5933129787445068, 0.21625664830207825, -0.2706722617149353, -0.4538504481315613, -0.4252278506755829, 0.23648573458194733, 0.626101553440094, 1.009521245956421, -0.20507729053497314, 0.11436411738395691, 0.11430720239877701, 0.35636019706726074, -0.5421951413154602, -0.05828261747956276, -0.8913353681564331, -0.297146737575531, -0.013861254788935184, 0.18086053431034088, -0.2671908140182495, -0.5955731868743896, -0.012324140407145023, -0.40063953399658203, -0.23207269608974457, -0.16831804811954498, 1.237923502922058, 0.1817777454853058, -0.5904790163040161, -0.33092260360717773, -0.7507347464561462, 1.050689697265625, -0.9713982343673706, 0.26924532651901245, 0.54725182056427, 0.01776852458715439, -0.24073472619056702, -0.39880993962287903, -0.6373574733734131, -0.39351218938827515, 0.1487424224615097, 0.03321100026369095, -0.2420935481786728, -0.012127197347581387, 0.46197864413261414, 0.46328064799308777, -0.4073352813720703, 0.2927634119987488, -0.17633090913295746, -0.04559573903679848, 0.7304427027702332, 0.4217100143432617, 0.3431814908981323, -0.2282545566558838, -0.32222670316696167, 0.04172191396355629, -0.9283502101898193, 0.2125883549451828, 0.3885052800178528, 0.27205729484558105, -0.005429365206509829, 0.893356442451477, -0.17360174655914307, 0.6891053318977356, 0.12684020400047302, -0.4608900547027588, 0.14570041000843048, -0.5330327153205872, -0.15948998928070068, -0.29038992524147034, 0.7968385219573975, 0.5546749234199524, 0.7771357297897339, 0.0055165826342999935, -0.2809499502182007, -0.06043567880988121, 0.20595431327819824, -0.7176346778869629, 0.002712012967094779, 0.36350905895233154, -0.3252691924571991, -0.0848076120018959, -0.06106788292527199, -0.26987406611442566, -0.20246411859989166, -0.3396843373775482, 0.447282999753952, -0.08171391487121582, -0.3320234715938568, 0.2336748093366623, 0.25806504487991333, 0.29605016112327576, 0.458465576171875, -1.0480331182479858, 0.1820688545703888, 0.6876847743988037, 0.6347604990005493, -0.5270465016365051, -0.36121851205825806, -0.28226181864738464, 0.05602177977561951, -0.5728659629821777, 0.7505782246589661, -0.6286605596542358, -0.4462808668613434, 0.023001939058303833, 0.08597899228334427, 0.08526883274316788, -0.6741465926170349, 0.16756077110767365, -0.5968788862228394, 0.08483312278985977, -0.8688107132911682, -0.7489561438560486, 0.15026365220546722, 0.765672504901886, -0.663631021976471, 0.9446485638618469, 0.06575300544500351, -0.6795657277107239, 0.3587695062160492, -0.09841035306453705, -0.08825217932462692, -0.3091057240962982, -0.45864757895469666, -0.3264768123626709, 0.04962410777807236, -0.2152232974767685, 0.3470861315727234, -0.4785093069076538, 0.5259027481079102, -0.5990330576896667, -0.505707323551178, 0.5571017265319824, -0.6725299954414368, 0.730719268321991, 0.19256332516670227, -0.22604835033416748, -0.1097240298986435, -0.5635069012641907, 0.1967213749885559, 0.10570723563432693, -0.3717469871044159, -0.35178202390670776, -0.14443857967853546, 0.009761032648384571, 0.3352721929550171, 0.3416810929775238, -0.5834069848060608, 0.36358535289764404, -0.1279124766588211, 0.3429989516735077, 0.7518475651741028, 0.0798550546169281, 0.3246089518070221, -0.6484346389770508, 0.5512131452560425, 0.11636185646057129, -0.08124197274446487, -0.0025333205703645945, -0.637694239616394, -0.4567950963973999, -0.0915212407708168, 0.18358124792575836, 0.42002758383750916, -0.09723997116088867, 0.16480040550231934, -0.3719103932380676, -0.45494726300239563, -0.25176745653152466, -0.05496225878596306, 0.20737537741661072, 0.3941969573497772, 0.3786638081073761, -0.035379793494939804, -0.16464604437351227, -0.9422741532325745, -0.2712620496749878, -0.4645787477493286, -0.06039746478199959, 0.22190025448799133, 0.6005758047103882, -0.14927279949188232, 0.7646388411521912, -0.37041324377059937, 0.269048810005188, -0.11030091345310211, 0.05532042309641838, 0.2827979028224945, 0.356378972530365, 0.39310789108276367, -0.8011362552642822, -0.6848835945129395, -0.02700633928179741, -0.6774882078170776, -0.24122194945812225, 0.09045762568712234, 0.062418654561042786, 0.2262107878923416, 0.23894405364990234, -0.5606661438941956, 0.07965102046728134, 0.7473204731941223, -0.12876306474208832, 0.40805378556251526, -0.19626076519489288, 0.2690589725971222, -1.3738212585449219, 0.11741039156913757, -0.10684815794229507, -0.04168148711323738, -0.7066114544868469, -0.114232636988163, 0.1975460648536682, 0.43067872524261475, -0.48195624351501465, 0.7145894765853882, -0.10668536275625229, 0.01468636468052864, -0.4846765995025635, -0.045980650931596756, 0.19909100234508514, 0.04658842459321022, -0.026170071214437485, 0.9169741272926331, 0.263624906539917, -0.6003551483154297, 0.37299665808677673, 0.10480623692274094, -0.20562076568603516, 0.8102942109107971, -0.9306141138076782, 0.10132617503404617, -0.10106097161769867, 0.3213573694229126, -0.8387767672538757, -0.231571227312088, 0.08223765343427658, -0.1384650617837906, -0.07935545593500137, -0.06334462016820908, -0.4252789318561554, 0.16013024747371674, -0.17552177608013153, 0.5444452166557312, 0.7568959593772888, -0.30830249190330505, 0.5174636840820312, 0.42601636052131653, -0.23203030228614807, -0.7530134320259094, -0.5235494375228882, -0.12888793647289276, -0.19623565673828125, -0.522520124912262, 0.06566432118415833, -0.3236643671989441, -0.6942561268806458, 0.06827294081449509, -0.18587718904018402, -0.32136616110801697, 0.028582746163010597, 0.14089438319206238, 0.2574503421783447, -0.2365725189447403, 0.212978333234787, -0.2817280888557434, 0.28225699067115784, -0.036383286118507385, -0.22741499543190002, 0.5360352993011475, -0.14305579662322998, -0.6831762790679932, -0.015967564657330513, 0.44189634919166565, 0.8734103441238403, -0.1655808687210083, 0.670200765132904, 0.15030455589294434, -0.43950092792510986, 0.18786022067070007, -0.8544626832008362, -0.06357543170452118, -0.42004233598709106, 0.23875199258327484, -0.6430748701095581, -1.2789908647537231, 1.0684428215026855, 0.4379616677761078, 0.241117462515831, 0.6108055710792542, 0.7504450082778931, -0.2343372255563736, 1.1879686117172241, 0.5293797254562378, -0.11712737381458282, 0.13098572194576263, 0.11089684814214706, -0.03713907301425934, -0.6565247774124146, -0.21953827142715454, -0.5990015268325806, -0.1881398856639862, -0.8409366011619568, -0.2580529749393463, 0.3484332263469696, 0.12854251265525818, -0.5500034689903259, 0.001683250186033547, -0.08737646788358688, 0.4642280042171478, 0.339616984128952, -0.18175597488880157, 0.40830808877944946, -0.11157077550888062, 0.02318291924893856, -0.2467518448829651, -0.5851439237594604, -0.7151299118995667, 1.2599973678588867, 0.29844245314598083, 1.0610673427581787, 0.008332350291311741, 0.5305044651031494, -0.16820028424263, 0.5182274580001831, -0.5545164942741394, 0.25322216749191284, -0.00011732088751159608, -0.8008905053138733, -0.5228156447410583, -0.5927549600601196, -1.1167597770690918, 0.33297106623649597, -0.0794912576675415, -0.6505452990531921, 0.02834988944232464, 0.10238707810640335, -0.2616880536079407, 0.5188942551612854, -0.18276697397232056, 0.7994964122772217, -0.4691624939441681, -0.41560009121894836, 0.11323539912700653, -0.5202664732933044, 0.42542555928230286, -0.2628171443939209, 0.08973246067762375, -0.3844537138938904, 0.033642105758190155, 0.6269629001617432, -0.2916547656059265, 0.6812279224395752, 0.2574194669723511, -0.5053436756134033, 0.33066001534461975, -0.04295085743069649, 0.5313796401023865, 0.05105254054069519, -0.17475828528404236, 0.3105037808418274, 0.40446197986602783, -0.766533374786377, -0.6767971515655518, 0.6503961682319641, -0.913444995880127, -0.8698095083236694, -0.5330421328544617, -0.828424870967865, -0.17162048816680908, 0.12452797591686249, 0.11219518631696701, 0.15863165259361267, -0.10871122777462006, 0.34050315618515015, 1.00840425491333, -0.09312249720096588, 0.06857090443372726, 0.641694962978363, -0.15409521758556366, -0.2218015491962433, 0.4913424551486969, 0.36012551188468933, 0.7741398811340332, 0.2918362319469452, 0.3079800605773926, -0.26564833521842957, -0.3887035846710205, -0.6245841383934021, 0.38150614500045776, -0.6538993120193481, -0.004709826782345772, -0.8186450600624084, -0.24748735129833221, -0.2567935585975647, -0.11249149590730667, -0.6274511814117432, -0.07500853389501572, -0.21361319720745087, -0.043575577437877655, 0.38613036274909973, 0.8313027620315552, 0.24243545532226562, -0.16864512860774994, -0.9492805004119873, 0.4081902503967285, 0.35401633381843567, 0.35477349162101746, -0.19660456478595734, -0.9063295125961304, -0.12261232733726501, 0.38184162974357605, -0.04362030699849129, -0.9883552193641663, 0.0006730540771968663, -0.2630535960197449, 0.630273699760437, 0.4381934106349945, 0.08808460086584091, 0.7246100902557373, -0.5942633152008057, 1.066124677658081, 0.09422948211431503, -0.8940436840057373, 0.07666659355163574, -0.46993395686149597, 0.4050336480140686, 0.6688873767852783, 0.6733472943305969, -0.8944180607795715, -0.6232209801673889, -0.7601282596588135, -0.5781764984130859, 0.33954083919525146, -0.15500496327877045, 0.689902126789093, -0.2081131637096405, 0.46387025713920593, 0.0744512602686882, 0.3085736632347107, -1.045197606086731, -0.006658768747001886, -0.08373121172189713, -0.22107045352458954, -0.023930571973323822, -0.3959089517593384, -0.2176317572593689, 0.03062537871301174, 0.3113624155521393, -0.15102295577526093, -0.19828933477401733, -0.10727386176586151, 0.24455294013023376, -0.40757498145103455, 0.40617236495018005, 0.9062600135803223, 1.0402882099151611, -0.20806379616260529, 0.31596797704696655, 0.48048824071884155, -0.4501282274723053, 0.5033145546913147, -0.19370339810848236, -0.3236596882343292, -0.1266566962003708, 0.2842218577861786, 0.5326982140541077, 0.19131538271903992, -0.8556573390960693, 0.6572272777557373, 0.14051367342472076, -0.1897132247686386, -0.3779411017894745, -0.043409913778305054, 0.2477961629629135, 0.14621248841285706, 0.07799265533685684, -0.28236332535743713, -0.2516334056854248, -0.8811967968940735, 0.039327941834926605, 0.7486065626144409, -0.2600098252296448, -0.2495548129081726, 0.7689834237098694, -0.14945285022258759, -0.006703679915517569, 0.5609259009361267, -0.03255138546228409, -0.5567626357078552, 0.6810754537582397, 0.47115251421928406, 0.5758339166641235, -0.33003559708595276, -0.06386275589466095, 0.2220471054315567, 0.5206151008605957, -0.7220860123634338, 0.6256840229034424, 0.33106961846351624, -0.9668628573417664, -0.5103245377540588, -0.6066473722457886, -0.8585233092308044, 0.4826967716217041, -0.7732148766517639, 0.0534098744392395, -0.04051266983151436, 0.08653315156698227, -0.3576037287712097, -0.07564618438482285, -0.3905949890613556, 0.39266136288642883, -0.06314663589000702, 0.6885705590248108, -1.0570712089538574, 0.9986023306846619, 0.6982918977737427, -0.7131730318069458, -1.1378196477890015, 0.07145129144191742, -0.29070818424224854, -0.6328333616256714, 0.5822728276252747, -0.18542344868183136, 0.011578081175684929, -0.3358703553676605, -0.49670541286468506, -1.2695075273513794, 0.9394105672836304, 0.3555484116077423, -0.37452828884124756, 0.061247844249010086, 0.4281512200832367, 0.7575377225875854, -0.35621583461761475, 0.37601378560066223, 0.3520263433456421, 0.548620343208313, 0.16128449141979218, -1.309288740158081, -0.0886925682425499, -0.09182927757501602, 0.07949415594339371, 0.06973446160554886, -0.688636839389801, 1.1721997261047363, -0.1125621646642685, 0.196881964802742, 0.003141987370327115, 0.5975732207298279, 0.6076164245605469, 0.2658182978630066, 0.423684686422348, 0.5377455353736877, 0.7855849862098694, -0.11736880987882614, 1.0955623388290405, -0.40947821736335754, 0.3933682441711426, 0.8423586487770081, -0.6763225793838501, 0.9630815982818604, 0.6119086146354675, -0.30857980251312256, 0.02640090510249138, 0.7079018354415894, -0.027582455426454544, 0.1718842089176178, 0.2977396547794342, -0.039858195930719376, -0.36718642711639404, -0.1244523897767067, -0.5375341176986694, 0.4234234392642975, 0.05812031775712967, -0.3259657919406891, -0.0649673119187355, -0.17846152186393738, 0.3875311315059662, 0.12197475880384445, -0.09923847019672394, 0.6357244253158569, 0.1896478235721588, -0.853460431098938, 0.8880434632301331, 0.14672768115997314, 0.46941861510276794, -0.7482718825340271, 0.06721411645412445, -0.48798808455467224, -0.0734233632683754, 0.010124954394996166, -0.9366933107376099, 0.22556722164154053, 0.2446741759777069, -0.4091361463069916, -0.286029577255249, 0.2654905319213867, -0.6760653853416443, -0.38339170813560486, -0.013598076067864895, 0.8679926991462708, 0.27350401878356934, 0.0005545924068428576, -0.45680201053619385, 0.32281824946403503, -0.02642124705016613, -0.37039315700531006, 0.5126201510429382, 0.37839725613594055, -0.23552870750427246, 0.6481683254241943, 0.47965437173843384, 0.28424394130706787, 0.20392639935016632, -0.06782469898462296, 0.5969433784484863, -0.5650490522384644, -0.30981162190437317, -0.969569206237793, 0.4389544427394867, 0.012743595987558365, -0.49984267354011536, 0.8623957633972168, 0.5039783120155334, 1.060593605041504, 0.14623098075389862, 0.7363615036010742, 0.3399801254272461, 0.38317328691482544, -0.6211383938789368, 0.4577394723892212, -0.7377983331680298, 0.26016274094581604, -0.2970258593559265, -1.1881920099258423, -0.10687696933746338, 0.5977857708930969, -0.4341781437397003, 0.36200761795043945, 0.6595726013183594, 0.5882940292358398, -0.15983112156391144, -0.1176978200674057, 0.6627453565597534, 0.07683669030666351, 0.31019076704978943, 0.5596222281455994, 1.114597201347351, -0.24603408575057983, 0.45271700620651245, 0.10210875421762466, 0.02740464359521866, -0.18675391376018524, -0.8007002472877502, -0.5761401057243347, -0.3302721083164215, -0.26533257961273193, -0.5392570495605469, -0.005107462871819735, 1.1007757186889648, 0.4321102499961853, -0.9220528602600098, -0.5607832670211792, 0.10130582749843597, 0.0029056493658572435, -0.12904919683933258, -0.12951788306236267, 0.2691371440887451, -0.14471055567264557, -0.9269863963127136, -0.10355402529239655, 0.30994606018066406, 0.047569986432790756, -0.3617611527442932, 0.004479477647691965, -0.08315800130367279, 0.5026662349700928, 0.3694359362125397, 0.25318098068237305, -1.125579833984375, -0.6330319046974182, 0.3360722064971924, -0.6987446546554565, 0.1579006016254425, 0.5275893807411194, -0.19527927041053772, 0.3264525830745697, 0.4967312812805176, 0.809371292591095, 0.21483862400054932, 0.20599551498889923, 0.36869120597839355, -0.27623385190963745, -0.15013836324214935, 0.28843435645103455, 0.5483765602111816, 0.2859739065170288, -0.10323547571897507, 0.17718791961669922, 0.0892525240778923, -0.7329176664352417, -0.8458511233329773, 0.7040931582450867, -1.0192928314208984, -0.18884895741939545, 1.5618047714233398, -0.3171485662460327, 0.1522236168384552, 0.0730641633272171, 0.08959245681762695, -0.009828213602304459, -0.024150939658284187, 0.8949483036994934, 1.0948402881622314, -0.2201114445924759, -0.14901795983314514, -0.7920643091201782, 0.2581814229488373, 0.6219236850738525, -0.8246667385101318, 0.0693870335817337, 0.6304196119308472, 0.556219220161438, 0.13485653698444366, 0.7412405610084534, -0.16338716447353363, 0.2210756540298462, -0.2137959748506546, -0.08375369012355804, 0.34978485107421875, -0.081345334649086, -0.32375219464302063, 0.197118878364563, 0.41801533102989197, 0.1939215213060379 ]
http://arxiv.org/abs/2407.02987v1
http://arxiv.org/pdf/2407.02987v1
LoRA-Guard: Parameter-Efficient Guardrail Adaptation for Content Moderation of Large Language Models
2024-07-03T10:38:40
2024-07-03T10:38:40
Hayder Elesedy, Pedro M. Esperança, Silviu Vlad Oprea, Mete Ozay
cs.LG
cs.LG, cs.AI, cs.CL
Guardrails have emerged as an alternative to safety alignment for content moderation of large language models (LLMs). Existing model-based guardrails have not been designed for resource-constrained computational portable devices, such as mobile phones, more and more of which are running LLM-based applications locally. We introduce LoRA-Guard, a parameter-efficient guardrail adaptation method that relies on knowledge sharing between LLMs and guardrail models. LoRA-Guard extracts language features from the LLMs and adapts them for the content moderation task using low-rank adapters, while a dual-path design prevents any performance degradation on the generative task. We show that LoRA-Guard outperforms existing approaches with 100-1000x lower parameter overhead while maintaining accuracy, enabling on-device content moderation.
[ -0.5131706595420837, -0.7646386027336121, 0.5788228511810303, 0.14759871363639832, -0.550725519657135, 0.1448717713356018, -0.052556149661540985, -0.13002236187458038, 0.4644034802913666, 0.8729019165039062, -0.21399392187595367, -0.6021807789802551, -0.6349233388900757, -0.3982209265232086, -0.31056687235832214, 0.8202629685401917, -0.3317740857601166, -0.2520216107368469, 0.07346783578395844, -0.18812289834022522, -0.37323394417762756, -0.42872604727745056, -0.808493435382843, -0.13319788873195648, 0.9286202788352966, 0.3031681776046753, 0.4571392238140106, 0.687993049621582, 0.6593431234359741, 0.14464978873729706, -0.14191186428070068, 0.35475581884384155, -0.4788128435611725, 0.3394326865673065, -0.5460864901542664, -0.2423194795846939, -0.7142223715782166, -0.37830355763435364, 0.4219568073749542, 0.3614301085472107, -0.22325016558170319, -0.03417156636714935, 0.18971753120422363, 0.7329518795013428, -0.8996783494949341, -0.07668300718069077, -0.7467606067657471, -0.09985759109258652, -0.2440633326768875, -0.40095359086990356, -0.45296570658683777, -0.4282369017601013, -0.19027079641819, -0.5640262365341187, -0.3309907615184784, 0.15407222509384155, 0.6107026934623718, 0.3839888572692871, -0.6345729827880859, -0.010335647501051426, -0.8654441833496094, 0.7113698720932007, -0.3186459541320801, 0.24620680510997772, 0.6128686666488647, 0.3911338448524475, -0.20527856051921844, -0.5464069843292236, -0.3249748647212982, 0.22359074652194977, 0.306174099445343, 0.030697844922542572, -0.2676675617694855, 0.010530994273722172, 0.0027196877636015415, -0.10116630792617798, -0.22720138728618622, 0.4082024395465851, -0.24052603542804718, -0.10213778167963028, 0.5385292172431946, 0.0940973088145256, 0.12112235277891159, -0.12894469499588013, -0.4504869878292084, -0.10210168361663818, -1.1945157051086426, 0.10655619204044342, 0.29787054657936096, 0.35434040427207947, -0.25786712765693665, 0.3032880425453186, -0.2321828007698059, 0.6441841125488281, 0.159567192196846, -0.3585571050643921, -0.2030237317085266, -0.1601605862379074, 0.03431160748004913, 0.3009011149406433, 0.8542925119400024, 0.47319453954696655, -0.1647852212190628, -0.06621088087558746, -0.16844351589679718, -0.09509794414043427, 0.3822838068008423, -0.9833733439445496, -0.14146670699119568, -0.11535335332155228, -0.3922765254974365, -0.29827937483787537, -0.06329023838043213, -1.0134564638137817, -0.9736407399177551, 0.09875687956809998, 0.5911064743995667, -0.09070896357297897, 0.005692862439900637, 0.3919025957584381, 0.11519484966993332, 0.45548900961875916, 0.5590633749961853, -1.1181089878082275, 0.42120611667633057, 0.7200194001197815, 1.1358345746994019, -0.4311273992061615, -0.07971847802400589, -0.8892939686775208, 0.547873854637146, -0.1390523910522461, 0.954963207244873, -0.37872743606567383, -0.4793185293674469, -0.05043376609683037, 0.001999163767322898, -0.2788703441619873, -0.24112360179424286, 0.9702195525169373, -1.0665366649627686, -0.042009755969047546, -0.20749424397945404, -0.15945065021514893, -0.18247468769550323, 0.017078783363103867, -0.7696515321731567, 0.5973966121673584, 0.11803679913282394, -0.7753803730010986, 0.2547622323036194, -0.7047385573387146, -0.5785665512084961, -0.18973492085933685, -0.03802725672721863, -0.42012226581573486, -0.10417848825454712, 0.29831406474113464, 0.21117764711380005, -0.32982003688812256, -0.02474510483443737, -0.4016069173812866, -0.2997458577156067, 0.011890443973243237, -0.482638418674469, 0.6244969964027405, 0.4255506694316864, -0.10495220124721527, 0.23969076573848724, -0.22645080089569092, -0.08464404940605164, -0.08492564409971237, -0.6464095711708069, -0.4280594289302826, 0.5360738635063171, -0.07079634070396423, 0.14320960640907288, 0.2918238043785095, -0.38991281390190125, 0.1739722490310669, -0.10691853612661362, 0.4598563313484192, 1.0032955408096313, 0.15957029163837433, 0.45275014638900757, -0.5482942461967468, 0.6744062304496765, -0.18981540203094482, 0.30122604966163635, 0.21665526926517487, -0.3213512897491455, -0.8227005004882812, -0.40789467096328735, 0.4122489094734192, 0.4103631377220154, -0.7929406762123108, 0.6412860751152039, -0.5782897472381592, -0.8643267750740051, -0.17110638320446014, 0.5017456412315369, 0.28912898898124695, 0.16119739413261414, 0.10283973067998886, -0.656093418598175, -0.49509644508361816, -0.41651400923728943, -0.06307385861873627, -0.3031253218650818, 0.304017037153244, -0.10648705065250397, 0.32524940371513367, -0.04989946261048317, 0.8934741020202637, -0.45500585436820984, -0.42731061577796936, -0.38310161232948303, -0.21437868475914001, 0.19164377450942993, 0.390563040971756, 0.6552791595458984, -0.5097612142562866, -0.7839688062667847, 0.2451133131980896, -0.5175278186798096, -0.11837580054998398, 0.12072473019361496, -0.4454655349254608, 0.0017028134316205978, 0.6683973073959351, -0.4869861304759979, 0.19266368448734283, 0.9756186604499817, -0.46506747603416443, 0.2567448019981384, -0.18866486847400665, -0.03191123157739639, -1.2965282201766968, -0.06302279233932495, -0.1907506287097931, -0.5086396336555481, -0.6341283917427063, -0.056243617087602615, -0.05995361506938934, 0.15392975509166718, -0.3846772313117981, 0.784770131111145, -0.1158081442117691, -0.011052337475121021, -0.44188979268074036, 0.5233474969863892, 0.333842933177948, 0.2627556025981903, 0.10641779005527496, 0.6195420026779175, 0.6120657324790955, -0.6924449801445007, 0.4608824849128723, 0.3644879162311554, -0.5617647767066956, 0.7332391142845154, -0.3756834864616394, 0.1904742419719696, 0.07200755178928375, 0.40159872174263, -0.3843751549720764, -0.3588215708732605, 0.24851687252521515, 0.18179993331432343, -0.16420617699623108, -0.7792925834655762, -0.3895970582962036, 0.059308357536792755, -0.609049379825592, 0.2018873691558838, 0.6547910571098328, -0.7101519703865051, 0.7958930730819702, 0.8027924299240112, -0.30569976568222046, -0.2953897714614868, -0.44621890783309937, 0.13529619574546814, -0.7612074017524719, -0.5611923933029175, 0.5713703036308289, -0.1683764010667801, -0.29487544298171997, -0.3085789382457733, -0.211243137717247, -0.14335604012012482, 0.3918425738811493, 0.31324660778045654, 0.0321054607629776, -0.3278060555458069, -0.0014991778880357742, 0.19946156442165375, 0.13316607475280762, 0.011901347897946835, -0.019135240465402603, 0.8540440797805786, 0.22539664804935455, -0.6590068340301514, -0.32533952593803406, 0.28267303109169006, 0.6103741526603699, -0.28744980692863464, 1.001960039138794, 0.3017629384994507, -0.1432446986436844, -0.434756875038147, -0.2882460951805115, -0.004988717380911112, -0.5898606181144714, 0.1932510882616043, -0.23633228242397308, -0.891950249671936, 0.47614583373069763, -0.005792052950710058, 0.15948525071144104, 0.15257525444030762, 0.20332351326942444, -0.0999840795993805, 1.0364831686019897, 0.6736756563186646, -0.2622094750404358, 0.9655027389526367, 0.25604745745658875, 0.25465676188468933, -0.8403478860855103, -0.06161414459347725, -0.5430746674537659, -0.34353357553482056, -0.594572126865387, -0.36583247780799866, 0.6133615970611572, 0.313956618309021, -0.4347577691078186, 0.47491219639778137, -0.11690237373113632, 0.3712613880634308, 0.4856211543083191, 0.29671594500541687, 0.6075358390808105, 0.23187603056430817, 0.37456750869750977, 0.161088228225708, -0.6206670999526978, -0.6330990791320801, 1.012104868888855, 0.35267695784568787, 1.3361179828643799, 0.655278205871582, 0.5778441429138184, 0.5714953541755676, 0.18457086384296417, -0.7232514023780823, 0.6788042783737183, -0.5539666414260864, -0.35552743077278137, -0.06016742065548897, -0.3888716995716095, -0.8621141910552979, 0.26795780658721924, -0.17504559457302094, -0.8692251443862915, 0.16059048473834991, 0.1964859813451767, -0.6622606515884399, 0.6349124908447266, -0.7097930312156677, 0.6973854899406433, -0.4826420247554779, -0.5106519460678101, -0.3057565987110138, -0.09098829329013824, 0.2242291420698166, -0.578346848487854, 0.09827522188425064, -0.06636428087949753, -0.13891080021858215, 1.0332392454147339, -0.36349955201148987, 0.9096729755401611, -0.3990517556667328, -0.44697871804237366, 0.3275813162326813, 0.28113412857055664, 0.7687183022499084, 0.007932848297059536, -0.21676327288150787, -0.32554325461387634, 0.0664365217089653, -0.13283413648605347, -0.7286223769187927, 0.8200036883354187, -0.7764305472373962, -0.837123692035675, -0.26173466444015503, -0.24464932084083557, -0.3996642827987671, 0.2259080708026886, -0.15790191292762756, 0.27188801765441895, -0.18300725519657135, 0.5224445462226868, 0.9365087747573853, -0.09650995582342148, 0.43355289101600647, 0.47324931621551514, -0.6385318636894226, -0.25763368606567383, 0.7671459913253784, -0.15090906620025635, 0.3817225396633148, 0.3361847400665283, 0.1300247311592102, -0.22897228598594666, -0.7430695295333862, -0.5963934063911438, -0.044241439551115036, -0.8190756440162659, -0.10151916742324829, -0.535133421421051, -0.5369314551353455, -0.1116555780172348, -0.41298821568489075, -0.3690403401851654, -0.5353222489356995, -0.12957389652729034, -0.009893459267914295, 0.9524825215339661, 0.5188773274421692, 0.06724204123020172, 0.9781472086906433, -0.55699223279953, 0.3741617798805237, 0.45915356278419495, 0.4009504020214081, -0.5159400105476379, -1.0675235986709595, -0.17662665247917175, -0.23870635032653809, -0.3291688561439514, -0.5391628742218018, 0.10083748400211334, 0.162204772233963, 0.4112667739391327, 0.6799697875976562, 0.2854226231575012, 0.4700060188770294, -0.21639609336853027, 0.5506843328475952, 0.02578182891011238, -0.7897094488143921, 0.3229351341724396, -0.5343140363693237, 0.06566431373357773, 0.604570209980011, 0.01106502115726471, -0.6410777568817139, 0.2279469519853592, 0.05244988575577736, -0.5888906717300415, 0.6609450578689575, -0.09544692933559418, 0.43129080533981323, 0.4640437066555023, 0.024928908795118332, -0.12369903922080994, -0.18109603226184845, -0.872651994228363, 0.2608807384967804, -0.2826204001903534, -0.30661389231681824, 0.13359245657920837, -0.20638181269168854, -0.4317328631877899, 0.1378490924835205, 0.7435232996940613, -0.3121018409729004, 0.0806669294834137, -0.1607855260372162, -0.18672756850719452, -0.054208558052778244, 0.5313413739204407, 0.5129508376121521, 0.4459719657897949, -0.17828695476055145, 0.558531641960144, 0.3313065469264984, -0.5445812940597534, 0.1343054324388504, -0.05732947215437889, -0.5025635361671448, -0.2995186746120453, 0.15950317680835724, 0.9060819745063782, -0.030341483652591705, -0.5892012715339661, 0.4988863170146942, -0.07008418440818787, 0.046462491154670715, -0.14044207334518433, 0.5256319642066956, 0.062489721924066544, 0.09715594351291656, -0.2573118805885315, -0.007284756749868393, -0.42506691813468933, -0.42227041721343994, -0.01742292009294033, 0.5238357186317444, -0.620884895324707, -0.24512818455696106, 0.5876474380493164, 0.5051577091217041, -0.17899982631206512, -0.12086247652769089, 0.046801988035440445, -0.28952863812446594, 0.19058509171009064, 0.4749874472618103, 0.7427332401275635, -0.2814856469631195, 0.30471453070640564, 0.08927386999130249, 0.24984298646450043, -0.1888105571269989, 0.3138141334056854, 0.04521261900663376, -0.780920147895813, -0.2816990911960602, -0.7539388537406921, -0.4355137050151825, -0.0022580078803002834, -0.38118982315063477, 0.333109587430954, -0.8955994248390198, -0.28385859727859497, -0.35028567910194397, -0.29459473490715027, -0.08540622889995575, -0.22313812375068665, -0.07947988063097, 1.117533802986145, -0.7370973229408264, 1.0975160598754883, 0.38125139474868774, -0.20317772030830383, -0.6119558215141296, 0.042061205953359604, -0.15625733137130737, -0.6032339930534363, 0.24830006062984467, -0.24555185437202454, -0.7115604877471924, -0.006267531309276819, -0.17297779023647308, -0.8882529735565186, 1.063062310218811, 0.3773927092552185, -0.2508713901042938, -0.14256298542022705, 0.334170937538147, 0.4648416340351105, -0.23703497648239136, -0.17006272077560425, 0.3934796452522278, 0.5136030316352844, -0.26741766929626465, -0.7855436205863953, 0.07650502026081085, 0.07749916613101959, -0.1138211041688919, 0.08938181400299072, -0.9168969988822937, 0.504770815372467, 0.3696163594722748, -0.10324932634830475, 0.1740792840719223, 0.3498503863811493, 0.35794055461883545, -0.01665036752820015, 0.7097954154014587, 0.23860947787761688, 0.5201348066329956, 0.046994078904390335, 0.7052360773086548, -0.34922125935554504, -0.022047189995646477, 1.181767463684082, -0.5627482533454895, 1.0978394746780396, 0.6362303495407104, 0.01752692647278309, 0.7694247364997864, 0.3615858554840088, 0.254958838224411, 0.8429762125015259, -0.14873313903808594, -0.8126426339149475, -0.265259712934494, -0.4699694812297821, -0.15515579283237457, 0.6017556190490723, 0.31021401286125183, -0.470179945230484, -0.2321600615978241, -0.22116844356060028, 0.4931414723396301, 0.0768582746386528, -0.6232449412345886, 0.6886621713638306, 0.15127407014369965, -0.7651582360267639, 0.5110737681388855, 0.38562560081481934, 0.5650630593299866, -0.9148411154747009, 0.3392582833766937, -0.28300878405570984, 0.2195279747247696, -0.17961007356643677, -0.8200381398200989, 0.19544051587581635, 0.4517837166786194, -0.004050221759825945, -0.5358248949050903, 0.6365329027175903, -0.06346097588539124, -0.2335118055343628, 0.47245699167251587, 0.48889225721359253, -0.2055026888847351, -0.012970422394573689, -0.32979482412338257, 0.3113164007663727, -0.16137976944446564, -0.21756549179553986, 0.500442624092102, 0.05166146159172058, -0.4719642400741577, 0.751379132270813, 0.4971204400062561, 0.1282830685377121, 0.2360670566558838, 0.043718140572309494, 1.0166113376617432, -0.43970099091529846, -0.5170095562934875, -0.7494282126426697, 0.24411895871162415, -0.0476180836558342, -0.05993664637207985, 0.6927621960639954, 0.46876436471939087, 0.5538895130157471, 0.136561781167984, 1.0513017177581787, -0.3103499710559845, 0.3037303388118744, -0.950127363204956, 0.990757942199707, -0.3792770802974701, 0.518598198890686, -0.16325294971466064, -0.9477178454399109, -0.2846028208732605, 0.41512882709503174, -0.4866695702075958, -0.0743931382894516, 0.5501701831817627, 1.1434329748153687, -0.47273972630500793, -0.26985979080200195, 0.26291120052337646, -0.0671052560210228, 0.4659349024295807, 0.5566588640213013, 0.8563490509986877, -0.1873999387025833, 0.7734402418136597, -0.15773886442184448, 0.04379050433635712, -0.19205203652381897, -1.0116639137268066, -0.987718403339386, -0.3614913821220398, -0.10765417665243149, -0.3398970663547516, 0.24522891640663147, 0.8286029100418091, 0.9599975347518921, -0.8152568936347961, -0.22348062694072723, 0.06980769336223602, 0.3234836757183075, 0.02334929257631302, -0.09816677868366241, 0.565732479095459, 0.37435972690582275, -0.4045102000236511, 0.6685310006141663, 0.17911876738071442, -0.2027817964553833, -0.3885282278060913, -0.3357737362384796, 0.1413455754518509, 0.2926817238330841, 0.49992087483406067, 0.4764489531517029, -0.5206116437911987, -0.571955144405365, -0.3203061521053314, -0.22247135639190674, 0.19766713678836823, 0.6052008867263794, -0.35217371582984924, 0.1973702311515808, 0.5425117611885071, 0.6999102830886841, 0.4217338562011719, 0.1768573671579361, 0.3840467035770416, -0.5563547015190125, 0.07248673588037491, -0.3074151575565338, 0.6332964897155762, 0.2534359395503998, 0.11599381268024445, 0.3300422132015228, -0.03198762983083725, -0.4405168890953064, -0.6849803328514099, 0.6162243485450745, -1.3173199892044067, -0.0009306304855272174, 1.3262341022491455, -0.20988120138645172, -0.23973043262958527, -0.3479369878768921, -0.4739775061607361, -0.03553206846117973, -0.3215982913970947, 1.0008193254470825, 0.29310184717178345, 0.08984474092721939, -0.3584958016872406, -0.5347797274589539, 0.5788524150848389, 0.23462267220020294, -1.30339777469635, 0.21142113208770752, 0.25176388025283813, 0.3957427442073822, 0.07530642300844193, 0.5070255398750305, -0.09289510548114777, 0.16832619905471802, -0.29888641834259033, -0.04379944130778313, 0.21892186999320984, -0.2227107733488083, -0.31373995542526245, 0.17029957473278046, 0.6765233278274536, 0.13202157616615295 ]
http://arxiv.org/abs/2407.02978v1
http://arxiv.org/pdf/2407.02978v1
Mast Kalandar at SemEval-2024 Task 8: On the Trail of Textual Origins: RoBERTa-BiLSTM Approach to Detect AI-Generated Text
2024-07-03T10:22:23
2024-07-03T10:22:23
Jainit Sushil Bafna, Hardik Mittal, Suyash Sethia, Manish Shrivastava, Radhika Mamidi
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have showcased impressive abilities in generating fluent responses to diverse user queries. However, concerns regarding the potential misuse of such texts in journalism, educational, and academic contexts have surfaced. SemEval 2024 introduces the task of Multigenerator, Multidomain, and Multilingual Black-Box Machine-Generated Text Detection, aiming to develop automated systems for identifying machine-generated text and detecting potential misuse. In this paper, we i) propose a RoBERTa-BiLSTM based classifier designed to classify text into two categories: AI-generated or human ii) conduct a comparative study of our model with baseline approaches to evaluate its effectiveness. This paper contributes to the advancement of automatic text detection systems in addressing the challenges posed by machine-generated text misuse. Our architecture ranked 46th on the official leaderboard with an accuracy of 80.83 among 125.
[ -0.19996093213558197, -0.9305769205093384, 0.43675413727760315, 0.08114159852266312, -0.21843436360359192, 0.16544897854328156, -0.1541997641324997, -0.6715303063392639, -0.35249897837638855, 0.5249713063240051, -0.23894020915031433, -0.4030582904815674, -0.9212851524353027, 0.5466804504394531, -0.5702356100082397, 1.1623754501342773, 0.02811777964234352, -0.11253030598163605, -0.14315655827522278, -0.2022450566291809, -0.5078113675117493, -0.7320631742477417, -0.510161280632019, -0.2352437525987625, 0.4138040840625763, 0.24592378735542297, 0.2041364461183548, 0.15965622663497925, 0.4631299376487732, 0.37371471524238586, 0.014637414366006851, 0.4811941087245941, -0.1916911005973816, 0.33343303203582764, -0.20249409973621368, -0.18893380463123322, -0.29433751106262207, -0.006165496073663235, 0.5199984908103943, 0.02105058915913105, -0.05485447496175766, 0.34209680557250977, 0.10423576086759567, 0.3008612096309662, -0.5127344727516174, -0.05963518097996712, -0.6815157532691956, -0.2517700791358948, -0.527405858039856, -0.6020013689994812, -0.6669550538063049, -0.17474773526191711, 0.11675752699375153, -0.13717542588710785, 0.24055610597133636, 0.19406569004058838, 0.8637014031410217, 0.23540621995925903, -0.7296533584594727, -0.7695866823196411, -0.7270179986953735, 0.7699415683746338, -0.4869607388973236, 0.30810272693634033, 0.4463035762310028, 0.4208960235118866, 0.023214178159832954, -0.6058270931243896, -0.5796908736228943, 0.1367303729057312, 0.12866227328777313, 0.12073614448308945, -0.1892896443605423, -0.41458162665367126, -0.01783520169556141, 0.14652906358242035, -0.9453868269920349, 0.03319207951426506, -0.5870600938796997, -0.2507834732532501, 0.6025183796882629, 0.18000638484954834, 0.547960102558136, -0.4161560833454132, -0.3723304271697998, 0.29445767402648926, -0.6768600940704346, -0.1547214686870575, 0.38815873861312866, 0.3210832476615906, -0.025601841509342194, 0.6891763806343079, 0.09489750862121582, 0.5971769690513611, -0.11353529989719391, -0.14609278738498688, 0.28836724162101746, -0.5358361601829529, -0.2103133350610733, 0.15887722373008728, 0.8429028391838074, 0.0038954783231019974, 0.41286003589630127, -0.09486989676952362, -0.17816025018692017, 0.2265445739030838, 0.47598427534103394, -0.6667892336845398, -0.18939930200576782, -0.15521454811096191, -0.46462008357048035, -0.5303237438201904, 0.0336008220911026, -0.6952797770500183, -0.4727162718772888, -0.04533567652106285, 0.435142457485199, -0.4182627201080322, 0.023324843496084213, -0.09584914892911911, 0.003547832602635026, 0.24429704248905182, 0.49295374751091003, -0.5403647422790527, -0.10417332500219345, 0.45197594165802, 0.5477285385131836, -0.3778128921985626, -0.1651957780122757, -0.49502113461494446, 0.2568644881248474, -0.05403641238808632, 1.0219414234161377, -0.48798778653144836, -0.31583985686302185, -0.041863128542900085, 0.14511366188526154, 0.2096288949251175, -0.4404849112033844, 0.8360314965248108, -0.6592754125595093, 0.5796484351158142, 0.18149156868457794, -0.44893214106559753, -0.3656917214393616, 0.3926084339618683, -0.47281283140182495, 1.2261420488357544, 0.019503694027662277, -0.790650486946106, 0.3734704852104187, -0.6022013425827026, -0.6296095848083496, 0.3682343661785126, -0.039797063916921616, -0.859382152557373, -0.15907180309295654, 0.11292635649442673, 0.3536633849143982, -0.40715542435646057, 0.5134303569793701, 0.06934545934200287, -0.3258458971977234, 0.2682899534702301, -0.8634063005447388, 0.8931185007095337, 0.2740102708339691, -0.5177725553512573, 0.06764420121908188, -0.9003848433494568, -0.13721829652786255, 0.11538472771644592, -0.6786564588546753, -0.5567218661308289, -0.09747029095888138, 0.28633543848991394, 0.224386066198349, 0.2611856162548065, -0.43109676241874695, -0.16949710249900818, -0.24638348817825317, 0.17827732861042023, 0.818673849105835, 0.19968053698539734, 0.3286130130290985, -0.2819741368293762, 0.5829004645347595, -0.0039952583611011505, -0.18689656257629395, -0.47927093505859375, -0.6975565552711487, -0.7632559537887573, -0.22105112671852112, 0.3750169575214386, 0.643913984298706, -0.6539381146430969, 0.4652290642261505, 0.14418937265872955, -0.5111401081085205, -0.248525932431221, 0.13712039589881897, 0.41455715894699097, 0.2796482443809509, 0.4346752166748047, 0.06338858604431152, -0.6847600340843201, -0.7214140295982361, -0.34861668944358826, -0.013692272827029228, 0.2065875083208084, 0.19665206968784332, 0.7100924253463745, -0.43029239773750305, 0.534417450428009, -0.05442271754145622, -0.06743456423282623, -0.18936261534690857, 0.4525177776813507, -0.22942198812961578, 0.40884411334991455, 0.44577693939208984, -0.979418933391571, -0.6195991039276123, -0.08885523676872253, -0.9331021904945374, -0.48192381858825684, -0.03526044636964798, -0.1377834677696228, 0.6647456288337708, 0.38763341307640076, -0.4603799879550934, 0.701783299446106, 0.41759371757507324, -0.4693075120449066, 0.5663933753967285, -0.13268080353736877, 0.2927318215370178, -1.2555854320526123, 0.15571819245815277, -0.06980367749929428, -0.389163613319397, -0.6191781163215637, -0.060085296630859375, 0.23183365166187286, -0.23298299312591553, -0.211152121424675, 0.3919678032398224, -0.4587627947330475, 0.028155410662293434, -0.42224252223968506, 0.09710875898599625, 0.12206517904996872, 0.14119477570056915, -0.21330595016479492, 0.9927091002464294, -0.007298407144844532, -0.6249951720237732, 0.12607114017009735, 0.2774609923362732, -0.2170577347278595, 0.7980318665504456, -0.6046745777130127, 0.1186215877532959, -0.22343894839286804, 0.19144363701343536, -1.030924677848816, -0.04220651090145111, 0.3870372474193573, -0.6838424801826477, 0.2857174575328827, -0.02411673590540886, -0.6450921893119812, -0.3253611624240875, -0.13080421090126038, 0.4111599922180176, 0.3386433720588684, -0.38764214515686035, 0.46408140659332275, 0.4438096880912781, -0.4591532349586487, -0.4860437512397766, -0.6501017212867737, 0.42211437225341797, -0.33541008830070496, -0.45410704612731934, 0.10116910934448242, -0.19618730247020721, -0.18220274150371552, -0.03089638240635395, 0.12734144926071167, -0.020923594012856483, 0.27310898900032043, 0.2867504358291626, 0.490303635597229, -0.25639641284942627, 0.16779610514640808, 0.14633387327194214, -0.257732629776001, -0.012002786621451378, -0.15660890936851501, 0.7115721702575684, 0.06947240233421326, -0.28386184573173523, -0.584262490272522, 0.4102301597595215, 0.6955231428146362, -0.5709394216537476, 0.5271129012107849, 0.7246900796890259, -0.2750563621520996, -0.2779255211353302, -0.47036781907081604, 0.18254578113555908, -0.44412893056869507, 0.16456148028373718, -0.20637278258800507, -0.8573397397994995, 0.025002282112836838, 0.024561122059822083, -0.17478841543197632, 0.6130006909370422, 0.8654186725616455, -0.038881566375494, 1.0352296829223633, 0.6341538429260254, 0.11877703666687012, 0.2675597071647644, -0.13140854239463806, 0.2819857895374298, -0.7334073185920715, -0.2986716628074646, -0.9596074819564819, -0.09189193695783615, -0.641959547996521, -0.34740376472473145, 0.2523142993450165, -0.3134095370769501, -0.3403748571872711, 0.44063305854797363, -0.6796627044677734, 0.27261975407600403, 0.5538076162338257, -0.25998544692993164, 0.4429786503314972, -0.08076754212379456, 0.08842594921588898, 0.092223159968853, -0.33254632353782654, -0.8367520570755005, 1.2204121351242065, 0.10059725493192673, 0.4929940700531006, 0.30965012311935425, 0.7594330906867981, 0.6621642708778381, 0.4086120128631592, -0.42652636766433716, 0.3588132858276367, -0.08815566450357437, -0.8228042721748352, -0.09663088619709015, -0.22289298474788666, -1.0649075508117676, 0.26427558064460754, -0.2113688886165619, -0.5005401968955994, -0.07016733288764954, -0.2393835335969925, -0.05220529064536095, 0.040768496692180634, -0.4106006622314453, 0.7877352237701416, -0.4812440574169159, -0.18018661439418793, -0.047276224941015244, -0.5561215281486511, 0.3403934836387634, -0.3683234453201294, 0.41369181871414185, -0.12855346500873566, -0.04717826098203659, 0.5708951950073242, -0.14473627507686615, 0.616744875907898, -0.11230986565351486, -0.13027100265026093, 0.4374348521232605, 0.11175747960805893, 0.4295780062675476, -0.12182239443063736, -0.1694447249174118, 0.024282431229948997, -0.19887222349643707, -0.2733161747455597, -0.08410320430994034, 0.42868223786354065, -0.7693237662315369, -0.29304710030555725, -0.7716830968856812, -0.38241052627563477, 0.03248009830713272, 0.47011837363243103, 0.46390610933303833, 0.6350520849227905, -0.13579893112182617, 0.34429600834846497, 0.42942148447036743, -0.4959980547428131, 0.4522116780281067, 0.627994179725647, -0.21208317577838898, -0.405958354473114, 0.9265055060386658, -0.0251438207924366, -0.15539981424808502, 0.24124203622341156, 0.14502854645252228, -0.25934040546417236, -0.7831186652183533, -0.7700523138046265, -0.042706266045570374, -0.4852076470851898, -0.5168107151985168, -0.7537285089492798, -0.33201736211776733, -0.3495329022407532, -0.18073770403862, 0.14742955565452576, -0.21644918620586395, -0.5136476159095764, 0.06787068396806717, -0.016598036512732506, 0.8676636219024658, 0.40973934531211853, 0.21472807228565216, -0.8727427124977112, 0.23026081919670105, 0.037364114075899124, -0.1219044104218483, -0.18246079981327057, -0.7211186289787292, -0.12432745844125748, -0.02017574943602085, -0.5413916707038879, -0.7858003973960876, 0.6315073370933533, 0.10654585808515549, 0.5840293169021606, 0.17525739967823029, 0.040935929864645004, 0.34552687406539917, -0.45307523012161255, 0.804086446762085, -0.10750257223844528, -0.760040283203125, 0.698600709438324, -0.345366895198822, 0.35390961170196533, 0.3992193639278412, 0.39332330226898193, -0.32586613297462463, -0.6394902467727661, -0.5260581970214844, -0.5921357870101929, 0.6576454639434814, 0.2782035768032074, 0.16857756674289703, -0.006000634282827377, 0.1166035383939743, 0.3375696837902069, 0.3291625380516052, -0.7399470806121826, -0.02540683001279831, -0.07222993671894073, -0.5386289954185486, -0.1384551078081131, -0.38173145055770874, 0.3098424971103668, 0.1594722419977188, 0.8336623311042786, 0.1412072628736496, 0.137746661901474, -0.04054529592394829, -0.5573206543922424, -0.02229766547679901, 0.4111366868019104, 0.7145994901657104, 0.38203150033950806, 0.20277845859527588, 0.3142314553260803, 0.06835377216339111, -0.4092049300670624, 0.19517302513122559, 0.14087483286857605, -0.6602141857147217, 0.010151336900889874, 0.27473726868629456, 0.4770149290561676, 0.15009483695030212, -0.7755087614059448, 0.4970555901527405, 0.039450403302907944, 0.02194257080554962, -0.5850818753242493, -0.04667506366968155, -0.10551028698682785, 0.2472500205039978, 0.5206512212753296, 0.2884860336780548, 0.43230125308036804, -0.64027339220047, 0.36424294114112854, 0.47205615043640137, -0.23553279042243958, -0.4359508156776428, 0.7183418273925781, 0.2979614734649658, -0.6839900612831116, 0.29066136479377747, -0.4064904749393463, -1.0043457746505737, 0.5768684148788452, 0.8294782638549805, 0.7257809042930603, -0.3022511899471283, 0.16873247921466827, 0.26164427399635315, 0.1876642107963562, 0.3024792969226837, 0.17082658410072327, -0.1393919289112091, -0.6889029145240784, -0.15937913954257965, -0.7865599989891052, -0.04635244980454445, 0.08111068606376648, -0.22996528446674347, 0.5258665084838867, -0.25947192311286926, -0.10179470479488373, 0.288147896528244, 0.1249857097864151, -0.5044004321098328, 0.0826876312494278, 0.23235943913459778, 0.6205742955207825, -0.602753758430481, 0.6555959582328796, 0.8553239107131958, -0.48638713359832764, -0.4576173722743988, 0.012200766243040562, 0.45676401257514954, -0.6126041412353516, 0.7760513424873352, 0.4042694568634033, -0.21526512503623962, 0.05041707679629326, -0.3794274628162384, -0.6157170534133911, 1.0702266693115234, -0.3471387028694153, -0.17896924912929535, 0.06911925226449966, 0.09646669030189514, 0.5700280666351318, -0.17420227825641632, 0.07874657958745956, 0.24590878188610077, 0.5873751640319824, -0.1610007882118225, -0.8561045527458191, -0.22656936943531036, -0.4525325298309326, -0.07828434556722641, 0.3971728980541229, -0.5029061436653137, 0.9865037202835083, 0.22208215296268463, -0.30679842829704285, 0.4611942768096924, 0.2973417043685913, 0.2066350132226944, 0.690170407295227, 0.22318044304847717, 0.5583363771438599, 0.7279909253120422, 0.04170067608356476, 0.7687690258026123, -0.1946970820426941, 0.30595913529396057, 0.9704227447509766, -0.44890275597572327, 0.6731926798820496, 0.01469544880092144, -0.19581590592861176, 0.7419636249542236, 0.4081433117389679, -0.17756536602973938, 0.35165679454803467, 0.05020797252655029, -0.43713119626045227, 0.05499386414885521, -0.05190194398164749, -0.15276271104812622, 0.8749639987945557, 0.41669973731040955, -0.4271513521671295, -0.2981553375720978, 0.3049899637699127, 0.04870409891009331, 0.2768527865409851, -0.11828385293483734, 0.9215243458747864, -0.15616782009601593, -0.7256423234939575, 0.22077862918376923, 0.43193623423576355, 0.8049110174179077, -0.3730565011501312, -0.016138937324285507, 0.1253335177898407, 0.32701176404953003, -0.03102022595703602, -0.6326529383659363, 0.3522070050239563, 0.3599248230457306, -0.20312625169754028, -0.20777542889118195, 1.2610387802124023, -0.5766757726669312, -0.535000741481781, 0.08966393768787384, 0.6411170959472656, 0.14249086380004883, -0.01192410197108984, -0.5594220757484436, 0.2872239351272583, -0.1742323637008667, -0.08404823392629623, 0.16993820667266846, 0.7147096991539001, -0.3084450364112854, 0.545078694820404, 0.7581117749214172, -0.15546506643295288, 0.1604415327310562, -0.06718476861715317, 0.3647492825984955, -0.5040744543075562, -0.47112709283828735, -0.9165180325508118, 0.2669588029384613, -0.13956132531166077, -0.2528449594974518, 0.9593690037727356, 0.7499670386314392, 0.5664160847663879, 0.007700471207499504, 1.0296119451522827, -0.18045002222061157, 0.7248631715774536, -0.2661326229572296, 0.7790212035179138, -0.6320174336433411, 0.21229101717472076, -0.3189948797225952, -0.8948603868484497, -0.2443845421075821, 0.6647683382034302, -0.11257901042699814, 0.06820275634527206, 0.5852782726287842, 0.6102952361106873, 0.06989514082670212, 0.23796942830085754, 0.16486583650112152, -0.01937391795217991, 0.32541194558143616, 0.34700438380241394, 1.0332006216049194, -0.4863457977771759, 0.6506320238113403, 0.10674367845058441, -0.16397997736930847, -0.5413177609443665, -0.6329833269119263, -0.9649364352226257, -0.7278702259063721, -0.04881182312965393, -0.25295233726501465, 0.17557145655155182, 0.7261046767234802, 0.4717179834842682, -0.9634281396865845, -0.00848021823912859, 0.03037288971245289, 0.02113921009004116, 0.2729140818119049, -0.23563718795776367, 0.19349320232868195, -0.37098395824432373, -0.8313499689102173, 0.21653296053409576, 0.5700811147689819, 0.13530847430229187, -0.39917537569999695, -0.120320163667202, -0.6595985889434814, 0.18837712705135345, 0.9154658317565918, -0.05634280666708946, -0.6110565662384033, -0.6443052291870117, 0.00359197030775249, -0.42350611090660095, -0.0781359151005745, 0.7721547484397888, -0.6676914095878601, 0.3986157476902008, 0.6288811564445496, 0.797211229801178, 0.4560515582561493, 0.24523110687732697, 0.3143047094345093, -0.5098031759262085, 0.025198280811309814, 0.3616469204425812, 0.192489355802536, 0.4638076424598694, -0.3797508180141449, 0.5895596146583557, 0.4815509021282196, -0.815187931060791, -0.9579530954360962, 0.10718907415866852, -0.8080947995185852, -0.40755030512809753, 0.9489467144012451, 0.059442803263664246, -0.1816895455121994, -0.5430994629859924, -0.43529829382896423, 0.37130582332611084, -0.25209930539131165, 0.7411075234413147, 0.7164983153343201, 0.058249007910490036, -0.3305761218070984, -0.6115880012512207, 0.232131689786911, 0.1836034208536148, -1.0075037479400635, -0.11087959259748459, 0.6464707255363464, 0.23183713853359222, 0.27316173911094666, 0.6575047969818115, -0.323565810918808, 0.3406693637371063, -0.1491275280714035, -0.029010483995079994, -0.07405377179384232, -0.5734062194824219, -0.19075024127960205, 0.24671122431755066, -0.10634946823120117, -0.027945637702941895 ]
http://arxiv.org/abs/2407.02977v1
http://arxiv.org/pdf/2407.02977v1
Large Language Models as Evaluators for Scientific Synthesis
2024-07-03T10:21:27
2024-07-03T10:21:27
Julia Evans, Jennifer D'Souza, Sören Auer
cs.CL
cs.CL, cs.AI, cs.IT, math.IT
Our study explores how well the state-of-the-art Large Language Models (LLMs), like GPT-4 and Mistral, can assess the quality of scientific summaries or, more fittingly, scientific syntheses, comparing their evaluations to those of human annotators. We used a dataset of 100 research questions and their syntheses made by GPT-4 from abstracts of five related papers, checked against human quality ratings. The study evaluates both the closed-source GPT-4 and the open-source Mistral model's ability to rate these summaries and provide reasons for their judgments. Preliminary results show that LLMs can offer logical explanations that somewhat match the quality ratings, yet a deeper statistical analysis shows a weak correlation between LLM and human ratings, suggesting the potential and current limitations of LLMs in scientific synthesis evaluation.
[ -0.49592334032058716, -0.370195597410202, 0.8786965012550354, 0.21185041964054108, -0.1608319878578186, 0.10733798891305923, -0.39077553153038025, -0.6421821713447571, 0.11380025744438171, 0.25466957688331604, 0.005344127304852009, -0.38746771216392517, -0.43522608280181885, 0.7182840704917908, -0.7759978175163269, 1.2050710916519165, -0.20420512557029724, 0.2731735408306122, -0.33872681856155396, 0.2284822314977646, 0.11166516691446304, -0.6460882425308228, -0.48182401061058044, -0.3828255832195282, 0.6320229172706604, -0.24747292697429657, 0.72292560338974, 0.3765023350715637, 0.6416953206062317, 0.35971933603286743, -0.2061036229133606, 0.017797483131289482, -0.4338993728160858, 0.2738901376724243, -0.2511039972305298, -0.26207831501960754, -0.6309689879417419, 0.29698097705841064, 0.7116544842720032, 0.6239053010940552, 0.11028924584388733, 0.2538563013076782, -0.003887868020683527, 0.6000747084617615, -0.1949615627527237, 0.2262871414422989, -0.5593045949935913, -0.03663197159767151, 0.03162660449743271, -0.1202775239944458, -0.2448582500219345, -0.6552150249481201, 0.30110159516334534, -0.40191441774368286, 0.5779293179512024, -0.023802217096090317, 0.7026841640472412, 0.09422638267278671, -0.024525867775082588, -0.31391310691833496, -0.7092248797416687, 0.7169359922409058, -1.2074306011199951, 0.42541494965553284, 0.276687890291214, 0.2606780529022217, -0.351441353559494, -0.8806986212730408, -0.7511733174324036, -0.586267352104187, 0.07109824568033218, 0.21679897606372833, -0.2562048137187958, 0.052336327731609344, 0.24636611342430115, 0.44098222255706787, -0.6311152577400208, -0.09310627728700638, -0.8051007986068726, -0.24921150505542755, 0.7312259674072266, 0.2673827111721039, 0.24533677101135254, -0.19586186110973358, -0.13289210200309753, 0.11436109989881516, -0.816011905670166, -0.29366710782051086, 0.29226797819137573, 0.09985761344432831, 0.24309873580932617, 0.7523156404495239, -0.06027206778526306, 0.7248387336730957, -0.2171216607093811, -0.10956931859254837, -0.009832930751144886, -0.8218082785606384, -0.16934876143932343, -0.08105577528476715, 1.2164742946624756, 0.5697559714317322, 0.1735159456729889, 0.010391464456915855, -0.4631161391735077, 0.17957474291324615, 0.02494223229587078, -1.0122648477554321, -0.26291516423225403, 0.13947829604148865, -0.3528543710708618, -0.4048333466053009, 0.10309764742851257, -0.49384137988090515, -0.2204006463289261, -0.378675252199173, 0.2897356450557709, -0.08000621199607849, -0.2675834894180298, 0.06486985832452774, -0.3396137058734894, -0.16539938747882843, 0.5567371845245361, -0.7425057888031006, 0.3946393132209778, 0.6482784748077393, 1.013920545578003, -0.32490861415863037, -0.4925699830055237, -0.16553805768489838, -0.08279815316200256, -0.6564463376998901, 0.833283543586731, -0.3462236821651459, -0.5265732407569885, -0.3586653769016266, -0.2929631173610687, 0.19797730445861816, -0.5190144777297974, 0.389324426651001, -0.431633323431015, 0.5116584897041321, -0.5120446681976318, -0.4249299168586731, -0.22828273475170135, 0.032554592937231064, -0.7772436738014221, 0.7749329209327698, 0.25935471057891846, -0.761231005191803, 0.3638559579849243, -0.6415923833847046, -0.2579500377178192, 0.08081404119729996, -0.14572450518608093, -0.08236941695213318, 0.2708331048488617, 0.12060107290744781, 0.35658174753189087, -0.7112705707550049, 0.48750388622283936, -0.2161218374967575, -0.21377621591091156, 0.7541990876197815, -0.4880853295326233, 0.2787841260433197, 0.45487910509109497, -0.15204530954360962, 0.24872294068336487, -0.49530845880508423, -0.09346441924571991, -0.0906476378440857, -0.44163188338279724, -0.285594642162323, -0.0485658161342144, 0.13635221123695374, 0.23079802095890045, 0.16380418837070465, -0.4620571434497833, 0.13421601057052612, -0.3672894835472107, 0.8220827579498291, 0.5318354964256287, 0.2642766535282135, 0.11489287763834, -0.29036808013916016, 0.5832149982452393, -0.43570950627326965, -0.05530689284205437, -0.12048587948083878, -0.5640124082565308, -0.45003101229667664, -0.30306145548820496, 0.4526160657405853, -0.08064335584640503, -0.42899563908576965, 0.2636899948120117, -0.24242205917835236, -0.7073294520378113, -0.5336307883262634, 0.01593879424035549, 0.29770731925964355, 0.31901246309280396, 0.06334179639816284, -0.25177693367004395, -0.5383217334747314, -0.8132783770561218, -0.31553635001182556, -0.42806893587112427, -0.21765169501304626, -0.13805797696113586, 0.8532688617706299, -0.12939660251140594, 1.0006567239761353, -0.2985368072986603, 0.17441003024578094, -0.14680401980876923, 0.14209629595279694, 0.3671785891056061, 0.025118129327893257, 0.4873593747615814, -0.5650675296783447, -0.4234369695186615, 0.0651068463921547, -0.73272705078125, -0.4079527258872986, 0.1496966928243637, 0.25206565856933594, 0.08598168194293976, 0.44168901443481445, -0.9225586652755737, 0.109990693628788, 0.669109582901001, -0.15499183535575867, 1.0017000436782837, -0.17619504034519196, 0.5511853694915771, -0.8548943996429443, 0.25255298614501953, 0.018507923930883408, -0.09175985306501389, -0.7264919877052307, -0.07420223951339722, -0.25302690267562866, -0.15354220569133759, -0.30872228741645813, 0.6360531449317932, -0.4866534471511841, -0.2350282371044159, -0.3969029486179352, 0.23226256668567657, 0.155082568526268, -0.12528790533542633, 0.13341563940048218, 0.8941692113876343, 0.2663594186306, -0.4731350243091583, 0.2966100871562958, 0.1407248079776764, -0.5937706232070923, 0.12037485092878342, -1.1375412940979004, -0.16199563443660736, -0.08954767137765884, 0.5216546058654785, -1.0430212020874023, -0.6623863577842712, -0.0793377086520195, -0.4827876091003418, 0.05781300365924835, -0.00809059850871563, -0.5208132266998291, -0.5264967083930969, -0.39941200613975525, 0.31993886828422546, 0.47804638743400574, -0.3170721232891083, 0.3805356025695801, 0.18858741223812103, -0.6818854808807373, -0.08311473578214645, -0.6929885745048523, 0.24242760241031647, -0.14256161451339722, -0.5500873923301697, 0.11034485697746277, -0.25963324308395386, -0.5882242918014526, 0.12079641222953796, -0.2565118968486786, -0.030155880376696587, -0.06296234577894211, 0.29751330614089966, 0.3626583218574524, -0.24720174074172974, -0.12373007833957672, 0.0469486378133297, -0.05700330808758736, 0.24548473954200745, 0.047562237828969955, 0.2270490676164627, -0.12201432883739471, -0.44050225615501404, -0.30444884300231934, -0.005220428109169006, 0.950279951095581, -0.19514478743076324, 0.33012112975120544, 0.3152468204498291, -0.19109436869621277, -0.01661617122590542, -0.645010232925415, -0.2999662160873413, -0.4042188823223114, 0.41851624846458435, -0.25172826647758484, -1.0683467388153076, 0.5076554417610168, 0.1467886120080948, 0.14113427698612213, 0.6423495411872864, 0.894885241985321, 0.21296945214271545, 1.126799464225769, -0.06713639944791794, 0.04557402804493904, 0.2510238289833069, -0.011285211890935898, 0.22145825624465942, -0.9160866737365723, 0.027959253638982773, -0.6296045184135437, 0.09313367307186127, -0.44206908345222473, -0.42315372824668884, 0.7284654378890991, 0.12856879830360413, -0.286896675825119, 0.0058738430961966515, -0.6257248520851135, 0.49458935856819153, 0.19405104219913483, -0.32415497303009033, 0.38847652077674866, 0.07114540040493011, 0.10968581587076187, 0.10997848212718964, -0.41102832555770874, -0.8724298477172852, 1.0602467060089111, 0.6037079095840454, 0.8523232936859131, 0.09281782805919647, 0.589381992816925, 0.11672529578208923, 0.7505320310592651, -0.6490575075149536, 0.4700812101364136, 0.16974835097789764, -0.7544890642166138, -0.37747034430503845, -0.6853008270263672, -0.7209983468055725, 0.6683488488197327, -0.10395295917987823, -0.41751113533973694, -0.20200392603874207, -0.10319680720567703, -0.26251545548439026, -0.010915442369878292, -0.6592001914978027, 0.5348260998725891, -0.2755741775035858, -0.09521619230508804, -0.030643107369542122, -0.3637053966522217, 0.8187071681022644, -0.5297178030014038, 0.40332263708114624, -0.23785749077796936, 0.047687824815511703, 0.9647783637046814, -0.36400261521339417, 0.6613314747810364, 0.02268344536423683, -0.15804237127304077, 0.4074416756629944, 0.2997627556324005, 0.0970032662153244, 0.10475717484951019, -0.2822108268737793, 0.367328405380249, 0.20535804331302643, 0.03731808811426163, -0.5360517501831055, 0.9145187139511108, -0.8470371961593628, -0.8138318657875061, -0.6184037923812866, -0.560275673866272, -0.01508256047964096, 0.24904736876487732, 0.3246791958808899, 0.2506111264228821, -0.3698183596134186, 0.05225382372736931, 0.12061954289674759, -0.2056955099105835, 0.24628470838069916, 0.5725815892219543, -0.4689212143421173, -0.717923641204834, 0.6211640238761902, 0.02184455096721649, 0.481256902217865, 0.1038077101111412, 0.4694924056529999, -0.20409353077411652, -0.8249905109405518, -0.34564799070358276, 0.5120119452476501, -0.7225428819656372, -0.10098524391651154, -0.5436921715736389, -0.31532344222068787, -0.29638129472732544, 0.0832502469420433, -0.2979710102081299, -0.6026031374931335, -0.1888953149318695, -0.24574868381023407, 0.22417519986629486, 1.2615445852279663, 0.06574362516403198, -0.07968433201313019, -0.7516154050827026, 0.2178642302751541, 0.2494603991508484, 0.13767801225185394, 0.14011290669441223, -0.5778341889381409, -0.12703333795070648, 0.043233875185251236, -0.2661550045013428, -0.7601218223571777, 0.46045514941215515, -0.045781731605529785, 0.4694409966468811, 0.2476881593465805, -0.31446152925491333, 0.43553322553634644, -0.6579317450523376, 1.3518487215042114, 0.4260443449020386, -0.9785144329071045, 0.22552472352981567, -0.4012920558452606, 0.23160597681999207, 0.3103986978530884, 0.5438400506973267, -0.22368332743644714, -0.7543501853942871, -0.25124913454055786, -0.6526705026626587, 0.3705682158470154, 0.3707572817802429, -0.09579242020845413, -0.11598217487335205, 0.2723627984523773, 0.3195701539516449, 0.21829354763031006, -0.6713454127311707, 0.11583138257265091, -0.2980966567993164, -0.0718027651309967, -0.2904681861400604, -0.2836768329143524, -0.2247544527053833, -0.17163394391536713, 0.5648245811462402, 0.06866933405399323, 0.06571082770824432, 0.2983899712562561, 0.21347977221012115, -0.33479729294776917, 0.4182751774787903, 0.8892936110496521, 1.1655170917510986, -0.2606325149536133, 0.2677842676639557, -0.06946815550327301, -0.4032975137233734, 0.16409988701343536, 0.07399390637874603, -0.20091769099235535, 0.18422889709472656, 0.6995670795440674, 0.6163832545280457, 0.032076645642519, -0.5856045484542847, 0.47657299041748047, -0.1940060406923294, -0.4086115062236786, -0.10701718926429749, 0.08808083832263947, 0.1884397566318512, 0.09036486595869064, 0.3819398880004883, 0.06658172607421875, 0.2736336290836334, -0.4551967680454254, -0.117918960750103, 0.4182073175907135, -0.03725074231624603, -0.881634533405304, 0.7971788644790649, 0.027804860845208168, 0.011087771505117416, 0.2574489116668701, 0.05235530436038971, -0.6443610191345215, 0.3025219738483429, 0.5624159574508667, 0.7521274089813232, -0.40879878401756287, 0.14298713207244873, 0.39377260208129883, 0.36218351125717163, -0.46961724758148193, 0.30495813488960266, 0.15782727301120758, -0.3930515944957733, -0.8043992519378662, -0.8551996350288391, -0.6029825210571289, 0.1828373521566391, -0.4352007806301117, 0.06887686997652054, -0.19820022583007812, -0.4615761637687683, 0.5110181570053101, -0.4361152648925781, -0.5153268575668335, -0.09606019407510757, -0.11792778223752975, 0.6371460556983948, -0.9934216141700745, 0.523087739944458, 0.6280102133750916, -0.7601290941238403, -0.8200358152389526, -0.2811843752861023, -0.05647832900285721, -0.18015161156654358, 0.9013988375663757, -0.21580477058887482, 0.017007630318403244, -0.2572876513004303, -0.5063391327857971, -1.0148444175720215, 0.8950433731079102, 0.41587504744529724, -0.5132943391799927, -0.10194183140993118, 0.003688122145831585, 1.0287144184112549, -0.20764358341693878, 0.5573935508728027, 0.5728779435157776, 0.7207819819450378, 0.08840419352054596, -1.3874311447143555, 0.13979870080947876, -0.21265394985675812, 0.03815197944641113, 0.16003437340259552, -0.3737740218639374, 1.029634952545166, -0.22977156937122345, -0.17025108635425568, 0.3850027024745941, 0.5854600071907043, 0.48572102189064026, 0.33389824628829956, 0.06394080817699432, 0.14459992945194244, 0.5498137474060059, -0.08329512923955917, 1.289237380027771, -0.22996416687965393, 0.34157276153564453, 0.7991455793380737, -0.4964371919631958, 0.8227162957191467, 0.5933650732040405, -0.5042301416397095, 0.3335984945297241, 0.508701503276825, -0.11267590522766113, 0.3819223940372467, 0.45954203605651855, -0.24375662207603455, -0.006968265864998102, 0.024736672639846802, -0.440299391746521, 0.23351271450519562, 0.37918806076049805, -0.6005105972290039, -0.15070800483226776, -0.17012754082679749, -0.02036837674677372, -0.17826925218105316, -0.14233867824077606, 0.7320774793624878, 0.3451922833919525, -0.8144853115081787, 0.9064589738845825, -0.01757858507335186, 0.23471523821353912, -0.6234824061393738, -0.16102944314479828, -0.08011896163225174, -0.18962103128433228, -0.4527789354324341, -0.9014200568199158, 0.019069787114858627, 0.2269144505262375, -0.21083472669124603, 0.12162430584430695, 0.3545423448085785, -0.43137797713279724, -0.3615943491458893, -0.17941589653491974, 0.5275471210479736, 0.5848503708839417, -0.00258045457303524, -0.33310505747795105, 0.21619728207588196, 0.010841323994100094, -0.5306974053382874, 0.23072433471679688, 0.45564523339271545, -0.3115856647491455, 0.6100651621818542, 0.960181474685669, 0.5478734374046326, -0.171439990401268, 0.19878190755844116, 0.8712717890739441, -0.6997142434120178, -0.23082594573497772, -0.9803316593170166, 0.22252105176448822, 0.21754242479801178, -0.15603597462177277, 1.0047578811645508, 0.5750108957290649, 0.5165542364120483, -0.2992911636829376, 1.158744215965271, 0.14511427283287048, 0.3526453971862793, -0.4704629182815552, 0.84670090675354, -0.1044175997376442, 0.3477734923362732, -0.5096781849861145, -1.2859902381896973, -0.28877490758895874, 0.4462830424308777, -0.27696582674980164, 0.2590090334415436, 0.8975430130958557, 0.6311086416244507, -0.03868811950087547, 0.2091895192861557, 0.37420326471328735, 0.5253397226333618, 0.7840398550033569, 0.2177094966173172, 1.1979364156723022, 0.004644820466637611, 0.17872688174247742, 0.2803243398666382, -0.35260242223739624, -0.006325278896838427, -0.9644709825515747, -1.0393885374069214, -0.6272620558738708, -0.09821260720491409, -0.27374744415283203, -0.22811359167099, 0.9021844267845154, 0.3677624464035034, -0.7611148953437805, -0.23083895444869995, 0.005085034295916557, -0.07164213061332703, 0.050028178840875626, -0.2217724472284317, 0.5822399258613586, -0.025166373699903488, -0.5826027989387512, 0.5663626194000244, 0.32094600796699524, 0.09026792645454407, -0.7036238312721252, -0.12182600051164627, 0.41266873478889465, 0.2520833909511566, 0.8199523687362671, -0.026697028428316116, -1.215409278869629, -0.19318553805351257, -0.1327420473098755, -0.0637526735663414, -0.39037129282951355, 0.7802660465240479, -0.4625839293003082, 0.5201351642608643, 0.7473493814468384, 0.39063262939453125, 0.4243527948856354, 0.11731341481208801, 0.7477121353149414, -0.23486697673797607, -0.34718066453933716, 0.25285452604293823, 0.45499464869499207, 0.5562644004821777, 0.039117876440286636, 0.49755868315696716, 0.01422359049320221, -0.8988133668899536, -1.039226770401001, -0.007131111808121204, -0.9118978381156921, -0.11544840782880783, 1.3916529417037964, -0.06051356717944145, -0.21170730888843536, 0.05096045136451721, -0.3927270472049713, -0.07134531438350677, -0.43117210268974304, 0.8270404934883118, 0.8607223629951477, -0.33021441102027893, 0.16985534131526947, -0.7171728014945984, 0.5332599878311157, -0.04422542080283165, -0.8476119041442871, 0.1306053102016449, 0.790385901927948, 0.5914281606674194, 0.4059188961982727, 0.5600182414054871, -0.3775271773338318, 0.4411596953868866, -0.12744775414466858, 0.22014190256595612, -0.3257727324962616, -0.0024406735319644213, -0.22174793481826782, 0.04895278066396713, 0.5297379493713379, 0.5855842232704163 ]
http://arxiv.org/abs/2407.02964v1
http://arxiv.org/pdf/2407.02964v1
FSM: A Finite State Machine Based Zero-Shot Prompting Paradigm for Multi-Hop Question Answering
2024-07-03T10:01:01
2024-07-03T10:01:01
Xiaochen Wang, Junqing He, Zhe yang, Yiru Wang, Xiangdi Meng, Kunhao Pan, Zhifang Sui
cs.CL
cs.CL
Large Language Models (LLMs) with chain-of-thought (COT) prompting have demonstrated impressive abilities on simple nature language inference tasks. However, they tend to perform poorly on Multi-hop Question Answering (MHQA) tasks due to several challenges, including hallucination, error propagation and limited context length. We propose a prompting method, Finite State Machine (FSM) to enhance the reasoning capabilities of LLM for complex tasks in addition to improved effectiveness and trustworthiness. Different from COT methods, FSM addresses MHQA by iteratively decomposing a question into multi-turn sub-questions, and self-correcting in time, improving the accuracy of answers in each step. Specifically, FSM addresses one sub-question at a time and decides on the next step based on its current result and state, in an automaton-like format. Experiments on benchmarks show the effectiveness of our method. Although our method performs on par with the baseline on relatively simpler datasets, it excels on challenging datasets like Musique. Moreover, this approach mitigates the hallucination phenomenon, wherein the correct final answer can be recovered despite errors in intermediate reasoning. Furthermore, our method improves LLMs' ability to follow specified output format requirements, significantly reducing the difficulty of answer interpretation and the need for reformatting.
[ -0.3732976019382477, -1.250349760055542, 0.9587568044662476, 0.04564916342496872, -0.2795998156070709, 0.09402944892644882, 0.000068928740802221, -0.25837162137031555, 0.1538812220096588, 0.21568159759044647, -0.9605996608734131, -0.25112786889076233, -0.17051245272159576, 0.5663725137710571, -0.20903508365154266, 0.584437906742096, -0.19241076707839966, -0.1531202793121338, -0.15741239488124847, 0.1895865648984909, -0.6051741242408752, -0.37467604875564575, -0.7234628796577454, -0.5001464486122131, 0.6379914283752441, 0.32633087038993835, 0.5898669362068176, 0.4884423017501831, -0.1914365291595459, 0.342629611492157, -0.05297554284334183, 0.5047975182533264, -0.19235515594482422, 0.5936934947967529, -0.24511221051216125, -0.711165189743042, -0.23797166347503662, -0.21962271630764008, 0.6871031522750854, 0.4750005304813385, 0.08680499345064163, 0.15934492647647858, -0.21723994612693787, 0.516033947467804, -0.6808977127075195, 0.13159024715423584, -0.8935373425483704, 0.130415678024292, 0.11663006246089935, -0.6447775959968567, -0.632114589214325, -0.2798519432544708, -0.06248890236020088, -0.453624427318573, -0.0831608697772026, 0.10358192026615143, 0.4784172773361206, 0.6061838269233704, -0.3107844889163971, -0.00806199200451374, -0.6730254888534546, 0.6631048917770386, -0.5357035994529724, 0.455677330493927, 0.21371468901634216, 0.3260134756565094, -0.40360933542251587, -0.12569056451320648, -0.9003710150718689, -0.17510655522346497, 0.24640662968158722, -0.06305022537708282, -0.09630633145570755, 0.13713933527469635, 0.49967533349990845, 0.31664469838142395, -0.5347588658332825, -0.328614205121994, -0.07952579110860825, -0.4426935017108917, 0.42509138584136963, 0.31943169236183167, 0.22913432121276855, -0.1747221201658249, -0.28492116928100586, -0.262962281703949, -0.6675809621810913, 0.30464255809783936, 0.05303020775318146, 0.573935329914093, 0.19224590063095093, 0.5814701914787292, -0.5369040966033936, 0.9714251160621643, 0.1354963779449463, -0.21368689835071564, 0.1799779087305069, -0.07167704403400421, -0.37589865922927856, 0.029562631621956825, 0.6478617191314697, 0.09262597560882568, 0.2883467972278595, -0.047114450484514236, -0.12468188256025314, -0.05511017143726349, 0.17422181367874146, -0.5901044011116028, -0.03900214284658432, 0.6880567073822021, -0.0691194012761116, 0.050912607461214066, -0.027760261669754982, -0.7141771912574768, -0.2140028029680252, -0.3969857394695282, 0.9288365244865417, -0.6883841753005981, -0.27790606021881104, 0.23719869554042816, -0.06154001131653786, 0.4838836193084717, 0.55681973695755, -0.6834446787834167, -0.08035256713628769, 0.6164919137954712, 0.9375432729721069, 0.07911384850740433, -0.4469134211540222, -0.9180452227592468, 0.01926114223897457, -0.5724026560783386, 0.786348819732666, -0.44358325004577637, -0.2597840428352356, -0.13640236854553223, 0.0408843457698822, -0.393178254365921, -0.2896173894405365, 0.11974693089723587, -0.6468278765678406, -0.03383057191967964, -0.46100151538848877, -0.5317894220352173, -0.3586898148059845, 0.5736509561538696, -0.5026861429214478, 0.9784275889396667, -0.00476058479398489, -0.5465806722640991, 0.04840531572699547, -0.7512908577919006, -0.3483867645263672, -0.15271179378032684, -0.3546159565448761, 0.06680293381214142, 0.037285126745700836, 0.5306758284568787, 0.5772213935852051, 0.009868119843304157, 0.17673006653785706, -0.21124905347824097, -0.5003207325935364, 0.27368202805519104, -0.5801411271095276, 0.6356668472290039, 0.24208591878414154, -0.36189424991607666, 0.16741645336151123, -0.4356076121330261, 0.357703298330307, 0.27534016966819763, -0.2020409107208252, -0.11566685140132904, -0.25512418150901794, -0.6799865365028381, 0.4077833890914917, -0.008065937086939812, -0.6128044128417969, 0.25887611508369446, -0.5588991045951843, 0.27935343980789185, 0.7965359687805176, 0.3277396559715271, 0.2678694725036621, -0.6184163689613342, 0.7395063638687134, 0.02443198300898075, -0.0032901400700211525, -0.7199287414550781, -0.5600775480270386, -0.629044234752655, -0.15791459381580353, -0.02870359644293785, 0.7902944684028625, -1.115954875946045, 0.34027352929115295, 0.15613900125026703, -0.3300629258155823, -0.6444499492645264, -0.15633244812488556, 0.3884585499763489, 0.5586404204368591, 0.6144227981567383, 0.33680909872055054, -0.2993584871292114, -0.3880072832107544, -0.17218844592571259, -0.10188817232847214, -0.009380796924233437, 0.14588843286037445, 0.44200316071510315, -0.12734976410865784, 1.0892467498779297, -0.4236195981502533, 0.12497716397047043, -0.09240599721670151, 0.18532060086727142, 0.32825860381126404, 0.3230147957801819, 0.08406571298837662, -0.4307863712310791, -0.06614356487989426, -0.3712088465690613, -0.7287624478340149, 0.09049765765666962, -0.292849063873291, -0.20171613991260529, 0.27647271752357483, 0.2856449484825134, -0.7381590008735657, 0.11985199898481369, 0.3360411524772644, -0.2596137225627899, 0.7358000874519348, -0.04592977836728096, 0.5735589265823364, -0.9775017499923706, 0.056187547743320465, -0.3555193841457367, -0.13542771339416504, -0.6163620352745056, 0.0993989109992981, -0.010799826122820377, -0.11657324433326721, -0.49400922656059265, 0.5835495591163635, -0.3415088653564453, 0.04899680241942406, -0.265174001455307, -0.013593589887022972, 0.06917160004377365, 0.5013101696968079, 0.017351264134049416, 0.9205839037895203, 0.5740845203399658, -0.8836438059806824, 0.3648982048034668, 0.2913535237312317, 0.01839067041873932, 0.43006110191345215, -0.43501394987106323, 0.4762899577617645, -0.4203217327594757, 0.4551561772823334, -1.1623491048812866, -0.1935194730758667, 0.2630299925804138, -0.6462580561637878, 0.13942958414554596, 0.035647064447402954, -0.45039623975753784, -0.6009953618049622, -0.32044926285743713, 0.25278615951538086, 0.13627417385578156, -0.44098982214927673, 0.557421863079071, -0.13322438299655914, -0.0373811312019825, -0.6886752247810364, -0.5314463973045349, -0.08307043462991714, 0.08612660318613052, -0.4844343960285187, -0.01951632648706436, -0.407408744096756, -0.12538647651672363, -0.3399296700954437, -0.5121332406997681, -0.0639081597328186, 0.0330999493598938, 0.06099461764097214, 0.402863085269928, -0.30211228132247925, 0.3132731020450592, 0.46436429023742676, -0.24955318868160248, 0.23184552788734436, -0.4087146818637848, 0.7648387551307678, -0.2563197612762451, -0.41457608342170715, -0.8543390035629272, 0.39984774589538574, 0.6906118988990784, -0.20259588956832886, 0.4379168450832367, 0.17040669918060303, -0.3874399960041046, -0.3173788785934448, -0.3237679600715637, -0.6233195662498474, -0.4664508104324341, -0.2464209347963333, -0.8549527525901794, -1.30357825756073, 0.1260640025138855, -0.2103186547756195, 0.4225385785102844, 0.2594362497329712, 0.503470778465271, -0.03981245681643486, 0.9885002374649048, 0.16206693649291992, -0.01246530283242464, 0.1064322292804718, -0.19504746794700623, 0.2617042064666748, -0.5441233515739441, -0.35559576749801636, -0.6629918813705444, -0.0641181617975235, -0.004680715501308441, -0.7939899563789368, 0.35494235157966614, 0.08457012474536896, -0.37938204407691956, 0.09308703243732452, -0.5480817556381226, 0.47277894616127014, 0.32681915163993835, 0.14177986979484558, 0.43421003222465515, 0.04297679290175438, -0.6526384353637695, 0.14833477139472961, -0.7244917750358582, -0.41370341181755066, 0.6764687299728394, 0.23422609269618988, 0.855448305606842, -0.08930757641792297, 0.9329582452774048, 0.19371171295642853, -0.05880596861243248, -1.1241852045059204, 0.5310423374176025, 0.41876181960105896, -0.7502458691596985, -0.7546418905258179, -0.39979299902915955, -0.6644381284713745, 0.4541536867618561, -0.38215357065200806, -0.847386360168457, -0.1661374866962433, 0.4695688784122467, -0.8983560800552368, 0.39590662717819214, -0.25363826751708984, 0.4537692666053772, -0.029400136321783066, -0.1451680213212967, -0.06025795638561249, -0.5949010848999023, 0.3993074893951416, -0.034384310245513916, 0.13013912737369537, -0.3611833155155182, -0.03956614434719086, 0.42019614577293396, -0.4198455810546875, 0.5499269366264343, -0.3344246745109558, -0.3403879404067993, 0.4614422917366028, 0.5235796570777893, 0.5330763459205627, -0.053791891783475876, -0.39875394105911255, -0.06437744945287704, 0.24655918776988983, -0.11857576668262482, -0.8332579135894775, 0.5517699122428894, -0.4731397330760956, -0.7510858774185181, -0.3411397635936737, -0.7838247418403625, -0.6274376511573792, 0.1456993669271469, 0.11691094934940338, 0.4384964108467102, 0.33053216338157654, 0.08341144025325775, 0.9491043090820312, -0.1664150357246399, 0.4981253743171692, 0.38991668820381165, -0.32359132170677185, -0.5576314330101013, 0.6218963265419006, -0.1583346575498581, 0.33183524012565613, 0.5928069949150085, 0.45987212657928467, -0.808671236038208, -0.09661120176315308, -0.9576601386070251, 0.20908592641353607, -0.5823737382888794, -0.35899218916893005, -1.0099788904190063, -0.19920462369918823, -0.372555136680603, -0.3306775987148285, -0.20401477813720703, -0.28143802285194397, 0.08585119992494583, -0.06445755809545517, 0.6648699045181274, 0.3758891522884369, 0.07096223533153534, 0.1566726267337799, -0.981074333190918, 0.5692431330680847, 0.4592340290546417, 0.2791009843349457, 0.26522570848464966, -0.4781736433506012, 0.31910380721092224, 0.11419843882322311, -0.11035685986280441, -1.078544020652771, -0.24036307632923126, 0.04737843573093414, 0.5782889723777771, 0.43646883964538574, 0.3722628653049469, 0.9406875371932983, -0.5412291884422302, 0.7346152067184448, 0.2720593810081482, -1.1916142702102661, 0.7984723448753357, -0.41959473490715027, 0.5560469627380371, 0.6274332404136658, 0.5465565919876099, -0.5841509103775024, -0.5440266728401184, -0.4023721516132355, -0.5691800713539124, 0.6775333285331726, 0.05798814818263054, 0.22284531593322754, -0.17118322849273682, 0.5390245318412781, 0.11157048493623734, 0.17359349131584167, -0.4782486855983734, -0.3022141456604004, -0.12520870566368103, 0.04356083646416664, 0.24422235786914825, 0.00607736362144351, 0.03295484930276871, -0.38396573066711426, 0.8345115184783936, -0.5317977070808411, 0.4308333694934845, 0.584383487701416, -0.11330296844244003, -0.35661134123802185, 0.5677344799041748, 0.523457944393158, 0.6266558766365051, 0.08111021667718887, 0.16781732439994812, 0.5095488429069519, 0.009832234121859074, 0.5834997296333313, -0.31004828214645386, -0.3891882002353668, 0.05370752885937691, 0.07237322628498077, 0.5491207838058472, 0.05300438031554222, -0.5535032153129578, 0.27672916650772095, 0.126587375998497, -0.5439019799232483, 0.0377689003944397, 0.48915326595306396, 0.024233324453234673, 0.3431021571159363, 0.5595356822013855, -0.26621246337890625, 0.011368970386683941, -0.4128408432006836, 0.4404070973396301, 0.2943422496318817, -0.3513808250427246, 0.07296182215213776, 0.6527351140975952, -0.03370371460914612, -0.35018646717071533, 0.5673852562904358, -0.054959218949079514, -0.4291899800300598, 0.37731289863586426, 0.8422636389732361, 0.6558873653411865, -0.5775030255317688, 0.42117488384246826, 0.637637734413147, 0.4113987386226654, -0.1365041583776474, 0.824062168598175, -0.3517337143421173, -0.7234276533126831, -0.7839027643203735, -0.7935882806777954, -0.603506863117218, 0.2818467617034912, -0.38604480028152466, -0.01760992407798767, -0.7477672696113586, 0.032580144703388214, -0.10686107724905014, -0.028776761144399643, -0.12905865907669067, 0.3947303891181946, 0.26341870427131653, 1.1992058753967285, -0.7750996947288513, 0.7044194936752319, 0.6040998697280884, -0.25297197699546814, -1.2307108640670776, 0.20752200484275818, 0.34117382764816284, -0.5957168340682983, -0.03151603788137436, 0.4823315739631653, -0.7225932478904724, 0.20298825204372406, -0.5727605223655701, -0.7812885642051697, 1.0036629438400269, 0.3644135594367981, -0.4996176064014435, 0.2304464876651764, 0.051304880529642105, 0.17809909582138062, -0.2832699716091156, 0.0545707568526268, 0.5303601026535034, 0.6074609160423279, 0.5958468317985535, -0.6083860397338867, 0.45871347188949585, -0.05998442694544792, -0.11919664591550827, 0.2713935375213623, -0.45078518986701965, 0.7741794586181641, -0.5552175045013428, -0.1291562169790268, 0.17585179209709167, 0.6811462044715881, 0.9462687373161316, 0.3975655138492584, 0.9561723470687866, 0.1712970733642578, 1.2033283710479736, -0.053486112505197525, 0.5810336470603943, -0.17746634781360626, 0.09428268671035767, 1.1126176118850708, -0.34742704033851624, 0.9410005807876587, 0.5686157941818237, -0.12031088769435883, 0.6769213080406189, 0.7055222988128662, 0.22397245466709137, 0.0928334966301918, 0.33918580412864685, -0.3966115117073059, -0.6145047545433044, 0.16466082632541656, -0.30450668931007385, 0.5352162718772888, 0.25471511483192444, 0.04510645568370819, -0.3970046043395996, 0.04445774108171463, 0.26036399602890015, -0.039691537618637085, -0.2905586063861847, 0.577218770980835, 0.15906506776809692, -0.9550706744194031, 0.7049151062965393, -0.18092069029808044, 0.4458433985710144, -0.6169190406799316, -0.21356835961341858, -0.16587688028812408, -0.17591328918933868, -0.18467068672180176, -0.7295415997505188, 0.4427024722099304, 0.10837648808956146, -0.3266221880912781, -0.1584777534008026, 0.5642780065536499, -0.3916257619857788, -0.11210699379444122, 0.2887648940086365, 0.7308141589164734, 0.39994746446609497, -0.30764666199684143, -0.9171846508979797, 0.019126707687973976, -0.12593741714954376, -0.08500798046588898, -0.16015943884849548, 0.45466944575309753, -0.1816924512386322, 0.7618642449378967, 0.9046106338500977, -0.22939635813236237, 0.03185570612549782, 0.150694340467453, 0.7141379117965698, -0.8128763437271118, -0.6306518316268921, -0.9007421731948853, 0.5169618725776672, 0.13560539484024048, 0.015066520310938358, 0.6337398290634155, 0.31370630860328674, 0.49592137336730957, -0.08944883942604065, 0.6780391335487366, -0.09524411708116531, 0.44150304794311523, -0.6677423715591431, 0.5878749489784241, -0.6381592154502869, -0.1111266165971756, -0.3631979525089264, -0.8082420825958252, -0.3277299404144287, 0.6520727276802063, -0.09122773259878159, -0.0456569530069828, 0.868068277835846, 0.9713089466094971, 0.27839669585227966, 0.2642931044101715, 0.6046693921089172, 0.09541201591491699, 0.08465151488780975, 0.5629245638847351, 1.0922157764434814, -0.1931714564561844, 0.5325636863708496, -0.06736554205417633, -0.34311044216156006, -0.10960818827152252, -0.7753629088401794, -0.7823851704597473, -0.5101592540740967, -0.172481507062912, -0.35694003105163574, -0.058663878589868546, 1.3080676794052124, 0.6767038106918335, -0.931064784526825, 0.010712992399930954, 0.06798610091209412, 0.32996657490730286, -0.44012996554374695, -0.22146087884902954, 0.03243740648031235, -0.6694996953010559, -0.5555120706558228, 0.832770586013794, 0.5435479879379272, -0.06126927211880684, -0.26570889353752136, -0.08983571082353592, -0.4042064845561981, 0.3806406855583191, 0.8046227693557739, 0.2719048261642456, -0.9263732433319092, -0.4077438712120056, 0.3790823519229889, 0.24712873995304108, 0.039508361369371414, 0.8784921765327454, -0.7302513718605042, 0.5965442657470703, 0.48779231309890747, 0.8602278232574463, 0.17923270165920258, 0.025937458500266075, 0.46122515201568604, -0.4847323000431061, -0.08856866508722305, 0.14471383392810822, 0.21133381128311157, 0.15080806612968445, -0.5990609526634216, 0.196414515376091, 0.15619494020938873, -0.31385648250579834, -0.4615652859210968, 0.2545227110385895, -0.7966635227203369, -0.474632203578949, 1.063523530960083, -0.13541822135448456, -0.4097060263156891, -0.4063309133052826, -0.2957812249660492, 0.32335272431373596, -0.48751768469810486, 0.6040025949478149, 0.538261890411377, -0.37793660163879395, -0.26267096400260925, -0.469472736120224, 0.3983766436576843, 0.4442327320575714, -0.9409165382385254, 0.06476473063230515, 0.6309164762496948, 0.36788392066955566, 0.09667687863111496, 0.8562215566635132, -0.12774726748466492, 0.41848111152648926, -0.07858777046203613, -0.14367884397506714, -0.161764457821846, -0.8599419593811035, -0.6059625744819641, 0.265320748090744, 0.015430076979100704, -0.2810078263282776 ]
http://arxiv.org/abs/2407.02960v1
http://arxiv.org/pdf/2407.02960v1
ObfuscaTune: Obfuscated Offsite Fine-tuning and Inference of Proprietary LLMs on Private Datasets
2024-07-03T09:54:08
2024-07-03T09:54:08
Ahmed Frikha, Nassim Walha, Ricardo Mendes, Krishna Kanth Nakka, Xue Jiang, Xuebing Zhou
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
This work addresses the timely yet underexplored problem of performing inference and finetuning of a proprietary LLM owned by a model provider entity on the confidential/private data of another data owner entity, in a way that ensures the confidentiality of both the model and the data. Hereby, the finetuning is conducted offsite, i.e., on the computation infrastructure of a third-party cloud provider. We tackle this problem by proposing ObfuscaTune, a novel, efficient and fully utility-preserving approach that combines a simple yet effective obfuscation technique with an efficient usage of confidential computing (only 5% of the model parameters are placed on TEE). We empirically demonstrate the effectiveness of ObfuscaTune by validating it on GPT-2 models with different sizes on four NLP benchmark datasets. Finally, we compare to a na\"ive version of our approach to highlight the necessity of using random matrices with low condition numbers in our approach to reduce errors induced by the obfuscation.
[ -0.32087042927742004, -0.9886348247528076, 0.45429036021232605, -0.1521807461977005, -0.441446989774704, -0.003887993050739169, -0.17940326035022736, -0.4124163091182709, -0.04420126602053642, 1.0133521556854248, -0.5864672660827637, -0.5449174046516418, -0.33522385358810425, -0.3918827772140503, -0.432497501373291, 1.1013574600219727, 0.308912456035614, -0.07869460433721542, -0.10442173480987549, -0.0908336341381073, -0.12253696471452713, -0.5390975475311279, -0.4498744308948517, -0.11895029991865158, 0.017775775864720345, 0.47764822840690613, 1.0612636804580688, 0.9110392928123474, 0.6105305552482605, 0.24498696625232697, 0.0221120435744524, 0.5623543858528137, -0.9435731172561646, 0.013998029753565788, -0.45244860649108887, -0.6706720590591431, -0.34606635570526123, -0.2075958102941513, 0.3257785737514496, 0.5383098125457764, -0.41504591703414917, 0.5218296051025391, 0.43280094861984253, 0.5242593288421631, -1.1598985195159912, -0.23090919852256775, -0.9707826972007751, 0.18634271621704102, -0.20875506103038788, -0.16920685768127441, -0.38596200942993164, -0.6017136573791504, -0.23789860308170319, -0.697594940662384, 0.4094422161579132, 0.3157183527946472, 0.9142066240310669, 0.7746332883834839, 0.04741470143198967, 0.3057561218738556, -0.9195990562438965, 0.9756089448928833, -0.5372560620307922, 0.15424367785453796, 0.7460476160049438, 0.2990184426307678, -0.14825475215911865, -0.7476413249969482, -0.05686000734567642, 0.046336829662323, 0.012161764316260815, 0.07970917224884033, -0.22378340363502502, 0.10550130903720856, 0.0986333116889, 0.6956053972244263, -0.23758161067962646, 0.41505932807922363, -0.22445635497570038, 0.040419332683086395, 0.673264741897583, 0.0708770602941513, -0.17183543741703033, 0.20240670442581177, -0.4964885711669922, 0.20113135874271393, -1.0623321533203125, -0.15816453099250793, 0.6709255576133728, 0.020841216668486595, 0.10063953697681427, 0.7359452247619629, -0.2162753939628601, 0.4064866900444031, 0.14043669402599335, 0.08078379184007645, -0.19543978571891785, -0.12917210161685944, -0.7756359577178955, 0.1373748779296875, 0.6260785460472107, 0.3321152925491333, -0.07430819422006607, -0.6968410611152649, -0.07085847109556198, -0.27659305930137634, 0.23513074219226837, -0.7297499775886536, -0.4821634292602539, 0.4769864082336426, -0.4062657654285431, -0.4923347532749176, 0.14875061810016632, -0.8359781503677368, -0.807705283164978, -0.3124450445175171, 0.5533738136291504, -0.09466226398944855, -0.04571233317255974, 0.1376895010471344, -0.027458183467388153, -0.08904211968183517, 0.28745484352111816, -0.6680788397789001, 0.5267970561981201, 0.9427816867828369, 0.88387531042099, -0.13788019120693207, 0.01877567172050476, -0.590342104434967, 0.47115400433540344, -0.12449924647808075, 0.42715445160865784, -0.13759396970272064, -0.5232056379318237, -0.34022608399391174, 0.09623757004737854, 0.338271826505661, -0.505247175693512, 0.6095682382583618, -0.3081177771091461, -0.09247040748596191, -0.011277232319116592, -0.5074367523193359, -0.28885990381240845, -0.057637084275484085, -0.721255362033844, 0.9525336027145386, -0.13799580931663513, -0.5001400709152222, 0.08546506613492966, -0.42230409383773804, 0.1804879605770111, 0.06599652767181396, -0.022022433578968048, -0.9844691157341003, 0.44013452529907227, 0.3595566749572754, 0.36599138379096985, -0.45735520124435425, 0.36866459250450134, -0.7724080085754395, -0.41159355640411377, 0.18193480372428894, -0.2433672845363617, 0.9973252415657043, 0.18898361921310425, -0.36132368445396423, -0.1451285481452942, -0.6434493660926819, 0.3705156445503235, 0.2797803282737732, 0.30174607038497925, -0.7403944134712219, -0.033988263458013535, -0.11622340977191925, -0.2848111391067505, 0.3362423777580261, -0.6568937301635742, 0.28346654772758484, -0.5491155385971069, 0.6385502219200134, 0.7302116751670837, 0.12876936793327332, 0.5484248995780945, -0.5163109302520752, 0.3940214216709137, -0.324006050825119, 0.6159957051277161, 0.21752510964870453, -0.5540132522583008, -0.554518461227417, -0.6449488997459412, 0.3676477074623108, 0.5124019980430603, -0.4850773513317108, 0.23196941614151, -0.14160670340061188, -0.7643504738807678, -0.8627228736877441, 0.1984143853187561, 0.6557831764221191, 0.3301054835319519, 0.44896140694618225, 0.04651322215795517, -0.41395479440689087, -1.1262069940567017, -0.4778082072734833, 0.550439178943634, -0.07933586090803146, 0.37243223190307617, 0.3048517405986786, 0.03576526790857315, 1.051892876625061, -0.557625412940979, -0.6632691025733948, 0.006438604090362787, -0.02671424113214016, 0.058029357343912125, 0.8058915138244629, 0.5682623982429504, -0.6281785368919373, -0.14632754027843475, 0.02741059847176075, -0.6273056268692017, -0.16737905144691467, 0.06410078704357147, -0.2488323450088501, 0.0023394168820232153, 0.6155717372894287, -0.2961427867412567, 0.5388316512107849, 0.7182610630989075, -0.07265409827232361, 0.2607742249965668, -0.4950701594352722, -0.026465343311429024, -0.8171584606170654, 0.09799809008836746, -0.47243499755859375, -0.5409320592880249, -0.4734290540218353, 0.39686229825019836, -0.09505906701087952, -0.11245448142290115, -0.5272975564002991, 0.34816858172416687, -0.6131059527397156, -0.04253866896033287, -0.22126157581806183, 0.048196665942668915, 0.2084825038909912, 0.4371717572212219, -0.10809426009654999, 0.5633153319358826, 0.2824925482273102, -0.4654994010925293, -0.09265080094337463, 0.38794979453086853, -0.2737409174442291, 0.32656341791152954, -0.6860244274139404, 0.3712316155433655, 0.046649955213069916, -0.13443374633789062, -0.6166661381721497, -0.08540897071361542, 0.34823739528656006, -0.06697866320610046, 0.07761496305465698, -0.5241508483886719, -0.7808620929718018, 0.1816377490758896, -0.32903021574020386, 0.2206297516822815, 0.6633008718490601, -0.6979986429214478, 0.5225531458854675, 0.5958560109138489, 0.23096433281898499, -0.5005613565444946, -1.1396170854568481, -0.19271446764469147, -0.5131363272666931, -0.30824998021125793, 0.5542254447937012, 0.08008166402578354, -0.3053625822067261, 0.08813612908124924, -0.033190105110406876, -0.4628070890903473, 0.4493766725063324, 0.7666019797325134, 0.08735667169094086, -0.2113913893699646, -0.21603715419769287, 0.45045334100723267, -0.08038043230772018, -0.057082124054431915, -0.2565689980983734, 0.15288245677947998, -0.05127023532986641, -0.5503920912742615, -0.4966631531715393, 0.20316016674041748, -0.1558855026960373, -0.16043592989444733, 0.8348895311355591, 0.38968464732170105, -0.44614869356155396, -0.48256611824035645, -0.5812807083129883, -0.3616468906402588, -0.5327200889587402, -0.025705086067318916, -0.15222488343715668, -0.591947078704834, 0.5040037035942078, -0.15389584004878998, 0.19021712243556976, 0.12896424531936646, 0.2938866913318634, 0.1774623543024063, 0.7187020182609558, 0.6186997890472412, 0.12114852666854858, 0.26975423097610474, -0.4346667230129242, 0.19424046576023102, -0.6873123049736023, -0.07682742178440094, -0.5046104192733765, -0.32785946130752563, -0.6629288196563721, -0.38052552938461304, 0.2922419011592865, 0.5670517086982727, -0.18108074367046356, 0.36918264627456665, -0.7097910046577454, 0.8189892768859863, 0.667397141456604, 0.6934660077095032, 0.809592604637146, 0.09764046967029572, 0.20251856744289398, -0.0478646419942379, -0.5975039005279541, -0.44021570682525635, 1.1613178253173828, 0.2649291157722473, 0.6387166976928711, 0.27566495537757874, 0.7738390564918518, 0.10769465565681458, 0.3946709930896759, -0.4587537348270416, 0.3463897705078125, -0.28940820693969727, -0.8167980909347534, -0.2676450312137604, -0.3425920009613037, -0.8984043598175049, 0.3379955291748047, -0.2490328699350357, -1.1280031204223633, 0.36971792578697205, 0.6102232336997986, -0.4830200672149658, 0.5232333540916443, -0.7508379817008972, 0.6056811213493347, 0.0424220934510231, -0.870815634727478, -0.03703657165169716, -0.5295114517211914, 0.7343155145645142, -0.32569247484207153, 0.2556339502334595, -0.20858806371688843, -0.29867294430732727, 0.25184792280197144, -0.8214430809020996, 0.7911415100097656, -0.19778487086296082, 0.06659875810146332, 0.19700582325458527, 0.3666854500770569, 0.7097706198692322, 0.40848875045776367, -0.23778179287910461, 0.6738584041595459, 0.20397740602493286, -0.14051039516925812, -0.6159405708312988, 0.8019317388534546, -0.6894863247871399, -0.6225771307945251, -0.21998439729213715, -0.3663496673107147, -0.2903621792793274, 0.30176040530204773, 0.40202996134757996, 0.20028717815876007, -0.09934867918491364, 0.612220823764801, 0.6794540286064148, -0.15529249608516693, 0.32033926248550415, 0.6184380054473877, -0.03718823194503784, -0.45963606238365173, 0.7999280095100403, -0.005483738612383604, 0.44381773471832275, 0.36422979831695557, 0.4781317114830017, -0.26979953050613403, -0.7765201926231384, -0.25396135449409485, 0.09715106338262558, -0.6064611673355103, -0.41613122820854187, -0.5079212784767151, -0.06778337806463242, 0.13743522763252258, -0.18552114069461823, -0.7225675582885742, -0.6558103561401367, -0.4018423557281494, 0.21320797502994537, 0.5535418391227722, 0.36635711789131165, -0.15721669793128967, 0.6771510243415833, -0.5962825417518616, 0.34121155738830566, -0.3047780990600586, 0.3780572712421417, -0.2805856168270111, -0.36433929204940796, -0.042855154722929, 0.4044918119907379, -0.48163652420043945, -0.5032944083213806, 0.3769671618938446, 0.47459954023361206, 0.5357019901275635, 0.5211522579193115, 0.5611749291419983, 0.7610980272293091, -0.23285743594169617, 0.650433361530304, -0.21423877775669098, -1.1043506860733032, 0.40753206610679626, -0.26696693897247314, 0.056612830609083176, 0.8232885003089905, 0.19268536567687988, 0.22765430808067322, -0.7886092662811279, -0.776964008808136, -0.906984806060791, 0.8251758217811584, 0.6654207110404968, -0.28831812739372253, 0.53538578748703, 0.4032842516899109, 0.3572835922241211, 0.5716322064399719, -0.5425953269004822, -0.4685972332954407, -0.3141961395740509, -0.0681995302438736, -0.21867050230503082, -0.055693142116069794, -0.3401951193809509, 0.08449174463748932, 0.7184521555900574, 0.05123216286301613, 0.1409280151128769, 0.10686678439378738, -0.18532316386699677, 0.28290754556655884, -0.024470187723636627, 0.35663068294525146, 0.44492393732070923, -0.3715287446975708, 0.04536806046962738, 0.19733519852161407, -0.6558554172515869, -0.21186690032482147, 0.2272283136844635, -0.372094064950943, -0.07302732020616531, -0.2062101811170578, 0.3836307227611542, 0.29497721791267395, -0.4582374095916748, 0.4810038208961487, -0.0032496850471943617, -0.15726880729198456, -0.296212762594223, 0.26840436458587646, -0.18300804495811462, 0.21457263827323914, -0.007355698850005865, 0.046258822083473206, 0.5704817771911621, -0.04442448914051056, -0.1338130682706833, 0.5744650363922119, -0.2866981625556946, 0.0017668347572907805, 0.9962011575698853, -0.14310428500175476, 0.0762152299284935, 0.4141353666782379, -0.12134484946727753, 0.11189301311969757, 0.5891550779342651, 0.2396053820848465, 0.9295222759246826, -0.19756723940372467, -0.16196253895759583, -0.008065000176429749, 0.5801771879196167, -0.2888125777244568, 0.2668750286102295, -0.23612365126609802, -0.38553640246391296, -0.25021806359291077, -0.4859919250011444, -0.548900306224823, 0.44909176230430603, -0.8169265389442444, 0.4031018316745758, -0.703127920627594, -0.11937177181243896, 0.021280938759446144, -0.32566511631011963, -0.5635616183280945, -0.027849417179822922, -0.17591379582881927, 0.5918156504631042, -0.34449702501296997, 0.8576524257659912, 0.20775078237056732, -0.15054075419902802, -0.5506209135055542, -0.38308772444725037, 0.0723293125629425, -0.7926878333091736, 0.12683598697185516, -0.10632863640785217, -0.2227105051279068, 0.29293587803840637, -0.5767141580581665, -0.8050717115402222, 1.0448435544967651, 0.6972266435623169, -0.7586992383003235, 0.19009195268154144, 0.2870156168937683, 0.30949413776397705, 0.20443607866764069, 0.25263354182243347, 0.36207637190818787, 0.4049374461174011, -0.37124672532081604, -0.8856093287467957, 0.2364090532064438, 0.19172577559947968, 0.019672218710184097, 0.4222623109817505, -0.5365957021713257, 0.44861286878585815, -0.18087290227413177, -0.24484634399414062, 0.4937065541744232, 0.3155602812767029, 0.13579188287258148, 0.34568366408348083, 0.29189467430114746, 0.5452843904495239, 0.70973140001297, -0.1508449763059616, 0.8430429100990295, -0.4337977468967438, 0.699062705039978, 1.613673210144043, -0.07699541002511978, 0.5848991274833679, 0.4219651520252228, 0.11942126601934433, -0.15221938490867615, 0.4618270695209503, -0.30535393953323364, 0.8929412961006165, 0.11118169128894806, 0.006495197769254446, -0.2365068942308426, -0.04231115058064461, -0.4602257311344147, 0.45549657940864563, 0.23051267862319946, -0.48401370644569397, -0.3624267876148224, 0.03162204846739769, 0.21595078706741333, -0.07222235947847366, -0.5413876175880432, 0.7095033526420593, 0.22251860797405243, -0.33784711360931396, 0.621082603931427, 0.12466016411781311, 0.17820113897323608, -0.39528778195381165, 0.16359926760196686, 0.04277653619647026, 0.6167305707931519, -0.5194101929664612, -0.520811140537262, 0.6418746709823608, -0.26227813959121704, 0.15058666467666626, -0.3168044984340668, 0.4896099865436554, -0.13964241743087769, -0.21433410048484802, -0.032201994210481644, 0.2501903772354126, 0.2428005486726761, -0.4527303874492645, -0.5809409618377686, -0.11045359820127487, -0.19916392862796783, -0.2156394124031067, 0.2617107927799225, 0.3031121492385864, -0.10421432554721832, 0.5937179327011108, 0.742581307888031, -0.07217789441347122, -0.10508593171834946, -0.17367646098136902, 0.7940019369125366, -0.19981814920902252, -0.6599684953689575, -0.9858933091163635, 0.3466424345970154, -0.1498490273952484, -0.5009846091270447, 0.9506422877311707, 0.8411740064620972, 0.5497447848320007, -0.18792465329170227, 0.6314157247543335, 0.4011838138103485, 0.4187591075897217, -0.7029750347137451, 0.9133250117301941, -0.529251217842102, 0.33516204357147217, -0.08928792178630829, -0.7310518026351929, -0.2701828181743622, 0.21427077054977417, -0.32548895478248596, -0.3395985960960388, 0.5547543168067932, 0.95526123046875, -0.432097464799881, 0.4004800021648407, 0.3248289227485657, 0.17277799546718597, 0.09214413911104202, 0.4498893618583679, 0.6433332562446594, -0.3919956088066101, 0.5691179633140564, -0.8113358020782471, -0.24511905014514923, -0.22873567044734955, -1.0971746444702148, -0.9977173209190369, -0.17698821425437927, -0.454106867313385, -0.2557598054409027, 0.2941206097602844, 0.49141064286231995, 0.7556814551353455, -0.7129518389701843, 0.17193567752838135, -0.5632691383361816, 0.089316226541996, -0.4714588522911072, -0.16438987851142883, 0.2963789403438568, 0.27718043327331543, -0.7535426616668701, 0.3130459785461426, 0.119386687874794, 0.11482586711645126, -0.4996233284473419, 0.42797794938087463, 0.4116164743900299, 0.1040937751531601, 0.11726804077625275, 0.27619922161102295, -0.7929360866546631, 0.06792506575584412, -0.25360310077667236, 0.09192000329494476, -0.13148075342178345, 0.7602781653404236, -0.5822018980979919, 0.2583116888999939, 0.1874365508556366, 0.6932839751243591, 0.7218934297561646, 0.2861984968185425, 0.4075123369693756, -0.7498829364776611, 0.4401172995567322, 0.271015465259552, 0.24395635724067688, 0.15742263197898865, -0.7797521352767944, 0.5275611281394958, -0.07090887427330017, -0.772972822189331, -1.1286993026733398, 0.18669666349887848, -0.9481651186943054, -0.31756332516670227, 1.1156187057495117, -0.37947991490364075, -0.38147661089897156, -0.30637556314468384, -0.19923081994056702, -0.025417132303118706, -0.41307955980300903, 0.8276475071907043, 0.098384790122509, 0.021826835349202156, -0.0847240686416626, -0.7294824123382568, 0.724362850189209, 0.1837874948978424, -0.8607205152511597, 0.09046726673841476, 0.1745157241821289, 0.21657100319862366, -0.1770983636379242, 0.10287509858608246, -0.05012122914195061, 0.07316047698259354, -0.12803694605827332, -0.07140085846185684, -0.7242279052734375, -0.055177051573991776, -0.286128968000412, 0.2699038088321686, -0.16858021914958954, -0.428870290517807 ]
http://arxiv.org/abs/2407.02956v1
http://arxiv.org/pdf/2407.02956v1
IncogniText: Privacy-enhancing Conditional Text Anonymization via LLM-based Private Attribute Randomization
2024-07-03T09:49:03
2024-07-03T09:49:03
Ahmed Frikha, Nassim Walha, Krishna Kanth Nakka, Ricardo Mendes, Xue Jiang, Xuebing Zhou
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
In this work, we address the problem of text anonymization where the goal is to prevent adversaries from correctly inferring private attributes of the author, while keeping the text utility, i.e., meaning and semantics. We propose IncogniText, a technique that anonymizes the text to mislead a potential adversary into predicting a wrong private attribute value. Our empirical evaluation shows a reduction of private attribute leakage by more than 90%. Finally, we demonstrate the maturity of IncogniText for real-world applications by distilling its anonymization capability into a set of LoRA parameters associated with an on-device model.
[ 0.2637820243835449, -0.8872888088226318, 0.6547297835350037, 0.26581642031669617, -0.0762803927063942, 0.27493929862976074, 0.09318891167640686, -0.8677686452865601, 0.15092159807682037, 0.824009120464325, -0.7880265712738037, -0.6616373062133789, -0.5336015224456787, -0.05278711020946503, -0.650768518447876, 1.3071990013122559, 0.10395246744155884, -0.16641834378242493, -0.32105955481529236, -0.16862528026103973, -0.07546599209308624, -0.6255269646644592, -0.5990754961967468, -0.034280914813280106, 0.5400240421295166, 0.588458776473999, 0.7596402168273926, 0.8192488551139832, 0.8328173756599426, 0.2962808907032013, -0.12403740733861923, 0.02745230682194233, -0.6462693214416504, 0.3896018862724304, -0.15747332572937012, -0.6073378324508667, -0.35344198346138, 0.19375883042812347, 0.5981501340866089, 0.02900317870080471, -0.0003181223582942039, 0.2593522071838379, -0.09262505918741226, 0.3369663655757904, -0.8748229146003723, -0.25148048996925354, -0.6784617900848389, 0.32697176933288574, -0.23648422956466675, -0.3614630699157715, -0.2752649784088135, -0.512451171875, 0.25459688901901245, -0.6429722309112549, 0.20231293141841888, 0.5420462489128113, 0.8624423742294312, 0.2881048321723938, -0.20326712727546692, -0.09888960421085358, -0.8165473937988281, 0.9191256165504456, -0.6406480073928833, 0.004748768638819456, 0.8012730479240417, -0.010666152462363243, 0.18460382521152496, -0.8062875270843506, -0.5552663803100586, -0.3818323016166687, -0.42485329508781433, 0.09931667894124985, 0.11416230350732803, 0.09395904093980789, 0.18428446352481842, 0.5958395600318909, -0.33817774057388306, 0.18649575114250183, -0.13139177858829498, -0.4819004237651825, 0.9139741063117981, 0.18365053832530975, 0.364404559135437, 0.024814270436763763, -0.6753231883049011, 0.06665543466806412, -0.6521980166435242, 0.12995484471321106, 0.8606441617012024, -0.2672719359397888, -0.1643085777759552, 0.811997652053833, -0.4258742034435272, 0.3098204433917999, 0.1712646186351776, -0.6529974937438965, -0.05555233731865883, -0.5811600685119629, -0.2652152478694916, 0.3831341564655304, 0.7167790532112122, -0.034839529544115067, -0.18085794150829315, -0.5501102209091187, 0.11989621073007584, -0.21313928067684174, -0.15426667034626007, -0.9845504760742188, -0.34671932458877563, 0.40419429540634155, -0.5397270321846008, -0.7184430360794067, -0.0517592653632164, -0.7057830095291138, -0.9494203925132751, 0.08616600930690765, 0.5457125902175903, -0.38923346996307373, 0.23709678649902344, -0.13488776981830597, -0.019039493054151535, -0.11166075617074966, 0.3112165033817291, -0.9361450672149658, 0.5382345914840698, 0.4765797555446625, 0.5256032347679138, -0.2862914800643921, -0.2088334560394287, -0.3425752520561218, 0.5652889013290405, 0.24542273581027985, 0.6357014775276184, -0.6485567688941956, -0.3182680904865265, -0.3972046971321106, -0.1812732219696045, 0.23352614045143127, -0.06569336354732513, 0.23759478330612183, -0.3289657533168793, 0.47575843334198, 0.23098815977573395, -0.5069714188575745, -0.28518128395080566, 0.17725436389446259, -0.7212924957275391, 0.8268486857414246, -0.2367241531610489, -0.8913590312004089, 0.1802932620048523, -0.48779138922691345, -0.3232276737689972, 0.041035834699869156, -0.14066343009471893, -0.731091320514679, 0.17599226534366608, 0.08964551985263824, 0.29422029852867126, -0.08514922112226486, 0.023904940113425255, -0.2705496549606323, -0.13124361634254456, 0.6746984124183655, -0.5838643312454224, 0.8198817372322083, 0.2598951756954193, -0.23789243400096893, -0.05876867473125458, -0.894773542881012, 0.14656955003738403, -0.11303742229938507, -0.07779821008443832, -0.5916509628295898, 0.017883682623505592, -0.2717551290988922, -0.13954836130142212, 0.9995936751365662, -0.9095569849014282, -0.11890121549367905, -0.45235320925712585, 0.23650310933589935, 0.7996438145637512, 0.12912620604038239, 0.8645288348197937, -0.20805998146533966, 0.46606695652008057, -0.20464469492435455, 0.3091448247432709, -0.3107541799545288, -0.5533981323242188, -0.5378068089485168, -0.7441118955612183, 0.3948342502117157, 0.8912191390991211, -0.24878427386283875, -0.1553533524274826, 0.14141012728214264, -0.24894307553768158, -0.560466468334198, 0.36823171377182007, 0.8683851957321167, 0.45595982670783997, 0.061389729380607605, -0.10717464238405228, -0.48462653160095215, -0.9807697534561157, -0.6679777503013611, -0.09264997392892838, 0.006912126671522856, 0.5712743401527405, -0.027964137494564056, -0.009837483055889606, 0.9407212138175964, -0.5500127673149109, -0.6361798644065857, -0.13774031400680542, 0.09141148626804352, -0.18326109647750854, 0.5407727956771851, 0.2787839472293854, -0.9376141428947449, -0.5828137993812561, 0.08787167072296143, -0.8008295297622681, -0.18016986548900604, -0.07516919821500778, -0.15024538338184357, 0.08355075865983963, 0.4965175986289978, -0.4913402199745178, 0.8506191372871399, 0.8733608722686768, -0.7140683531761169, 0.1319712996482849, -0.46415096521377563, 0.16691476106643677, -0.8935509920120239, -0.06097446009516716, -0.07442054152488708, -0.5604685544967651, -0.5572025179862976, 0.1488633155822754, -0.04246145859360695, -0.3090198040008545, -0.5631710290908813, 0.8326441049575806, -0.5486348271369934, 0.30738428235054016, -0.15329870581626892, 0.035727035254240036, 0.13844233751296997, 0.3509901463985443, 0.0032266261987388134, 0.7723143696784973, 0.018662139773368835, -0.401706337928772, 0.11267548054456711, 0.34293168783187866, -0.11071501672267914, 0.5772708058357239, -0.3167319893836975, 0.32196322083473206, -0.18243254721164703, -0.07945194840431213, -0.8984895944595337, -0.43619510531425476, 0.34458988904953003, -0.49421942234039307, 0.15725785493850708, 0.11295003443956375, -0.7763258814811707, 0.3132215142250061, -0.5829072594642639, 0.42115336656570435, 0.21897025406360626, -0.4482487142086029, 0.6976688504219055, 0.5462932586669922, -0.30431467294692993, -0.5252436399459839, -0.7861185669898987, 0.43857941031455994, -0.3189273178577423, -0.7225340604782104, 0.7277916669845581, -0.3064594864845276, -0.34038931131362915, 0.3980085849761963, -0.09158118069171906, -0.6375475525856018, 0.24628306925296783, 0.4095393717288971, 0.23045232892036438, 0.23167507350444794, 0.1142713874578476, 0.12984606623649597, -0.27078208327293396, -0.16091440618038177, -0.03567597642540932, -0.11533018201589584, 0.2131243646144867, 0.11314064264297485, -0.9157396554946899, 0.568282425403595, -0.41802331805229187, -0.106949083507061, 1.085585117340088, 0.2916904389858246, -0.22415052354335785, -0.24765801429748535, -0.6471749544143677, -0.2528698146343231, -0.5353167653083801, 0.1269335001707077, -0.15027788281440735, -1.1213468313217163, 0.4429750144481659, 0.25021934509277344, -0.07758282124996185, -0.13974425196647644, 0.2822687029838562, -0.22648189961910248, 0.8492390513420105, 1.1459897756576538, -0.14928916096687317, 0.5022148489952087, 0.11301714181900024, 0.5111936330795288, -0.42614254355430603, -0.32896506786346436, -0.32986006140708923, -0.3767157793045044, -0.9631050825119019, 0.06664260476827621, 0.08580887317657471, -0.33222177624702454, -0.06784282624721527, 0.26034340262413025, -0.6443914771080017, 0.7373128533363342, 0.8048689961433411, 0.5067307949066162, 0.727379560470581, 0.0794144794344902, 0.39495769143104553, -0.26427459716796875, -0.2914537489414215, -0.3617483377456665, 1.0898969173431396, 0.295261412858963, 1.024436116218567, 0.11843739449977875, 0.8455830812454224, 0.4951556622982025, 0.6764479279518127, -0.3104550838470459, 0.6607285737991333, -0.2182292491197586, -0.954147219657898, -0.4569535553455353, -0.44548657536506653, -0.5391188859939575, 0.15517747402191162, -0.23801405727863312, -1.3884423971176147, 0.21202178299427032, 0.470853328704834, -0.3786527216434479, 0.28704214096069336, -0.746500551700592, 0.6255225539207458, -0.17953579127788544, -0.5919301509857178, 0.06463949382305145, -0.6081481575965881, 0.6340183615684509, -0.17538507282733917, 0.10315528512001038, -0.28672659397125244, -0.52107173204422, 0.5798060297966003, -0.6454459428787231, 0.8613072633743286, 0.10483767092227936, -0.06353152543306351, 0.1644992232322693, 0.11926580220460892, 0.8852654695510864, 0.34191808104515076, 0.0030920659191906452, 0.18743713200092316, -0.00882057473063469, -0.10202111303806305, -0.6036143898963928, 0.8182799816131592, -0.3101649582386017, -0.6238114237785339, -0.45649296045303345, -0.6016427278518677, -0.1755780279636383, 0.21996991336345673, 0.5536385178565979, 0.06478250026702881, 0.0028805050533264875, 0.44432350993156433, 1.0483909845352173, -0.3682520389556885, 0.5177585482597351, 0.5078946948051453, 0.05520612373948097, -0.5490115880966187, 1.0089430809020996, -0.06150078773498535, 0.17696934938430786, 0.7707576751708984, 0.2346835881471634, -0.23221591114997864, -0.47524458169937134, -0.045620568096637726, 0.2384486347436905, -0.6064374446868896, -0.4108034074306488, -0.7667619585990906, -0.35832786560058594, -0.09508922696113586, -0.15321877598762512, -0.046953584998846054, -0.7713680267333984, -0.4740837812423706, -0.27055153250694275, 0.7112751007080078, 0.40262022614479065, 0.024111591279506683, 0.5519456267356873, -0.4537043571472168, 0.4441986680030823, 0.1645711064338684, 0.2943771481513977, -0.4360494315624237, -0.3735401928424835, -0.200541153550148, -0.11802910268306732, -0.1799287348985672, -0.7814476490020752, 0.509131908416748, 0.3109666109085083, 0.22148919105529785, 0.18210071325302124, 0.2243938148021698, 0.41732704639434814, -0.5043641924858093, 0.6506290435791016, 0.21729415655136108, -0.8601568341255188, 0.41615527868270874, -0.12178811430931091, 0.052275557070970535, 0.7271257042884827, -0.21472017467021942, -0.1467490941286087, -1.0214412212371826, -0.7278725504875183, -0.9742055535316467, 0.6828659772872925, 0.5751466751098633, 0.45789834856987, 0.5841982364654541, 0.33453667163848877, 0.2202487736940384, 0.569726824760437, -1.1558314561843872, -0.5385977029800415, -0.13146230578422546, -0.49741312861442566, 0.08828690648078918, -0.835763156414032, -0.14067213237285614, 0.0347282811999321, 0.49954888224601746, 0.37084269523620605, 0.2696693241596222, 0.18314671516418457, -0.13331358134746552, 0.33237436413764954, 0.26971590518951416, 0.5889614224433899, 0.40600576996803284, -0.2303914576768875, 0.18308165669441223, 0.13134238123893738, -0.9124004244804382, 0.4204557538032532, 0.2070760279893875, -0.613697350025177, 0.027968905866146088, 0.059137191623449326, 0.4877297878265381, 0.13561022281646729, -0.38949060440063477, 0.6278782486915588, -0.20647385716438293, -0.0641721710562706, -0.43645864725112915, 0.26013028621673584, -0.23278506100177765, 0.03868722915649414, 0.3692106008529663, -0.35053837299346924, 0.47748732566833496, -0.26294249296188354, -0.024396026507019997, 0.40562954545021057, -0.37916767597198486, -0.30401912331581116, 0.9779725670814514, 0.14364197850227356, -0.47582462430000305, -0.1315205991268158, -0.09064372628927231, -0.023915985599160194, 0.5325626134872437, 0.5263444781303406, 1.1763273477554321, -0.5049538612365723, 0.1138930469751358, -0.15002191066741943, 0.5553687810897827, 0.17361406981945038, 0.25626906752586365, -0.2865763306617737, -0.427920937538147, -0.11532583832740784, -0.3591165542602539, -0.6485147476196289, 0.3633810877799988, -0.2665324807167053, -0.062128946185112, -0.8278480172157288, -0.13792204856872559, -0.06148920953273773, -0.04256981611251831, -0.5588053464889526, 0.49658510088920593, -0.151368647813797, 0.56486576795578, -0.17944768071174622, 0.7312898635864258, 0.3666955828666687, -0.14223721623420715, -0.5571492910385132, 0.11644023656845093, 0.16789610683918, -0.4187367260456085, 0.6384087800979614, 0.10518534481525421, -0.23576638102531433, -0.0034022745676338673, -0.8879061341285706, -1.0492852926254272, 1.1848866939544678, 0.45854485034942627, -0.35037437081336975, -0.01033587846904993, 0.28462305665016174, 0.42587485909461975, -0.28864535689353943, -0.18393884599208832, 0.18365983664989471, 0.450074166059494, -0.46480801701545715, -0.5347383618354797, 0.31008970737457275, -0.0989084467291832, 0.18087877333164215, -0.0023728185333311558, -0.6277545094490051, 0.8181653022766113, -0.06760795414447784, -0.4213986396789551, 0.5264834761619568, 0.830376386642456, -0.1410970389842987, 0.599615216255188, -0.005358540453016758, 0.448585569858551, 0.7010470032691956, 0.22903898358345032, 1.1468321084976196, -0.2553946375846863, 0.2503245174884796, 1.3953982591629028, -0.21650998294353485, 0.528762698173523, 0.31685373187065125, 0.13803668320178986, 0.5729420185089111, 0.29886728525161743, 0.19633986055850983, 0.9264199137687683, 0.05871943011879921, -1.0116509199142456, 0.09663320332765579, -0.0628385916352272, -0.12326986342668533, 0.36462271213531494, 0.19747410714626312, -0.6006566286087036, 0.027212608605623245, 0.11068098992109299, 0.504923403263092, 0.2513009011745453, -0.27293771505355835, 0.8507555723190308, 0.1361326277256012, -0.260099858045578, -0.20740969479084015, 0.24418877065181732, 0.5568578839302063, -0.6288362145423889, 0.06318461894989014, -0.3092283010482788, 0.41773074865341187, -0.3608604669570923, -0.5040580034255981, 0.08952730894088745, 0.16098837554454803, -0.30348899960517883, -0.40946322679519653, 1.013169765472412, -0.3594849109649658, -0.539010226726532, -0.04304356500506401, 0.02254217304289341, -0.0547817163169384, 0.20828600227832794, -0.47371193766593933, -0.20290955901145935, -0.14077438414096832, -0.3131915032863617, 0.4884277880191803, 0.5177079439163208, 0.15771269798278809, 1.0164411067962646, 0.6042248606681824, -0.09835411608219147, -0.02415575459599495, -0.5035375356674194, 0.6252190470695496, -0.7701868414878845, -0.8129568099975586, -1.1329349279403687, 0.43126827478408813, -0.452679842710495, -0.3236914277076721, 1.451931118965149, 0.5962221026420593, 0.5835726857185364, 0.20598137378692627, 0.8623262643814087, 0.09032994508743286, 0.744002103805542, -0.7539956569671631, 0.9063639044761658, -0.3210090398788452, 0.6312829256057739, -0.11856580525636673, -0.6299360990524292, -0.21797268092632294, 0.29389843344688416, -0.20256349444389343, -0.19709298014640808, 0.794647216796875, 0.7823798060417175, 0.02664872817695141, -0.06646078079938889, 0.32115718722343445, -0.018381519243121147, -0.022416479885578156, 0.31473875045776367, 0.7044580578804016, -0.3104621469974518, 0.6847531199455261, -0.5020531415939331, -0.29591819643974304, -0.04646668583154678, -1.181963324546814, -0.9167650938034058, -0.10403645038604736, -0.40531623363494873, -0.4967513680458069, 0.33850061893463135, 0.029340071603655815, 0.6369479298591614, -0.6075940132141113, -0.07642542570829391, 0.0006431944202631712, 0.41476672887802124, 0.08063861727714539, -0.1922091692686081, 0.12725841999053955, 0.07216358929872513, -0.523200511932373, 0.17925338447093964, 0.5397636890411377, 0.1914750635623932, -0.5279508233070374, 0.12200172990560532, 0.10140136629343033, 0.5860483646392822, 0.4072072505950928, 0.5440413951873779, -0.4648592472076416, -0.35150524973869324, -0.10086134076118469, -0.29329806566238403, 0.018001116812229156, 0.7204858064651489, -0.7135891318321228, 0.35642603039741516, 0.37890374660491943, 0.48891115188598633, 0.517514169216156, 0.2978439927101135, 0.36057424545288086, -0.9985561966896057, 0.5483956933021545, 0.14950062334537506, -0.0674075037240982, 0.2920236587524414, -1.001006007194519, 0.3339725732803345, 0.035549696534872055, -0.40088075399398804, -1.0047308206558228, 0.25105714797973633, -0.621109127998352, -0.21704834699630737, 1.0736438035964966, -0.33160433173179626, -0.4423407018184662, -0.12093174457550049, -0.2519564628601074, -0.37530797719955444, -0.5439699292182922, 0.9839819669723511, 0.4054130017757416, 0.02493010275065899, -0.354096382856369, -0.47383591532707214, 0.9192979335784912, 0.10804371535778046, -1.0808706283569336, -0.37627583742141724, 0.24317066371440887, 0.2876797318458557, -0.11120670288801193, 0.9915540814399719, -0.024204228073358536, 0.26635053753852844, -0.2064959555864334, -0.2733166217803955, -0.12797978520393372, -0.27248460054397583, -0.07361265271902084, 0.18237534165382385, -0.21364432573318481, -0.29423588514328003 ]
http://arxiv.org/abs/2407.02943v1
http://arxiv.org/pdf/2407.02943v1
PII-Compass: Guiding LLM training data extraction prompts towards the target PII via grounding
2024-07-03T09:20:04
2024-07-03T09:20:04
Krishna Kanth Nakka, Ahmed Frikha, Ricardo Mendes, Xue Jiang, Xuebing Zhou
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
The latest and most impactful advances in large models stem from their increased size. Unfortunately, this translates into an improved memorization capacity, raising data privacy concerns. Specifically, it has been shown that models can output personal identifiable information (PII) contained in their training data. However, reported PIII extraction performance varies widely, and there is no consensus on the optimal methodology to evaluate this risk, resulting in underestimating realistic adversaries. In this work, we empirically demonstrate that it is possible to improve the extractability of PII by over ten-fold by grounding the prefix of the manually constructed extraction prompt with in-domain data. Our approach, PII-Compass, achieves phone number extraction rates of 0.92%, 3.9%, and 6.86% with 1, 128, and 2308 queries, respectively, i.e., the phone number of 1 person in 15 is extractable.
[ -0.4487364590167999, -0.32120639085769653, 0.5347780585289001, 0.1694760024547577, -0.21885761618614197, -0.05626097321510315, -0.11265257000923157, -0.29586878418922424, -0.20786026120185852, 0.29609981179237366, -0.5737327337265015, -0.7030717134475708, -0.5223809480667114, 0.1170172393321991, -0.06605473160743713, 0.8906824588775635, 0.6160992383956909, 0.3996010422706604, 0.07085620611906052, 0.1411823332309723, -0.6111668348312378, -0.8935326933860779, -0.4503471553325653, -0.40198037028312683, 0.4192202091217041, 0.9539133906364441, 0.4384477138519287, 0.7590553164482117, 0.6921104192733765, 0.16135545074939728, -0.09297098219394684, 0.06186921149492264, -0.6033037304878235, -0.03751698136329651, -0.3171117603778839, -0.5036207437515259, -0.614149808883667, 0.49253523349761963, 0.6292843222618103, 0.6787050366401672, 0.2740668058395386, 0.1865447610616684, -0.2038734406232834, 0.8833243250846863, -0.588261604309082, -0.0014091826742514968, -0.9189764857292175, -0.023319510743021965, -0.21470868587493896, -0.4482036232948303, -0.5942209362983704, -0.11096883565187454, 0.2910946011543274, -0.519420862197876, 0.2650451958179474, 0.24682050943374634, 1.0087931156158447, -0.03064533695578575, -0.11760008335113525, -0.3516530692577362, -0.5532084107398987, 0.7418041825294495, -0.3611384928226471, 0.29240846633911133, 0.723452091217041, 0.43616026639938354, -0.08093363791704178, -0.3560279607772827, -0.09964491426944733, -0.04242987185716629, 0.09327671676874161, 0.1535608023405075, 0.22133272886276245, -0.16082239151000977, 0.8375905752182007, 0.49704739451408386, -0.0526900589466095, 0.1072402149438858, -0.5765363574028015, 0.16141065955162048, 0.9033031463623047, 0.08395969122648239, 0.24411624670028687, 0.04311491549015045, -0.1747273951768875, 0.05053501948714256, -1.247227668762207, 0.23813527822494507, 0.3694070875644684, 0.47356078028678894, 0.005356340203434229, 0.6363023519515991, -0.3851219415664673, 0.4651917517185211, 0.7217464447021484, -0.22673100233078003, 0.2512546181678772, -0.031097188591957092, -0.10108786076307297, 0.2880569398403168, 0.6632047891616821, 0.4927939772605896, 0.33996620774269104, -0.6994515061378479, -0.022501537576317787, -0.34654900431632996, 0.1768958866596222, -0.9699242115020752, -0.2622031569480896, 0.2694917619228363, -0.3019822835922241, -0.5725745558738708, 0.837722897529602, -0.8913514018058777, -0.613090455532074, -0.2789520025253296, -0.1324462592601776, -0.5818914175033569, -0.3176293671131134, -0.08053341507911682, -0.10681962221860886, 0.6689582467079163, 0.3783920407295227, -0.9010598659515381, 0.25242915749549866, 0.9400352835655212, 0.8695457577705383, -0.7371802926063538, 0.15611425042152405, -0.9255292415618896, -0.02866222895681858, -0.2184811383485794, 0.4377526342868805, -0.5215086936950684, -0.7776961326599121, -0.37197044491767883, 0.1557600349187851, -0.20346054434776306, -0.9354318380355835, 0.3264559805393219, -0.6737890839576721, 0.2480252981185913, -0.49356305599212646, -0.48481136560440063, -0.03862563893198967, 0.11885502934455872, -0.47894376516342163, 1.0276949405670166, 0.007933646440505981, -0.7166261672973633, 0.22054442763328552, -0.588770866394043, -0.23870661854743958, 0.03861425817012787, -0.20896777510643005, -0.7472267746925354, 0.27057743072509766, 0.3022076189517975, 0.7366183996200562, -0.6560772657394409, 0.43966594338417053, -0.3699128329753876, -0.5653021335601807, 0.4216528832912445, -0.2585070729255676, 0.9267491698265076, 0.4244999587535858, -0.6562544107437134, -0.3840886056423187, -1.1766059398651123, 0.15233977138996124, -0.0421382337808609, -0.31458035111427307, -0.37940067052841187, -0.44536635279655457, -0.6973389387130737, 0.21535085141658783, -0.031018394976854324, -0.5395493507385254, 0.05385424569249153, -0.4570823609828949, 0.11684852093458176, 0.5489498376846313, 0.24504204094409943, 0.8674298524856567, -0.3435044288635254, 0.27480843663215637, 0.14215809106826782, -0.3249024748802185, -0.40894392132759094, -0.5230808258056641, -0.5930554866790771, -0.7311580777168274, 0.20859357714653015, 0.5947390794754028, -0.33489173650741577, 0.7307957410812378, -0.6674245595932007, -0.6150863170623779, -0.10640580952167511, 0.05343717709183693, 0.5035158395767212, 0.700563371181488, 0.04460251331329346, -0.1436491310596466, -0.27393704652786255, -0.5861318707466125, -0.6129761934280396, -0.017171122133731842, -0.1424255073070526, 0.5363390445709229, 0.1277628093957901, 0.11559020727872849, 1.3986430168151855, -0.39659976959228516, -0.09202072769403458, -0.2265474498271942, 0.010093067772686481, 0.6275724172592163, 0.7115411162376404, 0.2152022421360016, -1.168812870979309, -0.6718906760215759, 0.06103892996907234, -0.9710983037948608, -0.3569319546222687, -0.452311635017395, -0.425062894821167, -0.5472980737686157, 0.05698152631521225, -0.6294336915016174, 0.7558043003082275, -0.18922628462314606, -0.26967912912368774, 0.2213590294122696, 0.06885340809822083, -0.06505947560071945, -0.8890511989593506, 0.1911293864250183, 0.1890009641647339, -0.22886577248573303, -0.8548464775085449, -0.18698996305465698, 0.3473086953163147, -0.4195258617401123, -0.5905777812004089, 0.2922055721282959, -0.8994795083999634, -0.4088227152824402, -0.12353658676147461, -0.07593715935945511, -0.07570569217205048, 0.4468331038951874, 0.016787396743893623, 1.2613123655319214, 0.5753186345100403, -0.904219388961792, 0.05416826531291008, 0.12107715010643005, 0.051006730645895004, 0.5815890431404114, -0.4492751955986023, 0.5348529815673828, -0.05199947953224182, -0.22682097554206848, -0.8385161757469177, -0.3027646839618683, 0.5381752848625183, -0.4383639395236969, 0.38994279503822327, -0.4172501564025879, -0.004933077376335859, 0.0655817911028862, -0.32974332571029663, 0.25385817885398865, 0.5539107918739319, -0.8736107349395752, 0.7024394273757935, 0.5009146332740784, -0.09275709837675095, -0.20973363518714905, -0.16120946407318115, -0.03006197325885296, -0.8056723475456238, -0.38511383533477783, 0.29617902636528015, 0.09541808813810349, -0.43817153573036194, -0.6696836948394775, -0.16912363469600677, -0.283450186252594, 0.3914356529712677, 0.9015536904335022, 0.36318501830101013, 0.05617216229438782, 0.05971459671854973, -0.2239864021539688, -0.47978001832962036, 0.3713591694831848, -0.14830540120601654, 0.45152318477630615, -0.2728540599346161, -0.3489826023578644, -0.8814197778701782, 0.41328734159469604, 0.6545567512512207, -0.24747727811336517, 0.49473288655281067, 0.12788046896457672, -0.38509833812713623, 0.18558254837989807, -0.6347041726112366, -0.10782891511917114, -0.5124832987785339, -0.033790793269872665, -0.7937740087509155, -0.1738237738609314, 0.3249816596508026, -0.8578330278396606, -0.05781381577253342, 0.3226052224636078, 0.3246861696243286, 0.04897769168019295, 0.9299495816230774, 0.6706718802452087, -0.32139673829078674, 0.6214967370033264, -0.5291873216629028, 0.1402149498462677, -1.0098857879638672, -0.40685856342315674, -0.3674866557121277, 0.24515490233898163, -0.06481429934501648, 0.0039200251922011375, 0.5332788228988647, 0.3504873216152191, -0.1745777279138565, 0.22365282475948334, -0.5755876898765564, 0.5755723714828491, 0.609389066696167, 0.38903069496154785, 0.3382504880428314, 0.43268442153930664, 0.24854835867881775, -0.36148107051849365, -0.4016723930835724, -0.685364842414856, 1.329050898551941, 0.547866940498352, 0.5951701402664185, -0.018979735672473907, 0.8545063734054565, 0.09118470549583435, 0.6330280303955078, -0.8225901126861572, 0.4207666218280792, 0.21501141786575317, -0.5230459570884705, -0.17778833210468292, -0.36715978384017944, -0.6457173228263855, 0.4454432427883148, -0.24396692216396332, -0.7963156700134277, 0.5055692195892334, -0.01866818778216839, -0.55824214220047, 0.11386185884475708, -0.8140303492546082, 0.32648807764053345, -0.41384848952293396, -0.578130304813385, 0.3462923765182495, -0.6780871152877808, 0.27689996361732483, -0.2701226472854614, 0.21488843858242035, -0.4574908912181854, 0.1573570966720581, 0.6786478161811829, -0.6105048656463623, 0.9215787649154663, -0.44862887263298035, -0.010534013621509075, 0.3793316185474396, -0.24090027809143066, 0.7392619252204895, 0.19252867996692657, -0.474417120218277, 0.4237574636936188, -0.42782357335090637, -0.08391090482473373, -0.5919472575187683, 0.3908258378505707, -0.7401710748672485, -0.6495556235313416, -0.33795779943466187, -0.24451440572738647, -0.2642768621444702, 0.2722826898097992, 0.6705215573310852, 0.3879113495349884, -0.09413162618875504, 0.11624918133020401, 0.9038029313087463, -0.008963964879512787, 0.3351728916168213, 0.3914497196674347, 0.32124289870262146, -0.6276773810386658, 1.0988082885742188, 0.05809716880321503, 0.08436683565378189, 0.015429171733558178, 0.2571987509727478, -0.14416883885860443, -0.4736318588256836, -0.37785395979881287, 0.49541953206062317, -0.6739088892936707, -0.3283374607563019, -0.533595085144043, -0.12264218181371689, -0.37899050116539, -0.18723087012767792, -0.3990594148635864, -0.3789156675338745, -0.8413815498352051, -0.11019930243492126, 0.1657484471797943, 0.5268186926841736, 0.1277010291814804, 0.78115314245224, -0.7712028622627258, 0.16337206959724426, 0.021102234721183777, -0.13516630232334137, -0.31072965264320374, -0.6181135773658752, -0.15448813140392303, 0.10722608119249344, -0.19707408547401428, -0.9137505888938904, 0.5722706317901611, 0.28261154890060425, 0.2991938889026642, 0.5994572043418884, 0.3168877065181732, 1.2086600065231323, -0.5469207763671875, 0.5621641874313354, 0.5030366778373718, -0.8750739097595215, 0.5913954377174377, -0.2313971370458603, -0.07500136643648148, 0.7357978224754333, 0.5371052026748657, -0.16594906151294708, 0.12464120239019394, -0.7810559868812561, -0.7161505222320557, 0.6677792072296143, -0.003509089583531022, -0.1929357498884201, 0.11371783167123795, 0.8764851689338684, 0.054562635719776154, 0.09433314204216003, -0.4957265555858612, -0.2060175985097885, 0.07379889488220215, -0.2665426731109619, 0.2319316267967224, -0.464866042137146, -0.20400641858577728, -0.24239157140254974, 0.5506913065910339, -0.1378544718027115, 0.4113140404224396, 0.46838614344596863, -0.3248956501483917, 0.09789350628852844, -0.02837260067462921, 0.22260737419128418, 0.6830430626869202, -0.12219587713479996, 0.10489662736654282, 0.2940724790096283, -0.6279637813568115, 0.21770255267620087, -0.22878165543079376, -0.25835341215133667, -0.08193033188581467, 0.25888949632644653, 0.3073723018169403, 0.045333731919527054, -0.5265613198280334, 0.9666624665260315, -0.17285193502902985, -0.11619027704000473, -0.7580295205116272, 0.2670328617095947, -0.5464722514152527, 0.06646817922592163, 0.7335996627807617, -0.18602149188518524, 0.16583426296710968, -0.15270651876926422, 0.409475713968277, 0.6060840487480164, -0.26012271642684937, -0.4708702862262726, 0.5666579604148865, 0.22446638345718384, -0.48831045627593994, 0.672235906124115, 0.004775424487888813, -0.49620646238327026, 0.4787457585334778, 0.6251137852668762, 0.7345762252807617, -0.09271195530891418, -0.14077644050121307, 0.5381580591201782, -0.18084381520748138, -0.20225019752979279, 0.17260409891605377, -0.17801672220230103, -0.517620861530304, 0.2119828760623932, 0.1449410766363144, -0.42970699071884155, -0.1903921663761139, -1.1468936204910278, 0.5182281732559204, -0.8586655855178833, -0.21887819468975067, -0.1247573122382164, 0.22743798792362213, -0.6238069534301758, 0.36590030789375305, 0.27147775888442993, 0.8225902915000916, -0.6326472759246826, 0.8776497840881348, 0.3864411413669586, 0.02931550331413746, -0.8750672340393066, -0.1517125815153122, 0.07537629455327988, -0.7604497075080872, 1.026358962059021, 0.6966232657432556, -0.319498747587204, 0.13195504248142242, -0.8448382019996643, -1.0438494682312012, 1.3310774564743042, 0.20687457919120789, -0.5145459771156311, -0.036991775035858154, 0.29052454233169556, 0.03644001483917236, -1.0074294805526733, 0.279043585062027, 0.7127202749252319, 0.16344590485095978, 0.22338594496250153, -0.4058607518672943, 0.022334560751914978, -0.3051922023296356, -0.03954378142952919, -0.37692174315452576, -0.4646565318107605, 0.7961509823799133, -0.24242551624774933, -0.7482042908668518, 0.122711680829525, 0.5767298340797424, 0.2559202313423157, 0.5761386752128601, 0.4956565797328949, 0.3363029956817627, 1.2861735820770264, -0.16148197650909424, 0.8877860307693481, -0.43532949686050415, 0.11826831847429276, 1.0301313400268555, -0.3631337583065033, 0.5133757591247559, 0.4948958158493042, 0.21646219491958618, 0.0447603240609169, 0.7858290672302246, -0.025340693071484566, 0.7839503884315491, 0.12567396461963654, -0.3070284426212311, -0.16830287873744965, 0.21684211492538452, -0.2661135196685791, 0.30651047825813293, 0.5188814997673035, -0.503336489200592, -0.0873662531375885, 0.012736758217215538, 0.239012211561203, -0.22672484815120697, -0.25510698556900024, 1.011173129081726, 0.019478417932987213, -0.5942055583000183, 0.7686561942100525, 0.0014537251554429531, 0.48417556285858154, -0.23501771688461304, -0.22140927612781525, -0.18995538353919983, 0.14981524646282196, -0.34461578726768494, 0.03424743562936783, 0.04827088490128517, 0.2673477232456207, -0.18420113623142242, -0.38239026069641113, 0.7255063056945801, -0.2752801477909088, -0.2884559631347656, -0.2629709243774414, 0.48616066575050354, 0.6217167377471924, -0.4952026307582855, -0.6397921442985535, 0.08109258860349655, 0.13156750798225403, -0.15527702867984772, 0.37415561079978943, 0.5118526220321655, 0.029561322182416916, 0.7633348107337952, 1.0011074542999268, 0.1606721431016922, 0.2569360136985779, -0.3880179524421692, 1.2794253826141357, -0.9854654669761658, -0.4345930814743042, -1.0927772521972656, 0.5430068373680115, -0.7001357674598694, -0.3779660165309906, 0.9487490653991699, 0.69361811876297, 0.4833797514438629, 0.11721450090408325, 0.7188456058502197, 0.1936948001384735, 0.7951513528823853, -0.45259973406791687, 0.42418989539146423, 0.120250403881073, 0.8095992803573608, -0.04963793605566025, -0.6616556644439697, -0.39869171380996704, 0.7906970381736755, -0.7229917049407959, -0.4609552025794983, 0.43512266874313354, 0.8751021027565002, 0.027640236541628838, 0.15323211252689362, 0.3249916136264801, -0.339204341173172, 0.5735580921173096, 0.39220115542411804, 0.887948751449585, -0.701621413230896, 0.09743451327085495, -0.4509875178337097, -0.5349622964859009, 0.00011112634820165113, -0.861586332321167, -1.2442901134490967, 0.048367682844400406, -0.30554667115211487, -0.3324546217918396, -0.07231488823890686, 0.8467847108840942, 0.9973936080932617, -0.777656078338623, -0.209411159157753, -0.11679019778966904, 0.19710689783096313, 0.05527034029364586, -0.17936238646507263, 0.389723002910614, -0.32657310366630554, -0.7619162797927856, 0.6421427726745605, 0.04044002294540405, 0.2628885507583618, 0.2181512862443924, -0.1270095556974411, 0.2603655457496643, -0.5259695649147034, 0.26271703839302063, 0.43645018339157104, -0.43918630480766296, -0.09273044019937515, 0.08615117520093918, -0.14532621204853058, 0.3629680573940277, 1.1547346115112305, -0.6682576537132263, 0.2238491326570511, -0.07695914059877396, 0.9400519728660583, 0.2554710805416107, 0.8304322957992554, 0.8199961185455322, -0.5559471845626831, 0.3102421164512634, 0.03209485486149788, 0.10407862067222595, 0.3169771432876587, -1.060680866241455, 0.7411133646965027, 0.4509158134460449, -0.26227831840515137, -0.7395257949829102, -0.03791790083050728, -0.6667791604995728, 0.0988030657172203, 1.3231306076049805, -0.640530526638031, -0.43218451738357544, -0.2275438755750656, -0.3469945788383484, -0.10252338647842407, -0.3759576976299286, 0.645048975944519, 0.5354431867599487, -0.12588118016719818, -0.09390705823898315, -0.09939397871494293, 0.415465772151947, 0.26533907651901245, -0.6480221152305603, 0.17266526818275452, 0.44966402649879456, 0.4114351272583008, 0.23280124366283417, 0.6971971988677979, -0.4411405920982361, 0.13904105126857758, -0.2869167625904083, -0.2432442009449005, -0.2951849699020386, -0.6248195767402649, -0.7691591382026672, 0.3338487446308136, -0.15020723640918732, -0.42556673288345337 ]
http://arxiv.org/abs/2407.02937v1
http://arxiv.org/pdf/2407.02937v1
Probing the Feasibility of Multilingual Speaker Anonymization
2024-07-03T09:12:53
2024-07-03T09:12:53
Sarina Meyer, Florian Lux, Ngoc Thang Vu
cs.CL
cs.CL, cs.SD, eess.AS
In speaker anonymization, speech recordings are modified in a way that the identity of the speaker remains hidden. While this technology could help to protect the privacy of individuals around the globe, current research restricts this by focusing almost exclusively on English data. In this study, we extend a state-of-the-art anonymization system to nine languages by transforming language-dependent components to their multilingual counterparts. Experiments testing the robustness of the anonymized speech against privacy attacks and speech deterioration show an overall success of this system for all languages. The results suggest that speaker embeddings trained on English data can be applied across languages, and that the anonymization performance for a language is mainly affected by the quality of the speech synthesis component used for it.
[ -0.27576515078544617, -0.7858365178108215, 0.2392554134130478, 0.2007930874824524, 0.08236941695213318, 0.2713480293750763, -0.4595435857772827, -0.8064942359924316, 0.41869059205055237, 0.4102729260921478, -0.22709792852401733, -0.3910630941390991, -0.4946783483028412, 0.3247236907482147, -0.48879382014274597, 0.612458348274231, 0.4022250771522522, 0.3880365788936615, 0.1794952005147934, -0.33342400193214417, -0.3623780310153961, -0.8755197525024414, -0.42909467220306396, -0.12726189196109772, 0.35240331292152405, 0.2565460801124573, 0.8708036541938782, 0.7606638073921204, 0.11853349953889847, 0.36654332280158997, -0.00797202903777361, 0.12992727756500244, -0.33224576711654663, 0.20828962326049805, -0.31301048398017883, -0.3517763018608093, -0.2747950851917267, 0.030909642577171326, 1.0132081508636475, 0.7569947838783264, -0.16480836272239685, -0.13173648715019226, -0.00007536615885328501, 0.2378968596458435, -0.6470831036567688, 0.20712164044380188, -0.4843944013118744, 0.04392372816801071, -0.47794297337532043, -0.12149346619844437, -0.5216078758239746, -0.378741592168808, -0.09515653550624847, -0.22783444821834564, 0.1437850445508957, 0.1193958967924118, 0.6691123247146606, -0.1474127322435379, -0.35359901189804077, -0.23565353453159332, -1.1718569993972778, 0.7063421010971069, -0.5788072943687439, 0.7519674897193909, 0.5144946575164795, 0.4568682909011841, 0.15116682648658752, -0.22851717472076416, -0.4423566460609436, -0.22266386449337006, -0.25112685561180115, -0.11325817555189133, -0.047858498990535736, -0.05589951574802399, 0.018415816128253937, 0.33525151014328003, -0.43750321865081787, 0.1640017330646515, -0.2800651490688324, -0.535280704498291, 0.7925641536712646, -0.2959446310997009, 0.7249878644943237, 0.10410331934690475, -0.2733423411846161, -0.16261135041713715, -0.5957033634185791, -0.08644198626279831, 0.7767288684844971, 0.5533118844032288, -0.03254405036568642, 0.3861102759838104, -0.10477691888809204, 0.4900935888290405, -0.25704634189605713, -0.6606760621070862, 0.3357996344566345, -0.3768221139907837, 0.27955323457717896, 0.36992147564888, 0.7026515007019043, -0.0032568250317126513, 0.11362946778535843, -0.4136350452899933, 0.03860880807042122, 0.08567989617586136, -0.08594727516174316, -0.5197502970695496, -0.2369552105665207, 0.2000734806060791, -0.18720823526382446, 0.18994885683059692, 0.06215645745396614, -0.5703256130218506, -0.4493066370487213, 0.1250855177640915, 0.4897281229496002, -0.5299202799797058, -0.5308217406272888, 0.18382686376571655, -0.03424501046538353, -0.01294722594320774, 0.05787912756204605, -0.9868791699409485, 0.3497605621814728, 0.5904031991958618, 0.5173646211624146, -0.10766472667455673, -0.7024475336074829, -0.34917351603507996, 0.38798534870147705, -0.3862903416156769, 0.5611039400100708, -0.7800576090812683, -0.4135640263557434, 0.18664856255054474, 0.2923000752925873, -0.21254287660121918, -0.3214147388935089, -0.13316906988620758, -0.24864619970321655, 0.3963688313961029, -0.16186374425888062, -0.48852860927581787, -0.10941216349601746, 0.22728179395198822, -0.6525949239730835, 0.4547312259674072, -0.388683944940567, -0.8309539556503296, 0.00727074546739459, -0.2951340675354004, -0.617408812046051, -0.03985277935862541, -0.2339319884777069, -0.3711056411266327, -0.009219789877533913, 0.13573689758777618, 0.30438119173049927, 0.04139883443713188, 0.16947878897190094, -0.1503312885761261, -0.12110505998134613, 0.4923064410686493, -0.5215851068496704, 0.9012688994407654, 0.15754161775112152, -0.1878538578748703, -0.38064509630203247, -0.8769204020500183, -0.3228723108768463, -0.01008843258023262, -0.3146394193172455, -0.2700372636318207, 0.0825154259800911, -0.047158610075712204, -0.16207031905651093, 0.3369280695915222, -1.0832749605178833, -0.056961603462696075, -0.5928652882575989, 0.39439064264297485, 0.4284217655658722, 0.1859256625175476, 0.49478957056999207, -0.24315649271011353, 0.6946141123771667, -0.19531193375587463, 0.02521049790084362, -0.547677755355835, -0.5775230526924133, -0.5294175744056702, -0.44438546895980835, 0.60610431432724, 0.789814829826355, -0.5136485695838928, -0.08203825354576111, -0.2814977169036865, -0.28762301802635193, -0.7809527516365051, -0.014823083765804768, 0.5299824476242065, 0.21625740826129913, 0.18899784982204437, -0.28066954016685486, -0.4219885766506195, -1.1011065244674683, -0.5038135647773743, -0.21424421668052673, 0.02584458515048027, 0.25182467699050903, -0.01897514797747135, -0.004862010944634676, 0.6215932965278625, -0.1070384532213211, -0.3404931426048279, -0.08314616978168488, -0.38545742630958557, -0.04537738114595413, 0.6295590400695801, 0.5994321703910828, -0.7276894450187683, -0.6985418200492859, 0.4064387381076813, -0.5278862118721008, 0.17436832189559937, -0.210740327835083, 0.11878383159637451, -0.018018309026956558, 0.42509526014328003, -0.16047325730323792, 0.4526746869087219, 0.8748012185096741, -0.19041207432746887, 0.22861860692501068, -0.4500778317451477, 0.24915851652622223, -1.0869536399841309, -0.0439847856760025, -0.411404013633728, -0.34109339118003845, -1.104516625404358, -0.017018863931298256, 0.06036032363772392, -0.5203892588615417, -0.5666946172714233, 0.5602983236312866, -0.5904265642166138, -0.022326845675706863, -0.16975605487823486, -0.07371623814105988, -0.14057374000549316, 0.216125026345253, -0.025836210697889328, 0.6813567876815796, 1.0869158506393433, -0.39051952958106995, 0.1709621548652649, 0.27528953552246094, -0.21660980582237244, 0.5041609406471252, -0.27380919456481934, 0.3222869336605072, -0.32726672291755676, -0.19175709784030914, -1.093203067779541, -0.34108299016952515, -0.02932925708591938, -0.6426783204078674, 0.6371946930885315, -0.19164757430553436, -0.2874091565608978, 0.4273524284362793, -0.21032121777534485, 0.36086422204971313, 0.1473243534564972, -0.7078272104263306, 0.5078707933425903, 0.7585993409156799, -0.5601548552513123, -0.585066020488739, -0.9309849143028259, 0.6529096961021423, -0.25634169578552246, -0.5642731785774231, 0.35039493441581726, -0.115301713347435, -0.2688920497894287, -0.03329632058739662, 0.22393977642059326, -0.3475053608417511, -0.005800873972475529, -0.12750963866710663, -0.24012991786003113, 0.10166970640420914, 0.19572991132736206, -0.059917330741882324, -0.2578451931476593, -0.11742322891950607, -0.12554848194122314, 0.37929221987724304, 0.25192391872406006, -0.40695351362228394, -0.7398285865783691, 0.9875433444976807, 0.3637141287326813, -0.5072469115257263, 0.8366590142250061, 0.37404876947402954, -0.48994332551956177, -0.2487160861492157, -0.781847357749939, -0.06756153702735901, -0.4595932066440582, 0.3049885630607605, -0.5200731754302979, -0.8984330296516418, 0.6627001166343689, -0.018719526007771492, 0.10210484266281128, -0.015196106396615505, 0.1948997974395752, 0.19937214255332947, 1.0523878335952759, 0.8579525947570801, -0.26960310339927673, 0.36921223998069763, 0.2277115136384964, 0.4553358554840088, -0.17359445989131927, -0.2812572121620178, -0.8287730813026428, 0.014099853113293648, -1.1881940364837646, -0.1719893515110016, 0.3796282112598419, -0.3976152837276459, 0.20756833255290985, 0.32415640354156494, -0.34850743412971497, 0.6184676289558411, 0.4896930456161499, 0.0939190462231636, 0.30194926261901855, 0.22895416617393494, 0.12659922242164612, -0.0872618779540062, -0.41654664278030396, -0.3992205262184143, 0.7532062530517578, 0.34818798303604126, 0.642306387424469, 0.3316113352775574, 0.8713081479072571, 0.16493751108646393, -0.1599659025669098, -0.4943404197692871, 0.3379252851009369, -0.2743188738822937, -0.7374861240386963, -0.6110215783119202, -0.3435007929801941, -1.0786364078521729, 0.4349663555622101, 0.013535791076719761, -1.0573018789291382, 0.39249637722969055, 0.11442600935697556, 0.10372171550989151, 0.24723251163959503, -0.7362473607063293, 0.5092059969902039, -0.032284390181303024, -0.12765610218048096, -0.21941284835338593, -0.5553188920021057, 0.0037355313543230295, -0.22524558007717133, 0.7984705567359924, -0.12207530438899994, 0.1550602912902832, 0.7392457723617554, -0.2498869150876999, 0.7915962338447571, -0.29768118262290955, -0.11059793829917908, -0.1360439658164978, 0.09930182248353958, 0.2653149366378784, 0.20823119580745697, -0.2846595048904419, 0.3694727122783661, -0.10909118503332138, -0.6350056529045105, -0.4423225224018097, 0.7798363566398621, -0.49451059103012085, -0.7040331363677979, -0.0333767831325531, -0.3858005106449127, -0.47398969531059265, 0.26674655079841614, 0.044744547456502914, 0.33294326066970825, -0.22585776448249817, 0.29801061749458313, 0.38947877287864685, -0.3804117739200592, 0.6963781118392944, 0.5758123993873596, 0.020249145105481148, -0.5849488973617554, 1.026254653930664, 0.37563398480415344, 0.04509229212999344, 0.377017080783844, 0.4254557490348816, -0.3435911238193512, -0.46371081471443176, -0.38960132002830505, 0.4453338086605072, -0.6534567475318909, 0.22855164110660553, -0.4847365915775299, -0.012698124162852764, -0.5398495197296143, -0.023491958156228065, -0.666510283946991, -0.8479101657867432, 0.09524902701377869, -0.3166525363922119, -0.04227165877819061, 0.9244915843009949, -0.27637168765068054, 0.0018394769867882133, -0.6175318956375122, 0.19836275279521942, 0.4796302616596222, 0.14846917986869812, -0.25582554936408997, -0.4116634726524353, -0.33461815118789673, 0.026261359453201294, 0.12889236211776733, -1.106342077255249, 0.3888033628463745, 0.7021925449371338, 0.7207434177398682, 0.11016640812158585, -0.04428952932357788, 0.5820673704147339, -0.8905762434005737, 0.8359024524688721, 0.14670732617378235, -0.9413662552833557, 0.6337561011314392, -0.11378473788499832, 0.2725844979286194, 0.313810259103775, 0.23162630200386047, -0.4392971694469452, -0.8068044781684875, -0.5157102346420288, -0.723756730556488, 0.7269615530967712, 0.186685711145401, 0.5596070289611816, 0.2927245795726776, 0.06330038607120514, 0.38680654764175415, 0.15236900746822357, -0.5780518651008606, -0.5904452800750732, -0.19900357723236084, 0.238839790225029, -0.5432950258255005, -0.20350900292396545, -0.09516621381044388, -0.11640351265668869, 0.4977481961250305, 0.23912961781024933, 0.15058305859565735, 0.04580395668745041, -0.09846167266368866, 0.33858242630958557, 0.6143072843551636, 0.5018932819366455, 0.710451066493988, 0.18257580697536469, 0.4144233167171478, -0.03188977763056755, -0.3402296304702759, 0.4573062062263489, 0.2257145494222641, -0.3657112419605255, 0.4169749617576599, 0.29957282543182373, 0.6440352201461792, -0.08048290014266968, -0.180213063955307, 0.4159259796142578, -0.07943452894687653, -0.060010816901922226, -0.14770719408988953, -0.12789286673069, 0.112327441573143, -0.028200019150972366, 0.2743535339832306, -0.11342839896678925, 0.09259428083896637, -0.6362732648849487, 0.28838011622428894, 0.24659588932991028, -0.04679970443248749, -0.6944529414176941, 0.7926008701324463, 0.04144292697310448, -0.7332900762557983, 0.006816069129854441, -0.20495054125785828, -0.3325245678424835, -0.02204957976937294, 0.7271443009376526, 0.7501009702682495, -1.1191128492355347, 0.2880572974681854, 0.24131973087787628, 0.39507102966308594, 0.08598995208740234, 0.44104012846946716, -0.06479004770517349, -0.7636916041374207, -0.25736284255981445, -0.3275909721851349, -0.6671698689460754, -0.12582768499851227, -0.7518513798713684, -0.17003780603408813, -0.31264644861221313, -0.17355231940746307, 0.17082597315311432, -0.4566109776496887, -0.5482270121574402, 0.04733888804912567, 0.34623274207115173, 0.2782878279685974, -1.0826984643936157, 1.0285918712615967, 0.8502781391143799, 0.21952411532402039, -0.48825985193252563, -0.10558545589447021, 0.03819093853235245, -0.6290707588195801, 0.12888365983963013, 0.026502186432480812, -0.12966835498809814, -0.1442853808403015, -0.12218184024095535, -0.8935840129852295, 0.5485715866088867, 0.9440609216690063, -0.37515661120414734, 0.385431170463562, 0.7489414811134338, 0.5259072184562683, -0.19259841740131378, -0.14243152737617493, 0.4758373200893402, 0.40101152658462524, -0.39579200744628906, -1.3378905057907104, -0.0891946405172348, -0.16410325467586517, 0.02235407382249832, -0.007997955195605755, -0.8046373724937439, 0.8520378470420837, 0.10551335662603378, -0.45700499415397644, -0.30555459856987, 0.3753401041030884, -0.20829764008522034, -0.014219398610293865, 0.35250324010849, 0.13427066802978516, 0.9895663857460022, 0.09887756407260895, 0.733807384967804, -0.666267991065979, 0.24199412763118744, 0.9317176342010498, -0.2157764583826065, 0.7832735776901245, 0.43427860736846924, -0.10184485465288162, 0.33601903915405273, 0.10170922428369522, 0.26631030440330505, 0.5876343846321106, -0.04000082612037659, -0.42390939593315125, -0.11626236885786057, -0.40707507729530334, -0.378103643655777, 0.8135784268379211, 0.3535631000995636, -0.11763545125722885, -0.09955300390720367, 0.5863956809043884, 0.395809531211853, 0.25576668977737427, 0.11322341859340668, 0.7219363451004028, -0.12861661612987518, -0.3614475429058075, 0.7044586539268494, 0.12113575637340546, 0.35866639018058777, -0.589195191860199, 0.04084207862615585, -0.3150343596935272, 0.16671976447105408, -0.1814645230770111, -0.11071423441171646, 0.09878289699554443, -0.06011869013309479, 0.12119879573583603, -0.6007372140884399, 0.5811200737953186, -0.6605165004730225, -0.44291093945503235, 0.34638550877571106, 0.5148835778236389, 0.34856340289115906, 0.30859559774398804, -0.2869606614112854, 0.2079014778137207, 0.22251318395137787, -0.3158796727657318, 0.5694855451583862, 0.18402640521526337, 0.2559332847595215, 0.694724440574646, 0.2482631951570511, 0.4281165897846222, 0.2861948311328888, 0.10228710621595383, 0.5332080721855164, -0.5881048440933228, -0.8792650699615479, -0.8309034109115601, 0.393228679895401, -0.08264433592557907, -0.07473231852054596, 1.4416320323944092, 0.6569116115570068, 1.2369543313980103, 0.13158577680587769, 0.9389382600784302, 0.2571701407432556, 0.841740608215332, -0.4518785774707794, 0.7001241445541382, -0.294611394405365, 0.3739287853240967, -0.15742649137973785, -0.8312366008758545, -0.41940996050834656, 0.4434715807437897, 0.2782781422138214, -0.35265082120895386, 0.6131300330162048, 0.9770046472549438, 0.08147384971380234, 0.027745788916945457, 0.7238951921463013, 0.17122846841812134, 0.42132607102394104, 0.06040928512811661, 0.5625823140144348, -0.2811913788318634, 0.44837841391563416, -0.7338149547576904, -0.1880357414484024, 0.30615803599357605, -0.5842525959014893, -0.8088699579238892, -0.4608461260795593, -0.4952918291091919, 0.07006031274795532, 0.33626601099967957, 0.2411223202943802, 0.816004753112793, -1.0721739530563354, -0.5280028581619263, 0.5855720043182373, -0.1754065454006195, -0.11310431361198425, -0.09852016717195511, 0.529960036277771, -0.10079021751880646, -1.034519076347351, 1.155013918876648, 0.35358595848083496, 0.1208905354142189, -0.442729651927948, 0.022399520501494408, -0.04365349933505058, 0.07210519909858704, 0.2901926338672638, 0.4349840581417084, -0.6712520718574524, -0.5814400911331177, -0.04314212501049042, 0.2635347247123718, 0.06085438281297684, 0.6593911647796631, -0.34643346071243286, 1.059978723526001, 0.40230539441108704, 0.7737357020378113, 0.4149923324584961, 0.14857196807861328, 0.5608060956001282, -1.33450186252594, 0.422780841588974, 0.17332275211811066, 0.4769608974456787, 0.4525662362575531, -0.24852126836776733, 0.08813126385211945, 0.09933629631996155, -0.4082191586494446, -0.9212045073509216, 0.17003004252910614, -0.5452727675437927, -0.2834821343421936, 1.1907744407653809, -0.5316727757453918, 0.05229143053293228, -0.34330475330352783, -0.04279385507106781, -0.010086179710924625, -0.29748600721359253, 0.6897095441818237, 0.7808334827423096, -0.1532006412744522, -0.12912437319755554, -0.5485352277755737, 0.3694871664047241, 0.4419018030166626, -0.5081945657730103, -0.03871750831604004, 0.20814231038093567, 0.2721942961215973, 0.4912412464618683, 0.7798433303833008, -0.28051236271858215, 0.09019915759563446, 0.1814960539340973, -0.03521821275353432, -0.043940767645835876, -0.48551779985427856, -0.5214415788650513, 0.5114293694496155, 0.18226556479930878, -0.6862779259681702 ]
http://arxiv.org/abs/2407.02936v1
http://arxiv.org/pdf/2407.02936v1
GraCoRe: Benchmarking Graph Comprehension and Complex Reasoning in Large Language Models
2024-07-03T09:12:38
2024-07-03T09:12:38
Zike Yuan, Ming Liu, Hui Wang, Bing Qin
cs.AI
cs.AI, cs.CL
Evaluating the graph comprehension and reasoning abilities of Large Language Models (LLMs) is challenging and often incomplete. Existing benchmarks focus primarily on pure graph understanding, lacking a comprehensive evaluation across all graph types and detailed capability definitions. This paper presents GraCoRe, a benchmark for systematically assessing LLMs' graph comprehension and reasoning. GraCoRe uses a three-tier hierarchical taxonomy to categorize and test models on pure graph and heterogeneous graphs, subdividing capabilities into 10 distinct areas tested through 19 tasks. Our benchmark includes 11 datasets with 5,140 graphs of varying complexity. We evaluated three closed-source and seven open-source LLMs, conducting thorough analyses from both ability and task perspectives. Key findings reveal that semantic enrichment enhances reasoning performance, node ordering impacts task success, and the ability to process longer texts does not necessarily improve graph comprehension or reasoning. GraCoRe is open-sourced at https://github.com/ZIKEYUAN/GraCoRe
[ -0.44237715005874634, -0.7925092577934265, 0.7265850901603699, 0.30500540137290955, 0.0009527195943519473, 0.2626194357872009, -0.3874807357788086, -0.7386764287948608, -0.3604576885700226, 0.5256099104881287, -0.3147815763950348, -0.6883139610290527, -0.8404956459999084, 0.23719963431358337, -0.32672828435897827, 0.6446037888526917, -0.3960176408290863, 0.014108747243881226, -0.6203539967536926, -0.39283642172813416, -0.20688514411449432, -0.29829198122024536, -0.6408148407936096, -0.6493382453918457, 0.7489748597145081, 0.06104772537946701, 0.46058395504951477, 0.5237868428230286, 0.44361424446105957, 0.317656010389328, -0.33194786310195923, 0.5071222186088562, -0.657189667224884, 0.06169745698571205, -0.2842964828014374, -0.07006049901247025, -0.4092784523963928, -0.15171194076538086, 0.6610817909240723, 0.9625545144081116, 0.06305912882089615, 0.12650734186172485, 0.21929800510406494, 0.4748063385486603, -0.8610144853591919, 0.5260708928108215, -0.56438148021698, -0.3769073784351349, 0.08343274891376495, 0.12358041107654572, -0.4221574366092682, -0.6681047677993774, 0.11524664610624313, -0.7988291382789612, 0.11399584263563156, -0.004430077970027924, 0.9584494233131409, 0.10994943231344223, -0.5405210852622986, -0.3805146813392639, -0.3772616386413574, 0.5446158647537231, -0.5847024917602539, 0.6056694388389587, 0.3084374964237213, 0.6246113181114197, -0.1974399983882904, -1.3004270792007446, -0.4055192768573761, -0.3487258851528168, -0.2541743516921997, -0.05963650345802307, -0.3472316861152649, 0.3503054976463318, 0.30327844619750977, 0.45540791749954224, -0.6094613075256348, -0.0073531875386834145, -0.15120422840118408, -0.3371979892253876, 0.38723835349082947, 0.19522924721240997, 0.36347392201423645, 0.14220520853996277, -0.08262406289577484, -0.3485618233680725, -0.4953593909740448, 0.0487237386405468, 0.4964611530303955, 0.3538350462913513, 0.2841850817203522, 0.524197518825531, -0.5039696097373962, 1.065975308418274, -0.5023313760757446, -0.3454924523830414, 0.4712223410606384, -0.2036949247121811, -0.2720228135585785, -0.20319120585918427, 0.6771973371505737, 0.12944719195365906, 0.3969842791557312, -0.4630688726902008, -0.33594173192977905, 0.11314482241868973, -0.09921535104513168, -0.8448689579963684, -0.20340895652770996, 0.1435888260602951, -0.09815876185894012, 0.15014243125915527, -0.12546980381011963, -0.6838435530662537, -0.4307693541049957, -0.16398750245571136, 0.3376009166240692, -0.41488116979599, 0.2356308400630951, 0.5804386138916016, -0.4696314036846161, -0.0653509870171547, 0.3147336542606354, -0.7642408609390259, 0.5964454412460327, 1.0072191953659058, 0.7948123812675476, -0.02724253199994564, -0.7365401387214661, -0.6129999756813049, 0.19226348400115967, -0.11082389205694199, 1.1141334772109985, -0.647978663444519, -0.23293077945709229, -0.0406787134706974, 0.3457448482513428, -0.5679346919059753, -0.5436703562736511, 0.8244466781616211, -0.5058791041374207, 0.001726921065710485, -0.3717711269855499, -0.600706934928894, -0.4554637372493744, 0.5391499996185303, -0.6758114695549011, 1.0050057172775269, 0.4945490062236786, -0.7366458773612976, 0.4699424207210541, -0.35253557562828064, -0.6324449181556702, 0.35407498478889465, -0.3035290539264679, -0.06868885457515717, -0.33251699805259705, 0.35932499170303345, 0.10850014537572861, -0.586026668548584, 0.20965053141117096, -0.46581247448921204, -0.47026491165161133, -0.14990775287151337, -0.05692640319466591, 0.5465371012687683, 0.05684208124876022, -0.14111940562725067, 0.028630627319216728, -0.5733917355537415, 0.427927702665329, 0.13658078014850616, -0.3700973689556122, -0.2754705548286438, 0.029235724359750748, -0.13342714309692383, -0.009710664860904217, 0.3247371315956116, -0.5390832424163818, 0.16261352598667145, -0.19058677554130554, 0.8140602111816406, 0.5098404884338379, -0.026318848133087158, 0.13630566000938416, -0.2340155392885208, 0.35920125246047974, -0.7462427020072937, 0.1489245593547821, 0.06758712977170944, -0.43796199560165405, -0.5410565733909607, -0.7089148163795471, 0.31641125679016113, 0.43663477897644043, -0.40282946825027466, 0.3450385630130768, -0.5746756792068481, -0.7419732809066772, -0.2841170132160187, 0.19900476932525635, 0.45555204153060913, 0.6132444739341736, 0.43673065304756165, -0.20839999616146088, -0.10614284127950668, -0.9215570092201233, -0.4675476551055908, -0.2621571719646454, -0.06970373541116714, 0.6801609396934509, 0.5350732207298279, -0.5753893256187439, 0.661622941493988, -0.49071431159973145, -0.002820210764184594, -0.26933300495147705, 0.3522716164588928, 0.16455766558647156, 0.04168430715799332, 0.6258248090744019, -0.36884909868240356, -0.2333361953496933, 0.3025975227355957, -0.6265965700149536, -0.39242392778396606, 0.3767488896846771, 0.0419786237180233, -0.0872679352760315, 0.43425121903419495, -0.5274854302406311, -0.022476891055703163, 0.8202890753746033, -0.312260240316391, 0.3901270031929016, -0.30401116609573364, 0.3190959095954895, -0.3648572564125061, 0.33061614632606506, -0.190940260887146, -0.24810603260993958, -0.3404719829559326, 0.18397757411003113, 0.07352463155984879, -0.032141271978616714, -0.2920593321323395, 0.7062123417854309, -0.41088244318962097, -0.5154618620872498, -0.024953991174697876, 0.3960307240486145, 0.4166836440563202, 0.236542746424675, -0.21212711930274963, 0.9331745505332947, 0.42938295006752014, -0.45955824851989746, 0.3216520845890045, 0.2656751573085785, -0.8995409607887268, 0.1653907150030136, -1.1173937320709229, 0.1633533388376236, 0.07392452657222748, 0.28678131103515625, -1.2523938417434692, -0.3668227791786194, -0.05991073697805405, -0.12947797775268555, -0.09075579792261124, -0.2785901129245758, -0.7532976865768433, -0.5109241604804993, 0.012913117185235023, 0.37372303009033203, 0.25383371114730835, -0.6003717184066772, 0.8731470704078674, 0.30754753947257996, -0.2071477174758911, -0.46720099449157715, -0.5601655840873718, -0.05709852650761604, 0.04358220845460892, -0.885769784450531, 0.216770201921463, 0.0820617750287056, -0.26192328333854675, 0.1132272481918335, -0.15955650806427002, -0.11792119592428207, 0.10254132747650146, -0.004843817092478275, -0.13483628630638123, -0.08210346847772598, 0.009345206432044506, 0.10856865346431732, -0.1662643700838089, -0.054774172604084015, -0.17928241193294525, 0.7790417075157166, -0.3055241107940674, -0.47546643018722534, 0.11192003637552261, -0.0722508579492569, 0.734978973865509, -0.4311482906341553, 0.36637482047080994, 0.27780401706695557, -0.1452803760766983, -0.20871208608150482, -0.40790215134620667, 0.18437528610229492, -0.47698378562927246, 0.4418054521083832, -0.35834071040153503, -1.159042239189148, 0.6762096285820007, -0.17665664851665497, -0.10961010307073593, 0.35294392704963684, 0.4913780987262726, 0.3086608350276947, 1.164937138557434, 0.17304860055446625, -0.036340534687042236, 0.15538804233074188, -0.2268335372209549, 0.28041473031044006, -0.6307716965675354, -0.4569847881793976, -0.800491213798523, 0.0488424226641655, -0.41543665528297424, -0.40944749116897583, 0.18074831366539001, 0.1682988852262497, -0.6120412945747375, 0.3172451853752136, -0.3491068482398987, 0.6006513237953186, 0.23794730007648468, -0.06283127516508102, 0.5006247162818909, -0.08857311308383942, -0.10234628617763519, 0.3705211281776428, -0.47097137570381165, -0.7265755534172058, 0.6837782263755798, 0.33800867199897766, 0.7787565588951111, -0.15507112443447113, 0.19436290860176086, 0.23346790671348572, 0.3086569309234619, -0.7681721448898315, 0.7307306528091431, -0.22100786864757538, -0.3766426742076874, -0.27023497223854065, -0.623471200466156, -1.008836030960083, 0.4703845679759979, 0.021411001682281494, -1.1197333335876465, 0.17817239463329315, -0.13313302397727966, 0.1771485060453415, 0.15904930233955383, -0.636496901512146, 1.1315937042236328, -0.27065300941467285, -0.056596506386995316, -0.10064397007226944, -0.21067874133586884, 0.31485801935195923, 0.07573218643665314, 0.07299637049436569, -0.4240822196006775, -0.15697337687015533, 0.6890406608581543, -0.37884703278541565, 0.32678717374801636, 0.042513374239206314, -0.05258709937334061, 0.198772594332695, 0.20418298244476318, 0.5763565897941589, -0.009232074953615665, -0.20127956569194794, 0.2268357276916504, 0.049343761056661606, -0.5568060278892517, -0.6295140981674194, 0.7872797846794128, -0.8066555261611938, -0.4494497776031494, -0.14630770683288574, -0.7582830190658569, -0.687660813331604, 0.5443968176841736, 0.2587108314037323, 0.47182995080947876, -0.2320539951324463, 0.2375694215297699, 0.5055643320083618, 0.021540692076086998, 0.04616626724600792, 0.32264038920402527, -0.28279855847358704, -0.7135086059570312, 0.7410637736320496, 0.09185086190700531, 0.4791310131549835, 0.27395129203796387, 0.03950972482562065, -0.32532718777656555, -0.6982890963554382, -0.3115413784980774, 0.2316543310880661, -1.0785237550735474, 0.24293099343776703, -0.9219755530357361, 0.054874055087566376, -0.3449341356754303, -0.09733396768569946, -0.2066648006439209, -0.28411492705345154, 0.29047077894210815, -0.08715474605560303, 0.13214652240276337, 0.6780752539634705, 0.27075377106666565, 0.17452190816402435, -0.6376883387565613, 0.1694016307592392, 0.7255140542984009, 0.36871689558029175, 0.08702101558446884, -0.29043394327163696, 0.0017301152693107724, -0.14962102472782135, 0.0055382647551596165, -0.3870435059070587, -0.07099784910678864, -0.012148110195994377, 0.9982618093490601, 0.2548615038394928, -0.26657727360725403, 0.5878239274024963, -0.16058434545993805, 0.6775341033935547, -0.05525278300046921, -1.0292346477508545, 0.16283564269542694, -0.5485585927963257, 0.037002768367528915, 0.951656699180603, 0.2334756851196289, -0.366716593503952, -0.41095373034477234, -0.36102405190467834, -0.9296444654464722, 0.30062392354011536, 0.10430421680212021, -0.15431450307369232, 0.007803238462656736, 0.16679750382900238, 0.032610729336738586, 0.1993788778781891, -0.41878849267959595, 0.06859453022480011, -0.10237378627061844, 0.009040496312081814, -0.4245436489582062, -0.07571547478437424, -0.2842712998390198, -0.3154737949371338, 0.36629462242126465, -0.28919950127601624, -0.0367903895676136, 0.12779514491558075, -0.15099689364433289, 0.1463976949453354, 0.17929206788539886, 0.3664771616458893, 1.0825989246368408, -0.2751038074493408, 0.22333677113056183, 0.40745964646339417, -0.42397642135620117, -0.028988750651478767, 0.3954484462738037, 0.10062997043132782, -0.23523306846618652, 1.0044487714767456, 0.7038554549217224, 0.04970970377326012, -1.0420829057693481, 0.5316823124885559, -0.15998539328575134, -0.42003822326660156, 0.39386674761772156, 0.25532811880111694, 0.2734799087047577, 0.1237403005361557, 0.17139627039432526, -0.5762010216712952, 0.1711210459470749, -0.4809463620185852, 0.028844358399510384, 0.14578939974308014, -0.43874242901802063, 0.06978459656238556, 0.4439834654331207, -0.033930882811546326, 0.041774507611989975, 0.6085255742073059, -0.2511366605758667, -0.5306904911994934, 0.7659996151924133, 0.5365463495254517, 0.7001694440841675, 0.2946051061153412, 0.11254965513944626, 0.34349489212036133, 0.45419856905937195, -0.07093993574380875, 0.30679646134376526, 0.01831940747797489, -0.6608771681785583, -0.6732040047645569, -0.2359851896762848, -0.7024461030960083, 0.05805446580052376, -0.5563734769821167, 0.05503245070576668, -0.3229753375053406, -0.009812725707888603, 0.01540938951075077, 0.13654886186122894, -0.4480058550834656, 0.20154407620429993, -0.17345105111598969, 1.2851654291152954, -0.9897751808166504, 0.45963481068611145, 0.9074450731277466, -0.30341649055480957, -0.6964191198348999, -0.09663143008947372, -0.4290143847465515, -0.9377365112304688, 0.4568953216075897, 0.17448167502880096, -0.4175608456134796, -0.16311658918857574, -0.4328429698944092, -0.45062118768692017, 1.1965171098709106, 0.6386585235595703, -0.4620025157928467, 0.19219498336315155, 0.16112177073955536, 0.6448500752449036, -0.3460201919078827, 0.41218137741088867, 0.9190441966056824, 0.8142043948173523, 0.07910046726465225, -0.76852947473526, 0.009750986471772194, -0.17531943321228027, -0.03891276568174362, 0.31498411297798157, -0.6265243887901306, 1.0294302701950073, 0.126448854804039, -0.28817957639694214, 0.0361793227493763, 0.2291642129421234, 0.4589763283729553, 0.39884811639785767, 0.7349709272384644, 0.8597720265388489, 1.091296672821045, -0.2806444466114044, 1.3137933015823364, -0.37553805112838745, 0.5176941752433777, 1.0781855583190918, -0.5888065099716187, 0.39884743094444275, 0.13337107002735138, -0.03340455889701843, 0.7178403735160828, 0.7747520804405212, 0.1479363739490509, 0.6504212617874146, 0.25385311245918274, -0.194959357380867, -0.5311759114265442, -0.37404975295066833, -0.46120280027389526, 0.15280140936374664, 0.19523005187511444, -0.08982342481613159, -0.622641384601593, -0.25697457790374756, 0.03658579662442207, 0.1500278264284134, -0.30679601430892944, 0.6182085275650024, -0.13289786875247955, -0.6145843863487244, 0.6662710309028625, -0.23613430559635162, -0.0950625091791153, -0.7751798033714294, 0.10508265346288681, -0.1673845499753952, 0.26792362332344055, -0.1323435753583908, -1.0673598051071167, -0.09629718959331512, -0.1889563649892807, 0.09097658097743988, 0.1925448477268219, 0.8286800980567932, -0.057117871940135956, -0.2284444123506546, 0.9664095640182495, 0.510334849357605, -0.091595359146595, 0.003506582695990801, -0.5786307454109192, 0.22480635344982147, -0.3168000876903534, -0.3839220106601715, 0.21305017173290253, 0.6345450282096863, -0.06223633512854576, 0.9133598208427429, 0.5302889347076416, -0.02684282325208187, -0.3317544162273407, 0.4952777922153473, 1.1733500957489014, -0.3581705391407013, -0.3966129422187805, -0.7203675508499146, 0.032546721398830414, -0.14747653901576996, -0.5337817072868347, 0.7761915922164917, 0.7474865913391113, 0.8509182333946228, 0.2749919593334198, 0.9315319061279297, 0.007367917336523533, 0.17493890225887299, -0.3617874085903168, 0.32843494415283203, -0.5013226270675659, -0.06271316111087799, -0.4525292217731476, -1.0097767114639282, -0.3031640946865082, 0.29479122161865234, -0.7247127294540405, -0.013993742875754833, 0.7163110971450806, 0.8117761611938477, -0.20139484107494354, 0.04160192236304283, 0.19990436732769012, -0.02485738694667816, 0.38075241446495056, 0.8068233728408813, 1.1715763807296753, -0.17011649906635284, 0.6173893809318542, 0.0710352435708046, -0.28708145022392273, -0.1515355110168457, -1.009576439857483, -1.0841416120529175, -0.24744904041290283, 0.05741506814956665, -0.4440545439720154, 0.30901020765304565, 0.505233645439148, 0.6039719581604004, -0.5807241797447205, -0.1774822622537613, -0.29960402846336365, 0.39088621735572815, -0.3410126268863678, -0.1652296781539917, 0.37547749280929565, -0.3940078616142273, -0.6452129483222961, 0.4550539553165436, 0.37751293182373047, -0.17395126819610596, -0.0763896256685257, -0.33749035000801086, 0.04490434750914574, 0.16325996816158295, 0.5692335367202759, 0.3212849795818329, -0.345551460981369, -0.45691174268722534, -0.051778387278318405, -0.3344995379447937, -0.11298132687807083, 0.8418462872505188, -0.4810642600059509, 0.4695757329463959, 1.0093034505844116, 0.6585239171981812, 0.6278781890869141, 0.08864595741033554, 0.3670939803123474, -0.048779942095279694, 0.04078817740082741, 0.2656616270542145, 0.7025586366653442, 0.17673960328102112, 0.05221375823020935, 0.8417811989784241, 0.22462964057922363, -0.6728026270866394, -0.9351765513420105, 0.09198050945997238, -0.9688425064086914, -0.3750526010990143, 1.0385186672210693, -0.326225221157074, -0.22799290716648102, -0.14399555325508118, -0.07710439711809158, -0.06128314882516861, -0.0992736667394638, 0.3011050820350647, 0.7525801062583923, -0.09584552049636841, 0.22455576062202454, -0.5360015034675598, -0.05707263946533203, 0.052256230264902115, -0.9362004399299622, 0.2974030375480652, 0.4175155758857727, 0.25703367590904236, 0.13181307911872864, 0.7289572358131409, -0.16756317019462585, 0.29052457213401794, 0.07543939352035522, 0.07131192833185196, -0.24775417149066925, -0.48143118619918823, -0.049851059913635254, 0.2085225135087967, 0.29021868109703064, 0.15115845203399658 ]
http://arxiv.org/abs/2407.02917v1
http://arxiv.org/pdf/2407.02917v1
Towards Negotiative Dialogue for the Talkamatic Dialogue Manager
2024-07-03T08:49:18
2024-07-03T08:49:18
Staffan Larsson, Alexander Berman, David Hjelm
cs.CL
cs.CL, cs.AI
The paper describes a number of dialogue phenomena associated with negotiative dialogue, as implemented in a development version of the Talkamatic Dialogue Manager (TDM). This implementation is an initial step towards full coverage of general features of negotiative dialogue in TDM.
[ -0.7336642146110535, -0.751451313495636, 0.6247270107269287, 0.41324564814567566, -0.3193514943122864, 0.5590428709983826, -0.0894988477230072, -0.43968889117240906, 0.7350244522094727, 0.9374648332595825, -0.4119727909564972, -0.44218170642852783, -0.5566338896751404, -0.22391213476657867, -0.12885090708732605, 1.1154208183288574, -0.30772721767425537, 0.03914530202746391, -0.0053107100538909435, -0.1747867465019226, -0.6078004837036133, -0.7258865833282471, -1.2809209823608398, -0.9699783325195312, 0.2540658414363861, 0.3204538822174072, 0.9814683198928833, 0.2414196878671646, 0.4884575307369232, 0.24474599957466125, -0.4710923433303833, -0.034099217504262924, 0.14257128536701202, 0.3852860927581787, -0.4129384756088257, -0.6206568479537964, -0.5989524126052856, 0.34452375769615173, 0.4146825075149536, 0.37705352902412415, -0.6150343418121338, -0.0203339084982872, -0.1901080310344696, 0.48793166875839233, -0.16333048045635223, 0.3531888425350189, -0.3970371186733246, 0.4293876886367798, 0.2631164789199829, -0.5422558188438416, -0.3664068877696991, -0.46986013650894165, 0.6511174440383911, -0.15667526423931122, -0.3178819715976715, -0.3416546583175659, 0.7897291779518127, 0.20199306309223175, -0.7972903847694397, -0.43637606501579285, -1.0031245946884155, 0.6209361553192139, -0.5420695543289185, -0.1438060700893402, 0.5449402332305908, 0.5736485123634338, -0.23502026498317719, -0.49772295355796814, -0.5824675559997559, -0.5384050011634827, -0.08634030818939209, 0.43976807594299316, -0.4241258502006531, 0.47472089529037476, 0.16882388293743134, 0.5455861687660217, -0.26811686158180237, -0.006183313205838203, -0.013138880953192711, 0.023572484031319618, 0.3135714530944824, 0.6508958339691162, 0.07820219546556473, -0.19312132894992828, -0.3884717524051666, 0.38131576776504517, -0.5015063881874084, -0.44499853253364563, 0.32808446884155273, -0.039321381598711014, -0.4400213062763214, 0.25789591670036316, -0.3122129440307617, 0.960127592086792, -0.0786527693271637, -0.15057878196239471, -0.048443689942359924, -0.6103994846343994, -0.09871354699134827, 0.1985204815864563, 0.1313609629869461, 0.660331666469574, 0.392837792634964, -0.05504840984940529, -0.19983433187007904, 0.2192487269639969, 0.36939990520477295, -0.562804639339447, -0.2877570688724518, 0.16700045764446259, -0.3885599672794342, -0.6576098203659058, -0.0933062881231308, -0.43919211626052856, -0.11855287104845047, -0.4966902732849121, 0.18990205228328705, -0.10735735297203064, -0.6340476870536804, 0.04425268620252609, -0.12310152500867844, 0.6581834554672241, 0.6283714771270752, -0.44051575660705566, 0.5140190720558167, 0.5248280763626099, 1.129063367843628, 0.20865537226200104, -0.07335751503705978, -0.1783757358789444, 0.4979305863380432, -0.4193476438522339, 1.0011792182922363, -0.7335193157196045, -1.0086402893066406, 0.08582984656095505, -0.09555983543395996, -0.0815664604306221, -0.9299644827842712, 0.26636427640914917, 0.05382566154003143, 0.3735417127609253, 0.26502424478530884, -0.12660634517669678, -0.3228989839553833, 1.008541464805603, -0.42420706152915955, 0.6177535057067871, 0.1369485855102539, -0.27427947521209717, 0.3763243556022644, -1.145098328590393, -0.31268271803855896, 0.05257795751094818, 0.0214243046939373, -0.1704382747411728, 0.056153807789087296, -0.5608545541763306, -0.067012719810009, -0.39574533700942993, 0.2963068187236786, -0.08051895350217819, -0.26783260703086853, 0.6299245953559875, -0.1079341471195221, 0.34103333950042725, 0.481463223695755, -0.3756267726421356, 0.4094538390636444, -0.47997936606407166, -0.12566162645816803, 0.041722968220710754, -0.385745644569397, 0.07695072144269943, -0.10850748419761658, -0.05192691832780838, 0.55766761302948, 0.2702084183692932, -0.07465532422065735, 0.3615240156650543, -0.2705109715461731, 0.7519487738609314, 0.507014811038971, 0.44654449820518494, 0.5976594090461731, -0.70644211769104, 0.8164722919464111, 0.4494188129901886, 0.24131935834884644, -0.43070900440216064, -0.4349604845046997, -1.1989279985427856, 0.09838904440402985, 0.24268358945846558, 0.5883470177650452, -0.8942485451698303, -0.1256696581840515, 0.16189585626125336, -0.3654259145259857, -0.20804457366466522, -0.27894043922424316, 0.7393477559089661, 0.1823498159646988, 0.12791620194911957, -0.3865247070789337, -0.5176023840904236, -1.1066025495529175, -0.006527820602059364, -0.6231447458267212, 0.23646950721740723, 0.026726212352514267, 0.24241086840629578, -0.13746237754821777, 0.7518453001976013, -0.40638700127601624, -0.47257742285728455, -0.3914647102355957, 0.7300469875335693, 0.21902963519096375, 0.5908213257789612, 0.434364914894104, -0.6379872560501099, -0.5947964191436768, 0.11423598229885101, -0.3982471227645874, -0.02836287021636963, -0.08511927723884583, -0.15200583636760712, 0.5705255270004272, 0.6792429685592651, -0.8919079899787903, 0.6714863777160645, 0.23739910125732422, -0.23006783425807953, 0.43453142046928406, -0.12446007132530212, 0.19124862551689148, -1.5091890096664429, -0.3449612557888031, -0.031636666506528854, -0.42024919390678406, -0.6493787169456482, -0.1374415010213852, -0.4459244906902313, -0.25533556938171387, -0.5158876776695251, 0.33969882130622864, -0.480969101190567, 0.16264040768146515, -0.4400896728038788, 0.3788093328475952, -0.23179438710212708, 0.4651658236980438, 0.5239453911781311, 0.5450189709663391, 0.5855161547660828, -1.0531630516052246, 0.453869491815567, 0.503777265548706, 0.02158348448574543, 1.2992769479751587, -0.5048190355300903, 0.2198982983827591, 0.09545168280601501, 0.4109998941421509, -0.5705403089523315, -0.05523063242435455, 0.658969521522522, -0.33514344692230225, 0.22382044792175293, -0.5537624359130859, -0.5692318677902222, -0.19119612872600555, -0.42267465591430664, 0.05892683565616608, 0.28931093215942383, -0.3236326575279236, 0.5922339558601379, 0.44643619656562805, -0.2207423597574234, -0.14163486659526825, -0.6193854212760925, 0.5896227955818176, -0.4865886867046356, -0.3993716239929199, 0.262027382850647, -0.038069307804107666, -0.6327617168426514, -0.2628379166126251, -0.09654968231916428, -0.000736128946300596, -0.003081273753196001, 0.163890540599823, -0.07368914783000946, -0.049660686403512955, -0.09363110363483429, 0.026679515838623047, -0.7391024231910706, 0.3240407705307007, -0.09900692105293274, 0.6855942606925964, 0.147308811545372, -0.031264856457710266, -0.18219871819019318, 0.44885173439979553, 0.23276585340499878, -0.02091732993721962, 0.6178702116012573, 0.276821494102478, -0.4475758969783783, 0.06837628781795502, -0.5455436110496521, -0.10966966301202774, -0.44396063685417175, 0.04264487698674202, -0.6131376624107361, -0.9575865864753723, 0.799523115158081, -0.6322014331817627, -0.11905580013990402, 0.2397831529378891, 0.752348005771637, 0.1427188664674759, 1.300081729888916, 0.3958129584789276, 0.35612499713897705, 0.6719410419464111, 0.031906548887491226, 0.04374447837471962, -0.9561534523963928, -0.692754864692688, -0.676481306552887, -0.3779294192790985, -0.7262977957725525, -0.25822317600250244, 0.1674732118844986, 0.31778454780578613, -0.21062451601028442, 0.49007314443588257, -0.31320780515670776, 0.35295364260673523, 0.2686753273010254, -0.15987366437911987, 0.5920712351799011, -0.559986412525177, -0.06903503835201263, -0.09864679723978043, -0.44813045859336853, -0.8630638122558594, 0.4443899691104889, 0.31620290875434875, 0.7720492482185364, 0.785746693611145, 0.8574497699737549, 0.08493556082248688, 0.49477964639663696, -0.8971176147460938, 0.89177006483078, 0.6077496409416199, -0.6713646650314331, 0.21026697754859924, -0.37365636229515076, -0.9606400728225708, 0.029115911573171616, -0.07761684060096741, -1.0820183753967285, 0.11182166635990143, -0.08220332115888596, 0.05576165392994881, 0.08999805152416229, -0.7510169148445129, 0.9551309943199158, 0.1027987152338028, 0.28303927183151245, -0.6579606533050537, -0.5767803192138672, 0.28298717737197876, 0.14081580936908722, -0.25309669971466064, -0.17530182003974915, -0.1907331347465515, 0.7438957691192627, -0.40309789776802063, 0.5662255883216858, -0.2796366512775421, -0.2295997440814972, 0.4026334583759308, 0.5500879883766174, 0.46556657552719116, 0.32361939549446106, 0.353588730096817, -0.01980764977633953, -0.2033708095550537, -0.5619693994522095, -0.4779917895793915, 0.669499397277832, -0.31552422046661377, -1.0740238428115845, -0.8507175445556641, -0.5120183825492859, -0.3097132444381714, -0.2077459990978241, 0.1511187106370926, -0.0865863710641861, -0.6608245372772217, -0.36887508630752563, 0.6455159187316895, -0.041044965386390686, 0.70352703332901, 0.810173749923706, -0.720285177230835, -0.25915396213531494, 0.6896263957023621, -0.03869260847568512, 0.5856115221977234, 0.3090169429779053, -0.2686272859573364, -0.19405189156532288, -0.7690833806991577, -0.1428881138563156, -0.1929149031639099, -0.6354640126228333, -0.4977799654006958, -0.6711808443069458, -0.3035966455936432, 0.16851140558719635, -0.12947015464305878, -0.096767358481884, -0.8696057796478271, -0.11621174216270447, -0.39333903789520264, 0.7170945405960083, 0.9379303455352783, -0.21945177018642426, 0.8315685987472534, -0.6178300380706787, 0.2666301727294922, 0.41430145502090454, 0.24878382682800293, -0.17945826053619385, -0.42267799377441406, -0.6912381649017334, -0.13832741975784302, -0.8740021586418152, -0.8052964210510254, 0.1723613142967224, -0.27080145478248596, 0.37661421298980713, 0.46658357977867126, -0.26910173892974854, 0.40034207701683044, 0.047209493815898895, 0.9495607018470764, 0.4351024925708771, -1.0603218078613281, 0.8894795179367065, -0.4951407015323639, 0.4553857445716858, 0.34802114963531494, 0.06331348419189453, -0.693057119846344, -0.5319666862487793, -0.650871753692627, -0.6783706545829773, 0.8042321801185608, 0.20905369520187378, 0.2928597033023834, -0.2721198797225952, 0.023752715438604355, -0.16347825527191162, 0.5711313486099243, -0.4675491750240326, -0.21883895993232727, 0.08286119252443314, 0.4833436608314514, -0.04579411819577217, -0.4968535006046295, -0.5929744243621826, -0.031213607639074326, 0.5322110056877136, 0.09198512136936188, 0.38357484340667725, 0.1361394226551056, -0.2363913655281067, -0.018716510385274887, 0.6220872402191162, 0.7274143099784851, 1.1060682535171509, -0.3346969783306122, 0.1877385675907135, 0.0710010901093483, -0.13286064565181732, 0.33969491720199585, -0.03641542047262192, 0.29113537073135376, 0.33213910460472107, 0.006377235520631075, 0.7519457340240479, 0.08684036135673523, -0.1679658740758896, 0.22923626005649567, 0.016432950273156166, -0.6753827929496765, -0.526932954788208, 0.1553059220314026, -0.013194408267736435, 0.582331657409668, 0.0678647831082344, -0.14609014987945557, 0.20923617482185364, -0.888384222984314, 0.16961225867271423, 0.29860928654670715, -0.8140737414360046, -0.2832987606525421, 0.6246411800384521, 0.466143935918808, -0.8304924368858337, 0.5035473108291626, -0.27926895022392273, -0.7511638402938843, 0.4356828033924103, 0.4949665069580078, 1.22471284866333, -0.18908846378326416, 0.8453519344329834, -0.20220902562141418, 0.38310182094573975, 0.08223094046115875, 0.6776750087738037, -0.32116565108299255, -0.6981766223907471, -0.565686047077179, -0.06683223694562912, -1.1786761283874512, -0.284485399723053, -0.8134303689002991, 0.174960196018219, -0.5993896722793579, -0.4112686812877655, 0.06309156864881516, -0.038073454052209854, -0.36254429817199707, -0.08226659893989563, -0.02806275710463524, 1.052466630935669, -0.1413465291261673, 1.001512050628662, 0.807866096496582, -0.6644625067710876, -0.28639209270477295, 0.1678343266248703, -0.22425982356071472, -0.4881693124771118, 0.5424906611442566, -0.08330473303794861, -0.13138535618782043, -0.1722927689552307, -0.519874095916748, 0.06664885580539703, 0.9363678693771362, 0.6135627627372742, -0.06290168315172195, 0.15822431445121765, 0.4117306172847748, 0.42335188388824463, -0.561130702495575, 0.40522775053977966, 0.7150747776031494, 0.8125582933425903, -0.0540764220058918, -1.276339054107666, 0.04614505544304848, -0.3429082930088043, 0.29224562644958496, 0.7077547907829285, -1.1202244758605957, 0.6226738095283508, 0.1569613218307495, 0.08104614913463593, 0.28309884667396545, 0.24848559498786926, 0.05141538381576538, 0.5213673114776611, 0.2470148205757141, 0.8303926587104797, 0.15501613914966583, -0.5033888816833496, 0.8575307726860046, -0.2998221814632416, 0.30628839135169983, 0.9960159659385681, -0.21441680192947388, 0.061719074845314026, 0.6919206976890564, -0.31571537256240845, 0.7815978527069092, 0.7427775263786316, 0.4897506535053253, 0.13070863485336304, 0.3661387860774994, -0.7696459293365479, -0.01275916863232851, -0.6738008856773376, -0.4720117747783661, 0.4919836223125458, 0.36904633045196533, -0.21548542380332947, -0.15042011439800262, -0.2820546329021454, 0.27719369530677795, -0.022041000425815582, -0.5804852247238159, 1.2431541681289673, 0.5447050929069519, -0.2692268490791321, 0.2852894365787506, 0.28497880697250366, 0.5779809951782227, -0.6814239025115967, -0.30159300565719604, -0.3478275537490845, -0.23965364694595337, -0.2383386492729187, -0.7724530696868896, 0.6979844570159912, -0.3118981122970581, -0.11785520613193512, -0.46005725860595703, 0.6093194484710693, -0.4987996816635132, 0.15828341245651245, 0.41601020097732544, 0.6935880184173584, 0.10873834043741226, -0.06374780833721161, -0.6661764979362488, -0.18507494032382965, -0.4332689940929413, -0.39403989911079407, 0.4246816039085388, 0.6376066207885742, 0.048011891543865204, 0.6203035712242126, 0.25923892855644226, -0.1027006208896637, -0.2750805914402008, 0.129860520362854, 0.7529187798500061, -1.3630626201629639, -0.7246110439300537, -0.8153645992279053, 0.3494033217430115, -0.1687169224023819, -0.32166025042533875, 0.6922284364700317, 0.3387419283390045, 0.7836390137672424, 0.04102972149848938, 0.40836822986602783, 0.1049848422408104, 0.2112697958946228, -0.699319064617157, 0.38417455554008484, -0.05384985730051994, 0.02722981385886669, -0.580573558807373, -1.2652848958969116, 0.0807148888707161, 0.7137176990509033, -0.2763564884662628, 0.04452376812696457, 0.8442797660827637, 0.4921044111251831, 0.02895980328321457, 0.3961428701877594, 0.34571462869644165, 0.1543227583169937, 0.0687350481748581, 0.6918895244598389, 1.5833463668823242, 0.045539408922195435, 0.758777916431427, 0.000654735486023128, 0.0560668520629406, 0.11768710613250732, -0.8534027338027954, -0.8361876606941223, -0.412117063999176, -0.6334581971168518, -0.8572002053260803, -0.05059695243835449, 0.7422966361045837, 0.7885153293609619, -0.4550708532333374, -0.7570680975914001, -0.2167755514383316, 0.5220777988433838, -0.0852346420288086, -0.3551584482192993, -0.4024445414543152, -0.0637073814868927, -0.9155595302581787, 0.06022236868739128, 0.855109453201294, 0.33184725046157837, -0.3135155141353607, -0.48990577459335327, -0.18876385688781738, 0.4664247930049896, 0.47002559900283813, 0.16089582443237305, -0.20652282238006592, -0.2757706046104431, -0.7120547890663147, 0.22260825335979462, 0.25261902809143066, 1.1496349573135376, -0.7165082097053528, 0.32796525955200195, -0.06104986369609833, 0.21408934891223907, 1.1399717330932617, -0.6981559991836548, 0.909125566482544, -0.31538423895835876, 0.7491400837898254, 0.4341180622577667, 0.024170689284801483, 0.07028375566005707, -0.006347013171762228, 0.7508384585380554, 0.07715868204832077, -0.25025755167007446, -0.9169855117797852, 0.9426026940345764, -1.0405733585357666, 0.23262551426887512, 0.6075193881988525, 0.020440028980374336, 0.3142952024936676, -0.3603362739086151, -0.4564489722251892, 0.1980925053358078, -0.49936702847480774, 0.63921058177948, 1.075922966003418, -0.32183364033699036, -0.34140071272850037, -0.4941486716270447, 0.551393985748291, 0.5424349904060364, -0.9173465371131897, -0.535144031047821, 0.17128576338291168, -0.28735145926475525, 0.29633456468582153, 0.8880825638771057, -0.2116749882698059, 0.19588004052639008, 0.05952297896146774, -0.21894697844982147, 0.2001405954360962, -0.3327861428260803, -0.3057068884372711, 0.008597709238529205, 0.49551302194595337, -0.19212591648101807 ]
http://arxiv.org/abs/2407.02894v1
http://arxiv.org/pdf/2407.02894v1
Translatotron-V(ison): An End-to-End Model for In-Image Machine Translation
2024-07-03T08:15:39
2024-07-03T08:15:39
Zhibin Lan, Liqiang Niu, Fandong Meng, Jie Zhou, Min Zhang, Jinsong Su
cs.CL
cs.CL, cs.AI
In-image machine translation (IIMT) aims to translate an image containing texts in source language into an image containing translations in target language. In this regard, conventional cascaded methods suffer from issues such as error propagation, massive parameters, and difficulties in deployment and retaining visual characteristics of the input image. Thus, constructing end-to-end models has become an option, which, however, faces two main challenges: 1) the huge modeling burden, as it is required to simultaneously learn alignment across languages and preserve the visual characteristics of the input image; 2) the difficulties of directly predicting excessively lengthy pixel sequences. In this paper, we propose \textit{Translatotron-V(ision)}, an end-to-end IIMT model consisting of four modules. In addition to an image encoder, and an image decoder, our model contains a target text decoder and an image tokenizer. Among them, the target text decoder is used to alleviate the language alignment burden, and the image tokenizer converts long sequences of pixels into shorter sequences of visual tokens, preventing the model from focusing on low-level visual features. Besides, we present a two-stage training framework for our model to assist the model in learning alignment across modalities and languages. Finally, we propose a location-aware evaluation metric called Structure-BLEU to assess the translation quality of the generated images. Experimental results demonstrate that our model achieves competitive performance compared to cascaded models with only 70.9\% of parameters, and significantly outperforms the pixel-level end-to-end IIMT model.
[ -0.2060554474592209, -0.4425949454307556, 0.24708907306194305, 0.09858908504247665, -0.991670548915863, 0.019226757809519768, -0.17785410583019257, -0.5454781651496887, -0.2891244888305664, 0.29819148778915405, -0.34753358364105225, -0.35570666193962097, -0.9379131197929382, 0.2395290583372116, -0.7019148468971252, 0.5132266283035278, -0.3594081699848175, 0.45062631368637085, -0.006640355568379164, -0.14035332202911377, -0.5108304023742676, -0.09722092002630234, -0.43625232577323914, -0.3729722797870636, 0.012331739999353886, 0.2810608744621277, 0.722001850605011, 1.1681866645812988, 0.9588714838027954, 0.28129348158836365, -0.2034599632024765, 0.1387905329465866, -0.12698917090892792, -0.06239549070596695, -0.3482365608215332, -0.3875458240509033, -0.11499100178480148, -0.32887426018714905, 0.6819925308227539, 0.35478153824806213, 0.2887086272239685, 0.11308915168046951, -0.18213732540607452, 0.49762994050979614, -0.2731597423553467, -0.18601717054843903, -0.5242555141448975, 0.11477158218622208, -0.08007127046585083, -0.17649807035923004, -0.44951581954956055, -0.11331953853368759, -0.054403986781835556, -0.32042214274406433, -0.010714373551309109, 0.0034026673529297113, 1.419226050376892, 0.49430838227272034, -0.7198931574821472, -0.07696749269962311, -0.9631543755531311, 0.4512662887573242, -0.5291004776954651, 0.6232244968414307, 0.15402895212173462, 0.5276704430580139, 0.04617951437830925, -0.9440500140190125, -0.3185144364833832, -0.16721966862678528, -0.06098216027021408, 0.5730617046356201, -0.4831331670284271, -0.13528819382190704, 0.04126887395977974, 0.030711153522133827, -0.6971177458763123, 0.2138170599937439, -0.6891902089118958, 0.21346108615398407, 0.014152034185826778, 0.0811786949634552, 0.34366321563720703, -0.39157846570014954, -0.9271121621131897, 0.12075944989919662, -0.5628785490989685, -0.05967480689287186, 0.11455527693033218, 0.051695626229047775, -0.14432765543460846, 0.7854486107826233, -0.09125949442386627, 0.7517913579940796, 0.13156013190746307, 0.1608833223581314, -0.08623769134283066, -0.5185686945915222, -0.12529176473617554, 0.18230600655078888, 0.9408712387084961, 0.4173991084098816, 0.0039020637050271034, -0.246270552277565, -0.21785463392734528, 0.13556267321109772, 0.35679367184638977, -1.1846673488616943, 0.3547210395336151, 0.17672951519489288, -0.6195482611656189, -0.05558307096362114, -0.030210087075829506, -0.2891503572463989, 0.33173003792762756, -0.42903223633766174, 0.5686230659484863, -1.0418508052825928, -0.03037167154252529, -0.04818921536207199, 0.09240564703941345, 0.4321594536304474, 0.3531075716018677, -0.34058257937431335, 0.2820780277252197, 0.3836103081703186, 1.2794346809387207, -0.1276678442955017, -0.30121541023254395, -0.33509665727615356, 0.22521233558654785, -0.4066027104854584, 0.9141560792922974, -0.42203032970428467, -0.40026259422302246, -0.16225279867649078, 0.21623632311820984, 0.3216635286808014, -0.49314576387405396, 0.5583846569061279, -0.4501314163208008, 0.3574412167072296, 0.10947160422801971, -0.5456907153129578, -0.4377732574939728, 0.34750276803970337, -0.47231847047805786, 0.859609842300415, 0.3317888677120209, -0.6143426895141602, 0.10770449042320251, -0.40246641635894775, -0.428731232881546, 0.36409035325050354, -0.12330380082130432, -0.7554111480712891, 0.21066966652870178, 0.08958221226930618, 0.2649528980255127, -0.8527736663818359, 0.395082950592041, 0.02245745062828064, -0.5358362793922424, 0.2771202027797699, -0.17596760392189026, 0.6321403384208679, 0.24000327289104462, -0.4923724830150604, 0.12141520529985428, -0.5094372630119324, -0.17481517791748047, -0.05209808424115181, -0.31418517231941223, -0.2219662368297577, -0.20423491299152374, 0.16273990273475647, 0.7304003238677979, 0.23463557660579681, -0.6795408129692078, 0.011758564971387386, -0.24515943229198456, 0.540306806564331, 0.6183817982673645, -0.16136154532432556, 0.4751676023006439, 0.02540738880634308, 0.6436359882354736, 0.4454538822174072, 0.29830002784729004, -0.4097653925418854, -0.41741159558296204, -0.4578295946121216, -0.41744884848594666, 0.3892943859100342, 0.6752164363861084, -0.892566978931427, 0.399367094039917, -0.6564915180206299, -0.571817934513092, -0.4351787567138672, -0.08802200108766556, 0.7186237573623657, 0.7444757223129272, 0.2581005394458771, -0.512263298034668, -0.29899293184280396, -1.0899474620819092, -0.002983691869303584, 0.062209602445364, 0.18474069237709045, -0.30714285373687744, 0.6026749014854431, -0.30497103929519653, 0.5036048889160156, 0.08650919049978256, -0.30931010842323303, -0.26499006152153015, -0.1491803228855133, 0.22048364579677582, 0.44522908329963684, 0.34045884013175964, -0.7543317079544067, -0.7174900770187378, 0.6811444759368896, -0.8532618284225464, 0.055636655539274216, 0.05264449119567871, -0.4542865455150604, 0.09253596514463425, 0.5870804786682129, -0.6613000631332397, 0.5807651281356812, 0.3292277753353119, -0.18638789653778076, 0.2080238163471222, -0.3219756782054901, 0.2212684005498886, -1.613022804260254, 0.1216086894273758, 0.3715972900390625, -0.621880829334259, -0.5993444919586182, 0.08412197232246399, 0.5818992257118225, -0.20768746733665466, -0.7366851568222046, 0.47161805629730225, -0.3322257101535797, -0.36270377039909363, -0.5121659636497498, 0.039996903389692307, -0.12165212631225586, 0.38035643100738525, 0.30875498056411743, 0.5206098556518555, 0.528262197971344, -0.49875742197036743, 0.36391517519950867, 0.2889728546142578, -0.2837996184825897, 0.9953359365463257, -0.8028668165206909, -0.14068202674388885, -0.35563963651657104, 0.20422454178333282, -0.9769070744514465, -0.13175064325332642, 0.22797073423862457, -0.6191563010215759, 0.3032152056694031, -0.32004597783088684, -0.7111861705780029, -0.26865851879119873, 0.1307140588760376, 0.7394912838935852, 0.6614590883255005, -0.5245262980461121, 0.5408466458320618, -0.18759867548942566, 0.20048066973686218, -0.48454490303993225, -0.6509220600128174, 0.2698286175727844, -0.28775206208229065, -0.7031180262565613, 0.5720653533935547, 0.09821076691150665, 0.31368768215179443, 0.46149176359176636, 0.2647082507610321, -0.00267618871293962, -0.22394725680351257, 0.14916644990444183, 0.3503279983997345, -0.04883124306797981, -0.020240336656570435, 0.16518233716487885, -0.45383119583129883, -0.28305506706237793, -0.7852240204811096, 0.49024033546447754, -0.12957751750946045, -0.22624331712722778, -0.765616238117218, 0.39916929602622986, 0.6233217120170593, -0.5163148641586304, 0.6267024874687195, 0.7344701290130615, -0.7614620923995972, 0.039630189538002014, 0.1524185836315155, 0.08333615213632584, -0.37345898151397705, 0.8908467888832092, -0.3780299723148346, -0.3420299291610718, 0.5508719086647034, -0.5513525009155273, -0.025337571278214455, 0.18089255690574646, 0.8232731223106384, -0.24681104719638824, 0.9891573786735535, 0.6541064977645874, 0.48728159070014954, 0.6690655946731567, -0.4346753656864166, 0.28927668929100037, -0.9523966908454895, -0.3755917549133301, -0.15413853526115417, -0.5681875348091125, -0.35840585827827454, -0.5303991436958313, 0.68365877866745, 0.01677628792822361, -0.3033229112625122, 0.7270412445068359, -0.6299238801002502, 0.40324828028678894, 0.5567303895950317, 0.15720060467720032, 0.2118242084980011, 0.19837714731693268, 0.21018913388252258, -0.13827307522296906, -0.493953675031662, -0.30795255303382874, 0.8631649017333984, 0.21665865182876587, 0.6827168464660645, 0.25352510809898376, 0.3648177981376648, 0.01056214515119791, 0.1665486842393875, -0.8312667608261108, 0.4279059171676636, -0.4761735796928406, -0.4671585261821747, -0.024984577670693398, -0.31482023000717163, -0.7481476068496704, 0.4519331157207489, 0.18581216037273407, -0.4328027665615082, 0.06434529274702072, 0.03728732094168663, 0.2569057047367096, 0.4093579649925232, -0.3434005677700043, 0.8705832362174988, -0.519472599029541, -0.39154595136642456, 0.1270437240600586, -1.1097853183746338, 0.5537309646606445, -0.13301850855350494, 0.0837785080075264, 0.26346105337142944, -0.12684516608715057, 0.21958084404468536, -0.835537850856781, 0.4312765896320343, 0.22052855789661407, 0.3252723217010498, 0.208662211894989, 0.2419460415840149, 0.5144486427307129, -0.22763164341449738, -0.0026613534428179264, 0.14539694786071777, -0.20651565492153168, -0.38895267248153687, -0.4729189872741699, 0.3284189701080322, -0.9695109128952026, -0.03127415478229523, -0.1557285189628601, -0.47984424233436584, 0.3273909091949463, 0.3966948390007019, 0.9577972292900085, 0.7063094973564148, 0.03745925799012184, 0.19019445776939392, 0.5223174095153809, -0.15689705312252045, 0.4920060634613037, 0.12086360901594162, -0.2907712161540985, -0.7723721265792847, 0.8430770635604858, 0.18549272418022156, 0.5884935855865479, 0.6696114540100098, 0.10691088438034058, -0.437945157289505, -0.31444883346557617, -0.9194790124893188, 0.42114096879959106, -0.9968127012252808, -0.6009939312934875, -0.4745709300041199, -0.3258718252182007, -0.012616826221346855, -0.35571497678756714, -0.7094544172286987, -0.3244982659816742, -0.2557646334171295, -0.08046238124370575, 0.26318061351776123, 0.5249163508415222, 0.0815587118268013, 0.8351783156394958, -0.6531826257705688, 0.31069472432136536, -0.3078514635562897, 0.26869139075279236, -0.27309226989746094, -1.0311543941497803, -0.7250747084617615, -0.30848270654678345, -0.3104785680770874, -0.7855868935585022, 0.6007497310638428, 0.07811711728572845, 0.06701938062906265, 0.08751522749662399, -0.3599984645843506, 0.6913235187530518, -0.5203748345375061, 0.397550493478775, 0.4411655068397522, -0.9243900775909424, 0.47115862369537354, -0.19716863334178925, 0.7392374277114868, 0.2406768798828125, 0.26943185925483704, -0.5446204543113708, -0.3132307231426239, -0.3534925878047943, -0.9043166637420654, 0.879827082157135, 0.33237048983573914, -0.13166527450084686, 0.2047252506017685, 0.45983877778053284, 0.0802447497844696, 0.20551137626171112, -0.9692715406417847, -0.05671076104044914, -0.4603697657585144, -0.45229941606521606, 0.37733060121536255, 0.013369705528020859, 0.2750760018825531, -0.14773429930210114, 0.8174513578414917, -0.013007262721657753, 0.33142411708831787, 0.27326586842536926, -0.3936658501625061, -0.5458878874778748, -0.19504107534885406, 0.5969940423965454, 0.3869742751121521, -0.14625152945518494, 0.20825190842151642, -0.1418885886669159, -0.2599480152130127, 0.4002194106578827, -0.021237168461084366, -0.4305413067340851, 0.24015529453754425, 0.2084217369556427, 0.8749754428863525, -0.19633100926876068, -0.5313108563423157, 0.7290742993354797, -0.18454435467720032, -0.19085262715816498, -0.31501317024230957, -0.7741194367408752, 0.14569717645645142, 0.18297313153743744, -0.052963390946388245, 0.21079906821250916, -0.014202111400663853, -0.42565324902534485, 0.34077441692352295, 0.28778424859046936, -0.8853111863136292, -0.5656881332397461, 0.9650015234947205, -0.11003852635622025, -0.42075714468955994, 0.8001204133033752, -0.15263012051582336, -0.5983795523643494, 0.7347202301025391, 0.9327981472015381, 0.9839939475059509, -0.38521793484687805, 0.153184175491333, 0.4806399941444397, 0.7612887620925903, 0.008794013410806656, 0.3782970607280731, 0.31558841466903687, -0.22272972762584686, -0.34658607840538025, -0.48055046796798706, 0.021596163511276245, -0.2280988246202469, -0.434722900390625, 0.7903936505317688, -0.4606788158416748, -0.170494943857193, -0.4513323903083801, -0.6038619875907898, -0.7535620927810669, 0.37611109018325806, 0.05394861102104187, 0.8181229829788208, -0.6702890396118164, 0.9060541987419128, 0.8989034295082092, -0.5430507063865662, -0.481805682182312, -0.29991403222084045, -0.31611859798431396, -0.5623742938041687, 0.8651182651519775, 0.214982271194458, -0.06423085182905197, 0.021200228482484818, -0.5247883200645447, -0.9392378926277161, 1.2882424592971802, 0.5266126394271851, -0.41032472252845764, 0.03248613327741623, 0.5208932161331177, 0.5286010503768921, -0.34222134947776794, 0.36176806688308716, 0.009650743566453457, 0.17793400585651398, 0.3082449436187744, -0.7160826325416565, 0.09140549600124359, -0.31910964846611023, 0.5605219602584839, 0.49687063694000244, -0.9629354476928711, 1.0202769041061401, 0.0672682523727417, -0.18020980060100555, 0.15320846438407898, 0.9318997859954834, -0.035177700221538544, -0.07437615841627121, 0.21652920544147491, 0.713523268699646, 0.022100677713751793, 0.040447723120450974, 0.9888762831687927, -0.4450310170650482, 0.24433791637420654, 0.8846938610076904, -0.012946054339408875, 0.5781965255737305, 0.5341469049453735, 0.36796656250953674, 0.21093066036701202, 0.837161123752594, 0.13802886009216309, 0.7741013765335083, 0.043527018278837204, 0.016749029979109764, -0.25638067722320557, -0.3574633300304413, -0.09691455960273743, 0.3740525543689728, 0.3509332239627838, -0.5077552795410156, -0.501229465007782, 0.24287304282188416, -0.11204308271408081, 0.05088841915130615, -0.15806108713150024, 0.5143768191337585, 0.3287309408187866, -0.47926339507102966, 0.3880581259727478, 0.36530935764312744, 0.30234405398368835, -0.5732564330101013, 0.008061099797487259, -0.2103215605020523, 0.19247210025787354, 0.03422107547521591, -0.7298455238342285, 0.1833561658859253, -0.0041773258708417416, -0.07427804917097092, -0.05003925412893295, 0.4482307732105255, -0.5957785844802856, -0.858414351940155, 0.37304767966270447, 0.42828500270843506, 0.12360520660877228, 0.19946755468845367, -0.6420961022377014, 0.08303777873516083, -0.17618675529956818, -0.08407527953386307, 0.13929729163646698, 0.6831137537956238, -0.46969595551490784, 0.6199212670326233, 0.24446362257003784, -0.11489254236221313, 0.2503681480884552, -0.14656923711299896, 0.5614212155342102, -0.6661589741706848, -0.5837039351463318, -0.9253717064857483, 0.8030039072036743, 0.16226938366889954, -0.31860581040382385, 0.23160873353481293, 0.7491538524627686, 0.9542238116264343, 0.012495053932070732, 0.801514208316803, 0.08069084584712982, -0.04012811556458473, -0.49264705181121826, 0.13219472765922546, -0.8077919483184814, -0.02429916337132454, -0.10080555826425552, -1.0769352912902832, -0.3980056643486023, 0.2145557552576065, 0.0782720297574997, -0.17436523735523224, 0.8037002086639404, 0.526366651058197, -0.5197991728782654, -0.3861013650894165, 0.5400297045707703, 0.028726328164339066, 0.6134765148162842, 0.5983381271362305, 0.9011549949645996, -0.9442846179008484, 0.7520905137062073, -0.29515761137008667, -0.048632457852363586, -0.2786983847618103, -0.6690894365310669, -0.7299477458000183, -0.8585756421089172, -0.3326904773712158, -0.3020126223564148, -0.09174400568008423, 0.8004489541053772, 0.6151091456413269, -0.09605855494737625, -0.4184524714946747, -0.1771656721830368, -0.10098417848348618, -0.1602514535188675, -0.05906694382429123, 0.4290521740913391, 0.03530511632561684, -0.9991127848625183, -0.03594432398676872, 0.7074729800224304, 0.2098427712917328, 0.003098735585808754, -0.08293403685092926, -0.2399449646472931, -0.04786795750260353, 0.5052337050437927, 0.012233606539666653, -0.8163121342658997, -0.14963844418525696, 0.0923842191696167, -0.2501186728477478, 0.3924846947193146, 0.3722325265407562, -0.4992920756340027, 0.7389494776725769, 0.4600820243358612, 0.6930668950080872, 0.5767523050308228, 0.3145730495452881, 0.6011738777160645, -0.5274126529693604, 0.28352415561676025, -0.1552322804927826, 0.5415786504745483, 0.45595332980155945, -0.37840983271598816, 0.5078080892562866, 0.15072132647037506, -0.3182446360588074, -0.7326816320419312, 0.4661640524864197, -1.1058564186096191, -0.36527398228645325, 0.9178158044815063, -0.035450562834739685, -0.7428368926048279, 0.4434879720211029, -0.22105158865451813, 0.7779532670974731, -0.14367766678333282, 0.3827449083328247, 0.27241086959838867, 0.025072278454899788, -0.32455921173095703, -0.4527289569377899, -0.10758913308382034, 0.2695416212081909, -0.76723712682724, -0.36100026965141296, 0.23422960937023163, 0.1713607758283615, 0.004206404555588961, 0.35147625207901, -0.3742743134498596, 0.4371851086616516, -0.24658505618572235, 0.26603806018829346, -0.0808139368891716, -0.3441871404647827, -0.42764827609062195, -0.19787602126598358, -0.06896640360355377, -0.5100328922271729 ]
http://arxiv.org/abs/2407.02891v1
http://arxiv.org/pdf/2407.02891v1
GPTQT: Quantize Large Language Models Twice to Push the Efficiency
2024-07-03T08:08:01
2024-07-03T08:08:01
Yipin Guo, Yilin Lang, Qinyuan Ren
cs.LG
cs.LG, cs.AI, cs.CL
Due to their large size, generative Large Language Models (LLMs) require significant computing and storage resources. This paper introduces a new post-training quantization method, GPTQT, to reduce memory usage and enhance processing speed by expressing the weight of LLM in 3bit/2bit. Practice has shown that minimizing the quantization error of weights is ineffective, leading to overfitting. Therefore, GPTQT employs a progressive two-step approach: initially quantizing weights using Linear quantization to a relatively high bit, followed by converting obtained int weight to lower bit binary coding. A re-explore strategy is proposed to optimize initial scaling factor. During inference, these steps are merged into pure binary coding, enabling efficient computation. Testing across various models and datasets confirms GPTQT's effectiveness. Compared to the strong 3-bit quantization baseline, GPTQT further reduces perplexity by 4.01 on opt-66B and increases speed by 1.24 times on opt-30b. The results on Llama2 show that GPTQT is currently the best binary coding quantization method for such kind of LLMs.
[ -0.3252399265766144, -0.7827544212341309, 0.5256239175796509, 0.2568042278289795, -0.5718241930007935, 0.11969474703073502, -0.33106890320777893, -0.020569156855344772, -0.3259331285953522, 0.4325087368488312, -0.11554746329784393, -0.2511504888534546, -0.5968443155288696, -0.3158937394618988, -0.23951171338558197, 0.8468834161758423, -0.0610039159655571, 0.23686787486076355, 0.06180954724550247, 0.01927284337580204, -0.190058171749115, -0.7313256859779358, -1.1897679567337036, -0.14265355467796326, 0.24958300590515137, 0.09490975737571716, 1.089838981628418, 0.5336371064186096, 0.4353235363960266, 0.16950032114982605, -0.14632026851177216, -0.2802731394767761, -0.5874903798103333, -0.033322129398584366, 0.17121967673301697, -0.6385524272918701, -0.5119389295578003, -0.34765031933784485, 0.9076244235038757, 0.39090099930763245, -0.3348694145679474, 0.14888803660869598, -0.20531560480594635, 0.792073667049408, -0.5317395925521851, 0.24068708717823029, -0.4257662296295166, 0.055308155715465546, -0.28413107991218567, -0.05190958082675934, -0.22257189452648163, -0.47371605038642883, -0.2606438994407654, -0.3688707649707794, 0.19755634665489197, -0.0584472194314003, 0.4613885283470154, 0.2029164582490921, -0.5970923900604248, 0.31848078966140747, -0.6956374645233154, 0.7826323509216309, -0.7980718016624451, 0.510708749294281, 0.29464098811149597, 0.16569024324417114, 0.0179616566747427, -0.7969611883163452, -0.6252593398094177, -0.13216985762119293, 0.26441097259521484, -0.1868479698896408, -0.22438596189022064, 0.18095465004444122, 0.5961698889732361, 0.5930308103561401, -0.8419977426528931, -0.06489172577857971, -0.17315766215324402, -0.15693411231040955, 0.6244168877601624, -0.00996480043977499, 0.20413747429847717, 0.1946439892053604, -0.17955382168293, -0.15082083642482758, -1.0179293155670166, -0.16731585562229156, 0.20269827544689178, -0.1677234023809433, 0.26604750752449036, 0.5556164979934692, -0.28480076789855957, 0.486192911863327, -0.13598600029945374, -0.14374108612537384, 0.28551456332206726, -0.43763312697410583, -0.22478646039962769, -0.14394833147525787, 0.8267379403114319, 0.2584770619869232, 0.09123434126377106, -0.08849863708019257, -0.4340030252933502, 0.11048685759305954, 0.08182298392057419, -1.212280035018921, -0.33232834935188293, 0.10696142166852951, -0.4580555260181427, 0.009594447910785675, -0.37911534309387207, -0.2522975504398346, 0.026449115946888924, -0.3330165445804596, 0.6488761305809021, -0.7691643834114075, -0.4628141522407532, 0.2754959166049957, 0.15598653256893158, 0.3691819906234741, 0.46008366346359253, -0.9798226356506348, 0.3391144573688507, 0.8960996866226196, 0.9011445641517639, 0.09537652879953384, 0.16921865940093994, -0.5535190105438232, 0.03346516937017441, -0.42584142088890076, 0.51334547996521, -0.18372546136379242, -0.21516282856464386, -0.22039306163787842, -0.3466794788837433, 0.28445327281951904, -0.37435421347618103, 0.44226953387260437, -0.907351553440094, 0.06245388090610504, -0.17148128151893616, -0.6056138873100281, -0.25820180773735046, 0.057947710156440735, -0.635903000831604, 1.1793869733810425, 0.5205175876617432, -0.6960399746894836, 0.2874663472175598, -0.45748642086982727, -0.4469180107116699, 0.4393986463546753, 0.06653179228305817, -0.38578465580940247, 0.43136170506477356, 0.2958777844905853, 0.2865312993526459, -0.44735947251319885, 0.2343626320362091, 0.06120140850543976, -0.8157457709312439, -0.048554159700870514, -0.41798898577690125, 0.8090065121650696, 0.25417599081993103, -0.2702006995677948, 0.0853758454322815, -0.4799481928348541, 0.4423901438713074, 0.22031494975090027, -0.6807272434234619, -0.12540937960147858, -0.09745441377162933, -0.015048305504024029, 0.09075913578271866, 0.20387685298919678, -0.3839428722858429, 0.4603714942932129, -0.43358710408210754, 0.7388720512390137, 0.5965837240219116, -0.21463526785373688, 0.35909605026245117, -0.10567861795425415, 0.6374746561050415, -0.4257560670375824, 0.2823268473148346, 0.09032842516899109, -0.4203765094280243, -0.7232297658920288, -0.2398953139781952, 0.6152721047401428, 0.6255793571472168, -1.1284886598587036, 0.32120954990386963, -0.3601264953613281, -0.2237035632133484, -0.5405157804489136, -0.02315095067024231, 0.3917582631111145, -0.2112993746995926, 0.2833014726638794, -0.48821449279785156, -0.42617014050483704, -0.746411919593811, -0.08630054444074631, -0.18734703958034515, -0.48270300030708313, -0.1684175580739975, 0.34055790305137634, -0.1935998499393463, 0.6232850551605225, -0.5548419952392578, 0.34037649631500244, -0.19541412591934204, 0.2591193914413452, 0.17935964465141296, 0.560035228729248, 0.23142561316490173, -0.7705187797546387, -0.5712823867797852, -0.1850372552871704, -0.3759481608867645, -0.017967212945222855, 0.01719243824481964, -0.26558709144592285, 0.3051946461200714, 0.5298408269882202, -0.773410975933075, 0.24629803001880646, 0.5766788721084595, -0.15240360796451569, 0.5911521911621094, -0.1649516075849533, 0.13389034569263458, -0.7203877568244934, -0.22973893582820892, -0.2505839169025421, -0.49789807200431824, -0.4946926236152649, 0.2462962567806244, 0.35382935404777527, -0.04873126372694969, -0.3077026903629303, 0.24326059222221375, -0.6114242672920227, -0.15649893879890442, -0.3967282474040985, -0.14410002529621124, -0.13624729216098785, 0.6298335790634155, -0.1251264065504074, 1.0973392724990845, 0.5586212277412415, -0.3609170913696289, 0.631428062915802, -0.11372429132461548, -0.3592061996459961, 0.34657391905784607, -0.6120738983154297, 0.45149537920951843, -0.18775498867034912, 0.2608347535133362, -0.982637345790863, 0.3073434829711914, 0.14228275418281555, -0.36278295516967773, 0.4148181676864624, -0.21977488696575165, -0.9557752013206482, -0.3861139714717865, -0.4692625403404236, 0.6884029507637024, 0.9037840366363525, -0.3111051619052887, 0.43251389265060425, 0.23894985020160675, -0.28015246987342834, -0.14308981597423553, -0.5846116542816162, 0.13303132355213165, -0.16251996159553528, -0.5914424657821655, 0.32724523544311523, -0.12927651405334473, 0.11132173240184784, -0.2004137486219406, -0.1254924088716507, -0.01578313112258911, -0.05983107164502144, -0.1990862488746643, 0.008354086428880692, -0.32727867364883423, 0.3624929189682007, 0.027268972247838974, -0.24102142453193665, 0.1342124491930008, -0.6548694372177124, 0.7751284837722778, -0.28008684515953064, -0.02558162435889244, -0.35352155566215515, 0.3886415958404541, 0.1139676570892334, -0.2664785087108612, 0.7432305812835693, 1.0669200420379639, -0.22730696201324463, 0.10572194308042526, -0.5451646447181702, 0.04615301638841629, -0.41855910420417786, 0.7336545586585999, -0.47301244735717773, -1.2240468263626099, 0.05162564292550087, -0.21956995129585266, -0.037500299513339996, 0.40707337856292725, 0.6379730105400085, 0.21185442805290222, 1.1035125255584717, 0.531192421913147, -0.05801698938012123, 0.6066321730613708, -0.28065282106399536, 0.3020453453063965, -0.99834144115448, 0.18139351904392242, -0.32767680287361145, 0.043313391506671906, -0.5253207683563232, -0.9202457666397095, 0.33970215916633606, 0.5950608253479004, -0.5798835158348083, 0.28014126420021057, -0.4180419445037842, 0.5408634543418884, 0.6400578022003174, 0.28387701511383057, 0.25235119462013245, 0.1900365948677063, 0.23842626810073853, -0.002934408141300082, -0.7025426030158997, -0.2147073745727539, 1.38161301612854, 0.3778176009654999, 0.6673261523246765, 0.4639512598514557, 0.4566984176635742, 0.023911941796541214, 0.4463267922401428, -0.9203232526779175, 0.5759568214416504, -0.22859802842140198, -0.26605531573295593, -0.5962480306625366, -0.7908025979995728, -0.596415102481842, 0.49764347076416016, -0.05637291818857193, -0.45012620091438293, -0.3852540850639343, 0.11131180822849274, -0.40481284260749817, 0.2769567370414734, -0.7493494749069214, 0.6719961762428284, -0.18411283195018768, -0.4170428216457367, -0.38565197587013245, -0.4957488477230072, 0.5230106711387634, -0.2039112001657486, 0.08217847347259521, 0.08468692004680634, -0.2762601971626282, 0.8281374573707581, -0.616455614566803, 0.36633604764938354, -0.0911799967288971, -0.33913564682006836, 0.26949238777160645, 0.20049911737442017, 0.7576175928115845, 0.1605478972196579, 0.10115490108728409, 0.20413915812969208, 0.02618897520005703, -0.6335034966468811, -0.7541834115982056, 0.37267541885375977, -0.5583469271659851, -0.7051553130149841, -0.2237413078546524, -0.3912862241268158, -0.28039875626564026, 0.04030780494213104, 0.1494351625442505, 0.2789713144302368, 0.07295691221952438, 0.1902555674314499, 0.8707390427589417, -0.18049758672714233, 0.308488667011261, 0.38014650344848633, -0.18452592194080353, -0.5558614134788513, 0.7291041612625122, 0.05194694176316261, 0.46268683671951294, 0.6085726618766785, 0.2252369076013565, -0.4056631922721863, -0.8724373579025269, -0.3547917604446411, 0.27847468852996826, -0.4530474841594696, -0.42149752378463745, -0.5506789088249207, -0.2172083705663681, -0.5801798105239868, 0.24560435116291046, -0.46103546023368835, -0.6257871985435486, 0.12139592319726944, 0.07134758681058884, 0.46395260095596313, 0.3000229299068451, -0.14966034889221191, 0.7934285998344421, -0.8541091680526733, 0.3479451835155487, 0.5864610075950623, 0.46886715292930603, 0.06644397228956223, -0.595964789390564, -0.531213104724884, -0.044528357684612274, -0.25469014048576355, -0.5379494428634644, 0.358394593000412, 0.15760819613933563, 0.14718639850616455, 0.3120057284832001, -0.3217996060848236, 0.5064889192581177, -0.4806431233882904, 0.649959921836853, 0.31969910860061646, -1.175673246383667, 0.2384355068206787, -0.24666330218315125, 0.5145757794380188, 0.2383684664964676, 0.40407705307006836, -0.6334691643714905, 0.058187469840049744, -0.4505687654018402, -0.9822788834571838, 0.612788736820221, 0.3301004469394684, 0.15923422574996948, 0.16619226336479187, 0.5152478814125061, -0.2028738111257553, 0.43608734011650085, -0.6233831644058228, -0.2067345231771469, -0.04417257383465767, 0.0065611605532467365, -0.13971053063869476, -0.8328078389167786, 0.1446332186460495, -0.3620857000350952, 0.6913642883300781, -0.0977858304977417, 0.5092598795890808, -0.1975986212491989, -0.09930001199245453, 0.020577531307935715, 0.32472097873687744, 0.2656925618648529, 0.5222388505935669, -0.21731708943843842, 0.18060307204723358, 0.1546257585287094, -0.6603085994720459, 0.2979130744934082, 0.11761125922203064, -0.10225662589073181, -0.24721404910087585, 0.30851566791534424, 0.9158328771591187, 0.18138471245765686, -0.41895970702171326, 0.6205109357833862, -0.23486268520355225, -0.2558671534061432, -0.25467562675476074, 0.10415428876876831, 0.1656932383775711, 0.27430304884910583, 0.2587519586086273, -0.3478729724884033, 0.2637167274951935, -0.47891372442245483, 0.11432741582393646, 0.45505502820014954, 0.14477664232254028, -0.14680883288383484, 0.4881170690059662, -0.03812594711780548, -0.11115214973688126, 0.8559252619743347, -0.47089093923568726, -0.7144919037818909, 0.29333949089050293, 0.4936809837818146, 0.7418003678321838, -0.4698321223258972, 0.07777517288923264, 0.44918519258499146, 0.2706908881664276, -0.5065023303031921, 0.34225645661354065, -0.1646486520767212, -0.7203112244606018, -0.9398636817932129, -0.7139844298362732, -0.15345808863639832, 0.05115076154470444, -0.46274954080581665, -0.04265959560871124, -0.4679430425167084, -0.2885996401309967, -0.31867992877960205, 0.2130746841430664, -0.479143351316452, 0.1669197380542755, 0.237101748585701, 0.5623124837875366, -0.38236722350120544, 1.0850673913955688, 0.45150408148765564, -0.06385412067174911, -0.9003449082374573, -0.1330474615097046, -0.2962532639503479, -0.819372296333313, 0.5842307209968567, -0.08831442892551422, 0.12709181010723114, 0.2947152256965637, -0.6556873321533203, -1.0653021335601807, 0.985434889793396, 0.35611969232559204, -0.8697399497032166, -0.017325229942798615, -0.05570303276181221, 0.38373786211013794, 0.01120731420814991, 0.3896518051624298, 0.8869147300720215, 0.2819265127182007, 0.4138214886188507, -0.7894177436828613, 0.30469778180122375, -0.14570803940296173, 0.5773003101348877, 0.5721985101699829, -0.694963812828064, 1.1535040140151978, -0.1726812869310379, -0.3376986086368561, 0.003860962577164173, 0.6269081830978394, 0.19341392815113068, -0.25910574197769165, 0.4978904128074646, 0.7196282744407654, 0.6829817295074463, -0.13793249428272247, 0.9163535833358765, -0.10494043678045273, 0.5753644704818726, 0.9022002816200256, -0.1337941586971283, 0.7665402889251709, 0.35522300004959106, -0.8454007506370544, 0.14682328701019287, 0.6117143630981445, 0.035020966082811356, 0.3792073428630829, 0.742923378944397, -0.655177116394043, -0.363128662109375, 0.39879071712493896, -0.46799203753471375, 0.12886834144592285, 0.15248239040374756, 0.03202018886804581, -0.05785054713487625, 0.028657091781497, 0.4010532796382904, -0.457036554813385, -0.4551393985748291, 0.6012805700302124, 0.056595176458358765, -0.3886623978614807, 1.0461856126785278, 0.2958190143108368, 0.7899001240730286, -0.6150174140930176, -0.07424353808164597, -0.34137478470802307, 0.003522801212966442, -0.029001086950302124, -0.6232650279998779, 0.1444239467382431, -0.16912367939949036, -0.05050559714436531, -0.20731742680072784, 0.3843833804130554, -0.45744672417640686, -0.5329244136810303, -0.04818693920969963, 0.2915097177028656, 0.34612637758255005, -0.7558695673942566, -0.5951156616210938, 0.13042320311069489, 0.1825352907180786, -0.5733892321586609, 0.41060584783554077, 0.7328935861587524, -0.16993288695812225, 0.5870019197463989, 0.7046233415603638, 0.18493437767028809, -0.0476035512983799, 0.2646853029727936, 0.9766286611557007, -0.8807308077812195, -0.46233195066452026, -0.8206132054328918, 0.2342846840620041, 0.2947167456150055, 0.13062167167663574, 0.5370911955833435, 0.6383699774742126, 0.8026062250137329, 0.024317990988492966, 0.7097980380058289, -0.03444113954901695, 0.2289743423461914, -0.867392361164093, 0.4231584668159485, -0.41824597120285034, 0.26588305830955505, -0.028111698105931282, -0.9720308184623718, -0.3929693102836609, 0.6719761490821838, -0.24495796859264374, 0.3031933903694153, 0.8894278407096863, 0.6231388449668884, 0.38525304198265076, -0.07153057307004929, 0.39202064275741577, 0.2706625163555145, 0.32582953572273254, 1.0997146368026733, 0.6315668821334839, -0.6650104522705078, 0.4999689757823944, -0.156834214925766, -0.43707799911499023, -0.11164256185293198, -0.6258448958396912, -0.6872904896736145, -0.224400594830513, -0.5155693292617798, -0.29171761870384216, 0.006489166058599949, 0.5472680330276489, 0.8301251530647278, -0.45759549736976624, -0.09406990557909012, -0.16967901587486267, -0.08155924081802368, -0.2530636191368103, -0.2657225728034973, 0.5536885261535645, -0.22100989520549774, -0.577755331993103, 0.03556292876601219, 0.15181957185268402, 0.1959397941827774, -0.2574150562286377, -0.015533482655882835, 0.05999920889735222, -0.17152230441570282, 0.961362898349762, -0.05919570103287697, -0.32359135150909424, -0.11655551195144653, -0.4317023754119873, -0.07599431276321411, 0.11692201346158981, 1.005918025970459, -0.7848226428031921, 0.08218339830636978, 0.417095422744751, 0.40359821915626526, 0.9385052919387817, 0.1690431535243988, 0.555823802947998, -0.4996347725391388, 0.25960609316825867, 0.32778775691986084, 0.03231559693813324, 0.31093016266822815, -0.5319359302520752, 0.6004477739334106, 0.22177661955356598, -0.6099070310592651, -0.6134164333343506, 0.1510232388973236, -0.7859600782394409, -0.31041449308395386, 1.1424626111984253, -0.09774627536535263, -0.3179934024810791, 0.11264094710350037, -0.306708961725235, 0.30252715945243835, -0.4431430399417877, 0.4065447449684143, 0.5830394625663757, -0.11483899503946304, -0.5933580994606018, -0.7728412747383118, 0.5934174656867981, 0.42732542753219604, -0.6176824569702148, 0.06478703767061234, 0.40608760714530945, 0.29355502128601074, -0.27456268668174744, 1.0264885425567627, -0.22868885099887848, 0.2148049920797348, 0.15694861114025116, 0.33847713470458984, 0.00927722454071045, 0.15060767531394958, -0.47003069519996643, 0.126529723405838, 0.2871650755405426, 0.05164360627532005 ]
http://arxiv.org/abs/2407.02885v1
http://arxiv.org/pdf/2407.02885v1
CogErgLLM: Exploring Large Language Model Systems Design Perspective Using Cognitive Ergonomics
2024-07-03T07:59:52
2024-07-03T07:59:52
Azmine Toushik Wasi
cs.HC
cs.HC, cs.CL, cs.CY, cs.SI
Integrating cognitive ergonomics with LLMs is essential for enhancing safety, reliability, and user satisfaction in human-AI interactions. Current LLM design often lacks this integration, leading to systems that may not fully align with human cognitive capabilities and limitations. Insufficient focus on incorporating cognitive science methods exacerbates biases in LLM outputs, while inconsistent application of user-centered design principles results in sub-optimal user experiences. To address these challenges, our position paper explores the critical integration of cognitive ergonomics principles into LLM design, aiming to provide a comprehensive framework and practical guidelines for ethical LLM development. Through our contributions, we seek to advance understanding and practice in integrating cognitive ergonomics into LLM systems, fostering safer, more reliable, and ethically sound human-AI interactions.
[ -0.4262043535709381, -0.81451416015625, 0.8709325194358826, -0.001551220309920609, -0.22544506192207336, -0.024853933602571487, -0.3781477212905884, -1.0600985288619995, -0.07098976522684097, 0.5234077572822571, -0.48067423701286316, -0.45876067876815796, -0.2840067446231842, -0.09056847542524338, -0.16726168990135193, 0.6483132839202881, -0.024305790662765503, 0.22494035959243774, -0.4948062598705292, -0.07715225964784622, -0.3227292001247406, -1.129181981086731, -0.6937084794044495, -0.579114556312561, 0.20219764113426208, 0.12348854541778564, 0.6369067430496216, 0.08178354054689407, 0.29199275374412537, 0.08896432816982269, -0.207068532705307, -0.07853147387504578, -0.4754941165447235, 0.16708731651306152, 0.029341306537389755, -0.2882245182991028, -0.7724169492721558, -0.06113915517926216, 0.08717381954193115, 0.6739808320999146, -0.7526959180831909, 0.10267849266529083, 0.38944512605667114, 0.3771832287311554, -0.4743450880050659, 0.10997656732797623, 0.12877622246742249, 0.41811108589172363, -0.06438186764717102, 0.040328498929739, -0.5366742014884949, -0.3681092858314514, 0.1837432086467743, -0.7450950741767883, -0.36735233664512634, 0.5359241962432861, 0.4697461426258087, 0.5400906205177307, -0.20999254286289215, -0.5338237285614014, -0.7643219828605652, 0.9440171718597412, -1.0978913307189941, 0.6107212901115417, 0.2163950651884079, -0.06450358778238297, -0.19882532954216003, -0.261796772480011, -0.6305278539657593, -0.24180564284324646, -0.29568353295326233, 0.23376238346099854, 0.08546800911426544, 0.41248369216918945, 0.11505307257175446, -0.012872142717242241, -0.5875122547149658, 0.3789179027080536, -0.35136792063713074, -0.055336516350507736, 0.7850795984268188, 0.39763975143432617, 0.5159375071525574, 0.22831228375434875, -0.29912659525871277, 0.06223573535680771, -0.6454742550849915, 0.08953890204429626, 0.4548972547054291, 0.03786211460828781, -0.20122557878494263, 0.4566271901130676, -0.061723742634058, 0.9928717017173767, -0.22108523547649384, -0.0714757889509201, 0.3023219406604767, -0.20756374299526215, -0.4363306760787964, 0.16232793033123016, 0.6314982771873474, 0.4467594027519226, 0.44854336977005005, -0.20090870559215546, -0.14082854986190796, -0.06498681008815765, 0.572744607925415, -0.29443466663360596, 0.12221604585647583, 0.49580004811286926, -0.49842292070388794, -0.45661112666130066, 0.07635854929685593, -0.6339882016181946, -0.27357107400894165, -0.6376809477806091, -0.05540795251727104, -0.14187130331993103, -0.3393772840499878, 0.6411110758781433, -0.018561864271759987, 0.4868331551551819, 0.5058233141899109, -0.8932622075080872, 0.4289610683917999, 0.968807578086853, 0.3389865756034851, -0.37876972556114197, -0.08584276586771011, -0.11841611564159393, 0.5404436588287354, -0.27617284655570984, 0.33200594782829285, -0.49532660841941833, -0.751745343208313, 0.1434420496225357, -0.2864554822444916, 0.06705083698034286, -0.4794749319553375, 0.8104380369186401, -0.5619470477104187, 0.3131524920463562, -0.05466825142502785, -0.28109011054039, -0.4455106556415558, 0.4161643087863922, -0.3079622983932495, 0.8861897587776184, -0.12030001729726791, -0.41021591424942017, 0.2544653117656708, -1.0694493055343628, -0.6139992475509644, -0.03958655521273613, -0.5917502641677856, -0.0951465517282486, 0.2542441785335541, -0.07515473663806915, 0.35270562767982483, -0.5459772944450378, 0.5128509402275085, -0.5688416361808777, -0.30974146723747253, 0.3390934467315674, -0.1537330448627472, 1.222572922706604, 0.4103560149669647, -0.16160371899604797, 0.07365934550762177, -0.3472476005554199, 0.34094130992889404, 0.09666705876588821, -0.574447751045227, -0.42678841948509216, 0.16637928783893585, 0.4148682951927185, 0.22758549451828003, 0.4538591504096985, -0.45678842067718506, -0.1666131168603897, -0.10499157011508942, 0.4500816762447357, 0.7198878526687622, -0.1777440756559372, 0.679765522480011, -0.33645322918891907, 0.5322290062904358, -0.4535938799381256, 0.6971848011016846, 0.5864455103874207, -0.1559869796037674, -0.5578925013542175, -0.18523256480693817, -0.3941940665245056, 0.7874848246574402, -0.34094473719596863, 0.8358545303344727, 0.09427725523710251, -0.14473207294940948, -0.08768428862094879, 0.15364238619804382, 0.3170296251773834, 0.5155957341194153, 0.2485455572605133, -0.26802998781204224, -0.39747899770736694, -0.8423917889595032, -0.28817135095596313, -0.5286820530891418, -0.14771974086761475, 0.5263159275054932, 0.18342329561710358, -0.32497358322143555, 0.9345507025718689, -0.4851239025592804, -0.05700359866023064, -0.10952349752187729, -0.26423025131225586, 0.2722584307193756, 0.6011969447135925, 0.5496677756309509, -0.6621170043945312, 0.034556496888399124, -0.0869220495223999, -1.4123483896255493, -0.1671898066997528, 0.23006434738636017, -0.18724223971366882, 0.4214249849319458, 0.8359308242797852, -0.6630967259407043, 0.30623793601989746, 0.5875746607780457, -0.3433343172073364, 0.35289818048477173, -0.20325911045074463, 0.018891841173171997, -0.7833027243614197, 0.14047159254550934, -0.15474651753902435, 0.05383524298667908, -0.6590152978897095, 0.3093225061893463, -0.21141202747821808, -0.17271916568279266, -0.5775744318962097, 0.398826003074646, -0.4855104088783264, 0.0006991353584453464, -0.07871385663747787, 0.06452572345733643, 0.08260727673768997, 0.25933998823165894, -0.028898699209094048, 0.4111427664756775, 0.2899763882160187, -0.6752104163169861, 0.3523138761520386, 0.2537693977355957, -0.3045217990875244, 0.9757058620452881, -1.0573097467422485, 0.2708641588687897, 0.05463492497801781, 0.4010109007358551, -0.606285035610199, -0.22457394003868103, 0.5786571502685547, -0.29683688282966614, 0.3405378460884094, 0.39816585183143616, -0.7016047835350037, -0.3187246024608612, -0.17643409967422485, 0.6329787969589233, 0.6200386881828308, -0.26981788873672485, 0.8087220788002014, 0.8092976808547974, -0.24484483897686005, -0.4020465016365051, -1.2168816328048706, 0.10763394832611084, -0.3751088082790375, -0.9548078179359436, 0.23992885649204254, -0.13393369317054749, -0.7062419056892395, -0.15377721190452576, 0.036211904138326645, 0.30570724606513977, 0.3522716462612152, 0.11268770694732666, 0.5350229740142822, -0.052537720650434494, 0.12429220229387283, -0.12503303587436676, -0.10433141142129898, 0.18961159884929657, -0.32085978984832764, 0.5495546460151672, -0.15220792591571808, -0.697420060634613, -0.5808357000350952, 0.4868391156196594, 0.6824260950088501, -0.07763378322124481, 0.5791707038879395, 0.39028626680374146, -0.37467333674430847, 0.18899114429950714, -0.6734991669654846, -0.2107688933610916, -0.4505467712879181, 0.3244498372077942, -0.014899934642016888, -1.200310230255127, 0.3430822789669037, 0.10866381227970123, 0.26593154668807983, -0.062000926584005356, 0.5771323442459106, -0.6156176328659058, 0.76264888048172, 0.9802893996238708, -0.0391564704477787, 0.5290830135345459, 0.21400515735149384, 0.28643354773521423, -1.2795294523239136, -0.3240623474121094, -0.43641772866249084, -0.2663150429725647, -0.3280237913131714, -0.3529556393623352, 0.4484390616416931, -0.13276083767414093, -0.6675572991371155, -0.12501035630702972, -0.5209195017814636, 0.07047425210475922, 0.4414600431919098, 0.14257311820983887, 0.34997159242630005, -0.10018952935934067, -0.3898504376411438, 0.15436281263828278, -0.6712068915367126, -0.7265677452087402, 0.551550030708313, 0.34009143710136414, 1.49001944065094, 0.46230193972587585, 0.8467845320701599, 0.23850752413272858, 0.13541600108146667, -0.6197047829627991, 0.5753553509712219, 0.06329016387462616, -0.8507238626480103, -0.6410394310951233, 0.010204900987446308, -0.8058796525001526, 0.04509972035884857, -0.13482120633125305, -1.023898959159851, 0.29620105028152466, 0.13571855425834656, -0.5756862759590149, -0.021508483216166496, -0.6425106525421143, 0.6358872652053833, -0.6548376679420471, -0.4347482919692993, -0.45405420660972595, -0.6599181890487671, 0.3056686222553253, 0.07141193747520447, 0.42484211921691895, -0.07644885033369064, -0.3730171322822571, 0.7564680576324463, -0.15085574984550476, 1.199205994606018, 0.08312956243753433, -0.2530091404914856, 0.2697370648384094, -0.1753552258014679, 0.395888090133667, 0.030856281518936157, -0.21619947254657745, 0.3037925064563751, -0.12393748015165329, -0.41838040947914124, -0.2607661485671997, 0.7116522192955017, -0.9067065119743347, -0.9492483139038086, -0.5859978199005127, -0.6408953666687012, -0.2723957300186157, 0.09756824374198914, -0.09047678858041763, 0.0038729701191186905, -0.48722630739212036, 0.14373335242271423, 0.7931936383247375, -0.3530796766281128, 0.43023180961608887, 0.3726719319820404, -0.4612879455089569, -0.314646452665329, 0.4455167055130005, -0.0901002585887909, 0.2880302965641022, 0.049255963414907455, -0.073341503739357, -0.3100440800189972, -0.5363003015518188, -0.3356984555721283, 0.17476502060890198, -0.6729166507720947, 0.4024546444416046, -0.47686928510665894, -0.28297165036201477, -0.3562452495098114, -0.5923800468444824, -0.05412466824054718, -0.11492109298706055, -0.5303421020507812, -0.03242017328739166, 0.2133886069059372, 0.8972176313400269, 0.2065620869398117, 0.25119754672050476, -0.816371738910675, 0.02104135975241661, 0.1340823620557785, 0.36411577463150024, 0.0709737092256546, -0.4080033302307129, -0.21858201920986176, -0.19998827576637268, -0.15429991483688354, -0.3129933178424835, 0.15034465491771698, -0.34350135922431946, 1.1807832717895508, 0.2151130735874176, 0.1711955964565277, 0.44173067808151245, -0.32925161719322205, 0.8137491941452026, 0.4824628233909607, -0.7490559220314026, 0.1385912001132965, -0.4599964916706085, 0.275616854429245, 0.6136597394943237, 0.1743779331445694, -0.8454774022102356, -0.19009418785572052, -0.5019955635070801, -0.8741453289985657, 0.536591112613678, -0.03193507343530655, -0.00015027540212031454, 0.2201865315437317, 0.2931576371192932, 0.07369257509708405, 0.11934728920459747, -0.5078926086425781, 0.06548614799976349, 0.38790348172187805, -0.5045152902603149, -0.06944933533668518, -0.24861803650856018, -0.5482164621353149, 0.00816940888762474, 0.5512787103652954, 0.0005152226076461375, 0.1785290390253067, 0.1320473998785019, -0.18968476355075836, 0.022862005978822708, 0.22093473374843597, 0.9151356220245361, 0.8165749311447144, -0.08662505447864532, 0.07780352979898453, 0.3254966735839844, -0.37056049704551697, 0.06746872514486313, -0.1464371234178543, -0.20153556764125824, -0.6233582496643066, 0.13524438440799713, 0.2144765853881836, 0.1431404948234558, -0.6986179947853088, 0.03985532000660896, -0.16442304849624634, -0.003031861735507846, -0.8156524896621704, 0.40708041191101074, 0.5063910484313965, 0.48192909359931946, 0.42249199748039246, 0.029769036918878555, -0.059374306350946426, -0.5371436476707458, 0.1266360878944397, 0.5995224118232727, -0.3864816427230835, -0.15543228387832642, 0.6185240149497986, 0.45260557532310486, -0.42943644523620605, 0.5820115208625793, 0.3183061182498932, -0.26145291328430176, 0.5571630001068115, 0.30057963728904724, 0.8156734704971313, -0.0536133237183094, -0.362928569316864, 0.044348087161779404, 0.5846632719039917, -0.23470094799995422, 0.3588728606700897, 0.19247420132160187, -0.5837152600288391, -0.44608715176582336, -0.4636308550834656, -0.6426689624786377, -0.4217817187309265, -0.7249777913093567, 0.3380310535430908, -0.41763144731521606, -0.2544212341308594, -0.4816758930683136, -0.4196021258831024, -0.5617767572402954, 0.24051134288311005, 0.46141672134399414, 0.6773322224617004, -0.5778310894966125, 0.5449414849281311, 0.780372679233551, -0.3147391676902771, -0.29878076910972595, 0.059479862451553345, 0.3591013550758362, -1.1218507289886475, 0.47947242856025696, -0.25612732768058777, -0.3371543288230896, -0.16758796572685242, -0.6288694143295288, -0.7432881593704224, 1.431938886642456, 0.3579733967781067, -0.5586143732070923, -0.11542683839797974, 0.15605053305625916, 0.45670315623283386, -0.5713568925857544, -0.16454170644283295, 0.3269828259944916, 0.639098584651947, -0.13697269558906555, -0.7496386766433716, 0.2880396842956543, 0.11576458811759949, -0.023423023521900177, 0.09053301066160202, -1.1068108081817627, 0.567238450050354, -0.12996628880500793, -0.040221814066171646, 0.09025835245847702, 0.4305744171142578, 0.4535526633262634, 0.4625069499015808, 0.3800996243953705, 0.815613329410553, 0.888476550579071, 0.11220575869083405, 1.1476060152053833, -0.34018614888191223, 0.40929967164993286, 0.982347846031189, -0.47045665979385376, 0.6535696983337402, 1.0185644626617432, -0.15008507668972015, 0.2168966680765152, 0.6113482713699341, 0.45751991868019104, 0.18580631911754608, 0.4036518633365631, -0.4016874134540558, -0.27557408809661865, -0.2404603809118271, -0.4380071461200714, 0.2900528013706207, 0.6728981733322144, -0.21227510273456573, 0.07020032405853271, -0.16011445224285126, 0.14560215175151825, -0.12771514058113098, 0.011703861877322197, 0.6890890598297119, 0.5975589156150818, -0.5171314477920532, 0.3260393738746643, -0.24921676516532898, 0.8920749425888062, -0.292590856552124, 0.2032470703125, 0.10353913903236389, 0.12889255583286285, -0.31831178069114685, -0.9500333070755005, 0.47017914056777954, -0.12182153016328812, -0.1013394370675087, -0.2732357680797577, 0.7180655002593994, -0.13228507339954376, -0.3999481499195099, 0.49108076095581055, 0.9283353090286255, 0.08332693576812744, 0.3830713629722595, -0.6608151197433472, 0.544505774974823, -0.1378219872713089, -0.39366820454597473, 0.347866952419281, 0.2068376988172531, 0.02102004550397396, 0.5822859406471252, 0.7223144769668579, -0.26629742980003357, -0.308251291513443, -0.03792589157819748, 0.6319605708122253, -1.022091031074524, -0.2831520438194275, -1.0925800800323486, 0.4138951599597931, -0.10405396670103073, -0.18491950631141663, 0.22567281126976013, 0.3449740707874298, 0.7850884199142456, -0.1190437451004982, 1.1489979028701782, -0.3324631452560425, -0.10856770724058151, -0.6189053654670715, 1.0866559743881226, -0.47286537289619446, 0.2294168323278427, -0.016646012663841248, -0.6740453839302063, -0.585545003414154, 0.7302510738372803, -0.4877224266529083, 0.3283643424510956, 0.7176350355148315, 0.6304296851158142, -0.019597966223955154, 0.11644318699836731, 0.6480026841163635, 0.06458211690187454, 0.5960443019866943, 0.6142823100090027, 1.0217591524124146, 0.13141502439975739, 0.4086143374443054, 0.14073410630226135, -0.2284696102142334, -0.700992226600647, -1.0596390962600708, -0.7304006218910217, -0.28079333901405334, -0.21315701305866241, -0.14809973537921906, 0.059631310403347015, 1.1152268648147583, 0.7278656959533691, -0.5985025763511658, -0.5963119268417358, -0.0985618606209755, 0.051849838346242905, 0.06379174441099167, -0.24902896583080292, -0.1144666001200676, -0.15921293199062347, -0.5656955242156982, -0.03922373056411743, 0.514392614364624, 0.10971495509147644, -0.39729782938957214, -0.5379927754402161, -0.2686598598957062, 0.14538481831550598, 0.6474701166152954, 0.2984501123428345, -0.9247012734413147, -0.6562889814376831, 0.23264798521995544, -0.49035191535949707, 0.025180278345942497, 0.7892633080482483, -0.36092138290405273, 0.23466040194034576, 0.37896063923835754, 0.7564157247543335, 0.29045844078063965, -0.19709405303001404, 0.8935896158218384, -0.1883537322282791, 0.11040444672107697, 0.4741354286670685, 0.44649505615234375, 0.3202480673789978, -0.5709990859031677, 0.8650470972061157, -0.024927660822868347, -0.6805117130279541, -0.7708656191825867, 0.3783022165298462, -1.4078311920166016, -0.04028613492846489, 1.1586359739303589, -0.10100209712982178, -0.3948591351509094, -0.36374524235725403, -0.35801365971565247, 0.2536967396736145, -0.3612419068813324, 0.848690390586853, 0.9651607275009155, -0.7627282738685608, -0.07210107147693634, -0.8576624393463135, 0.14385086297988892, 0.46150729060173035, -0.9562825560569763, 0.017184840515255928, 0.4269047677516937, 0.21356843411922455, 0.11946740746498108, 0.46099284291267395, -0.31724536418914795, 0.4089725911617279, -0.28256651759147644, 0.5013920068740845, -0.11599070578813553, 0.29936617612838745, -0.2522515058517456, -0.01763313263654709, 0.45818379521369934, 0.11149619519710541 ]
http://arxiv.org/abs/2407.02883v1
http://arxiv.org/pdf/2407.02883v1
CoIR: A Comprehensive Benchmark for Code Information Retrieval Models
2024-07-03T07:58:20
2024-07-03T07:58:20
Xiangyang Li, Kuicai Dong, Yi Quan Lee, Wei Xia, Yichun Yin, Hao Zhang, Yong Liu, Yasheng Wang, Ruiming Tang
cs.IR
cs.IR, cs.CL
Despite the substantial success of Information Retrieval (IR) in various NLP tasks, most IR systems predominantly handle queries and corpora in natural language, neglecting the domain of code retrieval. Code retrieval is critically important yet remains under-explored, with existing methods and benchmarks inadequately representing the diversity of code in various domains and tasks. Addressing this gap, we present \textbf{\name} (\textbf{Co}de \textbf{I}nformation \textbf{R}etrieval Benchmark), a robust and comprehensive benchmark specifically designed to assess code retrieval capabilities. \name comprises \textbf{ten} meticulously curated code datasets, spanning \textbf{eight} distinctive retrieval tasks across \textbf{seven} diverse domains. We first discuss the construction of \name and its diverse dataset composition. Further, we evaluate nine widely used retrieval models using \name, uncovering significant difficulties in performing code retrieval tasks even with state-of-the-art systems. To facilitate easy adoption and integration within existing research workflows, \name has been developed as a user-friendly Python framework, readily installable via pip. It shares same data schema as other popular benchmarks like MTEB and BEIR, enabling seamless cross-benchmark evaluations. Through \name, we aim to invigorate research in the code retrieval domain, providing a versatile benchmarking tool that encourages further development and exploration of code retrieval systems\footnote{\url{ https://github.com/CoIR-team/coir}}.
[ -0.20669026672840118, -0.5608007907867432, -0.02815113589167595, 0.20888136327266693, -0.002394580515101552, 0.5666724443435669, -0.1532997041940689, -0.5820280909538269, 0.08392152190208435, 0.20862026512622833, -0.08150854706764221, -0.47614189982414246, -0.45289576053619385, 0.20361004769802094, -0.5582358837127686, 0.65804523229599, -0.023357050493359566, -0.03929583728313446, -0.24005383253097534, -0.31056997179985046, -0.46107521653175354, -0.7519341707229614, -0.3769034147262573, -0.20337502658367157, 0.6370288133621216, 0.42177295684814453, 0.33937159180641174, 0.491621732711792, 1.2996281385421753, 0.08263317495584488, 0.04843159765005112, 0.20097483694553375, -0.5294468402862549, 0.14987075328826904, -0.08623852580785751, -0.25039151310920715, -0.3934137225151062, -0.06157941371202469, 0.3574134409427643, 0.7925990223884583, -0.2520172894001007, 0.4024992287158966, -0.10356481373310089, 0.779826283454895, -1.0890663862228394, -0.02593015879392624, -0.48132869601249695, 0.20312078297138214, -0.15123090147972107, -0.38862431049346924, -0.5126699805259705, -0.5173776149749756, 0.13350066542625427, -0.32925114035606384, 0.09592719376087189, 0.4655856192111969, 0.8729947805404663, 0.11527427285909653, -0.20907850563526154, -0.473638117313385, -0.867807924747467, 0.9536702036857605, -0.23480014503002167, 0.5548750758171082, 0.24821756780147552, 0.5317402482032776, -0.22370395064353943, -1.1184113025665283, -0.25922292470932007, -0.2936859428882599, -0.08231174200773239, -0.0024863900616765022, -0.49686771631240845, -0.22027364373207092, 0.25919219851493835, 0.6311761736869812, -0.6981549859046936, -0.49311259388923645, -0.4011208713054657, -0.23290230333805084, 0.4437609612941742, 0.041627634316682816, 0.3566538989543915, 0.13448137044906616, -0.7245058417320251, -0.3034074306488037, -0.6202973127365112, 0.1398446410894394, 0.42587026953697205, 0.28592929244041443, -0.17710021138191223, 0.4614960551261902, -0.5244008302688599, 0.7355680465698242, -0.11010695993900299, 0.16677288711071014, 0.3268957734107971, -0.23990674316883087, -0.3319421112537384, -0.005254858173429966, 0.6435402035713196, 0.10091409087181091, 0.05214058980345726, -0.6752058267593384, -0.08376328647136688, 0.1144663393497467, 0.43432459235191345, -0.8427563905715942, -0.4971427917480469, 0.13043572008609772, -0.5126680135726929, 0.007159460801631212, 0.33901408314704895, -0.8023380041122437, -0.1495104879140854, -0.09924545884132385, 0.313212513923645, -0.372901976108551, -0.23349788784980774, 0.20488515496253967, -0.46806663274765015, 0.48087212443351746, 0.040683671832084656, -0.539970338344574, 0.4622049033641815, 0.9219925403594971, 0.5818925499916077, -0.4829910397529602, -0.018988102674484253, -0.8731797933578491, -0.1370857208967209, -0.37011924386024475, 0.7909701466560364, -1.1246081590652466, -0.3145197927951813, -0.17539848387241364, -0.2878808379173279, 0.07467672228813171, -0.986808180809021, 0.6469376087188721, -0.8747074007987976, -0.09511550515890121, -0.21851560473442078, -0.401363343000412, -0.1670224368572235, 0.3090047240257263, -0.8363640308380127, 1.1575195789337158, 0.17044267058372498, -0.9313644766807556, 0.28546738624572754, -0.3400280177593231, -0.3622932434082031, 0.20274585485458374, -0.37566447257995605, -0.30279356241226196, 0.0004002535715699196, -0.41352328658103943, 0.1462058424949646, -0.6563816070556641, 0.3774336278438568, -0.4840220510959625, -0.5885393619537354, 0.09364217519760132, -0.029681850224733353, 0.5168546438217163, 0.6245077252388, 0.006287744268774986, -0.3024997413158417, -0.8489416837692261, 0.4574255347251892, -0.1623028963804245, -0.3403935134410858, -0.6530112028121948, -0.08233793079853058, 0.11015383154153824, -0.09636648744344711, 0.23714320361614227, -0.36890652775764465, 0.09951155632734299, 0.19243451952934265, 0.19746989011764526, 0.00509676756337285, -0.13162027299404144, 0.4176263213157654, -0.3360140919685364, 0.6087005734443665, -0.19094933569431305, 0.1340065747499466, 0.014381656423211098, -0.14694316685199738, -0.5590052604675293, -0.4745272696018219, 0.4827634394168854, 0.45123010873794556, -0.5135141611099243, 0.19357790052890778, -0.20437617599964142, -0.8264094591140747, -0.2516086995601654, 0.010594261810183525, 0.6185821890830994, 0.3362544775009155, 0.5701206922531128, -0.563222348690033, -0.9538830518722534, -0.8124669194221497, -0.6638460755348206, -0.25480952858924866, 0.24624314904212952, 0.5300648212432861, 0.6721175909042358, -0.3489161431789398, 0.9507474303245544, -0.48403459787368774, -0.20905037224292755, -0.10890219360589981, 0.4285029172897339, 0.3503488302230835, 0.5275776386260986, 0.17050452530384064, -1.118306279182434, -0.6324747800827026, -0.12451054900884628, -0.7022415399551392, -0.05692195147275925, 0.061101313680410385, -0.28311464190483093, -0.2501388490200043, 0.3830816149711609, -0.1877327561378479, 0.2565816342830658, 0.612250566482544, -0.2293509691953659, 0.7212666273117065, -0.13688704371452332, 0.21157541871070862, -0.7656329870223999, 0.808404803276062, -0.36564698815345764, -0.18690992891788483, -0.4959849715232849, 0.6867254972457886, 0.3236168920993805, 0.11964435130357742, -0.2860116958618164, 0.5512740612030029, -0.6338145732879639, -0.10069387406110764, 0.14898581802845, -0.2220969796180725, 0.2764444053173065, 0.18624715507030487, -0.058914512395858765, 1.0181794166564941, 0.4500986933708191, -0.7751195430755615, 0.35982662439346313, 0.20343494415283203, -0.5509705543518066, 0.6300305724143982, -0.8345270752906799, 0.3991941511631012, 0.32448530197143555, -0.01618121936917305, -0.5884315371513367, -0.044449228793382645, 0.05738088861107826, -0.42485207319259644, 0.03957560285925865, -0.3546173572540283, -0.5974844694137573, -0.1386353075504303, -0.11641115695238113, 0.5654394626617432, 0.48526620864868164, -0.5929436683654785, 0.3326735198497772, 0.5418723821640015, 0.0009579671896062791, -0.944866955280304, -0.6102532744407654, 0.37929752469062805, -0.2670888304710388, -0.20620203018188477, 0.5486837029457092, -0.45434483885765076, -0.4321483075618744, -0.09174281358718872, -0.3475410044193268, -0.5909734964370728, 0.19629929959774017, 0.03001043014228344, 0.2490517646074295, -0.21061360836029053, 0.15199477970600128, -0.2004782110452652, -0.07617723941802979, -0.16606982052326202, -0.06050407886505127, 0.5882835984230042, -0.30821043252944946, -0.24569855630397797, 0.017263153567910194, 0.29919812083244324, 0.26517680287361145, -0.5867354273796082, 0.2675296366214752, 0.23320649564266205, -0.21847006678581238, -0.27831414341926575, -0.4481391906738281, 0.16902609169483185, -0.3826259970664978, 0.1068955659866333, -0.4785349369049072, -0.7788304686546326, 0.6898740530014038, -0.30744826793670654, -0.5534601807594299, 0.23894621431827545, 0.21251438558101654, -0.006127328611910343, 0.4892914891242981, 0.9283562898635864, -0.05866607651114464, 0.32741808891296387, -0.4201197028160095, 0.2931623160839081, -0.8801752924919128, -0.38100701570510864, -0.9491363167762756, -0.13324251770973206, -0.4499489367008209, -0.5884555578231812, 0.02798626385629177, 0.3906446397304535, -0.17775222659111023, 0.7680966854095459, -0.6157486438751221, 0.40790536999702454, 0.48157036304473877, -0.2120753526687622, 0.5591715574264526, 0.14432170987129211, -0.2683311104774475, 0.1560155153274536, -0.4391995072364807, -0.3702392876148224, 0.8479548096656799, 0.01207318902015686, 1.1887530088424683, 0.08027904480695724, 0.9374316334724426, 0.7206433415412903, -0.12403476238250732, -0.4577404856681824, 0.3309265971183777, -0.14589767158031464, -0.6749207973480225, 0.20190000534057617, -0.5349933505058289, -1.1570512056350708, -0.12155966460704803, 0.05553729832172394, -0.5693619251251221, 0.6176366209983826, -0.06649846583604813, -0.47909271717071533, 0.08965102583169937, -0.6021786332130432, 0.8623631596565247, -0.21240383386611938, -0.5532335638999939, -0.3156594932079315, -0.4424310028553009, -0.1248767301440239, -0.013837439939379692, 0.014381330460309982, -0.08890704810619354, -0.08229242265224457, 0.5232911109924316, -0.12141820788383484, 0.3225257992744446, -0.05230623111128807, 0.15749073028564453, 0.3124690055847168, 0.33456549048423767, 0.351059228181839, 0.003410514909774065, -0.41141122579574585, 0.4215056002140045, 0.3803490698337555, -0.2731250524520874, -0.14149846136569977, 0.6901611089706421, -0.55042964220047, 0.0456489697098732, -0.427733838558197, -0.4217679798603058, 0.22905366122722626, 0.4884313941001892, 0.10879247635602951, 0.6878718733787537, -0.4175048768520355, 0.5761860609054565, 0.708477258682251, -0.41803643107414246, 0.3452388048171997, 0.622911274433136, -0.1452094465494156, -0.28944095969200134, 0.8716904520988464, -0.05934475362300873, 0.05619946867227554, 0.8602381348609924, -0.1493203192949295, -0.10217133164405823, -0.44402599334716797, -0.09869077801704407, -0.08483884483575821, -0.6294446587562561, -0.5725551843643188, -0.8110046982765198, -0.12367606908082962, -0.08667830377817154, 0.05149928107857704, -0.45547038316726685, -0.2247302383184433, 0.0908900573849678, 0.318661093711853, 0.29538679122924805, 0.641708254814148, 0.06888514012098312, -0.081724151968956, -0.74952632188797, 0.4978313148021698, -0.09365454316139221, 1.0349364280700684, -0.1224118024110794, -0.23192434012889862, -0.4397967457771301, -0.14796514809131622, -0.024996699765324593, -0.33371299505233765, 0.5367646813392639, 0.36119091510772705, 0.648750901222229, -0.17496517300605774, 0.6354238986968994, 0.7986158728599548, -0.3700903058052063, 0.5730164051055908, 0.034167565405368805, -0.6317824721336365, 0.41623520851135254, 0.01679217256605625, 0.08582161366939545, 0.9509779214859009, 0.2586657404899597, -0.7572718262672424, -0.2788596749305725, -0.485749214887619, -1.1078486442565918, 0.5193895101547241, 0.19412861764431, 0.02092813141644001, -0.2022244930267334, 0.27167198061943054, 0.5966577529907227, 0.3102186620235443, -0.3295696973800659, -0.3903789818286896, 0.22992420196533203, -0.19131070375442505, 0.3820840120315552, -0.26127877831459045, -0.022052820771932602, 0.03033478744328022, 0.3656458258628845, -0.06565793603658676, 0.8550971150398254, 0.5080375671386719, -0.5366542339324951, 0.020008040592074394, 0.2951056957244873, 0.18377511203289032, 0.5679323077201843, -0.5301172137260437, 0.1863144487142563, -0.19985021650791168, -0.5754016041755676, -0.11580207943916321, 0.14725397527217865, -0.014076344668865204, -0.06940914690494537, 0.36871522665023804, 0.4158206284046173, 0.010411510244011879, -0.8453388214111328, 0.3695484697818756, -0.44517385959625244, 0.05459239333868027, -0.6580100655555725, 0.3276904821395874, -0.24417291581630707, 0.4444604218006134, 0.7219200730323792, 0.37728387117385864, 0.5507307052612305, -0.5462831258773804, 0.5503029227256775, 0.47225889563560486, -0.44491925835609436, -0.2142004817724228, 0.687039852142334, 0.07946620881557465, -0.44752776622772217, 0.5691244602203369, -0.3578627109527588, -0.12385096400976181, 0.7583446502685547, 0.36746400594711304, 0.9785311222076416, 0.4043686091899872, 0.0186676774173975, 0.6172521114349365, -0.040812768042087555, -0.2649762034416199, 0.634875476360321, -0.242942214012146, -0.36344364285469055, -0.14970973134040833, -0.5459794998168945, -0.5800411701202393, -0.20851828157901764, -0.973232090473175, 0.28679853677749634, -0.4325302839279175, -0.030677905306220055, -0.25397586822509766, 0.23506055772304535, -0.8473759889602661, 0.09492715448141098, 0.2998124361038208, 1.396236538887024, -0.3853950500488281, 0.9521554112434387, 0.7229698896408081, -0.5988743901252747, -0.6373217701911926, 0.09962447732686996, -0.4787393808364868, -0.5749397873878479, 0.9883309006690979, 0.22958341240882874, -0.3554559051990509, -0.03492247313261032, -0.6177093982696533, -1.128825068473816, 1.1805435419082642, 0.2720082700252533, -0.41794243454933167, 0.1008855402469635, 0.17876456677913666, 0.7615833878517151, -0.5412265658378601, 0.7138606309890747, 0.24165064096450806, 0.4440515637397766, -0.056244947016239166, -0.8380023837089539, -0.04419189691543579, -0.6572396159172058, 0.02754771150648594, -0.13350605964660645, -0.767842173576355, 0.8046654462814331, -0.25443828105926514, -0.38675299286842346, 0.4569105803966522, 0.4306887984275818, 0.1678178459405899, 0.513167679309845, 0.22592538595199585, 0.3717154562473297, 0.8790484070777893, -0.29785165190696716, 1.2207661867141724, -0.5943116545677185, 0.63108229637146, 1.0999681949615479, -0.37315890192985535, 1.0934892892837524, 0.49556437134742737, -0.22951747477054596, 0.768869161605835, 0.3069218099117279, -0.2681836187839508, 0.8814356923103333, 0.19837051630020142, 0.21064850687980652, -0.2474740743637085, -0.2061472088098526, -0.5266693234443665, 0.4862460196018219, 0.09002427756786346, -0.14497946202754974, -0.16140055656433105, -0.5194715857505798, -0.3022753894329071, 0.11325555294752121, 0.029743339866399765, 0.5511718392372131, 0.067087821662426, -0.7887315154075623, 0.6362190842628479, -0.10117368400096893, 0.696041464805603, -0.6657595038414001, -0.31968194246292114, -0.45974478125572205, 0.5783778429031372, -0.22055687010288239, -0.47124525904655457, 0.41288524866104126, 0.005960575304925442, -0.17345714569091797, -0.23827356100082397, 0.6077739596366882, -0.410963773727417, -0.189200758934021, 0.9111740589141846, 0.33937886357307434, 0.14626513421535492, 0.027644174173474312, -0.7478931546211243, 0.2166386842727661, -0.16819798946380615, 0.032787565141916275, 0.22270983457565308, 0.20285344123840332, 0.10100111365318298, 0.7921417355537415, 0.3115590512752533, -0.102071613073349, 0.0725981593132019, -0.05423538014292717, 0.7589107751846313, -0.7942224144935608, -0.1454731673002243, -0.6877729296684265, 0.34124523401260376, -0.0029406999237835407, -0.10410888493061066, 0.6867628693580627, 1.0548230409622192, 1.0236616134643555, -0.13407066464424133, 0.812859296798706, -0.6841739416122437, 0.6835708618164062, -0.1331963986158371, 0.5687198042869568, -0.651546061038971, 0.3837583661079407, -0.3024408221244812, -0.8107037544250488, -0.49385738372802734, 0.44515886902809143, -0.11254946142435074, 0.05169078707695007, 0.7689971327781677, 0.848242998123169, -0.19814170897006989, -0.1673729419708252, 0.2985990643501282, -0.05612039566040039, 0.21732518076896667, 0.3888535797595978, 0.954483687877655, -0.7439003586769104, 0.7249531149864197, -0.2521292269229889, 0.07074075937271118, -0.6390165686607361, -0.8856697678565979, -0.6504636406898499, -0.3874303698539734, -0.3179642856121063, -0.13195949792861938, 0.44541603326797485, 1.0780280828475952, 0.7993859052658081, -1.0962368249893188, -0.408170610666275, 0.004810107871890068, 0.13550688326358795, -0.658821702003479, -0.17418423295021057, 0.176021546125412, -0.40615519881248474, -0.6058892011642456, 0.33844584226608276, 0.2992419898509979, -0.43499624729156494, 0.20253591239452362, -0.34409835934638977, -0.30395716428756714, -0.1528763771057129, 0.33818379044532776, 0.39361509680747986, -0.3353286683559418, -0.20457987487316132, 0.5503059029579163, -0.5578243136405945, 0.2929820418357849, 0.8150891661643982, -0.9706956148147583, 0.6073402166366577, 0.778304398059845, 0.7132530808448792, 0.1183905303478241, -0.1460341215133667, 0.6000281572341919, -0.6814023852348328, -0.3120807409286499, 0.23096497356891632, 0.2666062116622925, 0.31322237849235535, -0.3756254017353058, 0.92289799451828, 0.19669178128242493, -0.4607755243778229, -0.8858064413070679, 0.01092563197016716, -1.092176079750061, -0.027442079037427902, 1.157204031944275, -0.3419775068759918, -0.019011305645108223, -0.24450033903121948, 0.007077361922711134, 0.3129562735557556, -0.549527645111084, 0.7392578721046448, 0.3666110932826996, 0.052147310227155685, 0.06265241652727127, -0.527084469795227, 0.2055593878030777, 0.22554895281791687, -0.5192681550979614, 0.20303615927696228, 0.22588422894477844, 0.23108986020088196, 0.2321576625108719, 0.4615015387535095, -0.272148072719574, 0.259514719247818, 0.04150811582803726, 0.6639321446418762, 0.01561193261295557, -0.4461803138256073, -0.19030055403709412, 0.3202768564224243, 0.24474234879016876, -0.05507499724626541 ]
http://arxiv.org/abs/2407.02867v1
http://arxiv.org/pdf/2407.02867v1
Contrast then Memorize: Semantic Neighbor Retrieval-Enhanced Inductive Multimodal Knowledge Graph Completion
2024-07-03T07:31:33
2024-07-03T07:31:33
Yu Zhao, Ying Zhang, Baohang Zhou, Xinying Qian, Kehui Song, Xiangrui Cai
cs.MM
cs.MM, cs.CL
A large number of studies have emerged for Multimodal Knowledge Graph Completion (MKGC) to predict the missing links in MKGs. However, fewer studies have been proposed to study the inductive MKGC (IMKGC) involving emerging entities unseen during training. Existing inductive approaches focus on learning textual entity representations, which neglect rich semantic information in visual modality. Moreover, they focus on aggregating structural neighbors from existing KGs, which of emerging entities are usually limited. However, the semantic neighbors are decoupled from the topology linkage and usually imply the true target entity. In this paper, we propose the IMKGC task and a semantic neighbor retrieval-enhanced IMKGC framework CMR, where the contrast brings the helpful semantic neighbors close, and then the memorize supports semantic neighbor retrieval to enhance inference. Specifically, we first propose a unified cross-modal contrastive learning to simultaneously capture the textual-visual and textual-textual correlations of query-entity pairs in a unified representation space. The contrastive learning increases the similarity of positive query-entity pairs, therefore making the representations of helpful semantic neighbors close. Then, we explicitly memorize the knowledge representations to support the semantic neighbor retrieval. At test time, we retrieve the nearest semantic neighbors and interpolate them to the query-entity similarity distribution to augment the final prediction. Extensive experiments validate the effectiveness of CMR on three inductive MKGC datasets. Codes are available at https://github.com/OreOZhao/CMR.
[ -0.6559392809867859, -0.6091316938400269, 0.5174813866615295, -0.2898211181163788, -0.21920062601566315, 0.2060791701078415, -0.24507690966129303, -0.42432937026023865, 0.4560752511024475, 0.370587557554245, -0.6008666157722473, -0.6530663371086121, -0.4527703821659088, 0.07419717311859131, 0.02306821011006832, 0.8184484243392944, 0.0927196815609932, 0.1800098419189453, -0.6870338916778564, -0.2792541980743408, -0.15672609210014343, -0.07992403209209442, -0.3860572874546051, -0.5717077851295471, 0.5657469630241394, 0.5381566882133484, 0.5397125482559204, 0.5785014629364014, 0.32618457078933716, 0.3744991719722748, -0.06456051021814346, 0.47957274317741394, -0.4509423077106476, 0.019177889451384544, -0.1239636242389679, -0.15292587876319885, -0.07962639629840851, -0.08049938082695007, 0.6393118500709534, 0.8293099999427795, 0.28125619888305664, -0.12304622679948807, 0.20046599209308624, 0.6954824924468994, -0.7337607145309448, 0.6082881093025208, -0.872136116027832, 0.21459566056728363, 0.03513748198747635, -0.21208249032497406, -0.34972286224365234, -0.18256475031375885, 0.22523733973503113, -0.8231431841850281, 0.21418064832687378, 0.10829751938581467, 0.6118090748786926, 0.17898742854595184, -0.7775770425796509, -0.25387686491012573, -0.2873687148094177, 0.4837902784347534, -0.3614673316478729, 0.66200852394104, 0.4581133723258972, 0.28620439767837524, -0.14121843874454498, -0.8738568425178528, -0.689698338508606, -0.4002359211444855, -0.4729267358779907, 0.47043174505233765, 0.09082672744989395, 0.2541005611419678, 0.10725509375333786, 0.4539475739002228, -0.31135115027427673, -0.27126553654670715, -0.42744603753089905, -0.46108707785606384, -0.07079654186964035, 0.21864473819732666, 0.0690121203660965, -0.491821825504303, -0.6136839985847473, -0.14533692598342896, -0.5301609039306641, -0.03414663299918175, 0.1659584790468216, 0.3294585943222046, 0.14931999146938324, 0.6622375249862671, -0.57320636510849, 0.38741347193717957, 0.08841949701309204, -0.40749165415763855, 0.5685692429542542, -0.6216167211532593, -0.011797101236879826, 0.10549621284008026, 0.7693971395492554, 0.5328719019889832, -0.04473019018769264, -0.39628779888153076, 0.14553077518939972, -0.12088020890951157, 0.13241080939769745, -0.7196136116981506, -0.7189432382583618, -0.32621243596076965, -0.677568256855011, -0.029123978689312935, 0.11299806833267212, -0.8976832628250122, -0.1883903294801712, -0.44446849822998047, 0.5661095380783081, -0.7825926542282104, -0.26456156373023987, -0.4955956041812897, -0.2181052267551422, -0.04492533951997757, 0.3566824197769165, -0.5675647258758545, 0.18601755797863007, 0.38869476318359375, 0.6812012791633606, 0.14454291760921478, -0.5311567187309265, -0.45570045709609985, 0.5571269989013672, 0.023691531270742416, 0.5744485259056091, -0.8124003410339355, -0.346942663192749, -0.17010748386383057, 0.22662436962127686, -0.23429560661315918, -0.6721214652061462, 0.37774181365966797, -0.5524073243141174, 0.09756745398044586, -0.4772956371307373, -0.5750475525856018, -0.46680954098701477, 0.6192589998245239, -0.7469748854637146, 0.8918920159339905, 0.16365055739879608, -1.1727418899536133, 0.36978545784950256, -0.19588865339756012, -0.2875223457813263, -0.19173723459243774, -0.19013941287994385, -0.6534110903739929, -0.3266267776489258, 0.29590028524398804, 0.5098882913589478, 0.05768826976418495, -0.34516701102256775, -0.5499807000160217, -0.18747778236865997, -0.08138024061918259, 0.03904057666659355, 0.3180679678916931, 0.2496962547302246, -0.17176946997642517, -0.023841718211770058, -0.7836003303527832, 0.24562352895736694, -0.10724838823080063, -0.5017021298408508, -0.5916078686714172, -0.23036368191242218, -0.3260555863380432, 0.246891587972641, 0.09771376103162766, -0.4920523166656494, -0.10441116243600845, 0.03485334664583206, 0.120235376060009, 0.5422974228858948, 0.2802443504333496, 0.6936624646186829, -0.16574208438396454, 0.2790382206439972, 0.40610647201538086, -0.10000747442245483, -0.44550225138664246, -0.2862076163291931, -0.7370955944061279, -0.3785596489906311, 0.16242565214633942, 0.25888150930404663, -1.3723915815353394, 0.008597861975431442, -0.48111024498939514, -0.40659767389297485, -0.4353462755680084, 0.15466055274009705, 0.7814737558364868, 0.833410382270813, 0.6558748483657837, -0.1922292411327362, -0.39080679416656494, -0.7041410803794861, 0.08504757285118103, -0.11282575130462646, 0.06464820355176926, 0.6337781548500061, 0.4992673099040985, -0.1498703509569168, 0.6349256634712219, -0.3365950584411621, -0.5995494723320007, -0.011489935219287872, 0.09596232324838638, -0.3409251570701599, 0.431064248085022, 0.3187728524208069, -0.953404426574707, -0.6313494443893433, 0.2850835621356964, -0.6323535442352295, 0.31437361240386963, 0.189497709274292, -0.24331530928611755, -0.1616513431072235, 0.9206914305686951, -0.5720403790473938, 0.3281031548976898, 0.29555660486221313, -0.1496969610452652, 0.45756372809410095, -0.1925404667854309, 0.4777098596096039, -1.226327896118164, -0.09932826459407806, -0.48883649706840515, -0.15365131199359894, -0.19697357714176178, 0.032937485724687576, 0.22743463516235352, 0.03379509970545769, 0.08289343863725662, 0.3004154860973358, -0.6976382732391357, 0.012936143204569817, -0.035425033420324326, 0.32420772314071655, 0.0011470738099887967, 0.6698088049888611, -0.15933962166309357, 0.619724690914154, 0.19640661776065826, -0.8019669651985168, 0.2101464718580246, 0.30495911836624146, -0.25170189142227173, 0.63103187084198, -0.16208279132843018, -0.052558086812496185, -0.33776339888572693, 0.09191720932722092, -0.9944190382957458, -0.2896139323711395, 0.23956245183944702, -0.7426047325134277, 0.5467457175254822, -0.3855719268321991, -0.5864039063453674, -0.27633631229400635, -0.2700170576572418, 0.38370266556739807, 0.1918799877166748, -0.7777462005615234, 0.8965098857879639, 0.19703613221645355, 0.20453450083732605, -0.6815446615219116, -0.5073031783103943, -0.11236225813627243, -0.01596229337155819, -0.3778400123119354, 0.4199751913547516, 0.027530469000339508, -0.010782390832901001, 0.46031323075294495, -0.023841917514801025, 0.05612322315573692, -0.16427749395370483, 0.3799203336238861, -0.06325264275074005, -0.18492558598518372, 0.4822850525379181, 0.01909610815346241, -0.20854416489601135, -0.026268715038895607, -0.40848982334136963, 0.4100327491760254, -0.12011956423521042, -0.4748417139053345, -0.03688781335949898, 0.23668807744979858, 0.374783456325531, -0.4329233169555664, 0.635543942451477, 0.9019482731819153, -0.14195965230464935, 0.18942247331142426, -0.7050129771232605, -0.2131129503250122, -0.4465770125389099, 0.4893130958080292, -0.6009178161621094, -0.9344432950019836, 0.5661216974258423, -0.4530876576900482, -0.45297399163246155, 0.22582696378231049, 0.22278235852718353, -0.055424414575099945, 0.5903072953224182, 0.5521944165229797, 0.07800368219614029, 0.5121151208877563, -0.34664615988731384, 0.03851919621229172, -1.0446292161941528, -0.9011118412017822, -0.2655676305294037, -0.11157803237438202, -0.6569181084632874, -0.5395227074623108, 0.593744695186615, 0.33990323543548584, -0.021367577835917473, 0.3634358048439026, -0.2665635645389557, 0.664408802986145, 0.6996971368789673, 0.5287972092628479, 0.5789333581924438, 0.14030155539512634, -0.9586247205734253, -0.29484298825263977, -0.5252255201339722, 0.13637295365333557, 0.9370688796043396, -0.2013227641582489, 0.6527674794197083, -0.017599085345864296, 0.9024874567985535, -0.030464716255664825, 0.109797902405262, -0.7100399136543274, 0.551561713218689, 0.06277477741241455, -0.10700694471597672, -0.12761513888835907, -0.6879055500030518, -0.7528195381164551, 0.4141553044319153, -0.433890700340271, -0.4734611511230469, 0.032784927636384964, 0.12662163376808167, 0.21434223651885986, 0.5633648633956909, -0.6483922004699707, 0.7573419809341431, 0.4153657853603363, -0.2793866693973541, -0.4024897515773773, -0.9607025384902954, 0.3803640902042389, 0.20042817294597626, -0.048646230250597, -0.004817418288439512, -0.007595937233418226, 0.3256191611289978, -0.416282594203949, 0.573567807674408, -0.0744655653834343, 0.490677148103714, 0.42648637294769287, 0.18110276758670807, 0.6312380433082581, -0.1267082840204239, 0.028062399476766586, -0.2767598032951355, -0.3063066899776459, -0.4008135199546814, -0.6499829292297363, 0.7342953085899353, -0.5108423233032227, -0.18365685641765594, 0.06353206932544708, -0.5673741102218628, -0.15672804415225983, 0.35001859068870544, 0.25960245728492737, 0.38860881328582764, -0.21337951719760895, 0.2569807469844818, 0.8799666166305542, 0.08141028136014938, 0.43863633275032043, 0.30528873205184937, -0.13791319727897644, -0.9924228191375732, 0.949843168258667, -0.01611652597784996, 0.545224666595459, 0.7018514275550842, -0.08538999408483505, -0.2992810904979706, -0.4083448052406311, -0.21946264803409576, 0.2783307135105133, -1.1659209728240967, -0.3825012147426605, -1.2265841960906982, -0.125049889087677, -0.41996854543685913, -0.011492312885820866, -0.23673638701438904, -0.28664183616638184, -0.1632179617881775, -0.14393913745880127, 0.408294141292572, 0.6228244304656982, -0.21363337337970734, -0.001645870739594102, -0.654890239238739, 0.11386381089687347, 0.44245263934135437, 0.2128165364265442, 0.40232324600219727, -0.11677394062280655, -0.27310338616371155, -0.18337306380271912, -0.21337758004665375, -0.5389730334281921, 0.04055279120802879, 0.2746428847312927, 0.7596444487571716, 0.5517004728317261, 0.28112074732780457, 0.8956087231636047, -0.3740977644920349, 0.2920680642127991, 0.3917478621006012, -0.5608698129653931, 0.3412526249885559, -0.24067886173725128, 0.3980010449886322, 0.8198270201683044, 0.5912110209465027, -0.3473670482635498, -0.4357561469078064, -0.49150750041007996, -0.7542814612388611, 0.321618914604187, 0.13266229629516602, 0.05164380371570587, -0.31936439871788025, 0.2698422968387604, 0.03870434686541557, 0.1732996553182602, -0.8394333124160767, -0.3425055146217346, -0.3121494650840759, -0.15191738307476044, 0.19719794392585754, -0.2288602888584137, 0.08801290392875671, -0.23153884708881378, 0.5699301362037659, -0.4031356871128082, 0.39116427302360535, 0.29528841376304626, -0.1822405457496643, 0.14998658001422882, 0.1804499477148056, 0.027944881469011307, 0.4687892198562622, -0.20339317619800568, 0.5354086756706238, 0.39014866948127747, -0.4676349461078644, -0.16278591752052307, 0.17512372136116028, -0.12947221100330353, 0.06537365913391113, 0.3832707703113556, 0.2647441327571869, 0.5553443431854248, -0.3876243233680725, 0.6412305235862732, 0.1580052226781845, -0.09113224595785141, -0.2684912383556366, -0.13550013303756714, 0.3388032019138336, 0.5770173072814941, 0.095631904900074, 0.0013388886582106352, 0.26746508479118347, -0.5418574810028076, 0.5033174157142639, 0.6191917061805725, -0.7272757291793823, 0.04703155905008316, 0.6398282051086426, -0.08830581605434418, 0.3137799799442291, 0.8641332983970642, -0.5768576860427856, -0.8269088864326477, 0.581080973148346, 0.5282343626022339, 0.5603195428848267, 0.052617594599723816, 0.13549503684043884, 0.8514821529388428, 0.15445385873317719, 0.3892655372619629, 0.008637439459562302, -0.6205276250839233, -0.5027850270271301, -0.17682808637619019, -0.33634307980537415, -0.21564851701259613, -0.3373846411705017, -0.6536391377449036, 0.21721534430980682, -0.3228330612182617, 0.03924930468201637, -0.1537942737340927, 0.1273142397403717, -0.6053699254989624, 0.14623841643333435, -0.15769755840301514, 0.6194279789924622, -0.447307825088501, 0.9476377367973328, 0.5579200983047485, -0.6958511471748352, -0.7176095247268677, 0.14681224524974823, 0.09919581562280655, -0.8208267092704773, 0.6406548023223877, 0.31235650181770325, -0.26360252499580383, -0.04702471196651459, -0.246195986866951, -0.7506029605865479, 1.6709009408950806, 0.007569131441414356, -0.026048606261610985, 0.04498982056975365, 0.008393803611397743, 0.27235379815101624, -0.4731188118457794, 0.4618333578109741, 0.042925190180540085, 0.21462343633174896, 0.6463728547096252, -0.7012881636619568, 0.2804926633834839, -0.16882431507110596, -0.0031952718272805214, 0.5041146278381348, -0.8259390592575073, 0.8673957586288452, -0.7428792119026184, -0.07783450931310654, 0.20834478735923767, 0.7913786172866821, 0.10017632693052292, 0.5916097164154053, 0.4466259181499481, 0.8701140284538269, 0.6950279474258423, 0.027709506452083588, 0.6501455307006836, -0.11734610050916672, 0.32029494643211365, 1.411935567855835, 0.2179146260023117, 0.6180580854415894, 0.471076637506485, -0.007304493337869644, 0.5069288611412048, 0.4010278284549713, -0.023238813504576683, 0.8956742882728577, -0.2308264523744583, -0.5277873873710632, -0.3178654909133911, -0.49826493859291077, -0.5377534627914429, 0.29311618208885193, 0.21933485567569733, -0.6346604228019714, -0.5234338045120239, 0.010938283987343311, 0.22329752147197723, 0.1420200765132904, -0.4692373275756836, 1.0096184015274048, 0.03460698574781418, -0.4331958591938019, 0.10085052996873856, -0.38730862736701965, 0.3689256012439728, -0.6960522532463074, -0.3814030885696411, -0.12545500695705414, 0.2417251169681549, -0.16627876460552216, -0.49626627564430237, 0.0732080340385437, -0.8321234583854675, -0.35971811413764954, 0.19159631431102753, 0.7138429284095764, -0.891399621963501, -0.1741858273744583, 0.6847421526908875, 0.3304691016674042, 0.06255188584327698, -0.04492483288049698, -0.44429755210876465, -0.49582308530807495, 0.04890357702970505, 0.13352620601654053, 0.49116355180740356, 0.8128504157066345, 0.17595914006233215, 0.7933689951896667, 0.4508958160877228, -0.44233259558677673, 0.25960224866867065, -0.09391290694475174, 1.2060420513153076, -0.6187065243721008, -0.3214728534221649, -0.6466880440711975, 0.299523264169693, -0.1333046853542328, 0.00235976604744792, 0.887919008731842, 0.7468085885047913, 1.2759591341018677, -0.04123101383447647, 0.3751794397830963, -0.13582022488117218, 0.4725528061389923, -0.8598835468292236, 0.6156653761863708, -0.5946834683418274, -0.015500514768064022, -0.49677586555480957, -0.8648554086685181, -0.014431972987949848, 0.20365551114082336, 0.046240828931331635, 0.11528926342725754, 0.9060795307159424, 0.9839447140693665, -0.35307198762893677, -0.19491350650787354, 0.42111700773239136, 0.049964893609285355, -0.017870869487524033, 0.6577597856521606, 0.86299067735672, -0.46900567412376404, 1.1208407878875732, -0.6891342997550964, 0.14865650236606598, -0.03842669352889061, -0.7723085284233093, -1.1150104999542236, -0.8078072667121887, -0.24956946074962616, -0.6761577725410461, -0.15586546063423157, 0.9354198575019836, 0.5510873794555664, -0.5649920105934143, 0.3808498978614807, 0.08195309340953827, 0.3465120792388916, -0.08032553642988205, -0.2502301335334778, 0.5299097299575806, -0.5012200474739075, -0.6057754755020142, 0.19072075188159943, 0.27412721514701843, 0.3316740393638611, 0.06445745378732681, -0.22212393581867218, -0.257291704416275, -0.4909995198249817, 0.513927161693573, 0.03561997786164284, -0.6934553980827332, -0.18870313465595245, -0.1424373984336853, -0.06410061568021774, 0.18364934623241425, 0.9992265701293945, -1.057673692703247, 0.9191464781761169, 0.44762006402015686, 0.7264381647109985, 0.6858426928520203, -0.16217297315597534, 0.11054319143295288, -0.7008322477340698, 0.08146274089813232, 0.07444549351930618, 0.42149537801742554, 0.4375990033149719, -0.2954632043838501, 0.6821149587631226, 0.3959956467151642, -0.39319178462028503, -0.1868310421705246, 0.2587805688381195, -0.8711025714874268, -0.19324524700641632, 0.795120894908905, -0.44310301542282104, -0.04827141389250755, -0.19184169173240662, -0.016009310260415077, 0.30740636587142944, -0.31378573179244995, 0.6484731435775757, 0.5460931658744812, 0.016768861562013626, -0.37644147872924805, -0.33526942133903503, 0.3904198110103607, 0.1761198341846466, -0.5592268705368042, -0.1933170109987259, 0.5050133466720581, 0.3831583261489868, 0.24713094532489777, 0.6551717519760132, -0.32125750184059143, 0.24200820922851562, 0.35302045941352844, -0.07594500482082367, -0.4424724280834198, -0.31304365396499634, 0.1513085961341858, 0.0851563960313797, -0.07746061682701111, -0.24652503430843353 ]
http://arxiv.org/abs/2407.02855v1
http://arxiv.org/pdf/2407.02855v1
Safe Unlearning: A Surprisingly Effective and Generalizable Solution to Defend Against Jailbreak Attacks
2024-07-03T07:14:05
2024-07-03T07:14:05
Zhexin Zhang, Junxiao Yang, Pei Ke, Shiyao Cui, Chujie Zheng, Hongning Wang, Minlie Huang
cs.CR
cs.CR, cs.CL, cs.LG
LLMs are known to be vulnerable to jailbreak attacks, even after safety alignment. An important observation is that, while different types of jailbreak attacks can generate significantly different queries, they mostly result in similar responses that are rooted in the same harmful knowledge (e.g., detailed steps to make a bomb). Therefore, we conjecture that directly unlearn the harmful knowledge in the LLM can be a more effective way to defend against jailbreak attacks than the mainstream supervised fine-tuning (SFT) based approaches. Our extensive experiments confirmed our insight and suggested surprising generalizability of our unlearning-based approach: using only 20 raw harmful questions \emph{without} any jailbreak prompt during training, our solution reduced the Attack Success Rate (ASR) in Vicuna-7B on \emph{out-of-distribution} (OOD) harmful questions wrapped with various complex jailbreak prompts from 82.6\% to 7.7\%. This significantly outperforms Llama2-7B-Chat, which is fine-tuned on about 0.1M safety alignment samples but still has an ASR of 21.9\% even under the help of an additional safety system prompt. Further analysis reveals that the generalization ability of our solution stems from the intrinsic relatedness among harmful responses across harmful questions (e.g., response patterns, shared steps and actions, and similarity among their learned representations in the LLM). Our code is available at \url{https://github.com/thu-coai/SafeUnlearning}.
[ -0.20011045038700104, -0.9468008875846863, 0.37528130412101746, 0.028214257210493088, -0.2915819585323334, 0.40782439708709717, -0.15505389869213104, -0.4527272582054138, -0.0418543815612793, 0.5255032181739807, -0.507936418056488, -0.6375553011894226, -0.3366909623146057, -0.4125782549381256, -0.24596697092056274, 1.1648467779159546, 0.28366249799728394, -0.009191980585455894, 0.19896246492862701, -0.1688152253627777, -0.7952118515968323, -0.41320544481277466, -0.5731372237205505, 0.012910950928926468, 0.3942877948284149, 0.5694180727005005, 0.26999276876449585, 0.5078112483024597, 0.6803733110427856, 0.2196195423603058, -0.2768062949180603, 0.15838682651519775, -0.6401228308677673, 0.4064262807369232, -0.24032281339168549, -0.5227612257003784, -0.16319774091243744, -0.09136178344488144, -0.02867920510470867, 0.35426920652389526, -0.39229464530944824, -0.005994606763124466, 0.17564187943935394, 1.0037891864776611, -0.786987841129303, -0.3209363520145416, -0.983154833316803, 0.055477600544691086, -0.08987602591514587, -0.10322441160678864, -0.5780889987945557, -0.2851509153842926, -0.2536699175834656, -0.37112513184547424, 0.10282713919878006, 0.1352369636297226, 0.3983228802680969, 0.3711995780467987, -0.41477441787719727, -0.21334244310855865, -0.6079321503639221, 0.5583269000053406, -0.4557582139968872, 0.1623997837305069, 0.27158018946647644, 0.4625977575778961, -0.5518704056739807, -0.35341185331344604, 0.06460420042276382, -0.13171882927417755, 0.2996416687965393, 0.23999939858913422, -0.4015534818172455, 0.3353211581707001, 0.2739782929420471, 0.01930120587348938, -0.43971312046051025, 0.3440555930137634, -0.5746877193450928, -0.33405405282974243, 0.6886163949966431, 0.1172248125076294, 0.3538573384284973, -0.04035930335521698, -0.5819504261016846, 0.12239771336317062, -1.0813159942626953, 0.33734846115112305, 0.5326720476150513, 0.1539926528930664, -0.11268804222345352, 0.4025649130344391, -0.11811746656894684, 0.45066356658935547, 0.13398325443267822, -0.12055110186338425, 0.05255957692861557, -0.17416413128376007, -0.05166902020573616, 0.11870463937520981, 0.9684069752693176, 0.6904534697532654, 0.4401646554470062, -0.5132929086685181, 0.13064712285995483, -0.15480875968933105, 0.696056067943573, -0.6835988759994507, -0.31419798731803894, 0.2404540479183197, -0.27230706810951233, -0.698695182800293, 0.304628849029541, -0.7931177616119385, -0.6688457727432251, 0.3768727481365204, 0.18723340332508087, -0.46794307231903076, -0.026203997433185577, -0.043102189898490906, -0.0032577328383922577, -0.009444262832403183, 0.04871698096394539, -0.9021101593971252, 0.14502204954624176, 0.640393078327179, 0.7312968969345093, -0.18053457140922546, -0.0052918135188519955, -0.5708939433097839, 0.2901429831981659, -0.3600289523601532, 0.6096646785736084, -0.08108003437519073, -0.4731172025203705, -0.3628169298171997, -0.16397766768932343, -0.052872952073812485, -0.718594491481781, 0.4305882751941681, -0.5078359842300415, -0.21235543489456177, -0.04587386175990105, -0.48477527499198914, -0.09616080671548843, 0.2786627411842346, -0.43098244071006775, 0.4933565855026245, -0.37101972103118896, -0.8368073105812073, 0.18675579130649567, -0.552788496017456, -0.3758407533168793, -0.3070227801799774, 0.10392764210700989, -0.5279544591903687, 0.13898418843746185, 0.21734733879566193, 0.3676565885543823, -0.004238220397382975, 0.4179985821247101, -0.6173233985900879, -0.5106387734413147, 0.29027462005615234, -0.3865360617637634, 0.82871013879776, 0.5457627177238464, -0.5859535932540894, 0.24232815206050873, -0.6397395133972168, 0.1027686670422554, 0.10899952799081802, -0.3994569480419159, -0.6641920804977417, 0.029623324051499367, -0.5752504467964172, -0.030175291001796722, 0.1053561419248581, -0.7671803832054138, 0.08249037712812424, -0.3664742112159729, 0.48322027921676636, 0.8432250618934631, 0.3118879795074463, 0.4601295590400696, -0.2185717523097992, 0.23286199569702148, 0.09524461627006531, 0.519925594329834, -0.0185561366379261, -0.5737372636795044, -0.2772209644317627, -0.08722742646932602, -0.09761958569288254, 0.9208878874778748, -0.23040728271007538, 0.4229077398777008, 0.260606050491333, -0.5897294282913208, -0.40931451320648193, 0.5511997938156128, 0.8889409303665161, 0.7561375498771667, 0.5860475301742554, -0.36895403265953064, -0.689582884311676, -0.6527866125106812, -0.5505873560905457, -0.3633229732513428, 0.1876615434885025, -0.03659325838088989, 0.20705854892730713, -0.35459190607070923, 0.6636158227920532, -0.548814058303833, -0.15189020335674286, -0.24205774068832397, -0.13265834748744965, 0.05747763067483902, 0.5890287756919861, 0.47489553689956665, -0.5686116814613342, -0.286140114068985, -0.1390874683856964, -0.9526026844978333, -0.06737324595451355, -0.03694131225347519, -0.18288643658161163, 0.0557716079056263, 0.7305853366851807, -0.46724897623062134, 0.5321388840675354, 0.05645236372947693, -0.3501553535461426, 0.4939315617084503, -0.2095392495393753, -0.07186297327280045, -1.2000043392181396, -0.19830454885959625, -0.2841813862323761, -0.0409676693379879, -0.8176093697547913, 0.3875267505645752, 0.2691875100135803, 0.11418302357196808, -0.6932418942451477, 0.1420838087797165, -0.24212825298309326, 0.3134988248348236, -0.19559542834758759, -0.0964360386133194, -0.3449495732784271, 0.30329951643943787, -0.5029852986335754, 0.8897762298583984, 0.40658828616142273, -0.4569375514984131, 0.3621489405632019, 0.21215492486953735, -0.2836057245731354, 0.2370995432138443, -0.7329630851745605, 0.26586243510246277, -0.18906690180301666, -0.10952451825141907, -0.9021132588386536, 0.008194566704332829, 0.3647332787513733, -0.33436042070388794, 0.18762017786502838, -0.40423741936683655, -0.10505951941013336, -0.3610040545463562, -0.7156603336334229, 0.10390596091747284, 0.6905749440193176, -0.576132595539093, 0.04989626631140709, 0.4326828122138977, 0.03179164603352547, -1.0644803047180176, -0.47399863600730896, -0.06072649732232094, -0.6928353905677795, -0.518132209777832, -0.004460213705897331, -0.3704794645309448, -0.4451141655445099, -0.21602337062358856, -0.4783772826194763, 0.004706396721303463, 0.677173376083374, 0.7113010883331299, 0.3475306034088135, 0.12529495358467102, -0.08628777414560318, 0.1874430924654007, -0.18424630165100098, 0.3398991823196411, -0.11119604110717773, 0.5128286480903625, -0.2604195475578308, -0.5053099393844604, -0.1675245463848114, 0.22518563270568848, 0.46953901648521423, 0.05216630548238754, 0.8094882965087891, 0.34087151288986206, -0.12099578976631165, 0.02354525215923786, -0.6028113961219788, -0.06707234680652618, -0.5268911719322205, 0.16885517537593842, 0.05095602199435234, -1.0164116621017456, 0.5583587884902954, -0.13612248003482819, 0.1446104794740677, 0.005656138993799686, 0.23514795303344727, -0.49722665548324585, 0.8679040670394897, 0.6574283242225647, -0.49980631470680237, 0.4283405542373657, -0.10127603262662888, 0.26171520352363586, -0.649757444858551, -0.669868528842926, -0.21889303624629974, -0.31376194953918457, -0.6499336957931519, -0.005391877610236406, 0.22388628125190735, 0.6032159328460693, -0.6390835046768188, 0.44848307967185974, -0.5032039284706116, 0.7751794457435608, 0.5195104479789734, 0.40630021691322327, 0.4514082670211792, 0.049142081290483475, -0.3394441306591034, 0.07925813645124435, -0.26312556862831116, -0.4452849328517914, 1.4665902853012085, 0.2529711425304413, 1.0125300884246826, 0.2939184606075287, 1.2521541118621826, 0.22049632668495178, 0.2649933695793152, -0.49647265672683716, 0.5535270571708679, -0.05835395306348801, -0.6486719846725464, -0.13411253690719604, -0.5650664567947388, -0.9457800388336182, 0.14795736968517303, -0.13451458513736725, -1.1618677377700806, -0.18999841809272766, 0.15767347812652588, -0.46092185378074646, 0.645346999168396, -0.9464111924171448, 0.6116629838943481, -0.44651615619659424, -0.32609736919403076, -0.1638696789741516, -0.9613877534866333, 0.6477429270744324, -0.362667053937912, 0.36259815096855164, -0.20856241881847382, 0.20770174264907837, 0.8912867307662964, -0.4584265351295471, 0.9997155666351318, -0.4280208945274353, 0.09010104835033417, 0.42483073472976685, 0.0318501852452755, 0.2852729856967926, 0.3289690613746643, 0.1188882365822792, -0.18284672498703003, -0.26183757185935974, -0.2037142962217331, -0.521918773651123, 0.6635357141494751, -0.8442007899284363, -0.9435274004936218, -0.05179567262530327, -0.6403221487998962, -0.23265324532985687, 0.28362253308296204, 0.4712430536746979, -0.034431684762239456, -0.18673603236675262, 0.13760265707969666, 1.0826966762542725, -0.2207493633031845, 0.5302966833114624, 0.5089277625083923, -0.13105128705501556, -0.45860666036605835, 0.7267134785652161, -0.08910813927650452, 0.20827186107635498, 0.2811982035636902, 0.21878983080387115, -0.17327162623405457, -0.8717907667160034, -0.25350239872932434, 0.04042188823223114, -0.4609719514846802, -0.6183615922927856, -0.5706401467323303, -0.22303767502307892, -0.28183242678642273, -0.18320514261722565, -0.26549267768859863, -0.37788572907447815, -0.05141567066311836, -0.6575387120246887, 0.5829198956489563, 0.7337902784347534, -0.42956575751304626, 0.31815505027770996, -0.9324162006378174, 0.3317817747592926, 0.323419451713562, 0.1978965401649475, -0.06985747069120407, -0.3470323383808136, 0.03389022499322891, 0.2096157670021057, -0.6627918481826782, -1.063558578491211, 0.14301632344722748, 0.011996731162071228, 0.6836167573928833, 0.8380498886108398, 0.49759984016418457, 0.7032325267791748, -0.3891739249229431, 0.3382246494293213, 0.493204802274704, -0.5558027029037476, 0.8511810302734375, -0.3854081928730011, -0.2688343822956085, 1.062696099281311, 0.37479883432388306, -0.16780847311019897, -0.616472601890564, -0.6620964407920837, -1.0118290185928345, 0.21614420413970947, -0.08653102815151215, 0.1838866025209427, -0.013030997477471828, 0.3472936153411865, 0.08631882816553116, 0.24349801242351532, -0.6154453754425049, -0.3671289086341858, -0.15890927612781525, -0.11688287556171417, 0.07927652448415756, -0.30345290899276733, -0.2903597950935364, -0.33593499660491943, 0.43569067120552063, 0.27252572774887085, 0.171970397233963, -0.2662368416786194, -0.23046919703483582, 0.034295279532670975, 0.6512050032615662, 0.2998522222042084, 0.09202440083026886, -0.5001339912414551, 0.30474454164505005, 0.33954134583473206, -0.8330113887786865, 0.6198104619979858, -0.07578650861978531, -0.24707455933094025, -0.645301878452301, 0.14222928881645203, 0.4250834882259369, 0.20904213190078735, -0.767275869846344, 0.4135623276233673, -0.017650283873081207, -0.11543819308280945, -0.10732907801866531, 0.62577885389328, 0.09707725048065186, 0.20413461327552795, 0.2923544645309448, 0.24175553023815155, 0.0037571731954813004, -0.6204198598861694, 0.3514140248298645, 0.5297200083732605, -0.5630692839622498, -0.16315153241157532, 0.8596426844596863, 0.1363120973110199, -0.18556727468967438, 0.7658836245536804, -0.1925429403781891, -0.48401495814323425, 0.6051347255706787, 0.8113066554069519, 0.6823214888572693, -0.2842630445957184, 0.19431640207767487, 0.16822203993797302, 0.5249516367912292, -0.06587392091751099, 0.2534092366695404, -0.04180123284459114, -0.744342029094696, -0.06718361377716064, -0.26144668459892273, -0.41273725032806396, 0.13207560777664185, -0.8875635862350464, -0.27062392234802246, -0.9049267768859863, 0.024754492565989494, -0.4750761389732361, -0.12229791283607483, -0.17750734090805054, 0.03407160937786102, -0.16692009568214417, 0.9986072778701782, -0.8110886812210083, 0.6612681150436401, 0.7645943760871887, -0.32406577467918396, -0.9310256838798523, -0.1350061446428299, 0.35839971899986267, -0.8634728789329529, 0.3045136332511902, 0.4226314127445221, -0.11861124634742737, -0.3377016484737396, -0.6420021057128906, -0.6107184290885925, 1.0420504808425903, 0.4352245628833771, -0.8045408129692078, 0.05613790452480316, 0.16382989287376404, 0.3584586977958679, -0.0106048583984375, -0.03020443394780159, 0.6578730344772339, 0.16145935654640198, -0.09308990836143494, -0.5137887001037598, 0.20978297293186188, -0.39785036444664, -0.3696180284023285, 0.4526447653770447, -0.442627876996994, 0.35658714175224304, -0.97403484582901, -0.006749696563929319, 0.1427438110113144, 0.42495667934417725, 0.46020686626434326, 0.6275799870491028, 0.337588906288147, 0.8029051423072815, 0.9667834043502808, -0.05166942626237869, 0.5664505958557129, -0.1900613009929657, 0.10101579129695892, 0.9664134383201599, 0.012087914161384106, 0.6987597942352295, 0.5304284691810608, 0.2016245424747467, 0.341585636138916, 0.419985294342041, 0.055348437279462814, 1.0542702674865723, 0.3232581615447998, -0.3038862347602844, -0.16022828221321106, 0.23466654121875763, -0.3798215091228485, 0.2125951498746872, 0.2845609784126282, -0.06625582277774811, -0.3664052188396454, 0.24461622536182404, 0.3838244676589966, 0.11891555786132812, -0.39594146609306335, 0.9677556157112122, 0.19045935571193695, -0.31653639674186707, 0.4791260063648224, -0.10715442895889282, 1.0302777290344238, -0.5568932890892029, 0.355257123708725, -0.38257279992103577, 0.2793676555156708, -0.42669105529785156, -0.8555819392204285, 0.4190380573272705, 0.40347030758857727, -0.03975467011332512, 0.10835212469100952, 0.9063465595245361, -0.094390369951725, 0.05048958957195282, 0.5023748874664307, 0.4650532901287079, 0.09481579065322876, 0.0002945468295365572, -0.5270926356315613, -0.26078441739082336, 0.27992114424705505, -0.18735434114933014, 0.7323727607727051, -0.0019624619744718075, -0.19062484800815582, 0.9615645408630371, 0.7333776950836182, -0.06442515552043915, 0.32456764578819275, -0.13074524700641632, 0.9961587190628052, -0.6705715656280518, -0.39597269892692566, -0.9853551983833313, 0.5453243255615234, -0.18991148471832275, -0.09040315449237823, 0.7809637188911438, 0.4420556128025055, 0.8170703053474426, 0.07199840992689133, 0.7960678935050964, 0.0611574724316597, 0.3276476562023163, -0.551227331161499, 1.0551525354385376, -0.13381299376487732, 0.642874538898468, -0.45426833629608154, -0.7246268391609192, -0.384689062833786, 0.4935891628265381, -0.37581631541252136, -0.21786583960056305, 0.5136253237724304, 0.8011837005615234, 0.11741767823696136, 0.12075620144605637, 0.2492353916168213, 0.005399765446782112, 0.4793001413345337, 0.6989684104919434, 1.0116467475891113, -0.19877301156520844, 0.9125637412071228, -0.44861099123954773, -0.23745612800121307, 0.03982296213507652, -0.7405783534049988, -1.0888030529022217, -0.10167934745550156, -0.0364207997918129, -0.28785017132759094, 0.6464072465896606, 0.6621052026748657, 0.2500106692314148, -0.8524144291877747, 0.01607021875679493, -0.252370148897171, 0.26156875491142273, -0.0936620905995369, -0.13704732060432434, 0.050395667552948, -0.3111300468444824, 0.11433059722185135, 0.8317228555679321, 0.0665111243724823, 0.14981791377067566, 0.44849562644958496, -0.09208323061466217, 0.12663237750530243, -0.17192807793617249, 0.3429707884788513, 0.6310537457466125, -0.29203879833221436, -0.4600074887275696, -0.013791405595839024, -0.06632586568593979, -0.038711853325366974, 0.6538247466087341, -0.6062155961990356, 0.23280635476112366, 0.16540783643722534, 0.7006063461303711, 0.15940293669700623, 0.12047860026359558, 0.27838945388793945, -0.7789526581764221, 0.21449224650859833, -0.11173157393932343, 0.4551728367805481, 0.06982587277889252, -0.463456392288208, 0.6226259469985962, 0.08815857023000717, -0.4910982847213745, -0.8970200419425964, 0.47486382722854614, -0.883303701877594, -0.43808478116989136, 0.9023966789245605, -0.2499486804008484, -0.1286492943763733, -0.42838725447654724, -0.27708154916763306, 0.3266628682613373, -0.5967243313789368, 1.0167065858840942, -0.020696543157100677, -0.1553744673728943, 0.04243858531117439, -0.31765004992485046, 0.25614291429519653, 0.29497426748275757, -0.8960759043693542, 0.19780795276165009, 0.1834191083908081, 0.7334238290786743, 0.14148737490177155, 0.4357737898826599, -0.2392231673002243, 0.45365530252456665, -0.40345901250839233, -0.20226505398750305, -0.5714643001556396, -0.6032308340072632, -0.24832355976104736, 0.30369603633880615, 0.11019354313611984, -0.40020325779914856 ]
http://arxiv.org/abs/2407.02854v1
http://arxiv.org/pdf/2407.02854v1
Universal Gloss-level Representation for Gloss-free Sign Language Translation and Production
2024-07-03T07:12:36
2024-07-03T07:12:36
Eui Jun Hwang, Sukmin Cho, Huije Lee, Youngwoo Yoon, Jong C. Park
cs.CL
cs.CL, cs.CV
Sign language, essential for the deaf and hard-of-hearing, presents unique challenges in translation and production due to its multimodal nature and the inherent ambiguity in mapping sign language motion to spoken language words. Previous methods often rely on gloss annotations, requiring time-intensive labor and specialized expertise in sign language. Gloss-free methods have emerged to address these limitations, but they often depend on external sign language data or dictionaries, failing to completely eliminate the need for gloss annotations. There is a clear demand for a comprehensive approach that can supplant gloss annotations and be utilized for both Sign Language Translation (SLT) and Sign Language Production (SLP). We introduce Universal Gloss-level Representation (UniGloR), a unified and self-supervised solution for both SLT and SLP, trained on multiple datasets including PHOENIX14T, How2Sign, and NIASL2021. Our results demonstrate UniGloR's effectiveness in the translation and production tasks. We further report an encouraging result for the Sign Language Recognition (SLR) on previously unseen data. Our study suggests that self-supervised learning can be made in a unified manner, paving the way for innovative and practical applications in future research.
[ -0.047278597950935364, 0.1690005362033844, 0.4200117588043213, 0.3735046684741974, -0.3364892899990082, 0.056770291179418564, -0.0541103258728981, -0.6774886846542358, 0.1831309050321579, 0.617220938205719, -0.32063406705856323, -0.7816374897956848, -0.6475896239280701, -0.16081996262073517, -0.4256429076194763, 1.0185604095458984, -0.04962896183133125, 0.1216372400522232, 0.21283406019210815, -0.24102307856082916, -0.09923715889453888, -0.581992506980896, -0.5232462286949158, -0.4252762496471405, 0.17714622616767883, 0.34288808703422546, 0.5954705476760864, 0.2822706401348114, 0.40466710925102234, 0.23609890043735504, 0.06311999261379242, 0.10562016814947128, -0.03421469405293465, 0.21627554297447205, 0.013823628425598145, 0.28742027282714844, -0.6876081228256226, 0.11490654200315475, 0.6261042356491089, 1.1020138263702393, -0.1611999273300171, 0.13622045516967773, -0.014818967320024967, 0.5758511424064636, -0.47305336594581604, 0.2810192406177521, -0.4764564037322998, 0.2943868041038513, -0.44110846519470215, 0.22960346937179565, -0.13004979491233826, 0.06387364864349365, -0.22943778336048126, -1.0450912714004517, 0.2439603954553604, 0.0005720102926716208, 0.41389745473861694, 0.33925187587738037, -0.7536529302597046, -0.40244218707084656, -0.9478541612625122, 0.4481934607028961, -0.7486996054649353, 0.5602657794952393, 0.04292372986674309, 0.29173529148101807, -0.15303801000118256, -0.6000915765762329, -0.22099308669567108, -0.33688297867774963, -0.18602971732616425, 0.5514440536499023, 0.10517975687980652, 0.4960273504257202, 0.08158942312002182, 0.4886627793312073, -0.5323989987373352, 0.2235007882118225, -0.3899315893650055, -0.483624130487442, 0.7522020936012268, -0.12439020723104477, 0.32506635785102844, -0.10435794293880463, -0.5746192932128906, -0.07579550892114639, -0.4172256588935852, -0.16242748498916626, -0.002661151345819235, 0.7233316898345947, -0.009250493720173836, 0.24089787900447845, -0.26665908098220825, 0.3567567467689514, -0.23399865627288818, 0.04606866091489792, 0.29861223697662354, -0.0241690706461668, -0.1927194595336914, -0.07078251242637634, 1.0562248229980469, 0.010819307528436184, 0.25801384449005127, -0.19903846085071564, -0.5735938549041748, -0.16596733033657074, -0.13321758806705475, -0.18282707035541534, -0.1020464077591896, 0.05618494749069214, 0.1506936252117157, 0.1726158857345581, 0.42621371150016785, -0.5438246130943298, -0.5505331158638, -0.2540695369243622, 0.3670037090778351, 0.053666215389966965, -0.48249632120132446, 0.14709976315498352, 0.05685228481888771, -0.02303319424390793, 0.31316182017326355, -1.0056201219558716, 0.28273311257362366, 0.32595765590667725, 0.6814696192741394, -0.29662254452705383, -0.03867745026946068, -0.5090985894203186, 0.5077065825462341, -0.5277813673019409, 0.3026359975337982, -0.0628964826464653, -0.3401954770088196, 0.06458888947963715, -0.24968671798706055, 0.05954138934612274, -0.562661349773407, 0.5785195827484131, -0.22841507196426392, 0.17101997137069702, 0.14310888946056366, -0.4207988381385803, 0.09378476440906525, -0.5061063766479492, -0.6333647966384888, 0.9504430294036865, 0.39721381664276123, -0.0467708595097065, 0.5172333121299744, -0.9999414086341858, -0.5641812086105347, 0.4513072371482849, -0.3110615015029907, -0.253274530172348, 0.43495887517929077, 0.21223190426826477, 0.32969075441360474, -0.03883358836174011, 0.18804875016212463, 0.15835577249526978, -0.04666907712817192, -0.16860496997833252, -0.29906579852104187, 0.7451580762863159, 0.2668266296386719, -0.6062548756599426, 0.1663309633731842, -0.9302393794059753, 0.05095868930220604, 0.057246603071689606, -0.2798665463924408, -0.3218561112880707, -0.6726556420326233, 0.27413153648376465, 0.3919645845890045, 0.4402827024459839, -0.8094649314880371, 0.0636640265583992, -0.1783352941274643, -0.08734609931707382, 0.6809359788894653, -0.2218123823404312, 0.35948508977890015, 0.4983191192150116, 0.47081050276756287, 0.14408162236213684, 0.6225751042366028, 0.2154940515756607, -0.5831138491630554, -0.8782258033752441, 0.06662055850028992, 0.20066504180431366, 0.38514283299446106, -0.3543771207332611, 0.19714413583278656, 0.1784655898809433, -0.07041623443365097, -0.6252212524414062, 0.5136544704437256, 0.7613850235939026, 0.32586154341697693, 0.5901570916175842, -0.6623451113700867, -0.39420098066329956, -0.7046253085136414, -0.16680775582790375, -0.0898023322224617, -0.3403630554676056, -0.3588387072086334, 0.16721783578395844, -0.032668083906173706, 0.5639275312423706, -0.2312571257352829, -1.200009822845459, 0.010474425740540028, 0.41785696148872375, 0.32309210300445557, 0.6306434273719788, 0.2599671185016632, -0.844464898109436, -0.6676190495491028, 0.2821803689002991, -0.9152460694313049, -0.4849311411380768, -0.40724295377731323, 0.09209967404603958, 0.30154767632484436, 0.7611058354377747, -0.3198169469833374, 0.49005311727523804, 0.7153452634811401, -0.47850093245506287, 0.47121796011924744, -0.4777694046497345, -0.09349660575389862, -0.5547462701797485, 0.12195001542568207, -0.10050016641616821, -0.3606536388397217, -1.0455121994018555, 0.13122138381004333, 0.14766407012939453, -0.22325512766838074, -0.4870613217353821, 0.3928202688694, -0.9988625645637512, -0.5256345868110657, -0.21483729779720306, 0.4623459279537201, 0.01811450906097889, 0.43258196115493774, -0.002004372887313366, 0.7817530632019043, 0.6994642615318298, -0.5075799226760864, 0.36160898208618164, 0.21572785079479218, -0.19750851392745972, 0.3789594769477844, -0.6231856942176819, 0.0575118288397789, -0.056833770126104355, -0.21498113870620728, -0.9521784782409668, -0.2202966958284378, 0.45693910121917725, -0.2173939347267151, 0.5797334313392639, 0.07617897540330887, -0.4166533350944519, -0.4605203866958618, 0.10099219530820847, 0.10529818385839462, 0.5597918629646301, -0.5820221304893494, 0.5144428014755249, 0.37453529238700867, 0.15836070477962494, -0.4876192510128021, -0.8957856297492981, 0.1291843205690384, 0.020248129963874817, -0.12843158841133118, 0.1296217143535614, -0.08462172746658325, -0.04826357960700989, -0.4291946589946747, -0.6179544925689697, -0.01009773276746273, 0.05966600775718689, 0.32348334789276123, -0.07847864180803299, -0.028032680973410606, 0.07600369304418564, 0.0011840382358059287, -0.5884470343589783, -0.03666875511407852, -0.3156452178955078, 0.11223185062408447, -0.1350705325603485, -0.783616304397583, -0.4686797857284546, 0.5590918660163879, 0.48362183570861816, -0.12799811363220215, 0.30746856331825256, 0.6827085614204407, -0.1725466400384903, -0.1738324761390686, -0.24654720723628998, 0.18650662899017334, -0.5457018613815308, -0.0481748953461647, -0.22216999530792236, -0.7611590027809143, 0.42005884647369385, -0.14026807248592377, 0.35249072313308716, 0.5585776567459106, 0.19614432752132416, -0.1838553249835968, 1.059561014175415, 0.4349174201488495, 0.3769633173942566, 0.39363521337509155, -0.06668947637081146, -0.018905268982052803, -0.9432808756828308, -0.36644381284713745, -0.06891617923974991, -0.02349797636270523, 0.0073341797105968, -0.3228456974029541, 0.48980024456977844, 0.39061132073402405, -0.1999218761920929, 0.38738128542900085, -0.9400975704193115, 0.3690457046031952, 0.600973904132843, -0.4305211305618286, 0.7430291771888733, -0.022948557510972023, -0.252246618270874, 0.01756536029279232, -0.19884151220321655, -0.49291327595710754, 0.9574108719825745, 0.012778806500136852, 0.6214454770088196, 0.24660299718379974, 0.9262300133705139, 0.48018354177474976, 0.5790095925331116, -0.4084129333496094, 0.6102352142333984, -0.5699320435523987, -0.646755576133728, -0.46097850799560547, -0.396679550409317, -1.0075052976608276, 0.6463534832000732, -0.0019453628920018673, -0.6836550235748291, 0.14454379677772522, 0.27695217728614807, 0.004989660810679197, 0.30359864234924316, -0.6984164118766785, 0.8500987887382507, -0.6026930212974548, 0.38272586464881897, 0.29029563069343567, -0.7752452492713928, 0.040156710892915726, -0.16547159850597382, 0.40796640515327454, -0.42501047253608704, -0.07493777573108673, 0.7719020247459412, -0.311513751745224, 0.9881808757781982, -0.36535149812698364, -0.698872447013855, 0.1552523821592331, 0.1421792209148407, 0.07360822707414627, -0.13922888040542603, 0.12617507576942444, 0.29862502217292786, -0.246578648686409, -0.3227650225162506, -0.48648613691329956, 0.3946947455406189, -0.6307145357131958, -0.7318778038024902, -0.6155700087547302, -0.6283003687858582, -0.3407096564769745, 0.4404398500919342, 0.13947121798992157, 0.20360921323299408, -0.22568093240261078, -0.3594064712524414, 0.28553205728530884, 0.31147778034210205, 0.4431845247745514, 0.590051531791687, -0.5474473237991333, -0.46568116545677185, 0.8158337473869324, 0.13423945009708405, 0.6058574318885803, 0.20040109753608704, 0.20229724049568176, -0.48371830582618713, -0.7223182916641235, -0.5354015827178955, 0.30140450596809387, -0.8127024173736572, -0.16776129603385925, -0.061442628502845764, 0.03066994622349739, -0.6398887634277344, 0.048069488257169724, -0.37961363792419434, -0.8490875959396362, -0.3201647400856018, -0.10476614534854889, 0.1656394898891449, 1.187083125114441, -0.7858132123947144, 0.3712192177772522, -0.4399246275424957, 0.6576586365699768, 0.5661631226539612, 0.40772268176078796, -0.23306243121623993, -0.4006877839565277, -0.24378274381160736, 0.12823732197284698, -0.33243197202682495, -0.7866466641426086, 0.14113043248653412, 0.7577421069145203, 0.5271239876747131, 0.48442402482032776, 0.1967657059431076, 0.4890621304512024, -0.2661644220352173, 0.7356456518173218, 0.617764413356781, -1.1502985954284668, 0.5338292121887207, -0.32994067668914795, 0.3915844261646271, 0.5139309763908386, 0.33351191878318787, -0.9068594574928284, -0.699217677116394, -0.5082778930664062, -1.0785073041915894, 0.530648946762085, 0.2988872230052948, -0.06886212527751923, 0.2103942632675171, 0.18416056036949158, 0.16326354444026947, 0.23263578116893768, -0.8166666626930237, -0.4137541949748993, -0.439719557762146, -0.16235429048538208, -0.11997756361961365, 0.19692617654800415, -0.2620445489883423, -0.2571062445640564, 0.5704682469367981, -0.22103795409202576, -0.11324106156826019, 0.26220035552978516, -0.25642552971839905, -0.18992868065834045, 0.3172115981578827, 0.3178999423980713, 0.5674517154693604, -0.07194097340106964, 0.22781997919082642, -0.09456317871809006, -0.4792537987232208, 0.279347687959671, -0.011497817933559418, -0.43168461322784424, 0.3203054964542389, 0.27002885937690735, 0.6434223055839539, 0.06488360464572906, -0.4511041045188904, 0.6145363450050354, 0.37803915143013, -0.27437883615493774, -0.4874449372291565, -0.02882823348045349, 0.03958984464406967, 0.09221833199262619, 0.621488630771637, -0.21509407460689545, 0.18308211863040924, -0.3563508987426758, 0.23300866782665253, 0.36234307289123535, -0.6339187622070312, -0.235963836312294, 1.0582327842712402, 0.164973184466362, -0.09473904967308044, 0.3842618763446808, -0.377734899520874, -0.28766074776649475, 0.3469924032688141, 0.6925312876701355, 0.8151498436927795, -0.5261668562889099, 0.6526044011116028, 0.08679794520139694, 0.14345382153987885, 0.0839887410402298, 0.26322272419929504, -0.039408691227436066, -0.5012240409851074, -0.25920814275741577, -0.5627137422561646, -0.6324861645698547, 0.018297811970114708, -0.7604672312736511, -0.40214332938194275, -0.6239005923271179, -0.07790380716323853, -0.2578951418399811, -0.290829598903656, -0.43690767884254456, 0.2706390917301178, 0.6988990306854248, 0.45389220118522644, -1.028192162513733, 0.6079151034355164, 0.7821860909461975, -0.7808609008789062, -0.5255714654922485, -0.22398658096790314, 0.06391899287700653, -0.8487357497215271, 0.6193315982818604, 0.09198936820030212, -0.34954893589019775, -0.029090004041790962, -0.3604680597782135, -0.926280677318573, 0.8990904092788696, 0.633545458316803, -0.42962658405303955, 0.10033080726861954, 0.706872820854187, 0.7474766373634338, -0.4658161997795105, -0.14417009055614471, 0.639037549495697, 0.5916337370872498, 0.19725900888442993, -1.042762041091919, 0.16733478009700775, -0.04655080288648605, 0.19654622673988342, 0.2683882415294647, -0.48505207896232605, 0.5634061098098755, -0.15768256783485413, -0.7372748255729675, 0.019465934485197067, 1.081676959991455, 0.1690061390399933, 0.2278616577386856, 0.43369260430336, 0.43343618512153625, 0.8880795836448669, -0.2086733728647232, 0.5026811957359314, -0.0735083743929863, 0.46923744678497314, 0.9084905385971069, -0.1277175396680832, 0.40547141432762146, 0.43295595049858093, -0.18121568858623505, 0.2836732864379883, 0.2094230055809021, 0.08669182658195496, 0.3443259298801422, 0.2241424322128296, -0.37153080105781555, -0.41459766030311584, -0.27661192417144775, -0.25870805978775024, 0.2475450187921524, 0.4029453694820404, 0.06563951075077057, -0.48830482363700867, 0.21134379506111145, 0.008109073154628277, 0.2895245850086212, -0.5089775323867798, 0.681979238986969, 0.44093057513237, -0.09892584383487701, 0.8184623718261719, -0.49778440594673157, 0.8441608548164368, -0.8179953694343567, 0.06096915900707245, -0.32346832752227783, 0.042828530073165894, -0.3158318102359772, -0.9291251301765442, 0.2318100929260254, -0.345170795917511, 0.3417978584766388, -0.5889459252357483, 0.4735737442970276, -0.7951402068138123, -0.47131627798080444, 0.7304754257202148, 0.5056019425392151, 0.5866584181785583, -0.048254746943712234, -0.7065860033035278, -0.22763150930404663, -0.0000628811540082097, -0.15979504585266113, 0.2252882719039917, 0.5164466500282288, -0.06082690507173538, 0.5180025696754456, 0.618316650390625, 0.25114256143569946, 0.41071590781211853, 0.7284289598464966, 0.5733888149261475, -0.6384472846984863, -0.3435840606689453, -0.04256439954042435, 0.5760518312454224, -0.12224707752466202, -0.5293799042701721, 0.7397164106369019, 0.40069904923439026, 0.8058104515075684, -0.1779562383890152, 0.7962629795074463, -0.06281644105911255, 0.1906518042087555, -0.48379403352737427, 0.5918053388595581, -0.881722629070282, -0.14736616611480713, -0.5066612362861633, -0.9337274432182312, -0.9662914872169495, 0.44458311796188354, 0.15056011080741882, 0.018338987603783607, 0.6180117130279541, 0.3391185402870178, -0.08696318417787552, -0.25065088272094727, 0.7296961545944214, -0.018800336867570877, 0.36337485909461975, 0.6809906363487244, 0.33091413974761963, -0.5525526404380798, 0.8108748197555542, -0.15880434215068817, -0.28555232286453247, 0.0336025208234787, -0.7711525559425354, -0.4980645477771759, -0.9051779508590698, -0.4002891182899475, 0.020989084616303444, -0.17891345918178558, 0.6296612024307251, 0.5864486694335938, -1.1262099742889404, -0.5322144627571106, -0.06079735979437828, -0.15182575583457947, -0.48021796345710754, -0.10179851949214935, 0.5029722452163696, -0.4496762752532959, -0.6367043852806091, 0.8570473194122314, 0.2783876061439514, 0.4558575451374054, -0.38148951530456543, -0.19402512907981873, 0.061869099736213684, -0.2609970271587372, 0.4714181125164032, 0.8587754964828491, -0.6897488236427307, -0.2699417471885681, -0.5562953948974609, -0.09864610433578491, 0.2787451148033142, 0.7660131454467773, -0.4332987666130066, 0.4695405066013336, 0.11909560114145279, 0.08856270462274551, 0.5285520553588867, -0.007806101348251104, 0.5132083892822266, -1.1411733627319336, 0.1922028511762619, 0.13261377811431885, 0.4081976115703583, 0.7078484892845154, -0.3056575655937195, 0.7369135618209839, 0.16907572746276855, -0.3294813632965088, -0.43332624435424805, 0.6627073884010315, -1.0384215116500854, -0.16155096888542175, 0.9762964248657227, -0.0668804943561554, -0.05161849781870842, -0.5513925552368164, 0.0048490650951862335, 0.47450730204582214, -0.5380359888076782, 0.4090578854084015, 0.13596005737781525, -0.37777596712112427, -0.12105780839920044, -0.3897973299026489, 0.558369517326355, 0.39551010727882385, -0.5782964825630188, 0.4821588397026062, 0.49079498648643494, -0.04704742133617401, 0.6379120945930481, 0.8851948976516724, -0.29919546842575073, 0.08151271939277649, -0.14181123673915863, 0.6828269958496094, -0.29679617285728455, -0.46805036067962646, -0.4747146666049957, 0.2179611325263977, 0.21672466397285461, -0.1750466674566269 ]
http://arxiv.org/abs/2407.02842v1
http://arxiv.org/pdf/2407.02842v1
MindBench: A Comprehensive Benchmark for Mind Map Structure Recognition and Analysis
2024-07-03T06:39:18
2024-07-03T06:39:18
Lei Chen, Feng Yan, Yujie Zhong, Shaoxiang Chen, Zequn Jie, Lin Ma
cs.CV
cs.CV, cs.AI, cs.CL
Multimodal Large Language Models (MLLM) have made significant progress in the field of document analysis. Despite this, existing benchmarks typically focus only on extracting text and simple layout information, neglecting the complex interactions between elements in structured documents such as mind maps and flowcharts. To address this issue, we introduce the new benchmark named MindBench, which not only includes meticulously constructed bilingual authentic or synthetic images, detailed annotations, evaluation metrics and baseline models, but also specifically designs five types of structured understanding and parsing tasks. These tasks include full parsing, partial parsing, position-related parsing, structured Visual Question Answering (VQA), and position-related VQA, covering key areas such as text recognition, spatial awareness, relationship discernment, and structured parsing. Extensive experimental results demonstrate the substantial potential and significant room for improvement in current models' ability to handle structured document information. We anticipate that the launch of MindBench will significantly advance research and application development in structured document analysis technology. MindBench is available at: https://miasanlei.github.io/MindBench.github.io/.
[ -0.5475853085517883, -0.7797529101371765, 0.7450298070907593, 0.28972935676574707, -0.30349093675613403, -0.012267987243831158, -0.2581620514392853, -0.5421460270881653, -0.005110211670398712, 0.40964487195014954, -0.5201255679130554, -0.8697574138641357, -0.40450140833854675, -0.1411607414484024, -0.5108951330184937, 0.7609095573425293, -0.3340543210506439, 0.04528237506747246, -0.4111487865447998, -0.2836766839027405, -0.29697179794311523, -0.5670193433761597, -0.4805116057395935, -0.5532722473144531, 0.4866369366645813, -0.023677125573158264, 0.43467283248901367, 0.47263920307159424, 0.7524922490119934, 0.4089335501194, 0.1111750677227974, -0.057688288390636444, -0.1759493052959442, 0.39984720945358276, -0.27919256687164307, -0.35525569319725037, -0.7724956274032593, 0.2838040888309479, 0.7945053577423096, 0.7680162787437439, -0.23296357691287994, 0.2200758308172226, -0.02486717887222767, 0.7502955198287964, -0.6046913862228394, 0.5394759178161621, -0.40039506554603577, 0.16999545693397522, -0.4482154846191406, -0.04609880596399307, -0.23823504149913788, -0.2626752555370331, -0.020143894478678703, -0.4576773941516876, 0.34455323219299316, 0.3366316556930542, 0.80318683385849, 0.3818668723106384, -0.20418284833431244, -0.005168209318071604, -0.20249655842781067, 0.49224284291267395, -0.36727607250213623, 0.7455527782440186, 0.35877078771591187, 0.6989758014678955, -0.3950553834438324, -0.9198870658874512, -0.7920617461204529, 0.16933926939964294, 0.1092902198433876, 0.28017449378967285, 0.1298723667860031, 0.0871906653046608, 0.4947987198829651, 0.4911528527736664, -0.7964352965354919, -0.3389539122581482, -0.02006593346595764, -0.19623450934886932, 0.30677738785743713, 0.1338096261024475, 0.30690622329711914, -0.18984150886535645, -0.3321288824081421, -0.47887861728668213, -0.12962912023067474, 0.13733793795108795, 0.056185849010944366, 0.0068121785297989845, -0.17945174872875214, 0.4079614281654358, -0.25696811079978943, 0.8549073934555054, -0.13886797428131104, 0.02528037503361702, 0.515500545501709, -0.06081848219037056, -0.5674750208854675, -0.059067197144031525, 0.6666162610054016, 0.5991882085800171, 0.40516239404678345, -0.30878961086273193, -0.11020805686712265, 0.11528585851192474, 0.32425785064697266, -0.883352518081665, -0.44259345531463623, 0.4406253397464752, -0.6089329719543457, -0.03832446411252022, -0.03384003788232803, -0.7978287935256958, -0.6659528613090515, -0.32790255546569824, -0.1092061996459961, -0.49665504693984985, -0.20538334548473358, 0.14785979688167572, -0.4891713261604309, 0.6479897499084473, 0.5088156461715698, -0.6408496499061584, 0.44197341799736023, 0.8942409157752991, 0.9275074601173401, -0.2406429797410965, -0.3794991672039032, -0.4540358781814575, 0.056282784789800644, -0.41511479020118713, 1.1714019775390625, -0.4639197587966919, -0.4303267002105713, -0.5430541634559631, -0.027641616761684418, -0.17794698476791382, -0.5427736639976501, 0.8026219010353088, -0.4060990810394287, 0.22108998894691467, -0.4320228695869446, -0.5505723357200623, -0.3381231725215912, 0.8518738150596619, -0.8602428436279297, 1.12587308883667, 0.327789306640625, -0.6966428756713867, 0.3927636742591858, -0.5799558758735657, -0.17022407054901123, 0.12907956540584564, -0.5334811210632324, -0.11727244406938553, 0.0848570466041565, 0.11021757870912552, 0.4189409017562866, -0.3866036832332611, 0.42485225200653076, -0.38878968358039856, -0.28372901678085327, 0.35976529121398926, -0.08928924798965454, 0.6505618691444397, 0.0986490547657013, -0.1806286871433258, 0.4236854016780853, -1.1430951356887817, 0.5515800714492798, 0.15476036071777344, -0.5004934668540955, -0.31426239013671875, 0.2851199805736542, 0.498644083738327, 0.5932708382606506, 0.23176813125610352, -0.7541810870170593, 0.08245579153299332, -0.3100073039531708, -0.01024165004491806, 0.5700957775115967, -0.2043965458869934, 0.04035153612494469, -0.0743277296423912, 0.4194331467151642, 0.04523035138845444, -0.18177445232868195, -0.17458513379096985, -0.2910183370113373, -0.7665300965309143, -0.4625556766986847, 0.29037487506866455, 0.38958272337913513, -0.38606971502304077, 0.39626339077949524, -0.5973986983299255, -0.5151636600494385, -0.5932248830795288, 0.17581066489219666, 0.5039106011390686, 0.741698682308197, 0.4656178653240204, -0.588869571685791, -0.6201554536819458, -1.1402747631072998, -0.3795996606349945, -0.006146336439996958, -0.16808255016803741, -0.15790675580501556, 0.45049789547920227, -0.09053576737642288, 0.8956555724143982, -0.4970863163471222, -0.3378020226955414, -0.2349025160074234, 0.2448139190673828, 0.22961990535259247, 0.4343486428260803, 0.5634267926216125, -0.9698957204818726, -0.47456473112106323, 0.0694868415594101, -0.8477885723114014, 0.08515432476997375, 0.26375114917755127, -0.34153738617897034, -0.14239725470542908, 0.5848115682601929, -0.7085849046707153, 0.26968371868133545, 0.5488396286964417, -0.3095860183238983, 0.2951808571815491, 0.049239158630371094, 0.06592270731925964, -0.958246111869812, 0.4007471203804016, -0.20201802253723145, -0.4713110625743866, -0.46610358357429504, 0.49165529012680054, 0.6795234680175781, -0.3199242949485779, -0.1999823898077011, 0.5320139527320862, -0.4520963132381439, -0.307693749666214, -0.21839582920074463, 0.17220298945903778, 0.1747743785381317, 0.7942026257514954, -0.08193953335285187, 0.7434728145599365, 0.20300452411174774, 0.04962113872170448, 0.2663728594779968, 0.1156391128897667, -0.6708622574806213, 0.9508061408996582, -0.5266651511192322, 0.41573598980903625, -0.18611648678779602, 0.42554470896720886, -1.0636266469955444, -0.23726269602775574, 0.27137237787246704, -0.17756035923957825, 0.28295475244522095, 0.2289329171180725, -0.6869754791259766, -0.48608848452568054, -0.40449368953704834, 0.011426986195147038, 0.03675387427210808, -0.2802078425884247, 1.0375511646270752, 0.4357397258281708, 0.07724045217037201, -0.3912047743797302, -0.5951983332633972, 0.13181357085704803, 0.1527230441570282, -0.5061100721359253, 0.39619460701942444, -0.3109437823295593, -0.24412879347801208, 0.056880801916122437, -0.37666621804237366, -0.3064785599708557, 0.27083635330200195, 0.6042633652687073, 0.14211677014827728, -0.2383364588022232, 0.018358828499913216, -0.22696037590503693, -0.19906069338321686, 0.047936275601387024, -0.19952455163002014, 0.5730628371238708, -0.5399178862571716, -0.18630261719226837, 0.01008413452655077, 0.4370027482509613, 0.7510514259338379, -0.7119741439819336, 0.5445483922958374, 0.6260262727737427, -0.5020684003829956, -0.20899325609207153, -0.6375817656517029, 0.5130224823951721, -0.4857439696788788, 0.3513931930065155, -0.8300636410713196, -0.5670952200889587, 0.37277865409851074, -0.09117382019758224, 0.16692203283309937, 0.3208833932876587, 0.573330283164978, -0.38273918628692627, 0.6917309761047363, 0.7141558527946472, -0.29554814100265503, 0.2940106987953186, 0.022786526009440422, -0.08483865857124329, -0.9543219208717346, -0.09040358662605286, -0.45863738656044006, -0.6179397106170654, -0.1251872479915619, -0.7144520282745361, 0.08965951204299927, -0.12055779993534088, 0.08724328875541687, 0.2060783952474594, -0.35530686378479004, 0.62534499168396, 0.3901044726371765, -0.17866948246955872, 0.23118674755096436, -0.19004210829734802, -0.6727800369262695, -0.005621479824185371, -0.07873319834470749, -0.4013802707195282, 1.2219356298446655, 0.062311332672834396, 0.4308033287525177, -0.11175378412008286, 0.5044471025466919, 0.04609182849526405, 0.6090854406356812, -0.8753219246864319, 0.8581979870796204, 0.032764095813035965, -0.6645662188529968, -0.013445175252854824, -0.1312904804944992, -0.8063704967498779, 0.8075514435768127, 0.06059786304831505, -0.7322574257850647, 0.18631519377231598, 0.08069904148578644, -0.05083639919757843, 0.18118782341480255, -0.6814194917678833, 1.1210662126541138, -0.3745322525501251, -0.2791779339313507, -0.3006680905818939, -0.6027721166610718, 0.06784497946500778, -0.27341708540916443, 0.22494512796401978, -0.413325697183609, -0.010019367560744286, 0.6028458476066589, 0.11127939820289612, 0.37627172470092773, -0.27934762835502625, -0.09382209181785583, -0.06928983330726624, 0.13316090404987335, 0.30234408378601074, -0.6748303771018982, -0.36858677864074707, 0.1235157772898674, 0.037255022674798965, -0.29789289832115173, -0.8300778865814209, 0.5915411710739136, -0.4991408884525299, -0.4727082848548889, -0.21459250152111053, -0.895147442817688, -0.3796278238296509, 0.6090402007102966, -0.22486448287963867, 0.35394230484962463, -0.49848195910453796, 0.46223920583724976, 0.3739393651485443, 0.07836578041315079, 0.20794962346553802, 0.7467663884162903, -0.3913559317588806, -0.18543483316898346, 0.7738125324249268, 0.11866584420204163, -0.28311699628829956, 0.60392165184021, -0.10208377987146378, -0.15848217904567719, -0.7126897573471069, -0.18321438133716583, 0.044518567621707916, -0.9667196273803711, 0.1277228444814682, -0.7775965929031372, -0.14717203378677368, -0.13297806680202484, 0.09044694155454636, -0.3043198883533478, -0.3700093924999237, 0.2547524571418762, -0.297921359539032, -0.3422172963619232, 0.2882849872112274, 0.5145474672317505, 0.13411355018615723, -0.5065702795982361, 0.576259195804596, 0.1624908447265625, 0.610480010509491, -0.08949308097362518, 0.23685897886753082, -0.34920671582221985, -0.45404940843582153, -0.5471567511558533, -0.8456595540046692, 0.11788760125637054, 0.09188719093799591, 0.7801194190979004, 0.3405696153640747, -0.28841525316238403, 0.7386326789855957, -0.6659104824066162, 0.1840313971042633, -0.068389892578125, -0.784294605255127, 0.5743255019187927, -0.4611347019672394, 0.5466850996017456, 0.7250866889953613, 0.17375710606575012, -0.7114538550376892, -0.37915587425231934, -0.39639297127723694, -0.6121826767921448, 0.4492681324481964, 0.09515843540430069, -0.4498445987701416, 0.11186177283525467, 0.16065651178359985, -0.15109382569789886, 0.4813826382160187, -0.6121139526367188, 0.1469939649105072, -0.3483966886997223, -0.7449785470962524, -0.2773117125034332, 0.007400275208055973, -0.2789457142353058, -0.23845987021923065, 0.0940604880452156, -0.3993334472179413, 0.06343145668506622, 0.31996044516563416, -0.4710959792137146, -0.17086221277713776, 0.4759865403175354, 0.3276181221008301, 0.7014485001564026, -0.6299000382423401, 0.37746211886405945, -0.03709720820188522, -0.5338002443313599, 0.02699306048452854, 0.40025952458381653, 0.06567554175853729, -0.29209208488464355, 0.42942604422569275, 0.6102511286735535, 0.49303916096687317, -0.9787832498550415, 0.2833932042121887, -0.1700175255537033, -0.14854994416236877, -0.2034299075603485, 0.33094996213912964, 0.20620568096637726, 0.45077717304229736, 0.18672963976860046, 0.005934770684689283, 0.2922714948654175, -0.402596116065979, 0.02842598408460617, 0.5147271156311035, -0.2823897898197174, -0.257415235042572, 0.6115222573280334, 0.16767829656600952, -0.13715487718582153, 0.6020985841751099, 0.04874444380402565, -0.4042821228504181, 0.5804840922355652, 0.30277201533317566, 0.9374881386756897, -0.07963778078556061, -0.13693849742412567, 0.14139169454574585, 0.47526752948760986, 0.11642592400312424, 0.5640562772750854, -0.5044005513191223, -0.8413281440734863, 0.13124437630176544, -0.8232598304748535, -0.7182735800743103, -0.0030688790138810873, -0.7043811678886414, -0.0864221602678299, -0.6510429382324219, -0.3691079020500183, 0.174553781747818, 0.17529112100601196, -1.001602053642273, 0.3143424093723297, 0.34105128049850464, 1.1210908889770508, -0.3680833876132965, 1.1251109838485718, 0.9376339912414551, -0.19374202191829681, -0.4539564847946167, -0.037346117198467255, 0.4334143400192261, -0.7039735913276672, 0.520359218120575, 0.5074321031570435, -0.26215970516204834, 0.09277883917093277, -0.31644007563591003, -0.7392932176589966, 1.1555736064910889, 0.1866445243358612, -0.6125048995018005, -0.28015002608299255, -0.21327821910381317, 0.7350481748580933, -0.2550913989543915, 0.13933683931827545, 0.72508704662323, 0.6466919779777527, -0.4497974216938019, -0.5681332945823669, 0.13832049071788788, -0.714265763759613, 0.010188296437263489, 0.21805594861507416, -0.616979718208313, 0.9243504405021667, 0.31405654549598694, -0.5069867372512817, -0.09921783953905106, 0.5291652679443359, 0.15514659881591797, 0.10324468463659286, 0.6482186317443848, 0.8856244683265686, 0.9001652002334595, -0.07621719688177109, 1.3505868911743164, -0.37640202045440674, 0.08648993074893951, 1.5823224782943726, -0.6426188349723816, 1.2102711200714111, 0.3603443503379822, -0.3184716999530792, 0.8951807618141174, 0.49325796961784363, -0.22975127398967743, 0.2164788395166397, 0.05074417218565941, 0.31885838508605957, -0.17969855666160583, 0.05989667400717735, -0.295865535736084, 0.420304536819458, 0.5863804221153259, -0.2763746678829193, -0.46866780519485474, -0.1758696436882019, -0.16488409042358398, -0.09882929176092148, 0.030335087329149246, 0.4434967041015625, 0.021832970902323723, -0.7396087050437927, 0.31382134556770325, 0.08329164981842041, 0.28106167912483215, -1.005935549736023, 0.2542093098163605, -0.08436136692762375, 0.4407055079936981, -0.03892577067017555, -0.8493513464927673, 0.1050228476524353, -0.05186360329389572, -0.3932068943977356, -0.34181898832321167, 0.8860464692115784, -0.38260942697525024, -0.41009029746055603, 0.6238816380500793, 0.6267796754837036, 0.17908813059329987, -0.4536501467227936, -0.8228966593742371, 0.2456124871969223, -0.39867570996284485, -0.507371723651886, 0.3878268897533417, 0.30686062574386597, -0.1692749410867691, 0.6135465502738953, 0.7108311057090759, -0.05249395594000816, -0.033327654004096985, 0.3351946473121643, 0.9995114803314209, -0.9032761454582214, -0.6321462988853455, -0.749904453754425, 0.3560774624347687, -0.3745741844177246, -0.19555655121803284, 0.9620945453643799, 0.7703830003738403, 0.7564657330513, 0.006608436815440655, 0.4914492070674896, 0.1494801938533783, 0.44808894395828247, -0.2819136381149292, 0.9681729078292847, -0.7299541234970093, -0.47013264894485474, -0.5743169188499451, -1.039975643157959, -0.21546082198619843, 0.5837922692298889, -0.32217705249786377, -0.2576647996902466, 1.0847599506378174, 0.6743209362030029, -0.19098681211471558, 0.07060210406780243, 0.34622153639793396, 0.1700875461101532, 0.4896668493747711, 0.48521560430526733, 0.6574718356132507, -0.07643435895442963, 0.4129583537578583, -0.1243024542927742, -0.18962767720222473, 0.06524278968572617, -0.6341447234153748, -1.0715702772140503, -0.606840193271637, -0.0606476329267025, 0.158589169383049, -0.19784203171730042, 0.7469216585159302, 0.7985032796859741, -0.7989027500152588, -0.40401890873908997, -0.013745401054620743, 0.05319768935441971, -0.3850945830345154, -0.22365650534629822, 0.36112046241760254, -0.24490278959274292, -0.5510442852973938, 0.602145254611969, 0.7524555325508118, 0.1735040843486786, -0.24718043208122253, 0.22201989591121674, -0.27055105566978455, -0.07737527042627335, 0.5818145871162415, 0.17082546651363373, -0.7356441617012024, -0.059990137815475464, -0.236639142036438, -0.32768964767456055, 0.25719696283340454, 1.0377225875854492, -0.7313663959503174, 0.7693473696708679, 0.599724531173706, 0.7741792798042297, 0.633762776851654, 0.13981503248214722, 0.4919864237308502, -0.6729211211204529, 0.41634881496429443, -0.08629623055458069, 0.619388222694397, 0.5240405201911926, -0.08030547946691513, 0.8003888130187988, 0.17446301877498627, -0.07581394165754318, -0.6300679445266724, -0.0378006249666214, -1.1419298648834229, -0.38293927907943726, 0.41078439354896545, -0.321103036403656, -0.5531886219978333, -0.21598006784915924, -0.33480414748191833, 0.20095184445381165, -0.06421121209859848, 0.5260717272758484, 1.247628092765808, -0.02077741175889969, -0.32279375195503235, -0.6742751598358154, 0.16545265913009644, 0.4432637393474579, -1.1933804750442505, 0.03635866194963455, 0.6788954734802246, 0.23941457271575928, 0.1711961030960083, 1.0206615924835205, -0.19042466580867767, 0.26056477427482605, 0.010225425474345684, 0.3258706033229828, -0.11471854150295258, -0.4488338828086853, -0.09554314613342285, 0.5897225737571716, -0.061322495341300964, -0.08599257469177246 ]
http://arxiv.org/abs/2407.02837v1
http://arxiv.org/pdf/2407.02837v1
Comparing Feature-based and Context-aware Approaches to PII Generalization Level Prediction
2024-07-03T06:32:03
2024-07-03T06:32:03
Kailin Zhang, Xinying Qiu
cs.CL
cs.CL
Protecting Personal Identifiable Information (PII) in text data is crucial for privacy, but current PII generalization methods face challenges such as uneven data distributions and limited context awareness. To address these issues, we propose two approaches: a feature-based method using machine learning to improve performance on structured inputs, and a novel context-aware framework that considers the broader context and semantic relationships between the original text and generalized candidates. The context-aware approach employs Multilingual-BERT for text representation, functional transformations, and mean squared error scoring to evaluate candidates. Experiments on the WikiReplace dataset demonstrate the effectiveness of both methods, with the context-aware approach outperforming the feature-based one across different scales. This work contributes to advancing PII generalization techniques by highlighting the importance of feature selection, ensemble learning, and incorporating contextual information for better privacy protection in text anonymization.
[ -0.37168875336647034, -0.649635374546051, 0.40062597393989563, 0.22290413081645966, 0.07167262583971024, 0.04101044312119484, -0.22004130482673645, -0.6687017679214478, 0.032597143203020096, 0.36970242857933044, -0.3938964307308197, -0.5843374729156494, -0.6139224767684937, 0.03286392614245415, -0.3144243657588959, 1.0175738334655762, 0.26065340638160706, 0.028832372277975082, -0.28168371319770813, 0.021509606391191483, -0.5918972492218018, -0.9740025997161865, -0.4841526746749878, -0.13748446106910706, 0.615155816078186, 0.15132637321949005, 0.24682362377643585, 0.6437015533447266, 0.558092474937439, 0.22060470283031464, -0.04406217485666275, -0.16026730835437775, -0.2388271540403366, 0.3301416039466858, -0.24659915268421173, -0.1655869036912918, -0.32485970854759216, -0.1386491060256958, 0.5185869336128235, 0.591199517250061, 0.3074442744255066, -0.041316114366054535, -0.047471944242715836, 0.5336885452270508, -1.0795050859451294, 0.0984315276145935, -0.6589261889457703, 0.2131611704826355, -0.13245035707950592, -0.14702145755290985, -0.3783377707004547, -0.017514780163764954, 0.5026158094406128, -0.4215654134750366, 0.40986520051956177, 0.1028347834944725, 0.6120818257331848, 0.05933172255754471, -0.4649243652820587, -0.40886232256889343, -0.6987776756286621, 0.7618860006332397, -0.22148022055625916, 0.39204666018486023, 0.7907503843307495, 0.19781453907489777, -0.035912077873945236, -0.4847185015678406, -0.23511990904808044, 0.025871912017464638, -0.4267013967037201, 0.03009858727455139, -0.03300190344452858, -0.054118264466524124, 0.11678894609212875, 0.27333521842956543, -0.6229240298271179, 0.276154488325119, -0.3490791916847229, -0.3694549798965454, 0.8663305640220642, -0.2836062014102936, -0.009249521419405937, -0.018590178340673447, -0.4378860890865326, -0.3169187903404236, -0.5502467155456543, 0.4078774154186249, 0.3321864604949951, 0.38722649216651917, -0.10043126344680786, 0.22055906057357788, -0.3210259675979614, 0.4309040606021881, 0.2254999876022339, -0.17152801156044006, 0.38766956329345703, -0.28130075335502625, -0.2083275020122528, 0.2335471212863922, 0.7758029103279114, 0.2926298975944519, 0.19321265816688538, -0.3200964033603668, 0.04606815055012703, -0.1356634646654129, 0.09855605661869049, -0.8149136900901794, -0.18580536544322968, 0.32106584310531616, -0.47475436329841614, -0.3340222239494324, 0.7065829634666443, -0.8720928430557251, -0.44276612997055054, -0.1291024386882782, 0.09812227636575699, -0.5317401885986328, 0.029051892459392548, -0.4813762605190277, -0.17399950325489044, 0.007121050730347633, 0.42105668783187866, -1.2083197832107544, 0.08948632329702377, 0.9564103484153748, 0.7196735739707947, -0.3006724715232849, -0.19007907807826996, -0.400182843208313, 0.5470218658447266, -0.2157077193260193, 0.4457453191280365, -0.8840956091880798, -0.6071101427078247, -0.02479712665081024, -0.0011059775715693831, -0.3755643963813782, -0.45249244570732117, 0.4680279493331909, -0.26500239968299866, 0.6567251682281494, -0.0345291793346405, -0.6049279570579529, -0.29835352301597595, 0.1837381273508072, -0.6005210876464844, 0.834565281867981, 0.017112622037529945, -1.0969774723052979, 0.6686134338378906, -0.9917227029800415, -0.5945950746536255, -0.006122003775089979, -0.2727842330932617, -0.8096216320991516, 0.33589839935302734, 0.277607262134552, 0.8931906819343567, 0.31603485345840454, 0.4322957992553711, -0.47660139203071594, -0.4360954761505127, 0.33460915088653564, -0.3767228424549103, 0.29616889357566833, 0.2614601254463196, -0.35574644804000854, 0.20187637209892273, -0.781000018119812, -0.020713042467832565, -0.3115679621696472, -0.0852871984243393, -0.48451632261276245, 0.12120264768600464, -0.009206967428326607, -0.29074960947036743, 0.44757217168807983, -0.6199914813041687, -0.16789889335632324, -0.35886260867118835, 0.4033748209476471, 0.5852642059326172, 0.08105304837226868, 0.6780118942260742, -0.11394590139389038, 0.07258771359920502, 0.17050762474536896, 0.07410526275634766, -0.41555672883987427, -0.7649827599525452, -0.03722229227423668, -0.5339751839637756, 0.5827426910400391, 0.9817807078361511, -0.26041877269744873, 0.7358234524726868, -0.2715436816215515, -0.25836634635925293, 0.0671248733997345, -0.08557809889316559, 0.5506570339202881, 0.4879518449306488, 0.2378131002187729, -0.34528934955596924, -0.39666134119033813, -0.9159764051437378, -0.5181247591972351, -0.2725432217121124, -0.5184102654457092, 0.5600125193595886, 0.2620639204978943, -0.5269356966018677, 1.0744268894195557, -0.35892242193222046, -0.32714569568634033, -0.02311151847243309, 0.16109579801559448, -0.06624434143304825, 0.809405505657196, 0.6839343309402466, -1.3957003355026245, -0.6109617352485657, 0.44787418842315674, -0.6051499843597412, 0.14839906990528107, 0.10109668970108032, 0.04728275537490845, 0.1236809566617012, -0.004287005867809057, 0.13839071989059448, 0.8839108347892761, 0.4257451891899109, -0.5921639204025269, -0.14111532270908356, -0.3364907503128052, 0.48667392134666443, -1.0061532258987427, 0.28659456968307495, 0.1247490644454956, -0.2965289354324341, -1.1823996305465698, -0.310045450925827, 0.3020990490913391, -0.2857001721858978, -0.2930954396724701, 0.6052402853965759, -0.18260380625724792, -0.19143760204315186, -0.13114650547504425, -0.5147007703781128, -0.08538869768381119, 0.3626849353313446, 0.05302061885595322, 0.945306122303009, 0.5469680428504944, -0.7158997654914856, -0.146232008934021, 0.1263151913881302, -0.15023986995220184, 0.36083272099494934, -0.42290252447128296, 0.13560383021831512, -0.16153208911418915, 0.08587920665740967, -0.6806328892707825, -0.7468039393424988, 0.27425768971443176, -0.783576488494873, 0.5031590461730957, 0.16153612732887268, -0.172301784157753, 0.0631617084145546, -0.47877615690231323, 0.47255975008010864, 0.27919337153434753, -0.3303971290588379, 0.6091145277023315, 0.46115967631340027, -0.3183780908584595, -0.6219105124473572, -0.8049172759056091, 0.05280622839927673, -0.5731154680252075, -0.5312030911445618, 0.6402820348739624, 0.03269233554601669, -0.024772025644779205, -0.11033724248409271, 0.12292566895484924, -0.6590732336044312, 0.5074784755706787, 0.5186043381690979, -0.020628610625863075, 0.21748366951942444, 0.1873290240764618, 0.28885528445243835, -0.23336544632911682, -0.2668255567550659, -0.15996316075325012, 0.28366348147392273, -0.1762472689151764, -0.004549650475382805, -0.7174580097198486, 0.7514607310295105, 0.2891029119491577, -0.23363535106182098, 0.818248450756073, 0.7151395082473755, -0.4600936472415924, 0.22869929671287537, -0.5780823826789856, -0.036280758678913116, -0.3738403618335724, 0.34787359833717346, -0.5108543634414673, -1.238901972770691, 0.438433974981308, -0.16474197804927826, -0.06034580618143082, 0.2805939018726349, 0.4632547199726105, -0.210155189037323, 0.955650269985199, 1.163245677947998, -0.34979528188705444, 0.7913191914558411, -0.07792594283819199, 0.46869775652885437, -0.6720182299613953, -0.3391399383544922, -0.4773736596107483, -0.29781219363212585, -0.8575048446655273, -0.11627116799354553, 0.48053842782974243, 0.28723812103271484, -0.10905037075281143, 0.3611762523651123, -0.6693481802940369, 0.27017098665237427, 0.6896538138389587, 0.2204919308423996, 0.18516066670417786, 0.3770294487476349, 0.1828254610300064, -0.030647512525320053, -0.3833790123462677, -0.5475575923919678, 1.3442312479019165, 0.5293235182762146, 0.15884940326213837, 0.08630829304456711, 0.8196287155151367, 0.5157182216644287, 0.305883526802063, -0.28938281536102295, 0.2142479121685028, -0.4528054893016815, -0.5072228312492371, -0.6552928686141968, -0.4768518805503845, -1.0181752443313599, 0.37391048669815063, -0.5094172954559326, -1.3015720844268799, 0.49986210465431213, 0.22838960587978363, -0.14584892988204956, 0.043941695243120193, -1.0240143537521362, 0.7979177832603455, -0.12452636659145355, -0.2984560430049896, 0.0413551963865757, -0.7179946303367615, 0.14861655235290527, -0.20702138543128967, 0.3716624677181244, -0.07555996626615524, -0.2760230600833893, 0.5100501775741577, -0.11914891749620438, 0.7818436622619629, -0.23403021693229675, 0.17169329524040222, -0.046148885041475296, -0.42265740036964417, 0.1956310123205185, 0.394365519285202, -0.2992827296257019, 0.3342616856098175, 0.06224551424384117, -0.3551015257835388, -0.7219700813293457, 0.7165480256080627, -0.631243884563446, -0.5156360864639282, -0.20364315807819366, -0.42486244440078735, -0.33566418290138245, 0.1608513444662094, 0.7010914087295532, 0.18958276510238647, -0.3367982506752014, 0.46119561791419983, 0.8349975347518921, -0.043576281517744064, 0.7325583100318909, -0.07098346203565598, 0.1661454439163208, -0.6932961344718933, 0.9103356599807739, -0.027071980759501457, -0.2758670747280121, 0.8279402852058411, 0.4402881860733032, -0.2727966606616974, -0.4569239914417267, -0.31071150302886963, -0.15484315156936646, -0.3519715964794159, -0.1119299903512001, -0.659464955329895, -0.16502828896045685, -0.6729806661605835, -0.20221416652202606, 0.03831218183040619, -0.3929124176502228, -0.1862875372171402, 0.16525332629680634, 0.08251345157623291, 0.45380815863609314, 0.11503655463457108, 0.1781785488128662, -0.5040380954742432, 0.03546435013413429, 0.2257927656173706, 0.387012779712677, -0.23830962181091309, -0.03604893013834953, -0.15328162908554077, -0.052241019904613495, -0.17689695954322815, -0.8295952081680298, 0.3236650824546814, 0.46495532989501953, 0.5250998735427856, 0.5844319462776184, 0.07848428189754486, 0.35836783051490784, -0.6216560006141663, 0.5668289661407471, 0.3484283983707428, -0.8929668664932251, 0.9198524355888367, -0.09842167794704437, -0.006242468953132629, 0.7421207427978516, 0.39902806282043457, -0.33821648359298706, -0.22662878036499023, -0.6193358302116394, -0.6451277136802673, 0.30782201886177063, 0.44072720408439636, 0.1218915805220604, 0.14050833880901337, 0.4931059181690216, 0.32537874579429626, 0.6077679395675659, -0.7499255537986755, -0.019163215532898903, -0.29686853289604187, -0.4075967073440552, -0.11404912173748016, -0.2754017114639282, 0.006943709682673216, -0.15963904559612274, 0.2781449258327484, -0.2743942141532898, 0.38632553815841675, 0.45876187086105347, 0.11068268120288849, 0.31868496537208557, 0.3662802577018738, 0.7864965796470642, 0.7334048748016357, -0.08505041152238846, -0.08001965284347534, 0.1367061734199524, -0.664298415184021, 0.036322928965091705, -0.0368676632642746, -0.45251965522766113, 0.13007186353206635, 0.4759388566017151, 0.9610254764556885, 0.0880289375782013, -0.477685809135437, 0.8584491014480591, -0.15232622623443604, -0.21521718800067902, -0.3792587220668793, 0.40989795327186584, -0.41793254017829895, 0.14258421957492828, 0.40900906920433044, 0.04604004696011543, 0.4328209459781647, -0.578176736831665, 0.1604083627462387, 0.32454749941825867, -0.37016403675079346, -0.23620904982089996, 0.42854174971580505, 0.16679279506206512, -0.4414929747581482, 0.11233794689178467, 0.08177150040864944, -0.35618823766708374, 0.5547559857368469, 0.1397712081670761, 0.9911626577377319, -0.5584056377410889, -0.04711898788809776, 0.33096936345100403, -0.21569794416427612, 0.12736867368221283, 0.0631452351808548, -0.4280330538749695, -0.5657735466957092, -0.04815179482102394, -0.28800052404403687, -0.4873821437358856, 0.007356305606663227, -0.7585673928260803, 0.010231148451566696, -0.8206988573074341, -0.1747676581144333, -0.09392954409122467, 0.010374397039413452, -0.6268320083618164, 0.41532784700393677, 0.022101497277617455, 0.5547116994857788, -0.6614971160888672, 0.8596975803375244, 0.8275706768035889, 0.15238501131534576, -0.19430595636367798, 0.4061329662799835, -0.14684411883354187, -0.2677309811115265, 0.46585115790367126, 0.6653345227241516, 0.19712959229946136, -0.4441591799259186, -0.3272813558578491, -0.8113653659820557, 1.268635630607605, 0.010269954800605774, -0.6415554881095886, 0.185614213347435, 0.19356226921081543, 0.5164647102355957, -0.86606365442276, -0.014266174286603928, 0.4270029067993164, 0.36727026104927063, 0.07027428597211838, -0.8521881699562073, -0.20433729887008667, -0.051592569798231125, 0.5715160369873047, -0.07830982655286789, -0.27079451084136963, 0.5662133693695068, 0.10890886932611465, -0.34383484721183777, 0.0630340501666069, 0.80772465467453, 0.1899425983428955, 0.9900146722793579, 0.43478402495384216, 0.29076457023620605, 1.085608959197998, -0.06939882040023804, 0.9686006903648376, -0.4129313826560974, 0.33434370160102844, 0.9612549543380737, -0.2409762442111969, 1.0534758567810059, 0.2093348205089569, 0.07724562287330627, 0.49947553873062134, 0.6538757085800171, -0.06254229694604874, 0.7794246673583984, -0.001418315339833498, -0.47054746747016907, 0.21909020841121674, 0.11635366827249527, -0.2995816171169281, 0.5321398973464966, 0.4375552237033844, -0.4468931555747986, 0.21411773562431335, 0.3002002537250519, -0.18715757131576538, 0.29003825783729553, -0.32903972268104553, 1.1926217079162598, -0.40463775396347046, -0.4011334478855133, 0.21149922907352448, 0.32314637303352356, 0.9111207127571106, -0.30143409967422485, 0.20839343965053558, -0.018376726657152176, 0.09925176948308945, -0.21807008981704712, -0.570742130279541, 0.3819865882396698, 0.2104095220565796, -0.7293895483016968, -0.19984373450279236, 0.9233120083808899, -0.37551212310791016, -0.47872379422187805, 0.15287204086780548, 0.15967372059822083, 0.013262610882520676, -0.15761271119117737, -0.5841313600540161, -0.10691240429878235, -0.05524871125817299, -0.047179631888866425, 0.6474310755729675, 0.44922780990600586, -0.37617483735084534, 0.5280798673629761, 0.46052491664886475, -0.22605140507221222, -0.05584919825196266, -0.1471254974603653, 0.7062193751335144, -0.6524417400360107, -0.99732506275177, -0.7319422364234924, 0.47630825638771057, -0.5576781034469604, -0.37104418873786926, 0.3526259958744049, 0.5854148864746094, 1.0695815086364746, -0.0013176706852391362, 0.8946965932846069, 0.00045360883814282715, 0.8920605182647705, -0.4315324127674103, 0.6334112286567688, -0.039996057748794556, 0.2731620967388153, -0.2571060061454773, -0.8789510130882263, -0.4766054153442383, 0.6377468109130859, -0.5058252811431885, 0.12128898501396179, 0.46900665760040283, 0.5551707744598389, -0.008875624276697636, -0.015846431255340576, 0.6033836603164673, -0.31025606393814087, 0.21686941385269165, 0.4840475916862488, 0.37343263626098633, -0.43765461444854736, 0.02463040128350258, -0.5239758491516113, -0.5791406035423279, -0.11322975158691406, -0.9195036888122559, -1.0353245735168457, -0.6237449645996094, -0.36624038219451904, 0.3207881450653076, 0.12584300339221954, 0.30255627632141113, 0.988166868686676, -1.148561716079712, -0.09964670240879059, -0.06533537060022354, 0.1375323385000229, -0.024638937786221504, -0.22700202465057373, 0.3769451677799225, -0.2851656377315521, -0.7591017484664917, 0.3837496340274811, 0.49954473972320557, 0.2337232381105423, -0.03488853946328163, -0.014383388683199883, 0.060582004487514496, -0.22942101955413818, 0.4864499568939209, 0.36525627970695496, -0.7930819392204285, -0.34032246470451355, -0.2911108434200287, 0.037765294313430786, -0.0477573424577713, 1.013839840888977, -0.6668163537979126, 0.35550686717033386, 0.5707131624221802, 0.8356048464775085, 0.2192886471748352, 0.42711153626441956, 0.6094508767127991, -0.8710857033729553, 0.41415876150131226, 0.17022019624710083, 0.1985962837934494, 0.22545386850833893, -0.9794699549674988, 0.5451430082321167, 0.18821190297603607, -0.3695405423641205, -0.6012013554573059, 0.20274323225021362, -0.6217896342277527, -0.5481973886489868, 0.535941481590271, -0.5672392249107361, -0.2535841166973114, -0.06247617304325104, 0.18734298646450043, -0.17831891775131226, -0.4563613533973694, 0.6559293270111084, 0.513922929763794, -0.3758084177970886, -0.27707308530807495, -0.2839682102203369, 0.5592894554138184, 0.21079358458518982, -0.5512497425079346, -0.12498800456523895, 0.24999792873859406, 0.1315566748380661, 0.30137374997138977, 0.2965919077396393, -0.04938889667391777, 0.17747017741203308, -0.4323011636734009, -0.13862408697605133, -0.11213602125644684, -0.7250545620918274, -0.5004894733428955, 0.4992825984954834, -0.4319242835044861, -0.2311578094959259 ]
http://arxiv.org/abs/2407.02834v1
http://arxiv.org/pdf/2407.02834v1
Aspect-Based Sentiment Analysis Techniques: A Comparative Study
2024-07-03T06:21:07
2024-07-03T06:21:07
Dineth Jayakody, Koshila Isuranda, A V A Malkith, Nisansa de Silva, Sachintha Rajith Ponnamperuma, G G N Sandamali, K L K Sudheera
cs.CL
cs.CL
Since the dawn of the digitalisation era, customer feedback and online reviews are unequivocally major sources of insights for businesses. Consequently, conducting comparative analyses of such sources has become the de facto modus operandi of any business that wishes to give itself a competitive edge over its peers and improve customer loyalty. Sentiment analysis is one such method instrumental in gauging public interest, exposing market trends, and analysing competitors. While traditional sentiment analysis focuses on overall sentiment, as the needs advance with time, it has become important to explore public opinions and sentiments on various specific subjects, products and services mentioned in the reviews on a finer-granular level. To this end, Aspect-based Sentiment Analysis (ABSA), supported by advances in Artificial Intelligence (AI) techniques which have contributed to a paradigm shift from simple word-level analysis to tone and context-aware analyses, focuses on identifying specific aspects within the text and determining the sentiment associated with each aspect. In this study, we compare several deep-NN methods for ABSA on two benchmark datasets (Restaurant14 and Laptop-14) and found that FAST LSA obtains the best overall results of 87.6% and 82.6% accuracy but does not pass LSA+DeBERTa which reports 90.33% and 86.21% accuracy respectively.
[ -0.6959993839263916, -0.881438672542572, 0.516467273235321, 0.5156508088111877, -0.3952995240688324, 0.17400942742824554, 0.035660888999700546, -0.6682605147361755, 0.5018981695175171, 0.2867084741592407, -0.49981003999710083, -0.5710155963897705, -0.05859004333615303, 0.3804045617580414, -0.22895146906375885, 0.7607082724571228, 0.008346154354512691, 0.31490039825439453, -0.2610282897949219, -0.5672035217285156, -0.3226289749145508, -0.7193633913993835, -0.7382002472877502, -0.3021402955055237, 0.2552679479122162, 0.25384241342544556, 0.5431140661239624, 0.008339516818523407, 0.7551224231719971, 0.35216349363327026, -0.4427100718021393, 0.29741066694259644, 0.0535045824944973, 0.11312098056077957, -0.26894140243530273, -0.3860672116279602, -0.48732197284698486, -0.18431247770786285, 0.207607239484787, 0.6429079174995422, 0.13856124877929688, 0.10873352736234665, 0.259878545999527, 1.4585069417953491, -0.4754525125026703, 0.1602514386177063, -0.2222813367843628, 0.06838379055261612, 0.011276056058704853, 0.14088012278079987, 0.08012648671865463, -0.3860476016998291, 0.12083756178617477, -0.11837661266326904, 0.011649182066321373, -0.1719115674495697, 0.9046341776847839, 0.12827369570732117, -0.1123710498213768, -0.5722894072532654, -0.885768473148346, 0.8376632928848267, -1.0015655755996704, 0.42078980803489685, 0.1784875988960266, 0.18755389750003815, 0.24767827987670898, -0.34360015392303467, -0.7070213556289673, -0.027457837015390396, 0.003218409139662981, 0.11839645355939865, -0.06941449642181396, -0.030492564663290977, -0.004596997983753681, 0.8827642798423767, -0.13657166063785553, 0.27181145548820496, -0.12916123867034912, 0.08541223406791687, 0.7797496318817139, 0.25995728373527527, -0.0455034077167511, -0.770957350730896, -0.3275974988937378, -0.17037002742290497, -0.6371158957481384, 0.4651729166507721, 0.3661936819553375, 0.21747303009033203, -0.14444325864315033, 0.28471091389656067, -0.7628734707832336, 0.510708749294281, 0.31254440546035767, -0.15023501217365265, 0.45987725257873535, -0.552458643913269, -0.3942832946777344, 0.07695970684289932, 0.9326451420783997, 0.6768060922622681, -0.12508441507816315, 0.2295013964176178, -0.45284926891326904, 0.10603565722703934, 0.1978977918624878, -0.6814530491828918, -0.08467819541692734, 0.5810849666595459, -0.8482906818389893, -0.4443832039833069, 0.13077469170093536, -1.1248904466629028, -0.6854860782623291, -0.4909939467906952, 0.032046202570199966, -0.24874353408813477, -0.1933705359697342, -0.5175857543945312, 0.11154681444168091, 0.7718151211738586, 0.42272862792015076, -0.33086130023002625, 0.11813069134950638, 1.0931118726730347, 1.1906960010528564, -0.10895265638828278, 0.2986299991607666, 0.0892728716135025, -0.5149540901184082, -0.5024633407592773, 0.9442809820175171, -0.49763402342796326, -0.4305593967437744, 0.0023286601062864065, -0.26446059346199036, 0.3022204339504242, -0.6583330035209656, 0.6276221871376038, -0.44961050152778625, -0.01680348627269268, -0.4885806441307068, -0.45427584648132324, -0.8167766332626343, 0.6862253546714783, -0.750942051410675, 1.0241186618804932, -0.004263482987880707, -0.6779440641403198, 0.43454742431640625, -0.6174336075782776, -0.5835026502609253, -0.1762077361345291, -0.30813437700271606, -0.7111409306526184, 0.5351132154464722, 0.9194997549057007, 0.5138536095619202, -0.25421857833862305, -0.08289919793605804, -0.2739372253417969, -0.08090274035930634, 0.5931360125541687, -0.4214960038661957, 0.3496656119823456, 0.3043946921825409, -0.6183277368545532, 0.2444494217634201, -0.42851486802101135, 0.0034557944163680077, -0.15682095289230347, -0.019854053854942322, -0.5264068245887756, -0.06241479143500328, 0.04275388643145561, 0.17868191003799438, 0.23166094720363617, -0.6587701439857483, 0.08085619658231735, -0.7956711053848267, 0.4712975323200226, 0.49801716208457947, 0.38883206248283386, 0.31858330965042114, -0.17310209572315216, 0.5570897459983826, 0.09471862763166428, 0.38998717069625854, -0.08877761662006378, -0.4340226948261261, -0.832317054271698, -0.11750440299510956, 0.3472878634929657, 0.5004703998565674, -0.6741489171981812, 0.5955583453178406, -0.34492242336273193, -0.7945138812065125, -0.8421860933303833, 0.15085025131702423, 0.37386226654052734, 0.30394303798675537, 0.2854602634906769, -0.854367196559906, -0.29131120443344116, -0.9377279877662659, -0.3812171518802643, -0.0505499430000782, 0.2586367428302765, 0.37757545709609985, 0.06220170482993126, 0.030884087085723877, 0.9447634816169739, -0.33394497632980347, -0.6669913530349731, -0.7756572365760803, 0.08374980092048645, 0.3399801552295685, 0.0850357860326767, 0.7505242228507996, -0.8763898611068726, -0.7300641536712646, 0.17804022133350372, -0.6349952816963196, 0.16140471398830414, -0.08862634748220444, 0.36835944652557373, 0.6642228960990906, 0.21661679446697235, -0.23027768731117249, 0.7046669125556946, 0.44204145669937134, -0.14857187867164612, 0.3214387595653534, 0.13020829856395721, 0.49145999550819397, -1.109450340270996, -0.09730633348226547, 0.3425300121307373, -0.17335280776023865, -0.5415953397750854, 0.029360363259911537, -0.08840353786945343, -0.2694084644317627, -0.5903730392456055, 0.28087666630744934, -0.37539777159690857, -0.2925625145435333, -0.6021282076835632, -0.07905988395214081, 0.33219799399375916, 0.5092566609382629, -0.01575888879597187, 0.8186190128326416, 0.5020321607589722, -0.5524364709854126, 0.29701584577560425, -0.024808816611766815, -0.5360851883888245, 0.8292794227600098, -0.6667740345001221, 0.3427927494049072, 0.044359415769577026, 0.10924551635980606, -1.0570746660232544, 0.22920861840248108, 0.42073315382003784, -0.46290844678878784, 0.1323152482509613, 0.2516651451587677, -0.2557883560657501, -0.23254269361495972, -0.684012770652771, 0.08856973052024841, 0.23543374240398407, -0.2897443175315857, 0.7942454814910889, 0.17230744659900665, -0.28299087285995483, -0.5219960808753967, -0.571391224861145, 0.1136857271194458, -0.23710131645202637, -0.30846965312957764, 0.2147332727909088, 0.31853994727134705, -0.7385913729667664, 0.03258642926812172, -0.2666124701499939, -0.20953108370304108, -0.031023811548948288, 0.43890830874443054, -0.16168415546417236, -0.2778940796852112, -0.4764132797718048, 0.011232392862439156, -0.16253261268138885, 0.06195538863539696, 0.3620714545249939, 0.592789888381958, -0.45595237612724304, -0.13001586496829987, -1.1505321264266968, 0.29807618260383606, 0.6625144481658936, -0.3266487121582031, 0.6228694319725037, 0.41140028834342957, -0.0985657274723053, 0.08899106830358505, -0.6158426403999329, -0.1489587128162384, -0.49592235684394836, 0.4605477452278137, -0.16052033007144928, -0.2420089989900589, 0.5212539434432983, -0.1108596920967102, -0.13115641474723816, 0.4842754602432251, 0.3104740381240845, -0.12923423945903778, 0.6172228455543518, 0.6562747359275818, -0.781838059425354, 0.566988468170166, -0.2928756773471832, 0.5488855838775635, -0.9495481252670288, -0.3094960153102875, -0.6515973806381226, -0.5844923853874207, -0.5812907814979553, -0.18920400738716125, 0.1707853078842163, 0.11614427715539932, 0.18395964801311493, 0.1243625283241272, -0.5321572422981262, 0.32783809304237366, 0.3814345598220825, 0.11338216066360474, 0.21970073878765106, -0.08461448550224304, 0.0976162701845169, 0.031737320125103, -0.11593681573867798, -0.47849228978157043, 0.8672656416893005, 0.4078423082828522, 0.5607866644859314, 0.09497841447591782, 0.5978224277496338, 0.5052304863929749, 0.40924543142318726, -1.1788980960845947, 0.6211057901382446, -0.29199495911598206, -0.3823936879634857, -0.30031678080558777, -0.34304267168045044, -0.5309197306632996, 0.1195257231593132, -0.10052546113729477, -0.49543243646621704, 0.48438939452171326, -0.02392381615936756, -0.46193498373031616, 0.4338907301425934, -0.4995606541633606, 0.5649990439414978, -0.4025154113769531, -0.3345353305339813, -0.2768363356590271, -0.1555066853761673, 0.06084389239549637, 0.020080165937542915, 0.3658187985420227, -0.19960422813892365, 0.15501274168491364, 0.7709274291992188, -0.43677181005477905, 0.821719229221344, -0.45161089301109314, -0.09865560382604599, 0.41100308299064636, 0.06488312780857086, 0.33168378472328186, 0.22909918427467346, -0.23304587602615356, 0.6049120426177979, -0.24135179817676544, -0.07663672417402267, -0.8216667771339417, 0.9339205622673035, -0.828284740447998, -0.41603562235832214, -0.4935189187526703, -0.04580482468008995, -0.3086547255516052, -0.011478493921458721, 0.004294545855373144, 0.6207273006439209, -0.3044285476207733, 0.27942174673080444, 0.39086851477622986, -0.1496216356754303, 0.9180737137794495, 0.3949398696422577, -0.23841555416584015, -0.7850190997123718, 0.9116967916488647, 0.09378477185964584, -0.16892419755458832, 0.7325233817100525, 0.19098998606204987, -0.49186936020851135, -0.5677920579910278, -0.4424690008163452, 0.00968585442751646, -0.5590994358062744, -0.39355775713920593, -0.40389516949653625, 0.025334371253848076, -0.38932445645332336, -0.14802676439285278, -0.7025436758995056, -0.3314039409160614, 0.004396836739033461, -0.1778326779603958, 0.3549036681652069, 0.8645983934402466, 0.1448805183172226, 0.36081787943840027, -0.6718828082084656, 0.23375482857227325, 0.025287345051765442, 0.22373266518115997, 0.3200753331184387, -0.01747853122651577, -0.05450211092829704, -0.2325037121772766, -0.6088635325431824, -1.0099129676818848, 0.5666513442993164, 0.05615825206041336, 0.2835898995399475, 0.8137653470039368, -0.06619727611541748, 0.5218008756637573, 0.1742762327194214, 1.0991005897521973, 0.09359224885702133, -1.1427334547042847, 0.4822303056716919, 0.15086166560649872, 0.14187286794185638, 0.9288667440414429, 0.5765811204910278, -0.5649749040603638, -0.11545364558696747, -0.40011510252952576, -1.3128266334533691, 0.2834392189979553, 0.1147385984659195, 0.014955108985304832, 0.31374722719192505, 0.6134610176086426, 0.3171082139015198, 0.40725570917129517, -0.5710080862045288, -0.3099677264690399, -0.26352617144584656, -0.23358577489852905, -0.06769610941410065, -0.21646535396575928, 0.3701903820037842, -0.36459603905677795, 0.5940052270889282, -0.01761740632355213, 0.27741560339927673, 0.4665740430355072, 0.10880430787801743, 0.2142336219549179, 0.5974023938179016, 0.3531074523925781, 1.0154434442520142, -0.1592387706041336, -0.2065880447626114, 0.13567933440208435, -0.42312687635421753, 0.022200902923941612, -0.2029067873954773, -0.3461868464946747, 0.0651918351650238, 0.3272097408771515, 0.6573294401168823, -0.12977536022663116, -0.21824051439762115, 0.5184302926063538, -0.02196643315255642, 0.09146282821893692, -0.5015382170677185, -0.26142051815986633, -0.17253351211547852, 0.09488920867443085, 0.3347325921058655, -0.09805668145418167, 0.42213505506515503, -0.6936269402503967, 0.0579795315861702, 0.40358465909957886, -0.9845282435417175, -0.40003353357315063, 0.043221473693847656, 0.6092710494995117, -0.3774469494819641, 0.6779674291610718, -0.14064562320709229, -0.4815622568130493, 0.6388850808143616, -0.047419849783182144, 1.2130179405212402, -0.21617189049720764, 0.20593534409999847, 0.08074122667312622, 0.21924541890621185, 0.25869476795196533, 0.510409414768219, 0.058250874280929565, -0.49142563343048096, -0.512285053730011, -0.8191715478897095, -0.6792510747909546, 0.30844375491142273, -0.9129162430763245, -0.1340080201625824, -0.7829289436340332, -0.24093453586101532, 0.04780106619000435, 0.4205564260482788, -0.6027379631996155, 0.4679035246372223, -0.024067115038633347, 0.7322692275047302, -0.7652950286865234, 0.48370715975761414, 0.9514132142066956, -0.5035940408706665, -0.6699382066726685, 0.4035395681858063, -0.006520274560898542, -0.37539416551589966, 0.3546145260334015, 0.5211471915245056, -0.16369812190532684, -0.613492488861084, -0.25756874680519104, -0.44490352272987366, 0.7965882420539856, -0.5126652717590332, -0.8139088153839111, 0.4271997809410095, 0.23559126257896423, 0.6238516569137573, -0.28542807698249817, 0.2526469826698303, 0.680825412273407, 0.3692611753940582, -0.25117895007133484, -0.8234816789627075, -0.007137723732739687, -0.07309842854738235, -0.057477690279483795, 0.3474287688732147, -0.9437229037284851, 0.7227419018745422, 0.33677634596824646, 0.19384324550628662, -0.0770866721868515, 1.0410112142562866, -0.2186771184206009, 0.8531323075294495, 0.5463333129882812, 0.5252125263214111, 0.48813968896865845, -0.013818703591823578, 0.894133985042572, -0.3946272134780884, 0.2567911148071289, 0.8345004916191101, -0.4115199148654938, 1.1359199285507202, 0.486404687166214, -0.21625065803527832, 0.8346297144889832, 0.5865212082862854, 0.1986173391342163, 0.7523124814033508, -0.1686786711215973, 0.07522653788328171, 0.07091056555509567, -0.13537023961544037, -0.41527223587036133, 0.584579586982727, 0.43270444869995117, -0.3034895658493042, -0.05771506577730179, -0.009973151609301567, 0.011897368356585503, 0.24579842388629913, -0.8376303315162659, 1.1752232313156128, 0.32934167981147766, -0.5353409647941589, -0.054949041455984116, 0.33662012219429016, 0.8811064958572388, -0.4258849620819092, 0.16951002180576324, -0.6536152362823486, 0.45534229278564453, -0.35033735632896423, -0.9664198756217957, 0.6689313650131226, -0.01868445612490177, -0.10708934813737869, 0.02441626973450184, 0.7256832718849182, 0.39071279764175415, -0.5643571019172668, 0.040009453892707825, 0.5524699687957764, -0.12785056233406067, -0.5558879375457764, -0.7657030820846558, 0.2136717438697815, 0.011133717373013496, -0.17775563895702362, 0.16744469106197357, 0.34549546241760254, -0.013428807258605957, 0.33424100279808044, 0.21326468884944916, -0.06807811558246613, -0.5422036647796631, -0.012302843853831291, 0.7814462184906006, -1.0779858827590942, -0.9609536528587341, -0.9443555474281311, 0.08214228600263596, -0.4030333161354065, -0.431990385055542, 0.9819455742835999, 0.6085355281829834, 0.7773224711418152, 0.12844905257225037, 0.6735759973526001, -0.01184713002294302, 0.530299723148346, -0.6030913591384888, 0.7476620078086853, -0.37801891565322876, 0.3160559833049774, -0.531832754611969, -1.1098735332489014, -0.02736002951860428, 0.5710636377334595, -0.6272368431091309, 0.0755259320139885, 0.7001008987426758, 0.6486858129501343, 0.1935245543718338, 0.48915261030197144, -0.15296310186386108, -0.08514773845672607, 0.4135235548019409, 0.04814620316028595, 0.961946427822113, -0.17212583124637604, 0.15320245921611786, -0.6280795931816101, -0.17037463188171387, -0.39501622319221497, -0.8169052600860596, -0.7642384767532349, -0.26346278190612793, -0.4260168671607971, -0.22643373906612396, -0.083420030772686, 0.8388446569442749, 0.5741462707519531, -1.0303930044174194, -0.1811639666557312, 0.07443458586931229, 0.07080017030239105, -0.8745850920677185, -0.3656514585018158, 0.6163492202758789, -0.24173124134540558, -0.5283079147338867, 0.3436833322048187, 0.4073045253753662, -0.17604511976242065, -0.639482319355011, 0.2323574423789978, 0.2694871127605438, 0.37929168343544006, 0.579440712928772, 0.17921705543994904, -0.6004745960235596, -0.055617909878492355, -0.1784147024154663, 0.18468540906906128, 0.38272783160209656, 0.9992445707321167, -0.6963409185409546, 0.1210818663239479, 0.638292670249939, 0.6220784783363342, 0.216077983379364, 0.31578806042671204, 0.20042204856872559, -0.6933726668357849, 0.11076119542121887, 0.23977644741535187, 0.1301102340221405, 0.7146961688995361, -0.5198955535888672, 0.17741219699382782, 0.04213320463895798, -0.4231344759464264, -0.4102644622325897, 0.14238575100898743, -1.0129395723342896, -0.49116119742393494, 1.0440884828567505, -0.12974803149700165, -0.6717779040336609, -0.1449958235025406, -0.16591911017894745, -0.10791386663913727, -0.77980637550354, 1.0223122835159302, 0.3201703131198883, -0.6145014762878418, 0.2794787883758545, -0.18320469558238983, 0.529863178730011, 0.44444525241851807, -0.9950302243232727, -0.11894796043634415, 0.3188976049423218, 0.11497378349304199, 0.3352617025375366, 0.628369152545929, -0.021418185904622078, -0.008253723382949829, -0.3506317138671875, -0.13502714037895203, -0.07699127495288849, -0.5510029196739197, -0.631187379360199, 0.6089819669723511, 0.1549995094537735, -0.3979305922985077 ]
http://arxiv.org/abs/2407.02833v1
http://arxiv.org/pdf/2407.02833v1
LANE: Logic Alignment of Non-tuning Large Language Models and Online Recommendation Systems for Explainable Reason Generation
2024-07-03T06:20:31
2024-07-03T06:20:31
Hongke Zhao, Songming Zheng, Likang Wu, Bowen Yu, Jing Wang
cs.IR
cs.IR, cs.CL, cs.LG
The explainability of recommendation systems is crucial for enhancing user trust and satisfaction. Leveraging large language models (LLMs) offers new opportunities for comprehensive recommendation logic generation. However, in existing related studies, fine-tuning LLM models for recommendation tasks incurs high computational costs and alignment issues with existing systems, limiting the application potential of proven proprietary/closed-source LLM models, such as GPT-4. In this work, our proposed effective strategy LANE aligns LLMs with online recommendation systems without additional LLMs tuning, reducing costs and improving explainability. This innovative approach addresses key challenges in integrating language models with recommendation systems while fully utilizing the capabilities of powerful proprietary models. Specifically, our strategy operates through several key components: semantic embedding, user multi-preference extraction using zero-shot prompting, semantic alignment, and explainable recommendation generation using Chain of Thought (CoT) prompting. By embedding item titles instead of IDs and utilizing multi-head attention mechanisms, our approach aligns the semantic features of user preferences with those of candidate items, ensuring coherent and user-aligned recommendations. Sufficient experimental results including performance comparison, questionnaire voting, and visualization cases prove that our method can not only ensure recommendation performance, but also provide easy-to-understand and reasonable recommendation logic.
[ -0.37746432423591614, -0.6599426865577698, 1.2243019342422485, -0.1640072762966156, -0.3047904968261719, -0.11415576189756393, -0.24932575225830078, -0.21096327900886536, 0.15227758884429932, 0.6379560828208923, -0.9312215447425842, -0.5365144610404968, -0.19986844062805176, -0.1347050964832306, -0.12222040444612503, 1.2440309524536133, -0.17696839570999146, -0.024562936276197433, -0.32178354263305664, -0.2827511727809906, -0.8769258260726929, -0.061548274010419846, -0.4545126259326935, -0.3445080816745758, 0.5605816841125488, 0.37930622696876526, 0.6105122566223145, 0.6748484969139099, 0.4891180694103241, 0.25877898931503296, 0.2610950469970703, 0.5534233450889587, -0.3819468915462494, 0.2142852246761322, -0.5507474541664124, -0.06027102470397949, -0.756125271320343, -0.24664509296417236, 0.21707987785339355, 0.4032703936100006, -0.33396637439727783, 0.08682881295681, -0.026574425399303436, 0.6929994225502014, -0.6477497220039368, -0.1574208289384842, -0.714373767375946, -0.13854637742042542, -0.13052621483802795, -0.31231194734573364, -0.3906964361667633, -0.6180508136749268, 0.3842485547065735, -0.9627741575241089, -0.09488193690776825, 0.46942946314811707, 0.7550541162490845, 0.14927516877651215, -0.37452760338783264, -0.3859662413597107, -0.8272166848182678, 0.8134412169456482, -0.820736825466156, 0.3436729311943054, -0.06421736627817154, 0.5061756372451782, -0.11285114288330078, -0.3637646734714508, -0.677804708480835, 0.11863507330417633, 0.18015342950820923, 0.16451936960220337, -0.17759297788143158, 0.04735647514462471, 0.153625026345253, 0.14440780878067017, -0.7386780381202698, -0.06526261568069458, 0.09453007578849792, -0.08995868265628815, 0.40573012828826904, 0.1110592931509018, 0.2473030537366867, 0.3457404375076294, -0.5865355134010315, 0.2832302749156952, -0.8177899718284607, -0.010918271727859974, 0.5009194016456604, 0.6122870445251465, 0.0023068375885486603, 0.6714433431625366, -0.24845513701438904, 0.9379095435142517, 0.6379019618034363, -0.24450761079788208, 0.14872348308563232, -0.49324363470077515, -0.22861240804195404, 0.3591717779636383, 0.7110400199890137, 0.7365031242370605, 0.4373866021633148, -0.29068225622177124, -0.0882256031036377, 0.06578182429075241, 0.22281336784362793, -0.6225500702857971, 0.07109907269477844, 0.2689685821533203, -0.24828845262527466, -0.370339572429657, 0.0324280746281147, -0.6362785696983337, -0.6754158139228821, -0.43385395407676697, 0.649074375629425, -0.2986532151699066, -0.20409739017486572, 0.2154022604227066, -0.03975626453757286, 0.22846198081970215, 0.36573636531829834, -0.9535090327262878, 0.2411700189113617, 0.5730976462364197, 0.8025019764900208, -0.21588407456874847, -0.054680172353982925, -0.6855995059013367, 0.5910739302635193, -0.2841743230819702, 1.008756399154663, -0.5080941915512085, 0.03197378292679787, 0.09550213068723679, 0.05271098017692566, 0.11392178386449814, -0.28742581605911255, 0.4188651144504547, -0.5608714818954468, 0.2877258062362671, -0.3804006278514862, -0.8191683292388916, -0.2414730042219162, 0.33778440952301025, -0.3310690224170685, 0.45852816104888916, -0.03571945056319237, -0.5697497725486755, 0.4542990028858185, -0.7347358465194702, -0.25897854566574097, 0.12549933791160583, -0.09887492656707764, -0.2528803050518036, -0.09343995153903961, 0.5325523614883423, 0.31820112466812134, -0.35018008947372437, 0.48329174518585205, -0.6953723430633545, -0.3317486047744751, 0.17448721826076508, -0.08470914512872696, 0.5160176753997803, 0.1262306571006775, -0.4624558985233307, 0.6894898414611816, -0.2797294557094574, 0.20271138846874237, 0.0484929196536541, 0.07391554117202759, -0.13896088302135468, 0.054963529109954834, -0.13718144595623016, 0.21860027313232422, 0.5300520062446594, -0.5143877863883972, 0.1247524619102478, -0.6961537599563599, 0.48308414220809937, 0.9831320643424988, -0.1700698733329773, 0.5663068294525146, -0.451872318983078, 0.42246344685554504, 0.09471402317285538, 0.06845612078905106, -0.0951300710439682, -0.3687801659107208, -0.6378663778305054, -0.034390803426504135, 0.11117933690547943, 0.5040180087089539, -0.48756110668182373, 0.5823997855186462, -0.21378950774669647, -0.13835716247558594, -0.5783137679100037, 0.4000016748905182, 0.2438448816537857, 0.6477031707763672, 0.44088637828826904, 0.001973643433302641, -0.43238911032676697, -0.9505319595336914, -0.4491812586784363, -0.0004713526868727058, 0.058045901358127594, 0.4895939230918884, -0.02993948385119438, -0.2085215449333191, 1.1089458465576172, -0.4797920286655426, -0.27819666266441345, -0.5055395364761353, -0.3057922124862671, 0.3247964084148407, 0.018015993759036064, 0.10130936652421951, -0.317436546087265, -0.41048842668533325, 0.08059095591306686, -0.5557250380516052, -0.2905554175376892, -0.030415302142500877, -0.35886693000793457, 0.1282484382390976, 0.24142596125602722, -0.5070880651473999, 0.03374108299612999, 0.2886105477809906, -0.5349395871162415, 0.17081469297409058, -0.3849829435348511, -0.16040757298469543, -1.1131211519241333, -0.18954205513000488, 0.18799938261508942, -0.47891509532928467, -0.40094906091690063, -0.0365849994122982, 0.0103297745808959, -0.028304196894168854, -0.2718576192855835, 0.5042705535888672, -0.2456548511981964, 0.09251720458269119, -0.4296795129776001, 0.7769060730934143, 0.19822750985622406, 0.4853018522262573, -0.15866684913635254, 0.2979862093925476, 0.33485257625579834, -0.44949495792388916, 0.5133775472640991, 0.15083613991737366, -0.28426769375801086, 0.8464497327804565, -0.6188663840293884, 0.12248289585113525, -0.06914941221475601, 0.35721439123153687, -0.8822816610336304, 0.1289755254983902, 0.31269773840904236, 0.08322404325008392, 0.04936876520514488, -0.15104782581329346, -0.1532718390226364, 0.03917741775512695, -0.34663286805152893, 0.37486693263053894, 0.43168675899505615, -0.6584212779998779, 0.6781003475189209, 0.36970385909080505, 0.01719466783106327, -0.35042357444763184, -0.1573059856891632, -0.07519390434026718, -0.6089044809341431, -0.7829685807228088, 0.5675520300865173, -0.28456300497055054, -0.3608151972293854, 0.1031598448753357, -0.11092585325241089, 0.30077022314071655, -0.06854532659053802, 0.26640138030052185, 0.6146924495697021, -0.42819517850875854, 0.19322316348552704, -0.10848800092935562, -0.21828004717826843, -0.20035262405872345, -0.9321956634521484, 0.35560283064842224, -0.3101853132247925, -0.2665594816207886, -0.4776376187801361, 0.2826164662837982, 0.5561831593513489, -0.14385731518268585, 0.5666217803955078, 0.644538164138794, -0.05320941284298897, -0.3673036992549896, -0.6184706091880798, -0.1532011181116104, -0.4447755217552185, -0.005873942747712135, -0.23234277963638306, -1.032362699508667, -0.0030915855895727873, -0.16425104439258575, -0.0056336019188165665, 0.3629447817802429, 0.6760905981063843, -0.16707569360733032, 1.211575984954834, 0.6109281182289124, 0.007491795811802149, 0.1692553460597992, 0.3062770962715149, 0.8921399712562561, -0.8640943169593811, -0.10668320953845978, -0.026394542306661606, -0.3277934789657593, -0.6249412298202515, -0.14101290702819824, 0.19609878957271576, 0.0832185372710228, -0.42981991171836853, 0.2183474451303482, -0.5184214115142822, 0.5320257544517517, 0.4125005304813385, 0.05943232402205467, 0.31399035453796387, -0.035870350897312164, -0.36103886365890503, 0.14320242404937744, -0.5191980600357056, -0.441607266664505, 1.0627703666687012, 0.22622054815292358, 0.7563527822494507, 0.42593786120414734, 0.36502403020858765, 0.22372043132781982, -0.20318572223186493, -0.8684244155883789, 0.4093290865421295, -0.09626355767250061, -0.3870726227760315, -0.33739742636680603, -0.20913924276828766, -0.700857400894165, -0.013850094750523567, -0.4780023396015167, -0.9211586713790894, -0.137464702129364, 0.3284129202365875, -0.7305392026901245, 0.2283160537481308, -0.5723286271095276, 1.0285650491714478, -0.49292558431625366, -0.5752794146537781, -0.22487159073352814, -0.425737202167511, 0.3025011420249939, -0.028642624616622925, 0.32762131094932556, -0.3089008629322052, 0.10568935424089432, 0.45308607816696167, -0.5680831074714661, 0.44009169936180115, -0.15844304859638214, -0.08818238973617554, 0.025951942428946495, 0.05536087974905968, 0.8014594316482544, -0.23102542757987976, 0.19205085933208466, -0.047488242387771606, -0.06927940249443054, -0.05393650010228157, -0.7974084615707397, 1.118033528327942, -0.5874471068382263, -0.857526957988739, -0.1694556176662445, -0.6775102615356445, -0.48587748408317566, 0.1964496672153473, -0.05184195190668106, 0.4281810522079468, 0.18622435629367828, -0.012998435646295547, 0.6529622673988342, -0.24905826151371002, 0.15986290574073792, 0.48621445894241333, -0.4268430769443512, -0.43619900941848755, 1.2987359762191772, -0.11915437132120132, 0.1855717897415161, 0.31838124990463257, 0.43548962473869324, -0.5801756978034973, -0.4403855800628662, -0.6178076863288879, 0.3217410445213318, -0.5566892027854919, 0.06384406983852386, -0.5032497048377991, 0.0585300475358963, -0.5391280651092529, -0.37841928005218506, -0.07286079972982407, -0.41793984174728394, 0.13701917231082916, -0.17873990535736084, 0.4487077593803406, 0.9180689454078674, 0.25007742643356323, 0.2788601815700531, -0.4606882333755493, 0.21891668438911438, 0.22969597578048706, 0.5259096026420593, -0.049455683678388596, -0.40770915150642395, -0.31384485960006714, -0.2001924216747284, -0.5398898124694824, -0.8294350504875183, 0.21981105208396912, -0.04917808622121811, 0.5689646601676941, 0.8982707858085632, 0.15263113379478455, 0.8115779757499695, -0.5203459858894348, 0.6117053627967834, 0.27874213457107544, -0.9948171973228455, 0.5858927965164185, -0.6209820508956909, 0.3226991891860962, 0.49889177083969116, 0.2455900013446808, -0.2685103714466095, -0.22658716142177582, -0.45078474283218384, -1.0437405109405518, 0.5982513427734375, 0.09117391705513, -0.3221147358417511, 0.22792543470859528, 0.1191510334610939, 0.16054467856884003, 0.2581978440284729, -0.6584823131561279, -0.12437941879034042, -0.14335867762565613, -0.5811188817024231, -0.1116405799984932, -0.12650735676288605, -0.22438913583755493, 0.0058866641484200954, 0.8641596436500549, -0.15063594281673431, -0.11063798516988754, -0.07039792090654373, 0.013348990119993687, -0.16472026705741882, 0.4225931763648987, 0.6377986669540405, 0.783417284488678, -0.35575225949287415, 0.038171470165252686, 0.11036692559719086, 0.1715577244758606, 0.10221454501152039, -0.18829575181007385, -0.1590266078710556, -0.33552059531211853, 0.03978212550282478, 0.9059078097343445, 0.12612378597259521, -0.5799495577812195, 0.5329900979995728, -0.057134851813316345, -0.1865687519311905, -0.3980454206466675, 0.15084929764270782, 0.3465273082256317, 0.2737227976322174, -0.21958085894584656, 0.013073939830064774, 0.0984339565038681, -0.4793468117713928, -0.13343355059623718, 0.7183696627616882, -0.6041204333305359, -0.03454863280057907, 0.458051860332489, 0.3809300661087036, -0.1430901736021042, 0.48295873403549194, 0.04278125613927841, -0.18558526039123535, 0.12673471868038177, 0.710048496723175, 0.9437252879142761, 0.24943089485168457, 0.2193780243396759, 0.3046879172325134, 0.0809989720582962, -0.0555674247443676, 0.027725115418434143, -0.2100241333246231, -1.011238932609558, -0.2288142442703247, -0.5535851716995239, -0.39852017164230347, 0.02240486443042755, -0.4797096252441406, 0.4579622447490692, -0.543088436126709, -0.1240658313035965, -0.008347634226083755, -0.2747907042503357, -0.4629470109939575, 0.028610941022634506, 0.17370790243148804, 0.48146843910217285, -0.7303736805915833, 0.6626749634742737, 0.4585048258304596, -0.31171268224716187, -1.0097594261169434, 0.024248186498880386, 0.29121044278144836, -0.6770876049995422, 0.35117489099502563, 0.25513067841529846, -0.5486827492713928, 0.05395908281207085, -0.15134787559509277, -0.7886337637901306, 1.1945616006851196, 0.32870036363601685, -0.7057663202285767, 0.02154609002172947, -0.14634104073047638, 0.21954216063022614, -0.7685909867286682, 0.47275131940841675, 0.30183929204940796, 0.7071839570999146, 0.2787863612174988, -0.6226886510848999, 0.39968371391296387, -0.021538035944104195, -0.07556101679801941, 0.3738642930984497, -0.39306846261024475, 0.4834677278995514, -0.416124552488327, -0.18740791082382202, -0.033923279494047165, 0.18282091617584229, 0.5874273777008057, 0.2694587707519531, 0.6352953314781189, 0.8026052117347717, 0.828887939453125, -0.02026674710214138, 0.9657752513885498, -0.3956651985645294, -0.01704452745616436, 1.3038967847824097, -0.6978200674057007, 0.6686720848083496, 0.5754334926605225, 0.1098058894276619, 0.9528736472129822, 0.5919317007064819, -0.08305402845144272, 0.6473056674003601, 0.16010281443595886, -0.173143208026886, -0.6626226902008057, -0.32372549176216125, -0.24969439208507538, 0.181838259100914, 0.10745897144079208, -0.3036956489086151, -0.25245770812034607, -0.27917686104774475, -0.16537106037139893, -0.08251184225082397, -0.1916482150554657, 1.0067704916000366, -0.05989206209778786, -0.885331392288208, 0.17869246006011963, 0.07185550034046173, 0.5073038935661316, -0.6779128909111023, -0.050466906279325485, 0.15648074448108673, 0.4361075460910797, -0.3472418785095215, -0.5732970833778381, -0.029674233868718147, 0.06416213512420654, -0.37761595845222473, -0.3269266188144684, 0.5242704153060913, -0.41024985909461975, -0.5511183738708496, 0.32934096455574036, 0.5155322551727295, 0.13956283032894135, 0.07200406491756439, -0.49609649181365967, -0.26314878463745117, 0.11552325636148453, 0.12475066632032394, 0.3995356857776642, 0.4124523103237152, -0.1314990371465683, 0.698462188243866, 0.82774418592453, 0.18985611200332642, -0.34629446268081665, 0.28960075974464417, 0.5048573613166809, -0.7654708027839661, -0.5288758277893066, -1.217034101486206, 0.5181697607040405, -0.02296377904713154, -0.11902125179767609, 0.952204167842865, 0.3156810998916626, 0.5879632234573364, 0.160001739859581, 0.7575106024742126, 0.3181835412979126, 0.40587928891181946, -0.5701298117637634, 0.47963663935661316, -0.5941810011863708, 0.5543568730354309, -0.314435750246048, -0.9557112455368042, -0.021930890157818794, 0.47978225350379944, -0.3682594299316406, 0.15595443546772003, 0.8619269132614136, 0.8362751603126526, 0.06856480985879898, -0.0492728017270565, 0.33098024129867554, 0.14375117421150208, 0.2875758707523346, 0.7658520340919495, 0.6718302369117737, 0.05265643820166588, 0.5821318626403809, 0.24363209307193756, -0.2259867936372757, -0.21491074562072754, -1.1421793699264526, -0.8484101295471191, -0.26181989908218384, -0.3021567165851593, -0.36920657753944397, 0.15348686277866364, 1.0129101276397705, 0.602970540523529, -0.908727765083313, -0.2879517376422882, -0.17411795258522034, 0.32335329055786133, -0.2403630018234253, -0.24048268795013428, 0.23602671921253204, -0.2901650369167328, -0.338944673538208, 0.573657214641571, 0.6392843127250671, -0.23370255529880524, -0.3173707127571106, -0.2561437785625458, -0.09602193534374237, 0.25231876969337463, 0.36826831102371216, -0.13804619014263153, -1.2100322246551514, -0.20795689523220062, -0.007290055975317955, 0.08953236043453217, -0.08021322637796402, 0.7757633328437805, -0.7489107251167297, 0.6378154158592224, 0.406627357006073, 0.4687266945838928, 0.36995652318000793, 0.19444648921489716, 1.0339761972427368, -0.14297343790531158, -0.5187168121337891, -0.19430169463157654, 0.4451408386230469, 0.3582174479961395, -0.38553813099861145, 0.15779313445091248, -0.009311913512647152, -0.6707086563110352, -0.4953993260860443, 0.3512149155139923, -1.1842169761657715, -0.23098662495613098, 0.9886531829833984, -0.1413244754076004, 0.03862161934375763, -0.22215983271598816, -0.17487648129463196, 0.12099368125200272, -0.6038619875907898, 0.6336641311645508, 0.8316183686256409, -0.31055569648742676, 0.00544774578884244, -0.3983808755874634, 0.38864022493362427, 0.26199042797088623, -0.5249699354171753, 0.06988150626420975, 0.45416781306266785, 0.3993029296398163, 0.007941083051264286, 0.4141120910644531, -0.028314806520938873, 0.05024014785885811, -0.4637581706047058, -0.06751459091901779, -0.2550698220729828, -0.3052595257759094, -0.379367470741272, 0.21126757562160492, 0.16426736116409302, 0.003161319065839052 ]
http://arxiv.org/abs/2407.02820v1
http://arxiv.org/pdf/2407.02820v1
Investigating the Contextualised Word Embedding Dimensions Responsible for Contextual and Temporal Semantic Changes
2024-07-03T05:42:20
2024-07-03T05:42:20
Taichi Aida, Danushka Bollegala
cs.CL
cs.CL
Words change their meaning over time as well as in different contexts. The sense-aware contextualised word embeddings (SCWEs) such as the ones produced by XL-LEXEME by fine-tuning masked langauge models (MLMs) on Word-in-Context (WiC) data attempt to encode such semantic changes of words within the contextualised word embedding (CWE) spaces. Despite the superior performance of SCWEs in contextual/temporal semantic change detection (SCD) benchmarks, it remains unclear as to how the meaning changes are encoded in the embedding space. To study this, we compare pre-trained CWEs and their fine-tuned versions on contextual and temporal semantic change benchmarks under Principal Component Analysis (PCA) and Independent Component Analysis (ICA) transformations. Our experimental results reveal several novel insights such as (a) although there exist a smaller number of axes that are responsible for semantic changes of words in the pre-trained CWE space, this information gets distributed across all dimensions when fine-tuned, and (b) in contrast to prior work studying the geometry of CWEs, we find that PCA to better represent semantic changes than ICA. Source code is available at https://github.com/LivNLP/svp-dims .
[ -0.3917509913444519, -0.47258901596069336, 0.5232602953910828, 0.2052503228187561, -0.38550397753715515, -0.28847387433052063, -0.26525944471359253, -0.50858473777771, 0.1928260624408722, 0.10192593932151794, -0.6797770857810974, -0.5745847821235657, -0.6515791416168213, 0.044876500964164734, -0.08487679064273834, 0.320770800113678, -0.38380640745162964, 0.20498396456241608, -0.09321021288633347, -0.7049538493156433, -0.6873448491096497, -0.5892668962478638, -0.2045377641916275, -0.027478637173771858, 0.4706661105155945, -0.05560800060629845, 0.4237729609012604, 0.6854720711708069, 0.25959330797195435, 0.23685918748378754, -0.28484830260276794, 0.21514685451984406, -0.18953628838062286, 0.04097018018364906, -0.5084956288337708, -0.28205305337905884, -0.21941132843494415, 0.27399513125419617, 0.512227475643158, 0.7543767690658569, 0.006112792994827032, 0.2085542529821396, 0.3083581328392029, 0.4259244501590729, -1.0958389043807983, 0.5540077686309814, -0.9365323185920715, 0.1983059197664261, -0.1447952687740326, -0.46189549565315247, -0.33178478479385376, 0.26400014758110046, 0.051218584179878235, -0.6079553961753845, 0.13625384867191315, -0.06551837921142578, 0.8996533751487732, 0.3574834167957306, -0.4368434548377991, -0.21228979527950287, -0.44297417998313904, 0.8876073956489563, -0.5954235792160034, 0.9244637489318848, -0.01220215018838644, 0.06915293633937836, -0.19917172193527222, -0.5338876843452454, -0.7584463357925415, -0.00810220092535019, -0.11169511079788208, 0.01907564513385296, -0.22118166089057922, -0.1366891711950302, 0.06642984598875046, 0.0066809686832129955, -0.09566082805395126, 0.33785101771354675, 0.030228573828935623, -0.1314377784729004, 0.49584564566612244, 0.10869598388671875, 0.0961153581738472, -0.3349001705646515, -0.5278996229171753, -0.5983375906944275, -0.6795914173126221, 0.16048654913902283, -0.10599290579557419, 0.36724480986595154, -0.15210875868797302, 0.42253369092941284, -0.044259168207645416, 0.5238873958587646, 0.04440911486744881, -0.04714353010058403, 0.3395126163959503, -0.3865053355693817, -0.46886569261550903, 0.19717460870742798, 0.2692822515964508, 0.38964253664016724, -0.03127020224928856, -0.05402464047074318, 0.013580222614109516, 0.494182288646698, -0.000895258563105017, -0.6599098443984985, 0.18996939063072205, -0.007560971658676863, -0.5276327133178711, -0.14769163727760315, 0.13197237253189087, -0.0525575652718544, -0.26458579301834106, -0.844544529914856, 0.4000476598739624, -0.575339674949646, 0.014247068203985691, 0.4380492568016052, -0.2429688423871994, 0.6519141793251038, 0.45453113317489624, -0.5132929086685181, -0.09048327803611755, 0.5370713472366333, 0.3591171205043793, -0.2684253454208374, -0.45739638805389404, -0.15326297283172607, 0.3217102885246277, -0.6586261987686157, 0.63079833984375, -0.5734433531761169, -0.26401400566101074, 0.09967575967311859, 0.3446701169013977, -0.33369457721710205, -0.3770022392272949, 0.13258379697799683, -0.49000096321105957, 0.13758768141269684, -0.6963794231414795, -0.6383247375488281, 0.07661769539117813, 0.1852647364139557, -0.18509063124656677, 0.9784854054450989, 0.06127269193530083, -0.8251653909683228, 1.044952154159546, -0.421781063079834, -0.09016592800617218, -0.018785731866955757, -0.4487549066543579, -0.1251586675643921, 0.6415388584136963, 0.35908353328704834, 0.6565065979957581, 0.20953911542892456, -0.02895265631377697, -0.2683562636375427, -0.206524059176445, 0.46011456847190857, -0.3865291476249695, 0.4648866355419159, 0.048243287950754166, -0.3293174207210541, 0.053170133382081985, -0.8272187113761902, 0.19992391765117645, 0.0821082666516304, -0.15225568413734436, -0.5635280609130859, 0.314075767993927, 0.11031574755907059, 0.44439592957496643, 0.19741691648960114, -0.768169105052948, -0.024810640141367912, -0.018704205751419067, 0.5316047668457031, 0.9120640158653259, 0.044948261231184006, 0.4025537669658661, 0.17571474611759186, 0.11485285311937332, 0.5176725387573242, 0.1484762281179428, -0.21792633831501007, -0.2939726710319519, -0.36526060104370117, -0.17467156052589417, 0.3100421130657196, 0.37518978118896484, -0.4910719692707062, 0.3633959889411926, -0.3830173909664154, -0.13109035789966583, -0.3439295291900635, -0.14964181184768677, -0.03308757394552231, 0.022049209102988243, 0.5860862135887146, -0.23972263932228088, -0.22487898170948029, -0.8447286486625671, -0.5207924842834473, 0.03546007722616196, -0.34214910864830017, 0.377765953540802, 0.3778422176837921, -0.45693808794021606, 1.0174928903579712, -0.5652758479118347, -0.5043390393257141, 0.10358899086713791, -0.06984184682369232, -0.42323940992355347, 0.325530081987381, 0.7905735373497009, -0.5010093450546265, -0.2853713035583496, 0.09466441720724106, -0.5731843709945679, -0.25636547803878784, -0.38757097721099854, 0.003670228412374854, 0.08039252460002899, 0.9811609387397766, -0.42617613077163696, 0.8453224301338196, 0.524568498134613, -0.7051466703414917, 0.41752737760543823, -0.3673425018787384, 0.1551063358783722, -0.8731392621994019, -0.29397615790367126, -0.3123514950275421, -0.07239525765180588, -0.19479896128177643, 0.13126914203166962, 0.4216846525669098, -0.08783036470413208, -0.49385637044906616, 0.4906061589717865, -0.608128547668457, -0.2181256264448166, -0.06150203198194504, 0.5278407335281372, 0.06580692529678345, 0.47200486063957214, -0.1155739352107048, 0.6450254321098328, 0.15136921405792236, -0.5804768204689026, -0.24600887298583984, 0.3040849268436432, -0.3634854853153229, 0.7424706220626831, -0.4368250072002411, 0.002982957987114787, -0.16595731675624847, 0.1482003778219223, -0.6727254986763, 0.22220119833946228, -0.08081089705228806, -0.27558353543281555, 0.4064581096172333, 0.3032899498939514, -0.5803564190864563, 0.005898733623325825, -0.26161471009254456, 0.39239829778671265, -0.04075909033417702, -0.7239269614219666, 0.49968019127845764, 0.2936358153820038, 0.17504480481147766, -0.213945671916008, -0.7782198786735535, 0.1986616998910904, -0.06029535084962845, -0.5449345111846924, 0.9541624784469604, 0.07093236595392227, -0.2574305534362793, 0.23258206248283386, -0.3373199701309204, 0.19766949117183685, -0.05225595086812973, 0.18140500783920288, -0.25331637263298035, -0.11658991873264313, 0.41481637954711914, 0.3111739158630371, -0.1897437572479248, 0.11541242897510529, -0.3365764021873474, 0.4757089912891388, -0.04245837777853012, -0.3929865062236786, -0.5000637173652649, 0.5017723441123962, 0.443560928106308, -0.3764275014400482, 1.079874873161316, 0.7779901027679443, -0.4411102533340454, -0.2947201132774353, -0.3396000862121582, -0.11482644826173782, -0.4444582164287567, 0.2547323703765869, -0.4309711754322052, -1.091479778289795, 0.6259943246841431, -0.10030949115753174, -0.19537438452243805, 0.5562032461166382, 0.24698099493980408, -0.2336249202489853, 1.0087770223617554, 0.8489129543304443, 0.1745741367340088, 0.6369925737380981, -0.1158653050661087, 0.26326942443847656, -0.9890784025192261, -0.3455113470554352, -0.402092844247818, -0.344597727060318, -0.9348022937774658, -0.7829053997993469, 0.40859293937683105, 0.2955484688282013, -0.11954496800899506, 0.2245713770389557, -0.27757614850997925, 0.12440667301416397, 0.13775470852851868, -0.0915142074227333, -0.18171802163124084, 0.0576447919011116, -0.3224404454231262, -0.41587400436401367, -0.6794971823692322, -0.2070571482181549, 0.6954763531684875, 0.2626873850822449, 0.4705179035663605, -0.08135513961315155, 0.3265863358974457, 0.28561824560165405, -0.10455922782421112, -0.609732985496521, 0.6220535039901733, -0.2837727665901184, 0.09872270375490189, -0.13231807947158813, -0.02697189711034298, -1.0106422901153564, 0.5229566693305969, -0.4160250127315521, -0.7038128972053528, 0.6680303812026978, -0.26369914412498474, 0.21344245970249176, 0.5191202163696289, -0.47429120540618896, 0.7380395531654358, 0.1898723840713501, -0.1973056048154831, -0.64593905210495, -0.3196290135383606, -0.5092793107032776, 0.16167256236076355, -0.05437696352601051, -0.092765212059021, -0.10361838340759277, 0.584173858165741, -0.610755205154419, 0.710491955280304, -0.31289419531822205, -0.31009066104888916, 0.11572165042161942, 0.08943122625350952, 0.4520818889141083, -0.00369148887693882, 0.32428520917892456, 0.4338272213935852, 0.18666686117649078, -0.6688308715820312, -0.5235750079154968, 0.8541675806045532, -0.7160471081733704, -0.5748926401138306, -0.46731990575790405, -0.4066607356071472, -0.35915541648864746, -0.11561739444732666, 0.15423806011676788, 0.5704439282417297, -0.24264273047447205, 0.4436437785625458, 0.6236295700073242, -0.6230901479721069, 0.4842633306980133, 0.5462766289710999, 0.045744895935058594, 0.16058996319770813, 0.32655206322669983, 0.3184607923030853, 0.10256058722734451, 0.5726743936538696, 0.21421754360198975, -0.16549627482891083, -0.3316168189048767, -0.27284154295921326, 0.15375037491321564, -0.7676571011543274, -0.04002679884433746, -0.47275248169898987, -0.10920847952365875, -0.39566755294799805, -0.5460166335105896, -0.3173052668571472, -0.20359152555465698, -0.243887796998024, -0.13094687461853027, 0.3242734968662262, 0.6086387634277344, -0.25753650069236755, 0.14404769241809845, -0.4889970123767853, -0.04718700051307678, 0.3559064567089081, 0.2529858946800232, -0.2592228949069977, -0.27140405774116516, -0.27343642711639404, 0.08888214826583862, 0.009164306335151196, -1.0250251293182373, 0.18178264796733856, 0.17535023391246796, 0.5511407852172852, 0.5107973217964172, -0.21439918875694275, 0.7042047381401062, -0.423025906085968, 1.0902587175369263, 0.04362496733665466, -1.0446492433547974, 0.5344217419624329, -0.24035553634166718, 0.8728296160697937, 0.2203923761844635, -0.14233887195587158, -0.6231459975242615, -0.10134284198284149, -0.35669973492622375, -0.6194750070571899, 0.3139052987098694, -0.03938908129930496, 0.23951898515224457, -0.2840834856033325, 0.3653596341609955, 0.11696293205022812, 0.19016222655773163, -0.11291520297527313, -0.13737034797668457, -0.18837574124336243, 0.22487357258796692, -0.11593668907880783, -0.5299301743507385, 0.1767120361328125, -0.3345915675163269, 0.2773621082305908, -0.19960325956344604, 0.5016587376594543, 0.2144717127084732, -0.27321329712867737, 0.2690163552761078, 0.5258881449699402, 0.4519919455051422, 0.7911946177482605, -0.08005224913358688, 0.09723169356584549, 0.5410732626914978, -0.4744740128517151, -0.2693703770637512, -0.08659832179546356, 0.04747847467660904, 0.16851906478405, 0.6289206147193909, 1.0948162078857422, 0.5466414093971252, -0.25049889087677, 0.7101491689682007, -0.06313078105449677, -0.08126238733530045, -0.3080712854862213, -0.18394923210144043, -0.16396574676036835, 0.029808180406689644, 0.2508499026298523, 0.2463533580303192, -0.1920849084854126, -0.4898676872253418, -0.05004262551665306, 0.2611567974090576, -0.6456879377365112, -0.5488525629043579, 0.567334771156311, -0.24222737550735474, 0.217877596616745, 0.34131404757499695, -0.18512079119682312, -0.4492429196834564, 0.18084536492824554, 0.4708966016769409, 0.8248622417449951, -0.3833046853542328, 0.26903003454208374, 0.07730071246623993, 0.25257638096809387, 0.5837955474853516, 0.37810736894607544, -0.437692791223526, -1.077053427696228, -0.3161318898200989, -0.6446103453636169, 0.13443523645401, 0.16327473521232605, -0.987481415271759, 0.09122779220342636, -0.3670945465564728, -0.031537558883428574, -0.07006709277629852, -0.20296059548854828, -1.2994879484176636, 0.3414273262023926, 0.03054054081439972, 0.9592257142066956, -0.806863009929657, 0.7291093468666077, 0.6932641863822937, 0.13381579518318176, -0.7827440500259399, 0.10911088436841965, -0.08697047084569931, -0.5847612619400024, 0.656772255897522, 0.10410364717245102, -0.4424333870410919, -0.29048609733581543, -0.39954155683517456, -0.7206128239631653, 1.294602632522583, 0.11550156027078629, -0.45738211274147034, 0.2667886018753052, 0.4491543769836426, 0.728524386882782, -0.42061930894851685, -0.36425620317459106, 0.49931448698043823, 0.28508052229881287, -0.401010125875473, -0.6918414831161499, -0.05466635897755623, 0.03573489934206009, 0.5507760047912598, 0.15669770538806915, -0.32942578196525574, 0.802609920501709, 0.09086223691701889, -0.6997302174568176, -0.26453518867492676, 0.6367594003677368, 0.05810670554637909, 0.2065688967704773, 0.5136807560920715, 0.7112593650817871, 0.5024393796920776, -0.17409829795360565, 0.9941709637641907, -0.5127140283584595, 0.15905623137950897, 0.9733485579490662, -0.15382972359657288, 1.1355856657028198, 0.7076969742774963, -0.2532379627227783, 0.7310216426849365, 0.4547899663448334, 0.43014615774154663, 0.6669648885726929, 0.11498396843671799, -0.14598916471004486, -0.3059218227863312, -0.07184022665023804, -0.6201062798500061, 0.8077609539031982, 0.707216739654541, -0.30546215176582336, -0.23403425514698029, 0.36918044090270996, 0.18865615129470825, 0.21068128943443298, -0.3688580095767975, 0.6166603565216064, 0.15660594403743744, -0.06677550077438354, 0.32624948024749756, 0.2865631580352783, 0.5557074546813965, -0.6776243448257446, 0.23403601348400116, -0.16452842950820923, 0.4643195867538452, 0.06676246970891953, -0.6067748069763184, 0.2589688003063202, -0.5245848298072815, -0.23237831890583038, -0.44071125984191895, 0.6874544620513916, -0.22398902475833893, -0.28678396344184875, 0.8234726190567017, 0.4965973496437073, -0.36546236276626587, -0.10636115074157715, -0.7429232001304626, 0.4615972340106964, -0.27510374784469604, -0.18570294976234436, 0.5353844165802002, 0.6313093900680542, -0.38648712635040283, 0.22144554555416107, 0.48731112480163574, 0.12481239438056946, 0.13306698203086853, 0.19556854665279388, 0.7092657089233398, -0.5963028073310852, -0.8701177835464478, -0.3002842962741852, 0.12604081630706787, -0.09349770843982697, -0.5172513723373413, 0.861315131187439, 0.1739349067211151, 1.2378458976745605, -0.21870656311511993, 0.36759141087532043, 0.1197061762213707, 0.11171572655439377, -0.6935495138168335, 0.5447660684585571, -0.6458938717842102, 0.16282561421394348, -0.2112571895122528, -0.8958777189254761, -0.2028016597032547, 0.5188252329826355, -0.238469660282135, -0.18384166061878204, 0.8011764883995056, 0.7651075124740601, -0.0082496153190732, 0.027913570404052734, 0.3538181483745575, 0.41126716136932373, 0.22560642659664154, 0.1369413286447525, 0.5075057744979858, -0.5218893885612488, -0.24749864637851715, -0.04342294856905937, -0.004729159642010927, -0.09501173347234726, -0.9446336627006531, -0.5693321228027344, -1.1283776760101318, -0.5384909510612488, -0.16188114881515503, 0.07661318778991699, 0.692902684211731, 0.5616496205329895, -0.8401424288749695, 0.20854473114013672, -0.008507140912115574, -0.4622941017150879, -0.6274709105491638, -0.23335909843444824, 0.7650415897369385, -0.306293249130249, -0.2989491820335388, 0.7388029098510742, 0.4949164390563965, -0.08232830464839935, -0.361341655254364, 0.18214647471904755, 0.049447499215602875, 0.4498692452907562, 1.1136585474014282, -0.14303839206695557, -0.7914467453956604, -0.997539222240448, -0.10588013380765915, -0.14059312641620636, -0.15776479244232178, 0.9758744239807129, -0.9906436800956726, 0.4117274880409241, 0.6783674359321594, 0.4889465570449829, 0.6029248833656311, -0.41941389441490173, 0.38583746552467346, -0.962555468082428, 0.3733634054660797, -0.39617758989334106, 0.558296799659729, 0.26058661937713623, -0.20313288271427155, 0.28065526485443115, 0.34077566862106323, -0.17522844672203064, -0.5810511112213135, 0.21927183866500854, -0.9967552423477173, -0.6594738364219666, 1.0931917428970337, -0.09507248550653458, -0.21466469764709473, 0.1251874417066574, 0.009638830088078976, 0.08898313343524933, 0.1700638085603714, 0.6470888257026672, 0.60160893201828, -0.010212627239525318, 0.11861107498407364, -0.19240763783454895, 0.5829225778579712, 0.3245452046394348, -0.5121846795082092, -0.10959088057279587, 0.46310070157051086, 0.37785449624061584, 0.04228420928120613, 0.33260002732276917, -0.3998333215713501, 0.07600601017475128, 0.17830780148506165, -0.10627453029155731, -0.0707286149263382, -0.26564013957977295, -0.2650093138217926, 0.16497746109962463, -0.3670642375946045, -0.4048956632614136 ]
http://arxiv.org/abs/2407.02819v1
http://arxiv.org/pdf/2407.02819v1
Efficient Training of Language Models with Compact and Consistent Next Token Distributions
2024-07-03T05:40:41
2024-07-03T05:40:41
Ashutosh Sathe, Sunita Sarawagi
cs.CL
cs.CL, cs.LG
Maximizing the likelihood of the next token is an established, statistically sound objective for pre-training language models. In this paper we show that we can train better models faster by pre-aggregating the corpus with a collapsed $n$-gram distribution. Previous studies have proposed corpus-level $n$-gram statistics as a regularizer; however, the construction and querying of such $n$-grams, if done naively, prove to be costly and significantly impede training speed, thereby limiting their application in modern large language model pre-training. We introduce an alternative compact representation of the next token distribution that, in expectation, aligns with the complete $n$-gram distribution while markedly reducing variance across mini-batches compared to the standard next-token loss. Empirically, we demonstrate that both the $n$-gram regularized model and our approximation yield substantial improvements in model quality and convergence rate compared to existing methods. Furthermore, our approximation facilitates scalability of gains to larger datasets and models compared to the straightforward $n$-gram regularization method.
[ -0.22542604804039001, -0.30836132168769836, 0.4896148145198822, -0.1230330839753151, -0.4980131685733795, -0.0354616679251194, -0.6201845407485962, -0.07114413380622864, 0.3358900845050812, 0.10338595509529114, -0.21407455205917358, -0.6481470465660095, -0.7519502639770508, 0.013236623257398605, -0.7330476641654968, 0.665677011013031, 0.30802077054977417, 0.20438171923160553, 0.06638504564762115, 0.060388050973415375, -0.13575893640518188, -0.7748856544494629, -0.7844436764717102, 0.07602204382419586, 0.597294807434082, 0.11917122453451157, 0.7792099714279175, 0.6704822778701782, 0.6423662304878235, 0.3252201974391937, -0.148224875330925, -0.12803657352924347, -0.616066575050354, -0.22736063599586487, 0.29423388838768005, -0.8527773022651672, -0.3432626724243164, 0.1979101151227951, 1.0663337707519531, 1.2230888605117798, -0.02578919380903244, 0.05829977989196777, -0.11266712844371796, 0.3869286775588989, -0.9186690449714661, 0.12424372881650925, -0.5141541957855225, -0.04521188884973526, -0.48340749740600586, -0.22269393503665924, -0.7133610844612122, -0.4594283401966095, -0.17662537097930908, -0.6446869969367981, 0.34518951177597046, 0.09480387717485428, 0.9410799145698547, 0.024671398103237152, -0.10847961902618408, -0.024008354172110558, -0.5560458898544312, 0.8712962865829468, -0.6971540451049805, 0.7967817783355713, 0.5318594574928284, 0.4477616548538208, -0.01732589304447174, -0.8683969974517822, -0.5616755485534668, -0.4050789475440979, -0.12518884241580963, -0.048590704798698425, -0.0923718586564064, 0.09768974781036377, -0.22571463882923126, 0.3024182617664337, -0.3620210886001587, 0.24806293845176697, -0.08800256997346878, -0.20217537879943848, 0.27065807580947876, 0.03517773002386093, 0.13025102019309998, 0.2720179259777069, -0.008209744468331337, -0.4614247977733612, -0.6252694725990295, -0.3548654615879059, 0.6386926770210266, 0.5057840347290039, 0.007944387383759022, 0.3994161784648895, -0.019914358854293823, 0.8574762344360352, 0.15600888431072235, -0.3224620521068573, 0.37047460675239563, -0.5374086499214172, -0.13068071007728577, -0.33633953332901, 0.5238766670227051, 0.20166845619678497, 0.2506328225135803, -0.27244430780410767, -0.2891713082790375, 0.13388346135616302, 0.013947528786957264, -0.9073285460472107, -0.3878045678138733, -0.06009545177221298, -0.704150378704071, -0.23931118845939636, 0.13419483602046967, -0.4816114008426666, 0.11260955035686493, -0.27293550968170166, 0.18056964874267578, -0.44821643829345703, -0.2725517153739929, 0.2339998334646225, -0.04077257588505745, 0.0670061856508255, 0.1777578443288803, -1.148840069770813, 0.6732484698295593, 0.6167408227920532, 0.8843277096748352, 0.009102610871195793, -0.02846122719347477, -0.7209151387214661, -0.07149919122457504, -0.8210272192955017, 0.8798156380653381, -0.8372723460197449, -0.2795040011405945, 0.05563414469361305, -0.04597577452659607, -0.14546643197536469, -0.5868881940841675, 0.549262523651123, -0.5561802387237549, 0.03171241655945778, -0.11194077879190445, -0.711945652961731, 0.10998605936765671, 0.19894373416900635, -0.43416526913642883, 0.7869347929954529, 0.05283932760357857, -0.8143038153648376, 0.5755706429481506, -0.4373483955860138, -0.23849762976169586, -0.11351221054792404, -0.04180899262428284, -0.17343272268772125, 0.4060688614845276, 0.22080716490745544, 0.5640745759010315, -0.14720001816749573, 0.04921262711286545, -0.5409987568855286, -0.5293729305267334, -0.08301158994436264, -0.6145852208137512, 0.7345211505889893, 0.2645334303379059, 0.10562707483768463, 0.15058428049087524, -0.7305209040641785, -0.03370170667767525, 0.14998532831668854, -0.4178828001022339, -0.5665956735610962, -0.24724751710891724, 0.232598215341568, -0.32043489813804626, 0.24544024467468262, -0.3046847879886627, 0.1997389942407608, -0.48270466923713684, 0.10704898089170456, 0.7352203726768494, -0.36409491300582886, 0.7984937429428101, -0.13232406973838806, 0.5667449235916138, -0.1596914380788803, 0.33856120705604553, -0.1342775672674179, -0.25940632820129395, -0.5650963187217712, -0.5031681656837463, 0.9950875639915466, 0.17175425589084625, -0.3220197260379791, 0.48386019468307495, -0.5303490161895752, -0.4840867221355438, -0.17514894902706146, -0.07132741808891296, 0.4096316993236542, 0.24226640164852142, 0.13825465738773346, -0.48256316781044006, -0.5823587775230408, -0.587313175201416, -0.1205848902463913, -0.33068686723709106, -0.09561271965503693, -0.21387258172035217, 0.21233290433883667, -0.18775177001953125, 0.7629064321517944, -0.48000645637512207, -0.09115391224622726, -0.3326631784439087, 0.07310406118631363, 0.26446297764778137, 0.526459276676178, 0.6566643118858337, -0.8213804960250854, -0.5911208391189575, 0.010634894482791424, -0.18747669458389282, -0.14460164308547974, 0.2448555827140808, -0.18432293832302094, 0.15487024188041687, 0.8132969737052917, -0.3964442312717438, 0.28051525354385376, 0.7353749871253967, -0.1738085299730301, 0.5693087577819824, -0.352100133895874, -0.20641684532165527, -1.055362343788147, -0.0072386073879897594, -0.29993119835853577, -0.3378351628780365, -0.745716392993927, 0.04112006723880768, 0.1357458382844925, 0.03521591052412987, -0.3099418580532074, 0.6652200222015381, -0.5738071203231812, -0.3360045850276947, -0.265554279088974, 0.16262094676494598, -0.10138415545225143, 0.13640105724334717, 0.06406530737876892, 0.8934029340744019, 0.5725396871566772, -0.601507306098938, -0.24368509650230408, 0.38469135761260986, -0.2283509522676468, 0.1301436722278595, -0.6043583154678345, -0.23712898790836334, -0.2997036278247833, 0.43776434659957886, -0.924298107624054, -0.25048717856407166, -0.12079039216041565, -0.5446659922599792, 0.586355984210968, -0.19439196586608887, -0.7000885009765625, -0.1296836882829666, -0.3541310131549835, 0.5495768785476685, 0.9184778332710266, -0.7099435925483704, 0.5141016840934753, 0.48359915614128113, 0.023671545088291168, -0.6305485963821411, -0.7579834461212158, -0.01806444674730301, -0.20353536307811737, -0.4455377459526062, 0.27683672308921814, -0.05131198465824127, -0.2323419451713562, 0.11034905910491943, 0.03607424721121788, -0.12908127903938293, -0.04003424569964409, -0.2998218238353729, 0.011927521787583828, -0.15106810629367828, 0.3322559893131256, -0.21749795973300934, -0.3335320055484772, -0.38958752155303955, -0.6912481188774109, 1.01886785030365, 0.0027625912334769964, -0.25497162342071533, -0.37195873260498047, 0.4249033033847809, 0.23395980894565582, -0.304364413022995, 0.9584497809410095, 0.691760241985321, -0.3524164855480194, 0.3229164183139801, -0.6304512619972229, -0.18643511831760406, -0.4484660029411316, 0.422387033700943, -0.3249567747116089, -0.7371158599853516, 0.5439483523368835, 0.03216678649187088, 0.15209437906742096, 0.4351685643196106, 0.552824854850769, 0.32640597224235535, 1.1002978086471558, 0.9962319135665894, -0.1431911438703537, 0.8608667850494385, -0.29388657212257385, 0.3573547601699829, -0.6980463266372681, -0.020727669820189476, -0.6416255831718445, 0.18238167464733124, -0.3201029598712921, -0.6103466749191284, 0.06849321722984314, 0.3545694053173065, -0.04228638857603073, 0.3082233667373657, -0.12765410542488098, 0.4297901391983032, 0.6117131114006042, -0.17970936000347137, 0.05349235609173775, 0.0030813177581876516, -0.2441904991865158, 0.22417667508125305, -0.9522632360458374, -0.5179179310798645, 1.2997004985809326, 0.10525641590356827, 0.6922476291656494, 0.14665277302265167, 1.130724549293518, -0.15035344660282135, 0.5538718700408936, -0.6092947125434875, 0.3361740708351135, -0.4676021337509155, -0.34329044818878174, -0.3649078905582428, -0.5871397852897644, -1.1709638833999634, 0.24327631294727325, -0.17401623725891113, -0.6093024015426636, 0.293023020029068, 0.31457778811454773, -0.4334498643875122, 0.2989245057106018, -1.1244776248931885, 0.8529460430145264, 0.2495473325252533, 0.10902069509029388, 0.13005797564983368, -0.4634990096092224, 0.38228639960289, -0.3050798177719116, 0.4489120543003082, -0.07870645821094513, -0.3728075623512268, 0.7378333806991577, -0.9194422364234924, 0.7243401408195496, -0.22231505811214447, 0.014262408949434757, 0.2798862159252167, -0.24402587115764618, 0.702872097492218, -0.1452065110206604, 0.006820582319051027, -0.07103293389081955, -0.1925354152917862, -0.7466548085212708, -0.6915317177772522, 0.28304192423820496, -0.5051793456077576, -0.4294477701187134, 0.023140808567404747, -0.40308627486228943, -0.14841535687446594, 0.2994407117366791, 0.361873984336853, 0.7354125380516052, 0.09009633958339691, 0.24552659690380096, 0.4085569679737091, -0.1589115411043167, 0.4812101423740387, 0.06947284191846848, -0.2550623118877411, -0.20120340585708618, 0.739184558391571, 0.28366518020629883, 0.5838190913200378, 0.4288268983364105, 0.3898520767688751, -0.6832427978515625, -1.027843952178955, 0.026909789070487022, 0.1101832389831543, -0.8562643527984619, -0.11120493710041046, -0.9529942274093628, 0.1532539278268814, -0.829736590385437, -0.18914800882339478, -0.3810397684574127, -0.46109601855278015, -0.13859792053699493, -0.1611921638250351, 0.2525603175163269, 0.31934553384780884, -0.32319238781929016, 0.757599949836731, -0.7631769776344299, 0.029113680124282837, 0.10594429820775986, 0.35622453689575195, 0.044076453894376755, -0.7982396483421326, -0.35851776599884033, -0.3923376500606537, 0.19047267735004425, -0.6302512288093567, 0.36784860491752625, 0.49120619893074036, 0.5282775163650513, 0.7005123496055603, -0.03018178977072239, 0.9031655788421631, -0.784126877784729, 0.6653677821159363, 0.4863584041595459, -0.7610259056091309, -0.009218091145157814, -0.2806158661842346, 0.2817012369632721, 0.7491861581802368, 0.24497543275356293, -0.4001665413379669, -0.5239324569702148, -0.7917802929878235, -0.9457741975784302, 0.3340642750263214, 0.35356009006500244, 0.41866642236709595, -0.5337893962860107, 0.10566052049398422, 0.06970150023698807, 0.015631992369890213, -0.45690658688545227, -0.2782565653324127, -0.03304551541805267, -0.44234704971313477, -0.47672778367996216, -0.4662023186683655, 0.23437941074371338, -0.23692262172698975, 0.6683255434036255, -0.28811079263687134, 0.3362330496311188, -0.19525742530822754, -0.013794130645692348, 0.4074484705924988, -0.031208990141749382, 0.46550947427749634, 0.3738570511341095, -0.0964955985546112, 0.3035549521446228, 0.2581232786178589, -0.4859422743320465, 0.24734123051166534, 0.13999998569488525, -0.10709088295698166, 0.27952927350997925, 0.46402448415756226, 0.5911851525306702, 0.5135456323623657, -0.7095780372619629, 0.8504122495651245, -0.3450304865837097, -0.1807089000940323, -0.4729253649711609, -0.19244052469730377, 0.20347602665424347, 0.07526324689388275, 0.2503342628479004, 0.19904141128063202, 0.2942633032798767, -0.6083481311798096, 0.4656870365142822, 0.47505536675453186, -0.1096830666065216, -0.27974507212638855, 0.7872652411460876, -0.24641625583171844, -0.20394209027290344, 0.21261179447174072, -0.42594078183174133, -0.29310837388038635, 0.3716708719730377, 0.5855635404586792, 0.7577425241470337, -0.21831484138965607, 0.07854162901639938, 0.48187899589538574, 0.20280194282531738, -0.6201863288879395, 0.13827328383922577, -0.016522077843546867, -0.6496235728263855, -0.6815493702888489, -0.8458201885223389, -0.12647190690040588, -0.3414497673511505, -0.5801020860671997, 0.2919701039791107, -0.5095624327659607, -0.30438485741615295, -0.16872110962867737, -0.16550256311893463, -0.6034002304077148, 0.24142694473266602, 0.0660189539194107, 1.0208550691604614, -0.6397511959075928, 0.8607184290885925, 0.240290567278862, -0.31329771876335144, -0.9984477162361145, 0.18438196182250977, -0.3813387155532837, -0.6913641691207886, 0.45020791888237, 0.27212876081466675, 0.16669128835201263, 0.02981647476553917, -0.3787148892879486, -1.243133306503296, 0.677097499370575, 0.6435143351554871, -0.6957617402076721, 0.010101310908794403, -0.25864526629447937, 0.5317049026489258, -0.3863578140735626, 0.4214940369129181, 0.6492422223091125, 0.5433944463729858, 0.14540302753448486, -0.6159553527832031, -0.1677026003599167, -0.3333671987056732, 0.23180773854255676, 0.5868914723396301, -0.5098416805267334, 1.0316014289855957, -0.15492293238639832, -0.4580824077129364, 0.2962207794189453, 0.8304376006126404, 0.1188998818397522, -0.20304542779922485, 0.7631708979606628, 0.4771827459335327, 1.0038731098175049, -0.010317249223589897, 1.4179147481918335, -0.4576977491378784, 0.3238120675086975, 1.1028375625610352, 0.14935077726840973, 0.9001896381378174, 0.41915076971054077, -0.25804591178894043, 0.27054670453071594, 0.7431140542030334, 0.26039543747901917, 0.6278185844421387, 0.4297696650028229, -0.26032373309135437, -0.2430696338415146, -0.013474389910697937, -0.3520964980125427, 0.20948010683059692, 0.1114998310804367, -0.1715535968542099, -0.3770293593406677, -0.1386370211839676, 0.025553807616233826, 0.20142465829849243, -0.3524245321750641, 0.47853976488113403, -0.09113786369562149, -0.18505479395389557, 0.8879707455635071, 0.08486689627170563, 0.8026660084724426, -0.6407724618911743, 0.3457988202571869, -0.287812203168869, 0.05856238678097725, 0.022965414449572563, 0.0009121301118284464, 0.46337077021598816, 0.04184246063232422, 0.16660331189632416, 0.0622883066534996, 0.33781489729881287, -0.5348095893859863, -0.7973541021347046, 0.16540245711803436, 0.11803442239761353, 0.548862099647522, 0.03266708925366402, -0.2919568121433258, 0.12706352770328522, -0.39876484870910645, -0.310456782579422, 0.2933397889137268, 0.3718985915184021, -0.14404015243053436, 0.480089396238327, 0.8443796038627625, 0.06811773777008057, 0.6939718723297119, 0.3287389576435089, 0.7535711526870728, -0.37706097960472107, -0.7774815559387207, -0.660983681678772, 0.21681377291679382, -0.16917552053928375, -0.17414574325084686, 0.7075411081314087, 0.5138687491416931, 1.090721607208252, -0.007492560427635908, 0.6672893762588501, 0.011246676556766033, 0.34797731041908264, -0.6096277236938477, 0.35971885919570923, -0.7700461745262146, -0.00034300072002224624, -0.28067538142204285, -0.985352635383606, -0.8583083152770996, 0.5893645882606506, -0.2931985855102539, 0.2896580994129181, 0.7958208322525024, 0.7139376997947693, -0.09929229319095612, -0.3659767210483551, 0.7604595422744751, 0.07520502060651779, 0.31668007373809814, 0.2834661900997162, 0.5508731007575989, -0.3408675789833069, 0.6612439751625061, -0.13625943660736084, -0.26795315742492676, -0.2060469686985016, -0.6638036966323853, -0.9046648740768433, -0.4283874034881592, 0.019520876929163933, -0.018325835466384888, -0.0030471503268927336, 0.9230272769927979, 1.0448524951934814, -0.6722639203071594, 0.08656468242406845, -0.37376412749290466, -0.2546234428882599, -0.14629718661308289, -0.10898436605930328, 0.5736651420593262, -0.9350208640098572, -0.9790181517601013, 0.224457249045372, 0.13519695401191711, 0.2885519564151764, -0.15460053086280823, -0.14043714106082916, -0.007520092185586691, 0.25202515721321106, 0.5119292736053467, 0.024143315851688385, -0.49188265204429626, -0.3935129940509796, -0.06747300177812576, 0.09140485525131226, 0.04718993604183197, 0.8592269420623779, -0.49352046847343445, 0.17370125651359558, 0.4122392237186432, 0.8819597959518433, 0.43397486209869385, -0.07772944122552872, 0.5729079246520996, -0.752993643283844, 0.7111486196517944, 0.09628419578075409, 0.5313065052032471, 0.35145053267478943, -0.14148235321044922, 0.4458230137825012, 0.1325872242450714, -0.19074556231498718, -0.9583125114440918, 0.30499592423439026, -0.7378199100494385, -0.13775597512722015, 1.0258208513259888, -0.4160054922103882, -0.634644627571106, -0.10538025200366974, -0.041982486844062805, 0.2731764316558838, -0.33358773589134216, 0.43498826026916504, 0.49750807881355286, 0.22669397294521332, -0.023868218064308167, -0.37450259923934937, 0.3503798246383667, 0.6604231595993042, -0.6185600757598877, 0.18729975819587708, 0.26287272572517395, 0.1914343535900116, 0.1839853823184967, 1.0639945268630981, -0.3288572430610657, -0.08858475834131241, 0.3917710483074188, 0.02280016988515854, 0.16252091526985168, -0.49049028754234314, -0.30172568559646606, 0.3423899710178375, 0.19959627091884613, -0.2134879231452942 ]
http://arxiv.org/abs/2407.02814v1
http://arxiv.org/pdf/2407.02814v1
Images Speak Louder than Words: Understanding and Mitigating Bias in Vision-Language Model from a Causal Mediation Perspective
2024-07-03T05:19:45
2024-07-03T05:19:45
Zhaotian Weng, Zijun Gao, Jerone Andrews, Jieyu Zhao
cs.AI
cs.AI, cs.CL, cs.CV, I.2.7
Vision-language models (VLMs) pre-trained on extensive datasets can inadvertently learn biases by correlating gender information with specific objects or scenarios. Current methods, which focus on modifying inputs and monitoring changes in the model's output probability scores, often struggle to comprehensively understand bias from the perspective of model components. We propose a framework that incorporates causal mediation analysis to measure and map the pathways of bias generation and propagation within VLMs. This approach allows us to identify the direct effects of interventions on model bias and the indirect effects of interventions on bias mediated through different model components. Our results show that image features are the primary contributors to bias, with significantly higher impacts than text features, specifically accounting for 32.57% and 12.63% of the bias in the MSCOCO and PASCAL-SENTENCE datasets, respectively. Notably, the image encoder's contribution surpasses that of the text encoder and the deep fusion encoder. Further experimentation confirms that contributions from both language and vision modalities are aligned and non-conflicting. Consequently, focusing on blurring gender representations within the image encoder, which contributes most to the model bias, reduces bias efficiently by 22.03% and 9.04% in the MSCOCO and PASCAL-SENTENCE datasets, respectively, with minimal performance loss or increased computational demands.
[ -0.5493306517601013, -0.6393440961837769, 0.3765783905982971, 0.39927345514297485, -0.11513583362102509, -0.5478904247283936, -0.13436327874660492, -0.44924724102020264, -0.22875261306762695, 0.6944299340248108, -0.538176953792572, -0.09818430244922638, -0.9742487072944641, 0.019327551126480103, -0.40493878722190857, 0.6904698014259338, -0.03874443843960762, 0.8557730317115784, -0.18963049352169037, -0.22736483812332153, -1.067474126815796, -0.21763461828231812, -0.49327415227890015, -0.30018365383148193, 0.4847964942455292, -0.09832469373941422, 0.6714112758636475, 0.6834065914154053, 0.6264061331748962, 0.25899040699005127, -0.03656914830207825, 0.1029219701886177, -0.5246784687042236, -0.053406454622745514, -0.3613903820514679, -0.3180408477783203, -0.06936690956354141, 0.006171438377350569, 0.7777208089828491, 0.7620357275009155, 0.3292495310306549, 0.4017494022846222, 0.3567977845668793, 0.6601048707962036, -0.9553926587104797, 0.5131089687347412, -0.5573514699935913, 0.2695483863353729, -0.022825557738542557, -0.29092222452163696, -0.5456417798995972, 0.08722206205129623, 0.3485701382160187, -0.47255226969718933, 0.2668960690498352, 0.16192501783370972, 0.8919572234153748, 0.4983513057231903, -0.7741307020187378, -0.17560292780399323, -0.8150178790092468, 0.9280667304992676, -0.40696167945861816, 0.5111139416694641, 0.26606273651123047, 0.1313716322183609, 0.044419918209314346, -0.2096155732870102, -0.5574749112129211, 0.10807022452354431, -0.27491095662117004, 0.0922042652964592, -0.5709181427955627, 0.04532603919506073, 0.5624250173568726, -0.1026284396648407, -0.1948785036802292, -0.09081491827964783, -0.45995551347732544, -0.1639149785041809, 0.4115942418575287, 0.1319768726825714, 0.494373083114624, -0.0004596655198838562, -0.15378107130527496, -0.2718603312969208, -0.6329578161239624, -0.14208529889583588, 0.3350643217563629, 0.3474784195423126, -0.09024080634117126, 0.6546852588653564, 0.1790291666984558, 0.7520781755447388, 0.13163606822490692, -0.12948554754257202, 0.14454205334186554, -0.38276273012161255, -0.4620732069015503, 0.15075454115867615, 0.6332298517227173, 0.6667907238006592, 0.15727737545967102, 0.14008671045303345, 0.004681417252868414, 0.4850635528564453, 0.24425137042999268, -0.8035394549369812, 0.36633041501045227, -0.35975417494773865, -0.7068244814872742, -0.4866109788417816, 0.028894178569316864, -0.8535382747650146, -0.7733164429664612, -0.5768925547599792, 0.5539257526397705, 0.10221454501152039, -0.3671856224536896, 0.22689391672611237, -0.38784146308898926, 0.5743785500526428, 0.08295796066522598, -0.7042652368545532, 0.3628535270690918, 0.3699724078178406, 0.704118549823761, 0.19444863498210907, -0.13987001776695251, -0.405484676361084, 0.19852404296398163, -0.5114899277687073, 0.44681692123413086, -0.6048246622085571, -0.3352879583835602, 0.38520967960357666, -0.018054073676466942, -0.12878578901290894, -0.5488610863685608, 0.6258565783500671, -0.2742224335670471, 0.3001902401447296, -0.8219711184501648, -0.3675840198993683, -0.15142329037189484, -0.1647198498249054, -0.7804352045059204, 0.7702869772911072, -0.38377174735069275, -1.0771831274032593, 0.8114750981330872, -0.5977752804756165, -0.5159400105476379, -0.4631515443325043, -0.7419837713241577, -0.4530906677246094, 0.388091504573822, 0.5328664779663086, 0.2820250988006592, -0.6033067107200623, 0.8078482151031494, -0.1481831818819046, -0.2701584994792938, 0.2179255187511444, -0.6836110949516296, 0.7027274370193481, -0.20074225962162018, -0.9173159003257751, 0.12432744354009628, -0.5801094770431519, -0.7274245619773865, 0.1900874823331833, 0.02752676047384739, -0.4426129460334778, 0.3771772086620331, 0.09704425185918808, 0.46800172328948975, -0.31151053309440613, -0.4595358967781067, -0.1573822945356369, -0.05818350613117218, 0.11279221624135971, 0.9220550656318665, -0.3676513135433197, 0.7135981917381287, 0.05004192516207695, 0.14001277089118958, 0.5400447249412537, 0.4799825847148895, -0.1532178521156311, -0.48418956995010376, -0.9899696111679077, -0.2918081283569336, -0.24792808294296265, 0.310484379529953, -0.98895263671875, 0.0024170922115445137, -0.4007697105407715, -0.06835455447435379, -0.71767258644104, 0.08714759349822998, 0.7009891271591187, 1.0193771123886108, 0.31039145588874817, -0.531606137752533, -0.6037184000015259, -1.4300593137741089, -0.5614862442016602, -0.322609007358551, 0.11706569045782089, 0.6665347218513489, 0.48507604002952576, -0.2065550982952118, 0.9086952209472656, -0.5148070454597473, -0.6911211609840393, -0.052418310195207596, 0.24512648582458496, -0.006395903415977955, 0.2370636761188507, 0.6455504894256592, -0.9703059792518616, 0.005727553740143776, -0.2871383726596832, -0.8722299337387085, -0.6637338995933533, -0.1252821534872055, -0.1560732126235962, 0.10437048226594925, 0.5541279315948486, -0.25033655762672424, 0.8822833299636841, 0.46296828985214233, -0.7333804965019226, 0.39979955554008484, 0.14138449728488922, 0.15453192591667175, -0.6462415456771851, -0.008132767863571644, 0.34185731410980225, -0.038362111896276474, -0.6139504313468933, -0.21109873056411743, -0.10271213948726654, 0.07681271433830261, -0.5613215565681458, 0.5335347652435303, -0.6368659734725952, -0.2062186896800995, -0.2995535433292389, 0.006764499936252832, 0.13275854289531708, 0.2857452630996704, 0.2664808928966522, 0.6389447450637817, 0.7613937258720398, -0.3892281949520111, -0.17172062397003174, 0.1919908970594406, -0.47704070806503296, 0.5526741743087769, -0.6544824242591858, -0.27688583731651306, -0.6640141606330872, 0.1285889446735382, -0.8548795580863953, 0.12158318608999252, 0.31308797001838684, -0.12643644213676453, 0.2556900978088379, 0.021858369931578636, -0.5001543760299683, -0.25374913215637207, -0.15511953830718994, 0.41213521361351013, 0.3016059398651123, -0.5468694567680359, 0.7296174764633179, 0.4681261479854584, 0.32493695616722107, -0.7063443064689636, -0.8816478848457336, 0.12104813754558563, -0.06992369890213013, -0.6338117122650146, 0.024087535217404366, 0.17840810120105743, -0.3817920386791229, -0.06869876384735107, 0.24873924255371094, 0.08813374489545822, -0.11041546612977982, 0.7075961828231812, 0.3155948519706726, -0.13616754114627838, 0.28887513279914856, 0.04927629977464676, -0.013007314875721931, 0.21900659799575806, -0.1764417290687561, 0.44022074341773987, -0.014101208187639713, -0.3755631744861603, -0.18656684458255768, 0.5567634105682373, 0.5808544158935547, -0.15796324610710144, 1.0743318796157837, 0.8577281832695007, -0.2630169093608856, 0.14946132898330688, -0.6378318667411804, -0.4203839898109436, -0.4165946841239929, 0.5127660036087036, -0.11699271202087402, -0.8334041237831116, 0.24761991202831268, -0.030372368171811104, -0.08549903333187103, 0.2297828644514084, 0.7215086817741394, 0.1568470001220703, 1.3025614023208618, 0.8308994174003601, -0.48121994733810425, 0.6808956861495972, -0.09634068608283997, 0.25529664754867554, -0.9325547218322754, -0.27206575870513916, -0.28980574011802673, -0.34163039922714233, -0.4110773801803589, -0.6250243782997131, 0.28939345479011536, -0.32210180163383484, -0.3733719289302826, -0.019160306081175804, -0.3225031793117523, 0.2565464973449707, 0.7036043405532837, 0.1493121087551117, 0.04030940681695938, 0.12633594870567322, -0.050988003611564636, -0.4223027527332306, -0.6697080731391907, -0.3562160134315491, 0.9429864287376404, 0.33701029419898987, 0.769364058971405, 0.026979664340615273, 0.045847151428461075, 0.1941332370042801, 0.2635648548603058, -0.4435116648674011, 0.6041144728660583, -0.0006873757229186594, -0.8631325960159302, 0.035271402448415756, -0.19830092787742615, -0.7011978030204773, 0.5700972080230713, -0.42755600810050964, -0.5230730772018433, 0.8260508179664612, 0.20543350279331207, 0.3245551884174347, 0.33859172463417053, -0.6076834797859192, 0.7010765075683594, -0.05316031724214554, -0.7709388732910156, -0.1512608826160431, -0.53123539686203, 0.5276176333427429, 0.02079855278134346, 0.41448014974594116, 0.1045440211892128, 0.006956206634640694, 0.6274412274360657, -0.27389413118362427, 1.3196126222610474, -0.12057863920927048, -0.1344887912273407, -0.07683069258928299, -0.1168181449174881, 0.20910188555717468, -0.4490554928779602, 0.231435164809227, 0.3566327691078186, -0.653544008731842, -0.29183194041252136, -0.4411405622959137, 0.39852219820022583, -0.771102249622345, -0.6116501688957214, -0.2839830815792084, -0.5869656205177307, -0.043654896318912506, 0.1995670050382614, 0.19293901324272156, 0.6594833731651306, -0.17171131074428558, -0.02739010564982891, 0.716184139251709, -0.5352720022201538, 0.40455618500709534, 0.6161952018737793, -0.3819691240787506, -0.13071724772453308, 0.6375721096992493, 0.21729998290538788, 0.30840107798576355, 0.19096970558166504, 0.31132352352142334, -0.07064799219369888, -0.007429975084960461, -0.23695726692676544, 0.2762177884578705, -0.8132046461105347, -0.04952774941921234, -0.6352868676185608, 0.015072982758283615, -0.43262800574302673, -0.12267099320888519, -0.26089778542518616, 0.23057372868061066, -0.2901284098625183, -0.16026708483695984, 0.05232324078679085, 0.4507702589035034, -0.01626063883304596, 0.34283819794654846, -0.3474336266517639, 0.43532630801200867, 0.3964059352874756, 0.16185347735881805, 0.127134308218956, -0.5135847330093384, -0.11095446348190308, -0.08693896234035492, -0.24523797631263733, -1.1487197875976562, 0.6690841913223267, 0.17711788415908813, 0.2876681685447693, 0.6635569334030151, -0.2971562445163727, 0.8888895511627197, -0.7705207467079163, 0.7661767601966858, 0.4069507420063019, -1.0628082752227783, 0.7707354426383972, -0.23565174639225006, 0.3422742187976837, 0.23191958665847778, 0.17755098640918732, -0.26839590072631836, -0.4704142212867737, -0.37107187509536743, -0.7136933207511902, 0.5804532766342163, 0.3164614737033844, 0.16444995999336243, -0.020875802263617516, 0.06978338956832886, -0.27322903275489807, 0.4738985598087311, -0.8196971416473389, -0.46484625339508057, -0.03391911834478378, -0.07454821467399597, 0.036365680396556854, -0.5569953322410583, -0.21515275537967682, -0.4235340356826782, 0.6145305037498474, -0.13434725999832153, 0.253808856010437, 0.43057703971862793, -0.4473373293876648, -0.17149750888347626, 0.060167521238327026, 0.799045979976654, 0.37699034810066223, 0.0490865595638752, 0.3556572496891022, -0.11230611056089401, -0.674506425857544, -0.03740972653031349, -0.22331339120864868, -0.6267861127853394, 0.29436203837394714, 0.685142457485199, 1.3853989839553833, 0.3112986385822296, -0.6165783405303955, 0.8248222470283508, -0.20340655744075775, -0.07993238419294357, 0.09166323393583298, -0.22503475844860077, -0.17861482501029968, 0.46855756640434265, 0.24810948967933655, 0.2598511576652527, 0.5207031965255737, -0.5283061265945435, -0.08250173926353455, 0.3927379250526428, -0.9651983976364136, -0.09504459798336029, 0.7181696891784668, 0.06830926239490509, 0.18439407646656036, 0.4035443663597107, 0.4165772497653961, -0.5830795764923096, 0.5559382438659668, 0.5605226755142212, 0.8749009966850281, -0.03813320770859718, 0.2960149645805359, 0.37107840180397034, 0.8440933227539062, -0.2308775931596756, 0.09208446741104126, 0.20576295256614685, -0.9826414585113525, -0.3784283697605133, -0.3682727515697479, 0.10172212868928909, -0.08733075857162476, -0.8603324294090271, 0.21701648831367493, -0.14665323495864868, -0.5020315647125244, 0.03617648407816887, -0.3826465606689453, -0.9929773211479187, 0.17741020023822784, 0.3319511413574219, 0.6255735754966736, -1.4349651336669922, 0.43635237216949463, 0.41021645069122314, -0.5672940015792847, -0.7531408667564392, -0.3270080089569092, 0.2852420210838318, -0.8371416926383972, 1.3213127851486206, 0.06228417530655861, -0.12902845442295074, -0.3733997344970703, -0.7001168727874756, -0.5715951323509216, 0.9482716917991638, 0.7868627905845642, -0.637641429901123, 0.33176884055137634, 0.4257117509841919, 0.36700496077537537, -0.5207927227020264, 0.34949663281440735, 0.56116783618927, 0.6068118214607239, -0.19057200849056244, -0.9590243697166443, 0.1021210104227066, -0.13563752174377441, 0.29175788164138794, -0.0006779239629395306, -0.3126644194126129, 0.5209625363349915, -0.09922366589307785, -0.13740243017673492, -0.5639305710792542, 0.5695049166679382, -0.01839611679315567, 0.18061386048793793, 0.38367146253585815, 0.33318430185317993, 0.42457929253578186, -0.27274632453918457, 1.3430533409118652, 0.10521294176578522, 0.0011035900097340345, 1.1427741050720215, -0.24768346548080444, 0.5446301698684692, 1.0677951574325562, 0.06061550974845886, 0.2448902726173401, 0.05526794493198395, 0.08080707490444183, 0.4721965789794922, 0.3165472447872162, -0.2643253803253174, -0.22107228636741638, -0.8179369568824768, -0.12282189726829529, 0.3586828112602234, 0.15319377183914185, -1.0441473722457886, -0.07208021730184555, 0.4368726313114166, -0.0013815058628097177, 0.08595010638237, -0.45564648509025574, 0.7719034552574158, 0.2324390411376953, -0.2654716372489929, 0.041807327419519424, -0.29689887166023254, 0.5731568932533264, -0.29485440254211426, -0.07305175065994263, -0.1070416122674942, 0.11798128485679626, 0.05259539186954498, -0.5541289448738098, 0.21153269708156586, -0.10922221094369888, -0.6130313873291016, -0.28515222668647766, 1.0683395862579346, -0.6171403527259827, -0.8758494853973389, 0.555418074131012, 0.36499860882759094, -0.2696426510810852, 0.01033969409763813, -0.6275194883346558, 0.6799531579017639, -0.1342492401599884, 0.015787675976753235, 0.1588711440563202, 0.03575500473380089, -0.29262876510620117, 0.609100341796875, 0.41265079379081726, 0.26299309730529785, 0.38158148527145386, 0.5660919547080994, 0.8457847237586975, -0.32486894726753235, -0.025854479521512985, -1.0783663988113403, 0.47888344526290894, -0.35652264952659607, -0.0731881707906723, 0.7057943940162659, 0.29984045028686523, 0.6777130961418152, -0.3810461461544037, 0.5552219152450562, 0.38123929500579834, -0.19227810204029083, -0.36267217993736267, 0.7090079188346863, -0.4804367125034332, 0.09547620266675949, -0.7017596364021301, -0.8280923962593079, -0.4553530216217041, 0.652787983417511, -0.5621161460876465, -0.15205737948417664, 0.3656613230705261, 0.9076951146125793, 0.1881658285856247, -0.18860740959644318, 0.4235987365245819, 0.3743910491466522, 0.4159868657588959, 0.2676672041416168, 0.7756222486495972, -0.7966541647911072, 0.24258115887641907, 0.07127905637025833, -0.26075100898742676, -0.08758090436458588, -0.952663004398346, -1.0216342210769653, -0.6570510864257812, -0.5287724733352661, -0.15018488466739655, 0.10028459131717682, 0.4401486814022064, 0.7218080163002014, -0.32525625824928284, -0.22312314808368683, -0.0550551638007164, 0.18826018273830414, -0.11701130867004395, -0.2326291799545288, 0.3378220796585083, -0.12401217967271805, -0.5481692552566528, -0.15737444162368774, 0.5486656427383423, -0.1391705721616745, -0.46367180347442627, -0.08897017687559128, 0.046525727957487106, 0.4062941074371338, 0.9093169569969177, -0.17943981289863586, -0.8357567191123962, -0.2617795169353485, -0.10900848358869553, -0.1695466935634613, -0.12694454193115234, 1.0298633575439453, -0.7204545140266418, 0.790673017501831, 0.4857639968395233, 0.5044029951095581, 0.24281826615333557, -0.5198384523391724, 0.9299776554107666, -0.6074833273887634, 0.36558419466018677, -0.2500351667404175, 0.6292548775672913, 0.4428185224533081, -0.1269972175359726, 0.3451741933822632, 0.26896220445632935, 0.001542083453387022, -0.8527866005897522, 0.24871332943439484, -0.885355532169342, -0.28907155990600586, 1.2106760740280151, 0.30405721068382263, -0.40814220905303955, 0.01246040128171444, -0.7275640964508057, 0.4452509582042694, -0.08906014263629913, 0.6393026113510132, 0.7157004475593567, 0.4425898790359497, -0.3738548457622528, -0.7259919047355652, 0.40825143456459045, 0.5022537708282471, -0.5158117413520813, -0.08328384160995483, 0.7396029233932495, -0.021700985729694366, 0.12259597331285477, 0.45517873764038086, -0.4362986385822296, 0.15375329554080963, 0.059862274676561356, 0.19565308094024658, 0.14298635721206665, -0.18933549523353577, -0.465565949678421, -0.14932531118392944, -0.2570056617259979, -0.08797599375247955 ]
http://arxiv.org/abs/2407.02783v1
http://arxiv.org/pdf/2407.02783v1
52B to 1T: Lessons Learned via Tele-FLM Series
2024-07-03T03:21:02
2024-07-03T03:21:02
Xiang Li, Yiqun Yao, Xin Jiang, Xuezhi Fang, Chao Wang, Xinzhang Liu, Zihan Wang, Yu Zhao, Xin Wang, Yuyao Huang, Shuangyong Song, Yongxiang Li, Zheng Zhang, Bo Zhao, Aixin Sun, Yequan Wang, Zhongjiang He, Zhongyuan Wang, Xuelong Li, Tiejun Huang
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) represent a significant stride toward Artificial General Intelligence. As scaling laws underscore the potential of increasing model sizes, the academic community has intensified its investigations into LLMs with capacities exceeding 50 billion parameters. This technical report builds on our prior work with Tele-FLM (also known as FLM-2), a publicly available 52-billion-parameter model. We delve into two primary areas: we first discuss our observation of Supervised Fine-tuning (SFT) on Tele-FLM-52B, which supports the "less is more" approach for SFT data construction; second, we demonstrate our experiments and analyses on the best practices for progressively growing a model from 52 billion to 102 billion, and subsequently to 1 trillion parameters. We will open-source a 1T model checkpoint, namely Tele-FLM-1T, to advance further training and research.
[ -0.5307216644287109, -0.7725126147270203, 0.4676378667354584, 0.056587204337120056, 0.003906138939782977, -0.20392853021621704, -0.31820738315582275, -0.6183863878250122, -0.09676534682512283, 0.7817746996879578, -0.5580769777297974, -0.28195181488990784, -0.6220166087150574, 0.17246730625629425, -0.670215904712677, 0.9663184881210327, 0.1995670348405838, 0.07325915992259979, 0.1779354363679886, 0.12394682317972183, -0.3279215097427368, -0.4916441738605499, -1.045560598373413, -0.10048356652259827, 0.6802859306335449, 0.820361852645874, 0.9393200874328613, 0.8492404818534851, 0.729978084564209, 0.2061978131532669, -0.026768798008561134, 0.13602247834205627, -0.6876699328422546, -0.21141082048416138, 0.021027812734246254, -0.7355911135673523, -0.6498754024505615, 0.07150372117757797, 0.9026955366134644, 0.825509786605835, -0.029761984944343567, 0.27062568068504333, -0.3112889528274536, 0.9995559453964233, -0.17953082919120789, 0.2079860270023346, -0.6749011874198914, -0.02365225926041603, -0.41783371567726135, 0.12849849462509155, -0.6350253820419312, -0.2747291922569275, 0.34817206859588623, -0.47205424308776855, 0.19258008897304535, 0.178548663854599, 0.626004695892334, 0.5180860161781311, -0.5520166754722595, -0.08345835655927658, -1.0748671293258667, 0.9277216792106628, -0.8071681261062622, 0.5307216048240662, 0.5786202549934387, 0.3861273229122162, -0.1442783623933792, -0.8037413954734802, -0.1347244530916214, -0.2862534821033478, 0.313728004693985, -0.17545554041862488, -0.24224498867988586, 0.1243862733244896, 0.4162428379058838, 0.2159782350063324, -0.5866341590881348, 0.27814775705337524, -0.7999842762947083, -0.05024893209338188, 0.8019061088562012, 0.25103601813316345, -0.06257059425115585, 0.17525416612625122, -0.09386683255434036, 0.17199406027793884, -0.9769723415374756, -0.4497967064380646, 0.12673315405845642, 0.28286489844322205, -0.04614005237817764, 0.4270191490650177, -0.2793702483177185, 0.5406824946403503, -0.1332155168056488, 0.17688106000423431, -0.22715018689632416, -0.40563103556632996, -0.27801528573036194, -0.10939663648605347, 0.6267034411430359, -0.045879412442445755, 0.8486902713775635, -0.17009204626083374, -0.09265334904193878, -0.36276495456695557, 0.3852365016937256, -0.9723399877548218, -0.1379067450761795, 0.062257882207632065, -0.4675840139389038, -0.0759936198592186, 0.16112877428531647, -0.6962575912475586, -0.3732297420501709, -0.5050670504570007, 0.21965554356575012, -0.5731468200683594, -0.3172866106033325, 0.19861844182014465, 0.08197622746229172, 0.3434218168258667, 0.4546491503715515, -0.8581211566925049, 0.5978357791900635, 0.89433354139328, 0.9063526391983032, -0.025783276185393333, -0.11223497241735458, -0.4474777281284332, -0.10890044271945953, -0.47229793667793274, 0.5491258502006531, -0.40333864092826843, -0.408711701631546, 0.11562608182430267, -0.238030344247818, 0.040771398693323135, -0.6433488726615906, 0.579151451587677, -0.6841195225715637, 0.18114134669303894, -0.41826361417770386, -0.7174433469772339, -0.3794550895690918, -0.03187388926744461, -0.7744771838188171, 0.7849952578544617, 0.2134082019329071, -0.6187687516212463, 0.09916713088750839, -0.8794062733650208, -0.36828821897506714, 0.06144305318593979, 0.05627007409930229, -0.28517699241638184, 0.44873175024986267, -0.053141165524721146, 0.4738085865974426, -0.6322290897369385, 0.16025394201278687, -0.3030989170074463, -0.5530965924263, -0.021113567054271698, -0.6920174360275269, 0.7100988030433655, 0.42554986476898193, -0.021507687866687775, -0.03895440325140953, -0.708581268787384, -0.06915391981601715, 0.17609210312366486, -0.4170278310775757, 0.07401089370250702, 0.2090137004852295, -0.04099137336015701, -0.0069159553386271, 0.20648235082626343, -0.46414828300476074, 0.08249709755182266, -0.524848461151123, 0.763285219669342, 0.46755245327949524, -0.11970744282007217, 0.3751584589481354, -0.5360624194145203, 0.5433517694473267, -0.14126281440258026, 0.24645844101905823, -0.24137668311595917, -0.31238940358161926, -0.8800730109214783, -0.23530228435993195, 0.3564072549343109, 0.5102404952049255, -0.1829889565706253, 0.23815302550792694, -0.466117262840271, -0.543298602104187, -0.2582929730415344, 0.19942669570446014, -0.19252607226371765, 0.05598058924078941, 0.31788796186447144, -0.08323007822036743, -0.45971307158470154, -0.936781108379364, -0.04646014794707298, -0.13708610832691193, -0.1641802191734314, 0.25246408581733704, 0.4121565818786621, -0.30930718779563904, 1.1442466974258423, -0.395702600479126, -0.1914021372795105, -0.14042356610298157, 0.05373944342136383, -0.0065940679050982, 0.360528826713562, 0.5181185007095337, -0.6417294144630432, -0.3931331932544708, 0.06400297582149506, -0.5611480474472046, 0.12926995754241943, 0.08214113116264343, 0.16637936234474182, 0.287047415971756, 0.6731012463569641, -0.692243218421936, 0.17402346432209015, 0.26225167512893677, -0.20713283121585846, 0.5765513777732849, -0.09723121672868729, 0.02303296886384487, -1.0475996732711792, -0.14680349826812744, 0.2489897608757019, -0.5019952654838562, -0.6621158123016357, -0.026065384969115257, -0.0892624631524086, -0.14289788901805878, -0.41951924562454224, 0.3797377645969391, -0.37682607769966125, -0.055972080677747726, -0.2680627405643463, -0.053535811603069305, -0.6301445960998535, 0.23414023220539093, -0.12561629712581635, 0.7730981707572937, 0.5553842186927795, -0.5214601159095764, 0.5021406412124634, 0.025237135589122772, -0.3304550051689148, 0.18154481053352356, -0.768379271030426, 0.33227476477622986, -0.022815298289060593, 0.17797918617725372, -0.8971425294876099, -0.3069956302642822, -0.20208624005317688, -0.18288318812847137, 0.38362136483192444, -0.02074054628610611, -0.8294483423233032, -0.4224543869495392, -0.38111212849617004, 0.41010594367980957, 0.5291677117347717, -0.34447360038757324, 0.5653784275054932, 0.27349990606307983, -0.3772185742855072, -0.023993654176592827, -0.7378678321838379, 0.16797778010368347, -0.3868565559387207, -0.8783445954322815, -0.018679291009902954, -0.13834784924983978, -0.38585129380226135, -0.19546230137348175, -0.007104808930307627, -0.13631968200206757, 0.15728329122066498, 0.2836914360523224, 0.07798751443624496, -0.6896468997001648, 0.2164546549320221, -0.041328102350234985, -0.026943612843751907, 0.39029136300086975, -0.48649290204048157, 0.5186477899551392, -0.35309934616088867, -0.13395749032497406, -0.43358656764030457, 0.26598280668258667, 0.603996753692627, -0.22901253402233124, 0.7273899912834167, 0.4625961184501648, -0.515357255935669, -0.38210049271583557, -0.49631279706954956, -0.3078506886959076, -0.5369169116020203, 0.6986274719238281, -0.1881481558084488, -1.1479579210281372, 0.47934967279434204, -0.383177250623703, 0.18334022164344788, 0.5311211943626404, 0.44777044653892517, 0.08259715884923935, 0.9217357039451599, 0.945233166217804, -0.48848801851272583, 0.8126068115234375, -0.16963064670562744, 0.007734515704214573, -0.3254183530807495, 0.12721455097198486, -0.5566873550415039, -0.27325087785720825, -0.7212826609611511, -0.6481584906578064, 0.5393925309181213, -0.028889672830700874, -0.6716446280479431, 0.23838908970355988, -0.09312432259321213, 0.6911906003952026, 0.504778265953064, 0.11923687160015106, 0.38651734590530396, 0.035658929497003555, 0.38839468359947205, 0.234048992395401, -0.7601262331008911, -0.6338204741477966, 1.2667181491851807, 0.8746702671051025, 0.6268659830093384, 0.11200231313705444, 0.4595082104206085, 0.3232143223285675, 0.36565926671028137, -0.8574986457824707, 0.7612531781196594, -0.49823832511901855, -0.900371253490448, -0.6575292944908142, -0.595244824886322, -0.6581284999847412, -0.17598901689052582, 0.11612164974212646, -0.700131356716156, -0.3504762053489685, -0.024450896307826042, -0.2684001624584198, 0.22640830278396606, -0.7108307480812073, 0.6013169884681702, -0.1137673556804657, 0.0514143742620945, -0.7570414543151855, -0.8857833743095398, 0.5220393538475037, -0.3384704291820526, 0.143484964966774, -0.12028400599956512, -0.18923263251781464, 0.8544766306877136, -0.3199063241481781, 0.8037312030792236, 0.023226719349622726, -0.44206324219703674, 0.3942338824272156, 0.11458229273557663, 0.6047175526618958, -0.00216328795067966, -0.4358369708061218, 0.2014608234167099, 0.00993296317756176, -0.41080811619758606, -0.24907024204730988, 0.7393109202384949, -0.8272165060043335, -0.5576601028442383, -0.0019367734203115106, -0.9042980670928955, -0.4627423882484436, 0.2511959969997406, 0.14248308539390564, 0.5490140318870544, -0.2792062759399414, 0.40106889605522156, 1.019468903541565, -0.16881884634494781, 0.42992523312568665, 0.5457751154899597, -0.334543913602829, -0.4277576506137848, 0.9052562117576599, 0.4160887897014618, 0.6343680620193481, 0.4524805545806885, 0.1353977918624878, 0.010421395301818848, -0.715131402015686, -0.12766754627227783, 0.6267372369766235, -0.5751142501831055, -0.12188234180212021, -0.18872427940368652, -0.3393327295780182, -0.3066631853580475, 0.1407623142004013, -0.5922557711601257, -0.5342450737953186, -0.4465315341949463, -0.03913633152842522, 0.617932915687561, 1.1507893800735474, 0.10172373056411743, 0.5877264142036438, -0.801660418510437, 0.08585473895072937, -0.01591809093952179, 0.4906948208808899, -0.11014644801616669, -0.8348467946052551, -0.46688112616539, 0.2811504602432251, -0.2438625991344452, -0.5423614978790283, 0.020933572202920914, 0.3903238773345947, 0.06467008590698242, 0.48562827706336975, -0.04990192502737045, 0.3729894161224365, -0.6466863751411438, 0.7608642578125, -0.13430669903755188, -0.8831245303153992, 0.486147403717041, -0.8118621110916138, 0.35592323541641235, 0.31909188628196716, 0.6188412308692932, -0.4183509945869446, -0.314445823431015, -0.5074074864387512, -0.5103663802146912, 0.7476786375045776, -0.14821653068065643, 0.4002552032470703, 0.2615003287792206, 0.7096340656280518, 0.23714902997016907, 0.027471164241433144, -0.38629448413848877, -0.24593494832515717, 0.0937182828783989, -0.41579410433769226, -0.026691842824220657, -0.27595043182373047, 0.15181678533554077, -0.32948461174964905, 0.7233334183692932, -0.19989223778247833, 0.15541885793209076, -0.1588229537010193, 0.06917502731084824, -0.2689651846885681, 0.15676802396774292, 0.7028618454933167, 0.6866061091423035, -0.06732254475355148, 0.0016805219929665327, 0.3667469024658203, -0.45945534110069275, -0.3436703085899353, 0.180056631565094, -0.07781433314085007, -0.307280570268631, 0.49933522939682007, 0.6770616173744202, 0.06346624344587326, -0.6667033433914185, 0.16776040196418762, 0.1734490692615509, -0.5692846775054932, -0.20803363621234894, 0.2490224689245224, 0.12421911954879761, 0.32952430844306946, 0.49745163321495056, -0.15601834654808044, -0.12271825969219208, -0.5132789611816406, 0.48245662450790405, 0.4764164686203003, -0.41771644353866577, -0.4331620931625366, 0.7411059737205505, 0.2163662314414978, -0.1844956874847412, 0.8072875738143921, -0.013931237161159515, -0.4601619839668274, 0.638515293598175, 0.4274241626262665, 0.6626229882240295, -0.11040683835744858, 0.2803814709186554, 0.1629778891801834, 0.5709556341171265, -0.3999878466129303, 0.15821999311447144, 0.24602577090263367, -0.525644063949585, -0.47267067432403564, -0.49052074551582336, -0.4876415431499481, 0.1891133338212967, -0.391289621591568, 0.5404596924781799, -0.7989820837974548, -0.08392360061407089, 0.054934773594141006, 0.43195873498916626, -0.6194866299629211, 0.26640528440475464, 0.2863215506076813, 1.221319556236267, -0.6260491609573364, 0.960595428943634, 0.5164511203765869, -0.4381590485572815, -1.0354716777801514, 0.02260858193039894, 0.15794380009174347, -0.788043200969696, 0.5430274605751038, 0.06575876474380493, -0.06477770954370499, 0.3605562746524811, -0.8771308660507202, -1.0852316617965698, 1.1773829460144043, 0.6623940467834473, -0.7737465500831604, -0.05570198968052864, 0.6036934852600098, 0.6463978886604309, -0.20704369246959686, 0.2543625235557556, 0.7216570973396301, 0.4557216167449951, -0.028257424011826515, -1.2603747844696045, 0.07925758510828018, 0.2474878877401352, -0.17723995447158813, 0.4439610540866852, -1.0493385791778564, 0.7438057065010071, -0.448647677898407, -0.15748855471611023, 0.23796726763248444, 0.8996118307113647, -0.2746647596359253, 0.09259892255067825, 0.37493911385536194, 0.31076109409332275, 0.7753663063049316, 0.024736210703849792, 0.9305461049079895, -0.11204821616411209, 0.355826735496521, 1.0095093250274658, -0.3683468997478485, 0.8973178267478943, 0.15204234421253204, -0.4673401713371277, 0.21556293964385986, 0.6515543460845947, -0.11941708624362946, 0.16595593094825745, 0.38368088006973267, -0.12192068994045258, -0.21832771599292755, -0.2725093960762024, -0.17382557690143585, 0.37287408113479614, 0.21656008064746857, -0.25356486439704895, -0.15873682498931885, 0.0155604537576437, 0.05832017585635185, -0.11438699811697006, -0.39326685667037964, 0.723078191280365, 0.3778197467327118, -0.2548461854457855, 0.4707210063934326, 0.010729856789112091, 0.5431780219078064, -0.6367993950843811, 0.1779138147830963, -0.2600208818912506, 0.3225547671318054, -0.10902203619480133, -0.647678017616272, 0.4278544485569, 0.12215059250593185, -0.3839457631111145, -0.0894903689622879, 0.47897765040397644, -0.4321535527706146, -0.6618359684944153, 0.2052495926618576, 0.4318368136882782, 0.27703848481178284, -0.30275654792785645, -0.346769779920578, 0.07998199760913849, -0.08030989021062851, -0.4182940423488617, 0.3498101830482483, 0.6423876285552979, -0.17677173018455505, 0.9913719296455383, 0.23830658197402954, 0.21458448469638824, 0.2830108404159546, 0.1437605321407318, 0.6724111437797546, -0.8747280836105347, -0.07947896420955658, -0.7828304171562195, 0.23200887441635132, 0.2662728726863861, -0.35506221652030945, 0.584141731262207, 0.6270805597305298, 0.8191892504692078, -0.0009827035246416926, 0.76059889793396, 0.023416534066200256, 0.4823472499847412, -0.417833149433136, 0.5144452452659607, -0.4646989405155182, 0.37074533104896545, 0.11730670928955078, -0.7897881865501404, -0.2224525511264801, 0.20040592551231384, -0.319161981344223, 0.16476178169250488, 0.6317499279975891, 0.8070108890533447, 0.06962195783853531, 0.5241996049880981, 0.31889477372169495, 0.41112419962882996, 0.475492000579834, 0.5224384069442749, 0.6062496304512024, -0.5193489193916321, 0.6436991095542908, -0.044700875878334045, -0.11503312736749649, -0.1042880043387413, -0.7484397292137146, -0.8777774572372437, -0.32929739356040955, -0.4459352195262909, 0.12700782716274261, -0.18300549685955048, 1.0869431495666504, 0.8764604330062866, -0.8934027552604675, -0.2318650484085083, -0.2696388065814972, -0.0061076488345861435, 0.007417609915137291, -0.19721251726150513, 0.010449702851474285, -0.24540899693965912, -0.7048431038856506, 0.4541824162006378, 0.05185256898403168, -0.02471509575843811, -0.4802156984806061, -0.11173982173204422, -0.07555412501096725, 0.40659621357917786, 0.6667811274528503, 0.11652406305074692, -0.5819063782691956, -0.43224185705184937, 0.0689755380153656, -0.02140962891280651, -0.030033735558390617, 0.7425607442855835, -0.3730812072753906, -0.1754130721092224, 0.3882441520690918, 0.752068042755127, 0.4787636697292328, 0.06205641105771065, 0.9207097887992859, -0.7125089764595032, -0.19569629430770874, 0.22752855718135834, 0.1624118536710739, 0.1626848578453064, -0.2480311244726181, 0.7487341165542603, 0.07286856323480606, -0.8538028597831726, -0.7781921625137329, 0.18964402377605438, -1.038224458694458, -0.26426199078559875, 1.264012098312378, 0.16123513877391815, 0.33816567063331604, 0.17459078133106232, -0.22121791541576385, 0.2090633362531662, -0.3395780622959137, 0.4839857220649719, 0.8631404638290405, -0.11241275072097778, -0.22808150947093964, -1.033692717552185, 0.3704818785190582, 0.5007923245429993, -1.0669727325439453, 0.36118048429489136, 0.5304228663444519, 0.3942124545574188, -0.04808066785335541, 0.34511858224868774, 0.0997404232621193, 0.08825298398733139, 0.006082619074732065, -0.5484787821769714, -0.1665254831314087, -0.6154642105102539, -0.39226698875427246, 0.09814371168613434, 0.2609716057777405, 0.07423380017280579 ]
http://arxiv.org/abs/2407.02776v1
http://arxiv.org/pdf/2407.02776v1
A Framework for Quantum Finite-State Languages with Density Mapping
2024-07-03T03:06:37
2024-07-03T03:06:37
SeungYeop Baik, Sicheol Sung, Yo-Sub Han
cs.CL
cs.CL, quant-ph
A quantum finite-state automaton (QFA) is a theoretical model designed to simulate the evolution of a quantum system with finite memory in response to sequential input strings. We define the language of a QFA as the set of strings that lead the QFA to an accepting state when processed from its initial state. QFAs exemplify how quantum computing can achieve greater efficiency compared to classical computing. While being one of the simplest quantum models, QFAs are still notably challenging to construct from scratch due to the preliminary knowledge of quantum mechanics required for superimposing unitary constraints on the automata. Furthermore, even when QFAs are correctly assembled, the limitations of a current quantum computer may cause fluctuations in the simulation results depending on how an assembled QFA is translated into a quantum circuit. We present a framework that provides a simple and intuitive way to build QFAs and maximize the simulation accuracy. Our framework relies on two methods: First, it offers a predefined construction for foundational types of QFAs that recognize special languages MOD and EQU. They play a role of basic building blocks for more complex QFAs. In other words, one can obtain more complex QFAs from these foundational automata using standard language operations. Second, we improve the simulation accuracy by converting these QFAs into quantum circuits such that the resulting circuits perform well on noisy quantum computers. Our framework is available at https://github.com/sybaik1/qfa-toolkit.
[ -0.41494524478912354, -0.943750262260437, 0.8084744811058044, -0.045215338468551636, -0.44007444381713867, 0.42424476146698, 0.24756605923175812, -0.1478491723537445, 0.2634517550468445, 0.2502236068248749, -0.11285526305437088, -0.22207900881767273, -0.14642135798931122, 0.067686066031456, -0.7971991896629333, 0.3922742009162903, -0.23312877118587494, -0.2760798931121826, 0.1288602501153946, 0.08189300447702408, 0.06297722458839417, -0.4490351676940918, -0.6366680860519409, -0.09524422138929367, -0.06231984868645668, 0.04654800891876221, 1.265427589416504, 0.5921324491500854, 0.11774781346321106, 0.35583582520484924, 0.06570380181074142, -0.09521936625242233, -0.40172290802001953, -0.11475842446088791, -0.010622500441968441, -0.3908168375492096, -0.3018001317977905, -0.39211881160736084, 0.9857215285301208, 0.48033618927001953, -0.418470174074173, 0.010139651596546173, -0.5278177261352539, 0.7166348099708557, -0.5942001342773438, -0.010433980263769627, -0.19610682129859924, 0.308248370885849, -0.17987196147441864, -0.23898537456989288, -0.14270399510860443, -0.504364013671875, 0.006837406195700169, -0.9495128989219666, -0.09591473639011383, 0.20122268795967102, 0.6213393807411194, 0.14128237962722778, -0.9510694146156311, -0.03758993744850159, -0.9600326418876648, 0.5401293635368347, -0.682577908039093, 0.8064514994621277, 0.1783374696969986, 0.4900749921798706, -0.7214400768280029, -0.4263956546783447, -0.9869139194488525, -0.15148811042308807, 0.03571050986647606, 0.040062081068754196, -0.10197065770626068, 0.4256844222545624, 0.18587952852249146, 0.7736126184463501, -0.6107661128044128, -0.2225835621356964, -0.05864416062831879, -0.14299316704273224, 0.8209668397903442, 0.28875067830085754, 0.48063650727272034, 0.18938854336738586, -0.13257266581058502, -0.5046675801277161, -0.48531389236450195, 0.03329494222998619, 0.22655966877937317, -0.04018367826938629, -0.3430107831954956, 0.260140985250473, -0.5093445777893066, 0.809648871421814, 0.29918670654296875, -0.2860572040081024, 0.0667186751961708, -0.32691890001296997, -0.2972283959388733, -0.08877398818731308, 0.7372544407844543, -0.009925736114382744, 0.22345247864723206, -0.1637222319841385, -0.3384306728839874, -0.05989570543169975, 0.19184336066246033, -0.9068538546562195, -0.4158346354961395, 0.5082542300224304, -0.3879275918006897, -0.17791494727134705, -0.1708868443965912, -0.7092772126197815, -0.19796745479106903, 0.02753004990518093, 0.8171414136886597, -0.35794007778167725, -0.6546597480773926, 0.37023821473121643, -0.10921471565961838, 0.24025142192840576, 0.15300868451595306, -0.9346083402633667, 0.6181626319885254, 0.26297134160995483, 0.5564926266670227, 0.048461947590112686, -0.023867659270763397, -0.28778156638145447, 0.3506908416748047, -0.8895826935768127, 0.6998897790908813, -0.4513011872768402, -0.5687762498855591, 0.007818163372576237, -0.4181484580039978, 0.07011174410581589, -0.33878010511398315, 0.0697651132941246, -0.7647233009338379, 0.02258865348994732, -0.12105602771043777, -0.7227067351341248, -0.3830232620239258, -0.28091293573379517, -1.0489921569824219, 0.8615057468414307, 0.5327162742614746, -0.08934581279754639, 0.09391673654317856, -0.7537207007408142, -0.673751950263977, 0.01879621110856533, -0.41769182682037354, -0.23992213606834412, 0.2932131588459015, -0.25944268703460693, 0.1123049333691597, -0.5531290769577026, 0.3137747347354889, -0.3015306293964386, -0.6086030006408691, 0.5387483835220337, -0.007717821281403303, 0.9064103364944458, 0.5162761807441711, -0.5173982977867126, 0.1050899550318718, -0.9922022223472595, 0.07760881632566452, 0.04887145757675171, -0.35687053203582764, -0.17495302855968475, 0.21078471839427948, -0.05013693869113922, 0.28277578949928284, 0.15277037024497986, -0.386548787355423, 0.0038286461494863033, -0.5162419080734253, 0.5762837529182434, 0.5616929531097412, 0.1814185529947281, 0.7386332154273987, -0.27096623182296753, 0.6413205862045288, 0.28517478704452515, 0.19891786575317383, 0.1469094455242157, -0.43020525574684143, -0.6567689180374146, -0.3041688799858093, 0.2730131149291992, 0.45760929584503174, -0.7217486500740051, 0.43579399585723877, -0.00856599397957325, -0.5324773788452148, -0.43261054158210754, -0.0003149310650769621, 0.21637603640556335, 0.12604524195194244, 0.18194518983364105, -0.41395050287246704, -0.28246140480041504, -0.9737471342086792, -0.07593262940645218, -0.5250480771064758, 0.3918605446815491, -0.2612207531929016, 0.33698391914367676, -0.07476149499416351, 0.8762702345848083, -0.2328970581293106, 0.004793182015419006, 0.26002517342567444, -0.20397956669330597, -0.021513905376195908, 0.8590591549873352, 0.4925629794597626, -0.9646780490875244, -0.2715413570404053, 0.09480462968349457, -0.6666222214698792, 0.3028908967971802, -0.35244759917259216, -0.6606805920600891, 0.013413517735898495, 0.16230225563049316, -0.6733318567276001, 0.3612845242023468, 0.406031996011734, -0.6088199615478516, 0.47511813044548035, 0.17994555830955505, 0.4539436101913452, -1.1457610130310059, 0.08993708342313766, -0.24726097285747528, -0.20582719147205353, -0.7851516604423523, 0.6742995381355286, 0.05074542760848999, -0.20207296311855316, -0.2986328601837158, 0.7247140407562256, -0.23813332617282867, -0.28982433676719666, -0.13891281187534332, -0.16577257215976715, -0.02344992384314537, 0.52712482213974, -0.15251325070858002, 1.0301122665405273, 0.47545215487480164, -0.7773449420928955, 0.25214019417762756, 0.043161019682884216, -0.2453688681125641, 0.31966352462768555, -0.42890846729278564, -0.05323109030723572, 0.19435465335845947, 0.059643179178237915, -0.9063131213188171, 0.019890431314706802, 0.1071242094039917, -0.19632746279239655, -0.011137276887893677, 0.236601322889328, -0.8814635872840881, -0.08345292508602142, 0.11447872221469879, 0.7313859462738037, 0.9115718603134155, -0.2843528687953949, 1.1485289335250854, 0.5586567521095276, 0.36055296659469604, 0.055385034531354904, -0.37422996759414673, -0.32321566343307495, -0.12071936577558517, -0.4440832734107971, 0.40360814332962036, -0.48479163646698, -0.29712408781051636, 0.1568206548690796, -0.10481146723031998, -0.579357385635376, 0.7188817858695984, 0.2003367841243744, -0.10683723539113998, -0.31383490562438965, 0.2547524869441986, 0.746758222579956, 0.03376316279172897, 0.11020679026842117, -0.38639330863952637, 0.3600722551345825, -0.3196311295032501, -0.19524931907653809, -0.6738542318344116, 0.5803053379058838, 0.7007808685302734, -0.19410254061222076, 0.4651564657688141, 0.25687187910079956, -0.702420711517334, -0.21143917739391327, -0.22787325084209442, -0.2101891189813614, -0.548652708530426, 0.10341331362724304, -0.9855303168296814, -1.1246000528335571, 0.5322515964508057, -0.2827693521976471, 0.3767654597759247, 0.513784646987915, 0.5577445030212402, -0.1178712472319603, 1.3466695547103882, 0.8092975616455078, 0.17684990167617798, 0.4357866942882538, -0.05831845477223396, 0.3854992389678955, -0.38284653425216675, 0.30759015679359436, -0.23895449936389923, -0.13742779195308685, -0.4003520905971527, -0.40867897868156433, 0.25879642367362976, 0.6036303639411926, -0.4843376576900482, 0.2361845076084137, -0.23738983273506165, 0.35123199224472046, 0.326337993144989, -0.3524264693260193, 0.3657597303390503, 0.2266465425491333, -0.37806612253189087, 0.2888680696487427, -0.8530263304710388, -0.20955735445022583, 0.8855136632919312, 0.15578553080558777, 0.3273382782936096, 0.5421954393386841, 1.0925201177597046, 0.3354221284389496, 0.012044575065374374, -0.541767954826355, 0.7403976321220398, 0.15631859004497528, -0.6885818839073181, -0.44844430685043335, -0.5324491262435913, -0.6104984283447266, 0.3625580966472626, -0.3537839353084564, -0.3170093595981598, 0.4578593075275421, 0.36987289786338806, -0.7926259636878967, 0.1668774038553238, -0.6082703471183777, 0.7515799403190613, -0.08270104229450226, -0.11706922203302383, -0.6494311094284058, -0.07101887464523315, 0.5158010125160217, -0.4055855870246887, 0.4716574549674988, -0.04643387347459793, -0.0060508837923407555, 0.5930653214454651, -0.49284493923187256, 0.5508281588554382, -0.009803584776818752, -0.5360338091850281, 0.4447222054004669, 0.6679429411888123, 0.2721560597419739, 0.14588846266269684, -0.2033080756664276, -0.12372288852930069, 0.4841058850288391, -0.7126742005348206, -0.694650411605835, 0.4760894775390625, -0.8228235244750977, -0.49758172035217285, -0.29333680868148804, -0.5424230098724365, -0.1891339123249054, 0.3947826325893402, -0.2890893816947937, 0.44753214716911316, -0.2911504805088043, -0.5045564770698547, 0.7453306913375854, -0.024475321173667908, 0.013727203942835331, 0.7896605134010315, -0.6341843008995056, -0.31420108675956726, 1.104048252105713, 0.1769394725561142, 0.16105902194976807, 0.39959725737571716, 0.126091867685318, -0.21239759027957916, -0.4605241119861603, -0.8695054054260254, 0.05779041349887848, -0.6664061546325684, 0.003961092326790094, -0.333561509847641, -0.1370549350976944, -0.4522085189819336, -0.31835174560546875, -0.33918699622154236, -0.7461040019989014, 0.05243675783276558, 0.08439205586910248, 0.5279476046562195, 0.5497868061065674, -0.2745547890663147, 0.36150264739990234, -0.6109189987182617, 0.616813063621521, 0.5930063724517822, 0.4054493308067322, 0.10680598765611649, -0.31788569688796997, -0.542510449886322, -0.05015663430094719, 0.06997112929821014, -1.1192899942398071, 0.005920948926359415, 0.4914097785949707, 0.5459358096122742, 0.41075775027275085, 0.13577432930469513, 0.9521507024765015, -0.30600598454475403, 0.6102527976036072, 0.01826477237045765, -1.2488453388214111, 0.459852397441864, -0.22020263969898224, 0.2511535882949829, 0.5779523253440857, 0.3299727439880371, -0.1842012107372284, -0.6026591062545776, -0.6577708125114441, -0.5180637836456299, 0.11978540569543839, 0.13951021432876587, -0.04787786304950714, -0.25226688385009766, 0.6544049382209778, -0.17370158433914185, 0.3227338194847107, -0.2887510657310486, -0.2751401364803314, -0.18682219088077545, -0.4537234306335449, 0.02380671165883541, -0.21109186112880707, -0.2820127010345459, 0.0073241982609033585, 0.7081493735313416, -0.1913243681192398, 0.30592671036720276, 0.24093036353588104, -0.4797796905040741, -0.5629595518112183, 0.09246333688497543, 0.6226847171783447, 0.5524418354034424, 0.06150038540363312, 0.20919443666934967, -0.07821705937385559, -0.3934965133666992, 0.4771728515625, 0.11801581084728241, -0.6173093914985657, -0.08709162473678589, -0.10464240610599518, 0.6668132543563843, 0.5263351798057556, -0.9074026942253113, 0.09136220812797546, -0.05138762295246124, -0.21751368045806885, -0.4815910756587982, 0.3218945562839508, 0.08767169713973999, 0.38916289806365967, 0.4499305486679077, -0.47372111678123474, 0.6526227593421936, -0.5443715453147888, 0.25539055466651917, 0.24290384352207184, -0.03188299387693405, -0.3709462881088257, 0.6674395799636841, 0.14160007238388062, -0.27167168259620667, 0.3306986391544342, -0.6358368396759033, -0.42876914143562317, 0.5489809513092041, 0.6660050749778748, 0.8715786337852478, -0.3628653287887573, 0.17394979298114777, 0.6563112139701843, 0.34312087297439575, -0.03882739692926407, 0.6446224451065063, -0.33801668882369995, -0.683559238910675, -0.27426379919052124, -0.9404319524765015, -0.2690000832080841, -0.32093021273612976, -0.6021119952201843, -0.18365900218486786, -1.035548210144043, -0.3048447072505951, -0.33091646432876587, 0.1989431530237198, -0.4618207812309265, 0.2111479938030243, 0.09406202286481857, 0.8314890265464783, -0.8843064308166504, 0.9150779843330383, 0.7572668790817261, -0.28631845116615295, -0.8139411211013794, -0.23206333816051483, -0.03253582492470741, -0.5111188292503357, 0.24149496853351593, -0.3156929016113281, -0.27623528242111206, 0.6960247755050659, -0.1511584222316742, -1.4008409976959229, 1.0192294120788574, 0.14786240458488464, -0.6930987238883972, 0.09910829365253448, -0.038307949900627136, 0.40865570306777954, -0.23359675705432892, -0.08480159193277359, 0.656037449836731, 0.2833766043186188, -0.576335608959198, -0.7823386192321777, 0.5369719862937927, -0.4047923982143402, 0.39998146891593933, 0.5965609550476074, -0.7302646636962891, 0.8889740109443665, -0.12146133929491043, -0.6345835328102112, 0.2971545159816742, 1.0655081272125244, 0.48849964141845703, -0.15733963251113892, 0.7166739702224731, 0.7084415555000305, 0.6746621131896973, 0.1947993040084839, 0.8100045323371887, -0.7205172181129456, 0.14481452107429504, 0.6699090600013733, -0.42597293853759766, 0.9129325747489929, 0.5339993834495544, -0.3886009454727173, 0.9757451415061951, 0.3903869092464447, 0.16285020112991333, 0.3141113817691803, 0.3615342378616333, -0.30169588327407837, -0.5606498718261719, 0.2928628623485565, -0.3777013421058655, 0.018330438062548637, 0.5068597793579102, 0.09228447079658508, -0.13753359019756317, 0.022335300222039223, -0.2958853542804718, 0.19156304001808167, -0.17177489399909973, 0.595548152923584, 0.11049418896436691, -0.23532071709632874, 0.8189629316329956, 0.1289907693862915, 0.22615492343902588, -0.4351099133491516, -0.2860134243965149, -0.20873166620731354, -0.4860111176967621, -0.1036704033613205, -0.37393832206726074, 0.16204111278057098, -0.41166800260543823, -0.2857127785682678, 0.2975548505783081, 0.47051703929901123, -0.46803727746009827, -0.3657177984714508, 0.1155930757522583, 0.4033338725566864, 0.2789660692214966, 0.29058921337127686, -0.7753303050994873, 0.2117118090391159, -0.23742234706878662, -0.20157496631145477, 0.4448390007019043, 0.36430981755256653, -0.2899323105812073, 0.605712890625, 0.8339983820915222, -0.2399691790342331, 0.36265236139297485, -0.2933996915817261, 0.5548842549324036, -0.8071309924125671, -0.8625165224075317, -0.37720608711242676, 0.3209291994571686, 0.16934067010879517, -0.32651907205581665, 0.49433809518814087, 0.5114092230796814, 0.6917484402656555, 0.04382416233420372, 0.6802425384521484, -0.0005242559709586203, 0.1733248233795166, -0.6369718313217163, 0.9698590040206909, -0.7757148146629333, -0.10742703080177307, -0.014827948994934559, -0.7371824383735657, 0.02550455927848816, 0.9964619278907776, 0.1813417673110962, -0.009420985355973244, 0.6803836822509766, 0.808587372303009, 0.21072708070278168, -0.022794216871261597, 0.6359778642654419, 0.3263576626777649, 0.18577858805656433, 0.9029665589332581, 0.5866348743438721, -0.7114766240119934, 0.20266322791576385, -0.5345574617385864, -0.27302074432373047, -0.24240712821483612, -0.36262157559394836, -0.5302197337150574, -0.9058298468589783, -0.5495941042900085, -0.28665632009506226, 0.1348744034767151, 0.6673327088356018, 0.6867315769195557, -0.7644687294960022, -0.6375811696052551, -0.31820014119148254, 0.15130026638507843, -0.3811734914779663, -0.24637241661548615, 0.1899188756942749, -0.12500536441802979, -0.6241868138313293, 0.5763973593711853, 0.3505636751651764, 0.48989713191986084, -0.5312824249267578, -0.33055514097213745, -0.0061940280720591545, 0.45217597484588623, 0.6883423328399658, 0.6853113174438477, -0.5521780848503113, -0.06574214994907379, -0.16043485701084137, -0.3289543688297272, -0.2626294493675232, 0.617164134979248, -0.9958145618438721, 0.5120769143104553, 0.3086863160133362, 0.7706223130226135, 0.2223149687051773, -0.474445104598999, 0.9257975220680237, 0.09181547164916992, 0.10844153165817261, 0.0835174098610878, 0.10856509208679199, -0.1527029126882553, -0.422161340713501, 0.22420072555541992, 0.11056823283433914, -0.2552947998046875, -0.9631331562995911, 0.626146137714386, -1.0312246084213257, -0.32262471318244934, 0.8032703399658203, 0.21213117241859436, -0.4939727187156677, -0.2689144015312195, 0.21518594026565552, 0.29937121272087097, -0.34436124563217163, 0.7783656120300293, 0.4365149736404419, 0.12985731661319733, -0.16925670206546783, -0.44901496171951294, 0.8138963580131531, 0.7888171672821045, -0.5514199733734131, -0.35764384269714355, 0.5032132267951965, 0.21680016815662384, 0.19202537834644318, 1.1834747791290283, -0.1664431244134903, 0.9749694466590881, 0.09105741232633591, 0.28982916474342346, 0.2314375638961792, -0.18972644209861755, -0.6340749263763428, 0.20108503103256226, 0.3816542625427246, 0.266065388917923 ]
http://arxiv.org/abs/2407.02775v1
http://arxiv.org/pdf/2407.02775v1
MLKD-BERT: Multi-level Knowledge Distillation for Pre-trained Language Models
2024-07-03T03:03:30
2024-07-03T03:03:30
Ying Zhang, Ziheng Yang, Shufan Ji
cs.CL
cs.CL, cs.LG
Knowledge distillation is an effective technique for pre-trained language model compression. Although existing knowledge distillation methods perform well for the most typical model BERT, they could be further improved in two aspects: the relation-level knowledge could be further explored to improve model performance; and the setting of student attention head number could be more flexible to decrease inference time. Therefore, we are motivated to propose a novel knowledge distillation method MLKD-BERT to distill multi-level knowledge in teacher-student framework. Extensive experiments on GLUE benchmark and extractive question answering tasks demonstrate that our method outperforms state-of-the-art knowledge distillation methods on BERT. In addition, MLKD-BERT can flexibly set student attention head number, allowing for substantial inference time decrease with little performance drop.
[ -0.6804898977279663, -0.8887283802032471, 0.5420455932617188, 0.15626537799835205, -0.2679685354232788, 0.2180323749780655, -0.27804726362228394, -0.23651431500911713, -0.12226230651140213, 0.28130605816841125, -0.5917690396308899, -0.3711441159248352, -0.8359565734863281, -0.18438231945037842, -0.45898622274398804, 1.0978103876113892, 0.21969816088676453, 0.1755674034357071, -0.37934646010398865, 0.19900530576705933, -0.3173747658729553, -0.6377266049385071, -0.5267154574394226, -0.24200308322906494, 0.7755375504493713, 0.3295111358165741, 0.2192315012216568, 0.4200046956539154, 0.5528177618980408, 0.3439512848854065, -0.28658047318458557, -0.052842769771814346, -0.6289082169532776, 0.36389726400375366, 0.0020791469141840935, -0.5102828741073608, -0.34143713116645813, 0.018159111961722374, 0.4875110387802124, 0.9149562120437622, -0.31930094957351685, 0.27063190937042236, 0.41709157824516296, 0.922464907169342, -0.7649208307266235, -0.02572673372924328, -0.7823929786682129, -0.03151606395840645, -0.010306763462722301, 0.11070653796195984, -0.44114449620246887, -0.4459649622440338, 0.5541979074478149, -0.4294891059398651, 0.34722593426704407, -0.30558016896247864, 0.7566182017326355, 0.5624184012413025, -0.43879005312919617, -0.08798887580633163, -0.8735178709030151, 0.8476038575172424, -0.9243574142456055, 0.40728259086608887, 0.4642176032066345, 0.5701155662536621, 0.05703992769122124, -0.9597694277763367, -0.7268849611282349, 0.03145277872681618, 0.04822155833244324, -0.012956270948052406, 0.3280273675918579, 0.30707958340644836, 0.477664053440094, 0.4375782608985901, -0.30972880125045776, -0.23079144954681396, -0.47605717182159424, 0.04176296293735504, 0.2720457911491394, -0.27262741327285767, 0.03100535459816456, 0.13880164921283722, -0.4532225728034973, -0.2863406240940094, -0.5131375193595886, 0.0989055261015892, 0.26653698086738586, 0.24767987430095673, 0.39850232005119324, 0.2690727412700653, -0.17890897393226624, 0.8425740003585815, 0.1864837408065796, -0.5133064985275269, 0.12766508758068085, -0.11507248133420944, -0.28613385558128357, 0.15407779812812805, 0.37730154395103455, 0.05647333338856697, 0.4586590826511383, -0.03999631851911545, -0.010191593319177628, -0.18212129175662994, 0.24968867003917694, -1.1409275531768799, -0.6260721683502197, 0.26271721720695496, -0.5765936374664307, -0.29767510294914246, -0.030449653044342995, -0.7521905899047852, -0.2580547034740448, -0.4155908524990082, 0.47022250294685364, -0.43683508038520813, -0.5227178931236267, 0.019470274448394775, -0.4650510251522064, -0.11563281714916229, 0.30276772379875183, -1.0229015350341797, 0.08515160530805588, 0.5768298506736755, 0.5556453466415405, -0.029730405658483505, -0.36153730750083923, -0.10622004419565201, 0.28160199522972107, -0.04768095538020134, 0.5335752367973328, -0.5638193488121033, -0.12765300273895264, -0.22732533514499664, -0.32427889108657837, 0.05943116545677185, -0.5819444060325623, 0.33952444791793823, -0.410186767578125, 0.14285510778427124, -0.5207508206367493, -0.9079357981681824, -0.21862953901290894, 0.22963163256645203, -0.684302568435669, 1.205497145652771, 0.13153453171253204, -0.8782480955123901, 0.6575921177864075, -0.43801844120025635, -0.41608190536499023, -0.01200819294899702, 0.05510152131319046, -0.2690024673938751, 0.21471332013607025, 0.5999657511711121, 0.6077267527580261, 0.05287545919418335, 0.33130186796188354, -0.549227774143219, -0.12555161118507385, -0.11322169750928879, -0.38199692964553833, 0.9837961196899414, 0.35191041231155396, -0.013735145330429077, -0.1673862785100937, -0.8208590745925903, 0.03931991010904312, 0.012159163132309914, -0.5091053247451782, -0.7424399852752686, -0.14401359856128693, -0.25327634811401367, 0.31003597378730774, 0.5135613679885864, -0.6039097309112549, 0.4614265561103821, -0.2816135883331299, 0.2707628905773163, 0.8155595064163208, 0.14834772050380707, 0.3746795952320099, -0.12803976237773895, 0.2993994355201721, 0.19997741281986237, 0.17058676481246948, -0.11784917116165161, -0.5667677521705627, -0.8582374453544617, -0.399074524641037, 0.47326067090034485, 0.3160097897052765, -0.8162803053855896, 0.47865116596221924, -0.015360092744231224, -0.5844728946685791, -0.8598526120185852, 0.2579071819782257, 0.28832998871803284, 0.849602997303009, 0.41214510798454285, 0.07516364753246307, -0.5519851446151733, -0.7961136698722839, -0.13335315883159637, -0.1338501274585724, -0.10173826664686203, 0.05448666214942932, 0.15646691620349884, 0.11274173110723495, 1.080603837966919, -0.755955696105957, -0.2198283076286316, -0.2565549910068512, 0.4643171727657318, 0.3038060963153839, 0.5624531507492065, 0.8107109069824219, -0.8144542574882507, -0.8741303086280823, -0.31564080715179443, -0.48656338453292847, 0.030376361683011055, 0.134894460439682, -0.2538844048976898, -0.009959097020328045, 0.4616867005825043, -0.5271511673927307, 0.2328418791294098, 0.5043708086013794, -0.09071528911590576, 0.5137540698051453, -0.3331432342529297, 0.2530032992362976, -1.3469587564468384, -0.011944329366087914, -0.19907858967781067, -0.18418532609939575, -0.8339330554008484, -0.1075851172208786, 0.1594359129667282, 0.01248636282980442, -0.42346489429473877, 0.080580934882164, -0.45557424426078796, 0.07791340351104736, -0.31996750831604004, 0.020601551979780197, 0.07422666251659393, 0.6824552416801453, 0.14854370057582855, 0.4254027009010315, 0.6133193373680115, -0.6197121739387512, 0.5746346712112427, 0.07827477902173996, -0.6806317567825317, 0.4115716516971588, -0.5995275378227234, 0.28902819752693176, -0.24780206382274628, 0.11878252774477005, -1.308808445930481, 0.20989257097244263, -0.2666754722595215, -0.37819281220436096, 0.467307448387146, -0.24230967462062836, -0.43094417452812195, -0.6195042133331299, -0.11432712525129318, 0.39197036623954773, 0.5699747204780579, -0.5815921425819397, 0.5420079827308655, 0.3129638731479645, -0.36216482520103455, -0.9281835556030273, -0.6811383962631226, -0.22529157996177673, -0.41797730326652527, -0.4821065366268158, 0.1757924109697342, -0.4299507439136505, -0.10472878068685532, 0.10543455928564072, -0.4617072641849518, -0.6320843696594238, 0.1664792001247406, -0.15269362926483154, 0.1907164752483368, -0.15081240236759186, 0.10988228768110275, 0.401054710149765, 0.07765207439661026, 0.053095489740371704, -0.2595982551574707, 0.5100849270820618, 0.2853426933288574, -0.19312947988510132, -0.36939749121665955, 0.44086751341819763, 0.5143243074417114, -0.08539416640996933, 0.9875727891921997, 0.7252612113952637, -0.4816753566265106, -0.22486576437950134, -0.7711905241012573, -0.5841950178146362, -0.4895847737789154, 0.418750137090683, -0.6850996017456055, -0.9145678877830505, 0.4119378924369812, -0.2772197723388672, 0.24095267057418823, 0.21957609057426453, 0.5929137468338013, -0.4194742739200592, 1.0135878324508667, 0.7221579551696777, -0.25899770855903625, 0.5399390459060669, -0.17864251136779785, 0.27136746048927307, -0.4725934863090515, -0.2027684599161148, -0.6768750548362732, -0.5830966234207153, -0.104598768055439, -0.05903514474630356, 0.20553027093410492, 0.5775220394134521, -0.07224172353744507, 0.3071538805961609, -0.6149889230728149, 0.6482775211334229, 0.784899115562439, 0.17245233058929443, 0.2103080302476883, -0.11803872883319855, -0.16251198947429657, -0.14453189074993134, -0.6370239853858948, -0.14072903990745544, 1.1786645650863647, 0.2557881772518158, 0.7836863994598389, 0.013757673092186451, 1.0196892023086548, 0.14112871885299683, 0.15663523972034454, -0.5715276002883911, 0.41828441619873047, -0.09779759496450424, -0.8771456480026245, -0.6399408578872681, -0.43850433826446533, -0.6932616829872131, 0.3369859457015991, -0.14373473823070526, -0.7050364017486572, 0.1576765775680542, 0.28888705372810364, -0.3841836154460907, 0.2716529667377472, -1.053173303604126, 0.886806845664978, -0.027127522975206375, 0.2685604691505432, -0.34222060441970825, -0.7930724024772644, 0.46961939334869385, -0.3022646903991699, 0.028211869299411774, -0.225238636136055, 0.324153870344162, 0.8369337320327759, -0.6347405314445496, 0.6718742847442627, -0.7306461930274963, -0.3926915228366852, 0.20533062517642975, -0.06947759538888931, 0.5240951776504517, -0.06944873183965683, 0.23279491066932678, 0.017743561416864395, 0.2975899577140808, -0.3129267394542694, -0.8813668489456177, 0.5654399991035461, -0.6974787712097168, -0.6658857464790344, 0.013804201036691666, -0.8722386360168457, -0.3611668050289154, 0.274847149848938, 0.034454070031642914, 0.19092683494091034, 0.09725046157836914, 0.42846038937568665, 0.9258543848991394, -0.044772759079933167, 0.5243123173713684, 0.49325719475746155, -0.24632956087589264, -0.2205582857131958, 0.9201903939247131, 0.2386995404958725, 0.4009230136871338, 0.5928588509559631, 0.28426316380500793, -0.3681989014148712, -0.5328722596168518, -0.025792792439460754, -0.11776166409254074, -0.7423092722892761, -0.147623673081398, -0.7725886702537537, -0.33897489309310913, -0.8239133358001709, 0.09987284988164902, -0.5036942958831787, -0.6795594692230225, -0.06541819870471954, -0.11061082035303116, 0.16793419420719147, 0.6661171317100525, -0.11076740175485611, 0.21532925963401794, -0.9187883734703064, 0.6025226712226868, 0.7148528695106506, 0.07746433466672897, 0.19869136810302734, -0.35816672444343567, -0.35731732845306396, 0.1681891679763794, -0.1637316644191742, -0.8459641933441162, 0.24269361793994904, 0.6053161025047302, 0.7202688455581665, 0.7666480541229248, 0.4444565176963806, 0.8913196921348572, -0.6023654341697693, 0.6527191996574402, 0.25344863533973694, -0.8645896911621094, 0.6870558857917786, 0.08986368775367737, 0.4439280331134796, 0.6199191212654114, 0.6575948596000671, -0.2734167277812958, -0.761762261390686, -0.4764453172683716, -0.8680007457733154, 0.62967848777771, 0.010844173841178417, -0.013655092567205429, 0.2296587973833084, 0.21377965807914734, 0.29698631167411804, 0.40674784779548645, -0.5080413222312927, -0.5368157625198364, -0.17392417788505554, -0.32504788041114807, 0.002183185890316963, -0.6591127514839172, -0.06147720664739609, -0.6812964677810669, 0.5768721103668213, 0.2016485333442688, 0.12174950540065765, -0.0003683466056827456, -0.21091562509536743, 0.1974031627178192, 0.1555478572845459, 0.4183148443698883, 0.774176836013794, -0.6425911784172058, 0.2624288499355316, 0.19947867095470428, -0.7411779761314392, 0.2274237722158432, 0.15030233561992645, 0.20515193045139313, -0.14136244356632233, 0.25853845477104187, 0.5862821340560913, -0.045376524329185486, -0.3461243212223053, 0.36056891083717346, -0.25346383452415466, -0.43929117918014526, 0.10761366784572601, 0.08501236885786057, 0.2841666340827942, 0.49015820026397705, 0.6580619215965271, -0.20181666314601898, 0.1711079478263855, -0.2772873044013977, 0.43517759442329407, 0.11590874195098877, -0.1080549955368042, -0.014619122259318829, 0.525292158126831, 0.30816540122032166, 0.1367695927619934, 0.7275177240371704, 0.058087337762117386, -0.41106116771698, 0.5091614127159119, 0.4549119472503662, 0.6941649317741394, -0.6567949056625366, -0.0018332231556996703, 0.4477190673351288, 0.1262231469154358, 0.06827943027019501, 0.35981497168540955, -0.5710701942443848, -0.8653993010520935, -0.7126287817955017, -0.7334679365158081, -0.15173636376857758, 0.31898918747901917, -1.0249171257019043, -0.04199299216270447, -0.2895399332046509, -0.17751632630825043, 0.1893090158700943, 0.06211569532752037, -0.47282397747039795, 0.13947199285030365, 0.12327558547258377, 0.8748018741607666, -0.7283043265342712, 1.5101290941238403, 0.5294061303138733, -0.22982029616832733, -0.7821479439735413, 0.0034056378062814474, -0.2702673673629761, -0.605694591999054, 1.0130547285079956, 0.057983338832855225, 0.18280856311321259, 0.23624283075332642, -0.42954888939857483, -0.7814342379570007, 0.9507375955581665, 0.7375547289848328, -0.926179051399231, -0.1940498948097229, 0.1735338717699051, 0.3825206756591797, -0.100919209420681, 0.04945366457104683, 0.7238133549690247, 0.4812813103199005, 0.3337353467941284, -1.0338187217712402, -0.2669813334941864, -0.13331986963748932, 0.05144181847572327, 0.16119107604026794, -0.13716883957386017, 0.9880762696266174, -0.19278420507907867, -0.19144581258296967, -0.2619338631629944, 0.8575429916381836, 0.06753187626600266, -0.036573685705661774, 0.7156265377998352, 0.9618939757347107, 0.8789363503456116, -0.11546279489994049, 0.5421540141105652, -0.5342517495155334, 0.6252792477607727, 1.2618584632873535, -0.15472082793712616, 0.7261639833450317, 0.6559756398200989, -0.306831955909729, 0.42089641094207764, 0.5882868766784668, 0.20400995016098022, 1.0430357456207275, 0.21385368704795837, -0.3464398682117462, -0.324736624956131, 0.16814270615577698, -0.563723623752594, 0.14817063510417938, 0.22779572010040283, -0.08126258105039597, -0.32683223485946655, 0.35330185294151306, -0.07428934425115585, -0.16935093700885773, -0.14983373880386353, 1.0448062419891357, 0.024243684485554695, -0.6914779543876648, 0.8201426267623901, -0.44291096925735474, 0.5898609757423401, -0.5592134594917297, -0.1800757646560669, -0.03947338089346886, 0.3899837136268616, 0.05485894903540611, -0.7239698171615601, 0.2128194123506546, -0.1372969150543213, -0.46767720580101013, -0.41808679699897766, 0.8187686204910278, -1.056042194366455, -0.299235999584198, 0.19057594239711761, 0.523578941822052, 0.26159945130348206, -0.32348954677581787, -0.8048086762428284, -0.13561700284481049, 0.05244177207350731, -0.37484225630760193, 0.3821297585964203, 0.7110950946807861, 0.5923762917518616, 0.6098619103431702, 0.5404599905014038, 0.11548300832509995, 0.3221893012523651, 0.30836421251296997, 1.044907569885254, -0.27357661724090576, -0.40934672951698303, -0.9378083348274231, 0.5258206129074097, -0.1632900983095169, 0.009634886868298054, 0.8878175616264343, 0.4020709991455078, 0.9318305850028992, -0.2941009998321533, 0.9155182242393494, -0.25265273451805115, 0.7143466472625732, -0.37583357095718384, 0.9867501854896545, -0.49402090907096863, -0.035638436675071716, -0.485867977142334, -1.2092400789260864, 0.06478186696767807, 0.6446600556373596, 0.06560885906219482, 0.0898088663816452, 0.789804995059967, 0.39135104417800903, 0.12174566835165024, -0.12885251641273499, 0.47185370326042175, 0.22553911805152893, 0.40438371896743774, 0.679970383644104, 0.8012722730636597, -0.08918120712041855, 0.6416333913803101, -0.6386252641677856, -0.2136303186416626, 0.018089555203914642, -0.925285279750824, -1.2638458013534546, -0.954902708530426, -0.20933127403259277, -0.012547881342470646, -0.027612414211034775, 0.6392247676849365, 1.0086561441421509, -0.8094720840454102, -0.024706024676561356, -0.027286671102046967, 0.0317402146756649, -0.4195375442504883, -0.2314530462026596, 0.4103984534740448, -0.6999638676643372, -1.0134203433990479, 0.33343273401260376, -0.12750522792339325, 0.12744179368019104, -0.45363956689834595, 0.04298026114702225, -0.4635673463344574, -0.09895070642232895, 0.5747413635253906, -0.04659314453601837, -0.5420018434524536, -0.14503444731235504, -0.3084241449832916, -0.01304640807211399, -0.1200108602643013, 0.9337410926818848, -0.7635142803192139, 0.5603492259979248, 0.7058959007263184, 0.6260915994644165, 0.7242608666419983, 0.09894999861717224, 0.6624581217765808, -1.2936493158340454, 0.49023813009262085, 0.16869382560253143, 0.3173474669456482, -0.028208013623952866, -0.2507779896259308, 0.20995603501796722, 0.22604221105575562, -0.5680058002471924, -0.9173641204833984, 0.05204786732792854, -0.7939096093177795, -0.5266979336738586, 0.8999267816543579, -0.6089049577713013, -0.07559778541326523, -0.11794158816337585, -0.369049072265625, 0.42931175231933594, -0.4777542054653168, 0.9388469457626343, 1.0255948305130005, 0.11163926869630814, -0.3753243088722229, -0.3437005877494812, 0.7375136017799377, 0.18320105969905853, -0.8019228577613831, 0.17503543198108673, 0.2344156950712204, 0.1997041255235672, 0.14748723804950714, 0.43309831619262695, 0.24726076424121857, -0.09623213857412338, 0.0238055270165205, 0.2213740199804306, -0.16447187960147858, -0.7491635084152222, 0.1352541148662567, 0.2658385932445526, 0.057176265865564346, -0.2900122404098511 ]
http://arxiv.org/abs/2407.02772v1
http://arxiv.org/pdf/2407.02772v1
Automatic gradient descent with generalized Newton's method
2024-07-03T03:01:43
2024-07-03T03:01:43
Zhiqi Bu, Shiyun Xu
cs.LG
cs.LG, cs.CL, cs.CV
We propose the generalized Newton's method (GeN) -- a Hessian-informed approach that applies to any optimizer such as SGD and Adam, and covers the Newton-Raphson method as a sub-case. Our method automatically and dynamically selects the learning rate that accelerates the convergence, without the intensive tuning of the learning rate scheduler. In practice, out method is easily implementable, since it only requires additional forward passes with almost zero computational overhead (in terms of training time and memory cost), if the overhead is amortized over many iterations. We present extensive experiments on language and vision tasks (e.g. GPT and ResNet) to showcase that GeN optimizers match the state-of-the-art performance, which was achieved with carefully tuned learning rate schedulers. Code to be released at \url{https://github.com/ShiyunXu/AutoGeN}.
[ -0.47294536232948303, -0.30837759375572205, 0.28558972477912903, -0.10647594183683395, -0.2689751386642456, 0.5540826916694641, -0.08076111227273941, -0.414028137922287, 0.19390416145324707, -0.3191472887992859, -0.6703093647956848, -0.21361932158470154, -0.4165896773338318, 0.01880432292819023, -0.3925434947013855, 0.9951967597007751, -0.16670344769954681, 0.2585752010345459, -0.14048486948013306, -0.05273720994591713, 0.5825538635253906, -0.14967238903045654, -1.3088072538375854, -0.2975355386734009, 0.3961615562438965, 0.017324935644865036, 0.42055052518844604, 1.0637438297271729, 0.6185404062271118, 0.3381819725036621, -0.0714825913310051, 0.0009319435339421034, -0.31793278455734253, -0.05338313803076744, -0.003939169924706221, -0.22490103542804718, -0.18847300112247467, -0.037683941423892975, 0.7373635172843933, 0.6261621117591858, -0.59687739610672, 0.2877940833568573, 0.13276658952236176, 0.9802036285400391, -0.8182661533355713, -0.10372107475996017, -0.4138096272945404, 0.4904314875602722, 0.15285895764827728, -0.18858830630779266, 0.06188549846410751, -0.4867238700389862, 0.06372224539518356, -0.8552401661872864, 0.8710863590240479, 0.07208287715911865, 0.535713255405426, 0.4249531626701355, -0.07525325566530228, -0.10092627257108688, -0.6451514363288879, 0.7417488098144531, -0.032288115471601486, 0.2545790672302246, -0.1792728155851364, 0.6694243550300598, 0.18831592798233032, -0.9654921293258667, -0.2804924547672272, -0.5732117891311646, 0.11345776915550232, 0.33807608485221863, -0.09567312896251678, 0.3573589622974396, 0.5650048851966858, 0.6260779500007629, -0.7321178913116455, -0.06001032143831253, -0.25269681215286255, 0.04798675328493118, 0.7199769616127014, 0.11296136677265167, 0.29658418893814087, 0.2711208164691925, -0.4600381851196289, -0.14681831002235413, -0.5428284406661987, 0.19314728677272797, 0.8297232389450073, 0.019777268171310425, -0.06908567249774933, 0.26281580328941345, -0.30314159393310547, 0.6287549138069153, 0.38940656185150146, 0.2510889768600464, 0.46524927020072937, -0.4177175760269165, -0.14399608969688416, -0.30106842517852783, 0.6539174318313599, 0.17744016647338867, 0.4875577688217163, -0.3398362994194031, -0.37875622510910034, -0.00793288554996252, 0.47009801864624023, -0.8365984559059143, -0.4029960036277771, -0.11287648975849152, -0.4270256757736206, -0.27625927329063416, -0.18318483233451843, -1.16199791431427, -0.24861878156661987, -0.41157883405685425, 0.31937935948371887, -0.07111620903015137, 0.018372781574726105, -0.20367032289505005, -0.14594031870365143, 0.294015109539032, 0.1710621565580368, -1.0542422533035278, 0.48895326256752014, 0.3220343291759491, 0.9119226932525635, -0.153712660074234, -0.1324814110994339, -0.9532603025436401, -0.21914610266685486, -0.45582103729248047, 0.43240025639533997, -0.5241692066192627, -0.6131218671798706, 0.07156749069690704, -0.1645062118768692, -0.27091866731643677, -0.388415664434433, 0.42105838656425476, -0.3793916404247284, 0.25012749433517456, -0.20924347639083862, -0.39995482563972473, -0.49809136986732483, -0.16215309500694275, -0.3679421842098236, 0.9386215806007385, 0.27945515513420105, -0.5471500754356384, 0.47767865657806396, -1.057018518447876, -0.5341223478317261, 0.19136561453342438, -0.2974078953266144, -0.43443435430526733, 0.11529780924320221, 0.32807013392448425, 0.2728910744190216, -0.29235556721687317, 0.2221968173980713, -0.1497543603181839, -0.36962971091270447, -0.6530454158782959, -0.18732739984989166, 0.7866783142089844, 0.39784863591194153, -0.7900999784469604, 0.20492976903915405, -0.9822028279304504, -0.027238676324486732, 0.3730672001838684, -0.09892471879720688, -0.005726518575102091, 0.4340852200984955, -0.30565503239631653, -0.010430372320115566, 0.23474836349487305, -0.4665350914001465, 0.3904714584350586, -0.43387553095817566, 0.4076733887195587, 0.5949706435203552, -0.2666564881801605, 0.6665817499160767, -0.1952645480632782, 0.9216709733009338, -0.446928471326828, 0.4370405077934265, 0.04245622456073761, -0.36013317108154297, -0.8075260519981384, -0.11283362656831741, 0.3033961057662964, 0.6395960450172424, -0.751575231552124, 0.43363460898399353, -0.03278428688645363, -0.36353495717048645, -0.2536187767982483, 0.030600547790527344, 0.590030312538147, 0.7579533457756042, 0.5728393197059631, -0.3229726254940033, -0.3888950049877167, -0.7282410860061646, -0.2167220413684845, -0.2165096402168274, -0.10160884261131287, 0.47292205691337585, 0.3066544830799103, -0.1350962072610855, 0.6879692077636719, -0.47890031337738037, 0.15451353788375854, 0.060700275003910065, 0.41723453998565674, -0.05011867731809616, 0.7156550288200378, 0.9282265305519104, -0.5540253520011902, -0.5405754446983337, 0.03753124922513962, -0.5025343298912048, -0.24807962775230408, 0.012200734578073025, -0.14414168894290924, 0.17207598686218262, 0.6578031778335571, -0.025316128507256508, 0.46152374148368835, 0.4737612307071686, -0.03768308460712433, 0.46307313442230225, -0.35769322514533997, 0.1332988291978836, -0.8747715353965759, 0.23811902105808258, 0.282756507396698, -0.20443175733089447, -0.4044201672077179, 0.16249307990074158, 0.023886092007160187, -0.10993953049182892, -0.21032604575157166, 0.35229700803756714, -0.47579383850097656, -0.3970082402229309, -0.06924742460250854, -0.20560894906520844, -0.24465475976467133, 0.32405567169189453, -0.12032091617584229, 1.2205764055252075, 0.8340812921524048, -0.8372040390968323, 0.4947955012321472, -0.02441001869738102, -0.13476547598838806, 0.28112784028053284, -0.794154703617096, 0.19672666490077972, -0.3570191562175751, 0.0922858715057373, -0.8224044442176819, 0.05390596017241478, 0.5825676321983337, -0.4613244831562042, 0.600161075592041, -0.5509273409843445, 0.03827948123216629, -0.6503318548202515, -0.3434872329235077, 0.4783326983451843, 0.7368479371070862, -0.8462132811546326, 0.7940483689308167, 0.059226348996162415, -0.029672374948859215, -0.9712050557136536, -0.4158755838871002, -0.07911811769008636, -0.21183016896247864, -0.19774454832077026, 0.44131407141685486, -0.3587055206298828, -0.08060109615325928, -0.1475888192653656, 0.08254683017730713, 0.16981451213359833, 0.11120592802762985, 0.001962993061169982, 0.13682056963443756, -0.010798747651278973, -0.06941407173871994, 0.039761606603860855, -0.2777918875217438, 0.10804958641529083, -0.8450683951377869, 0.40370088815689087, -0.3135482966899872, -0.2827145755290985, -0.33060991764068604, 0.2860928475856781, 0.3607145845890045, -0.24357300996780396, 0.35678690671920776, 0.9838832020759583, -0.21333442628383636, -0.32155656814575195, -0.35812312364578247, -0.02255968004465103, -0.4921935796737671, 0.2648703157901764, -0.2615790069103241, -0.7035038471221924, 0.8063926696777344, -0.056189242750406265, 0.1566465049982071, 0.734777569770813, 0.4052853584289551, -0.009835705161094666, 1.2545357942581177, 0.6996559500694275, -0.2672138512134552, 0.6266415119171143, -0.6502189040184021, 0.03335888683795929, -0.7393766045570374, -0.2166333943605423, -0.5703015923500061, -0.5588372945785522, -0.7004438638687134, 0.005696383770555258, 0.31437209248542786, 0.029961058869957924, -0.4163023829460144, 0.1768408864736557, -0.7278873920440674, 0.6712802052497864, 0.7544071674346924, -0.3160836398601532, -0.0018053909298032522, 0.11924107372760773, -0.4227164685726166, 0.3873969316482544, -0.906921923160553, 0.1742756962776184, 1.1342467069625854, 0.06999502331018448, 0.8157947063446045, -0.35355281829833984, 0.7279524207115173, 0.2847217917442322, 0.3495613932609558, -0.7193297743797302, 0.5404080152511597, -0.23097340762615204, -0.26225560903549194, -0.13301993906497955, -0.7670413255691528, -0.9269818663597107, 0.14750279486179352, -0.01545131765305996, -0.5384882688522339, 0.43483656644821167, 0.5866501331329346, -0.7393872737884521, 0.4981069266796112, -0.7122376561164856, 0.473784476518631, -0.23989218473434448, -0.11267028748989105, -0.2568356394767761, -0.8759914636611938, 0.1810157597064972, -0.15120309591293335, -0.12523873150348663, -0.061531998217105865, -0.2751072347164154, 0.7775208950042725, -0.41097137331962585, 0.454525351524353, -0.7408856153488159, 0.1760507971048355, 0.26889941096305847, -0.13406509160995483, 0.5835797190666199, 0.13993403315544128, 0.28973084688186646, 0.10187994688749313, -0.4725489616394043, -0.279308021068573, -0.5297031998634338, 0.6338453888893127, -0.5701398253440857, -0.22335733473300934, -0.5323281288146973, -0.2602125406265259, -0.11917499452829361, -0.03787896782159805, 0.5143886208534241, 0.5521443486213684, 0.0046907770447432995, -0.20726607739925385, 0.3746493458747864, -0.10993246734142303, 0.9551982879638672, 0.42448392510414124, -0.21242180466651917, -0.6958657503128052, 0.7466132640838623, -0.03155584633350372, 0.28839051723480225, 0.02502845786511898, 0.29714491963386536, -0.515197217464447, -0.9268774390220642, -0.8220619559288025, 0.06117743253707886, -0.4776003956794739, -0.17100746929645538, -0.4006791412830353, -0.22380325198173523, -0.15330232679843903, -0.4448044002056122, -0.2662862539291382, -0.2804422676563263, -0.3726411461830139, 0.006268125958740711, 0.20766860246658325, 0.523869514465332, -0.35602810978889465, 0.2822127044200897, -0.6060396432876587, 0.44096076488494873, 0.5264548659324646, 0.41434958577156067, -0.1546163260936737, -0.5179851055145264, -0.19283857941627502, -0.057490065693855286, 0.0011507547460496426, -0.04527534916996956, 0.21335507929325104, 0.7118415236473083, 0.6700392961502075, 0.6683610081672668, -0.28034019470214844, 0.5299246311187744, -0.874147355556488, 0.6687697172164917, 0.4013167917728424, -0.7493622303009033, 0.48281604051589966, -0.3078712224960327, -0.04615738242864609, 0.6744123697280884, 0.6505438685417175, -0.03893117606639862, 0.05094822496175766, -0.676261305809021, -0.6761864423751831, 0.3309159278869629, 0.03734775632619858, 0.0104678338393569, 0.05471289902925491, 0.7116069793701172, 0.02175854705274105, 0.157191663980484, -0.23513847589492798, -0.42180654406547546, -0.04859507828950882, -0.1642712503671646, -0.25276413559913635, -0.11511184275150299, -0.255748450756073, -0.6492860317230225, 0.585576593875885, -0.41846805810928345, 0.44927623867988586, 0.32540619373321533, -0.0011343795340508223, -0.5744928121566772, -0.21941950917243958, 0.7430773973464966, 0.8360950946807861, -0.16138955950737, -0.22499170899391174, 0.11396504938602448, -0.8101349472999573, 0.31885260343551636, 0.5341399908065796, -0.6415789127349854, -0.15207096934318542, -0.29735490679740906, 0.7434310913085938, -0.3182743787765503, -0.2992106080055237, 0.4513600468635559, -0.30493637919425964, -0.695577085018158, -0.27102553844451904, 0.32116425037384033, -0.4111315906047821, 0.33120715618133545, 0.6168719530105591, 0.43811848759651184, 0.3677861988544464, 0.09355780482292175, 0.3412390947341919, 0.611894428730011, -0.19886694848537445, -0.24411283433437347, 1.0102958679199219, 0.4215236008167267, -0.11897248774766922, 0.33145982027053833, -0.7041202187538147, -0.5170033574104309, 0.7932749390602112, 0.3370228409767151, 1.4986727237701416, -0.40640559792518616, 0.2213117778301239, 0.5066263675689697, 0.32945266366004944, -0.2888488173484802, 0.41269224882125854, -0.06883081793785095, -0.5911763310432434, -0.9606603980064392, -0.7732312083244324, -0.44054192304611206, 0.023035336285829544, -0.6467553377151489, -0.1330116093158722, -0.6865675449371338, -0.16626031696796417, -0.016815023496747017, 0.09365960955619812, -0.44569122791290283, 0.45737510919570923, 0.20492467284202576, 0.7225522994995117, -0.47633975744247437, 0.45963191986083984, 0.7384859919548035, 0.025286108255386353, -0.27823004126548767, 0.11520253866910934, -0.11237040162086487, -0.9190613627433777, 0.586654543876648, -0.05001421272754669, -0.6431006193161011, 0.6133339405059814, -0.47798067331314087, -0.8001294732093811, 0.8899528980255127, 0.5287894010543823, -0.8220454454421997, -0.1522967666387558, -0.33952972292900085, 0.23521678149700165, -0.31532615423202515, 0.19334708154201508, 0.4124641418457031, 0.3376212418079376, 0.11135222017765045, -0.674345850944519, -0.38545459508895874, -0.3543957471847534, 0.1898908019065857, 0.49249714612960815, -0.6634680032730103, 0.6125404834747314, -0.5555007457733154, -0.2146604210138321, 0.01463967002928257, 0.7060567140579224, -0.318337082862854, 0.30436402559280396, 0.7274312376976013, 0.9022750854492188, 0.7549537420272827, -0.08646882325410843, 1.0793784856796265, -0.8207288384437561, 0.606482207775116, 0.3990110754966736, 0.09304606914520264, 0.08230791985988617, 0.1531224548816681, -0.54496830701828, 0.38468730449676514, 0.6725125908851624, -0.2116418033838272, 0.4823780655860901, 0.5836368203163147, -0.5553154945373535, 0.0372859463095665, 0.16510382294654846, -0.4053054451942444, 0.20838406682014465, 0.15425609052181244, -0.3361772894859314, -0.2584366202354431, 0.05057935416698456, -0.22716043889522552, -0.2142234742641449, -0.7112260460853577, 0.5293660759925842, -0.1561519056558609, -0.42003825306892395, 0.7946719527244568, -0.2222341150045395, 0.8037499785423279, -0.589196503162384, 0.2976859509944916, -0.20268940925598145, -0.02597721666097641, -0.022949520498514175, -0.18592700362205505, 0.23305222392082214, -0.08976510912179947, 0.026668606325984, -0.08782020211219788, 0.6440497040748596, -0.46076685190200806, -0.4522775411605835, 0.1851251870393753, 0.4130595028400421, -0.2089761197566986, 0.04707813262939453, -0.9668964147567749, -0.4843352138996124, -0.11623316258192062, -0.29077836871147156, 0.18143485486507416, -0.15690912306308746, 0.27685806155204773, 0.8090886473655701, 0.694948136806488, 0.029985198751091957, 0.15149261057376862, 0.23703305423259735, 0.6810736060142517, -0.5393956899642944, -0.48908326029777527, -0.7454857230186462, 0.10014888644218445, -0.11220932006835938, -0.45823609828948975, 0.35478800535202026, 0.5851801037788391, 0.9330413341522217, -0.030975250527262688, 0.8131341934204102, -0.054098255932331085, 0.4867626428604126, -0.623724102973938, 0.6833892464637756, -0.6992620229721069, -0.26957446336746216, -0.04926074296236038, -1.1004736423492432, -0.4171951413154602, 0.756263017654419, -0.25283655524253845, 0.5643429160118103, 0.8811429142951965, 0.448822945356369, -0.004752791952341795, -0.1570768505334854, 0.024628233164548874, -0.48512566089630127, 0.2375713437795639, 0.4745514988899231, 0.5915602445602417, -0.04836840182542801, 0.39619192481040955, -0.4589424431324005, -0.2482188642024994, -0.0710059255361557, -1.062401533126831, -0.6252521872520447, -0.3359132409095764, -0.6209874749183655, -0.1494077742099762, 0.3975667953491211, 0.8059828877449036, 0.6748992204666138, -0.8947098851203918, 0.04432554543018341, -0.6956800222396851, -0.49499088525772095, -0.3378199338912964, -0.16157843172550201, 0.40720945596694946, -0.9528273940086365, -1.0247488021850586, 0.67420893907547, 0.29791581630706787, 0.3086243271827698, -0.2122257798910141, -0.1514318585395813, 0.1423911452293396, -0.21562179923057556, 0.06265319138765335, 0.6935478448867798, -0.2768409550189972, -0.20227393507957458, -0.3148723244667053, 0.08310143649578094, 0.2832276225090027, 1.0204697847366333, -0.818884551525116, 0.5310956239700317, 0.5295204520225525, 1.0442564487457275, 0.5786246657371521, 0.4269753694534302, 0.6547980904579163, -0.5674464106559753, 0.07383829355239868, 0.4303337335586548, 0.37707680463790894, 0.210576593875885, -0.25528210401535034, 0.8155003190040588, 0.751763105392456, -0.7230719923973083, -0.46644681692123413, 0.17312629520893097, -0.6218833327293396, 0.2141173630952835, 0.9245980978012085, -0.021321889013051987, -0.17981573939323425, 0.0316307507455349, 0.08564769476652145, 0.25538042187690735, -0.3388426601886749, 0.7569913864135742, 0.20260873436927795, -0.20979999005794525, -0.045553240925073624, -0.6411511301994324, 1.1869598627090454, 0.5131232738494873, -0.6869174242019653, -0.11650228500366211, 0.3479163944721222, 0.07933720201253891, 0.0864393338561058, 0.432901531457901, 0.14970502257347107, 0.24011991918087006, -0.1131935641169548, 0.3365344703197479, -0.19689811766147614, -0.537052571773529, -0.7330871820449829, -0.073348768055439, -0.3250909447669983, -0.610899031162262 ]
http://arxiv.org/abs/2407.02751v1
http://arxiv.org/pdf/2407.02751v1
Emotion and Intent Joint Understanding in Multimodal Conversation: A Benchmarking Dataset
2024-07-03T01:56:00
2024-07-03T01:56:00
Rui Liu, Haolin Zuo, Zheng Lian, Xiaofen Xing, Björn W. Schuller, Haizhou Li
cs.CL
cs.CL, cs.AI
Emotion and Intent Joint Understanding in Multimodal Conversation (MC-EIU) aims to decode the semantic information manifested in a multimodal conversational history, while inferring the emotions and intents simultaneously for the current utterance. MC-EIU is enabling technology for many human-computer interfaces. However, there is a lack of available datasets in terms of annotation, modality, language diversity, and accessibility. In this work, we propose an MC-EIU dataset, which features 7 emotion categories, 9 intent categories, 3 modalities, i.e., textual, acoustic, and visual content, and two languages, i.e., English and Mandarin. Furthermore, it is completely open-source for free access. To our knowledge, MC-EIU is the first comprehensive and rich emotion and intent joint understanding dataset for multimodal conversation. Together with the release of the dataset, we also develop an Emotion and Intent Interaction (EI$^2$) network as a reference system by modeling the deep correlation between emotion and intent in the multimodal conversation. With comparative experiments and ablation studies, we demonstrate the effectiveness of the proposed EI$^2$ method on the MC-EIU dataset. The dataset and codes will be made available at: https://github.com/MC-EIU/MC-EIU.
[ -0.5023275017738342, -0.6427567601203918, 0.6318387985229492, 0.22831130027770996, -0.23867088556289673, -0.2859624922275543, -0.2949153780937195, -0.4253217875957489, 0.49677643179893494, 0.2714560627937317, -0.6341513395309448, -0.45185548067092896, -0.4188852608203888, -0.07753680646419525, 0.2585155665874481, 0.6838927865028381, -0.20248974859714508, 0.10932464897632599, -0.3115117847919464, -0.7204790115356445, -0.3248511552810669, -0.3813110589981079, -0.45434099435806274, -0.11676523089408875, 0.7935535907745361, 0.8594842553138733, 0.24841223657131195, 0.1230940967798233, 0.5461500883102417, 0.2523593306541443, 0.2746243178844452, 0.19926781952381134, -0.6965262293815613, 0.053480006754398346, 0.18296095728874207, -0.1952982097864151, -0.5623115301132202, 0.024749470874667168, 0.3828452229499817, 0.2651319205760956, -0.12965449690818787, 0.06673961877822876, -0.4029192328453064, 0.6330878138542175, -0.9651107788085938, 0.3390621840953827, -0.36303651332855225, 0.016084885224699974, -0.056045182049274445, -0.23648476600646973, -0.5716292858123779, -0.07873840630054474, 0.05395055562257767, -0.427061527967453, -0.36218664050102234, 0.149400994181633, 0.5204970836639404, 0.07230930775403976, -0.9416006803512573, -0.29293251037597656, -0.5360278487205505, 0.6706840991973877, -0.3206333816051483, 0.6811191439628601, 0.2643824517726898, 0.32286474108695984, 0.11926359683275223, -0.47571226954460144, -0.7607586979866028, -0.058757830411195755, -0.038046568632125854, 0.4538497030735016, -0.1919724941253662, 0.30941078066825867, 0.2522207200527191, 0.26500749588012695, -0.6950038075447083, -0.13595889508724213, -0.0900748074054718, 0.006705250591039658, 0.5876171588897705, 0.22960501909255981, 0.39439329504966736, -0.07736565917730331, -0.46874481439590454, -0.40386900305747986, -0.2560194432735443, 0.0974574163556099, 0.32040271162986755, -0.0490509532392025, -0.36709970235824585, 0.710555374622345, -0.4038335680961609, 0.26367002725601196, -0.3102911412715912, -0.1622753143310547, 0.5365458726882935, -0.41919854283332825, -0.2998904585838318, 0.11202718317508698, 0.9779049754142761, 0.7767523527145386, 0.1485714465379715, 0.03948577120900154, 0.29371780157089233, 0.2310677319765091, 0.12543226778507233, -0.7736850380897522, -0.014119594357907772, 0.47769302129745483, -0.4747355580329895, 0.04732738062739372, 0.017923418432474136, -0.8534167408943176, -0.19511663913726807, -0.2950313687324524, 0.21439799666404724, -0.323493629693985, -0.5826826691627502, -0.10966335237026215, -0.07740919291973114, 0.021016255021095276, 0.22147472202777863, -0.7664380073547363, 0.13470400869846344, 0.5306729674339294, 0.5573990941047668, 0.013623280450701714, -0.32216691970825195, -0.2133951485157013, 0.16890917718410492, 0.01947847008705139, 0.4915345013141632, -0.750511109828949, -0.2939116358757019, -0.07690653949975967, 0.03556988015770912, -0.2717224657535553, -0.08890340477228165, 0.8838354349136353, -0.12923645973205566, 0.040584009140729904, -0.07049312442541122, -0.2267034500837326, -0.5823665261268616, 0.582465410232544, -0.7947292923927307, 0.6873631477355957, -0.2843836843967438, -0.5366034507751465, 0.12836356461048126, -0.9381103515625, -0.27663251757621765, -0.33769670128822327, -0.20988880097866058, -0.3724639117717743, 0.3029775023460388, 0.12643541395664215, 0.42480581998825073, -0.1954517364501953, 0.28776875138282776, -0.615850031375885, -0.042752668261528015, 0.3668713867664337, -0.5316333770751953, 0.32258841395378113, 0.3501869738101959, -0.3158724308013916, 0.07374370843172073, -0.8917033076286316, -0.05972636118531227, -0.06618920713663101, -0.031382493674755096, -0.3238077163696289, -0.13783124089241028, 0.08824773877859116, 0.474591463804245, -0.0036800396628677845, -0.7557080388069153, -0.04486366733908653, 0.27879399061203003, 0.07081562280654907, 0.4958023726940155, -0.14586886763572693, 0.2855379581451416, 0.056809645146131516, 0.2601734399795532, 0.6998363137245178, 0.3231397271156311, -0.39550167322158813, -0.48095595836639404, -0.6749882698059082, -0.15647216141223907, -0.21249622106552124, 0.38275617361068726, -0.8102230429649353, -0.17198830842971802, -0.42523035407066345, -0.31061220169067383, -0.6517019271850586, -0.2210026979446411, 0.6148446202278137, 0.3757355809211731, 0.24359077215194702, -0.3823215365409851, -0.39443162083625793, -0.9345611333847046, -0.08740531653165817, -0.3202129304409027, 0.2613280415534973, 1.1418547630310059, 0.08184191584587097, -0.3675934970378876, 0.5979925990104675, -0.2418842613697052, -0.05311741679906845, -0.030968861654400826, 0.7136515974998474, -0.14763282239437103, 0.37844565510749817, 0.4333365857601166, -1.1140352487564087, -0.3397430181503296, 0.08705180883407593, -0.799627423286438, 0.12176202237606049, -0.1732306033372879, -0.5116172432899475, 0.1703789234161377, 0.1394171416759491, -0.4506423771381378, 0.37031489610671997, 0.7953140139579773, -0.29970693588256836, 0.11856205016374588, 0.0782056599855423, 0.8957518339157104, -1.1054543256759644, 0.11725709587335587, 0.2095729559659958, 0.1287911981344223, -0.9320396184921265, -0.34374067187309265, 0.30940863490104675, -0.09141664206981659, -0.8540141582489014, 0.29281049966812134, -0.44116735458374023, -0.05563754960894585, 0.1658668965101242, 0.23992076516151428, 0.0791424959897995, 0.8588199019432068, 0.19504764676094055, 0.37465155124664307, 0.22226986289024353, -0.4691721498966217, 0.2616859972476959, 0.35892629623413086, -0.037806250154972076, 0.7881771922111511, -0.19632656872272491, 0.3904366195201874, -0.23789967596530914, 0.27637341618537903, -1.0608203411102295, -0.3329743444919586, 0.39563509821891785, -0.4732207655906677, 0.16558216512203217, -0.1801193654537201, -0.13279995322227478, -0.0063871219754219055, -0.26476749777793884, 0.7349328398704529, 0.10745476186275482, -0.47951605916023254, 0.9245872497558594, 0.3715614378452301, -0.11746291816234589, -0.7248517274856567, -0.6341679096221924, 0.1658019870519638, -0.0531005784869194, -0.7882188558578491, 0.1514379233121872, -0.3216659724712372, -0.17220428586006165, -0.2779902219772339, 0.29854854941368103, -0.29990270733833313, -0.06833694130182266, 0.5139368176460266, 0.19995422661304474, -0.19941329956054688, 0.26075196266174316, 0.20417724549770355, -0.02441304177045822, 0.10223356634378433, 0.3595280349254608, 0.38705742359161377, -0.10669256001710892, -0.49101027846336365, -0.5754414200782776, 0.45945173501968384, 0.9819324016571045, -0.12745235860347748, 0.6864122152328491, 1.029584288597107, -0.26637938618659973, 0.4883289933204651, -0.699784517288208, 0.09055037796497345, -0.33460474014282227, 0.3879034221172333, -0.7062649726867676, -0.7934285402297974, 0.38816648721694946, -0.31999850273132324, 0.13677920401096344, 0.2558792233467102, 0.5908088088035583, 0.10003197193145752, 1.2221190929412842, 0.398501992225647, 0.028156574815511703, 0.578621506690979, -0.06676995754241943, 0.11332695186138153, -1.1075185537338257, -0.46843475103378296, -0.32860514521598816, -0.642097532749176, -0.47011953592300415, -0.17270690202713013, 0.20154441893100739, -0.16810324788093567, 0.15437108278274536, 0.03154762461781502, 0.03665391728281975, 0.2523236870765686, 0.2965993881225586, 0.32696181535720825, 0.11540376394987106, -0.14287661015987396, -0.022098107263445854, 0.03707462549209595, -0.3230583369731903, -0.3103805184364319, 1.0193053483963013, 0.3992765247821808, 0.5858790278434753, 0.4829622805118561, 0.5379149317741394, -0.1533968150615692, 0.361399382352829, -0.7950477600097656, 0.3927920162677765, 0.10758810490369797, -0.48945173621177673, -0.14660532772541046, -0.694043755531311, -0.718083381652832, 0.29596033692359924, -0.20517493784427643, -0.9614993333816528, 0.4335517883300781, -0.003542055608704686, 0.0036110938526690006, 0.17896632850170135, -1.0852947235107422, 1.06796395778656, -0.2966260313987732, -0.3976077437400818, -0.33819887042045593, -0.7738422751426697, 0.5284013748168945, 0.31783363223075867, 0.2998655140399933, -0.5423122048377991, 0.14995074272155762, 0.6683446168899536, -0.015411682426929474, 0.5535864233970642, -0.21522864699363708, 0.13081520795822144, 0.2182365506887436, -0.11802228540182114, 0.36644867062568665, 0.19370029866695404, -0.1650857925415039, 0.23335808515548706, -0.20222648978233337, -0.11971186101436615, -0.6034236550331116, 0.6842546463012695, -0.6725845336914062, 0.06942329555749893, -0.12942658364772797, -0.6040194034576416, -0.18327347934246063, -0.08446177840232849, -0.07688648998737335, 0.6864201426506042, -0.527732253074646, 0.35817357897758484, 0.6044704914093018, -0.12477375566959381, 0.4964125156402588, 0.4659031629562378, 0.06046539545059204, -0.44848647713661194, 1.0460543632507324, -0.284105509519577, 0.2144649773836136, 0.45124879479408264, 0.057328443974256516, -0.32996290922164917, -0.05170990899205208, -0.5090737342834473, 0.08422359079122543, -0.6883453130722046, -0.01683872938156128, -1.0511763095855713, 0.48798078298568726, -0.523562490940094, 0.16629807651042938, -0.25685641169548035, -0.20566502213478088, -0.276923805475235, -0.03138861432671547, 0.3505253493785858, 0.5776161551475525, 0.03751125559210777, 0.07461899518966675, -0.8641977310180664, 0.4221813380718231, 0.2439303994178772, 0.5804651975631714, -0.06358469277620316, 0.13322393596172333, -0.11170267313718796, 0.3353635370731354, -0.2567480802536011, -0.8158469796180725, 0.29543840885162354, 0.41181856393814087, 0.421505868434906, 0.679074227809906, 0.2686215937137604, 0.6541764736175537, -0.27975934743881226, 0.7012977600097656, 0.4586648643016815, -0.8139352202415466, 0.4558345675468445, -0.10888534784317017, 0.23779986798763275, 0.7920417785644531, 0.5697843432426453, -0.8575331568717957, -0.05711977928876877, -0.4941084086894989, -0.7269294261932373, 1.0084314346313477, 0.25659623742103577, -0.09970642626285553, -0.21463091671466827, 0.02690516971051693, 0.020334213972091675, 0.14210493862628937, -0.5656941533088684, -0.4533815085887909, -0.13365551829338074, -0.706127941608429, -0.2572309672832489, -0.5189345479011536, -0.24524837732315063, 0.06093750149011612, 0.49118879437446594, -0.22501444816589355, 0.6162922978401184, 0.16015996038913727, -0.46000373363494873, -0.16124773025512695, 0.47973325848579407, 0.8565716743469238, 0.33507040143013, -0.3320606052875519, 0.2103520929813385, 0.09144028276205063, -0.6972494125366211, 0.08365720510482788, -0.16155023872852325, 0.6091600656509399, 0.01526936236768961, -0.1769372671842575, 1.1656920909881592, 0.3597396910190582, -0.680610179901123, 0.5167689323425293, -0.7011967897415161, -0.16031034290790558, -0.058228399604558945, -0.31970006227493286, -0.03823795169591904, 0.3485625684261322, -0.01396059338003397, -0.0899231880903244, 0.5734103322029114, -0.7985945343971252, 0.05237811803817749, 0.041792552918195724, -0.6559787392616272, -0.29575231671333313, 0.26085489988327026, 0.48404961824417114, -0.07632733136415482, 0.6479141116142273, -0.11047998815774918, -0.4339255392551422, 0.5473909378051758, 0.31392034888267517, 0.9071722030639648, -0.003937569912523031, 0.21836310625076294, 0.323473185300827, -0.013088691048324108, 0.21777412295341492, 0.5758213996887207, -0.25047567486763, -0.634579598903656, -0.13591837882995605, -0.22663943469524384, -0.7764003276824951, -0.24238064885139465, -0.7794908285140991, 0.054196797311306, -0.06428583711385727, -0.10839464515447617, -0.1250866800546646, -0.2557777464389801, -0.7936579585075378, 0.27298372983932495, 0.37658005952835083, 0.4349035620689392, -0.8075234889984131, 0.61213618516922, 0.762339174747467, -0.23114153742790222, -0.6482071876525879, -0.3271481692790985, 0.29221782088279724, -0.4662622809410095, 0.4472061097621918, 0.4867134988307953, -0.21720139682292938, -0.1305357664823532, -0.23194076120853424, -0.5638440251350403, 1.2552862167358398, 0.19421504437923431, -0.5299854874610901, 0.5452373027801514, 0.1384679228067398, 0.2691034972667694, -0.6223686337471008, 0.9870457649230957, 0.46480461955070496, 0.537253201007843, 0.27840903401374817, -0.763168454170227, -0.15644943714141846, -0.6460343599319458, -0.3119848370552063, 0.41399863362312317, -0.8442010879516602, 0.5827383399009705, -0.02823871187865734, -0.3265302777290344, -0.283883273601532, 0.5726739764213562, 0.07514480501413345, 0.8859243988990784, 0.49342697858810425, 0.8155908584594727, 0.5479928851127625, -0.40201860666275024, 0.8487223386764526, -0.38207459449768066, 0.2819802165031433, 0.8437955975532532, -0.3271962106227875, 1.0299201011657715, 0.4808541238307953, 0.13111691176891327, 0.4067574143409729, 0.524157702922821, 0.49459487199783325, 0.18186195194721222, -0.26217734813690186, -0.49439454078674316, -0.03715134039521217, -0.43231847882270813, -0.22097007930278778, 0.5688380002975464, 0.48991408944129944, -0.2798556983470917, 0.2228400856256485, 0.250397264957428, 0.0031062632333487272, -0.6136166453361511, -0.21274645626544952, 1.1986701488494873, -0.16509011387825012, -0.5435187816619873, 0.12408645451068878, -0.29219165444374084, 0.6167335510253906, -0.4092772603034973, -0.08413276821374893, -0.1852666437625885, 0.009616518393158913, -0.24612240493297577, -0.6751939654350281, 0.04802609607577324, -0.05527837574481964, 0.022687364369630814, 0.008902185596525669, 0.5550107955932617, -0.7653658390045166, -0.1990976631641388, 0.3229180574417114, 0.2293616384267807, 0.43663719296455383, -0.03937910869717598, -0.5451500415802002, 0.46966737508773804, -0.17634734511375427, -0.36780253052711487, 0.19479863345623016, 0.6311156153678894, 0.27789491415023804, 0.38072389364242554, 0.44741255044937134, -0.6274110078811646, -0.0686299279332161, 0.5265812873840332, 0.6594782471656799, -0.48061293363571167, -0.3855903744697571, -0.6955952644348145, 0.7783501744270325, -0.0917801633477211, -0.4918653070926666, 0.3185186982154846, 0.40884432196617126, 0.7216946482658386, 0.13243308663368225, 0.5415346026420593, -0.21010638773441315, -0.008829114958643913, -0.47531476616859436, 0.5160492658615112, -0.7121174931526184, -0.3798676133155823, -0.5537418127059937, -0.7759533524513245, -0.1144496500492096, 0.24154114723205566, -0.05008940026164055, 0.09791052341461182, 0.7576146125793457, 0.627450704574585, -0.16358105838298798, 0.36164024472236633, 0.6149757504463196, 0.041098833084106445, 0.19566099345684052, 0.9089626669883728, 0.6298934817314148, -0.5202450156211853, 0.6541883945465088, -0.4144616723060608, -0.3901843726634979, -0.492288202047348, -0.8747221827507019, -0.6064090132713318, -0.6805813312530518, -0.3514840006828308, -0.09810100495815277, -0.024905577301979065, 0.92926025390625, 0.6307843923568726, -0.6225880980491638, -0.188041090965271, 0.17927759885787964, 0.057881440967321396, -0.014546073041856289, -0.16476008296012878, -0.039410676807165146, -0.006673566997051239, -0.8598517179489136, 0.29832151532173157, 0.5301339626312256, 0.09959546476602554, -0.005322516430169344, -0.5187623500823975, -0.5048453211784363, 0.03760844096541405, 0.707779586315155, 0.17189250886440277, -0.580810546875, -0.342447429895401, -0.01316988468170166, -0.058053579181432724, 0.2820110023021698, 0.9213855266571045, -0.24817325174808502, 0.9043043851852417, 0.48141729831695557, 0.559806227684021, 0.5203088521957397, -0.16751734912395477, 0.49320611357688904, -0.7805896997451782, 0.12059538066387177, -0.03711233660578728, 0.612694501876831, 0.12137778848409653, -0.4538671672344208, 0.5280261039733887, 0.00934863556176424, -0.5369381308555603, -0.5234983563423157, 0.31393447518348694, -1.4310967922210693, 0.13078507781028748, 1.000791072845459, -0.3547457158565521, -0.2680056393146515, -0.02067483589053154, -0.45874395966529846, 0.5273297429084778, -0.7024023532867432, 0.4678032696247101, 0.660019040107727, -0.3688541054725647, -0.7225548624992371, -0.23318518698215485, 0.06737091392278671, 0.4470662474632263, -1.0554802417755127, 0.08145294338464737, 0.588426411151886, -0.4025454819202423, 0.22806784510612488, 0.5388534665107727, 0.013009948655962944, 0.4133371114730835, 0.15676862001419067, 0.40576085448265076, -0.11486831307411194, -0.6329662799835205, -0.3637367784976959, 0.11568734794855118, -0.33926185965538025, -0.3587636351585388 ]
http://arxiv.org/abs/2407.02750v1
http://arxiv.org/pdf/2407.02750v1
Learning to Reduce: Towards Improving Performance of Large Language Models on Structured Data
2024-07-03T01:51:50
2024-07-03T01:51:50
Younghun Lee, Sungchul Kim, Ryan A. Rossi, Tong Yu, Xiang Chen
cs.CL
cs.CL
Large Language Models (LLMs) have been achieving competent performance on a wide range of downstream tasks, yet existing work shows that inference on structured data is challenging for LLMs. This is because LLMs need to either understand long structured data or select the most relevant evidence before inference, and both approaches are not trivial. This paper proposes a framework, Learning to Reduce, that fine-tunes a language model with On-Policy Learning to generate a reduced version of an input structured data. When compared to state-of-the-art LLMs like GPT-4, Learning to Reduce not only achieves outstanding performance in reducing the input, but shows generalizability on different datasets. We further show that the model fine-tuned with our framework helps LLMs better perform on table QA tasks especially when the context is longer.
[ -0.1906985491514206, -0.5439658761024475, 0.6893625259399414, -0.14287173748016357, -0.025540003553032875, -0.2005028873682022, -0.42005375027656555, -0.23943699896335602, -0.22714266180992126, 0.6210870146751404, -0.6923600435256958, -0.659843385219574, -0.34438279271125793, 0.11504019796848297, -0.4057573080062866, 1.063041090965271, 0.020305410027503967, -0.04631039500236511, -0.12297169119119644, 0.013754133135080338, -0.30668821930885315, -0.3512914180755615, -0.879114031791687, -0.44322332739830017, 0.515407383441925, 0.4050464928150177, 0.43123185634613037, 0.7714158296585083, 0.4416627287864685, 0.2767651677131653, -0.33703625202178955, 0.18059629201889038, -1.0067980289459229, 0.050494350492954254, -0.37990808486938477, -0.7409145832061768, -0.21210405230522156, -0.18885453045368195, 0.7914667129516602, 0.9609680771827698, -0.274921178817749, 0.15147779881954193, 0.09194520115852356, 0.6279395818710327, -0.6096378564834595, 0.7532988786697388, -0.6529965996742249, 0.12675981223583221, 0.057434484362602234, 0.05287080630660057, -0.5875250101089478, -0.2563507854938507, -0.20354966819286346, -0.6530718803405762, 0.28187504410743713, -0.2401942014694214, 0.8183542490005493, 0.3833753764629364, -0.550771176815033, 0.008684138767421246, -0.8767322301864624, 0.738854706287384, -0.6551268696784973, 0.5451903939247131, 0.5186632871627808, 0.06531805545091629, -0.15841077268123627, -0.7513021230697632, -0.48271632194519043, -0.10989011824131012, -0.09991678595542908, -0.16025826334953308, 0.04560022056102753, 0.27370038628578186, 0.3512880206108093, 0.2915627062320709, -0.3236173689365387, 0.21848265826702118, -0.588407576084137, -0.09387645125389099, 0.6250977516174316, 0.18461112678050995, -0.15868806838989258, 0.0820702537894249, 0.049568191170692444, -0.09489631652832031, -1.2197831869125366, 0.06631670147180557, -0.09240128099918365, 0.40615928173065186, 0.031390972435474396, 0.3179745078086853, -0.4191572368144989, 0.5130767226219177, -0.08500509709119797, -0.17108112573623657, 0.030858179554343224, -0.17912812530994415, -0.28196266293525696, -0.2729226052761078, 0.31516674160957336, 0.35051393508911133, 0.21883898973464966, -0.3020325303077698, -0.577143132686615, 0.24903887510299683, 0.041481733322143555, -1.081882119178772, -0.4753675162792206, -0.08949737250804901, -0.35554495453834534, -0.17990128695964813, -0.331584095954895, -0.21348737180233002, -0.23712293803691864, -0.4343912899494171, 0.11417149752378464, -0.16243618726730347, 0.23206275701522827, 0.07205316424369812, 0.2542412579059601, 0.37337931990623474, 0.6681554317474365, -0.7974196076393127, 0.5587298274040222, 0.8463087677955627, 0.7596210241317749, -0.11247408390045166, -0.034095633774995804, -0.893220067024231, 0.5408443808555603, -0.7507425546646118, 0.5707418322563171, -0.5494772791862488, -0.41336360573768616, 0.0409049317240715, 0.01818978600203991, -0.015619972720742226, -0.7855743169784546, 0.40186113119125366, -0.45360174775123596, 0.23366431891918182, -0.17333273589611053, -0.6863366365432739, -0.2754169702529907, 0.4181930422782898, -0.8033746480941772, 0.8449813723564148, 0.44180887937545776, -0.17618224024772644, 0.5998766422271729, -0.718417763710022, -0.6601442098617554, -0.08550810068845749, -0.07469133287668228, -0.5986306667327881, 0.3595874607563019, 0.36919668316841125, 0.5231489539146423, -0.36746203899383545, 0.2884172201156616, -0.44668665528297424, -0.28627726435661316, -0.11960668116807938, -0.06855458766222, 0.3757624924182892, 0.48329997062683105, 0.1155630573630333, 0.3230237066745758, -0.9401193857192993, -0.06537829339504242, 0.13186396658420563, -0.8357812762260437, -0.19175738096237183, 0.31114888191223145, 0.18674339354038239, 0.21483740210533142, -0.18989317119121552, -0.4641498923301697, 0.3441762626171112, -0.7326304912567139, 0.863672137260437, 0.6121587157249451, -0.08576714992523193, 0.5402982234954834, -0.2885679602622986, 0.4177931845188141, -0.20788121223449707, 0.2479940503835678, 0.3205157518386841, -0.13014204800128937, -0.8273184895515442, -0.3495156764984131, 0.4242136776447296, 0.5451912879943848, -0.8969599604606628, 0.11486712098121643, -0.5214658379554749, 0.021177830174565315, -0.3800193667411804, 0.3814901113510132, 0.5249882936477661, 0.36478960514068604, 0.4556525647640228, -0.32194453477859497, -0.3180452585220337, -0.6883609890937805, -0.06665126979351044, -0.24582861363887787, -0.49097228050231934, 0.03724055364727974, 0.3439734876155853, -0.21379472315311432, 0.8224338889122009, -0.5200432538986206, -0.3658970296382904, -0.4277435839176178, -0.22958782315254211, 0.19738033413887024, 0.4692770838737488, 0.4209851920604706, -0.6674720048904419, -0.2742008864879608, 0.06831292062997818, -0.4020855128765106, -0.012781288474798203, 0.0005022358382120728, 0.3075595200061798, 0.27022498846054077, 0.7332550287246704, -0.6063736081123352, 0.5199719667434692, 0.3963635563850403, -0.22324278950691223, 0.15536080300807953, -0.12779492139816284, -0.013748247176408768, -1.0691936016082764, -0.17770078778266907, -0.08105748891830444, -0.5499204397201538, -0.7793250679969788, 0.12104950845241547, 0.038979671895504, -0.3528684377670288, -0.5156323909759521, 0.46925991773605347, -0.29425057768821716, -0.11011720448732376, 0.014459129422903061, -0.3319607079029083, 0.22928938269615173, 0.6070389747619629, 0.09900517016649246, 0.7467015385627747, 0.20060086250305176, -0.8376761674880981, 0.02436402626335621, 0.6747019290924072, -0.49706658720970154, 0.26319652795791626, -0.5465310215950012, -0.008631797507405281, 0.057122353464365005, 0.1294090747833252, -0.8042939305305481, -0.07822699844837189, 0.14243747293949127, -0.05785375460982323, 0.5535410046577454, -0.3038153052330017, -0.42537638545036316, -0.12299086898565292, -0.23038993775844574, 0.17174650728702545, 0.4754081666469574, -0.5962179899215698, 0.35999050736427307, 0.2482263147830963, -0.2662447392940521, -0.14326387643814087, -0.940558910369873, -0.012649539858102798, -0.2118639498949051, -0.40446925163269043, 0.8163244128227234, 0.10689396411180496, -0.11514480412006378, -0.09007752686738968, -0.20765279233455658, -0.2910168170928955, 0.30092334747314453, -0.1166817769408226, -0.10922322422266006, -0.1386764496564865, 0.6731610298156738, 0.1288987696170807, 0.00007812526018824428, 0.2133140116930008, 0.10865678638219833, 0.3671102225780487, 0.027434932067990303, -0.2064196616411209, -0.6204549670219421, 0.2619923949241638, 0.3125540316104889, -0.14882422983646393, 0.8916133642196655, 0.1827678233385086, -0.2649144232273102, -0.540722668170929, -0.1664348989725113, -0.40406399965286255, -0.495586097240448, 0.5946558117866516, -0.5657166838645935, -1.0843043327331543, 0.559541642665863, -0.35600605607032776, 0.067426398396492, 0.2874985635280609, 0.35651326179504395, 0.16646838188171387, 0.967735230922699, 0.7672280073165894, -0.32169198989868164, 0.6083821654319763, -0.3286057412624359, 0.4398648142814636, -0.4399435520172119, -0.12203571200370789, -0.6368800401687622, 0.035435110330581665, -0.7155417799949646, -0.560219407081604, 0.15616707503795624, 0.09940217435359955, -0.39299774169921875, -0.17596624791622162, -0.30134114623069763, 0.517127275466919, 0.08281408995389938, 0.41120457649230957, 0.37373632192611694, -0.08550713956356049, 0.32657086849212646, 0.35145750641822815, -0.8731989860534668, -0.2844093143939972, 1.118788480758667, 0.40131184458732605, 0.7695585489273071, 0.2530517876148224, 0.6165967583656311, 0.40976759791374207, 0.36174502968788147, -0.7907471656799316, 0.4831452965736389, -0.1803664118051529, -0.14051824808120728, -0.5266397595405579, -0.8347771167755127, -0.9859638810157776, 0.013645719736814499, -0.25137585401535034, -0.1944282501935959, -0.026291223242878914, 0.31193771958351135, -0.18086425960063934, 0.15196755528450012, -0.5758308172225952, 0.6601278185844421, 0.08123475313186646, -0.29616039991378784, -0.47249335050582886, -0.3053779602050781, 0.31565335392951965, -0.071220263838768, 0.32610073685646057, -0.11500374227762222, -0.15854260325431824, 0.5917192697525024, -0.8474787473678589, 0.904048502445221, -0.21231068670749664, -0.26697179675102234, 0.11416549980640411, 0.18184222280979156, 0.9112520813941956, 0.02141079306602478, -0.07779664546251297, -0.08021972328424454, -0.024295365437865257, -0.5415458679199219, -0.6835127472877502, 0.5201093554496765, -0.5436351895332336, -0.4412998557090759, 0.16785602271556854, -0.6683269143104553, -0.39218857884407043, -0.1326749175786972, -0.08392981439828873, 0.4147404134273529, -0.15565526485443115, 0.2598980963230133, 0.7406272292137146, -0.21039249002933502, 0.21281029284000397, 0.3406791090965271, -0.37183088064193726, -0.17238575220108032, 0.7469733357429504, 0.32305118441581726, 0.2920444905757904, 0.5438112616539001, 0.2129848748445511, -0.5944050550460815, -1.118489146232605, -0.013232309371232986, 0.16079303622245789, -0.9133217334747314, -0.19830858707427979, -0.22004705667495728, 0.03279269486665726, -0.6891705989837646, -0.008850228041410446, -0.2015926092863083, -0.5235926508903503, -0.31578585505485535, -0.3198346197605133, 0.5756723880767822, 0.7516991496086121, 0.12861110270023346, 0.6020734906196594, -0.7338342070579529, 0.3055267035961151, 0.4321446120738983, 0.5294762849807739, -0.40127888321876526, -0.6948480010032654, -0.23555196821689606, -0.27282315492630005, -0.0469915047287941, -0.5721724033355713, 0.6827905774116516, 0.7415608763694763, 0.4865224063396454, 0.2797408699989319, 0.17344756424427032, 0.6128144264221191, -0.48155343532562256, 0.39152204990386963, 0.06005638837814331, -1.170672059059143, 0.5311614274978638, -0.5078865885734558, 0.30255627632141113, 0.5211702585220337, 0.31978368759155273, -0.31968629360198975, -0.11194422841072083, -0.37167468667030334, -0.8688055276870728, 0.4840186536312103, 0.07839831709861755, -0.03884678706526756, 0.07732377201318741, 0.6283560991287231, 0.035845156759023666, 0.4002676010131836, -0.8313024640083313, 0.11072515696287155, 0.2901607155799866, -0.25428083539009094, -0.2694956660270691, -0.2186744511127472, 0.04397878050804138, -0.5377208590507507, 0.7451483011245728, -0.40223363041877747, 0.08041538298130035, -0.1597033590078354, -0.43594229221343994, 0.11155757308006287, 0.453349769115448, 0.5004165768623352, 0.8788084387779236, 0.03500829264521599, -0.05139097943902016, 0.46173521876335144, -0.0849083885550499, -0.04193496331572533, -0.2666880190372467, -0.4504631757736206, -0.28057748079299927, 0.3158760368824005, 0.8621065020561218, 0.22733232378959656, -0.6162673830986023, 0.2562442123889923, 0.011261560022830963, -0.40442273020744324, -0.08147960156202316, 0.09628701955080032, -0.021161390468478203, 0.2244059443473816, -0.04985711723566055, -0.2658948302268982, 0.35754090547561646, -0.5768563151359558, 0.2952491343021393, 0.17626996338367462, -0.35762521624565125, -0.19944173097610474, 0.3712296485900879, 0.3532046377658844, -0.18300580978393555, 0.8079460263252258, -0.23687942326068878, -0.4948774576187134, 0.470315545797348, 0.45268628001213074, 0.3632557690143585, -0.36328041553497314, 0.20704402029514313, 0.18463930487632751, 0.3579345643520355, -0.1602458357810974, 0.2586708068847656, -0.13797065615653992, -0.5679076910018921, -0.968987226486206, -0.5332446694374084, -0.5194764137268066, 0.47006577253341675, -0.8209087252616882, 0.0464928075671196, -0.7463757395744324, -0.020829226821660995, -0.26377424597740173, 0.06329043954610825, -0.8164629340171814, 0.11792005598545074, -0.056659191846847534, 0.532132625579834, -1.0520579814910889, 0.9920355081558228, 0.3469274938106537, -0.3018329441547394, -1.0465099811553955, -0.2941271662712097, -0.10812729597091675, -0.5563281178474426, 0.6480329632759094, 0.25295186042785645, 0.1606641560792923, 0.07467544823884964, -0.6747932434082031, -0.8022052645683289, 0.5957404375076294, 0.778897762298584, -0.7439525127410889, 0.05166098102927208, 0.21696417033672333, 0.4957933723926544, -0.19902382791042328, -0.11860581487417221, 0.8964719772338867, 0.4601733088493347, -0.0385788232088089, -1.0779443979263306, 0.03292861953377724, -0.06353526562452316, 0.20729351043701172, 0.5505028367042542, -0.3738138973712921, 1.0231610536575317, -0.17760565876960754, -0.3011397123336792, -0.17167039215564728, 0.6202532649040222, -0.08675452321767807, 0.32540106773376465, 0.3038191795349121, 0.672921895980835, 0.8382869958877563, -0.19812773168087006, 1.0864957571029663, 0.08389732986688614, 0.5801445245742798, 1.2065248489379883, -0.6963106989860535, 0.95307856798172, 0.4483911991119385, -0.4299844205379486, 0.35840803384780884, 0.7113578915596008, 0.09119735658168793, 0.6702799201011658, 0.41405344009399414, -0.16073542833328247, -0.512112557888031, -0.08553999662399292, 0.016869323328137398, 0.5294323563575745, 0.5467236042022705, -0.2608122229576111, -0.3938611149787903, 0.14544305205345154, 0.08735331892967224, 0.38397809863090515, -0.8094179034233093, 1.0441336631774902, -0.10917194187641144, -0.4915620684623718, 0.8425207138061523, 0.04413112252950668, 0.31582358479499817, -0.40547698736190796, -0.3405762016773224, -0.2641844153404236, 0.36567848920822144, -0.19328835606575012, -0.5708072781562805, 0.5724343061447144, -0.23355069756507874, -0.467928946018219, -0.3607330322265625, 0.5760268568992615, -0.5669533610343933, -0.3785858154296875, 0.37125492095947266, 0.3990262448787689, 0.26410943269729614, -0.18608355522155762, -0.7373218536376953, -0.1025877371430397, 0.05135393515229225, -0.39589378237724304, 0.5431357026100159, 0.4726545512676239, -0.31880053877830505, 0.9081162810325623, 0.7498040199279785, 0.25367993116378784, -0.12813135981559753, 0.18677669763565063, 1.0431462526321411, -0.5939065217971802, -0.6665347814559937, -0.4780413508415222, 0.06620331108570099, -0.025697387754917145, -0.04500424116849899, 0.22588391602039337, 0.5898252129554749, 1.2042498588562012, -0.17693206667900085, 0.7702561020851135, 0.20809635519981384, 0.7914571166038513, -1.0270330905914307, 0.7303043007850647, -0.5157200694084167, 0.4318593740463257, 0.2895023226737976, -0.8514533638954163, -0.46619006991386414, 0.8602503538131714, -0.39246389269828796, 0.02884095162153244, 0.5922042727470398, 1.0113164186477661, 0.16441665589809418, -0.4104156196117401, 0.6613188982009888, 0.14311276376247406, 0.5013155937194824, 0.692905068397522, 0.6181980967521667, -0.3094286620616913, 0.5387902855873108, -0.18664148449897766, 0.1985648274421692, -0.1371532678604126, -0.7438700199127197, -0.9721892476081848, -0.498158723115921, -0.25468721985816956, -0.19525012373924255, 0.3066113293170929, 0.877332866191864, 0.6555773615837097, -1.0233436822891235, -0.17919152975082397, -0.19681544601917267, 0.2091480791568756, -0.1971195489168167, -0.15151922404766083, 0.4116284251213074, -0.40486323833465576, -0.5663875341415405, 0.6729589700698853, 0.060543544590473175, -0.23358741402626038, 0.036033354699611664, -0.24700480699539185, -0.14555014669895172, 0.0978439524769783, 0.8702059388160706, 0.38417235016822815, -0.4775170683860779, -0.6004231572151184, -0.3987621068954468, 0.07271439582109451, 0.19250710308551788, 0.8624287247657776, -0.9734841585159302, -0.019051382318139076, 0.6024293899536133, 0.7461133003234863, 0.7621797919273376, -0.09975171834230423, 0.5817238688468933, -0.8455146551132202, 0.11023356765508652, 0.4206031560897827, 0.3745572865009308, 0.17361970245838165, -0.3218572735786438, 0.803093671798706, 0.14409083127975464, -0.4963904023170471, -0.8521673083305359, 0.3719943165779114, -0.8217702507972717, -0.3649996519088745, 1.2736445665359497, -0.27043312788009644, -0.48647627234458923, -0.45957666635513306, 0.08217816054821014, 0.26054897904396057, -0.36539149284362793, 0.6856047511100769, 0.271174818277359, -0.052258823066949844, -0.38646021485328674, -0.2958190441131592, 0.7853786945343018, 0.5199881792068481, -1.2296017408370972, 0.3913634121417999, 0.8580390810966492, 0.47525259852409363, -0.1744546890258789, 0.47103992104530334, 0.19008523225784302, 0.31967246532440186, -0.28892213106155396, 0.2604117691516876, -0.13897626101970673, -0.5591384172439575, -0.5953872799873352, 0.2927907109260559, 0.30762678384780884, -0.01845797523856163 ]
http://arxiv.org/abs/2407.02742v1
http://arxiv.org/pdf/2407.02742v1
A Comparative Study of DSL Code Generation: Fine-Tuning vs. Optimized Retrieval Augmentation
2024-07-03T01:28:51
2024-07-03T01:28:51
Nastaran Bassamzadeh, Chhaya Methani
cs.SE
cs.SE, cs.AI, cs.CL, I.2.2; I.2.7
Natural Language to Code Generation has made significant progress in recent years with the advent of Large Language Models(LLMs). While generation for general-purpose languages like C, C++, and Python has improved significantly, LLMs struggle with custom function names in Domain Specific Languages or DSLs. This leads to higher hallucination rates and syntax errors, specially for DSLs having a high number of custom function names. Additionally, constant updates to function names add to the challenge as LLMs need to stay up-to-date. In this paper, we present optimizations for using Retrieval Augmented Generation (or RAG) with LLMs for DSL generation along with an ablation study comparing these strategies. We generated a train as well as test dataset with a DSL to represent automation tasks across roughly 700 APIs in public domain. We used the training dataset to fine-tune a Codex model for this DSL. Our results showed that the fine-tuned model scored the best on code similarity metric. With our RAG optimizations, we achieved parity for similarity metric. The compilation rate, however, showed that both the models still got the syntax wrong many times, with RAG-based method being 2 pts better. Conversely, hallucination rate for RAG model lagged by 1 pt for API names and by 2 pts for API parameter keys. We conclude that an optimized RAG model can match the quality of fine-tuned models and offer advantages for new, unseen APIs.
[ -0.7505372762680054, -0.6990718841552734, 0.4269968271255493, -0.1531783491373062, -0.24334236979484558, 0.06336695700883865, -0.2631242871284485, -0.6749879121780396, -0.21453158557415009, 0.8549560904502869, -0.3487507998943329, -0.3872147500514984, -0.25413385033607483, 0.4318581223487854, -0.3588535189628601, 0.9977118372917175, 0.10223084688186646, 0.029333297163248062, -0.06533943861722946, 0.034533292055130005, -0.3236136734485626, -0.48015081882476807, -0.6886600852012634, -0.18079309165477753, 0.32675379514694214, -0.19145207107067108, 0.5553967952728271, 0.751640260219574, 0.6970812678337097, 0.3469817042350769, -0.33838585019111633, 0.6774397492408752, -0.30321523547172546, 0.01624237187206745, -0.0886000320315361, -0.260722815990448, -0.3656752407550812, -0.4614054262638092, 0.21452267467975616, 0.7285159230232239, 0.1460200399160385, 0.3759087920188904, -0.0992206260561943, 1.0183314085006714, -0.7147965431213379, -0.031551849097013474, -0.8789926171302795, -0.21802204847335815, 0.048799362033605576, -0.5089195370674133, -0.35233885049819946, -0.7135764956474304, -0.01930343359708786, -0.3467548191547394, 0.45793086290359497, 0.05177665129303932, 0.886192798614502, 0.7790037393569946, -0.10949921607971191, -0.6843619346618652, -0.7313367128372192, 0.9177834987640381, -0.910689651966095, 0.46615898609161377, 0.3074899911880493, 0.1689664125442505, -0.15191274881362915, -0.5628138184547424, -0.3488723635673523, -0.4258030652999878, -0.11530819535255432, -0.28833630681037903, 0.09651542454957962, 0.11005004495382309, 0.4698919951915741, 0.48548492789268494, -0.5691617727279663, 0.09980626404285431, -0.5534061193466187, 0.0509553961455822, 0.8613619208335876, 0.23021970689296722, 0.08843153715133667, -0.0866822749376297, -0.18797215819358826, 0.0602482445538044, -0.7422303557395935, -0.18079732358455658, 0.6934857964515686, 0.6675176024436951, 0.16759920120239258, 0.556716799736023, -0.1334441751241684, 1.019944190979004, 0.2213805615901947, -0.1120261698961258, 0.3673483431339264, -0.3174072206020355, -0.3465687930583954, -0.18842758238315582, 0.1524694412946701, 0.3184424638748169, 0.49278128147125244, -0.41420111060142517, -0.6931681632995605, 0.2564321756362915, 0.7597439885139465, -0.5611768960952759, -0.0023807743564248085, 0.2864770293235779, -0.3373335897922516, -0.33877822756767273, -0.13108409941196442, -0.4173188805580139, -0.37799155712127686, -0.9641745090484619, 0.38003554940223694, -0.33112457394599915, -0.027792733162641525, 0.1385727971792221, -0.15494254231452942, 0.3037361800670624, 0.27621880173683167, -0.7280144691467285, 0.14688663184642792, 0.9450680613517761, 0.5566570162773132, -0.35215067863464355, 0.058365486562252045, -0.46020111441612244, -0.24664612114429474, -0.7041595578193665, 0.7614814043045044, -0.44610100984573364, -0.285657674074173, 0.10570421069860458, -0.1292932778596878, 0.20140831172466278, -0.9445925354957581, 0.501062273979187, -0.9322375059127808, -0.15753941237926483, -0.13341794908046722, -0.6443791389465332, -0.05960821732878685, 0.032107919454574585, -0.6455813646316528, 0.8926816582679749, 0.288842111825943, -0.5322808623313904, 0.5161883234977722, -0.46122726798057556, -0.44679421186447144, 0.11037483811378479, -0.2797282934188843, -0.4245994985103607, 0.40008461475372314, -0.03958714008331299, 0.2126379907131195, -0.35474079847335815, 0.14828751981258392, -0.05512451380491257, -0.5698173642158508, 0.15179726481437683, -0.1346924901008606, 0.5168325901031494, 0.6130773425102234, -0.19415757060050964, -0.2305963784456253, -0.880730926990509, 0.28241074085235596, -0.20491968095302582, -0.5579630136489868, -0.3689659833908081, -0.08912879973649979, -0.09591123461723328, -0.063323475420475, 0.20468467473983765, -0.3480619788169861, 0.11669877171516418, -0.8166822195053101, 0.02175014838576317, 0.7569780945777893, 0.11122298240661621, 0.4411078989505768, -0.5281253457069397, 0.4109778106212616, -0.2807559072971344, 0.034635625779628754, -0.1863682121038437, -0.09328167885541916, -0.6505695581436157, -0.2638745605945587, 0.253397673368454, 0.18475452065467834, -0.690621554851532, 0.4593832790851593, -0.08565182238817215, -0.40605270862579346, -0.8140164613723755, 0.1578906923532486, 0.6178924441337585, 0.3924376666545868, 0.5023264288902283, -0.13037551939487457, -0.6607173681259155, -0.885895311832428, -0.24502742290496826, 0.11742900311946869, 0.024006342515349388, 0.5387550592422485, 0.21866928040981293, -0.4398047924041748, 0.6953175663948059, -0.5310693383216858, -0.06502136588096619, -0.19690023362636566, 0.040638625621795654, 0.33251985907554626, 0.3482748568058014, 0.7037575244903564, -0.7415026426315308, -0.7151700854301453, 0.2224450558423996, -0.30712783336639404, -0.3903794586658478, 0.02845352329313755, 0.056647349148988724, 0.9685907363891602, 0.3438480496406555, -0.2487066239118576, 0.3785153031349182, 0.38821539282798767, 0.036845121532678604, 0.7549576759338379, -0.305948406457901, 0.3463497459888458, -0.7904156446456909, 0.27572208642959595, -0.2031349092721939, -0.018731990829110146, -0.709613561630249, 0.45516467094421387, 0.157696932554245, -0.0892648845911026, -0.4680333435535431, 0.6334860324859619, -0.5470504760742188, -0.45082172751426697, -0.5962777733802795, -0.022070005536079407, -0.012889879755675793, 0.5165343284606934, -0.1384420543909073, 1.281259298324585, 0.4192667305469513, -1.0077153444290161, 0.22411012649536133, 0.11881708353757858, -0.12322501093149185, 0.20791415870189667, -0.6203055381774902, 0.2162451297044754, -0.1544952690601349, -0.29919129610061646, -0.63877272605896, -0.11317095160484314, -0.41526633501052856, -0.45367658138275146, 0.416549414396286, -0.13560867309570312, -0.4960278272628784, -0.4147484004497528, -0.27350914478302, 0.26283949613571167, 0.814821720123291, -0.8050686717033386, 0.15152166783809662, 0.25509902834892273, 0.11773104965686798, -0.5649568438529968, -0.6148525476455688, -0.17386779189109802, -0.331677109003067, -0.5711354613304138, 0.39454594254493713, -0.19446547329425812, -0.41868916153907776, -0.19660888612270355, -0.326511949300766, -0.05341062322258949, 0.09992993623018265, -0.1713125854730606, 0.2646056115627289, -0.26743051409721375, 0.20778729021549225, -0.11934603005647659, -0.25701192021369934, -0.2567256987094879, -0.1447545289993286, 0.7679691314697266, -0.0862002819776535, -0.3408772647380829, -0.24368959665298462, 0.148976668715477, 0.3597830533981323, -0.3477277457714081, 0.44875118136405945, 0.38004428148269653, -0.18561261892318726, -0.41013938188552856, -0.8368978500366211, -0.18885473906993866, -0.5462494492530823, 0.14853601157665253, -0.39807477593421936, -0.509988009929657, 0.47421249747276306, -0.0587088018655777, 0.27554526925086975, 0.19914871454238892, 0.5640688538551331, 0.21416498720645905, 1.1316362619400024, 0.6809492707252502, 0.06216249242424965, 0.37611302733421326, -0.3299369215965271, 0.14403682947158813, -0.9340466856956482, 0.19213947653770447, -0.6887134313583374, -0.11778182536363602, -0.6209248900413513, -0.43370065093040466, 0.12694886326789856, 0.12153872847557068, -0.35618942975997925, 0.6417250037193298, -0.8194854855537415, 0.5674207210540771, 0.4014527499675751, -0.12215036153793335, 0.41830775141716003, 0.21125684678554535, -0.023153027519583702, 0.004614927805960178, -0.32092908024787903, -0.6934037804603577, 1.235874891281128, -0.0009091871907003224, 0.9690300226211548, 0.13659599423408508, 0.9895108938217163, 0.30273252725601196, -0.08078204095363617, -0.5088555812835693, 0.4183630347251892, -0.6273890733718872, -0.3752233386039734, -0.040967974811792374, -0.5081056356430054, -1.0453786849975586, -0.03122054412961006, -0.01727784238755703, -0.48287028074264526, 0.04252476617693901, 0.11440656334161758, -0.31869077682495117, 0.10317546129226685, -0.7200142741203308, 0.4084104299545288, -0.2829969823360443, -0.4228231608867645, -0.12483116239309311, -0.3550077974796295, 0.1465109884738922, -0.3506311774253845, 0.050255533307790756, 0.13870012760162354, -0.07920821011066437, 0.07341954857110977, -0.33148086071014404, 0.3376721441745758, -0.04003718122839928, -0.3225829601287842, 0.16259615123271942, -0.023981815204024315, 0.5490787625312805, -0.13158319890499115, -0.5024433135986328, -0.29765135049819946, -0.12355365604162216, -0.1640997976064682, -0.597359836101532, 0.8160624504089355, -0.6668731570243835, -0.5270954370498657, 0.048541415482759476, -0.5208935737609863, -0.14904683828353882, 0.2465551346540451, 0.22676058113574982, 0.817470908164978, 0.3318459689617157, 0.02180403284728527, 0.8506654500961304, -0.5983926653862, 0.29972967505455017, 0.6243000030517578, -0.27521026134490967, -0.23065973818302155, 0.8193572163581848, 0.0015918726567178965, 0.5308957695960999, 0.09172401577234268, -0.22069017589092255, -0.3163018822669983, -0.7609850168228149, -0.4278814196586609, 0.40177851915359497, -0.6362243294715881, -0.46580561995506287, -0.6219916343688965, -0.4208714962005615, -0.6039935350418091, -0.5108711123466492, -0.38799166679382324, -0.2737883925437927, -0.3307247757911682, 0.1894896924495697, 0.4673350155353546, 0.7167194485664368, 0.04257913678884506, -0.022825412452220917, -0.71775883436203, 0.6312160491943359, -0.09517837315797806, 0.5582442879676819, -0.005693394690752029, -0.47299009561538696, -0.2537243366241455, 0.12814854085445404, -0.24848057329654694, -0.6013041138648987, 0.5286673903465271, 0.05200878158211708, 0.7222744226455688, 0.009537623263895512, 0.2917203903198242, 0.9766934514045715, -0.42504674196243286, 0.5378448367118835, -0.2331026792526245, -0.5896809697151184, 0.48800984025001526, -0.07706250995397568, 0.22977612912654877, 0.5709022879600525, 0.10289161652326584, -0.1817174106836319, -0.5463517308235168, -0.5555518865585327, -0.9645225405693054, 0.6716639995574951, -0.07309325039386749, 0.1901923567056656, -0.17157235741615295, 0.5860103368759155, 0.2388346642255783, 0.30224597454071045, -0.3765780031681061, -0.23104748129844666, 0.43348774313926697, -0.130987748503685, -0.019327636808156967, 0.049779292196035385, -0.03369661793112755, -0.01763344183564186, 0.7083355188369751, -0.1317668855190277, 0.19785413146018982, 0.1502581089735031, -0.20148581266403198, -0.2734132409095764, 0.04237227514386177, 0.6105325222015381, 0.5786558985710144, -0.15750791132450104, -0.08453990519046783, 0.29602882266044617, -0.1928020864725113, -0.10670620948076248, 0.070357546210289, -0.2300911396741867, 0.13081783056259155, 0.22228361666202545, 0.7675800323486328, -0.11345425248146057, -0.8666632175445557, 0.18426810204982758, 0.16456517577171326, -0.06475412845611572, -0.3337026834487915, 0.36261841654777527, -0.17510616779327393, 0.4218275249004364, 0.3122211992740631, 0.11831825226545334, 0.34922754764556885, -0.2709326148033142, 0.3233219087123871, 0.6258231401443481, 0.02264970913529396, 0.03679534047842026, 0.49705949425697327, 0.030390968546271324, -0.4603712856769562, 0.31637945771217346, -0.5094485282897949, -0.3462376594543457, 0.8091766834259033, 0.6167489290237427, 0.9039092063903809, 0.1959136724472046, -0.05977742373943329, 0.6077594757080078, 0.1299138069152832, -0.01434918213635683, 0.2279386818408966, -0.04898558557033539, -0.3743951916694641, -0.48600703477859497, -1.1171549558639526, -0.11799321323633194, 0.08506755530834198, -0.5177305936813354, 0.6060120463371277, -0.22571860253810883, -0.21397927403450012, -0.20919112861156464, 0.4112606346607208, -0.6781478524208069, 0.0527067705988884, 0.07628215849399567, 0.8512275815010071, -0.49951091408729553, 0.6219576597213745, 0.7833066582679749, -0.44599783420562744, -0.7520818114280701, -0.012217583134770393, -0.19844293594360352, -0.5880773067474365, 0.6908734440803528, 0.13126349449157715, -0.1020357608795166, 0.1948246955871582, -0.1835605800151825, -0.9543153643608093, 1.0940783023834229, 0.18878965079784393, -0.4501793384552002, -0.06636316329240799, 0.18291567265987396, 0.9570328593254089, -0.2878172695636749, 0.06893860548734665, 0.7441113591194153, 0.30745381116867065, 0.033740416169166565, -0.926256537437439, -0.129620760679245, -0.0029201360885053873, 0.3565261662006378, 0.49023544788360596, -0.23547735810279846, 0.7981265783309937, -0.2236117124557495, -0.35608264803886414, 0.41258570551872253, 0.11113124340772629, 0.5328632593154907, 0.27736926078796387, 0.22687631845474243, 0.5428479313850403, 0.566683292388916, -0.009995931759476662, 1.116870403289795, -0.5600124597549438, 0.2606090009212494, 0.8723199367523193, -0.3084885776042938, 0.6742827296257019, 0.46337419748306274, -0.19213084876537323, -0.09233351796865463, 0.460469514131546, -0.16275961697101593, 0.6185104250907898, 0.3577646017074585, -0.031174177303910255, 0.18571895360946655, 0.039824534207582474, -0.5279445052146912, -0.02803102508187294, 0.17907556891441345, -0.4653208255767822, -0.3339470624923706, -0.02371036633849144, -0.25023218989372253, 0.37781932950019836, -0.3023447096347809, 1.2303004264831543, -0.11646954715251923, -0.8125467300415039, 1.1041897535324097, -0.04542833939194679, 0.7756502628326416, -0.2894498109817505, 0.17884841561317444, -0.5237632989883423, 0.3303791582584381, -0.31834807991981506, -0.4543192386627197, 0.7580879926681519, 0.3143923282623291, -0.05142416059970856, -0.04565883427858353, 0.6236919164657593, -0.2962248921394348, -0.27078819274902344, 0.3472232520580292, 0.2926325500011444, 0.19541019201278687, 0.1083400622010231, -0.6241530179977417, 0.3352261185646057, 0.15088103711605072, -0.08950834721326828, 0.2746278643608093, 0.3479134440422058, 0.160653218626976, 0.6492905020713806, 0.7223225235939026, 0.38952764868736267, 0.3383593261241913, 0.19239327311515808, 0.9758850932121277, -0.4681669771671295, -0.18699413537979126, -0.5994002819061279, 0.4076082110404968, 0.07592608779668808, -0.13204973936080933, 0.5702755451202393, 0.6567358374595642, 0.8620108962059021, -0.3536306917667389, 0.6327753663063049, -0.054503269493579865, 0.7259168028831482, -0.6269875764846802, 0.4055923521518707, -0.9083318114280701, 0.7011942267417908, -0.38189926743507385, -1.239067554473877, -0.3048674166202545, 0.4522492289543152, -0.27863872051239014, 0.03926065191626549, 0.362624853849411, 1.296518087387085, -0.05034477263689041, -0.2404310405254364, 0.32620078325271606, -0.17290878295898438, 0.28822654485702515, 0.22306041419506073, 0.7208230495452881, -0.3453942835330963, 0.4016555845737457, -0.26586201786994934, -0.03518516570329666, -0.3179340064525604, -0.564336895942688, -0.6624495387077332, -0.5468727946281433, -0.2649342119693756, -0.15344831347465515, 0.25383833050727844, 1.0021559000015259, 0.45962971448898315, -0.6592302322387695, -0.14013731479644775, -0.42054659128189087, -0.039303477853536606, -0.08450257778167725, -0.27316606044769287, 0.1701711267232895, -1.2943589687347412, -0.9768249988555908, 0.09352831542491913, 0.14181628823280334, 0.08508801460266113, -0.19414113461971283, -0.23511672019958496, -0.013038335368037224, 0.3445811867713928, 0.5587328672409058, 0.13398708403110504, -0.845599889755249, -0.10483013093471527, 0.24531984329223633, -0.3865385353565216, -0.001543276128359139, 0.644885241985321, -0.759850800037384, 0.4051048755645752, 0.634049117565155, 0.9899650812149048, 0.22411353886127472, 0.32228022813796997, 0.4289400577545166, -0.7397341132164001, 0.02431318536400795, 0.2791362404823303, 0.07130490988492966, 0.36729639768600464, -0.3168029189109802, 0.7709023952484131, -0.29625073075294495, -0.9281150698661804, -1.1249098777770996, 0.4242134988307953, -0.620572566986084, -0.42167696356773376, 1.3144445419311523, 0.17859028279781342, -0.07006801664829254, -0.2550526559352875, -0.39752864837646484, 0.29594123363494873, -0.06402137875556946, 0.9564017057418823, 0.20660847425460815, -0.29193127155303955, 0.2614514231681824, -0.6030788421630859, 0.8600686192512512, 0.29256975650787354, -0.6504905819892883, 0.23111745715141296, 0.5208601355552673, -0.02408755198121071, 0.3511199951171875, 0.3766756057739258, -0.31401559710502625, 0.300114244222641, -0.08422921597957611, 0.0879405066370964, -0.13709034025669098, -0.22650480270385742, -0.4166453778743744, -0.18594621121883392, 0.3087898790836334, 0.07265795767307281 ]
http://arxiv.org/abs/2407.02736v1
http://arxiv.org/pdf/2407.02736v1
MentalAgora: A Gateway to Advanced Personalized Care in Mental Health through Multi-Agent Debating and Attribute Control
2024-07-03T01:19:38
2024-07-03T01:19:38
Yeonji Lee, Sangjun Park, Kyunghyun Cho, JinYeong Bak
cs.CL
cs.CL
As mental health issues globally escalate, there is a tremendous need for advanced digital support systems. We introduce MentalAgora, a novel framework employing large language models enhanced by interaction between multiple agents for tailored mental health support. This framework operates through three stages: strategic debating, tailored counselor creation, and response generation, enabling the dynamic customization of responses based on individual user preferences and therapeutic needs. We conduct experiments utilizing a high-quality evaluation dataset TherapyTalk crafted with mental health professionals, shwoing that MentalAgora generates expert-aligned and user preference-enhanced responses. Our evaluations, including experiments and user studies, demonstrate that MentalAgora aligns with professional standards and effectively meets user preferences, setting a new benchmark for digital mental health interventions.
[ -0.815532386302948, -0.7833439111709595, 0.7246265411376953, 0.23472070693969727, 0.15821939706802368, 0.44992369413375854, 0.09296082705259323, -0.5881708860397339, 0.5106213092803955, 0.4091747999191284, -0.7920941114425659, -0.42392387986183167, -0.549170732498169, 0.05901319533586502, -0.08131017535924911, 1.2295308113098145, 0.09911009669303894, 0.21713724732398987, -0.17008885741233826, -0.3166796565055847, -0.6993438601493835, -0.5237329602241516, -0.9191692471504211, -0.799130380153656, 1.011279582977295, 0.4299444556236267, 1.0653841495513916, 0.028122901916503906, 0.5464217662811279, 0.32506710290908813, 0.26462456583976746, 0.25809165835380554, -0.17528684437274933, 0.20881132781505585, -0.43110764026641846, -0.3280901610851288, -1.1345744132995605, -0.1278374195098877, -0.10496587306261063, 0.1591433584690094, -0.5921314358711243, 0.2369922399520874, -0.25475603342056274, 0.4627830982208252, -0.518751323223114, -0.28542032837867737, -0.5133306384086609, 0.1464996486902237, -0.18444427847862244, 0.08474331349134445, -0.07251988351345062, -0.6197513341903687, 0.04239775985479355, -0.7011857628822327, -0.025353271514177322, -0.17618146538734436, 0.7012076377868652, 0.33083486557006836, -0.3549633026123047, -0.20215871930122375, -1.1111863851547241, 0.23638051748275757, -0.5003296732902527, 0.03136896714568138, 0.6791175007820129, 0.8397251963615417, -0.02808147855103016, -0.9969478249549866, -0.6397171020507812, 0.03182445839047432, 0.05149145796895027, 0.22471930086612701, -0.8974384665489197, 0.32249075174331665, 0.05322838947176933, 0.14595456421375275, -0.2708994150161743, 0.11788038164377213, -0.25821566581726074, -0.1757720559835434, 0.7515479922294617, 0.6102285385131836, 0.3774343729019165, 0.3353442847728729, 0.11981175094842911, 0.1063983216881752, -0.10742087662220001, 0.03559768199920654, 0.25988978147506714, -0.03528283163905144, -0.08493433147668839, 0.7996892333030701, -0.11257044225931168, 0.32269665598869324, 0.4543505012989044, -0.1975550651550293, -0.1262570470571518, 0.07625020295381546, -0.3707497715950012, 0.15476123988628387, 0.7346522212028503, 0.5557436943054199, -0.07285922020673752, -0.1661398708820343, -0.031492557376623154, 0.5332082509994507, 0.8500135540962219, -0.7300940752029419, -0.1605464071035385, 0.6497237086296082, -0.31828874349594116, 0.026004675775766373, -0.12831270694732666, -0.7905094027519226, -0.6442509293556213, -0.6006847023963928, 0.29435762763023376, -0.42148277163505554, -0.2285517305135727, 0.5004057884216309, -0.05948672816157341, -0.09370195120573044, 0.4542158246040344, -0.5940235257148743, 0.7628408074378967, 0.6192600131034851, 0.9307325482368469, -0.03654156252741814, -0.13834360241889954, -0.41997188329696655, 0.306596040725708, -0.14724011719226837, 1.2848725318908691, -0.7186729907989502, -0.12496412545442581, -0.2165737748146057, -0.2481151968240738, 0.16151610016822815, -0.553997278213501, 0.46311384439468384, -0.4774858355522156, 0.2315230816602707, -0.2922138273715973, -0.21087755262851715, -0.08706832677125931, 0.326687216758728, -0.6118256449699402, 0.5284526348114014, 0.40174052119255066, -0.880455732345581, 0.2175169587135315, -0.8551242351531982, -0.1517336219549179, 0.3358520269393921, -0.14988252520561218, -0.3634222745895386, 0.18743178248405457, 0.11004026979207993, 0.24856634438037872, -0.40200257301330566, 0.2946505546569824, -0.8222765326499939, -0.3764955699443817, 0.4487023651599884, -0.034798189997673035, 0.4475001096725464, 0.3005748987197876, -0.43152356147766113, 0.6814026832580566, -0.7805425524711609, 0.10625971853733063, 0.1305600106716156, -0.034644559025764465, -0.46717649698257446, -0.051251281052827835, 0.21863031387329102, 0.3506675064563751, 0.03725270554423332, -0.553669810295105, 0.0880557969212532, -0.004902884364128113, 0.5717192888259888, 0.8322213888168335, -0.11851862818002701, 0.036738503724336624, -0.6225931644439697, 0.8371443748474121, -0.30894652009010315, 0.40299010276794434, 0.27175286412239075, -0.4884144067764282, -0.24928346276283264, -0.7250459790229797, -0.1924518644809723, 0.6519915461540222, -0.3861018717288971, 0.5037190318107605, 0.011686781421303749, -0.600933313369751, -0.9996839165687561, -0.22382597625255585, 0.0820060521364212, 0.28304341435432434, 0.42925533652305603, -0.2571171820163727, -0.5151784420013428, -1.090977430343628, 0.16612856090068817, 0.016509192064404488, -0.1275063455104828, 0.3311876058578491, 0.1494433432817459, -0.9901947975158691, 1.1448794603347778, -0.6080848574638367, -0.5518364310264587, -0.3351565897464752, 0.13203807175159454, -0.20855168998241425, -0.13386639952659607, 0.5291311144828796, -0.45552706718444824, -0.500481367111206, 0.3278641998767853, -0.7768431901931763, -0.3875281810760498, 0.05935356020927429, -0.429174542427063, -0.46040645241737366, -0.12157679349184036, -0.647853672504425, 0.24746622145175934, 0.6107779741287231, -0.4625031650066376, 0.5673321485519409, -0.5022493600845337, 0.09547252953052521, -1.2565091848373413, 0.2972007095813751, -0.10766588896512985, -0.25306111574172974, -0.7409214377403259, 0.0244252011179924, -0.31703561544418335, -0.2668221592903137, -0.12232702225446701, 0.5025695562362671, 0.19842049479484558, 0.13468722999095917, -0.6139861345291138, 0.12092295289039612, -0.01680472493171692, 0.32168248295783997, -0.23968487977981567, 0.6709885597229004, 0.3692564368247986, -0.14479419589042664, 0.7423105239868164, 0.3526693284511566, 0.1034640520811081, 1.4844633340835571, -0.8346990346908569, 0.4706479609012604, -0.21765513718128204, 0.5896614789962769, -0.8102031350135803, -0.37955600023269653, 0.45429667830467224, -0.09482833743095398, -0.2824915647506714, 0.5923935770988464, -0.27332696318626404, -0.4893947243690491, -0.19469477236270905, 0.3640137016773224, -0.12638156116008759, -0.04000459238886833, 0.6282009482383728, 0.768610417842865, -0.3785449266433716, -0.3252754509449005, -0.19281817972660065, 0.5687550902366638, -0.5992322564125061, -0.32034263014793396, 0.5278473496437073, -0.43371084332466125, -0.5772648453712463, -0.010713783092796803, 0.27567970752716064, -0.2147943377494812, 0.06966821849346161, 0.3256504535675049, -0.06207522749900818, -0.0012192628346383572, 0.24635876715183258, 0.4337197542190552, -0.25394371151924133, 0.11268673837184906, -0.19356535375118256, 0.6619946360588074, -0.179862841963768, -0.36420008540153503, -0.8052512407302856, 0.9912787675857544, 0.8414588570594788, -0.43078821897506714, 0.5494551658630371, 0.7115727663040161, -0.670927882194519, 0.1343659907579422, -0.5913777947425842, -0.12345868349075317, -0.46586453914642334, 0.1395287960767746, -0.5388470888137817, -0.8727064728736877, 0.7478433847427368, 0.06689517199993134, 0.05321643128991127, 0.06307708472013474, 0.6121154427528381, -0.07498429715633392, 1.699924111366272, 0.5584865212440491, -0.05177095904946327, 0.22538037598133087, -0.007603561505675316, 0.197654128074646, -0.6685813069343567, -0.40685299038887024, -0.4113936722278595, -0.5152778029441833, -0.3818836510181427, -0.1170734316110611, 0.4882182478904724, -0.08539679646492004, -0.6105871796607971, 0.19615690410137177, -0.7691118121147156, -0.20588341355323792, 0.32213765382766724, 0.6736903786659241, 0.46540892124176025, -0.1416601985692978, -0.20615282654762268, -0.36331263184547424, -0.3511565625667572, -0.565997302532196, 0.6885839104652405, 0.3132084012031555, 1.0272853374481201, 0.2231675088405609, 0.18373596668243408, 0.6403954029083252, 0.6832729578018188, -0.8606729507446289, 0.3587208390235901, 0.2573230564594269, -0.645477831363678, -0.08021057397127151, 0.0490805022418499, -1.1315686702728271, 0.265218585729599, -0.2770717740058899, -0.8270427584648132, 0.1258169412612915, 0.15105217695236206, -0.7613148093223572, 0.1516115963459015, -0.3553200662136078, 0.40578120946884155, -0.294706255197525, -0.38823357224464417, -0.835779070854187, -0.4440755546092987, 0.1623404175043106, -0.270702600479126, 0.031472496688365936, -0.35786038637161255, 0.025927318260073662, 0.33998915553092957, -0.2973690330982208, 0.7043594121932983, 0.16524727642536163, -0.10357987135648727, -0.03937961161136627, 0.12477759271860123, 0.12913140654563904, 0.3328496515750885, -0.038019537925720215, -0.1426440328359604, 0.14236406981945038, -0.28196120262145996, -0.8787443041801453, 0.6532808542251587, -0.9590992331504822, -0.8197423815727234, -0.2742420732975006, -0.5691535472869873, -0.3719179928302765, 0.23192161321640015, 0.03408624231815338, 0.4399670362472534, -0.28925055265426636, -0.09842776507139206, 0.5659517645835876, -0.2707673907279968, -0.051227323710918427, 0.5522348284721375, -0.212554931640625, -0.9064890742301941, 0.6002784371376038, 0.08619088679552078, -0.24580304324626923, 0.17749163508415222, 0.4538953900337219, -0.1860460638999939, -0.08302287012338638, -0.2724204659461975, 0.21283790469169617, -0.5275960564613342, -0.2783105969429016, -0.8785728812217712, -0.1670479029417038, -0.28614604473114014, -0.33292052149772644, -0.48843541741371155, -0.03228166699409485, -0.04360141232609749, -0.32332852482795715, 0.3363182544708252, 1.0449756383895874, 0.08905395120382309, 0.4162755310535431, -0.6585670709609985, 0.2738911807537079, 0.6752362847328186, 0.5309293866157532, 0.22847948968410492, 0.23960928618907928, -0.26240670680999756, -0.11759136617183685, -0.7207465171813965, -1.2458128929138184, 0.1493973731994629, 0.06643935292959213, 0.7860228419303894, 0.7550240159034729, 0.1298728734254837, 0.9413987994194031, -0.6429879665374756, 0.2859231233596802, 0.18402032554149628, -0.8170038461685181, 0.8320474624633789, -0.4337875247001648, 0.3636030852794647, 0.45090174674987793, 0.34604671597480774, -0.7524405717849731, -0.4205915927886963, -0.46578311920166016, -0.5255263447761536, 0.5779995322227478, 0.0031703633721917868, 0.32654860615730286, 0.08371415734291077, 0.3664158582687378, 0.2091475874185562, 0.3040556013584137, -0.4730978012084961, -0.13828231394290924, -0.25407207012176514, -0.24315184354782104, 0.15063536167144775, 0.058001432567834854, -0.8897501826286316, -0.2936074435710907, 0.1506427526473999, -0.38059261441230774, 0.5492736101150513, 0.2004992663860321, 0.2211659848690033, -0.2804999351501465, 0.24044106900691986, 0.6591750979423523, 0.8026156425476074, -0.007630046922713518, 0.1471717357635498, 0.06248041242361069, -0.4330442547798157, 0.4519079923629761, 0.2682182788848877, 0.15436194837093353, -0.3010425269603729, 0.10388259589672089, 0.9613649845123291, 0.011170502752065659, -0.6214057803153992, -0.12009672820568085, -0.49745315313339233, -0.028075052425265312, -0.1379755139350891, 0.22618484497070312, 0.024686796590685844, 0.5616373419761658, 0.20408976078033447, -0.026144418865442276, 0.36678677797317505, -0.2855064570903778, 0.3368764817714691, 0.5772266983985901, -0.657985508441925, -0.6716745495796204, 0.85866779088974, -0.09850956499576569, -0.8127864003181458, 0.3294123113155365, 0.20433171093463898, -0.07937346398830414, 0.2814403474330902, 0.7138329148292542, 0.9712579846382141, -0.44499149918556213, 0.7989535331726074, 0.010720396414399147, -0.05055023729801178, 0.06823637336492538, 0.22470693290233612, -0.08360433578491211, -0.6044934988021851, 0.11662212014198303, -0.27026018500328064, -0.7199008464813232, 0.2750549614429474, -0.9604688286781311, 0.14144296944141388, -0.6529629230499268, -1.0367172956466675, 0.031226245686411858, 0.1267452836036682, -0.6237618923187256, 0.1559184342622757, 0.11175967752933502, 0.6774332523345947, -0.6372355818748474, 0.7022753953933716, 1.098503828048706, -0.13732700049877167, -0.5178712606430054, 0.010912451893091202, 0.0965910404920578, -0.3906451165676117, -0.07707701623439789, 0.14486676454544067, -0.5501422882080078, 0.02859089896082878, -0.2105940878391266, -0.5625841617584229, 1.2715106010437012, 0.774198055267334, -0.1303454339504242, -0.055758748203516006, 0.1794048249721527, 0.9691103100776672, -0.5194283127784729, 0.5610262751579285, 0.581975519657135, 0.560279130935669, 0.128311887383461, -0.7058733105659485, -0.0436277873814106, -0.2609999477863312, 0.14556139707565308, -0.2669885754585266, -0.8797887563705444, 0.3539704978466034, -0.25460192561149597, -0.1455104947090149, -0.016476111486554146, 0.5051506757736206, 0.5142241716384888, 0.42569074034690857, 0.3461155295372009, 0.5788759589195251, 1.0462971925735474, 0.13432081043720245, 0.8296338319778442, -0.24374747276306152, -0.009654562920331955, 1.1169190406799316, -0.5522432327270508, 0.5582522749900818, 0.1259150207042694, -0.2217358946800232, 0.7045273780822754, 0.9041407704353333, 0.2611848711967468, 0.3892326056957245, 0.13600040972232819, -0.6309711337089539, -0.06790642440319061, -0.6160492300987244, -0.3777463138103485, 0.43142375349998474, 0.339138388633728, 0.1482558399438858, -0.11276812851428986, 0.4838501513004303, 0.39170315861701965, 0.27301231026649475, -0.17389340698719025, 0.7575238943099976, 0.11634185910224915, -0.7009248733520508, 0.12483344227075577, 0.12122311443090439, 0.39086878299713135, -0.7458433508872986, 0.17049524188041687, -0.4954817593097687, 0.45983874797821045, -0.19369980692863464, -0.5742650628089905, 0.4651694595813751, -0.02856937237083912, -0.1646915078163147, -0.04653100296854973, 0.7053413987159729, -0.13740673661231995, -0.6089907884597778, 0.752530574798584, 0.5248192548751831, -0.37733814120292664, -0.012229605577886105, -0.9326066374778748, 0.022998826578259468, -0.606970489025116, -0.1735394448041916, 0.5590829253196716, 0.3266768455505371, -0.3686336278915405, 0.9058551788330078, 0.45940926671028137, 0.23461464047431946, -0.344760924577713, 0.17774754762649536, 1.0079176425933838, -0.2686951458454132, -0.554141104221344, -0.7162456512451172, 0.35693293809890747, -0.15752817690372467, -0.4605908691883087, 0.634175181388855, 0.26617661118507385, 0.4688180088996887, 0.25004473328590393, 0.7626986503601074, -0.009019867517054081, 0.1034143716096878, 0.16642992198467255, 0.7288521528244019, -0.5413332581520081, -0.22834552824497223, -0.3087073862552643, -0.8333202004432678, -0.3847709000110626, 0.5517476201057434, -0.059074584394693375, -0.18260519206523895, 0.43173298239707947, 0.6880217790603638, 0.0473000593483448, -0.17286162078380585, 0.19830988347530365, 0.020807970315217972, 0.7345005869865417, 0.4346954822540283, 0.8850561380386353, 0.09521694481372833, 0.1340809166431427, -0.13286352157592773, -0.3624403774738312, 0.19262972474098206, -0.4173266291618347, -0.8130455613136292, -0.5144969820976257, -0.11812296509742737, -0.24007199704647064, 0.24527467787265778, 1.238893985748291, 0.8296111822128296, -0.8340761065483093, -0.40089425444602966, 0.21444883942604065, 0.05243556573987007, -0.6264737248420715, -0.22178328037261963, -0.04334280639886856, 0.03647724166512489, -0.6440147161483765, 0.14458516240119934, 0.556017279624939, -0.18046575784683228, -0.735146164894104, -0.07927833497524261, 0.053417693823575974, 0.43947121500968933, 0.6413590312004089, 0.09501122683286667, -0.6897385716438293, -0.08631040900945663, 0.09815535694360733, -0.37923333048820496, 0.270597904920578, 0.9457039833068848, -0.7384544014930725, 0.5283375382423401, 0.3196744918823242, 0.5763587951660156, 0.23609332740306854, 0.03045155480504036, 0.9511315226554871, 0.07843002676963806, -0.028688441962003708, 0.1626671403646469, -0.03764716535806656, 0.2061864286661148, -0.6184473037719727, 0.23843888938426971, 0.014606441371142864, -0.49265986680984497, -0.712475061416626, 0.07267073541879654, -0.6865010261535645, -0.2648524045944214, 0.5937702059745789, -0.23149767518043518, 0.3491365313529968, -0.3866233825683594, -0.6815283298492432, 0.3109394907951355, -0.42254772782325745, 1.1907238960266113, 0.5919081568717957, -0.5796522498130798, -0.275542289018631, -0.5451610088348389, 0.3103330731391907, -0.04347854480147362, -1.135176658630371, -0.2510188817977905, 0.4778469502925873, 0.03269374370574951, 0.041026629507541656, 0.9689290523529053, 0.10217779874801636, 0.14678440988063812, -0.41277921199798584, 0.04738928750157356, 0.021832898259162903, -0.5213083624839783, -0.266428679227829, 0.3541509807109833, -0.0638948529958725, 0.30053314566612244 ]
http://arxiv.org/abs/2407.02723v1
http://arxiv.org/pdf/2407.02723v1
e-Health CSIRO at "Discharge Me!" 2024: Generating Discharge Summary Sections with Fine-tuned Language Models
2024-07-03T00:32:28
2024-07-03T00:32:28
Jinghui Liu, Aaron Nicolson, Jason Dowling, Bevan Koopman, Anthony Nguyen
cs.CL
cs.CL
Clinical documentation is an important aspect of clinicians' daily work and often demands a significant amount of time. The BioNLP 2024 Shared Task on Streamlining Discharge Documentation (Discharge Me!) aims to alleviate this documentation burden by automatically generating discharge summary sections, including brief hospital course and discharge instruction, which are often time-consuming to synthesize and write manually. We approach the generation task by fine-tuning multiple open-sourced language models (LMs), including both decoder-only and encoder-decoder LMs, with various configurations on input context. We also examine different setups for decoding algorithms, model ensembling or merging, and model specialization. Our results show that conditioning on the content of discharge summary prior to the target sections is effective for the generation task. Furthermore, we find that smaller encoder-decoder LMs can work as well or even slightly better than larger decoder based LMs fine-tuned through LoRA. The model checkpoints from our team (aehrc) are openly available.
[ -0.282814085483551, -0.3280639350414276, 0.8504614233970642, 0.2414376139640808, -0.45657357573509216, -0.1574288308620453, 0.07272791862487793, -0.5788671374320984, 0.35561734437942505, 1.013641119003296, -0.6040509343147278, -0.7631670832633972, -0.4163455069065094, 0.40102601051330566, -0.43924668431282043, 1.2124133110046387, -0.026994185522198677, -0.03173712641000748, -0.13241827487945557, 0.022435259073972702, -0.07126377522945404, -0.39439237117767334, -0.6030662059783936, -0.5654625296592712, 0.6832146644592285, 0.30925190448760986, 0.3121405243873596, 0.520906388759613, 0.5031068325042725, 0.14943088591098785, -0.02299177646636963, 0.32778894901275635, -0.22886404395103455, 0.15455687046051025, -0.1201225072145462, -0.22981324791908264, -0.8122620582580566, -0.43266457319259644, 0.2740442156791687, 0.7073689699172974, -0.3950071930885315, 0.3150845468044281, 0.10448770970106125, 0.6853077411651611, -0.8986846804618835, 0.031937070190906525, -0.3305513858795166, 0.023449085652828217, 0.11439363658428192, -0.24372251331806183, -0.6030387282371521, -0.19975505769252777, -0.20435935258865356, -0.5125516653060913, 0.470559686422348, -0.1767573356628418, 0.7747364044189453, 0.1540440320968628, -0.16945070028305054, -0.24340178072452545, -0.7869768738746643, 0.6167231798171997, -0.9118087291717529, 0.1670653373003006, 0.5856870412826538, 0.1769234538078308, 0.18274816870689392, -0.9568812847137451, -0.045680899173021317, 0.021680083125829697, -0.2802068591117859, 0.37921249866485596, 0.006681292317807674, 0.6167335510253906, 0.25447842478752136, 0.25419124960899353, -0.5431963205337524, 0.0587913878262043, -0.7021585702896118, -0.23879720270633698, 0.5847725868225098, 0.5571115612983704, 0.30156850814819336, -0.34546539187431335, 0.033014100044965744, 0.14686471223831177, -0.7598856091499329, -0.1645904928445816, -0.0757870078086853, 0.07125537842512131, -0.49376213550567627, 0.49698305130004883, -0.4694739580154419, 0.5727939605712891, 0.06600317358970642, -0.02597684971988201, 0.016732249408960342, -0.5640469789505005, -0.30335280299186707, 0.2504033148288727, 0.8095623254776001, 0.3715205788612366, -0.2295028120279312, 0.0341855026781559, -0.3073420822620392, -0.18346551060676575, 0.5484917759895325, -1.1221894025802612, -0.3904273509979248, 0.576638400554657, -0.658476710319519, -0.24485737085342407, -0.3699452877044678, -0.6488120555877686, -0.08789797872304916, -0.2992613613605499, 0.044544849544763565, -0.5802189707756042, 0.1459009200334549, 0.2323179990053177, 0.044001076370477676, -0.1291000097990036, 0.4067218005657196, -1.1492139101028442, 0.37389278411865234, 0.6150653958320618, 0.8444250822067261, 0.14939239621162415, -0.03889351710677147, -0.8636930584907532, 0.3670083284378052, 0.0555635429918766, 0.7188282608985901, -0.21370689570903778, -0.3878653645515442, 0.3004619777202606, -0.08840729296207428, 0.011974254623055458, -0.4481068253517151, 0.544853150844574, -0.1793774962425232, -0.09979871660470963, -0.015204162336885929, -0.357065886259079, 0.35889649391174316, 0.09302393347024918, -0.7419140338897705, 0.44614651799201965, 0.3898484706878662, -0.6877427101135254, 0.23381224274635315, -0.803697943687439, -0.31183892488479614, 0.28156450390815735, -0.2645942270755768, -0.4962853789329529, 0.1414366066455841, 0.36467882990837097, 0.5404453277587891, -0.24907992780208588, 0.3353354334831238, -0.07547179609537125, -0.27062782645225525, -0.16951970756053925, 0.03896214812994003, 0.6471586227416992, 0.5587040781974792, 0.13533666729927063, 0.2413029670715332, -0.8255720734596252, 0.006870962213724852, -0.2350144237279892, -0.5269113779067993, -0.12084443122148514, 0.0777086541056633, 0.04078990966081619, 0.09281565994024277, 0.3466426432132721, -0.5017711520195007, -0.03956746309995651, -0.647634744644165, 0.5214728116989136, 0.2604188323020935, 0.31984230875968933, 0.2976715862751007, -0.543913722038269, 0.7132202982902527, -0.019176166504621506, 0.5032628178596497, -0.6446842551231384, -0.4192692041397095, -0.4238116145133972, -0.39606204628944397, 0.04221106320619583, 0.2616948187351227, -0.5596747994422913, 0.29806435108184814, -0.09385642409324646, -0.38828161358833313, -0.46309858560562134, -0.06198658049106598, 0.5703198909759521, 0.47985371947288513, 0.538490355014801, -0.2039249688386917, -0.6214649081230164, -0.8623490929603577, -0.04548412561416626, -0.12146619707345963, -0.042581867426633835, -0.05883187800645828, 0.46685582399368286, -0.6332222819328308, 0.6373559832572937, -0.4688957631587982, -0.16552814841270447, -0.5657742619514465, 0.5059225559234619, 0.25781017541885376, 0.31345540285110474, 0.4969215989112854, -0.5163561105728149, -0.19026710093021393, -0.006774277426302433, -0.7675089240074158, -0.4575407803058624, -0.07021304965019226, 0.05284935235977173, -0.06997782737016678, 0.6375108957290649, -0.2926892340183258, 0.42954155802726746, 0.30484452843666077, -0.21558886766433716, 0.7479464411735535, -0.7622061967849731, 0.09034597128629684, -1.2311040163040161, 0.12038000673055649, -0.14461158215999603, -0.42247122526168823, -0.5667926073074341, 0.3720085322856903, 0.3630494475364685, -0.41808170080184937, -0.5451416373252869, 0.3712826371192932, -0.3961486220359802, 0.28592172265052795, -0.2169230878353119, -0.2400069385766983, 0.4401855766773224, 0.18800142407417297, 0.0568433478474617, 0.2929629683494568, 0.2197340428829193, -0.871597170829773, 0.009116840548813343, 0.4124775230884552, -0.03836890310049057, 0.25910431146621704, -0.6465972661972046, -0.25487059354782104, -0.08431331813335419, 0.4715103805065155, -0.424206405878067, -0.5713926553726196, -0.03501756489276886, 0.017126843333244324, 0.3284454047679901, 0.04806040972471237, -0.31328579783439636, -0.37516626715660095, -0.41507822275161743, 0.5639436841011047, 0.6405591368675232, -0.29312971234321594, 0.540095865726471, 0.21118572354316711, -0.3321880102157593, -0.4036449193954468, -0.742598295211792, 0.015502809546887875, -0.03212932497262955, -0.31045687198638916, 0.6729021668434143, 0.005246225278824568, -0.14663361012935638, -0.15851949155330658, 0.2759413719177246, -0.11375799030065536, -0.07446403801441193, 0.45924943685531616, 0.10654657334089279, -0.12155207991600037, -0.22161062061786652, 0.5352632999420166, -0.01176992617547512, 0.25286802649497986, -0.0384322926402092, 0.6805219650268555, 0.22715044021606445, -0.7550743222236633, -0.6449275016784668, 0.7974351048469543, 0.5361347198486328, -0.25485649704933167, 0.6080998182296753, 0.5657711029052734, -0.4938066899776459, -0.16327200829982758, -0.3631976842880249, -0.2330571711063385, -0.4606359004974365, 0.3715225160121918, -0.00804014503955841, -0.6688902974128723, 0.6858725547790527, -0.2730804681777954, 0.4116906523704529, 0.3698325753211975, 0.5260792970657349, -0.17207595705986023, 1.0880011320114136, 0.8335513472557068, 0.2170555293560028, 0.1862090826034546, -0.33951395750045776, 0.29097622632980347, -0.9004456400871277, -0.4526436924934387, -0.5746158957481384, 0.14223967492580414, -0.42113515734672546, -0.34393754601478577, 0.685843825340271, 0.25337451696395874, -0.2194681316614151, 0.21092689037322998, -0.5231460332870483, 0.14881852269172668, 0.22646105289459229, 0.3526785373687744, 0.18195486068725586, -0.0543384850025177, -0.1676473170518875, 0.050392407923936844, -0.7315351963043213, -0.591564953327179, 1.0030757188796997, 0.2369067221879959, 0.7221136093139648, -0.2005041241645813, 1.4026930332183838, 0.3478747308254242, 0.08054155856370926, -0.3494652807712555, 0.5091446042060852, -0.5781171917915344, 0.05293656513094902, 0.0415206179022789, -0.033876050263643265, -0.8708573579788208, -0.2648640275001526, -0.04773629084229469, -0.6908851265907288, 0.134110227227211, 0.467999666929245, -0.6535579562187195, -0.011800129897892475, -0.3591096103191376, 0.5834957361221313, -0.06360287964344025, -0.2883972227573395, -0.42679351568222046, -0.5863338708877563, 0.5951357483863831, -0.24181975424289703, 0.4519892930984497, 0.001246633124537766, 0.1138712540268898, 0.44479113817214966, -0.8851098418235779, 0.7610166072845459, 0.1375153660774231, -0.1947944611310959, 0.3018799424171448, -0.11393971741199493, 0.18277637660503387, 0.1449883133172989, -0.24959880113601685, -0.1644410789012909, 0.2760268747806549, -0.30483487248420715, -0.24467164278030396, 0.5281996130943298, -0.5240963697433472, -0.18601466715335846, -0.024894939735531807, -0.3152410387992859, -0.017986232414841652, 0.15638437867164612, 0.7139165997505188, 0.8779855966567993, -0.48388227820396423, -0.23005813360214233, 0.6432179808616638, -0.6870722770690918, 0.3004031479358673, 0.5848819613456726, -0.33713844418525696, -0.3334893584251404, 0.84330815076828, -0.1711166948080063, 0.5324200987815857, 0.5418611168861389, 0.012061567045748234, -0.2579183280467987, -0.6242081522941589, -0.5185410976409912, 0.32911285758018494, -0.8835365176200867, -0.30348390340805054, -0.8332585096359253, -0.5536291599273682, -0.5642299056053162, -0.4520554542541504, -0.2585345506668091, -0.35443031787872314, -0.5346676707267761, 0.053979821503162384, 0.24255473911762238, 1.0690081119537354, -0.24243003129959106, 0.2923477292060852, -1.186691403388977, 0.6922420859336853, -0.11052194982767105, 0.0957583338022232, -0.31977131962776184, -0.3777116537094116, -0.537335991859436, 0.16744010150432587, -0.506395161151886, -0.7645084857940674, 0.6687188148498535, 0.27277594804763794, 0.20413529872894287, 0.5408186316490173, 0.12506842613220215, 0.5431963801383972, -0.5950555801391602, 1.0000724792480469, 0.5287067890167236, -0.7434132099151611, 0.8821853995323181, -0.6235304474830627, 0.507296085357666, 0.5389588475227356, 0.19389115273952484, -0.3232741951942444, -0.7842751145362854, -0.5156665444374084, -1.1412615776062012, 0.7592539191246033, 0.06878533214330673, -0.06047450378537178, -0.26622360944747925, 0.40054625272750854, 0.08054214715957642, -0.04269809648394585, -0.27503249049186707, 0.06899438798427582, -0.23261836171150208, -0.44852888584136963, 0.2285180538892746, -0.5171278119087219, -0.19032692909240723, -0.009232228621840477, 0.4858880639076233, -0.08312912285327911, 0.2834193706512451, 0.21473011374473572, 0.05371171236038208, -0.10541034489870071, 0.5001420378684998, 0.7030311226844788, 0.8045380115509033, -0.3333689272403717, -0.012612313963472843, 0.03844276815652847, -0.5443475842475891, -0.03546508401632309, -0.0819145068526268, -0.26542919874191284, 0.2735312283039093, 0.37110018730163574, 0.6585104465484619, 0.3802446126937866, -0.803446352481842, 0.3592205345630646, -0.1892947554588318, -0.4699121415615082, -0.3093912601470947, 0.2775903344154358, 0.19552992284297943, -0.11387687921524048, 0.09296230971813202, -0.09293263405561447, 0.36646410822868347, -0.4594639241695404, 0.22484949231147766, 0.042102616280317307, -0.2649778127670288, -0.42019787430763245, 0.8810787796974182, 0.2768518626689911, -0.15748342871665955, 0.3960951566696167, -0.10736996680498123, -0.26439622044563293, 0.7970576286315918, 0.7688979506492615, 0.8887522220611572, -0.1323428899049759, 0.3815714716911316, 0.7720039486885071, 0.023716965690255165, -0.2709771990776062, 0.5532724857330322, -0.08359810709953308, -0.2198927253484726, -0.550358772277832, -1.1371650695800781, -0.5633851885795593, 0.279855877161026, -1.1145395040512085, 0.5123670697212219, -0.4351329207420349, 0.10019730031490326, -0.13669712841510773, -0.5884535312652588, -0.6941782236099243, 0.4751349985599518, 0.33875831961631775, 0.7442552447319031, -0.8237851858139038, 0.5537525415420532, 0.512165904045105, -0.5165755748748779, -0.9780797958374023, -0.19723846018314362, -0.31373631954193115, -0.5202142000198364, 0.4153941869735718, 0.08355838060379028, -0.25304868817329407, -0.17931583523750305, -0.3453015089035034, -0.3280893862247467, 1.1274014711380005, 0.2902073860168457, -0.7614423632621765, -0.3171716332435608, 0.4186275601387024, 0.7049917578697205, -0.463029146194458, 0.5772072076797485, 0.5293154120445251, 0.21395470201969147, -0.37429866194725037, -1.0516091585159302, -0.020317498594522476, -0.32178935408592224, -0.23088419437408447, 0.12054156512022018, -0.5463044047355652, 0.8402270674705505, -0.2577205002307892, -0.16765949130058289, 0.24035008251667023, 0.4513242542743683, 0.3723001778125763, 0.4746648073196411, -0.04737987741827965, 0.5234727263450623, 0.6520966291427612, 0.1704312562942505, 1.2585898637771606, -0.5733199715614319, 0.027554230764508247, 1.1188619136810303, -0.27700820565223694, 0.6963536143302917, 0.1972312033176422, -0.01602189987897873, 0.518944501876831, 0.52895587682724, 0.41125166416168213, 0.524988055229187, -0.0296721700578928, -0.3996162712574005, -0.2325834184885025, -0.41340723633766174, -0.44461506605148315, 0.3192647695541382, 0.5627550482749939, -0.745223343372345, -0.3837573230266571, 0.10510368645191193, -0.2537168264389038, 0.12086442857980728, -0.5391813516616821, 0.9402357935905457, 0.3934786319732666, -0.9077171683311462, 0.7342729568481445, 0.25892409682273865, 0.2515847086906433, -0.8626757860183716, -0.08908360451459885, -0.16468067467212677, 0.0690101757645607, -0.5445244312286377, -0.47008001804351807, 0.5450342297554016, 0.1934247612953186, -0.37280216813087463, -0.5084906220436096, 0.7359748482704163, -0.2929033637046814, -0.45032525062561035, 0.33234092593193054, 0.4546819031238556, 0.217728853225708, 0.062472909688949585, -0.5007355213165283, -0.04970073699951172, 0.06332015246152878, 0.18505655229091644, 0.5451165437698364, 0.3286362290382385, -0.12491020560264587, 0.438952773809433, 0.32726404070854187, 0.4318501055240631, 0.11704271286725998, 0.7032789587974548, 0.7847191095352173, -0.5696781873703003, -0.5837721824645996, -0.8393611311912537, 0.5234630703926086, 0.05105990916490555, -0.2306077778339386, 0.13233351707458496, 0.7274865508079529, 0.35460442304611206, -0.23089708387851715, 0.9146273732185364, 0.1390431672334671, 0.5617209076881409, -0.675226628780365, 0.876581072807312, -0.5496929883956909, 0.22948843240737915, -0.08251799643039703, -0.4997999668121338, -0.06755208224058151, 0.1017322689294815, 0.13022856414318085, -0.3607029616832733, 0.8443886637687683, 0.5397595167160034, -0.22221331298351288, -0.030278310179710388, 0.31795641779899597, -0.13028910756111145, 0.4750920832157135, 0.6730214953422546, 0.6549403667449951, -0.2843312919139862, 0.16646815836429596, -0.46290960907936096, -0.06642552465200424, -0.38682252168655396, -0.8848639130592346, -0.7121111750602722, -0.4883856177330017, -0.4252815544605255, -0.21282115578651428, 0.12805089354515076, 0.8371958136558533, 0.6175875663757324, -0.8056958913803101, -0.10207775980234146, -0.23220005631446838, -0.36495304107666016, 0.0024273365270346403, -0.09459707140922546, 0.1948777735233307, -0.335316002368927, -0.5048157572746277, 0.37843427062034607, 0.6085909605026245, -0.2521650791168213, -0.10020064562559128, -0.13110147416591644, 0.048050571233034134, -0.04771021008491516, 0.4706980586051941, 0.2812986671924591, -0.6735650897026062, 0.09894414246082306, -0.26534175872802734, -0.31979626417160034, -0.03015635907649994, 0.9749969840049744, -0.6337096691131592, 0.4330611526966095, 0.67811119556427, 0.34489092230796814, 0.5938116908073425, 0.2933642566204071, 0.7422990202903748, -0.6119087934494019, 0.003677142783999443, 0.5267145037651062, 0.5962071418762207, 0.2880544662475586, -0.4917125403881073, 0.26846379041671753, -0.3091900646686554, -0.6394630670547485, -0.7506009936332703, 0.2868715524673462, -0.9105042815208435, -0.14938731491565704, 0.8803567290306091, -0.16280438005924225, -0.20898453891277313, -0.45469003915786743, -0.09406978636980057, 0.4884141981601715, -0.23057867586612701, 0.5518653392791748, 0.20832166075706482, -0.4374094605445862, 0.029407082125544548, -0.5690515041351318, 0.6712228655815125, 0.3996438682079315, -1.0315797328948975, 0.06532293558120728, 0.48528850078582764, 0.16336849331855774, 0.15518465638160706, 1.0389559268951416, -0.1023029014468193, 0.632707953453064, -0.14484882354736328, 0.1531292349100113, -0.005816874094307423, -0.24184036254882812, -0.2337052971124649, 0.14337676763534546, -0.033819299191236496, 0.0744757354259491 ]
http://arxiv.org/abs/2407.02719v1
http://arxiv.org/pdf/2407.02719v1
Boosting Biomedical Concept Extraction by Rule-Based Data Augmentation
2024-07-03T00:00:21
2024-07-03T00:00:21
Qiwei Shao, Fengran Mo, Jian-Yun Nie
cs.CL
cs.CL
Document-level biomedical concept extraction is the task of identifying biomedical concepts mentioned in a given document. Recent advancements have adapted pre-trained language models for this task. However, the scarcity of domain-specific data and the deviation of concepts from their canonical names often hinder these models' effectiveness. To tackle this issue, we employ MetaMapLite, an existing rule-based concept mapping system, to generate additional pseudo-annotated data from PubMed and PMC. The annotated data are used to augment the limited training data. Through extensive experiments, this study demonstrates the utility of a manually crafted concept mapping tool for training a better concept extraction model.
[ -0.23797890543937683, -0.6286457777023315, 0.7189735770225525, -0.3198312819004059, -0.6178386807441711, 0.15291443467140198, 0.16854815185070038, -0.4546547830104828, 0.49758684635162354, 0.356975793838501, -0.6668735146522522, -0.5989721417427063, -0.6567047238349915, 0.27061817049980164, -0.145720437169075, 1.071185827255249, 0.1112249493598938, 0.09684938937425613, -0.7315062880516052, 0.02887788601219654, -0.4107678234577179, -0.45966124534606934, -0.029739096760749817, -0.5047235488891602, 0.3386843800544739, 0.33285751938819885, 0.5066383481025696, 0.8802585601806641, 0.8740020394325256, 0.16864575445652008, -0.09105940163135529, 0.6072598695755005, -0.325531929731369, -0.16832804679870605, -0.3746613562107086, -0.31595322489738464, -0.9163212776184082, 0.3471485674381256, 0.29100775718688965, 0.873542070388794, -0.04265659675002098, 0.09983813017606735, -0.30469590425491333, 0.4575445353984833, -0.5497385263442993, 0.35346442461013794, -0.2862092852592468, 0.08706345409154892, -0.37187403440475464, -0.6533161401748657, -0.08334436267614365, -0.3653174340724945, 0.4520890712738037, -0.8306746482849121, 0.3830348253250122, -0.29621052742004395, 1.0296965837478638, 0.2037946581840515, -0.0866338238120079, -0.3540131151676178, -0.48654642701148987, 0.2433842122554779, -0.815073549747467, 0.2949158847332001, 0.4062490463256836, 0.014294711872935295, -0.0011199712753295898, -0.829865038394928, -0.4190521836280823, -0.004834375809878111, -0.43191513419151306, 0.19004671275615692, 0.15856428444385529, 0.11765136569738388, 0.27814096212387085, 0.28910818696022034, -0.5392047762870789, -0.38536104559898376, -0.5653888583183289, -0.1241375282406807, 0.6336967349052429, 0.08256684988737106, 0.4536890685558319, -0.4414813816547394, -0.0793842300772667, -0.08577673882246017, -0.9445708394050598, -0.317151814699173, -0.19717919826507568, 0.39540281891822815, 0.2803005874156952, 0.7408010959625244, -0.33442097902297974, 0.5722829699516296, 0.051550496369600296, -0.340442031621933, 0.9470943808555603, -0.6717568635940552, -0.09927534312009811, 0.13668495416641235, 0.5792247653007507, 0.19893282651901245, -0.14498038589954376, -0.36348190903663635, 0.09896856546401978, -0.21935822069644928, 0.36288920044898987, -0.9754825234413147, -0.4600660800933838, 0.26003360748291016, -0.5172022581100464, -0.32767757773399353, 0.3201161026954651, -0.8325206637382507, -0.3804132640361786, -0.23654621839523315, 0.5778403282165527, -0.5400928258895874, -0.38122817873954773, 0.17632544040679932, -0.5060065388679504, 0.016663596034049988, 0.27004989981651306, -0.6056426167488098, -0.1551230251789093, 0.7434568405151367, 1.0832970142364502, -0.301351934671402, 0.048467569053173065, -0.019697707146406174, 0.3582800328731537, -0.43653830885887146, 0.8745466470718384, -0.8378815650939941, -0.8089117407798767, -0.3629976809024811, 0.19187067449092865, -0.09545392543077469, -0.6247766017913818, 0.6560801267623901, -0.24650558829307556, 0.18268238008022308, -0.3603992760181427, -0.8063809275627136, -0.06125950068235397, -0.129020094871521, -0.47662580013275146, 0.7101051807403564, 0.15624769032001495, -0.9053479433059692, 0.5858168005943298, -1.0668433904647827, -0.6405171155929565, 0.4655684530735016, -0.1742905080318451, -0.3656224310398102, 0.25368112325668335, 0.08252865076065063, 0.4720761775970459, -0.1564348340034485, 0.29595834016799927, -0.3339096009731293, -0.006240664981305599, 0.2450494021177292, 0.30894848704338074, 0.609499990940094, 0.2884124219417572, -0.0810510516166687, -0.07761881500482559, -0.7910474538803101, -0.19276964664459229, 0.13042525947093964, -0.13193602859973907, -0.7292174100875854, 0.262666791677475, -0.4181200861930847, 0.3773111402988434, 0.06399332731962204, -0.7200919985771179, 0.5275342464447021, -0.4768863916397095, 0.40030622482299805, 0.2856684625148773, 0.3079165816307068, 0.3975564241409302, -0.3403165638446808, 0.3769751191139221, -0.19991691410541534, -0.0730094313621521, -0.19713038206100464, -0.5616301894187927, -0.3576989471912384, -0.7802085876464844, 0.57247394323349, 0.388452410697937, -0.7132675051689148, 0.5967655181884766, -0.5194287300109863, -0.6327719688415527, -0.8163967132568359, -0.0021636909805238247, 0.03405070677399635, 0.7878642678260803, 0.7132587432861328, -0.35328859090805054, -0.6804364323616028, -0.7871177792549133, 0.17770831286907196, 0.0847184881567955, 0.02529696188867092, 0.40743476152420044, 0.43306073546409607, -0.6547779440879822, 1.1523007154464722, -0.8487957119941711, -0.40985816717147827, -0.08329911530017853, 0.41834720969200134, 0.27241528034210205, 0.5337249040603638, 0.2961083650588989, -0.8254871368408203, -0.03294248878955841, -0.02687997929751873, -0.8918590545654297, -0.568873405456543, -0.15965865552425385, -0.1608041375875473, -0.5261160135269165, 0.6934165954589844, -0.7297332882881165, 0.36017584800720215, -0.02136576920747757, -0.10752318799495697, 0.4341418743133545, -0.2963102161884308, 0.07990234345197678, -1.0451698303222656, 0.40667858719825745, -0.032483212649822235, -0.33591508865356445, -0.7466832995414734, 0.05184200033545494, 0.3097989857196808, -0.02927207574248314, -0.3066118359565735, 0.36559122800827026, -0.34463879466056824, 0.14095573127269745, -0.6485857963562012, -0.02221180871129036, 0.20702293515205383, -0.1480177342891693, 0.6052682995796204, 0.7228283286094666, 0.35388579964637756, -0.6121615171432495, 0.1833062618970871, 0.6231101751327515, 0.05972064286470413, 0.37310469150543213, -0.6757632493972778, 0.07464159280061722, -0.06700064241886139, 0.36741676926612854, -0.7618852257728577, -0.11514735221862793, 0.32740887999534607, -0.4469110071659088, 0.3813954293727875, -0.01731470599770546, -0.5077819228172302, -0.5532300472259521, -0.19695231318473816, 0.07307639718055725, 0.3070472776889801, -0.34009164571762085, 0.44668203592300415, 0.7608423233032227, -0.38625940680503845, -0.33296623826026917, -0.44717803597450256, 0.07992909103631973, -0.12832143902778625, -0.15567134320735931, 0.7347521781921387, -0.14277255535125732, 0.08287546038627625, 0.14082284271717072, -0.09951721131801605, -0.08412696421146393, 0.1046665832400322, 0.5283580422401428, 0.46402493119239807, -0.05279027670621872, 0.4439477026462555, 0.20019754767417908, -0.10935115814208984, 0.20851846039295197, -0.17397035658359528, 0.3032896816730499, 0.4006781280040741, -0.1682041585445404, -0.28741753101348877, 0.2360820472240448, 0.4000949263572693, -0.4351624548435211, 0.5077357292175293, 0.46214228868484497, -0.40428200364112854, 0.019665176048874855, -0.1503998339176178, -0.2789560556411743, -0.3773898184299469, 0.44185784459114075, -0.3337101340293884, -0.3394675850868225, 0.028314169496297836, -0.5755635499954224, -0.026598742231726646, 0.8124834895133972, 0.6274102926254272, -0.37611979246139526, 0.6147487759590149, 0.7438939809799194, 0.3421937823295593, 0.2357746958732605, -0.3499109447002411, 0.04129180312156677, -0.7912637591362, -0.4033655822277069, -0.45550787448883057, -0.06960795074701309, -0.36942264437675476, -0.773130476474762, 0.377577006816864, -0.10844095051288605, 0.5585875511169434, 0.49931657314300537, -0.5517423748970032, 0.2840024530887604, 0.2906227111816406, 0.337009072303772, 0.21338269114494324, -0.3510533273220062, -0.3702232837677002, 0.02632484957575798, -0.7165306806564331, -0.38287922739982605, 1.4777389764785767, 0.25255629420280457, 0.3943832516670227, -0.18366137146949768, 0.8718492388725281, 0.4430924355983734, 0.5199100375175476, -0.6683782935142517, 0.2785627841949463, -0.03936577960848808, -0.8210718035697937, -0.012815138325095177, -0.494895339012146, -0.7044170498847961, -0.023786403238773346, -0.7274192571640015, -0.23243211209774017, 0.6825661659240723, -0.05263981223106384, -0.4289112687110901, -0.10929850488901138, -0.5889489650726318, 0.6665515303611755, -0.05544836446642876, -0.13162077963352203, -0.05985581874847412, -0.6235578060150146, 0.22133980691432953, -0.7332431077957153, 0.3179713189601898, -0.027848130092024803, -0.13424360752105713, 0.8329662084579468, -0.6879901885986328, 0.5702754259109497, -0.03849949687719345, -0.040208786725997925, 0.2109404057264328, -0.2602637708187103, 0.2294514775276184, -0.006384272128343582, 0.15088829398155212, 0.17675679922103882, 0.1715061217546463, -0.35096970200538635, -0.21532487869262695, 0.1693067103624344, -0.5609336495399475, -0.32045599818229675, -0.45117348432540894, -0.5072246789932251, -0.3195593059062958, 0.17787428200244904, 0.36213231086730957, 0.1533139944076538, -0.27341821789741516, 0.2757561206817627, 0.6642692685127258, -0.14805130660533905, 0.32920941710472107, 0.7329248189926147, 0.13712483644485474, -0.32570019364356995, 1.0380208492279053, 0.11242936551570892, 0.03614790365099907, 0.5559089779853821, 0.22067366540431976, -0.43404895067214966, -0.7079668641090393, -0.13579992949962616, 0.19980423152446747, -0.3487769663333893, -0.4109499752521515, -0.9351486563682556, -0.2421325147151947, -0.5298233032226562, 0.12758809328079224, -0.2025485336780548, -0.5627601742744446, -0.41649144887924194, -0.3183669149875641, 0.3298893868923187, 0.42452773451805115, -0.5923006534576416, 0.3452169895172119, -0.966161847114563, 0.5647145509719849, 0.20359402894973755, -0.09920841455459595, -0.6348427534103394, -0.41807660460472107, -0.3178010880947113, 0.036905813962221146, -0.10032282024621964, -1.089097499847412, 0.38113459944725037, 0.5573169589042664, 0.7251704931259155, 0.6589264869689941, -0.0926128700375557, 0.615643322467804, -0.6176669001579285, 0.30126458406448364, 0.08170154690742493, -0.6856468319892883, 0.878563642501831, -0.19922856986522675, -0.0631643608212471, 0.6001254916191101, 0.575753927230835, -0.20708931982517242, -0.10567741841077805, -0.9217527508735657, -0.7161524295806885, 0.5192201733589172, 0.10067661851644516, -0.03431122004985809, -0.1607060432434082, 0.5958094596862793, 0.4635578989982605, 0.40787625312805176, -0.27165859937667847, -0.09849409013986588, -0.39810091257095337, -0.30801552534103394, -0.2751311659812927, -0.17220215499401093, -0.2132868468761444, -0.391262948513031, 0.5923380851745605, -0.15400715172290802, 0.18907059729099274, 0.4365956783294678, -0.5703463554382324, -0.10732588171958923, -0.05781180039048195, 0.6814079284667969, 0.7104625105857849, -0.68375164270401, 0.0344117246568203, -0.08611615002155304, -0.7663766741752625, -0.007083219010382891, 0.5616315007209778, -0.2188858985900879, 0.17444154620170593, 0.5984975695610046, 0.24023081362247467, -0.10639376193284988, -0.8554948568344116, 0.5004413723945618, 0.13030728697776794, -0.4316544830799103, 0.4762795567512512, 0.16550599038600922, 0.0034145982936024666, 0.09072940051555634, 0.4481303095817566, 0.08150338381528854, 0.4711950123310089, -0.4462338984012604, 0.8023278117179871, 0.4981139302253723, -0.14210094511508942, -0.3359527885913849, 0.3949923813343048, 0.3815329372882843, 0.01438977662473917, -0.0898377075791359, -0.12685036659240723, -0.3113778233528137, 0.3522818386554718, 0.5744535326957703, 0.4879189133644104, -0.17206259071826935, 0.41787171363830566, 0.42894092202186584, 0.19511419534683228, 0.06758632510900497, 0.03551154211163521, -0.08446397632360458, -0.48248159885406494, -0.6490219831466675, -0.538963258266449, -0.27421799302101135, 0.059537988156080246, -0.47439536452293396, 0.24174381792545319, -0.399359792470932, -0.33489635586738586, 0.5438835024833679, 0.2812628149986267, -0.45823970437049866, 0.34341683983802795, 0.20009154081344604, 0.8579554557800293, -1.1176658868789673, 1.0407065153121948, 0.8073430061340332, -0.6408327221870422, -0.36090826988220215, -0.2961742579936981, 0.015499036759138107, -0.6563512682914734, 0.6512525081634521, -0.18389885127544403, 0.25153374671936035, -0.11455301195383072, -0.31386175751686096, -0.6919965147972107, 1.0213587284088135, -0.05580052733421326, -0.4753725230693817, -0.15910358726978302, 0.1146034225821495, 0.6508233547210693, -0.7250913977622986, 0.2857438325881958, 0.7004439830780029, 0.3773605227470398, 0.2959161102771759, -0.6946669816970825, 0.03158755600452423, -0.37088993191719055, -0.4775157868862152, -0.006830661557614803, -0.0033743444364517927, 0.7504566311836243, -0.1994413584470749, -0.11468852311372757, -0.18740743398666382, 0.3638640344142914, 0.07253990322351456, 0.4682169556617737, 0.1993263214826584, 0.6531506776809692, 0.9916233420372009, -0.09664925187826157, 0.7969306707382202, -0.14343154430389404, 0.42334580421447754, 1.0975842475891113, -0.2903442084789276, 0.6195504665374756, 0.24740485846996307, -0.13586361706256866, 0.4766150414943695, 0.9995580911636353, -0.11518102139234543, 0.9001368284225464, -0.13578125834465027, 0.20106874406337738, -0.21761314570903778, -0.2865385115146637, -0.77988201379776, 0.3621060848236084, 0.7440221905708313, -0.6201910972595215, -0.13078689575195312, -0.01112055592238903, -0.01203268300741911, -0.4096405506134033, -0.261823445558548, 1.2410738468170166, -0.030376901850104332, -0.03427185118198395, 0.5115339159965515, -0.11510098725557327, 0.37470343708992004, -0.5050601959228516, -0.21618512272834778, -0.17159198224544525, -0.08960403501987457, -0.21503804624080658, -0.39654552936553955, 0.258922815322876, -0.15432651340961456, -0.22315692901611328, 0.023025577887892723, 0.9917178153991699, -0.4271450638771057, -0.530107319355011, -0.051894839853048325, 0.9823746681213379, 0.023221459239721298, 0.024425296112895012, -0.849807858467102, -0.3966442048549652, -0.17471516132354736, 0.3546789884567261, 0.06799931079149246, 0.4788548946380615, 0.27117571234703064, 0.44375529885292053, 0.8579355478286743, 0.5368176102638245, -0.25291717052459717, -0.26690128445625305, 0.8838065266609192, -0.5477319955825806, -0.45230504870414734, -0.8060810565948486, 0.1444975584745407, -0.37459811568260193, -0.058663856238126755, 0.4997009038925171, 0.5071583986282349, 0.33245351910591125, -0.11485371738672256, 0.7876280546188354, 0.007173181977123022, 0.8576599955558777, -0.3246443271636963, 0.7901123762130737, -0.5885942578315735, 0.09719322621822357, -0.5939708948135376, -0.832255482673645, -0.2651838958263397, 0.6052207350730896, -0.3058200776576996, -0.2084118127822876, 0.8859307169914246, 0.5799288153648376, -0.24499405920505524, 0.027257906273007393, -0.01216034684330225, 0.09781123697757721, 0.34792816638946533, 0.25813961029052734, 0.5437420010566711, -0.08033324033021927, 0.130767822265625, -0.1917428970336914, -0.4624195694923401, -0.566506028175354, -0.8863267302513123, -0.7391489744186401, -0.5299357175827026, -0.5235973596572876, -0.26631662249565125, 0.14581115543842316, 0.9637271761894226, 1.2757189273834229, -0.7240508794784546, 0.3201408088207245, -0.05599747225642204, -0.010950618423521519, -0.22212040424346924, -0.13466010987758636, 0.7306411862373352, -0.3603651523590088, -0.3415023684501648, 0.6158741116523743, 0.3545328676700592, 0.3088206946849823, 0.2971508502960205, 0.07261763513088226, -0.578444242477417, 0.31599658727645874, 0.4334048628807068, 0.340466171503067, -0.06748905032873154, 0.13145823776721954, -0.11458446830511093, -0.15957805514335632, 0.2091066837310791, 0.9368506073951721, -0.8905758261680603, 0.6512088775634766, 0.4053662121295929, 0.7956743836402893, 0.3084210455417633, 0.3886280953884125, 0.6051740646362305, -0.7658403515815735, 0.13137061893939972, 0.12667198479175568, 0.20386500656604767, 0.3335351347923279, -0.2714990973472595, 0.7588329911231995, 0.7835515141487122, -0.02958703599870205, -0.7244365811347961, -0.23604395985603333, -0.910186767578125, -0.597987949848175, 1.0051437616348267, 0.09674951434135437, -0.2212238311767578, -0.14887741208076477, -0.30777278542518616, 0.27122947573661804, -0.24684476852416992, 0.6902568936347961, 0.438699871301651, -0.0701027512550354, 0.10783714056015015, -0.5714750289916992, 0.878044605255127, 0.09256244450807571, -1.2863022089004517, -0.07394258677959442, 0.3688579797744751, 0.23970527946949005, 0.45148688554763794, 0.6685029864311218, -0.2739063501358032, 0.38688725233078003, -0.3338952958583832, 0.12423032522201538, -0.2670305073261261, -0.3299287259578705, -0.031645771116018295, 0.13185453414916992, -0.22356745600700378, -0.31732377409935 ]
http://arxiv.org/abs/2407.02694v1
http://arxiv.org/pdf/2407.02694v1
LLM-Select: Feature Selection with Large Language Models
2024-07-02T22:23:40
2024-07-02T22:23:40
Daniel P. Jeong, Zachary C. Lipton, Pradeep Ravikumar
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
In this paper, we demonstrate a surprising capability of large language models (LLMs): given only input feature names and a description of a prediction task, they are capable of selecting the most predictive features, with performance rivaling the standard tools of data science. Remarkably, these models exhibit this capacity across various query mechanisms. For example, we zero-shot prompt an LLM to output a numerical importance score for a feature (e.g., "blood pressure") in predicting an outcome of interest (e.g., "heart failure"), with no additional context. In particular, we find that the latest models, such as GPT-4, can consistently identify the most predictive features regardless of the query mechanism and across various prompting strategies. We illustrate these findings through extensive experiments on real-world data, where we show that LLM-based feature selection consistently achieves strong performance competitive with data-driven methods such as the LASSO, despite never having looked at the downstream training data. Our findings suggest that LLMs may be useful not only for selecting the best features for training but also for deciding which features to collect in the first place. This could potentially benefit practitioners in domains like healthcare, where collecting high-quality data comes at a high cost.
[ -0.49533534049987793, -0.501701831817627, 0.9077896475791931, -0.004939024802297354, -0.27750059962272644, -0.08320076018571854, -0.24493621289730072, -0.6895867586135864, 0.33872970938682556, 0.6710962057113647, -0.3956761658191681, -0.478483647108078, -0.7973538041114807, 0.08125382661819458, -0.6294800043106079, 1.0512980222702026, 0.10416856408119202, 0.22731871902942657, -0.23997697234153748, -0.09315985441207886, -0.18850749731063843, -0.6390814185142517, -0.426042377948761, -0.4907594621181488, 0.8616840839385986, 0.0560339130461216, 0.6613890528678894, 0.7656980156898499, 0.6599534153938293, 0.11456513404846191, -0.17424283921718597, -0.10103312879800797, -0.44363686442375183, 0.4419761598110199, 0.16143092513084412, -0.490005761384964, -0.3742803633213043, 0.052715715020895004, 0.5976857542991638, 0.8192110061645508, 0.33666080236434937, 0.16559985280036926, 0.09049734473228455, 0.7128310203552246, -0.3829455077648163, 0.1438661366701126, -0.8013163805007935, 0.03787083551287651, -0.20512227714061737, 0.001867547631263733, -0.06344097852706909, -0.26236796379089355, 0.34152668714523315, -0.15716929733753204, 0.2722785472869873, 0.09737004339694977, 0.6998805999755859, 0.44006386399269104, -0.285075306892395, -0.09415668249130249, -0.6790921688079834, 0.6750173568725586, -0.2821252942085266, 0.5278487801551819, 0.5463676452636719, 0.4078732430934906, 0.02440861612558365, -0.41123536229133606, -0.14126217365264893, -0.5273299217224121, 0.24582840502262115, 0.023161523044109344, 0.08958359807729721, 0.1160791665315628, 0.2635195851325989, 0.39011844992637634, -0.5452407598495483, 0.41838693618774414, -0.288318395614624, -0.2692503333091736, 0.5833193063735962, 0.05451995134353638, 0.025742607191205025, 0.017438307404518127, -0.1362854689359665, 0.15128226578235626, -1.0710198879241943, -0.08691327273845673, -0.05100293830037117, 0.340756356716156, -0.035366687923669815, 0.6388764381408691, -0.2520350217819214, 0.6489492058753967, -0.38315844535827637, -0.17850811779499054, 0.09248270094394684, 0.05322039872407913, -0.22495578229427338, -0.06484676152467728, 0.7065998911857605, -0.14721643924713135, 0.12932942807674408, -0.10530165582895279, -0.2609916627407074, 0.005318029783666134, -0.03385453298687935, -0.7111964225769043, -0.28283655643463135, 0.33899742364883423, -0.3241882920265198, -0.46996840834617615, -0.18441607058048248, -0.6133978366851807, -0.39348268508911133, -0.034608375281095505, 0.035313449800014496, -0.0555819496512413, -0.1417212039232254, -0.17660772800445557, 0.12557998299598694, -0.007683001924306154, 0.45847439765930176, -1.024804949760437, 0.10180585086345673, 0.5967917442321777, 0.8751261830329895, -0.5146640539169312, -0.2723642885684967, -0.6404643058776855, -0.1783815622329712, -0.46984946727752686, 0.7819256782531738, -0.8885456323623657, -0.3022337853908539, 0.01368865929543972, -0.2296493947505951, 0.20567935705184937, -0.7081441283226013, 0.31649303436279297, -0.47477924823760986, -0.06171346455812454, -0.4169650077819824, -0.34704169631004333, -0.0750560611486435, 0.19574233889579773, -0.9286004304885864, 0.9528210759162903, 0.26959311962127686, -0.5129055976867676, 0.7661904096603394, -0.32655802369117737, -0.37258180975914, 0.07597914338111877, -0.44820094108581543, -0.6780549883842468, 0.31208276748657227, 0.22899042069911957, 0.6825240850448608, -0.6287649869918823, 0.22394965589046478, -0.7854291200637817, -0.3115016222000122, 0.4672691822052002, -0.46640926599502563, 0.2590464651584625, 0.18582649528980255, -0.08872640877962112, 0.08787509799003601, -0.654012143611908, -0.1818176507949829, 0.2007516622543335, -0.54653400182724, 0.03632267564535141, -0.002972718793898821, -0.08900706470012665, 0.3149949312210083, 0.1562216430902481, -0.29981809854507446, 0.10320506244897842, -0.04762660339474678, 0.5459780693054199, 0.3746010363101959, -0.19382250308990479, 0.3548036515712738, -0.3254598081111908, 0.824493944644928, -0.2832471430301666, 0.17077039182186127, -0.001958116888999939, -0.4491061866283417, -0.46433284878730774, -0.5590657591819763, 0.5096220970153809, 0.3977782130241394, -0.5047794580459595, 0.28377339243888855, -0.1452448070049286, -0.4025440514087677, -0.5817813873291016, 0.15669932961463928, 0.22498735785484314, 0.3306330442428589, 0.15449626743793488, 0.008716949261724949, -0.2885608971118927, -0.768618643283844, 0.17701923847198486, -0.2981371581554413, -0.05709591135382652, 0.5481276512145996, 0.15447461605072021, -0.03213939815759659, 0.6079220175743103, -0.5998737215995789, -0.1352681666612625, -0.5948929786682129, -0.2637476921081543, 0.19372352957725525, -0.05775511637330055, 0.5394109487533569, -0.7894818782806396, -0.26519885659217834, 0.013916149735450745, -0.7152118682861328, -0.2934408187866211, 0.08938712626695633, -0.05030129477381706, 0.09462406486272812, 0.1811201125383377, -0.6757764220237732, 0.15513531863689423, 0.6138859987258911, 0.12700431048870087, 0.5216507911682129, -0.20348922908306122, -0.10081334412097931, -0.7956126928329468, 0.13722407817840576, 0.17849504947662354, -0.251880407333374, -0.4019187092781067, -0.2618692219257355, 0.2164241075515747, -0.2205417901277542, -0.32826876640319824, 0.8479185700416565, -0.5195830464363098, -0.33462920784950256, -0.2767193913459778, -0.006919005420058966, -0.15615667402744293, 0.21497094631195068, 0.12837976217269897, 0.6824605464935303, 0.7865453362464905, -0.4724029004573822, 0.27174803614616394, 0.17337818443775177, -0.23562456667423248, 0.010277533903717995, -0.40022969245910645, -0.00012216409959364682, 0.12922303378582, 0.00126479787286371, -0.8758798837661743, -0.49151700735092163, -0.29972392320632935, -0.4580000340938568, 0.41787952184677124, -0.36252665519714355, -0.4174251854419708, -0.623306930065155, -0.3099544942378998, -0.057910822331905365, 0.5839787125587463, -0.28323283791542053, 0.2362210899591446, 0.6688892245292664, -0.3582615852355957, -0.5371781587600708, -0.6946693658828735, 0.08704492449760437, -0.3697417080402374, -0.10348972678184509, 0.003841197583824396, 0.03128453716635704, 0.09169122576713562, -0.16969789564609528, -0.1858820766210556, 0.06037779524922371, 0.5175192952156067, 0.27946019172668457, 0.6274063587188721, -0.05589461326599121, 0.27097371220588684, 0.06824002414941788, -0.19568215310573578, -0.04472259059548378, -0.19732992351055145, 0.47216498851776123, 0.2006460428237915, -0.49033287167549133, -0.027498241513967514, 0.2321290671825409, 0.6839800477027893, -0.35419654846191406, 0.3637189269065857, 0.3787423074245453, -0.28415876626968384, -0.25516772270202637, -0.76841139793396, -0.39067524671554565, -0.3598369061946869, 0.785723090171814, -0.20751307904720306, -1.3627467155456543, 0.5034854412078857, -0.05199187248945236, -0.16444969177246094, 0.2611813247203827, 0.557031512260437, -0.038296375423669815, 1.175930142402649, 0.6099118590354919, -0.5028752684593201, 0.5820813179016113, -0.07586421072483063, 0.14467637240886688, -0.799626886844635, -0.062427084892988205, -0.5544004440307617, -0.2701253294944763, -0.746017336845398, -0.17513005435466766, 0.7874703407287598, 0.1509934663772583, 0.048141591250896454, -0.05054645612835884, -0.48360908031463623, 0.30159687995910645, 0.34298476576805115, 0.08709698170423508, 0.07945509999990463, 0.08039887994527817, -0.2764381766319275, 0.01904173381626606, -0.4897160232067108, -0.42809897661209106, 1.280898928642273, 0.3862650692462921, 0.7229064702987671, -0.17626866698265076, 0.7103510499000549, -0.04566749930381775, 0.3940432071685791, -0.876375675201416, 0.6311455368995667, -0.3221456706523895, -0.3992610573768616, -0.43871721625328064, -0.3802565634250641, -1.0365532636642456, 0.3174353837966919, -0.7049380540847778, -0.5489344596862793, -0.19142122566699982, 0.3086637556552887, -0.5476084351539612, 0.18147027492523193, -0.4445309638977051, 0.5850613117218018, -0.5110390782356262, -0.32291537523269653, 0.022227413952350616, -0.39933493733406067, 0.14145204424858093, -0.46193093061447144, -0.0377369150519371, -0.4874575436115265, -0.2726411521434784, 0.37238919734954834, -0.029478780925273895, 0.617868185043335, -0.013534554280340672, 0.3435739278793335, -0.13901770114898682, 0.1625029295682907, 0.2709228992462158, 0.07507576048374176, -0.2675354480743408, 0.2264845222234726, -0.17368188500404358, -0.14402031898498535, -0.6569830775260925, 0.7167667150497437, -0.6228681802749634, -0.7505263686180115, -0.2336401641368866, -0.39898666739463806, -0.42837297916412354, 0.16439282894134521, 0.20640932023525238, 0.3359329402446747, -0.18246114253997803, 0.16455680131912231, 0.6015390753746033, -0.1938243806362152, 0.3751122057437897, 0.32229167222976685, -0.34573227167129517, -0.4715922772884369, 0.8379716873168945, 0.432102769613266, 0.3635339140892029, 0.4718652665615082, 0.3488330841064453, -0.35293686389923096, -1.2544344663619995, -0.4359956979751587, 0.442164808511734, -0.44493818283081055, -0.19386737048625946, -0.8126416802406311, -0.5137968063354492, -0.07232868671417236, -0.08017126470804214, -0.07691624015569687, -0.4370212256908417, -0.27937087416648865, -0.3438580334186554, 0.3559589684009552, 0.7648378610610962, 0.19186636805534363, -0.031675007194280624, -0.8616335988044739, 0.07107376307249069, 0.40181267261505127, 0.2517259120941162, -0.20835022628307343, -0.35501664876937866, -0.286874383687973, -0.47148120403289795, -0.31484490633010864, -0.7567484974861145, 0.6510404944419861, 0.049447618424892426, 0.7803629040718079, 0.2496769279241562, -0.13889478147029877, 0.19337555766105652, -0.4716951251029968, 0.749711275100708, 0.06219413876533508, -0.37606528401374817, 0.6925936341285706, -0.3608081638813019, 0.2735450267791748, 0.4372648298740387, 0.5870794653892517, -0.2944281995296478, -0.4247165620326996, -0.4988110065460205, -0.781682014465332, 0.513197124004364, 0.04420262202620506, -0.0051802597008645535, -0.09351978451013565, 0.37363201379776, 0.24877993762493134, 0.4691283404827118, -0.5742413997650146, -0.04970160126686096, 0.19901059567928314, -0.26980528235435486, -0.047304026782512665, -0.4609205722808838, 0.06560426950454712, -0.02257711812853813, 0.41671523451805115, -0.36601877212524414, 0.23695039749145508, 0.11758378148078918, -0.026399819180369377, -0.09625538438558578, 0.26192328333854675, 0.45687705278396606, 0.7158746719360352, -0.14354054629802704, 0.05409640073776245, 0.3169459402561188, -0.5456133484840393, -0.15655072033405304, 0.3847593367099762, -0.19345475733280182, -0.13749994337558746, 0.4557555019855499, 1.0063450336456299, 0.22436851263046265, -0.6484695076942444, 0.44535666704177856, 0.22949469089508057, -0.06816446781158447, -0.16108067333698273, 0.2670730948448181, 0.0659133791923523, 0.42810848355293274, 0.3529615104198456, -0.14986951649188995, 0.20935989916324615, -0.3810509145259857, 0.22470054030418396, 0.6602101922035217, -0.5244744420051575, -0.3061959743499756, 0.7634446620941162, 0.1658073365688324, -0.03258732333779335, 0.3750830292701721, 0.042069416493177414, -0.5146392583847046, 0.6190388798713684, 0.29054051637649536, 0.8532599210739136, -0.09607690572738647, 0.15018241107463837, 0.13912372291088104, 0.03596349060535431, -0.35344573855400085, 0.3966597616672516, 0.10487911105155945, -0.6722234487533569, -0.5202770233154297, -0.8051801323890686, -0.5745043754577637, 0.3858571946620941, -0.5053773522377014, 0.3920060098171234, -0.48047390580177307, -0.2874392867088318, 0.043686944991350174, 0.12895408272743225, -0.7632853388786316, 0.1609416902065277, 0.582755446434021, 0.7809145450592041, -0.8496162295341492, 1.1448994874954224, 0.5911139249801636, -0.305276483297348, -0.7012655138969421, -0.0011215473059564829, 0.2946252226829529, -1.0883111953735352, 0.6873687505722046, 0.11458621174097061, 0.22211401164531708, -0.22114816308021545, -0.3653235137462616, -1.064371109008789, 1.0770025253295898, 0.7134849429130554, -0.5759516954421997, -0.17330993711948395, 0.2045375406742096, 0.5115144848823547, -0.5628783106803894, 0.44332343339920044, 0.6397878527641296, 0.12002474069595337, 0.37377044558525085, -1.1854993104934692, 0.01112281996756792, 0.10286735743284225, 0.12605324387550354, 0.35320770740509033, -0.6646254062652588, 0.7448468804359436, -0.38969165086746216, 0.20130066573619843, -0.06672380864620209, 0.42255666851997375, 0.5951632857322693, 0.07186102867126465, 0.3411090075969696, 0.3715139627456665, 0.858594536781311, -0.13769423961639404, 1.2419352531433105, -0.2992134690284729, 0.2489185929298401, 0.7131916284561157, -0.5782498717308044, 1.1533658504486084, 0.1645589917898178, -0.35298967361450195, -0.08213017135858536, 0.8889014720916748, -0.035705480724573135, 0.5645129680633545, 0.011671993881464005, -0.32646775245666504, -0.4888136684894562, -0.04811997711658478, -0.1529199182987213, 0.5095927119255066, 0.4597204029560089, -0.4925767779350281, -0.12314625084400177, 0.036196883767843246, 0.01099292654544115, -0.3537897765636444, -0.41429421305656433, 0.8157305717468262, 0.30020368099212646, -0.5207264423370361, 0.656755268573761, -0.613806962966919, 0.537807822227478, -0.8265432715415955, -0.09169799089431763, -0.19954745471477509, -0.180325448513031, -0.11091423779726028, -0.93355792760849, 0.05014129355549812, -0.08221815526485443, -0.19014078378677368, -0.1970561146736145, 0.7399910688400269, -0.36720165610313416, -0.4752447009086609, 0.4276562035083771, 0.6820192933082581, 0.27655351161956787, -0.3344782590866089, -0.6824451088905334, 0.19369105994701385, 0.030345769599080086, -0.31148871779441833, 0.8133851289749146, 0.44993141293525696, -0.24785083532333374, 0.873512327671051, 0.6828383207321167, 0.8755940794944763, -0.26670050621032715, 0.1869184821844101, 0.9507101774215698, -0.8330584764480591, -0.36137890815734863, -0.8744180798530579, 0.19300183653831482, -0.07298173755407333, -0.09890243411064148, 0.2838576138019562, 0.4309513568878174, 0.6861693263053894, 0.17420463263988495, 1.1468850374221802, 0.42739394307136536, 0.7269692420959473, -0.6707594990730286, 0.724268913269043, -0.3988311290740967, 0.3489668369293213, 0.12905487418174744, -0.9823187589645386, -0.5385121703147888, 0.2671281695365906, -0.6288824081420898, 0.19555841386318207, 0.7629029750823975, 0.6692871451377869, 0.08654540777206421, -0.1639397144317627, 0.8801116347312927, 0.20573866367340088, 0.30788666009902954, 0.47491005063056946, 0.6341413855552673, 0.2086227685213089, 0.4626699984073639, -0.05382402241230011, -0.27011868357658386, -0.4164882302284241, -0.8276538848876953, -1.0293335914611816, -0.4149966239929199, -0.13406777381896973, -0.12060050666332245, -0.1168600469827652, 1.0402958393096924, 0.9078367948532104, -0.8300553560256958, 0.0005566985928453505, 0.4001367688179016, 0.23631855845451355, -0.013129138387739658, -0.08110376447439194, 0.4182955026626587, -0.34160012006759644, -0.4981646239757538, 0.3826477527618408, 0.6129382252693176, 0.18133804202079773, -0.34762611985206604, 0.09403162449598312, 0.2694959044456482, -0.24521693587303162, 0.5628681778907776, 0.25949826836586, -0.8406050801277161, -0.21579571068286896, 0.006740425247699022, -0.12863393127918243, 0.13915663957595825, 0.8329100012779236, -0.8643686771392822, 0.20183974504470825, 0.3519403338432312, 0.9040462374687195, 0.6172428131103516, -0.42993706464767456, 0.4997800886631012, -0.2960248589515686, 0.024856241419911385, 0.3693748414516449, 0.6506969332695007, 0.4605492353439331, -0.5564204454421997, 0.44452404975891113, 0.19265994429588318, -0.7621599435806274, -0.7539653182029724, 0.2031916379928589, -0.748917818069458, -0.10295746475458145, 1.326690673828125, 0.024039428681135178, -0.26948118209838867, -0.11399738490581512, -0.055918361991643906, -0.08069954067468643, -0.33981645107269287, 0.7587285041809082, 0.632450520992279, -0.3874303698539734, -0.43512362241744995, -1.178253412246704, 0.6534663438796997, 0.35928982496261597, -0.7386483550071716, 0.0422271266579628, 0.5622739195823669, 0.4166348874568939, -0.21762718260288239, 0.5119290947914124, -0.2182377278804779, 0.12593746185302734, -0.42997556924819946, -0.12077860534191132, -0.10557577759027481, -0.5046656131744385, -0.6003208160400391, 0.20200634002685547, 0.5914941430091858, 0.034042175859212875 ]
http://arxiv.org/abs/2407.02678v1
http://arxiv.org/pdf/2407.02678v1
Reasoning in Large Language Models: A Geometric Perspective
2024-07-02T21:39:53
2024-07-02T21:39:53
Romain Cosentino, Sarath Shekkizhar
cs.AI
cs.AI, cs.CL
The advancement of large language models (LLMs) for real-world applications hinges critically on enhancing their reasoning capabilities. In this work, we explore the reasoning abilities of large language models (LLMs) through their geometrical understanding. We establish a connection between the expressive power of LLMs and the density of their self-attention graphs. Our analysis demonstrates that the density of these graphs defines the intrinsic dimension of the inputs to the MLP blocks. We demonstrate through theoretical analysis and toy examples that a higher intrinsic dimension implies a greater expressive capacity of the LLM. We further provide empirical evidence linking this geometric framework to recent advancements in methods aimed at enhancing the reasoning capabilities of LLMs.
[ -0.4850512146949768, -0.86775803565979, 1.195701003074646, 0.22570836544036865, 0.03429659083485603, -0.048629049211740494, -0.32770970463752747, -0.5833399891853333, 0.06499217450618744, 0.6609200835227966, -0.44117146730422974, -0.585127592086792, -0.6189900636672974, 0.06915417313575745, -0.4299832582473755, 0.35315239429473877, -0.02596287801861763, -0.18924084305763245, -0.31534913182258606, -0.10023094713687897, -0.3804813623428345, -0.7534577250480652, -0.5239644646644592, -0.17881432175636292, 0.7507587671279907, 0.1205708310008049, 0.7219994068145752, 0.7922995686531067, 0.6011495590209961, 0.47402703762054443, -0.08566560596227646, -0.08195022493600845, -0.5040535926818848, 0.3263697922229767, -0.22371438145637512, -0.424773246049881, -0.38048234581947327, -0.08386741578578949, 1.088381290435791, 1.0013777017593384, 0.15433485805988312, 0.03984449431300163, 0.14320147037506104, 0.8020232319831848, -0.35192808508872986, 0.31833603978157043, -0.40766090154647827, 0.037746839225292206, -0.10016516596078873, 0.041223760694265366, -0.3526458442211151, -0.3204536736011505, 0.21445739269256592, -0.5159220099449158, -0.06238088011741638, 0.08575473725795746, 0.44448116421699524, 0.42899173498153687, -0.21952952444553375, -0.2680261731147766, -0.8552150726318359, 0.6181597113609314, -0.553356945514679, 0.4778308868408203, 0.27289047837257385, 0.42246612906455994, -0.2696957290172577, -0.5869672298431396, -0.32170289754867554, -0.28891676664352417, -0.1566171944141388, -0.26196208596229553, -0.13299739360809326, 0.1184380054473877, 0.46604397892951965, 0.6160345673561096, -0.6507205367088318, 0.25676923990249634, -0.21501800417900085, -0.01587928831577301, 0.7483105659484863, 0.09214431047439575, 0.2619878053665161, -0.1595992147922516, 0.0025798610877245665, 0.24094876646995544, -0.9370405077934265, -0.07824301719665527, 0.1274801790714264, 0.1625966727733612, -0.25784429907798767, 0.8814249634742737, -0.2826055884361267, 0.9674158096313477, -0.0566830076277256, -0.12252531200647354, -0.18656879663467407, -0.10174787044525146, -0.2880595028400421, -0.012723122723400593, 0.6839576363563538, -0.02921794354915619, 0.5541539192199707, -0.02771718055009842, 0.03743031993508339, -0.32839083671569824, 0.12390974909067154, -0.7269995212554932, -0.0722220242023468, 0.38676387071609497, -0.4986618757247925, 0.003376366337761283, -0.23663276433944702, -0.3909299373626709, -0.45167356729507446, -0.5139263868331909, 0.187728613615036, -0.41090965270996094, -0.3440711200237274, 0.3875187039375305, 0.08359918743371964, -0.06665502488613129, 0.43908926844596863, -0.9828075170516968, 0.029997024685144424, 1.0663706064224243, 0.7468482851982117, 0.1311456710100174, -0.17922456562519073, -0.16064517199993134, 0.38403505086898804, -0.4281435012817383, 0.9671851992607117, -0.7376007437705994, -0.20383253693580627, 0.014544694684445858, -0.13403832912445068, 0.12458797544240952, -0.6123737692832947, 0.4631960690021515, -0.2353673130273819, 0.10452338308095932, -0.5319684147834778, -0.5515276789665222, -0.35011306405067444, 0.2676941752433777, -0.5996805429458618, 1.0020387172698975, 0.16638033092021942, -0.3991542160511017, 0.17862451076507568, -0.6076279878616333, -0.34236952662467957, 0.3622835874557495, -0.48952099680900574, -0.0367569774389267, 0.43274059891700745, 0.2195414900779724, 0.6774126887321472, -0.30349013209342957, 0.15124012529850006, -0.8281405568122864, -0.011578811332583427, 0.5854005217552185, -0.17259512841701508, 0.6438583135604858, 0.27771833539009094, -0.07949696481227875, 0.12780670821666718, -0.7107687592506409, 0.07896295189857483, 0.26503103971481323, -0.27925482392311096, -0.3237055540084839, 0.17168213427066803, -0.5724213123321533, 0.34792542457580566, 0.3100457787513733, -0.3328494131565094, 0.3754504323005676, -0.3266705870628357, 0.598063051700592, 0.8372284770011902, -0.23361736536026, 0.5302867889404297, 0.025292010977864265, 0.46152597665786743, -0.3342285454273224, 0.02991344779729843, 0.06149210035800934, -0.4003373682498932, -0.843172550201416, -0.5123283267021179, 0.010445434600114822, 0.21072989702224731, -0.3722500503063202, 0.6534938216209412, -0.29231706261634827, -0.3137041926383972, -0.23895110189914703, 0.21382242441177368, 0.2041497528553009, 0.2649952173233032, 0.11674957722425461, 0.08714696764945984, -0.30718541145324707, -0.9460182785987854, -0.1980808973312378, -0.1881757527589798, -0.14440082013607025, 0.7006266117095947, 0.2762810289859772, 0.2010147124528885, 0.8619332313537598, -0.44362348318099976, -0.10165566205978394, -0.6348271369934082, -0.24540100991725922, 0.33265286684036255, 0.24662268161773682, 0.6160320043563843, -0.18732574582099915, -0.2925781011581421, 0.01656506583094597, -1.0671406984329224, -0.3382629156112671, -0.1286977380514145, -0.3392186462879181, -0.161294624209404, 0.4525758922100067, -0.8008522987365723, 0.24369896948337555, 0.5658251643180847, -0.4609219431877136, 0.6554092168807983, -0.09037630259990692, -0.17717206478118896, -0.5691841840744019, -0.30340075492858887, 0.32064756751060486, -0.2866016626358032, -0.46823954582214355, 0.23865631222724915, -0.2593531608581543, -0.20325401425361633, -0.1736498326063156, 0.7651594281196594, -0.7116020917892456, -0.6874736547470093, -0.2697247266769409, 0.49007585644721985, 0.10868199169635773, 0.3703101575374603, 0.24778854846954346, 0.5774101614952087, 0.8830181360244751, -0.7774381637573242, 0.6246703267097473, -0.07679387181997299, -0.5440223217010498, 0.7693265080451965, -0.7970103025436401, -0.2423776388168335, -0.06716131418943405, 0.2047218531370163, -0.9334100484848022, -0.06841689348220825, 0.07372158765792847, -0.21556244790554047, 0.3034193217754364, -0.2664211392402649, -0.551010251045227, -0.6452515721321106, 0.048308733850717545, 0.32895123958587646, 0.20088331401348114, -0.5768427848815918, 0.708984911441803, 0.5027391314506531, -0.31142958998680115, -0.14204291999340057, -0.5065534114837646, 0.07511092722415924, -0.33103951811790466, -0.922332763671875, -0.2237606942653656, 0.003960915841162205, -0.6607431769371033, 0.00850063655525446, 0.24877215921878815, 0.1851402223110199, 0.1484905481338501, 0.18786707520484924, 0.10139735788106918, -0.5567004084587097, 0.33455291390419006, -0.1382198929786682, -0.23396889865398407, 0.34306153655052185, -0.6097148060798645, 0.7542102336883545, -0.3065348267555237, -0.5867827534675598, -0.7336748242378235, 0.245645210146904, 0.41195446252822876, -0.11590194702148438, 0.6555002927780151, 0.26907116174697876, -0.28666746616363525, -0.05103292688727379, -0.6151862740516663, -0.07504197955131531, -0.5245130062103271, 0.44897615909576416, -0.8124640583992004, -1.1357686519622803, 0.5076031684875488, -0.037063539028167725, -0.12198307365179062, 0.7302545309066772, 0.9447212219238281, -0.2016134262084961, 1.2332922220230103, 0.5103950500488281, 0.09182573109865189, 0.4045190215110779, -0.3772803843021393, 0.4189242422580719, -1.2119078636169434, -0.28882908821105957, -0.5819423198699951, -0.4545559883117676, -0.355103999376297, -0.5499899387359619, 0.26215484738349915, 0.11351437866687775, -0.42742663621902466, 0.06095337122678757, -0.6023038029670715, 0.6321889758110046, 0.26580682396888733, -0.08778654038906097, 0.15321800112724304, 0.0933404266834259, -0.05055565387010574, -0.032077111303806305, -0.6198917627334595, -0.5874128937721252, 0.7985507249832153, 0.7653747200965881, 0.8598694205284119, 0.2513803243637085, 0.1387404501438141, -0.13694940507411957, 0.16277296841144562, -0.8041467070579529, 0.7560864090919495, -0.1044292226433754, -0.5609059929847717, -0.611177384853363, -0.6332654356956482, -0.868777871131897, 0.540628969669342, -0.020239554345607758, -0.9716300368309021, 0.17677448689937592, 0.019725635647773743, -0.3675338625907898, 0.44626396894454956, -0.6396290063858032, 0.9328667521476746, -0.5563896298408508, -0.2700972557067871, -0.6222360730171204, -0.088314950466156, 0.520694375038147, 0.31918632984161377, 0.1268511265516281, -0.4679904878139496, 0.24255584180355072, 0.417530357837677, -0.33930155634880066, 0.7632281184196472, 0.02447507530450821, -0.552331268787384, 0.38646283745765686, 0.4947526752948761, 0.3447551727294922, 0.14515799283981323, -0.08526743203401566, 0.30723416805267334, -0.26396116614341736, -0.32582083344459534, -0.7198430895805359, 0.8705544471740723, -0.8096771836280823, -1.0171425342559814, -0.15061528980731964, -1.038151741027832, -0.20342276990413666, 0.027270300313830376, -0.2327800989151001, 0.6305841207504272, -0.0013526936527341604, 0.3127603828907013, 0.6409918069839478, -0.2843821346759796, 0.2411717176437378, 0.13530051708221436, -0.8020815253257751, 0.1650008261203766, 0.707410454750061, 0.2550245225429535, 0.5013102293014526, 0.35133835673332214, 0.4150914251804352, -0.6432773470878601, -0.578315258026123, -0.539608895778656, 0.7776044607162476, -0.9385607242584229, 0.2591286599636078, -0.7893773317337036, -0.3094545602798462, -0.4543198347091675, -0.18230807781219482, -0.23119357228279114, -0.8632521629333496, -0.13675446808338165, -0.1075773686170578, 0.3778457045555115, 1.1031136512756348, -0.1632900834083557, 0.27906593680381775, -0.5117579698562622, 0.2489008754491806, 0.6060940027236938, 0.5225066542625427, 0.25387588143348694, -0.6457318067550659, -0.18469741940498352, -0.03642919287085533, -0.12712831795215607, -0.5589684844017029, 0.1817263811826706, -0.07726088166236877, 0.7200766205787659, 0.7335341572761536, -0.5043994188308716, 0.6397536993026733, -0.45137396454811096, 0.5610927939414978, 0.06766325980424881, -0.8684892058372498, 0.3300504684448242, -0.4409724473953247, 0.36795198917388916, -0.08353160321712494, 0.3487464487552643, -0.4402615427970886, -0.6697255373001099, -0.5056620836257935, -0.17892663180828094, 0.3434201180934906, -0.008650549687445164, 0.061018072068691254, 0.09022971987724304, 0.5962308049201965, -0.15693047642707825, -0.059543974697589874, -0.8416793942451477, -0.07705599814653397, -0.1329522579908371, -0.22001110017299652, -0.10530029982328415, -0.5124819278717041, -0.16968964040279388, -0.3861778676509857, 0.3872162699699402, -0.08974715322256088, 0.2532007694244385, -0.012846867553889751, -0.045689430087804794, 0.05116836726665497, 0.08499379456043243, 0.6382996439933777, 1.0586355924606323, 0.03806730732321739, 0.42634597420692444, 0.034729618579149246, -0.11829866468906403, -0.07745589315891266, -0.2134116142988205, 0.18815399706363678, -0.34467923641204834, 0.39676734805107117, 0.852881669998169, 0.026775214821100235, -0.42744001746177673, 0.15620987117290497, 0.007230413146317005, -0.031140033155679703, -0.2423485368490219, 0.09412425756454468, 0.3412375748157501, 0.3991481363773346, 0.17541667819023132, -0.51259845495224, 0.06550787389278412, -0.6700918078422546, -0.20737333595752716, 0.7912530899047852, -0.34393537044525146, -0.3082766830921173, 0.33327168226242065, 0.041764404624700546, -0.21973633766174316, 0.4995666742324829, -0.06181199103593826, -0.5872848629951477, 0.6120200157165527, 0.670742392539978, 0.6780754327774048, -0.19417494535446167, 0.17434802651405334, 0.45150914788246155, 0.4575051963329315, 0.3581406772136688, 0.05777961388230324, 0.028446456417441368, -0.7596917152404785, -0.7589239478111267, -0.6315724849700928, -0.19533754885196686, 0.09332060813903809, -0.16979120671749115, 0.017100432887673378, -0.7674024701118469, 0.0347415953874588, 0.0740692988038063, -0.19551727175712585, -0.3872029483318329, 0.0469619445502758, 0.43038591742515564, 0.4809574782848358, -0.5365686416625977, 0.650404691696167, 0.3085823953151703, -0.1793895810842514, -0.7356064319610596, -0.510381817817688, -0.006892181932926178, -1.2108041048049927, 0.9670174717903137, 0.22027213871479034, -0.19477692246437073, -0.0891459584236145, -0.47462520003318787, -1.2998615503311157, 0.5617430806159973, 0.4481218159198761, -0.6654345989227295, 0.1372956782579422, 0.4595302641391754, 0.6148369312286377, -0.5609898567199707, 0.1326768547296524, 0.5695599317550659, 0.4426133930683136, 0.2826434075832367, -0.6826183795928955, 0.10568857192993164, 0.10656177997589111, 0.10410155355930328, 0.3577122688293457, -0.46422454714775085, 0.7675756216049194, -0.38598114252090454, -0.302884966135025, -0.1213754266500473, 0.8709832429885864, 0.5409005284309387, -0.28981253504753113, 0.36576712131500244, 0.8293120265007019, 0.6707188487052917, -0.2645019292831421, 1.4811878204345703, -0.3772859275341034, 0.29739007353782654, 0.8254803419113159, -0.34753021597862244, 0.5715394020080566, 0.18655066192150116, -0.4218526780605316, 0.7479968070983887, 0.6186951398849487, 0.18589451909065247, -0.02467712014913559, 0.48515790700912476, -0.14718368649482727, -0.6409398913383484, -0.15950773656368256, -0.4459744691848755, 0.26837703585624695, 0.7290796637535095, -0.22134321928024292, -0.15568266808986664, -0.19119203090667725, -0.07240825146436691, 0.001153116230852902, -0.5817247033119202, 0.7053231596946716, 0.2523636221885681, -0.40059950947761536, 0.5025171041488647, -0.17022117972373962, 0.04928514361381531, -0.2826177179813385, 0.07336414605379105, 0.12122458964586258, 0.2977704703807831, -0.16843686997890472, -1.385382890701294, 0.3582041561603546, -0.11160901933908463, -0.09648079425096512, -0.2401207983493805, 0.6132713556289673, -0.27051398158073425, -0.7367522120475769, 0.27041929960250854, 0.4597616493701935, 0.44286105036735535, -0.20310313999652863, -0.8967951536178589, 0.20797552168369293, -0.26095253229141235, -0.20348809659481049, 0.35988086462020874, 0.9517461061477661, 0.03908185660839081, 1.0789660215377808, 0.7402543425559998, 0.3236434757709503, 0.27920782566070557, 0.37273266911506653, 0.7250450849533081, -0.5547979474067688, -0.47787413001060486, -0.9933257699012756, 0.1918354332447052, -0.12501627206802368, 0.002084630774334073, 0.7906216979026794, 0.5106832981109619, 0.4536471664905548, 0.1330273449420929, 0.6764407157897949, 0.11971523612737656, 0.5889691114425659, -0.7198042273521423, 0.4093051254749298, -0.46250560879707336, 0.30446434020996094, 0.03104482591152191, -1.1516321897506714, -0.3993108868598938, 0.9767231941223145, -0.9502817392349243, 0.17481866478919983, 0.8211005330085754, 0.4900738000869751, -0.03594953939318657, -0.16128778457641602, 0.4562380015850067, 0.6643944382667542, 0.4640589952468872, 0.6807249188423157, 1.206333875656128, 0.2431843876838684, 0.2070082426071167, -0.20907369256019592, -0.1755470633506775, -0.0849665179848671, -0.8799907565116882, -1.1259442567825317, -0.4362090528011322, -0.21134987473487854, -0.3075837194919586, -0.4870760142803192, 0.46037840843200684, 0.7294785380363464, -0.49826571345329285, -0.46212154626846313, -0.030999772250652313, 0.5215269327163696, 0.17412607371807098, -0.24750293791294098, 0.45076560974121094, -0.33418604731559753, -0.6536979079246521, 0.19044731557369232, 0.931621789932251, 0.061565201729536057, -0.9610468745231628, -0.029327290132641792, -0.14677594602108002, 0.22088897228240967, 0.9980966448783875, 0.3135739862918854, -0.8982416987419128, -0.5579248666763306, -0.1934889703989029, -0.15693466365337372, 0.15854476392269135, 1.0214414596557617, -0.629347562789917, 0.17429611086845398, 0.532346248626709, 0.526155948638916, 0.4260779619216919, -0.060896292328834534, 0.6006419062614441, -0.3649406433105469, 0.41490375995635986, -0.005879525560885668, 0.8124700784683228, 0.356487512588501, -0.4314993619918823, 0.4379115402698517, 0.2848811447620392, -0.6880361437797546, -0.6802039742469788, 0.6307761073112488, -0.8737040162086487, -0.3664214015007019, 1.201928973197937, -0.07013657689094543, -0.2838459610939026, -0.11341021955013275, -0.06173073500394821, -0.22058120369911194, 0.02583897113800049, 0.7791831493377686, 0.8503698706626892, -0.2985542118549347, -0.5220011472702026, -0.582377552986145, 0.2670785188674927, 0.3493400514125824, -1.0650452375411987, 0.29606589674949646, 0.6945642828941345, 0.035974834114313126, 0.23999454081058502, 0.6304000020027161, -0.20354898273944855, -0.01598478853702545, -0.34790366888046265, 0.005137937143445015, 0.1955266296863556, -0.635620653629303, -0.22699031233787537, 0.1908198744058609, 0.2782087028026581, 0.413360595703125 ]
http://arxiv.org/abs/2407.02662v1
http://arxiv.org/pdf/2407.02662v1
Supporters and Skeptics: LLM-based Analysis of Engagement with Mental Health (Mis)Information Content on Video-sharing Platforms
2024-07-02T20:51:06
2024-07-02T20:51:06
Viet Cuong Nguyen, Mini Jain, Abhijat Chauhan, Heather Jaime Soled, Santiago Alvarez Lesmes, Zihang Li, Michael L. Birnbaum, Sunny X. Tang, Srijan Kumar, Munmun De Choudhury
cs.SI
cs.SI, cs.CL, cs.CY
Over one in five adults in the US lives with a mental illness. In the face of a shortage of mental health professionals and offline resources, online short-form video content has grown to serve as a crucial conduit for disseminating mental health help and resources. However, the ease of content creation and access also contributes to the spread of misinformation, posing risks to accurate diagnosis and treatment. Detecting and understanding engagement with such content is crucial to mitigating their harmful effects on public health. We perform the first quantitative study of the phenomenon using YouTube Shorts and Bitchute as the sites of study. We contribute MentalMisinfo, a novel labeled mental health misinformation (MHMisinfo) dataset of 739 videos (639 from Youtube and 100 from Bitchute) and 135372 comments in total, using an expert-driven annotation schema. We first found that few-shot in-context learning with large language models (LLMs) are effective in detecting MHMisinfo videos. Next, we discover distinct and potentially alarming linguistic patterns in how audiences engage with MHMisinfo videos through commentary on both video-sharing platforms. Across the two platforms, comments could exacerbate prevailing stigma with some groups showing heightened susceptibility to and alignment with MHMisinfo. We discuss technical and public health-driven adaptive solutions to tackling the "epidemic" of mental health misinformation online.
[ -0.6386041641235352, -0.7536142468452454, 0.7153714895248413, 0.18261849880218506, -0.23578421771526337, -0.0776805579662323, -0.07679160684347153, -0.26001906394958496, 0.5333229899406433, -0.028194786980748177, -0.900254487991333, -0.2836169898509979, -1.0042752027511597, 0.006350846961140633, -0.3459964394569397, 0.9434853792190552, -0.08919376879930496, 0.017377151176333427, -0.13485267758369446, -0.10597920417785645, -0.3462395966053009, -0.5334747433662415, -0.44932812452316284, 0.03535984084010124, 0.9430390000343323, 0.33080771565437317, 0.464830219745636, 0.1512969732284546, 0.47160494327545166, 0.14266884326934814, 0.09963636100292206, 0.045967500656843185, -0.9980902075767517, -0.1525147259235382, -0.25741997361183167, -0.24061836302280426, -0.23538541793823242, -0.07233698666095734, 0.3328082859516144, 0.31612956523895264, -0.30258551239967346, 0.5824100375175476, 0.12023389339447021, 0.30122026801109314, -0.843247652053833, -0.36408257484436035, -0.3571073114871979, 0.24434104561805725, -0.4699545204639435, -0.42551255226135254, -0.28204113245010376, -0.29493850469589233, -0.11831963807344437, -0.4609656035900116, 0.1447802037000656, -0.24504414200782776, 0.4353744089603424, 0.532805860042572, -0.33254802227020264, -0.24939991533756256, -0.7161619067192078, 0.4508710503578186, -0.5451100468635559, 0.522849440574646, 0.7407369017601013, 0.13126859068870544, -0.09829594939947128, -0.2189185917377472, -0.5184847116470337, 0.2919078767299652, 0.2763507068157196, 0.007983730174601078, -0.7926063537597656, -0.0041418978944420815, 0.49731236696243286, 0.1131138950586319, -0.52397221326828, -0.044164322316646576, -0.5671329498291016, -0.292307049036026, 0.7323855757713318, 0.18158738315105438, 0.528201699256897, -0.21757446229457855, -0.15131811797618866, 0.2253204733133316, -0.40203288197517395, 0.02484252117574215, 0.21837842464447021, -0.2885489761829376, -0.18395496904850006, 1.019162654876709, 0.2827375829219818, 0.020741425454616547, 0.43304598331451416, -0.38139283657073975, -0.06078343465924263, -0.135956808924675, -0.3478296995162964, 0.5072379112243652, 0.7339257597923279, 0.6051797866821289, 0.23575980961322784, 0.12064870446920395, 0.11962144076824188, 0.3265249729156494, 0.4688528776168823, -0.7793781161308289, -0.3996630609035492, 0.19457687437534332, -0.5057460069656372, 0.24680745601654053, 0.013792664743959904, -0.5780176520347595, -0.8127102851867676, -0.14667020738124847, 0.5963544249534607, -0.4862474501132965, -0.4150221645832062, 0.1420322209596634, -0.13901586830615997, -0.23153910040855408, 0.17062482237815857, -0.5963948369026184, 0.07218416780233383, 0.6499167084693909, 1.0244269371032715, -0.09957890212535858, 0.02582087740302086, -0.41631007194519043, 0.4172457456588745, -0.3369143307209015, 0.6610009074211121, -0.2335198074579239, -0.2323087453842163, 0.21079333126544952, 0.22272923588752747, -0.04901012405753136, -0.35119643807411194, 0.45590639114379883, -0.2523175776004791, 0.05729430913925171, -0.5639069080352783, -0.5053260922431946, -0.01938636600971222, 0.29301807284355164, -0.5637729167938232, 0.891279935836792, 0.07915244251489639, -1.0865355730056763, 0.3376244008541107, -0.6135109066963196, -0.06512312591075897, -0.2729780673980713, -0.15552975237369537, -0.03946322575211525, 0.2911720275878906, 0.1608455330133438, 0.3577927350997925, 0.13417385518550873, 0.24745772778987885, -0.6137965321540833, -0.3217525780200958, 0.5336791276931763, -0.6797047853469849, 0.3548594117164612, 0.041848551481962204, -0.21601232886314392, 0.027905283495783806, -0.18908649682998657, -0.4336138069629669, -0.2003006488084793, 0.08447113633155823, -0.4228889048099518, -0.025750599801540375, -0.10385791957378387, 0.49570024013519287, -0.15201234817504883, -0.4722076654434204, -0.2570163905620575, -0.04205440357327461, 0.2047520875930786, 0.7042087912559509, 0.5912652611732483, -0.06830033659934998, -0.5262718200683594, 0.6382113099098206, 0.22151830792427063, 0.6435215473175049, 0.021089613437652588, -0.5105718970298767, -0.27917057275772095, -0.6268934607505798, -0.18484735488891602, 0.42520448565483093, -0.38884878158569336, 0.10441206395626068, -0.17526791989803314, -0.4802681505680084, -0.803174614906311, 0.20554186403751373, -0.02258422039449215, 0.38294267654418945, 0.4131852388381958, -0.22632987797260284, -0.6220539808273315, -0.8657582402229309, -0.12487207353115082, -0.1808556616306305, -0.09195444732904434, 0.2663213908672333, 0.3094135522842407, -0.5485803484916687, 0.8231544494628906, -0.3993918001651764, -0.2435481697320938, -0.03684146702289581, 0.39623910188674927, -0.14431443810462952, -0.08877261728048325, 0.4053059220314026, -0.5534101724624634, -0.6740813851356506, -0.19417300820350647, -0.9452141523361206, -0.1659316122531891, -0.04689783602952957, -0.14737540483474731, -0.31524884700775146, 0.18881577253341675, -0.6114679574966431, 0.5094213485717773, 0.35851210355758667, 0.031558193266391754, 0.49826666712760925, 0.09521491080522537, 0.41179677844047546, -0.6897055506706238, -0.24882705509662628, 0.3591344654560089, 0.022258210927248, -0.54759681224823, -0.4432336091995239, -0.3685244023799896, -0.06654578447341919, -0.6005984544754028, -0.034879885613918304, -0.06065778806805611, 0.1537150740623474, -0.31450533866882324, 0.22824010252952576, -0.3946281671524048, 0.11019779741764069, -0.33468860387802124, 0.704559862613678, 0.43990954756736755, -0.4024847745895386, 0.14469201862812042, 0.11522680521011353, -0.14365607500076294, 0.8159199953079224, -0.24733799695968628, -0.16481521725654602, -0.36595070362091064, 0.1761849969625473, -0.9556282758712769, -0.7082540392875671, 0.7202320098876953, -0.5932039022445679, -0.13967852294445038, -0.009236268699169159, -0.45040586590766907, -0.1383386254310608, -0.44568726420402527, 0.3973950445652008, -0.025377243757247925, -0.13890942931175232, 0.12500201165676117, 0.8879331350326538, -0.27947598695755005, -0.47785696387290955, -0.4680730104446411, 0.1361871361732483, -0.6544400453567505, -0.64127516746521, 0.12359543144702911, -0.08574918657541275, -0.3924132287502289, 0.032389163970947266, -0.33798500895500183, -0.12976689636707306, 0.008608312346041203, 0.42221012711524963, -0.05645334720611572, -0.19622938334941864, 0.5370321273803711, 0.06602852046489716, -0.037413764744997025, 0.36866387724876404, 0.1984507441520691, 0.3257959485054016, 0.13585256040096283, -0.7151678800582886, -0.7378450632095337, 0.8837337493896484, 0.4109867513179779, 0.26511362195014954, 0.513822615146637, 0.9144066572189331, -0.617500901222229, 0.2303772270679474, -0.6903029680252075, -0.4228442311286926, -0.394361674785614, 0.3550138473510742, 0.0037594002205878496, -0.7745220065116882, 0.16578182578086853, 0.022554218769073486, -0.10739261656999588, 0.04938044399023056, 0.36665064096450806, -0.6074113845825195, 1.1142756938934326, 0.7221004366874695, -0.18582917749881744, 0.35311272740364075, 0.09279977530241013, 0.42000874876976013, -0.48281437158584595, -0.21124587953090668, -0.0017038790974766016, -0.38002774119377136, -0.5310679078102112, -0.6273540258407593, 0.6044542789459229, 0.259086012840271, -0.32905760407447815, 0.06609156727790833, -0.20567762851715088, 0.10468047112226486, 0.02646227553486824, 0.41831541061401367, 0.27372223138809204, -0.005420401692390442, 0.14116708934307098, -0.8571223020553589, -0.7678056359291077, -0.28647780418395996, 0.7613157629966736, 0.5782142877578735, 0.8788811564445496, 0.5530220866203308, 0.50194251537323, 0.949211835861206, 0.641964316368103, -0.8122187852859497, 0.2740044891834259, 0.17010757327079773, -0.31507086753845215, -0.15326260030269623, -0.14633139967918396, -0.6994516253471375, -0.18998363614082336, -0.3418903946876526, -0.9315119981765747, 0.15596744418144226, 0.24565306305885315, -0.2708945870399475, 0.40474605560302734, -0.41476917266845703, 0.5981216430664062, -0.286327600479126, -0.5537608861923218, -0.5661319494247437, -0.43176713585853577, 0.6988850831985474, -0.3577079176902771, 0.6268519759178162, -0.2575581669807434, 0.18004237115383148, 0.7674885988235474, -0.021832343190908432, 0.8317595720291138, -0.05601086840033531, -0.17816992104053497, 0.2930058240890503, -0.07890487462282181, 0.030682023614645004, 0.34735891222953796, 0.3699502646923065, -0.1743827611207962, 0.03768713399767876, -0.11709198355674744, -0.5923875570297241, 0.48601990938186646, -0.6914744973182678, -0.7333671450614929, -0.400190532207489, -0.21600253880023956, -0.22972480952739716, -0.10090348869562149, 0.19510526955127716, 0.09513936191797256, -0.11886397004127502, 0.18334683775901794, 1.2018660306930542, 0.07627468556165695, 0.2358817458152771, 0.22897347807884216, -0.09875917434692383, -0.5989668965339661, 0.8090305328369141, 0.12919439375400543, 0.027162732556462288, 0.04216689243912697, 0.1585617959499359, -0.2598467469215393, -0.00624639168381691, -0.19132962822914124, 0.5814517736434937, -0.6444622874259949, -0.06586172431707382, -0.5989452600479126, -0.23382511734962463, -0.29364117980003357, 0.03624971583485603, -0.2931564748287201, 0.24480627477169037, -0.29573264718055725, -0.3775774836540222, 0.3721460998058319, 0.7850940227508545, -0.4407755434513092, 0.5615645051002502, -0.8733224868774414, 0.16472162306308746, 0.28435763716697693, 0.3427307605743408, 0.11295166611671448, -0.31905511021614075, -0.5189875364303589, 0.11698140949010849, -0.4559265077114105, -1.799288272857666, 0.031589556485414505, 0.02830001711845398, 0.7714465856552124, 1.123346209526062, 0.22055254876613617, 1.058495044708252, -0.039642225950956345, 0.7010281682014465, 0.26690346002578735, -0.6869077682495117, 0.4131549596786499, -0.42125019431114197, -0.12612514197826385, 0.5693994164466858, 1.1475460529327393, -1.026853084564209, -0.1775122582912445, -0.6251387000083923, -0.582094132900238, 0.26798519492149353, -0.021883781999349594, 0.1496015340089798, -0.272367924451828, -0.0252516008913517, 0.07714882493019104, 0.30113711953163147, -0.7308468818664551, -0.3183664083480835, -0.28391340374946594, -0.15400856733322144, 0.09683604538440704, -0.4494374990463257, -0.5081804394721985, -0.12891025841236115, 0.622455358505249, -0.032196417450904846, 0.31963250041007996, 0.21786834299564362, -0.2384924441576004, -0.32107600569725037, 0.13670393824577332, 0.5190159678459167, 0.63379967212677, -0.5048472285270691, 0.3580123484134674, -0.12552930414676666, -0.6884326934814453, 0.27592191100120544, -0.3364911675453186, -0.02181035652756691, 0.3576115071773529, -0.027941374108195305, 0.5777888298034668, 0.6646682620048523, -0.8397219777107239, 0.5491654276847839, 0.2275291234254837, -0.16029255092144012, -0.24856887757778168, -0.002289872383698821, 0.21531705558300018, 0.2675519585609436, 0.32081305980682373, -0.009246384724974632, 0.1354103833436966, -0.5637170672416687, 0.4776100814342499, 0.37788745760917664, -0.7562244534492493, -0.5199532508850098, 0.48070648312568665, -0.14576900005340576, -0.29510989785194397, 0.2349383682012558, 0.013710389845073223, -0.2026916891336441, 0.0863318145275116, 0.36507970094680786, 0.6218494176864624, 0.02081897296011448, 0.5179898142814636, 0.34273386001586914, 0.3083608150482178, -0.18481847643852234, 0.06396010518074036, -0.0694718062877655, -0.4273990988731384, -0.27804508805274963, -0.08323681354522705, -0.33600181341171265, 0.4240127205848694, -0.9390305280685425, 0.43011292815208435, -0.33928659558296204, -0.7422409057617188, -0.07794847339391708, -0.22094714641571045, -0.3751211166381836, 0.00798469502478838, 0.45376768708229065, 0.8940334320068359, -1.1903868913650513, 0.4959067702293396, 0.5990507006645203, -0.5113140344619751, -0.42223504185676575, 0.5040995478630066, 0.39283111691474915, -0.1952875703573227, -0.01109021995216608, 0.32560309767723083, -0.18001362681388855, -0.301592081785202, -0.563992440700531, -0.9572473764419556, 0.84178626537323, 0.45352163910865784, -0.154349222779274, 0.18546365201473236, 0.3012086749076843, 0.2800682485103607, -0.3724719285964966, 0.2719326317310333, 0.4474162459373474, 0.44917240738868713, -0.16655288636684418, -0.5518707633018494, -0.21444451808929443, -0.09464583545923233, -0.3380880057811737, 0.0766439363360405, -0.4507867693901062, 0.36652758717536926, -0.19854295253753662, -0.49716782569885254, -0.3745260536670685, 0.615386426448822, 0.722269594669342, 0.7708647847175598, 0.4510953426361084, 0.3197055459022522, 0.8752573728561401, 0.3587754964828491, 0.33404749631881714, -0.06461324542760849, 0.27255308628082275, 1.0677378177642822, -0.0878252238035202, 0.994550347328186, 0.8593645691871643, -0.3214312791824341, 0.428894966840744, 0.8945903182029724, 0.018175996840000153, 0.4190921187400818, 0.19389979541301727, -0.5291007161140442, -0.3749799430370331, -0.3712974786758423, -0.4352809488773346, 0.17703625559806824, 0.7646286487579346, -0.23573242127895355, -0.20583529770374298, 0.28182703256607056, 0.290416955947876, 0.11765772104263306, -0.21938636898994446, 0.6113613247871399, 0.1397724747657776, -0.3597373366355896, 0.1043669655919075, -0.08050015568733215, 0.6757300496101379, -0.5788828134536743, 0.12846310436725616, -0.07274075597524643, -0.30312153697013855, -0.4041922986507416, -0.7316046953201294, 0.46577659249305725, 0.3105117678642273, -0.4426480531692505, 0.11280073970556259, 0.6709199547767639, -0.20771245658397675, -0.3101746439933777, 0.3806494474411011, 0.7431861162185669, 0.3796099126338959, -0.2931654751300812, -0.4057416617870331, 0.014623959548771381, -0.08952931314706802, 0.1958862692117691, 0.6630192995071411, 0.5381156206130981, -0.31374692916870117, 0.5266423225402832, 0.5946018099784851, 0.1894093006849289, 0.26494157314300537, -0.11116685718297958, 0.6933255791664124, -0.4227098822593689, -0.27378737926483154, -0.8154338002204895, 0.43710675835609436, -0.24980971217155457, -0.29666081070899963, 0.8150750398635864, 0.35815176367759705, 0.7757251858711243, -0.03989599645137787, 0.8552278876304626, 0.07696009427309036, 0.20199905335903168, -0.1263514757156372, 0.6213937401771545, -0.5468004941940308, 0.08974112570285797, -0.0765104591846466, -0.5811846852302551, 0.06033233553171158, 0.42495647072792053, -0.32710137963294983, -0.43241387605667114, 0.4682299494743347, 0.729720950126648, -0.1433650702238083, 0.0992979109287262, 0.16432784497737885, 0.31128913164138794, 0.19633223116397858, 0.3600979447364807, 0.9458047151565552, -0.1290750950574875, 0.5461746454238892, -0.31489259004592896, -0.19822004437446594, -0.33419591188430786, -0.7496935725212097, -0.7114508152008057, -0.3204209804534912, -0.39678069949150085, -0.2509165406227112, 0.07836724072694778, 1.1116552352905273, 0.5430700182914734, -0.47524693608283997, -0.050273969769477844, 0.3271869421005249, 0.2090790569782257, -0.29744407534599304, -0.24459318816661835, 0.15360277891159058, 0.1700034886598587, -0.3330610692501068, 0.15700790286064148, 0.4062335789203644, -0.23462128639221191, -0.5202994346618652, 0.0773799940943718, -0.35673990845680237, 0.32404911518096924, 0.4818832576274872, 0.4156867563724518, -0.8221448659896851, -0.1821284145116806, 0.1570795327425003, -0.20862936973571777, 0.17765982449054718, 0.809550404548645, -0.34976840019226074, 0.25425711274147034, 0.4401197135448456, 0.49208036065101624, 0.20996510982513428, 0.33992043137550354, 0.336139053106308, -0.6007155179977417, -0.23900368809700012, -0.00948313344269991, 0.21286964416503906, 0.427813321352005, -0.5735814571380615, 0.06605717539787292, 0.4801149070262909, -0.23356908559799194, -0.9553209543228149, -0.00655052624642849, -0.8505560755729675, 0.034441571682691574, 0.8917278051376343, -0.18200907111167908, -0.042449723929166794, -0.2444286048412323, -0.32294976711273193, 0.4389849603176117, -0.5051971077919006, 1.2293535470962524, 0.7722781896591187, -0.4261419177055359, -0.3797987401485443, -0.9773815274238586, 0.4478415250778198, 0.27579331398010254, -0.6576594710350037, -0.10909553617238998, 0.3273841142654419, 0.4165293872356415, 0.06553220748901367, 0.5555342435836792, 0.0911509096622467, 0.5112094283103943, -0.0947810560464859, -0.26371416449546814, 0.1478610783815384, -0.30306315422058105, -0.2507053017616272, 0.19690057635307312, -0.3153572082519531, -0.09909259527921677 ]
http://arxiv.org/abs/2407.02659v1
http://arxiv.org/pdf/2407.02659v1
Ensuring Responsible Sourcing of Large Language Model Training Data Through Knowledge Graph Comparison
2024-07-02T20:49:21
2024-07-02T20:49:21
Devam Mondal, Carlo Lipizzi
cs.CL
cs.CL, cs.LG
In light of recent plagiarism allegations Brough by publishers, newspapers, and other creators of copyrighted corpora against large language model (LLM) developers, we propose a novel system, a variant of a plagiarism detection system, that assesses whether a knowledge source has been used in the training or fine-tuning of a large language model. Unlike current methods, we utilize an approach that uses Resource Description Framework (RDF) triples to create knowledge graphs from both a source document and a LLM continuation of that document. These graphs are then analyzed with respect to content using cosine similarity and with respect to structure using a normalized version of graph edit distance that shows the degree of isomorphism. Unlike traditional systems that focus on content matching and keyword identification between a source and target corpus, our approach enables a broader evaluation of similarity and thus a more accurate comparison of the similarity between a source document and LLM continuation by focusing on relationships between ideas and their organization with regards to others. Additionally, our approach does not require access to LLM metrics like perplexity that may be unavailable in closed large language modeling "black-box" systems, as well as the training corpus. A prototype of our system will be found on a hyperlinked GitHub repository.
[ -0.10632029920816422, -0.6578688025474548, 0.5778750777244568, 0.13625329732894897, -0.17031091451644897, 0.22197569906711578, -0.31391599774360657, -0.4292771518230438, -0.02812715247273445, 0.9348112940788269, -0.26728352904319763, -0.6266583800315857, -0.5006653666496277, 0.37830427289009094, -0.8050510883331299, 0.929655134677887, -0.2734551727771759, 0.0040885526686906815, -0.5380606055259705, -0.3123511075973511, -0.13909220695495605, -0.5224807262420654, -0.6683149933815002, -0.3616511821746826, 0.5323445200920105, 0.21326249837875366, 0.5726515650749207, 0.9167884588241577, 0.6312671303749084, 0.27211928367614746, -0.225185364484787, 0.18392156064510345, -0.679349422454834, 0.1443730741739273, -0.34361815452575684, -0.29852309823036194, -0.27739498019218445, -0.053687334060668945, 0.8018039464950562, 0.4976162612438202, 0.09249987453222275, 0.28188225626945496, 0.2117094248533249, 0.6057583689689636, -0.6918472051620483, 0.3715541362762451, -0.563890278339386, -0.024131860584020615, -0.32728472352027893, -0.24314433336257935, -0.49858903884887695, -0.47304224967956543, 0.03577679395675659, -0.40486612915992737, 0.3732815086841583, 0.10760568082332611, 0.741844654083252, -0.029229743406176567, -0.36691784858703613, -0.4236702620983124, -0.4909469485282898, 0.5544264316558838, -0.6947728395462036, 0.4476475715637207, 0.1978636533021927, 0.1691293716430664, -0.19285689294338226, -0.838264524936676, -0.6730374097824097, -0.3562335669994354, -0.1510048508644104, -0.23430195450782776, -0.12802551686763763, -0.12604451179504395, 0.19034656882286072, 0.4546199440956116, -0.5728512406349182, 0.18463413417339325, -0.40312373638153076, -0.48579269647598267, 0.4905800521373749, -0.13722632825374603, 0.29197317361831665, -0.2440786063671112, -0.34636348485946655, -0.14359307289123535, -1.0121008157730103, -0.4353778660297394, 0.5877690315246582, 0.36814936995506287, -0.017966676503419876, 0.6904439330101013, -0.1809852123260498, 0.6986002326011658, -0.2685619592666626, -0.11757095903158188, 0.3575749397277832, -0.34966522455215454, -0.1535627245903015, 0.12224826961755753, 0.8346129655838013, 0.397813081741333, 0.3072531521320343, -0.4086921513080597, -0.16849346458911896, -0.2607673406600952, 0.00019804494513664395, -0.7875199913978577, -0.23285557329654694, -0.14944906532764435, -0.2279915064573288, -0.3115895390510559, 0.02324291691184044, -0.47937846183776855, -0.5955981612205505, -0.46829238533973694, 0.05125878006219864, -0.4967253506183624, -0.33091187477111816, -0.16638946533203125, -0.07420872151851654, -0.04064379259943962, 0.10190863162279129, -0.6459280252456665, 0.050541434437036514, 0.9501700401306152, 1.04867684841156, -0.4220883250236511, -0.5163952708244324, -0.4482280910015106, 0.5054424405097961, -0.19757471978664398, 0.723523736000061, -0.2252492904663086, -0.24319905042648315, 0.13728874921798706, 0.10839638859033585, 0.15757544338703156, -0.7220737934112549, 0.4459456503391266, -0.9615615606307983, 0.113516665995121, -0.08498164266347885, -0.7706735730171204, -0.02514941804111004, 0.48847532272338867, -0.9474632143974304, 0.8289283514022827, 0.3562290072441101, -0.9745203256607056, 0.29211756587028503, -0.45934709906578064, -0.32945212721824646, 0.23409628868103027, -0.12200562655925751, -0.4952113628387451, -0.32659557461738586, -0.005938486661761999, 0.39010554552078247, -0.20130227506160736, 0.20836162567138672, -0.5519728064537048, -0.1331208199262619, 0.21365448832511902, -0.05322575941681862, 1.037290096282959, 0.310994952917099, -0.014153282158076763, 0.20098531246185303, -0.7367140650749207, -0.08023282885551453, 0.3671526312828064, -0.6522798538208008, -0.7096027731895447, -0.17567293345928192, -0.0604030005633831, 0.000015802042980794795, 0.48505112528800964, -0.4433506727218628, -0.06484972685575485, -0.2087421864271164, 0.4329143166542053, 0.6590478420257568, 0.029833119362592697, 0.4519515633583069, -0.188523530960083, 0.3864607512950897, -0.22095681726932526, 0.06200280785560608, 0.07527978718280792, -0.15972235798835754, -0.6018092632293701, -0.32362455129623413, 0.3952493965625763, 0.3133964538574219, -0.6006856560707092, 0.6097985506057739, -0.5157477855682373, -0.3821133077144623, -0.27511176466941833, 0.46812865138053894, 0.39823341369628906, 0.6313930749893188, 0.20979996025562286, -0.2983413636684418, -0.6344982981681824, -0.8073282241821289, -0.22434279322624207, -0.24357499182224274, -0.15653230249881744, 0.13605205714702606, 0.5424778461456299, 0.032223451882600784, 1.043354868888855, -0.3530893325805664, -0.3480706512928009, -0.1648152768611908, 0.008245982229709625, -0.050965260714292526, 0.3084957003593445, 0.6859220862388611, -0.6445265412330627, -0.5696700811386108, 0.10648885369300842, -0.926224410533905, -0.3951169550418854, 0.3725917339324951, -0.14205162227153778, 0.17979250848293304, 0.8086155652999878, -0.4463646411895752, 0.009918754920363426, 0.5559961795806885, -0.44670814275741577, 0.5266492962837219, -0.0718819871544838, -0.008684417232871056, -1.1221078634262085, 0.3256806433200836, -0.24342770874500275, -0.19094359874725342, -0.20354107022285461, 0.3903295695781708, 0.12926548719406128, -0.1123022735118866, -0.3451478183269501, 0.45809632539749146, -0.2837482690811157, -0.23099856078624725, -0.33573803305625916, 0.4473603069782257, 0.1319970339536667, 0.08862898498773575, -0.057161200791597366, 0.7638241648674011, 0.1528186798095703, -0.3401331603527069, 0.6725856065750122, 0.3028227388858795, -0.6614093780517578, 0.6876010894775391, -0.38826707005500793, 0.3780783712863922, 0.06807275861501694, 0.2485377937555313, -0.5589289665222168, -0.03871023282408714, 0.17814314365386963, -0.23659837245941162, 0.11490443348884583, -0.3372909724712372, -0.7848556637763977, -0.23466725647449493, -0.11602628976106644, 0.16007423400878906, 0.12137465924024582, -0.4426202178001404, 0.24643154442310333, 0.3789612054824829, -0.4227699339389801, -0.6926894187927246, -0.5713390111923218, 0.25949588418006897, -0.06532318145036697, -0.7217283248901367, 0.14334039390087128, 0.06712130457162857, -0.34483084082603455, 0.3350417912006378, 0.009035388007760048, -0.26745468378067017, 0.19111774861812592, -0.11902940273284912, 0.16556626558303833, -0.29781198501586914, 0.15805783867835999, -0.13038377463817596, 0.18475879728794098, 0.1612660437822342, -0.4374016225337982, 0.5799046158790588, 0.11484435200691223, -0.3118225336074829, -0.05763282626867294, 0.17509499192237854, 0.6794973015785217, -0.3768032491207123, 0.8090097308158875, 0.5299729704856873, -0.30486440658569336, -0.3094569742679596, -0.5578621625900269, -0.013096318580210209, -0.40483012795448303, 0.46247270703315735, -0.03097478672862053, -1.0442060232162476, 0.46030038595199585, 0.16256478428840637, -0.07276520133018494, 0.31611332297325134, 0.4873513877391815, 0.21986812353134155, 0.4853084981441498, 0.6894726157188416, -0.23074142634868622, 0.7271347045898438, -0.3453805148601532, 0.26690196990966797, -0.6321077346801758, -0.2788197696208954, -0.6543969511985779, -0.09371455758810043, -0.3597326874732971, -0.3084055483341217, 0.04971505329012871, 0.22799603641033173, -0.4735368490219116, 0.3697171211242676, -0.24888814985752106, 0.6733787655830383, 0.5464027523994446, -0.1405203938484192, 0.7530495524406433, 0.2507905662059784, -0.17883916199207306, 0.21828071773052216, -0.5516236424446106, -0.6758902668952942, 1.1780623197555542, 0.2065986841917038, 0.43523770570755005, 0.1335199624300003, 0.702879786491394, 0.3393915593624115, 0.5920394062995911, -0.6491584777832031, 0.5839459300041199, -0.20266512036323547, -0.6226144433021545, -0.42626628279685974, -0.7707839608192444, -0.8851292133331299, 0.07681014388799667, -0.185359388589859, -0.48852038383483887, -0.11417098343372345, -0.13900749385356903, 0.002296942751854658, 0.4354814291000366, -0.6548694372177124, 0.863811731338501, -0.19226619601249695, -0.4298892319202423, -0.24986188113689423, -0.2157072126865387, 0.2792271077632904, -0.30735233426094055, 0.24338752031326294, -0.0514669306576252, 0.1719834804534912, 0.9891868829727173, -0.537314236164093, 0.5690367817878723, -0.12327823787927628, -0.24788883328437805, 0.46372368931770325, 0.19964128732681274, 0.4534325897693634, -0.09456058591604233, -0.19456247985363007, 0.15781882405281067, 0.05658883973956108, -0.26747605204582214, -0.5158483386039734, 0.8248529434204102, -0.8101848363876343, -0.4853937327861786, -0.15712489187717438, -0.8150633573532104, -0.09901271015405655, 0.7060739994049072, -0.004147878848016262, 0.15423531830310822, -0.2392544001340866, 0.45600396394729614, 0.3933432102203369, -0.08620507270097733, 0.0960310697555542, 0.8022465109825134, -0.3105023205280304, -0.27521780133247375, 0.7243926525115967, 0.03375924751162529, 0.23235666751861572, 0.42963865399360657, 0.24488024413585663, -0.2553381323814392, -0.911882221698761, -0.22050200402736664, 0.3675357401371002, -0.7551272511482239, -0.43088820576667786, -0.4313037395477295, -0.2096935510635376, -0.5831725001335144, 0.025942686945199966, -0.17513617873191833, -0.0953654870390892, -0.1239190399646759, -0.15519338846206665, 0.5441954731941223, 0.892463207244873, 0.16461728513240814, 0.1610879749059677, -0.8367372751235962, -0.04040050506591797, 0.31636354327201843, 0.593450665473938, 0.0043457550927996635, -0.5847191214561462, -0.42485618591308594, 0.006180293392390013, -0.2973766326904297, -0.5580632090568542, 0.3295679986476898, -0.13526271283626556, 0.4810679852962494, 0.22298398613929749, -0.00024026376195251942, 0.3156135678291321, -0.3510025143623352, 0.5678325295448303, 0.168678879737854, -0.8764751553535461, 0.26469579339027405, -0.3981679677963257, -0.07098411023616791, 0.5029546618461609, 0.23768582940101624, -0.3957868814468384, -0.6705654859542847, -0.4316016733646393, -0.7419499158859253, 0.6241273880004883, 0.13628047704696655, -0.11925727128982544, 0.05557457357645035, 0.47805193066596985, -0.06771817803382874, 0.20954081416130066, -0.7841832637786865, 0.09323185682296753, 0.02768033556640148, -0.46289870142936707, -0.01583719626069069, -0.2903766334056854, -0.2720857858657837, 0.13024912774562836, 0.5959028005599976, -0.12597036361694336, -0.10713288187980652, -0.07377594709396362, -0.39154767990112305, -0.11311916261911392, 0.2358022928237915, 0.12078726291656494, 0.8413493633270264, -0.21321281790733337, 0.3306437134742737, 0.12226935476064682, -0.5639249682426453, 0.05980686470866203, 0.14153926074504852, -0.3500102758407593, 0.017425987869501114, 0.6154491305351257, 0.4682513177394867, 0.12946276366710663, -0.6866547465324402, 0.6244263648986816, 0.2014051228761673, -0.25038281083106995, -0.3302968144416809, -0.14069201052188873, 0.3283141851425171, 0.45190274715423584, 0.09844943135976791, -0.239357128739357, -0.11447488516569138, -0.40989214181900024, 0.24968692660331726, 0.24897916615009308, -0.050265997648239136, -0.10097019374370575, 0.31517294049263, 0.11826779693365097, -0.4084184169769287, 0.7435923218727112, -0.19681298732757568, -0.4469085931777954, 0.5213173031806946, 0.5830326676368713, 0.5309510827064514, -0.15076273679733276, 0.10783407837152481, 0.11466346681118011, 0.15789714455604553, -0.2815483510494232, -0.017831426113843918, 0.127339169383049, -0.8891814947128296, -0.5902599692344666, -0.6041932106018066, -0.2980562150478363, 0.45289674401283264, -0.576200008392334, 0.3826838433742523, -0.50907963514328, 0.024979261681437492, -0.06230812892317772, 0.10476379096508026, -0.5763185024261475, -0.09961768984794617, 0.24032849073410034, 0.8576276302337646, -0.8668608069419861, 0.987744152545929, 0.6873493790626526, -0.5795909762382507, -0.6859955191612244, -0.10455650091171265, -0.16221347451210022, -0.7918177247047424, 0.8485962748527527, -0.1379518359899521, -0.15663619339466095, -0.09112301468849182, -0.5131637454032898, -0.8339950442314148, 1.2343261241912842, 0.9527304768562317, -0.5389203429222107, -0.10834679007530212, 0.13552433252334595, 0.6250550150871277, -0.2896328270435333, -0.24303409457206726, 0.590060830116272, 0.2870711386203766, -0.10580533742904663, -0.8774495124816895, 0.12035447359085083, -0.0028124945238232613, -0.20379303395748138, 0.07385148853063583, -0.5339242815971375, 0.7520784735679626, 0.09889097511768341, -0.2839966416358948, 0.04282220080494881, 0.469713419675827, 0.26016589999198914, 0.2052323818206787, 0.5336557626724243, 0.5754604339599609, 0.8990767598152161, 0.18169595301151276, 0.8433746099472046, -0.4674133360385895, 0.567051887512207, 1.247035264968872, -0.4806654155254364, 0.8053786754608154, 0.5371020436286926, -0.2161227911710739, 0.5451871752738953, 0.21426111459732056, -0.16306094825267792, 0.4267149269580841, 0.34650635719299316, -0.12063751369714737, -0.001059416332282126, -0.23335953056812286, -0.19681218266487122, 0.32995858788490295, 0.2578802704811096, -0.6697472929954529, -0.44055062532424927, -0.18721386790275574, 0.07873745262622833, 0.3500542640686035, -0.2989947199821472, 0.7168833613395691, 0.10545031726360321, -0.46298375725746155, 0.45493194460868835, -0.019951561465859413, 0.3386772572994232, -0.5296667814254761, 0.20837396383285522, -0.10624881833791733, 0.2796468436717987, -0.2687316834926605, -0.8893654942512512, 0.41629672050476074, 0.2540055215358734, -0.22331225872039795, -0.2668478190898895, 0.6503178477287292, -0.509205162525177, -0.2538190484046936, 0.6565835475921631, 0.5968070030212402, 0.017672564834356308, 0.08557421714067459, -0.5267723798751831, 0.2220098227262497, -0.1453302502632141, -0.01776336319744587, 0.3671485483646393, 0.6152368187904358, -0.1702684611082077, 0.5307130217552185, 0.5183488726615906, 0.3594844937324524, -0.10613759607076645, 0.2518414258956909, 0.7035380601882935, -0.3506690561771393, -0.6373418569564819, -0.8784896731376648, -0.2453782707452774, -0.41922563314437866, -0.019747959449887276, 0.8140624761581421, 0.7508366107940674, 1.1922597885131836, -0.011142765171825886, 1.01834237575531, 0.011762418784201145, 0.6824796199798584, -0.5507105588912964, 0.8644946217536926, -0.21735981106758118, 0.3607065975666046, -0.20209605991840363, -1.040359377861023, -0.4647846221923828, 0.4957939088344574, -0.5105335116386414, -0.20825596153736115, 0.8970628380775452, 0.9342538118362427, -0.1508648693561554, -0.02591121569275856, 0.005298060365021229, 0.27693283557891846, 0.32336854934692383, 0.3311325013637543, 0.8032477498054504, -0.02086791582405567, 0.9964662790298462, -0.09540339559316635, -0.07211064547300339, -0.3220347762107849, -0.9616658687591553, -0.8781594634056091, -0.46390581130981445, -0.3412506580352783, -0.6891486644744873, 0.11671867221593857, 0.7180771231651306, 0.3732393682003021, -0.9614089727401733, -0.2795323133468628, -0.0841580182313919, 0.40952062606811523, -0.07319420576095581, -0.24327975511550903, 0.6249843239784241, -0.13950695097446442, -0.5487682819366455, 0.1586860865354538, 0.16625981032848358, -0.021465718746185303, -0.490624338388443, 0.036706555634737015, -0.07522137463092804, -0.2766965925693512, 0.6068080067634583, 0.120887890458107, -0.39391037821769714, -0.5889314413070679, -0.21818538010120392, -0.33382460474967957, -0.13772374391555786, 1.0158871412277222, -0.40336042642593384, 0.34565654397010803, 0.6611108183860779, 0.7713836431503296, 0.42709001898765564, -0.3259292244911194, 0.6323519349098206, -0.7966441512107849, 0.17643389105796814, 0.14547571539878845, 0.47424545884132385, 0.7611847519874573, -0.20454338192939758, 0.41839247941970825, 0.4334210455417633, -0.48241207003593445, -0.7578074336051941, 0.2709551751613617, -0.8588147759437561, -0.21631211042404175, 1.329135775566101, -0.5282764434814453, -0.3241862952709198, -0.2507369816303253, -0.08705175668001175, 0.5144179463386536, -0.3246806561946869, 0.8724510073661804, 0.7458120584487915, 0.4197271764278412, 0.10243608057498932, -0.3741971552371979, 0.3318767249584198, -0.13763366639614105, -0.5677149295806885, 0.32084792852401733, 0.5391186475753784, 0.6812946796417236, 0.25631844997406006, 0.49804285168647766, -0.26894837617874146, 0.01322339940816164, -0.23796436190605164, 0.1963636875152588, -0.4478667080402374, 0.05780257657170296, -0.20714354515075684, 0.4107820987701416, 0.2765454649925232, 0.0483972430229187 ]
http://arxiv.org/abs/2407.02646v1
http://arxiv.org/pdf/2407.02646v1
A Practical Review of Mechanistic Interpretability for Transformer-Based Language Models
2024-07-02T20:28:16
2024-07-02T20:28:16
Daking Rai, Yilun Zhou, Shi Feng, Abulhair Saparov, Ziyu Yao
cs.AI
cs.AI, cs.CL, I.2.7
Mechanistic interpretability (MI) is an emerging sub-field of interpretability that seeks to understand a neural network model by reverse-engineering its internal computations. Recently, MI has garnered significant attention for interpreting transformer-based language models (LMs), resulting in many novel insights yet introducing new challenges. However, there has not been work that comprehensively reviews these insights and challenges, particularly as a guide for newcomers to this field. To fill this gap, we present a comprehensive survey outlining fundamental objects of study in MI, techniques that have been used for its investigation, approaches for evaluating MI results, and significant findings and applications stemming from the use of MI to understand LMs. In particular, we present a roadmap for beginners to navigate the field and leverage MI for their benefit. Finally, we also identify current gaps in the field and discuss potential future directions.
[ -0.16708461940288544, -0.5556170344352722, 0.43720853328704834, 0.20941078662872314, 0.03967312350869179, 0.2003551423549652, 0.052555426955223083, -0.5499643087387085, 0.10090488195419312, 0.47486522793769836, -0.9677708745002747, -0.05897656828165054, -0.7742418050765991, 0.18784455955028534, -0.6231930255889893, 0.9773246049880981, -0.13331934809684753, -0.06225449964404106, -0.10997121036052704, 0.02580360881984234, -0.49475112557411194, -0.3759627640247345, -0.38910722732543945, -0.4909293055534363, 0.4679305851459503, 0.3960629105567932, 0.7499704360961914, 0.2411113828420639, 0.6382246017456055, 0.2901707589626312, -0.42447948455810547, -0.36791983246803284, -0.3850138783454895, 0.15516765415668488, -0.43298810720443726, -0.799413800239563, -0.2876943051815033, 0.14603157341480255, 0.49665823578834534, 1.1373034715652466, -0.10145076364278793, 0.17694512009620667, 0.19814971089363098, 0.5262701511383057, -0.5007068514823914, 0.17575587332248688, -0.6519491076469421, 0.10047692805528641, -0.3126866817474365, -0.33136579394340515, -0.6651608347892761, 0.0813448429107666, 0.45772451162338257, -0.31003034114837646, 0.19089019298553467, -0.05585717782378197, 0.5066943168640137, 0.1433049440383911, -0.43735092878341675, -0.4928264021873474, -1.2321360111236572, 0.9569696187973022, -0.7611284255981445, 0.5945801138877869, 0.15061165392398834, 0.8937919735908508, -0.07244478911161423, -0.9697587490081787, -0.5766472220420837, -0.09606291353702545, -0.35460716485977173, 0.1526193767786026, -0.5692573189735413, 0.0503634549677372, 0.0661841332912445, 0.45386409759521484, -0.5175650715827942, 0.13395723700523376, -0.5692586302757263, -0.17263969779014587, 0.34707480669021606, 0.4990699887275696, 0.722846508026123, -0.1989278346300125, -0.10580144077539444, -0.007148552220314741, -0.6360428929328918, 0.17079564929008484, 0.2504245340824127, 0.25376197695732117, -0.12044118344783783, 0.43047648668289185, -0.23445826768875122, 0.5256840586662292, -0.4344742000102997, -0.09061145037412643, -0.02613549679517746, -0.4906494915485382, -0.31322619318962097, -0.39072394371032715, 0.5631536841392517, 0.22420552372932434, 0.3989754915237427, -0.4736689627170563, -0.19639602303504944, -0.4905616044998169, 0.622342050075531, -0.7124576568603516, -0.058724239468574524, 0.2207481861114502, -0.9703022837638855, -0.4298728406429291, 0.03127117455005646, -0.6111286282539368, -0.07260772585868835, -0.41717344522476196, 0.07017838954925537, -0.36786267161369324, -0.704837441444397, 0.01521485485136509, -0.00013555963232647628, 0.48029524087905884, 0.1798245757818222, -1.0278416872024536, 0.16112516820430756, 0.7359619140625, 0.968377947807312, 0.16097398102283478, -0.5610935688018799, 0.20344661176204681, -0.3478599786758423, 0.014801038429141045, 0.5220091342926025, -0.3344535827636719, -0.4266810417175293, -0.1541593074798584, 0.058983538299798965, -0.36118242144584656, -0.33817094564437866, 0.576842725276947, -0.5876622796058655, -0.016892462968826294, 0.18743954598903656, -0.31228113174438477, -0.38753125071525574, 0.356586217880249, -0.6861613988876343, 0.30665284395217896, 0.2973006069660187, -0.6335507035255432, 0.10004470497369766, -0.7177429795265198, -0.301289439201355, -0.1691698431968689, 0.0802367627620697, 0.025457892566919327, 0.283856064081192, -0.23226207494735718, 0.4579678475856781, -0.35805943608283997, 0.3473595380783081, 0.02551165409386158, -0.34809431433677673, 0.5040342807769775, -0.9193398952484131, 0.7864132523536682, 0.5489969849586487, -0.301298588514328, 0.09270193427801132, -0.8474465608596802, -0.07479559630155563, -0.09038800001144409, 0.029904432594776154, -0.04986722394824028, 0.3415851891040802, 0.1422310322523117, 0.14504757523536682, -0.021845253184437752, -0.14465796947479248, 0.09990817308425903, -0.6938139200210571, 0.7009480595588684, 0.5460691452026367, -0.28962600231170654, 0.6989130973815918, 0.1392940878868103, 0.7873089909553528, -0.02817857638001442, 0.4304337501525879, -0.6201955080032349, -0.4239822030067444, -0.6141805052757263, 0.14294296503067017, 0.04440629854798317, 0.5989884734153748, -0.9083253741264343, 0.2965511679649353, -0.2653658390045166, -0.8074458241462708, -0.742608904838562, -0.0416552908718586, 0.22574810683727264, 0.6438314318656921, 0.653986930847168, 0.33782804012298584, -0.43282556533813477, -1.23716139793396, -0.7075787782669067, -0.20423483848571777, -0.1435321420431137, 0.2188860923051834, 0.5001481771469116, -0.6669390201568604, 0.9459367394447327, -0.24097828567028046, -0.07123284041881561, -0.6028956770896912, 0.36421558260917664, 0.5456678867340088, 0.46757978200912476, 0.31244492530822754, -0.7064127326011658, -0.12714572250843048, -0.02494790591299534, -0.8897217512130737, -0.06696287542581558, -0.23584133386611938, 0.3326699733734131, -0.19990484416484833, 0.6436653733253479, -0.32983556389808655, 0.5650126338005066, 0.5608590841293335, -0.481608510017395, 0.5238956212997437, -0.12803420424461365, 0.07006514817476273, -0.9526530504226685, 0.21472813189029694, -0.053776126354932785, -0.028337659314274788, -0.998179018497467, 0.2778608798980713, -0.12642614543437958, 0.12597490847110748, -0.6259838342666626, 0.4299449026584625, -0.4523184299468994, 0.04908444732427597, -0.4775369167327881, -0.2769542336463928, -0.06347896158695221, 0.035194896161556244, -0.31680071353912354, 0.6335548758506775, 0.37444648146629333, -0.6141461133956909, 0.015251081436872482, 0.22199983894824982, -0.46265730261802673, 0.4178759753704071, -0.8201442956924438, -0.20712225139141083, -0.1977572739124298, 0.1467479020357132, -0.8426125049591064, -0.04731479659676552, 0.5108029842376709, -0.511343240737915, 0.4509965479373932, -0.21040081977844238, -0.15906427800655365, -0.19727787375450134, 0.031435370445251465, 0.6235373020172119, 0.4158961772918701, -0.5857230424880981, 0.8716052770614624, 0.042488086968660355, -0.08638665080070496, -0.8154263496398926, -0.7924520969390869, 0.24030356109142303, -0.12765520811080933, -0.6379125118255615, 0.08846618235111237, -0.045265182852745056, -0.5778974890708923, -0.16815148293972015, -0.11223476380109787, -0.013863694854080677, 0.6669789552688599, 0.12173783034086227, 0.033448994159698486, -0.33362722396850586, -0.11640814691781998, 0.11964723467826843, -0.6882842779159546, 0.28686395287513733, 0.15888448059558868, 0.36429867148399353, -0.47645679116249084, -0.4199579060077667, -0.43943631649017334, 0.09912149608135223, 0.6528060436248779, 0.04715834558010101, 0.7416865229606628, 0.4282142221927643, -0.3242742419242859, -0.034469008445739746, -0.14800786972045898, -0.4259752631187439, -0.4462721347808838, 0.3806407153606415, -0.6777946352958679, -0.6578944325447083, 0.4753457009792328, -0.19834004342556, 0.07696396112442017, 0.7056052684783936, 0.42587801814079285, -0.4868846833705902, 0.8845705986022949, 0.79200279712677, 0.08870061486959457, 0.20654262602329254, -0.21741983294487, 0.5888211131095886, -0.7575854659080505, -0.5088409781455994, -0.6240746378898621, -0.5472294092178345, -0.6328023672103882, -0.25003135204315186, 0.1969471573829651, 0.19804783165454865, 0.20197570323944092, 0.35359495878219604, -0.43860334157943726, 0.4642372131347656, 0.2708359956741333, -0.27617141604423523, 0.3887486457824707, -0.3837384283542633, 0.15786539018154144, -0.34281739592552185, -0.5175260901451111, -0.839442789554596, 0.8436784744262695, 0.8225892186164856, 1.0159425735473633, 0.18046298623085022, 0.12058277428150177, 0.014307670295238495, 0.615193247795105, -1.0279840230941772, 0.23276273906230927, -0.02783532254397869, -0.6527115702629089, -0.3364337980747223, -0.505121648311615, -1.0058335065841675, 0.4713314473628998, -0.25463569164276123, -0.9498719573020935, -0.013958952389657497, 0.1978996992111206, 0.19387158751487732, 0.5561873912811279, -0.640205442905426, 0.8638073205947876, -0.3363051116466522, 0.2101534605026245, -0.22850465774536133, -0.8637406229972839, 0.5093598961830139, 0.16803815960884094, 0.47349482774734497, 0.009269352070987225, 0.22758139669895172, 0.5300341248512268, -0.3070993721485138, 0.8710218667984009, -0.12331332266330719, -0.3307598829269409, 0.1775917261838913, 0.1981360763311386, 0.09886939078569412, -0.26289162039756775, -0.04916888475418091, 0.5811493992805481, 0.42217570543289185, -0.06951145827770233, -0.9503087401390076, 0.47345876693725586, -0.5249042510986328, -0.48891282081604004, -0.3450496196746826, -0.6172270178794861, -0.04944439232349396, 0.25485819578170776, 0.36129656434059143, 0.32781851291656494, -0.32705920934677124, 0.2347986251115799, 0.4659232795238495, -0.2940728962421417, 0.3825299143791199, 0.6148450374603271, -0.3162144720554352, 0.002658569486811757, 1.0050629377365112, 0.19367776811122894, 0.03250281512737274, 0.6688761711120605, 0.30431389808654785, -0.3404129147529602, -0.7216957211494446, -0.49276888370513916, -0.0481666699051857, -0.730657696723938, 0.25713133811950684, -0.5141567587852478, -0.2778165340423584, 0.0392589345574379, 0.07052547484636307, -0.4788229465484619, -0.40606385469436646, -0.3230011761188507, 0.003357326379045844, -0.13515082001686096, 0.9013395309448242, 0.3075311779975891, 0.7485077977180481, -0.9089664220809937, -0.08427559584379196, -0.1147826686501503, 0.5473625659942627, 0.2026459276676178, -0.6098755598068237, -0.25390708446502686, 0.21448831260204315, -0.3175363540649414, -0.8808193802833557, 0.20506130158901215, -0.12670613825321198, 0.7306483387947083, 0.7335450053215027, -0.1856762319803238, 0.4182594120502472, -0.4705953001976013, 0.6649349331855774, 0.17534175515174866, -1.1452692747116089, 0.6042429804801941, -0.09674911946058273, -0.08356351405382156, 0.558802604675293, 0.4862147569656372, -0.6408733129501343, -0.2960612177848816, -0.7270115613937378, -0.890482485294342, 0.6286854147911072, 0.421983003616333, 0.40015557408332825, 0.33155760169029236, 0.5365796089172363, 0.3151610195636749, 0.058755986392498016, -0.7429746985435486, -0.4705469012260437, -0.10325639694929123, -0.2801192104816437, -0.24201631546020508, -0.2945527732372284, 0.12149837613105774, -0.12126637250185013, 0.49366626143455505, -0.2386503964662552, 0.13699690997600555, -0.10693801194429398, -0.5306743383407593, 0.09594781696796417, 0.4609360098838806, 0.7134220600128174, 0.9373579025268555, -0.3702434301376343, 0.39099058508872986, 0.06922660022974014, -0.2622748017311096, 0.015014717355370522, -0.13960722088813782, -0.31145748496055603, 0.008241559378802776, 0.6792964935302734, 0.6799812912940979, 0.4453723430633545, -0.7439103722572327, 0.37414711713790894, -0.10947398841381073, -0.0069586425088346004, -0.10597696900367737, -0.0274784155189991, -0.02331831492483616, 0.33157819509506226, 0.2750062346458435, 0.10709717124700546, 0.5243992805480957, -0.7307606935501099, 0.03739291802048683, 0.4749222993850708, -0.5878238677978516, -0.7931426763534546, 0.642097532749176, 0.18568092584609985, -0.38058680295944214, 0.6949946880340576, 0.28348278999328613, -0.4042285084724426, 0.5414333939552307, 0.5152668952941895, 0.8578833341598511, -0.2343340814113617, 0.08052074164152145, 0.14318512380123138, 0.7903726696968079, 0.18382512032985687, 0.026869554072618484, 0.049545686691999435, -0.7942262291908264, -0.3648856580257416, -0.41230881214141846, -0.7231163382530212, 0.12523074448108673, -0.8846403956413269, 0.19863009452819824, -0.1339116096496582, 0.1573893129825592, 0.16347308456897736, -0.5703030824661255, -0.4114609658718109, 0.46543624997138977, -0.2037373036146164, 1.1128566265106201, -0.8712563514709473, 0.4957321584224701, 0.6237351894378662, -0.6024101376533508, -0.4747643768787384, 0.04888749495148659, -0.02019389532506466, -0.9872475862503052, 0.40005096793174744, 0.24916359782218933, -0.1913403421640396, -0.20221452414989471, -0.4566492736339569, -0.5169365406036377, 1.3740211725234985, 0.2563558518886566, -0.5118211507797241, -0.11603964865207672, 0.3036113381385803, 0.7046627998352051, -0.09933265298604965, 0.9511713981628418, 0.8786128759384155, 0.4435281455516815, -0.0013493540463969111, -0.6795734167098999, -0.11425408720970154, -0.36052167415618896, -0.15735049545764923, 0.1601860076189041, -0.42361214756965637, 0.7313902974128723, -0.14102599024772644, -0.2609981894493103, 0.02856624312698841, 0.6497802734375, -0.09646201878786087, 0.7306034564971924, 0.5197563767433167, 0.06300147622823715, 0.4953906536102295, -0.08801395446062088, 1.1345860958099365, -0.47220054268836975, 0.47553905844688416, 1.0152153968811035, 0.3141360282897949, 0.8408963680267334, 0.7993974089622498, -0.3075007498264313, 0.46553856134414673, 0.48641282320022583, -0.019047658890485764, 0.22130703926086426, 0.31058865785598755, 0.07739810645580292, -0.17952506244182587, 0.10478702932596207, -0.28127917647361755, 0.5711337924003601, 0.4632575213909149, -0.5914559960365295, -0.435577392578125, -0.02297499217092991, -0.13335442543029785, -0.16045473515987396, -0.2048502415418625, 0.5491410493850708, 0.406803697347641, -0.33264848589897156, 0.08906752616167068, 0.15500330924987793, 0.7263869643211365, -0.3914651572704315, -0.1583067923784256, -0.11744087934494019, 0.15325258672237396, -0.3653915226459503, -1.0292941331863403, 1.0423226356506348, -0.08083990961313248, -0.4731939435005188, -0.5822417140007019, 0.9922667741775513, 0.010224797762930393, -0.36565789580345154, 0.426310271024704, 1.0095081329345703, 0.4317532181739807, -0.13792400062084198, -0.5472283363342285, -0.19995494186878204, -0.06526146084070206, -0.29886025190353394, 0.1875784695148468, 0.1383771151304245, 0.1196422353386879, 1.1664953231811523, 0.5477744340896606, -0.23902970552444458, -0.21377430856227875, 0.11135265231132507, 0.5628999471664429, -0.9146263599395752, -0.1641637086868286, -1.1655352115631104, 0.7871335744857788, 0.5371325612068176, -0.24512411653995514, 0.5147618651390076, 0.14922288060188293, 0.5506431460380554, -0.20667025446891785, 0.7826765179634094, 0.06747452169656754, 0.428920716047287, -0.6599510312080383, 1.0014621019363403, -0.4983941614627838, 0.46510621905326843, -0.09339196979999542, -0.8331632614135742, -0.2180502712726593, 0.6494201421737671, -0.1848558932542801, -0.024772832170128822, 0.40998631715774536, 0.5720006227493286, -0.30568233132362366, 0.33317431807518005, 0.47100013494491577, 0.33668094873428345, 0.4325059950351715, 0.23138000071048737, 1.4160528182983398, -0.49905264377593994, 0.6876065731048584, -0.13002106547355652, -0.30910879373550415, -0.20843052864074707, -0.9730073809623718, -0.664337694644928, -0.4956338703632355, 0.0014115325175225735, -0.41633379459381104, -0.499347448348999, 0.7030453085899353, 0.5447424650192261, -0.9674397706985474, -0.16787666082382202, -0.24496415257453918, 0.4698159992694855, -0.19405688345432281, -0.2698521912097931, -0.052894268184900284, -0.26729342341423035, -0.8019011616706848, 0.579456627368927, 0.17649242281913757, 0.06791633367538452, -0.44707420468330383, -0.154473677277565, 0.19017599523067474, 0.027024250477552414, 0.6655020713806152, 0.33707258105278015, -0.7678403854370117, -0.007568798493593931, 0.3512515723705292, 0.250119686126709, -0.15229865908622742, 1.1199558973312378, -0.3877711892127991, 0.537255048751831, 0.37956079840660095, 0.7411932945251465, 0.13526254892349243, -0.4405505955219269, 0.8584527969360352, -0.4303998351097107, -0.21225260198116302, 0.16757084429264069, 0.6259202361106873, 0.12958690524101257, -0.14105920493602753, 0.7576079964637756, 0.22285829484462738, -0.289429247379303, -0.8666326403617859, 0.36050331592559814, -0.9308131337165833, -0.22298189997673035, 0.8625656962394714, -0.18439877033233643, 0.13578751683235168, -0.2410542517900467, 0.004588644485920668, 0.17505007982254028, 0.33956068754196167, 0.5323026776313782, 0.727627694606781, -0.20097316801548004, -0.342672199010849, -0.5874209403991699, 0.10848675668239594, 0.4247521162033081, -0.8535650968551636, -0.07850350439548492, -0.05145491659641266, 0.4047671854496002, 0.44180622696876526, 0.2964971959590912, 0.011517881415784359, -0.059084195643663406, -0.0924203023314476, 0.08056802302598953, 0.04786016792058945, -0.43824729323387146, -0.6448251605033875, -0.14416269958019257, 0.2526714503765106, 0.08013365417718887 ]
http://arxiv.org/abs/2407.02637v1
http://arxiv.org/pdf/2407.02637v1
Change My Frame: Reframing in the Wild in r/ChangeMyView
2024-07-02T20:09:11
2024-07-02T20:09:11
Arturo Martínez Peguero, Taro Watanabe
cs.CL
cs.CL, cs.AI, cs.CY, 68T50, I.2.7
Recent work in reframing, within the scope of text style transfer, has so far made use of out-of-context, task-prompted utterances in order to produce neutralizing or optimistic reframes. Our work aims to generalize reframing based on the subreddit r/ChangeMyView (CMV). We build a dataset that leverages CMV's community's interactions and conventions to identify high-value, community-recognized utterances that produce changes of perspective. With this data, we widen the scope of the direction of reframing since the changes in perspective do not only occur in neutral or positive directions. We fine tune transformer-based models, make use of a modern LLM to refine our dataset, and explore challenges in the dataset creation and evaluation around this type of reframing.
[ -0.4683026969432831, -0.791628360748291, 0.490830659866333, -0.03556356579065323, -0.18126949667930603, -0.1682044416666031, -0.22053326666355133, -0.42543911933898926, 0.6673138737678528, 0.7706246972084045, -0.8689090013504028, -0.3186630308628082, -0.714908242225647, 0.346587598323822, -0.44627973437309265, 1.0364024639129639, -0.23152676224708557, 0.14416329562664032, -0.027615629136562347, -0.31962522864341736, -0.8904982209205627, -0.35200735926628113, -0.3020683825016022, -0.34527909755706787, 0.6430954933166504, 0.7320914268493652, 0.6468110680580139, 0.4538181722164154, 0.6428967714309692, 0.159864142537117, -0.015195493586361408, -0.08256751298904419, -0.6866803765296936, 0.28130409121513367, -0.637928307056427, -0.6812468767166138, -0.06776612251996994, 0.2505125105381012, 0.2784355580806732, 0.6354742050170898, -0.2941761016845703, 0.5585809946060181, -0.23715084791183472, 0.7719854116439819, -0.5329963564872742, 0.34058329463005066, -0.9654098749160767, 0.23441553115844727, -0.19122357666492462, -0.16677583754062653, -0.42475488781929016, -0.2501486837863922, 0.054633233696222305, -0.7107238173484802, 0.4827118217945099, 0.22956009209156036, 0.6869633197784424, 0.15085284411907196, -0.5907806754112244, -0.08283033221960068, -1.0366593599319458, 0.7972667813301086, -0.3981521427631378, 0.37803736329078674, 0.21733516454696655, 0.5079671144485474, 0.009376809000968933, -0.9007691144943237, -0.6282104849815369, 0.3780162036418915, -0.04011440649628639, 0.12647207081317902, -0.5477215647697449, -0.3703230321407318, 0.3466954529285431, 0.30957379937171936, -0.25189638137817383, -0.4429737329483032, -0.3568209707736969, 0.02255711518228054, 0.46538782119750977, 0.42504578828811646, 0.014239211566746235, -0.283254474401474, -0.36626604199409485, -0.29867544770240784, -0.39981067180633545, 0.05754312872886658, 0.21653272211551666, 0.16185161471366882, 0.10627084225416183, 0.7737128138542175, -0.45473983883857727, 0.6700217127799988, 0.32522863149642944, -0.06888803094625473, 0.3437437117099762, -0.5460239052772522, -0.309806227684021, -0.22027179598808289, 0.003386062104254961, 1.1804968118667603, 0.34625715017318726, -0.02484886907041073, -0.09710093587636948, 0.09217418730258942, 0.5909846425056458, -0.7909189462661743, -0.285908579826355, -0.3879724442958832, -0.7852551937103271, -0.5784201622009277, 0.026794232428073883, -0.867068886756897, -0.7601096034049988, -0.7193155288696289, 0.19252809882164001, -0.27957969903945923, -0.22930432856082916, 0.11043926328420639, -0.15013563632965088, 0.6436998248100281, 0.5395649671554565, -0.9484747648239136, 0.13560235500335693, 0.4306529760360718, 0.5185143947601318, -0.21387310326099396, 0.07525850087404251, -0.19086284935474396, -0.17935992777347565, -0.3273211121559143, 0.8345195055007935, -0.8734800219535828, -0.4808313548564911, 0.04612293839454651, 0.33271849155426025, 0.025392772629857063, -0.7869645953178406, 0.4257587194442749, -0.5707467198371887, 0.392971396446228, -0.49188530445098877, -0.1709752082824707, -0.17809700965881348, 0.4223317503929138, -0.5184480547904968, 0.7217048406600952, 0.11294013261795044, -0.7409563064575195, 0.5745654106140137, -0.45558446645736694, -0.37526845932006836, -0.2005165070295334, -0.15309812128543854, -0.17934972047805786, 0.20445239543914795, 0.10949856787919998, 0.14164984226226807, -0.07774349302053452, 0.3198094666004181, -0.16987110674381256, -0.13126109540462494, 0.6852232217788696, -0.5163703560829163, 0.1353115290403366, 0.3775731921195984, -0.008054545149207115, 0.1804477870464325, -0.9291054606437683, -0.06769631803035736, -0.07154934108257294, -0.0739903673529625, -0.3155181407928467, 0.07083972543478012, 0.3238446116447449, 0.19169101119041443, 0.018150804564356804, -0.6192232370376587, 0.464246541261673, -0.24419979751110077, 0.6387816071510315, 0.6975504159927368, 0.4002895951271057, 0.6983253359794617, -0.44423142075538635, 0.4026584327220917, 0.25381559133529663, 0.24696055054664612, -0.3381713330745697, -0.6798834204673767, -0.5208398103713989, 0.09769586473703384, -0.05504896864295006, 0.47992080450057983, -0.8096133470535278, -0.08102414757013321, -0.03942607715725899, -0.12222013622522354, -0.5333602428436279, -0.03979885205626488, 0.006827421020716429, 0.8207741975784302, 0.6935562491416931, -0.6004480123519897, -0.7212994694709778, -1.067484736442566, -0.2926830053329468, 0.1635608673095703, -0.009928704239428043, 0.15922021865844727, 0.3704053461551666, -0.5610896944999695, 1.235316514968872, -0.9154604077339172, -0.2592596411705017, -0.18779420852661133, 0.2146577090024948, 0.15140551328659058, 0.4493383467197418, 0.31507575511932373, -1.1983100175857544, -0.11153668165206909, -0.3183397650718689, -0.5053398609161377, -0.09675776213407516, -0.40763112902641296, -0.29164162278175354, -0.0008546181488782167, 0.8184018731117249, -0.38921859860420227, 0.5672480463981628, 0.5413509607315063, -0.6049937605857849, 0.5222941637039185, 0.1380215287208557, 0.40497642755508423, -1.2711358070373535, -0.1836790293455124, -0.12489195913076401, -0.22089123725891113, -0.4188650846481323, 0.01476127840578556, -0.1468701958656311, -0.05156060308218002, -0.5058099627494812, 0.4541114866733551, -0.25582170486450195, 0.18684037029743195, -0.26780903339385986, 0.2750202715396881, 0.2932966947555542, 0.43107178807258606, -0.008232858031988144, 0.5142898559570312, 0.24173805117607117, -0.09632646292448044, 0.4159342646598816, 0.5706824660301208, -0.28521597385406494, 0.6260400414466858, -0.09550442546606064, 0.1005929559469223, -0.5320711731910706, 0.5591593980789185, -1.1124539375305176, -0.36677315831184387, 0.7162788510322571, -0.2950035333633423, 0.2173599898815155, -0.2086929976940155, -0.13119424879550934, -0.12163256853818893, -0.29200267791748047, 0.5737832188606262, 0.36982595920562744, -0.527683675289154, 0.534783124923706, 0.282866895198822, -0.0008692882838658988, -0.4647327959537506, -1.1426221132278442, 0.33881184458732605, -0.287185937166214, -0.48340633511543274, 0.6598944664001465, -0.20924821496009827, -0.634544312953949, 0.19520610570907593, -0.16646352410316467, -0.0746069923043251, -0.31899958848953247, 0.40510866045951843, 0.12060995399951935, -0.2952820360660553, 0.031877513974905014, -0.02182868868112564, -0.13496743142604828, 0.15602436661720276, -0.22027407586574554, 0.41634318232536316, -0.04975581541657448, -0.2212972342967987, -0.2788415849208832, 0.3255295157432556, 0.4463474154472351, -0.28144705295562744, 0.7045016884803772, 0.4064796268939972, -0.30041396617889404, -0.21078984439373016, -0.5745130181312561, -0.34107649326324463, -0.440603107213974, 0.34428972005844116, -0.21864637732505798, -0.9566542506217957, 0.5027635097503662, -0.07028017193078995, 0.04385848715901375, 0.03661845251917839, 0.5545109510421753, 0.0006192734581418335, 0.7391831874847412, 0.8889585733413696, 0.2314600646495819, 0.7723588347434998, -0.05915163829922676, 0.33432576060295105, -0.8874614238739014, -0.1873784214258194, -0.1523299515247345, -0.6324796676635742, -0.7586777806282043, -0.8329755663871765, 0.05129995197057724, -0.23160474002361298, 0.1777399331331253, 0.4063701331615448, -0.5219845175743103, 0.5764169692993164, 0.15718595683574677, 0.1951638013124466, 0.5247842073440552, -0.19072337448596954, 0.28316858410835266, -0.6394526958465576, -0.36977702379226685, -0.5625572204589844, 1.1416960954666138, 0.1303952932357788, 0.8529231548309326, 0.09189052879810333, 0.5387552976608276, 0.3511875569820404, 0.9985058903694153, -0.9334738254547119, 0.5499803423881531, -0.050700295716524124, -0.5505088567733765, 0.04742005839943886, -0.3048561215400696, -0.8300716876983643, 0.3136800229549408, -0.5656145811080933, -0.3496124744415283, 0.2129540741443634, 0.013364480808377266, -0.02093404158949852, 0.4958155155181885, -0.5443884134292603, 0.8512483835220337, 0.33747047185897827, -0.16696810722351074, -0.394181489944458, -0.6525346636772156, 0.45137378573417664, 0.0072511727921664715, 0.340243935585022, -0.27631068229675293, 0.1757701188325882, 0.335347980260849, 0.14135318994522095, 1.0415804386138916, -0.01935979537665844, 0.06056671217083931, 0.5284438133239746, 0.3273344337940216, 0.1145198792219162, 0.2753152847290039, -0.11820313334465027, 0.03903849795460701, -0.06612415611743927, -0.1341428905725479, -0.5122839212417603, 0.5888705849647522, -0.5482810735702515, -0.7264930605888367, -0.2701893448829651, -0.47615185379981995, -0.30045533180236816, 0.11472440510988235, 0.2021101862192154, 0.5958868861198425, -0.6917375326156616, 0.18520353734493256, 0.7731188535690308, -0.11947418749332428, 0.4146730601787567, 0.5141043663024902, -0.6698286533355713, -0.22654199600219727, 0.6105400919914246, 0.1418973058462143, 0.22181709110736847, 0.6252012848854065, 0.11591926962137222, -0.06963686645030975, -0.2478189915418625, -0.45453640818595886, -0.15927754342556, -1.063979148864746, -0.21082212030887604, 0.037424132227897644, -0.009058783762156963, -0.4407191276550293, -0.4299986660480499, -0.16357533633708954, -0.5416120886802673, -0.2245071977376938, -0.29050111770629883, 0.33048009872436523, 0.7888635993003845, 0.22470161318778992, -0.005472695920616388, -0.6104016304016113, 0.3095182776451111, 0.4222155809402466, 0.10113109648227692, -0.4312922954559326, -0.615411102771759, -0.058230526745319366, -0.0005450090393424034, -0.3649037182331085, -0.7826179265975952, 0.5625407099723816, -0.0255142729729414, 0.20043998956680298, 0.20238837599754333, 0.13575248420238495, 0.6074539422988892, -0.6563963294029236, 0.8246058225631714, 0.33548492193222046, -0.7070521116256714, 0.30001458525657654, -0.21260803937911987, 0.48419350385665894, 0.6007261872291565, -0.06456224620342255, -1.0468769073486328, -0.46757787466049194, -0.5668466091156006, -0.8194417953491211, 0.3221921920776367, 0.10484074801206589, 0.6136906147003174, 0.04189562052488327, 0.8090940713882446, 0.26157641410827637, 0.31193116307258606, -0.7658575773239136, -0.1845308542251587, -0.5548539161682129, -0.23872075974941254, 0.1560196578502655, 0.04534962400794029, -0.44981223344802856, -0.33229881525039673, 0.23461070656776428, -0.45606333017349243, 0.2263977825641632, 0.38814085721969604, -0.0209165308624506, -0.3808521032333374, 0.4631972908973694, 0.5782876014709473, 0.7617775201797485, -0.0489809587597847, 0.36270105838775635, 0.36898812651634216, -0.4306749999523163, -0.19832345843315125, -0.2572580575942993, -0.24463088810443878, -0.022145548835396767, 0.17570580542087555, 0.6274367570877075, 0.5708574056625366, -0.549102783203125, 0.5616730451583862, -0.32495972514152527, -0.1359349936246872, -0.33022308349609375, 0.24107398092746735, -0.051342759281396866, 0.3510552644729614, 0.1299603283405304, 0.9184319972991943, 0.0857163593173027, -0.6792631149291992, 0.30157339572906494, 0.17900830507278442, -0.4572998583316803, -0.5062727928161621, 0.8409051299095154, 0.33169206976890564, -0.12572503089904785, 0.5510653257369995, -0.04294396936893463, -0.01896531507372856, 0.4668155610561371, 0.564664363861084, 1.0247852802276611, 0.23838423192501068, 0.18627776205539703, 0.36603012681007385, 0.11704303324222565, 0.13770022988319397, -0.11142626404762268, -0.10995588451623917, -1.1974104642868042, -0.4462427794933319, -0.8034751415252686, -0.6148308515548706, -0.10320882499217987, -0.9542834758758545, 0.47471874952316284, -0.49027514457702637, -0.22276028990745544, -0.05405775457620621, -0.4382036030292511, -0.4942644536495209, 0.363569438457489, 0.572506844997406, 0.9987415671348572, -0.7743037343025208, 1.0191491842269897, 0.9184669256210327, -0.18833480775356293, -0.4401516616344452, 0.42604708671569824, 0.28574493527412415, -0.9310219287872314, 0.3836100995540619, 0.26934272050857544, -0.513207197189331, -0.19591067731380463, -0.8895267844200134, -0.8031589984893799, 1.2599232196807861, -0.028414228931069374, -0.5816450715065002, -0.043791189789772034, 0.1070232167840004, 0.6619030833244324, -0.7425402402877808, -0.0715976357460022, 0.4331808090209961, 0.5148693919181824, 0.16751012206077576, -0.3639576733112335, 0.07405610382556915, -0.05100316181778908, 0.22753338515758514, 0.1644338071346283, -0.8538781404495239, 0.7275119423866272, -0.20776642858982086, -0.1817944049835205, -0.20062433183193207, 0.946549654006958, -0.25334081053733826, 0.45045310258865356, 0.40048646926879883, 0.4534129202365875, 0.45023781061172485, -0.05128795653581619, 0.6615517735481262, -0.3275752365589142, 0.35142579674720764, 0.9060260057449341, -0.27084630727767944, 0.9482483267784119, 0.7162106037139893, 0.3096461594104767, 0.7427799105644226, 0.21829387545585632, -0.009501111693680286, 0.5936552882194519, 0.08940696716308594, -0.24680538475513458, -0.202101469039917, 0.12172047793865204, -0.2480899840593338, 0.40686777234077454, 0.19609805941581726, -0.24297092854976654, -0.22798921167850494, 0.3357499837875366, 0.34860485792160034, 0.43953371047973633, -0.3438407778739929, 0.5012038946151733, 0.16873985528945923, -0.6834961175918579, 0.15293292701244354, 0.3277224004268646, 0.8202691674232483, -0.5517981648445129, -0.13081833720207214, -0.2870672047138214, 0.46512308716773987, -0.39897745847702026, -1.0095646381378174, 0.9180549383163452, -0.11447659879922867, -0.6442016959190369, -1.1399365663528442, 0.7571388483047485, -0.5197508335113525, -0.28528597950935364, 0.2911485433578491, 0.3476930558681488, -0.29465004801750183, 0.04994579777121544, -0.5802547335624695, 0.1909390538930893, 0.27617841958999634, -0.4895780384540558, 0.506313145160675, 0.4885607063770294, -0.1975187510251999, 0.3742923438549042, 0.5197931528091431, -0.37049439549446106, -0.057291120290756226, 0.09057941287755966, 0.9114908576011658, -0.8765428066253662, -0.17538094520568848, -0.5420699119567871, 0.33722156286239624, 0.19536638259887695, -0.8687626719474792, 0.7878178954124451, 0.35090625286102295, 1.0199826955795288, -0.19513750076293945, 0.558418333530426, -0.3839494287967682, 0.3164551854133606, -0.5923172235488892, 0.614836573600769, -0.4723891019821167, 0.10072914510965347, -0.09684298932552338, -0.7761588096618652, -0.40796762704849243, 0.5612548589706421, -0.39218923449516296, -0.506547749042511, 0.5003321766853333, 0.9455412030220032, 0.05161682143807411, 0.5456467866897583, 0.38275474309921265, 0.48893123865127563, 0.3085639178752899, 0.11455312371253967, 0.7975016236305237, -0.2074921727180481, 0.6131352782249451, -0.31889450550079346, -0.3995611071586609, -0.1311873495578766, -0.9532419443130493, -0.41284847259521484, -0.7638311386108398, -0.5529788732528687, -0.43336042761802673, -0.17171834409236908, 0.9752755761146545, 0.510628879070282, -0.814612627029419, -0.18035872280597687, -0.12828975915908813, 0.020532064139842987, -0.2326618880033493, -0.3497103154659271, -0.40015286207199097, -0.27117836475372314, -0.5255963206291199, 0.4939305782318115, 0.1731812208890915, -0.2793332040309906, -0.184590145945549, 0.36432549357414246, 0.02021082490682602, 0.3801085352897644, 0.8180315494537354, 0.22962135076522827, -0.3999859392642975, -0.8790081143379211, 0.14228905737400055, -0.16634537279605865, 0.4267810583114624, 1.107153058052063, -0.7559005618095398, 0.5888919830322266, 0.3804064095020294, 0.25048577785491943, 0.7583225965499878, 0.23321141302585602, 0.5024078488349915, -0.6629769206047058, 0.12324943393468857, 0.09945162385702133, 0.18963775038719177, 0.36161065101623535, -0.15825094282627106, 0.32966288924217224, 0.7185976505279541, -0.6448756456375122, -0.5360130071640015, 0.5965477228164673, -0.9657156467437744, -0.33554691076278687, 1.0019199848175049, 0.27333498001098633, -0.3134251534938812, 0.049282874912023544, -0.5917633175849915, -0.016098594292998314, -0.22747540473937988, 0.7709407210350037, 0.860997200012207, -0.7680978775024414, -0.03795349597930908, -0.6002357006072998, 0.37296196818351746, 0.2906263470649719, -0.6926708221435547, 0.1946299821138382, 0.6486655473709106, 0.6914016604423523, 0.1917509287595749, 0.42204713821411133, -0.24320478737354279, -0.28276553750038147, -0.016426341608166695, 0.09469014406204224, 0.24676072597503662, -0.31179049611091614, -0.45988768339157104, 0.12355656921863556, -0.13146033883094788, -0.06180843338370323 ]
http://arxiv.org/abs/2407.02631v1
http://arxiv.org/pdf/2407.02631v1
Nollywood: Let's Go to the Movies!
2024-07-02T19:50:55
2024-07-02T19:50:55
John E. Ortega, Ibrahim Said Ahmad, William Chen
cs.CL
cs.CL, cs.AI, cs.SD, eess.AS
Nollywood, based on the idea of Bollywood from India, is a series of outstanding movies that originate from Nigeria. Unfortunately, while the movies are in English, they are hard to understand for many native speakers due to the dialect of English that is spoken. In this article, we accomplish two goals: (1) create a phonetic sub-title model that is able to translate Nigerian English speech to American English and (2) use the most advanced toxicity detectors to discover how toxic the speech is. Our aim is to highlight the text in these videos which is often times ignored for lack of dialectal understanding due the fact that many people in Nigeria speak a native language like Hausa at home.
[ -0.17760363221168518, -0.6611626744270325, 0.32524189352989197, -0.16463260352611542, -0.4698939025402069, 0.14754842221736908, 0.08077767491340637, -0.2535835802555084, 0.3832978904247284, 0.800780177116394, -0.861589789390564, -0.18871308863162994, -0.6595047116279602, 0.3149438798427582, -0.39113128185272217, 1.1912624835968018, 0.017937572672963142, 0.005111756268888712, 0.12127416580915451, -0.05495670065283775, 0.02452615089714527, -0.31539878249168396, -0.5656118392944336, -0.0802030861377716, 0.6368846297264099, 0.2555676996707916, 1.0734854936599731, 0.5381330251693726, 0.27615079283714294, 0.19621415436267853, -0.17587338387966156, -0.0506773442029953, -0.715020477771759, 0.060598842799663544, -0.592879056930542, -0.497486412525177, -0.053804051131010056, -0.1297265589237213, 0.21162855625152588, 0.49875879287719727, -0.0934615358710289, 0.13922643661499023, -0.30991625785827637, 0.44324058294296265, -0.6039177179336548, -0.025810830295085907, -0.6402873992919922, 0.3691549003124237, -0.26824888586997986, -0.1116052120923996, -0.10685151815414429, -0.22437122464179993, 0.0113935312256217, -0.7452467679977417, 0.13467222452163696, -0.1738206446170807, 1.1440913677215576, 0.20153562724590302, -0.6057643890380859, -0.3223184645175934, -0.5326618552207947, 0.9312714338302612, -0.6643829345703125, 0.45205357670783997, 0.5308259725570679, 0.3755289912223816, -0.2498467117547989, -0.5955221652984619, -0.5049511194229126, -0.29745569825172424, 0.09062104672193527, 0.09952513873577118, -0.050140079110860825, -0.09916988760232925, -0.08121594041585922, 0.6290950775146484, -0.46955960988998413, 0.19898124039173126, -0.6645065546035767, -0.3901996910572052, 0.9315604567527771, -0.08272001147270203, 0.6562096476554871, -0.3397989571094513, -0.34010154008865356, 0.1428341120481491, -0.5187389850616455, -0.12083066254854202, 0.30377572774887085, 0.5650345683097839, -0.18128995597362518, 0.4673895537853241, -0.06399457156658173, 0.37555408477783203, -0.14578789472579956, -0.5633359551429749, -0.15320587158203125, -0.3967210650444031, -0.1857985407114029, 0.36670756340026855, 0.7659503817558289, 0.517564594745636, 0.4190157651901245, -0.24632547795772552, 0.2447064369916916, 0.2655031085014343, 0.010486416518688202, -0.9796346426010132, -0.08345256000757217, 0.26307445764541626, -0.436977744102478, -0.37265607714653015, -0.8879035711288452, -0.8495989441871643, -0.5342675447463989, 0.355028361082077, 0.8714839220046997, -0.4413354992866516, -0.4922834634780884, -0.17406189441680908, -0.15395116806030273, 0.17816388607025146, 0.01792292855679989, -1.0570076704025269, 0.05898745730519295, 0.1827363818883896, 0.46081408858299255, 0.23824550211429596, -0.09507708996534348, -0.5182529091835022, 0.2757416367530823, -0.3819081783294678, 0.7425224781036377, -0.3956841230392456, -0.699600100517273, 0.01188016589730978, -0.05810276418924332, -0.12955453991889954, -0.41770613193511963, 0.6752827167510986, -0.31403425335884094, 0.3497379720211029, -0.0089828846976161, -0.01742864027619362, -0.3512125015258789, 0.12232174724340439, -0.4741772711277008, 0.21885329484939575, 0.16917337477207184, -0.319491982460022, 0.24496546387672424, -0.3328649699687958, -0.7953822612762451, -0.10131919384002686, -0.02957012690603733, -0.09054338932037354, 0.019233791157603264, 0.44170552492141724, 0.1309565305709839, -0.37936702370643616, 0.39360761642456055, 0.00557589391246438, -0.4159885346889496, 0.24531376361846924, -0.32037171721458435, 0.8964052200317383, 0.6134060025215149, -0.27899426221847534, -0.21238861978054047, -0.5094917416572571, -0.2361178994178772, -0.10562360286712646, -0.08581625670194626, -0.07078728079795837, 0.3211400508880615, 0.1090308204293251, 0.33163976669311523, 0.1410405933856964, -0.5295200347900391, -0.42939677834510803, -0.2884695827960968, 0.5317891836166382, 0.5148612856864929, 0.193124920129776, 0.33815309405326843, -0.2618657648563385, 0.5607513785362244, -0.07091221213340759, 0.28060558438301086, -0.14508698880672455, -0.2753051817417145, -0.7674477100372314, -0.009805181063711643, 0.054162267595529556, 0.7920372486114502, -0.5164201259613037, -0.23315799236297607, -0.09320785105228424, -0.4047171473503113, -0.33703625202178955, 0.1727503091096878, 0.04538022354245186, 0.5218432545661926, 0.4600927531719208, -0.29332754015922546, -0.657256543636322, -0.8420349955558777, -0.59791100025177, -0.42198511958122253, 0.05278098210692406, 0.3995070159435272, 0.30460789799690247, -0.10432206094264984, 0.35414353013038635, -0.044436994940042496, -0.7656197547912598, -0.3933647572994232, -0.43312710523605347, 0.5915156006813049, -0.06188177689909935, 0.1207929477095604, -0.8276164531707764, -0.7417938709259033, 0.3142947554588318, -1.0601234436035156, 0.14865343272686005, 0.053077418357133865, -0.012956717982888222, -0.08610490709543228, 0.7347844243049622, -0.012745237909257412, 0.18443578481674194, 0.41303789615631104, -0.11065855622291565, 0.18986466526985168, 0.18780702352523804, 0.16082094609737396, -1.1445417404174805, -0.4689016342163086, -0.1565193384885788, -0.06714704632759094, -0.37308576703071594, 0.2972559928894043, -0.4585331082344055, -0.6997149586677551, -0.5543859004974365, 0.4282471239566803, -0.309378981590271, 0.41753873229026794, 0.10485871881246567, 0.4820546805858612, 0.09758530557155609, 0.2697484791278839, 0.3311901092529297, 0.7491265535354614, 0.77690589427948, -0.7667237520217896, 0.5563666820526123, 0.4116153419017792, -0.10836613923311234, 1.0065888166427612, -0.18965347111225128, -0.3632839024066925, -0.39927372336387634, 0.0092310206964612, -1.0712414979934692, -0.5172052383422852, -0.12260246276855469, -0.3799458146095276, 0.34218114614486694, -0.14165158569812775, 0.16487804055213928, -0.15666694939136505, 0.0214978139847517, -0.32226285338401794, 0.5324476361274719, -0.4209243953227997, 0.4272412955760956, 0.6798712015151978, -0.38507556915283203, -0.6867727041244507, -0.6371707320213318, 0.24846985936164856, -0.5297352075576782, -0.5354642271995544, 0.17697270214557648, 0.35018235445022583, -0.1807417869567871, -0.06071922555565834, -0.33020350337028503, -0.7254688143730164, -0.12042458355426788, 0.19717934727668762, 0.018731139600276947, -0.5423632264137268, -0.07240096479654312, 0.20432884991168976, 0.39520734548568726, 0.07402023673057556, 0.12948091328144073, 0.004901583306491375, 0.36207839846611023, 0.5885395407676697, -0.39183589816093445, 0.7737913131713867, 0.6111868619918823, -0.32075902819633484, 0.5495228171348572, 0.5599356889724731, -0.19029197096824646, -0.1480685919523239, -0.08281360566616058, -0.16855673491954803, -0.4956132471561432, 0.6730242371559143, -0.37943655252456665, -0.6517854928970337, 0.23435178399085999, -0.029203932732343674, -0.1577812135219574, 0.3478164076805115, 0.10662885010242462, -0.4482245445251465, 0.613134503364563, 0.6110242605209351, 0.037588607519865036, 0.10764607787132263, -0.2177814394235611, 0.5438231825828552, -0.548143208026886, -0.16441701352596283, -0.4455716609954834, -0.36178797483444214, -0.7952584624290466, -0.2517072558403015, 0.3617522418498993, 0.1627969741821289, -0.2269408255815506, 0.7025700211524963, -0.04554258659482002, 0.6590040922164917, -0.10259006917476654, 0.1333848088979721, 0.36085906624794006, 0.32467857003211975, -0.07108546048402786, -0.14178602397441864, -0.49249881505966187, -0.5930566787719727, 0.8169322609901428, 0.31702056527137756, 0.8092942833900452, 0.530224621295929, 0.8669379353523254, 0.04202466458082199, 0.5232157707214355, -0.6734535694122314, 0.810139536857605, -0.7884654998779297, -1.0870333909988403, -0.3655313551425934, 0.036313336342573166, -1.0630207061767578, 0.0039815036579966545, -0.07625744491815567, -0.8552970290184021, 0.3203083276748657, -0.18032366037368774, -0.528102457523346, 0.4941641092300415, -0.5340244770050049, 1.1546820402145386, -0.12212605029344559, -0.7819497585296631, -0.19579926133155823, -0.49245917797088623, 0.4488697350025177, 0.15155179798603058, 0.9467678070068359, -0.10316141694784164, -0.019801601767539978, 0.7316879034042358, -0.36385729908943176, 0.5603392124176025, 0.18609103560447693, -0.2975810170173645, 0.6284424662590027, 0.3119073808193207, 0.1009310781955719, 0.08826231211423874, -0.38628146052360535, 0.23622307181358337, -0.18994390964508057, -0.20966723561286926, -0.07518341392278671, 0.9615496397018433, -0.6648684740066528, -0.4046816825866699, -0.49856042861938477, -0.40709519386291504, -0.15145547688007355, 0.21369394659996033, 0.5787519812583923, 0.41841134428977966, -0.3325892388820648, 0.004125361330807209, 0.42998018860816956, -0.4003790616989136, 0.632936954498291, 0.38228839635849, -0.43050289154052734, -0.5036537647247314, 1.1426934003829956, 0.4063331186771393, 0.07848374545574188, 0.39454761147499084, -0.06216355040669441, -1.0358067750930786, -0.4543806314468384, -0.729097843170166, 0.3223619759082794, -0.5666810274124146, 0.21526913344860077, -0.45674940943717957, -0.1445014774799347, -0.34962642192840576, -0.10157398879528046, -0.18903405964374542, -0.22001883387565613, -0.12424777448177338, -0.3423617482185364, 0.32860511541366577, 0.6386930346488953, -0.1750154197216034, 0.45981651544570923, -0.9062052369117737, 0.5751476287841797, 0.7474502325057983, 0.3767267167568207, -0.42862409353256226, -0.8839632272720337, -0.1346212923526764, -0.09535947442054749, -0.7065591216087341, -1.1678478717803955, 0.43429237604141235, 0.6365972757339478, 0.4418618381023407, 0.16500887274742126, 0.0951758623123169, 0.7442390322685242, -0.3305656611919403, 1.045765995979309, -0.11371481418609619, -0.5911023020744324, 0.7541701793670654, -0.6546705961227417, -0.23791219294071198, 0.712791919708252, 0.9301270246505737, -0.5246184468269348, -0.26961350440979004, -0.6051790118217468, -0.7852562069892883, 0.6647869944572449, 0.39263594150543213, 0.6474825143814087, -0.227489173412323, -0.24398526549339294, -0.08289634436368942, 0.36044299602508545, -0.8100505471229553, -0.2960484027862549, -0.22437836229801178, 0.2591323256492615, -0.39606136083602905, -0.08981315046548843, 0.29915156960487366, 0.11473021656274796, 0.6919942498207092, 0.5078979134559631, -0.008773598819971085, 0.27611127495765686, -0.2190292626619339, -0.421217679977417, 0.7378804683685303, 0.08347400277853012, 0.31100302934646606, -0.5991614460945129, -0.09712587296962738, -0.07902298867702484, -0.7017428278923035, 0.36572152376174927, -0.16516321897506714, -0.37190917134284973, 0.3875074088573456, 0.10704071819782257, 0.7946315407752991, 0.08483874052762985, -0.7894442081451416, 0.037518471479415894, 0.3018970489501953, -0.015137786976993084, -0.4036817252635956, 0.19672083854675293, 0.06707581132650375, -0.12036426365375519, 0.3691563904285431, -0.12881003320217133, 0.30021756887435913, -1.3310638666152954, 0.31433144211769104, 0.3520122766494751, -0.6804145574569702, 0.15524056553840637, 1.084312915802002, 0.685032069683075, -0.5741604566574097, 0.5592519044876099, -0.17799696326255798, -0.42818838357925415, 0.5615261197090149, 0.7582201361656189, 0.6715086102485657, -0.7030377984046936, 0.5491422414779663, 0.8854307532310486, 0.41470569372177124, 0.2892659604549408, 0.3498072326183319, -0.046811945736408234, -0.7001141309738159, -0.7732759118080139, -0.921308159828186, -0.36147019267082214, 0.48300328850746155, -0.6100740432739258, 0.3229885995388031, -0.6320253610610962, 0.06781356036663055, 0.014636318199336529, -0.2875153720378876, 0.07760394364595413, 0.5932781100273132, 0.49820274114608765, 0.7813534140586853, -1.055580973625183, 0.6633260846138, 0.544876217842102, -0.38144436478614807, -0.9997530579566956, -0.032403331249952316, -0.20243680477142334, -0.3972024619579315, 0.5738331079483032, 0.443661093711853, 0.19048331677913666, 0.3793306350708008, -0.14549845457077026, -0.7427526712417603, 0.47788599133491516, 0.07115083932876587, -0.26213374733924866, 0.03984843194484711, -0.035477422177791595, 0.5094189643859863, -0.18911002576351166, 0.23956052958965302, 0.8094521760940552, 0.30149415135383606, 0.05256215110421181, -1.2552927732467651, -0.37069153785705566, -0.2917552888393402, -0.24543529748916626, 0.3726341724395752, -0.5361658334732056, 0.7708302736282349, -0.5706674456596375, -0.2824268937110901, 0.151549831032753, 0.6912757754325867, 0.0141331497579813, 0.39518970251083374, 0.1960814744234085, 0.23902484774589539, 0.45468848943710327, 0.04349039867520332, 1.2085368633270264, 0.2960110008716583, 0.17235051095485687, 1.0479161739349365, -0.351659893989563, 1.049921989440918, 0.5777828097343445, -0.7156548500061035, 1.1342848539352417, 0.7065269351005554, 0.4595371186733246, 0.5571468472480774, 0.23195865750312805, -0.5331733822822571, -0.4224175214767456, -0.7020489573478699, -0.3125738799571991, 0.6252598166465759, 0.6667640805244446, -0.29710087180137634, -0.6412762999534607, -0.02472277171909809, -0.09745313227176666, 0.7327797412872314, -0.7886853218078613, 0.451876699924469, 0.2516002357006073, -0.5788112282752991, 1.0940951108932495, -0.2958550751209259, 0.7392550110816956, -0.700366735458374, -0.007747315801680088, -0.4141431450843811, -0.2279462218284607, -0.2806754410266876, -0.44957613945007324, 0.6089613437652588, 0.009466338902711868, -0.032991401851177216, 0.03156578540802002, 0.3229137659072876, -0.6313846707344055, -0.3480760455131531, 0.23156031966209412, -0.13221199810504913, 0.8632566928863525, -0.04261314496397972, -0.6194815039634705, -0.21015119552612305, 0.3466346561908722, 0.20301134884357452, 0.22488421201705933, -0.05491152033209801, -0.1737070530653, 0.3222518861293793, 0.49376335740089417, 0.08188098669052124, 0.22446782886981964, -0.30655208230018616, 0.018928220495581627, -0.5200433731079102, -0.4342038631439209, -0.8368762135505676, 0.5307685136795044, -0.061367593705654144, -0.14213082194328308, 0.692375659942627, 0.49921292066574097, 0.8007232546806335, -0.479305624961853, 0.6931635737419128, -0.338670939207077, 0.45965293049812317, -0.4136178195476532, 0.8267069458961487, -0.762222170829773, 0.06448006629943848, -0.16312600672245026, -1.1725513935089111, -0.13611148297786713, 0.9367009997367859, -0.13978666067123413, -0.23728172481060028, 0.7688154578208923, 1.0130647420883179, -0.038273271173238754, -0.05552723631262779, 0.48914313316345215, 0.6877546906471252, -0.19569851458072662, 0.7798118591308594, 0.7543072700500488, -0.9506598114967346, 0.8393315076828003, -0.45152905583381653, -0.06918758898973465, -0.10644516348838806, -1.0114264488220215, -0.5931324362754822, -0.16691796481609344, -0.5063866972923279, -0.6161722540855408, -0.10650821775197983, 0.37135428190231323, 0.4175770878791809, -0.8485133051872253, -0.562315821647644, 0.04380994662642479, 0.48868075013160706, -0.02832075208425522, -0.1846800148487091, 0.1308242827653885, 0.22000154852867126, -1.0626646280288696, 0.9862725138664246, 0.4195537865161896, 0.04117178916931152, -0.20091655850410461, 0.07266030460596085, -0.29691821336746216, 0.3720795214176178, 0.5885777473449707, 0.6003909707069397, -0.8011434674263, 0.022366462275385857, 0.0015882222214713693, -0.07570599019527435, -0.43763381242752075, 0.07965783774852753, -0.5600388050079346, 0.4201682507991791, 0.3278212249279022, -0.04344721883535385, 0.34358784556388855, -0.35591211915016174, 0.685844361782074, -0.5263251662254333, 0.3167339861392975, -0.05466516315937042, 0.05621540918946266, 0.46608227491378784, -0.6366739869117737, 0.5545384287834167, 0.1857682317495346, -0.3812847435474396, -1.0222511291503906, 0.4241929054260254, -0.9950495362281799, -0.06539317220449448, 0.8712331652641296, 0.10821940749883652, -0.615067720413208, -0.44835999608039856, -0.286185085773468, 0.11824852973222733, -0.08117999136447906, 0.4019250273704529, 0.573843240737915, -0.07304300367832184, -0.22979332506656647, -0.670497477054596, 0.49447527527809143, 0.4012891948223114, -0.26108771562576294, -0.28270596265792847, 0.21657592058181763, 0.6852885484695435, 0.5367376208305359, 0.7231449484825134, -0.48948368430137634, 0.387600839138031, 0.08703289926052094, -0.14376826584339142, 0.3003787398338318, -0.20555712282657623, -0.05339367315173149, -0.023186270147562027, 0.14798778295516968, -0.301042377948761 ]
http://arxiv.org/abs/2407.02623v1
http://arxiv.org/pdf/2407.02623v1
Uplifting Lower-Income Data: Strategies for Socioeconomic Perspective Shifts in Vision-Language Models
2024-07-02T19:27:00
2024-07-02T19:27:00
Joan Nwatu, Oana Ignat, Rada Mihalcea
cs.CY
cs.CY, cs.AI, cs.CL, cs.CV, K.4; I.2.7; I.2.8
To address this issue, we formulate translated non-English, geographic, and socioeconomic integrated prompts and evaluate their impact on VL model performance for data from different countries and income groups. Our findings show that geographic and socioeconomic integrated prompts improve VL performance on lower-income data and favor the retrieval of topic appearances commonly found in data from low-income households. From our analyses, we identify and highlight contexts where these strategies yield the most improvements. Our model analysis code is publicly available at https://github.com/Anniejoan/Uplifting-Lower-income-data .
[ -0.05614319443702698, -0.5253459811210632, 0.7090954780578613, 0.27302980422973633, -0.3127005100250244, 0.3759523630142212, -0.23419202864170074, -0.56748366355896, 0.29966989159584045, 0.5613194704055786, -0.4523666799068451, -0.5695299506187439, -0.577707052230835, -0.004108660854399204, -0.3301226794719696, 0.962734043598175, 0.2844749093055725, 0.2750674784183502, -0.43571633100509644, 0.164850652217865, -0.4368906617164612, -0.3800545036792755, -0.4932246208190918, -0.13291829824447632, 0.3991798758506775, 0.8409368395805359, 0.7570852041244507, 0.5266880393028259, 0.5046544075012207, 0.1372469961643219, -0.11469493806362152, -0.05651332065463066, -0.551288902759552, -0.35255739092826843, -0.03159147500991821, -0.4896010160446167, -0.24612323939800262, -0.2744576036930084, 0.35639092326164246, 0.8975674510002136, -0.1425284445285797, 0.6377021074295044, 0.3730820119380951, 1.0295190811157227, -0.7687861323356628, 0.3317621946334839, -0.48812001943588257, -0.10481714457273483, -0.4202253818511963, -0.09743744134902954, -0.2788753807544708, -0.549278736114502, 0.21791647374629974, -0.08901793509721756, 0.2693707346916199, -0.16572359204292297, 0.7968887090682983, 0.22091908752918243, -0.46009573340415955, 0.01731015555560589, -0.8521798253059387, 0.8035293221473694, -0.5584346652030945, 0.3914810121059418, 0.2328358143568039, 0.1831367462873459, 0.28481894731521606, -0.5682728290557861, -0.06442352384328842, -0.0985880196094513, -0.0744672417640686, 0.3363683521747589, -0.24278177320957184, -0.334258496761322, 0.23593294620513916, 0.35971763730049133, -0.16528962552547455, -0.0027433892246335745, -0.9126423597335815, 0.1442551165819168, 0.6443308591842651, 0.33696475625038147, 0.14129985868930817, -0.6319512724876404, -0.27043506503105164, -0.1766837239265442, -1.055578351020813, 0.6350420117378235, 0.44338274002075195, 0.7555571794509888, -0.74882572889328, 0.7362555861473083, -0.5810673832893372, 0.6223801374435425, -0.19443146884441376, -0.12154503911733627, 0.4502872824668884, -0.6371305584907532, -0.018924133852124214, 0.15535376965999603, -0.09613301604986191, 0.930988609790802, 0.23322398960590363, 0.3150225877761841, -0.29301929473876953, 0.12434309720993042, 0.07134175300598145, -0.41271430253982544, -0.21088363230228424, -0.2231324017047882, -0.8713834285736084, -0.5477892160415649, -0.22881488502025604, -1.2212415933609009, -0.7005171775817871, -0.778482973575592, -0.03336874023079872, 0.0005379964713938534, -0.06959912180900574, 0.12734979391098022, -0.16250821948051453, 0.3383523225784302, 0.7000696063041687, -0.8545774817466736, 0.1978965550661087, 0.49478980898857117, 0.961544930934906, 0.07629240304231644, 0.2737620770931244, -0.3472194969654083, -0.35975730419158936, -0.2013566792011261, 0.8943873047828674, -0.7926406860351562, -0.4254343807697296, 0.27203309535980225, -0.0476556122303009, -0.08439822494983673, -0.5006683468818665, 0.2907009422779083, -0.2178235948085785, 0.359212726354599, -0.8661909699440002, 0.16390833258628845, 0.18465642631053925, 0.11248870193958282, -0.4770154654979706, 1.3173134326934814, 0.3423217236995697, -0.7730455994606018, 0.4557814598083496, -0.6816748976707458, -0.3576487898826599, 0.026782339438796043, -0.1763966828584671, -0.01138997171074152, 0.6040856242179871, 0.49656692147254944, 0.08999965339899063, -0.5030185580253601, 0.22345851361751556, -0.17061765491962433, -0.0689028948545456, -0.14657430350780487, -0.6621652245521545, 1.0154474973678589, 0.31373298168182373, -0.2387484312057495, 0.1240275576710701, -0.8942952156066895, -0.28357383608818054, 0.17169058322906494, -0.2872309386730194, -0.7424044013023376, 0.27445462346076965, 0.18876376748085022, 0.11047595739364624, 0.5136191248893738, -0.45923787355422974, 0.3338090777397156, -0.5351792573928833, 0.3204907476902008, 0.7090649008750916, -0.08249283581972122, 0.312860906124115, -0.09142616391181946, 0.6550981402397156, 0.2211250513792038, 0.5242353081703186, 0.22184090316295624, -0.5862472653388977, -0.6504737734794617, -0.03933185338973999, 0.32933732867240906, 0.7487193942070007, -1.0756293535232544, -0.5094921588897705, -0.2976509928703308, -0.28506526350975037, -0.762466549873352, 0.059154070913791656, 0.21823172271251678, 1.0423308610916138, 0.5960935354232788, -0.08751087635755539, -0.7813145518302917, -1.0249305963516235, -0.12991352379322052, -0.17328204214572906, 0.200668066740036, 0.3559979796409607, 0.4332182705402374, 0.032382700592279434, 0.788124144077301, -0.6309105157852173, 0.039841074496507645, -0.5087646842002869, -0.10970715433359146, 0.35234707593917847, 0.20750096440315247, 0.7834833264350891, -0.9781168699264526, -0.6712538003921509, -0.1339719444513321, -0.37789711356163025, -0.40822353959083557, 0.20785856246948242, -0.16446657478809357, 0.1648525893688202, 0.29402557015419006, -0.2562093734741211, 0.9797961115837097, 0.426400363445282, -0.45723360776901245, 0.3096250891685486, -0.1748127043247223, 0.24656842648983002, -1.2675520181655884, -0.5055171251296997, 0.31155428290367126, -0.1653449386358261, -0.41754740476608276, -0.2747208774089813, 0.002620283281430602, -0.1758381426334381, -0.5797197818756104, 0.3489806652069092, -0.3565635085105896, -0.38260549306869507, 0.16909240186214447, 0.1361663043498993, -0.11202739924192429, -0.09377752989530563, 0.3039337694644928, 0.826504647731781, 0.6864297986030579, -0.28287026286125183, 0.22860126197338104, 0.06967595219612122, -0.4940880537033081, 0.6833924651145935, -0.7442639470100403, -0.30999550223350525, -0.43193313479423523, -0.34523335099220276, -1.0240424871444702, -0.24670462310314178, 0.3473532497882843, -0.24243628978729248, -0.0007145762792788446, -0.15599699318408966, -0.3143535256385803, -0.3050347864627838, -0.35988733172416687, 0.23576273024082184, 0.671784520149231, -0.6393250823020935, 0.06533282995223999, 0.4581694006919861, -0.3276868760585785, -0.49732598662376404, -0.5274940133094788, 0.17479272186756134, -0.7489850521087646, -0.3566683530807495, 0.2746775448322296, 0.04980376735329628, -0.7082194685935974, 0.260944664478302, 0.3249143362045288, 0.24897150695323944, 0.20877902209758759, -0.3026043474674225, 0.5347244739532471, -0.4014122784137726, 0.028151942417025566, -0.03975735977292061, -0.030185706913471222, -0.013587853871285915, -0.32925930619239807, 0.4579790234565735, -0.11875218152999878, -0.04022790491580963, -0.0317571647465229, 0.41718733310699463, 0.2866939902305603, -0.30741605162620544, 0.7503826022148132, 0.03912211209535599, -0.44888731837272644, 0.197065070271492, -0.13287730515003204, 0.05518559366464615, -0.4390104115009308, 0.25310948491096497, -0.15580710768699646, -0.5832420587539673, 0.4663121700286865, -0.07554079592227936, -0.34945330023765564, 0.1540069431066513, 0.68454909324646, -0.04104870557785034, 1.3460930585861206, 1.0605722665786743, -0.18412165343761444, 0.6823449730873108, -0.10204929113388062, 0.27664297819137573, -0.6952651143074036, -0.16328175365924835, -0.6428619027137756, -0.32901686429977417, -0.544806957244873, -0.46996039152145386, 0.5745407342910767, 0.11530783027410507, 0.017275139689445496, 0.14145304262638092, -0.5032303333282471, 0.5263535976409912, 0.47224652767181396, 0.1644088476896286, 0.3401147723197937, 0.2685277462005615, 0.10335046052932739, -0.48714590072631836, -0.5080814361572266, -0.5188518166542053, 1.108318567276001, 0.18091656267642975, 0.8148225545883179, 0.35795822739601135, 0.8802608847618103, 0.5055232644081116, 0.41216519474983215, -0.6719654202461243, 0.3868118226528168, -0.308436781167984, -0.2226981520652771, -0.237484872341156, -0.246606707572937, -0.8596285581588745, 0.19255372881889343, -0.23583465814590454, -1.1834337711334229, 0.8183949589729309, 0.1542552262544632, -0.3673693835735321, -0.020678682252764702, -0.6695688962936401, 0.7228366732597351, -0.3482491075992584, -0.3335341513156891, -0.12667782604694366, -0.45278695225715637, 0.2518351376056671, 0.1268625557422638, 0.5782053470611572, -0.1065434142947197, 0.12668871879577637, 0.0912710577249527, -0.3578636646270752, 1.1261286735534668, -0.5175512433052063, -0.19418253004550934, 0.005101695656776428, -0.511871874332428, 0.26519590616226196, 0.2957063615322113, -0.1414666771888733, 0.10588011890649796, -0.09171606600284576, -0.5113525986671448, -0.498524010181427, 0.4220544695854187, -0.7776050567626953, -0.6500363349914551, -0.11100000888109207, -0.4984948933124542, -0.128863126039505, 0.04649227112531662, 0.40634483098983765, 0.7469542622566223, 0.050909433513879776, 0.6128970384597778, 0.4469165802001953, -0.20722423493862152, 0.31618571281433105, 0.39887288212776184, -0.3842395842075348, -0.3440547287464142, 0.6634425520896912, 0.4413338899612427, 0.2923014760017395, 0.3041010797023773, 0.299623042345047, -0.4278857111930847, -0.3618369698524475, -0.5903301239013672, 0.0014416860649362206, -0.8514716029167175, -0.12688380479812622, -0.27006348967552185, 0.14019057154655457, -0.8958010673522949, -0.28614935278892517, -0.39202195405960083, -0.36143848299980164, -0.18916696310043335, -0.33020976185798645, 0.27655476331710815, 0.5934113264083862, -0.37273257970809937, 0.17128022015094757, -0.538716197013855, 0.2605021893978119, -0.11213883012533188, -0.16625948250293732, -0.10112922638654709, -0.4366668462753296, -0.6679065823554993, 0.15694062411785126, 0.028254671022295952, -0.9678025841712952, 0.6798662543296814, -0.10594511777162552, 0.28618523478507996, 0.05642738938331604, 0.3867439925670624, 1.0912225246429443, -0.30137646198272705, 0.804165244102478, 0.1061815470457077, -0.9388120174407959, 0.997374951839447, -0.25524911284446716, 0.30123865604400635, 0.7468829154968262, 0.37911659479141235, -0.43201711773872375, -0.2406677007675171, -0.34792765974998474, -1.2351362705230713, 0.600381076335907, -0.11530119925737381, 0.2706449031829834, 0.1524718999862671, 0.361518532037735, -0.048796653747558594, 0.5318195223808289, -0.9279127717018127, -0.3244010806083679, -0.2512708902359009, -0.4200713634490967, -0.13720153272151947, -0.260246217250824, -0.1313842236995697, -0.6457138061523438, 0.2869519591331482, -0.2835363745689392, -0.03210955485701561, 0.40812942385673523, -0.00496014766395092, -0.12060534954071045, 0.27489200234413147, 0.42268937826156616, 0.7452632784843445, -0.0369478203356266, 0.08055353909730911, 0.058945026248693466, -0.22964158654212952, -0.08093791455030441, 0.15177646279335022, -0.6632484197616577, -0.22076907753944397, 0.40679141879081726, 1.0153454542160034, 0.5491869449615479, -0.3392553925514221, 0.285602331161499, -0.3440632224082947, 0.052582111209630966, -0.5039129853248596, 0.011500993743538857, -0.09825490415096283, 0.49347496032714844, 0.2665918469429016, 0.12869279086589813, 0.3049963712692261, -0.829980194568634, -0.24273602664470673, 0.15807171165943146, -0.5890823006629944, -0.3557397723197937, 0.7811338305473328, 0.09996052831411362, -0.30086663365364075, 0.6552445292472839, 0.11222459375858307, -0.273637980222702, 0.5906176567077637, 0.5646381974220276, 0.6368523836135864, 0.062382567673921585, 0.694225013256073, 0.0790131539106369, 0.48996472358703613, 0.01804160326719284, 0.6593318581581116, -0.2645033895969391, -0.8992578983306885, -0.1997600644826889, -0.5618920922279358, -0.3610909879207611, -0.09822067618370056, -1.1211349964141846, 0.5673161745071411, -0.027601465582847595, -0.037645526230335236, -0.03906082734465599, -0.07840621471405029, -0.849867045879364, 0.2593097984790802, 0.4764973223209381, 0.8371964693069458, -1.1806449890136719, 0.9149451851844788, 1.1061732769012451, -0.5894403457641602, -0.6473230719566345, 0.2023666501045227, 0.2407810389995575, -0.8460181951522827, 1.0223321914672852, 0.02202652581036091, -0.2081519514322281, 0.19126053154468536, -0.7650619745254517, -1.159698724746704, 0.933086633682251, 0.46535366773605347, -0.3418527841567993, -0.11210507154464722, 0.4690135419368744, 0.7731682062149048, -0.7329961657524109, -0.024547580629587173, 0.560515284538269, 0.5533409118652344, -0.16194657981395721, -0.6211930513381958, -0.28873708844184875, -0.3775072693824768, 0.34505900740623474, -0.10969142615795135, -0.7618693709373474, 1.0767621994018555, -0.40243005752563477, -0.24989500641822815, -0.10556978732347488, 0.6055803298950195, 0.13578824698925018, 0.7102998495101929, 0.4775826930999756, 0.39207178354263306, 0.7497082948684692, -0.13847804069519043, 1.3938206434249878, -0.49066483974456787, 0.4894569218158722, 0.8179736733436584, -0.5224557518959045, 0.7407227158546448, 0.4343448579311371, -0.1658707559108734, 0.6848639249801636, 0.8486638069152832, 0.0051404014229774475, 0.9679338932037354, -0.10676490515470505, -0.03562060743570328, -0.3305540382862091, -0.35347139835357666, -0.4693726599216461, 0.670380175113678, 0.28513476252555847, -0.268708735704422, -0.35602694749832153, 0.1737343668937683, -0.23080217838287354, 0.22721818089485168, -0.5382611155509949, 0.6031572818756104, 0.09054172039031982, -0.32460203766822815, 0.3528118133544922, -0.2755202054977417, 0.4292117953300476, -0.16583868861198425, -0.22772619128227234, -0.47649458050727844, 0.27371057868003845, -0.24639226496219635, -0.5374327898025513, 0.5667129755020142, 0.1797916144132614, -0.5783736705780029, -0.376167356967926, 0.9698412418365479, -0.29629001021385193, -0.8658510446548462, 0.5745140314102173, 0.815096378326416, -0.021369654685258865, 0.32563403248786926, -0.9139040112495422, -0.0556517168879509, 0.22537203133106232, -0.28668212890625, 0.4506125748157501, 0.539372980594635, -0.3407438397407532, 0.36198607087135315, 0.6216852068901062, 0.34204980731010437, -0.09107145667076111, 0.4761621952056885, 0.7412241101264954, -0.7919731140136719, -0.49624454975128174, -0.7794211506843567, 0.8892272114753723, -0.3336833119392395, -0.3336769640445709, 1.0796897411346436, 0.59027498960495, 1.0927201509475708, -0.24053631722927094, 0.7407023310661316, -0.16393426060676575, 0.589333713054657, -0.6508122682571411, 0.3853355348110199, -0.9803768992424011, 0.47303056716918945, -0.35076019167900085, -0.7563239932060242, -0.08983822166919708, 0.4858401119709015, -0.6925128102302551, -0.15141725540161133, 0.2697775065898895, 0.5959334373474121, 0.22407042980194092, -0.1452113538980484, 0.36853739619255066, 0.059099242091178894, 0.1464107632637024, 0.160969078540802, 1.0536768436431885, -0.10816331207752228, 0.16709010303020477, -0.5962319374084473, -0.20644187927246094, -0.19087094068527222, -0.9378252625465393, -0.5233741998672485, -0.29494816064834595, -0.4873998165130615, -0.2944168150424957, 0.03215031325817108, 0.7665417790412903, 0.5721137523651123, -0.7147857546806335, -0.31284061074256897, 0.08651362359523773, 0.39924874901771545, -0.1937718242406845, -0.3897742033004761, 0.2148677259683609, -0.15675587952136993, -0.9116358160972595, 0.4644398093223572, 0.5076379179954529, -0.30224889516830444, -0.3710813820362091, 0.26058289408683777, 0.05725250393152237, 0.010765145532786846, 0.8619491457939148, 0.08176161348819733, -0.44460558891296387, -0.48509833216667175, 0.092849001288414, 0.00669097900390625, 0.24532796442508698, 0.8042904138565063, -0.7774712443351746, 0.15986670553684235, 0.6292681097984314, 0.3900681436061859, 0.10153142362833023, 0.36497434973716736, 0.5139648914337158, -0.8260869383811951, 0.23743338882923126, -0.19786618649959564, 0.5439087152481079, 0.4166173040866852, -0.8496013283729553, 0.6940549612045288, 0.5667263865470886, -0.3798753023147583, -1.0409542322158813, 0.3038604259490967, -0.49648451805114746, -0.042550187557935715, 0.8594617247581482, 0.06713996827602386, -0.41595137119293213, -0.1368936002254486, -0.23234812915325165, -0.000985680497251451, -0.3755347430706024, 1.0640017986297607, 0.617136538028717, -0.385413259267807, -0.6143024563789368, -0.8802706599235535, 0.2539675235748291, 0.2976358234882355, -0.8190228343009949, 0.085445336997509, 0.822514533996582, -0.04620027914643288, 0.059932734817266464, 0.7488256096839905, -0.37657108902931213, 0.014517990872263908, -0.1616067886352539, -0.12322152405977249, 0.4368654191493988, -0.5252623558044434, -0.4628916382789612, -0.01162409596145153, -0.02592267282307148, 0.16904693841934204 ]
http://arxiv.org/abs/2407.02604v1
http://arxiv.org/pdf/2407.02604v1
D-Rax: Domain-specific Radiologic assistant leveraging multi-modal data and eXpert model predictions
2024-07-02T18:43:10
2024-07-02T18:43:10
Hareem Nisar, Syed Muhammad Anwar, Zhifan Jiang, Abhijeet Parida, Vishwesh Nath, Holger R. Roth, Marius George Linguraru
cs.AI
cs.AI, cs.CL, cs.LG, eess.IV
Large vision language models (VLMs) have progressed incredibly from research to applicability for general-purpose use cases. LLaVA-Med, a pioneering large language and vision assistant for biomedicine, can perform multi-modal biomedical image and data analysis to provide a natural language interface for radiologists. While it is highly generalizable and works with multi-modal data, it is currently limited by well-known challenges that exist in the large language model space. Hallucinations and imprecision in responses can lead to misdiagnosis which currently hinder the clinical adaptability of VLMs. To create precise, user-friendly models in healthcare, we propose D-Rax -- a domain-specific, conversational, radiologic assistance tool that can be used to gain insights about a particular radiologic image. In this study, we enhance the conversational analysis of chest X-ray (CXR) images to support radiological reporting, offering comprehensive insights from medical imaging and aiding in the formulation of accurate diagnosis. D-Rax is achieved by fine-tuning the LLaVA-Med architecture on our curated enhanced instruction-following data, comprising of images, instructions, as well as disease diagnosis and demographic predictions derived from MIMIC-CXR imaging data, CXR-related visual question answer (VQA) pairs, and predictive outcomes from multiple expert AI models. We observe statistically significant improvement in responses when evaluated for both open and close-ended conversations. Leveraging the power of state-of-the-art diagnostic models combined with VLMs, D-Rax empowers clinicians to interact with medical images using natural language, which could potentially streamline their decision-making process, enhance diagnostic accuracy, and conserve their time.
[ -0.3514297604560852, -0.8188255429267883, 0.9477739930152893, -0.14039911329746246, -0.36939162015914917, 0.1715092957019806, 0.05246825888752937, -0.6784348487854004, 0.22534291446208954, 0.7122387886047363, -0.6231133937835693, -0.421379029750824, -0.7633841037750244, 0.19043686985969543, -0.17286093533039093, 0.4729812741279602, 0.2004692703485489, 0.16147096455097198, -0.49251696467399597, -0.025472493842244148, -0.8598619699478149, -0.2670982778072357, -0.6021140813827515, -0.3620118796825409, 0.6522446274757385, 0.31642261147499084, 1.2311698198318481, 0.6548078656196594, 0.7484864592552185, 0.28445032238960266, 0.2142879068851471, 0.41759803891181946, -0.17011718451976776, 0.3902188837528229, 0.02579069696366787, -0.12925668060779572, -0.8457797765731812, -0.5743771195411682, 0.272951602935791, 0.5777795910835266, -0.08690733462572098, -0.17747840285301208, -0.41160449385643005, 0.6751323938369751, -0.33265000581741333, 0.4210972785949707, -0.35100314021110535, -0.002863969886675477, 0.0420532189309597, -0.5701152682304382, -0.3013579547405243, -0.13953641057014465, 0.20669662952423096, -0.6703605651855469, -0.2808873653411865, 0.06186305731534958, 0.6675777435302734, 0.44887104630470276, -0.2942997217178345, -0.27940642833709717, -0.7477789521217346, 0.757140040397644, -0.4756108820438385, 0.48495882749557495, 0.522720217704773, 0.6917993426322937, -0.03618313744664192, -0.8315584063529968, -0.44236552715301514, -0.2190338373184204, -0.26030346751213074, 0.3268865942955017, -0.7214208245277405, 0.1663542240858078, 0.07268602401018143, 0.2951151132583618, -0.7015852928161621, 0.059119731187820435, -0.3127490282058716, 0.09429259598255157, 0.7098680734634399, 0.5876212120056152, 0.39274561405181885, -0.06782113760709763, -0.3658994138240814, -0.12452105432748795, -0.3894619941711426, -0.4937591552734375, -0.5390504002571106, 0.008479601703584194, -0.1616029441356659, 0.3489442765712738, -0.4085039496421814, 1.044325590133667, 0.0443265475332737, -0.43990030884742737, 0.30601975321769714, -0.037616703659296036, -0.4153320789337158, -0.1042647436261177, 0.5577347278594971, 0.31065264344215393, -0.03827987238764763, 0.07414877414703369, -0.15751926600933075, 0.18497084081172943, 0.20136402547359467, -0.5733616948127747, -0.18255794048309326, 0.2913111448287964, -0.6382653117179871, -0.4263063371181488, -0.38433897495269775, -0.6886893510818481, -0.5160788297653198, -0.613727331161499, 0.3653900623321533, -0.32570046186447144, -0.3319554626941681, 0.5719716548919678, 0.21584412455558777, -0.019531741738319397, 0.6459841132164001, -0.22354216873645782, 0.3686586320400238, 0.27306267619132996, 0.4747205078601837, -0.0013708247570320964, 0.14407874643802643, -0.5888425707817078, 0.10919822007417679, -0.1305842101573944, 0.8944625854492188, -1.0225317478179932, -0.5766507983207703, -0.14970092475414276, -0.09929309785366058, -0.10397031158208847, -0.474804162979126, 0.26452067494392395, -0.6341760158538818, -0.013940129429101944, -0.02856452204287052, -0.11610591411590576, -0.29058054089546204, 0.27776122093200684, -0.5286666750907898, 0.6853204369544983, 0.054803378880023956, -0.4485037326812744, 0.0990208238363266, -0.449677973985672, -0.18660542368888855, 0.3726983666419983, -0.6781352758407593, -0.3730315864086151, 0.09187078475952148, 0.5146770477294922, 0.5953857898712158, -0.6755076050758362, 0.23597458004951477, -0.16902019083499908, 0.04419676959514618, 0.575577437877655, -0.23351459205150604, 0.38671451807022095, 0.31001442670822144, -0.023030053824186325, 0.08622697740793228, -0.7549353241920471, 0.11956238001585007, 0.275199294090271, 0.1341518759727478, -0.4971684515476227, -0.19279912114143372, -0.08483705669641495, 0.25963854789733887, -0.0031549434643238783, -0.5321667790412903, 0.30827558040618896, -0.13544178009033203, -0.06581395864486694, 0.5392206311225891, 0.04875905439257622, 0.01567152328789234, -0.5533620119094849, 0.9271491169929504, -0.08767290413379669, 0.5313148498535156, -0.23955820500850677, -0.7352676391601562, -0.4907534122467041, -0.7140154838562012, 0.04577484726905823, 0.5669934749603271, -0.7683438658714294, -0.08487463742494583, -0.3776351809501648, -0.29671674966812134, -0.4986059069633484, -0.118171826004982, 0.469673216342926, 0.6340591907501221, 0.27581948041915894, -0.391287624835968, -0.5683943033218384, -1.0137572288513184, 0.47300076484680176, 0.07283583283424377, 0.21844297647476196, 0.7917834520339966, 0.11893775314092636, -0.5661787986755371, 0.6679216027259827, -0.8935068249702454, -0.6307146549224854, -0.34051746129989624, -0.07634385675191879, 0.1641358882188797, 0.023380976170301437, 0.5269441604614258, -0.8044260144233704, -0.5779969692230225, 0.5026600360870361, -1.0893170833587646, -0.06015770882368088, -0.12610943615436554, 0.042463600635528564, -0.0046756030060350895, 0.42697858810424805, -0.2335575371980667, 0.70380699634552, 0.5951083302497864, -0.09726579487323761, 0.24435189366340637, -0.5124849677085876, 0.41681668162345886, -0.9191539883613586, 0.00583049189299345, -0.16140834987163544, -0.2962941825389862, -0.638125479221344, -0.08259725570678711, -0.069271519780159, -0.19071032106876373, -0.17420825362205505, 0.5794780254364014, -0.5787546634674072, -0.08161082118749619, -0.35147032141685486, -0.026144398376345634, 0.14064665138721466, 0.13369068503379822, 0.5636775493621826, 0.5445356965065002, 0.9137153625488281, -0.4394078254699707, 0.27501609921455383, 0.6446837782859802, -0.18351443111896515, 0.5667190551757812, -0.6976688504219055, 0.5303868651390076, -0.11102502793073654, 0.13620968163013458, -0.7975085973739624, -0.18459481000900269, 0.10804831981658936, -0.5746527314186096, 0.4973568916320801, 0.0010216376977041364, -0.15751759707927704, -0.42926016449928284, 0.03572116419672966, 0.6337984204292297, 0.5296226739883423, -0.28203022480010986, 0.9142547249794006, 0.40404531359672546, -0.31856414675712585, -0.7031691074371338, -0.709926426410675, 0.5166784524917603, 0.14099368453025818, -0.7781371474266052, 0.2999960780143738, -0.28807079792022705, -0.5381796956062317, -0.08188869804143906, 0.23340868949890137, -0.46853798627853394, -0.2115190476179123, 0.411349892616272, 0.5810686349868774, -0.28241097927093506, 0.0967119112610817, -0.1180296242237091, -0.3055521845817566, -0.07689115405082703, 0.14155802130699158, 0.27806615829467773, -0.0814213752746582, -0.4244288206100464, -0.5213017463684082, 0.5156106948852539, 0.8215579986572266, -0.1948661506175995, 0.21525491774082184, 0.14788928627967834, -0.27452462911605835, 0.01995685324072838, -0.7020303606987, -0.2613864541053772, -0.41224610805511475, 0.4350426197052002, -0.45774391293525696, -0.6115920543670654, 0.377728134393692, 0.02102406695485115, -0.26908329129219055, -0.0623488649725914, 0.6980292797088623, 0.07575493305921555, 1.1663703918457031, 0.6406676769256592, 0.16085809469223022, 0.03208022192120552, -0.19842161238193512, 0.19879484176635742, -0.7427451610565186, -0.444345623254776, -0.2577049732208252, 0.07186245173215866, -0.09192267060279846, -0.6180776953697205, 0.8123457431793213, -0.8102629780769348, 0.3342974781990051, -0.20457111299037933, -0.6741729974746704, 0.19935478270053864, 0.12410145998001099, 0.39396876096725464, 0.47045207023620605, 0.1375914365053177, 0.31115883588790894, -0.17078007757663727, -0.7614874243736267, -0.19795691967010498, 1.134814739227295, 0.3070233166217804, 1.1260563135147095, -0.00458845729008317, 0.5574731230735779, 0.529050886631012, 0.016747282817959785, -0.9739580750465393, 0.49971872568130493, -0.21329843997955322, -0.3911234438419342, 0.17634472250938416, 0.0427960529923439, -1.0514488220214844, -0.07828572392463684, -0.34584465622901917, -0.3535796105861664, 0.41932210326194763, 0.16378797590732574, -0.6554505825042725, -0.008703263476490974, -0.2697852849960327, 0.506627082824707, -0.3846553564071655, -0.3655606210231781, -0.49004170298576355, -0.6095753908157349, 0.34371739625930786, -0.14562353491783142, 0.5161724090576172, 0.09464031457901001, -0.1330106109380722, 0.1634322851896286, -0.259825199842453, 1.0236413478851318, 0.08174009621143341, -0.02293567545711994, -0.04067440330982208, 0.29688993096351624, 0.13565964996814728, 0.10771726071834564, 0.1824377328157425, 0.27311259508132935, -0.0005426425486803055, -0.042033202946186066, -0.6767310500144958, 0.7212286591529846, -0.868693470954895, -0.5631182789802551, -0.5512682795524597, -0.7429285645484924, -0.3293682038784027, -0.0462329238653183, -0.1647655963897705, 0.9800184369087219, -0.10561549663543701, 0.05943906307220459, 0.8129989504814148, -0.5015929937362671, -0.1367352306842804, 0.7266910076141357, -0.3388601243495941, -0.4059293568134308, 0.750104546546936, -0.14810632169246674, 0.21652111411094666, 0.6389976739883423, 0.2913345396518707, -0.06835076957941055, -0.6640272736549377, -0.41775912046432495, 0.2680617570877075, -0.8099284172058105, -0.613365113735199, -0.768146812915802, -0.15795396268367767, -0.13674618303775787, -0.44317391514778137, -0.22882190346717834, -0.2779478430747986, -0.07045461237430573, 0.2536325454711914, 0.656637966632843, 0.9048575758934021, -0.17149624228477478, 0.12102555483579636, -0.8920997381210327, 0.31929752230644226, 0.39827972650527954, 0.07453794032335281, -0.22149497270584106, -0.4465152323246002, -0.15376317501068115, -0.20152965188026428, 0.10577227920293808, -0.7859691381454468, 0.5327947735786438, 0.2519614100456238, 0.5210394859313965, 0.17055436968803406, 0.0680343434214592, 0.5893221497535706, -0.1499125063419342, 0.4547695815563202, 0.31450212001800537, -0.5514557957649231, 0.771963894367218, -0.31116625666618347, 0.30034056305885315, 0.1575315296649933, 0.0034387141931802034, -0.3098704218864441, -0.3263359069824219, -0.3828440010547638, -0.6234298348426819, 0.49258747696876526, -0.0678124725818634, 0.006601420696824789, -0.22004781663417816, 0.4154343008995056, 0.293597936630249, -0.23293457925319672, -0.32560667395591736, -0.2604162096977234, 0.017333321273326874, -0.2331497073173523, 0.22049005329608917, -0.32963788509368896, -0.3778895139694214, -0.25072479248046875, 0.41234931349754333, -0.3294398784637451, 0.44869258999824524, 0.4759650230407715, -0.14806531369686127, -0.03681490570306778, 0.22844040393829346, 0.678610622882843, 0.8925625681877136, -0.1345951408147812, -0.01787870191037655, 0.12337373942136765, -0.7117077112197876, -0.1368023008108139, -0.01737704500555992, 0.22030627727508545, 0.049091584980487823, 0.2615716755390167, 0.6987100839614868, 0.1497431993484497, -0.8827887177467346, 0.5246129631996155, -0.48107242584228516, -0.3174096345901489, -0.45079582929611206, -0.03455931320786476, -0.2018386870622635, 0.3788345456123352, 0.3183072805404663, 0.34603363275527954, 0.22707580029964447, -0.23760253190994263, 0.42990821599960327, 0.3697790503501892, -0.5030362010002136, -0.27530771493911743, 0.6192561984062195, 0.1995387077331543, 0.058675676584243774, 0.5175510048866272, 0.4106326997280121, -0.018665509298443794, 0.6283979415893555, 0.3145917057991028, 0.7467197179794312, -0.19942277669906616, 0.2988009750843048, 0.36860978603363037, 0.03135313838720322, 0.18787680566310883, 0.3241012394428253, 0.06420817226171494, -0.6370777487754822, -0.49611562490463257, -0.26281213760375977, -0.4045814275741577, 0.07028552889823914, -0.8621799349784851, 0.3154821991920471, -0.5628477931022644, -0.27447348833084106, 0.25111448764801025, -0.1516120284795761, -0.7647888660430908, 0.5869616866111755, 0.4225939214229584, 0.7689802646636963, -0.5874355435371399, 1.1936286687850952, 0.6678687334060669, -0.4777013063430786, -0.5997318625450134, -0.32872840762138367, 0.12162905931472778, -1.399783730506897, 0.9726176261901855, -0.23869003355503082, -0.3772185146808624, -0.14352108538150787, -0.23353098332881927, -0.8486713171005249, 1.3000245094299316, 0.21413247287273407, -0.6631278991699219, 0.25437334179878235, -0.03246495872735977, 0.3898393213748932, -0.6662473678588867, 0.33796700835227966, 0.42796048521995544, 0.4680888056755066, 0.4657518267631531, -1.1437904834747314, 0.28757354617118835, -0.1786317080259323, -0.03791731968522072, -0.07921542227268219, -0.28873854875564575, 0.526306688785553, -0.49546343088150024, 0.02909507043659687, 0.10943740606307983, 0.3667926490306854, -0.033461883664131165, 0.3618708848953247, 0.476898193359375, 0.3974124491214752, 0.6118020415306091, 0.10927790403366089, 1.4011831283569336, -0.37740036845207214, -0.14198701083660126, 0.6952859163284302, -0.34403666853904724, 0.6118705868721008, 0.27494025230407715, -0.080423504114151, 0.5067822933197021, 0.1573554128408432, 0.1943155825138092, 0.5966670513153076, -0.37503960728645325, -0.45596471428871155, -0.566551685333252, -0.285727858543396, -0.6029502749443054, 0.6964330077171326, 0.6614142060279846, -0.2969142198562622, -0.017658792436122894, 0.33174756169319153, -0.03948276862502098, 0.10444654524326324, -0.3153629004955292, 0.9481905698776245, 0.10931175947189331, -0.2633397877216339, 0.8464720249176025, -0.44603896141052246, 0.4931768476963043, -0.8610005378723145, -0.20695587992668152, -0.24166728556156158, 0.4650837182998657, -0.26244693994522095, -0.7769138216972351, 0.48531225323677063, -0.3599831461906433, -0.19030071794986725, -0.05296153947710991, 0.8590618371963501, -0.19174380600452423, -0.49090251326560974, 0.26835164427757263, 0.667919933795929, 0.12652502954006195, 0.15582047402858734, -0.7488017082214355, 0.6440091729164124, 0.12276368588209152, 0.0731663852930069, 0.47901293635368347, 0.07570511102676392, -0.06253844499588013, 0.8785858750343323, 0.33506864309310913, 0.04171007499098778, -0.5280908942222595, 0.07376661151647568, 1.0947420597076416, -0.3206446170806885, -0.1165846511721611, -0.36248788237571716, 0.5003108382225037, -0.04140938073396683, -0.14719824492931366, 0.3247319459915161, 0.21635062992572784, 0.29424524307250977, -0.11643151193857193, 1.0309563875198364, 0.06870415806770325, 0.477282851934433, -0.5228493213653564, 0.49059441685676575, -0.9092973470687866, 0.20587702095508575, -0.1691117137670517, -0.33319512009620667, -0.6583682894706726, 0.6940609812736511, -0.40724804997444153, -0.056170668452978134, 0.7029773592948914, 1.0137245655059814, -0.121062271296978, -0.2004179209470749, 0.8143457174301147, 0.3101298213005066, 0.24167434871196747, 0.5034959316253662, 0.6804530024528503, -0.2025560885667801, 0.5951412320137024, -0.1514408141374588, -0.6202125549316406, -0.36777183413505554, -0.6708786487579346, -0.7402974367141724, -0.5220780968666077, -0.7000463604927063, -0.21168455481529236, 0.2968745827674866, 0.7260055541992188, 0.834364652633667, -0.2297639399766922, -0.08627142757177353, 0.42038944363594055, -0.17793042957782745, -0.20358240604400635, -0.1076468750834465, 0.4667235314846039, -0.0962051972746849, -0.47506287693977356, 0.6345840692520142, 0.6416141986846924, -0.08684170991182327, -0.25767016410827637, -0.09419561177492142, 0.20156793296337128, 0.17468422651290894, 0.6806911826133728, 0.34782740473747253, -0.777321994304657, -0.13880471885204315, 0.3936580419540405, -0.057477280497550964, 0.19372020661830902, 0.692304253578186, -1.0408825874328613, 0.9913453459739685, 0.07485982775688171, 0.5330408811569214, 0.3811151385307312, -0.2956380844116211, 0.7247569561004639, -0.30839696526527405, 0.22453097999095917, 0.34519585967063904, 0.21720941364765167, 0.4207940101623535, -0.5821913480758667, 0.18333610892295837, 0.01905818283557892, -0.5489625930786133, -0.6392626166343689, 0.30915629863739014, -1.4151197671890259, -0.4111107587814331, 1.1729434728622437, -0.05617889016866684, -0.19154132902622223, -0.4426047205924988, -0.6152300834655762, -0.33890870213508606, -0.3660270869731903, 0.665168821811676, -0.006009223870933056, -0.47914040088653564, -0.5160074830055237, -0.7085990309715271, 0.38064104318618774, 0.22094082832336426, -0.752354621887207, -0.05754808336496353, 0.7784446477890015, 0.3188289999961853, -0.10821925103664398, 0.9706538319587708, -0.23937435448169708, 0.7138922810554504, -0.07997290045022964, 0.09866485744714737, -0.5186596512794495, -0.14432460069656372, -0.27088063955307007, -0.027683282271027565, 0.26389917731285095, -0.2686098515987396 ]
http://arxiv.org/abs/2407.02596v1
http://arxiv.org/pdf/2407.02596v1
Towards More Realistic Extraction Attacks: An Adversarial Perspective
2024-07-02T18:33:49
2024-07-02T18:33:49
Yash More, Prakhar Ganesh, Golnoosh Farnadi
cs.CR
cs.CR, cs.CL, cs.LG
Language models are prone to memorizing large parts of their training data, making them vulnerable to extraction attacks. Existing research on these attacks remains limited in scope, often studying isolated trends rather than the real-world interactions with these models. In this paper, we revisit extraction attacks from an adversarial perspective, exploiting the brittleness of language models. We find significant churn in extraction attack trends, i.e., even minor, unintuitive changes to the prompt, or targeting smaller models and older checkpoints, can exacerbate the risks of extraction by up to $2-4 \times$. Moreover, relying solely on the widely accepted verbatim match underestimates the extent of extracted information, and we provide various alternatives to more accurately capture the true risks of extraction. We conclude our discussion with data deduplication, a commonly suggested mitigation strategy, and find that while it addresses some memorization concerns, it remains vulnerable to the same escalation of extraction risks against a real-world adversary. Our findings highlight the necessity of acknowledging an adversary's true capabilities to avoid underestimating extraction risks.
[ -0.32611697912216187, -1.1934711933135986, 0.3729381859302521, -0.3731565475463867, -0.1713392734527588, 0.008067122660577297, -0.1422404646873474, -0.6136786937713623, -0.15527066588401794, 0.5526494383811951, -0.4845127463340759, 0.12569460272789001, -1.0814613103866577, -0.13665339350700378, -0.8526068329811096, 0.8131287693977356, 0.286212682723999, -0.24922870099544525, 0.046362683176994324, 0.0266102384775877, -0.5206107497215271, -0.7362866997718811, -0.7423058748245239, -0.0682189092040062, 0.5543936491012573, 0.046835362911224365, 0.9336894154548645, 1.001105546951294, 0.6094366908073425, 0.29667267203330994, -0.21773454546928406, -0.30857107043266296, -0.45178309082984924, 0.450096994638443, -0.10698442906141281, -0.7088070511817932, -0.14370134472846985, 0.2808597683906555, 0.4732179343700409, 0.6048235893249512, -0.07369883358478546, -0.12713463604450226, -0.1097918376326561, 0.8195735812187195, -0.7161609530448914, -0.2700514495372772, -1.2457259893417358, 0.06454955041408539, -0.4028264880180359, -0.03226485475897789, -0.44644126296043396, -0.13526958227157593, 0.2337399125099182, -0.20730845630168915, 0.26100587844848633, -0.35519346594810486, 1.079817533493042, 0.15830795466899872, -0.07653358578681946, -0.4191986620426178, -0.8000755906105042, 0.7180377840995789, -0.3813396096229553, 0.11826079338788986, 0.338106244802475, 0.7277923822402954, -0.10040634125471115, -0.7287511229515076, -0.25664064288139343, -0.12774565815925598, 0.22219258546829224, -0.13395053148269653, -0.723515510559082, -0.3020414113998413, 0.526404619216919, 0.40031132102012634, -0.2753622829914093, 0.18498100340366364, -0.6314204931259155, 0.009977074339985847, 0.5981281995773315, 0.018083062022924423, 0.5722935795783997, 0.021202852949500084, -0.6318017244338989, -0.18320494890213013, -0.9598240256309509, -0.13108500838279724, 0.6096135973930359, 0.4389558434486389, 0.26696133613586426, 0.43361610174179077, 0.2919052839279175, 0.43635469675064087, -0.0906832218170166, 0.30746549367904663, -0.16452154517173767, -0.10454810410737991, -0.2842825949192047, 0.08711197227239609, 0.6379612684249878, -0.17050336301326752, 0.5195430517196655, -0.5681345462799072, -0.2154902219772339, -0.013439169153571129, 0.8303066492080688, -0.6165067553520203, -0.6128820180892944, 0.2739747166633606, -0.22922416031360626, -0.7005301117897034, 0.28603652119636536, -1.24531888961792, -0.500427782535553, 0.08658378571271896, 0.2583310604095459, -0.6243500113487244, -0.21696993708610535, -0.09816550463438034, -0.42991703748703003, 0.13682687282562256, 0.3301837742328644, -0.7089350819587708, 0.30460378527641296, 0.843823254108429, 0.7898679375648499, -0.13264182209968567, -0.12325894832611084, -0.8177903294563293, -0.005137650761753321, -0.2147451788187027, 0.5407811403274536, -0.3674345016479492, -0.46358299255371094, -0.11538027971982956, -0.1420825868844986, -0.22422020137310028, -0.6753619909286499, 0.37094950675964355, -0.6794149875640869, 0.2624659240245819, -0.26359453797340393, -0.3378582000732422, -0.2718046009540558, 0.4537303149700165, -0.9903165102005005, 0.7089395523071289, 0.0759584903717041, -0.7126540541648865, 0.13828116655349731, -0.31947118043899536, -0.3875730037689209, -0.020853564143180847, -0.15914812684059143, -0.4557799994945526, 0.22828981280326843, 0.2464727759361267, 0.14471611380577087, -0.3639131784439087, 0.1854926198720932, -0.410349577665329, -0.11957886815071106, 0.5411587953567505, -1.1897978782653809, 1.183261752128601, 0.5666120648384094, -0.536950409412384, -0.34959474205970764, -0.668571412563324, -0.2370397299528122, 0.48886799812316895, -0.31658491492271423, -0.5363023281097412, 0.12211728096008301, -0.3753964602947235, 0.35173267126083374, 0.033409010618925095, -0.2924518287181854, 0.2963711619377136, -0.771872878074646, 0.33504483103752136, 0.930398166179657, 0.12025978416204453, 0.4308820962905884, -0.35921382904052734, 0.7536491751670837, -0.09630008786916733, 0.187725231051445, -0.01425937656313181, 0.07351811975240707, -0.526523768901825, -0.5773585438728333, 0.5536450147628784, 0.6875723600387573, -0.6808010935783386, 0.18183459341526031, -0.5410177111625671, -0.6563348174095154, -0.48751744627952576, 0.3843209147453308, 0.5218687057495117, 0.3971847891807556, 0.30676060914993286, -0.3094612658023834, -0.49674084782600403, -0.6315008997917175, -0.8127020597457886, -0.1161099523305893, -0.13946233689785004, 0.1176101416349411, 0.39204931259155273, 0.03429066017270088, 1.0048757791519165, -0.6312995553016663, -0.04542449861764908, -0.5121641755104065, 0.09696091711521149, -0.22120332717895508, 0.6470986604690552, 0.7021740674972534, -1.2090762853622437, -0.29175007343292236, -0.1605532169342041, -0.805762529373169, 0.3399571180343628, -0.32781147956848145, 0.07814053446054459, 0.10770759731531143, 0.4620668590068817, -0.9745616316795349, 0.3329709470272064, 0.029915712773799896, 0.14583086967468262, 0.31303125619888306, 0.11202416568994522, -0.21909530460834503, -0.9370225667953491, 0.15339046716690063, -0.1567494124174118, -0.1194651871919632, -0.814346194267273, 0.41848745942115784, -0.005193273536860943, -0.04477781802415848, -0.8233144879341125, 0.38063761591911316, -0.49621862173080444, 0.07958142459392548, -0.0818701907992363, 0.12189243733882904, 0.11045626550912857, 0.15161314606666565, -0.22444091737270355, 0.45871302485466003, 0.5527856945991516, -0.46035486459732056, 0.38664066791534424, -0.055184874683618546, -0.22415873408317566, 0.28058817982673645, -0.5781574845314026, 0.44149890542030334, -0.1789717972278595, 0.008970826864242554, -0.6639014482498169, 0.09201537072658539, 0.41051429510116577, -0.6529679894447327, 0.7948588132858276, -0.3243693709373474, -0.3676202595233917, -0.1026049479842186, -0.7176231145858765, -0.04379963129758835, 0.645048201084137, -0.5214806795120239, 0.46618789434432983, 0.3711659014225006, -0.3364803194999695, -0.938454806804657, -0.7049357891082764, 0.3590793311595917, -0.8304709196090698, -0.26585689187049866, -0.035520028322935104, 0.25262194871902466, -0.6719852089881897, -0.1261765956878662, -0.15618349611759186, -0.08271603286266327, 0.8947415351867676, 0.1960582584142685, 0.2014361023902893, 0.07870286703109741, -0.16903573274612427, -0.47430717945098877, -0.017339998856186867, 0.3285873532295227, -0.17527565360069275, 0.5441097617149353, 0.1411658525466919, -0.33558496832847595, -0.10518262535333633, 0.4141947329044342, 0.5465388894081116, -0.17427624762058258, 0.6706936955451965, 0.5398980975151062, -0.7158365249633789, 0.033526383340358734, -0.46481651067733765, -0.1027757003903389, -0.4567108750343323, 0.5722049474716187, -0.36975258588790894, -0.11095269024372101, 0.4322039783000946, -0.09010519087314606, 0.3112906515598297, 0.5734143853187561, 0.06728791445493698, -0.1317831575870514, 1.1007381677627563, 0.3647989332675934, -0.4558963477611542, 0.6439640522003174, -0.38329192996025085, -0.0998603031039238, -0.601882815361023, -0.1812639683485031, -0.7767254710197449, -0.051300760358572006, -0.3194570541381836, -0.014166911132633686, -0.18375733494758606, 0.29902511835098267, 0.15788567066192627, 0.5073021650314331, -0.05442335456609726, 0.36409515142440796, 0.53739333152771, 0.029388563707470894, -0.1278105080127716, 0.2008001059293747, 0.32678428292274475, -0.12209265679121017, -0.6407521963119507, -0.4385438561439514, 1.0772225856781006, 0.5033929347991943, 0.7176020741462708, 0.40975695848464966, 0.6731352210044861, 0.4128887355327606, 0.05612742155790329, -0.7270705699920654, 0.33514168858528137, -0.29647982120513916, -0.6147831678390503, -0.1325194388628006, -0.5852231383323669, -1.2595851421356201, 0.3317353129386902, -0.2268831580877304, -0.9522358179092407, 0.15079236030578613, 0.10066492110490799, -0.2632123529911041, 0.48598602414131165, -0.6353533864021301, 0.8660330176353455, -0.24536921083927155, -0.18392816185951233, 0.20520010590553284, -0.8862932324409485, 0.2845660448074341, -0.19057999551296234, 0.4434119760990143, 0.18375428020954132, 0.27390122413635254, 0.6079975962638855, -0.2892867922782898, 0.813479483127594, -0.2696394622325897, -0.07027973234653473, 0.3844362795352936, 0.442740797996521, 0.8720777630805969, -0.2215971201658249, 0.0816076323390007, -0.036368053406476974, -0.09686417877674103, -0.4521435797214508, -0.6185756325721741, 0.4107818305492401, -0.5233136415481567, -0.7869930863380432, -0.46618929505348206, -0.37417420744895935, 0.14274688065052032, 0.11401684582233429, 0.28263208270072937, 0.5583749413490295, -0.46195605397224426, 0.16408590972423553, 0.6600356698036194, 0.024033674970269203, 0.4689260423183441, 0.14291346073150635, 0.4449175000190735, -0.43157705664634705, 1.4089305400848389, 0.1609669029712677, 0.7119894623756409, 0.2664124667644501, 0.20131659507751465, -0.327838659286499, -0.7372323870658875, -0.3901591897010803, -0.19978347420692444, -0.9273707866668701, -0.15026646852493286, -0.7120115160942078, -0.08075547218322754, -0.6281166672706604, 0.09655462950468063, -0.4759519696235657, -0.5721743702888489, -0.575285017490387, -0.11773937195539474, 0.07572691887617111, 0.4425320625305176, 0.1436956822872162, 0.1239316463470459, -1.1370561122894287, 0.22003094851970673, 0.27381080389022827, -0.4622887074947357, -0.05035481974482536, -0.5633288621902466, -0.12332881987094879, 0.137339785695076, -0.41835740208625793, -1.0396018028259277, 0.7161191701889038, 0.2121070772409439, 0.5741251707077026, 0.4180735647678375, 0.004684129264205694, 0.7331043481826782, -0.514745831489563, 0.9023455381393433, 0.17113806307315826, -0.6318924427032471, 0.5313059091567993, 0.012675562873482704, 0.16846977174282074, 0.7943518757820129, 0.47958436608314514, -0.26680755615234375, -0.4567926228046417, -1.1848047971725464, -1.0376510620117188, 0.6126116514205933, 0.04228706657886505, 0.1741660237312317, -0.08262757211923599, 0.3827154040336609, 0.1781671643257141, 0.17427301406860352, -0.6671403050422668, -0.10207120329141617, -0.028831956908106804, -0.2705743610858917, 0.06610593944787979, -0.18588903546333313, -0.26675140857696533, 0.2143336981534958, 0.39895057678222656, 0.24503134191036224, -0.0952296182513237, 0.040613602846860886, -0.6623814702033997, 0.041724421083927155, 0.2887555658817291, 0.2591419219970703, 0.3495241403579712, -0.14105412364006042, 0.4496997892856598, 0.022447947412729263, -0.6577430367469788, -0.008362026885151863, 0.3514080345630646, -0.18886373937129974, -0.22045756876468658, 0.5835882425308228, 0.38629674911499023, -0.13771748542785645, -0.8939276337623596, 0.7030846476554871, -0.12231193482875824, -0.08302219957113266, -0.4710542857646942, 0.02221808023750782, -0.30375704169273376, 0.22664406895637512, 0.2917022407054901, 0.36102718114852905, 0.1338455080986023, -0.5881754159927368, 0.46273142099380493, 0.795116662979126, -0.8261826038360596, -0.41659948229789734, 0.5134983062744141, -0.2335789054632187, -0.32766783237457275, 0.6739358305931091, 0.027747536078095436, -0.7913443446159363, 0.7283251881599426, 0.3817204236984253, 0.9384544491767883, -0.2077195793390274, -0.22790318727493286, -0.001918776542879641, 0.6422523260116577, -0.27464422583580017, -0.19472984969615936, 0.20669063925743103, -0.3483463525772095, 0.047075048089027405, -0.19446909427642822, -0.11227808147668839, 0.29166120290756226, -0.8554154634475708, 0.2451726347208023, -0.45750102400779724, 0.14262478053569794, 0.09767667949199677, 0.02083951234817505, -0.46160033345222473, 0.1741919219493866, 0.16568899154663086, 0.6421001553535461, -0.6394705772399902, 0.8103234171867371, 0.285143107175827, -0.5415048599243164, -0.4392910301685333, -0.07823147624731064, 0.3025625944137573, -0.5657991170883179, 0.5943682789802551, 0.21790708601474762, 0.14889174699783325, -0.2833400070667267, -0.29959332942962646, -0.7325655221939087, 0.8317608833312988, 0.6493907570838928, -0.2336614429950714, -0.20749729871749878, -0.1556212604045868, 0.23701211810112, 0.008719803765416145, -0.1384247988462448, 0.8974968791007996, 0.048394519835710526, -0.01690067909657955, -0.3294791579246521, 0.20820781588554382, -0.16176272928714752, -0.22516858577728271, 0.26824796199798584, -0.18754954636096954, 1.1730605363845825, -0.11180563271045685, -0.7064130902290344, -0.03681911900639534, 0.32404428720474243, -0.25532516837120056, -0.06167537719011307, 0.6376085877418518, 0.4719443619251251, 0.5314279198646545, 0.12117008864879608, 1.2755755186080933, 0.19027458131313324, 0.101716548204422, 1.1979557275772095, -0.10484056919813156, 0.7465811371803284, 0.6190552711486816, -0.17205552756786346, -0.0020145776215940714, 0.4784422218799591, -0.23163309693336487, 0.7136287093162537, 0.23636429011821747, -0.040748316794633865, 0.10618497431278229, 0.31052958965301514, -0.29276639223098755, 0.5390021204948425, 0.46227139234542847, -0.5304049849510193, -0.2889091670513153, -0.21515165269374847, 0.43494912981987, 0.16600121557712555, 0.07209555059671402, 0.9820857048034668, 0.031752925366163254, -0.5404326915740967, 0.6615007519721985, -0.15092676877975464, 0.40928417444229126, -0.6151286959648132, -0.1635632961988449, 0.06934388726949692, 0.210544154047966, 0.0438050739467144, -0.21025454998016357, 0.38800477981567383, 0.16239894926548004, 0.02018086425960064, -0.059265173971652985, 0.8698388338088989, -0.34979766607284546, -0.2095632255077362, 0.1304369568824768, 0.4198593199253082, 0.13877731561660767, -0.3915647268295288, -0.8010420799255371, -0.03810843080282211, 0.1561550498008728, -0.45119228959083557, 0.7342442870140076, 0.3193839192390442, 0.18732869625091553, 0.6889408230781555, 0.6370071768760681, 0.6136705279350281, 0.09583419561386108, -0.1010013297200203, 0.8628597855567932, -0.5213049054145813, -0.1533949226140976, -1.5021731853485107, 0.2338670939207077, -0.3159005641937256, -0.02827969565987587, 0.7400743961334229, 0.3516554534435272, 0.6526013016700745, 0.13868841528892517, 0.8687904477119446, -0.04073217138648033, 0.3220117390155792, -0.6957234740257263, 0.6947537660598755, -0.4399174153804779, 0.5873183608055115, -0.4100764989852905, -0.6136718988418579, -0.2999405860900879, 0.222455695271492, -0.20534498989582062, -0.18250565230846405, 0.5823230147361755, 0.42508384585380554, 0.02761857584118843, 0.1001766175031662, 0.08041159808635712, 0.07329793274402618, 0.7532951831817627, 0.5704578757286072, 0.8996376395225525, -0.6146285533905029, 1.0696275234222412, -0.34389129281044006, -0.039443645626306534, -0.01045247633010149, -0.7976532578468323, -0.7061196565628052, -0.28242218494415283, -0.25946056842803955, -0.35341277718544006, 0.07204756140708923, 0.5699285864830017, 0.13318602740764618, -0.5634607672691345, 0.21622617542743683, -0.12797263264656067, 0.16552291810512543, -0.47375547885894775, -0.2678806185722351, 0.5184208750724792, -0.25334325432777405, -0.757346510887146, 0.491898775100708, -0.1335989385843277, 0.3799508810043335, -0.10795605927705765, 0.36137470602989197, -0.2932386100292206, -0.01744980551302433, 0.14161239564418793, 0.5997658967971802, -0.5411937236785889, -0.44175398349761963, -0.1925986409187317, -0.18339107930660248, 0.09856153279542923, 0.6122370958328247, -0.5999308824539185, 0.408352792263031, 0.25881069898605347, 1.1358274221420288, 0.16270259022712708, 0.29359325766563416, 0.7326623201370239, -0.862118124961853, 0.20995646715164185, 0.33139023184776306, 0.3079226315021515, 0.39950746297836304, -0.4663667380809784, 0.42073962092399597, 0.45811727643013, 0.005226092878729105, -1.1682524681091309, 0.36229753494262695, -0.5745881199836731, -0.6663206815719604, 1.0167618989944458, -0.6037375330924988, -0.3583558201789856, -0.2500452697277069, -0.03137356415390968, 0.19839173555374146, 0.05217328667640686, 0.8880758881568909, 0.8049678206443787, 0.35012781620025635, 0.2032051682472229, -0.796255350112915, 0.5136045813560486, 0.38635319471359253, -0.6682283282279968, 0.48806998133659363, 0.3018655776977539, 0.283496618270874, 0.22577007114887238, 0.3010058104991913, -0.5779543519020081, 0.2610076665878296, 0.3464968204498291, -0.35033082962036133, 0.0145914601162076, -0.559536337852478, -0.637228786945343, 0.5014131665229797, 0.17351298034191132, -0.26704731583595276 ]
http://arxiv.org/abs/2407.02490v1
http://arxiv.org/pdf/2407.02490v1
MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention
2024-07-02T17:59:56
2024-07-02T17:59:56
Huiqiang Jiang, Yucheng Li, Chengruidong Zhang, Qianhui Wu, Xufang Luo, Surin Ahn, Zhenhua Han, Amir H. Abdi, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, Lili Qiu
cs.CL
cs.CL, cs.LG
The computational challenges of Large Language Model (LLM) inference remain a significant barrier to their widespread deployment, especially as prompt lengths continue to increase. Due to the quadratic complexity of the attention computation, it takes 30 minutes for an 8B LLM to process a prompt of 1M tokens (i.e., the pre-filling stage) on a single A100 GPU. Existing methods for speeding up prefilling often fail to maintain acceptable accuracy or efficiency when applied to long-context LLMs. To address this gap, we introduce MInference (Milliontokens Inference), a sparse calculation method designed to accelerate pre-filling of long-sequence processing. Specifically, we identify three unique patterns in long-context attention matrices-the A-shape, Vertical-Slash, and Block-Sparsethat can be leveraged for efficient sparse computation on GPUs. We determine the optimal pattern for each attention head offline and dynamically build sparse indices based on the assigned pattern during inference. With the pattern and sparse indices, we perform efficient sparse attention calculations via our optimized GPU kernels to significantly reduce the latency in the pre-filling stage of long-context LLMs. Our proposed technique can be directly applied to existing LLMs without any modifications to the pre-training setup or additional fine-tuning. By evaluating on a wide range of downstream tasks, including InfiniteBench, RULER, PG-19, and Needle In A Haystack, and models including LLaMA-3-1M, GLM4-1M, Yi-200K, Phi-3-128K, and Qwen2-128K, we demonstrate that MInference effectively reduces inference latency by up to 10x for pre-filling on an A100, while maintaining accuracy. Our code is available at https://aka.ms/MInference.
[ -0.7755216360092163, -0.7936893105506897, 0.7439836263656616, 0.3984305262565613, -0.5044082999229431, -0.27476420998573303, -0.3465970456600189, -0.6366392970085144, 0.3350330591201782, 0.26939111948013306, -0.854318380355835, -0.3754870593547821, -0.6396000385284424, 0.27568867802619934, -0.09879753738641739, 0.5969235301017761, 0.10813449323177338, -0.4141426086425781, -0.5128195881843567, -0.028269777074456215, -0.33677828311920166, -0.3640374541282654, -0.6543171405792236, 0.04827779904007912, 0.8562535643577576, 0.5364744067192078, 0.6502261757850647, 0.8107267022132874, 0.29463544487953186, 0.4289616048336029, -0.32283300161361694, 0.3725038766860962, -0.6084432601928711, -0.19390946626663208, 0.17004813253879547, -0.13506504893302917, -0.6850851774215698, 0.2318572998046875, 0.6695122122764587, 0.8000611662864685, 0.08358688652515411, 0.4137534499168396, 0.3429141044616699, 0.4523225724697113, -0.8225506544113159, 0.08945056051015854, -0.4745884835720062, 0.050499510020017624, -0.48267439007759094, -0.25297310948371887, -0.38797783851623535, -0.2631338834762573, 0.14015889167785645, -1.0421414375305176, 0.2538090646266937, 0.17751382291316986, 0.5770605802536011, 0.8182300329208374, 0.03250750154256821, -0.02473016083240509, -0.32260268926620483, 0.7940199971199036, -0.5738251805305481, 0.2738839387893677, 0.5439227223396301, -0.021679388359189034, -0.3765074908733368, -0.7840741276741028, -0.5987379550933838, -0.22252097725868225, -0.22375741600990295, -0.2202741950750351, -0.021154124289751053, 0.5288721323013306, 0.7034090757369995, 0.12714892625808716, -0.331222802400589, 0.1272243708372116, -0.01614573784172535, -0.012160489335656166, 0.26361963152885437, 0.09021153301000595, -0.3881683647632599, 0.04077643156051636, -0.26485103368759155, 0.2901056110858917, -0.8433340191841125, -0.04838533699512482, -0.0450829342007637, 0.24088039994239807, -0.22282955050468445, 0.271920770406723, -0.06758914887905121, 1.0281609296798706, 0.4844492971897125, -0.35221147537231445, -0.11101959645748138, -0.36736860871315, -0.5278015732765198, 0.17234858870506287, 0.5633974075317383, 0.010105300694704056, 0.2251397967338562, -0.05140257999300957, 0.17103008925914764, -0.12692616879940033, -0.10084756463766098, -1.1304253339767456, 0.0508110448718071, 0.1380070298910141, -0.10726895928382874, -0.09827038645744324, -0.3698996305465698, -0.7865981459617615, -0.4824228286743164, -0.5430569648742676, 0.2635275423526764, -0.09202577918767929, 0.2716841697692871, 0.01277805957943201, 0.40979525446891785, -0.10147272795438766, 0.5541113615036011, -0.7902345061302185, 0.1960790753364563, 0.7459267973899841, 0.9571676850318909, -0.23742039501667023, -0.23170074820518494, -0.9498159885406494, 0.054617661982774734, -0.2350102663040161, 0.8983034491539001, -0.6685457825660706, -0.1786416918039322, -0.23172058165073395, -0.10875971615314484, -0.05629975348711014, -0.6306250691413879, 0.641544759273529, -0.41934287548065186, 0.027735868468880653, -0.19163136184215546, -0.6207191944122314, 0.22371986508369446, 0.016686920076608658, -0.6441748738288879, 1.1592130661010742, -0.01917685754597187, -0.7149873971939087, 0.30705752968788147, -0.7267703413963318, -0.3609844744205475, 0.1974659562110901, -0.27626991271972656, -0.10243869572877884, 0.11673399806022644, 0.24535228312015533, 0.39635583758354187, -0.4210997521877289, 0.13697758316993713, -0.4783247113227844, -0.8032509684562683, -0.07686657458543777, -0.13728085160255432, 0.4685613811016083, 0.03878597170114517, -0.29603585600852966, 0.3721892833709717, -0.6873794198036194, -0.06422848254442215, -0.1251000016927719, -0.18494948744773865, -0.23394007980823517, -0.08506129682064056, -0.1987987607717514, 0.17090333998203278, 0.2231374830007553, -0.3318871557712555, 0.22870276868343353, -0.40783941745758057, 0.5248762369155884, 1.0444085597991943, -0.2514725625514984, 0.5084396004676819, 0.040761277079582214, 0.5249398946762085, -0.047310467809438705, 0.15208707749843597, -0.41262784600257874, -0.4933384358882904, -0.7811830043792725, -0.6222559809684753, 0.44990214705467224, 0.4449672996997833, -0.538348376750946, 0.42083922028541565, -0.4699094891548157, -0.07940436899662018, -0.5801362991333008, 0.38439902663230896, 0.27669084072113037, 0.5853161811828613, 0.35473230481147766, 0.05002153664827347, -0.6419241428375244, -0.7179604768753052, -0.08730952441692352, 0.10352843999862671, -0.07065556198358536, 0.42533108592033386, 0.06325940042734146, -0.2934177815914154, 0.9303938746452332, -0.5396426320075989, -0.406317800283432, 0.06115848571062088, 0.04506737366318703, 0.4211985468864441, 0.5206061601638794, 0.2523662745952606, -0.5666089057922363, -0.460929811000824, -0.5215412974357605, -0.4401687681674957, -0.28249087929725647, -0.10236403346061707, -0.39890509843826294, 0.04206366837024689, 0.7819340229034424, -0.8379471302032471, 0.4154535233974457, 0.5614879131317139, -0.29451578855514526, 0.35281485319137573, -0.021536383777856827, -0.09530580788850784, -0.8364807367324829, 0.1280108392238617, -0.13224588334560394, -0.3057589530944824, -0.4810691177845001, -0.13177736103534698, 0.06866660714149475, -0.12248551845550537, -0.4837045669555664, 0.7888817191123962, -0.4810558557510376, 0.043237052857875824, -0.33759230375289917, 0.317359983921051, -0.028871536254882812, 0.6590680480003357, -0.008791386149823666, 1.1114301681518555, 0.16969682276248932, -0.7468782067298889, 0.15734465420246124, 0.19610770046710968, -0.5758551359176636, 0.21065610647201538, -0.4436097741127014, 0.36360397934913635, -0.028899597004055977, 0.1844511181116104, -1.1206912994384766, -0.06938795745372772, 0.17003099620342255, -0.297995924949646, 0.36118781566619873, -0.18296664953231812, -0.5192828178405762, -0.40136268734931946, -0.19897325336933136, 0.743137776851654, 0.2184394896030426, -0.5807873606681824, 0.5837500691413879, 0.24622280895709991, -0.5001004934310913, -0.6022725105285645, -0.5829576253890991, 0.16532675921916962, -0.1524709165096283, -0.7948783040046692, 0.5337044596672058, -0.3181973993778229, -0.14973518252372742, -0.16282518208026886, -0.1408112496137619, 0.11061029881238937, 0.10088510066270828, 0.4294944703578949, 0.3090347647666931, -0.3439892530441284, 0.09108588099479675, -0.00271421205252409, -0.4383014738559723, -0.21717792749404907, -0.2532142400741577, 0.4573361873626709, 0.09936877340078354, -0.25762251019477844, -0.4835609793663025, 0.44950318336486816, 0.6474069356918335, 0.04606318473815918, 0.4769574999809265, 0.4015571177005768, -0.5056496858596802, 0.09248257428407669, -0.9608543515205383, -0.27339789271354675, -0.5566229224205017, 0.37051457166671753, -0.36878085136413574, -1.1119130849838257, 0.21602891385555267, -0.09448250383138657, -0.037568241357803345, 0.13613827526569366, 0.4814379811286926, 0.10058987885713577, 0.8911532163619995, 0.8332309722900391, -0.403419554233551, 0.7149810194969177, 0.04371308162808418, 0.16497962176799774, -0.6826105117797852, 0.10101749002933502, -0.24301929771900177, -0.4655252695083618, -0.3336540162563324, -0.9577163457870483, 0.30362677574157715, 0.16640444099903107, -0.1776081770658493, -0.03430037945508957, -0.3255541920661926, 0.7685104012489319, 0.4508015513420105, 0.0030737940687686205, 0.2282116860151291, 0.08441418409347534, -0.2612728476524353, -0.25508835911750793, -0.7719986438751221, -0.22999316453933716, 0.7015835046768188, 0.04083176702260971, 0.6798673272132874, -0.2402707040309906, 0.43808725476264954, 0.34251868724823, 0.644054114818573, -0.814502477645874, 0.8143770694732666, -0.042434923350811005, -0.2742204964160919, -0.31734538078308105, -0.3525370955467224, -0.7772037386894226, 0.2764872610569, -0.1312350481748581, -0.5879237651824951, 0.18295443058013916, 0.45136892795562744, -0.9676197171211243, 0.10362031310796738, -0.6747030019760132, 0.9794541597366333, -0.011825631372630596, -0.8707140684127808, -0.25134798884391785, -0.5607263445854187, 0.39005047082901, -0.33100080490112305, 0.06984160095453262, -0.3731059432029724, -0.300009548664093, 0.5874220132827759, -0.47236478328704834, 0.7999199628829956, -0.286190390586853, -0.03384026885032654, 0.20780056715011597, -0.12408284097909927, 0.8344041705131531, 0.053726229816675186, 0.007138567045331001, -0.04145626351237297, -0.26554250717163086, -0.49321675300598145, -0.34872207045555115, 0.7876035571098328, -0.40929311513900757, -0.7384472489356995, -0.400126188993454, -0.5621646046638489, -0.3382962942123413, 0.1638537049293518, 0.19518086314201355, 0.12941309809684753, -0.06072136014699936, -0.055178429931402206, 0.7670615315437317, -0.051959093660116196, 0.45366400480270386, 0.4513040781021118, -0.010198368690907955, -0.33053460717201233, 0.5663043856620789, -0.011128776706755161, 0.04120931401848793, 0.2822604179382324, 0.02294960431754589, -0.3164431154727936, -0.46612805128097534, -0.5783935785293579, 0.4129086136817932, -0.494762122631073, -0.27821603417396545, -0.6364312767982483, 0.10533999651670456, -0.3782690167427063, -0.21116766333580017, -0.2606056332588196, -0.2434752732515335, -0.37119388580322266, 0.14598694443702698, 0.2896004915237427, 0.24258628487586975, -0.021889053285121918, 0.4687623381614685, -0.6313009858131409, 0.4762415587902069, 0.4192144572734833, 0.266612708568573, -0.023625103756785393, -0.7362450361251831, -0.37589994072914124, -0.07773769646883011, -0.09729461371898651, -0.4013022184371948, 0.2008705735206604, 0.4814663529396057, 0.31224751472473145, 0.8940458297729492, -0.05446229502558708, 1.5816123485565186, -0.7456084489822388, 0.4609045684337616, 0.0719149112701416, -1.007992148399353, 0.31277233362197876, 0.02820618823170662, 0.39834722876548767, 0.6681285500526428, 0.31457215547561646, -0.44401195645332336, -0.24628587067127228, -0.3537178635597229, -0.776391863822937, 0.7943744659423828, 0.09205886721611023, -0.23287217319011688, -0.06456738710403442, 0.5977287292480469, -0.17667947709560394, 0.20160582661628723, -0.2817448079586029, -0.21960076689720154, 0.24696175754070282, -0.07817227393388748, -0.5321946144104004, -0.6417784690856934, -0.08670011907815933, -0.5694351196289062, 0.4337838590145111, -0.25940653681755066, 0.4948492646217346, 0.2059679627418518, -0.24332572519779205, -0.16762758791446686, -0.03758445382118225, 1.1135574579238892, 0.6343259811401367, -0.2356278896331787, 0.1712087094783783, 0.5173109769821167, -0.6438595652580261, 0.024215372279286385, 0.554399311542511, -0.07708364725112915, 0.13026875257492065, 0.20137904584407806, 0.7280012369155884, 0.4734787940979004, -0.654292106628418, 0.45263558626174927, -0.09356863796710968, 0.03811139613389969, -0.39092978835105896, -0.24403563141822815, 0.19321013987064362, 0.21380607783794403, 0.39847323298454285, -0.12482651323080063, -0.10904638469219208, -0.10605227202177048, 0.1427450180053711, 0.31918713450431824, -0.2581905126571655, -0.16831795871257782, 0.6535144448280334, 0.24926812946796417, 0.06276986747980118, 0.4850785434246063, -0.13716013729572296, -0.2281140834093094, 0.460061639547348, 0.3498585522174835, 0.7885545492172241, -0.24388402700424194, -0.5098305940628052, 0.4978514313697815, 0.10616151243448257, 0.10408506542444229, -0.0284214299172163, -0.5370345711708069, -0.4694440960884094, -1.0623142719268799, -0.9135770797729492, -0.37567442655563354, 0.3711167573928833, -0.3153470754623413, 0.21314071118831635, -0.6283681392669678, -0.36198246479034424, 0.18170231580734253, 0.12961436808109283, -0.5164209604263306, 0.008746926672756672, 0.5781255960464478, 1.1124991178512573, -0.4191233515739441, 1.0235283374786377, 0.3971250653266907, 0.24261677265167236, -0.39031776785850525, -0.3245733678340912, 0.04396494850516319, -0.7819432020187378, 0.6942063570022583, 0.4074137806892395, -0.38957759737968445, 0.07262182980775833, -0.5928882956504822, -0.8967116475105286, 0.9237020611763, 0.5963953137397766, -0.8349607586860657, -0.26976922154426575, 0.1837996542453766, 0.09815933555364609, -0.2352050095796585, 0.09727972000837326, 0.7302375435829163, 0.5623618960380554, 0.19511108100414276, -0.6350058913230896, 0.14054077863693237, -0.29372525215148926, -0.2362404316663742, 0.35174185037612915, -0.49529772996902466, 0.7683759927749634, -0.4674347937107086, -0.2840820252895355, 0.5009221434593201, 0.9603546261787415, 0.4801369309425354, 0.24565763771533966, 0.641951322555542, 0.7609013915061951, 1.0027517080307007, -0.05955776199698448, 0.7761639952659607, -0.6899416446685791, 0.13483771681785583, 1.3601444959640503, -0.16407805681228638, 0.7872325778007507, 0.7504896521568298, -0.22603541612625122, 0.15366040170192719, 0.9038206338882446, 0.29397377371788025, 0.33623844385147095, 0.35477957129478455, -0.6088611483573914, -0.5534523129463196, -0.12732632458209991, -0.49535268545150757, -0.08083057403564453, 0.571481466293335, -0.21272608637809753, -0.07790102809667587, -0.09621166437864304, 0.09860463440418243, -0.4000700116157532, -0.5105128884315491, 0.6952347755432129, 0.26881343126296997, -0.8437830209732056, 0.9007104635238647, 0.04932829365134239, 0.9147237539291382, -0.6904856562614441, 0.010654887184500694, -0.39759448170661926, 0.3916904628276825, -0.12123645842075348, -0.2419459968805313, -0.019207831472158432, 0.15622027218341827, -0.2647255063056946, -0.2221563756465912, 0.6559272408485413, -0.5271177887916565, -0.33668220043182373, 0.24230608344078064, 0.16077536344528198, 0.14569760859012604, -0.5882938504219055, -0.5698701739311218, 0.055340949445962906, -0.09261573851108551, -0.1803797483444214, 0.45569908618927, 0.4608999490737915, 0.058660317212343216, 0.6429808139801025, 0.8173351287841797, 0.04748997092247009, 0.42107367515563965, -0.09593595564365387, 0.9855656623840332, -0.69512939453125, -0.521759033203125, -0.9380798935890198, 0.11931221932172775, 0.08655579388141632, -0.22923994064331055, 0.6343238949775696, 0.6847714185714722, 0.56626296043396, -0.031299665570259094, 0.4048292338848114, 0.20873954892158508, 0.3896629810333252, -0.39678582549095154, 0.4610114097595215, -0.5251439213752747, 0.04093018174171448, -0.10968044400215149, -0.9492411613464355, -0.27991825342178345, 0.6438689231872559, -0.2908385694026947, -0.07049067318439484, 0.5564104318618774, 0.8395701050758362, -0.2138727903366089, -0.19684872031211853, 0.46727803349494934, 0.30847474932670593, -0.03793007507920265, 0.7786895632743835, 0.7402873635292053, -0.1436648815870285, 0.5614060759544373, -0.29125797748565674, -0.2552497684955597, -0.41488155722618103, -1.0761638879776, -0.735286295413971, -0.18186922371387482, -0.27500617504119873, -0.3088615834712982, 0.07410980761051178, 1.181962013244629, 0.8575581908226013, -0.7474966645240784, -0.09095758199691772, -0.020684385672211647, 0.07266078889369965, 0.12679186463356018, -0.1651236116886139, 0.3809114992618561, -0.5348377227783203, -0.9533475041389465, 0.44806164503097534, 0.38401663303375244, 0.07912032306194305, 0.02400299720466137, -0.21526777744293213, -0.2371528595685959, 0.042033057659864426, 0.8937379717826843, 0.3875081241130829, -0.7645593285560608, -0.06937064230442047, -0.12998129427433014, -0.21454554796218872, 0.30919143557548523, 1.024401068687439, -0.9277786016464233, 0.27552664279937744, 0.3913111090660095, 0.7872440218925476, 0.6771623492240906, 0.2525012195110321, 0.17137689888477325, -0.6734226942062378, 0.7920264005661011, 0.31974273920059204, 0.3709588050842285, 0.17944025993347168, -0.25292837619781494, 0.3738512396812439, 0.4943239688873291, -0.5280367136001587, -0.8581901788711548, 0.07097073644399643, -1.1014105081558228, 0.009878083132207394, 0.985211193561554, -0.1372954249382019, -0.33567389845848083, -0.16799966990947723, -0.1491132378578186, 0.11512455344200134, -0.3746037185192108, 0.5380463600158691, 0.6330791115760803, -0.1411510556936264, -0.24181486666202545, -0.6238924264907837, 0.8991780877113342, 0.750057578086853, -0.5971843600273132, 0.2795621454715729, 0.38671353459358215, 0.05527181550860405, 0.19027793407440186, 0.7140384912490845, 0.17645983397960663, 0.21144168078899384, -0.19834977388381958, -0.007285802159458399, -0.24745750427246094, -0.35957565903663635, -0.21871845424175262, 0.11302462220191956, -0.01740092784166336, -0.10908438265323639 ]
http://arxiv.org/abs/2407.02486v1
http://arxiv.org/pdf/2407.02486v1
Neurocache: Efficient Vector Retrieval for Long-range Language Modeling
2024-07-02T17:59:29
2024-07-02T17:59:29
Ali Safaya, Deniz Yuret
cs.CL
cs.CL, cs.AI, cs.LG
This paper introduces Neurocache, an approach to extend the effective context size of large language models (LLMs) using an external vector cache to store its past states. Like recent vector retrieval approaches, Neurocache uses an efficient k-nearest-neighbor (kNN) algorithm to retrieve relevant past states and incorporate them into the attention process. Neurocache improves upon previous methods by (1) storing compressed states, which reduces cache size; (2) performing a single retrieval operation per token which increases inference speed; and (3) extending the retrieval window to neighboring states, which improves both language modeling and downstream task accuracy. Our experiments show the effectiveness of Neurocache both for models trained from scratch and for pre-trained models such as Llama2-7B and Mistral-7B when enhanced with the cache mechanism. We also compare Neurocache with text retrieval methods and show improvements in single-document question-answering and few-shot learning tasks. We made the source code available under: https://github.com/alisafaya/neurocache
[ -0.23867346346378326, -0.7795186042785645, 0.6441752314567566, 0.12495678663253784, -0.23858673870563507, -0.12101378291845322, -0.5646024942398071, -0.5889645218849182, 0.491811066865921, 0.3537653684616089, -0.29332277178764343, -0.606608510017395, -0.3997859060764313, -0.17499488592147827, -0.6384570598602295, 0.5969910025596619, 0.03037392348051071, 0.09309057891368866, -0.35006850957870483, 0.06173637881875038, -0.15704190731048584, -0.5523461103439331, -0.850596010684967, -0.4622986614704132, 0.8076413869857788, 0.1404518187046051, 0.33381932973861694, 0.45941099524497986, 0.3361983001232147, 0.27751216292381287, -0.38793236017227173, -0.07831715792417526, -0.6483297348022461, 0.3392016291618347, -0.14239339530467987, -0.4602108597755432, -0.3499108850955963, -0.3286115229129791, 0.47827714681625366, 0.4379340708255768, -0.18494468927383423, -0.13323602080345154, -0.112240731716156, 0.5602965950965881, -1.0163832902908325, 0.008094784803688526, -0.5776410102844238, -0.07128287106752396, -0.28149107098579407, 0.035811666399240494, -0.4365452826023102, -0.5210875272750854, 0.37102052569389343, -0.35151439905166626, 0.09006886184215546, -0.3434407114982605, 0.5105613470077515, 0.35806936025619507, -0.25601017475128174, -0.08665715903043747, -0.37263068556785583, 0.7728753089904785, -0.7186048626899719, 0.3262590169906616, 0.6793947219848633, 0.4080907702445984, -0.3830505609512329, -1.13588285446167, -0.6860606074333191, -0.412584125995636, 0.4068296253681183, 0.05008456110954285, -0.18532836437225342, 0.14285750687122345, 0.20417192578315735, 0.24336828291416168, -0.18082009255886078, 0.3685772716999054, -0.22007660567760468, -0.538973331451416, 0.09674762934446335, 0.2013368010520935, 0.19171477854251862, -0.043629083782434464, -0.2504241466522217, -0.14989209175109863, -0.8498818278312683, -0.027656875550746918, 0.4572127163410187, 0.23536813259124756, 0.1267804056406021, 0.3294256925582886, -0.3401019275188446, 0.7842535972595215, -0.5230936408042908, 0.09370049834251404, 0.08240413665771484, -0.22848418354988098, 0.010666772723197937, 0.07981185615062714, 0.3431845009326935, 0.14886754751205444, 0.022382955998182297, -0.318174809217453, 0.0008614382240921259, 0.0827585756778717, 0.3572697341442108, -1.0302138328552246, -0.35660281777381897, 0.03849038854241371, -0.4276840090751648, -0.13246223330497742, -0.1640656590461731, -0.8629546761512756, -0.23472580313682556, -0.20456907153129578, 0.32330408692359924, -0.36797669529914856, -0.14158618450164795, 0.04397425428032875, -0.13918845355510712, 0.3494512438774109, 0.33519965410232544, -0.6697133779525757, 0.46060970425605774, 0.7122797966003418, 1.0529959201812744, -0.6058335304260254, -0.14703793823719025, -0.4931374490261078, -0.05742054432630539, -0.20115315914154053, 0.9545189142227173, -0.7288945317268372, -0.2619091868400574, -0.046461667865514755, -0.044578541070222855, 0.3103235065937042, -0.4128619432449341, 0.529566764831543, -0.8529719114303589, -0.27145251631736755, -0.549214780330658, -0.44767996668815613, -0.4028247594833374, 0.04104545712471008, -0.9320091009140015, 1.3790298700332642, -0.10053582489490509, -0.6571761965751648, -0.055657897144556046, -0.49535542726516724, -0.4765044152736664, -0.30503594875335693, 0.05751089006662369, -0.11435893177986145, 0.2377409040927887, 0.2429477721452713, 0.3773411810398102, -0.3720892369747162, -0.10276898741722107, -0.5244380831718445, -0.46324875950813293, -0.022654453292489052, -0.40705135464668274, 0.7656417489051819, -0.07703155279159546, -0.16182170808315277, 0.16357484459877014, -0.6369374990463257, 0.10859685391187668, 0.029871638864278793, -0.2712521255016327, -0.5766617655754089, 0.033682722598314285, -0.06654370576143265, 0.3767135739326477, 0.5472906231880188, -0.7486711740493774, 0.2280968427658081, -0.733822226524353, 0.6373171806335449, 0.7996208071708679, -0.09482209384441376, 0.4441610872745514, 0.010516878217458725, 0.4238950312137604, -0.0683814138174057, -0.1637653112411499, -0.08638644963502884, -0.2111029177904129, -0.8475719690322876, -0.191721111536026, 0.48901328444480896, 0.2556670308113098, -0.7083005309104919, 0.31966477632522583, -0.3067722022533417, -0.5570475459098816, -0.3492382764816284, -0.08302473276853561, 0.13567174971103668, 0.6983769536018372, 0.3528097867965698, -0.41782158613204956, -0.3509739637374878, -0.9450823068618774, 0.21882760524749756, 0.22349289059638977, 0.15735803544521332, 0.3025367856025696, 0.5329756140708923, -0.18345125019550323, 0.7234092950820923, -0.6133971810340881, -0.08119864761829376, -0.053924258798360825, -0.1699647158384323, 0.12302318215370178, 0.26612749695777893, 0.3245934545993805, -0.23016004264354706, -0.21855930984020233, -0.12301083654165268, -0.2587369680404663, 0.036135148257017136, 0.38468503952026367, -0.3847830593585968, 0.4929791986942291, 0.8769510984420776, -0.6219104528427124, 0.6687890291213989, 0.6071837544441223, 0.1239500343799591, 0.3504997193813324, -0.3454073369503021, -0.1664094477891922, -1.054571270942688, 0.2883051335811615, -0.40683308243751526, -0.3070847690105438, -0.35467958450317383, 0.06308405101299286, 0.29924094676971436, -0.013788262382149696, -0.4223826229572296, 0.7501271963119507, -0.5819574594497681, -0.22755810618400574, -0.8304100036621094, 0.3881610631942749, -0.25544869899749756, 0.5439272522926331, -0.10139451175928116, 0.765737771987915, 0.8322803974151611, -0.7473763823509216, 0.31546029448509216, -0.055792201310396194, -0.4532783031463623, 0.17074768245220184, -0.6195183992385864, 0.7077853679656982, -0.21888193488121033, 0.620451033115387, -1.0380364656448364, 0.20573732256889343, -0.19860033690929413, -0.33416691422462463, 0.24568544328212738, -0.1104019433259964, -0.6898936629295349, -0.26873910427093506, -0.26406970620155334, 0.5090916156768799, 0.29958251118659973, -0.8508320450782776, 0.6723427176475525, 0.5778273344039917, -0.030669821426272392, -0.7352701425552368, -0.5472628474235535, 0.08216799795627594, 0.08452090620994568, -0.3462468385696411, 0.4869069457054138, -0.05217082425951958, 0.21683725714683533, 0.00244640139862895, -0.3999905586242676, -0.1041097417473793, 0.05800051614642143, 0.15997684001922607, -0.007745165377855301, -0.009916648268699646, 0.5230311751365662, 0.16632381081581116, -0.2146006077528, 0.008711292408406734, -0.20893917977809906, 1.0027002096176147, -0.0030871962662786245, 0.062460485845804214, -0.23246023058891296, 0.37382248044013977, 0.23067690432071686, -0.37762919068336487, 0.6069809794425964, 0.3942035436630249, -0.672326385974884, -0.48604580760002136, -0.4432463049888611, -0.6197961568832397, -0.4576212465763092, 0.5232139229774475, -0.2770310044288635, -0.8760299682617188, 0.7682479023933411, -0.22632384300231934, -0.1460879147052765, 0.4356588125228882, 0.7545149922370911, 0.22315889596939087, 0.6956673264503479, 0.8144176006317139, -0.4414387345314026, 0.6345687508583069, -0.2717551290988922, 0.06745000183582306, -0.959232747554779, -0.12799787521362305, -0.6515417098999023, -0.5290250182151794, -0.25883081555366516, -0.6525276899337769, 0.17659197747707367, -0.07329979538917542, -0.05973711609840393, 0.40193691849708557, -0.4008786678314209, 0.6555715203285217, 0.47065749764442444, 0.43132489919662476, 0.09110952168703079, 0.16804403066635132, -0.49263617396354675, -0.06169847398996353, -0.6260671019554138, -0.125341534614563, 1.1081188917160034, 0.13021741807460785, 0.7861992716789246, 0.12173424661159515, 0.5628268122673035, -0.27144232392311096, 0.37762513756752014, -1.059462070465088, 0.6424990892410278, -0.08695509284734726, -0.4908652901649475, -0.2830449342727661, -0.2276613861322403, -1.1653391122817993, 0.1941346377134323, -0.001238516764715314, -0.8639533519744873, 0.041141338646411896, -0.0885210782289505, -0.4431423842906952, 0.23661020398139954, -0.44649067521095276, 0.5626246929168701, -0.04035402089357376, -0.4390143156051636, -0.6863502264022827, -0.628257155418396, 0.09655618667602539, 0.008663011714816093, -0.5617839097976685, 0.014268455095589161, -0.3469690978527069, 0.71558678150177, -0.4119561016559601, 0.778550386428833, -0.013721292838454247, -0.24753813445568085, 0.22983968257904053, 0.1609993278980255, 0.7155344486236572, -0.15254375338554382, -0.25129950046539307, 0.3313899040222168, -0.19927598536014557, -0.2447005808353424, -0.8581807017326355, 1.2395505905151367, -0.45549216866493225, -0.3347247242927551, -0.3835785388946533, -0.5889814496040344, -0.09690787643194199, 0.4413508474826813, 0.04893219843506813, 0.5507885813713074, 0.04926299676299095, 0.3245275616645813, 0.7801418900489807, -0.3117018938064575, 0.757453441619873, 0.40949293971061707, -0.015752580016851425, -0.3003442585468292, 0.6036041975021362, 0.1937442570924759, 0.0801641196012497, 0.5240683555603027, 0.11317384988069534, -0.2793304920196533, -0.49464452266693115, 0.1750604212284088, 0.21405549347400665, -0.9631636142730713, -0.38459324836730957, -0.7824461460113525, -0.08614332973957062, -0.2334386259317398, 0.19813963770866394, -0.5469154715538025, -0.47150474786758423, -0.32615944743156433, -0.1358093023300171, 0.7074957489967346, 0.4245534837245941, -0.011061838828027248, 0.35822340846061707, -0.26186609268188477, 0.3268246352672577, 0.01812904141843319, 0.6096406579017639, 0.46349450945854187, -0.4003734290599823, -0.23913411796092987, -0.16564080119132996, -0.09018529951572418, -0.9573444128036499, 0.45959725975990295, -0.06022798642516136, 0.5945370197296143, -0.013407199643552303, -0.14750364422798157, 0.7878519296646118, -0.6080673933029175, 0.3823671042919159, -0.13348829746246338, -0.7569372653961182, 0.37863829731941223, -0.016031663864850998, 0.7177372574806213, 0.7186035513877869, 0.3805299401283264, -0.413571834564209, -0.06998270750045776, -0.4211171865463257, -1.2655363082885742, 0.3936060667037964, -0.10115113854408264, 0.31443193554878235, -0.31875017285346985, 0.6105262041091919, 0.033851686865091324, -0.13131873309612274, -0.3771961033344269, -0.311279833316803, 0.189479798078537, -0.158822700381279, -0.13340282440185547, -0.14436815679073334, 0.19153031706809998, -0.4224255084991455, 0.6917592883110046, -0.2332472950220108, 0.5926080346107483, 0.32864341139793396, -0.24989071488380432, 0.2041746973991394, -0.14025373756885529, 0.6198307275772095, 0.5515507459640503, -0.05064770579338074, 0.2817264199256897, 0.38421258330345154, -0.6659468412399292, -0.2028157263994217, 0.14922437071800232, 0.17376309633255005, -0.09272035211324692, -0.10916265845298767, 0.3928273916244507, 0.28771206736564636, -0.5725489258766174, 0.43963027000427246, -0.1919284611940384, 0.1430213898420334, -0.4405878186225891, -0.07058229297399521, 0.35797014832496643, 0.2607738971710205, 0.20932637155056, -0.324564129114151, 0.2674351632595062, -0.3028142750263214, 0.3858044147491455, 0.45396000146865845, -0.41814666986465454, 0.013015196658670902, 0.4237097501754761, -0.009837170131504536, -0.0015930811641737819, 0.8557258248329163, 0.11048692464828491, -0.4032571315765381, 0.5779862999916077, 0.601965069770813, 0.9005817770957947, -0.13369664549827576, -0.2080116719007492, 0.4699855446815491, 0.19641850888729095, -0.23646830022335052, 0.34140342473983765, -0.22964027523994446, -0.5352475643157959, -0.6851241588592529, -0.46553078293800354, -0.20326505601406097, 0.24078711867332458, -0.4330970048904419, 0.17669646441936493, -0.42960503697395325, -0.4139364957809448, -0.08720661699771881, 0.1054263710975647, -0.46411168575286865, -0.19088883697986603, -0.10459993034601212, 1.2517317533493042, -0.36084264516830444, 1.2131584882736206, 0.3590826690196991, -0.19295649230480194, -0.4609350264072418, 0.024785375222563744, -0.2969217002391815, -0.6066632270812988, 0.7409623861312866, 0.22682037949562073, -0.42403075098991394, 0.10860932618379593, -0.7963722944259644, -1.2728279829025269, 0.969455361366272, 0.511337161064148, -0.4422347843647003, 0.03027147427201271, -0.5104607939720154, 0.6982922554016113, -0.00796616729348898, 0.2736470699310303, 0.5129116773605347, 0.17434075474739075, -0.07531685382127762, -0.6107770204544067, 0.2242334932088852, -0.27262169122695923, 0.15676511824131012, 0.4594188332557678, -0.4826444089412689, 0.6790239214897156, -0.12830884754657745, -0.13946232199668884, 0.27248942852020264, 1.1113903522491455, 0.19780930876731873, -0.22617462277412415, 0.26884177327156067, 0.8980043530464172, 0.7514079213142395, 0.013132530264556408, 1.3145722150802612, -0.3172452449798584, 0.14683957397937775, 1.299018144607544, -0.15731531381607056, 1.1612613201141357, 0.6187790036201477, 0.23415960371494293, 0.6273550391197205, 0.4361402988433838, 0.28494253754615784, 0.658536434173584, 0.6026474833488464, -0.2711442708969116, -0.19056689739227295, 0.07241848111152649, -0.17977958917617798, 0.4290759861469269, 0.34025824069976807, -0.23143236339092255, -0.44234082102775574, -0.07716155797243118, 0.16849789023399353, -0.09466516226530075, -0.22126248478889465, 0.5420124530792236, 0.3275749385356903, -0.6631548404693604, 0.5718899369239807, 0.15180793404579163, 0.6939755082130432, -0.5274691581726074, -0.19575488567352295, -0.2050936222076416, 0.2703182101249695, 0.073316290974617, -0.49657556414604187, 0.10223626345396042, -0.2336941659450531, -0.1732405424118042, 0.13735395669937134, 0.8283812999725342, -0.43988847732543945, -0.20516595244407654, 0.41265833377838135, 0.07906307280063629, 0.24464499950408936, -0.17995508015155792, -0.5358942151069641, 0.05863570421934128, -0.45984718203544617, -0.23584863543510437, 0.27676305174827576, 0.0381060428917408, -0.26004719734191895, 0.7314997911453247, 0.6332525610923767, 0.10396602749824524, 0.24127095937728882, 0.1600557118654251, 0.9007692337036133, -0.7429071068763733, -0.5443326234817505, -0.7877820730209351, 0.02929539605975151, -0.1057664155960083, -0.32505661249160767, 0.7103055715560913, 0.5910550355911255, 0.7160392999649048, 0.17287379503250122, 0.4186384081840515, 0.15782591700553894, 0.3805932402610779, -0.5923376083374023, 0.6778491735458374, -0.35221317410469055, -0.16285589337348938, -0.1362965852022171, -0.9147461652755737, -0.34375083446502686, 0.8556810617446899, -0.4399303197860718, 0.2908574640750885, 0.9105521440505981, 1.0745261907577515, -0.025566166266798973, -0.04394249990582466, 0.12276487052440643, 0.2543458640575409, 0.2121007740497589, 0.8630160093307495, 0.6968855261802673, -0.3878686726093292, 0.40426963567733765, -0.39137277007102966, 0.05024021863937378, -0.1745639443397522, -1.0625115633010864, -0.912594199180603, -0.5348219871520996, -0.07109478116035461, -0.40723076462745667, -0.13984403014183044, 0.7208713293075562, 0.6886625289916992, -0.5170527696609497, -0.09486402571201324, -0.12064166367053986, 0.058195050805807114, -0.09445618838071823, -0.21975795924663544, 0.668316662311554, -0.27836769819259644, -0.7545639872550964, 0.5172617435455322, 0.22236855328083038, -0.09679710119962692, -0.3960689604282379, 0.16877815127372742, -0.3029632866382599, 0.01659291610121727, 0.7645999193191528, 0.30248382687568665, -0.5613811016082764, -0.21691399812698364, 0.11166109144687653, -0.3049536347389221, 0.07362400740385056, 0.8555050492286682, -0.996766209602356, 0.3834958076477051, 0.8082939386367798, 0.9600637555122375, 0.943116307258606, -0.5000256299972534, 0.5106722116470337, -0.48473161458969116, 0.2799554765224457, 0.3153058588504791, 0.39553412795066833, 0.1997675597667694, -0.23500171303749084, 0.2739216089248657, -0.1562887281179428, -0.42911484837532043, -0.6373418569564819, 0.20148605108261108, -1.1854910850524902, -0.4245934784412384, 1.1971405744552612, 0.21074119210243225, -0.5866818428039551, 0.04263778030872345, -0.22913102805614471, 0.4075379967689514, -0.4449003040790558, 0.7586392164230347, 0.8068466186523438, 0.15548430383205414, -0.07346721738576889, -0.9016837477684021, 0.5027419924736023, 0.5207372903823853, -0.9516499638557434, 0.03236297890543938, 0.4219561219215393, 0.30764099955558777, -0.04736366122961044, 0.4735730290412903, -0.4777475595474243, 0.37106770277023315, -0.2802232801914215, 0.17314673960208893, 0.043263211846351624, -0.538363516330719, -0.6471858620643616, 0.0975925624370575, -0.3461141884326935, 0.1566901057958603 ]
http://arxiv.org/abs/2407.02485v1
http://arxiv.org/pdf/2407.02485v1
RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMs
2024-07-02T17:59:17
2024-07-02T17:59:17
Yue Yu, Wei Ping, Zihan Liu, Boxin Wang, Jiaxuan You, Chao Zhang, Mohammad Shoeybi, Bryan Catanzaro
cs.CL
cs.CL, cs.AI, cs.IR, cs.LG
Large language models (LLMs) typically utilize the top-k contexts from a retriever in retrieval-augmented generation (RAG). In this work, we propose a novel instruction fine-tuning framework RankRAG, which instruction-tunes a single LLM for the dual purpose of context ranking and answer generation in RAG. In particular, the instruction-tuned LLMs work surprisingly well by adding a small fraction of ranking data into the training blend, and outperform existing expert ranking models, including the same LLM exclusively fine-tuned on a large amount of ranking data. For generation, we compare our model with many strong baselines, including GPT-4-0613, GPT-4-turbo-2024-0409, and ChatQA-1.5, an open-sourced model with the state-of-the-art performance on RAG benchmarks. Specifically, our Llama3-RankRAG significantly outperforms Llama3-ChatQA-1.5 and GPT-4 models on nine knowledge-intensive benchmarks. In addition, it also performs comparably to GPT-4 on five RAG benchmarks in the biomedical domain without instruction fine-tuning on biomedical data, demonstrating its superb capability for generalization to new domains.
[ -0.3257026672363281, -0.6662594079971313, 0.41456031799316406, 0.08058788627386093, -0.3417941629886627, 0.15839076042175293, -0.44792312383651733, -0.22259460389614105, 0.01128395926207304, 0.498620867729187, -0.3031367063522339, -0.7497921586036682, -0.7850132584571838, -0.018446002155542374, -0.3032395541667938, 1.361427903175354, 0.25471460819244385, 0.15112300217151642, -0.24940373003482819, -0.12321227043867111, -0.5619617700576782, -0.39564037322998047, -0.8318115472793579, -0.2815174460411072, 0.6666643023490906, 0.6187683939933777, 0.4873911142349243, 0.6507542729377747, 0.5022206902503967, 0.2630837857723236, -0.2480393797159195, 0.3613683879375458, -0.9276094436645508, 0.4629169702529907, -0.056794457137584686, -0.288004994392395, -0.7740089893341064, -0.054968323558568954, 0.6881147623062134, 0.7017521858215332, -0.21760064363479614, 0.2699168920516968, 0.22551214694976807, 0.6281007528305054, -0.7316679954528809, -0.10931351035833359, -0.8988418579101562, -0.25806838274002075, -0.29594969749450684, -0.6741482019424438, -0.44230595231056213, -0.24482207000255585, -0.26957419514656067, -0.5798628330230713, 0.2015533149242401, 0.21014466881752014, 0.5554776787757874, 0.8210051655769348, -0.418899804353714, -0.11791519820690155, -0.3441520631313324, 0.7636762857437134, -0.5428891181945801, 0.29769986867904663, 0.30555933713912964, 0.4689123332500458, -0.34664273262023926, -0.8380777835845947, -0.18741290271282196, 0.03695760667324066, 0.05794588476419449, 0.14990223944187164, 0.18318167328834534, 0.08215517550706863, 0.028374474495649338, 0.38429585099220276, -0.481308251619339, 0.22992119193077087, -0.5627887845039368, 0.2777310609817505, 0.5351238250732422, 0.0769314095377922, 0.0658465251326561, -0.0067777144722640514, -0.45457354187965393, 0.05785435810685158, -1.2024081945419312, -0.07699692994356155, -0.013635004870593548, 0.4103875160217285, 0.08856169134378433, 0.4172957241535187, -0.4098275601863861, 0.8631910085678101, 0.27660706639289856, -0.10845679044723511, 0.030575335025787354, 0.029582850635051727, -0.15802045166492462, 0.24029284715652466, 0.49662357568740845, 0.4309019148349762, 0.008481190539896488, -0.39215508103370667, -0.24077606201171875, -0.30934804677963257, 0.49950140714645386, -1.1737186908721924, -0.16431352496147156, 0.1775851547718048, -0.09495832026004791, -0.4825544059276581, -0.1709219515323639, -0.6055417060852051, -0.4190426468849182, -0.12251552939414978, 0.6119828820228577, -0.14535307884216309, 0.16076919436454773, 0.1198868602514267, 0.15593507885932922, 0.30107811093330383, 0.33164888620376587, -1.0555890798568726, 0.18262121081352234, 0.9395662546157837, 0.6185744404792786, -0.6013619899749756, -0.20731885731220245, -0.9256550073623657, 0.36403921246528625, -0.4746961295604706, 1.0255815982818604, -0.8818677067756653, -0.3497221767902374, -0.2342255562543869, -0.02923838049173355, -0.13522978127002716, -0.7351414561271667, 0.6801354289054871, -0.6994871497154236, 0.3189757168292999, -0.11567621678113937, -0.7389165759086609, 0.09511765837669373, 0.12182135134935379, -0.2821482717990875, 1.3277122974395752, 0.04321231693029404, -0.7763776779174805, 0.44547438621520996, -0.5828056931495667, -0.3050778806209564, 0.33833056688308716, -0.27638232707977295, -0.21993254125118256, 0.055249329656362534, 0.2760404944419861, 0.576373815536499, -0.42534834146499634, 0.3760257959365845, -0.1256251335144043, -0.8754822015762329, -0.06389066576957703, -0.34387442469596863, 0.45358574390411377, -0.015607657842338085, -0.40241846442222595, 0.2148677408695221, -0.5425308346748352, 0.246257022023201, -0.13203011453151703, -0.7153192162513733, -0.25354304909706116, -0.07300300151109695, -0.17143934965133667, 0.03389284014701843, 0.5231205224990845, -0.5713784098625183, 0.43589845299720764, -0.3587535619735718, 0.266445517539978, 0.7328688502311707, 0.09138897806406021, 0.4231903553009033, -0.34397539496421814, 0.4818035364151001, -0.14732283353805542, -0.2307845950126648, -0.012912251055240631, -0.5130341053009033, -0.7676425576210022, -0.31428560614585876, 0.4754164516925812, 0.5438290238380432, -0.5413680672645569, 0.2651921212673187, -0.4288311004638672, -0.31668728590011597, -0.813605546951294, 0.14306066930294037, 0.6344163417816162, 0.675512433052063, 0.6389814615249634, 0.0014996649697422981, -0.30939167737960815, -0.7895874977111816, -0.3019016683101654, 0.14431826770305634, -0.24414657056331635, 0.5476038455963135, 0.12911321222782135, -0.26083019375801086, 0.6390034556388855, -0.5170878767967224, -0.2096097767353058, -0.15511098504066467, 0.008013683371245861, 0.3834206461906433, 0.5300362706184387, 0.2658172845840454, -0.7021197080612183, -0.4180741608142853, 0.039621010422706604, -0.6280077695846558, -0.3488188087940216, 0.46485772728919983, -0.3213937282562256, 0.23483318090438843, 0.5857186913490295, -0.37053194642066956, 0.21549387276172638, 0.4267585277557373, -0.23945295810699463, 0.3146430253982544, -0.44557496905326843, 0.33773449063301086, -1.3329741954803467, 0.1679820865392685, -0.35800766944885254, -0.18761958181858063, -0.4257654547691345, 0.23139868676662445, 0.07513143867254257, -0.04800569266080856, -0.30447158217430115, 0.9031672477722168, -0.16673672199249268, -0.11762122064828873, -0.42153629660606384, 0.04876336455345154, -0.059218890964984894, 0.5393447875976562, -0.16629812121391296, 1.2712455987930298, 0.4309283494949341, -0.6814976334571838, -0.11572536826133728, 0.2959492802619934, -0.3290160298347473, 0.5127524137496948, -0.907372236251831, 0.07715976983308792, -0.15698473155498505, 0.29997074604034424, -0.8948285579681396, -0.5642883777618408, -0.1063140332698822, -0.4397055208683014, 0.6039541363716125, -0.30672499537467957, -0.23887425661087036, 0.033274900168180466, -0.2914605140686035, 0.45604726672172546, 0.6275244951248169, -0.7649028897285461, -0.04075051471590996, 0.5769239664077759, -0.41975831985473633, -0.975470244884491, -0.3096059560775757, -0.018037982285022736, -0.45863503217697144, -0.30859243869781494, 0.6760785579681396, -0.22576314210891724, 0.03447207808494568, -0.3364921808242798, -0.29534271359443665, -0.1969752162694931, 0.17946206033229828, 0.12950032949447632, 0.08018843084573746, -0.17625737190246582, 0.26063066720962524, 0.5453888177871704, -0.2797020673751831, -0.267398864030838, -0.19049210846424103, 0.36885225772857666, -0.10198657959699631, -0.24529588222503662, -0.06917040795087814, 0.2383130043745041, 0.5597886443138123, -0.22138027846813202, 0.6691779494285583, 0.6056569218635559, -0.14925256371498108, -0.39074981212615967, -0.37336182594299316, -0.25046736001968384, -0.5023441314697266, 0.3468918204307556, -0.24958713352680206, -1.3957158327102661, 0.14121897518634796, -0.3341189920902252, 0.2510250210762024, 0.16448882222175598, 0.7281494736671448, -0.11060868203639984, 1.1399612426757812, 0.46055030822753906, 0.01645193062722683, 0.22566868364810944, -0.12415708601474762, 0.10831154137849808, -1.2595984935760498, -0.09607133269309998, -0.46991655230522156, -0.485653281211853, -0.7221116423606873, -0.5987601280212402, 0.9650359153747559, 0.5055227875709534, -0.48410800099372864, 0.04375850409269333, -0.7612403035163879, 0.6487922668457031, 0.4729365408420563, 0.04486894607543945, 0.2836683392524719, 0.04221837967634201, -0.2635922133922577, 0.08082003146409988, -0.873492956161499, -0.6222097873687744, 1.284997582435608, -0.026072774082422256, 0.6502009034156799, 0.14282652735710144, 1.0058635473251343, 0.18160003423690796, 0.45809847116470337, -0.5605260133743286, 0.5192845463752747, -0.38838186860084534, -0.4896812438964844, -0.2891848683357239, -0.3782801330089569, -1.2116538286209106, 0.4983937442302704, -0.08142247796058655, -0.6771358847618103, -0.19697846472263336, 0.2026541382074356, -0.3876766562461853, 0.020126814022660255, -0.40564221143722534, 0.8454025387763977, -0.0914183109998703, -0.6726052165031433, -0.1692294329404831, -0.43127205967903137, 0.4188246726989746, 0.0664202943444252, 0.05359838530421257, -0.22749903798103333, -0.29685014486312866, 0.5826867818832397, -0.29822003841400146, 0.5051367282867432, -0.25122249126434326, -0.16585847735404968, -0.10529907792806625, -0.18078958988189697, 0.19170255959033966, 0.3709010183811188, -0.268392950296402, 0.03103278949856758, 0.00457037566229701, -0.360095351934433, -0.5900684595108032, 1.087099313735962, -0.5882750749588013, -0.8009724020957947, 0.03734540566802025, -0.6040217280387878, -0.41925710439682007, 0.26106202602386475, 0.5050272941589355, 0.6775487065315247, -0.0012937175342813134, 0.5642656087875366, 0.8500950932502747, -0.3407415747642517, 0.1389298141002655, 0.5305016040802002, -0.10629179328680038, -0.3733851909637451, 0.9558627605438232, -0.07114765793085098, -0.060615092515945435, 0.5674014091491699, 0.12788109481334686, -0.2408820241689682, -0.5922386646270752, -0.8440584540367126, 0.049002375453710556, -0.4881278872489929, -0.4991307854652405, -0.6249815821647644, -0.21380099654197693, -0.2804175317287445, -0.217027485370636, -0.41323626041412354, -0.5075621604919434, -0.028336497023701668, 0.17424148321151733, 0.4687511622905731, 0.8406698703765869, 0.1384177803993225, 0.26759085059165955, -0.5397375226020813, 0.40159139037132263, 0.37226006388664246, 0.5348133444786072, -0.13728547096252441, -0.7565475106239319, -0.22250278294086456, -0.010577978566288948, -0.37284156680107117, -0.6080923080444336, 0.21983033418655396, 0.3577110767364502, 0.6005412340164185, 0.12231450527906418, 0.10509441047906876, 0.7114847302436829, -0.9595419764518738, 0.5921763181686401, -0.49015048146247864, -0.5029199719429016, 0.41854724287986755, -0.6684940457344055, 0.36013463139533997, 0.7826359272003174, 0.2612384259700775, -0.2562219798564911, -0.604857325553894, -0.3848000466823578, -1.0284736156463623, 0.6451844573020935, -0.015134874731302261, 0.07690447568893433, -0.13907724618911743, 0.49871352314949036, 0.1690339297056198, 0.30404964089393616, -0.3727327287197113, -0.2957060933113098, 0.145297110080719, -0.2831534743309021, -0.034108761698007584, -0.2601992189884186, -0.18795524537563324, -0.4352284371852875, 0.7427478432655334, -0.24924063682556152, 0.3071419894695282, -0.06593582034111023, -0.016903970390558243, -0.0159357450902462, 0.5367035269737244, 0.671881914138794, 0.5950008034706116, -0.2707138955593109, -0.028766468167304993, 0.3372964859008789, -0.3471602201461792, -0.0036566981580108404, 0.1984747350215912, -0.21709656715393066, -0.2626330256462097, 0.17113468050956726, 0.7325332164764404, 0.9887859225273132, -0.5832787156105042, 0.42051962018013, -0.06599545478820801, 0.11622874438762665, -0.07466613501310349, 0.5322036743164062, 0.24214409291744232, 0.165890634059906, 0.5088139176368713, -0.16788248717784882, 0.2684987783432007, 0.011298928409814835, 0.3540233075618744, 0.5463159084320068, -0.16139554977416992, -0.03700637072324753, 0.9889769554138184, 0.2353246808052063, -0.17472591996192932, 0.2776280343532562, -0.20216432213783264, -0.33784034848213196, 0.4480806589126587, 0.592759907245636, 0.5078502893447876, -0.28076082468032837, 0.012638922780752182, 0.5104875564575195, -0.0770634263753891, -0.0663173645734787, 0.20265308022499084, -0.37480202317237854, -0.3760349750518799, -0.4837654232978821, -1.0753436088562012, -0.5580757260322571, 0.15453694760799408, -0.7967715859413147, 0.13897259533405304, -0.18765147030353546, 0.14120124280452728, -0.13828401267528534, 0.07760731875896454, -0.4763399064540863, 0.0823386162519455, -0.048427268862724304, 0.7585403919219971, -0.2368716299533844, 0.9538264870643616, 0.9835569858551025, 0.041800227016210556, -0.6587895750999451, 0.059245720505714417, -0.18748661875724792, -0.7093364000320435, 0.595238447189331, 0.3780643045902252, -0.3514145612716675, 0.5061333775520325, -0.5592181086540222, -0.9669626951217651, 1.3737454414367676, 0.5288966298103333, -0.2804347574710846, 0.006161365192383528, -0.23322179913520813, 0.5129674077033997, -0.496358722448349, 0.2759212851524353, 0.5091729164123535, 0.2611068785190582, 0.18260051310062408, -0.9525654315948486, -0.1270827353000641, -0.3650811016559601, -0.11933203786611557, 0.2648056149482727, -0.706981360912323, 0.8911613821983337, -0.22218894958496094, -0.21862544119358063, 0.21640245616436005, 0.45806342363357544, 0.8704903721809387, 0.20790733397006989, 0.09016641229391098, 0.6866798996925354, 0.8296166062355042, 0.052891798317432404, 1.1390495300292969, -0.6696339845657349, 0.14786474406719208, 1.1929316520690918, -0.27312466502189636, 1.1848126649856567, 0.19835416972637177, 0.1341642290353775, 0.5533003807067871, 0.5202206373214722, 0.45885777473449707, 0.46516451239585876, 0.05220301076769829, -0.2593573331832886, -0.3748675584793091, -0.0014180237194523215, -0.5856444239616394, 0.6965798139572144, 0.4940895140171051, -0.13836152851581573, -0.39531126618385315, -0.29194310307502747, 0.037046391516923904, -0.0003089483070652932, -0.40423956513404846, 0.8839775919914246, -0.061462849378585815, -0.8810634016990662, 1.180403232574463, 0.18382278084754944, 0.814604640007019, -0.2605088949203491, -0.2649766206741333, -0.4408649504184723, 0.10548649728298187, -0.09953048080205917, -0.5043540000915527, -0.019733402878046036, 0.26785749197006226, -0.18925830721855164, -0.24893100559711456, 0.6906429529190063, -0.6332409381866455, -0.41490843892097473, 0.06804025173187256, 0.5073623657226562, 0.29571619629859924, 0.15476781129837036, -0.5921250581741333, 0.11125747859477997, -0.21891769766807556, -0.4495633840560913, 0.6056442260742188, 0.3472177982330322, -0.13203614950180054, 0.6584326028823853, 0.37413376569747925, 0.016444187611341476, 0.04316838085651398, 0.008197094313800335, 0.9295734763145447, -0.4369937479496002, -0.41598138213157654, -0.4138900935649872, 0.32151612639427185, -0.10837647318840027, -0.4469662606716156, 0.520587146282196, 0.5702469944953918, 0.8073384761810303, 0.1684114933013916, 0.472687304019928, 0.10843843221664429, 0.8533098101615906, -0.5342763662338257, 0.9576238393783569, -0.7557141780853271, 0.42718061804771423, 0.0076837907545268536, -0.9568663239479065, -0.14593270421028137, 0.6745057106018066, -0.34620431065559387, 0.2825138568878174, 0.46907225251197815, 0.9696886539459229, -0.20960302650928497, -0.24699977040290833, 0.36157482862472534, 0.14030848443508148, 0.01353892870247364, 0.6984038352966309, 0.5571233034133911, -0.33380913734436035, 0.35117897391319275, 0.02214837819337845, -0.2910695970058441, -0.31250688433647156, -0.6893381476402283, -0.8575085401535034, -0.4493498206138611, 0.01629607379436493, 0.09619119018316269, 0.2657165825366974, 0.774684727191925, 0.8529848456382751, -0.7406704425811768, -0.16843701899051666, 0.12556782364845276, 0.10074231028556824, 0.04475855827331543, -0.214244082570076, 0.3759673833847046, -0.8369897603988647, -0.9296550154685974, 0.9968721270561218, 0.35931459069252014, -0.44831568002700806, -0.1057872548699379, -0.21271094679832458, 0.05791290104389191, -0.08342774957418442, 0.6269299983978271, 0.07561109215021133, -0.7015566825866699, -0.25370731949806213, -0.14057528972625732, -0.28609326481819153, 0.08214661478996277, 0.7258300185203552, -1.0331108570098877, 0.1824072003364563, 0.293322890996933, 0.991020679473877, 0.2720082104206085, 0.35227280855178833, 0.46047717332839966, -1.089242935180664, 0.06446552276611328, 0.18686266243457794, 0.13006719946861267, 0.4503342807292938, -0.47074079513549805, 0.6393671035766602, -0.22082461416721344, -0.9979416728019714, -0.9355481863021851, 0.1023247167468071, -0.8030903339385986, -0.27998262643814087, 1.2155401706695557, 0.0950099304318428, -0.00900695938616991, 0.09875839948654175, -0.13926751911640167, 0.24167834222316742, -0.37271392345428467, 0.9577074646949768, 0.2586982250213623, -0.269214391708374, -0.06644266843795776, -0.8999046683311462, 0.7938387989997864, 0.6352049112319946, -0.8699049949645996, 0.05454190820455551, 0.5436347126960754, 0.3142874538898468, -0.2493681162595749, 0.6799255013465881, -0.11888808012008667, 0.3968871533870697, -0.3815305531024933, -0.1262940764427185, -0.26849642395973206, -0.5120483636856079, -0.23485791683197021, 0.3983268737792969, 0.1965886801481247, -0.03658755496144295 ]
http://arxiv.org/abs/2407.02483v1
http://arxiv.org/pdf/2407.02483v1
MMedAgent: Learning to Use Medical Tools with Multi-modal Agent
2024-07-02T17:58:23
2024-07-02T17:58:23
Binxu Li, Tiankai Yan, Yuanting Pan, Zhe Xu, Jie Luo, Ruiyang Ji, Shilong Liu, Haoyu Dong, Zihao Lin, Yixin Wang
cs.CL
cs.CL, cs.AI
Multi-Modal Large Language Models (MLLMs), despite being successful, exhibit limited generality and often fall short when compared to specialized models. Recently, LLM-based agents have been developed to address these challenges by selecting appropriate specialized models as tools based on user inputs. However, such advancements have not been extensively explored within the medical domain. To bridge this gap, this paper introduces the first agent explicitly designed for the medical field, named \textbf{M}ulti-modal \textbf{Med}ical \textbf{Agent} (MMedAgent). We curate an instruction-tuning dataset comprising six medical tools solving seven tasks, enabling the agent to choose the most suitable tools for a given task. Comprehensive experiments demonstrate that MMedAgent achieves superior performance across a variety of medical tasks compared to state-of-the-art open-source methods and even the closed-source model, GPT-4o. Furthermore, MMedAgent exhibits efficiency in updating and integrating new medical tools.
[ -0.12541690468788147, -0.6818450093269348, 0.914337158203125, -0.10924208164215088, -0.22270147502422333, 0.20435532927513123, -0.016820058226585388, -0.4413871467113495, 0.30944082140922546, 0.1782640516757965, -0.8263185620307922, -0.41390690207481384, -0.5657680630683899, 0.18932634592056274, 0.11070354282855988, 0.9731587171554565, 0.16833749413490295, 0.4593508243560791, -0.10487052798271179, -0.2770855128765106, -0.3706144392490387, -0.5724008083343506, -0.6353578567504883, -0.6211923956871033, 0.9835065603256226, 0.23785343766212463, 0.9600241780281067, 0.6386483311653137, 0.5530722737312317, 0.40971338748931885, 0.43509945273399353, 0.5519258975982666, -0.16828733682632446, 0.19359341263771057, -0.24689224362373352, -0.45362958312034607, -0.6954068541526794, 0.2073686420917511, 0.18331684172153473, 0.6123902201652527, -0.33948978781700134, -0.02549527771770954, -0.24485443532466888, 0.3856794536113739, -0.5204347372055054, -0.012953256256878376, -0.30711472034454346, -0.08950287103652954, -0.007209319621324539, -0.42696383595466614, -0.5235632061958313, 0.07579491287469864, -0.002936094766482711, -0.7924360632896423, -0.012044181115925312, -0.14560234546661377, 0.47098374366760254, 0.6637062430381775, -0.6897519826889038, -0.3938775062561035, -0.6589581966400146, 0.9200074076652527, -0.44555720686912537, 0.6447934508323669, 0.4055742621421814, 0.5724051594734192, -0.2263900637626648, -0.8291990160942078, -0.11456072330474854, -0.5765740275382996, 0.27969661355018616, 0.16993047297000885, 0.0049013979732990265, 0.29553937911987305, -0.002183926058933139, 0.08156061917543411, -0.48545342683792114, 0.4884767234325409, -0.29240304231643677, -0.23482832312583923, 0.29408445954322815, 0.5491443872451782, 0.14078451693058014, 0.22479978203773499, -0.44300714135169983, 0.06561432033777237, -0.5139712691307068, -0.21601833403110504, -0.14291219413280487, 0.04720457270741463, -0.15509767830371857, 0.5945925116539001, 0.05536211282014847, 0.5280463099479675, 0.11793334037065506, -0.6699430346488953, 0.5529909729957581, -0.17161549627780914, -0.48167526721954346, -0.23216326534748077, 0.6362137794494629, 0.3746807277202606, -0.13895562291145325, -0.14887167513370514, -0.4181804358959198, -0.024313969537615776, 0.6115438342094421, -0.8907148241996765, -0.0926264077425003, 0.3532664179801941, -0.5504973530769348, -0.41642650961875916, -0.31814026832580566, -0.2679656744003296, -0.6420639753341675, -0.5127777457237244, 0.47996464371681213, -0.34420210123062134, -0.026910651475191116, 0.18394576013088226, 0.2408573478460312, -0.002080336445942521, 0.5517603158950806, -0.7404587864875793, -0.07518885284662247, 0.560975968837738, 0.8616700768470764, -0.07967430353164673, -0.31100016832351685, -0.5562092065811157, -0.009487931616604328, -0.5391095876693726, 0.764875590801239, -0.5757685899734497, -0.5251011252403259, -0.14879199862480164, 0.15273481607437134, -0.15350553393363953, -0.5215916037559509, 0.38265863060951233, -0.3874039351940155, 0.2979808747768402, -0.08250444382429123, -0.4246812164783478, -0.2858085334300995, 0.26411381363868713, -0.6849135756492615, 0.58501136302948, 0.3367260992527008, -0.25810888409614563, 0.6672139763832092, -0.9973894357681274, -0.37309542298316956, -0.03386431559920311, -0.47567641735076904, -0.4169743061065674, 0.1277632862329483, 0.22997814416885376, 0.6788431406021118, -0.5826959609985352, 0.18974177539348602, -0.24400797486305237, -0.22747798264026642, 0.3617815673351288, -0.6070573925971985, 0.676785409450531, 0.2526656985282898, -0.05481494590640068, 0.36263546347618103, -0.6328099370002747, -0.21059566736221313, 0.0879116877913475, -0.6577574610710144, -0.16956712305545807, 0.03820312023162842, 0.14883163571357727, 0.2629948854446411, 0.16433988511562347, -0.5928442478179932, 0.3050699532032013, -0.4587624669075012, 0.1466073840856552, 0.9513773918151855, -0.2331932634115219, 0.20238056778907776, -0.8123157620429993, 0.6518476605415344, -0.05365491658449173, 0.4842683672904968, -0.1436706930398941, -0.5673880577087402, -0.3741355836391449, -0.7601706981658936, 0.08748693019151688, 0.5554871559143066, -1.0730094909667969, 0.12572245299816132, -0.030448108911514282, -0.633510947227478, -0.8814651966094971, 0.10557756572961807, 0.30139464139938354, 0.44039008021354675, 0.40232715010643005, 0.017759820446372032, -0.11585754156112671, -0.8756496906280518, 0.10674790292978287, 0.04436178877949715, -0.11781352013349533, 0.7327321171760559, 0.2304377555847168, -1.0147740840911865, 0.3981114625930786, -0.3476908802986145, -0.43584585189819336, -0.07621102035045624, -0.02359897457063198, 0.29777562618255615, 0.3475918769836426, 0.7149242758750916, -0.6877217292785645, -0.2089051902294159, 0.38074421882629395, -0.8410029411315918, -0.27936962246894836, -0.36196041107177734, 0.09987819194793701, 0.32816362380981445, 0.5439195036888123, -0.6108977794647217, 0.008621249347925186, 0.8156401515007019, -0.3948415219783783, 0.7699000239372253, -0.693094789981842, 0.3017524182796478, -1.3579696416854858, 0.12334157526493073, -0.0601668506860733, -0.45804303884506226, -0.6743285059928894, 0.14873097836971283, 0.16040734946727753, 0.1831328123807907, -0.6334207653999329, 0.6590612530708313, -0.45053502917289734, 0.3346545696258545, -0.6299651265144348, -0.3503412902355194, -0.1262153834104538, 0.33795344829559326, -0.5121555328369141, 1.012239694595337, 0.4632250666618347, -0.6437827944755554, 0.4527328610420227, -0.006799271795898676, 0.2244396060705185, 0.7463602423667908, -0.6299778819084167, 0.20911665260791779, -0.045920368283987045, -0.17111049592494965, -0.27945950627326965, -0.35889187455177307, 0.37122195959091187, -0.29958176612854004, 0.33217653632164, -0.07590985298156738, -0.5704551339149475, -0.22005155682563782, -0.1410139501094818, 0.37922102212905884, 0.47050660848617554, -0.5379391312599182, 0.9200946688652039, 0.4123261272907257, 0.03985091671347618, -0.695310115814209, -0.4518537223339081, 0.13333682715892792, -0.009949822910130024, -0.2741236090660095, 0.11879326403141022, -0.43997660279273987, -0.08541658520698547, -0.22913457453250885, -0.19429942965507507, -0.15727952122688293, 0.20173850655555725, 0.4418654441833496, 0.5432175993919373, -0.33452901244163513, 0.647477388381958, 0.3602076470851898, -0.4356153607368469, -0.043303463608026505, -0.15000279247760773, 0.38686391711235046, 0.032749563455581665, -0.868086040019989, -0.18987394869327545, 0.3665298819541931, 0.8830565214157104, -0.18364712595939636, 0.6077077388763428, 0.5365001559257507, -0.1792583465576172, -0.13936574757099152, -0.6429941654205322, -0.35926562547683716, -0.5860744714736938, 0.6248242855072021, -0.4617181420326233, -0.8427884578704834, 0.13323958218097687, -0.3598230183124542, 0.36851122975349426, 0.16116270422935486, 1.1035315990447998, -0.018148336559534073, 1.3597508668899536, 0.6863925457000732, -0.04411957412958145, 0.43397581577301025, -0.03731445595622063, -0.4077996611595154, -0.5797614455223083, -0.23623518645763397, -0.09585762768983841, -0.28353869915008545, -0.39316439628601074, -0.7427411675453186, 0.7991213202476501, -0.6834070086479187, -0.05753595009446144, -0.13446064293384552, -0.5204195380210876, 0.39533933997154236, 0.5928555130958557, 0.3457634747028351, 0.07959308475255966, -0.25898468494415283, -0.48412731289863586, 0.20001034438610077, -0.5473995208740234, -0.38581231236457825, 1.3735907077789307, 0.3699394166469574, 1.1576261520385742, 0.1631752848625183, 0.6428862810134888, 0.29746881127357483, 0.47052001953125, -1.075776219367981, 0.32289111614227295, -0.33032703399658203, -0.5615377426147461, 0.045766741037368774, -0.2540265917778015, -1.4383156299591064, 0.675642728805542, -0.3065241873264313, -0.270815372467041, 0.06865525990724564, 0.0874110609292984, -0.40101489424705505, 0.1263207048177719, -0.671417236328125, 0.5974205136299133, -0.4097667932510376, -0.3534771203994751, -0.4005490243434906, -0.7215717434883118, -0.027939632534980774, -0.3027593493461609, 0.2837051451206207, -0.25267738103866577, -0.5491132140159607, 0.2697882354259491, -0.34745916724205017, 0.791609525680542, -0.3416852056980133, 0.027991389855742455, -0.2451520562171936, 0.04793602600693703, 0.07968801259994507, -0.12888111174106598, 0.05261382460594177, -0.04837633669376373, -0.007035134360194206, -0.35831090807914734, -0.47400009632110596, 0.6397311687469482, -0.7763365507125854, -0.5212239623069763, -0.3307030498981476, -0.8679339289665222, -0.1767597645521164, 0.4762268364429474, -0.11949390918016434, 0.6869982481002808, -0.24465836584568024, 0.019489377737045288, 0.6342551708221436, -0.15921558439731598, 0.30703121423721313, 0.9171019196510315, -0.23802450299263, -0.3335905373096466, 0.7528015375137329, 0.0007039831834845245, 0.18883533775806427, 0.224417582154274, 0.3236404061317444, -0.006499340292066336, -0.49328938126564026, -0.6825318932533264, 0.41336193680763245, -0.6027536392211914, -0.2686639130115509, -0.6030867695808411, -0.04559601470828056, 0.09558970481157303, -0.35320475697517395, -0.32544586062431335, 0.02468535304069519, -0.5400969982147217, 0.0433032363653183, 0.1118309423327446, 0.7448253631591797, -0.03814062476158142, 0.3693826496601105, -0.9783047437667847, 0.40259382128715515, 0.2795354127883911, 0.2551179826259613, -0.41198763251304626, -0.10240762680768967, -0.5278627872467041, 0.003970711026340723, -0.3019339442253113, -0.9369399547576904, 0.2752443253993988, 0.30868440866470337, 0.9329962134361267, 0.8854840397834778, -0.3045029640197754, 0.24392375349998474, -0.7051053643226624, 0.36175477504730225, 0.20607991516590118, -0.4081207811832428, 0.43273696303367615, -0.36501097679138184, 0.37295904755592346, 0.31450003385543823, 0.35489606857299805, -0.36948099732398987, -0.45630988478660583, -0.25689926743507385, -0.5298671126365662, 0.4544509947299957, -0.26045525074005127, 0.11910582333803177, 0.04489491134881973, 0.186522975564003, 0.5454540252685547, 0.30499887466430664, -0.40813010931015015, -0.1500406116247177, 0.13023364543914795, -0.4883294701576233, -0.3317801058292389, 0.08465055376291275, -0.31140580773353577, -0.10554645955562592, 0.6104313731193542, -0.5321836471557617, 0.3262665271759033, 0.3027275800704956, -0.4243371784687042, -0.1728496104478836, 0.16107724606990814, 0.776308000087738, 0.6606869101524353, -0.011348678730428219, 0.11231818050146103, -0.026580529287457466, -0.7882547974586487, 0.41141366958618164, 0.3916741609573364, 0.19909413158893585, 0.013829605653882027, 0.23674596846103668, 0.4669387936592102, 0.2152138352394104, -1.1047484874725342, 0.6054350733757019, 0.12604647874832153, -0.2562134265899658, -0.014414757490158081, 0.25597354769706726, -0.012508504092693329, 0.6442899703979492, 0.1142452135682106, 0.284205824136734, 0.46268734335899353, -0.21615780889987946, 0.3844012916088104, 0.5290372967720032, -0.5298178195953369, -0.29603421688079834, 0.8912538886070251, 0.25761234760284424, -0.23738037049770355, 0.29420948028564453, -0.1042090430855751, -0.04372568428516388, 0.4317818880081177, 0.4731732904911041, 0.697261393070221, -0.6095131039619446, 0.1823110729455948, -0.24507419764995575, 0.5486403703689575, 0.21792420744895935, 0.4623054265975952, 0.17555218935012817, -0.5327533483505249, -0.5223369598388672, -0.22509847581386566, -0.39660537242889404, -0.12677165865898132, -0.28577256202697754, 0.09107694029808044, -0.520719587802887, -0.6024726033210754, 0.36292564868927, -0.2216099351644516, -0.8229627013206482, 0.08116640150547028, -0.062234554439783096, 0.7491030097007751, -0.541710615158081, 0.948498010635376, 1.13341224193573, -0.49842938780784607, -0.5090601444244385, -0.3185003101825714, 0.4159981906414032, -1.2554012537002563, 0.1721528023481369, 0.2050175815820694, -0.3159557282924652, -0.23157241940498352, -0.34174367785453796, -0.3817361891269684, 1.15664803981781, 0.5005837678909302, -0.32832157611846924, -0.12394393235445023, -0.054190944880247116, 0.4711691737174988, -0.4466007351875305, 0.2511494755744934, 0.31907597184181213, 0.2467753142118454, -0.09321429580450058, -1.2022478580474854, 0.034971270710229874, -0.3488014340400696, -0.48207536339759827, 0.3068528473377228, -0.5341037511825562, 1.1326056718826294, -0.5592868328094482, 0.11423423141241074, 0.024745037779211998, -0.015353444963693619, 0.2683256268501282, 0.6134499311447144, 0.4269285500049591, 0.283000111579895, 0.8385971784591675, 0.25919124484062195, 1.1147617101669312, -0.19894516468048096, -0.005113984923809767, 0.8111603260040283, -0.24557505548000336, 0.40112605690956116, 0.43409469723701477, 0.02709006704390049, 0.4636509120464325, 0.47277891635894775, -0.17830590903759003, 0.44920551776885986, -0.2772291302680969, -0.5000783205032349, -0.23698580265045166, -0.12050587683916092, -0.23643839359283447, 0.4337124228477478, 0.47221729159355164, -0.714928925037384, -0.14430037140846252, 0.4355619549751282, 0.08674665540456772, -0.2504864037036896, -0.3854801058769226, 1.0926010608673096, 0.15649579465389252, -0.20344261825084686, 0.4742562472820282, 0.09949434548616409, 0.5928565859794617, -0.7520691752433777, -0.15022628009319305, 0.14289486408233643, 0.2508658766746521, -0.010791842825710773, -0.2760893404483795, -0.20499035716056824, -0.4320222735404968, -0.2621387243270874, 0.035316839814186096, 0.7484751343727112, -0.2123623788356781, -0.4583151340484619, 0.23623792827129364, 1.070157766342163, 0.1319073587656021, 0.01141805574297905, -0.8583232164382935, -0.311033695936203, -0.22795511782169342, -0.12090832740068436, 0.2974504828453064, 0.37656500935554504, 0.11457623541355133, 1.049764633178711, 0.8680423498153687, 0.1815938651561737, -0.003082365496084094, 0.1727723330259323, 0.9505500197410583, -0.49080896377563477, -0.4424267113208771, -0.8824732303619385, 0.473314106464386, 0.17207393050193787, -0.09703925251960754, 0.45408251881599426, 0.48592662811279297, 0.2653307318687439, -0.14938928186893463, 0.6543287634849548, 0.27438217401504517, 0.6290939450263977, -0.4394463002681732, 0.7978132963180542, -0.8633021712303162, 0.06824839860200882, 0.18110774457454681, -0.4464787542819977, -0.24541059136390686, 0.5144482851028442, 0.09885383397340775, 0.32015344500541687, 0.7189657688140869, 0.9282525777816772, -0.2068524807691574, -0.4390206038951874, 0.725094199180603, 0.087433822453022, 0.38868677616119385, 0.4924965500831604, 0.6948460936546326, 0.13367611169815063, 0.16306447982788086, -0.021167125552892685, -0.6554761528968811, -0.6156553030014038, -0.38380205631256104, -1.1475224494934082, -0.3897128105163574, 0.18811391294002533, -0.03386969864368439, 0.09684161096811295, 1.5759161710739136, 1.024904489517212, -0.407037615776062, -0.08126016706228256, 0.4949866235256195, -0.05956322327256203, -0.3271375894546509, -0.07318347692489624, 0.1503640115261078, -0.4859631359577179, -0.6153172254562378, 0.8660343289375305, 0.38871335983276367, 0.09280158579349518, -0.35810232162475586, -0.15299588441848755, -0.00658362777903676, 0.421256959438324, 0.7219448685646057, -0.042242154479026794, -0.763425886631012, -0.10731390863656998, 0.22361421585083008, -0.34263166785240173, 0.2300451248884201, 0.8841547966003418, -0.7016830444335938, 0.738793671131134, -0.2333974391222, 0.821708083152771, -0.061134569346904755, -0.27519816160202026, 0.4741276800632477, -0.5020711421966553, 0.15068790316581726, 0.4355541169643402, 0.38824915885925293, -0.00958901084959507, -0.31758832931518555, 0.38868096470832825, 0.0037355346139520407, -0.860404372215271, -0.5691539645195007, 0.1594502180814743, -0.944421112537384, -0.5211867094039917, 0.931465208530426, 0.202451691031456, 0.07512317597866058, -0.3474031090736389, -0.7290392518043518, 0.17198973894119263, -0.5488585233688354, 0.6626520156860352, 0.15186439454555511, -0.37761348485946655, 0.023423701524734497, -0.8797165751457214, 0.2327803075313568, 0.2739798426628113, -0.9439440965652466, -0.40070703625679016, 0.8252436518669128, 0.292068213224411, -0.03239646181464195, 0.8427572250366211, 0.0065647903829813, 0.6572868824005127, 0.06607592105865479, 0.10497955977916718, -0.5396236181259155, -0.4111827313899994, -0.30442339181900024, 0.02901821956038475, 0.3427498936653137, -0.4324214458465576 ]
http://arxiv.org/abs/2407.02477v1
http://arxiv.org/pdf/2407.02477v1
Understanding Alignment in Multimodal LLMs: A Comprehensive Study
2024-07-02T17:55:03
2024-07-02T17:55:03
Elmira Amirloo, Jean-Philippe Fauconnier, Christoph Roesmann, Christian Kerl, Rinu Boney, Yusu Qian, Zirui Wang, Afshin Dehghan, Yinfei Yang, Zhe Gan, Peter Grasch
cs.CV
cs.CV, cs.CL
Preference alignment has become a crucial component in enhancing the performance of Large Language Models (LLMs), yet its impact in Multimodal Large Language Models (MLLMs) remains comparatively underexplored. Similar to language models, MLLMs for image understanding tasks encounter challenges like hallucination. In MLLMs, hallucination can occur not only by stating incorrect facts but also by producing responses that are inconsistent with the image content. A primary objective of alignment for MLLMs is to encourage these models to align responses more closely with image information. Recently, multiple works have introduced preference datasets for MLLMs and examined different alignment methods, including Direct Preference Optimization (DPO) and Proximal Policy Optimization (PPO). However, due to variations in datasets, base model types, and alignment methods, it remains unclear which specific elements contribute most significantly to the reported improvements in these works. In this paper, we independently analyze each aspect of preference alignment in MLLMs. We start by categorizing the alignment algorithms into two groups, offline (such as DPO), and online (such as online-DPO), and show that combining offline and online methods can improve the performance of the model in certain scenarios. We review a variety of published multimodal preference datasets and discuss how the details of their construction impact model performance. Based on these insights, we introduce a novel way of creating multimodal preference data called Bias-Driven Hallucination Sampling (BDHS) that needs neither additional annotation nor external models, and show that it can achieve competitive performance to previously published alignment work for multimodal models across a range of benchmarks.
[ -0.5481483936309814, -0.56710284948349, 0.678072988986969, 0.03341366723179817, -0.15574605762958527, -0.07777432352304459, -0.2563929557800293, -0.5009064674377441, 0.21239393949508667, 0.49291324615478516, -0.5805448889732361, -0.34789401292800903, -0.5168314576148987, 0.05071162059903145, 0.04427381604909897, 0.7982633709907532, -0.11206116527318954, 0.29121825098991394, -0.4428917169570923, -0.3839724063873291, -0.5621228218078613, -0.4408414661884308, -0.16206642985343933, -0.2850598692893982, 0.6994625329971313, 0.2472088634967804, 1.0477312803268433, 0.7887678742408752, 0.7083509564399719, 0.34083282947540283, 0.057557955384254456, 0.49027183651924133, -0.49095991253852844, 0.2562013864517212, 0.04944773018360138, -0.25258639454841614, -0.5037055611610413, -0.184502974152565, 0.5281159281730652, 0.5264690518379211, 0.14146707952022552, -0.0464298389852047, 0.0038608822505921125, 0.9100586771965027, -0.7365056872367859, -0.13387243449687958, -0.7131319046020508, 0.11219459772109985, -0.10222958773374557, -0.31143298745155334, -0.41766616702079773, -0.3972068130970001, 0.36623939871788025, -0.4908519685268402, 0.02115495689213276, 0.08396520465612411, 0.8019046783447266, 0.3975158631801605, -0.6850914359092712, -0.32186025381088257, -0.5774077773094177, 0.9629384279251099, -0.499909371137619, 0.570543646812439, 0.2649778425693512, 0.1992395669221878, -0.07034486532211304, -0.1400529146194458, -0.6586055755615234, -0.04272904619574547, -0.15065884590148926, -0.11785198003053665, 0.045033328235149384, 0.16540031135082245, 0.21786420047283173, 0.3417808711528778, -0.6808388829231262, 0.2673557698726654, 0.0198176559060812, -0.27333760261535645, 0.5999360680580139, 0.15325945615768433, 0.09530137479305267, -0.2328381985425949, -0.4321383237838745, -0.15456028282642365, -0.5673069953918457, 0.06351744383573532, 0.4503225088119507, 0.29030004143714905, -0.04954826459288597, 0.8708531260490417, 0.0941043272614479, 1.0214924812316895, 0.24073368310928345, -0.45230522751808167, 0.4247038662433624, -0.3940601646900177, -0.15053683519363403, 0.16631385684013367, 0.5886560082435608, 0.8360860347747803, 0.217179074883461, -0.03779676556587219, -0.2263759970664978, 0.14268095791339874, 0.33686208724975586, -0.5223950147628784, 0.12113868445158005, 0.46289539337158203, -0.7317318916320801, -0.3028642535209656, -0.06602908670902252, -0.7717140913009644, -0.7409829497337341, -0.9309508800506592, 0.38770416378974915, -0.19330169260501862, -0.2123287320137024, -0.0227511003613472, 0.0017832033336162567, 0.2903439998626709, 0.404204398393631, -1.0159045457839966, -0.10914716869592667, 0.650657594203949, 0.8692357540130615, -0.46926385164260864, -0.37113291025161743, -0.4291456341743469, 0.0635085180401802, -0.32098400592803955, 0.7263548374176025, -0.6178367733955383, -0.1451403796672821, 0.06312215328216553, 0.021999286487698555, -0.06969568133354187, -0.5232989192008972, 0.33944064378738403, -0.5715792179107666, 0.17373810708522797, -0.4995514452457428, -0.5686158537864685, -0.2938888967037201, 0.3058615028858185, -0.6919495463371277, 0.7931414842605591, -0.23854364454746246, -0.7894035577774048, 0.5328606367111206, -0.472533643245697, -0.1348535269498825, -0.41895973682403564, -0.33193239569664, -0.43064218759536743, 0.2947535812854767, 0.35162386298179626, 0.5237858891487122, 0.022831780835986137, 0.46964162588119507, -0.6273861527442932, -0.3773253858089447, 0.5433539748191833, -0.291879802942276, 0.6665271520614624, 0.1420685201883316, -0.43600475788116455, 0.4964008629322052, -0.5951264500617981, -0.10415203124284744, 0.02232290431857109, 0.050333283841609955, -0.329648494720459, 0.1206221729516983, 0.09973018616437912, 0.32988396286964417, 0.26455777883529663, -0.26660090684890747, 0.36834290623664856, -0.01100375410169363, 0.16979768872261047, 1.2330527305603027, -0.33657002449035645, 0.5387005805969238, -0.39173588156700134, 0.26427149772644043, 0.05886348336935043, 0.3390752077102661, 0.010211491025984287, -0.21558044850826263, -0.5577782988548279, -0.4111135005950928, 0.12302641570568085, 0.24803811311721802, -0.48664337396621704, 0.38222408294677734, -0.31149742007255554, -0.258276104927063, -0.8854425549507141, 0.14728613197803497, 0.30152004957199097, 0.4523078501224518, 0.3708743453025818, -0.23167914152145386, -0.6719881892204285, -1.2243397235870361, 0.106463223695755, 0.0796465054154396, 0.34016191959381104, 0.5090370774269104, 0.16522158682346344, -0.3943232297897339, 0.9571258425712585, -0.5090140700340271, -0.2527870237827301, -0.07442125678062439, -0.17402508854866028, 0.05813734233379364, 0.2027316838502884, 0.5757910013198853, -0.9771006107330322, -0.4110274314880371, 0.06393713504076004, -0.757163941860199, -0.01904538832604885, -0.030369238927960396, -0.26577556133270264, 0.5023659467697144, 0.086704321205616, -0.516173243522644, 0.2055538147687912, 0.8436271548271179, -0.12265104055404663, 0.5183776021003723, -0.07747653126716614, 0.34282031655311584, -0.8480830192565918, -0.053880754858255386, 0.05575580522418022, -0.14166724681854248, -0.653598964214325, -0.08726143836975098, 0.09853873401880264, 0.1557929962873459, -0.49671420454978943, 0.41636624932289124, -0.5802097320556641, -0.48271211981773376, -0.30796825885772705, 0.11002029478549957, 0.003647992853075266, 0.44410520792007446, 0.3906865417957306, 0.7487625479698181, 0.6265357732772827, -0.4940616488456726, 0.30910396575927734, 0.3051166832447052, -0.2604082226753235, 0.5182840824127197, -0.352415531873703, 0.3462812900543213, -0.385459303855896, 0.03424014523625374, -1.0984532833099365, -0.17808474600315094, 0.12918159365653992, -0.16634516417980194, 0.43798062205314636, -0.03797778859734535, -0.2433881163597107, 0.036630723625421524, -0.5379772782325745, 0.4667525589466095, 0.16535644233226776, -0.6145055294036865, 0.5837295651435852, 0.6118712425231934, 0.21136175096035004, -1.0987069606781006, -0.3073328137397766, -0.10759588330984116, -0.3971208930015564, -0.6442933678627014, 0.37781286239624023, -0.14106033742427826, -0.48969700932502747, -0.23298640549182892, -0.12694570422172546, 0.2484802007675171, -0.11869340389966965, 0.3283461630344391, 0.6425749659538269, -0.21333149075508118, 0.09485551714897156, -0.20554590225219727, 0.01904868520796299, -0.29904288053512573, -0.035879284143447876, 0.7694754004478455, -0.05950598791241646, -0.4214697480201721, -0.5166060328483582, 0.24641577899456024, 0.6744541525840759, -0.08189088106155396, 0.6118327379226685, 0.554975688457489, -0.12687163054943085, 0.23625029623508453, -0.749000608921051, -0.1552467793226242, -0.4330812394618988, 0.23763929307460785, -0.47982028126716614, -0.7712259888648987, 0.3171629309654236, 0.3115640878677368, 0.1356622725725174, 0.21468152105808258, 0.698336660861969, -0.27538642287254333, 1.164482593536377, 0.5872041583061218, -0.11092791706323624, 0.49398452043533325, 0.12170229107141495, 0.21786725521087646, -0.8231165409088135, -0.32383716106414795, -0.28765639662742615, -0.6722063422203064, -0.7576910257339478, -0.329037606716156, 0.23532898724079132, -0.1303287297487259, 0.02022578939795494, 0.2008567452430725, -0.48956775665283203, 0.3697207570075989, 0.31659698486328125, 0.2102023810148239, 0.2763610780239105, 0.1830706149339676, -0.006369967944920063, -0.3014543652534485, -0.3837607204914093, -0.6738881468772888, 1.2360949516296387, 0.3384539484977722, 0.8559768795967102, 0.25742727518081665, 0.47976404428482056, 0.14488840103149414, 0.06938808411359787, -0.9555546045303345, 0.44002416729927063, -0.014663995243608952, -0.49618780612945557, -0.34943515062332153, -0.2270740419626236, -0.8695526123046875, 0.5332906246185303, -0.3556378185749054, -0.6407179236412048, 0.40360912680625916, 0.35755014419555664, -0.21700027585029602, 0.14296358823776245, -0.6492522358894348, 0.8234124779701233, -0.654367983341217, -0.6677277088165283, -0.1144804134964943, -0.797373354434967, 0.3042029142379761, -0.04871457442641258, 0.11210786551237106, -0.17942263185977936, -0.015070472843945026, 0.40571704506874084, 0.10459454357624054, 0.6468818187713623, -0.1303476095199585, -0.2504936456680298, -0.19016101956367493, -0.02557479962706566, 0.3909876048564911, -0.21576841175556183, 0.005316870752722025, 0.2746995687484741, 0.012937639839947224, -0.2273017168045044, -0.5905208587646484, 0.7502053380012512, -0.8473883271217346, -0.6241621971130371, -0.35545995831489563, -0.8350608944892883, -0.3693225085735321, -0.032977502793073654, 0.07118652015924454, 0.4398314952850342, 0.04558930918574333, 0.15686270594596863, 0.8078576326370239, -0.1821517050266266, 0.41675373911857605, 0.0826490968465805, -0.5996100902557373, -0.35130852460861206, 0.8695694804191589, 0.10232166945934296, 0.29802167415618896, 0.5582293272018433, 0.08642791211605072, -0.6712124347686768, -0.4529154300689697, -0.42285850644111633, 0.3548114597797394, -0.832977294921875, 0.07912643253803253, -0.8247197866439819, 0.08935730159282684, -0.610309362411499, -0.26503464579582214, -0.2742931544780731, -0.2679138481616974, -0.2570684552192688, 0.014777429401874542, 0.0990331768989563, 0.5478271842002869, 0.03960583359003067, 0.016386179253458977, -0.5949779152870178, 0.36155083775520325, 0.23167887330055237, 0.23852002620697021, 0.024455314502120018, -0.3832678198814392, 0.02141967974603176, 0.0016409996896982193, -0.38808658719062805, -0.8859593868255615, 0.26771771907806396, -0.1138957217335701, 0.6086441874504089, 0.7775241732597351, -0.20356571674346924, 1.045430064201355, -0.3021010458469391, 0.5920804142951965, 0.16318351030349731, -0.7729039192199707, 0.3494087755680084, -0.13288043439388275, 0.0195004940032959, 0.4949173033237457, 0.6083685755729675, -0.4615403115749359, 0.09972140192985535, -0.1551956832408905, -0.6127532720565796, 0.5117443799972534, 0.09733564406633377, 0.06017661839723587, 0.25323307514190674, 0.07264380156993866, 0.44251373410224915, 0.3549497723579407, -0.7879632115364075, -0.30884069204330444, -0.1924806386232376, -0.26403436064720154, -0.3401607275009155, -0.4081985056400299, -0.37010055780410767, -0.25826627016067505, 0.5654012560844421, -0.19825389981269836, 0.27031221985816956, -0.0014064653078094125, -0.3587871491909027, -0.017127515748143196, 0.178079754114151, 1.0542198419570923, 0.8607375621795654, -0.35949090123176575, 0.32620909810066223, -0.2336650937795639, -0.16802716255187988, 0.2526257336139679, -0.2233157753944397, -0.055537059903144836, 0.006933256983757019, 0.18645153939723969, 1.0500203371047974, -0.12910501658916473, -0.5878207087516785, 0.4349077343940735, 0.005063259042799473, -0.044856827706098557, -0.05730608478188515, -0.10462381690740585, -0.1918257772922516, 0.22309879958629608, 0.1695745289325714, 0.14572648704051971, 0.16328608989715576, -0.5222468376159668, 0.07125302404165268, 0.829352855682373, -0.4110182821750641, -0.16018451750278473, 0.3505954444408417, -0.008565816096961498, -0.08136525005102158, 0.5056555867195129, 0.1784254014492035, -0.4332383871078491, 0.4351707398891449, 0.4924633800983429, 0.7322662472724915, -0.043450210243463516, 0.2243395745754242, 0.1824917197227478, 0.20705188810825348, -0.05712110549211502, 0.14342767000198364, -0.1664784997701645, -1.0486903190612793, -0.32562437653541565, -0.5639359354972839, -0.356757789850235, 0.12516655027866364, -0.601447582244873, 0.37322118878364563, -0.04883259907364845, -0.324932724237442, 0.0014225519262254238, -0.33165645599365234, -0.5562230348587036, 0.06006605178117752, 0.22398371994495392, 0.3389802575111389, -0.7931380867958069, 0.5703986883163452, 0.6439824104309082, -0.10063768923282623, -0.47724470496177673, 0.09465324133634567, 0.3928748667240143, -1.0054374933242798, 0.6324719190597534, 0.34526383876800537, -0.17552843689918518, -0.14932966232299805, -0.3017955720424652, -0.9758298993110657, 0.8644685745239258, 0.31126537919044495, -0.6374499201774597, 0.005834194365888834, 0.10311362147331238, 0.3450421094894409, -0.5495709776878357, 0.3026699125766754, 0.4341404139995575, 0.5833653211593628, 0.15080206096172333, -0.9138755202293396, -0.04011673480272293, 0.05487341806292534, 0.21210114657878876, 0.3304586708545685, -0.521456778049469, 0.48775675892829895, -0.3405131995677948, 0.026976831257343292, -0.19670403003692627, 0.3307899236679077, 0.37137582898139954, 0.33308693766593933, 0.5363479852676392, 0.5040925145149231, 0.7307199239730835, -0.127556711435318, 0.9238789081573486, -0.12505480647087097, 0.25681954622268677, 1.0650824308395386, -0.6124510169029236, 0.7413802742958069, 1.075891137123108, -0.04568394646048546, 0.18714171648025513, 0.9217286109924316, -0.05825044959783554, 0.7113798260688782, -0.036398451775312424, -0.024262549355626106, -0.26667627692222595, -0.33931320905685425, -0.47707363963127136, 0.6237287521362305, -0.01214382890611887, -0.5001981854438782, 0.06494337320327759, 0.05609361454844475, -0.23675525188446045, -0.12882088124752045, -0.2178390622138977, 0.9785954356193542, -0.30147555470466614, -0.8985756039619446, 0.4551241099834442, -0.3348582684993744, 0.7106273174285889, -0.4182220995426178, 0.09585215896368027, -0.11076654493808746, 0.183147594332695, -0.4450537860393524, -0.8383714556694031, 0.2651137113571167, -0.29726290702819824, -0.39268794655799866, -0.2724637985229492, 0.5011834502220154, -0.4489881098270416, -0.20798055827617645, 0.24750053882598877, 0.3391278088092804, 0.1749744564294815, 0.10767260938882828, -0.6860292553901672, 0.49603942036628723, 0.1719740778207779, -0.17013908922672272, 0.5456876158714294, 0.06712615489959717, -0.10555161535739899, 0.5036079287528992, 0.6487319469451904, -0.010720551945269108, 0.05015599727630615, 0.17565691471099854, 0.6008632183074951, -0.39416784048080444, -0.08056079596281052, -1.120687484741211, 0.569338858127594, -0.16267921030521393, -0.18787480890750885, 0.7943799495697021, 0.7279770970344543, 0.8404914736747742, -0.19091403484344482, 0.5667924284934998, 0.09992045909166336, 0.03275037184357643, -0.7765301465988159, 0.38100001215934753, -0.7148526310920715, 0.010897791013121605, -0.3799946904182434, -1.2299416065216064, -0.2981519401073456, 0.6930053234100342, -0.3993634283542633, -0.08221442997455597, 0.6729065179824829, 1.1245907545089722, 0.0020766782108694315, -0.1277817040681839, 0.3764786720275879, -0.1516239196062088, 0.08960212767124176, 0.2082863748073578, 1.0489141941070557, -0.062108106911182404, 0.2513135075569153, -0.4125974178314209, -0.14693523943424225, -0.2314883917570114, -0.9909397959709167, -0.7535822987556458, -0.7362644076347351, -0.301780104637146, -0.3274960517883301, -0.11433181911706924, 1.1952261924743652, 0.6819730401039124, -0.7548312544822693, -0.4128352999687195, 0.303921103477478, 0.25511080026626587, -0.23663310706615448, -0.2147846668958664, 0.4114542603492737, -0.276819109916687, -0.80812007188797, 0.09899036586284637, 0.5145556926727295, 0.28893110156059265, -0.21560242772102356, -0.24246221780776978, -0.19779394567012787, -0.07639025896787643, 0.6546469926834106, -0.08270064741373062, -1.1072287559509277, -0.12451548129320145, 0.2731688618659973, -0.21403926610946655, 0.46492984890937805, 0.9142186045646667, -0.2932194769382477, 0.7721720337867737, 0.47911226749420166, 0.7292237281799316, 0.3606829047203064, 0.08430686593055725, 0.4893340766429901, -0.4854873716831207, 0.06947281956672668, 0.0421728789806366, 0.45032694935798645, 0.458021342754364, -0.4471777677536011, 0.3245365023612976, 0.08897750079631805, -0.6282493472099304, -0.9330397248268127, 0.291648268699646, -1.1208311319351196, -0.32221662998199463, 1.2244423627853394, 0.35971203446388245, -0.053452104330062866, -0.05934539809823036, -0.5516020655632019, 0.09819876402616501, -0.31664180755615234, 1.007832407951355, 0.8765835762023926, -0.43220728635787964, -0.2780032455921173, -0.32079923152923584, 0.4668131470680237, 0.42594167590141296, -0.5874806642532349, 0.04995723441243172, 0.8915680050849915, 0.038627974689006805, 0.2187746912240982, 0.499187707901001, -0.10844235867261887, 0.0740535780787468, -0.5296450853347778, 0.1538345217704773, 0.08983022719621658, -0.41309675574302673, -0.5235901474952698, 0.19660870730876923, 0.04083223268389702, -0.31848156452178955 ]
http://arxiv.org/abs/2407.02472v1
http://arxiv.org/pdf/2407.02472v1
ValueScope: Unveiling Implicit Norms and Values via Return Potential Model of Social Interactions
2024-07-02T17:51:27
2024-07-02T17:51:27
Chan Young Park, Shuyue Stella Li, Hayoung Jung, Svitlana Volkova, Tanushree Mitra, David Jurgens, Yulia Tsvetkov
cs.CL
cs.CL
This study introduces ValueScope, a framework leveraging language models to quantify social norms and values within online communities, grounded in social science perspectives on normative structures. We employ ValueScope to dissect and analyze linguistic and stylistic expressions across 13 Reddit communities categorized under gender, politics, science, and finance. Our analysis provides a quantitative foundation showing that even closely related communities exhibit remarkably diverse norms. This diversity supports existing theories and adds a new dimension--community preference--to understanding community interactions. ValueScope not only delineates differing social norms among communities but also effectively traces their evolution and the influence of significant external events like the U.S. presidential elections and the emergence of new sub-communities. The framework thus highlights the pivotal role of social norms in shaping online interactions, presenting a substantial advance in both the theory and application of social norm studies in digital spaces.
[ -0.5008076429367065, -0.6970141530036926, 0.5746393203735352, 0.007014775648713112, -0.038854070007801056, -0.03870908170938492, -0.16293106973171234, -0.49975425004959106, 0.5392257571220398, 0.2822084128856659, -0.6579504013061523, -0.3571889102458954, -0.867206335067749, 0.1083105206489563, -0.5152157545089722, 1.1438374519348145, 0.43722498416900635, -0.1255839616060257, -0.4137934148311615, -0.13253527879714966, -0.05147603899240494, -0.5596925020217896, -0.21158866584300995, 0.16600742936134338, 0.5508250594139099, 0.4907374083995819, 0.49437281489372253, 0.3012244701385498, 0.6964770555496216, 0.2828596532344818, -0.16806170344352722, 0.015329655259847641, -0.9314326643943787, 0.02971809171140194, -0.14167681336402893, 0.06038505211472511, -0.361512154340744, 0.45767733454704285, 0.43994593620300293, 0.6769865155220032, 0.15261302888393402, 0.5444173812866211, 0.16096486151218414, 0.6932750344276428, -0.7499070167541504, 0.4569394290447235, -0.35669171810150146, -0.22951583564281464, -0.10927009582519531, -0.11917588114738464, 0.08722792565822601, -0.7972891926765442, -0.15859173238277435, -0.6984009742736816, -0.2314888834953308, -0.2746604382991791, 1.0294376611709595, 0.02362818829715252, -0.8240494132041931, -0.2667693495750427, -0.5026623606681824, 0.7960010170936584, -0.30677828192710876, 0.6420935392379761, 0.27882516384124756, 0.4451727271080017, 0.15157127380371094, -0.9635111093521118, -0.631437361240387, 0.1765347272157669, -0.0444934219121933, -0.017260409891605377, -0.476878821849823, -0.039736416190862656, 0.10324928909540176, 0.20829251408576965, 0.26075053215026855, -0.5891121029853821, -0.9104454517364502, 0.30742841958999634, 0.6451402306556702, 0.03739799186587334, 0.15295691788196564, -0.4408441185951233, 0.1787634938955307, -0.12121368944644928, -0.2996106743812561, 0.5791053175926208, 0.7507367730140686, 0.2824952304363251, -0.19823940098285675, 0.6952304244041443, -0.06163385882973671, 0.2488524168729782, 0.43265098333358765, -0.06432556360960007, 0.2955726385116577, -0.9018251895904541, 0.12442801892757416, -0.35617807507514954, 0.3859921395778656, 0.8412818312644958, 0.6786049604415894, 0.534484326839447, 0.1437252163887024, 0.24905076622962952, 0.47355031967163086, -0.5742194652557373, 0.054161421954631805, 0.09850243479013443, -0.7399386167526245, -1.0314258337020874, 0.11856798082590103, -0.921022355556488, -0.4388939142227173, -0.24405907094478607, 0.01577930338680744, 0.1869330257177353, -0.7322781682014465, -0.15691691637039185, -0.5249553918838501, 0.20023824274539948, 0.39387205243110657, -0.8352856040000916, 0.6655016541481018, 0.772304117679596, 0.8599380254745483, 0.0015132093103602529, -0.04290579631924629, -0.35092514753341675, -0.3620622456073761, -0.22297132015228271, 0.49015355110168457, -0.8009426593780518, -0.5210083723068237, 0.03274650126695633, -0.1022721603512764, 0.5010800361633301, -0.0457327738404274, 0.16282013058662415, -0.7607512474060059, -0.22000457346439362, -0.3595631718635559, -0.4684916138648987, 0.026625558733940125, 0.45557093620300293, -0.852185845375061, 1.0587388277053833, 0.031104320660233498, -0.5648427605628967, 0.7056922316551208, -1.205765962600708, -0.14992284774780273, -0.04768967628479004, -0.2552430033683777, -0.2422497421503067, -0.0025728619657456875, -0.14525564014911652, 0.2951866388320923, 0.17885836958885193, 0.110000379383564, -0.6346144676208496, -0.0123381856828928, 0.5115334987640381, -0.20524592697620392, 0.8085365295410156, 0.21311333775520325, -0.29250600934028625, 0.3121137320995331, -0.7861348390579224, -0.11958722025156021, -0.033205363899469376, -0.05097368732094765, -0.4908239543437958, 0.19342169165611267, 0.3782378137111664, 0.10787174850702286, 0.1202230378985405, -0.5967748761177063, 0.14700312912464142, -0.1422460377216339, 0.9404659867286682, 0.7729387283325195, 0.06476370245218277, 0.5405316352844238, -0.0012728709261864424, 0.2974441349506378, -0.019907303154468536, 0.45353013277053833, 0.30750855803489685, -0.6514601111412048, -0.45016977190971375, -0.15626004338264465, -0.38433802127838135, -0.06637272238731384, 0.13707493245601654, -0.021353190764784813, -0.20111164450645447, -0.5482052564620972, -0.5067627429962158, 0.1364574283361435, -0.0708056092262268, 0.2173623889684677, 0.25069165229797363, -0.2400672733783722, -0.5835057497024536, -0.8157964944839478, -0.527906060218811, -0.3173881471157074, 0.10659731924533844, 0.42330002784729004, 0.6622362732887268, -0.5930190086364746, 1.578729271888733, -0.4856041371822357, -0.22134973108768463, -0.27013343572616577, 0.20826038718223572, 0.12543800473213196, -0.10598333179950714, 0.38832470774650574, -1.2896668910980225, -0.3646697700023651, -0.22591032087802887, -0.40398624539375305, -0.37859997153282166, 0.3486437201499939, 0.22610539197921753, 0.049726489931344986, 0.612721860408783, 0.03694208711385727, 0.5071003437042236, 0.7870844602584839, -0.6250273585319519, 0.4108734428882599, 0.36342039704322815, 0.6087091565132141, -1.016119360923767, -0.018703186884522438, 0.13063214719295502, -0.37877386808395386, -0.5221980810165405, 0.05410967394709587, 0.09426598995923996, 0.06281690299510956, -0.7065045833587646, 0.6600647568702698, -0.15917333960533142, -0.2901771366596222, -0.18466167151927948, 0.18708765506744385, 0.2225019335746765, -0.07711657136678696, 0.03059370443224907, 0.7268640398979187, -0.01545950211584568, -0.43870946764945984, 0.36866864562034607, 0.22957183420658112, -0.018862223252654076, 0.8172686696052551, -0.7376396059989929, -0.07569289952516556, -0.23632022738456726, 0.010543374344706535, -1.2297353744506836, -0.2624524235725403, 0.07937797904014587, -0.8042085766792297, -0.5175538063049316, -0.5405651926994324, -0.08966079354286194, -0.03627312555909157, -0.6159098148345947, 0.7257983088493347, 0.3751648962497711, -0.19448250532150269, 0.39511626958847046, 1.07888925075531, 0.017589014023542404, -0.38790732622146606, -0.5287796854972839, 0.06874209642410278, -0.2028268575668335, -0.6640848517417908, -0.25018230080604553, -0.06853628903627396, -1.1099417209625244, 0.17256182432174683, 0.3548082709312439, -0.3582518398761749, 0.09172108769416809, 0.5756018161773682, 0.10761594027280807, 0.05939203500747681, 0.12140239030122757, 0.10138733685016632, -0.19370658695697784, 0.06602070480585098, -0.2917173206806183, 0.310116708278656, -0.922544538974762, -0.3201654255390167, 0.00005070530460216105, 0.38654157519340515, 0.7470186352729797, -0.13723275065422058, 0.64761883020401, 0.2932969629764557, -0.4238492250442505, 0.4178462624549866, -0.49881044030189514, -0.39188089966773987, -0.5492821335792542, 0.373203307390213, -0.19873905181884766, -1.198164939880371, 0.38897058367729187, 0.14176441729068756, 0.27273479104042053, 0.6092336177825928, 0.5651382803916931, -0.32417821884155273, 0.6295921802520752, 0.9219792485237122, 0.4401681423187256, 0.3103344738483429, 0.07951939851045609, 0.2623608708381653, -0.5105623602867126, 0.01922701857984066, -0.290437787771225, -0.22176839411258698, -0.7453904151916504, -0.2787236273288727, 0.8222066760063171, -0.14205679297447205, -0.1777717024087906, 0.291263610124588, -0.47323352098464966, 0.5332320332527161, 0.4142632782459259, -0.2030380666255951, 0.5866411328315735, -0.2680068612098694, 0.3186224102973938, -0.4720739722251892, -0.29286128282546997, -0.7429508566856384, 1.216154932975769, 0.3356080651283264, 0.6766883730888367, 0.32856547832489014, 0.4007888436317444, 0.7212859392166138, 0.30699965357780457, -0.9532920718193054, 0.29165589809417725, 0.01068667322397232, -0.8026721477508545, -0.6238041520118713, -0.20876362919807434, -0.8809099793434143, -0.16813425719738007, -0.4182363748550415, -0.4161265194416046, 0.33039286732673645, 0.24181701242923737, -0.2492019087076187, 0.2817079722881317, -0.3042376637458801, 0.7998855710029602, -0.0221957266330719, -0.47944211959838867, -0.47516393661499023, -0.5922959446907043, 0.30349770188331604, 0.10537157207727432, 0.686063826084137, -0.09083063900470734, 0.0064412751235067844, 0.6986356377601624, -0.10105450451374054, 1.2633346319198608, 0.3276648223400116, 0.1272040754556656, 0.17120318114757538, 0.003186719724908471, 0.17887495458126068, 0.35582953691482544, 0.3003636300563812, 0.5009856224060059, 0.5706111192703247, -0.2129664272069931, -0.2100488841533661, 0.806883692741394, -1.1814548969268799, -0.18700550496578217, -0.5564070343971252, -0.15880587697029114, 0.10247611254453659, 0.3748547434806824, -0.12824372947216034, 0.25251609086990356, -0.5509970784187317, 0.2533976435661316, 0.5283627510070801, 0.06910116970539093, 0.059903617948293686, 0.3033495545387268, -0.2955581843852997, -0.2602861523628235, 0.48945173621177673, 0.2940852642059326, 0.36856335401535034, 0.014186549000442028, 0.3819078803062439, -0.3263665735721588, 0.28869935870170593, -0.1010546013712883, 0.07742035388946533, -0.9575961232185364, 0.1884968876838684, -0.7300947308540344, -0.2509929835796356, -0.8343198299407959, -0.7086827158927917, -0.7414050102233887, -0.6038252711296082, -0.25773492455482483, -0.2173360288143158, 0.8174370527267456, 1.1166887283325195, -0.3332436680793762, -0.18154536187648773, -0.8127521872520447, 0.13234351575374603, 0.6803827285766602, 0.4137166738510132, -0.44011378288269043, -0.07945190370082855, 0.0999075248837471, 0.009101040661334991, -0.11295130103826523, -1.1663661003112793, 0.4158399999141693, 0.10859542340040207, 0.27625399827957153, 0.5073419213294983, 0.16386017203330994, 0.6413794755935669, -0.3236539363861084, 0.928968608379364, 0.007835700176656246, -1.2248599529266357, 0.5930996537208557, -0.3929090201854706, -0.03928615152835846, 0.6138035655021667, 0.5690895318984985, -1.2520802021026611, -0.30158790946006775, -0.8024717569351196, -0.9380553364753723, 0.1401882916688919, 0.39554935693740845, 0.45347076654434204, -0.1150357648730278, 0.5593267679214478, 0.051548656076192856, 0.523351788520813, -0.9511992931365967, -0.3201892077922821, -0.7152397036552429, -0.2393626570701599, 0.1581762433052063, -0.461459755897522, -0.4730965793132782, -0.2449640929698944, 0.10235156863927841, -0.25104671716690063, 0.18911945819854736, 0.09433693438768387, 0.018826676532626152, -0.45671725273132324, 0.359936386346817, 0.6298747658729553, 1.0009894371032715, -0.11031497269868851, 0.40080195665359497, 0.11810728162527084, -0.5170469880104065, 0.011258721351623535, -0.33813968300819397, 0.039821598678827286, -0.21480578184127808, 0.10130783170461655, 0.16031137108802795, 0.46226009726524353, -0.48252829909324646, 0.7920895218849182, -0.1807570904493332, -0.16381891071796417, -0.6442196369171143, -0.25258028507232666, 0.21186314523220062, 0.3329641819000244, 0.3227737545967102, 0.08187650889158249, 0.37395358085632324, -0.6855321526527405, 0.45103415846824646, 0.39574599266052246, -0.6962049603462219, -0.411188006401062, 0.7299779057502747, 0.5254461765289307, -0.2245732545852661, 0.2953331172466278, -0.002767564496025443, -0.44234412908554077, 0.7086343765258789, 0.04690191149711609, 0.6492289900779724, 0.500637948513031, 0.267367959022522, 0.5178683400154114, 0.4299778342247009, 0.34047579765319824, -0.022573478519916534, -0.15782088041305542, -0.926532506942749, -0.10301145911216736, -0.5952520370483398, -0.5407558083534241, -0.1248132660984993, -0.5214674472808838, 0.523820698261261, -0.4209620952606201, -0.4304186701774597, 0.1282716989517212, 0.09992858022451401, -0.4459777772426605, -0.03434617817401886, -0.03686465695500374, 0.6578125357627869, -1.0324290990829468, 0.49118688702583313, 0.548651397228241, -0.5193617939949036, -0.3737822473049164, -0.2558650076389313, 0.6838969588279724, -0.6830851435661316, 1.0036861896514893, -0.08123056590557098, -0.7032450437545776, -0.07586827874183655, -0.5677974820137024, -1.1134240627288818, 0.8566756248474121, -0.17184481024742126, -0.44297969341278076, 0.2604011297225952, 0.14159178733825684, 0.4439687132835388, -0.21711465716362, 0.4804959297180176, 0.22411710023880005, 0.8014099597930908, -0.05197904631495476, -0.9183899760246277, -0.13833945989608765, -0.6531543135643005, -0.10949630290269852, 0.24468180537223816, -0.7506020069122314, 0.6807559132575989, -0.11184526979923248, -0.2585446536540985, -0.4906536936759949, 0.5588607788085938, 0.12036930024623871, 0.32018783688545227, 0.5178367495536804, 0.004212032072246075, 0.38948506116867065, 0.04408326372504234, 0.5725260972976685, -0.4369119107723236, 0.5393147468566895, 0.4111941456794739, -0.05597367137670517, 0.7857182025909424, 0.8790987730026245, -0.17977936565876007, 0.388135701417923, 0.5230903029441833, 0.1743117719888687, 0.16920344531536102, -0.1250273436307907, 0.10928145051002502, -0.1950860321521759, -0.11355061084032059, -0.2539850175380707, 0.43170127272605896, 0.3994482755661011, -0.17733356356620789, -0.03583239018917084, -0.10325194150209427, 0.13723069429397583, 0.314280241727829, -0.24906344711780548, 0.7777084112167358, -0.017651258036494255, -0.21777036786079407, -0.08389179408550262, -0.009208302944898605, 0.7361922264099121, -0.7277658581733704, -0.3430357873439789, -0.07553104311227798, 0.0963480994105339, -0.3811306357383728, -1.3058096170425415, 0.7379660606384277, -0.0045947604812681675, -0.09932556003332138, -0.5215014815330505, 0.9003047347068787, -0.13634422421455383, -0.4801196753978729, 0.355103462934494, 0.37833306193351746, -0.026177430525422096, 0.15619757771492004, -0.2578299641609192, 0.17873221635818481, -0.47490134835243225, -0.30522722005844116, 0.1969657987356186, 0.2217107117176056, -0.21636486053466797, 0.6084434986114502, 0.7923930287361145, -0.05174752324819565, 0.08624237775802612, -0.22289150953292847, 0.9467529654502869, -0.4236002266407013, -0.6836973428726196, -0.802924394607544, 0.5713047385215759, -0.3362054228782654, -0.6378816366195679, 0.9224330186843872, 0.20938122272491455, 1.005971908569336, 0.16511288285255432, 0.7664399147033691, -0.20907683670520782, 0.3078950345516205, 0.016597799956798553, 0.9679948687553406, -0.7969363331794739, 0.09224418550729752, -0.4044065773487091, -0.44560950994491577, -0.2787136435508728, 0.7355056405067444, -0.4154737889766693, 0.10313387215137482, 0.1729515939950943, 0.6826626658439636, -0.15301042795181274, -0.17532280087471008, 0.47587519884109497, 0.10966748744249344, 0.34085211157798767, -0.134779691696167, 0.7634953856468201, -0.14830824732780457, 0.6345946192741394, -0.07051123678684235, -0.5590865612030029, -0.5542963147163391, -0.9133905172348022, -0.6493401527404785, -0.961138129234314, -0.12670691311359406, -0.5651177167892456, 0.17485594749450684, 1.309774398803711, 0.8029004335403442, -0.5653985738754272, -0.5844178795814514, -0.03123563714325428, 0.0697367787361145, -0.15880833566188812, -0.39973169565200806, -0.23879268765449524, -0.17376062273979187, -0.6316207051277161, -0.10252325981855392, 0.5437204241752625, -0.2773391306400299, -0.6073524355888367, -0.018635446205735207, -0.09687640517950058, 0.5335311889648438, 0.7838869690895081, 0.3453400731086731, -0.47665226459503174, -0.5732007622718811, 0.4037330448627472, -0.25510847568511963, 0.0708167627453804, 0.7209304571151733, -0.4349706172943115, 0.5464675426483154, 0.6430127024650574, 0.2588535249233246, 0.4387187957763672, -0.23954187333583832, 0.5544293522834778, -0.48246559500694275, -0.10560872405767441, 0.16107434034347534, 0.0172857865691185, 0.04354123771190643, -0.45712584257125854, 0.34891754388809204, 0.5230972766876221, -0.5332095623016357, -0.447095662355423, 0.7369495034217834, -0.9147371053695679, -0.2613218128681183, 1.3432008028030396, 0.3090405762195587, -0.08559898287057877, -0.3116447925567627, -0.09380916506052017, 0.1923828274011612, -0.5994575619697571, 1.1481589078903198, 0.7019404172897339, -0.044734444469213486, -0.6277264952659607, -0.4686056673526764, 0.6410917639732361, -0.11852066218852997, -0.7563926577568054, -0.13233575224876404, 0.5735377669334412, 0.3820439577102661, 0.2448912113904953, 0.8137009143829346, -0.3231416344642639, 0.38177022337913513, -0.18811550736427307, -0.05279995873570442, -0.08385394513607025, -0.0989466980099678, -0.1601828783750534, 0.324314147233963, 0.11366336047649384, 0.10373936593532562 ]
http://arxiv.org/abs/2407.02552v1
http://arxiv.org/pdf/2407.02552v1
RLHF Can Speak Many Languages: Unlocking Multilingual Preference Optimization for LLMs
2024-07-02T17:42:30
2024-07-02T17:42:30
John Dang, Arash Ahmadian, Kelly Marchisio, Julia Kreutzer, Ahmet Üstün, Sara Hooker
cs.CL
cs.CL, cs.AI, cs.LG
Preference optimization techniques have become a standard final stage for training state-of-art large language models (LLMs). However, despite widespread adoption, the vast majority of work to-date has focused on first-class citizen languages like English and Chinese. This captures a small fraction of the languages in the world, but also makes it unclear which aspects of current state-of-the-art research transfer to a multilingual setting. In this work, we perform an exhaustive study to achieve a new state-of-the-art in aligning multilingual LLMs. We introduce a novel, scalable method for generating high-quality multilingual feedback data to balance data coverage. We establish the benefits of cross-lingual transfer and increased dataset size in preference training. Our preference-trained model achieves a 54.4% win-rate against Aya 23 8B, the current state-of-the-art multilingual LLM in its parameter class, and a 69.5% win-rate or higher against widely used models like Gemma-1.1-7B-it, Llama-3-8B-Instruct, Mistral-7B-Instruct-v0.3. As a result of our study, we expand the frontier of alignment techniques to 23 languages covering half of the world's population.
[ -0.4664311707019806, -0.5068288445472717, 0.21291492879390717, 0.432174414396286, -0.11832620948553085, 0.0913616418838501, -0.585703432559967, -0.5925224423408508, 0.329086035490036, 0.4225488603115082, -0.6061345934867859, -0.3161253035068512, -0.412101149559021, 0.07708872109651566, 0.28175532817840576, 0.8981694579124451, -0.30865466594696045, 0.5359413623809814, -0.03280610963702202, -0.5336359739303589, -0.27169159054756165, -0.8345080614089966, -0.43080082535743713, -0.7455263733863831, 0.7786696553230286, 0.6871587038040161, 0.7171253561973572, 0.692048192024231, 0.5173612833023071, 0.17448696494102478, 0.14625222980976105, 0.45044395327568054, -0.5828638672828674, 0.15136808156967163, 0.09241296350955963, -0.3192605674266815, -0.509663462638855, -0.14251188933849335, 0.7150744795799255, 0.601222574710846, -0.39572224020957947, 0.2385088950395584, -0.0968269482254982, 0.9534676671028137, -0.6104228496551514, 0.1233804002404213, -0.5016422867774963, 0.3900231719017029, -0.22261542081832886, -0.28894802927970886, -0.4361528158187866, -0.4234559237957001, 0.060600172728300095, -0.7719586491584778, -0.25788769125938416, 0.20877982676029205, 0.7959305644035339, 0.15419118106365204, -0.48542648553848267, -0.03787697106599808, -0.4444405138492584, 0.9733066558837891, -0.5676422119140625, 0.761297881603241, 0.24298471212387085, 0.30616095662117004, -0.05041035637259483, 0.026675431057810783, -0.3787755072116852, -0.10730475932359695, -0.05229297652840614, 0.08331359177827835, 0.2101186364889145, -0.06783805787563324, -0.06207110732793808, 0.27967190742492676, -0.6829977035522461, 0.323198139667511, 0.05363466963171959, -0.3898274302482605, 0.7900246381759644, -0.03713172674179077, 0.26766538619995117, 0.09412491321563721, -0.46371400356292725, -0.1339486837387085, -0.8597416281700134, 0.14009395241737366, 0.5770424604415894, 0.630577802658081, -0.28265324234962463, 0.5768665075302124, -0.13182328641414642, 0.8866043090820312, 0.1568441241979599, -0.6889509558677673, 0.20658349990844727, -0.477115273475647, -0.008989563211798668, 0.16485509276390076, 0.859260618686676, 0.5704591870307922, 0.47074899077415466, -0.020161844789981842, -0.17003442347049713, -0.22104428708553314, -0.12030293047428131, -0.7318603992462158, 0.2578796148300171, 0.10151740163564682, -0.43580684065818787, -0.10740068554878235, -0.22967858612537384, -0.7109441161155701, -0.39855849742889404, -0.38340073823928833, 0.09872279316186905, -0.0297552477568388, -0.5975801348686218, 0.33580562472343445, 0.3023826777935028, 0.5019888877868652, 0.10693924874067307, -1.3004357814788818, -0.08617588877677917, 0.48099374771118164, 0.5474327206611633, -0.5439584255218506, -0.7216078042984009, -0.4605652689933777, 0.10493308305740356, -0.46023139357566833, 0.6352291703224182, -0.3992229402065277, -0.4379403293132782, 0.27266889810562134, -0.03486998751759529, -0.08663184195756912, -0.4522535800933838, 0.5532006621360779, -0.6351513862609863, 0.21606387197971344, -0.4161432683467865, -0.40284860134124756, -0.09041386097669601, 0.47879868745803833, -0.6369829773902893, 1.1416141986846924, -0.04225373640656471, -0.7055561542510986, 0.4430887699127197, -0.30543041229248047, -0.47717443108558655, -0.2169867753982544, -0.1641293466091156, -0.49821871519088745, -0.2528231143951416, 0.4094676375389099, 0.3166845440864563, -0.2721141278743744, 0.42610523104667664, -0.575454592704773, -0.1113087609410286, 0.2449217140674591, -0.43546393513679504, 0.6908801794052124, 0.24319599568843842, -0.21175804734230042, 0.3435624837875366, -0.4514171779155731, 0.06181376799941063, 0.011306867003440857, -0.5940524935722351, -0.10102775692939758, -0.26225745677948, 0.2997449040412903, 0.31248214840888977, 0.5015785098075867, -0.5684670209884644, 0.17872601747512817, -0.3241744935512543, 0.21837235987186432, 0.6844121217727661, -0.28351855278015137, 0.5251747965812683, -0.36579465866088867, 0.807140052318573, -0.12072068452835083, 0.2286737710237503, 0.02270832657814026, -0.1572469174861908, -0.6955671906471252, -0.09297719597816467, 0.15982402861118317, 0.5439820885658264, -0.5459792017936707, 0.20790237188339233, -0.3765532672405243, -0.3373323082923889, -0.7810980081558228, 0.34191015362739563, 0.3925284147262573, 0.3811717927455902, 0.2603590786457062, 0.09454816579818726, -0.44471436738967896, -1.252443790435791, -0.19961383938789368, -0.19965019822120667, 0.6549630165100098, 0.420245498418808, -0.0822729840874672, -0.046005114912986755, 0.7622017860412598, -0.4102713167667389, -0.21654938161373138, -0.469640851020813, -0.5430223941802979, 0.25143131613731384, 0.370352566242218, 0.6461623311042786, -0.8605760335922241, -0.8454906344413757, 0.5619352459907532, -0.7159643173217773, 0.03352949023246765, 0.1127113625407219, -0.37060117721557617, 0.5716853737831116, 0.2447187602519989, -0.3703250288963318, -0.177559033036232, 0.9876735210418701, 0.04008568078279495, 0.4347948729991913, -0.26071885228157043, 0.26276999711990356, -1.0169236660003662, -0.051905471831560135, 0.03665478900074959, -0.2169017642736435, -0.4860959053039551, 0.271729975938797, 0.36583712697029114, -0.0013074621092528105, -0.6526849269866943, 0.9468852281570435, -0.6089889407157898, -0.04011959582567215, -0.14662495255470276, 0.1623735874891281, -0.12877871096134186, 0.6873430609703064, 0.3184901177883148, 0.8768973350524902, 0.5892713069915771, -0.4598895013332367, 0.40920504927635193, 0.10566581785678864, -0.20830221474170685, 0.5367573499679565, -0.2542822062969208, 0.0655917227268219, -0.09773430228233337, 0.1167188510298729, -0.7897307276725769, -0.24743840098381042, 0.12108317017555237, -0.31999585032463074, 0.4836105406284332, -0.1486782431602478, -0.18188998103141785, -0.13571253418922424, -0.34087935090065, 0.5988878011703491, 0.033840395510196686, -0.8416825532913208, 0.5970850586891174, 0.6945397853851318, -0.08677484095096588, -1.1744143962860107, -0.6147227883338928, -0.07792635262012482, -0.4699997007846832, -0.639545202255249, 0.15672720968723297, -0.24688182771205902, -0.14313024282455444, -0.35046136379241943, -0.059760089963674545, 0.050548870116472244, -0.02532787062227726, -0.11169803887605667, 0.4210696220397949, -0.2580088973045349, -0.05729302763938904, -0.03556961938738823, -0.24290773272514343, -0.21660855412483215, -0.4136858582496643, 0.4630975127220154, -0.20241406559944153, -0.49689269065856934, -0.16361376643180847, 0.4510921835899353, 0.6533672213554382, -0.43751657009124756, 0.48494940996170044, 0.7335842251777649, -0.1524723917245865, -0.19520963728427887, -0.6423619985580444, -0.011676060035824776, -0.42125341296195984, 0.609607458114624, -0.3939284086227417, -1.0494592189788818, 0.44021210074424744, 0.23979060351848602, 0.35663655400276184, 0.18243151903152466, 0.6883753538131714, 0.24114103615283966, 1.0250834226608276, 0.8685082793235779, -0.5770343542098999, 0.4281877875328064, 0.16810384392738342, 0.2332787811756134, -0.5083013772964478, -0.17708012461662292, -0.40786996483802795, -0.24014990031719208, -0.8582046627998352, -0.2631847560405731, 0.5298541188240051, -0.022718317806720734, -0.2179698497056961, 0.14723797142505646, -0.22975128889083862, 0.4908319413661957, 0.375234991312027, -0.08315981924533844, 0.3337803781032562, 0.2437480241060257, -0.14490574598312378, -0.33180907368659973, -0.8334152102470398, -0.25481268763542175, 1.22169828414917, 0.3178379237651825, 0.9390892386436462, 0.380555123090744, 0.7673980593681335, -0.04807455837726593, 0.40320923924446106, -1.0104366540908813, 0.23707330226898193, -0.24813871085643768, -0.5661298036575317, -0.5447781682014465, -0.32688698172569275, -0.8124793171882629, 0.6017084121704102, -0.19089771807193756, -0.3535464107990265, 0.055258817970752716, 0.2739090919494629, -0.1169610545039177, 0.2944560647010803, -0.611787736415863, 0.7707671523094177, -0.6511543989181519, -0.5117188692092896, -0.21309080719947815, -0.6589020490646362, 0.5153098106384277, -0.17939983308315277, 0.46446263790130615, -0.25456878542900085, 0.10013020038604736, 0.6561937928199768, -0.05409141257405281, 0.6021093726158142, -0.10673795640468597, -0.557485818862915, -0.1917480081319809, -0.19543518126010895, 0.34735167026519775, 0.17823971807956696, -0.33479219675064087, 0.17104801535606384, -0.01929289475083351, -0.44588494300842285, -0.451401025056839, 0.7857384085655212, -0.9442881941795349, -0.6311951875686646, -0.35140085220336914, -0.6980376839637756, -0.49421489238739014, 0.36572518944740295, 0.15264050662517548, 0.13218212127685547, -0.2856341004371643, -0.05362030863761902, 0.6185546517372131, -0.1797199249267578, 0.4445844888687134, 0.7165322303771973, -0.6058761477470398, -0.6885662078857422, 1.0643706321716309, -0.030761009082198143, 0.46157148480415344, 0.6118016839027405, 0.33534443378448486, -0.5686273574829102, -0.3057423532009125, -0.9453771114349365, 0.5130888223648071, -0.7464067339897156, -0.10533181577920914, -0.48231643438339233, -0.051684215664863586, -0.3785596489906311, -0.1236083060503006, -0.414224237203598, -0.3347589373588562, 0.10409499704837799, -0.11623648554086685, 0.10970286279916763, 0.5131258964538574, -0.032805174589157104, 0.09737032651901245, -0.764980137348175, 0.21494022011756897, 0.2952039837837219, 0.3473409116268158, -0.00729622645303607, -0.43892520666122437, -0.5298499464988708, 0.08825261890888214, -0.056643515825271606, -0.7222825288772583, 0.43129581212997437, 0.20790213346481323, 0.8985111117362976, 0.2578008472919464, -0.05702194944024086, 0.7913969159126282, -0.3858504593372345, 0.5537902116775513, 0.14909523725509644, -0.7136229276657104, 0.10881002247333527, -0.25781673192977905, 0.12512582540512085, 0.5965381264686584, 0.45182251930236816, -0.8738909363746643, -0.051619887351989746, -0.14768607914447784, -0.6756776571273804, 0.7428404092788696, -0.42126575112342834, 0.06485853344202042, 0.32836273312568665, 0.2669999301433563, 0.22532354295253754, 0.26358717679977417, -0.9986951351165771, -0.6481333374977112, -0.12789103388786316, -0.1087593287229538, -0.2606064975261688, -0.22008086740970612, -0.2855077087879181, -0.10219380259513855, 0.8966768980026245, -0.4874271750450134, -0.24254170060157776, -0.0692882165312767, -0.15720108151435852, -0.3446364402770996, 0.3901599645614624, 0.7336467504501343, 0.655992865562439, -0.11440141499042511, 0.06898636370897293, 0.11571156978607178, -0.3564784526824951, 0.3673211932182312, 0.05025842785835266, -0.1964361071586609, -0.14987096190452576, 0.33279359340667725, 0.8271641135215759, 0.015663975849747658, -0.5367872714996338, 0.2958112359046936, -0.07656576484441757, -0.17943520843982697, -0.17108875513076782, -0.22672507166862488, 0.2090016007423401, -0.03778395429253578, 0.11254506558179855, -0.25976040959358215, -0.24442993104457855, -0.22865723073482513, 0.030295774340629578, 0.7227647304534912, -0.39420822262763977, -0.16988301277160645, 0.3220737874507904, 0.22777463495731354, -0.07652479410171509, 0.24283255636692047, 0.022454610094428062, -0.562649130821228, 0.4139561951160431, 0.6753865480422974, 0.6671172380447388, -0.3015439808368683, 0.19031181931495667, 0.5301458835601807, 0.2653295695781708, -0.2051106095314026, 0.33936285972595215, 0.03137859329581261, -1.211209774017334, -0.4011967182159424, -0.7680485844612122, -0.5591428875923157, -0.051964301615953445, -0.8000826239585876, 0.2697661817073822, -0.04503852128982544, -0.0914878100156784, -0.10567277669906616, 0.20194494724273682, -0.3979552090167999, -0.04924273490905762, 0.13095733523368835, 0.6439173221588135, -0.8348179459571838, 0.9717148542404175, 0.9053972363471985, -0.030962225049734116, -0.9145544171333313, -0.14866624772548676, 0.20563112199306488, -1.2973824739456177, 0.5403452515602112, 0.038996439427137375, -0.3582940995693207, -0.07784946262836456, -0.16934126615524292, -1.0535166263580322, 0.8149663209915161, 0.7078830003738403, -0.5605242848396301, 0.17996175587177277, 0.1770165115594864, 0.2665932774543762, -0.5079720616340637, 0.125890851020813, 0.5066473484039307, 0.8030009269714355, -0.16245552897453308, -1.0901657342910767, -0.2713415324687958, -0.1912829577922821, -0.08275008201599121, 0.34937921166419983, -0.9704537987709045, 0.5811101198196411, -0.4054044485092163, 0.08876068890094757, -0.21154960989952087, 0.6310862898826599, 0.5775597095489502, -0.06300359219312668, 0.4617375433444977, 0.3459379971027374, 0.7299801707267761, 0.12959812581539154, 0.8113040328025818, -0.7384691834449768, 0.4422435164451599, 0.9799584746360779, -0.5716419816017151, 0.8287792801856995, 0.7846466898918152, -0.23920121788978577, 0.1324300616979599, 0.9205232858657837, 0.2609594166278839, 0.35527825355529785, 0.023250620812177658, -0.18041865527629852, -0.522699773311615, -0.5125319957733154, -0.4729728400707245, 0.4300210773944855, 0.15149952471256256, 0.04099982976913452, -0.09202155470848083, -0.011295943520963192, 0.23161457479000092, 0.18574094772338867, -0.08353099972009659, 0.7027412056922913, -0.0013391313841566443, -0.9879642128944397, 0.7749279737472534, 0.11086105555295944, 1.0134106874465942, -0.8479284644126892, 0.20662696659564972, -0.5104951858520508, 0.21519502997398376, -0.3485160171985626, -0.7595289945602417, -0.01139777060598135, -0.21361248195171356, -0.2836103141307831, -0.48378512263298035, 0.34266194701194763, -0.9909945726394653, -0.5097877979278564, 0.6262239217758179, 0.6355389356613159, -0.07227105647325516, 0.3704003095626831, -0.6087532639503479, 0.15445636212825775, 0.32888925075531006, -0.18295249342918396, 0.5911445617675781, 0.18760642409324646, -0.1496145874261856, 0.7440268397331238, 0.5713338255882263, 0.5279747247695923, -0.009891274385154247, 0.3371325135231018, 0.49653446674346924, -0.44992008805274963, -0.5048660039901733, -0.7844666242599487, 0.04406186193227768, 0.22228725254535675, -0.4771140515804291, 0.8291424512863159, 0.6629123091697693, 1.0107123851776123, 0.02404606342315674, 0.8407639861106873, 0.3797626495361328, 0.30412811040878296, -0.6480087041854858, 0.5614744424819946, -0.8072758913040161, 0.06523935496807098, -0.054120294749736786, -0.8668323159217834, -0.20641878247261047, 0.41114485263824463, 0.0100434310734272, 0.024721838533878326, 0.5643031597137451, 0.9699588418006897, 0.013551485724747181, -0.1505381166934967, 0.4015309810638428, -0.31561464071273804, 0.3494518995285034, 0.587184488773346, 0.6879485249519348, -0.10692103207111359, 0.4518693685531616, -0.47674012184143066, -0.20379002392292023, 0.0006138189346529543, -0.9623916149139404, -0.6751955151557922, -0.3734670579433441, -0.10818666219711304, -0.20919181406497955, -0.06639547646045685, 1.2039397954940796, 0.8373294472694397, -0.8009170293807983, -0.9108932614326477, 0.4648738503456116, 0.3338276445865631, -0.20784883201122284, -0.14160846173763275, 0.38261139392852783, -0.4478072226047516, -0.7946553230285645, 0.38843050599098206, 0.3233175575733185, 0.09063871949911118, -0.5557390451431274, -0.4929715394973755, -0.28471851348876953, -0.29464390873908997, 0.5455352663993835, 0.28704869747161865, -0.8979966640472412, -0.07650256901979446, 0.4166821837425232, -0.2709423899650574, 0.22428756952285767, 0.8826808929443359, -0.19620847702026367, 0.483310341835022, 0.3060987591743469, 0.8787432909011841, 0.367215633392334, -0.029738200828433037, 0.8221701979637146, -0.6406179666519165, 0.23286782205104828, -0.05594005808234215, 0.5336061120033264, 0.5718602538108826, -0.478194922208786, 0.4182332754135132, 0.020979102700948715, -0.5564302206039429, -0.7091700434684753, 0.3390030860900879, -0.9460871815681458, -0.033593762665987015, 1.3351831436157227, -0.029649091884493828, -0.008173373527824879, 0.05296650901436806, -0.22027286887168884, 0.11079524457454681, -0.502696692943573, 0.46299561858177185, 0.951303243637085, -0.2435886412858963, -0.17995771765708923, -0.33882710337638855, 0.6482087969779968, 0.7695271372795105, -0.7025766968727112, 0.4318827986717224, 0.4507203996181488, 0.25024157762527466, 0.06363862752914429, 0.8373242020606995, -0.1128920242190361, 0.1706407368183136, -0.5483115911483765, 0.2240624874830246, 0.04252641648054123, -0.30356714129447937, -0.5343765020370483, 0.08035580813884735, 0.4844920039176941, 0.011805898509919643 ]
http://arxiv.org/abs/2407.02448v1
http://arxiv.org/pdf/2407.02448v1
Ensemble of pre-trained language models and data augmentation for hate speech detection from Arabic tweets
2024-07-02T17:26:26
2024-07-02T17:26:26
Kheir Eddine Daouadi, Yaakoub Boualleg, Kheir Eddine Haouaouchi
cs.CL
cs.CL, cs.AI
Today, hate speech classification from Arabic tweets has drawn the attention of several researchers. Many systems and techniques have been developed to resolve this classification task. Nevertheless, two of the major challenges faced in this context are the limited performance and the problem of imbalanced data. In this study, we propose a novel approach that leverages ensemble learning and semi-supervised learning based on previously manually labeled. We conducted experiments on a benchmark dataset by classifying Arabic tweets into 5 distinct classes: non-hate, general hate, racial, religious, or sexism. Experimental results show that: (1) ensemble learning based on pre-trained language models outperforms existing related works; (2) Our proposed data augmentation improves the accuracy results of hate speech detection from Arabic tweets and outperforms existing related works. Our main contribution is the achievement of encouraging results in Arabic hate speech detection.
[ -0.3724077641963959, -0.7634068727493286, 0.07810759544372559, -0.0003595368470996618, -0.2902311384677887, 0.7150958776473999, -0.18874967098236084, -0.7175276875495911, 0.40463531017303467, 0.42315229773521423, -0.2887839674949646, -0.6800362467765808, -0.8235819935798645, 0.06784746050834656, -0.7719717025756836, 1.1660748720169067, 0.11920532584190369, 0.16952520608901978, 0.27697086334228516, -0.35893872380256653, -0.07180440425872803, -0.4521653354167938, -0.4707038998603821, -0.012172755785286427, 0.4235795736312866, 0.4298189580440521, 0.6984479427337646, 0.16352392733097076, 0.15806321799755096, 0.34902307391166687, 0.32881662249565125, 0.21468579769134521, -0.30728086829185486, 0.02858920395374298, -0.005195061210542917, -0.15860943496227264, -0.026778921484947205, -0.019361883401870728, 0.7211024165153503, 0.44063860177993774, -0.13289965689182281, 0.085349440574646, 0.11184003949165344, 0.1420857459306717, -0.6797329187393188, -0.33909255266189575, -0.7030957937240601, 0.09786403179168701, -0.48621368408203125, -0.0351288840174675, -0.16658122837543488, -0.4543851315975189, 0.034419167786836624, -0.17848724126815796, 0.2044837325811386, 0.19277304410934448, 0.33497264981269836, 0.14560742676258087, -0.3136887848377228, -0.20070458948612213, -0.7910412549972534, 0.9683439135551453, -0.662704586982727, 0.15897823870182037, 0.1684616655111313, 0.2744910717010498, 0.12962645292282104, -0.4111707806587219, -0.6653547286987305, -0.20661941170692444, -0.023171527311205864, -0.018631044775247574, -0.616512656211853, -0.02017238363623619, -0.07709299027919769, 0.18810191750526428, -0.5514330863952637, 0.5225974321365356, -0.4088006019592285, -0.5321115851402283, 0.8328741192817688, -0.23129509389400482, 0.6186691522598267, 0.2775103449821472, -0.2907337248325348, 0.023207316175103188, -0.3021562099456787, -0.3483313322067261, 0.5267963409423828, 0.40883004665374756, -0.15438532829284668, 0.4758576452732086, -0.14061196148395538, 0.6367281079292297, -0.06660337746143341, -0.053962405771017075, 0.5240416526794434, 0.2477957308292389, -0.03751697763800621, 0.514171302318573, 0.7369571924209595, 0.1538325548171997, 0.4457613229751587, -0.4778803288936615, -0.3098120391368866, 0.49900779128074646, 0.3456595242023468, -0.6462795734405518, -0.2523052990436554, 0.19401012361049652, -0.2783887982368469, -0.7466446757316589, -0.337249755859375, -0.8284037709236145, -0.5212037563323975, -0.0708656907081604, 0.48302310705184937, -0.2918756902217865, -0.422758549451828, -0.40206021070480347, -0.09686292707920074, -0.2081599086523056, 0.4914565980434418, -0.6351854205131531, 0.21847869455814362, 0.23819352686405182, 0.7696132659912109, -0.454274982213974, -0.09293810278177261, -0.5606977343559265, 0.006595988757908344, -0.28312554955482483, 0.7603728175163269, -1.0629377365112305, -0.2530613839626312, 0.2927674353122711, -0.6002125144004822, 0.2946496307849884, -0.6639378070831299, 0.901992678642273, -0.6433416604995728, 0.13280808925628662, 0.4053525924682617, -0.6035613417625427, -0.10490410774946213, 0.1311919242143631, -0.433487206697464, 0.8765391707420349, 0.18696849048137665, -0.7795936465263367, 0.39517271518707275, -0.44961532950401306, -0.6986026763916016, 0.23619720339775085, -0.04905082285404205, -0.752819299697876, 0.15098801255226135, 0.23942680656909943, 0.25552114844322205, -0.024686994031071663, 0.1280316263437271, -0.6683489084243774, -0.18188387155532837, 0.09253091365098953, -0.28949806094169617, 0.711444079875946, 0.5342304110527039, -0.3802972435951233, 0.20920917391777039, -0.7101547122001648, 0.025978781282901764, 0.05275654047727585, -0.025875352323055267, -0.47907716035842896, -0.059923071414232254, 0.5064276456832886, 0.32411783933639526, -0.017322715371847153, -0.7913042902946472, -0.09603232145309448, -0.3790208101272583, 0.142696350812912, 0.8663936257362366, -0.22063229978084564, 0.36198151111602783, -0.41052621603012085, 0.5269274115562439, 0.33905863761901855, -0.12332118302583694, 0.4110303223133087, -0.24473416805267334, -0.49739158153533936, -0.23696745932102203, 0.14164261519908905, 0.510453999042511, -0.82317715883255, 0.42658665776252747, 0.009232960641384125, -0.6369037628173828, -0.5199170708656311, 0.04280455783009529, 0.25557297468185425, 0.4809703528881073, 0.6348527073860168, -0.00981964636594057, -0.9886490702629089, -0.8546755909919739, -0.6649954915046692, -0.28697341680526733, 0.17778244614601135, 0.051141656935214996, 0.37131404876708984, -0.12573549151420593, 0.7891020178794861, -0.08456277847290039, -0.3037748336791992, -0.2165166139602661, 0.5963979959487915, -0.31396788358688354, 0.441654235124588, 0.6966049671173096, -1.0040576457977295, -0.6624574065208435, -0.09986524283885956, -0.26805850863456726, -0.5015671849250793, 0.4243704378604889, 0.1605500876903534, 0.34819838404655457, 0.1389337182044983, 0.13110512495040894, 0.5716757774353027, 0.4533555209636688, -0.0685788244009018, 0.5482497811317444, 0.4502412676811218, 0.2852453291416168, -1.176964521408081, -0.516481339931488, 0.156260147690773, -0.275858074426651, -0.9857854247093201, -0.4299704432487488, -0.21393197774887085, 0.03511622175574303, -0.5413556694984436, 0.49567103385925293, -0.10309550911188126, 0.15626884996891022, -0.5929723381996155, -0.2828882038593292, -0.6737147569656372, 0.27435824275016785, 0.2625470459461212, 0.6832871437072754, 0.5412451028823853, -0.6032533049583435, 0.43105068802833557, 0.036117300391197205, -0.5288255214691162, 0.432567298412323, -0.22880248725414276, 0.14200612902641296, -0.17349325120449066, 0.1363472044467926, -1.1256227493286133, -0.20793738961219788, 0.3109374940395355, -0.6100757718086243, 0.06021791696548462, -0.2059950977563858, -0.5570420622825623, -0.35051414370536804, -0.18981625139713287, 0.6117275357246399, 0.49816104769706726, -0.4840954840183258, 0.661260187625885, 0.8958715200424194, -0.08659476041793823, -0.5509403944015503, -0.5709457397460938, 0.04318879172205925, -0.5510962009429932, -0.4119027853012085, 0.48238784074783325, 0.2825976312160492, -0.30036982893943787, -0.009822885505855083, -0.07315085083246231, -0.328274130821228, 0.10040303319692612, 0.17330223321914673, 0.11291683465242386, 0.03800211846828461, 0.35592904686927795, 0.16415277123451233, 0.39684244990348816, -0.11043602228164673, -0.6430774927139282, 0.6546033620834351, 0.07594846934080124, -0.012231502681970596, -0.39520153403282166, 0.4342593550682068, 0.387992262840271, -0.3928911089897156, 0.8886778354644775, 1.0117253065109253, -0.5511863827705383, -0.3236487805843353, -0.7238038182258606, -0.15654850006103516, -0.4100973308086395, 0.37121471762657166, 0.09181796759366989, -1.2172428369522095, 0.3268205225467682, -0.028145689517259598, 0.08688400685787201, 0.4516924023628235, 0.6661452054977417, -0.2410905659198761, 1.1718038320541382, 0.4026544690132141, -0.6420560479164124, 0.7043322920799255, 0.13699094951152802, 0.2008371353149414, -0.0020970716141164303, 0.04542602598667145, -0.7776620388031006, -0.427541583776474, -0.8758862614631653, -0.18136924505233765, 0.6037641167640686, -0.34434884786605835, -0.29265597462654114, -0.035053033381700516, -0.3415035307407379, 0.38743525743484497, 0.2517576813697815, 0.0463368259370327, -0.004210779443383217, 0.6050142645835876, 0.22678983211517334, -0.009548351168632507, -0.41225844621658325, -0.38720911741256714, 1.1343358755111694, 0.09772760421037674, 0.7482489347457886, 0.39444515109062195, 0.8694943785667419, 0.9001941084861755, 0.5429595708847046, -0.42064163088798523, 0.2647381126880646, -0.1240815594792366, -0.7528796195983887, -0.28035837411880493, -0.5412390828132629, -0.6688202023506165, 0.14829209446907043, -0.3066462576389313, -0.8933833241462708, -0.2247658371925354, 0.2527526021003723, -0.3103780448436737, 0.49465879797935486, -0.6331619024276733, 0.5586671829223633, -0.24228982627391815, -0.4154170751571655, -0.43739014863967896, -0.4856971204280853, 0.4230998158454895, -0.270158052444458, 0.5451563596725464, 0.04485107585787773, -0.09918222576379776, 1.1713855266571045, -0.45951369404792786, 0.8460245728492737, -0.3089112639427185, -0.10598304867744446, 0.3238708972930908, -0.19253835082054138, 0.5728083252906799, -0.44285354018211365, -0.03645540401339531, 0.1145380437374115, -0.28487512469291687, -0.6064342260360718, -0.4209565818309784, 0.5713912844657898, -0.8154296875, -0.351274698972702, -0.5051212906837463, -0.5735228657722473, -0.386658251285553, 0.2512513995170593, 0.1506018042564392, 0.3038371205329895, -0.32701289653778076, -0.06413380056619644, 0.3353370726108551, -0.11875882744789124, 0.3453702926635742, 0.5129348039627075, -0.33310359716415405, -0.3371065855026245, 0.9693454504013062, 0.25699397921562195, 0.05310120806097984, 0.2821080982685089, 0.03523460403084755, -0.48426005244255066, -0.8778539896011353, -0.3739694356918335, -0.2440110594034195, -0.2050011307001114, -0.09420333057641983, -0.9003428220748901, -0.1342308223247528, -0.7211282253265381, 0.0811968520283699, -0.1841718703508377, -0.31201332807540894, -0.2006322145462036, 0.05747675150632858, 0.23747164011001587, 0.6926733255386353, -0.21498993039131165, 0.6369509100914001, -0.850702166557312, 0.3470897674560547, 0.15761138498783112, 0.016484186053276062, -0.0412137433886528, -0.7987997531890869, -0.3883914053440094, 0.28994226455688477, -0.36793333292007446, -1.024341344833374, 0.5207997560501099, 0.022164994850754738, 0.2862197458744049, 0.4871752858161926, 0.4304444491863251, 0.5598155856132507, -0.4464687407016754, 0.4301340579986572, 0.113876573741436, -0.6680943965911865, 0.5597389340400696, -0.31633761525154114, -0.08226516097784042, 0.36528292298316956, 0.4763142764568329, -0.27403587102890015, -0.6386914253234863, -0.8483536243438721, -0.4539774954319, 0.9141849875450134, 0.549390971660614, 0.16591520607471466, 0.17320232093334198, -0.23722213506698608, 0.03435849770903587, 0.33946508169174194, -0.4528830945491791, -0.48407676815986633, -0.1610049605369568, -0.33650243282318115, -0.19289414584636688, -0.2380603402853012, -0.03147082403302193, -0.35290685296058655, 0.8168262243270874, 0.2456294447183609, 0.16728641092777252, -0.340825617313385, -0.5100914835929871, -0.13444744050502777, 0.38486427068710327, 0.5509105920791626, 0.38735947012901306, -0.214796781539917, 0.07688377797603607, 0.3038438558578491, -0.3699025809764862, 0.3101915121078491, 0.3489345908164978, -0.14368797838687897, 0.08762294054031372, 0.3705306351184845, 0.7894209623336792, -0.33131057024002075, -0.5347898006439209, 0.33492159843444824, 0.19807732105255127, -0.09322497993707657, -0.43995240330696106, 0.032759323716163635, -0.318571001291275, 0.1638292670249939, 0.6292746067047119, 0.2830876410007477, 0.27313530445098877, -0.4865706264972687, 0.5291444063186646, 0.46971043944358826, -0.22593015432357788, -0.20847533643245697, 0.33129429817199707, 0.19270817935466766, -0.3115919828414917, 0.24652893841266632, -0.21665716171264648, -1.014769434928894, 0.45694923400878906, 0.5928872227668762, 0.6738287210464478, -0.7345399856567383, 0.515752911567688, 0.2343454509973526, 0.21842525899410248, 0.3906319737434387, 0.10319946706295013, -0.3579358160495758, -1.1691187620162964, -0.2496471256017685, -0.7411319613456726, -0.3205438554286957, 0.34895631670951843, -0.4311985969543457, 0.19838598370552063, -0.6025640964508057, 0.07064058631658554, 0.28646665811538696, 0.08434410393238068, -0.39539146423339844, 0.4454886019229889, 0.586402416229248, 0.5030141472816467, -1.2192115783691406, 0.8630498647689819, 0.81779545545578, -0.12753057479858398, -0.6430361866950989, 0.17839659750461578, 0.12504693865776062, -0.9921635985374451, 0.4671832025051117, 0.2868020236492157, -0.2691323161125183, 0.37208959460258484, -0.7357199192047119, -0.5418629050254822, 0.11468217521905899, 0.19287919998168945, -0.47706931829452515, 0.383389949798584, 0.2902209162712097, 0.5498120784759521, -0.4699884057044983, 0.3489852249622345, 0.5293733477592468, 0.32871732115745544, 0.13644985854625702, -0.6819188594818115, -0.37483587861061096, -0.24944385886192322, -0.32305440306663513, 0.44525304436683655, -0.5607412457466125, 0.4874683618545532, 0.14513102173805237, -0.2575141489505768, -0.14544884860515594, 0.9392655491828918, -0.07698959112167358, 0.458945631980896, 0.8127071261405945, 0.7685977816581726, 0.7437165975570679, 0.026957634836435318, 0.7513028979301453, 0.20134727656841278, 0.1104203388094902, 1.0031927824020386, -0.17693926393985748, 0.40824809670448303, 0.18103082478046417, -0.4376518726348877, 0.3426694869995117, 0.6365574598312378, 0.13478662073612213, 0.6316778063774109, 0.3973332345485687, -0.7792263031005859, -0.4402630031108856, -0.6711375117301941, -0.4199787378311157, 0.4866682291030884, 0.4404458701610565, -0.2281220555305481, -0.518432080745697, 0.40971639752388, 0.014353401027619839, 0.23994268476963043, -0.5218549966812134, 0.7115805149078369, -0.24281366169452667, -0.3210426867008209, 0.5429553389549255, 0.1477799266576767, 0.8188928961753845, -0.20771373808383942, 0.0005515280645340681, 0.244724839925766, 0.09764781594276428, -0.3668815493583679, -0.6602228283882141, 0.3570442497730255, 0.36763662099838257, 0.008492385037243366, -0.16342668235301971, 0.8325042128562927, -0.645567774772644, -0.6591533422470093, 0.24767345190048218, 0.22762306034564972, 0.28810635209083557, -0.23121707141399384, -0.7138476967811584, 0.03462400287389755, 0.2546502351760864, 0.30855467915534973, 0.3680504560470581, 0.0832514688372612, -0.2735729217529297, 0.4596443474292755, 0.5891577005386353, 0.03990916535258293, 0.2551460266113281, 0.12867145240306854, 0.9745521545410156, -0.290290892124176, -0.47105515003204346, -1.0090632438659668, 0.22139553725719452, -0.20938418805599213, -0.1161588728427887, 0.6961266994476318, 0.7721443772315979, 1.1356658935546875, 0.04592183977365494, 1.2116498947143555, -0.15637336671352386, 1.1441051959991455, -0.30666038393974304, 0.5712730884552002, -0.6598670482635498, 0.06534331291913986, -0.4556008577346802, -0.7309833765029907, -0.5155645608901978, 0.4940938651561737, -0.624262273311615, 0.3279955983161926, 0.22694282233715057, 0.8833951354026794, -0.14383307099342346, 0.4146277606487274, 0.35549741983413696, 0.31740331649780273, 0.305682510137558, 0.3709738552570343, 1.0434128046035767, -0.26637694239616394, 0.396965891122818, -0.504699170589447, -0.20452910661697388, -0.2830957770347595, -0.41102275252342224, -0.9422084093093872, -0.5072064399719238, -0.327328085899353, -0.3512406349182129, 0.11602625250816345, 1.0683482885360718, 0.48598629236221313, -1.1138437986373901, -0.12053308635950089, 0.08228457719087601, 0.17480936646461487, 0.14832201600074768, -0.16094404458999634, 0.32487952709198, -0.2723403871059418, -0.9375818371772766, 0.28744545578956604, 0.0035514854826033115, 0.21670842170715332, 0.21985766291618347, -0.03511686250567436, -0.48525363206863403, -0.17922630906105042, 0.3624376654624939, 0.31181421875953674, -0.4566996097564697, -0.23121534287929535, -0.602081298828125, 0.07871440052986145, -0.09051122516393661, 0.5715579986572266, -0.8701114654541016, 0.16086527705192566, 0.19349385797977448, 0.8393659591674805, 0.36374661326408386, 0.17046812176704407, 0.277011513710022, -0.7399024963378906, 0.3350369334220886, 0.672714352607727, 0.15375754237174988, 0.1822642982006073, -0.12277453392744064, 0.19278304278850555, 0.22143609821796417, -0.2645992934703827, -0.9947865605354309, 0.24929368495941162, -0.6184349060058594, -0.04846492037177086, 0.8515806794166565, 0.26032060384750366, -0.09910178929567337, -0.33916938304901123, -0.21635837852954865, 0.6064572334289551, -0.689508318901062, 0.8151103258132935, 0.6434887051582336, 0.16495224833488464, -0.26997414231300354, -0.05481409654021263, 0.44234660267829895, 0.722640335559845, -0.7282440066337585, -0.2934471666812897, 0.6082524657249451, -0.006474524736404419, 0.1342710256576538, 0.3609358072280884, 0.13862429559230804, 0.3046044409275055, -0.5666384696960449, 0.0748702809214592, 0.10404250025749207, -0.3072162866592407, -0.19977518916130066, 0.35406920313835144, -0.24903027713298798, -0.517718493938446 ]
http://arxiv.org/abs/2407.02446v1
http://arxiv.org/pdf/2407.02446v1
Predicting vs. Acting: A Trade-off Between World Modeling & Agent Modeling
2024-07-02T17:22:54
2024-07-02T17:22:54
Margaret Li, Weijia Shi, Artidoro Pagnoni, Peter West, Ari Holtzman
cs.CL
cs.CL, cs.AI
RLHF-aligned LMs have shown unprecedented ability on both benchmarks and long-form text generation, yet they struggle with one foundational task: next-token prediction. As RLHF models become agent models aimed at interacting with humans, they seem to lose their world modeling -- the ability to predict what comes next in arbitrary documents, which is the foundational training objective of the Base LMs that RLHF adapts. Besides empirically demonstrating this trade-off, we propose a potential explanation: to perform coherent long-form generation, RLHF models restrict randomness via implicit blueprints. In particular, RLHF models concentrate probability on sets of anchor spans that co-occur across multiple generations for the same prompt, serving as textual scaffolding but also limiting a model's ability to generate documents that do not include these spans. We study this trade-off on the most effective current agent models, those aligned with RLHF, while exploring why this may remain a fundamental trade-off between models that act and those that predict, even as alignment techniques improve.
[ -0.17771753668785095, -0.7180621027946472, 0.6835652589797974, -0.2606782615184784, 0.04731432721018791, 0.18628276884555817, 0.21732448041439056, -1.0709753036499023, 0.019214730709791183, 0.5912819504737854, -0.9627499580383301, -0.13317222893238068, -0.29637500643730164, -0.24815122783184052, -0.29555147886276245, 1.0117502212524414, -0.05575557053089142, -0.11328712850809097, -0.6192131638526917, -0.12081566452980042, -0.31549394130706787, -0.37446317076683044, -0.6443307995796204, -0.8569413423538208, 0.7222737669944763, 0.1440308839082718, 1.2129465341567993, 0.9718151092529297, 0.49143508076667786, 0.18932798504829407, 0.17886576056480408, 0.12471123039722443, -0.46104884147644043, 0.562925398349762, -0.20802552998065948, -0.24720081686973572, -0.5609012842178345, 0.1521395444869995, 0.6361380219459534, 0.7103825807571411, -0.048633769154548645, 0.13671720027923584, -0.2582528293132782, 0.6600110530853271, -0.5204162001609802, 0.22466938197612762, -0.5155879259109497, 0.13191631436347961, 0.15565453469753265, -0.1210293099284172, -0.48597127199172974, -0.018618468195199966, 0.3905927240848541, -0.5884532332420349, 0.3377450108528137, 0.31400299072265625, 0.8618499040603638, 0.20827597379684448, -0.37589091062545776, -0.15719103813171387, -0.7716211080551147, 0.5967512130737305, -0.4407421946525574, 0.43844103813171387, 0.3220268785953522, 0.22852319478988647, -0.36593014001846313, -1.021944284439087, -0.3833213448524475, -0.4412786662578583, 0.0247394610196352, 0.2156049907207489, 0.013663454912602901, 0.3167688548564911, 0.15437674522399902, -0.02694382146000862, -0.4806908965110779, 0.3937413990497589, -0.2786778509616852, -0.35430195927619934, 0.6573745608329773, 0.32366588711738586, 0.21582750976085663, 0.025591695681214333, -0.7468946576118469, -0.2646263837814331, -0.8021125197410583, 0.20551854372024536, 0.3408929407596588, 0.5291476249694824, -0.0321895033121109, 0.5484296679496765, 0.14548951387405396, 0.6478577852249146, 0.24410302937030792, -0.2236579805612564, -0.444467157125473, 0.12792351841926575, -0.18704494833946228, -0.022247876971960068, 0.5167158246040344, 0.4335706830024719, 0.24276570975780487, -0.04975423961877823, -0.3773024082183838, -0.11118858307600021, 0.23676671087741852, -0.6969553232192993, 0.17918924987316132, 0.32750803232192993, -0.5227310657501221, -0.3896926939487457, 0.26924869418144226, -0.4318484663963318, -0.5767802000045776, -0.18252505362033844, 0.3334251940250397, -0.08303366601467133, -0.13046415150165558, -0.2452353537082672, -0.2654516100883484, 0.13185156881809235, 0.2520657777786255, -0.7256714105606079, 0.34467098116874695, 0.8340792059898376, 0.5948176383972168, -0.38298499584198, -0.9194769263267517, -0.5052493810653687, 0.2654739022254944, -0.6199095845222473, 0.8529655933380127, -0.4780299961566925, -0.49045872688293457, 0.28503090143203735, 0.067874975502491, -0.11360105127096176, -0.2871662676334381, 0.4613804519176483, -0.6578249931335449, 0.17718878388404846, -0.1971726268529892, -0.7052534818649292, -0.035180751234292984, 0.05880943313241005, -1.069246768951416, 1.0623207092285156, 0.12867866456508636, -0.5557187795639038, 0.6893263459205627, -0.3455287516117096, -0.2616206407546997, -0.11401847004890442, -0.048240307718515396, -0.6088770031929016, 0.10375355184078217, -0.28607094287872314, 0.587753176689148, -0.2589297890663147, 0.3534892499446869, -0.628592312335968, -0.46105432510375977, 0.5239169597625732, -0.4305543899536133, 0.15576401352882385, 0.19406120479106903, -0.17477555572986603, 0.22703567147254944, -0.5906146764755249, -0.005066614132374525, 0.11100533604621887, -0.4496896266937256, 0.020886195823550224, 0.3041664958000183, 0.12735973298549652, 0.4549519121646881, 0.14696340262889862, -0.22550663352012634, 0.12491294741630554, -0.31331804394721985, 0.21584714949131012, 0.9035107493400574, 0.0029101837426424026, 0.7821564674377441, -0.8909110426902771, 0.9152517914772034, -0.2795066833496094, 0.12620238959789276, 0.006937331520020962, -0.5063908696174622, -0.38574132323265076, -0.08988424390554428, 0.08127220720052719, 0.23044069111347198, -0.454939603805542, -0.05795246362686157, -0.3690575659275055, -0.5377554297447205, -0.3801366090774536, -0.2028578221797943, 0.4582217335700989, 0.37701621651649475, 0.006107218097895384, -0.123839370906353, -0.5558952689170837, -0.8081464171409607, -0.5761606693267822, -0.4942225515842438, 0.648605227470398, -0.05397867038846016, 0.43833985924720764, 0.07175339013338089, 1.1342309713363647, -0.1823825091123581, -0.02340325154364109, -0.5580929517745972, -0.05428210273385048, -0.014099367894232273, 0.3849206268787384, 0.26273617148399353, -0.9894484877586365, -0.5897534489631653, -0.013064533472061157, -0.4961632192134857, 0.19934937357902527, -0.42092543840408325, -0.05797585844993591, 0.5727046132087708, 0.6527637243270874, -1.1698353290557861, 0.7068681120872498, 0.5256022810935974, -0.4032571017742157, 0.6120703816413879, -0.24578224122524261, -0.18560625612735748, -0.8021221160888672, 0.004517136141657829, -0.23544833064079285, -0.30514633655548096, -0.7573505640029907, 0.20823408663272858, 0.09221819788217545, -0.2207767814397812, -0.48381900787353516, 1.2732270956039429, -0.6718747615814209, -0.49599993228912354, -0.3735714852809906, 0.05801814794540405, 0.1758660525083542, 0.47733381390571594, 0.11589468270540237, 0.7347467541694641, 0.19312910735607147, -0.438050240278244, -0.02165917120873928, 0.12586580216884613, -0.2427382469177246, 0.17285610735416412, -0.4368956685066223, 0.024022040888667107, -0.19137227535247803, 0.6393665671348572, -0.6743226051330566, -0.450935959815979, 0.19069206714630127, -0.34246715903282166, 0.5696460604667664, -0.09052730351686478, -0.27165499329566956, -0.4746590554714203, -0.4093671143054962, 0.25641170144081116, 0.5261708498001099, -0.4926134943962097, 0.9627288579940796, 0.10123946517705917, -0.014353725127875805, -0.8147009611129761, -0.8899122476577759, -0.06778372824192047, -0.23377148807048798, -0.6169558763504028, 0.5785207152366638, 0.10368762910366058, -0.42832332849502563, 0.053261637687683105, -0.21350827813148499, 0.07484494149684906, 0.09680936485528946, 0.6707471013069153, 0.39930176734924316, -0.05209005996584892, 0.24942804872989655, -0.08549396693706512, -0.06853993237018585, 0.015274519100785255, -0.268422394990921, 0.27644726634025574, 0.15322144329547882, -0.7135683298110962, -0.27230411767959595, 0.37285202741622925, 0.848256528377533, -0.2422981858253479, 0.8765158653259277, 0.39368507266044617, -0.22012877464294434, -0.5703185200691223, -0.3173910677433014, -0.08584950864315033, -0.39381155371665955, 0.6265974044799805, -0.2589877247810364, -0.4999811351299286, 0.6148633360862732, 0.29754531383514404, 0.3377695679664612, 0.5225070714950562, 0.44429317116737366, -0.1494227945804596, 1.0184463262557983, 0.6822685599327087, 0.25753554701805115, 0.7028970122337341, -0.059294067323207855, 0.07191736251115799, -0.5642533302307129, -0.11056205630302429, -0.19894009828567505, -0.11704210191965103, -0.6926803588867188, -0.33059027791023254, 0.09780729562044144, -0.19705167412757874, -0.24201175570487976, 0.17687973380088806, -0.36953458189964294, 0.3624945878982544, 0.5314241051673889, 0.004239676520228386, 0.1928291916847229, 0.031925905495882034, 0.032122835516929626, 0.13096274435520172, -0.9148389101028442, -0.49219927191734314, 1.1709940433502197, 0.5873417258262634, 0.8269055485725403, -0.0991075187921524, 0.6742123365402222, 0.5268659591674805, 0.5284661650657654, -0.8214806318283081, 0.5860032439231873, 0.18950238823890686, -0.9381614327430725, -0.5160174369812012, -0.006994993891566992, -1.0341652631759644, 0.3059476912021637, -0.31377479434013367, -0.41663843393325806, 0.24643324315547943, 0.2902984619140625, -0.2956176698207855, 0.36152344942092896, -0.5141912698745728, 0.6866840720176697, 0.04102669656276703, -0.6453441977500916, 0.00455551128834486, -0.749491274356842, 0.29607918858528137, 0.008851617574691772, 0.28975993394851685, -0.18835332989692688, -0.0637824535369873, 0.5843518972396851, -0.34794583916664124, 1.0264861583709717, -0.0662057027220726, -0.2493516206741333, 0.6110451817512512, 0.12321343272924423, 0.8589502573013306, -0.3073166608810425, -0.29814067482948303, -0.45123353600502014, 0.02742457017302513, -0.4196545481681824, -0.42266136407852173, 0.42929327487945557, -0.7889431118965149, -0.6161274313926697, -0.5713144540786743, -0.5818482637405396, -0.2224869281053543, 0.02999015524983406, 0.4868275225162506, 0.5097091197967529, -0.6419605016708374, -0.28061506152153015, 0.43613821268081665, 0.17704233527183533, 0.6610031127929688, 0.2524014115333557, -0.3865329325199127, -0.32630109786987305, 0.7700555920600891, 0.15783028304576874, 0.7094087600708008, 0.4804657995700836, 0.09218043833971024, -0.49653518199920654, -0.29742196202278137, -0.22815944254398346, 0.2583169937133789, -1.1404573917388916, -0.055679745972156525, -0.49112483859062195, -0.3211927115917206, -0.4788020849227905, -0.27250003814697266, -0.14237065613269806, -0.4934100806713104, -0.3831981122493744, -0.35425594449043274, 0.09483717381954193, 0.885525643825531, -0.06750807911157608, 0.11820756644010544, -0.6822128891944885, 0.06119678542017937, 0.3956078588962555, 0.16696003079414368, 0.29540500044822693, -0.4992886185646057, -0.4743916094303131, -0.03335179388523102, -0.2556489408016205, -0.9079824686050415, 0.1609746813774109, 0.4138277471065521, 0.7066970467567444, 0.2478010058403015, 0.02410838007926941, 0.5823903679847717, -0.39960432052612305, 0.6190996766090393, 0.1288183480501175, -0.5973755121231079, -0.0008022291003726423, -0.47811073064804077, 0.2051134705543518, 0.3104526698589325, 0.08269108086824417, -0.4924308955669403, -0.33684754371643066, -0.8558061122894287, -0.5053213238716125, 0.7790467739105225, -0.10251200944185257, -0.06322338432073593, 0.13426503539085388, 0.29349103569984436, 0.29149511456489563, 0.08726700395345688, -1.0082342624664307, -0.008936717174947262, -0.06953514367341995, -0.17350269854068756, -0.04431690275669098, -0.2826980650424957, -0.08017276227474213, 0.10645709931850433, 0.6623834371566772, -0.3586050271987915, 0.3036028742790222, 0.3065362572669983, -0.08458039164543152, -0.5785194039344788, 0.030082181096076965, 0.7347660064697266, 0.6850431561470032, -0.1935173124074936, 0.004750683903694153, -0.10001091659069061, -0.4121319651603699, 0.10971533507108688, 0.19110184907913208, -0.21678848564624786, -0.10143566876649857, 0.973941445350647, 1.0443251132965088, 0.2532251179218292, -0.788467288017273, 0.31864601373672485, 0.3118111789226532, -0.3319299519062042, -0.3130410313606262, 0.21154800057411194, 0.2462468445301056, 0.31724897027015686, 0.41986918449401855, 0.07821159064769745, -0.2456454336643219, -0.8550203442573547, 0.15576604008674622, 0.43605512380599976, -0.5569608807563782, -0.2709992229938507, 0.6731787323951721, 0.062422432005405426, -0.6225114464759827, 0.28046953678131104, 0.08377409726381302, -0.38688862323760986, 1.0940804481506348, 0.5255950093269348, 0.9869206547737122, -0.026005003601312637, 0.22166228294372559, 0.061969779431819916, 0.09187745302915573, -0.3066089451313019, 0.0768653005361557, 0.13309143483638763, -0.6773431897163391, -0.2626612186431885, -0.5372304916381836, -0.49256429076194763, -0.16284067928791046, -0.6834096908569336, 0.21231450140476227, -0.38382554054260254, -0.4279676675796509, -0.21992260217666626, 0.02301660180091858, -0.6435268521308899, 0.27557191252708435, 0.13429860770702362, 0.8486193418502808, -0.6685143709182739, 0.685127317905426, 0.7873101830482483, -0.3996400237083435, -0.7751107215881348, 0.29516324400901794, -0.12978385388851166, -0.8679521679878235, 0.4045451283454895, 0.18894697725772858, 0.019948558881878853, -0.08255080133676529, -0.5551069378852844, -1.0135133266448975, 1.4159910678863525, 0.307594358921051, -0.2460441291332245, -0.5784304738044739, 0.08939526975154877, 0.489711731672287, -0.5439742207527161, -0.008458083495497704, 0.3625100553035736, 0.6068970561027527, 0.07910565286874771, -0.7432147264480591, 0.1388915628194809, 0.17382460832595825, -0.0897466391324997, 0.20209451019763947, -0.7124481201171875, 1.029217004776001, -0.45475533604621887, -0.4040139615535736, 0.39428895711898804, 0.7544571161270142, 0.5228754281997681, 0.501814067363739, 0.43509742617607117, 0.21735580265522003, 0.34687644243240356, 0.20017044246196747, 1.2725958824157715, -0.268189400434494, 0.31970012187957764, 1.2075291872024536, -0.579194188117981, 0.8407091498374939, 0.5214343070983887, -0.18013949692249298, 0.5554327964782715, 0.8346474766731262, 0.040754854679107666, 0.45008447766304016, -0.09089890867471695, -0.1425129771232605, -0.4233536124229431, -0.05232859402894974, -0.28313741087913513, 0.4479130208492279, 0.11905613541603088, -0.23063409328460693, -0.22937576472759247, -0.2753206491470337, -0.042996909469366074, 0.20008844137191772, -0.16657842695713043, 0.6026350259780884, 0.15924055874347687, -1.339218258857727, 0.2716975212097168, -0.055327482521533966, 0.19066452980041504, -0.6456424593925476, -0.09985308349132538, -0.2293350100517273, 0.05438819155097008, -0.07433930039405823, -0.6957424879074097, 0.012056075967848301, -0.5929021835327148, -0.3850552439689636, -0.41814088821411133, 1.0769305229187012, -0.47560611367225647, -0.3402629494667053, 0.4565993547439575, 0.9123744964599609, -0.1988898068666458, 0.24464109539985657, -0.8136651515960693, -0.147868350148201, -0.2412319928407669, -0.5873825550079346, 0.5420518517494202, 0.4049072563648224, -0.36421895027160645, 0.8683763146400452, 0.8424959778785706, 0.13386225700378418, 0.05127500742673874, -0.11130789667367935, 0.5486170053482056, -0.6714513301849365, -0.652228593826294, -0.7134628891944885, 0.5065895915031433, 0.13718070089817047, -0.3666917681694031, 0.3129630982875824, 0.15136374533176422, 0.368435263633728, -0.11181346327066422, 0.6601300835609436, 0.20806628465652466, 0.36424505710601807, -0.6238150596618652, 0.8292643427848816, -0.6330154538154602, -0.03452204540371895, -0.11610320955514908, -0.8646714091300964, 0.058451615273952484, 0.01592235267162323, 0.07168545573949814, 0.267203688621521, 0.8014339804649353, 0.70255047082901, 0.1325811743736267, -0.2153616100549698, 0.5830783247947693, -0.03237690031528473, 0.35148870944976807, 0.2592930197715759, 1.0955983400344849, -0.1559339314699173, 0.48237544298171997, 0.05874346196651459, 0.15233634412288666, -0.33823516964912415, -1.0401309728622437, -0.942563533782959, -0.6020800471305847, 0.03537389263510704, -0.30641084909439087, 0.16693371534347534, 0.9595930576324463, 0.7717111706733704, -0.41813987493515015, -0.21031825244426727, -0.2449730783700943, 0.339141309261322, -0.386944055557251, -0.18362265825271606, 0.3593604564666748, -0.20249363780021667, -0.5515943765640259, 0.3060310184955597, 0.014458339661359787, 0.5174091458320618, -0.4055638909339905, -0.28445008397102356, -0.16545680165290833, 0.3846008777618408, 0.36236655712127686, 0.6007813811302185, -0.9422200322151184, -0.2517007291316986, 0.10838393867015839, -0.3933038115501404, -0.17934900522232056, 0.7097747921943665, -0.8878879547119141, 0.11509954184293747, 0.2263442575931549, 0.5288779139518738, 0.26074641942977905, 0.0413302481174469, 0.8406713604927063, -0.4290238320827484, 0.2577962875366211, 0.19755978882312775, 0.296352744102478, 0.13602207601070404, -0.47651347517967224, 0.47417309880256653, 0.1882605254650116, -0.573989748954773, -0.9669201374053955, 0.45730799436569214, -0.7539397478103638, -0.6081914305686951, 1.0538899898529053, -0.04106968641281128, -0.37112170457839966, -0.029422976076602936, -0.04774051904678345, 0.17123138904571533, -0.37228628993034363, 0.5782480835914612, 0.8439937829971313, -0.31554195284843445, 0.024192243814468384, -0.550988495349884, 0.7240448594093323, 0.5259402394294739, -0.6262441277503967, 0.2300184816122055, 0.5502880811691284, -0.0026649374049156904, -0.028379978612065315, 0.8384377956390381, 0.3256804347038269, 0.6235395073890686, 0.1312546581029892, 0.16330315172672272, -0.33240312337875366, -0.5346471667289734, -0.20959505438804626, 0.2837911546230316, 0.39734557271003723, 0.1544857621192932 ]
http://arxiv.org/abs/2407.02432v1
http://arxiv.org/pdf/2407.02432v1
Evaluating the Robustness of Adverse Drug Event Classification Models Using Templates
2024-07-02T17:09:24
2024-07-02T17:09:24
Dorothea MacPhail, David Harbecke, Lisa Raithel, Sebastian Möller
cs.CL
cs.CL, cs.LG
An adverse drug effect (ADE) is any harmful event resulting from medical drug treatment. Despite their importance, ADEs are often under-reported in official channels. Some research has therefore turned to detecting discussions of ADEs in social media. Impressive results have been achieved in various attempts to detect ADEs. In a high-stakes domain such as medicine, however, an in-depth evaluation of a model's abilities is crucial. We address the issue of thorough performance evaluation in English-language ADE detection with hand-crafted templates for four capabilities: Temporal order, negation, sentiment, and beneficial effect. We find that models with similar performance on held-out test sets have varying results on these capabilities.
[ -0.0783228874206543, -0.5976409912109375, 0.7328416109085083, -0.02867915667593479, -0.2152104377746582, -0.16905471682548523, 0.012423589825630188, -0.5646966695785522, 0.40236759185791016, 0.3488944172859192, 0.04412801191210747, -0.6539426445960999, -1.1773306131362915, 0.022122520953416824, -0.5455742478370667, 1.0372798442840576, -0.14080138504505157, 0.2705647051334381, 0.09172999858856201, -0.5423989295959473, -0.6902264952659607, -0.3838854730129242, -0.7925528287887573, -0.012073823250830173, 0.655952513217926, 0.0022361725568771362, 0.4242785573005676, 0.5284808874130249, 0.8621543645858765, 0.312826931476593, -0.08599833399057388, -0.18113072216510773, -0.24483820796012878, 0.07245546579360962, -0.48387107253074646, -0.5046628713607788, -0.980198085308075, 0.31566905975341797, 0.4455186426639557, 0.4690150320529938, -0.0401335246860981, 0.10185053199529648, -0.037002526223659515, 0.3211635947227478, -0.8063804507255554, -0.15036191046237946, -0.49190130829811096, -0.11795012652873993, -0.1910151243209839, -0.015038030222058296, -0.3402058184146881, -0.22741737961769104, 0.2767302393913269, -0.4545741081237793, 0.008634442463517189, -0.288962721824646, 0.8079363107681274, -0.04922185465693474, -0.6827914714813232, -0.6748983860015869, -0.7358371019363403, 0.5684664249420166, -0.8254646062850952, 0.4934314787387848, 0.14950338006019592, 0.46960824728012085, -0.16248197853565216, -1.03194260597229, -0.5404804348945618, 0.08577223867177963, 0.010330354794859886, -0.05801044777035713, -0.1478390246629715, 0.1553504765033722, 0.10092532634735107, 0.5438487529754639, -0.4667488932609558, 0.4887717366218567, -0.42307886481285095, -0.22791078686714172, 0.5434525609016418, 0.3141911029815674, 0.41193681955337524, -0.2960492670536041, -0.13615044951438904, 0.26427245140075684, -0.35226017236709595, 0.061752211302518845, 0.16595593094825745, 0.20258668065071106, -0.27101361751556396, 0.5135509371757507, 0.2248133420944214, 0.5064381957054138, -0.12128734588623047, -0.2731231153011322, 0.08140037208795547, -0.49133092164993286, -0.23648305237293243, -0.24871821701526642, 0.8913148045539856, 0.47022828459739685, -0.15690860152244568, -0.08913200348615646, -0.22640256583690643, 0.5649197101593018, 0.3290932774543762, -0.8700699806213379, -0.1715838611125946, 0.4514840543270111, -0.6721605062484741, -0.6014944314956665, -0.002388006541877985, -0.820853590965271, -0.7625419497489929, -0.00582809466868639, 0.5888996720314026, -0.34908926486968994, -0.06638951599597931, 0.2424730807542801, -0.3232519030570984, 0.1685851663351059, 0.27404993772506714, -0.3438410460948944, 0.4200045168399811, 0.49871826171875, 0.7295807003974915, -0.36360859870910645, -0.02333860844373703, -0.5528155565261841, -0.11744113266468048, -0.3292357325553894, 1.2412327527999878, -0.5108982920646667, -0.3036647140979767, -0.03181498870253563, 0.06375168263912201, -0.22988653182983398, -0.6327185034751892, 0.8625752329826355, -0.46927347779273987, 0.36011362075805664, -0.2152782678604126, -0.8873693346977234, -0.17198613286018372, 0.04861398786306381, -0.4714215397834778, 0.1724308282136917, -0.12040804326534271, -0.888308048248291, 0.946208119392395, -0.6439226269721985, -0.5838815569877625, -0.06259094923734665, -0.11910257488489151, -0.5615496635437012, 0.23594939708709717, 0.06814432889223099, 0.5364242792129517, -0.1313769668340683, 0.2389558106660843, -0.3879268765449524, -0.4662153124809265, 0.3211609423160553, -0.3643433153629303, 0.6707162261009216, 0.15524281561374664, -0.33226478099823, 0.2424972802400589, -0.914511501789093, -0.2279367446899414, 0.0367712564766407, -0.44531798362731934, -0.5873429179191589, -0.0009286254644393921, 0.14655545353889465, 0.4012128710746765, -0.1328609138727188, -0.37247294187545776, 0.007702001370489597, -0.34374135732650757, 0.1605415940284729, 0.6368956565856934, 0.4882403016090393, 0.23078510165214539, -0.30480530858039856, 0.541040301322937, 0.06684862822294235, 0.4624970853328705, -0.09469328075647354, -0.5840200185775757, -0.3905254006385803, -0.3748471140861511, 0.4578793942928314, 0.5336340665817261, -0.5095691084861755, 0.5573028326034546, -0.05351588875055313, -0.2697933316230774, -0.3060959577560425, 0.1554885059595108, 0.2705783247947693, 0.25409427285194397, 0.2926340699195862, -0.6018622517585754, -0.357540100812912, -0.7068494558334351, -0.5704534649848938, -0.15939095616340637, -0.12151724100112915, 0.21585293114185333, 0.5400996208190918, -0.3191688358783722, 0.17732229828834534, -0.5084317326545715, -0.29813581705093384, -0.15627869963645935, 0.15028686821460724, -0.01516655646264553, 0.16142550110816956, 0.8040426969528198, -0.454667866230011, -0.3171791434288025, -0.41081395745277405, -0.776687502861023, -0.2539677917957306, 0.021362951025366783, -0.057272445410490036, -0.1086030974984169, 0.4242652952671051, -0.23183980584144592, 0.5355246663093567, 0.29562076926231384, -0.5371177792549133, 0.24602249264717102, -0.01432762760668993, 0.41787710785865784, -1.039601445198059, 0.06809662282466888, 0.3211515545845032, 0.0883261114358902, -0.8329145312309265, -0.1907946914434433, 0.19640037417411804, -0.03815022110939026, -0.38569027185440063, 0.4975346028804779, -0.06285815685987473, 0.22921618819236755, -0.1627740114927292, 0.08651362359523773, 0.31161415576934814, -0.07625533640384674, -0.1022358164191246, 0.18255235254764557, 0.6140674352645874, -0.714422345161438, 0.001842865371145308, -0.12213703244924545, -0.37222808599472046, 0.877637505531311, -0.412428081035614, -0.1642652153968811, -0.13037537038326263, -0.09125567227602005, -0.9824728965759277, -0.396056592464447, 0.052580464631319046, -0.2886757254600525, 0.6040724515914917, -0.40356558561325073, -0.1831202507019043, -0.567029595375061, -0.47539258003234863, 0.19771136343479156, 0.3894796371459961, -0.20168595016002655, 0.3118051588535309, 0.6161531209945679, 0.03666147589683533, -0.39033955335617065, -0.04909713193774223, 0.017150845378637314, -0.6293996572494507, -0.20098133385181427, 0.04422307759523392, 0.2395029366016388, -0.40537840127944946, -0.10328163951635361, -0.08024130016565323, -0.3916057348251343, 0.1367286741733551, 0.043823424726724625, 0.1562613546848297, -0.15267404913902283, 0.1489211767911911, 0.038018785417079926, 0.16738620400428772, 0.16756746172904968, 0.05764038488268852, 0.16520465910434723, 0.011242167092859745, -0.17466087639331818, -0.5287777185440063, 0.232594296336174, 1.07289719581604, -0.24467375874519348, 0.6535494923591614, 0.4186074137687683, -0.8104273080825806, 0.007223410997539759, -0.4226236343383789, -0.18647754192352295, -0.41851940751075745, 0.40386781096458435, 0.11035267263650894, -0.04648720100522041, 0.7685447931289673, 0.11161573976278305, 0.023931998759508133, 0.5034146308898926, 0.2864153981208801, -0.10567589849233627, 1.1127172708511353, 0.34486907720565796, 0.2163372039794922, 0.5258152484893799, -0.5001534223556519, 0.3648771345615387, -0.7094360589981079, -0.199785053730011, -0.2612335681915283, -0.12333700805902481, -0.5006583333015442, -0.35714930295944214, 0.6117406487464905, -0.04680585488677025, -0.11539307981729507, 0.13840094208717346, -0.25725072622299194, 0.10876242816448212, -0.04277077317237854, 0.12026707828044891, 0.23225188255310059, -0.18315373361110687, -0.05076241493225098, -0.2094353884458542, -0.720225989818573, -0.7771050930023193, 1.279808759689331, 0.5811289548873901, 0.5807183384895325, -0.015454433858394623, 0.41910576820373535, 0.23268142342567444, 0.6242722868919373, -0.8624464273452759, 0.33454206585884094, -0.40661364793777466, -0.6672986745834351, 0.054366081953048706, -0.10929840803146362, -0.9240161776542664, 0.08409113436937332, -0.5765492916107178, -0.7586211562156677, 0.325913667678833, 0.09814141690731049, -0.6094151735305786, 0.38419902324676514, -0.8254703283309937, 1.0228859186172485, -0.3052142262458801, -0.4372057020664215, -0.32908716797828674, -0.3109224736690521, 0.3246954381465912, -0.09826608002185822, 0.5341681241989136, -0.032327570021152496, 0.041274238377809525, 0.9803183674812317, -0.3235589265823364, 0.6734820008277893, -0.21197247505187988, -0.03095722198486328, 0.3202904164791107, 0.1350710541009903, 0.176915243268013, 0.1908840388059616, 0.07658528536558151, 0.13312175869941711, -0.06057198718190193, -0.5087412595748901, -0.6523375511169434, 0.7379146814346313, -0.3473704159259796, -0.453871488571167, -0.2965594530105591, -0.09565143287181854, -0.13771513104438782, 0.37913501262664795, 0.440979540348053, 0.7486250996589661, -0.43421512842178345, -0.22841589152812958, 0.2176692932844162, -0.6327351331710815, 0.053260259330272675, 0.8464245796203613, -0.03265870735049248, -0.34910401701927185, 0.7509111762046814, 0.5623899102210999, 0.1096210926771164, -0.08808209002017975, 0.3224009871482849, -0.29555583000183105, -0.9206628799438477, -0.33483219146728516, 0.3315640091896057, -0.8848428726196289, -0.061604470014572144, -0.670992374420166, 0.08873064815998077, -0.5349444150924683, -0.22728152573108673, -0.5711220502853394, -0.3270782232284546, -0.14306555688381195, -0.11198268830776215, 0.20217463374137878, 1.3127520084381104, -0.017907585948705673, 0.20891165733337402, -0.6537295579910278, 0.18824034929275513, 0.17576570808887482, 0.8859076499938965, -0.08539391309022903, -0.48663005232810974, -0.21587243676185608, -0.2780105471611023, -0.624761700630188, -0.917326807975769, 0.0016860604519024491, -0.07005131244659424, 0.7810581922531128, 0.8837717175483704, 0.04520287364721298, 0.3547070324420929, -0.27351751923561096, 0.6062019467353821, 0.02507474459707737, -0.5962183475494385, 0.8733866810798645, -0.4828730523586273, -0.15112343430519104, 0.4970729947090149, 0.6040040254592896, -0.31878480315208435, -0.5435992479324341, -0.6680415272712708, -0.9167560338973999, 0.2955857813358307, 0.39622873067855835, -0.18626472353935242, -0.4186185300350189, 0.3908619284629822, 0.05277412012219429, 0.10996928066015244, -0.39500463008880615, -0.22405529022216797, -0.018155096098780632, 0.121255062520504, 0.11222545057535172, -0.3414008319377899, 0.10254640877246857, -0.11690543591976166, 0.5308092832565308, 0.4435349404811859, 0.05496588349342346, 0.1994432955980301, 0.08156801760196686, 0.041944678872823715, 0.4875062108039856, 0.32963666319847107, 0.5405658483505249, -0.42634958028793335, 0.25622662901878357, 0.013296663761138916, -0.6493669748306274, 0.13016951084136963, 0.18176288902759552, 0.1357913315296173, -0.17500628530979156, 0.8883543014526367, 0.4705882966518402, -0.0038012161385267973, -0.41468891501426697, 0.6941895484924316, -0.33112290501594543, 0.3671089708805084, 0.01508525013923645, 0.01603497564792633, -0.4258226454257965, -0.05311586707830429, -0.06637813150882721, 0.18676912784576416, 0.6844417452812195, -0.7454562187194824, 0.43002384901046753, 0.2847976088523865, -0.6762503385543823, -0.4931289553642273, 0.7453921437263489, 0.3481423258781433, -0.32077544927597046, 0.22750656306743622, -0.06924432516098022, -0.4619693160057068, 0.7431535720825195, 0.2970113754272461, 0.6752612590789795, -0.5027597546577454, -0.04370313137769699, 0.4093906879425049, 0.14334025979042053, 0.2892550230026245, 0.3916032016277313, 0.6121922135353088, -0.5869170427322388, -0.16761919856071472, -0.3270932734012604, 0.0014074534410610795, 0.6480334997177124, -0.7709258198738098, 0.5534120798110962, -0.5172945261001587, -0.6734572649002075, 0.4812658727169037, -0.2152717113494873, -0.7526084780693054, 0.13630492985248566, -0.15678982436656952, 0.6535852551460266, -1.356744647026062, 0.31919053196907043, 1.0478686094284058, -0.11843830347061157, -0.48481640219688416, 0.2725051939487457, 0.18234005570411682, -0.27791085839271545, 0.37606754899024963, 0.2230132520198822, 0.06181143969297409, -0.5442341566085815, -0.06825102865695953, -0.4347712993621826, 0.7686046361923218, -0.06140521913766861, -0.0398930087685585, 0.06671992689371109, -0.13270165026187897, 0.9491714239120483, -0.3577619791030884, 0.2710396647453308, 0.668592095375061, 0.07998666167259216, -0.1971496045589447, -1.0636072158813477, -0.11029805988073349, -0.3758113384246826, -0.16626927256584167, 0.07333493232727051, -0.20886239409446716, 0.5341757535934448, -0.4138518273830414, -0.3430206775665283, -0.33141738176345825, -0.0017441101372241974, 0.07386358827352524, 0.4789105951786041, 0.44547390937805176, 0.27384984493255615, 0.635240912437439, 0.0892624482512474, 1.5142415761947632, -0.1106005534529686, 0.14182552695274353, 0.7536647915840149, -0.41228657960891724, 0.5965418219566345, 0.2967941164970398, -0.13476073741912842, 0.4618947505950928, 0.4950619339942932, 0.41509515047073364, 0.609503448009491, 0.10705284774303436, -0.1632518321275711, -0.2082752287387848, -0.14331762492656708, -0.2533109188079834, 0.5427173376083374, 0.7833998799324036, -0.6052647233009338, -0.22323055565357208, 0.1613474041223526, -0.13143055140972137, 0.20222005248069763, -0.284911572933197, 0.6468265056610107, 0.06595830619335175, -0.38527658581733704, 0.4288761615753174, 0.010625012218952179, 0.3892539143562317, -0.24561889469623566, -0.3310624957084656, -0.0992530807852745, 0.5265291333198547, -0.03839952498674393, -0.6882508397102356, 0.45554691553115845, -0.008012393489480019, 0.00354347238317132, 0.589018702507019, 0.7510139346122742, 0.0999877005815506, -0.5211755037307739, 0.6942771673202515, 0.38574761152267456, 0.024521013721823692, 0.2789808213710785, -0.5740721225738525, -0.048292458057403564, -0.5199629068374634, -0.21547837555408478, 0.20686158537864685, 0.3892596662044525, -0.27866753935813904, 0.5117132067680359, 0.2366105318069458, 0.37044215202331543, -0.18134044110774994, 0.1373714953660965, 0.6768463850021362, -0.2056863009929657, -0.5311993360519409, -0.7531281113624573, 0.5566190481185913, -0.237163707613945, -0.22150953114032745, 0.7344094514846802, 0.6806579232215881, 0.4766520857810974, -0.04565490037202835, 0.7947437763214111, 0.13148407638072968, 0.5035092830657959, -0.305724561214447, 0.8326979875564575, -0.5319494605064392, 0.7489374876022339, -0.4975646436214447, -0.39204898476600647, -0.5525667667388916, 0.6840148568153381, -0.5248004198074341, 0.03088218905031681, 0.7344913482666016, 0.41353750228881836, -0.26199808716773987, -0.11193934828042984, 0.23946043848991394, 0.4725983738899231, 0.4688894748687744, 0.4161779284477234, 0.7095181345939636, -0.9021062850952148, 0.13848882913589478, -0.27521201968193054, -0.41189947724342346, 0.022531455382704735, -0.8172071576118469, -1.3097904920578003, -0.41622957587242126, -0.427784264087677, -0.7198659181594849, 0.24965496361255646, 0.8191083669662476, 0.5095109343528748, -1.1636730432510376, 0.1495564877986908, 0.26558688282966614, 0.3727804124355316, -0.1585279405117035, -0.25508326292037964, 0.6521527767181396, -0.042917463928461075, -0.5488441586494446, 0.2675744593143463, 0.31748899817466736, 0.34096193313598633, 0.09376758337020874, 0.2116636484861374, -0.17584171891212463, 0.21136751770973206, 0.7602342367172241, 0.01062414888292551, -0.36281484365463257, -0.15390107035636902, -0.03849755600094795, -0.11805661767721176, -0.12007267773151398, 1.0998910665512085, -0.3855592608451843, 0.6404604315757751, 0.4271828234195709, 0.09185906499624252, 0.010033808648586273, -0.2688247561454773, 0.8685024976730347, -0.28255313634872437, 0.020186008885502815, 0.25625675916671753, 0.7844216227531433, 0.12463891506195068, -0.4522671699523926, 0.28923577070236206, 0.31728047132492065, -0.46907496452331543, -0.9562239646911621, 0.08022065460681915, -0.5040688514709473, -0.5308545827865601, 1.1457931995391846, -0.22582948207855225, 0.14539222419261932, -0.649472713470459, -0.08026646077632904, 0.3416561484336853, -0.1668729931116104, 1.0358607769012451, 0.5062814354896545, -0.3060682415962219, 0.4322505593299866, -0.8294240832328796, 0.5335906147956848, -0.09472648799419403, -0.5360469818115234, -0.0011058449745178223, 0.42006412148475647, 0.5476593375205994, 0.11077488958835602, 0.8290980458259583, -0.4914259910583496, 0.3300932049751282, -0.12038633972406387, -0.10912523418664932, 0.13279983401298523, -0.48421064019203186, -0.483254611492157, 0.005345671437680721, 0.29754334688186646, -0.05548790842294693 ]
http://arxiv.org/abs/2407.02408v1
http://arxiv.org/pdf/2407.02408v1
CEB: Compositional Evaluation Benchmark for Fairness in Large Language Models
2024-07-02T16:31:37
2024-07-02T16:31:37
Song Wang, Peng Wang, Tong Zhou, Yushun Dong, Zhen Tan, Jundong Li
cs.CL
cs.CL, cs.LG
As Large Language Models (LLMs) are increasingly deployed to handle various natural language processing (NLP) tasks, concerns regarding the potential negative societal impacts of LLM-generated content have also arisen. To evaluate the biases exhibited by LLMs, researchers have recently proposed a variety of datasets. However, existing bias evaluation efforts often focus on only a particular type of bias and employ inconsistent evaluation metrics, leading to difficulties in comparison across different datasets and LLMs. To address these limitations, we collect a variety of datasets designed for the bias evaluation of LLMs, and further propose CEB, a Compositional Evaluation Benchmark that covers different types of bias across different social groups and tasks. The curation of CEB is based on our newly proposed compositional taxonomy, which characterizes each dataset from three dimensions: bias types, social groups, and tasks. By combining the three dimensions, we develop a comprehensive evaluation strategy for the bias in LLMs. Our experiments demonstrate that the levels of bias vary across these dimensions, thereby providing guidance for the development of specific bias mitigation methods.
[ -0.3552427291870117, -0.8404422998428345, 0.6562514901161194, 0.71518874168396, 0.12169109284877777, 0.12554530799388885, -0.5064015984535217, -0.4666968882083893, 0.11594243347644806, 0.44642335176467896, -0.3783896863460541, -0.7816858887672424, -0.7303174138069153, -0.003977104090154171, -0.3391016721725464, 0.9403766989707947, 0.20029130578041077, 0.574542760848999, -0.6543810367584229, -0.13903741538524628, -0.7211876511573792, -0.3486926853656769, -0.6604666709899902, -0.4096754193305969, 0.6051787734031677, 0.23107096552848816, 0.5807642936706543, 0.5289888381958008, 0.5232431888580322, 0.21049082279205322, -0.3575485348701477, -0.0196290984749794, -0.5607085824012756, 0.03447146713733673, -0.4461739659309387, -0.36983659863471985, -0.44316431879997253, -0.003059349488466978, 0.8603540062904358, 1.1327009201049805, -0.04841114580631256, 0.38259807229042053, 0.24357154965400696, 0.6972586512565613, -1.1349587440490723, 0.15808679163455963, -0.6845141053199768, 0.14002981781959534, -0.4096985161304474, 0.11186029016971588, -0.47526437044143677, -0.5872802734375, -0.0466771237552166, -0.24565225839614868, 0.1446235179901123, -0.12983161211013794, 0.21413441002368927, 0.0960145965218544, -0.7102383971214294, -0.29383525252342224, -0.44654741883277893, 1.0131664276123047, -0.8700736165046692, 0.37521207332611084, 0.10741722583770752, 0.18745183944702148, -0.12888836860656738, -0.4290379285812378, -0.5405253767967224, -0.10815689712762833, 0.08145025372505188, 0.02810087241232395, 0.029943762347102165, 0.03817946836352348, 0.22293084859848022, 0.3994300067424774, -0.4483470916748047, 0.2740488648414612, -0.027330463752150536, -0.3870663344860077, 0.632771372795105, 0.43605831265449524, 0.19043032824993134, -0.260564923286438, -0.20434290170669556, 0.03067268431186676, -0.6656931638717651, -0.17175009846687317, 0.7285403609275818, 0.21288228034973145, -0.2053598165512085, 0.5239493250846863, -0.34356239438056946, 0.6214761137962341, -0.12363900244235992, -0.10190269351005554, 0.4725259244441986, -0.20594404637813568, -0.003398091997951269, -0.05849186331033707, 0.6834067702293396, 0.7934090495109558, 0.12010613828897476, -0.19091087579727173, -0.08030026406049728, 0.36075806617736816, 0.05779891833662987, -0.7408902645111084, 0.08747323602437973, 0.09027191996574402, -0.7407190203666687, -0.23429349064826965, -0.13345718383789062, -0.9981846213340759, -0.7583431005477905, -0.39901280403137207, 0.1873367428779602, 0.10744749009609222, -0.19615773856639862, 0.06665004789829254, 0.12341970950365067, 0.2837749719619751, 0.01133711077272892, -0.8805604577064514, 0.540483832359314, 0.8973397612571716, 0.6065208315849304, -0.63563072681427, -0.19658507406711578, -0.5429280996322632, 0.1604657620191574, 0.013288035057485104, 0.7318664193153381, -0.8070725202560425, -0.642025351524353, 0.15893036127090454, -0.2032420039176941, 0.08066561818122864, -0.7070337533950806, 1.0023988485336304, -0.31469863653182983, -0.03648233041167259, -0.7912683486938477, -0.6178131699562073, 0.07218923419713974, 0.28749939799308777, -0.819486141204834, 0.8403100967407227, 0.0419326089322567, -0.9487473368644714, 0.5748438239097595, -0.5779032111167908, -0.6571542620658875, -0.05157721787691116, -0.4403689205646515, -0.2583862245082855, 0.23124758899211884, 0.15103602409362793, 0.3661932945251465, -0.47294360399246216, 0.46065664291381836, -0.8063428997993469, -0.28836697340011597, 0.30717700719833374, -0.5952339768409729, 0.733529269695282, 0.20153062045574188, -0.32831788063049316, -0.07381566613912582, -0.6740913987159729, 0.06880715489387512, -0.026770275086164474, -0.3985426425933838, -0.3097851872444153, 0.31717145442962646, 0.28624409437179565, 0.2128666192293167, 0.5051031708717346, -0.6604775190353394, -0.298858642578125, -0.2962521016597748, 0.12984023988246918, 1.0653012990951538, -0.16652478277683258, 0.621444582939148, -0.3449172377586365, 0.3905637860298157, -0.14616182446479797, 0.3220325708389282, 0.3053956627845764, -0.32500386238098145, -0.6140080094337463, -0.19916941225528717, 0.2965926229953766, 0.2766178846359253, -0.2527218163013458, 0.4594895541667938, -0.30177730321884155, -0.48955485224723816, -0.30447524785995483, 0.2617485821247101, 0.5238609313964844, 0.3768778443336487, 0.16995348036289215, -0.4971414804458618, -0.49099481105804443, -1.1459323167800903, -0.542539656162262, 0.14387592673301697, -0.0608588345348835, 0.37213730812072754, 0.3734232187271118, -0.05216873064637184, 0.9313734173774719, -0.38895922899246216, -0.3283209502696991, -0.15733247995376587, -0.1460922360420227, 0.18181265890598297, 0.29858505725860596, 0.3000452220439911, -0.5169379115104675, -0.41935622692108154, -0.24349839985370636, -0.5656678676605225, -0.7831861972808838, 0.17685124278068542, -0.20838338136672974, 0.23450936377048492, 0.4139176309108734, -0.46772605180740356, 0.22476555407047272, 0.8150482177734375, -0.5505907535552979, 0.49483639001846313, 0.2608036994934082, 0.08230667561292648, -0.7764667868614197, 0.04320056736469269, 0.016283070668578148, -0.09617571532726288, -0.17262548208236694, -0.04109375178813934, 0.0437001958489418, 0.3169366419315338, -0.52434241771698, 0.8029606938362122, -0.32797640562057495, -0.3207188546657562, -0.2702321410179138, 0.3475240170955658, 0.09450633078813553, 0.2515696883201599, -0.10895521193742752, 0.247221902012825, 0.34338659048080444, -0.4859798848628998, 0.13262084126472473, 0.06680627167224884, -0.31201282143592834, 1.0548713207244873, -0.5953747034072876, 0.055927906185388565, -0.09550037980079651, 0.5668913125991821, -0.5736376643180847, 0.006244503892958164, 0.04395090416073799, -0.26723918318748474, -0.022036992013454437, 0.1549939662218094, -0.6670977473258972, -0.2826290428638458, -0.34234094619750977, 0.66942298412323, 0.11738157272338867, -0.3835359215736389, 0.8352916836738586, 0.6811941266059875, -0.11763431131839752, -0.7232787013053894, -0.600443959236145, 0.03092767484486103, -0.28868329524993896, -0.692405641078949, 0.5435490608215332, -0.2941248118877411, -0.4591621458530426, -0.048649728298187256, -0.4430204927921295, 0.2992857098579407, 0.12689806520938873, 0.2937505841255188, 0.0981573835015297, 0.13294757902622223, -0.11972910165786743, 0.07201209664344788, 0.10556267946958542, 0.41126003861427307, 0.028214214369654655, 0.7815492749214172, -0.0765601247549057, -0.6219843029975891, 0.04589081183075905, 0.3532754182815552, 0.13535788655281067, -0.13840803503990173, 0.5700750350952148, 0.7620894908905029, -0.5055915117263794, -0.3485580086708069, -0.9017322063446045, -0.0335753932595253, -0.4445863664150238, 0.4343693256378174, -0.07507328689098358, -0.9822332859039307, 0.7644985914230347, 0.26548296213150024, 0.16578683257102966, 0.3270112872123718, 0.868614912033081, 0.20086491107940674, 0.9391183257102966, 0.4423586130142212, -0.22311317920684814, 0.29305851459503174, 0.06553282588720322, 0.13271449506282806, -0.902430534362793, -0.4601250886917114, -0.6740093231201172, -0.45324990153312683, -0.7471122741699219, -0.4341280460357666, 0.27788329124450684, -0.2844761610031128, -0.30063745379447937, -0.12603242695331573, -0.21487785875797272, 0.795829713344574, 0.46550846099853516, 0.19933468103408813, 0.3410585820674896, -0.2700556814670563, -0.050811704248189926, -0.08847928792238235, -0.36577126383781433, -0.7120725512504578, 1.4833147525787354, 0.44877052307128906, 0.7304694056510925, 0.16604627668857574, 0.5828079581260681, 0.5787079930305481, 0.5916117429733276, -0.649845540523529, 0.6852402091026306, -0.28388115763664246, -0.8865743279457092, -0.08321918547153473, -0.5478718876838684, -0.8188295364379883, 0.3948858082294464, -0.26015594601631165, -0.8205919861793518, 0.13262830674648285, 0.024215945973992348, -0.033785056322813034, 0.23742979764938354, -0.6633557677268982, 0.9449188709259033, -0.214629128575325, -0.5697749257087708, -0.2379058450460434, -0.5656350255012512, 0.45221593976020813, -0.16580843925476074, 0.4171893000602722, -0.4189422130584717, 0.006668571848422289, 0.8318072557449341, -0.17461349070072174, 0.8608558177947998, -0.38038748502731323, -0.3420350253582001, 0.1275893896818161, 0.2125445306301117, 0.29913005232810974, 0.22421547770500183, -0.31854432821273804, 0.4006066918373108, -0.00817528460174799, -0.5299942493438721, -0.3149682879447937, 0.9568342566490173, -0.5766777396202087, -0.39147689938545227, -0.2917742133140564, -0.7279486656188965, -0.5178738236427307, 0.12591302394866943, -0.10935840010643005, 0.1835540384054184, -0.4712769389152527, 0.35728052258491516, 0.5428028106689453, -0.4731299579143524, 0.4943021833896637, 0.5964540839195251, -0.16915903985500336, -0.29532986879348755, 0.648630678653717, -0.15596067905426025, 0.41528141498565674, 0.32118913531303406, 0.10416781157255173, -0.39879265427589417, -0.5604658126831055, 0.06481582671403885, 0.060491956770420074, -0.9440928101539612, -0.313667356967926, -0.6465708613395691, 0.006780050229281187, -0.3992721736431122, -0.10595040023326874, -0.3089171051979065, -0.06765764951705933, -0.07173839956521988, 0.0282751377671957, -0.2008088380098343, 0.6330302953720093, -0.0786958634853363, 0.318691611289978, -0.5247326493263245, 0.3909675180912018, 0.1855342537164688, 0.6253645420074463, 0.0522809699177742, -0.509809672832489, -0.18843413889408112, -0.05630293861031532, -0.706491231918335, -0.6431921720504761, 0.13328342139720917, -0.05571221560239792, 0.8180074095726013, 0.2099505364894867, -0.14811614155769348, 0.19842568039894104, -0.4558432102203369, 0.7673146724700928, 0.15175743401050568, -1.2890384197235107, 0.14775291085243225, -0.45077070593833923, 0.21674984693527222, 0.6296053528785706, -0.05113569647073746, -0.4853484630584717, -0.4661422669887543, -0.45803672075271606, -0.998223602771759, 0.3830094635486603, 0.145832359790802, 0.3271127939224243, -0.38320568203926086, -0.06388203054666519, 0.19588258862495422, 0.28585076332092285, -1.1189519166946411, -0.167097270488739, 0.1574682891368866, -0.38786211609840393, 0.035363711416721344, -0.2747093141078949, -0.043366678059101105, 0.08819540590047836, 0.4600730538368225, -0.05648069456219673, -0.018225399777293205, -0.06894198060035706, -0.2639816105365753, 0.060999926179647446, 0.4504682421684265, 0.24654820561408997, 0.8811028599739075, -0.1518140435218811, 0.05252651870250702, 0.44409310817718506, -0.41746070981025696, -0.09490741044282913, 0.06996693462133408, -0.13175208866596222, -0.1508108377456665, 0.29273247718811035, 0.3673988878726959, 0.1423627734184265, -0.7624380588531494, 0.7509921193122864, 0.11299889534711838, -0.11706337332725525, -0.2507353127002716, -0.038577888160943985, 0.27841895818710327, 0.3747371733188629, 0.14137479662895203, -0.2613327205181122, 0.46729305386543274, -0.4729485809803009, -0.04598267376422882, 0.5908703207969666, -0.21081072092056274, 0.007732045371085405, 0.6724293231964111, 0.4000680148601532, -0.11919653415679932, 0.2641284167766571, -0.10252184420824051, -0.24323584139347076, 0.695198118686676, 0.4264742434024811, 0.831552267074585, -0.08974254131317139, 0.196682408452034, 0.1533529907464981, 0.39054012298583984, 0.00629952410236001, 0.2055164873600006, 0.15982282161712646, -0.842359185218811, -0.6412757039070129, -1.0118199586868286, -0.40164756774902344, 0.19576509296894073, -0.6995795965194702, 0.35361331701278687, -0.4351406991481781, -0.2524982690811157, -0.00845529418438673, 0.04168307036161423, -0.9005109667778015, 0.1987622082233429, 0.5126088857650757, 0.8565913438796997, -1.0170018672943115, 0.34503698348999023, 0.33629560470581055, -0.09101863950490952, -0.37447962164878845, 0.05182771384716034, 0.11503295600414276, -0.706656277179718, 0.5963488817214966, 0.2718487083911896, -0.021566390991210938, -0.372653067111969, -0.4249699115753174, -0.574352502822876, 0.8770134449005127, 0.5178830623626709, -0.6474747061729431, 0.06958803534507751, 0.4008001983165741, 0.5230161547660828, -0.43932148814201355, 0.21795332431793213, 0.9153623580932617, 0.7310917377471924, -0.34596577286720276, -0.9592557549476624, 0.1974838227033615, -0.17487017810344696, 0.19819940626621246, -0.02670682594180107, -0.648820161819458, 0.6818305253982544, 0.1803615540266037, 0.0025359191931784153, -0.01768144592642784, 0.4848804473876953, 0.4908057153224945, 0.49485114216804504, 0.6084260940551758, 0.7232248187065125, 0.6325300931930542, -0.20777694880962372, 0.8790540099143982, -0.09353387355804443, 0.25457364320755005, 1.4511218070983887, -0.6796590089797974, 0.46215587854385376, 0.5597324371337891, -0.2813102602958679, 0.3133443295955658, 0.5749444961547852, -0.04344847798347473, 0.3395504057407379, 0.8236402273178101, -0.4914528727531433, -0.14324605464935303, -0.4605378806591034, -0.28478047251701355, 0.49405238032341003, 0.32092586159706116, -0.3594353497028351, -0.18577279150485992, -0.16488388180732727, 0.143268421292305, 0.543698787689209, -0.49281376600265503, 0.5831141471862793, 0.040245212614536285, -0.5189750790596008, 0.024723779410123825, 0.21369795501232147, 0.880098819732666, -0.36511555314064026, 0.18482494354248047, -0.34632381796836853, 0.07903213053941727, -0.3512496054172516, -0.9360623359680176, 0.27585819363594055, -0.03853054717183113, -0.28581658005714417, -0.03063916228711605, 0.4776657521724701, -0.26051202416419983, -0.45178279280662537, 0.5754269361495972, 0.41656550765037537, -0.08322877436876297, -0.13688936829566956, -0.5611820816993713, 0.5443101525306702, -0.09007693082094193, -0.1696263998746872, 0.25447097420692444, 0.32578784227371216, -0.12885114550590515, 0.5280331373214722, 0.5182445645332336, 0.23234699666500092, 0.07653697580099106, 0.5921251177787781, 0.7652193903923035, -0.6047022938728333, -0.2662373185157776, -1.0042020082473755, 0.4867725074291229, -0.2727085053920746, -0.06325109302997589, 0.7308366298675537, 0.77366042137146, 1.0432437658309937, 0.1663389354944229, 0.8556100726127625, -0.16371145844459534, 0.4191761910915375, -0.5740100741386414, 0.45039883255958557, -0.31782981753349304, 0.5376247763633728, -0.649934709072113, -1.4677269458770752, -0.3040795922279358, 0.348919540643692, -0.41304147243499756, 0.4258454442024231, 0.7532750964164734, 0.7640346884727478, 0.04471375793218613, 0.07884565740823746, 0.10849625617265701, 0.10765364021062851, 0.4132809638977051, 0.6099785566329956, 0.8038043975830078, -0.09787644445896149, 0.4299985468387604, 0.020186355337500572, -0.12307416647672653, -0.04145357012748718, -1.2348593473434448, -0.9780444502830505, -0.20312543213367462, -0.08104852586984634, -0.5057505965232849, -0.052909329533576965, 0.8439379930496216, 0.5081732273101807, -0.6489652395248413, -0.3199045658111572, 0.1519670933485031, 0.31794893741607666, 0.22327710688114166, -0.28618499636650085, 0.18865756690502167, -0.2588801383972168, -0.8326475024223328, 0.019051402807235718, 0.13270427286624908, -0.3849624693393707, -0.4299400746822357, -0.1479278802871704, 0.09937011450529099, 0.147880420088768, 0.8011805415153503, -0.1536961942911148, -0.5839557647705078, -0.32747912406921387, -0.1665162444114685, -0.09031739830970764, -0.2056560218334198, 0.6929212212562561, -0.4359261095523834, 0.28575342893600464, 0.4442993104457855, 0.7925612330436707, 0.26924023032188416, -0.3160507082939148, 0.5057042837142944, -0.6377454400062561, -0.1548115760087967, 0.25900551676750183, 0.46828457713127136, 0.5658113956451416, -0.13962998986244202, 0.4960474371910095, 0.1280767023563385, -0.692277729511261, -0.8789489269256592, 0.2114342302083969, -1.240102767944336, -0.1567988395690918, 1.4865950345993042, 0.16923145949840546, -0.07621295005083084, 0.07661247998476028, -0.15872101485729218, 0.14132577180862427, -0.40648436546325684, 0.8366607427597046, 0.8991286158561707, 0.2930590510368347, 0.32874274253845215, -0.6572607159614563, 0.1537391096353531, 0.5024712085723877, -1.024912714958191, 0.19457058608531952, 0.8350626230239868, 0.46820956468582153, -0.17493100464344025, 0.6668011546134949, -0.5472545027732849, 0.1158241406083107, -0.3590546250343323, 0.3004174530506134, 0.4624903202056885, -0.06798814237117767, -0.16147468984127045, 0.1307874321937561, 0.016894858330488205, 0.24731779098510742 ]
http://arxiv.org/abs/2407.02397v1
http://arxiv.org/pdf/2407.02397v1
Learning to Refine with Fine-Grained Natural Language Feedback
2024-07-02T16:15:01
2024-07-02T16:15:01
Manya Wadhwa, Xinyu Zhao, Junyi Jessy Li, Greg Durrett
cs.CL
cs.CL
Recent work has explored the capability of large language models (LLMs) to identify and correct errors in LLM-generated responses. These refinement approaches frequently evaluate what sizes of models are able to do refinement for what problems, but less attention is paid to what effective feedback for refinement looks like. In this work, we propose looking at refinement with feedback as a composition of three distinct LLM competencies: (1) identification of bad generations; (2) fine-grained natural language feedback generation; (3) refining with fine-grained feedback. The first step can be implemented with a high-performing discriminative model and steps 2 and 3 can be implemented either via prompted or fine-tuned LLMs. A key property of this approach is that the step 2 critique model can give fine-grained feedback about errors, made possible by offloading the discrimination to a separate model in step 1. We show that models of different capabilities benefit from refining with this approach on the task of improving factual consistency of document grounded summaries. Overall, our proposed method consistently outperforms existing end-to-end refinement approaches and current trained models not fine-tuned for factuality critiquing.
[ -0.26040714979171753, -0.9488218426704407, 0.540238082408905, -0.10274124890565872, -0.08213329315185547, 0.3058340549468994, -0.6793813705444336, -0.5308875441551208, -0.10788741707801819, 0.7900705933570862, -0.5671647191047668, -0.4556916058063507, -0.40252017974853516, 0.200831800699234, -0.320229172706604, 1.4159082174301147, -0.05744006857275963, 0.169353649020195, -0.3264766037464142, -0.1606331765651703, -0.6407243609428406, -0.3985573649406433, -0.611208975315094, -0.612272322177887, 0.4185766577720642, 0.8553107976913452, 0.4444653391838074, 0.4352269768714905, 0.32433122396469116, 0.29052332043647766, -0.1913015991449356, 0.6327705383300781, -0.8464171290397644, 0.05549490451812744, -0.46135133504867554, -0.6067389845848083, -0.27200454473495483, 0.11872458457946777, 0.4234656095504761, 0.8238826990127563, -0.18406903743743896, 0.29284152388572693, 0.5238870978355408, 0.8930577635765076, -0.5827335715293884, 0.2553502023220062, -0.7165027856826782, -0.14241191744804382, -0.07413448393344879, -0.2793581187725067, -0.6679487228393555, -0.6963033676147461, 0.1939796656370163, -0.530800461769104, 0.7829671502113342, -0.12862592935562134, 1.0115941762924194, 0.29138389229774475, -0.2262570708990097, -0.49120286107063293, -1.0118781328201294, 0.8897802829742432, -0.9200822710990906, 0.11216514557600021, 0.4621202349662781, 0.27843376994132996, -0.11145800352096558, -0.578523576259613, -0.37673401832580566, -0.4933948218822479, -0.2011946141719818, 0.030260933563113213, 0.13955137133598328, 0.0026700934395194054, 0.08512423187494278, 0.6024932861328125, 0.026152724400162697, 0.323886513710022, -0.4906986355781555, -0.28537559509277344, 0.7111169695854187, 0.025898221880197525, -0.21065297722816467, 0.014903668314218521, -0.21204885840415955, 0.20797184109687805, -0.5936034321784973, 0.06580723822116852, 0.3532589375972748, 0.7528141736984253, 0.021936513483524323, 0.6067408323287964, -0.7374110221862793, 0.6512688398361206, 0.4435321092605591, -0.30088114738464355, 0.019673051312565804, -0.4054053723812103, -0.02881929837167263, -0.08127646148204803, 0.3011992871761322, 0.6359269022941589, 0.3712572753429413, -0.3745134174823761, -0.6240837574005127, -0.02274460904300213, 0.49241313338279724, -0.7760552763938904, -0.10883132368326187, 0.09044153243303299, -0.489042192697525, -0.418151319026947, 0.1187310442328453, -0.9103190898895264, -0.6392301917076111, -0.9462407231330872, 0.23208792507648468, -0.44169947504997253, 0.0308087058365345, 0.18348251283168793, 0.07966092973947525, 0.222141295671463, 0.7167752385139465, -1.0751228332519531, 0.3814679980278015, 0.8191039562225342, 0.5996857285499573, 0.14827363193035126, -0.06989479809999466, -0.7753676176071167, 0.006758860778063536, -0.24240900576114655, 1.0294142961502075, -0.4555516541004181, -0.11831433326005936, 0.1905989646911621, -0.05936579406261444, 0.20181067287921906, -0.8541214466094971, 0.7201647758483887, -0.3691002428531647, 0.13671913743019104, -0.4395892024040222, -0.5996189117431641, -0.3529953062534332, 0.6131688952445984, -0.5779006481170654, 1.041399359703064, 0.2502855360507965, -0.7220450043678284, 0.5069087147712708, -0.25874581933021545, -0.2952520251274109, -0.011336302384734154, 0.038028936833143234, -0.3718808591365814, 0.4529908299446106, 0.08400564640760422, 0.40837207436561584, -0.3287324607372284, 0.40245169401168823, -0.3509485125541687, -0.1381818801164627, 0.02977587841451168, -0.39522501826286316, 0.09246684610843658, 0.1285073310136795, -0.3004857897758484, 0.2520482838153839, -1.2939943075180054, 0.10730830579996109, -0.09530080109834671, -0.6685215830802917, -0.0414171926677227, 0.006547512486577034, -0.19309809803962708, -0.046191465109586716, 0.20110160112380981, -0.4954036772251129, 0.09235518425703049, -0.5580424070358276, 0.3000117838382721, 0.6024217009544373, 0.09103702753782272, 0.3994288742542267, -0.6214243173599243, 0.25379523634910583, -0.11800450831651688, -0.1565508246421814, -0.13674584031105042, -0.018384750932455063, -1.055446982383728, 0.06231207773089409, 0.44329336285591125, 0.268620103597641, -0.668376088142395, 0.35063302516937256, -0.18036192655563354, -0.538537859916687, -0.4854445457458496, 0.46828141808509827, 0.4834315776824951, 0.6062590479850769, 0.42982104420661926, -0.4857429265975952, -0.5952256321907043, -0.7475301027297974, -0.21999968588352203, -0.1885032057762146, 0.030657142400741577, -0.046024493873119354, 0.2823358178138733, -0.18111667037010193, 1.1121225357055664, -0.2659367322921753, -0.2556816339492798, -0.36989903450012207, 0.34951603412628174, -0.10489106178283691, 0.42428773641586304, 0.20280678570270538, -0.28313595056533813, -0.22562719881534576, 0.1494833081960678, -0.3602876663208008, -0.4255281984806061, -0.1365242302417755, 0.12457133084535599, 0.18193385004997253, 0.6744816899299622, -0.42160293459892273, 0.18933628499507904, 0.24325814843177795, -0.2599289119243622, 0.761993408203125, -0.23043693602085114, -0.11731915175914764, -0.7595917582511902, 0.0941133201122284, 0.06469552963972092, -0.2818404734134674, -0.6195858716964722, 0.29505082964897156, -0.1786143183708191, 0.21140801906585693, -0.21819163858890533, 0.4367939531803131, -0.3448552191257477, 0.24670547246932983, -0.3868340253829956, 0.37116771936416626, 0.25585541129112244, 0.43264633417129517, -0.21856634318828583, 0.4332587718963623, 0.045194126665592194, -0.7720353603363037, 0.40209129452705383, 0.03892330080270767, -0.15032953023910522, 0.7903669476509094, -0.514349102973938, 0.028658835217356682, -0.4422968327999115, 0.2767418622970581, -0.9127442836761475, -0.4083247482776642, -0.05548376217484474, -0.30740493535995483, 0.4720155596733093, -0.2620496153831482, -0.3729128837585449, -0.227476105093956, -0.38550063967704773, 0.010985016822814941, 0.17152634263038635, -0.599818229675293, 0.6289896965026855, -0.02052520029246807, -0.22777144610881805, -0.3821037709712982, -0.6262750029563904, -0.10878302156925201, 0.0782400518655777, -0.5133642554283142, 0.23420508205890656, 0.04721076413989067, -0.42513906955718994, -0.24683044850826263, -0.18075136840343475, -0.025161195546388626, 0.18313276767730713, 0.06651096791028976, 0.11912310868501663, -0.19136247038841248, 0.1229763776063919, -0.35694795846939087, -0.13625101745128632, -0.07031619548797607, -0.08949320018291473, 0.49029096961021423, -0.30449241399765015, -0.2725500464439392, -0.2884470820426941, 0.12649855017662048, 0.6638424396514893, -0.4599270522594452, 0.4185510277748108, 0.5633366107940674, -0.2468142956495285, -0.4474777281284332, -0.8718976974487305, -0.3661257326602936, -0.39487066864967346, 0.2662549912929535, -0.06520749628543854, -0.9905944466590881, 0.6892619132995605, -0.07000752538442612, 0.23291552066802979, 0.44403260946273804, 0.6562689542770386, 0.06911870837211609, 0.7493643164634705, 0.775495707988739, 0.1438361406326294, 0.16122055053710938, -0.323241263628006, 0.1607733815908432, -0.7211952805519104, -0.45856258273124695, -0.7698206305503845, -0.23772361874580383, -0.4252942204475403, -0.22641386091709137, -0.38396990299224854, 0.44534921646118164, -0.11769863963127136, -0.06953128427267075, -0.30182960629463196, 0.7021739482879639, 0.6659975647926331, 0.18183186650276184, 0.37154656648635864, -0.08835942298173904, -0.3139928877353668, -0.02944186143577099, -0.44417181611061096, -0.9656192064285278, 0.8087854981422424, 0.6417312622070312, 0.8819978833198547, 0.050861891359090805, 0.7022200226783752, -0.006761036813259125, 0.5948929190635681, -1.0021051168441772, 0.4729525148868561, -0.17121119797229767, -0.47250789403915405, -0.06696625798940659, -0.3533499538898468, -0.5633602142333984, 0.04509599879384041, -0.2564540505409241, -0.582094132900238, 0.01793416030704975, 0.25239136815071106, -0.7458869218826294, 0.22064505517482758, -0.8635514974594116, 0.6564480662345886, 0.12947779893875122, -0.5615981817245483, -0.22537465393543243, -0.6179332137107849, 0.4094306230545044, -0.05836494639515877, 0.11593765765428543, -0.15143093466758728, 0.4793126583099365, 0.37566810846328735, -0.7285981774330139, 1.25469970703125, -0.22371022403240204, -0.4218843877315521, 0.4863380193710327, 0.06557725369930267, 0.6234986186027527, 0.06930887699127197, -0.020349176600575447, -0.37642428278923035, -0.12703493237495422, -0.1949658840894699, -0.6858353018760681, 0.4940223693847656, -0.5614554286003113, -0.67946857213974, 0.033919088542461395, -0.30116456747055054, -0.5146389007568359, 0.25741106271743774, 0.22083516418933868, 0.7086208462715149, -0.2787632942199707, 0.23817726969718933, 0.702433168888092, 0.04583717882633209, 0.2649545669555664, 0.8398865461349487, -0.3082951307296753, -0.3831152617931366, 0.8346683382987976, 0.07153117656707764, 0.40301313996315, 0.1450301855802536, 0.12733300030231476, -0.28603434562683105, -0.7346379160881042, -0.2886768579483032, 0.28948867321014404, -0.8916193842887878, -0.4558968245983124, -0.30516403913497925, -0.24217815697193146, -0.22729821503162384, -0.09954588860273361, -0.5748046636581421, -0.24794572591781616, -0.6405391693115234, -0.27740445733070374, 0.0758725181221962, 0.9301601648330688, 0.12528887391090393, 0.3498760461807251, -1.0092613697052002, 0.3469603955745697, 0.33426374197006226, 0.6663525104522705, 0.3067353665828705, -0.7618256211280823, -0.37368687987327576, 0.19902218878269196, -0.6830882430076599, -0.5284215807914734, 0.13852298259735107, 0.2013203650712967, 0.36678895354270935, 0.49633944034576416, 0.04411828890442848, 0.6484864950180054, -0.5584660768508911, 0.8730164766311646, -0.03925040736794472, -0.7215101718902588, 0.4838480055332184, -0.18508723378181458, 0.3015832304954529, 1.1678392887115479, -0.0717221349477768, -0.3745509386062622, -0.7628262042999268, -0.5803194642066956, -0.7023570537567139, 0.6060904860496521, -0.16344620287418365, 0.179293692111969, -0.11466246098279953, 0.5607293248176575, 0.2772907316684723, 0.14044691622257233, -0.6906774640083313, 0.2172134816646576, -0.12645994126796722, -0.13398605585098267, 0.11052682250738144, -0.5941822528839111, -0.34163013100624084, -0.0672445222735405, 0.8985274434089661, -0.3380151391029358, -0.31128302216529846, 0.24305200576782227, -0.16025488078594208, -0.238994762301445, 0.6672948598861694, 0.7141602635383606, 0.7342233061790466, -0.24518488347530365, 0.2903910279273987, 0.09774964302778244, -0.36119624972343445, 0.11605949699878693, 0.05253605172038078, -0.2704741954803467, 0.20948036015033722, 0.5581976771354675, 0.6644388437271118, 0.23255665600299835, -0.4827014207839966, 0.37881699204444885, 0.03827294707298279, -0.2536681890487671, 0.0685780793428421, 0.048560939729213715, -0.1716129034757614, 0.14611944556236267, 0.19877485930919647, 0.30174627900123596, -0.015350105240941048, -0.631679356098175, 0.33087319135665894, 0.2863854169845581, -0.4834742844104767, -0.30889299511909485, 0.393991082906723, 0.5800413489341736, 0.045293670147657394, 0.508400022983551, -0.3781300485134125, -0.5909662842750549, 0.3489994406700134, 0.5650253891944885, 0.8941876292228699, -0.06974362581968307, 0.2735741436481476, 0.5068578720092773, 0.28174227476119995, -0.43223318457603455, 0.029713556170463562, 0.09089215099811554, -0.7744227647781372, -0.7447429895401001, -0.7532417178153992, -0.4356967806816101, 0.23206034302711487, -0.8608680963516235, 0.48671528697013855, -0.6637997031211853, -0.19908270239830017, -0.05803748220205307, 0.1930764615535736, -0.4022766351699829, 0.3344358801841736, 0.20583626627922058, 0.8553763628005981, -0.6620538830757141, 0.4328385293483734, 0.5988984704017639, -0.5123170018196106, -0.9863554835319519, 0.1877146065235138, 0.12726132571697235, -0.5486311316490173, 0.696929395198822, 0.4725934863090515, -0.15253302454948425, -0.04936938360333443, -0.4872337877750397, -0.7182474732398987, 0.8415243029594421, 0.31108787655830383, -0.8065809607505798, -0.00944103579968214, 0.001961245434358716, 0.7983246445655823, -0.1653740406036377, 0.2462751418352127, 0.8812714219093323, 0.36719608306884766, 0.13532070815563202, -0.9481229782104492, -0.07720696181058884, -0.0869009792804718, 0.1677824705839157, 0.08567732572555542, -0.6598042249679565, 0.3938833475112915, -0.42755189538002014, -0.38122719526290894, 0.1815578192472458, 0.8083163499832153, 0.22776810824871063, 0.31347811222076416, 0.25927767157554626, 0.9662227630615234, 0.9402557015419006, -0.23062436282634735, 1.040202021598816, -0.22544656693935394, 0.4342467486858368, 1.5057059526443481, -0.2548721432685852, 0.7862346172332764, 0.388286828994751, -0.0506586916744709, 0.5339577794075012, 0.4791477918624878, -0.0856887474656105, 0.5461767315864563, 0.40670204162597656, -0.33204740285873413, -0.06078098714351654, -0.3452832102775574, -0.06747929006814957, 0.3811725974082947, 0.1301710158586502, -0.3078375458717346, -0.5409943461418152, -0.17186343669891357, 0.0672377198934555, 0.479055255651474, -0.5475184917449951, 0.8372110724449158, -0.05050711706280708, -0.9524418711662292, 0.6571123003959656, 0.31838613748550415, 0.6589801907539368, -0.3524443507194519, -0.14807800948619843, -0.464558482170105, 0.25341567397117615, -0.5516768097877502, -0.606713056564331, 0.4517233371734619, 0.2413807213306427, -0.658918023109436, 0.009058085270226002, 0.6288814544677734, -0.6234686970710754, -0.29011091589927673, 0.0018535959534347057, 0.09724601358175278, -0.37905892729759216, 0.06822466850280762, -0.2754267752170563, 0.095892034471035, 0.24380996823310852, -0.02862028032541275, -0.08981313556432724, 0.6404722929000854, 0.007297184783965349, 0.6738682389259338, 0.6049587726593018, 0.2075878232717514, -0.06859908998012543, 0.5445671677589417, 0.7553581595420837, -0.47864463925361633, -0.28391921520233154, -0.8830903172492981, 0.609219491481781, -0.09755147248506546, -0.365410178899765, 0.7138281464576721, 0.4946654140949249, 1.091181993484497, -0.023066218942403793, 0.7229422926902771, 0.15527327358722687, 0.8595055341720581, -0.8148905038833618, 0.2999494969844818, -0.11098363995552063, 0.5533112287521362, -0.00649804575368762, -1.0035985708236694, -0.3744294047355652, 0.4001275897026062, -0.31007274985313416, 0.18251442909240723, 0.6445848941802979, 0.8674882054328918, 0.09098287671804428, 0.17235440015792847, 0.015371212735772133, 0.38831064105033875, 0.4155609905719757, 0.17371700704097748, 1.0210024118423462, -0.1658671498298645, 0.34985169768333435, -0.23855361342430115, -0.16217654943466187, -0.4190044403076172, -0.8234984278678894, -0.789476215839386, -0.16402746737003326, -0.5632937550544739, -0.5947613716125488, -0.17393112182617188, 0.9647653102874756, 0.47890302538871765, -0.9553037285804749, 0.05032341554760933, -0.24855434894561768, -0.12698066234588623, 0.1004025936126709, -0.3158971667289734, -0.09525945037603378, -0.9356178045272827, -0.5278072357177734, 0.25735682249069214, 0.2104974389076233, 0.10786116123199463, -0.2592770755290985, -0.07015623897314072, 0.128114715218544, 0.16525617241859436, 0.652022659778595, 0.34247738122940063, -0.9133538007736206, -0.4932713806629181, -0.3762567937374115, -0.21854175627231598, 0.03539888188242912, 0.9056217074394226, -0.7099683284759521, 0.6174729466438293, 0.259183794260025, 0.8297622799873352, 0.2561340928077698, 0.37619394063949585, 0.6224427819252014, -1.1640211343765259, -0.029738370329141617, 0.2563142776489258, 0.30699020624160767, 0.7102752327919006, -0.17800630629062653, 0.4536948502063751, 0.14895829558372498, -0.5993179678916931, -0.69977867603302, 0.18573154509067535, -0.7908112406730652, -0.13085226714611053, 1.328643798828125, -0.012189359404146671, 0.095290906727314, -0.2148057222366333, -0.5215818881988525, 0.19053059816360474, -0.2537930905818939, 0.9409804344177246, 1.04684317111969, 0.18443720042705536, -0.035095009952783585, -0.4277234673500061, 0.5799048542976379, 0.510974109172821, -0.7847310900688171, 0.6105397939682007, 0.7799055576324463, 0.25001218914985657, 0.36555352807044983, 0.37139788269996643, -0.25819092988967896, 0.12028811126947403, -0.2895561456680298, 0.057609863579273224, 0.03288701921701431, -0.3481786847114563, -0.5126829147338867, 0.1438465714454651, 0.5266160368919373, 0.25516995787620544 ]
http://arxiv.org/abs/2407.02395v1
http://arxiv.org/pdf/2407.02395v1
Is Your AI-Generated Code Really Secure? Evaluating Large Language Models on Secure Code Generation with CodeSecEval
2024-07-02T16:13:21
2024-07-02T16:13:21
Jiexin Wang, Xitong Luo, Liuwen Cao, Hongkui He, Hailin Huang, Jiayuan Xie, Adam Jatowt, Yi Cai
cs.SE
cs.SE, cs.CL
Large language models (LLMs) have brought significant advancements to code generation and code repair, benefiting both novice and experienced developers. However, their training using unsanitized data from open-source repositories, like GitHub, raises the risk of inadvertently propagating security vulnerabilities. Despite numerous studies investigating the safety of code LLMs, there remains a gap in comprehensively addressing their security features. In this work, we aim to present a comprehensive study aimed at precisely evaluating and enhancing the security aspects of code LLMs. To support our research, we introduce CodeSecEval, a meticulously curated dataset designed to address 44 critical vulnerability types with 180 distinct samples. CodeSecEval serves as the foundation for the automatic evaluation of code models in two crucial tasks: code generation and code repair, with a strong emphasis on security. Our experimental results reveal that current models frequently overlook security issues during both code generation and repair processes, resulting in the creation of vulnerable code. In response, we propose different strategies that leverage vulnerability-aware information and insecure code explanations to mitigate these security vulnerabilities. Furthermore, our findings highlight that certain vulnerability types particularly challenge model performance, influencing their effectiveness in real-world applications. Based on these findings, we believe our study will have a positive impact on the software engineering community, inspiring the development of improved methods for training and utilizing LLMs, thereby leading to safer and more trustworthy model deployment.
[ -0.19361352920532227, -0.5884175300598145, 0.37626078724861145, -0.12728706002235413, -0.15388189256191254, 0.3461897671222687, -0.20888455212116241, -0.6708162426948547, -0.15919078886508942, 0.626804530620575, -0.16871553659439087, -0.6379661560058594, -0.5270596146583557, -0.006061692256480455, -0.5390818119049072, 1.0651153326034546, 0.07341412454843521, -0.0073140766471624374, -0.427011638879776, 0.025452593341469765, -0.31284376978874207, -0.7332901358604431, -0.3713673949241638, 0.001092821592465043, 0.18786293268203735, 0.4176332354545593, 0.8114705681800842, 0.5505072474479675, 0.6984632015228271, 0.29634952545166016, -0.005053939297795296, 0.06992834806442261, -0.5404237508773804, 0.41435375809669495, 0.04923215135931969, -0.5418646931648254, -0.4613697826862335, -0.2912067174911499, 0.1758190095424652, 0.3593977093696594, -0.028873639181256294, 0.4299364984035492, 0.10157622396945953, 0.6445895433425903, -0.6638662815093994, 0.021058272570371628, -0.9671117663383484, -0.035092685371637344, -0.2754339277744293, -0.24323797225952148, -0.48727184534072876, -0.7593485116958618, -0.2460210621356964, -0.09076645225286484, -0.03812110051512718, -0.052673760801553726, 0.5882550477981567, 0.2730550169944763, -0.4238336980342865, -0.3962583839893341, -0.7319996953010559, 0.5317848324775696, -0.8005236983299255, 0.11445615440607071, 0.4680904150009155, 0.138785719871521, -0.20783740282058716, -0.587306559085846, -0.15587669610977173, -0.5399916768074036, 0.16146035492420197, -0.24452877044677734, -0.30432990193367004, 0.03751678019762039, 0.3842327892780304, 0.3069568872451782, -0.8170098662376404, 0.3392086923122406, -0.3181993365287781, -0.3113712668418884, 0.8357394933700562, 0.1929442435503006, 0.6088649034500122, 0.24273550510406494, -0.2210025042295456, -0.13375522196292877, -1.1149166822433472, 0.052433960139751434, 0.8840075135231018, 0.14375633001327515, -0.2450040578842163, 0.5193399786949158, 0.255858838558197, 0.4496450126171112, -0.31608977913856506, 0.018063634634017944, 0.12754373252391815, -0.19715408980846405, -0.12211932241916656, -0.09950686991214752, 0.5713809132575989, 0.19836632907390594, 0.5857533812522888, -0.3095860481262207, -0.4246644973754883, 0.21320679783821106, 0.5879340767860413, -0.6788838505744934, -0.2675288915634155, 0.42627206444740295, -0.43945518136024475, -0.9583398103713989, 0.1507655531167984, -0.5594327449798584, -0.5671769976615906, 0.035732921212911606, -0.027688447386026382, -0.19842930138111115, -0.34103623032569885, -0.10240966826677322, 0.07605788856744766, 0.13352331519126892, 0.13110728561878204, -0.601348876953125, -0.040579359978437424, 0.7613089084625244, 0.45951905846595764, 0.0981307104229927, -0.19890837371349335, -0.5222194790840149, -0.06740342825651169, -0.5850280523300171, 0.5590204000473022, -0.547226071357727, -0.4265974164009094, 0.376609742641449, -0.2910021245479584, 0.2511198818683624, -0.5644304752349854, 0.27745693922042847, -0.7897084951400757, -0.4152120351791382, 0.09138257056474686, -0.5078486204147339, 0.23944538831710815, 0.3357023298740387, -0.6637447476387024, 0.8389009237289429, -0.1646212935447693, -0.7934378385543823, 0.09708075225353241, -0.39156946539878845, -0.4328397512435913, 0.1456916779279709, -0.3932283818721771, -0.6113469004631042, 0.20207974314689636, 0.14818331599235535, 0.2978958189487457, -0.16688013076782227, 0.39138859510421753, -0.5530877709388733, -0.2846994400024414, 0.7785254716873169, -0.6137444376945496, 0.6598035097122192, 0.2956032156944275, -0.482643723487854, 0.19799162447452545, -0.6174119710922241, 0.2713359296321869, 0.26227810978889465, -0.17098896205425262, -0.3241339325904846, -0.12814447283744812, -0.01773281954228878, 0.006017331499606371, 0.29289954900741577, -0.32507777214050293, 0.2447635680437088, -0.46725669503211975, 0.4418526589870453, 1.035765290260315, 0.1436496376991272, 0.47347861528396606, -0.1519542634487152, 0.8315362930297852, -0.12647321820259094, 0.3942674696445465, -0.3689144551753998, -0.4005128741264343, -0.2857896685600281, -0.07591661810874939, 0.3605145514011383, 0.5052667260169983, -0.6507877111434937, 0.3440769910812378, -0.01438690535724163, -0.6047682762145996, -0.2051001787185669, 0.2888363301753998, 0.6817954182624817, 0.14056411385536194, 0.013048870489001274, -0.12138224393129349, -0.4348423480987549, -0.7381863594055176, -0.2898601293563843, -0.4025537967681885, -0.06757635623216629, 0.22767634689807892, 0.6697210669517517, -0.5085220336914062, 0.654162585735321, -0.56089186668396, 0.284801185131073, -0.18683135509490967, -0.07413912564516068, -0.0969439372420311, 0.6130165457725525, 0.708677351474762, -0.5567753314971924, -0.026965050026774406, -0.16691234707832336, -0.7984560132026672, -0.09245457500219345, -0.1196359172463417, -0.1475655734539032, 0.3024060130119324, 0.6824557781219482, -0.37136194109916687, 0.40330296754837036, 0.7760908603668213, -0.23035511374473572, 0.5230987668037415, -0.15417557954788208, 0.04018576815724373, -1.0266966819763184, 0.1764543205499649, -0.27040594816207886, -0.24445191025733948, -0.5462323427200317, 0.5645051002502441, 0.18499986827373505, -0.592182457447052, -0.27205467224121094, 0.32357579469680786, -0.48134657740592957, -0.1346653550863266, -0.19388525187969208, -0.12707428634166718, -0.048821378499269485, 0.18429838120937347, -0.3882003724575043, 0.9032251238822937, 0.6555773615837097, -0.31956586241722107, 0.1090058758854866, 0.06379266828298569, -0.5048841834068298, 0.11119045317173004, -0.7261604070663452, 0.6505851149559021, 0.1689152866601944, 0.05581076815724373, -0.9086187481880188, -0.35125964879989624, 0.18002331256866455, -0.6347900629043579, 0.3513380289077759, -0.36688026785850525, -0.6058459877967834, -0.21987895667552948, -0.4375995993614197, 0.5339409112930298, 0.4134286046028137, -0.4975103437900543, 0.16456584632396698, 0.6429019570350647, -0.3172251284122467, -0.5472873449325562, -0.682478129863739, 0.3046110272407532, -0.26665356755256653, -0.8408722877502441, -0.03446706756949425, -0.16536544263362885, -0.5726180076599121, -0.15661916136741638, -0.2022870033979416, -0.23196162283420563, 0.644977331161499, 0.5472787022590637, 0.4383123219013214, -0.10024549067020416, 0.11102920025587082, 0.06155022233724594, -0.1286415010690689, 0.3331200182437897, -0.2763160467147827, 0.41117602586746216, -0.26423370838165283, -0.6537870168685913, -0.11408429592847824, 0.3539649546146393, 0.7470499873161316, -0.6121120452880859, 0.6449148058891296, 0.36906248331069946, -0.5030211210250854, -0.42385122179985046, -0.38368043303489685, -0.25284120440483093, -0.4793189764022827, 0.3601040542125702, -0.09037711471319199, -0.9520770311355591, 0.5026510953903198, -0.019737035036087036, 0.23842313885688782, 0.042229216545820236, 0.47616299986839294, -0.11651839315891266, 0.9942057728767395, 0.6376721858978271, -0.325422465801239, 0.3391043543815613, -0.1187809407711029, 0.35492613911628723, -0.31694966554641724, -0.1502169817686081, -0.7775943279266357, -0.031417474150657654, -0.5555785298347473, -0.3219924867153168, 0.3946899175643921, 0.03900747746229172, -0.2977440357208252, 0.3681964874267578, -0.4345761239528656, 0.4941948652267456, 0.46314090490341187, 0.13001807034015656, 0.24247361719608307, -0.0924505889415741, 0.2934524416923523, 0.1922820508480072, -0.4859734773635864, -0.6515593528747559, 1.3343489170074463, 0.580501139163971, 1.1655737161636353, 0.1948266476392746, 1.046867847442627, 0.6263677477836609, 0.08237402886152267, -0.40167349576950073, 0.46992772817611694, 0.14046214520931244, -0.4308646619319916, -0.1735486090183258, -0.5334154963493347, -0.9658829569816589, -0.19405707716941833, -0.18650777637958527, -0.4953781068325043, -0.046848420053720474, 0.2937721908092499, -0.37739327549934387, 0.1786424219608307, -0.7152127027511597, 0.6923016309738159, -0.5001930594444275, -0.15002357959747314, -0.21669508516788483, -0.5290878415107727, 0.5165160894393921, -0.2721177041530609, 0.29273462295532227, 0.13491672277450562, 0.130141481757164, 0.44707006216049194, -0.4831050634384155, 0.9492135047912598, -0.058465950191020966, -0.4664749801158905, 0.2981298267841339, 0.40766292810440063, 0.7104815244674683, 0.42896172404289246, -0.06955846399068832, 0.4159505069255829, -0.1734476238489151, -0.35670775175094604, -0.4332089126110077, 0.8015382289886475, -0.6720457077026367, -0.5585018396377563, -0.38074737787246704, -0.3900033235549927, -0.2370186150074005, 0.09736667573451996, 0.28577330708503723, 0.5399115085601807, -0.1265215277671814, 0.2176600843667984, 0.7993265986442566, -0.5250367522239685, 0.34092867374420166, 0.17795123159885406, -0.05075162276625633, -0.42407935857772827, 0.6616694927215576, -0.07908801734447479, 0.32784101366996765, 0.018965041264891624, -0.035522229969501495, 0.07746340334415436, -0.6808496713638306, -0.5414396524429321, -0.028720932081341743, -0.6574447154998779, -0.6315066814422607, -0.309813529253006, -0.39023056626319885, -0.495798259973526, -0.3615661859512329, -0.4647563695907593, -0.1649903506040573, -0.11472510546445847, -0.35340288281440735, 0.4434863328933716, 0.7162742018699646, 0.3174923062324524, -0.1381034255027771, -1.1979082822799683, 0.14853660762310028, 0.0239718034863472, 0.4004926383495331, -0.1609572321176529, -0.34990671277046204, -0.45445674657821655, 0.035869572311639786, -0.03446229174733162, -0.8307806849479675, 0.24404284358024597, -0.1669839471578598, 0.6428176164627075, 0.2991439402103424, 0.27635714411735535, 0.3370235562324524, -0.4150685966014862, 0.8538636565208435, -0.05483813211321831, -0.9216561317443848, 0.6200518608093262, -0.29871588945388794, 0.09474483877420425, 0.6516997218132019, 0.0014202141901478171, -0.11567346006631851, -0.6994381546974182, -0.6894637942314148, -0.9223577380180359, 0.2847881019115448, 0.4921805262565613, 0.3312879502773285, 0.02421543374657631, 0.36453744769096375, 0.009400662034749985, 0.2390655279159546, -0.7324941158294678, -0.23296025395393372, 0.016061441972851753, -0.047993797808885574, 0.40764811635017395, -0.31838223338127136, -0.33639004826545715, 0.31007087230682373, 0.46840840578079224, -0.09746938198804855, 0.27839913964271545, -0.21306486427783966, -0.2942647337913513, -0.20150448381900787, 0.2676584720611572, 0.6835758090019226, 0.5552965402603149, 0.11462025344371796, 0.14153210818767548, -0.018021991476416588, -0.5610937476158142, -0.0072130546905100346, -0.10408265888690948, -0.07308541983366013, -0.17662407457828522, 0.7089016437530518, 0.45578745007514954, 0.1077156811952591, -0.8897442817687988, 0.7062070965766907, -0.17697125673294067, -0.06527882814407349, -0.5665090084075928, 0.3015885651111603, -0.058026526123285294, 0.3869518041610718, 0.13442662358283997, 0.3452366292476654, -0.038337405771017075, -0.5403558611869812, 0.1935587078332901, 0.5048868060112, -0.08664868772029877, -0.2641677260398865, 0.6703652739524841, 0.38887670636177063, -0.2776384949684143, 0.6984391808509827, 0.005945410579442978, -0.4405902624130249, 1.008394718170166, 0.4324342608451843, 1.1416059732437134, -0.17789806425571442, 0.12111416459083557, 0.1595434546470642, 0.7227153778076172, 0.06750883162021637, 0.2347184121608734, 0.06420787423849106, -0.5857552289962769, -0.025202637538313866, -0.4238860607147217, -0.4344463348388672, 0.09439892321825027, -0.66837477684021, 0.0961303859949112, -0.4481915235519409, -0.20565667748451233, -0.55411297082901, -0.3437134623527527, -0.42861059308052063, -0.00033432821510359645, 0.38006988167762756, 1.0221039056777954, -0.8563590049743652, 0.8602390885353088, 0.4906737804412842, -0.357848584651947, -0.7828624844551086, 0.3057313859462738, 0.023188510909676552, -0.771720826625824, 0.3475288450717926, 0.08960651606321335, -0.19020839035511017, -0.28836169838905334, -0.7293654084205627, -0.7832753658294678, 0.9249014854431152, 0.6642074584960938, -0.6005426049232483, -0.0028209909796714783, 0.38402432203292847, 0.5057603120803833, -0.11918219178915024, 0.07003503292798996, 0.22691380977630615, 0.30283626914024353, -0.4051990807056427, -0.6163929104804993, -0.04697658121585846, -0.5758405327796936, 0.17668519914150238, 0.20980970561504364, -0.3193804919719696, 0.5167878866195679, -0.37459370493888855, -0.03853631019592285, 0.2741696238517761, 0.38177478313446045, 0.394564688205719, 0.31739911437034607, 0.3746923804283142, 0.2996843159198761, 0.8524326682090759, 0.0913342759013176, 1.0136988162994385, -0.7723943591117859, 0.18399181962013245, 1.0452519655227661, -0.39504894614219666, 0.6645497679710388, 0.24414002895355225, 0.046933505684137344, 0.23844195902347565, 0.42356738448143005, -0.12550733983516693, 0.1939568966627121, 0.31471091508865356, -0.1718752384185791, -0.19089439511299133, 0.2665586471557617, -0.634634256362915, 0.4365372359752655, 0.112742580473423, -0.6044901013374329, -0.015420309267938137, 0.10023707896471024, 0.2494034320116043, 0.2221190482378006, -0.20543380081653595, 0.7636617422103882, 0.1564200222492218, -0.4407024383544922, 0.48082825541496277, 0.0703851506114006, 0.32516783475875854, -0.634880542755127, 0.04446062818169594, -0.4410342872142792, 0.22076201438903809, -0.3234383165836334, -0.7831814289093018, 0.4119936227798462, 0.5912244319915771, 0.1127755343914032, -0.21532128751277924, 0.7763980627059937, -0.190204456448555, -0.3122037947177887, 0.2642975449562073, 0.22832274436950684, -0.06413213163614273, -0.19799388945102692, -0.5424653887748718, 0.3918307423591614, -0.010503734461963177, -0.2318549007177353, 0.6025851964950562, 0.30207955837249756, -0.15516577661037445, 0.6397791504859924, 0.7533549666404724, 0.02944866754114628, -0.01008505281060934, 0.1578337699174881, 0.9938036203384399, -0.5313318371772766, -0.345603346824646, -1.0620611906051636, 0.5628788471221924, -0.03198559954762459, -0.3275015354156494, 0.751988410949707, 0.6475523114204407, 0.844628095626831, -0.17387038469314575, 0.8922234177589417, 0.29137274622917175, -0.013517748564481735, -0.571686863899231, 0.998595118522644, -0.2408696413040161, 0.735275149345398, -0.5187225937843323, -0.8187459111213684, -0.44660279154777527, 0.23867705464363098, -0.19170108437538147, -0.01547546498477459, 0.3326510190963745, 1.0980467796325684, 0.2697989344596863, -0.10922984033823013, 0.37131467461586, 0.15236999094486237, 0.6106005311012268, 0.3799493610858917, 0.9232609272003174, -0.37955889105796814, 0.7467613220214844, -0.11503928899765015, -0.22309714555740356, -0.16634273529052734, -0.8235705494880676, -0.8023505806922913, -0.3692767918109894, -0.34808605909347534, -0.5663014650344849, 0.31203407049179077, 0.9544570446014404, 0.40373116731643677, -0.7037630081176758, -0.17591162025928497, -0.142333522439003, 0.06312277913093567, 0.007033812813460827, -0.16321146488189697, 0.10091507434844971, -0.37957125902175903, -0.35361844301223755, 0.47658732533454895, 0.35208138823509216, -0.08410905301570892, -0.26838091015815735, -0.027388062328100204, 0.38989049196243286, 0.15770460665225983, 0.3871982991695404, 0.24697192013263702, -0.3914619982242584, -0.3849279284477234, 0.16141705214977264, -0.4979582130908966, -0.12154936045408249, 0.8329659700393677, -0.38229435682296753, 0.2799198627471924, 0.49909159541130066, 0.9540988802909851, -0.05775227025151253, -0.0869736596941948, 0.6110012531280518, -0.6528100371360779, 0.013101392425596714, 0.3289877772331238, 0.42570894956588745, 0.14846527576446533, -0.7099220752716064, 0.43472424149513245, -0.09378678351640701, -0.7931437492370605, -1.2150360345840454, 0.42759519815444946, -0.5805928707122803, -0.281010240316391, 1.2083944082260132, -0.33178749680519104, -0.04394946247339249, 0.006206684745848179, -0.13215002417564392, 0.09366470575332642, -0.2157663106918335, 0.960787832736969, 0.3421621024608612, 0.19036754965782166, 0.08034268766641617, -0.35435789823532104, 0.3635435402393341, 0.08982338756322861, -0.9967827200889587, 0.270674467086792, 0.4341402053833008, 0.21526029706001282, -0.04364825785160065, 0.35930511355400085, -0.3540361225605011, 0.4490733742713928, 0.15016213059425354, 0.16061650216579437, -0.23559387028217316, -0.48840948939323425, -0.5656793713569641, 0.22050411999225616, 0.47248318791389465, -0.07865536212921143 ]
http://arxiv.org/abs/2407.02389v1
http://arxiv.org/pdf/2407.02389v1
SafaRi:Adaptive Sequence Transformer for Weakly Supervised Referring Expression Segmentation
2024-07-02T16:02:25
2024-07-02T16:02:25
Sayan Nag, Koustava Goswami, Srikrishna Karanam
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG, cs.MM
Referring Expression Segmentation (RES) aims to provide a segmentation mask of the target object in an image referred to by the text (i.e., referring expression). Existing methods require large-scale mask annotations. Moreover, such approaches do not generalize well to unseen/zero-shot scenarios. To address the aforementioned issues, we propose a weakly-supervised bootstrapping architecture for RES with several new algorithmic innovations. To the best of our knowledge, ours is the first approach that considers only a fraction of both mask and box annotations (shown in Figure 1 and Table 1) for training. To enable principled training of models in such low-annotation settings, improve image-text region-level alignment, and further enhance spatial localization of the target object in the image, we propose Cross-modal Fusion with Attention Consistency module. For automatic pseudo-labeling of unlabeled samples, we introduce a novel Mask Validity Filtering routine based on a spatially aware zero-shot proposal scoring approach. Extensive experiments show that with just 30% annotations, our model SafaRi achieves 59.31 and 48.26 mIoUs as compared to 58.93 and 48.19 mIoUs obtained by the fully-supervised SOTA method SeqTR respectively on RefCOCO+@testA and RefCOCO+testB datasets. SafaRi also outperforms SeqTR by 11.7% (on RefCOCO+testA) and 19.6% (on RefCOCO+testB) in a fully-supervised setting and demonstrates strong generalization capabilities in unseen/zero-shot tasks.
[ -0.3734821379184723, -0.4245680868625641, 0.24226193130016327, 0.05034754052758217, -0.411685973405838, -0.08142764866352081, 0.1085519790649414, -0.8893155455589294, 0.3571934401988983, 0.20471720397472382, -0.6621384024620056, -0.47809621691703796, -0.7245282530784607, 0.16228510439395905, -0.5851282477378845, 1.0413092374801636, 0.20474673807621002, -0.01219860278069973, -0.3298499882221222, -0.6008315682411194, -0.32027000188827515, -0.2398531585931778, -0.3989286422729492, -0.0015259276842698455, 0.4739392101764679, 0.6392521858215332, 0.6710630059242249, 0.5446086525917053, 0.7799136638641357, 0.28491413593292236, -0.030650485306978226, 0.0809994712471962, -0.37176400423049927, 0.15751193463802338, -0.39698517322540283, -0.23607392609119415, -0.17638564109802246, -0.3505108058452606, 0.5790519714355469, 0.6544983386993408, 0.2453857809305191, 0.26669013500213623, -0.4181603491306305, 0.6329780220985413, -0.9162784218788147, -0.19065991044044495, -0.8341761231422424, 0.11751218140125275, -0.08263608068227768, 0.3040803074836731, -0.19290490448474884, -0.05086355283856392, 0.32663413882255554, -0.4348728060722351, 0.6130998134613037, 0.22335901856422424, 1.1349700689315796, 0.40943482518196106, 0.01603461429476738, 0.30241966247558594, -0.35677576065063477, 0.7349992394447327, -0.4283701777458191, 0.37813976407051086, 0.35834407806396484, 0.4239368438720703, 0.1509229987859726, -1.17486572265625, -0.5118762254714966, 0.1151757463812828, -0.2476542592048645, 0.06159844622015953, -0.6124893426895142, -0.16492925584316254, 0.3799615204334259, 0.31666433811187744, -0.3145986795425415, -0.00653283903375268, -0.498506098985672, -0.48830488324165344, 0.3907770812511444, -0.017519833520054817, 0.061293672770261765, -0.15812183916568756, -0.5605452656745911, 0.08756164461374283, -0.6164044737815857, 0.037603095173835754, -0.24248172342777252, 0.22148704528808594, -0.06566927582025528, 0.5118006467819214, -0.4198862314224243, 0.8718991875648499, 0.24813003838062286, 0.12499188631772995, 0.28760045766830444, -0.1906779706478119, -0.3523489832878113, 0.1214422658085823, 0.9783626198768616, 0.19945307075977325, 0.16768990457057953, -0.06034373864531517, -0.14887510240077972, 0.21732284128665924, 0.261238694190979, -0.8284963965415955, -0.3054959177970886, -0.2925831079483032, -0.24600005149841309, -0.23032473027706146, -0.03855196014046669, -0.9102975726127625, -0.3764588236808777, 0.14387691020965576, 0.4163389205932617, -0.36574622988700867, 0.2551717758178711, 0.050330933183431625, -0.007433801889419556, 0.3381138741970062, 0.3382563889026642, -0.8254476189613342, 0.36181434988975525, 0.2602957785129547, 0.9592681527137756, -0.10859658569097519, -0.16513970494270325, -0.8459455966949463, 0.03513801470398903, -0.06704920530319214, 1.0922614336013794, -0.9219640493392944, -0.4906764328479767, -0.05227098613977432, 0.22499431669712067, -0.13860377669334412, -0.46964237093925476, 0.7105068564414978, -0.36271655559539795, 0.08850271254777908, 0.17683345079421997, -0.09109358489513397, -0.26144763827323914, 0.26547887921333313, -0.46193334460258484, 1.1999591588974, 0.25125402212142944, -0.5988064408302307, 0.02491593360900879, -0.6233400106430054, -0.6316331028938293, -0.1564221829175949, 0.004301670007407665, -0.6060730814933777, 0.16996505856513977, 0.6493675708770752, 0.4490633010864258, -0.38115036487579346, 0.016099145635962486, -0.31490859389305115, -0.46008482575416565, 0.18645420670509338, -0.12239113450050354, 0.21379071474075317, -0.0548250675201416, -0.5011417269706726, 0.31173810362815857, -0.9439778923988342, -0.024756301194429398, 0.10753726214170456, 0.43518149852752686, -0.1334000676870346, -0.047003671526908875, -0.17947301268577576, 0.36183494329452515, -0.05293923616409302, -0.654042661190033, 0.1379147320985794, -0.2214576154947281, 0.29867568612098694, 0.49429693818092346, 0.3089076578617096, 0.5147883296012878, -0.39707621932029724, 0.37936344742774963, 0.16835744678974152, 0.18245381116867065, -0.5202395915985107, -0.7601232528686523, -1.1114155054092407, -0.45973700284957886, 0.44884154200553894, 0.33024752140045166, -0.6614723801612854, 0.22723828256130219, -0.44711971282958984, -0.5254126191139221, -0.6725780963897705, 0.033888451755046844, 0.4840686619281769, 1.1356662511825562, 0.8666831851005554, -0.5137288570404053, -0.6053926348686218, -1.3202357292175293, 0.12071943283081055, -0.13964472711086273, -0.20740889012813568, 0.3308039903640747, 0.2722371220588684, -0.49117767810821533, 1.0623692274093628, -0.658711850643158, -0.6041114926338196, 0.07433335483074188, 0.45500555634498596, -0.03283759951591492, 0.5477550029754639, 0.48556146025657654, -0.8511883020401001, -0.48848819732666016, -0.08077771216630936, -0.3154832124710083, -0.4928923547267914, 0.010318604297935963, -0.09880538284778595, -0.0744454562664032, 0.31389227509498596, -0.4104505479335785, 0.6605498790740967, 0.2511756718158722, 0.035378068685531616, 0.22623658180236816, 0.36631476879119873, 0.02812954969704151, -0.8567291498184204, 0.23141489923000336, 0.5352464318275452, -0.6005885601043701, -0.5827543139457703, -0.07791520655155182, 0.024875599890947342, -0.462022989988327, -0.8633590936660767, 0.2595168948173523, -0.33930471539497375, -0.1979466825723648, -0.3384060561656952, -0.001895545399747789, 0.05713801085948944, 0.6865294575691223, 0.5645310878753662, 0.734126627445221, 0.8634157180786133, -0.3743709623813629, 0.134101003408432, 0.32949504256248474, -0.2545689344406128, 0.4190134108066559, -0.6336380839347839, 0.32398131489753723, -0.03518279641866684, 0.4074341952800751, -1.1319680213928223, -0.23058666288852692, 0.4618328809738159, -0.4739725887775421, 0.4135344624519348, -0.2757452428340912, -0.02348693460226059, -0.17473630607128143, -0.5535032749176025, 0.6289187073707581, 0.6898844242095947, -0.419705867767334, 0.583661675453186, 0.2550157606601715, -0.06656862050294876, -0.5363466143608093, -0.7622339129447937, -0.03177925571799278, 0.0340803861618042, -0.5317364931106567, 0.5661509037017822, 0.30779799818992615, 0.1630416065454483, 0.023524977266788483, -0.5000176429748535, -0.24175091087818146, -0.18185676634311676, 0.38528597354888916, 0.3122590184211731, -0.4139805734157562, -0.16081967949867249, -0.2069445103406906, -0.326934814453125, -0.2507080137729645, -0.07714439928531647, 0.09385916590690613, -0.1641407459974289, -0.33701860904693604, -0.5018098950386047, 0.2673929035663605, 0.5141602158546448, -0.3245311379432678, 0.36965668201446533, 0.8574715256690979, -0.48373568058013916, 0.08394379168748856, -0.5627745985984802, -0.08652620762586594, -0.5053982138633728, 0.2688143849372864, -0.20975986123085022, -1.0176116228103638, 0.5603475570678711, -0.28664448857307434, -0.14295026659965515, 0.6836666464805603, 0.23452945053577423, -0.1819479614496231, 0.7365083694458008, 0.7178749442100525, -0.20584622025489807, 0.4985853135585785, -0.10511579364538193, 0.29701393842697144, -1.0332636833190918, -0.2929074168205261, -0.6113616228103638, -0.7027008533477783, -0.3866780996322632, -0.7430621981620789, 0.3721148669719696, 0.0589277520775795, -0.08327389508485794, 0.44091787934303284, -0.7865579724311829, 0.5388913154602051, 0.6026776432991028, 0.04544811695814133, -0.15058764815330505, 0.06950254738330841, 0.16191835701465607, -0.09198599308729172, -0.6369312405586243, -0.05923200771212578, 0.6538811922073364, 0.36762791872024536, 0.8983064293861389, -0.004149133339524269, 0.5193946957588196, 0.4659588038921356, 0.4984028935432434, -1.0476155281066895, 0.7310247421264648, -0.08842969685792923, -0.339237242937088, -0.11706375330686569, -0.07540209591388702, -0.6378787755966187, 0.17454051971435547, -0.30539605021476746, -1.2657564878463745, 0.65714430809021, 0.03547026216983795, -0.3994084298610687, 0.09043369442224503, -0.7894079089164734, 0.855699896812439, 0.14938226342201233, -0.6452997922897339, 0.2330481857061386, -1.200209379196167, 0.35350844264030457, -0.31215742230415344, -0.10609977692365646, -0.36350175738334656, -0.11997342109680176, 0.7809560298919678, -0.4757268726825714, 0.9759852886199951, -0.256089985370636, 0.35499870777130127, 0.5948658585548401, 0.06420319527387619, 0.5467738509178162, -0.17562903463840485, 0.016733340919017792, 0.46677258610725403, -0.12161407619714737, -0.2710314989089966, -0.7170657515525818, 0.6735042929649353, -0.4144724905490875, -0.735086977481842, -0.6308635473251343, -0.17228245735168457, -0.6714181900024414, 0.12117960304021835, 0.25705376267433167, 0.2087627500295639, 0.16032356023788452, 0.35729625821113586, 0.5396646857261658, 0.12792016565799713, 0.4849134683609009, 0.6490111351013184, 0.19780687987804413, -0.5129007697105408, 1.0189909934997559, -0.3628785014152527, 0.06280192732810974, 0.5502875447273254, 0.22513188421726227, -0.41893330216407776, -0.5741500854492188, -0.3273649215698242, 0.038708459585905075, -0.7037830352783203, -0.9586229920387268, -0.4641267657279968, -0.1613832265138626, -0.4327428936958313, -0.3444116711616516, -0.2770242691040039, -0.5825852751731873, -0.39278173446655273, 0.09672261029481888, 0.3115294575691223, 0.21347421407699585, -0.06608152389526367, 0.5161438584327698, -1.0153175592422485, 0.5691176056861877, 0.27262791991233826, 0.08302716910839081, -0.346189945936203, -0.7837595343589783, -0.08161438256502151, -0.022363292053341866, -0.34784871339797974, -0.7434372305870056, 0.07557789981365204, 0.46806252002716064, 0.26343032717704773, 0.397237092256546, 0.19244404137134552, 1.0725306272506714, -0.5941881537437439, 0.994379460811615, 0.5123211741447449, -1.0499787330627441, 0.7217321395874023, -0.015096371993422508, 0.5154670476913452, 0.8097986578941345, 0.466582328081131, -0.5049960017204285, -0.161720871925354, -0.5464537143707275, -0.9312716126441956, 0.9781365990638733, 0.10043272376060486, 0.11060002446174622, -0.14470337331295013, 0.1490524709224701, -0.037465449422597885, -0.1569274663925171, -0.8791652321815491, -0.19833135604858398, -0.2802177667617798, -0.330593079328537, 0.35943377017974854, -0.4048146903514862, -0.04274991899728775, -0.3562639653682709, 0.8220783472061157, -0.4301811158657074, 0.4330698251724243, 0.5387371182441711, -0.2377680242061615, -0.33685749769210815, 0.026277439668774605, 0.6459750533103943, 0.3957589864730835, -0.25850120186805725, 0.22562885284423828, 0.23344488441944122, -0.4155794084072113, 0.2611570358276367, 0.25397685170173645, -0.08566433936357498, 0.2065499722957611, 0.5403945446014404, 0.7747630476951599, 0.614820122718811, -0.6156185865402222, 0.6946525573730469, 0.07854468375444412, -0.12563571333885193, 0.3565223515033722, 0.1155756264925003, -0.3909994959831238, 0.003309770720079541, 0.5534347891807556, 0.4521789252758026, 0.31336989998817444, -0.33016282320022583, 0.45239344239234924, 0.22388094663619995, -0.8333520889282227, -0.30779287219047546, 0.4470108151435852, 0.2232353240251541, -0.23729485273361206, 0.4171501398086548, 0.04462383687496185, -0.6089457869529724, 0.5069169998168945, 0.7892628312110901, 1.0611519813537598, -0.29099541902542114, 0.15143916010856628, 0.31852200627326965, 0.20787659287452698, 0.29746484756469727, -0.2574136555194855, -0.4401858150959015, -0.6448224782943726, -0.31509411334991455, -0.6892564296722412, -0.4762173891067505, 0.06462682038545609, -0.6183496117591858, 0.3096693754196167, -0.48603248596191406, -0.050550077110528946, 0.41931572556495667, -0.4171421229839325, -0.44713324308395386, 0.5433191657066345, 0.15753811597824097, 0.9943015575408936, -0.7358064651489258, 0.8519149422645569, 1.0055053234100342, -0.2930000126361847, -0.4726676046848297, 0.19238194823265076, -0.11775464564561844, -1.048840045928955, 0.5835487842559814, 0.38479721546173096, -0.3895600438117981, -0.19172070920467377, -0.39912739396095276, -0.8073561191558838, 0.8748869299888611, 0.28890350461006165, -0.6828598380088806, 0.24897174537181854, 0.03454330191016197, 0.38252249360084534, -0.2952536344528198, 0.24918340146541595, 0.4021393954753876, 0.16444522142410278, 0.7676267623901367, -0.724079430103302, 0.0830114409327507, -0.1568174958229065, -0.027452377602458, 0.4390871822834015, -0.673321008682251, 0.07755369693040848, -0.12652148306369781, -0.36108872294425964, 0.19797588884830475, 0.8083534836769104, -0.2789027988910675, 0.49855977296829224, 0.42039230465888977, 0.7137507796287537, 0.4104679226875305, -0.15340393781661987, 0.7604346871376038, -0.1705748587846756, 0.27554962038993835, 1.2328263521194458, -0.38851019740104675, 0.7606975436210632, 0.5756767988204956, -0.20988701283931732, 0.5612986087799072, 0.7442467212677002, -0.0645986869931221, 0.8246240019798279, 0.08685648441314697, -0.49311402440071106, -0.24444733560085297, -0.5487579107284546, -0.22536712884902954, 0.5249649286270142, 0.27249929308891296, -0.44398126006126404, -0.4701860547065735, -0.05597752332687378, -0.3583672046661377, -0.14084301888942719, -0.427906334400177, 0.9528933167457581, -0.0035430467687547207, -0.5108264684677124, 0.5455155968666077, 0.17525942623615265, 0.5738861560821533, -0.8931003212928772, -0.14758096635341644, -0.3099929392337799, -0.11776555329561234, -0.3873279392719269, -0.7647120952606201, 0.48586997389793396, 0.24483494460582733, -0.07707127183675766, 0.09964504092931747, 1.309241771697998, -0.19175362586975098, -0.5036869049072266, -0.17255103588104248, 0.16780275106430054, 0.0441584438085556, 0.13006135821342468, -0.7856554388999939, 0.19180935621261597, 0.08399510383605957, -0.02113071270287037, 0.35751834511756897, 0.3484017550945282, -0.29785335063934326, 0.5209192633628845, 0.5646659731864929, -0.4141218364238739, -0.15949569642543793, 0.020275192335247993, 1.1107711791992188, -0.6431804895401001, -0.18781957030296326, -0.8032963275909424, 0.5227153897285461, -0.18135236203670502, -0.25005751848220825, 0.5063976049423218, 0.6259280443191528, 0.604456901550293, -0.11381502449512482, 0.2317221760749817, -0.08834964781999588, 0.2073899358510971, -0.2990403175354004, 0.12379009276628494, -0.4097895920276642, -0.01154771726578474, -0.2948533892631531, -1.0507512092590332, -0.7420250177383423, 0.7401248812675476, -0.3482174873352051, -0.1702868789434433, 0.7380067706108093, 0.822821855545044, -0.4717278480529785, -0.02347603254020214, 0.37952902913093567, -0.1866481900215149, 0.060754623264074326, 0.585651159286499, 0.7589359879493713, -0.6097702383995056, 0.4918135702610016, -0.38552406430244446, -0.1462623029947281, -0.07575559616088867, -0.9908301830291748, -0.6511215567588806, -0.42452099919319153, -0.7728655338287354, -0.12620972096920013, -0.15058547258377075, 0.6107907891273499, 1.0143455266952515, -0.9479771256446838, 0.3577626645565033, -0.05284789577126503, 0.04310856759548187, -0.012238133698701859, -0.24642394483089447, 0.44168326258659363, -0.3402923345565796, -0.6562716960906982, 0.5690854787826538, 0.6626091599464417, 0.1257150024175644, 0.13680683076381683, 0.18055245280265808, -0.42119038105010986, -0.05005994811654091, 0.42940598726272583, 0.6973366737365723, -0.5553381443023682, -0.4741859436035156, -0.24436484277248383, 0.13849550485610962, 0.3072323501110077, 0.7990038394927979, -1.1363826990127563, 0.6358280777931213, 0.09492550045251846, 1.0312244892120361, 0.7442489862442017, 0.31903398036956787, 0.15123093128204346, -1.1851190328598022, 0.47916412353515625, 0.5828220248222351, 0.4865574538707733, 0.48820626735687256, -0.19188037514686584, 0.7229951620101929, 0.5407853722572327, -0.19843028485774994, -0.8245125412940979, 0.19337008893489838, -1.2159656286239624, -0.0055353171192109585, 0.9672937393188477, -0.35294589400291443, -0.5701110363006592, 0.21816764771938324, -0.31956279277801514, 0.03207576274871826, -0.35395172238349915, 0.561221718788147, 0.450135737657547, -0.3076570928096771, -0.42347100377082825, 0.20515146851539612, 0.46046182513237, 0.6318800449371338, -0.5772410035133362, -0.2961658537387848, 0.7909120917320251, 0.11719287186861038, 0.44430971145629883, 0.6235458254814148, -0.003011352615430951, 0.5721765756607056, -0.10697434097528458, -0.1824101358652115, -0.21557599306106567, -0.3083069920539856, -0.4253487288951874, 0.22978998720645905, -0.09153857827186584, -0.8002997040748596 ]
http://arxiv.org/abs/2407.02354v1
http://arxiv.org/pdf/2407.02354v1
Talking to Machines: do you read me?
2024-07-02T15:19:46
2024-07-02T15:19:46
Lina M. Rojas-Barahona
cs.CL
cs.CL, cs.AI, cs.HC
In this dissertation I would like to guide the reader to the research on dialogue but more precisely the research I have conducted during my career since my PhD thesis. Starting from modular architectures with machine learning/deep learning and reinforcement learning to end-to-end deep neural networks. Besides my work as research associate, I also present the work I have supervised in the last years. I review briefly the state of the art and highlight the open research problems on conversational agents. Afterwards, I present my contribution to Task-Oriented Dialogues (TOD), both as research associate and as the industrial supervisor of CIFRE theses. I discuss conversational QA. Particularly, I present the work of two PhD candidates Thibault Cordier and Sebastien Montella; as well as the work of the young researcher Quentin Brabant. Finally, I present the scientific project, where I discuss about Large Language Models (LLMs) for Task-Oriented Dialogue and Multimodal Task-Oriented Dialogue.
[ -0.44796985387802124, -0.6469548344612122, 0.6985448002815247, -0.03935318812727928, 0.007421507500112057, 0.19405235350131989, 0.012796619907021523, -0.4711329936981201, 0.14762075245380402, 0.7276037335395813, -0.645984947681427, -0.29240942001342773, -0.38846078515052795, 0.21273943781852722, -0.3970462679862976, 0.6402565240859985, 0.11779788136482239, 0.5227035284042358, -0.2923046946525574, -0.054199397563934326, -0.4612036943435669, -0.6658288836479187, -0.746189534664154, -0.5508623123168945, 0.6200447678565979, 0.5740436911582947, 0.20603832602500916, 0.19794537127017975, 0.1083528995513916, 0.5557069182395935, -0.11769721657037735, 0.07749251276254654, -0.3553929328918457, 0.6646131873130798, -0.20551957190036774, -0.6724103093147278, -0.24580568075180054, -0.0025390195660293102, 0.27413421869277954, 0.8849218487739563, 0.2845785915851593, 0.04331750050187111, 0.1820308268070221, 0.4870895743370056, -0.17945930361747742, 0.48299577832221985, -0.09246388077735901, 0.1657964289188385, 0.0322914756834507, -0.38457170128822327, -0.583597719669342, -0.23937009274959564, 0.31559473276138306, -0.31837549805641174, 0.05456145480275154, 0.07116559892892838, 0.3456849157810211, -0.02900286577641964, -0.5215375423431396, -0.5934884548187256, -1.2478573322296143, 0.9923939108848572, -0.7967877984046936, -0.03719406947493553, 0.3997638523578644, 0.2829402685165405, -0.2522667348384857, -1.016082525253296, -0.7410902976989746, -0.4866845905780792, -0.09012186527252197, 0.33280763030052185, -0.21412573754787445, 0.22086699306964874, 0.16926923394203186, 0.3441472351551056, -0.3875056803226471, 0.08418042957782745, -0.794994056224823, -0.13607919216156006, 0.3765849173069, 0.40887150168418884, 0.23776333034038544, 0.12160031497478485, -0.09081701189279556, -0.15464934706687927, -0.2057957947254181, 0.15854229032993317, 0.6143330335617065, 0.06984754651784897, -0.10463900119066238, 0.8034160137176514, -0.3036288917064667, 0.6077606081962585, -0.05447836220264435, -0.03690313547849655, 0.03665196895599365, -0.41231152415275574, -0.1391461044549942, -0.2895268499851227, 0.8119989037513733, 0.36005187034606934, 0.44955283403396606, -0.3780510425567627, 0.1643674373626709, -0.31535473465919495, 0.49551278352737427, -0.5696239471435547, -0.2797507047653198, 0.2752414643764496, -0.743438720703125, -0.3112531304359436, -0.050260789692401886, -0.5093632340431213, -0.1905260533094406, -0.6152516007423401, 0.151246577501297, -0.22788658738136292, -0.28531739115715027, 0.25679099559783936, -0.23975692689418793, 0.2843799293041229, 0.372158020734787, -0.8287347555160522, 0.3610393702983856, 0.7727338671684265, 0.7125959992408752, 0.04791393131017685, -0.23534345626831055, -0.08615050464868546, 0.019939301535487175, -0.5087070465087891, 0.5046414136886597, -0.5949056148529053, -0.8844470977783203, 0.40180251002311707, 0.28718581795692444, -0.4479602575302124, -0.7212584614753723, 0.8483697772026062, -0.4707903563976288, 0.6142402291297913, 0.059500109404325485, -0.23479630053043365, -0.20956909656524658, 0.12327397614717484, -0.23891249299049377, 0.6595695614814758, 0.009224910289049149, -0.7839356064796448, -0.3668132722377777, -0.9209725260734558, -0.34727761149406433, -0.22113002836704254, -0.22748969495296478, -0.0024468812625855207, 0.0060453289188444614, -0.26742804050445557, 0.47983962297439575, -0.10771070420742035, 0.35928356647491455, -0.4040621519088745, 0.11003018915653229, 0.8394925594329834, -0.4226115942001343, 0.8376691341400146, 0.5500964522361755, -0.21704953908920288, 0.22756366431713104, -0.8078672885894775, -0.014619965106248856, -0.2004423290491104, -0.0904211476445198, 0.0021621654741466045, -0.01328812912106514, -0.022485001012682915, 0.279354453086853, 0.19621598720550537, -0.720007598400116, 0.3291524648666382, -0.400674432516098, 0.8088703155517578, 0.7143941521644592, -0.052306611090898514, 0.4809843897819519, -0.44005483388900757, 0.6666824817657471, 0.2559153735637665, -0.2358856052160263, -0.3795047998428345, -0.3416830599308014, -1.0985679626464844, 0.143254354596138, 0.24913445115089417, 0.6091601848602295, -0.8320263624191284, 0.1907823085784912, 0.11700507253408432, -0.3616268038749695, -0.6177327036857605, -0.3261028230190277, 0.36021721363067627, 0.7338317632675171, 0.09347741305828094, -0.45634472370147705, -0.5939714908599854, -1.1938154697418213, -0.01332172006368637, -0.5139272212982178, -0.3040178716182709, 0.5129899382591248, 0.5388504266738892, -0.27292951941490173, 1.0244145393371582, -0.7110609412193298, -0.01960945874452591, -0.28054752945899963, 0.4472190737724304, 0.2145688682794571, 0.6989461779594421, 0.25777778029441833, -0.5177658796310425, -0.4007534682750702, -0.02482575550675392, -0.8106175065040588, -0.1641371101140976, -0.014439843595027924, -0.14202581346035004, -0.1886015683412552, 0.743010938167572, -0.7211214303970337, -0.04558718949556351, 0.17886963486671448, -0.28356921672821045, 0.4943144619464874, -0.28506970405578613, 0.1768292337656021, -1.3771952390670776, 0.18665149807929993, -0.05065532773733139, -0.34258365631103516, -1.0649117231369019, -0.4470989406108856, -0.7020636200904846, -0.35981518030166626, -0.25984957814216614, 0.4729216694831848, -0.19667400419712067, -0.005911992862820625, -0.43628987669944763, 0.06810342520475388, -0.08428822457790375, 0.5498777031898499, -0.17952249944210052, 0.7726290822029114, 0.5688840746879578, -0.7916128039360046, 0.22728407382965088, 0.5350138545036316, -0.33570170402526855, 0.7115843892097473, -0.6849993467330933, 0.5155337452888489, -0.11098533123731613, 0.20144908130168915, -1.016273856163025, -0.044744569808244705, 0.8494099974632263, -0.7012825608253479, 0.3328210711479187, 0.090651735663414, -0.2842595875263214, -0.3904302716255188, -0.029589684680104256, 0.16859079897403717, 0.2121277004480362, -0.2333807498216629, 0.541226327419281, 0.516112744808197, -0.7655879259109497, -0.2594466209411621, -0.5227097868919373, 0.07419659197330475, -0.1781259924173355, -0.7116311192512512, 0.17547161877155304, -0.30316808819770813, -0.7613890767097473, -0.3466009199619293, 0.0785251334309578, -0.5365779995918274, -0.06847544759511948, 0.4554344117641449, -0.21481068432331085, -0.3229842782020569, -0.06274191290140152, -0.1675110012292862, -0.5337474346160889, 0.3765525221824646, -0.34543290734291077, 0.5800619721412659, 0.14401111006736755, -0.3187607228755951, -0.730180025100708, 0.5389853715896606, 0.42633962631225586, 0.062273673713207245, 0.271496057510376, 0.5148448348045349, 0.199851393699646, 0.054376959800720215, -0.12760138511657715, -0.3512480556964874, -0.5264355540275574, 0.20491516590118408, -0.3722551167011261, -1.1820006370544434, 0.4091246724128723, -0.4513905346393585, 0.07814046740531921, 0.2332557737827301, 0.6186977624893188, -0.8490806818008423, 0.8311761617660522, 0.9392982125282288, -0.09705144912004471, 0.49637460708618164, -0.3697173297405243, 0.46755486726760864, -0.8026081919670105, -0.2845889627933502, -0.9976697564125061, -0.2381320595741272, -0.4998488426208496, -0.6255784630775452, 0.2750457227230072, -0.04839855805039406, -0.25479066371917725, 0.06333418935537338, -0.3773530125617981, -0.1397564709186554, 0.788734495639801, -0.02179543673992157, 0.3726254105567932, -0.43887314200401306, 0.007184370420873165, 0.012502615340054035, -0.44613900780677795, -0.8700610995292664, 0.8527095317840576, 0.5150641202926636, 0.8142926096916199, -0.11630572378635406, 0.3858339190483093, 0.49524927139282227, -0.21493172645568848, -0.5985749959945679, 0.8357763290405273, 0.35133978724479675, -0.6680589914321899, -0.23336544632911682, -0.165218323469162, -1.30417001247406, 0.2868190407752991, 0.2909342646598816, -0.9910567402839661, 0.23993872106075287, -0.07084140181541443, 0.06097833067178726, 0.11795907467603683, -0.42040833830833435, 0.8177466988563538, -0.07711555063724518, 0.20183613896369934, -0.590382993221283, -0.8301981091499329, 0.2636365294456482, 0.47803014516830444, 0.11008720099925995, -0.1619555950164795, 0.08278670907020569, 0.8228399157524109, -0.3602994382381439, 1.3280807733535767, -0.06366119533777237, -0.14002270996570587, 0.580176055431366, -0.21656160056591034, 0.10326160490512848, -0.16594038903713226, 0.025697767734527588, -0.18190698325634003, 0.26656243205070496, -0.3484671413898468, -0.28860703110694885, 0.4359115660190582, -0.8191916346549988, -0.7644054889678955, -0.5643371939659119, -0.5852274298667908, -0.16991375386714935, 0.29654887318611145, -0.20606674253940582, 0.49646106362342834, -0.4869469404220581, 0.2156834900379181, 0.7481116652488708, -0.18621408939361572, 0.5294995307922363, 0.6228333115577698, -0.11746066808700562, -0.19733454287052155, 0.8488601446151733, -0.011183319613337517, 0.1690070629119873, 0.601294755935669, 0.08246999233961105, -0.19665947556495667, -0.5012173056602478, -0.5573586821556091, 0.137191504240036, -0.678284764289856, 0.3823528587818146, -1.0489271879196167, -0.1796528697013855, -0.45848342776298523, 0.09161624312400818, 0.00235944427549839, -0.36280396580696106, -0.5271366238594055, -0.010793273337185383, 0.07443927973508835, 0.991035521030426, 0.004000015091150999, 0.5314913392066956, -0.510783851146698, 0.32049673795700073, 0.32971256971359253, -0.013481264002621174, 0.11259430646896362, -0.24940167367458344, -0.45524361729621887, 0.1579747498035431, -0.7136403918266296, -0.9600272178649902, 0.40139394998550415, -0.19330322742462158, 0.6301882863044739, 0.3313869535923004, 0.15803438425064087, 0.2092592567205429, -0.2500573694705963, 0.968958854675293, 0.04240081086754799, -0.7630595564842224, 0.17078897356987, -0.5366392731666565, 0.20720119774341583, 0.42506569623947144, 0.3050890266895294, -0.6725700497627258, -0.446283757686615, -0.5871192812919617, -0.407908171415329, 0.7268208861351013, 0.19049935042858124, 0.3698935806751251, 0.24321191012859344, 0.24839039146900177, -0.037022870033979416, 0.537797212600708, -0.5039178133010864, -0.3612838387489319, 0.19608373939990997, 0.047012221068143845, 0.043921373784542084, -0.2980092763900757, -0.43384596705436707, -0.10753247141838074, 0.754366397857666, -0.5201529860496521, 0.5353133678436279, 0.35488423705101013, 0.15537890791893005, 0.0867496207356453, 0.42346611618995667, 0.45996132493019104, 0.8057692646980286, 0.21570821106433868, -0.155020073056221, -0.06696423143148422, -0.32443132996559143, 0.06679051369428635, -0.058192066848278046, -0.15111713111400604, 0.221253901720047, 0.11484481394290924, 0.6626224517822266, 0.1360483467578888, -0.5943324565887451, 0.2005896419286728, -0.2616604268550873, -0.427217572927475, -0.3384990990161896, 0.16361552476882935, 0.238290473818779, 0.8338091373443604, 0.16026555001735687, 0.043170683085918427, 0.24514728784561157, -0.8276758193969727, 0.050778575241565704, 0.3506796360015869, -0.5478904247283936, -0.23855336010456085, 0.6324616074562073, 0.44990211725234985, -0.3889397084712982, 0.41369345784187317, 0.4096708297729492, -0.5368484258651733, 0.6611310839653015, 0.3654133081436157, 1.1070952415466309, 0.07348420470952988, 0.45286861062049866, 0.07354315370321274, -0.09558974951505661, 0.22344259917736053, 0.458107054233551, -0.4585413634777069, -0.5058639645576477, -0.2898956537246704, -0.4274628460407257, -1.0067952871322632, 0.014713871292769909, -0.5789689421653748, -0.08411265909671783, 0.07243460416793823, -0.15699750185012817, 0.28232914209365845, 0.17779198288917542, -0.28120431303977966, 0.04840176925063133, -0.04060656577348709, 0.4718334376811981, -0.3999428153038025, 0.9941835403442383, 0.37867650389671326, -0.36356788873672485, -0.260517954826355, -0.047389380633831024, -0.22906625270843506, -0.5239658355712891, 0.47401514649391174, -0.1004367247223854, -0.22557997703552246, 0.07558082789182663, -0.7111029028892517, -0.5603095293045044, 1.047486424446106, 0.08447550982236862, -0.36428168416023254, 0.03130192309617996, 0.37194159626960754, 0.6716626882553101, -0.4437650442123413, 0.32375672459602356, 0.19025669991970062, 0.4383929669857025, 0.03716012462973595, -0.7283042669296265, -0.5510156750679016, -0.3732248842716217, -0.09653894603252411, -0.21073517203330994, -0.8954461812973022, 0.6741266250610352, 0.017641162499785423, -0.10230190306901932, 0.7596127986907959, 0.9485906958580017, -0.24713972210884094, 0.623115599155426, 0.11624351888895035, 0.3077649772167206, 0.6566426753997803, -0.025901272892951965, 0.7009623050689697, -0.4366554021835327, -0.09286251664161682, 1.0476021766662598, -0.19105695188045502, 0.5354055762290955, 0.30608439445495605, -0.22176183760166168, 0.3719988465309143, 0.8794586658477783, 0.05464663729071617, 0.3728649616241455, 0.3816523849964142, -0.5613548159599304, 0.16709114611148834, -0.19234336912631989, -0.35874927043914795, 0.00207309378311038, 0.31001120805740356, -0.40361106395721436, 0.0213686041533947, 0.45663440227508545, -0.06830421090126038, 0.10650451481342316, -0.048324186354875565, 1.139703392982483, 0.43729519844055176, -0.8661596179008484, 0.18861864507198334, -0.033596470952034, 0.18110206723213196, -0.4451599717140198, 0.04473334178328514, 0.040724460035562515, 0.2501629889011383, -0.06450168788433075, -0.9083056449890137, 0.39632001519203186, -0.09516235440969467, -0.515502393245697, -0.717314600944519, 0.7030324339866638, -0.3756224513053894, -0.11241228878498077, 0.12968945503234863, 0.7801291346549988, 0.6700006127357483, 0.34560835361480713, -0.7939549088478088, 0.012884877622127533, 0.00939666386693716, 0.03489246219396591, 0.4222966730594635, 0.5454692840576172, 0.18154145777225494, 0.8127408027648926, 0.6921806931495667, -0.2761591374874115, -0.02883128635585308, 0.1503918617963791, 1.1069698333740234, -0.9170600771903992, -0.26832810044288635, -0.5335983037948608, 0.494737833738327, 0.008289988152682781, -0.601906955242157, 0.6019311547279358, 0.7680618166923523, 0.7484933733940125, -0.12751127779483795, 0.9033282399177551, -0.14012575149536133, 0.8439232707023621, -0.2510841488838196, 0.3590485453605652, -0.003826974891126156, -0.04267190769314766, -0.05452387034893036, -0.6614409685134888, 0.2482282966375351, 0.4911368489265442, -0.4187949001789093, -0.19288891553878784, 0.5061562061309814, 0.8032500743865967, 0.3076772093772888, 0.25915274024009705, 0.5090705156326294, 0.6519855260848999, 0.5696200132369995, 0.0573187991976738, 1.021074891090393, -0.14870662987232208, 0.35518619418144226, -0.12263044714927673, 0.10571911185979843, -0.2603895962238312, -0.27481138706207275, -0.9657688736915588, -0.8385390639305115, -0.2227635532617569, -0.7496622204780579, 0.26821431517601013, 0.4420117437839508, 0.6757363677024841, -0.6559684872627258, -0.6311551332473755, -0.0801251158118248, 0.32535451650619507, -0.050991106778383255, -0.15683528780937195, -0.14491833746433258, -0.36747032403945923, -1.2258121967315674, 0.6611899733543396, 0.2715127170085907, 0.013979149982333183, -0.6745869517326355, -0.17521634697914124, -0.155135840177536, 0.13321736454963684, 0.5192291736602783, 0.5870034098625183, -0.4888651669025421, 0.130817249417305, -0.0857841819524765, -0.3512619733810425, 0.3758840560913086, 1.0655956268310547, -0.6961086392402649, 0.6369815468788147, 0.530342161655426, 0.44413694739341736, 0.9782878160476685, -0.19128549098968506, 1.1826027631759644, -0.03871138393878937, 0.13653269410133362, 0.708638072013855, 0.23166850209236145, 0.21060894429683685, 0.03670889139175415, 0.5126613974571228, 0.007161914370954037, -0.8803747892379761, -0.6592702865600586, 0.33006003499031067, -1.1335501670837402, -0.18449503183364868, 0.7283839583396912, -0.17600268125534058, -0.1506241410970688, -0.599956214427948, -0.7233825922012329, 0.3687559962272644, -0.1274055391550064, 0.5693308711051941, 0.7328600287437439, -0.4244557321071625, -0.3462584614753723, -0.9892463088035583, 0.4628859758377075, 0.40463119745254517, -0.797469437122345, -0.29145345091819763, 0.25992128252983093, -0.0415218360722065, 0.1814446747303009, 0.8159838914871216, 0.009264197200536728, -0.16948427259922028, 0.09750323742628098, -0.1539841592311859, 0.34712323546409607, -0.17146113514900208, -0.13013482093811035, 0.18132291734218597, 0.3040103614330292, -0.454926997423172 ]
http://arxiv.org/abs/2407.02352v1
http://arxiv.org/pdf/2407.02352v1
Pelican: Correcting Hallucination in Vision-LLMs via Claim Decomposition and Program of Thought Verification
2024-07-02T15:17:44
2024-07-02T15:17:44
Pritish Sahu, Karan Sikka, Ajay Divakaran
cs.CL
cs.CL
Large Visual Language Models (LVLMs) struggle with hallucinations in visual instruction following task(s), limiting their trustworthiness and real-world applicability. We propose Pelican -- a novel framework designed to detect and mitigate hallucinations through claim verification. Pelican first decomposes the visual claim into a chain of sub-claims based on first-order predicates. These sub-claims consist of (predicate, question) pairs and can be conceptualized as nodes of a computational graph. We then use Program-of-Thought prompting to generate Python code for answering these questions through flexible composition of external tools. Pelican improves over prior work by introducing (1) intermediate variables for precise grounding of object instances, and (2) shared computation for answering the sub-question to enable adaptive corrections and inconsistency identification. We finally use reasoning abilities of LLM to verify the correctness of the the claim by considering the consistency and confidence of the (question, answer) pairs from each sub-claim. Our experiments reveal a drop in hallucination rate by $\sim$8%-32% across various baseline LVLMs and a 27% drop compared to approaches proposed for hallucination mitigation on MMHal-Bench. Results on two other benchmarks further corroborate our results.
[ -0.12890388071537018, -1.0061225891113281, 0.5939727425575256, 0.33322158455848694, 0.059277720749378204, -0.01621420681476593, -0.19368284940719604, -0.45017126202583313, 0.3269091546535492, 0.7361003756523132, -0.2562527656555176, -0.46226441860198975, -0.419158011674881, 0.16880932450294495, -0.49763914942741394, 0.5367435216903687, -0.06810273975133896, -0.042720727622509, -0.24123230576515198, 0.1872337907552719, -0.4909783601760864, -0.49836310744285583, -0.45920971035957336, -0.28288763761520386, 0.41862523555755615, -0.11469627916812897, 0.47941163182258606, 0.44551050662994385, 0.6737363338470459, 0.2923945486545563, -0.010182072408497334, 0.46209678053855896, -0.5637340545654297, -0.06674574315547943, -0.15785059332847595, -0.41767585277557373, -0.8593325614929199, -0.1872018426656723, 0.5410033464431763, 0.7649708986282349, -0.32098427414894104, -0.08953914046287537, 0.19002583622932434, 0.5569282174110413, -1.0059384107589722, 0.056163325905799866, -0.8438301682472229, 0.5277730226516724, -0.18064576387405396, -0.46900424361228943, -0.7629395723342896, -0.025349805131554604, 0.1972430795431137, -0.4222078025341034, 0.25418221950531006, 0.10090374201536179, 0.7390798330307007, 0.6785709857940674, -0.09142172336578369, -0.016175229102373123, -0.5886022448539734, 0.6017041802406311, -0.3746487498283386, 0.4324244260787964, 0.5454074144363403, 0.2734830379486084, -0.261121928691864, -0.748222291469574, -0.571018636226654, -0.3866358697414398, -0.016763970255851746, 0.003656277898699045, 0.04406292364001274, 0.13483594357967377, 0.5245240926742554, 0.34762465953826904, -0.7946999669075012, -0.28245681524276733, -0.3982549011707306, -0.6617798805236816, 0.5200187563896179, 0.17726671695709229, 0.2777464687824249, 0.05185336619615555, -0.278118759393692, -0.06847870349884033, -0.8664916157722473, 0.024153634905815125, 0.11606771498918533, -0.0005151787772774696, 0.26211026310920715, 0.7509453296661377, -0.0994269996881485, 0.6637794375419617, 0.1721695512533188, -0.293139785528183, 0.21008138358592987, -0.18153516948223114, -0.5947641134262085, 0.5056072473526001, 0.3526938259601593, 0.563703715801239, 0.25004842877388, -0.217709481716156, -0.17661245167255402, 0.35796433687210083, 0.42221468687057495, -0.5114355683326721, -0.7751098871231079, 0.15402115881443024, -0.5255125164985657, -0.3231797516345978, 0.14972150325775146, -0.6668641567230225, -0.9033916592597961, -0.21828512847423553, 0.5070165395736694, -0.1652815341949463, -0.36378300189971924, 0.4395391345024109, 0.1770421862602234, 0.3466140925884247, 0.5428409576416016, -0.6140928864479065, 0.3650451600551605, 0.6428040266036987, 0.7099078893661499, -0.45243039727211, -0.5496212840080261, -0.7468110918998718, 0.08459779620170593, -0.6263277530670166, 0.9155317544937134, -0.31565409898757935, -0.12704221904277802, -0.17191535234451294, 0.2096012830734253, -0.3295062482357025, -0.9801539778709412, 0.19028757512569427, -0.03830283507704735, -0.09440575540065765, -0.18314456939697266, -0.42558059096336365, -0.2355448305606842, 0.5030721426010132, -0.5366571545600891, 0.6942777037620544, -0.0033807011786848307, -0.6460826396942139, 0.26599812507629395, -0.30287230014801025, -0.28382787108421326, 0.18731379508972168, -0.482787549495697, -0.3953637480735779, 0.1916135847568512, 0.265607625246048, 0.28380393981933594, 0.08490823954343796, 0.22056744992733002, -0.21676748991012573, -0.591579794883728, 0.32593125104904175, -0.29384833574295044, 0.5755432844161987, -0.08320319652557373, -0.7975108623504639, 0.29493632912635803, -0.6938990354537964, -0.033542148768901825, 0.13708290457725525, -0.06377683579921722, -0.15718068182468414, 0.0714644342660904, -0.2977236807346344, -0.23718911409378052, 0.04642285034060478, -0.44454386830329895, 0.0847078412771225, -0.5507558584213257, 0.22135792672634125, 0.8788847327232361, -0.12012685835361481, 0.33208903670310974, -0.24001877009868622, 0.3167732059955597, -0.01509310957044363, 0.4708525538444519, -0.183733731508255, -0.30089837312698364, -1.1411043405532837, -0.004647667519748211, -0.22443757951259613, 0.6972559094429016, -0.8636375665664673, 0.12617768347263336, 0.17943215370178223, -0.015176420100033283, -0.07646950334310532, 0.04236285015940666, 0.45018360018730164, 0.7687815427780151, 0.5026264786720276, 0.08852434903383255, -0.5099258422851562, -0.9233068227767944, -0.2190481424331665, -0.3534718155860901, 0.10028790682554245, 0.24626237154006958, 0.49942663311958313, -0.19902987778186798, 0.4934477210044861, -0.375150591135025, -0.5651753544807434, 0.1293630748987198, -0.2246968299150467, 0.06780119240283966, 0.4023425281047821, 0.42508119344711304, -1.0666964054107666, -0.4200137257575989, -0.011495948769152164, -0.9116672277450562, -0.20046260952949524, -0.2817075550556183, 0.030728403478860855, 0.40890341997146606, 0.33311623334884644, -0.3414858877658844, 1.0116533041000366, 0.27156370878219604, -0.37760892510414124, 0.634916365146637, -0.20738700032234192, 0.20683962106704712, -0.5557681918144226, -0.2684040367603302, -0.24204032123088837, -0.22584226727485657, -0.3125714063644409, -0.04562262073159218, 0.019921861588954926, 0.010021563619375229, -0.4975491464138031, 0.014599792659282684, -0.3805864155292511, 0.016663920134305954, -0.366265207529068, -0.005223005544394255, -0.028834084048867226, 0.23488499224185944, 0.1840449720621109, 0.8191015124320984, 0.8966500759124756, -0.5791503190994263, 0.6898565292358398, 0.01806936226785183, -0.11764118820428848, 0.5424280166625977, -0.7689011693000793, 0.17588593065738678, -0.11787613481283188, 0.028172558173537254, -0.6910278797149658, -0.17334221303462982, 0.8010348081588745, -0.21129386126995087, -0.02731066197156906, 0.17229478061199188, -0.1954948604106903, -0.4405946731567383, -0.30974793434143066, 0.22420866787433624, 0.2530163824558258, -0.677882969379425, 0.9755477905273438, 0.39168423414230347, 0.14843539893627167, -0.6082138419151306, -0.7748440504074097, 0.48658156394958496, -0.08430067449808121, -0.5930624008178711, 0.5704296827316284, -0.24900080263614655, -0.6167329549789429, 0.0037647185381501913, -0.31972166895866394, 0.0715767964720726, -0.0034885983914136887, 0.511186957359314, 0.26656174659729004, -0.18709133565425873, -0.023773247376084328, -0.11376605182886124, -0.16358011960983276, 0.1750164031982422, -0.3442320227622986, 0.6027833819389343, -0.6048179268836975, -0.6764042377471924, -0.44512128829956055, 0.2797090411186218, 0.5711995959281921, -0.22387109696865082, 0.5219354629516602, 0.3541658818721771, -0.7657728791236877, -0.5101133584976196, -0.7716531753540039, -0.320821076631546, -0.4757962226867676, 0.28475436568260193, -0.6711480021476746, -0.49941757321357727, 0.4672384262084961, -0.09118380397558212, -0.3116041421890259, 0.09951634705066681, 0.6687819957733154, 0.049380604177713394, 0.9907294511795044, 0.6457430124282837, 0.5425112247467041, 0.05775165930390358, -0.39095360040664673, 0.444090336561203, -0.7107042670249939, -0.7982808351516724, 0.04550698772072792, -0.16897833347320557, -0.02168934978544712, -0.4667148292064667, 0.28202110528945923, 0.060657259076833725, 0.12066522985696793, 0.22609581053256989, -0.9063946008682251, 0.8341904282569885, 0.272419810295105, 0.5671743750572205, 0.13794517517089844, 0.06404406577348709, -0.03031434491276741, -0.16570492088794708, -0.2973981499671936, -0.5660407543182373, 1.0392227172851562, 0.05417931452393532, 0.8799823522567749, -0.17002341151237488, 0.7065571546554565, 0.5209144353866577, 0.062001023441553116, -0.7748062014579773, 0.8484688997268677, 0.0876135379076004, -0.14500151574611664, -0.1930065155029297, -0.16596616804599762, -0.47426503896713257, 0.3649996817111969, -0.3036953806877136, -0.9521638751029968, 0.2965678870677948, 0.36920079588890076, -0.5151049494743347, 0.4117480516433716, -0.41652005910873413, 0.8493834733963013, -0.5339820981025696, -0.6664471626281738, -0.34258154034614563, -0.43456295132637024, 0.332012802362442, -0.2464972287416458, -0.4010518491268158, 0.025551004335284233, 0.11284760385751724, 0.5405734181404114, -0.5518674850463867, 0.7477595806121826, -0.13879305124282837, -0.21436449885368347, 0.3020893633365631, 0.2932674288749695, 0.6763709187507629, 0.0383361391723156, 0.1435731053352356, 0.15471675992012024, 0.09822189062833786, -0.2273956537246704, -0.6752305030822754, 0.5774425864219666, -0.3951508402824402, -0.6996070742607117, -0.6390345096588135, -0.6127995848655701, 0.1349676102399826, -0.03773941472172737, 0.23730804026126862, 0.27132096886634827, 0.12377329170703888, 0.4131370782852173, 0.8716675639152527, -0.3204980492591858, 0.21881906688213348, 0.2937711179256439, -0.6904313564300537, -0.5061942338943481, 0.8034982681274414, 0.12324953079223633, -0.17794902622699738, 0.23798488080501556, 0.18104596436023712, -0.17925521731376648, -0.8437767028808594, -0.08809605240821838, 0.20901073515415192, -0.8985595703125, 0.017278410494327545, -0.6410343050956726, -0.1438980996608734, -0.5077643990516663, -0.08443231135606766, -0.5443412065505981, -0.02609202452003956, -0.006698215380311012, 0.04575251787900925, -0.09393596649169922, 0.5783309936523438, 0.14542131125926971, -0.006045791786164045, -0.37452685832977295, 0.4685332775115967, 0.41209954023361206, -0.0035917875356972218, -0.09970350563526154, -0.25581294298171997, 0.04649290442466736, 0.1636103093624115, -0.1894661784172058, -0.7914948463439941, 0.43761587142944336, 0.07191970199346542, 0.7947741150856018, 0.4171856939792633, 0.28344106674194336, 0.9515658020973206, -0.35528233647346497, 0.9319627285003662, 0.31008264422416687, -1.078584909439087, 0.9804214239120483, 0.25854843854904175, -0.529450535774231, 0.19317372143268585, -0.05834191292524338, -0.14339929819107056, -0.20758137106895447, -0.2427881509065628, -0.6291777491569519, 0.2948687970638275, 0.30568692088127136, -0.24890966713428497, 0.11245007067918777, 0.5783304572105408, 0.06119847670197487, -0.061901967972517014, -0.7861271500587463, 0.036677297204732895, -0.35511934757232666, 0.034843407571315765, 0.13035228848457336, -0.2001991719007492, -0.2429579496383667, -0.5297350883483887, 0.5132032036781311, -0.2807841897010803, 0.020068861544132233, 0.6856641173362732, -0.5112951993942261, 0.06816896796226501, -0.16938553750514984, 0.8416706919670105, 1.1497918367385864, -0.17878063023090363, 0.642645001411438, 0.3297954201698303, -0.510793149471283, 0.004544358234852552, -0.34864816069602966, -0.34290042519569397, -0.17545999586582184, 0.3237014412879944, 0.6573264002799988, -0.11490786075592041, -0.8257549405097961, 0.6303388476371765, -0.23212406039237976, -0.13254348933696747, -0.6303802728652954, 0.20609579980373383, -0.3536960184574127, 0.6628808379173279, 0.4264300763607025, 0.26106882095336914, 0.05448859930038452, -0.26363301277160645, 0.2679431438446045, 0.16469866037368774, -0.3181363344192505, -0.34238603711128235, 0.7966378927230835, -0.07996466010808945, -0.6422525644302368, 0.464845210313797, 0.0015783044509589672, -0.6486191153526306, 0.7806198000907898, 0.788181483745575, 0.938636839389801, 0.014857085421681404, 0.24424076080322266, -0.04643791541457176, 0.44575726985931396, -0.1755535900592804, 0.31925168633461, -0.22082409262657166, -0.7232409119606018, -0.32780054211616516, -0.5117459297180176, -0.4594520330429077, 0.17174014449119568, -0.4614413380622864, 0.12775899469852448, -0.5467471480369568, -0.31627148389816284, -0.25588858127593994, -0.23885707557201385, -0.2645648419857025, -0.21667958796024323, 0.5371071696281433, 0.5024685859680176, -0.8220726847648621, 0.8080620765686035, 0.7104949951171875, -0.4536576569080353, -0.8382400274276733, 0.19762937724590302, 0.15781964361667633, -0.6875172853469849, 0.9986791610717773, 0.287252813577652, -0.5566056370735168, -0.18298399448394775, -0.6392471790313721, -0.36713337898254395, 1.026557445526123, 0.6054396033287048, -0.4771026074886322, 0.06465546786785126, 0.1463363617658615, 0.28128230571746826, -0.5434284210205078, -0.23847146332263947, 0.36391565203666687, 0.4987078607082367, 0.1715809553861618, -1.0187575817108154, 0.08720241487026215, -0.39105066657066345, 0.04478621855378151, -0.12969809770584106, -0.2787548899650574, 1.0410022735595703, -0.42101919651031494, -0.1475149691104889, 0.17473623156547546, 0.4990759789943695, 0.41095462441444397, 0.6644765138626099, 0.5101332068443298, 0.46523547172546387, 1.1090912818908691, -0.0607813335955143, 0.8881815671920776, -0.3715260624885559, 0.31990665197372437, 1.042784571647644, -0.6074674129486084, 0.6627285480499268, 0.942694365978241, -0.1799459159374237, 0.29953914880752563, 0.5987324118614197, -0.21126286685466766, 0.4623245596885681, 0.23013345897197723, -0.26291629672050476, -0.5356397032737732, -0.3062334358692169, -0.47141674160957336, 0.5394551157951355, 0.31424039602279663, -0.4392336905002594, 0.03989490494132042, 0.3817911446094513, -0.36700645089149475, 0.2593350410461426, -0.3823208212852478, 0.4783652424812317, 0.08447348326444626, -0.6749386787414551, 0.9140069484710693, -0.49172794818878174, 0.5161277651786804, -0.18166697025299072, -0.417912095785141, -0.1774221956729889, 0.9029256701469421, -0.3852761685848236, -0.494985967874527, 0.3155582547187805, -0.19723838567733765, -0.18064270913600922, -0.22458434104919434, 0.9811289310455322, -0.43429964780807495, -0.36092138290405273, 0.394064337015152, 0.2775200605392456, 0.4619038999080658, -0.5106948018074036, -0.5855326652526855, 0.4273475110530853, -0.0649573802947998, -0.004275128245353699, -0.09115298092365265, 0.12888574600219727, -0.01743820309638977, 0.9017534255981445, 0.5621260404586792, 0.49208155274391174, 0.40471360087394714, 0.2927863895893097, 0.8119449019432068, -0.3064056932926178, -0.2453044205904007, -1.0227285623550415, 0.1593760848045349, -0.2884973883628845, 0.10638953000307083, 0.9209439754486084, 0.6060987710952759, 0.8199095129966736, -0.2343362271785736, 0.25878527760505676, 0.25487369298934937, 0.04111732915043831, -0.6155166625976562, 0.9470100998878479, -0.5104646682739258, 0.43284767866134644, -0.279512882232666, -1.1706310510635376, -0.712377667427063, 1.2011579275131226, -0.32952842116355896, -0.4385957717895508, 1.0190078020095825, 1.2773771286010742, 0.042661696672439575, -0.08729176968336105, 0.4015258252620697, 0.17161346971988678, 0.3948749601840973, 0.9209401607513428, 1.1537528038024902, -0.5041121244430542, 0.5780043601989746, -0.567033588886261, -0.23251765966415405, -0.14991840720176697, -0.7645665407180786, -1.0330551862716675, -0.30513623356819153, -0.7189981937408447, -0.7218806743621826, 0.22437547147274017, 0.7150077223777771, 0.8059840798377991, -0.9362253546714783, -0.04074119031429291, -0.25754162669181824, 0.07296762615442276, -0.3582192659378052, -0.21853254735469818, 0.5996477603912354, -0.05247146636247635, -0.41078487038612366, 0.44066867232322693, 0.7743913531303406, 0.1424616426229477, -0.3902179002761841, -0.572791576385498, 0.20691731572151184, -0.1732305884361267, 0.698188304901123, 0.05236825346946716, -1.2865092754364014, -0.41281431913375854, 0.3613269627094269, -0.03549453988671303, 0.14271558821201324, 0.8758446574211121, -1.030956745147705, 0.6208158135414124, 0.5084757804870605, 0.6320732235908508, 0.48345285654067993, -0.2751886248588562, 0.1387830674648285, -0.11446522921323776, 0.29934823513031006, 0.37712353467941284, 0.5989119410514832, 0.26671314239501953, -0.5423048138618469, 0.599766731262207, 0.6885308623313904, -0.26213064789772034, -1.1776456832885742, 0.1380956768989563, -1.0254051685333252, -0.16257590055465698, 0.7341077327728271, -0.26934748888015747, -0.6118598580360413, -0.10938511788845062, -0.4969862699508667, 0.007298220880329609, 0.24431723356246948, 1.062049388885498, 0.43567124009132385, -0.31236183643341064, -0.58322674036026, -0.0090101333335042, 0.1923651248216629, 0.40458205342292786, -0.7696030139923096, 0.2134469747543335, 0.5424480438232422, 0.09613841027021408, 0.5019729137420654, 0.5609180927276611, -0.19524438679218292, 0.39600974321365356, 0.26043838262557983, -0.001095146406441927, -0.4319167733192444, -0.7783105969429016, -0.052608050405979156, 0.41323384642601013, -0.4418640732765198, -0.2948441207408905 ]
http://arxiv.org/abs/2407.02351v1
http://arxiv.org/pdf/2407.02351v1
Generative Large Language Models in Automated Fact-Checking: A Survey
2024-07-02T15:16:46
2024-07-02T15:16:46
Ivan Vykopal, Matúš Pikuliak, Simon Ostermann, Marián Šimko
cs.CL
cs.CL
The dissemination of false information across online platforms poses a serious societal challenge, necessitating robust measures for information verification. While manual fact-checking efforts are still instrumental, the growing volume of false information requires automated methods. Large language models (LLMs) offer promising opportunities to assist fact-checkers, leveraging LLM's extensive knowledge and robust reasoning capabilities. In this survey paper, we investigate the utilization of generative LLMs in the realm of fact-checking, illustrating various approaches that have been employed and techniques for prompting or fine-tuning LLMs. By providing an overview of existing approaches, this survey aims to improve the understanding of utilizing LLMs in fact-checking and to facilitate further progress in LLMs' involvement in this process.
[ -0.44301554560661316, -1.0558044910430908, 1.079426646232605, 0.039314717054367065, -0.24715274572372437, 0.13056334853172302, -0.292616605758667, -0.38594555854797363, -0.04552629217505455, 0.7525186538696289, -0.4443728029727936, -0.6953685879707336, -0.7115916013717651, 0.29548007249832153, -0.7619140148162842, 0.9343984127044678, -0.20873107016086578, -0.08408515155315399, -0.44455066323280334, -0.019739823415875435, -0.02759111300110817, -0.7775097489356995, -0.5622006058692932, -0.5334897041320801, 0.5131212472915649, 0.29071876406669617, 0.6593849658966064, 0.5133891701698303, 0.4740477502346039, 0.42852166295051575, -0.16807040572166443, 0.6500609517097473, -0.35749921202659607, 0.18510718643665314, -0.12247007340192795, -0.7152096629142761, -0.41476765275001526, 0.03323613852262497, 0.7204486131668091, 0.5656048655509949, -0.15177646279335022, 0.385677695274353, -0.05434618890285492, 0.4447198510169983, -0.7483099699020386, 0.4421471357345581, -0.643964946269989, 0.06685292720794678, -0.19959953427314758, -0.2284923642873764, -0.6024556159973145, -0.7633053660392761, -0.20171789824962616, -0.37485480308532715, 0.3717275559902191, 0.17845390737056732, 0.6150356531143188, 0.34233635663986206, -0.564697265625, -0.7311185598373413, -0.937545895576477, 0.7042288184165955, -0.7484875321388245, 0.3931626081466675, 0.6038981676101685, 0.01424287911504507, -0.1728719174861908, -0.5940932035446167, -0.8794119954109192, -0.479961633682251, -0.23585765063762665, -0.12251826375722885, -0.3147338032722473, 0.0933174267411232, 0.6001746654510498, 0.4861690104007721, -0.42093321681022644, 0.42678502202033997, 0.017250433564186096, -0.37926656007766724, 0.5000259876251221, 0.1446089893579483, 0.23530668020248413, -0.15788879990577698, -0.1762620061635971, 0.018641360104084015, -1.0898128747940063, -0.4681699275970459, 0.3042008578777313, 0.09758837521076202, -0.11821258813142776, 0.8984643220901489, -0.19048693776130676, 0.8736730217933655, -0.08303523063659668, -0.2729133665561676, -0.11181893199682236, -0.5498872995376587, -0.3046816289424896, -0.07778525352478027, 0.7162579894065857, 0.2898160517215729, 0.035713210701942444, -0.11358310282230377, -0.5568339824676514, 0.25279784202575684, -0.15273217856884003, -0.7657212615013123, 0.03622137010097504, 0.19145309925079346, -0.3984285891056061, -0.29468220472335815, 0.05343996733427048, -0.7915319204330444, -0.7476657629013062, -0.5013260841369629, 0.4401618242263794, -0.13623933494091034, -0.12116879969835281, 0.17779020965099335, -0.02324797213077545, 0.18129627406597137, 0.5852395296096802, -0.6606907844543457, -0.16821543872356415, 0.9008055329322815, 0.9036265015602112, 0.10698658227920532, 0.1422983855009079, -0.8048234581947327, 0.10563575476408005, -0.6846694350242615, 0.7898971438407898, -0.3601206839084625, -0.09496921300888062, 0.4334859848022461, -0.11498213559389114, 0.30247220396995544, -0.5865298509597778, 0.7618623971939087, -0.9119596481323242, 0.1177806481719017, -0.5337077379226685, -0.7284529805183411, -0.13549184799194336, 0.7357398867607117, -0.7381741404533386, 0.6271845102310181, -0.2578731179237366, -0.6628354787826538, 0.2483593374490738, -0.6535889506340027, -0.48569101095199585, -0.0001524809777038172, -0.09493736177682877, -0.5187469124794006, 0.006050977855920792, 0.41922593116760254, 0.7353203296661377, -0.4854413568973541, 0.4250163435935974, -0.26315414905548096, 0.01801837421953678, 0.5689566731452942, -0.6559758186340332, 0.7642871737480164, 0.29716387391090393, -0.27020463347435, 0.1438274383544922, -0.7098789811134338, -0.27327683568000793, 0.08515961468219757, -0.524713397026062, -0.23135222494602203, 0.09973464161157608, -0.1124800369143486, 0.05266391113400459, 0.2602083384990692, -0.442384272813797, 0.2649788558483124, -0.1773795336484909, 0.38081544637680054, 0.5947433114051819, -0.01934695988893509, -0.03781856596469879, -0.4837851822376251, 0.3409747779369354, 0.039514172822237015, -0.0018126268405467272, -0.20315945148468018, -0.3236669600009918, -1.1066930294036865, -0.19981825351715088, 0.5004663467407227, 0.5150928497314453, -1.034274697303772, 0.6418659090995789, -0.011417205445468426, -0.41126057505607605, -0.14150336384773254, 0.27793312072753906, 0.2501020133495331, 0.19475139677524567, 0.16456979513168335, 0.18303266167640686, -0.5984027981758118, -0.6489672660827637, -0.13944368064403534, -0.40816447138786316, -0.016292380169034004, -0.034471482038497925, 0.517815113067627, -0.36473891139030457, 0.853191614151001, -0.384930819272995, -0.04572427272796631, -0.32751965522766113, 0.452883243560791, 0.056247636675834656, 0.04756343737244606, 0.4813595414161682, -0.7943081259727478, -0.1944354623556137, -0.0907038077712059, -0.9743133783340454, -0.18884339928627014, -0.2566860020160675, 0.2927023768424988, 0.3550742268562317, 0.6709498167037964, -0.9920613169670105, 0.10820454359054565, 0.8001040816307068, -0.27402594685554504, 0.5895140767097473, -0.22661305963993073, 0.3905952274799347, -0.9017276763916016, -0.09055488556623459, 0.1688161939382553, -0.5833653211593628, -0.511987566947937, 0.30246269702911377, 0.09954005479812622, 0.25755512714385986, -0.1916370391845703, 0.19556206464767456, -0.7305814623832703, -0.10687501728534698, -0.32537606358528137, 0.10885375738143921, -0.2154950350522995, 0.031619101762771606, -0.09341304004192352, 0.7876911163330078, 0.5439289808273315, -0.744512140750885, 0.771263599395752, 0.1268104463815689, -0.772754430770874, 0.38924044370651245, -0.44484421610832214, -0.018061436712741852, -0.33777692914009094, 0.4867747128009796, -0.8521729707717896, -0.44842028617858887, 0.13756348192691803, -0.16208840906620026, 0.1613442599773407, -0.3777254819869995, -1.154868483543396, -0.33324095606803894, -0.12197159975767136, 0.07030929625034332, 0.5003216862678528, -0.8409108519554138, 0.6452946662902832, 0.30641689896583557, -0.2124159187078476, -0.3422471582889557, -0.5422151684761047, 0.5456197261810303, -0.235723078250885, -0.4529596269130707, 0.008362727239727974, -0.013272041454911232, -0.6905544400215149, -0.2307361513376236, 0.1712927669286728, 0.061518676578998566, -0.037310004234313965, 0.09514550864696503, 0.35827603936195374, -0.34782329201698303, 0.16588754951953888, -0.2848404049873352, 0.09544563293457031, 0.1882007122039795, -0.17079441249370575, 0.5214715003967285, -0.12923258543014526, -0.7484003305435181, -0.48720645904541016, 0.14962294697761536, 0.9743309617042542, -0.293149471282959, 0.947784423828125, 0.6122311353683472, -0.4392140507698059, -0.1808355152606964, -1.1452713012695312, -0.37200069427490234, -0.46752944588661194, 0.2829705774784088, 0.1336558759212494, -1.2210216522216797, 0.44353801012039185, -0.3613836169242859, 0.07335285097360611, 0.40108153223991394, 0.9935230016708374, -0.006326948292553425, 0.9531734585762024, 0.6262158155441284, -0.09138323366641998, 0.2906723618507385, -0.08895062655210495, 0.32966917753219604, -0.32258084416389465, -0.13649225234985352, -0.7091444730758667, 0.2007669359445572, -0.661999523639679, -0.6613959074020386, 0.5895581841468811, -0.18317490816116333, -0.030543223023414612, -0.031080618500709534, 0.10945536941289902, 0.4103929400444031, 0.21547304093837738, -0.03827507421374321, 0.7193476557731628, 0.0011538966791704297, 0.17162242531776428, 0.28263774514198303, -0.7357046008110046, -0.6429687142372131, 0.8148667812347412, 0.4924547076225281, 1.057033896446228, 0.3025890588760376, 0.32635262608528137, 0.457911878824234, 0.6544814705848694, -0.8796015381813049, 0.6992666125297546, -0.1421901285648346, -0.5792615413665771, -0.4172346293926239, -0.545584499835968, -0.6740997433662415, 0.11911903321743011, -0.33837664127349854, -0.2664738893508911, 0.001929147052578628, 0.5059669017791748, -0.3085409998893738, 0.530744194984436, -0.43337148427963257, 0.43183761835098267, -0.3927166163921356, -0.13868337869644165, -0.4524892270565033, -0.23758664727210999, 0.5934328436851501, -0.14712606370449066, 0.36446836590766907, 0.05551041662693024, 0.06638731062412262, 0.28124064207077026, -0.4056853652000427, 1.2181428670883179, 0.14810511469841003, -0.6053025126457214, 0.3007020950317383, 0.08302459120750427, 1.073047161102295, 0.04392346367239952, -0.033453453332185745, 0.09529325366020203, -0.26361459493637085, 0.025451311841607094, -0.4755871295928955, 0.591480553150177, -0.6515536904335022, -0.7729744911193848, -0.5314882397651672, -0.4583374261856079, -0.41821134090423584, 0.1100204661488533, 0.2420416921377182, 0.4768654704093933, -0.25848260521888733, 0.5387451648712158, 1.085602879524231, -0.10043017566204071, 0.3095143437385559, 0.7759395837783813, -0.2979002296924591, 0.0909431055188179, 0.7027308940887451, 0.1028377115726471, 0.25923752784729004, 0.5708593130111694, 0.2569284439086914, -0.5485230684280396, -0.6937622427940369, -0.45761144161224365, 0.2675060033798218, -0.8162806630134583, -0.32054778933525085, -0.7456104755401611, -0.29720017313957214, -0.3161674439907074, 0.15762411057949066, -0.33499202132225037, -0.2674522399902344, -0.20121638476848602, -0.1038031056523323, 0.4196992814540863, 1.0223408937454224, -0.031301844865083694, 0.05651962384581566, -0.7361844182014465, 0.6491544842720032, 0.5538328289985657, 0.48611196875572205, -0.19546250998973846, -0.34633785486221313, -0.05602976679801941, 0.13047680258750916, -0.044094018638134, -0.8104939460754395, 0.06546831130981445, -0.06720366328954697, 0.6070985794067383, 0.42279213666915894, 0.08753973245620728, 0.24084125459194183, -0.259490042924881, 0.8294146656990051, 0.09398961067199707, -0.7541033029556274, 0.38123297691345215, -0.3802361488342285, 0.010363235138356686, -0.03738835081458092, 0.4897187054157257, -0.5946241617202759, -0.5220617055892944, -0.2206183224916458, -0.4843665063381195, 0.37615838646888733, 0.09416712075471878, 0.21459266543388367, 0.07810403406620026, 0.19410577416419983, 0.0565715990960598, 0.2377569079399109, -0.656671941280365, -0.18148739635944366, -0.12522244453430176, -0.08679582923650742, -0.18324829638004303, -0.6528759002685547, -0.36313945055007935, 0.07727079838514328, 0.806151807308197, -0.2390395700931549, -0.08961290866136551, 0.06327101588249207, -0.2603209614753723, -0.184678852558136, 0.7125623822212219, 0.6954271197319031, 0.7915005087852478, 0.12482333183288574, 0.3465108871459961, 0.22647793591022491, -0.1707674115896225, 0.235287606716156, -0.05911713466048241, -0.5418906211853027, 0.032523997128009796, 0.28017643094062805, 0.7164010405540466, -0.03557645156979561, -0.6407789587974548, 0.48807984590530396, 0.18301717936992645, -0.21041060984134674, -0.3193938136100769, 0.05956558883190155, 0.25399428606033325, 0.03460637480020523, 0.22202478349208832, -0.12972867488861084, -0.016084838658571243, -0.8089275360107422, -0.0928972065448761, 0.6708552837371826, 0.14954453706741333, -0.14059323072433472, 0.24397370219230652, 0.15710791945457458, 0.04331497102975845, 0.6801285147666931, -0.21453671157360077, -0.6240079402923584, 0.42648330330848694, 0.6105323433876038, 0.657729983329773, -0.025889402255415916, 0.3292049169540405, 0.31239062547683716, 0.5889625549316406, -0.5566872954368591, -0.059173401445150375, 0.06600504368543625, -0.9488003253936768, -0.7697736620903015, -0.6275584697723389, -0.6405353546142578, 0.528388500213623, -0.22612303495407104, 0.12275677174329758, -0.49742838740348816, -0.17513783276081085, 0.18137912452220917, -0.3348897099494934, -0.6795099973678589, 0.14773181080818176, 0.400799959897995, 0.748542308807373, -0.7991762161254883, 0.4724431335926056, 0.7180476188659668, -0.2743566930294037, -0.5036554932594299, 0.30499598383903503, 0.34650930762290955, -0.7065683603286743, 0.6116625666618347, -0.20655326545238495, -0.3656429648399353, -0.2250763326883316, -0.8780068159103394, -0.7752365469932556, 0.7383084297180176, 0.5922681093215942, -0.7937240600585938, 0.12034914642572403, 0.3296477496623993, 0.6296674609184265, -0.07176815718412399, -0.04655660688877106, 0.47597628831863403, 0.7578850388526917, 0.22195923328399658, -0.7882213592529297, 0.08914321660995483, 0.10679954290390015, -0.08304426819086075, 0.06210411712527275, -0.6789858937263489, 0.723347008228302, -0.222145676612854, -0.1848350167274475, 0.10052322596311569, 0.7451499104499817, 0.20204408466815948, 0.13895592093467712, 0.7011169791221619, 0.43811312317848206, 0.8149497509002686, -0.056179873645305634, 0.9560586214065552, -0.23101121187210083, 0.42519164085388184, 0.7459894418716431, -0.3566836714744568, 0.659542977809906, 0.3144281804561615, -0.22657275199890137, 0.5426861047744751, 0.33239781856536865, -0.2948648929595947, -0.19584707915782928, 0.14332041144371033, -0.44837790727615356, -0.7433886528015137, -0.24640317261219025, -0.07990407943725586, 0.5646483898162842, 0.7239208221435547, -0.31803956627845764, -0.3513985276222229, -0.05972743779420853, 0.05213357135653496, 0.1316574215888977, -0.4333480894565582, 0.785751223564148, -0.12678369879722595, -0.8474843502044678, 0.5312199592590332, 0.2516932785511017, 0.7741312384605408, -0.5499394536018372, -0.11652198433876038, -0.08270099014043808, -0.016374776139855385, -0.3091224133968353, -0.9642935991287231, 0.1693248450756073, 0.4362805485725403, -0.31029462814331055, -0.2781713306903839, 0.8156341314315796, -0.45271265506744385, -0.5172920823097229, -0.08024264872074127, 0.6478444337844849, -0.08350715041160583, -0.25229543447494507, -0.37843143939971924, 0.3331098258495331, -0.1550437957048416, -0.14647823572158813, 0.12477747350931168, 0.38480955362319946, -0.21821466088294983, 0.9972120523452759, 0.7362196445465088, 0.09014914184808731, -0.11597077548503876, 0.3050980865955353, 0.7107850313186646, -0.41435328125953674, -0.3530598282814026, -1.007372260093689, 0.116449736058712, -0.017261195927858353, 0.20771415531635284, 1.0181033611297607, 0.5230731964111328, 0.7548586130142212, -0.18487648665905, 1.1612675189971924, -0.1120515763759613, 0.5369014739990234, -0.8230602145195007, 0.7755357623100281, -0.30088308453559875, 0.24200130999088287, -0.0004598103405442089, -0.7836439609527588, -0.3810616731643677, 0.3766702115535736, -0.2584725022315979, 0.08310171216726303, 0.37575119733810425, 1.0879080295562744, -0.1369495540857315, 0.07078016549348831, 0.4499759376049042, 0.6434174180030823, 0.2935599684715271, 0.038630738854408264, 1.2712202072143555, -0.005694837309420109, 0.4674544334411621, 0.06473096460103989, -0.2483735829591751, -0.524498701095581, -1.1726139783859253, -1.1296794414520264, -0.5222793817520142, -0.5798320770263672, -0.4213534891605377, -0.021883083507418633, 1.0328645706176758, 0.6364145874977112, -0.974557101726532, 0.04814395308494568, -0.05837436020374298, 0.4355754256248474, 0.14025430381298065, -0.1210712268948555, 0.21644842624664307, -0.2858692407608032, -0.49195215106010437, 0.29642853140830994, 0.26807543635368347, 0.22117513418197632, -0.6382341980934143, 0.16507862508296967, -0.01746019721031189, 0.2348162829875946, 0.9243838787078857, 0.2747427523136139, -0.9916485548019409, -0.3407787084579468, -0.22316208481788635, -0.26000669598579407, -0.16535711288452148, 1.2463188171386719, -0.4665355384349823, 0.26291754841804504, 0.6146706342697144, 0.7107852101325989, 0.32973313331604004, -0.006376686505973339, 0.39107072353363037, -0.6488269567489624, -0.18821683526039124, 0.09828635305166245, 0.5074604153633118, 0.6858723163604736, -0.41370245814323425, 0.08324666321277618, 0.158927783370018, -0.5922585129737854, -0.7856127023696899, 0.36781826615333557, -0.7373059391975403, -0.11307617276906967, 1.3432221412658691, 0.04678582400083542, 0.061606310307979584, -0.33617377281188965, -0.01667679473757744, 0.18142472207546234, 0.02533898875117302, 0.988723635673523, 0.9054283499717712, 0.16011293232440948, -0.24361808598041534, -0.5433976650238037, 0.6373840570449829, 0.21760393679141998, -1.1311140060424805, 0.4103514552116394, 0.7378377914428711, 0.3787115514278412, 0.20275726914405823, 0.3367616832256317, -0.16831918060779572, 0.19706259667873383, -0.21609368920326233, -0.14419639110565186, 0.046692609786987305, -0.2430214285850525, -0.17199985682964325, 0.2206636518239975, 0.33774882555007935, 0.28103578090667725 ]
http://arxiv.org/abs/2407.02345v1
http://arxiv.org/pdf/2407.02345v1
MORPHEUS: Modeling Role from Personalized Dialogue History by Exploring and Utilizing Latent Space
2024-07-02T15:12:34
2024-07-02T15:12:34
Yihong Tang, Bo Wang, Dongming Zhao, Xiaojia Jin, Jijun Zhang, Ruifang He, Yuexian Hou
cs.CL
cs.CL
Personalized Dialogue Generation (PDG) aims to create coherent responses according to roles or personas. Traditional PDG relies on external role data, which can be scarce and raise privacy concerns. Approaches address these issues by extracting role information from dialogue history, which often fail to generically model roles in continuous space. To overcome these limitations, we introduce a novel framework \textbf{MO}dels \textbf{R}oles from \textbf{P}ersonalized Dialogue \textbf{H}istory by \textbf{E}xploring and \textbf{U}tilizing Latent \textbf{S}pace (MORPHEUS) through a three-stage training process. Specifically, we create a persona codebook to represent roles in latent space compactly, and this codebook is used to construct a posterior distribution of role information. This method enables the model to generalize across roles, allowing the generation of personalized dialogues even for unseen roles. Experiments on both Chinese and English datasets demonstrate that MORPHEUS enhances the extraction of role information, and improves response generation without external role data. Additionally, MORPHEUS can be considered an efficient fine-tuning for large language models.
[ -0.11191728711128235, -0.484347403049469, 0.3213425278663635, -0.015734178945422173, -0.03549125790596008, -0.059013232588768005, 0.11585669219493866, 0.01637323573231697, 0.3656121492385864, 0.7044809460639954, -0.8183449506759644, -0.6665704250335693, -0.20117336511611938, -0.02950803004205227, -0.00905658584088087, 1.216943621635437, 0.47473907470703125, 0.12771666049957275, 0.014795130118727684, 0.1301637589931488, -0.3444063067436218, -0.4338446855545044, -0.7569727301597595, -0.21703636646270752, 0.7529852986335754, 0.16693779826164246, 0.6902111768722534, 0.5869626402854919, 0.10208826512098312, 0.22598882019519806, -0.031740013509988785, 0.09198545664548874, -0.4541114568710327, 0.490940660238266, -0.06660586595535278, -0.5663845539093018, -0.7666383981704712, 0.07943779230117798, 0.5647979974746704, 0.7608186602592468, -0.34137439727783203, -0.16154398024082184, 0.0841539055109024, 0.2221679389476776, -0.5892125368118286, 0.3069884777069092, -0.506467342376709, 0.45883429050445557, -0.22708623111248016, -0.5089315176010132, -0.41990286111831665, -0.2906632423400879, 0.6313574314117432, -0.6419926285743713, 0.20123007893562317, -0.21815423667430878, 0.4446640908718109, -0.05406520515680313, -0.4251193404197693, -0.38406792283058167, -0.8432167172431946, 0.7235647439956665, -0.7744879722595215, -0.10586979985237122, 0.5509780049324036, 0.3685505986213684, -0.21687257289886475, -0.7689646482467651, -0.38302913308143616, -0.08542779088020325, -0.036150798201560974, 0.3389786183834076, -0.05543581396341324, 0.39257895946502686, 0.07172144204378128, 0.4909500777721405, -0.4380674958229065, 0.040938861668109894, -0.5483807325363159, -0.26607874035835266, 0.6837473511695862, 0.32182520627975464, 0.37537097930908203, -0.27184101939201355, -0.3233850300312042, -0.12585954368114471, -0.783599317073822, 0.2512762248516083, 0.9326386451721191, 0.19762621819972992, -0.19962717592716217, 0.5978533625602722, 0.0838981345295906, 0.7750179767608643, 0.12785811722278595, -0.10110104084014893, -0.151450976729393, -0.08341236412525177, -0.22709301114082336, -0.0022390270605683327, 0.6743576526641846, 0.40094152092933655, -0.06063065677881241, -0.08537359535694122, 0.01200480293482542, -0.11186975240707397, 0.4926603436470032, -0.6723195910453796, -0.42791029810905457, 0.24230045080184937, -0.583755373954773, -0.4291575253009796, 0.05244991555809975, -0.8400067687034607, -0.614782989025116, -0.16641542315483093, 0.27027276158332825, -0.25706946849823, -0.17780227959156036, -0.1092720627784729, 0.16310088336467743, 0.15370619297027588, 0.3381955921649933, -0.9892184138298035, 0.2569143772125244, 0.3607081174850464, 0.8398582935333252, -0.2008810192346573, 0.024830572307109833, -0.7732977867126465, 0.21271508932113647, -0.3438488841056824, 0.5186966061592102, -0.7636198401451111, -0.451954185962677, 0.158710315823555, -0.12057458609342575, -0.2912082374095917, -0.49648207426071167, 0.30113330483436584, -0.387002170085907, 0.7978832125663757, 0.10813242197036743, -0.3024064302444458, -0.10691864788532257, 0.24995315074920654, -0.49730542302131653, 0.4365968108177185, 0.1540294885635376, -0.6116998195648193, 0.1798778474330902, -0.9741213321685791, 0.055005237460136414, 0.07819870114326477, -0.383243590593338, -0.10949656367301941, -0.03343203663825989, 0.17482256889343262, 0.7650496959686279, -0.1030723825097084, 0.3685145974159241, -0.3273313045501709, -0.35918301343917847, 0.3053598999977112, -0.13699817657470703, 0.5034469366073608, 0.3809061348438263, -0.05774490535259247, 0.2053486704826355, -0.627133846282959, -0.15008261799812317, -0.13366581499576569, -0.3623839318752289, -0.450356662273407, 0.24798987805843353, -0.0985637903213501, 0.175556942820549, 0.02846580743789673, -0.37991762161254883, 0.4043479561805725, -0.8046939969062805, 0.44190075993537903, 0.7708525061607361, 0.011924819089472294, 0.66949063539505, -0.32555219531059265, 0.9058480858802795, 0.1202043890953064, -0.050453320145606995, -0.5630504488945007, -0.4243919253349304, -0.39846885204315186, -0.3757445812225342, 0.30657458305358887, 0.5530160665512085, -0.6107368469238281, 0.6422099471092224, -0.07273460924625397, -0.31003543734550476, -0.3076823651790619, -0.00026257248828187585, 0.4410936236381531, 0.166451558470726, -0.0660080537199974, -0.7577143311500549, -0.6028085350990295, -1.075628638267517, -0.04846886917948723, -0.27202168107032776, -0.18104372918605804, 0.6099145412445068, 0.08973062038421631, -0.4484423100948334, 1.162902593612671, -0.6088770031929016, -0.41753852367401123, -0.4605969488620758, 0.06305873394012451, 0.2261136770248413, 0.517123818397522, 0.323580801486969, -0.93732088804245, -0.3005693554878235, -0.08135459572076797, -0.611926794052124, -0.34991392493247986, -0.2231043130159378, -0.1470518708229065, -0.10185583680868149, 0.5032640695571899, -0.3806237280368805, 0.2585606873035431, 1.0128412246704102, -0.30334532260894775, 0.28065282106399536, -0.12950211763381958, 0.0753537192940712, -1.6997711658477783, 0.30026718974113464, -0.05371594801545143, -0.10872926563024521, -0.7155623435974121, -0.35331711173057556, -0.4989360272884369, -0.46274441480636597, -0.2142385095357895, 0.5414947867393494, -0.16752798855304718, -0.17217792570590973, -0.2286224365234375, 0.30048832297325134, -0.2566240131855011, 0.7390394806861877, -0.03790529444813728, 0.5523544549942017, 0.40175604820251465, -0.689242959022522, 0.20562979578971863, 0.44244515895843506, -0.3108293414115906, 0.4054986536502838, -0.6763094663619995, 0.27987509965896606, -0.11907483637332916, 0.5211897492408752, -1.2173758745193481, -0.5085443258285522, 0.5149435997009277, -0.33078545331954956, 0.19193685054779053, -0.792445182800293, -0.4075360894203186, 0.1734687089920044, -0.10825301706790924, 0.3927466571331024, 0.3410426378250122, -0.20454229414463043, 0.6380620002746582, 0.7414723634719849, -0.679872453212738, -0.6224638223648071, -0.18907636404037476, -0.08538082242012024, -0.5937209725379944, -0.6599811315536499, 0.574798047542572, -0.2905513048171997, -0.17990663647651672, -0.4657931625843048, -0.21182024478912354, -0.40610751509666443, 0.02867347002029419, 0.4817922115325928, 0.17213712632656097, 0.05078553780913353, 0.056152064353227615, 0.4849588871002197, -0.17863403260707855, -0.12663593888282776, -0.32139548659324646, 0.7641797661781311, 0.28897419571876526, -0.18999719619750977, -0.3501459062099457, 0.3592884838581085, 0.7370403409004211, -0.08195827901363373, 0.700009822845459, 0.5011982321739197, -0.3214421570301056, -0.12110856175422668, -0.1655331254005432, -0.166774183511734, -0.45647478103637695, 0.20217515528202057, -0.13687925040721893, -0.9357113242149353, 0.6572304368019104, -0.09185105562210083, 0.35556530952453613, 0.02959286794066429, 0.5860347747802734, 0.0692140981554985, 1.1475787162780762, 0.6626282930374146, 0.17296567559242249, 0.7193337082862854, -0.35133683681488037, 0.18936306238174438, -1.0819628238677979, -0.3844130337238312, -0.10019930452108383, -0.421337366104126, -0.37806200981140137, -0.3567315936088562, 0.5852320194244385, 0.20694884657859802, 0.10234353691339493, 0.4596734642982483, -0.2768590450286865, 0.20297443866729736, 0.30461710691452026, 0.006191522814333439, 0.1236690804362297, 0.008845142088830471, -0.21569804847240448, -0.4800412356853485, -0.6672757267951965, -0.8575056791305542, 1.0872490406036377, 0.4179753065109253, 0.9668861627578735, 0.4202895164489746, 0.6286069750785828, 0.45007726550102234, -0.09675723314285278, -0.6411194205284119, 0.5608842968940735, -0.04780660942196846, -0.48087483644485474, -0.09279870986938477, -0.3596329391002655, -1.232066035270691, 0.46947550773620605, -0.12296301871538162, -1.0920490026474, 0.14393682777881622, 0.4039262533187866, -0.9429757595062256, -0.04386422410607338, -0.7852581143379211, 0.8628500699996948, 0.15322691202163696, -0.43000301718711853, -0.1390858143568039, -0.6784337162971497, 0.29799363017082214, 0.0812736302614212, -0.13115830719470978, 0.07996326684951782, 0.11389294266700745, 0.86327064037323, -0.06934092938899994, 1.3021348714828491, -0.38815948367118835, -0.35310548543930054, 0.11260488629341125, 0.35686516761779785, 0.34565162658691406, 0.5177993774414062, 0.14383725821971893, -0.3597116470336914, 0.22778908908367157, -0.1155901551246643, -0.6144483685493469, 0.7779670357704163, -0.6747366189956665, -0.4995013475418091, -0.29051530361175537, -0.7522336840629578, -0.3169344961643219, -0.0011790544958785176, 0.37225794792175293, 0.5491479635238647, -0.3167130947113037, 0.5684011578559875, 0.8134127259254456, -0.7138664722442627, 0.12602369487285614, 0.3944394290447235, -0.15989252924919128, -0.29984375834465027, 0.3770514726638794, -0.1130024716258049, 0.07413036376237869, 0.4795173704624176, 0.21218730509281158, -0.23122304677963257, -0.26407545804977417, -0.06160670146346092, -0.07036271691322327, -0.4066520631313324, -0.0013498988701030612, -1.006483554840088, -0.11535700410604477, -0.5213882327079773, -0.011292926967144012, -0.2898761034011841, -0.2742294371128082, -0.2506217956542969, 0.17213332653045654, -0.1735382080078125, 0.5355134010314941, 0.00827921461313963, 0.6334457993507385, -0.8778222799301147, 0.171223983168602, 0.4978848695755005, 0.1808469444513321, -0.2745841145515442, -0.5195701718330383, -0.2943451702594757, 0.1859976202249527, -0.6687551140785217, -0.9339718818664551, 0.7059979438781738, 0.15091314911842346, 0.7095285058021545, 0.5700651407241821, -0.07621151953935623, 0.6004531383514404, -0.33675575256347656, 1.0655317306518555, 0.017171306535601616, -0.8480210304260254, 0.8334805369377136, -0.8293694257736206, 0.03610297292470932, 0.1410936713218689, 0.22381827235221863, -0.7205634117126465, -0.14288806915283203, -0.6773965954780579, -1.020390510559082, 1.0721590518951416, 0.4805435240268707, 0.38617247343063354, 0.11788596957921982, 0.3910350501537323, 0.2829224467277527, 0.37176164984703064, -0.9036045074462891, 0.05271843820810318, 0.03541910648345947, -0.14038439095020294, -0.17342638969421387, -0.23539336025714874, -0.4508442282676697, 0.05679216608405113, 0.39826133847236633, -0.28509268164634705, 0.5631355047225952, 0.3363665044307709, -0.010210941545665264, 0.05271114408969879, 0.4072560667991638, 0.7042636871337891, 0.50412917137146, -0.19734473526477814, -0.2568151652812958, -0.1213945746421814, -0.23681452870368958, -0.22088401019573212, -0.03592105582356453, 0.12728887796401978, -0.09834383428096771, 0.1467505842447281, 0.7004533410072327, 0.38575848937034607, -0.6837877631187439, 0.5026172995567322, 0.0025567798875272274, 0.0902014672756195, -0.6613211631774902, 0.47062963247299194, -0.12206476181745529, 0.5376797914505005, 0.27112460136413574, 0.09815441071987152, 0.22589707374572754, -0.6783577799797058, 0.11035841703414917, 0.1771724671125412, -0.3741092383861542, -0.5722751021385193, 0.6154388785362244, 0.35343027114868164, -0.28045395016670227, 0.21609383821487427, 0.16972163319587708, -0.15463833510875702, 0.3092661499977112, 0.4797133803367615, 0.8259196877479553, -0.3658919036388397, 0.4109722673892975, 0.229090616106987, -0.24214541912078857, -0.10559079051017761, -0.10200567543506622, -0.3159070909023285, -0.7517608404159546, -0.3402300179004669, -0.47891896963119507, -0.43066394329071045, 0.498975932598114, -0.6949783563613892, 0.008290967904031277, -0.5549736618995667, -0.2016250640153885, -0.23835204541683197, -0.02321508526802063, -0.22711347043514252, 0.005744852591305971, 0.11669456958770752, 0.42106351256370544, -0.6274664998054504, 0.8175510168075562, 0.6981387138366699, -0.07408055663108826, -0.45296239852905273, 0.17413008213043213, 0.1917976438999176, -0.42617499828338623, 0.6558713316917419, 0.21739572286605835, -0.11891178786754608, 0.08012522757053375, -0.5628008842468262, -0.43825802206993103, 1.3763691186904907, 0.5155647993087769, -0.37214526534080505, -0.3937111496925354, -0.31826645135879517, 0.6235559582710266, -0.9450019598007202, -0.03392200544476509, 0.13776853680610657, -0.08638548105955124, 0.11224261671304703, -0.7422996163368225, -0.4445517659187317, -0.5473766326904297, 0.21242377161979675, -0.18310454487800598, -0.33468496799468994, 0.8985923528671265, 0.03807639330625534, -0.2555152475833893, 0.5244678258895874, 0.32474485039711, 0.4297303557395935, 0.2701342701911926, 0.5066251158714294, 0.1857008934020996, 0.612498939037323, -0.0721355527639389, 1.0456618070602417, -0.28399863839149475, 0.1760750263929367, 1.1068600416183472, -0.40759342908859253, 0.40731677412986755, 0.34398913383483887, 0.246450737118721, 0.7449151277542114, 0.4481475353240967, 0.08386331796646118, 0.8590148091316223, 0.24308274686336517, -0.4442375898361206, -0.2268003225326538, 0.07550285011529922, -0.15882806479930878, 0.5939579606056213, 0.46848735213279724, -0.851353108882904, -0.056620851159095764, 0.030392790213227272, -0.04246482253074646, 0.14757755398750305, -0.008964646607637405, 0.7633858919143677, 0.06347367912530899, -0.9031295776367188, -0.03669601306319237, 0.16855299472808838, 0.6248462200164795, -1.0260210037231445, -0.21759776771068573, -0.38663795590400696, 0.470016211271286, -0.15492631494998932, -0.5433517694473267, 0.20963649451732635, 0.015407639555633068, -0.12830640375614166, -0.4795996844768524, 0.5278220772743225, -0.5890090465545654, 0.15971195697784424, 0.09832116216421127, 0.47350603342056274, 0.2530435621738434, 0.1019759327173233, -0.6246132254600525, -0.13836367428302765, 0.03241106495261192, -0.08257008343935013, 0.3862049877643585, 0.11868758499622345, 0.03042583540081978, 0.8123111724853516, 0.6315353512763977, 0.0952046662569046, -0.06385010480880737, -0.046106379479169846, 0.6038649678230286, -0.5644218325614929, -0.9196632504463196, -0.5404214262962341, 0.6888213157653809, -0.1392698734998703, -0.5450147390365601, 0.5634938478469849, 0.49438831210136414, 0.732937216758728, -0.20088377594947815, 0.9076237678527832, -0.30349305272102356, 0.44313862919807434, -0.6893868446350098, 0.7425609827041626, -0.3636641204357147, 0.5835245251655579, -0.457487553358078, -1.053715705871582, -0.19768817722797394, 1.0338850021362305, -0.2965186536312103, 0.14133228361606598, 0.3850836455821991, 1.0332750082015991, -0.23134197294712067, -0.11077424138784409, 0.535422146320343, 0.14394448697566986, 0.5844531059265137, 0.6850201487541199, 0.9350231885910034, -0.448050856590271, 0.5559161305427551, 0.056724898517131805, -0.12697932124137878, -0.14373506605625153, -0.5078768730163574, -1.0565587282180786, -1.0136854648590088, -0.2746521830558777, -0.4469222128391266, -0.13341064751148224, 1.1875362396240234, 1.0041946172714233, -0.5420058369636536, -0.4455485939979553, -0.08595451712608337, -0.2658309042453766, -0.000667765736579895, -0.27801910042762756, 0.035661421716213226, -0.007486104965209961, -1.02341890335083, 0.647611141204834, 0.4130685329437256, 0.06930352747440338, -0.48653164505958557, -0.26711228489875793, 0.1417306661605835, 0.07068558037281036, 0.65462726354599, 0.33739951252937317, -0.6990752220153809, -0.12805446982383728, 0.009981845505535603, -0.11791467666625977, -0.07039846479892731, 1.3181471824645996, -0.697254478931427, 0.638622522354126, 0.3915546238422394, 0.26317378878593445, 0.3578474521636963, -0.10795075446367264, 1.3622064590454102, -1.0218051671981812, 0.10319660604000092, 0.39623957872390747, 0.3166738450527191, 0.2504146695137024, -0.3828269839286804, 0.5059385895729065, 0.14238058030605316, -0.39342018961906433, -0.8201096653938293, 0.5794469714164734, -1.1831607818603516, -0.10102701932191849, 1.229292869567871, -0.5595840215682983, 0.3012242913246155, -0.25271153450012207, -0.6658546924591064, 0.24830026924610138, -0.45754051208496094, 1.009384274482727, 0.4897252917289734, -0.22356046736240387, -0.33551153540611267, -0.45861151814460754, 0.5708460807800293, 0.2960825562477112, -0.7420284748077393, 0.016208302229642868, 0.5707287192344666, 0.14620782434940338, 0.3891851305961609, 0.8153210282325745, -0.41778314113616943, 0.1781742125749588, -0.32570379972457886, -0.3461036682128906, 0.052818603813648224, -0.40078115463256836, -0.3108269274234772, 0.39986711740493774, -0.30443769693374634, -0.11877455562353134 ]
http://arxiv.org/abs/2407.02340v1
http://arxiv.org/pdf/2407.02340v1
RVISA: Reasoning and Verification for Implicit Sentiment Analysis
2024-07-02T15:07:54
2024-07-02T15:07:54
Wenna Lai, Haoran Xie, Guandong Xu, Qing Li
cs.CL
cs.CL, cs.AI
With an increasing social demand for fine-grained sentiment analysis (SA), implicit sentiment analysis (ISA) poses a significant challenge with the absence of salient cue words in expressions. It necessitates reliable reasoning to understand how the sentiment is aroused and thus determine implicit sentiments. In the era of Large Language Models (LLMs), Encoder-Decoder (ED) LLMs have gained popularity to serve as backbone models for SA applications, considering impressive text comprehension and reasoning ability among diverse tasks. On the other hand, Decoder-only (DO) LLMs exhibit superior natural language generation and in-context learning capabilities. However, their responses may contain misleading or inaccurate information. To identify implicit sentiment with reliable reasoning, this study proposes RVISA, a two-stage reasoning framework that harnesses the generation ability of DO LLMs and the reasoning ability of ED LLMs to train an enhanced reasoner. Specifically, we adopt three-hop reasoning prompting to explicitly furnish sentiment elements as cues. The generated rationales are utilized to fine-tune an ED LLM into a skilled reasoner. Additionally, we develop a straightforward yet effective verification mechanism to ensure the reliability of the reasoning learning. We evaluated the proposed method on two benchmark datasets and achieved state-of-the-art results in ISA performance.
[ -0.4126555621623993, -0.9082951545715332, 0.7826899886131287, 0.6207283735275269, -0.3343319594860077, -0.1814933568239212, -0.05037453770637512, -0.31758400797843933, -0.27927365899086, 0.3299528956413269, -0.6742803454399109, -0.665554404258728, -0.6609021425247192, 0.4770723879337311, -0.23345738649368286, 0.6958597302436829, -0.3595658242702484, 0.24160709977149963, -0.5021761059761047, -0.3013068437576294, -0.5211427807807922, -0.18270699679851532, -0.8317209482192993, -0.14755754172801971, 0.3000645339488983, 0.5129515528678894, 0.0697239488363266, 0.24647364020347595, 0.3196554481983185, 0.17531903088092804, -0.07079099118709564, 0.6717477440834045, -0.2011071890592575, 0.4872299134731293, -0.15494881570339203, -0.6222996115684509, -0.37560153007507324, -0.36383864283561707, 0.5219033360481262, 0.17024476826190948, 0.18648488819599152, 0.2750202417373657, 0.07715305685997009, 0.6555953621864319, -0.852554976940155, 0.20694518089294434, -0.7491998076438904, -0.30595842003822327, -0.044618405401706696, -0.17412936687469482, -0.7288758754730225, -0.7003642916679382, -0.4246576428413391, -0.16411980986595154, -0.006570351310074329, 0.020862264558672905, 1.0310660600662231, 0.6096567511558533, -0.46931594610214233, -0.24130591750144958, -0.7084872722625732, 0.7553145885467529, -0.37692123651504517, 0.3067947328090668, 0.2569388449192047, 0.27541735768318176, -0.1021435558795929, -0.4994140863418579, -0.8965852856636047, -0.05640177056193352, -0.009262576699256897, 0.09436774998903275, -0.03368141129612923, -0.08339232206344604, 0.26577338576316833, 0.19871549308300018, -0.44596317410469055, -0.14928951859474182, -0.07446742802858353, 0.05845329910516739, 0.45134472846984863, -0.0032504673581570387, 0.27612048387527466, -0.44172731041908264, -0.6118931770324707, -0.03655797988176346, -0.9599104523658752, 0.11764366179704666, 0.4024350941181183, 0.1635712832212448, 0.012690250761806965, 0.8200434446334839, -0.1568458378314972, 0.3426099419593811, 0.01254318654537201, -0.09663073718547821, 0.11204175651073456, 0.09470412880182266, -0.2451392412185669, 0.13660800457000732, 0.7949496507644653, 0.28436434268951416, 0.379842072725296, 0.24385111033916473, -0.31292611360549927, 0.3623298704624176, 0.0809425562620163, -0.7774296402931213, 0.40739813446998596, 0.6628577709197998, -0.3213026225566864, -0.1402987539768219, -0.14965863525867462, -0.8525335192680359, -0.3384397625923157, -0.2613573372364044, 0.3921189606189728, -0.39432013034820557, -0.40798985958099365, 0.17353911697864532, -0.016297031193971634, 0.7307084202766418, 0.2846250832080841, -0.6387197375297546, 0.15842948853969574, 0.9964010119438171, 0.6545372605323792, 0.09449601173400879, -0.10919136554002762, -0.5588675141334534, 0.059933338314294815, -0.4546559751033783, 1.0474607944488525, -0.6618120074272156, -0.42217183113098145, 0.03486008942127228, -0.21050815284252167, -0.07751266658306122, -0.08173443377017975, 0.8795193433761597, -0.5915066599845886, -0.051087092608213425, -0.5341930985450745, -0.2914506196975708, -0.16676925122737885, 0.6066542863845825, -0.3473307192325592, 1.3224130868911743, -0.05194174125790596, -0.8502463698387146, 0.4322296380996704, -0.6145440340042114, -0.4745863974094391, -0.08912301808595657, -0.345285028219223, -0.40202316641807556, 0.015828609466552734, 0.6543123722076416, 0.4726337790489197, -0.4322507679462433, 0.0883946642279625, -0.43260759115219116, -0.46447113156318665, 0.2895625829696655, -0.6260039210319519, 0.4989915192127228, 0.18316161632537842, -0.3192930519580841, -0.07824382930994034, -0.7796784043312073, -0.018958760425448418, 0.016760291531682014, -0.05814003199338913, -0.32368549704551697, 0.04703403636813164, -0.3917510211467743, 0.058126647025346756, 0.151208758354187, -0.7967458963394165, 0.2439795881509781, -0.29782548546791077, 0.0793294608592987, 0.7630592584609985, 0.3894185423851013, 0.21029871702194214, 0.18913927674293518, 0.49523746967315674, 0.027027659118175507, 0.2269849181175232, -0.15781868994235992, -0.3720591962337494, -0.8983446359634399, -0.5896207690238953, 0.3257353901863098, 0.5862327814102173, -0.789916455745697, 0.1309603750705719, -0.4077000021934509, -0.005983918439596891, -0.7147294878959656, -0.10857754945755005, 0.25113165378570557, 0.405884712934494, 0.5592831373214722, 0.42011141777038574, -0.706528902053833, -0.8611985445022583, -0.37037765979766846, -0.28878703713417053, 0.061814386397600174, 0.2792084217071533, 0.5015722513198853, -0.5192355513572693, 1.0660443305969238, -0.48884445428848267, -0.12221398204565048, -0.4161783754825592, 0.5020277500152588, -0.04196067154407501, 0.28020691871643066, 0.30687183141708374, -0.6913521885871887, -0.22691136598587036, -0.12140177935361862, -0.8749949932098389, -0.2507270872592926, -0.1907886266708374, -0.3002557158470154, 0.3654465973377228, 0.4877520799636841, -0.8394795656204224, 0.4882667660713196, 0.2097255140542984, -0.15451057255268097, 0.2514601945877075, 0.03174478933215141, 0.2612062692642212, -0.8556888699531555, 0.037140749394893646, 0.3138182759284973, -0.18707752227783203, -0.03648320958018303, -0.1419113725423813, -0.04027102515101433, 0.30370163917541504, -0.11076563596725464, 0.5347036719322205, -0.3146018981933594, -0.011411327868700027, -0.32867297530174255, -0.0004114103503525257, 0.2374497503042221, 0.4125724732875824, 0.17799420654773712, 0.6701919436454773, 0.5852855443954468, -0.5578234195709229, 0.12721721827983856, 0.21406999230384827, -0.10220331698656082, 0.9168670773506165, -0.9603749513626099, 0.12700867652893066, -0.5746397972106934, 0.4366493225097656, -1.1858115196228027, -0.3827345371246338, 0.36583346128463745, -0.5592291951179504, 0.29677456617355347, -0.5241955518722534, -0.5079208612442017, -0.28571146726608276, -0.15862880647182465, 0.2248731255531311, 0.5271745324134827, -0.8378336429595947, 1.23643159866333, 0.07360225170850754, -0.1295800805091858, -1.015575647354126, -0.433513343334198, -0.1535777747631073, -0.06626475602388382, -0.5706722736358643, -0.19300799071788788, 0.15845172107219696, -0.5092703104019165, -0.07259859889745712, -0.31833508610725403, 0.056338079273700714, -0.06659098714590073, 0.5686048865318298, 0.44373956322669983, -0.11448673158884048, -0.04542120173573494, 0.5758681893348694, -0.24181818962097168, 0.4602605700492859, 0.04508136585354805, 0.3348296582698822, -0.4843738079071045, -0.5745845437049866, -0.12322893738746643, 0.2516471743583679, 0.7803670763969421, -0.27367258071899414, 0.7357752323150635, 0.8964579105377197, -0.37179142236709595, -0.5632451176643372, -0.6478084325790405, -0.012327113188803196, -0.4059104025363922, -0.058502089232206345, -0.7170928716659546, -0.6296330094337463, 0.3037668466567993, -0.3738042116165161, -0.0024227367248386145, 0.4351024627685547, 0.38629812002182007, -0.012772239744663239, 1.4459480047225952, 0.25453171133995056, 0.3709762990474701, -0.1373651921749115, -0.2635689675807953, 0.252472460269928, -1.071485161781311, -0.7406561970710754, -0.6569423675537109, 0.0737893283367157, -0.3261762857437134, -0.3577425479888916, 0.2916390001773834, 0.11909161508083344, -0.3416532576084137, -0.24530553817749023, -0.30381476879119873, 0.5631190538406372, 0.08248092234134674, 0.04611355438828468, 0.03342081233859062, -0.13791616261005402, -0.18738719820976257, 0.20737960934638977, -0.10418635606765747, -0.821704089641571, 0.6988023519515991, 0.6353180408477783, 0.6338808536529541, 0.13964296877384186, 0.6499667167663574, 0.3332222104072571, 0.4098718762397766, -0.825343132019043, 0.787177562713623, 0.1695237010717392, -0.334454208612442, -0.00354811642318964, -0.3801007866859436, -0.34911805391311646, 0.34285882115364075, -0.13976764678955078, -0.5437487959861755, 0.49782299995422363, -0.019479170441627502, -0.15980444848537445, -0.07560553401708603, -0.3411364257335663, 0.6016643643379211, -0.11229690909385681, -0.7244625687599182, -0.09503350406885147, -0.4947046637535095, 0.5736919641494751, 0.24606716632843018, 0.19909051060676575, -0.34616029262542725, 0.08577751368284225, 0.2168605774641037, -0.4416031837463379, 0.7312239408493042, -0.3902927041053772, -0.19883111119270325, 0.2934846878051758, 0.24701158702373505, 0.6861068606376648, 0.5583453178405762, -0.17097915709018707, 0.155502051115036, -0.2571953535079956, -0.09057873487472534, -0.5886459946632385, 0.8807641863822937, -0.6428213715553284, -0.46208104491233826, -0.5575603246688843, -0.06717357784509659, -0.4962085485458374, 0.016521262004971504, 0.14145570993423462, 0.3959391713142395, -0.042555272579193115, 0.14959657192230225, 1.053098201751709, 0.1511113941669464, 0.10275712609291077, 0.34381353855133057, -0.09164606779813766, -0.3742790222167969, 0.7767844200134277, -0.4641820788383484, -0.1492900252342224, 0.42150020599365234, 0.025812380015850067, -0.5615378022193909, -0.5329580307006836, -0.7890241742134094, 0.1287112832069397, -0.930412769317627, -0.33286476135253906, -0.7996985912322998, 0.04120123013854027, -0.01751559227705002, -0.13648006319999695, -0.513741135597229, -0.12389981746673584, -0.16609413921833038, -0.21651755273342133, 0.6324689984321594, 0.7693435549736023, -0.10349743813276291, 0.021948115900158882, -0.5659675002098083, 0.6526927351951599, 0.4089801609516144, 0.4135582447052002, -0.1665203720331192, -0.2048056274652481, 0.24389952421188354, 0.20886750519275665, 0.1832830011844635, -0.8612083196640015, 0.30349355936050415, -0.16271235048770905, 0.46101313829421997, 0.4143376350402832, 0.025392359122633934, 0.49255919456481934, -0.2526591420173645, 0.8899809122085571, -0.11989312618970871, -1.0862598419189453, 0.7489678263664246, -0.2831721305847168, -0.1530415117740631, 0.690104067325592, 0.5337742567062378, 0.06114640831947327, -0.28719133138656616, -0.3054216206073761, -0.9990119338035583, 0.5192191004753113, 0.16256874799728394, -0.09516941010951996, -0.401821106672287, 0.5790244340896606, 0.10733045637607574, -0.05547782778739929, -0.6114587187767029, -0.19676506519317627, -0.3747228980064392, -0.5447537302970886, 0.5416114330291748, -0.5800676345825195, 0.013320949859917164, -0.0954008549451828, 0.9090729355812073, -0.32665663957595825, -0.009158743545413017, 0.16411757469177246, -0.18924260139465332, -0.07841414958238602, 0.49222996830940247, 0.2827455997467041, 0.49012312293052673, -0.39979633688926697, 0.08423033356666565, 0.323388010263443, -0.35570329427719116, 0.2485874742269516, -0.08833235502243042, -0.3247310221195221, 0.04399574548006058, 0.044868748635053635, 0.9020148515701294, 0.1601998656988144, -0.44733691215515137, 0.8579849600791931, -0.5403867959976196, -0.03474351763725281, -0.4109821021556854, 0.005380426999181509, -0.12700091302394867, 0.13547417521476746, 0.3710674047470093, 0.33016642928123474, 0.14174064993858337, -0.253334105014801, -0.1508975476026535, 0.4860149025917053, -0.4206361472606659, -0.0781392976641655, 0.6059171557426453, 0.2581809163093567, 0.1900397688150406, 0.5518049001693726, -0.28557291626930237, -0.48352670669555664, 0.3578615188598633, 0.41050097346305847, 0.9934388399124146, 0.0688619464635849, 0.3090420961380005, 0.5079678297042847, 0.4083280861377716, -0.44898873567581177, 0.7021725177764893, -0.13111166656017303, -0.6463820338249207, -0.6605771780014038, -0.8450207114219666, -0.5380868315696716, -0.023371897637844086, -1.0038868188858032, 0.3603235185146332, -0.29999399185180664, -0.09600940346717834, -0.3390428125858307, -0.30992910265922546, -0.5794777274131775, 0.43469271063804626, 0.30645036697387695, 0.9029659032821655, -1.0669974088668823, 0.35080745816230774, 0.6642151474952698, -0.5718974471092224, -0.7667837738990784, 0.35481151938438416, -0.1550709307193756, -0.6990957856178284, 0.7366684079170227, 0.37214547395706177, -0.7615025639533997, -0.07282864302396774, -0.8058024644851685, -0.5024056434631348, 0.8982986211776733, 0.2337399125099182, -0.4206392168998718, 0.4012126922607422, 0.020933393388986588, 0.4956897497177124, -0.38667261600494385, 0.553021252155304, 0.6373207569122314, 0.5709347724914551, 0.5544060468673706, -0.13099920749664307, 0.19905559718608856, -0.24189315736293793, 0.09822706878185272, 0.04312459006905556, -0.45158088207244873, 0.6444854140281677, -0.29358187317848206, -0.2687393128871918, -0.15266236662864685, 1.0276148319244385, 0.6865996718406677, 0.27947157621383667, 0.39993929862976074, 0.46735432744026184, 0.737859845161438, -0.37734994292259216, 1.1836148500442505, -0.15556268393993378, -0.05926612764596939, 0.857970118522644, -0.5870905518531799, 1.1197534799575806, 0.3595644533634186, 0.020076356828212738, 1.1108931303024292, 0.3752588629722595, 0.18111427128314972, 0.3412081003189087, -0.0981246829032898, -0.514689564704895, -0.5908902287483215, -0.1441607028245926, -0.19521823525428772, 0.6456268429756165, 0.6631622314453125, -0.08759723603725433, 0.06985986232757568, 0.05688643082976341, 0.09232142567634583, 0.0840727686882019, -0.4766293466091156, 0.784834086894989, 0.12744183838367462, -0.7415242195129395, 0.3970695734024048, 0.1540220081806183, 0.5123952627182007, -0.6681298613548279, -0.30418381094932556, -0.2800525724887848, 0.36904585361480713, -0.31671738624572754, -0.8988086581230164, 0.1867847442626953, 0.32633107900619507, -0.1216338649392128, -0.14993689954280853, 0.8603067994117737, -0.23387430608272552, -0.5559492111206055, 0.07081010192632675, 0.39320409297943115, 0.005307821556925774, 0.04911256209015846, -0.37481898069381714, 0.4946225583553314, -0.13378775119781494, -0.30431562662124634, -0.10591741651296616, 0.6100443601608276, -0.00037854930269531906, 0.7084357142448425, 0.6998798847198486, 0.14859583973884583, -0.399737149477005, 0.4924844801425934, 0.7157895565032959, -0.3315809369087219, -0.29734450578689575, -1.0194917917251587, 0.5674530267715454, -0.2522037923336029, -0.07073432207107544, 0.975582480430603, 0.3132297992706299, 0.3656947612762451, 0.029869426041841507, 1.0362058877944946, 0.10208367556333542, 0.44674137234687805, -0.6625582575798035, 0.2533285319805145, -0.3411119878292084, 0.5576021075248718, -0.02915860526263714, -0.7234970331192017, -0.19609792530536652, 0.8160258531570435, -0.43237292766571045, 0.08058253675699234, 0.6973673105239868, 0.7674481272697449, 0.09252927452325821, 0.3332187235355377, -0.36536774039268494, 0.2701092064380646, 0.15047721564769745, 0.2762904465198517, 1.1092841625213623, -0.40759891271591187, 0.5217310190200806, 0.19877026975154877, -0.22417216002941132, -0.20661209523677826, -1.1376092433929443, -0.9551808834075928, -0.2299051731824875, -0.4375707805156708, -0.720828652381897, 0.16798898577690125, 1.0051277875900269, 0.24488160014152527, -0.7214372754096985, 0.40618911385536194, -0.3415359556674957, 0.43486863374710083, -0.22910338640213013, -0.2642665207386017, 0.31509241461753845, -0.29441043734550476, -0.5489039421081543, 0.4122956395149231, 0.37823888659477234, -0.11320506036281586, -0.4504144787788391, -0.07107499986886978, 0.05662817135453224, 0.7143653035163879, 0.6652358770370483, 0.3112157881259918, -0.6557381749153137, -0.26326802372932434, -0.10611928999423981, -0.2117302566766739, -0.12181749939918518, 0.5685014724731445, -0.7873175740242004, 0.17662233114242554, 0.6177094578742981, 0.29894155263900757, 0.42697176337242126, 0.20313763618469238, 0.5816396474838257, -0.971384584903717, -0.17234627902507782, 0.1661255955696106, 0.6211454272270203, 0.5072510838508606, -0.44214585423469543, 0.33963635563850403, -0.08853977918624878, -0.39741218090057373, -1.1037200689315796, 0.17692729830741882, -1.029008150100708, -0.12790289521217346, 1.7713916301727295, -0.08394569903612137, -0.48876020312309265, -0.23403987288475037, -0.37934285402297974, 0.17614731192588806, -0.33412593603134155, 0.5574147701263428, 0.3160615861415863, -0.10188136994838715, -0.19441844522953033, -0.22257772088050842, 0.5665626525878906, 0.06335987150669098, -0.9539510607719421, 0.07278714329004288, 0.5573220252990723, 0.3183821141719818, -0.10264118015766144, 0.5806710124015808, -0.2313985824584961, 0.3417126536369324, 0.2766808867454529, 0.0849069133400917, -0.3662557899951935, -0.5973458290100098, -0.19441598653793335, 0.3729437291622162, 0.10051316022872925, -0.19789253175258636 ]
http://arxiv.org/abs/2407.02337v1
http://arxiv.org/pdf/2407.02337v1
Open foundation models for Azerbaijani language
2024-07-02T15:05:47
2024-07-02T15:05:47
Jafar Isbarov, Kavsar Huseynova, Elvin Mammadov, Mammad Hajili
cs.CL
cs.CL
The emergence of multilingual large language models has enabled the development of language understanding and generation systems in Azerbaijani. However, most of the production-grade systems rely on cloud solutions, such as GPT-4. While there have been several attempts to develop open foundation models for Azerbaijani, these works have not found their way into common use due to a lack of systemic benchmarking. This paper encompasses several lines of work that promote open-source foundation models for Azerbaijani. We introduce (1) a large text corpus for Azerbaijani, (2) a family of encoder-only language models trained on this dataset, (3) labeled datasets for evaluating these models, and (4) extensive evaluation that covers all major open-source models with Azerbaijani support.
[ -0.34786519408226013, -0.6102601289749146, 0.388816773891449, 0.26486942172050476, -0.14789843559265137, -0.18675385415554047, -0.48426929116249084, -0.5092437267303467, -0.23859041929244995, 0.9376904368400574, -0.34307602047920227, -0.7105101943016052, -0.689226508140564, 0.17217563092708588, -0.6084731221199036, 1.0214515924453735, -0.3594038784503937, 0.23072440922260284, 0.010044066235423088, -0.18914882838726044, -0.13508258759975433, -0.5821104645729065, -0.3329072594642639, -0.121535524725914, -0.09854552894830704, 0.5809040665626526, 0.5660513639450073, 0.7304816246032715, 0.7549622654914856, 0.22728079557418823, 0.15027521550655365, -0.5056055784225464, -0.199405699968338, 0.3609663248062134, -0.05654677003622055, -0.22769390046596527, -0.08964642882347107, -0.24172115325927734, 1.0458829402923584, 0.6284564137458801, -0.41005441546440125, 0.11932064592838287, -0.1402188390493393, 0.6575095653533936, -0.8017928600311279, 0.34702250361442566, -0.4757971465587616, 0.02954627200961113, -0.46924763917922974, 0.4752715528011322, -0.3217982351779938, -0.3870273232460022, 0.04548454284667969, -0.16640429198741913, 0.2756076753139496, -0.19776928424835205, 0.49540236592292786, 0.03956093266606331, -0.40454599261283875, -0.6186555624008179, -0.9929795861244202, 0.8987401723861694, -0.7034297585487366, 0.7108203172683716, 0.5641064047813416, 0.5543332695960999, -0.1727670282125473, -0.6272590160369873, -0.46459662914276123, -0.3388710618019104, 0.24357683956623077, 0.07133421301841736, -0.08225177228450775, 0.045875318348407745, -0.09660691767930984, 0.6545606255531311, -0.490815132856369, -0.12042616307735443, -0.29373565316200256, 0.09328491240739822, 0.31922101974487305, 0.10983956605195999, 0.0749022513628006, 0.17798660695552826, -0.2628052532672882, 0.07875130325555801, -0.9613355398178101, 0.04882868751883507, 0.4597814977169037, 0.37038612365722656, -0.09463770687580109, 0.9776523113250732, -0.5005982518196106, 0.9790345430374146, -0.2716674208641052, 0.11380898207426071, 0.04142077639698982, -0.5967641472816467, -0.45606836676597595, 0.048377037048339844, 0.6975404024124146, -0.2919746935367584, 0.2572832703590393, -0.3161468803882599, -0.21180011332035065, 0.37022435665130615, 0.058774419128894806, -1.0372791290283203, -0.09578300267457962, 0.38531893491744995, -0.36028894782066345, -0.3830616772174835, 0.11802880465984344, -0.7729547619819641, -0.40792474150657654, 0.04219567030668259, 0.15212854743003845, -0.26025891304016113, -0.39738333225250244, 0.41387858986854553, 0.13192422688007355, 0.210520401597023, -0.009635759517550468, -1.0961225032806396, 0.5684701204299927, 0.4807693064212799, 0.766194760799408, 0.20925314724445343, -0.20650531351566315, -0.4818882346153259, 0.016620924696326256, -0.5790103673934937, 0.7145757675170898, -0.9799816012382507, -0.24458548426628113, 0.25572240352630615, 0.1492462456226349, 0.04526294395327568, -0.2906244695186615, 0.8105276226997375, -0.4238842725753784, 0.34311893582344055, -0.052755095064640045, -0.24599385261535645, -0.1555464118719101, 0.08981497585773468, -0.6804596781730652, 0.7174715399742126, 0.29948705434799194, -0.671600341796875, 0.2790474593639374, -0.82538902759552, -0.1621188372373581, 0.12912708520889282, -0.12479083985090256, -0.5033208131790161, -0.019061220809817314, 0.1835630238056183, 0.47757595777511597, -0.601616621017456, 0.3456508219242096, -0.10375869274139404, -0.09376838803291321, -0.027711138129234314, -0.13520772755146027, 0.6747404932975769, 0.26971903443336487, -0.4098702073097229, 0.1525455266237259, -0.8092958331108093, -0.06390984356403351, -0.08413007855415344, -0.6147326231002808, -0.08895537257194519, 0.20291639864444733, 0.24823765456676483, 0.24121670424938202, 0.10680248588323593, -0.8198363780975342, 0.23124118149280548, -0.4147825837135315, 0.5998766422271729, 0.4593023359775543, -0.13409414887428284, 0.3508073091506958, -0.015811309218406677, 0.7251498699188232, 0.027875162661075592, -0.16095653176307678, -0.32024723291397095, -0.5191596150398254, -0.885191023349762, -0.38345927000045776, 0.4037145674228668, 0.21397048234939575, -0.5417428612709045, 0.1695493757724762, -0.10128085315227509, -0.43551409244537354, -0.7017924785614014, 0.019279124215245247, 0.45801836252212524, 0.20709531009197235, 0.3084818720817566, -0.16283243894577026, -0.45213308930397034, -1.0245927572250366, 0.008545038290321827, 0.3638674020767212, 0.21966391801834106, 0.12287908792495728, 0.7290792465209961, -0.07900234311819077, 0.9712544679641724, -0.1416722536087036, -0.26886120438575745, -0.17654532194137573, 0.03917977213859558, 0.2677129805088043, 0.4412878155708313, 0.5676906108856201, -0.8653226494789124, -0.46326059103012085, 0.30320611596107483, -0.5451756119728088, 0.0707235038280487, 0.6226028203964233, 0.0658530443906784, 0.4160970449447632, 0.113577701151371, -0.6806668043136597, 0.21504004299640656, 1.0305578708648682, -0.3293294608592987, 0.5725786089897156, 0.010250733233988285, 0.32683101296424866, -1.303389310836792, 0.2861665189266205, -0.06536024808883667, -0.03077860362827778, -0.7455143928527832, 0.4161887764930725, 0.10500231385231018, -0.41603875160217285, -0.46401622891426086, 0.5014271140098572, -0.6448206901550293, -0.3069302439689636, -0.07153573632240295, 0.01071892213076353, -0.1882779598236084, 0.10385416448116302, 0.3654434382915497, 0.8954169154167175, 0.7034331560134888, -0.3742842674255371, 0.6111258268356323, 0.3841947019100189, -0.8250893354415894, 0.40569761395454407, -0.6544844508171082, 0.15123635530471802, -0.10836681723594666, 0.3031694293022156, -0.8100169897079468, -0.5214899778366089, 0.38308754563331604, -0.2570132315158844, 0.14000216126441956, -0.5499176383018494, -0.26828378438949585, -0.44938018918037415, -0.09557836502790451, 0.2159278243780136, 0.3904484510421753, -0.45401155948638916, 0.39668789505958557, 0.3044198751449585, -0.3122222125530243, -1.02016019821167, -0.6942070126533508, -0.020640779286623, -0.08778316527605057, -0.8959068655967712, 0.13011689484119415, -0.04003053903579712, -0.36265847086906433, 0.32794713973999023, 0.027300242334604263, -0.5408440828323364, 0.015819605439901352, 0.24352438747882843, -0.22808663547039032, -0.7966895699501038, 0.19894802570343018, -0.2405843436717987, -0.008072705008089542, -0.1806679517030716, -0.6189780235290527, 0.5427365303039551, -0.5535757541656494, -0.38408464193344116, 0.021915823221206665, 0.4946618974208832, 0.7594427466392517, -0.9219048023223877, 1.2232321500778198, 0.18285751342773438, -0.7150664925575256, -0.2663211524486542, -0.3004184663295746, 0.14345811307430267, -0.4193285405635834, 0.38522809743881226, -0.5184551477432251, -0.9678438901901245, 0.5650360584259033, 0.07652510702610016, -0.027140965685248375, 0.49153873324394226, 0.8666942119598389, 0.3153441250324249, 0.8678439259529114, 0.7025673389434814, -0.052781324833631516, 0.2483726590871811, -0.240675151348114, 0.18397675454616547, -0.6928434371948242, -0.08484971523284912, -1.2374391555786133, 0.40752196311950684, -0.2750609219074249, -0.2545946538448334, -0.07428586483001709, 0.5300485491752625, -0.30744755268096924, 0.46699681878089905, -0.3051088750362396, 0.6059255003929138, 0.1926453411579132, -0.34266406297683716, 0.3956035375595093, 0.005410559941083193, -0.08089910447597504, 0.3063015937805176, -0.5432235598564148, -0.6606889367103577, 1.1959106922149658, 0.1894703358411789, 0.5696473121643066, 0.4826592803001404, 0.5409632921218872, 0.08229807019233704, 0.48468977212905884, -0.5108568668365479, 0.067766934633255, -0.2557883560657501, -0.8422659039497375, -0.45320865511894226, -0.29586416482925415, -1.0156917572021484, 0.3524009883403778, -0.37996289134025574, -0.6921765804290771, 0.0287236999720335, 0.008525483310222626, -0.07830823212862015, 0.11332298070192337, -0.42886701226234436, 1.080130934715271, 0.17203053832054138, -0.21176187694072723, -0.21006804704666138, -0.2214564085006714, 0.6395225524902344, -0.3749762177467346, 0.3954424560070038, -0.09798835963010788, 0.2281094789505005, 0.5221177935600281, -0.47557565569877625, 0.3484850525856018, -0.1949436068534851, -0.14338447153568268, 0.4728253483772278, -0.06806626170873642, 0.5604654550552368, -0.34966740012168884, -0.4284517765045166, 0.1219429075717926, -0.11813447624444962, -0.4146527051925659, -0.30030450224876404, 0.9783856272697449, -0.8824867606163025, -0.3305610418319702, -0.2484791874885559, -0.014774556271731853, -0.2512921690940857, 0.3648117184638977, 0.1355540156364441, 0.702969491481781, -0.5188953876495361, 0.9351398348808289, 0.39941680431365967, -0.09764113277196884, 0.3925801217556, 0.5115518569946289, -0.19608595967292786, -0.33881068229675293, 0.5071794986724854, 0.09330838918685913, 0.22582513093948364, 0.17595291137695312, 0.2048950493335724, -0.3051174581050873, -0.7559627294540405, -0.9832654595375061, -0.0021907829213887453, -0.8788976669311523, -0.1526896357536316, -0.7887463569641113, -0.12912358343601227, -0.5033944249153137, -0.16369406878948212, -0.4271197021007538, -0.4538186192512512, 0.1668277084827423, -0.10199132561683655, 0.3586074411869049, 1.2148388624191284, 0.28755220770835876, 0.4014304578304291, -0.8200912475585938, 0.24705567955970764, -0.03927839919924736, 0.8286570310592651, -0.029562868177890778, -0.05649234727025032, -0.5471013784408569, 0.34733524918556213, -0.15366537868976593, -0.8420664072036743, 0.11956261098384857, 0.20983874797821045, 0.721863329410553, 0.21371081471443176, -0.05860801413655281, 0.04662984609603882, -0.497312068939209, 0.8677661418914795, -0.07534659653902054, -1.1166719198226929, 0.2833074629306793, -0.7794806957244873, 0.045973002910614014, 0.3493136167526245, 0.41899052262306213, -0.565598726272583, -0.1848968118429184, -0.22721430659294128, -0.6298685073852539, 0.8907268643379211, 0.44649308919906616, 0.06681232154369354, -0.017014414072036743, -0.07789183408021927, 0.15020209550857544, 0.3512383997440338, -0.7307671904563904, 0.16623766720294952, -0.43116626143455505, -0.5150368213653564, -0.2579289972782135, -0.023306388407945633, 0.04910403862595558, 0.3166067898273468, 0.7494437098503113, 0.02747531607747078, 0.14354205131530762, -0.052634093910455704, -0.20678752660751343, -0.30337128043174744, 0.5285800099372864, 0.7163776159286499, 0.41968628764152527, -0.14776864647865295, -0.2574371099472046, -0.1752023994922638, -0.4972665011882782, 0.4041123688220978, 0.06795230507850647, 0.003200216218829155, -0.3228205144405365, 0.2597479820251465, 0.7678172588348389, 0.15777845680713654, -0.5370713472366333, 0.6759253144264221, 0.07490258663892746, -0.20087674260139465, -0.38619232177734375, -0.05512155964970589, 0.4012403190135956, 0.058031558990478516, 0.1404024064540863, -0.062116459012031555, -0.11412189155817032, -0.6198108792304993, 0.13418567180633545, 0.4520426094532013, -0.344902366399765, -0.20944155752658844, 0.5558729767799377, 0.41680261492729187, -0.28999826312065125, 0.6873465776443481, 0.30890172719955444, -0.5222904682159424, 0.7784859538078308, 0.7503976821899414, 0.8945682048797607, -0.47583821415901184, 0.1351195126771927, 0.23936913907527924, 0.35905906558036804, -0.3243042826652527, 0.2818388044834137, -0.12297613173723221, -0.9336796998977661, -0.37419164180755615, -0.9880742430686951, -0.5372796654701233, 0.17451895773410797, -0.388409823179245, 0.4890419542789459, -0.42164966464042664, 0.08403962850570679, 0.012956826016306877, -0.02094743587076664, -0.7644733190536499, 0.3437070846557617, -0.025155765935778618, 0.9301593899726868, -0.8151551485061646, 1.056776523590088, 0.5836309790611267, -0.5376219153404236, -0.4023224413394928, -0.1850956827402115, -0.3954981863498688, -0.5111051797866821, 0.5210399031639099, 0.2358221858739853, -0.5127968788146973, 0.3781927227973938, -0.3703749477863312, -1.0049772262573242, 0.8368499279022217, 0.2750622034072876, -0.3548300564289093, 0.2829127311706543, 0.13587859272956848, 0.5127573609352112, -0.7889211773872375, 0.16294875741004944, 0.210272878408432, 0.7035822868347168, -0.16529619693756104, -0.7094751000404358, -0.19952964782714844, -0.29360097646713257, -0.2099021077156067, 0.6702206134796143, -0.5532994866371155, 1.0877398252487183, -0.00865978840738535, -0.34700924158096313, 0.42102161049842834, 0.29647764563560486, -0.1393037587404251, -0.13917827606201172, -0.04155947268009186, 0.5638846755027771, 0.43709346652030945, -0.1716286689043045, 1.1997647285461426, -0.5226903557777405, 0.47516077756881714, 0.7929510474205017, -0.47016507387161255, 1.0720702409744263, -0.009988346137106419, -0.12090162187814713, 0.5389751195907593, 0.3774491846561432, -0.06159456819295883, 0.5071823000907898, 0.3811812996864319, -0.4396962523460388, -0.029311994090676308, -0.05928055942058563, -0.6900339722633362, 0.6019627451896667, 0.33054494857788086, -0.48312172293663025, -0.2882772386074066, -0.021527700126171112, -0.11593382805585861, 0.08450145274400711, -0.2788333296775818, 0.5086918473243713, -0.1707504391670227, -0.5827898383140564, 0.4866802990436554, 0.627133309841156, 0.41470271348953247, -0.7847817540168762, -0.029098251834511757, -0.0176702793687582, 0.3339918255805969, -0.1911131888628006, -0.6265826225280762, 0.4590032994747162, 0.22639743983745575, -0.22900551557540894, -0.026061147451400757, 0.6806696653366089, -0.684067964553833, -0.575235903263092, 0.36877304315567017, 0.4153556823730469, 0.1661669909954071, -0.18733544647693634, -0.21554656326770782, 0.00917347427457571, -0.24386239051818848, -0.5204416513442993, 0.14082609117031097, 0.19505874812602997, -0.3628128170967102, 0.5613778233528137, 0.8070597052574158, -0.04449573531746864, 0.03797216713428497, -0.23041380941867828, 0.6524257659912109, -0.6407846212387085, -0.3830798268318176, -0.7627475261688232, 0.4255550801753998, 0.26422375440597534, -0.3204876184463501, 0.6338121891021729, 0.5115606188774109, 0.7646811604499817, -0.24827496707439423, 1.1917705535888672, -0.01854964718222618, 0.316602498292923, -0.6096974611282349, 0.9489129185676575, -0.2747306227684021, -0.3784862160682678, -0.26930487155914307, -1.3609981536865234, -0.36533576250076294, 0.6657427549362183, -0.1818864345550537, 0.00045938172843307257, 0.6400869488716125, 0.6070725917816162, -0.1119828075170517, 0.3906590938568115, 0.38161134719848633, 0.36113736033439636, 0.18361182510852814, 0.6055954098701477, 0.8697305917739868, -0.2385128289461136, 0.38393574953079224, -0.10466931760311127, -0.3565690219402313, -0.18307216465473175, -1.0607290267944336, -0.8445881009101868, -0.7796876430511475, 0.15341778099536896, -0.2829301059246063, 0.33513763546943665, 0.8607058525085449, 0.7586343884468079, -1.1292892694473267, -0.30752524733543396, -0.29168471693992615, -0.2070257067680359, 0.040570635348558426, -0.08656386286020279, 0.26880258321762085, 0.09567578881978989, -0.4986826181411743, 0.5766658186912537, 0.08437732607126236, 0.10422109067440033, -0.4606421887874603, -0.1750011295080185, 0.010638379491865635, 0.17279331386089325, 0.3313275873661041, 0.22089821100234985, -0.635827898979187, -0.28890153765678406, -0.03763440623879433, -0.13934895396232605, 0.1000046581029892, 0.8595232367515564, -0.6403273344039917, 0.3271401524543762, 0.4083006680011749, 0.6745309829711914, 0.6428842544555664, -0.0355440229177475, 0.7517497539520264, -0.3628399074077606, 0.16280092298984528, 0.1422181874513626, 0.5278458595275879, 0.560703456401825, -0.19743984937667847, 0.500011682510376, 0.07845784723758698, -0.4648970067501068, -0.6303883790969849, 0.47352585196495056, -0.325954794883728, -0.06910542398691177, 0.9429908394813538, -0.397422194480896, 0.001077881664969027, -0.29189571738243103, -0.1030140146613121, -0.008718760684132576, -0.2967369556427002, 0.3513418734073639, 1.338792324066162, 0.2404222935438156, -0.08320653438568115, -0.5464711785316467, 0.38477760553359985, -0.08343146741390228, -0.7697705626487732, 0.3716926574707031, 0.5455285310745239, 0.30149590969085693, 0.03967800736427307, 0.803678572177887, -0.18896782398223877, 0.10887884348630905, 0.2750486135482788, 0.3335250914096832, -0.20158246159553528, -0.6638144850730896, -0.6013898849487305, 0.3909077048301697, 0.22180312871932983, 0.0196213498711586 ]