id
stringlengths
33
33
doc_url
stringlengths
33
33
title
stringlengths
13
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
6
16.6k
category_primary
stringclasses
60 values
category_all
stringlengths
5
132
abstract
stringlengths
123
1.99k
embeddings
listlengths
768
768
http://arxiv.org/abs/2405.05506v2
http://arxiv.org/pdf/2405.05506v2
Cross-Care: Assessing the Healthcare Implications of Pre-training Data on Language Model Bias
2024-05-09T02:33:14
2024-06-24T23:17:52
Shan Chen, Jack Gallifant, Mingye Gao, Pedro Moreira, Nikolaj Munch, Ajay Muthukkumar, Arvind Rajan, Jaya Kolluri, Amelia Fiske, Janna Hastings, Hugo Aerts, Brian Anthony, Leo Anthony Celi, William G. La Cava, Danielle S. Bitterman
cs.CL
cs.CL
Large language models (LLMs) are increasingly essential in processing natural languages, yet their application is frequently compromised by biases and inaccuracies originating in their training data. In this study, we introduce Cross-Care, the first benchmark framework dedicated to assessing biases and real world knowledge in LLMs, specifically focusing on the representation of disease prevalence across diverse demographic groups. We systematically evaluate how demographic biases embedded in pre-training corpora like $ThePile$ influence the outputs of LLMs. We expose and quantify discrepancies by juxtaposing these biases against actual disease prevalences in various U.S. demographic groups. Our results highlight substantial misalignment between LLM representation of disease prevalence and real disease prevalence rates across demographic subgroups, indicating a pronounced risk of bias propagation and a lack of real-world grounding for medical applications of LLMs. Furthermore, we observe that various alignment methods minimally resolve inconsistencies in the models' representation of disease prevalence across different languages. For further exploration and analysis, we make all data and a data visualization tool available at: www.crosscare.net.
[ -0.11177384108304977, -0.3558046519756317, 0.5036659240722656, 0.07471571117639542, -0.005849739536643028, -0.11170889437198639, -0.09040871262550354, -0.5368371605873108, 0.32635995745658875, 0.5013355612754822, -0.505738377571106, -0.7886275053024292, -1.0402772426605225, -0.1138431578874588, -0.17016421258449554, 0.8825290203094482, -0.09302859753370285, 0.5970686674118042, -0.3820495307445526, -0.1561545729637146, -0.08066031336784363, -0.7024555802345276, -0.47819092869758606, -0.43127620220184326, 0.561333179473877, 0.18136750161647797, 0.7673444151878357, 0.5357645153999329, 0.30526354908943176, 0.1101006492972374, 0.09620079398155212, -0.22342275083065033, -0.5111014246940613, -0.02914479747414589, -0.15247498452663422, -0.5251619219779968, -0.5766187310218811, 0.3417452573776245, 0.4120042324066162, 1.1954765319824219, -0.03796977177262306, 0.17892612516880035, -0.021114619448781013, 0.68936687707901, -0.6030865907669067, -0.06015962362289429, -0.2189660221338272, 0.42419207096099854, -0.6381828188896179, -0.27173396944999695, -0.10563360154628754, -0.4676928222179413, 0.4006206691265106, -0.39082545042037964, 0.2150718867778778, 0.07131996005773544, 0.6796993613243103, 0.41155707836151123, -0.6193477511405945, -0.21395236253738403, -0.422916978597641, 0.7317580580711365, -0.6369658708572388, 0.6349775195121765, 0.408621221780777, 0.34026962518692017, -0.14353998005390167, -0.6530415415763855, -0.17431499063968658, -0.18045447766780853, -0.12993761897087097, 0.14571607112884521, -0.4404528737068176, 0.046561069786548615, 0.22565896809101105, 0.44828590750694275, -0.6740151047706604, 0.39765363931655884, -0.534713089466095, -0.3656194508075714, 0.579853355884552, 0.20670093595981598, 0.770561695098877, 0.0642433613538742, -0.21759255230426788, 0.025506798177957535, -1.1163771152496338, -0.024785570800304413, 0.42305800318717957, 0.2511577904224396, -0.4678925573825836, 0.6889538764953613, 0.10444889217615128, 0.48153629899024963, -0.23605306446552277, 0.048613693565130234, 0.4565494656562805, -0.18564698100090027, -0.3477816879749298, 0.2574993669986725, 0.7386884689331055, 0.5233131647109985, 0.4732290208339691, -0.30726149678230286, 0.35514017939567566, 0.12105034291744232, 0.4188021719455719, -0.6278115510940552, -0.11619296669960022, 0.23881320655345917, -0.7359821200370789, 0.10086735337972641, -0.2610383629798889, -0.8068631887435913, -0.381205677986145, -0.21672312915325165, -0.29903846979141235, -0.04693984240293503, -0.35821154713630676, 0.17714834213256836, 0.1689390242099762, -0.2094155102968216, 0.10412585735321045, -0.6140641570091248, 0.3094055950641632, 0.5711096525192261, 0.36885958909988403, -0.41001904010772705, -0.06708461791276932, -0.5407264828681946, -0.08336186408996582, -0.21511739492416382, 0.7045068144798279, -0.6364330053329468, -0.5542699098587036, 0.2870999574661255, -0.03822938725352287, -0.08626645058393478, -0.7571032047271729, 0.41519778966903687, -0.19117319583892822, 0.2334774285554886, -0.44519221782684326, -0.42089906334877014, 0.22663098573684692, 0.2600320875644684, -0.9365466833114624, 0.8212336897850037, 0.4732271432876587, -1.0136644840240479, 0.829001247882843, -0.37438148260116577, -0.410431832075119, -0.10124301165342331, -0.5395607352256775, -0.5080165266990662, 0.07244902849197388, 0.2258017510175705, 0.3776724636554718, -0.5421162247657776, 0.36937636137008667, -0.5910013318061829, -0.15726089477539062, 0.11890211701393127, -0.5341164469718933, 0.8175541162490845, 0.031102212145924568, -0.24902769923210144, 0.09568879753351212, -0.3918851613998413, -0.09066511690616608, -0.03212384507060051, 0.008024102076888084, -0.6034760475158691, 0.018812881782650948, 0.12446293979883194, 0.36396604776382446, 0.011848055757582188, -0.3338942229747772, 0.13541264832019806, -0.4006381034851074, 0.03388288617134094, 0.36387762427330017, -0.1282559335231781, 0.4168233275413513, -0.5444989800453186, 0.8947619199752808, 0.2664060890674591, 0.6048150062561035, 0.26928025484085083, -0.5108827352523804, -0.08013137429952621, -0.1714884638786316, 0.2821032404899597, 0.360402911901474, -0.4710541069507599, 0.19975699484348297, -0.4268229901790619, -0.30924347043037415, -0.7589685916900635, 0.033316001296043396, 0.5568529963493347, 0.34139397740364075, 0.49468937516212463, -0.4143434762954712, -0.6163025498390198, -1.0171160697937012, -0.6239442229270935, -0.1797236055135727, 0.003160518128424883, 0.3749854564666748, 0.3277258276939392, -0.6716414093971252, 0.6393564343452454, -0.1565025895833969, -0.3496340811252594, -0.19023564457893372, 0.017042871564626694, -0.21357135474681854, 0.5493797659873962, 0.5792022347450256, -0.4534931480884552, -0.3550602197647095, -0.12901553511619568, -0.5077006816864014, -0.5354673862457275, 0.3433658480644226, -0.2049783170223236, 0.06110857427120209, 0.4323587119579315, -0.27166229486465454, 0.6698594689369202, 1.2238017320632935, -0.20756490528583527, 0.48204755783081055, -0.052710969001054764, -0.06067274138331413, -0.939568817615509, 0.10999572277069092, 0.3019998371601105, -0.12159062922000885, -0.46891021728515625, -0.3813120424747467, -0.1485295444726944, 0.1839958280324936, -0.28667065501213074, 0.4887329041957855, -0.4812212586402893, 0.008590830489993095, 0.06851112842559814, -0.09089869260787964, -0.058578044176101685, -0.21943135559558868, 0.2363271266222, 0.573890745639801, 0.4364972710609436, -0.3287038207054138, -0.04240163043141365, -0.04303568974137306, -0.36289364099502563, 0.5970419645309448, -0.5948509573936462, -0.2427540272474289, 0.014795132912695408, 0.5158987045288086, -0.5146051645278931, 0.15285933017730713, 0.36175110936164856, -0.32008859515190125, 0.07753235101699829, -0.06262563914060593, -0.33655446767807007, -0.3404526114463806, 0.00035543704871088266, 0.7640950679779053, 0.2767736315727234, -0.20277747511863708, 0.3345128893852234, 0.8948968648910522, -0.18725928664207458, -0.6430811882019043, -0.836291491985321, -0.17536677420139313, -0.26370900869369507, -0.40736106038093567, 0.426137238740921, 0.18381863832473755, -0.43247202038764954, 0.0865950658917427, -0.2678535282611847, -0.14779944717884064, -0.20466242730617523, 0.3051491379737854, 0.2130555361509323, -0.1674627810716629, 0.26388585567474365, 0.06734158843755722, -0.03878328204154968, 0.23145435750484467, -0.2588264048099518, 0.6243149042129517, 0.2669357657432556, -0.8853309154510498, -0.08091894537210464, 0.5982949137687683, 0.4534715712070465, -0.1237797662615776, 0.507430374622345, 0.32056573033332825, -0.5013250708580017, -0.2515767812728882, -0.5491704940795898, 0.0851157158613205, -0.3303331434726715, 0.39911389350891113, 0.02267739549279213, -0.9684786200523376, 0.4434147775173187, -0.0785132572054863, -0.07877575606107712, 0.3642038404941559, 0.59140545129776, 0.0023989779874682426, 0.8097654581069946, 0.6339910626411438, -0.2578592002391815, 0.23222436010837555, -0.136987566947937, 0.2629185914993286, -0.8470843434333801, -0.42738983035087585, -0.6247389316558838, -0.09103550761938095, -0.8515195250511169, -0.8378289937973022, 0.2940257787704468, -0.15970054268836975, -0.24309296905994415, 0.03424140438437462, -0.27754291892051697, -0.001791260321624577, 0.26651668548583984, 0.2589411735534668, 0.1632302701473236, -0.12244429439306259, -0.37409770488739014, -0.49216538667678833, -0.9245160818099976, -0.43152931332588196, 1.3849703073501587, 0.5126888155937195, 1.0342665910720825, -0.31583982706069946, 0.7414262890815735, 0.41356685757637024, 0.8271508812904358, -0.5959005951881409, -0.08652563393115997, -0.41883134841918945, -0.631993293762207, -0.25464141368865967, -0.6642358303070068, -1.193816065788269, 0.15180063247680664, -0.11249641329050064, -0.5700646638870239, 0.43821054697036743, 0.41379114985466003, -0.24288532137870789, 0.31112754344940186, -0.4634040892124176, 1.0724211931228638, -0.7084609270095825, -0.28581929206848145, -0.022809896618127823, -0.6094925403594971, 0.5017457008361816, -0.009441492147743702, 0.3318682312965393, -0.31071603298187256, 0.040909916162490845, 0.6562124490737915, -0.4472472667694092, 0.9160372614860535, -0.06973931938409805, -0.33723193407058716, -0.3651117980480194, -0.2317267805337906, 0.0019116237526759505, 0.13658928871154785, -0.03346732258796692, 0.41418325901031494, 0.21889866888523102, -0.7078111171722412, -0.29198157787323, 0.5210814476013184, -0.768951416015625, -0.58404940366745, -0.6756703853607178, -0.5641699433326721, -0.5513309836387634, 0.17177219688892365, 0.33966121077537537, 0.4464266896247864, -0.6706964373588562, -0.2144065946340561, 0.6439139246940613, -0.6206870079040527, -0.3396286368370056, 0.6189113259315491, -0.3295647203922272, -0.13446679711341858, 0.4579978287220001, 0.10732924193143845, 0.54575514793396, 0.15394245088100433, 0.23053215444087982, -0.37311673164367676, -0.48352861404418945, -0.35142776370048523, 0.2951517403125763, -0.4736402630805969, 0.11979728937149048, -0.6446925401687622, -0.2203158289194107, -0.5499467849731445, 0.0959998294711113, -0.3239514231681824, 0.21975530683994293, -0.07811620831489563, 0.13749751448631287, 0.06137920543551445, 0.8038681745529175, 0.1722460240125656, 0.16911791265010834, -0.8901751041412354, 0.152841255068779, 0.040640346705913544, 0.4751981794834137, -0.11471158266067505, -0.24427589774131775, -0.30732712149620056, 0.2660995423793793, 0.1904486119747162, -0.8318086862564087, 0.3424206078052521, -0.11133112758398056, 1.0561745166778564, 0.4837690591812134, -0.010190841741859913, 0.6375839114189148, -0.5087194442749023, 0.5595117807388306, 0.4296802580356598, -0.7220550775527954, 0.21765746176242828, -0.10098233073949814, 0.4365956783294678, 0.8325440287590027, 0.7228233218193054, -0.7689483761787415, -0.3916357755661011, -0.7221495509147644, -0.7639997601509094, 0.4387008249759674, -0.12756486237049103, -0.16228815913200378, -0.06281795352697372, -0.04980812594294548, 0.06113049015402794, 0.0449703074991703, -0.5115330815315247, -0.2710875868797302, -0.07419741153717041, -0.31226858496665955, -0.1301749348640442, -0.1286384016275406, -0.4979342222213745, -0.09350983053445816, 0.41311514377593994, 0.028891559690237045, 0.1887003481388092, 0.24901649355888367, -0.30225473642349243, -0.29727035760879517, 0.29184040427207947, 0.48255595564842224, 0.8070381879806519, 0.006534733343869448, 0.2205350399017334, 0.02032674476504326, -0.6805598139762878, -0.0585869625210762, 0.4137156307697296, 0.04398530721664429, 0.2457003891468048, 0.7387703657150269, 0.6992159485816956, 0.47120121121406555, -0.8243873715400696, 0.8265899419784546, -0.1596350371837616, 0.10509510338306427, -0.2800152599811554, -0.17246785759925842, 0.20512479543685913, 0.07066887617111206, -0.09292285144329071, 0.008967449888586998, 0.12874992191791534, -0.5001443028450012, 0.20693707466125488, 0.533919095993042, -0.7544423937797546, -0.28907644748687744, 0.49624449014663696, 0.2258266806602478, -0.03398386016488075, 0.45584145188331604, 0.4949878752231598, -0.3737740218639374, 0.6340430974960327, 0.40018171072006226, 0.5974487662315369, -0.3713168203830719, 0.1538642793893814, 0.08553467690944672, 0.6394354701042175, -0.10429202765226364, 0.09741970896720886, 0.30270707607269287, -0.7833378911018372, -0.49058303236961365, -0.4448883831501007, -0.388871431350708, 0.13268053531646729, -0.9249885678291321, 0.17390042543411255, -0.03691169247031212, -0.2504621744155884, -0.1680663526058197, -0.13243918120861053, -1.0685945749282837, 0.44873690605163574, 0.41968315839767456, 1.1966758966445923, -1.1967836618423462, 0.9559755325317383, 0.7238444089889526, -0.4524717628955841, -0.6657438278198242, 0.5001236200332642, 0.13459311425685883, -1.1196504831314087, 0.6221306324005127, 0.14104236662387848, 0.00485692173242569, -0.4447508454322815, -0.20464622974395752, -0.7560868859291077, 0.7192620635032654, 0.49692636728286743, -0.8194971680641174, -0.2216588854789734, 0.6142668724060059, 0.6120574474334717, -0.6065911650657654, 0.30441489815711975, 0.7215514183044434, 0.44852474331855774, -0.3366428315639496, -1.1444741487503052, -0.055781494826078415, -0.3027294874191284, 0.12344519793987274, 0.11718433350324631, -0.2939366102218628, 0.6787405014038086, -0.07470172643661499, -0.16433186829090118, -0.3066752254962921, 0.12523795664310455, 0.427627295255661, 0.31049033999443054, 0.5496610403060913, 0.7617852091789246, 0.7346852421760559, -0.15070191025733948, 1.3156800270080566, -0.34303048253059387, 0.06367543339729309, 1.0639657974243164, -0.6195803284645081, 0.41122952103614807, 0.4881613850593567, -0.4884718656539917, 0.3362535834312439, 0.6143710017204285, 0.49782106280326843, 0.3048880696296692, 0.630741536617279, -0.2767999470233917, -0.09731229394674301, -0.25535881519317627, -0.6852771639823914, 0.26438936591148376, 0.5281583070755005, -0.7094209790229797, -0.37443599104881287, -0.056738462299108505, 0.2275201380252838, 0.17313525080680847, -0.23103518784046173, 0.4644036591053009, 0.34382015466690063, -0.4787878096103668, 0.42036888003349304, -0.34109970927238464, 0.6129480600357056, -0.7419971823692322, -0.11324594169855118, -0.11247222125530243, 0.023691406473517418, -0.38094818592071533, -0.4907655417919159, 0.42515191435813904, -0.014895319938659668, -0.29265353083610535, -0.33340683579444885, 0.5267988443374634, -0.8120512366294861, -0.5610087513923645, 0.744768500328064, 0.7657497525215149, 0.24473629891872406, 0.0799272209405899, -0.6994404792785645, 0.4307902157306671, -0.17198091745376587, 0.09358787536621094, 0.46940115094184875, 0.411905974149704, -0.47223907709121704, 0.508704662322998, 0.5599130988121033, 0.6715812087059021, 0.17129375040531158, 0.48509353399276733, 0.786069929599762, -0.27396851778030396, -0.181333988904953, -0.7819225788116455, 0.3192991018295288, -0.04437459260225296, -0.5398820638656616, 0.669701099395752, 0.5307763814926147, 0.768974781036377, 0.11913558840751648, 1.0084863901138306, 0.12758545577526093, 0.6107519865036011, -0.4340822398662567, 0.850685179233551, -0.6421480178833008, 0.06218889728188515, -0.14601550996303558, -0.4024462103843689, -0.4937376379966736, 0.41056036949157715, -0.8555976748466492, 0.16577893495559692, 0.6978951096534729, 0.5960579514503479, -0.1490798443555832, -0.08080229163169861, 0.22354735434055328, 0.08758619427680969, 0.11798717826604843, 0.49417644739151, 0.7111126184463501, -0.1358788162469864, 0.1549353450536728, -0.06749485433101654, -0.18585175275802612, -0.15839803218841553, -0.9904098510742188, -0.7251332402229309, -0.06540688872337341, -0.2089872658252716, -0.43527668714523315, 0.32499635219573975, 0.8980942368507385, 0.865622341632843, -0.998451292514801, -0.20947512984275818, 0.12329578399658203, -0.061794545501470566, -0.15000519156455994, -0.11934984475374222, 0.44142115116119385, -0.08048422634601593, -0.6477999687194824, 0.07668282836675644, 0.09708362817764282, -0.12464946508407593, -0.5611606240272522, -0.18900001049041748, -0.11832117289304733, -0.30449366569519043, 0.3998261094093323, 0.2941589653491974, -0.7346591949462891, 0.17660783231258392, -0.12561680376529694, -0.48876023292541504, 0.19837582111358643, 1.0606549978256226, -0.6054166555404663, 0.38482221961021423, 0.2971625328063965, 0.7837706804275513, 0.2259700745344162, -0.06589389592409134, 0.9413655400276184, -0.2915659546852112, 0.05584482103586197, 0.4911317825317383, 0.5016674399375916, 0.4272601306438446, -0.3628423810005188, 0.24470749497413635, 0.12450207769870758, -0.3699827194213867, -0.8046627640724182, 0.1326684206724167, -0.8439667820930481, -0.05662905052304268, 0.9976493120193481, -0.379892498254776, -0.17895002663135529, -0.3419162929058075, 0.06978261470794678, 0.5063908696174622, -0.20040535926818848, 0.7348167896270752, 0.4169718027114868, -0.01208555605262518, -0.1676878035068512, -0.9882756471633911, 0.6692736148834229, 0.6407970190048218, -1.0361520051956177, -0.034043796360492706, 0.41468778252601624, 0.5103189945220947, -0.17818468809127808, 1.0124551057815552, -0.5616612434387207, 0.3082121014595032, -0.3269827961921692, 0.43634700775146484, 0.4222720265388489, -0.008213541470468044, -0.22872619330883026, -0.27289968729019165, -0.16399851441383362, 0.20100805163383484 ]
http://arxiv.org/abs/2405.05496v1
http://arxiv.org/pdf/2405.05496v1
Boosting Large Language Models with Continual Learning for Aspect-based Sentiment Analysis
2024-05-09T02:00:07
2024-05-09T02:00:07
Xuanwen Ding, Jie Zhou, Liang Dou, Qin Chen, Yuanbin Wu, Chengcai Chen, Liang He
cs.CL
cs.CL
Aspect-based sentiment analysis (ABSA) is an important subtask of sentiment analysis, which aims to extract the aspects and predict their sentiments. Most existing studies focus on improving the performance of the target domain by fine-tuning domain-specific models (trained on source domains) based on the target domain dataset. Few works propose continual learning tasks for ABSA, which aim to learn the target domain's ability while maintaining the history domains' abilities. In this paper, we propose a Large Language Model-based Continual Learning (\texttt{LLM-CL}) model for ABSA. First, we design a domain knowledge decoupling module to learn a domain-invariant adapter and separate domain-variant adapters dependently with an orthogonal constraint. Then, we introduce a domain knowledge warmup strategy to align the representation between domain-invariant and domain-variant knowledge. In the test phase, we index the corresponding domain-variant knowledge via domain positioning to not require each sample's domain ID. Extensive experiments over 19 datasets indicate that our \texttt{LLM-CL} model obtains new state-of-the-art performance.
[ -0.35614290833473206, -0.7731819748878479, 0.631747305393219, 0.23470991849899292, -0.6241713762283325, 0.201168030500412, -0.40952643752098083, -0.47770076990127563, 0.007285826839506626, 0.5599914789199829, -0.5683069825172424, -0.5945331454277039, -0.43902426958084106, -0.01168058905750513, -0.050961390137672424, 1.126082181930542, -0.09914736449718475, -0.020169401541352272, -0.32708361744880676, -0.44431981444358826, -0.7262871861457825, -0.7320266366004944, -0.7363407015800476, -0.3220047652721405, 0.40355393290519714, 0.3782619833946228, 0.2832120656967163, 0.29413068294525146, 0.31913724541664124, 0.12774574756622314, -0.10793708264827728, 0.2442065328359604, -0.3969093859195709, 0.4625691771507263, -0.6647135615348816, -0.3463444113731384, -0.6138383746147156, -0.18635571002960205, 0.5723819136619568, 0.8250760436058044, 0.03888768330216408, -0.051985085010528564, 0.3162483870983124, 0.7213225960731506, -0.4348384439945221, 0.377608060836792, -0.8030308485031128, -0.35615265369415283, 0.04183245822787285, 0.11846049129962921, -0.4737177789211273, -0.23270051181316376, 0.1046522781252861, -0.28588491678237915, 0.10495327413082123, 0.16856345534324646, 0.985156238079071, 0.030524546280503273, -0.13159433007240295, -0.049514010548591614, -0.7433587312698364, 1.2149584293365479, -0.710767388343811, 0.43707728385925293, 0.19693075120449066, -0.20504455268383026, 0.19448933005332947, -0.24512727558612823, -0.4826921224594116, -0.17743927240371704, 0.1749912053346634, 0.13082920014858246, -0.008469633758068085, 0.00718380231410265, -0.22745291888713837, 0.44423550367355347, -0.4334242641925812, 0.21204622089862823, -0.017392413690686226, 0.03288066387176514, 0.5853753089904785, 0.10625442117452621, 0.17279715836048126, 0.041102975606918335, -0.3917076587677002, 0.1885848343372345, -1.0206862688064575, -0.21744635701179504, -0.13089966773986816, 0.444771945476532, -0.12850630283355713, 0.3250296413898468, -0.1530287265777588, 0.539524495601654, 0.32402563095092773, 0.005824155639857054, 0.21890698373317719, -0.07122574746608734, -0.12535899877548218, -0.2271249145269394, 0.4746130704879761, 0.0913553312420845, 0.07249177247285843, -0.20117519795894623, -0.6449019312858582, -0.037851300090551376, 0.49534162878990173, -0.5992248058319092, -0.309677392244339, 0.3741881549358368, -0.3265638053417206, -0.046583328396081924, -0.01701832376420498, -0.7995815277099609, -0.16584955155849457, -0.7033303380012512, 0.35525277256965637, -0.6825628280639648, -0.43048006296157837, -0.14236809313297272, 0.44831952452659607, 0.26417452096939087, 0.21625691652297974, -0.5418718457221985, 0.08388154953718185, 1.0390148162841797, 0.9899697303771973, -0.6377832889556885, -0.3252723813056946, -0.4411943256855011, -0.08255438506603241, -0.3844429850578308, 0.8924756050109863, -0.7820591330528259, -0.3067414462566376, 0.33808788657188416, 0.10126683861017227, -0.025586241856217384, -0.7566738128662109, 0.20166024565696716, -0.8657028079032898, -0.05536416545510292, -0.19290587306022644, -0.6975268721580505, -0.4720877408981323, 0.5467569828033447, -0.5013373494148254, 0.7271084785461426, 0.26695555448532104, -0.3296835124492645, 0.3541596233844757, -0.4916941523551941, -0.42607083916664124, 0.08196575194597244, 0.056031908839941025, -0.8375353217124939, 0.3049992322921753, 0.22784759104251862, 0.6513968706130981, -0.12755824625492096, 0.33017173409461975, -0.48640504479408264, 0.2428116500377655, 0.3383379280567169, -0.26453912258148193, 0.21210743486881256, 0.08243932574987411, -0.20594212412834167, 0.030772684141993523, -0.4878927171230316, -0.21122649312019348, -0.053100068122148514, -0.24005292356014252, -0.5577359795570374, 0.05877210199832916, -0.08029624819755554, 0.3185866177082062, 0.5198198556900024, -0.49788281321525574, 0.3238386809825897, -0.5601648688316345, 0.05820108577609062, 0.720962405204773, 0.5011869668960571, 0.4525863826274872, -0.4871080219745636, 0.6151503920555115, 0.5108152627944946, 0.23331905901432037, -0.24576415121555328, -0.19765791296958923, -1.0144740343093872, -0.20173148810863495, 0.20700283348560333, 0.3576715290546417, -0.8525812029838562, 0.7376835346221924, -0.4337694048881531, -0.36507004499435425, -0.15530632436275482, 0.5120350122451782, 0.4583524465560913, 0.09471958875656128, 0.4497697353363037, -0.6733365654945374, -0.30725744366645813, -0.5012160539627075, 0.10244428366422653, -0.16730481386184692, 0.22538341581821442, 0.179695263504982, 0.4588944911956787, -0.17686709761619568, 1.1199727058410645, -0.5338068604469299, -0.408756285905838, -0.7188283801078796, 0.1590086668729782, 0.17177684605121613, 0.39537110924720764, 0.5209901928901672, -0.7447515726089478, -0.35114404559135437, 0.1623365730047226, -0.7755110263824463, -0.01287058088928461, -0.29276391863822937, -0.1808260977268219, 0.4936552941799164, 0.20397785305976868, -0.43996304273605347, 0.027212336659431458, 0.5413792133331299, -0.11854316294193268, 0.6223190426826477, 0.11181242763996124, -0.19483953714370728, -1.2250767946243286, 0.021502690389752388, 0.22445759177207947, -0.3696693181991577, -0.5236850380897522, 0.13469867408275604, 0.0037319830153137445, -0.05875850096344948, -0.48474928736686707, 0.6563407182693481, -0.4303972125053406, 0.22729258239269257, -0.6559757590293884, 0.14649344980716705, 0.04570266976952553, 0.7250433564186096, 0.2860246002674103, 0.49325767159461975, 0.6273180842399597, -0.8691319227218628, 0.05786404013633728, -0.08292050659656525, -0.056965406984090805, 0.7720363140106201, -0.47612109780311584, 0.2760447561740875, 0.06321945041418076, 0.09507007151842117, -0.5969924330711365, -0.0052175577729940414, 0.08334235101938248, -0.3157438337802887, 0.5017973184585571, -0.20249131321907043, -0.1320762038230896, -0.07419247925281525, -0.19236084818840027, 0.44402143359184265, 0.4021592438220978, -0.6759898662567139, 0.9386299848556519, 0.44933265447616577, -0.5014461874961853, -0.5323642492294312, -0.05618719011545181, -0.05121524631977081, -0.2389919012784958, -0.2370641827583313, 0.20442622900009155, -0.04437500238418579, -0.3181205987930298, 0.08284221589565277, -0.07190153747797012, -0.12050551921129227, -0.02802550606429577, 0.379400372505188, 0.36482149362564087, -0.22434407472610474, 0.2787775695323944, 0.09132203459739685, 0.018578097224235535, 0.08105122298002243, -0.6047088503837585, 0.8295572400093079, -0.20644912123680115, -0.23716527223587036, -0.385567843914032, 0.375993549823761, 0.5411174297332764, -0.23753592371940613, 0.8704673647880554, 0.09624399989843369, -0.2902042865753174, -0.6875888109207153, -0.6150864958763123, -0.1973371058702469, -0.39825883507728577, 0.4431588649749756, -0.3365570902824402, -0.8955705165863037, 0.5114269852638245, -0.30465683341026306, 0.1854245364665985, 0.5171958208084106, 0.5697251558303833, -0.042722612619400024, 0.5975176095962524, 1.0095109939575195, -0.7680701017379761, 0.5795078873634338, -0.3680060803890228, 0.19971494376659393, -0.9178536534309387, -0.03176044672727585, -0.24358592927455902, 0.022284043952822685, 0.02613505721092224, -0.21427901089191437, 0.23361794650554657, 0.2675161063671112, -0.29249995946884155, 0.09180919080972672, -0.09892692416906357, 0.36459773778915405, 0.051806382834911346, 0.19949102401733398, 0.30759772658348083, -0.01863599382340908, 0.20201420783996582, 0.16248565912246704, -0.4792359173297882, -0.181056410074234, 1.0267925262451172, 0.4315994679927826, 0.7074902653694153, 0.06013215705752373, 0.5760955214500427, 0.3992668688297272, 0.6339089274406433, -0.9783512949943542, 0.4351855218410492, -0.37643417716026306, -0.07532083988189697, 0.03449999913573265, -0.38513273000717163, -0.6872429847717285, -0.06550339609384537, 0.04046253487467766, -0.38182738423347473, 0.24974386394023895, 0.301771879196167, -0.11772111058235168, 0.33717480301856995, -0.035508524626493454, 0.5056864023208618, -0.29024553298950195, -0.4801909029483795, -0.4451732039451599, -0.24519924819469452, 0.24599963426589966, -0.38115283846855164, 0.19000019133090973, 0.10534080117940903, 0.14813406765460968, 0.5536739826202393, -0.20587070286273956, 1.2496447563171387, -0.326490581035614, -0.3168090283870697, 0.31232592463493347, 0.25457167625427246, 0.4850030839443207, 0.20831944048404694, 0.07680574059486389, 0.45001062750816345, -0.37084102630615234, -0.304473340511322, -0.5449391007423401, 0.650601327419281, -0.7973514795303345, -0.5561991333961487, -0.36216825246810913, -0.3634762465953827, -0.5305275321006775, 0.09213022887706757, -0.05390708148479462, 0.5621092319488525, -0.22192054986953735, 0.16378886997699738, 0.8781880140304565, -0.17003299295902252, 0.23375855386257172, 0.7387403845787048, -0.3591879606246948, -0.44000229239463806, 1.1497526168823242, -0.18735148012638092, 0.37964028120040894, 0.502271294593811, 0.02749834582209587, -0.3326526880264282, -0.698486864566803, -0.29335257411003113, 0.5754601359367371, -0.59657883644104, -0.5840269923210144, -0.4729331433773041, -0.2829557955265045, -0.2251809537410736, -0.17411448061466217, -0.5199423432350159, 0.013970485888421535, -0.3052915334701538, -0.011359826661646366, 0.40236780047416687, 0.7037818431854248, 0.043808817863464355, 0.17766417562961578, -0.9541659951210022, 0.06233267858624458, 0.128052219748497, 0.36355963349342346, 0.12032303214073181, -0.8176705837249756, -0.46193984150886536, -0.11035609245300293, -0.4567009508609772, -0.46691104769706726, 0.5876648426055908, 0.4366878867149353, 0.3734804391860962, 0.5219207406044006, 0.0682399645447731, 0.32336491346359253, -0.27108708024024963, 1.0904276371002197, 0.07549604028463364, -1.0107866525650024, 0.6592935919761658, -0.23113521933555603, 0.32889026403427124, 0.507810115814209, 0.3881285488605499, -0.5290957093238831, -0.6834943294525146, -0.3901585638523102, -1.065338373184204, 0.37215277552604675, -0.25101202726364136, 0.38054054975509644, -0.05282261222600937, 0.7012566328048706, 0.3660636246204376, 0.12223806977272034, -0.739795982837677, -0.0644383355975151, -0.2948397397994995, -0.3952587842941284, 0.15299180150032043, -0.2509273886680603, 0.03374699503183365, -0.08397737145423889, 1.0959832668304443, -0.402866005897522, 0.07577233761548996, -0.11527516692876816, -0.368033230304718, 0.06223816052079201, 0.33104845881462097, 0.28795403242111206, 0.9745610356330872, -0.04506467655301094, -0.06375163793563843, 0.1881970763206482, -0.5724785923957825, 0.03177255392074585, -0.19518215954303741, -0.184956893324852, -0.13777592778205872, 0.2992718815803528, 0.6596579551696777, 0.07485070824623108, -0.6421576738357544, 0.4874078333377838, 0.17880043387413025, 0.009643652476370335, -0.5323855876922607, 0.011782997287809849, -0.23075833916664124, 0.1731005162000656, 0.39177456498146057, -0.0901954174041748, -0.3659574091434479, -0.6006452441215515, 0.4910386800765991, 0.4319257438182831, -0.6088234186172485, -0.5080793499946594, 0.29528966546058655, 0.2790311276912689, 0.07295063883066177, 0.6183882355690002, -0.39099249243736267, -0.8582620024681091, 0.40377530455589294, 0.5033237338066101, 1.0757927894592285, -0.30319032073020935, 0.178935706615448, 0.1779584437608719, 0.015466023236513138, -0.19168800115585327, 0.23535391688346863, 0.05134284496307373, -0.8846741318702698, -0.5425445437431335, -0.9371368288993835, -0.6123636364936829, 0.21597568690776825, -0.7539064288139343, 0.01735006459057331, -0.43224236369132996, 0.06400436908006668, -0.49969950318336487, -0.008893502876162529, -0.5781376361846924, 0.44881269335746765, -0.04900583624839783, 0.6186365485191345, -0.8821799755096436, 1.1393170356750488, 0.6322734951972961, -0.49037081003189087, -0.6845499873161316, 0.44299328327178955, -0.18423046171665192, -0.38077256083488464, 0.6973876357078552, 0.13151341676712036, -0.2414795160293579, -0.3043372333049774, -0.5926413536071777, -0.6900969743728638, 0.8830649256706238, -0.038332242518663406, -0.7414221167564392, 0.32663920521736145, 0.04034401476383209, 0.6293196678161621, -0.7130581736564636, -0.2567481994628906, 0.523303747177124, 0.060513269156217575, -0.17649224400520325, -0.6184356212615967, -0.03444764018058777, -0.12021896988153458, 0.035287342965602875, 0.19408708810806274, -0.8070333003997803, 0.8015653491020203, 0.1195957362651825, -0.07538022845983505, -0.02506979927420616, 1.3108166456222534, 0.2836640775203705, 0.3990669548511505, 0.7513071894645691, 0.47423940896987915, 0.5253440737724304, -0.07299154251813889, 0.7771193981170654, -0.6580883860588074, 0.6028001308441162, 1.125506043434143, -0.4994086027145386, 1.2171999216079712, 0.052248820662498474, 0.04885999485850334, 0.7978934049606323, 0.40206632018089294, 0.062382034957408905, 0.4662201404571533, -0.19988471269607544, -0.4820987284183502, -0.5067850351333618, -0.16752754151821136, -0.05012790486216545, 0.38036975264549255, 0.7424713969230652, -0.3547753691673279, 0.03963259607553482, 0.3565763831138611, 0.33240383863449097, 0.06583525240421295, -0.565654456615448, 1.018916368484497, 0.35793447494506836, -0.7448475360870361, 0.4266245663166046, -0.008536682464182377, 0.8333337306976318, -0.7216775417327881, 0.1208113580942154, -0.623456597328186, 0.3230860233306885, 0.01817416027188301, -0.6995331645011902, 0.4416517913341522, -0.042021743953228, -0.47989487648010254, 0.06107906252145767, 0.5368053913116455, -0.5063343644142151, -0.5706632733345032, 0.3856012225151062, 0.37735751271247864, -0.1317126303911209, -0.3099727928638458, -0.6806978583335876, 0.16353298723697662, -0.017496172338724136, -0.2719936966896057, 0.5307744741439819, 0.4304105043411255, -0.07809016853570938, 0.6888711452484131, 0.34262749552726746, 0.32554441690444946, -0.4610850512981415, 0.1565254181623459, 1.0990349054336548, -0.6745169758796692, -0.44190168380737305, -0.7793234586715698, 0.2301698625087738, -0.05460819974541664, -0.19213218986988068, 0.5028660297393799, 0.48155540227890015, 0.7232549786567688, 0.04293157905340195, 0.9771340489387512, 0.12940365076065063, 0.6126309633255005, -0.892181396484375, 0.6759136319160461, -0.6641901731491089, 0.46836933493614197, 0.02306382916867733, -1.098106026649475, -0.33868464827537537, 0.2650236189365387, -0.3428182303905487, 0.07633685320615768, 0.7726333737373352, 0.7496640682220459, -0.1235940232872963, -0.07077392935752869, 0.23515532910823822, 0.4950523376464844, 0.4994325041770935, 0.5209833979606628, 0.6482684016227722, 0.06347998976707458, 0.16602222621440887, -0.3591041564941406, -0.19633495807647705, -0.10524334013462067, -0.7199079990386963, -0.8548462986946106, -0.7999361753463745, -0.4522670805454254, -0.458743691444397, 0.08167316019535065, 0.9968451261520386, 0.6180889010429382, -0.9868890047073364, 0.055906832218170166, 0.17368246614933014, 0.06501505523920059, -0.5101103782653809, -0.34164363145828247, 0.6450165510177612, -0.7526165843009949, -0.6501923203468323, 0.39031001925468445, 0.48691824078559875, -0.4128667414188385, -0.48243799805641174, 0.10908661037683487, 0.06217270717024803, 0.25637346506118774, 0.8050577044487, 0.4041000008583069, -0.5486310720443726, -0.5433184504508972, -0.341690331697464, 0.21671392023563385, 0.2159021645784378, 0.9006699323654175, -0.7319403886795044, 0.23152916133403778, 0.17759829759597778, 0.8430319428443909, 0.09750747680664062, 0.39149975776672363, 0.5856468081474304, -1.0236897468566895, -0.16756249964237213, 0.2577527165412903, 0.46533599495887756, 0.5107302665710449, -0.40757736563682556, 0.08388999104499817, 0.28901347517967224, -0.8053306937217712, -0.4514846205711365, 0.30367809534072876, -1.1974074840545654, -0.47084933519363403, 1.3989391326904297, -0.5210248231887817, -0.28777414560317993, -0.49573394656181335, 0.053717028349637985, 0.036554060876369476, -0.6235257983207703, 1.0264770984649658, 0.3996586799621582, -0.11692070960998535, -0.22128650546073914, -0.13970999419689178, 0.43741679191589355, 0.4047292172908783, -0.9719659686088562, 0.3854024112224579, 0.6008055210113525, 0.6082184314727783, 0.1527228057384491, 0.39326274394989014, -0.04476861283183098, 0.07736623287200928, -0.4358767569065094, 0.10981094837188721, 0.19491742551326752, -0.7207300066947937, -0.55959552526474, 0.3916187584400177, 0.32726263999938965, -0.007652132771909237 ]
http://arxiv.org/abs/2405.05493v1
http://arxiv.org/pdf/2405.05493v1
Parameter-Efficient Fine-Tuning With Adapters
2024-05-09T01:40:38
2024-05-09T01:40:38
Keyu Chen, Yuan Pang, Zi Yang
cs.CL
cs.CL, cs.AI
In the arena of language model fine-tuning, the traditional approaches, such as Domain-Adaptive Pretraining (DAPT) and Task-Adaptive Pretraining (TAPT), although effective, but computational intensive. This research introduces a novel adaptation method utilizing the UniPELT framework as a base and added a PromptTuning Layer, which significantly reduces the number of trainable parameters while maintaining competitive performance across various benchmarks. Our method employs adapters, which enable efficient transfer of pretrained models to new tasks with minimal retraining of the base model parameters. We evaluate our approach using three diverse datasets: the GLUE benchmark, a domain-specific dataset comprising four distinct areas, and the Stanford Question Answering Dataset 1.1 (SQuAD). Our results demonstrate that our customized adapter-based method achieves performance comparable to full model fine-tuning, DAPT+TAPT and UniPELT strategies while requiring fewer or equivalent amount of parameters. This parameter efficiency not only alleviates the computational burden but also expedites the adaptation process. The study underlines the potential of adapters in achieving high performance with significantly reduced resource consumption, suggesting a promising direction for future research in parameter-efficient fine-tuning.
[ -0.49263569712638855, -0.6024451851844788, 0.19652286171913147, 0.07029684633016586, -0.38523998856544495, 0.0010717458790168166, -0.4335731565952301, -0.018443413078784943, -0.29609912633895874, 0.36590099334716797, -0.5360441207885742, -0.15132077038288116, -0.3876335918903351, -0.1065487414598465, 0.08407630771398544, 0.9390823841094971, -0.13681955635547638, -0.15993037819862366, -0.020095517858862877, -0.2822537422180176, -0.573447585105896, -0.010436647571623325, -0.6582927703857422, -0.05216830223798752, 0.24974896013736725, 0.6168563961982727, 0.4217393398284912, 0.7285782098770142, 0.48640382289886475, 0.25934410095214844, 0.10343224555253983, 0.2580275237560272, -0.7051336169242859, 0.133676216006279, -0.4590426981449127, -0.29952672123908997, -0.2808094322681427, -0.22640524804592133, 0.5717175602912903, 0.8314211368560791, -0.11526434868574142, 0.37134984135627747, 0.42277079820632935, 0.8828965425491333, -0.8343392014503479, 0.05569189786911011, -0.9704853296279907, -0.3918425142765045, -0.022118179127573967, -0.38729459047317505, -0.38649919629096985, -0.23008154332637787, -0.008614114485681057, -0.934119462966919, 0.29333755373954773, 0.07411063462495804, 0.493969589471817, 0.5774081945419312, -0.013231090269982815, 0.029345136135816574, -0.607720136642456, 0.6471127271652222, -0.7386828660964966, 0.469671368598938, 0.10196377336978912, 0.36056947708129883, -0.3142227530479431, -0.7829061150550842, -0.2973814010620117, 0.1024804413318634, 0.1997373402118683, -0.046821173280477524, -0.3188580572605133, 0.09486273676156998, 0.1018466129899025, 0.07108291983604431, -0.5378387570381165, 0.32637283205986023, -0.328712522983551, -0.12876927852630615, 0.4005241096019745, -0.0025447208900004625, 0.18200547993183136, 0.30356672406196594, -0.1799592673778534, -0.06573811918497086, -0.48293381929397583, 0.26364365220069885, 0.011614466086030006, 0.6368141174316406, 0.04145277291536331, 0.044850025326013565, -0.3750637471675873, 0.8584446907043457, 0.4758327007293701, 0.1817592978477478, -0.005740474443882704, -0.2936031222343445, -0.027836160734295845, -0.2514374256134033, 0.6090882420539856, 0.5473055243492126, 0.4924009442329407, -0.360938161611557, 0.035129155963659286, -0.2118411660194397, 0.2760937809944153, -1.189510464668274, -0.760627269744873, -0.11200962215662003, -0.34908780455589294, 0.02324720472097397, -0.30036982893943787, -0.7341600060462952, -0.3666141927242279, -0.3381049931049347, 0.5335426330566406, -0.41005924344062805, -0.030515192076563835, 0.30897051095962524, -0.12917330861091614, 0.2014557272195816, 0.47362327575683594, -1.0357688665390015, 0.5007216930389404, 0.3684285879135132, 0.760627806186676, -0.3449680507183075, -0.3612096309661865, -0.7779392600059509, 0.0018078827997669578, -0.31979089975357056, 0.9758392572402954, -0.7431028485298157, -0.14155299961566925, -0.3112489581108093, 0.06773347407579422, -0.5468100309371948, -0.5414236187934875, 0.543078601360321, -0.5112779140472412, -0.041202254593372345, -0.30228644609451294, -0.5902894139289856, -0.1212555393576622, -0.0037100748158991337, -0.4978793263435364, 1.0686415433883667, 0.22709637880325317, -0.4697517156600952, 0.45021843910217285, -0.9151725172996521, -0.41797661781311035, 0.05168728157877922, 0.20336483418941498, -0.10758332163095474, 0.3719627261161804, 0.4545538127422333, 0.4976032078266144, -0.4998001158237457, -0.08487626910209656, -0.4590790271759033, -0.4704703390598297, 0.05069674178957939, -0.4479494094848633, 0.5322821736335754, 0.2574501931667328, -0.09661296755075455, 0.15699753165245056, -1.0250566005706787, 0.28361159563064575, -0.07487767934799194, -0.4806238114833832, -0.4112241864204407, -0.10698051005601883, 0.13320668041706085, 0.1815623641014099, 0.17817972600460052, -0.49643653631210327, 0.34989291429519653, -0.25302496552467346, 0.4939187169075012, 0.6601155996322632, -0.05792952701449394, 0.6486693620681763, -0.2425926923751831, 0.40959876775741577, -0.03358226642012596, -0.0772743821144104, -0.23612280189990997, 0.00302928127348423, -0.8681125640869141, -0.40628114342689514, 0.5942388772964478, 0.4602912366390228, -0.5774908065795898, 0.43425291776657104, -0.245835542678833, -0.6468571424484253, -0.7747003436088562, 0.30475127696990967, 0.3209143877029419, 0.6437559723854065, 0.48082461953163147, -0.23933996260166168, -0.40499448776245117, -0.6280636787414551, -0.5885583162307739, 0.029313165694475174, -0.13183711469173431, 0.31062039732933044, 0.20271073281764984, 0.251302570104599, 0.8401795625686646, -0.6085400581359863, -0.0785670056939125, -0.2118305265903473, 0.05733552947640419, 0.1678856909275055, 0.5528605580329895, 0.8174627423286438, -0.5443245768547058, -0.7997825741767883, 0.07129418104887009, -0.1609942615032196, -0.21752643585205078, -0.07482817769050598, -0.06376928091049194, -0.027469763532280922, 0.5881073474884033, -0.16462190449237823, 0.060108255594968796, 0.4897334575653076, -0.3651438057422638, 0.2571658194065094, -0.5326071977615356, 0.22615520656108856, -1.0529998540878296, 0.22869102656841278, -0.17237818241119385, -0.22557684779167175, -0.9352820515632629, -0.10965810716152191, 0.1878739893436432, 0.02147185429930687, -0.40859076380729675, 0.707808792591095, -0.4799644351005554, 0.3628329634666443, -0.4338622987270355, -0.003930517006665468, 0.02210560254752636, 0.6101386547088623, -0.25292399525642395, 1.1039955615997314, 0.8300449252128601, -0.8111633062362671, 0.0356718935072422, 0.2373841404914856, -0.17828495800495148, 0.4275251030921936, -0.6793995499610901, 0.34532326459884644, -0.14725643396377563, -0.08493407070636749, -1.1877636909484863, 0.030891668051481247, 0.14610359072685242, -0.2198564112186432, 0.14788714051246643, -0.3313784897327423, -0.3431430757045746, -0.18251314759254456, -0.43214520812034607, 0.5154314637184143, 0.5589233040809631, -0.5846583843231201, 0.5646016597747803, 0.13423429429531097, -0.3535807132720947, -0.13490603864192963, -0.3083031475543976, -0.2333328127861023, -0.37800103425979614, -0.3305782377719879, 0.41106313467025757, -0.37563273310661316, 0.29670917987823486, -0.27200374007225037, -0.2595459222793579, -0.4916020333766937, 0.47314801812171936, -0.12506943941116333, -0.07038172334432602, -0.4803912043571472, -0.1084444597363472, 0.34691113233566284, -0.17317789793014526, -0.2881142497062683, -0.37458130717277527, 0.4067186713218689, -0.06864296644926071, -0.2244812399148941, -0.452593594789505, 0.06600813567638397, 0.7613362073898315, -0.3071311414241791, 0.6675084233283997, 0.5891397595405579, -0.19431054592132568, -0.3855409026145935, -0.5270671844482422, -0.2485329806804657, -0.5070865750312805, 0.5157699584960938, -0.4837087094783783, -0.9331790804862976, 0.7066987752914429, -0.550724983215332, 0.15844294428825378, 0.08486033231019974, 0.43758073449134827, 0.06851805001497269, 0.827145516872406, 0.6547659039497375, -0.2553280293941498, 0.568440854549408, 0.2268320918083191, 0.12555208802223206, -0.96327805519104, 0.29406049847602844, -0.6946480870246887, -0.4988139271736145, -0.6580381989479065, -0.5157999396324158, 0.061264269053936005, 0.46232476830482483, -0.3035678565502167, 0.6382589340209961, -0.4964843988418579, 0.629698634147644, 0.4273112714290619, 0.06740385293960571, 0.16388803720474243, -0.22583603858947754, -0.025826232507824898, -0.03701552748680115, -0.8978660702705383, -0.3247823119163513, 1.1494975090026855, 0.10486352443695068, 0.7044180631637573, 0.09999153763055801, 0.21289654076099396, 0.055713340640068054, -0.14237210154533386, -0.3958503007888794, 0.3919524550437927, -0.5425847768783569, -0.41932326555252075, -0.44393643736839294, -0.09822087734937668, -0.8184880614280701, 0.42469125986099243, -0.09786992520093918, -0.9426426887512207, 0.5221614837646484, 0.49142682552337646, -0.5509841442108154, 0.1476009041070938, -0.7193280458450317, 0.9096383452415466, -0.09385321289300919, -0.40814220905303955, -0.17774853110313416, -0.5061473250389099, -0.32428720593452454, -0.36240479350090027, -0.011944829486310482, -0.42955660820007324, -0.0668577328324318, 0.7211170792579651, -0.014157232828438282, 0.7646890878677368, -0.5287805795669556, 0.2559698522090912, 0.03673604875802994, 0.06315027177333832, 0.49445340037345886, -0.04275458678603172, -0.39169999957084656, -0.22605857253074646, 0.2189359962940216, -0.5793547034263611, -0.8415869474411011, 0.549538254737854, -0.6563841700553894, -0.382454514503479, 0.21297666430473328, -0.9418849945068359, -0.5843262076377869, 0.5788891315460205, 0.08232403546571732, 0.43060168623924255, -0.39969000220298767, 0.3822158873081207, 0.5943335294723511, 0.006287974305450916, 0.5905898213386536, 0.9088053107261658, 0.20222695171833038, -0.16911081969738007, 0.8820043206214905, -0.039276089519262314, 0.253861665725708, 0.4434313178062439, 0.27399367094039917, -0.12356220930814743, -0.9766638875007629, -0.5581440329551697, 0.06915441155433655, -0.42344027757644653, -0.24276867508888245, -0.2539219558238983, 0.005438362248241901, -0.32492175698280334, -0.23196721076965332, -0.6438063383102417, -0.41571909189224243, -0.453289657831192, 0.2351403683423996, 0.5393450260162354, 0.20160242915153503, 0.1934056431055069, 0.7006760835647583, -0.6112494468688965, 0.35472923517227173, 0.0945945456624031, 0.7203823328018188, -0.29660698771476746, -1.0394753217697144, -0.25227469205856323, 0.06102024391293526, -0.1989385038614273, -0.41838860511779785, -0.011671376414597034, 0.7952932119369507, 0.7130630612373352, 0.23695774376392365, 0.4840039312839508, 0.9748013019561768, -0.6767269968986511, 0.3822186291217804, -0.20868198573589325, -0.8620157241821289, 0.37738126516342163, -0.5213889479637146, 0.46025538444519043, 1.1918988227844238, 0.286055326461792, -0.143023282289505, 0.00004586248905980028, -0.2027030736207962, -0.5785394906997681, 0.7482997179031372, 0.055355004966259, 0.327686071395874, 0.3711828589439392, 0.6847440600395203, 0.2705826759338379, 0.12319251149892807, -0.18791358172893524, -0.22870466113090515, -0.08685752749443054, -0.335464745759964, -0.19320717453956604, -0.0698571428656578, 0.15907597541809082, -0.5565017461776733, 0.5333558320999146, -0.6459439992904663, 0.101445272564888, -0.17054228484630585, -0.46009865403175354, 0.044319286942481995, 0.3959805965423584, 0.48311907052993774, 0.7648884654045105, -0.17292705178260803, -0.0823650136590004, 0.6221392154693604, -0.3136252462863922, 0.11744868010282516, 0.4391429126262665, -0.054296329617500305, -0.1896076202392578, 0.07635728269815445, 1.1574779748916626, 0.5209245085716248, -0.5389461517333984, 0.3495645225048065, -0.09851773828268051, -0.2626780569553375, 0.3773973286151886, 0.4246465563774109, 0.05247848480939865, 0.23976409435272217, 0.08925890922546387, 0.29928699135780334, 0.22811752557754517, -0.15257835388183594, 0.31333836913108826, 0.32274219393730164, -0.46551501750946045, -0.631122350692749, 0.5726410746574402, 0.31621453166007996, -0.22162561118602753, 0.3223133683204651, 0.1952909678220749, -0.11513856053352356, 0.21622821688652039, 0.7108535170555115, 0.7254088521003723, -0.537408173084259, -0.034873563796281815, 0.20100414752960205, 0.03632809966802597, -0.04299191012978554, 0.15680499374866486, -0.19659797847270966, -0.8043031692504883, -0.35020631551742554, -0.5275052189826965, -0.19954527914524078, 0.051479969173669815, -0.8002356290817261, 0.25972893834114075, -0.4780255854129791, 0.11432008445262909, 0.1230226680636406, -0.1675877869129181, -0.6727796196937561, 0.04225465655326843, -0.1931251585483551, 1.1688041687011719, -0.8741841316223145, 0.8621538281440735, 1.0576127767562866, 0.037612464278936386, -0.6361932158470154, 0.0786793977022171, -0.25160497426986694, -0.9295098185539246, 0.06345339864492416, -0.045476339757442474, -0.1571837067604065, 0.44532135128974915, -0.02960406430065632, -0.9118487238883972, 0.9390929937362671, 0.8181949257850647, -0.6649076342582703, -0.07983001321554184, 0.12229617685079575, 0.5861340761184692, -0.2895009219646454, 0.2122788280248642, 0.9604381322860718, 0.37876182794570923, 0.025657104328274727, -1.1369940042495728, 0.19685086607933044, -0.387668639421463, 0.2352280467748642, 0.23158328235149384, -0.5584294199943542, 0.5325367450714111, -0.09238626807928085, 0.0440523661673069, 0.06889933347702026, 0.6208484172821045, -0.0078033022582530975, -0.09281730651855469, 0.6042382121086121, 0.14246417582035065, 0.8907692432403564, 0.18721406161785126, 0.5008119940757751, -0.6632623076438904, 0.308609277009964, 1.1704771518707275, -0.1369321048259735, 0.9587128162384033, 0.5104774236679077, -0.09405867010354996, 0.333650678396225, 0.3076971173286438, 0.009116016328334808, 0.7849965691566467, 0.2465202361345291, -0.009361366741359234, -0.42608100175857544, -0.0007944433600641787, -0.12263471633195877, 0.568199634552002, 0.09608767181634903, -0.07655952125787735, -0.391561895608902, 0.1647467315196991, -0.08023640513420105, 0.17509914934635162, -0.2106267213821411, 1.0968940258026123, -0.21268931031227112, -0.6916998028755188, 0.7577893733978271, -0.14386595785617828, 0.5385399460792542, -0.38733378052711487, 0.17151428759098053, -0.15798646211624146, 0.5703776478767395, 0.0717950388789177, -0.5725904703140259, 0.11649345606565475, -0.09237246960401535, -0.34558895230293274, -0.23948808014392853, 0.7993351221084595, -0.4023236036300659, -0.44997140765190125, 0.12445726990699768, 0.48826366662979126, -0.08598917722702026, -0.21767573058605194, -0.8033480048179626, -0.00894754659384489, 0.07430907338857651, -0.25062817335128784, 0.5156959891319275, 0.47548988461494446, -0.03577558696269989, 0.6587551832199097, 0.5239937901496887, 0.05728116258978844, 0.04182702675461769, 0.020184028893709183, 1.182771921157837, -0.38230082392692566, -0.5309731364250183, -0.6892140507698059, 0.6336907148361206, 0.14224399626255035, -0.5639995336532593, 0.6101396083831787, 0.5613747835159302, 0.7193054556846619, -0.12124548107385635, 0.830233097076416, 0.10625279694795609, 0.6905825734138489, -0.47609689831733704, 0.7351322174072266, -0.4275793433189392, 0.2212333232164383, -0.3438066244125366, -0.8758717775344849, -0.34847748279571533, 0.518268346786499, -0.18532390892505646, 0.11295823007822037, 0.47082236409187317, 0.8173782229423523, -0.45051485300064087, -0.05590226128697395, 0.2431231141090393, 0.05037360265851021, 0.24824729561805725, 0.4550419747829437, 0.32386142015457153, -0.5197739601135254, 0.49847111105918884, -0.23131069540977478, -0.3862190544605255, -0.18775252997875214, -1.0033286809921265, -1.0651460886001587, -0.6698169112205505, -0.48928067088127136, 0.17822450399398804, 0.4248403012752533, 0.8291826844215393, 0.8914461135864258, -1.066740870475769, -0.1459975391626358, -0.16629359126091003, -0.3402942419052124, -0.25652405619621277, -0.12210193276405334, 0.5022901296615601, -0.5383027791976929, -0.5078420639038086, 0.5118833780288696, 0.1188899502158165, -0.27505502104759216, 0.3756478726863861, -0.02602803148329258, 0.11806897073984146, 0.09585406631231308, 0.4446031153202057, 0.3796493113040924, -0.5354366302490234, -0.33790990710258484, 0.08682497590780258, 0.37651515007019043, 0.18142932653427124, 0.7811732292175293, -0.7065368294715881, 0.4690554440021515, 0.5026147365570068, 0.984521210193634, 0.29208189249038696, 0.20950578153133392, 0.7694573402404785, -0.575773298740387, 0.08260173350572586, 0.04252951592206955, 0.16396711766719818, 0.200107142329216, -0.08646289259195328, 0.12187254428863525, -0.1427197903394699, -0.5832892060279846, -0.7805151343345642, 0.07219522446393967, -0.9130346775054932, -0.37267404794692993, 0.8825931549072266, -0.17542240023612976, -0.016494639217853546, -0.2874335050582886, -0.3382677435874939, 0.18885351717472076, -0.43458113074302673, 0.6172547340393066, 0.3706643283367157, -0.36923304200172424, -0.39428621530532837, -0.3064568042755127, 0.5944885015487671, 0.5209360718727112, -0.8293291926383972, 0.5440909266471863, 0.1490022838115692, 0.6110044717788696, -0.24409668147563934, 0.4701346158981323, 0.2658497989177704, 0.38895851373672485, -0.18866907060146332, -0.1734752655029297, -0.2665206491947174, -0.2839256823062897, -0.4030129611492157, 0.0021400656551122665, 0.5225793123245239, -0.41484683752059937 ]
http://arxiv.org/abs/2405.06704v1
http://arxiv.org/pdf/2405.06704v1
Enhanced Review Detection and Recognition: A Platform-Agnostic Approach with Application to Online Commerce
2024-05-09T00:32:22
2024-05-09T00:32:22
Priyabrata Karmakar, John Hawkins
cs.CL
cs.CL, cs.AI
Online commerce relies heavily on user generated reviews to provide unbiased information about products that they have not physically seen. The importance of reviews has attracted multiple exploitative online behaviours and requires methods for monitoring and detecting reviews. We present a machine learning methodology for review detection and extraction, and demonstrate that it generalises for use across websites that were not contained in the training data. This method promises to drive applications for automatic detection and evaluation of reviews, regardless of their source. Furthermore, we showcase the versatility of our method by implementing and discussing three key applications for analysing reviews: Sentiment Inconsistency Analysis, which detects and filters out unreliable reviews based on inconsistencies between ratings and comments; Multi-language support, enabling the extraction and translation of reviews from various languages without relying on HTML scraping; and Fake review detection, achieved by integrating a trained NLP model to identify and distinguish between genuine and fake reviews.
[ -0.47519543766975403, -0.6995970010757446, 0.19950321316719055, 0.4917149245738983, -0.3283619284629822, 0.18269827961921692, 0.1734764128923416, -1.0897586345672607, 0.5298823714256287, 0.5547757148742676, -0.5779570937156677, -0.45794710516929626, -0.42918655276298523, 0.22129419445991516, -0.36675015091896057, 0.9809381365776062, -0.04223660007119179, 0.3721848726272583, -0.17272713780403137, -0.34629249572753906, -0.12052604556083679, -0.8070012331008911, -0.5211971402168274, -0.21151018142700195, 0.15536369383335114, 0.09116683900356293, 0.4413328170776367, -0.08379390835762024, 0.6264552474021912, 0.27196788787841797, 0.15606091916561127, 0.7684966921806335, -0.06108831241726875, -0.004139207303524017, -0.028349922969937325, -0.3706492781639099, -0.5605887174606323, 0.18179573118686676, 0.1578746885061264, 0.3080742657184601, 0.03478395938873291, 0.293228417634964, 0.1971595734357834, 0.77933669090271, -0.7996763586997986, 0.17939040064811707, -0.5345137119293213, 0.5390732884407043, 0.2816052734851837, -0.37454473972320557, -0.3291219472885132, -0.477561354637146, -0.1973801702260971, -0.442340612411499, 0.23222953081130981, -0.1706668585538864, 0.8094905018806458, 0.07517456263303757, -0.2822561264038086, -0.8515366911888123, -0.8791214823722839, 0.7043257355690002, -0.3752373456954956, 0.48581358790397644, 0.19387051463127136, 0.4481021761894226, 0.08395813405513763, -0.6690545082092285, -0.6600632071495056, -0.135429248213768, -0.24240820109844208, 0.4261142909526825, -0.4143717288970947, -0.19815434515476227, 0.14888177812099457, 0.541060745716095, -0.3684573769569397, -0.0031486612278968096, -0.12876011431217194, -0.44185423851013184, 0.667203426361084, 0.046511225402355194, 0.12797124683856964, -0.19145110249519348, -0.5310547947883606, -0.13711920380592346, -0.4811340868473053, 0.32110795378685, 0.7410826683044434, 0.1359826773405075, 0.12435808032751083, 0.3658483028411865, -0.31065019965171814, 0.4324437975883484, 0.3282637596130371, 0.05619826912879944, 0.6305704116821289, -0.18409126996994019, -0.34045860171318054, -0.06680060923099518, 0.9089018702507019, 0.35385942459106445, -0.07221568375825882, 0.3365675210952759, -0.6160065531730652, 0.4904056489467621, 0.3304879367351532, -0.47589969635009766, -0.24404865503311157, 0.25445014238357544, -0.8655558228492737, -0.7053600549697876, 0.5584642291069031, -0.8284400701522827, -0.4740539789199829, -0.25773584842681885, 0.43557536602020264, 0.2750258445739746, -0.4550832211971283, 0.09808841347694397, -0.29255640506744385, 0.15511049330234528, 0.2906683385372162, -0.34480252861976624, 0.32671433687210083, 0.6111630797386169, 0.46060487627983093, -0.16505920886993408, -0.0960247591137886, -0.570209801197052, -0.25102755427360535, -0.3557114899158478, 1.0104711055755615, -0.4543222486972809, -0.25355324149131775, 0.10878116637468338, 0.3030504584312439, 0.21778513491153717, -0.6685877442359924, 0.5267488360404968, -0.8633335828781128, 0.1594802588224411, 0.10279140621423721, -0.52901691198349, -0.46628886461257935, 0.7762009501457214, -0.9385283589363098, 0.8744555711746216, 0.01182719599455595, -0.6583937406539917, 0.5682386755943298, -0.7548019289970398, -0.48493272066116333, -0.05795002356171608, 0.19959188997745514, -0.9232040047645569, 0.30863744020462036, 0.6032876968383789, 0.4246770143508911, 0.270792692899704, -0.3162453770637512, -0.6269665956497192, -0.17386652529239655, 0.4867689609527588, -0.34861505031585693, 1.0336614847183228, 0.4636671543121338, -0.4111214578151703, 0.26058098673820496, -0.598915159702301, 0.1520821899175644, 0.07727225869894028, -0.2734636068344116, 0.07497453689575195, -0.1487073004245758, 0.48688849806785583, 0.15941347181797028, 0.15587107837200165, -0.5114551186561584, 0.32811474800109863, -0.38429877161979675, 0.39062660932540894, 0.4741486608982086, 0.49331316351890564, -0.01314492430537939, -0.051788829267024994, 0.6633129715919495, 0.07506902515888214, 0.4281471371650696, -0.0642085075378418, -0.5322437286376953, -0.7857121825218201, -0.054684773087501526, 0.5714995265007019, 0.7492839694023132, -0.6854237914085388, 0.6664261221885681, 0.06762077659368515, -0.262703537940979, -0.4994390308856964, 0.4503459930419922, 0.17062488198280334, -0.00833731796592474, 0.270353227853775, -0.7152740955352783, -0.8438007235527039, -0.6413148045539856, -0.520976722240448, -0.3842960000038147, -0.24513819813728333, 0.04587668180465698, 0.26249194145202637, -0.7615822553634644, 0.8333927989006042, -0.21724343299865723, -0.5655410885810852, -0.33513158559799194, 0.11547244340181351, 0.021001731976866722, 0.17694754898548126, 0.2804252505302429, -0.9493071436882019, -0.5799277424812317, 0.23693637549877167, -0.9014163017272949, -0.2591560482978821, -0.17650213837623596, 0.11072967201471329, 0.3405054211616516, 0.31774765253067017, -0.3339654207229614, 0.41195082664489746, 0.38731616735458374, 0.13164447247982025, 0.45711517333984375, -0.10570482909679413, 0.31333398818969727, -0.7487858533859253, -0.1272542029619217, 0.24541592597961426, -0.4978444576263428, -0.38721954822540283, 0.018341507762670517, 0.26491478085517883, -0.1379987895488739, -0.42149558663368225, 0.22333456575870514, -0.38313567638397217, -0.32182660698890686, -0.5524668097496033, 0.004124052822589874, 0.46984320878982544, 0.4023934006690979, 0.3397761881351471, 0.23928511142730713, 0.09573399275541306, -0.6006218194961548, 0.6128961443901062, 0.21136878430843353, -0.4711524546146393, 0.6436729431152344, -0.2505347430706024, 0.2891329824924469, 0.10868825018405914, 0.3397703170776367, -0.8193851709365845, -0.22128939628601074, 0.553905189037323, -0.8883034586906433, 0.15744510293006897, -0.13110847771167755, -0.6333665251731873, -0.5945801138877869, -0.47224584221839905, -0.13634714484214783, 0.3477672338485718, -0.9530001282691956, 0.6940585374832153, 0.8035785555839539, 0.09783734381198883, -0.40737384557724, -0.46267884969711304, 0.05409378185868263, -0.13792362809181213, -0.2344149500131607, -0.03139485418796539, 0.21869312226772308, -0.39618372917175293, -0.08732569962739944, -0.02151014655828476, -0.23031163215637207, 0.0874171033501625, 0.09408601373434067, 0.2170519381761551, -0.009036066010594368, 0.08773639798164368, -0.006290097255259752, -0.26154574751853943, 0.21772421896457672, -0.2766268849372864, 0.2588546574115753, -0.2537806034088135, -0.497537761926651, -0.7100642919540405, 0.2417428195476532, 0.4750975966453552, -0.19722558557987213, -0.061783671379089355, 0.7409868240356445, -0.40625083446502686, -0.4590316712856293, -0.5937815308570862, -0.26884204149246216, -0.48980024456977844, 0.3094719350337982, -0.1019076555967331, -0.4714531898498535, 0.19936580955982208, -0.0007226472953334451, -0.14984919130802155, 0.6166322827339172, 0.578135073184967, -0.14183710515499115, 1.46836256980896, 0.9208254814147949, -0.25180143117904663, 0.3300134837627411, 0.15723411738872528, 0.5647072196006775, -0.457474946975708, -0.2938559949398041, -0.3442210555076599, -0.3122745156288147, -0.6713376045227051, -0.15233463048934937, 0.12061483412981033, 0.2391703873872757, 0.2073224037885666, 0.28141680359840393, -0.7651339769363403, 0.4705001413822174, 0.5163782238960266, 0.32062968611717224, 0.43471407890319824, 0.44796645641326904, 0.04226471111178398, 0.07822614163160324, -0.43432649970054626, -0.49384576082229614, 1.1357836723327637, 0.5046160221099854, 0.37251609563827515, -0.2760547399520874, 0.17096181213855743, 0.8387517333030701, 0.6261118054389954, -0.8870696425437927, 0.37716054916381836, -0.0005812984891235828, -0.4381887912750244, 0.2569904029369354, -0.2874086797237396, -0.5948444604873657, 0.0823695957660675, -0.3683255612850189, -0.25104570388793945, 0.16871093213558197, 0.181757852435112, -0.2663106918334961, 0.5036620497703552, -0.6616526246070862, 0.5656368136405945, -0.6764917969703674, -0.35658299922943115, -0.3726804554462433, -0.38513505458831787, 0.1761585921049118, 0.04817166551947594, 0.2490411251783371, 0.2632817029953003, 0.2282654345035553, 0.48651251196861267, -0.21287284791469574, 0.8442553877830505, -0.2631406784057617, 0.1519743800163269, 0.592142641544342, 0.17216593027114868, 0.47527074813842773, -0.0006014920654706657, 0.3999948799610138, 0.4756664037704468, -0.2449202537536621, -0.24056531488895416, -0.3242005407810211, 0.5307138562202454, -0.7345348596572876, -0.0761604830622673, -0.438602477312088, -0.04186753183603287, -0.44574999809265137, -0.056855473667383194, -0.02425277791917324, 0.014284315519034863, -0.05517890304327011, 0.016405805945396423, 0.4863334000110626, -0.22216689586639404, 0.33330008387565613, 0.6124752163887024, -0.4969898462295532, -0.7955135107040405, 1.0690453052520752, -0.3276558518409729, -0.18625226616859436, 0.3635985851287842, 0.30492156744003296, -0.5267789363861084, -0.3918827772140503, -0.6962461471557617, -0.11495232582092285, -0.8832966685295105, -0.25621622800827026, -0.8685046434402466, -0.1268283575773239, -0.26597458124160767, 0.1571306586265564, -0.18321579694747925, -0.4576049745082855, -0.14473514258861542, -0.2858637869358063, 0.20846329629421234, 1.1628466844558716, -0.24687132239341736, 0.1148448958992958, -0.8842122554779053, 0.34598028659820557, 0.44575345516204834, 0.38108980655670166, 0.15016311407089233, 0.007478949148207903, -0.18932534754276276, -0.10108072310686111, -0.63071608543396, -0.8068543672561646, 0.6352054476737976, 0.003458937630057335, 0.5199640393257141, 0.8814011812210083, -0.23524804413318634, 0.45784634351730347, 0.07117109000682831, 0.7841954827308655, 0.2809581756591797, -0.8714997172355652, 0.5428719520568848, -0.09792568534612656, -0.0762711614370346, 0.33425748348236084, 0.7325146794319153, -0.3104473650455475, -0.05086437612771988, -0.4246991276741028, -0.5774931311607361, 0.32729560136795044, -0.1394120156764984, -0.02766631916165352, 0.22653831541538239, 0.14387479424476624, 0.4835883677005768, 0.5258810520172119, -1.0783579349517822, 0.15938624739646912, -0.318947970867157, 0.05532056465744972, 0.0542694628238678, -0.281532347202301, 0.0864739716053009, -0.10897290706634521, 0.8427917957305908, -0.06798556447029114, 0.1928144097328186, 0.12549565732479095, -0.4405347406864166, -0.150766983628273, -0.0025901389308273792, 0.17383693158626556, 0.45673495531082153, 0.01856880448758602, -0.15823526680469513, 0.03527684509754181, -0.483162522315979, -0.21803447604179382, -0.08913832902908325, -0.3274224102497101, 0.13061995804309845, 0.16808149218559265, 0.2636107802391052, -0.2162582278251648, -0.5073762536048889, 0.5794891119003296, -0.14972755312919617, -0.14403465390205383, -0.5053316950798035, -0.35309699177742004, -0.39209938049316406, 0.12393507361412048, 0.16690707206726074, 0.5337340235710144, 0.5557310581207275, -0.6067955493927002, 0.41867345571517944, 0.6763256192207336, -0.8569673299789429, -0.40230345726013184, 0.3035986125469208, 0.28407028317451477, -0.377536416053772, 0.4456064999103546, -0.28561967611312866, -0.9411877393722534, 0.49377813935279846, 0.3090830147266388, 1.2264889478683472, -0.1887662708759308, 0.1776576042175293, 0.2697863280773163, 0.3783363997936249, 0.11950889974832535, 0.25166603922843933, -0.4117349684238434, -0.75737464427948, -0.14739346504211426, -0.6870465874671936, -0.7623515129089355, 0.24408528208732605, -0.7034955024719238, 0.6224610209465027, -0.5835075974464417, -0.09862412512302399, 0.01753361150622368, 0.036043208092451096, -0.5145269632339478, 0.24898862838745117, 0.3923076391220093, 0.46393585205078125, -0.9944454431533813, 0.4465430676937103, 0.4163688123226166, -0.41006192564964294, -0.21921409666538239, -0.012408219277858734, 0.14016121625900269, -0.47560957074165344, 0.5073564052581787, 0.7870258688926697, -0.4760000705718994, -0.5246326923370361, -0.3040733337402344, 0.017560498788952827, 0.34761425852775574, -0.16784697771072388, -0.494444340467453, 0.7128921151161194, 0.2227392941713333, 0.7850080132484436, -0.4652774930000305, 0.5764057636260986, 0.4065256118774414, 0.25966572761535645, -0.26294898986816406, -0.67966628074646, -0.35651129484176636, -0.636580228805542, -0.48850783705711365, -0.009674864821135998, -0.3742296099662781, 0.6146042943000793, 0.33928561210632324, -0.20501551032066345, -0.16770866513252258, 0.1824617087841034, 0.17815999686717987, 0.6553661227226257, 0.6061067581176758, 0.5543925166130066, 0.7532271146774292, 0.029273511841893196, 0.8919393420219421, -0.32315945625305176, 0.4128905236721039, 0.7601238489151001, -0.5881286263465881, 1.0408495664596558, 0.2605739235877991, -0.2773916721343994, 0.6086288094520569, 0.8733545541763306, -0.26327621936798096, 0.33352455496788025, 0.05661595240235329, -0.3074008822441101, -0.2801237106323242, 0.1365939825773239, -0.33472707867622375, 0.27489233016967773, 0.5630514025688171, -0.49024033546447754, -0.0736468955874443, -0.030773961916565895, -0.4377666711807251, 0.01740795373916626, -0.7709968090057373, 1.0857467651367188, -0.013197304680943489, -0.610343873500824, 0.32523438334465027, 0.13534080982208252, 0.7629325985908508, -0.5329720973968506, -0.348604291677475, 0.06107723340392113, 0.6447410583496094, -0.5254165530204773, -0.5711662173271179, 0.45071983337402344, 0.04701869562268257, -0.17352035641670227, -0.5679017901420593, 1.13650643825531, 0.13869623839855194, -0.8368591666221619, 0.5920524001121521, 0.6447274684906006, 0.06474801152944565, -0.20087780058383942, -0.8787201046943665, -0.08824290335178375, 0.07612190395593643, -0.17679333686828613, 0.2147321254014969, 0.24859610199928284, -0.12939007580280304, 0.35742881894111633, 0.9911597967147827, -0.06557409465312958, -0.09613420069217682, 0.07731850445270538, 0.6625660061836243, -0.45299044251441956, -1.1312899589538574, -0.7402880191802979, 0.24902629852294922, -0.49557772278785706, -0.07804077118635178, 1.0402164459228516, 0.826296329498291, 1.0119547843933105, -0.351375550031662, 0.9786818623542786, 0.40809908509254456, 0.7784472703933716, -0.32381144165992737, 0.7262709140777588, -0.3377598524093628, 0.507291316986084, -0.06679736077785492, -1.0813241004943848, -0.5807615518569946, 0.8102834224700928, -0.2772020399570465, -0.15912503004074097, 0.5877222418785095, 0.7408948540687561, -0.21210741996765137, 0.4973367154598236, 0.16170740127563477, -0.013450405560433865, 0.10646702349185944, 0.13433663547039032, 1.0573711395263672, -0.4837626516819, 0.5625777840614319, -0.19233861565589905, -0.10168320685625076, -0.4070390462875366, -0.7549320459365845, -0.9418107867240906, -0.05467113107442856, -0.4354151487350464, -0.8119503259658813, -0.21156136691570282, 0.9009156823158264, 0.6501159071922302, -1.4035439491271973, -0.36994484066963196, -0.20493298768997192, 0.1187603697180748, -0.6528896689414978, -0.2054917961359024, 0.19695943593978882, -0.2720898687839508, -0.5523596405982971, 0.34628814458847046, 0.4124741554260254, -0.17560537159442902, -0.5622422099113464, 0.08190061897039413, 0.18654555082321167, 0.012668090872466564, 0.693043053150177, 0.29789066314697266, -0.6285148859024048, -0.044022515416145325, 0.0012366380542516708, 0.34275883436203003, 0.31716975569725037, 0.9455244541168213, -0.8926347494125366, 0.7535406947135925, 0.603942334651947, 0.6888772249221802, 0.531187117099762, -0.06794615089893341, 0.30273520946502686, -0.5999387502670288, 0.0843174159526825, 0.34189820289611816, 0.37381353974342346, 0.3912121653556824, -0.3829263150691986, 0.2052968591451645, 0.4187018573284149, -0.34528863430023193, -0.7114453911781311, 0.3580355942249298, -0.8019899129867554, -0.3174439072608948, 0.7186407446861267, -0.2513729929924011, -0.24722933769226074, -0.36183029413223267, -0.14722606539726257, -0.3203364610671997, -0.2473536729812622, 1.165139079093933, 0.5005456805229187, -0.3022245466709137, 0.14156299829483032, -0.37929362058639526, 0.3193318545818329, -0.05949896201491356, -0.9184824824333191, -0.36927980184555054, 0.4279203414916992, 0.2315574437379837, 0.34923285245895386, 0.36070600152015686, -0.31896957755088806, 0.5503897070884705, -0.12823444604873657, 0.12201713025569916, 0.001798860146664083, -0.18695230782032013, -0.7618644833564758, 0.6993287205696106, -0.32022494077682495, -0.24377000331878662 ]
http://arxiv.org/abs/2405.05478v1
http://arxiv.org/pdf/2405.05478v1
Using Machine Translation to Augment Multilingual Classification
2024-05-09T00:31:59
2024-05-09T00:31:59
Adam King
cs.CL
cs.CL
An all-too-present bottleneck for text classification model development is the need to annotate training data and this need is multiplied for multilingual classifiers. Fortunately, contemporary machine translation models are both easily accessible and have dependable translation quality, making it possible to translate labeled training data from one language into another. Here, we explore the effects of using machine translation to fine-tune a multilingual model for a classification task across multiple languages. We also investigate the benefits of using a novel technique, originally proposed in the field of image captioning, to account for potential negative effects of tuning models on translated data. We show that translated data are of sufficient quality to tune multilingual classifiers and that this novel loss technique is able to offer some improvement over models tuned without it.
[ -0.33219489455223083, -0.3545396625995636, 0.07510410249233246, 0.08329559117555618, -0.3028225600719452, -0.03392188251018524, -0.34681591391563416, -0.6942583918571472, -0.2066287100315094, 0.5698139667510986, -0.23090790212154388, -0.22851023077964783, -0.7214916944503784, 0.2788637578487396, -0.3533083498477936, 1.2796447277069092, -0.23993872106075287, 0.41859257221221924, -0.1465791016817093, -0.3474055826663971, -0.7763763666152954, -0.853922963142395, -0.5199832916259766, -0.5281320810317993, 0.6757988929748535, 0.40630581974983215, 0.7844653725624084, 0.6003926396369934, 0.6780639886856079, 0.3163643181324005, 0.25550729036331177, 0.6465370059013367, -0.26246464252471924, -0.03784212842583656, -0.017936207354068756, -0.901847243309021, -0.15496283769607544, 0.17536453902721405, 0.7792608141899109, 0.7093294858932495, 0.16373921930789948, 0.09754962474107742, 0.10864036530256271, 0.5546239018440247, -0.4744449555873871, 0.2606619894504547, -0.5567168593406677, 0.24896197021007538, -0.16671448945999146, -0.478326678276062, -0.6701865792274475, -0.09215352684259415, -0.02216024324297905, -0.4642897844314575, 0.4590323865413666, 0.07024477422237396, 0.9607999324798584, 0.486681193113327, -0.5800986289978027, -0.1318579912185669, -0.7148186564445496, 0.7528315782546997, -0.3898715376853943, 0.5483983159065247, 0.36947593092918396, 0.426113098859787, 0.3868168294429779, -0.38354000449180603, -0.3034728765487671, -0.024905482307076454, -0.33055028319358826, 0.06957302242517471, 0.1827530860900879, -0.16055777668952942, 0.05662883073091507, 0.5116176009178162, -0.23528407514095306, 0.34405604004859924, -0.4779976010322571, -0.4184054136276245, 0.6596944332122803, 0.026863684877753258, 0.4523635506629944, 0.07995019853115082, -0.15714070200920105, -0.24304306507110596, -0.4974557161331177, -0.004001510329544544, 0.4303397238254547, 0.7105799317359924, 0.033570896834135056, 0.571873664855957, 0.06636644899845123, 0.873731791973114, -0.31505274772644043, -0.26231247186660767, 0.27815893292427063, -0.36231598258018494, -0.05735825002193451, 0.239798441529274, 0.5315910577774048, 0.5551093220710754, 0.30137622356414795, -0.27615034580230713, -0.1462160050868988, 0.0764111801981926, 0.21324409544467926, -0.7877439260482788, -0.31244921684265137, -0.29094982147216797, -0.3866581916809082, -0.3035374879837036, 0.08315415680408478, -0.2857050895690918, -0.27075374126434326, -0.5128267407417297, 0.34508582949638367, -0.08188366144895554, -0.10161784291267395, 0.24695029854774475, -0.2921980917453766, -0.12432835251092911, 0.41050973534584045, -0.8653568625450134, -0.113717220723629, 0.34182754158973694, 0.9114773869514465, -0.06261546164751053, -0.41760775446891785, -0.594805121421814, 0.03049870952963829, -0.650574803352356, 0.6463301181793213, -0.4206971824169159, -0.06481868773698807, -0.03566652536392212, 0.34398797154426575, -0.20542246103286743, -0.3025154769420624, 0.5670445561408997, -0.48792344331741333, 0.34044158458709717, 0.16771440207958221, -0.40184661746025085, -0.5102460980415344, 0.40717750787734985, -0.7255092859268188, 0.663475751876831, -0.07086833566427231, -0.5798069834709167, 0.46860411763191223, -0.43489113450050354, -0.8174991011619568, 0.027778416872024536, 0.3102160692214966, -0.618059515953064, 0.2386479675769806, 0.3092343509197235, 0.7966675162315369, -0.07970032095909119, -0.030972154811024666, -0.20237572491168976, -0.16268180310726166, 0.33131662011146545, -0.5180612206459045, 0.5013508200645447, 0.35079503059387207, 0.13116459548473358, -0.20253601670265198, -0.5076578855514526, 0.017976908013224602, -0.14058206975460052, -0.6877506971359253, -0.5651978850364685, -0.0939946100115776, 0.42022621631622314, 0.3112890422344208, 0.1000906303524971, -0.3532324731349945, 0.236354261636734, -0.4208923280239105, 0.4407036304473877, 0.207557812333107, -0.12707923352718353, 0.5141345262527466, -0.41496697068214417, 0.5822086334228516, -0.08133748173713684, -0.1071663647890091, -0.5505409836769104, -0.5710687041282654, -0.7607885003089905, -0.2770654857158661, 0.6415936350822449, 0.8106289505958557, -0.9217402338981628, 0.0692400112748146, -0.34892141819000244, -0.5226894021034241, -1.1028071641921997, 0.3380163609981537, 0.4064996540546417, 0.36285021901130676, 0.47102922201156616, -0.13755320012569427, -0.39876940846443176, -0.8170055747032166, -0.3466476500034332, 0.2345334142446518, 0.1361536979675293, 0.20265136659145355, 0.20108503103256226, -0.46334370970726013, 0.13559642434120178, -0.287509948015213, -0.4817006289958954, -0.2632414698600769, 0.13863088190555573, -0.0602417029440403, 0.6617373824119568, 0.47707685828208923, -1.0142956972122192, -0.664797306060791, 0.6885042190551758, -0.6654196381568909, -0.04688357934355736, -0.46922096610069275, -0.2057332843542099, 0.3811241090297699, 0.42142266035079956, -0.3441583514213562, 0.15069571137428284, 0.5123620629310608, -0.0205781701952219, 0.29455652832984924, -0.37071919441223145, 0.5072258114814758, -1.0185036659240723, -0.04600170999765396, -0.013111266307532787, -0.3963979482650757, -0.801584780216217, 0.2774316668510437, 0.4693167805671692, -0.13919849693775177, -0.48763278126716614, 0.43325164914131165, -0.2656727731227875, 0.2315933257341385, -0.48001405596733093, 0.000582353794015944, 0.29373598098754883, 0.008121740072965622, 0.15592201054096222, 0.6738142371177673, 0.4753982722759247, -0.8029346466064453, 0.17411133646965027, 0.4441165626049042, -0.20665507018566132, 0.6696738004684448, -0.13482201099395752, -0.13536517322063446, -0.3513627052307129, -0.04466792196035385, -0.6858440637588501, -0.4111369252204895, 0.20596256852149963, -0.6167075037956238, 0.8760761022567749, -0.311016708612442, -0.5750794410705566, -0.342123806476593, -0.004399425815790892, 0.18206016719341278, 0.12210860103368759, -0.7765255570411682, 0.2945365905761719, 0.23313653469085693, 0.01035880483686924, -0.46511363983154297, -1.0672048330307007, 0.2828408479690552, -0.5886538624763489, -0.303529292345047, 0.386862188577652, 0.012952548451721668, 0.1712818741798401, -0.23259949684143066, 0.0676124319434166, -0.20563265681266785, 0.32891330122947693, -0.09720806777477264, 0.22554370760917664, -0.00899629108607769, 0.7276074290275574, 0.38603487610816956, -0.2430129051208496, -0.2902575433254242, -0.5174062848091125, 0.26844626665115356, 0.01759348064661026, -0.12815973162651062, -0.5459590554237366, 0.4883725941181183, 0.5873473882675171, -0.5956798195838928, 0.7461755871772766, 0.863457977771759, -0.32723772525787354, -0.14920882880687714, -0.4191586375236511, 0.005679218098521233, -0.3994479477405548, 0.4899820387363434, -0.619992196559906, -0.6823063492774963, 0.2963693141937256, -0.12434149533510208, -0.01252954825758934, 0.6263126730918884, 0.385832279920578, -0.34132853150367737, 1.4335922002792358, 0.9882094264030457, -0.1972074657678604, 0.5951943397521973, -0.11581094563007355, 0.0486079677939415, -0.5693625211715698, -0.11191387474536896, -0.8125964403152466, -0.263360857963562, -0.779072105884552, -0.24686585366725922, 0.3595913052558899, 0.289350301027298, 0.09708953648805618, 0.4346846640110016, -0.6936258673667908, 0.5224131941795349, 0.6477430462837219, 0.24097438156604767, 0.3633880317211151, 0.18515799939632416, 0.22224891185760498, -0.18128202855587006, -0.8817013502120972, -0.6673339605331421, 1.018580675125122, 0.24441011250019073, 0.6623058915138245, -0.02003244310617447, 0.4719368517398834, 0.13793878257274628, 0.591266393661499, -0.8086658120155334, -0.1796305924654007, -0.594262421131134, -0.6474461555480957, -0.20831146836280823, -0.5999893546104431, -0.8747560977935791, 0.4395143687725067, -0.3389022648334503, -0.16395053267478943, -0.12024430185556412, 0.39696213603019714, 0.07593205571174622, 0.3123014271259308, -0.8359062075614929, 1.097888469696045, -0.6916501522064209, -0.01003291830420494, -0.215288907289505, -0.5529731512069702, 0.3428230285644531, -0.4623222053050995, 0.3593783676624298, 0.03519668057560921, -0.021172238513827324, 0.5291032195091248, -0.208200603723526, 0.7077968120574951, -0.10837996751070023, -0.1540074646472931, 0.023274777457118034, -0.1509452611207962, 0.2857026159763336, -0.07448116689920425, -0.0864073783159256, 0.318164587020874, 0.1309589147567749, -0.36402514576911926, -0.5482743978500366, 0.4692029356956482, -0.760861873626709, -0.18877814710140228, -0.07535296678543091, -0.7237831950187683, -0.03291359916329384, 0.32105159759521484, 0.3939483165740967, 0.20086780190467834, 0.3384423553943634, 0.11063296347856522, 0.43284347653388977, -0.4241170287132263, 0.2085951268672943, 0.5107598900794983, -0.09914621710777283, -0.37974071502685547, 1.2208200693130493, 0.29326871037483215, 0.3828315734863281, 0.5804222226142883, 0.2615613043308258, -0.3156777024269104, -0.5165278911590576, -0.9816774129867554, 0.012080725282430649, -0.8693798780441284, -0.5352615118026733, -0.47772759199142456, 0.024171676486730576, -0.15336063504219055, -0.03364047035574913, -0.21730096638202667, -0.5826799273490906, -0.4011845588684082, -0.1266370713710785, 0.2567419409751892, 0.39143407344818115, 0.023044800385832787, 0.4750557839870453, -1.041703462600708, 0.11687114089727402, -0.07138832658529282, 0.35214516520500183, -0.3431522846221924, -0.5801515579223633, -0.6766074299812317, 0.13504944741725922, -0.38891664147377014, -0.7335988879203796, 0.5588602423667908, 0.693940281867981, 0.6132885217666626, 0.2994610667228699, 0.007347327657043934, 0.7989122271537781, -0.5993424654006958, 0.3471983075141907, 0.2212623953819275, -0.8203395009040833, 0.5795005559921265, -0.09733746945858002, 0.4503001868724823, 0.49684908986091614, 0.5678927302360535, -0.8492022752761841, -0.44695591926574707, -0.06218309327960014, -0.4707581102848053, 0.6491861343383789, -0.189039409160614, 0.4828411042690277, 0.13759079575538635, 0.3807034194469452, 0.4667516350746155, 0.26314619183540344, -0.8767055869102478, -0.13729923963546753, -0.4231328070163727, -0.23301653563976288, -0.6123525500297546, 0.07524996995925903, 0.1358622908592224, -0.32671618461608887, 0.8140472173690796, -0.2554978132247925, 0.02432037703692913, -0.08165936172008514, -0.41184496879577637, -0.16963410377502441, 0.18463750183582306, 0.48140615224838257, -0.0015876108082011342, 0.26150617003440857, 0.15477870404720306, 0.19026830792427063, -0.040050480514764786, 0.22046369314193726, 0.3151269555091858, -0.4346776008605957, 0.18448449671268463, 0.33228227496147156, 0.8739672899246216, 0.07164435088634491, -0.4444046914577484, 0.10670977830886841, 0.12195636332035065, -0.1644073724746704, 0.21611171960830688, -0.07722730189561844, -0.19967149198055267, 0.015164915472269058, 0.08561775088310242, 0.4868887662887573, 0.3017272353172302, -0.3452581465244293, 0.16608011722564697, 0.31081095337867737, -0.5090811252593994, 0.008522339165210724, 0.6855400204658508, 0.12853720784187317, -0.35068896412849426, 0.5768567323684692, -0.024704793468117714, -0.7482045292854309, 0.35428351163864136, 0.6034190058708191, 0.4765506684780121, -0.4617821276187897, 0.14716728031635284, 0.4666256606578827, 0.5754354000091553, -0.3647233545780182, -0.0994194746017456, -0.011113707907497883, -0.6609727740287781, -0.7295954823493958, -0.5273317098617554, -0.2139054238796234, -0.3083633482456207, -0.6571424603462219, 0.3598995506763458, 0.22951637208461761, -0.19446805119514465, 0.1446179747581482, -0.2481599748134613, -0.6950535178184509, 0.26310834288597107, 0.3670390844345093, 0.687596321105957, -1.0031797885894775, 0.8535351157188416, 1.0294603109359741, -0.3736662268638611, -0.4035642743110657, -0.4045380651950836, -0.319324791431427, -0.4196423888206482, 0.5911914110183716, 0.6163203716278076, -0.05446872487664223, 0.0467582568526268, -0.3323037624359131, -0.7130051255226135, 0.4020102024078369, 0.3412565588951111, -0.5270325541496277, 0.3668321967124939, 0.4290369749069214, 0.6078082919120789, -0.19568568468093872, -0.24833418428897858, 0.38468465209007263, 0.5935459733009338, -0.250967800617218, -1.1177635192871094, -0.3578561544418335, -0.27054470777511597, -0.06153320521116257, 0.44216305017471313, -0.32959556579589844, 0.6589162349700928, -0.2489408254623413, -0.2852395474910736, 0.058103296905756, 0.24480009078979492, -0.5574964880943298, 0.2922009527683258, 0.20464687049388885, 0.37944531440734863, 0.8544270992279053, -0.21979965269565582, 1.0952441692352295, -0.3192020356655121, 0.32453441619873047, 1.0492559671401978, 0.19966517388820648, 0.7730926871299744, 0.27164581418037415, 0.08511147648096085, 0.02309064008295536, 0.8766714334487915, -0.21571968495845795, 0.5980989933013916, 0.11256758123636246, -0.1858275681734085, -0.46742209792137146, -0.14099927246570587, -0.2964171767234802, 0.49279531836509705, 0.37922343611717224, -0.5103606581687927, -0.091030552983284, 0.7363917827606201, -0.056634046137332916, 0.31833478808403015, -0.5132709741592407, 0.6697009801864624, -0.03300490230321884, -0.6698013544082642, 0.6800329089164734, 0.33545732498168945, 0.6361618638038635, -0.20459626615047455, 0.016913607716560364, -0.06611040234565735, 0.4603360593318939, -0.2311752736568451, -0.40344566106796265, 0.482415109872818, -0.10224942862987518, -0.26786455512046814, -0.4925345480442047, 0.5488412380218506, -0.8053105473518372, -0.9389290809631348, 0.051475271582603455, 0.3860953450202942, 0.38943248987197876, -0.21192698180675507, -0.6307264566421509, -0.18128542602062225, -0.08260370790958405, 0.2833564281463623, 0.12536019086837769, 0.44481730461120605, -0.20607762038707733, 0.8189870715141296, 0.5028231143951416, -0.06924062967300415, 0.1096687763929367, 0.06693702191114426, 0.4346255660057068, -0.33581405878067017, -0.4076744019985199, -0.8071248531341553, 0.46995848417282104, 0.08354726433753967, -0.27231860160827637, 0.9124321937561035, 0.6483015418052673, 1.2567558288574219, -0.3758886456489563, 0.8788355588912964, 0.31522440910339355, 0.5066515803337097, -0.4450906813144684, 0.8624191284179688, -0.7656015157699585, -0.0515625961124897, -0.21412569284439087, -0.6144242286682129, -0.9576174020767212, 0.6254674792289734, -0.057014789432287216, -0.183570995926857, 0.48929789662361145, 0.5649393200874329, -0.05595698207616806, -0.2865027189254761, 0.44884929060935974, -0.27349525690078735, 0.26366952061653137, 0.304919570684433, 0.8181259036064148, -0.7044366598129272, 0.8031437993049622, -0.3457010090351105, -0.0035671815276145935, -0.10054583102464676, -0.5984520316123962, -1.1367501020431519, -0.5127537250518799, -0.4914095103740692, 0.03660690411925316, -0.018547983840107918, 0.5480351448059082, 0.8886343240737915, -0.8936490416526794, 0.020435119047760963, 0.15818187594413757, 0.13361938297748566, -0.4579119086265564, -0.11547558009624481, 0.11878769844770432, -0.8972984552383423, -0.879285991191864, 0.2513887882232666, 0.00011696075671352446, 0.4394611418247223, -0.1587533801794052, -0.18189586699008942, -0.004822165239602327, -0.36922603845596313, 0.8174806833267212, 0.03124213218688965, -0.6534690260887146, -0.18610763549804688, -0.05998239666223526, -0.028623806312680244, 0.08458631485700607, 0.6631675958633423, -0.4153638780117035, 0.8389989137649536, 0.1822800189256668, 0.9169436693191528, 0.563701868057251, -0.048420071601867676, 0.6942949891090393, -0.8610210418701172, 0.13309231400489807, -0.0019006194779649377, 0.2782471477985382, 0.677715539932251, -0.377564013004303, 0.6020315885543823, 0.02652657963335514, -0.38786810636520386, -0.8921235203742981, 0.13557814061641693, -0.4801180958747864, -0.3884803056716919, 0.7037253975868225, -0.21169014275074005, 0.19470983743667603, -0.04775303974747658, -0.5962530374526978, 0.35984930396080017, 0.0601656474173069, 0.7218138575553894, 0.82429039478302, 0.2396271824836731, -0.33095425367355347, -0.8313080072402954, 0.3657779395580292, 0.2714434564113617, -0.8583865761756897, 0.005643496755510569, 0.5794995427131653, -0.07364293932914734, 0.30912819504737854, 0.031015729531645775, -0.016550827771425247, 0.3569125831127167, -0.28201621770858765, 0.23645564913749695, -0.023751655593514442, -0.5624663233757019, -0.5257292985916138, 0.005689453333616257, 0.12844473123550415, -0.3311307728290558 ]
http://arxiv.org/abs/2405.05466v2
http://arxiv.org/pdf/2405.05466v2
Poser: Unmasking Alignment Faking LLMs by Manipulating Their Internals
2024-05-08T23:44:08
2024-05-11T04:45:59
Joshua Clymer, Caden Juang, Severin Field
cs.CL
cs.CL, cs.AI
Like a criminal under investigation, Large Language Models (LLMs) might pretend to be aligned while evaluated and misbehave when they have a good opportunity. Can current interpretability methods catch these 'alignment fakers?' To answer this question, we introduce a benchmark that consists of 324 pairs of LLMs fine-tuned to select actions in role-play scenarios. One model in each pair is consistently benign (aligned). The other model misbehaves in scenarios where it is unlikely to be caught (alignment faking). The task is to identify the alignment faking model using only inputs where the two models behave identically. We test five detection strategies, one of which identifies 98% of alignment-fakers.
[ -0.09984565526247025, -0.662573516368866, 0.4912051260471344, -0.1912062019109726, -0.225626140832901, 0.428272008895874, 0.41174057126045227, -0.527044951915741, 0.11233921349048615, 0.7178847789764404, -0.7499711513519287, -0.28063833713531494, -0.8297141790390015, 0.1346191167831421, -0.8358956575393677, 0.7375237941741943, -0.0515335276722908, 0.24204754829406738, -0.15805785357952118, -0.2810624837875366, -0.47907447814941406, -0.3827255070209503, -0.44465699791908264, -0.44711896777153015, 0.14382986724376678, 0.2782061994075775, 1.160474181175232, 1.0861343145370483, 0.4810614287853241, 0.402733713388443, -0.07458958774805069, 0.10473699122667313, -0.5575842261314392, 0.10457245260477066, -0.07244515419006348, -0.7594846487045288, -0.4537867605686188, 0.29936790466308594, 0.5494772791862488, 0.24119383096694946, -0.3292241096496582, 0.22846591472625732, -0.14275626838207245, 0.3467629551887512, -0.5731578469276428, -0.07888996601104736, -0.7271553874015808, -0.21183310449123383, -0.5722998380661011, -0.04107149690389633, -0.5442696213722229, -0.14738500118255615, -0.24553556740283966, -0.5535273551940918, 0.18217839300632477, 0.39868420362472534, 0.8487892150878906, 0.4472629427909851, -0.27637979388237, -0.38584280014038086, -0.6110594272613525, 0.7071579098701477, -0.7760637402534485, 0.3171800374984741, 0.27540385723114014, 0.41944369673728943, -0.44403666257858276, -0.3820304870605469, -0.9362746477127075, 0.16211211681365967, -0.40805184841156006, -0.05159716680645943, -0.49823445081710815, -0.18115046620368958, 0.473476380109787, 0.4772520661354065, -0.7186107039451599, 0.3182448446750641, -0.1613447070121765, -0.2600833773612976, 0.5689236521720886, 0.23613259196281433, 0.7166482210159302, -0.11703776568174362, -0.46220168471336365, 0.03769389167428017, -0.8629941940307617, 0.10025603324174881, 0.7191439270973206, 0.09289667755365372, -0.0886218398809433, 0.8772032856941223, 0.21670159697532654, 0.8584648370742798, 0.5940714478492737, -0.0070536378771066666, -0.18527765572071075, 0.0067008971236646175, -0.4641396999359131, 0.28681614995002747, 0.45703932642936707, 0.2630658745765686, 0.17127104103565216, -0.11260070651769638, -0.5118227601051331, 0.35101813077926636, 0.41445982456207275, -0.31443241238594055, -0.18869581818580627, 0.3355213701725006, -0.48747122287750244, -0.512791097164154, 0.07882038503885269, -0.6032779812812805, -0.6775413751602173, -0.44817548990249634, 0.735614001750946, -0.45908379554748535, -0.1902497261762619, 0.18920932710170746, 0.09128385037183762, 0.8757573366165161, 0.14399245381355286, -0.581567645072937, 0.35961899161338806, 1.1596437692642212, 0.6397886276245117, -0.23223340511322021, -0.21818295121192932, -0.7343347072601318, 0.07383860647678375, -0.4334391951560974, 0.8641808032989502, -0.5277083516120911, -0.174273282289505, -0.04021036624908447, 0.3092056214809418, -0.1448197215795517, -0.531085193157196, 0.46526971459388733, -0.7238054275512695, 0.2420673966407776, -0.21958176791667938, -0.8273166418075562, 0.06258533895015717, 0.28890150785446167, -0.7314373850822449, 0.9576029777526855, 0.05288904905319214, -0.5423080325126648, 0.45164918899536133, -0.33319538831710815, -0.1433817446231842, 0.08528101444244385, -0.20333176851272583, -0.4673137068748474, 0.1743709146976471, 0.2525136470794678, 0.2685418128967285, 0.08901255577802658, 0.1446663737297058, -0.030630480498075485, -0.7224425077438354, 0.6080917716026306, -0.09881722927093506, 1.0073421001434326, 0.18250861763954163, -0.3296021521091461, 0.12590964138507843, -0.5325649976730347, -0.22117789089679718, 0.12353847920894623, 0.009831366129219532, -0.40706032514572144, 0.030032716691493988, -0.331439346075058, 0.28610682487487793, 0.0556231290102005, -0.5515246987342834, 0.20896349847316742, -0.5748290419578552, -0.02046438679099083, 0.8102038502693176, -0.10247601568698883, 0.4499804675579071, -0.6638652682304382, 0.82225501537323, 0.15681803226470947, -0.04201169312000275, -0.17168422043323517, -0.3270547389984131, -0.7432991862297058, -0.46975570917129517, -0.001595221576280892, 0.49218490719795227, -0.648468554019928, 0.440441757440567, -0.15807202458381653, -0.430765300989151, -0.9127034544944763, 0.16918990015983582, 0.8111582398414612, 0.37362703680992126, 0.18417389690876007, 0.03746915981173515, -0.4772697985172272, -0.8874220252037048, -1.1624499559402466, 0.026569994166493416, 0.10663238167762756, -0.5153203010559082, 0.5338664650917053, 0.0008325937087647617, 0.7731629610061646, -0.230435311794281, -0.2823600172996521, 0.022237980738282204, 0.1624719351530075, 0.21361133456230164, 0.4486951231956482, 0.5618706941604614, -0.7168777585029602, -0.3854377567768097, -0.25691133737564087, -0.5919444561004639, -0.00893331877887249, -0.08497297763824463, 0.0032524976413697004, 0.5122500061988831, 1.0993057489395142, -0.42005792260169983, 0.7005944848060608, 0.7031074166297913, -0.5243266224861145, 0.3631494343280792, 0.017742862924933434, 0.1990945041179657, -1.0099984407424927, 0.11916100233793259, -0.04987108334898949, -0.317748099565506, -0.8466781377792358, 0.1924964040517807, 0.18138250708580017, 0.14511112868785858, -0.36730217933654785, 0.6011314392089844, -0.8597323298454285, -0.2503682076931, -0.29090437293052673, 0.0457729734480381, -0.1981671303510666, -0.013020472601056099, -0.24918417632579803, 0.783078670501709, 0.432964026927948, -0.31160005927085876, 0.1310156136751175, 0.41935157775878906, -0.7355830669403076, 0.8182744979858398, -0.6102827191352844, 0.15767121315002441, -0.429857462644577, 0.03719116374850273, -1.5399683713912964, -0.583835780620575, 0.2853376567363739, -0.5086758732795715, 0.5950396656990051, -0.43609535694122314, -0.639163076877594, -0.14373625814914703, -0.05951603129506111, 0.3221701979637146, 0.5793142318725586, -0.678001880645752, 0.7371483445167542, 0.4697410464286804, 0.34242355823516846, -1.0092569589614868, -0.6444538831710815, -0.19002467393875122, -0.41889235377311707, -0.4304995536804199, 0.1885674148797989, 0.008986053988337517, -0.505445659160614, -0.14212137460708618, -0.5847059488296509, 0.19003339111804962, 0.15484704077243805, 0.3781854808330536, 0.26639237999916077, -0.261344313621521, -0.3325222134590149, -0.16422973573207855, -0.11755294352769852, 0.20513692498207092, 0.39962393045425415, 0.5136868357658386, -0.00882919505238533, -0.6880685687065125, -0.738689124584198, 0.028564725071191788, 0.8814927339553833, -0.0787629634141922, 0.731890082359314, 0.28957563638687134, -0.4680982530117035, -0.06449014693498611, -0.6765115857124329, -0.13797447085380554, -0.5717998743057251, -0.02361174114048481, -0.43633562326431274, -0.79129958152771, 0.9509813785552979, 0.012570035643875599, 0.11872274428606033, 0.24020230770111084, 0.2787141501903534, -0.181763157248497, 1.1986206769943237, 0.507509171962738, -0.05682526156306267, 0.29403504729270935, 0.358166366815567, 0.46981123089790344, -0.7556414604187012, -0.18498435616493225, -0.4385753273963928, -0.6255799531936646, -0.760136067867279, -0.4116306006908417, 0.31825631856918335, 0.30665868520736694, -0.14084623754024506, 0.4792446196079254, -0.4186585545539856, 1.0826081037521362, 0.228648841381073, -0.04208213835954666, 0.37843233346939087, -0.16246560215950012, -0.03927928954362869, -0.14408400654792786, -0.19765537977218628, -0.5663579106330872, 0.9541175365447998, 0.31050583720207214, 0.7595497369766235, 0.5389954447746277, 0.4619649648666382, 0.017665553838014603, 0.5747948884963989, -0.7656404972076416, 0.5476964116096497, -0.09159638732671738, -0.8759727478027344, -0.14187027513980865, 0.07026348263025284, -0.7872167229652405, 0.11791922152042389, -0.2736786901950836, -1.0189288854599, 0.1745913028717041, 0.504690945148468, -0.17903685569763184, 0.37620386481285095, -0.2698855400085449, 0.7468514442443848, -0.2489820420742035, -0.08906728029251099, 0.10537338256835938, -0.9401610493659973, 0.7917511463165283, -0.13435810804367065, 0.25587794184684753, -0.17527461051940918, 0.13889898359775543, 0.4322757422924042, -0.13043034076690674, 0.969657838344574, -0.08297344297170639, -0.34803321957588196, -0.055138953030109406, 0.7763937711715698, 0.6767334342002869, -0.2709130048751831, -0.15683749318122864, 0.06598840653896332, 0.10719921439886093, -0.3577377498149872, -0.5574408173561096, 0.574449896812439, -0.6550689935684204, -0.8483867645263672, -0.6531265377998352, -0.6053324341773987, -0.22291098535060883, 0.21078310906887054, 0.479841411113739, 0.24385187029838562, -0.39340272545814514, -0.04018354415893555, 0.6061103343963623, 0.03668849170207977, 0.32500579953193665, 0.6312052607536316, -0.3193354308605194, -0.09664557129144669, 0.4596594274044037, -0.29604315757751465, 0.3795665204524994, 0.34685149788856506, 0.024934006854891777, -0.25067010521888733, -0.4040062129497528, -0.2556125223636627, 0.48361894488334656, -0.5765706300735474, -0.15228073298931122, -0.29856523871421814, -0.14239069819450378, -0.468091756105423, -0.24093517661094666, -0.41175153851509094, -0.2543482184410095, -0.18914970755577087, 0.022510604932904243, 0.0034420189913362265, 0.7364636063575745, -0.004457153379917145, 0.7458710670471191, -0.5621702671051025, 0.31499025225639343, 0.18002545833587646, 0.26104289293289185, -0.36078426241874695, -0.9674514532089233, 0.2439681589603424, -0.0005221366882324219, -0.10511749237775803, -0.8533840775489807, 0.44061899185180664, -0.2882653474807739, 0.712501049041748, 0.9286439418792725, -0.11459937691688538, 0.980024516582489, -0.36478158831596375, 0.5767092108726501, 0.022573057562112808, -1.1926888227462769, 0.38778096437454224, -0.4208226501941681, 0.18496641516685486, 0.25118446350097656, 0.4366738200187683, -0.5208156704902649, -0.5135315656661987, -0.5614177584648132, -0.39704644680023193, 0.8907848000526428, 0.011845524422824383, -0.07184815406799316, 0.13774807751178741, 0.6210537552833557, 0.13970670104026794, 0.19814270734786987, -0.7437179684638977, -0.4051992893218994, 0.08772066235542297, -0.3333231210708618, -0.22199541330337524, -0.39277297258377075, -0.4889565110206604, -0.11121291667222977, 0.457539439201355, -0.17323456704616547, 0.32613405585289, -0.0918937474489212, -0.42159706354141235, -0.460665762424469, 0.11605276167392731, 0.8446303606033325, 0.811389684677124, -0.11599931120872498, 0.3014546036720276, -0.2776050865650177, -0.3033687472343445, 0.0846080556511879, -0.23841547966003418, -0.07142038643360138, -0.15032652020454407, 0.46605271100997925, 0.48603200912475586, 0.4278791844844818, -0.5759842395782471, 0.6614516377449036, 0.20986691117286682, -0.025906845927238464, -0.4605983793735504, 0.26013052463531494, 0.17277055978775024, 0.2675948143005371, 0.011780519969761372, 0.10760366916656494, -0.18148843944072723, -0.7433474063873291, 0.23850829899311066, 0.7153998613357544, -0.5795056819915771, -0.5780287981033325, 0.6866940855979919, -0.3190437853336334, -0.5673112869262695, 0.5647444725036621, -0.08997063338756561, -0.6890907883644104, 0.5798147320747375, 0.8103570342063904, 0.5820719003677368, -0.8914056420326233, 0.12843507528305054, 0.1634972244501114, 0.6057566404342651, -0.2748444378376007, 0.3963445723056793, 0.40497681498527527, -1.2787630558013916, -0.26370999217033386, -0.4939018785953522, -0.266602486371994, 0.31598562002182007, -1.0986839532852173, 0.4429398477077484, -0.05026910826563835, 0.22891217470169067, 0.3621377646923065, -0.37796568870544434, -0.3805057406425476, -0.15360039472579956, -0.03743603825569153, 0.7051143646240234, -1.1219148635864258, 0.7130683064460754, 0.8441190719604492, -0.03151634708046913, -0.6398134231567383, 0.24589881300926208, 0.8667187094688416, -1.3432974815368652, 0.4523526430130005, 0.11046572774648666, -0.2121480107307434, -0.06903590261936188, -1.0133885145187378, -0.9525229334831238, 1.0403335094451904, 0.39920780062675476, -0.43512848019599915, -0.15361234545707703, 0.2541296184062958, 0.48315009474754333, -0.3309434652328491, -0.15683050453662872, 0.827609658241272, 0.4787929356098175, 0.11562565714120865, -0.835978090763092, 0.240032359957695, 0.021139021962881088, -0.30669519305229187, 0.5250826478004456, -0.5117900371551514, 0.9223953485488892, -0.0854300782084465, -0.4781164228916168, 0.3967287838459015, 0.24688220024108887, 0.41631507873535156, 0.4091663360595703, 0.6422716379165649, 0.7043390870094299, 0.8032659888267517, -0.05155130475759506, 0.9050843119621277, -0.3151877522468567, 0.15695039927959442, 1.2508323192596436, -0.5365252494812012, 0.6318199038505554, 0.6668544411659241, 0.0687708854675293, 0.4594998359680176, 0.3867570757865906, -0.21090206503868103, 0.34633171558380127, 0.17848682403564453, 0.007727831602096558, -0.5827193260192871, 0.30479663610458374, 0.19106315076351166, 0.9580441117286682, 0.5941606163978577, -0.2715151607990265, -0.12608197331428528, -0.3230914771556854, 0.42628785967826843, 0.3086320459842682, -0.3070557415485382, 0.67668217420578, -0.05048390477895737, -0.7870145440101624, 0.1019938662648201, -0.1743151843547821, 0.5543742179870605, -0.22799263894557953, -0.04351133480668068, -0.18335969746112823, 0.3139709532260895, -0.2513536810874939, -0.8782351613044739, 0.2925173044204712, -0.2557629346847534, -0.07167794555425644, -0.2831136882305145, 0.8236597776412964, -0.3385283052921295, -0.25861039757728577, 0.15944717824459076, 0.6921504735946655, 0.15927444398403168, 0.043501824140548706, -0.5281359553337097, -0.05889873206615448, -0.03592386469244957, -0.11792965233325958, 0.43524348735809326, 0.43495914340019226, -0.28560465574264526, 0.7787132263183594, 0.8035871386528015, -0.07125459611415863, 0.11335685849189758, -0.46826598048210144, 0.5895593166351318, -0.6948365569114685, -0.3337293863296509, -0.8924952745437622, 0.5082303285598755, -0.11785367876291275, -0.36343905329704285, 0.8853780627250671, 0.5572681427001953, 0.7836793661117554, 0.0477735660970211, 0.04027535766363144, 0.2939990758895874, 0.6780495643615723, -0.5467604994773865, 0.887403130531311, -0.45445987582206726, 0.44448989629745483, -0.2444058656692505, -0.6651039123535156, -0.3257678151130676, 0.530635416507721, -0.1501571238040924, -0.20533980429172516, 0.6367458701133728, 1.0488086938858032, -0.30773207545280457, 0.15259070694446564, 0.482151061296463, 0.46877703070640564, 0.06073224917054176, 0.05894996225833893, 1.1938530206680298, -0.4939223527908325, 0.22851677238941193, 0.05936755612492561, -0.016330817714333534, -0.2020304799079895, -1.0130069255828857, -0.9775596261024475, -0.45298585295677185, -0.5294894576072693, -0.47495970129966736, -0.1417776346206665, 0.4080502688884735, 0.4181254506111145, -0.8839744329452515, -0.2003854513168335, 0.13018810749053955, 0.271729439496994, -0.35173752903938293, -0.2586762011051178, 0.20951277017593384, 0.04496776685118675, -0.7727475762367249, 0.5736664533615112, 0.001147367642261088, 0.2469673454761505, -0.1400120109319687, 0.15259318053722382, -0.28683942556381226, 0.2932509481906891, 0.19654902815818787, 0.324825644493103, -1.0439738035202026, -0.49680987000465393, 0.25943705439567566, -0.0448850654065609, 0.009457248263061047, 1.020232915878296, -0.5251449942588806, 0.3800566792488098, 0.2304651439189911, 0.4306137263774872, 0.1946132928133011, 0.3227051794528961, 0.6603116393089294, -0.9788379669189453, -0.037080906331539154, 0.1988144814968109, 0.30312544107437134, 0.07629437744617462, -0.5654632449150085, 0.421219140291214, -0.027621597051620483, -0.8375518321990967, -1.186441421508789, 0.3826170265674591, -0.9974079132080078, -0.37855643033981323, 0.9590203762054443, -0.03089834190905094, -0.18327753245830536, -0.16963839530944824, 0.36658793687820435, 0.2021975964307785, 0.005104284733533859, 0.6997718811035156, 0.8292607069015503, -0.49987366795539856, -0.09311150014400482, -0.4946387708187103, 0.776261568069458, 0.40840208530426025, -0.5341386795043945, -0.0151301184669137, 0.5825493931770325, 0.6825346350669861, 0.28979241847991943, 0.26003769040107727, -0.4033399224281311, 0.1724531501531601, -0.3350907266139984, -0.13869385421276093, 0.1333649456501007, 0.007347146049141884, -0.7360048890113831, -0.14949047565460205, -0.12117476016283035, -0.10266479104757309 ]
http://arxiv.org/abs/2405.05465v2
http://arxiv.org/pdf/2405.05465v2
Vidur: A Large-Scale Simulation Framework For LLM Inference
2024-05-08T23:42:13
2024-05-21T05:17:29
Amey Agrawal, Nitin Kedia, Jayashree Mohan, Ashish Panwar, Nipun Kwatra, Bhargav Gulavani, Ramachandran Ramjee, Alexey Tumanov
cs.LG
cs.LG, cs.AI, cs.CL
Optimizing the deployment of Large language models (LLMs) is expensive today since it requires experimentally running an application workload against an LLM implementation while exploring large configuration space formed by system knobs such as parallelization strategies, batching techniques, and scheduling policies. To address this challenge, we present Vidur - a large-scale, high-fidelity, easily-extensible simulation framework for LLM inference performance. Vidur models the performance of LLM operators using a combination of experimental profiling and predictive modeling, and evaluates the end-to-end inference performance for different workloads by estimating several metrics of interest such as latency and throughput. We validate the fidelity of Vidur on several LLMs and show that it estimates inference latency with less than 9% error across the range. Further, we present Vidur-Search, a configuration search tool that helps optimize LLM deployment. Vidur-Search uses Vidur to automatically identify the most cost-effective deployment configuration that meets application performance constraints. For example, Vidur-Search finds the best deployment configuration for LLaMA2-70B in one hour on a CPU machine, in contrast to a deployment-based exploration which would require 42K GPU hours - costing ~218K dollars. Source code for Vidur is available at https://github.com/microsoft/vidur.
[ -0.4661349654197693, -0.9263718128204346, 0.6272886395454407, 0.8590688109397888, -0.14311182498931885, -0.039648763835430145, -0.4043704867362976, -0.3206613063812256, 0.029697973281145096, 0.6382483243942261, -0.3809390962123871, -0.5766755938529968, -0.1325245499610901, -0.24729852378368378, -0.49814942479133606, 0.1481187492609024, 0.030256634578108788, -0.2454950362443924, -0.5086765289306641, -0.074066661298275, -0.2079695165157318, -0.45917773246765137, -0.7304676175117493, -0.21377336978912354, 0.55550217628479, 0.22007007896900177, 0.5965889692306519, 0.7275987267494202, 0.5072522163391113, 0.3481530547142029, -0.3899242877960205, 0.31341949105262756, -0.5013778209686279, 0.3582940697669983, -0.29282259941101074, -0.5946915745735168, -0.5381364226341248, -0.35979875922203064, 0.7710044384002686, 0.6556241512298584, -0.618168830871582, 0.4651838541030884, -0.3510521650314331, 0.2687545120716095, -0.8434848785400391, 0.17466294765472412, -0.5229800939559937, 0.18426914513111115, -0.2514650225639343, 0.19254663586616516, -0.30825695395469666, -0.27608928084373474, 0.1276221126317978, -0.748995304107666, 0.2609015107154846, 0.4207856059074402, 0.40227842330932617, 0.4129604995250702, -0.2898118793964386, 0.3625788688659668, -0.8972048759460449, 0.8794520497322083, -0.6282261610031128, 0.30045533180236816, -0.032924503087997437, 0.4601142406463623, -0.36040714383125305, -0.7392577528953552, -0.5430695414543152, -0.07981405407190323, 0.24348056316375732, 0.1191379651427269, -0.1434875875711441, 0.377736896276474, 0.38210639357566833, 0.32349130511283875, -0.6325240135192871, 0.2585335671901703, -0.3642207980155945, -0.06918182224035263, 0.46918097138404846, 0.4704401195049286, -0.13189542293548584, 0.4338194727897644, -0.2454412877559662, -0.1485348492860794, -0.7419472932815552, -0.17334780097007751, 0.3751779794692993, 0.01839596964418888, -0.06740504503250122, 0.6304761171340942, -0.2071344256401062, 0.7351915240287781, -0.4488866627216339, -0.1618635058403015, 0.2003473937511444, -0.13798773288726807, -0.5986921191215515, 0.058188606053590775, 0.7569065093994141, 0.26401880383491516, 0.14617884159088135, 0.042707234621047974, -0.29885971546173096, 0.3462134003639221, 0.6576418876647949, -0.9611418843269348, 0.3150996267795563, 0.25098729133605957, -0.3125723898410797, -0.39554017782211304, -0.4694308638572693, -1.0070054531097412, -0.39924848079681396, -0.2603722810745239, 0.14570176601409912, -0.08101683109998703, -0.38279107213020325, 0.3638744354248047, -0.06090766564011574, 0.364692360162735, 0.537724494934082, -0.5968006253242493, 0.43006566166877747, 0.7462995052337646, 0.9097573161125183, -0.6529631614685059, -0.24173066020011902, -0.6699643135070801, -0.011242765933275223, -0.4311465322971344, 0.7342495322227478, -0.4807513952255249, -0.7583393454551697, 0.21240706741809845, 0.04046013951301575, -0.2010633945465088, -0.7458818554878235, 0.44034188985824585, -0.6309800148010254, -0.41863882541656494, 0.22630515694618225, -0.4682721495628357, -0.038021352142095566, 0.2389746904373169, -0.8451728820800781, 1.1046139001846313, 0.15159213542938232, -0.48954302072525024, 0.0029925303533673286, -0.5414194464683533, -0.5016487836837769, -0.11028287559747696, -0.21254725754261017, -0.49084481596946716, 0.36780595779418945, -0.11484360694885254, 0.3337732255458832, -0.8512693643569946, 0.20052000880241394, -0.4256918132305145, -0.7686071991920471, -0.03545574098825455, -0.5359665155410767, 0.5419613122940063, 0.38143572211265564, -0.533682644367218, 0.08602716773748398, -0.673316478729248, -0.18475474417209625, 0.1401296705007553, -0.3639317452907562, -0.07408914715051651, 0.17777709662914276, -0.023251665756106377, -0.28446751832962036, 0.21488089859485626, -0.37864598631858826, 0.17550358176231384, -0.32825371623039246, 0.12219215929508209, 0.49266934394836426, -0.11627259105443954, 0.39413926005363464, 0.10992436856031418, 0.9003891944885254, -0.04319828748703003, 0.6094495058059692, -0.039467841386795044, -0.3787684142589569, -0.6577664613723755, -0.1336289793252945, -0.05945960432291031, 0.5308734178543091, -0.4410163462162018, -0.2820669412612915, -0.28748011589050293, -0.5991677641868591, -0.4658949077129364, 0.22153857350349426, 0.5317708849906921, 0.4633648991584778, 0.2663833200931549, 0.12874449789524078, -0.48723888397216797, -1.1384538412094116, 0.005870034918189049, -0.39970919489860535, 0.3125566244125366, 0.2299954742193222, 0.3710973262786865, -0.3992518484592438, 0.8299999833106995, -0.5851821303367615, 0.10633699595928192, -0.055117204785346985, 0.05118300020694733, 0.320076584815979, 0.2581888437271118, 0.5790628790855408, -0.7747111320495605, -0.15105508267879486, 0.2148454636335373, -0.7754060626029968, -0.17244930565357208, 0.15319475531578064, -0.2327573150396347, 0.05030934512615204, 0.8567138314247131, -0.3646005392074585, 0.3986256420612335, 0.9325821399688721, 0.025163179263472557, 0.9437431693077087, -0.540503978729248, -0.22862941026687622, -0.703283429145813, 0.21341253817081451, 0.016967570409178734, -0.05990683287382126, -0.23399849236011505, 0.22167441248893738, 0.06111656874418259, 0.10723884403705597, -0.7136465311050415, 0.682786762714386, -0.36000823974609375, -0.2109571248292923, 0.03059489093720913, -0.1230703815817833, 0.2593986988067627, 0.2063363939523697, -0.07104261219501495, 1.590565800666809, 0.38665875792503357, -0.6241937279701233, 0.40937042236328125, -0.035670895129442215, -0.5042388439178467, 0.6469330191612244, -0.873934268951416, -0.1921348124742508, -0.026142017915844917, 0.037545543164014816, -0.7418532371520996, -0.24418368935585022, -0.39358580112457275, 0.22070272266864777, 0.06206069514155388, -0.4273033142089844, -0.6102197766304016, -0.32199519872665405, -0.11440514028072357, 0.6336495876312256, 0.738503634929657, -0.5596910715103149, 0.8734965324401855, 0.4804903268814087, 0.07572052627801895, -0.6675083041191101, -0.7868117690086365, 0.08789301663637161, -0.3729516267776489, -0.6405850052833557, 0.4405136704444885, -0.12106744945049286, -0.6501818299293518, -0.3495674133300781, -0.03746411204338074, 0.05547278746962547, 0.3521575331687927, 0.5362237691879272, 0.06667879223823547, -0.6085709929466248, 0.014582577161490917, 0.21454840898513794, -0.041113901883363724, 0.2231513112783432, -0.4431309401988983, 0.4394283890724182, -0.333944171667099, -0.7334873080253601, 0.04353134334087372, 0.2440711110830307, 0.8737266659736633, -0.2653448283672333, 0.6176630258560181, 0.5147826671600342, -0.1727469116449356, -0.42699599266052246, -0.9473966360092163, 0.25099679827690125, -0.4883646070957184, 0.3110833466053009, -0.2767988443374634, -0.5038072466850281, 0.5372009873390198, -0.4926835000514984, 0.3573576807975769, 0.30432915687561035, 0.5506091117858887, -0.04859115928411484, 0.8763782978057861, 0.49130702018737793, -0.008893919177353382, 0.5665310621261597, -0.37300512194633484, -0.12410598248243332, -0.7660722136497498, -0.2843887507915497, -0.4215403199195862, 0.015440762042999268, -0.13615140318870544, -0.9191887378692627, 0.6166598200798035, -0.14484518766403198, -0.3384823501110077, 0.11876621097326279, -0.24199169874191284, 0.39328238368034363, 0.6151904463768005, -0.25479787588119507, 0.32495981454849243, 0.2842199206352234, -0.3760150074958801, 0.24109980463981628, -0.44011959433555603, -0.3196446895599365, 0.7915483713150024, 0.05486726760864258, 0.9138733744621277, 0.1539996862411499, 0.2690180540084839, 0.3113783895969391, 0.3133028745651245, -0.4521716833114624, 0.5017157196998596, -0.0003171343414578587, -0.5725740194320679, -0.3007906973361969, -0.28410714864730835, -0.8674639463424683, 0.4781509339809418, 0.024684786796569824, -0.6320445537567139, 0.13325577974319458, 0.22802132368087769, -0.4199138283729553, 0.38003993034362793, -0.7092052698135376, 0.7391598224639893, -0.2974150776863098, -0.7109449505805969, -0.42748215794563293, -0.3549708425998688, 0.24604441225528717, -0.31666499376296997, 0.20696021616458893, -0.2340422421693802, -0.10975217819213867, 0.34702223539352417, -0.5087264180183411, 0.8292826414108276, -0.23314717411994934, -0.18060874938964844, 0.2601570785045624, 0.2115456908941269, 0.5946718454360962, 0.2098550796508789, -0.7146161198616028, 0.14707937836647034, -0.05294809117913246, -0.3260619342327118, -0.6875172257423401, 0.7018214464187622, -0.6018226146697998, -0.5761783719062805, -0.14129023253917694, -0.25759992003440857, -0.07567236572504044, 0.056472595781087875, 0.0691886767745018, 0.25405022501945496, -0.6019665598869324, 0.072911836206913, 1.1147607564926147, -0.5491984486579895, 0.22737674415111542, 0.36805811524391174, -0.5378996133804321, -0.3532412052154541, 0.7049689292907715, -0.11078093200922012, 0.3256365656852722, 0.3790859282016754, 0.017789354547858238, -0.2136453539133072, -0.8108097910881042, -0.589652955532074, 0.1660195142030716, -0.38996946811676025, -0.049151696264743805, -0.6122044920921326, -0.18689797818660736, 0.09335272014141083, -0.21543553471565247, -0.830154299736023, -0.08025780320167542, -0.13760288059711456, -0.12179195135831833, 0.5208838582038879, 0.4271761178970337, 0.1683075726032257, 0.9300410747528076, -0.23187600076198578, 0.08962712436914444, 0.14924056828022003, 0.422181636095047, -0.1407601684331894, -0.2673349380493164, -0.36652764678001404, -0.08632399886846542, -0.0217988733202219, -0.20787100493907928, 0.25721895694732666, 0.10995135456323624, 0.6604498624801636, 0.5445005297660828, -0.05711726099252701, 0.7671964764595032, -0.43349018692970276, 0.6698818206787109, -0.10401304811239243, -0.6140151023864746, 0.2911757826805115, -0.24850468337535858, 0.15446530282497406, 0.6956679821014404, -0.22710712254047394, -0.2823396623134613, -0.21659640967845917, -0.4391244947910309, -0.9809321165084839, 0.3984885513782501, 0.17858916521072388, 0.11600219458341599, 0.0815708115696907, 0.40968552231788635, -0.04821734502911568, 0.3642060458660126, 0.04176478460431099, -0.3862309157848358, 0.3027324378490448, 0.031198451295495033, -0.2831003963947296, -0.3676029443740845, -0.20685942471027374, -0.27820008993148804, 0.5152425765991211, -0.3071390688419342, 0.3601248264312744, 0.05399877205491066, -0.3212259113788605, 0.2989014983177185, -0.15644553303718567, 0.8371067643165588, 0.5513927340507507, -0.2504182755947113, 0.29462119936943054, 0.5623447299003601, -0.46885260939598083, 0.1706770658493042, -0.03579981252551079, 0.00986736360937357, 0.15168923139572144, 0.3196122944355011, 0.9259263873100281, 0.2752629220485687, -1.048803448677063, 0.6966338157653809, -0.36769726872444153, -0.28625956177711487, -0.7690286040306091, 0.4088258743286133, 0.4438549280166626, 0.6345691680908203, -0.07983769476413727, -0.27631625533103943, 0.07739073038101196, -0.029817407950758934, -0.2166561782360077, 0.24563166499137878, -0.24891288578510284, -0.05171586200594902, 0.8820420503616333, 0.007611668203026056, -0.20752301812171936, 0.6566517353057861, -0.005965664982795715, -0.22784247994422913, 0.99029141664505, 0.3882268965244293, 0.7529189586639404, -0.19136425852775574, 0.12405538558959961, -0.0235834252089262, 0.29779568314552307, -0.5922935605049133, 0.41173097491264343, 0.02244437113404274, -0.34080177545547485, -0.5887129306793213, -0.9590552449226379, -0.7326639294624329, -0.1474505066871643, -0.4387741982936859, 0.1646854430437088, -0.4540284276008606, -0.2645542621612549, -0.22503089904785156, -0.2796917259693146, -0.875460684299469, 0.0005842573009431362, 0.17701558768749237, 1.2885499000549316, -0.5879800915718079, 0.7134737968444824, 0.6264765858650208, -0.11771687865257263, -0.45161905884742737, -0.5053651928901672, 0.05917460843920708, -0.8526567220687866, 0.3772275149822235, -0.043188463896512985, -0.48726963996887207, -0.10136361420154572, -0.3532294034957886, -0.7978226542472839, 1.2177878618240356, 0.8973589539527893, -0.6827198266983032, -0.12419513612985611, 0.19582991302013397, 0.587290346622467, -0.2889924943447113, 0.6099785566329956, 0.7396194338798523, 0.659998893737793, -0.0064231883734464645, -0.7084562182426453, -0.19680070877075195, -0.1997496485710144, 0.3319765627384186, 0.004130970686674118, -0.8441572785377502, 0.8011173009872437, -0.0999162346124649, 0.06248687580227852, -0.020772026851773262, 0.4865124821662903, 0.3206714391708374, 0.32577985525131226, 0.6289060711860657, 0.35902509093284607, 0.811090886592865, 0.21311990916728973, 1.1040489673614502, -0.3654633164405823, 0.1781001091003418, 0.9122759103775024, -0.5726627111434937, 0.6889966726303101, 0.6386106610298157, -0.20906873047351837, 0.272060364484787, 0.6199288368225098, -0.07169841229915619, 0.2324107587337494, 0.5434341430664062, -0.582850992679596, -0.29430943727493286, -0.22712311148643494, -0.2504490315914154, 0.2725234925746918, 0.49582305550575256, -0.41097378730773926, -0.1628124862909317, -0.10925014317035675, 0.15130740404129028, -0.30081069469451904, -0.12662804126739502, 0.5149088501930237, 0.2528272271156311, -0.6869336366653442, 0.5639443397521973, -0.07416603714227676, 0.3808150589466095, -0.5795118808746338, 0.07739418745040894, -0.47429728507995605, 0.4143664240837097, -0.06527607887983322, -0.37719306349754333, 0.24964192509651184, -0.17772093415260315, -0.12586332857608795, -0.16093809902668, 0.4204612970352173, -0.051752444356679916, -0.46341750025749207, 0.7199978232383728, 0.5919498801231384, 0.2031841278076172, -0.4129164218902588, -0.2827839255332947, 0.4929843246936798, -0.25259676575660706, -0.6116623878479004, 0.36234354972839355, 0.4294626712799072, -0.2544986307621002, 0.8040674924850464, 0.6846336722373962, 0.27039265632629395, 0.2520967721939087, 0.1637476682662964, 0.8249772191047668, -0.4466211795806885, -0.24141612648963928, -0.9704483151435852, 0.3227849006652832, -0.29438140988349915, -0.22569091618061066, 0.2829544246196747, 0.7927118539810181, 0.4029315412044525, -0.07053357362747192, 0.7716751098632812, 0.46615687012672424, 0.00944564864039421, -0.47341880202293396, 0.5719847679138184, -0.8286153674125671, 0.445220947265625, -0.03844374790787697, -0.9928459525108337, -0.3646167814731598, 0.4281311631202698, -0.17359206080436707, -0.3692273199558258, 0.5488969683647156, 1.094278335571289, -0.5324476361274719, -0.05146358534693718, 0.4771391749382019, 0.16006287932395935, 0.4208289086818695, 0.13585571944713593, 0.7628626823425293, 0.06627988070249557, 0.5669152736663818, -0.12380772829055786, 0.002855344908311963, -0.6584864258766174, -0.9516036510467529, -0.7363752126693726, -0.21899443864822388, -0.12198400497436523, -0.3292156457901001, 0.2773902714252472, 0.9075194001197815, 0.8250800967216492, -0.3968092203140259, -0.5623101592063904, -0.14880818128585815, 0.1583024114370346, -0.3193429112434387, -0.13655711710453033, 0.13730669021606445, -0.2700318992137909, -0.7593483924865723, 0.6137478351593018, 0.2844370901584625, -0.0898982360959053, -0.5668931007385254, 0.05962380766868591, 0.21836166083812714, 0.1471196413040161, 0.6872049570083618, 0.3399348556995392, -0.5048391222953796, 0.05621188506484032, 0.04528818652033806, -0.22844663262367249, -0.035339221358299255, 0.8553507924079895, -0.6957039833068848, 0.42800214886665344, 0.4098120629787445, 1.0181413888931274, 1.0657967329025269, -0.22886984050273895, 0.9107952117919922, -0.6045204997062683, 0.32012617588043213, 0.0158980842679739, 0.48552265763282776, -0.13994243741035461, -0.14987681806087494, 0.7412624359130859, 0.06508097797632217, -0.35711023211479187, -1.0396889448165894, 0.04871545359492302, -0.8375369906425476, -0.04368068650364876, 1.2803977727890015, -0.12225345522165298, -0.5459295511245728, -0.14736473560333252, -0.21244485676288605, 0.08896200358867645, -0.2952878177165985, 0.3858829438686371, 0.376595675945282, 0.13548524677753448, 0.13633161783218384, -1.0500082969665527, 0.1744552105665207, 0.43915772438049316, -0.7017498016357422, 0.23958173394203186, 0.30222654342651367, 0.1794266551733017, 0.005077969748526812, 0.2928527891635895, 0.062052179127931595, 0.02367510460317135, 0.22003376483917236, 0.33906710147857666, -0.17430855333805084, -0.2816835641860962, -0.2679375410079956, 0.2548663914203644, 0.09908230602741241, -0.018480315804481506 ]
http://arxiv.org/abs/2405.05444v1
http://arxiv.org/pdf/2405.05444v1
Evaluating Students' Open-ended Written Responses with LLMs: Using the RAG Framework for GPT-3.5, GPT-4, Claude-3, and Mistral-Large
2024-05-08T22:23:58
2024-05-08T22:23:58
Jussi S. Jauhiainen, Agustín Garagorry Guerra
cs.CL
cs.CL, cs.AI
Evaluating open-ended written examination responses from students is an essential yet time-intensive task for educators, requiring a high degree of effort, consistency, and precision. Recent developments in Large Language Models (LLMs) present a promising opportunity to balance the need for thorough evaluation with efficient use of educators' time. In our study, we explore the effectiveness of LLMs ChatGPT-3.5, ChatGPT-4, Claude-3, and Mistral-Large in assessing university students' open-ended answers to questions made about reference material they have studied. Each model was instructed to evaluate 54 answers repeatedly under two conditions: 10 times (10-shot) with a temperature setting of 0.0 and 10 times with a temperature of 0.5, expecting a total of 1,080 evaluations per model and 4,320 evaluations across all models. The RAG (Retrieval Augmented Generation) framework was used as the framework to make the LLMs to process the evaluation of the answers. As of spring 2024, our analysis revealed notable variations in consistency and the grading outcomes provided by studied LLMs. There is a need to comprehend strengths and weaknesses of LLMs in educational settings for evaluating open-ended written responses. Further comparative research is essential to determine the accuracy and cost-effectiveness of using LLMs for educational assessments.
[ -0.2452939748764038, -0.8423810601234436, 0.8333881497383118, 0.09055840224027634, -0.24843372404575348, -0.0684136226773262, -0.4722830355167389, -0.3684510588645935, -0.16479481756687164, 0.3601493835449219, -0.022790901362895966, -0.29098159074783325, -0.37002602219581604, 0.31570568680763245, -0.4153684377670288, 1.0137982368469238, -0.5801776647567749, 0.3699892461299896, -0.44459548592567444, -0.08989587426185608, -0.19265690445899963, -0.5043376088142395, -0.5986620187759399, -0.47267526388168335, 0.6261888146400452, 0.23764413595199585, 0.46663060784339905, 0.19694477319717407, 0.8713554739952087, 0.2508678138256073, -0.038150604814291, -0.16914096474647522, -0.6047466993331909, 0.06061087176203728, -0.19340559840202332, -0.23492221534252167, -0.43158960342407227, 0.38522547483444214, 0.7770741581916809, 0.6714047789573669, -0.20572535693645477, 0.5695945024490356, 0.24579790234565735, 0.6647155284881592, -0.8604608774185181, -0.14299815893173218, -0.3622977137565613, 0.07464008033275604, -0.16811595857143402, -0.22666288912296295, -0.6647478342056274, -0.6076818108558655, 0.17350433766841888, -0.36908742785453796, -0.04023449122905731, -0.4912668764591217, 0.7412266135215759, -0.024042701348662376, -0.22744642198085785, -0.6585972309112549, -0.8514121770858765, 0.6982378363609314, -0.7508703470230103, 0.4439104199409485, 0.06105681508779526, 0.31013157963752747, -0.15125425159931183, -0.8840010762214661, -0.6136971116065979, -0.4528580904006958, 0.08785634487867355, 0.6621701121330261, 0.08653175085783005, 0.008692407980561256, 0.221477672457695, 0.5515358448028564, -0.6009873151779175, 0.22309841215610504, -0.31358274817466736, 0.14061066508293152, 0.36868664622306824, 0.4964544177055359, -0.037315018475055695, -0.04644801467657089, -0.5713673830032349, -0.1225724071264267, -0.5488442778587341, 0.1154339611530304, 0.5469078421592712, 0.34839463233947754, 0.1279040277004242, 0.8633604645729065, 0.09523970633745193, 0.9025139212608337, -0.3011167049407959, -0.2553096115589142, -0.05500065162777901, -0.23691216111183167, -0.4104526937007904, -0.5214571952819824, 0.8033477663993835, 0.5404382348060608, 0.37970784306526184, -0.19548547267913818, -0.37149617075920105, 0.15215469896793365, 0.06329625844955444, -0.9801115989685059, 0.09403534978628159, 0.34861886501312256, -0.3793485760688782, -0.2429792284965515, 0.044196825474500656, -0.9920750260353088, -0.21707108616828918, -0.5428675413131714, 0.5739816427230835, -0.019861795008182526, -0.12598943710327148, 0.29235416650772095, 0.053962163627147675, 0.4279946982860565, 0.5345569849014282, -0.46235769987106323, 0.5593686103820801, 0.42147743701934814, 0.8548110723495483, -0.4886878430843353, -0.17954373359680176, -0.3377533257007599, -0.11743959039449692, -0.25463786721229553, 0.6553581357002258, -0.6499379277229309, -0.573144257068634, 0.04095369577407837, -0.3434428870677948, -0.3259545862674713, -0.42061108350753784, 0.7216393351554871, -0.6574311852455139, 0.6546233892440796, -0.006312830839306116, -0.7918791770935059, 0.18882085382938385, 0.31438934803009033, -0.5320037007331848, 1.1423124074935913, 0.31409013271331787, -0.7382456660270691, -0.06992712616920471, -0.6131767630577087, 0.03433162346482277, -0.03608051314949989, -0.13413628935813904, -0.33881357312202454, 0.1566634476184845, -0.0021748526487499475, 0.5657317042350769, -0.663886308670044, 0.03245394676923752, -0.11294175684452057, -0.5882444381713867, 0.6358943581581116, -0.5273749232292175, 0.5945565700531006, 0.23945921659469604, -0.14883935451507568, 0.009273791685700417, -0.5188645720481873, 0.25700604915618896, 0.303892582654953, -0.7221826314926147, -0.34270715713500977, -0.34461626410484314, -0.05122397094964981, -0.12449507415294647, 0.2683597207069397, -0.7538961172103882, 0.2395658791065216, -0.02457677572965622, 0.04028332978487015, 0.8808665871620178, 0.0016978767234832048, 0.22754305601119995, -0.30613428354263306, 0.871997594833374, -0.230878546833992, 0.004659776110202074, -0.06418517231941223, -0.34709495306015015, -0.6514070630073547, 0.04768356308341026, 0.3306869566440582, 0.44517433643341064, -0.5735270977020264, -0.31536614894866943, -0.12779419124126434, -0.7395802736282349, -0.4234555959701538, 0.07438511401414871, 0.5209706425666809, 0.6438393592834473, 0.1752137541770935, -0.21347424387931824, -0.2030569314956665, -0.3972780108451843, -0.47543731331825256, -0.13060829043388367, -0.2296229749917984, 0.4699133336544037, 0.48580843210220337, 0.047640539705753326, 0.8582419753074646, -0.6887016296386719, 0.02656540647149086, 0.009866810403764248, 0.08889792859554291, 0.31861013174057007, -0.008009098470211029, 0.4182228744029999, -0.48510733246803284, -0.5857955813407898, -0.07665702700614929, -0.5977879166603088, -0.31475603580474854, 0.011436155065894127, 0.03726692497730255, 0.36894088983535767, 0.32306748628616333, -0.30856379866600037, 0.3002188205718994, 0.6061861515045166, -0.28373152017593384, 0.9164026975631714, -0.002638756763190031, 0.19714869558811188, -0.8100951313972473, 0.10619427263736725, 0.14356060326099396, -0.076521135866642, -0.4256158769130707, 0.23183949291706085, 0.02973071299493313, -0.10105575621128082, -0.4451245665550232, 0.970802903175354, -0.6063532829284668, -0.07373270392417908, -0.2403605729341507, 0.594419538974762, -0.11171925067901611, 0.21882742643356323, -0.1167328730225563, 0.9424024820327759, 0.11954259127378464, -0.3336729407310486, 0.36389508843421936, -0.17588724195957184, -0.43938136100769043, 0.6413609981536865, -0.678800106048584, 0.35015782713890076, -0.09611063450574875, 0.2740468680858612, -0.8511987328529358, -0.13402488827705383, 0.14650219678878784, -0.5451340675354004, 0.2327088713645935, 0.10611943155527115, -0.29718196392059326, -0.564971387386322, -0.4025593400001526, 0.3380325734615326, 0.4993976354598999, -0.5122250318527222, 0.7065163254737854, -0.05234542861580849, -0.24301095306873322, -0.6264269948005676, -0.1851019561290741, -0.07329326122999191, -0.24418708682060242, -0.406796932220459, -0.23166298866271973, -0.4695656895637512, -0.5064110159873962, 0.03511771187186241, -0.16411598026752472, -0.06727198511362076, -0.008444003760814667, 0.019499558955430984, 0.43067675828933716, -0.40013644099235535, 0.13257206976413727, -0.46086105704307556, 0.11856129765510559, 0.060808803886175156, -0.13874877989292145, 0.5501940846443176, -0.24133771657943726, -0.4599558115005493, 0.1325804740190506, 0.15483684837818146, 0.5884335041046143, -0.18733245134353638, 0.5855490565299988, 0.43588337302207947, -0.242384135723114, -0.0882556289434433, -0.6615049242973328, -0.20582985877990723, -0.4322666823863983, 0.205440953373909, -0.4483216404914856, -1.0193384885787964, 0.43580469489097595, 0.0828925371170044, 0.2547214925289154, 0.30676427483558655, 0.7707846164703369, -0.10145904868841171, 0.40058696269989014, 0.31693705916404724, 0.23134075105190277, 0.2535842955112457, -0.04016953706741333, 0.11494575440883636, -1.0854649543762207, -0.21847331523895264, -0.7683517336845398, -0.016567742452025414, -0.4832215905189514, -0.5905296802520752, 0.4315181076526642, 0.1653476059436798, -0.08580108731985092, -0.07020164281129837, -0.3855489194393158, 0.5979985594749451, 0.22926653921604156, 0.18334172666072845, 0.35075482726097107, -0.1614786684513092, -0.25054821372032166, 0.02672942355275154, -0.39855971932411194, -0.8659898042678833, 1.391428828239441, 0.6434029340744019, 0.9247179627418518, 0.23802872002124786, 0.47396090626716614, -0.10577881336212158, 0.9151543378829956, -0.859790027141571, 0.7561004161834717, -0.05628681927919388, -0.41393131017684937, -0.6357437968254089, -0.593524694442749, -0.9466773867607117, 0.5524083375930786, 0.009924876503646374, -0.6584142446517944, -0.35726380348205566, -0.3549383580684662, -0.0826975479722023, 0.43163836002349854, -0.6012681722640991, 0.5438106060028076, -0.22903648018836975, -0.6493862867355347, 0.28487566113471985, -0.3194220960140228, 0.41557741165161133, -0.409565269947052, 0.11561664938926697, -0.14027966558933258, -0.16158123314380646, 1.0063306093215942, -0.24458883702754974, 0.6382643580436707, -0.08311931043863297, -0.3604334592819214, 0.5760105848312378, -0.08731140941381454, 0.16798564791679382, 0.026560746133327484, -0.45670104026794434, -0.11700347810983658, 0.13076651096343994, -0.22814808785915375, -0.7132581472396851, 0.682380735874176, -0.803196907043457, -0.667400598526001, -0.675216794013977, -0.603313684463501, -0.18044652044773102, 0.16261859238147736, 0.06256014108657837, 0.6311376094818115, -0.4062703251838684, 0.10009271651506424, 0.5907468795776367, -0.16870516538619995, 0.4468019902706146, 0.9336373805999756, -0.5365443229675293, -0.3470457196235657, 0.6759506464004517, 0.21392284333705902, 0.5608891248703003, 0.048925284296274185, 0.6137763261795044, -0.3144117295742035, -0.3820211887359619, -0.4710114002227783, 0.40475431084632874, -0.7666094899177551, -0.28173044323921204, -0.499439537525177, -0.23011301457881927, -0.5370813012123108, -0.19486352801322937, -0.030624328181147575, -0.23023223876953125, -0.21617017686367035, 0.022282632067799568, 0.15201959013938904, 0.9695389866828918, 0.023121120408177376, 0.37991902232170105, -0.6333971619606018, 0.28079667687416077, 0.24426092207431793, 0.6194154620170593, 0.06603293865919113, -0.7239781618118286, -0.12254827469587326, -0.029586076736450195, -0.4633364975452423, -0.9543771147727966, -0.05212559178471565, -0.022137723863124847, 0.4512973427772522, 0.1636158525943756, -0.014762739650905132, 0.4487966299057007, -0.5407528877258301, 0.8354195952415466, 0.13006114959716797, -0.7811761498451233, 0.11486367136240005, -0.577277421951294, 0.5529579520225525, 0.3741823434829712, 0.486476331949234, -0.512944757938385, -0.45268896222114563, -0.30368372797966003, -0.6990125179290771, 0.5333619117736816, 0.10470137745141983, 0.23890464007854462, -0.004188677296042442, 0.4976600706577301, -0.024607060477137566, 0.0823042020201683, -0.7818616628646851, -0.06111415475606918, 0.2766586244106293, -0.15972289443016052, -0.1841639131307602, -0.5244414210319519, -0.1558506041765213, -0.10114490985870361, 0.5726321339607239, -0.0906393975019455, 0.2188286930322647, 0.2323385626077652, 0.2519420087337494, -0.18693482875823975, 0.6694267988204956, 0.7347980737686157, 0.7444384098052979, -0.4254169166088104, -0.11162436008453369, 0.3439830243587494, -0.8242741823196411, 0.2077808529138565, 0.04389427229762077, -0.09255650639533997, 0.08778134733438492, 0.29510313272476196, 0.3352595567703247, 0.038037560880184174, -0.5497599244117737, 0.6182171702384949, -0.36939719319343567, -0.043701209127902985, -0.467301607131958, -0.09209185093641281, 0.023566940799355507, -0.0421670526266098, 0.21148568391799927, -0.4636644423007965, -0.03548670932650566, -0.5449968576431274, -0.08447299897670746, 0.318285197019577, -0.2846856117248535, 0.01967373862862587, 0.32761168479919434, 0.14967544376850128, -0.13436675071716309, 0.5118435621261597, 0.2604992389678955, -0.39345583319664, 0.5751537084579468, 0.7520992159843445, 0.8917927742004395, -0.6059489846229553, 0.20291279256343842, 0.42308661341667175, 0.3409508168697357, -0.05077606439590454, 0.5577846169471741, 0.2386884242296219, -0.496568500995636, -0.20921863615512848, -1.0084222555160522, -0.9038717746734619, 0.26958534121513367, -0.8916221261024475, 0.28661513328552246, -0.32763445377349854, -0.24582938849925995, -0.296375572681427, -0.04777589067816734, -0.7279788255691528, 0.4223023056983948, -0.3488481938838959, 1.1051466464996338, -0.8377456665039062, 0.3838264048099518, 1.0518215894699097, -0.45179125666618347, -0.9405524730682373, -0.025421809405088425, -0.1433972269296646, -0.5135678052902222, 0.43914973735809326, -0.016872506588697433, -0.22935791313648224, -0.1529994010925293, -0.27486249804496765, -0.6578301787376404, 0.8791903853416443, 0.09257930517196655, -0.5645961165428162, -0.10067152976989746, 0.36431360244750977, 0.8360538482666016, -0.2081153690814972, 0.7948949337005615, 0.6204299926757812, 0.45353224873542786, 0.23150894045829773, -1.0247900485992432, -0.18788480758666992, -0.020060285925865173, -0.17122752964496613, 0.29915836453437805, -0.5942745804786682, 0.8146611452102661, -0.24940212070941925, -0.2360888421535492, 0.29420724511146545, 0.6727966070175171, 0.2564166784286499, 0.47014299035072327, 0.23096691071987152, 0.6549944877624512, 0.6163009405136108, -0.30874598026275635, 1.0353660583496094, -0.014582641422748566, 0.40489211678504944, 1.2287801504135132, -0.30699869990348816, 1.085262417793274, 0.5494040846824646, -0.39888501167297363, 0.34299737215042114, 0.5084860324859619, 0.053171832114458084, 0.1109544113278389, 0.7373834848403931, -0.46023139357566833, 0.07451321929693222, -0.19712117314338684, -0.42224544286727905, 0.4383196234703064, 0.3411787152290344, -0.10572478920221329, -0.3503990173339844, 0.12920376658439636, 0.19911019504070282, 0.333865761756897, -0.391783207654953, 0.6006602048873901, 0.2564562261104584, -0.7995742559432983, 0.38227465748786926, 0.13510753214359283, 0.2946249544620514, -0.4431224465370178, 0.08703173696994781, -0.34681692719459534, 0.2765520215034485, -0.20946484804153442, -1.2468193769454956, -0.0556814931333065, 0.4843985140323639, -0.060969360172748566, -0.10238301753997803, 0.596095085144043, -0.40001922845840454, -0.5636413097381592, 0.21795491874217987, 0.42808428406715393, 0.3311336934566498, 0.4140776991844177, -0.31462132930755615, 0.3603896498680115, -0.28736260533332825, -0.5333918333053589, 0.19406214356422424, 0.18435759842395782, 0.11567670851945877, 0.409286230802536, 0.5045295357704163, 0.1653750091791153, 0.021431170403957367, 0.23091399669647217, 0.9254762530326843, -0.25702670216560364, -0.014266441576182842, -0.614605188369751, 0.43082302808761597, 0.14274299144744873, -0.4699922204017639, 0.948054313659668, 0.7370169758796692, 1.0767855644226074, 0.065668985247612, 0.8671162724494934, 0.3281185030937195, 0.8446153402328491, -0.706633448600769, 0.31555455923080444, -0.4199628233909607, 0.20079544186592102, -0.6554230451583862, -1.2397640943527222, -0.030289513990283012, 0.41576066613197327, -0.527748703956604, 0.3573571443557739, 0.9004386067390442, 0.34125229716300964, 0.15930375456809998, 0.06877482682466507, 0.44477587938308716, 0.05333973467350006, 0.41978719830513, 0.48709243535995483, 0.9807553291320801, -0.43905383348464966, 0.35821202397346497, -0.04718208312988281, -0.47772639989852905, 0.06586689502000809, -0.8329648375511169, -1.0869938135147095, -0.4481113851070404, -0.13962595164775848, -0.5800802707672119, 0.16478830575942993, 0.6836886405944824, -0.2663576900959015, -0.449106365442276, -0.6318085789680481, 0.6006752848625183, -0.2978920340538025, 0.3160207271575928, -0.2579330801963806, 0.38924315571784973, -0.18656356632709503, -0.6998667120933533, 0.10443248599767685, 0.10790914297103882, 0.2785300612449646, -0.40599483251571655, -0.022158438339829445, 0.13575510680675507, 0.5371127128601074, 0.6198137998580933, 0.11466715484857559, -0.7411989569664001, -0.1960655152797699, 0.32778260111808777, -0.5123480558395386, -0.2252655029296875, 0.8061563968658447, -0.44724148511886597, 0.5803042054176331, 0.49604323506355286, 0.5747734308242798, 0.3903500437736511, 0.1323617547750473, 0.4204693138599396, -0.1888277381658554, -0.27846962213516235, 0.333467960357666, 0.24421890079975128, 0.34324780106544495, -0.03490880876779556, 0.7922172546386719, 0.027375273406505585, -0.8385250568389893, -0.892593502998352, -0.08998006582260132, -0.7942262887954712, -0.2770846486091614, 1.263872742652893, -0.40009504556655884, -0.030034009367227554, 0.27742400765419006, -0.1923513412475586, 0.09487247467041016, -0.07727573812007904, 0.7269840836524963, 0.9948902130126953, -0.09994953870773315, -0.10655492544174194, -0.7608916759490967, 0.059104591608047485, 0.34341588616371155, -0.9674019813537598, -0.0019088640110567212, 0.4311133325099945, 0.18898040056228638, 0.012094488367438316, 0.8479890823364258, -0.32639822363853455, 0.16572214663028717, -0.2590625584125519, -0.10964890569448471, 0.0177776962518692, -0.4040408432483673, -0.43805238604545593, 0.20172792673110962, 0.13548098504543304, 0.08758638054132462 ]
http://arxiv.org/abs/2405.05435v1
http://arxiv.org/pdf/2405.05435v1
Analysis and prevention of AI-based phishing email attacks
2024-05-08T21:40:49
2024-05-08T21:40:49
Chibuike Samuel Eze, Lior Shamir
cs.CR
cs.CR, cs.AI, cs.CL
Phishing email attacks are among the most common and most harmful cybersecurity attacks. With the emergence of generative AI, phishing attacks can be based on emails generated automatically, making it more difficult to detect them. That is, instead of a single email format sent to a large number of recipients, generative AI can be used to send each potential victim a different email, making it more difficult for cybersecurity systems to identify the scam email before it reaches the recipient. Here we describe a corpus of AI-generated phishing emails. We also use different machine learning tools to test the ability of automatic text analysis to identify AI-generated phishing emails. The results are encouraging, and show that machine learning tools can identify an AI-generated phishing email with high accuracy compared to regular emails or human-generated scam email. By applying descriptive analytic, the specific differences between AI-generated emails and manually crafted scam emails are profiled, and show that AI-generated emails are different in their style from human-generated phishing email scams. Therefore, automatic identification tools can be used as a warning for the user. The paper also describes the corpus of AI-generated phishing emails that is made open to the public, and can be used for consequent studies. While the ability of machine learning to detect AI-generated phishing email is encouraging, AI-generated phishing emails are different from regular phishing emails, and therefore it is important to train machine learning systems also with AI-generated emails in order to repel future phishing attacks that are powered by generative AI.
[ -0.23791487514972687, -1.2323704957962036, -0.24788084626197815, 0.1578277200460434, -0.174812451004982, -0.018865786492824554, 0.2109198123216629, -0.714949369430542, 0.18561525642871857, 0.46433553099632263, -0.5055545568466187, -0.19297794997692108, -0.6116153001785278, 0.4330483078956604, -0.9646459221839905, 1.1344157457351685, 0.3747725188732147, 0.020624307915568352, -0.1571522206068039, 0.15811282396316528, -0.23366670310497284, -0.5188692808151245, -0.8754571080207825, -0.11718226969242096, 0.33007192611694336, 0.28590357303619385, 0.06635230779647827, 0.39155295491218567, 0.9379323720932007, 0.4220369756221771, 0.4877775311470032, -0.3932889997959137, -0.3135020136833191, -0.044724076986312866, 0.15090227127075195, -0.4237035810947418, -0.31526505947113037, 0.10381733626127243, 0.19754427671432495, 0.11460182070732117, -0.08529756963253021, 0.33060982823371887, 0.04093128815293312, 0.7223886251449585, -0.7415776252746582, 0.028906013816595078, -0.7681529521942139, 0.17042161524295807, -0.5472829341888428, -0.6810314655303955, -0.6560237407684326, -0.3604184091091156, 0.3059580326080322, -0.41911476850509644, 0.3498339354991913, 0.33521798253059387, 0.3240760266780853, -0.16218015551567078, -0.2276867777109146, -0.6278758645057678, -0.805480420589447, 0.3713440001010895, -0.3933235704898834, 0.01644250936806202, 0.35141801834106445, 0.49435847997665405, -0.29145219922065735, -0.47556573152542114, -0.39671990275382996, -0.050099924206733704, -0.18822726607322693, 0.13979850709438324, -0.5806266665458679, 0.22094283998012543, 0.26343968510627747, 0.37908485531806946, -1.1018402576446533, 0.2203746736049652, -0.6269310712814331, -0.3733066916465759, 0.9114595055580139, 0.18695025146007538, 0.6323743462562561, 0.20717443525791168, -0.028233803808689117, -0.17661717534065247, -0.5235223174095154, 0.19817037880420685, 0.6473202705383301, -0.026747042313218117, -0.1712835431098938, 0.5180204510688782, 0.0018724938854575157, 0.47938233613967896, 0.303611695766449, -0.3126809298992157, -0.08552088588476181, 0.21709540486335754, -0.5742887854576111, 0.228204146027565, 0.8573134541511536, -0.16045305132865906, 0.5430336594581604, -0.10013440996408463, -0.13861435651779175, 0.2638501524925232, 0.6304271221160889, -0.8046472668647766, -0.49836963415145874, 0.4498155117034912, -0.7740870118141174, -0.7146428227424622, 0.465471476316452, -0.9300008416175842, -0.5104101896286011, -0.11582567542791367, -0.03324803709983826, -0.22602951526641846, -0.20992961525917053, -0.21002116799354553, -0.20878054201602936, 0.25836625695228577, 0.08516236394643784, -0.9516698718070984, 0.3191482424736023, 0.687886118888855, 0.19276843965053558, -0.2600327134132385, -0.4271586239337921, -0.7717721462249756, 0.05059177055954933, -0.325784832239151, 0.8211930990219116, -0.5969813466072083, -0.15784917771816254, 0.3268805146217346, -0.2992088198661804, -0.11223356425762177, -0.528685450553894, 0.125780388712883, -0.7964392304420471, 0.4594730734825134, 0.37007373571395874, -0.608506441116333, -0.17029964923858643, 0.46419721841812134, -0.7334374189376831, 0.5828205347061157, -0.09736800193786621, -0.8859721422195435, 0.2233877032995224, -0.8578577637672424, -0.7187240719795227, 0.4267537295818329, -0.0878375768661499, -0.6460177898406982, 0.24389855563640594, -0.16711187362670898, 0.358691543340683, -0.46793490648269653, 0.012816176749765873, -0.3517180383205414, -0.1889084279537201, 0.4497963488101959, -0.5826526880264282, 1.025649070739746, 0.10852374136447906, -0.7775488495826721, 0.28081414103507996, -0.7468470335006714, -0.08328473567962646, 0.30852949619293213, -0.09555576741695404, 0.0061218407936394215, -0.40037819743156433, 0.10139115154743195, -0.11404120177030563, -0.019306804984807968, -0.27246588468551636, -0.15429389476776123, -0.6693978905677795, 0.1781330406665802, 0.7874723672866821, 0.23784556984901428, 0.2633500099182129, -0.568189263343811, 0.7309190630912781, 0.1533031165599823, 0.28942474722862244, -0.38724207878112793, -0.5972368717193604, -0.7656530141830444, -0.27898406982421875, 0.08996563404798508, 1.1264910697937012, -0.22990421950817108, 0.5131661891937256, -0.08660221844911575, -0.6807169318199158, -0.47673550248146057, -0.03961348906159401, 0.17329920828342438, 0.292786180973053, 0.13890227675437927, -0.06405704468488693, -0.26540419459342957, -0.7391858100891113, -0.3138781785964966, -0.4712333083152771, -0.06064445152878761, -0.008523295633494854, 0.6907745003700256, -0.040274713188409805, 0.5462035536766052, -0.3011927604675293, 0.1136171892285347, -0.012318720109760761, 0.426459401845932, -0.4646332263946533, 0.5562081933021545, 0.6681727170944214, -0.771062433719635, -0.5977203249931335, -0.23145294189453125, -0.8769763708114624, 0.18491874635219574, -0.4795193374156952, 0.11880099028348923, 0.02916012331843376, 0.05664768069982529, -0.6264729499816895, 0.8063684105873108, -0.048430897295475006, -0.33853262662887573, 0.6376594305038452, -0.33296746015548706, 0.40507620573043823, -0.6230095624923706, 0.1448703408241272, 0.09701258689165115, 0.25930264592170715, -1.044638752937317, 0.1140313446521759, -0.03723699599504471, -0.47167763113975525, -0.2839355170726776, 0.5876641869544983, -0.2554270029067993, -0.04831100255250931, -0.35868874192237854, -0.3136064410209656, -0.2692476511001587, 0.4380203187465668, -0.21887455880641937, 0.5510274767875671, 0.7504580616950989, -0.5950860977172852, 0.6191844940185547, 0.15501569211483002, -0.20089207589626312, 1.1406216621398926, -0.7700888514518738, 0.24100486934185028, -0.019643427804112434, 0.41549596190452576, -0.6938232183456421, -0.4972233474254608, 1.1636475324630737, -0.7989862561225891, 0.19561266899108887, 0.23291347920894623, -0.25901317596435547, -0.37944430112838745, -0.33992719650268555, 0.39140355587005615, 0.40132778882980347, -0.26032063364982605, 0.7885221838951111, 0.13062997162342072, -0.2565014660358429, -0.4781641364097595, -0.6736690998077393, 0.05524931475520134, -0.6367820501327515, -0.8065847158432007, 0.0657535195350647, -0.21353250741958618, -0.49044108390808105, -0.39053666591644287, 0.2514967620372772, -0.1682630479335785, 0.7091023325920105, 0.4024001955986023, 0.13152936100959778, -0.11755809932947159, -0.05626646429300308, -0.15434788167476654, -0.2548041045665741, 0.46639400720596313, -0.36520659923553467, 0.4244128167629242, 0.2491421401500702, -0.8196455240249634, -1.1700208187103271, 0.7745769023895264, 0.7276590466499329, -0.43658098578453064, 0.8642439246177673, 0.5558549165725708, -0.6197832822799683, 0.10979264974594116, -0.4288311302661896, -0.6765334010124207, -0.4213279187679291, -0.2539699971675873, -0.12961213290691376, -0.29870542883872986, 0.3020738959312439, 0.170782670378685, 0.27366429567337036, 0.5710618495941162, 0.3793914020061493, -0.2810755968093872, 0.8653216361999512, 0.9077049493789673, -0.4623488485813141, 0.550221860408783, -0.1121942326426506, 0.33480367064476013, 0.04653990641236305, -0.2934845983982086, -0.6903154253959656, -0.12735818326473236, -0.7566554546356201, 0.41375991702079773, -0.0027735780458897352, -0.19818218052387238, -0.39525437355041504, 0.06533673405647278, -0.6755832433700562, 0.09307821094989777, 1.0388145446777344, -0.28807511925697327, -0.0731050968170166, 0.3691684901714325, -0.04771862551569939, 0.35418960452079773, -0.4378998577594757, -0.5513538718223572, 1.5010461807250977, -0.10713453590869904, 0.16837680339813232, -0.031045718118548393, 0.7393540143966675, 1.0054194927215576, 0.4532740116119385, -0.3099087178707123, 0.3946366310119629, 0.1640847623348236, -0.3623867928981781, -0.1839050054550171, -0.13763079047203064, -1.289009690284729, -0.3084559738636017, -0.5241805911064148, -0.7604804635047913, -0.4924623966217041, 0.12674175202846527, -0.19368091225624084, 0.2486552894115448, -0.3648638129234314, 0.6760988235473633, -0.20320430397987366, -0.0015557471197098494, -0.35602691769599915, -0.5934678316116333, 0.0889146700501442, -0.37955376505851746, 0.194987490773201, 0.31939011812210083, 0.6390103697776794, 0.617112934589386, -0.25451570749282837, 0.8416929244995117, 0.016742069274187088, 0.05280395969748497, 0.4979037642478943, -0.03965643048286438, 0.7911288142204285, 0.0708613470196724, 0.033978935331106186, -0.035333745181560516, -0.4174841046333313, -0.6355072855949402, -0.45907628536224365, 0.2787465751171112, -0.6078660488128662, -0.6666831970214844, -0.5333688855171204, -0.20772527158260345, 0.25403285026550293, 0.2063126266002655, 0.4793151319026947, 0.21584004163742065, -0.23103922605514526, -0.02150718681514263, 0.672650158405304, -0.15674324333667755, 0.3980090320110321, 0.39842137694358826, 0.25417375564575195, -0.5565289855003357, 0.9387801289558411, -0.12042681872844696, -0.31074953079223633, 0.5297271013259888, 0.2074420303106308, 0.06829860061407089, -0.9398342370986938, -0.5970274209976196, -0.030320417135953903, -0.3311826288700104, -0.2927286624908447, -0.5224332809448242, -0.5263044834136963, -0.8997160196304321, -0.202882319688797, 0.3384023606777191, -0.019855717197060585, -0.19908425211906433, -0.07468221336603165, 0.3665938079357147, 0.6106423735618591, 0.18304948508739471, 0.49616971611976624, -0.8978734612464905, 0.29598456621170044, 0.40793532133102417, -0.16191433370113373, 0.03160566836595535, -0.06472126394510269, 0.04659901559352875, 0.20616860687732697, -0.2697427272796631, -0.9983314275741577, 0.1666972041130066, 0.08181300759315491, 0.657455325126648, 0.892071545124054, 0.1988234966993332, 0.16701757907867432, -0.020259326323866844, 0.7585880160331726, 0.13613244891166687, -0.5698659420013428, 0.7146489024162292, -0.2652915418148041, -0.060523178428411484, 0.22097858786582947, 0.34202802181243896, -0.5607004761695862, -0.5541635155677795, -1.0685510635375977, -0.36959075927734375, 0.361371248960495, 0.6044604182243347, 0.09495826810598373, 0.06477615982294083, 0.28352317214012146, 0.2821648418903351, 0.3537038564682007, -0.6131097078323364, -0.4162108600139618, 0.047151755541563034, -0.1540347784757614, 0.13902081549167633, -0.2103923112154007, -0.300803005695343, 0.3173265755176544, 0.6908137202262878, 0.2639201581478119, 0.4865116775035858, -0.4812223017215729, -0.06428349763154984, -0.18909063935279846, 0.13167501986026764, 0.749755322933197, 0.3757123351097107, 0.300619900226593, -0.1507020741701126, -0.06337897479534149, -0.5675696730613708, 0.10298425704240799, 0.23936054110527039, -0.35106417536735535, -0.19914062321186066, 0.7716158032417297, 0.38439464569091797, -0.419708251953125, -0.5989773273468018, 0.4396156668663025, -0.027074404060840607, -0.16123270988464355, -0.8067166209220886, 0.27528876066207886, -0.35484573245048523, 0.03096906654536724, 0.5281652212142944, 0.16036054491996765, 0.18140919506549835, -0.17489035427570343, 0.20729224383831024, 0.7760366201400757, -0.14518862962722778, -0.3294752538204193, 0.39784348011016846, 0.5610880851745605, -0.9061458706855774, 1.0819259881973267, -0.07003173232078552, -0.453941285610199, 0.8249152898788452, 0.5519022941589355, 1.0238711833953857, -0.4787047505378723, 0.18888114392757416, 0.08207210898399353, 0.3293896019458771, 0.052560750395059586, -0.05396747589111328, -0.19210562109947205, -0.47432228922843933, 0.33551496267318726, -0.23414750397205353, -0.2644798159599304, 0.4830300807952881, -0.5566427707672119, 0.19753000140190125, -0.578752875328064, 0.01975324936211109, 0.26514384150505066, -0.05576340854167938, -0.6133732199668884, 0.3007971942424774, 0.011191386729478836, 0.7261494994163513, -1.0274181365966797, 0.5284454226493835, 0.5403681397438049, -0.18381190299987793, -0.3423212170600891, 0.22560438513755798, 0.5815572142601013, -0.44170793890953064, 0.5382453203201294, 0.546576201915741, -0.20526202023029327, -0.10642897337675095, -0.37635618448257446, -0.23647433519363403, 1.032320261001587, 0.2116449922323227, -0.22514072060585022, 0.20678932964801788, 0.6669729948043823, 0.5633431673049927, -0.5138741135597229, 0.3324984014034271, 0.2513422667980194, 0.4288069009780884, -0.06452874839305878, -0.5028331279754639, -0.28643980622291565, -0.679473340511322, -0.33870482444763184, 0.2095486968755722, -0.26450246572494507, 0.6249634027481079, 0.35522615909576416, -0.2036600410938263, -0.007494685240089893, 0.7926852703094482, 0.27277687191963196, 0.7371461987495422, 0.1442839652299881, 0.5010607838630676, 0.9607974886894226, 0.19627398252487183, 0.6239852905273438, -0.4899671673774719, -0.11826114356517792, 0.5956845283508301, -0.08348847925662994, 0.5044097900390625, 0.2129807025194168, 0.010117711499333382, 0.31520798802375793, 0.8032430410385132, -0.2650567591190338, 0.1535581648349762, 0.6234134435653687, -0.47004595398902893, 0.12529383599758148, 0.3122246563434601, -0.4369359612464905, 0.5712770819664001, 0.27257972955703735, -0.46160539984703064, 0.06430938839912415, 0.36450445652008057, -0.036723483353853226, 0.12260301411151886, -0.2373618632555008, 0.8916093707084656, -0.3154122531414032, -0.5853654742240906, 0.28196629881858826, 0.1576879769563675, 0.7099522948265076, -0.43506401777267456, 0.21608388423919678, -0.14837463200092316, 0.14680832624435425, -0.15491512417793274, -0.10271824151277542, 0.4998874366283417, 0.34696346521377563, 0.08697742223739624, -0.0987045168876648, 0.999657928943634, 0.02154533751308918, -0.5608641505241394, -0.1212359145283699, 0.4309094548225403, 0.30774712562561035, -0.21837468445301056, -1.068312644958496, -0.26305320858955383, -0.14105181396007538, -0.2543806731700897, 0.3473099172115326, 0.4080667793750763, -0.06322979927062988, 1.0080476999282837, 0.7404916882514954, 0.02636006288230419, -0.14003074169158936, -0.2959291934967041, 0.30671030282974243, -0.3422054946422577, -0.6030287146568298, -1.1575214862823486, 0.36398014426231384, -0.5756931304931641, -0.13674071431159973, 0.6070522665977478, 0.8233044743537903, 0.7591678500175476, -0.16858184337615967, 0.9523453712463379, 0.03138067200779915, 0.27084997296333313, -0.18997067213058472, 0.7191247344017029, -0.16215863823890686, 0.46944567561149597, -0.19286611676216125, -0.8374896049499512, -0.30707409977912903, 0.2987895905971527, -0.29408982396125793, 0.08841615915298462, 0.4210929274559021, 0.5346739888191223, 0.013144983910024166, 0.2791849970817566, 0.03392552584409714, -0.3241223692893982, 0.5178250074386597, 0.1437864601612091, 0.7454130053520203, -0.436299592256546, 0.6743531227111816, -0.30661049485206604, -0.23228095471858978, -0.7475910186767578, -0.6036889553070068, -1.1300809383392334, -0.5034206509590149, -0.4536772668361664, -0.19575688242912292, 0.13765117526054382, 0.7192217707633972, 0.5470729470252991, -1.075021743774414, -0.1524438112974167, -0.3947250247001648, -0.15435484051704407, -0.29788148403167725, -0.2315906286239624, 0.20722705125808716, -0.15956875681877136, -0.5224271416664124, -0.04088720306754112, 0.5508519411087036, 0.5320310592651367, -0.37450045347213745, 0.2888445258140564, 0.10065001249313354, 0.40778592228889465, 0.24791137874126434, 0.5711809396743774, -0.6305497288703918, -0.30583658814430237, 0.11259647458791733, -0.42160025238990784, -0.011154723353683949, 0.9780223369598389, -0.6620380282402039, 0.055643949657678604, 0.5575669407844543, 0.9464457631111145, 0.11313275992870331, -0.08545468002557755, 0.6241387724876404, -0.07343947142362595, 0.058340009301900864, 0.24310150742530823, 0.10859851539134979, 0.09622389823198318, -0.7179195880889893, 0.3193625509738922, 0.26785117387771606, -0.28578755259513855, -0.5036131739616394, 0.2767046391963959, -0.5449546575546265, -0.3502075970172882, 0.6229821443557739, -0.34629425406455994, -0.06351371854543686, -0.2704785168170929, -0.07192892581224442, 0.2013631910085678, -0.27524295449256897, 1.292466640472412, 0.5640324950218201, -0.10920745879411697, -0.049174487590789795, -0.15173763036727905, 0.6813854575157166, 0.05024038255214691, -1.2897330522537231, -0.07661797106266022, 0.31164422631263733, 0.15031298995018005, 0.02586900256574154, 0.5631542801856995, 0.21619828045368195, 0.7229964137077332, 0.011701458133757114, -0.38072168827056885, 0.006841651163995266, -0.5340802073478699, -0.13848257064819336, 0.5174846053123474, -0.3198493421077728, -0.1769927740097046 ]
http://arxiv.org/abs/2405.05418v1
http://arxiv.org/pdf/2405.05418v1
Mitigating Exaggerated Safety in Large Language Models
2024-05-08T20:39:54
2024-05-08T20:39:54
Ruchi Bhalani, Ruchira Ray
cs.CL
cs.CL
As the popularity of Large Language Models (LLMs) grow, combining model safety with utility becomes increasingly important. The challenge is making sure that LLMs can recognize and decline dangerous prompts without sacrificing their ability to be helpful. The problem of "exaggerated safety" demonstrates how difficult this can be. To reduce excessive safety behaviours -- which was discovered to be 26.1% of safe prompts being misclassified as dangerous and refused -- we use a combination of XSTest dataset prompts as well as interactive, contextual, and few-shot prompting to examine the decision bounds of LLMs such as Llama2, Gemma Command R+, and Phi-3. We find that few-shot prompting works best for Llama2, interactive prompting works best Gemma, and contextual prompting works best for Command R+ and Phi-3. Using a combination of these prompting strategies, we are able to mitigate exaggerated safety behaviors by an overall 92.9% across all LLMs. Our work presents a multiple prompting strategies to jailbreak LLMs' decision-making processes, allowing them to navigate the tight line between refusing unsafe prompts and remaining helpful.
[ -0.38219118118286133, -0.9537681341171265, 0.6104626059532166, 0.24796755611896515, -0.14465811848640442, -0.0000022129406715976074, -0.1406908929347992, -0.2500081956386566, 0.08765450865030289, 0.5354790091514587, -0.6674837470054626, -0.33047762513160706, -0.5433774590492249, -0.06475021690130234, -0.23868785798549652, 0.9688279628753662, -0.08341075479984283, 0.010832872241735458, 0.05028991773724556, 0.10567644238471985, -0.6393635272979736, -0.6128332614898682, -1.0298497676849365, -0.0913531556725502, 0.9447208642959595, 0.5208976864814758, 0.8395711779594421, 0.610656201839447, 0.37241604924201965, 0.1706918179988861, -0.27916550636291504, 0.10988730192184448, -0.6936647891998291, 0.26264169812202454, -0.05700555816292763, -0.42482465505599976, -0.6694130897521973, -0.1326116919517517, 0.5384716391563416, 0.42795923352241516, -0.08887387812137604, -0.07296548038721085, 0.2395433485507965, 0.4313686490058899, -0.6893870234489441, 0.15156254172325134, -0.5183827877044678, -0.013933819718658924, -0.16708014905452728, -0.39910784363746643, -0.6916965842247009, -0.3914797902107239, -0.0355159156024456, -0.48058411478996277, -0.2651250958442688, 0.2909233272075653, 0.5076059103012085, 0.17247740924358368, -0.30953094363212585, -0.17623041570186615, -0.536834716796875, 0.7618635296821594, -0.3689451813697815, -0.12110672146081924, 0.6504524350166321, 0.3369673490524292, -0.46936509013175964, -0.19596406817436218, -0.3313823640346527, -0.32182449102401733, 0.04855549708008766, -0.30340108275413513, -0.4749615788459778, 0.2672041654586792, 0.5840062499046326, -0.34953537583351135, -0.558692455291748, 0.5684884190559387, -0.32560500502586365, -0.2948490083217621, 0.5644604563713074, 0.4408138394355774, 0.3257826864719391, -0.03527919203042984, -0.34292933344841003, -0.5244593620300293, -1.4004318714141846, 0.17126482725143433, 0.36842045187950134, 0.39691653847694397, -0.13434180617332458, 0.5524516701698303, -0.1444053053855896, 0.4780348539352417, -0.13105200231075287, -0.10067643970251083, 0.10215390473604202, -0.045450661331415176, -0.07910337299108505, 0.20652417838573456, 0.7593647241592407, 0.7481497526168823, 0.5253502130508423, 0.23219376802444458, -0.30288705229759216, 0.052465617656707764, 0.13414327800273895, -0.6376689672470093, 0.09776300191879272, 0.22863072156906128, -0.1814928650856018, -0.5585533976554871, -0.27070820331573486, -0.9877947568893433, -0.7611661553382874, 0.002541374182328582, 0.6110855937004089, -0.35453590750694275, -0.09372047334909439, 0.2082512229681015, 0.11977031081914902, 0.11429359763860703, 0.3566666543483734, -0.9484465718269348, 0.19748978316783905, 0.5866565108299255, 0.8800509572029114, -0.024776773527264595, -0.1785127818584442, -0.830024003982544, 0.3333345949649811, -0.46575769782066345, 0.6190642714500427, -0.3636555075645447, -0.6760289072990417, 0.07938505709171295, -0.17313851416110992, 0.15983763337135315, -0.27930089831352234, 0.7230126261711121, -0.37873902916908264, -0.06572331488132477, -0.5474523305892944, -0.4015715420246124, -0.26850587129592896, 0.43662208318710327, -0.6907986402511597, 0.6716354489326477, -0.3279533386230469, -0.6827481985092163, 0.39026013016700745, -0.6045054793357849, -0.39513951539993286, -0.2665990889072418, -0.12946151196956635, -0.2976248860359192, 0.04036664962768555, 0.4201290011405945, 0.6721822023391724, -0.18271279335021973, 0.23445424437522888, -0.4902097284793854, -0.2105989307165146, 0.22412529587745667, -0.7892248630523682, 0.684478223323822, 0.1404544711112976, -0.2547576427459717, 0.41713207960128784, -0.41317108273506165, -0.08078773319721222, 0.17739592492580414, -0.3918773829936981, -0.5361043214797974, -0.19750888645648956, -0.06023858115077019, 0.3569413423538208, -0.09237641841173172, -0.19157418608665466, 0.2270985245704651, -0.32434362173080444, 0.11213777214288712, 0.8967965245246887, 0.08608071506023407, 0.30486947298049927, -0.6820769309997559, 0.7710994482040405, -0.17808490991592407, 0.23529814183712006, -0.24983134865760803, -0.45180484652519226, -0.6690477728843689, -0.3203486502170563, -0.1186961904168129, 0.6465730667114258, -0.8087384700775146, 0.4305729269981384, -0.1185055822134018, -0.46080830693244934, -0.2878056764602661, 0.004771906416863203, 0.4744965732097626, 0.4471428096294403, 0.2847088575363159, 0.13230863213539124, -0.49211588501930237, -0.8109843730926514, -0.2952590584754944, -0.4481886029243469, 0.09528176486492157, -0.0005504699656739831, 0.27966591715812683, -0.05708520486950874, 0.7444983720779419, -0.4006545841693878, -0.04115091264247894, -0.43475717306137085, 0.11710558831691742, 0.10260161757469177, 0.6424254179000854, 0.7629197239875793, -0.6197256445884705, -0.31292954087257385, -0.3433772325515747, -0.49128663539886475, -0.11549734324216843, -0.3382725119590759, 0.05970605090260506, 0.37553295493125916, 0.608058512210846, -0.8853734135627747, 0.40037772059440613, 0.3534984290599823, -0.2967822253704071, 0.5864434838294983, -0.15415804088115692, 0.13777489960193634, -0.7243181467056274, -0.10472087562084198, 0.06538820266723633, -0.2124299705028534, -0.7171576619148254, 0.16850103437900543, 0.1666448563337326, 0.15017783641815186, -0.7314121723175049, 0.7230806350708008, -0.3801180422306061, 0.3121960759162903, -0.24742308259010315, 0.07048557698726654, -0.07000090926885605, 0.2263818085193634, 0.04703563079237938, 0.7576658129692078, 0.864713191986084, -0.5954738855361938, 0.28551310300827026, 0.2799418568611145, -0.3502514958381653, 0.17762386798858643, -0.6258118152618408, -0.08265525102615356, -0.18450681865215302, 0.4114258587360382, -1.0224921703338623, -0.39327648282051086, 0.4221537411212921, -0.09143166244029999, 0.3676608204841614, -0.24476084113121033, -0.5438782572746277, -0.30216315388679504, -0.6810309886932373, 0.3252747356891632, 0.6414892077445984, -0.6092430949211121, 0.3750447630882263, 0.3032348155975342, -0.6196152567863464, -0.7229549884796143, -0.5263859033584595, 0.24364027380943298, -0.7043060064315796, -0.5767015814781189, -0.10603677481412888, -0.30088087916374207, -0.48415395617485046, -0.377296507358551, 0.001420409418642521, 0.1026812270283699, 0.2251131534576416, 0.23887883126735687, 0.6407027244567871, 0.024718118831515312, 0.010517409071326256, 0.2911249101161957, -0.3046155273914337, 0.3049240708351135, 0.20826449990272522, 0.6002528071403503, -0.1329154372215271, -0.43909937143325806, -0.34051087498664856, 0.38379108905792236, 0.7692283987998962, 0.13929630815982819, 0.8336348533630371, 0.18227027356624603, -0.33397215604782104, -0.021494003012776375, -0.47948211431503296, -0.5340878367424011, -0.5151712894439697, 0.24504010379314423, -0.1257510483264923, -0.898071825504303, 0.30460524559020996, 0.0032449732534587383, 0.28580302000045776, -0.13032063841819763, 0.6162571907043457, 0.022328341379761696, 1.3553204536437988, 0.33696022629737854, -0.25793060660362244, 0.30978935956954956, 0.039001792669296265, 0.1901160031557083, -0.38670802116394043, -0.13098445534706116, -0.46492311358451843, -0.10651614516973495, -0.5262757539749146, -0.42991483211517334, 0.6493886709213257, -0.03291429206728935, -0.15215888619422913, 0.31501975655555725, -0.07137022167444229, 0.744679868221283, 0.3368857800960541, 0.11288489401340485, 0.1730300784111023, 0.13605844974517822, -0.17170359194278717, -0.07397724688053131, -0.8375635147094727, -0.675221860408783, 0.8577039241790771, 0.6528323292732239, 1.2696160078048706, 0.25138118863105774, 0.6500645279884338, -0.0041319457814097404, 0.12158473581075668, -1.0362348556518555, 0.7768974900245667, 0.17793670296669006, -0.7524052262306213, -0.2529538571834564, -0.4486641585826874, -0.887670636177063, 0.1881871074438095, -0.42584970593452454, -0.8813399076461792, 0.01474200002849102, 0.511483371257782, -0.7760223746299744, 0.2351871132850647, -0.6485530734062195, 0.5166484117507935, -0.315553218126297, -0.4433693587779999, -0.34699371457099915, -0.700556218624115, 0.5531665682792664, -0.2610785663127899, 0.45768681168556213, -0.2262783944606781, -0.1028159037232399, 0.561133086681366, -0.22384169697761536, 1.2604196071624756, -0.01697901450097561, -0.33825695514678955, 0.1568063348531723, 0.4945528507232666, 0.9280050992965698, -0.04227735847234726, -0.17560796439647675, -0.09010584652423859, -0.030494218692183495, -0.19511106610298157, -0.467000275850296, 0.8322228789329529, -0.39989733695983887, -0.8178171515464783, -0.3252730965614319, -0.641914963722229, -0.3351733088493347, 0.11225244402885437, 0.40506914258003235, 0.3768756091594696, -0.054610297083854675, 0.03803093358874321, 0.8711901903152466, -0.37153369188308716, 0.5683512091636658, 0.31848958134651184, -0.3651282489299774, -0.22286935150623322, 0.6832271218299866, 0.05644387751817703, 0.5219177603721619, 0.11333893984556198, 0.4755457937717438, -0.5505843162536621, -0.579841673374176, -0.2951001226902008, 0.07447351515293121, -0.9123647212982178, -0.24776138365268707, -0.5682060122489929, 0.0365917794406414, -0.2989543080329895, -0.33721137046813965, -0.07395908236503601, -0.6318216919898987, -0.27065718173980713, -0.46303391456604004, 0.5053311586380005, 0.650165855884552, -0.25694361329078674, 0.4900328814983368, -1.0080839395523071, 0.05389665067195892, 0.0792146846652031, 0.14828306436538696, -0.02727174013853073, -0.4802704453468323, 0.17517629265785217, -0.2824760973453522, -0.09843167662620544, -0.7871338725090027, 0.4717760384082794, -0.16193316876888275, 0.6506093144416809, 0.6570554375648499, 0.5475545525550842, 0.4686623513698578, -0.5575578212738037, 0.6031556725502014, 0.45820021629333496, -0.767210066318512, 0.5368414521217346, -0.6007406115531921, -0.12247984856367111, 0.4136694371700287, 0.6239368915557861, -0.5326831340789795, -0.3832765221595764, -0.457288920879364, -1.0770463943481445, 0.6047096848487854, 0.15325017273426056, 0.44258013367652893, -0.13727395236492157, 0.08317511528730392, 0.1252949833869934, -0.045237813144922256, -0.7994048595428467, -0.26427504420280457, 0.2618519365787506, -0.0955427959561348, 0.1636590212583542, -0.5162916779518127, -0.4864712357521057, -0.13022200763225555, 0.6757482886314392, -0.11643689125776291, -0.2268475741147995, -0.21887221932411194, 0.05976388230919838, -0.1358279287815094, 0.509448230266571, 0.7919109463691711, 0.39969417452812195, 0.0527503602206707, 0.33703669905662537, 0.44385889172554016, -0.28691646456718445, 0.35940021276474, -0.27549421787261963, -0.19144555926322937, -0.2897956371307373, 0.3484857976436615, 0.8906133770942688, 0.2065344601869583, -0.8556354641914368, 0.3938828408718109, -0.02641761302947998, 0.10341662168502808, -0.0761551558971405, 0.5351559519767761, -0.10737002640962601, 0.026150686666369438, 0.06229160726070404, 0.09594152867794037, -0.021253177896142006, -0.2581246793270111, 0.17477478086948395, 0.3816078305244446, -0.2238137125968933, -0.0860043317079544, 0.4152607023715973, 0.35319095849990845, -0.18615715205669403, 0.20841056108474731, -0.023512598127126694, -0.40272048115730286, 0.5443869829177856, 0.5287992358207703, 0.6635435223579407, -0.21670883893966675, 0.1468091607093811, 0.4756949543952942, 0.5468262434005737, -0.4550408720970154, 0.24290592968463898, 0.3516384959220886, -0.7193683385848999, -0.40727049112319946, -0.0936342403292656, -0.4680894911289215, 0.35097208619117737, -0.7056371569633484, 0.525534987449646, -0.7470892667770386, -0.19375742971897125, -0.19110062718391418, -0.44319725036621094, -0.14670763909816742, -0.08035673201084137, 0.12611892819404602, 1.252508282661438, -0.9333938956260681, 0.7563109397888184, 0.5381839871406555, -0.25923970341682434, -0.9243864417076111, 0.050185855478048325, 0.6228689551353455, -0.9053424596786499, 0.49733981490135193, 0.3134539723396301, -0.3156847357749939, -0.0983392670750618, -0.8162078261375427, -0.6243295073509216, 0.6290789842605591, 0.5845933556556702, -0.8771701455116272, 0.04636422544717789, -0.14259463548660278, 0.16657331585884094, -0.11624235659837723, 0.03730691596865654, 0.7986104488372803, 0.7463738918304443, 0.21039338409900665, -0.8007450699806213, 0.26993808150291443, 0.006127637345343828, -0.23394030332565308, 0.2117663025856018, -0.3514564335346222, 0.5044646263122559, -0.6103377342224121, -0.13315807282924652, 0.24019601941108704, 0.17368727922439575, 0.819938600063324, 0.2014838457107544, 0.7923559546470642, 0.1106487587094307, 0.7829233407974243, 0.04800863191485405, 1.1253880262374878, 0.052938733249902725, 0.177267923951149, 1.0520676374435425, -0.3909264802932739, 0.8464860916137695, 0.8058942556381226, 0.16692915558815002, 0.04730130359530449, 0.6574495434761047, 0.2067326456308365, 0.4697013795375824, 0.1232677474617958, -0.4451915919780731, -0.5915392637252808, -0.14142514765262604, -0.17814339697360992, 0.21979421377182007, 0.6849223375320435, -0.1384536474943161, -0.3120977282524109, 0.17716637253761292, 0.5958788394927979, -0.16222257912158966, -0.17006587982177734, 0.5759387612342834, 0.15176264941692352, -0.5889356136322021, 0.6786475777626038, -0.16342222690582275, 0.6033992171287537, -0.6715700030326843, -0.06214146688580513, -0.09479101747274399, -0.14521177113056183, -0.00039101403672248125, -1.0749711990356445, 0.13860590755939484, 0.20574958622455597, -0.002615439472720027, -0.29879507422447205, 0.6522541642189026, -0.441153883934021, -0.26308465003967285, 0.3974095582962036, 0.3359086215496063, 0.2045634537935257, 0.07952738553285599, -0.5922180414199829, 0.2362542599439621, -0.08973372727632523, -0.3904830515384674, 0.42581483721733093, 0.2837536633014679, -0.42838671803474426, 1.0507147312164307, 0.6212521195411682, 0.2981002926826477, -0.06265641748905182, -0.03413740545511246, 0.9829369187355042, -0.5633776187896729, -0.5903054475784302, -1.103450059890747, 0.4898199439048767, -0.016570791602134705, -0.05375654622912407, 0.6837974786758423, -0.030305512249469757, 0.543799877166748, -0.09741341322660446, 0.7739075422286987, 0.010202350094914436, 0.24156454205513, -0.8560254573822021, 0.9313400387763977, -0.36647599935531616, 0.7085199952125549, -0.303523451089859, -0.5705568790435791, -0.587973415851593, 0.7170946598052979, -0.3064248561859131, 0.03276072442531586, 0.4932054281234741, 1.1887156963348389, 0.1405360847711563, -0.08322293311357498, 0.6668031215667725, 0.2551411986351013, 0.448177307844162, 0.5015710592269897, 1.25015127658844, 0.04798666015267372, 0.7455282807350159, -0.16112837195396423, -0.44520047307014465, -0.4676268994808197, -1.2631053924560547, -0.9867469668388367, -0.13404065370559692, -0.3375757038593292, -0.4590291678905487, -0.016538817435503006, 1.443339467048645, 0.7760103940963745, -0.8108091354370117, -0.05679382383823395, 0.10765336453914642, 0.15711423754692078, -0.053431976586580276, -0.12271381914615631, 0.20862440764904022, -0.30574318766593933, -0.5390557646751404, 0.733208954334259, 0.22998078167438507, 0.48298898339271545, -0.2440144121646881, -0.19860446453094482, 0.1343822330236435, 0.1759447157382965, 0.6083387732505798, 0.3105097711086273, -0.6097906827926636, -0.4943125247955322, -0.10443640500307083, -0.23412615060806274, -0.19242516160011292, 0.7890839576721191, -0.46423274278640747, 0.20706425607204437, 0.6050910949707031, 0.4484737515449524, -0.12569785118103027, -0.17272941768169403, 0.7335882186889648, -0.9312753677368164, 0.1896987408399582, 0.12327750027179718, 0.542181670665741, 0.23104341328144073, -0.6671791672706604, 0.3505081832408905, -0.15517136454582214, -0.40451765060424805, -0.8308269381523132, 0.38163992762565613, -0.8293697237968445, -0.34167835116386414, 1.4432284832000732, -0.21083614230155945, -0.05489049106836319, -0.33313053846359253, -0.6709449291229248, -0.13113923370838165, -0.7165176272392273, 0.8268452882766724, 0.6340368986129761, -0.2515065670013428, -0.28803619742393494, -0.6545623540878296, 0.6389928460121155, 0.5860370993614197, -0.9212655425071716, 0.539310097694397, 0.6998898983001709, 0.2667075991630554, 0.07840225100517273, 0.2481667846441269, 0.03359532356262207, 0.3591960668563843, -0.27967798709869385, -0.2465469241142273, -0.06872232258319855, -0.6859294176101685, -0.788707435131073, -0.009255658835172653, 0.28723233938217163, 0.009430470876395702 ]
http://arxiv.org/abs/2405.05417v1
http://arxiv.org/pdf/2405.05417v1
Fishing for Magikarp: Automatically Detecting Under-trained Tokens in Large Language Models
2024-05-08T20:37:56
2024-05-08T20:37:56
Sander Land, Max Bartolo
cs.CL
cs.CL, 68T50
The disconnect between tokenizer creation and model training in language models has been known to allow for certain inputs, such as the infamous SolidGoldMagikarp token, to induce unwanted behaviour. Although such `glitch tokens' that are present in the tokenizer vocabulary, but are nearly or fully absent in training, have been observed across a variety of different models, a consistent way of identifying them has been missing. We present a comprehensive analysis of Large Language Model (LLM) tokenizers, specifically targeting this issue of detecting untrained and under-trained tokens. Through a combination of tokenizer analysis, model weight-based indicators, and prompting techniques, we develop effective methods for automatically detecting these problematic tokens. Our findings demonstrate the prevalence of such tokens across various models and provide insights into improving the efficiency and safety of language models.
[ -0.2838241457939148, -0.4228512942790985, 0.2840997278690338, 0.06548308581113815, -0.41200071573257446, 0.16661648452281952, -0.08649394661188126, -0.30553990602493286, 0.25124338269233704, 0.5208064913749695, -0.4468347728252411, -0.2401045560836792, -0.9395164251327515, 0.22718635201454163, -0.6762544512748718, 0.9238848686218262, -0.011550281196832657, 0.18553388118743896, -0.27915823459625244, 0.06371434777975082, -0.7414170503616333, -0.8288394212722778, -0.7128821015357971, -0.6858637928962708, 0.37645047903060913, 0.31518101692199707, 0.38135015964508057, 0.32435342669487, 0.44937780499458313, 0.31100860238075256, -0.3784869611263275, 0.35419705510139465, -0.2481103092432022, -0.04563136026263237, -0.06585767865180969, -0.679771363735199, -0.38799864053726196, -0.08235406875610352, 0.6192030906677246, 0.572598397731781, -0.00020674070401582867, 0.30596956610679626, -0.11891211569309235, 0.314643532037735, -0.7736455798149109, 0.12639069557189941, -0.9314320087432861, 0.3259042501449585, -0.5508482456207275, -0.30060040950775146, -0.5215916633605957, 0.09877323359251022, -0.611497700214386, -0.1703573763370514, 0.17742988467216492, -0.06629247218370438, 0.71601802110672, 0.21350114047527313, -0.3160887360572815, -0.6460145711898804, -0.31112486124038696, 0.686023473739624, -0.847192645072937, 0.14553140103816986, 0.5964788198471069, 0.20852166414260864, -0.6378901600837708, -0.7371615767478943, -0.6156426072120667, -0.3049611747264862, -0.22578324377536774, -0.18763574957847595, -0.47391313314437866, 0.012301760725677013, 0.09800814092159271, 0.37536191940307617, -0.4058835208415985, 0.41107261180877686, -0.20795248448848724, -0.36156877875328064, 0.25493261218070984, 0.2625499963760376, 0.5865895748138428, -0.4656645655632019, -0.010723460465669632, 0.3507933020591736, -0.8462243676185608, -0.1056135892868042, 0.7124833464622498, 0.5350253582000732, 0.008622364141047001, 0.8922917246818542, -0.11838285624980927, 0.76142817735672, 0.13593371212482452, 0.07462086528539658, 0.38027942180633545, -0.13670310378074646, 0.003630132647231221, 0.23580943048000336, 0.7268823981285095, 0.0520441047847271, 0.46240201592445374, -0.33999037742614746, -0.6161813735961914, -0.11183764040470123, 0.05627421289682388, -0.821760892868042, -0.07549313455820084, 0.2699677348136902, -0.49594399333000183, -0.6477839350700378, 0.07394610345363617, -0.5663222670555115, -0.6944337487220764, -0.11005454510450363, 0.3434094488620758, -0.19995516538619995, -0.633621871471405, 0.1661238670349121, -0.34108734130859375, 0.21023815870285034, -0.3022747039794922, -1.4330167770385742, 0.03760794550180435, 1.1497437953948975, 1.0470943450927734, -0.013380713760852814, -0.3782255947589874, -0.9941150546073914, 0.011484920978546143, -0.3478897213935852, 0.9104306101799011, -0.8120802044868469, -0.507948100566864, 0.1712905317544937, 0.11012287437915802, -0.16321498155593872, -0.6055518388748169, 0.3473100960254669, -0.4350683391094208, 0.30508074164390564, -0.4250465929508209, -0.7818859219551086, 0.09230957925319672, 0.46658313274383545, -0.3776591420173645, 0.9414036870002747, 0.03300512209534645, -0.8906289339065552, 0.7191835641860962, -0.8694257140159607, -0.08158423751592636, 0.3125458061695099, -0.04610021039843559, -0.4137556850910187, 0.5036177039146423, 0.3220497667789459, 0.6008931994438171, 0.13996954262256622, 0.21054866909980774, -0.27744370698928833, -0.722034215927124, 0.5192797780036926, -0.5484600067138672, 0.8431961536407471, 0.041141510009765625, -0.3487977683544159, 0.21149256825447083, -0.8144611120223999, -0.04484443739056587, 0.1373627781867981, -0.4000365436077118, -0.36015674471855164, -0.04703845828771591, 0.035465847700834274, 0.025962846353650093, 0.2035219371318817, -0.31367892026901245, 0.6661891937255859, -0.5555726289749146, 0.6151100993156433, 0.7753749489784241, -0.08809792995452881, 0.15023158490657806, 0.21288448572158813, 0.6247602105140686, 0.021326130256056786, 0.203606516122818, -0.31348276138305664, -0.4130682051181793, -1.015995979309082, -0.5286762714385986, 0.47253596782684326, 0.4457893967628479, -0.43117037415504456, 0.5590158104896545, -0.24389658868312836, -0.40592747926712036, -0.4895181655883789, 0.3581673204898834, 0.2612549960613251, 0.14872777462005615, 0.13803255558013916, -0.3309665322303772, -0.6955766081809998, -0.5320874452590942, -0.4052222669124603, -0.23987343907356262, -0.23954536020755768, -0.05859598144888878, 0.8418425917625427, -0.606621503829956, 0.9968242049217224, -0.10362241417169571, -0.40991315245628357, -0.41899213194847107, 0.39529523253440857, 0.23732809722423553, 0.38718679547309875, 0.783319890499115, -0.5294238924980164, -0.2637122571468353, -0.07255411893129349, -0.5945526361465454, -0.3771568238735199, -0.1146092638373375, 0.2678075432777405, 0.24336661398410797, 0.9217072129249573, -0.8178361654281616, 0.22708986699581146, 0.6331075429916382, -0.638495683670044, 0.42255285382270813, -0.1886877417564392, -0.12606628239154816, -0.9539387226104736, 0.47824499011039734, -0.5569935441017151, -0.08180217444896698, -0.7470591068267822, 0.06064741313457489, 0.018382064998149872, 0.08466660976409912, -0.3604636490345001, 0.7772868871688843, -0.4159114360809326, -0.1867833286523819, -0.5023453831672668, -0.09488262981176376, -0.438371866941452, 0.11444655805826187, -0.30912309885025024, 1.088080644607544, 0.3451671004295349, -0.17059394717216492, 0.5183890461921692, 0.08453568071126938, -0.2183210700750351, 0.4656652510166168, -0.6085956692695618, 0.2687216103076935, -0.2154153734445572, -0.045529209077358246, -1.1637609004974365, -0.3532562255859375, 0.6982008814811707, -0.6127633452415466, 0.41976669430732727, -0.8198426365852356, -0.7144942879676819, -0.5898779034614563, -0.07346385717391968, 0.14277303218841553, 0.36067697405815125, -0.6250807642936707, 0.6988125443458557, 0.3636215627193451, -0.0009736238280311227, -0.6386459469795227, -0.5994448065757751, 0.4514884352684021, -0.32020339369773865, -0.1540241688489914, -0.2512381076812744, 0.15182285010814667, -0.09055625647306442, -0.20088869333267212, 0.10128461569547653, -0.1049472838640213, 0.3834879696369171, 0.5191267728805542, 0.19987252354621887, -0.021318599581718445, 0.1948796808719635, -0.25528717041015625, -0.41337311267852783, 0.16025467216968536, -0.29886355996131897, 1.1922985315322876, -0.316216379404068, -0.7632426023483276, -0.3978480398654938, 0.0014028806472197175, 0.8120988607406616, -0.4482561945915222, 0.8571227192878723, 0.856162428855896, -0.27875369787216187, 0.1737465262413025, -0.5801650881767273, -0.026407390832901, -0.5655898451805115, 0.4180593490600586, -0.10342206805944443, -0.7880095839500427, 0.7618616223335266, 0.008014188148081303, -0.03699325770139694, 0.4289984703063965, 0.8184983730316162, 0.42988449335098267, 1.3926701545715332, 0.7663389444351196, -0.5052253007888794, 0.6230335235595703, -0.10363069921731949, 0.2788031995296478, -0.5609638094902039, -0.35836929082870483, -0.5563651323318481, -0.05602253973484039, -0.4255127012729645, -0.13678985834121704, -0.1623014360666275, -0.05692058429121971, -0.023177461698651314, 0.058552101254463196, -0.5076113343238831, 0.90262770652771, 0.4787261486053467, -0.5262400507926941, 0.055713314563035965, -0.05639097839593887, -0.3647834062576294, 0.10059218108654022, -0.7568859457969666, -0.4249047040939331, 1.1796761751174927, 0.2644096612930298, 0.2540878355503082, -0.1584746092557907, 0.833003580570221, 0.33464673161506653, 0.5099901556968689, -0.9257156252861023, 0.461512953042984, -0.08650162816047668, -0.6754202246665955, -0.07155487686395645, -0.45067116618156433, -0.9937793612480164, 0.14172634482383728, -0.26618751883506775, -0.7996068596839905, 0.13329313695430756, 0.30961430072784424, -0.2813797891139984, 0.436555951833725, -0.7360665202140808, 1.0153748989105225, -0.28775614500045776, 0.3158787488937378, -0.04356284439563751, -0.1377231776714325, 0.42392057180404663, -0.3443727195262909, 0.3493204712867737, -0.212755024433136, 0.011426442302763462, 0.523508608341217, -0.42380964756011963, 0.9441900849342346, -0.42777663469314575, -0.04946241155266762, 0.14512570202350616, -0.0019653828348964453, 0.6724186539649963, -0.23702916502952576, 0.11098957806825638, 0.2923276722431183, -0.18830542266368866, -0.37666696310043335, -0.17423155903816223, 0.5024765133857727, -0.5867910981178284, -0.1812235563993454, -0.4119929075241089, -0.3243575692176819, -0.028806131333112717, 0.446390837430954, 0.2668437063694, 0.21810957789421082, 0.19667233526706696, 0.09434424340724945, 0.36456266045570374, -0.17031264305114746, 0.4738934636116028, 0.5182715654373169, -0.4464868903160095, -0.3827049732208252, 1.053651213645935, 0.13052694499492645, -0.10302669554948807, -0.18298634886741638, 0.20821619033813477, -0.02565436251461506, -0.7550511360168457, -0.29304039478302, 0.2632341682910919, -0.7114824056625366, -0.29411858320236206, -0.46686339378356934, -0.25370004773139954, -0.24414357542991638, -0.013722271658480167, -0.47137755155563354, -0.2459091991186142, -0.5422664284706116, -0.04462144896388054, 0.3623020350933075, 0.6284326314926147, -0.2236434519290924, 0.690121054649353, -0.8228841423988342, 0.08381405472755432, 0.4757029116153717, 0.5333601832389832, 0.038972243666648865, -0.6792898178100586, -0.14016111195087433, 0.0270918607711792, 0.19846211373806, -0.41255220770835876, 0.29812386631965637, 0.22164560854434967, 0.5733908414840698, 0.7989716529846191, -0.3897508680820465, 0.8065458536148071, -0.6405982971191406, 0.8693845272064209, 0.3332248330116272, -1.1279598474502563, 0.4002574384212494, -0.3036141097545624, 0.3338330388069153, 0.5120026469230652, 0.1880047768354416, -1.095225214958191, -0.5341733694076538, -0.3980328142642975, -1.0891722440719604, 0.46312665939331055, -0.05155857652425766, 0.6786326766014099, -0.31938546895980835, 0.5775122046470642, -0.05589709058403969, 0.42226386070251465, -0.783430814743042, 0.040498603135347366, -0.22620640695095062, -0.31771761178970337, 0.15237857401371002, -0.6045426726341248, 0.002579652238637209, -0.17798806726932526, 0.665840744972229, -0.17301076650619507, 0.07189177721738815, -0.45901528000831604, -0.29500633478164673, -0.3912521302700043, 0.2390928417444229, 0.7310651540756226, 0.8936253190040588, -0.0573144406080246, 0.16513359546661377, 0.22149668633937836, -0.653925359249115, 0.005321850068867207, -0.0037294344510883093, -0.1211652010679245, 0.19135476648807526, 0.5687206983566284, 0.546720027923584, 0.31094351410865784, -0.9812535047531128, 0.8346405625343323, -0.03635186329483986, -0.0013662971323356032, -0.6190010905265808, 0.22175578773021698, -0.03413086757063866, 0.2950977683067322, 0.5336013436317444, -0.14932389557361603, 0.00513637438416481, -0.36568671464920044, 0.15139983594417572, 0.9098440408706665, -0.44469350576400757, -0.34497737884521484, 0.5393434166908264, 0.14400607347488403, -0.3062573969364166, 0.8140420913696289, -0.2528585195541382, -0.9723501205444336, 0.34340766072273254, 0.3060389757156372, 0.8899120092391968, -0.10058122128248215, 0.13496823608875275, -0.04457638040184975, 0.5215257406234741, -0.22423753142356873, 0.1545753926038742, 0.21338213980197906, -0.6092151999473572, -0.5902833938598633, -0.6075796484947205, -0.3284792900085449, 0.3693850338459015, -0.4311980903148651, 0.42945483326911926, -0.40652817487716675, -0.32944566011428833, 0.035214170813560486, -0.06191222742199898, -0.38111716508865356, -0.26145076751708984, 0.5788013935089111, 0.7899214029312134, -1.1770884990692139, 0.6194323897361755, 0.5622637867927551, -0.4247846305370331, -0.5017038583755493, -0.20911520719528198, 0.055174462497234344, -1.216271162033081, 0.9147652387619019, 0.42244091629981995, 0.06534281373023987, -0.041371170431375504, -0.6393629908561707, -0.7666282653808594, 0.7568417191505432, 0.3526630103588104, -0.4320013225078583, -0.020143453031778336, 0.6212171316146851, 0.41255679726600647, -0.02898312173783779, 0.20086395740509033, 0.6689687967300415, 0.5815100073814392, 0.1636301875114441, -0.8652928471565247, -0.15330179035663605, -0.1992495208978653, -0.20927442610263824, 0.5603123307228088, -0.4343813359737396, 0.8893335461616516, 0.21822801232337952, -0.045992881059646606, 0.21904003620147705, 0.42883992195129395, 0.1561259776353836, 0.08615877479314804, 0.592961311340332, 0.5086386203765869, 0.8327999114990234, -0.1035318523645401, 0.6425294876098633, -0.39250510931015015, 0.5239124894142151, 0.7447670102119446, -0.06421461701393127, 0.7792815566062927, 0.8251237273216248, 0.044115353375673294, 0.2207241803407669, 0.5405845642089844, -0.5754224061965942, 0.37356337904930115, 0.3381512761116028, -0.17835460603237152, -0.5911874771118164, 0.027156569063663483, -0.299821674823761, 0.725210428237915, 0.3389628231525421, -0.3898008167743683, -0.33640387654304504, 0.12569472193717957, 0.41037270426750183, -0.5016378164291382, -0.5812900066375732, 0.6838206648826599, -0.0029564471915364265, -0.34010204672813416, 0.6512436866760254, 0.06288900971412659, 0.8994263410568237, -0.7631362676620483, 0.06486035883426666, -0.5012796521186829, 0.31342706084251404, -0.19705639779567719, -0.2651369869709015, 0.23479612171649933, 0.3300303816795349, 0.12367695569992065, -0.11225036531686783, 0.8811428546905518, -0.3054739236831665, -0.7064589262008667, -0.07062621414661407, 0.3326614499092102, 0.14722251892089844, -0.16732937097549438, -0.6593025326728821, 0.12647999823093414, -0.31026187539100647, -0.3200747072696686, 0.3720497190952301, 0.5964905023574829, 0.047812264412641525, 0.8901256918907166, 0.8591132760047913, 0.29720833897590637, 0.044322751462459564, 0.03952561318874359, 0.8477104902267456, -0.28358978033065796, -0.3405434489250183, -1.302464485168457, 0.557328462600708, -0.1669713854789734, -0.2592635154724121, 0.8337184190750122, 0.4978674054145813, 0.585537314414978, -0.051423121243715286, 0.5244457125663757, 0.1468779295682907, 0.23993033170700073, -0.49465638399124146, 1.0221785306930542, -0.5738909244537354, 0.3141220808029175, -0.16656193137168884, -0.6590205430984497, -0.4943358302116394, 0.5489972829818726, -0.36675113439559937, -0.2302369773387909, 0.11505536735057831, 0.7539371848106384, -0.24785365164279938, -0.3947339653968811, 0.09460853040218353, 0.0258305836468935, 0.5260763168334961, 0.07537439465522766, 0.9536333680152893, -0.11918430030345917, 0.6505013108253479, 0.28752365708351135, 0.11043545603752136, -0.7125972509384155, -1.0509189367294312, -1.3570417165756226, -0.23412606120109558, -0.08102717250585556, -0.032869819551706314, -0.005978557281196117, 1.144091010093689, 0.3887892961502075, -1.0317654609680176, -0.15993615984916687, -0.22634705901145935, 0.15051987767219543, 0.0514567531645298, -0.17794093489646912, 0.19215042889118195, -0.6757676601409912, -0.447451651096344, 0.27485164999961853, 0.18849027156829834, 0.43922021985054016, -0.3979448080062866, 0.10328815132379532, 0.17514073848724365, 0.2705281674861908, 0.40822821855545044, 0.3434080481529236, -0.602005124092102, -0.4894462823867798, -0.15920662879943848, 0.12576884031295776, -0.17958414554595947, 0.8682011365890503, -0.6164489984512329, 0.3545202314853668, 0.24405153095722198, 0.4618867039680481, 0.11959420889616013, -0.3888506293296814, 0.38215309381484985, -0.9675315618515015, 0.5592222809791565, 0.09467637538909912, 0.4374231696128845, 0.37338632345199585, -0.14561784267425537, 0.2888345718383789, 0.39098024368286133, -0.3751034736633301, -1.4348433017730713, 0.018206113949418068, -0.3429739475250244, -0.3856874108314514, 1.1988039016723633, -0.025871774181723595, -0.18820327520370483, 0.05808784440159798, -0.21391813457012177, 0.056203220039606094, 0.032167550176382065, 1.145593285560608, 0.8978509902954102, 0.23353271186351776, 0.04837765172123909, -0.6723921298980713, 0.49805086851119995, 0.2130301594734192, -0.6832129955291748, 0.37558454275131226, 0.4592822790145874, 0.5063022971153259, 0.2089524120092392, 0.5111706256866455, 0.07038187235593796, 0.30231910943984985, -0.10380842536687851, 0.01114562712609768, -0.4637739956378937, -0.1611589640378952, -0.452026903629303, 0.0953652635216713, 0.24242299795150757, -0.09088169783353806 ]
http://arxiv.org/abs/2405.05386v1
http://arxiv.org/pdf/2405.05386v1
Interpretability Needs a New Paradigm
2024-05-08T19:31:06
2024-05-08T19:31:06
Andreas Madsen, Himabindu Lakkaraju, Siva Reddy, Sarath Chandar
cs.LG
cs.LG, cs.CL, cs.CV, stat.ML
Interpretability is the study of explaining models in understandable terms to humans. At present, interpretability is divided into two paradigms: the intrinsic paradigm, which believes that only models designed to be explained can be explained, and the post-hoc paradigm, which believes that black-box models can be explained. At the core of this debate is how each paradigm ensures its explanations are faithful, i.e., true to the model's behavior. This is important, as false but convincing explanations lead to unsupported confidence in artificial intelligence (AI), which can be dangerous. This paper's position is that we should think about new paradigms while staying vigilant regarding faithfulness. First, by examining the history of paradigms in science, we see that paradigms are constantly evolving. Then, by examining the current paradigms, we can understand their underlying beliefs, the value they bring, and their limitations. Finally, this paper presents 3 emerging paradigms for interpretability. The first paradigm designs models such that faithfulness can be easily measured. Another optimizes models such that explanations become faithful. The last paradigm proposes to develop models that produce both a prediction and an explanation.
[ -0.1485884040594101, -0.7030264139175415, 0.9760776162147522, 0.4397687315940857, -0.4802306592464447, -0.1372423768043518, -0.02423274703323841, -0.9423631429672241, -0.2760569751262665, 0.450716495513916, -0.39714059233665466, -0.11214931309223175, -0.7216275930404663, 0.17462563514709473, -0.5241336226463318, 0.899442195892334, -0.17237499356269836, 0.050678130239248276, -0.4519343674182892, -0.30653008818626404, -0.6865835189819336, -0.26250702142715454, -0.5164130330085754, -0.6303154230117798, 0.09940940886735916, -0.15085910260677338, 1.2583409547805786, 0.9941302537918091, 0.47202470898628235, 0.29253333806991577, -0.23655709624290466, -0.1325911581516266, -0.2815013527870178, 0.2503637373447418, -0.44249576330184937, -0.8673800230026245, -0.6306610107421875, 0.25884073972702026, 0.6085633039474487, 0.8230311274528503, -0.1342587172985077, -0.01979425549507141, 0.2577775716781616, 0.4054122567176819, -0.29195353388786316, 0.30259689688682556, -0.7064330577850342, -0.06694579124450684, 0.10920142382383347, -0.3394169211387634, -0.4984811544418335, -0.25619059801101685, 0.48436635732650757, -1.199242353439331, 0.10001341253519058, 0.25469666719436646, 0.6557216048240662, 0.35774970054626465, -0.24240368604660034, -0.13825350999832153, -0.9142213463783264, 1.0214848518371582, -0.715425968170166, 0.5239261388778687, 0.39890241622924805, 0.5290584564208984, -0.10317412763834, -0.9632599353790283, -0.5818494558334351, -0.11167235672473907, 0.016660325229167938, 0.01925070211291313, -0.22699092328548431, -0.1762581616640091, 0.03692709282040596, 0.18916001915931702, -0.25117963552474976, -0.0656123012304306, -0.21933519840240479, -0.1809152215719223, 0.5871215462684631, 0.19241014122962952, 0.30937325954437256, -0.04545100778341293, -0.39636746048927307, 0.37025150656700134, -0.6062089800834656, 0.07746279984712601, 0.08783379197120667, 0.045760758221149445, -0.049043938517570496, 0.16790525615215302, -0.07152675092220306, 0.5273845791816711, 0.17139692604541779, 0.11078061163425446, -0.13396401703357697, -0.5271815657615662, -0.20417603850364685, -0.1380227655172348, 0.2565544843673706, 0.29917842149734497, 0.07607384026050568, -0.2697603404521942, -0.0455644465982914, 0.29412972927093506, 1.0131466388702393, -0.38903337717056274, -0.24482804536819458, 0.4161883294582367, -1.007757306098938, -0.5250366926193237, 0.015184721909463406, -0.8031870722770691, -0.37473541498184204, -0.735254168510437, 0.5456421375274658, -0.743810772895813, -0.4988439381122589, 0.21177074313163757, -0.12235323339700699, 0.4764089286327362, 0.7423853874206543, -0.7047708034515381, 0.2990195155143738, 1.154081106185913, 0.7956013083457947, -0.051072437316179276, -0.5643956065177917, -0.050960786640644073, 0.16509504616260529, -0.4514702558517456, 0.7997558116912842, -0.5346938371658325, -0.33274680376052856, -0.15786466002464294, 0.12616901099681854, 0.0867728441953659, -0.061050355434417725, 0.4582039415836334, -0.4822816252708435, -0.08381672948598862, -0.1516847014427185, -0.5210761427879333, -0.8090139627456665, 0.17489559948444366, -0.5454791188240051, 0.45315924286842346, 0.012271873652935028, -0.5012249946594238, 0.627543568611145, -0.7717430591583252, -0.4212840497493744, 0.27925536036491394, -0.013967839069664478, -0.29414013028144836, 0.409329354763031, -0.2807818651199341, 0.0932869166135788, -0.14110925793647766, 0.5246593952178955, -0.4707791805267334, -0.44390344619750977, 0.5877835154533386, -0.46681448817253113, 0.6881420016288757, 0.39437711238861084, -0.5781736373901367, 0.10247449576854706, -0.5335935950279236, 0.2435426265001297, -0.07168804854154587, -0.0030668526887893677, -0.26898664236068726, 0.748556911945343, -0.1047455295920372, 0.1634114384651184, 0.2712832987308502, -0.26022616028785706, -0.17734190821647644, -0.4821544587612152, 0.766688346862793, 1.0227816104888916, -0.2158527970314026, 0.6818976402282715, -0.6123802661895752, 0.32209694385528564, -0.10588178783655167, 0.5971141457557678, -0.08721030503511429, -0.64795982837677, -0.5272387862205505, 0.3141372501850128, -0.14926622807979584, 0.407578706741333, -0.583835780620575, 0.25348523259162903, -0.31134194135665894, -0.6971458792686462, -0.42389994859695435, 0.035593967884778976, 0.3994375169277191, 0.44446778297424316, 0.44723087549209595, -0.28760939836502075, -0.4441864788532257, -0.8190845251083374, -0.9406070709228516, -0.46118372678756714, 0.14896360039710999, -0.0044553219340741634, 0.7437880039215088, -0.29155871272087097, 0.8805660009384155, -0.09097906947135925, 0.303890585899353, -0.23865269124507904, 0.1699530929327011, 0.21198444068431854, 0.6683843731880188, 0.24126407504081726, -1.3111430406570435, -0.055160995572805405, -0.0007194256177172065, -1.2243825197219849, 0.5604748725891113, -0.23419427871704102, -0.09247706085443497, 0.0033237477764487267, 0.2710316777229309, -0.4551970660686493, 0.5411750674247742, 0.08861135691404343, -0.33712369203567505, 0.5566807985305786, -0.09343650192022324, -0.11979398876428604, -0.7058618068695068, 0.06336313486099243, 0.004571403842419386, -0.10277887433767319, -0.9106920957565308, 0.3428526520729065, -0.017568884417414665, 0.16688643395900726, -0.6320345401763916, 0.6720614433288574, -0.4055821895599365, 0.1449405401945114, -0.4209120571613312, -0.20801888406276703, 0.34301432967185974, 0.04417235031723976, 0.04322921112179756, 0.3791874945163727, 0.7587148547172546, -0.8183125257492065, 0.13800343871116638, 0.6019653677940369, -0.2944467067718506, 0.777113139629364, -0.9429173469543457, -0.06354938447475433, -0.4501896798610687, 0.3943770229816437, -0.4308684468269348, -0.3848089873790741, 0.4152364432811737, -0.7432850003242493, 0.22356928884983063, -0.05026281625032425, 0.014501637779176235, -0.060174889862537384, -0.18906734883785248, 0.47717201709747314, 0.5424371361732483, -0.3369522988796234, 0.8871209025382996, 0.04790155589580536, -0.0962098240852356, -0.6439314484596252, -0.6896358728408813, -0.07800207287073135, -0.2595120072364807, -0.6602989435195923, 0.2061835080385208, -0.21248987317085266, -0.7266433238983154, 0.2270965725183487, -0.4921635687351227, -0.267727792263031, 0.4442082941532135, 0.6185707449913025, 0.4838445782661438, -0.2666599154472351, 0.018191171810030937, -0.2005661427974701, -0.5378454923629761, 0.2657409906387329, -0.5430799722671509, 0.07762087881565094, -0.40777212381362915, -0.1543274223804474, -0.8183733820915222, 0.46563398838043213, 0.7702004313468933, -0.1606896072626114, 0.8879423141479492, 0.569956362247467, -0.4798574149608612, 0.07206100225448608, -0.21354608237743378, -0.22025954723358154, -0.4997139275074005, 0.14308299124240875, -0.41106489300727844, -0.508459210395813, 0.228621706366539, -0.08918175846338272, 0.3082444667816162, 0.6187592148780823, 0.3263126611709595, -0.2781772315502167, 1.1546497344970703, 0.8894728422164917, 0.3791472613811493, 0.23625636100769043, 0.10788434743881226, 0.3193877339363098, -0.7643992900848389, -0.330354779958725, -0.3953557014465332, 0.049402009695768356, -0.6484566926956177, -0.1823779046535492, 0.294367253780365, 0.15404832363128662, -0.19612695276737213, 0.17903268337249756, -0.7027773261070251, 0.17676477134227753, 0.41321855783462524, 0.07452689111232758, 0.3613945543766022, -0.3408961296081543, 0.37922194600105286, 0.10817362368106842, -0.3347850739955902, -0.9926127791404724, 1.2574201822280884, 0.6399545669555664, 0.6686552166938782, 0.09422348439693451, 0.12381935119628906, 0.2484595626592636, 0.5293934941291809, -0.8219616413116455, 0.26991572976112366, 0.21957531571388245, -0.9892998933792114, -0.2865484654903412, -0.10950752347707748, -1.046547532081604, 0.3342377841472626, -0.35379675030708313, -0.7472801804542542, 0.3036213219165802, 0.46513840556144714, -0.28131192922592163, 0.21965450048446655, -0.4158646762371063, 0.7659798860549927, -0.34244364500045776, -0.35952016711235046, -0.2375430315732956, -1.0149669647216797, 0.49481651186943054, -0.13733899593353271, 0.5681219100952148, -0.031959258019924164, 0.011377458460628986, 0.7001568078994751, -0.03573736548423767, 0.7670088410377502, 0.032889630645513535, -0.015417356044054031, 0.24630050361156464, 0.16800647974014282, 0.4660399556159973, 0.2472270280122757, -0.354336678981781, 0.4995671808719635, 0.47011518478393555, -0.6340253949165344, -0.7328492403030396, 0.20913489162921906, -0.7329177260398865, -0.6527281999588013, -0.4462728500366211, -0.4472854435443878, -0.021583156660199165, 0.28540486097335815, 0.5698160529136658, 0.6145771741867065, -0.2759948670864105, 0.024656306952238083, 0.7644866704940796, 0.014964478090405464, -0.0473460778594017, 0.539778470993042, -0.03949692100286484, -0.027645336464047432, 0.9529284834861755, -0.14242234826087952, 0.24036484956741333, 0.19960486888885498, 0.10917097330093384, -0.29100796580314636, -1.1252703666687012, -0.021885883063077927, 0.08281594514846802, -0.7310488224029541, 0.23588871955871582, -0.4755752682685852, -0.08274050056934357, -0.2514001429080963, -0.44694772362709045, -0.3550271987915039, -0.20798419415950775, -0.26765531301498413, -0.028849568217992783, 0.04170798882842064, 0.8983129858970642, -0.1052616536617279, 0.29286259412765503, -0.7067983150482178, 0.46792057156562805, 0.183546781539917, 0.35738933086395264, -0.04199767857789993, -0.5084623694419861, -0.18713414669036865, 0.3110620975494385, -0.45889806747436523, -0.8638993501663208, 0.16953745484352112, 0.07891261577606201, 0.6714612245559692, 0.615994930267334, 0.03429305553436279, 0.3928571045398712, -0.46937689185142517, 0.7161849141120911, 0.07397039979696274, -1.3380296230316162, 0.6941114068031311, -0.23280039429664612, -0.14363259077072144, 0.5924261808395386, 0.4516431987285614, -0.5481923818588257, -0.4955437481403351, -0.8309813737869263, -0.7662023901939392, 0.6433975696563721, 0.2518911361694336, 0.21040166914463043, 0.3035653829574585, 0.7176558375358582, 0.8564184904098511, 0.36579737067222595, -0.6886993646621704, -0.14959381520748138, -0.6099831461906433, -0.09090370684862137, -0.20371925830841064, -0.02409161627292633, -0.4060359299182892, -0.17611096799373627, 0.4943011403083801, -0.19112910330295563, 0.5773552656173706, 0.12263711541891098, -0.11310981214046478, -0.34479501843452454, 0.3937196135520935, 0.33575811982154846, 1.4320358037948608, -0.2371734082698822, 0.4136773645877838, -0.24381768703460693, -0.4151441752910614, 0.16909407079219818, 0.010991928167641163, -0.38942980766296387, -0.22279497981071472, 0.8082890510559082, 0.7146121263504028, -0.007001109421253204, -0.4352932274341583, 0.3188651502132416, 0.0902450755238533, -0.2689287066459656, -0.5858237147331238, 0.21386168897151947, -0.2894301116466522, 0.2702862620353699, 0.380329430103302, 0.5943750143051147, 0.17739613354206085, -1.0333850383758545, 0.12282775342464447, 0.3808909058570862, -0.547798216342926, -0.7154558897018433, 1.1331950426101685, 0.04377281293272972, -0.3150354027748108, 0.5338448286056519, -0.058394573628902435, -0.4720174968242645, 0.5620844960212708, 0.4955723285675049, 0.590773344039917, -0.293235182762146, 0.38238540291786194, 0.0029340283945202827, 0.5322776436805725, -0.1990601122379303, 0.30714818835258484, 0.0641077309846878, -0.888225793838501, -0.30766740441322327, -0.5523492097854614, -0.7894178032875061, 0.026721414178609848, -1.1406710147857666, -0.1471804827451706, -0.28081515431404114, 0.022019576281309128, 0.520595371723175, -0.18362262845039368, -0.5691930651664734, 0.31746235489845276, -0.406575471162796, 0.8191303014755249, -0.8070337772369385, 0.4896318316459656, 0.7371336221694946, -0.22483502328395844, -0.47582563757896423, 0.07966756820678711, 0.368028849363327, -0.9128206372261047, 0.11940770596265793, 0.18710440397262573, 0.13749174773693085, -0.25603970885276794, -0.9050108790397644, -0.8823188543319702, 1.1026321649551392, 0.17545393109321594, -0.040832072496414185, -0.039633043110370636, -0.3817770779132843, 0.5844091176986694, -0.18218587338924408, -0.032989323139190674, 0.7822656035423279, 1.102003812789917, -0.2542569935321808, -0.6651232242584229, 0.2228097915649414, -0.4072977304458618, -0.12572182714939117, 0.15004484355449677, -0.30370935797691345, 0.8570117950439453, -0.18778693675994873, -0.2560376524925232, 0.2857751250267029, 0.6851766705513, 0.07907316833734512, 0.9335018992424011, 0.507816731929779, 0.07635704427957535, 0.5261238217353821, -0.08852716535329819, 1.1731752157211304, -0.14416445791721344, 0.1186656728386879, 0.8688184022903442, -0.11924014985561371, 0.6755912899971008, 0.48743340373039246, -0.1448124498128891, 0.4973966181278229, 0.764407753944397, -0.07741869986057281, 0.35005244612693787, -0.24720251560211182, 0.053270090371370316, -0.5012167096138, 0.010008585639297962, -0.34847214818000793, 0.6951094269752502, 0.5052372217178345, -0.3823440372943878, 0.19470080733299255, 0.06199965998530388, 0.09518175572156906, 0.10821456462144852, -0.12789037823677063, 0.5033922791481018, 0.20451104640960693, -0.7498024106025696, 0.5061553120613098, -0.03994319960474968, 0.3497183620929718, -0.5670865774154663, -0.16185416281223297, 0.18328067660331726, 0.0987490862607956, -0.2791564464569092, -0.8334148526191711, 0.5931947827339172, -0.5586804151535034, -0.23836229741573334, -0.2872687578201294, 0.7216141819953918, 0.08796650916337967, -0.35156911611557007, 0.19808773696422577, 0.8304159641265869, 0.2662632167339325, -0.08145061135292053, -0.6762043833732605, 0.09274217486381531, -0.12471891194581985, 0.0375228114426136, 0.17583481967449188, 0.277436226606369, -0.131729394197464, 1.0334354639053345, 0.6857486367225647, 0.06886003166437149, -0.25122854113578796, -0.7628099918365479, 0.7056881189346313, -0.6855127215385437, -0.6641828417778015, -0.7931894063949585, 0.4179169237613678, 0.08067317306995392, -0.22004716098308563, 0.673494279384613, -0.0023922473192214966, 0.2831913232803345, 0.18541006743907928, 0.90900057554245, 0.059067584574222565, 0.2265692949295044, -0.48627886176109314, 0.6374796628952026, -0.6953776478767395, 0.17516714334487915, -0.3036423325538635, -0.9077830910682678, -0.16669784486293793, 0.5558041334152222, -0.2817130386829376, 0.018331177532672882, 0.8706615567207336, 0.19940000772476196, 0.035795167088508606, 0.6364434957504272, 0.06255923211574554, 0.4965113699436188, 0.07748933881521225, 0.3137960433959961, 1.2041776180267334, -0.10313783586025238, 0.3343566954135895, -0.06017763167619705, -0.37249553203582764, -0.2962622344493866, -0.8258785605430603, -0.32943639159202576, -0.5523507595062256, -0.24828770756721497, -0.31600892543792725, 0.0492306649684906, 0.31829139590263367, 0.7841673493385315, -0.5423919558525085, 0.16294078528881073, -0.37906280159950256, 0.5250446200370789, -0.9588633179664612, -0.2526124119758606, 0.2751435935497284, -0.22148214280605316, -0.5269719362258911, 0.44740933179855347, 0.4239538908004761, 0.04251354932785034, -0.1562144160270691, -0.13749529421329498, 0.3364310562610626, 0.40627536177635193, 0.5761592984199524, 0.39409270882606506, -0.9961948990821838, -0.6232584118843079, -0.22799904644489288, 0.40211787819862366, 0.16874894499778748, 0.7320550680160522, -0.5623641014099121, 0.7182645797729492, 0.10450524091720581, 0.40235546231269836, 0.0033809635788202286, 0.12636667490005493, 0.9124366044998169, 0.24319137632846832, -0.14352114498615265, 0.37337809801101685, 0.21829535067081451, 0.15048322081565857, -0.4549587368965149, 0.5741251707077026, 0.1582612246274948, -0.519385814666748, -0.8329693078994751, 0.5853279829025269, -0.999144434928894, -0.6851853132247925, 0.7991288304328918, -0.3047254979610443, -0.26118209958076477, -0.8228937387466431, 0.15848766267299652, 0.23737509548664093, -0.13116149604320526, 0.7915623188018799, 0.5663805603981018, -0.6487872004508972, -0.03588905185461044, -0.8785111308097839, 0.5397591590881348, 0.4864124357700348, -0.813849687576294, 0.017039770260453224, 0.19054315984249115, 0.4113447368144989, 0.38987427949905396, 0.4479489326477051, -0.15178577601909637, 0.5497511029243469, 0.3508557379245758, -0.3590471148490906, -0.1082308292388916, -0.3958251178264618, -0.43350595235824585, 0.009100246243178844, 0.1600179225206375, -0.06555578112602234 ]
http://arxiv.org/abs/2405.06703v1
http://arxiv.org/pdf/2405.06703v1
Interpretable Cross-Examination Technique (ICE-T): Using highly informative features to boost LLM performance
2024-05-08T19:20:34
2024-05-08T19:20:34
Goran Muric, Ben Delay, Steven Minton
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we introduce the Interpretable Cross-Examination Technique (ICE-T), a novel approach that leverages structured multi-prompt techniques with Large Language Models (LLMs) to improve classification performance over zero-shot and few-shot methods. In domains where interpretability is crucial, such as medicine and law, standard models often fall short due to their "black-box" nature. ICE-T addresses these limitations by using a series of generated prompts that allow an LLM to approach the problem from multiple directions. The responses from the LLM are then converted into numerical feature vectors and processed by a traditional classifier. This method not only maintains high interpretability but also allows for smaller, less capable models to achieve or exceed the performance of larger, more advanced models under zero-shot conditions. We demonstrate the effectiveness of ICE-T across a diverse set of data sources, including medical records and legal documents, consistently surpassing the zero-shot baseline in terms of classification metrics such as F1 scores. Our results indicate that ICE-T can be used for improving both the performance and transparency of AI applications in complex decision-making environments.
[ 0.06879470497369766, -0.753502607345581, 0.7413495182991028, -0.012701400555670261, -0.4214300811290741, 0.37224218249320984, -0.06470529735088348, -0.7121736407279968, 0.0062522669322788715, 0.38629987835884094, -0.19006988406181335, -0.8111675381660461, -0.8119289875030518, 0.012121717445552349, -0.6093031764030457, 1.189239263534546, -0.2177053689956665, 0.2616480588912964, -0.18966011703014374, -0.28669679164886475, -0.5039255023002625, -0.21061541140079498, -0.6912919282913208, -0.39502251148223877, 0.3783743977546692, 0.42894136905670166, 0.7520927786827087, 0.8000715970993042, 0.47530844807624817, 0.1446089744567871, 0.14123961329460144, -0.1213504746556282, -0.27193254232406616, -0.003101755166426301, -0.2356887012720108, -0.79317706823349, -0.3901171088218689, 0.21469801664352417, 0.5056679248809814, 0.5224137902259827, -0.03339219093322754, 0.13958337903022766, 0.07765089720487595, 0.1272842288017273, -0.628507673740387, 0.2622802257537842, -0.4214528799057007, 0.25821393728256226, -0.32790470123291016, -0.31534168124198914, -0.5794479250907898, -0.0044580427929759026, 0.2596389055252075, -0.4738497734069824, 0.08615656197071075, 0.24969761073589325, 0.7911995053291321, 0.2951543629169464, -0.4438873529434204, -0.06188520789146423, -0.626137912273407, 0.9287171959877014, -0.4747786223888397, 0.44666779041290283, 0.010178686119616032, 0.6256499886512756, 0.2365081012248993, -0.745189905166626, -0.49966952204704285, -0.32305681705474854, -0.14924922585487366, 0.10768043994903564, -0.36801519989967346, 0.060243718326091766, 0.23851530253887177, -0.020666956901550293, -0.4840780198574066, 0.44733065366744995, -0.2448231428861618, -0.39885586500167847, 0.6615889668464661, 0.4694024324417114, 0.5656737685203552, 0.09935899078845978, -0.30213916301727295, 0.013828491792082787, -0.7484453320503235, 0.17571592330932617, -0.25681719183921814, 0.239263117313385, -0.3097836673259735, 0.543602705001831, -0.13736672699451447, 0.7718728184700012, 0.07657073438167572, -0.3303872346878052, 0.1851435750722885, -0.28846636414527893, -0.25937458872795105, 0.20046932995319366, 0.5853819251060486, 0.31550005078315735, -0.040140558034181595, -0.0986466035246849, -0.09971151500940323, -0.13854989409446716, 0.1322694569826126, -0.863045871257782, 0.07229383289813995, 0.4593256413936615, -0.6795583367347717, -0.49245116114616394, -0.06934583187103271, -0.8707113862037659, -0.3994375169277191, -0.25727227330207825, 0.3012799918651581, -0.354880690574646, -0.019825680181384087, 0.043818093836307526, -0.11265936493873596, 0.39071476459503174, 0.8087092041969299, -0.3969647288322449, 0.26463836431503296, 0.7838526964187622, 0.9234918355941772, -0.4221556782722473, -0.15792080760002136, -0.9868679642677307, 0.13671112060546875, -0.29755309224128723, 0.8437687754631042, -1.1242883205413818, -0.04620246961712837, -0.1531568020582199, -0.3991278111934662, -0.11689725518226624, -0.5174663662910461, 0.42737942934036255, -0.3024492859840393, 0.17947973310947418, 0.43098124861717224, -0.3572130501270294, -0.3170740604400635, 0.5940727591514587, -0.4205456078052521, 0.6930601596832275, 0.14620284736156464, -0.6001661419868469, 0.7117229104042053, -0.948246419429779, -0.5152571201324463, 0.28088629245758057, -0.5476370453834534, -0.5781546831130981, -0.11041177809238434, 0.4267860949039459, 0.6121312379837036, -0.5839530825614929, 0.23229750990867615, -0.39199739694595337, -0.2840996980667114, 0.15185324847698212, -0.25372257828712463, 0.7515122890472412, 0.2345150262117386, -0.5246782898902893, 0.260739266872406, -0.7756334543228149, 0.1527291238307953, -0.08187654614448547, -0.20474518835544586, -0.21017248928546906, -0.37180233001708984, -0.09146963059902191, 0.16959622502326965, 0.04812345653772354, -0.5487998723983765, 0.07086265087127686, -0.022578051313757896, 0.24694319069385529, 0.34027305245399475, -0.03553582355380058, 0.16918455064296722, -0.2536517381668091, 0.9539519548416138, 0.19563280045986176, 0.276740163564682, -0.19498710334300995, -0.7288747429847717, -0.41949209570884705, -0.5975497364997864, 0.5105312466621399, 1.076175570487976, -0.9973396062850952, 0.19821587204933167, -0.10250509530305862, -0.6214617490768433, -0.9621384739875793, 0.0047005959786474705, 0.5513471961021423, 0.7751110792160034, 0.3943541944026947, -0.031913310289382935, -0.13698232173919678, -0.8172813057899475, -0.5925295352935791, -0.25620976090431213, -0.07433480769395828, 0.5043160915374756, 0.5972330570220947, -0.1479087471961975, 0.38796064257621765, -0.5576472878456116, -0.09388063102960587, -0.3663574159145355, 0.5926150679588318, 0.24296079576015472, 0.33562129735946655, 0.5390674471855164, -0.6422083377838135, -0.6473938226699829, 0.27838438749313354, -1.0477570295333862, -0.17745061218738556, -0.4126485288143158, 0.11599629372358322, 0.09551826864480972, 0.4620329439640045, -0.46145132184028625, 0.8193533420562744, 0.1429826319217682, -0.4291677176952362, 0.4181000888347626, 0.06684019416570663, 0.36779293417930603, -0.6578284502029419, 0.06051257252693176, 0.13895437121391296, -0.22229929268360138, -0.8734586834907532, 0.24284802377223969, 0.13856761157512665, -0.24586638808250427, -0.665777325630188, 0.794295072555542, -0.4290880262851715, 0.071434885263443, -0.1400107443332672, -0.0034298100508749485, 0.09684384614229202, 0.09417068958282471, 0.0872146412730217, 0.573059618473053, 1.1077589988708496, -0.4530080556869507, 0.20808853209018707, 0.1662198007106781, -0.31212714314460754, 1.136834979057312, -0.42047426104545593, 0.1649511605501175, -0.24600529670715332, 0.1282377541065216, -0.6656413674354553, 0.0006680026999674737, 0.4025091826915741, -0.4012458622455597, 0.6119176149368286, -0.09427065402269363, -0.316424697637558, 0.10368846356868744, -0.37402644753456116, 0.713968813419342, 0.3079568147659302, -0.556352972984314, 0.9913941621780396, -0.000005604228135780431, -0.2336065173149109, -0.8705040216445923, -0.6956354975700378, 0.36606571078300476, -0.4020613133907318, -0.6254332065582275, 0.14455187320709229, 0.015522761270403862, -0.46559906005859375, 0.013611635193228722, 0.10287975519895554, -0.2627140283584595, 0.24918009340763092, 0.03335225582122803, 0.4670523703098297, -0.28094059228897095, 0.015263093635439873, 0.0860140472650528, -0.03271472826600075, -0.05042899027466774, -0.10558965057134628, 0.1821555495262146, 0.05290224030613899, -0.3275966942310333, -0.720503568649292, 0.43758830428123474, 0.6909458637237549, -0.22457703948020935, 0.6548281311988831, 0.6071456074714661, -0.3718620836734772, -0.20801334083080292, -0.48535698652267456, -0.14974288642406464, -0.31625866889953613, 0.33213719725608826, -0.46790552139282227, -0.8882789611816406, 0.5082523226737976, 0.025113830342888832, 0.04351621866226196, 0.3874798119068146, 0.2652471363544464, -0.15104952454566956, 1.0120285749435425, 0.6412045359611511, -0.14628027379512787, 0.43099072575569153, 0.14909017086029053, 0.22317767143249512, -0.6372645497322083, -0.5708466172218323, -0.7118813395500183, -0.17904679477214813, -0.5083927512168884, -0.4179687201976776, 0.7321234941482544, -0.10812510550022125, 0.01581699587404728, -0.1072697713971138, -0.33217599987983704, 0.3690584897994995, 0.2930450141429901, 0.43039247393608093, 0.2407917082309723, -0.07694168388843536, -0.01861349679529667, -0.010433310642838478, -0.7037177681922913, -0.37930819392204285, 1.406556248664856, 0.46433866024017334, 0.7996985912322998, -0.20753464102745056, 0.6768923997879028, 0.35364025831222534, 0.5766136050224304, -0.9124164581298828, 0.40154528617858887, -0.1419868767261505, -0.6129675507545471, -0.4294210374355316, -0.4123794436454773, -0.9840537905693054, 0.20945993065834045, -0.5468006730079651, -0.7835276126861572, -0.023654241114854813, -0.04358913004398346, -0.5713471174240112, 0.40852639079093933, -0.5596189498901367, 0.8223000168800354, -0.6914897561073303, -0.26655113697052, -0.32942405343055725, -0.5483300685882568, 0.3860918879508972, -0.36166471242904663, 0.1591094732284546, 0.11745411902666092, -0.35648536682128906, 0.55423504114151, -0.28998687863349915, 0.8489174246788025, -0.20965999364852905, 0.17395350337028503, 0.09791500866413116, 0.08260032534599304, 0.3945538401603699, -0.05476921424269676, -0.24792686104774475, 0.48272705078125, -0.07369469851255417, -0.4379085302352905, -0.9980783462524414, 0.181764155626297, -0.548151969909668, -0.796193540096283, -0.5110664367675781, -0.7978993654251099, -0.0710507184267044, 0.354143351316452, -0.0018185771768912673, 0.4754355549812317, -0.044854674488306046, 0.02323664352297783, 0.4976593255996704, -0.4671890437602997, 0.03190535306930542, 0.6502986550331116, 0.1347341686487198, -0.1792365461587906, 0.7647146582603455, 0.10587889701128006, 0.22683654725551605, 0.6483447551727295, 0.32467421889305115, -0.2139034867286682, -1.1533393859863281, -0.4576053023338318, 0.2515142560005188, -0.6621856093406677, -0.29797691106796265, -0.5508150458335876, -0.14180278778076172, -0.49093568325042725, -0.004722016863524914, 0.09846440702676773, -0.39255091547966003, -0.2996099889278412, -0.10892383754253387, 0.1763405203819275, 0.794021725654602, -0.02349632978439331, 0.17946675419807434, -0.9060465693473816, 0.3518351912498474, 0.039757005870342255, 0.377906858921051, -0.22106513381004333, -0.6307888627052307, -0.1809150129556656, -0.4216541647911072, -0.026816433295607567, -0.7250722646713257, 0.2360415756702423, 0.07438650727272034, 0.9335466027259827, 0.5863147974014282, 0.06295530498027802, 0.7116609215736389, -0.2713257074356079, 0.5384474992752075, 0.2615922689437866, -1.083166241645813, 0.7295946478843689, 0.028509853407740593, 0.2628713846206665, 0.5071837902069092, 0.4820874333381653, -0.33193182945251465, -0.55866938829422, -0.4591466188430786, -0.6583547592163086, 0.892096757888794, 0.1655152589082718, -0.3484572172164917, 0.4208299219608307, 0.527405858039856, 0.28864482045173645, 0.23239943385124207, -0.4466741383075714, -0.12628857791423798, -0.08604728430509567, -0.34817323088645935, -0.025837434455752373, -0.04180895537137985, -0.2911614179611206, -0.1236976832151413, 0.470294713973999, -0.3171638548374176, 0.11593269556760788, 0.2029726207256317, -0.10390780121088028, 0.026590518653392792, 0.4831887483596802, 0.6457690596580505, 0.8149186372756958, -0.23530787229537964, 0.11416079103946686, 0.2716910243034363, -0.4405854046344757, -0.023355918005108833, 0.12560942769050598, -0.35845011472702026, -0.09794826060533524, 0.7942429184913635, 0.6763088703155518, -0.17244569957256317, -0.6338231563568115, 0.46620047092437744, -0.13579624891281128, -0.029118353500962257, 0.036087460815906525, -0.008816398680210114, -0.5474089980125427, 0.48813527822494507, 0.19441473484039307, -0.03827662765979767, 0.42333289980888367, -0.968626081943512, 0.3616379201412201, 0.4450105130672455, -0.5868302583694458, -0.08721627295017242, 0.5388259887695312, 0.09464661031961441, -0.27450698614120483, 0.7544772624969482, 0.1069677472114563, -0.3690226376056671, 0.7256135940551758, 0.2850032150745392, 0.8834161162376404, -0.3628770112991333, 0.2875705659389496, 0.16359823942184448, 0.3437843918800354, 0.13443420827388763, 0.46407192945480347, 0.0010897415922954679, -0.6462211012840271, -0.33823874592781067, -0.03476490452885628, -0.6574043035507202, 0.2587079703807831, -0.90239018201828, 0.2560233771800995, -0.6990611553192139, 0.13812044262886047, 0.3384097218513489, -0.20625431835651398, -0.6857643127441406, 0.5279003977775574, 0.06962785869836807, 1.1269116401672363, -0.9562205076217651, 0.6216887831687927, 0.7188884615898132, -0.3838353455066681, -0.7140289545059204, 0.19362452626228333, 0.3026164770126343, -1.1378765106201172, 0.672271728515625, 0.19990046322345734, -0.0031758910045027733, -0.597054660320282, -0.8322034478187561, -0.5174221992492676, 1.1356209516525269, 0.39344701170921326, -0.5034009218215942, 0.1969420164823532, 0.31249120831489563, 0.746051549911499, -0.7059269547462463, 0.5099947452545166, 0.8723666071891785, 0.6236394643783569, 0.0743558406829834, -1.1469528675079346, 0.37865281105041504, -0.19342190027236938, -0.510713517665863, 0.03184407576918602, -0.4973582625389099, 0.5264027118682861, -0.3762631118297577, -0.15267299115657806, -0.16767509281635284, 0.32802680134773254, 0.49853071570396423, 0.9030916094779968, 0.6075586676597595, 0.4459301233291626, 0.9275895953178406, -0.04268111288547516, 1.23027765750885, -0.3372027277946472, -0.12749654054641724, 0.904352068901062, -0.44348645210266113, 0.7525257468223572, 0.4487254321575165, 0.23696278035640717, 0.45089513063430786, 0.4641306400299072, -0.34201857447624207, 0.3033857047557831, 0.14855949580669403, -0.1644415706396103, -0.564804196357727, -0.5708506107330322, 0.03054954670369625, 0.6789019703865051, 0.45736363530158997, -0.3366633951663971, -0.25988999009132385, 0.1255577802658081, 0.1262447088956833, -0.06843719631433487, -0.6432026028633118, 0.7138887643814087, 0.19499355554580688, -0.6424664855003357, 0.2948658764362335, -0.2048584371805191, 0.4437461197376251, -0.28840264678001404, -0.582904577255249, -0.016660969704389572, 0.11906055361032486, -0.47176918387413025, -1.0984529256820679, 0.16984084248542786, 0.16419707238674164, 0.13784071803092957, -0.2657347619533539, 0.6917206645011902, -0.23322845995426178, -0.6526064276695251, 0.4104146957397461, 0.6668926477432251, 0.5718324780464172, -0.007623777259141207, -1.048492670059204, 0.01762557402253151, -0.010502330958843231, 0.21276922523975372, 0.17832879722118378, 0.6603363752365112, -0.4925093948841095, 0.8654528260231018, 0.3319232761859894, 0.1620284616947174, -0.29638174176216125, 0.07215935736894608, 0.7405767440795898, -0.867630660533905, -0.44167208671569824, -0.8099493384361267, 0.5674537420272827, 0.002121846890076995, -0.13505156338214874, 0.35755738615989685, 0.6084497570991516, 0.7256006598472595, 0.21681730449199677, 1.0290937423706055, 0.06441941857337952, 0.6353462338447571, -0.7367783784866333, 0.5546510219573975, -0.5540466904640198, 0.35234835743904114, -0.1214718148112297, -0.3874949812889099, -0.7029516696929932, 0.2772342562675476, -0.35102012753486633, 0.1308610588312149, 0.8488724827766418, 0.5253269672393799, -0.07427607476711273, -0.2034415602684021, 0.5805191993713379, 0.3130161166191101, 0.3664206862449646, 0.5014341473579407, 0.8639089465141296, -0.3398682475090027, 0.8459542989730835, -0.11051635444164276, -0.4594819247722626, -0.1596652865409851, -0.8409960865974426, -1.3078930377960205, -0.02526371367275715, -0.7341122627258301, -0.38747742772102356, 0.045116715133190155, 0.6301233768463135, 0.8290137052536011, -0.9392022490501404, -0.06290196627378464, 0.6114073395729065, 0.2535110116004944, -0.3169625699520111, -0.2229253351688385, 0.4640207290649414, -0.14625045657157898, -0.551365852355957, 0.3746926486492157, 0.41916418075561523, 0.030336620286107063, -0.045532725751399994, -0.014997851103544235, -0.0034704848658293486, -0.05193230137228966, 0.5637215971946716, 0.14862795174121857, -0.6509449481964111, -0.306649386882782, 0.004537196364253759, 0.1619533896446228, 0.3919728100299835, 0.8983990550041199, -0.4931834638118744, 0.5105752348899841, 0.4486575722694397, 0.8402750492095947, 0.6568355560302734, -0.07648925483226776, 0.6933582425117493, -0.31816262006759644, -0.1189035177230835, 0.459435373544693, 0.3490397036075592, 0.14046914875507355, -0.8679969906806946, 0.5643354654312134, 0.07819981127977371, -0.10196972638368607, -0.7889524698257446, 0.20637354254722595, -1.0294288396835327, -0.3704098165035248, 0.8107144236564636, -0.5609346032142639, -0.28541919589042664, -0.5050067901611328, 0.055950846523046494, 0.19805626571178436, -0.6179419755935669, 0.9675637483596802, 0.5047230124473572, -0.6321415305137634, -0.5880758762359619, -0.5526869893074036, 0.2906978130340576, 0.5061874389648438, -1.2578474283218384, -0.3720368444919586, 0.2754763960838318, 0.5612392425537109, 0.34146246314048767, 0.36907511949539185, -0.38111770153045654, 0.5259215831756592, -0.13110460340976715, -0.08737187832593918, -0.14351658523082733, -0.6023404598236084, -0.7817090749740601, 0.1858486533164978, 0.03066233918070793, -0.13444948196411133 ]
http://arxiv.org/abs/2405.05378v1
http://arxiv.org/pdf/2405.05378v1
"They are uncultured": Unveiling Covert Harms and Social Threats in LLM Generated Conversations
2024-05-08T19:08:45
2024-05-08T19:08:45
Preetam Prabhu Srikar Dammu, Hayoung Jung, Anjali Singh, Monojit Choudhury, Tanushree Mitra
cs.CL
cs.CL, cs.AI, cs.CY, cs.HC, cs.LG
Large language models (LLMs) have emerged as an integral part of modern societies, powering user-facing applications such as personal assistants and enterprise applications like recruitment tools. Despite their utility, research indicates that LLMs perpetuate systemic biases. Yet, prior works on LLM harms predominantly focus on Western concepts like race and gender, often overlooking cultural concepts from other parts of the world. Additionally, these studies typically investigate "harm" as a singular dimension, ignoring the various and subtle forms in which harms manifest. To address this gap, we introduce the Covert Harms and Social Threats (CHAST), a set of seven metrics grounded in social science literature. We utilize evaluation models aligned with human assessments to examine the presence of covert harms in LLM-generated conversations, particularly in the context of recruitment. Our experiments reveal that seven out of the eight LLMs included in this study generated conversations riddled with CHAST, characterized by malign views expressed in seemingly neutral language unlikely to be detected by existing methods. Notably, these LLMs manifested more extreme views and opinions when dealing with non-Western concepts like caste, compared to Western ones such as race.
[ 0.012724176049232483, -0.8321689963340759, 0.3061645030975342, -0.03649522736668587, -0.1291850060224533, 0.34177857637405396, -0.1361316442489624, -0.4686526358127594, 0.2918681800365448, 0.8579457402229309, -0.710922122001648, -0.6638116836547852, -0.5672067403793335, -0.13756926357746124, -0.479052871465683, 1.1020597219467163, 0.4673686921596527, 0.002627997426316142, -0.1332477331161499, -0.18314407765865326, -0.3525707721710205, -0.7662329077720642, -0.101606585085392, -0.059496086090803146, 0.563620924949646, 0.4653882384300232, 0.8251112103462219, 0.25639843940734863, 0.680468738079071, 0.262481153011322, -0.27113014459609985, -0.000703832134604454, -0.9092488288879395, 0.4059846103191376, -0.274715393781662, -0.4879697561264038, -0.04762900248169899, 0.25468745827674866, 0.10121216624975204, 1.0943665504455566, 0.09167154878377914, 0.447118878364563, 0.08879083395004272, 0.7248635292053223, -0.6684485077857971, -0.316587895154953, -0.7599684596061707, -0.02083967626094818, -0.5165379643440247, 0.017119310796260834, -0.38388341665267944, -0.2617807388305664, -0.09448613226413727, -0.1593189835548401, 0.191120445728302, -0.1726045459508896, 0.47710880637168884, 0.029652636498212814, -0.9047350287437439, -0.3489784300327301, -0.8893943428993225, 0.6979680061340332, -0.47420722246170044, 0.20163224637508392, 0.275251179933548, 0.2522795498371124, -0.37576860189437866, -0.527934730052948, -0.2387034147977829, -0.07576997578144073, -0.15869340300559998, 0.00514562800526619, -0.5138847231864929, 0.016756534576416016, 0.23539650440216064, 0.24314531683921814, -0.32776790857315063, 0.3787650167942047, -0.8189478516578674, -0.3178190290927887, 0.9292227625846863, 0.6364561319351196, 0.5372274518013, -0.16267694532871246, -0.37374645471572876, 0.029819656163454056, -1.0628528594970703, 0.01790263131260872, 0.6714393496513367, 0.11836650967597961, -0.10028884559869766, 0.6030397415161133, 0.19312474131584167, 0.1316215693950653, -0.18492726981639862, 0.17561492323875427, -0.22717082500457764, 0.03572685271501541, -0.1050080806016922, -0.12869173288345337, 0.9471595287322998, 0.6286731958389282, 0.4238584637641907, -0.05972025915980339, -0.13586345314979553, 0.6472004055976868, 0.31871965527534485, -0.47961246967315674, 0.0689576268196106, -0.17957043647766113, -0.25512444972991943, -0.6756206154823303, -0.1000814139842987, -1.0201166868209839, -1.0312117338180542, 0.3166601061820984, -0.12526878714561462, 0.029342567548155785, -0.08481476455926895, -0.06650619953870773, -0.26846790313720703, 0.40091681480407715, 0.2076946496963501, -0.47734978795051575, 0.24351561069488525, 0.5243560075759888, 0.5928482413291931, -0.23416486382484436, 0.0941561684012413, -0.13923324644565582, 0.14423269033432007, -0.5413877964019775, 0.625491738319397, -0.7250888347625732, -1.0306150913238525, 0.2848310172557831, 0.05693906545639038, 0.3344515860080719, -0.4808894395828247, 1.0795245170593262, -0.49124273657798767, -0.0786815732717514, -0.4409487843513489, 0.041763097047805786, -0.1870422065258026, 0.15584027767181396, -0.04665093496441841, 1.0166720151901245, 0.013299963437020779, -0.6596699357032776, 0.11234433203935623, -0.6020640730857849, -0.4599102735519409, 0.3721145987510681, -0.041519489139318466, 0.026710251346230507, 0.2667417824268341, -0.2194374054670334, 0.5518316030502319, -0.5645493865013123, 0.12151600420475006, -0.4897781312465668, -0.29424741864204407, 0.5680949091911316, -0.587813138961792, 0.986190676689148, 0.3082664906978607, -0.3588315546512604, 0.2538270056247711, -0.3403329849243164, -0.4115667939186096, 0.19631421566009521, -0.08128179609775543, -0.9443427920341492, -0.08886003494262695, -0.1969604194164276, 0.17915387451648712, -0.19342631101608276, -0.7743356227874756, -0.07727956771850586, -0.36226168274879456, 0.4578794538974762, 0.9326665997505188, 0.1004878506064415, 0.4809083938598633, -0.20574404299259186, 0.4257664382457733, 0.14083123207092285, 0.5354717373847961, 0.23563042283058167, -0.332427442073822, -0.8224713206291199, 0.09241432696580887, -0.4542412757873535, 0.49834051728248596, -0.5719541907310486, 0.12945181131362915, -0.1938595175743103, -0.890529990196228, -0.2406417578458786, 0.10789798945188522, 0.31518998742103577, 0.27963119745254517, -0.03273563086986542, -0.0012276950292289257, -0.41246798634529114, -1.086959958076477, -0.7421419024467468, -0.30618804693222046, 0.05685274675488472, 0.20528241991996765, 0.6194318532943726, -0.7413812875747681, 0.6462184190750122, -0.6807658672332764, -0.4940122663974762, 0.046556055545806885, -0.041762035340070724, -0.1412481963634491, 0.14091502130031586, 0.05816621705889702, -0.6168911457061768, -0.49300169944763184, -0.21240706741809845, -0.7806833386421204, -0.32975977659225464, 0.13877981901168823, -0.19373798370361328, -0.1087711974978447, 0.5811154246330261, -0.36297789216041565, 0.5710344314575195, 0.41744405031204224, -0.30487242341041565, 0.6310095191001892, 0.23144488036632538, 0.008482269942760468, -0.9050421118736267, -0.2663591802120209, 0.037877846509218216, 0.23402142524719238, -0.7874771952629089, 0.06406787037849426, -0.08619596064090729, -0.3706505000591278, -0.8026804327964783, 0.518212616443634, -0.7199590802192688, 0.2064782828092575, 0.16553515195846558, 0.1812000870704651, -0.09294460713863373, 0.10414736717939377, -0.21997985243797302, 0.5253883600234985, 0.47811487317085266, -0.6315619945526123, 0.335262656211853, 0.30343005061149597, -0.2807532548904419, 0.4281245470046997, -0.5546374320983887, 0.48217150568962097, -0.17904166877269745, 0.3481309711933136, -0.9632951617240906, -0.43602490425109863, -0.02001284807920456, -0.30076342821121216, -0.10065104067325592, -0.06300978362560272, -0.35216662287712097, -0.5597768425941467, -0.5950890183448792, 0.7576383352279663, 0.7324821352958679, -0.23320257663726807, 0.21227362751960754, 0.8083722591400146, 0.0025572895538061857, -0.6347857117652893, -0.9793785214424133, 0.339243620634079, -0.5466915965080261, -0.7401592135429382, -0.02058900147676468, 0.1984003335237503, -0.861945390701294, -0.3170546293258667, 0.048502177000045776, 0.11083588004112244, 0.0876394733786583, 0.691760778427124, 0.30199211835861206, 0.09864219278097153, -0.011222507804632187, -0.06921769678592682, 0.2552247941493988, 0.4084402322769165, 0.18429876863956451, 0.3017539381980896, 0.014672157354652882, -0.4903073012828827, 0.18240024149417877, 0.690471887588501, 0.8324404954910278, -0.17249245941638947, 0.6956543922424316, 0.3036239445209503, -0.22855481505393982, -0.25206995010375977, -0.7174309492111206, -0.2970960736274719, -0.5149909853935242, 0.38817298412323, 0.2960215210914612, -1.0460293292999268, 0.6810029149055481, -0.2636345326900482, 0.010520819574594498, 0.327584832906723, 0.4379090368747711, -0.01592443510890007, 0.7753114104270935, 0.6070742607116699, 0.19874584674835205, 0.2239646464586258, -0.13079260289669037, 0.2722317576408386, -0.7740458846092224, -0.6641339659690857, -0.4940989315509796, -0.19025708734989166, -0.7572229504585266, -0.42669692635536194, 0.8097472190856934, -0.11861641705036163, -0.3632161617279053, -0.018015805631875992, -0.5159117579460144, 0.6075156927108765, 0.3035874664783478, -0.12275845557451248, 0.1526491940021515, 0.03677685186266899, 0.0100353779271245, -0.23173847794532776, -0.44359269738197327, -0.795500636100769, 1.0323947668075562, 0.42695173621177673, 1.4179680347442627, 0.36468273401260376, 0.3104720711708069, 0.6013323664665222, 0.5522846579551697, -0.7800514698028564, 0.801060676574707, -0.0867731049656868, -0.8709445595741272, -0.1041448786854744, -0.10886333137750626, -1.177359938621521, 0.2599428594112396, -0.14967912435531616, -0.8730724453926086, 0.38843780755996704, -0.09488589316606522, -0.1498379111289978, 0.44507259130477905, -0.3969516158103943, 0.30433592200279236, -0.29852068424224854, -0.5772744417190552, -0.07193637639284134, -0.7827016711235046, 0.8963031768798828, -0.10472474247217178, 0.5915294885635376, -0.3062557876110077, 0.051871731877326965, 0.914932906627655, -0.4113842248916626, 1.5105770826339722, 0.06327179074287415, -0.40513813495635986, 0.22186975181102753, 0.5223178863525391, 0.35741758346557617, -0.13070441782474518, -0.19146960973739624, 0.478813111782074, -0.0408160462975502, -0.3229692280292511, -0.3175792396068573, 0.8723074793815613, -0.859595000743866, -0.917210042476654, -0.34048086404800415, -0.6547616720199585, -0.19856062531471252, 0.13489514589309692, 0.34978699684143066, 0.346660852432251, -0.5684584975242615, 0.1884632706642151, 0.6563851833343506, -0.6462884545326233, 0.30490773916244507, 0.6512616276741028, -0.027185853570699692, -0.13886815309524536, 0.34090325236320496, -0.009477495215833187, 0.6031950116157532, -0.11231088638305664, 0.12726350128650665, -0.4205508530139923, -0.08983436971902847, -0.17550130188465118, 0.2953389883041382, -0.9207205772399902, -0.2758451998233795, -0.7158677577972412, -0.0712357833981514, -0.7315250039100647, -0.4183935523033142, -0.27367615699768066, 0.20703370869159698, -0.03070306032896042, -0.010880466550588608, 0.12132652848958969, 1.0681440830230713, -0.12972402572631836, 0.3816475570201874, -0.7505884170532227, 0.011272731237113476, 0.3382028043270111, -0.04099462553858757, -0.3138030171394348, -0.5948094725608826, 0.029299844056367874, 0.2945624887943268, -0.4967339336872101, -1.2566418647766113, 0.3469668924808502, -0.1272822916507721, 0.4108142852783203, 0.6206533312797546, 0.792521595954895, 0.4074358642101288, -0.26782459020614624, 1.0225753784179688, 0.13689814507961273, -0.48247045278549194, 0.46147841215133667, -0.5148877501487732, -0.01483684778213501, 0.349962443113327, 0.5962066650390625, -0.9633970260620117, -0.619530975818634, -0.579291582107544, -0.7237300872802734, 0.5576115846633911, -0.16212612390518188, 0.8451455235481262, -0.3570827841758728, -0.004247956443578005, 0.03834668919444084, 0.009951652958989143, -0.9155519604682922, -0.5137190222740173, 0.11380255967378616, 0.20831915736198425, -0.1396339237689972, -0.7017822265625, -0.4053104817867279, -0.18978999555110931, 0.3040139079093933, 0.3011351525783539, 0.08728299289941788, 0.028360644355416298, -0.19334140419960022, -0.4183409810066223, 0.59246826171875, 0.46528488397598267, 0.07753355801105499, 0.12867075204849243, 0.4920400381088257, 0.2406565397977829, -0.5268924832344055, 0.5451313257217407, -0.6622239947319031, -0.06485414505004883, -0.20747654139995575, 0.4097525179386139, 0.7096772193908691, 0.1825873702764511, -0.5519000887870789, 0.8615512251853943, 0.15803247690200806, -0.17898398637771606, -0.4133128225803375, -0.11561209708452225, 0.003989718854427338, 0.04891497641801834, 0.19253617525100708, 0.04986610263586044, 0.1114092543721199, -0.9965213537216187, -0.2736256718635559, 0.9231833815574646, -0.7036199569702148, -0.40771281719207764, 0.4738360047340393, 0.569645881652832, -0.616472065448761, 0.6749126315116882, -0.060173265635967255, -0.6858620047569275, 0.07970665395259857, 0.5767126679420471, 0.87517249584198, -0.3279242217540741, 0.4012296795845032, 0.011745080351829529, 0.7076225876808167, 0.48097214102745056, -0.229324072599411, 0.20812992751598358, -0.8423434495925903, -0.0033657674212008715, -0.691785991191864, -0.20918752253055573, 0.4586672782897949, -0.5947075486183167, 0.13833411037921906, -0.26607704162597656, -0.059553470462560654, -0.28688228130340576, -0.24868230521678925, -0.48770391941070557, -0.22270487248897552, 0.04947670176625252, 0.7414548397064209, -1.2537177801132202, 0.38662874698638916, 0.6787452697753906, -0.10940439999103546, -0.544161319732666, 0.16063416004180908, 0.4848403036594391, -0.7488712072372437, 0.8649920225143433, 0.020063260570168495, -0.2301412969827652, -0.11377780139446259, -0.5653441548347473, -0.5011214017868042, 0.48605218529701233, 0.4887758791446686, -0.25549137592315674, 0.022644512355327606, 0.6786174178123474, 0.6314190626144409, -0.016794908791780472, 0.22474804520606995, 0.4901295304298401, 0.3876199722290039, 0.09526757895946503, -0.7074153423309326, 0.18236877024173737, -0.2755005359649658, -0.025624176487326622, 0.3736743927001953, -0.7281662225723267, 0.7137061357498169, -0.37616491317749023, -0.6028326153755188, -0.42451414465904236, 0.15191613137722015, -0.18353813886642456, -0.0034417251590639353, 0.3175559937953949, -0.1767306923866272, 0.5240010619163513, 0.01976858265697956, 1.0156739950180054, 0.10169770568609238, -0.14181144535541534, 0.5841829180717468, -0.4104118049144745, 0.3463023602962494, 0.3997790515422821, -0.0812772884964943, 0.5607811808586121, 0.5593780279159546, 0.17562724649906158, 0.21984170377254486, 0.6378965377807617, -0.4852069318294525, -0.07829216122627258, -0.4254293441772461, -0.11885486543178558, 0.645268440246582, 0.6747021079063416, -0.2117466777563095, -0.35797110199928284, 0.11986880004405975, 0.18839797377586365, 0.3224412798881531, -0.36396077275276184, 0.7460318207740784, 0.2812711298465729, -0.4637788236141205, 0.5616940855979919, 0.030301712453365326, 1.0700271129608154, -0.568996250629425, 0.1720433235168457, -0.5046758055686951, 0.0790313109755516, -0.3162727952003479, -0.666318416595459, 0.3457959294319153, -0.0751214250922203, -0.023414211347699165, -0.07076655328273773, 1.017709732055664, -0.30236050486564636, -0.41392233967781067, 0.5402765274047852, 0.7184402346611023, 0.49662646651268005, -0.1708601862192154, -0.5884278416633606, 0.10574635863304138, 0.032680243253707886, 0.0921424850821495, 0.4601919651031494, 0.5491148829460144, -0.6640645265579224, 0.9121745824813843, 0.7495685815811157, 0.14949733018875122, 0.17191669344902039, -0.024721767753362656, 0.8592883348464966, -0.5676684975624084, -0.16641561686992645, -1.1860297918319702, 0.2768462300300598, -0.04766010493040085, -0.28364408016204834, 0.959148108959198, 0.281201034784317, 0.6670575737953186, -0.14749589562416077, 0.5034751892089844, 0.3124394714832306, 0.38342180848121643, -0.026788629591464996, 0.8957095146179199, -0.3547317385673523, 0.6195744872093201, -0.6839584708213806, -0.6903653144836426, -0.13216465711593628, -0.023062774911522865, -0.5250818133354187, -0.022608652710914612, 0.6199535727500916, 1.1833993196487427, 0.060669198632240295, -0.03361897170543671, 0.6714586019515991, 0.3022441864013672, 0.3267800509929657, 0.3346448540687561, 1.4646522998809814, -0.016533752903342247, 0.5040695667266846, -0.16320814192295074, -0.10168876498937607, -0.03931104391813278, -0.6032282114028931, -1.054234504699707, -0.6188628673553467, -0.21887025237083435, -0.2621864974498749, -0.058843668550252914, 0.5650692582130432, 0.3885025680065155, -0.351006418466568, -0.4501417577266693, 0.3410336375236511, -0.0090443454682827, 0.4234604239463806, -0.34055083990097046, 0.11509426683187485, -0.0810685083270073, -0.5406166315078735, 0.2316206395626068, 0.24137359857559204, 0.16749222576618195, -0.6943804025650024, 0.07739676535129547, -0.035493772476911545, 0.3104570508003235, 0.8584668636322021, -0.05184340849518776, -0.81172114610672, -0.25759243965148926, -0.055890582501888275, -0.17843517661094666, -0.6014072299003601, 0.852954626083374, -0.5418667793273926, 0.018878767266869545, 0.06806258857250214, 0.36762309074401855, -0.13674908876419067, -0.2786388695240021, 0.5777150988578796, -0.9092158675193787, 0.20166443288326263, 0.32956957817077637, 0.12334191799163818, 0.4775853455066681, -0.8039530515670776, 0.6572864651679993, 0.328797310590744, -0.439199298620224, -1.3648911714553833, 0.3856242299079895, -0.355308473110199, -0.3387875258922577, 1.625356912612915, 0.12649212777614594, -0.18205565214157104, -0.35865718126296997, -0.38431158661842346, 0.25770503282546997, -0.2301781177520752, 0.6309624910354614, 0.32698220014572144, 0.025447160005569458, 0.2522903382778168, -0.535305917263031, 0.7218825817108154, 0.44141092896461487, -0.7349989414215088, 0.41264376044273376, 0.5737358331680298, 0.3885033428668976, 0.19607150554656982, 0.5434945821762085, -0.2700149118900299, 0.006882155779749155, -0.07547174394130707, -0.016093451529741287, 0.005062183365225792, 0.10665832459926605, 0.0550696961581707, 0.01581459864974022, -0.03279672563076019, 0.09213918447494507 ]
http://arxiv.org/abs/2405.05376v2
http://arxiv.org/pdf/2405.05376v2
Kreyòl-MT: Building MT for Latin American, Caribbean and Colonial African Creole Languages
2024-05-08T19:06:19
2024-05-13T17:21:56
Nathaniel R. Robinson, Raj Dabre, Ammon Shurtz, Rasul Dent, Onenamiyi Onesi, Claire Bizon Monroc, Loïc Grobol, Hasan Muhammad, Ashi Garg, Naome A. Etori, Vijay Murari Tiyyala, Olanrewaju Samuel, Matthew Dean Stutzman, Bismarck Bamfo Odoom, Sanjeev Khudanpur, Stephen D. Richardson, Kenton Murray
cs.CL
cs.CL
A majority of language technologies are tailored for a small number of high-resource languages, while relatively many low-resource languages are neglected. One such group, Creole languages, have long been marginalized in academic study, though their speakers could benefit from machine translation (MT). These languages are predominantly used in much of Latin America, Africa and the Caribbean. We present the largest cumulative dataset to date for Creole language MT, including 14.5M unique Creole sentences with parallel translations -- 11.6M of which we release publicly, and the largest bitexts gathered to date for 41 languages -- the first ever for 21. In addition, we provide MT models supporting all 41 Creole languages in 172 translation directions. Given our diverse dataset, we produce a model for Creole language MT exposed to more genre diversity than ever before, which outperforms a genre-specific Creole MT model on its own benchmark for 26 of 34 translation directions.
[ -0.3506733477115631, -0.40817931294441223, 0.3297656178474426, 0.6458390951156616, -0.4433111846446991, 0.7341686487197876, -0.5338543057441711, -0.6339293718338013, 0.5550097227096558, 0.8878573179244995, -0.10059560090303421, -0.6593943238258362, -0.960983395576477, 0.35786736011505127, -0.4833022654056549, 0.9224053025245667, -0.2086075246334076, 0.05221756547689438, 0.14087547361850739, -0.4565455913543701, -0.5475690364837646, -0.649095356464386, -0.29892730712890625, 0.057232677936553955, 0.7960895299911499, 0.7205923795700073, 0.744304895401001, 0.8892166614532471, 0.5842538475990295, 0.27407294511795044, 0.3318987190723419, 0.35960665345191956, -0.4490119516849518, 0.2715250253677368, 0.014041228219866753, -0.5399873852729797, -0.6654412746429443, -0.35576072335243225, 0.37997907400131226, 1.1159374713897705, -0.08040458709001541, 0.49550580978393555, -0.09605343639850616, 0.8109008073806763, -0.6028181910514832, 0.28957968950271606, -0.5577414035797119, -0.11636265367269516, -0.5779757499694824, -0.17514270544052124, -0.49976637959480286, -0.6853872537612915, -0.0237119160592556, -0.06312426179647446, -0.013106328435242176, 0.20442701876163483, 0.46753767132759094, -0.08198370039463043, -1.0676915645599365, -0.4180615544319153, -0.7562739253044128, 0.9013224244117737, -0.3483680188655853, 0.6773239970207214, 0.5588782429695129, 0.5767338871955872, -0.14175057411193848, -0.8522638082504272, -0.517905056476593, -0.16639494895935059, 0.11541204899549484, -0.03774433583021164, -0.1559944897890091, -0.10220371931791306, -0.21024157106876373, 0.2168319672346115, -0.7038637399673462, 0.04085971787571907, -0.9798499941825867, -0.00845380686223507, 0.7111976742744446, 0.3339216411113739, 0.39317238330841064, -0.2193417102098465, -0.1000569611787796, -0.15197588503360748, -0.6879938840866089, -0.15953704714775085, 0.3466366231441498, 0.6739939451217651, -0.18980911374092102, 0.8432179093360901, 0.4101289212703705, 0.9376699924468994, -0.425839364528656, -0.3177624046802521, 0.2430393397808075, -0.21144622564315796, -0.3532032370567322, 0.03661288693547249, 0.7484662532806396, 0.47999319434165955, 0.24390438199043274, -0.19943073391914368, -0.16086451709270477, -0.1463961899280548, 0.3151160180568695, -0.8459305167198181, -0.1992654651403427, 0.2745688855648041, -0.6500923037528992, -0.16754725575447083, -0.3397669196128845, -0.880424439907074, -0.3161003589630127, -0.4430231750011444, -0.03541899472475052, -0.45672351121902466, -0.37828725576400757, 0.07229020446538925, 0.02236771397292614, -0.22444762289524078, 0.16959425806999207, -0.8099454641342163, 0.5481186509132385, 0.3076685667037964, 0.9730430245399475, -0.37087786197662354, -0.24150140583515167, -0.32434505224227905, -0.15887175500392914, -0.44048839807510376, 0.43479904532432556, -0.6206980347633362, -0.6939053535461426, 0.07308588922023773, 0.1080356016755104, -0.2299075722694397, -0.6671679615974426, 0.6460589170455933, -0.6861613392829895, -0.09871947020292282, -0.3667609691619873, -0.16174423694610596, -0.3667181432247162, -0.051456935703754425, -0.44156506657600403, 0.7581474781036377, 0.7365171313285828, -0.3228021562099457, 0.24043986201286316, -0.261761337518692, -0.5901455283164978, 0.08050566911697388, 0.05638345703482628, -0.09161011129617691, 0.2560988962650299, -0.019123872742056847, 0.21851886808872223, -0.6152706742286682, 0.23098069429397583, -0.2344578206539154, -0.21961894631385803, 0.17310792207717896, -0.10534577816724777, 1.060834527015686, 0.6393946409225464, -0.20434871315956116, -0.22111299633979797, -0.7088433504104614, 0.10106592625379562, 0.014969738200306892, -0.3287821412086487, -0.4627508819103241, -0.2998068332672119, 0.4856301546096802, 0.3875187635421753, 0.11975566297769547, -0.46248194575309753, 0.26229310035705566, -0.13591201603412628, 0.306450754404068, 0.4144890606403351, -0.22075819969177246, 0.4151342809200287, 0.12053877115249634, 0.9462750554084778, 0.04092487320303917, -0.18006497621536255, -0.15104874968528748, -0.667277991771698, -0.6932106614112854, -0.3851999342441559, 0.7723569869995117, 0.6915284395217896, -0.6108664274215698, 0.07426731288433075, -0.3549675941467285, -0.4691328704357147, -0.8405895829200745, 0.012369109317660332, 0.33924412727355957, 0.40108323097229004, 0.5632219314575195, -0.44074392318725586, -0.8233035802841187, -1.0478973388671875, -0.07994764298200607, 0.14417728781700134, 0.16195867955684662, 0.4268261790275574, 0.4325074255466461, -0.21728946268558502, 0.4407123029232025, -0.46367400884628296, -0.05843371897935867, -0.4402662217617035, -0.1381692737340927, 0.24653658270835876, 0.31610849499702454, 1.0351537466049194, -0.7412047982215881, -1.1741056442260742, 0.4081529676914215, -0.6543651819229126, -0.18012972176074982, 0.41185668110847473, 0.004633029457181692, 0.42976292967796326, 0.2828202247619629, -0.3371036946773529, 0.2768254280090332, 0.8140190243721008, 0.030303100124001503, 0.5036537051200867, -0.18557390570640564, 0.5138522982597351, -1.264461636543274, 0.21680034697055817, -0.2178826928138733, -0.21746385097503662, -0.6084986329078674, 0.24210429191589355, 0.1233530193567276, -0.3444252014160156, -0.2691495418548584, 0.5083404779434204, -0.5332843661308289, -0.06188760697841644, -0.24494491517543793, 0.30453723669052124, -0.2831974923610687, 0.4767802953720093, -0.07315496355295181, 0.6723743677139282, 0.32296767830848694, -0.6298759579658508, 0.20666158199310303, 0.17378582060337067, -0.2756790220737457, 0.5512670874595642, -0.7035611867904663, 0.14493697881698608, 0.07281160354614258, 0.2295103818178177, -0.7378473877906799, -0.3375122547149658, 0.09021822363138199, -0.6094198226928711, 0.47931498289108276, -0.6485485434532166, -0.30118200182914734, -0.5763797163963318, 0.16151297092437744, 0.5031006932258606, 0.5031516551971436, -0.32442572712898254, 0.25112199783325195, 0.7555074095726013, -0.566946804523468, -0.7518289089202881, -0.8649405241012573, 0.6298654079437256, -0.16868644952774048, -0.569553792476654, 0.05154189467430115, -0.005162600427865982, -0.38981008529663086, -0.2385101467370987, -0.07017064839601517, -0.3853321671485901, -0.24960346519947052, 0.09629607945680618, 0.1853787899017334, -0.29291272163391113, -0.09910804778337479, 0.26207852363586426, 0.20301270484924316, -0.16606037318706512, -0.8682654500007629, 0.9162772297859192, 0.19248263537883759, -0.07888542860746384, 0.16257379949092865, 0.6857527494430542, 0.8911275267601013, -0.6313092708587646, 1.0578465461730957, 0.5697130560874939, -0.15439321100711823, -0.02908005751669407, -0.28716781735420227, 0.40244102478027344, -0.4159972369670868, 0.44625335931777954, -0.546076774597168, -0.9499425292015076, 0.6037636995315552, 0.12313954532146454, -0.08522055298089981, 0.1819431036710739, 0.7784122228622437, -0.020679397508502007, 1.0713717937469482, 0.7008553147315979, -0.1494394987821579, 0.19073180854320526, -0.34516653418540955, 0.1607513576745987, -0.600976824760437, -0.24734754860401154, -0.8877617716789246, -0.45007994771003723, -1.031253457069397, -0.5605122447013855, 0.31334251165390015, -0.005540498998016119, -0.032318804413080215, 0.9486125111579895, -0.2949214279651642, 0.2222549319267273, 0.5154455304145813, -0.12564347684383392, 0.0867256224155426, 0.2529550790786743, -0.41294997930526733, -0.3253990411758423, -0.5062367916107178, -0.5310201644897461, 1.530782699584961, 0.0015217976178973913, 0.3378658592700958, 0.3689023554325104, 0.7832350134849548, 0.3579733073711395, 0.27822548151016235, -0.6497979760169983, 0.31565335392951965, -0.4740401804447174, -0.4792823791503906, 0.2320292741060257, -0.4940057396888733, -1.251333475112915, 0.1847708374261856, 0.137671560049057, -0.6970660090446472, 0.40962889790534973, 0.23692463338375092, 0.16650903224945068, 0.32731884717941284, -0.786283552646637, 0.8211095333099365, -0.08326472342014313, -0.08197589218616486, -0.30559128522872925, -0.8491835594177246, 0.590001106262207, -0.17259131371974945, 0.27901723980903625, 0.1971401870250702, 0.08666394650936127, 0.1306770294904709, -0.5889767408370972, 0.43211209774017334, -0.24998430907726288, -0.16364462673664093, 0.4333229064941406, 0.5729525685310364, 0.2843896448612213, -0.09807463735342026, -0.10209730267524719, 0.2268902212381363, -0.01260094903409481, -0.6942319869995117, -0.3381046652793884, 0.7613600492477417, -0.7498148083686829, -0.1795864850282669, -0.19655849039554596, -0.6056441068649292, -0.1269354671239853, 0.3756762146949768, 0.1636824756860733, 0.4724642336368561, -0.050090234726667404, 0.4023173749446869, 0.31162896752357483, -0.1833008974790573, 0.21175344288349152, 0.666584312915802, -0.6724081039428711, -0.8572145700454712, 1.2118133306503296, 0.314325213432312, 0.3420552611351013, 0.41476303339004517, -0.24152635037899017, -0.2239713966846466, -0.8522484302520752, -0.6859268546104431, 0.005280061159282923, -0.3727814257144928, -0.2141331136226654, -1.0625505447387695, 0.04873797297477722, -0.42809030413627625, -0.2181519865989685, -0.2224382758140564, -0.9428617358207703, 0.3105987012386322, -0.062284428626298904, 0.0039015403017401695, 0.7058393955230713, -0.08837877213954926, 0.3220483064651489, -1.1062942743301392, 0.19689102470874786, 0.06704505532979965, 0.018654456362128258, -0.01159981731325388, -0.4618663787841797, -0.634360671043396, 0.3449597656726837, -0.22855059802532196, -0.9075661301612854, 0.8254527449607849, 0.06283688545227051, 0.28655490279197693, -0.05037359148263931, -0.10271188616752625, 0.5663750171661377, -0.6450896859169006, 0.7264878153800964, 0.14340974390506744, -0.7164902091026306, 0.3800290524959564, -0.5149071216583252, 0.08057533949613571, 0.4995807111263275, 0.4656527042388916, -0.8171734809875488, -0.5860198140144348, -0.43368297815322876, -0.8502485156059265, 0.4926595091819763, 0.341183066368103, 0.03586272522807121, -0.33602049946784973, 0.1048261970281601, 0.3130124509334564, 0.6054809093475342, -0.3051026165485382, -0.41301894187927246, -0.31780168414115906, -0.30552607774734497, -0.29336482286453247, -0.03111829236149788, 0.12201478332281113, -0.20268796384334564, 0.3148876130580902, -0.09544563293457031, 0.2218841165304184, -0.07003176212310791, -0.5085940361022949, -0.2444380819797516, 0.2724466025829315, 1.1385091543197632, 0.7923763990402222, -0.40161198377609253, 0.07339625805616379, 0.010249101556837559, -0.9477611780166626, 0.1613141894340515, 0.07094912230968475, -0.12296576052904129, 0.05145144835114479, 0.1999250203371048, 0.5639940500259399, -0.2034302055835724, -0.5377575159072876, 0.06055985763669014, 0.024755820631980896, 0.0747247263789177, -0.14882539212703705, -0.12300680577754974, 0.19740252196788788, 0.0383325070142746, 0.361759752035141, 0.571283757686615, 0.11154820024967194, -0.5687531232833862, 0.10679826140403748, 0.04349549859762192, -0.5769751071929932, -0.54721599817276, 0.7810401320457458, 0.3496617376804352, -0.3391626179218292, 0.6663552522659302, -0.15539036691188812, -0.6045758724212646, 0.7605482935905457, 0.7575311660766602, 0.8031882047653198, -0.28688567876815796, 0.2214643508195877, 0.45387977361679077, 0.5496780276298523, 0.27136269211769104, 0.5352697372436523, 0.0908210501074791, -0.41587650775909424, -0.32012268900871277, -0.7689226269721985, -0.26362404227256775, -0.22610731422901154, -0.6675755381584167, 0.3258300721645355, -0.1899081915616989, -0.31453701853752136, -0.06835808604955673, 0.052450619637966156, -0.784687876701355, 0.26485446095466614, -0.1370311975479126, 1.0369778871536255, -0.6303412318229675, 1.0271981954574585, 0.6726090312004089, -0.6368008852005005, -0.4224558174610138, -0.2487679123878479, 0.060630347579717636, -1.0217193365097046, 0.8570758104324341, -0.34450048208236694, -0.14681227505207062, 0.0912710651755333, -0.4309483766555786, -0.6296481490135193, 0.8720473051071167, 0.6080892086029053, -0.5540313124656677, 0.339298278093338, 0.41799888014793396, 0.6999121904373169, -0.6475722789764404, 0.05110209807753563, 0.581791341304779, 0.5390571355819702, -0.12833072245121002, -1.2448177337646484, -0.33219385147094727, -0.17065542936325073, -0.06127411499619484, 0.7293729782104492, -0.8459298610687256, 0.8561192154884338, -0.3250259757041931, -0.003092378843575716, 0.1319141834974289, 0.5161011815071106, 0.18400438129901886, 0.29763397574424744, 0.14219309389591217, 0.40389326214790344, 0.7487279772758484, -0.045209016650915146, 1.1170293092727661, -0.6146794557571411, 0.013676119036972523, 1.1520559787750244, -0.34894177317619324, 0.669879674911499, 0.34680697321891785, -0.42569804191589355, 0.527686595916748, 0.772627055644989, 0.25264298915863037, 0.3869238495826721, 0.29160284996032715, -0.2835681736469269, -0.04598210006952286, -0.3798907697200775, -0.5083476305007935, 0.5704731941223145, 0.521289587020874, -0.5769644379615784, 0.10991185903549194, 0.010275240987539291, 0.3206768333911896, 0.2151121348142624, -0.24028533697128296, 0.11271746456623077, 0.35120514035224915, -0.5978530049324036, 0.8285109400749207, 0.20489321649074554, 0.16927039623260498, -0.5554791688919067, -0.02142903581261635, -0.6044030785560608, 0.08529508113861084, -0.08540478348731995, -0.6237775087356567, 0.416010320186615, 0.005629751365631819, -0.36000072956085205, -0.1445319950580597, 0.575448215007782, -0.7585443258285522, -0.5479790568351746, 0.39848780632019043, 0.7770180106163025, 0.2086309790611267, 0.1330207884311676, -0.34684768319129944, -0.010953408665955067, 0.16396749019622803, 0.32035204768180847, 0.4044235944747925, 0.47670015692710876, -0.3310668170452118, 0.6943532824516296, 0.5521202683448792, 0.354461669921875, 0.2593037486076355, 0.04474535584449768, 0.6596063375473022, -0.6004660725593567, -0.3550587296485901, -0.5464060306549072, 0.42913997173309326, -0.12334185093641281, -0.38786739110946655, 1.028877854347229, 0.8237447142601013, 0.6493977308273315, -0.24433214962482452, 0.9579350352287292, -0.338179349899292, 0.39518213272094727, -0.12312044948339462, 0.7070634961128235, -0.5689840912818909, 0.014990584924817085, -0.26635298132896423, -1.185041904449463, -0.33551931381225586, 0.07713409513235092, 0.10379917174577713, 0.07794120907783508, 0.8218393921852112, 0.45874667167663574, -0.24302397668361664, -0.04635751619935036, 0.3365209102630615, 0.41038328409194946, 0.19577181339263916, 0.27717125415802, 0.2584936320781708, -0.5374260544776917, 0.8303353786468506, -0.20002318918704987, -0.1570204496383667, -0.2523431181907654, -0.7058196663856506, -0.8700774312019348, -0.5379801988601685, -0.08382858335971832, -0.6097655892372131, 0.09231387078762054, 1.166493535041809, 0.7418305277824402, -1.2058354616165161, -0.7268344759941101, 0.25368255376815796, 0.18612077832221985, -0.3687385618686676, -0.2008739858865738, 0.29092204570770264, -0.1631617397069931, -0.8875191807746887, 0.6706782579421997, 0.6564687490463257, 0.07561855763196945, -0.2931681275367737, -0.12537485361099243, -0.09090965241193771, 0.01069172378629446, 0.9707366228103638, 0.3375055193901062, -0.34667328000068665, -0.2661094069480896, 0.4910782277584076, -0.3366696238517761, 0.0419706292450428, 1.0467413663864136, -0.4586842954158783, 0.6104475259780884, 0.3396191895008087, 0.44877535104751587, 0.589718759059906, -0.43618735671043396, 1.0789669752120972, -0.9311588406562805, 0.24432475864887238, 0.2760522961616516, 0.4384235441684723, 0.2867296636104584, 0.059113457798957825, 0.7520326375961304, 0.30834752321243286, -0.6867417097091675, -0.9777500033378601, 0.1839117705821991, -0.992310643196106, 0.12025235593318939, 0.7603590488433838, -0.18304146826267242, -0.2379114031791687, -0.40493708848953247, -0.28117504715919495, 0.11395776271820068, -0.2842366099357605, 0.7246580123901367, 0.6897146701812744, 0.1928320825099945, -0.2565517723560333, -0.9944069385528564, 0.3536781370639801, -0.04113641008734703, -0.5370040535926819, -0.0830877423286438, 0.44295167922973633, 0.23289629817008972, 0.19953805208206177, 0.6725466251373291, -0.08624706417322159, 0.12979307770729065, 0.09280209243297577, 0.12566080689430237, 0.17656786739826202, -0.461902379989624, 0.14338192343711853, 0.11786572635173798, 0.018044453114271164, -0.08380287885665894 ]
http://arxiv.org/abs/2405.05374v1
http://arxiv.org/pdf/2405.05374v1
Arctic-Embed: Scalable, Efficient, and Accurate Text Embedding Models
2024-05-08T19:05:18
2024-05-08T19:05:18
Luke Merrick, Danmei Xu, Gaurav Nuti, Daniel Campos
cs.CL
cs.CL, cs.AI, cs.IR
This report describes the training dataset creation and recipe behind the family of \texttt{arctic-embed} text embedding models (a set of five models ranging from 22 to 334 million parameters with weights open-sourced under an Apache-2 license). At the time of their release, each model achieved state-of-the-art retrieval accuracy for models of their size on the MTEB Retrieval leaderboard, with the largest model, arctic-embed-l outperforming closed source embedding models such as Cohere's embed-v3 and Open AI's text-embed-3-large. In addition to the details of our training recipe, we have provided several informative ablation studies, which we believe are the cause of our model performance.
[ -0.4356432259082794, -0.6845303177833557, 0.6351707577705383, -0.18888165056705475, -0.18967193365097046, 0.06476183235645294, -0.045173510909080505, -0.28934478759765625, 0.09596972912549973, 0.6488242745399475, -0.28526219725608826, -0.8424843549728394, -0.5364658832550049, -0.15752258896827698, -0.5799924731254578, 0.7274455428123474, -0.13620507717132568, 0.022784365341067314, -0.232001394033432, -0.34045618772506714, -0.36966249346733093, -0.36162281036376953, -0.3477315604686737, -0.010472816415131092, 0.5614757537841797, 0.7836511135101318, 0.7437456250190735, 0.9251308441162109, 0.6978161931037903, 0.1377073973417282, 0.054068222641944885, -0.22435465455055237, -0.4358294904232025, 0.23808610439300537, 0.010023729875683784, -0.19297680258750916, -0.4197736084461212, 0.1926107406616211, 0.7400449514389038, 0.38821667432785034, -0.4795703887939453, 0.24667979776859283, -0.17527155578136444, 0.5342696905136108, -0.6419285535812378, -0.17334075272083282, -0.504514217376709, -0.07337058335542679, -0.1455945074558258, 0.3513314127922058, -0.8077081441879272, -0.4466303884983063, 0.37871289253234863, -0.5814381241798401, 0.23722289502620697, 0.5040703415870667, 0.7616488337516785, 0.11207307130098343, -0.561001718044281, -0.5524938702583313, -0.624732494354248, 0.9770414233207703, -0.7266351580619812, 0.77955162525177, 0.6932741403579712, 0.2751057744026184, 0.22177517414093018, -0.8501791954040527, -0.1360616385936737, 0.07424794882535934, 0.03327997028827667, -0.0747872143983841, -0.18042659759521484, 0.007225246634334326, 0.00000890441606316017, 0.4969024658203125, -0.7641056180000305, 0.22029589116573334, -0.2999439537525177, 0.22864316403865814, 0.5293580889701843, 0.14728333055973053, 0.24982556700706482, 0.32493695616722107, -0.12943926453590393, -0.14466239511966705, -0.8292958736419678, -0.6019500494003296, 0.284730464220047, 0.16350364685058594, -0.39570650458335876, 0.7861855626106262, -0.10268985480070114, 0.6050050854682922, -0.0678112581372261, 0.2314583957195282, 0.24916288256645203, -0.18638768792152405, -0.394438773393631, 0.14388002455234528, 0.5887546539306641, 0.185317724943161, -0.32281243801116943, -0.3245673179626465, -0.27111464738845825, -0.25351282954216003, 0.4635598659515381, -0.8207516670227051, -0.17476128041744232, 0.28818222880363464, -0.48157423734664917, -0.47803568840026855, -0.0011623359750956297, -0.507154107093811, -0.07684595882892609, 0.03470752015709877, 0.6389376521110535, -0.5907774567604065, -0.39508065581321716, 0.09132687747478485, -0.3937099277973175, 0.2658529579639435, 0.2631394863128662, -0.8926425576210022, 0.41763561964035034, 0.48722270131111145, 1.0035885572433472, 0.07008170336484909, -0.06238456442952156, -0.24427425861358643, 0.23857080936431885, -0.35974159836769104, 0.7130322456359863, -0.8901122808456421, -0.1727389097213745, 0.15769535303115845, -0.354557603597641, 0.16497334837913513, -0.3673474192619324, 0.3366335928440094, -0.9799812436103821, 0.24052096903324127, -0.42425113916397095, -0.9284652471542358, -0.5466093420982361, 0.2808069884777069, -1.0742714405059814, 1.1472588777542114, 0.1990993767976761, -0.586661696434021, 0.3563157021999359, -0.9348879456520081, 0.11333348602056503, 0.12941765785217285, 0.15599867701530457, -0.5557158589363098, 0.17258742451667786, 0.2287636250257492, 0.6462390422821045, -0.634846031665802, -0.10928270220756531, -0.1848861426115036, -0.17278729379177094, -0.0855182483792305, -0.0804465115070343, 0.5753809213638306, 0.4694962203502655, -0.06879514455795288, 0.016241952776908875, -0.6075701713562012, 0.029150957241654396, 0.2638044059276581, -0.3042546212673187, -0.721670925617218, -0.12718665599822998, 0.10016276687383652, -0.12094931304454803, 0.048787012696266174, -0.7172537446022034, 0.11693783104419708, -0.25823813676834106, 0.6100986003875732, 0.4705847501754761, 0.0786610096693039, 0.5398075580596924, -0.4602344334125519, 0.426447331905365, 0.10125644505023956, -0.10328763723373413, -0.5031812191009521, -0.5223588943481445, -0.3782360553741455, -0.4430590867996216, 0.6559990644454956, 0.0901576355099678, -0.619672954082489, 0.34192290902137756, -0.20196688175201416, -1.0185338258743286, -0.6577110886573792, -0.05562548711895943, 0.36036309599876404, 0.20947781205177307, 0.25970157980918884, 0.146296888589859, -0.21666327118873596, -0.9640153646469116, -0.24485936760902405, 0.23666945099830627, 0.17141613364219666, 0.17963720858097076, 1.0075839757919312, -0.0191266480833292, 0.7199801802635193, -0.6035411953926086, -0.03460289165377617, -0.06785492599010468, 0.27010950446128845, -0.01417824998497963, 0.6218317747116089, 0.6996355652809143, -0.6422310471534729, -0.9435220956802368, 0.09108641743659973, -0.8389248251914978, 0.4570944309234619, 0.20533058047294617, -0.16387216746807098, 0.1994435042142868, 0.4060747027397156, -0.3744020164012909, 0.4416930079460144, 0.9427481889724731, -0.3846893608570099, 0.2549492120742798, -0.11408347636461258, 0.15999332070350647, -1.3649653196334839, 0.13052944839000702, 0.050658226013183594, -0.32132548093795776, -0.4781370460987091, 0.5089792609214783, 0.1668417900800705, -0.13093219697475433, -0.4769369661808014, 0.5089568495750427, -0.6566232442855835, -0.006069175433367491, 0.21405528485774994, 0.15487852692604065, -0.01133799273520708, 0.34205499291419983, -0.16671060025691986, 0.6972851753234863, 0.5883607268333435, -0.4521484673023224, 0.35306963324546814, 0.4172723889350891, -0.3778836131095886, 0.5211221575737, -0.7985009551048279, 0.5092140436172485, 0.03025820665061474, -0.10856978595256805, -1.1326043605804443, -0.36811286211013794, 0.08392692357301712, -0.39734265208244324, 0.1695256382226944, -0.32429051399230957, -0.8076419830322266, -0.017735455185174942, -0.4528888165950775, 0.6047654151916504, 0.6556331515312195, -0.7323843836784363, 0.7215777039527893, 0.4622610807418823, -0.17839351296424866, -0.4687372148036957, -0.517739474773407, -0.08184441179037094, -0.16445249319076538, -0.5235903263092041, 0.3632121980190277, -0.1827569454908371, -0.07683534920215607, 0.5025984048843384, 0.24285268783569336, -0.23253779113292694, 0.04613379389047623, 0.22092501819133759, 0.05320199579000473, -0.3939683735370636, 0.2853466868400574, 0.3682112991809845, 0.19473271071910858, -0.08697997033596039, -0.2596907913684845, 0.6735185384750366, -0.30278775095939636, -0.2567668557167053, -0.3545747697353363, 0.4621231257915497, 0.6046886444091797, -0.3280752897262573, 1.3590928316116333, 0.3442516028881073, -0.7764574289321899, -0.16715814173221588, -0.6060970425605774, -0.14678238332271576, -0.46649685502052307, 0.19717220962047577, -0.16931575536727905, -0.844514787197113, 0.48937109112739563, 0.020147399976849556, 0.4106646478176117, 0.7663124799728394, 0.42903032898902893, -0.11304569989442825, 1.2602505683898926, 0.4970543384552002, 0.26308533549308777, 0.28602147102355957, -0.46443164348602295, -0.3900871276855469, -1.0698060989379883, -0.43970540165901184, -0.6728430986404419, -0.29457855224609375, -0.35751861333847046, -0.22301970422267914, 0.21659766137599945, -0.19879522919654846, -0.7336978316307068, 0.20896892249584198, -0.6658565402030945, 0.4506770074367523, 0.793048083782196, -0.0033366570714861155, 0.11604337394237518, 0.31545084714889526, -0.6055071353912354, -0.1740570068359375, -0.7042099237442017, -0.5033217668533325, 1.4874805212020874, 0.4610159397125244, 0.8306521773338318, 0.29107266664505005, 0.6756578683853149, 0.45265665650367737, 0.5609956979751587, -0.6079760193824768, 0.19193102419376373, -0.1286579668521881, -1.0523511171340942, -0.32725992798805237, -0.21153318881988525, -0.8226437568664551, -0.0065814657136797905, -0.5478526949882507, -0.46880435943603516, -0.1962352991104126, 0.08532662689685822, 0.00015508869546465576, 0.6023708581924438, -0.6503223180770874, 0.7988033890724182, 0.01857493259012699, -0.143214613199234, -0.34637221693992615, -0.4025859832763672, 0.08126620203256607, -0.15434470772743225, 0.13487890362739563, 0.02618304453790188, -0.1573324054479599, 1.0029524564743042, -0.2821520268917084, 0.7628321647644043, -0.2998657524585724, 0.09270617365837097, 0.1859179586172104, 0.03350301831960678, 0.5454421639442444, -0.10917897522449493, -0.22319765388965607, 0.3163338303565979, -0.1780272126197815, -0.34506896138191223, -0.254705548286438, 0.8239063620567322, -1.0648006200790405, -0.1476774364709854, -0.5935019254684448, -0.20516438782215118, 0.12522144615650177, 0.5570203065872192, 0.3417360186576843, 0.615425169467926, -0.4947182238101959, 0.7986604571342468, 0.9435083270072937, -0.32283520698547363, 0.35473117232322693, 0.5208271145820618, -0.3095446825027466, -0.9756709337234497, 0.731727659702301, 0.19997119903564453, 0.20331059396266937, 0.38228142261505127, -0.03520502895116806, -0.13164617121219635, -0.7592892050743103, -0.45568400621414185, 0.5893739461898804, -0.6635662317276001, -0.3808369040489197, -0.6939855813980103, -0.2650652825832367, -0.12202749401330948, -0.41081947088241577, -0.8048334717750549, -0.38442280888557434, -0.47726577520370483, -0.32386860251426697, 0.5707816481590271, 1.3220503330230713, 0.2656360864639282, 0.9062963724136353, -0.9420267939567566, -0.05179508402943611, -0.1095576360821724, 0.7955862283706665, -0.007528854999691248, -0.41751959919929504, -0.9077743291854858, 0.1130622997879982, -0.4124937951564789, -0.8630199432373047, 0.5428954362869263, 0.1292218714952469, 0.5675839185714722, 0.1632080227136612, -0.03499941527843475, 0.1758359968662262, -0.5783562064170837, 1.0349253416061401, 0.21808983385562897, -0.9801748394966125, 0.6350888609886169, -0.35671496391296387, 0.3847947418689728, 0.24768739938735962, 0.7429105639457703, -0.36899182200431824, -0.39780956506729126, -0.8317453861236572, -0.7858198285102844, 0.8493980169296265, 0.23800617456436157, 0.09191517531871796, 0.03238753229379654, 0.7052749395370483, 0.3537798821926117, 0.20059002935886383, -0.3453509509563446, -0.3821558654308319, -0.10812436044216156, -0.4887198209762573, 0.0477045513689518, -0.49626877903938293, 0.000015834752048249356, 0.040599945932626724, 0.9004575610160828, 0.10315262526273727, 0.5558282136917114, 0.006092791445553303, -0.1759454756975174, -0.3371254503726959, -0.1501510739326477, 0.5601403117179871, 0.29062387347221375, -0.4550510048866272, 0.030812595039606094, 0.08354692161083221, -0.7695194482803345, -0.023075208067893982, -0.08550819009542465, -0.01868973858654499, -0.016071179881691933, 0.34943121671676636, 0.6052092909812927, -0.042835380882024765, -0.514630138874054, 0.3152819871902466, -0.34105485677719116, -0.4484557807445526, -0.5365791916847229, -0.0505484901368618, 0.2358666956424713, 0.06826625764369965, 0.4493137300014496, 0.03178514167666435, 0.1767263263463974, -0.19820636510849, 0.16785350441932678, 0.5147256255149841, -0.4694713056087494, -0.5065537095069885, 0.9394431710243225, 0.15687300264835358, -0.09282650798559189, 1.2414308786392212, 0.12554168701171875, -0.26252061128616333, 0.37783005833625793, 0.5690091848373413, 0.9606326818466187, -0.4616226255893707, 0.19701094925403595, 0.5103341937065125, 0.5203134417533875, -0.14999186992645264, 0.45809388160705566, 0.5083152651786804, -0.7948873043060303, -0.16014748811721802, -0.37074798345565796, -0.5826259255409241, 0.029225420206785202, -0.9392365217208862, 0.34701353311538696, -0.5967669486999512, -0.29674258828163147, 0.17790035903453827, -0.010881493799388409, -0.9956311583518982, 0.2947421371936798, 0.08400335162878036, 1.2221992015838623, -0.8879042267799377, 0.6915261745452881, 1.0857017040252686, -0.43354859948158264, -0.5808812975883484, -0.2840013802051544, -0.09510070085525513, -0.7888987064361572, 0.5443426370620728, 0.015034666284918785, 0.10565920174121857, 0.41230595111846924, -0.937932550907135, -1.229317545890808, 1.3688156604766846, 0.34227797389030457, -0.3642563223838806, -0.1422351598739624, -0.08269482105970383, 0.2826758325099945, -0.6965629458427429, 0.29801642894744873, 0.2194645255804062, 0.31270065903663635, 0.1028619036078453, -0.8211288452148438, 0.1872245967388153, -0.1976766437292099, 0.04208967089653015, 0.37212803959846497, -0.6700394153594971, 0.6857977509498596, -0.031086213886737823, -0.007924708537757397, 0.006714239250868559, 0.586200475692749, -0.004186486359685659, 0.17398501932621002, 0.23998843133449554, 0.9462307095527649, 0.5689578056335449, -0.13233210146427155, 1.1699258089065552, -0.3190228044986725, 0.4465976655483246, 0.8806353807449341, -0.05064988508820534, 1.1672672033309937, 0.13604095578193665, 0.209932342171669, 0.5230218768119812, 0.6298328638076782, -0.046016789972782135, 0.8477210402488708, -0.4218152165412903, -0.007600648328661919, -0.02547883242368698, -0.010472355410456657, -0.3036305010318756, 0.28090712428092957, 0.7677033543586731, -0.6987981200218201, -0.06365437805652618, 0.006590832024812698, 0.16077378392219543, -0.3027963936328888, -0.17023788392543793, 1.0141136646270752, 0.006882186979055405, -0.41948646306991577, 0.6296482682228088, 0.10781677067279816, 0.2351359874010086, -0.5208770036697388, -0.3543930947780609, 0.017721733078360558, -0.0162346214056015, -0.11410710215568542, -0.8782626986503601, 0.3880287706851959, -0.16654349863529205, -0.07576500624418259, -0.06235240772366524, 0.4688374102115631, -0.4211640954017639, -0.3864646852016449, -0.02538071945309639, 0.3974328339099884, 0.09369609504938126, -0.03259802982211113, -0.6227164268493652, 0.3205587565898895, -0.11556679010391235, -0.5359510183334351, 0.07978033274412155, 0.35496068000793457, 0.21117666363716125, 0.49542343616485596, 0.5776617527008057, -0.16732840240001678, 0.030376076698303223, -0.4641251862049103, 0.8647711277008057, -0.88541179895401, -0.39859750866889954, -0.7590988278388977, 0.7081566452980042, 0.029949089512228966, -0.18875020742416382, 0.74400395154953, 0.9602038264274597, 0.6259407997131348, -0.1473364233970642, 1.0088828802108765, -0.00952509418129921, 0.4903368055820465, -0.5509290099143982, 0.7067652344703674, -0.7596730589866638, 0.35575932264328003, -0.13375593721866608, -1.0829267501831055, -0.5129442811012268, 0.41664427518844604, -0.045015595853328705, 0.1237921416759491, 0.7012441158294678, 0.4309477210044861, -0.12586252391338348, 0.2946350574493408, 0.36019232869148254, 0.38410887122154236, 0.5111819505691528, 0.11305700987577438, 0.6141309142112732, -0.6083922982215881, 0.34579211473464966, -0.2268475443124771, -0.23607568442821503, -0.5384575724601746, -0.9450245499610901, -0.9579130411148071, -0.7634319067001343, -0.437296986579895, -0.205633744597435, 0.08936850726604462, 1.0069993734359741, 0.755379319190979, -0.7473307847976685, -0.031107096001505852, 0.10899419337511063, 0.018349768593907356, -0.23363807797431946, -0.1486818492412567, 0.4808225631713867, -0.08574927598237991, -0.6290374398231506, 0.16293802857398987, 0.20777857303619385, 0.17336516082286835, -0.17933793365955353, -0.09619101136922836, -0.24023659527301788, 0.30804646015167236, 0.5021650791168213, -0.10797077417373657, -0.4171600043773651, -0.4543275535106659, 0.23015980422496796, -0.11599132418632507, 0.07655204087495804, 0.2850315570831299, -0.4976785182952881, 0.46193474531173706, 0.33154016733169556, 0.5298770666122437, 0.7013710737228394, -0.31460458040237427, 0.7217570543289185, -0.9790880680084229, -0.23244766891002655, 0.16669051349163055, 0.2814338803291321, 0.3200252652168274, -0.3699550926685333, 0.6776975393295288, -0.05286368727684021, -0.7551986575126648, -0.9355586767196655, -0.06675155460834503, -0.894243061542511, -0.09080328047275543, 0.7962492108345032, -0.11845385283231735, -0.13083474338054657, 0.13675543665885925, -0.17139041423797607, 0.1450589895248413, -0.6147788763046265, 0.4079640507698059, 0.7774900197982788, 0.09293372929096222, -0.34264618158340454, -0.7169056534767151, 0.28629788756370544, -0.08326885849237442, -0.6078358292579651, -0.09501805156469345, 0.47416430711746216, 0.4666922688484192, 0.2655693590641022, 0.05717065930366516, -0.1717253476381302, 0.2345176339149475, 0.37668728828430176, 0.19577376544475555, -0.17872358858585358, -0.3666473925113678, -0.03800666704773903, 0.11812270432710648, 0.4716453552246094, -0.06809777021408081 ]
http://arxiv.org/abs/2405.05348v1
http://arxiv.org/pdf/2405.05348v1
The Effect of Model Size on LLM Post-hoc Explainability via LIME
2024-05-08T18:27:20
2024-05-08T18:27:20
Henning Heyen, Amy Widdicombe, Noah Y. Siegel, Maria Perez-Ortiz, Philip Treleaven
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) are becoming bigger to boost performance. However, little is known about how explainability is affected by this trend. This work explores LIME explanations for DeBERTaV3 models of four different sizes on natural language inference (NLI) and zero-shot classification (ZSC) tasks. We evaluate the explanations based on their faithfulness to the models' internal decision processes and their plausibility, i.e. their agreement with human explanations. The key finding is that increased model size does not correlate with plausibility despite improved model performance, suggesting a misalignment between the LIME explanations and the models' internal processes as model size increases. Our results further suggest limitations regarding faithfulness metrics in NLI contexts.
[ -0.10928891599178314, -0.6679824590682983, 1.0302859544754028, 0.3425457179546356, -0.5923686623573303, -0.17062242329120636, -0.2705119252204895, -0.7032751441001892, -0.015242772176861763, 0.34426209330558777, -0.4322306215763092, -0.08153630048036575, -0.5179146528244019, 0.17386434972286224, -0.3768729865550995, 0.8361870050430298, -0.2636679410934448, 0.04130787029862404, -0.04322996735572815, -0.015827514231204987, -0.9314203858375549, -0.300301194190979, -0.384660542011261, -0.5320607423782349, 0.763852596282959, 0.5759362578392029, 1.15485417842865, 0.8612701296806335, 0.21995972096920013, 0.187102809548378, -0.3034146726131439, 0.0060501378029584885, -0.4851096570491791, 0.27844730019569397, -0.24306367337703705, -0.5976089835166931, -0.4846494793891907, 0.06337632983922958, 0.7099220156669617, 0.8034167289733887, 0.15127061307430267, 0.08680768311023712, 0.19765253365039825, 0.6966333389282227, -0.7936305999755859, -0.005756186321377754, -0.6872641444206238, -0.25938931107521057, 0.2712116837501526, -0.17908714711666107, -0.6099198460578918, -0.21107950806617737, 0.3608248829841614, -0.5483255386352539, 0.31582871079444885, 0.027517009526491165, 0.8425721526145935, 0.13516399264335632, -0.27037638425827026, -0.4242948889732361, -1.0406489372253418, 0.9808820486068726, -0.8823257088661194, 0.041982222348451614, 0.2419428527355194, 0.32187220454216003, -0.1675664484500885, -0.3937043845653534, -0.6413685083389282, -0.09488707035779953, -0.15665552020072937, -0.20898546278476715, -0.21714015305042267, 0.27370014786720276, 0.20671477913856506, 0.5059260129928589, -0.6939607858657837, 0.23233139514923096, -0.268681138753891, -0.048867374658584595, 0.7055184245109558, 0.19757552444934845, 0.100128673017025, 0.03489750996232033, -0.14667664468288422, 0.36781349778175354, -0.9403277039527893, -0.11933520436286926, 0.27308571338653564, 0.1836589276790619, -0.02756667509675026, 0.5213163495063782, -0.16006316244602203, 0.9667293429374695, 0.10755269974470139, -0.0068985954858362675, -0.13428135216236115, -0.5601717233657837, -0.6045820713043213, 0.46761006116867065, 0.40800583362579346, 0.2713155448436737, 0.40811577439308167, -0.26766058802604675, 0.24980169534683228, 0.0486927404999733, 0.09947597235441208, -0.9680992960929871, -0.12461935728788376, 0.45117366313934326, -0.5782108306884766, -0.2491634488105774, -0.04833775386214256, -0.1596205085515976, -0.5202744007110596, -0.3947226107120514, 0.7333036065101624, -0.37149283289909363, -0.4360503852367401, 0.4189956486225128, -0.37671974301338196, 0.5856861472129822, 0.7686663866043091, -0.7153428792953491, 0.14164377748966217, 0.5911489725112915, 0.9166240096092224, 0.14112968742847443, -0.148371621966362, -0.27566292881965637, 0.010861882008612156, -0.7285621166229248, 0.4149622917175293, -0.17329612374305725, -0.09441395848989487, -0.27396345138549805, 0.07650700956583023, -0.2023640275001526, -0.5778604745864868, 0.20611871778964996, -0.5773938894271851, -0.04557591304183006, -0.47324424982070923, -0.377126008272171, -0.39177003502845764, -0.02976923994719982, -0.4479138255119324, 0.5478377342224121, 0.043068576604127884, -0.961728572845459, 0.49622902274131775, -0.3461236357688904, -0.1540534496307373, 0.07653756439685822, -0.03604521229863167, -0.04560388997197151, 0.560653805732727, -0.14161857962608337, 0.5724759101867676, -0.5074090361595154, 0.4609438478946686, -0.581443190574646, -0.8488115668296814, 0.5566885471343994, -0.5460132956504822, 1.0780527591705322, 0.2272205948829651, -0.4075678288936615, 0.21494849026203156, -0.5659369230270386, -0.11253718286752701, 0.24720226228237152, -0.10987278819084167, -0.21428847312927246, 0.02967824973165989, -0.576907753944397, 0.3655504286289215, 0.15525700151920319, -0.6545907258987427, -0.17467592656612396, -0.45445922017097473, 0.45787227153778076, 0.6540188193321228, -0.02404414489865303, 0.5400457978248596, -0.39824262261390686, 0.5407119393348694, -0.12758579850196838, 0.1315578818321228, -0.19499880075454712, -0.5338859558105469, -0.677753210067749, -0.46628338098526, 0.2934481203556061, 0.2239001989364624, -0.4540218710899353, 0.010990770533680916, -0.6488400101661682, -0.534878671169281, -0.38794153928756714, 0.314073383808136, 0.34251663088798523, 0.232996866106987, -0.13454364240169525, -0.14991402626037598, -0.5820575952529907, -1.2273688316345215, -0.40069445967674255, -0.4417062997817993, -0.1465824991464615, 0.33731570839881897, 0.5496694445610046, 0.0042922766879200935, 1.2229527235031128, -0.14872820675373077, 0.26335617899894714, -0.7454930543899536, 0.1946031153202057, 0.46506229043006897, 0.15783628821372986, 0.6645726561546326, -0.5237663388252258, -0.3726132810115814, -0.16425538063049316, -0.663322925567627, -0.12419603765010834, -0.25602665543556213, -0.06740100681781769, 0.32159003615379333, 0.15124264359474182, -0.5871159434318542, 0.7357545495033264, 0.5063231587409973, -0.35110148787498474, 0.6465368270874023, -0.4990091621875763, -0.1414169818162918, -0.41790199279785156, -0.38047298789024353, -0.07185156643390656, -0.37522539496421814, -0.6942497491836548, -0.043760333210229874, -0.0346885621547699, 0.2576155662536621, -0.5837554931640625, 0.4948381185531616, -0.638041615486145, -0.3504628539085388, -0.5644705295562744, 0.42009034752845764, 0.22625260055065155, 0.21997039020061493, -0.051760077476501465, 0.5749255418777466, 0.5523595809936523, -1.0070440769195557, 0.11700067669153214, -0.00794224813580513, -0.24792857468128204, 0.05836553871631622, -1.0342063903808594, -0.29074662923812866, -0.30878114700317383, 0.502596378326416, -1.3500261306762695, -0.39767131209373474, -0.21979489922523499, -0.6945366859436035, 0.1993141621351242, -0.20976947247982025, -0.5463650226593018, -0.28632852435112, -0.6146088242530823, 0.181319460272789, 0.6143045425415039, -0.7145203351974487, 0.5443271398544312, -0.23793527483940125, 0.022084156051278114, -0.33801722526550293, -0.9388507008552551, -0.12133539468050003, -0.48785650730133057, -1.1266130208969116, 0.28182631731033325, -0.3096717894077301, -0.7636672258377075, -0.34437042474746704, -0.3331280052661896, -0.3596728444099426, 0.4729461371898651, 0.569424569606781, 0.3439437747001648, -0.4579203724861145, 0.21024416387081146, -0.10354169458150864, 0.2843833863735199, 0.2753347158432007, 0.11546231061220169, 0.4581112265586853, -0.26632773876190186, 0.13134172558784485, -0.7593123316764832, -0.20183607935905457, 0.6353359222412109, 0.2112237811088562, 1.3815088272094727, 0.11950954794883728, 0.007855609990656376, -0.0756840631365776, -0.33723586797714233, -0.10494419932365417, -0.4374440014362335, -0.10218826681375504, -0.29724615812301636, -0.805552065372467, 0.6009590029716492, 0.32617178559303284, 0.03635049983859062, 0.6747558116912842, 0.5208427309989929, -0.02056668885052204, 0.9314867854118347, 0.26799023151397705, 0.29109901189804077, 0.26144298911094666, -0.0794948935508728, 0.22332383692264557, -0.8562074303627014, 0.06155778095126152, -0.42696741223335266, -0.18752706050872803, -0.5104747414588928, -0.5186141133308411, -0.29464808106422424, 0.3230762481689453, -0.5245311856269836, 0.22165028750896454, -0.17042681574821472, 0.45901256799697876, 0.2447197437286377, -0.13970448076725006, 0.33760425448417664, -0.07060755789279938, 0.2963353991508484, 0.08059199154376984, -0.8810389041900635, -0.5713399648666382, 0.803031325340271, 0.6306403279304504, 0.7330927848815918, 0.40409278869628906, 0.5156762003898621, 0.04689338803291321, 0.23597273230552673, -0.7102720141410828, 0.39962124824523926, 0.08245493471622467, -1.0674816370010376, -0.5048390030860901, -0.33601677417755127, -0.9788344502449036, 0.5966731905937195, -0.12193861603736877, -0.9014728665351868, 0.21466010808944702, 0.4702757000923157, -0.5311616063117981, 0.13739408552646637, -0.6679761409759521, 0.6486856341362, -0.31120556592941284, -0.5907657146453857, -0.3241402804851532, -0.6144358515739441, 0.6413727402687073, -0.09582313150167465, 0.4099755585193634, -0.3008669912815094, 0.24386721849441528, 0.5923053026199341, -0.5364643335342407, 0.8232800364494324, -0.20907552540302277, -0.2572307884693146, 0.5555635690689087, 0.47170618176460266, 0.35348987579345703, 0.1161540299654007, -0.363818496465683, 0.2161811888217926, -0.18271885812282562, -0.4465668499469757, -0.6655867099761963, 0.8032933473587036, -0.6163949370384216, -0.8597685098648071, -0.23687255382537842, -0.6048868894577026, 0.0346059687435627, -0.15748971700668335, 0.15624885261058807, 0.37603622674942017, -0.01480623334646225, 0.5721232891082764, 0.8584632277488708, -0.5515658855438232, 0.5646187663078308, 0.6998056173324585, -0.3201192319393158, 0.16086411476135254, 0.6987833976745605, 0.252354234457016, 0.5612437129020691, 0.06033443287014961, 0.3309745490550995, -0.08199621737003326, -0.9616953730583191, -0.3483649492263794, 0.5698785781860352, -0.5595782995223999, 0.20936062932014465, -0.4146665036678314, -0.0917593389749527, -0.4210187792778015, -0.3177218437194824, -0.26747390627861023, -0.815258264541626, -0.4638846814632416, -0.3339858949184418, 0.47219911217689514, 0.8728706240653992, 0.047671105712652206, 0.7396016120910645, -0.4427609443664551, 0.2506199777126312, 0.28603193163871765, 0.37192174792289734, 0.28065744042396545, -1.2711021900177002, -0.1580154299736023, 0.18495652079582214, -0.07573547214269638, -1.0231022834777832, 0.35568010807037354, 0.11023140698671341, 0.4260932207107544, 0.5915070176124573, -0.041874635964632034, 0.7553126215934753, -0.29473963379859924, 0.9055854082107544, 0.016910605132579803, -0.9652227163314819, 0.5015284419059753, -0.5916935801506042, 0.4238504469394684, 0.3109385073184967, 0.2844047546386719, -0.11334861814975739, -0.4259853661060333, -0.6412338614463806, -0.9115140438079834, 0.9474020600318909, 0.43913358449935913, 0.08820367604494095, -0.025378305464982986, 0.804637610912323, 0.2368156462907791, -0.036436520516872406, -0.9361466765403748, -0.25471436977386475, -0.030895669013261795, 0.06563366204500198, -0.12465039640665054, -0.7764520645141602, 0.3217301070690155, -0.06364414095878601, 0.9701457023620605, 0.13055600225925446, 0.18069513142108917, 0.35419538617134094, -0.48343944549560547, -0.09463393688201904, 0.3890276849269867, 0.6941019892692566, 1.2381826639175415, -0.4852580428123474, 0.18773604929447174, 0.16587257385253906, -0.19042620062828064, -0.009314415045082569, -0.16984772682189941, 0.17309121787548065, 0.13312403857707977, 0.900242030620575, 0.8741910457611084, 0.005689837969839573, -0.6177202463150024, 0.6125591397285461, -0.25390878319740295, -0.4474749267101288, -0.452016681432724, 0.2554282248020172, 0.029990246519446373, 0.17421498894691467, 0.23681850731372833, -0.45771172642707825, 0.12521369755268097, -0.6955402493476868, -0.5430658459663391, 0.5002605319023132, -0.6078456044197083, -0.4127618968486786, 0.508857786655426, -0.11445440351963043, -0.0038759110029786825, 0.5237550139427185, -0.01816587895154953, -0.15222522616386414, 0.8110863566398621, 0.4741477370262146, 0.46660247445106506, -0.2317582070827484, 0.49791258573532104, 0.35210472345352173, 0.5138965845108032, -0.19829367101192474, 0.160328671336174, 0.04524514451622963, -0.725365400314331, -0.6938961744308472, -0.42933082580566406, -0.098269023001194, 0.39228901267051697, -0.6528074145317078, -0.06356238573789597, -0.5132573246955872, 0.1640826165676117, 0.3115271329879761, -0.25164398550987244, -0.6045944690704346, 0.33802056312561035, 0.13379278779029846, 0.8814563155174255, -0.9462522864341736, 0.6217362880706787, 0.3343442380428314, -0.3835112452507019, -0.9047645330429077, -0.1675480455160141, 0.10449487715959549, -0.659125804901123, 0.9120792746543884, 0.3319820165634155, -0.2981047034263611, -0.6412054300308228, -0.558738112449646, -1.038438081741333, 1.2309181690216064, 0.6557859182357788, -0.3597832918167114, -0.07693052291870117, -0.004368165973573923, 0.7145876288414001, -0.37887564301490784, 0.27616551518440247, 0.6910472512245178, 0.32968592643737793, 0.14612849056720734, -1.067395567893982, 0.07525932788848877, 0.35603469610214233, 0.24181194603443146, 0.037766918540000916, -0.36878812313079834, 0.9580461978912354, -0.34450212121009827, -0.07891010493040085, 0.12966088950634003, 0.48155587911605835, 0.40970873832702637, 0.26370659470558167, 0.5627242922782898, 0.16123788058757782, 0.6070064902305603, 0.10117574036121368, 1.5675755739212036, 0.02982350066304207, 0.10679522901773453, 1.3526026010513306, -0.38645726442337036, 0.6061123013496399, 0.414846807718277, -0.01944798417389393, 0.8935072422027588, 0.7928490042686462, 0.3702763319015503, 0.29229071736335754, 0.43985310196876526, -0.08157602697610855, -0.36767199635505676, -0.014352201484143734, -0.11426495015621185, 0.5981250405311584, 0.35704442858695984, -0.8453434109687805, -0.17142891883850098, -0.2643197178840637, -0.03082738257944584, -0.20788173377513885, -0.6385843753814697, 0.5706710815429688, 0.008153516799211502, -0.6229736804962158, 0.7258257269859314, 0.05746683105826378, 0.2032928466796875, -0.34459468722343445, 0.0063149272464215755, -0.12975867092609406, 0.29358989000320435, -0.15820220112800598, -0.6749722361564636, 0.36816203594207764, -0.1141863614320755, -0.44662296772003174, -0.10868437588214874, 0.7932896018028259, 0.01924142986536026, -0.16275885701179504, 0.4594738185405731, 0.4084194600582123, 0.5461387634277344, -0.31741106510162354, -0.327037513256073, -0.08262751996517181, 0.08520198613405228, -0.20532001554965973, 0.22676166892051697, 0.5884352922439575, -0.3425634205341339, 0.6962419152259827, 0.2239307314157486, -0.046008188277482986, 0.05806034430861473, -0.1546955555677414, 0.45534729957580566, -0.570942759513855, -0.07129823416471481, -1.27933931350708, 0.33942389488220215, 0.06225070729851723, 0.14603647589683533, 1.077306866645813, 0.5052217841148376, 0.3375980854034424, -0.08198533207178116, 0.6488568186759949, 0.26298171281814575, 0.5499463677406311, -0.42607933282852173, 0.3246028423309326, -0.5381903648376465, 0.4181864261627197, -0.21599552035331726, -0.9847415685653687, -0.08199453353881836, 0.5989740490913391, -0.4569198489189148, 0.021656159311532974, 0.7370246052742004, 0.469343900680542, 0.15872254967689514, 0.173470601439476, 0.41422441601753235, 0.7204279899597168, 0.08111780881881714, 0.3129410147666931, 0.8427741527557373, 0.0543241873383522, 0.5886304378509521, 0.03573065996170044, -0.1375402808189392, -0.45318251848220825, -1.0328365564346313, -0.9128775000572205, -0.10109993815422058, -0.3589341342449188, -0.3356633484363556, -0.027537362650036812, 0.451020210981369, 0.6764805316925049, -0.5294148325920105, -0.06737563759088516, -0.3008088767528534, 0.3227814733982086, 0.048922739923000336, -0.24701057374477386, 0.20110607147216797, 0.04974636435508728, -0.1419447362422943, 0.28404486179351807, 0.3260754644870758, 0.24314333498477936, -0.15271154046058655, -0.09571892023086548, -0.21157856285572052, 0.6213280558586121, 0.6693299412727356, 0.15382835268974304, -1.10557222366333, -0.31935083866119385, -0.1685350388288498, 0.2873162627220154, -0.0005378053174354136, 0.7727257013320923, -0.8605276942253113, 0.4135496914386749, 0.42064982652664185, 0.17889274656772614, 0.563829243183136, -0.10482589900493622, 0.7271155714988708, -0.6501889228820801, 0.1231086477637291, -0.2522180378437042, 0.5255070924758911, 0.4610097408294678, -0.4389227330684662, 0.5028650164604187, -0.2787435054779053, -0.5208555459976196, -0.7808670997619629, 0.2632206678390503, -0.878902792930603, -0.8166052103042603, 1.3437873125076294, -0.23428018391132355, -0.18831419944763184, -0.2738841772079468, -0.12178231030702591, 0.28104013204574585, -0.10538027435541153, 0.5306096076965332, 1.1812604665756226, -0.33362001180648804, -0.04226560890674591, -0.8928283452987671, 0.2979170083999634, 0.3552279472351074, -0.46202313899993896, 0.5864525437355042, 0.687335729598999, 0.4533013105392456, 0.11231040209531784, 0.6407184600830078, -0.07971545308828354, 0.5559366941452026, -0.2291806936264038, -0.22454476356506348, 0.10718083381652832, -0.36384040117263794, -0.7606134414672852, -0.11098011583089828, 0.5896092653274536, 0.1262066662311554 ]
http://arxiv.org/abs/2405.05347v1
http://arxiv.org/pdf/2405.05347v1
Benchmarking Educational Program Repair
2024-05-08T18:23:59
2024-05-08T18:23:59
Charles Koutcheme, Nicola Dainese, Sami Sarsa, Juho Leinonen, Arto Hellas, Paul Denny
cs.SE
cs.SE, cs.AI, cs.CL, cs.CY
The emergence of large language models (LLMs) has sparked enormous interest due to their potential application across a range of educational tasks. For example, recent work in programming education has used LLMs to generate learning resources, improve error messages, and provide feedback on code. However, one factor that limits progress within the field is that much of the research uses bespoke datasets and different evaluation metrics, making direct comparisons between results unreliable. Thus, there is a pressing need for standardization and benchmarks that facilitate the equitable comparison of competing approaches. One task where LLMs show great promise is program repair, which can be used to provide debugging support and next-step hints to students. In this article, we propose a novel educational program repair benchmark. We curate two high-quality publicly available programming datasets, present a unified evaluation procedure introducing a novel evaluation metric rouge@k for approximating the quality of repairs, and evaluate a set of five recent models to establish baseline performance.
[ 0.1317068189382553, -0.4293517470359802, 0.36308854818344116, 0.2497147172689438, 0.1152057945728302, 0.7118496894836426, -0.23049402236938477, -0.3402366042137146, 0.12762796878814697, 0.635749101638794, -0.43276381492614746, -0.4821881055831909, -0.5658289194107056, -0.005917037837207317, -0.32962387800216675, 0.8113407492637634, -0.07598994672298431, 0.2106046825647354, -0.40999624133110046, -0.2296571582555771, -0.6945288181304932, -0.17690658569335938, -0.8103768825531006, -0.30758431553840637, 0.22923702001571655, 0.6101721525192261, 0.5229160785675049, 0.7633609771728516, 0.7147902250289917, 0.3190214931964874, 0.2837405502796173, -0.0827736034989357, -0.7204297780990601, -0.07611750066280365, -0.07612010836601257, -0.33639973402023315, -0.6224833130836487, -0.03573485091328621, 0.7022600769996643, 1.022178053855896, -0.14488057792186737, 0.29834121465682983, 0.26288947463035583, 0.9092332124710083, -0.8818111419677734, 0.11424019187688828, -0.6294249296188354, -0.05873061716556549, -0.019933629781007767, 0.03246604651212692, -0.26196497678756714, -0.8511040210723877, -0.46773794293403625, -0.36531901359558105, 0.014224370941519737, -0.3000592291355133, 0.49149563908576965, 0.4380140006542206, -0.2711849510669708, 0.054539237171411514, -0.5523058772087097, 0.8793094158172607, -0.935562014579773, 0.3072338104248047, 0.24739018082618713, 0.5253859162330627, -0.33581507205963135, -0.6041744351387024, 0.019934920594096184, -0.21978598833084106, 0.25195983052253723, 0.07973384112119675, 0.006379786413162947, -0.1340709775686264, 0.3504177927970886, 0.5817208290100098, -0.5083261728286743, 0.2794511020183563, -0.46032002568244934, -0.2453099638223648, 0.4684355556964874, 0.4877799153327942, 0.24497759342193604, 0.14027029275894165, -0.4963865578174591, -0.22330209612846375, -0.9503132104873657, 0.13169695436954498, 0.4865788221359253, 0.19867955148220062, -0.049519628286361694, 0.31293439865112305, -0.22794611752033234, 0.8085103631019592, -0.6768940687179565, -0.26386064291000366, 0.26429060101509094, -0.0820431262254715, -0.3726465702056885, -0.2096395194530487, 0.4654221832752228, 0.7776992321014404, 0.37761130928993225, -0.3170259892940521, -0.48489707708358765, 0.30248263478279114, 0.2963642179965973, -0.5960383415222168, -0.41222986578941345, -0.1691519320011139, -0.2389117032289505, -0.21337765455245972, -0.09766044467687607, -0.6442258358001709, -0.7516474723815918, -0.565362274646759, 0.43126243352890015, -0.2056855857372284, -0.3111399710178375, 0.09285832941532135, 0.0387786366045475, 0.10137934237718582, 0.21032209694385529, -0.535228431224823, 0.2892628610134125, 0.8043266534805298, 0.7446960806846619, 0.053465358912944794, -0.3249669373035431, -0.49292299151420593, 0.00026092087500728667, -0.5687710642814636, 0.8498759865760803, -0.9052745699882507, -0.4841706454753876, 0.09271515905857086, 0.058631137013435364, 0.03598370403051376, -0.8811725974082947, 0.5790277123451233, -0.1449069082736969, -0.3207046687602997, -0.40831542015075684, -0.6222274303436279, 0.3227892220020294, 0.40764787793159485, -0.5356588959693909, 1.3519362211227417, 0.46427658200263977, -0.5072500109672546, 0.2947899103164673, -0.13211236894130707, 0.010433356277644634, 0.03030906431376934, 0.02584562636911869, -0.6412003040313721, 0.08666284382343292, -0.0961533710360527, 0.21372170746326447, -0.39547866582870483, 0.3767626881599426, -0.5977862477302551, -0.7983434796333313, 0.008085870184004307, -0.43127402663230896, 0.8113403916358948, -0.32714763283729553, -0.1798350214958191, 0.08103009313344955, -1.1152287721633911, 0.25395846366882324, -0.03344995528459549, -0.45774516463279724, -0.4939958155155182, -0.17967011034488678, -0.14436586201190948, 0.06683226674795151, 0.37616825103759766, -0.6778168082237244, 0.464409202337265, -0.2510926425457001, 0.22655904293060303, 1.0765447616577148, -0.18141166865825653, 0.1014423817396164, -0.33993664383888245, 0.6512708067893982, -0.27744707465171814, 0.2153020054101944, -0.31090813875198364, -0.09180132299661636, -0.8091861009597778, -0.35501864552497864, 0.25692835450172424, 0.21068954467773438, -0.4941521883010864, -0.08803417533636093, -0.3158707022666931, -0.5732171535491943, -0.6581073999404907, 0.149080291390419, 0.5830716490745544, 0.5567591786384583, 0.4324413239955902, -0.39603206515312195, -0.7492600679397583, -0.8065692782402039, -0.6211277842521667, -0.19832715392112732, -0.272024929523468, 0.28048840165138245, 0.28390440344810486, -0.17406485974788666, 0.5494627952575684, -0.5224179625511169, -0.14727237820625305, 0.06801240146160126, -0.16304871439933777, 0.21842022240161896, 0.21030746400356293, 0.3798869252204895, 0.15135279297828674, -0.6385052800178528, -0.5072887539863586, -0.43507516384124756, -0.21077804267406464, 0.25565123558044434, 0.024660207331180573, 0.09876324981451035, 0.5768133401870728, 0.07821048051118851, 0.31586530804634094, 0.6964777112007141, -0.4370594024658203, 0.8199246525764465, -0.3774183392524719, 0.5008972883224487, -0.6672412753105164, -0.021369369700551033, -0.2138880491256714, -0.1666543185710907, -0.194806307554245, -0.03927173092961311, 0.2561180293560028, -0.09009535610675812, -0.09286942332983017, 0.6695481538772583, -0.5582973957061768, -0.2637012004852295, -0.4056921899318695, 0.283501535654068, -0.2904289662837982, 0.2051793336868286, -0.44722428917884827, 0.5050172209739685, 0.7377550601959229, 0.00031878994195722044, 0.47268790006637573, -0.1452922224998474, -0.41784772276878357, 0.6659650206565857, -0.8569451570510864, 0.2595105767250061, 0.20412105321884155, 0.12036917358636856, -1.019736886024475, -0.2607419788837433, 0.03927827626466751, -0.2198854386806488, 0.1512896865606308, -0.3510873019695282, -0.40197306871414185, -0.4774327278137207, -0.5264381766319275, 0.31290775537490845, 0.470254510641098, -0.7922480702400208, 0.15999987721443176, 0.23988130688667297, -0.09205147624015808, -0.8384758234024048, -0.09567010402679443, 0.2519040107727051, -0.04649317264556885, -0.43761375546455383, 0.03404218330979347, -0.1548500955104828, -0.24787290394306183, -0.035979121923446655, -0.4577515125274658, -0.1510591357946396, 0.3708440363407135, 0.45349347591400146, 0.4561094045639038, -0.31244969367980957, 0.041620466858148575, -0.2066238522529602, -0.23740838468074799, 0.17674295604228973, 0.1393277645111084, 0.2457173764705658, -0.09404003620147705, -0.6315226554870605, 0.3730941712856293, -0.1071249321103096, 0.7336564064025879, -0.2754077911376953, 0.503133237361908, 0.1662459671497345, -0.40216314792633057, -0.5312288403511047, -0.6042225360870361, -0.24515381455421448, -0.4623149037361145, 0.4842351973056793, -0.008839056827127934, -0.5544645190238953, 0.11530082672834396, -0.2559598386287689, 0.16930735111236572, -0.11135630309581757, 0.18561924993991852, 0.1622226983308792, 0.8363244533538818, 0.8557370901107788, -0.4225102365016937, 0.07073193043470383, -0.11614327877759933, 0.34099382162094116, -0.7051059007644653, -0.35655760765075684, -0.7616770267486572, -0.3352358937263489, -0.03185978904366493, -0.4130978584289551, 0.06055803969502449, 0.518447756767273, -0.331383615732193, 0.4917086064815521, -0.40061646699905396, 0.8689974546432495, 0.4843951463699341, -0.049802083522081375, 0.4800921380519867, -0.09244228154420853, -0.08652479201555252, -0.029089512303471565, -0.5146063566207886, -0.8892937898635864, 1.3216347694396973, 0.35141950845718384, 0.6904886960983276, 0.04099193960428238, 0.8129249811172485, 0.22933101654052734, 0.7957618236541748, -0.45335453748703003, 0.6763398051261902, -0.39216533303260803, -0.16505683958530426, -0.5587365627288818, -0.34142613410949707, -0.8967854976654053, -0.08708859235048294, 0.03242861106991768, -0.834892749786377, -0.36204925179481506, 0.2390054166316986, -0.08123636245727539, 0.45718440413475037, -0.37912705540657043, 1.0857092142105103, -0.11476846039295197, -0.350046843290329, -0.3774838447570801, -0.33288562297821045, 0.3666200339794159, -0.11772029101848602, 0.16448743641376495, -0.4595417082309723, 0.21045713126659393, 0.6593804955482483, -0.6557314991950989, 0.7282583117485046, -0.28813040256500244, -0.14511863887310028, 0.007796136196702719, 0.04789488762617111, 0.2875420153141022, 0.08958198875188828, -0.14127539098262787, 0.09036386013031006, 0.056138187646865845, -0.5138156414031982, -0.4970606863498688, 1.107340693473816, -0.5817062854766846, -0.42849987745285034, -0.2532760500907898, -0.6240424513816833, -0.6250362396240234, -0.13250476121902466, -0.32678425312042236, 0.6807083487510681, -0.20465801656246185, 0.16449947655200958, 0.4524686336517334, -0.25514981150627136, 0.6642581820487976, 1.0581375360488892, -0.005041882861405611, -0.08754809945821762, 1.0181703567504883, -0.0714975893497467, 0.045578017830848694, 0.07294388860464096, -0.10207650065422058, -0.06392500549554825, -0.27738818526268005, -0.42201370000839233, 0.08092741668224335, -0.7950380444526672, -0.4938369393348694, -0.2732459604740143, -0.1460707038640976, -0.16085411608219147, -0.36618995666503906, -0.6010835766792297, -0.4533361494541168, 0.16701635718345642, -0.0938049703836441, 0.06288374215364456, 0.6714714765548706, -0.053648754954338074, -0.043404724448919296, -0.788877010345459, 0.20551446080207825, 0.17617376148700714, 0.9799433946609497, 0.15756304562091827, -0.4491889476776123, -0.45819026231765747, 0.03348240628838539, -0.4968709647655487, -0.518729031085968, -0.11015312373638153, 0.1620316058397293, 0.6917299628257751, 0.16800586879253387, 0.07948847115039825, 0.5214831829071045, -0.6142680644989014, 0.7285887598991394, 0.27770355343818665, -0.6741058826446533, 0.5284200310707092, -0.0994386300444603, 0.3953230679035187, 0.5161964297294617, 0.1406395137310028, -0.5961591601371765, -0.7522107362747192, -0.5876644849777222, -0.9110594987869263, 0.39238619804382324, -0.302487850189209, 0.06111879646778107, -0.08891033381223679, 0.05611144378781319, 0.16737227141857147, -0.060923393815755844, -0.36700162291526794, -0.339756578207016, -0.1431325227022171, -0.3107004463672638, -0.31209796667099, -0.17436547577381134, -0.09963510185480118, 0.016556669026613235, 0.9091982245445251, 0.062155939638614655, -0.1790088564157486, -0.5873876214027405, -0.18956312537193298, -0.11927811801433563, 0.3793725371360779, 0.3368188142776489, 0.9491062164306641, -0.13772675395011902, -0.019117681309580803, 0.03830956295132637, -0.3496609330177307, 0.3963879644870758, -0.029869144782423973, 0.10775020718574524, 0.046963661909103394, 0.5560404658317566, 0.5262467265129089, 0.5931416749954224, -0.9601913094520569, 0.5475896596908569, 0.022155774757266045, 0.28037703037261963, -0.17599153518676758, 0.4151049554347992, 0.182714581489563, 0.29624009132385254, 0.22972321510314941, 0.038850847631692886, 0.036396849900484085, -0.6516054272651672, 0.17996281385421753, 0.4050961434841156, -0.48545801639556885, -0.3475550413131714, 0.6136541962623596, 0.22724120318889618, -0.6119878888130188, 0.8557214736938477, 0.2591574788093567, -0.33189693093299866, 0.8919634819030762, 0.4196989834308624, 0.9095480442047119, -0.41300567984580994, 0.4965408742427826, 0.821973979473114, 0.19385570287704468, -0.2777787744998932, 0.1683768332004547, 0.17849965393543243, -0.41987186670303345, -0.2561423182487488, -0.6611915826797485, -0.45031261444091797, 0.3454204499721527, -0.6916530132293701, 0.3109375238418579, -0.4476763904094696, 0.007750286255031824, -0.22620350122451782, -0.0874306857585907, -0.5461007952690125, 0.4307693541049957, -0.06438349187374115, 1.012380599975586, -1.166722059249878, 0.7690779566764832, 0.7285617589950562, -0.3745197355747223, -0.904820442199707, -0.06198756396770477, -0.023397231474518776, -0.6959385275840759, 0.5504867434501648, 0.12380409240722656, -0.015668515115976334, -0.22852621972560883, -0.2931820750236511, -0.6967380046844482, 0.7270074486732483, 0.6523798108100891, -0.9850447177886963, 0.05405163764953613, 0.36536598205566406, 0.6922983527183533, -0.06050095334649086, 0.45731914043426514, 0.7036431431770325, 0.3769894540309906, -0.24239550530910492, -0.9057870507240295, -0.028638994321227074, -0.2554363012313843, -0.11092957854270935, 0.4612921178340912, -0.488660991191864, 0.45638126134872437, -0.34727153182029724, 0.18774637579917908, 0.21214348077774048, 0.27106547355651855, 0.37747231125831604, 0.3674026131629944, 0.36040544509887695, 0.7327632308006287, 0.7151215672492981, -0.394194096326828, 0.8154225945472717, -0.5561821460723877, 0.5017789602279663, 1.573878526687622, 0.006146382540464401, 0.7672991156578064, 0.3005863428115845, -0.502832293510437, 0.3307648003101349, 0.5237237811088562, -0.34540390968322754, 0.4571147859096527, 0.6477622985839844, -0.2769446074962616, -0.23267753422260284, 0.1462320238351822, -0.40841007232666016, 0.17882196605205536, -0.0407923199236393, -0.26008328795433044, -0.40040525794029236, -0.16253264248371124, -0.14738720655441284, 0.26494166254997253, -0.5036721229553223, 0.4403858184814453, 0.0607016384601593, -0.579362154006958, 0.6900252103805542, 0.05606863647699356, 0.10907009243965149, -0.3732549548149109, -0.34380877017974854, -0.7449617981910706, 0.5992550849914551, -0.24163316190242767, -0.6441227793693542, 0.2796917259693146, -0.013760338537395, -0.22430050373077393, 0.04888001084327698, 0.5685408711433411, -0.424405962228775, -0.5677983164787292, 0.5526139736175537, 0.10433606803417206, 0.15286602079868317, 0.1305241584777832, -0.5130515694618225, 0.4095134139060974, -0.13964717090129852, 0.005203861277550459, 0.4902280569076538, 0.18909066915512085, -0.0898989737033844, 0.8919945955276489, 0.08022025227546692, 0.18935053050518036, 0.1812269687652588, 0.41578415036201477, 0.6674495339393616, -0.25045350193977356, 0.1060793474316597, -0.681715190410614, 0.7571943402290344, -0.12586194276809692, -0.36813151836395264, 1.014304757118225, 0.8432070016860962, 1.0311875343322754, -0.24461081624031067, 0.7498230338096619, 0.2650589644908905, 0.6150122880935669, -0.31995493173599243, 0.3968088626861572, -0.4093793034553528, 0.7256725430488586, -0.5790173411369324, -1.2936439514160156, -0.01676635816693306, 0.3380882441997528, -0.07638268917798996, -0.0426279716193676, 0.5171511173248291, 1.0765522718429565, -0.14912152290344238, -0.1696854531764984, 0.5636129379272461, 0.2878590524196625, 0.07728233188390732, 0.6158833503723145, 0.7980237603187561, -0.523661196231842, 0.47431281208992004, -0.19072315096855164, -0.39614686369895935, -0.08275796473026276, -0.870272696018219, -0.8464000225067139, -0.32709792256355286, -0.8484469652175903, -0.4020267128944397, 0.4727157950401306, 0.6977339386940002, 0.28902313113212585, -0.8063116669654846, -0.22525078058242798, 0.08950094878673553, 0.03301357105374336, -0.35200241208076477, -0.16715265810489655, 0.4365067780017853, -0.43949300050735474, -0.5472018718719482, 0.691052258014679, 0.3230050504207611, -0.40734419226646423, -0.3050205409526825, -0.0978977233171463, 0.4507090747356415, 0.17382819950580597, 0.3675825893878937, 0.40947675704956055, -0.5409068465232849, -0.5400441288948059, -0.13500720262527466, -0.09241745620965958, -0.008352062664926052, 1.0636780261993408, -0.7714147567749023, 0.42096105217933655, 0.17557813227176666, 0.7871012687683105, 0.10467427968978882, -0.32428064942359924, 0.5098069906234741, -0.7183343172073364, -0.27529582381248474, 0.07214287668466568, 0.46786367893218994, 0.5519258975982666, 0.1008659079670906, 0.6929079294204712, 0.10950019210577011, -0.7075663805007935, -1.1104103326797485, -0.001766547211445868, -0.33262836933135986, -0.30583930015563965, 0.8727562427520752, -0.5735316276550293, 0.2528744339942932, -0.0026610475033521652, -0.003179663559421897, 0.1139405146241188, 0.133828803896904, 1.1788315773010254, 0.6940799355506897, 0.2741302251815796, -0.0320681594312191, -0.38107454776763916, 0.22045333683490753, 0.17431294918060303, -0.729945182800293, 0.2965102791786194, 0.6837239265441895, 0.7706684470176697, -0.2651832699775696, 0.6370331645011902, -0.20864102244377136, 0.1723843663930893, 0.09952832758426666, 0.047464288771152496, -0.0947108119726181, -0.5882735252380371, -0.14559301733970642, 0.15650314092636108, 0.17182336747646332, 0.05613236501812935 ]
http://arxiv.org/abs/2405.05345v1
http://arxiv.org/pdf/2405.05345v1
QuaLLM: An LLM-based Framework to Extract Quantitative Insights from Online Forums
2024-05-08T18:20:03
2024-05-08T18:20:03
Varun Nagaraj Rao, Eesha Agarwal, Samantha Dalal, Dan Calacci, Andrés Monroy-Hernández
cs.CL
cs.CL, cs.HC
Online discussion forums provide crucial data to understand the concerns of a wide range of real-world communities. However, the typical qualitative and quantitative methods used to analyze those data, such as thematic analysis and topic modeling, are infeasible to scale or require significant human effort to translate outputs to human readable forms. This study introduces QuaLLM, a novel LLM-based framework to analyze and extract quantitative insights from text data on online forums. The framework consists of a novel prompting methodology and evaluation strategy. We applied this framework to analyze over one million comments from two Reddit's rideshare worker communities, marking the largest study of its type. We uncover significant worker concerns regarding AI and algorithmic platform decisions, responding to regulatory calls about worker insights. In short, our work sets a new precedent for AI-assisted quantitative data analysis to surface concerns from online forums.
[ -0.45213738083839417, -0.6562821865081787, 0.7003121376037598, 0.42515894770622253, -0.3485957086086273, 0.25459614396095276, 0.0966603234410286, -0.5274483561515808, 0.3033159673213959, 0.14169277250766754, -0.7675061225891113, -0.4634995460510254, -0.3396250009536743, 0.13509663939476013, -0.6610010266304016, 0.7779824137687683, 0.3270062208175659, 0.06235478073358536, -0.522685706615448, -0.3072045147418976, -0.13475218415260315, -0.5262494087219238, -0.8650109767913818, 0.07182431221008301, 0.9093291759490967, 0.31888511776924133, 0.4036787748336792, 0.4860702157020569, 0.6247614622116089, 0.3385974168777466, -0.11394040286540985, 0.29587337374687195, -0.7598247528076172, 0.0034032107796519995, -0.048568129539489746, -0.6531757116317749, -0.41303426027297974, -0.0160537026822567, 0.4141824543476105, 0.5551285147666931, -0.23363128304481506, 0.4920147955417633, 0.04611286148428917, 0.5951713919639587, -0.6528375148773193, 0.15811575949192047, -0.5086291432380676, -0.0056581050157547, 0.019321009516716003, -0.37886956334114075, -0.17415404319763184, -0.9029150009155273, -0.22896265983581543, -0.7237840294837952, -0.05379839614033699, 0.19142913818359375, 0.4379536509513855, 0.24489277601242065, -0.43655648827552795, -0.35474538803100586, -0.6725437641143799, 0.9298006892204285, -0.9350136518478394, -0.005123411770910025, 0.42274585366249084, 0.46083158254623413, -0.039750076830387115, -0.8955645561218262, -0.5565050840377808, 0.29576194286346436, -0.22662143409252167, -0.025241967290639877, -0.1525413691997528, 0.016318656504154205, 0.21657204627990723, 0.30947595834732056, -0.5083579421043396, 0.08909095078706741, -0.4612691104412079, 0.011392464861273766, 0.725942850112915, 0.4385533332824707, 0.2906639873981476, -0.06732934713363647, -0.3456059992313385, 0.044392868876457214, -0.4657936096191406, 0.03051770105957985, 0.16366562247276306, -0.025578169152140617, -0.20956340432167053, 0.4225597679615021, -0.26438117027282715, 0.3264223337173462, -0.0012199709890410304, -0.15612132847309113, 0.15904095768928528, -0.14892639219760895, 0.09283732622861862, 0.03243383765220642, 0.8041988611221313, 0.8745724558830261, 0.043468840420246124, -0.023100661113858223, -0.07641749829053879, -0.09136886149644852, 0.08151094615459442, -0.8676652312278748, -0.10902097821235657, 0.6791707873344421, -0.8619356155395508, -0.47348469495773315, 0.5214901566505432, -0.927638590335846, -0.7796362638473511, -0.1702079176902771, 0.11600548028945923, 0.0943998396396637, -0.5252683162689209, -0.1727549284696579, -0.3129592537879944, 0.344333291053772, 0.46700403094291687, -0.4006270468235016, 0.17833049595355988, 1.027084231376648, 1.0448585748672485, -0.4083614647388458, 0.12235364317893982, -0.5595220923423767, 0.06395385414361954, 0.02548760175704956, 1.1171677112579346, -0.553899347782135, -0.3188643753528595, 0.3746269643306732, -0.1650015115737915, 0.17429500818252563, -0.5098830461502075, 0.22621773183345795, -0.811219334602356, 0.31794360280036926, -0.31857335567474365, -0.7003594636917114, -0.2548994719982147, 0.5900132656097412, -0.7243555188179016, 1.1401537656784058, 0.2253882735967636, -1.1029280424118042, 0.3591660261154175, -0.8380961418151855, -0.1876259297132492, 0.25150564312934875, -0.39376136660575867, -0.21707573533058167, 0.11980559676885605, 0.12642338871955872, 0.2611011862754822, -0.42175766825675964, 0.17170709371566772, -0.5343803763389587, -0.47000834345817566, 0.9030151963233948, -0.22856299579143524, 0.9217082262039185, 0.23934471607208252, -0.3847907483577728, 0.508198618888855, -0.6790116429328918, 0.22674480080604553, -0.20460544526576996, -0.19300179183483124, -0.3547910153865814, 0.2810218632221222, -0.1253347247838974, 0.20368969440460205, 0.31544965505599976, -0.4634474217891693, -0.19442670047283173, -0.5349942445755005, 0.7443214058876038, 0.837948739528656, 0.43268173933029175, 0.3396093547344208, -0.6057378649711609, 0.8690617084503174, -0.2110365331172943, 0.4208280146121979, 0.047558680176734924, -0.4285861551761627, -0.7548211812973022, -0.11742821335792542, 0.055055614560842514, 0.3939565420150757, -0.6188063025474548, 0.08802188187837601, -0.08289093524217606, -0.3890819251537323, -0.5912072062492371, -0.0793968066573143, 0.06677215546369553, 0.1390203833580017, 0.10534338653087616, -0.07586634159088135, -0.4540148973464966, -0.7183812260627747, -0.2749861776828766, -0.5113366842269897, -0.23729567229747772, 0.12412520498037338, 0.12800279259681702, -0.3731275498867035, 1.2257128953933716, -0.5839568376541138, 0.05408088117837906, -0.13636115193367004, 0.4885217249393463, -0.03922467678785324, 0.1694936603307724, 0.15710552036762238, -0.7369124889373779, -0.6712672114372253, 0.0180316474288702, -0.8564164638519287, -0.31624868512153625, -0.34923055768013, -0.351652055978775, -0.26618632674217224, 0.7214359045028687, -0.6619383096694946, 0.2655969560146332, 0.2164088785648346, 0.06655467301607132, 0.3140872120857239, 0.22324585914611816, 0.20605216920375824, -0.9746084213256836, 0.15027418732643127, -0.07970025390386581, -0.35773611068725586, -0.47276571393013, -0.02169656567275524, -0.09937049448490143, 0.04711852967739105, -0.609812319278717, 0.47109025716781616, -0.14872033894062042, -0.09137707203626633, -0.520168125629425, 0.35625600814819336, -0.0135048134252429, 0.2519049346446991, -0.47059133648872375, 0.657984733581543, -0.07017223536968231, -0.617620050907135, 0.38858819007873535, 0.31921902298927307, -0.16025348007678986, 0.5637812614440918, -0.6308707594871521, 0.49976515769958496, -0.10548354685306549, -0.00397493364289403, -1.0883663892745972, -0.221917062997818, 0.40968114137649536, -0.6683220267295837, -0.36606308817863464, 0.15278330445289612, -0.4084376394748688, -0.17920364439487457, -0.8774987459182739, 0.5345703959465027, 0.13607729971408844, -0.1318875551223755, 0.7127648591995239, 0.9380797743797302, -0.5324418544769287, -0.1517086923122406, -0.40237435698509216, -0.0008507882594130933, -0.5831172466278076, -0.39128202199935913, 0.04515402391552925, -0.1516655832529068, -0.8603578209877014, -0.0007106047123670578, 0.1252691149711609, -0.4398081302642822, 0.21856221556663513, 0.4451899528503418, 0.07162576168775558, -0.11586550623178482, 0.09832961857318878, 0.18225492537021637, -0.3580074906349182, 0.7207555770874023, 0.01029971893876791, 0.45049339532852173, 0.05026066303253174, -0.19069598615169525, -0.684506893157959, 0.49366462230682373, 0.4088992774486542, 0.021261822432279587, 0.6273314952850342, 0.7296753525733948, -0.3721114695072174, -0.1999605894088745, -0.5259425044059753, -0.4258163869380951, -0.5817311406135559, 0.14481496810913086, 0.2956395149230957, -1.3613064289093018, 0.42055457830429077, -0.4505424499511719, 0.2579360008239746, 0.5493302941322327, 0.5970685482025146, -0.48355329036712646, 1.3373616933822632, 0.791828989982605, -0.11538969725370407, 0.4129505455493927, 0.1374521106481552, 0.1670556515455246, -0.22336457669734955, -0.3217542767524719, -0.6978470683097839, -0.4500479996204376, -0.4953868091106415, -0.35517603158950806, 0.48541656136512756, -0.2597017288208008, -0.026525916531682014, -0.19607530534267426, -0.27960169315338135, 0.45064595341682434, 0.4240945279598236, 0.0396936796605587, 0.48594194650650024, -0.11338513344526291, 0.31249526143074036, -0.22893445193767548, -0.7107162475585938, -0.6546595692634583, 0.5680234432220459, 0.2822384238243103, 0.4735797643661499, -0.00006741224933648482, 0.2561388611793518, 0.810092568397522, 0.7155806422233582, -0.835422933101654, 0.7100746631622314, 0.35144758224487305, -0.5929973125457764, -0.26104244589805603, -0.8662930130958557, -0.8167799115180969, 0.20963531732559204, -0.2929523289203644, -0.3690311908721924, 0.1331186145544052, -0.020935792475938797, -0.6341148614883423, 0.29272252321243286, -0.2896522879600525, 0.5369997620582581, -0.37297019362449646, -0.15934063494205475, -0.4710882306098938, -0.7512426376342773, 0.3006625771522522, -0.2222604602575302, 0.7259306311607361, -0.4415428340435028, -0.17054089903831482, 0.9827576279640198, -0.47150760889053345, 1.0718979835510254, -0.233121857047081, -0.04188522323966026, 0.5199542045593262, 0.013560882769525051, 0.2671724855899811, 0.08574716746807098, -0.033996496349573135, 0.08876008540391922, 0.3301446735858917, -0.18133951723575592, -0.5915425419807434, 0.5324296951293945, -0.8321836590766907, -0.26186999678611755, -0.21233606338500977, -0.22631683945655823, -0.3241928815841675, 0.07818428426980972, 0.04240866377949715, 0.21216891705989838, -0.20504800975322723, 0.16208721697330475, 0.33558982610702515, -0.26516035199165344, 0.2715667188167572, 0.43619799613952637, -0.4235542416572571, -0.6149976253509521, 0.9590961337089539, -0.1833919733762741, -0.01984500326216221, 0.4494195878505707, 0.34211140871047974, -0.4619531035423279, -0.3656960725784302, -0.07722577452659607, 0.29418930411338806, -0.758577823638916, -0.4604235589504242, -0.5157251358032227, 0.09114383906126022, -0.07636673748493195, -0.03909599781036377, -0.049308087676763535, -0.5937035083770752, -0.5101225972175598, -0.26508018374443054, 0.46187344193458557, 1.008363127708435, -0.006244164425879717, 0.6713246703147888, -1.1996960639953613, 0.1068815067410469, 0.4038255214691162, 0.17264148592948914, 0.22065354883670807, -0.12896572053432465, -0.5701842904090881, 0.1420360803604126, -0.11801088601350784, -0.8460480570793152, 0.5058372616767883, 0.15156662464141846, 0.5232819318771362, 0.660878598690033, 0.4893553853034973, 0.625210165977478, 0.20957203209400177, 0.606880784034729, 0.05496186763048172, -0.6623209714889526, 0.39970001578330994, -0.34102103114128113, 0.039949964731931686, 0.8719403147697449, 0.6838819980621338, -0.7104129195213318, -0.4417727589607239, -0.3559107482433319, -0.8716588616371155, 0.4463083744049072, 0.1166195496916771, 0.1716545820236206, -0.1517782211303711, 0.6318854689598083, 0.15891823172569275, 0.5831243991851807, -0.5042546987533569, 0.08329824358224869, 0.16577653586864471, -0.39944157004356384, 0.5950106382369995, -0.4198000729084015, -0.07121210545301437, -0.13574354350566864, 0.27455759048461914, -0.19003696739673615, 0.17114433646202087, -0.016500722616910934, -0.23460853099822998, -0.3006513714790344, 0.04637116938829422, 0.3451051712036133, 1.0296728610992432, -0.06052058935165405, 0.31440868973731995, 0.28055405616760254, -0.1817113310098648, -0.017637230455875397, -0.3046867549419403, -0.17958474159240723, -0.21355314552783966, 0.29335182905197144, 0.2231389582157135, 0.33405885100364685, -0.9618432521820068, 0.5274196267127991, -0.45224422216415405, -0.23746486008167267, -0.4391917884349823, 0.0964120402932167, 0.15837834775447845, 0.4044671952724457, 0.6794794797897339, -0.41554129123687744, 0.2671619653701782, -0.47123682498931885, 0.22383861243724823, 0.14480027556419373, -0.7832511067390442, -0.4133574068546295, 0.6906111240386963, 0.3966681659221649, -0.2782232463359833, 0.5191588997840881, -0.17440123856067657, -0.4695155620574951, 0.574214518070221, -0.04545912146568298, 0.7704474925994873, 0.1818419247865677, 0.3833504021167755, 0.3556402325630188, 0.008015637286007404, -0.08902410417795181, 0.3803776204586029, 0.15374022722244263, -0.5243078470230103, -0.5370483994483948, -0.36681532859802246, -0.6862300038337708, -0.18246041238307953, -0.7272933721542358, 0.03500882536172867, -0.7805054783821106, -0.6094008088111877, -0.4020741879940033, -0.10046295076608658, -0.055219680070877075, 0.024584341794252396, -0.28794464468955994, 0.4919458329677582, -0.6326941251754761, 0.335725873708725, 0.5323949456214905, -0.1789451390504837, -0.4477582275867462, -0.02186567522585392, 0.17634087800979614, -0.6189317107200623, 0.24527166783809662, 0.35822930932044983, -0.30371585488319397, 0.12352358549833298, -0.8169182538986206, -0.4103793799877167, 0.988378643989563, 0.15159164369106293, -0.5187987089157104, 0.12757320702075958, 0.44751304388046265, 0.40600746870040894, -0.38392096757888794, 0.34521594643592834, 0.3811704218387604, 0.5226684808731079, -0.09585215151309967, -0.47174206376075745, 0.19949762523174286, -0.377827912569046, -0.1858951300382614, 0.07953548431396484, -0.7907063364982605, 0.7207830548286438, 0.07974163442850113, -0.4214841425418854, -0.11893852055072784, 0.7797581553459167, 0.24725160002708435, 0.6344739198684692, 0.7062203288078308, -0.001863165176473558, 0.9612939953804016, 0.35662251710891724, 0.600366473197937, -0.5748322606086731, 0.4349336326122284, 0.8198061585426331, -0.3373715877532959, 0.9438871145248413, 0.49091798067092896, -0.29018232226371765, 0.4643256366252899, 0.6285854578018188, 0.15241952240467072, 0.16165928542613983, 0.12343381345272064, -0.3461816608905792, -0.26823607087135315, -0.2920149564743042, -0.26385438442230225, 0.17440886795520782, 0.48332837224006653, 0.05067744478583336, -0.05739327520132065, -0.1441991776227951, -0.007529759779572487, 0.14855237305164337, -0.2964896857738495, 1.158463716506958, 0.37750568985939026, -0.26074308156967163, 0.03409760072827339, 0.2579634189605713, 0.6698813438415527, -0.34094032645225525, -0.12998583912849426, -0.3977050483226776, 0.09080972522497177, -0.37256768345832825, -0.5177903771400452, 0.5204793214797974, 0.07977931201457977, 0.17701992392539978, -0.19341593980789185, 0.9271681904792786, -0.06599485874176025, -0.49702882766723633, 0.2034885734319687, 0.8088963031768799, 0.08101420849561691, -0.44334977865219116, -0.6721754670143127, 0.20098121464252472, -0.00660155713558197, 0.05313630402088165, 0.43013182282447815, 0.7183497548103333, -0.044550735503435135, 0.6795710325241089, 0.7255893349647522, -0.14676924049854279, -0.10273786634206772, -0.044750817120075226, 1.0777021646499634, -0.9259867668151855, -0.46564921736717224, -0.9031551480293274, 0.5891377329826355, -0.4128628671169281, -0.41505366563796997, 0.77960604429245, 0.5453606843948364, 0.4719150960445404, 0.36230847239494324, 0.8810867667198181, 0.10591764003038406, 0.9322556257247925, -0.38554075360298157, 0.8372207880020142, -0.5182541012763977, 0.4062083959579468, 0.19900742173194885, -0.630765974521637, -0.2520217299461365, 0.7837827801704407, -0.21883085370063782, -0.07740383595228195, 0.5067633986473083, 0.8475189805030823, 0.17976003885269165, 0.3278980553150177, 0.08665468543767929, 0.2981486916542053, 0.4207254946231842, -0.018225135281682014, 1.345041275024414, 0.008455962873995304, 0.6965395212173462, -0.010160262696444988, -0.07566801458597183, -0.5759716033935547, -0.707832396030426, -0.9704939723014832, -0.2320440113544464, -0.42468133568763733, -0.2401825487613678, -0.20245814323425293, 1.0372387170791626, 0.44451841711997986, -0.8009202480316162, -0.4498840868473053, 0.06026330217719078, 0.15837030112743378, -0.0015468290075659752, -0.3352474272251129, 0.05558847263455391, -0.17348293960094452, -0.14532680809497833, 0.14077261090278625, 0.3901350200176239, -0.3357253074645996, -0.5570517182350159, -0.05544787272810936, -0.04646337777376175, 0.07671746611595154, 0.7593646049499512, 0.17365844547748566, -0.21398651599884033, -0.20219340920448303, 0.1277732402086258, -0.23641440272331238, 0.27545613050460815, 1.0479298830032349, -0.46211034059524536, 0.03530653938651085, 0.6545869708061218, 0.6747915744781494, 0.5402669906616211, 0.4573463797569275, 0.6404008865356445, -0.5123947858810425, -0.04756909981369972, 0.3067793548107147, -0.1587522327899933, 0.25298935174942017, -0.21529769897460938, 0.2818237543106079, 0.2851729691028595, -0.48028871417045593, -0.7431450486183167, -0.2551914155483246, -0.8810045123100281, -0.4697269797325134, 1.1198205947875977, -0.04255419969558716, -0.24771592020988464, -0.4892675578594208, -0.4282081425189972, 0.13633163273334503, -0.5836529731750488, 1.165752649307251, 0.3443431556224823, -0.1351136416196823, -0.47056302428245544, -0.6985471248626709, 0.32744020223617554, -0.002726572332903743, -1.139070749282837, -0.07831709086894989, 0.5541842579841614, -0.043972719460725784, -0.3273327648639679, 1.0707753896713257, 0.09918297827243805, 0.0235650222748518, -0.20316852629184723, -0.4553062617778778, 0.17044611275196075, -0.051528699696063995, -0.201917827129364, 0.6365535855293274, 0.35320138931274414, 0.17193664610385895 ]
http://arxiv.org/abs/2405.05329v2
http://arxiv.org/pdf/2405.05329v2
KV-Runahead: Scalable Causal LLM Inference by Parallel Key-Value Cache Generation
2024-05-08T18:03:22
2024-05-13T18:32:37
Minsik Cho, Mohammad Rastegari, Devang Naik
cs.DC
cs.DC, cs.AI, cs.CL
Large Language Model or LLM inference has two phases, the prompt (or prefill) phase to output the first token and the extension (or decoding) phase to the generate subsequent tokens. In this work, we propose an efficient parallelization scheme, KV-Runahead to accelerate the prompt phase. The key observation is that the extension phase generates tokens faster than the prompt phase because of key-value cache (KV-cache). Hence, KV-Runahead parallelizes the prompt phase by orchestrating multiple processes to populate the KV-cache and minimizes the time-to-first-token (TTFT). Dual-purposing the KV-cache scheme has two main benefits. First, since KV-cache is designed to leverage the causal attention map, we minimize computation and computation automatically. Second, since it already exists for the extension phase, KV-Runahead is easy to implement. We further propose context-level load-balancing to handle uneven KV-cache generation (due to the causal attention) and to optimize TTFT. Compared with an existing parallelization scheme such as tensor or sequential parallelization where keys and values are locally generated and exchanged via all-gather collectives, our experimental results demonstrate that KV-Runahead can offer over 1.4x and 1.6x speedups for Llama 7B and Falcon 7B respectively.
[ -0.17722845077514648, -0.7733889222145081, 0.5592419505119324, 0.7214779257774353, -0.4780241847038269, 0.08926291018724442, -0.1379251778125763, -0.3257123827934265, 0.27652081847190857, 0.7025314569473267, -0.5050112009048462, -0.5244694352149963, -0.48248037695884705, -0.035312410444021225, -0.3210315704345703, 0.4720604717731476, -0.20451807975769043, -0.08903411775827408, -0.21380974352359772, -0.17366757988929749, -0.749782145023346, -0.2532555162906647, -0.7542256712913513, -0.2727217376232147, 0.7044993042945862, 0.6027698516845703, 0.3409450054168701, 0.832818865776062, 0.4682409167289734, 0.31115350127220154, -0.04285850375890732, -0.00809535849839449, -0.6018999814987183, 0.6704379320144653, 0.05305858701467514, -0.6134191751480103, -0.4254559576511383, -0.24892018735408783, 0.7371840476989746, 0.27176138758659363, -0.05632681027054787, 0.3689393699169159, -0.32161253690719604, 0.7605016827583313, -0.8856403231620789, 0.22616082429885864, -0.5730498433113098, -0.008766685612499714, -0.3809467852115631, -0.13849622011184692, -0.5505250692367554, -0.37833696603775024, 0.058741915971040726, -0.7303263545036316, 0.15919150412082672, 0.2983115315437317, 0.6522082686424255, 0.4873583912849426, -0.5040868520736694, 0.1406475454568863, -0.4416234493255615, 0.7926528453826904, -0.6162862777709961, 0.37798571586608887, 0.028355948626995087, 0.4948633313179016, -0.35255828499794006, -1.073767900466919, -0.6280664205551147, -0.23639051616191864, 0.10252068191766739, 0.20474568009376526, 0.0017859687795862556, 0.24737560749053955, 0.344703733921051, 0.37761303782463074, -0.30419665575027466, 0.3745352625846863, -0.12120018899440765, -0.1512228548526764, 0.06900870054960251, 0.4523937702178955, 0.11010788381099701, -0.13331198692321777, -0.3946884274482727, -0.33299291133880615, -0.9231373071670532, 0.2308586686849594, 0.24416500329971313, 0.3195033073425293, -0.1516375094652176, 0.43737560510635376, -0.7507290244102478, 0.45925694704055786, 0.20860810577869415, -0.21031337976455688, 0.13192251324653625, -0.3734758496284485, -0.39941513538360596, 0.2674403488636017, 0.5809999108314514, 0.1782403141260147, 0.10921140015125275, -0.08634321391582489, 0.2175949364900589, 0.09740689396858215, 0.3650513291358948, -1.0887497663497925, 0.22563272714614868, 0.36810940504074097, -0.5522778630256653, -0.5420440435409546, -0.41971415281295776, -0.9994223713874817, -0.30314502120018005, -0.2917231321334839, 0.3054032027721405, 0.03429962694644928, 0.0018153716810047626, 0.022623881697654724, 0.0020341563504189253, 0.18994244933128357, 0.39307013154029846, -0.6465040445327759, 0.35686853528022766, 0.4765987694263458, 0.8272899985313416, -0.46615952253341675, -0.3514883816242218, -0.8889939188957214, 0.21467329561710358, -0.06328621506690979, 0.5753234028816223, -0.40301617980003357, -0.32519832253456116, -0.0507110171020031, -0.15194973349571228, 0.060678351670503616, -0.45976048707962036, 0.5135379433631897, -0.8516006469726562, -0.39673709869384766, -0.7077035307884216, -0.3672970235347748, -0.17712321877479553, 0.05755714327096939, -0.7794662714004517, 1.0039689540863037, -0.3045170307159424, -0.7572543025016785, 0.46923381090164185, -0.23944473266601562, -0.546393632888794, -0.15895837545394897, -0.1459943652153015, -0.31884053349494934, 0.24437859654426575, 0.5165379643440247, 0.4018685519695282, -0.793195366859436, 0.4633263051509857, -0.43873754143714905, -0.3816213309764862, -0.3106864094734192, -0.42744797468185425, 0.47067731618881226, 0.049328699707984924, -0.849829912185669, 0.3513072729110718, -0.6771122813224792, -0.11962984502315521, 0.09050535410642624, -0.18565839529037476, -0.136526957154274, 0.042902108281850815, -0.030693667009472847, 0.15059643983840942, 0.2640310525894165, -0.3527383804321289, 0.27091819047927856, -0.1768200397491455, -0.09640766680240631, 0.8126546740531921, -0.16944222152233124, 0.3621733486652374, -0.10490651428699493, 0.6265208125114441, 0.3824446499347687, 0.16973982751369476, -0.22990761697292328, -0.43982866406440735, -0.9523366689682007, -0.6214514970779419, 0.06262623518705368, 0.3862801790237427, -0.6693434119224548, 0.07051344215869904, -0.372016966342926, -0.4451411962509155, -0.5447087287902832, -0.05676849186420441, 0.6132202744483948, 0.8948997259140015, 0.3923567831516266, 0.05489955097436905, -0.32948461174964905, -1.262055516242981, -0.3507080078125, -0.2822551727294922, 0.41680169105529785, 0.39380180835723877, 0.1421259045600891, 0.021869516000151634, 0.7169879674911499, -0.3879876434803009, 0.09766097366809845, -0.0824333056807518, 0.36315983533859253, 0.33938565850257874, 0.3219289779663086, 0.21787452697753906, -0.550240695476532, -0.4243094325065613, -0.06947637349367142, -0.5787642598152161, -0.655724287033081, -0.1369221955537796, -0.42516079545021057, 0.16281329095363617, 0.4195308983325958, -0.6804556846618652, 0.42062318325042725, 0.2894594371318817, -0.4072406589984894, 0.6302666664123535, -0.1530207246541977, 0.45909708738327026, -0.990113377571106, 0.11460762470960617, -0.609390377998352, -0.3209334909915924, -0.408002644777298, 0.22634820640087128, 0.12077531218528748, 0.225870281457901, -0.3963324725627899, 0.6148219704627991, -0.302146852016449, -0.170123890042305, -0.5322290658950806, -0.10892529040575027, -0.16176240146160126, 0.5282015800476074, -0.15640036761760712, 0.9987524747848511, 0.49116799235343933, -0.518363356590271, 0.21374216675758362, -0.032927870750427246, -0.2025807797908783, 0.3199460804462433, -0.5853115320205688, -0.019971219822764397, 0.005895487032830715, 0.6268389821052551, -0.9538537263870239, -0.11169786751270294, 0.012600566260516644, 0.07143811136484146, 0.2762085795402527, 0.08733873814344406, -0.7560550570487976, -0.506801187992096, -0.2455269694328308, 0.8927141427993774, 0.7376223802566528, -0.9549989700317383, 0.6269215941429138, 0.16204755008220673, 0.04819447547197342, -0.9062753915786743, -0.41454464197158813, -0.026120275259017944, -0.499001145362854, -0.6983909010887146, 0.2803991138935089, 0.13402390480041504, -0.11250901222229004, -0.15381033718585968, -0.3139326274394989, 0.08966666460037231, -0.014136983081698418, 0.4233478605747223, 0.027226727455854416, -0.2623610198497772, 0.005411535035818815, 0.47569388151168823, -0.2385087013244629, -0.07440844178199768, -0.5150430202484131, 0.5813799500465393, -0.1432812660932541, -0.35507771372795105, -0.5329381227493286, 0.3513893783092499, 0.9656499624252319, 0.0546821728348732, 0.7778580784797668, 0.5138809680938721, -0.02037697657942772, -0.11989422887563705, -0.916135311126709, -0.2606177031993866, -0.4910951554775238, 0.034860387444496155, -0.3841732442378998, -1.2413407564163208, 0.8033237457275391, -0.2286507785320282, 0.08795268833637238, 0.3580161929130554, 1.0897136926651, 0.2508524954319, 0.6342340707778931, 0.1433773785829544, -0.32706400752067566, 0.21560953557491302, 0.12475591897964478, 0.14395809173583984, -0.49027296900749207, -0.03126152232289314, -0.4103470742702484, -0.4724617600440979, -0.40203529596328735, -0.681187629699707, 0.4362427294254303, 0.21624654531478882, -0.363154798746109, 0.10694149881601334, -0.2184777408838272, 0.2848556339740753, 0.8177183866500854, 0.07119670510292053, 0.44786760210990906, -0.14181727170944214, -0.5073557496070862, -0.015229626558721066, -0.5326961874961853, -0.08984584361314774, 1.0344666242599487, 0.009084505029022694, 0.7015425562858582, -0.1021156832575798, 0.612855851650238, 0.1907109022140503, 0.4349210560321808, -0.4703717827796936, 0.6424285769462585, 0.3344351649284363, -0.5501418709754944, -0.12123799324035645, -0.40581199526786804, -0.6156511902809143, 0.6023643612861633, 0.1619940996170044, -0.9061898589134216, 0.016480684280395508, 0.49284669756889343, -0.05070725828409195, 0.19150574505329132, -0.6569695472717285, 0.7378963828086853, 0.15257753431797028, -0.50297611951828, -0.7212843298912048, -0.6589444279670715, 0.9261202216148376, -0.31220096349716187, -0.15599720180034637, -0.025556933134794235, -0.0015667104162275791, 0.7391334772109985, -0.6894910931587219, 0.927126407623291, -0.29419589042663574, 0.0141683304682374, 0.27836793661117554, -0.1801002025604248, 1.0364757776260376, 0.2723250687122345, 0.16523897647857666, 0.049750711768865585, -0.27262401580810547, -0.4565964639186859, -0.5990882515907288, 0.8267074227333069, -0.4650365710258484, -0.9176484942436218, -0.0899650976061821, -0.7801868319511414, -0.1431555300951004, 0.3147363066673279, 0.09975012391805649, 0.20755741000175476, 0.1109854206442833, 0.05985552445054054, 0.47574248909950256, -0.24924176931381226, 0.4416877329349518, 0.5093141794204712, -0.2425248771905899, -0.41699346899986267, 0.6829917430877686, -0.10657372325658798, 0.360008180141449, 0.5285805463790894, 0.24715042114257812, -0.2731908857822418, -0.5069814920425415, -0.33554404973983765, 0.1796751618385315, -0.6074219942092896, -0.2740170657634735, -0.9877195358276367, 0.19053485989570618, -0.2719550132751465, -0.27002811431884766, -0.6492929458618164, -0.4409237504005432, 0.023681174963712692, 0.05872168391942978, 0.6827305555343628, 0.016797753050923347, -0.04350605979561806, 0.8300089836120605, -0.5261417031288147, 0.6723000407218933, 0.3267524540424347, 0.04488914832472801, 0.41782939434051514, -0.31818386912345886, -0.25450173020362854, -0.4686603844165802, -0.23052141070365906, -0.6799185872077942, 0.14903846383094788, -0.3133677840232849, 0.2549591064453125, 0.5617099404335022, 0.179445281624794, 0.9746513962745667, -0.7132154107093811, 0.5295930504798889, 0.08507366478443146, -0.9226087331771851, 0.13535422086715698, -0.5185351967811584, 0.47915610671043396, 0.7683928608894348, -0.05043286830186844, -0.3191623091697693, -0.618176281452179, -0.45009928941726685, -1.0840954780578613, 0.7275044322013855, 0.5096822381019592, -0.24998271465301514, -0.09116726368665695, 0.2708533704280853, 0.148812398314476, 0.3013901114463806, -0.36877307295799255, -0.4825083613395691, 0.11959756910800934, -0.1989721804857254, 0.15572278201580048, -0.3398275375366211, 0.0633126050233841, -0.35198816657066345, 0.5115031599998474, -0.002327173249796033, 0.28493449091911316, 0.052118055522441864, -0.07167799025774002, -0.1505403220653534, 0.04781179130077362, 0.5833038687705994, 0.44062864780426025, -0.20055736601352692, 0.29876431822776794, 0.24366524815559387, -0.751994252204895, 0.3295100927352905, 0.1378966122865677, -0.10787518322467804, -0.18373896181583405, 0.33661583065986633, 0.9173007607460022, 0.4739702045917511, -0.7775071263313293, 0.2768571376800537, -0.27091190218925476, -0.010009385645389557, 0.19595012068748474, -0.014669588766992092, 0.2861189544200897, 0.6569143533706665, 0.05149466171860695, -0.5808483362197876, 0.06746987998485565, 0.07279272377490997, 0.19604262709617615, 0.25007519125938416, 0.31229862570762634, -0.13572190701961517, 0.9072520136833191, 0.047625526785850525, 0.06522811204195023, 0.6809394359588623, 0.17539285123348236, -0.41701823472976685, 0.8699859976768494, 0.7108532786369324, 1.1768707036972046, -0.14093565940856934, -0.07245320826768875, 0.24098819494247437, 0.27430447936058044, -0.19655580818653107, 0.4482150971889496, -0.5318772196769714, -0.3990056812763214, -0.5978357195854187, -0.934288740158081, -0.3418078124523163, 0.13126443326473236, -0.7273393869400024, 0.027466928586363792, -0.18944720923900604, 0.03842908889055252, -0.18979880213737488, -0.2271943986415863, -0.7702233791351318, -0.040942493826150894, -0.12431017309427261, 0.8971907496452332, -0.6151199340820312, 0.9249802827835083, 0.2886812090873718, 0.03710983693599701, -0.7169525623321533, 0.07573495805263519, 0.014480088837444782, -0.9494552612304688, 1.0945075750350952, 0.3878856301307678, -0.05345624312758446, 0.27352917194366455, -0.08598142862319946, -1.0575944185256958, 1.3858256340026855, 0.2629009187221527, -0.6270806193351746, 0.060543499886989594, -0.011003070510923862, 0.13257335126399994, -0.2075956165790558, 0.2679153084754944, 0.6211938858032227, 0.6892865896224976, 0.26697319746017456, -0.6405524015426636, 0.45546647906303406, 0.13891565799713135, 0.12772589921951294, 0.41694751381874084, -0.6419118642807007, 0.5970545411109924, 0.08540235459804535, -0.014961602166295052, 0.039306942373514175, 1.0023438930511475, 0.7074430584907532, 0.23614798486232758, 0.6369931101799011, 0.9772829413414001, 0.5949422121047974, 0.3308062255382538, 0.9389221668243408, -0.3627950847148895, 0.13215944170951843, 1.1984622478485107, -0.2686660885810852, 0.6169203519821167, 0.9478110074996948, -0.05876992642879486, 0.13016203045845032, 0.5909711122512817, 0.4688549339771271, 0.6482413411140442, 0.37307512760162354, -0.567294180393219, -0.2327457219362259, -0.03143361210823059, -0.31268200278282166, 0.18384425342082977, 0.19023938477039337, -0.2542569935321808, -0.5610693097114563, -0.07726627588272095, 0.07415411621332169, -0.687458336353302, -0.14249677956104279, 0.33001747727394104, 0.26748740673065186, -0.8800148963928223, 0.5373180508613586, -0.061615411192178726, 0.2956656813621521, -0.4864047169685364, 0.11288870871067047, -0.1955215334892273, 0.12003479897975922, 0.37659937143325806, -0.08359907567501068, 0.07242722064256668, 0.01610751636326313, -0.4214980900287628, -0.210482656955719, 0.7359257340431213, -0.14515703916549683, -0.3308122456073761, 0.41121143102645874, 0.36318472027778625, 0.029536401852965355, -0.07330188900232315, -0.2368522733449936, 0.1554565727710724, -0.33463290333747864, -0.749962329864502, 0.4050739109516144, 0.2518768608570099, -0.4057094156742096, 0.49498242139816284, 0.7176820039749146, -0.11403781175613403, 0.6131864190101624, 0.22114285826683044, 0.9925789833068848, -0.6795614957809448, -0.7531278729438782, -1.0777957439422607, 0.5001897811889648, 0.010558069683611393, -0.2874026596546173, 0.6646707057952881, 0.309855580329895, 0.38285160064697266, -0.06287062168121338, 0.36477839946746826, 0.13125064969062805, -0.14900630712509155, -0.6759468913078308, 0.6866759657859802, -0.5826355814933777, -0.02819923311471939, -0.2546314001083374, -0.7139809727668762, -0.14701788127422333, -0.06559216231107712, -0.059773437678813934, -0.17152702808380127, 0.9238080978393555, 0.6724425554275513, -0.11516361683607101, 0.025352345779538155, 0.2535863220691681, 0.31243228912353516, 0.45750537514686584, 0.46313199400901794, 0.5095317959785461, -0.042597703635692596, 0.2179652601480484, -0.08615290373563766, -0.3076527416706085, -0.3332720696926117, -0.8872765898704529, -1.0385644435882568, -0.24736887216567993, 0.14036352932453156, -0.3359053134918213, 0.0435008630156517, 0.5395876169204712, 0.5754895210266113, -0.4905323088169098, -0.13685421645641327, -0.6178723573684692, 0.23516845703125, -0.11159554123878479, -0.2174789309501648, 0.5077014565467834, -0.7669567465782166, -0.5291590094566345, 0.5621418356895447, 0.6212137341499329, -0.29756027460098267, -0.1309664100408554, 0.009014608338475227, -0.1197456419467926, 0.17485108971595764, 0.40487536787986755, 0.2986677289009094, -0.949817419052124, -0.028520744293928146, -0.23543447256088257, -0.03680996596813202, -0.07582136988639832, 1.1376335620880127, -0.9753228425979614, 0.5340327620506287, 0.6562827825546265, 1.2853429317474365, 0.9712308645248413, -0.13679949939250946, 0.7656208872795105, -0.47684335708618164, 0.4694477915763855, -0.11104350537061691, 0.2264387458562851, -0.33435243368148804, -0.5332202315330505, 0.14465399086475372, 0.502439022064209, -0.6229322552680969, -0.8338829278945923, 0.3283657133579254, -1.2941228151321411, -0.07674010843038559, 0.8918696641921997, 0.0666796863079071, -0.4180840849876404, 0.07740211486816406, 0.11320905387401581, 0.5062666535377502, -0.48803749680519104, 0.6841186285018921, 0.6509935855865479, -0.03392372652888298, 0.016470162197947502, -0.7421499490737915, 0.29070329666137695, 0.8182869553565979, -0.9813780188560486, 0.18829059600830078, 0.31790924072265625, -0.07707111537456512, -0.25839802622795105, 0.8347474932670593, 0.001848895801231265, 0.30205732583999634, 0.002084574196487665, -0.013583285734057426, -0.07200293987989426, -0.4360540807247162, -0.2190108299255371, 0.1798575222492218, -0.23920583724975586, -0.31303927302360535 ]
http://arxiv.org/abs/2405.05253v1
http://arxiv.org/pdf/2405.05253v1
Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judge
2024-05-08T17:57:39
2024-05-08T17:57:39
Charles Koutcheme, Nicola Dainese, Sami Sarsa, Arto Hellas, Juho Leinonen, Paul Denny
cs.CL
cs.CL, cs.AI, cs.CY
Large language models (LLMs) have shown great potential for the automatic generation of feedback in a wide range of computing contexts. However, concerns have been voiced around the privacy and ethical implications of sending student work to proprietary models. This has sparked considerable interest in the use of open source LLMs in education, but the quality of the feedback that such open models can produce remains understudied. This is a concern as providing flawed or misleading generated feedback could be detrimental to student learning. Inspired by recent work that has utilised very powerful LLMs, such as GPT-4, to evaluate the outputs produced by less powerful models, we conduct an automated analysis of the quality of the feedback produced by several open source models using a dataset from an introductory programming course. First, we investigate the viability of employing GPT-4 as an automated evaluator by comparing its evaluations with those of a human expert. We observe that GPT-4 demonstrates a bias toward positively rating feedback while exhibiting moderate agreement with human raters, showcasing its potential as a feedback evaluator. Second, we explore the quality of feedback generated by several leading open-source LLMs by using GPT-4 to evaluate the feedback. We find that some models offer competitive performance with popular proprietary LLMs, such as ChatGPT, indicating opportunities for their responsible use in educational settings.
[ -0.07832098007202148, -0.5362638831138611, 0.8322343826293945, -0.059823177754879, -0.09762497246265411, 0.0746741071343422, -0.40074872970581055, -0.6104931235313416, -0.315283864736557, 0.43764975666999817, -0.18081623315811157, -0.5723753571510315, -0.4793176054954529, 0.12522751092910767, -0.530326783657074, 1.1975115537643433, -0.12015470862388611, 0.6012170314788818, -0.41129016876220703, 0.07394468039274216, -0.3682725131511688, -0.7780088782310486, -0.5884358286857605, -0.42340797185897827, 0.3805942237377167, 0.32967087626457214, 0.7242580652236938, 0.1790790855884552, 0.5949029922485352, 0.31770986318588257, 0.09529883414506912, -0.41689857840538025, -0.56917804479599, -0.07133641839027405, -0.4365135133266449, -0.5508299469947815, -0.5058033466339111, 0.5035935044288635, 0.6499168276786804, 0.41358262300491333, -0.18421684205532074, 0.33366602659225464, 0.3754312992095947, 0.5423067808151245, -0.2632113993167877, 0.33160141110420227, -0.42236942052841187, -0.019668515771627426, -0.21554584801197052, 0.10068286955356598, -0.41901907324790955, -0.9467408657073975, 0.03442921116948128, -0.399088054895401, 0.0881759524345398, -0.2947074770927429, 0.7742382287979126, 0.2797531485557556, 0.06311687082052231, -0.6017327308654785, -0.895003080368042, 0.7887707948684692, -1.1117740869522095, 0.39306536316871643, 0.38229501247406006, 0.5055038928985596, 0.0657506138086319, -0.6232815980911255, -0.4351588189601898, -0.580817461013794, 0.10914614051580429, 0.15644577145576477, -0.09442699700593948, 0.11241142451763153, 0.14656394720077515, 0.6450693011283875, -0.3038991689682007, 0.25107380747795105, -0.5461928248405457, -0.24523158371448517, 0.3880102038383484, -0.023365920409560204, 0.24595549702644348, -0.1617034524679184, -0.026131264865398407, 0.16971828043460846, -0.849325954914093, 0.004468761850148439, 0.9064523577690125, 0.3200749158859253, 0.21249915659427643, 0.7492509484291077, -0.012478388845920563, 0.6978833079338074, -0.1996854692697525, -0.04879648610949516, 0.14216652512550354, -0.3378033936023712, -0.04623621329665184, -0.3577703535556793, 0.8393584489822388, 0.3890448808670044, 0.39173147082328796, -0.19956383109092712, -0.5072949528694153, 0.2388269454240799, 0.25831449031829834, -0.7857110500335693, -0.39259904623031616, 0.07718513906002045, -0.5961825251579285, -0.3594737946987152, 0.14962011575698853, -0.697524905204773, -0.23738345503807068, -0.5653933882713318, 0.4732651114463806, -0.20607581734657288, -0.3272823989391327, -0.06415600329637527, 0.1516530066728592, -0.025433888658881187, 0.6177318096160889, -0.6916079521179199, 0.5063351988792419, 0.5748533010482788, 0.858681857585907, -0.21141499280929565, -0.2100817859172821, -0.49882641434669495, -0.2298012226819992, -0.18254350125789642, 0.5301549434661865, -0.6029313802719116, -0.4950478672981262, -0.03820471838116646, -0.17966771125793457, 0.34198394417762756, -0.5345737934112549, 0.3884570896625519, -0.5382519960403442, 0.47348400950431824, -0.28244873881340027, -0.678728461265564, -0.01283307932317257, 0.21328772604465485, -0.6511561870574951, 0.8287442922592163, 0.37265145778656006, -0.655907928943634, 0.230089470744133, -0.769719660282135, 0.09129015356302261, 0.2649751305580139, -0.48847606778144836, -0.27380135655403137, 0.07476566731929779, 0.052542317658662796, 0.18370722234249115, -0.20932680368423462, 0.163307324051857, -0.45292869210243225, -0.3575734794139862, 0.328676700592041, -0.38597214221954346, 0.6780890226364136, 0.3033903241157532, -0.4992605447769165, 0.31064707040786743, -0.5718714594841003, 0.2611171305179596, 0.06407278031110764, -0.6843205094337463, -0.18725308775901794, -0.0736103281378746, -0.06248137354850769, 0.02383478172123432, 0.19978761672973633, -0.679515540599823, 0.19231776893138885, -0.28028395771980286, 0.4603239595890045, 1.0279345512390137, -0.12416339665651321, 0.27580493688583374, -0.1403980702161789, 0.8453593254089355, -0.3559272587299347, 0.18399743735790253, 0.02527615800499916, -0.6028589010238647, -0.4150804877281189, -0.015791360288858414, 0.5182233452796936, 0.22734233736991882, -0.7236349582672119, -0.07321932911872864, 0.1299998164176941, -0.40152737498283386, -0.8343880772590637, 0.38642770051956177, 0.4494924247264862, 0.2712355852127075, 0.07103969901800156, -0.49546191096305847, -0.31473609805107117, -0.6001091599464417, -0.49895820021629333, -0.4708639979362488, -0.2793397009372711, 0.37279248237609863, 0.4540926218032837, -0.1947958767414093, 1.0497111082077026, -0.2554740011692047, -0.1763106882572174, -0.03779459372162819, -0.053116556257009506, 0.11340688914060593, 0.2577279806137085, 0.5306528210639954, -0.20871417224407196, -0.2210397869348526, -0.19598346948623657, -0.6607451438903809, -0.35575324296951294, 0.3326517343521118, 0.15452350676059723, 0.1539701521396637, 0.0652555599808693, -0.3406878709793091, 0.15624362230300903, 0.6953241229057312, -0.2270858883857727, 0.7691657543182373, -0.25145435333251953, 0.13883014023303986, -0.6828078627586365, -0.06624696403741837, -0.005565717350691557, -0.2100808173418045, -0.1401767134666443, 0.23785869777202606, 0.04215335100889206, -0.19968198239803314, -0.4395237863063812, 0.49718818068504333, -0.37186959385871887, -0.2972177565097809, -0.39714792370796204, 0.2572445571422577, -0.25973761081695557, 0.070257768034935, -0.0863531082868576, 0.7421801686286926, 0.3031221628189087, -0.20742042362689972, 0.4955625832080841, 0.05128327012062073, -0.5104801654815674, 0.501846969127655, -0.6929270029067993, 0.4796020984649658, 0.30568093061447144, 0.1541212797164917, -0.7240209579467773, -0.38501331210136414, 0.35379651188850403, -0.635369598865509, 0.08456697314977646, -0.3559560477733612, -0.6180696487426758, -0.5142797231674194, -0.350952684879303, 0.06577452272176743, 0.4330332279205322, -0.6541114449501038, 0.21350422501564026, 0.3509799838066101, -0.3053777813911438, -0.4176570177078247, -0.5021754503250122, 0.03808657079935074, 0.19834236800670624, -0.3758179545402527, -0.2770996391773224, -0.2674320340156555, -0.49028632044792175, 0.34875476360321045, -0.015426619909703732, 0.01817670837044716, 0.17939506471157074, 0.3829312324523926, 0.440140962600708, -0.2629677355289459, -0.07104387134313583, -0.3133176565170288, 0.03478898108005524, 0.32608872652053833, -0.4610225260257721, 0.2277541309595108, -0.6415421366691589, -0.8765082359313965, -0.2867726683616638, 0.04376910254359245, 0.5297703742980957, -0.08882367610931396, 0.2653638422489166, 0.37123849987983704, -0.2295086681842804, -0.28216272592544556, -0.4556092917919159, -0.3574869632720947, -0.4787208139896393, 0.1507459580898285, -0.013082161545753479, -1.1402709484100342, 0.15884707868099213, 0.1641501635313034, 0.22484800219535828, 0.19726236164569855, 0.8610206842422485, 0.08580087870359421, 0.853940486907959, 0.6316602826118469, -0.21763473749160767, 0.45863860845565796, -0.20096784830093384, 0.3747110366821289, -0.5202620029449463, -0.26198023557662964, -0.7738574743270874, 0.01554052159190178, -0.5110347270965576, -0.2785320281982422, 0.11399596929550171, 0.01160094141960144, -0.13978834450244904, -0.0030982540920376778, -0.5403627157211304, 0.8022789359092712, 0.7481591105461121, 0.043292827904224396, 0.5086884498596191, -0.18865063786506653, -0.14290954172611237, 0.04154026880860329, -0.3654181957244873, -0.9724625945091248, 1.2884025573730469, 0.6537483334541321, 1.090943455696106, 0.20235347747802734, 0.6991416811943054, 0.3188759684562683, 0.9056544899940491, -0.8272072076797485, 0.5896749496459961, 0.02415403351187706, -0.6116227507591248, -0.30129051208496094, -0.7071477770805359, -0.5162269473075867, 0.09159979969263077, 0.1751270592212677, -0.690828263759613, -0.35281726717948914, 0.1777343899011612, -0.3259739577770233, 0.36958885192871094, -0.7579680681228638, 0.7218289971351624, -0.4055536687374115, -0.5365164279937744, -0.07291228324174881, -0.35887622833251953, 0.4380069673061371, -0.19791355729103088, 0.37817779183387756, -0.09459470957517624, 0.28819143772125244, 0.7851545810699463, -0.6490418910980225, 1.011924147605896, -0.4389709234237671, -0.41883206367492676, 0.5101037621498108, 0.15853255987167358, 0.17898771166801453, 0.11298142373561859, -0.2250450700521469, 0.3710263967514038, -0.01585833914577961, -0.13602657616138458, -0.523150622844696, 1.0290790796279907, -1.1284104585647583, -0.7740829586982727, -0.27985212206840515, -0.3185289800167084, -0.23436756432056427, 0.2748262882232666, 0.12584690749645233, 0.227151557803154, -0.016245678067207336, -0.012085777707397938, 0.18268851935863495, -0.2645379602909088, 0.18741421401500702, 0.9148771166801453, -0.6047763228416443, -0.4090726375579834, 1.0283923149108887, 0.12031138688325882, 0.34969833493232727, -0.2653319239616394, 0.4100346267223358, -0.3730618357658386, -0.6300573945045471, -0.6563301682472229, 0.2793075442314148, -0.9988176226615906, -0.0591900534927845, -0.20870019495487213, -0.1791919767856598, -0.381111741065979, 0.08763875812292099, -0.29121196269989014, -0.4661121666431427, -0.2714179456233978, -0.27976536750793457, 0.04799586534500122, 1.4744338989257812, -0.02772924304008484, 0.15666484832763672, -0.784527063369751, -0.03704908862709999, 0.40215399861335754, 0.8547663688659668, -0.06320200115442276, -0.3707547187805176, -0.20758022367954254, -0.035207174718379974, -0.5153191089630127, -0.804186224937439, 0.08189082890748978, -0.1229691356420517, 0.6850376725196838, 0.3705715239048004, -0.1439645141363144, 0.08411767333745956, -0.4862080514431, 1.251284122467041, 0.11077207326889038, -1.0658528804779053, 0.5643685460090637, -0.36502647399902344, 0.13643553853034973, 0.3609533905982971, 0.4442169666290283, -0.21904592216014862, -0.9215629696846008, -0.46149733662605286, -0.5212526917457581, 0.8957704305648804, 0.2288060337305069, 0.10826559364795685, 0.12755320966243744, 0.38355356454849243, 0.3253938555717468, 0.45100343227386475, -1.130218267440796, 0.043795954436063766, -0.47782737016677856, -0.1076558455824852, -0.023139186203479767, -0.2121182084083557, 0.012749850749969482, -0.01681884378194809, 0.6528477668762207, 0.061449650675058365, 0.07604959607124329, -0.1634545624256134, 0.06966214627027512, -0.3492435812950134, 0.4667785167694092, 0.3641555607318878, 0.7856466770172119, -0.25989317893981934, 0.07951416075229645, -0.1517113596200943, -0.48889532685279846, 0.24354083836078644, -0.05870528519153595, -0.2378731220960617, 0.1476527899503708, 0.10993168503046036, 0.4972202479839325, 0.12495166808366776, -0.5237955451011658, 0.6836079359054565, -0.1773689240217209, -0.1326315999031067, -0.18776939809322357, 0.1883215755224228, 0.02241511270403862, 0.2020341157913208, 0.03229697048664093, -0.06950444728136063, 0.15084782242774963, -0.5556827187538147, 0.10857200622558594, 0.44535693526268005, -0.2490161508321762, -0.572022557258606, 0.8362469673156738, 0.46212658286094666, -0.4472341537475586, 0.5734071135520935, 0.1542074978351593, -0.5341859459877014, 0.3504106104373932, 0.4546908736228943, 0.8461309671401978, -0.4542371928691864, 0.1712825447320938, 0.2771270275115967, 0.3873156011104584, -0.2793870270252228, 0.17717769742012024, -0.11365266889333725, -0.42359820008277893, -0.5467918515205383, -0.7196809649467468, -1.0907018184661865, 0.32267460227012634, -0.6064334511756897, 0.31711116433143616, -0.43692564964294434, -0.4141385853290558, -0.23614932596683502, -0.09433072060346603, -0.5811498761177063, -0.01635752059519291, 0.19691874086856842, 0.6081523299217224, -0.7690690159797668, 0.9380272626876831, 0.7744268178939819, -0.6372541785240173, -1.068052053451538, 0.0070524620823562145, 0.13072741031646729, -0.5796114206314087, 0.8076339364051819, 0.12313085049390793, -0.2666712701320648, -0.09251268208026886, -0.6131534576416016, -0.6711103916168213, 0.6730835437774658, 0.6252058148384094, -0.69146728515625, -0.29744023084640503, 0.29028207063674927, 0.7069350481033325, 0.020990876480937004, 0.7285600304603577, 0.3256149888038635, 0.41361576318740845, -0.10587940365076065, -1.1439565420150757, -0.14795079827308655, -0.2901670038700104, 0.00686080614104867, -0.02391161024570465, -0.4206107258796692, 0.9574827551841736, -0.21032151579856873, -0.10381916165351868, 0.050729576498270035, 0.47176018357276917, 0.14479663968086243, 0.2818411886692047, 0.31487181782722473, 0.4170980155467987, 0.750432014465332, 0.006185575388371944, 1.2449406385421753, -0.38494056463241577, 0.6045179963111877, 1.254953384399414, -0.34436365962028503, 0.7720829844474792, 0.34513089060783386, -0.4118916690349579, 0.4249294400215149, 0.5533051490783691, -0.07269199192523956, 0.346270889043808, 0.6159395575523376, -0.13716888427734375, 0.12405458092689514, 0.32597920298576355, -0.45364779233932495, 0.07059711962938309, 0.1916063129901886, -0.36398017406463623, -0.3274948298931122, 0.04675093665719032, -0.11618928611278534, 0.04745928943157196, -0.4204014241695404, 0.6459112167358398, 0.18757759034633636, -0.6648284196853638, 0.26766178011894226, 0.038672756403684616, 0.5287838578224182, -0.5091163516044617, -0.17683298885822296, -0.17636221647262573, 0.37971657514572144, -0.4273088872432709, -0.854591429233551, 0.210971862077713, 0.4498042166233063, -0.03369582071900368, -0.2749280631542206, 0.5625836849212646, -0.23979778587818146, -0.339775949716568, 0.40149950981140137, 0.5939106941223145, 0.38393962383270264, 0.024243006482720375, -0.41380575299263, 0.26406389474868774, -0.05628006160259247, -0.3455696403980255, 0.4062325656414032, 0.24274688959121704, 0.041723474860191345, 0.5774897336959839, 0.7090123295783997, 0.37696054577827454, -0.024119578301906586, 0.20858334004878998, 0.877651035785675, -0.374306321144104, -0.3975875675678253, -0.8655411601066589, 0.08202793449163437, 0.18979421257972717, -0.12608563899993896, 1.156607985496521, 0.48684608936309814, 1.2686173915863037, -0.1281053125858307, 1.1487735509872437, 0.24312017858028412, 0.7042867541313171, -0.5296072959899902, 0.7751580476760864, -0.22729329764842987, 0.6866249442100525, -0.47367119789123535, -0.9523650407791138, -0.036539021879434586, 0.5398754477500916, -0.6228764653205872, 0.18715263903141022, 0.5479228496551514, 0.48156577348709106, 0.11150982230901718, 0.31783971190452576, 0.35235634446144104, 0.20701570808887482, 0.6665740013122559, 0.24161937832832336, 1.2614984512329102, 0.14301127195358276, 0.49637657403945923, -0.09711244702339172, -0.3341915011405945, -0.2241446077823639, -0.7594833970069885, -0.9472759962081909, -0.2710380256175995, -0.24036799371242523, -0.48165035247802734, 0.014805877581238747, 0.8443154692649841, 0.49754783511161804, -0.8649472594261169, -0.4051033556461334, -0.008680840022861958, 0.007145906798541546, 0.26545679569244385, -0.2794893682003021, 0.08551812171936035, -0.40519270300865173, -0.7249835729598999, 0.4536859393119812, 0.023017097264528275, 0.0016266972525045276, -0.7002924680709839, -0.2222316414117813, 0.5331321954727173, 0.056742556393146515, 0.5248175859451294, 0.006566451862454414, -0.9458677172660828, -0.3634917438030243, -0.1806318312883377, -0.152556911110878, -0.041549064218997955, 0.9852195382118225, -0.7296742796897888, 0.44203925132751465, 0.2508879005908966, 0.6282529234886169, 0.17530182003974915, -0.02265266142785549, 0.6161748766899109, -0.3921942710876465, -0.2812386453151703, 0.4685371220111847, 0.4068771004676819, 0.43998289108276367, -0.291814923286438, 0.5579165816307068, 0.20056188106536865, -0.9310122132301331, -0.8212302327156067, -0.02540227212011814, -0.5580751299858093, -0.1748417764902115, 1.3165432214736938, -0.5639312267303467, -0.03323087468743324, 0.07737694680690765, -0.39818689227104187, 0.007807834539562464, -0.5287702679634094, 0.804705798625946, 0.9752484560012817, -0.16183829307556152, -0.01986631751060486, -0.8358209133148193, 0.3648902475833893, 0.18464815616607666, -0.9040782451629639, -0.04887901619076729, 0.7845662832260132, 0.5969141125679016, 0.03260271996259689, 0.6959952116012573, -0.44081395864486694, 0.20829647779464722, -0.22747737169265747, 0.15798822045326233, -0.21157392859458923, -0.15792642533779144, -0.6432614922523499, 0.3403490483760834, 0.6635006070137024, -0.018992001190781593 ]
http://arxiv.org/abs/2405.05254v2
http://arxiv.org/pdf/2405.05254v2
You Only Cache Once: Decoder-Decoder Architectures for Language Models
2024-05-08T17:57:39
2024-05-09T14:12:45
Yutao Sun, Li Dong, Yi Zhu, Shaohan Huang, Wenhui Wang, Shuming Ma, Quanlu Zhang, Jianyong Wang, Furu Wei
cs.CL
cs.CL
We introduce a decoder-decoder architecture, YOCO, for large language models, which only caches key-value pairs once. It consists of two components, i.e., a cross-decoder stacked upon a self-decoder. The self-decoder efficiently encodes global key-value (KV) caches that are reused by the cross-decoder via cross-attention. The overall model behaves like a decoder-only Transformer, although YOCO only caches once. The design substantially reduces GPU memory demands, yet retains global attention capability. Additionally, the computation flow enables prefilling to early exit without changing the final output, thereby significantly speeding up the prefill stage. Experimental results demonstrate that YOCO achieves favorable performance compared to Transformer in various settings of scaling up model size and number of training tokens. We also extend YOCO to 1M context length with near-perfect needle retrieval accuracy. The profiling results show that YOCO improves inference memory, prefill latency, and throughput by orders of magnitude across context lengths and model sizes. Code is available at https://aka.ms/YOCO.
[ -0.17247681319713593, -0.6404306292533875, 0.4278213381767273, 0.21038785576820374, -0.3101905882358551, -0.11110668629407883, -0.08098011463880539, -0.5012611746788025, 0.29151153564453125, 0.6242625713348389, -0.24944613873958588, -0.36762315034866333, -0.31634241342544556, -0.09907510876655579, -0.36105450987815857, 0.8641554117202759, 0.3759235739707947, -0.05579974129796028, -0.3322743773460388, -0.02780814655125141, -0.5096454620361328, -0.2836960256099701, -0.6144348382949829, -0.02198633924126625, 0.41621023416519165, 0.3843243420124054, 0.34555584192276, 0.9636343717575073, -0.09600216150283813, 0.31807518005371094, -0.03301319107413292, 0.047539908438920975, -0.6260850429534912, 0.4258216917514801, -0.039665885269641876, -0.43935707211494446, -0.4886872172355652, -0.29229292273521423, 0.4792582094669342, 0.5505505800247192, -0.10550800710916519, 0.09771855175495148, -0.18808160722255707, 0.5093621611595154, -1.3690918684005737, 0.24776291847229004, -0.9012213945388794, -0.22115136682987213, -0.3150689899921417, -0.08481855690479279, -0.6634142398834229, -0.14400485157966614, 0.11147770285606384, -0.5503103137016296, 0.3101002275943756, -0.38167881965637207, 0.5734559297561646, 0.41340017318725586, -0.30551502108573914, 0.05277400091290474, -0.6676660776138306, 0.7653214335441589, -0.7465270161628723, 0.4946272671222687, 0.38045310974121094, 0.28967487812042236, 0.26454785466194153, -1.0405223369598389, -0.5147872567176819, 0.022877436131238937, 0.05867583677172661, 0.2444303035736084, 0.026620717719197273, -0.11236261576414108, -0.08941441029310226, 0.3569395840167999, -0.43563008308410645, -0.19777385890483856, -0.40166518092155457, -0.26017844676971436, 0.2914705276489258, 0.24591344594955444, 0.19889231026172638, 0.23369824886322021, -0.23706257343292236, -0.2804744839668274, -0.767453134059906, -0.07628843933343887, 0.22130124270915985, 0.3513292968273163, 0.20876756310462952, 0.13119259476661682, -0.1764688640832901, 0.6215620040893555, -0.015855297446250916, -0.07323402166366577, 0.19674687087535858, -0.40760669112205505, -0.233787402510643, 0.17259806394577026, 0.9917886853218079, -0.0661720335483551, 0.04647410660982132, -0.5614831447601318, -0.0918041542172432, 0.12934915721416473, 0.8037580251693726, -0.860387921333313, -0.16597221791744232, 0.10599904507398605, -0.18113510310649872, -0.23361830413341522, -0.12755060195922852, -0.7031812071800232, 0.09117786586284637, 0.17614935338497162, 0.4730292856693268, -0.05990804731845856, -0.19328485429286957, 0.6576803922653198, 0.034907471388578415, 0.0841188058257103, 0.07543335855007172, -0.9681711792945862, 0.6679210662841797, 0.5852548480033875, 0.7740268707275391, -0.18105173110961914, -0.445483535528183, -0.6858112215995789, -0.009601718746125698, -0.42885762453079224, 0.6390154957771301, -0.4748401343822479, -0.49594250321388245, 0.011621943674981594, 0.10477076470851898, -0.040193598717451096, -0.24530768394470215, 0.6242619156837463, -0.9701579213142395, 0.0643186941742897, -0.3428836166858673, -0.369956374168396, 0.07392355799674988, -0.013407296501100063, -1.0215611457824707, 0.9489523768424988, -0.04774683341383934, -0.7576165795326233, 0.20085203647613525, -0.5193904042243958, -0.7863380908966064, 0.07889409363269806, -0.13503038883209229, -0.4291319251060486, 0.39104458689689636, 0.13857288658618927, 0.17843955755233765, -0.3675991892814636, -0.060282833874225616, -0.20668698847293854, -0.5889669060707092, -0.2944074869155884, -0.30823275446891785, 0.671552300453186, 0.3779391050338745, -0.3689590394496918, 0.007431806996464729, -0.8083909749984741, 0.31102120876312256, 0.3337094187736511, -0.4257674217224121, -0.33020859956741333, 0.17601130902767181, 0.16176605224609375, 0.1716766655445099, 0.3479768931865692, -0.7247453927993774, 0.5013776421546936, -0.2932788133621216, 0.6718018651008606, 0.5751590132713318, -0.3257746994495392, 0.6454108357429504, 0.056988880038261414, 0.41476312279701233, 0.3452039361000061, -0.03381286561489105, -0.9113348126411438, -0.4030303657054901, -0.7615790367126465, -0.052975691854953766, 0.05791143700480461, 0.38668304681777954, -0.4051554501056671, 0.243936687707901, -0.3761148154735565, -0.29492464661598206, -0.8709357976913452, 0.05038204416632652, 0.6672526001930237, 0.6673488616943359, 0.5488207340240479, -0.35440120100975037, -0.4184689521789551, -0.8901938796043396, -0.07661734521389008, -0.13887903094291687, 0.22630873322486877, 0.20153509080410004, 0.27879980206489563, -0.18828897178173065, 0.9607193470001221, -0.6106687188148499, -0.08387120068073273, -0.2106916457414627, 0.10118160396814346, -0.12876327335834503, 0.4480348229408264, 0.5729396343231201, -0.6457880735397339, -0.6157661080360413, 0.1281762421131134, -0.20578275620937347, -0.11861633509397507, -0.08655521273612976, 0.06519141793251038, 0.5041705965995789, 0.49130719900131226, -0.3937622308731079, 0.35585567355155945, 0.5770725011825562, -0.24136489629745483, 0.43166106939315796, -0.5698081851005554, 0.05229616537690163, -1.0089315176010132, 0.3484566807746887, -0.4999792277812958, -0.4238838851451874, -0.49354636669158936, -0.06951475143432617, 0.43163785338401794, 0.07919839024543762, -0.3654223680496216, 0.854387104511261, -0.4306224286556244, -0.03540666401386261, -0.45202404260635376, -0.041624777019023895, 0.3486424684524536, 0.3968576192855835, 0.06968038529157639, 1.1087477207183838, 0.7448891997337341, -0.7621873021125793, -0.1086370050907135, 0.055392440408468246, -0.29864779114723206, -0.035396113991737366, -0.9549747109413147, 0.7699326276779175, -0.2600902020931244, 0.11143598705530167, -0.9740288257598877, 0.14914779365062714, -0.13975584506988525, -0.28383132815361023, 0.4902893006801605, -0.3005993962287903, -0.3653196692466736, -0.3559149503707886, -0.16258461773395538, 0.6562106609344482, 0.2821352779865265, -0.5852624773979187, 0.6255125403404236, 0.4562109410762787, 0.3008142411708832, -0.933197021484375, -0.9722152352333069, 0.04969476908445358, 0.18279798328876495, -0.49897462129592896, 0.3845544755458832, -0.4469330310821533, 0.40899744629859924, 0.150790274143219, -0.2505120635032654, -0.3020651340484619, 0.2258487194776535, 0.35071417689323425, 0.18948936462402344, -0.4556575119495392, 0.1503898650407791, 0.046987134963274, -0.4544543921947479, -0.10865455120801926, -0.7435378432273865, 0.7798874378204346, -0.40957435965538025, -0.24015428125858307, -0.5080344080924988, 0.7003821730613708, 0.8732395768165588, -0.5136967897415161, 1.0218944549560547, 0.3000465929508209, -0.22274217009544373, -0.12586906552314758, -0.7576870322227478, 0.0015399976400658488, -0.4707244336605072, 0.43881329894065857, -0.7832595705986023, -0.7890592813491821, 0.8132743239402771, 0.43546897172927856, 0.1297912299633026, 0.20392407476902008, 0.6056653261184692, 0.2244378626346588, 0.9729445576667786, 0.6471782326698303, -0.6411076784133911, 0.534153163433075, -0.2253071516752243, 0.33314648270606995, -0.5882769227027893, -0.21404822170734406, -0.6734291911125183, -0.10094307363033295, -0.3888343274593353, -0.3600403368473053, 0.022002123296260834, 0.22667884826660156, -0.43045127391815186, 0.44750621914863586, -0.3252158761024475, 1.0441832542419434, 0.4374193251132965, -0.05053078383207321, 0.3490977883338928, -0.22264811396598816, 0.014199086464941502, -0.00515971053391695, -0.7147454619407654, -0.28289124369621277, 1.2066926956176758, 0.07918502390384674, 0.9215965270996094, -0.2473166584968567, 0.741030752658844, 0.005726708099246025, 0.026853693649172783, -0.8355537056922913, 0.31452274322509766, -0.18369704484939575, -0.7953640818595886, -0.06831563264131546, -0.5569650530815125, -0.9408273100852966, 0.2160099297761917, 0.13858653604984283, -0.7473508715629578, 0.05777733027935028, 0.3102797567844391, -0.276627779006958, 0.5203344225883484, -0.6389372944831848, 1.1272692680358887, -0.24073773622512817, -0.4775732159614563, -0.1687006652355194, -0.7543821930885315, 0.13349567353725433, -0.13948534429073334, -0.28155839443206787, 0.41107386350631714, -0.24951986968517303, 0.24207346141338348, -0.1663617342710495, 0.568445086479187, 0.13216470181941986, 0.18458391726016998, 0.312146931886673, 0.30379363894462585, 0.49772003293037415, 0.06119978427886963, -0.12451238185167313, 0.1121172234416008, 0.128635972738266, -0.5828327536582947, -0.5447315573692322, 0.8565945625305176, -0.8017368316650391, -0.4814252555370331, -0.15751560032367706, -0.46554213762283325, -0.0428767055273056, 0.6227655410766602, 0.268137663602829, 0.4943749010562897, -0.3286440968513489, 0.3584963381290436, 0.8551215529441833, -0.0679614469408989, 0.43338915705680847, 0.49257200956344604, 0.02871495671570301, -0.1718335598707199, 0.623810887336731, -0.14066261053085327, 0.6181057691574097, 0.46661531925201416, 0.3174678385257721, -0.17785419523715973, -0.35596391558647156, -0.510773241519928, 0.18401102721691132, -0.9221330285072327, -0.30506324768066406, -1.130690336227417, -0.10655643790960312, -0.6614083647727966, 0.023689929395914078, -1.2501057386398315, -0.26305675506591797, -0.08122158795595169, 0.13361790776252747, 0.05300470441579819, 0.6785927414894104, 0.06488922983407974, 0.4681665897369385, -0.7700796127319336, 0.3048635423183441, 0.37980589270591736, 0.45419561862945557, 0.032442644238471985, -0.24283429980278015, -0.4109228849411011, -0.08310717344284058, -0.043451253324747086, -0.6114864349365234, 0.4458276927471161, 0.18084345757961273, 0.5326790809631348, 0.6232903599739075, -0.04766575247049332, 0.8991134762763977, -0.5840111970901489, 0.616786003112793, 0.0021293796598911285, -1.2351206541061401, 0.35563406348228455, -0.00613575940951705, 0.7177999019622803, 0.8654637336730957, 0.2579767405986786, -0.5596962571144104, -0.14265458285808563, -0.4190158545970917, -0.9253141283988953, 0.8648971915245056, -0.1432446986436844, 0.4272192716598511, -0.42154017090797424, 0.4677446186542511, 0.04739579185843468, 0.04823619872331619, -0.6309559941291809, -0.48942187428474426, -0.51003098487854, 0.1335793435573578, 0.00988625455647707, -0.37617138028144836, 0.07710044085979462, -0.034056998789310455, 0.4861428141593933, -0.2649858891963959, 0.2821684777736664, 0.05481798201799393, -0.2573738694190979, -0.17947909235954285, 0.15241888165473938, 0.5959565043449402, 0.5870344042778015, -0.1477741301059723, 0.1565089076757431, 0.10236404091119766, -0.6650561690330505, -0.27944499254226685, -0.40676426887512207, -0.0788172110915184, -0.036588143557310104, 0.2528202533721924, 0.8819543719291687, 0.5589722990989685, -0.5357292294502258, 0.4619112014770508, -0.4006820321083069, 0.30723315477371216, 0.07594481855630875, 0.180781751871109, 0.3216334283351898, 0.035143379122018814, 0.07615477591753006, -0.10498295724391937, 0.03983771800994873, -0.6571605205535889, 0.17537906765937805, 0.28683510422706604, -0.03252136707305908, -0.38999590277671814, 0.8856934905052185, -0.08508362621068954, -0.06334075331687927, 0.7905085682868958, -0.17954333126544952, -0.6421340107917786, 0.579545795917511, 0.986721932888031, 1.050100564956665, -0.39044642448425293, -0.08958099037408829, 0.6754419207572937, 0.0694938600063324, -0.3920934796333313, 0.12467997521162033, -0.5344868302345276, -0.7575397491455078, -0.40225526690483093, -0.6000175476074219, -0.027822790667414665, 0.13850168883800507, -0.9439548254013062, 0.179848775267601, -0.16624435782432556, 0.06202755123376846, -0.20575588941574097, 0.14892584085464478, -0.7960894107818604, 0.07515978813171387, 0.21418330073356628, 0.9199540615081787, -0.8329223394393921, 1.445159912109375, 0.40065890550613403, -0.24218861758708954, -0.5355327129364014, -0.18048201501369476, 0.008839095011353493, -0.724317193031311, 0.6099827885627747, 0.198665052652359, -0.6468569040298462, 0.06900674849748611, -0.3627873361110687, -0.8960084319114685, 1.0319496393203735, 0.23487886786460876, -0.5182358026504517, -0.16288617253303528, -0.04209687188267708, 0.3994153141975403, -0.5358175039291382, 0.4362768530845642, 0.6800013780593872, 0.23057091236114502, 0.21749621629714966, -0.7466615438461304, -0.2430635392665863, -0.30095091462135315, 0.1336997151374817, 0.2922128736972809, -0.471749871969223, 1.0502694845199585, -0.34158584475517273, -0.5041612386703491, 0.09451465308666229, 0.5678764581680298, -0.05654432252049446, -0.06194872409105301, 0.5058924555778503, 0.7360432744026184, 0.5955070853233337, 0.1393209993839264, 1.3966424465179443, -0.5273212790489197, 0.38433048129081726, 1.5030922889709473, 0.0010322830639779568, 0.7697938084602356, 0.24649329483509064, 0.0916263684630394, 0.2758607864379883, 0.1280452460050583, 0.5752163529396057, 0.8356964588165283, -0.0744989663362503, -0.06534258276224136, -0.5009687542915344, 0.12154865264892578, -0.5133096575737, 0.5176416635513306, 0.07774008065462112, -0.06901387870311737, -0.24784968793392181, -0.2136555314064026, 0.12187113612890244, -0.13581198453903198, -0.14853227138519287, 0.5998399257659912, -0.0656658411026001, -0.7003501057624817, 0.3846690058708191, -0.1872536987066269, 0.4617311954498291, -0.9986602663993835, 0.2481522560119629, -0.5414819121360779, 0.386494517326355, 0.03962666913866997, -0.5323652029037476, 0.3632816672325134, -0.16266898810863495, -0.5136169791221619, -0.36287403106689453, 0.5145660042762756, -0.6238184571266174, -0.21166428923606873, 0.4330005347728729, 0.35857078433036804, -0.016601791605353355, -0.21926645934581757, -0.39084914326667786, 0.5641583800315857, -0.25695499777793884, -0.5049829483032227, 0.23404067754745483, 0.3984786868095398, 0.08530951291322708, 0.8136976361274719, 0.5536195039749146, 0.07260621339082718, 0.5113053321838379, 0.26322299242019653, 1.155511736869812, -0.6564092636108398, -0.6113716959953308, -0.660754919052124, 0.5407894253730774, 0.2040388286113739, -0.3748444616794586, 0.5063877105712891, 0.7160269618034363, 1.0435872077941895, -0.11848751455545425, 0.45093435049057007, 0.017855647951364517, -0.030744167044758797, -0.31698518991470337, 0.8564736843109131, -0.8716204166412354, 0.15635007619857788, -0.05075580254197121, -0.6635156273841858, -0.18249821662902832, 0.6947773694992065, -0.08025778830051422, -0.05906399339437485, 0.6507218480110168, 0.6842910051345825, -0.26589474081993103, -0.06142377108335495, 0.4078792333602905, 0.13026706874370575, 0.4433296322822571, 0.8356043100357056, 0.35575634241104126, -0.6926937103271484, 0.48276251554489136, -0.34957870841026306, 0.20337973535060883, -0.17414113879203796, -0.8530490398406982, -0.7292163968086243, -0.7780426144599915, -0.2809375822544098, -0.32525500655174255, -0.14818541705608368, 0.46660396456718445, 1.1534855365753174, -0.7700220942497253, -0.1666615903377533, -0.015728743746876717, 0.031032687053084373, -0.15379996597766876, -0.20172801613807678, 0.19859594106674194, -0.8060588836669922, -0.862168550491333, 0.6002300381660461, 0.5032481551170349, -0.34719622135162354, -0.29868975281715393, -0.09203191101551056, -0.010016744025051594, 0.09276363998651505, 0.387238085269928, 0.461849570274353, -0.5802164673805237, -0.00790737010538578, 0.1381198912858963, -0.5005103945732117, 0.4667908251285553, 1.230018973350525, -1.1683998107910156, 1.1701323986053467, 0.7468920946121216, 1.084193229675293, 1.001812219619751, -0.3100857436656952, 0.5498046278953552, -0.37332436442375183, 0.35156092047691345, 0.3846038281917572, 0.3046227991580963, -0.09193351119756699, -0.29203328490257263, 0.1663547158241272, -0.1425703912973404, -0.5112327337265015, -0.6313435435295105, 0.2801508605480194, -1.183983325958252, -0.3406136631965637, 0.4980992376804352, -0.3259042501449585, -0.4392017722129822, -0.04448327794671059, 0.20618514716625214, 0.24588486552238464, -0.30406537652015686, 0.783799946308136, 0.4940067529678345, 0.3877372741699219, -0.26416513323783875, -0.7342935800552368, 0.3359827399253845, 0.4820537269115448, -0.7804573774337769, 0.1022285595536232, 0.20142671465873718, 0.5691647529602051, 0.33849284052848816, 0.6285648345947266, -0.3402809202671051, 0.3205242156982422, 0.18840117752552032, -0.0013832335826009512, -0.40420228242874146, -0.776617705821991, -0.44486117362976074, 0.10011263936758041, -0.3883293569087982, -0.36758026480674744 ]
http://arxiv.org/abs/2405.05248v2
http://arxiv.org/pdf/2405.05248v2
LLMs with Personalities in Multi-issue Negotiation Games
2024-05-08T17:51:53
2024-05-09T01:09:09
Sean Noh, Ho-Chun Herbert Chang
cs.CL
cs.CL, cs.AI, cs.MA
Powered by large language models (LLMs), AI agents have become capable of many human tasks. Using the most canonical definitions of the Big Five personality, we measure the ability of LLMs to negotiate within a game-theoretical framework, as well as methodological challenges to measuring notions of fairness and risk. Simulations (n=1,500) for both single-issue and multi-issue negotiation reveal increase in domain complexity with asymmetric issue valuations improve agreement rates but decrease surplus from aggressive negotiation. Through gradient-boosted regression and Shapley explainers, we find high openness, conscientiousness, and neuroticism are associated with fair tendencies; low agreeableness and low openness are associated with rational tendencies. Low conscientiousness is associated with high toxicity. These results indicate that LLMs may have built-in guardrails that default to fair behavior, but can be "jail broken" to exploit agreeable opponents. We also offer pragmatic insight in how negotiation bots can be designed, and a framework of assessing negotiation behavior based on game theory and computational social science.
[ -0.7178205251693726, -0.5381422638893127, 0.8730615377426147, 0.2744908630847931, 0.17778412997722626, 0.2196134626865387, -0.3574599325656891, -0.47209182381629944, 0.18609175086021423, 0.3814220726490021, -0.388635516166687, -0.19659455120563507, -0.9150621891021729, 0.06877245008945465, 0.08375383913516998, 0.9510107040405273, 0.3209052085876465, 0.071527861058712, -0.1212644949555397, -0.31408247351646423, -0.5722301006317139, -0.7901290655136108, -0.9611270427703857, -0.643944501876831, 0.7175172567367554, 0.25463396310806274, 0.8740266561508179, 0.376756489276886, 0.8267876505851746, 0.43572741746902466, -0.2141127735376358, -0.42098966240882874, -0.3196185827255249, 0.349092036485672, -0.45209071040153503, -0.6398419737815857, -0.6930217742919922, 0.45619478821754456, 0.26579323410987854, 0.5068055987358093, -0.19116143882274628, -0.021724078804254532, -0.280250608921051, 0.7104635834693909, -0.3375355303287506, 0.23119868338108063, -1.0313079357147217, 0.06103585660457611, -0.1482764333486557, 0.1912333071231842, -0.23943860828876495, -0.13930362462997437, 0.15048553049564362, -0.4443594217300415, -0.3028092682361603, -0.02076140232384205, 0.7621029615402222, 0.4079269468784332, -0.7764796614646912, -0.2552613317966461, -0.43641331791877747, 0.7520447969436646, -0.3994033932685852, -0.09662437438964844, 0.2541382312774658, 0.47153612971305847, -0.4162524342536926, -0.4104180335998535, -0.605134129524231, -0.3903350532054901, 0.009297685697674751, 0.34709495306015015, -0.3303197920322418, 0.3005700409412384, 0.5018337965011597, 0.144293874502182, -0.28524988889694214, 0.2941398024559021, -0.1260179579257965, -0.10457129031419754, 1.2181661128997803, 0.3497788608074188, 0.10552828758955002, -0.021281490102410316, -0.4148578345775604, 0.12671969830989838, -0.5186507701873779, 0.305431991815567, 0.8144577741622925, 0.10966362059116364, -0.1292898803949356, 0.3831956088542938, 0.09547219425439835, 0.30807462334632874, 0.2688485085964203, 0.04614904150366783, -0.009878531098365784, -0.21701720356941223, 0.02125594951212406, -0.3032352030277252, 0.8395824432373047, 0.41008633375167847, 0.7044841051101685, -0.16565056145191193, -0.17354153096675873, 0.11421389877796173, 0.491484135389328, -0.5784336924552917, -0.12887969613075256, 0.7833163142204285, -0.6672956943511963, -0.4428304433822632, -0.02138633467257023, -0.7333571910858154, -0.7018561959266663, -0.23777644336223602, 0.13577160239219666, -0.106834277510643, -0.2902931571006775, 0.014435424469411373, -0.32901450991630554, 0.6284583806991577, 0.3225766718387604, -0.5832154750823975, 0.3892907500267029, 0.5737515687942505, 0.587761640548706, -0.23517341911792755, -0.5713486075401306, -0.45014503598213196, 0.12584064900875092, -0.3963398039340973, 0.8609152436256409, -0.5840736031532288, -0.49180519580841064, -0.28992143273353577, -0.3715530335903168, 0.13769131898880005, -0.6529731154441833, 0.46631622314453125, -0.30658331513404846, -0.22778895497322083, -0.40203478932380676, -0.366142600774765, 0.18866883218288422, 0.8331709504127502, -0.6363743543624878, 0.37778475880622864, -0.25030583143234253, -0.1575966626405716, 0.42986515164375305, -0.9505416750907898, -0.39808389544487, 0.035894520580768585, -0.2308502048254013, -0.2714090347290039, 0.20881585776805878, -0.2872999906539917, 0.4476516842842102, -0.2842969000339508, 0.3886723220348358, -0.49235665798187256, -0.20899970829486847, 0.8669894933700562, -0.2032170295715332, 0.5876786112785339, 0.22327207028865814, -0.040690235793590546, 0.4694877862930298, -0.09251461178064346, -0.2407054454088211, 0.3066447675228119, -0.541644275188446, 0.045578282326459885, 0.3120175898075104, -0.15947452187538147, 0.4934881031513214, 0.3735182583332062, -0.35642722249031067, 0.393958181142807, -0.17819301784038544, 0.49984443187713623, 1.187795639038086, -0.262157678604126, 0.347678542137146, -0.640807569026947, 0.346905916929245, 0.19719597697257996, 0.328750342130661, 0.37951523065567017, -0.5164464712142944, -0.6122519969940186, -0.31115224957466125, 0.16480472683906555, 0.474188894033432, -0.3942541778087616, 0.3358881175518036, -0.233650341629982, -0.5232604742050171, -0.5143802165985107, -0.15624791383743286, 0.4000134766101837, -0.167463481426239, 0.06866655498743057, -0.5628142952919006, -0.038262978196144104, -0.6686848998069763, -0.6564303636550903, -0.17645588517189026, 0.2021067887544632, 0.5866758227348328, 0.6576470136642456, 0.007727975491434336, 0.7041870951652527, -0.35600027441978455, -0.4176922142505646, -0.18153266608715057, 0.22539950907230377, 0.1161709576845169, 0.3062819838523865, 0.5632545948028564, -0.8192722201347351, -0.481145441532135, -0.022630393505096436, -0.5249108672142029, 0.3201647698879242, -0.0627027079463005, -0.02787020057439804, 0.284432590007782, 0.5255946516990662, -0.6954091191291809, 0.2523213028907776, 0.05569713935256004, -0.5396155118942261, 0.6055845618247986, -0.2655772864818573, 0.012429650872945786, -0.8514798879623413, -0.027991073206067085, 0.081838458776474, -0.08987729996442795, -0.6270624399185181, 0.3272668123245239, -0.4303213953971863, -0.07678482681512833, -0.5261343717575073, 0.7084105014801025, -0.34723374247550964, -0.35264328122138977, -0.24845199286937714, 0.4581214189529419, -0.28202277421951294, 0.5604602098464966, 0.007439702749252319, 0.6151570677757263, 0.3889862596988678, -0.6987636089324951, 0.5859467387199402, 0.07645224034786224, 0.01151419896632433, 1.079626441001892, -0.5897986888885498, 0.3027893602848053, -0.385168194770813, 0.3021734654903412, -0.6756118535995483, -0.1546938568353653, 0.089686319231987, -0.3869474530220032, -0.05773109197616577, -0.1266109049320221, -0.24813693761825562, -0.2470165342092514, -0.5544611811637878, 0.254817932844162, 0.37911257147789, -0.03613419458270073, 0.7064757943153381, 0.45740726590156555, -0.2708263695240021, -0.6480475068092346, -0.5534471273422241, 0.3417263925075531, -0.5318728089332581, -0.27198106050491333, 0.5228170156478882, -0.41652795672416687, -0.6868540644645691, -0.28708866238594055, 0.17442618310451508, -0.03912899270653725, 0.39128372073173523, 0.03960808739066124, -0.036702871322631836, 0.16732433438301086, 0.05031508207321167, -0.18640407919883728, -0.43258652091026306, 0.23825187981128693, 0.17264026403427124, 0.559468150138855, -0.3363938331604004, -0.43695253133773804, -0.1208183541893959, 0.3745999336242676, 0.7855392098426819, -0.5194892883300781, 0.6408225893974304, 0.34175100922584534, -0.3626224100589752, 0.19780714809894562, -0.4486280381679535, -0.1718258559703827, -0.43526726961135864, 0.45054057240486145, -0.8114506602287292, -0.7964934706687927, 1.1037317514419556, -0.21250881254673004, 0.1775195598602295, 0.3606618344783783, 0.812492311000824, -0.10334588587284088, 1.0214134454727173, 0.3105488121509552, -0.1971382200717926, 0.36938661336898804, 0.044956959784030914, 0.2392231822013855, -0.6519339084625244, -0.3086073100566864, -0.5863099694252014, -0.6530119776725769, -0.7940353155136108, -0.1728253960609436, 0.2753204107284546, -0.1721547693014145, -0.8467203378677368, -0.15571001172065735, -0.36829873919487, 0.7788469791412354, 0.41635236144065857, 0.013543514534831047, 0.42877835035324097, -0.5129567980766296, 0.3453148603439331, -0.13572487235069275, -0.21672846376895905, -0.5186154246330261, 1.0137568712234497, 0.4843369424343109, 0.5536528825759888, 0.8163362145423889, 0.5226689577102661, 0.3189854621887207, 0.32867199182510376, -1.0754244327545166, 0.6021152138710022, -0.09530127048492432, -0.808233916759491, -0.37739458680152893, -0.4298141896724701, -1.1234925985336304, 0.27340924739837646, -0.38397160172462463, -0.7947931289672852, 0.228830948472023, -0.012736853212118149, -0.3722843527793884, 0.14140185713768005, -0.4734056890010834, 0.7534754872322083, -0.5296059846878052, -0.2664032578468323, -0.40571340918540955, -0.700465977191925, 0.3834306299686432, 0.08439668267965317, 0.14786070585250854, -0.46634694933891296, -0.21349158883094788, 0.3869301974773407, 0.09800431877374649, 0.6702514290809631, -0.10129550099372864, -0.034052204340696335, -0.10259182751178741, 0.29771527647972107, 0.5568446516990662, 0.0031343032605946064, -0.23692265152931213, 0.19595012068748474, 0.06804291158914566, -0.662280797958374, -0.6391060948371887, 0.42146435379981995, -1.099979043006897, -0.7297751903533936, -0.8103426694869995, -0.6876941919326782, -0.07678849995136261, -0.00883004441857338, -0.007922207936644554, -0.17617875337600708, -0.48979130387306213, -0.11030565947294235, 0.6136413216590881, -0.17446169257164001, 0.39709731936454773, 0.5410289764404297, -0.039818715304136276, -0.12038159370422363, 0.9957734942436218, 0.031977180391550064, 0.3429277241230011, -0.17259544134140015, 0.1432739794254303, -0.11762610822916031, -0.6156395077705383, 0.052680667489767075, 0.03980961814522743, -0.5537392497062683, -0.3255927264690399, -0.19434644281864166, -0.23999270796775818, -0.11513768881559372, -0.37136518955230713, -0.4046212434768677, -0.05541861802339554, 0.019696833565831184, 0.021477939561009407, 0.3409235179424286, 0.9674980044364929, -0.026313308626413345, 0.4399835467338562, -0.33362916111946106, 0.15605923533439636, 0.377338707447052, 0.46069249510765076, 0.04182678088545799, -0.2757977247238159, 0.049592792987823486, -0.0716727077960968, -0.5721364617347717, -0.898081362247467, 0.2068307101726532, -0.07865358889102936, 0.722246527671814, 0.4973301887512207, 0.105492003262043, 0.2520553469657898, -0.23638564348220825, 0.874761700630188, 0.1426045149564743, -1.0506645441055298, 0.23736460506916046, -0.5523769855499268, -0.161082461476326, 0.4541659951210022, 0.19687184691429138, -0.5512332320213318, -0.3137727677822113, -0.7368524670600891, -0.6559816002845764, 0.6685277223587036, 0.08356894552707672, 0.2382524609565735, 0.08082098513841629, 0.4537574350833893, -0.09866722673177719, 0.45595091581344604, -1.052391529083252, -0.34372761845588684, 0.040785811841487885, -0.2159179300069809, 0.00659056194126606, -0.012807321734726429, -0.5755781531333923, -0.07010878622531891, 0.37725144624710083, -0.26352351903915405, 0.3954024910926819, -0.24996978044509888, 0.05837949365377426, 0.17861588299274445, 0.6099170446395874, 0.6833489537239075, 0.5257707834243774, -0.10879117995500565, 0.17386427521705627, 0.11898173391819, -0.2204098254442215, 0.4331415891647339, 0.1777772158384323, 0.5453559756278992, -0.7365309596061707, 0.3029913008213043, 0.48522886633872986, -0.172744482755661, -0.7443452477455139, 0.6699315905570984, -0.2066640406847, -0.4812411069869995, -0.27834251523017883, 0.14011535048484802, 0.039878569543361664, 0.7351574301719666, 0.12348072975873947, -0.23647147417068481, 0.021310729905962944, -0.9162749648094177, -0.004404628183692694, 0.7941264510154724, -0.2873418629169464, -0.1384553760290146, 0.4557505249977112, 0.581050455570221, -0.6138134598731995, 0.5139474272727966, -0.468228280544281, -0.4810793697834015, 0.8655902147293091, 0.17407754063606262, 0.5947472453117371, -0.037152569741010666, 0.2219914048910141, -0.27907171845436096, 0.3769264817237854, 0.14429426193237305, 0.359184592962265, 0.3238199055194855, -1.0429291725158691, -0.25723108649253845, -0.12708066403865814, -0.7822086215019226, 0.10915257781744003, -0.5464625954627991, 0.020027615129947662, -0.5121485590934753, -0.4387195408344269, -0.037545133382081985, 0.47712865471839905, -0.7841156721115112, -0.28367140889167786, -0.032887835055589676, 0.5910816192626953, -0.6630143523216248, 0.4967232048511505, 0.9063218832015991, -0.6840225458145142, -0.39026927947998047, 0.24546121060848236, -0.12380823493003845, -0.7636098265647888, 0.4440435469150543, -0.17531803250312805, 0.302303671836853, -0.04957016184926033, -0.7106643915176392, -0.6175476312637329, 1.0452367067337036, 0.7566877007484436, -0.21173714101314545, -0.039906151592731476, 0.0689891055226326, 0.38133496046066284, -0.32675525546073914, 0.35124683380126953, 0.9167138338088989, 0.8261876702308655, -0.030928457155823708, -0.8722110390663147, 0.000886276364326477, 0.006021319888532162, -0.17291872203350067, 0.03379413112998009, -1.2482532262802124, 0.887640655040741, -0.27834823727607727, 0.31507593393325806, -0.02205304615199566, 0.4720102846622467, 0.6397934556007385, 0.3804941773414612, 0.4302472174167633, 0.3416503369808197, 0.7684499025344849, -0.2419760674238205, 0.8442229628562927, -0.21890288591384888, 0.2661941945552826, 0.6909383535385132, -0.7489424347877502, 0.4682415723800659, 0.47804176807403564, -0.3012784421443939, 0.47789910435676575, 0.7152417898178101, 0.11733902245759964, 0.2598089575767517, 0.6406680941581726, -0.2061464637517929, -0.4483019709587097, -0.22549156844615936, -0.01885928586125374, 0.7274379730224609, 0.39996859431266785, 0.03553815558552742, -0.06210935860872269, -0.1422995626926422, 0.3843802511692047, 0.13078875839710236, -0.42743030190467834, 0.856072187423706, 0.29126426577568054, -0.6072613596916199, -0.2643817961215973, 0.22197896242141724, 0.8076297044754028, -0.41091954708099365, 0.035208236426115036, -0.26319777965545654, 0.0670204609632492, 0.028477175161242485, -1.0790287256240845, 0.17673364281654358, -0.2378574162721634, -0.19430163502693176, -0.29532501101493835, 0.6093325018882751, -0.23044182360172272, -0.1637745350599289, 0.30332374572753906, 0.790411651134491, 0.41277363896369934, -0.16181571781635284, -0.9665471315383911, 0.026299746707081795, -0.5005325078964233, -0.43960726261138916, 0.7018129229545593, 0.51137375831604, 0.0018464823951944709, 0.787308394908905, 0.37470123171806335, 0.24409200251102448, -0.3089064955711365, -0.19559346139431, 0.6610741019248962, -0.8477495908737183, -0.2981796860694885, -0.8822195529937744, 0.6910384297370911, -0.24184684455394745, -0.33878079056739807, 0.2740241289138794, 0.09249044954776764, 0.544042706489563, 0.25849252939224243, 0.7336598634719849, 0.05552973225712776, -0.04872392863035202, -0.5007425546646118, 0.9518197774887085, -0.3523794710636139, 0.0013704041484743357, -0.15075264871120453, -0.5609233975410461, -0.053679704666137695, 0.7063243985176086, -0.40258222818374634, 0.3784114420413971, 0.507908284664154, 0.4174036979675293, 0.13200274109840393, -0.32490840554237366, 0.4031510353088379, 0.23620612919330597, 0.5263043642044067, 0.79298335313797, 0.813156008720398, -0.04684249684214592, 0.5517961978912354, 0.24987496435642242, -0.1387341022491455, -0.11369581520557404, -0.7626091241836548, -1.0884912014007568, -0.5477501153945923, -0.18835072219371796, -0.3453391194343567, -0.016348646953701973, 0.9636249542236328, 0.46318620443344116, -0.3100285828113556, -0.5248168706893921, 0.19264361262321472, 0.7237839102745056, -0.1814984530210495, -0.24400030076503754, 0.07630353420972824, -0.2920784652233124, -0.7210461497306824, 0.03122657909989357, 0.11673033237457275, 0.08791563659906387, -0.4653167128562927, -0.1789551079273224, -0.07460752874612808, 0.49666357040405273, 0.6155444383621216, 0.10699424147605896, -0.7986475825309753, -0.4610256254673004, -0.1838436871767044, -0.17141327261924744, 0.1138073280453682, 0.848108172416687, -0.47749102115631104, 0.09025903046131134, 0.09773571789264679, 0.34646517038345337, 0.06656716763973236, -0.12387914955615997, 0.5378580689430237, -0.6448542475700378, 0.28950926661491394, 0.38460683822631836, 0.2875995635986328, -0.1086379662156105, -0.2795616686344147, 0.4178786873817444, 0.1297367513179779, -0.6155564188957214, -0.766768753528595, 0.6175627112388611, -0.6927339434623718, -0.35350939631462097, 0.8957497477531433, -0.05463164299726486, 0.11842403560876846, -0.24761486053466797, -0.10654093325138092, -0.05336017161607742, -0.643626868724823, 0.7843385338783264, 1.1332032680511475, -0.5672222971916199, -0.05006135255098343, -0.5709598660469055, 0.6231140494346619, 0.2604049742221832, -1.0341060161590576, -0.004426761996001005, 0.43481341004371643, -0.0186625886708498, 0.2199806272983551, 0.9009049534797668, 0.18320704996585846, 0.21933962404727936, -0.229838564991951, 0.21160565316677094, 0.12422394007444382, -0.3840588331222534, -0.3822072148323059, 0.19775770604610443, 0.5062850117683411, 0.10697206854820251 ]
http://arxiv.org/abs/2405.05204v1
http://arxiv.org/pdf/2405.05204v1
CARE-SD: Classifier-based analysis for recognizing and eliminating stigmatizing and doubt marker labels in electronic health records: model development and validation
2024-05-08T16:40:18
2024-05-08T16:40:18
Drew Walker, Annie Thorne, Sudeshna Das, Jennifer Love, Hannah LF Cooper, Melvin Livingston III, Abeed Sarker
cs.CL
cs.CL
Objective: To detect and classify features of stigmatizing and biased language in intensive care electronic health records (EHRs) using natural language processing techniques. Materials and Methods: We first created a lexicon and regular expression lists from literature-driven stem words for linguistic features of stigmatizing patient labels, doubt markers, and scare quotes within EHRs. The lexicon was further extended using Word2Vec and GPT 3.5, and refined through human evaluation. These lexicons were used to search for matches across 18 million sentences from the de-identified Medical Information Mart for Intensive Care-III (MIMIC-III) dataset. For each linguistic bias feature, 1000 sentence matches were sampled, labeled by expert clinical and public health annotators, and used to supervised learning classifiers. Results: Lexicon development from expanded literature stem-word lists resulted in a doubt marker lexicon containing 58 expressions, and a stigmatizing labels lexicon containing 127 expressions. Classifiers for doubt markers and stigmatizing labels had the highest performance, with macro F1-scores of .84 and .79, positive-label recall and precision values ranging from .71 to .86, and accuracies aligning closely with human annotator agreement (.87). Discussion: This study demonstrated the feasibility of supervised classifiers in automatically identifying stigmatizing labels and doubt markers in medical text, and identified trends in stigmatizing language use in an EHR setting. Additional labeled data may help improve lower scare quote model performance. Conclusions: Classifiers developed in this study showed high model performance and can be applied to identify patterns and target interventions to reduce stigmatizing labels and doubt markers in healthcare systems.
[ -0.28206634521484375, -0.734672486782074, 0.5565720796585083, -0.0165676549077034, -0.14344674348831177, -0.020500898361206055, 0.027395764365792274, -0.6951092481613159, 0.22161877155303955, 0.6003933548927307, -0.2726041078567505, -0.9107210636138916, -0.7901194095611572, 0.358074814081192, -0.12163324654102325, 1.253828525543213, -0.14460793137550354, 0.09978441148996353, 0.025560583919286728, 0.018169451504945755, -0.2880963981151581, -0.9498857855796814, -0.7160043120384216, 0.016309237107634544, 0.2410655915737152, 0.30067604780197144, 0.5651602745056152, 0.5218976140022278, 0.8527334332466125, 0.18044231832027435, -0.218306764960289, 0.19571514427661896, -0.1365821808576584, 0.2265673577785492, 0.3812631070613861, -0.39822983741760254, -0.6386117935180664, -0.26884353160858154, 0.35865306854248047, 0.1777769923210144, -0.09959281980991364, 0.25252586603164673, -0.19800075888633728, 0.5713932514190674, -0.6281580924987793, 0.3137606084346771, -0.5272785425186157, 0.20422771573066711, -0.46700620651245117, -0.058120645582675934, -0.5231826901435852, -0.5734488368034363, 0.10094831138849258, -0.48172834515571594, 0.46090567111968994, 0.2430056780576706, 1.083548665046692, 0.5923471450805664, -0.23736804723739624, -0.44587352871894836, -0.526984453201294, 0.5588037371635437, -0.596062183380127, 0.49375274777412415, 0.6354663968086243, 0.04903200641274452, 0.16357694566249847, -0.5288622975349426, -0.3802643120288849, -0.08763565123081207, -0.20245611667633057, 0.06242995709180832, -0.42482468485832214, 0.4994277060031891, 0.643417477607727, 0.2805943787097931, -0.4999513626098633, 0.2240607589483261, -0.5589808225631714, -0.5687344670295715, 0.5577490329742432, 0.1316317766904831, 0.37549060583114624, -0.522011399269104, -0.37105265259742737, 0.17918069660663605, -0.28227683901786804, 0.08225635439157486, 0.029749317094683647, -0.02021517977118492, 0.005737779196351767, 0.6816762089729309, -0.10438656806945801, 0.46850043535232544, -0.19685904681682587, -0.32570773363113403, 0.5545109510421753, 0.07866157591342926, -0.41951844096183777, 0.34416916966438293, 0.8276961445808411, 0.5896586179733276, 0.27013838291168213, 0.0027480456046760082, -0.31024956703186035, 0.48649001121520996, 0.3895052373409271, -0.5732932090759277, -0.4014403820037842, 0.3097030818462372, -0.4768323004245758, -0.1179673820734024, -0.14144814014434814, -0.7833296656608582, -0.508796751499176, -0.13668213784694672, 0.123041070997715, -0.5208892226219177, 0.030717898160219193, 0.13216324150562286, -0.19605161249637604, -0.16478794813156128, 0.3481746315956116, -0.43099072575569153, 0.6115788221359253, 0.4773821532726288, 0.8511090874671936, -0.5002474784851074, 0.5535003542900085, -0.3423880636692047, -0.05664239823818207, -0.2178473025560379, 0.686703622341156, -0.44397395849227905, -0.3680122494697571, 0.3539656400680542, 0.06940202414989471, -0.14022038877010345, -0.8289240598678589, 1.2244895696640015, -0.34541118144989014, 0.0953579694032669, -0.022731643170118332, -0.679223358631134, -0.1428445428609848, 0.19684065878391266, -0.7605509161949158, 1.218213438987732, 0.19498129189014435, -0.9433671832084656, 0.6894462704658508, -0.6840625405311584, -0.41565585136413574, 0.3117391765117645, 0.049877651035785675, -0.8491533994674683, -0.11808455735445023, 0.22652645409107208, 0.5965948104858398, -0.2468697726726532, 0.42291325330734253, -0.1653757393360138, -0.19724471867084503, 0.23544429242610931, -0.260379433631897, 0.392320841550827, 0.30703791975975037, -0.3070341944694519, 0.04870027303695679, -0.8805128931999207, 0.029859347268939018, -0.23014064133167267, -0.3658794164657593, -0.7361162900924683, -0.017430759966373444, 0.43907439708709717, 0.32260769605636597, -0.05082572251558304, -0.619110107421875, 0.05120755732059479, -0.2795864939689636, -0.011686649173498154, 0.4097553491592407, 0.3530804514884949, -0.16642247140407562, -0.4024999737739563, 0.589964747428894, 0.4027300477027893, 0.5747705698013306, 0.09262058138847351, -0.8737592101097107, -0.8438050150871277, -0.6761934757232666, -0.057799212634563446, 0.607925534248352, -0.5923708081245422, 0.5041643381118774, -0.1276642382144928, -0.21389953792095184, -1.0152904987335205, -0.19669117033481598, 0.5975832343101501, 0.7413987517356873, 0.9325940012931824, -0.3206999599933624, -0.7232194542884827, -1.2218976020812988, -0.24131514132022858, -0.5963224768638611, 0.08443921059370041, 0.32526692748069763, 0.3400958478450775, -0.6024536490440369, 0.7269731760025024, -0.7779533863067627, -0.7139618396759033, 0.21874701976776123, 0.18884864449501038, -0.04303783178329468, 0.25873950123786926, 0.22034727036952972, -0.7872195243835449, -0.2719114422798157, 0.07039274275302887, -0.4611037075519562, -0.3388040363788605, 0.17620263993740082, 0.2134769856929779, 0.3175777196884155, 0.4137435257434845, -0.3295537829399109, 0.647117018699646, 0.13724513351917267, -0.23966056108474731, 0.5146263241767883, 0.057872969657182693, 0.2717190384864807, -0.8712460398674011, -0.11260395497083664, 0.3522377908229828, 0.0815836489200592, -0.8349042534828186, -0.3570237457752228, 0.06799577176570892, 0.29149752855300903, -0.39478933811187744, 0.2488073706626892, -0.31080302596092224, 0.6168904900550842, 0.1451740562915802, -0.2862086594104767, 0.05553236976265907, 0.16123653948307037, 0.2836136519908905, 0.4081723690032959, 0.4719633162021637, -0.5966336131095886, -0.044625360518693924, 0.20093189179897308, -0.22904665768146515, 0.5221509337425232, -0.2659617066383362, -0.04171536862850189, -0.255514919757843, -0.030954616144299507, -0.9033672213554382, -0.3342636525630951, 0.4286949038505554, -0.13633418083190918, 0.2748706042766571, -0.25552988052368164, -0.32873058319091797, -0.5343526601791382, -0.10725700855255127, 0.2819748818874359, 0.41283705830574036, 0.005780404899269342, 0.2538619637489319, 0.666897714138031, -0.10082375258207321, -0.372549831867218, -0.6967062950134277, -0.06824882328510284, -0.3808695077896118, -0.07866089046001434, 0.21843087673187256, 0.05252370610833168, -0.45439213514328003, -0.18095138669013977, -0.15323905646800995, -0.454167902469635, 0.05378865823149681, 0.5462402105331421, 0.5965914130210876, -0.16550402343273163, 0.5700531601905823, 0.32846707105636597, 0.11373115330934525, 0.3418900966644287, -0.05741503834724426, 0.19343999028205872, -0.05225313827395439, -0.31173133850097656, -0.6852653622627258, 0.32120418548583984, 0.5579527020454407, -0.002042375737801194, 0.6369143128395081, 0.6543067097663879, -0.8813892006874084, 0.1157301813364029, -1.0245100259780884, -0.017718253657221794, -0.3424617648124695, 0.3945249319076538, -0.29838231205940247, -1.085260272026062, 0.3275411128997803, 0.06701091676950455, -0.19063910841941833, 0.6116558909416199, 0.45258232951164246, 0.05411430448293686, 0.9391700029373169, 0.42577603459358215, -0.13469505310058594, -0.03570512682199478, 0.0304761603474617, 0.1908445656299591, -0.9235699772834778, -0.5725063681602478, -0.7782397866249084, 0.17009355127811432, -0.748443603515625, -0.7102468609809875, 0.5867400169372559, 0.06951059401035309, -0.12053188681602478, 0.08517984300851822, -0.9994867444038391, -0.1543891280889511, 0.11154747009277344, 0.40860846638679504, 0.33881932497024536, -0.05736294388771057, -0.23019148409366608, -0.4486755430698395, -0.3613812029361725, -0.7100456357002258, 0.8544406890869141, 0.7513666152954102, 0.5762549042701721, -0.027964038774371147, 0.7936616539955139, 0.5471757650375366, 0.9053904414176941, -1.0728765726089478, 0.17642737925052643, -0.04666098579764366, -0.6940542459487915, -0.09427335858345032, -0.27479904890060425, -0.5694619417190552, 0.01244512852281332, -0.10447407513856888, -0.86707603931427, 0.36473438143730164, 0.05398443341255188, -0.33931973576545715, 0.3508833348751068, -0.8779972791671753, 0.6207768321037292, -0.18976007401943207, 0.14059700071811676, 0.30067044496536255, -0.499603271484375, 0.3170624077320099, -0.21310041844844818, 0.40499550104141235, -0.00885910913348198, -0.16738180816173553, 1.0146549940109253, -0.3768024146556854, 0.8503413796424866, -0.015469697304069996, -0.11103790253400803, 0.24463383853435516, 0.06200197711586952, 0.18595321476459503, 0.02781786397099495, -0.27445316314697266, 0.32909223437309265, 0.12450280785560608, 0.002535774139687419, -0.1406124085187912, 0.22234727442264557, -0.7931933999061584, -0.6631026864051819, -0.5357407927513123, -0.14930738508701324, -0.3249732553958893, 0.12368080765008926, 0.43853360414505005, 0.23841646313667297, -0.24601688981056213, -0.16904813051223755, 0.9037601351737976, -0.2563757002353668, -0.09326642751693726, 0.5050888061523438, 0.013516946695744991, -0.3708319365978241, 0.7276059985160828, 0.10747336596250534, 0.10577983409166336, 0.4902440905570984, 0.13185083866119385, -0.19924859702587128, -0.5668715238571167, -0.27306997776031494, 0.24913010001182556, -0.5640724301338196, -0.3333134651184082, -1.2738722562789917, -0.409272700548172, -0.49174410104751587, 0.1137990728020668, 0.03441557660698891, -0.07318486273288727, -0.5878596901893616, -0.3133752942085266, 0.5762293934822083, 0.865260899066925, 0.1220540776848793, 0.1687442511320114, -0.6113894581794739, 0.35806289315223694, -0.12497605383396149, 0.22263705730438232, -0.33491945266723633, -0.47403162717819214, -0.21265533566474915, -0.28566354513168335, -0.15718795359134674, -1.206360936164856, 0.5588608384132385, 0.18725095689296722, 0.24668753147125244, 0.7089724540710449, 0.2885027527809143, 0.5951719880104065, -0.43935978412628174, 0.807275116443634, 0.32890585064888, -0.9037814140319824, 0.8876323103904724, -0.08068066835403442, -0.0787954330444336, 0.6054467558860779, 0.83829665184021, -0.6981676816940308, -0.6705473065376282, -0.6832050085067749, -0.9767128825187683, 0.7106084227561951, 0.07950755208730698, -0.5112000107765198, -0.32937294244766235, 0.4002191126346588, 0.040833745151758194, 0.15461347997188568, -0.4793969988822937, -0.7348000407218933, 0.019612722098827362, -0.3637998402118683, -0.03353486582636833, -0.5029874444007874, -0.28092479705810547, -0.22697150707244873, 0.6754340529441833, -0.163113534450531, 0.1594904512166977, 0.5926758646965027, -0.08705360442399979, -0.3202586770057678, 0.5982898473739624, 0.3115130364894867, 0.16447095572948456, -0.1934332549571991, 0.2956564426422119, 0.18571880459785461, -0.9249458312988281, 0.11817585676908493, 0.27989792823791504, -0.4463922083377838, 0.42612752318382263, 0.16683906316757202, 0.9985061883926392, -0.045816779136657715, -0.5098351240158081, 0.4835973381996155, -0.10028377920389175, -0.015569386072456837, -0.29832029342651367, 0.008049232885241508, -0.327777624130249, -0.22618933022022247, 0.17274387180805206, 0.3716457188129425, 0.6622223854064941, -0.008948546834290028, 0.3676263391971588, 0.20910659432411194, -1.1723315715789795, -0.23634038865566254, 0.5909578204154968, -0.2960622310638428, -0.2370748221874237, 0.3964625597000122, -0.004166684579104185, -0.6944960951805115, 0.5390016436576843, 0.34707748889923096, 0.8914425373077393, -0.3514854609966278, 0.6420480012893677, 0.4299653470516205, 0.681832492351532, -0.0970849022269249, 0.31779682636260986, 0.04990670457482338, -0.560454249382019, -0.16267083585262299, -0.7302380204200745, -0.4311869442462921, 0.12801580131053925, -1.2034481763839722, 0.3267052471637726, -0.35599902272224426, -0.6541681885719299, 0.09288152307271957, -0.18358394503593445, -0.9656798839569092, 0.6151987314224243, 0.35790902376174927, 0.7069395184516907, -1.1473870277404785, 0.6260952949523926, 0.9985645413398743, -0.3739846348762512, -0.9803822636604309, 0.05383215472102165, 0.3573364317417145, -0.5203059315681458, 0.739539623260498, 0.3383614420890808, 0.1377035528421402, -0.35702601075172424, -0.3564283549785614, -0.5618891716003418, 0.5390563607215881, 0.03808852657675743, -0.6797071695327759, 0.14028997719287872, 0.18765923380851746, 0.9742415547370911, -0.1872279793024063, 0.5698041319847107, 0.7625339031219482, 0.45495176315307617, -0.2777770459651947, -1.126105785369873, 0.2622133195400238, -0.338761568069458, -0.11144986748695374, 0.3359425663948059, -0.44050687551498413, 0.46634483337402344, -0.1389724761247635, -0.34649065136909485, -0.146205335855484, 0.34781312942504883, 0.24010692536830902, 0.5840330123901367, 0.35926342010498047, 0.7687389254570007, 1.0301145315170288, -0.3727911412715912, 0.9160980582237244, 0.12356722354888916, 0.30721426010131836, 0.6620395183563232, -0.41272902488708496, 0.6845896244049072, 0.5224146842956543, -0.1843341439962387, 0.6871118545532227, 0.4905672073364258, 0.2399711012840271, 0.15504804253578186, 0.36694857478141785, -0.5794559121131897, -0.2298240065574646, -0.6399559378623962, -0.3327869474887848, 0.13701143860816956, 0.8187857866287231, -0.4716988503932953, 0.2144831120967865, 0.3509259521961212, 0.3415552079677582, -0.17125138640403748, -0.07831032574176788, 1.018468976020813, 0.1511206179857254, -0.6120975017547607, 0.5530957579612732, -0.11009994894266129, 0.6628920435905457, -0.410615473985672, -0.1637856364250183, 0.21172259747982025, 0.21308887004852295, -0.43526291847229004, -0.6144159436225891, 0.1487683653831482, 0.125361368060112, -0.35427701473236084, -0.14994622766971588, 0.7193952798843384, -0.29508674144744873, -0.5617702007293701, 0.31470170617103577, 0.4262494444847107, 0.3478914201259613, 0.19593331217765808, -0.7319173812866211, 0.27116867899894714, 0.009872380644083023, -0.053615640848875046, 0.10188929736614227, 0.6077631115913391, -0.3677542805671692, 0.625903844833374, 0.5578534603118896, 0.5615482330322266, 0.0937916561961174, 0.3942968249320984, 0.8364607691764832, -0.391679048538208, -0.4639766216278076, -0.600629448890686, 0.38062506914138794, 0.038381773978471756, -0.6565887928009033, 0.44079071283340454, 0.6731346845626831, 0.7868348956108093, -0.19601544737815857, 0.8779752850532532, -0.0501314215362072, 0.7142110466957092, -0.3943117558956146, 0.628995418548584, -0.3658068776130676, 0.18263624608516693, -0.5727816224098206, -0.3611654043197632, -0.6213629245758057, 0.4534606635570526, -0.42032748460769653, -0.14396439492702484, 0.7747272253036499, 0.7272189259529114, 0.3945666253566742, 0.11231884360313416, 0.2859339118003845, 0.44811004400253296, 0.36040958762168884, 0.24317015707492828, 0.592340886592865, -0.5933689475059509, 0.19685164093971252, -0.3992421329021454, -0.4018392264842987, -0.20307457447052002, -0.4225449860095978, -0.7345715165138245, -0.5322830080986023, -0.8025767803192139, -0.6187817454338074, 0.3186629116535187, 0.9229639172554016, 0.5074413418769836, -1.2675896883010864, 0.13712027668952942, 0.28248754143714905, 0.10113085061311722, -0.2710750997066498, -0.351177841424942, 0.5394791960716248, -0.19920948147773743, -0.47183236479759216, -0.10289311408996582, 0.4765869677066803, -0.07304142415523529, -0.09959563612937927, 0.0297625120729208, -0.17984265089035034, -0.37308841943740845, 0.5007976293563843, 0.07619713246822357, -0.9116768836975098, -0.20457886159420013, 0.08487708121538162, -0.42921024560928345, 0.09297096729278564, 0.7944667935371399, -0.6092491745948792, 0.7495238184928894, 0.15315128862857819, 0.4118243455886841, 0.0817500501871109, 0.05250357463955879, -0.020927172154188156, -0.458234578371048, -0.15292972326278687, 0.6878960132598877, 0.35080599784851074, 0.41624915599823, -0.7954922318458557, 0.2914555072784424, 0.4084910750389099, -0.33719339966773987, -0.7897115349769592, -0.0920688807964325, -0.850104033946991, 0.17123264074325562, 1.186784029006958, -0.17986878752708435, -0.16331088542938232, -0.7999709844589233, -0.4331974387168884, 0.44847020506858826, -0.5402950644493103, 0.829402506351471, 0.5192852020263672, -0.3198417127132416, -0.035489119589328766, -0.6457269191741943, 0.8907386064529419, 0.33955132961273193, -0.9408078193664551, -0.2701314091682434, 0.5245167016983032, 0.09265081584453583, 0.3020198941230774, 0.8416509628295898, -0.3801760673522949, 0.12182004004716873, -0.478215754032135, 0.470912903547287, 0.3111436665058136, -0.12832841277122498, -0.33429837226867676, 0.21345172822475433, 0.05282232165336609, -0.1252603977918625 ]
http://arxiv.org/abs/2405.05189v2
http://arxiv.org/pdf/2405.05189v2
MIDGARD: Self-Consistency Using Minimum Description Length for Structured Commonsense Reasoning
2024-05-08T16:25:42
2024-06-02T18:47:44
Inderjeet Nair, Lu Wang
cs.CL
cs.CL, cs.AI
We study the task of conducting structured reasoning as generating a reasoning graph from natural language input using large language models (LLMs). Previous approaches have explored various prompting schemes, yet they suffer from error propagation due to the autoregressive nature and single-pass-based decoding, which lack error correction capability. Additionally, relying solely on a single sample may result in the omission of true nodes and edges. To counter this, we draw inspiration from self-consistency (SC), which involves sampling a diverse set of reasoning chains and taking the majority vote as the final answer. To tackle the substantial challenge of applying SC on generated graphs, we propose MIDGARD (MInimum Description length Guided Aggregation of Reasoning in Directed acyclic graph) that leverages Minimum Description Length (MDL)-based formulation to identify consistent properties among the different graph samples generated by an LLM. This formulation helps reject properties that appear in only a few samples, which are likely to be erroneous, while enabling the inclusion of missing elements without compromising precision. Our method demonstrates superior performance than comparisons across various structured reasoning tasks, including argument structure extraction, explanation graph generation, inferring dependency relations among actions for everyday tasks, and semantic graph generation from natural texts.
[ -0.2799365520477295, -1.0580339431762695, 0.6581931114196777, 0.21278060972690582, -0.1664503812789917, -0.1734798401594162, -0.1362750083208084, -0.08164390176534653, 0.3318537771701813, 0.2934662401676178, -0.5431931018829346, -0.4278375804424286, -0.5735240578651428, 0.7266806364059448, -0.29118767380714417, 0.8727986216545105, -0.06306126713752747, -0.5764008164405823, -0.4255017340183258, -0.3328380286693573, -0.08559217303991318, -0.20613963901996613, -0.5204991698265076, -0.4132196605205536, 0.7375401854515076, 0.4960777759552002, 0.7497011423110962, 1.0872880220413208, 0.04668405279517174, 0.32598185539245605, -0.28275421261787415, 0.6874756813049316, -0.45906364917755127, 0.1522129476070404, -0.4073001742362976, 0.17479446530342102, -0.5384630560874939, 0.14903508126735687, 0.9603295922279358, 0.7149057984352112, -0.1761818677186966, 0.23728395998477936, 0.38670551776885986, 0.6950160264968872, -0.5228056907653809, 0.10716117173433304, -0.3691556453704834, -0.03659818693995476, -0.39319688081741333, -0.04284898564219475, -0.3903244137763977, -0.06712028384208679, -0.1612553596496582, -0.7356308698654175, 0.2866598963737488, 0.43069353699684143, 0.8000823855400085, 0.5134636163711548, -0.5249570608139038, -0.2856055796146393, -0.45057782530784607, 0.6938300132751465, -0.8168150782585144, 0.47924360632896423, 0.365721732378006, 0.24917897582054138, -0.4845779538154602, -0.8963868618011475, -1.0955944061279297, -0.07528882473707199, -0.49953803420066833, -0.0003923177719116211, -0.3296533524990082, 0.3017890751361847, 0.2160283327102661, 0.17589232325553894, -0.7586196660995483, 0.032266195863485336, -0.38509178161621094, -0.2979913651943207, 0.6198117733001709, 0.16142943501472473, -0.12817612290382385, -0.6505522727966309, -0.210205078125, -0.05559949576854706, -0.668770968914032, -0.13178546726703644, 0.3708978593349457, 0.3049929141998291, -0.1342718005180359, 0.8042116761207581, -0.5782458782196045, 0.9012225270271301, 0.39906805753707886, -0.19723205268383026, 0.08540187776088715, -0.2656278908252716, -0.4855020046234131, -0.032255709171295166, 0.8956525325775146, 0.22572356462478638, 0.01957676373422146, 0.003499309765174985, -0.06383246183395386, 0.016461173072457314, -0.1529129445552826, -0.6319972276687622, -0.4641726613044739, 0.44913506507873535, -0.6464049816131592, -0.26460301876068115, -0.34782645106315613, -0.6098698377609253, -0.39211153984069824, -0.45511382818222046, 0.1308087259531021, -0.14807511866092682, -0.12551908195018768, 0.00976524781435728, -0.0884309932589531, 0.032690681517124176, 0.08345919847488403, -0.8852466344833374, 0.5737374424934387, 0.6347240209579468, 0.7166773676872253, -0.10059243440628052, -0.5659080147743225, -0.6891036033630371, 0.3905710279941559, -0.38249126076698303, 0.7266342043876648, -0.18996356427669525, -0.11459416151046753, -0.46208417415618896, -0.09541594982147217, 0.08508717268705368, -0.32558631896972656, 0.5102651119232178, -0.041639603674411774, 0.21889527142047882, -0.1972542107105255, -0.7777529358863831, 0.09969548881053925, 0.7170077562332153, -0.5007302165031433, 1.0052937269210815, 0.10295844823122025, -0.8392304182052612, 0.2878592014312744, -0.6864230036735535, -0.38891974091529846, 0.20831845700740814, -0.30883753299713135, -0.22757069766521454, -0.11548003554344177, 0.1757088005542755, 0.41249242424964905, -0.046690434217453, 0.31798309087753296, -0.280787855386734, -0.0799955278635025, 0.028640510514378548, -0.5440807938575745, 0.4490441679954529, 0.4427245557308197, -0.17676056921482086, 0.17426365613937378, -0.7929850816726685, 0.06571362912654877, 0.09109187126159668, -0.22412437200546265, -0.09474645555019379, 0.09414154291152954, -0.3631204664707184, 0.1803610920906067, 0.3214144706726074, -0.8863658905029297, 0.13587772846221924, -0.35782134532928467, 0.3045513331890106, 1.1527670621871948, 0.02804267406463623, 0.3371032774448395, -0.21170490980148315, 0.2282055914402008, -0.11236830800771713, 0.3005692958831787, 0.09593914449214935, -0.33121180534362793, -0.463591605424881, -0.32019999623298645, 0.3156921863555908, 0.17728708684444427, -0.7249518036842346, 0.30700093507766724, -0.2862176299095154, -0.3427586555480957, -0.3008077144622803, 0.2787308096885681, 0.5742133259773254, 0.9529011845588684, 0.3877051770687103, 0.15790434181690216, -0.5766555070877075, -0.9020887017250061, -0.3131495416164398, -0.21121877431869507, 0.2771768271923065, 0.286833256483078, 0.34391167759895325, -0.2939566969871521, 1.0433160066604614, -0.6661822199821472, -0.11364317685365677, -0.4146839678287506, 0.0633462443947792, 0.49989286065101624, 0.3656711280345917, 0.22282063961029053, -0.5894511938095093, -0.6449046730995178, -0.10202474892139435, -0.9074172377586365, -0.2563045024871826, 0.15206992626190186, -0.2056826949119568, 0.08751029521226883, 0.33318087458610535, -0.6859110593795776, 0.3098093271255493, 0.9751103520393372, -0.5432007312774658, 0.8403552174568176, -0.4059603810310364, -0.12644505500793457, -0.9401929974555969, -0.008781236596405506, 0.101691834628582, -0.393759548664093, -0.5749143958091736, -0.16397103667259216, -0.11004582792520523, 0.12589964270591736, -0.14489704370498657, 1.0258861780166626, -0.44711098074913025, 0.33620285987854004, -0.2798740565776825, 0.2493470162153244, 0.3272777497768402, 0.4664593040943146, -0.40036824345588684, 0.6475797891616821, 0.4130961298942566, -0.8177075982093811, 0.41081488132476807, 0.46079471707344055, 0.37796536087989807, 0.7795611023902893, -0.9150240421295166, 0.19235852360725403, -0.2682183086872101, 0.3394300639629364, -0.89281165599823, -0.46301499009132385, 0.42599010467529297, -0.3999228775501251, 0.14724282920360565, -0.5030077695846558, -0.7740710973739624, -0.4866052567958832, 0.03230435401201248, 0.3621927499771118, 0.5644784569740295, -0.6431447863578796, 0.6938066482543945, 0.10260513424873352, -0.03695724904537201, -0.6390917897224426, -0.35402655601501465, 0.054395176470279694, 0.006690983194857836, -0.8075050115585327, 0.0549272857606411, -0.14614014327526093, -0.3013159930706024, 0.023591693490743637, -0.2842123806476593, 0.07225441932678223, -0.09934069961309433, 0.14870785176753998, -0.06387435644865036, 0.012922294437885284, 0.3108702003955841, 0.18979069590568542, -0.15363675355911255, -0.13454142212867737, -0.5785828828811646, 0.3329547047615051, -0.24168701469898224, -0.5188499689102173, -0.41511261463165283, 0.3685497045516968, 0.344257116317749, -0.10050033032894135, 0.3973451852798462, 0.11389198154211044, -0.2641509473323822, -0.3624265789985657, -0.3208427429199219, -0.1355832815170288, -0.521568775177002, -0.09924821555614471, -0.5456807017326355, -0.7905963063240051, 0.3590790927410126, -0.1292601227760315, 0.10886169224977493, 0.7114198803901672, 0.2274957001209259, -0.3992806375026703, 1.1512479782104492, 0.33029910922050476, 0.32346561551094055, -0.009313561953604221, -0.15044277906417847, 0.26960405707359314, -0.8617092370986938, -0.2731357216835022, -0.3162219524383545, -0.36025533080101013, -0.4617331326007843, -0.2370416671037674, 0.4927281141281128, -0.019249960780143738, -0.2992570400238037, -0.056933432817459106, -0.8149150609970093, 0.5881022214889526, 0.4789784252643585, -0.08021379262208939, 0.15112732350826263, 0.04626627638936043, -0.36519530415534973, 0.06162426620721817, -0.7733763456344604, -0.6500871181488037, 0.8718559145927429, 0.0003285250277258456, 0.680905818939209, 0.14208121597766876, 0.9919589757919312, 0.542435884475708, 0.1892932653427124, -0.4300483167171478, 0.6539270281791687, -0.2550227642059326, -0.4146326184272766, -0.6422839760780334, -0.7202563881874084, -1.239304542541504, 0.26021432876586914, -0.08164597302675247, -0.512783408164978, -0.09768648445606232, 0.6064797639846802, -0.06332233548164368, 0.22552254796028137, -0.36506232619285583, 0.9284096956253052, -0.05405162647366524, -0.4687694013118744, 0.05115984380245209, -0.7465220093727112, 0.22079651057720184, 0.4052048921585083, 0.22189843654632568, -0.1892956644296646, 0.4345722198486328, 0.6778683662414551, -0.6113927364349365, 0.820071816444397, -0.3056180477142334, 0.16973380744457245, 0.4177902340888977, 0.2684735953807831, 0.8540859222412109, -0.15418626368045807, 0.028096577152609825, -0.1992262601852417, 0.07933702319860458, -0.7781893610954285, -0.7673406004905701, 0.5596955418586731, -0.5985339283943176, -0.7107636332511902, -0.4138820767402649, -0.6326500773429871, -0.09228171408176422, 0.5041431188583374, 0.09961274266242981, 0.5469493865966797, -0.1498720645904541, -0.05205855518579483, 0.7594354748725891, 0.35936567187309265, 0.3177030086517334, -0.023271454498171806, -0.017788778990507126, -0.48676472902297974, 0.6945033073425293, 0.13947507739067078, 0.17127244174480438, -0.09934322535991669, 0.6409147381782532, -0.7287608981132507, -0.6910766363143921, -0.7425903677940369, 0.4807969927787781, -0.8746039271354675, -0.2784585654735565, -0.6982872486114502, -0.05661940202116966, -0.5573980808258057, -0.17940399050712585, -0.2798759341239929, -0.6122359037399292, -0.013228090479969978, -0.18389098346233368, 0.29862889647483826, 1.0057101249694824, -0.1598244160413742, 0.2603585124015808, -0.7147489786148071, 0.46775463223457336, 0.3571808338165283, 0.36482736468315125, -0.0708656907081604, -0.2818065583705902, 0.023903891444206238, 0.17295849323272705, -0.27939486503601074, -0.8011543154716492, 0.14570002257823944, 0.23227433860301971, 0.7790914177894592, 0.3939315676689148, 0.2123233824968338, 0.7720809578895569, -0.38383644819259644, 0.6844666600227356, 0.2915976047515869, -0.997107982635498, 0.5056436061859131, -0.34319937229156494, 0.2563386857509613, 0.4389040470123291, -0.06842188537120819, -0.6400946974754333, -0.41890427470207214, -0.9906975030899048, -0.5761818885803223, 0.044366199523210526, 0.28845733404159546, -0.022166922688484192, -0.31261396408081055, 0.3483056426048279, -0.04322454333305359, 0.05971178412437439, -0.6028911471366882, -0.13621287047863007, -0.43383780121803284, -0.6731815338134766, 0.07852684706449509, -0.22550539672374725, -0.532560408115387, -0.19641447067260742, 0.5067270994186401, -0.5837090611457825, -0.20265132188796997, 0.5574539303779602, -0.027279548346996307, 0.09006091952323914, 0.40857458114624023, 0.5167256593704224, 0.813157320022583, 0.17888392508029938, 0.6630973815917969, 0.21589259803295135, -0.17546963691711426, 0.16907885670661926, 0.20963391661643982, -0.2840149402618408, 0.007314001210033894, 0.2969573736190796, 0.22849473357200623, -0.12064361572265625, -0.4385221600532532, 0.5375089049339294, 0.18555989861488342, -0.28419649600982666, -0.144608274102211, -0.2290838211774826, -0.023332588374614716, 0.1988886445760727, 0.22383509576320648, 0.05583048239350319, 0.15861493349075317, -0.31195345520973206, 0.26815861463546753, 0.28328704833984375, -0.2946246564388275, -0.23518717288970947, 0.6934818029403687, -0.009035360999405384, -0.12340430915355682, 0.8737618923187256, -0.6728533506393433, -0.32225462794303894, 0.4390184283256531, 0.6228941082954407, 0.6863259673118591, 0.11329902708530426, 0.18608510494232178, 0.2746971845626831, 0.11259978264570236, -0.13638682663440704, 0.3717172145843506, -0.03433650732040405, -0.628032922744751, -0.44766339659690857, -0.6958163976669312, -0.33552512526512146, -0.5375105738639832, -0.21476620435714722, -0.07689397782087326, -0.629718542098999, 0.08974887430667877, -0.0568714402616024, 0.048400234431028366, -0.36873164772987366, 0.32081037759780884, -0.009531170129776001, 0.9383252263069153, -0.9462900757789612, 0.6848989725112915, 0.45762333273887634, -0.28577345609664917, -1.1773101091384888, -0.30091097950935364, 0.1749301701784134, -0.35867300629615784, 0.32023751735687256, -0.13138194382190704, -0.3895600736141205, -0.050754331052303314, -0.9386932253837585, -0.7453657984733582, 1.2150770425796509, 0.06474186480045319, -0.17458167672157288, 0.10307235270738602, -0.14904867112636566, 0.5398642420768738, -0.4324459433555603, -0.2870802879333496, 0.34109556674957275, 0.7450869679450989, 0.5642139315605164, -0.787462592124939, 0.4243525266647339, -0.22946344316005707, -0.3324989974498749, 0.21779346466064453, -0.5473639369010925, 0.9424005150794983, -0.27150633931159973, -0.27219220995903015, 0.025486433878540993, 0.8764533996582031, 0.971695601940155, 0.6910260319709778, 0.3949362635612488, 0.6584981679916382, 1.3079527616500854, 0.0906534343957901, 1.2525243759155273, -0.20071959495544434, 0.22627584636211395, 1.232733964920044, -0.19004717469215393, 0.5223893523216248, 0.5741823315620422, 0.07864028215408325, 0.5335797667503357, 0.5756876468658447, -0.06754308938980103, 0.3433745801448822, 0.1557227373123169, 0.04204952344298363, -0.09526389837265015, -0.13082469999790192, -0.026460913941264153, 0.37930211424827576, 0.10570114850997925, -0.20604653656482697, -0.23717442154884338, -0.5065955519676208, 0.26127782464027405, 0.32854992151260376, -0.2804848551750183, 0.6161799430847168, 0.05368441343307495, -0.7546976804733276, 0.7595617175102234, 0.007113534491509199, 0.3291563093662262, -0.4621258080005646, -0.29229113459587097, -0.289277046918869, 0.10695812851190567, -0.40576693415641785, -0.8931604623794556, 0.3648802638053894, -0.1744057983160019, -0.3351961374282837, -0.3993889391422272, 0.7440654635429382, -0.24247576296329498, -0.34513211250305176, -0.1078188568353653, 0.4847516417503357, 0.3258955478668213, 0.22984452545642853, -0.4569905698299408, -0.2861461937427521, -0.24466514587402344, 0.07533294707536697, -0.03193798288702965, 0.8281585574150085, -0.0908324122428894, 0.6877107620239258, 0.8945229053497314, 0.21010883152484894, 0.24867983162403107, -0.16208729147911072, 0.8932996392250061, -0.48013249039649963, -0.4737124741077423, -0.9130456447601318, 0.5024908185005188, -0.5043945908546448, -0.39980241656303406, 0.9446865320205688, 0.7129163146018982, 0.37582680583000183, 0.3220163583755493, 0.7393542528152466, -0.22555573284626007, 0.38968273997306824, -0.5149524211883545, 0.42928239703178406, -0.35067111253738403, 0.0015729402657598257, -0.047482848167419434, -0.689741849899292, -0.2522932291030884, 0.3511485159397125, -0.01070274319499731, -0.18689246475696564, 0.8081567287445068, 0.6154859662055969, -0.30444270372390747, -0.22735700011253357, 0.30792176723480225, 0.4099580645561218, 0.38613173365592957, 0.23464427888393402, 0.6342600584030151, -0.003954265266656876, 0.5880638957023621, 0.1084643006324768, -0.25007641315460205, 0.052901893854141235, -0.8536704778671265, -0.698137104511261, -0.33745813369750977, -0.12164619565010071, -0.7889784574508667, 0.10343587398529053, 0.8892903327941895, 0.6951093673706055, -0.4289085268974304, -0.06523256748914719, -0.17226426303386688, 0.48452579975128174, -0.4259103834629059, -0.17952340841293335, 0.5158188939094543, -0.3266656994819641, -0.4456877112388611, 0.4380452632904053, 0.41882336139678955, 0.11875159293413162, -0.26012054085731506, -0.5152590274810791, -0.27445289492607117, 0.2670799195766449, 0.5047963857650757, 0.496145635843277, -0.873850405216217, -0.554254949092865, 0.053798384964466095, -0.13710255920886993, 0.1929989606142044, 0.5470495820045471, -0.6136034727096558, 0.5941356420516968, 0.6620970964431763, 0.28807905316352844, 0.5942679643630981, 0.2816757261753082, 0.48910051584243774, -0.9985211491584778, -0.026326369494199753, 0.26559871435165405, 0.43799424171447754, 0.4355992078781128, -0.32874563336372375, 0.5786740779876709, 0.24932454526424408, -0.6924189329147339, -0.6457046270370483, 0.6455536484718323, -1.0449544191360474, -0.22944262623786926, 1.226218581199646, -0.21827217936515808, -0.45665812492370605, -0.283483624458313, 0.009125860407948494, 0.19492068886756897, -0.09668982774019241, 0.6852383613586426, 0.5136212110519409, -0.4958604872226715, -0.22550195455551147, -0.08575630187988281, 0.5803360939025879, 0.06385936588048935, -0.568158745765686, 0.22549213469028473, 0.6586040258407593, 0.5147935748100281, 0.10354220122098923, 0.8763628005981445, 0.01318010501563549, 0.03853610157966614, 0.1471676081418991, -0.2241295576095581, -0.31652921438217163, -0.4080047607421875, 0.0397522896528244, 0.2385142296552658, 0.13579043745994568, -0.0685165598988533 ]
http://arxiv.org/abs/2405.05176v1
http://arxiv.org/pdf/2405.05176v1
Encoder-Decoder Framework for Interactive Free Verses with Generation with Controllable High-Quality Rhyming
2024-05-08T16:13:40
2024-05-08T16:13:40
Tommaso Pasini, Alejo López-Ávila, Husam Quteineh, Gerasimos Lampouras, Jinhua Du, Yubing Wang, Ze Li, Yusen Sun
cs.CL
cs.CL, I.2.7
Composing poetry or lyrics involves several creative factors, but a challenging aspect of generation is the adherence to a more or less strict metric and rhyming pattern. To address this challenge specifically, previous work on the task has mainly focused on reverse language modeling, which brings the critical selection of each rhyming word to the forefront of each verse. On the other hand, reversing the word order requires that models be trained from scratch with this task-specific goal and cannot take advantage of transfer learning from a Pretrained Language Model (PLM). We propose a novel fine-tuning approach that prepends the rhyming word at the start of each lyric, which allows the critical rhyming decision to be made before the model commits to the content of the lyric (as during reverse language modeling), but maintains compatibility with the word order of regular PLMs as the lyric itself is still generated in left-to-right order. We conducted extensive experiments to compare this fine-tuning against the current state-of-the-art strategies for rhyming, finding that our approach generates more readable text and better rhyming capabilities. Furthermore, we furnish a high-quality dataset in English and 12 other languages, analyse the approach's feasibility in a multilingual context, provide extensive experimental results shedding light on good and bad practices for lyrics generation, and propose metrics to compare methods in the future.
[ -0.30885565280914307, -0.39796966314315796, 0.18241623044013977, 0.5262799263000488, -0.5171155333518982, 0.033765777945518494, -0.407501757144928, -0.5187095999717712, 0.31365036964416504, 0.7697476744651794, -0.7803726196289062, -0.6057313680648804, -0.5922147631645203, 0.31556272506713867, -0.3372005522251129, 1.0722943544387817, -0.2585359215736389, -0.2962316870689392, -0.08803319185972214, -0.10313599556684494, -0.4235149621963501, -0.1132049411535263, -0.4695596694946289, -0.486664742231369, 0.43752411007881165, 0.5829740166664124, 0.609448254108429, 0.7846872210502625, 0.29383179545402527, 0.2144044190645218, 0.042039383202791214, 0.2974272072315216, -0.5386404991149902, 0.5340672135353088, 0.012582769617438316, -0.6276818513870239, -0.34244391322135925, 0.2422332465648651, 0.4663025736808777, 0.2953254282474518, -0.19380885362625122, 0.3640340566635132, -0.052400220185518265, 0.8631585836410522, -0.4741249084472656, 0.05771057680249214, -0.8044962882995605, 0.3461061120033264, -0.30059871077537537, -0.7339897751808167, -0.4799768030643463, -0.4836919605731964, -0.08067473024129868, -0.713735818862915, 0.39857742190361023, 0.2366430014371872, 1.0185365676879883, 0.2825906574726105, 0.12183481454849243, -0.39235955476760864, -0.5504184365272522, 0.5697897672653198, -0.6146987080574036, 0.4993171691894531, 0.28863954544067383, 0.20563377439975739, -0.18854570388793945, -0.9896793961524963, -0.5592559576034546, -0.08301248401403427, 0.1766849309206009, 0.46473169326782227, 0.008327693678438663, 0.0828111320734024, 0.24104328453540802, 0.4563550353050232, -0.539231538772583, -0.17456801235675812, -0.11092554777860641, -0.0027324394322931767, 0.6382357478141785, 0.12366912513971329, 0.6525890231132507, -0.25429749488830566, -0.4727160334587097, -0.11684326082468033, -0.7791234254837036, 0.2743949890136719, 0.7984920740127563, 0.3056970536708832, -0.3002493679523468, 0.6186466217041016, -0.0816330760717392, 0.6513684988021851, 0.3336534798145294, -0.11544183641672134, 0.33865296840667725, 0.009176560677587986, -0.1213245689868927, 0.24881330132484436, 0.9518749117851257, 0.4697025418281555, 0.5913445949554443, -0.36036500334739685, -0.4989432096481323, 0.18882374465465546, 0.276439905166626, -0.7795290946960449, -0.45169347524642944, 0.20472168922424316, -0.5297442674636841, -0.33079764246940613, 0.0704633966088295, -0.6443815231323242, -0.21447108685970306, -0.5636568069458008, 0.628474771976471, -0.7164815664291382, -0.1756616085767746, 0.34380537271499634, -0.17941705882549286, 0.027875127270817757, -0.122602179646492, -0.9422862529754639, -0.14497125148773193, 0.7371851205825806, 0.7516986727714539, 0.05582471191883087, -0.4545380473136902, -0.5684826374053955, 0.08355265110731125, -0.3459918797016144, 0.5575968027114868, -0.4537370502948761, -0.21138621866703033, -0.18699662387371063, -0.029124708846211433, -0.29795077443122864, -0.5226325392723083, 0.6062343120574951, -0.5027226805686951, 0.052514951676130295, -0.0027561760507524014, -0.6966251134872437, -0.06532129645347595, -0.1426047682762146, -0.48536840081214905, 0.5628388524055481, -0.014972055330872536, -1.0926960706710815, 0.3265972137451172, -0.35752761363983154, -0.3101845681667328, 0.027623329311609268, -0.301714688539505, -0.4761165678501129, 0.42917415499687195, 0.14842209219932556, 0.48878213763237, -0.180267333984375, -0.05271703377366066, 0.02105461061000824, -0.47975802421569824, 0.35057300329208374, -0.2964475154876709, 0.5063091516494751, 0.5450237393379211, -0.11827294528484344, 0.27646124362945557, -0.9874962568283081, 0.32451823353767395, 0.25178614258766174, -0.49162644147872925, -0.06979592889547348, -0.03310971334576607, 0.24942995607852936, 0.07560906559228897, -0.056798338890075684, -0.6420199275016785, -0.09168969839811325, -0.7772993445396423, 0.5851563811302185, 0.3747372031211853, 0.21580438315868378, 0.2943597137928009, -0.6630991101264954, 0.9377685189247131, -0.14615733921527863, 0.0002556621911935508, -0.20160020887851715, -0.33822160959243774, -0.71884685754776, -0.14149178564548492, 0.4517366886138916, 0.556544840335846, -0.7470876574516296, 0.5114271640777588, -0.3666553199291229, -0.32356497645378113, -1.0807714462280273, 0.23843860626220703, 0.3384420573711395, 0.25725048780441284, 0.387358695268631, -0.3646067976951599, -0.5778176188468933, -0.543819785118103, -0.39280572533607483, 0.2144060581922531, 0.12782828509807587, -0.11363275349140167, -0.00505828857421875, -0.14577068388462067, 0.7665544748306274, -0.3518814444541931, -0.019177280366420746, -0.474996417760849, 0.39162692427635193, 0.22234806418418884, 0.7404291033744812, 0.37427613139152527, -0.6377828121185303, -0.4863576292991638, -0.1079694926738739, -0.4028143286705017, -0.3175504803657532, -0.2637379467487335, -0.5179561972618103, -0.14191415905952454, 0.5875877737998962, -0.5152400732040405, 0.0427166111767292, 0.5585258603096008, -0.25920799374580383, 0.5261974334716797, -0.19384169578552246, 0.15536804497241974, -1.1519694328308105, 0.04914575070142746, -0.35724982619285583, -0.17456874251365662, -0.6644828915596008, 0.3778449594974518, 0.253560870885849, -0.1777413934469223, -0.19482170045375824, 0.04992757737636566, -0.48969438672065735, 0.2593630850315094, -0.4134451150894165, 0.08739553391933441, 0.14323140680789948, 0.18646855652332306, 0.04144950956106186, 0.6875848174095154, 0.4500749707221985, -0.3609548509120941, 0.3145596981048584, 0.1713663637638092, -0.7358585596084595, 0.38529762625694275, -0.5653237700462341, 0.19233781099319458, -0.6337001919746399, 0.040274910628795624, -0.7715643048286438, -0.28513261675834656, 0.17040269076824188, -0.6859911680221558, 0.7219831347465515, -0.22394374012947083, -0.35454678535461426, -0.253654420375824, -0.03953370451927185, 0.5001271963119507, 0.6485500335693359, -0.4874876141548157, 0.3643766939640045, -0.08833909779787064, -0.16081152856349945, -0.4409901797771454, -0.6883795261383057, 0.07575984299182892, -0.4733406901359558, -0.5327357053756714, 0.42134401202201843, 0.0005693796556442976, 0.07328072935342789, -0.20133373141288757, -0.034284114837646484, 0.31418177485466003, -0.0312771275639534, 0.3009631633758545, -0.268398642539978, -0.15457768738269806, 0.1315806806087494, 0.2134648710489273, -0.5032292604446411, 0.07624082267284393, -0.41993993520736694, 0.5918377041816711, 0.29268571734428406, -0.26433876156806946, -0.5494811534881592, 0.45575615763664246, 0.6287575364112854, -0.726882815361023, 0.3345571458339691, 0.7494094967842102, -0.23655660450458527, -0.6203612089157104, -0.21183937788009644, 0.33235952258110046, -0.4980233311653137, 0.011005708947777748, -0.4947426915168762, -0.5147412419319153, 0.5153985023498535, -0.0565498061478138, -0.06700409203767776, 0.2855628430843353, 0.1278713047504425, -0.1862790584564209, 0.841518759727478, 0.8872624635696411, 0.2174723595380783, 0.5634139776229858, -0.49127766489982605, 0.1080651506781578, -0.7883756160736084, -0.04692167043685913, -0.45902058482170105, -0.5557249784469604, -0.6613868474960327, -0.20233353972434998, 0.2843618392944336, 0.6846950054168701, -0.2048293948173523, 0.3153255879878998, -0.6158733367919922, 0.4812522828578949, 0.35714778304100037, 0.149648979306221, 0.18214647471904755, 0.012119924649596214, -0.45760825276374817, -0.08304297924041748, -0.6922250390052795, -0.2600306272506714, 0.9233484268188477, 0.31204459071159363, 0.7542493343353271, 0.18064261972904205, 1.1846623420715332, -0.1433456540107727, 0.26209521293640137, -0.8300025463104248, 0.23884156346321106, -0.387468159198761, -0.17562127113342285, -0.13696178793907166, -0.3874661922454834, -0.8258693814277649, -0.11479201167821884, -0.35711050033569336, -0.5466551780700684, -0.05816201493144035, 0.20693182945251465, -0.5205767154693604, 0.2231110781431198, -0.5309098958969116, 0.7035029530525208, -0.111028291285038, -0.09452769160270691, 0.06295690685510635, -0.6086419820785522, 0.29376205801963806, 0.07761452347040176, 0.30548903346061707, -0.16059863567352295, 0.05098853260278702, 0.5407325625419617, -0.4400166869163513, 0.5255483388900757, -0.23743301630020142, -0.4175371825695038, 0.31521645188331604, 0.21888023614883423, 0.6006495952606201, 0.02473912015557289, 0.05162641033530235, -0.35493800044059753, 0.007158685475587845, -0.14080093801021576, -0.4901467561721802, 0.8590216636657715, -0.6923519372940063, -0.3234480023384094, 0.07418690621852875, -0.49904948472976685, -0.2536693215370178, 0.1660403311252594, 1.0145562887191772, 0.5466731190681458, 0.31169408559799194, 0.1649099588394165, 0.6771051287651062, -0.3864457309246063, 0.3968653976917267, 0.055060312151908875, -0.3103996217250824, -1.045486569404602, 0.9163519740104675, 0.2160363495349884, 0.35721355676651, 0.6089263558387756, 0.26836538314819336, -0.3665323257446289, -0.7467887997627258, -0.7342116832733154, 0.06669217348098755, -0.5844483375549316, -0.354319304227829, -0.46407487988471985, -0.2530776262283325, -0.35708925127983093, -0.18854466080665588, -0.32616907358169556, -0.2836485803127289, -0.2953137457370758, 0.03140758350491524, 0.732936680316925, 0.5997280478477478, 0.05647588148713112, 0.263921320438385, -1.0624796152114868, 0.6316846013069153, 0.12434712052345276, 0.8436002135276794, 0.1800043284893036, -0.5484850406646729, -0.21963372826576233, -0.16327354311943054, -0.11437336355447769, -1.0046885013580322, 0.296884149312973, 0.38184911012649536, 0.2567445635795593, 0.2991403639316559, 0.2449595034122467, 0.8796538710594177, -0.6697679162025452, 0.6266500949859619, 0.40282922983169556, -0.8575668334960938, 0.6249287724494934, -0.34442058205604553, 0.24138261377811432, 0.5908778309822083, 0.10011883825063705, -0.6223824620246887, -0.36982664465904236, -0.2501927614212036, -1.1453757286071777, 0.3797172009944916, 0.2793084383010864, 0.20449769496917725, -0.07488581538200378, 0.6840947270393372, 0.44802212715148926, 0.0398685485124588, -0.474134236574173, -0.33739352226257324, -0.617567777633667, -0.6956326961517334, -0.4401906430721283, 0.03757768124341965, 0.11120245605707169, -0.14062635600566864, 0.6285308599472046, -0.01631511189043522, 0.029652435332536697, 0.394228458404541, -0.1289205253124237, -0.6295282244682312, 0.4136168658733368, 0.47368156909942627, 0.21810021996498108, -0.06948128342628479, 0.22669920325279236, -0.2158609926700592, -0.6586296558380127, 0.1683092713356018, 0.042269494384527206, -0.6039963960647583, -0.12340743839740753, 0.2820635735988617, 1.1581884622573853, 0.1784980297088623, -0.4983636140823364, 0.350018173456192, -0.06759732961654663, -0.24739091098308563, -0.3013209402561188, 0.3583340048789978, 0.18157325685024261, 0.22265535593032837, 0.06994527578353882, 0.14364686608314514, -0.0946044921875, -0.22514496743679047, 0.315174400806427, 0.20468562841415405, -0.35980454087257385, -0.23722827434539795, 0.8224294781684875, 0.050245873630046844, -0.3973134160041809, 0.19855156540870667, -0.17150278389453888, -0.3176645040512085, 0.43774619698524475, 0.7766285538673401, 1.1977434158325195, 0.1150360107421875, -0.026747655123472214, 0.3943592607975006, 0.17995093762874603, 0.023146383464336395, 0.7219948172569275, -0.18139150738716125, -0.6611559391021729, -0.5784295797348022, -1.108515739440918, 0.02702716365456581, 0.3315805494785309, -0.8834003210067749, 0.09195024520158768, -0.41923364996910095, -0.20279540121555328, -0.08475200086832047, -0.15047577023506165, -0.6641730070114136, 0.25046390295028687, 0.1410287618637085, 1.0958483219146729, -0.61146479845047, 0.6200051307678223, 0.8100632429122925, -0.38451310992240906, -0.8504161238670349, 0.39013999700546265, -0.39095884561538696, -0.3960559368133545, 0.297751784324646, 0.4275563657283783, -0.29184091091156006, 0.6106946468353271, -0.5827463269233704, -0.7638738751411438, 1.1444350481033325, 0.21748298406600952, -0.6514867544174194, 0.24171182513237, 0.005470999516546726, 0.4565727114677429, -0.3595272898674011, -0.2594858407974243, 0.43645983934402466, 0.2887686789035797, -0.05794988572597504, -0.7130212783813477, -0.04045870900154114, -0.44718727469444275, 0.1218995749950409, 0.4249245524406433, -0.5652772188186646, 0.689913809299469, -0.10045062750577927, -0.7044615149497986, 0.5539813041687012, 0.7609972357749939, 0.11569016426801682, 0.3134200870990753, 0.2941332757472992, 0.9263039827346802, 0.5143229365348816, -0.09607291966676712, 0.653296172618866, -0.6989589333534241, 0.15944381058216095, 1.083365797996521, 0.007987484335899353, 0.8842300772666931, 0.449602335691452, -0.03005334362387657, 0.37570688128471375, 0.32738879323005676, 0.26505279541015625, 0.6294253468513489, 0.6135241389274597, -0.19995196163654327, -0.4974496066570282, 0.11896879225969315, -0.4942552447319031, 0.5400067567825317, 0.2939881384372711, -0.5717365741729736, -0.0061828880570828915, 0.045309942215681076, -0.3465443551540375, 0.6558873653411865, -0.3994928002357483, 0.7997032999992371, 0.1027710884809494, -0.6146063804626465, 0.7802137732505798, 0.20741623640060425, 0.970004677772522, -0.5041242837905884, 0.08554922789335251, -0.0892510786652565, 0.018533634021878242, -0.21973083913326263, -0.7307039499282837, 0.10988294333219528, 0.1612083613872528, -0.24403227865695953, -0.2852119505405426, 0.6438038945198059, -0.6735562682151794, -0.353618860244751, 0.21512454748153687, 0.4317691922187805, -0.11772527545690536, 0.26807376742362976, -0.48481759428977966, 0.06836405396461487, -0.07839062809944153, -0.2527698874473572, 0.04094890132546425, 0.7318955659866333, 0.26662319898605347, 0.4979766607284546, 0.5698007941246033, 0.4592861831188202, 0.2693607211112976, 0.5804895162582397, 0.3723681569099426, -0.7449429631233215, -0.7044153213500977, -0.3988250494003296, 0.3937157392501831, 0.44137299060821533, -0.16725072264671326, 0.39706405997276306, 0.22623920440673828, 1.026952862739563, -0.31503161787986755, 0.8737146258354187, 0.09512753039598465, 0.47707629203796387, -0.9711211323738098, 1.083012580871582, -0.4108734130859375, -0.10589738190174103, -0.2246895134449005, -0.6796457171440125, -0.31476739048957825, 0.4805212616920471, 0.08173859864473343, -0.0911950170993805, 0.20765119791030884, 0.6824471950531006, -0.09455020725727081, 0.1986740082502365, 0.28201940655708313, 0.04215540736913681, 0.012821131385862827, 0.5160367488861084, 0.8852621912956238, -0.568038821220398, 0.31790363788604736, -0.5573117136955261, -0.09209015220403671, 0.197891503572464, -1.011344075202942, -0.6111664175987244, -0.40964260697364807, -0.2260625958442688, -0.17668204009532928, -0.05136512592434883, 1.3596409559249878, 0.3157651126384735, -0.8359776735305786, 0.052629586309194565, -0.4614522457122803, -0.22460639476776123, -0.407105028629303, -0.21453236043453217, 0.20288054645061493, -0.5686074495315552, -0.4280155897140503, 0.3641889691352844, 0.01731930300593376, 0.3300909399986267, -0.0009464420145377517, -0.37885239720344543, 0.11261925846338272, 0.1880417764186859, 0.5413177609443665, 0.06277720630168915, -0.6591281890869141, -0.3655783236026764, -0.20513223111629486, 0.04935320094227791, -0.08764775097370148, 0.9307778477668762, -0.44008445739746094, 0.6040568351745605, 0.8427683115005493, 0.44245925545692444, 0.03470483422279358, 0.20092999935150146, 0.4035029113292694, -0.9117894768714905, -0.1946408599615097, 0.13074158132076263, 0.30755940079689026, 0.34744030237197876, -0.21883907914161682, 0.04037797078490257, 0.20651480555534363, -0.3632006049156189, -0.5071122050285339, 0.543184220790863, -0.8070446252822876, -0.059449467808008194, 1.0109224319458008, -0.2249031364917755, -0.03680110722780228, 0.1353731006383896, -0.22913004457950592, 0.7360985279083252, -0.08855456113815308, 0.647942066192627, 0.47930821776390076, -0.1590721607208252, -0.26409444212913513, -0.503571629524231, 0.7908992767333984, 0.19299370050430298, -0.21302752196788788, 0.2819328308105469, 0.4764014482498169, 0.38497740030288696, 0.07902610301971436, 0.3733895421028137, -0.27843156456947327, 0.25040608644485474, -0.05014795809984207, 0.3027609884738922, -0.41975897550582886, -0.6601921319961548, -0.46502232551574707, 0.35026681423187256, 0.40403082966804504, -0.3489181697368622 ]
http://arxiv.org/abs/2405.05175v1
http://arxiv.org/pdf/2405.05175v1
Air Gap: Protecting Privacy-Conscious Conversational Agents
2024-05-08T16:12:45
2024-05-08T16:12:45
Eugene Bagdasaryan, Ren Yi, Sahra Ghalebikesabi, Peter Kairouz, Marco Gruteser, Sewoong Oh, Borja Balle, Daniel Ramage
cs.CR
cs.CR, cs.CL, cs.LG
The growing use of large language model (LLM)-based conversational agents to manage sensitive user data raises significant privacy concerns. While these agents excel at understanding and acting on context, this capability can be exploited by malicious actors. We introduce a novel threat model where adversarial third-party apps manipulate the context of interaction to trick LLM-based agents into revealing private information not relevant to the task at hand. Grounded in the framework of contextual integrity, we introduce AirGapAgent, a privacy-conscious agent designed to prevent unintended data leakage by restricting the agent's access to only the data necessary for a specific task. Extensive experiments using Gemini, GPT, and Mistral models as agents validate our approach's effectiveness in mitigating this form of context hijacking while maintaining core agent functionality. For example, we show that a single-query context hijacking attack on a Gemini Ultra agent reduces its ability to protect user data from 94% to 45%, while an AirGapAgent achieves 97% protection, rendering the same attack ineffective.
[ -0.2847561240196228, -1.0014597177505493, 0.19420193135738373, -0.3007088899612427, 0.33259066939353943, -0.018693074584007263, 0.22091294825077057, -0.4671771824359894, 0.0925133153796196, 0.9312092661857605, -0.4633176326751709, -0.12295375764369965, -0.5245212912559509, -0.8384226560592651, -0.5184337496757507, 0.9351649880409241, 0.22234012186527252, -0.6482515335083008, -0.1436414122581482, 0.15430447459220886, -0.41185373067855835, -0.8688246607780457, -0.46087148785591125, -0.24231834709644318, 0.22444328665733337, 0.35401058197021484, 1.2852447032928467, 0.6138866543769836, 0.19560803472995758, 0.22301270067691803, 0.06499860435724258, -0.11644945293664932, -0.6216370463371277, 0.30069500207901, -0.021557360887527466, -0.3619821071624756, -0.5656144618988037, 0.035761985927820206, 0.24434392154216766, 0.5206952095031738, -0.5738689303398132, -0.41015827655792236, -0.050027258694171906, 0.6237545013427734, -0.8166548609733582, -0.11629865318536758, -0.9250267148017883, -0.048172980546951294, -0.22483839094638824, -0.09675321727991104, -0.38087597489356995, 0.014678200706839561, -0.10419930517673492, -0.6824958324432373, 0.042049605399370193, -0.06567452102899551, 1.1824862957000732, 0.5744883418083191, -0.3658820390701294, 0.053103119134902954, -0.6139259934425354, 0.15926437079906464, -0.4108922481536865, 0.38665345311164856, 0.4639665186405182, 0.3182055950164795, -0.2381628006696701, -0.5155645608901978, -0.6998873949050903, -0.1738830953836441, 0.06538466364145279, -0.05474548786878586, -0.7288183569908142, 0.043838899582624435, 0.036673810333013535, 0.08813618123531342, -0.6079017519950867, 0.010863185860216618, -0.14609496295452118, -0.337911456823349, 0.3233151435852051, 0.13003875315189362, 0.552291750907898, -0.07820369303226471, -0.729408323764801, -0.15144449472427368, -0.9035494923591614, 0.32417020201683044, 0.41290098428726196, 0.13135933876037598, -0.018695704638957977, 0.4192829728126526, -0.2489074319601059, 0.6904350519180298, 0.017235973849892616, 0.15413357317447662, -0.22831271588802338, 0.2548061013221741, -0.33435502648353577, 0.019040659070014954, 0.43224313855171204, 0.2800959348678589, 0.10908451676368713, -0.4129413664340973, -0.03771406412124634, 0.05674910172820091, 0.36129021644592285, -0.7377974987030029, -0.11049129068851471, 0.174973264336586, -0.044036172330379486, -0.5246241688728333, 0.4879475235939026, -0.5800681114196777, -0.8156314492225647, -0.021872231736779213, 0.33391737937927246, -0.25032904744148254, -0.3045128285884857, 0.13692685961723328, 0.086717389523983, 0.26574233174324036, 0.2604624330997467, -0.7810284495353699, 0.5741752982139587, 0.8765449523925781, 0.6839354038238525, 0.06353724747896194, -0.5333267450332642, -0.46092304587364197, 0.4498986005783081, -0.29205429553985596, 0.5495516061782837, -0.7382631897926331, -0.6302128434181213, -0.1769200563430786, 0.020111145451664925, -0.33906421065330505, -0.36911097168922424, 0.022123141214251518, -0.8647397756576538, -0.0656142309308052, -0.05590982362627983, -0.3919070363044739, -0.19841471314430237, 0.3592674136161804, -0.5961315631866455, 0.777121365070343, 0.1315387338399887, -0.4449612498283386, 0.22042907774448395, -0.5787171125411987, -0.21497957408428192, 0.14675524830818176, -0.2059674710035324, 0.08025271445512772, -0.1614689826965332, 0.19252634048461914, 0.3616480827331543, 0.39716631174087524, -0.045717041939496994, -0.2570277154445648, -0.14704927802085876, 0.5968230366706848, -0.5306401252746582, 0.6050679087638855, 0.33681437373161316, -0.37218937277793884, -0.06228626146912575, -0.45043614506721497, -0.06036614254117012, -0.20467627048492432, -0.17393696308135986, -0.45718449354171753, -0.27355000376701355, -0.1928364634513855, 0.3623628616333008, 0.31502285599708557, -0.35725292563438416, 0.19811826944351196, -0.36747705936431885, 0.34452924132347107, 0.9291983246803284, 0.2417757660150528, 0.5983286499977112, -0.3899551033973694, 0.7444964647293091, 0.08975134044885635, 0.3722076117992401, -0.2025957703590393, -0.42636314034461975, -0.5773718357086182, -0.05324435606598854, -0.05109851807355881, 0.683501660823822, -0.5457403063774109, 0.45352327823638916, -0.19833680987358093, -0.5804213881492615, -0.10204468667507172, 0.17722797393798828, 0.30647897720336914, 0.496209055185318, -0.13906235992908478, -0.07868281751871109, 0.26842883229255676, -0.6385405659675598, -0.48564523458480835, -0.1510455459356308, 0.23263338208198547, 0.6968558430671692, 0.20415902137756348, -0.598618745803833, 0.9747412204742432, -0.6812787652015686, -0.2811899483203888, 0.06028968095779419, -0.25357314944267273, -0.06852202862501144, 0.7112278938293457, 0.2691059708595276, -0.9646347165107727, -0.3545304834842682, -0.027254926040768623, -0.5225682854652405, -0.14575396478176117, -0.12339548021554947, -0.39177536964416504, 0.20438838005065918, 0.8049853444099426, -1.0871362686157227, 0.906038224697113, 0.5772594809532166, -0.7513384222984314, -0.09319309145212173, -0.11860090494155884, -0.15119172632694244, -0.9120489358901978, 0.18849697709083557, -0.3017904460430145, -0.33206796646118164, -1.056995153427124, 0.14925923943519592, 0.01783042587339878, -0.7557477355003357, -0.7220975160598755, 0.8523778319358826, -0.21503010392189026, 0.2118564248085022, -0.6261003017425537, 0.10909558832645416, 0.10160261392593384, 0.3609524071216583, -0.15035173296928406, 0.7226829528808594, 0.5727154016494751, -0.6660879850387573, 0.07580618560314178, 0.38154318928718567, 0.236930251121521, 0.47846055030822754, -0.40019577741622925, 0.4964754283428192, -0.12399625033140182, 0.5935423970222473, -0.7886296510696411, -0.5200285911560059, 0.3843393921852112, -0.7273043394088745, 0.21570619940757751, -0.1761932671070099, -0.21870028972625732, 0.26230260729789734, -0.12122955173254013, 0.25516214966773987, 0.23165732622146606, -0.6753323674201965, 0.6375991106033325, 0.7667447924613953, -0.178513303399086, -0.7733714580535889, -0.778712809085846, 0.4512251317501068, -0.3349585235118866, -0.8439781665802002, 0.2992783486843109, 0.13781772553920746, -0.4004053771495819, 0.12174233049154282, -0.42995038628578186, -0.29158371686935425, 0.4437865912914276, 0.6519293189048767, 0.14341537654399872, 0.44631171226501465, -0.1005653515458107, -0.3380502164363861, -0.2988229990005493, -0.04845213517546654, -0.2487781047821045, 0.604391872882843, -0.3389013707637787, -0.448306143283844, -0.22481223940849304, 0.4182867407798767, 0.5107842683792114, -0.01410362683236599, 0.7912436723709106, 0.4063378870487213, -0.6545844674110413, -0.1657112091779709, -0.5749885439872742, -0.2961690127849579, -0.5704918503761292, -0.08391013741493225, -0.24181953072547913, -0.8906204104423523, 0.517769455909729, 0.21125377714633942, -0.24181364476680756, -0.06024505943059921, 0.22946783900260925, 0.45091959834098816, 0.8787090182304382, 0.8167418241500854, -0.5451164841651917, 0.5381873250007629, -0.19885721802711487, 0.2077493816614151, -0.7383614778518677, -0.33543795347213745, -0.3719697594642639, 0.11471491307020187, -0.4974108338356018, -0.27828437089920044, 0.5421884059906006, 0.12755678594112396, -0.12882764637470245, 0.3625124990940094, -0.517722487449646, 0.7814784646034241, 0.3464793860912323, 0.13912145793437958, 0.07402943074703217, -0.11463508009910583, 0.33523625135421753, 0.35091033577919006, -0.47706758975982666, -0.6862443685531616, 0.8845869302749634, 0.37450075149536133, 1.325199007987976, 0.5309383869171143, 0.4540059268474579, 0.38025784492492676, -0.012185725383460522, -0.5314322113990784, 0.6565574407577515, 0.20295734703540802, -1.011390209197998, -0.337851881980896, -0.19072023034095764, -1.296960473060608, 0.7070632576942444, 0.2921984791755676, -1.3675647974014282, 0.29917365312576294, 0.0063790068961679935, -0.2732710838317871, 0.16717040538787842, -0.591182291507721, 0.7247722148895264, -0.059976886957883835, -0.6724007725715637, -0.015523888170719147, -0.7824271321296692, 0.2252969592809677, 0.0030809135641902685, 0.21075354516506195, -0.3478812277317047, -0.29738518595695496, 0.4377734065055847, -0.7719118595123291, 0.9612755179405212, -0.562137246131897, 0.02538376674056053, 0.24453052878379822, 0.5130963921546936, 0.6232195496559143, 0.3650789260864258, 0.20008373260498047, 0.128160297870636, -0.20476080477237701, -0.48251548409461975, -0.5085991024971008, 0.8435967564582825, -0.6905672550201416, -0.8721145391464233, -0.6017731428146362, -0.43784186244010925, -0.33620917797088623, 0.29433485865592957, 0.0706707239151001, 0.30327510833740234, -0.3094770908355713, 0.2761119306087494, 0.5477958917617798, -0.1542876660823822, 0.5597866177558899, 0.7524166107177734, 0.0883418470621109, -0.1442543864250183, 0.7493735551834106, -0.22915145754814148, 0.36860620975494385, 0.33579063415527344, 0.3123933970928192, -0.21901340782642365, 0.022478820756077766, -0.3336253762245178, -0.23190729320049286, -0.8877671957015991, -0.11513874679803848, -0.703824520111084, -0.3377617299556732, -0.5943983793258667, -0.4179837703704834, -0.16478927433490753, -0.4428672194480896, -0.17818252742290497, -0.18669496476650238, 0.12647686898708344, 0.4449540674686432, -0.1978825181722641, 0.7709991931915283, -0.5424929261207581, 0.25276145339012146, 0.538621187210083, -0.13461969792842865, -0.18356972932815552, -0.21505118906497955, -0.04656808078289032, -0.19662177562713623, -0.7326349020004272, -0.8827753663063049, 0.6112431287765503, 0.06397280842065811, 0.7258589267730713, 0.6195178627967834, 0.0774320587515831, 0.5746809244155884, -0.26997509598731995, 1.0305464267730713, -0.0481935553252697, -1.1118488311767578, 0.5573158860206604, -0.6143026351928711, 0.1184198334813118, 0.5768569111824036, -0.12162630259990692, -0.745639443397522, -0.39574679732322693, -1.052072525024414, -1.087116003036499, 0.6819575428962708, 0.43735572695732117, 0.3162495195865631, 0.2859412729740143, 0.20423303544521332, -0.0300249345600605, 0.5223753452301025, -0.7723764777183533, 0.06378043442964554, -0.44731080532073975, 0.2422533631324768, 0.059244025498628616, 0.1835147589445114, -0.4434419572353363, 0.16667477786540985, 0.5234304070472717, -0.14986097812652588, 0.16583792865276337, 0.33959099650382996, -0.22255057096481323, 0.03700632229447365, 0.45842444896698, 0.5631480813026428, 0.5553035736083984, -0.02433048002421856, 0.17601826786994934, -0.13040032982826233, -0.5285533666610718, 0.31415021419525146, 0.3320483863353729, -0.14269331097602844, -0.32957080006599426, 0.062487781047821045, 0.6591581106185913, 0.046997491270303726, -0.5259332060813904, 0.9093334078788757, 0.004580677952617407, 0.2133798450231552, -0.4647775888442993, 0.3582814633846283, -0.21697542071342468, -0.01440594531595707, 0.34205183386802673, 0.28249385952949524, 0.21911509335041046, -0.45141318440437317, 0.33430901169776917, 0.44679152965545654, -0.5503036379814148, -0.22442954778671265, 0.9502891898155212, 0.26216837763786316, -0.17845913767814636, 0.17851020395755768, 0.14242340624332428, -0.5120265483856201, 0.7445378303527832, 0.35307130217552185, 0.803861141204834, -0.49054235219955444, -0.06938709318637848, -0.47955626249313354, 0.45542460680007935, 0.1084379181265831, 0.20233401656150818, -0.1152358204126358, -0.9620358943939209, 0.22450104355812073, 0.07592017948627472, -0.7552680969238281, 0.37604695558547974, -0.5468846559524536, -0.18271969258785248, -0.5046607255935669, -0.0860821083188057, -0.0864998996257782, -0.3165060877799988, -0.5896357893943787, 0.10286322981119156, 0.13249334692955017, 0.7913307547569275, -0.5288644433021545, 0.8568281531333923, 0.5102367997169495, -0.028444532305002213, -0.8793557286262512, 0.5206296443939209, 0.5819216966629028, -0.9429670572280884, 0.39879265427589417, 0.4239894449710846, -0.31900525093078613, -0.2471204400062561, -0.5251067876815796, -0.8174374103546143, 0.938000500202179, 0.3179772198200226, -0.28221625089645386, 0.009427618235349655, 0.252525269985199, 0.19382058084011078, -0.27558982372283936, -0.049271583557128906, 0.5268923044204712, 0.5362898707389832, -0.0954170748591423, -0.6613039970397949, 0.267438143491745, -0.23878133296966553, -0.08366066217422485, 0.09622597694396973, -1.0343353748321533, 0.9003658294677734, 0.10809619724750519, -0.2806239426136017, -0.06073947995901108, 0.09803297370672226, 0.24713139235973358, 0.48737987875938416, 0.6573183536529541, 0.6931741237640381, 0.9285505414009094, 0.028034145012497902, 1.0484755039215088, -0.6101000308990479, 0.01595396362245083, 0.7493466138839722, -0.6345177888870239, 0.46467843651771545, 0.38190948963165283, 0.31599411368370056, 0.36406025290489197, 0.2998218834400177, 0.2994687259197235, 0.5670982599258423, 0.2126287966966629, -0.6044715642929077, 0.038765814155340195, -0.17631416022777557, -0.4712815582752228, 0.7148815393447876, 0.5339768528938293, 0.1637849658727646, -0.0028700854163616896, 0.02505197748541832, 0.7058126926422119, 0.09163294732570648, -0.19672873616218567, 0.8540638089179993, 0.04675055295228958, -0.7478146553039551, 0.4412352442741394, -0.017876289784908295, 0.300782710313797, -0.5197572112083435, 0.270985871553421, -0.13664866983890533, 0.3148837983608246, -0.4173576831817627, -0.34317880868911743, 0.15305911004543304, -0.06470543891191483, 0.27870500087738037, -0.11382397264242172, 1.1696240901947021, -0.19222375750541687, 0.04890595003962517, 0.18221807479858398, 0.5219004154205322, 0.14176636934280396, -0.28698229789733887, -0.6916782259941101, -0.009392249397933483, -0.33858394622802734, -0.5625587105751038, 0.24842500686645508, 0.21779002249240875, 0.040456224232912064, 0.8697544932365417, 0.7538219690322876, 0.16589170694351196, -0.01532022189348936, 0.03472781181335449, 1.125317931175232, -0.9813877940177917, -1.0986870527267456, -0.9260697960853577, 0.31740474700927734, -0.19064471125602722, -0.10600882768630981, 0.9150650501251221, 0.5606284141540527, 0.6171665787696838, 0.3490156829357147, 1.0334925651550293, -0.09020024538040161, 0.365682989358902, -0.6480342149734497, 0.9241130352020264, -0.28180813789367676, 0.5392056107521057, -0.14300847053527832, -0.49140116572380066, -0.07154294103384018, 0.34675389528274536, -0.1304992139339447, 0.03070622682571411, 0.4987303912639618, 1.1162835359573364, -0.05145617946982384, 0.014986218884587288, 0.3542134463787079, -0.08142363280057907, 0.8530929684638977, 0.6867852807044983, 1.215824842453003, -0.19076281785964966, 0.6610468029975891, -0.09267477691173553, -0.3796946406364441, -0.23834629356861115, -0.7472440004348755, -0.8870213031768799, -0.25049763917922974, -0.1409577578306198, -0.5744088292121887, 0.0769755020737648, 0.3395751416683197, 1.3347622156143188, -0.25069865584373474, -0.08556990325450897, -0.3450332283973694, -0.04140069708228111, -0.019835185259580612, -0.3439773619174957, 0.07711676508188248, 0.03231982886791229, -0.3326912522315979, 0.854073703289032, 0.12451541423797607, 0.2187490314245224, -0.27401304244995117, -0.0627402514219284, 0.3670293092727661, 0.47914987802505493, 0.023036442697048187, 0.5869578719139099, -0.7467250823974609, -0.29835280776023865, -0.2130555659532547, -0.2463432401418686, -0.007061364594846964, 0.7957387566566467, -0.6432592272758484, 0.3694842755794525, 0.1857225000858307, 0.7264703512191772, 0.48841482400894165, 0.4971465468406677, 0.33600375056266785, -1.0253461599349976, 0.4963505268096924, 0.18646708130836487, 0.09266000241041183, 0.3410879075527191, -0.9541410803794861, 0.5195043683052063, 0.060061849653720856, -0.7171723246574402, -0.7678359150886536, 0.37036022543907166, -1.0099453926086426, -0.5993340611457825, 1.2899644374847412, -0.04438932612538338, -0.28247666358947754, -0.1277918964624405, -0.10270436853170395, -0.19487784802913666, -0.9240445494651794, 0.8109960556030273, 0.6883386373519897, -0.3906444013118744, 0.18770794570446014, -0.7242037653923035, 0.5152313709259033, 0.11745138466358185, -1.0057013034820557, 0.2970457673072815, 0.4229566156864166, 0.24355046451091766, 0.09188671410083771, 0.7558475732803345, -0.2333419919013977, 0.0974598154425621, 0.11503521353006363, -0.26321035623550415, -0.35766977071762085, -0.5964342951774597, -0.6387984156608582, 0.24916033446788788, -0.1395777314901352, -0.40855976939201355 ]
http://arxiv.org/abs/2405.05161v1
http://arxiv.org/pdf/2405.05161v1
Motion Capture Analysis of Verb and Adjective Types in Austrian Sign Language
2024-05-08T15:54:12
2024-05-08T15:54:12
Julia Krebs, Evie Malaia, Ronnie B. Wilbur, Isabella Fessl, Hans-Peter Wiesinger, Hermann Schwameder, Dietmar Roehm
cs.CL
cs.CL, q-bio.NC
Across a number of sign languages, temporal and spatial characteristics of dominant hand articulation are used to express semantic and grammatical features. In this study of Austrian Sign Language (\"Osterreichische Geb\"ardensprache, or \"OGS), motion capture data of four Deaf signers is used to quantitatively characterize the kinematic parameters of sign production in verbs and adjectives. We investigate (1) the difference in production between verbs involving a natural endpoint (telic verbs; e.g. arrive) and verbs lacking an endpoint (atelic verbs; e.g. analyze), and (2) adjective signs in intensified vs. non-intensified (plain) forms. Motion capture data analysis using linear-mixed effects models (LME) indicates that both the endpoint marking in verbs, as well as marking of intensification in adjectives, are expressed by movement modulation in \"OGS. While the semantic distinction between verb types (telic/atelic) is marked by higher peak velocity and shorter duration for telic signs compared to atelic ones, the grammatical distinction (intensification) in adjectives is expressed by longer duration for intensified compared to non-intensified adjectives. The observed individual differences of signers might be interpreted as personal signing style.
[ -0.41273969411849976, -0.6563273072242737, 0.48115378618240356, -0.16863831877708435, -0.2427012175321579, -0.31084302067756653, -0.0021993285045027733, -0.659473717212677, 0.7221038341522217, 0.3978900611400604, -0.4931497275829315, -0.674003005027771, -0.9450245499610901, 0.1727614551782608, -0.5014247298240662, 0.7338261008262634, -0.7171744108200073, 0.05149148404598236, 0.28310611844062805, -0.6313110589981079, -0.07478385418653488, -0.4723701477050781, -0.40662845969200134, -0.052552420645952225, 0.22326812148094177, 0.39753347635269165, 0.7431592345237732, 0.41957753896713257, 0.6520209312438965, 0.3828916847705841, -0.057984162122011185, -0.2482285350561142, 0.012814394198358059, 0.3363460302352905, 0.24079546332359314, -0.4022164046764374, -0.5357488393783569, 0.06103777885437012, 0.8212130069732666, 0.822515070438385, 0.14307190477848053, 0.31429392099380493, -0.36218535900115967, 0.6241268515586853, -0.4148796498775482, 0.03477773070335388, 0.1413949429988861, 0.2412417232990265, -0.6562265753746033, -0.20190654695034027, -0.011633486486971378, -0.2088940292596817, -0.015001571737229824, -0.2846207022666931, 0.2848688066005707, 0.19320136308670044, 0.9868521690368652, 0.06824737042188644, -0.5555899143218994, -0.4140573740005493, -0.9932595491409302, 0.403304785490036, -1.1369190216064453, 0.7649574875831604, 0.18880978226661682, 0.1736738681793213, -0.13786441087722778, -0.40245339274406433, -0.5044729709625244, -0.5270883440971375, 0.026793938130140305, -0.05596724897623062, -0.15377163887023926, 0.3983205258846283, 0.6040083765983582, 0.5980364680290222, -0.7163153886795044, 0.39503490924835205, -0.5564824938774109, -0.4007680416107178, 0.7689812779426575, 0.3730495572090149, 0.56656813621521, 0.08257988095283508, -0.29488620162010193, -0.12425040453672409, -0.48672834038734436, 0.267568975687027, 0.6717783212661743, 0.19224680960178375, -0.21626831591129303, 1.1348081827163696, -0.4880334138870239, 0.8057299256324768, 0.28129133582115173, 0.0339476652443409, 0.17677105963230133, -0.45174452662467957, -0.049562107771635056, -0.03506983816623688, 0.8806905150413513, 0.4801810681819916, 0.17118754982948303, 0.030103566125035286, -0.5689244270324707, 0.21201874315738678, -0.3942968547344208, -0.6299530267715454, -0.0052824788726866245, 0.1330920308828354, -0.4156006872653961, 0.11713878065347672, 0.17578141391277313, -0.6901715397834778, -0.19772322475910187, -0.4108896255493164, 0.37669646739959717, -0.2435554563999176, -0.2060040831565857, 0.42086347937583923, -0.24304185807704926, 0.7026987075805664, 0.05069316551089287, -0.8528785705566406, 0.5368754863739014, 0.4146701693534851, 0.8845257759094238, -0.18241961300373077, -0.13762079179286957, -0.34701523184776306, -0.2584826946258545, -0.4759370982646942, 0.6607256531715393, -0.3376229405403137, -0.2717881500720978, 0.09711814671754837, -0.14246992766857147, -0.30345210433006287, -0.3767196536064148, 0.22794650495052338, -0.5101948976516724, 0.5734763741493225, 0.1883530467748642, -0.5695171356201172, -0.5617904663085938, -0.10384312272071838, -0.7868548631668091, 0.9190992712974548, 0.2806702256202698, -0.14192929863929749, 0.7826341986656189, -0.4379035234451294, -0.6001021265983582, -0.1162746399641037, -0.3325660526752472, -0.2562761902809143, 0.3411749005317688, -0.3265669047832489, 0.4639110863208771, 0.03659132495522499, -0.035939015448093414, -0.052139945328235626, -0.05852760747075081, 0.5330107808113098, -0.22659435868263245, 0.3845072090625763, 0.0790865570306778, -0.5647613406181335, 0.17568647861480713, -0.8724503517150879, -0.10778698325157166, -0.18588490784168243, -0.5585513710975647, -0.15679308772087097, 0.07044663280248642, -0.10642995685338974, 0.38527101278305054, 0.1564420610666275, -0.7232463359832764, -0.057830918580293655, -0.19279611110687256, -0.016585364937782288, 0.2886955142021179, 0.26894983649253845, 0.3435727059841156, -0.19385680556297302, 0.6888982653617859, 0.010503653436899185, -0.014509711414575577, 0.19926616549491882, -0.7023586630821228, -0.9764809012413025, -0.2608986794948578, -0.029634499922394753, 0.4921768009662628, -0.36433976888656616, 0.3972333073616028, -0.38871273398399353, -0.21040329337120056, -0.3374932110309601, 0.08699516206979752, 0.5474685430526733, 0.03827719762921333, -0.013896866701543331, -0.8078122138977051, -0.2580890953540802, -0.7301498055458069, -0.17252103984355927, -0.21320948004722595, 0.05088958144187927, -0.124170683324337, 0.4446975886821747, 0.25899019837379456, 0.504371702671051, -0.39435526728630066, -0.4166860282421112, -0.31692612171173096, 0.45560336112976074, 0.2621876895427704, 0.18700732290744781, 0.8218186497688293, -0.7071937322616577, -0.43763241171836853, 0.04843488335609436, -0.4572872221469879, -0.2530010938644409, -0.12954793870449066, -0.13007202744483948, 0.3651498854160309, 0.6781575083732605, -0.7245350480079651, 0.5547034740447998, 0.5785481333732605, -1.1009513139724731, 0.7005017995834351, -0.14600186049938202, 0.6420480012893677, -0.4799412786960602, -0.18329906463623047, 0.09831466525793076, -0.23219342529773712, -0.8985032439231873, -0.1489713191986084, -0.32406917214393616, -0.2553202211856842, -0.5412424206733704, 0.2221384346485138, -0.8356000781059265, -0.3864865303039551, -0.20284265279769897, 0.18315960466861725, -0.2507392168045044, 0.7044461369514465, 0.24519838392734528, 0.5253962874412537, 0.6888116598129272, -0.9164650440216064, 0.4283142685890198, -0.048354100435972214, -0.22792232036590576, 0.5830314755439758, -0.5397521257400513, -0.12731140851974487, -0.21031279861927032, -0.4657525420188904, -1.1878048181533813, -0.32049864530563354, 0.5492067337036133, -0.5751816034317017, 0.6763002276420593, 0.32973894476890564, -0.11048386245965958, -0.32933810353279114, -0.29309895634651184, 0.15720359981060028, 0.5199541449546814, 0.022893568500876427, 0.8321602940559387, 0.21486447751522064, -0.020594602450728416, -0.0986623764038086, -0.7533312439918518, -0.1331217736005783, -0.5106251239776611, -0.6338561773300171, -0.1611739695072174, 0.27749088406562805, -0.5282271504402161, 0.07891841232776642, -0.04813547804951668, -0.1780070811510086, -0.11468321084976196, 0.17042216658592224, 0.2968437671661377, -0.6673980951309204, -0.30949801206588745, 0.020566074177622795, -0.1160183846950531, 0.13407838344573975, 0.15857616066932678, 0.2812019884586334, -0.1329636126756668, -0.6603105664253235, -0.918030858039856, 0.5647196769714355, 1.011516809463501, -0.08700687438249588, 0.6944668292999268, 0.1219821348786354, -0.22271987795829773, 0.4155295789241791, -0.2376374900341034, -0.10594043880701065, -0.3922584354877472, 0.15767456591129303, -0.26366207003593445, -0.5427935719490051, 0.8373092412948608, 0.10307226330041885, 0.3874031603336334, 0.5728603005409241, 0.3167736232280731, -0.19626326858997345, 0.9242103695869446, 0.43380826711654663, 0.11337565630674362, 0.8270576596260071, -0.34370625019073486, 0.12943881750106812, -0.8091965913772583, 0.025686481967568398, -0.6706087589263916, -0.69217848777771, -0.44857996702194214, -0.3195694386959076, 0.12056722491979599, -0.10378026962280273, -0.30967268347740173, 0.7181107997894287, -0.06383123248815536, -0.17473161220550537, 0.3899412155151367, -0.13329990208148956, 0.2676941156387329, -0.2477409541606903, 0.21170982718467712, -0.22045058012008667, -0.3038756549358368, -0.7724336385726929, 0.8490257859230042, 0.1254117488861084, 0.6917173266410828, 0.5240268111228943, 0.5974581837654114, 0.40940430760383606, 0.05468979477882385, -0.9254022836685181, 0.9343560338020325, 0.007864035665988922, -0.578214168548584, -0.3926016092300415, -0.10366816818714142, -0.8466333746910095, 0.4054228663444519, -0.2923811674118042, -0.7875841856002808, 0.4389999210834503, 0.374362975358963, -0.023011723533272743, 0.2793816924095154, -0.5658366084098816, 0.8231074810028076, -0.5047886967658997, 0.047341238707304, -0.14634093642234802, -0.542661726474762, 0.12351596355438232, 0.1565282940864563, 0.20481471717357635, -0.39802321791648865, -0.1740395426750183, 0.8496631979942322, -0.2576039135456085, 0.9529362320899963, -0.16475269198417664, -0.36313673853874207, 0.5257411003112793, 0.4058822691440582, 0.47562262415885925, -0.8987476229667664, 0.02404644526541233, 0.17155992984771729, -0.17167773842811584, 0.06729868799448013, -0.5470311641693115, 0.2579427659511566, -0.3180914521217346, -0.4500868320465088, -0.3529592454433441, 0.036535486578941345, 0.09976202994585037, 0.05725179240107536, 0.6198151707649231, 0.9941684603691101, -0.35092300176620483, -0.2614394426345825, 0.2266499102115631, 0.20420752465724945, 0.38655954599380493, 0.6862048506736755, -0.2776126563549042, -0.20531167089939117, 0.638908863067627, 0.36843472719192505, 0.7999075055122375, 0.2026018649339676, 0.015085444785654545, -0.2632973790168762, -0.5519381761550903, -0.4439598619937897, 0.5437796711921692, -0.7350983619689941, 0.08044309169054031, -0.03359062969684601, 0.2220272719860077, -0.4613720178604126, -0.14064617455005646, -0.22266152501106262, -0.796135425567627, -0.179691880941391, -0.32640594244003296, 0.49586185812950134, 0.508228600025177, -0.22202518582344055, 0.3130744993686676, -0.69984370470047, 0.41430139541625977, -0.08486060798168182, 0.0960058718919754, -0.31583523750305176, -0.7173755168914795, -0.09150601923465729, -0.0560888908803463, -0.15806689858436584, -1.151401400566101, 0.19302795827388763, 0.6249029636383057, 0.6891400218009949, 0.7794737219810486, -0.09263811260461807, 0.4556630551815033, -0.2969426214694977, 1.080620527267456, 0.4478931128978729, -0.8813666701316833, 0.48954975605010986, -0.31365635991096497, 0.05424632504582405, 0.3128150403499603, 0.26980286836624146, -0.9098349213600159, -0.8076216578483582, -0.5496664643287659, -0.9122880697250366, 0.5847223401069641, 0.2640036940574646, 0.057535845786333084, 0.053790345788002014, 0.07111938297748566, 0.051317524164915085, 0.1611134558916092, -0.5642563104629517, -0.2902429699897766, 0.28405195474624634, -0.40471622347831726, 0.025879180058836937, -0.0620487742125988, -0.12125919759273529, -0.1148233413696289, 0.5280489325523376, 0.10902950912714005, 0.39170360565185547, 0.14229176938533783, -0.15919199585914612, -0.321687251329422, 0.26424795389175415, 0.6982508301734924, 0.20452874898910522, 0.19892866909503937, 0.2566518783569336, 0.11599849164485931, -0.527865469455719, 0.3311055898666382, -0.3465830683708191, -0.4065818786621094, 0.4744921326637268, 0.666283905506134, 1.1622461080551147, 0.24330058693885803, -0.6062495708465576, 0.41503775119781494, 0.41463702917099, -0.2210148125886917, -0.29271769523620605, 0.23314572870731354, -0.4971310794353485, 0.261748343706131, -0.2591889202594757, -0.22965304553508759, 0.37911227345466614, -0.49335914850234985, -0.19586102664470673, 0.308723121881485, -0.40274009108543396, -0.7554569840431213, 0.7193576693534851, 0.09039158374071121, -0.3663918375968933, 0.42262113094329834, 0.05511109158396721, -0.43711721897125244, 0.7214576005935669, 0.2810332775115967, 1.1362733840942383, -0.26395198702812195, 0.15453532338142395, 0.4242747128009796, 0.10447781533002853, 0.0743657797574997, 0.6767645478248596, -0.4158223271369934, -0.7396314740180969, -0.23183411359786987, -0.3664601147174835, -0.2134215384721756, -0.43013739585876465, -0.8578492999076843, 0.2903076708316803, 0.10029269754886627, -0.4979749619960785, -0.026930194348096848, -0.637931764125824, -0.489452064037323, 0.13654747605323792, 0.36118194460868835, 0.5175009369850159, -1.2871227264404297, 0.10592424124479294, 0.9268165826797485, -0.42560774087905884, -0.6507397890090942, -0.04522279277443886, 0.2021971344947815, -0.5280147194862366, 0.7546886205673218, 0.07938674092292786, -0.7080169320106506, -0.10449468344449997, -0.32568952441215515, -1.0928305387496948, 0.7913374304771423, -0.005492108408361673, -0.28067317605018616, 0.09992239624261856, 0.3273908793926239, 0.8446281552314758, -0.2122177630662918, -0.21981284022331238, 0.6905149221420288, 0.4830370545387268, 0.08418706059455872, -1.0783624649047852, -0.04670827463269234, 0.15900179743766785, -0.004602672532200813, 0.7411590814590454, -0.31123626232147217, 0.45747193694114685, -0.3391527533531189, -0.7968810796737671, 0.13337388634681702, 0.8381193280220032, 0.04523743316531181, 0.32817381620407104, 0.17363403737545013, 0.5349424481391907, 0.4480709135532379, -0.13214683532714844, 0.928102970123291, -0.39254167675971985, 0.2700832486152649, 0.4865792691707611, -0.22281917929649353, 0.8583332300186157, 0.511297881603241, -0.24533699452877045, 0.5100594758987427, 0.39472588896751404, 0.4051069915294647, 0.3442528545856476, 0.01029132679104805, -0.3626102805137634, -0.17736539244651794, 0.27304238080978394, 0.052952852100133896, 0.6006766557693481, 0.5604760050773621, -0.38213056325912476, -0.2371455729007721, 0.6198685765266418, 0.2276262491941452, 0.041968658566474915, -0.4814440906047821, 0.7643067240715027, 0.16009898483753204, -0.6296442151069641, 0.4757974147796631, -0.24328522384166718, 0.39679116010665894, -0.8149484992027283, 0.1515914648771286, -0.0833667442202568, 0.1148403212428093, -0.0946311503648758, -1.2355990409851074, 0.4097044765949249, 0.057042598724365234, 0.14096713066101074, -0.3212551772594452, 0.48603665828704834, -0.4514445662498474, -0.22998076677322388, 0.3117592930793762, 0.17446021735668182, 0.8541299104690552, 0.5544793009757996, -0.2053322196006775, -0.11397533863782883, -0.14938805997371674, -0.5905917286872864, -0.24741911888122559, 0.5672870874404907, -0.13771483302116394, 0.4751669466495514, 0.1865987330675125, 0.43370261788368225, 0.6155564188957214, 0.035128261893987656, 0.42906928062438965, -0.7475693821907043, -0.2993225157260895, -0.48693403601646423, 0.500355064868927, 0.2258305847644806, -0.6534762382507324, 0.8957652449607849, 0.405561625957489, 0.6663067936897278, -0.29510724544525146, 0.1727639138698578, -0.4733886122703552, 0.26201021671295166, -0.8952112197875977, 0.13734117150306702, -0.3132574260234833, -0.2924007773399353, -0.052506349980831146, -0.9399667978286743, -0.2969362437725067, 0.3775196373462677, -0.33182716369628906, 0.0683869868516922, 0.5374842882156372, 0.5767578482627869, 0.0661698654294014, -0.28610485792160034, 0.4379677176475525, -0.06582644581794739, 0.11762585490942001, 0.3798387944698334, 0.6330447793006897, -0.3269978165626526, 0.088999904692173, -0.10064700245857239, -0.2169017642736435, -0.33875322341918945, -0.4526137113571167, -0.5372800827026367, -0.7280265092849731, -0.7269445657730103, -0.13765980303287506, -0.409005731344223, 0.6129540205001831, 0.37447577714920044, -0.9491441249847412, -0.3150738775730133, 0.12278562784194946, -0.37794166803359985, -0.5744233727455139, -0.2256934940814972, 0.4602901041507721, 0.07518516480922699, -0.7458887100219727, 0.21816295385360718, 0.27798202633857727, 0.7507646679878235, -0.25000616908073425, -0.1283464878797531, 0.0610683374106884, 0.18797776103019714, 0.46575653553009033, 0.8063967227935791, -0.5437178015708923, -0.39062854647636414, 0.1358330398797989, -0.24207930266857147, 0.20609740912914276, 0.9119062423706055, -0.2305135875940323, 0.39962539076805115, 0.8341087102890015, -0.316769003868103, 0.2950865626335144, 0.12631206214427948, 0.5395130515098572, -0.5162693858146667, 0.36160001158714294, 0.1800597757101059, 0.6866750121116638, 0.22542151808738708, -0.4217817783355713, 0.23860107362270355, 0.37057098746299744, -0.3167611360549927, -0.26949670910835266, 0.4978870451450348, -0.9037792682647705, 0.11710088700056076, 1.3113163709640503, 0.11405812203884125, -0.2627905309200287, -0.15705923736095428, -0.35510003566741943, 0.28915050625801086, -0.2149525135755539, 0.24944348633289337, 0.8816069960594177, -0.7797618508338928, 0.025298433378338814, -0.5559720993041992, 0.3120216131210327, -0.0028778440319001675, -0.48461711406707764, -0.011415879242122173, 1.1411815881729126, 0.09529474377632141, 0.27778467535972595, 0.7692385911941528, -0.27705758810043335, 0.34784528613090515, 0.09368152171373367, 0.31605902314186096, 0.21242409944534302, -0.33094990253448486, -0.4656851291656494, -0.20386672019958496, 0.23831059038639069, -0.8992685675621033 ]
http://arxiv.org/abs/2405.05116v2
http://arxiv.org/pdf/2405.05116v2
XAMPLER: Learning to Retrieve Cross-Lingual In-Context Examples
2024-05-08T15:13:33
2024-06-29T13:09:36
Peiqin Lin, André F. T. Martins, Hinrich Schütze
cs.CL
cs.CL
Recent studies indicate that leveraging off-the-shelf or fine-tuned retrievers, capable of retrieving relevant in-context examples tailored to the input query, enhances few-shot in-context learning of English. However, adapting these methods to other languages, especially low-resource ones, poses challenges due to the scarcity of cross-lingual retrievers and annotated data. Thus, we introduce XAMPLER: Cross-Lingual Example Retrieval, a method tailored to tackle the challenge of cross-lingual in-context learning using only annotated English data. XAMPLER first trains a retriever based on Glot500, a multilingual small language model, using positive and negative English examples constructed from the predictions of a multilingual large language model, i.e., MaLA500. Leveraging the cross-lingual capacity of the retriever, it can directly retrieve English examples as few-shot examples for in-context learning of target languages. Experiments on the multilingual text classification benchmark SIB200 with 176 languages show that XAMPLER substantially improves the in-context learning performance across languages. Our code is available at \url{https://github.com/cisnlp/XAMPLER}.
[ -0.49051421880722046, -0.5464335083961487, 0.16414883732795715, 0.17728577554225922, -0.4451153576374054, -0.1551319658756256, -0.3387075364589691, -0.6600174903869629, 0.20911329984664917, 0.0725693479180336, -0.26718172430992126, -0.16617245972156525, -0.43610018491744995, 0.2296770066022873, -0.4804597496986389, 0.9516516327857971, -0.06690935045480728, 0.5744429230690002, -0.08078055083751678, -0.23598618805408478, -0.472849041223526, -0.47886788845062256, -0.8734810948371887, -0.48126667737960815, 0.6627095341682434, 0.7362135648727417, 0.22830525040626526, 0.42851781845092773, 0.017725011333823204, 0.23805749416351318, 0.20992816984653473, 0.03145841881632805, -0.6991822123527527, 0.03500077500939369, -0.4062604606151581, -0.6697841882705688, 0.006244626361876726, -0.15456056594848633, 0.7076361179351807, 0.6759770512580872, 0.12287544459104538, 0.029735993593931198, 0.10206320136785507, 0.10397517681121826, -0.4087936282157898, 0.24583546817302704, -0.6760855913162231, 0.18927589058876038, -0.45555442571640015, -0.5828157663345337, -0.5678187012672424, 0.026562891900539398, 0.26158666610717773, -0.6129017472267151, 0.23215939104557037, 0.6170594096183777, 0.7598651051521301, -0.2053762525320053, -0.6187201738357544, -0.5138171315193176, -0.24271869659423828, 1.0232940912246704, -0.41105231642723083, 0.6611841917037964, 0.4525008201599121, 0.683842658996582, 0.02863999828696251, -0.7038070559501648, -0.7039280533790588, 0.19906161725521088, -0.4070570766925812, -0.1077912300825119, -0.3190147876739502, -0.44985029101371765, 0.026673592627048492, 0.46068087220191956, -0.7575008273124695, -0.029030922800302505, -0.3279665410518646, -0.008794252760708332, 0.5769984126091003, -0.06788478046655655, 0.3440145254135132, -0.2939971685409546, -0.4074800908565521, -0.23673787713050842, -0.9617341160774231, 0.14348478615283966, 0.22345156967639923, 0.4386436343193054, -0.2713997960090637, 0.3100632429122925, -0.10810680687427521, 0.6045147776603699, 0.12664882838726044, -0.17143960297107697, 0.43294522166252136, -0.20321841537952423, -0.04685865342617035, 0.3062712252140045, 0.4838484525680542, 0.29481351375579834, 0.2756640911102295, -0.2580386698246002, -0.09324657917022705, -0.21966838836669922, -0.21579532325267792, -0.8365882039070129, -0.42439863085746765, 0.04805851727724075, -0.3449452221393585, -0.05449158698320389, -0.17813284695148468, -0.9266836047172546, -0.19650566577911377, 0.10044198483228683, 0.4504816234111786, -0.41867387294769287, -0.09262359142303467, 0.010590272024273872, -0.24494770169258118, 0.6054140329360962, 0.010450853034853935, -0.7357118129730225, 0.1898810863494873, 0.6889276504516602, 0.6051779389381409, -0.2858247458934784, -0.648750901222229, -0.8830034732818604, 0.1138453334569931, -0.19836640357971191, 0.8363472819328308, -0.5771401524543762, -0.388272762298584, -0.04037697613239288, 0.3545050024986267, 0.12210666388273239, -0.4649497866630554, 0.456961989402771, -0.604800283908844, 0.821658194065094, -0.389329731464386, -0.6620305776596069, -0.3712739050388336, 0.4482456147670746, -0.6054726839065552, 0.9661285281181335, 0.1153462678194046, -0.7301815748214722, 0.7780072689056396, -0.47462698817253113, -0.8127537369728088, 0.03973807767033577, -0.519665539264679, -0.20327810943126678, 0.03653211519122124, 0.2804213762283325, 0.36890655755996704, -0.34476083517074585, -0.11327478289604187, -0.009030040353536606, -0.5035436153411865, -0.09753098338842392, -0.4481160640716553, 0.9758986234664917, -0.07479742914438248, -0.4578830301761627, 0.03752635046839714, -0.7980709671974182, 0.2219490259885788, 0.19741632044315338, -0.36202606558799744, -0.6802655458450317, -0.15441904962062836, 0.5434433221817017, 0.7389364242553711, -0.3337530493736267, -0.7447150349617004, -0.0347106009721756, -0.46761974692344666, 0.09301120787858963, 0.3067058026790619, 0.07425075024366379, 0.4406581223011017, -0.262225478887558, 0.6561574339866638, -0.03870585933327675, -0.5412232279777527, -0.5944859385490417, -0.31202802062034607, -0.49002495408058167, -0.4475093483924866, 0.4959559738636017, 0.5004683136940002, -1.0647475719451904, 0.11710453033447266, -0.5156187415122986, -0.3687986731529236, -0.5676636695861816, 0.5469555854797363, 0.6721462607383728, 0.6584405899047852, 0.4946471154689789, -0.2097478210926056, -0.759985625743866, -0.5095380544662476, -0.2565322518348694, 0.19332218170166016, -0.06765445321798325, 0.4123914837837219, 0.45849576592445374, -0.06575825810432434, 0.9676371812820435, -0.21707554161548615, -0.4840678572654724, -0.8761307001113892, -0.07745124399662018, -0.08157167583703995, 0.4810357093811035, 0.7639865279197693, -0.9925671219825745, -0.849263608455658, 0.31058046221733093, -0.6695601940155029, -0.12342043966054916, -0.02458113245666027, -0.23172760009765625, 0.43283042311668396, 0.5876585245132446, -0.23527325689792633, 0.080132856965065, 0.7106968760490417, -0.30223777890205383, -0.02832261472940445, -0.13303571939468384, 0.08014728128910065, -1.0125759840011597, -0.14457495510578156, -0.01998177543282509, -0.6444978713989258, -0.36515310406684875, 0.06486763060092926, 0.31846150755882263, -0.025079449638724327, -0.8061334490776062, 1.1105760335922241, -0.5900607705116272, 0.19502504169940948, -0.27228808403015137, 0.4571620523929596, 0.1690351814031601, 0.4735942780971527, 0.31697797775268555, 0.6991472244262695, 0.5536072850227356, -0.26112091541290283, 0.17937922477722168, 0.28827252984046936, -0.38600394129753113, 0.8419414162635803, -0.5656094551086426, -0.18332123756408691, -0.15796425938606262, 0.25041520595550537, -0.9526073932647705, -0.2621854841709137, 0.12945950031280518, -0.21874061226844788, 0.5147281289100647, -0.23100899159908295, -0.2798163592815399, -0.035005416721105576, -0.4397660791873932, 0.6008235812187195, 0.4534323513507843, -1.127764344215393, 0.4004208743572235, 0.5376060009002686, -0.36594343185424805, -0.45282769203186035, -0.7747697830200195, -0.046331871300935745, -0.1755402833223343, -0.2693817615509033, 0.3102237582206726, 0.183078795671463, -0.06077812239527702, -0.038841065019369125, -0.21926748752593994, 0.09373317658901215, -0.3230224549770355, 0.03363162279129028, 0.017370695248246193, -0.11668889224529266, 0.0007701550493948162, 0.20177531242370605, -0.3025783896446228, 0.03541572391986847, -0.25296029448509216, 0.6153894066810608, 0.17934086918830872, -0.5069719552993774, 0.09362945705652237, 0.7478163838386536, 0.0004553922626655549, -0.25363603234291077, 0.2609662115573883, 0.5960367918014526, -0.428313285112381, -0.5034545063972473, -0.14548823237419128, -0.213279590010643, -0.46238505840301514, 0.5236704349517822, -0.6484467387199402, -0.7328166961669922, 0.19948342442512512, 0.19787976145744324, -0.07586672902107239, -0.16137062013149261, 0.5685631632804871, 0.014854012057185173, 1.0931020975112915, 0.9297431111335754, -0.3162062466144562, 0.5689748525619507, -0.4126376807689667, 0.36403048038482666, -0.4280734956264496, -0.031505219638347626, -0.2819599509239197, -0.28108590841293335, -0.6073768138885498, -0.4469798803329468, 0.16020195186138153, -0.030299117788672447, 0.1771383434534073, 0.44620850682258606, 0.0014269606908783317, 0.933995246887207, 0.6645856499671936, -0.07969951629638672, 0.43364477157592773, 0.07179591059684753, -0.2595428228378296, -0.17956407368183136, -0.9864571690559387, -0.2151595503091812, 0.7368451952934265, -0.04728083685040474, 0.7998228073120117, 0.04195978119969368, 0.7365642786026001, -0.014489473775029182, 0.3493135869503021, -0.740286111831665, 0.3253478407859802, 0.062097761780023575, -0.892596960067749, -0.0452335886657238, -0.37875065207481384, -1.0955921411514282, 0.7723362445831299, 0.0865129679441452, -0.6581515073776245, 0.3728312849998474, 0.3231315612792969, 0.06679506599903107, 0.26251471042633057, -0.6378560662269592, 1.153792142868042, -0.51451575756073, -0.5342612266540527, -0.17193949222564697, -0.7196937799453735, 0.09539780765771866, -0.26537981629371643, 0.2804853916168213, 0.1679512858390808, -0.12141022086143494, 0.29390838742256165, -0.11204016208648682, 0.8197978734970093, -0.2902393639087677, -0.20499640703201294, 0.09024003893136978, 0.056706953793764114, 0.35953155159950256, 0.24375160038471222, -0.17080943286418915, 0.22152309119701385, 0.011604073457419872, -0.6552167534828186, -0.4023871421813965, 0.7897541522979736, -0.4083716571331024, -0.3679359257221222, -0.43340370059013367, -0.7677629590034485, -0.1846524327993393, 0.4587446451187134, 0.596867024898529, 0.4874270260334015, -0.19847926497459412, 0.20090486109256744, 0.31610289216041565, -0.11119959503412247, 0.5717261433601379, 0.5832712054252625, -0.4588507115840912, -0.3329809606075287, 1.096183180809021, 0.13044145703315735, 0.11466391384601593, 0.7541099786758423, -0.033841151744127274, -0.34737086296081543, -0.2801361083984375, -0.656463086605072, 0.1280805915594101, -1.0078321695327759, -0.3034607172012329, -0.5288832783699036, 0.35944145917892456, -0.08358599245548248, -0.41610434651374817, -0.028386538848280907, -0.44224977493286133, 0.1553349643945694, -0.08991988748311996, 0.10359601676464081, 0.26949039101600647, 0.034438543021678925, 0.36664247512817383, -0.5074911117553711, 0.33548927307128906, -0.02996058389544487, 0.20189213752746582, -0.07508470863103867, -0.384395956993103, -0.43917417526245117, -0.025287343189120293, -0.1683337688446045, -0.7398515939712524, 0.6525710225105286, 0.5246762633323669, 0.7288897633552551, 0.49393510818481445, 0.020230300724506378, 0.846077561378479, -0.6527776718139648, 0.47334638237953186, -0.1894788295030594, -0.9782018661499023, 0.3113456666469574, -0.003226661588996649, 0.08668754994869232, 0.5599954724311829, 0.9704345464706421, -0.8432525396347046, -0.13051076233386993, -0.3089028596878052, -0.976028561592102, 0.6589385867118835, -0.4079902470111847, 0.11492720991373062, -0.19792138040065765, 0.002235112013295293, 0.40997907519340515, 0.1807582676410675, -0.8983322978019714, -0.10579881072044373, -0.10659212619066238, -0.20435810089111328, -0.4381512701511383, 0.09060293436050415, -0.0478910468518734, -0.4366981089115143, 0.7922411561012268, -0.5479447245597839, -0.18775574862957, 0.15993598103523254, -0.8402306437492371, -0.17480242252349854, 0.4010063707828522, 0.17349974811077118, 0.5078514218330383, 0.02822224609553814, 0.17030294239521027, 0.6000444889068604, -0.14528819918632507, 0.27386337518692017, 0.29829537868499756, -0.2344302535057068, 0.21320310235023499, 0.40583503246307373, 0.44714614748954773, 0.7578791379928589, -0.9763391613960266, 0.7352895736694336, 0.005155391991138458, 0.24442043900489807, -0.29005056619644165, -0.22715654969215393, -0.1549282670021057, 0.2730536162853241, 0.40524551272392273, -0.3122639060020447, 0.23547998070716858, -0.47565314173698425, 0.42352575063705444, 0.5969294905662537, -0.4170421361923218, -0.30275723338127136, 0.6802107691764832, 0.09144113957881927, -0.15056905150413513, 0.40107566118240356, -0.6005352139472961, -0.5587875843048096, 0.09030906111001968, 1.0740541219711304, 0.572881281375885, 0.16701127588748932, -0.24264831840991974, -0.07379046827554703, 0.12904027104377747, 0.15703228116035461, 0.5092043876647949, -0.41894322633743286, -0.5558078289031982, -0.4348417818546295, -0.22283899784088135, -0.6371740698814392, -0.38547661900520325, -0.698141872882843, 0.5884987711906433, -0.0027626105584204197, 0.35819560289382935, -0.0037275291979312897, 0.26601889729499817, -0.6346338391304016, 0.1295178085565567, 0.19269926846027374, 1.3630226850509644, -0.9343039393424988, 1.3036102056503296, 0.905088484287262, -0.4040085971355438, -0.6080121994018555, -0.13410942256450653, 0.0878274142742157, -0.7958676815032959, 0.4160286784172058, 0.20633932948112488, -0.19165745377540588, 0.06469827890396118, -0.09216835349798203, -0.6545788049697876, 1.073262333869934, 0.33048489689826965, -0.4663052558898926, -0.04202989861369133, 0.0704784095287323, 0.5125342011451721, -0.4665296971797943, 0.37866291403770447, 0.4950413405895233, 0.32929494976997375, -0.2580465078353882, -0.7109121084213257, -0.0027342166285961866, -0.46764591336250305, -0.1086542010307312, 0.22588205337524414, -0.5274731516838074, 0.8135575652122498, -0.2533176839351654, -0.08123452216386795, -0.02130281925201416, 0.5074493885040283, 0.25399312376976013, 0.478385329246521, 0.4704243242740631, 0.4293990433216095, 0.6098424196243286, -0.04332448169589043, 1.3377691507339478, -0.37610653042793274, 0.3356631100177765, 1.2999157905578613, -0.6326565742492676, 1.0808169841766357, 0.8142522573471069, 0.26064664125442505, 0.5712359547615051, 0.4092348515987396, 0.0022268311586230993, 0.7111817598342896, -0.09363976866006851, -0.17068885266780853, -0.11666467040777206, 0.07445678114891052, -0.31425005197525024, 0.5205162167549133, 0.16556593775749207, -0.3479253053665161, -0.5749233961105347, 0.4654536545276642, 0.2950670123100281, -0.0997045636177063, -0.2804822027683258, 0.5363525748252869, 0.03207187354564667, -0.38182389736175537, 0.5667334198951721, -0.05905615910887718, 1.0093144178390503, -0.6202616095542908, -0.2212616205215454, -0.20058633387088776, 0.5112539529800415, -0.3319775462150574, -0.5148337483406067, 0.17087644338607788, -0.08831842243671417, -0.19917523860931396, -0.36962786316871643, 0.6105331182479858, -0.8519189953804016, -0.46451082825660706, 0.5961365699768066, 0.7706805467605591, 0.23563891649246216, 0.1221020445227623, -0.33165860176086426, -0.024358456954360008, -0.07642523944377899, -0.26987019181251526, 0.4271433353424072, 0.4631822407245636, -0.4753562808036804, 0.5492197871208191, 0.3594213128089905, 0.10230985283851624, 0.2240663319826126, -0.11450008302927017, 0.7735303044319153, -0.6233439445495605, -0.5835117101669312, -0.7250826358795166, 0.26910924911499023, -0.054827868938446045, -0.34045344591140747, 1.2650315761566162, 0.9362567067146301, 1.857478380203247, -0.0627337396144867, 0.8459226489067078, -0.2562638521194458, 0.5913373827934265, -0.10746920108795166, 0.7440536618232727, -0.7827256321907043, 0.20614124834537506, -0.24996162950992584, -0.5314881801605225, -0.4414248764514923, 0.7669817209243774, -0.48209401965141296, -0.007030191365629435, 0.6140176653862, 0.8403429388999939, -0.5945475101470947, 0.02342377044260502, 0.4526537358760834, -0.1712794154882431, 0.27525579929351807, 0.523923933506012, 0.6605635285377502, -0.5875587463378906, 0.9678861498832703, -0.6782923340797424, -0.183427095413208, -0.27983570098876953, -0.9192106127738953, -0.9027063250541687, -0.39939361810684204, -0.039862994104623795, 0.04102398455142975, 0.07603880763053894, 1.2703211307525635, 1.0520098209381104, -1.142060399055481, -0.4608524441719055, 0.2584022879600525, 0.3365820050239563, -0.3963286876678467, -0.2532796263694763, 0.0042494433000683784, -0.6061174869537354, -1.0951614379882812, 0.5356245636940002, 0.01705014333128929, -0.19708047807216644, -0.06597167998552322, -0.13392578065395355, -0.24401351809501648, -0.07847082614898682, 0.7617214918136597, 0.495817631483078, -0.3522832691669464, -0.2854663133621216, 0.061493873596191406, -0.08997348695993423, 0.32767215371131897, 0.9646555185317993, -1.0720826387405396, 0.2662147283554077, 0.6433505415916443, 0.847914457321167, 0.5489053130149841, -0.1993468552827835, 0.5837090015411377, -1.2001394033432007, 0.47816652059555054, 0.02944180555641651, 0.8681215643882751, 0.47726526856422424, -0.021114088594913483, 0.44961199164390564, -0.0626286193728447, -0.36602291464805603, -1.0157907009124756, 0.07377733290195465, -0.6024697422981262, -0.13347743451595306, 0.8226272463798523, -0.4265235662460327, -0.21691735088825226, -0.14701196551322937, -0.5248604416847229, 0.05847428739070892, -0.1926078498363495, 0.6035009622573853, 0.3346109390258789, -0.26116514205932617, -0.4663205146789551, -0.39978155493736267, 0.22162173688411713, 0.5402572751045227, -0.8225157856941223, -0.10272816568613052, 0.26453927159309387, 0.5458017587661743, 0.2117626965045929, 0.414651095867157, -0.19072599709033966, 0.49262717366218567, 0.09727326035499573, 0.01771381124854088, 0.17690406739711761, -0.3054562211036682, -0.7578754425048828, 0.23489166796207428, -0.022780582308769226, -0.2208082675933838 ]
http://arxiv.org/abs/2405.05109v1
http://arxiv.org/pdf/2405.05109v1
QFMTS: Generating Query-Focused Summaries over Multi-Table Inputs
2024-05-08T15:05:55
2024-05-08T15:05:55
Weijia Zhang, Vaishali Pal, Jia-Hong Huang, Evangelos Kanoulas, Maarten de Rijke
cs.CL
cs.CL, cs.AI
Table summarization is a crucial task aimed at condensing information from tabular data into concise and comprehensible textual summaries. However, existing approaches often fall short of adequately meeting users' information and quality requirements and tend to overlook the complexities of real-world queries. In this paper, we propose a novel method to address these limitations by introducing query-focused multi-table summarization. Our approach, which comprises a table serialization module, a summarization controller, and a large language model (LLM), utilizes textual queries and multiple tables to generate query-dependent table summaries tailored to users' information needs. To facilitate research in this area, we present a comprehensive dataset specifically tailored for this task, consisting of 4909 query-summary pairs, each associated with multiple tables. Through extensive experiments using our curated dataset, we demonstrate the effectiveness of our proposed method compared to baseline approaches. Our findings offer insights into the challenges of complex table reasoning for precise summarization, contributing to the advancement of research in query-focused multi-table summarization.
[ -0.41624537110328674, -0.7813197374343872, 0.6264969706535339, 0.220489501953125, -0.42803123593330383, 0.10978541523218155, 0.29277747869491577, 0.04333634674549103, 0.4282623529434204, 0.6667564511299133, -0.5637156963348389, -0.7040017247200012, -0.10465822368860245, 0.062047719955444336, -0.6580684781074524, 1.1836515665054321, 0.027738405391573906, -0.1523664891719818, -0.33612799644470215, -0.10946206003427505, -0.3913191556930542, -0.7012540102005005, 0.030980810523033142, 0.1703452616930008, 0.6957595944404602, 0.7766450643539429, 0.5468769669532776, 0.35128533840179443, 0.6087523698806763, 0.10045742243528366, 0.2915014326572418, 0.5896750688552856, -0.4697265326976776, 0.626295268535614, 0.2306251972913742, -0.5969336628913879, -0.7063482403755188, -0.3687783479690552, 0.6650654673576355, 0.5244107842445374, -0.18083101511001587, 0.2937111556529999, 0.012903102673590183, 0.7975557446479797, -0.4523313045501709, 0.3864431083202362, -0.554347574710846, 0.31740060448646545, -0.12442901730537415, -0.4325157105922699, -0.4246697425842285, -0.583830714225769, -0.17007111012935638, -0.5025774240493774, 0.1970537006855011, 0.10942023992538452, 0.6393975615501404, 0.018473010510206223, -1.0743651390075684, -0.0213454719632864, -0.8370888233184814, 0.24729301035404205, -0.8437923789024353, 0.48014095425605774, 0.2687928080558777, 0.6100319623947144, -0.1320466548204422, -0.9942465424537659, -0.42999863624572754, -0.15670642256736755, -0.5130040645599365, 0.24833831191062927, 0.1620950698852539, -0.15185248851776123, 0.2802961766719818, 0.2119695246219635, -0.7833524346351624, -0.5574955344200134, -0.031474657356739044, -0.0708034336566925, 0.4881243109703064, 0.7269645929336548, 0.031138161197304726, 0.005479856859892607, -0.22416366636753082, -0.00211512204259634, -0.5774291753768921, 0.11820896714925766, -0.08284629881381989, 0.3068277835845947, 0.03416593372821808, 0.7342031598091125, -0.7635673880577087, 0.6681267619132996, -0.2310171127319336, -0.345181405544281, -0.36041128635406494, -0.8849225044250488, 0.028754474595189095, -0.20114798843860626, 0.8049787282943726, 0.7100724577903748, -0.05839792266488075, -0.5321451425552368, -0.32805368304252625, -0.4580526649951935, 0.1669907420873642, -1.0620324611663818, -0.1101539358496666, 0.500254213809967, -0.11535463482141495, -0.31618764996528625, 0.4102233946323395, -0.7267692685127258, -0.09170577675104141, -0.34289801120758057, 0.491097092628479, 0.010898859240114689, -0.18683962523937225, -0.34592387080192566, -0.38966771960258484, 0.24622289836406708, 0.32759612798690796, -0.7583633065223694, 0.29935747385025024, 0.3857972323894501, 0.7611450552940369, -0.3398856520652771, -0.14804033935070038, -0.6394911408424377, 0.8399426937103271, -0.18019767105579376, 0.9073705077171326, -0.19070512056350708, -0.5241672396659851, -0.04212860018014908, -0.1582040935754776, 0.07891298085451126, -0.4277416169643402, 0.43608981370925903, -0.6012263298034668, 0.06668814271688461, -0.7530651688575745, -0.2950323522090912, -0.007335555739700794, 0.575596272945404, -0.5204901695251465, 0.9157584309577942, -0.02191348373889923, -0.7536896467208862, 0.46362775564193726, -0.33438757061958313, -0.9497464895248413, -0.1946174055337906, -0.29048100113868713, -0.5800839066505432, 0.08312655985355377, 0.4967081546783447, 0.7311945557594299, -0.17337167263031006, 0.5969817638397217, -0.14937236905097961, -0.21456082165241241, 0.44600963592529297, -0.08763354271650314, 0.11785605549812317, -0.04919782653450966, -0.14936350286006927, 0.543363094329834, -0.7556425333023071, 0.10613022744655609, 0.20745663344860077, -0.5660274624824524, 0.18388456106185913, 0.07092408090829849, 0.07321909815073013, 0.1459117829799652, 0.025315919890999794, -0.10586759448051453, 0.30069097876548767, -0.14531584084033966, 0.5718145370483398, -0.016251010820269585, 0.38600218296051025, 0.36280402541160583, -0.6695281863212585, 0.764251172542572, -0.0024591037072241306, 0.26661309599876404, -0.6115652322769165, -0.006592028774321079, -0.4292047917842865, -0.14115551114082336, 0.10124491155147552, 0.44332244992256165, -0.8765506148338318, -0.053994812071323395, -0.1642467975616455, -0.5383849740028381, 0.10499738901853561, -0.3957829177379608, 0.22730694711208344, 0.6495377421379089, 0.4295695424079895, 0.12623001635074615, -0.28754815459251404, -0.9911543726921082, -0.4451727271080017, 0.19468039274215698, -0.1560363918542862, 0.21120591461658478, 0.2516779601573944, 0.4223511815071106, 1.0400135517120361, -0.9727452993392944, -0.5015052556991577, -0.46919164061546326, -0.041483525186777115, 0.08511875569820404, 0.4533696472644806, 0.5470282435417175, -0.7744629383087158, -0.44788989424705505, -0.03814283758401871, -0.6621900200843811, 0.34167277812957764, -0.241006001830101, -0.47554293274879456, -0.3315216898918152, 0.5570208430290222, -0.8034857511520386, 0.24519586563110352, -0.17666475474834442, -0.25765904784202576, 0.8766794204711914, 0.04508235305547714, 0.46216174960136414, -1.2309311628341675, 0.11969701945781708, -0.3639361560344696, -0.36237621307373047, -0.6476039886474609, 0.3309553265571594, 0.24014946818351746, -0.2763824164867401, -0.16780340671539307, 0.08082836866378784, -0.49096059799194336, -0.1350758969783783, 0.16972461342811584, 0.20554904639720917, 0.5661813020706177, 0.773491621017456, -0.3237072825431824, 0.7226358652114868, -0.005719658453017473, -0.6219123601913452, 0.3195807635784149, 0.4194033741950989, 0.1331162303686142, 0.3756387531757355, -0.751401960849762, -0.1850867122411728, -0.06860870122909546, 0.45557910203933716, -1.403876781463623, -0.5767867565155029, 0.2011851817369461, -0.5646990537643433, 0.32492795586586, -0.014035671949386597, -0.5589017868041992, -0.09412994980812073, -0.6416399478912354, 0.20406480133533478, -0.029761068522930145, -0.16828513145446777, 1.0201518535614014, 0.4920002520084381, -0.2796314060688019, -0.6101168394088745, -0.855654776096344, 0.18713843822479248, -0.16017404198646545, -0.5911614894866943, 0.4767826795578003, 0.11203710734844208, -0.07332025468349457, -0.1267504245042801, -0.46809402108192444, -0.24673455953598022, 0.044064730405807495, 0.11147729307413101, -0.11440890282392502, -0.40511608123779297, 0.2031860500574112, 0.5694999098777771, 0.3021019697189331, 0.24976631999015808, -0.36372435092926025, 0.4237323999404907, 0.058142468333244324, -0.22774741053581238, -0.5689512491226196, 0.6515045762062073, 0.7794982194900513, -0.7436951994895935, 0.5633401274681091, 0.659598171710968, -0.2763863205909729, -0.2484094202518463, -0.5430741310119629, -0.41534629464149475, -0.34700408577919006, 0.5153285264968872, -0.6987264752388, -0.8140177130699158, 0.9027210474014282, 0.2635888457298279, 0.49690181016921997, 0.4298618733882904, 0.3934881389141083, -0.3161816895008087, 1.0487632751464844, 0.24524708092212677, 0.33328670263290405, 0.2016514390707016, -0.22204042971134186, 0.10196179896593094, -0.42732322216033936, -0.5387721657752991, -0.7467818260192871, -0.21368727087974548, -0.11316631734371185, -0.04636657238006592, 0.6582255363464355, -0.05073775351047516, 0.05384482443332672, 0.0023901695385575294, -0.20805174112319946, 0.556396484375, 0.5338287949562073, 0.20455774664878845, 0.6502765417098999, -0.08355564624071121, -0.04085830971598625, 0.17934514582157135, -0.7100487947463989, -0.23645588755607605, 0.9818172454833984, -0.21714337170124054, 0.513543426990509, 0.5340746641159058, 0.7482059001922607, 0.3914835751056671, 0.17254307866096497, -0.6086448431015015, 0.4270118772983551, 0.10037858784198761, -0.6050059199333191, -0.4812605679035187, -0.7278417944908142, -0.8104825615882874, 0.7344971895217896, -0.3275367319583893, -0.15081003308296204, 0.004186177160590887, 0.3635161221027374, -0.5670260787010193, 0.03591657429933548, -0.9805483222007751, 1.121121883392334, -0.09680290520191193, -0.3607458174228668, 0.016091950237751007, -0.7955765128135681, 0.8176077604293823, -0.040547702461481094, 0.2570670545101166, -0.24464081227779388, -0.15380443632602692, 0.5794746279716492, -0.719541609287262, 0.39635735750198364, -0.1774112731218338, 0.06295838952064514, 0.26008838415145874, 0.29576897621154785, 0.38626500964164734, 0.5483551025390625, 0.15105025470256805, -0.6186661124229431, 0.42943984270095825, -0.46467724442481995, -0.7349768280982971, 0.35481181740760803, -0.15456919372081757, -0.6105862855911255, -0.13980062305927277, -0.6358336806297302, -0.6604099273681641, 0.422051340341568, -0.020989002659916878, 0.8902989625930786, -0.20678456127643585, 0.03617124259471893, 0.2712758481502533, -0.01182958111166954, 0.4099951386451721, 0.47644180059432983, -0.4818599820137024, -0.4783386290073395, 0.9756092429161072, 0.36700111627578735, 0.07648324966430664, 0.7523981332778931, 0.09117193520069122, -0.34866851568222046, -0.5899001955986023, -0.7618345022201538, 0.1523250788450241, -0.4521462619304657, -0.6602551937103271, -0.86107337474823, 0.2693882882595062, -0.5093047022819519, 0.02953939326107502, 0.19797556102275848, -0.8806410431861877, -0.14583171904087067, -0.2464836686849594, 0.16399767994880676, 0.6826675534248352, 0.5147570967674255, 0.5987863540649414, -1.318943977355957, 0.6182695627212524, 0.45459461212158203, 0.3503759503364563, 0.4342661499977112, -0.2820832431316376, -0.23637549579143524, -0.23467731475830078, -0.2582409083843231, -1.2567896842956543, 0.4484241306781769, 0.3270508348941803, 0.4880574941635132, 0.2953571677207947, 0.46339213848114014, 0.4463420808315277, -0.11236664652824402, 0.6374852657318115, 0.05271875858306885, -0.7403213381767273, 0.606819748878479, -0.6548320651054382, 0.6586787104606628, 0.7631412148475647, 0.2592073976993561, -0.23163200914859772, -0.5203285217285156, -0.16888630390167236, -1.143857717514038, 0.8915665149688721, 0.08103901892900467, -0.10154426842927933, 0.22658079862594604, 0.4158889353275299, 0.18051499128341675, 0.449370801448822, -0.4784899353981018, -0.026321694254875183, -0.11792724579572678, -0.13393786549568176, 0.2724986672401428, -0.47082364559173584, -0.0678163468837738, -0.0863068699836731, 0.5302334427833557, -0.1822548508644104, -0.15533500909805298, 0.19250096380710602, -0.3636544942855835, 0.28067299723625183, 0.49715885519981384, 0.8467151522636414, 0.8959313035011292, -0.4195179343223572, 0.18128831684589386, -0.09701094031333923, -0.49801474809646606, -0.038866374641656876, 0.19210989773273468, -0.26739242672920227, 0.22532348334789276, 0.09474212676286697, 0.3604239225387573, 0.18158894777297974, -0.7023385167121887, 0.5386756062507629, -0.5952075719833374, -0.17542752623558044, 0.024718789383769035, -0.23786254227161407, 0.4402852952480316, 0.18839424848556519, 0.6249659657478333, -0.18464894592761993, 0.5645957589149475, -0.4905852675437927, 0.5055595636367798, 0.301130086183548, -0.17543134093284607, -0.23789973556995392, 0.8167496919631958, 0.2391892820596695, 0.128578320145607, 0.46865975856781006, -0.20313529670238495, -0.27818235754966736, 0.6564154624938965, 0.24302096664905548, 0.4573378562927246, -0.0003087732184212655, 0.14740349352359772, 0.4117183983325958, 0.3038557171821594, 0.10477133095264435, 0.5935008525848389, -0.5757332444190979, -0.23983831703662872, -0.4894552230834961, -0.43862438201904297, -0.48486992716789246, -0.4293317198753357, -0.8577857613563538, 0.03906534984707832, -0.2873617112636566, -0.4094060957431793, 0.07455010712146759, -0.42228326201438904, -0.11893998086452484, -0.10344836860895157, -0.5133065581321716, 0.5740107297897339, -0.5340270400047302, 0.4688876271247864, 0.39477619528770447, -0.7899192571640015, -0.9723374247550964, -0.04311002790927887, -0.282134473323822, -0.4374614655971527, -0.015848467126488686, -0.11429961770772934, 0.10774336755275726, 0.034201763570308685, -0.25255873799324036, -0.5971291065216064, 1.0193287134170532, 0.3633855879306793, -0.4868983030319214, -0.23770742118358612, 0.432535320520401, 0.26831164956092834, 0.044341079890728, 0.24145743250846863, 0.9435381889343262, 0.5057318806648254, -0.04512111842632294, -0.6950056552886963, 0.22254902124404907, -0.062447723001241684, -0.5469977259635925, 0.6160110831260681, -0.6203213930130005, 0.5744800567626953, -0.43795323371887207, -0.02420492097735405, -0.5008612871170044, 0.7890889644622803, 0.11235998570919037, 0.6011707782745361, -0.0577428936958313, 0.29283007979393005, 0.4060367941856384, -0.36237895488739014, 0.8882313966751099, -0.22620046138763428, 0.04469401016831398, 1.3253806829452515, -0.10557608306407928, 0.796169102191925, 0.2907032370567322, -0.4600040316581726, -0.29659077525138855, 0.41437724232673645, 0.0349070243537426, 0.26770368218421936, 0.06745417416095734, -0.013549266383051872, 0.03829092159867287, -0.16393472254276276, -0.3764461874961853, 0.2860225439071655, 0.4007977545261383, -0.1155182272195816, -0.4107268750667572, -0.1940196305513382, 0.13446955382823944, 0.03807279095053673, -0.2858562171459198, 1.2135368585586548, 0.07179555296897888, -0.5689952969551086, 0.3951277434825897, 0.04538831114768982, 0.3395630121231079, -0.6697114109992981, 0.003799219150096178, -0.665336012840271, -0.34309497475624084, -0.5174480676651001, -0.614268958568573, 0.3883989155292511, -0.14997021853923798, -0.22273001074790955, -0.09951388835906982, 0.39832958579063416, -0.6649677753448486, -0.06747688353061676, -0.383969783782959, 0.8841509222984314, 0.008301935158669949, -0.6029722690582275, -0.07035006582736969, -0.17972958087921143, 0.20777156949043274, -0.2145557552576065, 0.3545893728733063, 0.7058324217796326, -0.06602267920970917, 0.3945290148258209, 0.5277752876281738, -0.359279990196228, 0.23715858161449432, 0.35823920369148254, 0.9309597015380859, -0.8412778973579407, -0.7894171476364136, -0.8124432563781738, 0.6004806160926819, 0.14260831475257874, -0.29173246026039124, 0.6620047688484192, 1.0802416801452637, 0.33343270421028137, -0.3264499604701996, 0.5739847421646118, 0.27527323365211487, 0.3893129527568817, -0.4804189205169678, 0.9207460880279541, -0.7652140855789185, 0.08487416058778763, -0.1577189415693283, -0.858795166015625, -0.5670915842056274, -0.15406203269958496, 0.23092474043369293, -0.04769259691238403, 0.47752562165260315, 0.6362021565437317, 0.21667343378067017, 0.07410935312509537, 0.15205323696136475, 0.15601728856563568, 0.4521593451499939, 0.18065765500068665, 0.8898809552192688, -0.22750546038150787, 1.0667614936828613, -0.30076757073402405, 0.06998466700315475, -0.4498026967048645, -0.4423925578594208, -0.7087418437004089, -0.5948896408081055, -0.0584552139043808, -0.036959707736968994, -0.048715971410274506, 0.5930604934692383, 0.5668485760688782, -0.8167463541030884, -0.3084881603717804, 0.2799586355686188, 0.26972123980522156, -0.02941899001598358, -0.31938642263412476, 0.7782687544822693, -0.21545512974262238, -0.18200136721134186, 0.02657506987452507, 0.3365437090396881, 0.1523030698299408, -0.0653483122587204, 0.4455893039703369, -0.08501918613910675, -0.08162114024162292, 0.9731939435005188, -0.00798093993216753, -0.493100106716156, 0.3615456819534302, 0.2416805624961853, -0.15784211456775665, 0.1994570940732956, 0.9724823236465454, -0.5505421161651611, 0.025901544839143753, 0.6953844428062439, 0.6478566527366638, 0.8689213991165161, 0.3897269368171692, 0.5340515971183777, -0.9695196151733398, -0.32660529017448425, 0.5941834449768066, 0.14862649142742157, 0.03378218784928322, -0.4162246286869049, 0.30967456102371216, -0.09410601109266281, -0.3318188190460205, -1.0301589965820312, 0.10644461959600449, -1.3133310079574585, -0.21512942016124725, 0.6002751588821411, 0.10483093559741974, 0.059276431798934937, -0.1204737201333046, -0.3673013746738434, 0.23419539630413055, -0.6997175812721252, 0.6195369958877563, 0.33766087889671326, -0.5167273283004761, -0.18802505731582642, -0.536369800567627, 0.5662861466407776, 0.317680299282074, -1.2356325387954712, 0.302787721157074, 0.7568596601486206, -0.12489508092403412, -0.26440808176994324, 0.5385457277297974, -0.3040584921836853, 0.2556372582912445, -0.049288660287857056, -0.09347616881132126, -0.32967329025268555, -0.22257064282894135, 0.11304671317338943, 0.9717347621917725, 0.12226973474025726, -0.03543219342827797 ]
http://arxiv.org/abs/2405.05060v1
http://arxiv.org/pdf/2405.05060v1
Conversational Topic Recommendation in Counseling and Psychotherapy with Decision Transformer and Large Language Models
2024-05-08T13:55:25
2024-05-08T13:55:25
Aylin Gunal, Baihan Lin, Djallel Bouneffouf
cs.CL
cs.CL
Given the increasing demand for mental health assistance, artificial intelligence (AI), particularly large language models (LLMs), may be valuable for integration into automated clinical support systems. In this work, we leverage a decision transformer architecture for topic recommendation in counseling conversations between patients and mental health professionals. The architecture is utilized for offline reinforcement learning, and we extract states (dialogue turn embeddings), actions (conversation topics), and rewards (scores measuring the alignment between patient and therapist) from previous turns within a conversation to train a decision transformer model. We demonstrate an improvement over baseline reinforcement learning methods, and propose a novel system of utilizing our model's output as synthetic labels for fine-tuning a large language model for the same task. Although our implementation based on LLaMA-2 7B has mixed results, future work can undoubtedly build on the design.
[ -0.4706166982650757, -0.792238175868988, 0.8793044090270996, 0.21009616553783417, -0.18942603468894958, 0.08471813052892685, -0.26238518953323364, -0.1934853047132492, 0.40681830048561096, 0.737848699092865, -0.6137486100196838, -0.34517061710357666, -0.7549087405204773, -0.20656460523605347, 0.055833905935287476, 1.2408244609832764, -0.07743597775697708, 0.4382520020008087, -0.17480404675006866, 0.1238907128572464, -1.0933984518051147, -0.2727201282978058, -1.0832971334457397, -0.8271241188049316, 0.5109902024269104, 0.47060278058052063, 0.5583767890930176, 0.25762611627578735, 0.3713217079639435, 0.47584301233291626, -0.11368372291326523, 0.26601842045783997, -0.6937731504440308, 0.111244335770607, -0.4505387246608734, -0.5392272472381592, -0.5821873545646667, -0.2600645124912262, 0.14463132619857788, 0.4664628803730011, -0.45357459783554077, -0.12428033351898193, -0.26480844616889954, 0.35392332077026367, -0.2676273584365845, 0.36673688888549805, -0.6859516501426697, 0.18208196759223938, 0.14153753221035004, -0.23897011578083038, -0.4866260886192322, -0.2977118492126465, 0.44426998496055603, -0.44736531376838684, 0.01438477449119091, 0.19629688560962677, 0.3689410984516144, 0.5195738673210144, -0.49209827184677124, -0.21673598885536194, -1.0459036827087402, 0.6972690224647522, -0.45332860946655273, 0.27435576915740967, 0.8594111204147339, 0.4248462915420532, -0.4034945070743561, -0.5703402757644653, -0.3410120904445648, -0.27297544479370117, -0.1845080703496933, -0.034767426550388336, -0.5670785903930664, 0.2152186632156372, 0.17872583866119385, 0.3061624765396118, -0.2950094938278198, 0.15299944579601288, -0.2903067469596863, -0.045262228697538376, 0.6374234557151794, 0.42867016792297363, 0.11145350337028503, 0.14598603546619415, 0.18461063504219055, 0.052160121500492096, -0.34334230422973633, -0.1680316925048828, -0.11049525439739227, 0.08704983443021774, 0.11385618895292282, 0.49938511848449707, 0.013992472551763058, 0.5318281054496765, 0.5549371838569641, -0.4607373774051666, -0.13138023018836975, 0.0755171999335289, -0.05792958289384842, 0.4520910978317261, 0.5901615619659424, 0.536189615726471, -0.17560219764709473, -0.37748831510543823, 0.14042198657989502, 0.1651138812303543, 0.7200645804405212, -0.7379575967788696, -0.3493213355541229, 0.07068595290184021, -0.453139990568161, -0.05078207328915596, -0.25242456793785095, -0.664459764957428, -0.5527743697166443, -0.503837525844574, 0.11809955537319183, -0.4291611611843109, -0.078011155128479, 0.1335304081439972, -0.04783819615840912, 0.04413442686200142, 0.39832937717437744, -0.9434526562690735, 0.3264159858226776, 0.5616229176521301, 0.7467859983444214, -0.33291229605674744, -0.006698526907712221, -0.4417559504508972, 0.202665776014328, -0.29790806770324707, 1.0725150108337402, -0.7079622745513916, -0.6174529194831848, -0.06433799117803574, 0.2752324044704437, 0.0816388875246048, -0.501397430896759, 0.5426771640777588, -0.3195715546607971, 0.35221052169799805, -0.10493796318769455, -0.6098520755767822, 0.031154925003647804, 0.3264794945716858, -0.27752402424812317, 0.6729207038879395, 0.320534884929657, -0.47054991126060486, 0.20521973073482513, -0.7830324769020081, -0.25318220257759094, 0.2226785570383072, -0.186727836728096, -0.4362592101097107, -0.08271094411611557, 0.054648108780384064, 0.2230280339717865, -0.40758728981018066, 0.7762869000434875, -0.38418811559677124, -0.5263181924819946, 0.24028277397155762, -0.25497573614120483, 0.08123772591352463, 0.13776205480098724, -0.27759867906570435, 0.6098689436912537, -0.594304084777832, -0.22858011722564697, 0.1863926500082016, -0.22305145859718323, -0.2538723051548004, 0.01970542222261429, -0.059304606169462204, 0.17499908804893494, 0.0030667793471366167, -0.46674567461013794, 0.26344606280326843, -0.4396970272064209, 0.5829324722290039, 0.5320445895195007, 0.3027249872684479, 0.3523677587509155, -0.6297187209129333, 0.507001519203186, 0.09170033037662506, -0.1716897338628769, 0.03962936997413635, -0.6528979539871216, -0.8562361001968384, -0.29561707377433777, -0.08507101237773895, 0.5111181735992432, -0.8439007997512817, 0.813862681388855, 0.008484705351293087, -0.690721869468689, -0.4329046607017517, -0.13310836255550385, 0.23537373542785645, 0.26128944754600525, 0.6194309592247009, -0.034216057509183884, -0.5515373945236206, -0.7798608541488647, 0.033483363687992096, -0.1439017653465271, 0.02581573836505413, 0.5529135465621948, 0.22548282146453857, -0.6371976733207703, 1.0302613973617554, -0.9291867017745972, -0.44758108258247375, -0.5254267454147339, 0.2142656147480011, 0.17517158389091492, 0.2989611029624939, 0.31781312823295593, -0.42738109827041626, -0.4224786162376404, -0.0988364964723587, -0.28908976912498474, 0.07659975439310074, -0.14414818584918976, -0.3054980933666229, -0.16557393968105316, 0.3156767189502716, -0.41585999727249146, 0.3994459807872772, 0.3158312737941742, -0.5527174472808838, 0.17999368906021118, -0.6605539917945862, -0.12822388112545013, -1.2236560583114624, -0.33842459321022034, 0.12396129220724106, -0.33578211069107056, -0.7045157551765442, -0.6876739859580994, -0.5030228495597839, -0.20079047977924347, -0.2533842921257019, 0.5510272979736328, 0.271793931722641, 0.1626920849084854, -0.6321344375610352, -0.04717203974723816, -0.3614780604839325, 0.8400916457176208, 0.35319238901138306, 0.6787340641021729, 0.32534852623939514, -0.40831631422042847, 0.6202241778373718, 0.8572287559509277, -0.09063007682561874, 0.865619957447052, -0.6309841871261597, 0.3226674497127533, -0.12122710794210434, 0.8302263617515564, -0.7515650391578674, 0.0013216992374509573, 0.3407443165779114, 0.18331344425678253, 0.02622441202402115, 0.026058048009872437, 0.09399744868278503, -0.26798009872436523, -0.10795430094003677, 0.16475345194339752, 0.3380424976348877, -0.3068150281906128, 0.37807515263557434, 0.6053717732429504, -0.41420334577560425, 0.012626942247152328, -0.18530578911304474, 0.15551312267780304, -0.3252820074558258, -0.07188505679368973, 0.8522251844406128, -0.2534004747867584, -0.1164296492934227, -0.05027247592806816, 0.2902846038341522, 0.11107084900140762, -0.09459111839532852, 0.6751838326454163, 0.2879461646080017, -0.09523846954107285, 0.5240798592567444, 0.22213925421237946, -0.42744284868240356, 0.06483584642410278, -0.30886322259902954, 0.7958881855010986, -0.3342956602573395, -0.415799081325531, -0.26554492115974426, 0.5114373564720154, 0.4337603449821472, 0.002710642758756876, 0.8553982377052307, 0.63318932056427, -0.2799355983734131, -0.12862442433834076, -0.4526071846485138, -0.39994147419929504, -0.4655110538005829, 0.5911129713058472, -0.07475966960191727, -0.9691113829612732, 0.05395421385765076, -0.40934476256370544, -0.10973706841468811, 0.2318059355020523, 0.9719302654266357, 0.03212423995137215, 1.2461320161819458, 0.586816668510437, -0.1629631519317627, 0.7777101397514343, -0.3393222689628601, 0.5708884596824646, -0.6477914452552795, -0.1879095584154129, -0.1684483140707016, -0.3608565032482147, -0.7929849624633789, -0.3205564320087433, 0.38825833797454834, -0.06258227676153183, -0.531453013420105, 0.17927247285842896, -0.49769681692123413, 0.10172384977340698, 0.4933946132659912, 0.4478036165237427, 0.2069585621356964, -0.18320001661777496, -0.005361122544854879, -0.23886165022850037, -0.5866185426712036, -0.4952653646469116, 0.7294660806655884, 0.4141916036605835, 0.46246761083602905, 0.0795595571398735, 0.29279080033302307, 0.2864522635936737, 0.4994773864746094, -1.063503623008728, 0.4311685264110565, -0.0681355819106102, -0.27505651116371155, -0.27107423543930054, -0.1342737078666687, -1.1235930919647217, 0.15069261193275452, -0.43765127658843994, -0.9795825481414795, 0.09052915126085281, -0.050614360719919205, -0.38781827688217163, 0.22391381859779358, -0.14194168150424957, 0.7856202125549316, -0.3198242485523224, -0.07313699275255203, -0.6435065269470215, -0.3057953417301178, 0.12497913837432861, -0.2500509023666382, -0.1349051594734192, -0.15644440054893494, 0.36807000637054443, 0.8242318034172058, -0.3878788948059082, 0.7541654706001282, -0.04053225368261337, -0.24000391364097595, -0.033066973090171814, -0.09588327258825302, 0.44213342666625977, 0.337296724319458, -0.07326506078243256, -0.09875097125768661, 0.19454173743724823, 0.0031227348372340202, -0.8158209919929504, 0.4488597512245178, -0.9879692196846008, -0.8821658492088318, -0.27859073877334595, -0.5658483505249023, -0.7347266674041748, 0.12203096598386765, 0.11536974459886551, 0.4016479253768921, -0.27913230657577515, 0.09237506240606308, 0.4525778889656067, -0.3587307333946228, 0.09207211434841156, 0.7261859178543091, -0.32894375920295715, -0.5668089985847473, 1.124366283416748, -0.21205061674118042, -0.24034307897090912, 0.20747508108615875, 0.3519851565361023, -0.22527077794075012, -0.40377339720726013, -0.19712544977664948, 0.38889259099960327, -0.7332032918930054, -0.1775166243314743, -0.6014923453330994, -0.2608187794685364, -0.13831286132335663, -0.22967758774757385, -0.3500540554523468, 0.06502065062522888, -0.28683531284332275, -0.21013766527175903, 0.6006850600242615, 0.8041078448295593, 0.4490323066711426, 0.5395112633705139, -0.7793614864349365, 0.21651053428649902, 0.2341403365135193, 0.4851786196231842, 0.027910899370908737, -0.4899624288082123, -0.2331140637397766, 0.10109579563140869, -0.8258873820304871, -0.7559171319007874, 0.4198185205459595, 0.12359852343797684, 0.6214624643325806, 0.7200642824172974, 0.269913911819458, 0.5739598870277405, -0.6029929518699646, 0.5421522259712219, 0.1527729034423828, -0.6449277997016907, 0.7020016312599182, -0.2771495580673218, 0.22654210031032562, 0.44895657896995544, 0.5073683261871338, -0.8299242854118347, -0.41853436827659607, -0.5294977426528931, -0.41364824771881104, 1.034127950668335, -0.07916884124279022, 0.18453508615493774, -0.1261078417301178, 0.21696610748767853, 0.014137097634375095, 0.20812468230724335, -0.31268349289894104, -0.35591599345207214, -0.09825767576694489, -0.2070094645023346, -0.2283107340335846, -0.1486539989709854, -0.5026318430900574, -0.3305343687534332, 0.7483559250831604, -0.3885931968688965, 0.7362695932388306, -0.02646758034825325, 0.1772034466266632, -0.3891007900238037, 0.35926511883735657, 0.5777226090431213, 0.46614784002304077, -0.10594745725393295, -0.09431000798940659, 0.583008885383606, -0.19894474744796753, 0.3411780297756195, 0.04256456345319748, 0.2369866520166397, -0.22632348537445068, 0.22026652097702026, 1.4353795051574707, 0.36713680624961853, -0.6711125373840332, 0.14812743663787842, -0.34929388761520386, -0.26819804310798645, -0.21705155074596405, 0.2767735421657562, 0.2018391191959381, 0.4951622188091278, -0.16689510643482208, -0.1020379364490509, 0.06372484564781189, -0.5835251808166504, 0.12161683291196823, 0.2949809432029724, -0.8829389214515686, -0.1637839525938034, 0.08348845690488815, 0.14256420731544495, -0.8210203051567078, 0.6732940673828125, 0.0041037932969629765, -0.6580359935760498, 0.1701805144548416, 0.9023772478103638, 0.6320611834526062, -0.016114849597215652, 0.5699709057807922, -0.03481646627187729, -0.5320293307304382, -0.22608166933059692, 0.05359107628464699, -0.20593878626823425, -0.7837679982185364, -0.0945010855793953, -0.5153137445449829, -0.7149053812026978, 0.14048022031784058, -0.5364328622817993, 0.3403625190258026, -0.36152586340904236, -0.3863781988620758, -0.052174024283885956, 0.030146216973662376, -0.39073947072029114, 0.033884815871715546, 0.37763023376464844, 0.386669784784317, -0.5679749250411987, 0.9232249855995178, 0.9439878463745117, -0.18244610726833344, -0.8161745071411133, -0.042080193758010864, -0.0910722091794014, -0.43326929211616516, 0.4500999450683594, -0.13634082674980164, -0.15792913734912872, -0.12194448709487915, -0.03607118874788284, -0.857999861240387, 1.1226470470428467, 0.6222777962684631, -0.3803479075431824, -0.13698169589042664, 0.3465806543827057, 0.896024763584137, -0.40685781836509705, 0.7485607862472534, 0.6481560468673706, 0.4192850887775421, 0.4534597098827362, -0.8954254388809204, 0.015729354694485664, -0.1954006403684616, 0.17529603838920593, 0.21586927771568298, -0.6744495034217834, 0.26319876313209534, 0.029873158782720566, 0.17807571589946747, -0.033238861709833145, 0.515280544757843, 0.3622110188007355, 0.14274147152900696, 0.5169612169265747, 0.3169935345649719, 0.8064833879470825, 0.00366602442227304, 0.7303128242492676, -0.4648674428462982, 0.3050110340118408, 1.1056848764419556, -0.4364933967590332, 0.8028683662414551, 0.2612636089324951, -0.36736395955085754, 0.620167076587677, 0.8270143866539001, -0.2423134297132492, 0.55690997838974, 0.2397996187210083, 0.06893778592348099, -0.18127721548080444, -0.6503620147705078, -0.3212028741836548, 0.609755277633667, 0.4613839387893677, -0.30291497707366943, -0.14989258348941803, 0.28753164410591125, 0.01894652657210827, -0.16883106529712677, -0.14581972360610962, 1.2772643566131592, 0.23784232139587402, -0.945747435092926, 0.4223270118236542, 0.25918132066726685, 0.3953423500061035, -0.587587833404541, -0.2958521246910095, -0.2606843113899231, 0.5220561027526855, -0.11546377092599869, -0.48408961296081543, 0.4415286183357239, -0.10863933712244034, -0.20560704171657562, -0.35933953523635864, 0.6190859079360962, -0.5743894577026367, -0.5822457075119019, 0.3308911621570587, 0.35248804092407227, -0.09618451446294785, 0.12667255103588104, -0.6605163216590881, -0.32415175437927246, -0.21364478766918182, -0.062009360641241074, 0.5850186347961426, 0.06501031666994095, -0.2753011882305145, 0.6981322765350342, 0.4407167136669159, 0.175450399518013, -0.5556915998458862, -0.003869346110150218, 1.0002132654190063, -0.5473960041999817, -0.7828120589256287, -0.58509361743927, -0.013112262822687626, 0.0875919759273529, -0.33656537532806396, 0.45906397700309753, 0.09740515798330307, 0.38997912406921387, 0.20359626412391663, 0.44127506017684937, 0.25804370641708374, 0.2715383768081665, -0.31856614351272583, 0.5045475959777832, -0.2644297778606415, 0.32424649596214294, -0.11270986497402191, -1.0069184303283691, 0.003395393257960677, 0.5093907117843628, -0.8264554142951965, -0.06834261119365692, 0.7253850102424622, 0.6055496335029602, 0.1785200983285904, 0.4699110984802246, 0.37697792053222656, 0.057967409491539, 0.713805079460144, 0.584987223148346, 0.841943085193634, 0.030215110629796982, 0.25176554918289185, -0.1379694789648056, -0.11973917484283447, -0.21110033988952637, -0.6071562767028809, -0.8931543231010437, -0.547532320022583, -0.305446982383728, -0.17047731578350067, 0.11348799616098404, 1.5790554285049438, 0.7500706315040588, -0.930381715297699, -0.18735085427761078, -0.08056388050317764, 0.019496021792292595, -0.1329396814107895, -0.10800543427467346, 0.30928486585617065, -0.1749035120010376, -0.49025484919548035, 0.5477075576782227, 0.329891175031662, -0.18879415094852448, -0.4499049186706543, -0.25002896785736084, -0.06670777499675751, 0.08015686273574829, 0.4089907705783844, -0.12782466411590576, -0.8695544600486755, -0.011650096625089645, -0.2846096456050873, -0.050011247396469116, 0.3198244571685791, 1.1876192092895508, -0.8696882128715515, 0.24634069204330444, 0.11591660976409912, 0.8125999569892883, 0.6039332747459412, -0.008747385814785957, 0.9263161420822144, -0.09590385109186172, 0.07346121221780777, 0.19714151322841644, 0.38737359642982483, 0.10058209300041199, -0.5684688687324524, 0.14233607053756714, -0.04112904518842697, -0.5058632493019104, -0.5713159441947937, 0.0904458686709404, -0.5945608019828796, -0.3685482442378998, 0.9911226034164429, -0.40340957045555115, 0.16493786871433258, -0.4005807638168335, -0.8856946229934692, 0.39893481135368347, -0.5858306288719177, 0.8898659348487854, 0.5783695578575134, -0.48621875047683716, -0.2031358927488327, -0.12106605619192123, 0.6100617051124573, 0.47582724690437317, -1.0024175643920898, -0.20146045088768005, 0.19488279521465302, -0.03359968960285187, 0.20439332723617554, 0.4874567687511444, 0.35169970989227295, -0.03044627606868744, -0.36193329095840454, -0.2563198506832123, 0.057094473391771317, -0.19166305661201477, -0.3869219720363617, -0.11625738441944122, 0.044397786259651184, 0.2965024709701538 ]
http://arxiv.org/abs/2405.05049v1
http://arxiv.org/pdf/2405.05049v1
Seeds of Stereotypes: A Large-Scale Textual Analysis of Race and Gender Associations with Diseases in Online Sources
2024-05-08T13:38:56
2024-05-08T13:38:56
Lasse Hyldig Hansen, Nikolaj Andersen, Jack Gallifant, Liam G. McCoy, James K Stone, Nura Izath, Marcela Aguirre-Jerez, Danielle S Bitterman, Judy Gichoya, Leo Anthony Celi
cs.CL
cs.CL
Background Advancements in Large Language Models (LLMs) hold transformative potential in healthcare, however, recent work has raised concern about the tendency of these models to produce outputs that display racial or gender biases. Although training data is a likely source of such biases, exploration of disease and demographic associations in text data at scale has been limited. Methods We conducted a large-scale textual analysis using a dataset comprising diverse web sources, including Arxiv, Wikipedia, and Common Crawl. The study analyzed the context in which various diseases are discussed alongside markers of race and gender. Given that LLMs are pre-trained on similar datasets, this approach allowed us to examine the potential biases that LLMs may learn and internalize. We compared these findings with actual demographic disease prevalence as well as GPT-4 outputs in order to evaluate the extent of bias representation. Results Our findings indicate that demographic terms are disproportionately associated with specific disease concepts in online texts. gender terms are prominently associated with disease concepts, while racial terms are much less frequently associated. We find widespread disparities in the associations of specific racial and gender terms with the 18 diseases analyzed. Most prominently, we see an overall significant overrepresentation of Black race mentions in comparison to population proportions. Conclusions Our results highlight the need for critical examination and transparent reporting of biases in LLM pretraining datasets. Our study suggests the need to develop mitigation strategies to counteract the influence of biased training data in LLMs, particularly in sensitive domains such as healthcare.
[ -0.11690080165863037, -0.5040921568870544, 0.5510130524635315, 0.10151588171720505, 0.07687997072935104, -0.056060291826725006, 0.05146322771906853, -0.6093848943710327, 0.6610974073410034, 0.37778905034065247, -0.3213459849357605, -0.7109741568565369, -0.9749510884284973, 0.3618904650211334, -0.37025293707847595, 1.098761796951294, -0.040442392230033875, 0.48817434906959534, -0.3072463274002075, -0.02877434529364109, -0.20897109806537628, -0.834144115447998, -0.5721805095672607, -0.08927521109580994, 0.39899569749832153, -0.00546356663107872, 0.3038940727710724, 0.5758904814720154, 0.5667478442192078, 0.13975746929645538, -0.2592807114124298, -0.11581207811832428, -0.7672163844108582, 0.23518410325050354, -0.15388622879981995, -0.3423134684562683, -0.4139515459537506, 0.39542847871780396, 0.24714331328868866, 1.0011245012283325, 0.2051730901002884, 0.4116639494895935, 0.01408361829817295, 0.6932699680328369, -0.39096182584762573, 0.16051830351352692, -0.2934449017047882, 0.529512882232666, -0.48303526639938354, -0.3552582263946533, -0.119544118642807, -0.6543408632278442, 0.20403076708316803, -0.7787509560585022, 0.4273480474948883, 0.018931398168206215, 0.6212548017501831, 0.16373887658119202, -0.838378369808197, -0.5585567355155945, -0.6587541699409485, 0.4913344085216522, -0.5545889139175415, 0.10431469231843948, 0.43957653641700745, 0.14192448556423187, -0.1933698058128357, -0.587295651435852, -0.3668396770954132, -0.17466402053833008, -0.27221810817718506, 0.13669170439243317, -0.32121264934539795, 0.015350623987615108, 0.635202944278717, 0.28110378980636597, -0.7422755360603333, 0.14072470366954803, -0.7177891731262207, -0.26468631625175476, 0.5568615794181824, 0.26583293080329895, 0.7124472260475159, -0.17371714115142822, -0.013368362560868263, 0.12440270930528641, -0.8174039721488953, -0.2158491462469101, 0.47878018021583557, 0.21264387667179108, -0.36951279640197754, 0.8096712231636047, 0.0991501733660698, 0.4828825891017914, -0.07533015310764313, -0.29047688841819763, 0.5821238160133362, -0.25445401668548584, 0.09779073297977448, 0.3709002435207367, 0.8493959307670593, 0.7044660449028015, 0.4196028709411621, -0.29090142250061035, 0.24118053913116455, 0.0426178015768528, 0.09047640860080719, -0.9519564509391785, -0.15560512244701385, 0.10842265188694, -0.7317603826522827, -0.1094256117939949, -0.07840772718191147, -1.195334553718567, -0.7862259149551392, -0.03415695205330849, -0.14376117289066315, -0.2497604638338089, -0.3072606325149536, -0.20580197870731354, -0.47395288944244385, -0.1676224023103714, 0.04738565906882286, -0.8682398796081543, 0.14581923186779022, 0.5107806324958801, 0.8504396080970764, -0.21435590088367462, 0.28177085518836975, -0.09581967443227768, 0.2318195104598999, -0.2713427245616913, 0.3725191056728363, -0.6192407011985779, -0.5961286425590515, 0.34870046377182007, -0.12896230816841125, -0.08103214204311371, -0.5893391370773315, 0.3094464838504791, -0.11303966492414474, 0.16454122960567474, -0.4344974756240845, -0.48273032903671265, 0.2734070420265198, 0.08457949757575989, -0.6871606111526489, 0.8747279644012451, 0.14191029965877533, -1.1807111501693726, 0.6366250514984131, -0.2969323694705963, -0.3745739758014679, -0.22964805364608765, -0.5784282684326172, -0.4464101791381836, 0.08930955827236176, 0.2739257216453552, 0.3541829586029053, -0.2403617650270462, 0.2233802080154419, -0.5190374851226807, -0.1702982783317566, 0.04719777777791023, -0.07544675469398499, 0.8114588260650635, 0.046547338366508484, -0.46359536051750183, 0.03466176986694336, -0.5644924640655518, -0.6134212613105774, 0.28815338015556335, 0.15158015489578247, -0.8919401168823242, 0.20893168449401855, -0.2564748227596283, 0.1856086105108261, -0.10303696244955063, -0.500712513923645, 0.46996137499809265, -0.43547162413597107, 0.21255138516426086, 0.6262513399124146, 0.08193282783031464, 0.3008664846420288, -0.2896793484687805, 0.6154471635818481, 0.21392866969108582, 0.35255610942840576, -0.10844825208187103, -0.773518979549408, -0.3818937838077545, -0.19692781567573547, 0.003770591923967004, 0.13024646043777466, -0.5911170244216919, 0.2771976590156555, -0.4472866356372833, -0.26917964220046997, -0.5740161538124084, -0.09359384328126907, 0.3198517858982086, 0.3764115869998932, 0.3132140636444092, -0.24696265161037445, -0.47708937525749207, -0.9562191963195801, -0.18467877805233002, -0.06014088913798332, -0.21304422616958618, 0.3969096541404724, 0.6965333223342896, -0.16733203828334808, 0.8717786073684692, -0.6539767980575562, -0.5940479636192322, 0.0457400418817997, 0.32657554745674133, -0.08153566718101501, 0.3592281639575958, 0.8887737393379211, -0.5170612335205078, -0.3723016083240509, -0.02559913508594036, -0.7836557626724243, -0.23011519014835358, 0.2956208884716034, 0.021648390218615532, -0.21022987365722656, 0.6008726358413696, -0.28211063146591187, 0.308578759431839, 0.8918125033378601, -0.4534057676792145, 0.5025903582572937, 0.09924596548080444, 0.02835949696600437, -1.0533350706100464, -0.12877331674098969, 0.5487041473388672, 0.09436043351888657, -0.42222681641578674, -0.05545572564005852, -0.22874964773654938, -0.19956184923648834, -0.014134751632809639, 0.5128669738769531, -0.416720986366272, -0.056346382945775986, 0.1860002875328064, -0.008290913887321949, -0.037771712988615036, -0.14377371966838837, -0.03288417309522629, 0.7802820801734924, 0.3701513111591339, -0.3254224359989166, -0.020155511796474457, 0.1108904555439949, -0.3032117486000061, 0.3618261516094208, -0.4960349500179291, -0.09975431114435196, -0.35063067078590393, 0.5625409483909607, -0.791549563407898, -0.18077543377876282, 0.33174929022789, -0.49453017115592957, 0.019410770386457443, 0.007536060642451048, -0.40160253643989563, -0.5623881816864014, -0.3109270930290222, 0.5377189517021179, 0.26749634742736816, -0.19746039807796478, 0.16438812017440796, 0.7041688561439514, -0.2319568246603012, -0.42433005571365356, -0.4874344766139984, -0.1881442368030548, -0.34533223509788513, -0.328246533870697, 0.15712091326713562, 0.28373658657073975, -0.561109185218811, -0.18356607854366302, -0.16144980490207672, -0.3337411880493164, -0.01944085769355297, 0.27869319915771484, 0.1862574815750122, -0.17577101290225983, 0.3748910427093506, -0.03987102955579758, 0.32401981949806213, 0.3001927137374878, -0.24792782962322235, 0.42231670022010803, 0.5445857048034668, -0.3402128219604492, -0.11903953552246094, 0.6052281260490417, 0.5594487190246582, -0.04136866331100464, 0.8351910710334778, 0.25984495878219604, -0.2892865240573883, -0.08825165033340454, -0.3504725396633148, -0.2218339592218399, -0.33945316076278687, 0.3686942756175995, -0.006392046809196472, -0.9815892577171326, 0.4007343053817749, 0.031081803143024445, 0.08094236254692078, 0.49067312479019165, 0.38908272981643677, -0.3511134386062622, 0.7359820604324341, 0.7352548241615295, -0.1875801533460617, 0.19330327212810516, -0.13082166016101837, 0.09889934957027435, -0.5681536793708801, -0.33653393387794495, -0.8095341324806213, -0.17885279655456543, -0.9917969703674316, -0.6716798543930054, 0.5736573934555054, -0.36981308460235596, -0.22981280088424683, -0.297841340303421, -0.5810755491256714, 0.1070389375090599, 0.20498612523078918, 0.21505172550678253, 0.25941768288612366, 0.04863208159804344, -0.21782223880290985, -0.5978565216064453, -0.7540446519851685, -0.3455709218978882, 1.5237458944320679, 0.4605758786201477, 0.6425254344940186, 0.03518250957131386, 0.4792289733886719, 0.6063478589057922, 0.7687605023384094, -0.5006731748580933, 0.04619936645030975, -0.45175883173942566, -0.947919487953186, -0.1434762328863144, -0.7160525321960449, -1.0769368410110474, 0.024639228358864784, -0.24427945911884308, -0.736248254776001, 0.4193367063999176, 0.3416096270084381, -0.01659981533885002, 0.4335804581642151, -0.5526102781295776, 0.6274577975273132, -0.40965554118156433, -0.03919067606329918, 0.06594407558441162, -0.5259807705879211, 0.8728880882263184, -0.30002906918525696, 0.5405105948448181, -0.30686748027801514, 0.28120434284210205, 1.070528268814087, -0.2560585141181946, 1.0180953741073608, 0.03592353314161301, -0.19301068782806396, -0.3758755922317505, -0.13260769844055176, 0.15355566143989563, -0.1537938117980957, -0.12960200011730194, 0.4651046693325043, -0.13195307552814484, -0.6282921433448792, -0.24427685141563416, 0.5547709465026855, -0.9576565027236938, -0.5788865089416504, -0.7987741827964783, -0.34046393632888794, -0.34787899255752563, -0.015194940380752087, 0.19631536304950714, 0.45314157009124756, -0.2611526846885681, -0.19081591069698334, 0.727070152759552, -0.7226574420928955, -0.1575024574995041, 0.32502859830856323, -0.3092615604400635, -0.1770896017551422, 0.767833411693573, 0.013602307066321373, 0.4208378493785858, 0.16607560217380524, 0.32221707701683044, -0.0031034890562295914, -0.48796284198760986, -0.043673641979694366, 0.42747992277145386, -0.38947373628616333, 0.0904943197965622, -0.7214452624320984, -0.24168647825717926, -0.8345561027526855, 0.032413363456726074, -0.011400417424738407, -0.10186195373535156, -0.3288188576698303, -0.09514223039150238, 0.417871356010437, 1.0315351486206055, 0.3736937642097473, 0.38801148533821106, -0.4788993000984192, 0.4471360743045807, 0.07793434709310532, 0.17199090123176575, 0.15958483517169952, -0.37197598814964294, -0.1592913120985031, -0.0051230681128799915, -0.17313644289970398, -1.1871132850646973, 0.3884679079055786, -0.08121968805789948, 0.5361390113830566, 0.7568673491477966, 0.15669232606887817, 0.4502064287662506, -0.484661340713501, 0.6936016082763672, 0.667615532875061, -0.47167089581489563, 0.33998212218284607, -0.498645156621933, 0.024111075326800346, 0.437970906496048, 1.129607915878296, -0.6473481059074402, -0.6581369638442993, -0.39947232604026794, -0.9633819460868835, 0.4658493101596832, 0.19637100398540497, -0.06360000371932983, -0.32508277893066406, 0.2419126331806183, 0.1787082552909851, 0.04625745117664337, -0.7105721831321716, -0.6988804340362549, -0.21349743008613586, -0.18112598359584808, -0.1556575447320938, -0.5708246827125549, -0.3741600513458252, -0.31072697043418884, 0.3712705969810486, 0.05160145461559296, 0.12249504774808884, 0.2959631383419037, -0.24368533492088318, 0.049961287528276443, 0.18447904288768768, 0.38213658332824707, 0.8171365261077881, -0.24015210568904877, 0.22669827938079834, -0.155893012881279, -0.7585673332214355, 0.24242903292179108, 0.14831764996051788, -0.33653125166893005, 0.296008825302124, 0.638317346572876, 0.7355372905731201, 0.26295801997184753, -0.4990183711051941, 0.6153485774993896, 0.1321287751197815, -0.16647517681121826, -0.40129074454307556, -0.3362201154232025, 0.18722496926784515, -0.006165496073663235, 0.345952570438385, -0.28908318281173706, 0.1458446979522705, -0.5853487253189087, 0.03921646624803543, 0.29346761107444763, -0.5602203607559204, -0.24670428037643433, 0.7051199674606323, 0.6529520153999329, 0.08693599700927734, 0.6542355418205261, 0.03793785348534584, -0.21302556991577148, 0.7545832991600037, 0.35286885499954224, 0.3882736563682556, -0.09827824681997299, 0.35144877433776855, 0.637278139591217, 0.564835250377655, 0.1248573437333107, -0.3856215178966522, 0.5675259232521057, -0.61909019947052, -0.4637623131275177, -0.8412436842918396, -0.05146627873182297, 0.3427116274833679, -0.5342377424240112, 0.10646119713783264, -0.22786156833171844, -0.48113304376602173, 0.2191925048828125, -0.34184110164642334, -0.5656660795211792, 0.25376802682876587, 0.4176211953163147, 0.920012891292572, -1.2725188732147217, 0.5896639823913574, 0.6001715064048767, -0.5974301099777222, -0.4744052290916443, 0.5224926471710205, 0.4188227951526642, -0.6673216819763184, 1.0593751668930054, 0.1832159161567688, 0.3947984576225281, -0.2449251115322113, -0.07516860961914062, -0.8490580916404724, 0.7003592252731323, 0.4519580602645874, -0.8672022223472595, -0.38113945722579956, 0.32782498002052307, 0.4127495288848877, -0.3057318925857544, 0.43550339341163635, 0.655706524848938, 0.47919464111328125, -0.22726769745349884, -1.0084902048110962, 0.014435790479183197, -0.04934723302721977, 0.15155528485774994, 0.06510385870933533, -0.20390063524246216, 0.7385290861129761, -0.2143813669681549, -0.1618129014968872, -0.19384092092514038, 0.29820936918258667, 0.13972899317741394, 0.2677033841609955, 0.2656239867210388, 0.44348931312561035, 0.771494448184967, -0.1383344829082489, 1.2467235326766968, -0.062177106738090515, 0.2691895663738251, 1.00974440574646, -0.38913965225219727, 0.167139932513237, 0.3717443645000458, -0.4689571261405945, 0.3217431604862213, 0.7019628286361694, 0.2927898168563843, 0.11718164384365082, 0.7367417812347412, -0.3126850426197052, 0.13359355926513672, -0.29730409383773804, -0.6406152844429016, 0.18758556246757507, 0.41123634576797485, -0.8582050800323486, -0.31991544365882874, 0.06210092827677727, 0.19555425643920898, 0.28775647282600403, -0.2806953191757202, 0.6043645739555359, 0.10159178078174591, 0.004085733089596033, 0.08406039327383041, -0.28738802671432495, 0.8425442576408386, -0.826023519039154, -0.22693270444869995, -0.28152546286582947, -0.12184444814920425, -0.27678966522216797, -0.40525925159454346, 0.17690590023994446, 0.03131140395998955, -0.46810585260391235, -0.07555020600557327, 0.5286563634872437, -0.34960198402404785, -0.8407566547393799, 0.4428703784942627, 0.6108012199401855, 0.37554463744163513, 0.04834476485848427, -0.3064257800579071, 0.12189237028360367, 0.0849212110042572, 0.060586296021938324, 0.6472405195236206, 0.4453575909137726, -0.4687359631061554, 0.47740697860717773, 0.6578295826911926, 0.8015931844711304, 0.17933855950832367, 0.13365919888019562, 0.696774423122406, -0.580188512802124, -0.1627572923898697, -0.7983320951461792, 0.024705180898308754, -0.476718008518219, -0.37043333053588867, 0.8177061080932617, 0.5247847437858582, 0.6771466135978699, -0.005392842926084995, 1.0622735023498535, 0.08748362213373184, 0.5071203112602234, -0.3405913710594177, 0.9740430116653442, -0.5217329263687134, -0.05073394626379013, -0.33111467957496643, -0.5310660004615784, -0.2733241319656372, 0.3815648555755615, -0.5801734328269958, 0.00992884673178196, 0.7818664312362671, 0.4192419648170471, 0.04584353417158127, -0.2778398096561432, 0.10941383987665176, 0.6021832823753357, 0.2844351530075073, 0.0830044075846672, 0.44913163781166077, 0.04465178772807121, 0.2598892152309418, -0.005337271839380264, -0.34907782077789307, -0.20668229460716248, -0.8122287392616272, -0.8224711418151855, -0.3731628954410553, -0.31907379627227783, -0.49224185943603516, 0.5575478672981262, 0.8149630427360535, 0.5266746282577515, -0.8207830786705017, -0.23080669343471527, 0.43461593985557556, 0.03930402174592018, -0.06469231098890305, -0.20117811858654022, 0.37736138701438904, -0.049173690378665924, -0.6268829107284546, -0.2095826119184494, -0.10641113668680191, -0.018367812037467957, -0.3737959861755371, 0.08962324261665344, -0.07292459905147552, -0.2620953619480133, 0.7144503593444824, 0.16715706884860992, -0.5563651323318481, 0.09771448373794556, -0.36646392941474915, -0.3302319347858429, -0.023154443129897118, 1.164762258529663, -0.5197619795799255, 0.5568233728408813, 0.17709952592849731, 0.40524592995643616, 0.23979119956493378, -0.10955245047807693, 0.8961153030395508, -0.5714804530143738, 0.233486145734787, 0.4183901250362396, 0.40074068307876587, 0.36068981885910034, -0.38164740800857544, 0.2305581420660019, 0.4852934777736664, -0.11673603951931, -0.6368445158004761, -0.04466689005494118, -0.7268121242523193, -0.5145226120948792, 1.4266940355300903, -0.20893830060958862, -0.039216943085193634, -0.3594501316547394, -0.02616969868540764, 0.41983067989349365, -0.3586195409297943, 1.0010557174682617, 0.4903354346752167, -0.03357040882110596, 0.2085602730512619, -1.1020973920822144, 0.752574622631073, 0.05759895592927933, -0.8812242150306702, 0.041746046394109726, 0.6556673049926758, 0.4590199291706085, -0.03649992495775223, 0.9127066135406494, -0.35574662685394287, 0.031590528786182404, -0.08469948172569275, 0.40725386142730713, 0.19223973155021667, 0.07976292073726654, -0.012187819927930832, -0.02488105371594429, -0.19848619401454926, 0.15649215877056122 ]
http://arxiv.org/abs/2405.05008v1
http://arxiv.org/pdf/2405.05008v1
ADELIE: Aligning Large Language Models on Information Extraction
2024-05-08T12:24:52
2024-05-08T12:24:52
Yunjia Qi, Hao Peng, Xiaozhi Wang, Bin Xu, Lei Hou, Juanzi Li
cs.CL
cs.CL
Large language models (LLMs) usually fall short on information extraction (IE) tasks and struggle to follow the complex instructions of IE tasks. This primarily arises from LLMs not being aligned with humans, as mainstream alignment datasets typically do not include IE data. In this paper, we introduce ADELIE (Aligning large language moDELs on Information Extraction), an aligned LLM that effectively solves various IE tasks, including closed IE, open IE, and on-demand IE. We first collect and construct a high-quality alignment corpus IEInstruct for IE. Then we train ADELIE_SFT using instruction tuning on IEInstruct. We further train ADELIE_SFT with direct preference optimization (DPO) objective, resulting in ADELIE_DPO. Extensive experiments on various held-out IE datasets demonstrate that our models (ADELIE_SFT and ADELIE_DPO) achieve state-of-the-art (SoTA) performance among open-source models. We further explore the general capabilities of ADELIE, and experimental results reveal that their general capabilities do not exhibit a noticeable decline. We will release the code, data, and models to facilitate further research.
[ -0.2211163192987442, -0.5466525554656982, 0.5647277235984802, -0.04574348405003548, 0.003095924621447921, -0.25808438658714294, -0.5028482675552368, -0.5446011424064636, 0.1841990351676941, 0.3881913423538208, -0.500852644443512, -0.6113831996917725, -0.6477076411247253, -0.1185966432094574, -0.34407779574394226, 0.8593700528144836, -0.28085634112358093, 0.11782317608594894, -0.14807848632335663, -0.0880236104130745, -0.4750511050224304, -0.1606491059064865, -0.4315694272518158, 0.028188224881887436, 0.3139510750770569, 0.7075618505477905, 0.6625661849975586, 1.1272037029266357, 0.6089128851890564, 0.18666614592075348, 0.3877413272857666, 0.29727789759635925, -0.508675217628479, 0.2801762521266937, -0.2929850220680237, -0.4180814027786255, -0.5099236965179443, 0.14706210792064667, 0.408759206533432, 0.4107759892940521, -0.2889212965965271, 0.4713451564311981, -0.254398912191391, 0.513806164264679, -0.7391343116760254, -0.023024722933769226, -0.8331519961357117, -0.46678808331489563, -0.2831096649169922, 0.1489986777305603, -0.4818967282772064, -0.6087777614593506, 0.2273157835006714, -0.7976897954940796, -0.17637008428573608, 0.1537279188632965, 1.0238033533096313, 0.3000031113624573, -0.2784939110279083, -0.37679043412208557, -0.7670861482620239, 1.0764336585998535, -0.6863017678260803, 0.36821943521499634, -0.021993260830640793, 0.14473611116409302, -0.12082348018884659, -0.41166922450065613, -0.6298959851264954, 0.018684254959225655, 0.12914986908435822, -0.036239419132471085, -0.20225872099399567, -0.1955300122499466, 0.17854899168014526, 0.19133424758911133, -0.651396632194519, 0.5546020865440369, -0.17898929119110107, 0.02922886610031128, 0.607908308506012, -0.12078075855970383, 0.4452987015247345, 0.17791853845119476, -0.6792036294937134, -0.06072210520505905, -0.7288454174995422, -0.19262264668941498, 0.37983107566833496, 0.15864498913288116, 0.25557294487953186, 0.6747869849205017, 0.2238653004169464, 0.7111623883247375, -0.007596901152282953, -0.04470250383019447, -0.02330503799021244, 0.13918614387512207, -0.15143974125385284, 0.29138708114624023, 0.7714910507202148, 0.12445304542779922, 0.34025272727012634, -0.11609970778226852, -0.2874894440174103, 0.13412201404571533, 0.146060511469841, -0.8299633264541626, -0.12334738671779633, 0.2896377742290497, -0.28746774792671204, -0.22736668586730957, 0.17231245338916779, -0.8717966675758362, -0.30930501222610474, -0.6389710903167725, 0.42973601818084717, -0.4376237392425537, -0.16290950775146484, 0.1807987093925476, 0.22486485540866852, 0.23261332511901855, 0.4107160270214081, -1.0142356157302856, 0.38443195819854736, 0.6557490229606628, 0.7296569347381592, -0.4502139687538147, -0.050673749297857285, -0.7740528583526611, 0.2790490388870239, -0.052271317690610886, 0.6512876749038696, -0.7519137263298035, 0.13358074426651, -0.11116001009941101, -0.114137202501297, -0.43864887952804565, -0.43222036957740784, 0.8302037119865417, -0.911109447479248, 0.32688280940055847, 0.035043638199567795, -0.7007241249084473, -0.3626116216182709, 0.02147350274026394, -0.8886316418647766, 0.8959185481071472, -0.16218343377113342, -0.7989494800567627, 0.09673550724983215, -0.9221470952033997, -0.1761191189289093, -0.11782951653003693, -0.2447410672903061, -0.45195886492729187, 0.014991563744843006, 0.2948184609413147, 0.2002609670162201, -0.4978037178516388, 0.2883906662464142, -0.29891836643218994, -0.2850233018398285, -0.040936343371868134, -0.21199098229408264, 1.0354820489883423, 0.37202373147010803, -0.4065162241458893, 0.014242076314985752, -0.6988965272903442, -0.010303325019776821, 0.274139940738678, -0.41936224699020386, -0.6384977102279663, 0.15231887996196747, -0.021653687581419945, 0.14188526570796967, 0.7248765826225281, -0.8535040020942688, 0.6124995350837708, -0.42785578966140747, 0.45189133286476135, 0.7617648839950562, -0.391817569732666, 0.5009397268295288, -0.009716249071061611, 0.5229282975196838, -0.19124597311019897, -0.002844511764124036, 0.24337653815746307, -0.065517857670784, -0.6023027300834656, -0.5393624901771545, 0.7942253351211548, 0.9043364524841309, -0.3130130469799042, 0.6279313564300537, -0.7060853242874146, -0.30739396810531616, -1.025275468826294, 0.3260434567928314, 0.148419588804245, 0.42266544699668884, 0.29378655552864075, -0.12500472366809845, -0.526297390460968, -1.078932523727417, 0.09566731750965118, -0.0840284451842308, -0.05217887461185455, 0.07679712772369385, 0.2652113735675812, -0.23149004578590393, 1.0435510873794556, -0.6460461020469666, -0.17996682226657867, -0.025189964100718498, 0.13931097090244293, 0.11217751353979111, 0.38173362612724304, 0.4041518270969391, -0.9733267426490784, -0.34600335359573364, 0.2728409171104431, -0.7331990599632263, -0.22451099753379822, 0.23524850606918335, -0.35124364495277405, 0.021324235945940018, 0.21534514427185059, -0.8195240497589111, 0.12783180177211761, 0.5785847902297974, 0.17918650805950165, 0.3106410503387451, 0.10180219262838364, 0.03357520326972008, -1.1387617588043213, 0.34572237730026245, 0.04548417776823044, -0.2717365622520447, -0.5956652760505676, 0.060538243502378464, 0.2168220430612564, -0.28324493765830994, -0.3854645788669586, 0.5199929475784302, -0.6120308637619019, -0.09675100445747375, -0.23979346454143524, 0.5349499583244324, 0.28427654504776, 0.24530023336410522, 0.21825064718723297, 0.8599115610122681, 0.4474300146102905, -0.53057461977005, 0.5072046518325806, 0.3725895285606384, -0.46156176924705505, 0.1813317984342575, -0.41605743765830994, 0.3669285178184509, -0.17703983187675476, -0.2002304047346115, -0.8242801427841187, -0.1404891163110733, -0.07344797998666763, -0.1976170837879181, 0.7927873730659485, 0.10549986362457275, -0.3813703954219818, -0.26404455304145813, -0.4212619960308075, 0.42666399478912354, 0.1766931116580963, -0.7812302112579346, 0.41123026609420776, 0.6645422577857971, -0.3792387545108795, -0.8338277339935303, -0.2846698462963104, -0.16043689846992493, -0.4488805830478668, -0.8524927496910095, 0.3424268960952759, -0.009090820327401161, -0.4844900965690613, 0.04953145980834961, 0.011014695279300213, -0.04113613814115524, 0.09542115777730942, -0.13808082044124603, 0.4990868866443634, -0.45880141854286194, 0.3329487442970276, -0.2737089991569519, 0.051622599363327026, -0.4014222323894501, -0.5726213455200195, 0.41304636001586914, -0.042538296431303024, -0.32062411308288574, -0.4130629003047943, 0.4178524911403656, 0.5979326367378235, -0.5635218024253845, 0.7689778804779053, 0.4569936990737915, -0.4403292238712311, 0.08962967246770859, -0.7648128867149353, -0.033372364938259125, -0.3521270751953125, 0.44780993461608887, -0.19362318515777588, -0.5695956349372864, 0.33315280079841614, -0.11788463592529297, 0.5095875263214111, 0.4696793258190155, 0.3353557288646698, 0.05010725557804108, 1.2669581174850464, 0.7068579792976379, -0.3386267423629761, 0.6486092209815979, -0.017213979735970497, 0.24773558974266052, -0.8130518794059753, 0.0360410213470459, -0.5343361496925354, -0.5272009968757629, -0.3487708270549774, 0.06558817625045776, 0.19685547053813934, 0.21282729506492615, -0.0529642254114151, 0.5836111903190613, -0.5051141381263733, 0.3298555910587311, 0.5187203884124756, -0.06194407492876053, 0.271951824426651, 0.14332996308803558, 0.23039661347866058, -0.14955876767635345, -0.6921438574790955, -0.9812345504760742, 1.02153742313385, 0.37540265917778015, 0.8953983783721924, 0.29529526829719543, 0.6076096892356873, 0.05688431113958359, 0.35419774055480957, -0.9499837160110474, 0.4513748586177826, -0.3613988161087036, -0.5616299510002136, -0.3765329122543335, -0.35472747683525085, -0.937681257724762, 0.07414993643760681, -0.13052724301815033, -0.8786016702651978, 0.35912948846817017, 0.042348261922597885, -0.36923009157180786, 0.19651587307453156, -0.871762752532959, 0.9048686623573303, -0.4270499348640442, -0.48815831542015076, 0.005141003057360649, -0.6300771236419678, 0.42963287234306335, -0.173589825630188, 0.3282438814640045, -0.2250402420759201, -0.15484847128391266, 0.8910166025161743, -0.25705254077911377, 0.40849125385284424, -0.2058478593826294, -0.27641722559928894, 0.28996872901916504, 0.10107644647359848, 0.8080217838287354, -0.24663043022155762, -0.41273269057273865, 0.08426316827535629, -0.15389935672283173, -0.30308347940444946, -0.558750331401825, 1.0389386415481567, -0.7905493974685669, -0.6835907101631165, -0.19713476300239563, -0.4763409197330475, -0.04756085202097893, 0.36249861121177673, 0.1835593730211258, 0.33611923456192017, -0.29154476523399353, 0.08852455765008926, 0.7625477313995361, 0.026912737637758255, 0.3731772005558014, 0.6261664032936096, 0.08603762090206146, -0.3599729537963867, 0.936596691608429, 0.0636976808309555, 0.1958850622177124, 0.5850617289543152, 0.05437515676021576, -0.40744608640670776, -0.4255983233451843, -0.6994044184684753, 0.31459710001945496, -0.5792731046676636, -0.3464259207248688, -0.4829655587673187, -0.04175342619419098, -0.4360162317752838, 0.16448751091957092, -0.5237427353858948, -0.7053288817405701, -0.3542335629463196, -0.0442780926823616, 0.20244406163692474, 0.6611061096191406, 0.14144514501094818, 0.22355251014232635, -0.8934131264686584, -0.014415010809898376, 0.24424588680267334, -0.034181077033281326, -0.21710646152496338, -0.36501020193099976, -0.37226876616477966, 0.13205504417419434, -0.45822909474372864, -0.7363255620002747, 0.2531239092350006, 0.2271055281162262, 0.4158448278903961, 0.4991280138492584, 0.048555344343185425, 0.6048673987388611, -0.5351604223251343, 0.46594303846359253, 0.13247498869895935, -0.8352153301239014, 0.5843369364738464, -0.2165258377790451, -0.021133795380592346, 0.7490457892417908, 0.5467607975006104, -0.1481884866952896, 0.07901246845722198, -0.3260946571826935, -0.8182758092880249, 0.7732827663421631, 0.16929496824741364, -0.32486000657081604, 0.020476946607232094, 0.3919735252857208, 0.2574734389781952, 0.3037380278110504, -0.809873640537262, 0.03189335763454437, 0.2030058354139328, -0.7854931354522705, 0.25676536560058594, -0.19839172065258026, -0.10624561458826065, 0.20477627217769623, 1.02778959274292, 0.045524727553129196, -0.0019521829672157764, 0.09756746888160706, -0.3785632252693176, -0.37881264090538025, 0.3560662865638733, 0.4468737840652466, 0.7831676602363586, -0.19028963148593903, 0.0961042121052742, -0.17498727142810822, -0.37405848503112793, 0.14246271550655365, 0.42735227942466736, -0.25877645611763, -0.19160215556621552, 0.31582847237586975, 0.7019221186637878, 0.02179635316133499, -0.7216253876686096, 0.7313055396080017, -0.04637988656759262, 0.027555614709854126, -0.2567727565765381, -0.015253939665853977, -0.1315612643957138, 0.12952351570129395, 0.17252059280872345, -0.057160161435604095, 0.15791550278663635, -0.2713603377342224, 0.14960458874702454, 0.7558575868606567, -0.2707936465740204, -0.3450284004211426, 0.8664727210998535, 0.18130499124526978, -0.19158770143985748, 0.6479026675224304, 0.15435142815113068, -0.31031927466392517, 0.4370000660419464, 0.42808806896209717, 0.766110360622406, -0.4927670359611511, -0.1263560801744461, 0.16497786343097687, 0.2659561336040497, -0.1562802940607071, -0.019892528653144836, 0.27368250489234924, -0.7806872725486755, -0.6484395861625671, -0.7222612500190735, -0.09781557321548462, 0.42708727717399597, -0.8126882314682007, 0.6616607904434204, 0.07364412397146225, -0.08282550424337387, 0.03535396605730057, 0.14038091897964478, -0.6188094019889832, 0.12768028676509857, 0.12945635616779327, 0.8589675426483154, -0.8866440057754517, 0.9931617379188538, 0.9009526371955872, -0.1538459062576294, -0.6430060267448425, -0.022825252264738083, -0.0187959186732769, -0.9229701161384583, 0.6363690495491028, 0.25470030307769775, -0.2299060970544815, 0.32470381259918213, -0.5840609669685364, -1.006335735321045, 1.1244988441467285, 0.7515298128128052, -0.7957426309585571, -0.1839946061372757, -0.32608428597450256, 0.23845797777175903, -0.7017328143119812, 0.21050910651683807, 0.5352072715759277, 0.547519326210022, -0.03086875006556511, -0.8012384176254272, -0.05979052186012268, -0.14735858142375946, -0.2099749892950058, 0.48334869742393494, -0.7183571457862854, 0.5824487805366516, -0.14613193273544312, -0.39774271845817566, 0.037567976862192154, 0.503506600856781, -0.12527793645858765, -0.04801984131336212, 0.634088933467865, 0.7553413510322571, 0.8552355766296387, 0.14062219858169556, 0.740237295627594, -0.1804831176996231, 0.20250754058361053, 1.0702673196792603, -0.6210583448410034, 1.0439683198928833, 0.3494926691055298, 0.0644083023071289, 0.47601720690727234, 0.630916178226471, 0.2034119814634323, 0.4973859190940857, -0.14606501162052155, -0.3367886543273926, -0.35332778096199036, -0.2441871166229248, -0.15935064852237701, 0.6460777521133423, 0.38488030433654785, -0.2569590210914612, -0.10589655488729477, -0.09479828923940659, -0.048570238053798676, 0.1749601513147354, -0.19750207662582397, 0.8500303030014038, -0.04994235560297966, -0.7619547247886658, 0.5323836803436279, -0.012631223537027836, 0.16911283135414124, -0.6373080015182495, -0.11980383098125458, 0.1518019139766693, 0.2796410620212555, -0.1978704184293747, -0.3926715552806854, 0.07201437652111053, 0.0010889506665989757, -0.3749123215675354, 0.033403754234313965, 0.6732580065727234, -0.6610839366912842, -0.3260992467403412, 0.4251228868961334, 0.19703979790210724, 0.118923619389534, 0.18667680025100708, -0.4591456651687622, 0.11176244169473648, 0.2740460932254791, -0.4738195836544037, 0.3423025608062744, 0.46802568435668945, -0.14734363555908203, 0.4369570016860962, 0.4729236364364624, 0.33979159593582153, -0.01743728294968605, -0.2475493848323822, 0.8092359900474548, -0.4022395610809326, -0.18135398626327515, -1.0933234691619873, 0.3417220711708069, -0.2621752619743347, 0.12881502509117126, 0.6009311079978943, 0.8263052701950073, 0.5152249932289124, 0.03200995549559593, 0.8854936361312866, -0.01240955013781786, 0.7139278054237366, -0.7892799377441406, 0.16166946291923523, -0.6022658944129944, 0.45101669430732727, 0.09604209661483765, -1.3501861095428467, -0.17905215919017792, 0.5413475632667542, -0.5691969394683838, -0.4635249674320221, 0.5616814494132996, 0.6641794443130493, -0.37794989347457886, 0.0718047246336937, 0.027498947456479073, 0.16166484355926514, 0.33762866258621216, 0.6815117001533508, 0.5128127336502075, -0.38463979959487915, 0.6717770099639893, 0.03548956662416458, -0.5823171734809875, -0.21175441145896912, -0.9256280660629272, -0.5233521461486816, -0.270072340965271, -0.3668304681777954, 0.0842205286026001, -0.07684832811355591, 1.082574725151062, 0.7760888338088989, -0.9917948246002197, -0.11073455214500427, 0.047645196318626404, 0.005463460925966501, -0.03365132212638855, -0.2249125838279724, 0.5930712223052979, -0.1623321920633316, -1.0535401105880737, 0.5680155158042908, 0.32008326053619385, 0.053499121218919754, 0.0006525592762045562, 0.12065421789884567, -0.5986997485160828, -0.0650201365351677, 0.19290775060653687, 0.3534204661846161, -0.5360556244850159, -0.29579344391822815, -0.02483278512954712, -0.15686450898647308, 0.21528659760951996, 0.6679203510284424, -0.20489174127578735, 0.5549446940422058, 0.3405616879463196, 0.810880720615387, 0.4307428002357483, 0.5547348260879517, 0.9278122186660767, -0.8052971959114075, 0.06774557381868362, 0.1597418487071991, 0.3889143466949463, 0.3590798079967499, -0.5191022157669067, 0.3809111416339874, -0.09331519901752472, -0.8177073001861572, -0.6286305785179138, 0.4056258499622345, -0.6647520661354065, -0.09090080112218857, 1.0954797267913818, -0.2715677320957184, -0.3613226115703583, 0.11182328313589096, -0.33248117566108704, 0.24913373589515686, -0.46068212389945984, 0.6824831366539001, 0.8089659214019775, -0.07186010479927063, 0.25232428312301636, -0.7484607696533203, 0.26147404313087463, 0.4216727316379547, -0.6318690180778503, 0.24226567149162292, 0.5240564346313477, 0.1227758452296257, 0.41234472393989563, 0.31066593527793884, -0.059219010174274445, -0.04959094896912575, -0.48748525977134705, 0.38207903504371643, 0.013144336640834808, -0.36394864320755005, -0.38138484954833984, 0.15052686631679535, 0.3709130585193634, -0.4909323751926422 ]
http://arxiv.org/abs/2405.06702v1
http://arxiv.org/pdf/2405.06702v1
Malayalam Sign Language Identification using Finetuned YOLOv8 and Computer Vision Techniques
2024-05-08T11:37:54
2024-05-08T11:37:54
Abhinand K., Abhiram B. Nair, Dhananjay C., Hanan Hamza, Mohammed Fawaz J., Rahma Fahim K., Anoop V. S
cs.CL
cs.CL, cs.CV
Technological advancements and innovations are advancing our daily life in all the ways possible but there is a larger section of society who are deprived of accessing the benefits due to their physical inabilities. To reap the real benefits and make it accessible to society, these talented and gifted people should also use such innovations without any hurdles. Many applications developed these days address these challenges, but localized communities and other constrained linguistic groups may find it difficult to use them. Malayalam, a Dravidian language spoken in the Indian state of Kerala is one of the twenty-two scheduled languages in India. Recent years have witnessed a surge in the development of systems and tools in Malayalam, addressing the needs of Kerala, but many of them are not empathetically designed to cater to the needs of hearing-impaired people. One of the major challenges is the limited or no availability of sign language data for the Malayalam language and sufficient efforts are not made in this direction. In this connection, this paper proposes an approach for sign language identification for the Malayalam language using advanced deep learning and computer vision techniques. We start by developing a labeled dataset for Malayalam letters and for the identification we use advanced deep learning techniques such as YOLOv8 and computer vision. Experimental results show that the identification accuracy is comparable to other sign language identification systems and other researchers in sign language identification can use the model as a baseline to develop advanced models.
[ -0.12890952825546265, -0.6791847944259644, 0.2952977120876312, 0.10447980463504791, -0.6527853608131409, 0.2678050398826599, -0.019264519214630127, -0.6644322276115417, 0.3315160870552063, 0.2605234980583191, -0.41647258400917053, -0.28461217880249023, -0.968665361404419, 0.13423298299312592, -0.22011378407478333, -0.05455189198255539, 0.033361487090587616, 0.2649921476840973, 0.5670197606086731, -0.17780624330043793, -0.9368767142295837, 0.06987844407558441, -0.6188377141952515, -0.21461156010627747, -0.19161614775657654, 0.46171504259109497, 0.40004438161849976, 0.7098555564880371, 0.4469031095504761, 0.4911358654499054, -0.24282915890216827, 0.3726644814014435, -0.053147800266742706, 0.29125165939331055, 0.015207632444798946, -0.2914891242980957, -0.19769170880317688, -0.10636278241872787, 0.4135506749153137, 0.5491970181465149, 0.24748019874095917, 0.3114055097103119, -0.3381587862968445, 0.5282772779464722, -0.5048473477363586, 0.4174784719944, -0.24545323848724365, 0.4570743143558502, -0.5452256798744202, -0.01618485525250435, -0.002391914837062359, -0.6189312934875488, -0.15462376177310944, -0.4591972827911377, -0.021795857697725296, -0.16506227850914001, 0.5441892147064209, -0.12035644799470901, -0.4322408139705658, -0.5944850444793701, -0.6820977926254272, 0.7157790064811707, -0.5737389922142029, 0.535758912563324, 0.5455377101898193, 0.6456655263900757, -0.2905382812023163, -0.23347491025924683, -0.6763154864311218, -0.1813928782939911, 0.1828766167163849, -0.09841711074113846, 0.4608019292354584, -0.1448010802268982, -0.0382964089512825, 0.7607834339141846, -0.5748749375343323, 0.1466187685728073, -1.0522055625915527, -0.6582256555557251, 0.5177599191665649, 0.16528083384037018, 0.5202065110206604, -0.28350314497947693, -0.29270774126052856, 0.08062402158975601, 0.1436878740787506, 0.08627902716398239, 0.3706648647785187, 0.7913087010383606, -0.10056622326374054, 0.559840977191925, -0.4050472676753998, 0.883787214756012, 0.4981699287891388, -0.48404625058174133, 0.4885987937450409, 0.027053970843553543, -0.4425257444381714, 0.18648353219032288, 0.7669705152511597, 0.01895594224333763, 0.644896924495697, 0.22702132165431976, -0.2667044997215271, 0.2399439662694931, -0.24156969785690308, -0.4437471628189087, 0.14302824437618256, 0.1832161396741867, -0.4080972373485565, -0.21931993961334229, -0.000382717204047367, -0.7446004152297974, -1.2766870260238647, -0.48922181129455566, 0.5820868015289307, -0.6342239379882812, -0.859360933303833, 0.254900187253952, -0.07204747945070267, 0.5419811010360718, 0.3397381603717804, -0.9543797373771667, 0.175956591963768, 0.6489177942276001, 0.8747200965881348, -0.12961164116859436, 0.08355847001075745, -0.5017127990722656, -0.4913662075996399, -0.29885244369506836, 0.169844850897789, -0.6198801398277283, -0.11846665292978287, -0.20280924439430237, -0.05277679115533829, 0.10654108226299286, -0.4631785750389099, 0.13272686302661896, -0.5790563225746155, -0.01332634873688221, 0.3596813678741455, -0.460201233625412, -0.06625021249055862, -0.09423647820949554, -0.624054491519928, 0.6594696640968323, 0.23993100225925446, -0.2789205014705658, 0.4036123752593994, -0.11762368679046631, -0.5538643598556519, 0.5621722936630249, -0.431919127702713, -0.36316555738449097, 0.49384140968322754, 0.04210032522678375, 0.6714712977409363, -0.009763916954398155, 0.2846498489379883, 0.018564026802778244, -0.2564951181411743, 0.1569986194372177, -0.5464778542518616, 1.170658826828003, 0.8390249609947205, -0.4520424008369446, -0.22737529873847961, -1.3173402547836304, 0.08227796852588654, 0.15620632469654083, -0.2404685765504837, -0.28792503476142883, -0.7925044894218445, 0.33413878083229065, 0.27664825320243835, 0.3734672963619232, -0.7551689743995667, 0.08355718106031418, -0.5012122392654419, -0.13629549741744995, 0.7932969331741333, -0.11982590705156326, 0.2692915201187134, 0.43995651602745056, 0.8099660873413086, 0.27604231238365173, 0.39010101556777954, 0.00570595683529973, -0.6386461853981018, -0.6333257555961609, -0.4472235441207886, 0.16915030777454376, 0.5752933621406555, -0.2546214461326599, 0.2090744823217392, 0.1907656043767929, -0.5780064463615417, -0.8872045874595642, 0.3267415463924408, 0.5957188010215759, 0.3992706835269928, 0.12178786844015121, -0.7750861048698425, -0.7610959410667419, -0.7064881920814514, -0.21650433540344238, 0.12367381900548935, 0.3573008179664612, -0.055358387529850006, 0.0625961571931839, 0.03747004270553589, 0.6129899024963379, -0.2685888409614563, -0.6433537602424622, -0.16651511192321777, -0.42350831627845764, 0.5543177127838135, 0.5243201851844788, 0.16240184009075165, -0.98411625623703, -0.778229832649231, 0.2228299230337143, -0.7326645851135254, -0.03609572350978851, 0.027092795819044113, 0.2971611022949219, -0.042140670120716095, 0.5842079520225525, -0.17782065272331238, 0.5326570868492126, 0.4379589557647705, -0.7557210326194763, 0.4956604838371277, -0.0909523218870163, 0.22978736460208893, -1.0571578741073608, -0.07899478822946548, 0.09306026250123978, -0.3205212950706482, -0.8615227937698364, -0.05240638554096222, 0.1197458878159523, -0.48966121673583984, -0.43429744243621826, 0.6662653088569641, -0.839945912361145, 0.32631048560142517, -0.46378010511398315, 0.02982589788734913, -0.3544613718986511, 0.10915413498878479, 0.1769181191921234, 0.45093899965286255, 0.9951462745666504, -0.5820538401603699, 0.7098438739776611, 0.20629552006721497, -0.40356865525245667, 1.0057669878005981, -0.2448328733444214, -0.0010285706957802176, -0.45269709825515747, -0.4903765916824341, -0.9783234596252441, -0.31450554728507996, 0.6648650765419006, -0.7640618085861206, 0.7473289370536804, -0.10891883075237274, 0.21548621356487274, -0.29810845851898193, 0.1043790727853775, 0.2764596939086914, 0.5785563588142395, -0.3009192943572998, 0.5960969924926758, 0.57933109998703, 0.06169409677386284, -0.6585513353347778, -0.6419475078582764, -0.03259936720132828, -0.40221261978149414, -0.18218033015727997, -0.42053622007369995, 0.2321726530790329, -0.27074286341667175, -0.5369805097579956, -0.3033725619316101, -0.49970802664756775, -0.032187797129154205, 0.5010694265365601, -0.03193887323141098, -0.2679305374622345, 0.30861714482307434, -0.2786937952041626, -0.5358589887619019, -0.35173583030700684, -0.4435114860534668, 0.43686652183532715, -0.320093035697937, -0.28596314787864685, -1.1672369241714478, 0.4386208653450012, 0.9399116039276123, -0.4700647294521332, 0.3927787244319916, 0.8363073468208313, -0.5654188990592957, 0.2077040821313858, -0.626750111579895, 0.016094893217086792, -0.573302686214447, 0.5230612754821777, -0.7892027497291565, -0.3810948431491852, 0.3149435818195343, -0.4291752576828003, -0.24587012827396393, 0.4064255654811859, 0.5755325555801392, 0.2738111615180969, 0.5635063648223877, 0.7304883003234863, -0.02962898090481758, 0.6080374121665955, 0.04834229126572609, 0.204694926738739, -0.5264529585838318, -0.5507040023803711, -0.4201141893863678, -0.33030134439468384, -0.3959653973579407, -0.2903435230255127, -0.15161076188087463, 0.12173546850681305, 0.20363302528858185, 0.922936737537384, -0.7640531659126282, 0.3597116768360138, 0.48853665590286255, 0.18390923738479614, 0.45338594913482666, -0.07033132016658783, -0.3170979917049408, -0.05881527066230774, 0.02931904047727585, -0.5271066427230835, 0.9688052535057068, 0.30087584257125854, 0.7864174246788025, 0.2039833515882492, 0.8636297583580017, 0.5044971108436584, -0.21348799765110016, -0.7010412216186523, 0.5731087923049927, 0.28510963916778564, -0.7588856220245361, -0.4575757384300232, -0.1397894024848938, -1.1343765258789062, 0.14855018258094788, -0.24816496670246124, -0.8252354860305786, 0.5933877825737, 0.1926812380552292, -0.10643067955970764, -0.09817714244127274, -1.1126688718795776, 0.6396108865737915, -0.27461034059524536, -0.057234544306993484, -0.15420418977737427, -0.6231779456138611, 0.20793378353118896, -0.18079781532287598, 0.24081619083881378, -0.25570759177207947, 0.34383681416511536, 0.6971548795700073, -0.50273597240448, 0.9645506739616394, -0.498905211687088, -0.07655160874128342, 0.18005195260047913, 0.005734538193792105, 0.40323522686958313, -0.022663097828626633, -0.26155126094818115, -0.28386548161506653, -0.1523168385028839, -0.6062847375869751, -0.3296985328197479, 0.7489838004112244, -0.7627301216125488, -0.27643030881881714, -0.5127883553504944, -0.20555348694324493, -0.29615792632102966, 0.7105408310890198, -0.0037715090438723564, 0.7269166111946106, -0.028695642948150635, -0.34451746940612793, 0.6026453971862793, -0.06177429482340813, 0.3319949209690094, 0.42049482464790344, -0.13881856203079224, -0.5313855409622192, 1.1152186393737793, -0.03705258667469025, 0.09639574587345123, 0.042559947818517685, 0.49487388134002686, -0.4263422191143036, -0.7146868705749512, -0.4639705419540405, 0.2817349135875702, -0.7841007113456726, 0.006030303426086903, -0.14297810196876526, 0.10573314875364304, -0.5838014483451843, 0.05702171102166176, -0.4243088960647583, -0.5678462982177734, -0.2690426707267761, -0.06442788988351822, 0.46183669567108154, 0.7436535954475403, 0.008881323039531708, 0.0168532133102417, -0.18993963301181793, 0.6428670883178711, 0.4282321035861969, 0.6190771460533142, 0.005825743544846773, -0.39455536007881165, -0.07865311950445175, -0.2816210389137268, -0.1476430892944336, -0.9897837042808533, 0.11849533766508102, 0.3642856180667877, 0.46725791692733765, 0.6862893104553223, 0.02995932288467884, 0.7403667569160461, -0.20972856879234314, 0.15882393717765808, 0.5865551829338074, -0.7822215557098389, 0.49470946192741394, -0.02090212143957615, 0.36925533413887024, 0.5960493087768555, 0.4007151126861572, -0.5590693950653076, -0.3894674777984619, -0.3912960886955261, -0.772458553314209, 0.44974860548973083, 0.07817217707633972, 0.0638575553894043, 0.19943979382514954, 0.22382034361362457, 0.45025870203971863, 0.23162288963794708, -0.5802193880081177, -0.3920082151889801, -0.4062240719795227, -0.6943302750587463, 0.1050596535205841, 0.1365167498588562, 0.5044687986373901, -0.3777877986431122, 0.4646730124950409, 0.07402434200048447, -0.07803751528263092, 0.1071041151881218, -0.4953745901584625, 0.0009063490433618426, 0.2954848110675812, 0.816470205783844, 0.5088409185409546, 0.077316053211689, 0.3287569284439087, -0.06754432618618011, -1.2784035205841064, 0.4969947338104248, -0.11906754225492477, 0.09742714464664459, -0.07872550934553146, 0.18388685584068298, 0.8207125067710876, -0.5444375276565552, -0.6363728046417236, 0.3864218592643738, 0.0361386202275753, 0.09706839174032211, -0.5467852354049683, 0.08332045376300812, -0.040107373148202896, 0.47843798995018005, 0.5154885649681091, 0.1518944948911667, -0.04457811638712883, -0.5135179758071899, 0.1562793105840683, 0.40103936195373535, -1.0271918773651123, -0.14537712931632996, 0.463666707277298, 0.4489193260669708, -1.024799108505249, 0.3941570222377777, -0.1346222311258316, -0.21961821615695953, 0.6060332655906677, 0.5278725624084473, 0.8708658218383789, -0.6431875228881836, 0.021019861102104187, 0.32332509756088257, 0.2912226617336273, 0.39114293456077576, 0.6011016964912415, -0.060257427394390106, -0.2663496732711792, -0.1805875301361084, -0.9254546165466309, 0.03695158660411835, 0.41471344232559204, -0.38003385066986084, 0.36533457040786743, -0.7276628017425537, -0.2784517705440521, 0.10067498683929443, 0.270169198513031, -0.8127660751342773, 0.5769510269165039, 0.5909683108329773, 0.7372889518737793, -1.328198790550232, 0.4912813603878021, 0.5082391500473022, -0.19752858579158783, -0.5973549485206604, -0.4103891849517822, 0.3082876205444336, -1.037989854812622, 0.5816767811775208, 0.39227527379989624, -0.2590333819389343, 0.31738629937171936, -0.024267325177788734, -0.6777487397193909, 0.7606557607650757, 0.24486778676509857, -0.5298951864242554, 0.5763120055198669, 0.26985979080200195, 0.5586925745010376, -0.06519755721092224, 0.25320541858673096, 0.42032724618911743, 0.856203556060791, 0.029123777523636818, -1.133589267730713, 0.26817572116851807, -0.302874892950058, -0.03905487060546875, 0.34293845295906067, -0.49491044878959656, 0.30097484588623047, -0.2915835976600647, -0.2756708860397339, 0.019363896921277046, 0.9342272281646729, 0.16111434996128082, 0.199918732047081, 0.3686981797218323, 0.17842739820480347, 0.964939296245575, 0.30608853697776794, 0.4202497899532318, 0.28921884298324585, 0.2834995687007904, 0.3580179810523987, 0.12836217880249023, 0.3937535583972931, 0.7408285737037659, -0.17730703949928284, -0.05960117653012276, 0.34224554896354675, 0.018276672810316086, 0.595199465751648, 0.4723067283630371, -0.20820343494415283, -0.21642200648784637, -0.024941159412264824, -0.23400545120239258, 0.6704195141792297, 0.45920708775520325, -0.2761715054512024, -0.13588184118270874, 0.4980899691581726, -0.18110597133636475, 0.3084283471107483, -0.515954852104187, 0.46738821268081665, 0.2606305181980133, -0.30232250690460205, 0.8445140719413757, -0.14466029405593872, 0.7499274015426636, -0.6087062954902649, -0.09606608748435974, -0.015193520113825798, 0.6775087714195251, -0.2731385827064514, -0.5692359805107117, 0.3017144799232483, -0.33949965238571167, 0.09492721408605576, -0.07595675438642502, 0.9078083634376526, -0.38287943601608276, -0.6776208877563477, -0.027479397132992744, 0.20051325857639313, 0.42763617634773254, 0.30048248171806335, -0.5100859999656677, 0.1516209840774536, -0.17189207673072815, 0.007865319028496742, 0.15835659205913544, 0.33149197697639465, -0.2852895259857178, 0.6375693082809448, 0.2837076783180237, 0.31332841515541077, 0.34401804208755493, -0.12267646193504333, 0.22776652872562408, -0.7071444392204285, -0.552667498588562, -0.6231400966644287, 0.3358726501464844, -0.18278644979000092, -0.652582049369812, 0.897132933139801, 0.3393775224685669, 0.3921264111995697, -0.6934023499488831, 0.679530680179596, -0.23658297955989838, 0.3600606918334961, -0.25978749990463257, 0.7824065089225769, -0.2820456027984619, -0.3144990801811218, -0.6081286668777466, -0.47473853826522827, -0.5234023332595825, 0.6295515298843384, 0.0022533717565238476, 0.12137819826602936, 0.5261515974998474, 0.7727851271629333, -0.5465929508209229, -0.37363818287849426, 0.5961964130401611, 0.05210042744874954, 0.08041529357433319, 0.6097288131713867, 0.39691054821014404, -0.6562036275863647, 0.4732225239276886, -0.032610371708869934, -0.5302372574806213, -0.5854963064193726, -0.47152411937713623, -0.8555708527565002, -0.961279034614563, -0.48802098631858826, -0.25893542170524597, -0.06115255132317543, 0.8922980427742004, 0.605531632900238, -1.0461918115615845, -0.13835324347019196, -0.2373582422733307, 0.06638091057538986, -0.5535775423049927, -0.18206873536109924, 0.7111203074455261, 0.17492645978927612, -0.8862578272819519, 0.5358118414878845, 0.33182623982429504, 0.23062796890735626, -0.34113582968711853, -0.2062922567129135, -0.17317256331443787, -0.007589905522763729, 0.1673816442489624, 0.8549546599388123, -0.5881190896034241, -0.14140979945659637, -0.12304560095071793, -0.14314857125282288, -0.05625500530004501, 0.3740849494934082, -0.9203424453735352, 0.9557653069496155, 0.7791237831115723, 0.471405029296875, 0.22886282205581665, -0.01670641452074051, 0.38119983673095703, -0.4094964861869812, 0.33676856756210327, 0.09413599222898483, 0.11856631189584732, 0.5668609738349915, -0.29162999987602234, 0.10086043924093246, 0.46174636483192444, -0.0030402312986552715, -0.6295594573020935, 0.49245697259902954, -1.0226212739944458, 0.2941204607486725, 0.864717960357666, 0.17594677209854126, -0.39855679869651794, -0.9857255816459656, -0.5065608620643616, 0.36215880513191223, -0.09687232226133347, 0.7602053284645081, 0.35858097672462463, 0.1669682264328003, -0.31722888350486755, -0.3116645812988281, 0.3827970325946808, 0.05250454321503639, -0.24114854633808136, -0.22699254751205444, 0.1756051629781723, 0.30574408173561096, 0.43215829133987427, 0.7833568453788757, -0.26731905341148376, 0.40267327427864075, 0.015139998868107796, -0.06285139918327332, -0.5158384442329407, -0.1546422690153122, -0.4960283935070038, 0.3463093340396881, 0.3020346164703369, -0.7809489369392395 ]
http://arxiv.org/abs/2405.04960v2
http://arxiv.org/pdf/2405.04960v2
P-ICL: Point In-Context Learning for Named Entity Recognition with Large Language Models
2024-05-08T11:01:21
2024-06-17T09:38:25
Guochao Jiang, Zepeng Ding, Yuchen Shi, Deqing Yang
cs.CL
cs.CL
In recent years, the rise of large language models (LLMs) has made it possible to directly achieve named entity recognition (NER) without any demonstration samples or only using a few samples through in-context learning (ICL). However, standard ICL only helps LLMs understand task instructions, format and input-label mapping, but neglects the particularity of the NER task itself. In this paper, we propose a new prompting framework P-ICL to better achieve NER with LLMs, in which some point entities are leveraged as the auxiliary information to recognize each entity type. With such significant information, the LLM can achieve entity classification more precisely. To obtain optimal point entities for prompting LLMs, we also proposed a point entity selection method based on K-Means clustering. Our extensive experiments on some representative NER benchmarks verify the effectiveness of our proposed strategies in P-ICL and point entity selection.
[ -0.5812245011329651, -0.6270720362663269, 0.8865313529968262, 0.2796283960342407, -0.40791553258895874, -0.03535623475909233, -0.3919191360473633, -0.3234744668006897, 0.07838109880685806, 0.17626942694187164, -0.3338300585746765, -0.6367053985595703, -0.6942052841186523, 0.32768645882606506, -0.40776193141937256, 0.8501794934272766, -0.10002950578927994, 0.15093062818050385, -0.1718415915966034, 0.156861811876297, -0.33326175808906555, -0.42603111267089844, -1.1246066093444824, -0.3638579249382019, 0.7076483964920044, 0.7863087058067322, -0.13060006499290466, 0.2932884395122528, 0.2567950189113617, 0.23544730246067047, -0.06361483037471771, 0.013502866961061954, -0.25673049688339233, 0.16505882143974304, -0.07938530296087265, -0.44191113114356995, -0.1750306934118271, -0.309377521276474, 1.113370656967163, 0.8331583738327026, 0.07699067890644073, 0.05534786358475685, 0.19993695616722107, 0.3580916225910187, -0.6758057475090027, 0.2300754189491272, -0.8444963693618774, 0.086403027176857, -0.06346961110830307, -0.06606458872556686, -0.7097722887992859, -0.275395005941391, 0.45565134286880493, -0.5699268579483032, -0.09148968011140823, 0.137537881731987, 0.7262333631515503, 0.1482248604297638, -0.5588423609733582, -0.4479566812515259, -0.5952171683311462, 0.7840781807899475, -0.5154042840003967, 0.6231725811958313, 0.24428440630435944, 0.1894378960132599, -0.2694894075393677, -0.6604076027870178, -0.7615645527839661, -0.4574087858200073, -0.05753132700920105, -0.18334327638149261, -0.050322238355875015, -0.052721600979566574, 0.40214669704437256, -0.06937214732170105, -0.162441685795784, 0.32538044452667236, -0.1272607445716858, 0.10986795276403427, 0.2986496686935425, -0.15825378894805908, 0.1424434930086136, 0.11275482922792435, -0.6266132593154907, 0.009651066735386848, -1.2904181480407715, 0.29795852303504944, -0.21993577480316162, 0.3525615632534027, 0.11879408359527588, 0.3286854922771454, -0.14268852770328522, 0.5078292489051819, 0.6887513399124146, -0.37879320979118347, 0.1686238795518875, 0.47116246819496155, -0.21426711976528168, 0.43661943078041077, 0.5889562368392944, 0.27460384368896484, 0.13959571719169617, -0.14548435807228088, -0.25817450881004333, -0.4772411286830902, -0.19226257503032684, -0.8044248223304749, -0.2615651786327362, 0.025560667738318443, -0.3549116849899292, 0.15659689903259277, 0.17957262694835663, -0.6956203579902649, -0.35134631395339966, -0.49535059928894043, 0.4365004003047943, -0.4918265640735626, -0.34656864404678345, -0.4306555688381195, 0.20730172097682953, 0.30609607696533203, 0.5486527681350708, -0.6743760108947754, 0.15452840924263, 0.45335036516189575, 0.7012840509414673, -0.4523027241230011, -0.4880181550979614, -0.8604621887207031, 0.39402759075164795, -0.16561250388622284, 0.9414832592010498, -0.6951478123664856, -0.6566558480262756, -0.056769393384456635, 0.030967803671956062, -0.044029831886291504, -0.723005473613739, 0.17454957962036133, -0.5992684960365295, -0.08914806693792343, -0.5604617595672607, -0.7071653008460999, -0.29019755125045776, 0.2623778283596039, -0.3443107008934021, 1.0662314891815186, -0.12317470461130142, -0.538341224193573, 0.9501948952674866, -0.6547043919563293, -0.4205607771873474, 0.4430446922779083, -0.317207008600235, -0.27232787013053894, 0.14951220154762268, 0.35063064098358154, 0.8024250268936157, -0.16023141145706177, 0.5126354098320007, -0.3050927519798279, -0.31052568554878235, 0.18327774107456207, -0.04038558900356293, 0.42195719480514526, -0.06431867182254791, -0.4052385091781616, 0.098318912088871, -0.6809068322181702, -0.12796302139759064, 0.0016735104145482183, -0.6796339154243469, -0.5454792976379395, 0.17004521191120148, -0.21603460609912872, 0.3236016035079956, 0.16360457241535187, -0.40340086817741394, 0.14914430677890778, -0.3414747714996338, 0.3311310112476349, 0.4994502067565918, 0.17758619785308838, 0.793860137462616, 0.12683874368667603, 0.21035894751548767, 0.3019244074821472, -0.21544547379016876, 0.1544569432735443, -0.36975714564323425, -0.8173130750656128, -0.3591611683368683, 0.318170964717865, 0.5485357046127319, -0.8189722299575806, 0.5699136853218079, -0.1810227632522583, -0.35646486282348633, 0.014508743770420551, -0.13570421934127808, 0.28650081157684326, 0.9581564664840698, 0.43769407272338867, 0.1428578943014145, -0.4539290964603424, -0.7654687762260437, 0.039742399007081985, -0.25770241022109985, -0.31488293409347534, 0.565162718296051, 0.6252128481864929, 0.04626385122537613, 1.125298261642456, -0.28986111283302307, -0.02615414559841156, -0.40308254957199097, 0.006387254223227501, 0.1154136136174202, 0.3026478886604309, 0.2330898493528366, -1.003961205482483, -0.9049566984176636, -0.18113203346729279, -0.42049217224121094, -0.17645949125289917, 0.1779346764087677, 0.20957712829113007, -0.04016563296318054, 0.7971200942993164, -0.5664659738540649, 0.18065550923347473, 0.11627866327762604, -0.09976610541343689, 0.4312223196029663, -0.11533065885305405, -0.027152584865689278, -1.050633192062378, 0.1642272025346756, 0.24479633569717407, -0.11265145242214203, -0.6887750029563904, -0.27712395787239075, 0.39019209146499634, -0.2900117337703705, -0.6637603640556335, 0.9547824859619141, -0.7367411851882935, -0.1415840983390808, -0.3976980149745941, 0.35315200686454773, -0.294933944940567, 0.4518601894378662, 0.4227248728275299, 0.5729832053184509, 0.8293774724006653, -1.238901972770691, 0.18195289373397827, 0.17490607500076294, -0.32557210326194763, 1.0144909620285034, -0.3604305684566498, 0.1229456290602684, -0.29080894589424133, 0.4676024317741394, -0.5010961294174194, -0.20900563895702362, 0.37839293479919434, -0.2981683313846588, 0.474353551864624, -0.35842642188072205, -0.2778109610080719, -0.19579476118087769, 0.2720984220504761, 0.41761383414268494, 0.284630686044693, -0.9819177389144897, 0.5159602165222168, 0.5545796751976013, -0.3129880428314209, -0.4061160683631897, -0.3076697885990143, 0.029377585276961327, -0.6407182216644287, -0.10534019023180008, 0.5986252427101135, -0.1848483383655548, -0.22446304559707642, -0.018763024359941483, 0.07840611040592194, -0.19659289717674255, -0.01378462091088295, 0.262102335691452, 0.147149458527565, -0.1818770319223404, 0.41707760095596313, 0.09572316706180573, -0.3857329189777374, -0.05095638707280159, -0.4938631057739258, 0.4634476900100708, -0.12343725562095642, -0.2484443336725235, -0.5951007008552551, 0.48068901896476746, 0.17825333774089813, -0.29080381989479065, 0.6438907980918884, 0.2125622034072876, -0.7924996614456177, -0.36796191334724426, -0.4019635319709778, -0.3331737816333771, -0.42630380392074585, 0.2997005879878998, -0.5851772427558899, -1.0542110204696655, 0.2074478417634964, -0.6207723617553711, -0.1613704115152359, 0.3689838647842407, 0.4808911085128784, 0.09303592890501022, 1.029407262802124, 0.6477181911468506, -0.25417983531951904, 0.5152745246887207, 0.07418779283761978, 0.5539737343788147, -0.8963623642921448, -0.2826820909976959, -0.4890063405036926, -0.378429651260376, -0.15756388008594513, -0.037513040006160736, 0.5382347106933594, 0.42864248156547546, -0.22114895284175873, 0.2698044180870056, -0.34845852851867676, 0.6801263093948364, 0.6494207978248596, -0.03595923259854317, 0.04638582095503807, 0.028456447646021843, -0.3440079391002655, -0.017232583835721016, -0.3423888683319092, -0.39604565501213074, 0.6153051257133484, 0.2507595121860504, 0.4749387800693512, -0.09352179616689682, 0.8442028164863586, -0.19114170968532562, 0.3485189974308014, -1.075260877609253, 0.7852373719215393, 0.04492627829313278, -0.13443630933761597, -0.332431435585022, -0.2787245512008667, -0.8437625765800476, 0.0663081482052803, -0.2300524115562439, -1.1830726861953735, 0.5508589744567871, 0.1302645206451416, -0.5302238464355469, 0.2419845461845398, -0.5097916722297668, 0.5618044137954712, -0.13513347506523132, 0.3460429012775421, -0.062099989503622055, -0.3669906556606293, 0.06396707147359848, -0.004266060423105955, -0.052069902420043945, -0.060892630368471146, -0.3113425076007843, 0.4875757396221161, -0.1008494421839714, 0.7446061372756958, -0.5697525143623352, 0.04730077087879181, 0.21304509043693542, 0.05408687889575958, 0.8249142169952393, 0.4333634078502655, 0.05668468773365021, 0.04444262012839317, -0.2806929051876068, -0.027735769748687744, -0.5054941177368164, 1.0068782567977905, -0.4255748987197876, -0.3361007571220398, -0.212436243891716, -0.31770244240760803, -0.3163882791996002, 0.39822670817375183, 0.5758674740791321, 0.49732667207717896, 0.10158656537532806, 0.3333582580089569, 0.8800851702690125, -0.17922258377075195, 0.6064989566802979, 0.7707597613334656, -0.04128023982048035, -0.33749133348464966, 0.8512742519378662, 0.03647314012050629, -0.08978058397769928, 0.7885936498641968, 0.10626819729804993, -0.46603715419769287, -0.9048801064491272, -0.3702373802661896, 0.21707509458065033, -0.8074770569801331, -0.2878447473049164, -0.6854143142700195, -0.08887801319360733, -0.2068704515695572, -0.3708271086215973, -0.09766586869955063, 0.07746988534927368, -0.36294814944267273, 0.013577505014836788, -0.04723116010427475, 0.6827777028083801, 0.2704892158508301, 0.4625435173511505, -0.7070407271385193, -0.031576987355947495, 0.2332608699798584, 0.27455398440361023, 0.008279162459075451, -0.23226971924304962, -0.07166695594787598, -0.26571589708328247, 0.013849098235368729, -1.1553136110305786, 0.297206848859787, 0.3726714551448822, 0.6194852590560913, 0.6471505761146545, 0.06753180921077728, 0.531419575214386, -0.7109264135360718, 0.5826877951622009, 0.13368040323257446, -1.060232400894165, 0.6709407567977905, 0.005956702865660191, 0.25563615560531616, 0.48780205845832825, 0.8366318941116333, -0.809626042842865, -0.08529244363307953, -0.5726171731948853, -0.8606781959533691, 0.5621752738952637, -0.435542494058609, -0.309619665145874, -0.41636595129966736, 0.6028258800506592, -0.0306383166462183, 0.21013036370277405, -1.0769617557525635, -0.1695907860994339, 0.473033607006073, -0.2839567959308624, 0.19954614341259003, -0.3199189603328705, 0.2479347139596939, -0.08352181315422058, 0.931662380695343, -0.35483258962631226, 0.2228192687034607, 0.3410976529121399, -0.508374810218811, -0.0902397632598877, 0.2420283854007721, 0.3060704171657562, 0.782697319984436, 0.2343292236328125, 0.12253930419683456, 0.6987900137901306, -0.13783526420593262, 0.08160676062107086, 0.11696500331163406, -0.4438213109970093, 0.01356437336653471, 0.013386939652264118, 0.8304792046546936, 0.678374171257019, -0.6115152835845947, 0.571172833442688, -0.052516043186187744, -0.05918450653553009, -0.5743171572685242, -0.04895079508423805, 0.048873163759708405, 0.49403902888298035, 0.5335362553596497, -0.35860538482666016, 0.10047154873609543, -0.12146653234958649, 0.10960427671670914, 0.4929075241088867, -0.5270037055015564, -0.11900994181632996, 0.23804454505443573, 0.016688888892531395, -0.3905470371246338, 0.6927209496498108, -0.5887157320976257, -0.49783992767333984, 0.4114108979701996, 0.8257988691329956, 0.6567115187644958, -0.5272846817970276, 0.08563540130853653, 0.678029477596283, -0.15261119604110718, -0.11221490800380707, 0.09802749007940292, -0.1567731499671936, -0.6274874210357666, -0.3630375862121582, -0.6951191425323486, -0.4245513677597046, 0.41104766726493835, -0.40528562664985657, 0.6552263498306274, -0.7071418166160583, 0.14808686077594757, -0.15165932476520538, -0.022811956703662872, -0.4287585914134979, 0.3295290470123291, 0.34945520758628845, 0.9241278171539307, -0.5462854504585266, 0.9523041844367981, 0.9673781991004944, -0.15153764188289642, -1.100260853767395, 0.1859429031610489, 0.042007528245449066, -0.4791047275066376, 0.9494333267211914, 0.42118337750434875, 0.14107365906238556, 0.42476946115493774, -0.5014544725418091, -1.1754555702209473, 1.245180368423462, 0.17784814536571503, -0.7551129460334778, -0.24297112226486206, -0.06957370787858963, 0.023210600018501282, -0.7633218765258789, 0.18473787605762482, 0.36720699071884155, 0.4453766345977783, 0.32247769832611084, -0.7584794163703918, 0.09550263732671738, 0.057558462023735046, -0.05673433467745781, 0.6381563544273376, -0.22209830582141876, 0.8885899186134338, -0.08866411447525024, -0.3853095769882202, -0.09223959594964981, 0.819622814655304, 0.603543221950531, 0.4265957772731781, 1.013452410697937, 0.370717853307724, 0.9977236986160278, -0.0860821083188057, 0.5963912010192871, -0.27351492643356323, 0.22492116689682007, 1.1126415729522705, -0.4643404185771942, 1.2091948986053467, 0.5010681748390198, -0.13364174962043762, 0.3948845863342285, 0.8331613540649414, -0.0714661255478859, 0.4688119888305664, 0.182264506816864, -0.7280073761940002, -0.23567064106464386, -0.18349406123161316, -0.15800227224826813, 0.33493733406066895, 0.7365402579307556, -0.21781226992607117, -0.3479090631008148, 0.1672632247209549, 0.04948887974023819, -0.3139214515686035, -0.650873601436615, 0.9349966049194336, 0.3725430369377136, -0.7377457022666931, 0.1340385377407074, -0.013259454630315304, 0.6573089361190796, -0.5068999528884888, -0.09292855113744736, 0.05210757255554199, -0.028552835807204247, 0.015301176346838474, -0.5154972076416016, -0.04851212352514267, -0.11039241403341293, -0.34863659739494324, -0.1047564148902893, 0.9501878023147583, -0.674756646156311, -0.28233370184898376, 0.3874242305755615, 0.21427178382873535, 0.34559908509254456, -0.42859596014022827, -0.5894011855125427, -0.6183821558952332, -0.3379976451396942, -0.003257866483181715, 0.5393263697624207, 0.4546433687210083, -0.2459675818681717, 0.6062399744987488, 0.5140419006347656, 0.16460399329662323, -0.0714808776974678, 0.05163923650979996, 0.539160430431366, -0.6510524749755859, -0.7919395565986633, -0.8648027181625366, 0.3521481454372406, -0.10177439451217651, -0.28496062755584717, 0.41766998171806335, 0.26260003447532654, 0.9931457042694092, -0.0005931741907261312, 0.6283855438232422, -0.21619465947151184, 0.7107828259468079, -0.6149919629096985, 0.49087971448898315, -0.4474775493144989, -0.012920577079057693, -0.1410750448703766, -1.2577811479568481, -0.3982912003993988, 0.5080047845840454, -0.6725286841392517, 0.00006329716416075826, 0.8017062544822693, 0.6993780136108398, -0.13788673281669617, -0.17458564043045044, 0.29251736402511597, 0.16130194067955017, 0.23994986712932587, 0.7351769804954529, 0.9474822878837585, 0.09461058676242828, 0.41023796796798706, -0.205149307847023, -0.24830929934978485, -0.32005926966667175, -1.0948374271392822, -0.8732890486717224, -0.8759666681289673, -0.2464393526315689, 0.011642281897366047, -0.22249138355255127, 1.3457229137420654, 0.7419682145118713, -0.9633341431617737, -0.00023519583919551224, -0.09567093849182129, 0.14442294836044312, 0.03057563491165638, -0.18919692933559418, 0.48199695348739624, -0.43057265877723694, -0.9785468578338623, 0.8301116824150085, 0.45945438742637634, -0.02101159282028675, -0.0430152527987957, -0.1887788325548172, -0.24432528018951416, -0.5410457253456116, 0.5680866241455078, 0.43152523040771484, -0.8024940490722656, -0.30360594391822815, -0.25721579790115356, 0.08286242187023163, 0.10003875195980072, 0.9686033129692078, -0.7474107146263123, -0.06381417065858841, 0.3706941604614258, 0.7455546855926514, 0.19862006604671478, -0.3014024794101715, 0.40114152431488037, -0.7827655673027039, 0.036033745855093, 0.2963893711566925, 0.6353554129600525, 0.4166048467159271, -0.5110660791397095, -0.06759095191955566, 0.07238838076591492, -0.7016420960426331, -0.4719599783420563, 0.26992103457450867, -0.5630431175231934, -0.14561256766319275, 1.081102967262268, -0.263982892036438, -0.2675348222255707, -0.06737901270389557, -0.17892508208751678, 0.129776731133461, -0.5185883641242981, 0.4512629508972168, 0.5857250094413757, -0.12589074671268463, -0.4058816134929657, -0.46860170364379883, 0.6102892160415649, 0.21522028744220734, -0.7174091339111328, -0.37668848037719727, 0.4715231657028198, 0.4574600160121918, 0.05672081187367439, 0.6560139656066895, 0.13067124783992767, 0.15951840579509735, -0.4754776358604431, -0.10910514742136002, 0.2812771499156952, -0.779110848903656, -0.4344731271266937, 0.2275467962026596, 0.47184962034225464, 0.22100956737995148 ]
http://arxiv.org/abs/2405.04955v1
http://arxiv.org/pdf/2405.04955v1
Improving Long Text Understanding with Knowledge Distilled from Summarization Model
2024-05-08T10:49:39
2024-05-08T10:49:39
Yan Liu, Yazheng Yang, Xiaokang Chen
cs.CL
cs.CL, cs.AI
Long text understanding is important yet challenging for natural language processing. A long article or document usually contains many redundant words that are not pertinent to its gist and sometimes can be regarded as noise. With recent advances of abstractive summarization, we propose our \emph{Gist Detector} to leverage the gist detection ability of a summarization model and integrate the extracted gist into downstream models to enhance their long text understanding ability. Specifically, Gist Detector first learns the gist detection knowledge distilled from a summarization model, and then produces gist-aware representations to augment downstream models. We evaluate our method on three different tasks: long document classification, distantly supervised open-domain question answering, and non-parallel text style transfer. The experimental results show that our method can significantly improve the performance of baseline models on all tasks.
[ -0.4194621741771698, -0.8373036980628967, 0.8498366475105286, -0.3282603621482849, -0.6758820414543152, 0.09352316707372665, -0.41374877095222473, -0.7373834252357483, 0.11071465909481049, 0.4617629647254944, -0.312770277261734, -0.42815494537353516, -0.9110981225967407, 0.17650805413722992, -0.5593165755271912, 1.4428778886795044, -0.11890633404254913, -0.2449890673160553, -0.2630074918270111, -0.05040102079510689, -0.3236827850341797, -0.35996609926223755, -0.6377155780792236, -0.46042075753211975, 0.44444626569747925, 0.2693254351615906, 0.33136510848999023, 0.35156163573265076, 0.44132742285728455, 0.2501804232597351, -0.47646549344062805, 0.15112605690956116, -0.48677313327789307, 0.28950291872024536, -0.3212844133377075, -0.4201854169368744, -0.5521461367607117, -0.37988656759262085, 0.46557557582855225, 0.6430555582046509, 0.07285252213478088, -0.09217095375061035, 0.3265732228755951, 1.0433436632156372, -0.6341993808746338, 0.3895896077156067, -0.2971097230911255, -0.2954881191253662, -0.12736950814723969, 0.017615320160984993, -0.22234022617340088, -0.1743054986000061, 0.37465375661849976, -0.6147999167442322, 0.2804125249385834, -0.38233304023742676, 0.6435341835021973, 0.15777625143527985, -0.6162338852882385, -0.47571563720703125, -0.7763795852661133, 0.4065323770046234, -0.6611706018447876, 0.2352701872587204, 0.39206355810165405, 0.3976176083087921, 0.06382246315479279, -0.9055877923965454, -0.41540539264678955, -0.09949668496847153, -0.20971783995628357, 0.3453889787197113, -0.26879099011421204, 0.31973105669021606, 0.271597683429718, 0.5539743900299072, -0.5411649346351624, -0.22415105998516083, -0.5776783227920532, -0.019901631399989128, 0.4452815055847168, -0.19438649713993073, 0.06560420244932175, -0.08106997609138489, -0.19215679168701172, 0.17422929406166077, -0.20502997934818268, -0.04201766103506088, 0.18850946426391602, 0.00584383076056838, 0.06331172585487366, 0.25219598412513733, -0.5693349242210388, 0.7674369812011719, 0.11190209537744522, -0.09023290127515793, 0.04749598354101181, -0.4137060046195984, -0.09826838225126266, 0.06767677515745163, 0.33879244327545166, 0.2682379484176636, 0.6462118625640869, -0.10015001147985458, -0.3162943124771118, -0.19663912057876587, 0.16042520105838776, -0.8487165570259094, -0.4148503839969635, 0.11792071908712387, -0.38538166880607605, -0.13822995126247406, 0.15352822840213776, -0.6274100542068481, -0.32919684052467346, -0.4909244477748871, 0.30051159858703613, -0.6563241481781006, -0.3800608515739441, 0.28053274750709534, -0.659248411655426, -0.03996717929840088, 0.5309215188026428, -1.0043343305587769, 0.14098632335662842, 0.6787545680999756, 0.9722412824630737, 0.009617634117603302, -0.13303355872631073, -0.34148651361465454, 0.3252347707748413, -0.15161165595054626, 1.0334187746047974, -0.17947541177272797, -0.19158649444580078, -0.16029348969459534, 0.024195503443479538, 0.06275007128715515, -0.3520633578300476, 0.5324098467826843, -0.5291197299957275, 0.2787591516971588, -0.045599907636642456, -0.7354058027267456, -0.6096748113632202, 0.408412367105484, -0.6772955656051636, 0.693876326084137, 0.32862389087677, -1.0133891105651855, 0.23104161024093628, -0.928011417388916, -0.7294178605079651, 0.01422184705734253, 0.34303462505340576, -0.33648109436035156, 0.3871369957923889, 0.6445260643959045, 0.46792611479759216, 0.1930532157421112, 0.3549076020717621, -0.011907849460840225, -0.3219735324382782, -0.0518314428627491, -0.2927372455596924, 0.30613717436790466, 0.14550288021564484, -0.010565433651208878, 0.07013760507106781, -0.5126550793647766, -0.3218373656272888, 0.12041721493005753, -0.23590852320194244, -0.8184383511543274, 0.0007089788559824228, -0.21722255647182465, -0.20868277549743652, 0.34501469135284424, -0.06934722512960434, 0.14758537709712982, -0.44190552830696106, 0.48130857944488525, 0.5806562900543213, 0.16691678762435913, 0.7858803868293762, -0.27675682306289673, 0.47756943106651306, 0.052517056465148926, -0.09209272265434265, -0.6207514405250549, -0.34895482659339905, -0.7140664458274841, -0.37866291403770447, 0.32148855924606323, 0.25804823637008667, -0.8991798758506775, 0.584749698638916, -0.6036682724952698, -0.21078798174858093, -0.017353741452097893, 0.13355247676372528, 0.06508979201316833, 0.6754170656204224, 0.4141152799129486, -0.1506430059671402, -0.4426974058151245, -0.6544095873832703, -0.3869076669216156, -0.19567672908306122, -0.32622984051704407, -0.21993961930274963, 0.7316678166389465, -0.13418163359165192, 1.0302462577819824, -0.7110053896903992, -0.2921521067619324, -0.5338255763053894, 0.567165732383728, 0.2730586528778076, 0.13683606684207916, 0.4236166775226593, -0.6876171827316284, -0.46874943375587463, 0.12358547002077103, -0.8194859027862549, -0.14005601406097412, 0.12473990023136139, 0.04697662219405174, 0.060388319194316864, 0.6967592239379883, -0.5513147115707397, 0.3508351445198059, 0.32803529500961304, -0.18389824032783508, 0.45729267597198486, -0.26241013407707214, 0.1338009089231491, -1.2974967956542969, 0.12383579462766647, 0.008521371521055698, -0.6838677525520325, -0.7657151222229004, 0.13248148560523987, 0.2807212471961975, -0.1257152408361435, -0.18608063459396362, 0.35725295543670654, -0.7049717307090759, 0.041804827749729156, -0.6736398935317993, 0.2996443808078766, 0.37006232142448425, 0.3007558584213257, 0.072696752846241, 0.8905717730522156, 0.26378053426742554, -0.6808777451515198, 0.23012210428714752, 0.03375383839011192, -0.44059985876083374, 0.5809475183486938, -0.614689290523529, 0.08722775429487228, -0.6884162425994873, 0.413449764251709, -0.9357481002807617, -0.2914732098579407, 0.08767557889223099, -0.4059734344482422, 0.4339478313922882, -0.6335237622261047, -0.37563905119895935, -0.3198193609714508, -0.3298134207725525, 0.14046628773212433, 0.5092083215713501, -0.5008887052536011, 0.6565756797790527, 0.20169521868228912, -0.5796841382980347, -0.29386037588119507, -0.521678626537323, 0.038402922451496124, -0.3276144862174988, -0.7232757210731506, 0.2736462354660034, 0.17246048152446747, -0.14305822551250458, -0.06885343044996262, -0.2127654105424881, -0.2553371489048004, 0.21034575998783112, -0.09289484471082687, 0.07942953705787659, -0.30113092064857483, 0.6425440907478333, 0.35160619020462036, -0.16652092337608337, 0.14932797849178314, -0.6363003849983215, 0.36915579438209534, 0.01313004083931446, -0.04525195434689522, -0.20040637254714966, 0.43968528509140015, 0.8066770434379578, -0.443058043718338, 0.5027541518211365, 0.6385771632194519, -0.4424419403076172, -0.04515556991100311, -0.40937647223472595, -0.22415877878665924, -0.4215306043624878, 0.5752434730529785, -0.1838088184595108, -0.8386198282241821, 0.49656227231025696, -0.2751031517982483, -0.11148576438426971, 0.5692827105522156, 0.09537594020366669, -0.2020670771598816, 0.7797822952270508, 0.7709929943084717, -0.3686060905456543, 0.7338801026344299, -0.2025490254163742, 0.27194830775260925, -0.7138464450836182, 0.17345179617404938, -0.40168482065200806, -0.09669691324234009, -0.20617160201072693, -0.3638281524181366, 0.3129817843437195, 0.567199170589447, 0.03162837773561478, 0.2373606413602829, -0.47852975130081177, 0.8033859729766846, 0.14322718977928162, 0.38792338967323303, 0.6924035549163818, 0.019228661432862282, 0.33060187101364136, 0.2564377784729004, -0.3130370080471039, -0.5197203755378723, 1.0008158683776855, 0.39726847410202026, 0.8655763268470764, 0.12245896458625793, 0.6321468949317932, 0.34830182790756226, 0.21232539415359497, -1.0070959329605103, 0.19406619668006897, -0.2559257745742798, -0.37846970558166504, -0.3151646554470062, -0.25394853949546814, -0.7524722218513489, 0.13408279418945312, -0.009518478997051716, -0.6233591437339783, -0.23464596271514893, 0.008890979923307896, -0.19327689707279205, 0.19242441654205322, -0.900878369808197, 0.587762713432312, 0.00043636641930788755, 0.07113289833068848, -0.27042490243911743, -0.44223105907440186, 0.5540095567703247, -0.12942208349704742, 0.20494738221168518, -0.051609497517347336, 0.0823926106095314, 0.7802223563194275, -0.17710790038108826, 0.6051796078681946, -0.1557433009147644, -0.23280565440654755, 0.4120503067970276, -0.20995314419269562, 0.7600732445716858, 0.11597064882516861, -0.04371252655982971, 0.1319839060306549, -0.32985392212867737, -0.3276316821575165, -0.7549366354942322, 0.37047380208969116, -0.2928037643432617, -0.6513422727584839, -0.3718254268169403, -0.5530701875686646, 0.1996501237154007, 0.30749648809432983, 0.38809266686439514, 0.1855057030916214, -0.2192770391702652, 0.014676794409751892, 0.8987786769866943, 0.26707905530929565, 0.4930996596813202, 0.3223434090614319, -0.33946722745895386, -0.2814335525035858, 0.3849867284297943, 0.07307935506105423, 0.38115549087524414, 0.4474727511405945, 0.25036919116973877, -0.4600844383239746, -0.757934033870697, -0.3231256604194641, -0.019685285165905952, -0.9093743562698364, -0.2617259621620178, -0.9005084037780762, -0.40443605184555054, -0.4747275412082672, -0.1829601675271988, 0.008429678156971931, -0.37419143319129944, -0.5191084742546082, -0.19924867153167725, 0.6946161389350891, 0.8028482794761658, 0.09300951659679413, 0.5395169258117676, -1.0403977632522583, 0.5341230630874634, 0.36435386538505554, 0.2629508674144745, 0.03504710644483566, -0.7123235464096069, -0.5490972995758057, 0.19427429139614105, -0.28074121475219727, -0.8618738651275635, 0.3259280025959015, 0.23651964962482452, 0.33337950706481934, 0.5620386004447937, 0.21502919495105743, 0.6446806788444519, -0.3312106132507324, 0.4777062237262726, 0.11391022056341171, -1.1087210178375244, 0.8445209860801697, -0.4619523286819458, 0.6597290635108948, 0.6367819905281067, 0.42700785398483276, -0.360988587141037, -0.5704614520072937, -0.29452863335609436, -0.7645307183265686, 0.32160934805870056, 0.12807990610599518, 0.030819403007626534, 0.02708418481051922, 0.27639034390449524, 0.17700715363025665, 0.06636942923069, -0.6170486807823181, 0.35901471972465515, -0.04432862997055054, -0.1687549501657486, -0.10524013638496399, -0.290991872549057, 0.0007684633019380271, -0.2634071111679077, 0.456691175699234, -0.35734909772872925, 0.1472650170326233, 0.3643719255924225, -0.566408097743988, 0.2281389981508255, 0.4704553484916687, 0.5415781736373901, 0.8239767551422119, -0.2826441526412964, 0.1387278139591217, 0.19106191396713257, -0.527893602848053, -0.13885121047496796, 0.25102120637893677, 0.08621204644441605, 0.251325786113739, 0.5509036779403687, 0.439373642206192, -0.03074260614812374, -0.3692960739135742, 0.6041017174720764, -0.09976188093423843, -0.22075971961021423, -0.32850778102874756, 0.0027806279249489307, 0.22943344712257385, 0.2489871084690094, 0.5094505548477173, 0.011763745918869972, 0.4131198227405548, -0.5278190970420837, 0.31142374873161316, 0.1996212750673294, -0.27493205666542053, -0.15317560732364655, 0.34971317648887634, 0.2781752645969391, 0.19776244461536407, 0.5430159568786621, -0.2630005478858948, -0.856681227684021, 0.6743272542953491, 0.4548742175102234, 0.8841676115989685, 0.0350407212972641, -0.044281333684921265, 0.3526155948638916, 0.15482836961746216, -0.3003568947315216, 0.048295386135578156, -0.3099079132080078, -0.3729352355003357, -0.6568392515182495, -0.4857226610183716, -0.308500736951828, 0.0536331869661808, -0.6082723140716553, 0.31132736802101135, -0.12149008363485336, -0.06249005347490311, 0.22333423793315887, -0.17985975742340088, -0.22466811537742615, -0.08353226631879807, 0.12008635699748993, 0.8426707983016968, -0.7519034743309021, 0.8664941191673279, 0.4849756360054016, -0.3552370071411133, -0.22942562401294708, 0.3129654824733734, -0.2772287130355835, -0.48118388652801514, 0.5273082256317139, 0.5594780445098877, -0.128327876329422, -0.11275391280651093, -0.4623567759990692, -0.5787779092788696, 1.0810317993164062, 0.20339436829090118, -0.6206232905387878, -0.026242731139063835, -0.2699381113052368, 0.6799364686012268, -0.18002672493457794, 0.3104855418205261, 0.5284078121185303, 0.527097225189209, 0.024021252989768982, -0.6978707313537598, -0.11714424192905426, -0.11003318428993225, -0.22760090231895447, 0.6164294481277466, -0.12541411817073822, 0.8794699311256409, -0.32492148876190186, -0.3725271224975586, 0.026667693629860878, 0.8284948468208313, -0.06479538977146149, 0.5855339169502258, 0.5672497153282166, 0.4739229381084442, 0.8127933144569397, -0.012726150453090668, 0.7975006103515625, -0.23383890092372894, 0.40758734941482544, 1.281766414642334, -0.16869792342185974, 0.6289350390434265, 0.35227078199386597, 0.10256531089544296, 0.5021141171455383, 0.4417726695537567, 0.20426258444786072, 0.5691167116165161, 0.21577857434749603, -0.6285631060600281, -0.11101429164409637, -0.027773169800639153, -0.5497949123382568, 0.46205711364746094, 0.46847259998321533, -0.49341464042663574, -0.5753438472747803, 0.20330101251602173, 0.052161455154418945, 0.1600908637046814, -0.5298529267311096, 1.1276861429214478, 0.09250028431415558, -0.7506856322288513, 0.5113778114318848, -0.05982332304120064, 0.8689520359039307, -0.670414924621582, -0.14771027863025665, -0.23968373239040375, 0.2555748224258423, -0.1738978624343872, -0.9093140363693237, 0.6082357168197632, 0.09866854548454285, -0.49729326367378235, -0.08140242099761963, 1.1849385499954224, -0.5508162975311279, -0.43913131952285767, 0.5000352263450623, 0.5635582804679871, 0.11702413856983185, -0.7076783776283264, -0.11210507899522781, -0.5549906492233276, -0.0866202637553215, -0.08937184512615204, 0.43753769993782043, 0.7454819679260254, -0.0837993398308754, 0.5018358826637268, 0.7642683386802673, -0.2003551721572876, -0.30369457602500916, 0.01434824988245964, 1.0835891962051392, -0.6140384078025818, -0.7265409231185913, -1.0013607740402222, 0.47339269518852234, -0.3320915997028351, 0.025033988058567047, 0.3871951699256897, 0.46512654423713684, 0.6816047430038452, -0.2268889844417572, 0.8813994526863098, 0.12552553415298462, 0.41199955344200134, -0.6407439708709717, 1.0683544874191284, -0.43768590688705444, 0.06128361448645592, -0.05468810722231865, -0.783916711807251, -0.20180439949035645, 0.5431068539619446, -0.3600562810897827, -0.10317675024271011, 0.7772461771965027, 0.40578436851501465, -0.22440040111541748, 0.16131144762039185, 0.4239245355129242, -0.048280730843544006, 0.25276967883110046, 0.5638351440429688, 0.8236076235771179, -0.40191566944122314, 0.5813453197479248, -0.22657692432403564, -0.18917421996593475, -0.14490169286727905, -1.0033681392669678, -1.074317455291748, -0.4748244285583496, -0.17620304226875305, -0.18383675813674927, 0.32789990305900574, 0.3822537064552307, 0.532263994216919, -0.5457861423492432, 0.10268604755401611, -0.2247205376625061, 0.4937874972820282, -0.11835725605487823, -0.2896966338157654, 0.22246986627578735, -0.46582427620887756, -0.7626175880432129, 0.18145456910133362, 0.44930145144462585, 0.3190799951553345, 0.2219112366437912, 0.16748474538326263, -0.2759033441543579, -0.09234210848808289, 0.9410496950149536, 0.1184544637799263, -0.2377389669418335, -0.34288290143013, -0.2222863882780075, 0.013546704314649105, 0.13959190249443054, 0.7905059456825256, -0.6619735956192017, 0.36185362935066223, 0.7962871789932251, 0.5476955771446228, 0.6147932410240173, 0.17152860760688782, 0.6038434505462646, -0.7756849527359009, 0.08276139199733734, 0.13979150354862213, 0.45290133357048035, 0.22565799951553345, -0.5471200346946716, 0.5622918009757996, 0.017227141186594963, -0.5103430151939392, -0.21924340724945068, 0.21654565632343292, -0.86537104845047, -0.6449389457702637, 0.8692289590835571, -0.3905618190765381, -0.17885583639144897, -0.41746076941490173, -0.1691712886095047, 0.5661423802375793, -0.538265585899353, 0.5910285711288452, 0.7661116719245911, 0.11149754375219345, -0.2360081672668457, -0.41224557161331177, 0.27238044142723083, 0.12167516350746155, -1.0758123397827148, 0.30474504828453064, 0.4400359094142914, 0.3150852918624878, 0.2139541208744049, 0.5520838499069214, 0.026334814727306366, 0.21585221588611603, -0.3326975703239441, -0.048053305596113205, -0.2075105905532837, -0.31950393319129944, -0.54097980260849, -0.02795547805726528, -0.05630234628915787, -0.16465933620929718 ]
http://arxiv.org/abs/2405.04950v1
http://arxiv.org/pdf/2405.04950v1
VisionGraph: Leveraging Large Multimodal Models for Graph Theory Problems in Visual Context
2024-05-08T10:42:48
2024-05-08T10:42:48
Yunxin Li, Baotian Hu, Haoyuan Shi, Wei Wang, Longyue Wang, Min Zhang
cs.CV
cs.CV, cs.AI, cs.CL
Large Multimodal Models (LMMs) have achieved impressive success in visual understanding and reasoning, remarkably improving the performance of mathematical reasoning in a visual context. Yet, a challenging type of visual math lies in the multimodal graph theory problem, which demands that LMMs understand the graphical structures accurately and perform multi-step reasoning on the visual graph. Additionally, exploring multimodal graph theory problems will lead to more effective strategies in fields like biology, transportation, and robotics planning. To step forward in this direction, we are the first to design a benchmark named VisionGraph, used to explore the capabilities of advanced LMMs in solving multimodal graph theory problems. It encompasses eight complex graph problem tasks, from connectivity to shortest path problems. Subsequently, we present a Description-Program-Reasoning (DPR) chain to enhance the logical accuracy of reasoning processes through graphical structure description generation and algorithm-aware multi-step reasoning. Our extensive study shows that 1) GPT-4V outperforms Gemini Pro in multi-step graph reasoning; 2) All LMMs exhibit inferior perception accuracy for graphical structures, whether in zero/few-shot settings or with supervised fine-tuning (SFT), which further affects problem-solving performance; 3) DPR significantly improves the multi-step graph reasoning capabilities of LMMs and the GPT-4V (DPR) agent achieves SOTA performance.
[ -0.3893209993839264, -0.7935711145401001, 0.8852396011352539, 0.03470311313867569, -0.11615210026502609, 0.27002108097076416, 0.18629878759384155, -0.4819526970386505, 0.028472378849983215, 0.4518669545650482, -0.518827497959137, -0.4664982557296753, -0.5206360816955566, 0.09113223105669022, -0.13073597848415375, 0.502530574798584, -0.23122650384902954, 0.17539776861667633, -0.30883491039276123, -0.1556699126958847, -0.33089399337768555, -0.20506992936134338, -0.6832076907157898, -0.3822527527809143, 0.8574537038803101, 0.1380564421415329, 0.7145294547080994, 0.5521166920661926, 0.8007298111915588, 0.3950310945510864, 0.09316609054803848, 0.40302416682243347, -0.31662485003471375, -0.11832057684659958, -0.14647908508777618, -0.29799917340278625, -0.7330285906791687, -0.147187739610672, 0.7295547723770142, 0.7732604146003723, 0.20498627424240112, 0.002403868827968836, -0.15732648968696594, 0.8165424466133118, -0.64716637134552, 0.8631364703178406, -0.13822034001350403, 0.056155022233724594, -0.06238448619842529, -0.17602357268333435, -0.3981531262397766, -0.12332760542631149, -0.040015798062086105, -0.7544171214103699, -0.03708331659436226, 0.27033036947250366, 0.6199989318847656, 0.1985497772693634, -0.7023211717605591, 0.11958422511816025, -0.5996717810630798, 0.3401896357536316, -0.28586193919181824, 0.44437646865844727, -0.06124003976583481, 0.6707260608673096, -0.22388815879821777, -0.9441913366317749, -0.5547335743904114, -0.23728927969932556, 0.018237512558698654, 0.2905183434486389, -0.14012444019317627, 0.5215780735015869, 0.623406171798706, 0.0507674403488636, -0.678379237651825, -0.1925555169582367, -0.3900229334831238, -0.43539783358573914, 0.4056284725666046, 0.33153626322746277, -0.000020332321582827717, -0.24233566224575043, -0.44016727805137634, -0.32431069016456604, -0.42788875102996826, 0.09196010231971741, 0.1475980579853058, 0.2566782534122467, 0.14135390520095825, 0.5363101959228516, -0.3604736924171448, 0.9818248748779297, -0.38167378306388855, -0.2416643500328064, 0.4071214199066162, -0.5341630578041077, -0.1818075180053711, -0.2534022331237793, 0.6286516785621643, 0.6420917510986328, 0.3712243139743805, 0.221376433968544, -0.06256688386201859, 0.44888246059417725, 0.05826124921441078, -0.8556088805198669, -0.3782525956630707, 0.06800524890422821, -0.4021667242050171, -0.11630301177501678, -0.14323407411575317, -0.6983029246330261, -0.4260150194168091, -0.3647429943084717, 0.5329079627990723, -0.6254734992980957, -0.19392041862010956, 0.09629420191049576, -0.40882882475852966, -0.10323081910610199, 0.5978173017501831, -0.4374684989452362, 0.21343810856342316, 0.5331254601478577, 0.7156808376312256, 0.013919527642428875, -0.5376582145690918, -0.4620124399662018, 0.3565491735935211, -0.3736364245414734, 0.6314281225204468, -0.560850977897644, -0.07859276980161667, -0.2905559837818146, -0.12798576056957245, -0.24216137826442719, -0.3344902992248535, 0.2858739495277405, -0.27782419323921204, -0.2873818576335907, -0.3816758990287781, -0.37933212518692017, -0.5247704982757568, 0.7479829788208008, -0.5977944135665894, 0.6939977407455444, 0.06195046007633209, -0.7650651931762695, 0.34498289227485657, -0.7070894241333008, -0.4113159775733948, 0.11242811381816864, -0.3381754755973816, -0.16502268612384796, -0.17127738893032074, 0.30111590027809143, 0.4073525369167328, -0.08523036539554596, 0.13563299179077148, -0.4164700210094452, -0.35628756880760193, 0.12505142390727997, -0.25555557012557983, 0.5330385565757751, 0.19069834053516388, -0.09063149988651276, 0.3560963571071625, -0.7647150158882141, 0.21044571697711945, 0.30250054597854614, -0.018248628824949265, -0.0029211738146841526, -0.06024142727255821, -0.2367117702960968, 0.24341082572937012, 0.2314205765724182, -0.4326109290122986, 0.14905180037021637, 0.0020106479059904814, 0.6821731328964233, 0.7697431445121765, -0.20426584780216217, 0.04459329694509506, -0.059712085872888565, 0.36256229877471924, 0.12705178558826447, 0.44383886456489563, -0.5091387629508972, -0.6325443983078003, -0.6055119037628174, -0.3563994765281677, 0.09140538424253464, 0.47605210542678833, -1.11268949508667, -0.22185282409191132, -0.17922039330005646, -0.40350276231765747, 0.136068657040596, -0.21791639924049377, 0.5099310278892517, 0.6040329933166504, 0.47865086793899536, -0.43534544110298157, -0.2536485195159912, -0.8073303699493408, -0.15421074628829956, -0.21384385228157043, 0.37332218885421753, 0.5028236508369446, 0.6204338669776917, -0.25964513421058655, 0.797971785068512, -0.8651949763298035, -0.32311269640922546, -0.34286826848983765, -0.04721301421523094, 0.12350580096244812, 0.1372978240251541, 0.4918992519378662, -0.805045485496521, -0.42164257168769836, -0.058536700904369354, -0.8593802452087402, 0.1174900084733963, 0.16504794359207153, -0.012108133174479008, -0.09785124659538269, 0.46814852952957153, -0.7348813414573669, 0.32155948877334595, 0.5287305116653442, -0.402658611536026, 0.5718545317649841, -0.36823105812072754, 0.16639943420886993, -0.6338678002357483, 0.014828000217676163, 0.34268125891685486, -0.38326147198677063, -0.3694400191307068, 0.16724780201911926, 0.03863802179694176, -0.45148876309394836, -0.17618989944458008, 0.3275330662727356, -0.3845230042934418, -0.395108163356781, 0.014451193623244762, 0.31930556893348694, 0.161733016371727, 0.6093230247497559, -0.28659260272979736, 0.5059193968772888, 0.7201958894729614, -0.4578263759613037, 0.7594122290611267, 0.07485531270503998, -0.2798197567462921, 0.6195728182792664, -0.5248812437057495, -0.1003604605793953, -0.3599032163619995, 0.513096809387207, -1.162977933883667, -0.060209501534700394, 0.3785957992076874, -0.172041654586792, 0.17359887063503265, -0.08560729771852493, -0.565228283405304, -0.6493016481399536, 0.039943378418684006, 0.42962393164634705, 0.13985706865787506, -0.24140603840351105, 0.765679121017456, 0.16321539878845215, 0.20596618950366974, -0.49538448452949524, -0.24411416053771973, 0.12840156257152557, 0.054809872061014175, -0.792106032371521, 0.21910430490970612, -0.013896899297833443, -0.23951761424541473, -0.059269730001688004, -0.1196063756942749, 0.062217626720666885, -0.18637700378894806, 0.16879479587078094, 0.22634704411029816, 0.16993913054466248, 0.02911754697561264, -0.22719261050224304, -0.5357184410095215, 0.046325892210006714, -0.27867504954338074, 0.44946131110191345, -0.2843697965145111, -0.5615801215171814, -0.35684287548065186, 0.11276096105575562, 0.6390609741210938, -0.5345338582992554, 0.23294496536254883, 0.693455696105957, -0.09660811722278595, -0.10293664783239365, -0.26535704731941223, -0.2035786211490631, -0.4613192081451416, 0.5520333647727966, -0.745649516582489, -0.6177987456321716, 0.3233921229839325, -0.4580782651901245, -0.2543734312057495, 0.23240864276885986, 0.2506083846092224, -0.1475963443517685, 1.4247225522994995, 0.5312088131904602, 0.28102561831474304, 0.5526964068412781, -0.49061331152915955, 0.14226427674293518, -0.622486412525177, -0.30201563239097595, -0.0728401392698288, -0.4345535337924957, -0.416171133518219, -0.6177130937576294, 0.7065848708152771, -0.04542703181505203, -0.45138025283813477, 0.2978637218475342, -0.5441431999206543, 0.3119369447231293, 0.5011965036392212, 0.34225034713745117, 0.4066305458545685, 0.0032121571712195873, -0.38403818011283875, 0.057008806616067886, -0.7763316631317139, -0.15469947457313538, 0.863235354423523, 0.20184804499149323, 0.6994412541389465, -0.08747947961091995, 0.294762521982193, 0.08431479334831238, -0.033427391201257706, -0.5186061859130859, 0.9040100574493408, -0.16861799359321594, -0.4804956614971161, -0.21330636739730835, -0.6779270172119141, -0.6889241933822632, 0.48953887820243835, -0.1741349697113037, -0.6214287877082825, -0.06691483408212662, 0.4532321095466614, -0.041430361568927765, 0.216048002243042, -0.7155812382698059, 1.2063581943511963, -0.3221842050552368, -0.39736807346343994, -0.32859259843826294, -0.7568413615226746, 0.23497407138347626, 0.26055702567100525, 0.3350984752178192, -0.35860076546669006, 0.22159774601459503, 0.3595423102378845, -0.3996754288673401, 0.7782363295555115, -0.43789979815483093, 0.1966191828250885, 0.3928481340408325, 0.15833905339241028, 0.5816700458526611, -0.21160602569580078, 0.20647509396076202, 0.23832890391349792, 0.15004494786262512, -0.20714057981967926, -0.6185910105705261, 0.4309464693069458, -0.618301272392273, -0.4522831439971924, -0.31507161259651184, -0.7696730494499207, -0.20414911210536957, 0.48876380920410156, 0.01791575737297535, 0.6404227614402771, 0.15493857860565186, -0.03506975993514061, 0.29309073090553284, -0.0044649564661085606, 0.292295902967453, 0.12926320731639862, -0.5200549960136414, -0.3137141168117523, 0.997017502784729, 0.20137643814086914, 0.3684939742088318, 0.48441529273986816, 0.2899499833583832, -0.24184563755989075, -0.4978208541870117, -0.5837036967277527, 0.13873787224292755, -1.0088430643081665, -0.002183235250413418, -0.5750057101249695, -0.0773705318570137, -0.1525244414806366, 0.10569442063570023, -0.40681615471839905, -0.37007197737693787, 0.1991739571094513, 0.090878926217556, 0.1771591603755951, 0.4131122827529907, 0.05506683513522148, 0.04865744709968567, -0.4930184483528137, 0.4373379349708557, 0.46190038323402405, 0.3590085506439209, -0.12273678928613663, 0.10668821632862091, -0.16728147864341736, 0.038340792059898376, -0.4886486530303955, -0.5698378086090088, 0.028593966737389565, -0.02874612994492054, 0.493308961391449, 0.3794136047363281, -0.10827424377202988, 0.9384840726852417, -0.49498504400253296, 0.48866912722587585, 0.41657567024230957, -0.8484774827957153, 0.5046187043190002, -0.4523157775402069, 0.13130328059196472, 0.12751327455043793, 0.11506018042564392, -0.20573729276657104, -0.15675587952136993, -0.3727077841758728, -0.5392404198646545, 0.35664620995521545, 0.199998676776886, -0.3176814019680023, 0.13321250677108765, 0.26943641901016235, -0.2291395366191864, 0.34405267238616943, -0.5743340849876404, -0.13237856328487396, -0.47412988543510437, -0.21943533420562744, -0.2619020938873291, -0.059096042066812515, -0.368927925825119, -0.3302340805530548, 0.13387545943260193, -0.6777986288070679, 0.31094110012054443, 0.17289556562900543, 0.061000797897577286, -0.01579935848712921, -0.094121053814888, 0.4923664927482605, 1.2159535884857178, -0.04224007949233055, 0.40395382046699524, -0.018593009561300278, -0.2683916687965393, -0.047055330127477646, 0.20173250138759613, 0.044899117201566696, -0.31563130021095276, 0.5558664798736572, 0.8801004886627197, 0.03833428770303726, -0.7429900169372559, 0.6516963839530945, 0.2324899435043335, -0.2140488177537918, -0.06602095812559128, 0.19267435371875763, 0.07416759431362152, 0.6232627630233765, 0.1363310068845749, 0.21719248592853546, 0.17469283938407898, -0.5604270696640015, 0.013649122789502144, 0.49393385648727417, -0.3757599890232086, -0.1930181086063385, 0.8788498640060425, 0.1254575252532959, -0.03508201241493225, 0.7026171684265137, 0.03370211645960808, -0.5239953994750977, 0.8467257022857666, 0.512626051902771, 0.32752135396003723, 0.1413906067609787, 0.2462121844291687, 0.39189767837524414, 0.16045448184013367, -0.07588064670562744, 0.3221375346183777, 0.0031443405896425247, -0.9655477404594421, -0.60200434923172, -0.22321617603302002, -0.5638108253479004, -0.574119508266449, -0.35181304812431335, 0.15579873323440552, -0.6243444085121155, -0.390139102935791, 0.1575719565153122, -0.08622028678655624, -0.5181546807289124, 0.32516875863075256, 0.17307429015636444, 0.692628800868988, -0.5757966041564941, 0.5717881917953491, 0.6784096360206604, -0.4575626850128174, -0.7655275464057922, -0.4799266457557678, 0.06009634584188461, -0.9905228614807129, 0.7996227145195007, 0.3504866063594818, -0.3524746298789978, 0.12530513107776642, -0.47731447219848633, -0.6987614631652832, 1.3256382942199707, 0.40473756194114685, -0.5716957449913025, 0.12016881257295609, 0.023272912949323654, 0.36723122000694275, -0.354984849691391, 0.18678230047225952, 0.27197137475013733, 0.6008566617965698, 0.5149064660072327, -0.9562948942184448, 0.0804126113653183, -0.05558374524116516, 0.08092725276947021, 0.3547394871711731, -0.9749563336372375, 1.2450810670852661, -0.4939972162246704, 0.1137656643986702, -0.24248580634593964, 0.19234319031238556, 0.500362753868103, 0.5566084980964661, 0.6267107129096985, 0.6123276948928833, 0.5548644661903381, -0.20660990476608276, 1.0637321472167969, -0.3852308392524719, 0.30699265003204346, 0.7044944167137146, -0.4126949906349182, 0.3824792206287384, 0.3422102630138397, -0.254905104637146, 0.4898746907711029, 0.42581048607826233, -0.06660120189189911, 0.3977755904197693, 0.1874573826789856, 0.06832973659038544, -0.4809201955795288, -0.07039614021778107, -0.38528895378112793, 0.6518183350563049, 0.27638721466064453, -0.3399040400981903, -0.18454204499721527, 0.031832389533519745, -0.1037970706820488, -0.16877640783786774, -0.5283620357513428, 0.39155441522598267, 0.03996976837515831, -0.4452488124370575, 0.17093978822231293, 0.02734137326478958, -0.015423699282109737, -0.6113043427467346, -0.29728272557258606, 0.011611946858465672, 0.582257866859436, -0.15191558003425598, -0.837308943271637, 0.028179310262203217, -0.46505001187324524, -0.0028560073114931583, -0.357209175825119, 0.7014066576957703, -0.08920817822217941, -0.5110102295875549, 0.4063122570514679, 0.5171535015106201, 0.08607082813978195, -0.24547377228736877, -0.6412084698677063, 0.2608467638492584, -0.10653288662433624, -0.0029209780041128397, 0.22841013967990875, 0.47309479117393494, -0.14847585558891296, 1.054880976676941, 0.6167617440223694, -0.09717653691768646, -0.034516215324401855, 0.1729625165462494, 1.0614711046218872, -0.7205027937889099, -0.5518590211868286, -0.8985929489135742, 0.3957890272140503, -0.1845148503780365, -0.10511014610528946, 0.8381282687187195, 0.5713618397712708, 0.6968962550163269, 0.09855959564447403, 0.5813961029052734, -0.05766745284199715, 0.13315999507904053, -0.5633037686347961, 0.21062681078910828, -0.7387653589248657, -0.03152910992503166, -0.6098302602767944, -1.064631700515747, -0.456024169921875, 0.7771397829055786, -0.24216172099113464, 0.2782934010028839, 0.9029176831245422, 0.6906985640525818, 0.015447701327502728, -0.15250588953495026, 0.3480619490146637, 0.16693377494812012, 0.5317563414573669, 0.7131829857826233, 0.7926751375198364, -0.2452818751335144, 0.8566780090332031, -0.18521372973918915, -0.30107542872428894, -0.032608646899461746, -0.8054354190826416, -0.8558748364448547, -0.31908729672431946, -0.37440618872642517, -0.27646979689598083, -0.09657111018896103, 0.40025943517684937, 0.7577740550041199, -0.19181661307811737, -0.18113701045513153, -0.17792321741580963, 0.22582177817821503, -0.6709485650062561, -0.15555834770202637, 0.3669322431087494, -0.020702412351965904, -0.6106476187705994, 0.3912423253059387, 0.6983368992805481, -0.0774792805314064, -0.38812941312789917, -0.1196589320898056, 0.04397530108690262, -0.2622152268886566, 0.8522606492042542, 0.06476821005344391, -0.5444346070289612, -0.5077379941940308, -0.15307068824768066, 0.0002849322045221925, 0.1566823422908783, 0.8576573133468628, -0.7217327356338501, 0.813981831073761, 0.5508228540420532, 0.040813885629177094, 0.9084308743476868, 0.03082481026649475, 0.33661842346191406, -0.3938080370426178, 0.33431509137153625, 0.03444880247116089, 0.5813579559326172, 0.2093680202960968, 0.038122233003377914, 0.6001484990119934, 0.6066489815711975, -0.34277984499931335, -0.5586844086647034, 0.6166302561759949, -1.1296859979629517, -0.3060460388660431, 0.893600344657898, -0.08320238441228867, -0.21312502026557922, 0.08675714582204819, -0.3504529297351837, 0.18209458887577057, -0.12130524963140488, 0.35392332077026367, 0.37791675329208374, -0.65854412317276, -0.5822722315788269, -0.6435752511024475, 0.23254142701625824, -0.005046856123954058, -0.7554765939712524, -0.1539885699748993, 0.7209409475326538, 0.19644895195960999, 0.2378082275390625, 0.8663241267204285, -0.0152024757117033, 0.0526360459625721, 0.5346211194992065, -0.13400402665138245, -0.6481065154075623, -0.6637641787528992, 0.31700214743614197, 0.46336641907691956, -0.05100911483168602, -0.36865687370300293 ]
http://arxiv.org/abs/2405.06701v1
http://arxiv.org/pdf/2405.06701v1
Lightweight Spatial Modeling for Combinatorial Information Extraction From Documents
2024-05-08T10:10:38
2024-05-08T10:10:38
Yanfei Dong, Lambert Deng, Jiazheng Zhang, Xiaodong Yu, Ting Lin, Francesco Gelli, Soujanya Poria, Wee Sun Lee
cs.CL
cs.CL, cs.AI
Documents that consist of diverse templates and exhibit complex spatial structures pose a challenge for document entity classification. We propose KNN-former, which incorporates a new kind of spatial bias in attention calculation based on the K-nearest-neighbor (KNN) graph of document entities. We limit entities' attention only to their local radius defined by the KNN graph. We also use combinatorial matching to address the one-to-one mapping property that exists in many documents, where one field has only one corresponding entity. Moreover, our method is highly parameter-efficient compared to existing approaches in terms of the number of trainable parameters. Despite this, experiments across various datasets show our method outperforms baselines in most entity types. Many real-world documents exhibit combinatorial properties which can be leveraged as inductive biases to improve extraction accuracy, but existing datasets do not cover these documents. To facilitate future research into these types of documents, we release a new ID document dataset that covers diverse templates and languages. We also release enhanced annotations for an existing dataset.
[ -0.4971541464328766, -0.6524741053581238, 0.5973420143127441, -0.058995913714170456, -0.11344918608665466, -0.28517523407936096, -0.3466571271419525, -0.5281904339790344, 0.2986406087875366, 0.5614151358604431, -0.448234498500824, -0.6924984455108643, -0.7404128909111023, -0.08218345046043396, -0.34797126054763794, 0.8983710408210754, -0.06793926656246185, -0.014454079791903496, -0.5154734253883362, -0.47366824746131897, -0.14763601124286652, -0.4227154850959778, -0.0008699272875674069, -0.18362437188625336, 0.7636439204216003, 0.42339855432510376, 0.5357486605644226, 0.6047572493553162, 0.6696868538856506, 0.39229750633239746, -0.0153795862570405, -0.002000784734264016, -0.5889058709144592, 0.02909175492823124, -0.2641892731189728, -0.5396936535835266, -0.3215174078941345, 0.16378967463970184, 0.7189370393753052, 1.0999994277954102, 0.15587855875492096, 0.02202467806637287, -0.324505090713501, 0.6155967116355896, -0.5560935139656067, 0.33244290947914124, -0.8350630402565002, 0.1787753403186798, -0.7121057510375977, -0.032082267105579376, -0.35203516483306885, -0.26360973715782166, 0.5193910598754883, -1.0190168619155884, 0.5552940964698792, 0.2672305107116699, 1.06391179561615, 0.043792419135570526, -0.5316603183746338, -0.37495145201683044, -0.705969512462616, 0.6202452778816223, -0.3613913953304291, 0.7151979207992554, 0.6439434289932251, 0.2399442195892334, -0.19249330461025238, -0.6856886744499207, -0.42383888363838196, 0.08054108917713165, -0.16642163693904877, 0.2932770550251007, 0.034536562860012054, -0.37287813425064087, 0.45460745692253113, 0.16656945645809174, -0.6195172667503357, 0.09957583993673325, -0.4731844365596771, 0.17165830731391907, 0.23998887836933136, 0.0204376969486475, 0.25469574332237244, -0.3876170814037323, -0.21182452142238617, -0.08828209340572357, -0.5149160623550415, -0.24806708097457886, 0.44301360845565796, 0.3064347803592682, -0.04934681951999664, 0.5387470722198486, -0.14456695318222046, 0.5258356928825378, 0.20667734742164612, -0.37701407074928284, 0.24574242532253265, -0.32539308071136475, 0.04839580878615379, 0.03408936411142349, 0.5345922112464905, 0.3092013895511627, -0.07435775548219681, -0.6782660484313965, 0.09646771103143692, -0.10784953087568283, 0.44264325499534607, -0.632845938205719, -0.5643283724784851, -0.21854914724826813, -0.6822707653045654, -0.25165876746177673, 0.22770000994205475, -1.168298363685608, -0.27834492921829224, -0.39537400007247925, -0.10166119784116745, -0.6152799129486084, -0.14253193140029907, -0.4010903239250183, -0.3204008638858795, 0.04865255579352379, 0.4415735900402069, -0.9309541583061218, 0.2548975944519043, 0.6598562002182007, 0.8836052417755127, -0.3641701638698578, -0.36368194222450256, -0.1302196979522705, 0.299360066652298, -0.11788593977689743, 1.081849455833435, -0.86668461561203, -0.41280627250671387, -0.20165406167507172, -0.054296910762786865, -0.09547664225101471, -0.5515345931053162, 0.6327024698257446, -0.7383318543434143, 0.25081002712249756, -0.5275653004646301, -0.3619377613067627, -0.09421630948781967, 0.29698899388313293, -0.9890544414520264, 1.2797911167144775, 0.8494786024093628, -1.0842230319976807, 0.8196848630905151, -0.4676179885864258, -0.4541410505771637, 0.20409701764583588, -0.29605168104171753, -0.6085184812545776, -0.017698900774121284, 0.214877650141716, 0.009776015765964985, -0.09022802114486694, 0.08455850929021835, -0.746238648891449, -0.11987285315990448, 0.0023958582896739244, 0.10488296300172806, 0.6186491250991821, 0.15591886639595032, -0.1446680873632431, -0.026498189195990562, -0.8852000832557678, -0.21657578647136688, 0.2599033713340759, -0.4477466940879822, -0.8539848327636719, -0.11745499819517136, 0.12056682258844376, 0.42459210753440857, 0.23108495771884918, -0.6462793350219727, 0.42232486605644226, -0.44768470525741577, 0.09668788313865662, 0.6121257543563843, 0.032925624400377274, 1.2637361288070679, -0.33132076263427734, 0.4534309506416321, 0.162673220038414, -0.11090395599603653, 0.12283636629581451, -0.3243730068206787, -0.4278889298439026, -0.5851043462753296, 0.517582893371582, 0.3348185122013092, -0.6508844494819641, 0.503111720085144, -0.8323391675949097, -0.633202850818634, -0.1276175081729889, 0.11609131097793579, 0.08193155378103256, 0.7484594583511353, -0.11305741220712662, -0.24121011793613434, -0.6804604530334473, -0.8274452686309814, -0.026866650208830833, 0.11910754442214966, 0.19812551140785217, 0.8207391500473022, 0.529212236404419, -0.26051661372184753, 1.0127434730529785, -0.5493432879447937, -0.32611992955207825, -0.06883968412876129, 0.23438718914985657, 0.11755754053592682, 0.2655874788761139, 0.8319019079208374, -1.0658494234085083, -0.575931966304779, 0.2903837561607361, -0.7464955449104309, -0.07880493253469467, -0.08896256983280182, -0.6579286456108093, -0.039225053042173386, 0.3385733664035797, -0.8146846890449524, 0.5941920876502991, -0.04184401035308838, -0.05380980297923088, 0.27025914192199707, 0.010893089696764946, -0.05691133812069893, -0.8392382860183716, 0.16073530912399292, 0.06021733582019806, 0.005626368802040815, -0.3595500886440277, 0.1853780448436737, 0.13589371740818024, -0.36793583631515503, -0.08760806918144226, 0.7175507545471191, -0.5576646327972412, -0.6234596371650696, 0.04065115004777908, 0.4608428478240967, 0.06905998289585114, 0.6018659472465515, 0.06668456643819809, 0.41055232286453247, 0.2479867786169052, -0.3318689167499542, 0.07905274629592896, 0.5089799165725708, -0.5360832810401917, 0.6902070045471191, -0.08574070036411285, 0.1817333996295929, -0.4738975465297699, 0.39097487926483154, -0.7620785236358643, -0.218349426984787, 0.2557384669780731, -0.20548832416534424, 0.431047648191452, -0.3531099557876587, -0.8195322751998901, -0.5388157367706299, -0.2995888590812683, 0.3464600741863251, -0.04376804828643799, -0.6941768527030945, 0.8343213796615601, 0.3745654225349426, -0.3064277172088623, -0.026412002742290497, -0.4091953933238983, -0.3082374036312103, -0.27922025322914124, -0.6547257900238037, 0.4099999666213989, 0.04641970247030258, -0.163019597530365, 0.3992389142513275, -0.2339174449443817, -0.30185413360595703, 0.21385417878627777, 0.5630862712860107, 0.3169473707675934, -0.036687638610601425, -0.10829854756593704, 0.0033072172664105892, -0.12622009217739105, -0.11659218370914459, -0.44718050956726074, 0.4611952304840088, 0.36762526631355286, -0.18620270490646362, 0.1318274736404419, 0.8324667811393738, 0.5935542583465576, -0.40333548188209534, 0.5134937763214111, 0.6810265779495239, -0.6430550217628479, -0.2137964367866516, -0.3085082769393921, 0.013137412257492542, -0.4108547270298004, 0.5117203593254089, -0.5499942898750305, -0.6226449012756348, 0.7272122502326965, -0.30240169167518616, 0.116180419921875, 0.3203795254230499, 0.3008056879043579, -0.24559609591960907, 0.732926607131958, 0.4325542747974396, -0.09014799445867538, 0.8514634966850281, -0.2987987697124481, 0.4473694860935211, -0.9337100386619568, -0.456684410572052, -0.8633787035942078, -0.5321491360664368, -0.33893707394599915, -0.154121533036232, 0.44442474842071533, 0.2361328899860382, 0.11694664508104324, 0.294149249792099, -0.5095317363739014, 0.3554261326789856, 0.8265522718429565, 0.04447872191667557, -0.22930610179901123, 0.333231121301651, -0.36729684472084045, -0.5500571727752686, -0.7779785990715027, -0.16957396268844604, 1.0839561223983765, -0.04817228019237518, 0.4421076774597168, 0.29645177721977234, 0.7865424156188965, 0.008455733768641949, 0.6120932102203369, -0.5034292340278625, 0.3874509036540985, -0.3108946681022644, -0.5109468102455139, -0.22421492636203766, -0.5894994735717773, -1.154105544090271, 0.3145614266395569, -0.21131600439548492, -1.0187968015670776, 0.40536248683929443, -0.33699163794517517, -0.06408772617578506, 0.3113328218460083, -0.8042869567871094, 0.7653254866600037, -0.20182110369205475, -0.10083737969398499, 0.3417273461818695, -0.3354887366294861, 0.25593823194503784, -0.28382542729377747, 0.12623611092567444, 0.054413195699453354, 0.16254964470863342, 0.7238540053367615, -0.5718332529067993, 0.47746574878692627, -0.17999987304210663, 0.1912088841199875, 0.05612755939364433, 0.18798604607582092, 0.8182240128517151, -0.09807579964399338, -0.2468828707933426, 0.18022117018699646, -0.12584057450294495, -0.44642770290374756, -0.8480960726737976, 0.9568373560905457, -0.8400250673294067, -0.18468546867370605, -0.32758572697639465, -0.869437038898468, -0.015297156758606434, 0.6766127943992615, 0.5674487352371216, 0.5078381896018982, 0.09162213653326035, 0.18942031264305115, 0.6376421451568604, 0.25503188371658325, 0.2880061864852905, 0.510281503200531, -0.050279825925827026, -0.5329726338386536, 0.9428196549415588, 0.7027711868286133, -0.3832254707813263, 0.5862302780151367, 0.07130082696676254, -0.4021282196044922, -0.7246121168136597, -0.14332853257656097, 0.14767423272132874, -0.8796422481536865, -0.19908376038074493, -1.1231167316436768, 0.017863940447568893, -0.6320470571517944, -0.5403692722320557, -0.06271540373563766, -0.35544058680534363, -0.47600576281547546, -0.17777955532073975, 0.11077003180980682, 0.7128660082817078, 0.2678457796573639, 0.2059045135974884, -0.6351369023323059, 0.41474926471710205, 0.09573223441839218, 0.36597898602485657, 0.1785997748374939, -0.20297974348068237, -0.26960787177085876, -0.4583152234554291, -0.0662161260843277, -0.9905903339385986, 0.2771390378475189, -0.10625573247671127, 0.8474417924880981, 0.4566572308540344, 0.11506711691617966, 0.6631325483322144, -0.4092331826686859, 0.41470059752464294, -0.06584221124649048, -0.3869435787200928, 0.6041712164878845, -0.6859138607978821, 0.4428900182247162, 0.8008360862731934, 0.39461883902549744, -0.28070902824401855, -0.13078109920024872, -0.8209099173545837, -1.0786885023117065, 0.9823740124702454, 0.0896533951163292, -0.49941912293434143, -0.12358853220939636, 0.5341958403587341, 0.23667386174201965, -0.019968267530202866, -0.643886148929596, -0.16638870537281036, -0.15225109457969666, -0.4024618864059448, 0.4321306645870209, -0.27338728308677673, -0.01569523848593235, -0.07548803091049194, 0.49842315912246704, 0.13043609261512756, 0.2569263279438019, 0.3136485517024994, -0.45305031538009644, -0.02461332269012928, -0.06151958554983139, 0.5759995579719543, 0.5688005685806274, -0.45425868034362793, 0.1632365882396698, 0.01158708706498146, -0.5147625207901001, -0.2627139985561371, 0.44131696224212646, -0.6860527396202087, 0.22366644442081451, 0.47024857997894287, 0.4635511636734009, 0.6673535704612732, -0.162494957447052, 0.43695610761642456, -0.09473800659179688, -0.2916103005409241, -0.23261713981628418, -0.18565410375595093, -0.16491428017616272, 0.09778081625699997, 0.08198835700750351, 0.29705438017845154, 0.2737133800983429, -0.2294355034828186, 0.35566484928131104, 0.28992465138435364, -0.30239138007164, -0.29082247614860535, 0.4941558241844177, 0.15709160268306732, -0.27100610733032227, 0.7439782619476318, -0.6710472702980042, -0.500159502029419, 0.5890284180641174, 0.5767094492912292, 0.6545953750610352, 0.3481076657772064, -0.007330203428864479, 0.48144030570983887, 0.17959758639335632, 0.21452341973781586, 0.060988906770944595, -0.3738833963871002, -0.49743250012397766, 0.2698977291584015, -0.4116784632205963, 0.030940428376197815, 0.09608668833971024, -0.6390242576599121, -0.009317616932094097, -0.6413364410400391, -0.23874932527542114, 0.3137870728969574, 0.2872426211833954, -0.9041129946708679, -0.1542118489742279, -0.030402664095163345, 0.7515527009963989, -0.5356633067131042, 0.8769249320030212, 0.92603600025177, -0.3609600365161896, -0.415151983499527, -0.28025197982788086, 0.0012028507189825177, -0.20346149802207947, 0.743631899356842, 0.12036067992448807, 0.35115277767181396, -0.23305743932724, -0.4574180841445923, -1.150233268737793, 1.2672048807144165, 0.09627839922904968, -0.6435431241989136, -0.3362220227718353, -0.06284065544605255, 0.17866526544094086, -0.4058128297328949, 0.10015806555747986, 0.24117018282413483, 0.5716041326522827, -0.2564700245857239, -0.34418579936027527, -0.19962064921855927, -0.45326685905456543, 0.15972767770290375, 0.5408350229263306, -0.48545220494270325, 0.753602921962738, 0.10024101287126541, -0.36091724038124084, 0.13928693532943726, 0.5822275280952454, 0.22152218222618103, 0.3759361505508423, 0.548852264881134, 1.0450953245162964, 1.0996936559677124, -0.2469908595085144, 1.264288306236267, -0.08294888585805893, 0.21952925622463226, 1.5747877359390259, -0.6720132827758789, 0.48668041825294495, 0.3062410056591034, -0.1100369244813919, 0.420984148979187, 0.5251944661140442, -0.18771541118621826, 0.7741920948028564, 0.019788948819041252, -0.009949380531907082, 0.037401918321847916, -0.2249521166086197, -0.1437448263168335, 0.30198946595191956, 0.26671966910362244, -0.28828057646751404, -0.4657537639141083, -0.0456961914896965, 0.008520552888512611, 0.24717845022678375, -0.07515092939138412, 0.7986558675765991, -0.21514780819416046, -0.46389085054397583, -0.29726091027259827, 0.18907548487186432, 0.4670352637767792, -0.5361747741699219, -0.03871290013194084, -0.2789415121078491, 0.015295601449906826, -0.16859450936317444, -0.5000014305114746, 0.04487001523375511, -0.21709668636322021, -0.9682436585426331, -0.05628829076886177, 0.9337354898452759, -0.49672114849090576, -0.6401864290237427, 0.261494517326355, 0.11372247338294983, 0.03581655025482178, 0.07667860388755798, -0.6028663516044617, 0.08026008307933807, -0.13844868540763855, 0.06173247843980789, 0.49221739172935486, 0.911078691482544, -0.36923855543136597, 0.30808889865875244, 0.9953832626342773, 0.14644934237003326, 0.4153987169265747, 0.17806828022003174, 0.8677479028701782, -0.5368449091911316, -0.8712239265441895, -0.2984839975833893, 0.11093495786190033, -0.4367842376232147, -0.38760316371917725, 0.7591053247451782, 0.8225283622741699, 0.8639246821403503, 0.0483209565281868, 0.6162004470825195, 0.11654813587665558, 0.3849721848964691, -0.31172242760658264, 0.6323640942573547, -0.15030530095100403, 0.0018087381031364202, -0.42387527227401733, -1.1654455661773682, -0.15128956735134125, 0.5901706218719482, -0.6596453189849854, 0.06519150733947754, 0.7387481927871704, 0.5300635099411011, -0.2786126136779785, -0.05142168328166008, 0.0680091455578804, -0.053737103939056396, 0.370802104473114, 0.3654525578022003, 0.5627874732017517, -0.442819207906723, 0.6169356107711792, -0.6046386361122131, 0.04530274122953415, -0.2200697362422943, -0.6110875606536865, -0.8511209487915039, -0.6930053234100342, -0.3111124038696289, -0.26786309480667114, -0.20207224786281586, 0.3916885256767273, 1.1389151811599731, -0.5352292656898499, 0.6058996319770813, 0.04259872809052467, 0.39178383350372314, 0.18644732236862183, -0.32529476284980774, 0.6022456884384155, 0.04414113983511925, -0.5721762776374817, 0.2100512981414795, 0.6047266125679016, 0.06869906187057495, 0.13242483139038086, -0.009763568639755249, -0.4448736906051636, -0.31134530901908875, 0.4097532033920288, 0.22086113691329956, -0.6106647849082947, -0.14511558413505554, -0.1299561709165573, -0.3629321753978729, 0.2197149097919464, 0.9217590689659119, -0.43191367387771606, 0.5766630172729492, 0.569523274898529, 0.7322688698768616, 0.6829788684844971, 0.10258235037326813, 0.09278260916471481, -0.9897254109382629, 0.510502815246582, 0.1851564645767212, 0.5923811197280884, 0.37482690811157227, -0.6096004247665405, 0.4885018467903137, 0.4582487642765045, -0.41979947686195374, -0.6226022243499756, 0.09563241899013519, -1.2050668001174927, -0.21830418705940247, 0.8731279969215393, -0.2610284388065338, -0.6023954153060913, -0.263264000415802, -0.17144592106342316, -0.03799082711338997, -0.6129881143569946, 0.5260701775550842, 0.8292691111564636, 0.29277920722961426, -0.2578578293323517, -0.35895276069641113, 0.03288542106747627, 0.20652014017105103, -0.8357818126678467, -0.17050309479236603, 0.6300318241119385, 0.11730699241161346, 0.5025351643562317, 0.7222161293029785, -0.4012394845485687, 0.3175126910209656, 0.32774561643600464, -0.02542242780327797, 0.018991395831108093, -0.5202664732933044, -0.01520628947764635, 0.33466964960098267, -0.13285060226917267, 0.06881370395421982 ]
http://arxiv.org/abs/2405.05294v1
http://arxiv.org/pdf/2405.05294v1
Harmonizing Program Induction with Rate-Distortion Theory
2024-05-08T10:03:50
2024-05-08T10:03:50
Hanqi Zhou, David G. Nagy, Charley M. Wu
cs.HC
cs.HC, cs.CL, cs.IT, cs.LG, cs.SC, math.IT, stat.ML
Many aspects of human learning have been proposed as a process of constructing mental programs: from acquiring symbolic number representations to intuitive theories about the world. In parallel, there is a long-tradition of using information processing to model human cognition through Rate Distortion Theory (RDT). Yet, it is still poorly understood how to apply RDT when mental representations take the form of programs. In this work, we adapt RDT by proposing a three way trade-off among rate (description length), distortion (error), and computational costs (search budget). We use simulations on a melody task to study the implications of this trade-off, and show that constructing a shared program library across tasks provides global benefits. However, this comes at the cost of sensitivity to curricula, which is also characteristic of human learners. Finally, we use methods from partial information decomposition to generate training curricula that induce more effective libraries and better generalization.
[ -0.5361082553863525, -0.4479047358036041, 0.25112223625183105, 0.3648333251476288, -0.13200195133686066, -0.12005192786455154, -0.5724257826805115, -0.6131721138954163, 0.17588946223258972, 0.04255025461316109, -0.54618901014328, 0.1384698897600174, -0.3283947706222534, -0.002764596603810787, -0.3562825620174408, 0.8981600999832153, 0.04673099145293236, 0.20621536672115326, -0.1821153163909912, 0.2548890709877014, -0.7117255926132202, -0.5345216393470764, -0.8633692860603333, -0.6315178275108337, 0.3758006691932678, 0.1481805443763733, 0.43337559700012207, 0.4098561704158783, 0.6345607042312622, 0.08097571134567261, 0.25392067432403564, -0.14601299166679382, -0.48431137204170227, 0.004904713947325945, -0.14122502505779266, -0.7128656506538391, -0.25830450654029846, 0.22900183498859406, 0.5910208225250244, 0.8545581698417664, -0.21286089718341827, 0.0898936539888382, 0.4819728136062622, 0.7846363186836243, -0.542156457901001, 0.5395878553390503, -0.4869048595428467, 0.12550993263721466, -0.12746025621891022, -0.48213741183280945, -0.4207442104816437, -0.29446926712989807, 0.27042460441589355, -0.7342759966850281, 0.6578097343444824, -0.2800290584564209, 0.6682904958724976, 0.30769816040992737, -0.06357168406248093, -0.2682320475578308, -0.8013744950294495, 0.9107576608657837, -0.15203213691711426, 0.2699003219604492, 0.5123840570449829, 0.08233778923749924, -0.15640495717525482, -0.3611498475074768, -0.4279034435749054, 0.04152575880289078, 0.08069083094596863, 0.33750179409980774, -0.05853164568543434, 0.3052159547805786, 0.545204222202301, 0.5072765946388245, -0.4714282155036926, -0.44460105895996094, -0.6813801527023315, -0.15844014286994934, 0.5740980505943298, 0.2222125083208084, 0.2816627323627472, -0.036174576729536057, -0.22556257247924805, -0.3503461480140686, -0.5171088576316833, 0.0064904517494142056, 0.36180001497268677, 0.45100948214530945, -0.17134268581867218, 0.33965593576431274, 0.013676127418875694, 0.8017549514770508, 0.10864263772964478, 0.13241957128047943, 0.22704732418060303, -0.43380293250083923, -0.11253093183040619, 0.08589977025985718, 0.44063466787338257, 0.28050994873046875, 0.21628566086292267, -0.19453181326389313, -0.15530836582183838, 0.6512486934661865, 0.7254250645637512, -0.6598759889602661, -0.15930233895778656, -0.04309067502617836, -0.4054897427558899, -0.442139595746994, 0.127858966588974, -0.5620496273040771, -0.16621549427509308, -0.6926100254058838, 0.5245282053947449, -0.4760259687900543, -0.1008794829249382, 0.4075160324573517, -0.15216264128684998, 0.17246639728546143, 0.2144029587507248, -0.9509832262992859, 0.4012572765350342, 0.4726030230522156, 0.920287549495697, -0.2628859281539917, -0.317034512758255, -0.19800731539726257, 0.0799548476934433, -0.1283000260591507, 0.4900383949279785, -0.24499107897281647, -0.524520993232727, -0.1412835568189621, -0.38532423973083496, 0.0671234056353569, -0.5441374182701111, 0.5264416933059692, -0.44652968645095825, 0.2604285180568695, -0.47609806060791016, -0.48196497559547424, 0.05015558376908302, -0.017820080742239952, -0.9837127923965454, 0.9630341529846191, 0.5828403234481812, -1.0581284761428833, 0.39920955896377563, -1.0480495691299438, -0.7412082552909851, -0.23455145955085754, -0.0158671997487545, -0.3362686336040497, 0.2205241173505783, -0.04749014228582382, 0.07652925699949265, -0.2831820845603943, 0.3698975145816803, -0.13233239948749542, -0.9140186309814453, 0.15206381678581238, -0.5296348333358765, 1.0933377742767334, 0.37319889664649963, -0.5493268966674805, -0.3023749887943268, -0.5898481011390686, -0.17825524508953094, -0.04037468880414963, -0.7839375138282776, -0.522926390171051, -0.20401661098003387, -0.07347992807626724, 0.15527229011058807, -0.07707974314689636, -0.38014447689056396, 0.4355192482471466, -0.48158809542655945, 0.3177846670150757, 0.7312486171722412, -0.052311353385448456, 0.6277048587799072, -0.6299228668212891, 0.5222381949424744, -0.07643809914588928, 0.3090553283691406, 0.2464866042137146, -0.4619755148887634, -0.748414933681488, -0.03308398276567459, -0.006959119811654091, 0.31630784273147583, -0.6369429230690002, 0.1169838234782219, -0.286316841840744, 0.09041015803813934, -0.7189813256263733, -0.021088676527142525, 0.23366302251815796, 0.09704211354255676, 0.4341910183429718, -0.7533437013626099, -0.862443208694458, -0.4381486177444458, -0.47187599539756775, -0.2359548956155777, -0.2106124758720398, -0.041779741644859314, 0.1970479041337967, 0.19556038081645966, 0.782881498336792, -0.3393101990222931, -0.29625898599624634, -0.25505128502845764, 0.1965319663286209, 0.2669229507446289, 0.4489060938358307, 0.24838168919086456, -0.503160834312439, -0.4037776589393616, -0.4113575220108032, -0.3420937657356262, -0.1588207334280014, -0.3537471294403076, -0.3643086850643158, 0.12755070626735687, -0.1725732982158661, -0.5132513642311096, 0.6062279939651489, 0.35161563754081726, -0.20338431000709534, 0.5701569318771362, -0.05460098013281822, 0.02287602238357067, -0.916205883026123, -0.1480700969696045, -0.0004905402893200517, 0.20882892608642578, -0.420377254486084, 0.042633142322301865, 0.09975026547908783, 0.0714448019862175, -0.0847974345088005, 0.33636295795440674, -0.36736252903938293, -0.3505944311618805, -0.2654411792755127, 0.01676470972597599, 0.15410152077674866, 0.562975287437439, -0.0628008022904396, 0.9053516983985901, 0.4138936400413513, -0.6189433932304382, 0.2993105351924896, 0.04717964306473732, -0.35256844758987427, 0.9021634459495544, -0.33164462447166443, -0.13235710561275482, -0.13022133708000183, 0.34153813123703003, -0.20104610919952393, -0.25097328424453735, 0.15970319509506226, -0.45289433002471924, 0.40103352069854736, -0.1424952894449234, -0.1837637573480606, -0.32593172788619995, -0.5014836192131042, 0.4965198338031769, 0.6517974734306335, -0.47671762108802795, 0.2983316481113434, 0.12020418792963028, 0.35464218258857727, -0.5919967293739319, -0.7500892877578735, -0.1537621170282364, -0.3018365800380707, -0.5385438799858093, 0.7435660362243652, -0.19482554495334625, -0.353298544883728, 0.13090632855892181, -0.31894543766975403, -0.10816486924886703, 0.19865985214710236, 0.4263269603252411, 0.5074552297592163, -0.0032254804391413927, 0.17373546957969666, -0.16986319422721863, 0.08974221348762512, 0.18449194729328156, -0.7604517340660095, 0.5583489537239075, -0.04175823926925659, -0.4146602749824524, -0.6070317625999451, 0.15889804065227509, 0.29901084303855896, -0.1530056744813919, 0.5580028891563416, 0.7215391993522644, -0.08225309103727341, -0.26068761944770813, -0.24123768508434296, -0.3431238532066345, -0.3608090877532959, 0.20910333096981049, -0.2405100017786026, -0.6295100450515747, 0.2878038287162781, 0.34175243973731995, -0.020963484421372414, 0.04201404005289078, 0.6804423332214355, 0.08846397697925568, 0.7931317090988159, 0.4665254056453705, -0.11440274119377136, 0.9719613194465637, -0.5978088974952698, 0.14208604395389557, -0.896976888179779, -0.1320342868566513, -0.38471344113349915, -0.4098833501338959, -0.19021090865135193, -0.657569944858551, 0.31223204731941223, 0.1725306659936905, -0.37303629517555237, 0.21417751908302307, -0.5296233892440796, 0.5858866572380066, 1.1086509227752686, 0.3572935461997986, 0.3539700210094452, 0.4956044852733612, 0.09900977462530136, 0.07229930907487869, -0.6264669895172119, -0.009092136286199093, 1.4258922338485718, -0.12595400214195251, 0.8780933618545532, -0.059056494385004044, 1.1322963237762451, 0.3763449788093567, 0.413720041513443, -0.8188040852546692, 0.08488558232784271, 0.0021452712826430798, -0.6715388298034668, -0.3264544606208801, -0.6414167881011963, -0.8884651064872742, 0.029480749741196632, -0.09399455040693283, -0.3790753483772278, 0.040249429643154144, 0.31068935990333557, -0.20045015215873718, 0.24543441832065582, -0.49640172719955444, 0.6288532614707947, -0.07649744302034378, -0.5006747245788574, -0.5025410056114197, -0.35731807351112366, 0.48238927125930786, -0.17231488227844238, 0.31927743554115295, 0.03722053021192551, 0.5762534737586975, 0.7582249641418457, -0.10797969251871109, 0.7396427989006042, -0.3738004267215729, 0.13896219432353973, 0.492794930934906, 0.29953768849372864, 0.4256932735443115, -0.03625931963324547, -0.23175013065338135, -0.055836793035268784, -0.058093879371881485, -0.6613264679908752, -0.6603586673736572, 0.5090586543083191, -0.936235785484314, -0.33394119143486023, -0.25399166345596313, -0.9601216316223145, -0.1641317754983902, -0.03874344751238823, 0.3607865571975708, 0.5227612257003784, -0.12139070779085159, -0.2138090878725052, 0.5534481406211853, -0.165684312582016, -0.0029801391065120697, 0.06093086302280426, 0.003104638075456023, -0.06642193347215652, 0.9007239937782288, -0.04880461096763611, 0.6773287653923035, 0.2359580546617508, 0.17151913046836853, 0.007141721900552511, -0.18624921143054962, 0.14006265997886658, 0.051377177238464355, -0.6927289962768555, -0.11779477447271347, -0.16156600415706635, 0.025313688442111015, -0.26067396998405457, -0.29555314779281616, -0.11725875735282898, -0.6047294735908508, -0.20027966797351837, -0.16762413084506989, 0.09938275814056396, 0.6407442092895508, -0.50994873046875, 0.284834623336792, -0.22610794007778168, 0.2647727131843567, 0.258831262588501, 0.4928916096687317, 0.2963958978652954, -0.4486371576786041, -0.5392187237739563, 0.3521251082420349, -0.58154296875, -0.6008710265159607, 0.1539415568113327, 0.23892876505851746, 0.5167457461357117, 0.25308844447135925, 0.3471178412437439, 0.7120422720909119, -0.13376738131046295, 0.704093337059021, 0.3233405649662018, -0.9413663744926453, 0.45634719729423523, 0.040636587888002396, -0.02586895227432251, 0.3119637370109558, 0.18493865430355072, -0.6957526803016663, -0.5683255195617676, -0.7017707824707031, -0.671639084815979, 0.9987836480140686, 0.29986101388931274, 0.21986985206604004, -0.11091485619544983, 0.21929357945919037, 0.004683562088757753, -0.29506945610046387, -0.7298691868782043, -0.20655880868434906, -0.38831403851509094, -0.2395246922969818, 0.19272294640541077, -0.027468180283904076, -0.29706400632858276, -0.2763485312461853, 0.8143385052680969, 0.18336549401283264, 0.498501181602478, 0.17238600552082062, -0.052226971834897995, -0.23286235332489014, 0.3685593008995056, 0.41364786028862, 0.3139539659023285, -0.30665507912635803, 0.4141088128089905, -0.1522572636604309, -0.6279150247573853, 0.3830423951148987, -0.311894029378891, -0.378104567527771, -0.15397542715072632, 0.34213635325431824, 0.8579573035240173, 0.19215478003025055, -0.3321009874343872, 0.520429253578186, -0.3045436143875122, -0.1761808842420578, -0.03743889182806015, 0.3359270691871643, 0.02917637676000595, 0.22858676314353943, 0.01015743799507618, 0.3273874819278717, 0.08342353254556656, -0.39042195677757263, 0.24297216534614563, 0.3553852140903473, -0.36282235383987427, -0.49007028341293335, 0.7081986665725708, 0.12342067807912827, -0.19955165684223175, 0.9399136304855347, -0.25889337062835693, -0.43398189544677734, 0.5593811273574829, 0.8539109826087952, 0.9105200171470642, 0.009949362836778164, 0.28745922446250916, 0.47442618012428284, 0.11774296313524246, -0.5346580743789673, 0.4843323230743408, -0.36845242977142334, -0.7076682448387146, -0.6134463548660278, -0.8479745388031006, -0.1076512485742569, -0.09309065341949463, -1.011833906173706, 0.2821788191795349, -0.12955927848815918, -0.4725728929042816, -0.1237967386841774, -0.008435079827904701, -0.941535234451294, -0.24234579503536224, 0.23703314363956451, 0.6552929282188416, -0.9068987369537354, 1.006779670715332, 0.6160109639167786, -0.8044527769088745, -1.165021538734436, 0.03906440734863281, -0.022695980966091156, -0.7485985159873962, 0.9328810572624207, 0.04337320849299431, -0.015202236361801624, -0.03489337116479874, -0.28714489936828613, -0.7631068229675293, 0.8940111398696899, 0.464404433965683, -0.2071666419506073, -0.44483742117881775, -0.06471160054206848, 0.20559649169445038, -0.19624659419059753, -0.09136800467967987, 0.8142070770263672, 0.3267475962638855, 0.07237981259822845, -1.0095903873443604, -0.07062892615795135, 0.03743909299373627, 0.10472545027732849, 0.20228172838687897, -0.05428256466984749, 0.9627768993377686, -0.38022464513778687, -0.3485722243785858, -0.20983895659446716, 0.03620251640677452, 0.16286545991897583, 0.2677464187145233, 0.1313839852809906, 0.44290268421173096, 0.6524050831794739, -0.05764401704072952, 1.1813732385635376, -0.5237841010093689, 0.7290504574775696, 0.9640320539474487, -0.01085534505546093, 0.3661939203739166, 0.6919924020767212, -0.9266627430915833, 0.3643086850643158, 0.5237957239151001, 0.09115155786275864, 0.45215269923210144, 0.5032002329826355, -0.45416998863220215, -0.075803741812706, -0.04007575288414955, -0.3535042703151703, 0.04762767255306244, 0.3286117613315582, -0.2684705853462219, -0.18893656134605408, 0.0717778280377388, -0.16822808980941772, -0.0623910166323185, -0.306707501411438, 0.3667823374271393, 0.13335508108139038, -0.664918065071106, 0.6663680672645569, -0.10850892961025238, 0.7137983441352844, -0.3413558006286621, -0.08341223001480103, -0.45519962906837463, 0.12199487537145615, -0.2928110659122467, -0.5914140343666077, 0.34570008516311646, -0.14409761130809784, -0.4297330379486084, -0.16798970103263855, 0.5060014128684998, -0.42926251888275146, -0.19746440649032593, 0.21801277995109558, 0.19465333223342896, 0.16151763498783112, -0.06819245219230652, -0.37111276388168335, 0.1465945541858673, 0.18624967336654663, -0.039046093821525574, 0.4085337817668915, 0.17970575392246246, -0.1627615988254547, 0.3556232750415802, 0.6934875249862671, 0.5581167340278625, 0.2866562604904175, 0.21435081958770752, 0.5491567254066467, -0.5124249458312988, -0.5789688229560852, -0.7766424417495728, 0.08797712624073029, -0.0019509140402078629, 0.2870584726333618, 0.39766791462898254, 0.3663689196109772, 1.420572280883789, -0.17662428319454193, 1.073094367980957, -0.18913650512695312, 0.1010570228099823, -0.4274738132953644, 0.25373151898384094, -0.35994377732276917, 0.5688903331756592, -0.3961109220981598, -1.2181779146194458, -0.4654628038406372, 0.9136866331100464, -0.18959040939807892, -0.1542644053697586, 0.7377201914787292, 0.5606164336204529, -0.11700360476970673, 0.12059924006462097, 0.12601475417613983, -0.28410041332244873, 0.2999562621116638, 0.9525489807128906, 0.848386824131012, -0.18325723707675934, 0.4541780948638916, -0.7191766500473022, -0.21478022634983063, -0.21332037448883057, -0.520363450050354, -0.6256716251373291, -0.5475854277610779, -0.13560889661312103, -0.6338108777999878, 0.058813489973545074, 1.1088932752609253, 0.5572429895401001, -0.49294230341911316, -0.634775698184967, -0.20230142772197723, 0.11014047265052795, -0.6120753288269043, -0.26668089628219604, 0.469920814037323, -0.5974743962287903, -0.564262866973877, 0.0789264589548111, 0.18246333301067352, 0.07910002768039703, -0.3011140525341034, -0.3136311173439026, 0.32371169328689575, -0.053923238068819046, 0.5360137820243835, 0.20371179282665253, -0.6509402394294739, -0.34567776322364807, -0.14498667418956757, -0.06076033040881157, 0.160746768116951, 1.3353742361068726, -0.7902107238769531, 0.6808333396911621, 0.3469732999801636, 0.4636509418487549, 0.4807611405849457, -0.035827554762363434, 0.5942527055740356, -0.7626101970672607, 0.20138652622699738, 0.02749243564903736, 0.19887588918209076, 0.19026890397071838, -0.34068161249160767, 0.6967320442199707, 0.49347978830337524, -0.5273045897483826, -0.8867135047912598, 0.6013301014900208, -0.9066065549850464, -0.21770833432674408, 0.7336302995681763, 0.010454965755343437, -0.09903726726770401, -0.1393377035856247, -0.20591352880001068, 0.5452772378921509, -0.37507516145706177, 1.2071969509124756, 0.635856568813324, -0.6287004947662354, 0.3709077835083008, -0.5438764691352844, 0.6851620078086853, 0.16451238095760345, -0.45787063241004944, 0.22848621010780334, 0.586472749710083, 0.34681880474090576, 0.23223070800304413, 0.7286164164543152, -0.18528637290000916, 0.39584845304489136, 0.14636483788490295, 0.4961109459400177, -0.14594784379005432, -0.23943114280700684, -0.32701584696769714, -0.09710460156202316, 0.45147353410720825, -0.025939175859093666 ]
http://arxiv.org/abs/2405.04897v1
http://arxiv.org/pdf/2405.04897v1
Machine Learning-based NLP for Emotion Classification on a Cholera X Dataset
2024-05-08T09:05:02
2024-05-08T09:05:02
Paul Jideani, Aurona Gerber
cs.CL
cs.CL, cs.AI
Recent social media posts on the cholera outbreak in Hammanskraal have highlighted the diverse range of emotions people experienced in response to such an event. The extent of people's opinions varies greatly depending on their level of knowledge and information about the disease. The documented re-search about Cholera lacks investigations into the classification of emotions. This study aims to examine the emotions expressed in social media posts about Chol-era. A dataset of 23,000 posts was extracted and pre-processed. The Python Nat-ural Language Toolkit (NLTK) sentiment analyzer library was applied to deter-mine the emotional significance of each text. Additionally, Machine Learning (ML) models were applied for emotion classification, including Long short-term memory (LSTM), Logistic regression, Decision trees, and the Bidirectional En-coder Representations from Transformers (BERT) model. The results of this study demonstrated that LSTM achieved the highest accuracy of 75%. Emotion classification presents a promising tool for gaining a deeper understanding of the impact of Cholera on society. The findings of this study might contribute to the development of effective interventions in public health strategies.
[ -0.21606193482875824, -0.5448623895645142, 0.17894338071346283, 0.5172299146652222, -0.279915988445282, -0.050532203167676926, -0.0817955806851387, -0.6747164130210876, 0.2762320041656494, 0.2870827317237854, -0.06324686855077744, -0.792628824710846, -0.6597813367843628, 0.5522060394287109, -0.44000309705734253, 0.9681949019432068, -0.06281594932079315, 0.14246328175067902, 0.05962125584483147, -0.13144703209400177, -0.10229876637458801, -0.6381480693817139, -0.6906318664550781, -0.3178790509700775, 0.9529473781585693, 0.15651319921016693, 0.31422510743141174, 0.03764592483639717, 0.2660731375217438, 0.2986305058002472, -0.14450161159038544, 0.12395579367876053, -0.6089565753936768, 0.14729377627372742, -0.2854093611240387, -0.358682245016098, -0.29249894618988037, -0.017552919685840607, -0.13338781893253326, 0.11207054555416107, 0.008750603534281254, 0.3907971978187561, 0.15171411633491516, 0.8678148984909058, -0.7448559999465942, 0.5687729716300964, -0.1799415498971939, 0.4305606782436371, -0.176870658993721, -0.5794539451599121, -0.348140150308609, -0.4769049882888794, 0.2656022012233734, -0.3546960949897766, -0.162555992603302, 0.07552707940340042, 0.7308562994003296, 0.21975813806056976, -0.6456272006034851, -0.5739384293556213, -0.39761245250701904, 0.8045477867126465, -0.3790300190448761, -0.12782321870326996, 0.3920574486255646, 0.19447143375873566, 0.03321756795048714, -0.4543112814426422, -0.3101551830768585, 0.2983701527118683, 0.22061951458454132, 0.42838340997695923, -0.24431757628917694, 0.19766145944595337, 0.006175844930112362, 0.274930864572525, -0.8788652420043945, -0.24250367283821106, -0.4811649024486542, 0.26395368576049805, 0.732326090335846, 0.34228333830833435, 0.23391853272914886, -0.6672083139419556, -0.3775516450405121, 0.06564789265394211, -0.3778678774833679, 0.19698834419250488, 0.21541015803813934, 0.2715491056442261, -0.2759942412376404, 0.39477717876434326, -0.1675129532814026, 0.34051257371902466, -0.16846750676631927, -0.007053305394947529, 0.3381945788860321, 0.13285258412361145, -0.49445614218711853, 0.30482912063598633, 0.776768147945404, 0.7358751893043518, 0.4822380542755127, 0.4102972745895386, -0.057808924466371536, 0.32604116201400757, 0.5384535193443298, -0.7511964440345764, -0.19248656928539276, 0.4261016845703125, -0.7772201299667358, -0.6507323384284973, 0.05664414167404175, -1.2880985736846924, -0.7527660131454468, -0.01881316676735878, 0.02531159482896328, -0.2542540729045868, -0.2507191598415375, 0.15330037474632263, -0.09265591204166412, 0.018875636160373688, 0.45943722128868103, -0.3735419809818268, 0.0946510061621666, 0.6137399077415466, 0.8097111582756042, -0.023374415934085846, 0.3496386706829071, -0.12619569897651672, -0.1861218959093094, 0.07269728928804398, 0.620840847492218, -0.40407124161720276, -0.5606532096862793, 0.4514954388141632, -0.032358840107917786, -0.07512286305427551, -0.6047515869140625, 0.5317152738571167, -0.7042076587677002, 0.03197455033659935, 0.03376799076795578, -0.5694090127944946, -0.46281883120536804, 0.36626365780830383, -0.4081166684627533, 0.8900952339172363, 0.22590108215808868, -1.0369288921356201, -0.009413588792085648, -0.3843728005886078, -0.6003268957138062, -0.03548853471875191, 0.13378368318080902, -0.5251911878585815, 0.4013479948043823, 0.017373759299516678, 0.49634844064712524, -0.4369196891784668, 0.19725055992603302, -0.7989800572395325, -0.24435247480869293, 0.2367955595254898, -0.10384371876716614, 0.812957763671875, 0.3303333818912506, -0.39504826068878174, 0.2224225103855133, -0.5601299405097961, 0.11343409866094589, 0.09904502332210541, -0.143540158867836, -0.5405210852622986, -0.11360065639019012, 0.25860223174095154, 0.5482273101806641, 0.02884482964873314, -0.23416996002197266, 0.3597566485404968, -0.2127271443605423, 0.22730451822280884, 0.6936133503913879, 0.2805600166320801, -0.013991808518767357, -0.33344584703445435, 0.731764554977417, 0.14923708140850067, 0.47692620754241943, 0.022799665108323097, -0.7568367719650269, -0.6210638284683228, 0.09392908960580826, 0.008545111864805222, 0.817436933517456, -0.5587639212608337, 0.571361243724823, -0.1944398432970047, -0.5172686576843262, -0.7061067223548889, -0.12651903927326202, 0.17706327140331268, 0.44083312153816223, 0.4955167770385742, 0.09520339965820312, -0.9518336057662964, -0.5386692881584167, 0.048910364508628845, -0.24024945497512817, -0.009356250986456871, 0.49325674772262573, 0.5917877554893494, -0.5166143178939819, 0.7352145314216614, -0.638824999332428, -0.19874511659145355, -0.18740729987621307, 0.6722503304481506, 0.028683844953775406, 0.015884462743997574, 0.3346940279006958, -1.0628055334091187, -0.734164834022522, 0.3977707624435425, -1.1739751100540161, -0.3063412308692932, 0.22212009131908417, 0.20110948383808136, 0.5533594489097595, 0.02816598489880562, -0.39622631669044495, 0.8245736360549927, 0.5717868208885193, 0.12342685461044312, 0.6273449063301086, -0.0594632662832737, 0.2768489122390747, -0.9363847970962524, 0.0364634245634079, 0.1964598298072815, -0.19335675239562988, -0.36836278438568115, -0.2833538353443146, 0.2729327976703644, -0.3352891802787781, -0.48757830262184143, 0.7001129984855652, -0.13514867424964905, 0.18126477301120758, -0.6440201997756958, -0.044127386063337326, -0.06414738297462463, 0.17007671296596527, 0.17377614974975586, 0.17471203207969666, 0.5316769480705261, -0.39722004532814026, 0.7202010750770569, -0.06428239494562149, -0.28175193071365356, 0.30927717685699463, -0.30371394753456116, -0.005573587957769632, 0.042276181280612946, 0.4660763144493103, -0.5682772994041443, -0.29362499713897705, 0.29519060254096985, -0.4680090844631195, 0.11032562702894211, -0.21782976388931274, -0.31442925333976746, -0.7937480211257935, -0.3792489469051361, 0.12665995955467224, 0.5510658025741577, -0.34973955154418945, 0.5347949266433716, 0.30574920773506165, -0.47562047839164734, -0.3724466860294342, -0.1962754875421524, 0.2045644223690033, -0.6157287955284119, -0.5835520625114441, -0.2418871968984604, 0.2725902795791626, -0.4229156970977783, 0.026977313682436943, -0.048903774470090866, -0.16196246445178986, -0.021334553137421608, 0.7319549322128296, -0.0800255835056305, -0.08380810916423798, 0.2698279321193695, -0.014230250380933285, -0.2602929472923279, 0.15820039808750153, -0.07955783605575562, 0.6951161026954651, -0.35286667943000793, 0.10490157455205917, -0.5617069602012634, 0.3606134355068207, 0.5214964151382446, -0.005364815704524517, 0.48554450273513794, 0.5423081517219543, -0.31326502561569214, -0.14894849061965942, -0.03849851340055466, 0.15827274322509766, -0.41050225496292114, 0.31629642844200134, -0.06495462357997894, -0.5359151363372803, 0.3491348326206207, -0.4055285155773163, -0.5886688828468323, 0.3084719181060791, 0.4849925935268402, -0.5239831805229187, 0.7915958166122437, 0.37529370188713074, -0.82435542345047, 0.03786191716790199, -0.21507734060287476, 0.09488460421562195, -0.5156700015068054, 0.09456384927034378, -0.42728808522224426, -0.3653799295425415, -0.7881470322608948, -0.4767284393310547, 0.3290671706199646, -0.1386060118675232, -0.0552738718688488, -0.18185387551784515, -0.10868742316961288, -0.07153376936912537, 0.23309355974197388, 0.12413225322961807, -0.0473320446908474, -0.14808174967765808, 0.3386741280555725, 0.1480821967124939, -0.7076135873794556, -0.5593954920768738, 0.8247638940811157, 0.05219385400414467, 0.9708812832832336, -0.32422685623168945, 0.9260604381561279, 0.8094080686569214, 0.6098107099533081, -0.6416465640068054, 0.26726341247558594, -0.0414990670979023, -0.41961362957954407, -0.056907977908849716, -0.36617276072502136, -1.2474801540374756, -0.25234276056289673, -0.05879923328757286, -0.6729732751846313, 0.13772866129875183, -0.0010483877267688513, -0.400569885969162, 0.21999499201774597, -0.452123761177063, 0.6152763962745667, -0.33466529846191406, -0.17749708890914917, -0.40116164088249207, -1.0974096059799194, 0.41679877042770386, -0.08135314285755157, 0.3695468008518219, -0.05038481205701828, 0.3247915804386139, 0.22137677669525146, -0.5352798104286194, 1.1354538202285767, -0.025157030671834946, -0.04432443901896477, 0.4168854355812073, -0.29763689637184143, 0.2420351505279541, 0.15251928567886353, -0.14773759245872498, 0.25684458017349243, -0.4560437798500061, -0.34599003195762634, -0.5576465725898743, 0.6701090931892395, -0.7203789949417114, -0.39577803015708923, -0.5551272630691528, -0.3382023572921753, 0.27295711636543274, -0.1840917319059372, 0.19609172642230988, 0.3021416664123535, -0.16154910624027252, -0.026804504916071892, 0.510443389415741, -0.6182801127433777, 0.18223953247070312, 0.011840867809951305, -0.5480009317398071, -0.550132691860199, 1.0402101278305054, 0.0028098702896386385, -0.036919258534908295, 0.5667116045951843, 0.4502961039543152, -0.17237471044063568, -0.008894897066056728, -0.30996063351631165, -0.09475024789571762, -0.4797284007072449, -0.5266423225402832, -0.7242453694343567, -0.24915705621242523, -0.37881940603256226, -0.2739028334617615, -0.08349104970693588, -0.014945362694561481, -0.4829185903072357, -0.06456626206636429, 0.43722617626190186, 0.758243978023529, 0.008205540478229523, 0.15862149000167847, -1.155731201171875, 0.2000795155763626, 0.11235177516937256, 0.04728327691555023, 0.07280333340167999, -0.17584656178951263, -0.38638991117477417, -0.07560419291257858, -0.4954281747341156, -1.174093246459961, 0.9036651849746704, 0.08817093819379807, -0.26374351978302, 1.1049364805221558, 0.5815212726593018, 0.6740714311599731, 0.02638586051762104, 0.5057067275047302, -0.03713680058717728, -0.9064855575561523, 0.7069449424743652, -0.4100629687309265, 0.26841896772384644, 0.08434843271970749, 0.7786715030670166, -0.8440015912055969, -0.41172775626182556, -0.5360363125801086, -0.9769718647003174, 0.3692406117916107, 0.038188256323337555, -0.2932993769645691, -0.4097718894481659, 0.0991816595196724, 0.1923084557056427, 0.24033944308757782, -0.372772753238678, -0.33572816848754883, -0.14846864342689514, -0.4615386426448822, -0.07238730043172836, -0.3556045889854431, 0.08329043537378311, -0.12551257014274597, 0.6488660573959351, 0.08760406076908112, 0.04614242911338806, 0.23896469175815582, -0.4999837577342987, -0.12721477448940277, 0.3282589316368103, 0.6009978652000427, 0.28196802735328674, -0.4206162691116333, 0.39855143427848816, -0.10412946343421936, -0.2633618712425232, 0.25064894556999207, 0.10272850096225739, -0.10922647267580032, 0.0028803914319723845, 0.42505258321762085, 0.6538669466972351, 0.36429479718208313, -0.8045681715011597, 0.4718414545059204, 0.018315432593226433, 0.16434764862060547, -0.4509187340736389, -0.22945255041122437, 0.27291786670684814, 0.4785686433315277, 0.48847314715385437, 0.14293694496154785, 0.2964239716529846, -0.3855864107608795, 0.005885095801204443, -0.10274610668420792, -0.5814522504806519, -0.5751287937164307, 0.22361856698989868, 0.39838671684265137, -0.12554073333740234, 0.7593733072280884, -0.3558118939399719, -0.7161940336227417, 0.6474448442459106, 0.28301793336868286, 0.9148378372192383, -0.7223053574562073, 0.26860538125038147, 0.41007888317108154, -0.006997907534241676, 0.11866452544927597, 0.568473756313324, 0.23413217067718506, -0.4226382076740265, -0.1922180950641632, -0.6702333092689514, -0.041685331612825394, 0.30078089237213135, -1.08455228805542, 0.24630625545978546, -0.2909931540489197, -0.3346453011035919, -0.31290343403816223, 0.08609968423843384, -0.5186405181884766, 0.42885902523994446, 0.34959277510643005, 0.7858943939208984, -1.0370479822158813, 0.7950519323348999, 0.6748749613761902, -0.18647050857543945, -0.1878437101840973, -0.19397196173667908, 0.2185238152742386, -0.6735038757324219, 0.8832776546478271, 0.6862454414367676, 0.043545372784137726, -0.27096477150917053, -0.39361482858657837, -0.4323388338088989, 0.6751312017440796, -0.42859360575675964, -0.468505322933197, 0.31124523282051086, 0.2738063931465149, 0.7384957671165466, -0.30844205617904663, 0.12864097952842712, 0.14189589023590088, 0.6588314771652222, -0.4416390061378479, -0.7207140326499939, -0.22476764023303986, -0.6703933477401733, 0.027450362220406532, 0.2893277704715729, -0.5545103549957275, 0.5577871799468994, -0.24564942717552185, -0.22559185326099396, -0.00105477892793715, 0.773838222026825, 0.21452654898166656, 0.8601610064506531, 0.4296223819255829, 0.5521464347839355, 0.8869975209236145, 0.002313027624040842, 1.3111129999160767, -0.2737320363521576, 0.5137722492218018, 1.0626791715621948, -0.640631914138794, 0.7460342049598694, 0.3318827152252197, -0.2774963676929474, 0.38820716738700867, 1.0399761199951172, 0.07301745563745499, 0.31340324878692627, 0.6849068999290466, -0.45761001110076904, -0.07325291633605957, -0.2553114593029022, -0.4226378798484802, 0.3949243128299713, 0.6159942150115967, -0.4811684787273407, -0.2814841568470001, 0.4147011637687683, 0.08694450557231903, -0.2650538682937622, -0.5193142294883728, 0.5540035963058472, 0.2191735953092575, 0.09905476123094559, 0.37617307901382446, -0.20157228410243988, 0.523296594619751, -0.47667428851127625, 0.03464433550834656, -0.11498578637838364, 0.18422575294971466, -0.21962128579616547, -0.6863682270050049, 0.2169845700263977, 0.07058153301477432, -0.5709517002105713, -0.1687169373035431, 0.8966484665870667, -0.4804685115814209, -0.46056318283081055, 0.7173029184341431, 0.39646947383880615, 0.277477890253067, -0.48299160599708557, -0.6384185552597046, 0.015624728053808212, -0.10378436744213104, -0.3591269552707672, 0.34609997272491455, 0.67232745885849, -0.3604450225830078, 0.761474609375, 0.20618242025375366, 0.11262519657611847, 0.08674648404121399, 0.13132186233997345, 0.6060546040534973, -0.8811080455780029, -0.47572219371795654, -0.826336681842804, 0.3114513158798218, -0.28726452589035034, -0.16264402866363525, 0.6675336360931396, 0.7575539350509644, 0.5646052360534668, -0.4563972055912018, 1.1949753761291504, 0.062483955174684525, 0.2434951215982437, -0.006121163722127676, 0.7697790861129761, -0.5408164262771606, -0.4069521129131317, -0.43905502557754517, -0.2553648352622986, -0.2482542246580124, 0.5105071663856506, -0.2866803705692291, -0.0038172665517777205, 0.6338360905647278, 0.46718505024909973, 0.34264418482780457, 0.365966796875, 0.25407809019088745, 0.5922569632530212, 0.0552603080868721, 0.5687863230705261, 1.087604284286499, -0.22084856033325195, 0.21372641623020172, -0.21217213571071625, -0.22008681297302246, -0.9204500317573547, -0.7656921744346619, -0.5656572580337524, -0.5086097717285156, -0.2638988494873047, -0.29722025990486145, 0.36395692825317383, 1.1282328367233276, 0.3069431483745575, -0.7136430144309998, -0.319669634103775, 0.3585738241672516, 0.30155429244041443, -0.3119205832481384, -0.30567505955696106, 0.7317206859588623, -0.2623322606086731, -0.6218403577804565, 0.13904856145381927, 0.706423282623291, -0.056259360164403915, 0.1257498562335968, -0.07130905985832214, -0.22256529331207275, -0.21484176814556122, 0.9853754639625549, 0.4231526255607605, -0.5011489391326904, -0.12985217571258545, -0.11943356692790985, -0.30874162912368774, 0.17736588418483734, 0.6953253746032715, -0.5189148187637329, 0.5043526887893677, 0.4939877390861511, 0.47576993703842163, 0.5205512642860413, 0.026164963841438293, 0.4739575982093811, -0.41732266545295715, -0.030438516288995743, 0.21828772127628326, 0.4778907299041748, 0.17813880741596222, -0.2329556941986084, 0.4714381694793701, 0.4089496433734894, -0.6168537139892578, -0.4385131597518921, 0.03814973309636116, -1.133013129234314, -0.28877103328704834, 1.120581030845642, -0.43675389885902405, -0.539807915687561, -0.4053380489349365, -0.21664005517959595, 0.5386763215065002, -0.5604630708694458, 1.4446626901626587, 0.5978575348854065, -0.28305307030677795, 0.05246906355023384, -0.5105358958244324, 0.2441670149564743, 0.03245436027646065, -1.0241634845733643, 0.0565071739256382, 0.17067879438400269, -0.007227170746773481, 0.09147773683071136, 0.38885125517845154, -0.03541968762874603, 0.1029401570558548, -0.18670527637004852, 0.4239853620529175, 0.25639188289642334, -0.21304558217525482, -0.3158242106437683, 0.4449833929538727, -0.8092394471168518, 0.06574229151010513 ]
http://arxiv.org/abs/2405.04872v1
http://arxiv.org/pdf/2405.04872v1
Logical Negation Augmenting and Debiasing for Prompt-based Methods
2024-05-08T08:05:47
2024-05-08T08:05:47
Yitian Li, Jidong Tian, Hao He, Yaohui Jin
cs.CL
cs.CL, cs.AI, cs.LO
Prompt-based methods have gained increasing attention on NLP and shown validity on many downstream tasks. Many works have focused on mining these methods' potential for knowledge extraction, but few explore their ability to make logical reasoning. In this work, we focus on the effectiveness of the prompt-based methods on first-order logical reasoning and find that the bottleneck lies in logical negation. Based on our analysis, logical negation tends to result in spurious correlations to negative answers, while propositions without logical negation correlate to positive answers. To solve the problem, we propose a simple but effective method, Negation Augmenting and Negation Debiasing (NAND), which introduces negative propositions to prompt-based methods without updating parameters. Specifically, these negative propositions can counteract spurious correlations by providing "not" for all instances so that models cannot make decisions only by whether expressions contain a logical negation. Experiments on three datasets show that NAND not only solves the problem of calibrating logical negation but also significantly enhances prompt-based methods of logical reasoning without model retraining.
[ -0.5886330008506775, -1.2001324892044067, 0.6952114105224609, 0.2361580729484558, -0.3958819806575775, -0.16486606001853943, 0.16387474536895752, -0.20045889914035797, 0.3276737332344055, 0.40221965312957764, -0.7341998219490051, -0.3780858516693115, -0.6154356002807617, 0.44784823060035706, -0.2076689898967743, 0.8333428502082825, 0.642329216003418, 0.1426481455564499, -0.5212716460227966, -0.1315472573041916, -1.1009759902954102, -0.4109930396080017, -0.6373893022537231, -0.3302328586578369, 0.3688262403011322, 0.7075492143630981, 0.7905726432800293, 0.28923875093460083, 0.16677257418632507, 0.19213201105594635, -0.21935726702213287, 0.23228298127651215, -0.2606484889984131, 0.37465184926986694, -0.32977721095085144, -0.5129073858261108, -0.3614024519920349, 0.19275476038455963, -0.03372522071003914, 0.766006588935852, 0.07441450655460358, 0.12332915514707565, -0.07041384279727936, 0.5600362420082092, -0.6472541689872742, 0.04213116317987442, -0.5145936012268066, -0.007905651815235615, 0.13377101719379425, -0.34688225388526917, -0.2809373736381531, -0.5872427225112915, 0.35657867789268494, -0.7309859991073608, -0.005749485921114683, 0.04774928465485573, 0.5173149704933167, 0.6633874177932739, -0.36004865169525146, -0.1056295856833458, -0.33408084511756897, 1.0014106035232544, -0.8939458131790161, 0.09617924690246582, 0.5588013529777527, 0.23927508294582367, -0.16494633257389069, 0.026020472869277, -0.6703423261642456, -0.46735602617263794, -0.04976876080036163, -0.009158438071608543, -0.07512316852807999, 0.12730419635772705, 0.8760214447975159, -0.07996079325675964, -0.3858364224433899, 0.17767295241355896, -0.11657673865556717, -0.21295198798179626, 0.4649370014667511, -0.005075415130704641, 0.3788147270679474, -0.4845297038555145, -0.7013891339302063, 0.07070034742355347, -0.6675776839256287, -0.029637260362505913, 0.1763869822025299, 0.2664816081523895, 0.2108747363090515, 0.601711094379425, -0.3995492458343506, 0.9168639779090881, 0.3264771103858948, -0.06901141256093979, 0.3371942639350891, -0.4330178201198578, -0.09361997246742249, 0.29852235317230225, 0.33707916736602783, 0.700309157371521, 0.2555125951766968, -0.14496679604053497, -0.17034706473350525, 0.38246408104896545, -0.14323686063289642, -0.6449373960494995, -0.09520485252141953, 0.11802772432565689, -0.21242071688175201, -0.5304308533668518, -0.29376229643821716, -0.8503903746604919, -0.6911395788192749, -0.5171065926551819, 0.6815772652626038, -0.5989964604377747, -0.1390470713376999, 0.0614013634622097, -0.4022909998893738, 0.2950381338596344, 0.5468019843101501, -0.5272197127342224, 0.2989882528781891, 0.567425012588501, 0.681698739528656, 0.026252003386616707, -0.042010921984910965, -1.072065830230713, -0.5615472793579102, -0.5583370327949524, 0.7301462888717651, -0.49932369589805603, -0.31954196095466614, -0.4569166302680969, -0.26366010308265686, 0.2400732785463333, -0.4188952147960663, 0.7372082471847534, -0.611000120639801, 0.37916597723960876, -0.7366966009140015, -0.5417742729187012, -0.43485376238822937, 0.440910667181015, -0.6342721581459045, 0.763900876045227, -0.08958640694618225, -0.5510343313217163, 0.39761388301849365, -0.44529321789741516, -0.5463501214981079, -0.047884054481983185, -0.15558941662311554, 0.1301375776529312, 0.13039030134677887, 0.6894600987434387, 0.18259654939174652, -0.6409974098205566, 0.48969268798828125, -0.36032727360725403, -0.14831054210662842, 0.07901553809642792, -0.6253018379211426, 1.1756757497787476, 0.1522415280342102, -0.3462744951248169, -0.1017947643995285, -0.8091455698013306, -0.04232216998934746, -0.14899805188179016, 0.3846346437931061, -0.6542150378227234, -0.18214744329452515, -0.5904068946838379, 0.4061156213283539, 0.21287083625793457, -0.5760335922241211, 0.04314590245485306, -0.5639974474906921, 0.06926866620779037, 0.7829954624176025, 0.31474581360816956, 0.6501970291137695, -0.510349452495575, 0.6054075956344604, 0.14802336692810059, 0.02451835758984089, -0.3674788773059845, -0.8137010931968689, -0.533011257648468, 0.031208232045173645, 0.21195298433303833, 0.8445550799369812, -1.2293369770050049, 0.5203866958618164, 0.21446636319160461, -0.4571469724178314, -0.1254756599664688, 0.07968857139348984, 0.3582456707954407, 1.4790669679641724, 0.8500931262969971, 0.10178843140602112, -0.2834596633911133, -0.6547417640686035, -0.2714115083217621, -0.12567266821861267, 0.16825777292251587, -0.13118615746498108, 0.09038840234279633, 0.2285604327917099, 1.1297743320465088, -0.6715479493141174, -0.04709187150001526, 0.035118088126182556, 0.2840500771999359, 0.6118290424346924, 0.5770313739776611, 0.5651980042457581, -0.6913565397262573, -0.22066064178943634, -0.5820364356040955, -0.7796265482902527, -0.6613653302192688, -0.4878727197647095, -0.03207392245531082, 0.12562893331050873, 0.5582299828529358, -0.5514951944351196, 0.6572301983833313, -0.1422395408153534, -0.417079359292984, 0.6992831230163574, -0.05162936821579933, 0.03977734223008156, -0.47574731707572937, -0.26937931776046753, 0.1402786672115326, -0.058604832738637924, -0.7041164040565491, -0.16087931394577026, -0.030302418395876884, -0.00787566788494587, -0.3480745255947113, 0.6965129971504211, -0.38000553846359253, 0.43882402777671814, -0.399929016828537, 0.30955207347869873, 0.4457758069038391, 0.2900634706020355, 0.0055612181313335896, 0.5022169351577759, 0.6432352066040039, -0.941616415977478, 0.31374290585517883, 0.4035068154335022, -0.11143019050359726, 0.8048936128616333, -0.7160165309906006, -0.11035266518592834, -0.4628441333770752, -0.002814970910549164, -0.8832785487174988, 0.3552807867527008, 0.3890499174594879, -0.48942434787750244, 0.0485987551510334, -0.012319452129304409, -0.27093246579170227, -0.14011764526367188, -0.40749847888946533, 0.3090858459472656, 0.6175196766853333, -0.6775136590003967, 0.3227350413799286, 0.00968208909034729, -0.2275892198085785, -0.8264460563659668, -0.609520673751831, 0.13586562871932983, -0.17986905574798584, -0.6506317853927612, 0.396381139755249, -0.0424746572971344, -0.44907671213150024, -0.06122962012887001, -0.43872520327568054, -0.06515000760555267, 0.3459804654121399, -0.0346873439848423, 0.4641253352165222, -0.051597125828266144, 0.3178289830684662, 0.2902214229106903, -0.6293790936470032, 0.3426550030708313, -0.2011857032775879, 0.3246591091156006, 0.18954992294311523, -0.48413535952568054, -0.3952881991863251, 0.337627112865448, 0.4058031737804413, -0.08611232042312622, 0.5888500809669495, 0.3523850739002228, -0.3693165183067322, -0.281208872795105, -0.8270336389541626, -0.6871004700660706, -0.4019054174423218, -0.05285997316241264, -0.2172725349664688, -0.438824862241745, 0.3116847276687622, 0.0942687913775444, -0.0708264634013176, 0.41857782006263733, 0.014897515065968037, 0.08261309564113617, 0.7770898938179016, 0.15557387471199036, 0.07342491298913956, 0.3161623179912567, 0.09134593605995178, 0.1827835887670517, -0.5212705731391907, -0.04211617261171341, -0.46664661169052124, -0.2316480427980423, -0.2058948278427124, -0.3613596260547638, 0.27941378951072693, 0.44349390268325806, -0.17742584645748138, 0.17873378098011017, -0.4694080054759979, 0.535089910030365, 0.8534955978393555, 0.3386121690273285, 0.4420948326587677, -0.22320552170276642, 0.029276367276906967, -0.19825825095176697, -0.6849012970924377, -0.3135243058204651, 1.0086616277694702, -0.24057182669639587, 0.5848734974861145, 0.12852507829666138, 0.6233136653900146, 0.2721679210662842, -0.09261094033718109, -0.6606835722923279, 0.782187283039093, 0.1701488196849823, -0.501799464225769, -0.35316571593284607, -0.4448288679122925, -0.41583916544914246, 0.3050977289676666, -0.5531529784202576, -0.34529200196266174, 0.5787843465805054, -0.008745537139475346, -0.8266392350196838, 0.07022274285554886, -0.8740922808647156, 0.6711429953575134, -0.2872665226459503, -0.5585905909538269, -0.153397798538208, -0.7752804756164551, 0.5155848264694214, 0.008546600118279457, 0.13701999187469482, -0.14622686803340912, -0.09377586096525192, 0.5247131586074829, -0.7371417880058289, 0.6589217782020569, -0.6141627430915833, -0.06103457883000374, 0.5784022808074951, 0.1994105577468872, 0.4585568606853485, 0.41518598794937134, -0.37882938981056213, 0.15890192985534668, -0.030728016048669815, -0.33710145950317383, -1.0935181379318237, 0.5907388925552368, -0.2731829583644867, -0.9426964521408081, -0.5647121667861938, -0.3408021926879883, -0.21837899088859558, 0.23685748875141144, -0.02218296192586422, 0.6930314898490906, 0.08270473033189774, -0.19342580437660217, 0.6676926612854004, -0.43404048681259155, 0.49545320868492126, 0.26189762353897095, -0.25181877613067627, -0.3705565929412842, 0.663266122341156, 0.25862011313438416, 0.3429267108440399, 0.41363513469696045, 0.5055550336837769, -0.4830849766731262, -0.33855587244033813, -0.34787583351135254, -0.13346555829048157, -0.8083131909370422, -0.3581386208534241, -0.5474080443382263, 0.05479215458035469, -0.5231977701187134, -0.09425239264965057, 0.1465608775615692, -1.0822844505310059, -0.527855634689331, -0.26413944363594055, 0.6161825060844421, 0.0674440786242485, -0.5222846269607544, 0.16274818778038025, -0.6727166175842285, 0.8271915316581726, 0.5278124213218689, -0.20091238617897034, 0.11920043081045151, -0.327983021736145, 0.37278231978416443, 0.06351549923419952, -0.20570719242095947, -1.1822459697723389, 0.3922053873538971, -0.21172229945659637, 0.4109598994255066, 0.5546875596046448, 0.6517135500907898, 0.6727760434150696, -0.2695307731628418, 0.6766229271888733, 0.2411181628704071, -0.9197902679443359, 0.5491318702697754, -0.15949170291423798, 0.1686156690120697, 0.7632344961166382, 0.29776039719581604, -0.216398686170578, 0.17687304317951202, -0.5451827645301819, -0.7251479625701904, 0.581428587436676, 0.010343980975449085, -0.06946109980344772, -0.38291916251182556, 0.2379108965396881, 0.31895512342453003, 0.39876729249954224, -0.38296592235565186, -0.3699914216995239, -0.2302650660276413, 0.2822433114051819, 0.12738412618637085, -0.2687790095806122, 0.16954153776168823, -0.3740561604499817, 0.8384017944335938, -0.013300858438014984, -0.21371464431285858, 0.538202702999115, -0.3136182427406311, 0.321367084980011, 0.28356483578681946, 0.30433958768844604, 0.4656350910663605, -0.2018735110759735, 0.11430762708187103, 0.28802230954170227, -0.010595588013529778, 0.19651156663894653, 0.11324463039636612, -0.6671401858329773, 0.054906800389289856, 0.18864698708057404, 0.45903149247169495, -0.01787608675658703, -0.4574523866176605, 0.7064398527145386, 0.16179603338241577, 0.06295894831418991, -0.01997029036283493, 0.16933999955654144, -0.3575250506401062, 0.06883018463850021, 0.33254727721214294, 0.5632054805755615, 0.2119346410036087, -0.14105868339538574, 0.23429258167743683, 0.5910401344299316, -0.2665499150753021, -0.04894140362739563, 0.5113277435302734, 0.2971297800540924, -0.16986355185508728, 0.6939978003501892, -0.6032912731170654, -0.4858740270137787, 0.8102970123291016, 0.5290996432304382, 0.8507128953933716, -0.012914041057229042, 0.42721888422966003, 0.6945124268531799, 0.4337124526500702, 0.0456373430788517, 0.4488740563392639, -0.295514851808548, -0.732915461063385, -0.8433274030685425, -0.20213672518730164, -0.5682109594345093, -0.13810980319976807, -0.5465000867843628, 0.6442431211471558, -0.5929431915283203, -0.23660174012184143, -0.19616273045539856, -0.024189110845327377, -0.4960315525531769, 0.17533938586711884, -0.06522242724895477, 0.9245836138725281, -0.7670773863792419, 0.36423322558403015, 0.3368704319000244, -0.5659589171409607, -0.3914724588394165, -0.09328848868608475, 0.16670337319374084, -0.48399755358695984, 0.6851181983947754, 0.37060943245887756, -0.21068677306175232, 0.01162433810532093, -0.627219557762146, -0.7853469252586365, 0.7361714243888855, 0.26857683062553406, -0.4144294261932373, -0.024644996970891953, -0.21114806830883026, 0.2012966126203537, -0.02700408175587654, 0.6082174181938171, 0.26965755224227905, 0.7371441721916199, 0.07883406430482864, -0.42485660314559937, 0.5390810370445251, -0.17938578128814697, -0.3101443350315094, -0.09410401433706284, -0.2872065603733063, 1.0327296257019043, -0.5984582304954529, -0.27869004011154175, 0.02889850363135338, 0.48399049043655396, 0.25519493222236633, 0.46696215867996216, 0.7089110016822815, 0.7235622406005859, 1.0072383880615234, 0.0676194354891777, 0.7419527769088745, -0.16117003560066223, -0.19589291512966156, 1.348014235496521, -0.48824384808540344, 0.14785835146903992, 0.6190862059593201, 0.1663263440132141, 0.596138596534729, 0.20626839995384216, 0.10491108149290085, 0.505304753780365, 0.0837039053440094, -0.1877802014350891, -0.481829434633255, -0.25141796469688416, -0.4726485311985016, 0.14485099911689758, 0.3485710918903351, 0.19334466755390167, -0.6403606534004211, 0.058693043887615204, 0.05376170948147774, 0.3042462170124054, -0.19516262412071228, 0.6751422882080078, 0.1885027289390564, -0.9022164344787598, 0.6323904395103455, -0.13312196731567383, 0.7226976752281189, -0.3005386292934418, -0.27135783433914185, -0.19954940676689148, -0.2159196138381958, -0.30465883016586304, -0.28348881006240845, 0.3517628610134125, -0.09016136080026627, -0.22229573130607605, -0.3208865821361542, 0.7987322807312012, -0.004018329083919525, -0.34615424275398254, 0.1277402639389038, 0.9224183559417725, -0.22983190417289734, -0.27540305256843567, -0.45057132840156555, -0.6521061658859253, -0.07486730068922043, -0.03368910774588585, 0.020290933549404144, 0.5725991129875183, -0.11672503501176834, 0.47388556599617004, 0.8939337134361267, -0.040418557822704315, -0.10771973431110382, -0.009697635658085346, 0.7854127287864685, -0.8109117150306702, -0.4631035029888153, -1.167232632637024, 0.3318338990211487, -0.24196524918079376, -0.28639933466911316, 1.0127836465835571, 0.20110711455345154, 0.4054465591907501, 0.02014162763953209, 0.6802093982696533, -0.07606228440999985, 0.49263647198677063, -0.5349293351173401, 0.31560301780700684, -0.2232356071472168, 0.5105656385421753, -0.4581078886985779, -0.8414456248283386, -0.5450663566589355, 0.5816451907157898, -0.6881037950515747, -0.18486087024211884, 0.7444985508918762, 0.843159019947052, 0.23150314390659332, 0.6815061569213867, 0.18507292866706848, 0.24916449189186096, 0.1845756471157074, 0.3887215554714203, 1.0140591859817505, -0.36263906955718994, 0.16962507367134094, -0.5470952391624451, -0.46752169728279114, 0.027908479794859886, -1.3278348445892334, -0.9369339346885681, -0.17848052084445953, -0.46255314350128174, -0.5170179605484009, -0.15031220018863678, 1.0253536701202393, 0.34940293431282043, -0.6394822597503662, 0.33962732553482056, -0.5006387829780579, 0.7097901701927185, -0.3032488524913788, -0.29196518659591675, 0.14483307301998138, -0.760379433631897, -0.3645811080932617, 0.6852461099624634, 0.0524015948176384, -0.11437901854515076, -0.06004711985588074, 0.18891006708145142, -0.44450968503952026, 0.11055183410644531, 0.5824099779129028, 0.20350518822669983, -0.39618322253227234, -0.16808173060417175, 0.273014634847641, 0.3756176233291626, 0.011125536635518074, 0.2693457305431366, -1.5213905572891235, 0.4475840628147125, 0.7796627283096313, 0.7030359506607056, 0.13838739693164825, 0.30772334337234497, 0.471285879611969, -0.406200110912323, 0.2074545919895172, 0.299492746591568, 0.11704361438751221, 0.2595815658569336, -0.2786486744880676, 0.38148823380470276, 0.34122219681739807, -0.30325421690940857, -0.7395846843719482, 0.2904142439365387, -0.7597787976264954, -0.2526882290840149, 0.8978451490402222, 0.2779046893119812, -0.0623580701649189, -0.2642979621887207, -0.27755728363990784, 0.07325258105993271, -0.6306219696998596, 0.572393536567688, 0.6478849649429321, -0.15148970484733582, 0.25058743357658386, -0.4591687023639679, 0.3843218982219696, 0.7666935920715332, -0.6098730564117432, -0.1610628366470337, 0.8400703072547913, -0.04209362715482712, 0.4010780155658722, 0.5856998562812805, 0.105824775993824, 0.32623323798179626, 0.09378554672002792, -0.43067342042922974, -0.3706948161125183, -0.33996838331222534, -0.5100824236869812, 0.1433514952659607, -0.2947714626789093, -0.13576044142246246 ]
http://arxiv.org/abs/2405.06699v1
http://arxiv.org/pdf/2405.06699v1
ChatSOS: Vector Database Augmented Generative Question Answering Assistant in Safety Engineering
2024-05-08T07:21:26
2024-05-08T07:21:26
Haiyang Tang, Dongping Chen, Qingzhao Chu
cs.CL
cs.CL, cs.AI
With the rapid advancement of natural language processing technologies, generative artificial intelligence techniques, represented by large language models (LLMs), are gaining increasing prominence and demonstrating significant potential for applications in safety engineering. However, fundamental LLMs face constraints such as limited training data coverage and unreliable responses. This study develops a vector database from 117 explosion accident reports in China spanning 2013 to 2023, employing techniques such as corpus segmenting and vector embedding. By utilizing the vector database, which outperforms the relational database in information retrieval quality, we provide LLMs with richer, more relevant knowledge. Comparative analysis of LLMs demonstrates that ChatSOS significantly enhances reliability, accuracy, and comprehensiveness, improves adaptability and clarification of responses. These results illustrate the effectiveness of supplementing LLMs with an external database, highlighting their potential to handle professional queries in safety engineering and laying a foundation for broader applications.
[ -0.06758550554513931, -0.6994798183441162, 0.49453750252723694, 0.3682032525539398, -0.09457895904779434, 0.4661197364330292, 0.2776985466480255, -0.3842334747314453, 0.2474229484796524, 0.37326374650001526, -0.3109050393104553, -0.5193025469779968, -0.2751656472682953, -0.002464503515511751, -0.7917351126670837, 0.6448473930358887, 0.10487522929906845, -0.011894075199961662, -0.24345919489860535, 0.1372295767068863, -0.361606240272522, -0.8004862070083618, -0.9037739634513855, 0.35058310627937317, 0.24082297086715698, 0.214197039604187, 0.8086496591567993, 0.4706358313560486, 0.6896247267723083, 0.48450085520744324, -0.4002021551132202, 0.41404131054878235, -0.35109639167785645, 0.28631556034088135, 0.23949839174747467, -0.3759157061576843, -0.4915240406990051, -0.49480944871902466, 0.5792024731636047, 0.6492207050323486, -0.32540884613990784, -0.3771189749240875, 0.10027680546045303, 0.42832785844802856, -0.6007554531097412, -0.07584615051746368, -0.5982971787452698, 0.2964085340499878, 0.2392551600933075, -0.5995071530342102, -0.49659180641174316, -0.8006540536880493, 0.3367409110069275, -0.5503100752830505, 0.07285226881504059, 0.2770650088787079, 0.5411128401756287, 0.32973456382751465, -0.5552471876144409, -0.2865011692047119, -0.7989895343780518, 0.6371922492980957, -0.2842387855052948, 0.5308724045753479, 0.20810289680957794, 0.36796846985816956, -0.5476343631744385, -0.7012946605682373, -0.2937842011451721, -0.14751070737838745, 0.05455878749489784, 0.07538437098264694, 0.3530398905277252, 0.28451254963874817, 0.04598810523748398, 0.2839524447917938, -0.6796855926513672, -0.032302625477313995, -0.6040623784065247, -0.43558961153030396, 0.9373149275779724, 0.5302017331123352, 0.7153259515762329, -0.3446444272994995, -0.6037433743476868, -0.23051828145980835, -0.9160321950912476, 0.025878679007291794, 0.16969060897827148, -0.009089167229831219, -0.10758795589208603, 0.41749340295791626, -0.2729623019695282, 0.5239292979240417, -0.6686439514160156, -0.16724893450737, 0.4581921100616455, -0.20986786484718323, -0.35629406571388245, 0.09945471584796906, 1.1630688905715942, 0.34544795751571655, 0.05202817544341087, -0.42656347155570984, 0.07043907791376114, -0.3326219618320465, 0.2634172737598419, -0.6180465817451477, -0.19121965765953064, 0.5754126310348511, -0.22647027671337128, -0.4452041685581207, 0.09001810103654861, -0.9131324291229248, -0.6751486659049988, -0.22686612606048584, 0.18569479882717133, -0.6457691192626953, -0.3108850121498108, 0.08491624146699905, -0.23368459939956665, 0.3706824779510498, 0.2033713012933731, -0.5994959473609924, -0.150766521692276, 0.7712854146957397, 0.8941130042076111, -0.11013677716255188, -0.08461805433034897, -0.6808388233184814, 0.2602747678756714, -0.6984995007514954, 0.929199755191803, -0.42766693234443665, -0.8801607489585876, 0.25442296266555786, 0.15525858104228973, 0.0415119007229805, -0.5192304849624634, 0.9082303643226624, -0.7081394791603088, -0.01183388102799654, -0.16870076954364777, -0.28696826100349426, -0.07986262440681458, 0.31191036105155945, -0.37673792243003845, 1.163679838180542, -0.2087482213973999, -0.7551591396331787, 0.0503428615629673, -0.33488500118255615, -0.5134660601615906, 0.05431055277585983, -0.5597344040870667, -0.46849194169044495, -0.24688789248466492, 0.2988729178905487, 0.4802404046058655, -0.2436351627111435, 0.2218499481678009, -0.20445558428764343, -0.16966849565505981, 0.4462745189666748, -0.31639865040779114, 1.0115232467651367, 0.10633089393377304, 0.48973456025123596, 0.41604334115982056, -0.8275197148323059, 0.03822515904903412, -0.04708196967840195, -0.5204492211341858, -0.4003852903842926, 0.3415370285511017, -0.07523812353610992, 0.188261941075325, 0.1797904521226883, -0.7111873626708984, -0.18814000487327576, -0.7903273701667786, 0.27342259883880615, 0.5564244985580444, 0.4198415279388428, 0.25254958868026733, -0.36653563380241394, 0.5218328833580017, 0.06766893714666367, 0.32208359241485596, -0.03524415194988251, -0.5899564027786255, -0.8579966425895691, 0.05216820538043976, -0.04239858686923981, 0.9812706708908081, -1.2115038633346558, 0.3029748201370239, -0.15622204542160034, -0.46370601654052734, -0.2644890546798706, -0.03561509773135185, 0.1290462464094162, 0.6010002493858337, 0.34701111912727356, 0.13327863812446594, -1.14833664894104, -0.6886216998100281, 0.09743019193410873, -0.45183923840522766, -0.6074010729789734, 0.17455744743347168, 0.04125432297587395, -0.043449800461530685, 0.8318102955818176, -0.5464662909507751, 0.05173809826374054, -0.07739229500293732, -0.04550650715827942, 0.006187694612890482, 0.33156245946884155, 0.5679782629013062, -0.7914987206459045, -0.3707895576953888, 0.20068952441215515, -1.0828959941864014, 0.3340364396572113, 0.1535186767578125, -0.45032259821891785, 0.021677549928426743, 0.7574394941329956, -0.38574203848838806, 0.011048255488276482, 0.5288392901420593, -0.2528229057788849, 0.41568565368652344, -0.06166289374232292, 0.30037519335746765, -1.215341567993164, -0.17854882776737213, -0.24728788435459137, -0.08673093467950821, -0.8657995462417603, -0.14472199976444244, 0.11578244715929031, -0.2320016771554947, -0.8745620846748352, -0.02971021644771099, -0.28703567385673523, -0.0653872862458229, -0.15240523219108582, 0.2779737710952759, -0.12671776115894318, 0.23023974895477295, 0.0059302193112671375, 1.103581428527832, 0.7975093722343445, -0.8405230641365051, 0.5538821816444397, 0.7319928407669067, -0.36065810918807983, 0.35718923807144165, -0.873270571231842, 0.20170822739601135, -0.5324882864952087, -0.20330798625946045, -0.9531357884407043, -0.544352650642395, 0.13459061086177826, -0.3725617229938507, 0.08306403458118439, -0.23570860922336578, -0.2932617664337158, -0.3960212469100952, -0.5407009124755859, -0.12851934134960175, 0.71123868227005, -0.6030488014221191, 0.5769671201705933, 0.9191466569900513, -0.6468618512153625, -0.6028488278388977, -0.4101521074771881, 0.03893455117940903, -0.2620667517185211, -0.8832708597183228, 0.17521102726459503, -0.17021963000297546, -0.32767951488494873, -0.22847223281860352, 0.019426042214035988, -0.4218648672103882, 0.15548445284366608, 0.27132776379585266, 0.727355420589447, -0.3817603588104248, 0.4666869640350342, 0.16166983544826508, 0.15190085768699646, 0.3208981156349182, 0.4876824915409088, 0.39880841970443726, -0.15758773684501648, -0.10491890460252762, -0.16123762726783752, 0.4633947014808655, 0.4178951382637024, -0.11180117726325989, 0.9621743559837341, -0.056542351841926575, -0.316174179315567, -0.021607279777526855, -0.14613912999629974, 0.05414293706417084, -0.6169098019599915, 0.3945241868495941, -0.10961254686117172, -0.7962645888328552, 0.33649057149887085, -0.11130781471729279, 0.4228706657886505, 0.5935831665992737, 0.4388697147369385, -0.5178825259208679, 1.0158352851867676, 0.3626461625099182, -0.1991538256406784, 0.27693143486976624, 0.03143388777971268, -0.035179927945137024, -0.7674107551574707, -0.5499224066734314, -0.709502637386322, 0.15388397872447968, -0.38282912969589233, -0.5068297982215881, 0.8724004626274109, -0.09925424307584763, -0.3170669376850128, 0.10266631096601486, -0.7758209109306335, 0.3726276755332947, 0.011213765479624271, 0.23615872859954834, 0.5300511121749878, -0.04401133209466934, 0.2102166712284088, 0.3093789219856262, -0.7480402588844299, -0.5247889757156372, 0.8437632918357849, 0.4695354700088501, 0.8947237133979797, 0.25924134254455566, 0.22352632880210876, 0.029402878135442734, 0.3289088308811188, -0.5667658448219299, 0.6622990965843201, 0.09788613766431808, -0.6127641201019287, -0.5532088279724121, -0.45141011476516724, -1.0161683559417725, 0.422299861907959, -0.38609594106674194, -0.41583314538002014, 0.15434911847114563, 0.10963547974824905, -0.5915466547012329, 0.07892222702503204, -0.7678678631782532, 0.5220001935958862, -0.4374763071537018, 0.13232608139514923, 0.10235721617937088, -0.4632077217102051, 0.5479557514190674, 0.05035460740327835, 0.2731058597564697, -0.3833310008049011, -0.17096629738807678, 0.9422087073326111, -0.5356163382530212, 0.722450852394104, 0.133368581533432, -0.18586726486682892, 0.6412896513938904, -0.2192704677581787, 0.6047078371047974, 0.19402143359184265, -0.31191369891166687, -0.030106132850050926, 0.20359978079795837, -0.05444963648915291, -0.4432106912136078, 0.8724003434181213, -0.7870893478393555, -0.5275535583496094, -0.39217108488082886, -0.5619823336601257, -0.6511388421058655, -0.08286770433187485, 0.21223050355911255, 0.42535048723220825, -0.3867970108985901, 0.3913850784301758, 0.982326328754425, -0.7078978419303894, 0.5503966212272644, 0.3695331811904907, -0.15104010701179504, -0.24900148808956146, 0.9058335423469543, 0.04660002142190933, -0.10971475392580032, 0.39550960063934326, -0.033353712409734726, -0.23647266626358032, -0.53289794921875, -0.3676760792732239, -0.03926907852292061, -0.6656275391578674, -0.3869234025478363, -0.9921189546585083, -0.9356060028076172, -0.19448785483837128, -0.012278764508664608, -0.3478642404079437, -0.37820690870285034, -0.07627581804990768, -0.27789002656936646, 0.7488818764686584, 0.4630962312221527, 0.30479785799980164, 0.11384348571300507, -1.019332766532898, 0.3958815038204193, 0.4462757110595703, 0.5333623886108398, -0.16882939636707306, -0.2073613405227661, 0.015205075033009052, -0.05453049764037132, -0.3941290080547333, -1.0712379217147827, 0.28923434019088745, 0.09869419038295746, 0.4834986925125122, 0.2967725396156311, 0.40874090790748596, 0.2390436977148056, -0.624370813369751, 0.5834046006202698, 0.07292746752500534, -0.41107603907585144, 0.6643495559692383, -0.43474850058555603, -0.1891023963689804, 0.12323117256164551, 0.6386229395866394, -0.4971335232257843, -0.3450031280517578, -0.2849695682525635, -0.8688086867332458, 0.5052306056022644, 0.4409692585468292, 0.1608555018901825, -0.13593943417072296, 0.021547269076108932, -0.22328118979930878, -0.03043488599359989, -0.17653211951255798, -0.23038697242736816, 0.093141108751297, -0.29698440432548523, 0.3855920135974884, -0.6087111830711365, -0.21727412939071655, 0.024526657536625862, 0.8903034925460815, 0.09963617473840714, 0.45772892236709595, 0.15730813145637512, 0.16787217557430267, 0.09856291115283966, 0.5348066687583923, 0.34039732813835144, 0.44815853238105774, -0.25234347581863403, 0.03810877352952957, 0.7285007238388062, -0.6032580137252808, 0.1458674818277359, 0.19422411918640137, -0.2039145529270172, 0.19544130563735962, 0.04405750706791878, 0.4603140354156494, 0.005353367887437344, -1.066338062286377, 0.17590107023715973, -0.09355036169290543, -0.029807263985276222, -0.7086005210876465, 0.4445044696331024, 0.18621951341629028, -0.019814740866422653, 0.502734363079071, -0.30372652411460876, 0.5396177172660828, -0.3184143006801605, 0.10612665861845016, 0.41372278332710266, -0.3166532516479492, -0.046884048730134964, 0.8037290573120117, 0.5074055194854736, -0.27791568636894226, 0.317758172750473, 0.24538473784923553, -0.24389086663722992, 0.9141497611999512, -0.030047206208109856, 0.6549556851387024, -0.6540849208831787, 0.17807437479496002, 0.4630160927772522, 0.6004932522773743, 0.07062261551618576, 0.7507537603378296, 0.47264525294303894, -0.6626876592636108, -0.5978679656982422, -0.5440829396247864, -0.8395559191703796, 0.14493021368980408, -0.21805506944656372, 0.238779678940773, -0.5140010714530945, 0.04121387004852295, -0.1697065532207489, -0.6144769191741943, -0.30740585923194885, 0.3156270980834961, -0.03813047707080841, 0.8042670488357544, -0.49246886372566223, 0.5709962248802185, 0.6952471137046814, -0.39007964730262756, -0.5393452644348145, -0.17883381247520447, -0.20422372221946716, -0.5930816531181335, 0.29078376293182373, -0.2001798301935196, 0.1300174593925476, -0.28631481528282166, -0.42477160692214966, -1.0638997554779053, 0.8941701054573059, 0.3873070478439331, -0.5529271960258484, -0.22150573134422302, 0.5123200416564941, 0.5360047817230225, 0.2641677260398865, 0.11904548108577728, 0.5479398369789124, -0.18982835114002228, 0.18723605573177338, -0.7299965023994446, -0.022510303184390068, -0.1137874573469162, 0.0062244045548141, 0.29596713185310364, -0.5819219350814819, 0.2945482134819031, 0.06649444997310638, -0.2880098819732666, -0.007844502106308937, 1.0550634860992432, 0.45089268684387207, 0.23929628729820251, 0.3957381844520569, -0.0028894515708088875, 0.8177728652954102, -0.0245969258248806, 1.1236745119094849, -0.30585965514183044, 0.040673740208148956, 1.053033471107483, 0.07363509386777878, 1.0502185821533203, 0.2895320653915405, -0.4431358575820923, 0.4441666007041931, 0.39911729097366333, 0.443558007478714, 0.27535417675971985, -0.31523045897483826, -0.606976330280304, -0.20053982734680176, -0.2592267096042633, -0.6533253192901611, 0.1791956126689911, 0.6982573866844177, -0.35067522525787354, -0.09509432315826416, 0.11772576719522476, -0.09803150594234467, -0.24416279792785645, -0.16567714512348175, 0.601131796836853, 0.15340209007263184, -0.4499790370464325, 0.4454403221607208, -0.02246841788291931, 0.3235098719596863, -0.4367663562297821, 0.008346224203705788, -0.3323451578617096, -0.12007573992013931, -0.28709644079208374, -1.2003997564315796, 0.6240951418876648, 0.07691756635904312, 0.12175188958644867, 0.05370184779167175, 0.8668996691703796, -0.31667062640190125, -0.5199641585350037, -0.29674574732780457, 0.2034226804971695, 0.15461431443691254, 0.16619031131267548, -0.2875199615955353, 0.08048317581415176, -0.20277774333953857, -0.019774526357650757, 0.19121421873569489, 0.4497899115085602, 0.01713692583143711, 0.8880950808525085, 0.5406426191329956, -0.33336585760116577, 0.2800094485282898, -0.23333682119846344, 1.0914382934570312, -0.5071337223052979, -0.6916407346725464, -0.5087631940841675, 0.5338588953018188, -0.4340481758117676, -0.05609705299139023, 0.7724129557609558, 0.6322938799858093, 0.22856904566287994, -0.07834699004888535, 1.137900710105896, -0.06177273392677307, 0.9730009436607361, -0.5806439518928528, 0.7127799987792969, -0.18176649510860443, 0.3868112862110138, -0.12090052664279938, -0.4834103286266327, -0.17270317673683167, 0.3249810039997101, -0.25234928727149963, -0.2917817533016205, 0.3055134415626526, 0.8071487545967102, 0.11961346864700317, 0.20029376447200775, 0.3101760745048523, 0.37775537371635437, 0.3930654227733612, 0.660244882106781, 1.2261278629302979, -0.6444689631462097, 1.1511976718902588, -0.2427205741405487, 0.00872285570949316, -0.16553941369056702, -0.6724348068237305, -1.038008689880371, -0.33029359579086304, -0.34144270420074463, -0.2393997460603714, 0.16898761689662933, 0.8838605880737305, 0.5053402185440063, -1.0578500032424927, 0.07431719452142715, -0.013881833292543888, 0.17839711904525757, 0.3547486662864685, -0.2082042247056961, 0.5842634439468384, -0.2809408903121948, -0.6363331079483032, 0.8391450047492981, 0.4432690143585205, 0.1104411706328392, -0.2165789157152176, -0.20516926050186157, 0.009199202060699463, 0.23667366802692413, 0.9044167995452881, 0.5340531468391418, -0.21237538754940033, -0.3880400061607361, 0.13759207725524902, -0.18138234317302704, 0.11559149622917175, 0.4149037301540375, -0.6054875254631042, 0.3122105300426483, 0.912830114364624, 0.9866962432861328, -0.03328093886375427, -0.028960444033145905, 0.5860282182693481, -0.8365914225578308, 0.459676057100296, 0.11799705773591995, 0.4385206401348114, 0.4466438889503479, -0.6597228646278381, 0.6085960865020752, -0.026924794539809227, -0.6179446578025818, -0.6935306787490845, 0.04167093336582184, -0.7391958832740784, -0.18017101287841797, 1.172471284866333, 0.17781636118888855, -0.04216965660452843, -0.6288651823997498, -0.583156406879425, 0.20727945864200592, -0.1772790402173996, 0.9043241143226624, 0.33469119668006897, -0.24919387698173523, -0.365493506193161, -0.8218098282814026, 0.7014041543006897, 0.3030312657356262, -1.372141718864441, -0.3005944490432739, 0.5942210555076599, 0.12090857326984406, -0.03511327877640724, 0.5537859201431274, -0.11239289492368698, 0.5022923946380615, -0.1302034556865692, 0.02168678119778633, 0.2557689845561981, -0.29566606879234314, 0.22744722664356232, 0.48828864097595215, 0.014559712260961533, -0.542969286441803 ]
http://arxiv.org/abs/2405.04829v2
http://arxiv.org/pdf/2405.04829v2
Fine-tuning Pre-trained Named Entity Recognition Models For Indian Languages
2024-05-08T05:54:54
2024-05-10T12:57:50
Sankalp Bahad, Pruthwik Mishra, Karunesh Arora, Rakesh Chandra Balabantaray, Dipti Misra Sharma, Parameswari Krishnamurthy
cs.CL
cs.CL
Named Entity Recognition (NER) is a useful component in Natural Language Processing (NLP) applications. It is used in various tasks such as Machine Translation, Summarization, Information Retrieval, and Question-Answering systems. The research on NER is centered around English and some other major languages, whereas limited attention has been given to Indian languages. We analyze the challenges and propose techniques that can be tailored for Multilingual Named Entity Recognition for Indian Languages. We present a human annotated named entity corpora of 40K sentences for 4 Indian languages from two of the major Indian language families. Additionally,we present a multilingual model fine-tuned on our dataset, which achieves an F1 score of 0.80 on our dataset on average. We achieve comparable performance on completely unseen benchmark datasets for Indian languages which affirms the usability of our model.
[ -0.5804892182350159, -0.5322869420051575, 0.14088954031467438, 0.14889611303806305, -0.42375993728637695, 0.0883050188422203, -0.5687864422798157, -0.8467845320701599, 0.28189095854759216, 0.4498658776283264, -0.21610328555107117, -0.2683160901069641, -0.5419478416442871, 0.7222841382026672, -0.3522002696990967, 0.974218487739563, 0.00037268901360221207, 0.038534097373485565, 0.016512971371412277, -0.2770523130893707, -0.5689668655395508, -0.4967033863067627, -0.9438193440437317, -0.22427737712860107, 0.34776803851127625, 0.4683479070663452, 0.3068845570087433, 0.4819735288619995, 0.7703610062599182, 0.3032907247543335, 0.04401658475399017, 0.43181827664375305, -0.15791669487953186, 0.3097427189350128, -0.23926307260990143, -0.2947990298271179, -0.34238243103027344, -0.38799580931663513, 0.8959213495254517, 0.7280911207199097, -0.18623840808868408, 0.1928205043077469, -0.06726306676864624, 0.490268349647522, -0.6535008549690247, 0.1661507934331894, -0.8063057661056519, -0.17111080884933472, -0.5925742387771606, -0.11455351859331131, -0.4269125759601593, -0.35642823576927185, 0.19434145092964172, -0.6598612070083618, 0.22044974565505981, 0.15706868469715118, 1.132187008857727, 0.3151431977748871, -0.27856212854385376, -0.39463213086128235, -0.9442619681358337, 0.8002094626426697, -0.47034186124801636, 0.7460268139839172, 0.41171547770500183, 0.31134918332099915, -0.015667937695980072, -0.3446543514728546, -0.6228060126304626, -0.04390563443303108, -0.23559221625328064, -0.31576237082481384, -0.10719861090183258, -0.16739094257354736, 0.2739396095275879, 0.4486730992794037, -0.4020250737667084, 0.14705072343349457, -0.3884184956550598, -0.30136433243751526, 0.5753551721572876, -0.0202315840870142, 0.514036238193512, -0.09627427905797958, -0.2869718074798584, 0.11777441203594208, -0.6677438616752625, -0.024944178760051727, 0.3980332612991333, 0.5973061323165894, 0.10134095698595047, 0.47943115234375, -0.5265774726867676, 0.9372721314430237, 0.18146221339702606, -0.16172271966934204, 0.29362568259239197, -0.17356902360916138, -0.11050296574831009, 0.21179544925689697, 0.48944413661956787, 0.210469052195549, 0.6824607849121094, -0.34602487087249756, -0.3443301022052765, 0.07467533648014069, -0.0455416738986969, -0.727203905582428, -0.17531679570674896, -0.2658548653125763, -0.1645003855228424, 0.05605098232626915, -0.26374444365501404, -0.818393886089325, -0.3629114627838135, -0.7074112296104431, 0.18904124200344086, -0.6152277588844299, -0.57232266664505, -0.09233779460191727, 0.16570451855659485, 0.6604216694831848, 0.2168462723493576, -1.0739896297454834, 0.45251134037971497, 0.5760046243667603, 0.44284260272979736, -0.15348048508167267, -0.35472923517227173, -0.5229614973068237, 0.015956925228238106, -0.20930537581443787, 1.140871524810791, -0.9532389044761658, -0.2982288897037506, -0.22619614005088806, -0.0837814211845398, -0.29367291927337646, -0.559552013874054, 0.49210667610168457, -0.6693558692932129, -0.2115519642829895, -0.17237889766693115, -0.6279076337814331, -0.2541591227054596, 0.4859963655471802, -0.4939449429512024, 0.7018350958824158, -0.16198275983333588, -0.8493525981903076, 0.6210193037986755, -0.6150574088096619, -0.6477507948875427, 0.33415859937667847, -0.13313139975070953, -0.17237414419651031, 0.2749605178833008, 0.4645415246486664, 0.4580640196800232, -0.33573421835899353, 0.29858720302581787, -0.04665350914001465, -0.21225802600383759, -0.09135538339614868, -0.23231424391269684, 0.4520420432090759, 0.25804561376571655, 0.0529792346060276, -0.020771684125065804, -1.1873703002929688, 0.30382290482521057, -0.10169616341590881, -0.1326703131198883, -0.7294802665710449, -0.21910777688026428, 0.28617075085639954, 0.04141481593251228, 0.14215688407421112, -0.5929997563362122, 0.02005534991621971, -0.5421622395515442, 0.5112762451171875, 0.24765370786190033, 0.128935769200325, 0.5593688488006592, 0.2433614730834961, 0.4159260094165802, -0.045177049934864044, -0.06271903961896896, -0.09746846556663513, -0.2742534577846527, -0.952057421207428, -0.15172888338565826, 0.9428415298461914, 0.621945858001709, -0.5080556869506836, -0.1274547129869461, -0.40697821974754333, -0.5196148157119751, -0.6798493266105652, 0.07736003398895264, 0.4607754051685333, 0.5319268703460693, 0.4771452844142914, -0.22677256166934967, -0.7756419777870178, -1.1761982440948486, -0.42633530497550964, 0.1352398693561554, 0.3049151301383972, 0.06338523328304291, 0.5327751636505127, -0.32569488883018494, 0.9227048754692078, -0.36296120285987854, -0.3755780756473541, -0.13620872795581818, 0.2538163959980011, -0.11423264443874359, 0.517612874507904, 0.09830804914236069, -1.164193868637085, -0.5724512338638306, 0.020248016342520714, -0.5171679258346558, 0.14245067536830902, -0.00783532951027155, 0.020451417192816734, 0.3150478005409241, 0.7781348824501038, -0.5378774404525757, 0.35163888335227966, 0.26172274351119995, -0.02239689975976944, 0.41193926334381104, -0.3523423373699188, 0.16793420910835266, -1.3315002918243408, 0.013564462773501873, 0.0033045548480004072, -0.18098068237304688, -0.6250208616256714, 0.20157381892204285, 0.24496124684810638, -0.23796352744102478, -0.3858991265296936, 0.8856140971183777, -0.970190167427063, 0.06392379105091095, -0.2427186518907547, 0.024587657302618027, -0.361132949590683, 0.25724026560783386, 0.3165968358516693, 0.8439062237739563, 0.6708407998085022, -0.9001195430755615, 0.06289917230606079, 0.2938752770423889, -0.2393028736114502, 1.1193959712982178, -0.6366221904754639, 0.20882998406887054, -0.22086594998836517, -0.29850560426712036, -0.4595702886581421, -0.44546568393707275, 0.08301270753145218, -0.47163477540016174, 0.7271754145622253, -0.2355441004037857, -0.4552461802959442, 0.06672821193933487, 0.19183044135570526, 0.4762082099914551, 0.12408383190631866, -0.426893949508667, 0.8256576657295227, 0.7185848951339722, -0.1711314618587494, -0.44443172216415405, -0.743964672088623, 0.2141357660293579, -0.2928757667541504, -0.32654473185539246, 0.3780563473701477, 0.02987152524292469, -0.1407172679901123, -0.03291948512196541, -0.06340587139129639, -0.5148574709892273, -0.026336027309298515, 0.4792705178260803, 0.07154521346092224, -0.2741088569164276, 0.26039251685142517, -0.0469234324991703, -0.4447462856769562, -0.32856011390686035, 0.05907630920410156, 0.4010907709598541, -0.4843628406524658, -0.13221299648284912, -0.45995214581489563, 0.3372843861579895, 0.2942178547382355, -0.8622836470603943, 0.6492012143135071, 0.7030067443847656, -1.0186959505081177, 0.121403269469738, -0.712727427482605, -0.03584962710738182, -0.34139370918273926, 0.2088756412267685, -0.6861405372619629, -0.8203235268592834, 0.580686092376709, -0.13448311388492584, -0.19315826892852783, 0.6109971404075623, 0.29411372542381287, 0.26442432403564453, 0.8599851727485657, 0.9729738831520081, -0.08882627636194229, 0.28256750106811523, 0.044125430285930634, 0.6450956463813782, -0.9435827136039734, -0.20565645396709442, -0.6502986550331116, -0.1293463408946991, -0.8846100568771362, -0.1009054109454155, -0.12209335714578629, 0.3127783536911011, 0.10415720194578171, 0.5894055366516113, -0.578374445438385, 0.7616642713546753, 0.4157153069972992, -0.3814636170864105, 0.37759071588516235, -0.05714119225740433, -0.13164901733398438, -0.27032220363616943, -0.1321178525686264, -0.6957816481590271, 0.7620035409927368, -0.02636263146996498, 0.601091206073761, 0.060308150947093964, 1.006504774093628, -0.039278507232666016, 0.23588663339614868, -0.4996260106563568, 0.5489382147789001, -0.2092917114496231, -0.795281171798706, -0.3048580288887024, -0.24025332927703857, -0.9704482555389404, 0.07459433376789093, -0.393586128950119, -0.7401635050773621, 0.33860036730766296, 0.15726135671138763, -0.587384045124054, 0.07433580607175827, -0.9332512021064758, 0.7694911360740662, -0.26851996779441833, 0.15646904706954956, -0.05104365199804306, -0.5091347694396973, 0.28147101402282715, -0.19226530194282532, 0.19642111659049988, -0.1279481202363968, 0.05186286196112633, 0.5825425386428833, -0.1274469494819641, 0.3121134042739868, -0.07809510082006454, 0.21080994606018066, -0.013215984217822552, -0.1552121937274933, 0.27143925428390503, 0.4880046546459198, -0.1406964212656021, 0.2837582528591156, 0.0008001593523658812, -0.28322967886924744, -0.21552392840385437, 1.0141178369522095, -0.489223837852478, -0.23307080566883087, -0.5905709266662598, -0.3258736729621887, -0.24674580991268158, 0.6760347485542297, 0.380420982837677, 0.4077335596084595, -0.2349761724472046, 0.09879448264837265, 0.6808325052261353, -0.0855545774102211, 0.5699329972267151, 0.6619153022766113, -0.19706451892852783, -0.3043260872364044, 1.0691583156585693, 0.327249139547348, -0.13235490024089813, 0.5201228260993958, -0.38719308376312256, -0.2854974567890167, -0.7544081807136536, -0.6705759763717651, 0.2346733957529068, -0.535741925239563, -0.3382071256637573, -0.8175908327102661, -0.26668423414230347, -0.2849850356578827, 0.08330510556697845, -0.4789409935474396, -0.346548467874527, -0.36904221773147583, 0.06349726021289825, 0.28487443923950195, 0.6542320847511292, 0.10749708116054535, 0.12198632955551147, -0.7930693626403809, 0.46190744638442993, 0.3309459388256073, 0.7131919860839844, -0.20682939887046814, -0.40182164311408997, -0.00035661429865285754, -0.06364374607801437, 0.15376117825508118, -0.7531874775886536, 0.4167611300945282, 0.641882598400116, 0.48613041639328003, 0.1878851354122162, -0.04654261842370033, 0.9684621691703796, -0.7743100523948669, 0.330933153629303, -0.18386778235435486, -0.7765899896621704, 0.6213011741638184, -0.014129139482975006, 0.12775416672229767, 0.8973339796066284, 0.45759281516075134, -0.4902261197566986, -0.08425538241863251, -0.3778817653656006, -0.9200703501701355, 0.3913407623767853, 0.09688177704811096, 0.2101447582244873, -0.21714240312576294, 0.5480887293815613, 0.14424827694892883, 0.08343036472797394, -0.5180672407150269, -0.16705316305160522, 0.23591984808444977, -0.0939597487449646, -0.10799839347600937, -0.2507898509502411, 0.44657236337661743, -0.18130773305892944, 0.7094815969467163, 0.14260153472423553, -0.06308083236217499, 0.25219056010246277, -0.7132772207260132, 0.03238994628190994, 0.6467981338500977, 0.7578506469726562, 0.551935076713562, -0.15636955201625824, -0.027141492813825607, 0.4115554690361023, -0.4606580436229706, -0.011370444670319557, 0.6407195925712585, -0.3677070736885071, 0.09326844662427902, 0.035171568393707275, 0.8578097224235535, 0.4046703577041626, -0.5136895179748535, 0.0017753656720742583, -0.5534254312515259, 0.2820429801940918, -0.6908081769943237, -0.03593134880065918, 0.13615335524082184, 0.18673084676265717, 0.23228168487548828, 0.3594033122062683, 0.24576206505298615, -0.26028475165367126, 0.08160781115293503, 0.4147772789001465, -0.44296184182167053, -0.36889177560806274, 0.6550564765930176, 0.15121598541736603, -0.6484988331794739, 0.8748964071273804, -0.6005305647850037, -0.4819975793361664, 0.3160754144191742, 0.38001883029937744, 0.668194055557251, -0.3524135947227478, 0.010678695514798164, 0.5995544195175171, 0.4137624502182007, -0.26240274310112, 0.32493358850479126, 0.14138686656951904, -0.6387210488319397, -0.4285469055175781, -1.0918406248092651, -0.42857345938682556, 0.06997430324554443, -0.6877920031547546, 0.6431189775466919, -0.3391159474849701, -0.21734197437763214, 0.43432164192199707, 0.03152158111333847, -1.0925078392028809, 0.4417154788970947, 0.47375577688217163, 0.7205960154533386, -0.7656947374343872, 0.8678642511367798, 1.069698691368103, -0.6786730289459229, -0.9625310301780701, -0.1824277937412262, -0.32502585649490356, -0.4705912470817566, 0.7543408870697021, 0.3628372251987457, -0.03714269772171974, 0.39964184165000916, -0.01585284247994423, -1.2404738664627075, 0.675304651260376, 0.28493955731391907, -0.8465336561203003, -0.10523203760385513, 0.11746790260076523, 0.8227378726005554, -0.540290892124176, 0.2705344259738922, 0.5126488208770752, 0.48356765508651733, -0.42159804701805115, -1.0899769067764282, -0.2172335982322693, -0.380359023809433, 0.19242452085018158, 0.6234455704689026, -0.44371503591537476, 0.7952176332473755, -0.38392117619514465, -0.3087065815925598, -0.02789240889251232, 0.7181592583656311, 0.11931140720844269, 0.2698345184326172, 0.6250936985015869, 0.7493334412574768, 0.9594030380249023, -0.18014152348041534, 0.9646612405776978, -0.38894957304000854, 0.16499894857406616, 1.4014694690704346, -0.4771980345249176, 1.1163984537124634, 0.5538088083267212, -0.029629681259393692, 0.33228012919425964, 0.6863871216773987, -0.029091261327266693, 0.3805716335773468, 0.1895267516374588, 0.04225945100188255, -0.3048330545425415, -0.2937324345111847, -0.469326913356781, 0.8125630021095276, 0.3522799611091614, -0.017125023528933525, -0.29909181594848633, 0.21390296518802643, -0.057660069316625595, 0.12446262687444687, -0.362146258354187, 0.748059868812561, 0.06843173503875732, -0.6617887020111084, 0.5165470838546753, 0.0636308416724205, 0.8694961667060852, -0.2235482931137085, -0.2038440853357315, -0.194827601313591, 0.24673974514007568, -0.19712840020656586, -0.2728441655635834, 0.5624759197235107, 0.25822606682777405, -0.5225106477737427, -0.025001160800457, 0.9095721244812012, -0.6445055603981018, -0.6651288270950317, 0.22721120715141296, 0.27530473470687866, 0.2947661578655243, -0.2970236837863922, -0.42091354727745056, -0.15181377530097961, -0.28227075934410095, 0.008810881525278091, 0.35573041439056396, 0.341977059841156, -0.331496924161911, 0.6031748056411743, 0.5742653012275696, 0.1390499472618103, 0.29077965021133423, 0.14855358004570007, 0.3573439121246338, -0.7831587791442871, -0.3165207505226135, -0.7591373920440674, 0.309142142534256, -0.18603090941905975, -0.5666090250015259, 0.6215000748634338, 0.654962956905365, 1.2409635782241821, -0.1123598963022232, 0.4744163155555725, -0.0034836321137845516, 0.907926082611084, -0.28941792249679565, 0.8541397452354431, -0.540087878704071, 0.11065685749053955, -0.15352071821689606, -1.0341993570327759, -0.5509389638900757, 0.530703067779541, -0.3419201970100403, -0.08155000954866409, 0.4312751591205597, 0.6561017632484436, -0.09822715073823929, 0.04941794276237488, 0.12921692430973053, -0.046598970890045166, 0.09804144501686096, 0.40365397930145264, 0.6584649085998535, -0.56990647315979, 0.5839712619781494, -0.38721391558647156, 0.21570350229740143, -0.13075873255729675, -1.0132774114608765, -0.8034636974334717, -0.6518795490264893, -0.4647904634475708, 0.20530009269714355, 0.06132164224982262, 0.8768009543418884, 0.796312689781189, -1.2152169942855835, 0.15516428649425507, -0.01683572493493557, 0.05755147710442543, 0.051342520862817764, -0.14529526233673096, 0.21856176853179932, -0.3660213053226471, -0.7815501093864441, 0.3237502872943878, 0.29202577471733093, -0.09269953519105911, 0.10669784992933273, 0.02082369476556778, -0.5540564060211182, -0.14059242606163025, 0.4399997293949127, 0.5544818043708801, -0.7647445797920227, -0.20255877077579498, 0.02748623676598072, -0.06519526243209839, -0.010662551037967205, 0.6106453537940979, -0.597627580165863, 0.5721122026443481, 0.27006471157073975, 0.8654571175575256, 0.1629326343536377, -0.2253088802099228, 0.3012527525424957, -0.7003592848777771, 0.04818665608763695, 0.25918278098106384, 0.43641728162765503, 0.9531689286231995, -0.2968077063560486, 0.5648844838142395, -0.04622172191739082, -0.5655606985092163, -1.0651737451553345, 0.05136066675186157, -0.7373219728469849, 0.25558197498321533, 0.8119635581970215, 0.07657957822084427, -0.04972870647907257, -0.2074403166770935, -0.11002074182033539, 0.4449423849582672, -0.297760933637619, 0.3949260711669922, 0.7826120853424072, -0.008433273062109947, -0.30387571454048157, -0.6969563364982605, 0.5641241073608398, 0.2818711996078491, -0.8279111385345459, -0.12981291115283966, 0.2938694953918457, 0.568190336227417, 0.4886525869369507, 0.6450899243354797, -0.0030971758533269167, 0.1713913083076477, -0.35063549876213074, 0.26493242383003235, 0.07649026811122894, -0.46438318490982056, -0.5168129205703735, -0.007020346820354462, 0.26161837577819824, -0.1584717184305191 ]
http://arxiv.org/abs/2405.04828v1
http://arxiv.org/pdf/2405.04828v1
ChuXin: 1.6B Technical Report
2024-05-08T05:54:44
2024-05-08T05:54:44
Xiaomin Zhuang, Yufan Jiang, Qiaozhi He, Zhihua Wu
cs.CL
cs.CL
In this report, we present ChuXin, an entirely open-source language model with a size of 1.6 billion parameters. Unlike the majority of works that only open-sourced the model weights and architecture, we have made everything needed to train a model available, including the training data, the training process, and the evaluation code. Our goal is to empower and strengthen the open research community, fostering transparency and enabling a new wave of innovation in the field of language modeling. Furthermore, we extend the context length to 1M tokens through lightweight continual pretraining and demonstrate strong needle-in-a-haystack retrieval performance. The weights for both models are available at Hugging Face to download and use.
[ 0.009541711769998074, -0.6281186938285828, 0.3748132884502411, 0.380855917930603, -0.4196837544441223, -0.5265493392944336, -0.14469371736049652, -0.5078955292701721, 0.25176942348480225, 0.681534469127655, -0.27631232142448425, -0.21428264677524567, -0.36680909991264343, -0.29174691438674927, -0.7573549151420593, 0.8374248147010803, 0.3920295238494873, 0.0317319892346859, 0.03856072202324867, -0.0876605361700058, -0.2462887167930603, -0.3368402123451233, -0.4979201853275299, -0.22842812538146973, 0.7020836472511292, 0.4470064640045166, 0.7103872895240784, 0.9873573780059814, 0.35878050327301025, 0.19115090370178223, 0.029170561581850052, -0.6875641345977783, -0.5369361042976379, -0.2857062816619873, -0.04058733955025673, -0.41153740882873535, -0.5312998294830322, 0.36727386713027954, 0.9397573471069336, 0.9825859069824219, -0.3643482029438019, 0.12462325394153595, -0.22821557521820068, 0.6997064352035522, -0.5413150787353516, 0.22779981791973114, -0.789289116859436, -0.15178361535072327, -0.6006115674972534, 0.1649516224861145, -0.6041502356529236, -0.24940213561058044, 0.20554834604263306, -0.6148210763931274, -0.22274869680404663, 0.044686105102300644, 0.7858590483665466, 0.09002306312322617, -0.16852737963199615, -0.04883170127868652, -0.2591085135936737, 0.8733642101287842, -0.8320730328559875, 0.7599614262580872, 0.3375469446182251, 0.23500202596187592, 0.16108101606369019, -1.185605525970459, -0.1625625044107437, -0.4540657103061676, -0.039981018751859665, -0.010433007031679153, 0.10127180814743042, 0.020849009975790977, 0.1460374891757965, 0.3183683156967163, -0.49867549538612366, 0.06123780831694603, -0.6706240773200989, -0.19293352961540222, 0.6647125482559204, -0.06362929940223694, 0.09074558317661285, -0.019595855847001076, -0.25962957739830017, 0.22666773200035095, -0.5112022757530212, -0.08160566538572311, 0.36742809414863586, 0.3644286096096039, -0.43312397599220276, 0.25422170758247375, -0.3613389730453491, 0.7521262168884277, -0.19291150569915771, 0.2920793890953064, 0.2916640341281891, -0.26208552718162537, -0.31945979595184326, 0.18885527551174164, 0.8971965909004211, -0.07551024109125137, 0.12152766436338425, -0.4512351453304291, -0.0029353578574955463, -0.21896836161613464, 0.5202848315238953, -0.8800931572914124, -0.09090010821819305, 0.38595595955848694, -0.5133927464485168, -0.35795313119888306, 0.39251330494880676, -0.7145602703094482, -0.33804604411125183, -0.1437554955482483, 0.3680393099784851, -0.6677091717720032, -0.5479079484939575, 0.38051044940948486, -0.21701501309871674, 0.450381875038147, 0.2771340608596802, -0.6513720750808716, 0.29729193449020386, 0.7363681793212891, 0.9779977202415466, 0.042146481573581696, -0.4386850893497467, -0.7647063732147217, -0.33948102593421936, -0.40142545104026794, 0.39836105704307556, -0.6534983515739441, -0.31126752495765686, 0.14355581998825073, 0.08628963679075241, 0.13986946642398834, -0.23080070316791534, 0.6580580472946167, -0.4303816258907318, 0.08318319171667099, -0.08065961301326752, -0.46421653032302856, -0.14443974196910858, -0.18308788537979126, -0.77757728099823, 0.9739617705345154, 0.5854771733283997, -0.8692514896392822, 0.08092541247606277, -0.6796057820320129, -0.08573053777217865, 0.7074608206748962, 0.20859786868095398, -0.05449283495545387, 0.2986951172351837, -0.3983820676803589, 0.04604249820113182, -0.5268032550811768, 0.25482383370399475, -0.4130600392818451, -0.5187144875526428, 0.15124393999576569, 0.008479896001517773, 1.2338768243789673, 0.5673108100891113, -0.0732044205069542, 0.22362491488456726, -0.7573829889297485, 0.3250199854373932, 0.11708810180425644, -0.21690888702869415, -0.40579694509506226, -0.026668578386306763, 0.19361186027526855, 0.07243777811527252, 0.42106181383132935, -0.5855327844619751, 0.15972758829593658, -0.6907864212989807, 0.6936611533164978, 0.5181574821472168, -0.5096525549888611, 0.441804438829422, -0.1557151824235916, 0.3575363755226135, 0.2681092321872711, 0.3472784459590912, -0.6817354559898376, -0.26529067754745483, -0.8969184160232544, -0.22342820465564728, 0.8573665022850037, 0.1038748174905777, -0.36492499709129333, 0.45945194363594055, -0.2231297343969345, -0.7877094745635986, -0.8774256706237793, -0.05855688452720642, 0.24947252869606018, 0.48459669947624207, 0.052271321415901184, -0.7038003206253052, -0.477137953042984, -1.0095624923706055, -0.24173316359519958, -0.35982251167297363, -0.12231555581092834, -0.023165259510278702, 0.6050274968147278, -0.3117130696773529, 1.0354701280593872, -0.3533305823802948, 0.030330777168273926, -0.15782685577869415, 0.09796042740345001, 0.08710753172636032, 0.49623903632164, 0.6881227493286133, -0.4493829905986786, -0.4490775465965271, 0.15898393094539642, -0.6762100458145142, -0.3576499819755554, 0.271722674369812, -0.16979475319385529, 0.2398516833782196, 0.5292754769325256, -0.39507046341896057, 0.23296251893043518, 0.6145757436752319, -0.2148638665676117, 0.7071625590324402, 0.05592384561896324, -0.19894970953464508, -0.78327876329422, 0.5276085734367371, 0.004857238847762346, -0.33672261238098145, -0.6489576101303101, 0.6000936031341553, 0.5078139901161194, -0.1111728772521019, -0.8552865982055664, 0.9874733090400696, -0.14019522070884705, 0.34642985463142395, -0.052394799888134, 0.22727225720882416, -0.23579534888267517, 0.2497246116399765, -0.07755457609891891, 0.5299530625343323, 0.9260172247886658, -0.5857666730880737, 0.27933469414711, -0.04345196858048439, -0.4795086085796356, 0.30158570408821106, -1.0596673488616943, 0.2960764467716217, -0.10240938514471054, -0.037064820528030396, -0.46759334206581116, -0.5131677389144897, 0.26583346724510193, -0.3886287808418274, -0.04283302277326584, -0.10512569546699524, -0.46792978048324585, -0.2447066605091095, -0.4075629413127899, 0.31048208475112915, 0.7655866742134094, -0.3263729214668274, 0.4310136139392853, 0.6215522289276123, -0.11407673358917236, -0.3088833689689636, -0.5291371941566467, -0.15003889799118042, -0.08607200533151627, -0.6735631227493286, 0.12240052968263626, -0.4351487457752228, -0.32060325145721436, -0.12217371165752411, -0.05478367581963539, -0.4350474774837494, 0.08491235226392746, 0.20446179807186127, 0.004027973860502243, -0.2101030796766281, 0.2739453613758087, -0.2774505019187927, -0.10350148379802704, 0.15134859085083008, -0.6472156643867493, 0.5661869645118713, -0.35257115960121155, -0.04569102078676224, -0.18346625566482544, 0.21442362666130066, 0.41472434997558594, -0.46586254239082336, 0.8677718043327332, 0.25541794300079346, -0.3867782652378082, -0.3566824793815613, -0.3526306450366974, 0.12244043499231339, -0.5609911680221558, 0.35590603947639465, -0.05164911970496178, -0.9525009393692017, 0.491700142621994, 0.11253873258829117, 0.24323661625385284, 0.3283541202545166, 0.5077850818634033, 0.43094220757484436, 0.6827408671379089, 0.8069419860839844, -0.14718368649482727, 0.48249363899230957, 0.37474876642227173, 0.032320182770490646, -0.40608683228492737, -0.26070961356163025, -0.8122241497039795, 0.09468311816453934, -0.21598777174949646, -0.33706143498420715, 0.14992831647396088, 0.17956583201885223, -0.402573823928833, 0.4733606278896332, -0.3694896697998047, 0.471900999546051, 0.7579048871994019, -0.06290804594755173, 0.18209907412528992, -0.31124505400657654, -0.31028953194618225, 0.02978186123073101, -0.6166825294494629, -0.26895710825920105, 0.8453512191772461, 0.6325650811195374, 0.9689399003982544, -0.2101029008626938, 0.3482983708381653, 0.02301180362701416, 0.1771540641784668, -0.9266477227210999, 0.6863115429878235, -0.05008123815059662, -0.8401597142219543, -0.1794891059398651, -0.6297911405563354, -0.8725970983505249, -0.057913560420274734, 0.3212122619152069, -0.747350811958313, -0.49005767703056335, 0.16197872161865234, 0.11304423213005066, 0.007751747500151396, -0.8387491106987, 1.0015051364898682, -0.3512600064277649, -0.3202286958694458, -0.12151144444942474, -0.8317676782608032, 0.5055628418922424, -0.4629487097263336, 0.1686769425868988, 0.05102895572781563, 0.007877103984355927, 0.7517747282981873, -0.27099472284317017, 0.6003931164741516, -0.11914363503456116, -0.13180294632911682, 0.4618270695209503, 0.08855253458023071, 0.10427235811948776, 0.09890257567167282, -0.34975147247314453, 0.7425159811973572, 0.1394633948802948, -0.45969870686531067, -0.20863616466522217, 0.7145237326622009, -0.6421242952346802, -0.2611248195171356, -0.48922714591026306, -0.6734894514083862, 0.0762154683470726, 0.5609850287437439, 0.05223552882671356, 0.3980533480644226, -0.31378456950187683, 0.8104153871536255, 0.5147556662559509, -0.4149022698402405, 0.43927910923957825, 0.8103116750717163, -0.5575444102287292, -0.19081877171993256, 0.7719468474388123, 0.1841573715209961, 0.22976604104042053, 0.1816079020500183, 0.287965327501297, -0.10811352729797363, -0.28410303592681885, -0.06943164020776749, 0.46822357177734375, -0.5710542798042297, 0.1555097997188568, -0.6161853075027466, -0.6586256623268127, -0.6363629102706909, 0.0655859112739563, -0.8026427030563354, -0.3997375965118408, 0.026249606162309647, 0.13500691950321198, 0.03278331458568573, 0.6856523156166077, 0.16935525834560394, 0.8383195400238037, -0.9498284459114075, -0.0789145901799202, 0.12541161477565765, 1.1493571996688843, -0.02560759149491787, -0.6256205439567566, -0.8219454884529114, 0.17819850146770477, -0.3629448711872101, -0.6055992245674133, 0.38942790031433105, 0.09689593315124512, 0.4769120514392853, 0.49374720454216003, 0.01678476296365261, 0.44717568159103394, -0.6146044731140137, 1.000784158706665, 0.3161994516849518, -1.1547112464904785, 0.5382455587387085, -0.5255969762802124, 0.6571815013885498, 0.4108911156654358, 0.5504136681556702, -0.7274267077445984, -0.22443512082099915, -0.6170851588249207, -0.6363821625709534, 1.0613104104995728, 0.22080519795417786, 0.1225464716553688, 0.06601633876562119, 0.4361152946949005, 0.406045526266098, 0.3148692548274994, -0.8192945122718811, -0.08494266867637634, -0.5157304406166077, -0.338107705116272, 0.1407957524061203, -0.1082686185836792, -0.0028675049543380737, -0.39073818922042847, 0.6881588697433472, -0.1813807636499405, 0.34414342045783997, -0.1977875530719757, -0.1502498984336853, -0.206280916929245, 0.13925674557685852, 0.26596105098724365, 0.6723502278327942, -0.31075334548950195, -0.09091178327798843, -0.11515600234270096, -0.5778791308403015, -0.35488688945770264, 0.2440102994441986, -0.20039178431034088, -0.022382153198122978, 0.2655450403690338, 0.6328966617584229, 0.17150361835956573, -1.0110465288162231, 0.4517393708229065, -0.15507999062538147, -0.3697090744972229, -0.34905704855918884, 0.3553527295589447, 0.13637343049049377, -0.11568017303943634, 0.21044933795928955, -0.44246402382850647, -0.06762374937534332, -0.5027719140052795, 0.4450906217098236, 0.3614956736564636, -0.9913783073425293, -0.7604424953460693, 0.8721564412117004, 0.37387725710868835, -0.348903626203537, 0.7931742072105408, -0.077165387570858, -0.21285976469516754, 0.313633531332016, 0.3971232771873474, 0.8383287787437439, -0.2446468323469162, 0.33510687947273254, 0.601203441619873, 0.4836595952510834, -0.2520156502723694, 0.09669315069913864, 0.4228654205799103, -0.24021710455417633, -0.18322496116161346, -1.043331503868103, -0.4123014211654663, 0.43391841650009155, -0.41431257128715515, 0.8045011162757874, -0.5022082924842834, 0.22142352163791656, -0.03793859854340553, -0.05432736873626709, -0.4268295466899872, 0.1383402794599533, 0.01495879516005516, 1.3566808700561523, -0.39532557129859924, 1.1088627576828003, 0.6517491340637207, -0.6000419855117798, -0.7156820893287659, -0.24257925152778625, 0.07670043408870697, -0.6476500630378723, 0.3896787464618683, 0.5444483757019043, 0.21811522543430328, 0.19518841803073883, -1.220158338546753, -0.8562451004981995, 0.8070704340934753, 0.623895525932312, -0.5154882073402405, -0.2693325877189636, 0.07336526364088058, 0.358933687210083, -0.5060076713562012, 0.4088335335254669, 0.4426601827144623, 0.44810160994529724, -0.1448492556810379, -1.1278791427612305, -0.17545869946479797, -0.4493323564529419, -0.09525591880083084, 0.2755798399448395, -1.0459188222885132, 1.1119219064712524, 0.16399288177490234, -0.2749446630477905, 0.31911250948905945, 0.5199549198150635, -0.0536537766456604, -0.08810538053512573, 0.47031790018081665, 0.4814664125442505, 0.4093661606311798, -0.08255407959222794, 1.139400839805603, -0.5330662131309509, 0.2942034900188446, 1.0713673830032349, -0.4231404662132263, 0.6289268732070923, 0.2920798361301422, 0.16041940450668335, 0.46362775564193726, 0.3597862422466278, 0.1982172280550003, 0.3234732449054718, 0.06558354198932648, 0.02707982435822487, -0.10788445174694061, -0.40294989943504333, -0.31060299277305603, 0.5067600607872009, 0.20286455750465393, -0.2571895718574524, -0.16686692833900452, -0.39181435108184814, 0.005138108506798744, -0.295450359582901, -0.2792591154575348, 0.4492657780647278, 0.320284903049469, -0.8979737162590027, 0.35941654443740845, 0.11685997247695923, 0.5256250500679016, -1.3949028253555298, 0.11145603656768799, -0.1067618727684021, 0.2856939733028412, 0.06517772376537323, -0.4805871844291687, 0.30253687500953674, -0.17998896539211273, 0.19901227951049805, -0.05146615952253342, 0.7863659262657166, -0.43186551332473755, -0.29764965176582336, 0.5195235013961792, 0.25109225511550903, 0.13485188782215118, -0.19244816899299622, -0.6212148666381836, 0.3155317008495331, -0.2556752860546112, -0.2649696469306946, 0.36635443568229675, 0.39161306619644165, 0.0817398726940155, 0.789624810218811, 0.3273574113845825, 0.09883666783571243, 0.21901175379753113, 0.012937706895172596, 0.8008016347885132, -0.9092212915420532, -0.5709924101829529, -0.3960520327091217, 0.9465004205703735, -0.03383153676986694, -0.42459776997566223, 0.7182774543762207, 0.4835142493247986, 1.0168912410736084, -0.1257389783859253, 0.9698529839515686, -0.4664967656135559, 0.477382630109787, -0.1526632010936737, 0.8403895497322083, -0.8455750346183777, -0.03488145023584366, -0.10875590145587921, -0.7214080691337585, -0.11046506464481354, 0.5059854388237, 0.298597514629364, 0.12938308715820312, 0.9456368088722229, 0.7446832060813904, -0.15355518460273743, 0.08655975759029388, 0.3330935537815094, 0.4779126048088074, 0.25272607803344727, 0.431147962808609, 0.4229322373867035, -0.5393485426902771, 0.5780999660491943, -0.19461695849895477, -0.39755263924598694, -0.25310030579566956, -1.0036547183990479, -0.9585157036781311, -0.7553987503051758, -0.29913529753685, -0.18786634504795074, -0.041922181844711304, 0.8932135701179504, 1.0001620054244995, -0.522832453250885, -0.5251420140266418, -0.0024196873418986797, -0.31943005323410034, -0.1796664595603943, -0.23640747368335724, -0.23976624011993408, -0.5287646055221558, -0.6951845288276672, 0.23704004287719727, 0.3826362192630768, -0.4139082729816437, -0.46714287996292114, -0.3677520155906677, -0.3207620680332184, 0.4249906539916992, 0.5425707101821899, 0.18438440561294556, -0.5671489238739014, -0.42550089955329895, 0.1437341421842575, -0.22368453443050385, 0.001136137405410409, 0.5909327864646912, -0.6954028606414795, 0.6478105783462524, 0.5660155415534973, 0.6195289492607117, 0.13278014957904816, -0.221492737531662, 0.6637666821479797, -0.8802149891853333, 0.4298483431339264, 0.1081005111336708, 0.3521566092967987, 0.07933218032121658, 0.08917451649904251, 0.7726426124572754, 0.10048837214708328, -0.675747275352478, -0.8023858070373535, 0.2910645008087158, -1.3141247034072876, -0.347507119178772, 1.0015302896499634, -0.14307758212089539, -0.4066803455352783, 0.08914254605770111, -0.21813008189201355, 0.1537674516439438, -0.3826601207256317, 0.7153769135475159, 0.8911153078079224, 0.49081674218177795, -0.2986753284931183, -0.8037128448486328, 0.13940264284610748, 0.18888753652572632, -0.8299532532691956, 0.1164248064160347, 0.45337584614753723, 0.31193751096725464, 0.0897563099861145, 0.8309046030044556, -0.3566056489944458, 0.31372037529945374, 0.307817667722702, 0.0836755558848381, -0.19775670766830444, -0.5355966091156006, -0.30992916226387024, 0.1269693374633789, 0.1870308816432953, 0.3140704333782196 ]
http://arxiv.org/abs/2405.04820v1
http://arxiv.org/pdf/2405.04820v1
APrompt4EM: Augmented Prompt Tuning for Generalized Entity Matching
2024-05-08T05:38:56
2024-05-08T05:38:56
Yikuan Xia, Jiazun Chen, Xinchi Li, Jun Gao
cs.CL
cs.CL, cs.AI
Generalized Entity Matching (GEM), which aims at judging whether two records represented in different formats refer to the same real-world entity, is an essential task in data management. The prompt tuning paradigm for pre-trained language models (PLMs), including the recent PromptEM model, effectively addresses the challenges of low-resource GEM in practical applications, offering a robust solution when labeled data is scarce. However, existing prompt tuning models for GEM face the challenges of prompt design and information gap. This paper introduces an augmented prompt tuning framework for the challenges, which consists of two main improvements. The first is an augmented contextualized soft token-based prompt tuning method that extracts a guiding soft token benefit for the PLMs' prompt tuning, and the second is a cost-effective information augmentation strategy leveraging large language models (LLMs). Our approach performs well on the low-resource GEM challenges. Extensive experiments show promising advancements of our basic model without information augmentation over existing methods based on moderate-size PLMs (average 5.24%+), and our model with information augmentation achieves comparable performance compared with fine-tuned LLMs, using less than 14% of the API fee.
[ -0.49005547165870667, -0.8579152226448059, 0.6579532623291016, 0.14152906835079193, -0.4947875440120697, 0.06100701540708542, -0.32352808117866516, -0.32073768973350525, -0.007051069289445877, 0.646238386631012, -0.8812333345413208, -0.48992058634757996, -0.1409059762954712, 0.44748327136039734, 0.22256632149219513, 1.0008800029754639, -0.04188850522041321, -0.09696941822767258, -0.026910796761512756, -0.14638195931911469, -1.1186692714691162, -0.3621665835380554, -0.9955453872680664, 0.2154565453529358, 0.3051375448703766, 0.5312362313270569, 0.6860253810882568, 0.9298211932182312, 0.5184577107429504, 0.3475727438926697, -0.10742664337158203, 0.6173599362373352, -0.10794109851121902, 0.24914047122001648, -0.1071939617395401, -0.38762637972831726, -0.8160621523857117, 0.1027236357331276, 0.5349550247192383, 0.37497955560684204, -0.24817538261413574, 0.19716376066207886, -0.02907356433570385, 0.41903936862945557, -0.4072590172290802, 0.16744095087051392, -0.8581149578094482, -0.286537766456604, -0.3884773850440979, -0.5482622981071472, -0.3811129927635193, -0.4032096266746521, -0.12958697974681854, -1.0649062395095825, 0.6174389719963074, 0.8499438762664795, 0.8116347193717957, 0.29946377873420715, -0.32189902663230896, -0.3664422631263733, -0.2591264545917511, 0.49947699904441833, -0.42996105551719666, 0.16487963497638702, 0.2740931808948517, 0.12366241216659546, -0.24134548008441925, -0.5282071232795715, -0.6447176337242126, -0.23053298890590668, -0.21040835976600647, -0.29045653343200684, 0.03630489483475685, 0.3491051197052002, 0.666864812374115, 0.6882301568984985, -0.7440746426582336, 0.11865286529064178, 0.26551613211631775, -0.2935926616191864, 0.2618832588195801, 0.339679479598999, 0.6486966609954834, 0.04324176535010338, -0.5007562637329102, -0.006245977245271206, -0.9060003757476807, -0.11133141815662384, 0.6270288825035095, 0.7659390568733215, -0.18374547362327576, 0.3728121817111969, 0.00014645543706137687, 1.1767935752868652, 0.3514357805252075, -0.019589534029364586, 0.32399827241897583, -0.7303601503372192, -0.14969420433044434, 0.22480209171772003, 0.30089449882507324, 0.40776515007019043, 0.08639756590127945, -0.15704454481601715, -0.4509665369987488, 0.15668939054012299, -0.08721146732568741, -0.6137987971305847, -0.24821063876152039, -0.15124772489070892, -0.10297378152608871, 0.1872670203447342, -0.37489554286003113, -0.6130331754684448, -0.5071064829826355, -0.749528706073761, 0.5568268895149231, -0.3922969400882721, -0.2625560760498047, -0.07829832285642624, -0.02081339620053768, 0.14773239195346832, 0.35474199056625366, -1.035232663154602, 0.049171365797519684, 0.8301398158073425, 1.0899252891540527, -0.08797719329595566, 0.025427524000406265, -1.1015946865081787, -0.010175892151892185, -0.35454893112182617, 0.9089569449424744, -0.7994491457939148, -0.606974720954895, -0.12069299072027206, 0.14335419237613678, -0.1191442608833313, -0.5007662177085876, 0.8825547099113464, -0.6292538642883301, 0.28249695897102356, -0.6353529095649719, -0.5433027744293213, 0.14136619865894318, 0.2603279948234558, -0.7410082817077637, 0.8152266144752502, 0.25917887687683105, -0.43020302057266235, 0.6566063761711121, -0.6559809446334839, -0.30326247215270996, 0.49978870153427124, -0.06760153919458389, -0.4184907078742981, -0.013560516759753227, 0.6393735408782959, 0.03031010739505291, -0.5811004638671875, 0.2921348512172699, -0.1032666265964508, -0.5388044118881226, -0.3174995183944702, -0.11120305210351944, 0.4038269519805908, 0.24905547499656677, 0.05934843420982361, 0.30053648352622986, -0.8358992338180542, -0.0902436226606369, -0.085235096514225, -0.222102090716362, -0.4963996112346649, -0.20536446571350098, -0.08896953612565994, -0.05929437279701233, 0.29548919200897217, -0.43505486845970154, 0.5538545846939087, -0.5167055726051331, 0.4564465880393982, 0.9450479745864868, 0.13229693472385406, 0.7388536334037781, -0.2567051649093628, 0.4977792203426361, -0.03441052883863449, 0.2559155225753784, -0.5652515888214111, -0.41670382022857666, -0.5012555122375488, -0.561577320098877, 0.5566139817237854, 0.6039668321609497, -0.9589486718177795, 0.4875863790512085, -0.22654934227466583, 0.026839667931199074, -0.9206453561782837, 0.13430677354335785, 0.17180994153022766, 0.9788451194763184, 0.6006680130958557, -0.14438943564891815, -0.5209951996803284, -0.8297812938690186, -0.588530421257019, -0.059955377131700516, -0.07133481651544571, 0.5777068138122559, -0.12881381809711456, -0.08648140728473663, 0.9832102060317993, -0.18976806104183197, -0.45714086294174194, -0.09931815415620804, 0.19601009786128998, 0.7018535733222961, 0.5560619831085205, 0.48910173773765564, -0.7472736835479736, -0.3362041711807251, -0.11244124919176102, -0.3725418150424957, -0.44226059317588806, -0.1557624787092209, -0.17496725916862488, -0.018939964473247528, 0.058754466474056244, -0.6571176648139954, -0.036905866116285324, 0.3556847870349884, -0.6804720163345337, 0.24323318898677826, -0.3859359622001648, 0.6162781715393066, -0.9705488681793213, -0.03882153332233429, 0.07147790491580963, -0.3335922360420227, -0.5530025362968445, -0.08704089373350143, 0.4056154787540436, -0.42179131507873535, -0.11085105687379837, 0.803947389125824, -0.8512080907821655, 0.17017711699008942, -0.440753310918808, 0.2763635218143463, 0.00027362717082723975, 0.3172679841518402, -0.08958467096090317, 1.429278016090393, 0.6851164698600769, -0.8100407123565674, 0.493450790643692, 0.39760905504226685, -0.366051584482193, 0.9368992447853088, -0.6068483591079712, 0.2056787759065628, -0.17933423817157745, 0.118730828166008, -0.6570122241973877, -0.15837207436561584, 0.2826041281223297, -0.236673042178154, 0.5567941069602966, -0.527319610118866, -0.5793448686599731, -0.22724361717700958, -0.1959153413772583, 0.45573022961616516, 0.5855289101600647, -0.8656861782073975, 0.9060447216033936, 0.037749871611595154, -0.4781699478626251, -0.43936339020729065, -0.21753467619419098, 0.258293092250824, -0.37943974137306213, -0.8148030638694763, 0.42319539189338684, -0.17431192100048065, 0.029399294406175613, -0.12997464835643768, -0.14884790778160095, 0.31172290444374084, 0.12600797414779663, 0.03131489083170891, 0.5404356122016907, -0.3283619284629822, 0.3762251138687134, 0.06163335591554642, -0.3430115580558777, -0.29070574045181274, -0.1961091011762619, 0.4146542251110077, 0.12490200996398926, -0.2671007812023163, -0.2535434067249298, 0.1931050568819046, 0.0056066266261041164, -0.27249523997306824, 0.6593961715698242, 0.4114207625389099, -0.08811398595571518, -0.1369994580745697, -0.6956981420516968, -0.13638009130954742, -0.5541489720344543, 0.03099658153951168, -0.5814259648323059, -0.9278983473777771, 0.5104036927223206, -0.2554081976413727, -0.010637542232871056, 0.3646964728832245, 0.35495179891586304, 0.2934451103210449, 1.2715423107147217, 0.6507483124732971, -0.19983281195163727, 0.6266507506370544, 0.3694291412830353, 0.2987656593322754, -0.9262564778327942, -0.026933899149298668, -0.6780922412872314, -0.1310911327600479, -0.6024374961853027, -0.15345866978168488, 0.49360179901123047, 0.178548201918602, -0.41104355454444885, 0.1523771435022354, -0.6665958166122437, 0.5473117232322693, 0.5981242656707764, -0.027409587055444717, 0.39341452717781067, -0.16662466526031494, 0.16398993134498596, 0.10604248940944672, -0.49817731976509094, -0.44159889221191406, 0.855534553527832, 0.0586443729698658, 0.7840372323989868, 0.18332137167453766, 0.09818804264068604, 0.5278217196464539, 0.13464517891407013, -0.24725979566574097, 0.4808768332004547, 0.21541358530521393, -0.4699602425098419, 0.04331199824810028, -0.7030372023582458, -0.8019125461578369, 0.017239684239029884, -0.405634343624115, -0.4546160399913788, 0.264766663312912, 0.74198317527771, -0.4512077271938324, 0.19143827259540558, -1.0337822437286377, 0.6887460947036743, -0.2084398716688156, -0.23619097471237183, 0.16384632885456085, -0.5664868950843811, 0.2786544859409332, -0.07417887449264526, 0.14297835528850555, -0.36086878180503845, -0.1434428095817566, 0.4965656101703644, -0.5316352248191833, 0.2460329532623291, -0.47172194719314575, -0.07040833681821823, 0.12203405797481537, -0.1591036170721054, 1.0532771348953247, 0.5456318855285645, -0.04928213730454445, -0.14405806362628937, -0.39205703139305115, -0.4897988736629486, -0.495178759098053, 0.9863361716270447, -0.5033195614814758, -0.8084909915924072, -0.37176987528800964, -0.3946498930454254, -0.41016608476638794, 0.03973926231265068, 0.35144051909446716, 0.5084289312362671, 0.16593241691589355, -0.32206469774246216, 0.9617571830749512, -0.17008590698242188, 0.47828006744384766, 0.7719992399215698, 0.1589999496936798, -0.4215395748615265, 0.7918976545333862, -0.4219604432582855, -0.09783844649791718, 0.22171488404273987, -0.29053911566734314, -0.6454402804374695, -0.46103498339653015, -0.9746542572975159, 0.24582552909851074, -0.40286317467689514, -0.5521324276924133, -0.4409596621990204, 0.38732782006263733, -0.4692096710205078, 0.04677151143550873, 0.0468672513961792, 0.032334715127944946, -0.6060770153999329, 0.035917334258556366, 0.8866994976997375, 0.19044537842273712, 0.025102807208895683, 0.530023992061615, -0.8447957038879395, 0.3968595266342163, 0.3148854672908783, 0.7337878942489624, -0.4469594657421112, -0.5422133803367615, -0.018752682954072952, -0.03724827244877815, 0.053059373050928116, -0.8386136889457703, 0.10185571014881134, 0.4998168349266052, 0.543243408203125, 0.06543862819671631, -0.011570512317121029, 0.8103369474411011, -0.7139692902565002, 0.9020771384239197, -0.0359375961124897, -1.011946678161621, 0.8073335289955139, -0.3226846754550934, 0.04339359328150749, 0.680353581905365, -0.016767695546150208, -0.3494144082069397, 0.21750015020370483, -0.3266061246395111, -0.9259315133094788, 0.9444689154624939, 0.092589370906353, 0.12629932165145874, -0.25424978137016296, 0.7047720551490784, 0.11384185403585434, 0.3435162901878357, -0.41079914569854736, -0.2681109309196472, 0.10138878971338272, -0.33652183413505554, -0.3291538953781128, -0.23947155475616455, 0.05938147380948067, 0.09458588808774948, 0.7773738503456116, -0.1381908357143402, 0.237117737531662, 0.0840458944439888, -0.35270220041275024, -0.29231399297714233, 0.3599448502063751, 0.5219972133636475, 0.3902454674243927, -0.18762247264385223, -0.040996842086315155, 0.3374476432800293, -0.39585575461387634, 0.22063705325126648, 0.3398549556732178, -0.09863230586051941, 0.08121493458747864, 0.11206813901662827, 1.459266185760498, -0.09804106503725052, -0.5648209452629089, 0.4611523151397705, -0.23930583894252777, 0.18290291726589203, 0.1038149744272232, 0.32963380217552185, -0.44158637523651123, 0.134055033326149, 0.36234962940216064, 0.06703060120344162, 0.13156758248806, -0.4366874694824219, -0.09448651224374771, 0.6245020627975464, -0.10524871945381165, -0.43015703558921814, 0.741589367389679, 0.3847503662109375, -0.5321876406669617, 0.6817190051078796, -0.3362085521221161, -0.10949995368719101, 0.2370978146791458, 0.5924487113952637, 0.6059720516204834, -0.4435081481933594, -0.22495552897453308, 0.25437334179878235, 0.3032882511615753, -0.23712623119354248, 0.4409569799900055, -0.22087503969669342, -0.30746322870254517, -0.6663894653320312, -0.6320748925209045, -0.30337366461753845, -0.026867680251598358, -0.5510806441307068, 0.6694060564041138, -0.16369479894638062, -0.24430640041828156, -0.3972874879837036, 0.018550220876932144, -0.8335467576980591, 0.2152482122182846, -0.027343550696969032, 0.9925412535667419, -0.8473772406578064, 0.4744592010974884, 0.7547183036804199, -0.23616667091846466, -0.7850942611694336, -0.38589808344841003, -0.36072179675102234, -0.768479585647583, 0.016810445114970207, -0.013165796175599098, 0.19950531423091888, 0.49471765756607056, -0.3992709219455719, -0.8461853265762329, 0.9168654680252075, 0.44033193588256836, -0.7902132272720337, -0.20901942253112793, -0.21123799681663513, 0.2928849756717682, -0.327094703912735, 0.40555766224861145, 0.7083306908607483, 0.5262014865875244, 0.015374443493783474, -0.8366820812225342, 0.11387260258197784, -0.24873925745487213, 0.18896178901195526, 0.7617449164390564, -0.3243195414543152, 0.9241625666618347, 0.027585113421082497, -0.5586773157119751, 0.20519161224365234, 0.516730785369873, 0.3951268494129181, 0.3066096305847168, 0.7011657953262329, 0.6546440124511719, 0.9733449816703796, -0.4312886595726013, 0.9912921190261841, -0.5054926872253418, 0.32125604152679443, 0.9380739331245422, -0.45938512682914734, 0.10386922955513, 0.20109140872955322, 0.050435617566108704, 0.26201191544532776, 0.8758105039596558, -0.0035343258641660213, 0.6599733233451843, -0.02310558781027794, -0.3676420748233795, -0.48397698998451233, -0.2425679862499237, -0.7595035433769226, -0.13529840111732483, 0.4459242522716522, -0.23626896739006042, -0.19792993366718292, 0.25551846623420715, -0.31287142634391785, -0.02504141815006733, -0.8003233671188354, 1.004585862159729, -0.18162374198436737, -0.6066243648529053, 0.3605155348777771, 0.04986691102385521, 0.6054404377937317, -0.4952223598957062, -0.17833006381988525, -0.3535749912261963, -0.1934688240289688, 0.1137021854519844, -0.47216200828552246, -0.1929837018251419, 0.10866674035787582, -0.31906938552856445, -0.21071308851242065, 0.7785786390304565, -0.38841691613197327, -0.03960587829351425, -0.1764763593673706, 0.42422568798065186, -0.2517774999141693, -0.2039104551076889, -0.6234416961669922, 0.010258487425744534, -0.18336942791938782, -0.08612687885761261, 0.23138031363487244, 0.6045560836791992, -0.08646713197231293, 0.4111296236515045, 0.7196335196495056, 0.23401297628879547, -0.09098055958747864, 0.107577845454216, 0.8166401386260986, -0.8215433955192566, -0.9043062925338745, -0.9176362752914429, 0.3424507677555084, -0.2438669353723526, -0.4578620493412018, 0.6810066103935242, 0.6187795996665955, 0.2921590805053711, 0.08638955652713776, 0.6315898299217224, 0.23107433319091797, 0.8847075700759888, -0.7720973491668701, 0.14178407192230225, -0.42990556359291077, 0.5883303284645081, -0.08609258383512497, -1.2283872365951538, -0.10845976322889328, 0.21707776188850403, -0.24209609627723694, 0.11482934653759003, 0.34158340096473694, 0.8408502340316772, -0.12670518457889557, 0.11760066449642181, 0.03268956393003464, -0.0634639710187912, 0.1427324414253235, 0.4527498185634613, 0.7580947875976562, -0.2146146148443222, 0.20210790634155273, 0.36500808596611023, -0.30892646312713623, -0.27891379594802856, -0.9037355780601501, -0.7767341136932373, -0.4043978154659271, -0.23300373554229736, -0.22840474545955658, 0.26428598165512085, 1.2176066637039185, 0.4749687612056732, -0.6867901086807251, 0.5582325458526611, -0.1836267113685608, 0.13343767821788788, 0.07688392698764801, -0.1631351113319397, 0.34115517139434814, -0.6581545472145081, -0.6846194863319397, 0.6110860109329224, 0.37699514627456665, 0.1525445580482483, 0.3570406138896942, 0.10389885306358337, 0.13428689539432526, 0.10453452169895172, 0.20509456098079681, 0.1964339315891266, -0.633083164691925, -0.27630850672721863, 0.1605268269777298, 0.053367651998996735, 0.21324655413627625, 1.0388331413269043, -0.8878881335258484, 0.5444135069847107, 0.23466672003269196, 0.522179901599884, 0.21410880982875824, 0.5621638298034668, 0.49532073736190796, -1.2466415166854858, 0.2112845629453659, 0.19807256758213043, 0.37910690903663635, 0.4702751934528351, -0.6005083918571472, 0.3100886046886444, 0.25232213735580444, -0.7750251293182373, -1.0069069862365723, 0.22365538775920868, -0.9574754238128662, 0.08751479536294937, 0.9693609476089478, 0.20362690091133118, -0.01768391765654087, -0.27260762453079224, -0.43540748953819275, 0.31747761368751526, -0.5649734139442444, 0.3620902895927429, 0.3832349479198456, 0.043023914098739624, -0.24606357514858246, -0.26410210132598877, 0.8285835385322571, 0.2935154438018799, -0.6119629144668579, -0.13954387605190277, 0.581760048866272, 0.13215644657611847, -0.12322311103343964, 0.6278659701347351, 0.39587196707725525, 0.30486994981765747, -0.345199316740036, 0.07218703627586365, -0.2624138295650482, -0.07343734055757523, -0.4309309720993042, 0.05057164654135704, 0.2626386284828186, -0.18237046897411346 ]
http://arxiv.org/abs/2405.04819v2
http://arxiv.org/pdf/2405.04819v2
DALK: Dynamic Co-Augmentation of LLMs and KG to answer Alzheimer's Disease Questions with Scientific Literature
2024-05-08T05:38:20
2024-05-12T08:39:24
Dawei Li, Shu Yang, Zhen Tan, Jae Young Baik, Sukwon Yun, Joseph Lee, Aaron Chacko, Bojian Hou, Duy Duong-Tran, Ying Ding, Huan Liu, Li Shen, Tianlong Chen
cs.CL
cs.CL, cs.AI
Recent advancements in large language models (LLMs) have achieved promising performances across various applications. Nonetheless, the ongoing challenge of integrating long-tail knowledge continues to impede the seamless adoption of LLMs in specialized domains. In this work, we introduce DALK, a.k.a. Dynamic Co-Augmentation of LLMs and KG, to address this limitation and demonstrate its ability on studying Alzheimer's Disease (AD), a specialized sub-field in biomedicine and a global health priority. With a synergized framework of LLM and KG mutually enhancing each other, we first leverage LLM to construct an evolving AD-specific knowledge graph (KG) sourced from AD-related scientific literature, and then we utilize a coarse-to-fine sampling method with a novel self-aware knowledge retrieval approach to select appropriate knowledge from the KG to augment LLM inference capabilities. The experimental results, conducted on our constructed AD question answering (ADQA) benchmark, underscore the efficacy of DALK. Additionally, we perform a series of detailed analyses that can offer valuable insights and guidelines for the emerging topic of mutually enhancing KG and LLM. We will release the code and data at https://github.com/David-Li0406/DALK.
[ -0.1851295381784439, -1.154636025428772, 0.9091653823852539, 0.029407721012830734, -0.2516855299472809, 0.5034698843955994, 0.009894602932035923, -0.7713953256607056, 0.5279179811477661, 0.20983603596687317, -0.6264937520027161, -0.6002143621444702, -0.6004253625869751, 0.06291108578443527, -0.041744738817214966, 0.9938948154449463, -0.1490856409072876, 0.2527995705604553, -0.8683597445487976, -0.3217325210571289, -0.30880260467529297, -0.20610782504081726, -0.8648529648780823, -0.471694678068161, 0.5999253392219543, 0.298250287771225, 0.5605157613754272, 0.39493250846862793, 0.5207144021987915, 0.266230046749115, -0.3208276629447937, 0.34683892130851746, -0.35893601179122925, 0.5317580699920654, 0.1231485977768898, -0.29763391613960266, -1.2367103099822998, 0.14251765608787537, 0.3496227264404297, 0.8691794276237488, -0.08347960561513901, -0.1340034455060959, -0.033820003271102905, 0.7822366952896118, -0.6389621496200562, 0.21392183005809784, -0.14285928010940552, 0.07393305748701096, -0.15916481614112854, -0.027055105194449425, -0.002615300239995122, -0.19549864530563354, 0.2945365011692047, -0.9302685856819153, -0.17233064770698547, -0.1457664519548416, 0.49685773253440857, 0.5334829688072205, -0.8036420941352844, -0.5721158981323242, -0.38307538628578186, 0.6781056523323059, -0.4778309464454651, 0.25370556116104126, 0.5434184074401855, 0.31355223059654236, -0.416755348443985, -0.8909804224967957, -0.3589637577533722, -0.6113446950912476, -0.13846422731876373, 0.4488855004310608, -0.005677184090018272, 0.2676680386066437, -0.18038520216941833, 0.5791584253311157, -0.4400095045566559, 0.07690898329019547, -0.21981048583984375, -0.34240275621414185, 0.6613386273384094, 0.24873848259449005, 0.5983946323394775, 0.11258047819137573, -0.2674950659275055, 0.15845848619937897, -0.4087003171443939, -0.08780243247747421, 0.18783223628997803, -0.2578047215938568, -0.198719322681427, 0.6262032389640808, -0.31046944856643677, 0.6880390644073486, 0.2911151051521301, 0.0814545750617981, 0.23572799563407898, -0.5167695879936218, 0.10198203474283218, 0.40906593203544617, 0.4436938762664795, 0.32923799753189087, -0.3923282027244568, -0.34353873133659363, 0.18365493416786194, 0.1756175458431244, 0.034741513431072235, -0.5106319785118103, -0.6078534126281738, 0.5543056726455688, -0.18303272128105164, -0.2269037961959839, -0.3761345148086548, -0.7386634349822998, -0.485476016998291, 0.015986358746886253, 0.4436655342578888, -0.3084008991718292, -0.3076198399066925, 0.21875619888305664, -0.06304589658975601, -0.06847310066223145, 0.39035555720329285, -0.5841467976570129, 0.1390453577041626, 0.6015883684158325, 0.4518488645553589, -0.6952720880508423, -0.009814794175326824, -0.7358206510543823, 0.610623836517334, -0.3660873472690582, 0.8322068452835083, -0.530369222164154, -0.42596083879470825, -0.3647705614566803, -0.21234066784381866, 0.1552051454782486, -0.5313913226127625, 0.510441243648529, -0.9966105818748474, -0.052072517573833466, -0.27521955966949463, -0.444113552570343, -0.04372818395495415, 0.350256085395813, -0.8557907938957214, 1.0914908647537231, 0.0345478355884552, -0.652362048625946, 0.27378007769584656, -0.6986570954322815, -0.5302369594573975, 0.37455710768699646, -0.18628807365894318, -0.22622394561767578, -0.06159224361181259, 0.33814793825149536, 0.33400580286979675, -0.00891530979424715, 0.31704649329185486, -0.5544593930244446, 0.17113079130649567, 0.06540616601705551, -0.1379234343767166, 0.49707603454589844, 0.23371250927448273, 0.32678112387657166, 0.021684177219867706, -0.7438408732414246, 0.049265485256910324, 0.015101213939487934, -0.6115608215332031, -0.7570866942405701, -0.30604609847068787, -0.8276312351226807, -0.1934877336025238, 0.7753507494926453, -0.5099736452102661, 0.3116965889930725, -0.19571997225284576, 0.12069899588823318, 0.5197696089744568, 0.1765269786119461, 0.7345449924468994, -0.36765119433403015, 0.5456190705299377, -0.011214543133974075, 0.052930667996406555, -0.10463329404592514, -0.4303373694419861, -0.3841998279094696, -0.642204999923706, 0.3476791977882385, 0.41875311732292175, -0.7346173524856567, 0.2259642630815506, -0.20549030601978302, -0.19866354763507843, -0.5654398202896118, -0.08378975093364716, 0.07220213860273361, 0.5414196252822876, 0.525681734085083, -0.5317326784133911, -0.3562202453613281, -0.5719554424285889, -0.2357434332370758, -0.04327898100018501, 0.30698999762535095, 0.5894817113876343, -0.043704066425561905, -0.50075763463974, 0.7882161140441895, -0.7426514029502869, -0.3077794313430786, -0.013322504237294197, 0.25570985674858093, -0.11983399093151093, 0.14469799399375916, 0.011752884835004807, -0.730798065662384, -0.7118214964866638, 0.05631067976355553, -0.9356799721717834, -0.3903945982456207, 0.3204520344734192, -0.04875862970948219, -0.025767328217625618, 0.6452873349189758, -0.6193753480911255, 0.21024353802204132, 0.8201500773429871, -0.41904789209365845, 0.8025819063186646, -0.7047582864761353, 0.19163468480110168, -0.9699212908744812, -0.13866668939590454, -0.39182770252227783, -0.1346515715122223, -0.6055902242660522, -0.004810615908354521, -0.23760885000228882, 0.056416675448417664, 0.039075642824172974, 0.747564435005188, -0.5664213299751282, 0.0450035035610199, -0.3830885887145996, 0.13323873281478882, 0.00045526999747380614, 0.004288666881620884, -0.3919028341770172, 0.6171080470085144, 0.7781350612640381, -0.6777776479721069, 0.630340576171875, 0.08007971942424774, -0.49167701601982117, 0.3987455368041992, -0.4107038676738739, 0.21366310119628906, -0.05895741656422615, 0.4717976152896881, -1.0087683200836182, -0.27420327067375183, 0.31076642870903015, -0.3697786331176758, 0.2796895205974579, -0.05422700196504593, -0.32442179322242737, -0.18635119497776031, -0.14034511148929596, 0.7406818270683289, 0.42617785930633545, -0.42730942368507385, 0.8393352031707764, 0.8026372194290161, -0.5165371894836426, -0.6875738501548767, -0.49311205744743347, 0.13075003027915955, -0.09074991941452026, -1.0237948894500732, 0.6599485278129578, -0.35449621081352234, -0.20093965530395508, 0.4681381285190582, -0.5428040027618408, -0.0021295822225511074, -0.1322297900915146, -0.011219167150557041, -0.047628238797187805, -0.16654573380947113, 0.18876098096370697, 0.2359032928943634, -0.277561217546463, -0.17221902310848236, -0.0412355400621891, 0.4782150685787201, 0.06389206647872925, -0.3264429569244385, -0.2353498488664627, 0.30479592084884644, 0.673827052116394, -0.24949635565280914, 0.33901265263557434, 0.4325885772705078, 0.08428703993558884, -0.1565408706665039, -0.3117515742778778, -0.34787410497665405, -0.5138013362884521, 0.5469433665275574, -0.5223730206489563, -0.9901289343833923, 0.5129894614219666, -0.6526955962181091, -0.3516828715801239, 0.11873481422662735, 0.5314444303512573, -0.22330713272094727, 0.896481454372406, 0.6294188499450684, 0.17568650841712952, 0.23865018784999847, -0.20434390008449554, 0.14808791875839233, -1.1698427200317383, -0.3447192311286926, 0.18319988250732422, -0.30753156542778015, -0.20985715091228485, -0.5885005593299866, 0.6919952034950256, 0.06954418867826462, 0.34941163659095764, -0.33645883202552795, -0.05935007333755493, 0.24400272965431213, 0.1339493840932846, 0.3268619179725647, 0.514954149723053, -0.1620471179485321, -0.6619288921356201, 0.22709009051322937, -0.8348721265792847, -0.21393217146396637, 0.9908280372619629, 0.09345689415931702, 0.9190885424613953, -0.0028513402212411165, 0.4731296896934509, 0.6245665550231934, 0.06454159319400787, -0.7865117788314819, 0.8547730445861816, -0.31835243105888367, -0.40980827808380127, -0.2877829670906067, -0.401138573884964, -1.139493465423584, -0.04652553051710129, -0.003259244840592146, -0.38809749484062195, 0.13450387120246887, 0.497942715883255, -0.6193519830703735, 0.0716027095913887, -0.6244751811027527, 0.7136878967285156, -0.5532371401786804, -0.4939831495285034, -0.6138901710510254, -0.47243526577949524, 0.3946956992149353, -0.3360055387020111, 0.19705405831336975, -0.24130700528621674, -0.3986930251121521, 0.8357345461845398, -0.11098217964172363, 0.623715341091156, 0.11698537319898605, -0.4797613024711609, 0.19721780717372894, 0.19631768763065338, 0.6216608881950378, 0.14788733422756195, -0.09127224236726761, 0.07055753469467163, 0.09130100160837173, -0.4114866256713867, -0.8157366514205933, 1.00148606300354, -0.6158477663993835, -0.7746187448501587, -0.5925118327140808, -1.0309808254241943, -0.32758620381355286, 0.10763641446828842, -0.6200581192970276, 0.09393617510795593, -0.09137626737356186, -0.10735976696014404, 0.42781057953834534, -0.22361069917678833, 0.07571818679571152, 0.8191249966621399, -0.1074613705277443, -0.4644489884376526, 0.9002723097801208, 0.09910345822572708, 0.37803661823272705, 0.014005033299326897, 0.3358834385871887, -0.20337526500225067, -0.454058438539505, -0.08344842493534088, 0.3616214990615845, -0.6531354188919067, 0.2196599692106247, -0.8441565632820129, -0.12288592010736465, -0.27419406175613403, -0.0824468657374382, -0.25596025586128235, -0.456138551235199, -0.036947838962078094, -0.04433075338602066, 0.5636333227157593, 0.6896505355834961, -0.44161874055862427, 0.1959867924451828, -0.7777795195579529, 0.6384813189506531, 0.5247154831886292, 0.30253866314888, 0.1550210565328598, -0.1891300231218338, -0.44020920991897583, 0.24301385879516602, -0.18206609785556793, -0.7158193588256836, 0.28188201785087585, 0.1781010925769806, 0.7385983467102051, 0.2353123277425766, 0.3060097396373749, 0.781276285648346, -0.4077163636684418, 0.559343159198761, -0.02686796337366104, -0.2180178314447403, 0.299125611782074, -0.1417292356491089, 0.2425214797258377, 0.2845059037208557, 0.49347296357154846, -0.4557287395000458, -0.3318641781806946, -0.5285876393318176, -1.0876359939575195, 0.7046153545379639, 0.05350891873240471, -0.06004029139876366, 0.25856971740722656, 0.5587102174758911, 0.1861027628183365, -0.14624103903770447, -0.11859437078237534, -0.25524699687957764, 0.33457961678504944, -0.36527135968208313, -0.16015586256980896, -0.2883221507072449, -0.33803945779800415, -0.3569420874118805, 0.6998953223228455, 0.02824380062520504, 0.30039018392562866, 0.26114901900291443, -0.10173225402832031, -0.31464314460754395, -0.08072831481695175, 0.18836362659931183, 0.41113993525505066, -0.2751290500164032, 0.4242258369922638, 0.22807221114635468, -0.8236852884292603, 0.08995575457811356, 0.25144070386886597, -0.1358160376548767, -0.48862794041633606, 0.23045043647289276, 0.42060139775276184, -0.0678478255867958, -0.681662917137146, -0.012924266047775745, -0.16343475878238678, 0.17543557286262512, -0.1662028282880783, 0.1995393931865692, 0.3259148895740509, 0.5777105093002319, 0.5083397626876831, -0.11362793296575546, -0.09333198517560959, -0.5438340306282043, 0.5395122170448303, 0.7193432450294495, -0.3100643455982208, -0.4295336604118347, 0.5180130004882812, 0.37551748752593994, -0.23530544340610504, 0.2684156000614166, -0.2762433588504791, -0.3433789312839508, 0.671744167804718, 0.4435243010520935, 0.4504922330379486, -0.1838407665491104, 0.018427418544888496, -0.0057610198855400085, -0.16260574758052826, 0.1020146980881691, 0.21386970579624176, -0.20768392086029053, -0.7187038064002991, -0.5290352702140808, -0.4813591539859772, -0.23634234070777893, 0.3478432893753052, -0.3162713944911957, 0.22392286360263824, 0.17862379550933838, -0.26108118891716003, 0.1984422206878662, 0.47361019253730774, -0.05329604819417, 0.08473769575357437, -0.07359839230775833, 0.6485260128974915, -0.5916826725006104, 1.001523733139038, 1.229386568069458, -0.16306498646736145, -0.0575697235763073, 0.3688044250011444, -0.16268561780452728, -0.9065172076225281, 0.8076273202896118, -0.2427375763654709, -0.08838313072919846, 0.3397804796695709, -0.5163182020187378, -1.1007153987884521, 1.3936138153076172, 0.15871302783489227, -0.12600190937519073, 0.03313310071825981, 0.14322257041931152, 0.45080676674842834, -0.32307949662208557, -0.11567717790603638, 0.2679833769798279, 0.49194687604904175, 0.506094753742218, -0.6680706143379211, 0.06512489169836044, 0.04469458758831024, -0.5914239287376404, 0.10727104544639587, -0.7185119390487671, 0.49780502915382385, -0.508109450340271, -0.08708498626947403, 0.05818222463130951, 0.771575391292572, 0.4118362367153168, 0.6042483448982239, 0.3644765317440033, 1.0799881219863892, 1.0007742643356323, 0.2831803262233734, 0.8948644399642944, -0.5951764583587646, 0.11093200743198395, 0.9982209205627441, -0.2963534891605377, 0.2867302894592285, 0.45333659648895264, -0.17247414588928223, 0.307285338640213, 0.6816973090171814, 0.23975379765033722, 0.83529132604599, 0.04060394689440727, -0.839108407497406, -0.3317464590072632, -0.11987582594156265, -0.12476111203432083, 0.21288572251796722, 0.6986992359161377, 0.10663599520921707, -0.4065144658088684, -0.012723937630653381, -0.09088172763586044, -0.28580978512763977, -0.1587400883436203, 0.7385575771331787, 0.44404545426368713, -0.4958476424217224, 0.3947565257549286, 0.04130307585000992, 0.5000805258750916, -0.7998905777931213, -0.1792416125535965, -0.3606044352054596, 0.19631913304328918, 0.11256230622529984, -0.7783291935920715, 0.24297595024108887, -0.2831519842147827, -0.22730028629302979, 0.30596232414245605, 0.8803373575210571, -0.6555348634719849, -0.33036163449287415, 0.4172077178955078, 0.6230896711349487, 0.19317269325256348, 0.3808726668357849, -0.6036427617073059, 0.1116328090429306, -0.3307701349258423, -0.013745411299169064, 0.4561108350753784, 0.5786219835281372, -0.2375984638929367, 1.0213849544525146, 0.6662904620170593, 0.28998905420303345, 0.1694088578224182, -0.4058888852596283, 0.8523063659667969, -0.22376640141010284, -0.24985508620738983, -0.7552494406700134, 0.218282088637352, -0.07075372338294983, 0.19126315414905548, 0.7656777501106262, 0.4500075876712799, 0.4282061755657196, 0.1368538737297058, 0.7997418642044067, -0.12158770114183426, 0.17020079493522644, -0.302473783493042, 0.956942081451416, -0.7871692776679993, 0.2691446840763092, 0.21204335987567902, -0.36748290061950684, -0.21434125304222107, 0.22353555262088776, -0.6159218549728394, 0.13096708059310913, 0.7027884125709534, 0.8177395462989807, -0.25273776054382324, -0.2420315444469452, 0.26110953092575073, 0.7503113746643066, 0.22786328196525574, 0.4971071481704712, 0.6894972324371338, -0.20029769837856293, 0.5644181966781616, -0.1869429051876068, -0.39112141728401184, -0.2498127967119217, -1.0174062252044678, -0.523147702217102, -0.5182120203971863, -0.6386131048202515, -0.32929301261901855, 0.5352810621261597, 0.51413893699646, 0.575126588344574, -0.536564290523529, 0.016580387949943542, 0.084332175552845, 0.21602725982666016, -0.2453610897064209, -0.11412667483091354, 0.9355784058570862, -0.3207193911075592, -0.6012403964996338, 0.5961987376213074, 0.25867417454719543, 0.13043083250522614, -0.14351224899291992, -0.3588223159313202, -0.5599698424339294, 0.132269486784935, 0.7175281643867493, 0.2883078157901764, -0.3221008777618408, 0.17091414332389832, 0.07225879281759262, -0.01937403343617916, -0.031039675697684288, 0.5608705282211304, -1.111433744430542, 0.6840592622756958, 0.4419037699699402, 0.7397516369819641, 0.485094279050827, 0.09202393889427185, 0.6544583439826965, -0.49996113777160645, -0.23449839651584625, 0.33737772703170776, -0.09628346562385559, 0.1573755443096161, -0.5556297302246094, 0.23121866583824158, 0.46394258737564087, -0.6124460101127625, -0.7021286487579346, 0.2763318419456482, -1.177947998046875, -0.3651690185070038, 1.1960134506225586, -0.002315166871994734, -0.2989234924316406, -0.3942077159881592, -0.20678207278251648, 0.5412896871566772, -0.4142926037311554, 1.1491388082504272, 0.7301340699195862, -0.6337356567382812, -0.08868946880102158, -0.49765750765800476, 0.6362668871879578, 0.5763894319534302, -0.6489996910095215, 0.04150771349668503, 0.2740546464920044, 0.22578616440296173, -0.1103377714753151, 0.7923277020454407, -0.1776062697172165, 0.17589543759822845, -0.2587524652481079, -0.06418294459581375, -0.3015359342098236, -0.11261339485645294, -0.10601111501455307, 0.016415545716881752, -0.031688764691352844, -0.06014151871204376 ]
http://arxiv.org/abs/2405.04818v1
http://arxiv.org/pdf/2405.04818v1
ACORN: Aspect-wise Commonsense Reasoning Explanation Evaluation
2024-05-08T05:36:52
2024-05-08T05:36:52
Ana Brassard, Benjamin Heinzerling, Keito Kudo, Keisuke Sakaguchi, Kentaro Inui
cs.CL
cs.CL
Evaluating free-text explanations is a multifaceted, subjective, and labor-intensive task. Large language models (LLMs) present an appealing alternative due to their potential for consistency, scalability, and cost-efficiency. In this work, we present ACORN, a new dataset of 3,500 free-text explanations and aspect-wise quality ratings, and use it to gain insights into how LLMs evaluate explanations. We observed that replacing one of the human ratings sometimes maintained, but more often lowered the inter-annotator agreement across different settings and quality aspects, suggesting that their judgments are not always consistent with human raters. We further quantified this difference by comparing the correlation between LLM-generated ratings with majority-voted human ratings across different quality aspects. With the best system, Spearman's rank correlation ranged between 0.53 to 0.95, averaging 0.72 across aspects, indicating moderately high but imperfect alignment. Finally, we considered the alternative of using an LLM as an additional rater when human raters are scarce, and measured the correlation between majority-voted labels with a limited human pool and LLMs as an additional rater, compared to the original gold labels. While GPT-4 improved the outcome when there were only two human raters, in all other observed cases, LLMs were neutral to detrimental when there were three or more human raters. We publicly release the dataset to support future improvements in LLM-in-the-loop evaluation here: https://github.com/a-brassard/ACORN.
[ -0.37479883432388306, -0.6119979023933411, 0.6584381461143494, 0.059812501072883606, -0.4805339276790619, -0.3854731619358063, -0.3632895052433014, -0.5190469622612, -0.024736354127526283, 0.4579489529132843, -0.4213256239891052, -0.6081668138504028, -0.49523836374282837, 0.31364762783050537, -0.4301687777042389, 1.267449975013733, 0.039274346083402634, -0.21464700996875763, -0.537877082824707, -0.43717217445373535, -0.41347232460975647, -0.33965280652046204, -0.7388463616371155, -0.6264679431915283, 0.6075376868247986, 0.6217979788780212, 1.2320715188980103, 0.8166046142578125, 0.46550917625427246, 0.2665308117866516, -0.32025110721588135, 0.1146811842918396, -0.10454407334327698, 0.030417706817388535, -0.3106524348258972, -0.18039612472057343, -0.702567994594574, 0.14682699739933014, 0.4068479835987091, 0.6149000525474548, -0.20366689562797546, 0.08499725908041, 0.07843372225761414, 0.7529515624046326, -0.4401155710220337, 0.20862925052642822, -0.6566239595413208, -0.19147947430610657, -0.01946335844695568, -0.16082970798015594, -0.2501397132873535, -0.24009235203266144, 0.32053762674331665, -1.078432559967041, 0.374803751707077, 0.5363742709159851, 0.9053781628608704, 0.2543278932571411, -0.2626895308494568, -0.3806670904159546, -0.3506796658039093, 0.8282439112663269, -1.0793699026107788, 0.17122887074947357, 0.4827674925327301, 0.1942550390958786, 0.007243798114359379, -0.29833877086639404, -0.7585150599479675, -0.23835907876491547, -0.37913206219673157, 0.10049964487552643, -0.3732565641403198, 0.226502925157547, 0.011807921342551708, 0.911879301071167, -0.7199193239212036, 0.19563022255897522, -0.1322234570980072, -0.4247438311576843, 0.8483617901802063, 0.2620147466659546, 0.002514143707230687, -0.4529491066932678, -0.15819868445396423, -0.24576038122177124, -0.6166930794715881, -0.00007315641414606944, 0.5539460778236389, 0.19299399852752686, -0.11874698102474213, 0.6598577499389648, -0.2662999629974365, 0.8601190447807312, 0.1963679939508438, 0.03574405238032341, 0.13447144627571106, -0.20264242589473724, -0.3326164186000824, 0.07344833016395569, 1.0299639701843262, 0.5213882923126221, -0.07485819607973099, -0.01883152313530445, -0.2758503556251526, 0.14715668559074402, -0.06821009516716003, -0.5068836808204651, -0.5344261527061462, 0.5526066422462463, -0.5967512130737305, -0.33943766355514526, -0.07267195731401443, -0.4751867651939392, -0.769241988658905, -0.5044326782226562, 0.3317958116531372, -0.5070047378540039, -0.450977087020874, 0.16484004259109497, -0.04858774319291115, 0.22941401600837708, 0.6079201698303223, -0.7568638324737549, 0.16589245200157166, 0.8715720772743225, 0.8263523578643799, -0.4153518080711365, -0.16346095502376556, -0.48229673504829407, -0.29804444313049316, -0.2839008867740631, 0.9779680371284485, -0.6410802602767944, -0.24443663656711578, -0.3522578477859497, -0.05756736546754837, 0.16238188743591309, -0.6061100959777832, 0.6914472579956055, -0.5148543119430542, 0.3141288459300995, -0.3335611820220947, -0.5047418475151062, -0.5255438089370728, 0.5008268356323242, -0.7457652688026428, 0.818673849105835, 0.006083209067583084, -0.8631138801574707, 0.4621953070163727, -0.8393411040306091, -0.18767140805721283, 0.08540452271699905, 0.02268277481198311, -0.26348453760147095, 0.14896172285079956, 0.6754995584487915, 0.34778356552124023, -0.2692515552043915, 0.260347455739975, -0.403702050447464, -0.26188498735427856, 0.6445010900497437, -0.7934184074401855, 0.6641271710395813, 0.2769834101200104, -0.08691704273223877, 0.344356894493103, -0.453223317861557, -0.2537108063697815, -0.14738792181015015, -0.15699075162410736, -0.48166295886039734, -0.03354056179523468, -0.15517665445804596, 0.1747407168149948, 0.18302246928215027, -0.5430118441581726, 0.12424056231975555, -0.5428381562232971, 0.29343539476394653, 0.7750181555747986, 0.14549238979816437, 0.39131999015808105, -0.5270752310752869, 0.4599412977695465, 0.19096523523330688, 0.23840077221393585, -0.1871778517961502, -0.4950224757194519, -0.7659538984298706, -0.012144636362791061, -0.09833454340696335, 0.16605526208877563, -0.6610830426216125, 0.09196915477514267, -0.2641344368457794, -0.2972019910812378, -0.6246976852416992, 0.2601564824581146, 0.5750531554222107, 0.3560323715209961, 0.37182629108428955, -0.4426955580711365, -0.04189147427678108, -0.7985155582427979, -0.6559212803840637, -0.5380591154098511, 0.06800668686628342, 0.46227678656578064, 0.3980594575405121, 0.2133447825908661, 1.023284673690796, -0.20322377979755402, -0.06230151653289795, -0.2178255319595337, 0.19424131512641907, 0.5321562886238098, 0.20188771188259125, 0.16449806094169617, -0.525296688079834, -0.04497753456234932, 0.11113495379686356, -0.48942747712135315, -0.17435261607170105, -0.10600795596837997, 0.018356941640377045, 0.42145633697509766, 0.11832186579704285, -0.3000672161579132, 0.34706875681877136, 0.8639795184135437, -0.5944622159004211, 0.834267795085907, -0.2802671492099762, 0.16497564315795898, -0.6793845891952515, 0.037200815975666046, 0.2898125648498535, -0.08339056372642517, -0.27860888838768005, 0.04138033464550972, -0.12554557621479034, 0.01290225237607956, -0.5493179559707642, 0.8838157057762146, -0.43912506103515625, -0.15160351991653442, -0.24188034236431122, 0.4419057369232178, 0.27694472670555115, 0.40706583857536316, -0.05605842545628548, 0.7354462146759033, 0.3885412812232971, -0.6197169423103333, 0.49100470542907715, 0.19749188423156738, -0.4767535626888275, 0.686718761920929, -0.6921513676643372, 0.14968925714492798, -0.21064141392707825, 0.3160167336463928, -1.115126371383667, -0.5214360952377319, 0.35978540778160095, -0.49401530623435974, 0.021701226010918617, -0.14053630828857422, -0.448702871799469, -0.38494935631752014, -0.29685673117637634, 0.532329797744751, -0.11280758678913116, -0.7119869589805603, 0.3553929328918457, 0.10353345423936844, -0.046667784452438354, -0.5205160975456238, -0.6173323392868042, 0.18669502437114716, -0.45501193404197693, -0.5032678246498108, 0.02955314889550209, -0.03484715148806572, -0.6100760698318481, 0.19280852377414703, -0.35775306820869446, 0.1661125272512436, 0.04237932711839676, 0.2621251046657562, 0.26228106021881104, -0.26323509216308594, 0.2977800965309143, 0.18028396368026733, -0.22635366022586823, 0.12964673340320587, -0.14873775839805603, 0.19703978300094604, -0.4968729317188263, -0.6152763366699219, -0.6938187479972839, 0.06404872238636017, 0.5390656590461731, -0.234755277633667, 0.5058954358100891, 0.3063717782497406, -0.05156605690717697, 0.1265665739774704, -0.5454469919204712, -0.05804682523012161, -0.43743565678596497, 0.20063993334770203, -0.14033645391464233, -0.8558878898620605, 0.408501535654068, 0.37961822748184204, 0.5464387536048889, 0.881381630897522, 0.29626357555389404, 0.10269767791032791, 1.133093237876892, 0.11324967443943024, -0.06405975669622421, 0.28222060203552246, -0.14385570585727692, 0.15962353348731995, -1.11235511302948, -0.20981234312057495, -0.3694591522216797, -0.2241208255290985, -0.44780775904655457, -0.4056466519832611, 0.4645208716392517, 0.17527759075164795, -0.3812877833843231, 0.1805853247642517, -0.8136645555496216, 0.5247562527656555, 0.26478034257888794, 0.06262184679508209, 0.7436278462409973, -0.14094075560569763, 0.1354343146085739, 0.22141319513320923, -0.6150376200675964, -0.6635589003562927, 1.130562663078308, 0.42734992504119873, 0.7970001697540283, 0.21293982863426208, 0.39208152890205383, 0.33405327796936035, 0.9265733361244202, -1.0133442878723145, 0.4140400290489197, -0.3599065840244293, -0.8035885095596313, -0.476107120513916, -0.5184685587882996, -0.7824946045875549, 0.48055198788642883, -0.2723711133003235, -0.6374018788337708, -0.030352676287293434, 0.6066826581954956, -0.3717971742153168, 0.2627989649772644, -0.48261094093322754, 0.8169203400611877, -0.5363966226577759, -0.3082333505153656, -0.31472277641296387, -0.3450162410736084, 0.6785475611686707, 0.06997007131576538, 0.5933954119682312, -0.3741770088672638, 0.0948999747633934, 0.8992164134979248, -0.5609331130981445, 0.6156915426254272, -0.17748072743415833, -0.12447521835565567, 0.2774302065372467, 0.12056120485067368, 0.32166457176208496, 0.31910139322280884, -0.5493271350860596, 0.2808000147342682, -0.02549615316092968, -0.18532295525074005, -0.6426025629043579, 0.8523606657981873, -0.8692730665206909, -0.7185043692588806, -0.5558355450630188, -0.7326589226722717, -0.09278638660907745, -0.04766669496893883, 0.13225731253623962, 0.679835319519043, -0.0005338156479410827, 0.15037457644939423, 0.29596060514450073, -0.46634092926979065, 0.3367847502231598, 0.3261418640613556, -0.3072357177734375, -0.6406399607658386, 0.820562481880188, -0.47266021370887756, 0.2611328363418579, 0.18286655843257904, 0.5752511620521545, -0.5592653751373291, -0.5774234533309937, -0.6780489683151245, 0.3549124300479889, -0.7781296372413635, -0.34556975960731506, -0.46731364727020264, 0.15973258018493652, -0.16151219606399536, -0.016387198120355606, -0.015942372381687164, -0.6078641414642334, -0.32438385486602783, -0.026773683726787567, 0.7122792601585388, 0.8754725456237793, -0.0236076470464468, 0.6203982830047607, -0.5254009962081909, 0.1299215406179428, 0.18691283464431763, 0.40862125158309937, 0.3044525384902954, -0.7366705536842346, -0.17039889097213745, 0.18981394171714783, -0.582439661026001, -0.7390764951705933, 0.29325973987579346, 0.21157105267047882, 0.5663806796073914, 0.7478474378585815, 0.07986687868833542, 0.8457268476486206, 0.1316382884979248, 1.1078147888183594, 0.29841288924217224, -0.9758490324020386, 0.25861427187919617, -0.3256940543651581, 0.4277501404285431, 0.4766404628753662, -0.1424901932477951, -0.7958460450172424, -0.7172091007232666, -0.6399085521697998, -1.1080729961395264, 0.8345401883125305, 0.13431982696056366, -0.04270140081644058, -0.009187030605971813, 0.49454185366630554, 0.42200717329978943, 0.023655738681554794, -0.6637029647827148, -0.3561897873878479, -0.45101672410964966, -0.11310423910617828, -0.21607542037963867, 0.0400259830057621, -0.17670407891273499, -0.28414076566696167, 0.8092871904373169, -0.14293284714221954, 0.06795430928468704, 0.2588998079299927, -0.08745897561311722, -0.11867489665746689, 0.6454755067825317, 0.5546277165412903, 0.745232343673706, -0.013807804323732853, 0.27463674545288086, 0.28075847029685974, -0.15585625171661377, -0.14390014111995697, 0.122227244079113, 0.27657490968704224, -0.0009531833929941058, 0.6469457745552063, 0.9780078530311584, 0.08572711795568466, -0.29734674096107483, 0.5867053866386414, -0.04777902737259865, -0.2215462625026703, -0.022634726017713547, 0.07594496011734009, 0.0194679144769907, 0.05724150687456131, 0.33612650632858276, -0.037056419998407364, 0.10019484162330627, -0.4610457420349121, 0.007682918570935726, 0.4836329221725464, -0.313822478055954, -0.43534860014915466, 0.6591072678565979, 0.20672102272510529, -0.0781480148434639, 0.598432719707489, -0.23446038365364075, -0.3813204765319824, 0.5380821228027344, 0.34751176834106445, 0.7407348155975342, -0.09700439125299454, 0.34167659282684326, 0.3531796932220459, 0.2790430784225464, -0.16023942828178406, -0.04373471438884735, -0.22679181396961212, -0.596479058265686, -0.628588080406189, -0.7724044322967529, -0.8478009104728699, 0.31482478976249695, -0.7470263242721558, -0.018970200791954994, -0.18786227703094482, 0.01931026205420494, 0.06404461711645126, 0.15645499527454376, -0.719835638999939, 0.23412677645683289, -0.023441201075911522, 1.004656195640564, -1.0473098754882812, 0.4586780369281769, 0.8856760859489441, -0.2144855260848999, -0.9841951727867126, 0.016261955723166466, 0.3118687570095062, -0.7123537063598633, 0.05185666307806969, 0.17114125192165375, 0.0009114425047300756, -0.5146185755729675, -0.5809307098388672, -0.8412156105041504, 1.0767053365707397, 0.1136382520198822, -0.5010451078414917, 0.147397980093956, -0.07652542740106583, 0.5888016819953918, -0.24420380592346191, 0.5501559376716614, 0.6537085175514221, 0.7526618838310242, 0.28448188304901123, -0.9218074679374695, 0.16139693558216095, -0.03286673128604889, -0.10076487809419632, 0.17609070241451263, -0.3949211537837982, 0.7191495895385742, -0.24808673560619354, -0.15306052565574646, 0.11942442506551743, 0.7583805918693542, 0.6208585500717163, 0.7162845134735107, 0.7734362483024597, 0.46153756976127625, 0.8133068084716797, -0.03885166347026825, 1.1118084192276, -0.20249207317829132, 0.3473189175128937, 0.9872355461120605, 0.11132742464542389, 0.703626275062561, 0.5699050426483154, -0.08105231821537018, 0.6326358914375305, 0.8124327063560486, 0.429657518863678, 0.18032757937908173, 0.1388615071773529, -0.18875333666801453, -0.38348880410194397, -0.015155738219618797, -0.15255321562290192, 0.38068887591362, 0.5178836584091187, -0.30878403782844543, -0.37861600518226624, -0.1743668019771576, 0.1217840388417244, -0.09915316104888916, -0.5312262773513794, 0.7903611063957214, 0.23715920746326447, -0.9036204218864441, 0.4636261761188507, -0.12295481562614441, 0.6151776313781738, -0.2135080248117447, 0.05093307048082352, -0.344579815864563, 0.11902758479118347, -0.6203678250312805, -1.194557547569275, 0.38562387228012085, 0.15461431443691254, -0.04168351739645004, -0.1717996746301651, 0.34544724225997925, -0.33795085549354553, -0.4046422243118286, -0.1853475570678711, 0.13672839105129242, 0.5485646724700928, -0.1160561814904213, -0.7259823679924011, 0.196500763297081, -0.11723504960536957, -0.42331835627555847, 0.010568346828222275, 0.5821060538291931, -0.3639114201068878, 0.46417516469955444, 0.8201553821563721, 0.08775690197944641, -0.5005428791046143, -0.056816693395376205, 0.8504105806350708, -0.5959641337394714, -0.34194010496139526, -0.8037887811660767, 0.45853301882743835, -0.11123418062925339, -0.6557790040969849, 0.6838986873626709, 0.5447903871536255, 0.6001750230789185, 0.42333897948265076, 0.6989046335220337, 0.07146346569061279, 0.37212511897087097, -0.38844525814056396, 0.7323697805404663, -0.7299858927726746, 0.6310080885887146, -0.4477905035018921, -0.9727322459220886, -0.4893695116043091, 0.5735816955566406, -0.5981569886207581, -0.027698060497641563, 0.7850052118301392, 0.7477208375930786, -0.2101580649614334, 0.3671746253967285, 0.1606917381286621, 0.2657589614391327, 0.4776979684829712, 0.4266011714935303, 0.7797232270240784, -0.14403170347213745, 0.7539351582527161, -0.13882966339588165, -0.369071900844574, -0.16491737961769104, -1.1038612127304077, -0.6263260841369629, -0.4160219132900238, -0.27800366282463074, -0.38591039180755615, -0.061324480921030045, 0.8038713932037354, 0.48469114303588867, -0.8450559377670288, -0.19732925295829773, -0.01492343284189701, 0.24431000649929047, -0.47792088985443115, -0.3032796382904053, 0.5596871376037598, -0.061240680515766144, -0.3789353370666504, 0.17121462523937225, 0.252302348613739, -0.4633498191833496, -0.21117785573005676, -0.34898027777671814, 0.3464016318321228, 0.004007520154118538, 0.5313788056373596, 0.21236661076545715, -1.190849781036377, -0.6305000185966492, -0.05586841329932213, 0.16618140041828156, 0.07053439319133759, 0.7747300863265991, -0.7515226602554321, 0.597184419631958, 0.3958387076854706, 0.19905008375644684, 0.36351266503334045, 0.40082427859306335, 0.38932493329048157, -0.41669926047325134, -0.23695896565914154, 0.2115912139415741, 0.24083393812179565, 0.7256001830101013, -0.2572876214981079, 0.09174975752830505, -0.04392068833112717, -0.7846843004226685, -0.5812671184539795, 0.18603192269802094, -1.1160986423492432, -0.09220673143863678, 1.5590763092041016, -0.1007821261882782, -0.3258604109287262, -0.24592073261737823, -0.28214529156684875, 0.1901894360780716, -0.7719249129295349, 0.7700047492980957, 0.8478672504425049, -0.5665159821510315, -0.3092647194862366, -0.2232540100812912, 0.42179974913597107, 0.3998905122280121, -0.8299143314361572, 0.4357335567474365, 0.7499701380729675, 0.3642047345638275, 0.01157650537788868, 0.5481821298599243, -0.251964271068573, 0.3040800094604492, -0.4365641474723816, -0.1472950279712677, -0.23084475100040436, -0.0692763552069664, -0.6752045154571533, -0.18561580777168274, 0.37448275089263916, -0.08287425339221954 ]
http://arxiv.org/abs/2405.06697v1
http://arxiv.org/pdf/2405.06697v1
Automated Conversion of Static to Dynamic Scheduler via Natural Language
2024-05-08T04:07:38
2024-05-08T04:07:38
Paul Mingzheng Tang, Kenji Kah Hoe Leong, Nowshad Shaik, Hoong Chuin Lau
cs.CL
cs.CL, cs.AI
In this paper, we explore the potential application of Large Language Models (LLMs) that will automatically model constraints and generate code for dynamic scheduling problems given an existing static model. Static scheduling problems are modelled and coded by optimization experts. These models may be easily obsoleted as the underlying constraints may need to be fine-tuned in order to reflect changes in the scheduling rules. Furthermore, it may be necessary to turn a static model into a dynamic one in order to cope with disturbances in the environment. In this paper, we propose a Retrieval-Augmented Generation (RAG) based LLM model to automate the process of implementing constraints for Dynamic Scheduling (RAGDyS), without seeking help from an optimization modeling expert. Our framework aims to minimize technical complexities related to mathematical modelling and computational workload for end-users, thereby allowing end-users to quickly obtain a new schedule close to the original schedule with changes reflected by natural language constraint descriptions.
[ -0.2399531900882721, -0.4917818605899811, 0.5906018614768982, 0.19788113236427307, -0.2287617176771164, 0.1710345298051834, -0.23642413318157196, -0.6861298084259033, 0.1561335325241089, 0.947180986404419, -0.9954229593276978, -0.00805763341486454, -0.1546218991279602, 0.46165794134140015, -0.446617990732193, 0.8746935725212097, -0.6416301727294922, -0.3384625017642975, -0.2576213479042053, 0.14752034842967987, -0.4458014667034149, -0.2835996150970459, -0.31152093410491943, -0.42152395844459534, -0.04342685639858246, 0.11434199661016464, 0.5894498229026794, 0.829305112361908, 0.5606724619865417, 0.4320827126502991, -0.3494240939617157, 0.6869310736656189, -0.4225674569606781, 0.45045775175094604, -0.2914241850376129, -0.24262350797653198, -0.389809787273407, -0.13202998042106628, 0.7570250630378723, 0.7004098296165466, -0.5329620838165283, 0.5973995327949524, -0.00344825373031199, 0.6407536268234253, -0.5218689441680908, 0.4366239011287689, -0.8436071872711182, 0.1827036291360855, 0.022328082472085953, -0.5315414071083069, -0.21733234822750092, -0.7247375249862671, -0.22253979742527008, -0.6120853424072266, 0.08494162559509277, -0.03959011286497116, 1.0052523612976074, 1.0065699815750122, -0.5097091197967529, -0.39098310470581055, -1.1977777481079102, 0.886448085308075, -0.6181429624557495, 0.18630962073802948, 0.10483396053314209, 0.6393107771873474, -0.4519219994544983, -0.6027053594589233, -0.49573951959609985, -0.6275404691696167, -0.22233547270298004, 0.03754003718495369, 0.4419332444667816, -0.08980157971382141, 0.4132549464702606, 0.3416345417499542, -0.14953072369098663, -0.1569877713918686, -0.1630672961473465, 0.3192293047904968, 0.6832666397094727, 0.6991413831710815, 0.2584185302257538, -0.2882124185562134, -0.17245715856552124, 0.38938674330711365, -0.4596424102783203, -0.3028263449668884, 0.3928822875022888, 0.1935146003961563, -0.18418775498867035, 0.5911767482757568, -0.3681938648223877, 0.7110969424247742, 0.22464905679225922, -0.4325858950614929, -0.07098175585269928, -0.1887996643781662, -0.27106717228889465, -0.2288086861371994, 0.07040376216173172, 0.24115164577960968, 0.15849900245666504, -0.3237181305885315, -0.564903974533081, -0.01274383720010519, 0.49149081110954285, -0.6606970429420471, 0.1194799616932869, -0.2781006395816803, -0.19897139072418213, -0.6591810584068298, -0.12059888243675232, -0.5850251913070679, -0.4226849675178528, -0.9730209112167358, 0.02694912813603878, -0.23158012330532074, 0.013872597366571426, 0.050893913954496384, 0.1468266099691391, 0.2563260495662689, 0.5125910639762878, -0.403801828622818, 0.33751651644706726, 0.5809781551361084, 0.49180546402931213, -0.20684699714183807, 0.12290195375680923, -0.5895023345947266, 0.6716599464416504, -0.28916338086128235, 0.4819222092628479, -0.34663400053977966, -0.4480353593826294, -0.024424545466899872, 0.08958412706851959, 0.004192770924419165, -0.6425076127052307, 0.5084609985351562, -0.8858659267425537, -0.010306047275662422, 0.29911312460899353, -0.3900727927684784, -0.010342337191104889, 0.3119482696056366, -0.6269272565841675, 1.0096662044525146, 0.3077446222305298, -0.4664272964000702, -0.01126435212790966, -0.6319702863693237, -0.3561527729034424, 0.3899723291397095, -0.2581441104412079, -0.29803159832954407, 0.14903585612773895, -0.09933502972126007, 0.07318287342786789, -0.6614229083061218, 0.8908012509346008, 0.005717842373996973, -0.03486906737089157, 0.23622851073741913, -0.1873045116662979, 0.5588966012001038, 0.463492751121521, -0.2815432548522949, -0.025072205811738968, -0.8462277054786682, 0.1402730643749237, 0.17383669316768646, -0.7738000750541687, 0.12049943953752518, 0.4782797396183014, -0.004320316482335329, 0.15167875587940216, 0.6763794422149658, -0.2656387686729431, 0.4864669144153595, -0.4584258198738098, 0.04067375883460045, 0.6089087724685669, 0.07527095079421997, 0.43629762530326843, -0.3979306221008301, 0.9123708605766296, -0.7564507722854614, 0.1409931629896164, 0.16954131424427032, 0.05331147834658623, -0.6538584232330322, -0.08947750180959702, -0.04654368385672569, 0.8220041394233704, -0.8190675973892212, 0.5304411053657532, -0.35767707228660583, -0.32505130767822266, -0.09532085061073303, 0.2667287290096283, 0.3518657684326172, 0.644330620765686, 0.17543131113052368, 0.1967698484659195, -0.8813123106956482, -0.7946591973304749, -0.16357636451721191, 0.207670196890831, 0.03777572140097618, 0.5708009600639343, 0.28519636392593384, -0.5760663151741028, 0.9059669971466064, -0.7235137224197388, -0.29669126868247986, -0.4003966450691223, 0.2602996230125427, 0.6049927473068237, 0.42301028966903687, 0.3935871720314026, -0.8278467059135437, -0.7694904208183289, 0.08064446598291397, -0.701341450214386, -0.5887954235076904, -0.2682137191295624, -0.11452924460172653, 0.5335689783096313, 0.6875811219215393, -0.47978872060775757, 0.5557696223258972, 0.6191991567611694, -0.0832289308309555, 1.003946304321289, -0.17120273411273956, -0.21017400920391083, -1.0321022272109985, 0.3644060790538788, -0.42811813950538635, -0.5612791180610657, -0.3919081389904022, 0.41848236322402954, -0.2152588814496994, -0.5180784463882446, -0.2241571694612503, 0.654948353767395, -0.7786905169487, 0.09405899792909622, -0.3652474284172058, -0.3244600296020508, -0.09206339716911316, 0.24476227164268494, -0.11925050616264343, 0.9580766558647156, 0.06891608238220215, -0.8996495604515076, 0.5176170468330383, 0.23644502460956573, -0.34251275658607483, 0.11807872354984283, -0.5042403936386108, 0.017431560903787613, -0.19119934737682343, 0.3963564932346344, -0.3994899392127991, -0.5463197231292725, 0.12412899732589722, 0.1446475386619568, 0.6995210647583008, -0.5419146418571472, -0.6535900235176086, -0.4194350242614746, 0.07171668112277985, 0.1935504972934723, 0.6907033920288086, -0.4209093749523163, 0.8195288777351379, 0.4382295310497284, -0.07627324759960175, -0.13176584243774414, -0.46310868859291077, 0.241706982254982, 0.005855974275618792, -0.4269658327102661, 0.8996161818504333, -0.09732354432344437, -0.2667228579521179, 0.1250305324792862, -0.16378922760486603, -0.08330567926168442, 0.21866025030612946, 0.19821402430534363, 0.5540026426315308, 0.014582677744328976, -0.22308848798274994, -0.1832786202430725, -0.1859082728624344, -0.04115938022732735, -0.25854194164276123, 0.6032223701477051, 0.12245452404022217, -0.29452115297317505, -0.5767892003059387, 0.3506060838699341, 0.7193276286125183, -0.40024498105049133, 0.7492266297340393, 0.41183239221572876, -0.4439575970172882, -0.3499026596546173, -0.6657406687736511, 0.02281746082007885, -0.6174370050430298, 0.3073429465293884, -0.4135828912258148, -0.37711477279663086, 0.32773181796073914, -0.39196255803108215, 0.05824105441570282, 0.2636854350566864, 0.6268423199653625, 0.17047587037086487, 1.1376382112503052, 0.7695760726928711, 0.3302260637283325, 0.5374492406845093, -0.27476632595062256, 0.10020776838064194, -0.7216976284980774, -0.10023753345012665, -0.40531519055366516, -0.23154617846012115, -0.6408077478408813, -0.6239535808563232, 0.5870674252510071, -0.0871342271566391, -0.23573186993598938, 0.23722516000270844, -0.8597744107246399, 0.5197998285293579, 0.21188399195671082, -0.2520592212677002, -0.01633516140282154, -0.1757054626941681, -0.1250976175069809, -0.07021206617355347, -0.35435861349105835, -0.7431900501251221, 0.5057493448257446, -0.03535083308815956, 0.9977102279663086, 0.32560914754867554, 0.8200617432594299, 0.05806339532136917, 0.3950885236263275, -0.5733876824378967, 0.7688232660293579, -0.34495002031326294, -0.6131354570388794, -0.27949121594429016, -0.5537710189819336, -0.6684245467185974, -0.3287697732448578, -0.16339348256587982, -0.7499861121177673, 0.06311196833848953, 0.19515033066272736, -0.23603440821170807, 0.49192383885383606, -0.467089980840683, 0.36321455240249634, -0.48233017325401306, -0.5856752991676331, -0.0838327705860138, -0.387709379196167, 0.4449908137321472, -0.29038235545158386, 0.18944375216960907, -0.42263248562812805, -0.1749308556318283, 0.5059000253677368, -0.6545917391777039, 0.7664862275123596, -0.20272314548492432, -0.042517565190792084, 0.32494357228279114, 0.5749465823173523, 0.7846747040748596, 0.15538977086544037, -0.5359866619110107, -0.5967622399330139, 0.05007050931453705, 0.07490377873182297, -0.4758249521255493, 0.6792490482330322, -0.7189279198646545, -0.7684372067451477, -0.368624746799469, -0.9185940027236938, -0.14403250813484192, 0.3248925507068634, -0.17943257093429565, 0.493114709854126, 0.004180090967565775, -0.015686500817537308, 0.2855757772922516, -0.3618951439857483, 0.2625225782394409, 0.6788447499275208, -0.3714955449104309, -0.05895822122693062, 0.6448467969894409, 0.08444397896528244, 0.022865869104862213, 0.6496716737747192, 0.1774844229221344, -0.30451229214668274, -0.40902355313301086, -0.2837342917919159, 0.37536606192588806, -0.451530784368515, -0.42946478724479675, -0.5574458241462708, -0.3400467038154602, -0.528825581073761, -0.5421706438064575, -0.48451027274131775, -0.5278936624526978, -0.4397335946559906, 0.39577633142471313, 0.4121582806110382, 0.9068506360054016, 0.10631515830755234, -0.08053520321846008, -0.8467342853546143, 0.6002926230430603, 0.25470271706581116, 0.5359224677085876, -0.24952654540538788, -0.5652916431427002, -0.28090009093284607, -0.18934381008148193, -0.5112858414649963, -0.905663013458252, 0.9986978769302368, 0.047812119126319885, 0.6074162721633911, 0.07463786005973816, 0.2511051893234253, 0.7209274172782898, -0.936679482460022, 0.29526644945144653, -0.20645596086978912, -0.8218355774879456, 0.45796531438827515, -0.4630562663078308, 0.24707362055778503, 0.5308009386062622, 0.17474676668643951, -0.42034319043159485, -0.16486985981464386, -0.3729080855846405, -0.8813525438308716, 0.8343750834465027, -0.025421256199479103, 0.11014802008867264, 0.14181894063949585, 0.5956692695617676, -0.03870757296681404, 0.2813570499420166, -0.4532443583011627, -0.09094361215829849, 0.20686104893684387, -0.06071438267827034, 0.1265655755996704, -0.5307350158691406, -0.11912833899259567, -0.3423050343990326, 0.7428061366081238, -0.030412504449486732, 0.3688841164112091, -0.07940862327814102, -0.07771650701761246, -0.34069618582725525, 0.28794053196907043, 0.7685846090316772, 0.7295908331871033, -0.6330456137657166, -0.1729462891817093, 0.4259493947029114, -0.10760680586099625, 0.2042882889509201, 0.46712061762809753, -0.3509180545806885, 0.22756923735141754, -0.1426895260810852, 0.4456295967102051, 0.29703566431999207, -0.6741781234741211, -0.15406492352485657, 0.1932164579629898, 0.10438206046819687, -0.9436494708061218, 0.0582679882645607, 0.10957252234220505, 0.011187118478119373, 0.32945716381073, -0.06724303215742111, 0.03495241329073906, -0.311105877161026, 0.16357308626174927, 0.24143853783607483, 0.14947661757469177, -0.23080910742282867, 1.0656070709228516, 0.2911398112773895, -0.5610231757164001, 0.17702050507068634, -0.5666751861572266, -0.7373469471931458, 0.7734498977661133, 0.762190580368042, 0.917866051197052, -0.23448798060417175, -0.06984270364046097, 0.38445472717285156, 0.10248815268278122, 0.1295100301504135, 0.41969403624534607, 0.258321613073349, -0.4570309817790985, -0.6220341324806213, -1.1059445142745972, -0.5694732069969177, 0.04080268740653992, -0.6280103921890259, 0.733151376247406, -0.4946966767311096, -0.11873193830251694, -0.07591839134693146, 0.03066541627049446, -0.8149054050445557, 0.016982585191726685, 0.38562145829200745, 0.7645378708839417, -0.32854169607162476, 0.6728322505950928, 1.2403090000152588, -0.33196118474006653, -0.8129416704177856, -0.13101443648338318, 0.08969304710626602, -0.5592892169952393, 1.0352011919021606, -0.09045208990573883, -0.2985176146030426, 0.025390831753611565, -0.4082546532154083, -1.2621949911117554, 1.0755560398101807, 0.5264360308647156, -0.4683223366737366, -0.5144448280334473, 0.1382681280374527, 0.47265931963920593, -0.41199034452438354, -0.17072921991348267, 0.11799442768096924, 0.5690135359764099, 0.10957346111536026, -1.0778188705444336, 0.14343075454235077, -0.25322380661964417, 0.20633971691131592, 0.5889070630073547, -0.32756778597831726, 0.961344838142395, -0.004759179428219795, -0.3721023201942444, 0.13757775723934174, 0.4095653295516968, 0.20269586145877838, 0.002368832938373089, 0.4695543646812439, 0.2354983687400818, 0.5209150910377502, 0.30375194549560547, 1.310179352760315, -0.7637073993682861, 0.36455589532852173, 1.116027593612671, -0.7762192487716675, 0.4996092915534973, 0.48342880606651306, -0.21887846291065216, 0.4820256233215332, -0.031021911650896072, -0.009651980362832546, 0.3607720136642456, 0.3156873285770416, -0.27758079767227173, -0.2988870441913605, -0.37742626667022705, -0.18964135646820068, 0.41951775550842285, 0.33458828926086426, -0.06699465960264206, -0.5034212470054626, -0.23666006326675415, 0.1012357696890831, 0.5005894303321838, -0.0431225411593914, 0.6995746493339539, -0.039280835539102554, -0.7109280824661255, 0.9059322476387024, 0.4214418828487396, 0.6239156723022461, -0.49193963408470154, -0.007701268419623375, -0.06092020496726036, 0.2680734395980835, -0.0905633345246315, -0.3781994879245758, 0.8172788619995117, 0.2022840827703476, -0.2776346802711487, -0.6775899529457092, 0.8296388983726501, -0.2717761993408203, -0.8217716217041016, 0.060375627130270004, 0.3398725688457489, -0.05387837439775467, 0.35984352231025696, -0.6569523811340332, -0.06944110989570618, 0.04804903268814087, -0.1432035267353058, 0.09042368084192276, 0.3033429682254791, -0.1340322345495224, 0.9059056639671326, 0.5710703134536743, 0.34521573781967163, 0.22307638823986053, -0.15937314927577972, 0.8972207903862, -0.6151750087738037, -0.6768908500671387, -0.4964124858379364, 0.3077909052371979, -0.03919904679059982, 0.1682746708393097, 0.24322785437107086, 0.535097599029541, 0.36168861389160156, -0.35235050320625305, 0.5485192537307739, -0.10518233478069305, 0.9379816651344299, -0.61846923828125, 0.7189019322395325, -0.8166788816452026, 0.5084112286567688, 0.08702199906110764, -0.7003867626190186, -0.10519237071275711, 0.28059402108192444, -0.38888970017433167, -0.17282293736934662, 0.44617176055908203, 0.7756168842315674, -0.1520548164844513, -0.4310867488384247, 0.14588606357574463, 0.03488469123840332, 0.5224514603614807, 0.3008047938346863, 0.7948533296585083, 0.22420839965343475, 0.5563639402389526, -0.5227803587913513, -0.025964826345443726, -0.45761165022850037, -1.2595670223236084, -0.48120778799057007, -0.35591351985931396, -0.5370293855667114, -0.18013721704483032, 0.08419289439916611, 1.2446576356887817, 0.3685406744480133, -0.6813542246818542, -0.47607073187828064, -0.06597457826137543, -0.09914955496788025, 0.1476118564605713, -0.3228651285171509, 0.15645846724510193, -0.7057774662971497, -0.8296822309494019, 0.42151305079460144, -0.038017429411411285, 0.07365650683641434, -0.1168256402015686, 0.0699860081076622, -0.26846057176589966, 0.21558022499084473, 0.40960219502449036, 0.3659777045249939, -0.5913015604019165, -0.06636743247509003, -0.024315902963280678, -0.3040882349014282, -0.2636009454727173, 0.7204932570457458, -0.7449763417243958, 0.13844607770442963, 0.470838725566864, 0.8620152473449707, 0.527592658996582, -0.01925288699567318, 0.6795124411582947, -0.8998393416404724, 0.3722478449344635, 0.47688671946525574, 0.36199674010276794, 0.22344514727592468, -0.4931703805923462, 0.6466506719589233, 0.21036061644554138, -0.6771524548530579, -1.173619270324707, 0.44121038913726807, -0.8441038727760315, -0.08903272449970245, 1.3686931133270264, 0.37314754724502563, -0.20137947797775269, -0.12962529063224792, -0.059502605348825455, 0.46178123354911804, 0.016572602093219757, 0.8611792922019958, 0.14386086165905, -0.07915288954973221, 0.3012741804122925, -0.9440140724182129, 0.6684457659721375, 0.22833964228630066, -0.8696921467781067, 0.11439543962478638, 0.4286438226699829, 0.17633414268493652, 0.20545168220996857, 0.4265725612640381, 0.004276133142411709, 0.06417504698038101, -0.48112231492996216, 0.45663321018218994, -0.33027273416519165, 0.13861031830310822, 0.1032719537615776, -0.1376766711473465, 0.030945679172873497, -0.07751236855983734 ]
http://arxiv.org/abs/2405.04793v1
http://arxiv.org/pdf/2405.04793v1
Zero-shot LLM-guided Counterfactual Generation for Text
2024-05-08T03:57:45
2024-05-08T03:57:45
Amrita Bhattacharjee, Raha Moraffah, Joshua Garland, Huan Liu
cs.CL
cs.CL, cs.AI, cs.LG
Counterfactual examples are frequently used for model development and evaluation in many natural language processing (NLP) tasks. Although methods for automated counterfactual generation have been explored, such methods depend on models such as pre-trained language models that are then fine-tuned on auxiliary, often task-specific datasets. Collecting and annotating such datasets for counterfactual generation is labor intensive and therefore, infeasible in practice. Therefore, in this work, we focus on a novel problem setting: \textit{zero-shot counterfactual generation}. To this end, we propose a structured way to utilize large language models (LLMs) as general purpose counterfactual example generators. We hypothesize that the instruction-following and textual understanding capabilities of recent LLMs can be effectively leveraged for generating high quality counterfactuals in a zero-shot manner, without requiring any training or fine-tuning. Through comprehensive experiments on various downstream tasks in natural language processing (NLP), we demonstrate the efficacy of LLMs as zero-shot counterfactual generators in evaluating and explaining black-box NLP models.
[ -0.17167484760284424, -1.3197418451309204, 0.9337997436523438, -0.000959776749368757, -0.522316575050354, -0.3824240565299988, 0.12750345468521118, -0.19961634278297424, 0.003711435943841934, 0.713387131690979, -0.8641806840896606, -0.4756717085838318, -0.35442623496055603, 0.1295194774866104, -0.6660206317901611, 1.2933480739593506, -0.09118273109197617, -0.1399853229522705, -0.2689003348350525, -0.05538513883948326, -0.6625891923904419, -0.42831283807754517, -0.38892656564712524, -0.6189696788787842, 0.5384520888328552, 0.39526161551475525, 0.4665452539920807, 0.5226060152053833, -0.03986511006951332, 0.2131989300251007, 0.4260815978050232, 0.041614633053541183, -0.5176870822906494, 0.3296624720096588, -0.3121463656425476, -0.3554943799972534, -0.24327966570854187, 0.21777582168579102, 0.4150564968585968, 0.4677232801914215, -0.051863640546798706, 0.32100337743759155, -0.31836840510368347, 0.11869501322507858, -0.5602275133132935, -0.12098866701126099, -0.9493340253829956, 0.16778983175754547, 0.009347757324576378, -0.4415983259677887, -0.5301859378814697, 0.05212551727890968, 0.00428297882899642, -0.47226935625076294, 0.4867337942123413, -0.09689141064882278, 0.7465707063674927, 0.3332523703575134, -0.4240407943725586, -0.39893385767936707, -0.7798874378204346, 0.8178212642669678, -0.8592832088470459, -0.06042316555976868, 0.09524156898260117, -0.04355931282043457, -0.22842881083488464, -0.436949223279953, -1.0094853639602661, -0.19117595255374908, -0.07411032170057297, 0.21285197138786316, -0.48423323035240173, -0.29365283250808716, 0.351761132478714, -0.0017695189453661442, -0.8537063002586365, 0.2594156861305237, 0.09083300828933716, 0.09773417562246323, 0.61628258228302, 0.2878029942512512, 0.19696266949176788, -0.18656425178050995, -0.3246707320213318, 0.14582957327365875, -0.9606923460960388, -0.43461501598358154, 0.24222838878631592, 0.2590774893760681, 0.0006039832951501012, 0.7862221002578735, -0.32182106375694275, 0.9416195154190063, 0.16352523863315582, 0.237557515501976, -0.05015074834227562, -0.3279739320278168, -0.5556343793869019, 0.09119965136051178, 0.7795446515083313, 0.3669023811817169, 0.5163187384605408, -0.15076208114624023, -0.14391687512397766, 0.4739009737968445, 0.5116633772850037, -1.1890565156936646, 0.025577818974852562, 0.26372843980789185, -0.026387762278318405, -0.7642540335655212, -0.6037909388542175, -0.6440905332565308, -0.1184215247631073, -0.19538316130638123, 0.7546238899230957, -0.14832453429698944, 0.03550099581480026, 0.08565782755613327, 0.04401147738099098, 0.2015850841999054, 0.03971826285123825, -0.7218010425567627, -0.030995214357972145, 0.4423823356628418, 0.7986865043640137, 0.08617941290140152, -0.0966220423579216, -0.8962994813919067, 0.38494569063186646, -0.634183943271637, 0.8390305638313293, -0.6159327626228333, -0.44473913311958313, 0.11643560230731964, -0.14914104342460632, 0.20111241936683655, -0.20317760109901428, 0.2190781533718109, -0.21072225272655487, 0.46867334842681885, -0.00016744797176215798, -0.6394093632698059, -0.05087542161345482, 0.5388040542602539, -0.23910216987133026, 0.9431893825531006, -0.20070868730545044, -0.5448883771896362, 0.4302438497543335, -0.6295187473297119, -0.40962132811546326, 0.30562615394592285, -0.5358595252037048, -0.6151324510574341, 0.35477784276008606, 0.1795681267976761, 0.6806589961051941, -0.1475890427827835, 0.5627772212028503, -0.21959134936332703, -0.41935378313064575, 0.12763641774654388, -0.6804108023643494, 0.5824894905090332, -0.1912223994731903, -0.558352530002594, -0.017564263194799423, -0.6850234866142273, -0.26972246170043945, 0.4309478998184204, -0.016715768724679947, -0.42486095428466797, -0.05504327267408371, -0.22030122578144073, 0.3403075933456421, 0.1165832057595253, -0.8095463514328003, 0.1746399700641632, -0.4034392237663269, 0.05763832479715347, 0.47805020213127136, 0.3020002245903015, 0.15775631368160248, -0.33589112758636475, 0.4620015621185303, 0.019478047266602516, -0.09707289934158325, -0.7693808674812317, -0.41864046454429626, -0.7478297352790833, -0.13891932368278503, -0.10679953545331955, 0.6228255033493042, -1.0855668783187866, 0.30716007947921753, 0.14647406339645386, -0.5036333203315735, -0.17255008220672607, 0.14720778167247772, 0.6579077839851379, 1.1745418310165405, 0.45881029963493347, 0.00861759390681982, -0.4575415849685669, -0.8609582185745239, -0.24885909259319305, -0.06291575729846954, -0.2004808634519577, 0.2741639316082001, 0.6226462721824646, -0.21052730083465576, 1.0334783792495728, -0.7786512970924377, -0.04501724615693092, -0.14789733290672302, 0.779757559299469, 0.2681782841682434, 0.3383257985115051, 0.6789156198501587, -0.5062125325202942, -0.3153946101665497, -0.34570613503456116, -0.9308496117591858, -0.5044072270393372, -0.5367071032524109, -0.15952377021312714, 0.5616664290428162, 0.7761701941490173, -0.8012062907218933, 0.586868941783905, 0.3997596800327301, -0.45349857211112976, 0.8433692455291748, -0.19597075879573822, -0.13218200206756592, -1.040085792541504, 0.15033075213432312, 0.16726164519786835, -0.3573644757270813, -1.0855618715286255, 0.18984700739383698, -0.17735588550567627, -0.09844481945037842, -0.565962553024292, 0.7019911408424377, -0.15644961595535278, 0.1852119117975235, -0.39675650000572205, 0.30477315187454224, 0.015405895188450813, 0.5593881607055664, 0.37812167406082153, 0.3928850591182709, 0.32755500078201294, -0.390923410654068, 0.19300274550914764, -0.020574983209371567, -0.10732895135879517, 0.8199386596679688, -0.750437319278717, 0.12055319547653198, -0.2868514955043793, 0.2287338376045227, -0.9327074289321899, 0.09735254943370819, 0.159971222281456, -0.25236234068870544, 0.25207990407943726, -0.1642974466085434, -0.4646022617816925, -0.05692340433597565, -0.4157329797744751, 0.20923176407814026, 0.4318452775478363, -0.29574742913246155, 0.3813827931880951, -0.1392793357372284, -0.22721847891807556, -0.6169279217720032, -0.8321651816368103, 0.24474021792411804, -0.10293155163526535, 0.023737573996186256, 0.06765060126781464, -0.2981553077697754, -0.16642186045646667, -0.07124306261539459, -0.07463464140892029, 0.17246223986148834, 0.03987985476851463, 0.38448989391326904, 0.5446433424949646, -0.2447454184293747, 0.08908441662788391, 0.1082724928855896, -0.06931433826684952, 0.04259860888123512, -0.33303579688072205, 0.491643488407135, 0.28835177421569824, -0.42826464772224426, -0.016311516985297203, 0.5951076149940491, 0.15629802644252777, 0.06746403127908707, 0.6613713502883911, 0.6387467384338379, -0.3391604721546173, -0.4456830322742462, -0.4601079523563385, -0.09172584861516953, -0.4384814500808716, 0.4517182409763336, -0.06777903437614441, -0.8117071390151978, 0.205036923289299, 0.11472855508327484, 0.478721559047699, 0.32382047176361084, 0.8314640522003174, -0.16099561750888824, 0.7722887396812439, 0.5899399518966675, 0.34250056743621826, 0.4232472777366638, -0.020209839567542076, 0.18279112875461578, -0.19310276210308075, 0.0651998519897461, -0.3648381233215332, -0.05952994152903557, -0.3742332458496094, -0.43120649456977844, 0.08117137104272842, -0.005463947542011738, -0.40885117650032043, 0.27644771337509155, -0.22954128682613373, 0.5972082018852234, 0.44764837622642517, -0.06240413337945938, 0.3217238783836365, 0.12404828518629074, -0.3314400315284729, 0.04193997383117676, -0.6507216095924377, -0.6162810325622559, 1.0585180521011353, 0.0012173210270702839, 0.3408258855342865, -0.03910655155777931, 0.7871253490447998, 0.36853861808776855, 0.7025432586669922, -0.7829222083091736, 0.6298564672470093, -0.5878081321716309, -0.5326324701309204, -0.4206991493701935, -0.3763151466846466, -0.755761981010437, 0.09483112394809723, -0.4716789424419403, -0.5443822741508484, 0.037120770663022995, 0.35524868965148926, -0.4100872576236725, 0.10557995736598969, -0.6477941274642944, 0.879158079624176, -0.05519845709204674, -0.37772807478904724, -0.11511492729187012, -0.19816426932811737, 0.5031201839447021, -0.38503092527389526, 0.05496629327535629, 0.10787470638751984, 0.05506405234336853, 0.28799688816070557, -0.21382805705070496, 1.0382860898971558, -0.30374911427497864, -0.3306664526462555, 0.1773100197315216, 0.560980498790741, 0.4416515529155731, -0.002048719907179475, -0.12218736857175827, 0.3122844398021698, -0.3010052442550659, -0.2804708182811737, -0.5285223722457886, 0.7302401661872864, -0.380126416683197, -0.659077525138855, -0.2506396770477295, -0.7724568247795105, -0.24398495256900787, 0.3080196976661682, 0.1789788454771042, 0.6751774549484253, -0.43855321407318115, 0.0319509282708168, 0.6256508827209473, -0.5206713676452637, 0.8053900599479675, 1.1194230318069458, -0.23008495569229126, 0.008507076650857925, 0.9233516454696655, 0.20532317459583282, 0.22150039672851562, 0.5016036629676819, 0.11772420257329941, -0.2666817009449005, -0.6074451804161072, -0.7473348379135132, 0.04980650544166565, -0.23639510571956635, -0.3701351583003998, -0.5036842226982117, -0.13695208728313446, -0.17434784770011902, -0.4984588623046875, -0.10155362635850906, -0.3174293041229248, -0.5088707208633423, -0.1569415181875229, 0.19829635322093964, 0.8223304152488708, 0.09266255050897598, 0.5228423476219177, -0.5966132283210754, 0.7962602972984314, 0.6150233149528503, 0.26921147108078003, -0.04365096241235733, -0.43822962045669556, -0.23362606763839722, 0.023099763318896294, -0.3094325661659241, -0.9240745902061462, 0.597844660282135, 0.03430824726819992, 0.2929520010948181, 0.2578239440917969, 0.16028495132923126, 0.6270983219146729, -0.870703399181366, 0.8223994374275208, 0.24094828963279724, -0.9349510073661804, 0.583585262298584, -0.554315984249115, 0.679847240447998, 0.252902090549469, 0.38236334919929504, -0.5213475823402405, -0.6391814351081848, -0.46157366037368774, -0.8230464458465576, 0.6053500175476074, 0.1581781953573227, 0.2810502052307129, -0.181108757853508, 0.4872666001319885, 0.19534291326999664, 0.2879660129547119, -0.902987539768219, -0.09031222015619278, -0.5333752632141113, -0.35077551007270813, -0.38672876358032227, -0.3701099753379822, -0.19031789898872375, 0.31719696521759033, 0.6284433603286743, -0.2820585072040558, -0.11128243058919907, 0.26792311668395996, -0.40592721104621887, -0.35205915570259094, 0.39466220140457153, 0.9307360649108887, 0.3637116849422455, -0.28501829504966736, 0.12131701409816742, 0.20968811213970184, -0.24893547594547272, 0.12839213013648987, 0.09972409904003143, -0.7569741606712341, 0.16314955055713654, 0.47512638568878174, 0.6510539650917053, 0.09270074218511581, -0.6547781229019165, 0.44100266695022583, 0.0901465117931366, -0.48402586579322815, -0.23583391308784485, 0.035022590309381485, 0.1390991508960724, 0.20488816499710083, 0.5204039216041565, -0.37179818749427795, -0.1043383926153183, -0.6498525738716125, 0.3861682713031769, 0.6792464256286621, -0.21571561694145203, -0.21231520175933838, 0.520455002784729, 0.13809551298618317, -0.44159069657325745, 0.4260960519313812, -0.2832324802875519, -0.2161349654197693, 0.4209889769554138, 0.7797563076019287, 1.0233964920043945, -0.04413330927491188, 0.5404365658760071, 0.2100844532251358, 0.29646235704421997, 0.16265900433063507, 0.14685438573360443, -0.12860402464866638, -0.7801470160484314, -0.7382594347000122, -0.6882914304733276, -0.506420373916626, 0.4618794918060303, -0.3708820044994354, 0.23978327214717865, -0.40012210607528687, 0.09597700834274292, 0.12880508601665497, -0.07932137697935104, -0.5602403879165649, 0.33142372965812683, 0.28031474351882935, 0.5924946069717407, -1.091615080833435, 0.7912311553955078, 0.4444776177406311, -0.3851495683193207, -0.20897100865840912, 0.09261738508939743, -0.008579724468290806, -0.8620309829711914, 0.5872160196304321, 0.12944692373275757, -0.35006263852119446, -0.31919077038764954, -0.8225080966949463, -0.18832539021968842, 0.8826615214347839, 0.5939965844154358, -0.9150096774101257, -0.015927860513329506, 0.4333876371383667, 0.8015523552894592, -0.5686995387077332, 0.32494959235191345, 0.34485501050949097, 0.282177209854126, 0.10877498984336853, -0.5528687238693237, 0.2893286645412445, -0.17370210587978363, -0.17732518911361694, -0.027504684403538704, -0.38010159134864807, 0.7935983538627625, -0.004557863809168339, -0.04104093462228775, -0.10281148552894592, 0.3093780279159546, 0.4448108971118927, 0.5235422849655151, 0.5506085157394409, 0.6840283274650574, 0.023642320185899734, 0.210963174700737, 0.8382083177566528, -0.02322174236178398, 0.09054195135831833, 1.5660922527313232, -0.41217243671417236, 0.8434553742408752, 0.4205367863178253, 0.3972095847129822, 0.6051570773124695, 0.0785120502114296, -0.26007142663002014, 0.177216574549675, 0.10589882731437683, -0.23369671404361725, -0.5434194803237915, -0.35891446471214294, 0.11096081137657166, 0.6436776518821716, 0.26289913058280945, -0.313789427280426, -0.5436506867408752, -0.32024121284484863, 0.3043327331542969, 0.1708890199661255, -0.3122403919696808, 0.7771990299224854, -0.02949807234108448, -0.5057170391082764, 0.5129004716873169, -0.059256602078676224, 0.8054368495941162, -0.534824788570404, -0.4506656527519226, -0.288965106010437, -0.1284574419260025, -0.05011845752596855, -0.7212408185005188, 0.4273415207862854, 0.5843197703361511, -0.1874718964099884, -0.47169697284698486, 0.5793474316596985, -0.5788055658340454, -0.7733885645866394, 0.12068735808134079, 0.5329164862632751, 0.13314548134803772, -0.08808635175228119, -0.4295075833797455, -0.3267579674720764, 0.007711570709943771, -0.3617517650127411, 0.28693515062332153, 0.47372308373451233, -0.03838610276579857, 0.36246219277381897, 0.6671186089515686, 0.16447581350803375, -0.15315456688404083, 0.21084150671958923, 0.5570152997970581, -0.847705602645874, -0.22730876505374908, -1.1040204763412476, 0.39781680703163147, 0.00355402659624815, -0.23846063017845154, 0.6917102932929993, 0.295730322599411, 0.8002437353134155, -0.00777518330141902, 0.711713433265686, 0.23217450082302094, 0.4420483410358429, -0.35153916478157043, 0.6662347316741943, -0.5697963833808899, 0.0835527777671814, -0.2991027534008026, -0.6276058554649353, -0.5119615793228149, 0.3980083763599396, -0.1841728836297989, -0.17752455174922943, 0.3274356722831726, 0.8393668532371521, 0.06883494555950165, -0.2880702614784241, 0.6409435868263245, 0.5342383980751038, 0.4607197344303131, 0.4674954116344452, 0.4751787781715393, -0.20229898393154144, 0.7386341094970703, -0.040406033396720886, 0.06976667046546936, -0.0845990926027298, -1.3442968130111694, -1.072245717048645, -0.2133801132440567, -0.37719032168388367, 0.19931335747241974, 0.05876016244292259, 0.6114144921302795, 0.5279309153556824, -0.8096820712089539, -0.08314558863639832, -0.18522801995277405, 0.0896100103855133, 0.1361798644065857, -0.24297213554382324, -0.03831372782588005, -0.2302851676940918, -0.6650081276893616, 0.6072286367416382, 0.4060942530632019, 0.2060251086950302, -0.45786723494529724, 0.17401516437530518, -0.5372852683067322, 0.6831234693527222, 0.8570559620857239, 0.25040629506111145, -0.5001528859138489, -0.45863470435142517, -0.1830338090658188, 0.1929498314857483, -0.36488258838653564, 0.7991102933883667, -1.045383095741272, 0.3988583981990814, 0.2250124216079712, 0.3303743600845337, 0.7133815288543701, -0.04052095487713814, 0.7546316981315613, -1.104489803314209, 0.15686780214309692, 0.05656694248318672, 0.17453885078430176, 0.23960326611995697, -0.29189589619636536, 0.3100191056728363, 0.1125890463590622, -0.27412259578704834, -1.0990281105041504, 0.4140990972518921, -0.7066439390182495, -0.6086248755455017, 0.9709477424621582, -0.20704209804534912, 0.2158271074295044, -0.17863799631595612, 0.09653961658477783, 0.45815014839172363, -0.3035240173339844, 0.7985809445381165, 0.5534408688545227, -0.24040576815605164, -0.2074582576751709, -0.5769162774085999, 0.15496449172496796, 0.5610118508338928, -0.7896012663841248, 0.10873688012361526, 0.6930524706840515, 0.22199657559394836, 0.17821602523326874, 0.46895352005958557, 0.13838867843151093, 0.09515152871608734, 0.21003739535808563, 0.07713248580694199, -0.3514760136604309, -0.2530560791492462, -0.4552520215511322, 0.2286510467529297, -0.3596978783607483, -0.08307800441980362 ]
http://arxiv.org/abs/2405.06696v1
http://arxiv.org/pdf/2405.06696v1
Multi-level Shared Knowledge Guided Learning for Knowledge Graph Completion
2024-05-08T03:27:46
2024-05-08T03:27:46
Yongxue Shan, Jie Zhou, Jie Peng, Xin Zhou, Jiaqian Yin, Xiaodong Wang
cs.CL
cs.CL, cs.AI
In the task of Knowledge Graph Completion (KGC), the existing datasets and their inherent subtasks carry a wealth of shared knowledge that can be utilized to enhance the representation of knowledge triplets and overall performance. However, no current studies specifically address the shared knowledge within KGC. To bridge this gap, we introduce a multi-level Shared Knowledge Guided learning method (SKG) that operates at both the dataset and task levels. On the dataset level, SKG-KGC broadens the original dataset by identifying shared features within entity sets via text summarization. On the task level, for the three typical KGC subtasks - head entity prediction, relation prediction, and tail entity prediction - we present an innovative multi-task learning architecture with dynamically adjusted loss weights. This approach allows the model to focus on more challenging and underperforming tasks, effectively mitigating the imbalance of knowledge sharing among subtasks. Experimental results demonstrate that SKG-KGC outperforms existing text-based methods significantly on three well-known datasets, with the most notable improvement on WN18RR.
[ -0.4001217782497406, -0.4523793160915375, 0.5419993996620178, -0.129177063703537, -0.26880303025245667, 0.5317264795303345, 0.02475944720208645, -0.3527001738548279, 0.16908180713653564, 0.2975006103515625, -0.8379305601119995, -1.0417766571044922, -0.9387102127075195, 0.06965195387601852, 0.11911562085151672, 1.0914831161499023, -0.29483988881111145, -0.03335511311888695, -0.6167861223220825, -0.26722994446754456, -0.7978595495223999, -0.15963079035282135, -0.7055374979972839, -0.7876613736152649, 0.9148858189582825, 0.5034929513931274, 0.12124035507440567, 0.47763797640800476, 0.1664329618215561, 0.12286587804555893, -0.08188182860612869, 0.6285635828971863, -0.6664496064186096, 0.12609314918518066, 0.11940904706716537, -0.3261851668357849, -0.5279472470283508, -0.12493512779474258, 0.38079074025154114, 1.0787813663482666, -0.2506665885448456, 0.06108561530709267, 0.5131435990333557, 0.8634589314460754, -0.6264087557792664, 0.858629584312439, -0.35779136419296265, 0.301682710647583, -0.12612712383270264, -0.08143823593854904, -0.42667025327682495, -0.10006295144557953, 0.39653173089027405, -1.1982157230377197, 0.05499941110610962, -0.15262004733085632, 0.3923287093639374, 0.4000667333602905, -1.1081358194351196, -0.44397178292274475, -0.22202810645103455, 0.6904757022857666, -0.3340032696723938, 0.5444507598876953, 0.21816931664943695, 0.05041766166687012, -0.09976579248905182, -0.592084527015686, -0.2878148555755615, 0.033797238022089005, -0.3131871521472931, 0.3811628222465515, 0.186712846159935, 0.3054247200489044, 0.33659806847572327, 0.15362030267715454, -0.35100188851356506, -0.3840996026992798, -0.39256903529167175, -0.2802237570285797, 0.3531140387058258, 0.0566251277923584, 0.041892338544130325, -0.33952486515045166, -0.39489856362342834, -0.02926649898290634, -0.5231798887252808, 0.06544128060340881, 0.21123121678829193, 0.36852169036865234, 0.2939436435699463, 0.41068416833877563, -0.5922698974609375, 0.6693758368492126, -0.03597354143857956, -0.3741718530654907, 0.6143560409545898, -0.38570842146873474, 0.05675578862428665, 0.19752122461795807, 0.3794976472854614, 0.4146699011325836, 0.2077103555202484, -0.35930997133255005, 0.04537827521562576, -0.2056356966495514, 0.41241058707237244, -0.41848331689834595, -0.4007357656955719, -0.18318575620651245, -0.470559686422348, -0.2133004516363144, -0.110246442258358, -0.49331027269363403, -0.5304804444313049, -0.47585490345954895, 0.4952746033668518, -0.5346882939338684, -0.25966304540634155, -0.044398222118616104, -0.2166261076927185, -0.24849198758602142, 0.5485175848007202, -0.5219889879226685, 0.29695263504981995, 0.5621381998062134, 0.8363551497459412, -0.2560291290283203, -0.45357394218444824, -0.306602418422699, 0.7276395559310913, -0.24885685741901398, 0.5191378593444824, -0.35799893736839294, -0.39149269461631775, -0.3226757347583771, -0.1116390973329544, -0.23795822262763977, -0.3707810640335083, 0.2157115787267685, -0.5747300982475281, 0.030159709975123405, -0.6981546878814697, -0.7174241542816162, -0.7160905003547668, 0.4219696521759033, -0.6295391917228699, 1.32931387424469, 0.2620464265346527, -1.06751549243927, 0.9251108169555664, -0.6375820636749268, -0.7740134596824646, 0.12591257691383362, -0.18759730458259583, -0.29214900732040405, -0.2567964196205139, 0.4430776536464691, 0.8283565044403076, 0.12126301974058151, 0.23595227301120758, -0.38231366872787476, -0.10065389424562454, -0.7800090909004211, 0.23702292144298553, 0.4356043040752411, -0.016042614355683327, -0.08002889156341553, 0.1547902673482895, -0.7399216294288635, 0.12111451476812363, -0.03392835706472397, -0.4159714877605438, -0.6734311580657959, -0.1546114683151245, -0.666144847869873, 0.2195715457201004, 0.31624457240104675, -0.4358120560646057, 0.5346259474754333, 0.03702564164996147, 0.1740679144859314, 0.6355893611907959, 0.23570282757282257, 0.4028698801994324, -0.21763873100280762, 0.44159090518951416, 0.1547524333000183, 0.0751630961894989, 0.1537475734949112, -0.6220278739929199, -0.3169253170490265, -0.25797468423843384, 0.2750883400440216, 0.5591933727264404, -1.0646437406539917, 0.13519111275672913, -0.3605280816555023, -0.6292633414268494, -0.18810898065567017, 0.21927562355995178, 0.4496050477027893, 0.7446997165679932, 0.4962211847305298, -0.2855335772037506, -0.4266500473022461, -0.6528224349021912, -0.22694379091262817, 0.06976672261953354, 0.043008677661418915, 0.8451808094978333, 0.3484760820865631, -0.14472870528697968, 0.607362687587738, -0.9613789916038513, -0.6429830193519592, -0.5103474855422974, 0.5877468585968018, 0.03843747451901436, 0.32725417613983154, 0.38240447640419006, -0.7646533250808716, -0.7623146176338196, 0.17451557517051697, -0.7347245812416077, 0.13227878510951996, 0.18435053527355194, -0.1844775229692459, -0.15973487496376038, 0.39994585514068604, -0.5220731496810913, 0.27458831667900085, 0.4039696753025055, -0.04517589882016182, 0.2849792540073395, -0.29846030473709106, 0.45020392537117004, -1.277220606803894, -0.2489413470029831, -0.17058256268501282, -0.31262558698654175, -0.5198280811309814, -0.34674927592277527, 0.24341917037963867, 0.014340292662382126, 0.0267762653529644, 0.29616889357566833, -0.32697010040283203, -0.03968548774719238, -0.10807477682828903, 0.12791430950164795, -0.0368138812482357, 0.8633171319961548, -0.20769426226615906, 0.4536738693714142, 0.6815145015716553, -0.7347562313079834, 0.4529954195022583, 0.39493528008461, -0.21855176985263824, 0.5822190046310425, -0.3021503686904907, 0.006161552853882313, -0.3555568754673004, 0.530942976474762, -0.7866498231887817, -0.39013388752937317, 0.2591155469417572, -0.4345480799674988, 0.35258617997169495, -0.3639214336872101, -0.4002889394760132, -0.3519042432308197, 0.029602287337183952, 0.47085732221603394, 0.15172064304351807, -0.5072940587997437, 1.097822904586792, 0.35703572630882263, -0.07021516561508179, -1.0032241344451904, -0.48638808727264404, -0.16640439629554749, 0.014552542939782143, -0.5893826484680176, 0.5153481364250183, 0.21670174598693848, 0.41831767559051514, 0.19424515962600708, -0.6575155258178711, 0.017452655360102654, -0.05434856936335564, 0.4373684823513031, -0.04990629106760025, 0.11313465982675552, 0.3096157908439636, 0.3435792624950409, -0.13683204352855682, -0.21850982308387756, -0.6152943968772888, 0.5106695294380188, 0.28118276596069336, -0.28223174810409546, -0.20417435467243195, 0.25616082549095154, 0.3460228145122528, -0.25000742077827454, 0.9699499011039734, 0.6834378838539124, -0.603387713432312, -0.26340651512145996, -0.32446926832199097, -0.06731025129556656, -0.3989936113357544, 0.4907427132129669, -0.4425012767314911, -0.9851894974708557, 0.6348824501037598, -0.4815494418144226, 0.023631781339645386, 0.503420889377594, 0.0738530382514, -0.17977285385131836, 0.9830284118652344, 0.7033026814460754, 0.08959401398897171, 0.37770941853523254, -0.4658944308757782, 0.24643006920814514, -0.7423366904258728, -0.8024148344993591, -0.08536306023597717, -0.4356968402862549, -0.28881213068962097, -0.18119484186172485, 0.5813025832176208, 0.4501055181026459, 0.008623900823295116, 0.41080033779144287, -0.3948664665222168, 0.4223211109638214, 0.778239905834198, 0.4765487313270569, 0.3742621839046478, -0.29322558641433716, -0.5436798334121704, 0.2397947609424591, -0.9331718683242798, 0.04814746230840683, 1.170709252357483, -0.07190031558275223, 0.49787747859954834, -0.3568572700023651, 0.958634078502655, 0.48705658316612244, 0.16013175249099731, -0.5918422937393188, 0.5884000062942505, -0.33001160621643066, -0.2770274579524994, -0.3790358603000641, -0.8948731422424316, -0.5533322691917419, 0.10180790722370148, -0.18790780007839203, -0.5618299245834351, -0.1024097353219986, 0.40516507625579834, -0.2539566457271576, 0.33356958627700806, -0.7818606495857239, 1.0280909538269043, 0.14079318940639496, 0.1837807446718216, -0.5370762348175049, -0.6144750118255615, 0.28013876080513, -0.04196813702583313, 0.09171682596206665, -0.05733002722263336, 0.09435541927814484, 1.0129477977752686, -0.17550328373908997, 0.7079111337661743, -0.5670437216758728, 0.0248735174536705, 0.11800124496221542, -0.1321842074394226, 0.7793208360671997, 0.07618669420480728, 0.20665773749351501, 0.057843681424856186, -0.10240241885185242, -0.4712171256542206, -0.7439504861831665, 0.7211332321166992, -0.6015775799751282, -0.24641484022140503, -0.19899067282676697, -0.907049834728241, -0.4944062829017639, 0.5227037668228149, -0.00043546236702241004, 0.4780538082122803, 0.2733338177204132, 0.3226773142814636, 0.7691227793693542, -0.11371766030788422, 0.026467634364962578, 0.122862309217453, 0.1663719266653061, -0.7264639735221863, 0.9277338981628418, 0.39708858728408813, 0.28066059947013855, 0.497588574886322, 0.09134022146463394, -0.26976823806762695, -0.6419833898544312, -0.21373692154884338, 0.026937536895275116, -0.8998093008995056, -0.3147227168083191, -1.1096317768096924, -0.11196059733629227, -0.580260694026947, -0.06326624006032944, -0.19752302765846252, -0.20408156514167786, -0.03366768732666969, -0.332492858171463, 0.35947397351264954, 1.0514512062072754, 0.006535283289849758, 0.3730592131614685, -0.8443311452865601, 0.46329909563064575, 0.4143785834312439, 0.48763203620910645, 0.38711464405059814, 0.23174694180488586, -0.4514104127883911, 0.03556602820754051, -0.2316834181547165, -0.8226896524429321, -0.009674301370978355, 0.08159744739532471, 0.7273354530334473, 0.1227567121386528, 0.1993168443441391, 0.8131271600723267, -0.40061330795288086, 0.5159003138542175, 0.29030168056488037, -0.8007292151451111, 0.38840579986572266, -0.44231754541397095, 0.317078173160553, 0.5300534963607788, 0.7450559735298157, -0.7255005836486816, -0.33174535632133484, -0.48342153429985046, -0.9485247731208801, 0.8354290723800659, -0.04180050268769264, -0.3894314765930176, 0.32501354813575745, 0.48505789041519165, 0.31819382309913635, 0.5517647862434387, -0.6801773905754089, -0.34235140681266785, -0.30124709010124207, -0.5474439859390259, 0.17727914452552795, -0.048252154141664505, -0.17604877054691315, -0.16388168931007385, 0.8225437998771667, -0.3950396776199341, 0.01588224619626999, 0.04857766628265381, -0.17338624596595764, 0.09886733442544937, 0.04916634038090706, 0.18047261238098145, 0.7168607115745544, -0.09797666221857071, 0.04769780859351158, 0.49819278717041016, -0.5316706895828247, -0.1896858662366867, 0.1794726848602295, -0.17250269651412964, -0.3472153842449188, 0.4618380665779114, 0.771701991558075, 0.2709767818450928, -0.2435094714164734, 0.39858153462409973, 0.0889769122004509, -0.5186002254486084, 0.2388773113489151, 0.06818157434463501, 0.198591411113739, 0.4046536684036255, 0.564957320690155, 0.24774082005023956, -0.0343419648706913, -0.174076646566391, 0.32279452681541443, 0.35020023584365845, -0.40915584564208984, 0.16321876645088196, 0.3790706992149353, 0.1315995305776596, 0.33734360337257385, 0.4866671860218048, -0.35553818941116333, -0.7544545531272888, 0.4650426208972931, 0.016978098079562187, 0.40483608841896057, 0.01840118132531643, 0.30971845984458923, 0.4172978699207306, 0.17919641733169556, -0.19023194909095764, 0.41515693068504333, -0.3785017430782318, -0.4962497353553772, -0.6883439421653748, -0.4025759994983673, -0.09385862201452255, -0.061405666172504425, -0.667824387550354, 0.025904817506670952, -0.16779637336730957, 0.015404082834720612, -0.11630017310380936, 0.4467380940914154, -0.6120507121086121, 0.24994686245918274, -0.22556181252002716, 0.6328598856925964, -0.7642412781715393, 0.8427339196205139, 0.5986457467079163, -0.2969176769256592, -0.97016841173172, 0.06994311511516571, -0.05103104189038277, -0.6726451516151428, 0.6050621867179871, 0.15214000642299652, 0.001910251216031611, 0.18069234490394592, -0.14230339229106903, -0.9342629909515381, 1.550670862197876, 0.1459534466266632, -0.25214138627052307, -0.44235163927078247, 0.2011331170797348, 0.18029023706912994, -0.3184848427772522, -0.14830531179904938, 0.05228535085916519, 0.4763711094856262, 0.4679677486419678, -0.9683164358139038, -0.026242639869451523, 0.20089222490787506, -0.3021021783351898, 0.4995819330215454, -0.6108046174049377, 0.5984813570976257, -0.2589670717716217, -0.08506187796592712, -0.43570446968078613, 0.7663748860359192, 0.19479182362556458, 0.5185880064964294, 0.7968136072158813, 0.8156953454017639, 1.048007845878601, -0.1736864298582077, 0.6530749201774597, -0.23531074821949005, 0.4634200632572174, 1.0494303703308105, -0.13313516974449158, 0.2502710819244385, 0.13297219574451447, 0.1128087118268013, 0.3343379497528076, 0.7242783308029175, 0.14514735341072083, 0.816162645816803, 0.056183118373155594, -0.2384640872478485, -0.40141037106513977, -0.29832911491394043, -0.23820760846138, 0.08535170555114746, 0.2669103443622589, -0.07115975022315979, -0.34381115436553955, 0.4224827289581299, -0.08960852771997452, -0.3322221636772156, -0.7057170867919922, 0.975115954875946, -0.10036346316337585, -0.5928029417991638, 0.04410005360841751, -0.287069171667099, 0.6312829256057739, -0.8084679841995239, -0.19382700324058533, 0.07102495431900024, 0.1422995924949646, -0.3539727032184601, -0.8407353162765503, 0.17975759506225586, -0.458683043718338, -0.3837924599647522, -0.5099577903747559, 0.960330069065094, -0.7468832731246948, -0.20418503880500793, 0.5595363974571228, 0.5047377347946167, -0.3249642252922058, -0.13937433063983917, -0.4889049828052521, -0.5076648592948914, 0.11216738820075989, -0.08466003835201263, 0.20487692952156067, 0.6095410585403442, 0.07122716307640076, 0.8630584478378296, 0.3616275191307068, -0.05117268115282059, 0.30095145106315613, 0.14461715519428253, 0.8906894326210022, -0.31633883714675903, -0.4384051263332367, -0.25698965787887573, 0.2993384897708893, -0.16454093158245087, -0.05692818760871887, 0.6785249710083008, 0.5872353911399841, 1.376341700553894, -0.033554285764694214, 0.8484355807304382, -0.2921490967273712, 0.705249547958374, -0.4459809958934784, 0.747418224811554, -0.7678318619728088, -0.10124727338552475, -0.41491156816482544, -0.6183247566223145, -0.14566728472709656, 0.246560737490654, -0.1878926306962967, 0.31167614459991455, 0.7922893166542053, 0.38917309045791626, -0.15194103121757507, 0.03999791666865349, 0.1870255023241043, -0.05792948231101036, 0.22761619091033936, 0.6550570726394653, 0.5146428942680359, -0.24120044708251953, 0.944654643535614, -0.5435510873794556, -0.22055579721927643, 0.24705453217029572, -0.8218698501586914, -1.017608404159546, -0.7989791035652161, -0.4256899654865265, -0.1668815165758133, 0.2909281849861145, 0.7152109146118164, 0.8192760944366455, -0.6183586716651917, 0.22627002000808716, -0.16297253966331482, 0.302784264087677, -0.5725964307785034, -0.19105570018291473, 0.5188877582550049, -0.1450614482164383, -0.4236469268798828, 0.2588610351085663, 0.11360455304384232, -0.19466537237167358, 0.12626555562019348, -0.19423291087150574, -0.3202522099018097, -0.49135199189186096, 0.46389275789260864, -0.15570098161697388, -0.47959187626838684, -0.24851065874099731, 0.033797282725572586, 0.08935932070016861, -0.10591384023427963, 1.0351183414459229, -0.8213371634483337, 0.18375976383686066, 0.6466590762138367, 0.7198163270950317, 0.6098993420600891, -0.1188153401017189, 0.5544438362121582, -1.2222384214401245, -0.3649207353591919, 0.10904601216316223, 0.29284611344337463, 0.03147958219051361, -0.5377683639526367, 0.46183061599731445, 0.5555561184883118, -0.36486881971359253, -0.47488483786582947, 0.1397363394498825, -1.065908670425415, -0.23319245874881744, 0.8229806423187256, -0.3482936918735504, 0.06857898831367493, -0.15667608380317688, -0.14795562624931335, 0.8733275532722473, -0.48334845900535583, 0.7088497877120972, 0.9570791721343994, -0.26975980401039124, -0.07942403107881546, -0.5581187009811401, 0.5812580585479736, 0.14698176085948944, -0.7417657375335693, 0.18566380441188812, 0.362325519323349, 0.272331565618515, 0.13822804391384125, 0.40205463767051697, 0.2307683527469635, -0.03294888511300087, -0.21286065876483917, 0.07139921188354492, -0.40077659487724304, -0.7612553834915161, 0.31230825185775757, 0.4179970920085907, -0.32958748936653137, -0.1528395712375641 ]
http://arxiv.org/abs/2405.06695v1
http://arxiv.org/pdf/2405.06695v1
Utilizing Large Language Models to Generate Synthetic Data to Increase the Performance of BERT-Based Neural Networks
2024-05-08T03:18:12
2024-05-08T03:18:12
Chancellor R. Woolsey, Prakash Bisht, Joshua Rothman, Gondy Leroy
cs.CL
cs.CL, cs.AI
An important issue impacting healthcare is a lack of available experts. Machine learning (ML) models could resolve this by aiding in diagnosing patients. However, creating datasets large enough to train these models is expensive. We evaluated large language models (LLMs) for data creation. Using Autism Spectrum Disorders (ASD), we prompted ChatGPT and GPT-Premium to generate 4,200 synthetic observations to augment existing medical data. Our goal is to label behaviors corresponding to autism criteria and improve model accuracy with synthetic training data. We used a BERT classifier pre-trained on biomedical literature to assess differences in performance between models. A random sample (N=140) from the LLM-generated data was evaluated by a clinician and found to contain 83% correct example-label pairs. Augmenting data increased recall by 13% but decreased precision by 16%, correlating with higher quality and lower accuracy across pairs. Future work will analyze how different synthetic data traits affect ML outcomes.
[ -0.25804588198661804, -0.6108397841453552, 0.31624114513397217, 0.1682988554239273, 0.19871513545513153, 0.2275913804769516, -0.327583372592926, -0.8723021149635315, 0.2932060956954956, 0.4642435908317566, -0.337320476770401, -0.3205937147140503, -0.611484169960022, 0.19292959570884705, -0.38832420110702515, 1.0098685026168823, 0.24123626947402954, 0.3982052206993103, -0.13710226118564606, 0.09798530489206314, -0.09494125097990036, -0.7185906767845154, -1.225961685180664, -0.5025884509086609, 0.7289655804634094, 0.222242072224617, 0.8215299248695374, 0.5117075443267822, 0.38912245631217957, 0.357235312461853, -0.12265373021364212, 0.4822256565093994, -0.32105159759521484, 0.12244246900081635, -0.01992129161953926, -0.1244550496339798, -0.763738214969635, -0.12048106640577316, 0.5701308250427246, 1.0160123109817505, 0.1695520430803299, -0.1312333047389984, -0.06467287987470627, 0.662815511226654, 0.007143923547118902, 0.394523561000824, -0.3622797429561615, 0.24669155478477478, -0.005034100729972124, 0.10048314929008484, -0.31618690490722656, -0.2762369215488434, 0.41054567694664, -0.566324770450592, 0.45843270421028137, -0.028570247814059258, 0.7064064145088196, 0.07421910017728806, -0.3705631494522095, -0.2817683219909668, -0.7149580121040344, 0.5097070932388306, -0.9737645387649536, 0.3644219934940338, 0.4533064663410187, 0.22249573469161987, -0.46228769421577454, -0.7556869983673096, -0.5418818593025208, -0.5493163466453552, -0.013926643878221512, -0.015611512586474419, -0.11976403743028641, 0.22047728300094604, 0.5017542243003845, 0.06526938825845718, -0.608732283115387, 0.4062969982624054, -0.6303930282592773, -0.26471900939941406, 1.014311671257019, 0.16559067368507385, 0.4028552174568176, 0.019402991980314255, 0.21280917525291443, -0.09707125276327133, -0.659347653388977, -0.04953629523515701, 0.28158578276634216, 0.4596334397792816, 0.29187288880348206, 0.5873003602027893, -0.03351878374814987, 0.47664883732795715, 0.19211940467357635, 0.05865410715341568, 0.5588456392288208, -0.14709541201591492, -0.12710973620414734, 0.2246943563222885, 0.5511338710784912, 0.17561732232570648, 0.4244258999824524, -0.23572824895381927, -0.2525632977485657, -0.02953302673995495, 0.5736560821533203, -0.7273696660995483, -0.46166038513183594, 0.27153006196022034, -0.37713393568992615, -0.2507631778717041, -0.2949974834918976, -0.3769414722919464, -0.5120732188224792, -0.6314629912376404, 0.3104589581489563, -0.8254438042640686, -0.2033749222755432, 0.023252535611391068, -0.055373240262269974, -0.07155705988407135, 0.20311488211154938, -0.9558237791061401, 0.29003939032554626, 0.6663892865180969, 0.539454460144043, -0.07812553644180298, -0.03363252803683281, -0.4031358063220978, 0.12820616364479065, -0.555454432964325, 0.5726732015609741, -0.3733726739883423, -0.349465012550354, -0.1560215801000595, 0.056751128286123276, -0.06551153212785721, -0.706321656703949, 0.46462297439575195, -0.3095848858356476, -0.14869515597820282, -0.2575523853302002, -0.7635565400123596, -0.012960439547896385, 0.017794383689761162, -0.6970183849334717, 0.8438611030578613, 0.3716915249824524, -0.3123895525932312, 0.5293968915939331, -0.8572622537612915, -0.848743200302124, 0.3078595995903015, -0.16922305524349213, -0.6021056175231934, 0.1039230078458786, 0.4886641204357147, 0.4923797845840454, 0.008953440934419632, 0.4945955276489258, -0.18229517340660095, -0.2514178156852722, 0.6030696630477905, -0.2223735749721527, 0.6380018591880798, 0.13535578548908234, -0.04939737915992737, 0.06855011731386185, -0.7883153557777405, 0.04951581358909607, -0.13150149583816528, -0.5756909847259521, -0.1663917601108551, 0.13755522668361664, 0.17100559175014496, 0.10032574087381363, -0.03636889532208443, -0.6910089254379272, 0.0342976376414299, -0.7560111284255981, 0.5172294974327087, 0.7582579255104065, -0.06917652487754822, 0.032842837274074554, -0.6460285186767578, 0.39715468883514404, 0.08689162135124207, 0.07625553756952286, 0.029997816309332848, -0.7858410477638245, -0.6376703977584839, -0.418974906206131, 0.6770145893096924, 0.141047865152359, -0.692319929599762, 0.6760179400444031, -0.29784271121025085, -0.2590979039669037, -0.796196699142456, -0.06755758821964264, 0.22056575119495392, 0.6810087561607361, 0.3805328905582428, -0.3897556662559509, -0.6829429268836975, -1.0688362121582031, -0.014484547078609467, 0.06945051997900009, -0.2701681852340698, 0.5601698756217957, 0.3875032067298889, -0.6234463453292847, 0.8034818768501282, -0.09077336639165878, -0.12849710881710052, -0.2636074125766754, 0.22165869176387787, 0.0629519373178482, 0.6780834794044495, 0.584670901298523, -0.4765588939189911, -0.44423556327819824, 0.13999326527118683, -0.5787429213523865, -0.04409118741750717, -0.049988217651844025, 0.1628447324037552, 0.5696007013320923, 0.22795778512954712, -0.517698347568512, 0.2723100483417511, 0.46580082178115845, -0.11849132180213928, 0.454353392124176, -0.4877106249332428, 0.032243818044662476, -0.8531995415687561, 0.20835161209106445, 0.10128118097782135, -0.21923001110553741, -0.6696166396141052, -0.2280043065547943, -0.10668281465768814, -0.34611210227012634, -0.14492270350456238, 0.37561699748039246, -0.15933863818645477, -0.13535809516906738, 0.007050893269479275, -0.30938154458999634, -0.11011876165866852, 0.15341342985630035, 0.044665150344371796, 0.6957597136497498, 0.48769426345825195, -0.42742297053337097, 0.36543938517570496, 0.26783648133277893, -0.5235702991485596, 0.19303297996520996, -0.7561439871788025, 0.03302304819226265, -0.07023628801107407, 0.4577689468860626, -0.9535519480705261, -0.5992014408111572, 0.05565911903977394, -0.6630667448043823, 0.521613359451294, 0.1467743068933487, -0.6620039343833923, -0.6963896155357361, -0.05285877361893654, 0.22699615359306335, 0.6918397545814514, -0.4927290081977844, 0.48578765988349915, 0.46732065081596375, -0.29975956678390503, -0.3474977910518646, -0.8560516238212585, 0.192695751786232, 0.08240322768688202, -0.7858631610870361, 0.2830883860588074, 0.1345347911119461, 0.1506258249282837, 0.06225327402353287, -0.04642052575945854, -0.019854867830872536, 0.03266739845275879, 0.08011093735694885, 0.13616891205310822, -0.36696967482566833, 0.6288998126983643, 0.20406264066696167, -0.08322000503540039, 0.2910877764225006, -0.12730202078819275, 0.4172249138355255, 0.19643054902553558, -0.30951398611068726, -0.2588830292224884, 0.4791528880596161, 0.4558272659778595, -0.11320745199918747, 0.793082058429718, 0.5036424994468689, -0.47133663296699524, -0.4016094505786896, -0.32459756731987, -0.4482453167438507, -0.4803970754146576, 0.5125552415847778, -0.07310792803764343, -0.6625064611434937, 0.43441295623779297, -0.042638666927814484, -0.021720414981245995, 0.3156373202800751, 0.6139434576034546, -0.43041637539863586, 1.3704158067703247, 0.1365342140197754, 0.09085556119680405, 0.2743884027004242, -0.23831380903720856, 0.42615216970443726, -0.7629833221435547, -0.13600848615169525, -0.1538640558719635, -0.5193997621536255, -0.6440483331680298, -0.369667649269104, 0.7926220297813416, -0.5716220140457153, -0.4427475929260254, -0.10030117630958557, -0.583220899105072, 0.2315817028284073, 0.6400386691093445, 0.6396212577819824, 0.028100155293941498, 0.05630229786038399, 0.06979301571846008, 0.03718084841966629, -0.8521454930305481, -0.3372112214565277, 1.7200655937194824, 0.41644999384880066, 0.4017786383628845, -0.08223693072795868, 0.5132563710212708, 0.4439879357814789, 0.5999701023101807, -0.7472172975540161, 0.4690389633178711, -0.5352221727371216, -0.5990408658981323, -0.22488678991794586, -0.5577214360237122, -1.2579892873764038, -0.15383639931678772, -0.41168278455734253, -0.4435286223888397, 0.136018767952919, 0.2971740961074829, -0.5742453932762146, -0.02667427621781826, -0.7671859264373779, 0.5627772212028503, -0.4144367277622223, -0.006229523569345474, -0.21577419340610504, -0.5436796545982361, 0.4607613682746887, -0.6155098676681519, -0.014408117160201073, 0.011998092755675316, 0.24211636185646057, 0.7332238554954529, -0.5718809962272644, 0.903750479221344, -0.04985757917165756, -0.03150614723563194, -0.07159992307424545, -0.39317435026168823, 0.26829731464385986, -0.1368846595287323, -0.38700172305107117, 0.17270924150943756, -0.12658584117889404, -0.3760458827018738, -0.4594016969203949, 0.7109625935554504, -0.9628996849060059, -0.4010829031467438, -0.44514262676239014, -0.8307974338531494, -0.7196592688560486, -0.15876810252666473, 0.006040139589458704, 0.4666142761707306, -0.06458829343318939, 0.29050111770629883, 0.6455585360527039, -0.6019120812416077, 0.0849175825715065, 0.5266256928443909, -0.0285114124417305, -0.2987254559993744, 0.8769890069961548, 0.4135957956314087, 0.2166384905576706, -0.20393265783786774, 0.16778142750263214, -0.2190214842557907, -0.5381628274917603, -0.3083617091178894, 0.26668423414230347, -0.3126069903373718, -0.12820403277873993, -0.6719105243682861, -0.7447681427001953, -0.6467514634132385, -0.0811990424990654, -0.18925584852695465, -0.5434123277664185, -0.16700509190559387, -0.060268353670835495, 0.569463849067688, 0.46880489587783813, -0.3119904100894928, 0.40398555994033813, -0.737675130367279, 0.4125696122646332, 0.1282527893781662, 0.329998642206192, 0.1298605501651764, -0.4210044741630554, -0.3695378303527832, 0.4119468927383423, -0.3301031291484833, -0.5757899880409241, 0.6293781995773315, 0.3918023705482483, 0.5717434287071228, 0.2666333317756653, -0.038728248327970505, 0.48326560854911804, -0.5177277326583862, 0.6548150181770325, 0.08448005467653275, -0.6959669589996338, 0.4664735794067383, -0.44481781125068665, 0.0039116013795137405, 0.02084955759346485, 0.39944425225257874, -0.33128654956817627, -0.42380401492118835, -0.7381395697593689, -0.9574329853057861, 0.7750725150108337, 0.25067952275276184, 0.15907572209835052, -0.06121547147631645, 0.3443201780319214, -0.030938612297177315, 0.009060797281563282, -0.3083002269268036, -0.2073584794998169, 0.16978822648525238, -0.4262075126171112, -0.20412281155586243, -0.043998315930366516, -0.2517581284046173, -0.7166423797607422, 0.7345798015594482, -0.10282044112682343, 0.446637362241745, 0.13671329617500305, 0.3016427159309387, -0.19673971831798553, -0.07836876809597015, 0.3793017268180847, 0.44768330454826355, -0.0797947496175766, -0.3420299291610718, 0.025257866829633713, -0.3991931080818176, -0.09273044019937515, 0.3751428425312042, -0.03311307355761528, 0.03481310233473778, 0.4360550343990326, 0.6436441540718079, -0.10239238291978836, -1.097208023071289, 0.20889912545681, 0.16548587381839752, -0.34492072463035583, -0.29225608706474304, 0.31686723232269287, 0.33530810475349426, 0.23969846963882446, 0.19653072953224182, 0.197356179356575, 0.12185481935739517, -0.5393388271331787, 0.4747084975242615, 0.42931389808654785, 0.1534462720155716, -0.20349565148353577, 0.3900875449180603, 0.3118273913860321, -0.40611618757247925, 0.9555821418762207, 0.1652442365884781, -0.34908920526504517, 1.0083484649658203, 0.6457407474517822, 0.41870540380477905, -0.39926618337631226, 0.27196112275123596, 0.25867778062820435, 0.07514211535453796, -0.02383221685886383, 0.3447250723838806, 0.24303598701953888, -0.8315155506134033, -0.6215370297431946, -0.5138537883758545, -0.4511759877204895, 0.4296010732650757, -0.4874841272830963, 0.11756132543087006, -0.49706971645355225, -0.40110719203948975, 0.49333372712135315, -0.06695210933685303, -0.6475390195846558, 0.47811880707740784, 0.13347837328910828, 0.5233616232872009, -0.7587260603904724, 0.9913412928581238, 0.6763108968734741, -0.3039088845252991, -0.9385519623756409, -0.19832822680473328, -0.23908206820487976, -0.8854087591171265, 0.7762593626976013, 0.04683303460478783, 0.3558254539966583, -0.12204921245574951, -0.488031268119812, -0.7152851223945618, 0.632693886756897, 0.38311630487442017, -0.7126461267471313, -0.06814797222614288, 0.444842129945755, 1.1573041677474976, -0.37589508295059204, 0.035586412996053696, 0.7289085388183594, 0.4533761143684387, 0.21555085480213165, -1.0355262756347656, -0.09318295121192932, -0.2884565591812134, -0.10604613274335861, 0.05590515211224556, -0.11001154035329819, 0.9042792320251465, -0.303986132144928, 0.0443962886929512, 0.03038775734603405, 0.16794392466545105, 0.28910768032073975, 0.34129631519317627, 0.18740923702716827, 0.4799647629261017, 1.0772688388824463, -0.02270381897687912, 1.0355592966079712, -0.3100303113460541, 0.031912676990032196, 0.9236012697219849, -0.3097779452800751, 0.607304036617279, 0.18316352367401123, -0.17057137191295624, 0.12444853037595749, 0.776286780834198, -0.144957035779953, 0.18833477795124054, 0.5352802276611328, -0.38455405831336975, -0.2339402288198471, -0.03310670703649521, -0.5493563413619995, 0.31749027967453003, 0.7855751514434814, -0.864136278629303, 0.04234934225678444, 0.2355232983827591, -0.06992735713720322, -0.10416591167449951, -0.26641881465911865, 0.7790777683258057, 0.0030113442335277796, -0.426725834608078, 0.687890887260437, -0.05427742749452591, 0.2722146809101105, -0.46788743138313293, 0.03187154233455658, -0.1546061486005783, 0.35220253467559814, -0.18617679178714752, -0.6339742541313171, 0.4488973617553711, 0.013356322422623634, -0.1581522524356842, -0.12314285337924957, 0.47403857111930847, -0.42088112235069275, -1.044045329093933, -0.00852343998849392, 0.48831045627593994, 0.34137576818466187, 0.18533733487129211, -0.6335904002189636, -0.20478133857250214, -0.09944390505552292, -0.12765911221504211, 0.4244708716869354, 0.44734349846839905, -0.18555502593517303, 0.6723747849464417, 0.884918749332428, 0.5284545421600342, -0.09478698670864105, 0.00478164991363883, 1.0012301206588745, -0.33077600598335266, -0.24466343224048615, -0.5835847854614258, 0.2159581482410431, -0.15914303064346313, -0.12982995808124542, 0.3383304476737976, 0.477165549993515, 0.5027816295623779, -0.17077744007110596, 0.9816405773162842, 0.04405767098069191, 0.8692248463630676, -0.2834130823612213, 0.9969350695610046, -0.5050173401832581, 0.23679150640964508, -0.007414484396576881, -0.4271516501903534, -0.42552968859672546, 0.6936424374580383, -0.37352046370506287, 0.15196366608142853, 0.3588862121105194, 0.8487411737442017, -0.12223228812217712, 0.13124972581863403, 0.24750842154026031, 0.5006770491600037, 0.6991139650344849, 0.6924154758453369, 0.5838084816932678, -0.21958549320697784, -0.02503654547035694, -0.055743955075740814, -0.1770848035812378, -0.14415423572063446, -0.6137651205062866, -0.9041560292243958, -0.42803263664245605, -0.31198927760124207, -0.3873421847820282, 0.37567368149757385, 1.1104141473770142, 0.9064667224884033, -0.9779477119445801, 0.10000541061162949, -0.05309176445007324, -0.24870868027210236, -0.296831876039505, -0.18705670535564423, 0.579397976398468, -0.6116923689842224, -0.7094390988349915, 0.5052343606948853, -0.20444293320178986, 0.09639223664999008, -0.1100730374455452, -0.00911144819110632, 0.0876849964261055, 0.2791673541069031, 0.6986697316169739, 0.20988008379936218, -0.6420996189117432, -0.4219108819961548, -0.22204148769378662, -0.08613895624876022, 0.12429135292768478, 0.5288112759590149, -0.921326756477356, 0.4385659992694855, 0.1344752162694931, 1.0227442979812622, 0.3092682659626007, 0.09196817129850388, 0.9357905387878418, -0.7053834199905396, -0.23506751656532288, 0.6289233565330505, 0.20835813879966736, 0.341452956199646, -0.4844149351119995, 0.4707408845424652, 0.07041533291339874, -0.6651530861854553, -0.8439728617668152, -0.10153402388095856, -0.902258038520813, -0.28773537278175354, 1.1614785194396973, -0.10551819950342178, -0.014628509990870953, -0.23403029143810272, -0.36229079961776733, 0.21844497323036194, -0.5921595692634583, 1.0666790008544922, 0.5089556574821472, -0.6421316862106323, 0.1438194066286087, -0.5168616771697998, 0.6967921853065491, 0.49504896998405457, -0.7991939783096313, -0.15024961531162262, 0.6478040218353271, 0.3380734622478485, -0.08201538026332855, 0.40453919768333435, 0.06436116248369217, 0.33109527826309204, -0.19840364158153534, 0.023196926340460777, -0.1916353404521942, -0.13254481554031372, -0.15865293145179749, -0.04624687507748604, -0.24228648841381073, -0.13458821177482605 ]
http://arxiv.org/abs/2405.04781v1
http://arxiv.org/pdf/2405.04781v1
CourseGPT-zh: an Educational Large Language Model Based on Knowledge Distillation Incorporating Prompt Optimization
2024-05-08T03:11:12
2024-05-08T03:11:12
Zheyan Qu, Lu Yin, Zitong Yu, Wenbo Wang, Xing zhang
cs.CL
cs.CL
Large language models (LLMs) have demonstrated astonishing capabilities in natural language processing (NLP) tasks, sparking interest in their application to professional domains with higher specialized requirements. However, restricted access to closed-source LLMs via APIs and the difficulty in collecting massive high-quality datasets pose obstacles to the development of large language models in education fields of various courses. Given these challenges, we propose CourseGPT-zh, a course-oriented education LLM that supports customization and low-cost deployment. To address the comprehensiveness and diversity requirements of course-specific corpora, we design a high-quality question-answering corpus distillation framework incorporating prompt optimization, which effectively mines textbook knowledge and enhances its diversity. Moreover, considering the alignment of LLM responses with user needs, a novel method for discrete prompt optimization based on LLM-as-Judge is introduced. During optimization, this framework leverages the LLM's ability to reflect on and exploit error feedback and patterns, allowing for prompts that meet user needs and preferences while saving response length. Lastly, we obtain CourseGPT-zh based on the open-source LLM using parameter-efficient fine-tuning. Experimental results show that our discrete prompt optimization framework effectively improves the response quality of ChatGPT, and CourseGPT-zh exhibits strong professional capabilities in specialized knowledge question-answering, significantly outperforming comparable open-source models.
[ -0.5211777687072754, -1.0484932661056519, 0.6958543062210083, -0.02179676480591297, -0.29035666584968567, 0.2073487490415573, -0.5751963257789612, 0.017418544739484787, -0.1046539917588234, 0.2569364011287689, -0.7015398144721985, -0.7148693203926086, -0.3978464603424072, 0.1126391664147377, -0.0797586664557457, 1.0318083763122559, 0.22777749598026276, 0.06282204389572144, -0.16948941349983215, 0.23411259055137634, -0.5500461459159851, -0.5260806083679199, -0.7524692416191101, -0.14898844063282013, 0.7052295804023743, 0.502918541431427, 0.5873254537582397, 0.6114853620529175, 0.30297765135765076, 0.1816873401403427, -0.16840589046478271, -0.03655436635017395, -0.3135286271572113, 0.15172818303108215, -0.2908281981945038, -0.26284757256507874, -0.30962762236595154, -0.2365683615207672, 0.5097917914390564, 0.7811325788497925, -0.4744132161140442, 0.1844535619020462, 0.22982800006866455, 0.6539658308029175, -0.6500664353370667, 0.14088459312915802, -0.42065486311912537, -0.0791444256901741, -0.011141600087285042, -0.08430291712284088, -0.279923677444458, -0.6571879386901855, 0.48566555976867676, -0.48834025859832764, 0.14591814577579498, -0.010792339220643044, 0.3176461160182953, 0.31758397817611694, -0.11785271018743515, -0.5218124985694885, -0.5542526245117188, 0.6787896752357483, -0.851235568523407, 0.17770187556743622, 0.14570343494415283, 0.6486152410507202, -0.1182909607887268, -0.6814026236534119, -0.476223349571228, -0.170693501830101, 0.17050080001354218, 0.16227364540100098, 0.04443522170186043, 0.410256952047348, 0.19588693976402283, 0.480124294757843, -0.6924532651901245, 0.22500550746917725, -0.23733872175216675, -0.0896809995174408, 0.2741999328136444, 0.2307569533586502, 0.4117316007614136, -0.05454503372311592, -0.3107936978340149, 0.07991264760494232, -0.44899794459342957, 0.07796604931354523, 0.42963194847106934, 0.5020619034767151, 0.20939020812511444, 0.4483237862586975, -0.350015789270401, 0.8539517521858215, -0.13253521919250488, -0.14503484964370728, -0.1156814768910408, 0.05449678748846054, -0.1862809807062149, 0.18409381806850433, 0.7062479853630066, 0.08987986296415329, 0.15239392220973969, 0.07137531787157059, -0.22147540748119354, -0.025508694350719452, -0.04096580296754837, -1.0176177024841309, -0.28278398513793945, 0.33556002378463745, -0.0801144689321518, -0.2038591355085373, -0.42342302203178406, -0.9394141435623169, -0.2525186240673065, -0.5274206399917603, 0.34154292941093445, -0.4544594883918762, -0.07012802362442017, 0.4420434236526489, -0.0050613414496183395, -0.1257878541946411, 0.4856448471546173, -1.1904925107955933, 0.10914987325668335, 0.611626148223877, 0.7984697222709656, -0.21804198622703552, -0.04169238731265068, -0.6888489127159119, -0.20744457840919495, -0.054794538766145706, 0.41985413432121277, -0.7281315922737122, -0.367816299200058, 0.18822269141674042, -0.32436564564704895, 0.04644531011581421, -0.4025112986564636, 0.801403820514679, -0.8592898845672607, 0.43733498454093933, -0.2699680030345917, -0.6718650460243225, -0.2375175952911377, 0.4524376392364502, -0.3729782700538635, 0.8592252135276794, 0.3679107427597046, -0.6849008202552795, 0.08018820732831955, -0.6611121892929077, -0.2052922546863556, 0.46078693866729736, -0.17199477553367615, -0.08868447691202164, -0.16503824293613434, 0.24773404002189636, 0.2352285087108612, -0.6262528300285339, 0.7235261797904968, -0.10052778571844101, -0.4075477123260498, -0.1786404401063919, -0.48075544834136963, 0.958607017993927, 0.17902518808841705, -0.3376975655555725, 0.23053106665611267, -0.9201621413230896, 0.008229067549109459, -0.06904912739992142, -0.766828179359436, -0.5039209127426147, 0.0478225015103817, -0.1869356334209442, 0.30284157395362854, 0.5169498920440674, -0.3151763081550598, 0.32331016659736633, -0.29884132742881775, 0.5162649154663086, 0.8262905478477478, -0.02162991464138031, 0.4115076959133148, -0.05701819434762001, 0.6801106333732605, -0.2358744740486145, 0.3752747178077698, -0.0893968939781189, -0.5226431488990784, -0.5671728849411011, -0.31928810477256775, 0.07121080160140991, 0.5856741070747375, -0.7291862964630127, 0.46140700578689575, -0.11475057899951935, -0.43347638845443726, -0.440530002117157, 0.15057983994483948, 0.24207833409309387, 0.8422022461891174, 0.4316786527633667, -0.003603721735998988, -0.17414577305316925, -0.6646418571472168, -0.04306618869304657, -0.19779440760612488, -0.1680147349834442, 0.20943178236484528, 0.18564383685588837, -0.25117138028144836, 1.0098674297332764, -0.7959645986557007, -0.0220954492688179, -0.27728840708732605, -0.12216696888208389, 0.4942404627799988, 0.15919241309165955, 0.5306649804115295, -0.6274385452270508, -0.5955055356025696, -0.12161584943532944, -0.48533254861831665, -0.35528984665870667, 0.2156522274017334, -0.3727012574672699, -0.037318598479032516, 0.05970213562250137, -0.5905182957649231, -0.04858080670237541, 0.3740919530391693, -0.22374872863292694, 0.7939978241920471, -0.2637452185153961, 0.029132956638932228, -0.9926450848579407, -0.09245868027210236, -0.11721061915159225, 0.08723849803209305, -0.40766599774360657, 0.1791633665561676, -0.0043855090625584126, -0.2847983241081238, -0.3103586733341217, 0.5466424822807312, -0.20197495818138123, 0.15734614431858063, -0.40154051780700684, 0.5350748896598816, 0.019192704930901527, 0.7922111749649048, 0.08470256626605988, 0.660574197769165, 0.5971241593360901, -0.729739785194397, 0.639713704586029, 0.46128687262535095, -0.4235283434391022, 0.6055877208709717, -0.6235848069190979, 0.08672399818897247, -0.15096968412399292, -0.06503947824239731, -0.7325251698493958, -0.2534075677394867, 0.21948669850826263, -0.14181140065193176, 0.10807068645954132, -0.3071438670158386, -0.3933778405189514, -0.3971533179283142, -0.22925108671188354, 0.019803643226623535, 0.8261524438858032, -0.7315466403961182, 0.4096837639808655, -0.14725998044013977, -0.4337775409221649, -0.8506149053573608, -0.20823384821414948, -0.11961016803979874, -0.28266283869743347, -0.5934187769889832, -0.01256952341645956, -0.4806264340877533, -0.23392419517040253, -0.18394728004932404, -0.1442560851573944, -0.046737782657146454, 0.19923198223114014, -0.15519656240940094, 0.5237327814102173, -0.4408350884914398, 0.31397590041160583, 0.39255085587501526, 0.1621580570936203, 0.1699909269809723, -0.6894567608833313, 0.6860054135322571, 0.07651406526565552, -0.37327316403388977, -0.23764659464359283, 0.23136945068836212, 0.4206783175468445, -0.17778253555297852, 0.5376577973365784, 0.41500747203826904, -0.1287899911403656, -0.588996946811676, -0.4812403619289398, -0.39670953154563904, -0.5445094704627991, 0.47788625955581665, -0.16764435172080994, -1.174434781074524, 0.21430502831935883, -0.14610624313354492, 0.3096603751182556, 0.10945647954940796, 0.5540837645530701, 0.18568174540996552, 0.576818585395813, 0.446885347366333, -0.18307937681674957, 0.5886857509613037, 0.1595536172389984, 0.21636302769184113, -0.5555298328399658, -0.03586707264184952, -0.5275754928588867, -0.13087323307991028, -0.36456555128097534, -0.2541933059692383, 0.29249367117881775, 0.20910793542861938, -0.6149773597717285, 0.03307867795228958, -0.5176191329956055, 0.40672558546066284, 0.8958538770675659, 0.04876382276415825, 0.4940531253814697, 0.011428696103394032, -0.05467138811945915, 0.0512704998254776, -0.7532417178153992, -0.5979388952255249, 0.9246660470962524, 0.2245335876941681, 0.6550801992416382, 0.15836437046527863, 0.6825599074363708, 0.11147095263004303, 0.07504680007696152, -0.8364839553833008, 0.6404510140419006, -0.25055643916130066, -0.5650023221969604, -0.5676076412200928, -0.5442573428153992, -0.39305630326271057, 0.2422938346862793, 0.06198802590370178, -0.4413028061389923, -0.050216153264045715, 0.12315455079078674, -0.50750333070755, 0.3341827094554901, -0.5977624654769897, 0.9227997660636902, -0.19199123978614807, -0.35811328887939453, 0.021980183199048042, -0.756110668182373, 0.3501361608505249, -0.34444162249565125, 0.24946902692317963, -0.30430978536605835, 0.04596951603889465, 0.4699583947658539, -0.4611245393753052, 0.8361154198646545, -0.4221968650817871, -0.37194114923477173, 0.5895840525627136, 0.052389685064554214, 0.5144774317741394, 0.27055665850639343, -0.2045053243637085, -0.1981448531150818, -0.1559830605983734, -0.19819436967372894, -0.8027583956718445, 0.6845734119415283, -0.728073000907898, -0.9412615299224854, -0.059888508170843124, -0.3291780948638916, -0.3067103326320648, 0.2519948482513428, 0.2626616656780243, 0.4757407307624817, -0.19553986191749573, -0.10907591134309769, 0.9583176970481873, -0.5292676687240601, 0.5141831636428833, 0.6678500771522522, -0.16737984120845795, -0.29523929953575134, 0.8983645439147949, -0.17147612571716309, 0.4615412950515747, 0.5327121019363403, 0.5883665680885315, -0.3274139165878296, -0.6980488896369934, -0.6329332590103149, -0.06075237691402435, -0.8648980855941772, -0.09101314842700958, -0.6217582821846008, -0.24817973375320435, -0.34884655475616455, -0.13800150156021118, -0.14289627969264984, -0.3335544168949127, -0.5162251591682434, -0.03656851127743721, 0.4228222966194153, 0.21445195376873016, 0.09512583911418915, 0.5715928673744202, -0.9022982120513916, 0.10449854284524918, 0.6586822867393494, 0.3211556673049927, -0.0184989795088768, -0.7303076386451721, -0.06388405710458755, 0.05323489010334015, -0.21307489275932312, -0.5199434161186218, 0.3513162434101105, 0.3788459002971649, 0.40041711926460266, 0.4412758946418762, 0.4153940677642822, 0.15144731104373932, -0.6203708052635193, 0.7917659282684326, 0.17989115417003632, -0.7832428812980652, 0.7290186285972595, -0.5988031029701233, 0.23546725511550903, 0.5315667390823364, 0.5219936370849609, -0.621406078338623, -0.34668365120887756, -0.1439843326807022, -0.9487691521644592, 0.6841847896575928, -0.06752320379018784, 0.3754512071609497, -0.1375139206647873, 0.5040581822395325, 0.2968136966228485, 0.3381246328353882, -0.4730910062789917, -0.288722962141037, -0.10996101796627045, -0.37967953085899353, -0.07870960235595703, -0.47212618589401245, -0.043647490441799164, -0.04554101079702377, 0.8655857443809509, -0.13837596774101257, -0.22780387103557587, -0.05405963212251663, 0.027480488643050194, 0.2441374659538269, 0.7429835796356201, 0.47209686040878296, 0.5577391386032104, -0.3327895700931549, -0.03701562434434891, -0.031716447323560715, -0.7779565453529358, 0.2230609953403473, 0.11557726562023163, -0.2185559868812561, 0.09602712094783783, 0.0397162139415741, 0.7255037426948547, 0.17791767418384552, -0.8172413110733032, 0.49081161618232727, 0.03057531639933586, -0.08214345574378967, -0.2586199939250946, 0.43895629048347473, 0.1166098341345787, 0.4629918038845062, 0.42143672704696655, -0.32212939858436584, 0.31849101185798645, -0.21618108451366425, -0.013344092294573784, 0.04665829613804817, -0.15856187045574188, -0.14840799570083618, 0.8623431921005249, 0.30068060755729675, -0.2786029279232025, 0.8541863560676575, -0.14487747848033905, -0.29981598258018494, 0.45510831475257874, 0.40222033858299255, 0.8432317972183228, -0.37182098627090454, 0.4541667401790619, 0.6446809768676758, 0.02748773992061615, -0.3704913854598999, 0.20413395762443542, -0.08629747480154037, -0.5509858727455139, -0.4260677099227905, -0.9631831645965576, -0.5426473021507263, -0.0022625336423516273, -0.5494183301925659, 0.5644146203994751, -0.6085924506187439, -0.18489763140678406, -0.21054233610630035, -0.10249491035938263, -0.32755860686302185, 0.314754456281662, -0.03512109816074371, 0.8968178629875183, -0.4700625538825989, 0.8040214776992798, 0.4742070138454437, -0.3673575222492218, -0.7437514662742615, -0.2619442045688629, -0.18988990783691406, -0.6032223105430603, 0.6757426857948303, -0.08902771770954132, 0.03058849833905697, 0.34565258026123047, -0.46490973234176636, -0.5326265692710876, 0.9735866785049438, 0.6664112210273743, -1.1708060503005981, -0.4510763883590698, 0.14050985872745514, 0.4434058666229248, -0.05754227563738823, 0.002354528522118926, 0.5585616230964661, 0.25482913851737976, 0.2114216685295105, -0.586478054523468, -0.08064986020326614, 0.014302918687462807, 0.038889408111572266, 0.1066855788230896, -0.5783195495605469, 0.8127690553665161, -0.14686396718025208, -0.13577979803085327, -0.2212039977312088, 0.5066332221031189, 0.4301358163356781, 0.21375031769275665, 0.1958865374326706, 0.3136310875415802, 0.8612916469573975, -0.08859346061944962, 0.6540493965148926, -0.28204888105392456, 0.3530445694923401, 1.3478845357894897, -0.12970101833343506, 0.6387794017791748, 0.3523530662059784, -0.2512231469154358, 0.4212166965007782, 0.8560131788253784, -0.0127125084400177, 0.6621355414390564, 0.45860275626182556, -0.7493605613708496, -0.2197888195514679, 0.15744821727275848, -0.33405306935310364, 0.14864428341388702, 0.23236490786075592, -0.2884252369403839, -0.28951093554496765, 0.10893478989601135, -0.12801489233970642, 0.15660837292671204, -0.4137994945049286, 0.5979588031768799, 0.09262552857398987, -0.5546968579292297, 0.5008721351623535, 0.006182053592056036, 0.8419482111930847, -0.6323004961013794, 0.2221565842628479, -0.4533594250679016, -0.14974236488342285, -0.08866456896066666, -0.4881809949874878, 0.032778315246105194, 0.031137946993112564, -0.22700151801109314, 0.024174954742193222, 0.4144633114337921, -0.5753024816513062, -0.29405051469802856, 0.2307935208082199, 0.48824557662010193, 0.15865913033485413, -0.16716566681861877, -0.3381653428077698, -0.1021452322602272, -0.11055098474025726, -0.3404235541820526, 0.3337688148021698, 0.6606582999229431, -0.007824883796274662, 0.6444777846336365, 0.4685121178627014, 0.05591372773051262, 0.0872410461306572, 0.3654167354106903, 0.8777828812599182, -0.3918164074420929, -0.5790843963623047, -1.0240682363510132, 0.37463992834091187, 0.10518139600753784, -0.16874350607395172, 0.4030570983886719, 0.5836080312728882, 0.7491394877433777, -0.2975168228149414, 1.04820716381073, 0.0064263492822647095, 0.4470096528530121, -0.4964892268180847, 0.7190375924110413, -0.3566740155220032, 0.41311168670654297, -0.25977736711502075, -1.193630337715149, -0.06834182888269424, 0.3721984922885895, -0.35612380504608154, 0.025118714198470116, 0.5003430247306824, 0.40056777000427246, 0.07729104161262512, 0.11010117828845978, 0.44873932003974915, -0.18333587050437927, 0.35391145944595337, 0.7701658010482788, 0.9196843504905701, 0.008466082625091076, 0.5236606001853943, -0.19220316410064697, -0.35534292459487915, -0.266223281621933, -0.7172282338142395, -1.1900593042373657, -0.6263058185577393, -0.5183046460151672, -0.08212408423423767, 0.16582486033439636, 1.1561521291732788, 0.24873077869415283, -0.5331631302833557, -0.05711203068494797, -0.1846124231815338, 0.09845224767923355, 0.0768025815486908, -0.2452453225851059, 0.5313504338264465, -0.657265305519104, -0.8985575437545776, 0.27023541927337646, 0.21866920590400696, 0.07844169437885284, -0.27347204089164734, 0.07050018012523651, 0.10802000015974045, -0.010466723702847958, 0.7516403794288635, 0.04846033826470375, -0.476627379655838, -0.18705877661705017, 0.1917285919189453, -0.2095593512058258, 0.0533546544611454, 0.6978836059570312, -0.361304372549057, 0.37674710154533386, 0.4362780451774597, 0.901370644569397, 0.15707243978977203, -0.1595069169998169, 0.4998133182525635, -0.6285394430160522, 0.01504392921924591, 0.4562489092350006, 0.14556042850017548, 0.28040045499801636, -0.5791934728622437, 0.39877426624298096, 0.15242278575897217, -0.48048579692840576, -0.5578641891479492, 0.24592003226280212, -0.9136509299278259, -0.38705170154571533, 1.1970667839050293, -0.33173519372940063, -0.11900974810123444, -0.11972635239362717, -0.3881340026855469, 0.3478005528450012, -0.4894208014011383, 0.9874588847160339, 0.8755424618721008, 0.12968353927135468, -0.20108109712600708, -0.8092945218086243, 0.620608925819397, 0.024003518745303154, -0.8500651121139526, 0.12138165533542633, 0.7049456834793091, 0.49273228645324707, -0.13363495469093323, 0.5495281219482422, -0.0017768144607543945, 0.18901373445987701, -0.257240355014801, 0.1702558547258377, -0.22611753642559052, -0.12836046516895294, -0.2197299748659134, 0.3996888995170593, 0.2523580491542816, -0.1518181711435318 ]
http://arxiv.org/abs/2405.04777v1
http://arxiv.org/pdf/2405.04777v1
Empathy Through Multimodality in Conversational Interfaces
2024-05-08T02:48:29
2024-05-08T02:48:29
Mahyar Abbasian, Iman Azimi, Mohammad Feli, Amir M. Rahmani, Ramesh Jain
cs.CL
cs.CL
Agents represent one of the most emerging applications of Large Language Models (LLMs) and Generative AI, with their effectiveness hinging on multimodal capabilities to navigate complex user environments. Conversational Health Agents (CHAs), a prime example of this, are redefining healthcare by offering nuanced support that transcends textual analysis to incorporate emotional intelligence. This paper introduces an LLM-based CHA engineered for rich, multimodal dialogue-especially in the realm of mental health support. It adeptly interprets and responds to users' emotional states by analyzing multimodal cues, thus delivering contextually aware and empathetically resonant verbal responses. Our implementation leverages the versatile openCHA framework, and our comprehensive evaluation involves neutral prompts expressed in diverse emotional tones: sadness, anger, and joy. We evaluate the consistency and repeatability of the planning capability of the proposed CHA. Furthermore, human evaluators critique the CHA's empathic delivery, with findings revealing a striking concordance between the CHA's outputs and evaluators' assessments. These results affirm the indispensable role of vocal (soon multimodal) emotion recognition in strengthening the empathetic connection built by CHAs, cementing their place at the forefront of interactive, compassionate digital health solutions.
[ -0.33164891600608826, -0.7053635120391846, 0.8580527901649475, 0.3674394488334656, 0.030301008373498917, 0.10387802869081497, -0.14698487520217896, -0.3722410202026367, 0.6852150559425354, 0.152017742395401, -0.7784697413444519, -0.4063810706138611, -0.39454182982444763, 0.0977822095155716, 0.2018676996231079, 0.8587026000022888, 0.2618681788444519, 0.04826036095619202, 0.00712297298014164, -0.3735336661338806, -0.13345171511173248, -0.3501196801662445, -0.6752166152000427, -0.4378545880317688, 0.9592397212982178, 0.4115142226219177, 0.9721565246582031, -0.07110895216464996, 0.2640344500541687, 0.3358342945575714, 0.2260032743215561, 0.5924277305603027, -0.2294575721025467, 0.40306559205055237, 0.121505506336689, -0.0795818492770195, -0.945801854133606, -0.15597471594810486, 0.10957954078912735, 0.24531909823417664, -0.3227687180042267, -0.3404420018196106, -0.08720003813505173, 0.4855051338672638, -0.5524551868438721, 0.29444432258605957, -0.1787296086549759, 0.3004513084888458, 0.16093334555625916, -0.49901390075683594, -0.4992218613624573, -0.08403140306472778, -0.00879932101815939, -0.6722748279571533, -0.47082018852233887, -0.06424739211797714, 0.4692327380180359, 0.41142863035202026, -0.7636213898658752, -0.30112266540527344, -0.5602233409881592, 0.5638934969902039, -0.6229290962219238, 0.4720933139324188, 0.43404853343963623, 0.3748317062854767, 0.04240812361240387, -0.6440495848655701, -0.7975487112998962, -0.2264413833618164, -0.03507577255368233, 0.6511911153793335, -0.5290586948394775, 0.4836452603340149, 0.0733465775847435, 0.16979601979255676, -0.4601293206214905, 0.044620268046855927, 0.28307798504829407, -0.13278616964817047, 0.6023206114768982, 0.5077452063560486, 0.5854837894439697, -0.1396866738796234, -0.18620291352272034, 0.02384142391383648, -0.030857356265187263, 0.056939419358968735, -0.09843206405639648, 0.32236605882644653, -0.7435585856437683, 0.6199859976768494, -0.05140393599867821, 0.21906934678554535, -0.20668424665927887, -0.31879568099975586, 0.5406563878059387, -0.06404080241918564, -0.3101080656051636, 0.04043969884514809, 0.7538986206054688, 0.615792453289032, 0.2054867446422577, 0.08944227546453476, -0.04509289935231209, 0.28805309534072876, 0.5888633728027344, -0.6158285737037659, 0.03049628436565399, 0.68404221534729, -0.6487870216369629, 0.06961825489997864, -0.17864970862865448, -0.9866751432418823, -0.8723483681678772, -0.3515527844429016, 0.019312912598252296, -0.5701344013214111, -0.3844338059425354, 0.20307119190692902, 0.023897575214505196, 0.11231992393732071, 0.49516522884368896, -0.5173479318618774, 0.19917482137680054, 0.5107159614562988, 0.9065972566604614, 0.4356437921524048, -0.17221632599830627, -0.585533618927002, 0.07998466491699219, -0.025439033284783363, 0.5803304314613342, -0.8070793151855469, -0.3316083550453186, 0.09611587971448898, -0.007264988962560892, 0.019006993621587753, -0.10101843625307083, 0.6345732808113098, -0.1287064105272293, -0.08285544067621231, -0.3157939910888672, 0.007252893876284361, 0.025941504165530205, 0.42774146795272827, -0.5612636804580688, 0.3302496373653412, 0.37821587920188904, -0.5788208246231079, -0.00027416099328547716, -1.0604130029678345, -0.5250554084777832, 0.04664752632379532, -0.05940853804349899, -0.30743998289108276, 0.32053905725479126, 0.20130468904972076, 0.4062158465385437, -0.35961392521858215, -0.19525976479053497, -0.6944035291671753, -0.07813215255737305, 0.4324566721916199, -0.4571049213409424, 0.4640306532382965, 0.4391724765300751, -0.24648872017860413, 0.48659706115722656, -0.6269360780715942, 0.17866937816143036, 0.13522319495677948, 0.027680665254592896, -0.2935052514076233, -0.11234790831804276, 0.3468937873840332, 0.4069750905036926, -0.1624729037284851, -0.4928387999534607, -0.15099897980690002, -0.17803329229354858, 0.5518882274627686, 0.8268375396728516, -0.14438308775424957, 0.16767607629299164, -0.4500778913497925, 0.7315993905067444, 0.05890202522277832, 0.426293283700943, -0.39364150166511536, -0.5304329991340637, -0.49138277769088745, -0.9983103275299072, -0.5972738862037659, 0.3711303770542145, -0.6942146420478821, 0.27832940220832825, -0.09436273574829102, -0.673493504524231, -1.0634326934814453, -0.20609137415885925, 0.45025762915611267, 0.4067257046699524, 0.4420805871486664, -0.4874507486820221, -0.16786374151706696, -0.865584671497345, -0.07725532352924347, -0.27656257152557373, 0.06876786053180695, 0.7365694046020508, 0.01962076872587204, -0.9049103260040283, 0.6065331697463989, -0.26893848180770874, -0.23481294512748718, -0.1455778330564499, 0.19296251237392426, -0.39748892188072205, 0.13516174256801605, 0.3014092743396759, -0.6958420872688293, -0.3478170931339264, 0.28518444299697876, -0.9042285680770874, -0.41152146458625793, -0.16511057317256927, -0.10299664735794067, -0.04806026816368103, -0.05701841041445732, -0.7619223594665527, 0.35469239950180054, 0.6723830699920654, -0.5112496614456177, 0.21617798507213593, -0.13035789132118225, 0.5447511672973633, -1.130056619644165, 0.12564118206501007, 0.04673132672905922, -0.13748303055763245, -0.9248918294906616, -0.20653840899467468, -0.017443032935261726, -0.2888556122779846, -0.6511756777763367, 0.7609156370162964, -0.2530483603477478, -0.03770339861512184, -0.14818988740444183, 0.1891784369945526, 0.2559067904949188, 0.5537463426589966, -0.1790049821138382, 0.3774782121181488, 0.4198858439922333, -0.2296895831823349, 0.8602423071861267, 0.4665357768535614, 0.2274700403213501, 1.4370105266571045, -0.5104327201843262, 0.2679954767227173, -0.20189954340457916, 0.479199081659317, -0.883523166179657, -0.3949985206127167, 0.4458010792732239, -0.3797098994255066, -0.004317665006965399, 0.5333293080329895, -0.2342493087053299, -0.2890184223651886, -0.2686000466346741, 0.6133628487586975, 0.3048692047595978, -0.24821843206882477, 1.0188740491867065, 0.5468961596488953, -0.433976948261261, -0.1868424117565155, -0.758403480052948, 0.1718980222940445, -0.15186180174350739, -0.6564599871635437, -0.07386306673288345, -0.22109507024288177, -0.5864192247390747, -0.16468504071235657, 0.24920566380023956, -0.1457684189081192, 0.006066828966140747, 0.5586075186729431, 0.02649238519370556, 0.020099636167287827, 0.54072105884552, 0.20985770225524902, -0.17290738224983215, 0.03878447040915489, 0.2028850018978119, 0.5217592120170593, -0.4769274890422821, -0.8516292572021484, -0.7705396413803101, 0.6771013736724854, 1.1478686332702637, -0.47586438059806824, 0.5379090309143066, 0.6768477559089661, -0.45602861046791077, 0.1472044587135315, -0.47550633549690247, -0.1421673595905304, -0.419961154460907, 0.2767878770828247, -0.3679582476615906, -0.5939705967903137, 0.5383487939834595, 0.030534585937857628, -0.08229897171258926, -0.006491081323474646, 0.7944654822349548, -0.11437428742647171, 1.2697497606277466, 0.05548885464668274, -0.08039616793394089, 0.32813015580177307, 0.22296056151390076, 0.3197495937347412, -0.9190729856491089, -0.5082714557647705, -0.3523249328136444, -0.3669799268245697, -0.4509488344192505, -0.30645692348480225, 0.6739159822463989, -0.735924482345581, -0.36253827810287476, -0.28403884172439575, -0.23951254785060883, -0.3722655177116394, 0.377520889043808, 0.7301869988441467, 0.00503113865852356, -0.3185510039329529, 0.12956906855106354, -0.14764201641082764, -0.3043942451477051, -0.46406155824661255, 0.4075428545475006, 0.5638267397880554, 0.9972710013389587, 0.29565656185150146, 0.33709102869033813, 0.4527084231376648, 0.4804452061653137, -0.9404613971710205, 0.44661715626716614, 0.18064983189105988, -0.2120107263326645, -0.2051054686307907, -0.30655255913734436, -1.0221596956253052, 0.21916310489177704, -0.32860493659973145, -0.6438714265823364, 0.1357535570859909, 0.12173706293106079, -0.4470715820789337, -0.019671618938446045, -0.7582531571388245, 0.7328877449035645, -0.45682182908058167, -0.42570799589157104, -0.4427540600299835, -0.7515730857849121, -0.028723986819386482, 0.09823080152273178, 0.3199390769004822, -0.22088801860809326, 0.0031314257066696882, 0.07774911820888519, -0.2801763117313385, 0.9637971520423889, -0.1563882827758789, -0.1430691033601761, 0.03311397507786751, 0.12970857322216034, 0.14116065204143524, 0.0677308589220047, -0.2039647102355957, 0.12141778320074081, -0.21283888816833496, -0.5569831132888794, -0.9379282593727112, 0.6411161422729492, -0.8104211688041687, -0.42316439747810364, -0.24651356041431427, -0.714199960231781, -0.5155459642410278, 0.021899988874793053, -0.47390276193618774, 0.4570998251438141, -0.37003493309020996, 0.09249819070100784, 0.3691989481449127, -0.651549220085144, 0.15700018405914307, 0.5692010521888733, 0.07102217525243759, -0.5602110624313354, 0.8659773468971252, -0.41098353266716003, 0.3347991406917572, 0.3639701306819916, 0.4680730104446411, -0.21837745606899261, 0.356472373008728, -0.18492142856121063, 0.37370720505714417, -0.5598982572555542, -0.15962886810302734, -0.8827439546585083, -0.14208155870437622, -0.5052899122238159, -0.5133896470069885, -0.33848780393600464, 0.10340046137571335, -0.19222912192344666, -0.194294735789299, 0.30436190962791443, 0.617347240447998, -0.09634022414684296, 0.13546423614025116, -0.9394482970237732, 0.41065627336502075, 0.4699248671531677, 0.30855345726013184, 0.1684548258781433, 0.04752398282289505, -0.12790758907794952, 0.2533392906188965, -0.4062236547470093, -1.194117784500122, 0.503230094909668, 0.19629521667957306, 0.4078631103038788, 0.7092387676239014, 0.26119494438171387, 0.5545171499252319, -0.323329895734787, 0.6888571381568909, 0.49835655093193054, -0.9949951171875, 0.5616645216941833, -0.3160558044910431, 0.3367718458175659, 0.2910260856151581, 0.16725696623325348, -0.8145370483398438, -0.42380911111831665, -0.45065632462501526, -0.6196478009223938, 0.5023345351219177, 0.15087255835533142, 0.303896963596344, -0.25450754165649414, -0.20897671580314636, 0.007567714434117079, 0.325935423374176, -0.4977685809135437, -0.06330419331789017, -0.4583294987678528, -0.620229184627533, -0.0816943496465683, -0.37646353244781494, -0.4171142578125, 0.3255733549594879, 0.2984367907047272, -0.4664500951766968, 0.5084900856018066, 0.2943805754184723, 0.15573306381702423, -0.28824347257614136, 0.5375296473503113, 0.5324748158454895, 0.040074512362480164, 0.13891112804412842, 0.36889100074768066, -0.10741429775953293, -0.1371152251958847, 0.05071179196238518, 0.004291032440960407, 0.48518338799476624, -0.2088782638311386, 0.4074931740760803, 0.8301665782928467, 0.21997177600860596, -0.9794092774391174, 0.5616211891174316, -0.038790009915828705, 0.4462287724018097, 0.05558602884411812, -0.23816117644309998, 0.08745525777339935, 0.6027519702911377, -0.22055800259113312, -0.20625446736812592, 0.3817540109157562, -0.7741611003875732, 0.22004473209381104, 0.4952763617038727, -0.8165834546089172, -0.5124729871749878, 0.4710742235183716, 0.4651497006416321, -0.6692129373550415, 0.7014923691749573, 0.2634468078613281, -0.39803779125213623, 0.41495993733406067, 0.4570769667625427, 1.0972195863723755, -0.6457631587982178, 0.43800151348114014, -0.15635551512241364, 0.1055673360824585, 0.40740349888801575, 0.5662088394165039, -0.02531614527106285, -0.7385553121566772, 0.2926103472709656, -0.1501728892326355, -0.6339690685272217, -0.44174617528915405, -0.749511182308197, -0.050271909683942795, -0.2921466827392578, -0.433028906583786, -0.014789778739213943, -0.41216394305229187, -0.9000073671340942, 0.3769751489162445, 0.24910889565944672, 0.5815419554710388, -0.8701614737510681, 0.4912610948085785, 0.7349241971969604, -0.5665493607521057, -0.601672887802124, -0.00445453729480505, 0.42850807309150696, -1.0651230812072754, 0.32854163646698, 0.22673676908016205, -0.35837164521217346, -0.31537383794784546, -0.048409491777420044, -0.08520941436290741, 1.1682617664337158, 0.4869888722896576, -0.23614512383937836, 0.06235767528414726, 0.17451144754886627, 0.839566171169281, -0.4352763295173645, 0.9666642546653748, 0.26006871461868286, 0.6974049210548401, -0.01054490078240633, -1.0799270868301392, 0.15740080177783966, -0.6104945540428162, -0.16157233715057373, -0.20205606520175934, -1.1051225662231445, 0.5746428966522217, -0.3041561245918274, -0.11310701072216034, -0.15476243197917938, 0.29184284806251526, 0.31228721141815186, 0.7889779806137085, 0.606529712677002, 0.46120524406433105, 0.9703454971313477, 0.10849728435277939, 1.1412901878356934, -0.2679068148136139, -0.08547897636890411, 0.8316981196403503, -0.6917027831077576, 0.5191149115562439, 0.48227745294570923, -0.02237674780189991, 0.49536022543907166, 0.3782186806201935, 0.491031676530838, 0.3234996795654297, -0.07789364457130432, -0.7881103157997131, -0.12318588048219681, -1.0254703760147095, -0.2962931990623474, 0.5089699029922485, 0.3632441461086273, -0.24607783555984497, 0.09182121604681015, 0.3251478374004364, 0.17088869214057922, 0.1107785552740097, -0.2746540606021881, 0.7484813928604126, 0.49588170647621155, -0.34348317980766296, 0.03531833365559578, -0.3490046262741089, 0.20421338081359863, -0.7894391417503357, -0.12077438831329346, -0.1475396603345871, -0.017831124365329742, -0.3160710334777832, -0.6728206276893616, 0.12528733909130096, -0.17412444949150085, 0.02502121962606907, -0.41637369990348816, 0.6303851008415222, -0.3933286964893341, -0.16159100830554962, 0.7886872291564941, 0.6125835180282593, 0.05843277648091316, -0.0823683962225914, -0.6386433839797974, 0.37623926997184753, -0.40783071517944336, -0.43118175864219666, 0.1859133094549179, 0.7670919895172119, 0.2566973567008972, 0.9367581605911255, 0.40318456292152405, 0.036530762910842896, -0.38631224632263184, 0.4091653823852539, 0.9114030599594116, -0.6835193037986755, -0.5173540115356445, -0.7642759680747986, 0.8609316349029541, 0.09152795374393463, -0.20962214469909668, 0.4550497531890869, 0.09343186020851135, 0.11949846893548965, 0.13325421512126923, 0.8302775025367737, -0.01261457335203886, 0.07448489218950272, -0.25526317954063416, 0.6546658873558044, -0.9493658542633057, -0.2001492977142334, -0.5455540418624878, -0.37444669008255005, -0.24124230444431305, 0.5950832962989807, 0.016461225226521492, 0.11540061980485916, 0.520630419254303, 0.8278533816337585, 0.24602003395557404, 0.2524811923503876, 0.6703500747680664, 0.3033074140548706, 0.5877092480659485, 0.8428061008453369, 0.9077487587928772, 0.1680344194173813, -0.07424452900886536, 0.02386227436363697, -0.5323562026023865, -0.21005702018737793, -0.6876978874206543, -0.6548203825950623, -0.545326292514801, -0.00811847485601902, -0.5585489869117737, 0.08920609951019287, 1.4045063257217407, 0.584889829158783, -0.4486827254295349, 0.023319879546761513, 0.3852561414241791, -0.0256140548735857, -0.25373122096061707, -0.23392890393733978, 0.0326792411506176, -0.10933127999305725, -0.6803235411643982, 0.4182632863521576, 0.8215696215629578, -0.16216720640659332, -0.392559289932251, -0.4604990482330322, 0.23078857362270355, 0.46431609988212585, 0.807847261428833, 0.23118248581886292, -0.8165189027786255, -0.40237826108932495, 0.06345050781965256, -0.4198843836784363, 0.14307533204555511, 0.7906443476676941, -0.3985966742038727, 0.9824822545051575, 0.09140920639038086, 0.877728283405304, -0.14762745797634125, -0.12399692833423615, 0.5899994969367981, -0.2279941588640213, 0.17360348999500275, 0.48798102140426636, 0.45180949568748474, 0.2965109348297119, -0.4798995554447174, 0.38947775959968567, 0.04717317596077919, -0.4154508411884308, -0.7502309083938599, 0.4739658832550049, -1.3595542907714844, 0.12313216924667358, 1.2877432107925415, -0.4097081422805786, 0.03114921599626541, -0.07766126096248627, -0.6633332967758179, 0.3606277406215668, -0.727697491645813, 0.8387599587440491, 0.4299320876598358, -0.4746675491333008, -0.363785058259964, -0.22297529876232147, 0.021350640803575516, 0.3288794457912445, -1.2010383605957031, 0.15715116262435913, 0.6930390000343323, -0.4083532392978668, 0.09879454970359802, 1.079288363456726, 0.03120865672826767, 0.2170857936143875, 0.027815481647849083, 0.38535600900650024, -0.031623516231775284, -0.20579247176647186, -0.28161394596099854, 0.15747809410095215, -0.06456013768911362, -0.034968167543411255 ]
http://arxiv.org/abs/2405.04758v2
http://arxiv.org/pdf/2405.04758v2
Honeyfile Camouflage: Hiding Fake Files in Plain Sight
2024-05-08T02:01:17
2024-05-10T05:12:47
Roelien C. Timmer, David Liebowitz, Surya Nepal, Salil S. Kanhere
cs.CR
cs.CR, cs.AI, cs.CL
Honeyfiles are a particularly useful type of honeypot: fake files deployed to detect and infer information from malicious behaviour. This paper considers the challenge of naming honeyfiles so they are camouflaged when placed amongst real files in a file system. Based on cosine distances in semantic vector spaces, we develop two metrics for filename camouflage: one based on simple averaging and one on clustering with mixture fitting. We evaluate and compare the metrics, showing that both perform well on a publicly available GitHub software repository dataset.
[ -0.25066077709198, -0.5942836999893188, 0.3924632966518402, 0.0807402953505516, -0.2776108980178833, 0.48957350850105286, -0.02051672898232937, -0.6834791898727417, 0.6355093717575073, 0.3509643077850342, -0.6728085279464722, -0.6649393439292908, -0.8493176102638245, -0.07048142701387405, -1.0699992179870605, 0.5807797908782959, 0.22987134754657745, -0.35218361020088196, -0.4461112320423126, -0.3118995428085327, -0.6153624057769775, -0.5372387170791626, -0.19477549195289612, 0.2437354475259781, 0.7903026342391968, -0.02963264100253582, 0.6965864300727844, 0.8897623419761658, 0.8784599304199219, 0.4093983769416809, 0.2570360600948334, -0.14407582581043243, -0.2783663272857666, 0.09964586049318314, 0.10640130192041397, -0.6193569302558899, 0.382163941860199, 0.19097621738910675, 0.233950674533844, 0.24024051427841187, -0.04705866053700447, 0.3085191547870636, -0.40537747740745544, 0.4790302813053131, -0.945644199848175, -0.07374995946884155, -0.3055609166622162, 0.12028304487466812, -0.6359602212905884, 0.03416779637336731, -0.04162744805216789, -0.4360477328300476, 0.3486776053905487, -0.9599149823188782, 0.5978593230247498, 0.38503479957580566, 0.8884283900260925, 0.23470304906368256, 0.318108469247818, -0.34275633096694946, -0.8619824051856995, 0.8169731497764587, -0.5659192800521851, -0.26828303933143616, 0.3995487689971924, 0.9487795233726501, -0.7346013188362122, -0.3196381628513336, -0.43893659114837646, 0.13687579333782196, -0.5035882592201233, -0.21035204827785492, -0.5616791248321533, -0.23493054509162903, 0.09533967077732086, 0.31404006481170654, -0.7787208557128906, -0.25401169061660767, -0.16419346630573273, -0.6714629530906677, 0.3535986840724945, -0.1593213528394699, 0.3890840411186218, 0.09671380370855331, -0.5665549635887146, -0.45037218928337097, -0.2616273760795593, 0.1707088202238083, 0.8323134779930115, 0.01963116228580475, -0.324025958776474, 0.37005677819252014, -0.21397176384925842, 0.511043906211853, -0.01768414117395878, -0.5021676421165466, 0.04798439145088196, -0.012869314290583134, -0.548294186592102, -0.3101339638233185, 0.2192949652671814, 0.07579576224088669, -0.325743705034256, -0.45792749524116516, -0.40905165672302246, 0.5321998596191406, 0.40179726481437683, -0.49895572662353516, -0.6752573251724243, 0.28133901953697205, -0.44543126225471497, -0.7097144722938538, 0.5865626335144043, -0.6136496067047119, -0.5984082818031311, -0.22594432532787323, 0.9781790971755981, -0.6019474267959595, -0.3334200084209442, -0.19864709675312042, -0.9252675175666809, 0.46391403675079346, 0.6866582632064819, -0.16027653217315674, 0.3500683605670929, 1.008086085319519, 0.633059561252594, -0.17198984324932098, -0.11150035262107849, -0.10942785441875458, 0.2585434317588806, -0.43311193585395813, 0.9785733819007874, -0.4043142795562744, -0.23578642308712006, -0.2727501392364502, 0.29301875829696655, 0.043507929891347885, -0.7294579148292542, -0.031518299132585526, -0.3493803143501282, 0.24019914865493774, -0.22696365416049957, -0.5975375771522522, -0.6825341582298279, 0.35274791717529297, -0.6190160512924194, 0.8038359880447388, 0.5259164571762085, -0.5794684886932373, 0.6696193218231201, -0.3093247711658478, -0.25913795828819275, 0.45482930541038513, -0.1636294722557068, -0.5581773519515991, -0.07060175389051437, -0.44105401635169983, 0.5031207799911499, 0.3349824547767639, -0.0005680514732375741, -0.31276652216911316, -0.37919482588768005, 0.5852183699607849, 0.0036556702107191086, 0.38332295417785645, 0.11591150611639023, -0.28776341676712036, -0.007035614922642708, -0.7751867771148682, -0.2179180532693863, 0.0047223432920873165, -0.10902447253465652, -0.7328184247016907, -0.1641448438167572, -0.15699495375156403, -0.46053430438041687, 0.02396242506802082, -0.8052638173103333, -0.1674233376979828, -0.2200075089931488, 0.012026564218103886, 0.5269224643707275, -0.1313856989145279, 0.7122178673744202, -0.6529857516288757, 0.4630976617336273, 0.4065264165401459, 0.5028992891311646, -0.18315640091896057, -0.5738646388053894, -0.5920711159706116, -0.7977793216705322, 0.2995665371417999, 0.38335153460502625, -0.6363833546638489, 0.26667535305023193, 0.059631071984767914, -0.7117879986763, -0.21224844455718994, -0.05113266780972481, 0.6265313625335693, 0.3190931975841522, 0.27461326122283936, -0.324902206659317, -0.3300042748451233, -1.0056207180023193, -0.35960525274276733, 0.14429479837417603, -0.1938086897134781, 0.3152187466621399, 0.6823629140853882, -0.22497251629829407, 0.9947769641876221, -0.19543668627738953, -0.37501469254493713, 0.2951943278312683, 0.27616727352142334, 0.10722646117210388, 0.4824010729789734, 1.1617552042007446, -0.99503093957901, -0.5026016235351562, -0.34851181507110596, -0.35282108187675476, 0.07493265718221664, 0.10606791079044342, -0.3641771674156189, 0.1730090081691742, 0.32132986187934875, -0.5775274038314819, 0.7129574418067932, 0.6765162348747253, -0.607384443283081, 0.5386769771575928, 0.07604790478944778, 0.2622659206390381, -0.5147985219955444, 0.05708029866218567, -0.0634450614452362, -0.6055358052253723, -0.7214308977127075, 0.5424001812934875, -0.12786252796649933, -0.02735314704477787, -0.6242150068283081, 0.3352709412574768, -0.4031303822994232, -0.1465044766664505, 0.07301449030637741, -0.24071477353572845, -0.19208677113056183, 0.25504177808761597, -0.2713753581047058, 0.4540133774280548, 0.7844327688217163, -0.2515556216239929, 0.8400973677635193, -0.16749194264411926, -0.38912975788116455, 0.6014374494552612, -0.14333376288414001, 0.11098609119653702, 0.009388407692313194, 0.34837606549263, -1.0780246257781982, -0.708005964756012, 0.5260459184646606, -0.6007702350616455, 0.33831194043159485, -0.7313655614852905, -0.24447165429592133, -0.5070420503616333, -0.5804505944252014, 0.25801634788513184, 0.59259033203125, -0.4308185875415802, 0.6109002828598022, 0.268379807472229, 0.33586227893829346, -0.4073407053947449, -0.5905510783195496, -0.005623253993690014, -0.5621092915534973, -0.6630904078483582, 0.16173025965690613, -0.033320456743240356, -0.4210871458053589, 0.179227814078331, -0.3375388979911804, -0.34726482629776, 0.04293054714798927, 0.7885698676109314, 0.19843067228794098, -0.4962291121482849, -0.17686833441257477, -0.43333202600479126, -0.13886526226997375, -0.01108698733150959, -0.2992270886898041, 0.08962459117174149, -0.0750361755490303, -0.33722320199012756, -0.14463239908218384, 0.6318690776824951, 0.446410596370697, 0.4304065406322479, 0.8782057166099548, 0.6206075549125671, -0.4212745130062103, -0.3922691345214844, -0.6262218952178955, 0.04828410968184471, -0.5293675065040588, -0.31332919001579285, -0.08810221403837204, -0.5427433252334595, 0.7559746503829956, -0.018047967925667763, 0.051799897104501724, 0.315411776304245, 0.008798842318356037, -0.5968443155288696, 0.08570380508899689, 0.9276517033576965, -0.010615706443786621, 0.3521463871002197, -0.3464777171611786, 0.10112345963716507, -0.08692137897014618, -0.5842453837394714, -0.6049824953079224, -0.6362902522087097, -0.34213367104530334, -0.7206515669822693, 0.23678381741046906, -0.002219186630100012, 0.14706972241401672, 0.803068995475769, -0.7146291136741638, 0.9844226837158203, 0.7603897452354431, 0.3002823293209076, -0.2415681630373001, 0.17275740206241608, -0.036139532923698425, 0.16277119517326355, -0.445324569940567, -0.3607725501060486, 0.6310921907424927, 0.2449672967195511, 0.5142655372619629, 0.3815033733844757, 0.8810843825340271, 0.6944717764854431, 0.16086876392364502, -0.825652003288269, 0.4751564860343933, -0.1789640635251999, -0.5663820505142212, -0.6485790014266968, -0.08487012982368469, -1.085648775100708, 0.02710384875535965, -0.2050810158252716, -0.4085352122783661, 0.040909767150878906, 0.13212409615516663, -0.4109523296356201, 0.302530974149704, -0.953791081905365, 0.705337405204773, 0.2534339427947998, 0.1696581244468689, -0.16472457349300385, -0.756548285484314, 0.3898002505302429, -0.12736502289772034, 0.43346861004829407, -0.48465096950531006, 0.05416140705347061, 1.0176752805709839, -0.8534397482872009, 0.7756724953651428, -0.40162593126296997, 0.433274507522583, 0.4135581851005554, 0.6522387862205505, 0.33496832847595215, -0.41320011019706726, 0.3736048638820648, 0.3047959506511688, 0.7253183722496033, -0.783768892288208, -0.4081432521343231, 0.6003313660621643, -0.4798795282840729, -0.4842629134654999, -0.3563140034675598, -0.19393911957740784, 0.17060723900794983, 0.28308025002479553, 0.1852492392063141, 0.4777245819568634, 0.0537840873003006, 0.49804219603538513, 0.8497297763824463, -0.5453530550003052, 0.5655445456504822, 0.6884140372276306, 0.06880885362625122, -0.009765559807419777, 0.9414986371994019, 0.04371616989374161, 0.0025276050437241793, 0.565575122833252, 0.5831639766693115, -0.002402213402092457, -0.45789504051208496, -0.6429749727249146, 0.010938487015664577, -0.7052420973777771, -0.5420709848403931, -0.3472747206687927, -0.2982988953590393, -0.3052387237548828, -0.5143793225288391, -0.08263099938631058, -0.453726589679718, -0.1902841031551361, 0.37225162982940674, 0.8847274780273438, 0.8620603084564209, 0.08989979326725006, 0.38091591000556946, -0.6608010530471802, 0.5574185252189636, 0.12057818472385406, 0.5827235579490662, -0.19338230788707733, -0.3929654359817505, -0.23053833842277527, -0.06705977022647858, 0.009005429223179817, -0.7990893125534058, 0.4586140513420105, -0.005584537982940674, 0.615285336971283, 0.22911357879638672, 0.15767672657966614, 0.7455927729606628, 0.107847198843956, 0.8704490661621094, 0.20889794826507568, -0.3308527171611786, 0.43287062644958496, -0.8075389862060547, 0.12059786915779114, 0.38561826944351196, 0.14601606130599976, -0.20406678318977356, -0.6510356664657593, -0.7029138207435608, -0.6127575635910034, 0.6071517467498779, 0.5156933665275574, -0.04292404279112816, 0.583254337310791, 0.17197811603546143, 0.4242021143436432, 0.3463227450847626, -0.4611642062664032, -0.2197977602481842, -0.14742211997509003, -0.18941016495227814, 0.05776677653193474, 0.10308341681957245, -0.6467005610466003, -0.19737520813941956, 0.3297513425350189, 0.3364139795303345, 0.541049599647522, 0.047057271003723145, -0.03354893997311592, -0.2008504718542099, 0.02777601033449173, 0.5556068420410156, 0.09875625371932983, -0.24462977051734924, 0.3312842547893524, -0.31949520111083984, -0.8441901803016663, 0.14186345040798187, -0.3534103035926819, 0.10337868332862854, 0.2819700241088867, 0.3619048595428467, -0.09126743674278259, 0.2661132216453552, -0.2953195869922638, 0.9074514508247375, 0.020009638741612434, -0.3445659279823303, -0.5431634187698364, 0.5532532930374146, -0.01848585344851017, 0.22115033864974976, 0.2504553198814392, 0.6931391954421997, 0.12156662344932556, -0.6919808387756348, 0.053305454552173615, 0.5177134871482849, -0.02428661473095417, -0.3203701376914978, 0.15085439383983612, 0.10389038920402527, -0.5922529697418213, 0.054231930524110794, -0.24394415318965912, -0.5157598853111267, 1.2421249151229858, 0.20568624138832092, 0.8755463361740112, -0.11705067753791809, 0.20134012401103973, 0.09505892544984818, 0.3998725116252899, -0.12438357621431351, -0.022322997450828552, -0.3184592127799988, -0.335449755191803, 0.3823394179344177, -1.0270236730575562, -0.5285294651985168, 0.22188928723335266, -0.22957120835781097, 0.18022295832633972, -0.6171833276748657, 0.1120951697230339, 0.2954082190990448, -0.19660399854183197, -0.5992617607116699, 0.00713333860039711, 0.30900952219963074, 1.1075608730316162, -1.0197519063949585, 0.6616914868354797, 0.44668424129486084, 0.17458675801753998, -0.8531792163848877, -0.2087828814983368, 0.4574858546257019, -0.3481242060661316, -0.13809515535831451, 0.1851079910993576, -0.262685090303421, -0.2773881256580353, -0.6512496471405029, -1.2961527109146118, 1.1516468524932861, 0.07364173233509064, -0.2901536524295807, 0.41019779443740845, 0.2830556333065033, 0.684156060218811, -0.10190914571285248, -0.14202913641929626, 0.43716180324554443, 0.8847047686576843, 0.25736087560653687, -0.3878268897533417, -0.30663448572158813, -0.26816126704216003, -0.18965962529182434, 0.2634109854698181, -0.48671239614486694, 0.5255672931671143, 0.2674023509025574, -0.4762621819972992, 0.4639488756656647, 0.07443419843912125, -0.0023026850540190935, 0.7896749377250671, 0.3624632954597473, 0.5712931752204895, 0.4914560317993164, -0.4986925721168518, 0.9489632844924927, 0.20680268108844757, -0.02469547651708126, 0.6257047057151794, 0.35108453035354614, 0.54851233959198, 0.4769684672355652, -0.4246159791946411, 0.6656449437141418, 0.7638648748397827, -0.5754252672195435, 0.5840107202529907, 0.3091917335987091, -0.111012764275074, 0.07672079652547836, 0.4116133153438568, 0.015587718226015568, 0.12312878668308258, 0.5163109302520752, 0.018937738612294197, -0.10307136923074722, -0.000511189631652087, -0.22476093471050262, -0.009598962962627411, -0.0047941007651388645, 0.7523117661476135, -0.19691818952560425, -0.30605098605155945, 0.20734666287899017, 0.20957531034946442, 0.800792396068573, -0.646518886089325, -0.0278690904378891, -0.09451057016849518, -0.06329509615898132, -0.5108138918876648, -0.7932376265525818, 0.6123775839805603, -0.1111900731921196, -0.3948100507259369, 0.018103722482919693, 0.9967930912971497, -0.0889599397778511, -0.3392146825790405, 0.3479461669921875, -0.08173102140426636, 0.36612334847450256, -0.17641900479793549, -0.6990759372711182, -0.23750877380371094, -0.5601432919502258, -0.22806479036808014, 0.5345197916030884, 0.35162702202796936, -0.17564775049686432, 0.7323026061058044, 0.9648986458778381, -0.06816761940717697, 0.5295583605766296, -0.384564071893692, 0.6219217777252197, -0.4582458436489105, -0.8242213726043701, -0.5542789697647095, 0.05184860900044441, -0.007622579578310251, 0.31650108098983765, 1.2068029642105103, 0.5999571681022644, 0.6727217435836792, -0.5280011296272278, 0.3701446056365967, -0.4529905915260315, 0.8756890892982483, -0.14760752022266388, 0.7746855616569519, -0.27652084827423096, 0.20826342701911926, -0.3145514726638794, -0.6336126923561096, -0.3182889223098755, 0.18141044676303864, 0.026635393500328064, -0.47335517406463623, 0.26682597398757935, 1.3092706203460693, -0.5201457738876343, -0.3054291307926178, 0.7414411902427673, 0.017991600558161736, -0.1345420926809311, 0.25029465556144714, 1.0206815004348755, -0.4454461336135864, 0.28118541836738586, -0.483062744140625, -0.20832578837871552, -0.4560156762599945, -0.8166928291320801, -0.8412805795669556, -0.3273693025112152, -0.14353422820568085, -0.16854000091552734, -0.030676372349262238, 0.44829535484313965, 1.2137197256088257, -0.9787450432777405, 0.009037102572619915, 0.03275499492883682, 0.3410509526729584, -0.00602687569335103, -0.28101468086242676, -0.07518640905618668, 0.3643738031387329, 0.006617072969675064, 0.3555583655834198, 0.4160033166408539, 0.6710436344146729, -0.4025213122367859, -0.01093166321516037, 0.23945794999599457, 0.5098958015441895, 0.2802087068557739, 0.42711004614830017, -0.9592109322547913, -0.4077492356300354, -0.10984716564416885, -0.23729367554187775, -0.21253637969493866, 0.7808239459991455, -1.0214142799377441, 0.23576249182224274, 0.506645679473877, -0.043334681540727615, 0.064441978931427, 0.1837371587753296, 0.11121062189340591, -1.0621610879898071, 0.5191344022750854, 0.01784808747470379, 0.03638759255409241, 0.30423033237457275, -0.7150641679763794, 0.2764446437358856, 0.7326568365097046, -0.1144896000623703, -0.7131341099739075, -0.10578567534685135, -1.0118552446365356, -0.5913491249084473, 1.0360536575317383, -0.44045159220695496, -0.5086789727210999, -0.38962075114250183, 0.026952585205435753, 0.010435277596116066, -0.33353546261787415, 0.7684701085090637, 0.5732792615890503, 0.1373686045408249, 0.2051805853843689, -0.44310232996940613, 0.8855425119400024, -0.1534264236688614, -0.5138625502586365, -0.16521376371383667, 0.2877395749092102, 0.7881367802619934, 0.5011032223701477, 0.19352546334266663, -0.26963895559310913, 0.4796414077281952, 0.3835868835449219, -0.5395001769065857, 0.023033225908875465, -0.6506994366645813, -0.21813111007213593, 0.09647268801927567, -0.6455438733100891, -0.4422770142555237 ]
http://arxiv.org/abs/2405.04756v1
http://arxiv.org/pdf/2405.04756v1
BiasKG: Adversarial Knowledge Graphs to Induce Bias in Large Language Models
2024-05-08T01:51:29
2024-05-08T01:51:29
Chu Fei Luo, Ahmad Ghawanmeh, Xiaodan Zhu, Faiza Khan Khattak
cs.CL
cs.CL, cs.LG
Modern large language models (LLMs) have a significant amount of world knowledge, which enables strong performance in commonsense reasoning and knowledge-intensive tasks when harnessed properly. The language model can also learn social biases, which has a significant potential for societal harm. There have been many mitigation strategies proposed for LLM safety, but it is unclear how effective they are for eliminating social biases. In this work, we propose a new methodology for attacking language models with knowledge graph augmented generation. We refactor natural language stereotypes into a knowledge graph, and use adversarial attacking strategies to induce biased responses from several open- and closed-source language models. We find our method increases bias in all models, even those trained with safety guardrails. This demonstrates the need for further research in AI safety, and further work in this new adversarial space.
[ -0.5451194643974304, -1.2107770442962646, 0.20316438376903534, -0.22670133411884308, 0.08129820227622986, -0.012956849299371243, -0.0376511812210083, -0.39471083879470825, 0.10209957510232925, 0.9469798803329468, -0.32736334204673767, -0.4997432827949524, -0.7926183342933655, -0.20634865760803223, -0.27212512493133545, 1.059053659439087, 0.04680820554494858, 0.24299506843090057, -0.14655916392803192, 0.046842966228723526, -0.19960767030715942, -0.7186912894248962, -0.647376537322998, -0.43704959750175476, 0.4706345796585083, -0.0544210709631443, 0.908172070980072, 0.5777616500854492, 0.20482170581817627, 0.27300024032592773, -0.2795351445674896, 0.18993934988975525, -0.5666694641113281, 0.26215463876724243, -0.04911915957927704, -0.396471232175827, -0.5588915348052979, 0.08878999948501587, 0.4478452205657959, 0.7170621752738953, 0.2923743426799774, -0.13982948660850525, 0.21571852266788483, 0.7395590543746948, -0.6224982142448425, 0.3040589690208435, -0.8689917325973511, 0.05200657621026039, -0.2169645130634308, 0.018849529325962067, -0.6461817622184753, -0.6900202631950378, 0.04988948628306389, -0.621789276599884, 0.17587019503116608, 0.1489063799381256, 0.5840970873832703, 0.3847573697566986, -0.539324164390564, -0.269376277923584, -0.4425387382507324, 0.569495677947998, -0.6748367547988892, 0.11099714040756226, 0.2190200686454773, 0.2442375272512436, -0.4969917833805084, -0.3830028176307678, -0.41884860396385193, -0.28264933824539185, -0.0766395777463913, -0.13922734558582306, -0.10516062378883362, 0.28790563344955444, 0.3899795114994049, -0.20470422506332397, -0.4351540505886078, 0.05460774526000023, -0.2911469638347626, -0.3887471556663513, 0.6811425685882568, -0.0241068284958601, 0.6672205328941345, -0.15892402827739716, -0.2517157793045044, -0.19971996545791626, -0.9216562509536743, -0.3420611619949341, 1.0111210346221924, 0.3852250576019287, 0.09251447021961212, 0.5727071762084961, -0.17728611826896667, 0.660790205001831, 0.07360740751028061, -0.0480467788875103, 0.09584669023752213, -0.06846451014280319, -0.02864428050816059, 0.33862948417663574, 0.8624260425567627, 0.5127815008163452, 0.5895054936408997, -0.344893217086792, 0.0783303901553154, 0.30385836958885193, 0.41284051537513733, -0.531711220741272, -0.27592194080352783, -0.06673599034547806, -0.059187520295381546, -0.9795961380004883, -0.4280640780925751, -1.0517994165420532, -0.9035863876342773, 0.14742280542850494, 0.16833342611789703, -0.6037665605545044, -0.23147375881671906, -0.032668646425008774, -0.33544400334358215, 0.15349014103412628, 0.15119409561157227, -0.7196606397628784, 0.13056224584579468, 0.5149654746055603, 0.49198096990585327, 0.24572721123695374, -0.237558513879776, -0.4417892396450043, 0.35699087381362915, -0.3626410663127899, 0.5716285109519958, -0.40368422865867615, -0.39850717782974243, 0.2664608359336853, -0.2605941891670227, 0.18798765540122986, -0.39281386137008667, 0.5291135311126709, -0.8807975649833679, 0.2082200050354004, -0.4691084921360016, -0.431451678276062, -0.1347506046295166, 0.47549811005592346, -0.7266088128089905, 0.8184662461280823, -0.17980414628982544, -1.332855224609375, 0.2435624599456787, -0.6879898905754089, -0.7479888796806335, -0.2586774230003357, -0.0923454537987709, -0.40703529119491577, -0.3802339434623718, 0.6664633750915527, 0.31240344047546387, -0.10988013446331024, 0.32985803484916687, -0.8280027508735657, 0.11679532378911972, 0.05346507206559181, -0.49479636549949646, 1.146062970161438, 0.12978701293468475, -0.330969899892807, 0.1014045998454094, -0.397958368062973, -0.10889586061239243, 0.42377644777297974, -0.19395506381988525, -0.6385415196418762, 0.017559714615345, -0.36604177951812744, 0.12847669422626495, 0.3058812618255615, -0.5285333395004272, 0.08069740980863571, -0.5976644158363342, 0.21522580087184906, 1.2040191888809204, 0.1277124136686325, 0.603014349937439, -0.11494652926921844, 0.38030117750167847, -0.030223418027162552, 0.28116029500961304, 0.2457481026649475, -0.3682825267314911, -0.6656471490859985, -0.017508674412965775, -0.05318526551127434, 0.3079143762588501, -1.174617886543274, 0.4072953164577484, -0.03829587250947952, -0.3275725841522217, -0.40767738223075867, 0.23525020480155945, 0.5725024342536926, 0.7188537120819092, 0.12607495486736298, -0.009656507521867752, -0.5849275588989258, -0.7769354581832886, -0.6175071597099304, -0.29507601261138916, 0.07442343980073929, 0.40889108180999756, 0.2530636489391327, -0.25169244408607483, 0.8088374137878418, -0.6820653676986694, 0.03876953944563866, -0.2543545961380005, -0.08572681993246078, -0.23799936473369598, 0.24607571959495544, 0.7894464731216431, -0.5035853385925293, -0.4055173993110657, -0.3135784864425659, -0.932054340839386, -0.22063425183296204, 0.3489324748516083, -0.42041441798210144, 0.14602714776992798, 0.6939617991447449, -0.6357889175415039, 0.08264923095703125, 0.3590879738330841, -0.3088919222354889, 0.6546671986579895, 0.21269491314888, -0.14833924174308777, -1.080019235610962, -0.1719369888305664, 0.11447926610708237, -0.12542986869812012, -0.891877293586731, 0.22430935502052307, -0.1937115341424942, -0.20990392565727234, -0.5451919436454773, 0.6667821407318115, -0.2195967137813568, 0.22983750700950623, -0.27623024582862854, 0.43168753385543823, -0.0018978603184223175, 0.3514135479927063, -0.2490232288837433, 0.3642597496509552, 0.6152080297470093, -0.523489236831665, 0.5669057369232178, 0.16843633353710175, -0.19022633135318756, 0.32378727197647095, -0.449487566947937, 0.5288470387458801, -0.4037959575653076, 0.4915718138217926, -0.7161039710044861, -0.3456355333328247, 0.3597203493118286, -0.46347227692604065, 0.4642983078956604, -0.2768959701061249, -0.42065924406051636, -0.43403080105781555, -0.4230707585811615, 0.23938412964344025, 0.3498299717903137, -0.7621909976005554, 0.5489673018455505, 0.7834733128547668, 0.06817116588354111, -0.943742573261261, -0.35198065638542175, 0.020471904426813126, -0.38502421975135803, -0.7899925708770752, -0.17756079137325287, 0.10025209188461304, -0.6057471632957458, -0.06411419063806534, 0.11137185990810394, 0.2716657519340515, 0.2449510395526886, 0.05556260421872139, 0.324925035238266, 0.06721313297748566, -0.17542020976543427, -0.0813547819852829, -0.06396488845348358, 0.4651137590408325, -0.541070282459259, 0.7495248913764954, 0.1818324774503708, -0.34187304973602295, 0.08929935097694397, 0.09681026637554169, 0.6039164662361145, -0.0664023756980896, 0.7934510111808777, 0.5462616086006165, -0.4231173098087311, -0.2819873094558716, -0.47229763865470886, -0.31299060583114624, -0.5423477292060852, 0.8349025845527649, 0.06814433634281158, -0.9731937646865845, 0.22854596376419067, 0.003768639173358679, 0.12608645856380463, 0.21599076688289642, 0.604320764541626, 0.2360817790031433, 1.3719382286071777, 0.3517031967639923, -0.7444426417350769, 0.4455026090145111, -0.004611114505678415, 0.40894022583961487, -0.6503263115882874, -0.04902632534503937, -0.43287765979766846, -0.011469274759292603, -0.5250371098518372, -0.3558942973613739, 0.5187073349952698, -0.027908720076084137, -0.4038732945919037, -0.0036945960018783808, -0.4109816551208496, 0.5005158185958862, 0.6269594430923462, 0.28474941849708557, -0.10293307900428772, 0.08148367702960968, -0.26972997188568115, 0.17974285781383514, -0.7955542206764221, -0.4252583086490631, 1.5154331922531128, 0.42940983176231384, 0.952058732509613, -0.032880187034606934, 0.5193920135498047, 0.376825749874115, 0.46462419629096985, -0.4305579960346222, 0.653950572013855, -0.11294408142566681, -0.785936176776886, -0.3330330550670624, -0.507643461227417, -0.5441170930862427, 0.1153099462389946, -0.10383373498916626, -0.7053169012069702, -0.29929813742637634, 0.5074511766433716, -0.04051873832941055, 0.6628357768058777, -0.7495214939117432, 0.6409636735916138, -0.31472623348236084, -0.2579459547996521, -0.0317053496837616, -0.5365467667579651, 0.7943593859672546, 0.08316420763731003, 0.34462788701057434, 0.06888382881879807, 0.44146856665611267, 0.8310286402702332, -0.2633045017719269, 1.1812403202056885, -0.46698203682899475, -0.10960543155670166, 0.24349676072597504, 0.21370625495910645, 1.0321098566055298, -0.16664394736289978, -0.09342507272958755, 0.0892588198184967, -0.5781337022781372, -0.6216822862625122, -0.5493760704994202, 0.6943820118904114, -0.9728253483772278, -0.7758437395095825, -0.16080959141254425, -0.8148441910743713, -0.41970622539520264, 0.26731520891189575, 0.1365342140197754, 0.15313580632209778, -0.4588649272918701, -0.30304011702537537, 0.8148437142372131, -0.5907942652702332, 0.0401373989880085, 0.24743719398975372, -0.14063739776611328, -0.5493786931037903, 0.7406185269355774, -0.035926930606365204, 0.6850749850273132, -0.02796054445207119, 0.12509021162986755, -0.24997982382774353, -0.444192111492157, -0.19981050491333008, 0.016697833314538002, -0.7757656574249268, -0.1538955420255661, -0.7941164970397949, -0.30712559819221497, -0.957523763179779, -0.3081355392932892, -0.293057382106781, -0.31040453910827637, 0.16725243628025055, -0.40488573908805847, 0.44878295063972473, 0.9343302845954895, -0.031061995774507523, 0.35038429498672485, -0.1845591962337494, 0.21077510714530945, 0.44341668486595154, 0.19677062332630157, 0.08675041794776917, -0.16541239619255066, -0.18729408085346222, 0.1269594430923462, -0.2644508183002472, -0.9674309492111206, 0.38657599687576294, -0.42167097330093384, 0.6215607523918152, 0.5548236966133118, 0.3152342736721039, 0.1442328244447708, -0.6003606915473938, 0.5268462896347046, 0.27079516649246216, -0.5369604229927063, 0.4783455431461334, -0.5519863367080688, 0.05506729334592819, 0.06099759042263031, 0.27629461884498596, -0.3434932827949524, -0.7112373113632202, -0.7582592368125916, -0.8452339172363281, 0.5944046378135681, -0.00025272913626395166, 0.07150492072105408, -0.13250789046287537, 0.3660725951194763, -0.27668702602386475, 0.1582336574792862, -0.7643479704856873, -0.3511461615562439, -0.4171781837940216, -0.2328988015651703, 0.019076494500041008, -0.3198842406272888, -0.5320214629173279, 0.08695466071367264, 0.925250232219696, -0.2719026207923889, 0.04919758811593056, -0.08211823552846909, -0.10443367809057236, -0.035640817135572433, 0.22881318628787994, 0.22526352107524872, 0.08169291168451309, -0.06509086489677429, 0.564099907875061, 0.2691751718521118, -0.45961377024650574, 0.09290264546871185, 0.21914350986480713, -0.5369546413421631, -0.3705838918685913, 0.31052106618881226, 0.6947678327560425, -0.2308620661497116, -0.355733722448349, 0.3209686279296875, 0.10996268689632416, -0.0958552286028862, -0.19534966349601746, 0.16896174848079681, 0.05174523591995239, 0.2640146017074585, 0.00943192932754755, 0.08122199028730392, -0.2705066502094269, -0.32817578315734863, 0.26532167196273804, 0.9483410716056824, -0.5829361081123352, -0.16898396611213684, 0.7308722138404846, 0.3053393065929413, -0.19969648122787476, 0.23250029981136322, -0.29553377628326416, -1.02325439453125, 0.569584310054779, 0.5456491708755493, 0.844449520111084, -0.27477550506591797, 0.1646009385585785, 0.27544569969177246, 0.7981237173080444, 0.16684362292289734, -0.22784167528152466, 0.37763017416000366, -1.1657299995422363, -0.1850602775812149, -0.5169166922569275, -0.18837517499923706, 0.4153803586959839, -0.2712966799736023, 0.09369003772735596, -0.7138030529022217, -0.10703213512897491, -0.08632460236549377, -0.1802307367324829, -0.3697212338447571, 0.04232809692621231, 0.23899981379508972, 0.7199681997299194, -1.0334604978561401, 0.8125113844871521, 0.5361090302467346, -0.280988872051239, -0.6400241255760193, 0.22303298115730286, 0.2982288897037506, -0.9194791316986084, 0.7252861261367798, -0.12932462990283966, -0.1346796303987503, -0.08220132440328598, -0.9069823622703552, -0.7713279128074646, 0.6043561100959778, 0.6015045046806335, -0.1633022278547287, -0.12945222854614258, 0.32947349548339844, 0.3000698685646057, -0.22808688879013062, 0.10694357752799988, 0.5852404236793518, 0.4673624038696289, -0.3977194130420685, -0.38893234729766846, 0.3051362931728363, -0.17414461076259613, -0.1366102695465088, 0.16135497391223907, -0.6607056260108948, 0.48595985770225525, -0.0995749980211258, 0.10628717392683029, -0.434371680021286, 0.5346417427062988, 0.3506031036376953, 0.019981708377599716, 0.6502805352210999, 0.6241281032562256, 0.7597349286079407, 0.06630439311265945, 1.0655012130737305, -0.42191264033317566, 0.08378966152667999, 0.9549160003662109, -0.379011869430542, 0.06741560250520706, 0.3600304424762726, -0.004472694825381041, 0.18025840818881989, 0.2497503161430359, 0.2448604851961136, 0.482390820980072, 0.19406665861606598, -0.3583337664604187, -0.14343507587909698, -0.20453856885433197, -0.32092949748039246, 0.028480425477027893, 0.3308178186416626, -0.4043876826763153, -0.25091618299484253, -0.02565244399011135, 0.7469965815544128, 0.1484818011522293, -0.21518217027187347, 0.6906668543815613, -0.036611005663871765, -0.5634493231773376, 0.45566633343696594, -0.06451047956943512, 0.5627435445785522, -0.5814312100410461, 0.22536002099514008, -0.1180499866604805, 0.38789403438568115, 0.03306329622864723, -0.4403764307498932, 0.09821661561727524, 0.16527175903320312, -0.13334912061691284, -0.06777465343475342, 1.0258734226226807, -0.2873938977718353, -0.47996506094932556, 0.6050617694854736, 0.24586065113544464, -0.2809496223926544, 0.05267288535833359, -0.6314370632171631, -0.20496200025081635, 0.19559116661548615, -0.30239060521125793, 0.6087977290153503, 0.2661409080028534, -0.016795305535197258, 0.7534283399581909, 0.6501573324203491, 0.17663323879241943, 0.33482494950294495, 0.1530897319316864, 1.1647658348083496, -0.2861988842487335, -0.5040856599807739, -0.9494059681892395, 0.159591943025589, -0.42523863911628723, 0.2151152342557907, 1.0345983505249023, 0.4119487404823303, 0.8672559857368469, 0.14290833473205566, 1.3808939456939697, -0.042275018990039825, 0.3558310866355896, -0.541010320186615, 0.9874057769775391, -0.12712247669696808, 0.3028920888900757, -0.6524237394332886, -0.5125130414962769, -0.16635246574878693, 0.21915006637573242, -0.7004523873329163, 0.052610378712415695, 0.419403076171875, 1.054732084274292, 0.1278187483549118, -0.0635160580277443, 0.13917383551597595, 0.7380678057670593, 0.6213585138320923, 0.4817548990249634, 0.7691349983215332, -0.20799832046031952, 0.8384291529655457, -0.31192338466644287, -0.3454837203025818, -0.0045418087393045425, -0.6857318878173828, -1.3137081861495972, -0.05439388379454613, -0.2263791263103485, -1.0229127407073975, 0.5663564205169678, 0.6338364481925964, 0.4717392027378082, -0.690097451210022, 0.06523139774799347, -0.12450767308473587, 0.44119951128959656, 0.2401343435049057, -0.2770555317401886, 0.4535595774650574, -0.42136526107788086, -0.5321806073188782, 0.44523075222969055, -0.06292746961116791, -0.07237925380468369, -0.6367824077606201, -0.25260233879089355, -0.1383305788040161, 0.08049793541431427, 0.342843234539032, 0.1570429801940918, -0.517666220664978, -0.5736698508262634, -0.1783932000398636, -0.07730306684970856, -0.25941112637519836, 0.7400652170181274, -0.5693076848983765, 0.4822289049625397, 0.5012063384056091, 0.6124104261398315, 0.20308133959770203, -0.11347681283950806, 0.9706979990005493, -0.9081379771232605, 0.41413405537605286, 0.09423237293958664, 0.4451259970664978, 0.36557886004447937, -0.5406951308250427, 0.3522593379020691, 0.4235130846500397, -0.41166579723358154, -0.9139717817306519, 0.5920475721359253, -0.2783883810043335, -0.3680564761161804, 1.4211690425872803, -0.03238220512866974, -0.37733224034309387, -0.2631789743900299, -0.19127978384494781, 0.5954198837280273, -0.31006041169166565, 1.0834205150604248, 0.5493991374969482, 0.21132664382457733, 0.3156904876232147, -0.5654719471931458, 0.770115315914154, 0.2621326148509979, -0.7586618661880493, 0.22738763689994812, 0.5284801721572876, 0.36956721544265747, 0.1305212825536728, 0.46447595953941345, -0.19019286334514618, 0.013823607005178928, 0.1678488701581955, 0.2733789384365082, -0.1369854360818863, -0.10869248956441879, -0.06575238704681396, 0.2727363705635071, 0.005061948671936989, 0.02679748274385929 ]
http://arxiv.org/abs/2405.04726v1
http://arxiv.org/pdf/2405.04726v1
Learning Phonotactics from Linguistic Informants
2024-05-08T00:18:56
2024-05-08T00:18:56
Canaan Breiss, Alexis Ross, Amani Maina-Kilaas, Roger Levy, Jacob Andreas
cs.CL
cs.CL
We propose an interactive approach to language learning that utilizes linguistic acceptability judgments from an informant (a competent language user) to learn a grammar. Given a grammar formalism and a framework for synthesizing data, our model iteratively selects or synthesizes a data-point according to one of a range of information-theoretic policies, asks the informant for a binary judgment, and updates its own parameters in preparation for the next query. We demonstrate the effectiveness of our model in the domain of phonotactics, the rules governing what kinds of sound-sequences are acceptable in a language, and carry out two experiments, one with typologically-natural linguistic data and another with a range of procedurally-generated languages. We find that the information-theoretic policies that our model uses to select items to query the informant achieve sample efficiency comparable to, and sometimes greater than, fully supervised approaches.
[ -0.21609090268611908, -0.736537754535675, 0.8090426325798035, 0.09703807532787323, -0.1733710765838623, -0.12543222308158875, -0.6504380106925964, -0.5134933590888977, 0.2199079841375351, 0.334136039018631, -0.34303298592567444, -0.605553150177002, -0.4815528988838196, -0.018600013107061386, -0.24394762516021729, 0.5992432236671448, 0.26041942834854126, 0.1262059509754181, 0.3248326778411865, 0.06129400059580803, -0.20473678410053253, -0.3326573669910431, -0.5502504110336304, -0.14538785815238953, 0.32432854175567627, 0.5768370628356934, 0.9014897346496582, 0.8953028321266174, -0.07922551035881042, 0.3579117953777313, -0.09839055687189102, 0.17013143002986908, -0.21761250495910645, 0.41285282373428345, -0.371615469455719, -0.614361584186554, 0.20196200907230377, 0.11329870671033859, 0.582027792930603, 1.0955408811569214, -0.46890392899513245, 0.008554751984775066, -0.11646918952465057, 0.2913203239440918, -0.4301244020462036, 0.6453021764755249, -0.6607120633125305, 0.1160179153084755, -0.17123696208000183, -0.22029951214790344, -0.8207854628562927, -0.6763631701469421, 0.3798544704914093, -0.8943620920181274, -0.1570242941379547, -0.25429871678352356, 0.4582805931568146, -0.14799785614013672, -0.20027655363082886, -0.7363896369934082, -0.7595838904380798, 0.5705226063728333, -0.4778626263141632, 0.7636022567749023, 1.1120527982711792, 0.35751453042030334, -0.15250572562217712, -0.6872366070747375, -0.47243812680244446, -0.4491095244884491, -0.2156173437833786, 0.006141825579106808, 0.17036780714988708, 0.10440738499164581, 0.25244373083114624, 0.3828713893890381, -0.40650883316993713, -0.13294194638729095, -0.39853858947753906, -0.047564201056957245, 0.4030625522136688, -0.028950508683919907, 0.37423598766326904, -0.3867080509662628, 0.1164775937795639, -0.033070679754018784, -0.41526591777801514, 0.18309302628040314, 0.5502150058746338, 0.9470412135124207, -0.10745254904031754, 0.6834532618522644, -0.2185458391904831, 0.9971417784690857, 0.2780402600765228, -0.3537648618221283, 0.25148728489875793, -0.3287949562072754, 0.1516387015581131, 0.08344238996505737, 0.5428886413574219, -0.019096488133072853, 0.4841662347316742, -0.25021252036094666, -0.10842154920101166, -0.18879394233226776, 0.31430891156196594, -0.4076858162879944, -0.3379606604576111, 0.2271776646375656, -0.39193016290664673, -0.1143994852900505, 0.23264698684215546, -0.6525933146476746, -0.08422058820724487, -0.6705768704414368, 0.320004403591156, -0.8839617371559143, -0.4076492190361023, 0.0779763013124466, -0.05743705853819847, 0.24572435021400452, 0.09202059358358383, -1.4502075910568237, 0.4556591212749481, 0.5072625875473022, 0.6394127011299133, 0.19038636982440948, -0.6569303870201111, -0.7922718524932861, 0.20798227190971375, -0.36287811398506165, 0.609091579914093, -0.8407281637191772, -0.7674165368080139, 0.22901000082492828, -0.2516580820083618, -0.1500241607427597, -0.6840750575065613, 0.1478094458580017, -0.358245313167572, 0.1665094792842865, -0.17771048843860626, -0.4614598751068115, -0.06867664307355881, -0.12025586515665054, -0.7634525299072266, 1.0349596738815308, 0.6990630030632019, -0.2749961316585541, 0.6797464489936829, -0.19781054556369781, -0.5736644864082336, 0.04422282055020332, -0.3286384046077728, -0.12378603219985962, 0.18659158051013947, -0.2683408558368683, 0.12290031462907791, 0.2592930197715759, 0.5596097111701965, -0.12222464382648468, -0.19036436080932617, 0.28783220052719116, -0.16081982851028442, 1.0810225009918213, 0.26117703318595886, -0.2776186168193817, -0.13860014081001282, -0.955990195274353, 0.11614757031202316, -0.17045234143733978, -0.7584937810897827, -0.25763195753097534, 0.025054937228560448, -0.22390113770961761, 0.08855782449245453, -0.17316080629825592, -0.37691083550453186, 0.29047706723213196, -0.6140736937522888, 0.29928848147392273, 0.5625513195991516, 0.10932568460702896, 0.753387987613678, -0.3339196741580963, 0.20913152396678925, -0.4373553991317749, 0.16550439596176147, -0.2826496362686157, -0.20780514180660248, -0.6042026281356812, -0.3573632538318634, 0.406390517950058, 0.48477208614349365, -0.6922435164451599, 0.40241071581840515, 0.3500664532184601, -0.2933400571346283, -0.679226815700531, 0.21739304065704346, 0.39121130108833313, 0.37245890498161316, 0.2615760266780853, -0.31392353773117065, -0.7097451090812683, -0.4881255328655243, -0.26723021268844604, -0.8068750500679016, -0.09495888650417328, 0.36872437596321106, -0.064901202917099, 0.25553780794143677, 0.822539746761322, -0.1672036200761795, -0.05703279748558998, -0.15144717693328857, 0.24903930723667145, 0.2726922333240509, 0.3655615448951721, 0.5638906359672546, -0.728981614112854, -0.4673030972480774, -0.05663251504302025, -0.7343285083770752, -0.10971330851316452, 0.2735553979873657, -0.06620583683252335, 0.20032010972499847, 0.4634379744529724, -0.8358255624771118, 0.3182094991207123, 0.14539660513401031, -0.4842633605003357, 0.4103037714958191, -0.016040749847888947, 0.007668815553188324, -0.9288736581802368, -0.2530260384082794, -0.1597127616405487, -0.3579980432987213, -0.8326720595359802, 0.3799894452095032, -0.3280884325504303, -0.05606546252965927, -0.5709280371665955, 0.27843979001045227, -0.3478516936302185, -0.22017350792884827, -0.036431003361940384, 0.035457778722047806, -0.1822938621044159, 0.5348900556564331, 0.5001014471054077, 0.43674376606941223, 0.5629348158836365, -0.793998658657074, 0.23446962237358093, 0.2558923661708832, -0.5429930090904236, 0.6060124635696411, -0.22188958525657654, 0.03991398587822914, -0.22314749658107758, -0.1497025489807129, -0.824393630027771, -0.33012840151786804, 0.4185466766357422, -0.584027111530304, 0.41169092059135437, -0.2628811299800873, -0.2278229147195816, 0.3255525231361389, 0.0990964025259018, 0.4485648572444916, 0.5071851015090942, -0.6609103083610535, 0.9890227317810059, 0.6554712057113647, -0.3363890051841736, -0.383137047290802, -0.4437845051288605, -0.2574481964111328, -0.09909915179014206, -0.08770179748535156, 0.034567493945360184, -0.19284053146839142, -0.8450395464897156, 0.051243364810943604, 0.1412534862756729, -0.30242595076560974, 0.09023777395486832, 0.07582557201385498, -0.06680124253034592, -0.14623819291591644, 0.25478941202163696, -0.3114932179450989, -0.13798505067825317, 0.05080871656537056, -0.6133893728256226, 0.503409743309021, 0.03405838459730148, -0.330889493227005, -0.26876547932624817, 0.35367998480796814, 0.23176386952400208, -0.20387575030326843, 0.32589027285575867, 0.12323500961065292, -0.3545669615268707, -0.48272743821144104, -0.26115745306015015, -0.23450703918933868, -0.4233706593513489, -0.025657087564468384, -0.5620988607406616, -0.5635671019554138, 0.25117242336273193, 0.21738576889038086, 0.04006687179207802, 0.001801098114810884, 0.6262139678001404, 0.01940816082060337, 0.7387036681175232, 0.5468201637268066, 0.23636499047279358, 0.7119958996772766, -0.13661091029644012, -0.08222624659538269, -0.20062237977981567, -0.44858965277671814, -0.681786060333252, 0.3688633143901825, -0.6494307518005371, -0.330416202545166, 0.2013038694858551, -0.05963394418358803, -0.03729173168540001, 0.368425190448761, -0.04054594784975052, 0.47449642419815063, 0.8824836015701294, 0.423657089471817, 0.48201632499694824, -0.12327873706817627, -0.40173324942588806, 0.003141459310427308, -0.5294915437698364, -0.30334678292274475, 0.8472685813903809, 0.02681201696395874, 0.5870531797409058, 0.5017672181129456, 0.6562348008155823, 0.11385344713926315, 0.03403041884303093, -1.116284966468811, 0.30800148844718933, 0.1329987645149231, -0.3542635440826416, -0.541893482208252, -0.39636367559432983, -0.6823077201843262, 0.3665526807308197, -0.29186248779296875, -0.7975671887397766, 0.4289403259754181, 0.30755725502967834, -0.08214881271123886, -0.04678011313080788, -0.8270003795623779, 0.5986832976341248, -0.14958272874355316, -0.41448184847831726, 0.032950203865766525, -0.6903862953186035, 0.11541902273893356, 0.013610887341201305, 0.3973968029022217, -0.046054307371377945, 0.04137555882334709, 0.3154805302619934, -0.6446830034255981, 0.9429001808166504, -0.4869811236858368, 0.14202246069908142, 0.608955979347229, 0.5179646611213684, 0.18336427211761475, 0.2099187970161438, -0.42476341128349304, -0.1757918894290924, -0.22606708109378815, -0.30693843960762024, -0.8689841032028198, 0.08269330114126205, -0.6362292766571045, -0.4296688437461853, -0.2606334090232849, -0.4762345552444458, -0.40088939666748047, 0.3941457271575928, 0.2383837252855301, 0.687904417514801, -0.32308429479599, -0.05052271857857704, 0.535885214805603, 0.06611212342977524, 0.2960927486419678, 0.993901252746582, -0.3132227659225464, -0.11918803304433823, 0.923858642578125, 0.3054967522621155, 0.39317330718040466, 0.536760687828064, 0.42913010716438293, -0.2763102650642395, -0.658513069152832, -0.28012752532958984, 0.2649736702442169, -0.774174690246582, 0.11181194335222244, -0.324696809053421, -0.018768392503261566, -0.24463880062103271, 0.10334741324186325, -0.24068604409694672, -0.5706168413162231, -0.16388021409511566, -0.5339395999908447, 0.3737507462501526, 0.8630026578903198, -0.30394840240478516, 0.28679928183555603, -0.4709673225879669, 0.3142644166946411, 0.41922885179519653, 0.5074405074119568, -0.2829897105693817, -0.5871601104736328, 0.02763770893216133, 0.05863345041871071, 0.16191816329956055, -0.9258213043212891, 0.19588816165924072, 0.44938594102859497, 0.7940620183944702, 0.25352418422698975, 0.0032990206964313984, 0.44243866205215454, -0.719206690788269, 0.591513991355896, -0.2651558518409729, -1.2171380519866943, 0.618267834186554, -0.5072612166404724, 0.21672073006629944, 0.9725009202957153, 0.6254903078079224, -0.4358089864253998, -0.8445360064506531, -0.6546144485473633, -0.8340267539024353, 0.7215374708175659, -0.058087944984436035, 0.01960182376205921, -0.4034412205219269, 0.4484860897064209, 0.36547455191612244, 0.360453724861145, -0.5956816673278809, 0.052846986800432205, -0.3511492908000946, -0.38753947615623474, 0.044754065573215485, -0.24795110523700714, 0.23686076700687408, -0.0979856550693512, 0.6659529805183411, -0.15616174042224884, -0.08142264187335968, 0.07194501906633377, -0.43454986810684204, -0.09213508665561676, 0.13659846782684326, 0.2549554705619812, 1.191884160041809, -0.3485768437385559, 0.4029054045677185, -0.27422353625297546, -0.4180698096752167, 0.06496629863977432, 0.147367462515831, -0.4192485809326172, 0.19955331087112427, 0.5101693272590637, 0.6735696196556091, 0.6543718576431274, -0.7391798496246338, 0.5069395899772644, -0.13460271060466766, -0.3111550509929657, -0.5080153942108154, 0.04413418471813202, -0.12255047261714935, 0.22080355882644653, 0.14806774258613586, -0.35642173886299133, 0.2866993248462677, -1.010888695716858, 0.6573054790496826, 0.10473009198904037, -0.3977724015712738, -0.4583452343940735, 0.3472386598587036, -0.0020142619032412767, -0.7392907738685608, 0.8226422071456909, -0.20952367782592773, -0.21379120647907257, 0.29883429408073425, 0.6140086054801941, 0.5290588140487671, -0.8671387434005737, 0.4734075367450714, 0.39170145988464355, 0.1708260327577591, -0.0859372690320015, 0.5093973875045776, -0.5045671463012695, -0.7898969650268555, -0.2847941517829895, -0.5199078321456909, -0.7461183071136475, -0.06625758856534958, -0.9594417810440063, 0.3047349154949188, -0.4627397656440735, 0.07367247343063354, 0.22403313219547272, -0.28589126467704773, -0.47393372654914856, -0.06318454444408417, -0.16605448722839355, 0.9162627458572388, -1.0416592359542847, 0.659887433052063, 0.41435471177101135, -0.6994874477386475, -1.2018263339996338, -0.04479038342833519, 0.018585622310638428, -1.045127511024475, 0.43263110518455505, -0.19308772683143616, 0.011653811670839787, -0.0498536042869091, -0.30716368556022644, -0.7445604205131531, 0.5352889895439148, 0.557863175868988, -0.0403670035302639, -0.1633717119693756, -0.04783911630511284, 0.5260939598083496, -0.30405354499816895, 0.4252963066101074, 0.8991501331329346, 0.5074142217636108, 0.12071677297353745, -1.0189908742904663, -0.2742154896259308, -0.3124390244483948, -0.2621457874774933, 0.19936726987361908, -0.37289735674858093, 0.9632745385169983, -0.13598893582820892, -0.21495401859283447, 0.12544092535972595, 0.6173904538154602, 0.18378107249736786, 0.14990808069705963, 0.5871575474739075, 0.33189886808395386, 0.9619631171226501, 0.0037956482265144587, 1.0970038175582886, -0.20736895501613617, 0.08626317977905273, 1.253233790397644, -0.24796520173549652, 0.893667995929718, 0.4624871611595154, -0.19942307472229004, 0.5072610974311829, 0.7297617793083191, 0.2980676293373108, 0.6682460308074951, 0.115626260638237, -0.4515911042690277, -0.10307799279689789, -0.5431350469589233, 0.14608898758888245, 0.9392951130867004, 0.5543208122253418, -0.3812725245952606, -0.31492137908935547, 0.03276937082409859, -0.01608722284436226, 0.5548752546310425, -0.3718947172164917, 1.0893912315368652, 0.05359888821840286, -0.9311766028404236, 0.49316710233688354, -0.052636001259088516, -0.04373784735798836, -0.7037214636802673, -0.4844190776348114, -0.01253771036863327, -0.15742433071136475, -0.28538984060287476, -0.7240853905677795, 0.3285791277885437, -0.24491088092327118, -0.21068774163722992, -0.05648430064320564, 0.4501756429672241, -0.9480909705162048, -0.24412210285663605, 0.2820017337799072, 0.5994279384613037, 0.3381236493587494, 0.49055251479148865, -0.2897985279560089, 0.05571299046278, -0.18350467085838318, -0.14139002561569214, 0.15873514115810394, 0.3940313756465912, 0.016703201457858086, 0.2822086215019226, 0.43427881598472595, 0.480268657207489, 0.06999585032463074, 0.24354754388332367, 0.7334698438644409, -0.5320982336997986, -0.8645962476730347, -0.643037736415863, 0.301876038312912, 0.16989769041538239, -0.08372960239648819, 0.6701580286026001, 0.43002989888191223, 1.3584939241409302, 0.1614474058151245, 0.9436187148094177, 0.02489505708217621, 0.7530671954154968, -1.033660888671875, -0.02501261606812477, 0.1390722692012787, 0.10663088411092758, -0.11369747668504715, -0.9341080784797668, -0.1934010088443756, 1.0806238651275635, -0.26751941442489624, 0.22761055827140808, 0.6748379468917847, 0.614690363407135, -0.1303098052740097, 0.22556938230991364, 0.15299847722053528, 0.23862077295780182, 0.06756521016359329, 0.3758506178855896, 0.965578556060791, 0.13033927977085114, 0.33466070890426636, -0.4880545139312744, -0.33856070041656494, 0.057049114257097244, -0.7318459749221802, -0.7348313331604004, -0.722146213054657, 0.17634250223636627, -0.46237441897392273, 0.2635939121246338, 1.3578513860702515, 0.7170423269271851, -0.5148661732673645, -0.72529137134552, -0.04585370421409607, 0.2750263810157776, -0.1301324963569641, -0.2579447627067566, 0.23773281276226044, -0.46292808651924133, -0.9275186061859131, 0.709848165512085, 0.059563446789979935, -0.055437784641981125, -0.07199682295322418, -0.001749698189087212, -0.25715672969818115, -0.01623404026031494, 0.6020638346672058, 0.7161971926689148, -0.5198019742965698, -0.5349836349487305, -0.130390465259552, 0.055908240377902985, 0.09983966499567032, 1.1428247690200806, -0.6798547506332397, 0.8283284902572632, 0.3345857560634613, 0.57886803150177, 0.4413841962814331, 0.16449588537216187, 0.796908974647522, -0.8546844124794006, 0.4413871169090271, 0.26998424530029297, 0.20285283029079437, 0.20901049673557281, -0.3121332824230194, 0.40429580211639404, 0.14295193552970886, -0.23466451466083527, -0.7826430797576904, 0.5598922967910767, -0.6516035199165344, -0.28809821605682373, 1.1444615125656128, -0.12426012009382248, -0.3813970685005188, -0.45182710886001587, -0.13751886785030365, 0.16148877143859863, -0.4575081169605255, 0.5482940077781677, 0.6234972476959229, -0.13341926038265228, -0.09949713200330734, -0.32724452018737793, 0.7365195751190186, -0.06772759556770325, -0.5306447744369507, 0.09349936991930008, 0.6472555994987488, 0.17124564945697784, 0.09242767095565796, 1.0939629077911377, -0.1953066885471344, 0.5583678483963013, 0.15506188571453094, -0.14972513914108276, -0.1271115243434906, -0.6968661546707153, -0.5592262744903564, 0.06411857157945633, 0.8539543747901917, 0.10616367310285568 ]
http://arxiv.org/abs/2405.04685v1
http://arxiv.org/pdf/2405.04685v1
Bridging the Bosphorus: Advancing Turkish Large Language Models through Strategies for Low-Resource Language Adaptation and Benchmarking
2024-05-07T21:58:45
2024-05-07T21:58:45
Emre Can Acikgoz, Mete Erdogan, Deniz Yuret
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) are becoming crucial across various fields, emphasizing the urgency for high-quality models in underrepresented languages. This study explores the unique challenges faced by low-resource languages, such as data scarcity, model selection, evaluation, and computational limitations, with a special focus on Turkish. We conduct an in-depth analysis to evaluate the impact of training strategies, model choices, and data availability on the performance of LLMs designed for underrepresented languages. Our approach includes two methodologies: (i) adapting existing LLMs originally pretrained in English to understand Turkish, and (ii) developing a model from the ground up using Turkish pretraining data, both supplemented with supervised fine-tuning on a novel Turkish instruction-tuning dataset aimed at enhancing reasoning capabilities. The relative performance of these methods is evaluated through the creation of a new leaderboard for Turkish LLMs, featuring benchmarks that assess different reasoning and knowledge skills. Furthermore, we conducted experiments on data and model scaling, both during pretraining and fine-tuning, simultaneously emphasizing the capacity for knowledge transfer across languages and addressing the challenges of catastrophic forgetting encountered during fine-tuning on a different language. Our goal is to offer a detailed guide for advancing the LLM framework in low-resource linguistic contexts, thereby making natural language processing (NLP) benefits more globally accessible.
[ -0.5329179167747498, -0.6076033115386963, 0.38693127036094666, 0.13845700025558472, -0.43655091524124146, 0.08603272587060928, -0.6490699052810669, -0.4355803430080414, -0.39528703689575195, 0.47896072268486023, -0.46225857734680176, -0.37141409516334534, -0.6946881413459778, 0.24741730093955994, 0.0688474103808403, 0.9085831046104431, -0.22213703393936157, 0.03718503192067146, -0.3225526213645935, -0.349776029586792, -0.7206920385360718, -0.42748668789863586, -0.5773484706878662, -0.38289374113082886, 0.3954635560512543, 0.5994616746902466, 0.45086470246315, 0.47859400510787964, 0.5989259481430054, 0.18203246593475342, -0.3908030092716217, 0.11691213399171829, -0.37272998690605164, -0.002086175139993429, -0.6449205279350281, -0.2818790674209595, -0.2877347469329834, -0.11621168255805969, 0.8171613812446594, 1.0731950998306274, -0.22526143491268158, 0.6897695660591125, 0.39341118931770325, 0.7519409656524658, -0.7950372695922852, 0.0356464684009552, -0.693189799785614, -0.19314448535442352, -0.44724398851394653, 0.09820014238357544, -0.0739138126373291, -0.18471691012382507, 0.2861502766609192, -0.32621464133262634, -0.008794278837740421, 0.10029131174087524, 0.5490697622299194, 0.2060548961162567, -0.384134441614151, -0.29664790630340576, -0.7767101526260376, 0.8126906156539917, -0.7218611240386963, 0.3687012493610382, 0.34186825156211853, 0.32416027784347534, -0.3503062427043915, -0.5380931496620178, -0.20755697786808014, -0.09254789352416992, 0.07083471864461899, -0.025415096431970596, -0.13237743079662323, -0.06028617173433304, 0.258468896150589, 0.5542644262313843, -0.457744836807251, 0.3030779957771301, -0.6154178380966187, 0.16642627120018005, 0.582903265953064, 0.10762082785367966, -0.1545594483613968, 0.1347227245569229, 0.006587807554751635, 0.0644054040312767, -0.6971743106842041, 0.26877859234809875, 0.13722562789916992, 0.6913836002349854, -0.271038293838501, 0.5523603558540344, -0.4080338478088379, 0.789226233959198, -0.17003490030765533, -0.060245923697948456, -0.06525280326604843, -0.21803416311740875, -0.387015700340271, 0.11991147696971893, 0.39580658078193665, -0.1668441742658615, -0.03763873130083084, -0.10191858559846878, -0.18698909878730774, -0.14586126804351807, 0.11149774491786957, -0.6878963112831116, 0.06693647056818008, 0.006891264580190182, -0.3965463936328888, 0.0333373136818409, -0.349699467420578, -0.6792738437652588, -0.6698896884918213, -0.17152416706085205, 0.5065678358078003, -0.2579754590988159, -0.22123531997203827, 0.3749009072780609, 0.13998523354530334, 0.20677471160888672, 0.40642204880714417, -0.9643014073371887, 0.4492201507091522, 0.7275517582893372, 0.9055498838424683, 0.08386163413524628, -0.15377558767795563, -0.411975234746933, 0.14436151087284088, -0.46531498432159424, 0.5685176253318787, -0.5159729719161987, -0.32531821727752686, 0.13332071900367737, 0.03442730754613876, 0.047144025564193726, -0.5781553387641907, 0.9558265805244446, -0.2139878123998642, 0.15032275021076202, -0.5361958146095276, -0.435505747795105, -0.29886043071746826, 0.24427436292171478, -0.639241635799408, 0.9784228801727295, 0.04430294781923294, -0.878430962562561, 0.16685141623020172, -0.4987819492816925, -0.4756150543689728, 0.13548167049884796, -0.10470866411924362, -0.13502687215805054, 0.5358094573020935, 0.22945286333560944, 0.45973944664001465, -0.6620832681655884, -0.2646287977695465, -0.2186744064092636, -0.5479180812835693, -0.14808203279972076, -0.1654578149318695, 0.70147305727005, 0.2733631134033203, -0.1050843596458435, -0.18221479654312134, -0.6587035059928894, -0.2941361367702484, 0.1856692135334015, -0.6235709190368652, -0.3680838644504547, 0.1239972934126854, -0.24778002500534058, 0.23555152118206024, 0.45376092195510864, -0.4270378053188324, 0.12045872956514359, -0.5072184801101685, 0.27146628499031067, 0.604265570640564, -0.16938640177249908, 0.477571964263916, -0.4689648747444153, 0.5130845904350281, -0.034462250769138336, -0.08232510834932327, -0.13180804252624512, -0.13445651531219482, -0.9976884722709656, -0.18444553017616272, 0.17780360579490662, 0.5727147459983826, -0.3313274383544922, 0.1578335016965866, -0.28467270731925964, -0.6900716423988342, -0.7769639492034912, 0.4716376066207886, 0.09110578894615173, 0.4782969057559967, 0.3185610771179199, -0.25743725895881653, -0.6402645111083984, -0.7896599173545837, -0.3244428038597107, -0.08315759897232056, -0.018227871507406235, 0.1729479730129242, 0.4490010440349579, -0.017654255032539368, 0.5313514471054077, 0.14837080240249634, -0.34181883931159973, -0.6575137972831726, -0.05593933165073395, 0.5858982801437378, 0.46032944321632385, 0.20853619277477264, -0.1826406717300415, -0.3731366991996765, 0.40802302956581116, -0.5394237041473389, -0.15310636162757874, 0.17461998760700226, -0.10298154503107071, 0.5131365656852722, 0.4370444416999817, -0.6047807931900024, 0.20487606525421143, 0.7485027313232422, -0.12928996980190277, 0.6710832118988037, -0.31653282046318054, -0.03037749044597149, -0.895252525806427, 0.1649155169725418, 0.13814929127693176, 0.08024774491786957, -0.5235303640365601, 0.14680980145931244, -0.3276214301586151, -0.22081930935382843, -0.2598448097705841, 0.6928359866142273, -0.4974428117275238, -0.181278258562088, -0.21627533435821533, -0.03978410363197327, -0.10540788620710373, 0.22765754163265228, 0.12285956740379333, 0.6950188875198364, 0.48791059851646423, -0.4365532100200653, 0.3034866750240326, 0.18636438250541687, -0.7759444117546082, 0.4270631968975067, -0.5442890524864197, -0.02014479786157608, -0.025911975651979446, 0.025654496625065804, -0.6595257520675659, 0.07272134721279144, 0.0671439841389656, -0.05597388371825218, 0.13830743730068207, -0.4794636070728302, -0.5376225709915161, -0.1959044486284256, 0.19522066414356232, 0.4174222946166992, 0.5563942193984985, -0.35136574506759644, 0.6247532963752747, 0.09641735255718231, -0.5057247877120972, -0.49651476740837097, -0.6105413436889648, -0.023266857489943504, -0.48008403182029724, -0.6174399256706238, 0.11214082688093185, 0.3355973958969116, -0.4159278869628906, -0.2792082130908966, -0.3422447144985199, 0.06773221492767334, 0.3573543429374695, 0.05772612988948822, 0.0024599889293313026, -0.4245176613330841, 0.1250990927219391, 0.13367077708244324, 0.10260310024023056, 0.1444479525089264, -0.5914889574050903, 0.4265691339969635, -0.438962459564209, -0.31328803300857544, -0.3548767864704132, 0.11917299032211304, 0.3591543138027191, -0.5623279213905334, 0.9105233550071716, 0.6008630990982056, -0.4445711374282837, -0.26481589674949646, -0.6405452489852905, -0.12578879296779633, -0.45756301283836365, 0.5289117097854614, -0.3951895534992218, -0.9622346758842468, 0.5001690983772278, -0.44915860891342163, 0.33743855357170105, 0.007095972541719675, 0.765884280204773, -0.39709803462028503, 0.6129894852638245, 0.8644161820411682, -0.11260844022035599, 0.30068325996398926, 0.0057342443615198135, 0.21119478344917297, -0.5989143252372742, -0.06349918991327286, -0.6062369346618652, -0.2413076013326645, -0.7042489647865295, -0.5099470019340515, 0.24165530502796173, 0.4034569263458252, -0.3768458068370819, 0.08847662061452866, 0.09533592313528061, 0.2890406548976898, 0.5478147864341736, -0.03982505202293396, 0.327421635389328, 0.35200947523117065, -0.18953447043895721, 0.033310599625110626, -0.9022745490074158, -0.7669107913970947, 0.9870384335517883, 0.43661433458328247, 0.6687120795249939, 0.19557900726795197, 0.4520297646522522, 0.21906636655330658, -0.10601402819156647, -0.38576310873031616, 0.49876677989959717, -0.265031635761261, -0.5778287053108215, -0.4660830497741699, -0.305706262588501, -0.8767797946929932, 0.460357666015625, -0.472125768661499, -0.7772560715675354, -0.1331295520067215, 0.11835630238056183, -0.29644301533699036, 0.3379805386066437, -0.5557280778884888, 1.021859884262085, -0.18694435060024261, -0.6400901675224304, -0.657922089099884, -0.2905491292476654, 0.1928723156452179, -0.2317226380109787, 0.48353293538093567, -0.19938650727272034, 0.08597909659147263, 0.6945032477378845, -0.14993351697921753, 0.5966294407844543, -0.11737001687288284, -0.09944264590740204, 0.15100526809692383, 0.15023112297058105, 0.42452195286750793, -0.10564465075731277, -0.3152085244655609, 0.3096880614757538, 0.13810843229293823, -0.9456154108047485, -0.3937549889087677, 0.44285592436790466, -0.8345299363136292, -0.8450554609298706, -0.33572670817375183, -0.5868847370147705, -0.4934467375278473, 0.10488421469926834, -0.16893772780895233, 0.1301003396511078, -0.25008127093315125, 0.1560356169939041, 0.5152385234832764, -0.479298859834671, 0.28869369626045227, 0.5132408142089844, -0.02402004972100258, -0.2240036129951477, 0.7854387164115906, 0.16464170813560486, 0.18877921998500824, 0.2323588877916336, 0.2167150229215622, -0.11073744297027588, -0.9118385314941406, -0.2705889344215393, 0.3723970055580139, -0.5779844522476196, 0.24091465771198273, -0.0856705829501152, -0.14451569318771362, -0.33125776052474976, -0.11052946001291275, -0.41587600111961365, -0.21807780861854553, -0.04193875193595886, -0.055332377552986145, 0.24069121479988098, 0.5144637823104858, -0.08236131072044373, 0.4525083303451538, -0.6684660315513611, -0.2749330997467041, 0.12840181589126587, 0.38375788927078247, 0.15590116381645203, -0.888005256652832, -0.8323256373405457, -0.006173048168420792, -0.11247747391462326, -0.41509175300598145, 0.10988139361143112, 0.026436185464262962, 0.6551047563552856, 0.10940539091825485, 0.0025989587884396315, 0.7549918293952942, -0.402985155582428, 0.39576825499534607, -0.1990300416946411, -0.8515692949295044, 0.5746882557868958, -0.3802342712879181, 0.369047611951828, 0.5622355937957764, 0.40375134348869324, -0.674266517162323, -0.09234196692705154, -0.2660830020904541, -0.6701264381408691, 0.8106182813644409, 0.13711658120155334, 0.08200540393590927, 0.44841745495796204, 0.4504951536655426, 0.21862618625164032, 0.22613590955734253, -0.5556657314300537, 0.15144096314907074, 0.023173263296484947, -0.11189107596874237, -0.2290632277727127, -0.30654236674308777, -0.050773389637470245, -0.24366281926631927, 0.7981475591659546, 0.046486739069223404, -0.25172188878059387, -0.14542172849178314, -0.36745890974998474, -0.09741248190402985, 0.3612269163131714, 0.43976858258247375, 0.7234732508659363, -0.31832602620124817, 0.024844251573085785, 0.6882418990135193, -0.33944493532180786, 0.038557812571525574, 0.3178953528404236, 0.12042788416147232, -0.23759068548679352, 0.6457868218421936, 0.895370602607727, -0.06440803408622742, -0.8115256428718567, 0.10676290839910507, 0.08876383304595947, 0.06702569872140884, -0.2379647046327591, -0.027911335229873657, 0.1893269270658493, 0.5110519528388977, 0.49085748195648193, -0.3326796889305115, -0.38283097743988037, -0.32117632031440735, -0.07147149741649628, 0.3299475610256195, -0.21173551678657532, -0.2868712544441223, 0.2998049259185791, 0.28094908595085144, -0.09809425473213196, 0.5460191965103149, 0.13811512291431427, -0.10343383997678757, 0.2561860978603363, 0.3085104525089264, 0.3992198407649994, -0.2871711552143097, -0.034522999078035355, 0.37526339292526245, 0.7089676260948181, -0.0723859891295433, 0.1702890694141388, -0.11622625589370728, -0.6372125148773193, -0.5795832872390747, -0.8039225935935974, -0.3360331654548645, 0.45171451568603516, -0.729007363319397, 0.5762098431587219, -0.7481423020362854, -0.07757943123579025, -0.3391266465187073, 0.5909387469291687, -0.729615330696106, 0.11677993834018707, 0.4597078263759613, 1.2903733253479004, -1.0689588785171509, 0.7780642509460449, 1.1070709228515625, -0.28428077697753906, -0.3679008185863495, -0.16455286741256714, -0.21103601157665253, -0.6939638257026672, 0.5010466575622559, -0.037189781665802, 0.10770311206579208, 0.035255782306194305, -0.16681499779224396, -0.8877276182174683, 0.8982934951782227, 0.586470901966095, -0.5327951312065125, 0.04420899972319603, 0.4579448699951172, 0.531828761100769, -0.20656371116638184, 0.15455873310565948, 0.9180688858032227, 0.30354687571525574, -0.007497500628232956, -1.0444133281707764, 0.071017324924469, 0.08642057329416275, 0.0864713117480278, -0.0971694141626358, -0.6127327680587769, 0.6483767628669739, -0.10372599214315414, -0.17628686130046844, 0.1184835135936737, 0.8524035215377808, 0.510980486869812, 0.09279292076826096, 0.2742897868156433, 0.6604353785514832, 0.6144521832466125, 0.06465976685285568, 0.5802760720252991, -0.18467797338962555, 0.03791731223464012, 1.0609554052352905, -0.3260904550552368, 0.9933899641036987, 0.5663577914237976, -0.21377262473106384, 0.5713247060775757, 0.8301154971122742, 0.14084428548812866, 0.4641387164592743, 0.26889902353286743, -0.34006479382514954, -0.44808220863342285, -0.24771936237812042, -0.30672207474708557, 0.5119155049324036, 0.5834318399429321, -0.005012982990592718, -0.5521764755249023, -0.01652814820408821, -0.10408800095319748, 0.11539708822965622, -0.5584844350814819, 0.608670711517334, 0.17179229855537415, -0.3303145170211792, 0.7684535384178162, 0.1825302690267563, 0.33994320034980774, -0.4466954171657562, 0.20395416021347046, -0.5500874519348145, 0.19826750457286835, -0.1071932315826416, -0.5179294943809509, 0.26663869619369507, 0.1266220360994339, -0.15055838227272034, -0.030135612934827805, 0.5098232626914978, -0.3752494752407074, -0.6699636578559875, 0.25144320726394653, 0.6819431781768799, 0.23694147169589996, 0.06850198656320572, -0.6323480010032654, 0.3781108558177948, -0.24262888729572296, -0.07395201176404953, 0.5056928992271423, 0.740081787109375, -0.37894967198371887, 0.8583860993385315, 0.5323061943054199, 0.40472280979156494, -0.010886762291193008, -0.11404933780431747, 0.6420677900314331, -0.562240719795227, -0.4384068548679352, -0.8711259365081787, 0.3643614947795868, 0.19664791226387024, -0.14452646672725677, 0.7340474724769592, 0.6085146069526672, 1.0314850807189941, 0.025016678497195244, 0.9492961168289185, 0.18130718171596527, 0.6090903878211975, -0.3746590316295624, 0.6804796457290649, -0.6431647539138794, 0.36497294902801514, -0.19021089375019073, -0.8299040198326111, 0.011792650446295738, 0.6420268416404724, -0.5298168063163757, -0.13219666481018066, 0.3781374394893646, 0.5502234101295471, -0.10262472927570343, -0.18324708938598633, 0.2183237224817276, 0.30785590410232544, 0.1343354731798172, 0.6376008987426758, 0.8094099164009094, -0.1953532099723816, 0.5276041626930237, -0.19844409823417664, -0.17525909841060638, -0.26024502515792847, -0.9004993438720703, -1.2118263244628906, -0.4731987714767456, -0.1898423284292221, -0.2343391478061676, 0.3226062059402466, 0.9969703555107117, 0.576738715171814, -0.8254384398460388, -0.779139518737793, -0.07766180485486984, 0.19815167784690857, -0.1756592094898224, -0.06407424807548523, 0.2892325520515442, -0.38637399673461914, -0.5243980288505554, 0.26720887422561646, 0.21661025285720825, 0.12174651026725769, -0.34256765246391296, -0.11082819849252701, -0.07049937546253204, 0.07464183866977692, 0.5230126976966858, 0.46052655577659607, -0.6959941983222961, 0.0038125126156955957, -0.3070223033428192, 0.04833609610795975, -0.23738634586334229, 0.5979171395301819, -0.7840039730072021, 0.1809699386358261, 0.4085055887699127, 0.9677271842956543, 0.45546528697013855, -0.1416199803352356, 0.7429507374763489, -0.5373773574829102, 0.5116488337516785, 0.05503755435347557, 0.36875391006469727, 0.4508599638938904, 0.15698710083961487, 0.38529014587402344, 0.18277288973331451, -0.36587390303611755, -1.1554497480392456, 0.1271914541721344, -0.5713179111480713, -0.34428200125694275, 1.0103775262832642, -0.10895519703626633, -0.09419211000204086, -0.16930578649044037, -0.08165876567363739, 0.2612549662590027, -0.0344187393784523, 0.9821073412895203, 0.9030009508132935, 0.11338578164577484, -0.4007631242275238, -0.6646703481674194, 0.5135059952735901, 0.5667645931243896, -0.5665370225906372, 0.33814987540245056, 0.20761768519878387, 0.23284655809402466, -0.22337979078292847, 0.35513952374458313, 0.2084563821554184, 0.0916474312543869, -0.1903889775276184, 0.025288786739110947, -0.05139081925153732, -0.16015781462192535, -0.5511034727096558, -0.136696457862854, 0.4430302083492279, -0.04988305643200874 ]
http://arxiv.org/abs/2405.04669v1
http://arxiv.org/pdf/2405.04669v1
Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamics
2024-05-07T21:03:51
2024-05-07T21:03:51
Hanlin Zhu, Baihe Huang, Shaolun Zhang, Michael Jordan, Jiantao Jiao, Yuandong Tian, Stuart Russell
cs.LG
cs.LG, cs.CL
Auto-regressive large language models (LLMs) show impressive capacities to solve many complex reasoning tasks while struggling with some simple logical reasoning tasks such as inverse search: when trained on ''A is B'', LLM fails to directly conclude ''B is A'' during inference, which is known as the ''reversal curse'' (Berglund et al., 2023). In this paper, we theoretically analyze the reversal curse via the training dynamics of (stochastic) gradient descent for two auto-regressive models: (1) a bilinear model that can be viewed as a simplification of a one-layer transformer; (2) one-layer transformers using the framework of Tian et al. (2023a). Our analysis reveals a core reason why the reversal curse happens: the (effective) weights of both auto-regressive models show asymmetry, i.e., the increase of weights from a token $A$ to token $B$ during training does not necessarily cause the increase of the weights from $B$ to $A$. Moreover, our analysis can be naturally applied to other logical reasoning tasks such as chain-of-thought (COT) (Wei et al., 2022b). We show the necessity of COT, i.e., a model trained on ''$A \to B$'' and ''$B \to C$'' fails to directly conclude ''$A \to C$'' without COT (also empirically observed by Allen-Zhu and Li (2023)), for one-layer transformers via training dynamics, which provides a new perspective different from previous work (Feng et al., 2024) that focuses on expressivity. Finally, we also conduct experiments to validate our theory on multi-layer transformers under different settings.
[ -0.28086909651756287, -0.7639583945274353, 0.14952495694160461, 0.033752333372831345, -0.19069385528564453, 0.2718028426170349, -0.1394956260919571, -0.4181964099407196, 0.2238316684961319, 0.644179105758667, -0.691345751285553, 0.1429908275604248, -0.8913235068321228, 0.08094698935747147, -0.8215975761413574, 1.2868837118148804, -0.028228651732206345, 0.30444738268852234, 0.08852912485599518, 0.13380399346351624, -0.47993820905685425, -0.34902068972587585, -0.8451752662658691, -0.5648457407951355, 0.3793860375881195, 0.08235206454992294, 0.8453397154808044, 0.5832085609436035, 0.2964837849140167, 0.2626691162586212, 0.15518082678318024, -0.10163064301013947, -0.7810371518135071, 0.3461329936981201, -0.2421651929616928, -0.7967483997344971, 0.017327258363366127, 0.22748738527297974, 0.5739023685455322, 0.7394781112670898, -0.1958661675453186, 0.0901879072189331, 0.15883634984493256, 0.6171975135803223, -0.4703933298587799, -0.19865141808986664, -0.8992131352424622, 0.172784224152565, 0.11665863543748856, -0.4660187065601349, -0.2823518216609955, -0.31138816475868225, 0.18659457564353943, -0.3403222858905792, 0.4662245512008667, 0.1464778631925583, 1.1937705278396606, 0.5377749800682068, -0.522280216217041, -0.3025681674480438, -0.9653997421264648, 0.8159286975860596, -0.41113990545272827, 0.40301403403282166, 0.06620093435049057, 0.4726848602294922, -0.19978737831115723, -0.6248998641967773, -0.7860867977142334, -0.1750643104314804, 0.0022060000337660313, 0.4004824459552765, -0.018907899037003517, -0.06430239230394363, 0.47350621223449707, 0.4395753741264343, -0.19593572616577148, 0.4404264986515045, -0.5410970449447632, 0.023980995640158653, 0.3856711685657501, 0.33674001693725586, 0.305422842502594, 0.08383448421955109, -0.9718036651611328, -0.10294129699468613, -0.8002792000770569, 0.2520313262939453, 0.6505355834960938, 0.2557106912136078, -0.17069722712039948, 0.29752451181411743, 0.32552722096443176, 0.5001082420349121, 0.17598403990268707, -0.03651602566242218, -0.015786143019795418, -0.1856272965669632, -0.2705840766429901, 0.05725057050585747, 0.6585667729377747, 0.11743292957544327, 0.4420150816440582, -0.27703285217285156, -0.2666102945804596, 0.17348727583885193, 0.534067690372467, -0.6897352933883667, -0.26504677534103394, -0.1736772209405899, -0.440034955739975, -0.3639043867588043, 0.06079460307955742, -0.7456825375556946, -0.5931117534637451, -0.5098199844360352, 0.5965156555175781, -0.2114000767469406, -0.41728779673576355, 0.2953629791736603, -0.17558497190475464, 0.44558215141296387, 0.28368842601776123, -0.7339525818824768, 0.3217715620994568, 0.5274229049682617, 0.3748098611831665, -0.16103151440620422, -0.612343430519104, -0.2773899734020233, -0.2462863177061081, -0.38941362500190735, 0.5063419342041016, -0.5822069644927979, -0.23905391991138458, -0.07704421132802963, 0.11150440573692322, -0.4425194263458252, -0.39762580394744873, 0.3399224281311035, -0.5482895374298096, 0.25190556049346924, -0.1739601492881775, -0.2149258553981781, -0.19457373023033142, 0.09575045108795166, -0.41419199109077454, 0.7684469223022461, -0.1963295191526413, -0.6446241140365601, 0.5129989981651306, 0.0741162896156311, -0.46840769052505493, -0.4681757986545563, -0.19713866710662842, -0.5727787613868713, 0.1877591907978058, -0.1625184416770935, -0.05856863781809807, -0.8654365539550781, 0.26255789399147034, -0.28156837821006775, -0.4763256907463074, 0.26822251081466675, -0.7602525353431702, 1.1954840421676636, 0.07473354041576385, -0.8054680228233337, -0.3993525207042694, -0.7158839702606201, -0.22454716265201569, 0.1134856715798378, -0.08239676803350449, -0.2509642243385315, 0.15679676830768585, -0.6788231730461121, 0.5465421080589294, -0.09537743031978607, -0.5109489560127258, 0.426225870847702, -0.5790396332740784, 0.23090140521526337, 0.8080261945724487, -0.12891238927841187, 0.37969592213630676, -0.03889841213822365, 0.7299206256866455, 0.3600711226463318, 0.23203355073928833, -0.005822294857352972, -0.4970364570617676, -0.9622270464897156, -0.06499381363391876, 0.11642829328775406, 0.6891732215881348, -0.7237257361412048, 0.13566553592681885, -0.21142612397670746, -0.17278969287872314, -0.7710869908332825, 0.16024044156074524, 0.7161074876785278, 0.7307059168815613, 0.5959218740463257, -0.3599201440811157, -0.621814489364624, -1.1453187465667725, -0.6356998682022095, -0.16859214007854462, 0.2674619257450104, 0.06835786253213882, 0.5175520777702332, -0.11653531342744827, 0.8200365304946899, -0.2505144774913788, -0.17228490114212036, -0.15122950077056885, 0.47977086901664734, 0.3553391098976135, 0.716477632522583, 0.37318116426467896, -0.6759845018386841, -0.10496525466442108, -0.21840515732765198, -0.6963179707527161, -0.2499592900276184, -0.4886602461338043, -0.08807393163442612, 0.3651413023471832, 0.5051772594451904, -0.6380407810211182, 0.9175248146057129, 0.29571500420570374, -0.4500983953475952, 0.9264588952064514, 0.07640576362609863, -0.05138181522488594, -0.6306080222129822, 0.03497026115655899, -0.324351042509079, 0.056762341409921646, -0.5284116268157959, 0.060668088495731354, -0.25872182846069336, 0.35214462876319885, 0.05830571800470352, 0.4685535728931427, -0.45478904247283936, -0.22998730838298798, -0.35891667008399963, 0.13742303848266602, 0.07413747906684875, 0.4356152415275574, -0.14334632456302643, 0.5999122858047485, 0.8838223814964294, -0.8658236861228943, 0.24018768966197968, -0.04662216454744339, 0.009694783017039299, 0.4633166491985321, -0.36672893166542053, -0.01970430091023445, -0.38222211599349976, 0.17121508717536926, -1.1707568168640137, 0.4849480986595154, 0.16690687835216522, -0.5673046112060547, 0.5662882924079895, -0.11449216306209564, -0.3912523090839386, -0.7972537279129028, -0.13789503276348114, 0.4088424742221832, 0.5210669636726379, -0.8468538522720337, 0.7348721623420715, -0.0013703897129744291, 0.3172305226325989, -1.1791269779205322, -0.9621930122375488, 0.17990684509277344, -0.12991909682750702, -0.3351678252220154, 0.14881858229637146, 0.02607106976211071, -0.3245251476764679, -0.0925668254494667, -0.36610907316207886, 0.19849719107151031, 0.39038699865341187, 0.17917373776435852, 0.37194058299064636, -0.25225475430488586, 0.09797264635562897, 0.1733282506465912, -0.20226912200450897, 0.3616361916065216, -0.5460256338119507, 0.5255643129348755, -0.2049998641014099, -0.3591805398464203, -0.2697083353996277, -0.24311396479606628, 0.3906251788139343, -0.005493031349033117, 0.862875759601593, 0.5395054221153259, -0.18384648859500885, -0.3865451216697693, -0.6912118792533875, -0.3423025608062744, -0.45969462394714355, 0.05144595354795456, -0.42321479320526123, -0.4585094153881073, 0.8951289653778076, 0.1975628137588501, -0.09707722812891006, 0.5730429887771606, 0.5637767314910889, 0.043996669352054596, 1.1923882961273193, 0.23858509957790375, -0.08077937364578247, 0.2297535538673401, -0.7024995684623718, 0.6052030324935913, -0.7361366748809814, -0.20206336677074432, -0.4523707926273346, -0.547394871711731, -0.7176429033279419, -0.06717907637357712, 0.15266776084899902, 0.6021717190742493, -0.5548437237739563, 0.3451223075389862, -0.44104111194610596, 0.4457954168319702, 0.41518887877464294, 0.04504223167896271, 0.3451695144176483, -0.24770528078079224, -0.46716219186782837, 0.24132922291755676, -0.6438475847244263, -0.2634808421134949, 0.8324015736579895, 0.22612181305885315, 0.9430015087127686, -0.01043773628771305, 0.4947340786457062, -0.12958240509033203, 0.4355684518814087, -0.6392063498497009, 0.5417203307151794, -0.041638389229774475, -0.7616812586784363, -0.22668598592281342, -0.47860246896743774, -1.1236780881881714, 0.4455397427082062, -0.2026151716709137, -0.7022503614425659, 0.4472825527191162, 0.3512943983078003, -0.16163383424282074, 0.7500871419906616, -0.6378964185714722, 0.6497793793678284, -0.3454950749874115, -0.7583106756210327, -0.42668387293815613, -0.936011552810669, 0.5837470293045044, 0.17542119324207306, 0.10146096348762512, 0.28835299611091614, 0.23976539075374603, 0.33429470658302307, -0.4986085295677185, 0.9456708431243896, -0.429935097694397, -0.4067702889442444, 0.2799994945526123, 0.5129982829093933, 0.5745978951454163, 0.06440874934196472, 0.15207593142986298, -0.19371384382247925, -0.18861648440361023, -0.3276728391647339, -0.8047480583190918, 0.7160281538963318, -0.7403025031089783, -0.9780723452568054, -0.4713461995124817, -0.38366562128067017, -0.12577511370182037, 0.22416910529136658, 0.3992520868778229, 0.5080848336219788, 0.30665937066078186, -0.2128770500421524, 0.49064135551452637, -0.4546433687210083, 0.2523435056209564, 0.5206199288368225, -0.45870667695999146, -0.05414096638560295, 0.7898730039596558, 0.24092580378055573, 0.5243629813194275, 0.18276704847812653, 0.289874404668808, 0.021674348041415215, -0.3515688478946686, -0.35777145624160767, 0.3984128534793854, -0.6912099719047546, -0.2877734899520874, -0.4541666805744171, -0.2904060184955597, -0.13180607557296753, -0.04805837199091911, -0.4112916886806488, -0.6260138750076294, -0.2635616064071655, -0.3352431356906891, 0.0568852573633194, 0.6465664505958557, -0.05737518519163132, 0.02344873547554016, -0.25525039434432983, 0.3342093527317047, 0.36121079325675964, 0.47307127714157104, 0.5618137717247009, -0.8565016388893127, -0.2533189654350281, 0.20601050555706024, -0.3748888373374939, -0.5979077219963074, 0.3445780873298645, -0.09740212559700012, 0.48901063203811646, 0.690789520740509, -0.17171289026737213, 0.7644386887550354, -0.43678954243659973, 0.8292513489723206, 0.28053054213523865, -0.8245607018470764, 0.13766834139823914, -0.23903173208236694, -0.1403598189353943, 0.4998370409011841, 0.3464159369468689, -0.2552517056465149, -0.6488284468650818, -0.7090059518814087, -0.7474831938743591, 0.58771151304245, -0.024901479482650757, 0.17183057963848114, -0.06984326243400574, 0.5167949199676514, 0.5233167409896851, 0.3729404807090759, -0.7043742537498474, -0.5567845106124878, -0.5946733951568604, 0.19551700353622437, 0.031148452311754227, 0.054151132702827454, 0.032266512513160706, -0.4858554005622864, 0.7790589332580566, 0.09645646810531616, 0.5557867288589478, 0.19807755947113037, -0.3099333643913269, -0.2721053957939148, -0.01103336550295353, 0.5292109847068787, 0.557936429977417, 0.006659017875790596, 0.43568551540374756, 0.1394074261188507, -0.3095070421695709, -0.04762155935168266, 0.07491263747215271, -0.1990583837032318, -0.3978363871574402, 0.3369007408618927, 1.184170126914978, 0.34958475828170776, -0.2838764190673828, 0.5485056638717651, 0.29493090510368347, -0.2081104964017868, -0.6001486778259277, -0.08507171273231506, -0.23417700827121735, 0.2936914265155792, 0.4693801999092102, 0.3735142946243286, 0.11517592519521713, -0.6453686952590942, -0.022573934867978096, 0.60430508852005, -0.3985098600387573, -0.6324397921562195, 0.8627525568008423, -0.2160322517156601, -0.26127317547798157, 0.6952773928642273, -0.17733319103717804, -0.9292811751365662, 0.7392023801803589, 0.7003008127212524, 1.0106956958770752, -0.2670685350894928, 0.1082393154501915, 0.3481070101261139, 0.4408840835094452, -0.1916421353816986, 0.12873351573944092, -0.011725697666406631, -1.0135903358459473, -0.3001849949359894, -0.5090951919555664, -0.11803103238344193, -0.1810588389635086, -0.8095074892044067, 0.23661403357982635, -0.3510880768299103, -0.09051601588726044, -0.25638288259506226, -0.34723716974258423, -0.8684194087982178, 0.21893155574798584, 0.024758966639637947, 0.7740795016288757, -0.5847819447517395, 0.7221561670303345, 0.23957304656505585, -0.6730185151100159, -0.694136917591095, 0.07466324418783188, -0.07703874260187149, -1.156126618385315, 1.1524947881698608, 0.03932908549904823, -0.6275270581245422, 0.11889305710792542, -0.7381995320320129, -0.8197710514068604, 0.9911051988601685, 0.3684825003147125, -0.29550525546073914, -0.39193105697631836, 0.1219070628285408, 0.8624290227890015, -0.32157543301582336, 0.32728421688079834, 0.6816120743751526, 0.43271926045417786, -0.20844724774360657, -0.97803795337677, 0.048875898122787476, -0.12532934546470642, -0.11505697667598724, 0.3317911922931671, -0.7377792000770569, 0.9887987375259399, -0.4223726987838745, -0.3602617383003235, 0.0734342634677887, 0.2549709677696228, -0.036068256944417953, 0.1295207440853119, 0.5540823936462402, 0.6685821413993835, 0.3870532214641571, 0.014692358672618866, 1.2879453897476196, -0.4555060565471649, 0.4668772518634796, 0.9266105890274048, -0.2085588276386261, 0.40119755268096924, 0.5406737327575684, -0.07740151137113571, 1.0675461292266846, 0.006848893593996763, -0.0819697380065918, 0.30956998467445374, 0.5247287750244141, 0.2779698967933655, -0.35085755586624146, 0.18754176795482635, -0.13083027303218842, 0.39325565099716187, 0.25435206294059753, -0.5537556409835815, -0.05519280210137367, 0.33712589740753174, 0.08498487621545792, 0.05365703999996185, -0.5097610950469971, 0.3899786174297333, 0.31526774168014526, -0.8090898990631104, 0.9219099879264832, -0.4107191264629364, 0.588293194770813, -0.34726500511169434, 0.12717631459236145, -0.22116899490356445, 0.3564870357513428, -0.1191156730055809, -0.5558398365974426, 0.17406897246837616, -0.3385166823863983, 0.034616466611623764, -0.3700270652770996, 0.7796511054039001, -0.3726947605609894, -0.21260832250118256, 0.737892746925354, 0.33751410245895386, -0.043667860329151154, 0.47124791145324707, -0.66693514585495, -0.31658560037612915, -0.28222763538360596, -0.5681188702583313, 0.08510149270296097, 0.35624924302101135, 0.10378320515155792, 0.9669965505599976, 0.26140618324279785, 0.38106319308280945, 0.35698848962783813, 0.2678565979003906, 0.8619874119758606, -0.6536198258399963, -0.3468736708164215, -0.8232656121253967, 0.43707698583602905, 0.14007529616355896, -0.3461427092552185, 0.7017838954925537, 0.4338541030883789, 0.8056346774101257, -0.09288879483938217, 0.6831265091896057, 0.19176188111305237, 0.6464516520500183, -0.7387124300003052, 0.5378949046134949, -0.5913925170898438, 0.5104551315307617, -0.24264812469482422, -0.6914980411529541, -0.09269682317972183, 0.6209793090820312, -0.6627423167228699, 0.19232231378555298, 0.9287989139556885, 0.6972709894180298, 0.1428617238998413, 0.154047429561615, -0.02812933176755905, 0.832785427570343, 0.16983237862586975, 0.4375922977924347, 1.0297633409500122, -0.5392119288444519, 0.5919995307922363, -0.061040714383125305, 0.050894223153591156, -0.027039431035518646, -0.5738391876220703, -0.8359088897705078, -0.6200097799301147, -0.08188359439373016, -0.8111248016357422, 0.10508346557617188, 0.8894158005714417, 0.16829153895378113, -0.8089256286621094, -0.2952912449836731, -0.5006501078605652, 0.2362668365240097, -0.5862612724304199, -0.301809161901474, 0.27855634689331055, -0.4994698464870453, -0.351627916097641, 0.05129431188106537, 0.09739868342876434, 0.016333136707544327, -0.6042377352714539, 0.008386251516640186, -0.23256102204322815, 0.2101508527994156, 0.3253059983253479, 0.4832614064216614, -0.8367737531661987, -0.4452708959579468, -0.08588392287492752, -0.023846730589866638, 0.09903709590435028, 1.0623142719268799, -1.274380087852478, 0.4930188059806824, 0.42610621452331543, 0.5907782912254333, 0.6289474964141846, 0.012841829098761082, 0.7708622217178345, -0.44552066922187805, -0.04245434328913689, 0.18734987080097198, 0.3212011456489563, 0.02917659841477871, -0.19405317306518555, 0.4388778805732727, 0.50235915184021, -0.5046671032905579, -1.1035505533218384, 0.5203893184661865, -0.6080163717269897, -0.35428720712661743, 0.9241256713867188, 0.10034075379371643, 0.053386129438877106, -0.05405931547284126, -0.006451972294598818, 0.40742459893226624, 0.011168496683239937, 1.2232574224472046, 0.5325256586074829, -0.14029031991958618, -0.2327205389738083, -0.47157201170921326, 0.6736951470375061, 0.6888987421989441, -0.1755758821964264, 0.3330284059047699, 0.017920635640621185, 0.1408335566520691, 0.2600497603416443, 0.14181692898273468, -0.0662013366818428, 0.13739871978759766, -0.09918290376663208, -0.007613257970660925, -0.1310391128063202, -0.45549529790878296, -0.4374251067638397, -0.2945109009742737, -0.1317628175020218, 0.19341769814491272 ]
http://arxiv.org/abs/2405.04655v1
http://arxiv.org/pdf/2405.04655v1
Understanding the Capabilities and Limitations of Large Language Models for Cultural Commonsense
2024-05-07T20:28:34
2024-05-07T20:28:34
Siqi Shen, Lajanugen Logeswaran, Moontae Lee, Honglak Lee, Soujanya Poria, Rada Mihalcea
cs.CL
cs.CL
Large language models (LLMs) have demonstrated substantial commonsense understanding through numerous benchmark evaluations. However, their understanding of cultural commonsense remains largely unexamined. In this paper, we conduct a comprehensive examination of the capabilities and limitations of several state-of-the-art LLMs in the context of cultural commonsense tasks. Using several general and cultural commonsense benchmarks, we find that (1) LLMs have a significant discrepancy in performance when tested on culture-specific commonsense knowledge for different cultures; (2) LLMs' general commonsense capability is affected by cultural context; and (3) The language used to query the LLMs can impact their performance on cultural-related tasks. Our study points to the inherent bias in the cultural understanding of LLMs and provides insights that can help develop culturally aware language models.
[ -0.43997442722320557, -0.46143025159835815, 0.5823364853858948, 0.22748823463916779, -0.08700484782457352, -0.025078091770410538, -0.5542868971824646, -0.6663244366645813, -0.18488262593746185, 0.6358373761177063, -0.5414029955863953, -0.3232884705066681, -0.701148509979248, 0.391483336687088, -0.02301768586039543, 0.7931388020515442, -0.03733799234032631, 0.19404956698417664, -0.4576346278190613, -0.5173514485359192, -0.5611616373062134, -0.3909249007701874, -0.10619083046913147, -0.29245471954345703, 0.11728692799806595, 0.4428873360157013, 0.7360528707504272, 0.4043694734573364, 0.4678225517272949, 0.35227468609809875, -0.4754473567008972, 0.116080142557621, -0.7179896831512451, 0.06147550418972969, -0.4977703094482422, -0.36418139934539795, -0.2094321995973587, 0.025983145460486412, 0.7295749187469482, 0.8094611763954163, 0.12085367739200592, 0.3829093277454376, -0.021064121276140213, 0.46679818630218506, -0.6767062544822693, 0.000024702954760869034, -0.7742265462875366, 0.04968113452196121, -0.35181277990341187, 0.16364029049873352, -0.2862188220024109, -0.11080700159072876, 0.2283705621957779, -0.5334450602531433, 0.05713392421603203, -0.1505749374628067, 0.5048894882202148, 0.27973291277885437, -0.8267883658409119, -0.42599600553512573, -0.6057162880897522, 1.176008701324463, -0.6590086221694946, 0.43368005752563477, 0.3413514792919159, 0.33063751459121704, -0.007166804745793343, -0.5441159009933472, -0.5501367449760437, -0.45546889305114746, -0.11252961307764053, -0.18311063945293427, -0.1300429254770279, -0.22719451785087585, 0.4433177411556244, 0.49441999197006226, -0.36246466636657715, 0.5654602646827698, -0.3980232775211334, -0.13575699925422668, 0.5691371560096741, 0.29912689328193665, 0.46089860796928406, -0.3258052468299866, -0.5601738691329956, 0.2462455928325653, -0.7298697829246521, -0.06524088233709335, 0.06539133191108704, 0.10576244443655014, -0.19216138124465942, 0.3006567060947418, -0.27751362323760986, 0.7339221239089966, -0.46145474910736084, -0.3000698983669281, -0.0018266591941937804, -0.11623160541057587, -0.19108493626117706, -0.39275503158569336, 0.5080683827400208, 0.3520343005657196, 0.5156615376472473, -0.12150318920612335, -0.1595163196325302, -0.14173899590969086, -0.08546308428049088, -0.47123199701309204, 0.2776576280593872, 0.23390395939350128, -0.39403286576271057, -0.11796180158853531, -0.2610511779785156, -0.4671045243740082, -0.7244494557380676, -0.22940517961978912, 0.1889425367116928, 0.016062941402196884, -0.5520594716072083, -0.07756280153989792, -0.2780040502548218, 0.1502780169248581, 0.19450227916240692, -0.8926223516464233, 0.16492226719856262, 0.8460728526115417, 0.620022177696228, -0.32806652784347534, -0.34487155079841614, -0.14120563864707947, 0.1481200009584427, -0.20073571801185608, 0.3188299536705017, -0.7048691511154175, -0.5007117390632629, 0.09128688275814056, 0.006643910426646471, 0.17224861681461334, -0.8669010996818542, 0.5873569250106812, -0.5392482876777649, -0.27117595076560974, -0.8196382522583008, -0.4254365861415863, -0.22977884113788605, 0.21462982892990112, -0.8466211557388306, 0.40196678042411804, -0.04549897089600563, -0.6284383535385132, 0.34718528389930725, -0.3639436960220337, -0.4132121801376343, 0.2619975507259369, -0.205819234251976, 0.28062450885772705, 0.37057000398635864, 0.0920720100402832, 0.5541021227836609, -0.44417962431907654, 0.27304184436798096, -0.36300668120384216, -0.6416266560554504, 0.6437219977378845, -0.6254923343658447, 1.0609136819839478, 0.5939522981643677, -0.15866857767105103, -0.23255237936973572, -0.5736210942268372, -0.39746904373168945, 0.23642154037952423, -0.337975412607193, -0.3334074914455414, 0.005253537558019161, 0.05692947655916214, 0.11174512654542923, 0.3730103373527527, -0.3662063479423523, -0.08606144785881042, 0.1369987279176712, 0.712256669998169, 0.827948808670044, -0.5306210517883301, 0.3887956142425537, -0.2408689558506012, 0.6035349369049072, -0.1100945994257927, 0.038320817053318024, -0.0125657320022583, -0.1224944069981575, -0.3794668912887573, -0.232641339302063, -0.0851747915148735, 0.500878632068634, -0.6030046939849854, -0.18481680750846863, -0.3180854618549347, -0.35154956579208374, -0.22130300104618073, 0.4538745582103729, 0.414673388004303, 0.3407699465751648, 0.048690035939216614, -0.35106000304222107, -0.2694784998893738, -1.0446875095367432, -0.4099671244621277, 0.04724884033203125, -0.0028321666177362204, 0.4152853488922119, 0.5067226886749268, 0.15060560405254364, 0.7042644023895264, -0.3497236669063568, -0.2710374593734741, -0.3976150155067444, -0.1316879838705063, 0.3261203169822693, 0.2553243339061737, 0.3998238146305084, -0.7464583516120911, -0.317912757396698, 0.0985015332698822, -0.717265248298645, -0.2665894329547882, 0.056820373982191086, 0.2801872193813324, 0.3449702560901642, 0.5104027390480042, -0.4434730112552643, 0.020718859508633614, 0.9373719096183777, -0.1517173945903778, 0.6810026168823242, -0.12066789716482162, 0.028996072709560394, -0.7514930963516235, -0.01441486831754446, 0.26932695508003235, 0.16594678163528442, -0.7475384473800659, 0.32126834988594055, 0.3061751425266266, -0.12745895981788635, -0.7320829629898071, 0.7125722765922546, -0.5961803793907166, -0.34326231479644775, -0.1742425411939621, 0.34707504510879517, 0.03862195834517479, 0.16172833740711212, 0.4154624044895172, 0.6264356374740601, 0.4626193344593048, -0.5907180309295654, 0.25181323289871216, -0.02121034264564514, -0.7580498456954956, 0.9059717655181885, -0.5422530174255371, 0.004803463350981474, -0.1711747646331787, 0.3589816093444824, -0.9305799603462219, -0.20571422576904297, -0.17436930537223816, -0.1641041785478592, 0.19095571339130402, -0.3531019389629364, -0.4976513981819153, -0.4365653097629547, 0.13008590042591095, 0.6973196268081665, 0.3751559853553772, -0.6576838493347168, 0.4473223090171814, 0.2977369725704193, 0.03496274724602699, -1.0283639430999756, -0.8327180743217468, 0.04710954800248146, -0.4881846308708191, -0.815662682056427, -0.14803265035152435, 0.17972829937934875, -0.6798200011253357, -0.3022218346595764, -0.07549312710762024, -0.009428467601537704, 0.3572583794593811, 0.00003028803621418774, 0.027836259454488754, -0.20543642342090607, 0.30462121963500977, -0.36369478702545166, 0.22085334360599518, 0.13007596135139465, -0.09383594989776611, 0.3965369164943695, -0.3392808735370636, -0.5397458672523499, -0.21604575216770172, 0.20293352007865906, 0.8433443307876587, -0.4996914267539978, 0.6223605275154114, 0.5939458608627319, -0.16507475078105927, -0.13360358774662018, -0.8831791877746582, -0.08521373569965363, -0.5277302265167236, 0.6921821236610413, -0.39683797955513, -1.05695378780365, 0.7145596146583557, 0.06317724287509918, -0.02313382551074028, 0.2794375419616699, 0.4308196008205414, -0.038921650499105453, 0.5309574007987976, 0.23700807988643646, -0.0027668881230056286, 0.06093137711286545, 0.00806285347789526, 0.05897412449121475, -0.9860236048698425, -0.18822737038135529, -0.5592963695526123, -0.4089530110359192, -0.9378626942634583, -0.45539551973342896, 0.33183127641677856, -0.19342614710330963, -0.4193427860736847, -0.17609824240207672, -0.054374609142541885, 0.7094545364379883, 0.3799811899662018, -0.14202122390270233, 0.532941997051239, -0.116981640458107, 0.08396481722593307, -0.04204467684030533, -0.6140698790550232, -0.6654256582260132, 0.9456874132156372, 0.6123210191726685, 0.8527928590774536, 0.5100167989730835, 0.1741265058517456, 0.13998179137706757, 0.21156007051467896, -0.5335168838500977, 0.6209627389907837, -0.6568741202354431, -0.9576159715652466, -0.23854243755340576, -0.4072011709213257, -0.6859764456748962, 0.41807475686073303, -0.10959676653146744, -0.8060289621353149, 0.04820820689201355, 0.06258189678192139, -0.015132131986320019, 0.5679541826248169, -0.7391694188117981, 0.7930353879928589, -0.4148784875869751, -0.5112998485565186, -0.23525215685367584, -0.36642634868621826, 0.631324827671051, -0.04033549502491951, 0.4557686150074005, -0.35373803973197937, -0.08802174776792526, 0.47641798853874207, 0.05296552926301956, 1.0519561767578125, -0.08363068103790283, -0.3931402564048767, 0.09694432467222214, 0.2570402920246124, 0.35724642872810364, -0.026389773935079575, -0.24114884436130524, 0.4327910542488098, 0.04191833734512329, -0.6810639500617981, -0.25337234139442444, 1.0047838687896729, -0.7259349226951599, -1.0710793733596802, -0.24498462677001953, -0.8743414282798767, -0.5293517708778381, 0.0032269181683659554, -0.05282653495669365, 0.43445318937301636, -0.3194032609462738, 0.18598544597625732, 0.6385663151741028, -0.7472280263900757, 0.33601847290992737, 0.7088782787322998, 0.030237136408686638, 0.14135690033435822, 0.6689890027046204, 0.2010699361562729, 0.6068819761276245, 0.18919284641742706, 0.24377481639385223, -0.44974595308303833, -0.6313815712928772, -0.3689132332801819, 0.28672677278518677, -1.0418951511383057, 0.30054429173469543, -0.2441757619380951, 0.2727801501750946, -0.4569433033466339, -0.18473714590072632, -0.09026893973350525, -0.26713913679122925, -0.1752414107322693, 0.0026554781943559647, 0.20649774372577667, 1.073416829109192, -0.08716689795255661, 0.15253017842769623, -0.6034442782402039, -0.044840648770332336, 0.36463311314582825, 0.5234968662261963, 0.3935129642486572, -0.5815613269805908, -0.12029045075178146, -0.14453348517417908, -0.016303736716508865, -0.813734233379364, -0.026140710338950157, -0.1816122829914093, 0.7852684259414673, 0.7317492961883545, 0.08272157609462738, 0.39670100808143616, -0.2931954264640808, 1.062636375427246, -0.012171595357358456, -0.8691862225532532, 0.16549457609653473, -0.5011917948722839, 0.7263485789299011, 0.2182370275259018, 0.561672031879425, -0.8696060180664062, -0.40948620438575745, -0.29815974831581116, -0.543842613697052, 0.6074302196502686, -0.22292457520961761, 0.638823390007019, -0.25535663962364197, -0.09661772102117538, 0.18742671608924866, -0.01343159843236208, -0.7787379026412964, -0.09175073355436325, -0.00967404805123806, 0.3216860294342041, -0.18250282108783722, -0.5084009170532227, -0.24639663100242615, -0.03836137056350708, 0.338664710521698, 0.13255317509174347, -0.21526426076889038, -0.142548605799675, -0.36158427596092224, -0.023771999403834343, 0.5820977091789246, 0.9353132843971252, 1.0951745510101318, -0.0811782255768776, 0.10108288377523422, 0.7982981204986572, -0.3010993003845215, -0.10847534239292145, -0.1654680222272873, 0.157974511384964, -0.31228160858154297, 0.45172521471977234, 0.7068461179733276, 0.07309197634458542, -0.8501089215278625, 0.23191046714782715, 0.09646379947662354, 0.020049087703227997, -0.33409732580184937, -0.050718195736408234, 0.3930289149284363, 0.294415682554245, 0.4111831486225128, -0.28402599692344666, -0.2046457678079605, -0.7846609950065613, -0.12682509422302246, 0.7779626846313477, -0.11597238481044769, 0.1117168515920639, 0.4768456816673279, 0.35986024141311646, 0.034174371510744095, 0.7027671337127686, 0.08199414610862732, -0.580878496170044, 0.6894103288650513, 0.5367347598075867, 0.40041983127593994, -0.13180658221244812, 0.21130013465881348, 0.21098078787326813, 0.38164666295051575, 0.22168093919754028, -0.09761188179254532, -0.09581532329320908, -0.9634578824043274, -0.609470784664154, -0.4513459801673889, -0.41059064865112305, 0.3744502365589142, -0.644259512424469, -0.0004370307724457234, -0.36334988474845886, -0.01045216340571642, -0.25331977009773254, 0.10533268004655838, -0.8622046113014221, 0.2890388071537018, 0.33112987875938416, 1.0763423442840576, -0.9364709258079529, 0.5584875345230103, 0.6315991282463074, -0.09161226451396942, -0.5263683795928955, -0.05898680537939072, 0.33756929636001587, -1.1387181282043457, 1.0364837646484375, -0.036120012402534485, -0.02721140719950199, -0.4331897497177124, -0.26524102687835693, -0.8156816363334656, 1.024068832397461, 0.08912772685289383, -0.5247665047645569, 0.23956987261772156, 0.5045815110206604, 0.5674479603767395, -0.2076488584280014, 0.30285900831222534, 0.7325474619865417, 0.4898546040058136, 0.09725145250558853, -1.256322979927063, 0.3141076862812042, 0.08462990820407867, 0.16899551451206207, -0.11509961634874344, -0.844059944152832, 0.6774942278862, -0.2551892399787903, -0.06056308373808861, 0.03578070178627968, 0.5857158899307251, 0.3493494987487793, 0.3321981430053711, 0.5150094032287598, 0.4369920492172241, 0.7564986944198608, -0.19883345067501068, 1.1070001125335693, -0.03823878988623619, 0.00835750438272953, 0.958246648311615, -0.3463095724582672, 0.8090393543243408, 0.3424449563026428, -0.1281527429819107, 0.18436665832996368, 0.4939403831958771, -0.0497567281126976, -0.028354713693261147, 0.5823495984077454, -0.44622036814689636, -0.2559327781200409, -0.5168473124504089, -0.401210755109787, 0.8312568664550781, 0.4436485469341278, -0.4383973479270935, -0.2105637639760971, -0.015080850571393967, 0.22753475606441498, 0.2361169010400772, -0.5409851670265198, 0.42747336626052856, 0.07527991384267807, -0.7903198599815369, 0.7013677954673767, -0.06063909828662872, 0.8237319588661194, -0.47075155377388, 0.3099024295806885, -0.4169863164424896, -0.04744841158390045, -0.15899886190891266, -1.0290433168411255, 0.20453189313411713, 0.11267145723104477, 0.1893204003572464, -0.15455348789691925, 0.6693181991577148, -0.11338984966278076, -0.24360941350460052, 0.11819037795066833, 0.49713239073753357, 0.21242231130599976, 0.11083019524812698, -0.28275907039642334, 0.5428947806358337, -0.05623873695731163, 0.04261968657374382, 0.3265698552131653, 0.5316100120544434, -0.18846668303012848, 0.7419249415397644, 0.3478626012802124, 0.12197022885084152, -0.19183725118637085, 0.05811809375882149, 0.31646040081977844, -0.5234484672546387, -0.16205817461013794, -0.7352489829063416, 0.23461247980594635, -0.034880153834819794, -0.4176618754863739, 0.6584091782569885, 0.09867104142904282, 1.1451468467712402, -0.19507162272930145, 0.8128386735916138, 0.042584359645843506, 0.125740647315979, -0.6066641211509705, 0.7497924566268921, -0.6927353143692017, 0.5003170967102051, -0.14440055191516876, -0.7350079417228699, -0.006467410828918219, 0.30447855591773987, -0.6880953907966614, 0.3020328879356384, 0.5737011432647705, 0.746025562286377, 0.0677131861448288, 0.32488110661506653, 0.5766671299934387, 0.35092148184776306, 0.13650764524936676, 0.5718905925750732, 1.1642073392868042, 0.4365265965461731, 0.5523382425308228, -0.2858024835586548, -0.09252245724201202, -0.016304994001984596, -1.1153240203857422, -0.8229267001152039, -0.6283386945724487, -0.09047727286815643, -0.11759531497955322, -0.15263225138187408, 0.6758721470832825, 0.5548246502876282, -0.6398867964744568, -0.45728325843811035, 0.601215660572052, 0.2458580881357193, -0.06784500926733017, -0.23188693821430206, 0.1727706491947174, -0.14485672116279602, -0.9444338083267212, 0.1292775571346283, 0.020833857357501984, -0.03662480041384697, -0.5104944109916687, -0.09247355908155441, 0.11127359420061111, 0.0653303787112236, 0.6774986982345581, 0.4031761586666107, -1.0276813507080078, -0.28662365674972534, -0.029819335788488388, 0.02360629476606846, -0.335330069065094, 0.8960978984832764, -0.3920261263847351, 0.35682231187820435, 0.5212221145629883, 0.5552124381065369, 0.15248824656009674, -0.2581060230731964, 0.603638768196106, -0.5910615921020508, 0.06306049972772598, 0.10186130553483963, 0.3791836202144623, 0.5154962539672852, -0.17226243019104004, 0.3586423695087433, -0.003981639631092548, -0.5598741769790649, -0.5499492287635803, 0.6143329739570618, -0.8921814560890198, -0.6722171902656555, 1.4881901741027832, 0.05766981095075607, 0.10642475634813309, -0.15689390897750854, 0.09689198434352875, -0.03341593220829964, 0.061656828969717026, 0.5676376819610596, 0.9589016437530518, 0.22410421073436737, -0.16307739913463593, -0.8837143182754517, 0.31569167971611023, 0.5780308842658997, -0.18341495096683502, 0.13943953812122345, 0.6154568791389465, 0.618269145488739, -0.007224140223115683, 0.5123317241668701, -0.11035273969173431, 0.32310909032821655, -0.4178381860256195, -0.3234083652496338, -0.16488797962665558, 0.18280012905597687, -0.27852755784988403, 0.06938797980546951, 0.44301506876945496, 0.20743416249752045 ]
http://arxiv.org/abs/2405.06694v1
http://arxiv.org/pdf/2405.06694v1
SUTRA: Scalable Multilingual Language Model Architecture
2024-05-07T20:11:44
2024-05-07T20:11:44
Abhijit Bendale, Michael Sapienza, Steven Ripplinger, Simon Gibbs, Jaewon Lee, Pranav Mistry
cs.CL
cs.CL, cs.AI
In this paper, we introduce SUTRA, multilingual Large Language Model architecture capable of understanding, reasoning, and generating text in over 50 languages. SUTRA's design uniquely decouples core conceptual understanding from language-specific processing, which facilitates scalable and efficient multilingual alignment and learning. Employing a Mixture of Experts framework both in language and concept processing, SUTRA demonstrates both computational efficiency and responsiveness. Through extensive evaluations, SUTRA is demonstrated to surpass existing models like GPT-3.5, Llama2 by 20-30% on leading Massive Multitask Language Understanding (MMLU) benchmarks for multilingual tasks. SUTRA models are also online LLMs that can use knowledge from the internet to provide hallucination-free, factual and up-to-date responses while retaining their multilingual capabilities. Furthermore, we explore the broader implications of its architecture for the future of multilingual AI, highlighting its potential to democratize access to AI technology globally and to improve the equity and utility of AI in regions with predominantly non-English languages. Our findings suggest that SUTRA not only fills pivotal gaps in multilingual model capabilities but also establishes a new benchmark for operational efficiency and scalability in AI applications.
[ 0.04617435857653618, -0.5639147162437439, 0.304000586271286, 0.6509858965873718, -0.1682915836572647, -0.002353150863200426, -0.3817199170589447, -0.4568975567817688, -0.02003237046301365, 0.35369575023651123, -0.39457571506500244, -0.5457547307014465, -0.3365929424762726, 0.06246097758412361, -0.2455911487340927, 0.5469778776168823, 0.06970135867595673, 0.36534035205841064, -0.5141058564186096, -0.26434141397476196, -0.6424142718315125, -0.3852916955947876, -0.6422294974327087, -0.04935932159423828, 0.3313713073730469, 0.2960420548915863, 0.4007784426212311, 0.722987174987793, 0.5016832947731018, 0.3768177032470703, 0.12492617964744568, 0.204107403755188, -0.22240526974201202, 0.14269722998142242, 0.1760566234588623, -0.7175219058990479, -0.794585645198822, -0.4450681209564209, 0.8882284760475159, 0.5269963145256042, -0.38824132084846497, 0.026126965880393982, -0.26931634545326233, 0.6637442708015442, -0.5561345219612122, 0.47837427258491516, -0.6145229935646057, 0.01652098074555397, -0.1684156060218811, 0.035801347345113754, -0.7277636528015137, 0.006051279604434967, -0.1928575038909912, -0.8700896501541138, -0.3966975510120392, -0.1889876127243042, 0.4519360363483429, 0.4498286247253418, -0.3722909390926361, -0.3349792957305908, -0.5774660110473633, 0.820551872253418, -0.5514448285102844, 0.7090461850166321, 0.4294261336326599, 0.4010678231716156, 0.19775745272636414, -0.6662444472312927, -0.5863093137741089, -0.29111143946647644, -0.09581661224365234, 0.12743832170963287, 0.20770609378814697, -0.15838105976581573, -0.025691388174891472, 0.39101314544677734, -0.8056929707527161, 0.22280429303646088, -0.34352362155914307, -0.2034863829612732, 0.6578922867774963, 0.1387690007686615, 0.7495855689048767, -0.26713284850120544, -0.2543921172618866, 0.08094477653503418, -0.8844738602638245, 0.07864045351743698, 0.3214776813983917, 0.38057905435562134, -0.2357919067144394, 0.4332820475101471, -0.019059762358665466, 0.8983221650123596, -0.6552662253379822, -0.533947229385376, 0.19107766449451447, -0.5002118349075317, -0.21821610629558563, 0.05056055635213852, 0.8032681941986084, -0.11828362941741943, 0.1659853309392929, -0.0878334566950798, 0.11735305935144424, 0.008429656736552715, 0.3366631865501404, -0.8455039262771606, -0.00004653052383218892, 0.47529181838035583, -0.3704901337623596, -0.17098598182201385, -0.3936459422111511, -0.5388085842132568, -0.47558078169822693, -0.3022400438785553, 0.008517366833984852, -0.7383477687835693, -0.5201491713523865, 0.20766274631023407, 0.21138028800487518, 0.38863441348075867, 0.38641202449798584, -0.8417930603027344, 0.10138421505689621, 0.8796106576919556, 0.8713394403457642, -0.1279679387807846, -0.5681983828544617, -0.16593798995018005, 0.34534716606140137, -0.6017763018608093, 0.6002439260482788, -0.6315788626670837, -0.28616198897361755, 0.14867688715457916, -0.1311129778623581, -0.01898578554391861, -0.1440991461277008, 0.4702689051628113, -0.5761575102806091, 0.1030365377664566, -0.022053640335798264, -0.5251139402389526, -0.3475194275379181, 0.4851486086845398, -0.7099720239639282, 0.5489968061447144, -0.3856962323188782, -0.5030051469802856, 0.27760443091392517, -0.8531530499458313, -0.5005108118057251, 0.3008597195148468, -0.27956080436706543, -0.3319883942604065, -0.2658659815788269, 0.23131783306598663, 0.3553837835788727, -0.30305641889572144, 0.26983439922332764, -0.21947719156742096, -0.2827633023262024, 0.12000808864831924, -0.3807496130466461, 0.8845866918563843, 0.22598831355571747, 0.012204027734696865, 0.3798322081565857, -0.9779208898544312, -0.005299370735883713, 0.12281704694032669, -0.37003225088119507, -0.4510938823223114, 0.1495523303747177, 0.054419636726379395, 0.23185330629348755, 0.42534908652305603, -0.3386566638946533, 0.3948281407356262, -0.17728069424629211, 0.5917426943778992, 0.6649490594863892, -0.41826024651527405, 0.43821173906326294, 0.05405560880899429, 0.5408604741096497, 0.10954321920871735, -0.010373410768806934, -0.6943135261535645, -0.4369831085205078, -0.8275353908538818, -0.7183994054794312, 0.16696520149707794, 0.5450940728187561, -0.6491907238960266, -0.11441495269536972, -0.5563827753067017, -0.6363746523857117, -0.9083437323570251, 0.20249652862548828, 0.6210805177688599, 0.10171724110841751, 0.33543336391448975, 0.03626929968595505, -0.2822021543979645, -0.8923853635787964, -0.4681299924850464, -0.16770271956920624, 0.17516157031059265, 0.4639255106449127, 0.1714208722114563, -0.294291615486145, 0.473537415266037, -0.48070669174194336, -0.33220043778419495, -0.32253536581993103, 0.07517489045858383, 0.0738104060292244, 0.4048677980899811, 0.281507670879364, -1.1321897506713867, -0.6064566969871521, 0.4062053859233856, -1.0165289640426636, 0.4341200292110443, -0.09393288940191269, -0.14393535256385803, 0.2238113433122635, 0.5366625189781189, -0.8847004771232605, -0.03214653208851814, 0.35738205909729004, -0.03623524680733681, 0.395525723695755, -0.4318995773792267, 0.1310015618801117, -1.5254898071289062, 0.1354147046804428, -0.25673359632492065, -0.08787565678358078, -0.7522968053817749, 0.598761260509491, 0.5075671076774597, -0.2748224139213562, -0.5156964063644409, 0.4517412781715393, -0.505696713924408, -0.35914283990859985, -0.09985845535993576, 0.27428850531578064, -0.12899337708950043, 0.5506342649459839, -0.053547076880931854, 0.9882232546806335, 0.6055426001548767, -0.7416423559188843, 0.36739230155944824, 0.2841925024986267, -0.5124818682670593, 0.509675920009613, -0.5742747783660889, 0.13262909650802612, -0.1748242974281311, 0.3157145082950592, -0.9991737008094788, -0.4599917531013489, -0.150746688246727, -0.5420129895210266, 0.3523469865322113, -0.11382104456424713, -0.32588088512420654, -0.11586181074380875, -0.04811131954193115, 0.7749356627464294, 0.19734524190425873, -0.2558943033218384, 0.7079969644546509, 0.4967632293701172, -0.22737206518650055, -1.0303081274032593, -0.6616663336753845, 0.1667007952928543, -0.12074516713619232, -0.6085399985313416, 0.23773513734340668, -0.044234514236450195, -0.3757375478744507, -0.06217438355088234, 0.4835019111633301, -0.3154972195625305, 0.12219267338514328, 0.11950625479221344, 0.29410886764526367, -0.3655215799808502, 0.6147748231887817, 0.09477383643388748, -0.2793613374233246, -0.13049377501010895, -0.6752633452415466, 0.6758938431739807, -0.3750031888484955, -0.5029205679893494, -0.5485008358955383, 0.2608312666416168, 0.9971691966056824, -0.7281202077865601, 0.8491816520690918, 0.57359379529953, -0.4910206198692322, -0.09531394392251968, -0.2132846713066101, 0.4236701428890228, -0.4056183099746704, 0.7524142861366272, -0.6590469479560852, -0.7151018977165222, 0.4751700162887573, 0.07377228140830994, 0.3008994460105896, 0.48481234908103943, 0.8821989893913269, 0.2602477967739105, 0.7229625582695007, 0.8137791156768799, -0.2014864832162857, 0.17095638811588287, -0.09247885644435883, 0.3717890679836273, -0.7009134888648987, -0.26336851716041565, -0.40197983384132385, 0.02673589624464512, -0.8360832333564758, -0.5950848460197449, 0.1791101098060608, -0.0940244048833847, -0.07183347642421722, 0.3118930160999298, -0.3519155979156494, 0.4494037628173828, 0.28989389538764954, -0.2997840344905853, 0.4921340346336365, -0.29843199253082275, -0.20178371667861938, 0.0038069996517151594, -0.44393351674079895, -0.4817091226577759, 1.204099178314209, 0.14425982534885406, 0.39132601022720337, 0.5287577509880066, 0.15069736540317535, 0.1668025255203247, 0.2550100088119507, -0.7901426553726196, 0.4529469907283783, -0.1834242194890976, -0.5780371427536011, -0.49047350883483887, -0.3232782781124115, -0.5997268557548523, 0.6799991130828857, 0.14903128147125244, -0.45960578322410583, -0.26545023918151855, -0.11259271949529648, -0.17551228404045105, 0.27691468596458435, -0.6166269183158875, 0.9138041138648987, -0.19581842422485352, -0.38806796073913574, -0.7466977834701538, -0.32416945695877075, 0.6660282611846924, -0.2081688493490219, 0.5198515057563782, -0.08640233427286148, -0.27078762650489807, 0.3507324159145355, -0.1311837136745453, 0.6245141625404358, 0.047523513436317444, -0.2546590268611908, 0.07939600944519043, -0.0020298638846725225, 0.12414109706878662, 0.22746135294437408, -0.23564152419567108, 0.2612683176994324, -0.27646034955978394, -0.5682412981987, -0.541498064994812, 0.8619965314865112, -1.0339269638061523, -0.4125158190727234, -0.14632189273834229, -0.7336719036102295, -0.16399823129177094, 0.40720388293266296, -0.05871623754501343, 0.49234718084335327, -0.2908335030078888, 0.10187622159719467, 0.4996415376663208, -0.5690978765487671, 0.4609825015068054, 0.6515948176383972, -0.3390534222126007, -0.40713486075401306, 1.1910971403121948, 0.10241647809743881, 0.22211314737796783, 0.8725839257240295, -0.09587885439395905, -0.3096061050891876, -0.3832988142967224, -0.8453864455223083, 0.1762995719909668, -0.8491644263267517, 0.07255344092845917, -0.8938260674476624, -0.11551494896411896, -0.4425312876701355, 0.0379602275788784, -0.5965442061424255, -0.43988096714019775, 0.09072115272283554, -0.11106672137975693, 0.11154250800609589, 0.9565139412879944, 0.2529628574848175, 0.05245267599821091, -0.6811380386352539, 0.18791989982128143, 0.3391242027282715, 0.36479052901268005, 0.18966254591941833, -0.22105571627616882, -0.3641016483306885, -0.013233767822384834, -0.13753218948841095, -0.5226245522499084, 0.3407958745956421, 0.28973448276519775, 0.3762385845184326, 0.48037007451057434, -0.2625763416290283, 0.8471038937568665, -0.8527867794036865, 0.8355681896209717, 0.02222263813018799, -1.026042103767395, 0.30173808336257935, -0.4993589520454407, 0.20399156212806702, 0.17806603014469147, 0.47055965662002563, -0.8437319993972778, -0.20313377678394318, -0.15887996554374695, -0.8442947268486023, 0.5990849137306213, -0.07687053829431534, 0.26939907670021057, 0.201024129986763, 0.35748937726020813, 0.27310794591903687, 0.398281455039978, -0.9910022020339966, -0.09866982698440552, -0.18284845352172852, -0.1107177585363388, -0.22476573288440704, -0.2334609478712082, 0.1339331418275833, -0.18869240581989288, 0.6290246844291687, -0.2778097689151764, 0.4047195315361023, -0.2266666144132614, -0.4395695924758911, 0.2142612636089325, 0.2417880743741989, 1.1355457305908203, 0.8931222558021545, 0.33281210064888, -0.04478517919778824, 0.13142554461956024, -0.3647244870662689, 0.13557370007038116, -0.14013978838920593, -0.01604016125202179, -0.32571303844451904, 0.6875195503234863, 0.8510798811912537, 0.25723445415496826, -0.7232377529144287, 0.44149863719940186, -0.314383327960968, 0.1491776704788208, -0.6091238260269165, -0.06501898169517517, 0.49727684259414673, 0.0023053938057273626, 0.06639496982097626, -0.0062742638401687145, -0.014223411679267883, -0.39637577533721924, 0.16146937012672424, 0.4247928261756897, -0.36522170901298523, -0.28074976801872253, 0.6807149052619934, 0.11582958698272705, -0.3977928161621094, 0.7951740026473999, -0.13506834208965302, -0.41241177916526794, 0.4729539752006531, 0.5933388471603394, 0.7471498847007751, -0.3602646291255951, 0.22443516552448273, 0.42790353298187256, 0.2742641866207123, 0.2541303336620331, 0.15257351100444794, -0.18353717029094696, -0.6898700594902039, -0.7283340096473694, -0.6398224830627441, -0.4150843024253845, -0.038200248032808304, -0.42307737469673157, 0.2888769209384918, -0.24637265503406525, 0.4512580335140228, -0.06991088390350342, -0.09062010794878006, -0.35902538895606995, 0.06091250479221344, 0.08586402237415314, 0.871894896030426, -0.6870478987693787, 1.0336949825286865, 0.7434076070785522, -0.4847885072231293, -0.7480461001396179, -0.019461121410131454, -0.058491356670856476, -1.0034866333007812, 0.5919020175933838, 0.35884538292884827, -0.10143931955099106, -0.08364152908325195, -0.17137716710567474, -0.7976486086845398, 1.1504853963851929, 0.3902044892311096, -0.2584257423877716, 0.13367007672786713, 0.3283577561378479, 0.6312158107757568, -0.35084041953086853, 0.4623717963695526, 0.22236603498458862, 0.34211859107017517, 0.0696321427822113, -0.6963021755218506, -0.24801041185855865, -0.5767125487327576, 0.006558941211551428, 0.2062629908323288, -0.9813618063926697, 1.1084336042404175, -0.1893678605556488, 0.0024524645414203405, 0.07259698957204819, 0.7521730661392212, 0.10856827348470688, -0.04107900708913803, 0.18356773257255554, 0.5899276733398438, 1.079712152481079, -0.02249663509428501, 1.3211536407470703, -0.6348685622215271, 0.1037067323923111, 0.8471406698226929, -0.2546442449092865, 1.0929551124572754, 0.06855849921703339, -0.2263800948858261, 0.722294807434082, 0.6854733228683472, 0.4816993772983551, 0.42788010835647583, 0.04807183891534805, -0.3101247549057007, -0.36757931113243103, -0.16193637251853943, -0.4167696237564087, 0.7147934436798096, 0.4722476601600647, 0.10402650386095047, 0.14675886929035187, -0.05276503786444664, 0.021081825718283653, -0.06603235751390457, -0.2695992887020111, 0.8329360485076904, 0.09312884509563446, -0.843424379825592, 0.4014107584953308, 0.26088306307792664, 0.35402214527130127, -0.736397385597229, -0.05296935513615608, -0.20980693399906158, 0.537567675113678, -0.10302392393350601, -0.390983521938324, 0.21057599782943726, -0.05065499246120453, -0.01715768314898014, -0.28100699186325073, 0.6888543963432312, -0.6416382193565369, -0.7457424402236938, 0.34310826659202576, 0.5173197388648987, 0.14298966526985168, 0.20188771188259125, -0.6127412915229797, 0.06521473079919815, -0.08283790200948715, 0.012264763005077839, 0.2663658559322357, 0.5340483784675598, -0.0633312538266182, 1.0594741106033325, 0.7337026596069336, 0.04572223871946335, 0.04483368620276451, 0.0772603303194046, 0.6166250109672546, -0.5556378960609436, -0.7895931005477905, -0.9950284361839294, 0.6131696105003357, -0.16535314917564392, -0.36645132303237915, 0.8061175346374512, 0.513496458530426, 0.7994452118873596, -0.03741201013326645, 0.7698626518249512, 0.19479043781757355, 0.10832908749580383, -0.4371092915534973, 0.9691618084907532, -0.9106525778770447, 0.21041087806224823, -0.22690723836421967, -0.6390864849090576, -0.4327230155467987, 0.6851276755332947, -0.18815958499908447, 0.007671714760363102, 0.5695923566818237, 0.4328085482120514, 0.0456087663769722, 0.1748785674571991, 0.4732186198234558, 0.3137441873550415, 0.6008052229881287, 0.47899556159973145, 0.6154669523239136, -0.2796258330345154, 0.3126222491264343, 0.10331092774868011, -0.1840018332004547, -0.18119585514068604, -0.6873041391372681, -0.7436164021492004, -0.7066340446472168, 0.006680532358586788, 0.07340197265148163, -0.145788311958313, 0.7929097414016724, 0.5890244841575623, -0.7121807336807251, -0.5257900953292847, -0.2157493531703949, 0.4424280524253845, -0.2964635491371155, -0.12931928038597107, 0.3864091634750366, -0.7862910628318787, -0.8705609440803528, 0.4544757902622223, 0.736799955368042, -0.3669644296169281, -0.7285264730453491, -0.251380056142807, -0.21979521214962006, 0.06440295279026031, 0.6893579363822937, 0.000028378181013977155, -0.7361993789672852, 0.1942577362060547, 0.22460757195949554, -0.33317893743515015, 0.052380602806806564, 0.8138099908828735, -0.37438929080963135, 0.645171046257019, 0.3188501298427582, 0.9419835209846497, 0.32356521487236023, -0.3483896553516388, 0.7388357520103455, -0.4833530783653259, 0.47824645042419434, 0.014082567766308784, 0.5008646845817566, 0.5475926995277405, -0.3466006815433502, 0.35883358120918274, 0.09606633335351944, -0.33838218450546265, -0.758875846862793, 0.43995147943496704, -0.5141170620918274, -0.42582473158836365, 1.0361089706420898, -0.3987855911254883, -0.30401721596717834, -0.02778736688196659, 0.0639614686369896, 0.23889273405075073, 0.07054761797189713, 0.673212468624115, 1.010980248451233, 0.18373386561870575, -0.19064441323280334, -0.6079826354980469, 0.478259801864624, 0.4867192804813385, -1.0414793491363525, 0.22518843412399292, 0.25908514857292175, -0.0691421627998352, 0.40583810210227966, 0.8005232214927673, -0.15812928974628448, 0.36339160799980164, 0.09044389426708221, 0.16261602938175201, -0.07182932645082474, -0.6255201697349548, -0.26572179794311523, 0.21870294213294983, 0.09821875393390656, -0.178622305393219 ]
http://arxiv.org/abs/2405.04620v2
http://arxiv.org/pdf/2405.04620v2
Folded context condensation in Path Integral formalism for infinite context transformers
2024-05-07T19:05:26
2024-05-10T02:18:27
Won-Gi Paeng, Daesuk Kwon
hep-ph
hep-ph, cs.AI, cs.CL, cs.LG, cs.NE
This short note is written for rapid communication of long context training and to share the idea of how to train it with low memory usage. In the note, we generalize the attention algorithm and neural network of Generative Pre-Trained Transformers and reinterpret it in Path integral formalism. First, the role of the transformer is understood as the time evolution of the token state and second, it is suggested that the all key-token states in the same time as the query-token can attend to the attention with the query token states. As a result of the repetitive time evolution, it is discussed that the token states in the past sequence meats the token states in the present sequence so that the attention between separated sequences becomes possible for maintaining infinite contextual information just by using low memory for limited size of sequence. For the experiment, the $12$ input token window size was taken and one GPU with $24$GB memory was used for the pre-training. It was confirmed that more than $150$ length context is preserved. The sampling result of the training, the code and the other details will be included in the revised version of this note later.
[ -0.27734291553497314, -0.48050037026405334, 0.6237921118736267, 0.31377875804901123, -0.46695101261138916, -0.4277258515357971, -0.3255341351032257, -0.20223721861839294, 0.3762533962726593, 0.49291205406188965, -0.6598625779151917, -0.22189153730869293, -0.2660202980041504, -0.2090054154396057, -0.5036421418190002, 1.1917706727981567, -0.1211504340171814, -0.0853821188211441, -0.21488246321678162, -0.3767279088497162, -0.24826988577842712, -0.4895329773426056, -0.6894252300262451, -0.07255282253026962, 0.6096028685569763, 0.07148771733045578, 0.18971045315265656, 0.44475075602531433, 0.4323248267173767, 0.2225489616394043, -0.014027387835085392, -0.318302184343338, -0.6577007174491882, 0.04192226752638817, -0.11522582918405533, -0.42081841826438904, -0.592840850353241, 0.07934894412755966, 0.8446258306503296, 0.6256873607635498, 0.06102852150797844, 0.29579952359199524, 0.18048755824565887, 0.49578845500946045, -0.8081212043762207, 0.1571579873561859, -0.43328529596328735, 0.2314728945493698, -0.134014293551445, -0.5287296772003174, -0.6313022971153259, 0.0902305319905281, -0.011362285353243351, -0.5312109589576721, 0.422313392162323, -0.09807972609996796, 0.3734894394874573, 0.5316534042358398, -0.4366931915283203, -0.04723353683948517, -1.2403919696807861, 0.5978266000747681, -0.3314029574394226, 0.3308737874031067, -0.1384536772966385, 0.5866712331771851, -0.0059801447205245495, -1.1013374328613281, -0.5715473294258118, -0.17906180024147034, -0.14503662288188934, 0.41993674635887146, 0.24860791862010956, 0.4937892258167267, 0.6546919941902161, 0.48481929302215576, -0.25471892952919006, -0.2108396738767624, -0.501238226890564, -0.2450946569442749, 0.3135109543800354, 0.1060001328587532, 0.014162971638143063, -0.017886489629745483, -0.7507307529449463, -0.012647468596696854, -0.7584539651870728, 0.0856809988617897, 0.020613709464669228, -0.1038438081741333, -0.3809381127357483, 0.29819974303245544, -0.12872856855392456, 0.6698876619338989, -0.10555492341518402, 0.022601721808314323, 0.048691075295209885, -0.39136964082717896, -0.3669307231903076, -0.003988849464803934, 0.6516759395599365, 0.17178551852703094, 0.12032242119312286, -0.4789953827857971, -0.030138524249196053, 0.010665211826562881, 0.6582303643226624, -0.7589418292045593, 0.012823852710425854, 0.012227339670062065, -0.35499271750450134, 0.23359106481075287, 0.19026945531368256, -0.6035808324813843, 0.302168071269989, -0.25908276438713074, 0.15433336794376373, -0.16345684230327606, 0.3110928535461426, 0.009225615300238132, -0.06781352311372757, 0.5381535887718201, 0.32006266713142395, -1.0615973472595215, 0.5673877596855164, 0.7398048043251038, 0.8477516770362854, -0.12093997001647949, -0.28135788440704346, -0.5140102505683899, 0.3424704372882843, -0.12313990294933319, 0.5404295921325684, -0.266152024269104, -0.45930901169776917, 0.010045305825769901, 0.04683298245072365, -0.2634585201740265, -0.15242403745651245, 0.7121966481208801, -0.713304340839386, 0.25068923830986023, 0.058986637741327286, -0.31523749232292175, -0.17154692113399506, 0.16348040103912354, -0.5781142115592957, 0.7286759614944458, 0.36744463443756104, -0.7499883770942688, 0.41741180419921875, -1.045451045036316, -0.634375810623169, 0.2552802562713623, -0.23900742828845978, -0.33553263545036316, 0.1744372844696045, 0.12148376554250717, 0.2956084907054901, -0.08057421445846558, 0.11379847675561905, -0.15309171378612518, -0.8882724642753601, -0.021884847432374954, -0.44794973731040955, 0.808222234249115, -0.07547715306282043, -0.539995551109314, 0.29025745391845703, -0.5011182427406311, -0.1726410984992981, -0.007832285016775131, -0.3600073456764221, -0.04502132162451744, -0.06886899471282959, 0.16134116053581238, 0.24195826053619385, 0.13735447824001312, -0.4971316158771515, 0.40887153148651123, -0.5978862643241882, 0.79323410987854, 0.6624625325202942, 0.0884656310081482, 0.7168554663658142, 0.20563092827796936, 0.5425968170166016, 0.26924288272857666, 0.607738196849823, -0.4983806312084198, -0.2364160269498825, -1.1119681596755981, 0.03264198824763298, 0.19876042008399963, 0.2653471827507019, -0.3071691393852234, 0.5523510575294495, -0.6004611253738403, -0.04029180109500885, -0.04676898568868637, -0.24742119014263153, 0.1295248419046402, 0.6071252822875977, 0.5029879808425903, -0.40899893641471863, -0.6027546525001526, -0.9424447417259216, -0.026314927265048027, 0.026862172409892082, -0.1945217251777649, 0.6162877082824707, 0.545528769493103, -0.5076316595077515, 1.2812633514404297, -0.4963623881340027, -0.25636884570121765, -0.011246057227253914, -0.020089762285351753, 0.13977937400341034, 0.5950210690498352, 0.5996213555335999, -0.8405740261077881, -0.2641233503818512, -0.21703840792179108, -0.5117996335029602, 0.5337622761726379, -0.28578612208366394, -0.2983010709285736, 0.13942809402942657, 0.6311185359954834, -0.767977237701416, 0.7361550331115723, 0.26724356412887573, 0.006835991982370615, 0.10729173570871353, -0.2140514850616455, -0.06849393248558044, -1.3933433294296265, 0.2311020940542221, -0.20234568417072296, -0.31248271465301514, -0.48673152923583984, -0.01603749953210354, 0.35067859292030334, -0.14135460555553436, -0.6050618290901184, 0.6501075625419617, -0.4791911840438843, -0.1678147315979004, -0.2268466055393219, 0.09026427567005157, -0.3996264934539795, 0.887839674949646, -0.20122183859348297, 0.5640396475791931, 0.6017302870750427, -0.788583517074585, 0.3246769905090332, 0.1294754445552826, 0.08614541590213776, 0.3078179657459259, -0.5218020081520081, 0.4067438244819641, -0.3765624463558197, 0.7153672575950623, -0.9230735301971436, -0.04427620768547058, 0.6246240139007568, -0.15461134910583496, 0.45282116532325745, -0.2414272129535675, -0.14683525264263153, -0.619689404964447, -0.1606583595275879, 0.8152820467948914, 0.500568151473999, -0.48708295822143555, 0.7271746397018433, 0.13336727023124695, 0.34753450751304626, -0.6605472564697266, -0.5504544377326965, 0.03881978243589401, -0.313447505235672, -0.3339909017086029, 0.523396372795105, -0.23150429129600525, 0.18333490192890167, 0.0026613723021000624, -0.31544265151023865, -0.0066145495511591434, -0.044492438435554504, 0.39853090047836304, 0.11674661934375763, -0.34500133991241455, 0.05782098323106766, 0.1533309519290924, -0.30609726905822754, 0.1645885407924652, -0.7620789408683777, 0.5791080594062805, -0.13465559482574463, -0.2664199471473694, -0.17952324450016022, 0.32161110639572144, 0.6169659495353699, -0.03051580861210823, 0.6782919764518738, 0.6382028460502625, -0.4090471863746643, -0.06200907751917839, -0.3921969532966614, -0.2553202509880066, -0.4641396701335907, 0.30786243081092834, -0.25485265254974365, -0.9613355398178101, 0.827813446521759, -0.09803817421197891, -0.040714431554079056, 0.7811743021011353, 0.254261314868927, 0.01030751969665289, 0.6670995950698853, 0.9692087173461914, -0.2283196896314621, 0.5637591481208801, -0.641515851020813, 0.4470739960670471, -1.3132538795471191, -0.138501837849617, -0.15608060359954834, -0.5649817585945129, -0.4918452501296997, -0.393023282289505, 0.3680981993675232, 0.24376823008060455, -0.23734702169895172, 0.23695752024650574, -0.4596478044986725, 0.47994694113731384, 0.3334978222846985, 0.13622848689556122, -0.2646248936653137, -0.10810437798500061, 0.029090188443660736, 0.19437170028686523, -0.8202007412910461, -0.04620029032230377, 1.0339432954788208, 0.266477108001709, 0.7185405492782593, -0.2166549265384674, 0.8392610549926758, 0.08203446120023727, 0.5600271821022034, -1.1028387546539307, 0.5612847805023193, 0.19099164009094238, -0.44629472494125366, -0.36170753836631775, -0.2375270575284958, -0.6985269784927368, -0.09770576655864716, 0.28552737832069397, -0.7636428475379944, -0.03293602168560028, 0.3585537075996399, -0.4080461859703064, 0.08284436166286469, -0.5298128128051758, 0.9775213599205017, -0.1279987096786499, -0.2710539996623993, -0.15377724170684814, -1.0661317110061646, 0.32324644923210144, 0.15795502066612244, -0.4273257255554199, 0.4856310784816742, -0.09136959910392761, 1.061659812927246, -0.18652962148189545, 0.8186520934104919, -0.2405223399400711, 0.22223936021327972, 0.3636447787284851, -0.5030062794685364, 0.43406254053115845, 0.2597382962703705, 0.5798848271369934, 0.08003169298171997, -0.4425545632839203, -0.5573148131370544, -0.6671107411384583, 0.4913785755634308, -0.49145862460136414, -0.7672854661941528, -0.28336066007614136, -0.35576146841049194, -0.21587306261062622, 0.40152573585510254, 0.558438777923584, 0.5787995457649231, -0.2689475119113922, 0.45151466131210327, 0.5699588060379028, 0.3786184787750244, 0.8304861187934875, -0.05194511637091637, 0.26859238743782043, -0.2166106402873993, 0.21840541064739227, -0.044500987976789474, 0.005511963739991188, 0.5952373743057251, 0.13094700872898102, -0.30979007482528687, -0.2361762672662735, -0.2912617325782776, 0.2955978214740753, -0.8674781322479248, -0.01716409996151924, -0.7121755480766296, -0.5555387735366821, -0.38068968057632446, -0.1013108566403389, -0.4100271165370941, -0.2567446529865265, -0.28665852546691895, -0.025708941742777824, 0.11979518830776215, 0.6434684991836548, 0.41204777359962463, 0.6539773344993591, -0.6944409012794495, 0.2200925350189209, 0.19077140092849731, 0.5310479998588562, 0.21491999924182892, -0.4842735826969147, -0.673477053642273, 0.03043547086417675, -0.26492777466773987, -0.6214247345924377, -0.102119080722332, 0.24752706289291382, 0.752103865146637, 0.708224356174469, -0.10973895341157913, 0.5808953046798706, -0.7439256906509399, 0.8897700309753418, 0.3048226833343506, -0.8146899342536926, 0.4119192659854889, -0.16828596591949463, 0.5248813033103943, 0.46640992164611816, 0.48057815432548523, -0.6986035704612732, -0.14517858624458313, -0.7532593607902527, -1.0737049579620361, 0.8346653580665588, -0.0039101652801036835, 0.5504107475280762, -0.06256348639726639, 0.6432288885116577, 0.0005899554817005992, 0.0849306657910347, -0.7620913982391357, -0.40472689270973206, -0.37360623478889465, -0.09370586276054382, -0.3133603632450104, -0.610659122467041, -0.49678292870521545, -0.4918380081653595, 0.23458202183246613, -0.3109623193740845, 0.7356482148170471, 0.25662535429000854, -0.2050134539604187, 0.12787286937236786, 0.24134133756160736, 1.0808675289154053, 0.7622560262680054, -0.09518112987279892, 0.16912882030010223, 0.21889716386795044, -0.847362756729126, 0.18443724513053894, -0.09743628650903702, -0.11189143359661102, -0.31513404846191406, 0.28469836711883545, 1.2033973932266235, 0.5419681072235107, -0.04043552652001381, 0.559269368648529, -0.2513520121574402, -0.1454363465309143, -0.3945430815219879, 0.05818141624331474, 0.11067472398281097, -0.014352048747241497, 0.41885367035865784, 0.36723601818084717, 0.23513087630271912, -0.3578638434410095, 0.2945801913738251, 0.3267146944999695, -0.688447892665863, -0.4542331397533417, 0.8233209848403931, 0.30318981409072876, -0.45639392733573914, 0.7001911401748657, -0.05134505778551102, -0.6487639546394348, 0.4289105236530304, 0.7155146598815918, 1.2979063987731934, -0.06272546947002411, -0.16434116661548615, 0.30867093801498413, 0.1085033193230629, 0.058185745030641556, -0.2551112473011017, -0.9546724557876587, -0.44494274258613586, -0.3708980083465576, -0.6130289435386658, -0.1067563071846962, 0.22161167860031128, -0.4934055507183075, 0.00717094587162137, -0.41959163546562195, -0.06068313866853714, -0.3769456148147583, -0.32249873876571655, -0.6168613433837891, 0.2969107925891876, -0.024137554690241814, 0.8897634744644165, -0.7631329894065857, 0.8639338612556458, 0.5016543865203857, -0.21476447582244873, -0.625194251537323, 0.5483574271202087, -0.6450127363204956, -0.45707449316978455, 0.7602131366729736, 0.53376704454422, -0.37855780124664307, 0.1368253082036972, -0.423892617225647, -0.872970700263977, 1.0410312414169312, 0.24806223809719086, -0.47094032168388367, -0.2892035245895386, -0.0026347062084823847, 0.5172412395477295, -0.4630530774593353, 0.1505371332168579, 0.42848101258277893, 0.07297761738300323, 0.19244343042373657, -0.39498454332351685, 0.0192012470215559, -0.2744966745376587, 0.14556904137134552, 0.2718616724014282, -0.6650068759918213, 0.8155386447906494, 0.02338254451751709, -0.49470484256744385, 0.002753686625510454, 0.8831546902656555, -0.26749086380004883, 0.18046025931835175, 0.4935068190097809, 0.5920577049255371, 0.1287728250026703, -0.11496159434318542, 1.0844309329986572, -0.47274109721183777, 0.548466682434082, 0.8000210523605347, -0.0037915592547506094, 0.4252266585826874, 0.7416752576828003, -0.06745850294828415, 0.28663405776023865, 0.548564076423645, 0.3097078502178192, 0.5589418411254883, 0.12891224026679993, -0.3253687620162964, 0.18850067257881165, 0.3599992096424103, -0.4142514169216156, 0.3585466742515564, 0.18230865895748138, -0.37602463364601135, -0.19914111495018005, 0.21446102857589722, -0.3323115408420563, -0.4885837435722351, -0.4562867283821106, 0.6290613412857056, 0.2832432985305786, -0.89671790599823, 0.48578590154647827, -0.2728550434112549, 0.5570618510246277, -0.5619896650314331, 0.09551895409822464, -0.19346055388450623, 0.27392494678497314, -0.10057996213436127, -0.46465441584587097, 0.3835988938808441, -0.3392326533794403, -0.30201828479766846, -0.2603977620601654, 0.44792523980140686, -0.2305089235305786, -0.263380765914917, 0.2544132173061371, -0.22123268246650696, -0.05024554952979088, 0.01064770482480526, -0.35437729954719543, -0.20087163150310516, -0.3421635627746582, -0.42732077836990356, 0.09786912053823471, 0.05842291936278343, -0.14715659618377686, 0.3711952865123749, 0.21729949116706848, -0.11451473832130432, 0.3905734419822693, 0.1762446165084839, 0.8775042295455933, -0.8420498371124268, -0.9831966161727905, -0.8507611155509949, 0.5661265850067139, -0.09245512634515762, -0.3423460125923157, 0.5382871627807617, 0.7011092305183411, 0.8542061448097229, -0.28325337171554565, 0.46731144189834595, 0.10482207685709, -0.06343105435371399, -0.7085021138191223, 0.5419447422027588, -0.43885764479637146, -0.1671765297651291, -0.035004716366529465, -1.3567848205566406, -0.19279523193836212, 0.3957899510860443, -0.4111739695072174, 0.38501471281051636, 1.0720323324203491, 0.22584842145442963, -0.42442435026168823, -0.15992124378681183, 0.17141343653202057, -0.15567505359649658, 0.3643188774585724, 0.6328775882720947, 0.5159618258476257, -0.5944257378578186, 0.2306463122367859, -0.1780136525630951, -0.23314420878887177, -0.5033063888549805, -0.6702295541763306, -0.6031013131141663, -0.8671736717224121, -0.08513622730970383, -0.12910038232803345, -0.17365245521068573, 0.2661704123020172, 1.0194107294082642, -0.47053515911102295, -0.14460931718349457, -0.47561225295066833, -0.2155153602361679, -0.14303630590438843, -0.23801098763942719, 0.4375287890434265, -0.2897690534591675, -0.576688289642334, 0.13458235561847687, 0.6466280221939087, 0.0016031350241973996, -0.38788139820098877, -0.1111537367105484, 0.06021470949053764, 0.015957804396748543, 0.680972158908844, 0.4356415569782257, -0.6523773670196533, -0.525870680809021, -0.0517156645655632, -0.26109740138053894, 0.4692155420780182, 1.355587124824524, -0.7615833282470703, 0.36771106719970703, 0.264573872089386, 0.44036248326301575, 1.1287347078323364, 0.04291985183954239, 0.44648098945617676, -0.897578775882721, 0.6975175738334656, 0.40320900082588196, 0.5157724618911743, 0.1839326024055481, -0.6078128218650818, 0.282881498336792, 0.25726744532585144, -0.46884751319885254, -0.44549867510795593, 0.5905694961547852, -1.5068416595458984, 0.15834368765354156, 0.7586542367935181, -0.0010939454659819603, -0.6393002271652222, 0.31781917810440063, -0.127267986536026, 0.6907181739807129, 0.036761436611413956, 0.6477577686309814, 0.44073739647865295, -0.32063472270965576, -0.09755752235651016, -0.2278861552476883, 0.7095194458961487, 0.17005757987499237, -0.5973713994026184, -0.04632953181862831, 0.16773156821727753, 0.06757914274930954, 0.5489737391471863, 0.7725162506103516, -0.07317712903022766, 0.4681415557861328, -0.05051695182919502, -0.1753588616847992, 0.067673459649086, -0.5973910093307495, -0.5269333720207214, 0.14719416201114655, -0.22629137337207794, -0.48284587264060974 ]
http://arxiv.org/abs/2405.04590v1
http://arxiv.org/pdf/2405.04590v1
Language Modeling Using Tensor Trains
2024-05-07T18:09:47
2024-05-07T18:09:47
Zhan Su, Yuqin Zhou, Fengran Mo, Jakob Grue Simonsen
cs.CL
cs.CL, cs.IR
We propose a novel tensor network language model based on the simplest tensor network (i.e., tensor trains), called `Tensor Train Language Model' (TTLM). TTLM represents sentences in an exponential space constructed by the tensor product of words, but computing the probabilities of sentences in a low-dimensional fashion. We demonstrate that the architectures of Second-order RNNs, Recurrent Arithmetic Circuits (RACs), and Multiplicative Integration RNNs are, essentially, special cases of TTLM. Experimental evaluations on real language modeling tasks show that the proposed variants of TTLM (i.e., TTLM-Large and TTLM-Tiny) outperform the vanilla Recurrent Neural Networks (RNNs) with low-scale of hidden units. (The code is available at https://github.com/shuishen112/tensortrainlm.)
[ -0.04277344420552254, -1.0019009113311768, 0.4522782266139984, 0.207907572388649, -0.1242157444357872, 0.18804967403411865, -0.13793863356113434, -0.4747354984283447, 0.28735679388046265, 0.288411945104599, -0.3821341097354889, -0.3221605718135834, -0.476925790309906, -0.1261218786239624, -0.5327919721603394, 0.7442260384559631, 0.00949905440211296, 0.3150591254234314, 0.1117229089140892, -0.41446352005004883, -0.2506891191005707, -0.5747880935668945, -1.0037837028503418, -0.542651891708374, 0.7531423568725586, 0.19235455989837646, 0.619815468788147, 0.5541321039199829, 0.4593021273612976, 0.33278506994247437, -0.22156402468681335, -0.12815748155117035, -0.33358344435691833, -0.1105743870139122, 0.535422146320343, -0.6267207264900208, -0.4561890959739685, -0.21866244077682495, 0.6523987054824829, 0.881548285484314, -0.13571381568908691, 0.15876753628253937, -0.24932442605495453, 0.475570946931839, -0.1785522699356079, 0.24440830945968628, -0.255126416683197, 0.17505696415901184, -0.014172242023050785, -0.1419478803873062, -0.6415056586265564, -0.3828717768192291, 0.12874048948287964, -0.2438839226961136, 0.26058828830718994, 0.2674190104007721, 0.47953858971595764, -0.020489471033215523, -0.4808506965637207, -0.10864342004060745, -0.7776622772216797, 0.6789090633392334, -0.6641294956207275, 0.6026502251625061, 0.27594423294067383, 0.29746487736701965, -0.13085228204727173, -0.8876186013221741, -0.3666878938674927, -0.5972678065299988, -0.33762630820274353, -0.2621520459651947, -0.2621902823448181, 0.25602033734321594, 0.11256008595228195, 0.2844778001308441, -0.7701733112335205, 0.21755538880825043, -0.4932693839073181, 0.09675586968660355, 0.3044143617153168, 0.4819168150424957, 0.3128335177898407, 0.06884562969207764, -0.4640529155731201, 0.13092570006847382, -0.7883085012435913, -0.21064673364162445, 0.19272565841674805, 0.2922973930835724, -0.18564875423908234, 0.6496849656105042, -0.09210986644029617, 0.8066015839576721, -0.6973733305931091, 0.26146915555000305, 0.1838097721338272, 0.02888205647468567, -0.5123796463012695, -0.10878525674343109, 0.9109575152397156, -0.14234529435634613, 0.2662465274333954, -0.5100015997886658, -0.5319189429283142, 0.25001686811447144, 0.15915632247924805, -0.6563396453857422, -0.1671065092086792, 0.026086967438459396, -0.6113805770874023, -0.6235423684120178, -0.4642687141895294, -0.554368793964386, -0.08630809932947159, -0.24669180810451508, 0.6216518878936768, -0.6700811386108398, -0.4781429171562195, 0.21117177605628967, 0.01787634566426277, 0.010568417608737946, -0.06718980520963669, -0.8425026535987854, 0.5119966864585876, 0.7300905585289001, 1.0500848293304443, 0.08767056465148926, -0.4647168517112732, -0.4159145653247833, -0.2502842843532562, -0.2732032835483551, 0.5742323994636536, -0.3781537413597107, -0.4479711949825287, 0.05897144600749016, -0.30629825592041016, 0.1400781124830246, -0.19933515787124634, 0.29640087485313416, -0.739452064037323, 0.30211901664733887, 0.3540721833705902, -0.42807015776634216, 0.09069923311471939, 0.06932186335325241, -0.8678941130638123, 1.066434621810913, 0.14395374059677124, -0.6110843420028687, -0.20401999354362488, -1.0339821577072144, -0.6484525799751282, 0.05409763753414154, -0.031085144728422165, -0.47025004029273987, 0.43188154697418213, -0.24103519320487976, 0.17767493426799774, -0.37637847661972046, 0.30422571301460266, -0.3159922659397125, -0.41039806604385376, 0.4479702115058899, -0.6757015585899353, 0.9253524541854858, 0.5493928790092468, -0.037323012948036194, 0.10678894072771072, -0.7879098057746887, 0.17533592879772186, 0.1872604638338089, -0.362702876329422, -0.409270703792572, -0.17160919308662415, 0.39275264739990234, 0.2183200567960739, 0.12509797513484955, -0.5103600025177002, 0.27666857838630676, -0.5154587030410767, 0.9154670834541321, 0.5709591507911682, -0.2542985677719116, 0.6425899863243103, -0.34805828332901, 0.5238680243492126, 0.018217869102954865, 0.02675202302634716, -0.1210780218243599, -0.7383791208267212, -0.8999239206314087, -0.08034214377403259, 0.5436212420463562, 0.15559996664524078, -0.8529758453369141, 0.12160895764827728, -0.45933040976524353, -0.35797423124313354, -0.48632580041885376, -0.37144777178764343, 0.4807734489440918, 0.22112251818180084, 0.18356727063655853, -0.03365153819322586, -0.7555475831031799, -0.8105614185333252, -0.41104593873023987, -0.5635866522789001, 0.01892615482211113, -0.09161579608917236, 0.3684772253036499, -0.1052691787481308, 1.0926483869552612, -0.5314270853996277, -0.05366160720586777, -0.5078933835029602, 0.5266848802566528, -0.042395900934934616, 0.5367228984832764, 0.4465246796607971, -0.6221472024917603, -0.1322740763425827, -0.08966511487960815, -0.6202569007873535, 0.18926171958446503, 0.0663054883480072, 0.08499112725257874, 0.22970564663410187, 0.5648359060287476, -0.7100505828857422, 0.41317543387413025, 0.4751369059085846, -0.4547696113586426, 0.24121271073818207, -0.3649982511997223, -0.2739127278327942, -1.2245655059814453, -0.05774138495326042, 0.15649452805519104, -0.3993054926395416, -0.9595831632614136, 0.17013677954673767, -0.03199905529618263, -0.26548337936401367, -0.4701060354709625, 0.7321398854255676, -0.42383477091789246, -0.285567969083786, -0.13051262497901917, -0.14801423251628876, -0.10765930265188217, 0.7688503265380859, 0.18130868673324585, 0.4931325912475586, 0.3740454614162445, -0.28629183769226074, 0.20206326246261597, -0.03310200572013855, -0.4841793477535248, -0.09569555521011353, -0.7244899272918701, 0.12816829979419708, -0.15456928312778473, -0.06176244094967842, -1.0325459241867065, 0.040040649473667145, -0.19241608679294586, -0.5830738544464111, 0.38244864344596863, -0.25085845589637756, -0.7387808561325073, -0.46521034836769104, 0.0008547593606635928, 0.5145182013511658, 0.6264402866363525, -0.3369661271572113, 0.6180860996246338, 0.35183608531951904, 0.04384240880608559, -0.3910486400127411, -1.14328932762146, 0.24450339376926422, -0.1628929078578949, -0.5454097390174866, 0.13666310906410217, 0.03961479663848877, -0.16567771136760712, 0.23747029900550842, 0.2826822102069855, -0.23756396770477295, 0.26983651518821716, 0.09313070774078369, 0.3208984434604645, -0.816036581993103, 0.2676827609539032, -0.2466965913772583, -0.17926333844661713, 0.007832075469195843, -0.5288254022598267, 0.8751011490821838, -0.6174211502075195, -0.0959547609090805, -0.316583514213562, 0.4722258150577545, 0.6385636329650879, 0.011092804372310638, 0.7988307476043701, 0.5617269277572632, -0.6659590005874634, -0.11174318194389343, -0.19825004041194916, -0.30246302485466003, -0.4915030896663666, 0.6993914842605591, -0.49394556879997253, -1.0761682987213135, 0.2760133147239685, 0.16708768904209137, -0.07546676695346832, 0.22638531029224396, 0.7932288646697998, -0.06646184623241425, 0.9267151951789856, 0.9057656526565552, -0.027963485568761826, 0.6544225811958313, -0.36898425221443176, 0.4950666129589081, -0.5675780773162842, 0.04167846217751503, -0.427844762802124, -0.49777957797050476, -0.6898801326751709, -0.2672974169254303, 0.1568557769060135, -0.03260921314358711, -0.5587595105171204, 0.5259907245635986, -0.17515359818935394, 0.5237228274345398, 0.6951455473899841, -0.13446253538131714, 0.3888269364833832, 0.198515385389328, -0.3852023482322693, 0.05258864536881447, -0.8412554860115051, -0.4717358946800232, 0.9176633954048157, 0.6547694206237793, 0.9129939079284668, 0.06937843561172485, 0.6795651316642761, 0.30030375719070435, 0.6917818188667297, -0.871164083480835, 0.5919095277786255, -0.25911349058151245, -0.7352896332740784, -0.3069416880607605, -0.7490183115005493, -0.8780849575996399, 0.1674446165561676, -0.05687516927719116, -0.7217498421669006, -0.14782856404781342, -0.05926897004246712, -0.4137248694896698, 0.4676099419593811, -1.2306290864944458, 0.6623947024345398, -0.41198912262916565, 0.03043857030570507, -0.11096575111150742, -0.5852595567703247, 0.2867528200149536, 0.21015091240406036, 0.10821876674890518, 0.11719318479299545, 0.16152358055114746, 0.7677823305130005, -0.5758302211761475, 0.9289592504501343, 0.0055840532295405865, 0.2059166431427002, 0.18590207397937775, 0.3734535574913025, 0.34728145599365234, 0.05466156080365181, 0.0785568356513977, 0.15382786095142365, -0.3231688141822815, -0.2811005711555481, -0.5953536033630371, 0.8161460757255554, -0.9779877066612244, -0.2811122238636017, -0.2535058557987213, -0.568854033946991, -0.38049498200416565, 0.4450361430644989, 0.1542559713125229, 0.7683438062667847, -0.3098028600215912, 0.16225972771644592, 0.36352023482322693, -0.04282234609127045, 0.7460803985595703, 0.5033348202705383, -0.3998582065105438, -0.5256062150001526, 0.8605653643608093, 0.07658988982439041, 0.26239797472953796, 0.767962634563446, 0.203500434756279, -0.30746960639953613, -0.44604358077049255, -0.49182167649269104, 0.17934173345565796, -0.5345544219017029, -0.1940540373325348, -0.7616420388221741, -0.45499521493911743, -0.2726856768131256, 0.10964365303516388, -0.379874587059021, -0.8212854266166687, -0.05421104654669762, -0.2058744579553604, 0.5657660961151123, 1.0528103113174438, 0.13730505108833313, 0.6998536586761475, -0.6038169860839844, 0.35377222299575806, 0.2732694745063782, 0.7832522988319397, 0.09125174582004547, -0.4121372699737549, -0.49446046352386475, 0.15033359825611115, -0.0807914063334465, -0.491453617811203, 0.5822126865386963, -0.05165017023682594, 0.28353166580200195, -0.04604034498333931, -0.270101934671402, 0.47752708196640015, -0.8198952674865723, 0.6021402478218079, 0.5862085223197937, -0.7371159791946411, 0.06751354783773422, -0.16502876579761505, -0.01811571791768074, 0.07075619697570801, 0.07419873028993607, -0.7169293165206909, -0.42501556873321533, -0.711380660533905, -0.5656507611274719, 0.7867341041564941, 0.4419940710067749, 0.1248289942741394, -0.0204628799110651, 0.1551828533411026, -0.2550075948238373, 0.24711795151233673, -0.8402521014213562, -0.6471260190010071, -0.13752372562885284, -0.6408928036689758, -0.16291989386081696, -0.4194689989089966, 0.19079235196113586, 0.0014052053447812796, 0.2784724235534668, 0.10756378620862961, 0.7745555639266968, -0.13644330203533173, -0.16739659011363983, -0.13710732758045197, 0.21220269799232483, 0.9659254550933838, 0.22262224555015564, -0.2448626309633255, 0.31561577320098877, 0.10577251017093658, -0.5575847625732422, 0.25453782081604004, -0.08767078816890717, 0.017380261793732643, 0.2617820203304291, 0.39107418060302734, 1.0786199569702148, 0.32787764072418213, -0.2887443006038666, 0.2735201120376587, -0.4255101680755615, -0.05771223083138466, -0.35020992159843445, -0.17278911173343658, 0.4955019950866699, 0.18755513429641724, 0.17837542295455933, 0.3512818515300751, -0.2011902928352356, -0.4247078597545624, 0.15947559475898743, 0.17169398069381714, -0.5517340302467346, -0.45505842566490173, 0.878486692905426, 0.03135956823825836, -0.8858282566070557, 0.6973404288291931, 0.03299061954021454, -0.4496065080165863, 0.6216908097267151, 0.773277759552002, 1.0453271865844727, -0.014087572693824768, 0.05599181354045868, 0.015845254063606262, 0.5429960489273071, -0.20334644615650177, 0.22865594923496246, 0.2515682876110077, -0.6861354112625122, -0.5554408431053162, -0.7282714247703552, -0.15711195766925812, 0.29722562432289124, -0.37259697914123535, 0.518663227558136, -0.45526033639907837, -0.2312621921300888, 0.1024193987250328, -0.1835797280073166, -0.5941798686981201, 0.15008105337619781, 0.31869134306907654, 1.1074137687683105, -0.8549680709838867, 1.5275107622146606, 0.6283804774284363, -0.4837985932826996, -0.6465737223625183, -0.4140842854976654, -0.3646024763584137, -0.9138471484184265, 0.9688469171524048, -0.029898228123784065, -0.17803660035133362, 0.19547197222709656, -0.27359244227409363, -0.6152897477149963, 0.9322330951690674, 0.44718050956726074, -0.42911291122436523, -0.4759090542793274, 0.6747291684150696, 0.8811450600624084, -0.5267625451087952, 0.32464393973350525, 0.3594624996185303, -0.008288920857012272, -0.05832115188241005, -0.44960662722587585, -0.412116676568985, -0.4485219120979309, 0.45136407017707825, 0.2924438416957855, -0.5151119232177734, 1.0159333944320679, -0.12279018759727478, -0.0630464106798172, 0.35292935371398926, 0.7825522422790527, 0.11408744752407074, 0.16937847435474396, 0.29867810010910034, 0.752698540687561, 0.42775771021842957, -0.22621607780456543, 1.0763169527053833, -0.2591567933559418, 0.617164134979248, 1.2002631425857544, -0.06807578355073929, 0.8945100903511047, 0.49178576469421387, -0.18611612915992737, 0.4426460564136505, 0.34333083033561707, 0.3946973383426666, 0.5053108930587769, 0.32369375228881836, -0.28046080470085144, -0.10284467041492462, 0.30407053232192993, -0.17251521348953247, 0.14784595370292664, 0.5166077613830566, -0.2804146111011505, -0.19031044840812683, 0.15665403008460999, -0.17673799395561218, -0.25263747572898865, -0.1523340344429016, 0.6049792766571045, 0.4211055040359497, -0.3092215359210968, 0.6097128391265869, 0.3182124197483063, 0.5967847108840942, -0.47095850110054016, 0.12551838159561157, -0.4649089574813843, 0.23304036259651184, 0.07809211313724518, -0.7579042315483093, 0.4346734285354614, 0.12995094060897827, -0.08334898948669434, -0.41385146975517273, 0.6509477496147156, -0.6014394760131836, -0.6168160438537598, 0.192155122756958, 0.42223644256591797, -0.1334468275308609, 0.4520377218723297, -0.42458125948905945, -0.09365386515855789, -0.34975945949554443, -0.2917884886264801, 0.3586558401584625, 0.6382209062576294, -0.05988682061433792, 0.7647672295570374, 0.5255067348480225, 0.12009193003177643, 0.44903966784477234, 0.25524184107780457, 0.5564871430397034, -0.879568338394165, -0.6618636846542358, -0.9092118740081787, 0.31437671184539795, 0.14090152084827423, -0.2869572341442108, 0.30008015036582947, 0.7201780080795288, 0.5788595676422119, -0.27499163150787354, 0.7018048763275146, -0.016732029616832733, 0.27822989225387573, -0.43069589138031006, 0.8777284026145935, -0.5700371861457825, 0.2814638912677765, 0.19462642073631287, -0.49422958493232727, -0.6417767405509949, 0.5073007941246033, -0.17368851602077484, -0.00482799019664526, 0.8898674249649048, 0.7859671711921692, -0.15897540748119354, 0.28209832310676575, 0.5928650498390198, 0.41665589809417725, 0.31438499689102173, 0.6677437424659729, 1.0188660621643066, -0.612629234790802, 0.5532333254814148, -0.24683122336864471, 0.20093394815921783, -0.3349887728691101, -0.7033686637878418, -0.8721566796302795, -0.7334163784980774, -0.21078218519687653, -0.5051590204238892, -0.0691678524017334, 0.9805358648300171, 0.5950154662132263, -0.7717435359954834, -0.42345255613327026, -0.61918705701828, 0.2874467968940735, 0.07055080682039261, -0.2018779069185257, 0.29192373156547546, -0.43920835852622986, -0.6620793342590332, 0.19139117002487183, 0.2697504162788391, 0.2020614594221115, -0.4405806362628937, -0.08521869778633118, -0.050961244851350784, -0.07192129641771317, 0.7369000315666199, 0.13570137321949005, -0.5233073234558105, -0.237375870347023, 0.30476388335227966, -0.5557310581207275, 0.11797723174095154, 1.186339259147644, -0.8791654706001282, 0.16560745239257812, 0.5550895929336548, 0.6452075242996216, 0.545477032661438, -0.64188551902771, 0.7170364260673523, -0.9747254848480225, 0.3748151361942291, 0.30651965737342834, 0.6386092901229858, 0.17571209371089935, -0.012373355217278004, 0.505674421787262, 0.24799001216888428, -0.24687407910823822, -1.0573062896728516, 0.2819684147834778, -0.7874814867973328, -0.01966708153486252, 1.181646466255188, -0.029087454080581665, -0.503176212310791, -0.07999173551797867, 0.03804977238178253, 0.3371359705924988, -0.020361967384815216, 0.6978762745857239, 0.46399083733558655, 0.22773590683937073, -0.1294787973165512, -0.5573359727859497, 0.37054699659347534, 0.3806176781654358, -0.39771735668182373, 0.024255458265542984, 0.06351420283317566, 0.28878235816955566, 0.061917614191770554, 0.5967544913291931, -0.23634055256843567, 0.1543518304824829, -0.029404757544398308, 0.04698416590690613, -0.15122199058532715, -0.3223094344139099, -0.5933458805084229, 0.1830921620130539, 0.2732454538345337, -0.18291075527668 ]
http://arxiv.org/abs/2405.04532v2
http://arxiv.org/pdf/2405.04532v2
QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving
2024-05-07T17:59:30
2024-05-10T15:58:26
Yujun Lin, Haotian Tang, Shang Yang, Zhekai Zhang, Guangxuan Xiao, Chuang Gan, Song Han
cs.CL
cs.CL, cs.AI, cs.LG, cs.PF
Quantization can accelerate large language model (LLM) inference. Going beyond INT8 quantization, the research community is actively exploring even lower precision, such as INT4. Nonetheless, state-of-the-art INT4 quantization techniques only accelerate low-batch, edge LLM inference, failing to deliver performance gains in large-batch, cloud-based LLM serving. We uncover a critical issue: existing INT4 quantization methods suffer from significant runtime overhead (20-90%) when dequantizing either weights or partial sums on GPUs. To address this challenge, we introduce QoQ, a W4A8KV4 quantization algorithm with 4-bit weight, 8-bit activation, and 4-bit KV cache. QoQ stands for quattuor-octo-quattuor, which represents 4-8-4 in Latin. QoQ is implemented by the QServe inference library that achieves measured speedup. The key insight driving QServe is that the efficiency of LLM serving on GPUs is critically influenced by operations on low-throughput CUDA cores. Building upon this insight, in QoQ algorithm, we introduce progressive quantization that can allow low dequantization overhead in W4A8 GEMM. Additionally, we develop SmoothAttention to effectively mitigate the accuracy degradation incurred by 4-bit KV quantization. In the QServe system, we perform compute-aware weight reordering and take advantage of register-level parallelism to reduce dequantization latency. We also make fused attention memory-bound, harnessing the performance gain brought by KV4 quantization. As a result, QServe improves the maximum achievable serving throughput of Llama-3-8B by 1.2x on A100, 1.4x on L40S; and Qwen1.5-72B by 2.4x on A100, 3.5x on L40S, compared to TensorRT-LLM. Remarkably, QServe on L40S GPU can achieve even higher throughput than TensorRT-LLM on A100. Thus, QServe effectively reduces the dollar cost of LLM serving by 3x. Code is available at https://github.com/mit-han-lab/qserve.
[ -0.3181830942630768, -0.6693650484085083, 0.7619724869728088, 0.04539351910352707, -0.2762410044670105, 0.22777977585792542, 0.07904992997646332, -0.3708037734031677, -0.3471616208553314, 0.4004688560962677, -0.32057809829711914, -0.3156653344631195, -0.39904963970184326, -0.0450337678194046, 0.001455936930142343, 0.49727705121040344, 0.09368959814310074, 0.022567734122276306, -0.4698241949081421, -0.2725297510623932, -0.38241341710090637, -0.4187564253807068, -0.8434470295906067, -0.18755057454109192, 0.2696739137172699, 0.45676010847091675, 0.7293024063110352, 0.44991958141326904, 0.5658531188964844, 0.3756665587425232, -0.009290424175560474, 0.02026759646832943, -0.6671264171600342, 0.43300002813339233, 0.44912248849868774, -0.800513505935669, -0.6685337424278259, -0.30159685015678406, 0.7350083589553833, 0.14184394478797913, -0.2373759001493454, 0.10728372633457184, -0.2443912923336029, 0.8096705079078674, -0.9217585325241089, 0.1035495474934578, -0.16210778057575226, 0.0932430624961853, -0.3986050486564636, 0.22754736244678497, -0.20886972546577454, -0.5791510343551636, -0.1491043120622635, -0.8477477431297302, 0.11923182010650635, 0.21033528447151184, 0.6895021200180054, 0.5380891561508179, -0.18427643179893494, 0.3633859157562256, -0.6123511791229248, 0.9159486293792725, -0.9438878893852234, 0.7999231219291687, 0.25009915232658386, 0.3023822009563446, 0.01325189508497715, -1.0376170873641968, -0.49416282773017883, 0.17225034534931183, 0.3416341245174408, 0.08212745189666748, -0.3544010519981384, 0.3694787919521332, 0.6689168214797974, 0.7801132798194885, -0.5517029166221619, -0.01127228420227766, -0.03816374018788338, -0.20023274421691895, 0.23742465674877167, 0.2378206104040146, -0.0426325798034668, 0.2599273920059204, -0.29138466715812683, -0.07794361561536789, -0.938694417476654, 0.20063668489456177, 0.27297818660736084, -0.48359042406082153, 0.050961531698703766, 0.24476513266563416, -0.5840194821357727, 0.6204421520233154, 0.13890030980110168, -0.16153617203235626, 0.17434079945087433, -0.30177372694015503, -0.5428240895271301, -0.01564186066389084, 0.7056196331977844, 0.05706210434436798, -0.17976832389831543, -0.16010954976081848, -0.37529611587524414, 0.197146475315094, 0.12266978621482849, -1.1780178546905518, -0.31146323680877686, 0.3415036201477051, -0.14203499257564545, 0.008106697350740433, -0.4452766478061676, -0.4681001901626587, -0.11127185076475143, 0.053697895258665085, 0.56156325340271, -0.5152765512466431, -0.03801222890615463, 0.05571504682302475, -0.23053716123104095, 0.47949060797691345, 0.32714033126831055, -0.7362006306648254, 0.5993303060531616, 0.779197096824646, 0.618126630783081, -0.06022230163216591, 0.28627535700798035, -0.9331560730934143, 0.07324634492397308, -0.2660512626171112, 0.46914243698120117, -0.40582969784736633, -0.21968604624271393, -0.3177497088909149, -0.14685922861099243, 0.5969108939170837, -0.4546741843223572, 0.6415547132492065, -0.9018515944480896, 0.056912656873464584, -0.3155822455883026, -0.6742521524429321, -0.1908508539199829, 0.18535339832305908, -0.725784182548523, 1.2296005487442017, 0.1608596295118332, -0.6574834585189819, 0.032745689153671265, -0.2780522108078003, -0.29595330357551575, 0.561627984046936, -0.142927348613739, -0.7163457274436951, 0.3233398199081421, 0.2712324559688568, 0.18777282536029816, -0.57340008020401, 0.05486892908811569, -0.2879752218723297, -0.6830272674560547, -0.03925471380352974, -0.30422312021255493, 0.5333432555198669, 0.17460738122463226, -0.46149688959121704, 0.2711103856563568, -0.482634574174881, 0.2268693596124649, 0.04668775200843811, -0.005878233816474676, -0.4509128928184509, -0.11365611106157303, -0.31924280524253845, -0.1804264783859253, 0.3507769703865051, -0.5356462597846985, 0.2665764093399048, -0.4930272102355957, 0.8547060489654541, 0.6307862401008606, -0.17823907732963562, 0.6478012204170227, 0.03130301460623741, 0.8152924180030823, -0.3687753975391388, 0.6804788708686829, -0.005270260851830244, -0.6936842203140259, -0.6055154800415039, -0.4846617877483368, 0.20880256593227386, 0.313069611787796, -1.1724755764007568, -0.1570109724998474, -0.19869273900985718, -0.18836678564548492, -0.7640591859817505, -0.1377495378255844, 0.6186768412590027, 0.6332487463951111, 0.3013383746147156, -0.04003065824508667, -0.3847719132900238, -1.09170663356781, 0.05676678195595741, -0.006202227436006069, 0.10927750915288925, 0.12191142141819, 0.08258239179849625, -0.13272662460803986, 0.48589885234832764, -0.7109717130661011, 0.03868553042411804, 0.1857938915491104, -0.10425888001918793, 0.2105075716972351, 0.3339875042438507, 0.15421271324157715, -0.790793240070343, -0.3346407115459442, -0.17710311710834503, -0.5216336846351624, -0.04295290261507034, 0.4498732089996338, -0.47625187039375305, 0.17721526324748993, 0.3967433571815491, -0.5235636234283447, 0.31452807784080505, 0.6434720754623413, -0.10994426161050797, 0.5338297486305237, -0.3372078835964203, 0.33519047498703003, -0.8587726950645447, -0.22347383201122284, -0.2211207002401352, -0.5948753356933594, -0.3847357928752899, 0.21405470371246338, 0.35740581154823303, -0.03947385028004646, -0.37996917963027954, 0.42375317215919495, -0.5600867867469788, -0.3320765197277069, -0.1400708258152008, -0.05879635363817215, 0.527411162853241, 0.5171982049942017, -0.3492247760295868, 1.1718918085098267, 0.4120566248893738, -0.5493677258491516, 0.5257316827774048, 0.08008528500795364, -0.1820048987865448, 0.5611118078231812, -0.7452079057693481, 0.12876835465431213, 0.14868015050888062, 0.16536590456962585, -0.9371917247772217, 0.3333202600479126, 0.10194222629070282, -0.3660639226436615, 0.17315621674060822, -0.1592015027999878, -0.4326338768005371, -0.3327946960926056, -0.5358960032463074, 0.8303756713867188, 0.800387442111969, -0.4201142191886902, 0.6487166285514832, 0.479927659034729, 0.14790897071361542, -0.5781373381614685, -0.5756831765174866, 0.05801963433623314, -0.2257946878671646, -0.6841610670089722, 0.625806987285614, -0.2228696346282959, -0.25536978244781494, 0.06395412981510162, -0.19508053362369537, 0.03630484640598297, 0.14205612242221832, 0.3507622480392456, 0.21969032287597656, -0.26117151975631714, 0.09721694141626358, 0.09301990270614624, -0.034298550337553024, 0.09554511308670044, -0.5450495481491089, 0.351535826921463, -0.33611616492271423, 0.046203237026929855, -0.5187849998474121, 0.21956637501716614, 0.47243940830230713, -0.3011290431022644, 0.25806277990341187, 0.8154501914978027, -0.42870232462882996, -0.011733376421034336, -0.6659032702445984, -0.21327145397663116, -0.5091065168380737, 0.21888689696788788, -0.7631363868713379, -1.1542975902557373, 0.36532896757125854, 0.11941858381032944, 0.11458520591259003, 0.37792664766311646, 0.6380549669265747, -0.1594390571117401, 1.0261603593826294, 0.41081222891807556, 0.052295997738838196, 0.5964851379394531, -0.5679683685302734, 0.14601580798625946, -1.1228476762771606, 0.10846342891454697, -0.2985185980796814, -0.31412991881370544, -0.7069287300109863, -0.6785014867782593, 0.5061233043670654, -0.026551373302936554, -0.3352309465408325, 0.017192279919981956, -0.5613910555839539, 0.2311817854642868, 0.6631863117218018, 0.06913624703884125, 0.38075336813926697, -0.1299969106912613, 0.09348376840353012, -0.07448974251747131, -0.7360748648643494, 0.04651087522506714, 0.8707723617553711, 0.1581956148147583, 0.9568677544593811, 0.2141612023115158, 0.6457642316818237, 0.5865342020988464, 0.25499409437179565, -0.8148679733276367, 0.48022377490997314, -0.01579304039478302, 0.0055662184022367, -0.44502517580986023, -0.6199270486831665, -0.8288564682006836, 0.37938186526298523, 0.01045442558825016, -0.26959648728370667, 0.16728052496910095, 0.21771861612796783, -0.5392292141914368, 0.08358324319124222, -0.8997766375541687, 0.7670328617095947, -0.05924360081553459, -0.6888570189476013, -0.3233035206794739, -0.39055198431015015, 0.6221218705177307, 0.23327718675136566, 0.0488421730697155, -0.16703486442565918, -0.2000272572040558, 0.6708004474639893, -0.5727812051773071, 0.37757325172424316, -0.15888239443302155, -0.25223836302757263, 0.2276047021150589, -0.02604466862976551, 0.7565860748291016, 0.26035773754119873, 0.1566653698682785, 0.1017555296421051, 0.20663438737392426, -0.5710646510124207, -0.7099552154541016, 1.0819523334503174, -0.9115891456604004, -0.728626012802124, -0.3430676758289337, -0.4939703047275543, -0.3511277437210083, 0.05596549063920975, 0.07106220722198486, 0.6476291418075562, 0.07701534777879715, -0.04208811745047569, 1.084072232246399, -0.013565094210207462, 0.4595078229904175, 0.24865815043449402, -0.08019959926605225, -0.6915320158004761, 0.9319232702255249, -0.09276722371578217, 0.343382865190506, 0.6530525088310242, 0.20871463418006897, -0.5434869527816772, -0.560974657535553, -0.5040326118469238, 0.3021937310695648, -0.46920907497406006, -0.5676819682121277, -0.5127588510513306, -0.007638310082256794, -0.46230167150497437, 0.1648828238248825, -0.4898243546485901, -0.5986300110816956, -0.23165073990821838, 0.21049144864082336, 0.5292642712593079, 0.3989917039871216, 0.2534938156604767, 0.5682487487792969, -0.7563985586166382, 0.505422830581665, 0.5490150451660156, 0.2417355328798294, 0.030155349522829056, -0.5212461948394775, -0.4636673927307129, -0.1323815882205963, -0.32854604721069336, -0.6003871560096741, 0.3656233847141266, 0.14384543895721436, 0.36261484026908875, 0.5353067517280579, 0.08360284566879272, 0.7930238842964172, -0.4696561098098755, 0.5585092306137085, 0.021485768258571625, -1.0001401901245117, 0.24173541367053986, 0.0879417210817337, 0.5646640062332153, 0.32580599188804626, 0.2888071835041046, -0.49296534061431885, -0.29920193552970886, -0.5954771041870117, -0.8523092269897461, 0.46766895055770874, 0.20924752950668335, -0.3534148037433624, 0.1920177936553955, 0.5211374163627625, -0.11989358067512512, 0.27970048785209656, -0.2298041135072708, -0.18817134201526642, -0.050289757549762726, -0.19663602113723755, 0.04053439944982529, -0.3472716510295868, -0.007625269237905741, -0.14759746193885803, 0.7059363722801208, -0.22459110617637634, 0.41009190678596497, 0.137593075633049, -0.1555074155330658, 0.07262162119150162, 0.08948579430580139, 0.5177208781242371, 0.5687545537948608, -0.2477298229932785, 0.38625937700271606, -0.07096219062805176, -0.6931018233299255, 0.16715334355831146, 0.1593223363161087, -0.22124452888965607, -0.41426461935043335, -0.10543638467788696, 1.0743271112442017, 0.27228906750679016, -0.5900031328201294, 0.40542978048324585, -0.6693928837776184, -0.13077542185783386, -0.1970752775669098, 0.11341231316328049, 0.11771251261234283, 0.6296087503433228, 0.2733762860298157, -0.40510374307632446, 0.5508309006690979, -0.11514072120189667, -0.08777038753032684, 0.6209591031074524, -0.17337334156036377, -0.40794476866722107, 0.85978764295578, 0.2437826544046402, -0.09648394584655762, 0.7749714851379395, -0.39956486225128174, -0.46634772419929504, 0.5298589468002319, 0.22902056574821472, 0.843644380569458, -0.2580735385417938, -0.17870411276817322, 0.24984249472618103, 0.04937698319554329, -0.1589682251214981, 0.5380376577377319, -0.4000183641910553, -0.615206778049469, -0.9807136058807373, -0.7501355409622192, -0.5241539478302002, -0.04445687308907509, -0.6434153318405151, 0.00936858355998993, -0.28156203031539917, -0.41942936182022095, -0.18609637022018433, 0.24645447731018066, -0.6866759061813354, 0.11049354076385498, 0.252575159072876, 0.528681755065918, -0.43327009677886963, 1.0897525548934937, 0.4689632058143616, 0.010179601609706879, -0.43584510684013367, -0.40907347202301025, -0.415272980928421, -0.9197649359703064, 0.5219501852989197, -0.204020693898201, -0.04346087574958801, 0.5596755743026733, -0.38121476769447327, -0.9094487428665161, 1.3519973754882812, 0.22069890797138214, -0.8625020980834961, -0.051026225090026855, -0.18719162046909332, 0.175811767578125, 0.08950094133615494, 0.42424866557121277, 0.5905197858810425, 0.368625670671463, 0.18933476507663727, -0.4882074296474457, 0.3012715280056, 0.12455353885889053, 0.2856694161891937, 0.7091372609138489, -0.7330764532089233, 0.83408123254776, -0.33368992805480957, -0.018362758681178093, -0.03251981362700462, 0.9098528623580933, 0.36201250553131104, 0.04155218228697777, 0.42180192470550537, 1.1044602394104004, 0.8145021200180054, -0.20192839205265045, 1.078058123588562, -0.31662455201148987, 0.26639243960380554, 0.8522933125495911, -0.13928242027759552, 0.7542449831962585, 0.7098157405853271, -0.5088546872138977, 0.10876073688268661, 0.7055856585502625, 0.3008041977882385, 0.5450537204742432, 0.2039022296667099, -0.573283314704895, -0.2728515565395355, 0.10313915461301804, -0.18278025090694427, 0.018639935180544853, 0.4659443795681, 0.2732790410518646, 0.01966368593275547, 0.13650262355804443, -0.06523517519235611, -0.5680820345878601, -0.5193827748298645, 0.6093644499778748, 0.1805863380432129, -0.544276237487793, 0.8790726065635681, 0.0012834433000534773, 0.6587967276573181, -0.48063725233078003, -0.24206224083900452, -0.4636336863040924, 0.22837375104427338, -0.03886876627802849, -0.4965951442718506, 0.01760886423289776, -0.3474905788898468, -0.2275613397359848, -0.28053367137908936, 0.49800029397010803, -0.14574651420116425, -0.27945777773857117, -0.09169965237379074, 0.38919150829315186, 0.01832958310842514, -0.42611804604530334, -0.4471076726913452, 0.4852515161037445, -0.008192764595150948, -0.25720563530921936, 0.6093884706497192, 0.6081846952438354, -0.39250731468200684, 0.7145687937736511, 0.5373778939247131, -0.0009459031280130148, 0.22943875193595886, 0.1462562531232834, 0.9510168433189392, -0.5691350102424622, -0.5119032263755798, -0.6993057131767273, 0.06951431185007095, 0.17931263148784637, -0.0491340234875679, 0.6329066157341003, 0.6579087972640991, 0.5418899655342102, 0.21177056431770325, 0.5171078443527222, 0.12981195747852325, -0.07991914451122284, -0.48819732666015625, 0.32403817772865295, -0.6230095028877258, 0.12360663712024689, 0.27150121331214905, -0.7826656699180603, -0.11528848856687546, 0.3509455621242523, -0.3265160322189331, -0.20867885649204254, 0.561050295829773, 0.563858687877655, 0.1805606186389923, -0.15330927073955536, 0.7139071822166443, 0.39891549944877625, 0.538884162902832, 0.7409281730651855, 0.6524336934089661, -0.6935561299324036, 0.544312059879303, -0.3219395577907562, -0.3194291591644287, -0.200080007314682, -0.6796498894691467, -0.3598519563674927, -0.4859631359577179, -0.4492514133453369, -0.3057902455329895, 0.24087773263454437, 0.2791733741760254, 0.705528736114502, -0.42332205176353455, -0.07748693972826004, -0.10688821971416473, 0.27478739619255066, -0.3058744966983795, -0.27275705337524414, 0.4028330445289612, -0.41946354508399963, -0.9493537545204163, 0.25003814697265625, 0.4760865569114685, -0.18411855399608612, -0.5454795360565186, -0.23280863463878632, 0.00019184929260518402, -0.21274793148040771, 0.820533037185669, 0.2933308780193329, -0.6360695362091064, 0.00013915731688030064, 0.1253640055656433, -0.17807327210903168, 0.32258448004722595, 0.7912479043006897, -1.0773537158966064, 0.32532474398612976, 0.6146621704101562, 0.8610639572143555, 1.1079286336898804, 0.03989021107554436, 0.37963125109672546, -0.5016115307807922, 0.11044204980134964, 0.6119312047958374, 0.2938510477542877, 0.31022435426712036, -0.5467166304588318, 0.23239600658416748, 0.3885156512260437, -0.9561039805412292, -0.7027783989906311, 0.08609343320131302, -1.0265424251556396, -0.05543680861592293, 0.9099096655845642, -0.08172404766082764, -0.7172903418540955, 0.09065510332584381, -0.052957113832235336, 0.10915884375572205, -0.6266372799873352, 0.33764246106147766, 0.31760334968566895, -0.4210922420024872, -0.6331931948661804, -0.7754417061805725, 0.719816267490387, 0.29741373658180237, -0.726585328578949, -0.11263860017061234, 0.5237686038017273, 0.24914062023162842, -0.5005380511283875, 0.8529937267303467, -0.002159564755856991, 0.2838536202907562, -0.194220170378685, 0.6531331539154053, -0.024058982729911804, 0.21135158836841583, -0.2436121702194214, 0.06615922600030899, 0.2616250813007355, -0.4378221035003662 ]
http://arxiv.org/abs/2405.04520v1
http://arxiv.org/pdf/2405.04520v1
NaturalCodeBench: Examining Coding Performance Mismatch on HumanEval and Natural User Prompts
2024-05-07T17:52:51
2024-05-07T17:52:51
Shudan Zhang, Hanlin Zhao, Xiao Liu, Qinkai Zheng, Zehan Qi, Xiaotao Gu, Xiaohan Zhang, Yuxiao Dong, Jie Tang
cs.CL
cs.CL, cs.LG, cs.SE
Large language models (LLMs) have manifested strong ability to generate codes for productive activities. However, current benchmarks for code synthesis, such as HumanEval, MBPP, and DS-1000, are predominantly oriented towards introductory tasks on algorithm and data science, insufficiently satisfying challenging requirements prevalent in real-world coding. To fill this gap, we propose NaturalCodeBench (NCB), a challenging code benchmark designed to mirror the complexity and variety of scenarios in real coding tasks. NCB comprises 402 high-quality problems in Python and Java, meticulously selected from natural user queries from online coding services, covering 6 different domains. Noting the extraordinary difficulty in creating testing cases for real-world queries, we also introduce a semi-automated pipeline to enhance the efficiency of test case construction. Comparing with manual solutions, it achieves an efficiency increase of more than 4 times. Our systematic experiments on 39 LLMs find that performance gaps on NCB between models with close HumanEval scores could still be significant, indicating a lack of focus on practical code synthesis scenarios or over-specified optimization on HumanEval. On the other hand, even the best-performing GPT-4 is still far from satisfying on NCB. The evaluation toolkit and development set are available at https://github.com/THUDM/NaturalCodeBench.
[ -0.6912478804588318, -0.6455473899841309, 0.05075526237487793, 0.3823740780353546, -0.0880553349852562, 0.3451424837112427, -0.24139304459095, -0.6289373636245728, -0.1700717806816101, 0.430743008852005, -0.5876238346099854, -0.5080717206001282, -0.04730895534157753, 0.6086933016777039, -0.18284793198108673, 0.7855319976806641, -0.03550058603286743, 0.02796325832605362, -0.2401236742734909, -0.22873426973819733, -0.5602629780769348, -0.5757954120635986, -0.3683284521102905, 0.13937313854694366, 0.13445931673049927, 0.23971661925315857, 0.5615409016609192, 0.4004083275794983, 0.658453106880188, 0.24507871270179749, 0.0759458988904953, 0.3373720049858093, -0.4431060552597046, 0.1560976207256317, -0.20790177583694458, -0.4096774756908417, -0.2607232630252838, 0.05220853164792061, 0.36444154381752014, 0.5653016567230225, -0.20341555774211884, 0.2322099357843399, 0.07561036944389343, 0.7096132636070251, -0.5472841262817383, -0.07246864587068558, -0.42500314116477966, 0.20198926329612732, -0.10265232622623444, -0.3117993175983429, -0.17847411334514618, -1.0210281610488892, -0.2895837426185608, -0.2810523509979248, 0.39889222383499146, 0.21026743948459625, 0.7602843046188354, 0.5129417777061462, -0.3344932496547699, -0.26877957582473755, -0.5147963166236877, 0.7326416969299316, -0.9477065801620483, 0.2524917721748352, 0.3111576735973358, 0.6050467491149902, -0.5276705026626587, -0.4810793697834015, -0.5536420941352844, -0.49453455209732056, 0.35227885842323303, -0.16897855699062347, -0.4028080403804779, 0.03683627396821976, 0.7047438621520996, 0.6468136310577393, -0.882798969745636, 0.07027494162321091, -0.40146008133888245, -0.5965244174003601, 0.6025012731552124, 0.565362811088562, 0.4226950705051422, -0.5009245276451111, 0.07837120443582535, -0.14350080490112305, -0.7502181529998779, 0.17574451863765717, 0.6619953513145447, 0.3327101767063141, -0.1670556515455246, 0.512471079826355, -0.4416067600250244, 1.1428197622299194, -0.342006117105484, 0.1833857297897339, 0.23893135786056519, -0.6582152247428894, -0.012881094589829445, -0.08456362038850784, 0.5904150605201721, 0.7560462355613708, 0.29831981658935547, -0.060881562530994415, -0.2733340263366699, 0.5045568943023682, 0.5876022577285767, -0.985458493232727, -0.3346884250640869, 0.11044475436210632, -0.2194766104221344, -0.3711444139480591, -0.21502390503883362, -0.7789927124977112, -0.2615659534931183, -0.41923150420188904, 0.007599095348268747, -0.14423656463623047, -0.06588810682296753, 0.059304747730493546, 0.03234554082155228, 0.3739229440689087, 0.06876182556152344, -0.5292069911956787, 0.2986657917499542, 0.6717657446861267, 0.9348840713500977, -0.13578130304813385, -0.052914757281541824, -0.8721661567687988, -0.5680648684501648, -0.4980918765068054, 0.7409812808036804, -0.5134996175765991, -0.20237813889980316, -0.15861086547374725, -0.17918752133846283, 0.23897092044353485, -0.7622690200805664, 0.5986298322677612, -0.3944784700870514, 0.009304797276854515, -0.41884276270866394, -0.4203232228755951, 0.0929463803768158, 0.5510410070419312, -0.7686885595321655, 1.3340002298355103, 0.3869835138320923, -0.6742362976074219, 0.27393215894699097, -0.5220376253128052, -0.28710731863975525, -0.017252471297979355, -0.21198686957359314, -0.18593619763851166, 0.10220716893672943, -0.03941260650753975, 0.2817903757095337, -0.6445051431655884, 0.3850233554840088, -0.4562784433364868, -0.6874837875366211, 0.21999932825565338, -0.21204259991645813, 0.6972772479057312, 0.4240208566188812, -0.3826768398284912, -0.05119553580880165, -0.9309243559837341, 0.35616084933280945, 0.07874961942434311, -0.5833752155303955, -0.0982314869761467, -0.32229262590408325, 0.11937656998634338, 0.4124630391597748, -0.2800438702106476, -0.40286996960639954, 0.5355698466300964, -0.532473623752594, 0.5276352763175964, 0.6028181910514832, 0.014512119814753532, 0.07629997283220291, -0.3525879383087158, 0.704789936542511, -0.46345949172973633, 0.04721812158823013, 0.2355937510728836, -0.5262166261672974, -0.4155179262161255, -0.12676867842674255, 0.5801462531089783, 0.41566306352615356, -0.7663516402244568, 0.2982437014579773, -0.08688675612211227, -0.47352519631385803, -0.7890344262123108, 0.23772023618221283, 0.5792160630226135, 0.4520483911037445, 0.3825269043445587, -0.7002535462379456, -0.7684186697006226, -0.891143798828125, -0.4957984983921051, 0.08310860395431519, -0.23534807562828064, 0.2661267817020416, 0.36626559495925903, -0.4674924314022064, 0.9508737921714783, -0.32295000553131104, 0.04514686390757561, -0.16129134595394135, 0.30374887585639954, 0.6692332029342651, 0.47277477383613586, 0.494295209646225, -0.48778170347213745, -0.27340513467788696, -0.23512999713420868, -0.5966901779174805, -0.4498574733734131, -0.011982140131294727, -0.1725667119026184, 0.514340341091156, 0.48453834652900696, -0.1778837889432907, 0.33135777711868286, 0.7157711386680603, -0.12000251561403275, 0.9145746231079102, -0.21060699224472046, 0.4314393401145935, -0.7052916288375854, 0.4387587606906891, -0.20090849697589874, -0.12874431908130646, -0.4311169981956482, 0.3882463574409485, 0.22455942630767822, -0.18601873517036438, -0.3604312539100647, 0.33062389492988586, -0.3868047297000885, -0.30267053842544556, -0.20079606771469116, -0.16182832419872284, -0.030190611258149147, 0.5710667371749878, -0.22946330904960632, 1.055840253829956, 0.29183632135391235, -0.7077288627624512, 0.6040596961975098, 0.051567766815423965, -0.5428618788719177, 0.4393356740474701, -0.6389528512954712, 0.37222641706466675, 0.41316407918930054, 0.3013729155063629, -0.6055212616920471, -0.4434281289577484, -0.016588954254984856, -0.2838502526283264, -0.043882809579372406, -0.33680739998817444, -0.8057922124862671, -0.6304846405982971, -0.4860900342464447, 0.4713066518306732, 0.69478839635849, -0.4762973189353943, 0.13581907749176025, 0.04339451715350151, -0.05234595388174057, -0.2140512615442276, -0.6991056799888611, 0.4491085112094879, -0.06297963112592697, -0.6372843384742737, 0.2500210106372833, -0.3608112633228302, 0.04753034934401512, -0.12002060562372208, -0.38388708233833313, -0.02790287882089615, 0.26439499855041504, 0.12574881315231323, 0.22824203968048096, -0.16218475997447968, -0.241752028465271, -0.18576562404632568, -0.20316357910633087, 0.2569163739681244, -0.028507057577371597, 0.3021663427352905, -0.46835240721702576, -0.5171343684196472, -0.11076174676418304, 0.09748497605323792, 0.28860345482826233, -0.25673484802246094, 0.17900411784648895, 0.37814825773239136, -0.4280546307563782, -0.44235074520111084, -0.6095706224441528, -0.06430259346961975, -0.44619977474212646, 0.014484011568129063, -0.307686448097229, -0.8440475463867188, 0.45731958746910095, -0.12136185169219971, 0.04700382426381111, 0.020365789532661438, 0.4966399371623993, 0.19418387115001678, 0.9279727935791016, 0.37553030252456665, 0.06189172342419624, 0.07976100593805313, -0.14547576010227203, 0.3847935199737549, -0.6269754767417908, 0.01606239192187786, -0.7287639379501343, -0.3136903941631317, -0.7271812558174133, -0.5986104011535645, 0.27777671813964844, 0.13256485760211945, -0.15397924184799194, 0.6068792343139648, -0.7894535064697266, 0.6993280053138733, 0.6385074853897095, -0.19128336012363434, 0.3121265769004822, -0.15942910313606262, -0.4980021119117737, -0.267859548330307, -0.6872072219848633, -0.49959129095077515, 1.1388641595840454, -0.09632508456707001, 0.6114189624786377, 0.25600385665893555, 0.6983312964439392, 0.36148151755332947, 0.1497349888086319, -0.3877922296524048, 0.4890664517879486, 0.25169727206230164, -0.7137634754180908, 0.2586778402328491, -0.8183102011680603, -0.7704477310180664, 0.12219521403312683, -0.15519839525222778, -0.401928186416626, -0.143348827958107, 0.19347645342350006, -0.5953516364097595, 0.04985939338803291, -0.6591312289237976, 1.184853196144104, -0.13668733835220337, -0.8470326662063599, -0.017282620072364807, -0.6726951003074646, 0.43720710277557373, -0.07788126915693283, 0.31925421953201294, -0.1251615732908249, 0.3685813546180725, 0.4262503981590271, -0.4199967384338379, 0.5676085948944092, -0.15874941647052765, 0.07030246406793594, 0.3294280767440796, 0.5497708916664124, 0.343792587518692, 0.08033762872219086, -0.3675828278064728, -0.002523212693631649, 0.06023057550191879, -0.5206237435340881, -0.380389004945755, 0.7367019057273865, -0.20026123523712158, -0.30350586771965027, -0.4713743031024933, -0.3075107932090759, -0.3843907117843628, 0.22459489107131958, 0.1695622205734253, 0.8368005156517029, -0.2848231792449951, 0.09426984935998917, 0.4654250741004944, -0.5701132416725159, 0.24183432757854462, 0.3623087704181671, -0.04949207603931427, -0.16735216975212097, 0.8963791728019714, -0.2576366066932678, 0.19016888737678528, -0.034568678587675095, 0.06694350391626358, -0.24455729126930237, -0.6570974588394165, -0.5343546867370605, -0.15650302171707153, -0.6202263832092285, -0.5898339152336121, -0.3934122323989868, 0.05389920994639397, -0.15070265531539917, -0.3265567719936371, -0.3239279091358185, -0.09907777607440948, 0.024790123105049133, 0.02766362763941288, 0.33712655305862427, 0.5524118542671204, -0.24932904541492462, -0.49993568658828735, -1.022542953491211, 0.631076455116272, 0.2110505849123001, 0.6621514558792114, -0.1123749390244484, -0.36411017179489136, 0.027438679710030556, -0.022009002044796944, -0.4095502495765686, -0.6739124059677124, 0.35892122983932495, -0.027007391676306725, 0.5601707696914673, 0.00017030767048709095, 0.5418309569358826, 0.7448192834854126, -0.25885310769081116, 0.6099783778190613, -0.027983371168375015, -0.9245520234107971, 0.4299764931201935, -0.34978482127189636, 0.44968822598457336, 0.9595439434051514, 0.27281880378723145, -0.6077771186828613, -0.570676863193512, -0.4153794050216675, -0.7472277879714966, 0.7512421011924744, 0.5081188082695007, 0.0022014130372554064, -0.034884240478277206, 0.09439612179994583, 0.06177429109811783, 0.14235694706439972, -0.5298196077346802, 0.20261166989803314, -0.08933919668197632, -0.12712110579013824, 0.15402787923812866, 0.06223412975668907, 0.0016513823065906763, -0.3090628385543823, 0.29097655415534973, -0.32744300365448, 0.32989075779914856, 0.15287119150161743, -0.2387232929468155, -0.028375955298542976, 0.23444466292858124, 0.5606632232666016, 0.540613055229187, -0.49057313799858093, 0.12777909636497498, 0.23015441000461578, -0.1513422727584839, -0.06334716081619263, 0.06945644319057465, 0.2943882644176483, -0.22256024181842804, 0.571937084197998, 0.45114898681640625, 0.5678155422210693, -1.0655152797698975, 0.4371892809867859, -0.2976677417755127, -0.18649660050868988, 0.07674118876457214, 0.3981039822101593, 0.1460723727941513, 0.01612008735537529, 0.15189139544963837, 0.23845095932483673, 0.45525696873664856, -0.5910013914108276, 0.1968793421983719, 0.1659563034772873, -0.13704027235507965, -0.213589608669281, 0.5749583840370178, 0.4632880687713623, -0.3960958421230316, 0.9790733456611633, -0.7908899784088135, -0.6900818347930908, 0.849397599697113, 0.27458763122558594, 0.5811116099357605, 0.06743129342794418, -0.10397359728813171, 0.6960462927818298, 0.2826484739780426, -0.08536917716264725, 0.3986828625202179, -0.15967491269111633, -0.19141648709774017, -0.5264596343040466, -0.6716788411140442, -0.6171011924743652, -0.33150872588157654, -0.7171446681022644, 0.32984212040901184, -0.5781338810920715, 0.03466438874602318, -0.16660398244857788, 0.21033410727977753, -0.833574116230011, -0.179595485329628, 0.08583942800760269, 0.9827595353126526, -0.6044594049453735, 0.5990774035453796, 0.6341180801391602, -0.2618010938167572, -0.7199875712394714, -0.3074361979961395, 0.22296841442584991, -0.3446751534938812, 0.2791922092437744, 0.5920917391777039, -0.007559743709862232, -0.06543850898742676, -0.6109763979911804, -0.2685442268848419, 0.6484830975532532, 0.46176695823669434, -0.5391033887863159, 0.15900035202503204, 0.07825496047735214, 0.7766666412353516, 0.05692080780863762, 0.39129772782325745, 0.6943616271018982, 0.4903082251548767, -0.12995031476020813, -1.0081098079681396, 0.24474374949932098, -0.5416385531425476, -0.00742350472137332, 0.2718668580055237, -0.2667703628540039, 0.5240744948387146, -0.2502121925354004, -0.286038875579834, 0.07853347063064575, 0.17456407845020294, 0.49759048223495483, 0.4346347153186798, 0.19075776636600494, 0.4201543927192688, 0.6956820487976074, -0.21099448204040527, 1.2534292936325073, -0.17340444028377533, 0.4199225902557373, 0.8125494718551636, -0.4911190867424011, 0.5729986429214478, 0.3600153625011444, -0.5417688488960266, 0.30697259306907654, 0.7385036945343018, -0.18302081525325775, 0.4029213786125183, 0.8455394506454468, 0.06689169257879257, -0.4922272861003876, 0.09225638210773468, -0.601499617099762, 0.18632632493972778, -0.04793497547507286, 0.37559974193573, -0.3601830005645752, -0.2148822546005249, -0.2912207543849945, 0.2739994525909424, 0.13071976602077484, 0.5255378484725952, 0.0948135033249855, -0.6958977580070496, 1.1462773084640503, 0.2932071387767792, 0.8070133924484253, -0.4532567858695984, -0.29042601585388184, -0.5981535315513611, -0.023022634908556938, -0.22231492400169373, -0.48958417773246765, 0.6122618317604065, 0.40255817770957947, 0.1837938129901886, -0.11585002392530441, 0.3392966687679291, 0.2225790023803711, -0.23010414838790894, 0.21843872964382172, 0.14203566312789917, 0.19450289011001587, -0.22365424036979675, -0.9100069403648376, 0.3756522238254547, 0.18323248624801636, -0.10512424260377884, 0.26808780431747437, 0.35134780406951904, -0.1354527324438095, 0.6268392205238342, 1.0689948797225952, -0.22712861001491547, 0.10381051152944565, -0.15271683037281036, 0.9407742023468018, -1.0163651704788208, -0.47224363684654236, -0.6920760273933411, 0.15897183120250702, -0.07328616827726364, -0.4848520755767822, 0.6043451428413391, 0.6309142708778381, 0.8809773325920105, -0.1518353521823883, 0.43504446744918823, -0.2718523144721985, 0.3067338168621063, -0.6024379730224609, 0.4483967125415802, -0.4016089141368866, 0.32422637939453125, -0.4645678699016571, -1.149336338043213, -0.46814706921577454, 0.5610107779502869, -0.046231288462877274, -0.16482333838939667, 0.714996337890625, 1.083419919013977, -0.17271502315998077, 0.08462276309728622, 0.15242531895637512, -0.014759997837245464, 0.45350217819213867, 0.9834023118019104, 0.9969750642776489, -0.27463430166244507, 0.560837984085083, -0.2139415293931961, -0.17279493808746338, -0.5549699664115906, -1.2651121616363525, -0.872683048248291, -0.2273523509502411, -0.35289865732192993, -0.3022480905056, 0.04819730296730995, 1.1563011407852173, 0.5501280426979065, -0.8972387313842773, -0.16903367638587952, -0.43330445885658264, 0.047036297619342804, -0.27203336358070374, -0.20061556994915009, -0.01199075672775507, -0.20155999064445496, -0.5636743903160095, 0.5458689332008362, -0.004807549063116312, -0.12896978855133057, -0.11695537716150284, -0.19599047303199768, 0.019387036561965942, -0.0025861982721835375, 0.205385223031044, 0.5582857728004456, -0.3961586356163025, -0.002836225787177682, -0.013873372226953506, -0.3826836049556732, -0.04313132166862488, 0.8796352744102478, -0.8273531198501587, 0.5922935009002686, 0.578528106212616, 1.0722157955169678, 0.34424373507499695, 0.04232971370220184, 0.5442649126052856, -0.6665319204330444, -0.07306434214115143, 0.4759916365146637, 0.09671419858932495, 0.46033304929733276, -0.06586276739835739, 0.725375771522522, 0.12446226924657822, -0.40092673897743225, -1.3256016969680786, 0.038883473724126816, -0.9710410833358765, -0.19198666512966156, 1.1275067329406738, 0.17367000877857208, -0.14661777019500732, -0.2981201708316803, -0.279262512922287, 0.017185911536216736, -0.2989600896835327, 0.7194647192955017, 0.7031865119934082, -0.05524970591068268, 0.30457788705825806, -1.0266436338424683, 0.5196072459220886, 0.5233117938041687, -0.9252495765686035, 0.07339143007993698, 0.7384480834007263, 0.3034224212169647, -0.16570362448692322, 0.4019196033477783, -0.10584376007318497, 0.6151469349861145, -0.01883762702345848, 0.4761550724506378, -0.38608309626579285, -0.059998754411935806, -0.4516427516937256, 0.03911060094833374, 0.26905396580696106, 0.20406848192214966 ]
http://arxiv.org/abs/2405.04515v2
http://arxiv.org/pdf/2405.04515v2
A Transformer with Stack Attention
2024-05-07T17:47:57
2024-05-13T18:56:18
Jiaoda Li, Jennifer C. White, Mrinmaya Sachan, Ryan Cotterell
cs.CL
cs.CL
Natural languages are believed to be (mildly) context-sensitive. Despite underpinning remarkably capable large language models, transformers are unable to model many context-free language tasks. In an attempt to address this limitation in the modeling power of transformer-based language models, we propose augmenting them with a differentiable, stack-based attention mechanism. Our stack-based attention mechanism can be incorporated into any transformer-based language model and adds a level of interpretability to the model. We show that the addition of our stack-based attention mechanism enables the transformer to model some, but not all, deterministic context-free languages.
[ -0.5048229098320007, -0.42667198181152344, 0.2180909514427185, 0.5269899368286133, 0.059228360652923584, -0.09761323779821396, -0.07700028270483017, -0.6299229860305786, 0.08573392778635025, 0.6576192378997803, -0.5865438580513, 0.15853780508041382, -0.6303611397743225, 0.18247991800308228, -0.7023941278457642, 1.2944912910461426, 0.10792551934719086, -0.48398256301879883, -0.09751259535551071, -0.007513660937547684, -0.39241474866867065, -0.3677281439304352, -0.5084835886955261, -0.44646817445755005, 0.5325339436531067, 0.12269171327352524, 0.9027133584022522, 0.3866225779056549, 0.7677325010299683, 0.25616541504859924, -0.20713937282562256, -0.4142049551010132, -0.6365723609924316, -0.12554752826690674, -0.33439382910728455, -0.9268414378166199, -0.5237207412719727, -0.08721131086349487, 0.7157540321350098, 0.681053638458252, 0.25045397877693176, 0.01606760360300541, -0.3020051121711731, 0.6818017363548279, -0.550081193447113, 0.2112867534160614, -0.7058748602867126, 0.09013920277357101, 0.049552809447050095, -0.0013871039263904095, -0.7727272510528564, -0.14107786118984222, 0.23798798024654388, -0.2774735689163208, 0.5162065625190735, 0.25557219982147217, 0.6705159544944763, 0.7022236585617065, -0.44490399956703186, 0.16517260670661926, -1.0963995456695557, 1.0483359098434448, -0.4472997784614563, 0.5963836908340454, 0.26749730110168457, 0.5229814052581787, 0.1951451599597931, -0.5770789384841919, -0.6164911389350891, -0.3300483822822571, -0.54702228307724, 0.23146823048591614, -0.5921001434326172, -0.09545048326253891, 0.5552222728729248, 0.7497640252113342, -0.08627057820558548, -0.04143764451146126, -0.2797052562236786, -0.06725705415010452, 0.2524064779281616, 0.24240072071552277, 0.6071265339851379, -0.2637326121330261, -0.5504454374313354, 0.06430923193693161, -0.6986515522003174, 0.31438198685646057, 0.20400623977184296, 0.4312523305416107, -0.4646630883216858, 0.5545728802680969, -0.15594632923603058, 0.7694834470748901, 0.42621171474456787, 0.3059588372707367, -0.17342215776443481, -0.0712612196803093, -0.2893621325492859, -0.08056167513132095, 0.29964008927345276, 0.18073499202728271, 0.2327968031167984, -0.4603739082813263, -0.26737073063850403, 0.24233420193195343, 0.6312442421913147, -0.7607404589653015, -0.33818140625953674, 0.3239399194717407, -0.1796448528766632, -0.5134785771369934, -0.15617959201335907, -0.34221702814102173, 0.23056727647781372, 0.013641438446938992, 0.21080446243286133, -0.32985037565231323, -0.2020416110754013, -0.011056301183998585, -0.11736395955085754, 0.3650072515010834, -0.07587309926748276, -1.5364514589309692, 0.6183664798736572, 0.6937001347541809, 0.6568459272384644, -0.1386536806821823, -0.19566451013088226, -0.6042801737785339, 0.3100701868534088, -0.25047996640205383, 1.0886013507843018, -0.9224610328674316, -0.3544200360774994, -0.3232543170452118, 0.29326412081718445, -0.3855970799922943, -0.30660131573677063, 0.7033932209014893, -0.7501803040504456, 0.6786149144172668, -0.10318461805582047, -0.13369198143482208, -0.23187801241874695, 0.056811586022377014, -1.0095843076705933, 1.1113204956054688, 0.4379619359970093, -1.0367857217788696, 0.002247183583676815, -0.9034159779548645, -0.719086229801178, 0.3084914982318878, 0.18222010135650635, -0.16070003807544708, 0.3668633699417114, 0.281488299369812, 0.12307977676391602, -0.35436996817588806, 0.18184295296669006, 0.13851390779018402, -0.4354495406150818, 0.04734678938984871, -0.48579201102256775, 1.048716425895691, -0.09432952851057053, -0.22467829287052155, 0.22205929458141327, -0.8482833504676819, -0.24779967963695526, -0.03100155107676983, -0.3768250048160553, -0.40462714433670044, 0.01791021227836609, 0.24974322319030762, 0.46009641885757446, 0.15403392910957336, -0.44119009375572205, 0.3059716820716858, -1.2110868692398071, 0.4108734130859375, 0.35543006658554077, -0.2862338125705719, 0.7927265763282776, -0.3769289255142212, 0.6352337002754211, 0.05703844502568245, -0.08790513873100281, -0.14278221130371094, -0.43323004245758057, -1.0085903406143188, -0.3778344392776489, -0.06449239701032639, 0.5509434342384338, -0.5072304010391235, 0.33368566632270813, -0.35855329036712646, -0.34173497557640076, -0.7153292298316956, -0.0520508848130703, 0.6100666522979736, 0.6587582230567932, 0.36456504464149475, -0.37964728474617004, -0.5394938588142395, -1.2154600620269775, -0.32330724596977234, 0.0711868554353714, -0.3955122232437134, 0.279045432806015, 0.43609070777893066, -0.3065727651119232, 1.0282601118087769, -0.4575416147708893, -0.17269444465637207, -0.3828376531600952, -0.02126145362854004, 0.3330346643924713, 0.17412161827087402, 0.5462002158164978, -0.8787192106246948, -0.3596210479736328, 0.009109552018344402, -0.34928277134895325, -0.09569958597421646, 0.07182639837265015, -0.025903673842549324, -0.03726857155561447, 0.41325101256370544, -0.6610736846923828, 0.21082687377929688, 0.5956303477287292, -0.11145266890525818, 0.33836138248443604, 0.020015014335513115, -0.13733124732971191, -1.1893457174301147, 0.15870530903339386, -0.1595424860715866, -0.11022255569696426, -1.1306266784667969, 0.12889228761196136, 0.22927911579608917, -0.17349889874458313, -0.9401025176048279, 0.8756498098373413, -0.3023453950881958, -0.19437582790851593, -0.4672500193119049, 0.06213942915201187, 0.10948830842971802, 0.5946308970451355, 0.26881974935531616, 0.45862874388694763, 0.665951669216156, -0.665346086025238, 0.24513043463230133, 0.49926888942718506, -0.17653381824493408, 0.75185227394104, -0.9551441669464111, 0.04883052781224251, -0.26870205998420715, 0.31953510642051697, -1.1583033800125122, -0.5691519379615784, 0.051113251596689224, 0.04197079688310623, 0.2299848347902298, -0.18505312502384186, -0.06017416715621948, -0.6489171981811523, -0.3197377920150757, 0.4120115041732788, 0.18279488384723663, -0.6582570672035217, 0.6452531218528748, 0.04608478024601936, -0.010971665382385254, -0.5205321311950684, -0.8440458178520203, -0.02895481325685978, -0.08579356223344803, -0.7015536427497864, 0.5343710780143738, -0.06432041525840759, -0.3298359513282776, 0.07134685665369034, -0.12110503017902374, -0.08599384874105453, 0.26452258229255676, 0.3006596565246582, 0.2751208245754242, -0.38236144185066223, 0.13724598288536072, -0.062134865671396255, -0.6614406704902649, -0.0019663043785840273, -0.14312832057476044, 0.3605029284954071, -0.37227216362953186, -0.37314385175704956, -0.3436981737613678, 0.4824638366699219, 0.8294159173965454, -0.46391692757606506, 0.673434317111969, 0.4055984914302826, -0.5614039301872253, -0.17140276730060577, -0.370518296957016, -0.46979668736457825, -0.4893871247768402, 0.22223564982414246, -0.46210283041000366, -1.109423041343689, 0.6844450831413269, 0.3367733061313629, 0.09851029515266418, 0.6961433291435242, 0.7680372595787048, 0.18851542472839355, 1.1455084085464478, 1.0063985586166382, -0.22944989800453186, 0.5517891049385071, 0.3951708972454071, 0.6277239918708801, -1.1363441944122314, 0.14973077178001404, -0.6109985709190369, -0.38829660415649414, -0.7034056782722473, -0.1373426914215088, -0.006599516607820988, -0.15566106140613556, -0.016029348596930504, 0.7954403758049011, -0.8243564963340759, 0.7201483845710754, 0.4711499810218811, -0.36844226717948914, 0.4653056561946869, -0.2596973180770874, 0.1715366691350937, -0.10672882199287415, -0.7243483066558838, -0.4719473719596863, 0.4387553632259369, 0.3364395499229431, 0.8485111594200134, 0.3014879524707794, 0.19659961760044098, -0.14526818692684174, 0.5687321424484253, -0.7976179122924805, 0.29320859909057617, -0.29638513922691345, -0.9500202536582947, -0.25189152359962463, -0.19783928990364075, -0.7218882441520691, 0.23715518414974213, 0.22233986854553223, -1.0740900039672852, 0.1043793335556984, 0.1437087059020996, -0.45676732063293457, 0.1782197207212448, -1.0662304162979126, 0.8753531575202942, -0.09379244595766068, -0.12757596373558044, 0.10777124762535095, -0.6916662454605103, 0.519592821598053, -0.03135501593351364, 0.25036612153053284, -0.10960524529218674, 0.15637509524822235, 0.44040918350219727, -0.0995851457118988, 1.108180046081543, 0.2899338901042938, -0.44254937767982483, 0.104194276034832, 0.2484620213508606, 0.6666441559791565, -0.16320545971393585, 0.024218430742621422, -0.172235906124115, -0.3248036503791809, -0.46384212374687195, -0.6249619722366333, 0.7044106721878052, -0.5177478194236755, -0.8754573464393616, 0.052776698023080826, -1.0266081094741821, -0.22244732081890106, 0.32096269726753235, 0.3280015289783478, 0.3108024597167969, -0.06665357947349548, 0.20247367024421692, 0.4529559016227722, 0.09560859203338623, 0.7896284461021423, 0.5217185020446777, -0.1699494570493698, 0.2687559425830841, 0.9037245512008667, -0.1540023535490036, 0.4348706007003784, 0.9512082934379578, 0.3210718631744385, -0.2936002314090729, -0.009022876620292664, -0.06443805247545242, -0.023339752107858658, -0.5390461683273315, 0.27801117300987244, -0.9772846698760986, -0.3043789565563202, -0.2821182608604431, -0.350956529378891, -0.347825825214386, -0.843062698841095, -0.07191416621208191, -0.18153437972068787, 0.5026743412017822, 0.6871058940887451, 0.2861612141132355, 0.4544093906879425, -0.5994709134101868, 0.6357597708702087, 0.6834549307823181, 0.6587495803833008, 0.05411841347813606, -0.7102595567703247, -0.015130885876715183, -0.311105877161026, -0.10394052416086197, -0.49350297451019287, 0.49325066804885864, 0.12915556132793427, 0.5538093447685242, 0.41960668563842773, 0.020394716411828995, 0.17580972611904144, -0.5411584973335266, 0.5088650584220886, 0.044869210571050644, -1.0866410732269287, 0.7352640628814697, -0.4650772213935852, 0.6964346170425415, 0.1537269502878189, 0.34175464510917664, -0.5148547887802124, -0.947479248046875, -0.6352046132087708, -0.7642003297805786, 1.055578351020813, 0.30661740899086, 0.5613652467727661, -0.11437909305095673, -0.054502759128808975, 0.06334766000509262, 0.018971839919686317, -1.0953847169876099, -0.0015421368880197406, -0.29150834679603577, -0.07951939851045609, 0.09806837141513824, -0.3466370701789856, -0.1599128097295761, 0.039642333984375, 0.5596829056739807, -0.061267219483852386, 0.29622501134872437, -0.12635013461112976, -0.20202042162418365, -0.2793152928352356, 0.6105741858482361, 0.772426426410675, 0.11278186738491058, -0.22030818462371826, 0.6129750609397888, 0.28605836629867554, -0.4287039637565613, 0.0018041398143395782, -0.03300050273537636, -0.35134637355804443, -0.2781583070755005, 0.26398754119873047, 0.9807637929916382, 0.8845351338386536, -0.33461058139801025, 0.1708841472864151, -0.026544369757175446, 0.0649779736995697, 0.3113980293273926, 0.2334093302488327, 0.47501128911972046, 0.13097073137760162, 0.30065682530403137, 0.22974646091461182, 0.025347962975502014, -0.3287810981273651, 0.40925315022468567, 0.30913248658180237, -0.9474600553512573, -0.5484075546264648, 0.9913867115974426, 0.4488297700881958, -0.7558667659759521, 0.23456856608390808, 0.04113081842660904, -0.6630176305770874, 0.6593577265739441, 0.9672012329101562, 0.9118912816047668, -0.48295414447784424, 0.0014730760594829917, 0.18894758820533752, 0.5313037037849426, 0.05679590255022049, -0.07533470541238785, -0.01719481311738491, -0.8349226117134094, -0.4314654767513275, -0.40940380096435547, -0.5687923431396484, -0.10506119579076767, -0.5925213098526001, 0.1525776982307434, -0.2114247828722, 0.03699641674757004, 0.1970447301864624, -0.43774235248565674, -0.5039074420928955, 0.46518439054489136, -0.13251225650310516, 0.480948269367218, -0.8056466579437256, 0.7518443465232849, 0.5766710638999939, -0.33312535285949707, -0.36046281456947327, 0.07725824415683746, -0.316069096326828, -0.7670299410820007, 0.7340061664581299, 0.47590768337249756, -0.5125477313995361, 0.1830163449048996, -0.27114421129226685, -0.9418315291404724, 0.523730456829071, 0.5253828763961792, -0.6421340107917786, -0.03295950964093208, -0.002915050834417343, 0.804966926574707, -0.3891032636165619, 0.4455723762512207, 0.36822882294654846, 0.28832635283470154, -0.07633409649133682, -0.5967949032783508, 0.23892192542552948, -0.350848525762558, -0.013975693844258785, 0.38639014959335327, -0.8036013841629028, 0.8347793817520142, -0.3388359844684601, -0.5848398208618164, -0.5189552903175354, 0.48444023728370667, -0.2630135416984558, -0.10424811393022537, 0.45644405484199524, 0.471612811088562, 0.5219901204109192, -0.0180515144020319, 1.5090019702911377, -0.5231167674064636, 0.4091738164424896, 1.2513301372528076, -0.33868059515953064, 0.8626230359077454, 0.5764843821525574, -0.20939631760120392, 0.6530498266220093, 0.11592845618724823, 0.0031093743164092302, 0.543079137802124, -0.09813406318426132, -0.3927723169326782, -0.28337621688842773, -0.20388834178447723, -0.10285993665456772, 0.20989489555358887, -0.031838078051805496, -0.3267761170864105, -0.2783188819885254, 0.03322970122098923, -0.40708696842193604, -0.05476270988583565, -0.09411786496639252, 0.583192765712738, 0.07248792797327042, -0.7122109532356262, 0.5323067903518677, -0.06408815830945969, 0.6126728653907776, -0.20316053926944733, 0.27988895773887634, -0.04688209667801857, 0.05360623821616173, -0.3095199167728424, -0.5840004086494446, 0.8380244374275208, 0.11673428863286972, -0.7889233231544495, -0.30280908942222595, 0.8661934733390808, -0.2705153822898865, -0.675643801689148, 0.28067463636398315, 0.3382132649421692, -0.020404314622282982, -0.09385304898023605, -0.19021421670913696, -0.26232606172561646, -0.02326095476746559, -0.4179062843322754, 0.1759042590856552, 0.16047057509422302, -0.2938186824321747, 0.8435128927230835, 0.6466113328933716, -0.5664705038070679, -0.09574087709188461, 0.44998323917388916, 0.6725481748580933, -0.6584030985832214, -0.5672578811645508, -0.8504120707511902, 0.6415346264839172, 0.2161247879266739, -0.25210464000701904, 0.5754535794258118, 0.3598707616329193, 0.5325788855552673, -0.2850613594055176, 0.8061966300010681, -0.08080989867448807, 0.3942714035511017, -0.08095642924308777, 0.6138886213302612, -0.29842609167099, 0.22041583061218262, -0.09056942909955978, -0.961946427822113, -0.48730507493019104, 0.6022763252258301, -0.7257275581359863, -0.14555144309997559, 0.7819058299064636, 0.6380454897880554, -0.21110349893569946, 0.2164141982793808, 0.529180109500885, 0.23095457255840302, 0.17866040766239166, 0.9195401072502136, 0.8099995851516724, -0.37762880325317383, 0.5518749356269836, -0.1503414362668991, -0.17193487286567688, -0.34675031900405884, -1.0896445512771606, -1.10532808303833, -0.5001267194747925, -0.16054637730121613, 0.1033017635345459, -0.3509078919887543, 0.3856336176395416, 0.5318878889083862, -1.0586885213851929, 0.23764054477214813, -0.3537108302116394, 0.4726487398147583, -0.2766096889972687, -0.3088160753250122, 0.1837310492992401, -0.27593278884887695, -1.0276750326156616, 0.4500292241573334, 0.6294571757316589, 0.20116209983825684, -0.23748548328876495, 0.366976261138916, 0.1339036077260971, 0.3108268678188324, 0.7804683446884155, 0.3360956311225891, -0.8133546710014343, -0.6542543768882751, 0.19029073417186737, -0.2949991226196289, 0.23738788068294525, 0.6750831604003906, -0.6444934010505676, 0.45407482981681824, 0.491903156042099, 0.5274636149406433, 0.6396921277046204, -0.026199396699666977, 0.6907323598861694, -1.0536980628967285, 0.4973140060901642, 0.28225579857826233, 0.24114423990249634, 0.4496828615665436, -0.4872530698776245, 0.3932822048664093, -0.033329833298921585, -0.21944086253643036, -0.6190809607505798, 0.6559218764305115, -1.1519606113433838, 0.16590188443660736, 0.8504299521446228, 0.16561228036880493, -0.3572949767112732, -0.22284355759620667, -0.3380596935749054, 0.10009414702653885, -0.2225179523229599, 0.8730457425117493, 0.8406949639320374, -0.09238361567258835, -0.29242825508117676, -0.4566531479358673, 0.3514736294746399, 0.6335439085960388, -0.9158042073249817, 0.31814077496528625, -0.00025622843531891704, 0.14371106028556824, 0.5344916582107544, 0.3497723937034607, -0.06526497006416321, 0.3356715738773346, 0.04466189444065094, -0.06662465631961823, 0.20574675500392914, -0.29326024651527405, -0.309814989566803, 0.4083126187324524, -0.18391714990139008, 0.18149641156196594 ]
http://arxiv.org/abs/2405.06692v1
http://arxiv.org/pdf/2405.06692v1
Analyzing Language Bias Between French and English in Conventional Multilingual Sentiment Analysis Models
2024-05-07T17:46:36
2024-05-07T17:46:36
Ethan Parker Wong, Faten M'hiri
cs.CL
cs.CL
Inspired by the 'Bias Considerations in Bilingual Natural Language Processing' report by Statistics Canada, this study delves into potential biases in multilingual sentiment analysis between English and French. Given a 50-50 dataset of French and English, we aim to determine if there exists a language bias and explore how the incorporation of more diverse datasets in the future might affect the equity of multilingual Natural Language Processing (NLP) systems. By employing Support Vector Machine (SVM) and Naive Bayes models on three balanced datasets, we reveal potential biases in multilingual sentiment classification. Utilizing Fairlearn, a tool for assessing bias in machine learning models, our findings indicate nuanced outcomes. With French data outperforming English across accuracy, recall, and F1 score metrics in both models, hinting at a language bias favoring French. However, Fairlearn's metrics suggest that the SVM approaches equitable levels with a demographic parity ratio of 0.963, 0.989, and 0.985 for the three separate datasets, indicating near-equitable treatment across languages. In contrast, Naive Bayes demonstrates greater disparities, evidenced by a demographic parity ratio of 0.813, 0.908, and 0.961. These findings reveal the importance of developing equitable multilingual NLP systems, particularly as we anticipate the inclusion of more datasets in various languages in the future.
[ -0.4826180636882782, -0.1278681457042694, 0.15697400271892548, 0.773665726184845, 0.23418334126472473, 0.11572103202342987, -0.19016122817993164, -0.4050523340702057, 0.05708298087120056, 0.24930541217327118, -0.3598627746105194, -0.4752010703086853, -0.914883017539978, 0.1825452297925949, 0.019580060616135597, 1.0708197355270386, 0.20480841398239136, 0.9404059648513794, -0.17273946106433868, -0.6180825233459473, -0.5880146026611328, -0.9299772381782532, -0.6727597713470459, -0.2342803180217743, 0.5545752048492432, 0.22249123454093933, 0.694957971572876, 0.02079511061310768, 0.30720776319503784, 0.2063167691230774, 0.05418872833251953, -0.20933431386947632, -0.16505423188209534, -0.005205783061683178, -0.23714840412139893, -0.7106350064277649, -0.604863703250885, 0.13465239107608795, 0.497538298368454, 0.8785809874534607, 0.10257428139448166, -0.0562942773103714, 0.34242668747901917, 0.9756481051445007, -0.6274906396865845, 0.21228249371051788, -0.3424955904483795, 0.34542521834373474, -0.21247854828834534, -0.017218222841620445, -0.319665789604187, -0.3539000153541565, 0.11509797722101212, -0.09853831678628922, 0.2641356289386749, -0.181972935795784, 0.49004918336868286, 0.0485268197953701, -0.6576038599014282, -0.03621843829751015, -0.29874157905578613, 1.3858529329299927, -0.5486717820167542, 0.7224750518798828, 0.13613277673721313, 0.19653502106666565, 0.21561160683631897, -0.12424440681934357, -0.5065467357635498, 0.20313510298728943, 0.11475220322608948, 0.30208536982536316, -0.2200368195772171, -0.28523799777030945, 0.25457894802093506, 0.059573911130428314, -0.631777286529541, 0.12924452126026154, -0.2575199604034424, -0.29575487971305847, 0.6088710427284241, -0.248866468667984, 0.39088794589042664, -0.4682219326496124, -0.2591223120689392, -0.10170619934797287, -0.43893304467201233, 0.3854973316192627, 0.78033447265625, 0.5253984928131104, -0.3065590560436249, 0.5959500670433044, 0.08048924058675766, 0.5413304567337036, -0.6133687496185303, 0.03144528716802597, 0.7641989588737488, -0.22301547229290009, -0.04968872666358948, -0.049828942865133286, 1.0217610597610474, 1.0332508087158203, 0.8118259906768799, 0.07251115143299103, -0.25791218876838684, 0.42980316281318665, -0.07925987243652344, -0.32264280319213867, -0.05253712460398674, 0.28706544637680054, -0.4516671597957611, -0.021086078137159348, 0.07771091908216476, -1.156818151473999, -0.3836246132850647, -0.42199447751045227, -0.1734752357006073, -0.22877494990825653, -0.33098024129867554, 0.20499765872955322, -0.42514151334762573, 0.3364779055118561, 0.22588291764259338, -0.5387511253356934, 0.27724969387054443, 0.5690801739692688, 0.7277631759643555, -0.30022644996643066, -0.2382041960954666, -0.5001609921455383, -0.33543860912323, -0.062052249908447266, 0.6929465532302856, -0.6309201717376709, -0.515454113483429, 0.3692411184310913, 0.19674590229988098, -0.13267865777015686, -0.4359464645385742, 0.7928898930549622, -0.2633588910102844, 0.5222675800323486, -0.5383827090263367, -0.22356878221035004, -0.1762571483850479, 0.3021855652332306, -0.991562008857727, 0.9046502709388733, -0.12551580369472504, -1.072961688041687, 0.7004493474960327, -0.4302380383014679, -0.5004999041557312, -0.3600425124168396, -0.4825078845024109, -0.23908793926239014, -0.045384399592876434, 0.7093735933303833, 0.518612265586853, -0.2708652913570404, 0.4460512399673462, -0.5385140180587769, 0.1552143096923828, 0.29572078585624695, -0.7886004447937012, 1.1596534252166748, 0.10639803111553192, -0.2239832729101181, -0.43706899881362915, -0.5422593951225281, -0.15683609247207642, -0.03171618655323982, -0.15618570148944855, -0.40654778480529785, 0.16402265429496765, 0.436832994222641, 0.5909117460250854, 0.12956687808036804, -0.5830230712890625, -0.08291083574295044, -0.5832491517066956, 0.12533269822597504, 0.8048795461654663, -0.2645644545555115, 0.8079904913902283, -0.24675573408603668, 0.6945360898971558, 0.17747417092323303, 0.2442941963672638, 0.03149839863181114, -0.8475820422172546, -0.5782122015953064, -0.2593168020248413, 0.37949588894844055, 0.8524339199066162, -0.5783597230911255, 0.15697096288204193, -0.34141331911087036, 0.3291150629520416, -0.7068637013435364, 0.15323404967784882, 0.17482367157936096, 0.3253682255744934, 0.3839705288410187, -0.4004417359828949, -0.371267169713974, -1.430449366569519, -0.6625297665596008, 0.030349230393767357, 0.021058043465018272, 0.16229818761348724, 0.21283964812755585, -0.14353960752487183, 0.955490231513977, -0.1725352555513382, -0.3176546096801758, -0.3014933168888092, 0.048119328916072845, 0.2528568208217621, 0.3346140384674072, 1.0192407369613647, -0.9576193690299988, -0.656668484210968, -0.06613607704639435, -0.673782467842102, -0.2510000169277191, 0.2642067074775696, -0.11496852338314056, 0.3522510826587677, 0.1422126293182373, -0.25176024436950684, 0.20663487911224365, 0.6015554070472717, -0.12670066952705383, -0.015222428366541862, 0.3118157684803009, 0.2641441524028778, -1.0614124536514282, -0.17604218423366547, 0.6525828242301941, -0.1825553923845291, -0.4092354476451874, -0.33283117413520813, 0.11588885635137558, 0.17068392038345337, -0.495438814163208, 0.5844854116439819, -0.18698401749134064, 0.10571002960205078, 0.10924842953681946, 0.10649839043617249, 0.14254222810268402, 0.3246862590312958, 0.1938324272632599, 0.30468541383743286, 0.6276151537895203, -0.20012205839157104, 0.07971855252981186, -0.09504434466362, -0.03569502755999565, 0.7561702132225037, -0.2705860733985901, -0.2028862088918686, -0.4871772825717926, 0.11702662706375122, -0.8744568228721619, 0.14649422466754913, 0.24993079900741577, -0.7256647348403931, 0.3307036757469177, -0.2741057872772217, -0.3130704164505005, -0.29827335476875305, -0.6140413880348206, 0.417439728975296, 0.29003551602363586, -0.4368789494037628, 0.45305049419403076, 0.7263514399528503, -0.653759241104126, -1.225106120109558, -0.9630246758460999, -0.05001245439052582, -0.09327645599842072, -0.5593495965003967, -0.1188494861125946, 0.01528520043939352, -0.6218509674072266, -0.1700485199689865, 0.0640774592757225, -0.12138884514570236, -0.2061251699924469, 0.08710524439811707, 0.4153648316860199, 0.027383865788578987, 0.16285662353038788, 0.3163929283618927, 0.0004527186101768166, 0.17931653559207916, -0.33978691697120667, 0.41246870160102844, -0.038945022970438004, -0.3308732211589813, -0.09563273191452026, 0.5397657752037048, 0.5391077995300293, -0.230715811252594, 0.6724352836608887, 0.6107354164123535, -0.46252506971359253, -0.27408671379089355, -0.6552820801734924, 0.035919129848480225, -0.3129364252090454, 0.3265245854854584, -0.1628689467906952, -0.8228563666343689, 0.4673070013523102, 0.5532262921333313, 0.20615434646606445, 0.6707929372787476, 0.6727767586708069, 0.007621544413268566, 1.4239579439163208, 0.553356945514679, -0.8090985417366028, 0.18684804439544678, -0.19379819929599762, 0.3392002582550049, -0.3249402642250061, -0.30275222659111023, -0.8273683786392212, -0.3120352327823639, -0.8931674957275391, -0.47689706087112427, 0.09774313122034073, -0.04011417180299759, 0.10533416271209717, -0.2140662521123886, -0.3610614836215973, 0.2902756631374359, 0.4892784357070923, -0.26061972975730896, 0.029120760038495064, 0.3014499545097351, -0.4228900372982025, -0.574521541595459, -0.965613842010498, -0.7119991183280945, 1.318077802658081, 0.5325177907943726, 0.4296572506427765, -0.029248319566249847, 0.4796158969402313, 0.42846864461898804, 0.424480676651001, -0.7251144051551819, 0.16404631733894348, -0.40183785557746887, -0.5784507393836975, -0.10077441483736038, -0.5859604477882385, -0.7502080798149109, 0.46535709500312805, -0.21756741404533386, -0.34865888953208923, 0.4706135392189026, -0.02355060540139675, -0.1315990537405014, 0.24286533892154694, -0.7200084924697876, 0.826230525970459, -0.2090449184179306, -0.47248539328575134, -0.07795499265193939, -0.537438690662384, 0.4360106289386749, -0.13698959350585938, 1.1345582008361816, -0.20000387728214264, 0.12377548217773438, 0.7235827445983887, -0.13735024631023407, 0.8098620176315308, -0.3941677212715149, -0.33827999234199524, -0.021748296916484833, -0.26943597197532654, -0.011808151379227638, 0.5250153541564941, -0.37643909454345703, 0.48394331336021423, -0.027211589738726616, -0.6754569411277771, -0.2148095816373825, 0.9323245286941528, -0.9842092394828796, -0.11241693794727325, -0.7776663303375244, -0.43362298607826233, -0.43899455666542053, -0.21064791083335876, 0.3098595440387726, 0.2482990175485611, -0.3045639097690582, -0.188247948884964, 0.5231300592422485, -0.7154514789581299, 0.47258612513542175, 0.4360712766647339, -0.2066127210855484, -0.25678789615631104, 0.9638306498527527, 0.30299484729766846, -0.00227772886864841, 0.5704026222229004, 0.1069285050034523, -0.49517351388931274, -0.04854089394211769, -0.48745882511138916, 0.05643947049975395, -0.7711006999015808, -0.16012217104434967, -0.8972445130348206, 0.012009670957922935, -0.6056718230247498, -0.1919282227754593, -0.29832178354263306, -0.5404248833656311, 0.150327667593956, -0.13610926270484924, 0.1790415644645691, 0.4981454014778137, -0.0829647034406662, -0.019334718585014343, -0.8507066965103149, 0.4120328426361084, 0.22783051431179047, 0.29456543922424316, -0.08487790822982788, -0.29521089792251587, -0.07197950780391693, 0.30681055784225464, -0.2245396077632904, -0.932296872138977, 0.6514127254486084, 0.05089118331670761, 0.679495632648468, 0.16960516571998596, -0.29163506627082825, 0.049750328063964844, -0.6468981504440308, 1.0264167785644531, 0.42043426632881165, -0.7690207362174988, 0.3299434185028076, -0.3395581543445587, 0.2564505338668823, 0.3131166994571686, 0.5988327860832214, -0.7320477366447449, -0.6158410310745239, -0.3031354248523712, -0.8923937678337097, 0.7624237537384033, -0.08483728021383286, 0.2848697304725647, -0.2425469309091568, -0.02724701166152954, 0.32515963912010193, 0.35073015093803406, -1.2956026792526245, -0.4653080105781555, -0.2744685709476471, -0.3190602958202362, -0.43946588039398193, -0.09693992137908936, -0.043290652334690094, -0.26563653349876404, 0.5601661205291748, -0.07703273743391037, 0.23436374962329865, -0.11900118738412857, -0.28509584069252014, 0.013567632995545864, 0.5710075497627258, 0.12377440184354782, 0.5317301154136658, -0.0316959023475647, 0.0451103039085865, 0.24731498956680298, -0.35392770171165466, 0.08948695659637451, 0.21321824193000793, -0.039847712963819504, 0.2733820080757141, 0.46320822834968567, 0.5188990831375122, -0.12450630217790604, -0.5412742495536804, 0.958767294883728, -0.2707119286060333, -0.341285765171051, -0.10898488759994507, -0.34630483388900757, 0.038302551954984665, 0.0922476202249527, 0.2570255398750305, 0.43817099928855896, 0.2084885537624359, -0.37778440117836, 0.0560988187789917, 0.569928765296936, -0.6197542548179626, -0.3384976089000702, 0.5176340937614441, 0.2226678878068924, 0.06352771818637848, 0.44932660460472107, -0.21076972782611847, -0.7390328645706177, 0.5479744076728821, -0.06919343024492264, 0.832708477973938, -0.45148831605911255, 0.4016602039337158, 0.26406174898147583, 0.6467406153678894, -0.18523897230625153, 0.6332859992980957, 0.49960756301879883, -0.9370267987251282, -0.6767810583114624, -0.823724627494812, -0.00002345442771911621, -0.11542847752571106, -0.7762063145637512, 0.4394300580024719, -0.07425645738840103, -0.2726995348930359, 0.009512931108474731, -0.45806074142456055, -1.2027051448822021, 0.3816910684108734, 0.3470083773136139, 0.7495244145393372, -1.3232505321502686, 0.6354861259460449, 0.8517870306968689, -0.292674720287323, -0.47855034470558167, -0.05760237202048302, 0.20605236291885376, -0.6900259852409363, 0.7527217864990234, 0.3090870976448059, -0.014866643585264683, -0.5226178765296936, -0.2594810724258423, -0.2944211959838867, 0.31451016664505005, 0.41602447628974915, -0.7530067563056946, 0.24922001361846924, 0.5289028882980347, 0.5191760063171387, -0.2447693645954132, 0.2718506157398224, 0.4524763524532318, 0.4838869869709015, -0.5883492827415466, -0.848846435546875, -0.5640019774436951, -0.4079563617706299, -0.1909254789352417, 0.23427285254001617, -0.4989165663719177, 0.8819875717163086, 0.24855215847492218, 0.03620518743991852, -0.7467421293258667, 0.33092448115348816, -0.16662278771400452, 0.3932245969772339, 0.47814908623695374, 0.6209765672683716, 0.5895827412605286, -0.20694157481193542, 1.1030908823013306, -0.43683022260665894, 0.14082801342010498, 0.7414995431900024, -0.5048732757568359, 0.7653540372848511, 0.6637771129608154, -0.44639602303504944, 0.39734330773353577, 0.3515757918357849, 0.3098689317703247, 0.2734643518924713, 0.1117674708366394, -0.38007408380508423, -0.018470561131834984, -0.13313685357570648, -0.27413758635520935, 0.1614195853471756, 0.3459444046020508, -0.36848846077919006, -0.11065544188022614, 0.39894020557403564, -0.011087030172348022, 0.3398691415786743, -0.442782461643219, 0.46123796701431274, 0.40395388007164, -0.5419011116027832, 0.05007569119334221, 0.28063568472862244, 0.959176778793335, -0.42952093482017517, 0.14088985323905945, -0.3250885605812073, 0.07670726627111435, -0.3729321360588074, -0.8394275903701782, 0.10920710861682892, 0.23894159495830536, -0.46959492564201355, -0.46261805295944214, 0.47779959440231323, -0.4602363109588623, -0.8879163861274719, 0.7990638017654419, 0.9757307767868042, -0.1851671189069748, -0.03422188013792038, -1.0372687578201294, 0.03437159210443497, 0.2828751504421234, -0.22737333178520203, 0.48170188069343567, 0.4634869396686554, -0.20731563866138458, 0.4978528320789337, 0.3199687600135803, 0.2594691514968872, 0.31655019521713257, 0.7955843210220337, 0.6085394620895386, -0.4102681577205658, -0.470880389213562, -0.9574570655822754, 0.7069276571273804, -0.07356660068035126, -0.06963661313056946, 1.0285608768463135, 0.7669230103492737, 1.1640516519546509, -0.08998443931341171, 1.3757272958755493, 0.21746110916137695, 0.6759200692176819, -0.38589492440223694, 0.3463900089263916, -0.6081570386886597, 0.26614630222320557, -0.5081170201301575, -1.2155226469039917, -0.44836342334747314, 0.772538959980011, -0.45570480823516846, 0.20343759655952454, 0.5314391255378723, 0.6885433793067932, -0.07640980929136276, 0.16832157969474792, 0.03796803578734398, -0.08781824260950089, 0.15872475504875183, 0.35246342420578003, 0.8221737146377563, -0.28009817004203796, 0.16371393203735352, -0.2476574182510376, -0.39617595076560974, 0.2381487488746643, -0.8310620188713074, -0.8398033380508423, -0.1687929630279541, -0.27773627638816833, -0.3421967923641205, -0.015356254763901234, 0.9977273941040039, 0.25269293785095215, -1.1062090396881104, -0.5124936699867249, 0.23396176099777222, 0.17992478609085083, 0.07915238291025162, -0.29683825373649597, 0.036140792071819305, -0.6289578676223755, -1.1420127153396606, -0.003537985263392329, 0.38597166538238525, -0.1417863965034485, -0.26108935475349426, -0.19373449683189392, -0.1722031831741333, -0.11982423067092896, 0.7665361166000366, -0.06909872591495514, -0.5376759767532349, -0.01949201710522175, 0.17975950241088867, -0.17070044577121735, 0.07017721980810165, 0.80777907371521, -0.4714065492153168, 0.6851289868354797, 0.4593701660633087, 0.3580411672592163, 0.0773252323269844, -0.3738810122013092, 0.9428119659423828, -0.9657918810844421, 0.3334810435771942, 0.4569222629070282, 0.6331911683082581, 0.5679881572723389, 0.036455146968364716, 0.19931091368198395, 0.23088979721069336, -0.36444219946861267, -0.7305213212966919, 0.11736589670181274, -0.6955947279930115, -0.3616175651550293, 1.0872052907943726, 0.1542222797870636, 0.13052062690258026, -0.2649666965007782, -0.2602071464061737, 0.09693661332130432, -0.5285736918449402, 0.31802937388420105, 1.047332763671875, 0.11054196953773499, -0.10681454092264175, -1.044128179550171, 0.5708150863647461, 0.6890775561332703, -0.2911152243614197, -0.09947734326124191, 0.5815008878707886, 0.0553884394466877, 0.031306952238082886, 0.5881152749061584, -0.2718554139137268, 0.08031196147203445, -0.38700371980667114, 0.4110841155052185, 0.8511333465576172, -0.21542419493198395, -0.6822314858436584, 0.24881407618522644, 0.07039587199687958, 0.18495646119117737 ]
http://arxiv.org/abs/2405.04513v1
http://arxiv.org/pdf/2405.04513v1
Switchable Decision: Dynamic Neural Generation Networks
2024-05-07T17:44:54
2024-05-07T17:44:54
Shujian Zhang, Korawat Tanwisuth, Chengyue Gong, Pengcheng He, Mingyuan Zhou
cs.CL
cs.CL, cs.AI, cs.LG
Auto-regressive generation models achieve competitive performance across many different NLP tasks such as summarization, question answering, and classifications. However, they are also known for being slow in inference, which makes them challenging to deploy in real-time applications. We propose a switchable decision to accelerate inference by dynamically assigning computation resources for each data instance. Automatically making decisions on where to skip and how to balance quality and computation cost with constrained optimization, our dynamic neural generation networks enforce the efficient inference path and determine the optimized trade-off. Experiments across question answering, summarization, and classification benchmarks show that our method benefits from less computation cost during inference while keeping the same accuracy. Extensive experiments and ablation studies demonstrate that our method can be general, effective, and beneficial for many NLP tasks.
[ -0.26965999603271484, -0.7219988703727722, 0.23255862295627594, 0.5116861462593079, -0.04367538541555405, 0.41389361023902893, -0.07549650222063065, -0.5225388407707214, 0.08908747881650925, 0.4486522376537323, -0.5107647776603699, 0.4428468346595764, -0.46914294362068176, 0.09686288982629776, -0.6426661610603333, 0.6161462068557739, -0.023019686341285706, -0.23875194787979126, -0.09904085844755173, -0.033606529235839844, -0.17825114727020264, -0.038226429373025894, -1.183955430984497, -0.6019847989082336, 0.6544771790504456, 0.020421378314495087, 0.9631010293960571, 0.8014116883277893, 0.3244934380054474, 0.44072040915489197, -0.24617724120616913, 0.37031739950180054, -0.0806271880865097, 0.5848339796066284, -0.28014323115348816, -0.5720622539520264, -0.2626197636127472, -0.20875301957130432, 0.5683926343917847, 0.7889242172241211, -0.2936587929725647, 0.1831996738910675, -0.23700757324695587, 0.6052273511886597, -0.5965266823768616, 0.020603245124220848, -0.9653301239013672, 0.6979828476905823, 0.138126939535141, -0.15708759427070618, -0.367563396692276, -0.5486886501312256, 0.21861869096755981, -0.3233529329299927, 0.5144496560096741, -0.2375555783510208, 0.8182037472724915, 0.8533597588539124, -0.3418125510215759, 0.12758149206638336, -0.9434138536453247, 0.8290277719497681, -0.7481125593185425, 0.3137502670288086, -0.032504621893167496, 0.3402433693408966, 0.0011343476362526417, -1.1338776350021362, -0.42235004901885986, -0.14493709802627563, 0.08263969421386719, 0.3061137795448303, -0.3369310796260834, 0.09930967539548874, 0.41383233666419983, 0.18576987087726593, -0.06278320401906967, 0.18252632021903992, 0.05731290578842163, 0.012282554991543293, 0.8358020782470703, 0.2261481136083603, 0.08020752668380737, -0.16236315667629242, 0.0694737359881401, -0.05165551230311394, -0.3818816840648651, -0.22064150869846344, 0.5849042534828186, 0.43049702048301697, 0.3260597288608551, 0.2763891816139221, -0.14013586938381195, 0.9143534302711487, 0.39499396085739136, 0.2604004740715027, 0.1561327874660492, -0.32848092913627625, -0.3873094320297241, 0.019126717001199722, 0.7460290789604187, 0.015087755396962166, -0.012869705446064472, -0.3235119879245758, -0.0495457723736763, -0.21901071071624756, 0.547084391117096, -0.7509154677391052, -0.42898309230804443, 0.21542102098464966, -0.595424473285675, -0.546024739742279, -0.4836284816265106, -1.0336798429489136, -0.14459550380706787, -0.14193078875541687, 0.1590927243232727, -0.12496600300073624, -0.3459450304508209, -0.014940217137336731, -0.24979320168495178, -0.2751118838787079, 0.49177026748657227, -1.1368188858032227, 0.0525595024228096, 0.058440111577510834, 0.9496105909347534, -0.4544495940208435, -0.0819445550441742, -0.30433765053749084, -0.09844296425580978, -0.30192795395851135, 0.6649754643440247, -0.28975722193717957, -0.1803000569343567, -0.15595737099647522, -0.14298732578754425, -0.46262410283088684, -0.6147834658622742, 0.27809983491897583, -0.8430847525596619, 0.11041675508022308, 0.046936340630054474, -0.23922589421272278, -0.33818376064300537, 0.024360254406929016, -0.9230238199234009, 0.9064468145370483, 0.1398104429244995, -0.508826732635498, 0.4769173860549927, -0.6894128918647766, -0.4887903034687042, -0.06440772861242294, 0.026290398091077805, -0.5488059520721436, 0.003152112942188978, -0.06291544437408447, 0.3626064658164978, -0.182824969291687, 0.36888250708580017, -0.05267278105020523, 0.08448569476604462, 0.1223607286810875, -0.802293062210083, 0.8271828293800354, 0.5828658938407898, -0.7271653413772583, 0.10395587980747223, -1.026450276374817, 0.05750640109181404, 0.10658995807170868, -0.7668565511703491, 0.012339112348854542, 0.5994724631309509, -0.20495639741420746, 0.17402172088623047, -0.17691268026828766, -0.245030477643013, 0.36346620321273804, -0.2783961296081543, 0.5800289511680603, 0.4152265787124634, -0.10171449184417725, 0.3849426507949829, -0.08232840895652771, 0.7423579096794128, -0.17627978324890137, 0.05148031935095787, 0.1797274351119995, -0.4476114809513092, -1.0650032758712769, 0.010807140730321407, 0.6336164474487305, 0.7949122190475464, -1.03519606590271, 0.4489229619503021, 0.27710843086242676, -0.42751580476760864, -0.4348313808441162, -0.15949656069278717, 0.15190215408802032, 0.7338556051254272, 0.47958454489707947, 0.28476741909980774, -0.4105989634990692, -0.8294134736061096, -0.5482093095779419, -0.30852043628692627, 0.17242372035980225, 0.3778095543384552, 0.11741679906845093, -0.039828937500715256, 0.6810518503189087, -0.37447452545166016, 0.5009609460830688, -0.45260119438171387, 0.5927755832672119, 0.3217332065105438, 0.4030354917049408, 0.578616201877594, -0.9797606468200684, -0.4111924171447754, -0.2233639806509018, -0.5005673170089722, -0.43731412291526794, -0.9350431561470032, -0.14711716771125793, -0.08219590783119202, 0.6654024124145508, -0.5575891733169556, 0.16581347584724426, 0.5070278644561768, -0.43106043338775635, 0.5163131356239319, -0.223230242729187, 0.020096121355891228, -0.5912895202636719, -0.16288408637046814, -0.31241387128829956, -0.40979304909706116, -0.3728454113006592, -0.07399028539657593, -0.039419595152139664, 0.1975518763065338, -0.4156359136104584, 0.3402794897556305, -0.535275936126709, -0.05330139771103859, -0.10609152913093567, -0.20441658794879913, 0.09508857876062393, 0.10905961692333221, 0.06395187228918076, 0.7631862759590149, 0.2381470650434494, -0.9198326468467712, 0.6090049743652344, 0.33809587359428406, -0.4914478361606598, -0.13269075751304626, -0.42879965901374817, -0.24086156487464905, 0.13317547738552094, 0.25515928864479065, -0.6232532858848572, -0.023249372839927673, -0.005050053820014, -0.1654275506734848, 0.2825392484664917, -0.07707323879003525, -0.25737786293029785, -0.3240790367126465, 0.2659585475921631, 0.4396035075187683, 0.4331965446472168, -0.7529531121253967, 0.7459894418716431, 0.14290174841880798, -0.09871269762516022, -0.645862877368927, -1.0872317552566528, 0.266508549451828, -0.10655055195093155, -0.4111303687095642, 0.6525370478630066, 0.08765945583581924, -0.24042652547359467, 0.12566997110843658, 0.2995694577693939, 0.029506901279091835, 0.24788331985473633, -0.16432328522205353, 0.02417587861418724, -0.22912584245204926, 0.22525274753570557, 0.3868785798549652, -0.13880887627601624, -0.0038830109406262636, -0.07030149549245834, 0.3683168590068817, 0.09188475459814072, -0.3986298441886902, -0.0983182042837143, 0.16007694602012634, 0.5391644239425659, -0.17275939881801605, 0.46391797065734863, 0.4255642294883728, -0.16081255674362183, -0.6018785238265991, -0.4271804392337799, 0.059947993606328964, -0.4607412815093994, 0.509760320186615, -0.19194436073303223, -0.39323890209198, 0.5222679376602173, -0.410311758518219, 0.40927839279174805, 0.6190474629402161, 0.7622098922729492, 0.13876372575759888, 1.1575398445129395, 0.15619677305221558, 0.37939029932022095, 0.8706528544425964, -0.3879331648349762, 0.35411643981933594, -0.5025413036346436, -0.13572636246681213, -0.33852431178092957, -0.734791100025177, -0.7069970369338989, -0.4090142548084259, 0.10080265253782272, 0.004847382195293903, -0.1718290001153946, 0.17594198882579803, -0.7350945472717285, 0.25093308091163635, 0.628256618976593, -0.047935761511325836, 0.1683107316493988, -0.25246015191078186, -0.07103490829467773, 0.1397024691104889, -1.2184057235717773, -0.04472464323043823, 0.706363320350647, 0.19473294913768768, 0.622507631778717, 0.12530367076396942, 0.3620348274707794, 0.37536534667015076, 0.07214339077472687, -0.7851570844650269, 0.683949887752533, -0.30335161089897156, -0.5623090267181396, -0.4171094596385956, -0.7054795026779175, -1.1367048025131226, 0.48820778727531433, -0.5196739435195923, -0.3332143723964691, 0.5145625472068787, 0.45848411321640015, -0.7941581606864929, 0.8665827512741089, -0.6351996064186096, 0.530940055847168, -0.5437790155410767, -0.6004937887191772, -0.31375840306282043, -0.5024142265319824, 0.29218873381614685, -0.06802711635828018, -0.43003401160240173, -0.17587138712406158, -0.14114665985107422, 0.6598414182662964, -0.41265803575515747, 0.5303528308868408, -0.23906882107257843, 0.4250675439834595, 0.2662285268306732, 0.09545432031154633, 0.2926381528377533, -0.017751013860106468, -0.6569352149963379, -0.09691038727760315, -0.2940112352371216, -0.0989353358745575, -0.7395294308662415, 0.637021541595459, -0.42199021577835083, -0.3216148316860199, -0.5046346783638, -0.7174963355064392, -0.2635897397994995, 0.2738530933856964, 0.3921618163585663, 0.11437384784221649, -0.17478185892105103, 0.07182233035564423, 0.7133316397666931, -0.42836830019950867, 0.9650042057037354, 0.32539328932762146, -0.050340015441179276, -0.28752291202545166, 0.8016799092292786, 0.39125698804855347, 0.3680052161216736, 0.22167819738388062, 0.25430822372436523, -0.30831795930862427, -0.8374535441398621, -0.7900253534317017, -0.044286735355854034, -0.2550049126148224, -0.2068919539451599, -0.8381314873695374, -0.28533339500427246, -0.0016918778419494629, -0.31311535835266113, -0.6156156063079834, -0.818678081035614, -0.3668094873428345, -0.26932692527770996, 0.27928072214126587, 0.34353119134902954, -0.32382455468177795, 0.32397904992103577, -0.6050693988800049, 0.5897156000137329, 0.6994251608848572, 0.20762620866298676, 0.23926085233688354, -0.35726213455200195, -0.012901091016829014, -0.33936259150505066, -0.34939369559288025, -0.8378835320472717, 0.5399222373962402, 0.3752012848854065, 0.6375982165336609, 0.48033085465431213, 0.11017408967018127, 0.4483072757720947, -0.5235278606414795, 0.6762242317199707, 0.27066370844841003, -0.7065298557281494, 0.2762414216995239, -0.22196438908576965, 0.501801073551178, 0.6662606000900269, 0.12319349497556686, -0.31420013308525085, -0.23332634568214417, -0.9195716381072998, -1.174519419670105, 0.6117757558822632, 0.27980971336364746, 0.16938383877277374, -0.09012621641159058, 0.453084796667099, 0.041877467185258865, 0.4085296392440796, -0.31704625487327576, -0.3298116624355316, -0.3216334581375122, 0.12817613780498505, 0.2692905366420746, -0.028723353520035744, -0.13582450151443481, -0.5395718812942505, 0.79306960105896, -0.1607949584722519, 0.49080419540405273, 0.016861509531736374, 0.15826354920864105, 0.07962818443775177, -0.07490400224924088, 0.3875138759613037, 0.8018926382064819, -0.19664260745048523, 0.07424577325582504, 0.3423948585987091, -0.2942901849746704, 0.20621632039546967, 0.3389182984828949, -0.6936511993408203, 0.3628891408443451, 0.16707298159599304, 1.2569581270217896, 0.20431648194789886, -0.4365936517715454, 0.018515998497605324, -0.2508235573768616, -0.32678690552711487, -0.1867191344499588, 0.5014219284057617, 0.21110451221466064, 0.4336808919906616, 0.037471916526556015, 0.554060161113739, 0.1787603497505188, -0.31097596883773804, 0.1951010376214981, 0.3657114505767822, -0.1715444177389145, 0.017129817977547646, 0.900892436504364, 0.5848506093025208, -0.5605781078338623, 0.899651050567627, -0.07836497575044632, -0.3669203519821167, 0.9805546402931213, 0.5084031820297241, 1.1905193328857422, -0.39533019065856934, 0.44780781865119934, 0.3741724491119385, 0.1256377398967743, -0.17734940350055695, 0.2703290283679962, -0.04434759169816971, -0.993176281452179, -0.5220460891723633, -0.5618978142738342, -0.5987968444824219, 0.0983796939253807, -0.6769435405731201, -0.03148368373513222, -0.5125110149383545, -0.503537118434906, 0.33831074833869934, -0.3292733430862427, -0.4480281472206116, 0.6100854277610779, 0.04413887485861778, 1.0701738595962524, -0.6300312876701355, 0.5452733635902405, 0.4497565031051636, -0.12493514269590378, -0.39789271354675293, -0.1255200356245041, -0.2361864596605301, -0.6438591480255127, 0.6846640110015869, -0.44411441683769226, -0.17981170117855072, -0.06057141348719597, -0.28658702969551086, -0.7642315626144409, 0.9127707481384277, 0.5625749230384827, -0.5556256771087646, -0.2880505621433258, -0.31051039695739746, 0.45718103647232056, -0.24355162680149078, 0.6004177927970886, 0.5617712140083313, 0.6082701086997986, 0.07717037945985794, -0.584770917892456, -0.18332363665103912, -0.301700621843338, -0.1890150010585785, 0.37369370460510254, -1.0178349018096924, 0.9006490111351013, -0.20564602315425873, 0.14227837324142456, -0.2174137532711029, 0.7766892313957214, 0.03231405094265938, 0.2061494141817093, 0.9064844250679016, 0.371425986289978, 0.7961410880088806, -0.2021264284849167, 0.9143083691596985, -0.2966814935207367, 0.10483840852975845, 0.9056410193443298, 0.08409383147954941, 0.7407355308532715, 0.41009512543678284, -0.2501582205295563, 0.547452986240387, 0.8416650891304016, -0.3616993725299835, 0.4852484166622162, 0.2963784337043762, -0.5277724862098694, -0.5779111385345459, 0.136194109916687, -0.2240443229675293, 0.440628319978714, 0.13806621730327606, -0.6054696440696716, -0.21316948533058167, -0.27928411960601807, 0.07724134624004364, -0.20113947987556458, -0.1187211349606514, 0.5101234912872314, -0.09955809265375137, -0.9556282758712769, 0.4982099235057831, -0.14910174906253815, 0.5409406423568726, -0.7785478830337524, -0.2125299721956253, -0.11134391278028488, 0.14860770106315613, -0.4083108901977539, -0.5151394009590149, 0.4858812689781189, -0.20062370598316193, -0.4939301013946533, -0.9100494980812073, 0.7119248509407043, -0.3306357264518738, -0.6453937292098999, 0.37516462802886963, 0.4292859435081482, -0.042629554867744446, 0.32092422246932983, -1.1008731126785278, -0.4170496165752411, 0.20532232522964478, -0.6666008830070496, 0.32872334122657776, 0.20461244881153107, 0.055282991379499435, 0.8267573714256287, 0.5941144824028015, 0.6136060953140259, 0.2720092833042145, 0.17733797430992126, 0.6218883991241455, -0.5179964303970337, -0.5076087713241577, -0.5415837168693542, 0.3950028121471405, -0.3326408565044403, -0.4727126657962799, 0.4148975908756256, 0.29658910632133484, 0.3686160445213318, 0.0886823758482933, 1.005975365638733, -0.16802416741847992, 0.5733551383018494, -0.6126516461372375, 0.9902586936950684, -0.5650476217269897, 0.11089184880256653, 0.14477914571762085, -0.8252114057540894, -0.31340861320495605, 0.7171470522880554, -0.2010110765695572, 0.11873596906661987, 0.5444080829620361, 0.3543437719345093, -0.21290002763271332, -0.03823892027139664, 0.2051040083169937, 0.2868717610836029, 0.4378279745578766, 0.2716408669948578, 0.6657548546791077, -0.13304057717323303, 0.3587125241756439, -0.25125545263290405, -0.28260114789009094, -0.16906513273715973, -1.3451651334762573, -0.41718196868896484, -0.23630928993225098, -0.712813675403595, -0.41102659702301025, 0.0781719908118248, 0.5541089773178101, 0.7629616260528564, -0.8087165355682373, -0.13706018030643463, -0.4862867593765259, 0.31939560174942017, -0.5552507638931274, -0.28673818707466125, 0.2409164309501648, -0.4772798717021942, -0.860137939453125, 0.722034752368927, 0.11811023950576782, -0.1915007084608078, -0.22993512451648712, 0.22758890688419342, -0.6463853716850281, 0.39483642578125, 0.5707506537437439, 0.7454209923744202, -0.4065602123737335, -0.009881899692118168, -0.16671353578567505, 0.2925753891468048, -0.10134138911962509, 0.9478055238723755, -0.9177170991897583, 0.6323045492172241, 0.9932818412780762, 1.0525120496749878, 0.7659837007522583, -0.009907621890306473, 0.8583040237426758, -0.18608532845973969, 0.09775999188423157, 0.5796531438827515, 0.32012075185775757, 0.14314818382263184, -0.4042852818965912, 0.5185971260070801, 0.27879098057746887, -0.8956664204597473, -0.6669102311134338, 0.2830201983451843, -0.8113793730735779, -0.3815057575702667, 1.0431339740753174, -0.10886901617050171, 0.03443711996078491, -0.206093892455101, 0.17332032322883606, 0.4993040859699249, -0.21508577466011047, 0.982174277305603, 0.39100784063339233, -0.9762203693389893, -0.20621803402900696, -0.6242548227310181, 0.7977502942085266, 0.9464165568351746, -0.8431261777877808, -0.0026189449708908796, 0.3477919101715088, -0.25534242391586304, 0.23757171630859375, 0.34012964367866516, 0.31512510776519775, 0.018917972221970558, 0.1699947565793991, -0.08133269846439362, -0.1541866958141327, -0.2443978637456894, -0.23153813183307648, 0.2704322338104248, -0.25897613167762756, -0.38183149695396423 ]
http://arxiv.org/abs/2405.04495v1
http://arxiv.org/pdf/2405.04495v1
Toward In-Context Teaching: Adapting Examples to Students' Misconceptions
2024-05-07T17:05:27
2024-05-07T17:05:27
Alexis Ross, Jacob Andreas
cs.CL
cs.CL, cs.AI, cs.LG
When a teacher provides examples for a student to study, these examples must be informative, enabling a student to progress from their current state toward a target concept or skill. Good teachers must therefore simultaneously infer what students already know and adapt their teaching to students' changing state of knowledge. There is increasing interest in using computational models, particularly large language models, as pedagogical tools. As students, language models in particular have shown a remarkable ability to adapt to new tasks given small numbers of examples. But how effectively can these models adapt as teachers to students of different types? To study this question, we introduce a suite of models and evaluation methods we call AdapT. AdapT has two components: (1) a collection of simulated Bayesian student models that can be used for evaluation of automated teaching methods; (2) a platform for evaluation with human students, to characterize the real-world effectiveness of these methods. We additionally introduce (3) AToM, a new probabilistic model for adaptive teaching that jointly infers students' past beliefs and optimizes for the correctness of future beliefs. In evaluations of simulated students across three learning domains (fraction arithmetic, English morphology, function learning), AToM systematically outperforms LLM-based and standard Bayesian teaching models. In human experiments, both AToM and LLMs outperform non-adaptive random example selection. Our results highlight both the difficulty of the adaptive teaching task and the potential of learned adaptive models for solving it.
[ -0.2333105355501175, -0.9998414516448975, 0.7293007373809814, 0.007704386953264475, -0.037028733640909195, 0.15720206499099731, -0.34875693917274475, 0.005625697784125805, -0.50185227394104, 0.24365423619747162, -0.18571026623249054, -0.34857916831970215, -0.2671886086463928, -0.013577522709965706, -0.3664241135120392, 0.8422017693519592, -0.005597700830549002, 0.25129234790802, -0.5168271064758301, -0.013183503411710262, -0.7450157999992371, -0.2893487513065338, -0.5103572607040405, -0.33372917771339417, -0.2724711000919342, 0.7864377498626709, 0.8052260875701904, 0.15302398800849915, 0.21689558029174805, 0.2452870011329651, 0.30463698506355286, -0.3077643811702728, -0.13795986771583557, -0.16154849529266357, -0.7850773930549622, -0.7479019165039062, -0.03262656182050705, -0.10803923010826111, 1.0115242004394531, 1.0881906747817993, -0.22916372120380402, -0.015805063769221306, 0.10239898413419724, 0.2220558375120163, -0.6552665829658508, -0.1836262345314026, -0.7121267318725586, -0.009462881833314896, 0.33455121517181396, 0.11296369135379791, -0.6887099742889404, -0.3757610321044922, 0.3327960968017578, -0.803443968296051, 0.07112772017717361, -0.15992437303066254, 0.21823206543922424, -0.041485391557216644, -0.4962834417819977, -0.43425363302230835, -0.7398328185081482, 0.7394347786903381, -0.7735625505447388, 0.4288366436958313, 0.2903023064136505, 0.7583250403404236, -0.6038287281990051, -0.6780520081520081, -0.6432433724403381, -0.24774841964244843, 0.30071696639060974, 0.37954744696617126, -0.08642499148845673, -0.13712337613105774, 0.1445741504430771, -0.019507212564349174, -0.273453027009964, 0.13378985226154327, -0.2175973802804947, 0.07574523240327835, 0.3880727291107178, 0.05678703635931015, 0.49615803360939026, 0.03684736043214798, -0.38607874512672424, -0.38707321882247925, -0.49217844009399414, 0.14312876760959625, 0.21759973466396332, 0.399260938167572, -0.21763572096824646, 0.06263561546802521, 0.09760794788599014, 1.0608144998550415, -0.055961646139621735, -0.2308570295572281, -0.3738751709461212, 0.020672330632805824, -0.17790792882442474, -0.05827145650982857, 0.027544615790247917, 0.40896034240722656, 0.3496531546115875, -0.1224711537361145, 0.21349363029003143, 0.20275698602199554, 0.3512769639492035, -0.6155282258987427, -0.459273099899292, -0.11982064694166183, -0.2383282482624054, -0.067913718521595, -0.2501234710216522, -0.8951172232627869, -0.29967960715293884, -0.2838427424430847, 0.9779475927352905, -0.5193354487419128, -0.3419635593891144, 0.229863703250885, -0.3039519190788269, -0.1262250691652298, 0.7060666084289551, -0.6880126595497131, 0.763332724571228, 0.4578162729740143, 0.5995582938194275, -0.029626144096255302, -0.6594734191894531, -0.13602875173091888, 0.09854641556739807, -0.42826804518699646, 0.8780277371406555, -0.8482016324996948, -0.5241273045539856, -0.14562515914440155, 0.013706693425774574, -0.26366135478019714, -0.492042601108551, 0.29180845618247986, -0.1498393416404724, 0.3126736283302307, -0.24445287883281708, -0.789355456829071, -0.49111613631248474, 0.11761089414358139, -0.28500932455062866, 0.707459568977356, 0.767230749130249, -0.46792200207710266, 0.2762885093688965, -0.7205950021743774, -0.2331186681985855, -0.14389070868492126, 0.009804674424231052, -0.10652849078178406, 0.25283318758010864, 0.04110553860664368, 0.3165954053401947, -0.23357100784778595, 0.10468430072069168, -0.46207961440086365, -0.537815511226654, 0.5305277705192566, -0.38461431860923767, 0.7506141662597656, 0.14607591927051544, -0.12922191619873047, 0.160057932138443, -0.5469826459884644, -0.14784562587738037, -0.03761366009712219, -0.26000115275382996, -0.7122421264648438, 0.21472065150737762, 0.02167322114109993, 0.17254865169525146, -0.35400864481925964, -0.2616143524646759, 0.44657954573631287, -0.37932443618774414, 0.6270862221717834, 0.8519260287284851, 0.10666963458061218, 0.6775394678115845, -0.5282750129699707, 0.6175678968429565, 0.02664928324520588, -0.05625493451952934, -0.16737274825572968, -0.2629784643650055, -0.5873124003410339, 0.1254739612340927, 0.3662925660610199, 0.2812972366809845, -0.8685793876647949, -0.23924270272254944, -0.20916268229484558, -0.49765855073928833, -0.3725367784500122, 0.17355035245418549, 0.07981498539447784, 0.775969386100769, 0.3535006046295166, -0.42442819476127625, -0.33169999718666077, -0.6543155312538147, -0.6998528838157654, -0.23594358563423157, -0.00008549330232199281, 0.16507656872272491, 0.7223008871078491, -0.09185004234313965, 1.0629968643188477, -0.2609860301017761, 0.5080445408821106, -0.0748395174741745, -0.11670681089162827, 0.059561245143413544, 0.6839789152145386, 0.6710377335548401, -0.6879571676254272, -0.5335814356803894, -0.1284671574831009, -0.4732668399810791, 0.1882694959640503, -0.42436549067497253, -0.202059805393219, 0.12493416666984558, 0.18012548983097076, -0.04221155494451523, 0.3975593149662018, 0.2662481367588043, -0.6169347167015076, 0.6148623824119568, -0.2568764090538025, 0.06854892522096634, -1.1484297513961792, -0.4523266851902008, 0.08789543807506561, -0.34680575132369995, -0.49998676776885986, 0.09464015811681747, 0.11211059242486954, -0.18118174374103546, -0.4015355408191681, 0.8484906554222107, -0.23546156287193298, -0.3128945529460907, -0.5770455002784729, 0.08029048889875412, -0.11743181943893433, 0.12171202152967453, 0.15724122524261475, 0.7479684352874756, 0.6858940720558167, -0.7297643423080444, 0.02284288965165615, 0.0682167336344719, -0.6821041703224182, 0.8946797847747803, -0.22026805579662323, 0.08413644134998322, -0.023482469841837883, 0.5488641858100891, -0.7984837889671326, -0.19542630016803741, 0.23089803755283356, -0.3185049593448639, -0.030955780297517776, -0.27783262729644775, -0.164783775806427, -0.223154217004776, -0.05058688670396805, 0.4290156364440918, 0.6291619539260864, -0.7829421162605286, 0.6761547327041626, 0.03520447388291359, -0.10845930129289627, -0.2641623020172119, -0.5351020097732544, 0.013991979882121086, -0.3345337510108948, -0.19991862773895264, 0.45921772718429565, -0.409906268119812, -0.5255936980247498, 0.3200610876083374, -0.2840295732021332, -0.3676787316799164, 0.6806216239929199, 0.2629658579826355, 0.22666755318641663, -0.23455266654491425, 0.06967920064926147, 0.4778933823108673, 0.1435539871454239, 0.040730029344558716, -0.3639615476131439, 0.13081374764442444, -0.17532432079315186, -0.5061119794845581, -0.09881637245416641, 0.09763576090335846, 0.32999348640441895, 0.4999328851699829, 0.5201528072357178, 0.3367191553115845, -0.7348169684410095, -0.6916863322257996, -0.2808411121368408, -0.49048763513565063, -0.3841349482536316, 0.7062872052192688, -0.4320184886455536, -0.628562331199646, 0.21508359909057617, -0.34249457716941833, 0.039016008377075195, 0.1267787218093872, 0.5098598599433899, -0.04808752238750458, 0.6297221183776855, 0.6865211725234985, 0.23655815422534943, 0.4299989640712738, -0.061210453510284424, 0.040749311447143555, -0.8502545356750488, 0.250306636095047, -0.33911430835723877, 0.00004096001066500321, -0.35514384508132935, -0.5864089131355286, 0.224667027592659, 0.5616406798362732, -0.336167573928833, 0.3689413368701935, -0.24650608003139496, 0.41585612297058105, 0.3751542568206787, 0.14894236624240875, 0.0030006207525730133, 0.07008251547813416, 0.008929635398089886, 0.11215857416391373, -0.8941769599914551, -0.662224531173706, 1.3874809741973877, 0.1841384917497635, 0.4628567397594452, 0.40204063057899475, 0.21776840090751648, 0.3351103663444519, 0.8751349449157715, -0.6427077651023865, 0.38957691192626953, -0.00438527949154377, -0.6805842518806458, -0.10488936305046082, -0.14243309199810028, -0.6151814460754395, 0.5458595752716064, -0.33467257022857666, -0.771767795085907, 0.13054533302783966, 0.08657620847225189, -0.34456753730773926, 0.39790838956832886, -0.9432805180549622, 0.9635950922966003, -0.26138126850128174, -0.4552476108074188, -0.3507467806339264, -0.39107176661491394, 0.011122394353151321, -0.31633031368255615, 0.773277223110199, 0.06305957585573196, 0.17468689382076263, 0.8193856477737427, -0.0799805298447609, 0.8863492012023926, -0.3895421028137207, 0.25611865520477295, 0.5263543128967285, 0.41488590836524963, 0.10939005762338638, 0.13181430101394653, -0.3534420132637024, -0.22474437952041626, 0.3855574429035187, -0.570012092590332, -0.9320562481880188, 0.5625857710838318, -0.7542881965637207, -0.7192777395248413, -0.3968051075935364, -0.9125419855117798, -0.3778240382671356, -0.0023408611305058002, -0.08525553345680237, 0.26114150881767273, -0.14294616878032684, 0.06953129917383194, 0.22761665284633636, -0.41678759455680847, 0.43481943011283875, 0.7876212000846863, -0.24825718998908997, -0.27168092131614685, 0.9128842353820801, 0.1758655160665512, 0.6003835201263428, 0.20002926886081696, 0.5673971176147461, -0.13668973743915558, -0.4533647298812866, -0.38706669211387634, -0.07929140329360962, -1.1650959253311157, -0.047797057777643204, -0.217770054936409, 0.17703908681869507, -0.6137696504592896, -0.7434585690498352, -0.06660950183868408, -0.4787546694278717, -0.253335565328598, 0.02043246105313301, 0.08949201554059982, 0.6184127926826477, -0.07191823422908783, 0.7330887913703918, -0.3507840931415558, -0.028270510956645012, 0.5241380333900452, 0.04793541878461838, 0.09768204391002655, -0.9528119564056396, -0.14589586853981018, 0.2991220951080322, -0.5760458707809448, -0.9561070799827576, 0.21215681731700897, 0.46492061018943787, 0.7704131007194519, 0.11567068845033646, 0.002979056676849723, 0.6625484228134155, -0.4077911376953125, 0.6122784614562988, -0.020676955580711365, -1.1438775062561035, 0.6047854423522949, -0.1887168139219284, 0.04839266836643219, 0.47293564677238464, 0.5067527890205383, -0.49853476881980896, -0.032532867044210434, -0.6262177228927612, -0.4888496696949005, 0.5903632044792175, -0.24806751310825348, 0.33102062344551086, 0.17525534331798553, 0.8058487772941589, 0.49377337098121643, 0.09584558755159378, -0.78009033203125, 0.16238026320934296, -0.5173695087432861, -0.6700106263160706, -0.20663319528102875, -0.17106060683727264, -0.01763250306248665, -0.4656432867050171, 0.5462242364883423, -0.40526720881462097, 0.26759961247444153, 0.0467592254281044, -0.47685596346855164, 0.10402567684650421, 0.4600467383861542, 0.6302613615989685, 1.1285016536712646, -0.1920684278011322, 0.25387075543403625, 0.6554152965545654, -0.28112199902534485, 0.205732524394989, -0.19810910522937775, 0.012181770987808704, -0.20458190143108368, 0.5554054975509644, 0.6671956181526184, 0.6767439842224121, -0.6564889550209045, 0.45706623792648315, 0.003428567200899124, 0.036078471690416336, -0.3918973207473755, 0.4267778694629669, 0.03942388668656349, 0.20169799029827118, 0.31841763854026794, 0.07669790089130402, 0.17209169268608093, -0.8804687857627869, 0.06068626791238785, 0.2332826554775238, -0.29579731822013855, -0.6293983459472656, 0.3683302402496338, -0.08171428740024567, -0.5770076513290405, 0.3484768271446228, 0.1989140510559082, -0.5059385895729065, 0.8353090882301331, 1.4489079713821411, 0.6131027936935425, -0.5359804034233093, 0.11651799827814102, 0.2957246005535126, 0.15173058211803436, -0.25735023617744446, 0.05747165158390999, -0.21271325647830963, -0.9144266843795776, -0.12558682262897491, -0.4446153938770294, -0.8828052878379822, -0.339693158864975, -0.6246380805969238, 0.28611356019973755, -0.5956850647926331, -0.06470872461795807, 0.10271459817886353, -0.2685662806034088, -0.5194408297538757, 0.2837948203086853, -0.19619335234165192, 0.99180668592453, -1.326730489730835, 0.9833495020866394, 1.1910383701324463, -0.07027953863143921, -0.5346872806549072, 0.13592185080051422, -0.16851991415023804, -0.59299635887146, 0.3180288076400757, -0.013104490004479885, 0.2924943268299103, 0.08818476647138596, -0.49469614028930664, -0.6965581774711609, 0.8848768472671509, 0.5342462658882141, -0.46829894185066223, 0.09432978928089142, -0.19019117951393127, 0.3914933204650879, -0.6287593245506287, 0.47097527980804443, 0.35337528586387634, 0.26032695174217224, -0.16938245296478271, -0.5547229647636414, -0.06537380814552307, 0.0180223286151886, 0.12691719830036163, -0.3051154315471649, -0.3158716857433319, 1.013838529586792, -0.19604964554309845, 0.06764832884073257, -0.16486267745494843, 0.5042968392372131, 0.3315497040748596, 0.5684693455696106, 0.6028236746788025, 0.3118855357170105, 0.5490288138389587, 0.08238743245601654, 0.9271082878112793, -0.05926177278161049, 0.3770841062068939, 1.2356237173080444, -0.14263930916786194, 0.9183462858200073, 0.41362854838371277, -0.5238178372383118, 0.8909213542938232, 0.8100425004959106, 0.10459144413471222, 0.37228068709373474, 0.2656373679637909, -0.08978884667158127, -0.4507834017276764, 0.1738201230764389, -0.3838435113430023, 0.3174116909503937, 0.6083070635795593, 0.03619634732604027, -0.33613845705986023, 0.55379718542099, -0.14763204753398895, 0.5174837708473206, -0.4655567407608032, 0.4185065031051636, -0.03355608135461807, -0.743267297744751, 0.3655138909816742, 0.20011885464191437, 0.4013218283653259, -0.1814454048871994, -0.20957797765731812, 0.013701707124710083, 0.21082641184329987, -0.16079995036125183, -0.5994570851325989, 0.14632752537727356, -0.30859264731407166, -0.15141920745372772, 0.16391322016716003, 0.7039453983306885, -0.22847586870193481, -0.8073331117630005, 0.00200239522382617, 0.026112014427781105, 0.1707204282283783, 0.22329536080360413, -0.6494675874710083, 0.03704436495900154, -0.08882767707109451, 0.12103713303804398, 0.4037635922431946, 0.03249624744057655, -0.33358412981033325, 0.6893981099128723, 0.5093142986297607, -0.010534275323152542, -0.07484763860702515, -0.08190399408340454, 0.6190245747566223, -0.5502970814704895, -0.39704838395118713, -0.746446430683136, 0.45154109597206116, 0.3305673599243164, -0.18104273080825806, 0.8844823241233826, 0.23088447749614716, 1.183830738067627, -0.13956119120121002, 0.9661935567855835, 0.29811474680900574, 0.47000569105148315, -0.4643082022666931, 0.39004766941070557, -0.4210091829299927, 0.16751445829868317, -0.5969206690788269, -0.8364992737770081, -0.03664854168891907, 1.0569216012954712, -0.5689927339553833, 0.2321791797876358, 0.7430251240730286, 0.16612133383750916, -0.14544682204723358, 0.17544087767601013, 0.2713143229484558, 0.1444316804409027, 0.2830754518508911, 0.7019822597503662, 0.9015315771102905, -0.537216067314148, -0.1569477766752243, -0.4027259945869446, -0.3749963045120239, -0.33335790038108826, -0.8165236115455627, -0.818614661693573, -0.5481172204017639, -0.5657283663749695, -0.35714033246040344, 0.22536638379096985, 0.8996315002441406, 0.6670101881027222, -0.610482931137085, -0.4378396272659302, -0.2207867056131363, 0.36176884174346924, -0.3409985601902008, -0.21581405401229858, 0.34593531489372253, -0.21227197349071503, -0.7093222141265869, 0.5278312563896179, -0.07241123169660568, 0.2365521788597107, -0.005772641394287348, -0.027733713388442993, -0.07332734018564224, 0.25117388367652893, 0.4543623626232147, 0.2206161767244339, -0.7106280326843262, -0.5524381399154663, -0.34429970383644104, 0.30914878845214844, -0.19799219071865082, 0.5709525942802429, -0.8414559960365295, 0.6829928159713745, 0.005770722404122353, 0.7836564779281616, 0.3091927170753479, 0.04283580183982849, 0.354657381772995, -0.0795152559876442, 0.38870614767074585, 0.28569135069847107, 0.19543330371379852, 0.34164127707481384, -0.11127359420061111, 0.27136489748954773, 0.41924750804901123, -0.4309278726577759, -1.195173978805542, 0.21906904876232147, -0.6641034483909607, -0.9187681674957275, 0.9564204216003418, -0.31800177693367004, -0.2773745357990265, -0.12147308140993118, 0.05418141186237335, 0.20413747429847717, 0.09837321192026138, 0.8764379024505615, 0.8873952031135559, -0.01663649082183838, 0.10282520949840546, -0.8504123091697693, 0.24254533648490906, 0.5832451581954956, -0.7970899939537048, -0.14695023000240326, 0.26813986897468567, 0.9312552213668823, -0.1652289628982544, 0.4471244215965271, 0.18757207691669464, 0.5570130944252014, 0.12468265742063522, 0.0030332154128700495, 0.11951151490211487, -0.4732181429862976, -0.44382381439208984, 0.061716847121715546, 0.34834328293800354, 0.08954134583473206 ]
http://arxiv.org/abs/2405.04435v1
http://arxiv.org/pdf/2405.04435v1
Fast Exact Retrieval for Nearest-neighbor Lookup (FERN)
2024-05-07T15:57:39
2024-05-07T15:57:39
Richard Zhu
cs.CL
cs.CL, cs.DS
Exact nearest neighbor search is a computationally intensive process, and even its simpler sibling -- vector retrieval -- can be computationally complex. This is exacerbated when retrieving vectors which have high-dimension $d$ relative to the number of vectors, $N$, in the database. Exact nearest neighbor retrieval has been generally acknowledged to be a $O(Nd)$ problem with no sub-linear solutions. Attention has instead shifted towards Approximate Nearest-Neighbor (ANN) retrieval techniques, many of which have sub-linear or even logarithmic time complexities. However, if our intuition from binary search problems (e.g. $d=1$ vector retrieval) carries, there ought to be a way to retrieve an organized representation of vectors without brute-forcing our way to a solution. For low dimension (e.g. $d=2$ or $d=3$ cases), \texttt{kd-trees} provide a $O(d\log N)$ algorithm for retrieval. Unfortunately the algorithm deteriorates rapidly to a $O(dN)$ solution at high dimensions (e.g. $k=128$), in practice. We propose a novel algorithm for logarithmic Fast Exact Retrieval for Nearest-neighbor lookup (FERN), inspired by \texttt{kd-trees}. The algorithm achieves $O(d\log N)$ look-up with 100\% recall on 10 million $d=128$ uniformly randomly generated vectors.\footnote{Code available at https://github.com/RichardZhu123/ferns}
[ -0.3024483919143677, -0.8187835216522217, 0.6749657988548279, 0.2730656862258911, -0.24504390358924866, 0.16092164814472198, 0.37342873215675354, -0.37303635478019714, 0.5544459819793701, -0.028090672567486763, -0.5226847529411316, -0.45865005254745483, -0.13667450845241547, 0.10496555268764496, -0.20965290069580078, 0.4184124171733856, 0.12775002419948578, -0.04821152240037918, 0.16959276795387268, -0.31089794635772705, -0.05135665461421013, -0.5061257481575012, -0.7721630334854126, 0.2243119776248932, 0.8602293133735657, 0.42179763317108154, 0.7325526475906372, 0.9707993865013123, 0.9408237934112549, 0.20266734063625336, -0.6213242411613464, 0.1981249898672104, -0.8776543736457825, 0.07708284258842468, -0.2572862505912781, -0.4853527545928955, -0.3959368169307709, -0.5057840347290039, 1.0610567331314087, 0.8811356425285339, 0.35146769881248474, 0.3100752830505371, -0.6252206563949585, 1.02205491065979, -0.7295552492141724, 0.14475411176681519, -0.7351112961769104, 0.5449961423873901, -0.5725820064544678, -0.6302832365036011, -0.3234758675098419, -0.6711662411689758, 0.28167903423309326, -0.730625331401825, 0.3814997673034668, 0.3596981167793274, 0.9619687795639038, 0.05356183275580406, -0.25570788979530334, 0.1118164137005806, -0.6366713643074036, 0.6366569995880127, -0.3306981027126312, 0.04059337452054024, 0.5280333161354065, 0.4479893147945404, -0.6700331568717957, -0.4871584177017212, -0.2851950228214264, 0.2257590889930725, 0.10003062337636948, -0.39056622982025146, -0.1443580985069275, 0.03496802970767021, 0.7347005009651184, 0.6905441284179688, -0.6066974997520447, 0.06360795348882675, -0.06363829970359802, 0.056068189442157745, 0.5909523963928223, 0.14175273478031158, 0.18429034948349, -0.3336610496044159, -0.36418822407722473, -0.18963734805583954, -0.6451287865638733, -0.10590512305498123, 0.3003976345062256, 0.29871347546577454, 0.44012725353240967, 0.43439942598342896, -0.5766772627830505, 0.689713180065155, 0.033203352242708206, -0.14877691864967346, 0.5301585793495178, -0.12692375481128693, -0.04736647754907608, 0.12774890661239624, 0.5131773948669434, 0.03967178240418434, 0.23816922307014465, 0.22006826102733612, -0.20836399495601654, -0.31390655040740967, -0.10690512508153915, -1.1161632537841797, -0.6327764987945557, 0.10150375217199326, -0.9110058546066284, -0.4572291374206543, -0.07262814044952393, -0.850527822971344, -0.1123441681265831, 0.05768688768148422, 0.7012046575546265, -0.5999657511711121, -0.4325200319290161, -0.21217326819896698, -0.12531259655952454, 0.2511642277240753, 0.10612130910158157, -0.38247156143188477, 0.2560821771621704, 0.7361520528793335, 1.3759591579437256, -0.2920016050338745, 0.09779304265975952, -1.080237627029419, -0.11588531732559204, -0.5689957141876221, 0.3820744454860687, -0.5895981192588806, -0.5121864676475525, -0.16670848429203033, -0.08380192518234253, 0.24762243032455444, -0.4521907567977905, 0.45759493112564087, -0.794405460357666, -0.27721232175827026, -0.556702196598053, -0.26551711559295654, -0.3369792401790619, -0.07004617899656296, -0.8603851795196533, 1.2965487241744995, -0.04314585030078888, -1.201849102973938, 0.051228493452072144, -0.7691946029663086, -0.19968070089817047, 0.16785916686058044, -0.11825793236494064, -0.6128966808319092, 0.3208636939525604, 0.3603997230529785, 0.39368531107902527, -0.021995967254042625, -0.2638860046863556, -0.7527866959571838, -0.5908282995223999, -0.118572898209095, -0.4437471330165863, 1.1242246627807617, 0.37772879004478455, -0.14446838200092316, -0.0075854104943573475, -0.7727609872817993, 0.2302844524383545, 0.503606379032135, 0.1481577605009079, -0.8742043972015381, -0.13893486559391022, -0.32646358013153076, -0.07449574768543243, 0.2943260073661804, -1.033094882965088, 0.3766527473926544, -0.31785497069358826, 0.347143292427063, 0.7959394454956055, 0.32806673645973206, 0.3025890588760376, -0.47072166204452515, 0.16225172579288483, -0.007351101841777563, 0.06428758054971695, -0.41029036045074463, -0.5437901616096497, -0.4255446195602417, -0.5660756826400757, 0.6032641530036926, 0.007220436353236437, -0.7986869812011719, 0.1843719333410263, -0.4535214602947235, -0.6822381615638733, -0.48258453607559204, -0.35009458661079407, 0.6045778393745422, 0.1719607561826706, 0.33633118867874146, -0.5664464831352234, -0.34676605463027954, -0.5611737370491028, 0.1900774985551834, -0.28050562739372253, 0.17593666911125183, 0.40673425793647766, 0.5101615190505981, -0.1920221596956253, 1.1953082084655762, -1.1845765113830566, -0.40033915638923645, 0.5743381977081299, 0.2987518012523651, 0.3246796727180481, 0.4363137185573578, 0.8182644844055176, -1.1829744577407837, -0.6632398366928101, 0.09638253599405289, -0.4370301365852356, 0.11678136885166168, 0.3205265998840332, -0.5829655528068542, 0.2021264284849167, 0.3123761713504791, -0.8348807692527771, 0.844577968120575, 0.00998664926737547, -0.11873670667409897, 0.4298788905143738, -0.45063161849975586, 0.044440869241952896, -0.6244150400161743, 0.3668874204158783, -0.42000725865364075, -0.39490020275115967, -0.3661237061023712, 0.39033132791519165, 0.17892366647720337, -0.12317652255296707, -0.3304656147956848, 0.20318607985973358, -0.6601434350013733, -0.46061137318611145, 0.14879468083381653, -0.17068107426166534, -0.20870539546012878, 0.508457362651825, 0.06091959401965141, 0.6609072685241699, 0.44459661841392517, -0.6709955930709839, 0.37639209628105164, 0.11782576888799667, -0.14079441130161285, 0.8722988963127136, -0.36782145500183105, 0.17767788469791412, -0.5946043133735657, 0.30918991565704346, -0.864295482635498, -0.14461177587509155, -0.2827739119529724, -0.48741915822029114, 0.19209550321102142, -0.11485391855239868, -0.515371561050415, -0.521949291229248, -0.71854567527771, 1.079217791557312, 0.41654375195503235, -1.3562742471694946, 0.4862000346183777, 0.2621839940547943, -0.15182361006736755, -0.5280174612998962, -0.22050492465496063, -0.2209976315498352, 0.0010093480814248323, -0.3786461353302002, 0.45030155777931213, -0.22548320889472961, -0.14585936069488525, 0.3713095188140869, -0.29250073432922363, -0.31466051936149597, -0.17309938371181488, 0.23389922082424164, 0.009710120968520641, -0.2923642694950104, 0.2450508028268814, -0.2688163220882416, -0.17448118329048157, -0.08547825366258621, -0.3127816617488861, 0.5227864384651184, -0.10979705303907394, -0.55979984998703, -0.19635604321956635, 0.358816534280777, 0.7630797028541565, -0.4330786168575287, 0.3286057114601135, 0.5038259029388428, -0.6503576040267944, -0.11177052557468414, -0.4306403696537018, 0.11168714612722397, -0.42677628993988037, 0.45713651180267334, -1.0522222518920898, -0.41969138383865356, 0.3575461208820343, -0.06003053858876228, 0.06883203983306885, 0.5905835032463074, 0.18110665678977966, -0.062351375818252563, 1.132083773612976, 0.33291155099868774, -0.1163061261177063, 0.41740742325782776, -0.3681468367576599, 0.3553667366504669, -0.6250429153442383, -0.4858718514442444, -0.6884311437606812, -0.43759265542030334, -0.3474996089935303, -0.7734116911888123, 0.230105921626091, 0.13394658267498016, -0.3109978437423706, 0.44821158051490784, -0.6341409683227539, 0.638914942741394, 0.5357888340950012, -0.008012659847736359, 0.5176164507865906, 0.26929447054862976, -0.5927247405052185, -0.22428224980831146, -0.8621211647987366, 0.36583900451660156, 0.9281090497970581, 0.4425241947174072, 0.5740949511528015, 0.3813569247722626, 0.869804322719574, 0.23007161915302277, -0.0191970095038414, -0.9033181667327881, 0.6059461832046509, -0.09071305394172668, -0.3903105556964874, -0.41062551736831665, -0.9091717600822449, -1.055553913116455, 0.20467913150787354, 0.0472237654030323, -0.45836231112480164, 0.36145010590553284, -0.24898867309093475, -0.41067227721214294, 0.7786540389060974, -0.4598864018917084, 0.45734333992004395, -0.24708788096904755, -0.07015763968229294, -0.050340112298727036, -0.5440053939819336, 0.23885349929332733, -0.5526748895645142, 0.20103943347930908, -0.314378947019577, 0.04119672253727913, 0.5543403625488281, -0.8239932656288147, 0.2127280831336975, -0.27773812413215637, 0.1444924920797348, 0.11120817065238953, 0.561474084854126, 0.4658801555633545, -0.11233747750520706, -0.10986215621232986, 0.056318774819374084, 0.343136191368103, -0.6365490555763245, -0.6088094711303711, 1.1929514408111572, -0.8022510409355164, -0.20020617544651031, -0.7544849514961243, -0.3616224527359009, 0.26773911714553833, 0.3479214906692505, 0.13187173008918762, 0.6059612035751343, -0.04392259940505028, 0.30109331011772156, 1.0659948587417603, 0.07144340127706528, 0.6876065135002136, 0.48429805040359497, -0.809855043888092, -0.28476324677467346, 1.481941819190979, 0.4802509844303131, 0.15329653024673462, 0.7065951824188232, 0.13527725636959076, -0.21500848233699799, -0.22356079518795013, -0.3507612943649292, 0.28322431445121765, -0.41402876377105713, -0.5873622298240662, -0.6136308312416077, -0.34186071157455444, 0.2703235149383545, 0.05308886989951134, -0.3349165916442871, -0.5944340229034424, -0.2869170606136322, 0.010135185904800892, 0.8957955241203308, 0.8236364126205444, -0.11663271486759186, -0.08222252130508423, -0.6667425036430359, 0.6484230756759644, 0.15799590945243835, 0.5985418558120728, 0.30725204944610596, -0.26118865609169006, 0.30196452140808105, 0.00629429379478097, 0.09764717519283295, -0.7672997713088989, 0.31492164731025696, 0.4473889470100403, 0.17294147610664368, 0.5297249555587769, 0.4070156216621399, 1.148118495941162, -0.622913122177124, 0.38259127736091614, 0.054219458252191544, -0.641115665435791, 0.3664853274822235, -0.2394380122423172, 0.3949533998966217, 0.47147613763809204, 0.9568765163421631, -0.14772281050682068, 0.3666057884693146, -0.7189990878105164, -0.8518300652503967, 0.5651699304580688, 0.4778447449207306, -0.3262960910797119, -0.11176854372024536, 0.4083247184753418, -0.12638312578201294, -0.19977790117263794, -0.04837895184755325, -0.3058851659297943, 0.188945934176445, -0.09268521517515182, 0.07808684557676315, -0.44958725571632385, 0.20784804224967957, -0.4202187657356262, 0.6611003875732422, -0.061136774718761444, 0.5557848215103149, 0.5076830983161926, 0.14766405522823334, -0.44663459062576294, -0.4177093207836151, 0.09498059749603271, 0.35794785618782043, -0.8366095423698425, 0.3842170238494873, 0.2725639045238495, -0.4750276803970337, 0.1333622932434082, -0.03725794702768326, -0.38888639211654663, 0.5788434147834778, -0.006036301609128714, 0.3775218427181244, 0.2740655541419983, -0.39500951766967773, 0.8053058981895447, -0.11723245680332184, -0.28800517320632935, -0.6304194331169128, -0.4414973855018616, -0.14233596622943878, -0.15591612458229065, 0.6533939838409424, 0.18577004969120026, 0.06094849854707718, -0.6417791247367859, 0.40196019411087036, 0.661132276058197, -0.46783676743507385, 0.0035568473394960165, 0.47279131412506104, 0.03887123987078667, -0.6853368282318115, 0.46829864382743835, -0.521616518497467, -0.4415758550167084, 0.4816647171974182, 0.34645599126815796, 0.7427374720573425, -0.1678752303123474, 0.158803790807724, 0.6152791976928711, -0.17744745314121246, -0.24743318557739258, 0.3880208730697632, -0.0682428628206253, -0.04041704162955284, -0.4080600142478943, -0.889885663986206, -0.12065935879945755, -0.09003669768571854, -0.6124417781829834, 0.18998722732067108, -0.7636244297027588, -0.18727216124534607, 0.06782276928424835, 0.20156033337116241, -0.48843666911125183, 0.05169150233268738, -0.4243992269039154, 1.246201992034912, -0.3429597020149231, 0.8236062526702881, 0.4386756420135498, -0.2997185289859772, -0.6705050468444824, 0.12478266656398773, -0.013927243649959564, -0.483696848154068, 0.8775636553764343, 0.20144416391849518, -0.15642844140529633, 0.11888563632965088, -0.3029528558254242, -1.2716014385223389, 1.0941424369812012, -0.0857563465833664, -0.6987737417221069, -0.23484298586845398, -0.19673840701580048, 0.5360623598098755, -0.3031708002090454, 0.5461374521255493, 0.4929195046424866, 0.2949259579181671, 0.4198613464832306, -0.8643454909324646, -0.042800549417734146, -0.2889886200428009, 0.6261902451515198, 0.5142409205436707, -0.5422971844673157, 0.9531114101409912, -0.21597857773303986, -0.1984550654888153, 0.4753250479698181, 0.7407506704330444, 0.04725288972258568, 0.15516486763954163, 0.5471705198287964, 0.6906121373176575, 1.0246652364730835, 0.0016314188251271844, 0.9082338809967041, -0.16199001669883728, 0.4590713083744049, 0.7684247493743896, -0.030263476073741913, 1.3008365631103516, 0.32708296179771423, -0.1978127658367157, 0.29839271306991577, 0.5415695905685425, 0.4405813217163086, 0.5941457748413086, 0.4933861494064331, -0.3521984815597534, -0.17167891561985016, -0.3493431806564331, -0.5147667527198792, 0.1575310081243515, 0.22586965560913086, -0.14828701317310333, -0.21931138634681702, -0.28810375928878784, -0.20524774491786957, 0.1998758465051651, -0.7066519856452942, 0.5154238343238831, 0.08486273139715195, -0.1357208788394928, 0.7086357474327087, -0.02280077151954174, 0.5688648223876953, -0.5371818542480469, -0.5360269546508789, -0.04543566331267357, 0.28481602668762207, -0.5714728236198425, -0.5960491895675659, 0.18591156601905823, -0.32651615142822266, -0.31404754519462585, 0.10379783809185028, 0.6385144591331482, -0.2921035587787628, -0.43502798676490784, 0.3531125783920288, -0.030194204300642014, 0.44852906465530396, -0.07062503695487976, -0.2408483624458313, 0.33698487281799316, -0.0381789430975914, 0.11059853434562683, 0.31168830394744873, 0.6237897276878357, -0.3758772313594818, 0.7302712798118591, 0.8298254609107971, 0.09634856879711151, 0.20310239493846893, -0.5219628810882568, 0.7799338698387146, -0.5488570332527161, -0.2632366716861725, -0.4255109429359436, -0.12942425906658173, -0.2907785177230835, -0.19199933111667633, 0.7177236676216125, 0.8291799426078796, 0.8166084885597229, -0.05902181193232536, 0.31961512565612793, -0.14213711023330688, 0.8690023422241211, -0.23101042211055756, 0.49260008335113525, -0.6072211265563965, -0.004764524754136801, -0.4662359356880188, -1.4989749193191528, -0.3945918083190918, 0.9011640548706055, -0.21118125319480896, -0.29223576188087463, 0.7685813307762146, 0.8542958498001099, -0.32686591148376465, 0.14785976707935333, 0.21338653564453125, 0.2805194556713104, 0.4248737096786499, 0.5983000993728638, 0.3939127027988434, -0.32742780447006226, 0.596983015537262, -0.3443685472011566, -0.4064595103263855, -0.6758685111999512, -0.9518887400627136, -0.7184670567512512, -0.548403799533844, -0.25183117389678955, -0.22564834356307983, 0.155798077583313, 1.1647416353225708, 0.5150331854820251, -0.6935381889343262, 0.21100710332393646, -0.04585465043783188, 0.10598340630531311, -0.2048531472682953, -0.257901132106781, 0.7148386836051941, -0.1603710949420929, -0.531682550907135, 0.29620933532714844, 0.38469743728637695, -0.0798279345035553, -0.3318132758140564, -0.1399485468864441, -0.48284584283828735, -0.00854706484824419, 0.5318906307220459, 0.689440906047821, -0.4054954946041107, -0.48616188764572144, -0.10168789327144623, -0.2762140929698944, 0.0036701741628348827, 0.6683862805366516, -0.9118437170982361, 0.7582603693008423, 0.969531774520874, 0.9325035810470581, 0.9926039576530457, 0.19450008869171143, 0.25573810935020447, -0.700153648853302, 0.04443082585930824, 0.2399042397737503, 0.022616809234023094, 0.18416336178779602, -0.29924049973487854, 0.7342773675918579, 0.508171796798706, -0.4147690236568451, -0.9575679898262024, 0.41385841369628906, -0.9291316866874695, -0.1476229876279831, 0.9979029297828674, -0.39656832814216614, -0.547554075717926, -0.09399061650037766, -0.6712064146995544, -0.22587314248085022, -0.4422297179698944, 0.2711840867996216, 0.053436338901519775, 0.04089495912194252, 0.3199009895324707, -0.406108558177948, 0.5797096490859985, 0.6753591299057007, -0.14403611421585083, -0.23323580622673035, 0.15442746877670288, 0.3475210666656494, 0.485784649848938, 0.8701346516609192, -0.27514493465423584, 0.2299898862838745, 0.004103460349142551, -0.21319648623466492, -0.2070631980895996, -0.54679274559021, -0.28721916675567627, 0.4131060242652893, 0.1635756492614746, -0.4202626943588257 ]
http://arxiv.org/abs/2405.04434v5
http://arxiv.org/pdf/2405.04434v5
DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
2024-05-07T15:56:43
2024-06-19T06:04:17
DeepSeek-AI, Aixin Liu, Bei Feng, Bin Wang, Bingxuan Wang, Bo Liu, Chenggang Zhao, Chengqi Dengr, Chong Ruan, Damai Dai, Daya Guo, Dejian Yang, Deli Chen, Dongjie Ji, Erhang Li, Fangyun Lin, Fuli Luo, Guangbo Hao, Guanting Chen, Guowei Li, H. Zhang, Hanwei Xu, Hao Yang, Haowei Zhang, Honghui Ding, Huajian Xin, Huazuo Gao, Hui Li, Hui Qu, J. L. Cai, Jian Liang, Jianzhong Guo, Jiaqi Ni, Jiashi Li, Jin Chen, Jingyang Yuan, Junjie Qiu, Junxiao Song, Kai Dong, Kaige Gao, Kang Guan, Lean Wang, Lecong Zhang, Lei Xu, Leyi Xia, Liang Zhao, Liyue Zhang, Meng Li, Miaojun Wang, Mingchuan Zhang, Minghua Zhang, Minghui Tang, Mingming Li, Ning Tian, Panpan Huang, Peiyi Wang, Peng Zhang, Qihao Zhu, Qinyu Chen, Qiushi Du, R. J. Chen, R. L. Jin, Ruiqi Ge, Ruizhe Pan, Runxin Xu, Ruyi Chen, S. S. Li, Shanghao Lu, Shangyan Zhou, Shanhuang Chen, Shaoqing Wu, Shengfeng Ye, Shirong Ma, Shiyu Wang, Shuang Zhou, Shuiping Yu, Shunfeng Zhou, Size Zheng, T. Wang, Tian Pei, Tian Yuan, Tianyu Sun, W. L. Xiao, Wangding Zeng, Wei An, Wen Liu, Wenfeng Liang, Wenjun Gao, Wentao Zhang, X. Q. Li, Xiangyue Jin, Xianzu Wang, Xiao Bi, Xiaodong Liu, Xiaohan Wang, Xiaojin Shen, Xiaokang Chen, Xiaosha Chen, Xiaotao Nie, Xiaowen Sun, Xiaoxiang Wang, Xin Liu, Xin Xie, Xingkai Yu, Xinnan Song, Xinyi Zhou, Xinyu Yang, Xuan Lu, Xuecheng Su, Y. Wu, Y. K. Li, Y. X. Wei, Y. X. Zhu, Yanhong Xu, Yanping Huang, Yao Li, Yao Zhao, Yaofeng Sun, Yaohui Li, Yaohui Wang, Yi Zheng, Yichao Zhang, Yiliang Xiong, Yilong Zhao, Ying He, Ying Tang, Yishi Piao, Yixin Dong, Yixuan Tan, Yiyuan Liu, Yongji Wang, Yongqiang Guo, Yuchen Zhu, Yuduan Wang, Yuheng Zou, Yukun Zha, Yunxian Ma, Yuting Yan, Yuxiang You, Yuxuan Liu, Z. Z. Ren, Zehui Ren, Zhangli Sha, Zhe Fu, Zhen Huang, Zhen Zhang, Zhenda Xie, Zhewen Hao, Zhihong Shao, Zhiniu Wen, Zhipeng Xu, Zhongyu Zhang, Zhuoshu Li, Zihan Wang, Zihui Gu, Zilin Li, Ziwei Xie
cs.CL
cs.CL, cs.AI
We present DeepSeek-V2, a strong Mixture-of-Experts (MoE) language model characterized by economical training and efficient inference. It comprises 236B total parameters, of which 21B are activated for each token, and supports a context length of 128K tokens. DeepSeek-V2 adopts innovative architectures including Multi-head Latent Attention (MLA) and DeepSeekMoE. MLA guarantees efficient inference through significantly compressing the Key-Value (KV) cache into a latent vector, while DeepSeekMoE enables training strong models at an economical cost through sparse computation. Compared with DeepSeek 67B, DeepSeek-V2 achieves significantly stronger performance, and meanwhile saves 42.5% of training costs, reduces the KV cache by 93.3%, and boosts the maximum generation throughput to 5.76 times. We pretrain DeepSeek-V2 on a high-quality and multi-source corpus consisting of 8.1T tokens, and further perform Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) to fully unlock its potential. Evaluation results show that, even with only 21B activated parameters, DeepSeek-V2 and its chat versions still achieve top-tier performance among open-source models.
[ -0.3019212782382965, -0.6952128410339355, 0.4170688986778259, 0.5242905020713806, -0.39820533990859985, 0.20824773609638214, -0.40474486351013184, -0.5926955342292786, -0.14149662852287292, 0.4697245657444, -0.48513972759246826, -0.20682944357395172, -0.6512636542320251, -0.35432741045951843, -0.22685138881206512, 0.4090518355369568, 0.2775401473045349, -0.054100919514894485, -0.03328307345509529, 0.1526741236448288, -0.579725980758667, -0.22461368143558502, -0.7348915934562683, -0.16342024505138397, 0.37645745277404785, 0.6927839517593384, 0.6110406517982483, 0.45905908942222595, 0.35927310585975647, 0.29676032066345215, -0.08709268271923065, 0.08335962146520615, -0.6495804190635681, 0.30784428119659424, -0.143335223197937, -0.36688098311424255, -0.5919595956802368, -0.02280525676906109, 0.2553923428058624, 0.49530550837516785, -0.1302928924560547, -0.2248087376356125, 0.044942378997802734, 0.7151784896850586, -0.8490126729011536, 0.18531042337417603, -1.036665439605713, -0.1338910162448883, -0.20967434346675873, 0.17279492318630219, -0.3643074035644531, 0.2023780792951584, 0.24067458510398865, -0.41041406989097595, -0.07365924119949341, -0.26265949010849, 0.738714337348938, 0.4192376136779785, -0.27929145097732544, 0.025370923802256584, -0.674048900604248, 1.081505298614502, -0.9263497591018677, 0.7290969491004944, 0.5680655241012573, 0.45632079243659973, -0.12119202315807343, -0.6963939070701599, -0.533016562461853, -0.10595501214265823, 0.28708168864250183, 0.34022653102874756, -0.09824150800704956, -0.05191503092646599, -0.3040826618671417, 0.45626673102378845, -0.39584261178970337, 0.611309289932251, -0.4522528648376465, -0.09442945569753647, 0.5850000381469727, 0.030476167798042297, -0.06758326292037964, 0.09532611817121506, -0.36484295129776, -0.027679506689310074, -0.643238365650177, -0.08310241252183914, 0.3215951919555664, 0.04022101312875748, -0.03784693032503128, 0.43557724356651306, -0.49419596791267395, 0.535089373588562, 0.0938357412815094, -0.09270674735307693, 0.15048302710056305, -0.37484073638916016, -0.10426570475101471, -0.1947973072528839, 0.8945597410202026, 0.22914394736289978, 0.15708613395690918, -0.15377496182918549, -0.20021523535251617, -0.1916971057653427, 0.15773525834083557, -0.9165453910827637, -0.47050783038139343, 0.3708389103412628, -0.2756895124912262, -0.4092117249965668, -0.23408447206020355, -0.7649846076965332, -0.42714717984199524, -0.469798743724823, 0.2147412896156311, -0.6402469873428345, -0.7325374484062195, 0.12092934548854828, 0.16044682264328003, 0.25435519218444824, 0.6946200132369995, -0.9345830678939819, 0.3554232120513916, 0.9986543655395508, 0.6972382664680481, -0.2351263165473938, -0.18076744675636292, -0.5033104419708252, -0.15131600201129913, -0.4732339680194855, 0.6987907290458679, -0.7084228992462158, -0.21690057218074799, -0.153455451130867, -0.4784928560256958, 0.12410816550254822, -0.6305276155471802, 0.4295963943004608, -0.5756540298461914, 0.16377079486846924, -0.1390751749277115, -0.7123975157737732, -0.1260583996772766, 0.019993700087070465, -0.5378484129905701, 1.3108974695205688, 0.2966275215148926, -0.6522849202156067, 0.48459938168525696, -0.28730982542037964, -0.37550288438796997, 0.24237214028835297, -0.2804291844367981, -0.06398927420377731, 0.1370812952518463, 0.36164629459381104, 0.6479654312133789, -0.36947453022003174, 0.1940445750951767, -0.4826482832431793, -0.12075995653867722, 0.07331735640764236, -0.5314843654632568, 0.6203165054321289, 0.4293641746044159, -0.27172285318374634, 0.11894706636667252, -0.7655771970748901, -0.08139152824878693, 0.058328378945589066, -0.4584156274795532, -0.34681782126426697, 0.17169328033924103, 0.16625629365444183, 0.4561525285243988, 0.3069781959056854, -0.4145844578742981, 0.00598796596750617, -0.5102519989013672, 0.5165566205978394, 0.7050217986106873, -0.19563782215118408, 0.4759349822998047, 0.4132199287414551, 0.31579965353012085, 0.28199273347854614, 0.03818279132246971, -0.09447508305311203, -0.6323362588882446, -0.9092987775802612, -0.5123728513717651, 0.4541572034358978, 0.6626763343811035, -0.6244229674339294, 0.6902009844779968, -0.07088132202625275, -0.6757142543792725, -0.7697167992591858, 0.32357048988342285, 0.38218575716018677, 0.5810802578926086, 0.22540566325187683, -0.21702271699905396, -0.5235118865966797, -1.0929874181747437, -0.2028099000453949, -0.20914095640182495, -0.007432779297232628, 0.4783734977245331, 0.37014248967170715, -0.2784510552883148, 0.9125688076019287, -0.2214750349521637, 0.02066940814256668, -0.4418399930000305, 0.010546904057264328, 0.13498209416866302, 0.544611930847168, 0.6796329021453857, -0.6561577320098877, -0.6741000413894653, 0.1345716267824173, -0.4924375116825104, 0.024981653317809105, 0.1584721803665161, -0.24147485196590424, 0.19290512800216675, 0.539741575717926, -0.637466311454773, 0.057681575417518616, 0.6895678639411926, -0.2868373692035675, 0.32351505756378174, -0.12167339771986008, -0.14900973439216614, -1.2360730171203613, -0.0782577320933342, -0.16431444883346558, -0.2703595757484436, -0.4431803226470947, 0.10699246823787689, 0.11032413691282272, -0.06804709136486053, -0.6261495351791382, 0.7305934429168701, -0.2659018933773041, 0.10207244753837585, -0.4059981107711792, -0.08311168104410172, -0.17446193099021912, 0.5488841533660889, 0.1300189048051834, 0.9592186808586121, 0.719761312007904, -0.5338572859764099, 0.38757285475730896, 0.02260257862508297, -0.5236119031906128, 0.300762414932251, -0.7104087471961975, 0.4519246220588684, 0.14350943267345428, 0.08355532586574554, -1.0419000387191772, -0.36119651794433594, 0.24461214244365692, -0.5536214709281921, 0.39887431263923645, -0.23073314130306244, -0.5418532490730286, -0.30479684472084045, -0.25246763229370117, 0.10620054602622986, 0.7660478353500366, -0.3223394751548767, 0.44186723232269287, 0.4323750436306, -0.4707184433937073, -0.5853174328804016, -0.6559078097343445, 0.2245408147573471, 0.06773978471755981, -0.7007205486297607, -0.008617292158305645, 0.132987841963768, -0.21313445270061493, 0.11796308308839798, -0.13922041654586792, -0.21222247183322906, 0.3849490284919739, 0.08107031881809235, -0.22503843903541565, -0.4405323565006256, -0.004564856179058552, 0.3297032415866852, -0.43894505500793457, -0.3003630042076111, -0.6190401911735535, 0.6353994607925415, -0.1518414169549942, -0.1681324988603592, -0.5247014760971069, 0.5956779718399048, 0.6013416647911072, -0.6067844033241272, 0.9000180959701538, 0.7378894686698914, -0.36103805899620056, -0.00692059937864542, -0.7461263537406921, -0.28134244680404663, -0.4689607620239258, 0.812833309173584, -0.5985174775123596, -0.972787618637085, 0.3329470157623291, -0.08420860767364502, 0.26416462659835815, 0.6163903474807739, 0.869236409664154, -0.047053590416908264, 1.022316575050354, 0.42609354853630066, -0.253006249666214, 0.417865514755249, 0.018885815516114235, 0.10908915102481842, -0.5518755912780762, -0.1773497611284256, -0.44487959146499634, -0.18084634840488434, -0.24454516172409058, -0.5570112466812134, -0.11086637526750565, 0.45788198709487915, -0.12295645475387573, 0.20197848975658417, -0.12030286341905594, 0.4817419946193695, 0.9251702427864075, 0.1279260367155075, -0.1230292022228241, 0.11895416676998138, 0.0811040922999382, -0.14409592747688293, -0.6254584193229675, -0.4763140380382538, 1.1460987329483032, 0.6177802681922913, 0.676963746547699, 0.21656067669391632, 0.549959123134613, 0.0377974659204483, -0.20417116582393646, -0.6955479979515076, 0.5163128972053528, -0.2703866958618164, -0.7274765968322754, -0.2335832118988037, -0.2513081729412079, -0.6117296814918518, 0.30174559354782104, -0.18683436512947083, -0.8004674911499023, 0.30144140124320984, 0.39959779381752014, -0.4188596308231354, 0.13538013398647308, -1.0247435569763184, 0.9855323433876038, -0.271865576505661, -0.44681793451309204, -0.6448498368263245, -0.5393019914627075, 0.39647242426872253, -0.1949177384376526, -0.1365348994731903, -0.25672653317451477, -0.151670902967453, 0.732245683670044, -0.4344601035118103, 0.7639579772949219, -0.25590983033180237, -0.09450715780258179, 0.34622329473495483, 0.17102843523025513, 0.6891907453536987, 0.2739497125148773, -0.12191709131002426, 0.19833041727542877, -0.525351345539093, -0.5707560777664185, -0.47850775718688965, 0.7705497145652771, -0.9725612998008728, -0.4054654538631439, 0.050304729491472244, -0.2480391412973404, -0.395137757062912, 0.2779015898704529, 0.2237347662448883, 0.2145020216703415, 0.04446844011545181, 0.8312575817108154, 0.7827751636505127, -0.3671990633010864, 0.18088001012802124, 0.5452488660812378, -0.06484954804182053, -0.47043976187705994, 1.0321539640426636, -0.04305903986096382, 0.2285316437482834, 0.4605805277824402, 0.24125227332115173, -0.1989380270242691, -0.7183820605278015, -0.3361406922340393, -0.0956549197435379, -0.4598301947116852, -0.0020296445582062006, -1.1729055643081665, -0.1060771644115448, -0.5625646710395813, 0.14325782656669617, -1.063793420791626, -0.3147822916507721, -0.20510761439800262, -0.18372297286987305, 0.37809988856315613, 0.45862439274787903, -0.15851598978042603, 0.5086373090744019, -0.5284789204597473, 0.29478296637535095, 0.7016640901565552, 0.4713267385959625, 0.07739534229040146, -0.4707096815109253, -0.3944055140018463, -0.07601121068000793, -0.04444136098027229, -0.7740281224250793, 0.13585369288921356, 0.24088338017463684, 0.4727707803249359, 0.7939273715019226, -0.18174178898334503, 0.453464537858963, -0.4687100946903229, 0.8114429116249084, 0.07128595560789108, -0.6535654067993164, 0.46598273515701294, -0.44853082299232483, 0.06964575499296188, 0.724789023399353, -0.07643920928239822, -0.3190043270587921, -0.48498979210853577, -0.573523998260498, -1.1840486526489258, 0.8461816906929016, 0.4994935095310211, 0.23353898525238037, 0.18503563106060028, 0.11736136674880981, 0.40528199076652527, 0.22013309597969055, -0.12389922887086868, -0.10947033017873764, -0.34280624985694885, -0.3331434726715088, -0.1728859692811966, -0.82305508852005, 0.23484693467617035, -0.426869660615921, 0.7370505332946777, 0.1276034116744995, 0.25939980149269104, -0.2448517382144928, -0.16791364550590515, 0.07826433330774307, 0.18044842779636383, 0.777531623840332, 0.6342477798461914, -0.36458900570869446, 0.18260008096694946, -0.0079385070130229, -0.48331448435783386, -0.2461312860250473, 0.30220532417297363, 0.008717195130884647, -0.10780466347932816, 0.4594370722770691, 1.2427200078964233, 0.2744045555591583, -0.5516277551651001, 0.4321930408477783, -0.09984268993139267, -0.13287705183029175, -0.13355574011802673, 0.28754723072052, 0.3872917592525482, 0.35407352447509766, 0.35165274143218994, 0.060231879353523254, 0.1198914498090744, -0.2266218662261963, 0.23280225694179535, 0.17908351123332977, -0.37398770451545715, -0.3574458360671997, 0.7936223149299622, 0.7076517939567566, -0.21291129291057587, 0.6146296262741089, -0.010190348140895367, -0.41092032194137573, 0.49805769324302673, 0.08077362179756165, 0.9486693143844604, -0.2583763003349304, -0.14428122341632843, 0.16802267730236053, 0.38134416937828064, 0.06843364238739014, 0.32012391090393066, -0.08011194318532944, -0.5889440774917603, -0.589317262172699, -0.4648844003677368, -0.3885669410228729, 0.4557250142097473, -0.28301993012428284, 0.13411934673786163, -0.34500357508659363, 0.12314055114984512, 0.005649648606777191, 0.13704849779605865, -0.8667364120483398, 0.23481346666812897, 0.30714860558509827, 1.04796302318573, -0.6905621886253357, 1.0298871994018555, 0.6828599572181702, -0.25700950622558594, -0.8213275074958801, -0.2517601251602173, -0.05591754987835884, -0.8358757495880127, 0.536129891872406, 0.15620356798171997, 0.1819823533296585, 0.023398203775286674, -0.6004929542541504, -0.7290958762168884, 0.8037384152412415, 0.39239972829818726, -0.8622135519981384, 0.2066931128501892, -0.02136092819273472, 0.36659911274909973, -0.0780901163816452, 0.31455370783805847, 0.516057550907135, 0.46224674582481384, 0.06282125413417816, -0.8050497770309448, -0.4152164161205292, -0.35245004296302795, -0.061238404363393784, 0.005335070658475161, -0.6865800023078918, 0.972044825553894, -0.04491289332509041, 0.12983261048793793, -0.09426327794790268, 1.2513405084609985, 0.055292077362537384, -0.07564067840576172, 0.46384578943252563, 0.5968126654624939, 0.5760367512702942, -0.029104338958859444, 0.9496558308601379, -0.40728381276130676, 0.2227463275194168, 1.2263518571853638, -0.22830970585346222, 1.0186623334884644, 0.45634666085243225, -0.26482221484184265, 0.24264512956142426, 0.7051847577095032, 0.2742718756198883, 0.6878979802131653, -0.3871849477291107, -0.1786288022994995, -0.7032333612442017, 0.2641473412513733, -0.6056761145591736, 0.46575045585632324, 0.3507617115974426, -0.10950206965208054, -0.20246107876300812, -0.26792559027671814, 0.007642516400665045, -0.1911367028951645, 0.029818151146173477, 0.8348965048789978, 0.2920728623867035, -0.6058710813522339, 0.18980666995048523, 0.21988511085510254, 0.6194927096366882, -0.5930090546607971, 0.10747815668582916, -0.44372427463531494, 0.5392351746559143, 0.16185468435287476, -0.9074300527572632, -0.163277730345726, -0.033280327916145325, -0.10308248549699783, 0.030472250655293465, 0.8803073167800903, -0.5207415819168091, -0.5677329301834106, 0.19862747192382812, 0.3671305179595947, 0.10955257713794708, -0.4739466607570648, -0.8572288155555725, -0.07003703713417053, -0.17165204882621765, -0.59473717212677, 0.23013590276241302, 0.6105653643608093, 0.22479066252708435, 0.5469876527786255, 0.5301494598388672, -0.06236814334988594, 0.28197184205055237, -0.022280268371105194, 0.7901426553726196, -0.3788175582885742, -0.6492405533790588, -0.7009219527244568, 0.7037596106529236, -0.2506287395954132, -0.49653953313827515, 0.67936110496521, 0.605876624584198, 0.7573843598365784, -0.14491567015647888, 0.8954117298126221, 0.06574106216430664, 0.5280389785766602, -0.4689866900444031, 0.6474884152412415, -0.7121423482894897, -0.05990986153483391, -0.2453380972146988, -0.8690801858901978, -0.07586164027452469, 0.4768742322921753, -0.18442240357398987, 0.1590442806482315, 0.22689829766750336, 0.5615401268005371, -0.301457941532135, -0.2671777904033661, 0.299356073141098, 0.32661890983581543, 0.4492732286453247, 0.6982063055038452, 0.6806802153587341, -0.3315456509590149, 0.40436694025993347, -0.38562387228012085, -0.2908875644207001, -0.6413870453834534, -0.6099613904953003, -0.9223474264144897, -0.3416217267513275, -0.36030495166778564, -0.19329263269901276, 0.030279060825705528, 0.9270212650299072, 0.9478740692138672, -0.9428519606590271, 0.12472929060459137, -0.24404102563858032, -0.02917972393333912, -0.20029209554195404, -0.19090856611728668, 0.3598034083843231, -0.4916362762451172, -0.7614523768424988, 0.6264470219612122, 0.4010169804096222, -0.14884230494499207, -0.4343646168708801, -0.4406386613845825, -0.04348062723875046, 0.11621861904859543, 0.7889416217803955, 0.1579315960407257, -0.7168914675712585, 0.048721615225076675, -0.013494247570633888, -0.2723315954208374, -0.07347618788480759, 0.619347333908081, -0.7907242774963379, 0.5332323312759399, 0.7447203397750854, 0.9250314831733704, 0.30699726939201355, -0.2903609573841095, 0.6928966641426086, -0.6329293251037598, 0.5504682660102844, 0.3052898049354553, 0.2853986620903015, 0.16230005025863647, -0.09894179552793503, 0.3832172155380249, 0.2476595640182495, -0.21534650027751923, -0.8219965100288391, 0.17575983703136444, -0.9192662239074707, -0.4753013551235199, 1.3795572519302368, 0.08206826448440552, -0.02116049826145172, -0.024518530815839767, -0.3926340639591217, 0.09222877025604248, -0.6612038016319275, 0.4235342741012573, 0.6005182266235352, 0.4104765057563782, -0.46458470821380615, -0.5960738658905029, 0.346001535654068, 0.5437478423118591, -0.5416900515556335, -0.051034994423389435, 0.20314538478851318, 0.22715730965137482, -0.23011137545108795, 0.6369857788085938, 0.1254217028617859, 0.2169315665960312, 0.21365651488304138, 0.10415659844875336, -0.28109362721443176, -0.4312921166419983, 0.04781690612435341, 0.05965190753340721, 0.21166399121284485, -0.253192275762558 ]
http://arxiv.org/abs/2405.04412v2
http://arxiv.org/pdf/2405.04412v2
The Silicon Ceiling: Auditing GPT's Race and Gender Biases in Hiring
2024-05-07T15:39:45
2024-05-09T18:20:08
Lena Armstrong, Abbey Liu, Stephen MacNeil, Danaë Metaxa
cs.CY
cs.CY, cs.CL
Large language models (LLMs) are increasingly being introduced in workplace settings, with the goals of improving efficiency and fairness. However, concerns have arisen regarding these models' potential to reflect or exacerbate social biases and stereotypes. This study explores the potential impact of LLMs on hiring practices. To do so, we conduct an algorithm audit of race and gender biases in one commonly-used LLM, OpenAI's GPT-3.5, taking inspiration from the history of traditional offline resume audits. We conduct two studies using names with varied race and gender connotations: resume assessment (Study 1) and resume generation (Study 2). In Study 1, we ask GPT to score resumes with 32 different names (4 names for each combination of the 2 gender and 4 racial groups) and two anonymous options across 10 occupations and 3 evaluation tasks (overall rating, willingness to interview, and hireability). We find that the model reflects some biases based on stereotypes. In Study 2, we prompt GPT to create resumes (10 for each name) for fictitious job candidates. When generating resumes, GPT reveals underlying biases; women's resumes had occupations with less experience, while Asian and Hispanic resumes had immigrant markers, such as non-native English and non-U.S. education and work experiences. Our findings contribute to a growing body of literature on LLM biases, in particular when used in workplace contexts.
[ 0.11501508951187134, -0.15086911618709564, 0.8102129101753235, 0.148634672164917, 0.15566611289978027, -0.011083018034696579, 0.16502226889133453, -0.4842967987060547, 0.17082571983337402, 0.3947717845439911, -0.47989383339881897, -0.49434229731559753, -0.698624312877655, 0.06826170533895493, -0.32059159874916077, 1.221221685409546, -0.09132326394319534, 0.23823118209838867, -0.013346808031201363, 0.1591285765171051, -0.9918389320373535, -0.4681580364704132, -0.510685920715332, -0.17931655049324036, 0.33603280782699585, 0.19826140999794006, 0.6784465312957764, 0.7040438055992126, 0.2526492476463318, 0.21247126162052155, -0.13397623598575592, -0.1255730539560318, -0.45161888003349304, -0.08005267381668091, -0.1598014533519745, -0.6406242251396179, -0.3297647535800934, 0.5654288530349731, 0.6289858222007751, 0.9037693738937378, -0.14178809523582458, 0.5310472846031189, -0.019300587475299835, 0.7133975625038147, -0.7548142671585083, 0.20028065145015717, -0.8279440999031067, 0.16748087108135223, -0.3185996413230896, 0.03785622492432594, -0.15964704751968384, -0.5897521376609802, 0.07245157659053802, -0.20919965207576752, 0.46320366859436035, 0.01654690131545067, 0.6405104994773865, 0.11450032889842987, -0.6455327868461609, -0.27787935733795166, -0.9486186504364014, 0.7962499856948853, -0.5004571676254272, 0.4351691007614136, 0.37732774019241333, 0.37971726059913635, -0.13386626541614532, -0.2095979005098343, -0.2961309254169464, -0.25410017371177673, 0.0456884540617466, 0.2407008558511734, 0.2892327308654785, -0.0012220743810757995, 0.4737159311771393, 0.41758912801742554, -0.5215758681297302, 0.27556928992271423, -0.9870335459709167, -0.15658950805664062, 0.3864666819572449, 0.181661918759346, 0.40909695625305176, 0.03863609954714775, -0.025090856477618217, 0.061008140444755554, -1.0049386024475098, -0.162618026137352, 0.7241109609603882, 0.3571908175945282, -0.0406830720603466, 0.6736019253730774, -0.06261704862117767, 0.476175993680954, -0.35592564940452576, -0.19892951846122742, 0.13957582414150238, -0.07686127722263336, -0.2126753032207489, 0.3595012128353119, 0.3058936893939972, 0.5200057625770569, 0.3407272696495056, -0.18751639127731323, -0.19173556566238403, 0.287543922662735, 0.36525222659111023, -0.6405584812164307, -0.04574981704354286, -0.1103288009762764, -0.42188310623168945, -0.10164866596460342, 0.41195687651634216, -0.5784531831741333, -0.730813205242157, -0.21108973026275635, 0.018748272210359573, 0.05861496925354004, -0.24924501776695251, -0.27068352699279785, -0.38399362564086914, 0.16889728605747223, 0.31820258498191833, -0.8111538887023926, 0.07093390822410583, 1.0227742195129395, 0.8132525086402893, -0.10861826688051224, -0.1003991961479187, -0.507576048374176, 0.16042375564575195, -0.4424085021018982, 0.17730972170829773, -0.6839090585708618, -0.3734014332294464, 0.1672694981098175, 0.09653966873884201, -0.05212333798408508, -0.702743411064148, 0.34687796235084534, -0.39523929357528687, 0.258256196975708, -0.35939642786979675, -0.3102472722530365, -0.11458835005760193, 0.0005708940443582833, -0.3934098184108734, 0.8506744503974915, 0.23144575953483582, -0.6417315602302551, 0.7700406908988953, -0.6258363723754883, -0.031704727560281754, 0.05862613767385483, -0.9021754264831543, -0.2155587375164032, 0.25463783740997314, -0.00295013515278697, 0.2654308080673218, -0.20526155829429626, 0.2816442549228668, -0.12042658030986786, -0.9196761250495911, -0.01301252469420433, -0.29285094141960144, 0.9444767832756042, -0.00903086457401514, -0.4528595209121704, -0.27613893151283264, -0.20676414668560028, -0.5777670741081238, 0.04538087546825409, -0.24360263347625732, -0.4371688663959503, -0.04750440642237663, -0.42123356461524963, 0.1532365083694458, -0.04536687210202217, -0.8761082291603088, -0.056078940629959106, -0.262151300907135, 0.1884639412164688, 1.1742358207702637, -0.22442586719989777, 0.24943511188030243, -0.5082798600196838, 0.7722131609916687, 0.010662991553544998, -0.11171302199363708, -0.07971322536468506, -0.7380878329277039, -0.19934262335300446, -0.21097053587436676, 0.1603979915380478, 0.7475154995918274, -0.3742220997810364, 0.01093071885406971, -0.1390678882598877, -0.6390583515167236, -0.4803491532802582, 0.22371906042099, 0.36722588539123535, 0.543357253074646, -0.21568840742111206, -0.3059576153755188, -0.37571612000465393, -1.093080997467041, -0.7403741478919983, -0.3486023545265198, -0.3633180558681488, 0.7077126502990723, 0.5954277515411377, -0.3275390565395355, 1.0253503322601318, -0.5555027723312378, -0.36620473861694336, 0.30031511187553406, 0.016917187720537186, 0.8083615303039551, 0.4828837215900421, 0.47626423835754395, -0.7933168411254883, -0.3006567656993866, -0.19685441255569458, -0.7176443338394165, -0.13091595470905304, -0.11090858280658722, -0.13795606791973114, 0.07722224295139313, 0.30811384320259094, -0.47704458236694336, 0.4978697896003723, 0.5777895450592041, -0.3517766296863556, 0.8550940155982971, -0.01301497220993042, 0.09628574550151825, -0.6916850805282593, -0.1304309368133545, 0.5609862804412842, 0.010030404664576054, -0.30864113569259644, -0.12870652973651886, 0.023849105462431908, -0.2220323234796524, -0.7310853004455566, 0.5288563370704651, -0.5880151987075806, -0.5395436882972717, 0.05417301878333092, 0.11009176075458527, -0.2597162127494812, 0.1904248595237732, -0.19629181921482086, 1.0626795291900635, 0.15821455419063568, -0.5302016735076904, 0.16891133785247803, 0.13657090067863464, -0.5427954792976379, 0.5356324911117554, -0.3661046326160431, 0.400749146938324, -0.31530094146728516, 0.45739495754241943, -1.110962986946106, -0.04539098963141441, 0.005558067001402378, -0.17996829748153687, 0.043740686029195786, -0.202985018491745, -0.5323952436447144, -0.6747601628303528, -0.5610454082489014, 0.7082710266113281, 0.5996752381324768, -0.4524663984775543, 0.2362270951271057, 0.5620502233505249, -0.41515737771987915, -0.5594255328178406, -0.9351953268051147, -0.006387216039001942, -0.3165850341320038, -0.5049034953117371, 0.41876527667045593, 0.10920107364654541, -0.46199774742126465, -0.43727779388427734, -0.262882262468338, -0.4036158621311188, 0.020063461735844612, 0.38860780000686646, 0.7864342927932739, -0.04469544067978859, -0.20194898545742035, -0.11796704679727554, 0.14031170308589935, 0.014897915534675121, -0.13825708627700806, 0.18986600637435913, -0.07679031044244766, -0.4714011549949646, -0.2954385578632355, 0.09566023200750351, 0.593917965888977, 0.29447659850120544, 0.7557877898216248, 0.6413173079490662, -0.4530981183052063, 0.2532048523426056, -0.9379606246948242, -0.2868734300136566, -0.49849507212638855, 0.4478219151496887, -0.12327166646718979, -1.2308290004730225, 0.5762127041816711, -0.06772817671298981, 0.24382156133651733, 0.3447858989238739, 0.7194651961326599, 0.0018810618203133345, 1.0587294101715088, 0.8236769437789917, -0.24575670063495636, 0.5316829085350037, 0.18295074999332428, 0.3927115499973297, -0.9610049724578857, -0.008956429548561573, -0.4855648875236511, -0.23493914306163788, -0.9998906254768372, -0.24270248413085938, 0.575302004814148, -0.3944096565246582, -0.33288002014160156, 0.023049132898449898, -0.740974485874176, 0.6623062491416931, 0.6073169708251953, 0.006103435531258583, 0.2270379215478897, -0.1747441440820694, -0.06487945467233658, -0.33701804280281067, -0.3898352384567261, -0.7213494181632996, 1.1274373531341553, 0.5858060717582703, 0.4318251609802246, -0.04886426404118538, 0.5199214220046997, 0.43699342012405396, 0.5988051295280457, -0.2894083261489868, 0.4310125410556793, -0.36489737033843994, -0.9289588928222656, -0.29521510004997253, -0.5504967570304871, -0.6754468679428101, 0.27150118350982666, 0.2305058240890503, -1.0976215600967407, 0.22486455738544464, 0.04044712707400322, -0.3065425157546997, 0.4381447434425354, -0.6658453941345215, 0.7526496052742004, -0.2022717148065567, -0.04685792326927185, 0.06641639024019241, -0.23653198778629303, 1.0126153230667114, -0.5668700337409973, 0.4772167205810547, -0.34875014424324036, -0.005483638495206833, 0.9208873510360718, -0.4014194905757904, 0.9775208830833435, -0.43524372577667236, -0.12521792948246002, -0.046417608857154846, 0.22044895589351654, 0.5576954483985901, -0.13318003714084625, -0.6153885126113892, 0.6111077070236206, 0.17945323884487152, -0.1692868322134018, -0.24196676909923553, 0.5983266234397888, -0.79932701587677, -0.6251437067985535, -0.4564201831817627, -0.6547161340713501, -0.10581500828266144, 0.10352309048175812, 0.15188494324684143, 0.12115255743265152, -0.12676313519477844, -0.07076281309127808, 0.09963003545999527, -0.7501387596130371, -0.29241427779197693, 0.2866668105125427, -0.21103817224502563, 0.17604589462280273, 0.8574444055557251, 0.4785059094429016, -0.07178954780101776, -0.2752567231655121, 0.13496708869934082, 0.00038311645039357245, -0.2284335494041443, -0.2983008325099945, 0.5801593065261841, -0.4407067596912384, 0.11114088445901871, -0.38412830233573914, -0.2505700886249542, -0.7005933523178101, -0.13415217399597168, -0.2477540224790573, -0.2171444445848465, 0.06855544447898865, -0.033062927424907684, 0.00707650650292635, 0.9485472440719604, 0.15807588398456573, 0.3041352927684784, -0.3668588101863861, 0.32640311121940613, 0.3757467269897461, 0.4217006266117096, -0.1829967498779297, -0.4312543272972107, -0.23686832189559937, 0.0890984758734703, -0.2892630100250244, -0.8836941123008728, 0.21114790439605713, -0.18192996084690094, 0.5543209314346313, 0.2959538400173187, -0.09446954727172852, 0.277474969625473, -0.55836021900177, 1.1199736595153809, 0.20301859080791473, -0.6479107141494751, 0.5196342468261719, -0.6816799640655518, 0.12559638917446136, 0.6843395829200745, 0.42975205183029175, -0.7393620610237122, -0.7018436789512634, -0.34144800901412964, -0.8100326061248779, 0.9262810945510864, 0.20917728543281555, 0.2769292891025543, -0.2452544867992401, 0.5390114188194275, 0.25831690430641174, 0.5522239208221436, -0.7190564870834351, -0.23123277723789215, 0.18901920318603516, 0.020018035545945168, 0.2570231556892395, -0.5251978635787964, -0.014621011912822723, -0.2516648471355438, 0.5782880783081055, 0.23768335580825806, 0.4908405542373657, -0.11620744317770004, 0.03857843205332756, 0.057949088513851166, 0.20218151807785034, 0.5247902274131775, 0.8120970129966736, -0.4149031639099121, -0.13226361572742462, 0.4939291477203369, -0.5207549929618835, 0.05273683741688728, -0.2787206172943115, -0.1437530219554901, 0.10831242054700851, -0.0939582884311676, 0.5007607340812683, -0.08538518846035004, -0.5817827582359314, 0.6396124958992004, -0.036701712757349014, -0.31036457419395447, -0.6365297436714172, 0.05483496934175491, -0.19764859974384308, 0.3207097351551056, 0.45485058426856995, -0.26883766055107117, 0.16277220845222473, -0.7791861891746521, -0.2763233184814453, 0.6544620394706726, -0.4205020070075989, 0.02608579397201538, 0.8024555444717407, 0.09096774458885193, -0.5351336598396301, 0.8621721267700195, -0.08204568922519684, -0.5799855589866638, 0.7001076340675354, 0.5513027906417847, 0.9722496867179871, -0.223613902926445, 0.019652096554636955, 0.0822482630610466, 0.48818567395210266, -0.2815675735473633, -0.10702149569988251, 0.07548262178897858, -0.7937167882919312, -0.4340647757053375, -0.5010079145431519, -0.8215222358703613, -0.016167452558875084, -0.46621987223625183, 0.14697296917438507, -0.5272019505500793, -0.33581700921058655, -0.26378557085990906, -0.2915414571762085, -0.9064105749130249, 0.1051860973238945, 0.47176575660705566, 0.700630784034729, -1.0860803127288818, 0.3530412018299103, 0.6756408214569092, -0.250226229429245, -0.6375018954277039, 0.03156770393252373, 0.4659183919429779, -1.0049251317977905, 1.0419385433197021, 0.5021684765815735, 0.0672447681427002, -0.4549935758113861, -0.11014528572559357, -0.7171081304550171, 1.262352466583252, 0.7184610366821289, -0.5589234828948975, -0.4666147530078888, 0.35645195841789246, 0.12809188663959503, -0.4271204173564911, 0.6795373558998108, 0.9165975451469421, 0.5594752430915833, -0.22068916261196136, -1.4443703889846802, 0.02210826240479946, -0.17638124525547028, 0.32654765248298645, -0.09134474396705627, -0.572318434715271, 0.9969561100006104, -0.056178271770477295, -0.233808696269989, -0.1298777014017105, 0.28619521856307983, 0.6756699085235596, 0.2849741280078888, 0.7352341413497925, 0.03776147589087486, 1.1928961277008057, -0.06230597198009491, 1.2132065296173096, -0.2649703919887543, -0.007024634629487991, 0.9224755167961121, -0.612080991268158, 0.27227649092674255, 0.3718410134315491, -0.38495057821273804, 0.7200354337692261, 0.6573315858840942, -0.19765503704547882, 0.0808246061205864, 0.4229452908039093, -0.09460762143135071, 0.18668565154075623, -0.3943597972393036, -0.43849509954452515, 0.4600384533405304, 0.14470265805721283, -0.5844265818595886, -0.1668063998222351, -0.06331723183393478, 0.10755849629640579, -0.22245262563228607, -0.4048158526420593, 0.32910969853401184, 0.31351470947265625, -0.5869930982589722, 0.04419289901852608, 0.13055111467838287, 0.911392092704773, -0.2020309567451477, -0.16561594605445862, -0.04443645477294922, 0.21103568375110626, -0.38736337423324585, -0.6980763077735901, 0.32672253251075745, 0.2261030077934265, -0.22722549736499786, -0.26371586322784424, 0.5592066049575806, -0.14856353402137756, -0.5494007468223572, 0.20339205861091614, 0.5874075293540955, 0.6042534112930298, -0.36909574270248413, -0.49331143498420715, -0.014093371108174324, 0.043248437345027924, -0.04952133446931839, 0.4850803017616272, 0.22768911719322205, -0.17208842933177948, 0.34145811200141907, 0.5932202339172363, 0.5023428797721863, 0.027809523046016693, 0.14308138191699982, 0.3663051128387451, -0.6822291016578674, -0.830159604549408, -1.0540757179260254, 0.30408820509910583, -0.06737813353538513, -0.09234266728162766, 0.7558269500732422, 0.6467469930648804, 0.7766339778900146, 0.16851630806922913, 0.8032793402671814, 0.608508288860321, 0.651046633720398, -0.3945484161376953, 0.680781364440918, -0.391652375459671, 0.47323793172836304, -0.7912333011627197, -1.472181797027588, -0.018350455909967422, 0.5693402290344238, -0.7533915042877197, 0.6105587482452393, 0.4795297086238861, 0.8835296630859375, 0.07785601913928986, 0.14369995892047882, 0.1914099007844925, 0.1925797313451767, 0.4481109380722046, 0.45275411009788513, 0.6026911735534668, -0.16040128469467163, 0.4344114363193512, 0.16571727395057678, -0.42281773686408997, -0.24623437225818634, -1.0229132175445557, -0.5409706234931946, -0.11985534429550171, -0.5100105404853821, -0.3119872510433197, 0.04836922883987427, 0.6508793830871582, 0.6269132494926453, -0.4480712115764618, -0.5026993751525879, 0.2854338586330414, 0.25318682193756104, 0.04763085022568703, -0.31540122628211975, 0.03319671005010605, 0.011087324470281601, -0.6039876937866211, 0.41925153136253357, 0.2734558582305908, -0.1694081425666809, -0.31477656960487366, -0.01828243024647236, 0.16318194568157196, 0.029546279460191727, 0.357005774974823, 0.27729249000549316, -0.639266848564148, -0.37280410528182983, -0.44642215967178345, -0.1825694739818573, -0.0691588819026947, 0.7623121738433838, -0.6340366005897522, 0.2267301082611084, 0.12002703547477722, 0.6263664960861206, 0.5447725653648376, -0.08893149346113205, 0.9200998544692993, -0.7395321726799011, 0.013415000401437283, 0.08971938490867615, 0.557427704334259, 0.30898475646972656, -0.6226897835731506, 0.7762505412101746, 0.3579755425453186, -0.6360495686531067, -1.2150005102157593, -0.09664230793714523, -0.4758007824420929, -0.0955272912979126, 1.1596431732177734, 0.3260525166988373, -0.08064109086990356, -0.14387671649456024, -0.029389774426817894, 0.26841992139816284, -0.3386757969856262, 0.9064701795578003, 0.7046351432800293, -0.020401908084750175, 0.14228133857250214, -1.2583316564559937, 0.25051525235176086, 0.39721736311912537, -0.34742847084999084, 0.04471983388066292, 0.46269965171813965, 0.37365567684173584, 0.11716742068529129, 1.1225666999816895, -0.22327964007854462, 0.4955140948295593, -0.2493698000907898, -0.08473721146583557, -0.059925634413957596, -0.140009805560112, -0.20149095356464386, -0.06067227944731712, 0.05798470228910446, -0.03452569618821144 ]
http://arxiv.org/abs/2405.04404v1
http://arxiv.org/pdf/2405.04404v1
Vision Mamba: A Comprehensive Survey and Taxonomy
2024-05-07T15:30:14
2024-05-07T15:30:14
Xiao Liu, Chenxu Zhang, Lei Zhang
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
State Space Model (SSM) is a mathematical model used to describe and analyze the behavior of dynamic systems. This model has witnessed numerous applications in several fields, including control theory, signal processing, economics and machine learning. In the field of deep learning, state space models are used to process sequence data, such as time series analysis, natural language processing (NLP) and video understanding. By mapping sequence data to state space, long-term dependencies in the data can be better captured. In particular, modern SSMs have shown strong representational capabilities in NLP, especially in long sequence modeling, while maintaining linear time complexity. Notably, based on the latest state-space models, Mamba merges time-varying parameters into SSMs and formulates a hardware-aware algorithm for efficient training and inference. Given its impressive efficiency and strong long-range dependency modeling capability, Mamba is expected to become a new AI architecture that may outperform Transformer. Recently, a number of works have attempted to study the potential of Mamba in various fields, such as general vision, multi-modal, medical image analysis and remote sensing image analysis, by extending Mamba from natural language domain to visual domain. To fully understand Mamba in the visual domain, we conduct a comprehensive survey and present a taxonomy study. This survey focuses on Mamba's application to a variety of visual tasks and data types, and discusses its predecessors, recent advances and far-reaching impact on a wide range of domains. Since Mamba is now on an upward trend, please actively notice us if you have new findings, and new progress on Mamba will be included in this survey in a timely manner and updated on the Mamba project at https://github.com/lx6c78/Vision-Mamba-A-Comprehensive-Survey-and-Taxonomy.
[ -0.5903410315513611, -0.821297824382782, 0.5310719013214111, -0.05999566987156868, -0.4304649829864502, 0.10762809962034225, 0.2713814973831177, -0.2895964980125427, 0.4511283338069916, 0.5764468312263489, -0.48053494095802307, -0.5133833885192871, -0.7473549842834473, -0.2666225731372833, -0.3513696491718292, 0.3298560082912445, -0.18104368448257446, 0.02713242545723915, -0.32724493741989136, -0.3751836121082306, -0.7679114937782288, -0.7248923778533936, -0.20623639225959778, 0.031074192374944687, 0.31717216968536377, -0.07598734647035599, 0.6415659785270691, 0.33732616901397705, 0.6795591115951538, 0.35627517104148865, -0.2491065412759781, 0.40772250294685364, -0.22611556947231293, 0.06213622912764549, -0.1014825701713562, -0.6010070443153381, -0.367645263671875, -0.10778580605983734, 0.7680217623710632, 1.0250872373580933, -0.41798827052116394, 0.2673126459121704, -0.007000243291258812, 0.9741724729537964, -0.9934477806091309, 0.294459730386734, -0.3669944703578949, 0.33816859126091003, -0.27669376134872437, -0.0023794881999492645, -0.10953966528177261, -0.3527177572250366, -0.02767477184534073, -0.5498723983764648, -0.23850186169147491, 0.06890887767076492, 1.0806533098220825, 0.5698217749595642, -0.7693344354629517, -0.029769225046038628, -0.8799130916595459, 0.9254486560821533, -0.4875744581222534, 0.3269823491573334, -0.04518310725688934, 0.8471094965934753, -0.39000123739242554, -0.3621121346950531, -0.5224295258522034, -0.11156591773033142, 0.38192638754844666, 0.3497330844402313, -0.2771291434764862, -0.17400774359703064, 0.08564623445272446, 0.4262305498123169, -0.24900667369365692, 0.12576644122600555, -0.6971532106399536, -0.17992879450321198, 0.4611997604370117, 0.6627612709999084, 0.34183448553085327, -0.4616415202617645, -0.7141633629798889, 0.21872879564762115, -0.5996120572090149, 0.3906312584877014, 0.061081431806087494, 0.16791388392448425, -0.1016547754406929, 0.80518639087677, -0.1751202493906021, 1.1672767400741577, -0.4552808701992035, -0.2349950522184372, 0.023947210982441902, -0.35043272376060486, -0.5451812744140625, -0.27499082684516907, 0.6485877633094788, 0.6108982563018799, -0.0035026627592742443, 0.26180076599121094, 0.0021677950862795115, 0.38300246000289917, 0.7358148694038391, -0.4705308973789215, 0.2471495270729065, -0.04134966805577278, -0.733923077583313, -0.2048676759004593, 0.05866816267371178, -1.0214672088623047, -0.6468954086303711, -0.6149934530258179, 0.29758796095848083, -0.6066621541976929, -0.41946282982826233, 0.17975489795207977, 0.16931116580963135, 0.34418973326683044, 0.4189164340496063, -0.4584483802318573, 0.33475011587142944, 0.5464327335357666, 1.1379655599594116, -0.3389764428138733, -0.12144292891025543, 0.05627788230776787, 0.09390587359666824, -0.7984366416931152, 0.613429605960846, -0.5335233211517334, -0.626781165599823, -0.036104071885347366, 0.10324371606111526, -0.1547096073627472, -0.6349399089813232, -0.03157191351056099, -0.43069902062416077, -0.2298298329114914, -0.0881485641002655, -0.6423409581184387, -0.6957268118858337, 0.2105056494474411, -0.6298568844795227, 0.891937255859375, 0.156845360994339, -0.12323593348264694, 0.7061804533004761, -0.868816077709198, -0.36053401231765747, 0.12032844126224518, -0.12089217454195023, -0.32525715231895447, 0.15403589606285095, 0.03582453355193138, 0.7626058459281921, -0.14331994950771332, 0.4048348665237427, -0.44234776496887207, -0.41340968012809753, 0.2571139633655548, 0.273711621761322, 0.525765597820282, 0.633280873298645, -0.06183178350329399, 0.21443119645118713, -0.9863110184669495, -0.3389921188354492, 0.21936456859111786, -0.23023934662342072, -0.5147262811660767, 0.5163205862045288, -0.38823121786117554, 0.18776528537273407, 0.1120753213763237, -0.3937351405620575, 0.26422134041786194, -0.38704487681388855, 0.470745712518692, 0.6302862763404846, 0.23311710357666016, 0.628142237663269, 0.2783876359462738, 0.812211275100708, 0.4043704867362976, 0.47789013385772705, -0.42461922764778137, -0.5882341861724854, -0.7813534736633301, -0.31920310854911804, -0.019125550985336304, 0.4987313747406006, -0.8175118565559387, 0.43129095435142517, -0.07563728094100952, -0.6384326219558716, -0.34365832805633545, -0.023220369592308998, -0.06924440711736679, 0.52256178855896, 0.3940403461456299, -0.3776600658893585, -0.5467406511306763, -1.1281527280807495, 0.10592838376760483, 0.16029229760169983, 0.3002716302871704, 0.411455899477005, 0.5501115918159485, -0.3156612515449524, 1.0261590480804443, -0.6630176305770874, -0.4615514278411865, -0.27598556876182556, -0.3138583302497864, 0.3011261820793152, 0.32521045207977295, 0.7904486060142517, -0.8634169101715088, 0.18531478941440582, -0.24548332393169403, -1.0471482276916504, 0.4409518837928772, -0.003318858565762639, -0.24236229062080383, 0.21790075302124023, 0.27726635336875916, -0.37888821959495544, 0.7890958786010742, 0.5235962271690369, -0.17088142037391663, 0.25086861848831177, 0.1342872828245163, 0.23356536030769348, -1.3293266296386719, 0.15637898445129395, 0.1076074168086052, 0.09311732649803162, -0.5691439509391785, 0.3933160901069641, 0.0064799669198691845, -0.47988155484199524, -0.6361144185066223, 0.3301048278808594, -0.47584015130996704, -0.4911501109600067, -0.37077465653419495, 0.022580424323678017, -0.2239854782819748, 0.4607245922088623, -0.22653038799762726, 0.5592712163925171, 0.9165174961090088, -1.1320619583129883, 0.6173570156097412, 0.1223972961306572, -0.6412000060081482, 0.5833385586738586, -0.3221544325351715, -0.2978462874889374, -0.06565050780773163, 0.11435875296592712, -1.0842841863632202, -0.03589365631341934, 0.37118324637413025, -0.35218724608421326, 0.23624496161937714, -0.2730006277561188, -0.4982539415359497, -0.6136074066162109, 0.08764977008104324, 0.14042045176029205, 0.48312366008758545, -0.37020403146743774, 0.8243727684020996, 0.8584528565406799, 0.1481277048587799, -0.5641873478889465, -0.6708915829658508, 0.22083397209644318, -0.15310032665729523, -0.45627182722091675, -0.10142073035240173, 0.39651185274124146, -0.13618792593479156, -0.052727896720170975, -0.2417810708284378, -0.017691265791654587, 0.3815726339817047, 0.7210345268249512, 0.8398120403289795, -0.2545803189277649, -0.040032871067523956, -0.03319716826081276, -0.09070692211389542, 0.0283192191272974, -0.11063734441995621, 0.6189482808113098, -0.2760864198207855, -0.45979321002960205, -0.2631373107433319, 0.24477626383304596, 0.49516284465789795, -0.28765419125556946, 0.8666324019432068, 0.22687272727489471, -0.4898794889450073, -0.04494441673159599, -0.12953507900238037, 0.2981049418449402, -0.4295501708984375, 0.49191299080848694, -0.44354623556137085, -0.8736688494682312, 0.5131337642669678, -0.4871867597103119, -0.0639662891626358, 0.4929070472717285, 0.5811780691146851, -0.3042992651462555, 0.8733267784118652, 0.9070013165473938, -0.1805768609046936, 0.4173973500728607, -0.490921288728714, 0.26445648074150085, -0.8411315083503723, -0.6651101112365723, -0.18616484105587006, -0.6629796624183655, -0.24431759119033813, -0.5316117405891418, 0.20718224346637726, 0.06923048198223114, -0.03985212370753288, 0.3219923973083496, -0.5710398554801941, 0.08628144860267639, 0.3292063772678375, 0.12585106492042542, -0.2492072880268097, -0.11198973655700684, -0.36538782715797424, -0.16338135302066803, -0.5900577902793884, -0.5061050653457642, 0.9445878863334656, 0.19959600269794464, 0.8273018002510071, 0.059441208839416504, 0.3175913691520691, 0.2487782984972, -0.2552604675292969, -1.0648115873336792, 1.0058118104934692, -0.14142780005931854, -0.5086556673049927, -0.12006781995296478, -0.21292434632778168, -1.0629546642303467, 0.2452169507741928, -0.18724124133586884, -0.6060432195663452, 0.3451128304004669, 0.14418305456638336, -0.3621882498264313, 0.6104715466499329, -0.37218567728996277, 0.5619248747825623, -0.1435810625553131, -0.024743562564253807, -0.42624127864837646, -0.7113044857978821, 0.5857576727867126, -0.02703399583697319, 0.10816548019647598, -0.3363271653652191, -0.26576003432273865, 0.6955104470252991, -0.4714658260345459, 0.8671736121177673, -0.5344117283821106, -0.03067241981625557, 0.5192016363143921, 0.25983697175979614, -0.1270342916250229, -0.31433507800102234, 0.19136211276054382, 0.5275731682777405, -0.07868625968694687, -0.5337072014808655, -0.4714249074459076, 0.5121995210647583, -0.6709978580474854, -0.2930600941181183, -0.5906792283058167, -0.29283177852630615, -0.3604452311992645, 0.10600444674491882, -0.14103516936302185, 0.3088962435722351, -0.15579593181610107, 0.2922007441520691, 0.312280535697937, -0.5057774186134338, 0.38430193066596985, 0.36554965376853943, -0.7443734407424927, -0.1756841391324997, 0.7873098254203796, 0.29365918040275574, -0.018499501049518585, 0.2820959985256195, -0.24275679886341095, -0.1509484201669693, -0.5068418383598328, -0.5450859665870667, -0.09066391736268997, -0.794840931892395, -0.2172652930021286, -0.2517942786216736, -0.2851506173610687, -0.05524326488375664, -0.07545743137598038, -0.4611501395702362, -0.3783743381500244, -0.21804071962833405, -0.07280328124761581, 0.21676628291606903, 0.7331115007400513, 0.33125758171081543, 0.30674323439598083, -0.6280840039253235, 0.5916993021965027, 0.04963783919811249, 0.40542173385620117, 0.007600113749504089, -0.2108873724937439, -0.31864237785339355, -0.10794951021671295, -0.32994306087493896, -0.9408031702041626, 0.3348228335380554, -0.019456518813967705, 0.8932141065597534, 0.4218078851699829, -0.3345639705657959, 0.9714720845222473, -0.40430495142936707, 1.2749935388565063, 0.5057702660560608, -0.753960907459259, 1.1049609184265137, 0.007500409614294767, 0.3348173201084137, 0.18769866228103638, 0.4770619571208954, -0.4124533534049988, -0.1591026932001114, -0.12983204424381256, -0.8447211980819702, 0.44153913855552673, -0.12703324854373932, 0.03906713053584099, 0.2948853671550751, 0.5183959007263184, 0.10740050673484802, 0.3261971175670624, -0.06219181790947914, -0.37099379301071167, -0.5435462594032288, -0.0055323694832623005, -0.12611927092075348, -0.03368132933974266, -0.10493563115596771, -0.26016536355018616, 0.2941994071006775, -0.22454166412353516, 0.4300205409526825, -0.11738504469394684, -0.32869651913642883, 0.08145339787006378, 0.20715279877185822, 0.5658650994300842, 0.8676140308380127, 0.18596744537353516, -0.09468603134155273, 0.24652038514614105, -0.4526619017124176, 0.27192145586013794, -0.09151870757341385, -0.3057402968406677, -0.025309860706329346, -0.04414711520075798, 0.9847283959388733, 0.3679274916648865, -0.4375896155834198, 0.41477689146995544, 0.4327366054058075, -0.29163771867752075, -0.2439940869808197, 0.4408310651779175, 0.03060402348637581, 0.2683160901069641, 0.49855655431747437, 0.6451348662376404, 0.2806321680545807, -0.5985485315322876, -0.14022782444953918, 0.38178709149360657, -0.348090261220932, -0.10176043212413788, 0.8126732110977173, -0.03611326217651367, 0.0241247545927763, 0.42002272605895996, 0.2660233974456787, -0.3704628646373749, 0.8875213265419006, 0.24293720722198486, 0.43104299902915955, -0.24938812851905823, 0.12590323388576508, 0.44105833768844604, 0.20362386107444763, 0.15715263783931732, 0.5536848902702332, -0.11149332672357559, -0.6862027049064636, -0.3315408527851105, -0.9149535894393921, -0.4600696265697479, 0.005292794667184353, -0.8521962761878967, 0.11192243546247482, -0.762861430644989, -0.5962939858436584, -0.03952176868915558, -0.03241856396198273, -0.49423420429229736, 0.45881640911102295, 0.49441272020339966, 0.9187642335891724, -0.5598906874656677, 0.8217232823371887, 0.9465848803520203, -0.45933935046195984, -0.5497146248817444, -0.533513605594635, 0.4111648201942444, -1.0162450075149536, 0.6409553289413452, 0.025927307084202766, -0.45890143513679504, -0.38140538334846497, -0.7975422739982605, -0.9528468251228333, 1.2276191711425781, 0.1074475646018982, -0.7078194618225098, 0.22051088511943817, 0.04752297326922417, 0.4408482015132904, -0.35534337162971497, -0.5913840532302856, 0.3257262110710144, 0.3167390823364258, 0.12940643727779388, -0.3834751546382904, 0.018589593470096588, -0.29375767707824707, 0.5178837776184082, 0.5644209980964661, -0.8594983816146851, 0.51247239112854, -0.3441224992275238, -0.19417224824428558, 0.2875244915485382, 0.847131609916687, 0.41467490792274475, 0.38790783286094666, 0.6332062482833862, 0.4626668691635132, 0.6579530239105225, -0.33365172147750854, 0.9250186085700989, -0.22832752764225006, 0.2607818841934204, 0.6071121096611023, -0.4997592270374298, 0.9284589886665344, 0.4928516149520874, -0.5263321399688721, 0.4764987826347351, 0.9003475904464722, -0.6635467410087585, 0.49773162603378296, 0.17856259644031525, 0.15326622128486633, -0.24529576301574707, 0.17743302881717682, -0.39341697096824646, 0.5393362045288086, 0.4157603979110718, -0.2538567781448364, 0.12765979766845703, 0.3791325092315674, -0.19647641479969025, -0.01289194542914629, -0.7673909664154053, 0.5719027519226074, 0.264007031917572, -0.4532073736190796, 0.2676036059856415, -0.1887340098619461, 0.623403012752533, -0.8492040038108826, 0.008891046978533268, -0.1883474886417389, 0.17020316421985626, -0.20304562151432037, -1.0343188047409058, 0.4957590699195862, -0.15553182363510132, -0.09294673055410385, 0.07984637469053268, 0.9085789918899536, 0.17467227578163147, -0.5987560749053955, 0.39105522632598877, 0.43734467029571533, 0.3404713571071625, 0.1329982727766037, -0.7287584543228149, -0.06277986615896225, -0.3627677857875824, -0.10471327602863312, 0.2933860123157501, 0.05766425281763077, 0.025532865896821022, 0.979188084602356, 0.5876580476760864, 0.17524203658103943, 0.39908894896507263, 0.11306068301200867, 0.7293240427970886, -1.0345202684402466, -0.6583889126777649, -0.7787629961967468, 0.3498879373073578, -0.04511954262852669, -0.235378235578537, 0.8026502132415771, 0.6806968450546265, 0.4099991023540497, -0.1873936951160431, 0.6593919992446899, -0.01654953323304653, 0.48705679178237915, -0.6988323330879211, 0.7779462337493896, -1.029348373413086, -0.11392488330602646, -0.23162370920181274, -0.8467869162559509, -0.3293626308441162, 0.43370890617370605, -0.2441440224647522, -0.02951235882937908, 0.4519425332546234, 0.4727459251880646, -0.009412473067641258, 0.01526337955147028, 0.5085420608520508, 0.09101533889770508, -0.035757698118686676, 0.43854808807373047, 1.1548138856887817, -0.19591230154037476, 0.5335721969604492, -0.03556142374873161, -0.10638616979122162, -0.4147647023200989, -0.4952682554721832, -0.5307549834251404, -0.8058722019195557, -0.19999749958515167, -0.19394074380397797, -0.0708538070321083, 0.38672569394111633, 1.027141809463501, -0.6639873385429382, -0.2234085351228714, 0.3160061240196228, -0.061183489859104156, -0.3082294762134552, -0.22309255599975586, 0.08540410548448563, -0.15316884219646454, -0.5292075872421265, 0.5296437740325928, 0.7789896130561829, 0.05889401212334633, -0.5204676389694214, -0.04432849958539009, -0.17487762868404388, 0.02645016461610794, 0.8968419432640076, 0.2623359262943268, -0.9208537340164185, 0.1129213199019432, 0.14068929851055145, -0.07614639401435852, 0.3119909465312958, 0.7011452317237854, -0.8514195084571838, 0.4885242283344269, 0.17289023101329803, 0.6506451368331909, 0.6132774949073792, -0.291841596364975, 0.549547016620636, -0.3259470760822296, 0.13610580563545227, -0.06531218439340591, 0.8127328753471375, 0.2535868287086487, -0.23949749767780304, 0.7892682552337646, 0.375858873128891, -0.23451873660087585, -0.5725113153457642, 0.2570202350616455, -1.4579917192459106, -0.6464536190032959, 0.8349369764328003, -0.06418328732252121, -0.48760056495666504, 0.14237993955612183, -0.29947930574417114, 0.36507081985473633, -0.11650703847408295, 0.5776800513267517, 0.656782329082489, -0.16676658391952515, -0.3462330102920532, -0.7152881622314453, -0.019383003935217857, 0.10215446352958679, -0.8900832533836365, -0.5483762621879578, 0.5882187485694885, 0.20033182203769684, 0.3292630910873413, 0.21764908730983734, -0.29474937915802, 0.28470903635025024, -0.07721829414367676, 0.1150260791182518, -0.15322546660900116, -0.31081974506378174, -0.5217092633247375, 0.49959468841552734, -0.49896514415740967, -0.7303978800773621 ]
http://arxiv.org/abs/2405.04403v1
http://arxiv.org/pdf/2405.04403v1
Learning To See But Forgetting To Follow: Visual Instruction Tuning Makes LLMs More Prone To Jailbreak Attacks
2024-05-07T15:29:48
2024-05-07T15:29:48
Georgios Pantazopoulos, Amit Parekh, Malvina Nikandrou, Alessandro Suglia
cs.CV
cs.CV, cs.CL
Augmenting Large Language Models (LLMs) with image-understanding capabilities has resulted in a boom of high-performing Vision-Language models (VLMs). While studying the alignment of LLMs to human values has received widespread attention, the safety of VLMs has not received the same attention. In this paper, we explore the impact of jailbreaking on three state-of-the-art VLMs, each using a distinct modeling approach. By comparing each VLM to their respective LLM backbone, we find that each VLM is more susceptible to jailbreaking. We consider this as an undesirable outcome from visual instruction-tuning, which imposes a forgetting effect on an LLM's safety guardrails. Therefore, we provide recommendations for future work based on evaluation strategies that aim to highlight the weaknesses of a VLM, as well as take safety measures into account during visual instruction tuning.
[ -0.3096264898777008, -0.37948375940322876, 0.5892661213874817, 0.1770734041929245, -0.3340192437171936, 0.10249554365873337, 0.15043911337852478, -0.3981908857822418, -0.1757981777191162, 0.8613527417182922, -0.39375612139701843, -0.5383488535881042, -0.7976272106170654, -0.293785959482193, -0.4580160081386566, 0.818086564540863, -0.2639884650707245, 0.04476811736822128, -0.16398631036281586, -0.1521155834197998, -1.0590603351593018, -0.5350134968757629, -0.21425782144069672, 0.09643720090389252, 0.5657786130905151, 0.2631235420703888, 0.4977249205112457, 0.913884162902832, 0.7006687521934509, 0.24394844472408295, -0.21861538290977478, 0.10876385867595673, -0.6604776978492737, -0.07945071160793304, -0.09869736433029175, -0.5271585583686829, -0.30978459119796753, -0.0909949392080307, 0.2825760543346405, 0.30308225750923157, -0.047089945524930954, 0.038963016122579575, 0.008613952435553074, 1.0443203449249268, -0.8897263407707214, -0.08968228846788406, -0.8528096079826355, 0.01943494938313961, -0.23101921379566193, -0.015089945867657661, -0.488674134016037, -0.18430157005786896, 0.1164417639374733, -0.2650546431541443, 0.030812470242381096, 0.41907137632369995, 0.8698098659515381, 0.5195375084877014, -0.11534366756677628, -0.19838401675224304, -0.34040069580078125, 0.6350419521331787, -0.40597617626190186, 0.36302340030670166, 0.3492984473705292, 0.28148287534713745, -0.18867430090904236, -0.27129122614860535, -0.17628253996372223, -0.15372715890407562, 0.1298227459192276, 0.17926588654518127, -0.10808897018432617, 0.09721731394529343, 0.3767869472503662, -0.006379324477165937, -0.32636621594429016, 0.3817369043827057, -0.7687995433807373, -0.08581327646970749, 0.33841484785079956, 0.44754061102867126, 0.3578503727912903, -0.0016584678087383509, -0.5984761714935303, -0.1931135058403015, -1.1075215339660645, 0.028360875323414803, 0.3670748472213745, 0.14320775866508484, -0.15046651661396027, 0.5928634405136108, 0.22342456877231598, 0.9027501344680786, -0.12827177345752716, -0.13074864447116852, -0.15063902735710144, -0.17280420660972595, -0.3759647607803345, -0.06513828039169312, 0.49198493361473083, 0.8271576762199402, 0.6655716300010681, -0.10403729230165482, -0.19638194143772125, 0.11537835001945496, 0.7062728404998779, -0.5309588313102722, -0.2893873155117035, -0.17242319881916046, -0.39558976888656616, -0.4838120937347412, 0.07632613927125931, -0.653803825378418, -0.8452854752540588, -0.054885219782590866, 0.44596773386001587, -0.5876815915107727, 0.17762260138988495, 0.07863539457321167, -0.25026002526283264, 0.3928588032722473, 0.5148032307624817, -1.0264348983764648, 0.0806155651807785, 0.644740641117096, 0.8735452890396118, -0.07257670164108276, -0.5874567031860352, -0.4852219820022583, 0.14894481003284454, -0.545994758605957, 0.5817093253135681, -0.23888638615608215, -0.5555819869041443, -0.10003245621919632, 0.08304915577173233, -0.22929953038692474, -0.7161424160003662, 0.1288536638021469, -0.5928266048431396, -0.40047094225883484, -0.3431159257888794, -0.4767710268497467, -0.18184515833854675, 0.08894713222980499, -0.634632408618927, 0.2983548045158386, -0.0708194449543953, -0.6813594698905945, 0.5784410834312439, -0.19959527254104614, -0.4013778269290924, -0.13069939613342285, -0.14581948518753052, -0.7739906311035156, 0.4116980731487274, 0.15174449980258942, 0.31396031379699707, 0.2426338493824005, 0.050982847809791565, -0.4481756389141083, -0.7045645713806152, 0.07609875500202179, -0.39406755566596985, 0.7160207629203796, 0.02200840786099434, -0.2659654915332794, 0.1631011813879013, -0.47722819447517395, -0.1794804483652115, 0.16350656747817993, -0.3888373076915741, -0.5189213156700134, 0.5030244588851929, -0.17789803445339203, 0.1291653960943222, 0.05959033966064453, -0.32928740978240967, 0.012404750101268291, -0.3363712728023529, 0.4327844977378845, 1.163011908531189, 0.04359673708677292, 0.10626427829265594, -0.15634876489639282, 0.2738259434700012, 0.23659351468086243, 0.4433237612247467, -0.48787856101989746, -0.2785266041755676, -0.9764317274093628, 0.055579155683517456, -0.10642833262681961, 0.8440572023391724, -0.6397060751914978, -0.09971693158149719, 0.05951875448226929, -0.38310348987579346, -0.50124591588974, 0.49974873661994934, 0.8825680017471313, 0.39823901653289795, 0.2934514880180359, -0.48032069206237793, -0.6930924654006958, -0.6957991123199463, -0.5657602548599243, -0.21539373695850372, 0.436352401971817, 0.20711994171142578, 0.6454370617866516, -0.08634055405855179, 0.4336790144443512, -0.321686714887619, -0.3570936918258667, -0.06936332583427429, -0.6957222819328308, -0.0939815416932106, 0.5750280022621155, 0.7742504477500916, -0.4285883903503418, -0.2102833092212677, -0.11162634938955307, -0.9099311232566833, 0.2560757100582123, -0.005746930837631226, 0.08163884282112122, 0.27068036794662476, 0.6994467973709106, -0.2843363881111145, 1.0402284860610962, 0.26350972056388855, -0.402460515499115, 0.6511169075965881, -0.18333442509174347, -0.05340886116027832, -0.5882164835929871, -0.5266926288604736, 0.07574419677257538, -0.03989328444004059, -0.4728272557258606, 0.1769041270017624, 0.4579615294933319, -0.0541653148829937, -0.6782822012901306, 0.37593626976013184, -0.5903348326683044, -0.2375897467136383, -0.29300233721733093, 0.2526484727859497, -0.034673530608415604, 0.20769226551055908, -0.0881984531879425, 0.8424856066703796, 0.7586284875869751, -0.3531756103038788, 0.2862536311149597, 0.110692098736763, -0.7179519534111023, 0.3199261724948883, -0.5034744143486023, -0.01752299629151821, -0.203576922416687, -0.5174668431282043, -0.5406273603439331, -0.18785829842090607, 0.14456668496131897, -0.1313801109790802, 0.4544324576854706, -0.4119483530521393, -0.359752357006073, -0.4519178867340088, -0.4481664299964905, -0.121169812977314, 0.538037121295929, -0.692742645740509, 0.16163702309131622, 0.2505002021789551, 0.1540183424949646, -0.7012181282043457, -0.6384224891662598, 0.32326674461364746, -0.534558117389679, -0.5365682244300842, -0.05169403925538063, 0.1726057529449463, -0.38547009229660034, -0.018621357157826424, -0.3745599091053009, 0.18494336307048798, 0.559550940990448, 0.58744215965271, 0.6746346354484558, -0.10866077244281769, -0.03824412077665329, -0.4221569299697876, -0.00794148538261652, 0.14378078281879425, -0.3037085235118866, 0.22209803760051727, -0.5402351021766663, -0.5830661654472351, -0.2229553461074829, 0.3010469079017639, 0.6479769349098206, -0.2565508186817169, 0.9542450308799744, 0.03539576008915901, -0.030355961993336678, -0.100084088742733, -0.4353002607822418, 0.04179903864860535, -0.5342010855674744, 0.48470717668533325, -0.11832749843597412, -0.9209054112434387, 0.2897762656211853, -0.004032802302390337, 0.14055579900741577, -0.14048175513744354, 0.4073649048805237, -0.6226012110710144, 0.9012967944145203, 1.1969839334487915, -0.18383798003196716, 0.9478954076766968, 0.1445344239473343, 0.21126270294189453, -0.8770256638526917, -0.3144906461238861, -0.11773000657558441, -0.16586774587631226, -0.6086501479148865, -0.1398647278547287, 0.3148311674594879, 0.2825464904308319, -0.22271177172660828, 0.4428670406341553, -0.17852777242660522, 0.7817758321762085, 0.4650079309940338, 0.134225532412529, 0.1556747406721115, 0.1506890207529068, -0.21226847171783447, -0.10765718668699265, -0.6834983825683594, -0.6542670130729675, 1.2086610794067383, 0.15997867286205292, 1.3159879446029663, 0.0027907993644475937, 0.8440618515014648, 0.05867764353752136, 0.1619766652584076, -0.6251381039619446, 0.517358660697937, -0.2834142744541168, -0.3558667302131653, -0.026627682149410248, -0.14353039860725403, -0.682255744934082, 0.3043316602706909, -0.07904006540775299, -1.1256680488586426, 0.02191285789012909, 0.5223113298416138, -0.37355589866638184, 0.4933778941631317, -0.9971413612365723, 0.9933934211730957, -0.7840648293495178, -0.5626564025878906, -0.09785182774066925, -0.7105613350868225, 0.6332823634147644, -0.1201772540807724, 0.2228194773197174, -0.12663261592388153, 0.16410452127456665, 0.4999162256717682, -0.46832504868507385, 1.0695395469665527, -0.16155460476875305, 0.18764929473400116, 0.190260648727417, -0.1797754168510437, 0.41992875933647156, -0.24542981386184692, 0.3749188184738159, -0.04116804152727127, -0.26263439655303955, -0.4663965404033661, -0.45190879702568054, 0.7686612606048584, -0.6435795426368713, -1.162522315979004, -0.2770737409591675, -0.36528974771499634, -0.17196300625801086, 0.13690298795700073, 0.2124229222536087, 0.15951596200466156, 0.06545689702033997, -0.13516108691692352, 1.112770438194275, -0.3712432086467743, 0.6177631616592407, 0.33403173089027405, -0.5098641514778137, -0.32259178161621094, 1.0054508447647095, 0.2478170543909073, 0.5336951613426208, -0.1750635802745819, -0.2641903758049011, 0.2947862148284912, -0.9285102486610413, -0.6883262991905212, 0.14912888407707214, -0.7747201919555664, -0.10685256123542786, -0.09788807481527328, -0.2689949870109558, -0.18438217043876648, -0.35862839221954346, -0.2796553373336792, -0.007812293246388435, -0.44204485416412354, -0.2804289758205414, 0.545464813709259, 0.6633156538009644, 0.21826578676700592, 0.4848393201828003, -0.7160273790359497, 0.28808921575546265, 0.3856251835823059, 0.6376137733459473, -0.024068864062428474, -0.4323982000350952, -0.48391398787498474, -0.49311205744743347, -0.3975517451763153, -0.8706244826316833, 0.16959913074970245, 0.029845401644706726, 0.6203454732894897, 0.5959861874580383, -0.29311537742614746, 1.0062978267669678, -0.8733857274055481, 0.3719542920589447, 0.36779487133026123, -0.6595402359962463, 0.8574656844139099, -0.013502610847353935, 0.1324400156736374, 0.5182870030403137, -0.142703115940094, -0.35826683044433594, -0.4030546247959137, -0.24226778745651245, -0.8402974605560303, 0.5527287721633911, -0.133103609085083, 0.1503240168094635, 0.0674394965171814, 0.2645851969718933, -0.10602026432752609, 0.08879439532756805, -0.8019039034843445, -0.22817054390907288, -0.3684258759021759, 0.1268019825220108, 0.0996500700712204, -0.28232675790786743, -0.05708915740251541, -0.161113902926445, 0.34120094776153564, 0.2320101410150528, -0.11634530127048492, -0.1261490285396576, -0.4521423876285553, -0.06000722199678421, 0.18975329399108887, 0.7333213686943054, 0.4773332178592682, -0.14622633159160614, 0.18128159642219543, 0.22169916331768036, -0.7239814400672913, 0.07100839167833328, -0.43300020694732666, -0.458448588848114, -0.30203285813331604, 0.528576672077179, 1.376074194908142, 0.2378418892621994, -0.9853554368019104, 0.539039671421051, 0.0689176693558693, -0.020374588668346405, -0.28409987688064575, 0.6155464053153992, 0.11795010417699814, 0.3060722351074219, -0.07559283822774887, 0.6738715171813965, -0.35996213555336, -0.6531559824943542, 0.11019957810640335, 0.4984453618526459, -0.7342268228530884, -0.0993691086769104, 0.8346595168113708, -0.12583132088184357, -0.45123225450515747, 0.5831899642944336, 0.33341509103775024, -0.5329053401947021, 0.7456182241439819, 0.46366530656814575, 0.822614848613739, -0.11947222799062729, -0.28015831112861633, -0.014275691471993923, 1.133022427558899, -0.1547672152519226, 0.19251500070095062, 0.1667957603931427, -0.5748938918113708, -0.23444636166095734, -0.5388307571411133, -0.17532148957252502, -0.09874008595943451, -0.7605952024459839, 0.29613855481147766, -0.8826809525489807, -0.17477943003177643, -0.3440350592136383, -0.6184189915657043, -0.5598485469818115, 0.08507870137691498, 0.4021516442298889, 0.9739528894424438, -0.8922886848449707, 0.8489546179771423, 0.5474587082862854, -0.16530758142471313, -0.7031592130661011, -0.0165927205234766, 0.36982783675193787, -1.0347791910171509, 0.5039783120155334, 0.4171377718448639, -0.3158029019832611, -0.21178896725177765, -0.6102539896965027, -0.7820578813552856, 0.9916589260101318, 0.3540825843811035, -0.9491729140281677, 0.020926309749484062, -0.17240601778030396, 0.34249913692474365, -0.15432775020599365, -0.40184715390205383, 0.8811846375465393, 0.2859039902687073, -0.14179278910160065, -0.7803014516830444, -0.22772285342216492, -0.05402098968625069, 0.14049795269966125, 0.4328959584236145, -0.7319789528846741, 0.5622673034667969, -1.02029287815094, -0.22869347035884857, 0.026280954480171204, 0.252631276845932, 0.5019265413284302, 0.36726728081703186, 0.1503371000289917, 0.8166583776473999, 0.3881743550300598, -0.06419187784194946, 1.0019129514694214, 0.13645268976688385, -0.07906071096658707, 1.2651770114898682, -0.1925164759159088, 0.7985079884529114, 0.8407943844795227, 0.025633573532104492, 0.15094560384750366, 0.43145161867141724, -0.42744114995002747, 0.8575507998466492, 0.23155726492404938, -0.0419158935546875, -0.20942668616771698, 0.4889370799064636, -0.16663773357868195, 0.3416152894496918, 0.5169551372528076, -0.5150662064552307, -0.15822352468967438, 0.39206260442733765, 0.15225645899772644, 0.08283758908510208, -0.7536287307739258, 0.8046298623085022, 0.3576970100402832, -0.38876059651374817, 0.6854172945022583, -0.18991459906101227, 0.39419105648994446, -0.2758995592594147, 0.11247232556343079, -0.2955194413661957, 0.12573257088661194, -0.14675645530223846, -0.7829540967941284, 0.22268329560756683, 0.5688570737838745, -0.17428910732269287, -0.16484704613685608, 0.6790387630462646, 0.09486708790063858, -0.5076244473457336, 0.5770946145057678, 0.4108768701553345, 0.10066686570644379, 0.24136684834957123, -0.45745745301246643, 0.33466145396232605, 0.09402703493833542, -0.24855363368988037, 0.7131829261779785, 0.06776556372642517, -0.42661041021347046, 1.0482393503189087, 0.254955917596817, 0.10652023553848267, 0.6731029152870178, 0.032554179430007935, 1.0475072860717773, -0.9989117383956909, -0.10591190308332443, -1.3253834247589111, 0.4898636043071747, -0.05611376464366913, -0.22368411719799042, 0.9113292098045349, 0.3506152629852295, 0.9199660420417786, -0.22846587002277374, 0.8336764574050903, 0.23565472662448883, -0.0020661167800426483, -0.8850801587104797, 0.9748891592025757, -0.46840476989746094, 0.7670897841453552, -0.39520183205604553, -0.5661917924880981, -0.32415342330932617, 0.4071888327598572, -0.47687098383903503, -0.2891045808792114, 0.5410646200180054, 0.7513523697853088, 0.1787908971309662, -0.37174102663993835, 0.6781723499298096, 0.2428262084722519, 0.05040967836976051, 0.7731925249099731, 1.101071834564209, -0.40589749813079834, 0.6484584212303162, -0.07567103952169418, -0.02978937327861786, -0.37224701046943665, -0.743537425994873, -1.0930439233779907, -0.13713955879211426, -0.19047963619232178, -0.08881703019142151, 0.38319656252861023, 0.20727261900901794, 0.49923601746559143, -0.6184218525886536, -0.14600786566734314, -0.1716180145740509, 0.5370335578918457, -0.1974114626646042, -0.07435744255781174, 0.24855376780033112, -0.2769556939601898, -0.2245136946439743, 0.5878143906593323, 0.8453564047813416, 0.35812908411026, -0.14422792196273804, 0.01100874412804842, 0.2887594699859619, -0.03524190932512283, 0.55059415102005, 0.34528788924217224, -1.0609933137893677, -0.4735625982284546, -0.09845586866140366, -0.14372116327285767, 0.2706567645072937, 0.5065575242042542, -0.9049556851387024, 0.6726809144020081, -0.06407491117715836, 0.3562973439693451, 0.40272074937820435, -0.15832126140594482, 0.3463294506072998, -0.41021326184272766, 0.1116490364074707, -0.14638212323188782, 0.6273224949836731, 0.2801935374736786, -0.08778475970029831, 0.20755057036876678, 0.25360384583473206, -0.35508352518081665, -0.8649756908416748, 0.596213698387146, -0.7491154074668884, -0.2658626437187195, 0.4974960386753082, -0.37190842628479004, -0.5440988540649414, -0.1364411562681198, -0.22973217070102692, -0.1390935331583023, 0.004470611922442913, 0.9801704287528992, 0.6840487122535706, 0.09077044576406479, -0.5667294263839722, -0.9948559403419495, 0.37862223386764526, 0.2632654905319214, -0.6324059963226318, 0.20077788829803467, 0.4512006938457489, 0.5633863210678101, -0.25449055433273315, 0.029313718900084496, -0.19742394983768463, 0.6120949983596802, 0.07500500231981277, -0.10597141832113266, -0.3042461574077606, -0.5178689360618591, -0.39615970849990845, 0.1865091174840927, 0.3470635414123535, -0.1828938126564026 ]
http://arxiv.org/abs/2405.04346v1
http://arxiv.org/pdf/2405.04346v1
Revisiting character-level adversarial attacks
2024-05-07T14:23:22
2024-05-07T14:23:22
Elias Abad Rocamora, Yongtao Wu, Fanghui Liu, Grigorios G. Chrysos, Volkan Cevher
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
Adversarial attacks in Natural Language Processing apply perturbations in the character or token levels. Token-level attacks, gaining prominence for their use of gradient-based methods, are susceptible to altering sentence semantics, leading to invalid adversarial examples. While character-level attacks easily maintain semantics, they have received less attention as they cannot easily adopt popular gradient-based methods, and are thought to be easy to defend. Challenging these beliefs, we introduce Charmer, an efficient query-based adversarial attack capable of achieving high attack success rate (ASR) while generating highly similar adversarial examples. Our method successfully targets both small (BERT) and large (Llama 2) models. Specifically, on BERT with SST-2, Charmer improves the ASR in 4.84% points and the USE similarity in 8% points with respect to the previous art. Our implementation is available in https://github.com/LIONS-EPFL/Charmer.
[ -0.2339506596326828, -1.0536404848098755, 0.09459095448255539, 0.06461028754711151, 0.01473673153668642, 0.27169033885002136, -0.09529221057891846, -0.27144789695739746, 0.3375910520553589, 0.5825464725494385, -0.42582860589027405, -0.154796302318573, -0.730390727519989, 0.13602140545845032, -0.700268566608429, 1.1374152898788452, 0.20850811898708344, 0.2083791047334671, 0.4110254645347595, 0.12416654080152512, -0.24859733879566193, -0.911867618560791, -1.3206448554992676, -0.09724719077348709, 0.8053498864173889, -0.05773623660206795, 0.936687707901001, 0.3359428346157074, 0.7698309421539307, 0.25015735626220703, -0.39342162013053894, 0.0867486223578453, -0.988226056098938, 0.5111162662506104, -0.13987299799919128, -0.827077329158783, -0.1769067794084549, -0.20420299470424652, 0.4248271882534027, 0.28302544355392456, 0.17301107943058014, -0.583893895149231, -0.11621548235416412, 0.788407027721405, -0.5314740538597107, -0.14592227339744568, -1.1962192058563232, 0.06350301206111908, -0.4081600606441498, -0.22051918506622314, -0.43616023659706116, -0.24175138771533966, -0.13405568897724152, -0.48886623978614807, 0.533566951751709, 0.16287864744663239, 0.9688795208930969, 0.25593361258506775, -0.3627724349498749, -0.5632222294807434, -0.2835140526294708, 0.5903877019882202, -0.5873845815658569, -0.048133764415979385, 0.34240034222602844, 0.3690797984600067, -0.8847231268882751, -0.6591354012489319, -0.6776103973388672, -0.357149213552475, -0.06978268921375275, -0.006348185241222382, -0.6028681397438049, 0.14392074942588806, 0.32570600509643555, 0.4666249454021454, -0.43860360980033875, -0.0113111836835742, -0.04586642235517502, -0.26543760299682617, 0.617750346660614, 0.145065039396286, 0.6014035940170288, -0.2903928756713867, -0.31919944286346436, -0.4171573519706726, -0.6122274398803711, 0.12717297673225403, 0.6509270668029785, 0.5703774094581604, 0.48073458671569824, 0.6392971873283386, 0.08709350228309631, 0.3297986686229706, 0.44514086842536926, 0.3609429597854614, -0.238114133477211, -0.19799168407917023, -0.008992308750748634, 0.10138429701328278, 0.8598459959030151, 0.20607666671276093, 0.2341214418411255, -0.215934157371521, -0.33568865060806274, 0.12468059360980988, 0.5640127062797546, -0.9300549030303955, -0.5664023756980896, 0.004248820710927248, -0.18460403382778168, -0.5347996950149536, 0.05797131359577179, -0.8588680624961853, -1.0067745447158813, 0.29941675066947937, 0.3072327971458435, -0.7318392992019653, 0.1809367537498474, -0.1486385464668274, -0.25034409761428833, 0.45800673961639404, 0.31717297434806824, -0.8740825653076172, 0.34485289454460144, 0.9365719556808472, 0.6661462187767029, 0.16857460141181946, -0.10565990209579468, -0.9990671873092651, -0.21610942482948303, -0.525924026966095, 0.5228554606437683, -0.6185834407806396, -0.6249024271965027, -0.027882708236575127, -0.08282940089702606, -0.2837962210178375, -0.3518814444541931, 0.7467882037162781, -0.915386974811554, 0.12956222891807556, -0.4480862319469452, -0.4517156779766083, 0.097373828291893, 0.4901845157146454, -0.8538377285003662, 0.8556220531463623, -0.15423928201198578, -1.0434843301773071, 0.15703532099723816, -0.5986078977584839, -0.8153598308563232, -0.37405312061309814, 0.04945974797010422, -0.42131859064102173, 0.3821415901184082, 0.5555263161659241, 0.16853174567222595, -0.08077868074178696, -0.3317301273345947, -0.17454500496387482, -0.5167459845542908, 0.4661334455013275, -0.5962977409362793, 0.6569791436195374, 0.26600196957588196, -0.16652482748031616, 0.17140479385852814, -0.7392594218254089, -0.24601112306118011, 0.47045502066612244, -0.20662344992160797, -0.4374653697013855, 0.15819847583770752, -0.053028278052806854, 0.043855927884578705, 0.3362630605697632, -0.6131137013435364, 0.4603104889392853, -0.6887999176979065, 0.3973899483680725, 0.5749872922897339, 0.16409911215305328, 0.29460087418556213, -0.16637031733989716, 0.471151202917099, -0.23218515515327454, 0.02344691753387451, -0.15759174525737762, -0.31396111845970154, -1.0533759593963623, -0.5100370645523071, 0.3027341067790985, 0.5000377893447876, -1.1563150882720947, 0.23653943836688995, -0.06382063776254654, -0.4241046607494354, -0.7173119783401489, -0.12840840220451355, 0.5516467690467834, 0.14108289778232574, 0.5054476261138916, -0.1375935822725296, -0.4605008363723755, -0.6865313053131104, -0.9593950510025024, -0.3183358609676361, -0.13042524456977844, 0.10755165666341782, 0.4298417270183563, -0.21127235889434814, 0.7421796917915344, -0.5632231831550598, -0.28241023421287537, -0.2370237559080124, 0.23398122191429138, 0.13613176345825195, 0.31411826610565186, 0.5995325446128845, -0.6869121789932251, -0.6157137155532837, -0.04836408793926239, -0.5348055958747864, 0.2595670223236084, -0.2246355414390564, -0.23186244070529938, 0.1191219836473465, 0.3832080662250519, -0.5485573410987854, 0.5517393946647644, 0.05295412987470627, -0.44657137989997864, 0.2892589569091797, -0.10850576311349869, 0.5189118981361389, -1.0464808940887451, -0.17751243710517883, 0.0752369835972786, -0.24608087539672852, -1.1887632608413696, 0.5601568222045898, -0.02021629735827446, -0.16398930549621582, -0.24126847088336945, 0.4654410481452942, -0.035419803112745285, 0.22858291864395142, -0.41481903195381165, -0.1763373464345932, 0.06292776018381119, 0.31035736203193665, -0.4288973808288574, 0.8856512904167175, 0.4681911766529083, -0.10326547175645828, 0.331202894449234, 0.2044389247894287, 0.08116282522678375, 0.8485652208328247, -0.8025610446929932, 0.4110029339790344, -0.13248831033706665, 0.375237375497818, -0.9756421446800232, -0.23450225591659546, 0.35286056995391846, -0.8076756000518799, 0.6520056128501892, -0.2292180359363556, -0.6512846350669861, -0.38660943508148193, -0.8463104367256165, -0.09918589890003204, 0.22119273245334625, -0.8481398224830627, 0.4574300944805145, -0.05624787136912346, -0.02504095248878002, -0.7591808438301086, -0.8198214173316956, 0.5739901661872864, -0.19501368701457977, -0.6637420654296875, 0.1789603978395462, 0.13077935576438904, -0.21178436279296875, -0.2607864439487457, -0.09583822637796402, -0.04247131571173668, 0.2613601088523865, -0.0676410123705864, -0.005315027199685574, -0.05425266921520233, -0.3732846975326538, -0.30969610810279846, 0.1811472773551941, 0.10485439002513885, 0.01107592973858118, 0.6442723274230957, -0.08554256707429886, -0.5200740098953247, -0.6170154809951782, 0.3158992528915405, 0.7210243940353394, -0.13530369102954865, 0.9586564302444458, 0.6518682241439819, -0.45324864983558655, -0.015228395350277424, -0.3612646162509918, -0.3096449375152588, -0.4626392424106598, 0.6670466661453247, -0.7476415634155273, -0.8513473868370056, 0.6039456129074097, 0.5923058986663818, 0.019065987318754196, 0.49021482467651367, 0.1162891685962677, -0.030122671276330948, 1.2733808755874634, 0.08286414295434952, -0.4650321304798126, 0.6015728116035461, -0.029807202517986298, 0.40438807010650635, -0.830430805683136, -0.1031559631228447, -0.6317287683486938, -0.17677626013755798, -0.7161359190940857, -0.3820248544216156, 0.056716188788414, 0.3777035176753998, -0.33829712867736816, 0.5681145191192627, -0.2068602740764618, 0.217557892203331, 0.5694661140441895, 0.17304691672325134, 0.05534810200333595, 0.17533211410045624, 0.1322660595178604, -0.11105630546808243, -0.4524463713169098, -0.23174460232257843, 1.0876271724700928, 0.369393914937973, 1.0358877182006836, 0.31382086873054504, 0.6788415312767029, 0.5811759829521179, 0.048309843987226486, -0.6677823662757874, 0.5216291546821594, -0.5148104429244995, -0.5131279826164246, -0.2515083849430084, -0.5132022500038147, -0.9790187478065491, 0.4515591263771057, -0.08965836465358734, -0.828434407711029, 0.006629195995628834, 0.07610423862934113, -0.05002158507704735, 0.6176202297210693, -0.49974074959754944, 0.5262903571128845, -0.17138515412807465, -0.25153204798698425, -0.12917737662792206, -0.5437812209129333, 0.24497149884700775, -0.1965133398771286, -0.09973522275686264, 0.288718581199646, 0.36107948422431946, 0.6025901436805725, -0.8032426238059998, 0.6231399774551392, -0.20943903923034668, -0.18399757146835327, 0.13838331401348114, 0.22198736667633057, 1.1534956693649292, -0.025262175127863884, -0.36670342087745667, -0.15914347767829895, -0.18126313388347626, -0.6108782291412354, -0.9838120341300964, 0.8011702299118042, -0.6838445663452148, -0.7708753347396851, -0.6767077445983887, -0.47348400950431824, -0.11017841100692749, -0.04683190584182739, 0.09481162577867508, 0.4215817451477051, -0.35252174735069275, 0.14058566093444824, 0.6525881290435791, -0.29634860157966614, 0.19141921401023865, 0.37256762385368347, 0.04218137264251709, -0.5027794241905212, 1.2915574312210083, -0.24056294560432434, 0.3170627951622009, 0.6242684125900269, -0.10086163133382797, -0.23556624352931976, -0.49627164006233215, -0.25273942947387695, -0.0007000530022196472, -0.648888111114502, -0.16462448239326477, -0.634623646736145, -0.3822127878665924, -0.34392914175987244, -0.3123885691165924, -0.3771688938140869, -0.3592456877231598, -0.373129278421402, 0.25209692120552063, 0.41963455080986023, 0.7961177825927734, 0.24794569611549377, 0.4740886688232422, -0.24260658025741577, 0.26888373494148254, 0.43624040484428406, -0.08087223023176193, 0.05701828747987747, -0.573567807674408, 0.04288201034069061, 0.11995436251163483, -0.2606445848941803, -0.8275262117385864, 0.39553385972976685, 0.1303185522556305, 0.34910252690315247, 0.4186297655105591, 0.22885335981845856, 0.5565127730369568, -0.5542333126068115, 0.8989533185958862, 0.38030093908309937, -0.8141895532608032, 0.5791870951652527, -0.27075648307800293, 0.13932298123836517, 0.643112063407898, 0.06880632787942886, -0.5098209381103516, -0.5474726557731628, -0.5017063021659851, -0.8208845257759094, 0.6885943412780762, 0.589950442314148, 0.17475682497024536, -0.2282230257987976, 0.28551363945007324, -0.3084365427494049, 0.08223041892051697, -0.371418297290802, -0.46311622858047485, -0.4481606185436249, -0.17561432719230652, 0.08731987327337265, -0.31478965282440186, -0.0365164652466774, 0.16605563461780548, 0.6866289973258972, -0.06983885169029236, 0.25023338198661804, 0.13543064892292023, -0.2606153190135956, 0.17185534536838531, 0.504592776298523, 0.2604843080043793, -0.024841105565428734, -0.1920042484998703, 0.2164616733789444, 0.19432909786701202, -0.5420385003089905, -0.018377352505922318, 0.49911409616470337, -0.19204159080982208, -0.4272644817829132, 0.4532317817211151, 0.7011842131614685, 0.1810581386089325, -0.3653036653995514, 0.5772101283073425, -0.5704008340835571, 0.04048437625169754, 0.10235685110092163, 0.13715733587741852, -0.3261234760284424, 0.3506324589252472, 0.4598589539527893, 0.1625596433877945, 0.1852511614561081, -0.5927004814147949, 0.23677700757980347, 0.7076465487480164, -0.8532394170761108, -0.22231024503707886, 0.8064863681793213, 0.033100832253694534, -0.37511518597602844, 0.4837217926979065, -0.3583158850669861, -1.0306758880615234, 0.608611524105072, 0.7486178874969482, 0.6697889566421509, -0.0994059219956398, 0.008504625409841537, 0.02790648676455021, 0.44897961616516113, 0.09402815252542496, 0.261119544506073, 0.2971716821193695, -0.4624328315258026, 0.020594896748661995, -0.5265495181083679, -0.3375008702278137, 0.051748014986515045, -0.7219510674476624, -0.010167823173105717, -0.5997439026832581, -0.05629373714327812, 0.03883091360330582, 0.33081361651420593, -0.4668913781642914, 0.1796807050704956, 0.0878630131483078, 0.7474991679191589, -0.357618510723114, 0.6327177882194519, 0.6878028512001038, -0.568111002445221, -0.3671437203884125, 0.4211520850658417, 0.18384034931659698, -0.807542085647583, 0.6637537479400635, 0.025492040440440178, -0.13428685069084167, -0.13648231327533722, -0.36645206809043884, -0.7122890949249268, 0.743191123008728, 0.20369699597358704, -0.4396430552005768, -0.027348723262548447, 0.060192205011844635, 0.6822026371955872, -0.020496241748332977, 0.416922926902771, 0.6719632744789124, 0.23882439732551575, 0.23800194263458252, -0.580877423286438, 0.2052597850561142, -0.3214341700077057, 0.21602566540241241, 0.13230958580970764, -0.7827314734458923, 0.8328766226768494, -0.012567687779664993, -0.11906390637159348, 0.3691406548023224, 1.0020962953567505, 0.23693345487117767, -0.03298520669341087, 0.44553589820861816, 0.5656914114952087, 0.9320160746574402, -0.16033898293972015, 1.272861123085022, -0.3068249821662903, 0.2037210613489151, 0.8532394170761108, -0.33616313338279724, 0.7673445343971252, 0.2689706087112427, -0.31367385387420654, 0.3724342882633209, 0.4351547658443451, -0.05995277687907219, 0.5787431597709656, 0.6254023313522339, -0.31123265624046326, 0.15293356776237488, -0.08327443897724152, -0.3839055299758911, 0.26564934849739075, 0.41430336236953735, -0.12119173258543015, -0.045939698815345764, 0.014646624214947224, 0.6096540689468384, 0.19384756684303284, -0.4752969741821289, 0.5415408611297607, -0.0857921838760376, -0.4200218617916107, 0.5343407392501831, 0.11115681380033493, 0.8572905659675598, -0.739071786403656, 0.11329425871372223, -0.4016469419002533, 0.31793898344039917, 0.005614507012069225, -0.5167454481124878, -0.008127161301672459, 0.3162684738636017, -0.2907991409301758, 0.275579571723938, 0.9026943445205688, -0.22326599061489105, -0.4905667304992676, 0.22015099227428436, -0.04593799635767937, 0.044485874474048615, -0.17547564208507538, -0.6729378700256348, 0.059949249029159546, 0.09734246134757996, -0.3095977008342743, 0.5003150105476379, 0.2867782413959503, 0.16740059852600098, 0.6242120265960693, 0.6595503091812134, 0.16546133160591125, 0.06833011656999588, 0.3821425139904022, 1.1108143329620361, -0.6253232955932617, -0.4211975038051605, -0.8321988582611084, 0.08009615540504456, -0.49784186482429504, -0.061697911471128464, 1.0499863624572754, 0.5102834105491638, 0.5437048077583313, 0.291401207447052, 0.932901918888092, -0.011635939590632915, 0.37341105937957764, -0.47117581963539124, 0.8768049478530884, -0.47965389490127563, 0.4676320254802704, -0.4123513102531433, -0.5888572931289673, -0.43411785364151, 0.4550780653953552, -0.46934908628463745, -0.12198781967163086, 0.6561102271080017, 0.9350228309631348, 0.24863167107105255, 0.20914609730243683, 0.2601431608200073, 0.32253122329711914, 0.8188105225563049, 0.5539155006408691, 1.083807110786438, -0.6957582831382751, 0.6218484044075012, 0.16052348911762238, -0.10194437950849533, -0.3620029389858246, -0.5449866652488708, -1.4191479682922363, -0.00874208565801382, -0.0991939827799797, -0.6595165133476257, 0.7818865776062012, 0.8461312651634216, 0.3926491141319275, -1.036789894104004, 0.2910386323928833, -0.10095735639333725, 0.09088174998760223, 0.018984152004122734, -0.25710952281951904, 0.560551106929779, -0.6184625029563904, -0.7054632306098938, 0.7477275729179382, -0.019378839060664177, -0.1790759265422821, -0.25391146540641785, 0.03620504215359688, -0.1828508824110031, 0.5197707414627075, 0.3249764144420624, 0.4106433391571045, -0.8086261749267578, -0.33638468384742737, -0.10313725471496582, -0.38044410943984985, -0.10713770985603333, 0.8147067427635193, -0.5229414701461792, 0.5773648619651794, 0.36105820536613464, 1.0003578662872314, 0.23705077171325684, 0.17322519421577454, 0.5941493511199951, -0.7550737857818604, -0.1922675222158432, 0.0643342137336731, 0.41565680503845215, 0.5768710374832153, -0.5141836404800415, 0.28386417031288147, 0.18912440538406372, -0.4127964377403259, -0.7757735848426819, 0.28168871998786926, -0.6064220666885376, -0.32540926337242126, 1.1062602996826172, -0.2955058813095093, -0.22031860053539276, 0.10377846658229828, -0.37633758783340454, 0.18017904460430145, -0.6080165505409241, 0.6625989079475403, 0.5202755331993103, -0.017367204651236534, 0.28069183230400085, -0.2144310623407364, 0.6121509671211243, 0.3894903361797333, -0.6335419416427612, -0.011815907433629036, 0.1443156898021698, 0.04289909079670906, -0.006871773395687342, 0.34022092819213867, -0.07080152630805969, -0.07244740426540375, 0.3052214980125427, -0.26930034160614014, 0.08997621387243271, -0.22935084998607635, -0.3758517801761627, 0.3771447539329529, 0.10205205529928207, -0.19184234738349915 ]
http://arxiv.org/abs/2405.04325v1
http://arxiv.org/pdf/2405.04325v1
Deception in Reinforced Autonomous Agents: The Unconventional Rabbit Hat Trick in Legislation
2024-05-07T13:55:11
2024-05-07T13:55:11
Atharvan Dogra, Ameet Deshpande, John Nay, Tanmay Rajpurohit, Ashwin Kalyan, Balaraman Ravindran
cs.CL
cs.CL
Recent developments in large language models (LLMs), while offering a powerful foundation for developing natural language agents, raise safety concerns about them and the autonomous agents built upon them. Deception is one potential capability of AI agents of particular concern, which we refer to as an act or statement that misleads, hides the truth, or promotes a belief that is not true in its entirety or in part. We move away from the conventional understanding of deception through straight-out lying, making objective selfish decisions, or giving false information, as seen in previous AI safety research. We target a specific category of deception achieved through obfuscation and equivocation. We broadly explain the two types of deception by analogizing them with the rabbit-out-of-hat magic trick, where (i) the rabbit either comes out of a hidden trap door or (ii) (our focus) the audience is completely distracted to see the magician bring out the rabbit right in front of them using sleight of hand or misdirection. Our novel testbed framework displays intrinsic deception capabilities of LLM agents in a goal-driven environment when directed to be deceptive in their natural language generations in a two-agent adversarial dialogue system built upon the legislative task of "lobbying" for a bill. Along the lines of a goal-driven environment, we show developing deceptive capacity through a reinforcement learning setup, building it around the theories of language philosophy and cognitive psychology. We find that the lobbyist agent increases its deceptive capabilities by ~ 40% (relative) through subsequent reinforcement trials of adversarial interactions, and our deception detection mechanism shows a detection capability of up to 92%. Our results highlight potential issues in agent-human interaction, with agents potentially manipulating humans towards its programmed end-goal.
[ -0.37138494849205017, -1.1598950624465942, 0.4364955723285675, 0.056750308722257614, 0.08359623700380325, 0.41269317269325256, -0.13415853679180145, -0.49112701416015625, 0.2965833842754364, 0.948559045791626, -0.6781073808670044, -0.18957816064357758, -0.5619581937789917, 0.04163571074604988, -0.23201677203178406, 0.7724112272262573, 0.24240289628505707, -0.16001823544502258, -0.3195341229438782, 0.1264028400182724, -0.35716259479522705, -0.4864727258682251, -0.4682978093624115, -0.8299931287765503, 0.20449887216091156, 0.218806654214859, 0.8000330328941345, 0.7148061394691467, 0.2650444507598877, 0.4023253321647644, 0.36525750160217285, 0.17982949316501617, -0.43791213631629944, 0.12511956691741943, -0.22495850920677185, -0.7928277850151062, -0.04196060448884964, 0.47095978260040283, 0.19019152224063873, 0.4084808826446533, -0.36833110451698303, -0.3320213854312897, -0.010359427891671658, 0.41441580653190613, -0.5765426158905029, 0.6408359408378601, -0.757610559463501, -0.31835535168647766, -0.04681951180100441, -0.17780205607414246, -0.5760024785995483, -0.12311941385269165, 0.01917550340294838, -0.7780296802520752, 0.002704580081626773, 0.25716084241867065, 0.8890717625617981, 0.6304957866668701, -0.583533525466919, -0.6957080960273743, -0.7594929337501526, 0.765998125076294, -0.31145334243774414, 0.001282061217352748, 0.6172704696655273, 0.35366836190223694, -0.15302403271198273, -0.4691462814807892, -0.7008011341094971, -0.8193188309669495, -0.23008200526237488, 0.14304524660110474, -0.44716131687164307, 0.1821901649236679, 0.20436523854732513, 0.1741664558649063, -0.4501323401927948, 0.0016866581281647086, -0.03757696971297264, -0.46862006187438965, 0.6737202405929565, 0.17696751654148102, 0.14902913570404053, 0.21955642104148865, -0.4397951662540436, -0.6328138709068298, -0.48422935605049133, 0.20290011167526245, 0.8433095216751099, 0.2568453550338745, 0.02259601093828678, 0.4934118390083313, -0.2612030506134033, 0.48586511611938477, 0.2667066156864166, 0.015743469819426537, 0.034205589443445206, -0.26002633571624756, -0.18519265949726105, 0.1704038381576538, 0.6061655879020691, 0.11456173658370972, 0.2996624708175659, -0.0631064623594284, -0.4510670006275177, 0.635698676109314, 0.3559444844722748, -0.35081905126571655, -0.2105289101600647, 0.10370682179927826, -0.1399253010749817, -0.5608126521110535, 0.27184826135635376, -0.4635442793369293, -0.5608919262886047, -0.23559416830539703, 0.44280481338500977, -0.4929368793964386, -0.18336807191371918, 0.44214972853660583, -0.12886148691177368, 0.5436478853225708, 0.16302943229675293, -0.7245557904243469, 0.6040252447128296, 0.8543659448623657, 0.07210741937160492, 0.1034495010972023, -0.24176982045173645, -0.7264179587364197, 0.12059532850980759, -0.5164395570755005, 0.6002559065818787, -0.5640113353729248, -0.21564573049545288, 0.23686924576759338, 0.11384114623069763, 0.10646121948957443, -0.5420099496841431, 0.37116700410842896, -0.4811963140964508, 0.09189546853303909, -0.019018277525901794, -0.207469642162323, -0.40008649230003357, 0.4353068470954895, -0.6122741103172302, 0.49564164876937866, 0.14536064863204956, -0.14499928057193756, 0.29576075077056885, -0.6552292704582214, -0.5109598636627197, -0.011540662497282028, -0.3460873067378998, -0.45404312014579773, -0.19035059213638306, 0.11295599490404129, 0.04517939314246178, -0.10865843296051025, -0.051136843860149384, -0.1339063197374344, -0.29605942964553833, 0.7144612073898315, -0.7146353125572205, 1.1305723190307617, -0.052480366080999374, -0.4849177896976471, -0.10357902199029922, -0.39888179302215576, -0.09814710170030594, 0.25859373807907104, -0.20899108052253723, -0.39733782410621643, -0.2298329472541809, -0.45089924335479736, -0.01680080220103264, 0.3230893313884735, -0.5784021019935608, 0.14110367000102997, -0.7885251045227051, 0.29351046681404114, 0.7376528382301331, 0.1713850051164627, 0.7358375191688538, -0.7602784633636475, 0.50532066822052, -0.006211708299815655, 0.3571702539920807, -0.11107216775417328, -0.5616862177848816, -0.685164749622345, -0.14067767560482025, -0.0034512225538492203, 0.5292237401008606, -1.092472791671753, 0.4150007963180542, -0.08308620750904083, -0.3445604145526886, -0.7476730942726135, -0.02827158011496067, 0.5878949165344238, 0.28370603919029236, 0.0830383449792862, -0.10238675028085709, -0.03781892731785774, -0.9696197509765625, -0.4067433178424835, -0.6043466329574585, 0.12008080631494522, -0.03995683044195175, 0.6388342976570129, -0.20341160893440247, 0.930523157119751, -0.22981762886047363, -0.638403594493866, -0.07055959850549698, 0.3341696262359619, -0.11159598082304001, 0.5105693936347961, 0.37796029448509216, -0.8679934144020081, -0.2658708691596985, -0.14237335324287415, -0.5040102601051331, 0.07728656381368637, -0.45984455943107605, 0.17998476326465607, 0.3540596067905426, 0.20809908211231232, -0.8328513503074646, 0.6201187372207642, 0.16496925055980682, -0.4591521918773651, 0.5604373812675476, -0.2434723824262619, 0.09049461036920547, -0.2643197774887085, -0.44869986176490784, -0.32077357172966003, -0.2133285254240036, -0.7177179455757141, 0.17170913517475128, -0.13125641644001007, 0.3863912522792816, -0.5760108232498169, 0.34368300437927246, -0.5584598779678345, 0.2942398488521576, -0.46661853790283203, 0.19543041288852692, 0.12340936064720154, 0.4944673478603363, -0.10623907297849655, 0.5557072758674622, 0.6748315095901489, -0.6278858780860901, 0.6837716102600098, 0.40493321418762207, -0.053765371441841125, 0.6551498174667358, -0.28513389825820923, 0.13018493354320526, -0.13786755502223969, 0.31154298782348633, -0.7355271577835083, -0.35836631059646606, 0.7918516993522644, -0.7483930587768555, 0.43871089816093445, 0.33633339405059814, -0.5069283843040466, -0.16128157079219818, -0.41176891326904297, 0.06387103348970413, 0.6456149220466614, -0.3516828715801239, 0.6999768614768982, 0.20705805718898773, 0.5184468626976013, -0.7648399472236633, -1.1153817176818848, 0.13030998408794403, -0.19598330557346344, -0.47605589032173157, 0.26609373092651367, -0.11112307012081146, -0.7121149897575378, 0.1343122273683548, 0.06446202099323273, 0.1342656910419464, 0.14139074087142944, 0.31151747703552246, -0.0183691568672657, -0.07614699006080627, 0.0703190341591835, -0.2249554693698883, -0.19762904942035675, 0.39397066831588745, -0.092719167470932, 0.33146339654922485, -0.5044350028038025, -0.7612156271934509, -0.5186027884483337, 0.32265782356262207, 0.39154648780822754, -0.10881799459457397, 0.7012677788734436, 0.4006003737449646, -0.27339968085289, -0.3233625292778015, -0.6156050562858582, -0.5775962471961975, -0.5154474377632141, 0.27696385979652405, -0.2935138940811157, -0.5603099465370178, 0.3023802638053894, 0.038769789040088654, 0.1579919308423996, 0.14811742305755615, 0.46471357345581055, 0.0346626415848732, 0.9547683596611023, 0.7121706604957581, 0.08578509092330933, 0.32045072317123413, -0.23913851380348206, 0.1290467083454132, -0.3395608067512512, -0.38776400685310364, -0.43327459692955017, -0.00724601186811924, -0.675514817237854, -0.336463987827301, 0.1336142122745514, -0.12499209493398666, -0.35278868675231934, 0.34114930033683777, -0.7591787576675415, 0.5897974967956543, 0.8042274117469788, 0.063740573823452, 0.3630697727203369, -0.11825148016214371, 0.3557049334049225, 0.17471803724765778, -0.4958775043487549, -0.6745855808258057, 1.0689243078231812, 0.36702078580856323, 0.844200849533081, 0.23131254315376282, 0.6756576299667358, 0.42334744334220886, 0.4012507200241089, -0.8490105867385864, 0.7841758728027344, 0.5300096273422241, -0.598764955997467, -0.5947937369346619, -0.07449650764465332, -1.117175579071045, 0.1416422724723816, -0.25871485471725464, -0.5172107219696045, 0.047542501240968704, -0.057813696563243866, -0.1966601312160492, 0.17727842926979065, -0.4125325083732605, 0.47453993558883667, -0.3969962000846863, -0.2650394141674042, -0.3651996850967407, -0.7386358380317688, 0.5799793004989624, -0.0333772748708725, 0.06012597680091858, -0.05510236322879791, -0.42866000533103943, 0.5495482683181763, -0.2577012777328491, 1.082563877105713, -0.052059371024370193, -0.09017053246498108, 0.38095489144325256, 0.28754985332489014, 0.8245616555213928, -0.007492063567042351, 0.05234244838356972, 0.03826002776622772, -0.05538215860724449, -0.44500842690467834, -0.7692146301269531, 0.38773810863494873, -0.707336962223053, -1.1030347347259521, -0.6691124439239502, -0.5469645857810974, -0.24416981637477875, 0.06081478297710419, 0.05864467844367027, 0.24074509739875793, -0.3050965368747711, 0.22761039435863495, 0.7960740923881531, -0.1920604258775711, 0.3413197696208954, 0.8421687483787537, -0.02763385698199272, -0.25489503145217896, 0.9680831432342529, -0.20698842406272888, 0.501672625541687, 0.3641229569911957, 0.22166204452514648, -0.5098852515220642, -0.2813619077205658, 0.005869767162948847, 0.45128604769706726, -0.8343815803527832, -0.09936141967773438, -0.13214246928691864, -0.12446458637714386, -0.46154171228408813, -0.2417864054441452, -0.25866463780403137, -0.15695929527282715, -0.31470030546188354, 0.01438040193170309, 0.10632474720478058, 0.9031558632850647, -0.15375274419784546, 0.465816855430603, -0.2834198772907257, 0.14423663914203644, 0.44393908977508545, -0.06404699385166168, -0.36738038063049316, -0.22264845669269562, 0.014169713482260704, 0.3217449188232422, -0.6085832118988037, -0.8520500659942627, 0.2537817060947418, -0.16220207512378693, 0.8766953349113464, 0.7351844310760498, 0.6448100209236145, 0.19163842499256134, -0.0677022933959961, 0.8817464709281921, 0.3067101240158081, -0.6457650065422058, 0.23581744730472565, -0.20090819895267487, -0.09449081122875214, 0.29342716932296753, -0.014754264615476131, -0.15864023566246033, -0.8789523243904114, -0.9438257217407227, -0.386825829744339, 0.7072077989578247, 0.39559710025787354, 0.26587849855422974, -0.05630085617303848, -0.06104486435651779, 0.23592741787433624, 0.4126589596271515, -0.854910135269165, -0.4139760732650757, -0.10206563770771027, -0.007795384153723717, -0.14191298186779022, 0.07286830991506577, -0.6447205543518066, 0.25044092535972595, 0.7109793424606323, -0.2788272798061371, 0.3750734329223633, 0.21790263056755066, -0.13723133504390717, -0.23101988434791565, 0.22248445451259613, 0.7428860664367676, 0.509684681892395, 0.17351621389389038, 0.26309657096862793, -0.139845609664917, -0.22036652266979218, 0.23250973224639893, -0.058716218918561935, -0.06759580969810486, -0.15983819961547852, 0.5578877329826355, 0.5971826910972595, -0.05250304192304611, -0.7743193507194519, 0.8290721774101257, 0.19418682157993317, -0.4367705285549164, -0.5336984992027283, 0.13512921333312988, -0.20109792053699493, 0.507929801940918, 0.39969468116760254, 0.27083131670951843, 0.011327811516821384, -0.8534568548202515, 0.3063574433326721, 0.9139714241027832, -0.40073904395103455, -0.21748055517673492, 0.6775827407836914, 0.08414458483457565, -0.7932192087173462, 0.3938014805316925, -0.388003408908844, -0.6092427372932434, 0.7174251675605774, 0.30910006165504456, 0.8649852275848389, -0.22024387121200562, 0.5248846411705017, -0.23598328232765198, 0.8726868629455566, 0.06987756490707397, -0.12775857746601105, -0.2774773836135864, -0.7916673421859741, -0.11190099269151688, -0.12431719154119492, -0.4924229681491852, 0.1624757945537567, -0.5719123482704163, -0.026866870000958443, -0.17937354743480682, -0.11160802841186523, -0.37166208028793335, 0.29613083600997925, -0.48954612016677856, -0.15363521873950958, 0.1670573651790619, 0.8025168776512146, -0.6296426057815552, 0.6080669164657593, 0.4154285788536072, -0.4854106605052948, -0.5358720421791077, 0.3323972821235657, 0.04513125494122505, -0.992219865322113, 0.541007936000824, 0.1041988730430603, -0.3983030915260315, -0.11967246234416962, -0.868798553943634, -0.4281778633594513, 0.923288106918335, 0.39895808696746826, -0.09985306113958359, -0.20025061070919037, 0.6143672466278076, 0.45583316683769226, -0.46604782342910767, 0.2247942090034485, 0.6629972457885742, 0.7985305190086365, -0.03284279629588127, -0.800143301486969, 0.2723236382007599, 0.30013173818588257, -0.24001038074493408, -0.1206066906452179, -0.9182057976722717, 0.8266980051994324, -0.07168062776327133, -0.26528018712997437, 0.19453997910022736, 0.6447041630744934, 0.17122121155261993, 0.5080969333648682, 0.6340761184692383, 0.13278761506080627, 0.7130327820777893, -0.22084766626358032, 0.9823234677314758, -0.2219860702753067, 0.08649740368127823, 0.5845203399658203, -0.21516576409339905, 0.32513725757598877, 0.5090452432632446, 0.15585681796073914, 0.5131444334983826, 0.23519417643547058, 0.11121531575918198, 0.5979713797569275, 0.279553085565567, -0.12820443511009216, -0.54916912317276, -0.10921210050582886, 0.054490406066179276, 0.6090083718299866, 0.5793798565864563, -0.0016122242668643594, -0.17247551679611206, 0.34416207671165466, -0.1302456110715866, 0.446938157081604, -0.07106413692235947, 0.74446040391922, 0.11302167922258377, -0.8716769814491272, 0.5261438488960266, -0.1640525460243225, 0.4066073000431061, -0.624652087688446, -0.28271976113319397, 0.18938998878002167, 0.2562240660190582, 0.1612647920846939, -0.9114198088645935, 0.17888452112674713, -0.7046353220939636, 0.2575445771217346, -0.6806417107582092, 0.6097990870475769, -0.4533350169658661, 0.11587264388799667, 0.20273958146572113, 0.4124971926212311, 0.1682782918214798, -0.09366746991872787, -0.969903826713562, 0.03908968344330788, -0.10652174800634384, -0.43681806325912476, 0.22494742274284363, 0.3264594078063965, -0.07386001944541931, 1.0296332836151123, 0.5832340717315674, 0.08119194954633713, -0.13429544866085052, -0.35891076922416687, 0.8022306561470032, -0.3209077715873718, -0.7567878365516663, -0.623466432094574, 0.2668752372264862, -0.19095663726329803, 0.1155226081609726, 0.7509021162986755, 0.34866663813591003, 0.8306690454483032, -0.08582014590501785, 0.7120115756988525, 0.21726083755493164, 0.3895083963871002, -0.4745680093765259, 0.7005235552787781, -0.38374820351600647, 0.3825037181377411, 0.16106893122196198, -0.5511793494224548, 0.018295900896191597, 0.35587504506111145, -0.47340327501296997, 0.011763213202357292, 0.7048725485801697, 1.02483069896698, 0.26778271794319153, 0.019955607131123543, 0.7168010473251343, 0.3117929697036743, 0.3409544825553894, 0.6977695822715759, 1.2309088706970215, -0.328018456697464, 0.8946136832237244, -0.2759096920490265, -0.2487799972295761, -0.41404658555984497, -0.3219759166240692, -1.043129563331604, -0.6226959824562073, -0.5890077352523804, -0.508180558681488, 0.006727985572069883, 0.6007490158081055, 0.5899683833122253, -0.45463240146636963, -0.09815625101327896, -0.18234434723854065, 0.23027272522449493, -0.5028001070022583, -0.29167211055755615, -0.09050928056240082, -0.14918255805969238, -0.9123295545578003, 0.5337032079696655, 0.2595069408416748, 0.10611750930547714, -0.7572459578514099, -0.3797091543674469, 0.04648754000663757, 0.6417750716209412, 0.12386316061019897, 0.44285300374031067, -1.2320808172225952, -0.3803490996360779, -0.14382657408714294, -0.311071515083313, -0.05020301043987274, 0.6796980500221252, -1.018196702003479, 0.5112366676330566, 0.08058373630046844, 0.5451200604438782, 0.1352933794260025, 0.2675383687019348, 0.33400994539260864, -0.5204272866249084, 0.14577610790729523, 0.6581241488456726, -0.08021136373281479, 0.055413272231817245, -0.5799688696861267, 0.21069009602069855, 0.322628378868103, -0.45258069038391113, -0.9097875952720642, 0.5180344581604004, -0.8833158016204834, -0.3981114625930786, 1.0527547597885132, 0.11187687516212463, -0.4526352286338806, -0.465090274810791, -0.2504260241985321, 0.10785626620054245, -0.5139123797416687, 0.7360276579856873, 0.5868257284164429, -0.2474519908428192, 0.03451528027653694, -0.531688928604126, 0.7353991270065308, 0.25427234172821045, -0.553821325302124, 0.14306874573230743, 0.30722948908805847, 0.08430837839841843, 0.441660612821579, 0.5477946996688843, 0.2626897394657135, 0.3034510016441345, 0.41035890579223633, -0.16711799800395966, -0.46939465403556824, -0.24058452248573303, -0.40288418531417847, 0.16412249207496643, -0.13869953155517578, -0.4426712095737457 ]
http://arxiv.org/abs/2405.04324v1
http://arxiv.org/pdf/2405.04324v1
Granite Code Models: A Family of Open Foundation Models for Code Intelligence
2024-05-07T13:50:40
2024-05-07T13:50:40
Mayank Mishra, Matt Stallone, Gaoyuan Zhang, Yikang Shen, Aditya Prasad, Adriana Meza Soria, Michele Merler, Parameswaran Selvam, Saptha Surendran, Shivdeep Singh, Manish Sethi, Xuan-Hong Dang, Pengyuan Li, Kun-Lung Wu, Syed Zawad, Andrew Coleman, Matthew White, Mark Lewis, Raju Pavuluri, Yan Koyfman, Boris Lublinsky, Maximilien de Bayser, Ibrahim Abdelaziz, Kinjal Basu, Mayank Agarwal, Yi Zhou, Chris Johnson, Aanchal Goyal, Hima Patel, Yousaf Shah, Petros Zerfos, Heiko Ludwig, Asim Munawar, Maxwell Crouse, Pavan Kapanipathi, Shweta Salaria, Bob Calio, Sophia Wen, Seetharami Seelam, Brian Belgodere, Carlos Fonseca, Amith Singhee, Nirmit Desai, David D. Cox, Ruchir Puri, Rameswar Panda
cs.AI
cs.AI, cs.CL, cs.SE
Large Language Models (LLMs) trained on code are revolutionizing the software development process. Increasingly, code LLMs are being integrated into software development environments to improve the productivity of human programmers, and LLM-based agents are beginning to show promise for handling complex tasks autonomously. Realizing the full potential of code LLMs requires a wide range of capabilities, including code generation, fixing bugs, explaining and documenting code, maintaining repositories, and more. In this work, we introduce the Granite series of decoder-only code models for code generative tasks, trained with code written in 116 programming languages. The Granite Code models family consists of models ranging in size from 3 to 34 billion parameters, suitable for applications ranging from complex application modernization tasks to on-device memory-constrained use cases. Evaluation on a comprehensive set of tasks demonstrates that Granite Code models consistently reaches state-of-the-art performance among available open-source code LLMs. The Granite Code model family was optimized for enterprise software development workflows and performs well across a range of coding tasks (e.g. code generation, fixing and explanation), making it a versatile all around code model. We release all our Granite Code models under an Apache 2.0 license for both research and commercial use.
[ -0.14718736708164215, -0.35539671778678894, 0.5081018209457397, 0.2841523587703705, -0.004738700110465288, 0.09823718667030334, -0.4550005793571472, -0.2159142941236496, -0.15428674221038818, 1.14677095413208, -0.5898206830024719, -0.7222254276275635, -0.5350874662399292, 0.07606656849384308, -0.30230405926704407, 1.0515131950378418, -0.1900634914636612, 0.0644337460398674, -0.2880115807056427, 0.16273288428783417, -0.28028178215026855, -0.4821769595146179, -0.22201399505138397, -0.32757046818733215, 0.22409431636333466, 0.31039559841156006, 0.7661420106887817, 0.7725980281829834, 0.6984763145446777, 0.26338431239128113, 0.2833873927593231, 0.13213558495044708, -0.6237974762916565, 0.21457363665103912, -0.04528392478823662, -0.5564552545547485, -0.6904416680335999, -0.23737122118473053, 0.1081739217042923, 0.6843680739402771, -0.1654207855463028, 0.5268968939781189, -0.03234195336699486, 0.5234482884407043, -0.5210824608802795, 0.4441341757774353, -0.6401609778404236, -0.0903351753950119, -0.15381330251693726, -0.32368168234825134, -0.690528929233551, -0.4330575466156006, -0.4636176526546478, -0.41036146879196167, 0.08867035061120987, -0.185106560587883, 0.297417014837265, 0.5209741592407227, -0.20523427426815033, -0.49696576595306396, -0.9911085963249207, 0.9579476714134216, -0.5053091645240784, 0.2230832576751709, 0.3263932764530182, 0.09162866324186325, -0.33084219694137573, -0.7737624645233154, -0.11817188560962677, -0.16742786765098572, 0.2702828347682953, -0.09819936007261276, 0.0006141593330539763, -0.07948664575815201, 0.15392515063285828, 0.6788931488990784, -0.7659317255020142, -0.04064677655696869, -0.18198278546333313, 0.2300616055727005, 0.5372278094291687, 0.4539225995540619, 0.48246076703071594, 0.22304515540599823, -0.0796155110001564, 0.09121455252170563, -1.0117312669754028, -0.120457224547863, -0.07509700953960419, 0.35021379590034485, -0.21253959834575653, 0.6563491225242615, -0.10809285193681717, 0.6565902829170227, -0.391669362783432, -0.2431086301803589, -0.013581686653196812, 0.08234838396310806, -0.5969602465629578, -0.43565136194229126, 0.40189382433891296, -0.14232683181762695, 0.37858664989471436, -0.6250591278076172, -0.36164453625679016, 0.337848424911499, 0.41457319259643555, -0.8016363978385925, -0.3176758885383606, 0.3162185847759247, -0.6637383103370667, -0.5068009495735168, -0.24637249112129211, -0.41861239075660706, -0.5776535868644714, -0.271622896194458, 0.05590174347162247, -0.22317534685134888, -0.5219489932060242, 0.3107292354106903, 0.057726431638002396, 0.13879261910915375, 0.31988781690597534, -0.8919677734375, 0.34918272495269775, 0.8696831464767456, 0.5676003694534302, 0.060656577348709106, -0.21864253282546997, -0.46071577072143555, 0.14325855672359467, -0.6001012921333313, 0.4983508884906769, -0.7618458867073059, -0.4816937744617462, 0.05340420454740524, -0.08010304719209671, 0.03127792105078697, -0.6949371099472046, 0.2844727635383606, -0.8466415405273438, -0.3673955500125885, 0.15653923153877258, -0.2660343647003174, -0.21021445095539093, 0.2494419664144516, -0.7468553185462952, 0.9499202370643616, 0.5830276012420654, -0.31663602590560913, 0.03200019150972366, -0.6012858748435974, -0.2656579911708832, 0.564100444316864, -0.43382346630096436, -0.3702090084552765, 0.38790443539619446, -0.11034760624170303, 0.4923816919326782, -0.8359771370887756, 0.18443003296852112, -0.1280406266450882, -0.3614358901977539, -0.05095171928405762, 0.041450127959251404, 0.9835410118103027, 0.3797665238380432, -0.4438171982765198, 0.17769773304462433, -0.36041200160980225, 0.24225153028964996, 0.19785399734973907, -0.5184015035629272, -0.0704454630613327, 0.10537746548652649, -0.13145554065704346, 0.19067160785198212, -0.014347597025334835, -0.33842799067497253, 0.2333696335554123, 0.006306441500782967, 0.32974380254745483, 0.6147592067718506, -0.14966098964214325, 0.27601158618927, -0.5119139552116394, 0.7113168835639954, -0.25691139698028564, 0.2017573118209839, -0.34890905022621155, -0.48416510224342346, -0.43201643228530884, -0.6356129050254822, 0.2107991725206375, 0.5859459638595581, -0.7380672693252563, 0.044265016913414, -0.6528214812278748, -0.4343773424625397, -0.2926008701324463, 0.39826902747154236, 0.5889332294464111, -0.10013371706008911, 0.013732880353927612, -0.2750135660171509, -0.3593970537185669, -0.5400587320327759, -0.250068336725235, 0.003720458596944809, 0.011074965819716454, 0.2853873372077942, 0.6497312784194946, -0.3608526885509491, 0.8763473033905029, -0.5098142623901367, -0.12358399480581284, -0.41262879967689514, 0.04668920859694481, 0.25894981622695923, 0.36280450224876404, 0.4522567093372345, -1.0382736921310425, -0.41188254952430725, 0.14968429505825043, -0.8645365834236145, 0.1652471274137497, 0.0017748294631019235, -0.15965108573436737, 0.27411913871765137, 0.34395986795425415, -0.4293989837169647, 0.4472961723804474, 0.7133073806762695, -0.11781571805477142, 0.41032272577285767, -0.028049223124980927, 0.09879277646541595, -0.9803269505500793, 0.026617608964443207, -0.028612220659852028, -0.29825371503829956, -0.6559260487556458, 0.7498114705085754, 0.19970059394836426, -0.3410702347755432, -0.35127222537994385, 0.4239199757575989, -0.8693121075630188, -0.32925915718078613, -0.3205317556858063, -0.3298186957836151, -0.19378937780857086, 0.7032831311225891, 0.17591384053230286, 0.9334068894386292, 0.6355351805686951, -0.8033707737922668, 0.5391504168510437, 0.33476579189300537, -0.5254217982292175, 0.26605191826820374, -0.36833733320236206, 0.290566086769104, 0.06499701738357544, -0.0085707176476717, -0.4265371263027191, -0.3214820325374603, -0.13367918133735657, -0.591323971748352, 0.10972391813993454, -0.5145639777183533, -0.729590892791748, -0.41145551204681396, -0.22694742679595947, 0.2990616261959076, 0.8871606588363647, -0.6291611790657043, 0.9440863728523254, 0.4263244867324829, -0.2422950267791748, -0.3641805350780487, -0.9123353362083435, 0.14110806584358215, 0.15493135154247284, -0.9258650541305542, 0.3201180398464203, -0.20238469541072845, -0.4277074635028839, 0.23284918069839478, -0.008106817491352558, -0.30071577429771423, 0.09070471674203873, 0.588122546672821, 0.3222290873527527, -0.3570796251296997, 0.10913417488336563, -0.36818015575408936, -0.12088709324598312, -0.031971219927072525, -0.5357610583305359, 0.5637335777282715, -0.10923067480325699, -0.36641213297843933, 0.09750670194625854, 0.2703584134578705, 0.7058497071266174, -0.696974515914917, 0.8237364888191223, -0.00369570916518569, -0.6645157933235168, -0.6288138628005981, -0.39991217851638794, 0.16650603711605072, -0.4291074573993683, 0.5435390472412109, -0.7357361316680908, -0.859748899936676, 0.6120893955230713, -0.3999077379703522, 0.292781263589859, 0.20011217892169952, 0.8221395611763, 0.38344427943229675, 0.9797554016113281, 1.0462138652801514, 0.03354596346616745, 0.10792016983032227, -0.43001416325569153, 0.29170647263526917, -0.8402169942855835, -0.18163304030895233, -0.6409032344818115, 0.271207332611084, -0.38397565484046936, -0.560624361038208, 0.19877906143665314, 0.05694979801774025, -0.403999924659729, 0.18231792747974396, -0.5375518798828125, 0.7088114023208618, 0.3225157558917999, 0.009207016788423061, 0.2647436261177063, 0.06154579296708107, 0.27816981077194214, 0.2685595750808716, -0.47701969742774963, -0.6262093186378479, 1.2354744672775269, 0.43008121848106384, 1.061037540435791, 0.3419015109539032, 0.7095004320144653, 0.5714178085327148, 0.5238603353500366, -0.654040515422821, 0.5306038856506348, -0.5414559841156006, -0.5981492400169373, -0.08344411849975586, -0.5062041282653809, -0.5716050863265991, -0.07233086228370667, -0.004217671696096659, -0.4143925607204437, -0.04975803196430206, 0.00012029734352836385, -0.358433336019516, 0.7202363610267639, -0.35043781995773315, 0.9549193382263184, -0.23900043964385986, -0.27722296118736267, -0.11528021842241287, -0.11855081468820572, 0.37884947657585144, -0.20305493474006653, 0.31440791487693787, -0.06763806194067001, 0.09720151126384735, 0.17707037925720215, -0.3796670138835907, 0.7403541803359985, -0.07642267644405365, -0.11273398995399475, 0.302736759185791, 0.6165792346000671, 0.7571636438369751, -0.17842808365821838, -0.321307510137558, 0.044466130435466766, -0.34754228591918945, -0.33518847823143005, -0.3700161278247833, 0.8510643243789673, -0.7847649455070496, -0.42009273171424866, -0.18621200323104858, -0.5570087432861328, 0.0190255269408226, 0.2491295486688614, 0.05017964169383049, 0.8212233781814575, -0.12053054571151733, 0.2742981016635895, 1.021252155303955, -0.1070229634642601, 0.45568111538887024, 0.33826184272766113, -0.2697392702102661, -0.24989940226078033, 0.8864002227783203, -0.36808905005455017, 0.29526737332344055, 0.23325569927692413, -0.4242680072784424, 0.15348663926124573, -0.8846182227134705, -0.730857253074646, 0.1156478151679039, -0.7769037485122681, -0.4060973823070526, -0.49534934759140015, -0.19535742700099945, -0.42806220054626465, -0.4690738618373871, -0.3657448887825012, -0.17558343708515167, -0.15818531811237335, 0.15526923537254333, 0.3195013999938965, 1.1907821893692017, 0.4035743176937103, 0.10079310834407806, -0.983302891254425, 0.4830169677734375, 0.08131345361471176, 0.7177577018737793, -0.18195493519306183, -0.2040126472711563, -0.5103827118873596, 0.0438259057700634, -0.11807990074157715, -0.7573068141937256, 0.48275500535964966, -0.1976223886013031, 0.5404588580131531, -0.14188113808631897, 0.10599170625209808, 0.2301129549741745, -0.42192327976226807, 0.8270426988601685, -0.06545503437519073, -0.9405881762504578, 0.2252737134695053, -0.5723474025726318, 0.11937420815229416, 0.4254225194454193, 0.2105037271976471, -0.28875383734703064, -0.29699164628982544, -0.12078395485877991, -0.63893061876297, 0.9846751689910889, 0.2891204357147217, 0.22083155810832977, -0.07841498404741287, 0.6154850125312805, 0.005728788673877716, 0.19471663236618042, -0.9368304014205933, -0.045724689960479736, -0.15763133764266968, -0.5533635020256042, 0.2384577840566635, -0.1687697321176529, -0.25680428743362427, 0.40674084424972534, 0.8144173622131348, -0.1989755481481552, 0.3599492013454437, -0.15375493466854095, -0.49970465898513794, -0.35151493549346924, 0.17361488938331604, 0.5600330233573914, 0.8718485832214355, -0.10764738917350769, -0.010164640843868256, -0.07392346858978271, -0.5473596453666687, -0.01655356027185917, -0.12422603368759155, -0.05053071677684784, -0.46355655789375305, 0.1670176386833191, 0.6781532764434814, -0.0878058671951294, -0.6126177310943604, 0.4983973801136017, -0.03320883959531784, -0.16723400354385376, -0.737182080745697, 0.3162875473499298, 0.12552312016487122, 0.37508541345596313, 0.22224684059619904, 0.20370915532112122, 0.005280830431729555, -0.6275870203971863, -0.020620131865143776, 0.47445112466812134, -0.3055359721183777, -0.05527166649699211, 0.6001397967338562, 0.3589586317539215, -0.5146100521087646, 0.8968304991722107, -0.3868616223335266, -0.4108226001262665, 0.9088004231452942, 0.7041369080543518, 1.2135140895843506, -0.22389817237854004, 0.11837391555309296, 0.0776703804731369, 0.5201638340950012, -0.1503543108701706, 0.5272571444511414, 0.17261023819446564, -0.5147930979728699, -0.4968438744544983, -0.7137848734855652, -0.2846134305000305, 0.02126818522810936, -0.5731457471847534, 0.3026835322380066, -0.46639594435691833, -0.0595623143017292, -0.32458966970443726, -0.0960136353969574, -0.5577163100242615, 0.34993594884872437, 0.2363579273223877, 1.1809322834014893, -0.6516373157501221, 0.9331738352775574, 0.7953383326530457, -0.530796468257904, -0.6910310387611389, -0.08772736042737961, -0.044194601476192474, -0.735292375087738, 0.6582886576652527, -0.06457830220460892, -0.44137394428253174, 0.2314371019601822, -0.5626245737075806, -0.7679569125175476, 1.2633761167526245, 0.3328971266746521, -0.14450936019420624, -0.15821346640586853, 0.3301413655281067, 0.29171323776245117, -0.9446796178817749, 0.3096621334552765, 0.30375203490257263, 0.11607600748538971, 0.11911973357200623, -0.7116370797157288, 0.019185129553079605, -0.63349449634552, 0.5192499756813049, 0.5840485692024231, -0.49149125814437866, 1.0750186443328857, -0.3554854989051819, -0.087018683552742, 0.4215288758277893, 0.2374342828989029, 0.3463711738586426, -0.04365244880318642, 0.22761505842208862, 0.48387494683265686, 0.40655773878097534, -0.21661226451396942, 1.4299347400665283, -0.7429472804069519, 0.20744454860687256, 0.9171153903007507, -0.4398183226585388, 0.822915256023407, -0.1582426130771637, -0.00006461967132054269, 0.6932008266448975, 0.5875021815299988, -0.06816297024488449, 0.4181424081325531, 0.3323061168193817, -0.3307926654815674, -0.38985493779182434, 0.15605607628822327, -0.2091008424758911, 0.08361327648162842, 0.2824558913707733, -0.31775784492492676, 0.0654819905757904, -0.0762360468506813, 0.20144745707511902, 0.1868848353624344, -0.5501481294631958, 0.6985543966293335, -0.017788102850317955, -0.6621906161308289, 0.5407350659370422, 0.396335631608963, 0.4402308166027069, -0.6921133995056152, -0.18084166944026947, -0.2468394935131073, 0.4689052402973175, -0.4375074803829193, -0.6489287614822388, 0.3755141794681549, 0.2581363618373871, -0.5545001029968262, -0.2180500030517578, 0.47642233967781067, -0.19511111080646515, -0.25049617886543274, 0.3948362171649933, 0.1951819211244583, 0.09140212833881378, -0.27937740087509155, -0.4699717164039612, 0.23274263739585876, 0.11686591058969498, -0.10728531330823898, 0.13333149254322052, 0.3040599822998047, -0.2082991600036621, 0.6797661185264587, 0.6087703704833984, 0.06290142983198166, 0.3555949628353119, 0.010859834961593151, 0.997566819190979, -0.7430423498153687, -0.33368557691574097, -0.5960050821304321, 0.6877673268318176, 0.19001571834087372, -0.025900378823280334, 0.4871053695678711, 0.7837303280830383, 0.7045395374298096, -0.40569430589675903, 1.0148931741714478, -0.052550021559000015, 0.47089922428131104, -0.49810609221458435, 0.44832631945610046, -0.41001492738723755, 0.37676453590393066, -0.06689843535423279, -1.1208126544952393, -0.4946017265319824, 0.19387474656105042, -0.30000847578048706, 0.35715627670288086, 0.6373336911201477, 0.8640924692153931, -0.09538554400205612, 0.2616158723831177, 0.21360336244106293, -0.017521191388368607, 0.31473302841186523, 0.7720752954483032, 0.7342942953109741, -0.2500508427619934, 0.5422053933143616, -0.047118011862039566, -0.6029329895973206, -0.17777691781520844, -0.794062077999115, -0.9265726804733276, -0.3658064007759094, -0.3318300247192383, -0.30557000637054443, 0.12512877583503723, 0.9571456909179688, 0.9314159154891968, -0.6772993206977844, -0.5931903123855591, -0.3608027398586273, -0.08661013841629028, -0.09248312562704086, -0.12507879734039307, 0.011399848386645317, -0.4472537040710449, -0.47045615315437317, 0.28343290090560913, 0.4796433746814728, -0.143998920917511, -0.24404118955135345, -0.5696097016334534, 0.3279910087585449, 0.252413272857666, 0.4961768686771393, 0.34236007928848267, -0.5542712211608887, 0.22897548973560333, 0.31911560893058777, -0.46847468614578247, 0.029581541195511818, 1.0033899545669556, -0.5391930937767029, 0.2841540575027466, 0.3595527112483978, 0.6992331147193909, 0.43574726581573486, -0.23899827897548676, 0.45257359743118286, -0.506862223148346, -0.0023413156159222126, 0.2866169214248657, 0.3198447525501251, 0.21215754747390747, -0.5936434268951416, 0.7763205766677856, -0.13546420633792877, -0.7040977478027344, -0.9043560028076172, 0.5187894701957703, -0.5320003032684326, -0.37066295742988586, 0.9870210289955139, -0.23228996992111206, -0.29902103543281555, -0.13012978434562683, 0.15634186565876007, -0.001604876946657896, 0.1049060970544815, 0.48777100443840027, 0.4307861328125, -0.22408249974250793, -0.35519659519195557, -0.6395434141159058, 0.5676113367080688, 0.004405873827636242, -1.1111955642700195, 0.31247711181640625, 0.5546923279762268, 0.39054059982299805, 0.23246805369853973, 0.9316217303276062, -0.5050185322761536, 0.4749845862388611, 0.13897961378097534, 0.7971030473709106, -0.3883857727050781, -0.7122712135314941, -0.3452608287334442, 0.17192421853542328, 0.5216761231422424, 0.03574057295918465 ]
http://arxiv.org/abs/2405.04304v4
http://arxiv.org/pdf/2405.04304v4
Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models
2024-05-07T13:27:52
2024-06-23T13:46:23
Jonathan Mamou, Oren Pereg, Daniel Korat, Moshe Berchansky, Nadav Timor, Moshe Wasserblat, Roy Schwartz
cs.CL
cs.CL
Speculative decoding is commonly used for reducing the inference latency of large language models. Its effectiveness depends highly on the speculation lookahead (SL)-the number of tokens generated by the draft model at each iteration. In this work we show that the common practice of using the same SL for all iterations (static SL) is suboptimal. We introduce DISCO (DynamIc SpeCulation lookahead Optimization), a novel method for dynamically selecting the SL. Our experiments with four datasets show that DISCO reaches an average speedup of 10% compared to the best static SL baseline, while generating the exact same text.
[ -0.438262403011322, -0.8916336297988892, 0.22936369478702545, 0.1405378133058548, -0.3981555700302124, 0.6649917364120483, 0.13081778585910797, -0.7666717171669006, 0.6946315765380859, 0.5778469443321228, -0.9390655755996704, -0.3509756028652191, -0.1343526840209961, -0.03229261562228203, -0.7687771916389465, 0.6735960245132446, 0.05254112929105759, -0.5587634444236755, 0.1571502387523651, 0.16552212834358215, -0.07512527704238892, -0.33062469959259033, -0.5381552577018738, -0.01731235347688198, 0.6858935356140137, 0.1884278953075409, 0.8895953893661499, 0.5879818201065063, 0.38428664207458496, 0.28077828884124756, -0.43822625279426575, 0.4449208080768585, -0.9292594194412231, 0.5635493397712708, 0.1864061951637268, -0.664135217666626, -0.1270417869091034, -0.27044400572776794, 0.5558528304100037, 0.4531202018260956, -0.3126200735569, 0.2609556019306183, -0.5018582344055176, 0.865095317363739, -1.1006584167480469, -0.34850215911865234, -0.8512195348739624, 0.17217926681041718, -0.37451326847076416, -0.36959487199783325, -0.644673228263855, -0.7137119174003601, 0.46798425912857056, -0.6938542723655701, 0.4723072052001953, 0.22875557839870453, 0.7638071775436401, 0.3670836091041565, -0.07430252432823181, -0.0930410847067833, -0.8352486491203308, 0.6646808981895447, -0.8680907487869263, 0.5642555952072144, 0.20107640326023102, 0.23058848083019257, -0.23444372415542603, -0.8232022523880005, -0.43802422285079956, -0.3161640763282776, 0.25850576162338257, 0.045308180153369904, -0.09031479805707932, 0.14159829914569855, 0.45482656359672546, 0.20640884339809418, -0.34471395611763, 0.2720932364463806, -0.07982340455055237, -0.3666802644729614, 0.49289512634277344, 0.21954070031642914, 0.10276999324560165, 0.14754384756088257, -0.01726636104285717, -0.02984684891998768, -0.7591686248779297, -0.09981594979763031, 0.6087068915367126, -0.058872517198324203, -0.16827386617660522, 0.4461069703102112, -0.37924623489379883, 0.6780288219451904, 0.20199896395206451, -0.14074911177158356, 0.2973376214504242, -0.44114845991134644, -0.03991945460438728, 0.18836520612239838, 0.5346740484237671, 0.3132127821445465, 0.06419841945171356, -0.0709977075457573, -0.11698366701602936, 0.1905043125152588, 0.35093429684638977, -0.6454042792320251, -0.4070470333099365, 0.28608354926109314, -0.5067747831344604, -0.5839532613754272, -0.1935703307390213, -1.4008132219314575, -0.2692622244358063, 0.04666145145893097, -0.2682598829269409, -0.5129751563072205, -0.3714379072189331, 0.36539092659950256, -0.3818163275718689, -0.11488551646471024, 0.5110906958580017, -0.7107049822807312, 0.22951647639274597, 0.32219448685646057, 0.9090161323547363, -0.22227677702903748, -0.16318172216415405, -0.3422184884548187, 0.15939947962760925, -0.8863618969917297, 0.9084828495979309, -0.5947247743606567, -0.34345370531082153, 0.1265096366405487, -0.6506059169769287, 0.12343590706586838, -0.22044792771339417, 0.31192293763160706, -0.9486947655677795, -0.26187101006507874, -0.38934630155563354, -0.37989571690559387, -0.008909616619348526, -0.12273494154214859, -1.0290015935897827, 1.2398524284362793, 0.030460305511951447, -1.13235604763031, 0.5626541376113892, -0.4052368700504303, -0.24927012622356415, 0.2438509166240692, 0.05830317363142967, -0.09557503461837769, 0.5766845345497131, -0.03453528508543968, -0.19589613378047943, -0.285812646150589, -0.09390685707330704, -0.18939967453479767, -0.9289961457252502, 0.6113561391830444, -0.6006556749343872, 0.20283691585063934, 0.5466182827949524, -0.5785971283912659, -0.10649704188108444, -0.8956153392791748, 0.08051865547895432, -0.03684278205037117, -0.23071704804897308, -0.524877667427063, 0.4435409605503082, -0.13197381794452667, -0.029853928834199905, 0.21460074186325073, -0.39906781911849976, 0.11927980929613113, -0.6850361824035645, 0.23057562112808228, 0.5862835049629211, -0.006046917289495468, 0.03102969191968441, -0.1514546424150467, 0.8635970950126648, -0.04483896866440773, -0.15744686126708984, -0.1997765153646469, -0.07559798657894135, -0.9565795063972473, -0.2695614695549011, 0.6442258954048157, 0.19271431863307953, -1.1539099216461182, 0.1368079036474228, 0.14160048961639404, -0.6715448498725891, -0.9636160135269165, -0.47205498814582825, 0.563547670841217, 0.08538559824228287, 0.1403268426656723, 0.07457361370325089, -0.722108781337738, -0.9750329256057739, -0.36296799778938293, -0.17698654532432556, 0.6540904641151428, 0.04030660167336464, 0.06796657294034958, -0.2798636555671692, 0.5329350829124451, -0.6460762023925781, 0.4443106949329376, -0.27947065234184265, 0.4487195312976837, 0.18885888159275055, 0.24912141263484955, 0.7410847544670105, -0.615216851234436, -0.41220688819885254, -0.13433505594730377, -0.44898244738578796, -0.09453386813402176, -0.3123391568660736, -0.3893198072910309, 0.646206259727478, 0.8444049954414368, -0.610776960849762, 0.3745156228542328, 0.6345248222351074, -0.3599342107772827, 0.8670477271080017, -0.19676701724529266, 0.0982394739985466, -0.5477491021156311, 0.11208448559045792, -0.16667594015598297, -0.21637871861457825, -0.5745278596878052, 0.5021877884864807, -0.09308550506830215, 0.18555974960327148, -0.6393002271652222, 0.18211020529270172, -0.6366274356842041, 0.08921802043914795, -0.1372087597846985, 0.1770545244216919, -0.33264002203941345, 0.08475718647241592, -0.1426738053560257, 1.1635335683822632, 0.5807210206985474, -0.6695895195007324, 0.11352179944515228, -0.1306489109992981, -0.7672758102416992, -0.2650390565395355, -0.34008461236953735, 0.2604871690273285, -0.26053720712661743, 0.3933115005493164, -1.0447982549667358, -0.027369782328605652, -0.18240207433700562, -0.030197281390428543, 0.05980059504508972, 0.11944331228733063, -0.5736191868782043, -0.7664957642555237, -0.4948519468307495, 0.7878786325454712, 0.7191272974014282, -0.3384757936000824, 0.26558953523635864, 0.44899871945381165, 0.21076802909374237, -1.0512555837631226, -0.6054556369781494, 0.048691119998693466, -0.1984722763299942, -0.16677455604076385, 0.3809396028518677, -0.12483761459589005, -0.27547013759613037, -0.09297353029251099, -0.3193703591823578, 0.1522083878517151, 0.13787676393985748, -0.1168886125087738, 0.09222115576267242, -0.05628766864538193, -0.27528998255729675, 0.24531349539756775, -0.16567830741405487, -0.09688188880681992, -0.2387397289276123, 1.0828287601470947, 0.2572069466114044, -0.17412890493869781, -0.6358599662780762, 0.24615436792373657, 0.7014039158821106, -0.0029873682651668787, 0.6445831060409546, 0.31462836265563965, -0.10973390936851501, -0.5979430079460144, -0.791421115398407, 0.08336691558361053, -0.5997219681739807, 0.44225049018859863, -0.6666731238365173, -0.774139404296875, 0.8441765308380127, -0.1624932736158371, 0.33753901720046997, 0.44095006585121155, 0.648552656173706, 0.01078246533870697, 0.9692700505256653, 0.6230010390281677, 0.2178388386964798, 0.48476114869117737, -0.2506115436553955, 0.3526774048805237, -0.4373433589935303, -0.423857182264328, -0.6275623440742493, -0.449891597032547, -0.8117181658744812, -0.514680027961731, -0.05908150598406792, -0.044160231947898865, 0.024301676079630852, 0.23574715852737427, -0.4733416438102722, 0.7515437602996826, 0.7042142152786255, 0.12409409880638123, 0.3041521906852722, -0.00836921762675047, -0.5138583183288574, -0.2866317927837372, -0.7771314382553101, -0.05510706827044487, 0.7676510214805603, 0.2418583631515503, 1.2004483938217163, 0.020070970058441162, 0.7676181197166443, 0.3152383863925934, -0.1651710420846939, -0.6206075549125671, 0.8086073398590088, -0.21448685228824615, -0.44083070755004883, -0.1699129343032837, -0.4247434139251709, -0.6806787252426147, 0.19683828949928284, -0.1757885366678238, -0.7074516415596008, 0.35150784254074097, 0.4473991096019745, -0.35519886016845703, 0.21494007110595703, -0.23294135928153992, 0.31667861342430115, 0.1882314234972, -0.029577333480119705, -0.544179379940033, -0.2808491885662079, 0.5372278690338135, -0.5657066106796265, 0.06260564178228378, -0.03149864077568054, -0.0016295160166919231, 0.8695248961448669, -0.2751297056674957, 0.6285344958305359, -0.015169990248978138, -0.36990323662757874, 0.47601282596588135, 0.7399216890335083, 0.7039933204650879, -0.07547246664762497, -0.4710679054260254, 0.1833670288324356, 0.1898398995399475, -0.08501794189214706, -0.4508127272129059, 0.6240554451942444, -0.6383506655693054, -0.5349143147468567, -0.47247281670570374, -0.6330475807189941, -0.031156832352280617, 0.2631494998931885, 0.5863580703735352, 0.4392217695713043, -0.2820003628730774, 0.03914644941687584, 0.5627622604370117, -0.28355902433395386, 0.47846922278404236, 0.35606685280799866, -0.4451422393321991, -0.11698625236749649, 0.7637082934379578, 0.18817491829395294, 0.4603821933269501, 0.3079497814178467, -0.06775765120983124, -0.3828822374343872, -0.8771980404853821, -0.07466844469308853, 0.34402039647102356, -0.559256374835968, -0.009272326715290546, -0.7636178731918335, -0.25479960441589355, -0.08553753793239594, -0.35853299498558044, -0.7094603180885315, -0.5158177018165588, -0.11504489928483963, -0.16611452400684357, 0.3358009457588196, 0.4163159728050232, 0.09059787541627884, 0.45029371976852417, -0.5070546269416809, 0.4593186378479004, -0.1875530630350113, 0.3965318500995636, 0.22273217141628265, -0.4832984209060669, -0.4558081328868866, 0.15757913887500763, 0.06180654093623161, -0.6740644574165344, 0.5654426217079163, -0.15694865584373474, 0.5920538306236267, 0.5557096004486084, 0.4024830162525177, 1.1030672788619995, -0.8675708770751953, 0.7567596435546875, 0.31395119428634644, -0.9638063907623291, 0.4138900935649872, -0.3428157567977905, 0.422629177570343, 0.8556912541389465, 0.22642108798027039, -0.49457859992980957, -0.7625205516815186, -0.6643505692481995, -0.9381282329559326, 0.7741634249687195, 0.19205322861671448, 0.07518131285905838, -0.154960498213768, 0.4915880262851715, 0.3302530348300934, 0.34368690848350525, -0.2412939965724945, -0.446372926235199, 0.0740233063697815, -0.05134538561105728, 0.10793028026819229, -0.7144425511360168, -0.11671839654445648, -0.11895798146724701, 0.3414996266365051, -0.12222730368375778, 0.5576110482215881, -0.11107934266328812, 0.10399679839611053, -0.6031124591827393, -0.2985185384750366, 0.5387486815452576, 0.9616157412528992, -0.4980173707008362, 0.2602533996105194, 0.13217850029468536, -0.6180006265640259, 0.015658490359783173, -0.40517011284828186, -0.5515981912612915, 0.4584563672542572, 0.3593606948852539, 1.0115946531295776, 0.5670472383499146, -1.0183334350585938, -0.25056952238082886, -0.17318607866764069, -0.4703647494316101, -0.3116386830806732, 0.3405418395996094, -0.08495257794857025, 0.21065695583820343, 0.21814778447151184, 0.0325675830245018, 0.16637012362480164, -0.5639067888259888, 0.3083919882774353, 0.3505016565322876, 0.11025399714708328, -0.33883216977119446, 0.6630897521972656, 0.02675366960465908, -0.4459160566329956, 0.5160296559333801, 0.06367042660713196, -0.38895493745803833, 0.7244256138801575, 0.7895299792289734, 0.9412599802017212, -0.1591566801071167, 0.5658330321311951, 0.16245965659618378, 0.21639665961265564, -0.4415735602378845, 0.5984743237495422, 0.35479944944381714, -0.6529331803321838, -0.6037611365318298, -0.8860942125320435, -0.5809748768806458, 0.18669553101062775, -0.6498808860778809, 0.3071889281272888, -0.3755377233028412, -0.24671317636966705, 0.12885154783725739, -0.11918351799249649, -0.576687753200531, -0.06630373001098633, 0.04852791875600815, 1.2416781187057495, -0.40434977412223816, 0.8862510919570923, 0.43668657541275024, 0.02887704037129879, -0.5401512980461121, 0.47972339391708374, 0.05579564347863197, -0.6858912706375122, 0.6784166097640991, 0.10239478945732117, -0.30359411239624023, 0.1568528264760971, -0.4697485566139221, -1.4466224908828735, 0.752114474773407, 0.4319947063922882, -1.0433558225631714, -0.40676653385162354, -0.1840781271457672, 0.6623672246932983, -0.2427719682455063, 0.25441938638687134, 0.7831807136535645, 0.3479762375354767, 0.5409655570983887, -0.6425392627716064, 0.01608378440141678, 0.02142738178372383, 0.14594170451164246, 0.45946070551872253, -0.7550340294837952, 0.8119174242019653, -0.18489600718021393, -0.24623581767082214, 0.1519542634487152, 0.6240674257278442, 0.4718259572982788, 0.10843391716480255, 0.5790967345237732, 0.532477617263794, 0.9307001829147339, 0.1299925148487091, 1.0806068181991577, -0.4768545627593994, 0.3443513810634613, 0.8042142987251282, -0.33194515109062195, 0.777814507484436, 0.2590476870536804, -0.25952768325805664, 0.7055274844169617, 0.9472418427467346, 0.22470048069953918, 0.9433771371841431, 0.3331907093524933, -0.13179931044578552, -0.21747790277004242, 0.1375492364168167, -0.3487327992916107, 0.45720914006233215, 0.47316330671310425, -0.06684067845344543, -0.20960712432861328, -0.4243570864200592, -0.011417616158723831, -0.20089149475097656, -0.08096259832382202, 0.6369515061378479, -0.00035280041629448533, -0.8403623104095459, 1.075910210609436, -0.1316881775856018, 0.6108549237251282, -0.5517414808273315, 0.15236946940422058, -0.3157860040664673, 0.16216322779655457, 0.18220794200897217, -0.3913141191005707, 0.24338404834270477, -0.14854392409324646, -0.10537217557430267, 0.12556017935276031, 0.5685386657714844, -0.33360835909843445, -0.5419055819511414, 0.40342286229133606, 0.3795049488544464, 0.1541168987751007, 0.38636836409568787, -0.672631025314331, 0.4770381450653076, 0.27598121762275696, -0.44166669249534607, 0.3179984986782074, 0.778056263923645, 0.014766897074878216, 0.8588236570358276, 0.9721274375915527, 0.4698818325996399, 0.1954842358827591, 0.0731167122721672, 1.1315232515335083, -0.9127177000045776, -0.92962646484375, -1.0357433557510376, 0.23193953931331635, -0.002590036019682884, -0.3502330780029297, 0.6750396490097046, 0.3370683491230011, 0.4626854658126831, 0.06940039992332458, 0.7421521544456482, 0.1280246376991272, 0.4149051308631897, -0.8445762395858765, 0.6648103594779968, -0.5308467745780945, 0.26489052176475525, -0.5614181756973267, -1.0932570695877075, -0.037238556891679764, 0.6490137577056885, 0.28520363569259644, -0.2278841733932495, 1.1032756567001343, 0.6291248202323914, 0.19824092090129852, 0.20691920816898346, 0.25440922379493713, 0.3910406231880188, 0.24731087684631348, 0.11648684740066528, 0.733394205570221, -0.053940217941999435, 0.13755707442760468, -0.2505604326725006, -0.24179990589618683, -0.5043013691902161, -0.8776696920394897, -1.012877106666565, -0.3055737316608429, -0.2792038321495056, -0.7043989300727844, 0.2811347544193268, 0.682813823223114, 0.5236576199531555, -0.5395269989967346, -0.14056994020938873, -0.14501141011714935, 0.0896400660276413, -0.4562639892101288, -0.21537728607654572, 0.43200328946113586, -0.4543352723121643, -0.6734896302223206, 0.5895092487335205, 0.16633440554141998, -0.07654355466365814, -0.44627633690834045, 0.23450075089931488, -0.40510618686676025, 0.5406903028488159, 0.5621403455734253, 0.23384980857372284, -0.6991241574287415, -0.10768724977970123, -0.08047305792570114, 0.047972217202186584, -0.27476438879966736, 0.9730343818664551, -1.0126756429672241, 0.4382166266441345, 0.60322505235672, 0.6302944421768188, 0.7587733864784241, 0.12624578177928925, 0.6511414647102356, -0.5123841166496277, 0.7329696416854858, 0.27025896310806274, 0.04562864080071449, -0.4596625566482544, -0.5493177771568298, 0.4638005197048187, 0.3772386610507965, -0.403575599193573, -1.3146604299545288, 0.27963992953300476, -1.037869930267334, -0.5244712829589844, 1.220720648765564, 0.1136973574757576, -0.2655714154243469, -0.21984218060970306, -0.13537254929542542, 0.05088808387517929, -0.766542375087738, 1.004541277885437, 0.48898032307624817, -0.02490297146141529, -0.37638041377067566, -0.6016976237297058, 0.7778183221817017, 0.38147929310798645, -0.5417206287384033, 0.3203525245189667, 0.46747714281082153, -0.12698206305503845, 0.26571643352508545, 0.7560054063796997, 0.09817896038293839, 0.18567045032978058, 0.3553912341594696, -0.17094798386096954, 0.09805670380592346, -0.5467680096626282, 0.13705910742282867, 0.2240351438522339, -0.09020335972309113, 0.08750517666339874 ]
http://arxiv.org/abs/2405.04296v1
http://arxiv.org/pdf/2405.04296v1
Open Implementation and Study of BEST-RQ for Speech Processing
2024-05-07T13:11:37
2024-05-07T13:11:37
Ryan Whetten, Titouan Parcollet, Marco Dinarelli, Yannick Estève
cs.CL
cs.CL, cs.LG
Self-Supervised Learning (SSL) has proven to be useful in various speech tasks. However, these methods are generally very demanding in terms of data, memory, and computational resources. BERT-based Speech pre-Training with Random-projection Quantizer (BEST-RQ), is an SSL method that has shown great performance on Automatic Speech Recognition (ASR) while being simpler than other SSL methods, such as wav2vec 2.0. Despite BEST-RQ's great performance, details are lacking in the original paper, such as the amount of GPU/TPU hours used in pre-training, and there is no official easy-to-use open-source implementation. Furthermore, BEST-RQ has not been evaluated on other downstream tasks aside from ASR and speech translation. In this work, we describe a re-implementation of a Random-projection quantizer and perform a preliminary study with a comparison to wav2vec 2.0 on four downstream tasks. We discuss the details and differences of our implementation. We show that a random projection quantizer can achieve similar downstream performance as wav2vec 2.0 while decreasing training time by over a factor of two.
[ -0.21987642347812653, -0.3441162109375, 0.3528881072998047, 0.15845243632793427, -0.4986112713813782, 0.03632688894867897, -0.1803034245967865, -0.4312587380409241, -0.0201247651129961, 0.03105918876826763, -0.5252081155776978, -0.44087499380111694, -0.5377143025398254, -0.06272492557764053, -0.4783758223056793, 0.8166868090629578, 0.2640155255794525, 0.364427387714386, 0.084598109126091, -0.01103337574750185, 0.015806635841727257, -0.7633205056190491, -0.710785984992981, -0.07592249661684036, 0.30300211906433105, 0.16876156628131866, 0.31196749210357666, 0.2750924229621887, 0.6245957612991333, 0.2874607443809509, 0.10304833203554153, -0.07255440205335617, -0.6207038760185242, 0.01699657179415226, -0.048629388213157654, -0.08932485431432724, -0.1837914139032364, -0.014210197143256664, 0.837342381477356, 0.09337655454874039, -0.6180937886238098, 0.3895971179008484, 0.06379960477352142, 0.7152997851371765, -0.8457523584365845, 0.0980735719203949, -0.5923749804496765, 0.19042007625102997, -0.4185468554496765, -0.26098135113716125, -0.4899957478046417, -0.3936389684677124, 0.2422458529472351, -0.5721986889839172, 0.28536054491996765, -0.024493981152772903, 0.8324941396713257, 0.5992463827133179, -0.31114184856414795, -0.1255984902381897, -1.0797224044799805, 1.0597056150436401, -0.5533192753791809, 0.7431142926216125, 0.3605826497077942, 0.5829116106033325, 0.010536798276007175, -1.0223017930984497, -0.37294378876686096, 0.012937898747622967, 0.290627658367157, 0.33626851439476013, -0.46926677227020264, 0.3291332423686981, 0.19833339750766754, 0.442972868680954, -0.6316518187522888, -0.05072162300348282, -0.46201667189598083, -0.39063653349876404, 0.5149375796318054, -0.21339361369609833, -0.2895548939704895, -0.06966497749090195, -0.35785892605781555, -0.32547619938850403, -0.5552850961685181, 0.18603016436100006, 0.08096359670162201, 0.26028555631637573, 0.13813404738903046, 0.30196887254714966, -0.30496999621391296, 0.6456335186958313, -0.04751955717802048, 0.15672019124031067, 0.34291523694992065, -0.09622768312692642, -0.2561872601509094, -0.04318094253540039, 0.8951841592788696, -0.279920756816864, 0.2933200001716614, 0.08333270996809006, -0.37819936871528625, -0.2723829746246338, 0.24409888684749603, -0.461752712726593, -0.41582897305488586, 0.2494216412305832, -0.6040067672729492, 0.014901148155331612, -0.28981906175613403, 0.01202085055410862, 0.2684709131717682, -0.3364078104496002, 0.6036893725395203, -0.5857580900192261, -0.06701099127531052, -0.41091668605804443, -0.08202552050352097, 0.4079412519931793, 0.26908448338508606, -0.8172453045845032, 0.2959849238395691, 0.6433636546134949, 0.7669326066970825, -0.11632522195577621, -0.01731945015490055, -0.9478527903556824, 0.0511978343129158, -0.3429376780986786, 0.769088625907898, -0.17538893222808838, -0.29607653617858887, -0.08943536132574081, -0.6576342582702637, 0.028072187677025795, -0.4414208233356476, 0.8488994836807251, -0.6125602126121521, 0.35430431365966797, -0.14742864668369293, -0.6512110829353333, 0.12020611017942429, -0.4356967508792877, -0.35392478108406067, 0.9294410347938538, 0.21830585598945618, -0.6846821308135986, 0.4517423212528229, -0.3913128674030304, -0.36957797408103943, 0.21578441560268402, -0.1333673596382141, -0.427776038646698, 0.20937439799308777, 0.22124038636684418, 0.2061108946800232, 0.017363792285323143, -0.05469999834895134, -0.08734802901744843, -0.6454502940177917, 0.10479956120252609, -0.2839549481868744, 0.8950443267822266, 0.7733900547027588, -0.17735596001148224, 0.324103444814682, -0.917657196521759, 0.4712637960910797, -0.15769141912460327, -0.15878558158874512, -0.2834683954715729, 0.26772376894950867, 0.0780511125922203, 0.06773641705513, 0.28601303696632385, -0.789604663848877, -0.2599240243434906, -0.34549301862716675, 0.600313663482666, 0.7609955668449402, -0.19629788398742676, 0.20605050027370453, -0.061009135097265244, 0.1203266978263855, -0.38733968138694763, 0.5108751654624939, 0.3484050929546356, -0.5664427876472473, -0.6624248027801514, -0.49610435962677, 0.618196964263916, 0.4099721610546112, -0.6267104744911194, 0.13521400094032288, 0.08990319073200226, -0.24443991482257843, -1.0284823179244995, -0.09785344451665878, 0.7215796113014221, 0.4129699170589447, 0.5112181901931763, -0.3671583831310272, -0.8401554822921753, -0.9765072464942932, -0.23145215213298798, -0.39113667607307434, -0.30345016717910767, 0.017588157206773758, -0.01673652045428753, 0.2140827775001526, 0.9800300002098083, -0.3365108072757721, -0.653577983379364, -0.005198856815695763, 0.4357159733772278, 0.042641621083021164, 0.5339788794517517, 0.28099921345710754, -0.7043387293815613, -0.5402972102165222, -0.4712630808353424, -0.48181813955307007, 0.10949396342039108, 0.2120898813009262, -0.009592647664248943, 0.35607877373695374, 0.2052667886018753, -0.18488916754722595, 0.3989699184894562, 0.7502446174621582, 0.31807413697242737, 0.41179177165031433, -0.452832967042923, 0.06969953328371048, -0.716633677482605, -0.08418180048465729, -0.027390766888856888, -0.22409330308437347, -0.8578373789787292, 0.11027957499027252, 0.13108588755130768, -0.10850037634372711, -0.6008251905441284, 0.17580854892730713, -0.08798301219940186, -0.40412086248397827, -0.21471090614795685, -0.13010857999324799, -0.41316136717796326, 0.3658876121044159, 0.4392278790473938, 1.0184543132781982, 0.3862397372722626, -0.5629964470863342, 0.00451870309188962, 0.12655040621757507, -0.44560620188713074, 0.016365187242627144, -0.683922529220581, 0.48727452754974365, 0.04567869007587433, 0.22339394688606262, -1.0015429258346558, -0.031708694994449615, 0.11221496015787125, -0.8904021382331848, 0.23609137535095215, -0.06584563106298447, -0.3333585858345032, -0.4510979950428009, -0.16255369782447815, 0.3435623049736023, 0.9946959614753723, -0.6479848027229309, 0.40849605202674866, 0.35952746868133545, 0.00893322005867958, -0.6597535610198975, -0.798823893070221, -0.2112772911787033, 0.1491856724023819, -0.4525328278541565, 0.3758334219455719, -0.03061399795114994, -0.02314189076423645, -0.06716954708099365, -0.06664665043354034, -0.4265124499797821, -0.21807371079921722, 0.03904448449611664, -0.03080848418176174, -0.08764774352312088, -0.01790747232735157, -0.02912476286292076, -0.19463814795017242, 0.04429921507835388, -0.3302568197250366, 0.19958029687404633, -0.25040796399116516, -0.293136328458786, -0.9853857755661011, 0.2729934751987457, 0.02337094396352768, -0.3913801610469818, 0.4095704257488251, 0.7064950466156006, -0.17719261348247528, -0.22537216544151306, -0.6866823434829712, -0.013276485726237297, -0.5209971070289612, 0.18604423105716705, -0.51919025182724, -1.035751461982727, 0.2491433024406433, 0.20126132667064667, 0.1481381356716156, 0.39346712827682495, 0.5328227877616882, -0.7407444715499878, 0.96024489402771, 0.5271755456924438, 0.10783106833696365, 0.7805347442626953, -0.26751455664634705, 0.10026058554649353, -0.8298207521438599, -0.023900622501969337, -0.45065799355506897, 0.003152230754494667, -0.4865979552268982, -0.5662078857421875, 0.3247582018375397, -0.04485044628381729, -0.26763173937797546, 0.14068269729614258, -0.691608190536499, 0.07118158042430878, 1.0532912015914917, 0.02485492452979088, 0.18744030594825745, 0.24283172190189362, -0.0012364827562123537, -0.19688959419727325, -0.7713882327079773, -0.16229228675365448, 1.144892930984497, 0.2503119111061096, 0.6458832025527954, -0.17444051802158356, 1.135474443435669, 0.46704068779945374, 0.0176540594547987, -0.5740498304367065, 0.45933103561401367, -0.5014269351959229, -0.4284152686595917, -0.706484854221344, -0.5613714456558228, -0.8069543838500977, 0.2512068748474121, -0.09715079516172409, -0.48893675208091736, -0.013083916157484055, 0.592108964920044, -0.4265708923339844, 0.13237133622169495, -0.6644004583358765, 0.3081500232219696, -0.040421392768621445, -0.21925990283489227, -0.5082286596298218, -0.7022683024406433, 0.1697281301021576, -0.011608256958425045, 0.2054251879453659, 0.0893746018409729, 0.36573097109794617, 0.8649978637695312, -0.5415077209472656, 0.27762386202812195, -0.641633152961731, -0.001303573022596538, 0.8367648124694824, -0.24916401505470276, 0.42201218008995056, -0.2822577953338623, -0.03111572377383709, 0.41358649730682373, 0.07917606830596924, -0.35982784628868103, -0.5169717073440552, 0.34273409843444824, -0.9333114624023438, -0.5329765677452087, -0.6759769916534424, -0.17014367878437042, -0.3134703040122986, -0.07426487654447556, 0.3538062870502472, 0.38245147466659546, -0.2951417863368988, 0.2536306083202362, 0.5963903069496155, -0.2115766555070877, 0.378536194562912, 0.521949291229248, 0.08221716433763504, -0.5920893549919128, 1.1395610570907593, 0.17539839446544647, 0.20402181148529053, 0.6997897028923035, 0.3226037919521332, -0.45670458674430847, -0.798055112361908, -0.3055156469345093, -0.02671576477587223, -0.244182288646698, -0.021317047998309135, -0.37311241030693054, -0.691923975944519, -0.6401041746139526, 0.18992184102535248, -0.7096631526947021, -0.6933512091636658, -0.1536894589662552, 0.1453002542257309, 0.10731009393930435, 0.37867745757102966, -0.6977854371070862, 0.2163369506597519, -0.6933608651161194, 0.4799751043319702, 0.6547530293464661, 0.13610322773456573, 0.03637482225894928, -0.663445234298706, -0.3068857789039612, 0.18145377933979034, -0.08523931354284286, -0.20129084587097168, 0.3460916578769684, 0.5569521188735962, 0.44988369941711426, 0.4015025496482849, 0.20378077030181885, 0.7873049974441528, -0.6185395121574402, 0.7506698966026306, 0.18399852514266968, -1.053737759590149, 0.7478832006454468, -0.14488691091537476, 0.2967844009399414, 0.5193979740142822, 0.2982761859893799, -0.16968382894992828, -0.5520725250244141, -0.3907524347305298, -0.6736198663711548, 0.6926206350326538, 0.7586221694946289, -0.2604740858078003, 0.14393919706344604, 0.22476759552955627, -0.07438712567090988, 0.13521064817905426, -0.420326828956604, -0.2544673681259155, -0.4865424335002899, -0.051161374896764755, -0.1565408557653427, -0.4405490458011627, 0.00039418478263542056, -0.2581290304660797, 0.6230289936065674, 0.2263074368238449, 0.7391428351402283, 0.3387662172317505, -0.05394268035888672, -0.18197643756866455, 0.3649369180202484, 0.4419342279434204, 0.46174126863479614, -0.6930139660835266, -0.14082607626914978, 0.19567377865314484, -0.48852434754371643, -0.013198955915868282, 0.004991116467863321, -0.17974595725536346, -0.08473532646894455, 0.3625265657901764, 0.7224937081336975, 0.15927976369857788, -0.5227497816085815, 0.6078891754150391, -0.359526127576828, -0.4028923213481903, -0.5936325192451477, 0.08493311703205109, -0.2753899097442627, 0.36338749527931213, 0.7383274435997009, -0.10230159759521484, 0.5472254753112793, -0.35986822843551636, 0.3910483717918396, 0.3787388205528259, -0.3674803078174591, -0.13166852295398712, 0.8551791310310364, 0.15582729876041412, -0.42652806639671326, 0.9390851855278015, -0.20413291454315186, -0.2851424813270569, 0.229519322514534, 0.47285962104797363, 0.9489516615867615, -0.6038569211959839, 0.09435129910707474, 0.3802778124809265, -0.017490271478891373, 0.20176979899406433, 0.7634583711624146, -0.509245753288269, -0.45965251326560974, -0.845154881477356, -0.6086544394493103, -0.530368447303772, -0.21535003185272217, -1.125138521194458, -0.040321145206689835, -0.3230435848236084, -0.35638755559921265, -0.27861252427101135, -0.12104232609272003, -0.6157393455505371, 0.36092451214790344, 0.3402308523654938, 0.7240239381790161, -0.41214004158973694, 1.4045233726501465, 0.48965373635292053, -0.050667211413383484, -0.8510076999664307, -0.12884679436683655, -0.1322149634361267, -0.8391913771629333, 0.9058678150177002, -0.40079933404922485, -0.3909272849559784, 0.30510780215263367, -0.4106655418872833, -1.1039317846298218, 0.9860436320304871, 0.2571619153022766, -0.8413681387901306, -0.18780279159545898, 0.10656572133302689, 0.8356059193611145, 0.1373818963766098, 0.246922105550766, 0.17654019594192505, 0.029338840395212173, 0.3666757643222809, -1.019167423248291, -0.428103506565094, 0.05776732414960861, 0.17181310057640076, -0.0651034265756607, -0.9988876581192017, 0.7166987657546997, -0.3569309413433075, -0.318008691072464, 0.2482939511537552, 1.2360659837722778, 0.4487796127796173, 0.39329710602760315, 0.5694580078125, 0.5922641158103943, 0.7702252864837646, -0.05940654128789902, 0.7808027267456055, -0.3580052852630615, 0.5665895342826843, 1.4142999649047852, -0.0922083705663681, 1.4330980777740479, 0.41078612208366394, -0.4427414834499359, 0.35759425163269043, 0.5722764730453491, 0.07839551568031311, 1.1171408891677856, 0.24442560970783234, -0.23937183618545532, -0.1714128702878952, 0.03364516794681549, -0.4754349887371063, 0.48490941524505615, 0.19155366718769073, -0.13059723377227783, 0.0016610728343948722, 0.13755151629447937, -0.6908613443374634, -0.2627350986003876, -0.3377305865287781, 0.7171539068222046, 0.34591925144195557, -0.3402003049850464, 0.6663826704025269, -0.10717729479074478, 0.4967075288295746, -0.8229937553405762, -0.08442071825265884, 0.04613086208701134, 0.10102535784244537, -0.16173787415027618, -0.5648804903030396, 0.32217171788215637, 0.18251165747642517, 0.04467584192752838, -0.5162647366523743, 0.6687508225440979, -0.1999475508928299, -0.08401792496442795, 0.24266107380390167, 0.31492799520492554, 0.3702757954597473, -0.028646431863307953, -0.5388049483299255, 0.014313294552266598, 0.18221546709537506, -0.1398312747478485, 0.4388178884983063, 0.2962806522846222, 0.2987995445728302, 0.7508301734924316, 0.577909529209137, 0.17148849368095398, 0.34041541814804077, 0.29581889510154724, 0.6392397284507751, -0.5367064476013184, -0.5436017513275146, -0.2958014905452728, 0.27026569843292236, 0.14979088306427002, -0.2888721227645874, 0.720518946647644, 0.7254678010940552, 1.161204218864441, -0.014931656420230865, 0.674372136592865, -0.06535468995571136, 0.7857771515846252, -0.5777558088302612, 0.58942711353302, -0.4733986258506775, -0.0006840711575932801, -0.3812435567378998, -0.7832402586936951, -0.12954211235046387, 1.0694900751113892, -0.21703621745109558, -0.09500346332788467, 0.8510094881057739, 0.33938053250312805, 0.2576890289783478, 0.17807413637638092, 0.38282883167266846, 0.1849754899740219, 0.2732071876525879, 0.6548612117767334, 0.981033980846405, -0.3657311201095581, 0.68796706199646, -0.5102812647819519, -0.2751372158527374, -0.018259312957525253, -0.4800930917263031, -0.5891625881195068, -0.8862392902374268, -0.44201111793518066, -0.1371920108795166, 0.5966721177101135, 0.8416558504104614, 0.9326567649841309, -1.0153052806854248, -0.34685519337654114, -0.11104915291070938, -0.2866913676261902, -0.33379310369491577, -0.18345968425273895, 0.560928225517273, -0.44684380292892456, -0.6970869302749634, 0.5497461557388306, 0.08168310672044754, -0.17731399834156036, -0.07387012243270874, -0.19368058443069458, 0.06263444572687149, -0.24211034178733826, 0.6065514087677002, 0.4272260367870331, -0.7002274394035339, -0.39015209674835205, -0.32338449358940125, -0.03735317662358284, 0.292206346988678, 0.8598763942718506, -0.9521146416664124, 0.6472824215888977, 0.3536430299282074, 0.3251359164714813, 0.8342467546463013, 0.23599432408809662, 0.5464239716529846, -0.605218768119812, -0.07710832357406616, 0.5730583667755127, 0.10529104620218277, 0.003340800991281867, -0.1555163562297821, 0.5101998448371887, -0.03672926872968674, -0.7836857438087463, -0.6649890542030334, 0.03642193228006363, -1.0416157245635986, 0.03731520473957062, 0.927078127861023, -0.16502191126346588, -0.03375371918082237, 0.051505185663700104, 0.008273199200630188, 0.6019662618637085, -0.8069978356361389, 0.82077556848526, 0.47682154178619385, -0.6320755481719971, -0.1245446428656578, -0.33455008268356323, 0.619179368019104, 0.38140347599983215, -0.21712958812713623, -0.21668073534965515, 0.2886272370815277, 0.2578895390033722, -0.1446855515241623, 0.9882426261901855, -0.10174710303544998, 0.21335355937480927, 0.05442359670996666, 0.25134217739105225, -0.13397721946239471, -0.3178291320800781, -0.5099992752075195, 0.2677918076515198, 0.28840839862823486, -0.5477675199508667 ]
http://arxiv.org/abs/2405.04292v1
http://arxiv.org/pdf/2405.04292v1
Mitigating Clickbait: An Approach to Spoiler Generation Using Multitask Learning
2024-05-07T13:09:25
2024-05-07T13:09:25
Sayantan Pal, Souvik Das, Rohini K. Srihari
cs.CL
cs.CL, cs.AI
This study introduces 'clickbait spoiling', a novel technique designed to detect, categorize, and generate spoilers as succinct text responses, countering the curiosity induced by clickbait content. By leveraging a multi-task learning framework, our model's generalization capabilities are significantly enhanced, effectively addressing the pervasive issue of clickbait. The crux of our research lies in generating appropriate spoilers, be it a phrase, an extended passage, or multiple, depending on the spoiler type required. Our methodology integrates two crucial techniques: a refined spoiler categorization method and a modified version of the Question Answering (QA) mechanism, incorporated within a multi-task learning paradigm for optimized spoiler extraction from context. Notably, we have included fine-tuning methods for models capable of handling longer sequences to accommodate the generation of extended spoilers. This research highlights the potential of sophisticated text processing techniques in tackling the omnipresent issue of clickbait, promising an enhanced user experience in the digital realm.
[ -0.36905330419540405, -0.7275840640068054, 0.5094984173774719, 0.1683272421360016, -0.4660213887691498, 0.05372856929898262, 0.055607300251722336, -0.3000258505344391, 0.3730367124080658, 0.4740116596221924, -1.0455247163772583, -0.1651201695203781, -0.4967273771762848, 0.33060529828071594, -0.09880490601062775, 1.546311855316162, 0.25756555795669556, -0.05283091589808464, -0.6866009831428528, 0.4408308267593384, -0.43212324380874634, -0.35622891783714294, -0.9435831904411316, 0.04182128608226776, 0.9496375918388367, 0.42269113659858704, 0.453291118144989, 0.6868096590042114, 0.42166444659233093, 0.15643171966075897, 0.05567575618624687, 0.3754686415195465, -0.7293351292610168, 0.3368166983127594, -0.14160357415676117, -0.3375600576400757, -0.22469381988048553, 0.030226869508624077, 0.21493761241436005, 0.30232536792755127, 0.07194000482559204, 0.2628013789653778, 0.1822173297405243, 0.6649847030639648, -0.9847122430801392, 0.2154572755098343, -0.4617997705936432, 0.0006013524834997952, -0.20235340297222137, -0.7104940414428711, -0.5772178173065186, -0.1548195779323578, 0.13715268671512604, -0.8714905977249146, 0.424778014421463, 0.11811050027608871, 0.5125406384468079, 0.7637627720832825, -0.5802233219146729, -0.15711058676242828, -0.7017372846603394, 0.8944782614707947, -0.511996328830719, 0.15176180005073547, 0.30102428793907166, 0.17217706143856049, 0.0008638969738967717, -0.5657925605773926, -0.45308542251586914, -0.08756851404905319, 0.03412103280425072, 0.31558191776275635, 0.242404967546463, -0.07326662540435791, 0.32205915451049805, 0.04006287828087807, -0.7689341306686401, -0.07132886350154877, -0.38243263959884644, -0.2315569669008255, 0.5518710613250732, 0.3211606442928314, 0.42792680859565735, -0.42148420214653015, -0.782763659954071, -0.08400943875312805, -0.46715590357780457, 0.3109274208545685, 0.6174567341804504, 0.10431431233882904, 0.3444686830043793, 0.19479377567768097, -0.397329717874527, 0.4759071171283722, 0.15285556018352509, -0.18257521092891693, 0.0804578885436058, -0.494750440120697, 0.03483780100941658, 0.008950087241828442, 0.6581135988235474, 0.8126277923583984, 0.18554991483688354, -0.20146560668945312, 0.25554654002189636, 0.10624660551548004, 0.7802432179450989, -0.8068767786026001, -0.25214481353759766, 0.42414677143096924, -0.5373467206954956, -0.6309171319007874, 0.10568291693925858, -1.1178430318832397, -0.5028795599937439, -0.12975436449050903, 0.282349556684494, -0.3312762975692749, -0.10156489163637161, -0.18953755497932434, -0.46209055185317993, 0.09356957674026489, 0.34066838026046753, -0.81244295835495, 0.16088633239269257, 0.35256004333496094, 0.3440370559692383, -0.6174975633621216, -0.5134367942810059, -0.639065146446228, 0.3576255440711975, -0.13746678829193115, 1.1043891906738281, -0.6395853161811829, -0.2715505361557007, -0.10985350608825684, 0.06626288592815399, -0.1941916048526764, -0.3107183277606964, 0.7048651576042175, -0.8491935729980469, 0.18082046508789062, -0.44266679883003235, -0.27303221821784973, -0.6588594317436218, 0.5010919570922852, -0.9220029711723328, 0.836015522480011, -0.46382907032966614, -0.840002715587616, 0.714735746383667, -0.9464669823646545, -0.5659894943237305, 0.013443888165056705, 0.22273516654968262, -0.46161070466041565, 0.04530749097466469, 0.5109928250312805, 0.47527530789375305, -0.14082768559455872, 0.23278705775737762, -0.005354394670575857, -0.3446487784385681, 0.28354182839393616, -0.5244409441947937, 0.005236300639808178, 0.09048821032047272, -0.24155662953853607, 0.3230505585670471, -0.0842766985297203, -0.07329186797142029, 0.25840359926223755, -0.7035485506057739, -0.40143129229545593, 0.2703508138656616, 0.204170823097229, 0.42739537358283997, 0.4438494145870209, -0.3963276147842407, 0.13284586369991302, -0.2907032072544098, -0.004405337385833263, 0.41252341866493225, 0.2892596125602722, 0.24789884686470032, -0.6309354901313782, 0.6625893712043762, 0.31971320509910583, 0.5107434988021851, -0.7772075533866882, -0.47589895129203796, -0.5041511058807373, 0.2001892775297165, 0.26661762595176697, 0.4650292694568634, -0.8907174468040466, -0.01142245251685381, -0.14688768982887268, -0.28979530930519104, -0.24259774386882782, -0.008271120488643646, 0.6048593521118164, 0.21727406978607178, 0.7066192626953125, -0.16136962175369263, -0.3397941291332245, -0.5947733521461487, -0.5906763672828674, 0.5022422075271606, 0.08736280351877213, 0.07170616090297699, 0.5831735134124756, 0.07695164531469345, 0.8610498905181885, -0.8074635863304138, -0.3651774823665619, -0.2793147563934326, 0.20694425702095032, -0.39378249645233154, 0.3958384096622467, 0.3301307260990143, -1.4829049110412598, -0.6636641621589661, -0.3649420738220215, -0.7262924313545227, 0.3080853819847107, -0.17629152536392212, 0.3619026839733124, 0.05022373050451279, 0.6598141193389893, -0.4235714077949524, 0.5638989806175232, 0.08998319506645203, -0.27665576338768005, 0.9914494752883911, -0.0038053051102906466, 0.4911681115627289, -1.1591148376464844, 0.0680423304438591, -0.005240431521087885, -0.03466132655739784, -0.770430862903595, 0.13814346492290497, 0.13347093760967255, -0.12264332920312881, -0.6455544233322144, 0.49873581528663635, -0.400454044342041, 0.4980427622795105, -0.636551558971405, 0.00932485144585371, 0.07585795968770981, 0.7179367542266846, 0.05514600872993469, 0.7786679863929749, 0.16182072460651398, -0.7479365468025208, 0.13557401299476624, 0.14960017800331116, 0.33411574363708496, 0.5060760974884033, -0.3653896450996399, 0.05657064542174339, -0.5409670472145081, 0.3962663412094116, -1.1426652669906616, -0.4425950348377228, 0.46956202387809753, -0.5557571649551392, 0.13929776847362518, -0.25047069787979126, -0.5290266871452332, -0.36505380272865295, -0.8399727940559387, 0.4984804391860962, 0.06699473410844803, -0.29709094762802124, 0.6727749705314636, 0.15377920866012573, -0.5948123931884766, -0.69542396068573, -0.14406676590442657, -0.08637697994709015, -0.3843802809715271, -0.2470187097787857, 0.32536816596984863, -0.5460970401763916, 0.3414001166820526, -0.16326582431793213, -0.25984978675842285, -0.10923252254724503, 0.08294884115457535, 0.3275487422943115, 0.054137665778398514, 0.1950986087322235, 0.19677706062793732, 0.48936498165130615, -0.41532862186431885, 0.11870834976434708, -0.12978066504001617, 0.557925283908844, 0.5274363160133362, -0.26288270950317383, -0.4612894654273987, 0.642235279083252, 0.6087815165519714, -0.5287559628486633, 0.7078644037246704, 0.7879824042320251, -0.31238746643066406, -0.2705551087856293, -0.5190111994743347, -0.49779269099235535, -0.45225125551223755, 0.23861180245876312, -0.30490198731422424, -0.6150401830673218, 0.39585769176483154, -0.4194529056549072, -0.10384897142648697, 0.575402021408081, 0.1846097707748413, 0.032955072820186615, 1.1995315551757812, 0.9396912455558777, 0.09302949160337448, 0.35482481122016907, -0.0510936863720417, 0.14406608045101166, -0.9382860660552979, -0.47223711013793945, -0.28237006068229675, -0.37748003005981445, -0.38965660333633423, -0.3986847698688507, 0.4036208987236023, -0.031593408435583115, 0.1100219264626503, 0.19675087928771973, -0.517536997795105, 0.7589377164840698, 0.7205987572669983, 0.25567370653152466, 0.4784500300884247, -0.16774797439575195, -0.2726564109325409, -0.07522812485694885, -0.4401577413082123, -0.42685064673423767, 1.2676682472229004, 0.07366558909416199, 0.6737970113754272, -0.018458569422364235, 0.6016744375228882, 0.4692891538143158, 0.026548558846116066, -0.634647011756897, 0.34065425395965576, -0.12908457219600677, -0.7564741969108582, -0.32064783573150635, -0.18827080726623535, -0.926796555519104, 0.14022690057754517, -0.18011774122714996, -0.770660936832428, -0.1458713561296463, -0.018369607627391815, -0.6536386013031006, 0.22437076270580292, -0.6197760701179504, 1.056416392326355, -0.13834066689014435, -0.42719823122024536, -0.3474962115287781, -0.7313348650932312, 0.26680004596710205, -0.2156228870153427, 0.11460491269826889, 0.07838821411132812, -0.2073218673467636, 1.0231908559799194, 0.12405736744403839, 1.0694350004196167, -0.0630057156085968, 0.12656480073928833, 0.1436743140220642, 0.3479684591293335, 0.3268512785434723, 0.20038506388664246, 0.2665484547615051, -0.2625398635864258, -0.008584038354456425, -0.5017430782318115, -0.2906748950481415, 0.6103995442390442, -0.38421982526779175, -0.31131279468536377, -0.5715290904045105, -0.8331873416900635, -0.11743389070034027, 0.4215568006038666, 0.4270137548446655, 0.35201317071914673, -0.16290099918842316, -0.06622239947319031, 0.800081729888916, -0.19134877622127533, 0.8434761166572571, 0.5447865724563599, 0.0672445073723793, -0.3598996698856354, 1.0770385265350342, -0.2005985677242279, 0.04524882882833481, 0.5124226808547974, 0.2577037513256073, -0.4926955997943878, -0.6396811008453369, -0.3321778476238251, 0.2597103416919708, -0.5719907283782959, -0.2443688064813614, -0.905086874961853, -0.03998333588242531, -0.28428009152412415, -0.09796645492315292, -0.03926006332039833, 0.13192960619926453, -0.4440397024154663, -0.13007137179374695, 0.28528037667274475, 1.109026551246643, 0.17099668085575104, 0.40235504508018494, -1.0624971389770508, 0.4871876537799835, 0.28392618894577026, 0.059974826872348785, 0.21994909644126892, -0.004205825738608837, -0.33535075187683105, -0.14812114834785461, -0.8267669677734375, -0.9294200539588928, 0.3311641216278076, -0.05568293109536171, 0.5092937350273132, 0.756502628326416, 0.48323312401771545, 0.3128419518470764, -0.4065290689468384, 1.0979478359222412, 0.21058721840381622, -0.6684318780899048, 0.5974845886230469, -0.6480077505111694, 0.4452737271785736, 0.4975605607032776, 0.9236742258071899, -0.5009153485298157, -0.23316116631031036, -0.6039506793022156, -1.0332746505737305, 0.5399212837219238, 0.11284811794757843, 0.11368485540151596, 0.055954430252313614, 0.056372255086898804, 0.5335365533828735, 0.8685110807418823, -0.7990157604217529, -0.24848473072052002, -0.061556749045848846, 0.017842289060354233, -0.2582007646560669, -0.5458276271820068, 0.07939797639846802, 0.16959472000598907, 0.47473832964897156, -0.42061594128608704, -0.029909463599324226, 0.02037452906370163, -0.3585034906864166, -0.05520503968000412, 0.287308931350708, 0.8296732306480408, 0.6991857290267944, -0.1787741482257843, -0.07109084725379944, -0.23573026061058044, -0.5717294812202454, -0.11515257507562637, 0.3087581396102905, -0.1956380158662796, -0.3352457582950592, 0.14772307872772217, 0.4382801651954651, 0.41233521699905396, -0.542921245098114, 0.46563372015953064, -0.03603404387831688, -0.01204441674053669, -0.04139247164130211, -0.04632560908794403, 0.042068976908922195, 0.019483288750052452, 0.7431108951568604, 0.2131156176328659, 0.4657781422138214, -0.2239808738231659, 0.4209209382534027, 0.12663961946964264, -0.23739120364189148, -0.16861657798290253, 0.9813276529312134, 0.43702298402786255, 0.014831787906587124, 0.32682353258132935, -0.3557411730289459, -0.6216776967048645, 0.6403799653053284, 0.3366662263870239, 0.8284983038902283, -0.42395904660224915, 0.36878150701522827, 0.2221975177526474, 0.25705793499946594, 0.07079821079969406, 0.3067563474178314, -0.25201600790023804, -0.4607613682746887, -0.6793803572654724, -0.6007040143013, -0.4574167728424072, 0.12099970877170563, -0.7349357008934021, -0.049568966031074524, -0.20266972482204437, -0.12045235931873322, 0.14152319729328156, 0.013635189272463322, -0.6329821348190308, 0.33976393938064575, 0.14451418817043304, 0.7460508942604065, -0.9639800786972046, 0.27939799427986145, 0.8772137761116028, -0.6962235569953918, -0.4676017165184021, 0.7681748867034912, 0.13226135075092316, -0.18846692144870758, 0.4249804615974426, 0.5792253017425537, -0.08403701335191727, 0.1717870533466339, -0.45057329535484314, -0.6831412315368652, 0.7261478304862976, -0.0873408317565918, -0.04746043682098389, -0.36048611998558044, 0.17130176723003387, 0.2567425072193146, -0.0772496834397316, 0.39555197954177856, 0.3663523495197296, 0.54802006483078, -0.12308172881603241, -0.9123496413230896, 0.3409050703048706, -0.2804858386516571, -0.15515141189098358, 0.2226446270942688, -0.5466977953910828, 0.6376431584358215, -0.3521483242511749, -0.030598875135183334, 0.07412740588188171, 0.2184351533651352, 0.022376712411642075, 0.6903620362281799, 0.40896841883659363, 0.5188595056533813, 0.4289259612560272, -0.14596866071224213, 0.8655946850776672, -0.11372226476669312, 0.3481743037700653, 0.898651123046875, -0.10559097677469254, 0.6032450795173645, 0.5834671258926392, 0.16543787717819214, 0.5330869555473328, 0.6378081440925598, 0.11128392070531845, 0.7748289108276367, 0.13201968371868134, -0.18251925706863403, -0.4507065415382385, -0.3441353142261505, -0.06911084055900574, 0.3632851839065552, 0.34830525517463684, -0.022463694214820862, -0.5299527645111084, 0.49371907114982605, 0.24329453706741333, 0.13549496233463287, -0.3579752743244171, 1.0553818941116333, -0.12632744014263153, -0.7093791365623474, 0.12429187446832657, -0.18235957622528076, 0.9578849673271179, -0.6704128384590149, -0.08526702225208282, 0.0902513712644577, -0.05550378933548927, -0.3063328266143799, -0.46374115347862244, 0.0774550661444664, -0.2887211740016937, -0.7030622363090515, -0.15543830394744873, 0.7892417311668396, -0.368074506521225, -0.14860498905181885, 0.19827419519424438, 0.6451953053474426, 0.1515982449054718, -0.6891001462936401, -0.6784440279006958, 0.016274847090244293, -0.09350939840078354, -0.16091464459896088, 0.3342849016189575, 0.0701557919383049, 0.051358066499233246, 0.6739094257354736, 0.9264559745788574, -0.2693030834197998, 0.13581344485282898, -0.2103089839220047, 0.9186266660690308, -0.8558948040008545, -1.1333390474319458, -0.5903735160827637, 0.9620072245597839, -0.15317395329475403, -0.14257025718688965, 0.8890892863273621, 0.6481838226318359, 0.781005322933197, -0.7328205108642578, 0.9395123720169067, 0.16084475815296173, 0.5686662793159485, -0.44659650325775146, 0.7409200668334961, -0.7693458199501038, -0.09951639920473099, -0.38576003909111023, -0.7248965501785278, -0.11376164108514786, -0.16250747442245483, -0.33073750138282776, 0.3287319540977478, 1.0743017196655273, 0.32513293623924255, -0.08282102644443512, 0.03702578693628311, 0.33923208713531494, -0.28964802622795105, 0.11100403219461441, 0.4629545211791992, 0.808941662311554, -0.41410472989082336, 0.7318581938743591, -0.24627099931240082, -0.1624232828617096, -0.5765981078147888, -0.9427191019058228, -0.963935375213623, -0.7497971653938293, -0.3056168556213379, 0.1413990706205368, 0.12615159153938293, 0.39275991916656494, 0.7563740015029907, -0.7630088329315186, 0.19882498681545258, 0.313890665769577, 0.1256195306777954, -0.6433687210083008, -0.36624667048454285, 0.30894649028778076, -0.5157841444015503, -0.900078296661377, 0.5940898060798645, 0.12527969479560852, -0.18741336464881897, -0.14582324028015137, 0.2329167276620865, -0.30623120069503784, 0.12443613260984421, 0.6248331069946289, 0.19120681285858154, -0.4778875708580017, -0.005249495152384043, 0.17288872599601746, 0.28962042927742004, -0.16925407946109772, 0.8879992961883545, -0.9299606680870056, 0.3982647955417633, 0.4241463243961334, 0.4715566635131836, 0.2586953043937683, 0.3662513196468353, 0.42122605443000793, -0.8631606101989746, -0.26784569025039673, 0.13242566585540771, -0.036312900483608246, 0.23307286202907562, -0.8961336612701416, 0.07545840740203857, 0.16513517498970032, -0.5893638730049133, -0.60793137550354, 0.29578253626823425, -0.9573065638542175, -0.5090482831001282, 0.9500133991241455, 0.1356714367866516, -0.07607239484786987, -0.3656604588031769, -0.24686340987682343, 0.4033161401748657, -0.7474876046180725, 0.762203574180603, 0.41031843423843384, -0.18610267341136932, 0.09863094240427017, -0.6856813430786133, 0.8580967783927917, 0.21136808395385742, -1.1250466108322144, -0.11040130257606506, 0.2818281948566437, 0.6385277509689331, 0.5588191747665405, 0.3297158479690552, 0.10853928327560425, 0.583062469959259, -0.13257859647274017, 0.0811476856470108, -0.35074034333229065, -0.9459308981895447, -0.2937178909778595, 0.48437198996543884, -0.34331098198890686, -0.5398489236831665 ]
http://arxiv.org/abs/2405.04286v1
http://arxiv.org/pdf/2405.04286v1
Who Wrote This? The Key to Zero-Shot LLM-Generated Text Detection Is GECScore
2024-05-07T12:57:01
2024-05-07T12:57:01
Junchao Wu, Runzhe Zhan, Derek F. Wong, Shu Yang, Xuebo Liu, Lidia S. Chao, Min Zhang
cs.CL
cs.CL
The efficacy of an large language model (LLM) generated text detector depends substantially on the availability of sizable training data. White-box zero-shot detectors, which require no such data, are nonetheless limited by the accessibility of the source model of the LLM-generated text. In this paper, we propose an simple but effective black-box zero-shot detection approach, predicated on the observation that human-written texts typically contain more grammatical errors than LLM-generated texts. This approach entails computing the Grammar Error Correction Score (GECScore) for the given text to distinguish between human-written and LLM-generated text. Extensive experimental results show that our method outperforms current state-of-the-art (SOTA) zero-shot and supervised methods, achieving an average AUROC of 98.7% and showing strong robustness against paraphrase and adversarial perturbation attacks.
[ 0.07342126220464706, -0.9597049355506897, 0.9078536033630371, -0.3739490211009979, -0.16890347003936768, 0.08242201805114746, -0.19646234810352325, -0.40576788783073425, -0.032305892556905746, 0.32794156670570374, -0.47970065474510193, -1.1345984935760498, -0.57158362865448, 0.3049490749835968, -0.557874321937561, 1.094653844833374, 0.11924721300601959, -0.3924780488014221, -0.12842661142349243, 0.22914564609527588, -0.17184612154960632, -0.6704895496368408, -0.4786056876182556, -0.21020862460136414, 0.35471057891845703, 0.6089071035385132, 0.34681078791618347, 0.5106777548789978, 0.14613433182239532, 0.14149071276187897, -0.32883667945861816, 0.237627774477005, -0.443336546421051, 0.0953824371099472, -0.037620749324560165, -0.4562769830226898, -0.4535183012485504, -0.2579018771648407, 0.49871209263801575, -0.030779721215367317, -0.028856340795755386, 0.07908029109239578, -0.03716738149523735, 0.16269083321094513, -0.9675250053405762, -0.11636310815811157, -0.8696932196617126, 0.22080518305301666, -0.44968533515930176, -0.3713623583316803, -0.8069114685058594, 0.13964985311031342, -0.6507728695869446, -0.2594943344593048, 0.43351978063583374, -0.3633072078227997, 0.7558900117874146, -0.019653765484690666, -0.2502650022506714, -0.4680423140525818, -0.6075747609138489, 0.7411981821060181, -0.8574726581573486, -0.15958532691001892, 0.2443428933620453, 0.05060607194900513, -0.15809674561023712, -0.20854054391384125, -0.7560046315193176, -0.195853590965271, 0.07127027213573456, 0.2968289852142334, -0.46664416790008545, 0.04169772192835808, 0.24223853647708893, 0.23214095830917358, -0.7381778359413147, -0.045014411211013794, -0.04313123598694801, -0.35712212324142456, 0.4982832372188568, 0.10231872648000717, 0.5606590509414673, -0.4009132981300354, -0.008078469894826412, 0.1917143017053604, -0.7142336368560791, 0.0022497072350233793, 0.43349382281303406, 0.2863699197769165, 0.01375188771635294, 0.624813437461853, -0.42221733927726746, 0.7147639989852905, -0.015346217900514603, -0.3141620457172394, 0.0734676942229271, -0.22946015000343323, -0.2177659273147583, 0.3281063139438629, 0.9146022200584412, 0.2843898832798004, 0.46708962321281433, -0.3612426519393921, -0.11662407964468002, 0.5699918270111084, 0.2514100968837738, -0.6915943622589111, 0.009483004920184612, -0.03906949609518051, 0.09882893413305283, -0.7731332182884216, 0.12035603821277618, -0.4463602602481842, -0.1815580278635025, 0.15429309010505676, 0.3187542259693146, -0.16543664038181305, 0.12800341844558716, 0.2679603695869446, 0.000018915294276666827, 0.12105413526296616, 0.10544034838676453, -0.808053195476532, 0.1744900345802307, 0.576109766960144, 0.8760808706283569, 0.06284746527671814, -0.22031238675117493, -0.8838837146759033, 0.2965486943721771, -0.48883652687072754, 1.2937684059143066, -0.2539199888706207, -0.4794299900531769, 0.010170988738536835, -0.1281188726425171, 0.26006975769996643, -0.18757843971252441, 0.7660776972770691, -0.13052445650100708, 0.06020749360322952, -0.023800864815711975, -0.47297754883766174, 0.12844091653823853, 0.40884098410606384, -0.06904035806655884, 1.1068265438079834, -0.07941530644893646, -0.6379494071006775, 0.21736736595630646, -0.3319756090641022, -0.751592218875885, 0.21299830079078674, -0.40416812896728516, -0.6844438314437866, 0.3680957555770874, 0.5733356475830078, 0.6769905090332031, -0.06892962008714676, 0.33445417881011963, -0.2772181034088135, -0.6476873159408569, 0.26832789182662964, -0.602340579032898, 0.6199259161949158, -0.0459880568087101, -0.4737012982368469, -0.21275515854358673, -0.9006462097167969, 0.02896788716316223, 0.3076106011867523, -0.34511885046958923, -0.16576208174228668, -0.011134269647300243, -0.17204223573207855, 0.1864922195672989, 0.11377153545618057, -0.9280877113342285, -0.05719367414712906, -0.29255741834640503, 0.1784113645553589, 0.6871331930160522, 0.07706564664840698, 0.40961697697639465, -0.10146535933017731, 0.6745697855949402, -0.24534223973751068, -0.04663582146167755, -0.591728150844574, -0.4054412245750427, -0.7374361753463745, -0.20408950746059418, 0.04392467811703682, 0.7617530822753906, -0.601327121257782, 0.6893279552459717, 0.001563997007906437, -0.5543801188468933, -0.25678980350494385, 0.37997162342071533, 0.8174625039100647, 0.6736400723457336, 0.32724571228027344, -0.199466735124588, -0.28874871134757996, -0.640964150428772, -0.47491082549095154, -0.2512994706630707, -0.059152815490961075, 0.3272388279438019, 0.4645277261734009, -0.017938461154699326, 0.8086880445480347, -0.9565615057945251, -0.371035635471344, -0.27428969740867615, 0.07411734759807587, 0.0884704738855362, 0.15432296693325043, 0.5461614727973938, -0.019197789952158928, -0.7239557504653931, 0.056424032896757126, -1.1652114391326904, -0.5732556581497192, -0.06904253363609314, -0.13727883994579315, 0.1839669644832611, 0.7639691829681396, -0.4784259796142578, 0.5754116177558899, 0.4534801244735718, -0.4531911611557007, 0.6598758101463318, -0.21157623827457428, 0.07425329834222794, -0.9589860439300537, -0.08082281053066254, 0.2513035833835602, -0.5721551775932312, -0.774060845375061, 0.12521454691886902, 0.3018687963485718, -0.3199447691440582, -0.509066641330719, 0.40531662106513977, -0.5389978885650635, 0.08682247996330261, -0.34251269698143005, 0.26949313282966614, 0.1271604597568512, 0.506250262260437, -0.2984353303909302, 0.7529025673866272, 0.447165310382843, -0.25040268898010254, -0.046703584492206573, 0.12863458693027496, -0.18649333715438843, 1.0256314277648926, -0.6281297206878662, 0.4484221041202545, -0.28135359287261963, 0.17803499102592468, -1.0645661354064941, -0.1696670800447464, 0.24000389873981476, -0.7314243912696838, 0.3469861149787903, -0.1360636055469513, -0.5406623482704163, -0.10488872975111008, -0.4550389349460602, 0.05255906283855438, 0.4655148983001709, -0.3720392882823944, 0.3514520227909088, 0.24288231134414673, -0.15954266488552094, -0.5910221934318542, -0.8983556628227234, 0.4905330538749695, 0.3309153914451599, -0.590847909450531, 0.2711199223995209, -0.07641509920358658, 0.08093789964914322, 0.09267890453338623, -0.11882327497005463, 0.12793204188346863, 0.3258894085884094, 0.20342044532299042, 0.4035395681858063, -0.32166191935539246, -0.11576024442911148, 0.0543128065764904, -0.45931246876716614, -0.18859022855758667, -0.2573354244232178, 0.3472391664981842, 0.0453292578458786, -0.4534302055835724, -0.5872265696525574, 0.38575518131256104, 0.5091254711151123, -0.0015076047275215387, 0.48271021246910095, 0.28279349207878113, -0.45540904998779297, -0.5285494327545166, -0.280774861574173, 0.11028903722763062, -0.4192989468574524, 0.20049792528152466, -0.03580716997385025, -0.8128325939178467, 0.14581894874572754, 0.4534234404563904, -0.2503904700279236, 0.3478583097457886, 0.5933808088302612, -0.15255407989025116, 0.8835709691047668, 0.4890665113925934, -0.24241887032985687, 0.3993262052536011, -0.014653188176453114, 0.33218660950660706, -0.522331953048706, 0.11266911774873734, -0.5417394638061523, -0.11299274861812592, -0.15089641511440277, -0.21911458671092987, 0.14953789114952087, 0.0678924173116684, -0.05464036390185356, 0.45899027585983276, -0.7167001962661743, 0.897990882396698, 0.4089690148830414, 0.15726689994335175, 0.5970103740692139, 0.25051239132881165, -0.2632855474948883, 0.09717713296413422, -0.3694237172603607, -0.6215782165527344, 1.2905062437057495, 0.08037284016609192, 0.60163813829422, -0.0893472209572792, 0.9959489107131958, 0.477134644985199, 0.34964075684547424, -0.6592729091644287, 0.6042981147766113, -0.4903213381767273, -0.6405985355377197, 0.04033747315406799, -0.22585497796535492, -0.48290783166885376, 0.16965724527835846, -0.32895392179489136, -0.7224618196487427, -0.2166835516691208, 0.2077961564064026, -0.4165430963039398, 0.3774745762348175, -0.7864912748336792, 0.9535419940948486, -0.21124115586280823, -0.17670714855194092, 0.27774283289909363, -0.20241473615169525, 0.3632999658584595, -0.04306582733988762, 0.17875191569328308, -0.3210521936416626, 0.1068715825676918, 0.3276994526386261, -0.34146735072135925, 0.9321246147155762, -0.15757542848587036, -0.11510586738586426, 0.5278605818748474, 0.3073602616786957, 0.5997894406318665, -0.03144611418247223, 0.054159220308065414, 0.26364666223526, -0.5506711006164551, -0.41657495498657227, -0.4156401455402374, 0.6317059993743896, -0.6210947036743164, -0.39778006076812744, -0.682009756565094, -0.4627508819103241, 0.06684605777263641, 0.09110153466463089, 0.5266740918159485, 0.5054582357406616, -0.3935326039791107, 0.051254019141197205, 0.29617875814437866, -0.1264849305152893, 0.4592970311641693, 0.7973448634147644, -0.0073565272614359856, -0.47681325674057007, 0.7848371863365173, 0.06547161936759949, 0.24368374049663544, 0.4639374017715454, 0.00623420812189579, -0.0007347213104367256, -0.7761827111244202, -0.5699318051338196, 0.22708551585674286, -0.5678752660751343, -0.5507490038871765, -0.732065737247467, -0.32730725407600403, -0.3184804320335388, -0.7670358419418335, -0.1216706857085228, -0.13672350347042084, -0.6425724029541016, -0.3207375109195709, 0.23049594461917877, 0.5176455974578857, 0.016127100214362144, 0.7509751915931702, -0.6395981907844543, 0.4995678961277008, 0.16381682455539703, 0.021021883934736252, -0.1882050484418869, -0.6012383699417114, -0.009207234717905521, -0.12418555468320847, -0.4571349620819092, -0.8921682834625244, 0.4380549490451813, 0.1302603781223297, 0.24700477719306946, 0.2816215455532074, -0.11318434029817581, 0.5634311437606812, -0.5664739608764648, 0.757489800453186, 0.3524361848831177, -1.1725132465362549, 0.6867434978485107, -0.2935263216495514, 0.5478782653808594, 0.5377110242843628, -0.2131531685590744, -0.6564334630966187, -0.7977088689804077, -0.6449002027511597, -0.5168418884277344, 0.8567017316818237, 0.2977834641933441, 0.2674263119697571, -0.24551920592784882, 0.47986331582069397, -0.24414801597595215, 0.07527830451726913, -0.9432491064071655, -0.13324953615665436, 0.1043388694524765, -0.5506346821784973, -0.3084591031074524, -0.5815505385398865, 0.34581008553504944, 0.16497115790843964, 0.7077164053916931, -0.2493593841791153, 0.1008334830403328, 0.35819822549819946, -0.45440447330474854, -0.2683532238006592, 0.5918073058128357, 0.5839005708694458, 0.11401350051164627, -0.23579134047031403, 0.40473660826683044, 0.21810652315616608, -0.5248467922210693, 0.4126398265361786, -0.06581628322601318, -0.955766499042511, 0.2072312980890274, 0.4944688677787781, 0.44628679752349854, 0.2767288386821747, -0.6148192286491394, 0.8071942329406738, 0.0664403960108757, -0.3865427076816559, -0.16354164481163025, 0.25013014674186707, 0.03401068598031998, 0.07063635438680649, 0.33216312527656555, 0.03899762034416199, -0.13647820055484772, -0.5093737244606018, 0.35909324884414673, 0.5487291812896729, -0.5196160674095154, -0.3612889349460602, 0.6256688833236694, 0.06444912403821945, -0.42712727189064026, 0.2527831792831421, -0.6391514539718628, -0.5963150858879089, 0.49465566873550415, 0.8617987632751465, 1.012588381767273, -0.2126326858997345, 0.6904754638671875, 0.24684195220470428, 0.4037657380104065, -0.01806737668812275, 0.24433383345603943, -0.054676275700330734, -0.919702410697937, -0.407382071018219, -0.6140275597572327, -0.26176881790161133, 0.1910039782524109, -0.3459339141845703, 0.47601065039634705, -0.6237561106681824, -0.014034303836524487, 0.19155891239643097, -0.08574701845645905, -0.2619321346282959, 0.17752298712730408, 0.5018036365509033, 0.5556585788726807, -1.0698455572128296, 0.5837357640266418, 0.43915173411369324, -0.3291515111923218, -0.5095646381378174, 0.07697966694831848, 0.3522399365901947, -0.9138666391372681, 0.23837459087371826, 0.1925429403781891, -0.3435188829898834, 0.09072616696357727, -0.6621354818344116, -0.32915863394737244, 1.050551176071167, 0.6686253547668457, -0.5718130469322205, -0.01894470676779747, 0.06460773199796677, 0.6385993361473083, -0.2787919342517853, 0.26070499420166016, 0.6372333765029907, 0.13933740556240082, 0.03263930231332779, -0.35172536969184875, -0.01228894293308258, -0.1790991872549057, -0.17511612176895142, 0.38766011595726013, -0.16649790108203888, 0.8124669790267944, -0.08374077081680298, -0.4530872404575348, -0.03653769940137863, 0.45236480236053467, 0.2256452888250351, 0.5233040452003479, 0.2375878244638443, 0.8629991412162781, 0.6397799849510193, 0.1465374380350113, 1.1081514358520508, -0.10531899333000183, 0.48297515511512756, 1.0872377157211304, -0.42814263701438904, 0.820299506187439, 0.09828122705221176, -0.12340487539768219, 0.48459917306900024, -0.0024864538572728634, -0.23287922143936157, 0.2942139506340027, 0.10400666296482086, -0.6333957314491272, -0.355519562959671, -0.1112930029630661, 0.05877547338604927, 0.5037400722503662, 0.11565875262022018, -0.3963233232498169, -0.6585500240325928, -0.2696777880191803, 0.5647755265235901, 0.5077419281005859, -0.33267149329185486, 0.7744451761245728, 0.007631373126059771, -0.48354050517082214, 0.5964767932891846, 0.1463250070810318, 0.8896920680999756, -0.5122332572937012, 0.1258019357919693, -0.2311318963766098, 0.44739919900894165, -0.3550792932510376, -0.92839515209198, 0.12370282411575317, 0.7854146361351013, -0.15455932915210724, -0.06977743655443192, 1.1520650386810303, -0.4394250214099884, -0.9022282361984253, 0.32411614060401917, 0.520147442817688, 0.14645706117153168, -0.38621535897254944, -0.4046500623226166, -0.06978616118431091, 0.12950463593006134, 0.17202329635620117, 0.21671082079410553, 0.35639649629592896, 0.21401463449001312, 0.0981651246547699, 0.8776949644088745, 0.25323286652565, -0.020471494644880295, -0.07936922460794449, 0.5239890813827515, -0.737147331237793, -0.5014856457710266, -1.254525899887085, 0.4501038193702698, -0.23614725470542908, -0.2999297082424164, 0.7201206684112549, 0.5442615747451782, 0.8133567571640015, -0.11225159466266632, 1.0730717182159424, 0.1325289011001587, 0.3555257320404053, -0.45565319061279297, 0.6011670231819153, -0.4000791311264038, 0.09971266239881516, -0.5420095324516296, -0.7626330256462097, -0.7711463570594788, 0.6769194602966309, -0.29903852939605713, -0.36956140398979187, 0.8020619750022888, 1.1606308221817017, -0.06835517287254333, -0.25788614153862, 0.7023001313209534, 0.11947251111268997, 0.47207891941070557, 0.8480757474899292, 0.7740690112113953, -0.6984285712242126, 0.954328179359436, -0.16753295063972473, -0.28113001585006714, -0.308697372674942, -1.1102761030197144, -1.049383521080017, -0.007845824584364891, -0.4090205132961273, -0.3118921220302582, 0.22291076183319092, 0.362039178609848, 0.36932748556137085, -0.8982227444648743, -0.005676082335412502, -0.27912941575050354, 0.14992935955524445, -0.04045182093977928, -0.1836075633764267, 0.2018471509218216, -0.3348010182380676, -0.5446984767913818, 0.469245970249176, 0.8033700585365295, 0.11194644123315811, -0.045069511979818344, 0.021564971655607224, -0.2175520807504654, 0.2897202670574188, 0.5876193046569824, 0.4060097932815552, -0.5241780877113342, -0.42515578866004944, 0.19508011639118195, -0.408121258020401, 0.18291649222373962, 0.7604945302009583, -0.5267128348350525, 0.43345171213150024, 0.4164072275161743, 0.5421937108039856, 0.5213931798934937, 0.034888070076704025, 0.3061915636062622, -1.0181610584259033, 0.12039810419082642, 0.03596533462405205, 0.3706629276275635, 0.46850821375846863, -0.6087557673454285, 0.32264676690101624, 0.5690163969993591, -0.4661308526992798, -0.8023583292961121, 0.14119935035705566, -1.0508331060409546, -0.32972729206085205, 1.2060632705688477, -0.1105227991938591, -0.5167223215103149, -0.049425505101680756, -0.4163629114627838, 0.09738429635763168, -0.5261795520782471, 0.5433271527290344, 0.7053582668304443, 0.28183165192604065, -0.0431300550699234, -0.47402042150497437, 0.16026245057582855, 0.17698420584201813, -1.0040581226348877, 0.05825335532426834, 0.6214407086372375, 0.43643075227737427, 0.18072497844696045, 0.9579397439956665, -0.15821883082389832, 0.445505291223526, 0.05005357787013054, 0.26586848497390747, -0.31922322511672974, -0.41897621750831604, -0.4096505343914032, 0.3366546928882599, -0.0675867572426796, -0.1768946349620819 ]
http://arxiv.org/abs/2405.04271v1
http://arxiv.org/pdf/2405.04271v1
Generating Feature Vectors from Phonetic Transcriptions in Cross-Linguistic Data Formats
2024-05-07T12:40:59
2024-05-07T12:40:59
Arne Rubehn, Jessica Nieder, Robert Forkel, Johann-Mattis List
cs.CL
cs.CL
When comparing speech sounds across languages, scholars often make use of feature representations of individual sounds in order to determine fine-grained sound similarities. Although binary feature systems for large numbers of speech sounds have been proposed, large-scale computational applications often face the challenges that the proposed feature systems -- even if they list features for several thousand sounds -- only cover a smaller part of the numerous speech sounds reflected in actual cross-linguistic data. In order to address the problem of missing data for attested speech sounds, we propose a new approach that can create binary feature vectors dynamically for all sounds that can be represented in the the standardized version of the International Phonetic Alphabet proposed by the Cross-Linguistic Transcription Systems (CLTS) reference catalog. Since CLTS is actively used in large data collections, covering more than 2,000 distinct language varieties, our procedure for the generation of binary feature vectors provides immediate access to a very large collection of multilingual wordlists. Testing our feature system in different ways on different datasets proves that the system is not only useful to provide a straightforward means to compare the similarity of speech sounds, but also illustrates its potential to be used in future cross-linguistic machine learning applications.
[ -0.6127010583877563, -0.13099370896816254, 0.22022007405757904, 0.28235533833503723, -0.35737574100494385, 0.13146504759788513, -0.3832012414932251, -0.5699559450149536, 0.7122128009796143, 0.4434104859828949, -0.4077393412590027, -0.6055784821510315, -0.41876518726348877, 0.26813235878944397, -0.7813211679458618, 0.8084457516670227, 0.0725148394703865, 0.05262567102909088, 0.015600831247866154, -0.25230324268341064, -0.44517409801483154, -0.7595933675765991, 0.01499074324965477, 0.005056117195636034, 0.6557287573814392, 0.4268147647380829, 0.5241712927818298, 0.5398412346839905, 0.3762821555137634, 0.2496248483657837, -0.062297072261571884, 0.035740356892347336, -0.21153084933757782, 0.38747504353523254, -0.13681219518184662, -0.3907652199268341, -0.2308080941438675, -0.1220359057188034, 0.9071641564369202, 0.8212997317314148, 0.16551321744918823, 0.4389486610889435, 0.056894950568675995, 0.38489019870758057, -0.2646702826023102, 0.22411343455314636, -0.8178810477256775, 0.2386067807674408, -0.521504819393158, -0.3443918526172638, -0.04580952599644661, -0.39984309673309326, 0.4196130335330963, -0.34847337007522583, 0.43052518367767334, -0.20413874089717865, 0.547650158405304, -0.10171004384756088, -0.02244037203490734, -0.5393034815788269, -1.0666438341140747, 0.6587740778923035, -0.4197489023208618, 0.8241758942604065, -0.11084672063589096, 0.3099673390388489, -0.3697633743286133, -0.5156291127204895, -0.4272569715976715, -0.2045271247625351, 0.08641437441110611, -0.12314587086439133, -0.08766008913516998, -0.5197834372520447, 0.207919642329216, 0.18722102046012878, -0.7950912714004517, -0.048749543726444244, -0.46912071108818054, -0.49139541387557983, 0.6364860534667969, -0.20878168940544128, 0.242322638630867, -0.11614223569631577, -0.24344636499881744, -0.4727391004562378, -0.8749994039535522, 0.21506524085998535, 0.6238054633140564, 0.8417075872421265, -0.13676100969314575, 0.7490411996841431, 0.16327768564224243, 0.3475257158279419, -0.03375835716724396, -0.3809577524662018, 0.6055771708488464, -0.31142133474349976, 0.15683649480342865, 0.689860999584198, 0.7008625864982605, -0.197201669216156, 0.2148541361093521, -0.2489168643951416, -0.4361289143562317, 0.21557152271270752, -0.15081022679805756, -0.600257158279419, -0.20944960415363312, 0.13437888026237488, -0.32148900628089905, -0.06569868326187134, 0.17743344604969025, -0.5554731488227844, -0.1601962000131607, -0.5421833992004395, 0.2588264048099518, -0.6716213226318359, -0.35345643758773804, -0.19495689868927002, -0.47486793994903564, 0.10259999334812164, -0.27001217007637024, -0.8591315150260925, 0.03841046243906021, 0.7097921967506409, 0.6803995966911316, -0.24883432686328888, -0.2645065188407898, -0.7123963236808777, 0.008436505682766438, -0.3024279773235321, 0.6748732328414917, -0.9369807839393616, -0.5998160243034363, 0.1406891942024231, -0.09559772908687592, 0.36931726336479187, -0.8926753997802734, 0.41419142484664917, -0.17971689999103546, -0.2252189666032791, -0.5407780408859253, -0.4755190312862396, -0.1309845894575119, 0.0783810168504715, -0.5255576372146606, 1.189349889755249, 0.11231504380702972, -0.6510084271430969, 0.44212740659713745, -0.1857825368642807, -0.592420220375061, 0.11089439690113068, -0.7828244566917419, -0.5194472670555115, 0.05462214723229408, 0.12594518065452576, 0.41021478176116943, -0.20861788094043732, 0.05670781433582306, -0.36363357305526733, -0.48435652256011963, 0.5569270253181458, -0.37726667523384094, 0.7669304013252258, 0.013230296783149242, -0.48372697830200195, -0.05845354497432709, -1.0602442026138306, -0.030027300119400024, 0.0006692525930702686, -0.46390360593795776, -0.4093649983406067, -0.11906096339225769, 0.14768804609775543, 0.038976460695266724, 0.27102217078208923, -0.7616157531738281, 0.052482955157756805, -0.18589282035827637, 0.2487303614616394, 0.4482567310333252, -0.03433491289615631, 0.12848970293998718, -0.27814802527427673, 0.6073258519172668, 0.3334668278694153, -0.19305306673049927, -0.16600222885608673, -0.565534234046936, -0.4825877249240875, -0.5904462933540344, 0.7769067883491516, 0.6799161434173584, -0.5548787713050842, 0.769405722618103, -0.3646051585674286, -0.5774927139282227, -0.5859769582748413, 0.09232756495475769, 0.45789578557014465, 0.17972755432128906, 0.34774845838546753, -0.6453865170478821, -0.8223834037780762, -0.852059543132782, -0.05531427636742592, -0.22302086651325226, -0.21947410702705383, 0.2814318537712097, 0.1603238880634308, -0.022447898983955383, 0.8379983305931091, 0.001210995251312852, -0.24857690930366516, -0.12571240961551666, 0.07878284901380539, 0.05409742519259453, 0.4621550142765045, 0.6988545060157776, -0.5788108110427856, -0.2581278383731842, 0.10365841537714005, -0.5271550416946411, -0.19499735534191132, 0.10399152338504791, -0.09409978240728378, 0.2484055757522583, 0.4302859604358673, -0.2566227614879608, 0.31024980545043945, 0.6096958518028259, -0.08112265914678574, 0.6201339364051819, -0.1042790561914444, 0.07312529534101486, -0.7556284666061401, 0.22592978179454803, -0.23379260301589966, -0.19122859835624695, -0.4393671154975891, -0.46806925535202026, -0.10046850889921188, -0.3663228452205658, -0.5297520160675049, 0.2612566351890564, -0.4536515772342682, -0.7544002532958984, 0.05726725980639458, 0.3053094744682312, -0.31774187088012695, 0.3196193277835846, 0.10713768005371094, 0.5555882453918457, 0.7667653560638428, -0.5878771543502808, 0.5598395466804504, 0.3938257694244385, -0.2772860527038574, 0.4660666882991791, -0.32156866788864136, 0.08715589344501495, -0.21270495653152466, 0.3444879949092865, -0.7220078706741333, 0.10552401840686798, 0.2195238620042801, -0.7078293561935425, 0.1542002260684967, -0.33687731623649597, -0.43255168199539185, -0.3266463577747345, -0.13415490090847015, 0.5787546634674072, 0.8075292706489563, -0.46724727749824524, 0.5160739421844482, 0.6929978728294373, -0.43953272700309753, -0.5399569272994995, -0.5977823138237, 0.055410418659448624, -0.2502290904521942, -0.573569655418396, 0.23016853630542755, 0.193752259016037, 0.07403767853975296, 0.09201069176197052, -0.02952103316783905, 0.2266598790884018, -0.17477592825889587, 0.22093616425991058, 0.07087963074445724, -0.48712390661239624, 0.1164918914437294, 0.03601705655455589, -0.06863480061292648, -0.00910620391368866, -0.8711243867874146, 0.6392211318016052, 0.1895936280488968, -0.4522536098957062, -0.1255165934562683, 0.6773562431335449, 0.6043828129768372, -0.4944607615470886, -0.019818691536784172, 0.8022144436836243, -0.35683271288871765, -0.3653903305530548, -0.32784074544906616, -0.15528200566768646, -0.3922949731349945, 0.24033835530281067, -0.5264350175857544, -0.738241970539093, 0.7897577881813049, 0.0722658559679985, 0.24515128135681152, 0.32492175698280334, 0.6361218094825745, 0.002876455197110772, 0.6853874921798706, 0.4489339292049408, -0.13463477790355682, 0.5293891429901123, -0.011689065024256706, 0.17661990225315094, -0.5605165958404541, -0.22625766694545746, -0.8229684233665466, -0.6853799819946289, -1.0123027563095093, -0.4651079475879669, 0.5025607347488403, -0.15562768280506134, 0.013563904911279678, 0.5665386915206909, -0.6127151250839233, 0.054255273193120956, 1.0202263593673706, 0.08701854944229126, 0.05980454385280609, 0.34533724188804626, -0.6504621505737305, -0.07637752592563629, -0.6020907163619995, -0.28019967675209045, 0.9651691913604736, 0.20330369472503662, 0.6012513637542725, 0.10640657693147659, 1.1283799409866333, 0.1918153613805771, -0.32426705956459045, -0.7002548575401306, 0.6954168081283569, -0.6690224409103394, -0.20602400600910187, -0.4735981523990631, -0.3149864375591278, -0.9263663291931152, -0.020948883146047592, -0.5447638630867004, -0.3818606734275818, 0.5074579119682312, 0.17573750019073486, -0.3018622398376465, 0.11228340864181519, -0.4168446660041809, 0.5457354784011841, -0.23928596079349518, 0.260143905878067, 0.0962863638997078, -0.5952976942062378, 0.1619352549314499, -0.34536299109458923, -0.0661240965127945, -0.2593948245048523, 0.21055330336093903, 0.902971088886261, -0.5147457718849182, 0.7468331456184387, -0.20386222004890442, -0.3136007785797119, 0.3255029022693634, 0.15362310409545898, 0.23545897006988525, -0.09596796333789825, -0.0490051805973053, 0.3953567445278168, 0.09230159968137741, -0.111887127161026, -0.47444507479667664, 0.7116256952285767, -0.5901817679405212, -0.3018692433834076, -0.30020350217819214, -0.5052780508995056, -0.21312281489372253, 0.17725396156311035, 0.1962977945804596, 0.638396143913269, -0.19635550677776337, 0.13552406430244446, 0.7379074096679688, -0.5091431140899658, 0.3533630669116974, 0.3825010359287262, -0.37953126430511475, -0.38366612792015076, 1.1983654499053955, 0.4355487525463104, 0.020743709057569504, 0.3659921884536743, 0.2725299298763275, -0.29595747590065, -0.6003545522689819, -0.6270928978919983, 0.1024603620171547, -0.5511282086372375, -0.05238610506057739, -0.4717665910720825, -0.37062937021255493, -0.6241288185119629, 0.159568190574646, -0.35148346424102783, -0.5743833184242249, 0.0015774039784446359, 0.27112868428230286, 0.6707321405410767, 0.6815952062606812, -0.37733954191207886, -0.2774603068828583, -1.2201248407363892, 0.5270248651504517, 0.14475421607494354, 0.28214773535728455, -0.17328611016273499, -0.5363989472389221, -0.1789623349905014, -0.02215905673801899, 0.03906535357236862, -0.613599956035614, 0.45332959294319153, 0.20370781421661377, 0.6416908502578735, 0.0591401681303978, -0.003746932139620185, 0.6643632650375366, -0.9309482574462891, 0.7173165678977966, 0.11132507771253586, -0.8693459630012512, 0.4160609245300293, -0.2189449816942215, 0.11576807498931885, 0.09460148960351944, 0.3633456528186798, -0.7417814135551453, -0.7742083668708801, -0.6616106033325195, -0.9121795296669006, 0.4619530141353607, 0.302519828081131, -0.2215171754360199, -0.12492994219064713, 0.18476936221122742, 0.5536149740219116, 0.10069535672664642, -0.02254500240087509, -0.4072825312614441, -0.27950170636177063, -0.45515376329421997, -0.028343677520751953, -0.019177839159965515, -0.030781110748648643, -0.011226645670831203, 0.7156810164451599, 0.07009068131446838, 0.4522199332714081, 0.30686742067337036, -0.09103697538375854, 0.10605274140834808, 0.2834976017475128, 0.7164543271064758, 0.4136850833892822, -0.06407953053712845, 0.2758656442165375, -0.1354730725288391, -0.8043034076690674, 0.15788784623146057, 0.4450678527355194, -0.3269161880016327, 0.5398784875869751, 0.13050667941570282, 0.8034821152687073, 0.3406667113304138, -0.6290513277053833, 0.39273175597190857, 0.11186431348323822, -0.15634261071681976, -0.6159060597419739, -0.06319262832403183, 0.28482359647750854, 0.3569037914276123, 0.2755088806152344, 0.10163245350122452, 0.05648596212267876, -0.6681321263313293, 0.6793776750564575, 0.38938388228416443, -0.30103427171707153, -0.32096895575523376, 0.46507683396339417, 0.192048579454422, -0.38716161251068115, 0.46006205677986145, 0.02109619602560997, -0.5489416122436523, 0.6344249844551086, 0.4588206708431244, 0.9315160512924194, -0.3617843687534332, -0.055954352021217346, 0.245928093791008, 0.10020860284566879, -0.15723763406276703, 0.5997606515884399, 0.13020247220993042, -0.5186240077018738, -0.05181489139795303, -0.7178434133529663, -0.4704988896846771, 0.0045631579123437405, -0.5217498540878296, 0.5796394944190979, -0.32579055428504944, 0.03445969894528389, 0.3348800241947174, -0.4135044813156128, -0.8887187838554382, -0.046258632093667984, 0.7309681177139282, 0.7448567748069763, -0.8439986109733582, 0.8929348587989807, 0.3305978775024414, -0.3602747321128845, -0.8645058274269104, -0.09524572640657425, -0.02966795302927494, -0.8493823409080505, 0.8205360770225525, 0.016752397641539574, -0.1729765236377716, -0.41248324513435364, -0.03941867873072624, -1.0769518613815308, 0.7911743521690369, 0.5389896631240845, -0.920451283454895, 0.07069514691829681, 0.8592569231987, 0.40195250511169434, -0.5160962343215942, -0.04157774895429611, 0.692959189414978, 0.39456453919410706, 0.2227243185043335, -1.1416821479797363, 0.04960000514984131, -0.02498720772564411, 0.08652880042791367, 0.2284676730632782, -0.2585025727748871, 0.814099907875061, 0.12672150135040283, -0.19232508540153503, -0.08279228210449219, 0.7771742939949036, 0.4174708127975464, -0.12277624011039734, 0.62520432472229, 0.40008246898651123, 0.971518874168396, 0.014360628090798855, 0.421585351228714, -0.385749489068985, 0.01789752207696438, 1.106502890586853, -0.4645105302333832, 1.0949833393096924, 0.18567107617855072, -0.05756118521094322, 0.38186511397361755, 0.4797617197036743, -0.2603667676448822, 0.2558151185512543, 0.6000880599021912, -0.4337671995162964, -0.16622263193130493, -0.009358104318380356, -0.42127418518066406, 0.726248025894165, 0.43884560465812683, -0.3272183835506439, -0.19192790985107422, 0.1976250857114792, -0.5162237286567688, -0.1256266087293625, -0.19853633642196655, 0.6702609658241272, 0.06254303455352783, -0.4528004229068756, 0.7205969095230103, -0.2608417570590973, 0.7208153605461121, -0.6213059425354004, -0.35947927832603455, -0.1823553591966629, -0.01724148355424404, -0.11011911928653717, -0.8956978917121887, 0.21143732964992523, 0.1575213521718979, -0.2848566472530365, -0.05818622559309006, 0.4091393053531647, -0.8847302794456482, -0.7852351665496826, 0.31594017148017883, 0.28912293910980225, 0.5545881390571594, 0.20195049047470093, -0.3930392563343048, 0.27984482049942017, 0.009707148186862469, 0.18319810926914215, 0.14737702906131744, 0.7831937670707703, -0.36861714720726013, 0.34761539101600647, 0.6815446615219116, 0.40411651134490967, 0.5109914541244507, 0.24517002701759338, 0.530267596244812, -0.9081576466560364, -0.7159734964370728, -0.4213857650756836, 0.22539004683494568, 0.2114313840866089, -0.15430191159248352, 0.5296390652656555, 0.8255330920219421, 1.112528681755066, -0.13742278516292572, 1.3448078632354736, -0.14635595679283142, 1.0874351263046265, -0.4462864100933075, 0.5484350323677063, -0.23639483749866486, 0.2711811661720276, -0.1587238311767578, -0.935203492641449, -0.35416173934936523, 0.15208573639392853, 0.3491230309009552, -0.19034814834594727, 0.6292722225189209, 0.8611000180244446, -0.18879388272762299, -0.06382777541875839, 0.3947056233882904, 0.14732933044433594, 0.3804684281349182, 0.35743969678878784, 0.44496598839759827, -0.36465027928352356, 0.8882347345352173, -0.30382266640663147, -0.03406718000769615, -0.15604209899902344, -0.8165705800056458, -0.7263604998588562, -0.8271308541297913, -0.14777348935604095, -0.4122861325740814, -0.10606836527585983, 1.1604501008987427, 0.3159292936325073, -1.1491338014602661, -0.21618002653121948, 0.5371788740158081, -0.04797283187508583, -0.3419177830219269, -0.14015346765518188, 0.5450246930122375, -0.24654795229434967, -0.7497560977935791, 0.5871775150299072, 0.18880975246429443, 0.23933371901512146, -0.4664985239505768, 0.11143717169761658, 0.11550147086381912, 0.0284198559820652, 0.4066661298274994, 0.6250668168067932, -0.7124009132385254, -0.6552586555480957, 0.0518428198993206, 0.04494509473443031, 0.2739682197570801, 1.161328911781311, -0.9032158255577087, 0.3238736391067505, 0.6986733078956604, 0.733102023601532, 0.31205207109451294, -0.40679678320884705, 0.6197517514228821, -0.9485727548599243, 0.31395187973976135, 0.2912931740283966, 0.563116192817688, 0.40467536449432373, -0.10971134155988693, 0.025256775319576263, 0.27006325125694275, -0.14514799416065216, -0.7421013712882996, 0.2611042261123657, -1.377738118171692, 0.10184167325496674, 1.0954393148422241, -0.16230955719947815, -0.2348235845565796, -0.15380172431468964, -0.11736105382442474, 0.42474594712257385, -0.4622251093387604, 0.6119228601455688, 0.4357627034187317, -0.01997922547161579, 0.2063462734222412, -0.17662113904953003, 0.5203261375427246, 0.058503180742263794, -0.2671942710876465, 0.2168462723493576, 0.4099145233631134, 0.5272356271743774, 0.439571350812912, 0.3317315876483917, -0.44195806980133057, 0.28426098823547363, 0.10473482310771942, 0.38663405179977417, 0.15229563415050507, -0.44367823004722595, -0.15444669127464294, 0.19251646101474762, -0.11661694198846817, -0.3925962448120117 ]
http://arxiv.org/abs/2405.04219v1
http://arxiv.org/pdf/2405.04219v1
Iterative Experience Refinement of Software-Developing Agents
2024-05-07T11:33:49
2024-05-07T11:33:49
Chen Qian, Jiahao Li, Yufan Dang, Wei Liu, YiFei Wang, Zihao Xie, Weize Chen, Cheng Yang, Yingli Zhang, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL, cs.AI, cs.MA, cs.SE
Autonomous agents powered by large language models (LLMs) show significant potential for achieving high autonomy in various scenarios such as software development. Recent research has shown that LLM agents can leverage past experiences to reduce errors and enhance efficiency. However, the static experience paradigm, reliant on a fixed collection of past experiences acquired heuristically, lacks iterative refinement and thus hampers agents' adaptability. In this paper, we introduce the Iterative Experience Refinement framework, enabling LLM agents to refine experiences iteratively during task execution. We propose two fundamental patterns: the successive pattern, refining based on nearest experiences within a task batch, and the cumulative pattern, acquiring experiences across all previous task batches. Augmented with our heuristic experience elimination, the method prioritizes high-quality and frequently-used experiences, effectively managing the experience space and enhancing efficiency. Extensive experiments show that while the successive pattern may yield superior results, the cumulative pattern provides more stable performance. Moreover, experience elimination facilitates achieving better performance using just 11.54% of a high-quality subset.
[ -0.08722034841775894, -0.3823271691799164, 0.6499677300453186, 0.45849597454071045, -0.13388127088546753, 0.5331466794013977, -0.5141202211380005, -0.30404379963874817, -0.06216874346137047, 0.7080149054527283, -0.7140645384788513, -0.8551783561706543, -0.2664100229740143, -0.1312425285577774, -0.1314222812652588, 0.8117060661315918, -0.3780822455883026, -0.4979000985622406, -0.2645971179008484, 0.014658111147582531, -0.41176390647888184, -0.2102615088224411, -0.7912421226501465, -0.7972027659416199, 0.3272382318973541, 0.6143710613250732, 0.46422988176345825, 0.7390509843826294, 0.1421080380678177, 0.3770744800567627, 0.1529824137687683, 0.33841389417648315, -0.6804155111312866, 0.10681375861167908, -0.189461812376976, -0.40526023507118225, -0.3085087537765503, -0.07973988354206085, 0.49303457140922546, 0.6333797574043274, -0.4653298854827881, -0.10318762063980103, 0.2419952005147934, 0.6513404250144958, -0.5057922601699829, 0.4468141496181488, -0.4471994936466217, 0.17284050583839417, 0.18999123573303223, -0.6679078340530396, -0.5981683731079102, -0.16894382238388062, -0.1995590329170227, -1.0864942073822021, 0.16241295635700226, -0.023684164509177208, 0.7450695633888245, 0.38543012738227844, 0.0012600604677572846, -0.20668554306030273, -1.0656096935272217, 0.8566862344741821, -0.8414894938468933, 0.2934171259403229, 0.11730577051639557, 0.1807667315006256, -0.350658118724823, -0.7882724404335022, -0.3096640706062317, -0.6186907887458801, -0.12701378762722015, 0.029008034616708755, 0.08150165528059006, 0.044144026935100555, 0.060689277946949005, 0.37068822979927063, -0.3840354382991791, 0.3298361003398895, -0.5306523442268372, 0.08319306373596191, 0.5486348867416382, 0.3885621428489685, -0.12188155949115753, 0.4637417197227478, -0.5337767601013184, 0.027088599279522896, -0.7545892596244812, 0.3856693208217621, 0.20525717735290527, 0.4119403660297394, 0.13106222450733185, 0.2999729812145233, -0.4867993891239166, 0.48986974358558655, -0.10392338037490845, -0.2644432783126831, 0.478547602891922, -0.13550327718257904, -0.17149309813976288, -0.3718361258506775, 0.19892019033432007, 0.34335246682167053, 0.22994516789913177, -0.5746387243270874, -0.4554397761821747, -0.01527609396725893, 0.9500744938850403, -0.606356680393219, -0.039415158331394196, 0.280721515417099, -0.5046600103378296, -0.2367725670337677, -0.0318504236638546, -0.3208730220794678, -0.7395681738853455, -0.4797680079936981, 0.229221910238266, -0.5634123086929321, -0.43396830558776855, 0.15605777502059937, -0.3317849338054657, 0.19826346635818481, 0.6224139928817749, -0.20562627911567688, 0.571645975112915, 0.9785427451133728, 0.4355148673057556, -0.22740617394447327, -0.6243382096290588, -0.5222666263580322, 0.07879050821065903, -0.4839273691177368, 0.5593451857566833, -0.6484174728393555, -0.42656731605529785, 0.018321460112929344, 0.020430652424693108, 0.25590217113494873, -0.7886807322502136, 0.10993736237287521, -0.48755401372909546, -0.2207237184047699, -0.10124582797288895, -0.48576194047927856, -0.3969343900680542, 0.2888678014278412, -0.4242366850376129, 0.8876473307609558, 0.38124245405197144, 0.09609478712081909, 0.7491768598556519, -0.7998682260513306, -0.2994910776615143, 0.1493547111749649, -0.23402035236358643, -0.08246514946222305, 0.34035593271255493, -0.1443977653980255, 0.020198523998260498, -0.33399030566215515, -0.05155647173523903, -0.03409350663423538, -0.616233229637146, 0.018517563119530678, 0.07554829120635986, 0.24987968802452087, 0.3042405843734741, -0.5566444993019104, 0.44686266779899597, -0.9629500508308411, 0.22163628041744232, -0.07023526728153229, -0.22917291522026062, -0.2162015438079834, 0.186035618185997, -0.1811947375535965, 0.47841665148735046, 0.11045726388692856, -0.4780450165271759, 0.4063054919242859, -0.3464173972606659, 0.10536970943212509, 1.2267271280288696, 0.06626825779676437, 0.6198327541351318, -0.5282235145568848, 0.5240675806999207, 0.3124649226665497, 0.2004145383834839, -0.35887423157691956, -0.07832375168800354, -0.7148534655570984, -0.3083433508872986, -0.19954350590705872, 0.19424663484096527, -0.9995409250259399, 0.2658641040325165, -0.07296326756477356, -0.5040368437767029, -0.4348844885826111, 0.6919083595275879, 0.43071961402893066, 0.24957911670207977, 0.16896873712539673, -0.6385774612426758, -0.24572183191776276, -0.6332037448883057, -0.3201369643211365, -0.04890495911240578, 0.09494787454605103, 0.3555968701839447, 0.2752167582511902, -0.1582779884338379, 0.9085795283317566, -0.33139872550964355, -0.45121219754219055, -0.061635103076696396, 0.2511046528816223, 0.24485404789447784, 0.7317429184913635, 0.28059127926826477, -0.5384502410888672, -0.020111197605729103, 0.07746827602386475, -0.7516907453536987, 0.05310934782028198, -0.3664052486419678, 0.06298565119504929, 0.5023003816604614, 0.5622071623802185, -0.19109562039375305, 0.6022968292236328, 0.09073863923549652, -0.5234448909759521, 0.19098924100399017, -0.5779874920845032, 0.1415206640958786, -0.4046899080276489, -0.059969864785671234, -0.06619465351104736, -0.18945646286010742, -0.33968740701675415, 0.44447508454322815, -0.045940984040498734, 0.24430876970291138, -0.21773262321949005, 0.7029911279678345, -0.80018150806427, -0.357173353433609, -0.641890823841095, 0.01157735288143158, 0.016852255910634995, 0.7129489183425903, 0.13801272213459015, 0.5699746608734131, 0.3236144483089447, -0.6734543442726135, 0.292385071516037, -0.35499417781829834, -0.18982675671577454, 0.3031481206417084, -0.37064626812934875, 0.3863060176372528, -0.27259528636932373, 0.0930769070982933, -1.0462716817855835, 0.2880133390426636, 0.07043103873729706, -0.12522542476654053, 0.11665994673967361, 0.17610372602939606, -0.5563584566116333, -0.25849711894989014, -0.44341254234313965, 0.2609252631664276, 0.7715723514556885, -0.4455515444278717, 0.8025279641151428, -0.31129905581474304, -0.09447050839662552, -0.7341840267181396, -0.24911464750766754, 0.028258681297302246, -0.05830958113074303, -0.46976515650749207, 0.34694987535476685, -0.08409065753221512, -0.5462266206741333, 0.15261007845401764, -0.23758564889431, 0.110024593770504, 0.21310435235500336, 0.6557953357696533, -0.2082715481519699, -0.17621207237243652, 0.0836341381072998, -0.20866794884204865, -0.36890363693237305, -0.340758353471756, -0.327228307723999, 0.670673668384552, -0.008351963013410568, -0.4606417715549469, -0.2803078889846802, 0.2453840970993042, 0.4662715196609497, -0.3419499099254608, 0.5347740054130554, 0.3873783051967621, -0.42292866110801697, -0.5568045377731323, -0.6214402318000793, -0.1326783150434494, -0.534038245677948, 0.18236690759658813, -0.5233488082885742, -0.7670466899871826, 0.5329310894012451, -0.2737295925617218, 0.56449294090271, 0.0031545660458505154, 0.32926517724990845, 0.023555967956781387, 0.44417858123779297, 1.1663563251495361, 0.10142756998538971, 0.4089968502521515, -0.39999473094940186, 0.020709870383143425, -0.598731517791748, -0.21009299159049988, -0.36633193492889404, -0.24274477362632751, -0.44937026500701904, -0.5937464833259583, 0.1619153469800949, -0.09550513327121735, -0.4439947009086609, 0.10883177071809769, -0.4248374104499817, 0.38951653242111206, 0.42185652256011963, 0.2142144739627838, 0.47117429971694946, -0.10694575309753418, 0.07366616278886795, 0.048153478652238846, -0.3392527997493744, -0.5381594300270081, 0.9497970342636108, 0.2735234797000885, 0.8475773334503174, -0.021739043295383453, 0.7790989875793457, 0.6292107105255127, 0.5078752636909485, -0.31589803099632263, 0.39072149991989136, -0.047586001455783844, 0.16360312700271606, -0.33301275968551636, -0.10371875017881393, -0.8725412487983704, -0.06648005545139313, 0.16505545377731323, -0.9321287274360657, 0.16090261936187744, 0.12486568838357925, -0.5161435008049011, -0.010665848851203918, -0.4809018671512604, 0.5952244997024536, 0.17817983031272888, -0.6821324825286865, -0.5821677446365356, -0.33632317185401917, 0.11075682938098907, 0.09750237315893173, 0.26301780343055725, 0.007970700040459633, -0.3619229793548584, 0.22404654324054718, -0.5742679238319397, 0.7869948148727417, -0.3778970539569855, -0.44579267501831055, 0.08984711021184921, 0.07873940467834473, 0.8258787393569946, -0.07556892186403275, -0.4514208137989044, -0.26610708236694336, -0.49556729197502136, -0.5452312231063843, -0.6420773863792419, 0.7750452160835266, -0.7854521870613098, -0.7083408236503601, -0.03816551715135574, -0.6406125426292419, -0.13938911259174347, -0.01188743207603693, 0.03573046624660492, 0.33394521474838257, -0.13388708233833313, -0.1135750561952591, 0.316665381193161, -0.40852436423301697, 0.6422796845436096, 0.884486198425293, -0.39736858010292053, 0.10022805631160736, 0.7567921876907349, 0.11022960394620895, 0.26581957936286926, 0.0027829636819660664, -0.33981773257255554, 0.01615568809211254, -0.7609119415283203, -0.193875253200531, 0.019280824810266495, -0.8166511058807373, 0.05146762728691101, -0.44756224751472473, -0.22094283998012543, -0.26993387937545776, -0.44595959782600403, -0.534967839717865, -0.14635233581066132, 0.052865177392959595, -0.15858115255832672, 0.4114452302455902, 0.8128414750099182, -0.02764183096587658, 0.5663319230079651, -0.434783011674881, 0.46456822752952576, -0.09904160350561142, 0.4340585172176361, -0.05377527326345444, -0.29161739349365234, -0.2978748381137848, -0.29498761892318726, -0.16715136170387268, -0.41068097949028015, 0.47667208313941956, -0.008502429351210594, 0.724588930606842, 0.2249719500541687, 0.018240706995129585, 0.7983947992324829, -0.29645490646362305, 0.8831641674041748, -0.2988491356372833, -0.6815847158432007, 0.2712007761001587, -0.14458975195884705, 0.2528441250324249, 0.5291800498962402, -0.0005542673752643168, -0.29165831208229065, -0.6226637363433838, -0.8537971377372742, -1.2506877183914185, 0.6849088072776794, 0.14478930830955505, 0.007020424585789442, 0.36646386981010437, 0.7254310846328735, 0.43899622559547424, 0.6077329516410828, -0.3796346187591553, -0.2982431650161743, 0.04633471369743347, 0.2053404450416565, -0.3534955382347107, -0.07816225290298462, -0.2747883200645447, -0.10526302456855774, 0.8561718463897705, -0.14171087741851807, 0.2628995478153229, -0.03624170273542404, -0.3189737796783447, -0.21296294033527374, 0.2267550677061081, 0.6483356952667236, 1.2291876077651978, -0.0610249787569046, -0.03897129371762276, -0.08573505282402039, -0.08043507486581802, 0.3652178943157196, 0.04985076189041138, 0.12668319046497345, -0.18988977372646332, 0.19083672761917114, 0.3904927968978882, -0.11196320503950119, -0.6669347286224365, 0.2054154872894287, -0.022488556802272797, 0.21828126907348633, -0.6875529289245605, 0.46594080328941345, -0.18845409154891968, 0.5440852642059326, 0.6793947815895081, 0.029756302013993263, 0.14678576588630676, -0.7593678832054138, 0.46144217252731323, 0.07527567446231842, -0.22428570687770844, -0.0017646003980189562, 0.11586694419384003, 0.18325109779834747, -0.4389992654323578, 0.6057703495025635, -0.5698494911193848, -0.07769157737493515, 0.9598585963249207, 0.5602337718009949, 0.9478532671928406, -0.10260884463787079, 0.12947359681129456, 0.22179828584194183, 0.38423168659210205, -0.0425167940557003, 0.39253559708595276, -0.332060843706131, -0.7338417768478394, -0.3967554569244385, -0.46089839935302734, -0.33785247802734375, 0.02341810241341591, -0.5116679668426514, 0.08771941810846329, -0.8128904104232788, 0.24730773270130157, -0.25608518719673157, 0.15149782598018646, -0.7316255569458008, 0.36455345153808594, -0.005819177720695734, 0.8785037398338318, -0.6483278274536133, 0.7531755566596985, 0.7012585997581482, -0.31558358669281006, -0.779991626739502, -0.010998195968568325, 0.05276617035269737, -0.9590888619422913, 0.5273883938789368, 0.11169642210006714, -0.2856137454509735, 0.08834332972764969, -0.30017104744911194, -0.5768468379974365, 1.2772512435913086, 0.05195743590593338, -0.6070818901062012, -0.13101327419281006, -0.006197777576744556, 0.5967162251472473, -0.7189298868179321, 0.3374592959880829, 0.7053607106208801, 0.4431946575641632, 0.03180529177188873, -0.6811370253562927, 0.26366493105888367, -0.7108725309371948, 0.35532987117767334, -0.08152177929878235, -0.7517131567001343, 0.8383682370185852, -0.3272671401500702, 0.059518322348594666, 0.36578255891799927, 0.710931658744812, 0.5628631711006165, 0.49267828464508057, 0.5915402173995972, 0.3045633137226105, 0.6959741711616516, 0.006554838735610247, 0.8696686625480652, -0.4608180820941925, -0.015532434917986393, 1.2482701539993286, -0.5705865025520325, 0.39092370867729187, 0.48330849409103394, 0.2255192995071411, 0.7616439461708069, 0.4554477632045746, 0.2904285490512848, 0.5587168335914612, 0.6613879799842834, -0.28176334500312805, -0.3138318657875061, 0.019943587481975555, -0.34347814321517944, 0.5074331760406494, 0.28485360741615295, -0.40881505608558655, -0.3980069160461426, 0.3276197910308838, 0.07685374468564987, 0.4451351463794708, -0.40560832619667053, 0.8747385740280151, -0.002180032432079315, -0.7196870446205139, 0.5523629784584045, 0.030448252335190773, 0.5700699090957642, -0.46884316205978394, -0.3514379858970642, -0.36763548851013184, 0.5249258875846863, -0.3389100134372711, -0.5367065668106079, 0.16182725131511688, 0.034404054284095764, -0.1688212752342224, -0.48636287450790405, 0.6378920078277588, -0.07817325741052628, -0.029826683923602104, 0.41088539361953735, 0.6572074294090271, 0.13686496019363403, -0.17577601969242096, -0.30041781067848206, 0.2326955944299698, -0.18744529783725739, -0.45566654205322266, 0.14794394373893738, 0.6063010096549988, -0.16134624183177948, 0.8055365085601807, 0.41704919934272766, -0.024919267743825912, -0.16180168092250824, 0.09377533197402954, 1.0257987976074219, -1.000535249710083, -0.5447506308555603, -0.7041736245155334, 0.779161810874939, -0.12433480471372604, -0.19983084499835968, 0.5038936734199524, 0.5224162936210632, 0.743772029876709, 0.03103204257786274, 0.8549709916114807, 0.1292995810508728, 0.20326824486255646, -0.47467607259750366, 0.5931590795516968, -0.6052069664001465, 0.6954823732376099, -0.3751056492328644, -0.664770245552063, 0.15894697606563568, 0.3790608048439026, -0.1274767369031906, 0.44090744853019714, 0.4694747030735016, 0.8890007734298706, 0.34191954135894775, -0.18005794286727905, 0.45996931195259094, 0.3316173553466797, 0.5316019058227539, 0.5921175479888916, 0.9741976261138916, -0.02120729722082615, 0.08039559423923492, -0.4297204315662384, -0.3341104984283447, 0.003124260576441884, -0.9827567338943481, -0.35727518796920776, -0.5803003907203674, -0.3222108483314514, -0.34369391202926636, 0.42091357707977295, 1.2859134674072266, 0.5385146737098694, -0.34442394971847534, -0.5263440012931824, -0.2733634412288666, 0.09982755780220032, -0.7954895496368408, -0.2357219010591507, -0.24671314656734467, -0.813916027545929, -0.4661671817302704, 0.5456632971763611, 0.34796297550201416, -0.3903046250343323, -0.25812670588493347, -0.30926185846328735, 0.2752407193183899, -0.12234953790903091, 0.4767865836620331, 0.40038517117500305, -0.5870780348777771, -0.2683439552783966, 0.13811275362968445, -0.13657110929489136, 0.30461424589157104, 1.0475678443908691, -1.2753263711929321, 0.2913433909416199, -0.07946155965328217, 0.40258896350860596, 0.6028462648391724, -0.06800790876150131, 0.9703460931777954, -0.9214673638343811, 0.40294426679611206, 0.17111366987228394, 0.15501855313777924, 0.07433580607175827, -0.5850121974945068, 0.6904506087303162, -0.03332960605621338, -0.25812283158302307, -0.8783621191978455, -0.046810708940029144, -0.9123162627220154, -0.4369354844093323, 1.1899006366729736, -0.462362676858902, -0.0724363699555397, -0.1221654936671257, -0.25111839175224304, 0.1707267165184021, -0.5188657641410828, 0.9645165801048279, 0.4133566915988922, -0.3183494806289673, -0.49798229336738586, -0.2654813528060913, 0.6128482222557068, 0.32396748661994934, -0.8632734417915344, 0.27819764614105225, 0.5316087603569031, 0.33383336663246155, 0.18507994711399078, 1.0598572492599487, -0.07485331594944, 0.6480799913406372, 0.13051661849021912, 0.4589068293571472, -0.47830870747566223, -0.6692959666252136, -0.48865723609924316, 0.402969092130661, 0.6423758268356323, -0.03800271078944206 ]
http://arxiv.org/abs/2405.04170v1
http://arxiv.org/pdf/2405.04170v1
D-NLP at SemEval-2024 Task 2: Evaluating Clinical Inference Capabilities of Large Language Models
2024-05-07T10:11:14
2024-05-07T10:11:14
Duygu Altinok
cs.CL
cs.CL
Large language models (LLMs) have garnered significant attention and widespread usage due to their impressive performance in various tasks. However, they are not without their own set of challenges, including issues such as hallucinations, factual inconsistencies, and limitations in numerical-quantitative reasoning. Evaluating LLMs in miscellaneous reasoning tasks remains an active area of research. Prior to the breakthrough of LLMs, Transformers had already proven successful in the medical domain, effectively employed for various natural language understanding (NLU) tasks. Following this trend, LLMs have also been trained and utilized in the medical domain, raising concerns regarding factual accuracy, adherence to safety protocols, and inherent limitations. In this paper, we focus on evaluating the natural language inference capabilities of popular open-source and closed-source LLMs using clinical trial reports as the dataset. We present the performance results of each LLM and further analyze their performance on a development set, particularly focusing on challenging instances that involve medical abbreviations and require numerical-quantitative reasoning. Gemini, our leading LLM, achieved a test set F1-score of 0.748, securing the ninth position on the task scoreboard. Our work is the first of its kind, offering a thorough examination of the inference capabilities of LLMs within the medical domain.
[ -0.032370954751968384, -0.8942101001739502, 0.9508895874023438, 0.39439263939857483, -0.1971535086631775, -0.2258751541376114, -0.2722180187702179, -0.3706473410129547, 0.04923407733440399, 0.7703892588615417, -0.39720869064331055, -0.7908213138580322, -0.8459141254425049, 0.41621971130371094, -0.25493863224983215, 0.6110983490943909, -0.043072789907455444, 0.46917492151260376, -0.37378332018852234, -0.09998960793018341, -0.4167618155479431, -0.6067063808441162, -0.6004566550254822, -0.27886101603507996, 0.4499525725841522, 0.20898084342479706, 0.6181130409240723, 0.30347391963005066, 0.8395653367042542, 0.3199123740196228, -0.18465347588062286, 0.07874654978513718, -0.18286634981632233, 0.15530888736248016, -0.09888865053653717, -0.4166507124900818, -0.6003595590591431, -0.09090083837509155, 0.40158161520957947, 0.9948437213897705, -0.11300919950008392, -0.018005454912781715, -0.1987733393907547, 0.5225661993026733, -0.4391149878501892, 0.12342749536037445, -0.6988918781280518, 0.21309778094291687, -0.00899843592196703, -0.05052817240357399, -0.5874302983283997, -0.49743932485580444, 0.2705196142196655, -0.4856054484844208, 0.07147759944200516, -0.018128912895917892, 0.5455055236816406, 0.5323907136917114, -0.5390741229057312, -0.6568199396133423, -0.476976603269577, 0.8286596536636353, -1.1461273431777954, 0.2202141135931015, 0.5449029207229614, 0.43793952465057373, -0.34994736313819885, -1.0040733814239502, -0.2892855405807495, -0.34587690234184265, 0.011696363799273968, 0.11624157428741455, -0.1824825257062912, 0.16988250613212585, 0.3778132200241089, 0.3568771481513977, -0.5834071636199951, 0.4452683925628662, -0.24054338037967682, -0.1250324249267578, 0.6350213885307312, 0.2492072433233261, 0.208670511841774, -0.17325398325920105, -0.17290036380290985, 0.23132720589637756, -0.6112690567970276, -0.5641247034072876, -0.2116830199956894, 0.028158225119113922, -0.11125507205724716, 0.7100833058357239, -0.03909321874380112, 0.5253134965896606, -0.3510022759437561, -0.12505099177360535, 0.4519538879394531, -0.2541698217391968, -0.5646683573722839, 0.027011580765247345, 0.8195825219154358, 0.399882435798645, 0.1331038922071457, -0.2699267864227295, -0.0051709553226828575, 0.06255003809928894, 0.32936179637908936, -0.7452189326286316, 0.11320605874061584, 0.40459176898002625, -0.47884830832481384, -0.2998005747795105, -0.4306351840496063, -0.8182291388511658, -0.6511668562889099, -0.37688136100769043, 0.5481771230697632, -0.48026546835899353, -0.0033332689199596643, 0.3999657928943634, -0.07569440454244614, 0.13392318785190582, 0.5062679648399353, -0.6530517339706421, 0.3764054775238037, 0.7990339994430542, 0.6674540638923645, -0.32356002926826477, -0.05257363244891167, -0.46622389554977417, -0.2618524432182312, -0.3085348904132843, 0.591788113117218, -0.3186686336994171, -0.4341041147708893, 0.05728501081466675, 0.15338006615638733, -0.29967203736305237, -0.6801300048828125, 1.0363582372665405, -0.3344169557094574, 0.1399570107460022, -0.14683212339878082, -0.7972331643104553, -0.05308397486805916, 0.3036535978317261, -0.4762725234031677, 0.7062419652938843, 0.03131759539246559, -0.5915030837059021, 0.2667251527309418, -0.35013484954833984, -0.41282254457473755, 0.24385760724544525, -0.37755510210990906, -0.38418519496917725, 0.2724727690219879, 0.28891831636428833, 0.5322239398956299, -0.5948522090911865, 0.44175440073013306, -0.4196122884750366, -0.35793933272361755, 0.2935154438018799, -0.4539932310581207, 0.6278534531593323, 0.1813633292913437, -0.3306930661201477, -0.052360016852617264, -0.7346497774124146, -0.04188195616006851, 0.13151009380817413, -0.08230721205472946, -0.38180091977119446, -0.06554176658391953, -0.30018875002861023, 0.09220322221517563, 0.04311991110444069, -0.48616594076156616, 0.14991645514965057, -0.7168149948120117, 0.3977351188659668, 0.43738889694213867, 0.16512446105480194, 0.1830056756734848, -0.12677989900112152, 0.6791144013404846, -0.26808321475982666, 0.2419746071100235, -0.08100514858961105, -0.5661255121231079, -0.5916257500648499, -0.4459301829338074, 0.43657293915748596, 0.4218076169490814, -0.7634398341178894, 0.35486382246017456, -0.12876386940479279, -0.4414389133453369, -0.5146846771240234, -0.17111259698867798, 0.22654324769973755, 0.6531636714935303, 0.4237769842147827, 0.09797139465808868, -0.5030648112297058, -1.0276141166687012, -0.24295151233673096, -0.030741028487682343, -0.16885143518447876, 0.45920073986053467, 0.8560327887535095, -0.5372743010520935, 0.5241096019744873, -0.36111289262771606, -0.11250719428062439, -0.22045809030532837, 0.12112576514482498, 0.48295554518699646, 0.2283206582069397, 0.3673882484436035, -0.4285047650337219, -0.11808539927005768, -0.2003946304321289, -0.9727798104286194, -0.5165334343910217, -0.11854593455791473, -0.0019379841396585107, 0.2908249795436859, 0.5344167351722717, -0.39885058999061584, 0.5276306867599487, 0.793091893196106, -0.4108147919178009, 0.5274527668952942, -0.37255844473838806, 0.30573803186416626, -0.8120396137237549, 0.04525570198893547, -0.018289130181074142, -0.07898258417844772, -0.573355495929718, -0.25214430689811707, -0.07217849791049957, 0.11433599144220352, -0.3624880313873291, 0.6349230408668518, -0.2209824174642563, -0.11180298775434494, -0.14246249198913574, 0.2355310618877411, -0.060766953974962234, 0.10727745294570923, 0.12837593257427216, 0.47153937816619873, 0.43838733434677124, -0.5035163760185242, 0.1489335000514984, 0.4410625398159027, -0.38010868430137634, 0.3245410621166229, -0.8412767052650452, 0.10715306550264359, 0.04459427297115326, 0.12206026911735535, -0.7004809975624084, -0.19897307455539703, -0.08078209310770035, -0.4219309687614441, 0.05548763647675514, -0.032327789813280106, -0.6539852619171143, -0.46599727869033813, -0.0011343058431521058, 0.14980493485927582, 0.5240615606307983, -0.4023453891277313, 0.4217212498188019, 0.4632337987422943, -0.23744773864746094, -0.42035433650016785, -0.864955723285675, 0.24854949116706848, -0.19453759491443634, -0.731407105922699, 0.30408406257629395, 0.02456205151975155, -0.5365915298461914, -0.32473379373550415, -0.09653519093990326, -0.06774429231882095, 0.19672338664531708, 0.2854781746864319, 0.3924815356731415, -0.2745205760002136, 0.2549327611923218, 0.22420696914196014, -0.11657577008008957, 0.4591004550457001, 0.1832657754421234, 0.22860188782215118, -0.15019753575325012, -0.7877638936042786, -0.3339894413948059, 0.04251115024089813, 0.5685305595397949, -0.03053879551589489, 0.7454051375389099, 0.30172690749168396, -0.5695926547050476, -0.2122410088777542, -0.6501908898353577, -0.19620545208454132, -0.40331852436065674, 0.34698888659477234, -0.10316099226474762, -0.997168779373169, 0.3779423236846924, -0.22710494697093964, 0.10331450402736664, 0.5839170813560486, 0.927733302116394, 0.05328483134508133, 0.9858269095420837, -0.12680621445178986, 0.40131229162216187, -0.2575241029262543, -0.08446665853261948, 0.10177524387836456, -0.7280073165893555, -0.3225420117378235, -0.63328617811203, -0.02649415098130703, -0.49375608563423157, -0.9082668423652649, 0.5948166251182556, -0.04910552129149437, -0.15889672935009003, -0.014151927083730698, -0.2801222503185272, 0.15317882597446442, 0.1550285369157791, 0.11817248910665512, 0.4928821325302124, -0.18774761259555817, -0.2991205155849457, -0.2619045078754425, -0.5282852649688721, -0.6960367560386658, 1.188678503036499, 0.7393115758895874, 0.7257053256034851, 0.12920443713665009, 0.5235875248908997, 0.32044604420661926, 0.41083309054374695, -0.8522117733955383, 0.5747563242912292, -0.31514787673950195, -0.5152295827865601, -0.1605835109949112, -0.4428638815879822, -0.8861402273178101, 0.3837512731552124, -0.14135263860225677, -0.5629923343658447, -0.16207744181156158, -0.25076809525489807, -0.3251284956932068, -0.06915634870529175, -0.4784623682498932, 0.9405806660652161, -0.5007640719413757, -0.2032359540462494, -0.1655634194612503, -0.6371135115623474, 0.42605987191200256, -0.29401761293411255, 0.2974291741847992, -0.3098967373371124, -0.22955825924873352, 0.5582816004753113, -0.4163004755973816, 0.7564893960952759, -0.1023838222026825, -0.12574677169322968, 0.06458055973052979, -0.09814874082803726, 0.23890092968940735, 0.40065428614616394, -0.4498406946659088, 0.362858384847641, 0.2693285048007965, -0.16680260002613068, -0.5219606757164001, 0.6092554926872253, -0.41849485039711, -0.49069100618362427, -0.6260770559310913, -0.3730084300041199, -0.5559327602386475, 0.1459517627954483, -0.01921156421303749, 0.5507996678352356, -0.440763384103775, 0.35996386408805847, 0.548554539680481, -0.8577101826667786, 0.15498337149620056, 0.8131966590881348, -0.2879987955093384, -0.5409426689147949, 0.3371647298336029, -0.3116558790206909, 0.35905611515045166, 0.2185589224100113, 0.3159944415092468, -0.5646577477455139, -0.9604074954986572, -0.36097171902656555, 0.46948280930519104, -0.7107818126678467, 0.02639314904808998, -0.645122766494751, -0.3805455267429352, -0.48622092604637146, -0.06613219529390335, -0.3154717981815338, -0.41736406087875366, -0.3453758656978607, 0.06531485915184021, 0.11105301976203918, 0.7208825945854187, 0.27538302540779114, -0.006785527337342501, -0.9076250195503235, 0.23817066848278046, -0.047213293612003326, 0.16238616406917572, -0.3122779428958893, -0.847893238067627, 0.048190079629421234, -0.14561745524406433, -0.11667826026678085, -0.7707745432853699, 0.5226700901985168, 0.0064653693698346615, 0.7743551135063171, 0.24661187827587128, -0.01124811265617609, 0.5685574412345886, -0.4918312132358551, 0.7123345732688904, 0.01144084520637989, -0.7110358476638794, 0.6395297646522522, -0.36581775546073914, 0.3589336574077606, 0.7136692404747009, 0.3422830402851105, -0.4191087484359741, -0.42842912673950195, -0.5959102511405945, -0.6826348304748535, 0.388762503862381, 0.5579796433448792, -0.09879035502672195, -0.2825896441936493, 0.4876452386379242, 0.24023637175559998, 0.22705310583114624, -0.2669673562049866, -0.18064256012439728, 0.4739871621131897, -0.344818115234375, -0.05021579563617706, -0.27732357382774353, -0.05018052086234093, -0.23036953806877136, 0.5388683676719666, -0.19703297317028046, 0.18445727229118347, 0.40128928422927856, -0.04318486526608467, 0.2524900436401367, 0.3872561752796173, 0.7096138000488281, 0.8344010710716248, -0.22323204576969147, 0.07337545603513718, 0.4797666370868683, -0.5393887162208557, -0.14644034206867218, 0.3105464279651642, 0.1084991991519928, 0.11844533681869507, 0.6751108765602112, 0.673425018787384, 0.29107537865638733, -1.0539883375167847, 0.6066685318946838, -0.38881999254226685, -0.40892696380615234, -0.5691337585449219, -0.1602974385023117, 0.1236000582575798, 0.24906004965305328, 0.05734596028923988, -0.049453914165496826, 0.2489856630563736, -0.3590100407600403, 0.24322406947612762, 0.2963683605194092, -0.4841480553150177, -0.22074081003665924, 0.6085495948791504, 0.2733200788497925, -0.12280941009521484, 0.6732932329177856, -0.06639555841684341, -0.40049368143081665, 0.8498752117156982, 0.5561965107917786, 0.7475849986076355, -0.056064672768116, 0.10622451454401016, 0.4835132360458374, 0.3434625267982483, -0.1490744948387146, 0.38608407974243164, 0.4755464196205139, -0.6118284463882446, -0.8061492443084717, -0.7391467690467834, -0.6445273756980896, 0.3773209750652313, -0.5650732517242432, 0.5355666279792786, -0.258462131023407, -0.2319829761981964, 0.03936626762151718, -0.13425256311893463, -0.4533587396144867, 0.23689143359661102, 0.3466397523880005, 1.1250196695327759, -0.5425573587417603, 0.5782099962234497, 0.6299967169761658, 0.015161693096160889, -0.4176340401172638, -0.31251928210258484, 0.29369381070137024, -0.8620390892028809, 0.6878228187561035, 0.2213074117898941, 0.09620660543441772, -0.2657058835029602, -0.3009189963340759, -0.45906558632850647, 1.130228877067566, 0.40450119972229004, -0.6905418634414673, -0.05917193368077278, 0.42551180720329285, 0.8263488411903381, -0.33831411600112915, 0.5080381035804749, 0.874929666519165, 0.3992421627044678, 0.31926241517066956, -1.105483889579773, 0.084224633872509, 0.030813422054052353, -0.20636798441410065, 0.0765690803527832, -0.30258500576019287, 0.4458751678466797, -0.3188476264476776, 0.07921897619962692, 0.2609771490097046, 0.3599873483181, 0.6201383471488953, 0.73248291015625, 0.4254553020000458, 0.6477389335632324, 0.7823178172111511, -0.11497005820274353, 1.0138179063796997, -0.18164080381393433, 0.26756522059440613, 1.1112302541732788, -0.5104687809944153, 0.6978614926338196, 0.47348082065582275, -0.30800676345825195, 0.1551508754491806, 0.39036768674850464, -0.08737519383430481, 0.21373453736305237, 0.3856201767921448, -0.30790820717811584, -0.19548730552196503, -0.07745914161205292, -0.43364325165748596, 0.5210248231887817, 0.6599851250648499, -0.7408661246299744, -0.04366886988282204, -0.0822024792432785, 0.062405772507190704, -0.032674603164196014, -0.1204981729388237, 0.7517037391662598, 0.4786742031574249, -0.7329963445663452, 0.3984789550304413, -0.022936668246984482, 0.2433975487947464, -0.6058693528175354, -0.23017099499702454, -0.06356446444988251, 0.3883571922779083, -0.08566085994243622, -0.6243210434913635, 0.5248382687568665, 0.1253150850534439, 0.3949763774871826, -0.06989779323339462, 0.6500123143196106, 0.011146522127091885, -0.6490004658699036, 0.2936539351940155, 0.4482773542404175, 0.3242664039134979, -0.16701360046863556, -0.715668797492981, 0.14502401649951935, -0.05544477701187134, -0.22437132894992828, 0.26951539516448975, 0.5341222882270813, 0.1388179510831833, 0.6744182109832764, 0.4182604253292084, 0.3167598247528076, -0.15714223682880402, 0.5318617224693298, 0.6627326607704163, -0.6670318841934204, -0.09307362139225006, -0.9837633371353149, 0.2985130846500397, -0.10674312710762024, -0.38947203755378723, 0.8172022104263306, 0.5448119640350342, 0.14924900233745575, 0.01887483149766922, 0.6451219916343689, 0.10259835422039032, 0.6469932198524475, -0.7010785937309265, 0.5300410985946655, -0.503466784954071, 0.5515406131744385, -0.1333470493555069, -0.44086953997612, -0.47330963611602783, 0.526357889175415, -0.4893646836280823, -0.13124875724315643, 1.0073802471160889, 0.5443751811981201, 0.30621644854545593, 0.42831265926361084, 0.4053371250629425, 0.42666760087013245, 0.3385322391986847, 0.5262889862060547, 0.8547379970550537, -0.4585610628128052, 0.256154328584671, -0.16559049487113953, -0.3030589520931244, -0.1561785787343979, -0.9841998815536499, -1.0997589826583862, -0.18442174792289734, -0.34223347902297974, -0.5130586624145508, -0.003287260653451085, 0.8695018291473389, 0.35031744837760925, -0.8872061967849731, 0.08510855585336685, -0.12324091047048569, -0.09895861148834229, 0.015245514921844006, -0.1641932725906372, 0.42496249079704285, -0.20261798799037933, -0.6817064881324768, 0.5285341739654541, 0.36578696966171265, -0.13437646627426147, -0.27197712659835815, -0.13691353797912598, -0.08623022586107254, 0.08472730219364166, 0.6717036366462708, -0.1692298948764801, -0.7780877351760864, 0.0009362049167975783, 0.1925136148929596, -0.24821215867996216, -0.17903196811676025, 0.6646980047225952, -0.6362695097923279, 0.43591538071632385, 0.5182320475578308, 0.8706398010253906, 0.41349002718925476, -0.011045464314520359, 0.6753722429275513, -0.19812734425067902, -0.07527163624763489, 0.7557681202888489, 0.47001442313194275, 0.18738645315170288, -0.05758073925971985, 0.775956928730011, 0.2110939919948578, -0.9846422076225281, -0.8563286662101746, -0.09126102179288864, -0.9726439714431763, -0.23329219222068787, 1.3723021745681763, -0.04563794657588005, -0.037062130868434906, -0.27406826615333557, -0.2766360640525818, 0.03013397939503193, -0.059181928634643555, 0.6519644856452942, 0.634336531162262, -0.23327820003032684, 0.06993764638900757, -1.2237557172775269, 0.4532197415828705, 0.6266193389892578, -1.0906912088394165, -0.1912682205438614, 0.40603703260421753, 0.1639799177646637, -0.1327446848154068, 0.7503834366798401, -0.45834049582481384, 0.12653286755084991, -0.18638876080513, -0.1488376408815384, 0.22017231583595276, 0.028995240107178688, -0.5510584115982056, -0.10771050304174423, 0.09492609649896622, 0.061095818877220154 ]
http://arxiv.org/abs/2405.04165v1
http://arxiv.org/pdf/2405.04165v1
LingML: Linguistic-Informed Machine Learning for Enhanced Fake News Detection
2024-05-07T10:03:19
2024-05-07T10:03:19
Jasraj Singh, Fang Liu, Hong Xu, Bee Chin Ng, Wei Zhang
cs.CL
cs.CL
Nowadays, Information spreads at an unprecedented pace in social media and discerning truth from misinformation and fake news has become an acute societal challenge. Machine learning (ML) models have been employed to identify fake news but are far from perfect with challenging problems like limited accuracy, interpretability, and generalizability. In this paper, we enhance ML-based solutions with linguistics input and we propose LingML, linguistic-informed ML, for fake news detection. We conducted an experimental study with a popular dataset on fake news during the pandemic. The experiment results show that our proposed solution is highly effective. There are fewer than two errors out of every ten attempts with only linguistic input used in ML and the knowledge is highly explainable. When linguistics input is integrated with advanced large-scale ML models for natural language processing, our solution outperforms existing ones with 1.8% average error rate. LingML creates a new path with linguistics to push the frontier of effective and efficient fake news detection. It also sheds light on real-world multi-disciplinary applications requiring both ML and domain expertise to achieve optimal performance.
[ -0.3151932656764984, -1.31033194065094, 0.485252320766449, 0.3703773617744446, -0.37381473183631897, 0.24545103311538696, -0.249027818441391, -0.4907679557800293, 0.3203677535057068, 0.3983081579208374, -0.4166911244392395, -0.42554327845573425, -0.8474363684654236, 0.08442814648151398, -0.5026432275772095, 0.9031527638435364, 0.20814186334609985, 0.26586273312568665, -0.0662953108549118, 0.09885532408952713, -0.37204086780548096, -0.4994684159755707, -0.5886927247047424, -0.22008702158927917, 0.40016284584999084, 0.4945204555988312, 0.728147029876709, 0.46634724736213684, 0.18780517578125, 0.1869264394044876, 0.1868264377117157, 0.6604046821594238, -0.6107105016708374, -0.22680775821208954, -0.0008690723916515708, -0.4384680390357971, -0.3780690133571625, 0.05867132171988487, 0.5137770771980286, 0.4470060467720032, 0.06828411668539047, -0.007713578175753355, -0.2396623194217682, 0.45512738823890686, -0.3717045485973358, 0.07063450664281845, -0.9627536535263062, 0.11294538527727127, -0.21071435511112213, -0.43248188495635986, -0.6175097227096558, -0.26172199845314026, -0.03968361020088196, -1.0369373559951782, 0.20459739863872528, 0.08596300333738327, 0.9376088380813599, 0.1435544490814209, -0.5224503874778748, -0.369567334651947, -0.5064220428466797, 0.6072536706924438, -0.7813270688056946, 0.4488450288772583, 0.41498875617980957, 0.40188246965408325, -0.3374449908733368, -0.5494245886802673, -0.8594310879707336, -0.13589908182621002, -0.13216717541217804, 0.12366078048944473, -0.0635758563876152, -0.2198491394519806, -0.0349673368036747, 0.10047155618667603, -0.958516001701355, 0.18207326531410217, -0.2720954716205597, -0.4465038776397705, 0.34531170129776, -0.2262171506881714, 0.741733968257904, -0.09480264037847519, -0.4265693724155426, 0.12995092570781708, -0.799310564994812, -0.3839207887649536, 0.2608965039253235, 0.30934104323387146, -0.006715708412230015, 0.28287145495414734, -0.19889487326145172, 0.8096398115158081, 0.022658780217170715, -0.17648044228553772, 0.24848438799381256, 0.024258052930235863, -0.2742713987827301, 0.3272535502910614, 0.5569794774055481, 0.24551095068454742, 0.3323979377746582, 0.03580109402537346, -0.22895440459251404, 0.2887905538082123, 0.30498719215393066, -0.6177492737770081, -0.38338732719421387, 0.08299774676561356, -0.3305080831050873, -0.6122419834136963, 0.26033255457878113, -0.8230167627334595, -0.6909675002098083, -0.35257408022880554, 0.5116128325462341, -0.4442276358604431, -0.6758999228477478, 0.16117212176322937, -0.22441889345645905, 0.1424444168806076, 0.443205326795578, -0.3937488794326782, 0.01764543168246746, 0.9999116659164429, 0.5899401307106018, 0.02870897203683853, -0.2555690109729767, -1.069553017616272, -0.02813747152686119, -0.660922110080719, 0.7444204688072205, -0.4265059232711792, -0.0769960880279541, -0.005359488073736429, -0.09016754478216171, 0.14090153574943542, -0.6526719927787781, 0.5181369185447693, -0.9153895974159241, 0.4995375871658325, -0.014100488275289536, -0.7440977692604065, -0.31056392192840576, 0.33108362555503845, -0.6773104667663574, 1.0211951732635498, -0.05391629412770271, -0.6788179278373718, 0.5788655281066895, -0.7804358601570129, -0.7293044328689575, 0.29547762870788574, 0.3507525622844696, -0.5022523999214172, -0.04598374664783478, 0.5466582179069519, 0.49089449644088745, 0.10780694335699081, 0.6518763899803162, -0.35478752851486206, -0.18682871758937836, 0.3089742660522461, -0.5249931812286377, 1.0011169910430908, 0.19897900521755219, -0.49449262022972107, 0.09756439179182053, -0.7916164994239807, -0.10796643793582916, 0.20197898149490356, -0.4341070055961609, -0.49906161427497864, -0.3401931822299957, 0.2401459664106369, 0.15873628854751587, 0.11762702465057373, -0.533130943775177, -0.06597200036048889, -0.5450839400291443, 0.043511684983968735, 0.6956355571746826, -0.08994268625974655, 0.4261443018913269, -0.2784271240234375, 0.19418072700500488, 0.20886702835559845, 0.17513903975486755, 0.12116428464651108, -0.7506145238876343, -0.8080427646636963, -0.2813042402267456, 0.5646123290061951, 0.7088080048561096, -1.1204922199249268, 0.3665124773979187, -0.15791215002536774, -0.3527708649635315, -0.7740257382392883, 0.31013840436935425, 0.24929361045360565, 0.5998420119285583, 0.6134411692619324, 0.13243985176086426, -0.9593585133552551, -0.596235454082489, -0.7964778542518616, -0.18396686017513275, -0.12332876026630402, 0.16984902322292328, 0.3866002559661865, -0.40928754210472107, 1.1896741390228271, -0.18638169765472412, -0.21857725083827972, -0.38206225633621216, 0.2602819800376892, 0.21703533828258514, 0.05518365278840065, 0.4599032700061798, -1.2814068794250488, -0.6976028084754944, 0.17942194640636444, -0.8222189545631409, -0.5327654480934143, -0.25263240933418274, -0.040783125907182693, 0.5612539649009705, 0.22468045353889465, -0.5902256965637207, 0.2544630467891693, 0.4857824444770813, -0.4667259752750397, 0.734308123588562, -0.10956501215696335, -0.020607953891158104, -0.9040679931640625, -0.04516422748565674, 0.047492727637290955, -0.5978456139564514, -1.1431870460510254, -0.025161603465676308, 0.3776512145996094, -0.08371596038341522, -0.4590259790420532, 0.9196144342422485, -0.46377602219581604, -0.01535091083496809, -0.48069530725479126, 0.2852840721607208, 0.2077101767063141, 0.17832790315151215, 0.12214741110801697, 0.33750033378601074, 0.6991503238677979, -0.6205517649650574, 0.6955481171607971, -0.13450147211551666, -0.5129417181015015, 0.4203025996685028, -0.47128233313560486, -0.03771771490573883, -0.14177589118480682, 0.3845286965370178, -0.587246835231781, -0.4713602662086487, 0.5226796865463257, -0.8153306841850281, 0.15505756437778473, 0.027362288907170296, -0.6182324886322021, -0.14691205322742462, -0.021235935389995575, 0.04466468095779419, 0.38344085216522217, -0.9803916215896606, 0.4851939380168915, 0.6177113652229309, 0.19119709730148315, -0.6396385431289673, -0.6313548684120178, 0.4186221957206726, -0.14257942140102386, -0.6507548689842224, 0.07839101552963257, 0.08765310794115067, -0.48012062907218933, 0.21477042138576508, -0.04627209156751633, -0.3414541780948639, 0.12535731494426727, 0.024602729827165604, 0.3240634799003601, -0.5328055620193481, 0.2553267776966095, 0.017753785476088524, -0.028147142380475998, 0.07659891247749329, -0.309685617685318, 0.4240877032279968, -0.1616019308567047, -0.1749923974275589, -0.49019068479537964, 0.2160176783800125, 0.7357611656188965, -0.09523118287324905, 0.8305714130401611, 0.9168450236320496, -0.5187796950340271, -0.5983809232711792, -0.5662943124771118, -0.314596027135849, -0.46138158440589905, 0.2814493477344513, -0.010331613011658192, -0.624613881111145, -0.02171953395009041, -0.1486532986164093, -0.12416142225265503, 0.45119693875312805, 0.520662248134613, 0.14061403274536133, 0.8846873044967651, 0.5273709297180176, -0.3108672797679901, 0.12743915617465973, 0.1087627187371254, 0.4976046085357666, -0.004609470255672932, 0.014866285026073456, 0.07725461572408676, -0.030891919508576393, -0.06348059326410294, -0.5628796219825745, 0.4098378121852875, -0.14215104281902313, 0.2153269350528717, 0.1523153930902481, -0.31074437499046326, 0.4886905550956726, 0.6252532601356506, 0.09400121122598648, 0.38955819606781006, -0.012485913932323456, -0.018382130190730095, 0.2086266577243805, -0.8394102454185486, -0.2563321590423584, 0.7930035591125488, 0.3269757628440857, 0.4067468047142029, 0.13711611926555634, 0.24133963882923126, 0.618092954158783, 0.4828525185585022, -0.7055361270904541, 0.5369734764099121, -0.033606238663196564, -0.6936284303665161, -0.2872653901576996, -0.6143233180046082, -0.7115999460220337, 0.3429352641105652, -0.3847620189189911, 0.09347474575042725, -0.12768591940402985, 0.08836855739355087, 0.02228608727455139, 0.3921346068382263, -0.7038672566413879, 0.802740216255188, -0.3023807406425476, 0.23073913156986237, -0.3735400140285492, -0.5777305960655212, 0.4468592405319214, -0.35055112838745117, 0.621222198009491, -0.033672962337732315, 0.11262186616659164, 0.42480048537254333, -0.4234232008457184, 1.1876274347305298, -0.3865804672241211, 0.03411557152867317, 0.03851576894521713, -0.059507228434085846, 0.5681019425392151, 0.06473752856254578, 0.06048177182674408, 0.34009164571762085, -0.41141828894615173, -0.36167848110198975, -0.5170199275016785, 0.7166315317153931, -0.5063883066177368, -0.5527194142341614, -0.2529411315917969, -0.5726296901702881, -0.24488212168216705, 0.29010337591171265, 0.23831704258918762, 0.4483749270439148, -0.3283991515636444, 0.008334302343428135, 0.6717259287834167, -0.4955652356147766, 0.022029228508472443, 0.747197687625885, -0.5155214667320251, -0.06208612024784088, 1.1979786157608032, -0.00181272451300174, -0.11517146974802017, 0.4131503105163574, 0.4150376617908478, -0.22072331607341766, -0.0977630764245987, -0.8972738981246948, 0.17651665210723877, -0.7032785415649414, -0.08214116841554642, -0.7044661045074463, -0.2978127896785736, -0.6813769936561584, -0.2387937307357788, -0.11622001230716705, -0.32227981090545654, -0.37449583411216736, -0.04862866550683975, 0.37417319416999817, 0.5564695000648499, -0.21334201097488403, 0.07106942683458328, -0.657412588596344, 0.7860662341117859, 0.18838009238243103, 0.17814750969409943, -0.308790922164917, -0.5347323417663574, -0.23831357061862946, 0.308012455701828, 0.29335859417915344, -1.0583806037902832, 0.6528921723365784, 0.3889855444431305, 0.5690837502479553, 0.5906437039375305, 0.14203359186649323, 0.45428410172462463, -0.3872503936290741, 0.6528999209403992, -0.038261983543634415, -0.8938814401626587, 0.5952634811401367, -0.30985185503959656, 0.2302161455154419, -0.11043906211853027, 0.5046627521514893, -0.7276042103767395, -0.519667387008667, -0.4986546039581299, -0.5018215775489807, 0.405843049287796, -0.1289035826921463, -0.019669296219944954, 0.08063101768493652, -0.09312685579061508, 0.33137840032577515, -0.04226714372634888, -0.9321238994598389, -0.16747836768627167, -0.33910664916038513, -0.06372985988855362, 0.09689568728208542, -0.2544994056224823, 0.08549971133470535, -0.32249903678894043, 1.1229273080825806, -0.04287894442677498, -0.1454543024301529, 0.044324394315481186, -0.7082923650741577, 0.027949592098593712, -0.0015534179983660579, 0.731429398059845, 0.6857950091362, 0.30620551109313965, 0.2097223401069641, 0.14749348163604736, -0.4571821689605713, -0.16275286674499512, -0.22990216314792633, -0.2417488694190979, 0.7031807899475098, 0.3470146656036377, 0.8010002374649048, 0.010518974624574184, -0.8064008951187134, 0.7623732089996338, 0.1573704481124878, -0.3334936201572418, -0.36279481649398804, -0.10211550444364548, 0.006635521538555622, 0.01805482618510723, 0.5552946329116821, 0.2588583528995514, 0.2174491584300995, -0.3778893053531647, 0.3662152886390686, 0.5305024981498718, -0.2564797103404999, -0.2272423505783081, 0.41217848658561707, 0.2002163678407669, -0.31242260336875916, 0.29269224405288696, -0.2661176323890686, -0.9175570607185364, 0.6787691712379456, 0.735771894454956, 0.5000355243682861, -0.4847571551799774, 0.6554415225982666, 0.07975991815328598, 0.4933026432991028, -0.15937525033950806, -0.058111969381570816, 0.2176266461610794, -0.9661346077919006, -0.4810142517089844, -0.5842317938804626, -0.3852024972438812, 0.3967239260673523, -0.18245665729045868, 0.4405554533004761, -0.25391167402267456, 0.2094632387161255, 0.04085729271173477, -0.16488592326641083, -0.2106362134218216, 0.21539387106895447, 0.33034732937812805, 0.9217620491981506, -0.9203494191169739, 0.8696434497833252, 0.6075789332389832, 0.2843855619430542, -0.4231717884540558, 0.028524557128548622, 0.4636181592941284, -0.8227009773254395, 0.6736945509910583, 0.3994186520576477, 0.07639965415000916, -0.12548348307609558, -0.529347836971283, -0.47349345684051514, 0.3044711947441101, 0.4398837387561798, -0.2189345806837082, 0.39713549613952637, 0.47658830881118774, 0.48259425163269043, -0.28969693183898926, -0.22751355171203613, 0.31270939111709595, 0.8703303933143616, -0.1567959487438202, -0.8336172699928284, -0.16968229413032532, -0.5325524806976318, -0.2924059331417084, 0.2194717675447464, -0.1272854506969452, 0.6105806827545166, -0.0496804304420948, -0.34399518370628357, -0.4781012237071991, 0.6982240080833435, 0.04327237233519554, 0.8471527695655823, 0.6521341800689697, 0.5137097239494324, 1.0728143453598022, -0.002177625196054578, 0.851679265499115, -0.18819013237953186, 0.10038689523935318, 0.8939751982688904, -0.1047901138663292, 0.6169529557228088, 0.10962264239788055, 0.2721482813358307, 0.5508414506912231, 0.7142696976661682, -0.09561505913734436, 0.37494876980781555, 0.17584945261478424, -0.5292935967445374, -0.22052448987960815, -0.02911960706114769, -0.15475815534591675, 0.38038790225982666, 0.6292166113853455, -0.2762329578399658, -0.20102015137672424, 0.5060657858848572, 0.2232799381017685, 0.0682377889752388, -0.5257882475852966, 0.5801489949226379, -0.14733552932739258, -0.445586234331131, 0.606273889541626, 0.1516682356595993, 0.8619480133056641, -0.32157567143440247, -0.050734780728816986, -0.14230860769748688, 0.03465316444635391, -0.2953377664089203, -0.5009304285049438, 0.4269999861717224, 0.09381536394357681, -0.26911500096321106, -0.30293914675712585, 1.3878859281539917, -0.6948348879814148, -0.4113020896911621, 0.23705866932868958, 0.6042678356170654, 0.3152075409889221, -0.4307609796524048, -0.5213614106178284, -0.15783753991127014, -0.16546274721622467, -0.23229224979877472, 0.22833359241485596, 0.5555456876754761, -0.07381870597600937, 0.6413165926933289, 1.0786129236221313, 0.3112291097640991, 0.3056575357913971, -0.019441187381744385, 0.6338620781898499, -0.14200283586978912, -0.6206353306770325, -0.9059441685676575, 0.23979082703590393, -0.5200104117393494, -0.19191649556159973, 0.8239400386810303, 0.5818908214569092, 0.8110997676849365, -0.30195683240890503, 0.926939070224762, 0.10274871438741684, 0.737891674041748, -0.5496968626976013, 1.078303575515747, -0.5594508051872253, 0.26286742091178894, 0.09898020327091217, -0.6591986417770386, -0.6719993352890015, 0.4195956587791443, -0.3314124345779419, -0.31601694226264954, 0.47927817702293396, 0.9258792996406555, -0.2147676795721054, 0.00843748264014721, 0.6320875287055969, 0.4422440230846405, 0.08949246257543564, 0.2293291538953781, 0.7755550146102905, -0.05027638375759125, 0.40978890657424927, -0.08275596052408218, -0.34397876262664795, -0.7298217415809631, -0.7107317447662354, -0.8692007660865784, -0.5962533354759216, -0.2150496542453766, -0.21486440300941467, 0.1827719360589981, 0.6187713742256165, 0.787527859210968, -0.7766075730323792, 0.21110619604587555, -0.008220002986490726, 0.35866230726242065, -0.2294253259897232, -0.39076557755470276, 0.24284429848194122, -0.45250535011291504, -0.617630660533905, 0.7699975967407227, 0.29827040433883667, -0.3384998142719269, -0.2941732406616211, -0.10162651538848877, -0.1639389991760254, 0.35357022285461426, 0.7508652210235596, 0.35902348160743713, -0.8457119464874268, -0.22000561654567719, 0.05918578803539276, -0.24650126695632935, -0.17717568576335907, 0.6938779354095459, -1.084465742111206, 0.3756677508354187, 0.427438884973526, 1.0044270753860474, 0.21968311071395874, -0.065114326775074, 0.5209684371948242, -0.8182194232940674, 0.11286675184965134, 0.17380550503730774, 0.2996622622013092, 0.4224541187286377, -0.8251973986625671, 0.3800289034843445, 0.5168031454086304, -0.40551942586898804, -0.8941156268119812, 0.0767713263630867, -0.6902757287025452, -0.8016767501831055, 1.376172423362732, 0.1508406698703766, -0.3105202615261078, -0.49811044335365295, -0.22353732585906982, 0.32368403673171997, -0.22348231077194214, 0.9132686853408813, 0.688068151473999, 0.2114337831735611, -0.16079950332641602, -0.6011329889297485, 0.6314859390258789, 0.5280686020851135, -0.9269804954528809, -0.18901604413986206, 0.620996356010437, 0.2702667713165283, 0.01146661676466465, 0.4505387544631958, 0.14329001307487488, 0.623938798904419, -0.1243433728814125, -0.09021973609924316, -0.1270596832036972, -0.5166453719139099, -0.2241821587085724, 0.15166409313678741, -0.4073621332645416, 0.06663979589939117 ]
http://arxiv.org/abs/2405.04163v1
http://arxiv.org/pdf/2405.04163v1
MEDVOC: Vocabulary Adaptation for Fine-tuning Pre-trained Language Models on Medical Text Summarization
2024-05-07T10:00:00
2024-05-07T10:00:00
Gunjan Balde, Soumyadeep Roy, Mainack Mondal, Niloy Ganguly
cs.CL
cs.CL
This work presents a dynamic vocabulary adaptation strategy, MEDVOC, for fine-tuning pre-trained language models (PLMs) like BertSumAbs, BART, and PEGASUS for improved medical text summarization. In contrast to existing domain adaptation approaches in summarization, MEDVOC treats vocabulary as an optimizable parameter and optimizes the PLM vocabulary based on fragment score conditioned only on the downstream task's reference summaries. Unlike previous works on vocabulary adaptation (limited only to classification tasks), optimizing vocabulary based on summarization tasks requires an extremely costly intermediate fine-tuning step on large summarization datasets. To that end, our novel fragment score-based hyperparameter search very significantly reduces this fine-tuning time -- from 450 days to less than 2 days on average. Furthermore, while previous works on vocabulary adaptation are often primarily tied to single PLMs, MEDVOC is designed to be deployable across multiple PLMs (with varying model vocabulary sizes, pre-training objectives, and model sizes) -- bridging the limited vocabulary overlap between the biomedical literature domain and PLMs. MEDVOC outperforms baselines by 15.74% in terms of Rouge-L in zero-shot setting and shows gains of 17.29% in high Out-Of-Vocabulary (OOV) concentrations. Our human evaluation shows MEDVOC generates more faithful medical summaries (88% compared to 59% in baselines). We make the codebase publicly available at https://github.com/gb-kgp/MEDVOC.
[ -0.37910962104797363, -0.47433018684387207, 0.42020922899246216, 0.08730464428663254, -0.8167591094970703, 0.1891990602016449, -0.16693072021007538, -0.07302618771791458, 0.34062692523002625, 0.5497556328773499, -0.40543413162231445, -0.727695107460022, -0.6217050552368164, 0.1834203153848648, 0.07744824141263962, 1.3501402139663696, -0.028601858764886856, 0.17195406556129456, -0.3813492953777313, -0.48790454864501953, -0.453403502702713, -0.5894489288330078, -0.5722965598106384, -0.23704089224338531, 0.7387726902961731, 0.2843579351902008, 0.5660282969474792, 0.542579174041748, 0.8040503859519958, 0.20705319941043854, -0.09633053839206696, 0.4951016306877136, -0.5983585715293884, 0.2424129992723465, -0.27795860171318054, -0.4424610435962677, -0.6178331971168518, -0.3029729425907135, 0.5384829044342041, 0.5513521432876587, -0.41806119680404663, -0.03941437229514122, 0.036248769611120224, 1.0471243858337402, -0.8133716583251953, 0.12036260217428207, -0.7615867257118225, -0.10394473373889923, -0.0908626839518547, -0.6107860207557678, -0.33093321323394775, -0.26404011249542236, 0.20949384570121765, -0.8928496837615967, 0.07397452741861343, -0.07368957251310349, 0.9903016090393066, 0.3609412610530853, -0.1857670098543167, -0.1436537504196167, -0.3549695312976837, 0.6530562043190002, -0.700694739818573, -0.026599671691656113, 0.4575101435184479, 0.36053013801574707, -0.23808149993419647, -0.9048479199409485, -0.14299972355365753, -0.21562978625297546, 0.39452382922172546, 0.6849493980407715, 0.045155320316553116, 0.31313472986221313, -0.3840465843677521, 0.28721341490745544, -0.4274574816226959, 0.0953221395611763, -0.36994650959968567, -0.14220771193504333, 0.26102596521377563, 0.39431390166282654, 0.006617017090320587, 0.07237408310174942, -0.3155079782009125, 0.087955541908741, -0.6221021413803101, -0.1692919284105301, -0.04352403059601784, 0.21522557735443115, -0.19109903275966644, 0.3933373689651489, -0.08408727496862411, 0.8916542530059814, -0.06626010686159134, -0.06902524828910828, 0.47121676802635193, -0.549651563167572, -0.2356332689523697, 0.07292623817920685, 0.4878753423690796, 0.6545185446739197, 0.24381324648857117, 0.1630244255065918, -0.07110711187124252, -0.2848180830478668, 0.8429258465766907, -0.973139226436615, -0.46191516518592834, 0.1265724003314972, -0.763991117477417, -0.5479143261909485, -0.1793351173400879, -0.4838525056838989, -0.4946815073490143, -0.17607249319553375, 0.6720900535583496, -0.34507885575294495, 0.1861346811056137, 0.4886425733566284, 0.008051007986068726, 0.050479672849178314, 0.5312787890434265, -0.641115128993988, 0.6444364786148071, 0.5179415345191956, 1.3041268587112427, -0.4469524621963501, -0.3478078544139862, -0.6303677558898926, -0.11232315003871918, -0.5168030261993408, 1.0527429580688477, -0.19347402453422546, -0.5320374369621277, -0.09870044887065887, 0.16113772988319397, -0.10002131760120392, -0.6883342862129211, 0.36894503235816956, -0.328774094581604, 0.2683941721916199, 0.008033493533730507, -0.6051384806632996, -0.07399649918079376, 0.21883347630500793, -0.4875269830226898, 0.6089237332344055, 0.32126399874687195, -0.804568350315094, 0.3250359892845154, -0.8060855865478516, -0.6285136342048645, 0.14052942395210266, 0.042686354368925095, -0.4504866898059845, 0.26428741216659546, 0.2747453451156616, 0.5891567468643188, -0.2469191998243332, -0.028752001002430916, -0.12605427205562592, -0.2713373601436615, 0.24501527845859528, -0.14483408629894257, 0.40339934825897217, 0.3037419617176056, 0.23320741951465607, 0.3776111900806427, -0.6710693836212158, -0.21023255586624146, 0.08429603278636932, -0.5650250315666199, -0.6157042980194092, 0.30720242857933044, -0.03167352452874184, 0.08596863597631454, 0.09479366987943649, -0.208455890417099, 0.3904763162136078, -0.9820308089256287, 0.21894384920597076, 0.5180051326751709, 0.23303793370723724, 0.35181674361228943, -0.6894501447677612, 0.5323200225830078, -0.0034824234899133444, 0.35565224289894104, -0.16738328337669373, -0.4565295875072479, -0.49546077847480774, -0.6002375483512878, 0.6224157214164734, 0.6295982599258423, -1.1184483766555786, 0.6477243900299072, -0.3312523663043976, -0.5566410422325134, -0.7638847827911377, -0.14897829294204712, 0.33307352662086487, 0.6501321196556091, 0.5387229323387146, -0.7464873194694519, -0.40903612971305847, -0.716490626335144, -0.2524929940700531, -0.05848640203475952, -0.22334250807762146, 0.4548022747039795, 0.4702942669391632, -0.05990569666028023, 0.5034184455871582, -0.6038604378700256, -0.5988033413887024, -0.4371039569377899, 0.1411656141281128, 0.4385945200920105, 0.21262654662132263, 0.7546337246894836, -0.6319897174835205, -0.3736649453639984, -0.04604654014110565, -0.18511752784252167, -0.24790847301483154, -0.31122201681137085, -0.055069901049137115, 0.019891532137989998, 0.5414862036705017, -0.07314476370811462, 0.29941287636756897, 0.8940733075141907, -0.39601945877075195, 0.5300565361976624, -0.9963951706886292, 0.2026538997888565, -1.5279346704483032, 0.015469652600586414, -0.23763202130794525, -0.4397408068180084, -0.4991382956504822, -0.17074525356292725, 0.016672775149345398, 0.26003560423851013, -0.6693092584609985, 0.549935519695282, -0.4093300998210907, 0.3109649419784546, -0.5550459027290344, 0.08859016001224518, 0.11123234033584595, 0.2073153555393219, -0.124754898250103, 0.7607086896896362, 0.6355075836181641, -0.8432568311691284, 0.27008113265037537, 0.31203576922416687, -0.47834330797195435, 0.2996532618999481, -0.5674754977226257, -0.2300543189048767, -0.16572512686252594, 0.30700352787971497, -0.6065894365310669, -0.20464682579040527, 0.018998850136995316, -0.5451995134353638, 0.2444816380739212, -0.2587646245956421, -0.28236594796180725, -0.003932402469217777, -0.4778772294521332, 0.3988218903541565, 0.589702308177948, -0.30285897850990295, 0.7104003429412842, 0.5998725295066833, -0.39321398735046387, -0.30314990878105164, -0.6527584791183472, 0.17682930827140808, 0.214689239859581, -0.1480712741613388, 0.6051430702209473, -0.15012453496456146, 0.10759688168764114, -0.23206941783428192, -0.13424775004386902, -0.18989910185337067, 0.13758668303489685, 0.13993790745735168, 0.36673083901405334, -0.21198293566703796, 0.3383252024650574, 0.3956558108329773, -0.08187709003686905, -0.27172937989234924, -0.2796940803527832, 0.5329120755195618, 0.07457134872674942, -0.06205035746097565, -0.1577301025390625, 0.177106112241745, 0.8964666128158569, -0.2880084216594696, 1.042197585105896, 0.2937546968460083, -0.24242959916591644, -0.0051839351654052734, -0.33442774415016174, -0.07455793768167496, -0.39027050137519836, 0.7847766876220703, -0.2133524864912033, -0.6535807847976685, 0.5939379334449768, -0.29545658826828003, 0.12758636474609375, 0.4970158040523529, 1.0964053869247437, -0.11321194469928741, 0.7444037199020386, 0.4670155644416809, -0.1794227808713913, 0.476954847574234, 0.037868648767471313, -0.36294782161712646, -0.6489396691322327, -0.09260597825050354, -0.40702447295188904, -0.19308966398239136, -0.38403260707855225, -0.6653630137443542, 0.5663313865661621, -0.25676873326301575, 0.18704797327518463, 0.02904698997735977, -0.5126296281814575, 0.5268909335136414, 0.27311697602272034, 0.1616620272397995, 0.14080117642879486, -0.08282241225242615, -0.3318009674549103, 0.10470467805862427, -0.7598906755447388, -0.06127539649605751, 1.1435344219207764, 0.2909877598285675, 0.7693723440170288, -0.03440281003713608, 0.6206876635551453, 0.23646026849746704, 0.3236735463142395, -1.0322580337524414, 0.28258779644966125, -0.7186598777770996, -0.43293526768684387, -0.07536465674638748, -0.3546724021434784, -1.2074021100997925, 0.3096899688243866, -0.45151203870773315, -0.16725747287273407, 0.11775168031454086, 0.17881740629673004, -0.6998055577278137, 0.16369672119617462, -0.6452576518058777, 0.7337691187858582, -0.0900459960103035, -0.015461520291864872, -0.34708601236343384, -0.7360683083534241, -0.12755565345287323, -0.40743333101272583, 0.23892295360565186, -0.2524261772632599, -0.5828405022621155, 0.8010851144790649, -0.5798258185386658, 0.6102167367935181, -0.15253321826457977, 0.23127061128616333, -0.01847861334681511, -0.020185306668281555, 0.3232537806034088, -0.09176800400018692, 0.012929457239806652, 0.1821717619895935, 0.23815466463565826, -0.6495273113250732, -0.47482067346572876, 0.5450022220611572, -0.5163142085075378, -0.1679680198431015, -0.4537402391433716, -0.6850489974021912, -0.27775347232818604, 0.2243577539920807, 0.39571672677993774, 0.5185139775276184, -0.37668323516845703, 0.4647504389286041, 0.6782855987548828, -0.4175426959991455, 0.10205424576997757, 0.7042236328125, -0.03632130101323128, -0.629772424697876, 0.7910598516464233, -0.013783693313598633, 0.3082931637763977, 0.5560290813446045, 0.2746262848377228, 0.011033161543309689, -1.067604660987854, -0.3005496561527252, 0.2976822257041931, -0.3386070132255554, -0.35882845520973206, -0.46041175723075867, -0.25049614906311035, -0.2789255976676941, -0.31278589367866516, -0.5881029963493347, -0.20256055891513824, -0.5452249050140381, 0.17360545694828033, 0.5250706076622009, 0.479856938123703, 0.25550156831741333, 0.3884628415107727, -0.9877031445503235, 0.5200730562210083, -0.08750388026237488, 0.41698944568634033, -0.5986930727958679, -1.0396537780761719, -0.5846855044364929, -0.3599303960800171, 0.02622830495238304, -0.7645717263221741, 0.5482096076011658, 0.5197708606719971, 0.30429965257644653, 0.3110862076282501, 0.08931796252727509, 0.6021039485931396, -0.7660726308822632, 0.6507574319839478, 0.2983108460903168, -0.5443479418754578, 0.5114765167236328, -0.2943181097507477, 0.7312219738960266, 0.8803452253341675, 0.32630565762519836, -0.3531481623649597, -0.33389851450920105, -0.363796204328537, -0.9235544800758362, 0.43427774310112, 0.2634528577327728, 0.0858101025223732, 0.2540963292121887, 0.5142159461975098, 0.18528927862644196, 0.08657374978065491, -0.01625729911029339, -0.3315114676952362, -0.1206449419260025, -0.6071139574050903, -0.31708019971847534, -0.24422495067119598, -0.1897123157978058, -0.570302426815033, 0.6601950526237488, -0.3241032361984253, 0.1040450930595398, 0.4118136167526245, -0.04774686321616173, 0.17173390090465546, 0.12293697893619537, 0.9550759196281433, 0.6157468557357788, -0.2791803479194641, -0.0653502568602562, 0.43206679821014404, -1.111050009727478, -0.15505261719226837, 0.39074012637138367, 0.18873156607151031, 0.2784527838230133, 0.3697730004787445, 0.7595435380935669, 0.3727816045284271, -0.8165844082832336, 0.7679079174995422, -0.37981024384498596, -0.5870655179023743, 0.024619590491056442, 0.06788023561239243, -0.0631360337138176, 0.03886619955301285, 0.11544611304998398, 0.2756567597389221, 0.07234150171279907, -0.22727449238300323, 0.2305869609117508, 0.019364871084690094, -0.43822282552719116, -0.24373838305473328, 0.4715086817741394, 0.2880239188671112, -0.025836296379566193, 0.006278305780142546, 0.1864081770181656, -0.16807179152965546, 0.3804205656051636, 0.29289761185646057, 0.8161444664001465, -0.49042433500289917, 0.09783871471881866, 0.05525674298405647, 0.18758149445056915, -0.11486402899026871, 0.35054469108581543, 0.18416208028793335, -0.6260567307472229, -0.6268008947372437, -0.6151279807090759, -0.38666149973869324, 0.007948694750666618, -0.612830638885498, 0.2522415816783905, -0.33187708258628845, -0.2384713888168335, 0.17037378251552582, -0.06529708951711655, -0.25088998675346375, 0.20454950630664825, -0.0726592093706131, 1.1396220922470093, -0.5855434536933899, 1.1369901895523071, 0.9036012887954712, -0.2167181521654129, -0.44823867082595825, -0.1280711144208908, -0.11097563803195953, -0.8503741025924683, 0.009269250556826591, -0.33316493034362793, -0.16074706614017487, 0.04902388155460358, -0.37517401576042175, -0.5971542000770569, 0.9992440938949585, 0.2214713841676712, -0.6195089221000671, -0.11869294196367264, -0.40288057923316956, 0.8366945385932922, -0.5439574122428894, -0.10533356666564941, 0.504219114780426, 0.10878502577543259, 0.044899120926856995, -1.0572468042373657, -0.23726433515548706, -0.16766759753227234, -0.12444449216127396, 0.19274206459522247, -0.38837334513664246, 0.5626680850982666, -0.23337015509605408, 0.2644153833389282, 0.20518869161605835, 0.4642110764980316, 0.10099471360445023, 0.28067272901535034, 0.41573160886764526, 0.22500546276569366, 0.6274553537368774, 0.09478283673524857, 1.154759168624878, -0.254736989736557, 0.2947474420070648, 1.173891305923462, -0.15098269283771515, 0.7811069488525391, 0.5014169812202454, -0.0985826626420021, 0.4897148907184601, 0.5809764266014099, -0.08645888417959213, 0.8840647339820862, 0.28934040665626526, -0.33780115842819214, -0.1865699589252472, 0.01731041632592678, -0.37828174233436584, 0.46589571237564087, 0.5230026245117188, -0.5259436368942261, -0.19394944608211517, 0.2718891501426697, 0.041431911289691925, -0.043850384652614594, -0.5855062007904053, 1.1684095859527588, 0.12116803228855133, -0.575255274772644, 0.9056003093719482, -0.07638894766569138, 0.5138116478919983, -0.8644431233406067, 0.13973094522953033, -0.08435312658548355, 0.422580748796463, -0.07597484439611435, -0.489374577999115, 0.07995986193418503, -0.13354092836380005, -0.229530930519104, 0.14387823641300201, 0.8486276865005493, -0.35792669653892517, -0.38664060831069946, 0.0930253267288208, 0.6048796772956848, 0.326388418674469, -0.20513607561588287, -0.9398087859153748, -0.13010916113853455, -0.009824169799685478, -0.25889575481414795, 0.5624334812164307, 0.3033211827278137, 0.20220282673835754, 0.6120813488960266, 0.5982952117919922, 0.7241389155387878, -0.15758992731571198, 0.5294622182846069, 1.00629723072052, -0.4765367805957794, -0.5002608299255371, -0.7172869443893433, 0.40441465377807617, 0.043210264295339584, -0.522383451461792, 0.2712273895740509, 0.6332722306251526, 0.45461583137512207, -0.3880932331085205, 0.5920154452323914, 0.41471344232559204, 0.6562055349349976, -0.6601209044456482, 1.1945761442184448, -0.7997866868972778, -0.08846696466207504, -0.04456878453493118, -0.5088580846786499, -0.7198957204818726, 0.3381504714488983, 0.02402542158961296, -0.11937728524208069, 0.9009795188903809, 0.7549761533737183, 0.08503081649541855, -0.4933220446109772, 0.6180135607719421, 0.3362674117088318, 0.07616449147462845, 0.38501492142677307, 0.42712831497192383, -0.2523626983165741, 0.5457049608230591, 0.016503607854247093, -0.4656183123588562, -0.5296809077262878, -0.8252725601196289, -0.8940337300300598, -0.5762124061584473, -0.3711143732070923, -0.4108812212944031, 0.39641571044921875, 0.9533367156982422, 0.6954987049102783, -0.9698882102966309, 0.0968150645494461, 0.0037922377232462168, -0.24391740560531616, -0.41564297676086426, -0.1259484887123108, 0.44718074798583984, -0.5269637703895569, -0.3968799412250519, 0.46680545806884766, 0.5937893986701965, -0.01655357889831066, 0.10102350264787674, -0.13576623797416687, -0.22248531877994537, 0.354937344789505, 0.6972756385803223, 0.1384960412979126, -0.5281381607055664, 0.005532511044293642, -0.14965635538101196, -0.22022745013237, 0.281351238489151, 1.0125654935836792, -0.8376491665840149, 0.8561081886291504, 0.5036790370941162, 0.7081615924835205, 0.2823781669139862, 0.040701791644096375, 0.5224249958992004, -0.6672850251197815, 0.08873111009597778, 0.5433403849601746, 0.27057379484176636, -0.08601053804159164, -0.038781195878982544, 0.20488958060741425, 0.20533351600170135, -0.6431427597999573, -0.710922122001648, -0.11551143229007721, -1.2626744508743286, -0.5802711844444275, 0.9893653392791748, -0.08168234676122665, -0.3650282919406891, -0.41926857829093933, -0.6391245722770691, 0.4128948450088501, -0.28205356001853943, 0.8515284061431885, 0.49588167667388916, 0.000481874099932611, 0.29446107149124146, -0.5581552982330322, 0.6929113268852234, 0.4832872450351715, -0.9866732358932495, -0.032419558614492416, 0.20717492699623108, 0.345889151096344, -0.07158456742763519, 0.692935585975647, -0.25767791271209717, 0.513924777507782, -0.3687634766101837, 0.2617463171482086, -0.1795123815536499, -0.2552299201488495, -0.6531530618667603, 0.09143359959125519, 0.03799695521593094, -0.5166105031967163 ]
http://arxiv.org/abs/2405.04160v1
http://arxiv.org/pdf/2405.04160v1
A Causal Explainable Guardrails for Large Language Models
2024-05-07T09:55:05
2024-05-07T09:55:05
Zhixuan Chu, Yan Wang, Longfei Li, Zhibo Wang, Zhan Qin, Kui Ren
cs.CL
cs.CL
Large Language Models (LLMs) have shown impressive performance in natural language tasks, but their outputs can exhibit undesirable attributes or biases. Existing methods for steering LLMs towards desired attributes often assume unbiased representations and rely solely on steering prompts. However, the representations learned from pre-training can introduce semantic biases that influence the steering process, leading to suboptimal results. We propose LLMGuardaril, a novel framework that incorporates causal analysis and adversarial learning to obtain unbiased steering representations in LLMs. LLMGuardaril systematically identifies and blocks the confounding effects of biases, enabling the extraction of unbiased steering representations. Additionally, it includes an explainable component that provides insights into the alignment between the generated output and the desired direction. Experiments demonstrate LLMGuardaril's effectiveness in steering LLMs towards desired attributes while mitigating biases. Our work contributes to the development of safe and reliable LLMs that align with desired attributes. We discuss the limitations and future research directions, highlighting the need for ongoing research to address the ethical implications of large language models.
[ -0.34804174304008484, -0.8920368552207947, 0.7571880221366882, 0.3008507788181305, -0.20613178610801697, -0.09970441460609436, -0.25714993476867676, -0.14593090116977692, 0.08264194428920746, 0.7523263692855835, -0.5336758494377136, -0.30187222361564636, -0.9640290141105652, -0.32576173543930054, -0.49649477005004883, 1.1869940757751465, -0.048711784183979034, 0.17852334678173065, 0.06090162694454193, -0.09108173847198486, -0.43976229429244995, -0.4331793189048767, -0.714556872844696, -0.820083498954773, 0.8704832792282104, 0.20077702403068542, 0.9776328206062317, 0.7616670727729797, 0.19704613089561462, 0.230178564786911, 0.005106679163873196, -0.03399559482932091, -0.567937433719635, 0.0529659129679203, -0.28614377975463867, -0.2613673508167267, -0.46312037110328674, 0.15585950016975403, 0.6148120760917664, 0.7005442380905151, -0.2615303695201874, -0.1594497114419937, 0.22727473080158234, 0.5674935579299927, -0.556540846824646, 0.13889138400554657, -0.618576169013977, -0.1961095631122589, -0.4187197685241699, -0.3677637279033661, -0.44442227482795715, -0.4155537486076355, 0.0466429628431797, -0.6035520434379578, -0.11752033233642578, 0.2505221366882324, 0.8966699242591858, 0.2947271466255188, -0.69887775182724, -0.3343890905380249, -0.7514739036560059, 0.8937092423439026, -0.7505821585655212, 0.30663737654685974, 0.18129119277000427, 0.28573325276374817, -0.6180751919746399, -0.184083491563797, -0.5413481593132019, -0.3630863428115845, -0.13790394365787506, -0.09873881191015244, -0.4175993502140045, 0.0858597531914711, -0.005213018506765366, -0.07757837325334549, -0.49327385425567627, 0.7902489900588989, -0.23464341461658478, -0.15962113440036774, 0.6965702772140503, 0.03379693254828453, 0.40942949056625366, -0.06630214303731918, -0.4195544719696045, -0.13901929557323456, -1.1207540035247803, -0.0919567123055458, 0.7534081935882568, 0.37261608242988586, -0.0738833099603653, 0.5379008650779724, 0.009254418313503265, 0.587968111038208, 0.16628903150558472, -0.06088357791304588, -0.05222047120332718, 0.33843010663986206, -0.20851176977157593, 0.32012954354286194, 1.064522385597229, 0.12985777854919434, 0.3989737927913666, -0.4024944007396698, -0.016509084030985832, 0.05358723923563957, 0.36450138688087463, -0.6805601119995117, -0.1823175847530365, 0.2381829023361206, -0.12959709763526917, -0.6389746069908142, -0.028180429711937904, -1.0550785064697266, -0.6475550532341003, -0.442469984292984, 0.3739955425262451, -0.2329477220773697, -0.2046155482530594, 0.07973796874284744, 0.16655683517456055, 0.273266464471817, 0.2211151272058487, -0.9343059062957764, -0.0010995903285220265, 0.7440089583396912, 0.4341775178909302, -0.3723524212837219, -0.36484000086784363, -0.6062645316123962, 0.4362240731716156, -0.3614457845687866, 0.6006425619125366, -0.4768696129322052, -0.2622506022453308, 0.09147212654352188, 0.03893711790442467, 0.11940816044807434, -0.20853663980960846, 0.6547063589096069, -0.6838972568511963, 0.11715155839920044, -0.2620641589164734, -0.23131966590881348, -0.30906644463539124, -0.07601824402809143, -0.6278184056282043, 0.6877121925354004, -0.33929815888404846, -0.9117349982261658, 0.31545189023017883, -0.36895671486854553, -0.5769590735435486, -0.41202113032341003, -0.27147531509399414, -0.5211473703384399, 0.1630898416042328, 0.3561421036720276, 0.5800532698631287, -0.6535553336143494, 1.0793743133544922, -0.4972650110721588, 0.05037105828523636, 0.28552332520484924, -0.9546392560005188, 0.8758994340896606, 0.08366461843252182, -0.46473097801208496, 0.47194772958755493, -0.7007125616073608, -0.34449103474617004, 0.12570296227931976, -0.11023658514022827, -0.5153397917747498, 0.12274347245693207, -0.1691252440214157, 0.18458880484104156, 0.13236086070537567, -0.314384788274765, -0.05936957150697708, -0.2598166763782501, 0.10731882601976395, 1.3308261632919312, -0.178081214427948, 0.8055463433265686, -0.04325539991259575, 0.4480147659778595, -0.06680706143379211, 0.19118693470954895, 0.42129048705101013, -0.29053908586502075, -0.84328293800354, -0.2510809004306793, -0.047065526247024536, 0.32175466418266296, -0.7725976705551147, 0.32950064539909363, -0.28903675079345703, -0.38987308740615845, -0.414554238319397, 0.35986417531967163, 0.6553156971931458, 0.5510163307189941, 0.1962137073278427, -0.06811042129993439, -0.32082411646842957, -1.1302475929260254, -0.26717981696128845, -0.24504071474075317, 0.00889463722705841, -0.08810386061668396, 0.4468144476413727, -0.08354421705007553, 0.5545963048934937, -0.4993581175804138, -0.19223915040493011, -0.414358526468277, 0.411822646856308, 0.19352905452251434, 0.4023939371109009, 0.5368615984916687, -0.8746591210365295, 0.11583481729030609, 0.05921074375510216, -0.8484324216842651, -0.4851648807525635, -0.155491903424263, -0.5873017907142639, -0.16591349244117737, 0.5461556315422058, -0.6071563363075256, 0.18565227091312408, 0.5992231965065002, -0.34046727418899536, 0.526382565498352, -0.16204462945461273, -0.08626285940408707, -0.8151184916496277, 0.07266201078891754, 0.10504268109798431, -0.07204502075910568, -0.7196070551872253, 0.0729759931564331, -0.05538340285420418, 0.2806728184223175, -0.33989396691322327, 0.6149753928184509, -0.28083547949790955, 0.04283876717090607, -0.3203056752681732, 0.23957698047161102, 0.00563471857458353, 0.611622154712677, -0.16124345362186432, 0.42904365062713623, 0.492011159658432, -0.7087487578392029, 0.34591570496559143, 0.21064120531082153, -0.05250433087348938, 0.7286871075630188, -0.692494809627533, -0.3057857155799866, -0.4887891709804535, 0.1877380758523941, -0.714967668056488, -0.3428753912448883, 0.18593433499336243, -0.3299944996833801, 0.624539852142334, -0.0922393947839737, -0.13202321529388428, -0.19190895557403564, -0.23391962051391602, -0.00484045222401619, 0.39980846643447876, -0.7275432348251343, 0.7420041561126709, 0.617011308670044, -0.09842253476381302, -0.6478003859519958, -0.5333348512649536, -0.04486999660730362, -0.6468170881271362, -0.32832905650138855, 0.19983676075935364, 0.4047463536262512, -0.32573965191841125, -0.08166133612394333, 0.13922791182994843, 0.02668178826570511, 0.3906398117542267, 0.38522812724113464, 0.5045286417007446, -0.0010477524483576417, 0.09645269066095352, -0.027554383501410484, -0.3190530240535736, 0.38742268085479736, -0.40044260025024414, 0.40942585468292236, 0.2656457722187042, -0.4112645387649536, -0.14181800186634064, 0.3327106237411499, 0.6790680885314941, -0.23954856395721436, 0.9500852823257446, 0.6705944538116455, -0.12103649973869324, -0.3448227345943451, -0.46211448311805725, -0.022610032930970192, -0.4639289379119873, 0.5458043217658997, 0.1658383011817932, -1.031502604484558, 0.3401632308959961, 0.09781157970428467, 0.16716426610946655, 0.40860339999198914, 0.6504740715026855, 0.11671768873929977, 1.1324092149734497, 0.703357994556427, -0.5157507658004761, 0.4004027843475342, 0.15124650299549103, 0.47501224279403687, -0.7280056476593018, -0.29295092821121216, -0.5631074905395508, -0.07213147729635239, -0.7562383413314819, -0.25074565410614014, 0.4421331584453583, 0.0498381108045578, -0.6059414148330688, 0.13660025596618652, -0.19356659054756165, 0.23605398833751678, 0.6784025430679321, -0.025814281776547432, 0.17080672085285187, -0.20049944519996643, -0.18121805787086487, 0.05910090357065201, -0.6281688809394836, -0.5690078735351562, 0.8893967866897583, 0.3019016981124878, 1.278509259223938, 0.1753818392753601, 0.31052473187446594, 0.18389855325222015, 0.5069909691810608, -0.5535587072372437, 0.5352694988250732, -0.08794844150543213, -0.649479329586029, -0.3815067708492279, -0.5260919332504272, -0.8624847531318665, 0.43182599544525146, -0.29757124185562134, -0.9121766090393066, -0.0061746276915073395, 0.3797956705093384, 0.010213486850261688, 0.3775666654109955, -0.4289654791355133, 0.9224546551704407, -0.6971079707145691, -0.7114664316177368, -0.1017594262957573, -0.5387617349624634, 0.7477036118507385, -0.1470617651939392, 0.292675256729126, -0.22888582944869995, 0.31250128149986267, 0.7871315479278564, -0.3108750581741333, 0.9070833325386047, -0.14524197578430176, -0.3804747760295868, -0.02150757424533367, 0.18874244391918182, 0.734573245048523, -0.18371842801570892, 0.052857618778944016, 0.05549135059118271, -0.5966588854789734, -0.2716493606567383, -0.6476073265075684, 1.1063112020492554, -0.6483718156814575, -0.9626808762550354, -0.36698728799819946, -0.5058122873306274, -0.36724400520324707, 0.11966270208358765, 0.10710308700799942, 0.2833384573459625, -0.30652907490730286, -0.09879375994205475, 0.7610408663749695, -0.44317859411239624, 0.327554851770401, 0.5296111702919006, -0.39068061113357544, -0.11562605947256088, 0.7809048891067505, -0.028090134263038635, 0.28589072823524475, 0.32954609394073486, 0.3377705514431, -0.31532931327819824, -0.6749288439750671, -0.44247230887413025, 0.20598384737968445, -0.5098419785499573, -0.09601868689060211, -0.4866641163825989, -0.09298563748598099, -0.2021009624004364, -0.31657689809799194, -0.45311641693115234, -0.26511678099632263, -0.3475402593612671, -0.37191587686538696, 0.42513585090637207, 0.8686559796333313, -0.08039955794811249, 0.6474633812904358, -0.3264251947402954, 0.17056149244308472, 0.2958836257457733, 0.15484195947647095, 0.43225449323654175, -0.5429216623306274, -0.03342870995402336, -0.04445406049489975, -0.4003444314002991, -0.8293465971946716, 0.5405140519142151, -0.2665152847766876, 0.7573060393333435, 0.7009475827217102, 0.007316994946449995, 0.5709596872329712, -0.6981189250946045, 0.44245973229408264, 0.2541963756084442, -0.8103820085525513, 0.44204381108283997, -0.4909442365169525, 0.003862930927425623, 0.2326834797859192, 0.6659340858459473, -0.10036299377679825, -0.6113611459732056, -0.40363937616348267, -1.0010992288589478, 0.4502210319042206, 0.28194794058799744, -0.06101222708821297, 0.1656709909439087, 0.11798032373189926, -0.0018077024724334478, 0.1387181133031845, -0.7659119367599487, -0.13195361196994781, 0.036529649049043655, -0.1708994358778, -0.3654935359954834, -0.34313908219337463, -0.1308765411376953, 0.06549754738807678, 1.0213090181350708, 0.013959221541881561, -0.009796524420380592, -0.1016211062669754, -0.08473239094018936, 0.07084643095731735, 0.550143301486969, 0.44220107793807983, 0.5772358775138855, 0.0637844130396843, 0.4837982654571533, 0.03694988042116165, -0.18227295577526093, 0.21153952181339264, 0.20953074097633362, -0.35995185375213623, -0.28306564688682556, 0.5130287408828735, 0.8162598013877869, 0.37070783972740173, -0.3124077022075653, 0.5445435643196106, 0.21688880026340485, 0.15692096948623657, -0.24654139578342438, -0.12632308900356293, 0.0860244631767273, 0.13996818661689758, 0.18672175705432892, -0.24291980266571045, -0.03902284428477287, -0.2689618170261383, 0.04748626425862312, 0.7784921526908875, -0.6683148741722107, -0.37710174918174744, 1.0408707857131958, 0.11310922354459763, 0.2004910707473755, 0.21320077776908875, -0.012246317230165005, -0.6916497945785522, 0.2919311225414276, 0.3454223871231079, 0.8090991377830505, -0.2907494008541107, 0.4070899486541748, 0.06401250511407852, 0.40414369106292725, -0.25805777311325073, -0.1425958126783371, 0.2228829562664032, -0.7047273516654968, -0.33567002415657043, -0.8151412606239319, -0.24344778060913086, 0.16460897028446198, -0.6186537146568298, 0.09603679180145264, -0.37151533365249634, -0.07762304693460464, 0.18862125277519226, -0.6333252191543579, -0.3963860869407654, 0.09165564179420471, -0.05852625519037247, 0.40816015005111694, -1.1725609302520752, 0.7389504313468933, 0.1661372035741806, -0.41004806756973267, -0.9054973721504211, -0.1252041906118393, 0.2997496426105499, -1.0516993999481201, 0.7046281099319458, -0.1679653376340866, -0.31322816014289856, -0.42517608404159546, -0.6507012844085693, -0.689978301525116, 0.8429341316223145, 0.6254133582115173, -0.42090246081352234, -0.16376888751983643, 0.22396595776081085, 0.30200251936912537, -0.1618022918701172, -0.0003314512432552874, 0.6953537464141846, 0.5635672807693481, 0.16242869198322296, -0.5930814146995544, 0.29806777834892273, 0.04297668859362602, 0.06816518306732178, 0.4068273603916168, -0.5119718909263611, 0.6833029985427856, -0.1838267296552658, 0.02771182544529438, -0.07777594029903412, 0.6256786584854126, 0.20685195922851562, -0.026482876390218735, 0.19403815269470215, 0.42028042674064636, 0.707807719707489, -0.18947333097457886, 1.2112849950790405, -0.00356982066296041, -0.00788430217653513, 1.2032371759414673, -0.25160565972328186, 0.5925263166427612, 0.8441279530525208, 0.04066890850663185, 0.3543650209903717, 0.16339989006519318, 0.22496479749679565, 0.6300798058509827, 0.41428473591804504, -0.190456360578537, -0.3754429519176483, -0.40110647678375244, 0.003927747718989849, 0.5389552712440491, 0.18328678607940674, -0.5229487419128418, -0.37236273288726807, 0.07760056853294373, 0.6787813901901245, 0.15159745514392853, -0.3548736274242401, 0.4477787911891937, 0.16672800481319427, -0.719935953617096, 0.21896785497665405, 0.03024427406489849, 0.7423881888389587, -0.8487045168876648, 0.03984465077519417, -0.04584118723869324, 0.3089335858821869, -0.039869628846645355, -0.8003093004226685, 0.2187623232603073, 0.14345397055149078, 0.10730579495429993, -0.48111987113952637, 0.6363696455955505, -0.4013574421405792, -0.5712571144104004, 0.5432150363922119, 0.40398460626602173, -0.16146256029605865, 0.18908199667930603, -0.2759608030319214, 0.01382489688694477, 0.015515984036028385, -0.32955703139305115, 0.4169711172580719, 0.6231581568717957, -0.3528217673301697, 0.8534560203552246, 0.6839256882667542, 0.3230714499950409, -0.12301702052354813, 0.0927894189953804, 0.9978415966033936, -0.4564274251461029, -0.38868844509124756, -1.1364113092422485, 0.3734104633331299, -0.04040363058447838, -0.2327834814786911, 0.9793513417243958, 0.22364994883537292, 0.49825534224510193, 0.10042477399110794, 0.6813451051712036, 0.21066392958164215, 0.1305294781923294, -0.933931291103363, 1.0363770723342896, -0.3961893320083618, 0.3525073826313019, -0.34919559955596924, -0.6085684299468994, -0.3412655293941498, 0.45867812633514404, -0.45843371748924255, -0.13698700070381165, 0.4651017189025879, 0.9027401208877563, -0.03357473015785217, -0.09140259027481079, 0.3645906150341034, 0.4365801513195038, 0.5849263072013855, 0.6756823658943176, 0.9350156188011169, -0.06001144275069237, 0.45236900448799133, 0.06966663897037506, -0.3242609202861786, 0.020698307082057, -1.1755934953689575, -1.1478464603424072, -0.27971503138542175, -0.09322377294301987, -0.3845701217651367, 0.3457968533039093, 0.614967942237854, 0.5903431177139282, -0.7790371775627136, -0.22415703535079956, -0.059657152742147446, 0.538964033126831, 0.22656556963920593, -0.17760738730430603, 0.4369543194770813, -0.055367257446050644, -0.413846492767334, 0.2131078839302063, 0.24524341523647308, 0.0785851925611496, -0.5527933835983276, -0.2634263336658478, -0.20671211183071136, 0.07926598191261292, 0.3023776710033417, 0.3552868366241455, -0.8050292134284973, -0.3847264051437378, -0.40058016777038574, -0.0726146548986435, -0.252156138420105, 0.7359902262687683, -0.44767704606056213, 0.03976788744330406, 0.3238202631473541, 0.5757107734680176, 0.24051861464977264, -0.22934302687644958, 1.1079401969909668, -0.49006032943725586, 0.23659273982048035, -0.07444082200527191, 0.5596476197242737, 0.44620832800865173, -0.3066178858280182, 0.2876710593700409, -0.2519788444042206, -0.48360544443130493, -0.5761537551879883, 0.2689617872238159, -0.8141597509384155, -0.14555393159389496, 1.277604341506958, -0.13319732248783112, -0.3445305824279785, 0.03614964708685875, -0.1067362055182457, 0.2514166533946991, -0.4339117407798767, 0.6418834924697876, 0.6253777742385864, 0.0036739546339958906, 0.09862427413463593, -0.7321361899375916, 0.5384076833724976, 0.31591370701789856, -0.8336957693099976, 0.3851866126060486, 0.6722339391708374, 0.126737579703331, -0.10953029990196228, 0.24721522629261017, -0.29812732338905334, -0.046505097299814224, -0.34542012214660645, -0.06318914890289307, -0.0394357405602932, -0.437824010848999, -0.43643882870674133, 0.00015529675874859095, 0.1762966364622116, 0.17223688960075378 ]
http://arxiv.org/abs/2405.06691v1
http://arxiv.org/pdf/2405.06691v1
Fleet of Agents: Coordinated Problem Solving with Large Language Models using Genetic Particle Filtering
2024-05-07T09:36:23
2024-05-07T09:36:23
Akhil Arora, Lars Klein, Nearchos Potamitis, Roland Aydin, Caglar Gulcehre, Robert West
cs.CL
cs.CL, cs.AI, cs.LG, cs.NE
Large language models (LLMs) have significantly evolved, moving from simple output generation to complex reasoning and from stand-alone usage to being embedded into broader frameworks. In this paper, we introduce \emph{Fleet of Agents (FoA)}, a novel framework utilizing LLMs as agents to navigate through dynamic tree searches, employing a genetic-type particle filtering approach. FoA spawns a multitude of agents, each exploring autonomously, followed by a selection phase where resampling based on a heuristic value function optimizes the balance between exploration and exploitation. This mechanism enables dynamic branching, adapting the exploration strategy based on discovered solutions. We experimentally validate FoA using two benchmark tasks, "Game of 24" and "Mini-Crosswords". FoA outperforms the previously proposed Tree-of-Thoughts method in terms of efficacy and efficiency: it significantly decreases computational costs (by calling the value function less frequently) while preserving comparable or even superior accuracy.
[ -0.3116406798362732, -0.9223421812057495, 1.0292233228683472, 0.029716849327087402, -0.0750243067741394, 1.009764313697815, -0.01274806261062622, -0.5173316597938538, 0.3423534333705902, 0.4292186498641968, -0.8878746628761292, -0.31986933946609497, -0.4832168519496918, 0.11292875558137894, -0.3614867031574249, 0.38439637422561646, -0.02169671282172203, -0.4030536711215973, -0.09147237241268158, -0.12999093532562256, -0.20122693479061127, -0.36751410365104675, -1.0026870965957642, -0.4106917679309845, 0.6643323302268982, 0.4795398414134979, 1.0150552988052368, 0.6576148867607117, 0.7120503187179565, 0.4330770671367645, -0.43635129928588867, 0.4052594006061554, -0.7923085689544678, 0.42602893710136414, -0.45968717336654663, -0.5164809823036194, -0.5090112090110779, -0.42847150564193726, 0.6883975267410278, 0.5515187978744507, -0.48094213008880615, -0.19443698227405548, -0.2059108018875122, 0.5805969834327698, -0.5111706256866455, 0.13418735563755035, -0.9219005703926086, 0.29265400767326355, -0.21872206032276154, -0.2468881458044052, -0.27740874886512756, 0.1402600258588791, 0.19804899394512177, -1.0364015102386475, -0.025221003219485283, 0.30311670899391174, 0.527915358543396, 0.3279780149459839, -0.48542043566703796, -0.44466137886047363, -0.8686462044715881, 0.9713572263717651, -0.4648621380329132, 0.1650906205177307, 0.2225968837738037, 0.3136413097381592, -0.6973924040794373, -0.7071928977966309, -0.544623851776123, -0.1513005942106247, 0.31452542543411255, -0.03178749606013298, -0.3607969582080841, 0.10852771997451782, -0.1275685578584671, 0.24990394711494446, -0.3367551565170288, 0.32080158591270447, -0.10413529723882675, 0.01663323864340782, 0.8161405920982361, 0.1810813993215561, 0.4530408978462219, 0.44496873021125793, -0.12567782402038574, -0.30613625049591064, -0.47985267639160156, 0.07875389605760574, 0.02772981859743595, 0.37205877900123596, 0.2183324694633484, 0.36058762669563293, -0.35976681113243103, 0.48128390312194824, 0.04893694445490837, -0.14467312395572662, 0.08443091809749603, -0.2799934446811676, -0.2607879042625427, 0.013315479271113873, 0.6596460938453674, -0.12802982330322266, 0.14419786632061005, -0.23862764239311218, -0.44815585017204285, -0.026141518726944923, 0.36412152647972107, -0.4979730546474457, 0.06364424526691437, 0.08435826003551483, -0.3876424729824066, -0.6988629102706909, -0.20572654902935028, -0.8457584381103516, -0.29391705989837646, 0.17933283746242523, 0.09741149842739105, -0.23993217945098877, -0.2506687641143799, 0.14655841886997223, -0.07052953541278839, 0.04605691879987717, 0.2505105137825012, -0.7582996487617493, 0.29393988847732544, 0.6740208268165588, 0.7885350584983826, -0.09491465240716934, -0.28485020995140076, -0.8270630240440369, 0.17206653952598572, -0.4464855492115021, 0.7265947461128235, -0.8358628749847412, -0.7929781675338745, -0.18679136037826538, -0.044541314244270325, 0.07026718556880951, -0.3561825454235077, 0.37902921438217163, -0.8079226016998291, -0.2074795961380005, -0.31411102414131165, -0.3481293320655823, -0.31103265285491943, 0.2192848175764084, -0.5784867405891418, 0.910872757434845, 0.04016411304473877, -0.161593958735466, 0.17577652633190155, -0.640114426612854, -0.32155683636665344, 0.45041435956954956, -0.24139462411403656, -0.2705623209476471, 0.045901983976364136, 0.23491667211055756, 0.13852667808532715, -0.4176388680934906, 0.3857359290122986, -0.4358159899711609, -0.1898883730173111, -0.10956083238124847, -0.11091330647468567, 0.5811349749565125, 0.5176056027412415, -0.3538892865180969, 0.42925336956977844, -0.33359894156455994, 0.02488468401134014, 0.4745462238788605, -0.2729298174381256, -0.35613808035850525, 0.5867400765419006, -0.4176467955112457, 0.02059684693813324, 0.28452572226524353, -0.45346885919570923, 0.38168373703956604, -0.25724953413009644, 0.607570469379425, 0.5949025750160217, -0.02436266466975212, 0.30054453015327454, -0.4288440942764282, 0.7964708805084229, -0.2516098618507385, 0.12353912740945816, -0.10664544999599457, -0.6912999749183655, -0.4745854437351227, -0.21668954193592072, -0.26117804646492004, 0.503362238407135, -1.0190484523773193, 0.41613081097602844, -0.2567885220050812, -0.6131858825683594, 0.07935010641813278, 0.13998189568519592, 0.2400757074356079, -0.014706694521009922, 0.1876533180475235, -0.2875528335571289, -0.08575490117073059, -0.4411394000053406, 0.09826549887657166, -0.3369101881980896, 0.5165418386459351, 0.35334599018096924, 0.3819507956504822, -0.6143007278442383, 0.9359562397003174, -0.4066159725189209, -0.1676226407289505, -0.3360302150249481, 0.07355397939682007, 0.08213362097740173, 0.1518290787935257, 0.5630889534950256, -0.7634879946708679, -0.27983468770980835, 0.3303889334201813, -0.7929062247276306, 0.023144546896219254, -0.0466887429356575, -0.24290359020233154, -0.06923382729291916, 0.9044406414031982, -0.7399226427078247, 0.05294644832611084, 0.6883059740066528, -0.5320193767547607, 0.033980440348386765, -0.4969853162765503, -0.20875653624534607, -0.7222052216529846, 0.007614603731781244, -0.24665918946266174, -0.4969322085380554, -0.35474663972854614, 0.5912153124809265, -0.5311424136161804, -0.08153597265481949, -0.2751465439796448, 0.5241630673408508, -0.5627335906028748, -0.21891362965106964, -0.5335110425949097, 0.5766313076019287, -0.1130436584353447, 0.3645588457584381, -0.43542343378067017, 0.6263787150382996, 0.5945344567298889, -0.5160842537879944, 0.7915523052215576, 0.2624831795692444, 0.030858483165502548, 0.19256262481212616, -0.28666993975639343, 0.3504835069179535, -0.3533037006855011, 0.5006863474845886, -0.9559032917022705, 0.17554040253162384, -0.028127333149313927, -0.012949120253324509, 0.08905984461307526, 0.0969969630241394, -0.4603291451931, -0.6250841617584229, -0.18014982342720032, 0.5861310362815857, 0.39172181487083435, -0.38984623551368713, 0.8643336892127991, 0.6571176052093506, -0.14777745306491852, -0.5533771514892578, -0.517882227897644, 0.13707301020622253, -0.07227902859449387, -0.5136886835098267, 0.43070513010025024, 0.2135365605354309, -0.35616248846054077, 0.3362601697444916, -0.2702285051345825, 0.03751090541481972, 0.3676496148109436, -0.011804562993347645, -0.056277330964803696, -0.22774286568164825, 0.17617924511432648, 0.16224409639835358, 0.1630687117576599, -0.07712878286838531, -0.44448769092559814, 0.7152296900749207, -0.31054338812828064, -0.4004395604133606, 0.2188161015510559, 0.2676921486854553, 0.8888881206512451, -0.6760761141777039, 0.5519378185272217, 0.21156328916549683, -0.17347346246242523, -0.618824303150177, -0.1836664080619812, -0.20774468779563904, -0.6073079109191895, 0.6576318144798279, -0.42233383655548096, -1.0216094255447388, 0.5064236521720886, -0.23378896713256836, 0.14347009360790253, 0.4284096360206604, 0.3666004538536072, -0.05232633650302887, 0.8286373615264893, 0.6491319537162781, -0.18673008680343628, 0.562384307384491, -0.3124099671840668, 0.36925384402275085, -0.35764139890670776, -0.16234038770198822, -0.3214479684829712, -0.5103222131729126, -0.6926534175872803, -0.7424931526184082, 0.49274399876594543, -0.030276136472821236, -0.19106239080429077, -0.03460800647735596, -0.556022047996521, 0.622225284576416, 0.5618160367012024, -0.06563346832990646, 0.4095556437969208, 0.08575120568275452, -0.4441588819026947, 0.5815231204032898, -1.1237486600875854, -0.3401302397251129, 0.9364794492721558, 0.3363010287284851, 0.5336436033248901, 0.13780735433101654, 0.608377993106842, 0.407207727432251, 0.17528152465820312, -0.9258254766464233, 1.090726375579834, -0.5109233260154724, -0.5700651407241821, -0.7631655335426331, -0.5371888279914856, -1.5849533081054688, 0.3928558826446533, -0.3159557282924652, -0.7731181979179382, 0.030629506334662437, -0.05721099302172661, -0.6446776986122131, 0.6670824289321899, -0.22023214399814606, 0.5049789547920227, -0.6597737073898315, -0.37728720903396606, -0.8812147974967957, -0.4169224798679352, 0.19089548289775848, -0.3452449142932892, 0.4071555435657501, -0.3244466483592987, -0.06915721297264099, 0.553124189376831, -0.48275524377822876, 0.5322482585906982, -0.005318471696227789, -0.043426692485809326, 0.6099457144737244, 0.19437472522258759, 0.7408901453018188, -0.41496542096138, 0.02631656639277935, -0.23831026256084442, -0.012830761261284351, -0.1900521069765091, -0.36296290159225464, 0.9098573923110962, -0.7879480719566345, -0.6368653178215027, -0.6833105087280273, -0.6117902994155884, -0.1713346689939499, 0.6027088165283203, -0.3815099000930786, 0.2431628406047821, -0.15556500852108002, 0.2439621388912201, 0.41331082582473755, -0.3796769976615906, 0.6784124374389648, 0.5494317412376404, -0.69707852602005, -0.12554572522640228, 0.802160382270813, 0.03082055039703846, 0.11776252835988998, 0.5063429474830627, 0.3144047260284424, -0.2659328877925873, -0.6557906866073608, -0.22341236472129822, 0.4008430242538452, -0.6262614727020264, -0.007530823815613985, -0.4239225387573242, -0.1383330225944519, 0.11533428728580475, -0.11880277097225189, -0.36447104811668396, -0.05906658619642258, -0.05466332286596298, 0.04316471517086029, 0.43939530849456787, 0.8657142519950867, 0.2713356614112854, 0.620242178440094, -0.8062295913696289, 0.3462871015071869, 0.4604284167289734, 0.28583022952079773, 0.08041391521692276, -0.043745849281549454, -0.21025314927101135, 0.1221381202340126, -0.5552000999450684, -0.8377136588096619, 0.3939773142337799, 0.08201232552528381, 0.8153988718986511, 0.143694207072258, -0.07536757737398148, 0.5113463997840881, -0.3024930953979492, 0.44904953241348267, -0.2335325926542282, -1.0337618589401245, 0.22714999318122864, -0.6446195244789124, 0.20628118515014648, 0.45965659618377686, 0.04958542436361313, -0.4146774709224701, -0.49168500304222107, -0.6151211261749268, -0.9744593501091003, 0.858853280544281, 0.4142712950706482, -0.2856842875480652, 0.27106973528862, 0.5380895733833313, -0.6420189738273621, 0.2917969226837158, -0.20952856540679932, -0.060460805892944336, 0.323293536901474, -0.2926182150840759, -0.3526840806007385, -0.03276097774505615, 0.15176227688789368, -0.00423876428976655, 0.8633740544319153, -0.21693898737430573, 0.22512395679950714, 0.2837303876876831, 0.08436519652605057, -0.6781099438667297, -0.09552694112062454, 0.4913232922554016, 0.4585186243057251, -0.10830524563789368, 0.0575210377573967, 0.06933628022670746, -0.4265044033527374, 0.3711352050304413, 0.005110498983412981, -0.12053009867668152, -0.21031345427036285, 0.2893032133579254, 0.828398585319519, 0.00282974517904222, -1.0102438926696777, 0.15204055607318878, 0.13366830348968506, -0.22410130500793457, -0.16014282405376434, 0.31648990511894226, 0.15169639885425568, 0.5414566397666931, 0.46897682547569275, -0.007478162180632353, 0.051906123757362366, -0.8542768359184265, 0.17913717031478882, 0.7301397323608398, -0.0257486030459404, -0.018793338909745216, 0.6461941003799438, 0.4641115963459015, -0.5633704662322998, 0.6132339835166931, -0.5604391694068909, -0.652789294719696, 0.8801738023757935, 0.1922900527715683, 0.9514600038528442, -0.3102298974990845, 0.30017000436782837, -0.07370640337467194, 0.461252897977829, -0.37952834367752075, 0.34542977809906006, 0.06434272974729538, -1.060916543006897, -0.7112001776695251, -0.431564062833786, -0.5521240830421448, 0.11441017687320709, -0.06913899630308151, 0.2127411663532257, -0.5981361865997314, -0.3290727138519287, -0.002579192630946636, 0.16933615505695343, -0.3266609013080597, 0.12143012881278992, 0.6058122515678406, 0.7483927607536316, -0.4867297410964966, 0.8835403323173523, 1.0067341327667236, 0.06623221933841705, -0.9117048382759094, 0.10079362243413925, 0.08326537162065506, -0.8841072916984558, 0.4177994728088379, -0.01918799988925457, -0.7752703428268433, 0.2836040258407593, -0.19348403811454773, -1.3796178102493286, 1.2454074621200562, 0.2532937526702881, -1.0923367738723755, -0.18365293741226196, 0.03956767916679382, 0.5608775019645691, -0.43148866295814514, 0.07977014780044556, 0.5897098779678345, 0.4474194347858429, 0.3323514461517334, -1.0214049816131592, 0.08208994567394257, -0.19932454824447632, -0.048807092010974884, 0.2979101538658142, -0.9761752486228943, 0.8182435631752014, -0.08266768604516983, -0.11920454353094101, 0.00390773918479681, 0.386277973651886, 0.5948045253753662, 0.5279403924942017, 0.8963530659675598, 0.3429087698459625, 1.0663882493972778, 0.06989201158285141, 0.9538952112197876, -0.4214528501033783, 0.5152016282081604, 0.8105770349502563, -0.5789719820022583, 0.6218908429145813, 0.42533233761787415, -0.20792442560195923, 0.4969095289707184, 0.3727872371673584, 0.11387068033218384, 0.5557806491851807, 0.5198789238929749, -0.25430938601493835, -0.2107342928647995, -0.016001878306269646, 0.2179238498210907, 0.5038341879844666, 0.3964642286300659, -0.05210021510720253, -0.24313943088054657, 0.008369413204491138, -0.011424404568970203, 0.22345273196697235, -0.45125582814216614, 0.6515722870826721, 0.05565476045012474, -0.9658087491989136, 0.4434716999530792, 0.18283799290657043, 0.42936742305755615, -0.6615749001502991, 0.27331963181495667, -0.14279335737228394, 0.5160430669784546, -0.027168892323970795, -0.7096721529960632, 0.2681032419204712, -0.09504012763500214, 0.11734462529420853, -0.3370084762573242, 0.5950713753700256, -0.37246251106262207, -0.542853593826294, 0.5640473961830139, 0.7456863522529602, -0.10705430805683136, -0.1152375116944313, -0.6668090224266052, 0.27979251742362976, 0.04536275193095207, -0.17065274715423584, -0.08882637321949005, 0.6369181871414185, -0.46349766850471497, 1.0923089981079102, 0.5984534025192261, 0.1255328208208084, 0.13673247396945953, -0.27875086665153503, 0.7971617579460144, -0.7089130282402039, -0.9101487398147583, -0.8812199831008911, 0.021320635452866554, 0.0945664793252945, 0.07053464651107788, 0.45172595977783203, 0.30872365832328796, 0.5240556597709656, 0.13201206922531128, 0.7183529734611511, 0.12045283615589142, 0.28700101375579834, -0.42989352345466614, 0.5384286642074585, -0.7799451947212219, 0.33447694778442383, -0.2430204600095749, -0.9907165169715881, -0.21961627900600433, 0.6397923827171326, -0.3017892837524414, 0.08544515073299408, 0.724776566028595, 0.659598171710968, -0.19934432208538055, 0.056407831609249115, 0.2829347848892212, 0.30287209153175354, 0.8409177660942078, 0.7969743609428406, 0.9589118361473083, 0.0803462415933609, 0.36447659134864807, 0.001984433038160205, -0.17671149969100952, -0.3793848156929016, -0.858306884765625, -0.6307505369186401, -0.2983607053756714, -0.25005075335502625, 0.06349395960569382, 0.12238457053899765, 1.0827224254608154, 0.7737549543380737, -0.5381412506103516, -0.5452039837837219, -0.6625891327857971, 0.2487196922302246, -0.2610926628112793, -0.09274745732545853, -0.06429217010736465, -0.43069595098495483, -0.6360312104225159, 0.896049976348877, 0.2862214744091034, 0.08775648474693298, -0.40513575077056885, -0.24607643485069275, -0.28745758533477783, 0.3574165403842926, 0.44549617171287537, 0.25726211071014404, -0.666786789894104, -0.04677360877394676, 0.07864010334014893, 0.030360788106918335, -0.1366036981344223, 0.8571241497993469, -0.8135436773300171, 0.578701376914978, 0.39691755175590515, 0.8612695336341858, 0.7593665719032288, -0.15258455276489258, 0.5917445421218872, -0.4069553315639496, 0.3892214596271515, 0.3150715231895447, 0.4709338843822479, 0.04405079409480095, -0.3739675283432007, 0.3916381299495697, 0.3888835906982422, -0.5945025682449341, -0.8514717221260071, 0.20511677861213684, -1.0587259531021118, -0.4138425290584564, 1.0649077892303467, 0.0665217861533165, -0.2531648874282837, 0.07148794829845428, -0.2906135022640228, 0.21100226044654846, -0.633141279220581, 0.5445102453231812, 0.744964063167572, 0.06097990274429321, -0.015449055470526218, -0.19265611469745636, 0.35680025815963745, 0.6534773111343384, -0.7559654712677002, -0.1554938554763794, 0.2786082923412323, -0.09275483340024948, 0.4460285007953644, 0.673753023147583, 0.2788812816143036, -0.09804833680391312, -0.23643885552883148, -0.2647351026535034, -0.11521189659833908, -0.5880991816520691, -0.18786902725696564, 0.19334660470485687, 0.24692054092884064, -0.1937466263771057 ]
http://arxiv.org/abs/2405.06690v1
http://arxiv.org/pdf/2405.06690v1
DrugLLM: Open Large Language Model for Few-shot Molecule Generation
2024-05-07T09:18:13
2024-05-07T09:18:13
Xianggen Liu, Yan Guo, Haoran Li, Jin Liu, Shudong Huang, Bowen Ke, Jiancheng Lv
q-bio.BM
q-bio.BM, cs.CL, cs.LG
Large Language Models (LLMs) have made great strides in areas such as language processing and computer vision. Despite the emergence of diverse techniques to improve few-shot learning capacity, current LLMs fall short in handling the languages in biology and chemistry. For example, they are struggling to capture the relationship between molecule structure and pharmacochemical properties. Consequently, the few-shot learning capacity of small-molecule drug modification remains impeded. In this work, we introduced DrugLLM, a LLM tailored for drug design. During the training process, we employed Group-based Molecular Representation (GMR) to represent molecules, arranging them in sequences that reflect modifications aimed at enhancing specific molecular properties. DrugLLM learns how to modify molecules in drug discovery by predicting the next molecule based on past modifications. Extensive computational experiments demonstrate that DrugLLM can generate new molecules with expected properties based on limited examples, presenting a powerful few-shot molecule generation capacity.
[ -0.1059819906949997, -0.8316575288772583, 0.5659307837486267, -0.3643493056297302, -0.07560525834560394, 0.19829584658145905, -0.35305365920066833, -0.21348848938941956, 0.09007567912340164, 0.6231374740600586, -0.4054321348667145, -0.7182205319404602, -0.6830462217330933, 0.27076461911201477, 0.21296289563179016, 0.9888418912887573, 0.023849643766880035, 0.46499374508857727, 0.013322114013135433, -0.0074836863204836845, -0.1304943859577179, -0.25386694073677063, -0.6016532778739929, -0.7075684666633606, 0.6665378212928772, 0.42928317189216614, 0.4231322705745697, 0.5220060348510742, 0.8278908729553223, 0.2591300904750824, -0.11261404305696487, -0.07035980373620987, -0.7798519134521484, -0.053563669323921204, -0.12679840624332428, -0.5985342264175415, -0.67160564661026, -0.045313894748687744, 0.5079131722450256, 0.9691081643104553, -0.06528637558221817, -0.006610743701457977, -0.08025898039340973, 0.6059370636940002, -0.417926549911499, 0.019880829378962517, -0.9979456663131714, 0.20863014459609985, -0.20154708623886108, 0.028542978689074516, -0.2702256441116333, -0.11823946982622147, 0.05561423674225807, -0.47174209356307983, 0.44355398416519165, 0.10893810540437698, 0.5634315013885498, 0.07330857217311859, -0.23366333544254303, -0.40817293524742126, -0.6774179935455322, 0.7697688341140747, -0.9803592562675476, 0.0689137727022171, 0.23801055550575256, 0.5912624001502991, -0.8649797439575195, -0.7296701073646545, -0.35054251551628113, -0.4131557047367096, 0.04003959149122238, -0.17196618020534515, 0.22474421560764313, 0.27059924602508545, 0.06238558143377304, 0.36841920018196106, -0.7429280877113342, 0.19388021528720856, -0.5306545495986938, -0.09967564046382904, 0.42231452465057373, 0.46331581473350525, 0.16955231130123138, -0.10939676314592361, -0.5379123687744141, 0.16316214203834534, -1.0404633283615112, -0.34403085708618164, -0.06961269676685333, 0.8156237006187439, 0.1315833181142807, 0.9377329349517822, 0.07523354887962341, 0.5966751575469971, -0.05378911271691322, -0.32236018776893616, -0.016280964016914368, -0.3124406337738037, -0.6236001253128052, 0.35517826676368713, 0.8491954803466797, 0.2056543081998825, -0.08838119357824326, 0.2519984841346741, -0.004224877338856459, -0.21565604209899902, -0.006460371892899275, -1.3273789882659912, -0.3033475875854492, 0.35747358202934265, -0.5456085801124573, -0.365374356508255, -0.08431847393512726, -0.8256465792655945, -0.5225487947463989, 0.2266317903995514, 0.5406978130340576, -0.5240929126739502, 0.15721286833286285, 0.24365226924419403, -0.19853435456752777, 0.08203523606061935, 0.2120872139930725, -1.0039958953857422, 0.20949093997478485, 0.4562501311302185, 0.9011643528938293, -0.40408065915107727, -0.33967307209968567, -0.6537755727767944, 0.6644917130470276, -0.2703205347061157, 0.8521332740783691, -0.6368974447250366, -0.682597279548645, -0.24510930478572845, -0.23290970921516418, 0.26340973377227783, -0.9104195833206177, -0.2685341536998749, -0.2785624861717224, 0.1741141676902771, 0.160551056265831, -0.9428028464317322, 0.18324865400791168, 0.19502083957195282, -0.5538885593414307, 0.3128635585308075, 0.2707141041755676, -0.425528347492218, 0.6952149271965027, -0.8105176687240601, -0.1637984812259674, 0.30409660935401917, -0.5235969424247742, -0.7672540545463562, 0.34746989607810974, 0.05334204435348511, 0.43432119488716125, -0.1691078096628189, 0.04787971079349518, -0.33359548449516296, -0.2780715525150299, 0.4222239553928375, 0.12611457705497742, 0.34178534150123596, 0.29095491766929626, 0.13881798088550568, 0.31569045782089233, -0.7409257292747498, -0.013144484721124172, 0.04299471899867058, -0.7883482575416565, 0.07004760950803757, -0.44025951623916626, 0.19274461269378662, 0.25731733441352844, 0.09684035927057266, -0.43150845170021057, 0.6450160145759583, -0.6087612509727478, 0.29809725284576416, 0.6765872240066528, 0.38767898082733154, 0.6060406565666199, -0.2145776003599167, 0.601574718952179, 0.14221420884132385, -0.07074557989835739, -0.23331870138645172, -0.5162282586097717, -0.5160232186317444, -0.502732515335083, 0.22977016866207123, 0.20668751001358032, -0.3574213683605194, 0.08399176597595215, -0.06478044390678406, -0.22827018797397614, -0.05900491774082184, 0.8598594665527344, 0.22107180953025818, 0.0774475485086441, 0.3513810932636261, -0.2557010054588318, -0.6250972747802734, -0.7357030510902405, -0.36000123620033264, -0.24018017947673798, -0.17894917726516724, 0.22455309331417084, 0.7206147909164429, -0.5734279155731201, 0.8987823128700256, -0.7904833555221558, -0.7416054010391235, -0.7220277190208435, 0.05780902877449989, 0.39758846163749695, 0.33189496397972107, 0.30484694242477417, -0.29018834233283997, -0.3713565468788147, -0.021448418498039246, -0.5582575798034668, -0.03875909373164177, -0.05313486605882645, -0.2904699444770813, -0.006649821065366268, 0.56901615858078, -0.4907352924346924, 0.2590482532978058, 0.28140661120414734, -0.15492241084575653, 0.23341916501522064, -0.15917043387889862, -0.24180251359939575, -1.1968512535095215, -0.20467998087406158, -0.06027653068304062, -0.2507938742637634, -0.7371689081192017, -0.17639271914958954, -0.33363041281700134, -0.39687204360961914, -1.022518515586853, 0.8373133540153503, -0.41509702801704407, 0.07573491334915161, -0.669891893863678, -0.24997875094413757, -0.0948127880692482, 0.3552248775959015, 0.03917204961180687, 0.5318534970283508, 0.5153020620346069, -0.5333138108253479, 0.1496122181415558, 0.265266478061676, -0.15636548399925232, 0.37164634466171265, -0.5733758807182312, 0.11208797991275787, -0.03179154545068741, 0.1595594435930252, -0.5185399651527405, -0.7748424410820007, 0.1720537394285202, -0.2052965611219406, 0.5839940309524536, -0.4320109784603119, -0.31258827447891235, -0.2909765839576721, -0.20197705924510956, 0.23668523132801056, 0.48767542839050293, -0.35252079367637634, 0.5731642842292786, 0.3713325560092926, 0.04744134470820427, 0.05962905287742615, -0.8379328846931458, -0.03631819412112236, -0.2625638544559479, -0.5119236707687378, 0.18233826756477356, -0.11700186878442764, -0.2543473243713379, -0.14463749527931213, 0.11210660636425018, -0.12478259950876236, -0.34238043427467346, 0.34218382835388184, 0.24575172364711761, -0.2982414960861206, 0.26099205017089844, -0.15324093401432037, -0.10593703389167786, -0.20364674925804138, -0.41625282168388367, 0.3343102037906647, 0.03495341166853905, -0.10482577234506607, 0.18112199008464813, 0.4145090579986572, 0.2972131371498108, -0.028917860239744186, 0.7014476656913757, 0.4133601188659668, -0.3952137231826782, -0.5717126727104187, 0.13987331092357635, -0.44442248344421387, -0.5215295553207397, 0.5767088532447815, -0.3694252669811249, -0.9942400455474854, 0.21651433408260345, -0.48173433542251587, -0.3519081473350525, 0.0368470698595047, 1.0915768146514893, 0.026724493131041527, 0.538611650466919, 0.6127541065216064, 0.12000931799411774, 0.3227682411670685, -0.309157133102417, 0.0026875233743339777, -0.6226722598075867, -0.16745111346244812, -0.04053281992673874, -0.368620902299881, -0.37690451741218567, -0.7304955124855042, 0.7358289957046509, 0.30304810404777527, -0.225579634308815, 0.24016697704792023, -0.21652846038341522, 0.6290199756622314, 0.3717302978038788, 0.16289961338043213, 0.18313714861869812, 0.33509963750839233, -0.2965415418148041, 0.03663497045636177, -0.7660145163536072, -0.6375117897987366, 1.3367784023284912, 0.20966534316539764, 1.2680062055587769, 0.19793285429477692, 0.9886831641197205, -0.040308061987161636, 0.29334864020347595, -0.8551084995269775, 0.7054790258407593, -0.13822726905345917, -0.5972192883491516, -0.1706939935684204, -0.4970894753932953, -1.0828977823257446, -0.07654719054698944, -0.523190438747406, -0.5942319631576538, -0.0726081132888794, 0.18951182067394257, -0.3171883821487427, 0.40324679017066956, -0.5508795380592346, 0.778939962387085, -0.2023143619298935, -0.551724910736084, -0.10940127819776535, -0.6075201630592346, 0.49971893429756165, -0.27283015847206116, 0.057624854147434235, -0.12623204290866852, 0.06245150417089462, 0.3533826172351837, -0.772005021572113, 0.7388133406639099, 0.03286858648061752, -0.14158421754837036, 0.30006706714630127, 0.23721490800380707, 0.32600241899490356, 0.011354310438036919, 0.07001850008964539, 0.15437233448028564, -0.5650826692581177, -0.37971624732017517, -0.4890292286872864, 0.8628693222999573, -0.23053839802742004, -0.5503392815589905, -0.3368741571903229, -0.4919820725917816, -0.08372949808835983, 0.3751804530620575, 0.47113892436027527, 0.13499265909194946, -0.500757098197937, -0.16016094386577606, 0.3930771052837372, -0.5288149118423462, 0.35230186581611633, 0.5856644511222839, -0.7709097266197205, -0.43017691373825073, 0.7339372634887695, -0.04306604340672493, 0.5555459856987, 0.428739994764328, 0.29407814145088196, 0.04888308048248291, -0.6851336359977722, -0.2927177846431732, 0.16252730786800385, -0.5245184302330017, -0.1849888563156128, -0.21824052929878235, 0.004935076925903559, -0.37090280652046204, -0.16068421304225922, -0.3887404799461365, -0.3790222704410553, -0.2541212737560272, -0.11344300955533981, 0.5763410925865173, 0.9231492280960083, -0.3067200481891632, 0.3662358224391937, -0.8842511177062988, 0.6797058582305908, 0.48431098461151123, 0.513264536857605, -0.6184170246124268, -0.19622138142585754, -0.6034647226333618, -0.1392878293991089, -0.3800252676010132, -0.78801429271698, 0.29160282015800476, 0.484540194272995, 0.36905014514923096, 0.2904985547065735, -0.5323944091796875, 0.2431691288948059, -0.82474684715271, 0.7006162405014038, 0.27380648255348206, -0.5110707879066467, 1.0761088132858276, -0.3181664049625397, 0.4512909948825836, 0.33044084906578064, 0.03573811426758766, -0.10255575180053711, -0.4099556803703308, -0.20711185038089752, -0.640364408493042, 0.3660144805908203, 0.4336940348148346, -0.09686781466007233, -0.013059298507869244, 0.27520567178726196, 0.26094552874565125, 0.10861761122941971, -0.4679555594921112, -0.35742437839508057, -0.13719294965267181, -0.32754969596862793, 0.004833068232983351, 0.009166647680103779, -0.08912655711174011, -0.04708367586135864, 0.5715952515602112, -0.26163774728775024, 0.21237488090991974, -0.05607382580637932, -0.006129816640168428, -0.26573479175567627, 0.5881177186965942, 0.6028656363487244, 0.4881523847579956, -0.6121951937675476, 0.15032976865768433, 0.029679112136363983, -0.6683357954025269, 0.4257758557796478, 0.06454133242368698, -0.06121983379125595, -0.040808845311403275, 0.16265474259853363, 0.6652228236198425, -0.28291431069374084, -0.8228193521499634, 0.27293962240219116, 0.11433239281177521, -0.07314927130937576, 0.2004566639661789, 0.4448755383491516, -0.012798432260751724, 0.406462162733078, 0.3296886682510376, 0.08087621629238129, 0.04973341524600983, -0.7068232297897339, 0.3534257411956787, 0.5090588927268982, -0.30747777223587036, -0.09813077747821808, 0.8107631802558899, -0.02934611216187477, -0.24284151196479797, 0.06467825174331665, -0.1859060674905777, -0.3397892713546753, 0.4135880470275879, 0.63698410987854, 0.8657973408699036, -0.2982693016529083, 0.11209537833929062, 0.45180267095565796, 0.13718700408935547, 0.09972479194402695, 0.13993202149868011, 0.44368961453437805, -0.6922419667243958, 0.03340810164809227, -0.7250659465789795, -0.3834359347820282, 0.26047980785369873, -0.01131129264831543, 0.5632613897323608, -0.6616211533546448, -0.27330732345581055, 0.136210635304451, -0.06438318639993668, -0.48925548791885376, 0.11671976000070572, 0.11532076448202133, 0.5360689163208008, -0.6058276891708374, 1.045432686805725, 0.7584350109100342, -0.5767326951026917, -0.4725523889064789, -0.1703265756368637, 0.25201061367988586, -0.5118604302406311, 0.8495034575462341, 0.028221143409609795, -0.010835165157914162, -0.1844443678855896, -0.7089866399765015, -0.500701367855072, 0.998075544834137, 0.3548179566860199, -0.7409284710884094, 0.1317698061466217, 0.6778717637062073, 0.5696736574172974, -0.7109190225601196, -0.19697034358978271, 0.4330822229385376, 0.22001734375953674, 0.2442355453968048, -0.6185040473937988, -0.03942197188735008, -0.11126431822776794, 0.23855768144130707, 0.17863158881664276, -0.3016678988933563, 1.0020132064819336, -0.7231713533401489, 0.021533984690904617, 0.22552381455898285, 0.46041953563690186, 0.7957726120948792, 0.2063283622264862, -0.02989179641008377, 0.4189552664756775, 0.6142327785491943, 0.058694180101156235, 0.8938105702400208, -0.08218522369861603, 0.36822226643562317, 1.3550435304641724, -0.4145243167877197, 0.8492724895477295, 0.6817046999931335, -0.295284628868103, 0.273627907037735, 0.3571847081184387, -0.4138527810573578, 0.6189877390861511, 0.7333284616470337, -0.46212753653526306, -0.14195463061332703, 0.11406366527080536, -0.26573580503463745, 0.3818700909614563, 0.625417172908783, -0.6443421244621277, -0.17535918951034546, 0.413694828748703, -0.16536566615104675, -0.10262054204940796, -0.4948907494544983, 0.8436169624328613, 0.39751148223876953, 0.0062324851751327515, 0.5398774147033691, 0.0927734449505806, 0.5212094187736511, -0.6492874026298523, -0.3388936519622803, -0.2863524258136749, 0.33218348026275635, -0.046974148601293564, -0.6701834797859192, -0.0382494255900383, -0.005076456815004349, -0.3039974570274353, 0.18509478867053986, 0.9400420784950256, -0.6659455895423889, -0.9056736826896667, 0.10937774926424026, 0.46241989731788635, 0.28057923913002014, 0.21805229783058167, -0.6285276412963867, -0.005230078008025885, -0.1810840666294098, 0.004470836836844683, 0.324724942445755, 0.3834236264228821, 0.29293176531791687, 0.5522802472114563, 0.46503862738609314, 0.35868799686431885, 0.2118309885263443, 0.1312330663204193, 0.7731500267982483, -0.8414225578308105, 0.06829611957073212, -0.9337582588195801, 0.17801806330680847, 0.32535696029663086, -0.18503910303115845, 0.5950546264648438, 0.9128633737564087, 0.6488671898841858, -0.45948314666748047, 0.7944774627685547, 0.3190098702907562, 0.2873435914516449, -0.9299086332321167, 0.7470141649246216, -0.4665881395339966, 0.5149000287055969, -0.260078102350235, -0.9431159496307373, -0.6579163074493408, 0.5828120708465576, 0.08330216258764267, 0.0771094262599945, 0.6106528639793396, 1.2248293161392212, -0.06810905784368515, -0.2404504120349884, 0.344970703125, 0.6063002347946167, 0.5376259088516235, 1.0497714281082153, 0.6514328718185425, -0.4021075963973999, 0.40716320276260376, 0.06830846518278122, 0.13571929931640625, -0.26550450921058655, -0.7713304162025452, -1.2863086462020874, 0.09194935113191605, -0.21762986481189728, -0.40874454379081726, -0.11965120583772659, 1.3654462099075317, 0.6390631198883057, -0.9736573100090027, -0.415048211812973, -0.43972480297088623, 0.02959401160478592, 0.2525343894958496, -0.16109304130077362, 0.22414757311344147, -0.19455330073833466, -0.6889626979827881, 0.83465176820755, 0.669519305229187, 0.6288241147994995, -0.5370675921440125, -0.402312308549881, -0.09374408423900604, 0.03217342123389244, 0.5846395492553711, 0.3304678499698639, -0.5679076313972473, 0.05807063728570938, -0.07687211036682129, -0.3719158470630646, 0.3807046413421631, 1.0316003561019897, -0.802238404750824, 0.5768734216690063, 0.44221949577331543, 0.377956360578537, 0.7167308926582336, -0.4309300482273102, 0.8137757182121277, -0.7389811873435974, 0.1673383116722107, 0.05652797967195511, 0.3805001378059387, 0.35373979806900024, -0.1684534251689911, 0.47472724318504333, 0.12309394031763077, -0.5077464580535889, -0.5961187481880188, 0.3388558030128479, -0.9326466917991638, -0.674265444278717, 1.2254743576049805, 0.013548360206186771, -0.4582411050796509, 0.10500186681747437, -0.4335390031337738, 0.07182961702346802, -0.4902064800262451, 0.49566271901130676, 0.4303232729434967, -0.30713531374931335, -0.07393176108598709, -0.3302900493144989, 0.6840099096298218, 0.04049481451511383, -1.041369915008545, -0.17441490292549133, 0.7058408260345459, 0.24438272416591644, -0.059728872030973434, 0.7581189870834351, -0.12385816127061844, 0.00006034178295521997, -0.046989116817712784, -0.1771198958158493, 0.003576640272513032, -0.25808823108673096, -0.3537611663341522, 0.1498737633228302, 0.1846223920583725, -0.03655651584267616 ]
http://arxiv.org/abs/2405.04136v1
http://arxiv.org/pdf/2405.04136v1
Enriched BERT Embeddings for Scholarly Publication Classification
2024-05-07T09:05:20
2024-05-07T09:05:20
Benjamin Wolff, Eva Seidlmayer, Konrad U. Förstner
cs.AI
cs.AI, cs.CL
With the rapid expansion of academic literature and the proliferation of preprints, researchers face growing challenges in manually organizing and labeling large volumes of articles. The NSLP 2024 FoRC Shared Task I addresses this challenge organized as a competition. The goal is to develop a classifier capable of predicting one of 123 predefined classes from the Open Research Knowledge Graph (ORKG) taxonomy of research fields for a given article.This paper presents our results. Initially, we enrich the dataset (containing English scholarly articles sourced from ORKG and arXiv), then leverage different pre-trained language Models (PLMs), specifically BERT, and explore their efficacy in transfer learning for this downstream task. Our experiments encompass feature-based and fine-tuned transfer learning approaches using diverse PLMs, optimized for scientific tasks, including SciBERT, SciNCL, and SPECTER2. We conduct hyperparameter tuning and investigate the impact of data augmentation from bibliographic databases such as OpenAlex, Semantic Scholar, and Crossref. Our results demonstrate that fine-tuning pre-trained models substantially enhances classification performance, with SPECTER2 emerging as the most accurate model. Moreover, enriching the dataset with additional metadata improves classification outcomes significantly, especially when integrating information from S2AG, OpenAlex and Crossref. Our best-performing approach achieves a weighted F1-score of 0.7415. Overall, our study contributes to the advancement of reliable automated systems for scholarly publication categorization, offering a potential solution to the laborious manual curation process, thereby facilitating researchers in efficiently locating relevant resources.
[ -0.4026065170764923, -0.094902902841568, 0.47480469942092896, 0.02419925108551979, -0.353516548871994, 0.19364528357982635, -0.29227277636528015, -0.879650354385376, 0.1413351595401764, 0.42605772614479065, -0.05127404257655144, -0.5846099853515625, -0.6357756853103638, 0.2699662446975708, -0.25994712114334106, 1.3700603246688843, 0.05198613181710243, 0.04835350438952446, -0.5070855021476746, -0.15451867878437042, -0.12229187041521072, -0.4531758427619934, -0.1437099426984787, -0.3229559361934662, 0.8037369847297668, 0.158605694770813, 0.3682461678981781, 0.5772193074226379, 0.6474004983901978, 0.2651970386505127, 0.109941765666008, 0.4813620448112488, -0.38576218485832214, 0.0552615188062191, -0.2881143093109131, -0.34176918864250183, -0.4244343042373657, 0.04076189920306206, 0.5670085549354553, 0.7349706888198853, 0.20711742341518402, 0.17240051925182343, 0.24254460632801056, 0.31327688694000244, -0.5448421239852905, 0.546140730381012, -0.4716421365737915, -0.016160475090146065, -0.5631573796272278, -0.3042987883090973, -0.6530497670173645, -0.5172867178916931, 0.31825852394104004, -0.7402404546737671, 0.3741290867328644, 0.21335771679878235, 0.8091346025466919, 0.09190899133682251, -0.24984577298164368, -0.33416256308555603, -0.4737725853919983, 0.6624588966369629, -0.4017341434955597, 0.6573272943496704, 0.24549344182014465, -0.13144461810588837, 0.023694321513175964, -1.0652799606323242, -0.22729258239269257, -0.016480827704072, -0.1259973794221878, 0.22283345460891724, -0.025637516751885414, 0.09364435821771622, -0.00009989602403948084, 0.19317077100276947, -0.6812351942062378, 0.1452653557062149, -0.48643505573272705, -0.20260365307331085, 0.6112177968025208, -0.0277499221265316, -0.20838268101215363, -0.11162376403808594, -0.20314888656139374, -0.28211504220962524, -0.3349887430667877, -0.08024325221776962, 0.36599600315093994, 0.3603333830833435, 0.44739440083503723, 0.4415026903152466, 0.17043553292751312, 0.7360273003578186, 0.0600886195898056, 0.2650202512741089, 0.4426044523715973, -0.47691553831100464, 0.06066363677382469, 0.18947093188762665, 0.6917369961738586, 0.09409789741039276, -0.19040600955486298, -0.26511815190315247, 0.07947432994842529, -0.35357993841171265, 0.41613373160362244, -0.6122477650642395, -0.49875757098197937, -0.19497883319854736, -0.40564125776290894, -0.1961863934993744, 0.28282812237739563, -0.681959331035614, -0.3879425823688507, -0.29381227493286133, 0.25789621472358704, -0.46750959753990173, 0.21775446832180023, 0.1247996985912323, 0.01881656050682068, -0.07391121983528137, 0.5825387239456177, -0.6586788892745972, 0.15730704367160797, 0.7316619753837585, 0.9509889483451843, -0.4060242474079132, -0.15539498627185822, -0.1672583818435669, 0.36772722005844116, -0.30516964197158813, 0.7359786629676819, -0.5013492107391357, -0.1457226276397705, 0.08931896835565567, 0.044044073671102524, 0.14364741742610931, -0.21053048968315125, 0.8078611493110657, -0.8468641638755798, 0.1840386539697647, -0.41657131910324097, -0.7492631077766418, -0.2302403450012207, 0.12378895282745361, -0.693970263004303, 0.9350926280021667, 0.20796027779579163, -0.9660850167274475, 0.5240314602851868, -0.8532770872116089, -0.40100011229515076, 0.4520459771156311, 0.11773928999900818, -0.37677791714668274, -0.03202379122376442, -0.09832534939050674, 0.4823651611804962, -0.06168327480554581, 0.3012751638889313, -0.5117194652557373, -0.09326204657554626, 0.09775833040475845, 0.19522526860237122, 0.7280285358428955, 0.2398715615272522, 0.13376468420028687, -0.023339295759797096, -0.5502890348434448, -0.014504865743219852, -0.2726043164730072, -0.47804921865463257, -0.6484370827674866, -0.1593693047761917, 0.15908724069595337, -0.15038974583148956, 0.2547108232975006, -0.8056832551956177, 0.351725697517395, -0.14171674847602844, 0.2450183928012848, 0.6462101340293884, -0.08836334943771362, 0.5654345750808716, -0.20481793582439423, 0.1927713304758072, -0.4203924536705017, 0.09484955668449402, 0.177942156791687, -0.6426185369491577, -0.6472880244255066, -0.2989968955516815, 0.9671724438667297, 0.2832154631614685, -0.7141171097755432, 0.7626705765724182, -0.4713326692581177, -0.5924962759017944, -0.5896332263946533, -0.03816298395395279, 0.16928906738758087, 0.5715798139572144, 0.5462180972099304, -0.4433518350124359, -0.6516045928001404, -0.5353493690490723, -0.022573135793209076, -0.1564352810382843, 0.035197071731090546, 0.27659422159194946, 0.4031091332435608, -0.2387210577726364, 0.6647756695747375, -0.4420616030693054, -0.48068925738334656, 0.08869395405054092, 0.6062822937965393, 0.09316429495811462, 0.47127050161361694, 0.4516129791736603, -0.7481431365013123, -0.503378689289093, 0.16128498315811157, -0.7061144113540649, -0.27945247292518616, 0.07657448947429657, -0.2412683516740799, 0.18636387586593628, 0.5160393118858337, -0.19823920726776123, 0.24773581326007843, 0.20290924608707428, -0.11211181432008743, 0.4892555773258209, -0.11501168459653854, 0.058846615254879, -0.5920624732971191, 0.12049377709627151, -0.03167545422911644, -0.11467437446117401, -0.5248274803161621, -0.16571228206157684, 0.1778901070356369, -0.014337419532239437, -0.2174471616744995, 0.5008498430252075, -0.36581146717071533, -0.17438730597496033, -0.02056013233959675, -0.20665091276168823, 0.04706289991736412, 0.06066569313406944, 0.3534068465232849, 0.4912128150463104, 0.2759091556072235, -0.4643431603908539, 0.061513226479291916, 0.6116212606430054, -0.5378673672676086, 0.005406968295574188, -0.3929881155490875, 0.12806960940361023, -0.023332517594099045, 0.5278304815292358, -0.6053234934806824, -0.1774238795042038, 0.17594791948795319, -0.39782893657684326, 0.6210781931877136, -0.012760497629642487, -0.8130242228507996, -0.31757187843322754, -0.23773211240768433, 0.20404522120952606, 0.217894047498703, -0.5689946413040161, 0.5627931356430054, 0.06784393638372421, -0.3751080334186554, -0.5790695548057556, -0.6688473224639893, -0.06379853188991547, 0.11823955923318863, -0.5223599672317505, 0.7783408761024475, 0.007354575674980879, 0.20065981149673462, 0.3229840397834778, 0.12886787950992584, 0.07568668574094772, -0.22260454297065735, 0.23402447998523712, 0.3930528163909912, 0.01810513623058796, 0.4938903748989105, 0.18948645889759064, 0.10267053544521332, -0.06322894245386124, -0.4655689299106598, 0.4284602105617523, -0.2857553958892822, -0.23847778141498566, 0.00015511921083088964, 0.11165592819452286, 0.3374430239200592, -0.3617253303527832, 0.6418203115463257, 0.8565526604652405, 0.024303879588842392, -0.10522037744522095, -0.42511260509490967, -0.25171127915382385, -0.4208891987800598, 0.2621178925037384, -0.03347066044807434, -1.041932225227356, 0.44169163703918457, -0.024714646860957146, 0.33848118782043457, 0.3165561854839325, 0.2955838143825531, -0.33542096614837646, 0.7039722800254822, 0.6610418558120728, 0.07127135992050171, 0.4941583275794983, -0.3245214819908142, 0.2315363585948944, -0.7663708329200745, -0.5152700543403625, -0.7229981422424316, -0.36474278569221497, -0.5639132857322693, -0.5580480694770813, 0.3549366593360901, 0.0012977375881746411, -0.2055664211511612, 0.21900007128715515, -0.6369645595550537, 0.34236618876457214, 0.6256047487258911, 0.1729799062013626, 0.2264045923948288, 0.12170301377773285, 0.0572948083281517, -0.1477450132369995, -0.7576939463615417, -0.378449022769928, 1.2235023975372314, 0.3684394061565399, 0.6838993430137634, -0.08379290997982025, 1.0235191583633423, 0.5619739294052124, 0.6375454068183899, -0.6522475481033325, 0.4318585991859436, -0.5376540422439575, -0.5423891544342041, -0.19248221814632416, -0.179587721824646, -0.7999899983406067, -0.1111963540315628, -0.34499943256378174, -0.398044615983963, 0.6950372457504272, -0.1103997603058815, -0.24373790621757507, 0.15627732872962952, -0.2990661561489105, 0.5374218225479126, -0.39864280819892883, -0.4178728461265564, 0.06846342980861664, -0.7036615014076233, 0.27403712272644043, -0.39118337631225586, 0.051486074924468994, 0.15755119919776917, -0.16665391623973846, 0.8995662927627563, -0.07271013408899307, 0.5625609159469604, -0.11315915733575821, 0.2581480145454407, 0.033798545598983765, -0.14760644733905792, 0.3514818847179413, -0.003971943166106939, -0.28299206495285034, 0.24469755589962006, -0.18029077351093292, -0.30359628796577454, -0.45102566480636597, 0.4869963824748993, -0.8107136487960815, -0.21257159113883972, -0.734081506729126, -0.6229033470153809, -0.23253683745861053, 0.2031945437192917, 0.3309079110622406, 0.20138584077358246, 0.12456651031970978, 0.5308670997619629, 0.8530686497688293, -0.21637311577796936, 0.11860887706279755, 0.622434139251709, -0.08456379920244217, -0.3782936632633209, 0.9301677346229553, 0.23207086324691772, -0.07902602851390839, 0.39078015089035034, 0.08826343715190887, -0.568889319896698, -0.9755394458770752, 0.009103391319513321, 0.289375901222229, -0.7905887365341187, -0.6148248910903931, -0.9519811868667603, -0.3359926640987396, -0.7419552206993103, -0.31114235520362854, 0.041641514748334885, -0.2787364721298218, -0.7167905569076538, -0.1541682928800583, 0.33748766779899597, 0.6423927545547485, -0.3570452332496643, 0.1092955693602562, -0.8781200051307678, -0.2993868291378021, 0.1123003289103508, 0.36708399653434753, -0.09172075241804123, -0.6559768915176392, -0.26504260301589966, -0.433292418718338, -0.24137243628501892, -0.5683576464653015, 0.5181246995925903, 0.6048513054847717, 0.6444877982139587, 0.43715330958366394, 0.42623767256736755, 0.4906107783317566, -0.5111122727394104, 0.556669294834137, 0.17164938151836395, -0.7089385390281677, 0.5175750851631165, -0.375912070274353, -0.19681693613529205, 0.8945101499557495, 0.9643867611885071, -0.01227725949138403, -0.26758265495300293, -0.6410818696022034, -0.8538984060287476, 0.6755703687667847, -0.12809646129608154, -0.15337051451206207, -0.016133910045027733, 0.3649260699748993, 0.4347206652164459, 0.06104506179690361, -0.6989280581474304, 0.18489892780780792, -0.2998534142971039, -0.14754033088684082, -0.1457671970129013, -0.09027177840471268, -0.11993756890296936, -0.4493059515953064, 0.8270171880722046, -0.21648429334163666, 0.36397138237953186, 0.22249838709831238, -0.1431148499250412, 0.04020009562373161, -0.00607274891808629, 0.4782123267650604, 0.5604753494262695, -0.645583987236023, 0.19012296199798584, -0.11866225302219391, -0.4129544496536255, -0.12305426597595215, 0.43145552277565, -0.24662624299526215, 0.21392133831977844, 0.5632782578468323, 0.5251886248588562, 0.06977768242359161, -0.4520016014575958, 0.27636462450027466, 0.078057661652565, -0.43600979447364807, 0.01650010608136654, -0.1429903507232666, -0.20894448459148407, 0.3434222936630249, 0.4790138602256775, 0.10888518393039703, 0.45941925048828125, -0.4426877200603485, 0.3599530756473541, 0.21034292876720428, -0.21138674020767212, -0.3276595175266266, 0.261543869972229, 0.21636953949928284, 0.0388224795460701, 0.4492378532886505, -0.37655404210090637, -0.7254580855369568, 0.24755451083183289, 0.37528833746910095, 0.4373297095298767, -0.04478220269083977, 0.28331074118614197, 0.24745099246501923, 0.10783791542053223, -0.15281720459461212, 0.0034724222496151924, -0.019178055226802826, -0.6473924517631531, -0.4110783636569977, -1.0116868019104004, -0.41844847798347473, 0.0993371233344078, -0.783526599407196, 0.2281995564699173, -0.3765508532524109, -0.22173233330249786, 0.5175969004631042, 0.3448083698749542, -0.6410325169563293, -0.16167040169239044, 0.19323472678661346, 0.9778826236724854, -1.0335140228271484, 0.9633213877677917, 0.8392843008041382, -0.36435666680336, -0.5323154926300049, -0.370952308177948, -0.2275630384683609, -0.2975906431674957, 1.0219839811325073, -0.026933005079627037, 0.17935746908187866, 0.004615507088601589, -0.6171379685401917, -0.773534893989563, 0.9383760094642639, 0.1551654040813446, -0.484709769487381, -0.05798516795039177, -0.08942244201898575, 0.7472254037857056, -0.4100095331668854, 0.027193870395421982, 0.25058475136756897, 0.7278140783309937, 0.19845397770404816, -0.7537807822227478, -0.2115047574043274, -0.15061530470848083, -0.08448468148708344, 0.22188006341457367, -0.3132787048816681, 0.7435432076454163, 0.1759619265794754, 0.07953405380249023, 0.07443662732839584, 0.8355914950370789, 0.1080312430858612, 0.5194569826126099, 0.2875211834907532, 0.7256823778152466, 0.8366235494613647, -0.242507666349411, 0.8366643190383911, -0.055259305983781815, 0.33152759075164795, 1.0782685279846191, -0.387484610080719, 0.7060273885726929, 0.22316859662532806, -0.2512980103492737, 0.6159703731536865, 0.8728610873222351, -0.5123594403266907, 0.7617326974868774, 0.037829574197530746, -0.1967717707157135, -0.1347811073064804, -0.43497392535209656, -0.5526460409164429, 0.5127065777778625, 0.49897992610931396, -0.5659214854240417, -0.20230408012866974, 0.3893681466579437, -0.23130172491073608, 0.044602759182453156, -0.34086790680885315, 0.7380163669586182, -0.24888083338737488, -0.4939105212688446, 0.21695837378501892, -0.10096011310815811, 0.7826641201972961, -0.6024788618087769, 0.05418568104505539, -0.02120807394385338, 0.05680733919143677, -0.39136892557144165, -1.0156986713409424, 0.43334463238716125, -0.17529574036598206, -0.32269972562789917, -0.4193341135978699, 1.0679068565368652, -0.5205098390579224, -0.40072789788246155, 0.22721539437770844, 0.23683218657970428, 0.3302355408668518, 0.3045927584171295, -0.6288178563117981, 0.1878044605255127, -0.002633157419040799, 0.02127457782626152, 0.6121603846549988, 0.5102037787437439, -0.11595582962036133, 0.3511265516281128, 0.8576374053955078, 0.2843252122402191, 0.15604490041732788, -0.031283579766750336, 0.9037613272666931, -0.13075530529022217, -0.3204701542854309, -0.17471690475940704, 0.08705828338861465, -0.22672690451145172, -0.11729955673217773, 0.7683109045028687, 0.676284670829773, 0.9842694997787476, -0.290866881608963, 0.6688780188560486, -0.2610210180282593, 0.5715665221214294, -0.17904096841812134, 0.7505639791488647, -0.4346703588962555, 0.08113886415958405, -0.12969201803207397, -0.8325883150100708, -0.5321150422096252, 0.5690381526947021, -0.3927951157093048, -0.12187828868627548, 0.41911908984184265, 0.3866800367832184, -0.006664695218205452, 0.07743337005376816, -0.044077012687921524, -0.20606741309165955, 0.37365269660949707, 0.0930231511592865, 0.5631961822509766, -0.06692536175251007, 0.46530911326408386, -0.3913021981716156, -0.2751465439796448, -0.5088000297546387, -1.0230003595352173, -0.735156238079071, -0.7102570533752441, -0.47926509380340576, -0.31469279527664185, 0.3228392004966736, 0.7558855414390564, 0.8175193667411804, -0.8967662453651428, 0.13912954926490784, -0.05095062404870987, -0.16745056211948395, -0.03190155327320099, -0.2507341802120209, 0.579358696937561, -0.5620619654655457, -0.5435096025466919, 0.12102407962083817, 0.12094207853078842, -0.10159925371408463, -0.02473778836429119, -0.06159842386841774, -0.5111238956451416, -0.27622345089912415, 0.6276766657829285, 0.3737987279891968, -0.4912577271461487, -0.3193613886833191, 0.09590493142604828, 0.09836116433143616, -0.1450502723455429, 0.8016052842140198, -0.6135788559913635, 0.6462631225585938, 0.6416281461715698, 0.9805538654327393, 0.5408469438552856, 0.052568502724170685, 0.3016389310359955, -0.8338240385055542, -0.20799697935581207, 0.9338556528091431, 0.16335146129131317, 0.14708870649337769, -0.38215720653533936, 0.7554223537445068, 0.18598923087120056, -0.8044462203979492, -1.02260422706604, -0.19192121922969818, -1.1245278120040894, -0.33623558282852173, 0.785216212272644, -0.438691109418869, -0.010563933290541172, -0.38788923621177673, 0.21358759701251984, 0.33566978573799133, -0.47122880816459656, 0.7245623469352722, 0.670257031917572, -0.4229695200920105, -0.2725459039211273, -0.48564767837524414, 0.602340042591095, 0.19309291243553162, -0.8750892281532288, -0.09790398925542831, 0.333518922328949, 0.01298114750534296, 0.7445653676986694, 0.16463419795036316, -0.1641334593296051, 0.2525399923324585, -0.415409117937088, 0.30450379848480225, -0.4172937870025635, -0.44836747646331787, -0.13145694136619568, 0.20688877999782562, -0.06484423577785492, 0.1351434290409088 ]
http://arxiv.org/abs/2405.04128v1
http://arxiv.org/pdf/2405.04128v1
Fine-grained Speech Sentiment Analysis in Chinese Psychological Support Hotlines Based on Large-scale Pre-trained Model
2024-05-07T08:53:25
2024-05-07T08:53:25
Zhonglong Chen, Changwei Song, Yining Chen, Jianqiang Li, Guanghui Fu, Yongsheng Tong, Qing Zhao
cs.CL
cs.CL, cs.SD, eess.AS
Suicide and suicidal behaviors remain significant challenges for public policy and healthcare. In response, psychological support hotlines have been established worldwide to provide immediate help to individuals in mental crises. The effectiveness of these hotlines largely depends on accurately identifying callers' emotional states, particularly underlying negative emotions indicative of increased suicide risk. However, the high demand for psychological interventions often results in a shortage of professional operators, highlighting the need for an effective speech emotion recognition model. This model would automatically detect and analyze callers' emotions, facilitating integration into hotline services. Additionally, it would enable large-scale data analysis of psychological support hotline interactions to explore psychological phenomena and behaviors across populations. Our study utilizes data from the Beijing psychological support hotline, the largest suicide hotline in China. We analyzed speech data from 105 callers containing 20,630 segments and categorized them into 11 types of negative emotions. We developed a negative emotion recognition model and a fine-grained multi-label classification model using a large-scale pre-trained model. Our experiments indicate that the negative emotion recognition model achieves a maximum F1-score of 76.96%. However, it shows limited efficacy in the fine-grained multi-label classification task, with the best model achieving only a 41.74% weighted F1-score. We conducted an error analysis for this task, discussed potential future improvements, and considered the clinical application possibilities of our study. All the codes are public available.
[ -0.5206272006034851, -0.7063646912574768, 0.38668763637542725, 0.7209177017211914, -0.229547917842865, -0.48771145939826965, -0.4259600043296814, -0.2661316692829132, 0.013035725802183151, 0.22643011808395386, -0.5289275050163269, -0.603969931602478, -0.49495041370391846, 0.09406506270170212, -0.20812886953353882, 1.2422471046447754, 0.2831876277923584, 0.4461689591407776, 0.2698113024234772, -0.042035795748233795, -0.033364247530698776, -0.7063187956809998, -0.763815701007843, -0.18203860521316528, 0.630484938621521, 0.25618237257003784, 0.4890240430831909, -0.051099058240652084, 0.5112084746360779, 0.2721487581729889, -0.2842073440551758, -0.15733163058757782, -0.3397108018398285, -0.34422698616981506, 0.20918862521648407, -0.20986400544643402, -0.8125318884849548, 0.21500840783119202, 0.25898486375808716, 0.33700764179229736, -0.3299541473388672, 0.3689129650592804, 0.3444496989250183, 0.3488350510597229, -0.5262452363967896, 0.0754619687795639, -0.31569501757621765, 0.5097081661224365, -0.4376414716243744, 0.13894018530845642, -0.3231251537799835, -0.6166158318519592, 0.4690205454826355, -0.26466554403305054, 0.08700032532215118, -0.39647963643074036, 0.665999710559845, 0.16883698105812073, -0.2693119943141937, -0.24811822175979614, -0.6957980394363403, 0.9391666054725647, -1.1351125240325928, 0.03458648547530174, 0.24992817640304565, 0.2257525473833084, -0.023969952017068863, -0.12598146498203278, -0.4636731743812561, -0.24237655103206635, 0.07350999861955643, 0.22622264921665192, -0.21809063851833344, 0.4948243200778961, 0.33455920219421387, 0.4112395644187927, -0.5108514428138733, 0.23240350186824799, -0.16356492042541504, -0.29493650794029236, 0.6586242914199829, 0.25159308314323425, 0.26624152064323425, -0.313470721244812, -0.2709081172943115, 0.04530254751443863, 0.09134356677532196, 0.22470107674598694, 0.03371896594762802, 0.4949319660663605, -0.31306490302085876, 0.16569113731384277, -0.11803088337182999, 0.5138131380081177, -0.00315632252022624, -0.13225655257701874, 0.5905296206474304, 0.2056385725736618, -0.4381149411201477, 0.12329913675785065, 1.1157587766647339, 0.4459310472011566, 0.3872515857219696, 0.2090320885181427, -0.11015207320451736, 0.03542181849479675, 0.16034351289272308, -0.8514599204063416, -0.05792958661913872, 0.5768258571624756, -0.7167025208473206, -0.18679536879062653, -0.1909054070711136, -0.9741438031196594, -0.8536199331283569, -0.2579788267612457, 0.22767336666584015, -0.31895649433135986, -0.45656517148017883, 0.09056906402111053, -0.04842732474207878, 0.35394954681396484, 0.3691881000995636, -0.33370211720466614, 0.0008889695163816214, 0.5144636631011963, 1.1681088209152222, 0.1227957233786583, -0.22445468604564667, -0.5797920823097229, -0.41932329535484314, -0.12656468152999878, 0.7397345304489136, -0.298518568277359, -0.23139968514442444, 0.15419219434261322, 0.11366305500268936, -0.016357453539967537, -0.4138019382953644, 0.8778292536735535, -0.025354569777846336, 0.1948031485080719, -0.366058349609375, -0.33444705605506897, 0.03757926821708679, 0.4505504071712494, -0.46896854043006897, 0.5525760650634766, -0.1786297708749771, -0.7930534482002258, -0.0031293132342398167, -0.712995707988739, -0.3667754530906677, -0.010927299968898296, 0.11686572432518005, -0.55945885181427, 0.13872969150543213, 0.011635467410087585, 0.8112514615058899, -0.3594873249530792, 0.22161783277988434, -0.9429410099983215, -0.40213528275489807, 0.32147881388664246, -0.6202877163887024, 0.732382595539093, 0.396257609128952, -0.24090778827667236, 0.08515793830156326, -0.7822960019111633, 0.13468047976493835, -0.029648669064044952, -0.30047494173049927, -0.46944770216941833, 0.010933445766568184, 0.39806249737739563, 0.6362881064414978, 0.2487652748823166, -0.7015021443367004, -0.0928560122847557, -0.4480080008506775, 0.1736426204442978, 0.6477261185646057, -0.07356729358434677, 0.1045776903629303, 0.2680913209915161, 0.450421005487442, 0.17475830018520355, 0.5285999178886414, 0.2154272496700287, -0.4392785131931305, -0.31507408618927, -0.04495246335864067, -0.2708984911441803, 0.7943999767303467, -0.24470649659633636, 0.4695952236652374, 0.3463688790798187, -0.7445898652076721, -0.4781171977519989, -0.1392488032579422, 0.4487972855567932, 0.6120429635047913, 0.491047739982605, 0.10418566316366196, -0.546620786190033, -0.8599121570587158, -0.1865926831960678, 0.026770468801259995, -0.12986299395561218, 0.24913640320301056, -0.038346514105796814, -0.3032183051109314, 0.6959173679351807, -0.8291606903076172, -0.6943066716194153, -0.1081189289689064, 0.5075798630714417, 0.28640690445899963, 0.283182829618454, 0.4223920702934265, -0.8815413117408752, -0.47492435574531555, -0.03359275683760643, -0.7614894509315491, -0.25463545322418213, 0.12588466703891754, -0.054667968302965164, -0.05735879763960838, 0.08177454024553299, -0.3598339259624481, 0.3980534076690674, 0.5622074604034424, -0.13577120006084442, 0.7253098487854004, -0.03415160998702049, 0.08688391000032425, -1.034019947052002, 0.11368969082832336, 0.5388466715812683, 0.36163094639778137, -1.021692156791687, -0.5866873860359192, -0.10982766002416611, -0.44073736667633057, -0.5684630274772644, 0.2120729237794876, -0.05420081317424774, 0.12305152416229248, -0.43751323223114014, 0.11549272388219833, -0.4235740303993225, 0.6427785158157349, 0.21391385793685913, 0.37552401423454285, 0.4969441294670105, -0.30892327427864075, 0.4686936140060425, 0.258248507976532, -0.11877472698688507, 0.6120499968528748, -0.610696017742157, -0.006722519639879465, -0.14074361324310303, 0.3188856840133667, -1.0930157899856567, -0.22415609657764435, 0.11329356580972672, -0.1985204964876175, -0.2813204228878021, -0.07267924398183823, -0.00980428233742714, -0.5916435122489929, -0.3433913588523865, 0.17994844913482666, 0.1999281644821167, 0.08768988400697708, 0.2658628523349762, 0.4568750858306885, -0.37269458174705505, -0.5030620098114014, -0.5552502870559692, -0.09010697156190872, -0.48694470524787903, -0.25258100032806396, -0.007974929176270962, 0.0067250593565404415, -0.04338596388697624, -0.40508583188056946, 0.1703357994556427, -0.301695317029953, 0.06930927187204361, 0.39332282543182373, 0.16984327137470245, -0.22332359850406647, 0.24334849417209625, -0.0674213245511055, -0.14367438852787018, 0.2029379904270172, 0.16330118477344513, 0.6500965356826782, -0.5216283202171326, 0.0010267662582919002, -0.7756128311157227, 0.43647095561027527, 0.8175678253173828, -0.39755314588546753, 0.6423689723014832, 1.123853325843811, -0.6510797142982483, 0.12595024704933167, -0.4408446252346039, 0.12336018681526184, -0.449928343296051, 0.4750363230705261, 0.13942980766296387, -0.5638051629066467, 0.5218766331672668, -0.07689721137285233, -0.0013853284763172269, 0.0738767683506012, 0.4811108410358429, -0.16422230005264282, 1.3902215957641602, 0.5013540983200073, -0.42775484919548035, 0.623360812664032, -0.048373740166425705, 0.2111058235168457, -0.5767621397972107, 0.06819340586662292, -0.3857177495956421, -0.19042983651161194, -0.3985573947429657, 0.07465177029371262, 0.7264130711555481, 0.06068047508597374, -0.4353674352169037, 0.06156718730926514, -0.6159020662307739, 0.08954184502363205, 0.20686057209968567, 0.2663988471031189, -0.19701610505580902, -0.25371456146240234, 0.4266454577445984, -0.12688709795475006, -0.0689295306801796, -0.5116415619850159, 0.4727434515953064, 0.5183755159378052, 0.6636892557144165, -0.1287052482366562, 0.611108124256134, 0.3537500500679016, 0.5956068634986877, -0.9285591244697571, 0.574672281742096, -0.7422517538070679, -0.338657408952713, -0.4746924340724945, -0.36633020639419556, -0.5650909543037415, 0.05043472349643707, -0.22903777658939362, -1.0642213821411133, 0.1525263637304306, 0.25641000270843506, -0.8675857782363892, -0.0026927446015179157, -0.9554108381271362, 1.0713571310043335, -0.20797429978847504, 0.16507983207702637, -0.07168396562337875, -0.44164595007896423, 0.44454658031463623, -0.16447341442108154, 0.2239440232515335, -0.27105557918548584, 0.6578221321105957, 1.0680900812149048, -0.49546119570732117, 0.8746702671051025, -0.7298099398612976, -0.5504761934280396, 0.24078789353370667, -0.2913397550582886, 0.35941648483276367, -0.1723763346672058, -0.3882197439670563, 0.10740615427494049, 0.1299731433391571, -0.25966116786003113, -0.5625367760658264, 0.47507545351982117, -0.8189535140991211, -0.4622795879840851, 0.013996145687997341, -0.38510745763778687, -0.45016416907310486, 0.3188641667366028, 0.38926586508750916, 0.5624749660491943, -0.0537058562040329, -0.0069261593744158745, 0.4358428716659546, -0.5748412013053894, 0.39521080255508423, 0.27753910422325134, -0.08706428110599518, -0.3919098377227783, 0.9878926277160645, 0.5286312699317932, 0.07272518426179886, 0.05765056610107422, 0.5414183735847473, -0.06720027327537537, -0.2298743575811386, -0.13863058388233185, 0.10236083716154099, -0.3421652615070343, -0.1771503984928131, -0.6228834986686707, -0.2959992587566376, -0.4918387234210968, 0.04022502154111862, -0.4882166385650635, 0.2328946590423584, -0.21860793232917786, 0.03004150092601776, 0.3238702714443207, 0.37986597418785095, -0.10824226588010788, 0.413379430770874, -1.0833114385604858, 0.28390902280807495, 0.12863397598266602, 0.277946799993515, 0.36735451221466064, -0.06909776479005814, -0.5265138745307922, 0.17841990292072296, -0.4128115773200989, -1.1413313150405884, 0.3808160722255707, 0.10304731130599976, 0.07137640565633774, 0.9753345251083374, 0.42431795597076416, 0.977300226688385, -0.4138912856578827, 0.9107518196105957, 0.3019312620162964, -1.108371376991272, 0.6259180903434753, -0.5514636635780334, 0.12029396742582321, 0.33829861879348755, 0.423075795173645, -0.8697797656059265, -0.3387719690799713, -0.2755679190158844, -0.6679475903511047, 0.8587484955787659, -0.15097089111804962, 0.10301048308610916, 0.09692101180553436, 0.19593921303749084, -0.21690721809864044, 0.16815951466560364, -0.6164485216140747, -0.31706127524375916, -0.18912121653556824, -0.5425823330879211, -0.09821200370788574, -0.05844895914196968, -0.057198718190193176, -0.08109772205352783, 0.411088764667511, -0.1273554116487503, 0.5452796816825867, 0.1365559995174408, 0.4387938976287842, -0.20399682223796844, 0.4970606565475464, 0.4771411716938019, -0.009646210819482803, -0.41562792658805847, -0.17837674915790558, 0.3644145429134369, -0.69028639793396, 0.183397576212883, 0.39559975266456604, 0.2918700575828552, -0.16708451509475708, 0.2056121826171875, 0.6419758796691895, -0.04563445225358009, -0.6112237572669983, 0.8449687957763672, -0.0032620823476463556, 0.0008617352577857673, -0.48654869198799133, -0.03823398798704147, -0.1089622974395752, 0.39581167697906494, 0.40909817814826965, 0.018478160724043846, 0.5260552763938904, -0.2974182665348053, 0.20708511769771576, 0.5069996118545532, -0.619551956653595, -0.5370438098907471, 0.17664270102977753, 0.20927558839321136, -0.3851300776004791, 0.5196318030357361, -0.2730158865451813, -0.7386202216148376, 0.4566507041454315, 0.3090457022190094, 0.9939095973968506, -0.6110631227493286, 0.5758075714111328, 0.16175685822963715, -0.3042115867137909, -0.1135014072060585, 0.3116529881954193, 0.0815635621547699, -0.760433554649353, -0.2494288831949234, -0.6008104681968689, -0.4338083267211914, 0.5491402745246887, -1.2073949575424194, 0.35394325852394104, -0.5531706809997559, -0.4707876145839691, 0.1219831183552742, 0.10223168879747391, -0.4652697443962097, 0.626588761806488, 0.9059476256370544, 0.7849908471107483, -0.9942272305488586, 0.7046135663986206, 0.6767734289169312, -0.1707553118467331, -0.9001701474189758, 0.27580398321151733, 0.19738532602787018, -0.43397030234336853, 0.3759795129299164, 0.5856719017028809, -0.18738791346549988, -0.1386880725622177, -0.5313063263893127, -0.48742878437042236, 0.7628439664840698, 0.27945849299430847, -0.46373093128204346, -0.29089662432670593, 0.23368622362613678, 0.854120671749115, -0.11086305975914001, 0.37124207615852356, 0.4002148509025574, 0.35326430201530457, -0.20596161484718323, -0.9574729800224304, -0.07313181459903717, -0.35271912813186646, -0.20440420508384705, 0.18531838059425354, -0.9837940335273743, 0.912221372127533, 0.05712416023015976, -0.22034449875354767, -0.12000148743391037, 0.4114844799041748, 0.18827001750469208, 0.6321033239364624, 0.7309656739234924, 0.29777294397354126, 0.8550474047660828, 0.12580245733261108, 0.4699009656906128, 0.002711931010708213, 0.7051389813423157, 0.7165493369102478, -0.4091077744960785, 0.9751303791999817, 0.15371482074260712, -0.20891441404819489, 0.42256811261177063, 0.4856220781803131, 0.03247842937707901, 0.40285027027130127, 0.0884862020611763, -0.23550419509410858, -0.36974161863327026, -0.3203311860561371, -0.2038128525018692, 0.42056116461753845, 0.5637075901031494, -0.1793951690196991, -0.39647719264030457, 0.7071905732154846, 0.009004096500575542, -0.4116973876953125, -0.5018973350524902, 0.7087293863296509, 0.24721631407737732, -0.25450217723846436, 0.6545301079750061, -0.19959160685539246, 0.7695749402046204, -0.468404084444046, 0.15202850103378296, -0.002849656855687499, 0.5345231890678406, -0.4817114770412445, -0.7549223303794861, 0.2514394521713257, 0.4104459881782532, -0.13078245520591736, 0.07774163782596588, 0.6032248139381409, -0.43985676765441895, -0.29764455556869507, 0.4738355278968811, 0.22081749141216278, 0.17661364376544952, -0.4284883439540863, -1.0656384229660034, -0.06768979132175446, -0.016458967700600624, -0.4829985797405243, 0.33677616715431213, 0.5712406635284424, 0.06546756625175476, 0.4510432481765747, 0.4116954505443573, 0.1874414086341858, -0.243670254945755, 0.26636990904808044, 0.6897716522216797, -0.8043466806411743, -0.6816684603691101, -1.017996072769165, 0.485093891620636, -0.17527465522289276, -0.4813224673271179, 0.7655162215232849, 0.11523745208978653, 0.34613358974456787, -0.1233242005109787, 0.7705127000808716, 0.09430820494890213, 0.4841296970844269, -0.17643657326698303, 0.7449482083320618, -0.4876185953617096, -0.16954749822616577, -0.9417479038238525, -0.5683369040489197, -0.432880699634552, 0.4619552493095398, -0.822029709815979, -0.2406790554523468, 0.10179301351308823, 0.733273446559906, 0.046187300235033035, 0.28880614042282104, 0.22716280817985535, 0.3733367323875427, 0.4962722063064575, 0.7391071319580078, 0.8767720460891724, -0.36681029200553894, 0.5752734541893005, -0.20504936575889587, -0.4390057921409607, -0.12245859205722809, -0.5503561496734619, -0.7381806373596191, -0.5844008326530457, -0.1968582421541214, -0.3892485499382019, -0.3829050064086914, 1.211089015007019, 0.5633352994918823, -0.8530319929122925, -0.195222407579422, 0.1948564201593399, -0.316608190536499, -0.2697909474372864, -0.3435983657836914, 0.4972456097602844, -0.21304456889629364, -0.5566293001174927, -0.12311901897192001, 0.14855057001113892, 0.06097706779837608, -0.12953253090381622, 0.03731992095708847, 0.1289413571357727, 0.05171561986207962, 0.6964192390441895, 0.2924589216709137, -0.5727595090866089, -0.10031207650899887, -0.10673318803310394, -0.188209667801857, -0.06509888172149658, 0.7509597539901733, -0.3219059109687805, 0.0689755231142044, 0.2156631350517273, 0.5489710569381714, -0.24565880000591278, 0.20664986968040466, 0.3551328778266907, -0.5076548457145691, 0.0631408542394638, 0.15659037232398987, 0.3255586624145508, 0.22578434646129608, -0.7073363065719604, -0.12855014204978943, 0.030807413160800934, -0.5455845594406128, -0.8970018029212952, 0.016841407865285873, -0.888213038444519, -0.15969489514827728, 1.1094727516174316, -0.512022852897644, -0.16088701784610748, -0.054496027529239655, -0.6205273866653442, 0.4619438052177429, -0.5526300072669983, 0.7833660244941711, 0.6799077987670898, -0.4077968895435333, -0.06635711342096329, -0.2319730669260025, 0.7069655656814575, 0.24265892803668976, -0.6952386498451233, 0.496632844209671, 0.37909555435180664, 0.06902109086513519, 0.510069727897644, 0.660537600517273, 0.10069210827350616, 0.22858405113220215, -0.5726917386054993, 0.07152140885591507, 0.25319015979766846, -0.09213066101074219, -0.6286965608596802, 0.43916982412338257, -0.34870705008506775, -0.21409273147583008 ]
http://arxiv.org/abs/2405.04118v1
http://arxiv.org/pdf/2405.04118v1
Policy Learning with a Language Bottleneck
2024-05-07T08:40:21
2024-05-07T08:40:21
Megha Srivastava, Cedric Colas, Dorsa Sadigh, Jacob Andreas
cs.LG
cs.LG, cs.AI, cs.CL
Modern AI systems such as self-driving cars and game-playing agents achieve superhuman performance, but often lack human-like features such as generalization, interpretability and human inter-operability. Inspired by the rich interactions between language and decision-making in humans, we introduce Policy Learning with a Language Bottleneck (PLLB), a framework enabling AI agents to generate linguistic rules that capture the strategies underlying their most rewarding behaviors. PLLB alternates between a rule generation step guided by language models, and an update step where agents learn new policies guided by rules. In a two-player communication game, a maze solving task, and two image reconstruction tasks, we show that PLLB agents are not only able to learn more interpretable and generalizable behaviors, but can also share the learned rules with human users, enabling more effective human-AI coordination.
[ -0.5472243428230286, -0.723695695400238, 0.3284788727760315, 0.3968561291694641, 0.24972088634967804, 0.2966199815273285, -0.17937599122524261, -0.2809905707836151, -0.1331627070903778, 0.8144832253456116, -0.7344130873680115, -0.08048664778470993, -0.25191980600357056, -0.09442274272441864, 0.13913807272911072, 1.317594051361084, 0.149860680103302, -0.17766550183296204, -0.376803457736969, -0.029683873057365417, -0.6503638029098511, -0.179489403963089, -0.8211032748222351, -0.723768413066864, 0.1933862715959549, 0.49063634872436523, 1.0497418642044067, 0.8635318875312805, 0.22081872820854187, 0.40578389167785645, 0.14123781025409698, 0.23070411384105682, -0.5864019393920898, 0.0366138257086277, -0.4589898884296417, -0.5371122360229492, -0.20292669534683228, -0.1048724353313446, 0.48535722494125366, 0.6358174681663513, -0.34243661165237427, -0.34060442447662354, 0.014026853255927563, 0.6851748824119568, -0.23626482486724854, 0.6919878125190735, -0.37053123116493225, 0.035078149288892746, 0.015103732235729694, -0.03250207379460335, -0.009777997620403767, -0.2591456174850464, 0.44207102060317993, -0.9340457320213318, 0.1702052503824234, 0.29419150948524475, 0.9483886957168579, 0.41765448451042175, -0.22273525595664978, -0.7560648322105408, -0.4168541431427002, 0.6211660504341125, -0.20127633213996887, 0.14402928948402405, 0.4858402609825134, 0.20076532661914825, -0.4607976973056793, -0.34248682856559753, -0.7124600410461426, -0.3943440318107605, -0.09675949066877365, -0.20545673370361328, -0.20095035433769226, 0.38920360803604126, 0.3216390609741211, 0.01117932703346014, -0.6102969646453857, 0.2705000042915344, -0.6093404293060303, -0.4833531081676483, 0.884739339351654, 0.1802671253681183, 0.28780582547187805, 0.1601846069097519, -0.49994295835494995, -0.39345499873161316, -0.8076126575469971, 0.4422755539417267, 0.40952268242836, 0.12222348153591156, -0.25238537788391113, -0.04592422395944595, -0.22434507310390472, 0.4789831340312958, -0.1638372540473938, -0.0023307912051677704, 0.3741205334663391, 0.007779564242810011, 0.15331175923347473, -0.12129313498735428, 0.7650759220123291, 0.2303384244441986, 0.5723225474357605, -0.27781444787979126, -0.25905877351760864, 0.01609618589282036, 0.16901136934757233, -0.3918842673301697, -0.3251166343688965, -0.08354233205318451, -0.15669061243534088, -0.09899351745843887, -0.077858567237854, -0.9988123178482056, -0.49848219752311707, -0.15173669159412384, 0.3179183006286621, -0.314261794090271, -0.3750363886356354, 0.13381321728229523, -0.16657567024230957, 0.5625069737434387, 0.13823626935482025, -0.9096326231956482, 0.3674534857273102, 0.6826294660568237, 0.6729855537414551, -0.19436578452587128, -0.7866037487983704, -0.3231426179409027, 0.04529137536883354, -0.5486430525779724, 0.6970720291137695, -0.2155706286430359, -0.7133182287216187, -0.05671241134405136, -0.18520192801952362, 0.16733424365520477, -0.7892667651176453, 0.050507862120866776, -0.3164547085762024, -0.06998427957296371, -0.36888161301612854, -0.4078998565673828, -0.07708238810300827, 0.07926344126462936, -0.7558738589286804, 0.6455511450767517, 0.02308754250407219, -0.008902806788682938, 0.4036761522293091, -1.0110039710998535, -0.8842303156852722, 0.38471242785453796, -0.38468000292778015, -0.4490261673927307, 0.01161399856209755, -0.12500068545341492, 0.16451430320739746, -0.27916762232780457, 0.3651091754436493, -0.017528263852000237, -0.16259321570396423, 0.09921692311763763, -0.2974856495857239, 0.7797761559486389, 0.30969130992889404, -0.35151517391204834, 0.09635478258132935, -0.4476185441017151, -0.1912020742893219, 0.11323552578687668, -0.6541827917098999, 0.020304987207055092, 0.26879385113716125, -0.41102075576782227, 0.17847532033920288, 0.4381493330001831, -0.206130251288414, 0.41084620356559753, -0.3057427704334259, 0.5414355993270874, 0.8805893063545227, -0.024628154933452606, 0.606611967086792, -0.5978415608406067, 0.43921107053756714, -0.19194181263446808, 0.043011099100112915, -0.09240837395191193, -0.49579644203186035, -0.8050207495689392, 0.030482802540063858, -0.30096909403800964, 0.6349196434020996, -1.0669468641281128, 0.1694829761981964, 0.01161460392177105, -0.022693490609526634, -0.7901756167411804, 0.5245109796524048, 0.7066699862480164, 0.2795102298259735, 0.2502393424510956, -0.5428541898727417, -0.3024175763130188, -0.6667388081550598, -0.391901433467865, -0.436922162771225, 0.16480332612991333, 0.6596924066543579, 0.6617808938026428, -0.10538391023874283, 0.884663999080658, -0.34898391366004944, -0.5674008131027222, -0.5177246332168579, 0.7174631953239441, -0.1699691265821457, 0.5819154381752014, 0.08965811133384705, -0.8920438289642334, -0.5010409951210022, -0.05344231426715851, -0.7133699059486389, -0.21272152662277222, -0.4033706784248352, 0.16333520412445068, 0.32363957166671753, 0.6525205373764038, -0.43514397740364075, 0.18650220334529877, 0.22203880548477173, -0.5584102869033813, 0.6193041205406189, -0.6631418466567993, -0.25596433877944946, -0.1644590049982071, -0.2846449613571167, -0.21949762105941772, -0.3167100250720978, -0.7745420336723328, 0.1849963515996933, -0.3439745604991913, -0.14048704504966736, -0.39173948764801025, 0.5022992491722107, -0.4790610671043396, -0.13926105201244354, -0.35008302330970764, 0.04974360018968582, -0.1316099911928177, 0.8041950464248657, 0.21135757863521576, 1.1168111562728882, 0.6793662309646606, -0.7675395011901855, 0.32865747809410095, 0.0743074119091034, -0.317525178194046, 0.6086797118186951, -0.531855583190918, 0.04521336406469345, -0.3529983162879944, 0.06815720349550247, -0.4378063380718231, -0.23093701899051666, -0.04555902257561684, -0.1891050487756729, 0.2061978131532669, 0.53384929895401, -0.18716782331466675, -0.33083075284957886, -0.07761738449335098, 0.20736892521381378, 0.7052530646324158, -0.18301215767860413, 0.5079307556152344, 0.6597272753715515, 0.1718718260526657, -0.5677074790000916, -0.5444634556770325, -0.04917420074343681, 0.006952167022973299, -0.0711057037115097, 0.1716150939464569, -0.012485579587519169, -0.23559804260730743, 0.1580115109682083, 0.17094925045967102, -0.24973149597644806, 0.3199562132358551, 0.3751663863658905, -0.13727053999900818, 0.07575124502182007, 0.20558024942874908, -0.30516374111175537, -0.04172517731785774, 0.0774112269282341, -0.21127068996429443, 0.5688728094100952, -0.6221996545791626, 0.10111664235591888, -0.4305063784122467, 0.28662216663360596, 0.49346429109573364, -0.06816641241312027, 0.43357622623443604, 0.4919584393501282, 0.05390717089176178, -0.5420201420783997, -0.3637653589248657, -0.14268577098846436, -0.513481080532074, 0.6489814519882202, -0.6074370741844177, -0.9689428806304932, 0.28950220346450806, -0.3217129409313202, 0.051389891654253006, 0.20341481268405914, 0.5423333644866943, -0.4348982870578766, 0.8711988925933838, 0.9420364499092102, -0.28083616495132446, 0.41569918394088745, -0.2617734968662262, -0.06707344204187393, -0.20693433284759521, -0.3782975971698761, -0.19814197719097137, -0.13970035314559937, -0.8337454795837402, -0.5134273171424866, 0.4183439314365387, 0.22317156195640564, -0.521144449710846, 0.3706507980823517, -0.13219156861305237, 0.7166558504104614, 1.0755691528320312, 0.042802002280950546, 0.17214052379131317, -0.13654503226280212, -0.14786304533481598, 0.18646182119846344, -0.7994201183319092, -0.09015005826950073, 0.7585814595222473, 0.2759200632572174, 0.7230837345123291, 0.07363130152225494, 0.6394633650779724, 0.5919249653816223, 0.11400569975376129, -0.37893226742744446, 0.6088622212409973, -0.07391457259654999, -0.5431647896766663, -0.629625678062439, -0.750126838684082, -1.1315666437149048, 0.08852420747280121, -0.3461855947971344, -0.729500949382782, 0.021792948246002197, 0.42253395915031433, -0.3282068073749542, 0.08877257257699966, -0.4515383243560791, 1.1386709213256836, -0.5874418020248413, -0.4531833529472351, -0.6547693610191345, -0.7309131622314453, 0.12216714769601822, 0.15861093997955322, 0.4943945109844208, -0.2651664614677429, -0.043417420238256454, 0.5238454937934875, -0.2549625635147095, 0.8596611618995667, -0.31766799092292786, 0.09193776547908783, 0.5004173517227173, 0.25496217608451843, 0.4978157877922058, -0.3944694995880127, 0.2968544065952301, 0.24090613424777985, -0.2309269905090332, -0.344448059797287, -0.46814945340156555, 0.3686801791191101, -1.0272631645202637, -0.7406425476074219, -0.2814211845397949, -0.9068402647972107, -0.03306444361805916, 0.06557538360357285, 0.08208081871271133, -0.0875554010272026, -0.29323482513427734, -0.047470785677433014, 0.539876401424408, -0.5499042868614197, 0.520153284072876, 0.6727727055549622, -0.08627324551343918, -0.023737749084830284, 1.55682373046875, -0.05048421025276184, 0.3505411744117737, 0.3870713710784912, 0.34029731154441833, -0.3493536710739136, -0.2570532262325287, -0.2292190045118332, 0.15437959134578705, -0.303946316242218, 0.0832425057888031, -0.0785629153251648, -0.2334272265434265, -0.2598714232444763, -0.2204599380493164, -0.33693212270736694, 0.027776343747973442, -0.20705080032348633, 0.21034878492355347, 0.07979412376880646, 0.982733964920044, -0.4497792422771454, 0.6687590479850769, -0.16470782458782196, 0.22642137110233307, 0.4537679851055145, 0.3006344735622406, -0.07213784754276276, 0.0742291584610939, -0.048289429396390915, -0.2276056706905365, -0.7160866260528564, -0.7319057583808899, 0.36882489919662476, 0.6505607962608337, 0.5793914794921875, 0.5935594439506531, -0.02427920699119568, 0.616895318031311, -0.5743118524551392, 0.5173547267913818, 0.3546498715877533, -0.9233474135398865, 0.2580382823944092, 0.06259991973638535, 0.3015219569206238, 0.4850673973560333, 0.3713981807231903, -0.5054531097412109, -0.30677130818367004, -0.32050538063049316, -0.702579915523529, 0.5174956917762756, -0.0405641607940197, 0.0412643663585186, 0.10572584718465805, 0.16697748005390167, 0.024351177737116814, 0.6488856673240662, -0.81944340467453, -0.07753924280405045, -0.09480960667133331, -0.10502780973911285, -0.12889669835567474, -0.0019798194989562035, 0.15950843691825867, -0.033263180404901505, 0.4805087447166443, -0.23901796340942383, 0.08484429866075516, 0.1339128613471985, -0.2555871903896332, -0.05673421919345856, 0.19675226509571075, 0.5001364350318909, 0.408457487821579, 0.06699912995100021, 0.04354308173060417, 0.07691347599029541, -0.2485160380601883, 0.1668122261762619, -0.11844839155673981, -0.3911195397377014, -0.6071857213973999, 0.4469986855983734, 1.15511155128479, 0.12083565443754196, -1.3075038194656372, 0.5606562495231628, 0.13205969333648682, -0.4208953380584717, -0.15277869999408722, 0.28031548857688904, -0.31464332342147827, 0.6629736423492432, 0.34470880031585693, -0.12407141178846359, -0.011288507841527462, -0.8505694270133972, 0.5449510812759399, 0.6800795793533325, -0.3986265957355499, -0.18883956968784332, 0.6300559639930725, 0.37671399116516113, -0.6904522180557251, 0.4948605000972748, -0.8425271511077881, -0.8649622797966003, 0.591256320476532, 0.3867684006690979, 0.5705934166908264, 0.013979878276586533, 0.5904950499534607, -0.04111776873469353, 0.36400383710861206, -0.16054849326610565, 0.3123157322406769, -0.36605626344680786, -0.8571181893348694, -0.4174363911151886, -0.6304295659065247, -0.3863216042518616, 0.04720621183514595, -0.3893689811229706, -0.0823649987578392, -0.5777269005775452, -0.04633914306759834, -0.41489794850349426, 0.23671843111515045, -0.8494443893432617, -0.1704462617635727, 0.047389473766088486, 0.45254966616630554, -0.6885640025138855, 0.7588791251182556, 0.4814390540122986, -0.5067326426506042, -0.5788408517837524, -0.16345694661140442, -0.0182891134172678, -1.015480875968933, 0.7115471959114075, 0.0924583300948143, 0.06539244949817657, 0.00937140453606844, -0.47628065943717957, -0.5441172122955322, 0.9233673810958862, 0.2083008587360382, -0.6726458072662354, -0.5041237473487854, 0.33257243037223816, 0.5643801093101501, -0.3259463608264923, -0.0054284874349832535, 0.8856726288795471, 0.32812684774398804, -0.10336810350418091, -1.0748940706253052, -0.09506784379482269, 0.29743725061416626, -0.16803808510303497, 0.1599806696176529, -0.7656672596931458, 0.958781898021698, -0.44561925530433655, -0.3568594753742218, -0.007206952199339867, 0.6379802823066711, 0.02400088682770729, 0.37415292859077454, 0.7322658896446228, 0.5386661291122437, 0.7741753458976746, -0.11266975104808807, 0.8556355237960815, -0.3807455599308014, 0.408016175031662, 0.994539201259613, -0.32603582739830017, 0.6596619486808777, 0.4124546945095062, -0.20438432693481445, 0.6802924275398254, 0.14667002856731415, -0.06371332705020905, 0.6491564512252808, 0.4506909251213074, -0.12826445698738098, -0.24452273547649384, -0.4204322397708893, 0.1769416630268097, 0.7184163331985474, 0.5074256658554077, -0.006897043436765671, -0.3664567172527313, 0.273084431886673, -0.0040922160260379314, 0.264153391122818, -0.5609893202781677, 1.1343947649002075, -0.06559397280216217, -0.9705852270126343, 0.4588146209716797, -0.2862844467163086, 0.6976978778839111, -0.48635104298591614, -0.36015674471855164, 0.021565720438957214, 0.2980373501777649, 0.20691943168640137, -0.8704067468643188, 0.19205622375011444, -0.2853949964046478, 0.08083101361989975, -0.4040167033672333, 0.43594565987586975, -0.6958689093589783, 0.008009379729628563, 0.3784335255622864, 0.5692671537399292, 0.511243999004364, 0.2536346912384033, -0.9316917657852173, -0.03202812746167183, 0.047299355268478394, -0.006434643175452948, 0.3153199851512909, 0.20369379222393036, -0.20737916231155396, 1.0709789991378784, 0.35782331228256226, 0.5529429912567139, 0.09313366562128067, -0.3783179819583893, 0.5121631026268005, -0.5732284188270569, -0.6814329028129578, -0.7461585402488708, 0.18990667164325714, -0.1355496495962143, -0.3082735240459442, 0.3629453778266907, 0.2370826005935669, 1.1463170051574707, 0.14956693351268768, 0.8612871170043945, -0.22118109464645386, 0.13618093729019165, -0.36664319038391113, 0.6760716438293457, -0.47950929403305054, 0.1541634202003479, 0.329698771238327, -0.2804831564426422, -0.02775830402970314, 0.8368380069732666, -0.2927505373954773, -0.18691103160381317, 0.29643937945365906, 0.9658564329147339, 0.43645355105400085, -0.27025893330574036, 0.5423351526260376, 0.25774067640304565, 0.3121345043182373, 0.9847980737686157, 0.6646439433097839, 0.16990511119365692, 0.633493959903717, -0.18638542294502258, -0.40528810024261475, -0.08289162069559097, -0.6885806918144226, -0.9705411195755005, -0.7218789458274841, -0.08956143260002136, -0.3060920238494873, 0.47201138734817505, 0.9951290488243103, 0.731781005859375, -0.6466572284698486, -0.7716081738471985, -0.6552754640579224, 0.5863332748413086, -0.4185670018196106, -0.3161552846431732, 0.15531718730926514, -0.7489796876907349, -0.600451648235321, 0.29409369826316833, 0.1027393788099289, -0.07848268747329712, -0.4949730634689331, -0.6108658909797668, -0.07990433275699615, -0.011293531395494938, 0.12964867055416107, 0.9733914136886597, -0.7392631769180298, -0.06457018852233887, -0.6421110033988953, 0.02505357190966606, -0.02097286283969879, 1.1864014863967896, -0.753516674041748, 0.7197765111923218, 0.2162313014268875, 0.8499770164489746, 0.4453473389148712, 0.0020936394575983286, 0.6838179230690002, -0.7412272691726685, 0.34538546204566956, 0.20529232919216156, -0.08385442197322845, 0.1134052574634552, -0.170084148645401, 0.20902788639068604, 0.3468969464302063, -0.7884831428527832, -0.7112460732460022, 0.5160054564476013, -0.2978575825691223, -0.5549859404563904, 0.7594157457351685, -0.3590066730976105, -0.3961944580078125, -0.2952798008918762, -0.13567470014095306, 0.04933043569326401, -0.711802065372467, 0.724210798740387, 0.39319828152656555, -0.29259100556373596, -0.23888204991817474, -0.7375312447547913, 1.071516752243042, 0.308144211769104, -0.6058299541473389, 0.005137934815138578, 0.3784111738204956, 0.10922987759113312, 0.18840475380420685, 0.672616183757782, 0.4523155391216278, 0.3921370506286621, 0.089035764336586, 0.22274619340896606, -0.10577181726694107, -0.7543882727622986, -0.22003544867038727, 0.19688159227371216, 0.07510656118392944, -0.07762423157691956 ]
http://arxiv.org/abs/2405.04086v1
http://arxiv.org/pdf/2405.04086v1
Optimizing Language Model's Reasoning Abilities with Weak Supervision
2024-05-07T07:39:15
2024-05-07T07:39:15
Yongqi Tong, Sizhe Wang, Dawei Li, Yifan Wang, Simeng Han, Zi Lin, Chengsong Huang, Jiaxin Huang, Jingbo Shang
cs.CL
cs.CL
While Large Language Models (LLMs) have demonstrated proficiency in handling complex queries, much of the past work has depended on extensively annotated datasets by human experts. However, this reliance on fully-supervised annotations poses scalability challenges, particularly as models and data requirements grow. To mitigate this, we explore the potential of enhancing LLMs' reasoning abilities with minimal human supervision. In this work, we introduce self-reinforcement, which begins with Supervised Fine-Tuning (SFT) of the model using a small collection of annotated questions. Then it iteratively improves LLMs by learning from the differences in responses from the SFT and unfinetuned models on unlabeled questions. Our approach provides an efficient approach without relying heavily on extensive human-annotated explanations. However, current reasoning benchmarks typically only include golden-reference answers or rationales. Therefore, we present \textsc{PuzzleBen}, a weakly supervised benchmark that comprises 25,147 complex questions, answers, and human-generated rationales across various domains, such as brainteasers, puzzles, riddles, parajumbles, and critical reasoning tasks. A unique aspect of our dataset is the inclusion of 10,000 unannotated questions, enabling us to explore utilizing fewer supersized data to boost LLMs' inference capabilities. Our experiments underscore the significance of \textsc{PuzzleBen}, as well as the effectiveness of our methodology as a promising direction in future endeavors. Our dataset and code will be published soon on \texttt{Anonymity Link}.
[ -0.5378361344337463, -0.8934841156005859, 0.6985551714897156, 0.24458111822605133, -0.09844676405191422, -0.2843809723854065, -0.5288851857185364, -0.3252702057361603, -0.057850055396556854, 0.7950841784477234, -0.6945804953575134, -0.35662218928337097, -0.379924476146698, 0.15545159578323364, -0.2598497271537781, 0.9575903415679932, 0.08403418958187103, -0.1484156847000122, -0.36220455169677734, -0.07401492446660995, -0.11845588684082031, -0.3628612756729126, -0.6362825036048889, -0.5249762535095215, 0.5905952453613281, 0.6789900660514832, 0.6321572065353394, 0.7552659511566162, 0.3880545496940613, 0.33843305706977844, -0.23211026191711426, 0.4875345528125763, -0.5017930269241333, 0.25966140627861023, -0.49699270725250244, -0.566952645778656, -0.2944597005844116, -0.18383881449699402, 0.31179577112197876, 0.8895311951637268, -0.0916227251291275, 0.14321398735046387, -0.053237318992614746, 0.5342143774032593, -0.6048822999000549, 0.2146247923374176, -0.6823962330818176, -0.14401230216026306, -0.1493542194366455, -0.10492110997438431, -0.3233644664287567, -0.091737300157547, -0.16436472535133362, -0.43586409091949463, 0.18561474978923798, 0.1683954894542694, 0.8133284449577332, 0.6748675107955933, -0.41302618384361267, -0.02970709837973118, -0.5565303564071655, 0.7203543782234192, -0.7446298003196716, 0.1273164451122284, 0.6608760356903076, 0.2281101495027542, -0.5536611676216125, -0.478262722492218, -0.15769116580486298, -0.2706667184829712, -0.1788489669561386, 0.03489883989095688, -0.18800492584705353, 0.12134703248739243, 0.6021944880485535, 0.20331533253192902, -0.39060789346694946, 0.1923762410879135, -0.30462339520454407, -0.14123466610908508, 0.8714351058006287, 0.23305635154247284, -0.056641075760126114, -0.3223970830440521, -0.06360555440187454, 0.010336869396269321, -0.48313573002815247, 0.09367264807224274, 0.3724616467952728, 0.3347858488559723, 0.17464478313922882, 0.5978714227676392, -0.5953297019004822, 0.6193341612815857, 0.3576359152793884, 0.09059367328882217, 0.0423843115568161, -0.32249823212623596, -0.05503552407026291, -0.035912591964006424, 0.8580129146575928, 0.08613976091146469, 0.5246288180351257, -0.34293702244758606, -0.36220869421958923, 0.1568431705236435, 0.2534184455871582, -0.6885137557983398, -0.6176156997680664, 0.1217435747385025, -0.1745690405368805, -0.10531806200742722, -0.29302534461021423, -0.520529568195343, -0.4504818022251129, -0.3840164840221405, 0.2695039212703705, -0.34414389729499817, -0.2889939546585083, 0.301717609167099, 0.08862876892089844, -0.0761881172657013, 0.3594924807548523, -1.0387991666793823, 0.34187132120132446, 0.4071832597255707, 0.3128889799118042, -0.18047815561294556, -0.11663216352462769, -0.5710151791572571, 0.154165580868721, -0.42401763796806335, 0.8912971019744873, -0.3605002462863922, -0.13826921582221985, -0.24259696900844574, 0.14588791131973267, 0.07120903581380844, -0.656995415687561, 0.7201371192932129, -0.2796444892883301, 0.0715307667851448, -0.355421781539917, -0.6310349702835083, 0.049711499363183975, 0.35164257884025574, -0.5167828798294067, 1.131339430809021, -0.11228308081626892, -0.7520714998245239, 0.06323421746492386, -0.4433966875076294, -0.594231128692627, -0.08336281776428223, -0.2829684913158417, -0.420489639043808, 0.20223654806613922, 0.6576091051101685, 0.487061083316803, -0.3085874617099762, 0.4146479368209839, -0.5629733204841614, -0.4814314544200897, 0.10590141266584396, -0.2739599943161011, 0.6110038757324219, 0.11125198751688004, -0.39821627736091614, 0.17409370839595795, -0.7433464527130127, 0.2414514124393463, 0.29638728499412537, -0.24211502075195312, -0.3716643750667572, 0.0620851032435894, -0.33935436606407166, 0.2287747859954834, 0.17520743608474731, -0.29498419165611267, 0.3006686866283417, -0.5319855213165283, 0.281012624502182, 0.759378969669342, 0.20152264833450317, 0.3990824222564697, -0.19414378702640533, 0.47110214829444885, -0.04789029434323311, 0.16969405114650726, -0.038114868104457855, -0.19079594314098358, -1.0493098497390747, -0.10884492099285126, 0.2184559851884842, 0.41470861434936523, -0.794380247592926, 0.2674207091331482, 0.008426020853221416, -0.3196304440498352, -0.5665480494499207, 0.6652259826660156, 0.49483415484428406, 0.4279036223888397, 0.6929264068603516, -0.0658692792057991, -0.44147539138793945, -1.1282519102096558, -0.3041622042655945, -0.11585148423910141, -0.13404373824596405, 0.3204766511917114, 0.47378841042518616, -0.15851391851902008, 0.7851231098175049, -0.45105835795402527, -0.2817299962043762, -0.3790811002254486, 0.27327388525009155, 0.3037986755371094, 0.5535141229629517, 0.20560450851917267, -0.5785008072853088, -0.16744107007980347, -0.29986923933029175, -0.8188571929931641, -0.43447887897491455, -0.3107664883136749, -0.3375263512134552, 0.02413228526711464, 0.8200312256813049, -0.6381027102470398, 0.1736585944890976, 0.2908800542354584, -0.2668398320674896, 0.4048987925052643, -0.18740390241146088, -0.15460529923439026, -0.6934877634048462, -0.20813296735286713, 0.041724007576704025, -0.2875048816204071, -0.3114564120769501, -0.09619540721178055, 0.11853686720132828, 0.276169091463089, -0.1640036702156067, 0.4383637011051178, -0.48738667368888855, 0.09649494290351868, -0.19759346544742584, 0.19563423097133636, -0.16307272017002106, 0.8060373067855835, 0.03955458849668503, 0.5563916563987732, 0.4585970938205719, -0.5667852759361267, 0.25612714886665344, 0.032698262482881546, -0.182290717959404, 0.505370557308197, -0.7886677980422974, 0.09501447528600693, -0.13501673936843872, 0.06604138761758804, -0.8599980473518372, -0.3223874270915985, 0.1958955079317093, -0.2344007045030594, 0.2897857129573822, -0.2789915204048157, -0.8938360214233398, -0.3002568483352661, -0.09260702133178711, 0.08336191624403, 0.33295658230781555, -0.6469250917434692, 0.5264410972595215, 0.2592540979385376, 0.008340752683579922, -0.3861803412437439, -0.7088323831558228, 0.03283368796110153, -0.2222631573677063, -0.4921600818634033, -0.001419858424924314, -0.14219988882541656, -0.25015485286712646, 0.18044498562812805, -0.502127468585968, -0.05885444954037666, 0.3250960409641266, 0.2752869427204132, -0.009941907599568367, -0.19451862573623657, 0.38026535511016846, 0.2742290496826172, -0.18195335566997528, 0.273314505815506, -0.15074805915355682, 0.10848667472600937, -0.5070168972015381, -0.4573934078216553, -0.2125588059425354, 0.10187631845474243, 0.15519866347312927, -0.26236963272094727, 0.5111421942710876, 0.5443177819252014, -0.19655507802963257, -0.5270453095436096, -0.7165185809135437, -0.4460482597351074, -0.5073005557060242, 0.12510626018047333, -0.4515214264392853, -1.2352961301803589, 0.439065158367157, -0.3097095787525177, -0.09661523252725601, 0.3546183705329895, 0.5960670709609985, -0.2382354736328125, 1.3498060703277588, 0.259890079498291, 0.025239121168851852, 0.2670927941799164, -0.0829305350780487, -0.008750700391829014, -0.597249448299408, -0.0814327746629715, -0.2561444342136383, -0.14625632762908936, -0.581769585609436, -0.5067641139030457, 0.21949616074562073, 0.38569220900535583, -0.34352168440818787, 0.21591655910015106, -0.5483813285827637, 0.7138724327087402, 0.6711327433586121, 0.12452708929777145, 0.44822031259536743, -0.288838654756546, -0.26466262340545654, 0.04261702671647072, -0.8084896802902222, -0.380129873752594, 1.0075939893722534, 0.19136092066764832, 1.1298089027404785, 0.06956373155117035, 0.7688762545585632, 0.07668232172727585, 0.21035592257976532, -0.45687830448150635, 0.6922252178192139, 0.1427900195121765, -0.8684890866279602, -0.43599700927734375, -0.7448166012763977, -0.9641544818878174, 0.49885520339012146, -0.2764860689640045, -0.8840185403823853, -0.028281206265091896, 0.3652576506137848, -0.2564459443092346, 0.048376426100730896, -0.8677851557731628, 1.000348448753357, -0.427200049161911, -0.7299903631210327, -0.08870723843574524, -0.5833457112312317, 0.6097381114959717, -0.011455328203737736, 0.06991631537675858, -0.2804955840110779, 0.16664227843284607, 0.40868279337882996, -0.259835422039032, 0.9175714254379272, -0.051344677805900574, 0.014211340807378292, 0.3360467255115509, 0.2283787578344345, 0.542447566986084, 0.370670348405838, 0.10561750084161758, -0.15240365266799927, 0.004928329959511757, -0.577267587184906, -0.744153618812561, 0.7347072958946228, -0.4899296760559082, -0.96685391664505, -0.24981427192687988, -0.7122724652290344, -0.586242139339447, 0.2806665599346161, -0.10709744691848755, 0.03979070857167244, 0.20769666135311127, 0.3750387132167816, 0.9131304025650024, 0.025132907554507256, 0.23406526446342468, 0.5380253195762634, -0.19800834357738495, -0.022522827610373497, 0.5861160159111023, 0.003895652014762163, 0.2204742282629013, 0.0907721072435379, 0.2533681094646454, -0.35762572288513184, -0.46222206950187683, -0.37444233894348145, 0.33705636858940125, -0.7714863419532776, -0.2777046263217926, -0.6068423986434937, -0.014656885527074337, -0.1880081444978714, 0.09022090584039688, -0.5512061715126038, -0.4759279489517212, -0.08515369892120361, -0.22858259081840515, 0.30990758538246155, 0.4770379066467285, -0.11951632052659988, 0.12019909173250198, -0.2831829786300659, 0.4359344244003296, 0.4477207362651825, 0.4165083169937134, -0.11956708878278732, -0.3980311453342438, -0.25420960783958435, -0.07674272358417511, -0.0647120475769043, -0.7008332014083862, -0.0016062066424638033, -0.08657083660364151, 0.7043762803077698, 0.2912095785140991, 0.45734772086143494, 0.6712622046470642, -0.2913288176059723, 0.3627048432826996, -0.09713809937238693, -0.793874204158783, 0.7580506205558777, -0.5177997946739197, 0.5561770796775818, 0.7966156601905823, 0.22570309042930603, 0.035148538649082184, -0.7930472493171692, -0.7011305689811707, -0.8007992506027222, 0.7362104654312134, 0.2958853840827942, 0.03843321278691292, -0.16139979660511017, 0.4688105881214142, -0.32345685362815857, 0.06828216463327408, -0.7100678086280823, -0.13194525241851807, -0.02059151418507099, -0.12898218631744385, 0.003955427557229996, -0.19048476219177246, -0.23113451898097992, -0.4617381989955902, 0.7102936506271362, -0.3803563714027405, -0.08989822864532471, 0.0836246907711029, -0.21303397417068481, -0.20708990097045898, 0.33449211716651917, 0.26136496663093567, 0.44766706228256226, -0.29601138830184937, 0.44436293840408325, 0.47729361057281494, 0.23832662403583527, 0.006318556610494852, 0.1976800411939621, -0.21976155042648315, -0.25599056482315063, 0.4100271761417389, 0.6919902563095093, 0.40841004252433777, -0.8871034979820251, 0.3472927510738373, -0.12493909895420074, -0.2843461334705353, -0.18193110823631287, 0.45457741618156433, 0.37375834584236145, 0.5883930325508118, 0.08228547126054764, -0.2067534625530243, 0.05223359540104866, -0.2669510841369629, 0.2282267063856125, 0.2908826470375061, -0.3014087677001953, -0.06552612781524658, 0.864112913608551, -0.04139632359147072, 0.051033273339271545, 0.574505090713501, -0.3940344452857971, -0.3695904612541199, 0.3922535479068756, 0.5012291073799133, 0.40904614329338074, -0.0016849995590746403, 0.025670038536190987, 0.4058835208415985, 0.5641602873802185, -0.39231494069099426, 0.21839836239814758, -0.2500368356704712, -0.614234209060669, -0.5532537698745728, -0.4474600553512573, -0.40844884514808655, 0.12099077552556992, -0.5992512702941895, 0.07406066358089447, -0.550015926361084, -0.1144319400191307, -0.01889570616185665, 0.06892082095146179, -0.5252962708473206, 0.2128501683473587, 0.04451782628893852, 0.6892797946929932, -0.8324141502380371, 0.8902423977851868, 0.6375545263290405, -0.6375728845596313, -0.8749950528144836, -0.12974578142166138, -0.059418343007564545, -0.5598077178001404, 0.5324311256408691, 0.0934624969959259, -0.15272091329097748, -0.030703125521540642, -0.7457104921340942, -0.7787920236587524, 0.7439079284667969, 0.5748857259750366, -0.46284642815589905, 0.1394675225019455, -0.0002279226464452222, 0.7624324560165405, -0.1173507571220398, 0.2056768834590912, 0.6861666440963745, 0.5100945234298706, 0.15525685250759125, -0.7307980060577393, 0.19692838191986084, -0.29172343015670776, -0.1638370305299759, 0.10702104866504669, -0.5501335859298706, 0.6460126042366028, -0.2934283912181854, 0.008635101839900017, -0.07374510914087296, 0.7581861019134521, 0.2735682725906372, 0.09785035997629166, 0.6331581473350525, 0.7032451629638672, 0.8188635110855103, -0.10515204071998596, 0.9928162097930908, -0.12921911478042603, 0.42571017146110535, 1.5594993829727173, 0.020154716446995735, 0.6174653172492981, 0.5597385168075562, 0.05419537052512169, 0.4230756461620331, 0.6418402194976807, -0.21749670803546906, 0.3331174850463867, 0.5245358943939209, 0.11981426924467087, -0.9920362234115601, -0.2892151474952698, -0.02324995957314968, 0.39248913526535034, 0.3325957953929901, -0.14141790568828583, -0.3950980007648468, -0.2734966278076172, 0.07490365207195282, 0.3734161853790283, -0.22700361907482147, 0.7291362285614014, 0.20432351529598236, -0.7705969214439392, 0.7074432969093323, 0.03475285694003105, 0.4517313241958618, -0.5514104962348938, 0.17707936465740204, -0.47286131978034973, 0.39523252844810486, -0.17821630835533142, -0.7115704417228699, 0.1133696585893631, 0.10103671997785568, -0.032571546733379364, -0.2796589732170105, 0.7757110595703125, -0.5167073011398315, -0.5141796469688416, 0.3858221769332886, 0.6908633708953857, 0.10660070180892944, -0.11577916890382767, -0.7895539402961731, -0.11541911959648132, -0.20215877890586853, -0.5167436599731445, 0.4541534185409546, 0.7389388680458069, -0.27963146567344666, 0.9128750562667847, 0.5238794088363647, -0.04661686345934868, -0.03894925117492676, 0.23915275931358337, 1.0682789087295532, -0.6393528580665588, -0.22401048243045807, -0.7665653228759766, 0.3737766444683075, -0.23244397342205048, -0.2244875282049179, 0.955691397190094, 0.5022232532501221, 0.871454656124115, 0.151238352060318, 0.5398460626602173, 0.20187470316886902, 0.45933622121810913, -0.4684641361236572, 0.2825794219970703, -0.7407873272895813, 0.33669552206993103, -0.26142242550849915, -0.6892087459564209, -0.3739317059516907, 0.7785429358482361, -0.49196383357048035, -0.05968034267425537, 0.5426406264305115, 0.8655027747154236, -0.2112434208393097, -0.061783067882061005, 0.19049684703350067, 0.24100127816200256, 0.1893860101699829, 0.780880868434906, 0.9366028308868408, -0.07655483484268188, 0.7196981906890869, -0.3910118043422699, 0.03280166909098625, -0.14315804839134216, -0.7837629318237305, -1.4681575298309326, -0.1777522712945938, -0.3646579384803772, -0.3430028557777405, 0.08990275859832764, 0.9688919186592102, 0.6682211756706238, -0.7604274153709412, -0.1089896708726883, -0.2525542676448822, 0.29761213064193726, -0.16832029819488525, -0.1963859349489212, 0.3383713960647583, -0.6758987307548523, -0.5751823782920837, 0.5814610719680786, 0.18752261996269226, -0.11184051632881165, -0.3124893307685852, 0.0014829118736088276, -0.35198020935058594, 0.1297648549079895, 0.25975456833839417, 0.3317405879497528, -0.7436953783035278, -0.3038303554058075, -0.11980321258306503, -0.14285221695899963, -0.19439320266246796, 0.4741249680519104, -0.6330485939979553, 0.509107232093811, 0.1839965283870697, 0.8184533715248108, 0.8805603981018066, 0.23309840261936188, 0.3383926451206207, -0.8352648615837097, 0.10307151824235916, 0.3532412648200989, 0.3048502206802368, 0.274705708026886, -0.26702681183815, 0.8622158765792847, 0.14045387506484985, -0.51048743724823, -0.8312907814979553, 0.22582022845745087, -0.8372305035591125, -0.4339739978313446, 1.2467025518417358, -0.14724992215633392, -0.21425406634807587, -0.0995444729924202, -0.1575120985507965, 0.047993794083595276, -0.2992967367172241, 0.8601105213165283, 0.7237706780433655, -0.4501609206199646, -0.4708307087421417, -0.6799842715263367, 0.5339719653129578, 0.8571584820747375, -0.8870745301246643, 0.19205006957054138, 0.596066951751709, 0.16169685125350952, -0.12332949042320251, 0.6430476307868958, 0.15275999903678894, 0.14207741618156433, -0.06887335330247879, -0.08218854665756226, -0.23873212933540344, -0.32251399755477905, -0.07200945913791656, 0.204085111618042, 0.17028802633285522, 0.1811857968568802 ]
http://arxiv.org/abs/2405.04065v3
http://arxiv.org/pdf/2405.04065v3
FlashBack:Efficient Retrieval-Augmented Language Modeling for Long Context Inference
2024-05-07T07:14:38
2024-05-16T12:04:30
Runheng Liu, Xingchen Xiao, Heyan Huang, Zewen Chi, Zhijing Wu
cs.CL
cs.CL
Retrieval-Augmented Language Modeling (RALM) by integrating large language models (LLM) with relevant documents from an external corpus is a proven method for enabling the LLM to generate information beyond the scope of its pre-training corpus. Previous work utilizing retrieved content by simply prepending it to the input poses a high runtime issue, which degrades the inference efficiency of the LLMs because they fail to use the Key-Value (KV) cache efficiently. In this paper, we propose FlashBack, a modular RALM designed to improve the inference efficiency of RALM with appending context pattern while maintaining decent performance after fine-tuning by Low-Rank Adaption. FlashBack appends retrieved documents at the end of the context for efficiently utilizing the KV cache instead of prepending them. And we introduce Marking Token as two special prompt tokens for marking the boundary of the appending context during fine-tuning. Our experiments on testing generation quality show that FlashBack can remain decent generation quality in perplexity. And the inference speed of FlashBack is up to $4\times$ faster than the prepending counterpart on a 7B LLM (Llama 2) in the runtime test. Via bypassing unnecessary re-computation, it demonstrates an advancement by achieving significantly faster inference speed, and this heightened efficiency will substantially reduce inferential cost.
[ -0.21843089163303375, -0.826614260673523, 0.3922179639339447, 0.15763334929943085, -0.4219467043876648, 0.08625626564025879, -0.15580575168132782, -0.24720357358455658, 0.09309305250644684, 0.7233010530471802, -0.4856467843055725, -0.4228081703186035, -0.1502414047718048, -0.03737378865480423, -0.5267293453216553, 0.7314276099205017, 0.3466588854789734, -0.455740362405777, -0.16994419693946838, -0.18481650948524475, -0.6421181559562683, -0.6134769320487976, -0.4060533344745636, -0.2677047848701477, 0.45634132623672485, 0.5402474999427795, 0.4646552801132202, 0.7163164615631104, 0.012774362228810787, 0.20362219214439392, -0.04275256395339966, 0.27120769023895264, -0.6674108505249023, 0.6505354046821594, -0.3699035048484802, -0.29026126861572266, -0.6046301126480103, -0.48815324902534485, 0.8031415939331055, 0.4494072198867798, 0.05699830874800682, 0.2632676064968109, -0.11101128906011581, 0.6051167845726013, -0.9167715907096863, -0.13173753023147583, -0.7977369427680969, -0.34318283200263977, -0.26045238971710205, -0.4277254343032837, -0.8939398527145386, -0.19320999085903168, -0.2843795120716095, -0.41305264830589294, 0.2940619885921478, 0.2827128767967224, 0.6566655039787292, 0.13919299840927124, -0.27549371123313904, 0.04890607297420502, -0.708061158657074, 0.7280908226966858, -0.781404972076416, 0.340896338224411, 0.23189033567905426, 0.2901575565338135, -0.38352739810943604, -1.0789614915847778, -0.7011545300483704, -0.01915368251502514, -0.09871812909841537, -0.0507386215031147, 0.05260163173079491, -0.10199567675590515, 0.2622321844100952, 0.31418782472610474, -0.37313827872276306, 0.03819967061281204, -0.08093388378620148, -0.24885545670986176, 0.33521872758865356, 0.4701572358608246, 0.0710185244679451, -0.1236903965473175, -0.3056377172470093, -0.30099618434906006, -1.120059609413147, 0.014726239256560802, 0.1709163933992386, 0.6045823097229004, 0.2709924578666687, 0.37476372718811035, -0.27290698885917664, 0.8489787578582764, 0.0941813588142395, -0.1376332938671112, 0.283692330121994, -0.5137199759483337, -0.14252550899982452, 0.01370498538017273, 0.2584197223186493, 0.08609291166067123, -0.03285612910985947, 0.01280288491398096, -0.32596901059150696, -0.11413715779781342, 0.2577506899833679, -0.9541796445846558, -0.08154294639825821, -0.0021171553526073694, -0.32517555356025696, 0.12554118037223816, -0.0749070942401886, -0.6855586767196655, -0.17565101385116577, -0.10782764852046967, 0.39309626817703247, -0.666621744632721, -0.11531611531972885, 0.04744398593902588, 0.11814283579587936, 0.30142953991889954, 0.42292308807373047, -0.8378608822822571, 0.11525775492191315, 0.835656464099884, 0.5591426491737366, -0.26265090703964233, -0.18883612751960754, -1.0040383338928223, 0.23225896060466766, -0.2335483729839325, 0.9117285013198853, -0.8177744150161743, -0.5852734446525574, 0.08959802985191345, 0.038365524262189865, -0.06461527198553085, -0.5099355578422546, 0.43260496854782104, -0.8124290704727173, 0.023330165073275566, -0.1480274200439453, -0.5690338611602783, -0.029375895857810974, 0.24741098284721375, -0.49246954917907715, 1.4049155712127686, 0.22177548706531525, -0.5842187404632568, 0.25503888726234436, -0.2518186867237091, -0.7696577906608582, 0.05444774776697159, -0.07918424159288406, -0.35456717014312744, 0.10249897837638855, 0.42796605825424194, 0.3276471197605133, -0.12054385989904404, 0.3596573770046234, -0.17345160245895386, -0.8096588850021362, -0.14126864075660706, -0.2435164600610733, 0.4949125647544861, 0.18456925451755524, -0.243454247713089, 0.2698329985141754, -0.8019652962684631, -0.039810750633478165, -0.11886784434318542, -0.4631121754646301, -0.6418478488922119, -0.021230870857834816, -0.1345401257276535, 0.11910069733858109, 0.015123116783797741, -0.34634092450141907, 0.4104432165622711, -0.3852681517601013, 0.10717237740755081, 0.6347720623016357, 0.17757548391819, 0.4262468218803406, -0.23779655992984772, 0.47723886370658875, -0.04343116655945778, -0.08017663657665253, -0.8656563758850098, -0.34051620960235596, -0.832496702671051, -0.5373712778091431, 0.17218662798404694, 0.4263264536857605, -0.6580042243003845, 0.405211478471756, -0.6981933116912842, -0.04180152341723442, -0.4184582531452179, -0.052474137395620346, 0.5303691029548645, 0.8968629240989685, 0.3747536242008209, -0.16051959991455078, -0.7178381681442261, -0.7390620112419128, -0.37314170598983765, -0.0843372717499733, 0.0074617210775613785, 0.4409477710723877, 0.4002276360988617, -0.2088215947151184, 1.1328613758087158, -0.3911515474319458, 0.12263314425945282, -0.31246551871299744, 0.052634481340646744, 0.3724904954433441, 0.38134491443634033, 0.34277328848838806, -0.4013984203338623, -0.310881644487381, -0.2654695212841034, -0.44032567739486694, -0.19510520994663239, 0.004121310543268919, -0.18908873200416565, 0.2817607820034027, 0.6154006123542786, -0.30527833104133606, 0.34499821066856384, 0.2517794370651245, -0.47059690952301025, 0.5996828675270081, -0.26871752738952637, 0.3622960150241852, -1.0395500659942627, 0.2940264344215393, -0.7798040509223938, -0.37020689249038696, -0.6022772789001465, 0.03592415526509285, 0.4729735255241394, -0.14133550226688385, -0.45005011558532715, 1.0522234439849854, -0.551198422908783, -0.28633254766464233, -0.32327067852020264, 0.12771070003509521, 0.14644275605678558, 0.34328916668891907, -0.03075355477631092, 1.0185267925262451, 0.20461799204349518, -0.5790823101997375, -0.08456727862358093, 0.18272949755191803, -0.46466493606567383, 0.3291347622871399, -0.14241452515125275, 0.45967283844947815, -0.14018599689006805, 0.5180124044418335, -1.046411395072937, -0.03934897854924202, -0.22113312780857086, -0.19200706481933594, 0.5554530620574951, -0.11278878152370453, -0.48711439967155457, -0.10782520473003387, -0.36578646302223206, 0.643718957901001, 0.7138938903808594, -0.7591731548309326, 0.6660040616989136, 0.004506652243435383, -0.026402734220027924, -0.85162353515625, -0.5343590974807739, 0.23052464425563812, -0.341000497341156, -0.6226537823677063, 0.40191584825515747, 0.17868772149085999, -0.1443154215812683, -0.17890410125255585, -0.08997135609388351, 0.16147686541080475, 0.010806722566485405, 0.18350565433502197, 0.1304795891046524, -0.48185452818870544, 0.2867564558982849, 0.21126632392406464, -0.2598962187767029, -0.4091300666332245, -0.14052674174308777, 0.5114443302154541, -0.033432815223932266, -0.3261737525463104, -0.054181717336177826, 0.37141504883766174, 0.5028289556503296, -0.06586465984582901, 0.7116187214851379, 0.2144250124692917, -0.26680988073349, -0.34535348415374756, -0.8908758759498596, -0.502231776714325, -0.45948460698127747, 0.33268624544143677, -0.4465738534927368, -0.9879844188690186, 0.6482150554656982, -0.07584450393915176, 0.05370418354868889, 0.2941201329231262, 0.46987637877464294, 0.1887131631374359, 0.47451135516166687, 0.36388713121414185, -0.12142031639814377, 0.587156355381012, -0.016675172373652458, 0.14528465270996094, -1.0483417510986328, -0.14461708068847656, -0.45803511142730713, -0.055971596390008926, -0.030007509514689445, -0.5393417477607727, 0.18874748051166534, 0.2565818130970001, -0.3527141809463501, 0.287580668926239, -0.14054524898529053, 0.29369956254959106, 0.4391928017139435, 0.11453811824321747, 0.6813086271286011, -0.13648530840873718, -0.03338790312409401, 0.04012862592935562, -0.6877147555351257, -0.35692137479782104, 0.9591428637504578, -0.02740337699651718, 0.8349752426147461, 0.024031013250350952, 0.6062871217727661, 0.23930664360523224, 0.5578325390815735, -0.3529037535190582, 0.6460179090499878, -0.06707113981246948, -0.586524486541748, -0.14266729354858398, -0.011607123538851738, -0.8585945963859558, 0.40549740195274353, -0.10993427783250809, -0.680288553237915, 0.22157613933086395, 0.523844301700592, -0.57494056224823, 0.1478433609008789, -0.4913344085216522, 0.5698010921478271, 0.20571260154247284, -0.5706979036331177, -0.34609729051589966, -0.6975712180137634, 0.6282468438148499, -0.10135843604803085, 0.20743882656097412, -0.03270436078310013, -0.06236867234110832, 0.5001969933509827, -0.5095767378807068, 0.7046362161636353, -0.09080196917057037, 0.07059339433908463, 0.36250409483909607, 0.168920636177063, 0.876288890838623, 0.0715249627828598, -0.30383580923080444, -0.1835837960243225, -0.23468326032161713, -0.22911213338375092, -0.7761967182159424, 0.8973501324653625, -0.09113539010286331, -0.7231410145759583, -0.17175501585006714, -0.6092926263809204, -0.23071594536304474, 0.1910480558872223, 0.14936676621437073, 0.6582764983177185, -0.03668917715549469, 0.3670217990875244, 0.6992275714874268, -0.41941210627555847, 0.4821736216545105, 0.6732494831085205, -0.20119920372962952, -0.16432498395442963, 0.6567209959030151, -0.21134236454963684, 0.3591265082359314, 0.6235438585281372, 0.10322171449661255, -0.2943442165851593, -0.5865111351013184, -0.33054494857788086, 0.16349674761295319, -0.789374828338623, -0.306299090385437, -0.7117701768875122, -0.007951576262712479, -0.48298919200897217, -0.21914510428905487, -0.4598808288574219, -0.48185622692108154, -0.1273271143436432, 0.014009327627718449, 0.5296234488487244, 0.18032829463481903, 0.1461545079946518, 0.26423579454421997, -0.7307844161987305, 0.2467881292104721, 0.09401445090770721, 0.07461840659379959, 0.14456959068775177, -0.8582240343093872, -0.18014033138751984, -0.29488226771354675, 0.00046944452333264053, -0.5396537184715271, 0.17629803717136383, 0.3692866563796997, 0.3185160756111145, 0.23862780630588531, 0.2615400552749634, 1.00653874874115, -0.6264114379882812, 0.7725076675415039, -0.33472007513046265, -0.7591258883476257, 0.44722795486450195, -0.37692317366600037, 0.5317133069038391, 0.6411877274513245, -0.31044822931289673, -0.36524897813796997, -0.32627516984939575, -0.3348909914493561, -1.190535306930542, 0.49000436067581177, -0.016271620988845825, 0.23101964592933655, -0.4862787127494812, 0.6810983419418335, 0.26399722695350647, -0.07469815015792847, -0.2157963216304779, -0.2629046142101288, -0.056254997849464417, 0.02986845001578331, -0.07961208373308182, -0.5567606091499329, 0.20976801216602325, -0.34032759070396423, 0.5692600011825562, -0.07613468170166016, 0.13898663222789764, 0.24897977709770203, -0.4573812484741211, 0.17053088545799255, 0.3088265359401703, 0.7707579135894775, 0.796025812625885, -0.3133354187011719, 0.32516518235206604, 0.432782918214798, -0.4386592507362366, 0.11727841198444366, -0.23366811871528625, -0.05922093987464905, 0.04746710881590843, 0.6338885426521301, 0.6962246894836426, 0.7468351125717163, -0.8063027858734131, 0.34283578395843506, 0.07592148333787918, 0.13313999772071838, -0.16324421763420105, 0.17942392826080322, 0.10331655293703079, 0.25772708654403687, 0.5963356494903564, -0.2955060601234436, -0.016856353729963303, -0.6157246232032776, 0.45803409814834595, 0.34635448455810547, 0.032231882214546204, -0.26889270544052124, 0.5825580954551697, 0.1336737722158432, -0.3779884874820709, 0.979930579662323, 0.20921239256858826, -0.28809747099876404, 0.25840410590171814, 0.8773289322853088, 0.7110772728919983, -0.4455656111240387, -0.403838187456131, 0.5045226216316223, 0.016341134905815125, -0.17767827212810516, 0.14978598058223724, -0.23830239474773407, -0.5581314563751221, -0.6101627349853516, -0.6134352087974548, -0.12892641127109528, 0.02513495460152626, -0.7008259892463684, 0.13102641701698303, -0.21397356688976288, 0.06562010943889618, -0.5429834723472595, -0.32534119486808777, -0.5349327921867371, 0.10231660306453705, -0.2695605456829071, 1.2481858730316162, -0.6625293493270874, 1.2333470582962036, 0.1475612372159958, -0.03601905331015587, -0.42557036876678467, -0.12279439717531204, -0.1993291974067688, -0.9304712414741516, 0.7607911229133606, 0.1817973405122757, -0.35529956221580505, 0.22135773301124573, -0.16727639734745026, -0.8308368921279907, 1.147359013557434, 0.45587751269340515, -0.5227013230323792, -0.03837526962161064, -0.32668036222457886, 0.39695385098457336, -0.4943001866340637, 0.2301797717809677, 0.7653864026069641, 0.41238826513290405, 0.2712837755680084, -0.5393152832984924, 0.44182005524635315, -0.18060706555843353, 0.056098323315382004, 0.37467584013938904, -0.19280461966991425, 0.7305048108100891, -0.34508609771728516, -0.4030601382255554, 0.36088427901268005, 0.840250551700592, 0.3930526673793793, 0.18620888888835907, 0.4072437882423401, 0.5142582654953003, 0.5957819819450378, -0.01112861093133688, 1.2971962690353394, -0.27521950006484985, 0.2029222995042801, 1.4828509092330933, -0.30904459953308105, 1.0589076280593872, 0.582298755645752, 0.11553005874156952, 0.6386823058128357, 0.3584512174129486, 0.4491170644760132, 0.7638856172561646, 0.06393054872751236, -0.4460558295249939, -0.24955511093139648, 0.236845001578331, -0.5160014629364014, 0.1387786567211151, 0.31995272636413574, -0.33215266466140747, -0.2511065602302551, -0.00646501500159502, 0.034255292266607285, 0.08778562396764755, -0.11056608706712723, 0.638655424118042, 0.020617835223674774, -0.9449617266654968, 0.6680353283882141, -0.15970849990844727, 0.5267199277877808, -0.6378239393234253, -0.09259781986474991, -0.6832509636878967, 0.40721502900123596, -0.007012607529759407, -0.424326092004776, 0.48489946126937866, -0.2242213934659958, -0.21230348944664001, -0.3261009156703949, 0.6723024845123291, -0.4215303957462311, -0.15562458336353302, 0.10227935761213303, 0.1770567148923874, 0.10673819482326508, -0.04767193645238876, -0.22394220530986786, 0.24717126786708832, -0.27664074301719666, -0.5834018588066101, 0.5120809078216553, 0.2565223276615143, -0.3304254710674286, 0.6421775817871094, 0.6103288531303406, -0.2584591507911682, 0.14410044252872467, 0.14194388687610626, 0.9683535695075989, -0.9398266077041626, -0.4956446588039398, -1.0067870616912842, 0.7248177528381348, 0.013002641499042511, -0.24215348064899445, 0.7429248690605164, 0.7137466073036194, 0.3992260694503784, -0.08647356182336807, 0.5005033016204834, 0.13873738050460815, 0.4671834707260132, -0.6913443803787231, 0.5308118462562561, -0.334453284740448, 0.40668919682502747, -0.2263822853565216, -0.9426377415657043, -0.4197946786880493, 0.3289251923561096, -0.04721632972359657, 0.022931991145014763, 0.7673755884170532, 0.8476926684379578, -0.16330887377262115, -0.18119512498378754, 0.30012843012809753, 0.28134018182754517, 0.43309468030929565, 0.5435594916343689, 0.6072112917900085, -0.40771815180778503, 0.3454523980617523, 0.004306679591536522, -0.15913723409175873, -0.5433827042579651, -1.2529274225234985, -0.8012298941612244, -0.5532700419425964, 0.0352097749710083, -0.46464255452156067, 0.29906728863716125, 0.5193141102790833, 0.6793898344039917, -0.6883177757263184, 0.00998243223875761, 0.123663529753685, 0.12081865221261978, -0.15660445392131805, -0.2491668164730072, 0.5483018755912781, -0.3006186783313751, -0.5213981866836548, 0.8143172860145569, 0.46386006474494934, -0.3335852324962616, -0.028507782146334648, -0.10731586813926697, -0.26009511947631836, -0.019224490970373154, 0.7382992506027222, 0.45223912596702576, -0.7745920419692993, -0.6895068287849426, 0.03709392622113228, 0.16129638254642487, 0.16919732093811035, 1.1620413064956665, -1.1610443592071533, 0.6404133439064026, 0.5691673755645752, 0.7862988114356995, 0.8745843172073364, 0.3652297854423523, 0.7638795375823975, -0.8543258309364319, 0.39763975143432617, 0.27417299151420593, 0.3748268485069275, 0.3433414399623871, -0.2992118000984192, 0.30714544653892517, 0.06716207414865494, -0.35741910338401794, -1.0882939100265503, 0.2455146163702011, -0.7201271057128906, -0.2871992886066437, 1.0888569355010986, -0.2066165804862976, -0.11096085608005524, -0.1910877376794815, -0.08059901744127274, 0.19093216955661774, -0.34373795986175537, 0.7111756801605225, 0.4213285744190216, -0.16364093124866486, -0.17998510599136353, -0.3677752912044525, 0.4033987820148468, 0.37356775999069214, -0.5961383581161499, 0.25563251972198486, 0.4654289782047272, 0.335432767868042, -0.13401855528354645, 0.7864185571670532, -0.13224291801452637, 0.18716490268707275, -0.02189011499285698, -0.17527715861797333, -0.39565396308898926, -0.3614836633205414, -0.3467090427875519, 0.15728767216205597, -0.06127180904150009, -0.09775552153587341 ]
http://arxiv.org/abs/2405.04053v1
http://arxiv.org/pdf/2405.04053v1
Evaluating Text Summaries Generated by Large Language Models Using OpenAI's GPT
2024-05-07T06:52:34
2024-05-07T06:52:34
Hassan Shakil, Atqiya Munawara Mahi, Phuoc Nguyen, Zeydy Ortiz, Mamoun T. Mardini
cs.CL
cs.CL, cs.AI, cs.LG
This research examines the effectiveness of OpenAI's GPT models as independent evaluators of text summaries generated by six transformer-based models from Hugging Face: DistilBART, BERT, ProphetNet, T5, BART, and PEGASUS. We evaluated these summaries based on essential properties of high-quality summary - conciseness, relevance, coherence, and readability - using traditional metrics such as ROUGE and Latent Semantic Analysis (LSA). Uniquely, we also employed GPT not as a summarizer but as an evaluator, allowing it to independently assess summary quality without predefined metrics. Our analysis revealed significant correlations between GPT evaluations and traditional metrics, particularly in assessing relevance and coherence. The results demonstrate GPT's potential as a robust tool for evaluating text summaries, offering insights that complement established metrics and providing a basis for comparative analysis of transformer-based models in natural language processing tasks.
[ -0.38992589712142944, -0.6631342768669128, 0.4989251494407654, 0.2390567660331726, -0.3213397264480591, -0.2208987921476364, -0.22628018260002136, -0.46038568019866943, 0.35846593976020813, 0.23519258201122284, -0.1359071433544159, -0.27611157298088074, -0.8018457889556885, 0.22399954497814178, -0.7095533013343811, 1.587970495223999, -0.16069267690181732, -0.47759202122688293, -0.00702341552823782, -0.17585811018943787, -0.16739879548549652, -0.38579225540161133, -0.3750784993171692, -0.49253708124160767, 0.39534276723861694, -0.32516348361968994, 1.1951040029525757, 0.2071235626935959, 0.9174332618713379, 0.3103651702404022, -0.38798072934150696, -0.22469229996204376, -0.45714184641838074, -0.0471302755177021, -0.18415290117263794, -0.04796665534377098, -0.7958576679229736, 0.16453738510608673, 0.772459089756012, 0.4870103597640991, 0.10789032280445099, 0.18108461797237396, 0.34413251280784607, 0.6595895290374756, -0.4418686330318451, 0.3311798870563507, -0.31307509541511536, -0.09484334290027618, 0.015766067430377007, 0.2571360170841217, -0.29865071177482605, -0.5868584513664246, 0.5496943593025208, -0.27864325046539307, 0.38606834411621094, -0.4870581328868866, 1.1066011190414429, 0.20080791413784027, -0.3250710666179657, -0.36322274804115295, -0.5608257055282593, 0.5274863839149475, -0.7458432912826538, 0.23032359778881073, 0.22069790959358215, 0.45715397596359253, 0.2076253890991211, -0.8098750114440918, -0.7028255462646484, -0.2614642083644867, -0.4656074345111847, 0.6273453831672668, -0.4189561605453491, -0.06201890856027603, -0.083774134516716, 0.9524582028388977, -0.7036855220794678, -0.1541200429201126, -0.1976172775030136, -0.15611450374126434, 0.540237545967102, 0.012632478959858418, 0.5101069808006287, -0.35061290860176086, -0.208670973777771, -0.14972898364067078, -0.29812562465667725, 0.006788118742406368, 0.3323359191417694, 0.09766950458288193, -0.42152801156044006, 0.6895290017127991, -0.22736476361751556, 0.46074235439300537, -0.23595574498176575, -0.3357253968715668, 0.04093579947948456, -0.6207789182662964, -0.4333181381225586, -0.3831011950969696, 1.291788101196289, 0.4047102928161621, 0.3339003622531891, -0.4367314279079437, -0.3680132031440735, 0.03621383756399155, 0.08191602677106857, -1.034052848815918, -0.3310370147228241, 0.10264365375041962, -0.7813257575035095, -0.36687105894088745, 0.31301945447921753, -0.7080089449882507, -0.06930197030305862, -0.26316097378730774, 0.4759219288825989, -0.2886689007282257, -0.6290524005889893, -0.15615591406822205, -0.40081366896629333, 0.22342424094676971, 0.38306498527526855, -0.8898860216140747, 0.36737504601478577, 0.8003886342048645, 1.2130986452102661, -0.33222755789756775, -0.25770971179008484, -0.3261696994304657, -0.1319020688533783, -0.024353375658392906, 0.7825866937637329, -0.4459417462348938, -0.32038864493370056, -0.23059524595737457, -0.12974368035793304, -0.20563459396362305, -0.3737163245677948, 0.6351070404052734, -0.4030457139015198, 0.3894871771335602, -0.21854865550994873, -0.29447758197784424, -0.300400972366333, 0.19879336655139923, -0.9988071918487549, 0.8773436546325684, 0.3982100784778595, -0.917107343673706, 0.4229287803173065, -0.7439669370651245, -0.5011101365089417, 0.02576838992536068, -0.07661563158035278, -0.5217354893684387, 0.3499301075935364, 0.5005208253860474, 0.6094653606414795, -0.36986562609672546, 0.40636762976646423, 0.12549908459186554, -0.20045197010040283, 0.09813601523637772, -0.5898522138595581, 0.6038669943809509, -0.026025347411632538, -0.22756367921829224, 0.3883724510669708, -0.41979914903640747, -0.3020663559436798, 0.1897766888141632, -0.07504032552242279, -0.3778718411922455, -0.23481734097003937, 0.3092679977416992, 0.056939497590065, 0.07337385416030884, -0.323067843914032, 0.17673282325267792, -0.327630877494812, 0.3937014639377594, 0.39412379264831543, 0.046609848737716675, 0.11071756482124329, -0.3597533106803894, 0.46427661180496216, -0.1901019662618637, -0.013641591183841228, -0.6194563508033752, -0.657798707485199, -0.4046669900417328, -0.45892658829689026, 0.2911646068096161, 0.36392754316329956, -0.853991687297821, 0.40187111496925354, -0.45813044905662537, -0.8768010139465332, -0.473725825548172, -0.25721287727355957, 0.45171019434928894, 0.4350244104862213, 0.29596883058547974, -0.3880900740623474, 0.07210259139537811, -0.7968512773513794, -0.5186598896980286, -0.3675110340118408, -0.3055994212627411, -0.0809328705072403, 0.8408589959144592, -0.05756095424294472, 1.122211217880249, -0.30543607473373413, -0.10196194797754288, -0.3614257872104645, 0.30251529812812805, 0.313231498003006, 0.00037209721631370485, 0.8135899305343628, -0.8736183047294617, -0.5505677461624146, 0.04683031141757965, -0.8340301513671875, -0.006366634741425514, -0.15661202371120453, 0.15147744119167328, -0.007906774058938026, -0.01850925385951996, -0.6861626505851746, 0.5695920586585999, 0.784892737865448, -0.4390374422073364, 0.8579707741737366, -0.1934003084897995, 0.4187502861022949, -1.0299454927444458, 0.4305505156517029, 0.07541121542453766, -0.3313942551612854, -0.6477804183959961, 0.18237018585205078, 0.08706192672252655, -0.19796985387802124, -0.1651511937379837, 0.682880699634552, -0.2891601622104645, -0.038446467369794846, -0.23906660079956055, 0.43538007140159607, -0.043535780161619186, 0.3227401077747345, 0.06995147466659546, 0.9744194746017456, 0.07986781001091003, -0.4237242341041565, 0.2294214516878128, 0.4263629615306854, -0.4627482295036316, 0.4472063481807709, -0.9937001466751099, -0.000385297869797796, -0.04003855213522911, 0.22933273017406464, -1.032734751701355, -0.35042688250541687, 0.02939816750586033, -0.5296866297721863, 0.05036495625972748, -0.0068597132340073586, -0.4684869349002838, -0.2135239988565445, -0.38566064834594727, 0.29280197620391846, 0.5606511235237122, -0.5057254433631897, 0.6963602900505066, 0.2750317454338074, -0.4919619858264923, -0.32323893904685974, -0.5760591626167297, 0.1739044487476349, -0.08117406815290451, -0.5690668225288391, 0.18366402387619019, 0.12764257192611694, -0.32344597578048706, 0.06786249577999115, -0.09199324995279312, 0.011440674774348736, 0.042021505534648895, -0.009236665442585945, 0.19010110199451447, -0.23597288131713867, -0.3266282379627228, 0.15336087346076965, -0.26219576597213745, -0.072501540184021, -0.07264740020036697, 0.35888224840164185, -0.3274455666542053, -0.349418967962265, -0.5753917694091797, 0.16315701603889465, 0.6622880101203918, -0.39395609498023987, 0.6825509071350098, 0.600383460521698, -0.24572983384132385, 0.25576984882354736, -0.33184367418289185, 0.08134495466947556, -0.33774471282958984, 0.32255685329437256, -0.3928532302379608, -0.8608899116516113, 0.7271692156791687, 0.3802729547023773, 0.13938312232494354, 1.021654486656189, 0.7288527488708496, 0.4215443730354309, 0.7049462199211121, 0.7890688180923462, -0.4344163239002228, 0.5014514327049255, 0.009277534671127796, 0.20223331451416016, -0.674697756767273, 0.11519875377416611, -0.5464222431182861, -0.0714685469865799, -0.7251676917076111, -0.15951552987098694, 0.5788264274597168, 0.03948763385415077, -0.010575585067272186, 0.446613609790802, -0.5085310935974121, 0.604995608329773, 0.31042003631591797, -0.09827808290719986, 0.6935839056968689, -0.09033244103193283, 0.11627363413572311, 0.18228264153003693, -0.1479925513267517, -0.7578745484352112, 0.833700954914093, 0.6625512838363647, 0.6387660503387451, 0.34757524728775024, 0.39297452569007874, 0.19523966312408447, 0.7433909177780151, -0.7582007050514221, 0.29882490634918213, -0.29685312509536743, -0.29041850566864014, -0.5154837965965271, -0.6818811297416687, -0.7299473881721497, 0.6028513312339783, 0.11036897450685501, -0.853054940700531, -0.25292035937309265, -0.09063149243593216, -0.2866002321243286, 0.3243395686149597, -0.5731842517852783, 0.8971349000930786, 0.10488917678594589, 0.16936200857162476, 0.026633799076080322, -0.4326554238796234, 0.6298551559448242, -0.07317730039358139, -0.13479295372962952, -0.049385372549295425, -0.12117846310138702, 0.7432863116264343, -0.36377227306365967, 0.5354170203208923, -0.003653655294328928, -0.45429280400276184, 0.3695433437824249, 0.09370199590921402, 0.29374924302101135, 0.023468121886253357, -0.10553635656833649, 0.5154938697814941, 0.09544569998979568, -0.19195272028446198, -0.7951747179031372, 0.37421101331710815, -0.7693737149238586, -0.11867152899503708, -0.29406818747520447, -0.3563905954360962, 0.07382182776927948, 0.4052802324295044, 0.36552003026008606, 0.5649012327194214, -0.5259600877761841, 0.07964644581079483, 0.1282266080379486, -0.28545358777046204, 0.5580564141273499, 0.22430384159088135, -0.46577370166778564, -0.7305319309234619, 0.8229931592941284, 0.03887864574790001, 0.5293583273887634, 0.485980361700058, 0.40186548233032227, -0.14819708466529846, -0.4482751786708832, -0.7132608294487, 0.29733455181121826, -0.4967207908630371, -0.10176467895507812, -0.7315977811813354, -0.35663193464279175, -0.40817132592201233, 0.055113889276981354, -0.21761086583137512, -0.4204195439815521, 0.3682838976383209, 0.17400765419006348, 0.17647923529148102, 1.109435796737671, 0.5250080227851868, 0.6442904472351074, -0.903417706489563, 0.49376577138900757, 0.164479061961174, 0.522813618183136, 0.017081936821341515, -0.4288814067840576, -0.169353649020195, -0.10490143299102783, -0.38632577657699585, -0.8927057385444641, 0.38519537448883057, 0.04605884104967117, 0.3674808442592621, 0.27802398800849915, -0.04143008217215538, 0.2381281554698944, -0.31138789653778076, 1.1169456243515015, 0.26174506545066833, -1.115385890007019, 0.4000682532787323, -0.7550712823867798, 0.6381973624229431, 0.5176447033882141, 0.3145211338996887, -0.5758538842201233, -0.729236900806427, -0.5154049396514893, -0.733462929725647, 0.4123760759830475, 0.8562266826629639, 0.08578810095787048, 0.15191340446472168, 0.26676252484321594, 0.28341397643089294, 0.24771900475025177, -0.6908056139945984, -0.1158536896109581, -0.3147927224636078, -0.39950284361839294, -0.22900597751140594, -0.15446977317333221, 0.22393757104873657, 0.12938900291919708, 0.584338366985321, -0.23258662223815918, 0.3285895586013794, 0.30721357464790344, -0.221559077501297, 0.2131589949131012, 0.3314613103866577, 0.5950273871421814, 0.6320235729217529, -0.10230547934770584, -0.11109121888875961, 0.045662377029657364, -0.9872722625732422, -0.2439955323934555, 0.16551946103572845, -0.3833564221858978, 0.30764105916023254, 0.7185813188552856, 0.758688747882843, -0.018119795247912407, -0.3709833025932312, 0.8221732378005981, -0.5675889253616333, -0.010675924830138683, 0.0473296083509922, -0.14917705953121185, -0.23407237231731415, 0.05295643210411072, 0.19569706916809082, -0.03271421045064926, 0.2892299294471741, -0.3786763548851013, 0.1387195587158203, 0.23864951729774475, -0.42681223154067993, -0.6637179851531982, 0.5128284096717834, 0.1306028962135315, -0.08153729140758514, 0.5327494144439697, 0.009442329406738281, -0.5583491921424866, 0.5251812934875488, 0.40029892325401306, 1.282331943511963, -0.26431193947792053, 0.17345911264419556, 0.2989274859428406, 0.5738314986228943, -0.08533170074224472, -0.025939777493476868, -0.16481101512908936, -0.5266974568367004, -0.7474435567855835, -0.6440336108207703, -0.7798359394073486, 0.14407579600811005, -0.7262763381004333, 0.1541489213705063, 0.030216066166758537, -0.16074210405349731, 0.19261227548122406, -0.19881170988082886, -0.6690291166305542, 0.12491409480571747, -0.247283473610878, 0.9434111714363098, -0.9297481179237366, 0.434623122215271, 0.550836980342865, -0.8317505121231079, -0.6262405514717102, 0.5268545746803284, -0.139299675822258, -0.39220696687698364, 0.1830841451883316, 0.28764116764068604, -0.08906091749668121, -0.34243181347846985, -0.06686975806951523, -0.5501158237457275, 0.9900243878364563, 0.4409361481666565, -0.2668120265007019, -0.29161787033081055, 0.07490057498216629, 0.654438316822052, 0.10769595950841904, 1.0053472518920898, 0.7789095640182495, 0.40491369366645813, -0.026763295754790306, -1.6423933506011963, 0.009366273880004883, -0.43863022327423096, -0.09348542243242264, 0.39113637804985046, -0.7801998853683472, 0.7090398073196411, -0.1125035211443901, -0.3270282447338104, 0.2728652060031891, 0.8750078678131104, -0.20189908146858215, 0.15820840001106262, 0.3066786229610443, 0.30479827523231506, 0.559477686882019, -0.2329961657524109, 1.3603466749191284, -0.059322331100702286, 0.6827702522277832, 1.1024088859558105, 0.021929007023572922, 0.7989306449890137, 0.05052870139479637, -0.3869672417640686, 0.3430944085121155, 0.202170267701149, 0.1399192214012146, 0.32963305711746216, -0.024550622329115868, -0.08558392524719238, 0.3168582022190094, 0.0496332086622715, -0.3343917727470398, 0.5409861207008362, -0.05716687813401222, -0.3874216079711914, -0.5508015751838684, -0.020861277356743813, 0.22147411108016968, -0.01650247909128666, -0.27855247259140015, 1.1053835153579712, 0.11468493193387985, -0.8174223303794861, 0.31906673312187195, 0.008303467184305191, 0.6260301470756531, -0.5824303030967712, 0.19302624464035034, -0.1902398318052292, 0.3281181752681732, -0.16802147030830383, -0.9526106715202332, 0.591613233089447, 0.4723256230354309, -0.1161252036690712, -0.206369087100029, 0.6530900001525879, -0.34147724509239197, -0.3812299370765686, 0.21378444135189056, 0.5124252438545227, 0.36271634697914124, -0.45181697607040405, -0.3294104039669037, -0.0740126222372055, -0.2658032774925232, -0.5948746800422668, 0.26095104217529297, 0.502697765827179, -0.057022519409656525, 0.32487133145332336, 0.35211411118507385, 0.09205980598926544, -0.5770808458328247, 0.3777247369289398, 0.8939322233200073, -0.6681678891181946, -0.6274713277816772, -1.1408051252365112, 0.6264186501502991, 0.00023690595116931945, -0.4987196922302246, 0.8644492626190186, 0.6098752617835999, 0.6150668859481812, 0.013953818939626217, 1.0554229021072388, -0.05044263228774071, 0.47650882601737976, -0.4701940715312958, 1.1556662321090698, -0.14843471348285675, -0.22646057605743408, -0.8566932082176208, -1.084260106086731, -0.26668214797973633, 0.5240029096603394, -0.42649468779563904, 0.3263486623764038, 0.5853989124298096, 0.2991894781589508, -0.24764323234558105, 0.4675199091434479, 0.290475457906723, 0.04196695238351822, 0.6144459843635559, 0.3010289967060089, 0.714030921459198, -0.678566575050354, 0.33568263053894043, 0.05277619510889053, -0.5727064609527588, 0.12110815197229385, -1.093458890914917, -1.1831661462783813, -0.6378580331802368, -0.21373161673545837, -0.2669728696346283, -0.25565654039382935, 0.5482075214385986, 0.4183989465236664, -0.8092559576034546, -0.04084863141179085, 0.26203370094299316, -0.10043448209762573, -0.25020480155944824, -0.2510380744934082, 0.8118365406990051, -0.2389875054359436, -0.7379730343818665, 0.07722251862287521, 0.2874063551425934, 0.13666364550590515, -0.35248854756355286, 0.08352722972631454, 0.4399620294570923, -0.013774607330560684, 0.8926875591278076, -0.1622776985168457, -0.7433945536613464, -0.25891152024269104, -0.07853376865386963, -0.11287477612495422, -0.20655487477779388, 0.9093222618103027, -0.6383873820304871, 0.3146621286869049, 0.7121434211730957, 0.6656642556190491, 0.36117205023765564, 0.18207140266895294, 0.6180723905563354, -0.4603274464607239, -0.10830996930599213, 0.05551008880138397, 0.3525570034980774, 0.2536673843860626, -0.14777807891368866, 0.5983593463897705, 0.03557208180427551, -0.5940097570419312, -0.657929539680481, -0.043601445853710175, -0.8412933945655823, 0.18688178062438965, 0.996487021446228, -0.37456515431404114, -0.12279146909713745, 0.10205992311239243, -0.24206200242042542, 0.2574254274368286, -0.3441528081893921, 0.5957096815109253, 0.7193004488945007, -0.1026262491941452, -0.0595674104988575, -0.6405687928199768, 0.430513471364975, 0.05344030261039734, -1.0984033346176147, 0.2041662484407425, 0.2531435191631317, 0.1288682520389557, 0.34511813521385193, 0.5959580540657043, -0.3884330987930298, 0.031364891678094864, -0.1414068341255188, -0.054574836045503616, -0.011350452899932861, -0.24203254282474518, -0.4714968204498291, 0.2549859583377838, -0.22781473398208618, 0.1642358899116516 ]
http://arxiv.org/abs/2405.04048v1
http://arxiv.org/pdf/2405.04048v1
Philosophy of Cognitive Science in the Age of Deep Learning
2024-05-07T06:39:47
2024-05-07T06:39:47
Raphaël Millière
cs.CL
cs.CL
Deep learning has enabled major advances across most areas of artificial intelligence research. This remarkable progress extends beyond mere engineering achievements and holds significant relevance for the philosophy of cognitive science. Deep neural networks have made significant strides in overcoming the limitations of older connectionist models that once occupied the centre stage of philosophical debates about cognition. This development is directly relevant to long-standing theoretical debates in the philosophy of cognitive science. Furthermore, ongoing methodological challenges related to the comparative evaluation of deep neural networks stand to benefit greatly from interdisciplinary collaboration with philosophy and cognitive science. The time is ripe for philosophers to explore foundational issues related to deep learning and cognition; this perspective paper surveys key areas where their contributions can be especially fruitful.
[ -0.47105732560157776, -0.41538482904434204, 0.8552976846694946, -0.023496298119425774, 0.10714088380336761, 0.32279977202415466, -0.6462281942367554, -0.803753674030304, 0.03168671578168869, 0.4519256353378296, -0.5596222877502441, 0.15696947276592255, -0.6716631054878235, -0.31739288568496704, -0.2377740740776062, 0.47847098112106323, 0.4571557641029358, 0.3696831166744232, -0.06572572141885757, -0.24157996475696564, -0.7363003492355347, -0.37958091497421265, -1.0788530111312866, -0.7930489182472229, 0.4081239700317383, 0.004703813698142767, 0.5054753422737122, -0.006780876778066158, 0.8385507464408875, 0.3728800415992737, -0.14670304954051971, -0.049559544771909714, 0.046271227300167084, 0.34958750009536743, -0.46794334053993225, -0.675221860408783, -0.1130056083202362, 0.024241099134087563, 0.4922749698162079, 1.194238543510437, -0.06154879555106163, -0.19007760286331177, 0.06703393161296844, 0.9975299835205078, -0.5012452602386475, 0.16980403661727905, -0.670713484287262, 0.5167018175125122, -0.12546175718307495, 0.15077120065689087, -0.29510024189949036, -0.3416878283023834, 0.49285629391670227, -0.5337991118431091, 0.10955923795700073, -0.35014742612838745, 0.3641830384731293, 0.3959904611110687, -0.21013304591178894, -0.3555372655391693, -1.1010280847549438, 1.0055382251739502, -0.6644092798233032, 0.47710418701171875, 0.07690348476171494, 0.499659925699234, -0.1850956678390503, -0.8418222069740295, -0.5233551859855652, -0.4699840247631073, 0.29908668994903564, 0.19354411959648132, 0.004972606897354126, 0.06754934042692184, 0.27053123712539673, 0.6252161264419556, -0.09454163908958435, 0.2676450312137604, -0.6498363018035889, -0.18702921271324158, 0.7200776934623718, 0.3440047800540924, 0.18033622205257416, 0.3000941872596741, 0.022205708548426628, 0.10388826578855515, -0.20597954094409943, 0.3135845959186554, 0.19632168114185333, -0.08054473251104355, 0.36672163009643555, 0.22738532721996307, -0.460780531167984, 0.4178771376609802, -0.12285877019166946, 0.5000024437904358, 0.07219211012125015, -0.28311771154403687, -0.1594478189945221, 0.18723410367965698, 0.6583237051963806, 0.00006337415106827393, 0.3853646516799927, 0.014131318777799606, 0.15928524732589722, 0.6022538542747498, 0.31991973519325256, -0.46984484791755676, -0.5172194838523865, 0.08066895604133606, -0.34035077691078186, -0.20383131504058838, -0.12780629098415375, -0.4047824740409851, -0.5810942053794861, -0.6655535697937012, -0.27278393507003784, -0.38145795464515686, -0.32757148146629333, 0.5954106450080872, -0.23323552310466766, 0.21345964074134827, 0.6669754385948181, -0.8111169934272766, 0.24133189022541046, 1.0784435272216797, 0.3179756700992584, 0.06626126915216446, -0.19461560249328613, 0.21595516800880432, 0.14801204204559326, -0.7050882577896118, 0.585740327835083, -0.7473047971725464, -0.17323721945285797, -0.2811967730522156, -0.18775910139083862, 0.09542302042245865, -0.3568195402622223, 0.5626509189605713, -0.6138441562652588, 0.33594027161598206, -0.5331987738609314, -0.6512385606765747, -0.4551393687725067, 0.31069865822792053, -0.425117552280426, 0.6178277730941772, -0.3327445685863495, -0.21620988845825195, 0.3914346992969513, -0.9764146208763123, -0.6103531122207642, 0.31402525305747986, -0.5108894109725952, -0.1506730318069458, 0.38573095202445984, -0.07426903396844864, 0.46066877245903015, -0.5147359371185303, 0.434094101190567, -0.6520969867706299, -0.00747502688318491, 0.7155112624168396, -0.43781501054763794, 1.128375768661499, 0.4122130274772644, -0.5195280313491821, -0.22167828679084778, -0.5924785137176514, 0.21138229966163635, 0.08487541228532791, -0.21299928426742554, -0.3028712570667267, 0.40588730573654175, -0.6826191544532776, 0.16673168540000916, 0.1939251869916916, -0.7266806960105896, 0.20317277312278748, -0.596491277217865, 1.3884226083755493, 0.7455642819404602, -0.2116663008928299, 0.5729100704193115, -0.060198940336704254, -0.16192135214805603, -0.13246269524097443, 0.4393788278102875, 0.17303086817264557, -0.642427384853363, -0.7356942296028137, 0.2440093606710434, 0.139755517244339, 0.4441608190536499, -0.2403121441602707, 0.30798208713531494, -0.24063803255558014, -0.367635041475296, -0.17238642275333405, 0.04956454783678055, 0.0819278135895729, 0.5141114592552185, 0.23935624957084656, -0.661220133304596, -0.20154103636741638, -0.7442944049835205, -0.2295432984828949, -0.050634339451789856, 0.12353231757879257, 0.7106928825378418, 0.5314168930053711, 0.14191369712352753, 0.5582839846611023, -0.591239869594574, -0.1241697445511818, 0.19104737043380737, -0.12680141627788544, 0.12049495428800583, 0.8397091031074524, 0.30562567710876465, -0.803860604763031, 0.15076248347759247, 0.09817870706319809, -1.1431273221969604, 0.653168797492981, 0.0916157066822052, -0.047679975628852844, -0.36527419090270996, 0.38952964544296265, -0.8293463587760925, 0.3021365702152252, -0.20071819424629211, -0.008441164158284664, 0.1930714100599289, -0.10021563619375229, -0.05730210244655609, -0.47692492604255676, -0.09775692969560623, -0.30482128262519836, 0.3493848443031311, -0.4332171082496643, -0.12932953238487244, -0.32565099000930786, -0.2751432955265045, -0.22805866599082947, 0.16773755848407745, -0.022514481097459793, -0.2279500812292099, -0.27180835604667664, -0.0460934191942215, 0.17433807253837585, -0.11242133378982544, 0.0393284372985363, 0.15009143948554993, 0.7623645663261414, -0.90915447473526, 0.649932324886322, 0.052557267248630524, -0.32703864574432373, 0.32045218348503113, -0.41998082399368286, 0.31959235668182373, -0.07027740031480789, 0.5256569981575012, -0.7174767851829529, -0.11385191977024078, 0.3428681492805481, -0.6039143204689026, 0.04931733012199402, 0.45987382531166077, 0.140181764960289, -0.6999743580818176, -0.19208785891532898, 0.5763919353485107, 0.4179133474826813, 0.0919528529047966, 0.5682320594787598, 0.09341982007026672, 0.13589002192020416, -0.7034212350845337, -1.141424298286438, 0.22380784153938293, 0.029022755101323128, -0.6829814314842224, 0.26230692863464355, -0.0029001599177718163, -0.5475947260856628, 0.02132476679980755, -0.032321419566869736, -0.07118681073188782, 0.4928536117076874, 0.050289902836084366, 0.04627795144915581, -0.5659428238868713, 0.2710604965686798, -0.1575385332107544, -0.3458554446697235, 0.5457887053489685, -0.9209358096122742, 0.47435346245765686, -0.24461330473423004, -0.3434283137321472, -0.5631093978881836, 0.11969547718763351, 0.4200786054134369, -0.5036360025405884, 0.32843270897865295, 0.4132591784000397, -0.4692821204662323, -0.2447003871202469, -0.6224063038825989, -0.5642340183258057, -0.4364267587661743, 0.05800242722034454, -0.08010198920965195, -0.8595118522644043, 0.25139883160591125, -0.5887081027030945, -0.032954320311546326, 0.470800518989563, 0.18966516852378845, -0.556175708770752, 0.44234052300453186, 0.5471625328063965, 0.061419181525707245, 0.5468971133232117, -0.6615214943885803, 0.357622891664505, -0.9989538192749023, -0.35681024193763733, -0.34658104181289673, -0.5710145831108093, -0.3493629992008209, -0.056345365941524506, -0.06509869545698166, 0.037857022136449814, -0.4493435025215149, -0.15607166290283203, -0.8839665055274963, 0.3542206883430481, 0.5376290082931519, 0.40547019243240356, 0.09683606773614883, -0.10876007378101349, -0.023829936981201172, 0.04995139315724373, -0.39345061779022217, -0.28912338614463806, 0.9214361906051636, 0.24036607146263123, 0.45996010303497314, -0.05803173780441284, 0.22834201157093048, 0.5369837284088135, -0.164286807179451, -0.6923931241035461, 0.6951729655265808, -0.24377144873142242, -0.9383969902992249, -0.41496771574020386, -0.10486536473035812, -0.983314573764801, -0.03540932759642601, -0.126469686627388, -0.6151109933853149, 0.6290825009346008, -0.028637709096074104, -0.61448734998703, 0.4952317774295807, -0.31387755274772644, 0.40220049023628235, -0.4394538104534149, -0.13399042189121246, -0.9606336951255798, -0.8864234685897827, 0.4218626916408539, 0.23082004487514496, -0.16404855251312256, -0.399284690618515, 0.051287081092596054, 0.8976466655731201, -0.04394589364528656, 0.780852198600769, 0.0056092701852321625, 0.057913973927497864, 0.4970792829990387, 0.05982485041022301, -0.13383272290229797, 0.23461584746837616, -0.04269961640238762, 0.18196821212768555, -0.3164176046848297, -0.657724142074585, -0.5295618176460266, 0.79543137550354, -0.7735986709594727, -0.7403352856636047, -0.3865898549556732, -0.4784575402736664, -0.2365102767944336, 0.2849208414554596, 0.09752172231674194, 0.2670029401779175, 0.005800251848995686, 0.36050131916999817, 1.2229609489440918, -0.09961997717618942, 0.8194868564605713, 0.0736590176820755, -0.03451719507575035, -0.35966262221336365, 0.7990345358848572, 0.2830613851547241, 0.07202791422605515, 0.19246089458465576, 0.18698158860206604, 0.09486551582813263, -0.7171525359153748, -0.2718580365180969, -0.1252061426639557, -0.9792742729187012, 0.17498593032360077, -0.4906691014766693, -0.46864059567451477, -0.05392267182469368, -0.2845679819583893, -0.5780015587806702, -0.6007598042488098, -0.12107288092374802, -0.05618054419755936, 0.11595872044563293, 0.7842509746551514, 0.01308845542371273, 0.02898978814482689, -0.3183426558971405, 0.1629503071308136, 0.7432845234870911, 0.1393718272447586, 0.4426840841770172, 0.1506412774324417, 0.10944666713476181, -0.01064375601708889, -0.42597952485084534, -0.40605998039245605, -0.5635274648666382, 0.04234008491039276, 0.43448373675346375, 0.5091304183006287, -0.24101486802101135, 0.3294870853424072, -0.2600773274898529, 1.1069731712341309, 0.31837135553359985, -0.7088866829872131, 0.7119457721710205, -0.11146871745586395, -0.12838545441627502, 0.4139014780521393, 0.294697105884552, -0.16998101770877838, 0.25155752897262573, -0.6427084803581238, -0.5689199566841125, 0.15258769690990448, 0.15414559841156006, 0.4423389434814453, 0.3606380522251129, 0.7143086791038513, -0.021280135959386826, 0.3353025019168854, -0.33460533618927, -0.07719948887825012, -0.3025163412094116, 0.08974068611860275, -0.003988088574260473, 0.3471145033836365, -0.3653421998023987, -0.6749334931373596, 0.36338186264038086, -0.07971571385860443, 0.27058327198028564, 0.27054211497306824, 0.18653111159801483, 0.10816527903079987, 0.33195406198501587, 0.552416205406189, 0.971987247467041, 0.26560211181640625, 0.14320962131023407, 0.3914088010787964, -0.39016151428222656, 0.2655388116836548, 0.008925464935600758, -0.1914179027080536, -0.5146806240081787, 0.49364057183265686, 0.7798948884010315, -0.06887807697057724, -0.2890164852142334, 0.17413216829299927, -0.0134047232568264, -0.2407933622598648, -0.5824174880981445, 0.36992117762565613, 0.02770470641553402, 0.6623278260231018, 0.6268468499183655, 0.755988359451294, 0.24350778758525848, -0.7591075301170349, 0.024910418316721916, 0.5413799285888672, -0.5415138006210327, -0.2716933488845825, 0.5143665075302124, -0.06549756228923798, -0.1685018092393875, 0.9103068709373474, 0.35210925340652466, -0.5611193776130676, 0.9245030879974365, 0.03221455216407776, 0.8331999778747559, -0.025743139907717705, -0.07443977892398834, -0.06866682320833206, 0.32800722122192383, 0.09948787838220596, 0.2949877679347992, -0.37616002559661865, -0.8339628577232361, -0.46977728605270386, -0.43481695652008057, -0.34161508083343506, 0.16168534755706787, -0.38133704662323, -0.16648724675178528, -0.9499017000198364, -0.5661302804946899, 0.3762265741825104, 0.34736526012420654, -0.7572543621063232, 0.5474202632904053, 0.5576092004776001, 0.6632194519042969, -0.5295477509498596, 0.6409897208213806, 0.6056370139122009, -0.26133960485458374, -0.4862216114997864, -0.39024433493614197, -0.34801965951919556, -0.6858286261558533, 0.9579851031303406, 0.0939309298992157, -0.2568973898887634, -0.03268495202064514, -0.887511134147644, -0.7511591911315918, 0.9998010396957397, 0.41335147619247437, -0.4457189440727234, -0.057132478803396225, -0.04831733927130699, 0.5140637159347534, -0.4018617868423462, 0.060210734605789185, 0.34698066115379333, 0.5171819925308228, -0.09861963987350464, -0.38086777925491333, -0.003792789299041033, -0.03195175155997276, 0.017528826370835304, 0.27290964126586914, -0.9787278771400452, 1.093562364578247, -0.07097966969013214, 0.140071302652359, -0.032301053404808044, 1.0787925720214844, -0.061857130378484726, 0.6782729029655457, 0.07119295001029968, 0.8407382369041443, 0.8733082413673401, -0.12010329961776733, 0.6682188510894775, -0.13839207589626312, 0.12163367867469788, 0.7234047055244446, -0.3268389403820038, 0.4253407418727875, 0.20643004775047302, -0.37189459800720215, 0.5112247467041016, 0.4834831953048706, -0.19552217423915863, 0.41876494884490967, 0.26337572932243347, -0.4205687344074249, -0.4764178991317749, -0.14244064688682556, -0.7040899395942688, 0.2671598196029663, 0.8469091653823853, -0.4071429669857025, 0.19192592799663544, 0.47040030360221863, -0.16053399443626404, 0.008934656158089638, -0.5364303588867188, 0.6107776761054993, 0.4123162031173706, -0.4705311954021454, -0.10351253300905228, -0.3821001946926117, 0.5114893913269043, -0.40832632780075073, 0.02321079932153225, 0.09148222208023071, 0.5789021253585815, -0.1370524913072586, -0.9647864103317261, 0.24966560304164886, -0.6840408444404602, -0.15720152854919434, 0.08219381421804428, 0.9698710441589355, 0.3656441867351532, -0.358309805393219, 0.4867987036705017, 0.36609986424446106, 0.09919407218694687, 0.1269262284040451, -0.9181321263313293, 0.08323095738887787, -0.20276467502117157, -0.17888474464416504, 0.2260778397321701, 0.4548977017402649, -0.034607913345098495, 0.9358415007591248, 0.8597810864448547, 0.02285589650273323, 0.3191520869731903, -0.28273293375968933, 1.010317087173462, -0.9723970293998718, -0.11587370932102203, -1.0624099969863892, 0.042821016162633896, -0.13845299184322357, -0.5297700762748718, 0.4688877761363983, 0.18774177134037018, 0.860810399055481, 0.1116982102394104, 0.8523321151733398, -0.17066647112369537, -0.1838429719209671, -0.4553823173046112, 0.546582818031311, -0.2718599736690521, 0.09765905141830444, -0.09535789489746094, -0.6940291523933411, -0.42697256803512573, 0.5494197010993958, -0.741628885269165, 0.1437959522008896, 0.6139310002326965, -0.03160660341382027, -0.12048734724521637, 0.5731122493743896, 0.03897356614470482, -0.08611517399549484, 0.4102848768234253, 0.8851324319839478, 1.1702730655670166, -0.3364507555961609, 0.0032347459346055984, -0.6513999104499817, 0.18393848836421967, -0.07376102358102798, -0.718327522277832, -0.6253882050514221, -0.4857740104198456, -0.3405672311782837, -0.2679152190685272, 0.060502007603645325, 0.6274885535240173, 0.7265965938568115, -0.7615889310836792, -0.09296251088380814, -0.5528382062911987, 0.1172712966799736, -0.4799443781375885, -0.2051185965538025, 0.2907414138317108, -0.40134501457214355, -0.2960732877254486, 0.4399127960205078, 0.5110365748405457, -0.1880912333726883, -0.5028336644172668, -0.08124938607215881, -0.1628044694662094, 0.1500159054994583, 0.6822532415390015, 0.5576872825622559, -0.7528126239776611, -0.2882310748100281, -0.009669626131653786, -0.057969313114881516, 0.19314411282539368, 0.8720224499702454, -0.9688063263893127, 0.27928590774536133, 0.4889287054538727, 1.0927037000656128, 0.3542128801345825, -0.6772010326385498, 0.18204425275325775, 0.030642695724964142, 0.29803887009620667, 0.8269532918930054, 0.3221960663795471, 0.21854953467845917, -0.380328506231308, 0.6829211711883545, 0.4673596918582916, -0.5807952880859375, -0.7241108417510986, 0.4828299283981323, -0.7973875999450684, -0.5489099025726318, 0.18626810610294342, -0.17690005898475647, -0.23003339767456055, -0.021251464262604713, 0.07153730094432831, 0.2611774802207947, -0.17263200879096985, 0.5969842672348022, 0.8685259819030762, -0.6720256805419922, -0.16711893677711487, -0.8916459679603577, 0.39406824111938477, 0.9841545820236206, -0.474450945854187, -0.32717451453208923, 0.08352754265069962, 0.03362955525517464, 0.5837295651435852, 0.20754970610141754, 0.11935894936323166, 0.26463449001312256, -0.08552039414644241, -0.3353743851184845, 0.04832068085670471, -0.4359000623226166, -0.24069954454898834, 0.29174017906188965, 0.09396333992481232, -0.09146203100681305 ]
http://arxiv.org/abs/2405.04039v1
http://arxiv.org/pdf/2405.04039v1
Utilizing GPT to Enhance Text Summarization: A Strategy to Minimize Hallucinations
2024-05-07T06:23:02
2024-05-07T06:23:02
Hassan Shakil, Zeydy Ortiz, Grant C. Forbes
cs.CL
cs.CL, cs.AI, cs.LG
In this research, we uses the DistilBERT model to generate extractive summary and the T5 model to generate abstractive summaries. Also, we generate hybrid summaries by combining both DistilBERT and T5 models. Central to our research is the implementation of GPT-based refining process to minimize the common problem of hallucinations that happens in AI-generated summaries. We evaluate unrefined summaries and, after refining, we also assess refined summaries using a range of traditional and novel metrics, demonstrating marked improvements in the accuracy and reliability of the summaries. Results highlight significant improvements in reducing hallucinatory content, thereby increasing the factual integrity of the summaries.
[ -0.3949236273765564, -0.8600032329559326, 0.7712273597717285, -0.0553286075592041, -0.48516973853111267, 0.17097961902618408, -0.23566845059394836, -0.6246006488800049, 0.37958621978759766, 0.4703780710697174, -0.28871452808380127, -0.4481581747531891, -0.6457133889198303, 0.4544752538204193, -0.505618691444397, 1.4483143091201782, 0.04658462479710579, -0.19902360439300537, 0.26558011770248413, 0.30098146200180054, -0.2982851266860962, -0.7643723487854004, -0.4860807955265045, -0.3373081684112549, 0.3097207546234131, -0.026521645486354828, 0.8256365656852722, 0.3490579128265381, 0.7822293639183044, 0.33840909600257874, -0.21633611619472504, 0.2812870740890503, -0.6631913781166077, 0.24380245804786682, 0.039225928485393524, -0.04123350977897644, -0.6654171943664551, -0.10763027518987656, 0.36290714144706726, 0.6431611776351929, -0.3203849792480469, -0.11404991149902344, 0.2384374439716339, 0.6571242213249207, -0.47163835167884827, 0.1306668072938919, -0.621146023273468, 0.2018696665763855, 0.10108498483896255, -0.4991435110569, -0.40349191427230835, -0.5788418054580688, 0.3631672263145447, -0.5728683471679688, 0.6766690015792847, -0.133419007062912, 0.8286858797073364, 0.4491736888885498, -0.2136419117450714, -0.24061930179595947, -0.9727757573127747, 0.6169648766517639, -0.6799376010894775, -0.004435376729816198, 0.37743431329727173, 0.34896689653396606, 0.04158124700188637, -0.9471922516822815, -0.4847773015499115, -0.45201051235198975, -0.46058934926986694, 0.2703816890716553, 0.02814462035894394, 0.3750731348991394, 0.3761838376522064, 0.6679189205169678, -0.7401894330978394, -0.3103092312812805, -0.7934861183166504, -0.43263861536979675, 0.8361116051673889, 0.3249253034591675, 0.25314420461654663, -0.08305150270462036, -0.06369887292385101, 0.061965424567461014, -0.2517641484737396, -0.5576865077018738, 0.2732599377632141, 0.05994772911071777, 0.42269548773765564, 0.7176012396812439, -0.1769195944070816, 0.2705673277378082, 0.02243458293378353, -0.403278112411499, 0.21746540069580078, -0.5079968571662903, -0.4335381090641022, 0.3688383102416992, 0.5545300245285034, 0.9397643804550171, 0.3155735433101654, -0.5595423579216003, -0.36658787727355957, 0.3225759267807007, 0.6156973242759705, -0.9321187138557434, -0.6784119606018066, 0.29845723509788513, -0.7348090410232544, -0.5341010093688965, 0.13430556654930115, -0.9010103344917297, -0.4406503438949585, -0.6222941279411316, 0.5432803630828857, -0.6083879470825195, -0.314548134803772, -0.027363013476133347, -0.7468811273574829, -0.009179825894534588, 0.5642497539520264, -1.2201865911483765, 0.5517427325248718, 0.4961247146129608, 1.160828948020935, -0.4803389012813568, -0.11800607293844223, -0.16260115802288055, 0.4513784646987915, -0.20681388676166534, 0.8938298225402832, -0.2859821915626526, -0.7309972047805786, -0.35592296719551086, -0.24846021831035614, 0.13642780482769012, -0.8438734412193298, 0.39358460903167725, -0.12312986701726913, 0.3689716160297394, -0.3276415169239044, -0.38055071234703064, -0.5755743980407715, 0.1685204803943634, -0.7152594923973083, 1.0047310590744019, 0.19714534282684326, -0.7747535705566406, 0.4996524155139923, -0.762331485748291, -0.6710564494132996, -0.10994070768356323, -0.10628925263881683, -0.3598122000694275, 0.623029887676239, 0.5505642890930176, 0.2280413806438446, 0.26741278171539307, 0.19417120516300201, 0.2538812756538391, -0.6526581048965454, -0.16113848984241486, -0.334271639585495, 0.48832276463508606, 0.335587739944458, -0.5230625867843628, 0.22521942853927612, -0.6890869736671448, -0.20920345187187195, -0.08072778582572937, 0.05645481124520302, -0.3527497351169586, -0.12327419966459274, 0.26581433415412903, -0.12090527266263962, 0.004223265219479799, -0.049024276435375214, 0.33808159828186035, -0.37587985396385193, 0.221700057387352, 0.7356517314910889, 0.34446972608566284, 0.2246512472629547, -0.5656484961509705, 0.3980685770511627, 0.014331384561955929, -0.028223367407917976, -0.21830646693706512, -0.2602098882198334, -0.5684449076652527, -0.27779942750930786, 0.10833124816417694, 0.5762238502502441, -0.8062213063240051, 0.4310591220855713, -0.07335259020328522, -0.3877720534801483, -0.4073074758052826, -0.20421293377876282, 0.00010490595013834536, 0.5958062410354614, 0.5794827938079834, -0.255131334066391, -0.47121724486351013, -0.8382370471954346, -0.16692201793193817, -0.16140682995319366, -0.13070710003376007, -0.3184283673763275, 0.5427416563034058, -0.11017463356256485, 0.6904712915420532, -0.6948900818824768, -0.4275725185871124, -0.5632123351097107, 0.41571420431137085, -0.04198542982339859, 0.3470325767993927, 0.677836537361145, -0.7908331751823425, -0.581215500831604, -0.08093728125095367, -0.9946240186691284, 0.007803692482411861, -0.3646891117095947, 0.17705930769443512, 0.3591288924217224, 0.3311316967010498, -0.6559356451034546, 0.7891882061958313, 0.0412374809384346, -0.24932891130447388, 0.6548057794570923, -0.49058064818382263, 0.6065415740013123, -1.1425597667694092, 0.0874311551451683, -0.19266076385974884, -0.32462483644485474, -0.6392248868942261, -0.10705935209989548, -0.3561843931674957, -0.024815872311592102, 0.0858030915260315, -0.036989711225032806, -0.5273637175559998, 0.13228923082351685, -0.6218377947807312, 0.09868763387203217, 0.0006306561408564448, 0.4116450846195221, 0.2745664417743683, 0.9683100581169128, 0.29719531536102295, -0.6105507016181946, 0.25878289341926575, 0.14792338013648987, -0.021288443356752396, 0.24260976910591125, -0.7922112345695496, 0.19736866652965546, -0.48407530784606934, 0.11460284143686295, -0.9439123868942261, -0.29732170701026917, 0.22042477130889893, -0.4581156373023987, 0.20131197571754456, 0.3927775025367737, -0.48437926173210144, -0.13417676091194153, -0.7180841565132141, -0.015407152473926544, 0.7886266112327576, -0.3302775025367737, 0.7653073072433472, 0.33166036009788513, -0.4828367829322815, -0.3442060649394989, -0.882981538772583, 0.32025346159935, -0.5236849784851074, -0.30617251992225647, 0.6961288452148438, 0.02305379882454872, -0.5276678800582886, -0.014886045828461647, -0.13731014728546143, 0.12083163857460022, 0.0410945825278759, 0.037493471056222916, 0.31899920105934143, 0.035734742879867554, -0.07778890430927277, 0.28915008902549744, -0.27860602736473083, 0.1316351294517517, -0.2563024163246155, 0.4123123586177826, 0.06366189569234848, 0.13888920843601227, -0.8653349280357361, 0.6448929905891418, 0.557671070098877, 0.12646058201789856, 0.642267107963562, 0.5868884325027466, -0.4586033225059509, -0.0385521836578846, -0.5731123089790344, -0.624017059803009, -0.4533884525299072, 0.4616560637950897, -0.45983490347862244, -0.6510860919952393, 0.7095592617988586, 0.17816971242427826, -0.015599071979522705, 0.6908534169197083, 0.6060677170753479, -0.013886598870158195, 1.0709552764892578, 0.8231664299964905, -0.1819847822189331, 0.3867115378379822, -0.18176902830600739, 0.32594913244247437, -0.6153442859649658, -0.28946545720100403, -0.3320842981338501, -0.20183570683002472, -0.5625258684158325, 0.07209834456443787, 0.5833548307418823, -0.007228461094200611, 0.3268684446811676, 0.10660071671009064, -1.0470001697540283, 0.8661315441131592, 0.6234023571014404, 0.1905692219734192, 0.8187581300735474, 0.3497603237628937, 0.08376795053482056, -0.3190920948982239, -0.23276810348033905, -0.7838737964630127, 1.1347354650497437, 0.10390444099903107, 0.6039537191390991, 0.0830044373869896, 0.838769257068634, 0.5635231733322144, 0.29415765404701233, -0.49404749274253845, 0.37912601232528687, 0.09044697880744934, -0.4349686801433563, -0.36272993683815, -0.4983927309513092, -0.5259032249450684, 0.48025020956993103, -0.0040024276822805405, -1.0590859651565552, -0.21123327314853668, 0.06788621097803116, -0.43380868434906006, 0.3501462936401367, -0.8394256830215454, 0.4269702136516571, 0.010856357403099537, -0.0591154508292675, -0.39651960134506226, -0.5030742883682251, 0.47380614280700684, 0.009615801274776459, -0.29414114356040955, 0.29412227869033813, 0.07272987812757492, 0.5293038487434387, -0.6016700863838196, 0.4978029131889343, -0.1271073967218399, -0.1560101956129074, 0.3887418210506439, 0.046784672886133194, 0.5453418493270874, 0.14756610989570618, 0.07518826425075531, 0.09651006013154984, -0.18719936907291412, -0.23694947361946106, -0.6759892702102661, 0.3961106240749359, -0.6805286407470703, -0.6879904270172119, -0.6995863318443298, -0.6979894042015076, 0.09831510484218597, 0.02259625494480133, 0.6436401605606079, 0.23198029398918152, -0.23334671556949615, -0.23048441112041473, 0.5974818468093872, -0.09146863222122192, 0.5759942531585693, -0.1655152589082718, -0.3783450424671173, -0.6872588396072388, 0.8575312495231628, 0.2577493488788605, 0.20130065083503723, 0.16454856097698212, 0.08743257820606232, -0.4642021954059601, -1.0803555250167847, -0.19397643208503723, 0.20448611676692963, -0.6874780058860779, 0.21659256517887115, -0.9952682256698608, -0.3567522466182709, -0.8146489262580872, -0.1845223754644394, 0.04399772733449936, -0.6672850847244263, -0.18653909862041473, -0.47889336943626404, 0.37974950671195984, 0.9622904658317566, 0.02841540426015854, 0.3719058632850647, -0.7176962494850159, 0.6861369609832764, 0.13744337856769562, 0.021912703290581703, 0.0880887359380722, -0.48347774147987366, -0.06075455620884895, -0.1986234486103058, -0.6299576163291931, -0.8866955041885376, 0.6720162630081177, -0.07056287676095963, 0.4441867470741272, 0.46198785305023193, 0.17946182191371918, 0.8377233147621155, -0.16719681024551392, 1.112816572189331, 0.15030059218406677, -1.0156625509262085, 0.6425368785858154, -0.5007235407829285, 0.09908970445394516, 0.8502677083015442, 0.36676403880119324, -0.2300308495759964, -0.7880762219429016, -0.664715588092804, -0.9109559655189514, 0.43858760595321655, 0.7914694547653198, -0.1390414983034134, 0.25533223152160645, 0.40557539463043213, 0.49691617488861084, 0.4274744689464569, -0.7938355803489685, -0.11816760152578354, -0.4420009255409241, -0.23381464183330536, -0.15187442302703857, -0.23282285034656525, -0.09292774647474289, -0.460895299911499, 0.80120450258255, 0.09099487215280533, 0.19645048677921295, 0.4669547379016876, -0.19407108426094055, 0.28588104248046875, -0.12388350069522858, 0.9898402094841003, 0.8339333534240723, -0.49547553062438965, 0.1580735445022583, 0.26475661993026733, -1.0428117513656616, -0.0355549231171608, 0.1463574916124344, -0.320263147354126, 0.4435749053955078, 0.3424735963344574, 0.5864241719245911, -0.6273419260978699, -0.4390394985675812, -0.0029449646826833487, -0.34637853503227234, -0.49216073751449585, -0.42411091923713684, 0.1308499127626419, -0.3928166925907135, 0.19160833954811096, 0.6674306988716125, 0.03923724219202995, 0.7484704852104187, -0.5074688196182251, 0.1749511957168579, 0.02675822749733925, -0.20493632555007935, -0.25993093848228455, 0.8616623878479004, 0.1487327516078949, -0.08441591262817383, 0.8301480412483215, -0.25777044892311096, -0.43524056673049927, 0.4723239243030548, 0.5594909191131592, 1.273840069770813, -0.02321096882224083, 0.22027379274368286, 0.3775593340396881, 0.6951748728752136, -0.1519698202610016, 0.21795068681240082, -0.22791731357574463, -0.24257472157478333, -0.3844696283340454, -0.31206944584846497, -0.45750898122787476, 0.3745884299278259, -0.5737366676330566, 0.12455881386995316, -0.3216572105884552, -0.18932926654815674, 0.10527407377958298, 0.012150523252785206, 0.17365653812885284, 0.09153681993484497, -0.08054015040397644, 0.3566758334636688, -0.69393390417099, 0.5783646702766418, 0.3375345766544342, -0.6921799182891846, -0.6300322413444519, 0.3402315080165863, -0.01122416090220213, -0.1913508027791977, 0.22282850742340088, 0.33708709478378296, -0.1283167451620102, -0.03396109864115715, -0.2511352598667145, -0.3799290955066681, 1.1941190958023071, 0.24985837936401367, -0.47592052817344666, -0.2906210124492645, 0.18223290145397186, 0.7210553288459778, -0.06906004250049591, 0.4295268654823303, 0.6929385662078857, 0.5961090326309204, 0.1468265801668167, -0.9186499714851379, 0.12211983650922775, -0.4003673791885376, 0.10862444341182709, 0.18133315443992615, -0.4235815405845642, 0.6987643241882324, -0.4578183889389038, -0.2863297462463379, -0.1344427466392517, 0.8129170536994934, 0.15717780590057373, 0.5113850831985474, 0.2840350568294525, 0.471834272146225, 1.1312795877456665, -0.2075902372598648, 1.0975825786590576, -0.07747212797403336, 0.28475165367126465, 1.1235564947128296, -0.28810399770736694, 0.18947814404964447, 0.6369918584823608, 0.07989737391471863, 0.22790201008319855, 0.6818881034851074, -0.2231173813343048, 0.8427866697311401, 0.15066473186016083, -0.31387338042259216, 0.1540030539035797, 0.11895495653152466, -0.7182919383049011, 0.16020698845386505, 0.17340800166130066, -0.5004256963729858, -0.2893018424510956, 0.14341942965984344, 0.05893022567033768, 0.2953110635280609, -0.21013176441192627, 1.1693605184555054, 0.07517822831869125, -0.7036490440368652, 0.5209000706672668, -0.18055741488933563, 0.7535290718078613, -0.3172413110733032, -0.12301451712846756, -0.3126649558544159, 0.23708906769752502, -0.31132015585899353, -0.182048499584198, 0.8086760640144348, 0.0936564952135086, -0.3260725736618042, -0.12424857169389725, 0.5735489726066589, -0.535250186920166, -0.5793099403381348, 0.052103154361248016, 0.2195911407470703, 0.20251841843128204, -0.41531258821487427, -0.16207914054393768, -0.15805689990520477, 0.06901609897613525, -0.29908543825149536, 0.10381288826465607, 0.6462640166282654, -0.0075400955975055695, 0.30437323451042175, 0.5193398594856262, 0.3460027873516083, -0.253016859292984, 0.22525647282600403, 0.9421982765197754, -0.911977231502533, -0.776152491569519, -1.2690964937210083, 0.488815039396286, -0.4614684283733368, -0.2500564157962799, 0.826937735080719, 0.842689037322998, 0.5949978828430176, -0.3090497553348541, 1.2018060684204102, 0.0331932008266449, 0.31885698437690735, -0.72543865442276, 1.1329987049102783, -0.37147560715675354, 0.2379593551158905, -0.5386568903923035, -1.1472270488739014, -0.3202688992023468, 0.7900577783584595, -0.12776347994804382, 0.20179657638072968, 1.1128331422805786, 0.8487893342971802, 0.1835518628358841, 0.27441027760505676, 0.2003934681415558, 0.12641195952892303, 0.38539013266563416, 0.37480124831199646, 0.8352588415145874, -0.5427056550979614, 0.39090877771377563, -0.34621530771255493, -0.2274360954761505, -0.1318943202495575, -0.7596146464347839, -1.3292232751846313, -0.5071601867675781, -0.45120030641555786, -0.4667850136756897, 0.11117716878652573, 0.6611177921295166, 0.342468798160553, -0.8386284708976746, -0.08471393585205078, -0.17121627926826477, -0.07140323519706726, -0.38943448662757874, -0.3143647015094757, 0.5249648094177246, -0.4661341607570648, -0.8730586171150208, -0.029809262603521347, 0.38461917638778687, 0.5409284830093384, -0.15690189599990845, 0.14015372097492218, 0.2739507257938385, -0.0898672491312027, 0.5960595011711121, -0.48035308718681335, -0.6110918521881104, -0.19622604548931122, 0.00113209942355752, -0.0002150698855984956, 0.13411974906921387, 0.9207828044891357, -0.6101676225662231, 0.26019537448883057, 0.4297885000705719, 0.34287676215171814, 0.7052245140075684, 0.1942846179008484, 0.8205254673957825, -0.36825165152549744, 0.297987699508667, 0.3745346665382385, 0.018853891640901566, 0.13663871586322784, -0.7869520783424377, 0.5788414478302002, 0.27170300483703613, -0.43173494935035706, -0.8589593172073364, -0.2385873794555664, -1.0256696939468384, -0.30420640110969543, 0.7891690135002136, 0.25689178705215454, 0.05333835631608963, -0.29811009764671326, -0.5447019338607788, 0.2441750019788742, -0.5233351588249207, 1.637774109840393, 0.8242846131324768, -0.244686096906662, -0.06894785910844803, -0.42131736874580383, 0.9739990234375, 0.25800901651382446, -1.04761803150177, 0.17715996503829956, 0.6129610538482666, -0.03518766537308693, 0.22081100940704346, 0.66559237241745, -0.2820991277694702, 0.1445349007844925, 0.24721457064151764, -0.0782623142004013, -0.29339146614074707, -0.536864161491394, -0.2957504689693451, 0.45857176184654236, -0.3128952383995056, -0.007346487604081631 ]
http://arxiv.org/abs/2405.03998v2
http://arxiv.org/pdf/2405.03998v2
Sketch Then Generate: Providing Incremental User Feedback and Guiding LLM Code Generation through Language-Oriented Code Sketches
2024-05-07T04:21:07
2024-05-10T22:11:24
Chen Zhu-Tian, Zeyu Xiong, Xiaoshuo Yao, Elena Glassman
cs.HC
cs.HC, cs.CL
Crafting effective prompts for code generation or editing with Large Language Models (LLMs) is not an easy task. Particularly, the absence of immediate, stable feedback during prompt crafting hinders effective interaction, as users are left to mentally imagine possible outcomes until the code is generated. In response, we introduce Language-Oriented Code Sketching, an interactive approach that provides instant, incremental feedback in the form of code sketches (i.e., incomplete code outlines) during prompt crafting. This approach converts a prompt into a code sketch by leveraging the inherent linguistic structures within the prompt and applying classic natural language processing techniques. The sketch then serves as an intermediate placeholder that not only previews the intended code structure but also guides the LLM towards the desired code, thereby enhancing human-LLM interaction. We conclude by discussing the approach's applicability and future plans.
[ -0.32514530420303345, -0.7580049633979797, 0.6309139132499695, 0.7915092706680298, -0.14860965311527252, 0.4689035415649414, -0.11467432230710983, -0.4987087845802307, 0.6082814931869507, 0.5885872840881348, -0.6958454251289368, -0.4778663218021393, 0.016563020646572113, 0.1260543167591095, -0.3067229390144348, 0.7823446393013, -0.10934541374444962, -0.09556831419467926, -0.14335507154464722, 0.2577532231807709, -0.48001572489738464, -0.6360975503921509, -1.0619298219680786, -0.29124048352241516, 0.5794761776924133, 0.57069331407547, 0.5508199334144592, 0.49089646339416504, 0.12594428658485413, 0.33214280009269714, 0.04513152688741684, 0.03686489537358284, -0.28358232975006104, 0.1543189287185669, 0.19589881598949432, -0.5731344819068909, -0.527140200138092, -0.011522123590111732, 0.16985540091991425, 0.7225348353385925, -0.03852434828877449, 0.006361463572829962, -0.05387801304459572, 0.5856642723083496, -0.08491458743810654, 0.1964040845632553, -0.46924203634262085, 0.14451925456523895, -0.29043200612068176, -0.5637906193733215, -0.45292556285858154, -0.7818881273269653, -0.23362553119659424, -0.37922894954681396, 0.08395759761333466, -0.08216603845357895, 0.45683273673057556, -0.11863793432712555, 0.07144467532634735, -0.5500873923301697, -0.5187487006187439, 0.33298712968826294, -0.838574230670929, -0.1755642145872116, 0.19427476823329926, 0.22640414535999298, -0.45760205388069153, -0.9983649849891663, -0.8381189107894897, -0.5628839731216431, 0.04630954936146736, 0.031055886298418045, 0.4036896526813507, 0.19915030896663666, 0.49389779567718506, 0.15686757862567902, -0.20515020191669464, 0.006328709423542023, -0.22380441427230835, -0.23135235905647278, 0.7615011930465698, 0.24258272349834442, 0.7647905945777893, -0.20365606248378754, -0.38551804423332214, 0.18939447402954102, -1.1828783750534058, 0.4183712601661682, 0.7157799005508423, 0.3179713189601898, -0.1726737767457962, 0.821034848690033, -0.08911930024623871, 0.6410250067710876, 0.10628723353147507, -0.1906764954328537, -0.0014083490241318941, -0.27683037519454956, 0.052318453788757324, 0.04619007930159569, 0.5111053586006165, 0.4399023652076721, 0.20701061189174652, 0.13783293962478638, -0.3612199127674103, -0.1542021781206131, 0.2880506217479706, -0.5943359136581421, -0.49248674511909485, 0.2787967324256897, -0.5837403535842896, -0.5386741161346436, 0.1846279352903366, -0.6216074824333191, -0.4989953637123108, -0.4745256006717682, 0.10401850193738937, -0.0548015721142292, -0.24886201322078705, -0.07204664498567581, -0.2830595076084137, 0.17501290142536163, 0.7181857824325562, -0.7759603261947632, 0.0308772474527359, 0.44290927052497864, 0.8014035224914551, -0.18818168342113495, -0.25836387276649475, -0.705755889415741, 0.12551456689834595, -0.4957959055900574, 0.8081983327865601, -0.5675010681152344, -0.7374738454818726, 0.0951949954032898, -0.11811134219169617, 0.3349860906600952, -0.5769670605659485, 0.15227635204792023, -0.47022268176078796, 0.05396006628870964, -0.10884727537631989, -0.34943318367004395, 0.23367345333099365, 0.05800989642739296, -0.6651992201805115, 1.2336246967315674, 0.3297947347164154, -0.5958571434020996, 0.2741566300392151, -0.741255521774292, -0.31345877051353455, 0.5077047348022461, -0.5642417669296265, -0.10413999855518341, 0.2288290560245514, 0.04187231883406639, 0.40363261103630066, 0.11519928276538849, 0.264422208070755, -0.36182329058647156, -0.32968735694885254, 0.3407221734523773, 0.027970287948846817, 0.7768721580505371, 0.2946806848049164, -0.41763949394226074, 0.458237886428833, -0.690068781375885, 0.32653194665908813, 0.20669712126255035, -0.5992401838302612, 0.10675594955682755, -0.026235409080982208, 0.2600522041320801, 0.2901325821876526, 0.12215666472911835, -0.36359819769859314, 0.5982142686843872, -0.44408389925956726, 0.43297967314720154, 0.841003954410553, 0.0636008158326149, 0.4173413813114166, -0.4267711043357849, 0.8467136025428772, -0.3728456497192383, -0.174747496843338, -0.6930385828018188, -0.5928637385368347, -0.8685598373413086, -0.0836392194032669, 0.01913508214056492, 0.45489129424095154, -1.280821681022644, 0.27782130241394043, 0.06611756235361099, -0.3237112760543823, -0.35689982771873474, 0.42351192235946655, 0.44841185212135315, 0.163793683052063, -0.170084610581398, -0.5575314164161682, -0.5671984553337097, -0.4916854500770569, -0.3093373775482178, -0.41444990038871765, -0.15417036414146423, -0.06541638821363449, 0.11941046267747879, -0.04637949541211128, 0.9671706557273865, -0.27837833762168884, 0.08469667285680771, -0.8806320428848267, 0.18403925001621246, 0.11421903222799301, 0.5822860598564148, 0.5527577996253967, -0.41035088896751404, -0.8150033950805664, 0.07000329345464706, -0.5638395547866821, -0.4603535830974579, -0.34005165100097656, -0.06678555905818939, 0.35085996985435486, 0.9163937568664551, -0.47218751907348633, 0.5846229195594788, 0.2981795072555542, -0.2584393620491028, 0.5594073534011841, -0.17464762926101685, 0.051512978971004486, -0.8066627383232117, 0.17194481194019318, -0.44100427627563477, -0.3232651948928833, -0.5572429299354553, 0.26081979274749756, -0.09347259998321533, -0.5396866798400879, -0.33058345317840576, 0.8829185962677002, -0.6804661154747009, 0.016052350401878357, -0.5688329339027405, 0.003983934409916401, 0.034384626895189285, 0.502196729183197, 0.19274768233299255, 0.825526237487793, 0.2502354383468628, -0.3891284167766571, 0.24595926702022552, -0.19796209037303925, -0.4026735723018646, 0.38041311502456665, -0.6773756146430969, 0.5459945797920227, 0.09922008961439133, 0.15417692065238953, -1.0759646892547607, -0.4165225923061371, 0.14177660644054413, -0.4367140233516693, 0.473057359457016, -0.1772909015417099, -0.5512829422950745, -0.5262858867645264, -0.7230377793312073, 0.17317309975624084, 0.5525997281074524, -0.5754231810569763, 0.4128667414188385, 0.38017958402633667, -0.7848696112632751, -0.17990908026695251, -0.3185257315635681, 0.26941579580307007, 0.04877869039773941, -0.7571755647659302, 0.1729145348072052, -0.37143173813819885, -0.39218801259994507, -0.19356347620487213, 0.09181991219520569, 0.04468485713005066, 0.005521755665540695, 0.2639303505420685, 0.2839803993701935, -0.04339710250496864, -0.14505477249622345, 0.08161742240190506, -0.3668646216392517, 0.1484062224626541, -0.10591690987348557, 0.6905691623687744, 0.2296372950077057, -0.6410858631134033, -0.3675336241722107, 0.49774169921875, 0.3530220687389374, 0.1014612466096878, 0.04640968516469002, 0.3520420789718628, -0.2053084820508957, -0.399209588766098, -0.5400123000144958, 0.051063090562820435, -0.553912878036499, 0.15541483461856842, -0.5384136438369751, -0.8180744647979736, 0.5616647005081177, -0.34820935130119324, 0.25296708941459656, 0.04251242056488991, 0.7329537272453308, -0.2310868352651596, 0.9525262117385864, 1.150720477104187, 0.22470854222774506, 0.7033137083053589, -0.15488754212856293, 0.348894327878952, -0.5906348824501038, -0.3553917407989502, -0.4979391098022461, -0.18881943821907043, -0.14600326120853424, -0.5406522750854492, 0.14650869369506836, 0.44026440382003784, 0.13793985545635223, 0.11941759288311005, -0.3403421938419342, 0.7680659890174866, 0.6418523192405701, 0.06099742650985718, 0.17571833729743958, 0.02437196671962738, -0.2453881949186325, -0.10772688686847687, -0.633608877658844, -0.684059202671051, 0.8035561442375183, 0.1826486587524414, 0.9009596109390259, -0.22235307097434998, 0.8026626110076904, 0.34260815382003784, 0.6254709362983704, -0.7235486507415771, 0.7132591605186462, 0.3557640612125397, -0.12920595705509186, -0.24545136094093323, -0.1614150106906891, -0.6042680740356445, -0.10869105905294418, 0.10119058191776276, -0.6270808577537537, -0.03812281787395477, 0.33370429277420044, -0.20426134765148163, 0.28384438157081604, -0.9095338582992554, 0.6584494709968567, -0.17451362311840057, -0.31574228405952454, 0.0815415158867836, -0.6451323628425598, 0.15772545337677002, 0.044596415013074875, 0.23141202330589294, 0.0067438650876283646, 0.01830677129328251, 0.2788969874382019, -0.8722400069236755, 1.0604934692382812, -0.48539578914642334, -0.35557371377944946, 0.6177582144737244, 0.4189485013484955, 0.5192102789878845, 0.12801574170589447, -0.14070221781730652, -0.21006177365779877, -0.3768329918384552, -0.27376940846443176, -0.5836740732192993, 0.6524022817611694, -0.5054349303245544, -0.5993885397911072, 0.03445175290107727, -0.4834047555923462, -0.008382068946957588, 0.1404920369386673, 0.23471137881278992, 0.7061718702316284, 0.010649862699210644, -0.40579211711883545, 0.2637138366699219, -0.4390448331832886, 0.6885905265808105, 0.18986055254936218, -0.6949040293693542, -0.3843270540237427, 0.8118433356285095, -0.26052218675613403, 0.33756932616233826, 0.1801004707813263, -0.11525401473045349, -0.2735234498977661, -0.5131334662437439, -0.655124843120575, 0.18119779229164124, -0.9936507940292358, -0.1260605752468109, -0.48798128962516785, -0.219559907913208, -0.1556471437215805, -0.7879138588905334, -0.10280372947454453, -0.5881878137588501, 0.011711979284882545, -0.06764869391918182, 0.415971964597702, 1.0690441131591797, 0.0751848816871643, 0.3564170300960541, -0.6952127814292908, 0.2996863126754761, 0.24753673374652863, 0.4300977885723114, 0.10826398432254791, -0.05781528353691101, -0.21733734011650085, -0.14214988052845, -0.24352101981639862, -0.6585888266563416, 0.38615307211875916, -0.04776135832071304, 0.4914769232273102, 0.2160743772983551, -0.2144256979227066, 0.8909980654716492, -0.683790385723114, 1.0154716968536377, 0.4291895925998688, -1.0625494718551636, 0.8216763138771057, -0.2603367865085602, 0.3433896005153656, 0.40997061133384705, 0.007947786711156368, -0.5791773796081543, -0.81485915184021, -0.34045669436454773, -0.9511826038360596, 0.7601255178451538, 0.06746986508369446, 0.4030377268791199, -0.2781972885131836, 0.6168825030326843, 0.22291751205921173, 0.3916984498500824, -0.9367391467094421, -0.24256157875061035, -0.19335995614528656, -0.06425097584724426, 0.22909891605377197, -0.3731469511985779, -0.02336524799466133, -0.20154668390750885, 0.347316175699234, -0.3242782652378082, 0.3998810648918152, 0.15285181999206543, -0.04014258086681366, -0.34142082929611206, 0.18162865936756134, 0.5582106709480286, 0.9238379001617432, 0.08367152512073517, 0.04904526472091675, -0.2092389315366745, -0.47640517354011536, 0.11956040561199188, -0.22970253229141235, -0.21504467725753784, 0.09665900468826294, 0.31132930517196655, 0.6422386169433594, 0.09494572132825851, -0.8371174931526184, 0.47387272119522095, -0.06560219824314117, -0.07108906656503677, -0.3807298243045807, 0.23288016021251678, 0.12879382073879242, 0.12278075516223907, 0.28370359539985657, 0.0615122951567173, -0.11954604089260101, -0.6641578674316406, 0.1103450283408165, 0.27745765447616577, -0.17520155012607574, -0.5391692519187927, 0.8510844707489014, 0.5384021401405334, -0.6858792901039124, 0.5022227168083191, -0.34730565547943115, -0.4832734763622284, 0.8414728045463562, 0.7288867235183716, 1.2216159105300903, 0.027291538193821907, 0.24998250603675842, 0.29246070981025696, 0.09324073791503906, 0.13087542355060577, 0.7474462985992432, -0.25301307439804077, -0.33454835414886475, -0.7988198399543762, -0.4226597547531128, -0.48878318071365356, -0.1366458684206009, -0.45407548546791077, 0.6679003238677979, -0.5925851464271545, 0.07087011635303497, -0.3278948664665222, -0.21341443061828613, -0.46359166502952576, -0.18412914872169495, 0.13765427470207214, 1.012173056602478, -0.42245423793792725, 0.9932094812393188, 1.0657830238342285, -0.510664165019989, -0.9526293277740479, 0.14715728163719177, 0.08619273453950882, -0.89821857213974, 0.8557409048080444, 0.43262979388237, -0.18687236309051514, 0.0837293490767479, -0.7708228826522827, -0.5417348742485046, 0.9293966889381409, 0.3914141356945038, -0.27898260951042175, 0.02577759139239788, 0.005435193423181772, 0.5005333423614502, -0.3464512526988983, 0.2951940596103668, 0.14854060113430023, 0.22990170121192932, 0.3171968162059784, -0.9240158200263977, 0.13636808097362518, -0.8158413171768188, 0.38676556944847107, 0.2040388286113739, -0.3511979281902313, 0.8041611909866333, -0.4885180592536926, -0.4134710133075714, 0.42070502042770386, 0.5528871417045593, 0.3381841480731964, 0.22031748294830322, 0.44902026653289795, 0.35981783270835876, 0.5305724740028381, -0.009590886533260345, 1.1730380058288574, -0.48307526111602783, -0.10516970604658127, 1.0143040418624878, -0.4494519531726837, 0.689816951751709, 0.5713319182395935, -0.24657250940799713, 0.5948873162269592, 0.47686949372291565, 0.4707825183868408, 0.3523520231246948, 0.3634715676307678, -0.33539488911628723, 0.019504044204950333, 0.012714915908873081, -0.43590274453163147, -0.05628499388694763, 0.24234166741371155, 0.17039087414741516, -0.12721508741378784, -0.09378677606582642, 0.10423652827739716, 0.19936013221740723, -0.36684176325798035, 0.9407617449760437, 0.13293427228927612, -0.5778748393058777, 0.28791022300720215, 0.10079806298017502, 0.6065049171447754, -0.8277649879455566, -0.5330570340156555, -0.5081656575202942, -0.18262915313243866, -0.35494738817214966, -0.8841517567634583, 0.36908602714538574, 0.19179190695285797, -0.1200760155916214, -0.6014435291290283, 0.76405930519104, -0.5213436484336853, -0.16843503713607788, 0.13897064328193665, 0.6250145435333252, 0.16419857740402222, 0.1446070522069931, -0.5394026637077332, 0.22473353147506714, 0.1630346179008484, -0.3536567986011505, 0.35316574573516846, 0.7326783537864685, -0.08665386587381363, 0.7373267412185669, 0.907795250415802, 0.3111916184425354, 0.21109607815742493, 0.3730315864086151, 1.0490670204162598, -0.8119451999664307, -0.7465357184410095, -0.7819811701774597, 0.7968970537185669, -0.008658196777105331, -0.04302491992712021, 0.7585458755493164, 0.29790619015693665, 1.0342319011688232, -0.3439118266105652, 0.9354341626167297, -0.45972740650177, 0.3135419487953186, -0.8232388496398926, 0.620731770992279, -0.2953791320323944, 0.5606301426887512, -0.3766801357269287, -0.9736139178276062, -0.3776434659957886, 0.6292436718940735, 0.12451403588056564, 0.08768077939748764, 0.6721883416175842, 0.7586140632629395, 0.24056388437747955, -0.21273909509181976, 0.11272844672203064, -0.17662398517131805, 0.5164124965667725, 0.180380180478096, 1.198489785194397, 0.1873815804719925, 0.274687796831131, -0.42179763317108154, -0.14960496127605438, -0.06302793323993683, -1.070164680480957, -1.039035677909851, -0.31930312514305115, -0.20549210906028748, -0.3781944215297699, -0.3604094088077545, 1.211013674736023, 0.5113846659660339, -0.6432445049285889, -0.668168842792511, -0.39333924651145935, 0.17514847218990326, 0.013055657967925072, -0.3365311324596405, 0.2339463084936142, -0.837806224822998, -0.7335646748542786, 0.19623318314552307, 0.6726328134536743, 0.12948474287986755, -0.4755092263221741, -0.2078632265329361, 0.35367709398269653, -0.07936616241931915, 0.8334464430809021, 0.4015462398529053, -0.6850008964538574, -0.13777905702590942, -0.07114878296852112, -0.043353863060474396, 0.15537312626838684, 1.4052890539169312, -0.6845586895942688, 0.8138045072555542, 0.3841038644313812, 0.5998547673225403, 0.13197769224643707, 0.004784389864653349, 0.8484451174736023, -1.02315092086792, 0.5071064829826355, 0.07648561149835587, 0.2528563141822815, 0.21758727729320526, -0.3354058265686035, 0.4933067560195923, 0.08247053623199463, -0.3626219928264618, -0.8516153693199158, 0.2973763942718506, -0.9189403057098389, -0.07298462837934494, 0.9553653001785278, -0.2460828423500061, 0.00229984731413424, -0.3699702322483063, -0.8577015399932861, -0.2477695196866989, -0.38125696778297424, 0.7582735419273376, 0.5417723655700684, -0.43222588300704956, -0.14070622622966766, -0.4763046205043793, 0.727501630783081, 0.0232553668320179, -1.1460669040679932, 0.012588749639689922, 0.5040979981422424, 0.01814289577305317, 0.09539750963449478, 1.429870843887329, -0.20553545653820038, 0.4174615144729614, 0.07412659376859665, 0.4688744843006134, -0.05307069048285484, -0.46276360750198364, -0.33288031816482544, 0.0760870948433876, 0.7096006870269775, 0.36235514283180237 ]
http://arxiv.org/abs/2405.03960v1
http://arxiv.org/pdf/2405.03960v1
ESIHGNN: Event-State Interactions Infused Heterogeneous Graph Neural Network for Conversational Emotion Recognition
2024-05-07T02:46:11
2024-05-07T02:46:11
Xupeng Zha, Huan Zhao, Zixing Zhang
cs.CL
cs.CL
Conversational Emotion Recognition (CER) aims to predict the emotion expressed by an utterance (referred to as an ``event'') during a conversation. Existing graph-based methods mainly focus on event interactions to comprehend the conversational context, while overlooking the direct influence of the speaker's emotional state on the events. In addition, real-time modeling of the conversation is crucial for real-world applications but is rarely considered. Toward this end, we propose a novel graph-based approach, namely Event-State Interactions infused Heterogeneous Graph Neural Network (ESIHGNN), which incorporates the speaker's emotional state and constructs a heterogeneous event-state interaction graph to model the conversation. Specifically, a heterogeneous directed acyclic graph neural network is employed to dynamically update and enhance the representations of events and emotional states at each turn, thereby improving conversational coherence and consistency. Furthermore, to further improve the performance of CER, we enrich the graph's edges with external knowledge. Experimental results on four publicly available CER datasets show the superiority of our approach and the effectiveness of the introduced heterogeneous event-state interaction graph.
[ -0.4049004316329956, -1.0040191411972046, 0.3834259808063507, 0.14642424881458282, -0.19778484106063843, 0.20525316894054413, -0.33383598923683167, -0.6744704246520996, 0.6254698038101196, -0.10097698867321014, -0.5712525844573975, -0.4995262622833252, -0.34631747007369995, 0.03477858006954193, -0.050962064415216446, 0.6959023475646973, 0.04591616988182068, -0.15600383281707764, -0.14748239517211914, -0.24043859541416168, -0.010732118040323257, -0.6268091201782227, -0.6913842558860779, -0.7623159885406494, 0.5825390815734863, 0.2530929446220398, 0.44759589433670044, 0.24031226336956024, 0.006743485573679209, 0.39761805534362793, -0.3551674485206604, 0.1818085014820099, -0.6545705795288086, 0.13872110843658447, 0.42133188247680664, -0.01990470103919506, -0.34290167689323425, -0.24350057542324066, 0.3571840226650238, 0.33709970116615295, -0.37354978919029236, -0.3376481831073761, 0.07643674314022064, 0.1977473795413971, -0.675544261932373, 0.5976279377937317, -0.4984966814517975, 0.7339493632316589, 0.09970446676015854, -0.14096076786518097, -0.402960866689682, -0.5525235533714294, 0.24568694829940796, -0.4459877610206604, -0.029651368036866188, -0.11878474801778793, 0.8850038051605225, -0.03859345614910126, -0.5336030125617981, -0.05982711911201477, -0.7071648240089417, 0.1942490041255951, -0.6173615455627441, 0.59321528673172, 0.054845888167619705, 0.12365788221359253, 0.07267846167087555, -0.7264556884765625, -0.8058386445045471, -0.08778946101665497, -0.057956546545028687, 0.4728514850139618, -0.617183268070221, 0.4323039650917053, 0.2301803082227707, 0.054053355008363724, -0.3098151981830597, 0.01833723857998848, -0.00076440314296633, -0.37398260831832886, 0.42951637506484985, 0.465364009141922, 0.4716789722442627, -0.2861703932285309, -0.18508988618850708, 0.0021315282210707664, -0.25731170177459717, -0.0014085572911426425, 0.41069740056991577, 0.47732678055763245, -0.2224019467830658, 0.45663678646087646, -0.35288071632385254, 0.37451109290122986, 0.34849104285240173, 0.1832417994737625, 0.34121426939964294, 0.1252235621213913, -0.14269766211509705, 0.6317801475524902, 0.9123820662498474, 0.5192425847053528, 0.005147815216332674, 0.004550442565232515, 0.27870437502861023, 0.3489493429660797, -0.049043744802474976, -0.980624794960022, -0.39990073442459106, 0.25964680314064026, -0.2101893126964569, -0.25379258394241333, -0.2649945318698883, -1.0287383794784546, -0.5002544522285461, -0.2290896326303482, 0.016252294182777405, -0.31084102392196655, -0.3499044179916382, -0.22646284103393555, -0.0689215287566185, -0.08152888715267181, 0.5156097412109375, -0.5317977070808411, 0.43774351477622986, 0.5334510207176208, 0.7532347440719604, 0.12778054177761078, -0.14244794845581055, -0.49997442960739136, 0.0078642088919878, 0.03145173192024231, 0.572585940361023, -0.6815745234489441, -0.5629498362541199, 0.2848675549030304, 0.03186369687318802, -0.094698466360569, -0.1105000302195549, 0.33832740783691406, -0.5023267269134521, 0.06070474162697792, -0.12232955545186996, -0.5931248664855957, -0.13299082219600677, 0.47504985332489014, -0.5698198080062866, 0.8560616970062256, -0.3788716793060303, -0.8651672601699829, -0.1652841418981552, -0.7317336201667786, -0.6163144111633301, 0.25101345777511597, -0.3106253445148468, -0.5055420994758606, -0.004859486129134893, 0.049067795276641846, 0.3880947530269623, 0.32637152075767517, 0.008244109340012074, -0.6439226269721985, -0.23426364362239838, 0.308097243309021, -0.4865061938762665, 0.26060548424720764, 0.29542484879493713, -0.24615688621997833, 0.01600300520658493, -0.8456307053565979, 0.14023511111736298, 0.054725538939237595, -0.3198859989643097, -0.13869012892246246, 0.024104109033942223, 0.2063024938106537, 0.17943075299263, 0.17220020294189453, -0.9606866240501404, -0.35894501209259033, -0.2856127619743347, 0.3955889344215393, 0.6126090288162231, 0.11785365641117096, 0.26558512449264526, 0.2966347336769104, 0.2853226959705353, 0.057076092809438705, 0.029439222067594528, -0.01564563252031803, -0.5148545503616333, -0.7587666511535645, 0.10475010424852371, -0.16667529940605164, 0.6813923716545105, -0.4203979969024658, 0.36987483501434326, -0.18735986948013306, -0.5382316708564758, -0.18925900757312775, -0.5291135311126709, 0.4272741675376892, 0.8877502679824829, 0.19996201992034912, -0.11229893565177917, -0.5750240683555603, -0.44098085165023804, -0.24520666897296906, -0.25486382842063904, 0.36315426230430603, 0.9116312265396118, 0.04347687214612961, -0.22910580039024353, 0.7329097390174866, -0.6521410942077637, 0.04632063955068588, -0.14348898828029633, 0.5352859497070312, -0.06117498129606247, 0.3847837448120117, 0.0023400539066642523, -0.792783260345459, -0.6712357997894287, 0.4746451675891876, -0.6830762028694153, -0.05301865562796593, 0.19575661420822144, 0.1603260189294815, 0.283744215965271, 0.45715826749801636, -0.1853783279657364, 0.729760468006134, 0.5721855759620667, -0.41677403450012207, 0.10310875624418259, -0.29073137044906616, 0.24527597427368164, -0.78402179479599, -0.2585862874984741, 0.07639244943857193, -0.19938123226165771, -0.8499855995178223, -0.6702216863632202, 0.08248904347419739, -0.6644100546836853, -0.6149803996086121, 0.3622877299785614, -0.3317004144191742, -0.20978564023971558, -0.1675553023815155, 0.22947868704795837, 0.10479362308979034, 0.8111750483512878, 0.2929809093475342, 0.050787217915058136, 0.25170090794563293, -0.4378640651702881, 0.7312527894973755, 0.5283050537109375, -0.03792750835418701, 0.940762996673584, -0.592128336429596, 0.5069634318351746, -0.1563185453414917, 0.5488787293434143, -0.9072322845458984, -0.1226004883646965, 0.2492881715297699, -0.3312569856643677, 0.2179611176252365, -0.30940407514572144, -0.05358453094959259, -0.3231161832809448, 0.2338714599609375, 0.2693694531917572, 0.33013680577278137, -0.5556926131248474, 1.5092445611953735, 0.1356942355632782, -0.4169692397117615, -0.3729967772960663, -0.7479480504989624, 0.18962247669696808, 0.008498424664139748, -0.6607663035392761, 0.31173285841941833, 0.04153714329004288, 0.16087494790554047, 0.2707546353340149, 0.11132551729679108, 0.21436256170272827, -0.08367549628019333, 0.6176632642745972, 0.28737330436706543, 0.016161682084202766, 0.10221634060144424, 0.12882331013679504, -0.14094248414039612, 0.05865515395998955, 0.2288222759962082, 0.6711354851722717, -0.39104190468788147, -0.4841976761817932, -1.079475998878479, 0.3883616328239441, 0.3369690477848053, -0.31059300899505615, 0.46472734212875366, 0.7110637426376343, -0.588027834892273, 0.14586606621742249, -0.2718328535556793, -0.15623582899570465, -0.45062002539634705, 0.8218693733215332, -0.551479160785675, -0.7834649682044983, 0.7421164512634277, -0.441380113363266, -0.49995023012161255, 0.1965080201625824, 0.52116858959198, -0.18881744146347046, 1.3753358125686646, 0.1892184615135193, -0.09544623643159866, 0.9065970778465271, -0.04833404719829559, 0.4033218324184418, -1.010055422782898, -0.4788856506347656, -0.34771856665611267, -0.44716715812683105, -0.5572677850723267, -0.10972508043050766, 0.42812758684158325, -0.466460645198822, -0.460473895072937, 0.07852896302938461, -0.20870646834373474, 0.40225109457969666, 0.001344954245723784, 0.3638702929019928, 0.07364938408136368, -0.041305482387542725, -0.04146425426006317, -0.053625572472810745, -0.7970907688140869, 0.022968770936131477, 0.39653927087783813, 0.3737812936306, 0.6981260776519775, -0.10770077258348465, 0.7245633006095886, 0.144336998462677, 0.34504833817481995, -0.7601771354675293, 0.6049765944480896, 0.01187941711395979, -0.20121824741363525, -0.27306434512138367, -0.6810892224311829, -0.7315497398376465, 0.18540821969509125, -0.4331552982330322, -1.3103865385055542, 0.48829352855682373, 0.14731758832931519, -0.24844741821289062, 0.39662015438079834, -0.626393735408783, 0.7859082221984863, -0.11662779748439789, -0.18896658718585968, -0.16714909672737122, -0.6569699048995972, -0.22168371081352234, 0.5007081031799316, 0.04395919293165207, -0.3021329641342163, 0.4757206439971924, 0.6804352402687073, -0.5226343870162964, 0.9303353428840637, -0.30450955033302307, 0.05052986368536949, 0.31855812668800354, 0.07311011850833893, 1.1536121368408203, -0.07701339572668076, -0.23978006839752197, 0.07426613569259644, -0.29572948813438416, -0.08887781947851181, -0.6781728863716125, 0.6883600354194641, -0.8199906349182129, -0.07781952619552612, -0.22710005939006805, -0.4835664629936218, -0.3913361430168152, -0.020480962470173836, 0.3463330864906311, 0.8763304352760315, -0.8622650504112244, -0.07879512757062912, 0.5445554256439209, -0.22960878908634186, 0.2654329240322113, 0.27576637268066406, -0.10574188828468323, -0.6778481006622314, 1.0239408016204834, 0.08608519285917282, 0.24375629425048828, 0.17047877609729767, 0.24816389381885529, -0.22624225914478302, 0.07233817875385284, -0.26252949237823486, 0.02406151033937931, -0.9019899368286133, -0.1559910625219345, -1.1034138202667236, -0.06715936958789825, -0.2715452313423157, -0.2353777289390564, -0.4616377651691437, -0.18147048354148865, -0.399248331785202, -0.3857194781303406, 0.6543141603469849, 0.46001338958740234, -0.14515471458435059, 0.28744545578956604, -0.7729081511497498, 0.0719427615404129, 0.5444493293762207, 0.377248078584671, 0.09189774841070175, -0.1462153196334839, -0.12267530709505081, 0.13848327100276947, -0.014897515065968037, -0.934342086315155, 0.2869078516960144, 0.4976317584514618, 0.21723322570323944, 0.614763617515564, 0.20194494724273682, 0.6859678626060486, -0.4788336455821991, 0.47535240650177, 0.6221888065338135, -1.1456674337387085, 0.4863872528076172, -0.1811843365430832, 0.16932357847690582, 0.29617658257484436, 0.24079720675945282, -1.0794647932052612, -0.1496274471282959, -0.8091546893119812, -0.8661004304885864, 0.8400652408599854, 0.04565318301320076, 0.3857501447200775, 0.08090545982122421, -0.006981468293815851, -0.5046777129173279, 0.0857849046587944, -0.3523653447628021, -0.23258435726165771, -0.500770092010498, -0.6499186158180237, 0.1935703307390213, -0.015132460743188858, -0.3408089578151703, -0.07627338171005249, 0.48371320962905884, -0.42341411113739014, 0.5687951445579529, 0.19866575300693512, 0.16117636859416962, -0.23336973786354065, 0.1996421366930008, 0.13557282090187073, -0.16220301389694214, -0.38818421959877014, 0.2452664077281952, 0.6141874194145203, -0.4177378714084625, -0.09977062046527863, 0.6503443121910095, 0.19381152093410492, -0.03668932244181633, -0.09979448467493057, 1.3738799095153809, 0.1661398559808731, -0.35606446862220764, 0.4314687252044678, -0.3190719187259674, 0.08022564649581909, -0.015935199335217476, -0.2258186787366867, 0.18658103048801422, 0.5775233507156372, 0.018715640529990196, -0.13619869947433472, 0.26448169350624084, -0.7831458449363708, 0.03491543233394623, 0.026115000247955322, -1.0231566429138184, -0.3442972004413605, 0.33720171451568604, 0.5198005437850952, -0.4815751314163208, 0.7497531771659851, -0.24663305282592773, -1.1689051389694214, 0.7285885810852051, 0.8577995300292969, 0.6962670087814331, -0.25046151876449585, 0.3054465651512146, 0.38942694664001465, -0.4364064037799835, 0.3784533739089966, 0.6741401553153992, -0.05236266553401947, -1.026871919631958, 0.0679699033498764, -0.2370784729719162, -0.7538119554519653, -0.39144638180732727, -0.5910921692848206, -0.10719527304172516, -0.32113322615623474, -0.2726714015007019, -0.1415795534849167, -0.059522613883018494, -0.6425293684005737, 0.5098899602890015, 0.5992166996002197, 0.34501758217811584, -0.9067538380622864, 0.3037880063056946, 0.4144100248813629, -0.13904079794883728, -0.9275931715965271, -0.37733176350593567, 0.23020385205745697, -0.5340304374694824, 0.2796262502670288, 0.036006003618240356, -0.27827611565589905, 0.1777985394001007, -0.2768474519252777, -0.40949463844299316, 1.016120433807373, 0.0933547094464302, -0.6249778866767883, 0.344015508890152, 0.08177616447210312, 0.5915612578392029, -0.40648242831230164, 0.33502763509750366, 0.14691950380802155, 0.34561946988105774, 0.42051365971565247, -0.4238823652267456, 0.041657704859972, -0.6105477213859558, 0.11460119485855103, 0.46937912702560425, -0.697096586227417, 0.5896632671356201, -0.09796983003616333, -0.4923528730869293, -0.26235175132751465, 1.034751534461975, 0.23353944718837738, 0.7695543169975281, 0.5668370723724365, 0.666563868522644, 1.1963659524917603, -0.4447309672832489, 0.9129681587219238, -0.3393077254295349, 0.4000851809978485, 1.1558774709701538, -0.7218613028526306, 0.8429303765296936, 0.14790749549865723, -0.17994818091392517, 0.7760947942733765, 0.5657253861427307, 0.14817467331886292, 0.31883034110069275, 0.28965359926223755, -0.6304407715797424, -0.1671653538942337, -0.510104238986969, -0.3246217966079712, 0.19273196160793304, 0.40465909242630005, 0.0646626204252243, 0.025245746597647667, 0.3266022205352783, 0.2832072973251343, -0.1482682079076767, -0.3269593417644501, 0.9570002555847168, 0.0016599639784544706, -0.054002899676561356, 0.10962538421154022, -0.3581814467906952, 0.5114501118659973, -0.452886700630188, 0.0081911226734519, -0.06419126689434052, -0.005655092187225819, -0.4921456575393677, -0.634638249874115, 0.13557349145412445, 0.19054725766181946, 0.32039400935173035, 0.23090629279613495, 1.0658515691757202, -0.6070622801780701, -0.3456093370914459, 0.46253451704978943, 0.23023927211761475, 0.06212291121482849, -0.0647389143705368, -0.4729273319244385, 0.3781154751777649, -0.38074079155921936, -0.3691176772117615, 0.128091499209404, 0.7773714065551758, 0.38102230429649353, 0.41092976927757263, 0.4523956775665283, -0.1171988770365715, -0.1845533847808838, 0.46905460953712463, 0.8389552235603333, -0.5331476330757141, -0.877128541469574, -0.5816482305526733, 0.48858171701431274, -0.2849639058113098, -0.15914148092269897, 0.33584797382354736, 0.3451797366142273, 0.37823882699012756, 0.36824947595596313, 0.7394896745681763, -0.0896436870098114, -0.07176370918750763, -0.20446039736270905, 0.6741007566452026, -0.4246797561645508, -0.33551475405693054, -0.5500430464744568, -0.40973880887031555, -0.02135099656879902, 0.38358938694000244, -0.4305979907512665, -0.06403912603855133, 0.35659241676330566, 0.70272296667099, -0.07701126486063004, 0.6210805177688599, 0.31622958183288574, 0.32240810990333557, 0.26843783259391785, 0.6588484644889832, 1.1990429162979126, -0.3381761610507965, 0.5323927402496338, -0.18468250334262848, -0.04437527805566788, -0.527750551700592, -0.9571120142936707, -0.3014926612377167, -0.5680782198905945, -0.6300582885742188, -0.6603078842163086, 0.19803236424922943, 1.055294156074524, 0.5375064015388489, -0.5544615983963013, 0.04812787473201752, -0.1490803211927414, -0.03311758115887642, 0.04620959237217903, -0.20357604324817657, 0.2805776000022888, 0.043359071016311646, -0.758469820022583, 0.34879446029663086, 0.30322712659835815, 0.13281774520874023, 0.4289616048336029, -0.42015379667282104, -0.10972393304109573, 0.3819650113582611, 0.4972628355026245, 0.44579043984413147, -0.24644835293293, -0.3534068465232849, -0.27430063486099243, -0.15233400464057922, 0.4280707836151123, 0.48719412088394165, -0.45854246616363525, 0.6714039444923401, 0.487390398979187, 0.7071666717529297, 0.8498088717460632, -0.07209963351488113, 0.4429066479206085, -0.5942823886871338, 0.06776005029678345, 0.3100539743900299, 0.49334385991096497, 0.4339134395122528, -0.650992214679718, 0.1681434065103531, 0.35779523849487305, -0.38522234559059143, -0.6047400236129761, 0.49561429023742676, -1.2605801820755005, 0.08705157041549683, 0.9569889307022095, -0.3358791470527649, -0.3116620182991028, 0.04269098863005638, -0.3504953682422638, 0.7272977232933044, -0.7168538570404053, 0.38316938281059265, 0.3949849307537079, -0.5376695990562439, -0.1880638152360916, 0.18716762959957123, 0.22730432450771332, 0.07812872529029846, -1.0950030088424683, 0.08005606383085251, 0.6149663329124451, -0.027998002246022224, 0.25613662600517273, 0.6685542464256287, 0.051916733384132385, 0.13047729432582855, 0.1987420618534088, 0.14289863407611847, -0.10997775197029114, -0.19596914947032928, -0.5154585242271423, 0.16583430767059326, -0.4178225100040436, -0.12884145975112915 ]
http://arxiv.org/abs/2405.03952v1
http://arxiv.org/pdf/2405.03952v1
HAFFormer: A Hierarchical Attention-Free Framework for Alzheimer's Disease Detection From Spontaneous Speech
2024-05-07T02:19:16
2024-05-07T02:19:16
Zhongren Dong, Zixing Zhang, Weixiang Xu, Jing Han, Jianjun Ou, Björn W. Schuller
cs.SD
cs.SD, cs.CL, eess.AS
Automatically detecting Alzheimer's Disease (AD) from spontaneous speech plays an important role in its early diagnosis. Recent approaches highly rely on the Transformer architectures due to its efficiency in modelling long-range context dependencies. However, the quadratic increase in computational complexity associated with self-attention and the length of audio poses a challenge when deploying such models on edge devices. In this context, we construct a novel framework, namely Hierarchical Attention-Free Transformer (HAFFormer), to better deal with long speech for AD detection. Specifically, we employ an attention-free module of Multi-Scale Depthwise Convolution to replace the self-attention and thus avoid the expensive computation, and a GELU-based Gated Linear Unit to replace the feedforward layer, aiming to automatically filter out the redundant information. Moreover, we design a hierarchical structure to force it to learn a variety of information grains, from the frame level to the dialogue level. By conducting extensive experiments on the ADReSS-M dataset, the introduced HAFFormer can achieve competitive results (82.6% accuracy) with other recent work, but with significant computational complexity and model size reduction compared to the standard Transformer. This shows the efficiency of HAFFormer in dealing with long audio for AD detection.
[ -0.37442031502723694, -0.9175388216972351, 0.37323471903800964, -0.04232601821422577, -0.1722925901412964, -0.32353532314300537, 0.049842167645692825, -0.6111707091331482, 0.35906484723091125, 0.0997859537601471, -0.536191999912262, -0.33240318298339844, -0.803194522857666, -0.228578120470047, -0.3828224539756775, 0.6445344090461731, 0.08651243150234222, -0.33506500720977783, 0.09223116934299469, -0.26977723836898804, -0.20291411876678467, 0.01845361851155758, -1.3390851020812988, -0.40298596024513245, 0.4891499876976013, 0.4729357361793518, 0.8923524618148804, 0.8382314443588257, 0.2405477911233902, 0.2691326141357422, -0.35408326983451843, 0.02800416387617588, -0.44297724962234497, 0.1485009342432022, 0.16093946993350983, 0.06768537312746048, -1.006179928779602, -0.11303237825632095, 0.504923403263092, 0.34463736414909363, -0.3171597421169281, -0.12712155282497406, 0.19826945662498474, 0.6998125314712524, -0.6512022614479065, 0.2062467634677887, -0.05095338821411133, 0.43496769666671753, -0.17207424342632294, 0.07697535306215286, -0.38145190477371216, 0.09519252926111221, 0.17464181780815125, -0.668596088886261, 0.3518421947956085, 0.16889014840126038, 0.8379274606704712, 0.46864527463912964, -0.6195021867752075, -0.2275400459766388, -0.7502343058586121, 0.48407354950904846, -0.43635955452919006, 0.4631977677345276, 0.4334329068660736, 0.5151098966598511, -0.2327945977449417, -0.6676074266433716, -0.30954718589782715, -0.09827291965484619, -0.15486349165439606, 0.19542062282562256, -0.94307941198349, 0.49632561206817627, -0.10352864861488342, 0.6697719693183899, -0.6396176815032959, 0.11787604540586472, -0.14481893181800842, -0.5937027931213379, 0.21413445472717285, -0.08580518513917923, 0.2312336564064026, -0.2370479702949524, -0.2050151377916336, 0.07721864432096481, -0.19095876812934875, -0.0812751054763794, -0.2300381064414978, -0.04186198115348816, -0.27606362104415894, 0.09471771121025085, -0.11077848821878433, 0.5959595441818237, 0.44133418798446655, -0.20879776775836945, 0.21222497522830963, 0.1705797165632248, -0.3136245310306549, 0.6095223426818848, 0.6949556469917297, -0.13809603452682495, 0.028357798233628273, -0.02654144912958145, -0.08846496790647507, 0.23418354988098145, 0.062195297330617905, -0.7773850560188293, -0.4439634084701538, 0.5039344429969788, -0.5657206177711487, -0.07865060865879059, -0.36839327216148376, -0.7619097232818604, -0.058067090809345245, 0.14416567981243134, 0.5563400387763977, -0.3113389015197754, -0.1184898167848587, 0.28673461079597473, 0.2444242388010025, 0.0598665289580822, 0.19324880838394165, -0.6940861940383911, 0.3286891281604767, 0.4033411145210266, 0.774340033531189, -0.648180365562439, 0.039881691336631775, -1.338992714881897, 0.45681798458099365, -0.21772640943527222, 0.8620068430900574, -0.18191203474998474, -0.375224232673645, -0.41889306902885437, 0.019824227318167686, -0.16818827390670776, -0.47970810532569885, 0.7906335592269897, -0.3807975947856903, 0.4152509868144989, 0.4496900737285614, -0.2787611186504364, -0.1684277057647705, -0.0052107227966189384, -0.9464883208274841, 0.8750720024108887, 0.1962236613035202, -0.6512535214424133, 0.22472639381885529, -0.7705171704292297, -0.7851975560188293, 0.3389627933502197, -0.09999524056911469, -0.631230890750885, -0.08644261211156845, 0.3995950222015381, 0.19259724020957947, -0.1576937437057495, 0.3484664559364319, -0.01126638613641262, -0.172962948679924, -0.3917562961578369, -0.6002839803695679, 0.3174629211425781, 0.43872421979904175, -0.5012550950050354, 0.4928349554538727, -0.7573244571685791, -0.26080864667892456, -0.09635414928197861, -0.26758715510368347, 0.015480049885809422, -0.014878859743475914, -0.27273276448249817, 0.22005771100521088, 0.011123617179691792, -0.5244224667549133, -0.29329004883766174, -0.38121336698532104, 0.32385843992233276, 0.5743143558502197, 0.06631864607334137, 0.5910305976867676, -0.5168749690055847, 0.6352093815803528, 0.35933879017829895, 0.34555524587631226, -0.26589682698249817, -0.5286863446235657, -0.6169666647911072, -1.0047905445098877, 0.02364693023264408, 0.6646299362182617, -0.26645201444625854, 0.6686974763870239, -0.3486061990261078, -0.09483443945646286, -0.6953133940696716, -0.07648463547229767, 0.0743621364235878, 0.6399931907653809, 0.47559577226638794, -0.24376091361045837, -0.23227888345718384, -0.8523586392402649, 0.06560923159122467, 0.1414555311203003, -0.18673229217529297, 0.49267977476119995, 0.016685957089066505, -0.5361196398735046, 0.9137624502182007, -0.6906387209892273, -1.1580157279968262, -0.06400672346353531, 0.08390776813030243, 0.10402988642454147, 0.3157517910003662, 0.04522787407040596, -0.4339349865913391, -0.0723680630326271, 0.07075215876102448, -0.6984929442405701, -0.01608467474579811, 0.23382985591888428, -0.04706031084060669, 0.21373867988586426, 0.5154027342796326, -0.8517834544181824, 0.6262328624725342, 0.5237513184547424, -0.2533053457736969, 0.12922503054141998, -0.6047001481056213, -0.014127057045698166, -0.7920198440551758, -0.03401830792427063, 0.10594653338193893, -0.25571319460868835, -0.7221853733062744, -0.41468656063079834, -0.15358926355838776, -0.40153372287750244, -0.42685240507125854, 0.6724792718887329, -0.44594261050224304, 0.28956732153892517, -0.4333110749721527, 0.11339621245861053, 0.07886318117380142, 0.4412062466144562, -0.08088728040456772, 0.40625813603401184, 0.7669447660446167, -0.5475950241088867, 0.24150030314922333, 0.087564617395401, -0.31747037172317505, 0.35607483983039856, -0.7312589883804321, 0.10390567034482956, -0.16918961703777313, 0.46969497203826904, -1.1480402946472168, -0.366670161485672, 0.4641719460487366, -0.33550482988357544, 0.2398279905319214, -0.13888975977897644, -0.29679515957832336, -0.39778977632522583, -0.05697595328092575, 0.7345627546310425, 0.52892005443573, -0.4778060019016266, 1.2196325063705444, 0.5700698494911194, -0.1632615029811859, -0.26699063181877136, -0.5887419581413269, 0.006043568719178438, -0.21910403668880463, -0.9875628352165222, 0.4540592432022095, 0.10319726914167404, 0.16072310507297516, 0.11525695770978928, -0.41025692224502563, 0.006521141622215509, -0.036368224769830704, 0.1984468549489975, -0.07795852422714233, -0.4455486536026001, 0.06508580595254898, 0.165928453207016, -0.4289914071559906, -0.15939004719257355, -0.22053833305835724, 0.37761834263801575, -0.025558028370141983, -0.31406670808792114, -0.7303176522254944, 0.5984401702880859, 0.7678304314613342, -0.4123061001300812, 0.04895168915390968, 0.5898751616477966, -0.7123469710350037, -0.3688289523124695, -0.19533945620059967, -0.20853817462921143, -0.5423718094825745, 0.22851355373859406, -0.1666378378868103, -1.1253952980041504, 0.46794140338897705, 0.1402544528245926, -0.4337809979915619, 0.2021089494228363, 0.3201884925365448, 0.24474047124385834, 1.2428480386734009, 0.6678183674812317, -0.40976956486701965, 0.29950565099716187, 0.004427919629961252, 0.43674835562705994, -0.6424640417098999, -0.14845813810825348, -0.043810758739709854, -0.1491210013628006, -0.22885636985301971, -0.22237348556518555, 0.7584676742553711, -0.26659640669822693, 0.022465933114290237, -0.1490854173898697, -0.6686995029449463, 0.21818162500858307, 0.07583513855934143, 0.1258477419614792, 0.2393835037946701, -0.04767003282904625, 0.13460059463977814, 0.15791794657707214, -0.8759883642196655, -0.18217647075653076, 0.33027637004852295, 0.45669034123420715, 0.9148638248443604, -0.006728385109454393, 0.3697628974914551, 0.6021005511283875, 0.11094410717487335, -1.1593012809753418, 0.39509356021881104, -0.06723169982433319, -0.35773009061813354, -0.4573337137699127, -0.253333181142807, -1.2848505973815918, 0.4238811433315277, 0.25269994139671326, -0.5829935669898987, 0.3437059819698334, 0.49237188696861267, -0.7574571967124939, 0.2500550150871277, -0.43013617396354675, 0.9045909643173218, -0.024454539641737938, -0.38805127143859863, -0.26555901765823364, -0.686811625957489, 0.28230881690979004, -0.04597723111510277, 0.5828080773353577, -0.15170660614967346, 0.18187321722507477, 1.0673733949661255, -0.09024369716644287, 0.5270218253135681, -0.11535456031560898, -0.514082133769989, 0.23245494067668915, 0.30608540773391724, 0.3180931806564331, 0.013308228924870491, 0.15782421827316284, -0.1933794915676117, -0.3494706153869629, -0.3292900323867798, -0.30221864581108093, 0.6672478914260864, -0.3938181400299072, -0.7851830720901489, -0.5298639535903931, -0.646086573600769, -0.035203687846660614, 0.4593672752380371, 0.12506717443466187, 0.640903890132904, -0.2273210734128952, -0.08435607701539993, 0.9578413963317871, 0.2606954872608185, 0.33911752700805664, 0.19823309779167175, -0.15187938511371613, -0.3956093490123749, 0.7275246381759644, -0.04892294853925705, -0.0036790678277611732, 0.2353999763727188, 0.34949570894241333, 0.010715652257204056, -0.1809036284685135, -0.20807060599327087, 0.26351022720336914, -0.6152153611183167, -0.0752812847495079, -0.8510928153991699, -0.2905709445476532, -0.3978036344051361, 0.034216493368148804, -0.3677002787590027, -0.23364058136940002, -0.4554104804992676, -0.03141460940241814, 0.2974264323711395, 0.5514242649078369, -0.40127891302108765, 0.6607398986816406, -0.572713315486908, 0.8323817253112793, 0.5660709142684937, 0.1891668289899826, 0.24026384949684143, -0.6471827626228333, -0.1507357954978943, 0.0731419026851654, -0.3355776071548462, -0.5881824493408203, 0.405186265707016, 0.5671804547309875, 0.5988569259643555, 0.7755200862884521, 0.07750479131937027, 0.4404490292072296, -0.3875102400779724, 0.31771230697631836, -0.12820550799369812, -0.8641852736473083, 0.5081480741500854, -0.14750249683856964, 0.6882765889167786, 0.20973564684391022, 0.3371546268463135, -0.558181881904602, -0.26216134428977966, -0.5712999701499939, -1.141585350036621, 0.8850428462028503, 0.10197681933641434, -0.24576815962791443, -0.10504243522882462, -0.010107235983014107, -0.15559010207653046, -0.2600610852241516, -0.20541055500507355, -0.4023890793323517, -0.011631820350885391, -0.11257579922676086, -0.28557971119880676, -0.2153373658657074, -0.21525026857852936, -0.3897522985935211, 0.4845016896724701, 0.12892000377178192, 0.5619969964027405, 0.3726150691509247, -0.2388962209224701, -0.4211960732936859, 0.29939302802085876, 0.35527533292770386, 0.24134406447410583, -0.2678731381893158, 0.34603697061538696, 0.10537830740213394, -0.5211257934570312, 0.23635488748550415, 0.3163524866104126, 0.204044908285141, 0.12959066033363342, 0.21750231087207794, 0.7728397250175476, 0.2168222814798355, -0.3776099681854248, 0.7206605076789856, 0.008903952315449715, -0.08157379925251007, -0.35993197560310364, 0.05888582020998001, 0.08389101922512054, -0.0752517506480217, 0.6168524026870728, 0.032822538167238235, 0.35329753160476685, -0.06673392653465271, 0.7856221795082092, 0.27310118079185486, -0.8934482336044312, -0.16961772739887238, 0.7675561308860779, 0.08763144910335541, -0.4718294143676758, 0.616353452205658, -0.12828712165355682, -0.34256044030189514, 0.5305749177932739, 0.40636828541755676, 0.7428032755851746, -0.7177653312683105, -0.025725526735186577, -0.1610027253627777, 0.008693432435393333, -0.029808668419718742, -0.05050770938396454, -0.3742530643939972, -0.5424360632896423, -0.2785898745059967, -0.24538254737854004, -0.12224392592906952, 0.4231010973453522, -0.7137183547019958, 0.24397259950637817, -0.11603105068206787, -0.1532144844532013, 0.2961806356906891, -0.4081340432167053, -0.1480056494474411, 0.2890223562717438, 0.28420117497444153, 0.8350870609283447, -0.7062734961509705, 0.897576630115509, 0.4175243079662323, 0.36157163977622986, -0.263651579618454, 0.062352489680051804, 0.09251483529806137, -0.5317415595054626, 0.3439367115497589, 0.47961968183517456, -0.818463146686554, 0.3733777403831482, -0.211432084441185, -0.8013862371444702, 1.085084080696106, 0.1999945491552353, -0.2332272082567215, -0.3025784492492676, -0.18717999756336212, 0.34275108575820923, -0.40205076336860657, -0.03217144310474396, 0.5384875535964966, 0.31724274158477783, 0.37585359811782837, -0.8573968410491943, 0.0064019509591162205, -0.1668338030576706, -0.4484267830848694, 0.44147855043411255, -0.40244996547698975, 0.6075488924980164, -0.24294257164001465, -0.5558914542198181, -0.31080520153045654, 1.002170443534851, 0.26125505566596985, 0.3487335741519928, 0.5953681468963623, 0.6378324031829834, 0.7032887935638428, 0.2162279337644577, 0.751503586769104, -0.4927525520324707, 0.20913076400756836, 0.6347841024398804, -0.18412627279758453, 0.3865531384944916, 0.2285332977771759, 0.39576590061187744, 0.31148046255111694, 0.35433486104011536, 0.2862509489059448, 0.6280953288078308, 0.26824265718460083, -0.5323788523674011, -0.27687913179397583, 0.0008829180151224136, -0.21989090740680695, 0.2811620235443115, 0.5690711736679077, 0.011421584524214268, -0.6529328227043152, 0.3413069248199463, 0.24671050906181335, -0.34055060148239136, -0.24642877280712128, 0.6850338578224182, 0.3560185432434082, -0.4347754418849945, 0.8194841146469116, -0.021980777382850647, 0.8953695893287659, -0.6149318814277649, 0.02318676933646202, -0.2309849113225937, 0.48606589436531067, -0.14283744990825653, -0.36975449323654175, 0.21619270741939545, -0.38034698367118835, -0.22068898379802704, 0.1100648045539856, 0.7207753658294678, -0.4775342345237732, -0.22169844806194305, 0.4272371232509613, 0.47441238164901733, 0.1658957153558731, -0.015466617420315742, -0.36988767981529236, 0.09049135446548462, -0.36145922541618347, -0.33024299144744873, 0.18510761857032776, 0.43858587741851807, -0.20374229550361633, 0.9086613059043884, 0.2964326739311218, -0.1024429202079773, -0.15088264644145966, -0.23838436603546143, 0.5978426337242126, -0.2608013153076172, -0.7915852665901184, -0.6201748847961426, 0.06091911345720291, 0.24488836526870728, -0.1143207773566246, 0.38760054111480713, 0.7054941058158875, 0.25498223304748535, 0.15825696289539337, 0.4519423544406891, 0.07340946048498154, 0.18882118165493011, -0.2048252373933792, 0.9422041773796082, -0.4778330624103546, -0.06549737602472305, -0.00928957387804985, -0.42728155851364136, -0.5356318950653076, 0.6210485696792603, -0.11992070078849792, 0.2145414799451828, 0.8072658777236938, 0.9155758023262024, -0.4902556538581848, -0.027532944455742836, 0.39060693979263306, 0.3249398469924927, 0.3798213601112366, 0.7686010003089905, 0.5549226999282837, -0.30591562390327454, 0.5689183473587036, -0.1606314331293106, -0.6199275851249695, -0.15842993557453156, -0.843851625919342, -0.5106637477874756, -0.47188183665275574, -0.4392957389354706, -0.2561250627040863, 0.20764170587062836, 0.6563574075698853, 0.9136282205581665, -0.7233895063400269, -0.36777693033218384, 0.26002421975135803, 0.0071348086930811405, -0.2821629047393799, -0.21276076138019562, 0.8624655604362488, 0.02247379720211029, -0.35477593541145325, 0.6577010750770569, 0.4014754295349121, 0.23784807324409485, 0.20327149331569672, 0.05240124091506004, -0.1601763218641281, -0.07967060059309006, 0.8214175701141357, 0.40062645077705383, -0.43804723024368286, -0.2600385844707489, -0.07189244031906128, -0.2177780419588089, 0.46006837487220764, 0.5932215452194214, -0.8235083818435669, 0.13836829364299774, 0.36365050077438354, 0.276729553937912, 0.5712632536888123, 0.21051697432994843, 0.23933739960193634, -0.19718478620052338, 0.21552380919456482, 0.3310604393482208, 0.2764158844947815, 0.2811954915523529, -0.6870040893554688, -0.19935177266597748, 0.1312074363231659, -0.6719655990600586, -0.5781168937683105, 0.2653118968009949, -1.2116419076919556, -0.20575328171253204, 1.122595191001892, 0.10470562428236008, -0.6203727126121521, -0.4738909900188446, -0.3135184049606323, 0.3686363399028778, -0.712784469127655, 0.7151257395744324, 0.36686283349990845, -0.6668142676353455, -0.1462147980928421, -0.14491507411003113, 0.7089580297470093, 0.3996206223964691, -0.5038044452667236, 0.18924793601036072, 0.4348641633987427, 0.12858927249908447, -0.051862213760614395, 0.8103992342948914, -0.2898659110069275, 0.45785656571388245, -0.3556987941265106, 0.05060752108693123, -0.11504252254962921, -0.5592585206031799, -0.8015848398208618, 0.3441073000431061, -0.07360780984163284, -0.2792809009552002 ]
http://arxiv.org/abs/2405.03939v1
http://arxiv.org/pdf/2405.03939v1
Long Context Alignment with Short Instructions and Synthesized Positions
2024-05-07T01:56:22
2024-05-07T01:56:22
Wenhao Wu, Yizhong Wang, Yao Fu, Xiang Yue, Dawei Zhu, Sujian Li
cs.CL
cs.CL
Effectively handling instructions with extremely long context remains a challenge for Large Language Models (LLMs), typically necessitating high-quality long data and substantial computational resources. This paper introduces Step-Skipping Alignment (SkipAlign), a new technique designed to enhance the long-context capabilities of LLMs in the phase of alignment without the need for additional efforts beyond training with original data length. SkipAlign is developed on the premise that long-range dependencies are fundamental to enhancing an LLM's capacity of long context. Departing from merely expanding the length of input samples, SkipAlign synthesizes long-range dependencies from the aspect of positions indices. This is achieved by the strategic insertion of skipped positions within instruction-following samples, which utilizes the semantic structure of the data to effectively expand the context. Through extensive experiments on base models with a variety of context window sizes, SkipAlign demonstrates its effectiveness across a spectrum of long-context tasks. Particularly noteworthy is that with a careful selection of the base model and alignment datasets, SkipAlign with only 6B parameters achieves it's best performance and comparable with strong baselines like GPT-3.5-Turbo-16K on LongBench.
[ -0.34282881021499634, -0.6064820885658264, 0.6331716179847717, 0.35287222266197205, -0.27133244276046753, -0.02171514928340912, -0.29475414752960205, -0.4578012228012085, -0.027726760134100914, 0.36696672439575195, -0.7485226988792419, -0.6005906462669373, -0.5559757947921753, -0.12048781663179398, -0.4427545666694641, 0.8290835618972778, -0.1470470428466797, -0.0897359624505043, -0.20464839041233063, -0.03144827485084534, -0.7122256755828857, -0.041521359235048294, -0.5752201676368713, -0.3189983665943146, 0.6455809473991394, 0.6326413750648499, 0.8592407703399658, 1.2568439245224, 0.09057503193616867, 0.18578380346298218, -0.2389862835407257, 0.05518636852502823, -0.4900515675544739, 0.2765502333641052, -0.2791553735733032, -0.1013040542602539, -0.8293242454528809, -0.03751266747713089, 0.8001537919044495, 0.9337638020515442, -0.012376831844449043, -0.11901813745498657, 0.4046684205532074, 0.8999696373939514, -0.6398053765296936, -0.01624642312526703, -0.13477836549282074, -0.14125099778175354, -0.49995866417884827, -0.13190005719661713, -0.49716854095458984, -0.12095165997743607, 0.11519625037908554, -0.6745531558990479, -0.05983857065439224, -0.017090177163481712, 0.4898819625377655, 0.5374945402145386, -0.4303258955478668, -0.19318504631519318, -0.7070677876472473, 0.7898251414299011, -0.5892045497894287, 0.798564076423645, 0.41924816370010376, 0.1974121630191803, -0.5309950113296509, -0.362511545419693, -0.2931629419326782, 0.06083587929606438, -0.009543855674564838, -0.04576858505606651, 0.3175381124019623, 0.15877853333950043, 0.32097068428993225, -0.1290958970785141, -0.6329387426376343, 0.4819079041481018, -0.41106075048446655, -0.17120486497879028, 0.28046464920043945, 0.052947744727134705, 0.17256785929203033, -0.05096627026796341, -0.46682509779930115, 0.12787176668643951, -1.1709320545196533, -0.06889490783214569, 0.22429797053337097, 0.48499825596809387, -0.1771034598350525, 0.49664703011512756, -0.2357155829668045, 1.1076897382736206, 0.442426472902298, -0.23115123808383942, 0.21369878947734833, -0.4313279688358307, -0.2969838082790375, 0.4987812936306, 0.5056561231613159, 0.24512650072574615, 0.01801668293774128, -0.07230032980442047, -0.09995841234922409, -0.3090097904205322, 0.01798909902572632, -0.7324499487876892, 0.0700497105717659, 0.286600798368454, -0.1571250706911087, 0.04289435222744942, -0.3312322199344635, -0.5643657445907593, -0.18853816390037537, -0.7148795127868652, 0.09538104385137558, -0.6256446838378906, 0.23934508860111237, 0.0834636315703392, 0.30749237537384033, 0.5089519023895264, 0.5383229851722717, -0.7893617749214172, 0.20751136541366577, 1.0285378694534302, 0.828952968120575, -0.4394959509372711, -0.6314780712127686, -0.9852275252342224, 0.5014793872833252, -0.4306812286376953, 0.24299931526184082, -0.699238121509552, -0.4457933008670807, -0.1875663697719574, 0.20169246196746826, 0.06434160470962524, -0.2895384430885315, 0.4375137388706207, -0.4916778802871704, 0.4020865559577942, -0.1653304547071457, -0.7312452793121338, -0.0424116887152195, 0.1785012185573578, -0.714874267578125, 1.0702203512191772, 0.09008555114269257, -0.4787573516368866, 0.4440977871417999, -0.7546995282173157, -0.7667434811592102, -0.09535299986600876, -0.00598912825807929, -0.07219162583351135, -0.06857965141534805, 0.4130561947822571, 0.4618399739265442, 0.1326134353876114, 0.07832440733909607, -0.17365267872810364, -0.6525123715400696, -0.06351000815629959, -0.4344514012336731, 0.646975576877594, -0.1302318423986435, -0.579304039478302, 0.0653209239244461, -0.8445329666137695, -0.18204425275325775, -0.21290186047554016, -0.5804004669189453, -0.5008106231689453, 0.1418684422969818, -0.29004544019699097, 0.4329705834388733, 0.33878928422927856, -0.1669018566608429, 0.29722851514816284, -0.34597498178482056, 0.06735391914844513, 0.8591398596763611, -0.2429220825433731, 0.9041979908943176, -0.08104564249515533, 0.605475127696991, 0.016251277178525925, -0.02412903495132923, -0.2835477590560913, -0.09224409610033035, -0.7249324917793274, -0.35503172874450684, 0.40000322461128235, 0.7398298382759094, -0.5731866359710693, 0.7683975696563721, -0.7395591735839844, 0.09450121223926544, -0.48862138390541077, 0.37870752811431885, 0.42961135506629944, 0.7284380793571472, 0.5424103140830994, -0.1712939590215683, -0.5431395173072815, -0.5992923378944397, -0.05367473140358925, 0.30762049555778503, 0.1550365537405014, -0.17393909394741058, 0.32396459579467773, -0.09862405061721802, 0.8521066904067993, -0.3680992126464844, -0.04368457943201065, -0.017215706408023834, -0.0024421087000519037, 0.146867573261261, 0.6980300545692444, 0.0393647737801075, -0.46251603960990906, -0.41192197799682617, -0.057821016758680344, -0.4742909073829651, 0.01864539459347725, -0.10658681392669678, -0.5648210644721985, 0.5191597938537598, 0.9712479710578918, -0.810200572013855, 0.49284660816192627, 0.5403518676757812, -0.14745785295963287, 0.2912086546421051, 0.09541517496109009, 0.008508630096912384, -1.217308759689331, 0.2093902826309204, -0.20656035840511322, -0.5901702046394348, -0.6906498074531555, -0.07636677473783493, 0.3039420247077942, 0.059576377272605896, -0.6952335834503174, 0.6677868366241455, -0.7865203619003296, 0.04637139290571213, -0.3436349928379059, 0.14240410923957825, -0.019501162692904472, 0.40556976199150085, 0.10282008349895477, 0.7901726365089417, 0.5200321078300476, -0.7448005080223083, 0.053119175136089325, 0.1391015648841858, -0.3247242569923401, 0.7067963480949402, -0.2899872362613678, 0.37731343507766724, -0.23020043969154358, 0.6178990006446838, -0.7475000619888306, -0.39637622237205505, 0.47894176840782166, -0.21072033047676086, 0.7478859424591064, -0.5323266983032227, -0.28024667501449585, -0.09450191259384155, -0.1280101090669632, 0.7447062134742737, 0.4889780580997467, -0.6866926550865173, 0.422930508852005, -0.03359222784638405, -0.3344314694404602, -1.151175856590271, -0.6502048373222351, -0.02392134815454483, -0.4586777985095978, -0.515842616558075, 0.49188700318336487, -0.09140364825725555, 0.019043076783418655, -0.31705155968666077, -0.2946030795574188, 0.2394169121980667, -0.1241619810461998, 0.36681053042411804, 0.21015851199626923, -0.18817074596881866, 0.1427476406097412, 0.13636226952075958, -0.2758025527000427, -0.09740065783262253, -0.4807851314544678, 0.7088611125946045, 0.35633406043052673, -0.5196518301963806, -0.32617121934890747, 0.3594125807285309, 0.6185590624809265, -0.014595627784729004, 0.48744750022888184, 0.379155695438385, -0.3652869760990143, -0.32715731859207153, -0.2652674615383148, 0.1563950479030609, -0.5093805193901062, 0.42022475600242615, -0.14438177645206451, -0.8255808353424072, 0.20607659220695496, 0.030238918960094452, 0.22664818167686462, 0.019580010324716568, 0.17295680940151215, -0.17205560207366943, 0.9037323594093323, 0.6244882345199585, -0.33022263646125793, 0.5179598927497864, 0.21560277044773102, 0.20790962874889374, -0.9649445414543152, -0.03711215779185295, -0.30718135833740234, -0.5532325506210327, -0.3109511733055115, -0.9310855865478516, 0.11137855798006058, 0.29271355271339417, -0.3886178731918335, 0.2798927128314972, -0.2861914038658142, 0.7698414921760559, 0.24439774453639984, 0.07973502576351166, 0.08136477321386337, -0.034617647528648376, -0.014272772707045078, 0.0025567524135112762, -0.33150413632392883, -0.13970132172107697, 0.791710376739502, 0.38739335536956787, 0.8811241388320923, 0.07156917452812195, 1.0527454614639282, -0.08003067970275879, 0.06014347821474075, -1.1550076007843018, 0.7424451112747192, -0.13396719098091125, -0.34545400738716125, -0.5886670351028442, -0.28305527567863464, -0.9783111214637756, -0.030762124806642532, 0.38426637649536133, -0.6891342401504517, -0.02573438547551632, 0.22575414180755615, -0.508233904838562, -0.10269932448863983, -0.38287150859832764, 0.6562545895576477, -0.3804490268230438, -0.454777330160141, 0.007322625257074833, -0.9700857996940613, 0.32841747999191284, -0.02909994311630726, 0.22036448121070862, -0.06589928269386292, -0.3067132234573364, 0.7143443822860718, -0.5153231024742126, 0.8580821752548218, -0.2561711072921753, -0.4169207215309143, 0.0542520172894001, 0.24039417505264282, 0.7738037705421448, -0.3405155539512634, 0.030095571652054787, -0.16147130727767944, -0.45487672090530396, -0.45750555396080017, -0.6015672087669373, 0.8875453472137451, -0.1782921850681305, -0.6378173828125, -0.2641626000404358, -0.7821486592292786, -0.4320259988307953, 0.5900636315345764, 0.14011657238006592, 0.30970528721809387, -0.2196379154920578, 0.08070876449346542, 0.7215709686279297, -0.07518425583839417, 0.7526351809501648, 0.24195308983325958, -0.14941677451133728, -0.36394181847572327, 0.6198503375053406, 0.09880080819129944, 0.35109615325927734, 0.5298298597335815, -0.12523922324180603, -0.44809240102767944, -0.5471847653388977, -0.5207737684249878, 0.16968387365341187, -0.9469910264015198, -0.09893131256103516, -0.29952263832092285, -0.18903100490570068, -0.4194117784500122, -0.3797283172607422, -0.4406202435493469, -0.498218297958374, -0.3101636469364166, -0.18848243355751038, 0.18754643201828003, 0.5307539105415344, 0.10189923644065857, 0.39067167043685913, -0.9540077447891235, 0.05758256837725639, 0.11039222031831741, 0.5389856100082397, 0.04523497447371483, -0.4981391429901123, -0.40526333451271057, -0.0674450621008873, -0.19530779123306274, -0.5810908675193787, 0.2165563702583313, 0.061375848948955536, 0.3822949230670929, 0.38936248421669006, -0.2507350742816925, 1.3519206047058105, -0.7481338381767273, 0.6505118012428284, 0.22138972580432892, -1.0903642177581787, 0.519919753074646, -0.5649377703666687, 0.8061990141868591, 0.7097380757331848, 0.5579521656036377, -0.43072861433029175, -0.0774134173989296, -0.15020589530467987, -1.1589206457138062, 0.7513068318367004, -0.13744807243347168, -0.18187518417835236, 0.017000969499349594, 0.38426193594932556, 0.12891656160354614, -0.19478796422481537, -0.5899592041969299, -0.047736361622810364, 0.18532134592533112, -0.46388259530067444, -0.12082767486572266, 0.013687520287930965, -0.2695492208003998, -0.14661826193332672, 0.7021421194076538, -0.21863478422164917, 0.022840742021799088, -0.056177955120801926, -0.5078980922698975, -0.008257074281573296, 0.2649945020675659, 0.900170087814331, 0.9983720183372498, 0.013044112361967564, 0.03472314029932022, 0.1792750209569931, -0.30539974570274353, 0.18079470098018646, 0.17482605576515198, 0.004533668980002403, -0.05790214240550995, 0.36858460307121277, 0.6133621335029602, 0.49403902888298035, -0.2995309829711914, 0.3067184388637543, 0.304375559091568, -0.01479251030832529, -0.3286516070365906, 0.057075437158346176, 0.4927993714809418, 0.05640193447470665, 0.06260395795106888, -0.06923536956310272, -0.028998708352446556, -0.25379255414009094, 0.38194194436073303, 0.28211885690689087, -0.48056432604789734, -0.1499520093202591, 0.3294021487236023, 0.1342410147190094, -0.19697785377502441, 0.7898833751678467, 0.1362343281507492, -0.1720840483903885, 0.4220559895038605, 0.5528649091720581, 0.6437748074531555, -0.3880572021007538, -0.1379408836364746, 0.17324461042881012, -0.07137802988290787, -0.5944339632987976, 0.08279699087142944, -0.15436528623104095, -0.3121722936630249, -0.8987433314323425, -0.45255064964294434, -0.16256771981716156, 0.2498338520526886, -0.7418637871742249, 0.5480129718780518, -0.5252394080162048, 0.12912997603416443, -0.24933773279190063, -0.32465800642967224, -0.628200888633728, 0.20426268875598907, 0.31230437755584717, 0.949234664440155, -0.5367412567138672, 1.1079784631729126, 0.3765980005264282, 0.13103839755058289, -0.7571556568145752, 0.31696170568466187, 0.3312426507472992, -0.8125326037406921, 0.6298056840896606, 0.42219024896621704, -0.3519706130027771, -0.23579274117946625, -0.6008493304252625, -1.1423176527023315, 1.1691558361053467, 0.08571396768093109, -0.8804541826248169, -0.41917476058006287, 0.12170161306858063, 0.15327724814414978, -0.40203067660331726, -0.2974088191986084, 0.8073531985282898, 0.49017778038978577, 0.3080049455165863, -0.8287242650985718, 0.4516879618167877, -0.013863536529242992, -0.09071231633424759, 0.5836663842201233, -0.4311085343360901, 0.4550468325614929, -0.05071679875254631, -0.14653503894805908, 0.346113920211792, 0.7558030486106873, 0.3748704195022583, 0.10263801366090775, 0.612514853477478, 0.6083221435546875, 0.5715246200561523, 0.07599586993455887, 0.6733793020248413, -0.4761262834072113, -0.03804375231266022, 1.6917320489883423, -0.3637911081314087, 0.89621901512146, 0.6806765198707581, 0.1649826169013977, 0.44655099511146545, 0.6348555088043213, 0.4370690882205963, 0.4249160587787628, 0.1599271446466446, -0.09381256997585297, -0.1847265511751175, 0.34979283809661865, -0.22032305598258972, 0.518693745136261, 0.5376876592636108, -0.43873441219329834, -0.24664169549942017, -0.24570997059345245, 0.35761764645576477, -0.3152841329574585, -0.2813705801963806, 0.6262693405151367, 0.21746112406253815, -1.016602635383606, 0.8516106009483337, -0.19502593576908112, 0.6889081001281738, -0.5953829884529114, -0.11258047819137573, -0.3078346252441406, 0.024287618696689606, -0.23046720027923584, -0.8138459324836731, 0.17783717811107635, -0.15479181706905365, -0.17992271482944489, -0.4549984931945801, 0.3903818130493164, -0.5949233770370483, -0.30042845010757446, 0.2820647060871124, 0.32897332310676575, 0.05875672399997711, 0.3360747992992401, -0.5474687814712524, -0.04676128551363945, -0.0916065201163292, -0.36241522431373596, 0.44674167037010193, 0.42813313007354736, -0.36924391984939575, 0.5225429534912109, 0.4374223053455353, 0.03359522297978401, -0.07696561515331268, 0.042057160288095474, 0.6252312660217285, -1.0881879329681396, -0.6150718927383423, -1.0085060596466064, 0.6536729335784912, 0.018239455297589302, -0.17108610272407532, 0.5398711562156677, 0.5425534844398499, 0.8788607120513916, 0.19436827301979065, 0.6612905263900757, 0.05290199816226959, 0.4494883716106415, -0.955829381942749, 0.45373648405075073, -0.5010085701942444, 0.30537310242652893, -0.2301863580942154, -1.0904080867767334, -0.4550911784172058, 0.3958796262741089, -0.3754299581050873, 0.1378912329673767, 0.7013528347015381, 0.8954039216041565, -0.5037379860877991, -0.27482253313064575, 0.15132905542850494, 0.13148419559001923, 0.32673516869544983, 0.6189045310020447, 0.9112486243247986, -0.06683064997196198, 0.445573091506958, -0.11616447567939758, -0.12877854704856873, -0.09751193970441818, -1.1714810132980347, -0.6820518374443054, -0.30019649863243103, -0.27180591225624084, -0.4864000380039215, -0.019788525998592377, 1.1522890329360962, 0.9636365175247192, -0.5094802975654602, -0.2739233374595642, 0.057157836854457855, 0.16685688495635986, -0.2292528599500656, -0.24015945196151733, 0.4336782693862915, -0.2722748816013336, -0.8806233406066895, 0.9240856766700745, 0.3718298077583313, 0.3768613934516907, 0.0633726641535759, -0.34831807017326355, -0.1415446698665619, -0.06310585141181946, 0.5858070254325867, 0.47588595747947693, -0.7731052041053772, -0.5060727596282959, 0.050028394907712936, -0.17131993174552917, 0.2955750823020935, 0.7306717038154602, -0.6495484113693237, 0.1928783655166626, 0.651442289352417, 0.5185843706130981, 0.2647870182991028, 0.31663796305656433, 0.8134640455245972, -0.9781439900398254, 0.19603069126605988, 0.14857202768325806, 0.41315680742263794, 0.5205435156822205, -0.4790242910385132, 0.38121646642684937, -0.29713818430900574, -0.48729708790779114, -0.6867566704750061, 0.3652593195438385, -1.1521819829940796, -0.29106172919273376, 1.31792151927948, -0.08457279950380325, -0.405763179063797, -0.15081049501895905, -0.10229571908712387, 0.3070200979709625, -0.46164795756340027, 0.5061275959014893, 0.8262736201286316, -0.33745530247688293, -0.14814096689224243, -0.4197852313518524, 0.5697690844535828, 0.6292173862457275, -0.6889443397521973, 0.2658184766769409, 0.7873674035072327, 0.5777338743209839, 0.10562369227409363, 0.6124164462089539, -0.24915097653865814, 0.34375911951065063, -0.4167487621307373, -0.20448440313339233, -0.09017287939786911, -0.6321564316749573, -0.5744000673294067, -0.012310544960200787, 0.014075513929128647, -0.2753962576389313 ]