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 ]

No dataset card yet

Downloads last month
17